/* ==========================================================================
   MAGNOLIA PROJECT — v12 "OPEN FIELD"
   A redesign, not a polish pass. The v9/v10 look is treated as evidence and
   anti-reference: the tinted-card kit, the icon chips, the three equal columns
   and the accent bars are gone entirely and do not come back.

   THE DIRECTION
   A letterpress field guide. The organisation is about land, small towns and a
   magnolia; the brand sheet is a printed artifact from 2022. So the site is
   built like a printed field guide to three counties: paper ground with real
   tooth, hanging index numerals in the margin, letterspaced small-caps labels
   over hairlines, botanical line-work at architectural scale bleeding off the
   edges, and colour committed in solid blocks rather than watered into tints.

   WHAT MAKES IT UNFORGETTABLE
   The magnolia, drawn once as line-work and used enormous — half a metre of
   petal running off the edge of a plum band — instead of a 24px glyph in a
   rounded square. That is the one thing someone remembers.

   RULES HELD FROM THE BRIEF
   - Framework-free, one HTML file, hash routing, no build step.
   - Branding-sheet colours only: plum #592357, cream #FCF1D4, sky #8EB8E0,
     steel #7C98B2, sage #6B8083. Steel is the rule colour, never a tone.
   - Fraunces (display) + Poppins (body, standing in for Century Gothic Pro).
   - The petal corner appears exactly twice. Not three times.
   - Motion fails safe: nothing is left at opacity 0 if a script never runs.
   - Everything maps to a native Squarespace section or block.

   ACCESSIBILITY FLOOR (from the supplied web-interface guidelines)
   - Visible :focus-visible rings, never removed.
   - Hit targets >=24px desktop, >=44px touch.
   - Inputs >=16px so iOS does not zoom.
   - Only transform/opacity animate; no `transition: all`; reduced-motion honored.
   - text-wrap: balance on display type; tabular-nums on every figure.
   - scroll-margin-top on headings; skip link; hierarchical headings.
   ========================================================================== */

:root {
  /* --- Branding sheet, verbatim ------------------------------------- */
  --plum:   #592357;
  --cream:  #FCF1D4;
  --sky:    #8EB8E0;
  --steel:  #7C98B2;
  --sage:   #6B8083;

  /* --- Working shades. Same hues, moved only for legibility --------- */
  --plum-deep:  #3B1739;
  --plum-lift:  #6E3069;
  --sky-ink:    #35597C;
  --sage-ink:   #35494B;
  --paper:      #FFFDF6;
  --ink:        #2A1A29;
  --ink-soft:   #5F5060;

  /* Steel does the structural work a desaturated hue is actually good at.
     It is hue 209 — the same hue as sky — so as a "colour" it only ever read
     as sky with the life removed. As rules it is perfect. */
  --rule:       rgba(124,152,178,.55);
  --rule-soft:  rgba(124,152,178,.3);
  --rule-dark:  rgba(252,241,212,.22);

  --tone:       var(--plum);
  --tone-ink:   var(--plum);
  --tone-on:    var(--cream);

  --max:   1240px;
  --text:  680px;
  --pad:   clamp(1.25rem, 5vw, 4rem);
  --band:  clamp(4.5rem, 9vw, 8rem);

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Poppins", "Century Gothic", sans-serif;

  --ease:  cubic-bezier(.2,.7,.3,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* The petal corner. TWO USES ON THE ENTIRE SITE: the hero figure rail and
     the closing invitation. Adding a third destroys it. */
  --petal: 64px 6px 64px 6px;
}

[data-tone="sky"]  { --tone: var(--sky);  --tone-ink: var(--sky-ink);  --tone-on: #12222F; }
[data-tone="sage"] { --tone: var(--sage); --tone-ink: var(--sage-ink); --tone-on: #F3F7F7; }
[data-tone="plum"] { --tone: var(--plum); --tone-ink: var(--plum);     --tone-on: var(--cream); }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Real paper tooth over the whole document. One inline turbulence, no request,
   and it is the single cheapest thing that stops a page looking rendered. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .45; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23g)' opacity='.28'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { scroll-margin-top: 6rem; }

:focus-visible {
  outline: 3px solid var(--plum);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-plum :focus-visible, .site-nav :focus-visible { outline-color: var(--sky); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; z-index: 2000; left: 1rem; top: -5rem;
  background: var(--plum); color: var(--cream);
  padding: .9rem 1.4rem; font-size: .82rem; font-weight: 600;
  transition: top .18s var(--ease);
}
.skip:focus { top: 1rem; }

/* ============================================================== TYPE SCALE */

.display, .h1, .h2 {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 600;
  letter-spacing: -.038em;
  line-height: .95;
  text-wrap: balance;
}
.display { font-size: clamp(2.9rem, 6.6vw, 6rem); }
.h1      { font-size: clamp(2.5rem, 6.2vw, 5.25rem); }
.h2      { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1; }
.h3 {
  font-family: var(--serif);
  font-variation-settings: "opsz" 60, "SOFT" 100, "WONK" 1;
  font-weight: 600; font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  letter-spacing: -.024em; line-height: 1.16; text-wrap: balance;
}

/* The field-guide label. Replaces the eyebrow pill entirely — no capsule, no
   coloured dot. A rule, a letterspaced word, and the section's index number. */
.label {
  display: flex; align-items: baseline; gap: .9rem;
  font-family: var(--sans);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--tone-ink);
  padding-bottom: .7rem; margin-bottom: 1.6rem;
  border-bottom: 1.5px solid var(--rule);
}
.label .idx {
  margin-left: auto;
  font-family: var(--serif);
  font-variation-settings: "opsz" 30, "SOFT" 100;
  font-size: .95rem; letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  opacity: .65;
}
.on-plum .label { color: var(--sky); border-bottom-color: var(--rule-dark); }

.lede {
  font-family: var(--serif);
  font-variation-settings: "opsz" 40, "SOFT" 100, "WONK" 0;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  line-height: 1.4; letter-spacing: -.016em;
  max-width: 30ch;
}
.body { max-width: var(--text); color: var(--ink-soft); }
.body + .body { margin-top: 1.1rem; }
.on-plum .body { color: rgba(252,241,212,.78); }
.on-plum .lede, .on-plum .h1, .on-plum .h2, .on-plum .h3, .on-plum .display { color: var(--cream); }

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ================================================================= LAYOUT */

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
/* The botanical bleeds past the edge on purpose, so bands must clip it —
   otherwise it creates horizontal scroll. */
.band { padding-block: var(--band); position: relative; overflow: clip; }
.band-cream { background: var(--cream); }
.band-paper { background: var(--paper); }
.band-plum  { background: var(--plum); color: var(--cream); }
.band-plum.on-plum { color: var(--cream); }

/* Asymmetric splits only. Three equal columns is the shape being retired. */
.split-57 { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem,5vw,5rem); }
.split-75 { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem,5vw,5rem); }
.split-48 { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem,5vw,5rem); }

/* ============================================================== BOTANICAL */
/* The magnolia as line-work at architectural scale, bleeding off the edge.
   This is the site's one signature image and it is used large or not at all. */

.botanical {
  position: absolute; pointer-events: none; z-index: 0;
  color: currentColor; opacity: .1;
}
.botanical svg { width: 100%; height: auto; }
.botanical.tr { top: -14%; right: -12%; width: min(52vw, 620px); }
.botanical.bl { bottom: -22%; left: -14%; width: min(46vw, 540px); }
.botanical.br { bottom: -26%; right: -10%; width: min(50vw, 600px); }
.band > .wrap { position: relative; z-index: 2; }

/* ================================================================ BUTTONS */

