/* Common Ground — design system
   Paper + ink, one hot accent. Fraunces for voice, Hanken Grotesk for reading, DM Mono for labels. */

:root {
  --paper: #f5efe3;
  --paper-2: #ece4d3;
  --paper-3: #e2d8c3;
  --ink: #16211d;
  --ink-2: #3a4640;
  --ink-3: #66726b;
  --teal: #0d5c5c;
  --teal-2: #17807e;
  --teal-wash: #d3e4dd;
  --coral: #e4572e;
  --coral-deep: #c2411c;
  --sun: #f4b942;
  --rule: rgba(22, 33, 29, 0.16);
  --rule-strong: rgba(22, 33, 29, 0.85);

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1280px;
  --measure: 66ch;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.04; letter-spacing: -0.02em; margin: 0; font-variation-settings: "opsz" 144; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--teal-2); outline-offset: 3px; border-radius: 3px; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 200; border-radius: 4px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }

/* ---------- labels & type helpers ---------- */
.eyebrow { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: center; gap: 0.7em; }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: 0.6; }
.eyebrow.plain::before { display: none; }
.display { font-size: clamp(2.6rem, 6.4vw, 6rem); }
.h1 { font-size: clamp(2.4rem, 5.6vw, 5rem); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -0.01em; line-height: 1.15; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--f-mono); }
em.hl, .hl { font-style: italic; font-weight: 400; color: var(--coral-deep); }
.mark-underline { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--sun) 80%, transparent) 62% 92%, transparent 92%); padding-inline: 0.06em; }

