:root {
  --pink: #CF1667;
  --rose: #A80F50;
  --deep: #4A0624;
  --blush: #FF9DC4;
  --cream: #FFF1CA;
  --gold: #F4C24E;

  /* live theme, tweened by JS between sections */
  --bg: #FFF1CA;
  --fg: #CF1667;
  --line: color-mix(in srgb, var(--fg) 24%, transparent);
  --soft: color-mix(in srgb, var(--fg) 8%, transparent);
  --shadow: 74, 6, 36;

  --f-display: "Bricolage Grotesque", "Inter Tight", system-ui, sans-serif;
  --f-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --pad: clamp(16px, 4vw, 64px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M0 4Q3 .6 6 4T12 4T18 4T24 4' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --lb: var(--fg);
  --ld: var(--bg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }
a { color: inherit; }
svg { display: block; }
button { font: inherit; }
main, footer { position: relative; z-index: 1; }
::selection { background: var(--fg); color: var(--bg); }

.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* ---------- shared bits ---------- */
.label { display: flex; align-items: center; gap: 14px; margin: 0; }
.label span { font-weight: 700; }
.label i { width: 40px; height: 1.5px; background: currentColor; opacity: .5; }

h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(42px, 6.4vw, 100px);
  line-height: .95;
  letter-spacing: -.04em;
  margin: 24px 0 0;
}

.u { position: relative; display: inline-block; --u: 0; white-space: nowrap; }
.u::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.1em;
  height: .17em;
  background: currentColor;
  -webkit-mask: var(--wave) repeat-x left center / .5em .17em;
          mask: var(--wave) repeat-x left center / .5em .17em;
  transform: scaleX(var(--u));
  transform-origin: left;
}

.wave-line {
  height: 10px;
  background: currentColor;
  opacity: .4;
  -webkit-mask: var(--wave) repeat-x left center / 24px 8px;
          mask: var(--wave) repeat-x left center / 24px 8px;
}

/* split text */
/* the mask needs room above ascenders (t, h, P) and below descenders because the display type is set at line-height < 1 */
.sw { display: inline-block; overflow: hidden; padding: .16em .04em .18em; margin: -.16em -.04em -.18em; vertical-align: top; }
.sc { display: inline-block; will-change: transform; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1.5px solid var(--fg);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .3s, color .3s;
}
.btn-solid { background: var(--fg); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--fg); }
.btn:hover { transform: translateY(-3px); }
.btn-solid:hover { box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--fg) 80%, transparent); }
.btn-ghost:hover { background: var(--soft); }
.btn:active { transform: translateY(0) scale(.97); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 10px;
}
.chip b { font-weight: 700; letter-spacing: .06em; }

/* charity badge: initials in a coin */
.badge {
  --s: 40px;
  flex: none;
  width: var(--s); height: var(--s);
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fg); color: var(--bg);
  font-family: var(--f-display); font-weight: 800;
  font-size: calc(var(--s) * .34); letter-spacing: -.02em;
  box-shadow: inset 0 0 0 calc(var(--s) * .06) color-mix(in srgb, var(--bg) 35%, transparent);
}
.badge-xl { --s: clamp(76px, 8vw, 112px); }

