:root {
  --bg: #080605;
  --surface: #14100C;
  --surface-2: #1C1610;
  --line: #2C231A;
  --text: #FFF4DC;
  --muted: #C4B498;
  --gold: #FFC21A;
  --gold-deep: #E08A00;
  --red: #FF2A1F;
  --red-hot: #FFD9D2;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--body); font-stretch: 105%; overflow-x: hidden; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }

/* browser tint: Dia paints its toolbar from the page's top pixels; under 6px it ignores them (brand/browser-tint.md) */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: 6px; background: var(--red); z-index: 101; pointer-events: none; }

body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 15px/1 var(--body); font-stretch: 115%;
  padding: 14px 20px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s var(--ease-out), box-shadow .3s, border-color .2s;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 18px 28px; font-size: 17px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 0 0 0 rgba(255, 42, 31, 0), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-red:hover { box-shadow: 0 0 36px 4px rgba(255, 42, 31, .5), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { border-color: var(--line); color: var(--text); background: #120E0A; }
.btn-ghost:hover { border-color: var(--gold); }
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.btn:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gutter);
  background: linear-gradient(to bottom, rgba(8, 6, 5, .9), rgba(8, 6, 5, 0));
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, padding .3s;
}
.nav.scrolled {
  background: rgba(8, 6, 5, .74); border-bottom-color: rgba(44, 35, 26, .7); padding-block: 8px;
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
}
.nav-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 22px/1 var(--display); letter-spacing: .02em; }
.nav-mark img { filter: drop-shadow(0 0 12px rgba(255, 194, 26, .35)); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--text); }
@media (max-width: 640px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px;
  padding: 96px var(--gutter) 64px; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(42% 55% at 74% 50%, rgba(255, 40, 20, .22), transparent 70%),
    radial-gradient(60% 50% at 20% 110%, rgba(255, 42, 31, .10), transparent 70%);
}
.hero-copy { position: relative; z-index: 2; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 600 14px/1 var(--mono); color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.display {
  margin: 0; font: 400 clamp(60px, 8.4vw, 150px)/.9 var(--display);
  text-transform: uppercase; letter-spacing: -.005em;
  text-shadow: 0 2px 30px rgba(8, 6, 5, .8);
}
.display .line { display: block; transform: skewX(-8deg); transform-origin: left; }
.line-gold {
  background: linear-gradient(180deg, #FFF1A6 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;              /* a shadow on clipped text paints through the fill and turns it brown */
  filter: drop-shadow(0 0 28px rgba(255, 170, 20, .35));
}
.lede { max-width: 36ch; margin: 26px 0 32px; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); text-shadow: 0 1px 16px rgba(8, 6, 5, .9); }
.lede strong { color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art { position: relative; z-index: 1; display: grid; place-items: center; }
.coin { position: relative; width: min(100%, 620px); aspect-ratio: 1; animation: float 7s ease-in-out infinite; }
.coin-img { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 40px 90px rgba(255, 40, 20, .28)); }
/* beams.webp is 6×4 coin widths with the coin at column 3, row 1.5 (build_assets.py) — so it lines up exactly */
.beams {
  position: absolute; left: -250%; top: -100%; width: 600%; max-width: none; height: auto; pointer-events: none;
  animation: beam-pulse 3.2s var(--ease-out) infinite;
}
@keyframes beam-pulse {
  0%, 60% { opacity: .82; }
  68% { opacity: 1; }
  80%, 100% { opacity: .82; }
}
.eye {
  position: absolute; top: 38.5%; width: 12%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%); mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(circle, #fff 0 9%, var(--red-hot) 16%, rgba(255, 42, 31, .6) 32%, rgba(255, 42, 31, 0) 70%);
  animation: charge 3.2s var(--ease-out) infinite;
}
.eye-l { left: 45%; }
.eye-r { left: 55.5%; }
@keyframes charge {
  0%, 60% { opacity: .5; scale: .75; }
  68% { opacity: 1; scale: 1.7; }
  76% { opacity: .75; scale: 1; }
  100% { opacity: .5; scale: .75; }
}
@keyframes float { 50% { translate: 0 -10px; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 72px; padding-bottom: 48px; gap: 4px; }
  .hero-art { order: -1; }
  .coin { width: min(70vw, 360px); }
  .display { line-height: .94; }
  .lede { margin: 18px 0 24px; }
  .cta-row .btn { flex: 1 1 auto; }
}

/* contract row */
.ca {
  display: flex; align-items: center; gap: 12px; margin-top: 28px; width: fit-content; max-width: 100%;
  padding: 8px 8px 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: #120E0A;
}
.ca-label { font: 700 12px/1 var(--mono); color: var(--gold); }
.ca-value { font: 500 14px/1.2 var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca-copy { font: 700 13px/1 var(--body); padding: 10px 14px; border-radius: 999px; border: 0; cursor: pointer; background: var(--text); color: var(--bg); }
.ca-copy:disabled { background: rgba(255, 194, 26, .1); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255, 194, 26, .3); cursor: default; font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* tape */
.tape { position: relative; z-index: 3; background: var(--gold); color: #140C02; overflow: hidden; transform: rotate(-1.5deg) scaleX(1.04); margin: -12px 0 0; box-shadow: 0 0 60px rgba(255, 170, 20, .25); }
.tape-track { display: flex; align-items: center; gap: 26px; width: max-content; padding: 13px 0; animation: tape 28s linear infinite; font: 400 24px/1 var(--display); letter-spacing: .02em; }
.tape i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section:not(.hero) { padding: clamp(48px, 6.5vw, 96px) var(--gutter); max-width: 1240px; margin: 0 auto; }
.display-sm { margin: 0 0 16px; font: 400 clamp(52px, 7.5vw, 104px)/.9 var(--display); text-transform: uppercase; transform: skewX(-8deg); transform-origin: left; }
.display-sm em { font-style: normal; color: var(--red); text-shadow: 0 0 34px rgba(255, 42, 31, .55); }
.section-head p { color: var(--muted); max-width: 46ch; margin: 0 0 40px; font-size: 19px; }

/* ---------- nav sound ---------- */
.sound { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #120E0A; color: var(--muted); display: grid; place-items: center; cursor: pointer; padding: 0; }
.sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound svg path:first-child { fill: currentColor; stroke: none; }
.sound .wave { display: none; } .sound.on .wave { display: block; } .sound.on .mute { display: none; }
.sound.on { color: var(--red); border-color: rgba(255, 42, 31, .5); box-shadow: 0 0 16px rgba(255, 42, 31, .35); }

/* ---------- live dashboard ---------- */
.dash { margin-top: 14px; width: min(100%, 520px); border: 1px solid var(--line); border-radius: 18px; background: #120E0A; overflow: hidden; }
.dash-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font: 600 12px/1 var(--mono); color: var(--muted); border-bottom: 1px solid var(--line); }
.dash-head b { font-weight: 700; margin-left: 4px; } .dash-head .up { color: #3DDC84; } .dash-head .down { color: var(--red); }
.dash-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.dash.live .dash-dot { background: #3DDC84; box-shadow: 0 0 10px #3DDC84; animation: blink 1.6s infinite; }
.dash-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.dash-grid div { padding: 10px 14px 12px; min-width: 0; }
.dash-grid div + div { border-left: 1px solid var(--line); }
.dash-grid dt { font: 700 10px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.dash-grid dd { margin: 0; font: 700 16px/1.1 var(--mono); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-grid dd.tick { animation: tick .9s var(--ease-out); }
/* pre-launch: no dead "—" cells, just the state line */
.dash:not(.live) .dash-grid { display: none; }
.dash:not(.live) .dash-head { border-bottom: 0; }
@keyframes tick { 0% { color: var(--gold); text-shadow: 0 0 12px rgba(255, 194, 26, .7); } 100% { color: var(--text); text-shadow: none; } }
@media (max-width: 480px) { .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dash-grid div:nth-child(3) { border-left: 0; } .dash-grid div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- fire ---------- */
.coin { cursor: pointer; -webkit-tap-highlight-color: transparent; outline: none; }
.coin:focus-visible .coin-img { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 50%; }
.fire-hint {
  position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); z-index: 3; pointer-events: none;
  font: 700 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text);
  padding: 8px 12px; border-radius: 999px; background: rgba(8, 6, 5, .8); border: 1px solid rgba(255, 42, 31, .5);
  animation: hint-pulse 2.4s ease-in-out infinite;
}
@keyframes hint-pulse { 50% { box-shadow: 0 0 18px rgba(255, 42, 31, .6); } }
.coin.firing .beams { animation: fire-beams .9s var(--ease-out); }
.coin.firing .coin-img { animation: fire-kick .5s var(--ease-out); }
.coin.firing .eye { animation: fire-eye .9s var(--ease-out); }
@keyframes fire-beams { 0% { opacity: 1; filter: brightness(2.4) saturate(1.3) drop-shadow(0 0 30px #ff2a1f); } 100% { opacity: .82; filter: none; } }
@keyframes fire-kick { 0% { transform: scale(1.04) rotate(-1deg); } 30% { transform: scale(.985) rotate(.6deg); } 100% { transform: none; } }
@keyframes fire-eye { 0% { opacity: 1; scale: 3.2; } 100% { opacity: .5; scale: .75; } }
.hero.firing { animation: shake .35s linear; }
@keyframes shake { 20% { translate: -6px 3px; } 40% { translate: 5px -4px; } 60% { translate: -4px 2px; } 80% { translate: 3px -1px; } }
.flash { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0; background: radial-gradient(60% 60% at 70% 45%, rgba(255, 240, 230, .9), rgba(255, 42, 31, .55) 45%, rgba(255, 42, 31, 0) 80%); mix-blend-mode: screen; }
.flash.firing { animation: flash .55s ease-out; }
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- #LaserRayUntil100K meter ---------- */
section.meter { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 0; }
.meter-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 16px; }
.meter-title { margin: 0; font: 400 clamp(32px, 4.4vw, 56px)/1 var(--display); text-transform: uppercase; transform: skewX(-8deg); transform-origin: left; }
.meter-title em { font-style: normal; color: var(--gold); }
.meter-sub { margin: 0; color: var(--muted); font-size: 15px; }
.meter-bar { position: relative; height: 22px; border-radius: 999px; background: #1A130D; border: 1px solid var(--line); overflow: visible; }
.meter-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; transition: width 1.8s var(--ease-out);
  background: linear-gradient(90deg, #5A0A05, var(--red) 70%, #FFD9D2); box-shadow: 0 0 24px rgba(255, 42, 31, .55); }
.meter-bar.on .meter-fill { width: var(--pct); }
.meter-head { position: absolute; right: -6px; top: 50%; width: 22px; height: 22px; border-radius: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, #fff 0 22%, rgba(255, 217, 210, .9) 35%, rgba(255, 42, 31, 0) 72%); box-shadow: 0 0 22px 6px rgba(255, 42, 31, .7); }
.meter-goal { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 700 11px/1 var(--mono); color: var(--gold);
  background: none; border: 0; padding: 8px 6px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.meter-goal:hover { text-shadow: 0 0 10px var(--gold); }
.meter-bar.breakthrough .meter-fill { background: linear-gradient(90deg, #5A0A05, var(--red) 45%, var(--gold) 85%, #fff); box-shadow: 0 0 34px rgba(255, 194, 26, .7); }
.meter-bar.breakthrough .meter-goal { color: #140C02; }
.meter-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin: 16px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.meter-stats div { background: var(--bg); padding: 12px 14px; min-width: 0; }
.meter-stats dt { font: 700 10px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px; }
.meter-stats dd { margin: 0; font: 700 17px/1.1 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter-stats dd small { font-size: 11px; color: var(--muted); font-weight: 500; }
@media (max-width: 480px) { .meter-stats dd small { display: none; } }
.meter-stats [data-mstr-price] { font: 700 17px/1.1 var(--mono) !important; }
@media (max-width: 900px) { .meter-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .meter-stats div:last-child { grid-column: 1 / -1; } }

/* ---------- chart ---------- */
section.chart { padding-top: 0; }
.chart-frame { position: relative; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: #0E0A07; }
.chart-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .chart-frame { aspect-ratio: 3 / 4; } }

.save-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.save-row.has-copy { grid-template-columns: 1.3fr 1fr 1fr; }
.save-row .btn-lg { padding-inline: 12px; }

/* ---------- story ---------- */
.story-head p { color: var(--muted); margin: 0 0 40px; font-size: 19px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(16px, 2.5vw, 28px); align-items: stretch; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }

.transmission {
  position: relative; padding: clamp(22px, 3.2vw, 40px); border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, #16100C, #0E0A07); border: 1px solid var(--line);
}
.transmission::before {                     /* a laser scan across the top edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 30%, #fff 50%, var(--red) 70%, transparent);
  box-shadow: 0 0 18px 2px rgba(255, 42, 31, .7);
  transform: translateX(-100%); transition: transform 1.4s var(--ease-out);
}
.transmission.in::before { transform: translateX(0); }
.tx-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.tx-head .tx-label { font: 700 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.tx-head strong { display: block; font-weight: 700; }
.tx-head span { font: 500 13px/1.3 var(--mono); color: var(--muted); }
.tx-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); }
.tx-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1.6s infinite; }
.tx-body p { margin: 0 0 18px; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.38; color: #E9DCC3; font-weight: 500; font-stretch: 100%; }
.tx-body p:last-child { margin-bottom: 0; }
.tx-hi { font: 400 clamp(30px, 3.4vw, 44px)/1 var(--display) !important; text-transform: uppercase; color: var(--text) !important; }
.tx-kicker { color: var(--text) !important; }
.tx-body mark {
  color: var(--text); background: linear-gradient(90deg, rgba(255, 42, 31, .95), rgba(255, 90, 60, .95)) no-repeat 0 88% / 0% .34em;
  padding: 0 .06em; transition: background-size 1.1s var(--ease-out); box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.transmission.in mark { background-size: 100% .34em; }
.transmission.in mark:nth-of-type(2) { transition-delay: .25s; }
.transmission.in mark:nth-of-type(3) { transition-delay: .5s; }
.tx-kicker mark { transition-delay: .75s !important; }

.receipt {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: 28px;
  text-decoration: none; color: var(--text); border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(90% 70% at 100% 0%, rgba(255, 42, 31, .16), transparent 60%), #0E0A07;
  transition: border-color .3s, transform .4s var(--ease-out);
}
.receipt:hover { border-color: var(--red); transform: translateY(-3px); }
.receipt-tag { align-self: flex-start; font: 700 12px/1 var(--mono); color: #140C02; background: var(--gold); padding: 7px 10px; border-radius: 999px; }
.receipt-who { display: flex; align-items: center; gap: 12px; }
.receipt-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--mono); background: #2A1F16; color: var(--gold); box-shadow: 0 0 0 2px var(--red), 0 0 18px rgba(255, 42, 31, .5); }
.receipt-who strong { display: block; }
.receipt-who span { font: 500 13px/1.3 var(--mono); color: var(--muted); }
.receipt-x { width: 22px; height: 22px; margin-left: auto; fill: var(--text); opacity: .85; }
.receipt-text { margin: 4px 0 0; font: 400 clamp(38px, 4.4vw, 60px)/.98 var(--display); text-transform: uppercase; transform: skewX(-6deg); transform-origin: left; flex: 1; }
.receipt-text span { color: var(--gold); }
.receipt-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 500 13px/1 var(--mono); color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line); }
.receipt-open { margin-left: auto; color: var(--red); }

.pillars { list-style: none; margin: clamp(16px, 2.5vw, 28px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.pillars li { background: var(--bg); padding: clamp(22px, 2.6vw, 32px); }
.p-n { font: 700 13px/1 var(--mono); color: var(--red); }
.pillars h3 { margin: 14px 0 8px; font: 400 34px/1 var(--display); text-transform: uppercase; }
.pillars p { margin: 0; color: var(--muted); }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

.reveal { opacity: 0; translate: 0 18px; transition: opacity .8s var(--ease-out), translate .8s var(--ease-out); }
.reveal.in { opacity: 1; translate: 0 0; }
.pillars li.reveal:nth-child(2) { transition-delay: .1s; }
.pillars li.reveal:nth-child(3) { transition-delay: .2s; }
.pillars li.reveal:nth-child(4) { transition-delay: .3s; }

/* ---------- the pair ---------- */
section.pair { padding-top: 0; }
.pair-card {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(24px, 4vw, 56px); border-radius: 36px; border: 1px solid var(--line); overflow: hidden; position: relative;
  background:
    radial-gradient(60% 80% at 22% 50%, rgba(255, 42, 31, .18), transparent 65%),
    radial-gradient(50% 70% at 30% 50%, rgba(247, 147, 26, .10), transparent 70%),
    #0E0A07;
}
@media (max-width: 900px) { .pair-card { grid-template-columns: minmax(0, 1fr); } }
.pair-visual { display: flex; align-items: center; justify-content: center; gap: 0; min-height: 260px; }
.chip { display: flex; flex-direction: column; align-items: center; gap: 12px; font: 400 clamp(26px, 3vw, 38px)/1 var(--display); }
.chip img, .mstr-mark { width: clamp(88px, 13vw, 170px); height: auto; aspect-ratio: 1; flex-shrink: 0; max-width: none; border-radius: 50%; object-fit: cover; }
.chip img { filter: drop-shadow(0 0 30px rgba(255, 40, 20, .45)); }
.mstr-mark {
  display: grid; place-items: center; font: 700 clamp(22px, 2.6vw, 34px)/1 var(--mono); letter-spacing: -.02em; color: #fff;
  background: radial-gradient(circle at 35% 30%, #FFB347, #F7931A 45%, #B35C00 100%);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .12), 0 0 40px rgba(247, 147, 26, .45);
}
.pair-link { display: flex; align-items: center; gap: 8px; margin: 0 clamp(6px, 1.5vw, 20px) 40px; }
.pair-visual > * { min-width: 0; }
@media (max-width: 480px) { .pair-beam { width: 16px; } .pair-visual { min-height: 200px; } }
.pair-link b { font: 400 clamp(56px, 6vw, 88px)/1 var(--display); color: var(--text); transform: skewX(-8deg); }
.pair-beam { width: clamp(24px, 4vw, 56px); height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--red), #fff, var(--red)); box-shadow: 0 0 16px var(--red); animation: charge-bar 3.2s var(--ease-out) infinite; }
@keyframes charge-bar { 0%, 60% { opacity: .55; } 68% { opacity: 1; } 80%, 100% { opacity: .55; } }
.pair-copy p { color: var(--muted); font-size: clamp(18px, 1.6vw, 21px); max-width: 48ch; margin: 0 0 24px; }
.pair-copy p strong { color: var(--text); }
.pair-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 0 20px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pair-stats div { background: var(--bg); padding: 14px 16px; min-width: 0; }
.pair-stats dt { font: 700 11px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.pair-stats dd { margin: 0; font-weight: 700; font-size: 15px; }
[data-mstr-price] { font: 700 20px/1 var(--mono) !important; color: var(--gold); }
[data-mstr-price] small { font-size: 12px; margin-left: 6px; }
[data-mstr-price] .up { color: #3DDC84; } [data-mstr-price] .down { color: var(--red); }
@media (max-width: 560px) { .pair-stats { grid-template-columns: 1fr; } }
.ca-mstr { margin-top: 0; }
.ca-mstr .ca-label { color: #F7931A; }
.chip img.usdc-logo { border-radius: 50%; filter: drop-shadow(0 0 30px rgba(39, 117, 202, .5)); }
.steps code { font: 500 .9em var(--mono); color: var(--text); }

/* ---------- PFP studio ---------- */
.studio { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 860px) { .studio { grid-template-columns: 1fr; } }

.stage {
  position: relative; aspect-ratio: 1; width: 100%; border-radius: 28px; overflow: hidden; touch-action: none;
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(255, 170, 20, .08), transparent 70%),
    conic-gradient(from 90deg at 1px 1px, transparent 25%, rgba(255, 244, 220, .025) 0) 0 0 / 32px 32px,
    var(--surface);
}
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage.empty canvas, .stage.empty .handle { visibility: hidden; }

.drop {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; text-align: center; padding: 24px; transition: background .3s;
}
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-coin { width: clamp(110px, 22%, 170px); height: auto; margin-bottom: 8px; filter: drop-shadow(0 0 30px rgba(255, 40, 20, .4)); animation: float 7s ease-in-out infinite; }
.drop-title { font: 400 40px/1 var(--display); text-transform: uppercase; }
.drop-sub { color: var(--muted); font-size: 15px; }
.stage.dragover .drop { background: radial-gradient(70% 70% at 50% 45%, rgba(255, 42, 31, .2), transparent 75%); }
.stage:not(.empty) .drop, .stage:not(.empty) .samples { display: none; }
.samples { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; padding: 0 12px; font: 600 12px/1 var(--mono); color: var(--muted); }
.samples button { font: 700 12px/1 var(--body); color: var(--text); background: rgba(8, 6, 5, .7); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.samples button:hover { border-color: var(--red); color: #fff; }

.handle {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .8); background: transparent; appearance: none; cursor: grab; padding: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); transition: opacity .4s; touch-action: none;
}
.handle:active { cursor: grabbing; }
.stage.clean .handle { opacity: 0; }
.stage.clean:hover .handle, .handle:focus-visible { opacity: 1; }
@media (hover: none) { .stage.clean .handle { opacity: .55; } }

.status {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  font: 600 13px/1 var(--body); padding: 10px 14px; border-radius: 999px; background: rgba(8, 6, 5, .85); white-space: nowrap;
}

.controls { display: grid; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); }
.ctl { border: 0; margin: 0; padding: 0; min-width: 0; }
.ctl legend, .range span { display: block; font: 700 13px/1 var(--body); color: var(--muted); margin-bottom: 10px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg); }
.seg-2 { grid-template-columns: repeat(2, 1fr); }
.seg-4 { grid-template-columns: repeat(2, 1fr); border-radius: 22px; }
.seg button.od { color: var(--red); }
.seg button.od.on { background: linear-gradient(90deg, var(--red), var(--gold)); color: #140C02; }
.seg button.od:not([hidden]) { animation: od-in .7s var(--ease-out); }
@keyframes od-in { 0% { box-shadow: 0 0 0 0 rgba(255, 42, 31, .9); } 100% { box-shadow: 0 0 0 14px rgba(255, 42, 31, 0); } }
.seg button { font: 700 14px/1 var(--body); padding: 11px 0; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--gold); color: #140C02; }
.swatches { display: flex; gap: 10px; }
.sw { width: 40px; height: 40px; border-radius: 50%; border: 2px solid transparent; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 3px var(--surface); padding: 0; }
.sw.on { border-color: var(--text); }
.range input { width: 100%; accent-color: var(--red); height: 28px; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.actions .btn { padding: 12px 10px; font-size: 14px; }
.hint { margin: -6px 0 0; font-size: 13px; color: var(--muted); text-align: center; }


.result { margin-top: 24px; }
.result img { width: min(100%, 420px); margin: 0 auto; }

/* ---------- memes ---------- */
section.memes { max-width: 1320px; }
.memes-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; }
.memes-head p { margin-bottom: 32px; }
.meme-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
@media (max-width: 1000px) { .meme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .meme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.meme {
  position: relative; display: block; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: var(--surface); cursor: zoom-in; aspect-ratio: 1; transition: transform .35s var(--ease-out), border-color .25s, box-shadow .35s;
}
.meme img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease-out); }
.meme img.ok { opacity: 1; }
.meme:has(img:not(.ok))::before {           /* charging shimmer while the photo loads */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 42, 31, .10) 50%, transparent 70%) 0 0 / 250% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.meme:hover { transform: translateY(-4px) rotate(-.6deg) scale(1.02); border-color: var(--red); box-shadow: 0 18px 50px -12px rgba(255, 42, 31, .45); }
.meme:nth-child(3n+2):hover { transform: translateY(-4px) rotate(.6deg); }
.meme.reveal:nth-child(4n+2) { transition-delay: .06s; } .meme.reveal:nth-child(4n+3) { transition-delay: .12s; } .meme.reveal:nth-child(4n+4) { transition-delay: .18s; }

.credits { margin-top: 18px; color: var(--muted); font-size: 12px; }
.credits summary { cursor: pointer; font: 600 12px/1 var(--mono); }
.credits ul { margin: 10px 0 0; padding-left: 18px; columns: 2; column-gap: 32px; }
.credits a { color: var(--text); }
@media (max-width: 640px) { .credits ul { columns: 1; } }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 720px); width: 100%; color: var(--text); }
.lightbox::backdrop { background: rgba(4, 3, 2, .88); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; border-radius: 20px; border: 1px solid var(--line); }
.lb-actions { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.lb-close-form { position: absolute; top: -48px; right: 0; margin: 0; }
.lb-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #120E0A; color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.lightbox[open] { margin-top: max(64px, 8vh); overflow: visible; }

/* ---------- signal ---------- */
.timeline { list-style: none; margin: 40px 0 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); align-items: baseline; }
.t-year { font: 400 48px/1 var(--display); color: #6A523A; }
.timeline p { margin: 0; font-size: clamp(18px, 1.8vw, 22px); color: var(--muted); max-width: 52ch; }
.timeline strong { color: var(--text); font-weight: 700; }
.t-now { border-bottom: 1px solid var(--line); }
.t-now .t-year { color: var(--red); text-shadow: 0 0 26px rgba(255, 42, 31, .6); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- buy ---------- */
.buy-card {
  position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line); border-radius: 36px; overflow: hidden;
  background: radial-gradient(80% 90% at 0% 50%, rgba(255, 40, 20, .14), transparent 60%), var(--surface);
}
.buy-coin { width: 100%; height: auto; filter: drop-shadow(0 30px 70px rgba(255, 40, 20, .3)); }
@media (max-width: 860px) { .buy-card { grid-template-columns: 1fr; } .buy-coin { width: min(60vw, 280px); margin: 0 auto; } }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps .n { font: 700 14px/1.9 var(--mono); color: var(--gold); }
.steps h3 { margin: 0 0 2px; font: 400 28px/1 var(--display); text-transform: uppercase; }
.steps p { margin: 0; color: var(--muted); }
.ca-big { margin: 24px 0 0; }
.warn { color: var(--muted); font-size: 14px; max-width: 60ch; margin: 14px 0 26px; }
.links { display: flex; flex-wrap: wrap; gap: 10px; }
/* pre-launch links read as "coming", not broken */
.links .btn[aria-disabled="true"] { opacity: 1; background: transparent; color: var(--muted); border: 1px dashed var(--line); }
.links .btn-red[aria-disabled="true"] { color: var(--red); border-color: rgba(255, 42, 31, .45); }

/* ---------- footer ---------- */
.foot { display: flex; align-items: center; gap: 14px; padding: 32px var(--gutter) 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot p { margin: 0; max-width: 90ch; }

/* ---------- easter eggs ---------- */
.toast {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 95; transform: translateX(-50%);
  max-width: calc(100vw - 32px); width: max-content; text-align: center; pointer-events: none;
  font: 700 13px/1.3 var(--mono); letter-spacing: .04em; color: #fff; background: #1A0503; padding: 12px 18px; border-radius: 999px;
  border: 1px solid var(--red); box-shadow: 0 0 34px rgba(255, 42, 31, .55);
}
.toast.pop { animation: toast-in .45s var(--ease-out); }
@keyframes toast-in { from { opacity: 0; translate: 0 14px; scale: .96; } }
body.overdrive .coin .beams { animation: od-beams .16s steps(2) 12; }
body.overdrive .coin .eye { animation: fire-eye .3s var(--ease-out) 7; }
body.overdrive .coin .coin-img { animation: od-kick .2s linear 10; }
body.overdrive .hero::before { animation: od-glow 2.2s var(--ease-out); }
body.overdrive .tape-track { animation-duration: 3s; }
@keyframes od-beams { 0% { opacity: 1; filter: brightness(3) saturate(1.4) drop-shadow(0 0 40px #ff2a1f); } 100% { opacity: .6; filter: brightness(1.6); } }
@keyframes od-kick { 25% { transform: translate(-3px, 2px) rotate(-1.5deg); } 75% { transform: translate(3px, -2px) rotate(1.5deg); } }
@keyframes od-glow { 0%, 60% { filter: brightness(2.2) saturate(1.3); } }
.sweep {
  position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 96; pointer-events: none; background: #fff;
  box-shadow: 0 0 18px 6px var(--red), 0 0 60px 20px rgba(255, 42, 31, .6);
  animation: sweep 1s cubic-bezier(.65, 0, .35, 1) forwards;
}
@keyframes sweep { 0% { translate: 0 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { translate: 0 100vh; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; }
  html { scroll-behavior: auto; }
}

section.signal, section.pair { padding-top: 0; }