/* ---------- buttons ---------- */
.btn { --bg: var(--ink); --fg: var(--paper); display: inline-flex; align-items: center; gap: 0.6em; padding: 0.9em 1.35em; border-radius: 999px; background: var(--bg); color: var(--fg); font-family: var(--f-text); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.005em; text-decoration: none; border: 1.5px solid var(--bg); cursor: pointer; transition: transform 0.25s var(--ease), background 0.2s, color 0.2s; line-height: 1; white-space: nowrap; }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:hover { transform: translateY(-1px); }
.btn.coral { --bg: var(--coral); --fg: var(--ink); }
.btn.coral:hover { --bg: var(--sun); }
.btn.ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.paper { --bg: var(--paper); --fg: var(--ink); }
.btn.sm { padding: 0.7em 1.05em; font-size: 0.9rem; }
.linkarrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 0.5em; align-items: baseline; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.linkarrow:hover { color: var(--coral-deep); border-color: var(--coral-deep); }
.linkarrow .arr { transition: transform 0.25s var(--ease); }
.linkarrow:hover .arr { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--rule); }
.site-header .bar { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 36px; height: auto; flex: none; }
.site-footer .brand .mark { width: 44px; }
.brand b { font-family: var(--f-display); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.02em; line-height: 1; }
.brand small { display: block; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; font-weight: 400; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > li { list-style: none; position: relative; }
.nav a.nl, .nav button.nl { font: 600 0.94rem var(--f-text); color: var(--ink); text-decoration: none; padding: 10px 13px; border-radius: 999px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav a.nl:hover, .nav button.nl:hover, .nav li:focus-within > .nl { background: var(--paper-2); }
.nav a.nl[aria-current="page"], .nav .nl.on { background: var(--paper-2); }
.nav .chev { width: 9px; height: 9px; transition: transform 0.2s; }
.nav li:hover .chev, .nav li:focus-within .chev { transform: rotate(180deg); }
.dd { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 14px; padding: 8px; box-shadow: 0 18px 40px -18px rgba(22, 33, 29, 0.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.18s var(--ease); }
.nav li:hover > .dd, .nav li:focus-within > .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: block; padding: 10px 12px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.dd a span { display: block; font-weight: 400; font-size: 0.82rem; color: var(--ink-3); margin-top: 1px; }
.dd a:hover { background: var(--paper-2); }
.dd a[aria-current="page"] { background: var(--teal-wash); }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: none; border: 1.5px solid var(--rule); cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--paper-2); border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.burger { display: none; }
.mnav { display: none; }

@media (max-width: 1040px) {
  .nav, .hdr-actions .btn { display: none; }
  .burger { display: grid; }
  .hdr-actions { margin-left: auto; }
  /* The header's backdrop-filter makes it the containing block for this fixed
     panel, so "bottom: 0" would mean the bottom of the header (a thin strip).
     Size it from the viewport instead. */
  .mnav { display: block; position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); overscroll-behavior: contain; background: var(--paper); z-index: 99; padding: 18px var(--gutter) 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: 0.22s var(--ease); }
  .mnav.open { opacity: 1; visibility: visible; transform: none; }
  .mnav a { display: block; text-decoration: none; }
  .mnav .m-top { font-family: var(--f-display); font-size: 1.9rem; letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .mnav .m-sub { padding: 6px 0 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; border-bottom: 1px solid var(--rule); }
  .mnav .m-sub a { padding: 8px 0; font-weight: 600; font-size: 0.98rem; color: var(--ink-2); }
  .mnav .btn { margin-top: 22px; width: 100%; justify-content: center; }
}

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec.tight { padding-block: clamp(44px, 6vw, 84px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head .eyebrow { grid-column: 1 / -1; }
.sec-head p { margin: 0; color: var(--ink-2); max-width: 52ch; }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink .eyebrow, .band-ink .muted { color: color-mix(in srgb, var(--paper) 62%, transparent); }
.band-ink .lede { color: color-mix(in srgb, var(--paper) 82%, transparent); }
.band-teal { background: var(--teal); color: var(--paper); }
.band-teal .eyebrow { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.band-paper2 { background: var(--paper-2); }
.rule-top { border-top: 1px solid var(--rule); }

/* ---------- hero (home) ---------- */
.hero { padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 100px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 8.4vw, 7.6rem); line-height: 0.94; letter-spacing: -0.035em; font-weight: 450; }
.hero h1 em { font-style: italic; font-weight: 350; color: var(--coral-deep); }
.hero .lede { margin-top: clamp(20px, 3vw, 34px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-fine { margin-top: 26px; display: flex; gap: 10px 22px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.hero-fine span::before { content: "●"; color: var(--teal-2); margin-right: 8px; font-size: 0.6rem; vertical-align: 2px; }
.orbit { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; margin-inline: auto; }
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit .g { opacity: 0; animation: pop 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 110ms + 0.35s); }
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
.orbit .greet { font-family: var(--f-display); font-size: 27px; fill: var(--ink); }
.orbit .greet.alt { font-family: var(--f-text); font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .orbit { max-width: 380px; order: -1; } }

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1.5px solid var(--ink); }
.stat { padding: clamp(20px, 2.6vw, 34px) clamp(14px, 2vw, 28px); border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: lining-nums; }
.stat span { display: block; margin-top: 10px; font-size: 0.9rem; color: var(--ink-3); line-height: 1.35; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat { border-bottom: 1px solid var(--rule); } .stat:nth-child(2n) { border-right: 0; } .stat:last-child { grid-column: 1 / -1; border-bottom: 0; } }

/* ---------- doors (audience routing) ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid var(--ink); }
.door { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-decoration: none; min-height: 320px; position: relative; transition: background 0.3s; }
.door:last-child { border-right: 0; }
.door .n { font-family: var(--f-mono); font-size: 0.78rem; color: var(--ink-3); }
.door h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 22px 0 14px; }
.door p { color: var(--ink-2); max-width: 34ch; }
.door .go { margin-top: auto; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.door .go i { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-style: normal; transition: 0.3s var(--ease); }
.door:hover { background: var(--ink); color: var(--paper); }
.door:hover p, .door:hover .n { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.door:hover .go i { background: var(--coral); border-color: var(--coral); color: var(--ink); transform: rotate(-45deg); }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } .door { min-height: 0; border-right: 0; } .door .go { margin-top: 28px; } }

/* ---------- split/prose ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; } }
.prose { max-width: var(--measure); }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 2em 0 0.6em; }
.prose h3 { font-size: 1.4rem; margin: 1.8em 0 0.5em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.2em; }
.prose li { margin-bottom: 0.45em; padding-left: 0.2em; }
.prose li::marker { color: var(--coral-deep); }
.pull { font-family: var(--f-display); font-size: clamp(1.7rem, 3.2vw, 2.9rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 400; font-style: italic; text-wrap: balance; }
.pull::before { content: "“"; color: var(--coral); }
.pull::after { content: "”"; color: var(--coral); }

.figure { position: relative; }
.figure img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.figure figcaption { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-top: 10px; }
.tilt { transform: rotate(-1.4deg); }

/* ---------- editorial rows ---------- */
.rows { border-top: 1.5px solid var(--ink); }
.row { display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.6fr) auto; gap: clamp(14px, 3vw, 44px); padding: clamp(20px, 2.4vw, 32px) 0; border-bottom: 1px solid var(--rule); align-items: baseline; text-decoration: none; position: relative; }
.row .n { font-family: var(--f-mono); font-size: 0.8rem; color: var(--ink-3); }
.row h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); }
.row p { margin: 0; color: var(--ink-2); }
.row .end { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
a.row:hover { background: linear-gradient(90deg, transparent, var(--paper-2) 12%, var(--paper-2) 88%, transparent); }
a.row:hover h3 { color: var(--coral-deep); }
@media (max-width: 820px) { .row { grid-template-columns: 40px 1fr; } .row p, .row .end { grid-column: 2; } }

/* ---------- tile map ---------- */
.tilemap { display: grid; gap: 5px; width: 100%; max-width: 760px; }
.tilemap .t { aspect-ratio: 1; display: grid; place-items: center; font-family: var(--f-mono); font-size: clamp(0.5rem, 1.25vw, 0.78rem); font-weight: 500; border-radius: 4px; background: var(--paper-2); color: var(--ink-3); border: 0; position: relative; transition: transform 0.2s var(--ease), background 0.2s; padding: 0; letter-spacing: 0.02em; }
.tilemap .t.on { background: var(--teal); color: var(--paper); cursor: pointer; }
.tilemap .t.on[data-n="2"] { background: var(--teal-2); }
.tilemap .t.on[data-n="3"], .tilemap .t.on[data-n="4"] { background: var(--coral); color: var(--ink); }
.tilemap .t.on:hover, .tilemap .t.sel { transform: scale(1.14); z-index: 2; background: var(--ink); color: var(--paper); }
.tilemap .t.on .c { position: absolute; top: 2px; right: 4px; font-size: 0.55em; opacity: 0.85; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-top: 18px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 7px; }

/* ---------- chips / filters ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 0.86rem var(--f-text); padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; transition: 0.15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .ct { font-family: var(--f-mono); font-weight: 400; font-size: 0.72rem; opacity: 0.65; margin-left: 6px; }
.tag { display: inline-block; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border: 1px solid var(--rule-strong); border-radius: 999px; line-height: 1.4; white-space: nowrap; }
.tag.opinion { background: var(--sun); border-color: var(--sun); }
.tag.new { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.tag.solid { background: var(--ink); color: var(--paper); }
.search-input { width: 100%; font: 500 1.05rem var(--f-text); padding: 14px 18px 14px 46px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316211d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 16px 50% / 18px no-repeat; color: var(--ink); }
.search-input:focus { outline: 3px solid color-mix(in srgb, var(--teal-2) 40%, transparent); outline-offset: 2px; }

/* ---------- people directory ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 0 28px; }
.person { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.person[hidden] { display: none; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 1.15rem; font-weight: 500; color: var(--ink); overflow: hidden; background: var(--c, var(--teal-wash)); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.avatar i { font-style: normal; font-family: var(--f-text); font-weight: 700; font-size: 0.95em; line-height: 1; letter-spacing: 0.02em; display: block; text-align: center; transform: translateY(0.02em); }
.avatar.has-photo { background: var(--paper-2); box-shadow: 0 0 0 1.5px var(--paper), 0 0 0 2.5px var(--rule); }
.person b { display: block; font-weight: 700; line-height: 1.2; }
.person span { display: block; font-size: 0.86rem; color: var(--ink-3); line-height: 1.35; margin-top: 2px; }
.person .st { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); }
.leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 30px 22px; }
.leader .avatar { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 8px; font-size: 3rem; }
.leader b { display: block; margin-top: 12px; font-weight: 700; line-height: 1.2; }
.leader span { display: block; font-size: 0.85rem; color: var(--ink-3); margin-top: 3px; line-height: 1.35; }
.names { columns: 220px; column-gap: 28px; font-size: 0.95rem; }
.names li { list-style: none; padding: 5px 0; break-inside: avoid; border-bottom: 1px dotted var(--rule); }
details.fold { border-top: 1.5px solid var(--ink); }
details.fold summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--f-display); font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.01em; }
details.fold summary::-webkit-details-marker { display: none; }
details.fold summary .plus { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; transition: 0.25s var(--ease); font-family: var(--f-text); font-size: 1.3rem; line-height: 1; }
details.fold[open] summary .plus { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
details.fold .inner { padding: 4px 0 40px; }

/* ---------- partners ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.partner { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; text-decoration: none; min-height: 168px; position: relative; }
.partner h3 { font-size: 1.45rem; }
.partner .loc { font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal); }
.partner p { font-size: 0.95rem; color: var(--ink-2); margin: 0; }
.partner .vis { margin-top: auto; font-weight: 700; font-size: 0.9rem; display: inline-flex; gap: 6px; align-items: center; }
.partner .vis::after { content: "↗"; transition: transform 0.2s; }
a.partner:hover h3 { color: var(--coral-deep); }
a.partner:hover .vis::after { transform: translate(3px, -3px); }
.partner.nolink .vis { color: var(--ink-3); font-weight: 500; }
.partner.nolink .vis::after { content: ""; }

/* ---------- opportunities ---------- */
.opp-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.opp-rail { position: sticky; top: calc(var(--header-h) + 28px); }
.opp-rail ol { list-style: none; border-top: 1.5px solid var(--ink); }
.opp-rail li a { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-weight: 600; font-size: 0.96rem; line-height: 1.3; }
.opp-rail li a i { font-style: normal; font-family: var(--f-mono); font-size: 0.72rem; color: var(--ink-3); width: 22px; flex: none; }
.opp-rail li a:hover, .opp-rail li a.on { color: var(--coral-deep); }
.opp-rail li a.on i { color: var(--coral-deep); }
.opp { padding: clamp(40px, 5vw, 64px) 0; border-top: 1.5px solid var(--ink); }
.opp:first-child { border-top: 0; padding-top: 0; }
.opp header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.opp h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 0.4em; }
.opp .kick { font-family: var(--f-display); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.55rem); color: var(--ink-2); margin-bottom: 1em; line-height: 1.3; }
.opp .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 40px; }
.opp h4 { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin: 26px 0 10px; }
.checks { list-style: none; }
.checks li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px dotted var(--rule); }
.checks li::before { content: ""; position: absolute; left: 3px; top: 1.05em; width: 12px; height: 7px; border-left: 2px solid var(--teal-2); border-bottom: 2px solid var(--teal-2); transform: rotate(-48deg); }
.opp .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.callout { border: 1.5px solid var(--ink); border-radius: 10px; padding: 20px 22px; background: var(--paper-2); margin: 24px 0; }
.callout p:last-child { margin: 0; }
@media (max-width: 960px) { .opp-layout { grid-template-columns: 1fr; } .opp-rail { position: static; } .opp-rail ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; } .opp .cols { grid-template-columns: 1fr; } }

