/* ==========================================================================
   PD Consult Ltd — main stylesheet
   Palette: ivory, ink and warm greys with a single clay accent; brand green is reserved for the logo
   Type: Montserrat (self-hosted variable font)
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metric-matched fallback keeps text from jumping while Montserrat loads */
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial");
  ascent-override: 84.95%;
  descent-override: 22.03%;
  line-gap-override: 0%;
  size-adjust: 113.95%;
}

/* ---------- Tokens ---------- */
:root {
  /* Neutral premium system: ivory, ink and warm greys, with one restrained clay accent.
     Brand green lives in the logo only. (Legacy token names kept so components stay unchanged.) */
  --forest-950: #0e0f0e;
  --forest-900: #161816;
  --forest-800: #1f2220;
  --forest-700: #2a2e2b;
  --forest-600: #3b403c;
  --leaf-600: #9c5230;
  --leaf-500: #b0633d;
  --leaf-400: #c98c66;
  --leaf-300: #dfb79b;
  --leaf-100: #efe7de;
  --leaf-50: #f5f1eb;
  --accent-300: #dfb79b;

  --white: #ffffff;
  --warm-white: #f6f3ee;
  --sand: #ece7df;
  --line: #e1dcd3;
  --line-dark: rgba(255, 255, 255, 0.12);

  --ink: #141614;
  --ink-soft: #3d413d;
  --muted: #646862;
  --on-dark: #f4f1ec;
  --on-dark-soft: #b9b5ae;

  --font: "Montserrat", "Montserrat Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.2rem + 0.7vw, 1.65rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.5vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.8vw, 3.75rem);

  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: clamp(2rem, 1.5rem + 2vw, 3rem);
  --space-xl: clamp(3.5rem, 2.5rem + 5vw, 7rem);

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --shadow-s: 0 1px 2px rgba(20, 22, 20, 0.06), 0 2px 8px rgba(20, 22, 20, 0.05);
  --shadow: 0 2px 4px rgba(20, 22, 20, 0.05), 0 12px 32px -8px rgba(20, 22, 20, 0.16);
  --shadow-l: 0 30px 60px -20px rgba(14, 15, 14, 0.4);

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --hex: inset(0 round 12px);
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--forest-600); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-800); }
ul[class], ol[class], .primary-nav ul, .breadcrumbs ol, .jump-nav ul { list-style: none; padding: 0; }
address { font-style: normal; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; color: var(--forest-900); }
p { text-wrap: pretty; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--leaf-500); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .section--forest :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .mobile-menu :focus-visible { outline-color: var(--leaf-300); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--forest-900); color: var(--white); padding: 0.75rem 1.25rem; border-radius: var(--radius-s); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; color: var(--white); }

.icon, .photo__icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
@media (min-width: 640px) { .container { width: min(100% - 3rem, var(--container)); } }
.container--narrow { max-width: 820px; }

.section { padding-block: var(--space-xl); position: relative; }
.section--tight { padding-block: var(--space-l); }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--leaf { background: var(--leaf-50); }
.section--forest { background: var(--forest-900); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.section--forest h2, .section--forest h3 { color: var(--white); }
.section--forest p { color: var(--on-dark-soft); }
.section--forest a:not(.btn) { color: var(--leaf-300); }

.section-head { max-width: 760px; margin-bottom: var(--space-l); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: grid; gap: var(--space-m); align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr 1fr; gap: var(--space-l); } }

.split { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
  .split--reverse > :first-child { order: 2; }
  .split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
}

.grid { display: grid; gap: var(--space-m); }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.stack > * + * { margin-top: var(--space-s); }
.stack-l > * + * { margin-top: var(--space-m); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--leaf-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; }
.eyebrow--light, .section--forest .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--leaf-300); }