.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  min-height: 48px; padding: .85rem 1.7rem;
  font-size: .875rem; font-weight: 600; letter-spacing: .02em;
  border: 1.5px solid var(--plum);
  background: var(--plum); color: var(--cream);
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
  touch-action: manipulation;
}
.btn:hover { background: var(--plum-deep); border-color: var(--plum-deep); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-ghost { background: transparent; color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: var(--cream); }

.on-plum .btn { background: var(--cream); color: var(--plum); border-color: var(--cream); }
.on-plum .btn:hover { background: var(--sky); border-color: var(--sky); color: var(--plum-deep); }
.on-plum .btn-ghost { background: transparent; color: var(--cream); border-color: rgba(252,241,212,.5); }
.on-plum .btn-ghost:hover { background: var(--cream); color: var(--plum); border-color: var(--cream); }

.btn-give { background: var(--sky); border-color: var(--sky); color: var(--plum-deep); }
.btn-give:hover { background: var(--plum); border-color: var(--plum); color: var(--cream); transform: translateY(-2px); }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* The read-on link: a rule that draws itself, not an arrow in a circle. */
.more {
  display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap;
  min-height: 44px;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--tone-ink); position: relative;
}
.more::after {
  content: ""; position: absolute; left: 0; bottom: 10px; height: 1.5px; width: 100%;
  background: currentColor; transform: scaleX(.28); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.more:hover::after { transform: scaleX(1); }
.on-plum .more { color: var(--sky); }

/* ================================================================= HEADER */

.util {
  background: var(--plum-deep); color: rgba(252,241,212,.8);
  font-size: .72rem; letter-spacing: .06em;
  overflow: hidden; max-height: 40px;
  transition: max-height .35s var(--ease), opacity .25s var(--ease);
}
.util .wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.util b { font-weight: 500; }
.util nav { display: flex; gap: 1rem; }
.util a { display: inline-grid; place-items: center; min-width: 24px; min-height: 24px; opacity: .8; transition: opacity .2s var(--ease), color .2s var(--ease); }
.util a:hover { opacity: 1; color: var(--sky); }
.util svg { width: 15px; height: 15px; }
body.scrolled .util { max-height: 0; opacity: 0; }

.masthead {
  position: sticky; top: 0; z-index: 200;
  background: rgba(252,241,212,.92);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1.5px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
body.scrolled .masthead { border-bottom-color: var(--rule); background: rgba(252,241,212,.97); }
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 84px;
}
body.scrolled .masthead .wrap { min-height: 68px; }
.masthead .wrap, .brand img { transition: min-height .3s var(--ease), width .3s var(--ease); }
.brand { display: block; flex: none; }
.brand img { width: 172px; }
body.scrolled .brand img { width: 148px; }

.site-nav { display: flex; align-items: center; gap: .15rem; }
.site-nav > * { position: relative; }
.navlink {
  display: inline-flex; align-items: center; gap: .4rem;
  min-height: 44px; padding: .5rem .8rem;
  font-size: .875rem; font-weight: 500; color: var(--ink-soft);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.navlink::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 1.15rem;
  height: 1.5px; background: var(--plum);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.navlink:hover, .navlink[aria-current], .navlink.open { color: var(--plum); }
.navlink:hover::after, .navlink[aria-current]::after { transform: scaleX(1); }
.navlink .caret { width: 8px; height: 8px; opacity: .55; transition: transform .3s var(--ease); }
.group.open .caret, .group:hover .caret { transform: rotate(180deg); }

.menu {
  position: absolute; top: calc(100% - 6px); left: 0;
  min-width: 300px; padding: .5rem;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  box-shadow: 0 24px 48px -20px rgba(59,23,57,.28);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.group:hover .menu, .group:focus-within .menu, .group.open .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: .7rem .85rem; min-height: 44px; transition: background .18s var(--ease); }
.menu a:hover { background: var(--cream); }
.menu strong { display: block; font-size: .9rem; font-weight: 600; color: var(--plum); }
.menu span { display: block; font-size: .78rem; color: var(--ink-soft); }
.menu .region-root {
  padding: .8rem .85rem .35rem; margin: 0;
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  cursor: default; pointer-events: none;
}
.menu .region-root strong {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  line-height: 1.2; text-transform: uppercase;
}
.menu .region-root span { margin-top: .2rem; font-size: .7rem; }
.region-subnav {
  margin: .25rem 0 .35rem .85rem; padding-left: .75rem;
  border-left: 1.5px solid var(--sage);
}
.region-subnav > p {
  padding: .45rem .85rem .2rem; color: var(--sage-ink);
  font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.region-subnav a { padding: .65rem .85rem; }

.burger { display: none; width: 48px; height: 48px; padding: 0; }
.burger i { display: block; width: 24px; height: 2px; background: var(--plum); margin: 5px auto; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================================================================== HERO */
/* Full-bleed film. The bloom that sat behind the headline is gone — the
   footage is the image now. No gap between the hero and the figures: the
   figure rail is fused to the bottom edge of the film. */

.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-film {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(150deg, #6E3069, #3B1739 70%);
}
.hero-film video, .hero-film img { width: 100%; height: 100%; object-fit: cover; }
/* Legibility over moving footage is a contrast requirement, not decoration.
   The cream wash keeps the hero light exactly as the brand sheet intends. */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(252,241,212,.93) 0%, rgba(252,241,212,.8) 46%, rgba(252,241,212,.97) 100%),
    radial-gradient(80% 60% at 18% 24%, rgba(252,241,212,.6), transparent 70%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-body { padding-block: clamp(4rem, 10vw, 8.5rem) clamp(2.5rem, 5vw, 4rem); max-width: 60rem; }
.hero .display { color: var(--plum); max-width: 13ch; }
.hero .body { margin-top: 1.5rem; max-width: 44ch; font-size: 1.1rem; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage-ink); margin-bottom: 1.8rem;
}
.hero-tag::before { content: ""; width: 40px; height: 1.5px; background: currentColor; }
.hero-slot {
  position: absolute; left: var(--pad); top: 1rem; z-index: 3;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(59,23,57,.6); color: rgba(252,241,212,.9);
  padding: .35rem .7rem;
}

/* Figures fused to the hero — no white gap. PETAL CORNER, USE 1 OF 2. */
.figures {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--plum); color: var(--cream);
  border-radius: var(--petal);
  overflow: hidden;
}
.figures > div { padding: clamp(1.6rem,3vw,2.4rem) clamp(1.2rem,2.5vw,2rem); }
.figures > div + div { border-left: 1.5px solid rgba(252,241,212,.2); }
.figures dt {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 600; font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: .9; letter-spacing: -.05em; color: var(--sky);
  font-variant-numeric: tabular-nums;
}
.figures dt sup { font-size: .36em; vertical-align: super; }
.figures dd { margin: .7rem 0 0; font-size: .86rem; line-height: 1.45; color: var(--sky); max-width: 24ch; }
.figures [data-tone="sage"] dt { color: #9DBDBD; }
.figures [data-tone="sage"] dd { color: #9DBDBD; }
.figures [data-tone="plum"] dt { color: var(--cream); }
.figures [data-tone="plum"] dd { color: var(--cream); }

/* ============================================================ ENTRY (model) */
/* Field-guide entries. Hanging numeral, rule, name, description. No card, no
   chip, no accent bar, no equal thirds. */

.entries { margin-top: clamp(2.5rem,5vw,4rem); }
.entry {
  display: grid; grid-template-columns: 4.5rem 1fr;
  gap: 0 clamp(1.25rem,3vw,2.5rem);
  padding-block: clamp(1.75rem,3.5vw,2.6rem);
  border-top: 1.5px solid var(--rule);
  align-items: start;
}
.entry:last-child { border-bottom: 1.5px solid var(--rule); }
.entry-n {
  font-family: var(--serif);
  font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1;
  font-weight: 600; font-size: clamp(2rem,3.4vw,2.8rem); line-height: .85;
  letter-spacing: -.05em; color: var(--tone-ink);
  font-variant-numeric: tabular-nums;
}
.entry-b { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1rem,2.5vw,3rem); align-items: start; }
.entry-k {
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--tone-ink); display: block; margin-bottom: .5rem;
}
.entry-b p { color: var(--ink-soft); font-size: .98rem; line-height: 1.65; }
.on-plum .entry { border-color: var(--rule-dark); }
.on-plum .entry-n, .on-plum .entry-k { color: var(--sky); }
.on-plum .entry-b p { color: rgba(252,241,212,.76); }
.outcome {
  margin-top: clamp(2rem,4vw,3rem);
  font-family: var(--serif);
  font-variation-settings: "opsz" 96, "SOFT" 100, "WONK" 1;
  font-weight: 600; font-size: clamp(1.5rem,3vw,2.4rem);
  letter-spacing: -.03em; line-height: 1.1; color: var(--plum);
  max-width: 20ch;
}
.on-plum .outcome { color: var(--sky); }

/* ================================================================ COUNTIES */
/* Full-bleed alternating bands with the county name at display scale — not
   three identical cards. Each carries its own tone. */

.place {
  display: grid; grid-template-columns: 6fr 6fr; align-items: stretch;
  border-top: 1.5px solid var(--rule);
}
.place:last-of-type { border-bottom: 1.5px solid var(--rule); }
.place:nth-of-type(even) .place-media { order: -1; }
.place-body { padding: clamp(2.25rem,5vw,4rem) clamp(1.5rem,4vw,3.5rem); display: flex; flex-direction: column; justify-content: center; }
.place-body .h2 { color: var(--tone-ink); }
.place-body p { color: var(--ink-soft); margin-top: 1rem; max-width: 42ch; }
.place-body .more { margin-top: 1.6rem; align-self: flex-start; }
.place-media { position: relative; min-height: 340px; overflow: hidden; background: var(--tone); }
.place-media img, .place-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place-media .slot {
  position: absolute; inset: 0; display: grid; place-content: center; gap: .3rem; text-align: center;
  color: var(--tone-on); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.place-media .slot small { font-size: .72rem; font-weight: 400; letter-spacing: .02em; text-transform: none; opacity: .8; }

/* ================================================================= LEDGER */
/* Economic impact as an actual ledger. Tabular figures, ruled rows, no cards. */

.ledger { width: 100%; border-collapse: collapse; margin-top: clamp(2rem,4vw,3rem); }
.ledger caption { text-align: left; font-size: .8rem; color: var(--ink-soft); padding-bottom: 1rem; }
.ledger th { text-align: left; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: .9rem; border-bottom: 1.5px solid var(--rule); }
.ledger td { padding-block: clamp(1.25rem,2.5vw,1.9rem); border-bottom: 1.5px solid var(--rule-soft); vertical-align: top; }
.ledger .amt {
  font-family: var(--serif);
  font-variation-settings: "opsz" 120, "SOFT" 100, "WONK" 1;
  font-weight: 600; font-size: clamp(2rem,4vw,3.2rem); line-height: .9;
  letter-spacing: -.045em; color: var(--tone-ink); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ledger .amt sup { font-size: .34em; vertical-align: super; }
.ledger .what { font-family: var(--serif); font-variation-settings: "opsz" 40,"SOFT" 100,"WONK" 1; font-weight: 600; font-size: 1.1rem; letter-spacing: -.016em; }
.ledger .why { color: var(--ink-soft); font-size: .92rem; margin-top: .4rem; max-width: 46ch; }
.ledger tr:last-child td { border-bottom: 1.5px solid var(--rule); }

/* ================================================================== PRESS */
/* A ruled list with the outlet hanging in the margin. No image cards. */

.clips { margin-top: clamp(2rem,4vw,3rem); }
.clip {
  display: grid; grid-template-columns: 11rem 1fr auto;
  gap: 0 clamp(1.25rem,3vw,2.5rem); align-items: baseline;
  padding-block: clamp(1.4rem,2.6vw,2rem);
  border-top: 1.5px solid var(--rule);
  transition: background .25s var(--ease);
}
.clips .clip:last-child { border-bottom: 1.5px solid var(--rule); }
.clip:hover { background: rgba(142,184,224,.09); }
.clip-src { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tone-ink); }
.clip-t { font-family: var(--serif); font-variation-settings: "opsz" 60,"SOFT" 100,"WONK" 1; font-weight: 600; font-size: clamp(1.15rem,2vw,1.5rem); letter-spacing: -.022em; line-height: 1.2; }
.clip-go { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.clip:hover .clip-go { color: var(--plum); }

/* ==================================================================== FAQ */

.qa { margin-top: clamp(2rem,4vw,3rem); }
.qa details { border-top: 1.5px solid var(--rule); }
.qa details:last-of-type { border-bottom: 1.5px solid var(--rule); }
.qa summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 2.5rem; align-items: center; gap: 1rem;
  padding-block: clamp(1.2rem,2.4vw,1.8rem); min-height: 44px;
  font-family: var(--serif); font-variation-settings: "opsz" 60,"SOFT" 100,"WONK" 1;
  font-weight: 600; font-size: clamp(1.1rem,1.9vw,1.4rem); letter-spacing: -.02em; line-height: 1.25;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { justify-self: end; width: 22px; height: 22px; position: relative; }
.qa summary span::before, .qa summary span::after {
  content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px; background: var(--plum);
  transition: transform .3s var(--ease-out), opacity .2s var(--ease);
}
.qa summary span::after { transform: rotate(90deg); }
.qa details[open] summary span::after { transform: rotate(0deg); opacity: 0; }
.qa details[open] summary { color: var(--plum); }
.qa .a { padding-bottom: clamp(1.2rem,2.4vw,1.8rem); color: var(--ink-soft); max-width: 62ch; }

/* ================================================================= INVITE */
/* The closing invitation. PETAL CORNER, USE 2 OF 2. */

.invite {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--plum); color: var(--cream);
  border-radius: var(--petal);
  padding: clamp(2.75rem,6vw,5rem) clamp(1.75rem,5vw,4.5rem);
}
.invite .h1 { max-width: 16ch; }
.invite .body { margin-top: 1.4rem; max-width: 48ch; }

/* ============================================================= NEWSLETTER */
/* Not a card. A ruled line, a label, an input. Sits above the footer on every
   page, as specified on the Aug 31 call. */

.signup { border-top: 1.5px solid var(--rule); background: var(--cream); }
.signup .wrap { padding-block: clamp(2.25rem,4vw,3.25rem); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.signup h2 { font-family: var(--serif); font-variation-settings: "opsz" 60,"SOFT" 100,"WONK" 1; font-weight: 600; font-size: clamp(1.4rem,2.4vw,1.95rem); letter-spacing: -.026em; line-height: 1.1; }
.signup p { color: var(--ink-soft); font-size: .92rem; margin-top: .5rem; max-width: 40ch; }
.signup form { display: flex; gap: 0; align-items: stretch; max-width: 34rem; margin-left: auto; width: 100%; }
.signup input {
  flex: 1 1 auto; min-width: 0;
  font-size: 1rem;               /* >=16px: stops iOS zooming */
  padding: .95rem 1.1rem;
  background: transparent;
  border: 1.5px solid var(--rule); border-right: 0;
  transition: border-color .2s var(--ease);
}
.signup input::placeholder { color: var(--ink-soft); opacity: .75; }
.signup input:focus { outline: none; border-color: var(--plum); }
.signup button { flex: none; border: 1.5px solid var(--plum); }

/* ================================================================= FOOTER */
/* Cream, not dark purple — the note was that the footer background is too
   heavy. Going light also solves the white-knockout logo: the real colour
   logo can be used as supplied, with no CSS filter faking a reversed asset. */

.foot { background: var(--paper); border-top: 1.5px solid var(--rule); }
.foot .wrap { padding-block: clamp(2.5rem,5vw,3.5rem) 1.5rem; }
.foot-top { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem,5vw,4rem); }
.foot-brand img { width: 178px; }
.foot-brand p { margin-top: 1.1rem; color: var(--ink-soft); font-size: .9rem; max-width: 30ch; }
.foot-social { display: flex; gap: .5rem; margin-top: 1.4rem; }
.foot-social a {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1.5px solid var(--rule); color: var(--plum);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.foot-social a:hover { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.foot-social svg { width: 17px; height: 17px; }

/* Three columns, three tones — no repeat. With three tones and four columns
   the fourth necessarily duplicated the first, which is what read as a bug. */
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem,3vw,2.5rem); }
.foot-cols h3 {
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tone-ink); padding-bottom: .7rem; margin-bottom: .5rem;
  border-bottom: 1.5px solid var(--rule);
}
.foot-cols a { display: block; padding: .38rem 0; min-height: 24px; font-size: .9rem; color: var(--ink-soft); transition: color .2s var(--ease), transform .2s var(--ease); }
.foot-cols a:hover { color: var(--tone-ink); transform: translateX(4px); }

.seals { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: clamp(2rem,4vw,3rem); padding-top: 1.5rem; border-top: 1.5px solid var(--rule); }
/* The Candid seal must be a real image. Placeholder is deliberately obvious. */
.seal-img { width: 92px; height: 92px; object-fit: contain; }
.seal-need {
  width: 92px; height: 92px; display: grid; place-content: center; text-align: center;
  border: 2px dashed var(--rule); color: var(--sky-ink);
  font-size: .62rem; font-weight: 600; letter-spacing: .06em; padding: .4rem; line-height: 1.3;
}
.seals p { font-size: .8rem; color: var(--ink-soft); max-width: 40ch; }

.foot-legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
  margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1.5px solid var(--rule-soft);
  font-size: .78rem; color: var(--ink-soft);
}
.foot-legal nav { display: flex; gap: 1.25rem; }
.foot-legal a { min-height: 24px; display: inline-flex; align-items: center; }
.foot-legal a:hover { color: var(--plum); }

.totop {
  position: fixed; right: clamp(1rem,3vw,2rem); bottom: clamp(1rem,3vw,2rem); z-index: 150;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--plum); color: var(--cream); border: 1.5px solid var(--plum);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background .2s var(--ease);
}
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--plum-deep); }
.totop svg { width: 18px; height: 18px; }

/* ============================================================ INNER PAGES */