/* ---------- publications ---------- */
.pub-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px clamp(14px, 3vw, 40px); padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--rule); text-decoration: none; align-items: start; }
.pub-row[hidden] { display: none; }
.pub-row .n { font-family: var(--f-mono); font-size: 0.8rem; color: var(--ink-3); padding-top: 0.8em; }
.pub-row h3 { font-size: clamp(1.5rem, 2.8vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.08; transition: color 0.2s; max-width: 26ch; }
.pub-row .by { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 0.95rem; }
.pub-row .by b { font-weight: 700; }
.pub-row .cta { font-family: var(--f-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; padding-top: 0.9em; white-space: nowrap; }
.pub-row .cta::after { content: " →"; }
.pub-row:hover h3 { color: var(--coral-deep); }
.pub-row:hover .cta { color: var(--coral-deep); }
@media (max-width: 720px) { .pub-row { grid-template-columns: 34px 1fr; } .pub-row .cta { grid-column: 2; padding-top: 4px; } }
.empty { padding: 48px 0; color: var(--ink-3); }
.disclaimer { border-left: 4px solid var(--sun); padding: 4px 0 4px 20px; color: var(--ink-2); max-width: 70ch; }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--coral); z-index: 150; }
.article-head { padding-block: clamp(40px, 6vw, 88px) clamp(24px, 3vw, 40px); }
.article-head h1 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; max-width: 20ch; margin: 22px 0 28px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding-block: 18px; border-block: 1px solid var(--rule); font-size: 0.95rem; }
.article-meta .who { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.article-meta .who .avatar { width: 42px; height: 42px; font-size: 0.95rem; }
.article-meta .mono { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.article-body { padding-block: clamp(30px, 4vw, 56px) clamp(56px, 8vw, 110px); }
.article-body .prose { font-size: 1.16rem; line-height: 1.75; }
.article-body .prose > p:first-of-type::first-line { font-weight: 600; }
.article-body .prose h2 { font-size: 1.9rem; }
.embed-box { border: 1.5px solid var(--ink); border-radius: 12px; overflow: hidden; background: #fff; margin: 8px 0 28px; }
.embed-box iframe { display: block; width: 100%; border: 0; min-height: 720px; }
.embed-note { padding: 14px 18px; background: var(--paper-2); font-size: 0.92rem; border-top: 1.5px solid var(--ink); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pn { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); }
.pn a { padding: 30px 0; text-decoration: none; display: block; }
.pn a + a { text-align: right; border-left: 1px solid var(--rule); padding-left: 20px; }
.pn small { font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); display: block; margin-bottom: 8px; }
.pn span { font-family: var(--f-display); font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.15; display: block; max-width: 24ch; }
.pn a + a span { margin-left: auto; }
.pn a:hover span { color: var(--coral-deep); }

/* ---------- policies ---------- */
.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 28px); }
.toc h4 { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 12px; }
.toc a { display: block; padding: 8px 0 8px 14px; border-left: 2px solid var(--rule); text-decoration: none; font-size: 0.92rem; font-weight: 500; line-height: 1.3; color: var(--ink-2); }
.toc a:hover { color: var(--ink); border-color: var(--ink); }
.toc a.on { color: var(--ink); border-color: var(--coral); font-weight: 700; }
.doc .prose { max-width: 72ch; }
.doc .prose h2 { padding-top: 0.6em; border-top: 1px solid var(--rule); margin-top: 2.2em; }
.doc .prose h2:first-child { border-top: 0; margin-top: 0; }
.doc .prose h3 { font-family: var(--f-text); font-size: 1.05rem; letter-spacing: 0; font-weight: 700; margin: 1.6em 0 0.4em; }
.docs-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(20px, 4vw, 60px); border-top: 1.5px solid var(--ink); }
.docs-list a { padding: 30px 0; border-bottom: 1px solid var(--rule); text-decoration: none; display: grid; gap: 10px; }
.docs-list a h3 { font-size: 2rem; }
.docs-list a p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.docs-list a:hover h3 { color: var(--coral-deep); }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; } .toc { position: static; } .docs-list { grid-template-columns: 1fr; } }
@media print { .site-header, .site-footer, .toc, .progress, .cta-band { display: none !important; } body { background: #fff; } }

/* ---------- forms embed ---------- */
.form-frame { border: 1.5px solid var(--ink); border-radius: 14px; overflow: hidden; background: #fff; }
.form-frame iframe { display: block; width: 100%; height: 980px; border: 0; }
.form-frame .fallback { padding: 14px 18px; border-top: 1.5px solid var(--ink); background: var(--paper-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; font-size: 0.92rem; }

/* ---------- cta band + footer ---------- */
.cta-band { background: var(--coral); color: var(--ink); position: relative; overflow: hidden; }
.cta-band .inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; padding-block: clamp(56px, 8vw, 110px); }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: 0.98; letter-spacing: -0.035em; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 820px) { .cta-band .inner { grid-template-columns: 1fr; } .cta-band .acts { justify-content: flex-start; } }
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; }
.foot-grid h4 { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 55%, transparent); font-weight: 500; margin-bottom: 16px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { text-decoration: none; opacity: 0.92; }
.foot-grid a:hover { opacity: 1; text-decoration: underline; }
.foot-note { max-width: 36ch; color: color-mix(in srgb, var(--paper) 78%, transparent); font-size: 0.98rem; }
.foot-contact { margin-top: 22px; font-size: 0.98rem; line-height: 1.7; }
.foot-contact a { text-decoration-color: color-mix(in srgb, var(--paper) 45%, transparent); }
.foot-word { font-family: var(--f-display); font-weight: 500; font-size: clamp(3.4rem, 15.5vw, 15rem); line-height: 0.82; letter-spacing: -0.05em; color: color-mix(in srgb, var(--paper) 96%, transparent); white-space: nowrap; margin-inline: calc(var(--gutter) * -0.4); user-select: none; }
.foot-word em { font-style: italic; font-weight: 300; color: var(--coral); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-block: 22px 30px; border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 60%, transparent); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- page hero (inner) ---------- */
.page-hero { padding-block: clamp(44px, 7vw, 104px) clamp(28px, 4vw, 56px); }
.page-hero h1 { font-size: clamp(2.8rem, 7.6vw, 6.8rem); line-height: 0.96; letter-spacing: -0.035em; font-weight: 450; margin: 20px 0 clamp(20px, 3vw, 34px); max-width: 14ch; }
.page-hero h1 em { font-style: italic; font-weight: 350; color: var(--coral-deep); }
.crumbs { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); text-decoration: underline; }
.subnav { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 30px; }
.subnav a { padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--rule); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.subnav a:hover { border-color: var(--ink); }
.subnav a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- search modal ---------- */
.smodal { position: fixed; inset: 0; z-index: 300; background: rgba(22, 33, 29, 0.55); backdrop-filter: blur(3px); display: none; padding: 9vh var(--gutter) 24px; }
.smodal.open { display: block; }
.spanel { max-width: 720px; margin: 0 auto; background: var(--paper); border-radius: 18px; border: 1.5px solid var(--ink); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5); }
.spanel .search-input { border: 0; border-radius: 0; border-bottom: 1.5px solid var(--ink); padding: 22px 24px 22px 56px; background-position: 22px 50%; font-size: 1.2rem; }
.spanel .search-input:focus { outline: 0; }
.sres { max-height: 55vh; overflow-y: auto; }
.sres a { display: block; padding: 14px 24px; text-decoration: none; border-bottom: 1px solid var(--rule); }
.sres a:hover, .sres a.act { background: var(--paper-2); }
.sres b { display: block; font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; }
.sres small { font-family: var(--f-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal); }
.sres p { margin: 2px 0 0; font-size: 0.9rem; color: var(--ink-3); }
.sres .none { padding: 26px 24px; color: var(--ink-3); }
.sfoot { padding: 10px 24px; font-family: var(--f-mono); font-size: 0.7rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; background: var(--paper-2); }
kbd { font-family: var(--f-mono); border: 1px solid var(--rule-strong); border-radius: 4px; padding: 0 5px; font-size: 0.85em; }

