/* ============================================================
   LISA CLAMPITT MATCHMAKING — design system ("The Monograph")
   One file, no imports. Spec: research/DESIGN-DIRECTION.md
   Brand tokens are law — never introduce new hex values.
   ============================================================ */

/* ---------- 1. Fonts (v1.1 trim — 2 families / 5 files, self-hosted) ----------
   Zodiak (display + longform serif) + General Sans (body/UI).
   Dropped v1.1: Zodiak 300/300i/700 + Gambetta (over-provisioned; see research/AUDIT-v1.md §2). */
@font-face { font-family: 'Zodiak'; src: url('/assets/fonts/zodiak-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Zodiak'; src: url('/assets/fonts/zodiak-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/assets/fonts/general-sans-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/assets/fonts/general-sans-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/assets/fonts/general-sans-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- 2. Tokens (§1.5, §2.1–2.2, §3) ---------- */
:root {
  /* brand color truth — from the logo SVGs, never approximate */
  --green:     #051d17;
  --copper:    #b17735;
  --chamomile: #dfd8a9;
  --feather:   #f8f7f3;
  --snow:      #faf7f2;
  --black:     #000000;
  /* derived surfaces + lines (the ONLY additional values allowed) */
  --sage:            #f1f4ed;
  --chamomile-25:    color-mix(in srgb, var(--chamomile) 25%, var(--feather));
  --hairline-copper: rgba(177,119,53,.25);
  --hairline-green:  rgba(5,29,23,.12);
  --ink-soft:        rgba(5,29,23,.68);
  --feather-70:      rgba(248,247,243,.72);
  --scrim-hero:      linear-gradient(180deg, rgba(5,29,23,.66) 0%, rgba(5,29,23,.30) 40%, rgba(5,29,23,.30) 62%, rgba(5,29,23,.58) 100%);
  --numeral-copper:  rgba(177,119,53,.22);
  --hairline-dark:   rgba(223,216,169,.18); /* hairlines on dark green */

  /* faces */
  --font-display: 'Zodiak', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-serif:   'Zodiak', 'Iowan Old Style', Georgia, 'Times New Roman', serif; /* Gambetta dropped v1.1 — Zodiak carries longform serif + quotes */
  --font-sans:    'General Sans', 'Helvetica Neue', Arial, sans-serif;

  /* type scale (§1.5) */
  --t-hero:      clamp(2.625rem, 5.4vw, 4.25rem);
  --t-statement: clamp(2rem, 3.8vw, 3.25rem);
  --t-h2:        clamp(1.75rem, 3vw, 2.5rem);
  --t-h3:        clamp(1.375rem, 2.2vw, 1.625rem);
  --t-eyebrow:   0.8125rem;
  --t-lead:      1.1875rem;
  --t-body:      1.125rem;
  --t-longform:  1.1875rem;
  --t-quote:     clamp(1.25rem, 2vw, 1.5rem);
  --t-pullquote: clamp(1.5rem, 2.6vw, 2.125rem);
  --t-numeral:   clamp(4.5rem, 9vw, 8rem);
  --t-btn:       0.8125rem;
  --t-nav:       0.8125rem;
  --t-caption:   0.875rem;

  /* spacing & layout (§3) */
  --container:   1200px;
  --container-w: 1440px;
  --gutter:      clamp(1.25rem, 4vw, 3rem);
  --grid-gap:    clamp(1.25rem, 2.5vw, 2rem);
  --sec-pad:     clamp(6rem, 14vh, 11rem);
  --sec-pad-sm:  clamp(3rem, 6vh, 4.5rem);
  --ease:        cubic-bezier(.22,1,.36,1);
  --header-h:    88px;

  /* context ink (dark sections re-map these) */
  --ink:        var(--green);
  --ink-2:      var(--ink-soft);
  --eyebrow-c:  var(--green);
  --hairline:   var(--hairline-green);
  --focus-c:    var(--copper);
  accent-color: var(--copper);
}
@media (max-width: 640px) {
  :root {
    --t-hero: 2.375rem; --t-statement: 2rem; --t-h2: 1.75rem; --t-h3: 1.375rem;
    --t-eyebrow: 0.75rem; --t-lead: 1.125rem; --t-body: 1.0625rem;
    --t-longform: 1.125rem; --t-quote: 1.25rem; --t-pullquote: 1.5rem;
    --t-numeral: 4rem; --header-h: 64px;
  }
}

/* ---------- 3. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { font-synthesis: none; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.nav-open { overflow: hidden; }
body {
  font-family: var(--font-sans); font-size: var(--t-body); font-weight: 400;
  line-height: 1.66; color: var(--ink); background: var(--feather);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul[class], ol[class] { list-style: none; padding: 0; }
p, li, blockquote { overflow-wrap: break-word; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.18; }
address { font-style: normal; }
::selection { background: var(--copper); color: var(--feather); }

:focus-visible { outline: 2px solid var(--focus-c); outline-offset: 3px; }
.skip-link {
  position: absolute; top: -100px; left: var(--gutter); z-index: 200;
  background: var(--green); color: var(--feather); padding: .75rem 1.25rem;
  font: 600 var(--t-btn)/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border-radius: 0 0 2px 2px; transition: top .3s var(--ease);
}
.skip-link:focus-visible { top: 0; }
.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;
}

/* ---------- 4. Surfaces & context ---------- */
.bg-feather { background: var(--feather); }
.bg-snow    { background: var(--snow); }
.bg-sage    { background: var(--sage); }
.bg-chamomile25 { background: var(--chamomile-25); }
.bg-green, .band-cta, .site-footer {
  background-color: var(--green); color: var(--feather);
  --ink: var(--feather); --ink-2: var(--feather-70);
  --eyebrow-c: var(--chamomile); --hairline: var(--hairline-dark);
  --focus-c: var(--chamomile);
}
/* dark CTA band over the ridge texture (§4.2) */
.band-cta {
  background: linear-gradient(rgba(5,29,23,.72), rgba(5,29,23,.72)),
              url('/assets/img/texture-ridges.jpg') center/cover no-repeat, var(--green);
}
/* grain — dark sections only (§4.4) */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 5. Layout primitives (§3) ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-w); }
.section { padding-block: var(--sec-pad); }
.section--compact { padding-block: var(--sec-pad-sm); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--grid-gap); }
@media (max-width: 899px) { .grid-12 { grid-template-columns: 1fr; } }
.measure { max-width: 68ch; }
.measure-narrow { max-width: 34ch; }
.measure-lead { max-width: 62ch; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1.25rem; }
.mt-md { margin-top: clamp(2rem, 5vh, 3rem); }
.mt-lg { margin-top: clamp(3rem, 7vh, 4.5rem); }
hr, .hairline { border: 0; border-top: 1px solid var(--hairline); }