.masth {
  position: relative; overflow: hidden;
  background: var(--plum); color: var(--cream);
  padding-block: clamp(3.5rem,7vw,6rem) clamp(2.5rem,5vw,4rem);
}
.masth::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--tone); z-index: 3; }
.masth .wrap { position: relative; z-index: 2; }
.masth .h1 { color: var(--cream); max-width: 16ch; }
.masth .body { margin-top: 1.3rem; color: rgba(252,241,212,.8); }
.crumbs { display: flex; gap: .6rem; align-items: center; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(252,241,212,.6); margin-bottom: 1.4rem; }
.crumbs a { color: var(--sky); min-height: 24px; display: inline-flex; align-items: center; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }

.roster { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem,3vw,2rem); margin-top: clamp(2rem,4vw,3rem); }
.roster figure { margin: 0; }
.roster .portrait { aspect-ratio: 3/4; border: 1.5px solid var(--rule); display: grid; place-content: center; text-align: center; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: rgba(142,184,224,.08); }
.roster figcaption { padding-top: .9rem; }
.roster h3 { font-family: var(--serif); font-variation-settings: "opsz" 40,"SOFT" 100,"WONK" 1; font-weight: 600; font-size: 1.1rem; letter-spacing: -.016em; }
.roster .role { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tone-ink); margin-top: .3rem; }

.logos { display: grid; grid-template-columns: repeat(4,1fr); gap: -1.5px; margin-top: clamp(2rem,4vw,3rem); border: 1.5px solid var(--rule); }
.logos div { aspect-ratio: 5/3; display: grid; place-content: center; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); outline: 1.5px solid var(--rule); outline-offset: 0; }

.facts { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.5rem,4vw,3rem); margin-top: clamp(2rem,4vw,3rem); }
.facts div { border-top: 4px solid var(--tone); padding-top: 1.1rem; }
.facts dt { font-family: var(--serif); font-variation-settings: "opsz" 120,"SOFT" 100,"WONK" 1; font-weight: 600; font-size: clamp(2.2rem,4vw,3.2rem); line-height: .92; letter-spacing: -.045em; color: var(--tone-ink); font-variant-numeric: tabular-nums; }
.facts dd { margin: .7rem 0 0; color: var(--ink-soft); font-size: .92rem; }

.slot-graphic {
  border: 2px dashed var(--rule); background: rgba(142,184,224,.07);
  display: grid; place-content: center; gap: .35rem; text-align: center; padding: 2rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sky-ink);
  aspect-ratio: 4/3;
}
.slot-graphic small { font-size: .74rem; font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--ink-soft); }
.slot-graphic.wide { aspect-ratio: 16/7; }
.on-plum .slot-graphic { border-color: var(--rule-dark); background: rgba(252,241,212,.05); color: var(--sky); }

/* Timeline — outlined display years, no dots, no cards, no rule. */
.history { max-width: 940px; margin-top: clamp(2rem,4vw,3rem); }
.history .row { display: grid; grid-template-columns: 5fr 7fr; gap: 0 clamp(1.5rem,4vw,3.5rem); padding-block: clamp(1.5rem,3vw,2.2rem); border-top: 1.5px solid var(--rule); align-items: start; }
.history .row:last-child { border-bottom: 1.5px solid var(--rule); }
.history .yr {
  font-family: var(--serif); font-variation-settings: "opsz" 144,"SOFT" 100,"WONK" 1;
  font-weight: 600; font-size: clamp(3rem,7vw,5.5rem); line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 2px var(--tone-ink);
  font-variant-numeric: tabular-nums;
  transition: color .3s var(--ease);
}
.history .row:hover .yr { color: var(--tone-ink); -webkit-text-stroke: 0; }
.history .where { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--tone-ink); margin-bottom: .5rem; }
.history p { color: var(--ink-soft); font-size: .95rem; margin-top: .5rem; max-width: 50ch; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.form label { display: grid; gap: .45rem; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); min-width: 0; }
.form input, .form select, .form textarea {
  width: 100%; min-width: 0; font-size: 1rem; font-weight: 400;
  padding: .85rem 1rem; background: var(--paper);
  border: 1.5px solid var(--rule);
  transition: border-color .2s var(--ease);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--plum); }
.form textarea { resize: vertical; min-height: 8rem; }
.form .check { grid-auto-flow: column; justify-content: start; align-items: center; gap: .7rem; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .92rem; color: var(--ink-soft); }
.form .check input { width: 20px; height: 20px; accent-color: var(--plum); padding: 0; }
.form .btn { justify-self: start; }
.note { font-size: .8rem; color: var(--ink-soft); }

.meta-list { display: grid; gap: 1.5rem; margin-top: 2rem; padding-top: 1.75rem; border-top: 1.5px solid var(--rule); }
.meta-list dt { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--tone-ink); }
.meta-list dd { margin: .35rem 0 0; color: var(--ink-soft); }

.prose { max-width: var(--text); }
.prose h2 { font-family: var(--serif); font-variation-settings: "opsz" 60,"SOFT" 100,"WONK" 1; font-weight: 600; font-size: 1.7rem; letter-spacing: -.026em; margin-bottom: 1rem; }
.prose h3 { margin: 2rem 0 .5rem; }
.prose p { color: var(--ink-soft); margin-bottom: 1rem; }

/* Tiers (donate) */
.tiers { display: grid; grid-template-columns: repeat(3,1fr); margin-top: clamp(2rem,4vw,3rem); border: 1.5px solid var(--rule); }
.tiers div { padding: clamp(1.6rem,3vw,2.2rem); }
.tiers div + div { border-left: 1.5px solid var(--rule); }
.tiers dt { font-family: var(--serif); font-variation-settings: "opsz" 120,"SOFT" 100,"WONK" 1; font-weight: 600; font-size: clamp(2rem,3.6vw,2.8rem); line-height: .9; letter-spacing: -.045em; color: var(--tone-ink); font-variant-numeric: tabular-nums; }
.tiers dd { margin: .8rem 0 0; color: var(--ink-soft); font-size: .92rem; }

/* ================================================================ ROUTING */

.page { display: none; }
.page.active { display: block; animation: pageIn .35s var(--ease-out) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ================================================================= MOTION */
/* Only transform and opacity animate. Properties are listed explicitly —
   never `transition: all`. Resting state is visible: if the script never runs,
   nothing stays hidden. */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.stagger { opacity: 1; transform: none; }
.js .reveal.stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: var(--d,0ms); }
.js .reveal.stagger.in > * { opacity: 1; transform: none; }

/* The one orchestrated moment: the hero load. */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-tag   { animation: rise .7s var(--ease-out) .06s both; }
.hero .display { animation: rise .9s var(--ease-out) .16s both; }
.hero .body { animation: rise .8s var(--ease-out) .3s both; }
.hero .actions { animation: rise .8s var(--ease-out) .42s both; }
.figures    { animation: rise .9s var(--ease-out) .54s both; }

/* ============================================================= RESPONSIVE */

@media (max-width: 1180px) {
  .navlink { padding: .5rem .55rem; font-size: .82rem; }
  .roster { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .burger { display: block; }
  .site-nav {
    position: fixed; inset: 84px 0 auto; z-index: 190; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1.5px solid var(--rule);
    padding: 1rem var(--pad) 2rem; max-height: calc(100dvh - 84px); overflow-y: auto;
  }
  .site-nav.open { display: flex; }
  .navlink { padding: .95rem .25rem; font-size: 1rem; justify-content: space-between; }
  .navlink::after { display: none; }
  .group { width: 100%; }
  .menu { position: static; opacity: 1; visibility: visible; transform: none; display: none;
    box-shadow: none; border: 0; border-left: 1.5px solid var(--rule); margin: 0 0 .75rem .25rem; min-width: 0; }
  .group.open .menu { display: block; }
  .site-nav .btn { margin-top: 1rem; justify-content: center; }

  .split-57, .split-75, .split-48, .entry-b, .signup .wrap, .foot-top,
  .place, .history .row { grid-template-columns: 1fr; }
  .place:nth-of-type(even) .place-media { order: 0; }
  .place-media { min-height: 260px; }
  .history .row { gap: .6rem; }
  .clip { grid-template-columns: 1fr; gap: .4rem; }
  .clip-go { display: none; }
  .facts, .tiers, .logos { grid-template-columns: repeat(2,1fr); }
  .tiers div + div { border-left: 0; border-top: 1.5px solid var(--rule); }
  .signup form { margin-left: 0; }
  .foot-cols { grid-template-columns: repeat(2,1fr); }
  .util .wrap b { display: none; }
  .util .wrap { justify-content: center; gap: 1.5rem; }
}

@media (max-width: 640px) {
  .figures { grid-template-columns: 1fr; border-radius: 34px 4px 34px 4px; }
  .figures > div + div { border-left: 0; border-top: 1.5px solid rgba(252,241,212,.2); }
  .entry { grid-template-columns: 3rem 1fr; }
  .roster, .facts, .tiers, .logos, .foot-cols { grid-template-columns: 1fr; }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; width: 100%; }
  .ledger thead { display: none; }
  .ledger td { border-bottom: 0; padding-block: .3rem; }
  .ledger tr { border-bottom: 1.5px solid var(--rule); padding-block: 1.4rem; display: block; }
  .invite { border-radius: 34px 4px 34px 4px; }
  .foot-legal { flex-direction: column; }
  .signup form { flex-direction: column; }
  .signup input { border-right: 1.5px solid var(--rule); }
  .signup button { min-height: 48px; justify-content: center; }
  .util { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .js .reveal, .js .reveal.stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ====================================================== v12 — OPEN FIELD
   Keep the field-guide intelligence, but make the homepage feel like a
   contemporary digital experience: imagery first, fewer typographic gestures,
   clearer rhythm, and one visual system joining the three programmes. */

body::before { opacity: .14; }

.page[data-page="home"] .band .h1,
.page[data-page="home"] .entry .h3,
.page[data-page="home"] .clip-t,
.page[data-page="home"] .qa summary {
  font-family: var(--sans);
  font-variation-settings: normal;
  font-weight: 500;
  letter-spacing: -.045em;
}

.hero {
  min-height: calc(100svh - 124px);
  display: flex;
  align-items: flex-end;
  background: var(--plum-deep);
}
.hero-film video { position: absolute; inset: 0; }
.hero::after {
  background:
    linear-gradient(90deg, rgba(38,13,36,.9) 0%, rgba(50,18,48,.62) 43%, rgba(40,14,38,.15) 78%),
    linear-gradient(0deg, rgba(28,10,27,.82) 0%, transparent 58%);
}
.hero .wrap { width: 100%; }
.hero-body { padding-block: clamp(6rem,12vw,10rem) clamp(2.5rem,5vw,4.5rem); max-width: 66rem; }
.hero .display { color: var(--cream); font-size: clamp(3.6rem,7.7vw,7.2rem); line-height: .9; max-width: 11ch; }
.hero .body { color: rgba(252,241,212,.82); max-width: 48ch; }
.hero-tag { color: var(--sky); }
.hero .btn { background: var(--sky); border-color: var(--sky); color: var(--plum-deep); }
.hero .btn:hover { background: var(--cream); border-color: var(--cream); }
.hero .btn-ghost { background: transparent; border-color: rgba(252,241,212,.55); color: var(--cream); }
.hero .btn-ghost:hover { background: var(--cream); border-color: var(--cream); color: var(--plum); }
.film-control {
  position: absolute; z-index: 4; right: var(--pad); top: 1.25rem;
  min-height: 42px; padding: .35rem .4rem .35rem .9rem;
  display: inline-flex; align-items: center; gap: .7rem;
  color: var(--cream); border: 1px solid rgba(252,241,212,.48);
  background: rgba(38,13,36,.28); backdrop-filter: blur(10px);
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.film-control:hover { background: rgba(38,13,36,.72); transform: translateY(-2px); }
.film-control b { width: 29px; height: 29px; display: grid; place-items: center; background: var(--cream); color: var(--plum); font-size: .68rem; }
.figures { background: rgba(59,23,57,.94); backdrop-filter: blur(12px); }
.figures dt { font-family: var(--sans); font-weight: 500; letter-spacing: -.07em; }

.model-band { padding-block: clamp(5.5rem,11vw,10rem); }
.model-intro { align-items: end; }
.model-intro .h1 { max-width: 13ch; }
.model-flow { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(2rem,5vw,5rem); align-items: stretch; margin-top: clamp(3rem,6vw,5rem); }
.model-flow .entries { margin-top: 0; }
.model-flow .entry:first-child { border-top: 0; padding-top: 0; }
.model-flow .entry { position: relative; transition: transform .3s var(--ease-out); }
.model-flow .entry:hover { transform: translateX(.55rem); }
.model-flow .entry-n { font-family: var(--sans); font-size: 1rem; letter-spacing: .08em; padding-top: .35rem; }
.model-result {
  min-height: 100%; background: var(--sky); color: var(--plum-deep);
  padding: clamp(2rem,4vw,3.5rem); display: flex; flex-direction: column; justify-content: space-between;
}
.model-result span { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.model-result p {
  font-family: var(--serif); font-variation-settings: "opsz" 80,"SOFT" 100,"WONK" 1;
  font-size: clamp(2.2rem,4vw,4rem); font-weight: 600; line-height: .95; letter-spacing: -.045em;
}
.model-band > .wrap > .split-57:last-child { border-top: 1.5px solid var(--rule); padding-top: clamp(2.5rem,5vw,4rem); }

.places-band > .wrap:first-of-type { padding-bottom: clamp(2rem,4vw,3.5rem); }
.places-band > .wrap:last-of-type { max-width: none; padding-inline: 0; margin-top: 0 !important; }
.place { grid-template-columns: 5fr 7fr; border: 0; min-height: min(66vw,680px); }
.place:last-of-type { border-bottom: 0; }
.place-body { padding-inline: clamp(2rem,8vw,8rem); background: var(--paper); }
.place:nth-of-type(even) .place-body { background: var(--cream); }
.place-body .h2 { font-family: var(--sans); font-variation-settings: normal; font-weight: 500; letter-spacing: -.055em; }
.place-media { min-height: 480px; }
.place-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, color-mix(in srgb, var(--tone) 30%, transparent), transparent 55%); }
.place-media img { filter: saturate(.72) contrast(.96); transform: scale(1.015); transition: transform .7s var(--ease-out), filter .5s var(--ease); }
.place:hover .place-media img { transform: scale(1.045); filter: saturate(.95) contrast(1); }
.media-note { position: absolute; z-index: 2; left: 1.2rem; bottom: 1.2rem; padding: .45rem .7rem; background: rgba(59,23,57,.78); color: var(--cream); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }

.page[data-page="home"] .ledger .what { font-family: var(--sans); font-variation-settings: normal; font-weight: 500; }
.page[data-page="home"] .ledger .amt { font-family: var(--sans); font-weight: 500; }
.page[data-page="home"] .clip { transition: transform .3s var(--ease-out), background .25s var(--ease); }
.page[data-page="home"] .clip:hover { transform: translateX(.5rem); }
.page[data-page="home"] .qa summary { font-size: clamp(1.15rem,1.9vw,1.45rem); }
.signup h2 { font-family: var(--sans); font-variation-settings: normal; font-weight: 500; letter-spacing: -.035em; }

/* One navigation layer, not a utility bar stacked on a corporate header. */
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--plum); }
.brand img,
body.scrolled .brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span { font-size: .92rem; font-weight: 600; letter-spacing: -.015em; white-space: nowrap; }
.masthead .wrap { position: relative; z-index: 1; min-height: 76px; }
body.scrolled .masthead .wrap { min-height: 68px; }
.site-nav { gap: clamp(.05rem,.5vw,.35rem); }
.navlink { padding-inline: clamp(.55rem,1vw,.85rem); font-size: .82rem; font-weight: 600; }
.navlink::after { bottom: .8rem; }
.site-nav > .btn-give {
  min-height: 42px; padding: .65rem 1.35rem; margin-left: .45rem;
  border-radius: 999px; box-shadow: 0 9px 25px -17px rgba(28,10,27,.8);
}
.menu {
  top: calc(100% - 2px); min-width: 320px; padding: .7rem;
  border: 0; border-top: 2px solid var(--sky);
  background: rgba(255,253,246,.98);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 22px 44px -24px rgba(59,23,57,.45);
}
.menu a { padding: .75rem .85rem; }
.menu a + a { border-top: 1px solid var(--rule-soft); }
.group:has([aria-current="page"]) > .navlink { color: var(--plum); }
.group:has([aria-current="page"]) > .navlink::after { transform: scaleX(1); }