/* ---------- scroll reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .orbit .g { animation: none; opacity: 1; }
  .btn, .door .go i, .tilemap .t { transition: none; }
}

/* ---------- overflow safety ---------- */
.prose, .article-body, .doc { overflow-wrap: break-word; min-width: 0; }
.prose a, .article-body a, .doc a, .fold a { overflow-wrap: anywhere; }
.opp-rail li a { min-width: 0; }
@media (max-width: 560px) {
  .opp-rail ol { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .foot-word { font-size: 17vw; }
  .pn { grid-template-columns: 1fr; } .pn a + a { border-left: 0; border-top: 1px solid var(--rule); text-align: left; padding-left: 0; } .pn a + a span { margin-left: 0; }
}

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px clamp(24px, 5vw, 80px); margin: 36px 0 clamp(36px, 5vw, 64px); }
.row.step { grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.6fr); }
@media (max-width: 820px) { .pair { grid-template-columns: 1fr; } .pair .prose p { margin-top: 0 !important; } .row.step { grid-template-columns: 40px 1fr; } }
.band-ink .legend, .band-teal .legend { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.band-ink .tilemap .t:not(.on) { background: color-mix(in srgb, var(--paper) 10%, transparent); color: color-mix(in srgb, var(--paper) 45%, transparent); }

/* ================= brand leaves (from the logo) ================= */
.leaf { display: inline-block; vertical-align: middle; flex: none; }
.eyebrow .leaf { margin-right: -2px; }
.leaf-scatter { position: absolute; inset: 0; pointer-events: none; opacity: 0.55; }
.leaf-scatter span { position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r)) scale(var(--s)); }
.cta-band .wrap { position: relative; }
.foot-word { position: relative; }
.foot-leaves { display: inline-flex; gap: 4px; margin-left: 0.12em; vertical-align: 0.55em; }
.foot-leaves .leaf { width: 0.16em; height: 0.16em; }
.orbit .tree { filter: drop-shadow(0 6px 10px rgba(22, 33, 29, 0.08)); }

