/* GoodDeedFund.org stylesheet. Plain CSS, no build step. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrainsmono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --bg-2: #0b0b0c;
  --bg-3: #131315;
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.22);
  --text: #f4f4f2;
  --muted: #a6a6a6;
  --dim: #8a8a8a;
  --accent: #f7931a;
  --accent-ink: #000;
  --ok: #4ade80;
  --error: #ff8a7a;
  --radius: 4px;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --nav-h: 72px;
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #000; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 1000;
  background: var(--text); color: #000; padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Type ---------- */
.display {
  font-stretch: 118%;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.94;
  margin: 0;
}
.h1 { font-size: clamp(44px, 8.4vw, 132px); }
.h2 { font-size: clamp(34px, 5.2vw, 76px); }
.h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 22px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: #d6d6d4; max-width: 46ch; margin: 0; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 28px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-stretch: 112%;
  text-decoration: none; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--text); color: #000; }
.btn-primary:hover { background: #fff; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #ffa53a; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(0,0,0,0.25); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,0.06); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav.is-solid { background: rgba(0,0,0,0.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-word { font-stretch: 125%; font-weight: 700; font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-stretch: 112%;
  text-decoration: none; color: #dcdcdc; position: relative; padding: 6px 0;
}
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-cta { margin-left: 8px; }
.nav-links a.btn { color: #000; padding: 0 18px; }
.nav-links a.btn::after { display: none; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), opacity .3s; }
.menu-btn span + span { margin-top: 7px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: #000;
  padding: calc(var(--nav-h) + 24px) var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; text-decoration: none; font-stretch: 118%; font-weight: 700; font-size: 26px; text-transform: uppercase; }