.route-home .util { display: none; }
.route-home .masthead {
  position: fixed; inset: 0 0 auto; width: 100%;
  background: transparent; border-bottom-color: transparent;
}
.route-home:not(.scrolled) .masthead::before {
  content: ""; position: absolute; inset: 0 0 -44px; pointer-events: none;
  background: linear-gradient(180deg, rgba(28,10,27,.58) 0%, rgba(28,10,27,.25) 58%, transparent 100%);
}
.route-home:not(.scrolled) .masthead .wrap { min-height: 92px; }
.route-home:not(.scrolled) .brand { color: var(--cream); }
.route-home:not(.scrolled) .brand img { width: 52px; height: 52px; }
.route-home:not(.scrolled) .navlink { color: rgba(252,241,212,.94); text-shadow: 0 1px 18px rgba(28,10,27,.42); }
.route-home:not(.scrolled) .navlink:hover,
.route-home:not(.scrolled) .navlink.open,
.route-home:not(.scrolled) .navlink[aria-current] { color: var(--cream); }
.route-home:not(.scrolled) .navlink::after { background: var(--sky); }
.route-home:not(.scrolled) .navlink .caret { opacity: .78; }
.route-home:not(.scrolled) .group:has([aria-current="page"]) > .navlink { color: var(--cream); }
.route-home:not(.scrolled) .btn-give { background: var(--sky); border-color: var(--sky); color: var(--plum-deep); }
.route-home.scrolled .masthead {
  background: rgba(252,241,212,.96); border-bottom-color: var(--rule);
  backdrop-filter: blur(16px) saturate(1.25);
}
.route-home .hero { min-height: 100svh; }

@media (min-width: 921px) {
  .site-nav > .group:nth-of-type(3) .menu,
  .site-nav > .group:nth-of-type(4) .menu { left: auto; right: 0; }
}

@media (max-width: 920px) {
  .hero { min-height: calc(100svh - 84px); }
  .hero .display { font-size: clamp(3.25rem,13vw,5.75rem); }
  .model-flow { grid-template-columns: 1fr; }
  .model-result { min-height: 360px; }
  .place { grid-template-columns: 1fr; min-height: auto; }
  .place:nth-of-type(even) .place-media { order: 0; }
  .place-media { min-height: 58vw; }
  .brand span { font-size: .86rem; }
  .route-home:not(.scrolled) .burger i { background: var(--cream); }
  .site-nav { top: 76px; }
  body.scrolled .site-nav { top: 68px; }
  .route-home:not(.scrolled) .site-nav.open { top: 92px; }
  .route-home .site-nav.open { background: rgba(255,253,246,.98); backdrop-filter: blur(18px) saturate(1.2); }
  .route-home .site-nav.open .navlink { color: var(--ink-soft); }
  .route-home .site-nav.open .btn-give { color: var(--plum-deep); }
  .site-nav > .btn-give { margin-left: 0; }
}

@media (max-width: 640px) {
  .hero { min-height: 760px; }
  .hero-body { padding-top: 7.5rem; }
  .hero .display { font-size: clamp(3.15rem,15vw,4.7rem); }
  .film-control { top: .85rem; right: 1.25rem; }
  .film-control span { display: none; }
  .model-result { min-height: 300px; }
  .place-media { min-height: 78vw; }
  .media-note { right: 1rem; line-height: 1.35; }
}

@media print {
  .masthead, .util, .totop, .site-nav, .signup { display: none; }
  .page { display: block !important; }
}

/* ===================================================== v15 — CLEAR FAMILIES
   A boxed navigation frame, a cleaner home-page story, and a distinct visual
   grammar for About, Programmes, Places, and Impact. */

/* Navigation: return to the calm cream box while keeping only one header. */
.util { display: none !important; }
.masthead,
.route-home .masthead,
.route-home.scrolled .masthead,
.route-home:not(.scrolled) .masthead {
  position: sticky; inset: auto; top: 0; width: 100%;
  background: rgba(252,241,212,.97); color: var(--plum);
  border-top: 4px solid var(--plum); border-bottom: 1.5px solid var(--rule);
  backdrop-filter: blur(16px) saturate(1.15);
}
.route-home:not(.scrolled) .masthead::before { display: none; }
.masthead .wrap,
.route-home:not(.scrolled) .masthead .wrap,
body.scrolled .masthead .wrap { min-height: 78px; }
.brand img,
body.scrolled .brand img,
.route-home:not(.scrolled) .brand img { width: 172px; height: auto; }
.route-home:not(.scrolled) .brand { color: var(--plum); }
.route-home:not(.scrolled) .navlink,
.route-home:not(.scrolled) .navlink:hover,
.route-home:not(.scrolled) .navlink.open,
.route-home:not(.scrolled) .navlink[aria-current] {
  color: var(--ink-soft); text-shadow: none;
}
.route-home:not(.scrolled) .navlink:hover,
.route-home:not(.scrolled) .navlink.open { color: var(--plum); }
.route-home:not(.scrolled) .navlink::after { background: var(--plum); }
.site-nav > .btn-give,
.route-home:not(.scrolled) .btn-give {
  border-radius: 999px; background: var(--sky); border-color: var(--sky); color: var(--plum-deep);
}
.nav-locked .group .menu { opacity: 0 !important; visibility: hidden !important; transform: translateY(8px) !important; pointer-events: none; }

/* Softer actions replace the hard rectangular controls. */
.btn { border-radius: 999px; padding-inline: 1.8rem; }
.film-control, .film-control b { border-radius: 999px; }
.film-control b { flex: none; }

/* The number remains on the film; the plum rail begins between number and copy. */
.route-home .hero { min-height: calc(100svh - 82px); }
.figures {
  isolation: isolate; overflow: visible; background: transparent; border-radius: 0;
}
.figures::before {
  content: ""; position: absolute; z-index: -1; inset: 42% 0 0;
  border-radius: var(--petal); background: rgba(59,23,57,.96); backdrop-filter: blur(12px);
}
.figures > div { position: relative; }
.figures > div + div { border-left-color: rgba(252,241,212,.18); }
.figures dt { text-shadow: 0 2px 24px rgba(28,10,27,.55); }
.figures dd { min-height: 2.8em; }

/* Model: one readable sequence and one integrated destination. */
.model-intro { align-items: start; }
.model-intro .h1 { max-width: 11ch; }
.model-flow { grid-template-columns: 1fr; gap: 0; }
.model-flow .entries { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1.5px solid var(--rule); }
.model-flow .entry { display: block; padding: 2rem clamp(1.25rem,2.5vw,2rem); border-top: 0; border-bottom: 0; }
.model-flow .entry + .entry { border-left: 1.5px solid var(--rule); }
.model-flow .entry-b { display: block; }
.model-flow .entry-b > div + div { margin-top: 1.2rem; }
.model-flow .entry-n { font-size: 1rem; margin-bottom: 1.6rem; }
.model-result {
  min-height: 0; display: grid; grid-template-columns: 2fr 5fr 5fr; gap: 1.5rem;
  align-items: center; padding: 1.7rem 2rem; background: var(--plum); color: var(--cream);
}
.model-result p { font-family: var(--sans); font-size: clamp(1.35rem,2.4vw,2rem); line-height: 1.08; color: var(--cream); }
.model-result small { color: rgba(252,241,212,.74); line-height: 1.55; }

/* Equal, shorter county bands on the homepage. */
.places-band .place { min-height: 0; height: 430px; }
.places-band .place-body { padding-block: 2.5rem; }
.places-band .place-media { min-height: 0; }
.places-band .place-media img { object-position: center center; }

/* Press becomes one feature with two supporting pieces, rather than a long ledger. */
.home-press .clips { display: grid; grid-template-columns: 7fr 5fr; gap: 1rem; }
.home-press .clip {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  gap: 1.2rem; min-height: 180px; padding: 1.5rem; border: 1.5px solid var(--rule);
  background: var(--cream);
}
.home-press .clip:first-child { grid-row: span 2; min-height: 376px; background: var(--plum); color: var(--cream); }
.home-press .clip:first-child .clip-src,
.home-press .clip:first-child .clip-go { color: var(--sky); }
.home-press .clip:first-child .clip-t { font-size: clamp(1.8rem,3.3vw,3rem); max-width: 15ch; }
.home-press .clip:hover { transform: translateY(-4px); background: var(--cream); }
.home-press .clip:first-child:hover { background: var(--plum-deep); }
#p-press .clips { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
#p-press .clip {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  gap: 1.2rem; min-height: 230px; padding: 1.6rem; border: 1.5px solid var(--rule); background: var(--paper);
}
#p-press .clip:first-child { grid-column: 1 / -1; min-height: 300px; background: var(--sky); }
#p-press .clip:first-child .clip-t { font-size: clamp(1.7rem,3vw,2.7rem); max-width: 22ch; }

/* Separate the closing invitation, newsletter, and footer into three clear tones. */
.closing-band { padding: 0; background: var(--paper); }
.closing-band > .wrap { max-width: none; padding: 0; }
.closing-band .invite { border-radius: 0; padding-inline: max(var(--pad),calc((100vw - var(--max))/2 + var(--pad))); }
.signup { background: var(--sky); border-top: 0; }
.signup input { background: rgba(255,253,246,.82); border-color: rgba(59,23,57,.38); }