/* ---------- 6. Typography components ---------- */
/* italic-accent headline recipe (§1.6) — author caps in content, never text-transform */
.hl { font-family: var(--font-display); font-weight: 400; color: var(--ink); }
.hl em { font-style: italic; font-weight: inherit; color: var(--copper); }
.hl--hero {
  font-size: var(--t-hero); font-weight: 400; line-height: 1.08; letter-spacing: .01em;
}
.hl--hero em { color: inherit; } /* hero accents stay feather — per mockup */
.u-green { color: var(--green); font-style: normal; } /* three-color play — max ONCE per page */

h2.hl, .hl--h2 { font-size: var(--t-h2); line-height: 1.18; letter-spacing: .005em; }
h3.hl, .hl--h3 { font-size: var(--t-h3); line-height: 1.35; font-style: italic; }
h3.hl em, .hl--h3 em { font-style: italic; }

/* statement block (§5.4) */
.statement {
  font-family: var(--font-display); font-weight: 400; font-size: var(--t-statement);
  line-height: 1.16; letter-spacing: .015em; color: var(--ink);
  max-width: 26ch; margin-inline: auto; text-align: center;
}
.statement em { font-style: italic; font-weight: inherit; color: var(--copper); }
.statement--rule::after {
  content: ""; display: block; width: 36px; height: 1px;
  background: var(--copper); margin: 2rem auto 0;
}

/* eyebrow (§5.3) */
.eyebrow {
  font: 600 var(--t-eyebrow)/1.4 var(--font-sans); text-transform: uppercase;
  letter-spacing: .22em; color: var(--eyebrow-c); margin-bottom: 1.1em;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--copper); margin-right: .75rem; vertical-align: middle;
}
.eyebrow--center { text-align: center; }
.eyebrow--center::before { content: none; }