.mobile-menu .mono { font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.08); animation: drift 40s var(--ease) infinite alternate; }
@keyframes drift { from { transform: scale(1.08) translateY(0); } to { transform: scale(1.16) translateY(-1.5%); } }
.hero-stars { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 52%, rgba(0,0,0,0.85) 86%, #000 100%);
}
.hero-content { padding-top: calc(var(--nav-h) + 8vh); padding-bottom: 48px; }
.hero h1 { font-size: clamp(40px, 7.6vw, 124px); }
@media (min-width: 761px) { .hero h1 .line { white-space: nowrap; } }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }
.hero .lede { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.stats {
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(0,0,0,0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.stat { padding: 26px var(--pad) 30px; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; }
.stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stat-value { font-stretch: 112%; font-weight: 600; font-size: clamp(26px, 3vw, 44px); line-height: 1.1; margin-top: 10px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.stat-value small { font-size: 0.42em; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; margin-left: 6px; }
.stat-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.live-dot.on { background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.countdown { display: flex; gap: 0.18em; align-items: baseline; }
.countdown .sep { color: var(--dim); }
.countdown .unit { font-size: 0.36em; color: var(--muted); font-weight: 500; letter-spacing: 0.08em; margin-left: 2px; margin-right: 6px; }

.scroll-cue { position: absolute; right: var(--pad); bottom: calc(100% + 28px); font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl; }
.scroll-cue::after { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--text), transparent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.stats-wrap { position: relative; }

@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 20px 20px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .scroll-cue { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 40px 80px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head .lede { justify-self: end; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } .section-head .lede { justify-self: start; } }

.index { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }

/* Statement with scroll-lit words */
.statement { padding: clamp(110px, 18vw, 240px) 0; }
.statement p[data-words] {
  font-stretch: 112%; font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(30px, 4.6vw, 68px); line-height: 1.08; margin: 0; max-width: 20ch;
}
.statement .w { color: #3a3a3a; transition: color .5s var(--ease); }
.statement .w.lit { color: var(--text); }
.statement .w.hl.lit { color: var(--accent); }
.statement .sig { margin-top: 48px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 40px 36px 8px 0; border-right: 1px solid var(--line); position: relative; }
.step + .step { padding-left: 36px; }
.step:last-child { border-right: 0; }
.step .num { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.step h3 { margin: 56px 0 16px; }
.step p { color: var(--muted); margin: 0; max-width: 34ch; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--text); transition: width 1.2s var(--ease); }
.step + .step::before { left: 0; }
.step.is-in::before { width: 100%; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 32px 0 40px; border-right: 0; border-bottom: 1px solid var(--line); }
  .step h3 { margin-top: 28px; }
}

/* Donate */
.donate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(40px, 7vw, 120px); align-items: center; }
.donate-copy .h2 { margin-bottom: 28px; }
.donate-notes { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.donate-notes li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); color: #cfcfcd; font-size: 15px; }
.donate-notes svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.wallet {
  border: 1px solid var(--line-2); border-radius: 8px; background: linear-gradient(180deg, #0d0d0e, #070708);
  padding: clamp(22px, 3vw, 36px); position: relative; overflow: hidden;
}
.wallet::before { content: ""; position: absolute; inset: -1px; border-radius: 8px; padding: 1px; background: linear-gradient(140deg, rgba(247,147,26,.55), transparent 35%, transparent 70%, rgba(255,255,255,.2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.wallet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.wallet-top .mono { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 10px; color: #d8d8d8; }
.chip svg { width: 14px; height: 14px; color: var(--accent); }
.qr {
  aspect-ratio: 1; width: 100%; max-width: 300px; margin: 0 auto; background: #fff; border-radius: 6px; padding: 16px;
  display: grid; place-items: center;
}
.qr svg { width: 100%; height: 100%; }
.qr.is-empty { background: repeating-linear-gradient(45deg, #0f0f10 0 10px, #121214 10px 20px); border: 1px dashed var(--line-2); padding: 28px; text-align: center; }
.qr.is-empty p { margin: 0; color: var(--muted); font-size: 14px; }
.qr.is-empty strong { display: block; color: var(--text); font-stretch: 112%; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; font-size: 15px; }
.addr-label { margin: 24px 0 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.addr-row { display: flex; gap: 8px; align-items: stretch; }
.addr {
  flex: 1; min-width: 0; font-family: var(--mono); font-size: 13.5px; line-height: 1.5; padding: 12px 14px;
  background: #000; border: 1px solid var(--line); border-radius: var(--radius); word-break: break-all; color: #eaeaea;
}
.copy-btn { flex: none; min-width: 96px; }
.copy-btn.is-done { background: var(--ok); color: #000; }
.wallet-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 18px; font-size: 14px; }
.wallet-links a { color: #d0d0d0; }
.wallet-links a:hover { color: #fff; }
@media (max-width: 900px) { .donate { grid-template-columns: 1fr; } }

/* Manifest / featured */
.manifest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.slot {
  border: 1px solid var(--line); border-radius: 8px; padding: 28px; min-height: 340px;
  display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 100% 0%, rgba(255,255,255,0.04), transparent 60%);
  text-decoration: none; transition: border-color .3s var(--ease), transform .4s var(--ease);
}
a.slot:hover { border-color: var(--line-2); transform: translateY(-3px); }
.slot .top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.slot .orbit { position: absolute; right: -60px; top: 40px; width: 260px; height: 260px; opacity: .55; }
.slot h3 { margin: 0 0 10px; }
.slot p { margin: 0; color: var(--muted); font-size: 15px; }
.slot .go { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-stretch: 112%; }
.slot .go svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .manifest { grid-template-columns: 1fr; } .slot { min-height: 240px; } }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { padding: 44px 40px 48px 0; }
.trust-item + .trust-item { padding-left: 40px; border-left: 1px solid var(--line); }
.trust-item svg { width: 40px; height: 40px; color: var(--text); }
.trust-item h3 { margin: 32px 0 14px; }
.trust-item p { margin: 0; color: var(--muted); max-width: 36ch; }
@media (max-width: 900px) {
  .trust { grid-template-columns: 1fr; }
  .trust-item, .trust-item + .trust-item { padding: 36px 0; border-left: 0; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-stretch: 108%; font-weight: 600; font-size: clamp(18px, 1.7vw, 22px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 18px; height: 18px; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq summary:hover { color: #fff; }
.faq .answer { padding: 0 0 28px; color: #c4c4c2; max-width: 70ch; }
.faq .answer p { margin: 0 0 12px; }

/* Full-bleed CTA */
.cta-band { position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.1) 100%); }
.cta-band .h2 { max-width: 13ch; }
.cta-band .lede { margin: 28px 0 36px; }
@media (max-width: 760px) { .cta-band::after { background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.92) 70%); } .cta-band { align-items: flex-end; padding-bottom: 72px; } }

/* ---------- Page header (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + clamp(72px, 12vw, 160px)) 0 clamp(56px, 8vw, 96px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero.with-img { min-height: 78vh; display: flex; align-items: flex-end; }
.page-hero.with-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 75% 50%; }
.page-hero.with-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.35) 60%, rgba(0,0,0,.2)), linear-gradient(0deg, #000, transparent 40%); }
.page-hero .lede { margin-top: 28px; }
.page-hero .h1 { font-size: clamp(42px, 7vw, 112px); max-width: 14ch; }

/* ---------- Form ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.form-aside { position: sticky; top: calc(var(--nav-h) + 40px); }
.form-aside ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.form-aside li { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; transition: color .3s; }
.form-aside li .mono { font-size: 12px; }
.form-aside li.is-active { color: var(--text); }
.form-aside li.is-active .mono { color: var(--accent); }
.form-aside .progress { height: 2px; background: var(--line); margin-top: 28px; position: relative; overflow: hidden; }
.form-aside .progress span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .5s var(--ease); }
.form-aside .note { font-size: 14px; color: var(--muted); margin-top: 18px; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } .form-aside { position: static; } .form-aside ol { display: none; } }

fieldset { border: 0; margin: 0 0 64px; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 28px; width: 100%; display: flex; align-items: baseline; gap: 16px; }
legend .mono { color: var(--accent); font-size: 13px; }
legend .h3 { font-stretch: 118%; font-weight: 700; text-transform: uppercase; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.field { margin-bottom: 28px; position: relative; }
.field label, .field .label { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-stretch: 108%; margin-bottom: 10px; color: #e2e2e2; }
.field label .opt { color: var(--muted); font-weight: 500; letter-spacing: .06em; text-transform: none; font-stretch: 100%; }
.input {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px; font-size: 17px; line-height: 1.4; color: var(--text);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.input::placeholder { color: #6f6f6f; }
.input:hover { border-color: var(--line-2); }
.input:focus { outline: none; border-color: var(--accent); background: #0e0e10; box-shadow: 0 0 0 3px rgba(247,147,26,.18); }
textarea.input { min-height: 132px; resize: vertical; }
.input-prefix { position: relative; }
.input-prefix > span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-family: var(--mono); pointer-events: none; }
.input-prefix .input { padding-left: 34px; font-family: var(--mono); }
.hint { font-size: 14px; color: var(--muted); margin-top: 8px; display: flex; justify-content: space-between; gap: 12px; }
.count { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.count.over { color: var(--error); }
.error-msg { color: var(--error); font-size: 14px; margin-top: 8px; display: none; }
.field.has-error .input { border-color: var(--error); }
.field.has-error .error-msg { display: block; }
.field label.check { display: grid; justify-content: stretch; text-transform: none; letter-spacing: 0; font-weight: 400; font-stretch: 100%; margin-bottom: 0; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 2px 0 0; border: 1.5px solid var(--line-2); border-radius: 3px; background: #000; display: grid; place-items: center; cursor: pointer; }
.check input::after { content: ""; width: 11px; height: 6px; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .15s; }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check span { font-size: 15px; color: #d4d4d2; }
.field.has-error .check { border-color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.form-actions .muted { font-size: 14px; }
.form-status { margin-top: 20px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--error); color: var(--error); display: none; }
.form-status.show { display: block; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(0,0,0,.25); border-top-color: #000; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: block; }
.is-loading .btn-label-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.success { display: none; padding: clamp(32px, 5vw, 64px); border: 1px solid var(--line-2); border-radius: 8px; background: radial-gradient(100% 120% at 0% 0%, rgba(247,147,26,.12), transparent 55%), var(--bg-2); }
.success.show { display: block; }
.success .check-ring { width: 64px; height: 64px; color: var(--accent); margin-bottom: 28px; }
.success .h2 { font-size: clamp(32px, 4vw, 56px); margin-bottom: 20px; }
.success .ref { margin-top: 28px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.success ol { color: #cfcfcd; padding-left: 20px; margin: 24px 0 0; }
.success ol li { margin-bottom: 8px; }

/* ---------- Funded ---------- */
.empty {
  position: relative; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; isolation: isolate;
  min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 5vw, 64px);
}
.empty img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.empty::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.85) 75%); }
.empty .h2 { max-width: 14ch; }
.empty .lede { margin: 20px 0 32px; }
.empty .countdown-lg { font-family: var(--mono); font-size: clamp(22px, 3vw, 36px); margin-bottom: 32px; color: var(--text); font-variant-numeric: tabular-nums; }
.empty .countdown-lg .unit { font-size: .45em; color: var(--muted); margin: 0 14px 0 4px; letter-spacing: .1em; }

.totals { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 64px; }
.totals > div { padding: 24px 24px 26px 0; }
.totals > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 640px) { .totals { grid-template-columns: 1fr; } .totals > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } }

.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .projects { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg-2); display: flex; flex-direction: column; }
.card-media { aspect-ratio: 16/9; background: #111; position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .status { position: absolute; left: 16px; top: 16px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.7); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.status.complete::before { background: var(--ok); }
.example-flag { position: absolute; right: 16px; top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; padding: 6px 10px; background: var(--accent); color: #000; border-radius: 3px; font-weight: 600; }
.card-body { padding: 28px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.card-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.card h3 { margin: 6px 0 0; }
.card p { margin: 0; color: #c9c9c7; }
.card-figs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-figs > div { padding: 14px 0; }
.card-figs > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.card-figs .v { font-stretch: 112%; font-weight: 600; font-size: 22px; font-variant-numeric: tabular-nums; }
.card-figs .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.milestones { list-style: none; margin: 0; padding: 0; }
.milestones li { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: baseline; padding: 8px 0; font-size: 15px; color: #cfcfcd; }
.milestones li .tick { width: 12px; height: 12px; border: 1.5px solid var(--line-2); border-radius: 50%; transform: translateY(1px); }
.milestones li.done .tick { background: var(--accent); border-color: var(--accent); }
.milestones li a, .milestones li .amt { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.updates { border-top: 1px solid var(--line); padding-top: 16px; }
.updates h4 { margin: 0 0 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.updates article { padding: 8px 0; font-size: 15px; color: #cfcfcd; }
.updates time { font-family: var(--mono); font-size: 12px; color: var(--muted); display: block; }
.tx-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; align-self: flex-start; word-break: break-all; }
.tx-link:hover { border-color: var(--accent); }
.tx-link svg { width: 14px; height: 14px; flex: none; }

/* ---------- Legal pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-stretch: 112%; font-weight: 700; font-size: 24px; margin: 56px 0 14px; text-transform: uppercase; letter-spacing: .01em; }
.prose p, .prose li { color: #cfcfcd; }
.prose ul { padding-left: 20px; }
.review-note { border: 1px solid rgba(247,147,26,.5); background: rgba(247,147,26,.07); padding: 16px 20px; border-radius: var(--radius); font-size: 15px; color: #f1d3ad; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 40px; font-size: 14px; color: var(--muted); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer h2 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { text-decoration: none; color: #d0d0d0; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .brand { margin-bottom: 20px; }
.footer-legal { padding-top: 32px; display: grid; gap: 10px; max-width: 900px; font-size: 13px; line-height: 1.6; }
.footer-legal p { margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 32px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.js-off .reveal, .no-js .reveal { opacity: 1; transform: none; }
.hero-in .line > span { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { transform: none; } }
.fade-in { opacity: 0; animation: fade 1.2s var(--ease) forwards; animation-delay: var(--d, .4s); }
@keyframes fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { animation: none; transform: scale(1.04); }
  .statement .w { color: var(--text); }
  .statement .w.hl { color: var(--accent); }
}

[hidden] { display: none !important; }
.empty ~ .projects:not(:empty) { margin-top: 28px; }
