/* ==========================================================================
   Great Plains Restoration Council — site styles
   ========================================================================== */

@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2-variations"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("../fonts/mona-sans-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 200 900; font-style: normal; font-display: swap; }

:root {
  --bg: #fbf3e6;
  --bg-soft: #f8f5ef;
  --paper: #fffcf8;
  --ink: #12110e;
  --ink-2: #3a372f;
  --muted: #9b8b73;
  --muted-2: #8d8d8d;
  --line: rgba(18, 17, 14, .14);
  --accent: #e7e72b;
  --green: #8db840;
  --sand: #c9a15d;
  --sage: #6f8d5f;
  --sky: #587a8c;
  --dark: #12110e;

  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --f-sans: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(16px, 2.4vw, 36px);
  --gutter: clamp(16px, 2vw, 28px);
  --radius: 4px;
  --footer-h: 560px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--dark);
  color: var(--ink);
  font-family: var(--f-serif);
  font-optical-sizing: auto;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe, svg { display: block; max-width: 100%; }
img { height: auto; }
.img-fade { opacity: 0; transition: opacity .9s var(--ease); }
.img-fade.is-loaded { opacity: 1; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 10000; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px; font: 500 13px/1 var(--f-sans); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- grain + page wrapper (footer is revealed underneath) ---------- */
.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  background-color: var(--bg);
  background-image: url("../images/noise.png");
  background-size: 128px 128px;
  margin-bottom: var(--footer-h);
  overflow-x: clip;
}
.page > * { position: relative; z-index: 1; }
.page--soft { background-color: var(--bg-soft); }

/* smooth scroll (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .45s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: vt-in .7s cubic-bezier(.2,.7,.1,1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
.page-fade { position: fixed; inset: 0; z-index: 9999; background: var(--bg); pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); }
.is-leaving .page-fade { opacity: 1; }

/* ---------- brand mark ---------- */
.brand {
  position: absolute; z-index: 30; left: 50%; top: 18px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none;
}
.brand__g { width: 30px; height: 30px; background: var(--ink); -webkit-mask: url("../images/2017/09/cropped-g.png") center/contain no-repeat; mask: url("../images/2017/09/cropped-g.png") center/contain no-repeat; }
.brand__dots { display: flex; gap: 4px; }
.brand__dots i { width: 6px; height: 6px; display: block; }
.brand__dots i:nth-child(1) { background: var(--sand); }
.brand__dots i:nth-child(2) { background: var(--green); }
.brand__dots i:nth-child(3) { background: var(--sky); }
.on-dark .brand__g { background: #fff; }

/* ---------- menu button + panel ---------- */
.menu-btn {
  position: fixed; z-index: 120; top: 14px; right: var(--pad);
  display: flex; align-items: center; gap: 10px;
  font: 500 11px/1 var(--f-sans); letter-spacing: .06em; text-transform: uppercase;
}
.menu-btn__label { opacity: 0; transform: translateX(6px); transition: opacity .4s, transform .4s var(--ease); }
.is-scrolled .menu-btn__label { opacity: 1; transform: none; }
.menu-btn__icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 252, 248, .9); box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.06);
  display: grid; place-items: center; transition: transform .3s var(--ease), background .3s;
}
.menu-btn__icon span { display: block; width: 11px; height: 1.5px; background: var(--ink); box-shadow: 0 -4px 0 var(--ink); transform: translateY(2px); }
.menu-btn:hover .menu-btn__icon { transform: scale(1.08); }
.is-dark-under .menu-btn { color: #fff; }

.menu-mask { position: fixed; inset: 0; z-index: 130; background: rgba(255,255,255,.3); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.menu {
  position: fixed; z-index: 140; top: 10px; right: 10px;
  width: min(420px, calc(100vw - 20px)); max-height: calc(100vh - 20px);
  background: var(--paper); border-radius: 6px; box-shadow: 0 10px 60px rgba(0,0,0,.18);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(-8px) scale(.985); transform-origin: top right; pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.menu-open .menu { opacity: 1; transform: none; pointer-events: auto; }
.menu-open .menu-mask { opacity: 1; pointer-events: auto; }
.menu__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); font: 500 11px/1 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; }
.menu__close { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.menu__close:hover { background: rgba(0,0,0,.05); }
.menu__body { overflow-y: auto; overscroll-behavior: contain; }
.menu__group { border-bottom: 1px solid var(--line); }
.menu__item { display: grid; grid-template-columns: 30px 1fr; padding: 16px 20px 14px; text-decoration: none; position: relative; }
.menu__item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ink); transform: scaleY(0); transition: transform .3s var(--ease); }
.menu__item:hover::before, .menu__item[aria-current="page"]::before { transform: scaleY(1); }
.menu__num { font: 400 10px/1.9 var(--f-sans); color: var(--muted-2); }
.menu__title { font: 500 clamp(18px, 1.6vw, 21px)/1.12 var(--f-sans); letter-spacing: -.01em; }
.menu__sub { display: block; margin-top: 6px; font: 400 10.5px/1.3 var(--f-sans); color: var(--muted-2); }
.menu__links { list-style: none; margin: 0; padding: 0 20px 14px 50px; display: grid; gap: 7px; }
.menu__links a { font: 450 13px/1.25 var(--f-sans); text-decoration: none; color: var(--ink-2); }
.menu__links a:hover, .menu__links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.menu__foot { padding: 16px 20px 18px; display: grid; gap: 8px; font: 500 11px/1.2 var(--f-sans); }
.menu__foot a { text-decoration: none; }
.menu__foot a:hover { text-decoration: underline; }