/* ---------- overlays ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--pink); color: var(--cream);
  display: grid; place-items: center;
}
.loader-inner { text-align: center; display: grid; justify-items: center; }
.loader-title {
  font-family: var(--f-display); font-weight: 800;
  font-size: 30px; letter-spacing: -.02em;
  margin: 26px 0 18px;
}
.loader-pct { margin: 0; letter-spacing: .4em; }

.specks { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: var(--fg);
  transform: scaleX(0); transform-origin: left;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: var(--pad); right: var(--pad); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px 8px 8px 10px;
  border-radius: 999px;
  color: var(--fg);
}
.nav.ready { transition: transform .6s var(--ease-out), background-color .4s, box-shadow .4s; }
/* custom props that derive from --fg must be re-declared wherever --fg is overridden */
.board-card, .m-card, .ca-card, .banner-card, .now-float {
  --line: color-mix(in srgb, var(--fg) 24%, transparent);
  --soft: color-mix(in srgb, var(--fg) 8%, transparent);
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
          backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--line), 0 12px 30px -18px rgba(var(--shadow), .35);
}
.nav.hidden { transform: translateY(-150%); }
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em;
}
.brand svg { width: 38px; height: 38px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; opacity: .78; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.pill {
  height: 38px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--fg);
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em;
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  transition: background-color .25s;
}
.pill:hover { background: var(--soft); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.8s ease-in-out infinite; }
.x-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--fg); color: var(--bg);
  display: grid; place-items: center;
  transition: transform .3s var(--ease-out);
}
.x-btn:hover { transform: rotate(90deg); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  padding: 120px var(--pad) 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
}
.hero-grid {
  display: grid; grid-template-columns: 1.3fr .7fr;
  align-items: center; gap: 24px; flex: 1;
}
.eyebrow { display: flex; align-items: center; gap: 16px; margin: 0 0 30px; }
.eyebrow .rule { width: 56px; height: 1.5px; background: currentColor; }
.hero-title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(58px, 10.2vw, 176px);
  line-height: .88; letter-spacing: -.05em;
  margin: 0;
}
.hero-title .line { display: block; }
.hero-title .line:nth-child(2) { padding-left: .62em; }
.hero-title .u::after { bottom: -.2em; }
.hero-coin { display: grid; place-items: center; }
.coin-wrap { --coin: clamp(220px, 27vw, 400px); perspective: 1400px; }
.coin-float { width: var(--coin); height: var(--coin); }
.coin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.coin-face {
  position: absolute; inset: 0; border-radius: 50%;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.coin-face svg { width: 100%; height: 100%; }
.coin-face.front { transform: translateZ(9px); }
.coin-face.back { transform: rotateY(180deg) translateZ(9px); }
.coin-edge { position: absolute; inset: 0; border-radius: 50%; background: var(--deep); }
.coin-shadow {
  width: 62%; height: 26px; margin: 34px auto 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--shadow), .32), transparent);
}

.hero-foot {
  display: grid; grid-template-columns: 1fr auto;
  align-items: end; gap: 28px 48px;
  margin-top: 40px;
}
.hero-sub { max-width: 470px; margin: 0; font-size: 17px; }
.hero-ctas { display: flex; gap: 12px; grid-column: 2; grid-row: 1; }
.handoff { grid-column: 1 / -1; }
.handoff > .mono { margin: 0 0 10px; opacity: .8; }
.cd { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cd b {
  display: block; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(34px, 3.4vw, 50px); line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.cd > div span { font-size: 9px; opacity: .7; }
.cd-now {
  display: flex; align-items: center; gap: 12px;
  margin-left: 8px; padding: 8px 18px 8px 8px;
  border: 1.5px solid var(--line); border-radius: 999px;
  text-decoration: none; min-width: 0;
  transition: background-color .3s;
}
.cd-now:hover { background: var(--soft); }
.cd-now .mono { display: block; font-size: 9px; opacity: .7; }
.cd-now b { font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.015em; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 34ch; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 0;
  width: 1.5px; height: 48px; overflow: hidden;
  background: var(--line);
}
.scroll-cue::after {
  content: ""; position: absolute; inset: 0; background: var(--fg);
  animation: cue 2.2s cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* ---------- live board ---------- */
.board { padding: 60px var(--pad) 110px; }
.board-card {
  --fg: var(--cream); --bg: var(--pink);
  background: var(--pink); color: var(--cream);
  border-radius: 36px;
  padding: clamp(22px, 4vw, 56px);
  position: relative; overflow: hidden;
  box-shadow: 0 50px 90px -50px rgba(var(--shadow), .75);
}
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.board-name { opacity: .8; }
.live { display: flex; align-items: center; gap: 10px; }
.live i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--cream); }
.live i::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--cream); animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.8); opacity: 0; } }

