/* Onesha Community Health Foundation — site styles
   Palette sampled from the official logo: navy #004885, green #00692F / #15812B,
   orange #F8930A, cross blue #0074C1. */

@font-face { font-family: "Jakarta"; src: url(/assets/fonts/jakarta.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(/assets/fonts/jakarta-italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-opsz.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-opsz-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --navy: #004885;
  --navy-700: #003a6b;
  --navy-900: #06233f;
  --navy-950: #041a30;
  --blue: #0074c1;
  --blue-soft: #e7f1fa;
  --green: #00692f;
  --green-500: #15812b;
  --green-soft: #e6f3ea;
  --orange: #f8930a;
  --orange-ink: #a55800;
  --orange-soft: #fef1dd;
  --ink: #0f1d2c;
  --muted: #4d5b6a;
  --line: #e4e0d6;
  --paper: #fbf9f4;
  --sand: #f4efe4;
  --white: #fff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgb(6 35 63 / .06), 0 2px 8px rgb(6 35 63 / .05);
  --shadow: 0 2px 4px rgb(6 35 63 / .04), 0 12px 32px -8px rgb(6 35 63 / .16);
  --shadow-lg: 0 4px 10px rgb(6 35 63 / .05), 0 30px 60px -18px rgb(6 35 63 / .30);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--navy-900); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
mark { background: linear-gradient(transparent 58%, rgb(248 147 10 / .32) 58%); color: inherit; padding: 0 .1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }
.nowrap { white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 780px; }

/* ---------- type ---------- */
.display, .display-2, .h2, .h3, .quote, .foot-cta h2 {
  font-family: var(--serif); font-weight: 560; letter-spacing: -.02em;
  font-optical-sizing: auto; color: var(--navy-900);
}
.display { font-size: clamp(2.7rem, 7.2vw, 5.4rem); line-height: 1; margin-bottom: .35em; }
.display-2 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); line-height: 1.04; margin-bottom: .4em; max-width: 18ch; }
.display em, .display-2 em, .h2 em { font-style: italic; font-weight: 480; color: var(--green); }
.h2 { font-size: clamp(1.85rem, 3.6vw, 2.8rem); line-height: 1.08; }
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.15; }
.h4 { font-size: 1.15rem; font-weight: 700; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 40rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow .dot { display: none; }
.eyebrow.on-dark { color: #8fd6a0; }
.hero .eyebrow::before { display: none; }
.hero .eyebrow .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgb(21 129 43 / .16); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .97rem/1.1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn .ic { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -8px rgb(0 72 133 / .6); }
.btn-primary:hover { background: var(--navy-700); color: #fff; box-shadow: 0 12px 26px -10px rgb(0 72 133 / .7); }
.btn-accent { background: var(--orange); color: var(--navy-950); box-shadow: 0 8px 20px -8px rgb(248 147 10 / .7); }
.btn-accent:hover { background: #ffa12a; color: var(--navy-950); }
.btn-quiet { background: var(--white); color: var(--navy); border-color: rgb(0 72 133 / .22); }
.btn-quiet:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .35); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgb(255 255 255 / .06); }
.btn-lg { min-height: 56px; padding: 1rem 1.6rem; font-size: 1.02rem; }
.btn-sm { min-height: 40px; padding: .55rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.link-arrow .ic { transition: transform .25s var(--ease); }
a:hover .link-arrow .ic, .link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- announcement + header ---------- */
.announce { background: var(--navy-900); color: #dfe9f3; font-size: .9rem; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 42px; text-align: center; }
.announce .ic { color: var(--orange); }
.announce a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; }

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 249 244 / .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-head.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(6 35 63 / .5); }
.head-row { display: flex; align-items: center; gap: 1rem; min-height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; border-radius: 12px; }
.brand img { width: 52px; height: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: scale(1.05) rotate(-2deg); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt b { font: 800 1.45rem/1 var(--sans); letter-spacing: .02em; color: var(--navy); text-transform: uppercase; }
.brand-txt small { font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--green); margin-top: .28rem; }
.brand:hover .brand-txt b { color: var(--navy-700); }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.nav li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .8rem; border-radius: 999px;
  font: 600 .95rem/1 var(--sans); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav-link:hover, .has-sub:hover > .nav-link, .nav-link[aria-expanded="true"] { background: rgb(0 72 133 / .07); color: var(--navy); }
.nav-link.is-active { color: var(--navy); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 320px; padding: .5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .sub.open { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: .7rem .85rem; border-radius: 12px; text-decoration: none; color: var(--ink); }
.sub a:hover, .sub a[aria-current] { background: var(--sand); }
.sub b { display: block; font-size: .95rem; color: var(--navy-900); }
.sub span { display: block; font-size: .83rem; color: var(--muted); line-height: 1.4; margin-top: .1rem; }
.head-cta { display: none; }
.menu-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
.menu-btn .ic { width: 22px; height: 22px; }

@media (min-width: 1100px) {
  .nav { display: block; }
  .head-cta { display: inline-flex; }
  .menu-btn { display: none; }
}
@media (max-width: 420px) {
  .brand-txt small { font-size: .56rem; letter-spacing: .06em; }
  .brand-txt b { font-size: 1.25rem; }
  .brand img { width: 44px; }
}

.drawer { position: fixed; inset: 0; z-index: 80; background: rgb(4 26 48 / .45); backdrop-filter: blur(4px); }
.drawer[hidden] { display: none; }
.drawer-panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--paper);
  padding: 1rem var(--gutter) 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1.25rem;
  animation: slideIn .35s var(--ease);
}
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.drawer-top .brand img { width: 44px; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); font: 600 1.15rem var(--sans); color: var(--navy-900); text-decoration: none; }
.drawer nav a.indent { padding-left: 1rem; font-size: 1rem; color: var(--muted); }
.drawer-contact { font-size: .95rem; line-height: 1.9; }
body.drawer-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.glow.g1 { width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, rgb(0 116 193 / .35), transparent 70%); }
.glow.g2 { width: 460px; height: 460px; left: -200px; bottom: -220px; background: radial-gradient(circle, rgb(21 129 43 / .28), transparent 70%); }
.glow.g3 { width: 300px; height: 300px; right: 30%; bottom: -120px; background: radial-gradient(circle, rgb(248 147 10 / .30), transparent 70%); }
.hero-grid { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.12fr .88fr; } }
.hero .lead { margin-bottom: 2rem; }
.hero-note { display: flex; align-items: center; gap: .55rem; margin-top: 1.75rem; font-size: .92rem; color: var(--muted); }
.hero-note .ic { color: var(--green); }
.hero-note strong { color: var(--navy-900); }

