/* ==========================================================================
   EcoRoots Sanctuary — main.css
   Path A static site. Design: editorial / nature-grounded, warm & community-led.
   Inspired by OUTSIDE Collaborative's editorial restraint, warmed up for families.
   Voice of the design: Learning · Stewardship · Restoration · Belonging.
   ========================================================================== */

/* ------------------------------- Tokens --------------------------------- */
:root {
  /* Palette — warm paper, Florida forest, soil & clay, sunlight */
  --paper:        #f6f0e3;   /* page background — warm paper */
  --paper-2:      #efe7d6;   /* alternating section band */
  --card:         #fffdf8;   /* card / surface */
  --forest:       #2c4536;   /* primary deep green */
  --forest-deep:  #1d2f24;   /* near-black green (footer, overlays) */
  --moss:         #5f7d52;   /* mid green accent */
  --sage:         #8fa67e;   /* soft green */
  --bark:         #6b5740;   /* brown / soil */
  --clay:         #c0683f;   /* terracotta — primary CTA / warmth */
  --clay-deep:    #a4552f;
  --gold:         #d99e3f;   /* sunlight accent */
  --ink:          #2a2b24;   /* body text */
  --muted:        #6c6b5c;   /* secondary text */
  --line:         #d9cfbb;   /* hairlines on paper */
  --line-soft:    rgba(44,69,54,.12);

  /* Type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -24px rgba(29,47,36,.45);
  --shadow-sm: 0 8px 24px -16px rgba(29,47,36,.4);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ----------------------------- Typography ------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 470;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--forest);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 500; }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--clay);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: #3c3d33; line-height: 1.6; }
.muted { color: var(--muted); }

/* ------------------------------ Layout ---------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.band { background: var(--paper-2); }
.band-forest { background: var(--forest); color: #eef2e7; }
.band-forest h1, .band-forest h2, .band-forest h3 { color: #f4f1e6; }
.band-forest .eyebrow { color: var(--gold); }
.band-forest .eyebrow::before { background: var(--gold); }

.center { text-align: center; }
.measure { max-width: 62ch; }
.measure.center { margin-inline: auto; }
.stack > * + * { margin-top: 1.1rem; }
.section-head { max-width: 64ch; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; }

/* ------------------------------ Buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-weight: 700; font-size: .92rem;
  letter-spacing: .02em;
  padding: .85em 1.6em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--clay); color: #fff7ef; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--clay-deep); }
.btn--forest { background: var(--forest); color: #f1f0e4; }
.btn--forest:hover { background: var(--forest-deep); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: #f1f0e4; border-color: var(--forest); }
.btn--on-dark { background: #f4f1e6; color: var(--forest-deep); }
.btn--on-dark.btn--ghost { background: transparent; color: #f1f0e4; border-color: rgba(244,241,230,.55); }
.btn--on-dark.btn--ghost:hover { background: #f4f1e6; color: var(--forest-deep); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

.textlink {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 700; color: var(--clay);
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.textlink:hover { border-color: var(--clay); gap: .6em; }
.textlink .arrow { transition: transform .2s var(--ease); }
.textlink:hover .arrow { transform: translateX(2px); }

/* ------------------------------- Header --------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; }
.brand__name {
  font-family: var(--display); font-weight: 500; font-size: 1.12rem;
  line-height: 1; color: var(--forest); letter-spacing: -.01em;
}
.brand__tag {
  display: block; font-family: var(--sans); font-weight: 600;
  font-size: .56rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-top: 3px;
}
.nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 26px); }
.nav a {
  font-weight: 600; font-size: .94rem; color: var(--forest);
  position: relative; padding-block: 6px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--clay); transition: width .25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--clay); }
.nav__cta { margin-left: 6px; }

/* transparent-over-hero state (set on body that has a dark hero) */
.has-hero .site-header:not(.is-stuck) { background: linear-gradient(to bottom, rgba(29,47,36,.55), transparent); }
.has-hero .site-header:not(.is-stuck) .brand__name,
.has-hero .site-header:not(.is-stuck) .brand__tag,
.has-hero .site-header:not(.is-stuck) .nav a { color: #f4f1e6; }
.has-hero .site-header:not(.is-stuck) .nav__cta { color: var(--forest-deep); }
.has-hero .site-header:not(.is-stuck) .burger span { background: #f4f1e6; }
/* When the drawer is open the X sits on the cream panel — keep it dark & visible */
.nav-open .burger span { background: var(--forest) !important; }

.site-header.is-stuck {
  background: rgba(246,240,227,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -20px rgba(29,47,36,.6);
}

/* burger */
.burger {
  display: none; flex-direction: column; gap: 5px; width: 30px; height: 30px;
  align-items: center; justify-content: center; background: none; border: 0;
}
.burger span { width: 24px; height: 2px; background: var(--forest); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------- Hero ----------------------------------- */
.hero {
  position: relative; min-height: min(92vh, 820px);
  display: flex; align-items: flex-end;
  color: #f4f1e6; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(16,26,19,.95) 0%, rgba(16,26,19,.7) 38%, rgba(16,26,19,.5) 70%, rgba(16,26,19,.55) 100%),
    linear-gradient(to right, rgba(16,26,19,.82) 0%, rgba(16,26,19,.4) 45%, rgba(16,26,19,.12) 80%);
}
.hero__inner { padding-block: clamp(40px, 8vw, 96px); padding-top: 140px; }
.hero h1 { color: #fbf8ef; max-width: 16ch; }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }
.hero__sub { max-width: 54ch; font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: #e7e6d6; margin-top: 1.2rem; }
.hero__cta { margin-top: 2rem; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 26px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(244,241,230,.7); display: flex; align-items: center; gap: 10px;
}

/* page hero (interior pages) */
.page-hero { position: relative; padding-top: 150px; padding-bottom: clamp(48px, 7vw, 88px); overflow: hidden; }
.page-hero.is-photo { color: #f4f1e6; min-height: 52vh; display: flex; align-items: flex-end; }
.page-hero.is-photo .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero.is-photo .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.is-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(20,33,25,.9), rgba(20,33,25,.35));
}
.page-hero.is-photo h1 { color: #fbf8ef; }
.page-hero.is-photo .eyebrow { color: var(--gold); }
.page-hero.is-photo .eyebrow::before { background: var(--gold); }
.page-hero h1 { max-width: 18ch; }
.page-hero__sub { margin-top: 1rem; max-width: 60ch; }

/* ----------------------------- Components ------------------------------- */

/* Split / editorial row */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4/5; }
.split__media.tall img { aspect-ratio: 3/4; }
.split__media.wide img { aspect-ratio: 4/3; }
.split__body h2 { margin-bottom: .2em; }

/* image tag / caption chip */
.media-chip {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,253,248,.94); color: var(--forest);
  font-weight: 700; font-size: .8rem; padding: .5em 1em; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* Pillars / values grid */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 { color: var(--forest); margin-bottom: .4em; }
.card p { color: #4a4b40; font-size: .98rem; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center; background: rgba(95,125,82,.14); color: var(--moss);
}
.card__icon svg { width: 26px; height: 26px; }
.card--num { position: relative; }
.card__num {
  font-family: var(--display); font-size: 1.4rem; color: var(--clay);
  font-weight: 600; display: block; margin-bottom: 8px;
}

/* value pill row */
.values { display: flex; flex-wrap: wrap; gap: 12px; }
.value-pill {
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: .6em 1.2em; font-weight: 600; color: var(--forest);
  background: var(--card); display: inline-flex; align-items: center; gap: .5em;
}
.value-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--moss); }

/* program / feature cards with image */
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); height: 100%;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature__img { aspect-ratio: 3/2; overflow: hidden; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.feature:hover .feature__img img { transform: scale(1.05); }
.feature__body { padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.feature__meta { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.feature__body h3 { color: var(--forest); }
.feature__body p { color: #4a4b40; font-size: .97rem; }
.feature__body .textlink { margin-top: auto; }
.tag {
  display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  color: var(--moss); background: rgba(95,125,82,.13); padding: .35em .85em; border-radius: 999px;
}

/* big stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold); line-height: 1; }
.band-forest .stat__label { color: #cdd6c2; font-size: .9rem; }
.stat__label { color: var(--muted); font-size: .9rem; margin-top: 8px; }

/* objectives Q list */
.qlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qcard {
  border-left: 3px solid var(--clay); padding: 4px 0 4px 18px;
}
.qcard h3 { font-size: 1.15rem; color: var(--forest); }
.qcard p { color: var(--muted); font-size: .95rem; margin-top: 4px; }

/* CTA banner */
.cta-banner {
  position: relative; border-radius: var(--radius); overflow: hidden;
  padding: clamp(40px, 6vw, 80px); text-align: center; color: #f4f1e6;
  background: var(--forest);
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 140% at 100% 0%, rgba(217,158,63,.28), transparent 55%),
              radial-gradient(120% 140% at 0% 100%, rgba(192,104,63,.28), transparent 55%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fbf8ef; max-width: 22ch; margin-inline: auto; }
.cta-banner p { color: #e3e2d2; max-width: 56ch; margin: 1rem auto 0; }

/* vision list */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.02rem; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; margin-top: 1px;
  background: rgba(95,125,82,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f7d52' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.band-forest .checklist li::before { background-color: rgba(217,158,63,.2); }
.band-forest .checklist li { color: #e7e6d6; }

/* simple two-col prose */
.prose-cols { columns: 2; column-gap: clamp(28px, 5vw, 64px); }
.prose-cols p { break-inside: avoid; margin-bottom: 1rem; }

/* photo strip */
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-strip img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-sm); }
.photo-strip img:nth-child(1) { aspect-ratio: 3/4; grid-row: span 2; }

/* ------------------------------- Forms ---------------------------------- */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: .9rem; color: var(--forest); }
.field label .req { color: var(--clay); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink);
  background: #fffef9; border: 1.5px solid var(--line); border-radius: 10px;
  padding: .8em .9em; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(95,125,82,.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--row > .field { margin-bottom: 0; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-status.is-ok { display: block; background: rgba(95,125,82,.15); color: #3a5230; }
.form-status.is-err { display: block; background: rgba(192,104,63,.14); color: var(--clay-deep); }
.field input:invalid:not(:placeholder-shown) { border-color: var(--clay); }

/* contact detail list */
.contact-rows { display: grid; gap: 22px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(95,125,82,.14); color: var(--moss); display: grid; place-items: center; }
.contact-row__icon svg { width: 22px; height: 22px; }
.contact-row h4 { font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-row a, .contact-row p { color: var(--forest); font-weight: 600; }

/* ----------------------------- Placeholder ------------------------------ */
.coming-soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.cs-card {
  background: var(--card); border: 1px dashed var(--sage); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px); position: relative;
}
.cs-card .tag { background: rgba(217,158,63,.16); color: var(--bark); margin-bottom: 14px; }
.cs-card h3 { color: var(--forest); margin-bottom: .35em; }
.cs-card p { color: var(--muted); font-size: .96rem; }

/* ------------------------------- Footer --------------------------------- */
.site-footer { background: var(--forest-deep); color: #d7ddcf; padding-block: clamp(56px, 7vw, 88px) 30px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer-brand .brand__name { color: #f4f1e6; }
.footer-brand .brand__tag { color: #9fb097; }
.footer-brand img { width: 54px; height: 54px; }
.footer-blurb { margin-top: 18px; max-width: 34ch; color: #aebaa4; font-size: .96rem; }
.footer-col h4 {
  font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: #c4cdba; font-size: .96rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-contact { font-style: normal; display: grid; gap: 8px; color: #c4cdba; font-size: .96rem; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: .85rem; color: #8c9a82;
}
.footer-bottom .socials { display: flex; gap: 14px; }
.footer-bottom .socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #c4cdba; transition: background .2s, color .2s, border-color .2s; }
.footer-bottom .socials a:hover { background: var(--gold); color: var(--forest-deep); border-color: var(--gold); }
.footer-bottom .socials svg { width: 18px; height: 18px; }
.badge-501 { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: #9fb097; }

/* --------------------------- Mobile nav menu ---------------------------- */
.nav-backdrop { display: none; }

/* ------------------------------- Reveal --------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ------------------------------ Skip link ------------------------------- */
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--clay); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* ============================ Responsive ================================= */
@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .qlist { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    background: var(--paper); flex-direction: column; align-items: stretch;
    justify-content: flex-start; gap: 0;
    padding: calc(80px + env(safe-area-inset-top, 0px)) 28px calc(28px + env(safe-area-inset-bottom, 0px));
    transform: translateX(100%); transition: transform .35s var(--ease);
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.5); z-index: 110;
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  .nav a { font-size: 1.1rem; color: var(--forest) !important; width: 100%; padding-block: 12px; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .nav__cta { margin: 16px 0 0; width: 100%; text-align: center; flex-shrink: 0; }
  .has-hero .site-header:not(.is-stuck) .nav a { color: var(--forest) !important; }
  .burger { display: flex; z-index: 120; }
  .nav-open .nav { transform: translateX(0); }
  .nav-open .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(20,33,25,.45); z-index: 105; }
  body.nav-open { overflow: hidden; }
}
/* Short viewports (small phones / landscape): compress so nothing is cut off */
@media (max-width: 860px) and (max-height: 640px) {
  .nav { padding-top: calc(72px + env(safe-area-inset-top, 0px)); padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .nav a { font-size: 1rem; padding-block: 8px; }
  .nav__cta { margin-top: 12px; }
}
@media (max-width: 760px) {
  .split, .split--reverse { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse .split__media { order: 0; }
  .split__media img, .split__media.tall img, .split__media.wide img { aspect-ratio: 4/3; }
  .grid--2, .grid--3, .grid--4, .qlist, .coming-soon-grid, .photo-strip { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px; }
  .prose-cols { columns: 1; }
  .field--row { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip img:nth-child(1) { grid-row: span 1; aspect-ratio: 1; }
}
@media (max-width: 460px) {
  .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .brand__name { font-size: 1rem; }
}