.lead { font-size: var(--t-lead); line-height: 1.6; }
.t-caption { font-size: var(--t-caption); line-height: 1.5; letter-spacing: .01em; color: var(--ink-2); }
.text-soft { color: var(--ink-2); }
p strong, li strong { font-weight: 600; }

/* longform prose (story pages, article, legal) */
.prose { font-family: var(--font-serif); font-size: var(--t-longform); line-height: 1.75; max-width: 68ch; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--copper); }
.prose em { font-style: italic; }
.prose h2, .prose h3 { font-family: var(--font-display); margin: 2.2em 0 .8em; }
.prose h2 { font-size: var(--t-h2); letter-spacing: .005em; line-height: 1.18; }
.prose h3 { font-size: var(--t-h3); font-style: italic; line-height: 1.35; }
.prose h2 em, .prose h3 em { color: var(--copper); }
.prose a { color: var(--ink); text-decoration-color: var(--copper); }
.dropcap::first-letter {
  font-family: var(--font-display); font-weight: 400; float: left;
  font-size: 4.35em; line-height: .82; padding: .04em .12em 0 0; color: var(--green);
}
.pullquote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: var(--t-pullquote); line-height: 1.4; color: var(--ink);
  max-width: 24ch; margin: 2.5em auto; text-align: center;
}
.pullquote::before {
  content: ""; display: block; width: 36px; height: 1px;
  background: var(--copper); margin: 0 auto 1.25rem;
}

/* ---------- 7. Buttons (§5.1) ---------- */
.btn {
  display: inline-block; padding: 1rem 2.375rem; border-radius: 2px;
  border: 1px solid transparent; text-decoration: none; text-align: center;
  font: 600 var(--t-btn)/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase;
  transition: background-color .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
/* Primary — copper. Label is dark green: the AA pairing (4.65:1) */
.btn--primary { background: var(--copper); color: var(--green); border-color: var(--copper); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--green); color: var(--feather); border-color: var(--green); }
.bg-green .btn--primary:hover, .band-cta .btn--primary:hover, .site-footer .btn--primary:hover,
.bg-green .btn--primary:focus-visible, .band-cta .btn--primary:focus-visible {
  background: var(--feather); color: var(--green); border-color: var(--feather);
}
/* Secondary — hairline outline, context-aware */
.btn--outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--green); color: var(--feather); }
.bg-green .btn--outline, .band-cta .btn--outline, .site-footer .btn--outline,
.site-header .btn--outline, .nav-overlay .btn--outline, .hero .btn--outline {
  color: var(--feather); border-color: var(--feather);
}
.bg-green .btn--outline:hover, .band-cta .btn--outline:hover, .site-header .btn--outline:hover,
.hero .btn--outline:hover, .hero .btn--outline:focus-visible,
.bg-green .btn--outline:focus-visible, .band-cta .btn--outline:focus-visible, .site-header .btn--outline:focus-visible {
  background: var(--feather); color: var(--green); border-color: var(--feather);
}
/* Green solid — for CTAs on chamomile-25 / sage tinted bands */
.btn--green { background: var(--green); color: var(--feather); border-color: var(--green); }
.btn--green:hover, .btn--green:focus-visible { background: var(--copper); color: var(--green); border-color: var(--copper); }

/* ---------- 8. Text links (§5.2) ---------- */
a { color: inherit; }
main p a, main li a, .footer-contact a, .footer-bottom a {
  color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 3px; text-decoration-color: var(--copper);
  transition: color .28s var(--ease), text-decoration-color .28s var(--ease);
}
main p a:hover, main li a:hover { color: var(--copper); }
.bg-green a:not(.btn):hover, .band-cta a:not(.btn):hover,
.site-footer a:not(.btn):hover { color: var(--chamomile); }
.bg-green main p a, .footer-contact a, .footer-bottom a { text-decoration-color: var(--chamomile); }
.footer-contact a, .footer-bottom a { text-decoration: none; }
.footer-contact a:hover, .footer-bottom a:hover { text-decoration: underline; text-decoration-color: var(--chamomile); text-underline-offset: 3px; }
/* quiet link with nav-style slide underline */
.link-quiet { position: relative; text-decoration: none; color: var(--ink); }
.link-quiet::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px;
  background: var(--copper); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.link-quiet:hover::after, .link-quiet:focus-visible::after { transform: scaleX(1); }