.board-main {
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 4vw, 64px); align-items: center;
  margin: clamp(30px, 4vw, 56px) 0 clamp(30px, 4vw, 48px);
}
.now-label { margin: 0 0 18px; opacity: .8; }
.now-card { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); perspective: 900px; }
.now-text { min-width: 0; }
.now-name {
  margin: 0;
  font-size: clamp(36px, 5.2vw, 84px); line-height: .94; letter-spacing: -.04em;
  overflow-wrap: anywhere; hyphens: auto;
}
.now-cause { margin: 14px 0 0; opacity: .8; }
.now-blurb { max-width: 520px; margin: 28px 0 18px; font-size: 16px; opacity: .92; }
.now-link { display: inline-block; font-size: 10px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.now-link:hover { border-color: currentColor; }

.ring-wrap { position: relative; width: min(380px, 100%); aspect-ratio: 1; justify-self: center; }
.ring { width: 100%; height: 100%; overflow: visible; }
.ring-ticks { fill: none; stroke: var(--cream); stroke-opacity: .45; stroke-width: 2.4; stroke-dasharray: .5 4.47; }
.ring-track { fill: none; stroke: var(--cream); stroke-opacity: .16; stroke-width: 5; }
.ring-bar { fill: none; stroke: var(--cream); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 0; }
.ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.ring-center > .mono { font-size: 10px; opacity: .8; }
.ring-time {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(64px, 8vw, 116px); line-height: 1; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  margin: 8px 0 0;
}

.board-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.board-stats > div { padding: 24px 22px; border-left: 1px solid var(--line); }
.board-stats > div:first-child { border-left: 0; padding-left: 0; }
.board-stats .mono { font-size: 10px; opacity: .78; }
.board-stats b {
  display: block; margin-top: 10px;
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -.02em; line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.board-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 30px; }
.list-label { margin: 0; opacity: .78; font-size: 10px; }
.queue, .log { list-style: none; padding: 0; margin: 10px 0 0; }
.queue li, .log li {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.log li { grid-template-columns: 40px 1fr auto auto; }
.queue li:first-child .badge { box-shadow: 0 0 0 3px var(--pink), 0 0 0 4.5px var(--cream); }
.queue h4, .log h4 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue p, .log p { margin: 2px 0 0; font-size: 12.5px; opacity: .75; }
.queue .eta { font-size: 10px; letter-spacing: .12em; opacity: .85; white-space: nowrap; }
.log .amt { font-family: var(--f-display); font-weight: 700; font-size: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.log a { font-size: 10px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; white-space: nowrap; }
.queue li > div, .log li > div { min-width: 0; }
.lock {
  display: inline-flex; margin: 26px 0 0;
  padding: 10px 16px; border-radius: 999px;
  background: var(--cream); color: var(--pink); font-size: 10px; letter-spacing: .14em;
}

/* ---------- bands ---------- */
.bands { padding: 70px 0 90px; overflow: hidden; position: relative; }
.band { width: 120vw; margin-left: -10vw; padding: 18px 0; }
.band-pink { background: var(--pink); color: var(--cream); transform: rotate(-3deg); position: relative; z-index: 2; box-shadow: 0 20px 40px -24px rgba(var(--shadow), .6); }
.band-gold { background: var(--gold); color: var(--deep); transform: rotate(2.4deg); margin-top: -26px; }
.band-track { display: flex; align-items: center; width: max-content; animation: marquee 34s linear infinite; }
.band-gold .band-track { animation-direction: reverse; animation-duration: 40s; }
.band-track span {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(26px, 3.8vw, 56px); letter-spacing: -.025em;
  padding: 0 26px; white-space: nowrap;
}
.band-track em { font-style: normal; font-weight: 700; font-size: clamp(20px, 2.6vw, 36px); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(110px, 18vh, 200px) var(--pad); }
.manifesto-text {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 70px); line-height: 1.1; letter-spacing: -.03em;
  margin: 44px 0 0; max-width: 1240px;
}
.manifesto-text mark { background: none; color: inherit; }
.mw { opacity: .16; }
.mw.hl-w {
  display: inline-block;
  border: 2px solid currentColor; border-radius: .2em;
  padding: 0 .12em; margin: .04em 0; line-height: 1.02;
}

/* ---------- stats clock (pinned) ---------- */
.stats {
  height: 100vh; height: 100svh;
  padding: 96px var(--pad) 36px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.stats-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.stats-count { margin: 0; }
.stats-count b { font-weight: 700; }
.stats-stage {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; justify-items: center;
}
.side { width: 54px; height: 126px; opacity: .7; }
.side-l { animation: bob 4s ease-in-out infinite; }
.side-r { animation: bob 4s ease-in-out -2s infinite; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.clock-disc {
  --d: min(64vh, 82vw, 580px);
  --sweep: 0;
  width: var(--d); height: var(--d);
  border-radius: 50%; position: relative; overflow: hidden;
  background: color-mix(in srgb, var(--cream) 7%, transparent);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--cream) 50%, transparent), 0 40px 90px -40px rgba(40, 2, 18, .6);
}
.clock-fill {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(color-mix(in srgb, var(--cream) 15%, transparent) calc(var(--sweep) * 1deg), transparent 0);
}
.clock-ticks {
  position: absolute; inset: 3.5%; border-radius: 50%;
  background: repeating-conic-gradient(var(--cream) 0 .5deg, transparent .5deg 6deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
          mask: radial-gradient(closest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
  opacity: .55;
}
.clock-hand {
  position: absolute; left: 50%; bottom: 50%;
  width: 2px; height: 44%; margin-left: -1px;
  background: linear-gradient(var(--cream), color-mix(in srgb, var(--cream) 10%, transparent));
  transform-origin: 50% 100%;
  transform: rotate(calc(var(--sweep) * 1deg));
  opacity: .7;
}
.clock-hand::before {
  content: ""; position: absolute; left: 50%; top: -6px;
  width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--gold);
}
.stat-slides { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 13%; }
.stat-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.stat-num {
  display: block;
  font-family: var(--f-display); font-weight: 800;
  font-size: calc(var(--d) * .2); line-height: 1; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stat-slide p { font-size: clamp(15px, 1.4vw, 19px); font-weight: 600; line-height: 1.35; margin: 16px auto 14px; max-width: 330px; }
.stat-slide .mono { font-size: 9px; opacity: .75; }

/* ---------- mission (horizontal pin) ---------- */
.mission { position: relative; }
.mission-pin {
  height: 100vh; height: 100svh;
  overflow: hidden; position: relative;
  display: flex; flex-direction: column; justify-content: center;
}
.mission-track { display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); width: max-content; will-change: transform; }
.m-intro { width: min(560px, 44vw); flex: none; padding-right: 48px; }
.m-intro h2 { font-size: clamp(42px, 5.4vw, 88px); }
.m-intro > p:last-child { max-width: 420px; margin: 26px 0 0; font-size: 17px; }
.m-card {
  --fg: var(--cream); --bg: var(--pink);
  flex: none;
  width: clamp(300px, 29vw, 420px); height: min(560px, 64vh);
  border-radius: 30px; padding: 30px;
  display: flex; flex-direction: column;
  background: var(--pink); color: var(--cream);
  box-shadow: 0 40px 70px -40px rgba(var(--shadow), .65);
  overflow: hidden;
}
.m-card.c2 { background: var(--rose); }
.m-card.c3 { background: var(--deep); }
.m-card.c4 { --fg: var(--deep); --bg: var(--blush); background: var(--blush); color: var(--deep); }
.m-top { display: flex; justify-content: space-between; align-items: flex-start; }
.m-num {
  display: inline-block;
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(96px, 9.5vw, 150px); line-height: .8; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 2px var(--fg);
}
.m-card .wave-line { margin-top: auto; margin-bottom: 24px; }
.m-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 36px; letter-spacing: -.025em; margin: 0 0 10px; line-height: 1; }
.m-card p { margin: 0; font-size: 15px; opacity: .92; }
.m-progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; }
.m-bar { position: relative; height: 2px; background: var(--line); }
.m-bar i { position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(0); }
.m-dot { position: absolute; top: 50%; left: 0; width: 30px; height: 30px; transform: translate(-50%, -50%); --lb: var(--fg); --ld: var(--bg); }
.m-labels { display: flex; justify-content: space-between; margin-top: 16px; font-size: 10px; }
.m-labels span { opacity: .45; transition: opacity .3s; }
.m-labels span.active { opacity: 1; }
.m-outro { padding: 70px var(--pad) 120px; text-align: right; }
.m-outro p {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(58px, 10vw, 168px); line-height: .9; letter-spacing: -.05em; margin: 0;
}

/* ---------- table (pinned) ---------- */
.table-scene {
  height: 100vh; height: 100svh;
  padding: 96px var(--pad) 28px;
  display: flex; flex-direction: column;
  overflow: hidden; position: relative;
}
.table-lines { position: relative; height: 1.1em; font-size: clamp(34px, 5vw, 84px); overflow: hidden; margin-top: 18px; }
.table-lines h2 { position: absolute; top: 0; left: 0; margin: 0; font-size: 1em; white-space: nowrap; line-height: 1.02; }
.table-svg { flex: 1; min-height: 0; width: 100%; margin: 14px 0; overflow: visible; }
.table-hud { display: flex; justify-content: space-between; gap: 16px; font-size: 10px; }
.table-hud b { font-weight: 700; }
.t-table { fill: var(--pink); }
.t-chair { fill: var(--deep); }
.t-line { stroke: var(--cream); fill: none; }
.t-plate { fill: var(--cream); }
.t-rim { fill: none; stroke: var(--pink); stroke-opacity: .25; stroke-width: 2; }
.t-mono { fill: var(--pink); font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -.5px; }
.t-halo { fill: none; stroke: var(--gold); stroke-width: 6; }
.t-check { fill: var(--gold); }
.t-coin-o { fill: var(--gold); stroke: var(--deep); stroke-width: 3; }
.t-coin-i { fill: none; stroke: var(--deep); stroke-width: 2; stroke-dasharray: 2 4; }
.t-coin-t { fill: var(--deep); font-family: var(--f-display); font-weight: 800; font-size: 22px; }
.t-trail { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 10; opacity: .9; }

/* ---------- token ---------- */
.token { padding: 150px var(--pad); }
.token-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.token-copy { max-width: 520px; margin: 28px 0 0; font-size: 17px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 40px 0 0; border-top: 1px solid var(--line); }
.facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { padding-right: 20px; }
.facts dt { font-size: 10px; opacity: .78; }
.facts dd { margin: 8px 0 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; }
.ca-card {
  --fg: var(--pink); --bg: var(--cream);
  background: var(--cream); color: var(--pink);
  border-radius: 30px; padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 50px 90px -40px rgba(40, 2, 18, .6);
}
.ca-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ca-head > .mono { font-size: 10px; opacity: .8; }
.ca-value { font-family: var(--f-mono); font-size: clamp(14px, 1.5vw, 18px); line-height: 1.6; word-break: break-all; margin: 30px 0; letter-spacing: .06em; }
.ca-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ca-note { font-size: 13px; opacity: .8; margin: 20px 0 0; }

/* ---------- roadmap ---------- */
.roadmap { padding: 150px var(--pad) 130px; }
.weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 74px; }
.wk { border-top: 1.5px solid var(--line); padding-top: 34px; }
.dial {
  --p: 0;
  position: relative;
  width: 132px; height: 132px; border-radius: 50%;
  margin-bottom: 30px;
  display: grid; place-items: center;
}
.dial::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--fg) calc(var(--p) * 1%), color-mix(in srgb, var(--fg) 16%, transparent) 0);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
          mask: radial-gradient(closest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
}
.dial span { font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.wk.now .dial::after {
  content: ""; position: absolute; inset: 22px; border-radius: 50%;
  background: var(--gold); opacity: .9;
  animation: pulse 2s ease-in-out infinite;
}
.wk.now .dial span { position: relative; z-index: 1; color: var(--deep); }
.week-n { margin: 0; font-weight: 700; }
.wk h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2vw, 28px); line-height: 1.05; letter-spacing: -.02em; margin: 12px 0 10px; }
.wk p:last-child { margin: 0; font-size: 15px; opacity: .86; }
.roadmap-cta { text-align: center; margin-top: 130px; }
.roadmap-cta > .mono { margin: 0; opacity: .85; }
.roadmap-cta [data-k="clock2"] { font-weight: 700; font-variant-numeric: tabular-nums; }
.roadmap-cta h2 { font-size: clamp(56px, 9vw, 150px); margin-top: 18px; }
.cta-row { display: flex; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { padding: 30px var(--pad) 28px; }
.banner-stage { perspective: 1400px; }
.banner-card {
  --lb: var(--pink); --ld: var(--cream);
  background: var(--cream); color: var(--pink);
  border-radius: 36px;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 3vw, 44px);
  padding: clamp(44px, 7vw, 110px) 24px;
  transform-origin: 50% 100%;
  box-shadow: 0 50px 90px -40px rgba(40, 2, 18, .55);
}
.banner-card svg { width: clamp(64px, 11vw, 170px); height: clamp(64px, 11vw, 170px); flex: none; }
.banner-card span { font-family: var(--f-display); font-weight: 800; font-size: clamp(50px, 11vw, 190px); letter-spacing: -.05em; line-height: 1; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot-grid .mono { margin: 0 0 18px; font-size: 10px; opacity: .8; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: 0 0 14px; }
.foot-grid li a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.foot-grid li a:hover { border-color: currentColor; }
.disclaimer { margin: 0; font-size: 13px; opacity: .85; max-width: 560px; }
.foot-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 10px; }
.foot-bar a { text-decoration: none; }