/* ================= footer credit ================= */
.foot-base .credit { display: inline-flex; align-items: center; gap: 8px; opacity: 0.8; }
.foot-base .credit img { width: 15px; height: auto; }

/* ================= leadership board ================= */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px; }
.board-card { display: grid; gap: 14px; }
.board-card img, .board-card .badge { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: 10px; background: var(--paper-2); }
.board-card .badge { display: grid; place-items: center; font: 700 3.2rem/1 var(--f-text); color: var(--ink); background: var(--teal-wash); }
.board-card b { display: block; font-family: var(--f-display); font-size: 1.45rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
.board-card .role { display: block; margin-top: 4px; font-weight: 600; color: var(--coral); }
.board-card .place { display: block; margin-top: 2px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.board.light .role { color: var(--coral-deep); }

/* ================= partner monograms ================= */
.pmark { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--c); color: var(--ink); font: 700 0.8rem/1 var(--f-text); letter-spacing: 0.04em; background: color-mix(in srgb, var(--c) 14%, var(--paper)); }

/* ================= volunteer buckets (tile map + world map) ================= */
:root { --vb1: #3f6f55; --vb2: #5f9b5a; --vb3: #8ab35a; --vb4: #c5dd92; --vb5: #f1f6dc; } /* ramp reads dark-to-light: the map sits on the ink band */
.vb1, .tilemap.vol .t.on.vb1 { background: var(--vb1); } .vb2, .tilemap.vol .t.on.vb2 { background: var(--vb2); } .vb3, .tilemap.vol .t.on.vb3 { background: var(--vb3); }
.vb4, .tilemap.vol .t.on.vb4 { background: var(--vb4); } .vb5, .tilemap.vol .t.on.vb5 { background: var(--vb5); }
.tilemap.vol .t.on { cursor: default; color: var(--ink); }
.tilemap.vol .t.on.vb1, .tilemap.vol .t.on.vb2 { color: var(--paper); }
.tilemap.vol .t.on:hover, .tilemap.vol .t.on:focus-visible { background: var(--coral); color: var(--ink); outline: none; }
.legend.vol i { border: 0; }
.band-ink .legend { color: color-mix(in srgb, var(--paper) 65%, transparent); }

/* ================= network map ================= */
.netmap { position: relative; }
.netmap-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.netmap-tabs button { font: 600 0.86rem var(--f-text); padding: 8px 14px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, currentColor 30%, transparent); background: transparent; color: inherit; cursor: pointer; }
.netmap-tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.world { position: relative; aspect-ratio: 960 / 500; width: 100%; }
.world svg { width: 100%; height: 100%; display: block; }
.world-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.75rem; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.08em; }
.world .sphere { fill: color-mix(in srgb, var(--paper) 5%, transparent); stroke: color-mix(in srgb, var(--paper) 18%, transparent); }
.world .land { fill: color-mix(in srgb, var(--paper) 14%, transparent); stroke: var(--ink); stroke-width: 0.4; }
.world .land.on { cursor: pointer; }
.world .land.on:hover, .world .land.on.hot { fill: var(--coral); }
.world .dot { fill: var(--coral); stroke: var(--ink); stroke-width: 1; cursor: pointer; }
.world .dot:hover, .world .dot:focus-visible, .world .dot.hot { fill: var(--paper); outline: none; }
.nm-tip { position: absolute; z-index: 5; pointer-events: none; background: var(--paper); color: var(--ink); border-radius: 8px; padding: 8px 11px; font-size: 0.86rem; line-height: 1.25; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); transform: translate(-50%, calc(-100% - 12px)); white-space: nowrap; }
.nm-tip b { display: block; font-weight: 700; }
.nm-tip span { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ink-3); }
.netmap-list { margin-top: 20px; font-size: 0.9rem; }
.netmap-list summary { cursor: pointer; font-weight: 600; }
.netmap-list .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 14px; }
.netmap-list h4 { font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; opacity: 0.7; margin-bottom: 8px; }
.netmap-list ul { list-style: none; columns: 2; column-gap: 18px; }
.netmap-list li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); break-inside: avoid; }
.netmap-list li b { font-family: var(--f-mono); font-weight: 500; }
@media (max-width: 700px) { .netmap-list .cols { grid-template-columns: 1fr; } }
@media (min-width: 861px) { .net-split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