/* ---------- 9. Header (§5.14) ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  color: var(--feather); --focus-c: var(--chamomile);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header--solid { position: sticky; background: var(--green); box-shadow: 0 1px 0 var(--hairline-dark); }
.site-header.is-scrolled {
  position: fixed; background: var(--green); box-shadow: 0 1px 0 var(--hairline-dark);
}
.header-inner {
  max-width: var(--container-w); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--header-h); display: flex; align-items: center; gap: 1.5rem;
  transition: height .3s var(--ease);
}
.brand { display: block; color: inherit; margin-right: auto; }
.wordmark { display: block; fill: currentColor; aspect-ratio: 1882 / 489; height: auto; }
.brand .wordmark { width: clamp(150px, 15vw, 208px); transition: width .3s var(--ease); }
.is-scrolled .brand .wordmark { width: clamp(120px, 12vw, 162px); } /* ~78% */
.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.nav-link {
  position: relative; display: inline-block; padding: .5rem 0; text-decoration: none;
  font: 500 var(--t-nav)/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase;
  color: inherit; white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--copper); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover::after, .nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { padding: .8125rem 1.75rem; }
.nav-inquire { display: none; }
.burger {
  display: none; width: 44px; height: 44px; position: relative; z-index: 95;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.burger span {
  display: block; width: 24px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-open .burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 1099px) {
  .burger { display: flex; }
  .site-nav {
    position: fixed; inset: 0; z-index: 90; background: var(--green);
    display: none; flex-direction: column; justify-content: center;
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  }
  .nav-open .site-nav { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-list li { border-bottom: 1px solid var(--hairline-dark); }
  .nav-list li:first-child { border-top: 1px solid var(--hairline-dark); }
  .nav-link {
    display: flex; align-items: center; min-height: 56px; width: 100%;
    font-size: 1rem; color: var(--feather);
  }
  .nav-link::after { bottom: 12px; width: 40px; }
  .nav-inquire { display: block; margin-top: 2.5rem; width: 100%; }
  .header-cta { padding: .6875rem 1.125rem; }
}

/* ---------- 10. Hero (homepage + interior dark heroes) ---------- */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: min(100vh, 56.25vw); padding: calc(var(--header-h) + 4rem) 0 5rem;
  background: var(--green); color: var(--feather); overflow: hidden;
  --ink: var(--feather); --ink-2: var(--feather-70);
  --eyebrow-c: var(--chamomile); --hairline: var(--hairline-dark); --focus-c: var(--chamomile);
}
@media (max-width: 899px) { .hero { min-height: 88vh; } }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .hero-img { animation: heroIn 1.4s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--scrim-hero); }
.hero .container { position: relative; z-index: 4; text-align: center; }
.hero-wordmark { width: min(420px, 74vw); margin: 0 auto clamp(2rem, 5vh, 3.5rem); }
.hero .eyebrow { color: var(--chamomile); }
.hero-cta { margin-top: clamp(2rem, 5vh, 3rem); }
.hero--compact { min-height: 0; padding: calc(var(--header-h) + var(--sec-pad-sm)) 0 var(--sec-pad-sm); }

/* ---------- 11. Press bar (§5.5) ---------- */
.press-bar { background: var(--snow); padding-block: clamp(2.5rem, 5vh, 3.5rem); }
.press-list {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.25rem, 2.6vw, 3.25rem); row-gap: 1.5rem;
  max-width: var(--container-w); margin-inline: auto; padding-inline: var(--gutter);
}
.press-list img {
  height: 27px; width: auto; filter: grayscale(1); opacity: .58;
  transition: opacity .3s var(--ease);
}
@media (max-width: 640px) { .press-list img { height: 22px; } }
.press-list a { display: block; }
.press-list a:hover img, .press-list a:focus-visible img, .press-list img:hover { opacity: 1; }

/* ---------- 12. Seal overlap (§5.6) ---------- */
.seal {
  display: block; width: 160px; height: auto; margin: -80px auto 0;
  position: relative; z-index: 4; filter: drop-shadow(0 12px 32px rgba(5,29,23,.35));
}
@media (max-width: 640px) { .seal { width: 120px; margin-top: -60px; } }