/* ---------- floating "now giving" pop-up ---------- */
.now-float {
  --fg: var(--cream); --bg: var(--deep);
  position: fixed; left: var(--pad); bottom: 20px; z-index: 55;
  display: flex; align-items: center; gap: 12px;
  max-width: min(440px, calc(100vw - 2 * var(--pad)));
  padding: 8px 18px 8px 8px; border-radius: 999px;
  background: var(--deep); color: var(--cream);
  text-decoration: none;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--cream) 14%, transparent), 0 24px 48px -20px rgba(40, 2, 18, .7);
  transform: translateY(calc(100% + 40px)); visibility: hidden;
  transition: transform .7s var(--ease-out), visibility 0s .7s;
}
.now-float.on { transform: none; visibility: visible; transition: transform .7s var(--ease-out); }
.now-float .badge { --s: 42px; background: var(--gold); color: var(--deep); box-shadow: none; }
.nf-text { min-width: 0; display: grid; }
.nf-text .mono { font-size: 8.5px; opacity: .7; letter-spacing: .18em; }
.nf-text b { font-family: var(--f-display); font-weight: 700; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-time { margin-left: auto; padding-left: 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; }

/* toast */
.toast {
  position: fixed; right: var(--pad); bottom: 24px; z-index: 95;
  max-width: calc(100vw - 2 * var(--pad));
  transform: translateY(calc(100% + 40px));
  visibility: hidden;
  background: var(--gold); color: var(--deep);
  padding: 12px 20px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .06em;
  box-shadow: 0 18px 40px -18px rgba(40, 2, 18, .6);
  transition: transform .5s var(--ease-out), visibility 0s .5s;
}
.toast.show { transform: none; visibility: visible; transition: transform .5s var(--ease-out); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .board-main { grid-template-columns: 1fr; }
  .ring-wrap { width: min(340px, 86%); }
  .board-lists { grid-template-columns: 1fr; gap: 30px; }
  .token-grid { grid-template-columns: 1fr; gap: 50px; }
  .weeks { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
}

@media (max-width: 899px) {
  .hero { padding-top: 104px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-coin { order: -1; justify-items: end; margin-bottom: -30px; }
  .coin-wrap { --coin: clamp(140px, 36vw, 220px); }
  .coin-shadow { margin-top: 14px; height: 16px; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-ctas { grid-column: 1; grid-row: auto; flex-wrap: wrap; }
  .board-stats { grid-template-columns: 1fr 1fr; }
  .board-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .board-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }

  .mission-pin { height: auto; overflow: visible; display: block; padding: 110px 0 0; }
  .mission-track { flex-direction: column; align-items: stretch; width: auto; gap: 18px; }
  .m-intro { width: auto; padding: 0 0 20px; }
  .m-card { width: 100%; height: auto; min-height: 340px; }
  .m-progress { display: none; }

  .stats-stage { grid-template-columns: 1fr; }
  .side { display: none; }
  .table-lines { height: 2.2em; font-size: clamp(32px, 9vw, 54px); }
  .table-lines h2 { white-space: normal; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .pill { display: none; }
  .eyebrow { gap: 10px; }
  .eyebrow .rule { width: 24px; }
  .cd { gap: 18px; }
  .cd-now { margin-left: 0; width: 100%; }
  .hero-foot { gap: 22px; margin-top: 28px; }
  .hero-sub { order: 1; }
  .handoff { order: 2; }
  .hero-ctas { order: 3; }
  .cd { gap: 12px 18px; }
  .btn { height: 52px; padding: 0 22px; font-size: 15px; }
  .hero-ctas .btn { flex: 1; }
  .board-card { border-radius: 26px; }
  .board-top .board-name { display: none; }
  .now-card { align-items: flex-start; }
  .log li { grid-template-columns: 40px 1fr auto; gap: 6px 14px; }
  .log li > div { grid-column: 2 / -1; }
  .log .amt { grid-column: 2; font-size: 16px; }
  .log li a { grid-column: 3; }
  .weeks { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .table-hud span:last-child, .table-hud .hud-cue { display: none; }
  .ca-actions .btn { flex: 1; }
  .now-float { right: var(--pad); bottom: 14px; max-width: none; }
  .toast { left: var(--pad); right: var(--pad); bottom: 84px; text-align: center; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .grain { display: none; }
}

/* ---------- last 10 seconds of a round ---------- */
.ring-time, .nf-time { transition: color .3s; }
.ring-wrap.hot .ring-time { color: var(--gold); animation: beat 1s ease-in-out infinite; }
.ring-wrap.hot .ring-bar { stroke: var(--gold); }
.now-float.hot .nf-time { color: var(--gold); }
@keyframes beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.log .demo-tag { font-size: 9px; opacity: .55; letter-spacing: .16em; }

/* claimed / not-claimed status for the charity whose turn it is */
.now-status {
  display: inline-flex; margin: 12px 0 0;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 9px; letter-spacing: .12em; line-height: 1.4;
}
.now-status.ok { background: var(--cream); color: var(--pink); border-color: transparent; }
