/* Mtungi Foundation · limewash, basalt, clean water */
@font-face { font-family: "Brygada 1918"; src: url(fonts/brygada.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Brygada 1918"; src: url(fonts/brygada-italic.woff2) format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Rethink Sans"; src: url(fonts/rethink.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Brygada fb"; src: local("Georgia"); size-adjust: 98%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Rethink fb"; src: local("Arial"); size-adjust: 99%; ascent-override: 98%; descent-override: 26%; line-gap-override: 0%; }

:root {
  --lime: #E8E9E4;
  --lime-2: #DEDFD8;
  --lime-3: #F2F3EF;
  --basalt: #1E2428;
  --basalt-2: #2A3136;
  --water: #3FC1CF;
  --water-hi: #5ACDD9;
  --muted: #4B5358;
  --muted-d: #A9B0B2;
  --line: rgba(30, 36, 40, .16);
  --line-d: rgba(232, 233, 228, .16);
  --f-d: "Brygada 1918", "Brygada fb", Georgia, serif;
  --f-b: "Rethink Sans", "Rethink fb", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 64px);
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .2s;
  --t-mid: .6s;
  --t-slow: 1.1s;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--lime); color: var(--basalt); font: 400 17px/1.55 var(--f-b); font-feature-settings: "tnum" 0; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--basalt); color: var(--lime); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--basalt); outline-offset: 3px; }
.gov :focus-visible, .foot :focus-visible { outline-color: var(--water); }
::selection { background: var(--water); color: var(--basalt); }
[hidden] { display: none !important; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: var(--r); font: 600 16px/1 var(--f-b); text-decoration: none; cursor: pointer; transition: background-color var(--t-fast), transform var(--t-fast) var(--e-out); }
.btn:active { transform: translateY(1px); }
.btn-water { background: var(--water); color: var(--basalt); }
.btn-water:hover { background: var(--water-hi); }
.btn-water .ic { transition: transform .35s var(--e-out); }
.btn-water:hover .ic { transform: translateX(4px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 0; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(30, 36, 40, .35); cursor: pointer; transition: text-decoration-color var(--t-fast); }
.link:hover { text-decoration-color: currentColor; }

/* ---------- header ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 var(--pad); background: rgba(232, 233, 228, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.logo { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; margin-right: auto; }
.logo-mark { width: 24px; height: 24px; align-self: center; color: var(--basalt); }
.logo-word { font: 600 24px/1 var(--f-d); letter-spacing: -.01em; }
.logo-sub { font: 500 13px/1 var(--f-b); color: var(--muted); }
.nav-links { display: none; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--e-out); }
.nav-links a:hover { background-size: 100% 1px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); padding: 2px; }
.lang button { border: 0; background: none; padding: 6px 8px; font-size: 13px; font-weight: 600; border-radius: 2px; cursor: pointer; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--basalt); color: var(--lime); }
.menu-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); background: none; border-radius: var(--r); cursor: pointer; }
.nav .btn-sm { display: none; }
@media (max-width: 899px) {
  .nav-links.is-open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; padding: 12px var(--pad) 28px; background: var(--lime); border-bottom: 1px solid var(--line); }
  .nav-links.is-open a { font: 500 28px/1.2 var(--f-d); padding: 10px 0; border-bottom: 1px solid var(--line); }
}
@media (min-width: 560px) { .nav .btn-sm { display: inline-flex; } }
@media (min-width: 900px) {
  .nav-links { display: flex; gap: 28px; }
  .menu-btn { display: none; }
  .nav-right { gap: 16px; }
}

/* ---------- the vessel story ---------- */
.story { position: relative; }
.stage { position: relative; min-height: 100vh; }
.js .story { height: 620vh; }
.js .stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; overflow: hidden; }
.vessel { position: absolute; inset: 0; z-index: 1; touch-action: pan-y; }
.stage.is-dragging .vessel { cursor: grabbing; }
.poster { position: absolute; z-index: 1; width: min(62vw, 74vh); height: auto; right: 8vw; bottom: 4vh; }
.vessel-live .poster { display: none; }
.rm .poster { display: none; }