/* ---------- 13. Polaroid card (§5.7) ---------- */
.polaroid {
  background: #fff; padding: .875rem .875rem 1.5rem;
  border: 1px solid rgba(5,29,23,.08); border-radius: 2px;
  box-shadow: 0 24px 48px -24px rgba(5,29,23,.28);
  transform: rotate(-1.5deg); transition: transform .7s var(--ease);
  max-width: 460px;
}
.polaroid:hover { transform: rotate(0deg); }
.polaroid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* ---------- 14. Arch mask + chamomile field (§5.8) ---------- */
.arch-wrap { position: relative; }
.arch-wrap::before {
  content: ""; position: absolute; inset: 0; background: var(--chamomile-25);
  border-radius: 999px 999px 0 0; transform: translate(-1.5rem, 1.5rem);
  display: none; /* offset chamomile mat read as misregistration; replaced by a soft shadow on .arch */
}
.arch {
  position: relative; border-radius: 999px 999px 0 0; overflow: hidden;
  aspect-ratio: 3 / 4.1; box-shadow: 0 28px 55px -28px rgba(5,29,23,.26);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--hairline { outline: 1px solid rgba(177,119,53,.35); outline-offset: -12px; }

/* ---------- 15. Testimonial cards + masonry (§5.9) ---------- */
.t-card {
  position: relative; border: 1px solid var(--hairline-green); border-radius: 2px;
  padding: 2.25rem; background: var(--snow); box-shadow: none;
}
.bg-snow .t-card { background: var(--feather); }
.t-card::before {
  content: "\201C"; position: absolute; top: -.35em; left: 1.5rem;
  font: italic 400 84px/1 var(--font-display); color: var(--numeral-copper);
  pointer-events: none;
}
.t-card blockquote { padding-top: 1.25rem; }
.t-card blockquote p { font: italic 400 var(--t-quote)/1.55 var(--font-serif); color: var(--ink); }
.t-card figcaption { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .25rem; }
.t-name {
  font: 600 .75rem/1.4 var(--font-sans); letter-spacing: .18em;
  text-transform: uppercase; color: var(--green);
}
.t-role { font: 400 .8125rem/1.5 var(--font-sans); color: var(--ink-soft); }
.masonry { columns: 3; column-gap: var(--grid-gap); }
.masonry > * { break-inside: avoid; margin-bottom: var(--grid-gap); }
@media (max-width: 1199px) { .masonry { columns: 2; } }
@media (max-width: 639px) { .masonry { columns: 1; } }

/* ---------- 16. Team panorama band (§5.10) ---------- */
.panorama { padding-top: var(--sec-pad-sm); overflow: visible; }
.panorama-figure {
  width: min(1500px, 94vw); margin-inline: auto; position: relative; z-index: 2;
  margin-bottom: max(-11vw, -10.5rem);
}
.panorama-figure img { width: 100%; }
.panorama-band {
  padding-top: max(12vw, 11.5rem); padding-bottom: var(--sec-pad);
  text-align: center;
}
.panorama-band .measure-lead { margin-inline: auto; }
.panorama-band .hl + p { margin-top: 1.5rem; }
.panorama-band .btn { margin-top: 2.5rem; }
@media (max-width: 640px) {
  .panorama-figure { width: 100%; margin-bottom: -14vw; }
  .panorama-band { padding-top: 17vw; }
}

/* ---------- 17. Story split (§5.11) ---------- */
.story-split { align-items: center; }
.story-split .arch-wrap { grid-column: 1 / 6; }
.story-split .story-copy { grid-column: 7 / 13; }
.story-split--flip .arch-wrap { grid-column: 8 / 13; order: 2; }
.story-split--flip .story-copy { grid-column: 1 / 7; order: 1; }
@media (max-width: 899px) {
  .story-split .arch-wrap, .story-split .story-copy,
  .story-split--flip .arch-wrap, .story-split--flip .story-copy { grid-column: auto; order: 0; }
  .story-split .arch-wrap { max-width: 420px; margin-inline: auto; width: 86%; }
  .story-split .story-copy { text-align: left; }
  .story-split .btn { display: block; }
}
.story-copy h2 { margin-bottom: 1.25rem; }
.story-copy > .btn { margin-top: 2rem; }
/* bio-frame media in a story-split (team bios + Meet Lisa "Humanitarian Spirit") — promoted to global so it renders framed and column-sized on every page, not only where a page-scoped rule exists */
.bio-frame { border: 1px solid var(--hairline-green); border-radius: 2px; overflow: hidden; align-self: center; margin: 0; }
.bio-frame img { width: 100%; height: auto; }
.story-split .bio-frame { grid-column: 1 / 6; }
.story-split--flip .bio-frame { grid-column: 8 / 13; order: 2; }
@media (max-width: 899px) {
  .story-split .bio-frame, .story-split--flip .bio-frame {
    grid-column: auto; order: 0; width: 86%; max-width: 420px; margin-inline: auto;
  }
}

/* ---------- 18. Stat numerals / journey steps (§5.12) ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--grid-gap); }
.steps::before {
  content: ""; position: absolute; left: 50%; top: -1rem; bottom: -1rem; width: 1px;
  background: var(--hairline-copper);
}
.step { position: relative; z-index: 1; padding-top: 2.25rem; }
.step:nth-child(1) { grid-column: 1 / 7; }
.step:nth-child(2) { grid-column: 4 / 10; margin-top: 3rem; }
.step:nth-child(3) { grid-column: 7 / 13; margin-top: 6rem; }
.step-num {
  position: absolute; top: -.18em; left: -.06em; z-index: -1;
  font: italic 400 var(--t-numeral)/1 var(--font-display);
  letter-spacing: -.01em; color: var(--numeral-copper); pointer-events: none;
}
.step h3 { font: italic 400 var(--t-h3)/1.35 var(--font-display); color: var(--ink); margin-bottom: .75rem; }
.step p { font-size: 1.0625rem; max-width: 34ch; }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { left: 4px; }
  .step, .step:nth-child(2), .step:nth-child(3) { grid-column: auto; margin-top: 0; padding-left: 2rem; }
  .step-num { left: 1.75rem; }
}

/* ---------- 19. Forms (§5.13) ---------- */
.form { max-width: 720px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 3rem; min-width: 0; }
.form legend {
  font: 400 var(--t-h3)/1.35 var(--font-display); font-style: italic;
  color: var(--ink); margin-bottom: 1.5rem; padding: 0;
}
.form-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 639px) { .form-row, .form-row--3 { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.25rem; min-width: 0; }
.field > label, .form fieldset.field > legend {
  display: block; font: 600 .8125rem/1.4 var(--font-sans); letter-spacing: .06em;
  text-transform: uppercase; color: var(--green); margin-bottom: .5rem; font-style: normal;
}
.form fieldset.field { margin-bottom: 1.25rem; }
.field-req { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="url"], .field select, .field textarea {
  width: 100%; height: 54px; padding-inline: 1rem; background: #fff;
  border: 1px solid rgba(5,29,23,.22); border-radius: 2px;
  font: 400 1rem/1.4 var(--font-sans); color: var(--green);
  transition: border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.field textarea { height: auto; min-height: 140px; padding-block: .875rem; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b17735' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--copper); box-shadow: 0 0 0 3px rgba(177,119,53,.18); outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); opacity: .6; }
/* validation states */
.field.is-error input, .field.is-error select, .field.is-error textarea,
[aria-invalid="true"] { border: 2px solid var(--copper); }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border: 1px solid var(--green); }
.field-msg {
  display: flex; align-items: center; gap: .4rem; margin-top: .5rem;
  font: 600 .8125rem/1.4 var(--font-sans); color: var(--green); /* v1.1: was copper (3.78:1, failed AA); green = 15:1. Copper ⚠ icon + 2px copper field border carry the alert */
}
.field-msg::before {
  content: ""; flex: none; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M7 1L13 12H1z' fill='none' stroke='%23b17735' stroke-width='1.2'/%3E%3Cpath d='M7 5.2v3.2' stroke='%23b17735' stroke-width='1.2'/%3E%3Ccircle cx='7' cy='10.2' r='.7' fill='%23b17735'/%3E%3C/svg%3E") no-repeat center;
}
.field-ok {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem;
  font: 400 .8125rem/1.4 var(--font-sans); color: var(--green);
}
.field-ok::before {
  content: ""; width: 12px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6.5l3 3 6-7' fill='none' stroke='%23051d17' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center;
}
/* custom checkboxes — 20px box, 44px target */
.check-group { display: flex; flex-wrap: wrap; gap: .25rem 2rem; }
.check { display: flex; align-items: center; gap: .75rem; min-height: 44px; cursor: pointer; position: relative; }
.check input { position: absolute; width: 44px; height: 44px; opacity: 0; margin: 0; cursor: pointer; }
.check-box {
  flex: none; width: 20px; height: 20px; background: #fff;
  border: 1px solid var(--green); border-radius: 2px; position: relative;
  transition: background-color .2s var(--ease);
}
.check input:checked + .check-box { background: var(--green); }
.check input:checked + .check-box::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.6 2.6L10 3.5' fill='none' stroke='%23f8f7f3' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center;
}
.check input:focus-visible + .check-box { outline: 2px solid var(--copper); outline-offset: 3px; }
.check-label { font-size: 1rem; }
/* honeypot + submit row */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: .5rem; }
.form-note { margin-top: 1.25rem; font-size: var(--t-caption); color: var(--ink-soft); max-width: 52ch; }
@media (max-width: 639px) { .form-submit .btn { display: block; width: 100%; } }