/* ---------- right-side progress rail ---------- */
.rail {
  position: fixed; z-index: 100; right: var(--pad); top: 50%; transform: translateY(-50%);
  width: 34px; padding: 6px 0 10px; border-radius: 999px;
  background: rgba(255, 252, 248, .85); box-shadow: 0 2px 14px rgba(0,0,0,.07);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; transition: opacity .4s;
}
.is-scrolled .rail { opacity: 1; }
.rail__list { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.rail__list:hover { background: rgba(0,0,0,.05); }
.rail__dots { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.rail__dot { width: 3px; height: 3px; border-radius: 3px; background: rgba(18,17,14,.28); transition: height .35s var(--ease), background .3s; }
.rail__dot.is-active { height: 18px; background: var(--ink); }
.rail__dot.is-done { background: rgba(18,17,14,.55); }
.rail__tip { position: absolute; right: 44px; white-space: nowrap; font: 500 11px/1 var(--f-sans); background: var(--ink); color: #fff; padding: 7px 10px; border-radius: 999px; opacity: 0; pointer-events: none; transform: translateX(6px); transition: .25s; }
.rail__dot-wrap { position: relative; display: grid; place-items: center; width: 26px; min-height: 8px; text-decoration: none; }
.rail__dot-wrap:hover .rail__tip { opacity: 1; transform: none; }

/* ---------- bottom pill ---------- */
.pill-bar {
  position: fixed; z-index: 100; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: 999px;
  background: rgba(255, 252, 248, .94);
  box-shadow: 0 2px 18px rgba(0,0,0,.08);
  font: 500 11px/1 var(--f-sans); text-transform: uppercase; letter-spacing: .04em;
  opacity: 0; translate: 0 14px; transition: opacity .6s var(--ease), translate .8s var(--ease);
}
.is-scrolled .pill-bar { opacity: 1; translate: 0 0; }
.pill-bar__count { padding: 0 10px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.pill-bar__count b { color: var(--ink); font-weight: 500; }
.pill-bar__cta { display: flex; align-items: center; gap: 10px; background: var(--paper); padding: 9px 9px 9px 16px; border-radius: 999px; text-decoration: none; }
.pill-bar__cta .arrow { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; transition: transform .3s var(--ease); }
.pill-bar__cta:hover .arrow { transform: rotate(45deg); }

/* ---------- common type ---------- */
.label { display: inline-flex; align-items: center; gap: 12px; font: 400 13px/1 var(--f-serif); letter-spacing: .02em; }
.label__num { font-variant-numeric: tabular-nums; }
.label__tag { font: 500 10.5px/1 var(--f-sans); letter-spacing: .07em; text-transform: uppercase; }
.display { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: -.018em; line-height: .88; margin: 0; }
.display em { font-style: italic; }
.h-xl { font-family: var(--f-serif); font-weight: 380; font-size: clamp(38px, 4.6vw, 72px); line-height: 1.04; letter-spacing: -.025em; margin: 0; }
.h-lg { font-family: var(--f-serif); font-weight: 380; font-size: clamp(30px, 3.1vw, 48px); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.h-md { font-family: var(--f-serif); font-weight: 400; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.18; letter-spacing: -.015em; margin: 0; }
.h-xl em, .h-lg em, .h-md em { font-style: italic; }
.lead { font-size: clamp(21px, 1.8vw, 27px); line-height: 1.34; letter-spacing: -.01em; }
.big-text { font-size: clamp(24px, 2.55vw, 38px); line-height: 1.26; letter-spacing: -.018em; font-weight: 380; }
.muted { color: var(--muted); }
.italic { font-style: italic; }
.small-caps { font: 500 11px/1.2 var(--f-sans); letter-spacing: .07em; text-transform: uppercase; }

.btn {
  display: inline-flex; align-items: center; gap: 4px; text-decoration: none;
  font: 500 12px/1 var(--f-sans); text-transform: uppercase; letter-spacing: .04em;
}
.btn__txt { background: var(--paper); color: var(--ink); padding: 12px 16px; border-radius: 999px; transition: background .3s; }
.btn__arr { width: 38px; height: 38px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; transition: transform .35s var(--ease); }
.btn:hover .btn__arr { transform: rotate(45deg); }
.btn--ink .btn__txt, .btn--ink .btn__arr { background: var(--ink); color: #fff; }
.btn--line .btn__txt, .btn--line .btn__arr { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.chip { display: inline-flex; align-items: center; gap: 2px; vertical-align: middle; transform: translateY(-.08em); text-decoration: none; }
.chip__txt { background: var(--ink); color: #fff; font: 500 .42em/1 var(--f-sans); letter-spacing: .04em; text-transform: uppercase; padding: .78em 1em; border-radius: 999px; }
.chip__plus { width: 2.05em; height: 2.05em; font-size: .42em; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--f-sans); }

.wrap { width: 100%; padding-left: var(--pad); padding-right: var(--pad); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

/* reveal on enter */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.words .w { opacity: .14; transition: opacity .6s var(--ease); }
.words .w.is-on { opacity: 1; }

/* ==========================================================================
   HOME — hero
   ========================================================================== */
.hero { position: relative; height: 100vh; min-height: 620px; display: grid; place-items: center; overflow: hidden; }
.hero__title { position: relative; z-index: 3; text-align: center; font-size: clamp(64px, 12.4vw, 210px); pointer-events: none; }
.hero__title .ln { display: block; overflow: hidden; padding: 0 .04em; }
.hero__title .ln > span { display: inline-block; transform: translateY(105%); animation: rise 1.3s var(--ease) forwards; }
.hero__title .ln:nth-child(2) > span { animation-delay: .12s; }
.hero__title .ln:nth-child(3) > span { animation-delay: .24s; }
.hero__title .ln:nth-child(4) > span { animation-delay: .36s; }
@keyframes rise { to { transform: none; } }
.hero__sub { position: absolute; z-index: 4; bottom: 84px; left: 50%; transform: translateX(-50%); width: min(520px, 86vw); text-align: center; font-size: 15px; line-height: 1.4; color: var(--ink-2); opacity: 0; animation: fade 1s .9s forwards; }
@keyframes fade { to { opacity: 1; } }
.floaters { position: absolute; inset: 0; z-index: 2; }
.floater { position: absolute; will-change: transform; opacity: 0; animation: pop 1.1s var(--ease) forwards; }
.floater img, .floater i { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 1px; }
.floater i { background: var(--sand); }
.floater.front { z-index: 4; }
@keyframes pop { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
.scroll-cue { position: relative; height: 26vh; display: flex; justify-content: center; }
.scroll-cue span { width: 1px; height: 90px; background: var(--ink); position: relative; margin-top: 4vh; }
.scroll-cue span::after { content: ""; position: absolute; left: -2px; bottom: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-90px); opacity: 0; } 30% { opacity: 1; } 100% { transform: none; } }

/* ---------- statement ---------- */
.statement { padding-top: 14vh; padding-bottom: 18vh; }
.statement__center { text-align: center; max-width: 560px; margin: 0 auto 22vh; }
.statement__center .label { margin-bottom: 26px; }
.statement__center p { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.3; margin: 0; }
.statement__body { grid-column: 2 / span 7; }
.statement__body p { margin: 0 0 .9em; }

/* ---------- chapter intro w/ orbiting images ---------- */
.orbit { position: relative; height: 150vh; }
.orbit__sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.orbit__head { position: relative; z-index: 3; text-align: center; }
.orbit__head .label { margin-bottom: 14px; }
.orbit__img { position: absolute; z-index: 2; will-change: transform, opacity; backface-visibility: hidden; }
.orbit__img img { width: 100%; height: 100%; object-fit: cover; }
.orbit__img i { display: block; width: 100%; height: 100%; }

.partners { padding-top: 8vh; padding-bottom: 22vh; }
.partners__text { grid-column: 2 / span 6; }
.partners__text p { margin: 0; }

/* ---------- grow-to-fullscreen stat ---------- */
.grow { position: relative; height: 330vh; }
.grow--short { height: 240vh; }
.grow__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.grow__media { position: absolute; inset: 0; margin: 0; overflow: hidden; transform-origin: 50% 50%; transform: scale(.3); will-change: transform; backface-visibility: hidden; }
.grow__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; will-change: transform; backface-visibility: hidden; }
.grow__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,.08) 52%, rgba(0,0,0,.72) 100%); opacity: 0; will-change: opacity; }
.grow__dark { position: absolute; inset: 0; background: rgba(10, 9, 6, .62); opacity: 0; will-change: opacity; }
.grow__ring { position: absolute; left: 50%; top: 50%; width: min(56vh, 520px); aspect-ratio: 1; translate: -50% -50%; opacity: 0; pointer-events: none; will-change: opacity; }
.grow__ring svg { width: 100%; height: 100%; overflow: visible; }
.grow__ring circle { fill: none; stroke: #fff; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.grow__ring .knob { fill: #fff; stroke: none; }
.grow__badge { position: absolute; left: 50%; top: 50%; translate: -50% -50%; background: var(--accent); color: var(--ink); font: 500 15px/1 var(--f-sans); padding: 10px 14px; border-radius: 999px; opacity: 0; will-change: opacity; }
.grow__stat { position: absolute; left: var(--pad); bottom: 9vh; max-width: 560px; color: #fff; opacity: 0; will-change: opacity, transform; }
.grow__stat .num { text-shadow: 0 2px 24px rgba(0,0,0,.35); font: 400 clamp(40px, 4.6vw, 74px)/1 var(--f-sans); letter-spacing: -.03em; color: var(--accent); margin: 0 0 14px; }
.grow__stat .num em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.grow__stat p { font-size: clamp(17px, 1.3vw, 21px); line-height: 1.35; margin: 0; }
.grow__quote { position: absolute; left: var(--pad); bottom: 9vh; max-width: 620px; color: #fff; opacity: 0; will-change: opacity, transform; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.28; letter-spacing: -.01em; }
.grow__quote em { color: var(--accent); font-style: italic; }
.grow__quote small { display: block; margin-top: 16px; font: 500 11px/1.3 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.share-ui { position: absolute; top: 16px; left: var(--pad); color: #fff; font: 500 11px/1 var(--f-sans); display: flex; gap: 8px; align-items: center; opacity: 0; }

/* ---------- split stats (image card + number) ---------- */
.splits { padding: 18vh 0 10vh; }
.split { display: grid; grid-template-columns: 1fr minmax(260px, 31vw) 1fr; align-items: center; gap: var(--gutter); min-height: 100vh; }
.split__fig { grid-column: 2; position: relative; aspect-ratio: 2 / 3; margin: 0; overflow: hidden; }
.split__fig img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); will-change: transform; }
.split__dot { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); translate: -50% -50%; box-shadow: 0 0 0 10px rgba(231,231,43,.22); }
.split__txt { grid-column: 1; grid-row: 1; padding-left: var(--pad); max-width: 380px; }
.split--r .split__txt { grid-column: 3; padding-left: 0; }
.split__txt .split__num { font: 400 clamp(32px, 3vw, 48px)/1.05 var(--f-sans); letter-spacing: -.03em; margin: 0 0 12px; }
.split__num em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.split__txt p { margin: 0; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.4; }
.split__src { margin-top: 12px !important; font: 400 11px/1.3 var(--f-sans) !important; color: var(--muted-2); }

/* ---------- chapter (education-style) ---------- */
.chapter { padding: 16vh 0 8vh; }
.chapter--tint { background: linear-gradient(180deg, transparent, rgba(243, 232, 212, .55) 12%, rgba(243, 232, 212, .55) 88%, transparent); }
.chapter__head { grid-column: 1 / span 7; }
.chapter__head .label { margin-bottom: 18px; }
.chapter__intro { grid-column: 1 / span 5; margin-top: 26px; font-size: clamp(17px, 1.2vw, 19px); line-height: 1.45; }
.chapter__cols { grid-column: 2 / span 5; margin-top: 18vh; }
.chapter__cols p { margin: 0 0 1.1em; }

.panel { margin: 14vh var(--pad) 0; background: var(--dark); color: #fff; border-radius: 2px; padding: clamp(36px, 6vw, 96px) clamp(20px, 5.4vw, 86px); position: relative; overflow: hidden; }
.panel::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; background: url("../images/noise.png") 0 0/128px 128px; filter: invert(1); }
.panel > * { position: relative; }
.panel__intro { max-width: 640px; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.35; margin: 0 0 48px; }
.panel__list { list-style: none; margin: 0 0 44px; padding: 0; display: grid; gap: 22px; max-width: 720px; }
.panel__list li { display: grid; gap: 6px; }
.panel__list .t { font: 500 13px/1.25 var(--f-sans); letter-spacing: .05em; text-transform: uppercase; }
.panel__list .d { font-size: 15.5px; line-height: 1.45; color: #a8a49b; }
.panel__list a { text-decoration: none; }
.panel__list a:hover .t { text-decoration: underline; text-underline-offset: 4px; }
.panel .muted { color: #a8a49b; }

/* project cards (image row) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); margin-top: 12vh; padding: 0 var(--pad); }
.card { text-decoration: none; display: block; }
.card__fig { aspect-ratio: 4 / 5; overflow: hidden; margin: 0 0 16px; position: relative; background: #e9e0cf; }
.card__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__fig img { transform: scale(1.05); }
.card__fig .ov { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); font: 400 clamp(22px, 2vw, 32px)/1.05 var(--f-sans); letter-spacing: -.02em; }
.card__tag { font: 500 10.5px/1 var(--f-sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: clamp(20px, 1.6vw, 25px); line-height: 1.15; letter-spacing: -.01em; margin: 8px 0 8px; }
.card__desc { font-size: 15px; line-height: 1.45; color: var(--ink-2); margin: 0; }

/* image-stat cards (like "Fewer than 1 in 4") */
.stat-cards { position: relative; padding: 10vh var(--pad) 4vh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.stat-card { position: relative; overflow: hidden; margin: 0; color: #fff; }
.stat-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.stat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.6)); }
.stat-card figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px; text-align: center; }
.stat-card .n { display: block; font: 400 clamp(30px, 3vw, 46px)/1.05 var(--f-sans); letter-spacing: -.03em; color: var(--accent); margin-bottom: 10px; }
.stat-card .n em { font-family: var(--f-serif); font-style: italic; }
.stat-card .d { font-size: 16px; line-height: 1.35; display: block; max-width: 340px; margin: 0 auto; }
.stat-card .share { position: absolute; z-index: 2; top: 14px; right: 16px; font: 500 11px/1 var(--f-sans); }
.stat-card--a { grid-column: 1 / span 5; aspect-ratio: 5 / 4; align-self: start; }
.stat-card--b { grid-column: 7 / span 5; aspect-ratio: 1; margin-top: 30vh; }

/* twelve components */
.components { padding: 16vh 0 10vh; }
.components__grid { list-style: none; margin: 10vh 0 0; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); counter-reset: c; }
.components__grid li { border-top: 1px solid var(--line); padding: 22px 0 46px; display: grid; grid-template-columns: 52px 1fr; }
.components__grid .n { font: 400 12px/1.8 var(--f-sans); color: var(--muted-2); font-variant-numeric: tabular-nums; }
.components__grid .t { font-size: clamp(20px, 1.55vw, 24px); line-height: 1.18; letter-spacing: -.01em; margin: 0 0 10px; }
.components__grid .d { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); margin: 0; }

/* horizontal journey */
.journey { position: relative; }
.journey__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.journey__head { padding: 0 var(--pad); margin-bottom: 5vh; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.journey__track { display: flex; gap: var(--gutter); padding: 0 var(--pad); will-change: transform; backface-visibility: hidden; }
.journey__item { flex: 0 0 auto; height: 58vh; margin: 0; position: relative; }
.journey__item img { height: 100%; width: auto; object-fit: cover; }
.journey__item figcaption { position: absolute; left: 0; bottom: -26px; font: 400 11px/1 var(--f-sans); color: var(--muted-2); }
.journey__count { font: 500 11px/1 var(--f-sans); letter-spacing: .06em; color: var(--muted-2); font-variant-numeric: tabular-nums; }

/* video */
.video-block { padding: 14vh var(--pad); }
.video-block__head { text-align: center; max-width: 760px; margin: 0 auto 7vh; }
.video-block__head .label { margin-bottom: 18px; }
.embed { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 2px; overflow: hidden; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed__poster { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; }
.embed__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .4s; }
.embed__poster:hover img { opacity: .6; }
.embed__play { position: relative; display: flex; align-items: center; gap: 4px; font: 500 12px/1 var(--f-sans); letter-spacing: .05em; text-transform: uppercase; }
.embed__play span { background: var(--paper); color: var(--ink); padding: 12px 16px; border-radius: 999px; }
.embed__play i { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-style: normal; color: var(--ink); }

/* join / CTA */
.join { padding: 18vh 0 22vh; text-align: center; }
.join__title { font-size: clamp(56px, 10vw, 170px); }
.join__text { max-width: 720px; margin: 7vh auto 6vh; padding: 0 var(--pad); }
.join .btn-row { justify-content: center; }
.news { max-width: 720px; margin: 10vh auto 0; padding: 0 var(--pad); text-align: left; }
.news a { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.news a:hover .h-md { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* ==========================================================================
   SUBPAGES
   ========================================================================== */
.p-head { padding-top: 26vh; padding-bottom: 8vh; }
.p-head .label { margin-bottom: 22px; }
.p-head__title { grid-column: 1 / span 9; }
.p-head__lead { grid-column: 1 / span 6; margin-top: 30px; }
.p-head__lead p { margin: 0; }
.p-head__meta { grid-column: 9 / span 4; align-self: end; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

.p-hero { position: relative; height: 230vh; }
.p-hero .grow__sticky { background: transparent; }
.p-hero__cap { position: absolute; left: var(--pad); bottom: 22px; color: #fff; font: 400 12px/1.3 var(--f-sans); max-width: 520px; opacity: 0; }

.prose-sec { padding: 12vh 0 6vh; }
.prose-sec + .prose-sec { padding-top: 6vh; }
.prose-sec__head { grid-column: 1 / span 8; margin-bottom: 7vh; }
.prose-sec__head .label { margin-bottom: 18px; }
.prose-sec__head h2 strong, .p-head__title strong { font-weight: inherit; }
.prose { grid-column: 2 / span 6; }
.prose > * { margin-top: 0; }
.prose p { margin: 0 0 1.05em; font-size: clamp(17px, 1.22vw, 19.5px); line-height: 1.55; }
.prose p.lead-p { font-size: clamp(21px, 1.75vw, 26px); line-height: 1.36; letter-spacing: -.01em; }
.prose h2, .prose h3, .prose h4 { font-weight: 400; letter-spacing: -.015em; line-height: 1.2; margin: 1.8em 0 .6em; }
.prose h2 { font-size: clamp(26px, 2.1vw, 32px); }
.prose h3 { font-size: clamp(22px, 1.7vw, 26px); }
.prose h4 { font: 500 13px/1.3 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(18,17,14,.35); transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.2em; }
.prose li { margin: 0 0 .5em; font-size: clamp(16.5px, 1.15vw, 18.5px); line-height: 1.5; }
.prose li::marker { color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose .src { font: 400 12px/1.4 var(--f-sans); color: var(--muted-2); }

.fig { margin: 7vh 0; }
.fig img { width: 100%; }
.fig figcaption { margin-top: 10px; font: 400 12px/1.4 var(--f-sans); color: var(--muted-2); }
.fig--wide { grid-column: 1 / -1; }
.fig--inline { max-width: 420px; }
.fig--book { max-width: 220px; }

.wide { grid-column: 1 / -1; }
.wide-row { margin: 8vh 0; }

.quote { margin: 12vh auto; max-width: 980px; padding: 0 var(--pad); text-align: center; }
.quote blockquote { margin: 0; font-family: var(--f-serif); font-weight: 350; font-style: italic; font-size: clamp(26px, 2.8vw, 44px); line-height: 1.2; letter-spacing: -.02em; }
.quote cite { display: block; margin-top: 26px; font: 500 11px/1.4 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; font-style: normal; color: var(--muted); }
.quote--small blockquote { font-size: clamp(21px, 1.9vw, 29px); }

.listpanel { margin: 10vh var(--pad); }
.listpanel .panel { margin: 0; }
.listpanel ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 60px; counter-reset: li; }
.listpanel li { display: grid; grid-template-columns: 40px 1fr; font-size: 16px; line-height: 1.5; color: #d6d2c8; }
.listpanel li::before { counter-increment: li; content: counter(li, decimal-leading-zero); font: 400 11px/2 var(--f-sans); color: #8a867c; }
.listpanel li a { color: #fff; }
.listpanel--tags ol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 28px; }
.listpanel--tags li { font: 500 13px/1.3 var(--f-sans); letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.listpanel__title { font: 500 11px/1 var(--f-sans); letter-spacing: .07em; text-transform: uppercase; color: #8a867c; margin: 0 0 34px; }

.statgrid { margin: 6vh 0 8vh; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); padding: 0 var(--pad); }
.statgrid__item { border-top: 1px solid var(--ink); padding-top: 16px; }
.statgrid__n { font: 400 clamp(34px, 3.3vw, 54px)/1 var(--f-sans); letter-spacing: -.035em; }
.statgrid__n em { font-family: var(--f-serif); font-style: italic; }
.statgrid__l { margin-top: 10px; font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.statgrid__k { font: 400 11px/1 var(--f-sans); color: var(--muted-2); margin-bottom: 18px; display: block; }

.gallery { padding: 6vh var(--pad) 4vh; }
.gallery__head { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 26px; }
.gallery__grid { columns: 4 240px; column-gap: 12px; }
.gallery__grid button { display: block; width: 100%; margin: 0 0 12px; break-inside: avoid; overflow: hidden; position: relative; cursor: zoom-in; background: #e9e0cf; }
.gallery__grid img { width: 100%; transition: transform 1s var(--ease), opacity .4s; }
.gallery__grid button:hover img { transform: scale(1.04); }
.gallery__more { margin-top: 18px; text-align: center; }

.embed-wrap { margin: 8vh 0; }
.embed-wrap--wide { padding: 0 var(--pad); }

.ctct-wrap { background: var(--paper); border-radius: 4px; padding: 28px; margin: 4vh 0; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.contact-card { display: grid; gap: 4px; font-size: 20px; line-height: 1.4; }
.wufoo { width: 100%; border: 0; min-height: 820px; background: var(--paper); border-radius: 4px; }

.next { padding: 16vh var(--pad) 22vh; }
.next__label { margin-bottom: 30px; }
.next__link { display: block; text-decoration: none; border-top: 1px solid var(--ink); padding-top: 24px; }
.next__link .display { font-size: clamp(54px, 9vw, 150px); }
.next__link:hover .display { font-style: italic; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 500; background: rgba(12, 11, 8, .94); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .35s; }
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb img { max-width: 88vw; max-height: 84vh; width: auto; object-fit: contain; }
.lb__btn { position: absolute; color: #fff; font: 500 11px/1 var(--f-sans); letter-spacing: .06em; text-transform: uppercase; padding: 14px; }
.lb__close { top: 12px; right: 12px; }
.lb__prev { left: 8px; top: 50%; translate: 0 -50%; }
.lb__next { right: 8px; top: 50%; translate: 0 -50%; }
.lb__count { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; color: #aaa; font: 400 11px/1 var(--f-sans); }

/* ==========================================================================
   FOOTER (fixed, revealed)
   ========================================================================== */
.footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1; background: var(--dark); color: #fff; padding: clamp(40px, 6vw, 80px) var(--pad) 18px; }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.footer__left { grid-column: 1 / span 6; display: flex; flex-direction: column; }
.footer__left h2 { font-family: var(--f-serif); font-weight: 380; font-size: clamp(28px, 2.4vw, 38px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 16px; }
.footer__left p { color: #a8a49b; font-size: 16px; line-height: 1.45; max-width: 520px; margin: 0; }
.footer__links { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; font: 500 10.5px/1 var(--f-sans); letter-spacing: .07em; text-transform: uppercase; }
.footer__links a { color: #a8a49b; text-decoration: none; }
.footer__links a:hover { color: #fff; }
.footer__mark { margin-top: auto; padding-top: 34px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.footer__mark .brand__g { background: #fff; width: 28px; height: 28px; }
.footer__right { grid-column: 8 / span 5; display: grid; gap: 18px; align-content: start; }
.fcard { display: grid; grid-template-columns: 128px 1fr; gap: 20px; align-items: center; text-decoration: none; }
.fcard img { width: 128px; height: 100px; object-fit: cover; }
.fcard__tag { font: 500 9.5px/1 var(--f-sans); letter-spacing: .07em; text-transform: uppercase; color: #a8a49b; }
.fcard__t { font-size: 19px; line-height: 1.25; margin-top: 8px; }
.fcard:hover .fcard__t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.footer__bottom { margin-top: clamp(30px, 4vw, 50px); border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; padding-bottom: 64px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; font: 400 11px/1.4 var(--f-sans); color: #8a867c; text-align: center; }
.footer__bottom a { color: inherit; text-decoration: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .components__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listpanel--tags ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .grid12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .statement__body, .partners__text, .prose, .chapter__head, .chapter__intro, .chapter__cols, .p-head__title, .p-head__lead, .p-head__meta, .prose-sec__head { grid-column: 1 / -1; }
  .p-head__meta { justify-content: flex-start; margin-top: 30px; }
  .chapter__cols { margin-top: 8vh; }
  .cards { grid-template-columns: 1fr; }
  .card__fig { aspect-ratio: 4 / 3; }
  .split { grid-template-columns: 1fr; min-height: auto; padding: 8vh var(--pad); gap: 26px; }
  .split__fig, .split__txt, .split--r .split__txt { grid-column: 1; grid-row: auto; padding: 0; }
  .split__fig { aspect-ratio: 4 / 5; }
  .stat-card--a, .stat-card--b { grid-column: 1 / -1; margin-top: 0; aspect-ratio: 4 / 5; }
  .components__grid { grid-template-columns: 1fr; }
  .listpanel ol { grid-template-columns: 1fr; }
  .listpanel--tags ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { position: relative; }
  .page { margin-bottom: 0; }
  .footer__left, .footer__right { grid-column: 1 / -1; }
  .footer__right { margin-top: 30px; }
  .fcard { grid-template-columns: 96px 1fr; }
  .fcard img { width: 96px; height: 76px; }
  .rail { display: none; }
  .journey__item { height: 46vh; }
  .grow__ring { width: 70vw; }
  .hero__sub { bottom: 60px; }
  .p-head { padding-top: 20vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .words .w { opacity: 1; }
}
