/* The Scully Family Foundation — v2
   Direction: a field journal for search and care. Editorial serif, topographic lines,
   photographs of the places and animals the work is for, one warm "found" signal. */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/newsreader.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("/fonts/newsreader-italic.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/public-sans.woff2") format("woff2"); }

@view-transition { navigation: auto; }

:root {
  --evergreen: #14302b;
  --evergreen-2: #1b3d36;
  --evergreen-3: #2b5a50;
  --night: #0c1d19;
  --signal: #d9822b;
  --signal-2: #e9a35c;
  --on-dark: #eef3ec;
  --on-dark-muted: #a9bbb3;
  --on-dark-line: rgba(238, 243, 236, 0.16);

  --paper: #f4f2ec;
  --paper-2: #ebe8df;
  --paper-3: #e0dccf;
  --surface: #fbfaf6;
  --text: #17211e;
  --muted: #4d5a54;
  --line: #d3cfc2;
  --line-strong: #a9a594;
  --signal-ink: #9a5512;
  --signal-wash: #f8ead9;
  --ink: var(--evergreen);
  --btn-bg: var(--evergreen);
  --btn-bg-hover: var(--evergreen-2);
  --btn-ink: var(--on-dark);
  --header-bg: rgba(244, 242, 236, 0.9);
  --shadow-sm: 0 1px 2px rgba(20, 48, 43, 0.06), 0 4px 12px -6px rgba(20, 48, 43, 0.14);
  --shadow: 0 2px 4px rgba(20, 48, 43, 0.05), 0 24px 48px -24px rgba(20, 48, 43, 0.35);

  --display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--2: clamp(0.74rem, 0.73rem + 0.05vw, 0.78rem);
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.7rem, 1.4rem + 1.3vw, 2.6rem);
  --step-3: clamp(2.4rem, 1.7rem + 3.2vw, 4.6rem);
  --step-4: clamp(2.8rem, 1.6rem + 5.4vw, 6.6rem);

  --radius: 14px;
  --radius-lg: 22px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1b18; --paper-2: #12231f; --paper-3: #193029; --surface: #13241f;
    --text: #e6ece7; --muted: #a3b5ad; --line: #26392f; --line-strong: #3d554b;
    --signal-ink: #eaa865; --signal-wash: #2a2116;
    --ink: var(--on-dark); --btn-bg: var(--on-dark); --btn-bg-hover: #ffffff; --btn-ink: var(--evergreen);
    --header-bg: rgba(14, 27, 24, 0.88);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 4px 12px -6px rgba(0,0,0,.5);
    --shadow: 0 2px 4px rgba(0,0,0,.3), 0 24px 48px -24px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1b18; --paper-2: #12231f; --paper-3: #193029; --surface: #13241f;
  --text: #e6ece7; --muted: #a3b5ad; --line: #26392f; --line-strong: #3d554b;
  --signal-ink: #eaa865; --signal-wash: #2a2116;
  --ink: var(--on-dark); --btn-bg: var(--on-dark); --btn-bg-hover: #ffffff; --btn-ink: var(--evergreen);
  --header-bg: rgba(14, 27, 24, 0.88);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 4px 12px -6px rgba(0,0,0,.5);
  --shadow: 0 2px 4px rgba(0,0,0,.3), 0 24px 48px -24px rgba(0,0,0,.8);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  @view-transition { navigation: none; }
}
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--text);
  font: 400 var(--step-0)/1.65 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
main { flex: 1; }
img, svg, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--signal); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--signal) 35%, transparent); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); line-height: 1.2; }
h4 { font-family: var(--body); font-size: var(--step-0); font-weight: 600; letter-spacing: 0; }
h1 em, h2 em, .display em { color: var(--signal-ink); font-weight: 400; }
p, ul, ol, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.wrap-narrow { max-width: 860px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--evergreen); color: var(--on-dark); padding: 10px 14px; border-radius: 6px; z-index: 60; }
.skip:focus { top: 12px; }
.mt { margin-top: 14px; }
.mt-lg { margin-top: clamp(28px, 4vw, 48px); }
.h-sm { font-size: var(--step-1); }
.small { font-size: var(--step--1); color: var(--muted); }