/* ---------- 20. FAQ accordion + hairline table ---------- */
.faq-list { border-bottom: 1px solid var(--hairline-green); }
.faq-item { border-top: 1px solid var(--hairline-green); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.5rem 3.25rem 1.5rem 0;
  font: 400 var(--t-h3)/1.35 var(--font-display); color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%;
  width: 16px; height: 1px; background: var(--copper);
  transition: transform .3s var(--ease);
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.faq-body { padding: 0 0 2rem; max-width: 68ch; }
.faq-body > * + * { margin-top: 1em; }
.table-scroll { overflow-x: auto; margin-block: 1.5rem; }
.table-hairline { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table-hairline th {
  font: 600 .75rem/1.4 var(--font-sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); text-align: left;
}
.table-hairline th, .table-hairline td {
  padding: .875rem 1rem .875rem 0; border-bottom: 1px solid var(--hairline-green);
}

/* ---------- 21. Sticky TOC rail (legal pages) ---------- */
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.toc-rail { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.toc-rail h2 {
  font: 600 var(--t-eyebrow)/1.4 var(--font-sans); letter-spacing: .22em;
  text-transform: uppercase; color: var(--eyebrow-c); margin-bottom: 1rem;
}
.toc-rail ol { border-left: 1px solid var(--hairline-copper); }
.toc-rail a {
  display: block; padding: .45rem 0 .45rem 1.25rem; font-size: .875rem;
  color: var(--ink-soft); text-decoration: none; border-left: 1px solid transparent;
  margin-left: -1px; transition: color .28s var(--ease), border-color .28s var(--ease);
}
.toc-rail a:hover, .toc-rail a:focus-visible { color: var(--green); border-left-color: var(--copper); }
@media (max-width: 899px) {
  .legal-grid { grid-template-columns: 1fr; }
  .toc-rail { position: static; }
}

/* ---------- 22. Footer (§5.15) ---------- */
.site-footer { border-top: 1px solid var(--hairline-copper); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3.5rem, 8vh, 5.5rem);
}
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .wordmark { width: 220px; }
.footer-brand a { display: inline-block; color: var(--feather); }
.footer-tagline {
  margin-top: 1.25rem; font: italic 400 1.0625rem/1.5 var(--font-display);
  color: var(--chamomile);
}
.footer-head {
  font: 600 var(--t-eyebrow)/1.4 var(--font-sans); letter-spacing: .22em;
  text-transform: uppercase; color: var(--chamomile); margin-bottom: 1.25rem;
}
.footer-contact p, .footer-nav li { font-size: .9375rem; line-height: 1.7; }
.footer-contact p + p { margin-top: 1rem; }
.footer-nav ul:not(.social) li + li { margin-top: .5rem; }
.footer-nav ul { list-style: none; padding: 0; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover, .footer-nav a:focus-visible { text-decoration: underline; text-decoration-color: var(--chamomile); text-underline-offset: 3px; }
.social { display: flex; align-items: center; gap: .75rem; margin-top: 1.75rem; }
.social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--feather); transition: color .28s var(--ease); }
.social a:hover, .social a:focus-visible { color: var(--copper); }
.social svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.25; }
.footer-bottom { border-top: 1px solid var(--hairline-dark); }
.footer-bottom p {
  padding-block: 1.5rem; font-size: .8125rem; color: var(--feather-70); text-align: center;
}
.footer-bottom a { color: inherit; }