/* ABOUT — light, open, institutional without feeling corporate. */
.family-about .masth { background: var(--cream); color: var(--plum); border-bottom: 6px solid var(--sky); }
.family-about .masth .h1 { color: var(--plum); max-width: 14ch; }
.family-about .masth .body { color: var(--ink-soft); }
.family-about .crumbs { color: var(--ink-soft); }
.family-about .crumbs a { color: var(--plum); }
.family-about .masth .botanical { color: var(--plum); opacity: .075; }
.family-about .masth::after { display: none; }
.family-about > .band:nth-of-type(even) { background: var(--paper); }

/* PROGRAMMES — a bolder working system with a numbered process rail. */
.family-program .masth {
  background: linear-gradient(125deg,var(--plum-deep) 0%,var(--plum) 63%,var(--tone) 180%);
  border-bottom: 6px solid var(--tone);
}
.family-program .masth::after { display: none; }
.program-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,4vw,4rem); align-items: center; }
.program-number {
  font-size: clamp(3rem,7vw,6rem); line-height: .8; color: transparent;
  -webkit-text-stroke: 2px var(--tone); font-weight: 600; letter-spacing: -.08em;
}
.program-copy .h1 { max-width: none; font-size:clamp(2rem,3.3vw,3rem); line-height:1.12; }
.program-copy > .body { margin-top: 1.4rem; color: var(--ink-soft); }
.program-rail { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 2rem; border-top: 1.5px solid var(--rule); }
.program-rail div { padding: 1rem .8rem 0 0; }
.program-rail dt { color: var(--tone-ink); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.program-rail dd { margin: .35rem 0 0; color: var(--ink-soft); font-size: .82rem; }

/* PLACES — each county opens as its own image-led landing page. */
.family-place .masth { min-height: min(62vh,620px); display: flex; align-items: flex-end; background-position: center; background-size: cover; }
.family-place .masth::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(38,13,36,.9),rgba(38,13,36,.22)); }
.family-place .masth::after { height: 7px; }
#p-sonoma .masth { background-image: url("assets/place-sonoma-placeholder.jpg"); }
#p-marin .masth { background-image: url("assets/place-marin.jpg"); }
#p-mendocino .masth { background-image: url("assets/place-mendocino.jpg"); }
.county-story { background: var(--paper); }
.county-intro { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem,5vw,5rem); align-items: end; }
.county-intro .h1 { max-width: 10ch; }
.county-grid { display: grid; grid-template-columns: repeat(12,1fr); margin-top: 3rem; border: 1.5px solid var(--rule); }
.county-grid > * { margin: 0; padding: clamp(1.5rem,3vw,2.5rem); min-width: 0; }
.county-image { grid-column: span 7; grid-row: span 2; position: relative; min-height: 520px; padding: 0; overflow: hidden; }
.county-image img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.county-image figcaption { position:absolute; left:1rem; bottom:1rem; padding:.5rem .7rem; background:rgba(59,23,57,.8); color:var(--cream); font-size:.62rem; letter-spacing:.08em; text-transform:uppercase; }
.county-focus { grid-column: span 5; background: var(--tone); color: var(--tone-on); }
.county-context, .county-boundary { grid-column: span 5; border-top: 1.5px solid var(--rule); }
.county-grid article span { font-size:.68rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; opacity:.78; }
.county-grid article h3 { font-family:var(--sans); font-size:clamp(1.3rem,2.2vw,2rem); line-height:1.1; margin-top:1rem; }
.county-grid article p { margin-top:.8rem; font-size:.9rem; line-height:1.6; }

/* IMPACT — data-forward and immediately distinguishable from programme pages. */
.family-impact .masth { background: var(--sky); color: var(--plum-deep); }
.family-impact .masth .h1 { color: var(--plum-deep); }
.family-impact .masth .body { color: rgba(42,26,41,.72); }
.family-impact .crumbs { color: rgba(42,26,41,.62); }
.family-impact .crumbs a { color: var(--plum); }
.family-impact .masth .botanical { color: var(--plum); opacity: .08; }
.family-impact .masth::after { background: var(--plum); }
.family-impact .facts { padding: 2rem; background: var(--paper); border: 1.5px solid var(--rule); }
.family-impact .ledger { background: var(--paper); }
.family-impact .ledger th, .family-impact .ledger td { padding-inline: 1.25rem; }

@media (max-width: 920px) {
  .route-home:not(.scrolled) .burger i { background: var(--plum); }
  .site-nav, body.scrolled .site-nav, .route-home:not(.scrolled) .site-nav.open { top: 82px; }
  .model-flow .entries { grid-template-columns: 1fr; }
  .model-flow .entry + .entry { border-left: 0; border-top: 1.5px solid var(--rule); }
  .model-result { grid-template-columns: 1fr; }
  .places-band .place { height: auto; }
  .places-band .place-media { min-height: 320px; }
  .home-press .clips { grid-template-columns: 1fr; }
  .home-press .clip:first-child { grid-row: auto; min-height: 300px; }
  #p-press .clips { grid-template-columns: 1fr; }
  #p-press .clip:first-child { grid-column: auto; }
  .program-layout { grid-template-columns: 1fr; }
  .program-number { font-size: 3.5rem; }
  .county-intro { grid-template-columns: 1fr; }
  .county-image, .county-focus, .county-context, .county-boundary { grid-column: 1 / -1; }
  .county-image { min-height: 440px; }
}

@media (max-width: 640px) {
  .masthead .wrap, .route-home:not(.scrolled) .masthead .wrap, body.scrolled .masthead .wrap { min-height: 72px; }
  .brand img, body.scrolled .brand img, .route-home:not(.scrolled) .brand img { width: 148px; }
  .site-nav, body.scrolled .site-nav, .route-home:not(.scrolled) .site-nav.open { top: 76px; }
  .route-home .hero { min-height: 720px; }
  .figures::before { inset-block-start: 28%; }
  .program-rail { grid-template-columns: 1fr; gap: .8rem; }
  .family-place .masth { min-height: 500px; }
  .county-image { min-height: 320px; }
}

/* v16 — hero/stat transition correction.
   The stats remain a complete plum panel. The following cream field rises
   behind its lower half, so the panel visibly bridges film and content. */
.route-home .hero::before {
  content: ""; position: absolute; z-index: 2; inset: auto 0 0;
  height: clamp(5.75rem,8.5vw,7rem); background: var(--cream); pointer-events: none;
}
.route-home .figures {
  z-index: 3; overflow: hidden; background: rgba(59,23,57,.96);
  border-radius: var(--petal); backdrop-filter: blur(12px);
}
.route-home .figures::before { display: none; }
.route-home .figures dt { text-shadow: none; }

@media (max-width: 640px) {
  .route-home .hero::before { height: 13rem; }
}