.focus-in { animation: focusIn 1.6s var(--ease) .15s both; }
.focus-in em { display: inline-block; animation: focusIn 1.6s var(--ease) .75s both; }
@keyframes focusIn { from { filter: blur(14px); opacity: .15; letter-spacing: .01em; } to { filter: blur(0); opacity: 1; } }

/* eye chart */
.eyechart { margin: 0; justify-self: center; width: 100%; max-width: 440px; }
.chart-card {
  position: relative; background: var(--white); border-radius: 28px; padding: 1.25rem 1.25rem 1.4rem;
  box-shadow: var(--shadow-lg); border: 1px solid rgb(0 72 133 / .08);
}
@media (min-width: 980px) { .chart-card { transform: rotate(1.5deg); } }
.chart-head { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 .35rem .9rem; border-bottom: 1px dashed var(--line); }
.chart-head span:first-child { color: var(--green); }
.chart-body { position: relative; display: grid; margin-top: .9rem; cursor: crosshair; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.chart-layer { grid-area: 1 / 1; padding: .4rem .2rem .2rem; }
.chart-layer.blur { filter: blur(4.2px); opacity: .9; }
.chart-layer.sharp { clip-path: circle(var(--r, 74px) at var(--x, 50%) var(--y, 40%)); }
.row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .5rem; }
.letters { text-align: center; font: 800 1rem/1 var(--sans); color: var(--ink); letter-spacing: .12em; white-space: nowrap; }
.acuity { font-size: .62rem; font-weight: 700; color: #97a1ab; letter-spacing: .04em; min-width: 2.2rem; text-align: right; }
.r0 .letters { font-size: clamp(3.6rem, 12vw, 5.2rem); letter-spacing: 0; color: var(--navy); }
.r1 .letters { font-size: clamp(2.4rem, 8vw, 3.3rem); color: var(--navy); }
.r2 .letters { font-size: clamp(1.8rem, 6vw, 2.35rem); color: var(--navy); }
.r3 .letters { font-size: clamp(1.35rem, 4.4vw, 1.7rem); color: var(--green); }
.r4 .letters { font-size: clamp(1rem, 3.3vw, 1.25rem); color: var(--green); }
.r5 .letters { font-size: clamp(.78rem, 2.5vw, .95rem); color: var(--orange-ink); }
.row { padding: .28rem 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; height: 10px; border-radius: 6px; overflow: hidden; margin: .9rem 1.2rem 0; }
.duo span:first-child { background: var(--green-500); } .duo span:last-child { background: var(--orange); }
.lens {
  position: absolute; left: var(--x, 50%); top: var(--y, 40%); width: calc(var(--r, 74px) * 2); height: calc(var(--r, 74px) * 2);
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  border: 5px solid var(--navy-900);
  box-shadow: 0 0 0 2px rgb(255 255 255 / .9), 0 14px 30px -8px rgb(6 35 63 / .45), inset 0 0 0 1px rgb(255 255 255 / .6), inset 0 -18px 30px -18px rgb(0 116 193 / .25);
  background: radial-gradient(circle at 30% 25%, rgb(255 255 255 / .45), transparent 38%);
}
.lens::after { content: ""; position: absolute; right: -34px; top: 50%; width: 34px; height: 5px; background: var(--navy-900); border-radius: 3px; transform: translateY(-50%); }
.eyechart figcaption { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.25rem; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.eyechart figcaption .ic { width: 26px; height: 26px; color: var(--navy); margin-top: .1rem; }
.eyechart figcaption b { color: var(--navy-900); }

/* facts strip */
.facts { background: var(--white); border-block: 1px solid var(--line); }
.facts-row { display: grid; grid-template-columns: 1fr 1fr; }
.fact { display: flex; align-items: center; gap: .85rem; padding: 1.25rem .5rem; }
.fact .ic { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); }
.fact:nth-child(2) .ic { background: var(--orange-soft); color: var(--orange-ink); }
.fact:nth-child(3) .ic { background: var(--green-soft); color: var(--green); }
.fact b { display: block; font-size: .98rem; color: var(--navy-900); line-height: 1.25; }
.fact span { font-size: .82rem; color: var(--muted); line-height: 1.3; display: block; }
@media (max-width: 559px) { .fact { flex-direction: column; align-items: flex-start; gap: .5rem; } }
@media (min-width: 900px) { .facts-row { grid-template-columns: repeat(4, 1fr); } .fact + .fact { border-left: 1px solid var(--line); padding-left: 1.5rem; } }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section.tint { background: var(--sand); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head.row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.sec-head .h2 { margin-bottom: 0; }
.sec-lead { color: var(--muted); font-size: 1.08rem; margin-top: 1rem; }
.split { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 900px) { .split { grid-template-columns: .8fr 1.2fr; } .split-side { position: sticky; top: calc(var(--head-h) + 2rem); align-self: start; } }
.prose { font-size: 1.08rem; }
.prose p, .prose li { color: #26374a; }
.prose h2 { font-family: var(--serif); font-weight: 560; font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 .5em; }
.prose h4 { font-size: 1.05rem; margin: 1.5em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--green); }
.prose blockquote { margin: 1.8em 0; padding: 1.2rem 1.5rem; border-left: 4px solid var(--orange); background: var(--orange-soft); border-radius: 0 16px 16px 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; }
.prose blockquote p { margin: 0; color: var(--navy-900); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.prose a { font-weight: 600; }
.md-fig { margin: 2em 0; }
.md-fig img { border-radius: 16px; width: 100%; }
.md-fig figcaption, .art-cover figcaption { font-size: .86rem; color: var(--muted); margin-top: .6rem; }

/* why */
.why-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.why-copy p { color: #26374a; font-size: 1.08rem; }
.why-stats { display: grid; gap: 1rem; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.75rem; box-shadow: var(--shadow-sm); }
.stat .num { display: block; font: 560 clamp(2.4rem, 5vw, 3.4rem)/1 var(--serif); letter-spacing: -.02em; color: var(--navy); margin-bottom: .5rem; }
.stat.big { background: var(--navy-900); border-color: var(--navy-900); color: #d3e0ec; position: relative; overflow: hidden; }
.stat.big::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgb(0 116 193 / .35); }
.stat.big .num { color: #fff; font-size: clamp(3rem, 7vw, 4.6rem); }
.stat p { margin: 0; font-size: 1.02rem; }
.stat sup { font-size: .5em; color: var(--orange); }
.source { font-size: .82rem; color: var(--muted); margin: .25rem .25rem 0; }

/* flagship */
.flagship { background: var(--navy-900); color: #cfdbe7; overflow: hidden; }
.flagship::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 85% 0%, rgb(0 116 193 / .35), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgb(21 129 43 / .25), transparent 70%); pointer-events: none; }
.flagship .wrap { position: relative; }
.flagship .h2, .navy-band .h2 { color: #fff; }
.flag-head { display: grid; gap: 1rem 4rem; align-items: end; margin-bottom: 2.5rem; }
@media (min-width: 900px) { .flag-head { grid-template-columns: 1.2fr .8fr; } }
.flag-head p { font-size: 1.1rem; margin: 0; }
.flag-head em { color: var(--orange); font-style: normal; font-weight: 700; }
.flag-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgb(255 255 255 / .12); border-radius: var(--radius); overflow: hidden; margin-bottom: 3rem; }
.flag-nums > div { background: var(--navy-900); padding: 1.4rem 1.2rem; }
@media (max-width: 520px) { .flag-nums > div { padding: 1.1rem .8rem; } .flag-nums > div > span { font-size: .75rem; display: block; line-height: 1.3; margin-top: .3rem; } }
.flag-nums b { display: block; font: 560 clamp(1.9rem, 5vw, 3.2rem)/1 var(--serif); color: #fff; letter-spacing: -.02em; }
.flag-nums > div > span { font-size: .85rem; color: #9fb4c8; }
.flag-nums b span { font: inherit; color: inherit; }
.pathway { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; gap: 1rem; counter-reset: pw; position: relative; }
.pathway li { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: 18px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .09); transition: background-color .3s, transform .3s var(--ease); }
.pathway li:hover { background: rgb(255 255 255 / .09); transform: translateY(-2px); }
.pathway .pw-ic { grid-row: span 2; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgb(248 147 10 / .14); color: var(--orange); }
.pathway .pw-ic .ic { width: 28px; height: 28px; }
.pathway b { color: #fff; font-size: 1.08rem; }
.pathway span:not(.pw-ic) { font-size: .9rem; color: #a9bccf; line-height: 1.45; }
.pathway li:nth-child(even) .pw-ic { background: rgb(143 214 160 / .13); color: #8fd6a0; }
@media (min-width: 1000px) {
  .pathway { grid-template-columns: repeat(6, 1fr); gap: 1rem; }
  .pathway::before { content: ""; position: absolute; left: 6%; right: 6%; top: 52px; height: 2px; background: linear-gradient(90deg, var(--orange), #8fd6a0); transform-origin: left; transform: scaleX(var(--line-p, 1)); transition: transform 1.6s var(--ease); z-index: 0; }
  .pathway li { grid-template-columns: 1fr; align-content: start; text-align: center; justify-items: center; padding: 1.4rem .9rem 1.5rem; row-gap: .45rem; z-index: 1; background: var(--navy-900); }
  .pathway .pw-ic { grid-row: auto; margin-bottom: .4rem; background: #10365b; }
  .pathway li:nth-child(even) .pw-ic { background: #113e3a; }
}

/* objectives */
.obj-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .obj-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .obj-grid { grid-template-columns: repeat(3, 1fr); } }
.obj { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; transition: transform .35s var(--ease), box-shadow .35s; overflow: hidden; }
.obj:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.obj-n { position: absolute; right: 1.4rem; top: 1.1rem; font: 500 2.6rem/1 var(--serif); color: rgb(0 72 133 / .09); }
.obj-ic { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--green-soft); color: var(--green); margin-bottom: 1.2rem; }
.obj:nth-child(2) .obj-ic { background: var(--blue-soft); color: var(--navy); }
.obj:nth-child(3) .obj-ic { background: var(--orange-soft); color: var(--orange-ink); }
.obj:nth-child(5) .obj-ic { background: var(--blue-soft); color: var(--blue); }
.obj p { margin: 0; color: var(--muted); }
.obj-link { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; background: var(--navy); border-color: var(--navy); color: #fff; text-decoration: none; font: 560 1.45rem/1.2 var(--serif); }
.obj-link:hover { color: #fff; background: var(--navy-700); }
.obj-link .ic { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--orange); color: var(--navy-950); align-self: flex-end; transition: transform .3s var(--ease); }
.obj-link:hover .ic { transform: rotate(45deg); }

/* vision/mission */
.vm { background: linear-gradient(180deg, var(--paper), var(--sand)); }
.vm-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .vm-grid { grid-template-columns: 1.1fr .9fr; gap: 5rem; } }
.vm-quote { margin: 0; }
.quote { font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.12; font-style: italic; font-weight: 440; margin: 0; }
.vm-mission { font-size: 1.2rem; line-height: 1.6; padding-left: 1.5rem; border-left: 3px solid var(--orange); }
.vm-mission p:last-child { margin: 0; }

/* where */
.where-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .where-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; } }
.where-map { max-width: 520px; justify-self: center; width: 100%; }
.tz-map .rg { fill: #dde6ee; stroke: var(--paper); stroke-width: 1.2; transition: fill .3s; }
.tint .tz-map .rg { stroke: var(--sand); }
.tz-map .rg:hover { fill: #cbd8e4; }
.tz-map .rg.isle { fill: #e6ecf1; }
.tz-map .rg.dodoma { fill: var(--orange); }
.tz-map .rg.dodoma:hover { fill: #ffa42e; }
.tz-map .dot { fill: var(--navy-900); stroke: #fff; stroke-width: 2; }
.tz-map .pulse { fill: rgb(6 35 63 / .25); transform-origin: center; transform-box: fill-box; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; }
.ticks .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green-soft); color: var(--green); margin-top: .1rem; stroke-width: 2.4; }

/* cards */
.card-grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-ph { width: 100%; height: 100%; display: grid; place-items: center; }
.card-ph .ic { width: 64px; height: 64px; stroke-width: 1.2; opacity: .8; }
.ph-news { background: radial-gradient(circle at 70% 20%, rgb(0 116 193 / .35), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-900)); color: #fff; }
.ph-story { background: radial-gradient(circle at 30% 80%, rgb(248 147 10 / .45), transparent 60%), linear-gradient(135deg, var(--green-500), var(--green)); color: #fff; }
.tag { display: inline-block; padding: .3rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-media .tag { position: absolute; left: 1rem; top: 1rem; }
.tag-blue { background: var(--blue-soft); color: var(--navy); }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-orange { background: var(--orange-soft); color: var(--orange-ink); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-family: var(--serif); font-weight: 560; font-size: 1.35rem; line-height: 1.2; }
.card-body p { color: var(--muted); font-size: .96rem; }
.card-body .link-arrow { margin-top: auto; }
.meta { font-size: .84rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; margin-bottom: .6rem; }
.meta .ic { width: 1em; height: 1em; }

/* get involved tiles */
.inv-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .inv-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .inv-grid { grid-template-columns: repeat(4, 1fr); } }
.inv { display: flex; flex-direction: column; gap: .3rem; padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.inv:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.inv p { color: var(--muted); font-size: .96rem; }
.inv .link-arrow { margin-top: auto; }
.inv-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1rem; flex: none; }
.inv-ic .ic { width: 26px; height: 26px; }
.c-orange { background: var(--orange-soft); color: var(--orange-ink); }
.c-blue { background: var(--blue-soft); color: var(--blue); }
.c-green { background: var(--green-soft); color: var(--green); }
.c-navy { background: #e3e9f1; color: var(--navy); }

/* ---------- inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; }
.page-hero.navy { background: var(--navy-900); border-color: var(--navy-900); }
.page-hero.navy .display-2 { color: #fff; max-width: 22ch; }
.page-hero.navy .display-2 em { color: var(--orange); }
.page-hero.navy .lead { color: #b9c9d9; }
.page-hero.navy .eyebrow { color: #8fd6a0; }
.page-hero.navy .crumbs, .page-hero.navy .crumbs a { color: #9fb4c8; }
.page-hero.navy .glow { opacity: .8; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .84rem; color: var(--muted); margin-bottom: 1.6rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

.kpis-band { background: var(--navy-950); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgb(255 255 255 / .1); background-clip: content-box; }
.kpis > div { background: var(--navy-950); padding: 1.5rem 1rem; }
.kpis b { display: block; font: 560 clamp(1.6rem, 4vw, 2.5rem)/1.05 var(--serif); color: #fff; }
.kpis span { font-size: .85rem; color: #9fb4c8; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); } .kpis > div { padding: 1.8rem 1.5rem; } }

.toc { display: flex; gap: .5rem; overflow-x: auto; padding-top: 1.25rem; padding-bottom: .25rem; scrollbar-width: none; position: sticky; top: var(--head-h); z-index: 20; }
.toc::-webkit-scrollbar { display: none; }
.toc a { flex: none; padding: .5rem 1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--navy-900); text-decoration: none; box-shadow: var(--shadow-sm); }
.toc a:hover { border-color: var(--navy); }
.toc + .section { padding-top: clamp(2.5rem, 5vw, 4rem); }

.vm-cards { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .vm-cards { grid-template-columns: 1fr 1fr; } }
.vm-card { padding: clamp(1.75rem, 4vw, 3rem); border-radius: 28px; background: var(--white); border: 1px solid var(--line); }
.vm-card.vision { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.vm-card.vision .quote { color: #fff; }
.vm-card.vision .eyebrow { color: #8fd6a0; }
.vm-card .quote { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.vm-ic { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--orange); color: var(--navy-950); margin-bottom: 1.5rem; }
.vm-card.mission .vm-ic { background: var(--green-soft); color: var(--green); }

.obj-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.obj-list li { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; padding: 1.5rem 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.obj-list .n { font: 500 2.4rem/1 var(--serif); color: var(--orange); min-width: 3rem; }
.obj-list p { margin: 0; color: var(--muted); }

.values { display: grid; gap: 1rem; }
@media (min-width: 640px) { .values { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(5, 1fr); } }
.value { padding: 1.6rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.value > .ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); margin-bottom: 1rem; }
.value:nth-child(2n) > .ic { background: var(--green-soft); color: var(--green); }
.value:nth-child(3n) > .ic { background: var(--orange-soft); color: var(--orange-ink); }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }

.approach { display: grid; gap: 1rem; }
@media (min-width: 800px) { .approach { grid-template-columns: 1fr 1fr; } }
.ap { position: relative; padding: 1.75rem 1.75rem 1.75rem 5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.ap-n { position: absolute; left: 1.5rem; top: 1.6rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; }
.ap p { margin: 0; color: var(--muted); }

.cta-card { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.75rem, 4vw, 3rem); border-radius: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cta-card p { margin: 0; color: var(--muted); max-width: 40rem; }
.cta-card.accent { background: linear-gradient(120deg, var(--orange-soft), #fff 70%); border-color: #f6dcb5; }
@media (min-width: 900px) { .cta-card { grid-template-columns: 1fr auto; } }
.section > .wrap.cta-card { max-width: calc(1240px - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); padding-left: clamp(1.75rem, 4vw, 3rem); padding-right: clamp(1.75rem, 4vw, 3rem); }

/* programmes */
.prog-feature { display: grid; border-radius: 32px; overflow: hidden; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: box-shadow .35s, transform .35s var(--ease); }
.prog-feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: inherit; }
@media (min-width: 900px) { .prog-feature { grid-template-columns: .85fr 1.15fr; } }
.pf-art { min-height: 260px; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #0b3d6c, var(--navy-950)); position: relative; overflow: hidden; }
.iris { position: relative; width: 220px; height: 220px; }
.iris span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgb(255 255 255 / .18); }
.iris span:nth-child(2) { inset: 28px; border: 18px solid rgb(21 129 43 / .75); }
.iris span:nth-child(3) { inset: 62px; background: radial-gradient(circle at 35% 35%, #1b83d0, var(--navy) 70%); border: 0; }
.iris span:nth-child(4) { inset: 92px; background: var(--navy-950); border: 0; box-shadow: 18px -18px 0 -12px rgb(255 255 255 / .85); }
.prog-feature:hover .iris span:nth-child(4) { inset: 84px; transition: inset .6s var(--ease); }
.iris span:nth-child(4) { transition: inset .6s var(--ease); }
.pf-body { padding: clamp(1.75rem, 4vw, 3rem); }
.pf-body p { color: var(--muted); }
.pf-meta { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .92rem; font-weight: 600; color: var(--navy-900); }
.pf-meta li { display: flex; align-items: center; gap: .4rem; }
.pf-meta .ic { color: var(--green); }
.areas { display: grid; gap: 1rem; }
@media (min-width: 860px) { .areas { grid-template-columns: repeat(3, 1fr); } }
.area { padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.area p { color: var(--muted); }
.status { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); background: var(--orange-soft); padding: .3rem .7rem; border-radius: 999px; }

.who-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .who-grid { grid-template-columns: repeat(5, 1fr); } }
.who { padding: 1.5rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.who > .ic { width: 40px; height: 40px; color: var(--green); margin-bottom: .9rem; }
.who p { margin: 0; color: var(--muted); font-size: .94rem; }
.int-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .int-grid { grid-template-columns: 1fr 1fr; } }
.int { display: flex; gap: 1.1rem; padding: 1.4rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.int .inv-ic { margin: 0; }
.int p { margin: 0; color: var(--muted); font-size: .96rem; }
.navy-band { background: var(--navy-900); color: #c7d5e3; }
.navy-band h3 { color: #fff; }
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.journey li { display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; position: relative; padding-bottom: 2rem; }
.journey li:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: linear-gradient(var(--orange), rgb(143 214 160 / .6)); }
.journey .j-n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--navy-950); font: 600 1.4rem var(--serif); }
.journey li:nth-child(even) .j-n { background: #8fd6a0; }
.journey p { margin: 0; }
.journey h3 { margin-top: .9rem; }
@media (min-width: 1000px) {
  .journey { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
  .journey li { grid-template-columns: 1fr; padding: 0; gap: .25rem; }
  .journey li::before { display: none; }
}
.results { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.results li { display: flex; gap: .9rem; align-items: flex-start; font-size: 1.05rem; padding: 1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.results .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--green-soft); color: var(--green); flex: none; stroke-width: 2.2; }
.navy-band .results li { background: rgb(255 255 255 / .05); border-color: rgb(255 255 255 / .1); }
.partner-duo { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .partner-duo { grid-template-columns: 1fr 1fr; } }
.pcard { padding: clamp(1.75rem, 3.5vw, 2.5rem); background: var(--white); border: 1px solid var(--line); border-radius: 28px; }
.pcard p { color: var(--muted); }
.pcard-type { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: .8rem; }
.pcard-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: #fff; margin-bottom: 1.4rem; }
.pcard-ic .ic { width: 28px; height: 28px; }
.partner-duo .pcard:nth-child(2) .pcard-ic { background: var(--green); }
.ptypes { display: grid; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .ptypes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ptypes { grid-template-columns: repeat(5, 1fr); } }
.ptype { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.ptype > .ic { width: 36px; height: 36px; color: var(--navy); margin-bottom: .9rem; }
.ptype p { margin: 0; color: var(--muted); font-size: .94rem; }

/* impact */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.metric { padding: 1.75rem; background: var(--navy-900); border-radius: var(--radius); color: #b9c9d9; }
.metric b { display: block; font: 560 clamp(2.2rem, 4vw, 3rem)/1 var(--serif); color: #fff; margin-bottom: .4rem; }
.notice-card { display: flex; gap: 1.5rem; align-items: flex-start; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: var(--radius); }
.notice-card p { margin: 0; color: var(--muted); max-width: 48rem; }
.nc-ic { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-ink); }
@media (max-width: 600px) { .notice-card { flex-direction: column; } }
.measure { display: grid; gap: 1rem; }
@media (min-width: 640px) { .measure { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .measure { grid-template-columns: repeat(6, 1fr); } }
.ms { padding: 1.4rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; gap: .35rem; }
.ms > .ic { width: 34px; height: 34px; color: var(--green); margin-bottom: .5rem; }
.ms b { color: var(--navy-900); font-size: 1.05rem; }
.ms span { font-size: .9rem; color: var(--muted); line-height: 1.45; }
.empty { text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 1.5rem; border: 2px dashed var(--line); border-radius: 28px; max-width: 46rem; margin: 0 auto; }
.empty p { color: var(--muted); margin: 0; }
.empty-ic { width: 60px; height: 60px; padding: 14px; border-radius: 50%; background: var(--green-soft); color: var(--green); margin: 0 auto 1.2rem; }
.notice-line { display: flex; gap: .8rem; align-items: flex-start; padding: 1.1rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: 16px; color: var(--muted); }
.notice-line .ic { color: var(--orange-ink); margin-top: .15rem; }

/* get involved */
.give-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.25rem; }
.give { padding: 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; gap: .2rem; }
.give > .ic { width: 30px; height: 30px; color: var(--orange-ink); margin-bottom: .5rem; }
.give b { color: var(--navy-900); }
.give span { font-size: .88rem; color: var(--muted); line-height: 1.4; }
.donate-box { padding: 1.75rem; border-radius: var(--radius); background: var(--navy-900); color: #c9d6e3; }
.donate-box h3 { color: #fff; display: flex; align-items: center; gap: .5rem; }
.donate-box h3 .ic { color: var(--orange); }
.donate-box.prose p, .donate-box.prose li { color: #d3dfeb; }
.donate-box a:not(.btn) { color: #fff; }
.form-split { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .form-split { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }

/* forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.4rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.f-row { display: grid; gap: 1rem; }
.f-row.two { grid-template-columns: 1fr; }
@media (min-width: 640px) { .f-row.two { grid-template-columns: 1fr 1fr; } }
.f { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.f > span { font-size: .9rem; font-weight: 700; color: var(--navy-900); }
.f i { color: var(--orange-ink); font-style: normal; }
.f small { font-weight: 500; color: var(--muted); }
.f input, .f select, .f textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper);
  border: 1.5px solid #d9d4c8; border-radius: 12px; padding: .8rem .95rem; min-height: 50px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.f textarea { resize: vertical; min-height: 140px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgb(0 72 133 / .12); }
.f [aria-invalid="true"] { border-color: #c2410c; background: #fff7f2; }
.f-err { font-size: .85rem; color: #b42318; font-weight: 600; }
.f-foot { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: .5rem; }
.f-foot p { display: flex; gap: .4rem; align-items: center; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600; margin-bottom: 1.25rem; }
.alert.err { background: #fff1ec; color: #9a2a0f; border: 1px solid #fbd0bf; }
.alert.ok { background: var(--green-soft); color: var(--green); border: 1px solid #bfe2c9; }
.sent { text-align: center; padding: 1.5rem .5rem; }
.sent-ic { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--green-soft); color: var(--green); margin-bottom: 1.2rem; animation: pop .6s var(--ease); }
.sent-ic .ic { width: 34px; height: 34px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.sent p { color: var(--muted); }

/* contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.cl-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-soft); color: var(--navy); flex: none; }
.contact-list b { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font-size: 1.05rem; font-weight: 600; color: var(--navy-900); text-decoration: none; }
.contact-list a:hover { color: var(--green); }
.map-wrap { padding: 0 var(--gutter) clamp(3rem, 7vw, 5rem); }
.map { max-width: 1240px; margin: 0 auto; height: 440px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: repeating-linear-gradient(45deg, #eee9dd 0 2px, transparent 2px 22px), var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .6rem; padding: 1.5rem; }
.map-pin { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--orange); color: var(--navy-950); box-shadow: 0 0 0 10px rgb(248 147 10 / .2); }

/* resources */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters a { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--navy-900); }
.filters a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.doc { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; align-items: center; padding: 1.25rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.doc .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 720px) { .doc { grid-template-columns: auto 1fr auto; } .doc .btn { grid-column: auto; } }
.doc-ic { position: relative; display: grid; place-items: center; width: 52px; height: 60px; border-radius: 10px; background: var(--orange-soft); color: var(--orange-ink); }
.doc-ic .ic { width: 28px; height: 28px; }
.doc-ic em { position: absolute; bottom: -6px; right: -8px; font-style: normal; font-size: .62rem; font-weight: 800; background: var(--navy); color: #fff; padding: .15rem .35rem; border-radius: 5px; }
.doc-cat { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.doc h2, .doc h3 { margin: .2rem 0 .25rem; }
.doc p { margin: 0; color: var(--muted); font-size: .94rem; }

/* news */
.lead-post { display: grid; gap: 0; margin-bottom: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .35s; }
.lead-post:hover { box-shadow: var(--shadow-lg); color: inherit; }
@media (min-width: 900px) { .lead-post { grid-template-columns: 1.15fr .85fr; } }
.lp-media { aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.lp-media img { width: 100%; height: 100%; object-fit: cover; }
.lp-body { padding: clamp(1.5rem, 4vw, 2.75rem); display: flex; flex-direction: column; gap: .5rem; justify-content: center; }
.lp-body .tag { align-self: flex-start; }
.lp-body p { color: var(--muted); }
.pager { display: flex; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; font-weight: 600; }
.article { padding-bottom: 3rem; }
.art-head { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4rem) 0 2rem; }
.art-head .wrap { position: relative; }
.art-head .tag { margin-bottom: 1rem; }
.art-head .display-2 { max-width: none; }
.art-cover { margin: 0 auto 2.5rem; max-width: 1100px; }
.art-cover img { width: 100%; border-radius: 24px; aspect-ratio: 16 / 9; object-fit: cover; }
.art-body { font-size: 1.12rem; }
.art-body > p:first-child::first-letter { font: 560 3.6em/.85 var(--serif); float: left; margin: .08em .1em 0 0; color: var(--navy); }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: 2.5rem 0 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share > span { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: .5rem; }
.share a, .share .copy { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); }
.share a:hover { background: var(--navy); color: #fff; }
.share .copy { width: auto; padding: 0 1rem; border-radius: 999px; font: 600 .88rem var(--sans); cursor: pointer; }
.share .copy.done { background: var(--green-soft); color: var(--green); border-color: #bfe2c9; }
.consent-note { display: flex; gap: .6rem; align-items: center; font-size: .9rem; color: var(--muted); }
.consent-note .ic { color: var(--green); }

/* governance */
.reg { margin: 0; display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.reg > div { display: grid; gap: .25rem; padding: 1.1rem 1.4rem; }
.reg > div + div { border-top: 1px solid var(--line); }
@media (min-width: 640px) { .reg > div { grid-template-columns: 220px 1fr; gap: 1rem; } }
.reg dt { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.reg dd { margin: 0; font-weight: 600; color: var(--navy-900); }
.org { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 0; }
.org-node { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.org-node + .org-node { margin-top: 2.25rem; }
.org-node + .org-node::before { content: ""; position: absolute; left: 50%; top: calc(-2.25rem - 1px); height: 2.25rem; width: 2px; background: repeating-linear-gradient(var(--navy) 0 5px, transparent 5px 9px); }
.org-node:nth-child(1) { background: var(--navy-900); border-color: var(--navy-900); }
.org-node:nth-child(1) h3 { color: #fff; } .org-node:nth-child(1) p { color: #b9c9d9; }
.org-node p { margin: 0; color: var(--muted); }
.org-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--blue-soft); color: var(--navy); flex: none; }
.org-node:nth-child(1) .org-ic { background: var(--orange); color: var(--navy-950); }
.org-node:nth-child(3) .org-ic { background: var(--green-soft); color: var(--green); }
.org-node:nth-child(4) .org-ic { background: var(--orange-soft); color: var(--orange-ink); }
.commit { display: grid; gap: 1rem; }
@media (min-width: 640px) { .commit { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .commit { grid-template-columns: repeat(3, 1fr); } }
.cm { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.cm > .ic { width: 38px; height: 38px; color: var(--green); margin-bottom: .9rem; }
.cm p { margin: 0; color: var(--muted); font-size: .96rem; }

/* 404 */
.nf { position: relative; overflow: hidden; padding: clamp(4rem, 12vw, 9rem) 0; text-align: center; }
.nf-inner { position: relative; }
.nf .display-2, .nf .lead { margin-left: auto; margin-right: auto; }
.nf-chart { display: flex; flex-direction: column; align-items: center; gap: .3rem; margin-bottom: 2rem; font-weight: 800; color: var(--navy); filter: blur(2.5px); animation: focusIn 2.4s var(--ease) .4s forwards; }
.nf-chart span:nth-child(1) { font-size: 5rem; line-height: 1; }
.nf-chart span:nth-child(2) { font-size: 2.6rem; letter-spacing: .2em; }
.nf-chart span:nth-child(3) { font-size: .95rem; letter-spacing: .25em; color: var(--green); }

/* ---------- footer ---------- */
.site-foot { background: var(--navy-950); color: #a9bccf; font-size: .95rem; position: relative; overflow: hidden; }
.site-foot a { color: #dfe9f3; text-decoration: none; }
.site-foot a:hover { color: var(--orange); }
.foot-cta { display: grid; gap: 1.5rem; align-items: center; padding: clamp(3rem, 7vw, 5rem) 0; border-bottom: 1px solid rgb(255 255 255 / .1); }
.foot-cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; margin: 0; max-width: 18ch; }
.foot-cta-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) { .foot-cta { grid-template-columns: 1fr auto; } }
.foot-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.3fr .8fr .8fr 1.3fr; } }
.foot-brand img { width: 170px; margin-bottom: 1rem; }
.foot-brand p { max-width: 22rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: #dfe9f3; }
.site-foot h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.foot-contact p { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; }
.foot-contact .ic { color: var(--orange); margin-top: .2rem; }
.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .18); }
.socials a:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-950); }
.socials.dark a { border-color: var(--line); color: var(--navy); background: var(--white); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.5rem 0 2rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; }
.foot-base p { margin: 0; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js [data-pathway] { --line-p: 0; }
.js [data-pathway].in { --line-p: 1; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .focus-in, .focus-in em { filter: none; }
}

@media print {
  .site-head, .drawer, .foot-cta, .toc, .share, .map-wrap, .announce { display: none !important; }
  body { background: #fff; }
  .section { padding: 1.5rem 0; }
}

/* ---------- photos ---------- */
.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo:hover img { transform: scale(1.02); }
.photo-tag { position: absolute; right: .75rem; bottom: .75rem; padding: .22rem .6rem; border-radius: 999px; background: rgb(6 35 63 / .62); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.photo.wide img { aspect-ratio: 2 / 1; }
.photo.std img { aspect-ratio: 3 / 2; }
.photo-cap { font-size: .88rem; color: var(--muted); margin: .7rem .25rem 0; }
.navy-band .photo-cap { color: #9fb4c8; }

.mosaic-sec { padding: clamp(3.5rem, 8vw, 6rem) 0 0; }
.mosaic { display: grid; gap: 1rem; }
.mosaic .m-big img { aspect-ratio: 2 / 1; }
.mosaic .m-side { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.mosaic .m-side img { aspect-ratio: 3 / 2; }
@media (min-width: 960px) {
  .mosaic { grid-template-columns: 1.55fr 1fr; align-items: stretch; }
  .mosaic .m-side { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .mosaic .m-big, .mosaic .m-big img, .mosaic .m-side .photo, .mosaic .m-side img { height: 100%; aspect-ratio: auto; }
  .mosaic .m-big img { min-height: 440px; }
}
@media (max-width: 559px) { .mosaic .m-side { grid-template-columns: 1fr; } }
.mosaic-head { display: grid; gap: .5rem 3rem; align-items: end; margin-bottom: 2rem; }
@media (min-width: 900px) { .mosaic-head { grid-template-columns: 1fr 1fr; } }
.mosaic-head > p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.split-side .photo { margin-top: 1.75rem; }
.band-photo { margin-bottom: 2.75rem; }
.give-photo { margin-bottom: 1.25rem; }
.photo.hero-photo img { aspect-ratio: 2 / 1; max-height: 620px; }
@media (max-width: 600px) { .photo.hero-photo img { aspect-ratio: 4 / 3; } }
