/* Copyright (c) 2026 Polyzones. All rights reserved. Proprietary and confidential. */

:root {
  color-scheme: light dark;
  --bg: #f7f5ee;
  --ink: #1c2619;
  --muted: #4a5747;
  --link: #2a5a36;
  --line: #d9d6c8;
  --motif-opacity: 0.14;
  --z1: #5aa469;
  --z2: #3c7f4e;
  --z3: #c2761a;
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121810;
    --ink: #eef1e6;
    --muted: #b9c3b0;
    --link: #9fd08c;
    --line: #2b3427;
    --motif-opacity: 0.22;
    --z1: #6fb27c;
    --z2: #4c9560;
    --z3: #e5a03c;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
}

/* Zone-mark colours */
.z1 { fill: var(--z1); }
.z2 { fill: var(--z2); }
.z3 { fill: var(--z3); }

/* ---------- Landing page ---------- */

.site-header {
  padding: 1.5rem clamp(1.25rem, 5vw, 3rem);
}

.brand {
  display: inline-block;
  line-height: 0;
}

.brand .logo {
  display: block;
  height: 2.75rem;
  width: auto;
  max-width: 100%;
  flex: none;
}

.brand .wordmark {
  fill: currentColor;
}

/* Contact: a small quiet label above the address */
.contact-label {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 44rem;
  padding: 2rem clamp(1.25rem, 5vw, 3rem) 4rem;
}

h1 {
  text-wrap: balance;
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 7vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 650;
  overflow-wrap: break-word;
}

.description {
  margin: 0 0 2rem;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 2.6vw, 1.25rem);
  color: var(--muted);
}

.contact {
  margin: 0;
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}

a {
  color: var(--link);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Quiet decorative field motif, wide screens only */
body {
  position: relative;
}

.motif {
  display: none;
}

@media (min-width: 72rem) {
  .motif {
    display: block;
    position: absolute;
    right: 5vw;
    top: 50%;
    transform: translateY(-50%);
    width: min(30vw, 32rem);
    height: auto;
    opacity: var(--motif-opacity);
    pointer-events: none;
    user-select: none;
  }
}

.site-footer {
  padding: 1.5rem clamp(1.25rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}