/* v31 — Sept. 4 refinement pass */
.hero-film video {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroVideoSettle 1.1s var(--ease-out) both;
}
@keyframes heroVideoSettle {
  from { opacity: .25; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}
.route-home .hero-body { padding-bottom: clamp(3rem,6vw,5rem); }
.route-home .figures { transform: translateY(clamp(.75rem,1.6vw,1.5rem)); }
.route-home .film-control { top: 7rem; }

.home-section-intro {
  display: grid; grid-template-columns: minmax(0,7fr) minmax(18rem,5fr);
  gap: clamp(2rem,6vw,6rem); align-items: end;
}
.home-section-intro .h1 { max-width: 12ch; }
.home-programs { margin-top: clamp(2.5rem,5vw,4.5rem); border-top: 1.5px solid var(--rule); }
.home-program {
  display: grid; grid-template-columns: minmax(0,7fr) minmax(18rem,5fr);
  min-height: clamp(280px,34vw,430px); border-bottom: 1.5px solid var(--rule);
}
.home-program:nth-child(even) { grid-template-columns: minmax(18rem,5fr) minmax(0,7fr); }
.home-program:nth-child(even) .home-program-media { order: 2; }
.home-program-media { position: relative; overflow: hidden; background: var(--tone); margin: 0; }
.home-program-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.home-program:hover .home-program-media img { transform: scale(1.025); }
.home-program-media.program-illustration { background: #fff; }
.home-program-media.program-illustration img {
  object-fit: contain;
  padding: clamp(1rem,3vw,2.5rem);
}
.home-program-media figcaption {
  position: absolute; left: 1rem; bottom: 1rem; padding: .35rem .6rem;
  color: var(--cream); background: rgba(38,13,36,.68); font-size: .62rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.home-program-copy { padding: clamp(2rem,5vw,4rem); display: flex; flex-direction: column; justify-content: center; }
.home-program-copy .h2 { color: var(--tone-ink); }
.home-program-copy > p:not(.label) { margin-top: 1rem; color: var(--ink-soft); max-width: 42ch; }
.home-program-copy .more { align-self: flex-start; margin-top: 1.5rem; }
.home-programs-band > .wrap > .actions { margin-top: 2rem; }

.impact-paths { margin-top: clamp(2.5rem,5vw,4rem); border-top: 1.5px solid var(--rule); }
.impact-path {
  display: grid; grid-template-columns: 4.5rem 1fr auto; gap: clamp(1rem,3vw,2.5rem);
  align-items: center; min-height: 128px; padding: 1.4rem 0; border-bottom: 1.5px solid var(--rule);
  transition: padding .25s var(--ease-out), background .25s var(--ease);
}
.impact-path:hover { padding-inline: 1rem; background: color-mix(in srgb,var(--tone) 8%,transparent); }
.impact-path > .num { color: var(--tone-ink); font-size: 1rem; letter-spacing: .08em; }
.impact-path h3 { color: var(--tone-ink); font-family: var(--serif); font-size: clamp(1.45rem,2.6vw,2.2rem); line-height: 1.05; }
.impact-path p { margin-top: .45rem; color: var(--ink-soft); max-width: 62ch; }
.impact-path > svg { width: 25px; }

.team-card { min-width: 0; }
.team-card .portrait {
  aspect-ratio: 3/4; border: 1.5px solid var(--rule); display: grid; place-content: center;
  text-align: center; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); background: color-mix(in srgb,var(--tone) 9%,var(--paper));
}
.team-card-copy { padding-top: .9rem; }
.team-card h3 { font-family: var(--serif); font-size: 1.12rem; line-height: 1.1; }
.team-card .role { display: block; margin-top: .3rem; color: var(--tone-ink); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.team-bio { margin-top: .8rem; border-top: 1px solid var(--rule); }
.team-bio summary { padding: .7rem 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: .78rem; font-weight: 600; }
.team-bio summary::-webkit-details-marker { display: none; }
.team-bio summary span::before { content: "+"; }
.team-bio[open] summary span::before { content: "−"; }
.team-bio p { padding-bottom: .8rem; color: var(--ink-soft); font-size: .82rem; }
.career-layout { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem,6vw,6rem); align-items: start; }
.career-layout .body { margin-top: 1rem; }
.resume-drop { min-height: 260px; padding: clamp(1.5rem,3vw,2.5rem); border: 1.5px dashed var(--plum); background: var(--cream); display: grid; align-content: center; gap: 1rem; }
.resume-drop label { display: grid; gap: .25rem; }
.resume-drop label span { color: var(--ink-soft); font-size: .78rem; }
.resume-drop input { width: 100%; }
.resume-drop .btn:disabled { opacity: .5; cursor: not-allowed; }

.supporter-note { margin-top: 1rem; }
.supporter-grid { margin-top: clamp(2rem,4vw,3rem); display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1.5px solid var(--rule); }
.supporter-tile {
  position: relative; min-height: 140px; padding: 1.25rem; outline: 1px solid var(--rule);
  display: grid; place-items: center; align-content: center; gap: .55rem; text-align: center;
  background: rgba(255,255,255,.22); filter: grayscale(1);
}
.supporter-tile img { width: 100%; max-width: 180px; max-height: 72px; object-fit: contain; }
.supporter-tile img[src$="erich-and-hana-sachs-foundation.svg"] { filter: invert(1); }
.supporter-tile.has-logo { grid-template-rows: minmax(72px,auto) auto; }
.supporter-tile strong { font-size: .78rem; line-height: 1.35; }
.supporter-logo .logo-awaiting { color: var(--ink-soft); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; }
.supporter-name strong { font-family: var(--serif); font-size: 1rem; }
.founding-star { position: absolute; top: .7rem; right: .7rem; color: var(--plum); }

.resource-grid { margin-top: clamp(2rem,4vw,3rem); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.resource-card { border-top: 4px solid var(--tone); padding-top: 1rem; }
.resource-slot { min-height: 190px; padding: 1rem; display: grid; place-content: center; text-align: center; background: color-mix(in srgb,var(--tone) 10%,var(--paper)); color: var(--tone-ink); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.resource-slot small { margin-top: .35rem; color: var(--ink-soft); font-size: .62rem; }
.resource-card h3 { margin-top: 1rem; font-family: var(--serif); font-size: 1.5rem; }
.resource-card p { margin-top: .55rem; color: var(--ink-soft); }
.resource-card .more { margin-top: 1rem; }

/* v38 — full Resources media library. */
.resources-heading {
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem,6vw,6rem);
  align-items: end; margin-top: .7rem;
}
.resources-heading .body { color: var(--ink-soft); max-width: 42ch; }
.video-library {
  margin-top: clamp(2.5rem,5vw,4rem); display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.25rem,3vw,2.25rem);
}
.video-card { min-width: 0; border-top: 4px solid var(--tone); background: var(--paper); }
.video-frame { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--plum-deep); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-copy { padding: clamp(1.25rem,2.5vw,2rem); border: 1.5px solid var(--rule); border-top: 0; }
.video-copy > span {
  display: block; color: var(--tone-ink); font-size: .64rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.video-copy h3 { margin-top: .65rem; font-family: var(--serif); font-size: clamp(1.35rem,2.2vw,2rem); line-height: 1.05; }
.video-copy p { margin-top: .75rem; color: var(--ink-soft); max-width: 48ch; }
.video-copy .more { margin-top: 1.1rem; }
.media-gallery {
  margin-top: clamp(2.5rem,5vw,4rem); display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-flow: dense; gap: .75rem;
}
.media-gallery-item { position: relative; margin: 0; aspect-ratio: 4/3; overflow: hidden; background: var(--cream); }
.media-gallery-item:nth-child(1),
.media-gallery-item:nth-child(8),
.media-gallery-item:nth-child(13) { grid-column: span 2; grid-row: span 2; }
.media-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease-out); }
.media-gallery-item:hover img { transform: scale(1.035); }
.media-gallery-item figcaption {
  position: absolute; inset: auto .6rem .6rem; width: max-content; max-width: calc(100% - 1.2rem);
  padding: .35rem .55rem; color: var(--cream); background: rgba(38,13,36,.72);
  font-size: .58rem; letter-spacing: .05em; text-transform: uppercase;
}
.resources-press-link { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.resources-press-link .btn { flex: none; }

.county-assets { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem,5vw,4rem); }
.county-map-slot { aspect-ratio: 4/5; padding: 1.5rem; display: grid; place-content: center; text-align: center; border: 1.5px dashed var(--rule); color: var(--tone-ink); background: color-mix(in srgb,var(--tone) 8%,var(--paper)); }
.county-map-slot strong { font-size: .72rem; letter-spacing: .11em; }
.county-map-slot span { margin-top: .5rem; color: var(--ink-soft); font-size: .76rem; }
.county-testimonial {
  max-width: 980px;
  margin: clamp(2rem,5vw,4rem) auto 0;
  padding: clamp(2rem,5vw,4rem);
  border-top: 4px solid var(--sky);
  background: var(--plum-deep);
  color: var(--cream);
}
.county-testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(1.45rem,3vw,2.4rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.county-testimonial figcaption {
  margin-top: 1.25rem;
  color: var(--sky);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.program-detail-illustration {
  margin: 0;
  padding: clamp(1rem,3vw,2rem);
  border-style: solid;
  background: #fff;
  overflow: hidden;
}
.program-detail-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.county-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.county-gallery figure, .gallery-slot { margin: 0; aspect-ratio: 4/3; overflow: hidden; background: var(--cream); }
.county-gallery figure { position: relative; }
.county-gallery img { width: 100%; height: 100%; object-fit: cover; }
.county-gallery figcaption { position: absolute; left: .7rem; bottom: .7rem; padding: .3rem .5rem; color: var(--cream); background: rgba(38,13,36,.68); font-size: .58rem; text-transform: uppercase; }
.gallery-slot { display: grid; place-content: center; gap: .35rem; border: 1.5px dashed var(--rule); color: var(--ink-soft); font-size: .68rem; letter-spacing: .08em; text-align: center; }
.gallery-slot strong { color: var(--tone-ink); font-size: .64rem; letter-spacing: .14em; }
.gallery-slot span { max-width: 16ch; line-height: 1.45; }

.impact-data-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.impact-data-grid-two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.impact-data-slot { min-height: 220px; padding: 1.5rem; display: grid; place-content: center; border: 1.5px dashed var(--rule); color: var(--ink-soft); background: rgba(255,255,255,.22); font-size: .7rem; letter-spacing: .09em; text-align: center; }
.impact-proof-grid { margin-top: clamp(2rem,4vw,3rem); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1.5px solid var(--rule); }
.impact-proof-card { min-height: 260px; padding: clamp(1.5rem,4vw,3rem); outline: 1px solid var(--rule); }
.impact-proof-card > span { color: var(--tone-ink); font-size: .72rem; letter-spacing: .14em; }
.impact-proof-card > strong { display: block; margin-top: 2.5rem; color: var(--tone-ink); font-size: .72rem; letter-spacing: .1em; }
.impact-proof-card h2 { margin-top: .7rem; font-family: var(--serif); font-size: clamp(1.5rem,2.6vw,2.2rem); line-height: 1.05; }
.impact-proof-card p { margin-top: .8rem; color: var(--ink-soft); max-width: 42ch; }

@media (max-width: 920px) {
  .resources-heading { grid-template-columns: 1fr; gap: 1rem; }
  .media-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-section-intro, .career-layout, .county-assets { grid-template-columns: 1fr; }
  .home-program, .home-program:nth-child(even) { grid-template-columns: 1fr; min-height: 0; }
  .home-program:nth-child(even) .home-program-media { order: 0; }
  .home-program-media { min-height: 300px; }
  .supporter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .resource-grid, .impact-data-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .video-library { grid-template-columns: 1fr; }
  .media-gallery-item:nth-child(1),
  .media-gallery-item:nth-child(8),
  .media-gallery-item:nth-child(13) { grid-column: auto; grid-row: auto; }
  .resources-press-link { display: grid; align-items: start; }
  .route-home .figures { transform: none; }
  .route-home .film-control { top: 5.75rem; right: 1rem; }
  .home-program-media { min-height: 230px; }
  .home-program-copy { padding-inline: 1rem; }
  .impact-path { grid-template-columns: 2.5rem 1fr; }
  .impact-path > svg { display: none; }
  .supporter-grid, .county-gallery, .impact-proof-grid, .impact-data-grid-two { grid-template-columns: 1fr; }
  .supporter-tile { min-height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-film video { animation: none; }
}

/* v28 — About Us uses one consistent blue identity, with warm content rows. */
.family-about > .band,
.family-about > .band:nth-of-type(odd),
.family-about > .band:nth-of-type(even) { background: var(--paper); }

/* One recognizable header treatment across the complete About Us family. */
#p-mission .masth {
  background: var(--sky); color: var(--plum-deep); border-bottom-color: var(--plum);
}
#p-mission .masth .h1 { color: var(--plum-deep); }
#p-mission .masth .body { color: rgba(42,26,41,.74); }
#p-mission .crumbs { color: rgba(42,26,41,.58); }
#p-mission .crumbs a { color: var(--plum); }
#p-mission .masth .botanical { color: var(--plum); opacity: .075; }
#p-mission > .band:nth-of-type(odd) { background: var(--cream); }

/* The center rows stay warm, human and materially different from the header. */
#p-team .masth {
  background: var(--sky); color: var(--plum-deep); border-bottom-color: var(--plum);
}
#p-team .masth .h1 { color: var(--plum-deep); }
#p-team .masth .body { color: var(--ink-soft); }
#p-team .crumbs { color: rgba(42,26,41,.58); }
#p-team .crumbs a { color: var(--plum); }
#p-team .masth .botanical { color: var(--plum); opacity: .07; }
#p-team > .band,
#p-team > .band:nth-of-type(odd),
#p-team > .band:nth-of-type(even) { background: var(--paper); }
#p-team .roster .portrait { background: #F4ECDD; border-color: rgba(89,35,87,.24); }
#p-team .roster figure:nth-child(even) .portrait { background: rgba(107,128,131,.1); }

/* Supporters retains sage only inside the content system, not as a new header. */
#p-supporters .masth {
  background: var(--sky); color: var(--plum-deep); border-bottom-color: var(--plum);
}
#p-supporters .masth .h1 { color: var(--plum-deep); }
#p-supporters .masth .body { color: rgba(42,26,41,.74); }
#p-supporters .crumbs { color: rgba(42,26,41,.58); }
#p-supporters .crumbs a { color: var(--plum); }
#p-supporters .masth .botanical { color: var(--plum); opacity: .075; }
#p-supporters > .band { background: #F7F2E7; }
#p-supporters .logos div { background: rgba(255,253,246,.72); }

/* Press shares the blue header; plum gives the center rows their character. */
#p-press .masth {
  background: var(--sky); color: var(--plum-deep); border-bottom-color: var(--plum);
}
#p-press .masth .h1 { color: var(--plum-deep); }
#p-press .masth .body { color: var(--ink-soft); }
#p-press .crumbs { color: rgba(42,26,41,.58); }
#p-press .crumbs a { color: var(--plum); }
#p-press .masth .botanical { color: var(--plum); opacity: .07; }
#p-press > .band,
#p-press > .band:nth-of-type(odd),
#p-press > .band:nth-of-type(even) { background: var(--paper); }
#p-press .clip:first-child { background: var(--plum); color: var(--cream); }
#p-press .clip:first-child .clip-src,
#p-press .clip:first-child .clip-go { color: var(--cream); }
#p-press .clip:not(:first-child) { background: #FFF8E8; }

@media (max-width: 640px) {
  #p-mission .masth,
  #p-team .masth,
  #p-supporters .masth,
  #p-press .masth { background: var(--sky); }
}

/* v25 — requested navigation scale and new regional/report architecture. */
.masthead .wrap,
body.scrolled .masthead .wrap { min-height: 82px; }
.brand img,
body.scrolled .brand img,
body.route-home.scrolled .brand img { width: 50px; height: 50px; }
.brand span { font-size: 1rem; }
.site-nav .navlink { font-size: .9rem; padding-inline: clamp(.65rem,1.05vw,.95rem); }
.site-nav > .btn-give { min-height: 46px; padding-inline: 1.5rem; }
.menu strong { font-size: .94rem; }
.menu span { font-size: .8rem; }
body.route-home:not(.scrolled) .masthead .wrap { min-height: 98px; }
body.route-home:not(.scrolled) .brand img { width: 56px; height: 56px; }

.reports-heading {
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem,7vw,7rem);
  align-items: end; margin-top: 1rem;
}
.reports-heading .body { padding-bottom: .5rem; }
.report-downloads { margin-top: clamp(3rem,7vw,6rem); border-bottom: 1.5px solid var(--rule); }
.report-card {
  display: grid; grid-template-columns: minmax(150px,2fr) minmax(280px,6fr) auto;
  gap: clamp(1.5rem,4vw,4rem); align-items: center;
  padding: clamp(2rem,4vw,3.25rem) 0; border-top: 1.5px solid var(--rule);
  transition: padding .35s var(--ease-out), background .25s var(--ease);
}
.report-card:hover { padding-inline: clamp(1rem,2vw,2rem); background: color-mix(in srgb,var(--tone) 8%,transparent); }
.report-year {
  color: var(--tone-ink); font-family: var(--serif); font-size: clamp(3.5rem,7vw,6.5rem);
  line-height: .8; letter-spacing: -.075em;
}
.report-card span {
  display: block; color: var(--tone-ink); font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: .6rem;
}
.report-card h2 { font-size: clamp(1.45rem,2.5vw,2.1rem); line-height: 1.08; }
.report-card p:not(.report-year) { color: var(--ink-soft); margin-top: .65rem; max-width: 46ch; }
.report-card .btn { white-space: nowrap; border-color: var(--tone); color: var(--tone-ink); }

@media (max-width: 1100px) and (min-width: 921px) {
  .brand span { display: none; }
  .site-nav .navlink { font-size: .84rem; padding-inline: .55rem; }
}

@media (max-width: 920px) {
  .masthead .wrap,
  body.scrolled .masthead .wrap,
  body.route-home.scrolled .masthead .wrap { min-height: 78px; }
  .site-nav,
  body.scrolled .site-nav,
  body.route-home.scrolled .site-nav.open { top: 78px; }
  body.route-home:not(.scrolled) .site-nav.open { top: 98px; }
  .report-card { grid-template-columns: 135px 1fr; }
  .report-card .btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 640px) {
  .reports-heading { grid-template-columns: 1fr; }
  .report-card { grid-template-columns: 1fr; gap: 1rem; }
  .report-card .btn { grid-column: 1; }
}

/* v22 — remove decorative indexing, give the model its own voice, normalize
   county imagery, and keep the inner-page brand at navigation scale. */
.label .idx,
.entry-n,
.program-number { display: none; }
.entry { grid-template-columns: 1fr; }

body:not(.route-home) .masthead .brand img,
body:not(.route-home).scrolled .masthead .brand img {
  width: 46px; height: 46px; object-fit: contain;
}
body:not(.route-home) .masthead .brand { gap: .75rem; }
body:not(.route-home) .masthead .brand span { display: inline; }