.h1 { font-size: var(--step-4); line-height: 1.06; letter-spacing: -0.03em; }
.h2, .section h2 { font-size: var(--step-3); }
.h3, .section h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
.lead { font-size: var(--step-1); line-height: 1.65; color: var(--ink-soft); font-weight: 400; }
.section--forest .lead { color: var(--on-dark-soft); }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }
.highlight { color: var(--leaf-600); }
.section--forest .highlight, .hero .highlight { color: var(--leaf-400); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--forest-700); --btn-fg: var(--white); --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.85rem 1.5rem;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.2; text-decoration: none; text-align: center;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-border); border-radius: 999px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn .icon { transition: transform 0.2s var(--ease); width: 1.1em; height: 1.1em; }
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--leaf-600); }
.btn--primary:hover { --btn-bg: var(--forest-700); }
.btn--dark { --btn-bg: var(--forest-800); }
.btn--dark:hover { --btn-bg: var(--forest-950); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--forest-900); }
.btn--light:hover { --btn-bg: var(--leaf-100); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--forest-800); --btn-border: currentColor; }
.btn--outline:hover { --btn-bg: var(--forest-800); --btn-fg: var(--white); --btn-border: var(--forest-800); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-border: rgba(255,255,255,0.45); }
.btn--outline-light:hover { --btn-bg: var(--white); --btn-fg: var(--forest-900); --btn-border: var(--white); }
.btn--sm { min-height: 44px; padding: 0.6rem 1.15rem; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
@media (max-width: 520px) { .btn-row--stack-mobile { flex-direction: column; align-items: stretch; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--forest-600);
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.on-dark .link-arrow, .section--forest .link-arrow, .hero .link-arrow { color: var(--leaf-300); }
.on-dark .link-arrow:hover, .section--forest .link-arrow:hover, .hero .link-arrow:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 249, 244, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20,22,20,.35); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--forest-900); flex-shrink: 0; }
.brand:hover { color: var(--forest-900); }
.brand__mark { width: 36px; height: auto; }
.brand__word { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.brand__ltd { font-size: 0.62em; letter-spacing: 0.12em; margin-left: 0.4em; color: var(--muted); font-weight: 600; }

.primary-nav { margin-left: auto; display: none; }
.primary-nav ul { display: flex; gap: 0.25rem; }
.primary-nav a {
  position: relative; display: block; padding: 0.5rem 0.8rem;
  font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; border-radius: 999px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.primary-nav a:hover { color: var(--forest-900); background: var(--leaf-50); }
.primary-nav a[aria-current="page"] { color: var(--forest-900); font-weight: 600; }
.primary-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 0.1rem; width: 6px; height: 7px; translate: -50% 0;
  background: var(--leaf-500); clip-path: var(--hex);
}
.site-header__cta { display: none; }

.menu-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px; padding: 0.5rem 1rem; border-radius: 999px;
  background: var(--forest-900); color: var(--white); border: 0; font-weight: 600; font-size: 0.875rem;
}
.menu-toggle .icon { width: 1.2rem; height: 1.2rem; }

@media (min-width: 1080px) {
  .primary-nav { display: block; }
  .site-header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}
@media (max-width: 380px) { .brand__ltd { display: none; } .menu-toggle__label { display: none; } }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 150; background: rgba(14, 15, 14, 0.5); }
.mobile-menu[hidden] { display: none; }
.mobile-menu__panel {
  position: absolute; inset: 0 0 0 auto; width: min(100%, 440px); overflow-y: auto;
  background: var(--forest-900); color: var(--on-dark);
  padding: 1rem 1.25rem 2rem; display: flex; flex-direction: column; gap: 1.5rem;
}
.mobile-menu.is-open .mobile-menu__panel { animation: slide-in 0.3s var(--ease); }
@keyframes slide-in { from { transform: translateX(24px); opacity: 0; } }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: calc(var(--header-h) - 1rem); }
.mobile-menu__top .brand, .mobile-menu__top .brand:hover { color: var(--white); }
.mobile-menu__top .brand__ltd { color: var(--on-dark-soft); }
.menu-close { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: var(--white); }
.mobile-menu__links { border-top: 1px solid var(--line-dark); }
.mobile-menu__links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0.25rem; min-height: 56px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--white); text-decoration: none; font-size: 1.15rem; font-weight: 600;
}
.mobile-menu__links a .icon { color: var(--leaf-400); }
.mobile-menu__links a[aria-current="page"] { color: var(--leaf-300); }
.mobile-menu__contact { margin-top: auto; display: grid; gap: 0.6rem; }
.mobile-menu__phone {
  display: flex; align-items: center; gap: 0.75rem; min-height: 52px; padding: 0.75rem 1rem;
  border-radius: var(--radius); background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark);
  color: var(--white); text-decoration: none; font-weight: 600; word-break: break-word;
}
.mobile-menu__phone:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.mobile-menu__phone .icon { color: var(--leaf-400); }
body.menu-open { overflow: hidden; }