.hero-title { position: absolute; z-index: 0; left: var(--pad); top: calc(64px + 4.5vh); margin: 0; font: 400 clamp(52px, 15.2vw, 210px)/.9 var(--f-d); letter-spacing: -.035em; color: var(--basalt); will-change: transform, opacity; pointer-events: none; }
.hero-title .ln { display: block; }
.hero-title .l2 { font-style: italic; font-weight: 400; padding-left: .02em; }
.hero-side { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 62px; display: grid; gap: 14px; transition: opacity .5s, visibility .5s; }
.kicker { display: none; font-size: 14px; font-weight: 600; }
.lead { font-size: 16px; line-height: 1.5; max-width: 34ch; color: var(--basalt); }
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hint { position: absolute; z-index: 3; right: var(--pad); top: calc(64px + 4.5vh); display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-width: 13ch; text-align: right; font-size: 13px; line-height: 1.35; color: var(--muted); transition: opacity .5s; }
.hint-mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .hint-mouse { display: inline; } .hint-touch { display: none; } }
.tilt-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--lime-3); border-radius: var(--r); padding: 6px 10px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--basalt); }
@media (max-width: 859px) { .hint { top: var(--hint-y, 50%); left: var(--hint-x, 50%); right: auto; translate: -50% -50%; flex-direction: row; align-items: center; max-width: none; white-space: nowrap; text-align: left; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 999px; background: rgba(232, 233, 228, .94); color: var(--basalt); box-shadow: 0 6px 20px -8px rgba(30, 36, 40, .35); pointer-events: auto; } .hint .tilt-btn { border-radius: 999px; padding: 5px 10px; } .hint:has(.tilt-btn[hidden]) { padding-right: 12px; } }
.tilt-btn[aria-pressed="true"] { background: var(--water); border-color: var(--water); }
.readout { position: absolute; z-index: 3; right: var(--pad); top: 80px; text-align: right; opacity: 0; transition: opacity .5s; }
.ro-k { font-size: 13px; font-weight: 600; }
.ro-v { font: 400 36px/1 var(--f-d); letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; margin: 4px 0 4px; }
.ro-v span { display: inline-block; min-width: 2.2ch; }
.ro-n { font-size: 11px; color: var(--muted); }

.chapters { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: 60px; height: 38vh; height: 38svh; }
.ch { position: absolute; inset: auto 0 0 0; display: grid; gap: 10px; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.ch.on { opacity: 1; visibility: visible; }
.ch-n { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; display: flex; gap: 10px; align-items: center; }
.ch-n::after { content: ""; height: 1px; width: 40px; background: var(--basalt); }
.ch-t { font: 400 clamp(28px, 7.6vw, 64px)/1.02 var(--f-d); letter-spacing: -.025em; text-wrap: balance; clip-path: inset(0 0 100% 0); transform: translateY(18px); transition: clip-path .9s var(--e-out), transform .9s var(--e-out); }
.ch.on .ch-t { clip-path: inset(-10% -5% -20% -5%); transform: none; }
.ch-b { font-size: 15px; line-height: 1.5; max-width: 40ch; opacity: 0; transform: translateY(10px); transition: opacity .6s .15s, transform .8s .15s var(--e-out); }
.ch-m { font-size: 14px; font-weight: 600; padding-top: 10px; border-top: 1px solid var(--line); max-width: 40ch; opacity: 0; transition: opacity .6s .3s; }
.ch-m::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--water); border: 1px solid var(--basalt); transform: rotate(45deg) translateY(-1px); }
.ch.on .ch-b, .ch.on .ch-m { opacity: 1; transform: none; }
.stage.in-story .hero-side, .stage.in-story .hint { opacity: 0; visibility: hidden; }
.stage.in-story .readout { opacity: 1; }
.progress { position: absolute; z-index: 3; left: var(--pad); top: 84px; display: flex; gap: 6px; opacity: 0; transition: opacity .5s; }
.progress i { width: 22px; height: 3px; background: var(--line); transition: background-color .4s; }
.progress i.done { background: var(--basalt); }
.stage.in-story .progress { opacity: 1; }