.model-band { position: relative; overflow: hidden; background: var(--cream); }
.model-band .model-intro {
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem,6vw,6rem);
  align-items: end;
}
.model-band .model-intro .h1 {
  max-width: 11ch; font-family: var(--serif); font-variation-settings: "opsz" 100,"SOFT" 100,"WONK" 1;
  font-weight: 600; letter-spacing: -.05em; font-size: clamp(3rem,6vw,5.7rem); line-height: .92;
}
.model-band .model-intro .lede {
  font-family: var(--sans); font-size: clamp(1.25rem,2.2vw,1.75rem); line-height: 1.25;
  font-weight: 500; letter-spacing: -.035em; color: var(--plum); max-width: 22ch;
}
.model-band .model-flow {
  position: relative; overflow: hidden; display: block;
  margin-top: clamp(3rem,6vw,5rem); padding: clamp(1.5rem,4vw,3.5rem);
  background: var(--plum-deep); color: var(--cream);
}
.model-band .model-flow::before {
  content: "LOCAL"; position: absolute; right: -1.5rem; top: -4rem;
  font-family: var(--sans); font-size: clamp(8rem,22vw,20rem); font-weight: 600;
  line-height: 1; letter-spacing: -.09em; color: rgba(252,241,212,.035); pointer-events: none;
}
.model-band .model-flow .entries {
  position: relative; z-index: 1; display: block; width: min(100%,920px); margin: 0; border: 0;
}
.model-band .model-flow .entry {
  display: block; padding: clamp(1.6rem,3vw,2.4rem) 0;
  border: 0; border-top: 1px solid rgba(252,241,212,.24); color: var(--cream);
}
.model-band .model-flow .entry:last-child { border-bottom: 1px solid rgba(252,241,212,.24); }
.model-band .model-flow .entry + .entry { border-left: 0; }
.model-band .model-flow .entry-b {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem,5vw,5rem); align-items: start;
}
.model-band .model-flow .entry-b > div + div { margin-top: 0; }
.model-band .model-flow .entry-k { color: var(--sky); }
.model-band .model-flow .entry .h3 {
  color: var(--cream); font-family: var(--serif); font-size: clamp(1.65rem,3vw,2.7rem); line-height: 1;
}
.model-band .model-flow .entry-b p { color: rgba(252,241,212,.76); }
.model-band .model-flow .more { color: var(--sky); }
.model-band .model-result {
  position: relative; z-index: 1; display: grid; grid-template-columns: 2fr 5fr 5fr;
  gap: 1.5rem; align-items: center; margin-top: clamp(2rem,4vw,3rem);
  min-height: 0; padding: 1.7rem 2rem; background: var(--sky); color: var(--plum-deep);
}
.model-band .model-result p { color: var(--plum-deep); }
.model-band .model-result small { color: rgba(42,26,41,.72); }

.places-band .place { height: 420px; }
.places-band .place-media img,
.county-image img { object-position: center; filter: saturate(.8) contrast(.98); }
.places-band .place:hover .place-media img { filter: saturate(1) contrast(1); }

@media (max-width: 920px) {
  .model-band .model-intro { grid-template-columns: 1fr; align-items: start; }
  .model-band .model-flow .entry-b,
  .model-band .model-result { grid-template-columns: 1fr; }
  .places-band .place { height: auto; }
}