/* Mobile quick-action bar */
.action-bar {
  position: fixed; left: 0.75rem; right: 0.75rem; bottom: max(0.75rem, env(safe-area-inset-bottom)); z-index: 90;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--forest-900); border-radius: 999px; box-shadow: var(--shadow-l);
  padding: 0.3rem; transform: translateY(calc(100% + 2rem)); transition: transform 0.35s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 48px;
  color: var(--white); text-decoration: none; font-size: 0.85rem; font-weight: 600; border-radius: 999px;
}
.action-bar a:hover, .action-bar a:focus-visible { background: rgba(255,255,255,0.1); color: var(--white); }
.action-bar .icon { color: var(--leaf-400); width: 1.1rem; height: 1.1rem; }
@media (min-width: 768px) { .action-bar { display: none; } }
@media (max-width: 767px) { .site-footer { padding-bottom: 6rem !important; } }

/* ---------- Photo slots ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--forest-800); }
.photo picture { display: block; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--placeholder { display: grid; place-items: center; color: var(--muted); background: var(--sand); border: 1px solid var(--line); }
.section--forest .photo--placeholder, .page-hero .photo--placeholder { background: var(--forest-800); border-color: var(--line-dark); color: var(--on-dark-soft); }
.photo__pattern { display: none; }
.photo__icon { position: relative; width: clamp(40px, 12%, 64px); height: auto; aspect-ratio: 1; stroke-width: 1.1; opacity: 0.7; }
.photo__label {
  position: absolute; left: 1rem; bottom: 1rem;
  padding: 0.4rem 0.8rem; border-radius: 999px;
  background: var(--forest-900);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white);
}
.photo--hex { clip-path: var(--hex); border-radius: 0; }
.photo--hex .photo__label { left: 50%; translate: -50% 0; bottom: 16%; }

.photo-frame { position: relative; }
.photo-frame::before {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 45%; height: 55%;
  border-radius: var(--radius-l); background: var(--leaf-100); z-index: -1;
}
.section--forest .photo-frame::before { background: rgba(255,255,255,0.05); }

/* ---------- Home hero (full-bleed photograph) ---------- */
.hero {
  --ivory: #f6f3ee;
  --ivory-soft: rgba(246, 243, 238, 0.78);
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  min-height: max(640px, min(100svh, 980px));
  display: flex; flex-direction: column;
  color: var(--ivory); background: #121312;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture, .hero__media img { display: block; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 62% 55%; transform: scale(1.04); transform-origin: 62% 55%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14, 15, 14, 0.86) 0%, rgba(14, 15, 14, 0.62) 38%, rgba(14, 15, 14, 0.12) 72%, rgba(14, 15, 14, 0.05) 100%),
    linear-gradient(180deg, rgba(14, 15, 14, 0.55) 0%, rgba(14, 15, 14, 0) 22%, rgba(14, 15, 14, 0) 58%, rgba(14, 15, 14, 0.82) 100%);
}

.hero__inner {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(2.5rem, 6vh, 4rem);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 8vh, 6rem));
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}
.hero__copy { max-width: 46rem; }