/* Grain: a whisper of texture over everything */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  view-transition-name: site-header;
}
.has-hero .site-header { position: fixed; left: 0; right: 0; }
.js .has-hero .site-header.top { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--on-dark); }
.js .has-hero .site-header.top .brand, .js .has-hero .site-header.top .nav a, .js .has-hero .site-header.top .icon-btn { color: var(--on-dark); }
.js .has-hero .site-header.top .nav a:hover { background: rgba(238,243,236,.12); }
.js .has-hero .site-header.top .nav a[aria-current="page"] { background: rgba(238,243,236,.16); }
.js .has-hero .site-header.top .icon-btn { border-color: rgba(238,243,236,.3); }
.js .has-hero .site-header.top .icon-btn:hover { background: rgba(238,243,236,.12); }
.js .has-hero .site-header.top .nav .nav-cta { background: var(--on-dark); color: var(--evergreen); }
.header-row { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; margin-right: auto; }
.mark { width: 36px; height: 36px; flex: none; }
.brand-text { font-family: var(--display); font-size: 1.18rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.brand-text small { display: block; font-family: var(--body); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; opacity: .7; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; font-size: var(--step--1); font-weight: 500; padding: 8px 13px; border-radius: 999px; color: var(--muted); white-space: nowrap; transition: background-color .2s, color .2s; }
.nav a:hover { color: var(--text); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--paper-3); }
.nav .nav-cta, .nav .nav-cta[aria-current="page"] { color: var(--btn-ink); background: var(--btn-bg); margin-left: 8px; padding-inline: 18px; }
.nav .nav-cta:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }
.icon-btn { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; padding: 0; transition: background-color .2s, border-color .2s; }
.icon-btn:hover { background: var(--paper-2); border-color: var(--line-strong); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.menu-btn { display: none; }
.menu-btn .i-close { display: none; }
.site-header.open .menu-btn .i-open { display: none; }
.site-header.open .menu-btn .i-close { display: block; }
@media (max-width: 1040px) {
  .menu-btn { display: inline-grid; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .site-header.open { background: var(--paper) !important; color: var(--text) !important; border-color: var(--line) !important; }
  .site-header.open .brand, .site-header.open .icon-btn { color: var(--text) !important; border-color: var(--line) !important; }
  .site-header.open .nav { display: flex; }
  .site-header.open .nav a { color: var(--muted) !important; background: transparent !important; font-size: var(--step-1); font-family: var(--display); padding: 12px 14px; border-radius: 10px; }
  .site-header.open .nav a[aria-current="page"] { color: var(--text) !important; background: var(--paper-2) !important; }
  .site-header.open .nav .nav-cta { margin: 10px 0 0; text-align: center; color: var(--btn-ink) !important; background: var(--btn-bg) !important; font-family: var(--body); font-size: var(--step-0); }
}
@media (max-width: 440px) { .brand-text { font-size: 1rem; } .brand-text small { display: none; } .mark { width: 30px; height: 30px; } }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--step--2); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--signal-ink); }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.band-dark .eyebrow, .eyebrow.light, .hero .eyebrow, .page-hero .eyebrow, .give-card .eyebrow, .case-card .eyebrow { color: var(--signal-2); }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 54ch; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 var(--step--1)/1.2 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; text-align: center; transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arr { transform: translateX(3px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-bg-hover); box-shadow: var(--shadow-sm); }
.btn-quiet { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-quiet:hover { border-color: var(--text); }
.btn-signal { background: var(--signal); color: #1a1208; }
.btn-signal:hover { background: #e6913b; box-shadow: 0 10px 30px -10px rgba(217,130,43,.7); }
.btn-light { background: var(--on-dark); color: var(--evergreen); }
.btn-light:hover { background: #fff; }
.btn-ghost-light { border-color: rgba(238,243,236,.4); color: var(--on-dark); background: rgba(238,243,236,.04); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: var(--on-dark); background: rgba(238,243,236,.1); }
.btn-dark { background: #1a1208; color: #fbefe2; }
.btn-dark:hover { background: #000; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.arrow-link { font-weight: 600; font-size: var(--step--1); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.arrow-link::after { content: "\2192"; transition: transform .25s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }
.arrow-link:hover { text-decoration: underline; text-decoration-color: var(--signal); }
.band-dark .arrow-link, .case-card .arrow-link, .give-card .arrow-link { color: var(--on-dark); }

/* ---------- Photos ---------- */
.ph { position: relative; overflow: hidden; background: var(--evergreen-2); margin: 0; }
.ph picture, .ph img { width: 100%; height: 100%; }
.ph img { object-fit: cover; }
.credit { position: absolute; right: 12px; bottom: 10px; z-index: 2; font-size: 0.68rem; letter-spacing: .04em; color: rgba(238,243,236,.85); background: rgba(12,29,25,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 4px 10px; border-radius: 999px; max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.credit:hover { color: #fff; }

/* ---------- Topographic texture ---------- */
.topo { position: absolute; inset: -6%; background: url("/topo.svg") center / cover no-repeat; opacity: .16; pointer-events: none; animation: topo-drift 60s ease-in-out infinite alternate; }
@keyframes topo-drift { from { transform: translate3d(0,0,0) scale(1.02); } to { transform: translate3d(-2.5%, 1.5%, 0) scale(1.08); } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: max(660px, min(100svh, 1040px)); display: grid; align-items: end; color: var(--on-dark); background: var(--night); overflow: hidden; isolation: isolate; }
.hero > .ph { position: absolute; inset: 0; z-index: -3; }
.hero > .ph img { animation: hero-in 2.4s var(--ease) both; }
@keyframes hero-in { from { transform: scale(1.1); opacity: .3; } to { transform: scale(1.02); opacity: 1; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(180deg, rgba(12,29,25,.7) 0%, rgba(12,29,25,.12) 28%, rgba(12,29,25,.3) 55%, rgba(12,29,25,.95) 100%),
  linear-gradient(90deg, rgba(12,29,25,.78) 0%, rgba(12,29,25,.1) 70%); }
.hero .topo { z-index: -1; opacity: .12; mix-blend-mode: screen; }
.hero-inner { width: 100%; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(48px, 8vh, 96px); }
.hero h1 { font-size: clamp(2.7rem, 1.5rem + 4.4vw, 5.6rem); font-weight: 400; line-height: 1.0; letter-spacing: -0.025em; margin-top: 20px; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero h1 em { color: var(--signal-2); }
.hero .lede { color: rgba(238,243,236,.86); margin-top: 26px; max-width: 50ch; }
.hero .actions { margin-top: 34px; }
.hero .credit { right: var(--gutter); bottom: 14px; }
.hero-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-line > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero-line:nth-child(2) > span { animation-delay: .12s; }
.hero-line:nth-child(3) > span { animation-delay: .24s; }
.hero-line:nth-child(4) > span { animation-delay: .36s; }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
.fade-up { animation: fade-up 1s var(--ease) .45s both; }
.fade-up.d2 { animation-delay: .6s; }
.fade-up.d3 { animation-delay: .8s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .hero-inner { grid-template-columns: minmax(0, 1fr); } }

/* Found panel: 100 dots, one per person */
.found { justify-self: end; width: min(100%, 390px); padding: 26px 26px 22px; border-radius: var(--radius-lg); background: rgba(12,29,25,.5); border: 1px solid rgba(238,243,236,.16); backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.found-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.found-num { font: 400 clamp(4rem, 3rem + 4vw, 5.6rem)/0.85 var(--display); letter-spacing: -0.03em; font-variant-numeric: lining-nums tabular-nums; }
.found-label { font-size: var(--step--1); font-weight: 600; line-height: 1.35; text-align: right; max-width: 13ch; }
.dots { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; margin-top: 20px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--signal); }
.js .dots.armed i { opacity: .16; background: var(--on-dark); transition: opacity .35s, background-color .35s, transform .35s var(--ease); }
.js .dots.armed i.on { opacity: 1; background: var(--signal); }
.found-note { margin-top: 16px; font-size: var(--step--2); color: rgba(238,243,236,.72); letter-spacing: .02em; line-height: 1.5; }
@media (max-width: 900px) { .found { justify-self: start; } }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 22px; height: 36px; border-radius: 12px; border: 1.5px solid rgba(238,243,236,.45); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--on-dark); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
@media (max-width: 900px), (max-height: 760px) { .scroll-cue { display: none; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--evergreen); color: var(--on-dark); border-top: 1px solid var(--on-dark-line); overflow: hidden; padding-block: 20px; }
.ticker-track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; padding: 0; }
.ticker li { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; font: 400 var(--step-1)/1 var(--display); white-space: nowrap; }
.ticker li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.ticker li em { color: var(--signal-2); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Bands ---------- */
.band { position: relative; padding-block: clamp(76px, 10vw, 140px); }
.band-alt { background: var(--paper-2); }
.band-tight { padding-block: clamp(44px, 6vw, 72px); }
.band-dark { background: var(--evergreen); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.band-dark .topo { z-index: -1; }
.band-dark p { color: var(--on-dark-muted); }
.band-dark h2, .band-dark h3 { color: var(--on-dark); }
.band-dark h2 em { color: var(--signal-2); }
.band.ruled { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 66ch; }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.55; }
.band-dark .section-head p { color: var(--on-dark-muted); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head-row .section-head { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 6vw, 96px); }
@media (max-width: 820px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.prose { display: grid; gap: 18px; max-width: 66ch; align-content: start; }
.prose ul, .prose ol { padding-left: 1.25em; display: grid; gap: 8px; }
.legal h2 { margin-top: 18px; font-size: var(--step-1); }

/* ---------- Mission (editorial) ---------- */
.mission-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.pull { position: relative; font: 400 clamp(2rem, 1.3rem + 2.8vw, 3.7rem)/1.08 var(--display); letter-spacing: -0.02em; color: var(--ink); margin-top: 30px; }
.pull em { color: var(--signal-ink); }
.pull::before { content: "\201C"; position: absolute; left: -0.04em; top: -0.32em; font-size: 2.2em; line-height: 1; color: var(--signal); opacity: .25; }
.mission-copy { display: grid; gap: 18px; margin-top: 32px; max-width: 54ch; color: var(--muted); }
.mission-copy p:first-child { color: var(--text); font-size: var(--step-1); line-height: 1.55; }
.mission-copy .actions { margin-top: 8px; }
.collage { position: relative; aspect-ratio: 4 / 4.6; }
.collage .ph { position: absolute; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.collage .c1 { inset: 0 16% 24% 0; }
.collage .c2 { width: 54%; aspect-ratio: 4/5; right: 0; bottom: 0; outline: 8px solid var(--paper); }
.collage .ring-deco { position: absolute; width: 36%; aspect-ratio: 1; left: -8%; bottom: 0; border-radius: 50%; border: 1.5px dashed var(--signal); opacity: .8; animation: spin 60s linear infinite; z-index: -1; }
.collage .ring-deco::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1px solid var(--line-strong); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .mission-grid { grid-template-columns: minmax(0, 1fr); } .collage { width: 100%; max-width: 560px; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--on-dark-line); }
.stat { padding: 40px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--on-dark-line); }
.stat-num { font: 400 clamp(4.2rem, 2.6rem + 6vw, 8.4rem)/0.85 var(--display); letter-spacing: -0.035em; color: var(--on-dark); font-variant-numeric: lining-nums tabular-nums; }
.stat h3 { font-family: var(--body); font-size: var(--step-0); font-weight: 600; margin-top: 12px; }
.stat p { font-size: var(--step--1); max-width: 34ch; }
@media (max-width: 820px) { .stats { grid-template-columns: minmax(0, 1fr); } .stat, .stat + .stat { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--on-dark-line); } }

/* ---------- Focus areas (photo cards) ---------- */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.area-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(440px, 46vw, 580px); border-radius: var(--radius-lg); overflow: hidden; color: var(--on-dark); text-decoration: none; isolation: isolate; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.area-card .ph { position: absolute; inset: 0; z-index: -2; }
.area-card .ph img { transition: transform 1.2s var(--ease); }
.area-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,29,25,0) 22%, rgba(12,29,25,.5) 52%, rgba(12,29,25,.96) 100%); }
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.area-card:hover .ph img { transform: scale(1.06); }
.area-body { padding: 30px 28px; display: grid; gap: 12px; }
.area-tag { display: inline-flex; align-items: center; gap: 10px; font-size: var(--step--2); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--signal-2); }
.area-tag svg { width: 20px; height: 20px; padding: 6px; border-radius: 50%; background: rgba(238,243,236,.16); color: var(--on-dark); box-sizing: content-box; }
.area-card h3 { font-size: clamp(1.55rem, 1.2rem + 1vw, 2.05rem); }
.area-card p { color: rgba(238,243,236,.82); font-size: var(--step--1); line-height: 1.6; }
.area-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--step--1); margin-top: 4px; }
.area-more::after { content: "\2192"; transition: transform .3s var(--ease); }
.area-card:hover .area-more::after { transform: translateX(5px); }
.area-card .credit { top: 12px; bottom: auto; }
@media (max-width: 980px) { .areas { grid-template-columns: minmax(0, 1fr); } .area-card { min-height: 400px; } }

/* ---------- How we work: pipeline diagram ---------- */
.pipeline { position: relative; margin-top: 8px; }
.pipeline svg { width: 100%; height: auto; overflow: visible; }
.pipeline .p-dot { fill: var(--on-dark-muted); opacity: .5; }
.pipeline .p-line { stroke: rgba(238,243,236,.24); stroke-width: 1.2; fill: none; stroke-dasharray: 3 6; }
.pipeline .p-flow { stroke: var(--signal); stroke-width: 2.2; fill: none; stroke-dasharray: 14 1200; stroke-dashoffset: 1214; stroke-linecap: round; }
.pipeline .p-ring { fill: none; stroke: rgba(238,243,236,.4); stroke-width: 1.4; }
.pipeline .p-ring.dash { stroke-dasharray: 4 6; }
.pipeline .p-core { fill: var(--evergreen); stroke: var(--on-dark); stroke-width: 1.6; }
.pipeline .p-check { fill: none; stroke: var(--on-dark); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pipeline .p-found { fill: var(--signal); }
.pipeline .p-found-ring { fill: none; stroke: var(--signal); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: 0; }
.pipeline .p-home { fill: none; stroke: var(--on-dark); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.pipeline text { fill: var(--on-dark-muted); font: 700 11px var(--body); letter-spacing: .16em; }
.js .pipeline.in .p-flow { animation: flow 4s linear infinite; }
.js .pipeline.in .p-flow.f2 { animation-delay: 1s; }
.js .pipeline.in .p-flow.f3 { animation-delay: 2s; }
.js .pipeline.in .p-flow.f4 { animation-delay: 3s; }
@keyframes flow { from { stroke-dashoffset: 1214; } to { stroke-dashoffset: 0; } }
.js .pipeline.in .p-found-ring { animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.js .pipeline.in .p-dot { animation: twinkle 3s ease-in-out infinite; }
.js .pipeline.in .p-dot:nth-of-type(3n) { animation-delay: 1s; }
.js .pipeline.in .p-dot:nth-of-type(3n+1) { animation-delay: 2s; }
@keyframes twinkle { 50% { opacity: 1; } }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 36px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--on-dark-line); }
.steps li::before { content: "0" counter(step); font: 700 var(--step--2)/1 var(--body); letter-spacing: .16em; color: var(--signal-2); }
.steps h3 { font-size: 1.55rem; color: var(--on-dark); }
.steps p { font-size: var(--step--1); line-height: 1.6; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pipeline text { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Urgent band ---------- */
.alert-band { position: relative; background: var(--signal); color: #1a1208; overflow: hidden; isolation: isolate; }
.alert-band::before { content: ""; position: absolute; right: -10%; top: 50%; width: min(70vw, 760px); aspect-ratio: 1; transform: translateY(-50%); z-index: -1; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 34px, rgba(26,18,8,.12) 34px 35.5px); }
.alert-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 48px; align-items: center; padding-block: clamp(52px, 7vw, 88px); }
.alert-band .kicker { font-size: var(--step--2); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; gap: 10px; align-items: center; }
.alert-band .kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #1a1208; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.alert-band h2 { font-size: var(--step-3); font-weight: 400; letter-spacing: -0.025em; color: #1a1208; margin-top: 14px; }
.alert-band h2 em { color: #1a1208; }
.alert-band p { margin-top: 16px; font-size: var(--step-1); line-height: 1.5; max-width: 52ch; color: #2b1d0c; }
.alert-band .actions { justify-content: flex-end; }
.alert-band .btn-quiet { border-color: rgba(26,18,8,.45); color: #1a1208; }
.alert-band .btn-quiet:hover { border-color: #1a1208; }
@media (max-width: 860px) { .alert-inner { grid-template-columns: minmax(0, 1fr); } .alert-band .actions { justify-content: flex-start; } }

/* ---------- Programs explorer ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(20px, 4vw, 52px); align-items: start; }
.tabs { display: grid; gap: 10px; position: sticky; top: calc(var(--header-h) + 24px); }
.tab { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; transition: border-color .25s, background-color .25s, box-shadow .25s, transform .25s var(--ease); }
.tab:hover { border-color: var(--line-strong); transform: translateX(3px); }
.tab[aria-selected="true"] { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.tab-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); transition: background-color .25s, color .25s; }
.tab[aria-selected="true"] .tab-ico { background: var(--signal); color: #1a1208; }
.tab-ico svg { width: 24px; height: 24px; }
.tab-t { font: 500 1.15rem/1.2 var(--display); }
.tab-n { font-size: var(--step--2); color: var(--muted); font-weight: 700; letter-spacing: .1em; }
.panels { min-width: 0; display: grid; gap: 24px; }
.panel { display: grid; gap: 14px; }
.js .panel[hidden] { display: none; }
.js .panel.show { animation: fade-up .5s var(--ease) both; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.panel-head h3 { font-size: var(--step-2); }
.prog { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s, transform .3s var(--ease); }
.prog:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.prog-n { font: italic 400 2.2rem/1 var(--display); color: var(--signal-ink); }
.prog h4 { font-family: var(--display); font-size: 1.4rem; font-weight: 500; margin-bottom: 8px; }
.prog p { color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 700 var(--step--2)/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid currentColor; }
@media (max-width: 900px) {
  .explorer { grid-template-columns: minmax(0, 1fr); }
  .tabs { position: static; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .tab { scroll-snap-align: start; }
  .tab:hover { transform: none; }
}

/* ---------- Get involved split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 88px); align-items: stretch; }
.split > .ph { border-radius: var(--radius-lg); min-height: 480px; box-shadow: var(--shadow); }
.ways { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--line); margin-top: 28px; }
.ways a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 26px 4px; border-bottom: 1px solid var(--line); text-decoration: none; border-radius: 0; transition: padding .35s var(--ease), background-color .35s, border-radius .35s; }
.ways a:hover { padding-left: 18px; padding-right: 18px; background: var(--paper-2); border-radius: 12px; }
.ways h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 400; }
.ways p { grid-column: 1; color: var(--muted); font-size: var(--step--1); max-width: 52ch; }
.ways .go { grid-row: 1 / span 2; grid-column: 2; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background-color .3s, color .3s, transform .35s var(--ease), border-color .3s; }
.ways .go svg { width: 18px; height: 18px; }
.ways a:hover .go { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); transform: rotate(-45deg); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split > .ph { min-height: 320px; } }

/* ---------- Contact band ---------- */
.contact-band { text-align: center; }
.contact-band .eyebrow, .quote-band .eyebrow { display: flex; justify-content: center; }
.big-email { display: inline-block; margin-top: 26px; font: 400 clamp(1.5rem, 0.6rem + 3.8vw, 4.4rem)/1.1 var(--display); letter-spacing: -0.02em; color: var(--on-dark); text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(var(--signal), var(--signal)) left 100% / 0 2px no-repeat; transition: background-size .6s var(--ease); padding-bottom: 8px; }
.big-email:hover { background-size: 100% 2px; }
.contact-band p { margin: 20px auto 0; max-width: 46ch; }
.contact-band .actions { justify-content: center; margin-top: 32px; }
.copy { font: 600 var(--step--1) var(--body); color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 999px; padding: 12px 20px; cursor: pointer; opacity: .85; transition: opacity .2s; min-height: 46px; }
.copy:hover { opacity: 1; }

/* ---------- Footer ---------- */
.hills-wrap { line-height: 0; background: var(--paper); }
.hills-wrap.on-dark { background: var(--evergreen); }
.hills { display: block; width: 100%; height: clamp(60px, 9vw, 150px); }
.hills .h1 { fill: var(--evergreen-3); opacity: .5; }
.hills .h2 { fill: var(--evergreen-2); }
.hills .h3 { fill: var(--night); }
.site-footer { position: relative; background: var(--night); color: var(--on-dark-muted); font-size: var(--step--1); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: 28px 44px; }
.footer-grid h2 { font-family: var(--body); font-size: var(--step--2); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--on-dark-muted); text-decoration: none; }
.footer-grid a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--signal); }
.footer-brand { display: grid; gap: 16px; max-width: 40ch; align-content: start; }
.footer-brand .brand { color: var(--on-dark); }
.footer-brand .tagline { font: italic 400 1.35rem/1.3 var(--display); color: var(--on-dark); }
.wordmark { font: 400 min(8.4vw, 9.6rem)/0.9 var(--display); letter-spacing: -0.045em; color: transparent; -webkit-text-stroke: 1px rgba(238,243,236,.16); white-space: nowrap; user-select: none; text-align: center; margin-bottom: -0.14em; overflow: hidden; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--on-dark-line); }
.footer-base a { color: inherit; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .has-sos .site-footer { padding-bottom: 80px; } }

/* ---------- Inner page heads ---------- */
.page-hero { position: relative; color: var(--on-dark); background: var(--night); overflow: hidden; isolation: isolate; min-height: clamp(480px, 66vh, 680px); display: grid; align-items: end; }
.page-hero > .ph { position: absolute; inset: 0; z-index: -3; }
.page-hero > .ph img { animation: hero-in 2s var(--ease) both; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(12,29,25,.72) 0%, rgba(12,29,25,.2) 38%, rgba(12,29,25,.93) 100%), linear-gradient(90deg, rgba(12,29,25,.72), rgba(12,29,25,0) 72%); }
.page-hero .topo { z-index: -1; mix-blend-mode: screen; opacity: .18; }
.page-hero > .wrap { padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { font-size: var(--step-4); font-weight: 400; letter-spacing: -0.025em; max-width: 15ch; margin-top: 20px; }
.page-hero h1 em { color: var(--signal-2); }
.page-hero .lede { color: rgba(238,243,236,.86); margin-top: 24px; }
.page-hero .actions { margin-top: 32px; }
.page-hero .credit { right: var(--gutter); bottom: 14px; }
.page-hero.plain { min-height: clamp(380px, 50vh, 520px); background: var(--evergreen); }
.page-hero.plain::before { background: radial-gradient(ellipse at 80% 20%, rgba(43,90,80,.6), transparent 60%); }
.page-hero.plain .topo { opacity: .22; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: var(--step--2); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: rgba(238,243,236,.72); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--on-dark); }
.crumbs span[aria-hidden] { opacity: .5; }
.crumbs [aria-current] { color: var(--signal-2); }

/* ---------- Work page rows ---------- */
.area-rows { display: grid; gap: clamp(72px, 10vw, 130px); }
.area-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.area-row:nth-child(even) > .ph { order: 2; }
.area-row > .ph { border-radius: var(--radius-lg); aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.area-row .num { font: italic 400 clamp(1.2rem, 1rem + .6vw, 1.5rem)/1 var(--display); color: var(--signal-ink); display: flex; align-items: center; gap: 14px; }
.area-row .num::after { content: ""; height: 1px; width: 60px; background: var(--line-strong); }
.area-row h2 { margin: 18px 0 20px; font-size: var(--step-3); font-weight: 400; }
.area-row p { color: var(--muted); max-width: 54ch; font-size: var(--step-0); }
.area-row p.big { color: var(--text); font-size: var(--step-1); line-height: 1.55; }
.area-row p + p { margin-top: 14px; }
.area-row .actions { margin-top: 28px; }
@media (max-width: 860px) { .area-row { grid-template-columns: minmax(0, 1fr); } .area-row:nth-child(even) > .ph { order: 0; } }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.principle { position: relative; padding: 34px 30px; border-radius: var(--radius-lg); border: 1px solid var(--on-dark-line); background: rgba(238,243,236,.035); backdrop-filter: blur(4px); }
.principle .p-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(217,130,43,.16); color: var(--signal-2); margin-bottom: 24px; }
.principle .p-ico svg { width: 26px; height: 26px; }
.principle h3 { margin-bottom: 10px; font-size: 1.6rem; }
@media (max-width: 860px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Help guide ---------- */
.help-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 2px; font-size: var(--step--1); }
.toc-label { font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-size: var(--step--2); margin-bottom: 10px; }
.toc a { text-decoration: none; color: var(--muted); padding: 9px 14px; border-left: 2px solid var(--line); transition: color .2s, border-color .2s, background-color .2s; }
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--text); border-left-color: var(--signal); background: var(--paper-2); font-weight: 600; }
.progress { margin-top: 20px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: none; gap: 10px; }
.js .progress { display: grid; }
.progress-bar { height: 6px; border-radius: 6px; background: var(--paper-3); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; background: var(--signal); border-radius: 6px; transition: width .5s var(--ease); }
.progress p { font-size: var(--step--2); color: var(--muted); line-height: 1.5; }
.progress strong { color: var(--text); font-size: var(--step--1); }
.progress .actions { gap: 8px; }
.progress button { font: 600 var(--step--2)/1 var(--body); padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; }
.progress button:hover { border-color: var(--text); }
@media (max-width: 900px) { .help-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } .toc a, .toc-label { display: none; } .progress { margin-top: 0; } }

.guide-section { padding-bottom: clamp(56px, 8vw, 96px); }
.guide-section + .guide-section { border-top: 1px solid var(--line); padding-top: clamp(56px, 8vw, 96px); }
.guide-section > h2 { margin: 16px 0 16px; font-size: var(--step-3); font-weight: 400; }
.guide-section > p.intro { color: var(--muted); max-width: 62ch; margin-bottom: 36px; font-size: var(--step-1); line-height: 1.55; }

.checklist { list-style: none; padding: 0; display: grid; gap: 14px; counter-reset: chk; }
.checklist > li { counter-increment: chk; position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 20px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s, background-color .3s, box-shadow .3s; }
.checklist > li:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.checklist > li::before { content: counter(chk); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line-strong); font: 500 1.35rem/1 var(--display); color: var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
.checklist > li.first { border-color: color-mix(in srgb, var(--signal) 55%, transparent); background: var(--signal-wash); }
.checklist > li.first::before { background: var(--signal); border-color: var(--signal); color: #1a1208; }
.checklist > li.done { background: var(--paper-2); }
.checklist > li.done::before { content: "\2713"; background: var(--evergreen-3); border-color: var(--evergreen-3); color: var(--on-dark); font-family: var(--body); font-size: 1.1rem; }
.checklist > li.done h3 { text-decoration: line-through; text-decoration-color: var(--line-strong); text-decoration-thickness: 1.5px; color: var(--muted); }
.checklist h3 { font-size: 1.4rem; margin-bottom: 8px; }
.checklist p, .checklist li li { color: var(--muted); }
.checklist ul { padding-left: 1.1em; margin-top: 12px; display: grid; gap: 6px; columns: 2; column-gap: 28px; }
.checklist ul li { break-inside: avoid; }
.check-toggle { display: none; align-self: start; align-items: center; gap: 8px; font: 600 var(--step--2)/1 var(--body); letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: 10px 14px; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.js .check-toggle { display: inline-flex; }
.check-toggle:hover { border-color: var(--text); color: var(--text); }
.check-toggle[aria-pressed="true"] { background: var(--evergreen-3); border-color: var(--evergreen-3); color: var(--on-dark); }
@media (max-width: 680px) { .checklist ul { columns: 1; } .checklist > li { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 22px; } .check-toggle { justify-self: start; } }

.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.resource { display: grid; gap: 8px; align-content: start; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.resource .r-for { font-size: var(--step--2); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--signal-ink); }
.resource h3 { font-size: 1.45rem; }
.resource p { color: var(--muted); font-size: var(--step--1); }
.resource .r-reach { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-weight: 600; font-size: var(--step--1); color: var(--text); text-decoration: none; font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s; }
.pill:hover { border-color: var(--ink); background: var(--paper-3); }
.pill svg { width: 15px; height: 15px; }
.resource.emph { background: var(--evergreen); color: var(--on-dark); border-color: var(--evergreen); }
.resource.emph p { color: var(--on-dark-muted); }
.resource.emph .r-for { color: var(--signal-2); }
.resource.emph .pill { background: var(--signal); border-color: var(--signal); color: #1a1208; }
@media (max-width: 760px) { .resource-grid { grid-template-columns: minmax(0, 1fr); } }

.animal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.animal-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s, transform .4s var(--ease); }
.animal-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.animal-card .ph { aspect-ratio: 16 / 8; }
.animal-card .body { padding: 24px 26px 28px; display: grid; gap: 12px; align-content: start; }
.animal-card h3 { font-size: 1.45rem; }
.animal-card ul { padding-left: 1.15em; display: grid; gap: 6px; color: var(--muted); font-size: var(--step--1); }
.animal-card p { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 760px) { .animal-grid { grid-template-columns: minmax(0, 1fr); } }

.case-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding: clamp(28px, 4.5vw, 52px); border-radius: var(--radius-lg); background: var(--evergreen); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.case-card p { color: var(--on-dark-muted); margin-top: 12px; max-width: 58ch; }
.case-card h3 { font-size: var(--step-2); color: var(--on-dark); margin-top: 14px; }
.case-card .topo { z-index: -1; opacity: .14; }
@media (max-width: 760px) { .case-card { grid-template-columns: minmax(0, 1fr); } }

.sos-bar { display: none; }
@media (max-width: 760px) {
  .sos-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 45; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(12,29,25,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,.35); transform: translateY(150%); transition: transform .45s var(--ease); }
  .sos-bar.show { transform: none; }
  .sos-bar a { flex: 1; min-height: 46px; padding: 0 12px; }
}

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.value { padding: 36px 30px 36px 0; display: grid; gap: 14px; align-content: start; }
.value + .value { padding-left: 30px; border-left: 1px solid var(--line); }
.value .v-n { font: italic 400 1.15rem/1 var(--display); color: var(--signal-ink); }
.value h3 { font-size: 1.7rem; }
.value p { color: var(--muted); }
@media (max-width: 860px) { .values { grid-template-columns: minmax(0, 1fr); } .value, .value + .value { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

.record { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.record::before { content: ""; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 18px, color-mix(in srgb, var(--signal) 24%, transparent) 18px 19px); opacity: .7; }
.record-head { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.record-head h3 { font-size: 1.7rem; }
.record-head p { font-size: var(--step--2); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.seal { flex: none; width: 78px; height: 78px; color: var(--ink); position: relative; }
.facts { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); border-top: 1px solid var(--line); position: relative; }
.facts dt, .facts dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: var(--step--1); font-weight: 600; padding-right: 16px; }
.facts dd { overflow-wrap: anywhere; }
.facts dd.mono { font-variant-numeric: tabular-nums; letter-spacing: .06em; font-weight: 700; }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } .facts dt { border-bottom: 0; padding-bottom: 0; } .facts dd { padding-top: 4px; } }

.roadmap { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.roadmap li { position: relative; padding: 0 20px 0 0; display: grid; gap: 8px; align-content: start; }
.roadmap li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(238,243,236,.35); background: var(--evergreen); position: relative; z-index: 1; margin-bottom: 18px; }
.roadmap li::after { content: ""; position: absolute; top: 11px; left: 24px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(238,243,236,.3) 0 6px, transparent 6px 12px); }
.roadmap li:last-child::after { display: none; }
.roadmap li.done::before { background: var(--on-dark); border-color: var(--on-dark); }
.roadmap li.done::after { background: var(--on-dark); }
.roadmap li.now::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 7px rgba(217,130,43,.25); }
.roadmap .when { font-size: var(--step--2); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.roadmap li.now .when { color: var(--signal-2); }
.roadmap h3 { font-size: 1.25rem; color: var(--on-dark); }
.roadmap p { font-size: var(--step--1); line-height: 1.55; }
@media (max-width: 960px) {
  .roadmap { grid-template-columns: minmax(0, 1fr); }
  .roadmap li { padding: 0 0 32px 48px; }
  .roadmap li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .roadmap li::after { top: 24px; bottom: 0; left: 11px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(238,243,236,.3) 0 6px, transparent 6px 12px); }
}