/* ---------- 23. Homepage-specific compositions ---------- */
/* intro/craft statement flow */
.intro-flow > * + * , .intro-flow > .statement + .statement { margin-top: clamp(3.5rem, 8vh, 5.5rem); }
.intro-lead { margin-top: 1.75rem; }
/* polaroid discovery split */
.discovery-split { align-items: center; }
.discovery-split .polaroid { grid-column: 2 / 6; justify-self: start; }
.discovery-split .discovery-copy { grid-column: 7 / 13; }
@media (max-width: 1199px) { .discovery-split .polaroid { grid-column: 1 / 6; } }
@media (max-width: 899px) {
  .discovery-split .polaroid, .discovery-split .discovery-copy { grid-column: auto; }
  .discovery-split .polaroid { margin-inline: auto; }
}
.discovery-copy p + p { margin-top: 1.25rem; }
/* seal statement band */
.seal-band { padding-bottom: var(--sec-pad); }
.seal-band .statement { margin-top: clamp(3rem, 7vh, 4.5rem); }
.seal-band .band-cta-row { margin-top: clamp(2.5rem, 6vh, 3.5rem); text-align: center; }
/* summit band */
.summit { text-align: center; }
.summit .lead { max-width: 62ch; margin-inline: auto; margin-bottom: 2.75rem; }
.summit .eyebrow { margin-bottom: .65em; }
.summit .eyebrow + .eyebrow { margin-top: 2.25rem; }
.summit h2 { font-size: var(--t-statement); line-height: 1.16; margin-top: .35em; }
.summit .summit-bridge { margin: 2.5rem auto 0; }
.summit .btn { margin-top: 3rem; }
/* connection duo panels (asymmetric 5/7 on sage) */
.duo { align-items: stretch; }
.duo-card {
  grid-column: 1 / 6; background: var(--snow); border: 1px solid var(--hairline-green);
  border-radius: 2px; padding: clamp(2rem, 4vw, 3.25rem);
  display: flex; flex-direction: column; justify-content: center;
}
.duo-open { grid-column: 7 / 13; align-self: center; padding-block: 1rem; }
.duo-head {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.3; color: var(--ink);
}
.duo-head em { font-style: italic; color: var(--copper); }
.duo-card p, .duo-open p { margin-top: 1.25rem; }
@media (max-width: 899px) { .duo-card, .duo-open { grid-column: auto; } }
/* trust pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); margin-top: 3rem; }
.pillars li { border-top: 1px solid var(--hairline-copper); padding-top: 1.25rem; font-size: 1.0625rem; }
.pillars strong { display: block; font: 400 var(--t-h3)/1.35 var(--font-display); font-style: italic; margin-bottom: .5rem; color: var(--ink); }
@media (max-width: 899px) { .pillars { grid-template-columns: 1fr; } }
/* CTA band inner */
.band-cta { text-align: center; }
.band-cta .band-copy { max-width: 62ch; margin: 1.75rem auto 0; }
.band-cta .btn { margin-top: 2.5rem; }
/* generic section header stanza (§3 vertical stanza) */
.stanza .eyebrow { margin-bottom: 1.1em; }
.stanza h2 { margin-bottom: .55em; }
.section-cta { margin-top: clamp(2.5rem, 6vh, 3.5rem); }

/* ---------- 24. Motion (§6) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.in > * { transition-delay: calc(var(--i, 0) * 80ms); }
/* opt-in child stagger (max 4 children, 80ms steps) */
.js .reveal--stagger > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal--stagger.in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::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; transform: none; }
  .js .hero-img { animation: none; }
}

/* ---------- 25. Print quiet ---------- */
@media print {
  .site-header, .burger, .skip-link, .band-cta .btn, .hero-cta { display: none !important; }
  body { background: #fff; color: var(--black); }
}