.hero__title { color: var(--ivory); font-weight: 500; letter-spacing: -0.04em; line-height: 0.98; font-size: clamp(2.9rem, 1.3rem + 5.2vw, 6.25rem); }
.hero__kicker {
  display: flex; align-items: center; gap: 0.9rem; margin-bottom: clamp(1.25rem, 3vh, 1.75rem);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; line-height: 1.5; text-transform: uppercase; color: var(--ivory-soft);
}
.hero__kicker::before { content: ""; width: 2.25rem; height: 1px; background: var(--accent-300); }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__line > span { display: inline-block; }
.w-light { font-weight: 200; }
.hero__lead { margin-top: clamp(1.4rem, 3vh, 1.9rem); max-width: 31em; font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.18rem); line-height: 1.75; color: var(--ivory-soft); }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: clamp(2rem, 4vh, 2.6rem); }
.btn--ivory { --btn-bg: var(--ivory); --btn-fg: #141614; }
.btn--ivory:hover { --btn-bg: #fff; --btn-fg: #141614; }
.btn--line { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-border: rgba(246, 243, 238, 0.4); }
.btn--line:hover { --btn-bg: rgba(246, 243, 238, 0.1); --btn-fg: var(--ivory); --btn-border: var(--ivory); }
.hero__textlink { position: relative; margin-left: 0.5rem; padding: 0.6rem 0; color: var(--ivory); font-size: 0.92rem; font-weight: 500; text-decoration: none; }
.hero__textlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.35rem; height: 1px; background: currentColor; opacity: 0.6; transform-origin: right; transition: transform 0.4s var(--ease); }
.hero__textlink:hover { color: #fff; }
.hero__textlink:hover::after { transform: scaleX(0.3); }

.hero__facts { display: flex; flex-wrap: wrap; gap: 1.25rem clamp(2rem, 4vw, 3.5rem); }
.hero__facts div { display: flex; align-items: baseline; gap: 0.7rem; }
.hero__facts dt { font-size: clamp(1.6rem, 1.3rem + 0.9vw, 2.1rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; color: var(--ivory); font-variant-numeric: tabular-nums; }
.hero__facts dd { font-size: 0.8rem; line-height: 1.4; color: var(--ivory-soft); max-width: 12rem; }

.hero__rail { border-top: 1px solid rgba(246, 243, 238, 0.16); background: rgba(14, 15, 14, 0.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__rail-inner { display: grid; }
@media (min-width: 760px) { .hero__rail-inner { grid-template-columns: repeat(3, 1fr); } }
.hero__rail a { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.2rem 0; min-height: 64px; color: var(--ivory); text-decoration: none; }
.hero__rail a + a { border-top: 1px solid rgba(246, 243, 238, 0.1); }
@media (min-width: 760px) {
  .hero__rail a { padding: 1.5rem 1.5rem 1.6rem; }
  .hero__rail a:first-child { padding-left: 0; }
  .hero__rail a + a { border-top: 0; border-left: 1px solid rgba(246, 243, 238, 0.14); }
}
.hero__rail a::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ivory); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.hero__rail a:hover::before, .hero__rail a:focus-visible::before { transform: scaleX(1); }
.hero__rail-num { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; color: var(--accent-300); align-self: flex-start; padding-top: 0.2rem; }
.hero__rail-text { flex: 1; }
.hero__rail strong { display: block; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.hero__rail small { display: block; margin-top: 0.15rem; font-size: 0.8rem; color: var(--ivory-soft); line-height: 1.45; }
.hero__rail .icon { width: 1.1rem; height: 1.1rem; transform: translateX(-6px); opacity: 0.45; transition: transform 0.35s var(--ease), opacity 0.35s var(--ease); }
.hero__rail a:hover .icon, .hero__rail a:focus-visible .icon { transform: none; opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: settle 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes settle { from { transform: scale(1.12); opacity: 0.4; } }
  .hero__kicker { animation: rise 0.9s var(--ease) 0.25s both; }
  .hero__line > span { animation: line-up 1.1s cubic-bezier(0.19, 1, 0.22, 1) both; animation-delay: 0.35s; }
  .hero__line + .hero__line > span { animation-delay: 0.48s; }
  .hero__lead { animation: rise 1s var(--ease) 0.7s both; }
  .hero__actions { animation: rise 1s var(--ease) 0.82s both; }
  .hero__facts { animation: rise 1s var(--ease) 0.95s both; }
  .hero__rail { animation: rise 1s var(--ease) 1.05s both; }
  @keyframes line-up { from { transform: translateY(105%); } }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}

@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(14, 15, 14, 0.55) 0%, rgba(14, 15, 14, 0.38) 30%, rgba(14, 15, 14, 0.7) 62%, rgba(14, 15, 14, 0.9) 100%); }
  .hero__media img { object-position: 66% 50%; }

}
@media (max-width: 520px) {
  .hero__kicker { font-size: 0.62rem; letter-spacing: 0.16em; gap: 0.6rem; }
  .hero__kicker::before { width: 1.25rem; }
  .hero__actions .btn { width: 100%; }
  .hero__textlink { margin-left: 0; }
  .hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 1.25rem; border-top: 1px solid rgba(246, 243, 238, 0.16); }
  .hero__facts div { flex-direction: column; gap: 0.4rem; }
  .hero__facts dd { font-size: 0.72rem; }
}

/* Transparent header over the home hero */
.page-home .site-header:not(.is-scrolled) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.page-home .site-header:not(.is-scrolled) .brand { color: #f6f3ee; }
.page-home .site-header:not(.is-scrolled) .brand__mark { filter: brightness(0) invert(1); }
.page-home .site-header:not(.is-scrolled) .brand__ltd { color: rgba(246, 243, 238, 0.55); }
.page-home .site-header:not(.is-scrolled) .primary-nav a { color: rgba(246, 243, 238, 0.82); }
.page-home .site-header:not(.is-scrolled) .primary-nav a:hover { color: #fff; background: rgba(246, 243, 238, 0.1); }
.page-home .site-header:not(.is-scrolled) .site-header__cta { --btn-bg: transparent; --btn-fg: #f6f3ee; --btn-border: rgba(246, 243, 238, 0.45); }
.page-home .site-header:not(.is-scrolled) .site-header__cta:hover { --btn-bg: #f6f3ee; --btn-fg: #141614; --btn-border: #f6f3ee; }
.page-home .site-header:not(.is-scrolled) .menu-toggle { background: rgba(246, 243, 238, 0.1); border: 1px solid rgba(246, 243, 238, 0.3); }
.site-header, .site-header .brand, .primary-nav a, .site-header__cta, .menu-toggle { transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }

/* ---------- Trust statement ---------- */
.statement { font-size: var(--step-3); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: var(--forest-900); text-wrap: balance; }
.statement em { font-style: normal; color: var(--leaf-600); }

/* ---------- Cards ---------- */
.hex-badge {
  display: grid; place-items: center; width: 56px; height: 62px; flex-shrink: 0;
  clip-path: var(--hex); background: var(--leaf-100); color: var(--forest-700);
}
.hex-badge .icon { width: 26px; height: 26px; }
.hex-badge--dark { background: var(--forest-800); color: var(--leaf-300); }
.hex-badge--sm { width: 40px; height: 44px; }
.hex-badge--sm .icon { width: 20px; height: 20px; }

.card {
  position: relative; display: flex; flex-direction: column; gap: 0.9rem;
  padding: clamp(1.5rem, 2.5vw, 2rem); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-l);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card h3 { font-size: var(--step-1); }
.card p { color: var(--ink-soft); font-size: 0.95rem; }
.card .link-arrow { margin-top: auto; padding-top: 0.5rem; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--leaf-300); }
.card--link:hover .hex-badge { background: var(--leaf-600); color: var(--white); }
.card--link .hex-badge { transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.card__cover { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card--link a:not(.card__cover) { position: relative; z-index: 2; }
.card--dark { background: rgba(255,255,255,0.05); border-color: var(--line-dark); }
.card--dark h3 { color: var(--white); }
.card--dark p { color: var(--on-dark-soft); }

/* Pillar cards on home */
.pillar-card { padding: 0; overflow: hidden; gap: 0; }
.pillar-card .photo { border-radius: 0; }
.pillar-card__body { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.75rem; flex: 1; }
.pillar-card__body .hex-badge { margin-top: -3.6rem; position: relative; background: var(--white); box-shadow: var(--shadow-s); }
.ticks { display: grid; gap: 0.45rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.925rem; color: var(--ink-soft); line-height: 1.5; }
.ticks li .icon { color: var(--leaf-600); width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; }
.section--forest .ticks li { color: var(--on-dark); }
.section--forest .ticks li .icon { color: var(--leaf-400); }
.ticks--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 0.6rem 1.5rem; }

/* Chips & location tiles */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.875rem; font-weight: 500; color: var(--forest-800); }
.chip .icon { width: 1rem; height: 1rem; color: var(--leaf-600); }

.locations { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); }
.location {
  display: flex; gap: 0.9rem; align-items: center;
  padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.location:hover { border-color: var(--leaf-300); transform: translateY(-2px); }
.location strong { display: block; font-weight: 600; color: var(--forest-900); line-height: 1.3; }
.location span { display: block; font-size: 0.8rem; color: var(--muted); }
.section--forest .location { background: rgba(255,255,255,0.05); border-color: var(--line-dark); }
.section--forest .location strong { color: var(--white); }
.section--forest .location span { color: var(--on-dark-soft); }

/* Estate feature */
.estate { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 1000px) { .estate { grid-template-columns: 0.95fr 1.05fr; gap: clamp(3rem, 6vw, 5.5rem); } }
.estate__visual { position: relative; }
.estate__phases { position: absolute; right: -0.5rem; bottom: -1.25rem; display: flex; gap: 0.5rem; }
@media (min-width: 640px) { .estate__phases { right: 1.5rem; } }
.phase-pill { display: grid; place-items: center; text-align: center; width: 92px; height: 104px; clip-path: var(--hex); background: var(--white); color: var(--forest-900); box-shadow: var(--shadow); }
.phase-pill:nth-child(2) { background: var(--leaf-500); color: var(--white); }
.phase-pill b { display: block; font-size: 1.7rem; line-height: 1; letter-spacing: -0.03em; }
.phase-pill span { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.estate__addresses { display: grid; gap: 0.75rem; margin-block: 1.5rem; }
@media (min-width: 640px) { .estate__addresses { grid-template-columns: 1fr 1fr; } }
.address-card { display: flex; gap: 0.8rem; padding: 1rem 1.1rem; border-radius: var(--radius); background: rgba(255,255,255,0.06); border: 1px solid var(--line-dark); }
.address-card .icon { color: var(--leaf-400); margin-top: 0.2rem; }
.address-card strong { display: block; color: var(--white); font-weight: 600; line-height: 1.35; font-size: 0.95rem; }
.address-card span { display: block; color: var(--on-dark-soft); font-size: 0.85rem; margin-top: 0.15rem; }
.section:not(.section--forest) .address-card { background: var(--white); border-color: var(--line); }
.section:not(.section--forest) .address-card strong { color: var(--forest-900); }
.section:not(.section--forest) .address-card span { color: var(--muted); }
.section:not(.section--forest) .address-card .icon { color: var(--leaf-600); }

.facilities { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.6rem; }
.facility { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.85rem; border-radius: var(--radius-s); background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); font-size: 0.85rem; font-weight: 500; color: var(--on-dark); }
.facility .icon { color: var(--leaf-400); width: 1.2rem; height: 1.2rem; }
.section:not(.section--forest) .facility { background: var(--white); border-color: var(--line); color: var(--forest-900); }
.section:not(.section--forest) .facility .icon { color: var(--leaf-600); }
.facilities--lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 0.85rem; }
.facilities--lg .facility { flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1.15rem; font-size: 0.95rem; font-weight: 600; border-radius: var(--radius); }
.facilities--lg .facility .icon { width: 1.6rem; height: 1.6rem; }

.note { display: flex; gap: 0.6rem; font-size: 0.82rem; color: var(--muted); line-height: 1.55; margin-top: 1rem; }
.section--forest .note { color: var(--on-dark-soft); }

/* Product feature */
.product { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 900px) { .product { grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 6vw, 6rem); } }
.product__visual { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.product__seal {
  position: absolute; top: 6%; right: -2%; width: 116px; height: 130px; display: grid; place-items: center; text-align: center;
  clip-path: var(--hex); background: var(--white); color: var(--forest-900); padding: 1.25rem 0.75rem;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.35;
  box-shadow: var(--shadow);
}
.product__seal b { display: block; font-size: 0.95rem; letter-spacing: 0.04em; color: var(--leaf-600); }
.markets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.markets li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255,255,255,0.06); font-size: 0.85rem; font-weight: 600; color: var(--white); }
.markets .icon { width: 1rem; height: 1rem; color: var(--leaf-400); }
.section:not(.section--forest) .markets li { background: var(--white); border-color: var(--line); color: var(--forest-900); }
.section:not(.section--forest) .markets .icon { color: var(--leaf-600); }

/* Steps */
.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 1.5rem; border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 44px; height: 50px; margin-bottom: 1rem;
  clip-path: var(--hex); background: var(--forest-800); color: var(--white); font-weight: 700; font-size: 0.85rem;
}
.step h3 { font-size: 1.05rem; }
.step p { margin-top: 0.4rem; color: var(--ink-soft); font-size: 0.925rem; }