/* ---------- Get involved ---------- */
.role-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.role { padding: 28px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.role .r-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--evergreen); color: var(--on-dark); margin-bottom: 10px; }
.role .r-ico svg { width: 24px; height: 24px; }
.role h3 { font-size: 1.4rem; }
.role p { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 980px) { .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .role-grid { grid-template-columns: minmax(0, 1fr); } }

.give-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(30px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--evergreen); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.give-card .topo { z-index: -1; opacity: .14; }
.give-card h2 { color: var(--on-dark); margin: 16px 0 18px; }
.give-card p { color: var(--on-dark-muted); }
.give-card p + p { margin-top: 14px; }
.give-card .actions { margin-top: 26px; }
.status-steps { list-style: none; padding: 0; display: grid; align-content: start; }
.status-steps .st-label { font-size: var(--step--2); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); padding-bottom: 12px; border-bottom: 1px solid var(--on-dark-line); display: block; }
.status-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--on-dark-line); color: var(--on-dark-muted); font-size: var(--step--1); align-items: center; }
.status-steps li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(238,243,236,.35); justify-self: center; }
.status-steps li.done { color: var(--on-dark); }
.status-steps li.done::before { background: var(--on-dark); border-color: var(--on-dark); }
.status-steps li.now { color: var(--on-dark); font-weight: 600; }
.status-steps li.now::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 5px rgba(217,130,43,.25); }
.notice { border-left: 3px solid var(--signal); padding: 14px 18px; background: rgba(217,130,43,.14); border-radius: 0 12px 12px 0; color: var(--on-dark) !important; }
.notice.light { background: var(--signal-wash); color: var(--text) !important; }
@media (max-width: 860px) { .give-card { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Forms (mail composer) ---------- */
.composer { display: grid; gap: 20px; padding: clamp(24px, 3.5vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.composer-head { display: grid; gap: 8px; margin-bottom: 4px; }
.composer-head h2 { font-size: var(--step-2); }
.composer-head p { color: var(--muted); font-size: var(--step--1); }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field label, .field legend { font-weight: 600; font-size: var(--step--1); padding: 0; }
.field .hint { font-size: var(--step--2); color: var(--muted); font-weight: 400; margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; font: 400 var(--step-0)/1.4 var(--body); color: var(--text); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-height: 52px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal) 22%, transparent); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.topic-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin-top: 4px; }
.topic-picker label { position: relative; display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; background: var(--paper); font-weight: 600; font-size: var(--step--1); line-height: 1.3; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.topic-picker label:hover { border-color: var(--text); }
.topic-picker input { position: absolute; opacity: 0; pointer-events: none; }
.topic-picker label:has(input:checked) { border-color: var(--ink); background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--ink); }
.topic-picker label:has(input:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.topic-picker svg { width: 22px; height: 22px; color: var(--signal-ink); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: var(--step--1); padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; background: var(--paper); transition: border-color .2s, background-color .2s; }
.checks input { accent-color: var(--evergreen-3); width: 16px; height: 16px; margin: 0; min-height: 0; }
.checks label:has(input:checked) { border-color: var(--ink); background: var(--paper-3); }
.case-fields { display: grid; gap: 18px; padding: 22px; border-radius: 14px; background: var(--signal-wash); border: 1px solid color-mix(in srgb, var(--signal) 40%, transparent); }
.case-fields[hidden] { display: none; }
.case-fields .cf-title { font-weight: 700; font-size: var(--step--2); letter-spacing: .14em; text-transform: uppercase; color: var(--signal-ink); }
.composer-out { display: none; gap: 10px; padding: 16px; border-radius: 12px; background: var(--paper-2); border: 1px dashed var(--line-strong); font-size: var(--step--1); }
.composer-out.show { display: grid; }
.composer-out pre { margin: 0; white-space: pre-wrap; font: 400 var(--step--1)/1.55 var(--body); color: var(--text); max-height: 260px; overflow: auto; }

.info-stack { display: grid; gap: 14px; align-content: start; }
.info-card { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; }
.info-card h3 { font-size: 1.45rem; }
.info-card p { color: var(--muted); font-size: var(--step--1); }
.info-card.sos { background: var(--signal); border-color: var(--signal); color: #1a1208; }
.info-card.sos p { color: #2b1d0c; }
.info-card.sos a { color: #1a1208; }
.info-card .email-line { font: 400 clamp(1.25rem, 1rem + .8vw, 1.7rem)/1.2 var(--display); color: var(--ink); overflow-wrap: anywhere; text-decoration-color: var(--signal); }
.info-card .copy { justify-self: start; }

/* ---------- Quote band ---------- */
.quote-band { text-align: center; }
.quote-band .eyebrow { justify-content: center; }
.quote-band blockquote { font: italic 400 clamp(1.9rem, 1.1rem + 3vw, 3.8rem)/1.12 var(--display); letter-spacing: -0.015em; max-width: 22ch; margin: 22px auto 0; color: var(--on-dark); }
.quote-band blockquote em { color: var(--signal-2); font-style: normal; }

/* 404 */
.notfound { min-height: 72vh; display: grid; align-content: center; gap: 20px; padding-block: 120px 80px; position: relative; }
.notfound .big404 { font: 400 clamp(7rem, 4rem + 14vw, 16rem)/0.8 var(--display); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); }
.notfound p { color: var(--muted); max-width: 46ch; font-size: var(--step-1); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-img img { clip-path: inset(100% 0 0 0); transform: scale(1.15); transition: clip-path 1.3s var(--ease), transform 1.8s var(--ease); }
.js .reveal-img.in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.d1 { --d: .1s; } .d2 { --d: .2s; } .d3 { --d: .3s; }

@media print {
  .site-header, .site-footer, .hills-wrap, .ticker, .sos-bar, .composer, .toc, .topo, .scroll-cue, .check-toggle, .alert-band::before { display: none !important; }
  body { background: #fff; color: #000; }
  body::after { display: none; }
  .page-hero, .hero { min-height: 0; background: #fff; color: #000; }
  .page-hero > .ph, .hero > .ph, .page-hero::before, .hero::before { display: none; }
  .page-hero h1, .page-hero .lede, .page-hero .crumbs { color: #000; }
  .band { padding-block: 24px; }
  .js .reveal { opacity: 1; transform: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}

/* ---------- Additions ---------- */
.hills-wrap.on-signal { background: var(--signal); }
.quote-band .center-p { margin: 22px auto 0; max-width: 48ch; text-align: center; }
.center-actions { justify-content: center; margin-top: 30px; }
.status-steps li.st { display: block; padding: 0; border: 0; }
.status-steps li.st::before { display: none; }
.credit-list { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.credit-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.credit-row:target { background: var(--signal-wash); }
.credit-thumb { aspect-ratio: 3 / 2; border-radius: 10px; }
.credit-row h3 { font-size: 1.15rem; margin-bottom: 4px; overflow-wrap: anywhere; }
.credit-row p { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 560px) { .credit-row { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; } }
.pos-top { object-position: 50% 20%; } .pos-bottom { object-position: 50% 80%; } .pos-left { object-position: 25% 50%; } .pos-right { object-position: 75% 50%; } .pos-center { object-position: 50% 50%; }
/* Eyebrow specificity (beats section/band paragraph styles) */
body p.eyebrow, body span.eyebrow { font-size: var(--step--2); line-height: 1.4; color: var(--signal-ink); }
body :is(.band-dark, .hero, .page-hero, .give-card, .case-card, .quote-band) .eyebrow { color: var(--signal-2); }
.pull { margin-top: 48px; }
@media (prefers-reduced-motion: reduce) { .pipeline .p-flow { display: none; } .hero > .ph img, .page-hero > .ph img { animation: none; transform: none; opacity: 1; } }