/* no-JS: a plain document */
html:not(.js) .stage { padding: 120px var(--pad) 60px; }
html:not(.js) .hero-title, html:not(.js) .hero-side, html:not(.js) .chapters, html:not(.js) .ch, html:not(.js) .poster { position: static; }
html:not(.js) .poster { width: min(420px, 70%); margin: 24px 0; }
html:not(.js) .chapters { height: auto; display: grid; gap: 48px; margin-top: 48px; }
html:not(.js) .ch, html:not(.js) .ch-b, html:not(.js) .ch-m { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .ch-t { clip-path: none; transform: none; }
html:not(.js) .readout, html:not(.js) .hint, html:not(.js) .vessel { display: none; }

@media (min-width: 860px) {
  .hero-title { font-size: min(8.4vw, 15vh); top: calc(64px + 6vh); }
  .hero-title .l2 { padding-left: 1.1em; max-width: 6.6em; }
  html[lang="sw"] .hero-title { font-size: min(7vw, 13vh); }
  html[lang="sw"] .hero-title .l2 { padding-left: .9em; max-width: 7em; }
  .hero-side { right: auto; width: min(420px, 34vw); bottom: 7vh; }
  .chapters { bottom: auto; }
  .ro-v { font-size: 64px; } .ro-n { font-size: 12px; }
  .kicker { display: block; }
  .lead { font-size: 19px; }
  .hint { top: 92px; max-width: 16ch; }
  .readout { right: auto; left: var(--pad); top: 108px; text-align: left; }
  .chapters { right: auto; top: 50%; bottom: auto; width: min(480px, 36vw); height: 0; }
  .ch { inset: 0 0 auto 0; transform: translateY(-50%); }
  .ch-t { font-size: clamp(40px, 4.4vw, 72px); }
  .ch-b { font-size: 18px; }
  .ro-v { font-size: 64px; }
}

/* ---------- section scaffolding ---------- */
.h2 { font: 400 clamp(40px, 7.2vw, 108px)/.95 var(--f-d); letter-spacing: -.03em; text-wrap: balance; }
.h3 { font: 600 19px/1.25 var(--f-b); }
.muted { color: var(--muted); }
.fine { font-size: 13px; line-height: 1.45; color: var(--muted); }
.rv { clip-path: inset(0 0 100% 0); transform: translateY(.35em); transition: clip-path 1.1s var(--e-out), transform 1.1s var(--e-out); }
.rv.in { clip-path: inset(-15% -5% -25% -5%); transform: none; }
html:not(.js) .rv { clip-path: none; transform: none; }
.ph { overflow: hidden; background: var(--lime-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.14); transition: clip-path 1.2s var(--e-io), transform 1.8s var(--e-out); }
.ph.in img { clip-path: inset(0 0 0 0); transform: none; }
html:not(.js) .ph img { clip-path: none; transform: none; }

/* thesis */
.thesis { padding: clamp(96px, 16vh, 200px) var(--pad) clamp(80px, 12vh, 160px); display: grid; gap: 40px; border-top: 1px solid var(--line); }
.thesis-big { font: 400 clamp(28px, 4vw, 60px)/1.12 var(--f-d); letter-spacing: -.02em; text-wrap: pretty; max-width: 22em; }
.thesis-note { font-size: 16px; max-width: 34ch; color: var(--muted); }
@media (min-width: 900px) {
  .thesis { grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .thesis-big { grid-column: 2 / 12; text-indent: 2.6em; }
  .thesis-note { grid-column: 8 / 12; }
}

/* field notes rail */
.field { padding: 0 0 clamp(96px, 14vh, 180px); }
.field-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 40px; padding: 0 var(--pad) 32px; }
.field-head .muted { font-size: 14px; max-width: 34ch; }
.rail { display: flex; gap: 16px; overflow-x: auto; padding: 0 var(--pad) 16px; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: thin; scrollbar-color: var(--basalt) transparent; cursor: grab; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag img { pointer-events: none; }
.fn { flex: none; scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.fn .ph { height: min(56vh, 480px); }
.fn-w { width: min(80vw, 680px); }
.fn-t { width: min(62vw, 340px); }
.fn figcaption { display: grid; gap: 4px; font-size: 14px; line-height: 1.45; max-width: 36ch; }
.fn small { font-size: 12px; color: var(--muted); }
.fn:nth-child(even) { margin-top: 48px; }

/* where */
.where { display: grid; gap: 40px; padding: 0 var(--pad) clamp(96px, 14vh, 180px); }
.where-img { position: relative; aspect-ratio: 4 / 3; }
.where-img .credit { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: var(--lime); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.where-body { display: grid; gap: 18px; align-content: start; }
.ledger { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.ledger th, .ledger td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger thead th { font-size: 12px; font-weight: 600; color: var(--muted); padding-bottom: 10px; border-bottom-color: var(--basalt); }
.ledger tbody th { font: 400 20px/1.2 var(--f-d); }
.ledger .num { text-align: right; padding-right: 0; padding-left: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 520px) { .ledger thead th:nth-child(4), .ledger tbody td:nth-child(4) { display: none; } }
@media (min-width: 900px) {
  .where { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
  .where-img { position: sticky; top: 96px; aspect-ratio: 4 / 5; margin-left: calc(var(--pad) * -1); }
}

/* governance, on basalt */
.gov { background: var(--basalt); color: var(--lime); padding: clamp(96px, 14vh, 180px) var(--pad); }
.gov-head { display: grid; gap: 24px; margin-bottom: clamp(56px, 9vh, 112px); }
.gov-title { font: 400 clamp(46px, 7.4vw, 124px)/.92 var(--f-d); letter-spacing: -.035em; max-width: 10em; text-wrap: balance; }
.gov-intro { max-width: 46ch; color: var(--muted-d); font-size: 17px; }
.gov-grid { display: grid; gap: 56px; }
.gov-block { display: grid; gap: 18px; align-content: start; border-top: 1px solid var(--lime); padding-top: 20px; }
.gov .fine { color: var(--muted-d); }
.roles { counter-reset: r; }
.roles li { display: grid; grid-template-columns: 28px 1fr; gap: 2px 0; padding: 12px 0; border-bottom: 1px solid var(--line-d); counter-increment: r; }
.roles li::before { content: counter(r); grid-row: span 2; font-size: 13px; color: var(--muted-d); font-variant-numeric: tabular-nums; padding-top: 2px; }
.roles span { font-weight: 500; }
.roles small { font-size: 13px; color: var(--muted-d); }
.alloc { display: flex; height: 64px; gap: 3px; }
.alloc span { flex: var(--w) 1 0; background: var(--lime); opacity: .22; }
.alloc span:first-child { background: var(--water); opacity: 1; }
.alloc span:nth-child(2) { opacity: .5; }
.alloc span:nth-child(3) { opacity: .34; }
.js .alloc span { transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--e-out); }
.js .alloc.in span { transform: none; }
.js .alloc.in span:nth-child(2) { transition-delay: .08s; }
.js .alloc.in span:nth-child(3) { transition-delay: .16s; }
.js .alloc.in span:nth-child(4) { transition-delay: .24s; }
.alloc-key div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line-d); font-size: 15px; }
.alloc-key dd { font-variant-numeric: tabular-nums; font-weight: 600; }
.alloc-key div:first-child dt::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--water); margin-right: 10px; }
.docs a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-d); text-decoration: none; font-weight: 500; }
.docs a[aria-disabled="true"] { cursor: default; }
.docs em { font-style: normal; font-size: 12px; color: var(--muted-d); border: 1px solid var(--line-d); padding: 2px 6px; border-radius: 2px; }
@media (min-width: 900px) {
  .gov-head { grid-template-columns: 7fr 4fr; align-items: end; }
  .gov-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

/* partners */
.partners { padding: clamp(96px, 14vh, 180px) var(--pad); display: grid; gap: 40px; }
.partners-head { display: grid; gap: 12px; }
.paths li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.paths li:last-child { border-bottom: 1px solid var(--line); }
.p-n { font: italic 400 44px/1 var(--f-d); color: var(--basalt); }
.paths .h3 { font: 400 clamp(26px, 3vw, 40px)/1.1 var(--f-d); letter-spacing: -.015em; margin-bottom: 8px; }
.paths p { color: var(--muted); max-width: 46ch; }
.link-big { font-size: 18px; justify-self: start; }
@media (min-width: 900px) {
  .partners { grid-template-columns: 4fr 7fr; column-gap: 64px; }
  .partners-head { align-content: start; position: sticky; top: 110px; }
  .paths { grid-column: 2; }
  .paths li { grid-template-columns: 120px 1fr 1fr; align-items: baseline; }
  .paths li .h3 { margin: 0; }
  .paths li > div { display: contents; }
  .p-n { font-size: 64px; }
  .link-big { grid-column: 2; }
}

/* give: the tool */
.give { background: var(--lime-3); border-top: 1px solid var(--line); padding: clamp(96px, 14vh, 160px) var(--pad); }
.give-head { display: grid; gap: 14px; margin-bottom: 48px; max-width: 760px; }
.lead-s { font-size: 19px; }
.sample-flag { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: 13px; font-weight: 600; padding: 6px 10px; border: 1px dashed var(--basalt); border-radius: var(--r); }
.giver { display: grid; gap: 32px; }
.giver fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.cur { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); padding: 3px; margin-bottom: 22px; }
.cur label, .freq label { position: relative; cursor: pointer; }
.cur input, .amt-grid input, .freq input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cur span { display: block; padding: 7px 14px; font-size: 14px; font-weight: 600; border-radius: 2px; color: var(--muted); }
.cur input:checked + span { background: var(--basalt); color: var(--lime); }
.cur input:focus-visible + span, .amt-grid input:focus-visible + span, .freq input:focus-visible + span { outline: 2px solid var(--basalt); outline-offset: 2px; }
.g-legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; padding: 0; }
.amt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.amt-grid label { position: relative; }
.amt-grid span { display: flex; align-items: center; min-height: 64px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--lime); font: 400 22px/1 var(--f-d); font-variant-numeric: lining-nums tabular-nums; cursor: pointer; transition: border-color var(--t-fast), background-color var(--t-fast); }
.amt-grid label:hover span { border-color: var(--basalt); }
.amt-grid input:checked + span { background: var(--water); border-color: var(--basalt); box-shadow: inset 0 0 0 1px var(--basalt); }
.other { display: grid; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 500; }
.other input, .pledge input { height: 52px; padding: 0 14px; border: 1px solid rgba(30, 36, 40, .4); border-radius: var(--r); background: var(--lime); font-size: 17px; width: 100%; }
.other input:focus, .pledge input:focus { outline: 2px solid var(--basalt); outline-offset: 0; border-color: var(--basalt); }
.other input.is-on { background: var(--water); }
.fx { font-size: 12px; color: var(--muted); margin-top: 12px; }
.giver-pot { display: grid; place-items: center; padding: 8px 0; }
.mini { width: min(240px, 60vw); height: auto; overflow: visible; }
.mini [data-mini-water] { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 1s var(--e-out); }
.mini text { font: 600 9px var(--f-b); fill: var(--basalt); }
.mini .lv-on { stroke-dasharray: none; }
.funds { display: grid; border-top: 1px solid var(--basalt); }
.funds li { display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); transition: color .3s; }
.f-mark { width: 10px; height: 10px; border: 1px solid currentColor; transform: rotate(45deg); transition: background-color .3s; align-self: center; }
.f-t { font-size: 15px; line-height: 1.4; }
.f-c { font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.funds li.on { color: var(--basalt); }
.funds li.main .f-mark { background: var(--water); border-color: var(--basalt); }
.funds li.main .f-t { font-weight: 600; }
.sum { font: 400 clamp(22px, 2.2vw, 30px)/1.25 var(--f-d); letter-spacing: -.01em; margin: 24px 0 28px; min-height: 3.75em; text-wrap: pretty; }
.pledge { display: grid; gap: 14px; }
.f-row { display: grid; gap: 12px; }
.f-row label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.freq { display: inline-flex; gap: 0; border: 1px solid var(--line); border-radius: var(--r); padding: 3px; justify-self: start; }
.freq span { display: block; padding: 8px 16px; font-size: 14px; font-weight: 600; border-radius: 2px; color: var(--muted); }
.freq input:checked + span { background: var(--basalt); color: var(--lime); }
.f-err { color: #8A1F12; font-size: 14px; font-weight: 600; min-height: 0; }
.f-err:empty { display: none; }
.pledge input[aria-invalid="true"] { border-color: #8A1F12; box-shadow: inset 0 0 0 1px #8A1F12; }
.thanks { display: grid; gap: 14px; justify-items: start; padding: 24px; border: 1px solid var(--basalt); border-radius: var(--r); background: var(--lime); }
.thanks .ic { width: 28px; height: 28px; padding: 4px; background: var(--water); border-radius: 50%; }
.thanks p { font: 400 22px/1.3 var(--f-d); }
@media (min-width: 640px) { .amt-grid { grid-template-columns: repeat(4, 1fr); } .f-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .giver { grid-template-columns: 5fr 3fr 6fr; gap: 48px; align-items: start; }
  .amt-grid { grid-template-columns: 1fr 1fr; }
  .giver-pot { position: sticky; top: 120px; }
  .mini { width: 100%; max-width: 260px; }
}

/* contact */
.contact { padding: clamp(96px, 14vh, 160px) var(--pad); display: grid; gap: 40px; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.contact .k { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.contact a { text-decoration-color: rgba(30, 36, 40, .35); text-underline-offset: 4px; }
@media (min-width: 900px) { .contact { grid-template-columns: 4fr 7fr; } .contact-grid { grid-template-columns: repeat(4, 1fr); } }

/* footer */
.foot { background: var(--basalt); color: var(--lime); padding: clamp(72px, 12vh, 140px) var(--pad) 96px; overflow: hidden; }
.foot-line { font: italic 400 clamp(64px, 15vw, 240px)/.88 var(--f-d); letter-spacing: -.04em; margin-bottom: clamp(48px, 8vh, 96px); }
.foot-line::after { content: ""; display: block; width: .42em; height: .06em; background: var(--water); margin-top: .18em; }
.foot-grid { display: grid; gap: 32px; border-top: 1px solid var(--line-d); padding-top: 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot nav a { text-decoration: none; font-weight: 500; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-legal { display: grid; gap: 10px; }
.concept-line { font-size: 14px; color: var(--lime); }
.credits { font-size: 13px; color: var(--muted-d); max-width: 80ch; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1fr 2fr; } }

/* concept badge */
.concept-badge { position: fixed; left: 12px; bottom: 12px; z-index: 60; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r); background: var(--basalt); color: var(--lime); font: 500 12px/1.2 var(--f-b); text-decoration: none; border: 1px solid rgba(232, 233, 228, .22); box-shadow: 0 8px 24px -12px rgba(30, 36, 40, .6); transition: transform var(--t-fast); }
.concept-badge:hover { transform: translateY(-1px); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; transition-delay: 0s !important; animation-duration: .001ms !important; }
  .rv, .ph img, .ch-t { clip-path: none !important; transform: none !important; }
}
.hint.used { opacity: 0; }
.js .stage { touch-action: pan-y; }
.chapters, .readout, .progress { pointer-events: none; }