/* Material tiles */
.materials { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 0.75rem; }
.material { padding: 1.25rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; gap: 0.75rem; align-content: start; }
.material strong { font-weight: 600; color: var(--forest-900); }
.material--more { background: var(--leaf-50); border-style: dashed; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--forest-900); color: var(--on-dark); padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem); }
.page-hero__bg { display: none; }
.page-hero__bg svg { width: 100%; height: 100%; }
.page-hero__grid { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: 1.15fr 0.85fr; } }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem); line-height: 1.08; letter-spacing: -0.03em; }
.page-hero__lead { margin-top: 1.25rem; font-size: var(--step-1); color: var(--on-dark-soft); max-width: 40em; }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero .photo { box-shadow: var(--shadow-l); }

.breadcrumbs { margin-bottom: 1.5rem; font-size: 0.82rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--on-dark-soft); }
.breadcrumbs li + li::before { content: "/"; opacity: 0.5; }
.breadcrumbs a { color: var(--on-dark-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--white); font-weight: 500; }

/* Sub-navigation (jump links) */
.jump-nav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.jump-nav ul { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; padding-block: 0.6rem; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.jump-nav ul::-webkit-scrollbar { display: none; }
.jump-nav a { display: block; white-space: nowrap; padding: 0.5rem 0.9rem; border-radius: 999px; font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
.jump-nav a:hover, .jump-nav a.is-active { background: var(--leaf-50); color: var(--forest-900); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: clamp(var(--radius-l), 3vw, 32px); background: var(--forest-800); color: var(--on-dark); padding: clamp(2rem, 2rem + 3vw, 4.5rem); display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 960px) { .cta-band { grid-template-columns: 1.2fr 1fr; } }
.cta-band__pattern { display: none; }
.cta-band h2 { color: var(--white); font-size: var(--step-3); }
.cta-band p { margin-top: 0.9rem; color: var(--on-dark-soft); max-width: 34em; }
.contact-tiles { display: grid; gap: 0.6rem; }
.contact-tile {
  display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1.1rem; min-height: 64px;
  background: rgba(255,255,255,0.07); border: 1px solid var(--line-dark); border-radius: var(--radius);
  color: var(--white); text-decoration: none; transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact-tile:hover { background: rgba(255,255,255,0.13); color: var(--white); transform: translateX(3px); }
.contact-tile .hex-badge { background: var(--leaf-500); color: var(--white); width: 40px; height: 44px; }
.contact-tile .hex-badge .icon { width: 19px; height: 19px; }
.contact-tile small { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-soft); }
.contact-tile strong { display: block; font-weight: 600; font-size: 1.02rem; word-break: break-word; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-s); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--forest-900); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem;
  border: 1.5px solid #8d8a83; border-radius: var(--radius-s); background: var(--warm-white);
  font-size: 1rem; line-height: 1.4; color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141614' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.1rem; padding-right: 2.75rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--forest-600); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf-600); background: var(--white); box-shadow: 0 0 0 4px rgba(156,82,48,0.16); }
.field [aria-invalid="true"] { border-color: var(--danger); background: var(--danger-bg); }
.field__hint { font-size: 0.8rem; color: var(--muted); }
.field__error { font-size: 0.82rem; color: var(--danger); font-weight: 500; display: flex; gap: 0.35rem; align-items: center; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-actions .small { flex: 1 1 220px; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: var(--radius); font-size: 0.925rem; line-height: 1.55; }
.form-status:empty { display: none; }
.form-status--success { background: var(--success-bg); border: 1px solid var(--leaf-300); color: var(--forest-900); }
.form-status--error { background: var(--danger-bg); border: 1px solid #f1b8b2; color: #7a1a12; }
.form-status--info { background: var(--leaf-50); border: 1px solid var(--leaf-300); color: var(--forest-900); }
.form-status strong { display: block; margin-bottom: 0.25rem; }
.form-status .btn-row { margin-top: 0.85rem; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* ---------- Map ---------- */
.map { position: relative; overflow: hidden; border-radius: var(--radius-l); aspect-ratio: 16/10; background: var(--forest-800); border: 1px solid var(--line); }
@media (max-width: 640px) { .map { aspect-ratio: 4/5; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__facade { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 1.5rem; text-align: center; color: var(--white); background: var(--forest-900); }
.map__facade svg.map__grid { display: none; }
.map__pin { position: relative; display: grid; place-items: center; width: 72px; height: 80px; clip-path: var(--hex); background: var(--leaf-500); }
.map__pin .icon { width: 32px; height: 32px; color: var(--white); }
.map__facade p { position: relative; color: var(--on-dark-soft); font-size: 0.9rem; max-width: 30em; }
.map__facade strong { position: relative; font-size: 1.25rem; }
.map__facade .btn-row { position: relative; justify-content: center; }

/* ---------- FAQ / details ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; font-weight: 600; color: var(--forest-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--leaf-600); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.35rem 1.25rem; color: var(--ink-soft); }

/* ---------- Values ---------- */
.value { padding: 1.75rem; border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); }
.value h3 { margin-top: 1rem; }
.value p { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--forest-950); color: var(--on-dark-soft); padding-block: var(--space-xl) 2rem; font-size: 0.925rem; }
.site-footer__pattern { display: none; }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; } }
.site-footer__brand img { width: 128px; margin-bottom: 1.25rem; }
.site-footer__brand p { max-width: 26em; }
.site-footer__title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.site-footer__list { display: grid; gap: 0.15rem; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__list a { display: inline-block; padding-block: 0.3rem; }
.site-footer__contact { display: grid; gap: 0.6rem; }
.site-footer__contact p { display: flex; gap: 0.6rem; align-items: center; }
.site-footer__contact .icon { color: var(--leaf-400); width: 1.1rem; height: 1.1rem; }
.site-footer__base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: 0.82rem; }

/* ---------- 404 ---------- */
.not-found { min-height: 70vh; display: grid; align-items: center; }
.not-found__code { font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--leaf-100); -webkit-text-stroke: 2px var(--leaf-500); }

/* ---------- Scroll reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--delay, 0s); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .action-bar, .mobile-menu, .jump-nav, .map, form { display: none !important; }
  .hero, .page-hero, .section--forest, .site-footer, .cta-band { background: none !important; color: #000 !important; }
  .hero h1, .page-hero h1, .section--forest h2 { color: #000 !important; }
}

/* Light contact tiles (contact page) */
.contact-tile--light { background: var(--white); border-color: var(--line); color: var(--forest-900); }
.contact-tile--light:hover { background: var(--leaf-50); color: var(--forest-900); }
.contact-tile--light small { color: var(--muted); }
.contact-tile--light .hex-badge { background: var(--leaf-100); color: var(--forest-700); }
div.contact-tile--light:hover { transform: none; background: var(--white); }