/* v23 — programme symbols, cooler About pages, and an impact direction lab. */
.family-program .masth .botanical { display: none; }
.program-symbol {
  position: absolute; right: clamp(2rem,8vw,8rem); top: 50%; z-index: 1;
  width: clamp(150px,22vw,290px); color: var(--sky); opacity: .34;
  transform: translateY(-50%);
}
.program-symbol svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.family-about .masth {
  background: var(--sky); color: var(--plum-deep); border-bottom-color: var(--plum);
}
.family-about .masth .h1 { color: var(--plum-deep); }
.family-about .masth .body { color: rgba(42,26,41,.74); }
.family-about .crumbs { color: rgba(42,26,41,.58); }
.family-about .crumbs a { color: var(--plum); }
.family-about .masth .botanical { color: var(--plum); opacity: .09; }
.family-about > .band,
.family-about > .band:nth-of-type(even) { background: var(--paper); }
.family-about > .band:nth-of-type(odd) { background: #EEF3F5; }

.impact-lab { background: #E9EEF1; padding: 1px 0 clamp(5rem,10vw,9rem); }
.variant-jump {
  position: sticky; top: 78px; z-index: 20; display: flex; gap: .5rem; overflow-x: auto;
  padding: .8rem var(--pad); background: rgba(255,253,246,.94); border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(14px);
}
.variant-jump span {
  flex: none; padding: .6rem .9rem; border: 1px solid var(--rule); border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.impact-option {
  width: min(calc(100% - 2 * var(--pad)),var(--max)); margin: clamp(3rem,7vw,6rem) auto 0;
  scroll-margin-top: 9rem; overflow: hidden;
}
.impact-option > header > span,
.option-place .place-proof > span {
  display: block; margin-bottom: 1.25rem; font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
}
.impact-option h2 { font-family: var(--serif); font-size: clamp(2.5rem,6vw,5.5rem); line-height: .92; letter-spacing: -.05em; }

.option-cascade { display: grid; grid-template-columns: 5fr 7fr; background: var(--paper); }
.option-cascade > header { padding: clamp(2rem,5vw,4rem); background: var(--plum); color: var(--cream); }
.option-cascade .cascade-list { padding: clamp(1.5rem,4vw,3rem); }
.cascade-list div { display:grid; grid-template-columns: 4fr 8fr; gap:1rem; padding:1.5rem 0; border-top:1px solid var(--rule); align-items:baseline; }
.cascade-list div:last-child { border-bottom:1px solid var(--rule); }
.cascade-list strong { font-size:clamp(2rem,4vw,3.5rem); color:var(--tone-ink); letter-spacing:-.06em; }
.cascade-list p { color:var(--ink-soft); }

.option-loop { padding: clamp(2rem,5vw,4rem); background: var(--cream); }
.option-loop > header { max-width: 760px; }
.loop-stage { position:relative; display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; align-items:center; margin-top:3rem; min-height:360px; }
.loop-stage::before { content:""; position:absolute; inset:12% 9%; border:2px solid var(--sky); border-radius:50%; }
.loop-stage > div { position:relative; z-index:1; display:grid; place-items:center; text-align:center; min-height:150px; padding:1rem; background:var(--paper); border:1px solid var(--rule); }
.loop-stage > div:nth-child(3) { align-self:start; }
.loop-stage > div:nth-child(4) { grid-column:3; }
.loop-stage strong { font-size:clamp(2rem,4vw,3.5rem); color:var(--plum); }
.loop-stage small { color:var(--ink-soft); }
.loop-stage .loop-center { position:absolute; left:50%; top:50%; width:190px; height:190px; min-height:0; transform:translate(-50%,-50%); border-radius:50%; background:var(--sky); border:0; color:var(--plum-deep); font-weight:600; }

.option-strata { padding: clamp(2rem,5vw,4rem); background: var(--sky); color: var(--plum-deep); }
.option-strata > header { display:grid; grid-template-columns:4fr 8fr; gap:2rem; align-items:end; }
.strata-bars { margin-top:3rem; }
.strata-bars div { width:var(--w); min-height:96px; display:grid; grid-template-columns:4fr 8fr; align-items:center; padding:1.2rem 1.5rem; background:var(--plum); color:var(--cream); border-bottom:1px solid rgba(252,241,212,.18); }
.strata-bars div:nth-child(2) { background:var(--sage); }
.strata-bars div:nth-child(3) { background:var(--paper); color:var(--plum); }
.strata-bars b { font-size:clamp(1.8rem,4vw,3.2rem); letter-spacing:-.05em; }

.option-place { display:grid; grid-template-columns:7fr 5fr; min-height:590px; background:var(--paper); }
.option-place .place-photo { position:relative; min-height:480px; }
.option-place .place-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.option-place .place-proof { padding:clamp(2rem,5vw,4rem); display:flex; flex-direction:column; justify-content:center; }
.option-place .place-proof p { margin-top:1.3rem; color:var(--ink-soft); }
.option-place dl { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin:2rem 0 0; }
.option-place dl div { border-top:4px solid var(--plum); padding-top:1rem; }
.option-place dt { font-size:clamp(2rem,4vw,3.3rem); font-weight:600; color:var(--plum); }
.option-place dd { margin:.3rem 0 0; font-size:.8rem; color:var(--ink-soft); }

.option-night { display:grid; grid-template-columns:5fr 7fr; background:var(--plum-deep); color:var(--cream); padding:clamp(2rem,5vw,4rem); }
.option-night > header { padding-right:clamp(1rem,4vw,4rem); }
.option-night > header p { margin-top:1.2rem; color:rgba(252,241,212,.65); }
.night-rows div { display:grid; grid-template-columns:3fr 4fr 5fr; gap:1rem; padding:1.7rem 0; border-top:1px solid rgba(252,241,212,.22); align-items:baseline; }
.night-rows div:last-child { border-bottom:1px solid rgba(252,241,212,.22); }
.night-rows strong { color:var(--sky); font-size:clamp(1.8rem,3vw,2.6rem); }
.night-rows span { font-weight:600; }
.night-rows small { color:rgba(252,241,212,.62); }

.option-signal { padding:clamp(2rem,5vw,4rem); background:var(--paper); border:12px solid var(--plum); }
.option-signal > header { max-width:800px; }
.signal-stage { display:grid; grid-template-columns:auto 1fr 70px auto 1fr; gap:1.5rem; align-items:center; margin-top:4rem; }
.signal-stage strong { font-size:clamp(3rem,8vw,8rem); color:var(--plum); letter-spacing:-.08em; line-height:.8; }
.signal-stage p { max-width:18ch; font-size:clamp(1rem,2vw,1.4rem); }
.signal-stage i { width:70px; height:2px; background:var(--sky); position:relative; }
.signal-stage i::after { content:""; position:absolute; right:0; top:-5px; width:10px; height:10px; border-top:2px solid var(--sky); border-right:2px solid var(--sky); transform:rotate(45deg); }

@media (max-width: 760px) {
  .program-symbol { right:1rem; width:130px; opacity:.2; }
  .option-cascade, .option-place, .option-night { grid-template-columns:1fr; }
  .option-strata > header { grid-template-columns:1fr; }
  .loop-stage { grid-template-columns:1fr; }
  .loop-stage::before { display:none; }
  .loop-stage > div:nth-child(4) { grid-column:auto; }
  .loop-stage .loop-center { position:static; transform:none; width:auto; height:auto; border-radius:0; }
  .strata-bars div { width:100%; grid-template-columns:1fr; gap:.4rem; }
  .night-rows div { grid-template-columns:1fr; gap:.35rem; }
  .signal-stage { grid-template-columns:1fr; }
  .signal-stage i { transform:rotate(90deg); margin:1rem 0; }
}

/* ===================================================== v24 — MOTION SYSTEM */
.scroll-progress {
  position: fixed; z-index: 3000; inset: 0 0 auto; height: 3px;
  background: var(--sky); transform: scaleX(0); transform-origin: left;
  transition: transform .08s linear; pointer-events: none;
}

/* Directional entrances are assigned automatically by script. */
.js .reveal.motion-left {
  opacity: 0; transform: translate3d(-28px,22px,0) scale(.985);
  transition: opacity .7s var(--ease-out), transform .85s var(--ease-out);
  transition-delay: var(--reveal-delay,0ms);
}
.js .reveal.motion-right {
  opacity: 0; transform: translate3d(28px,22px,0) scale(.985);
  transition: opacity .7s var(--ease-out), transform .85s var(--ease-out);
  transition-delay: var(--reveal-delay,0ms);
}
.js .reveal.motion-left.in,
.js .reveal.motion-right.in { opacity: 1; transform: none; }

/* Cinematic hero movement. */
.hero-film iframe {
  animation: youtubeReveal .45s var(--ease) 1s forwards,
             heroDrift 22s ease-in-out 1.5s infinite alternate;
}
@keyframes heroDrift {
  from { transform: translate(-50%,-50%) scale(1.2); }
  to { transform: translate(-49%,-51%) scale(1.27); }
}
.hero::after { animation: overlayBreathe 9s ease-in-out infinite alternate; }
@keyframes overlayBreathe { from { opacity: .9; } to { opacity: 1; } }
.hero-tag::before { animation: ruleGrow 1.1s var(--ease-out) .2s both; transform-origin:left; }
@keyframes ruleGrow { from { transform:scaleX(0); } to { transform:scaleX(1); } }
.hero .btn svg, .more svg { transition: transform .3s var(--ease-out); }
.hero .btn:hover svg, .more:hover svg { transform: translateX(5px); }

/* Statistics arrive as a sequence, then retain quiet hover motion. */
.figures > div { animation: statRise .75s var(--ease-out) both; }
.figures > div:nth-child(1) { animation-delay: .5s; }
.figures > div:nth-child(2) { animation-delay: .64s; }
.figures > div:nth-child(3) { animation-delay: .78s; }
@keyframes statRise { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
.figures > div { transition: background .3s var(--ease), transform .35s var(--ease-out); }
.figures > div:hover { background:rgba(142,184,224,.09); transform:translateY(-5px); }
.figures dt { transition: transform .35s var(--ease-out), color .3s var(--ease); }
.figures > div:hover dt { transform:scale(1.045); }

/* Navigation and dropdown choreography. */
.brand { transition: transform .3s var(--ease-out), color .2s var(--ease); }
.brand:hover { transform: translateY(-2px); }
.group.open .menu { animation: menuDrop .28s var(--ease-out) both; transform-origin:top left; }
@keyframes menuDrop { from { opacity:0; transform:translateY(-8px) scale(.97); } to { opacity:1; transform:none; } }
.menu a { transition: background .18s var(--ease), transform .24s var(--ease-out); }
.menu a:hover { transform:translateX(5px); }
.navlink .caret { transition: transform .35s var(--ease-out), opacity .2s var(--ease); }

/* Images feel spatial rather than pasted into a section. */
.place-media::after, .county-image::after {
  transition: opacity .45s var(--ease); opacity:.46;
}
.place:hover .place-media::after, .county-image:hover::after { opacity:.12; }
.county-image img { transition:transform 1s var(--ease-out), filter .5s var(--ease); }
.county-image:hover img { transform:scale(1.055); filter:saturate(1) contrast(1); }
.media-note { transition:transform .35s var(--ease-out), background .25s var(--ease); }
.place:hover .media-note { transform:translateY(-6px); background:rgba(59,23,57,.94); }

/* Content responds without becoming card-heavy. */
.ledger tbody tr { transition: background .25s var(--ease), transform .3s var(--ease-out); }
.ledger tbody tr:hover { background:rgba(142,184,224,.09); transform:translateX(7px); }
.ledger .amt { transition:color .25s var(--ease), transform .3s var(--ease-out); }
.ledger tr:hover .amt { color:var(--plum); transform:scale(1.035); }
.clip { transition:transform .35s var(--ease-out), background .25s var(--ease), box-shadow .3s var(--ease); }
.clip:hover { box-shadow:0 24px 45px -34px rgba(59,23,57,.6); }
.facts > div, .program-rail > div, .logos > div {
  transition:transform .35s var(--ease-out), background .25s var(--ease), border-color .25s var(--ease);
}
.facts > div:hover, .program-rail > div:hover { transform:translateY(-7px); }
.logos > div:hover { transform:scale(1.035); background:var(--cream); color:var(--plum); z-index:2; }
.qa details { transition:background .25s var(--ease), padding .3s var(--ease-out); }
.qa details:hover { background:rgba(142,184,224,.08); padding-inline:1rem; }
.qa details[open] summary { animation:questionSettle .3s var(--ease-out); }
@keyframes questionSettle { from { transform:translateX(-8px); } to { transform:none; } }

/* Signature marks move slowly; programme symbols draw themselves. */
.botanical { animation: botanicalDrift 16s ease-in-out infinite alternate; transform-origin:center; }
@keyframes botanicalDrift { from { transform:rotate(-2deg) scale(.98); } to { transform:rotate(3deg) scale(1.04); } }
.program-symbol svg { stroke-dasharray:420; stroke-dashoffset:420; animation:symbolDraw 1.8s var(--ease-out) .2s forwards; }
@keyframes symbolDraw { to { stroke-dashoffset:0; } }

/* The six option studies reveal with their own subtle surface responses. */
.impact-option { transition:transform .45s var(--ease-out), box-shadow .4s var(--ease); }
.impact-option:hover { transform:translateY(-8px); box-shadow:0 34px 70px -48px rgba(42,26,41,.72); }
.strata-bars div { transform-origin:left; animation:strataGrow .8s var(--ease-out) both; }
.strata-bars div:nth-child(2) { animation-delay:.12s; }
.strata-bars div:nth-child(3) { animation-delay:.24s; }
@keyframes strataGrow { from { transform:scaleX(.25); opacity:0; } to { transform:scaleX(1); opacity:1; } }
.loop-stage::before { animation:loopPulse 3s ease-in-out infinite alternate; }
@keyframes loopPulse { from { transform:scale(.97); opacity:.55; } to { transform:scale(1.025); opacity:1; } }
.signal-stage i::after { animation:signalArrow 1.1s ease-in-out infinite; }
@keyframes signalArrow { 50% { transform:translateX(8px) rotate(45deg); } }

/* Native scroll-linked movement where supported; everything above is the fallback. */
@supports (animation-timeline: view()) {
  .place-media img, .county-image img {
    animation: imageTravel linear both;
    animation-timeline: view();
    animation-range: entry -10% exit 110%;
  }
  @keyframes imageTravel { from { transform:scale(1.08) translateY(-2.5%); } to { transform:scale(1.08) translateY(2.5%); } }
}

/* v19 — return navigation interaction to the original ruled treatment. */
.site-nav .navlink,
.site-nav .navlink:hover,
.site-nav .group > .navlink.open,
body.route-home:not(.scrolled) .navlink:hover,
body.route-home:not(.scrolled) .group > .navlink.open {
  border-radius: 0;
  background: transparent;
}
.site-nav .navlink:hover::after,
.site-nav .group > .navlink.open::after { transform: scaleX(1); }

/* v20 — muted YouTube film as the hero background; local film remains below
   it as a visual fallback when the embed cannot load. */
.hero-film video { z-index: 0; }
.hero-film iframe {
  position: absolute; z-index: 1; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;
  min-width: 177.78vh; min-height: 100%;
  border: 0; pointer-events: none;
  transform: translate(-50%,-50%);
}

/* v21 — one visual source during load. A still from the requested film sits
   underneath the embed; the previous moving stock fallback is no longer used.
   Overscan crops YouTube's temporary title and corner chrome out of frame. */
.hero-film::before {
  content: ""; position: absolute; z-index: 0; inset: 0;
  background: #3B1739 url("assets/hero-youtube-poster.jpg") center / cover no-repeat;
}
.hero-film iframe {
  opacity: 0;
  transform: translate(-50%,-50%) scale(1.2);
  animation: youtubeReveal .45s var(--ease) 1s forwards;
}
@keyframes youtubeReveal { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero-film iframe { display: none; animation: none; }
}

/* v17 — preserve the v11 navigation frame; soften only its interaction. */
.site-nav .navlink {
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.site-nav .navlink:hover,
.site-nav .group > .navlink.open {
  background: rgba(142,184,224,.24);
}
.site-nav .navlink:hover::after,
.site-nav .group > .navlink.open::after { transform: scaleX(0); }

@media (max-width: 920px) {
  .site-nav .navlink { border-radius: 22px; padding-inline: 1rem; }
}

/* v18 — restore the intended transparent film header and intact statistic
   card. Cream rises behind the lower half of the card, never through it. */
body.route-home .masthead,
body.route-home:not(.scrolled) .masthead {
  position: fixed; inset: 0 0 auto; width: 100%;
  background: transparent; color: var(--cream);
  border: 0; backdrop-filter: none;
}
body.route-home:not(.scrolled) .masthead::before {
  content: ""; display: block; position: absolute; inset: 0 0 -44px; pointer-events: none;
  background: linear-gradient(180deg,rgba(28,10,27,.58),rgba(28,10,27,.24) 58%,transparent);
}
body.route-home:not(.scrolled) .masthead .wrap { min-height: 92px; }
body.route-home:not(.scrolled) .brand { color: var(--cream); }
body.route-home:not(.scrolled) .brand img { width: 52px; height: 52px; }
body.route-home:not(.scrolled) .navlink,
body.route-home:not(.scrolled) .navlink:hover,
body.route-home:not(.scrolled) .navlink.open,
body.route-home:not(.scrolled) .navlink[aria-current] {
  color: rgba(252,241,212,.94); text-shadow: 0 1px 18px rgba(28,10,27,.42);
}
body.route-home:not(.scrolled) .navlink:hover,
body.route-home:not(.scrolled) .group > .navlink.open {
  background: rgba(252,241,212,.14);
}
body.route-home:not(.scrolled) .burger i { background: var(--cream); }
body.route-home.scrolled .masthead {
  position: fixed; inset: 0 0 auto; width: 100%;
  background: rgba(252,241,212,.96); color: var(--plum);
  border: 0; border-bottom: 1.5px solid var(--rule);
  backdrop-filter: blur(16px) saturate(1.2);
}
body.route-home.scrolled .brand img { width: 46px; height: 46px; }
body.route-home.scrolled .masthead .wrap { min-height: 68px; }

.route-home .hero { min-height: 100svh; }
.route-home .hero::before {
  content: ""; display: block; position: absolute; z-index: 2; inset: auto 0 0;
  height: clamp(5.75rem,8.5vw,7rem); background: var(--cream); pointer-events: none;
}
.route-home .figures {
  z-index: 3; margin: 0; overflow: hidden;
  background: #3B1739 !important; border-radius: var(--petal);
  backdrop-filter: none;
}
.route-home .figures::before { content: none !important; display: none !important; }
.route-home .figures dt { text-shadow: none; }

@media (max-width: 920px) {
  body.route-home:not(.scrolled) .site-nav.open { top: 92px; }
  body.route-home.scrolled .site-nav.open { top: 68px; }
}

@media (max-width: 640px) {
  .route-home .hero::before { height: 13rem; }
}

/* v32 — high-contrast navigation states on light headers. The transparent
   homepage header keeps its existing light-on-video treatment. */
body:not(.route-home) .site-nav .navlink:hover,
body:not(.route-home) .site-nav .group.open > .navlink,
body.route-home.scrolled .site-nav .navlink:hover,
body.route-home.scrolled .site-nav .group.open > .navlink {
  color: var(--plum-deep);
  background: rgba(142,184,224,.34);
  box-shadow: inset 0 0 0 1px rgba(59,23,57,.12);
}

body:not(.route-home) .site-nav .navlink[aria-current="page"],
body:not(.route-home) .site-nav .group:has([aria-current="page"]) > .navlink,
body.route-home.scrolled .site-nav .navlink[aria-current="page"],
body.route-home.scrolled .site-nav .group:has([aria-current="page"]) > .navlink {
  color: var(--plum-deep);
  background: rgba(142,184,224,.58);
  box-shadow: inset 0 0 0 1px rgba(59,23,57,.2);
}

body:not(.route-home) .site-nav .navlink:hover::after,
body:not(.route-home) .site-nav .navlink[aria-current="page"]::after,
body:not(.route-home) .site-nav .group:has([aria-current="page"]) > .navlink::after,
body.route-home.scrolled .site-nav .navlink:hover::after,
body.route-home.scrolled .site-nav .navlink[aria-current="page"]::after,
body.route-home.scrolled .site-nav .group:has([aria-current="page"]) > .navlink::after {
  transform: scaleX(0);
}

/* v33 — the expanded mobile menu is a light surface, even when Home sits
   over video. Never inherit cream-on-video text into this panel. */
@media (max-width: 920px) {
  body.route-home:not(.scrolled) .site-nav.open .navlink,
  body.route-home:not(.scrolled) .site-nav.open .navlink:hover,
  body.route-home:not(.scrolled) .site-nav.open .navlink.open,
  body.route-home:not(.scrolled) .site-nav.open .navlink[aria-current="page"] {
    color: var(--plum-deep);
    text-shadow: none;
  }

  body.route-home:not(.scrolled) .site-nav.open .navlink:hover {
    background: rgba(142,184,224,.34);
    box-shadow: inset 0 0 0 1px rgba(59,23,57,.12);
  }

  body.route-home:not(.scrolled) .site-nav.open .group.open > .navlink,
  body.route-home:not(.scrolled) .site-nav.open .navlink[aria-current="page"],
  body.route-home:not(.scrolled) .site-nav.open .group:has([aria-current="page"]) > .navlink {
    color: var(--plum-deep);
    background: rgba(142,184,224,.58);
    box-shadow: inset 0 0 0 1px rgba(59,23,57,.2);
  }
}

/* v35 — production statistic rail: one consistent neutral treatment. */
.route-home .figures dd,
.route-home .figures [data-tone="sage"] dd,
.route-home .figures [data-tone="plum"] dd {
  color: #C9C5C8 !important;
}

/* v36 — white, tighter handoff from the hero into the homepage content. */
.route-home .hero::before {
  background: #fff;
}

.route-home .home-programs-band {
  background: #fff;
  padding-top: clamp(2.75rem, 4.5vw, 4.25rem);
}

@media (max-width: 640px) {
  .route-home .home-programs-band { padding-top: 2.25rem; }
}
