/* =====================================================================
   AGENTSI — styles
   Palette taken from the hero art: deep space black, CRT cream,
   shiba orange and warm gold glow.
   ===================================================================== */
:root {
  --bg: #060403;
  --bg-2: #0e0a07;
  --panel: #120d09;
  --line: #2a1f16;
  --ink: #f3e6cf;
  --ink-dim: #a8957a;
  --cream: #f3e6cf;
  --cream-2: #d9c6a5;
  --orange: #d9822b;
  --orange-2: #a85a1c;
  --gold: #ffc35a;
  --gold-2: #c98a2a;
  --glow: 0 0 24px rgba(255, 175, 80, .45), 0 0 80px rgba(217, 130, 43, .25);
  --f-pixel: "Press Start 2P", ui-monospace, monospace;
  --f-mono: "VT323", ui-monospace, monospace;
  --f-ui: "Silkscreen", "VT323", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(16px, 5vw, 72px);
  --px: 4px; /* pixel unit for stepped borders */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
main { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 22px;
  line-height: 1.35;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; height: 100vh; }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
::selection { background: var(--gold); color: #000; }
.pixel { image-rendering: pixelated; image-rendering: crisp-edges; }
.gold { color: var(--gold); text-shadow: 0 0 18px rgba(255, 195, 90, .45); }
em { font-style: normal; color: var(--orange); }

/* ---------- background layers ---------- */
.space-canvas, .fx-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.space-canvas { z-index: 0; }
.fx-canvas { z-index: 90; }
.noise {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  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); }
}
main, .footer, .nav { position: relative; z-index: 2; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; align-content: center; gap: 28px;
  background: radial-gradient(ellipse at 50% 45%, #1a120b 0%, #060403 60%);
}
.loader__stage { position: relative; width: min(420px, 84vw); }
.loader__dog {
  position: absolute; left: 50%; bottom: calc(100% - 26px); width: 40%;
  transform: translate(-50%, 70%); opacity: 0; z-index: 2;
  transition: transform .9s cubic-bezier(.34, 1.56, .64, 1), opacity .4s;
  filter: drop-shadow(0 0 16px rgba(255, 170, 80, .35));
}
.loader__dog img { width: 100%; }
.loader.is-up .loader__dog { transform: translate(-50%, 0); opacity: 1; }
.paw {
  position: absolute; top: -14px; z-index: 4; width: 13%; opacity: 0; transform: translateY(20px);
  transition: transform .6s .5s cubic-bezier(.34, 1.56, .64, 1), opacity .3s .5s; aspect-ratio: 1.3; background: var(--cream);
  box-shadow: inset 0 -6px 0 var(--cream-2), 0 0 0 4px #140c07;
}
.paw--l { left: 24%; } .paw--r { right: 24%; }
.loader.is-up .paw { opacity: 1; transform: none; }
.crt {
  position: relative; z-index: 3;
  background: linear-gradient(180deg, #f6ead4, #e3d1b0);
  padding: 22px 22px 0; border-radius: 26px;
  box-shadow: 0 0 0 4px #140c07, inset 0 -8px 0 #cdb894, inset 0 6px 0 #fffaf0, var(--glow);
}
.crt__screen {
  position: relative; overflow: hidden; height: 210px; border-radius: 14px;
  background: radial-gradient(ellipse at 50% 40%, #17110b, #050302 75%);
  box-shadow: inset 0 0 0 4px #140c07, inset 0 0 40px rgba(0, 0, 0, .9);
  padding: 18px 20px; display: flex; flex-direction: column;
}
.crt__scan {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 220, 160, .05) 0 2px, transparent 2px 4px);
  animation: scan 6s linear infinite;
}
.crt__scan::after {
  content: ""; position: absolute; left: 0; right: 0; height: 40px; top: -40px;
  background: linear-gradient(transparent, rgba(255, 210, 140, .08), transparent);
  animation: sweep 2.8s linear infinite;
}
@keyframes sweep { to { top: 100%; } }
@keyframes scan { to { background-position: 0 40px; } }
.crt__log {
  flex: 1; font-family: var(--f-mono); font-size: 19px; line-height: 1.15; color: var(--cream);
  text-shadow: 0 0 8px rgba(255, 200, 120, .55); white-space: pre-wrap; overflow: hidden;
}
.crt__log .ok { color: var(--gold); }
.crt__bar {
  height: 16px; margin-top: 10px; box-shadow: 0 0 0 3px var(--cream); padding: 3px;
  background: #000;
}
.crt__fill {
  height: 100%; width: 0%;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 13px);
  filter: drop-shadow(0 0 6px rgba(255, 195, 90, .8));
}
.crt__pct { margin-top: 6px; text-align: right; font-family: var(--f-pixel); font-size: 10px; color: var(--gold); }
.crt__chin { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 6px 16px; }
.crt__chin i { width: 12px; height: 8px; background: #140c07; }
.crt__chin i:first-child { background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: led 1s steps(2) infinite; }
@keyframes led { 50% { opacity: .2; } }
.crt__stand {
  width: 60%; height: 22px; margin: 0 auto; background: linear-gradient(#e3d1b0, #cdb894);
  box-shadow: 0 0 0 4px #140c07; border-radius: 0 0 10px 10px; position: relative; z-index: 1;
}
.loader__hint { font-family: var(--f-pixel); font-size: 10px; letter-spacing: .2em; color: var(--ink-dim); }
.crt__inner { position: absolute; inset: 0; padding: 18px 20px; display: flex; flex-direction: column; }
.loader.is-off .crt__inner { animation: crtOff .55s var(--ease) forwards; }
@keyframes crtOff {
  0% { filter: brightness(1); }
  40% { transform: scale(1, .02); filter: brightness(4); }
  100% { transform: scale(0, .02); filter: brightness(8); opacity: 0; }
}

/* ---------- cursor ---------- */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 150; display: none; }
body.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; will-change: transform; }
.cursor__dot {
  width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
  border: 2px solid rgba(243, 230, 207, .55);
  /* stepped pixel corners */
  clip-path: polygon(0 6px, 6px 6px, 6px 0, calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px));
}
.cursor__label { font-family: var(--f-pixel); font-size: 8px; color: #000; text-transform: uppercase; opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor__ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: var(--gold); border-color: var(--gold); }
.cursor.is-hover .cursor__label { opacity: 1; }
.cursor.is-hover .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { transform-origin: center; scale: .8; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 28px;
  padding: 18px var(--pad);
  transition: background .4s, padding .4s, transform .5s var(--ease);
}
.nav.is-scrolled { background: rgba(6, 4, 3, .78); backdrop-filter: blur(10px); padding-block: 12px; box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 12px; font-family: var(--f-pixel); font-size: 14px; letter-spacing: .06em; }
.nav__logo img { filter: drop-shadow(0 0 8px rgba(255, 170, 80, .4)); }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-family: var(--f-ui); font-size: 15px; text-transform: uppercase; }
.nav__links a { position: relative; color: var(--ink-dim); transition: color .25s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 3px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; margin-left: 8px; }
.nav__burger span { display: block; height: 4px; width: 28px; background: var(--cream); transition: transform .3s, opacity .3s; }

/* ---------- buttons ---------- */
.btn {
  --bc: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-pixel); font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  padding: 18px 26px; color: #120b06; background: var(--bc);
  box-shadow:
    0 -4px 0 0 #140c07, 0 4px 0 0 #140c07, -4px 0 0 0 #140c07, 4px 0 0 0 #140c07,
    inset 0 -6px 0 rgba(0, 0, 0, .22), inset 0 4px 0 rgba(255, 255, 255, .35);
  transition: transform .15s, filter .25s, box-shadow .25s;
  white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(3px) !important; }
.btn--gold { --bc: var(--gold); box-shadow: 0 -4px 0 0 #140c07, 0 4px 0 0 #140c07, -4px 0 0 0 #140c07, 4px 0 0 0 #140c07, inset 0 -6px 0 var(--gold-2), inset 0 4px 0 #ffe2a3, 0 0 34px rgba(255, 195, 90, .35); }
.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 3px var(--cream); }
.btn--ghost:hover { background: rgba(243, 230, 207, .08); }
.btn--sm { padding: 12px 16px; font-size: 10px; }
.btn--lg { padding: 22px 32px; font-size: 13px; }
.btn.is-soon { opacity: .82; }
.btn.is-soon::after {
  content: "SOON"; position: absolute; top: 3px; right: 3px; font-size: 6px; padding: 2px 3px;
  background: #140c07; color: var(--gold);
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px;
  padding: 120px var(--pad) 90px;
}
.eyebrow { font-family: var(--f-ui); font-size: 16px; letter-spacing: .14em; color: var(--ink-dim); margin-bottom: 26px; }
.blink { color: #6dff8a; animation: led 1.2s steps(2) infinite; text-shadow: 0 0 8px #6dff8a; }
.hero__title {
  font-family: var(--f-pixel); font-weight: 400;
  font-size: clamp(36px, 6.4vw, 116px); line-height: 1; letter-spacing: -.02em; white-space: nowrap;
  color: var(--cream);
  text-shadow: 0 6px 0 var(--orange-2), 0 12px 0 #3a1f0d, 0 0 60px rgba(255, 170, 80, .35);
  margin-bottom: 34px;
}
.split .ch { display: inline-block; will-change: transform; }
.hero__title .w { overflow: visible; }
.hero__title .ch:hover { color: var(--gold); }
.hero__tag { font-size: clamp(24px, 2.4vw, 34px); color: var(--ink); margin-bottom: 38px; max-width: 30ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 32px; padding: 4px; }
.ca {
  display: inline-flex; align-items: center; gap: 14px; max-width: 100%;
  padding: 12px 16px; background: rgba(18, 13, 9, .85);
  box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .3s;
  font-family: var(--f-mono); font-size: 20px; color: var(--ink-dim);
}
.ca:hover { box-shadow: inset 0 0 0 2px var(--gold); color: var(--ink); }
.ca__label { font-family: var(--f-pixel); font-size: 9px; padding: 6px 7px; background: var(--orange); color: #120b06; }
.ca__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca__icon { color: var(--gold); }

.hero__art { position: relative; aspect-ratio: 1; width: min(100%, 640px); justify-self: center; perspective: 900px; }
.hero__img {
  position: relative; width: 100%; height: 100%; object-fit: cover; z-index: 2;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 48%, transparent 71%);
          mask-image: radial-gradient(circle at 50% 50%, #000 48%, transparent 71%);
  transform-style: preserve-3d; will-change: transform;
}
.hero__glow {
  position: absolute; inset: 18%; z-index: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 175, 80, .35), transparent 65%);
  filter: blur(30px); animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.15); opacity: .7; } }
.hero__orbit { position: absolute; inset: 0; z-index: 3; pointer-events: none; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.spark { position: absolute; color: var(--cream); font-size: 26px; text-shadow: 0 0 12px var(--gold); animation: twinkle 2.4s steps(3) infinite; }
.s1 { top: 8%; left: 18%; } .s2 { top: 22%; right: 6%; font-size: 18px; animation-delay: .6s; }
.s3 { bottom: 12%; left: 8%; animation-delay: 1.2s; } .s4 { bottom: 18%; right: 14%; font-size: 34px; animation-delay: 1.8s; }
@keyframes twinkle { 50% { opacity: .2; transform: scale(.6); } }
.bubble {
  position: absolute; z-index: 4; font-family: var(--f-ui); font-size: 16px; padding: 8px 12px;
  background: var(--cream); color: #140c07; box-shadow: 0 0 0 3px #140c07, 6px 6px 0 rgba(0, 0, 0, .5);
}
.bubble::after { content: ""; position: absolute; bottom: -9px; left: 16px; width: 10px; height: 9px; background: var(--cream); box-shadow: 3px 3px 0 #140c07; }
.bubble--1 { top: 9%; left: 8%; color: #a85a1c; }
.bubble--2 { top: 36%; right: -2%; color: #3f6d1f; }
.bubble--3 { bottom: 20%; left: 4%; color: #8b2fa1; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; font-family: var(--f-pixel); font-size: 8px; color: var(--ink-dim); letter-spacing: .3em;
}
.scroll-hint i { width: 18px; height: 30px; box-shadow: inset 0 0 0 3px var(--ink-dim); position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 6px; top: 6px; width: 6px; height: 6px; background: var(--gold); animation: wheel 1.6s steps(4) infinite; }
@keyframes wheel { to { transform: translateY(12px); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 22px 0;
  background: var(--gold); color: #140c07; transform: rotate(-2deg) scale(1.04);
  box-shadow: 0 -4px 0 #140c07, 0 4px 0 #140c07, 0 0 60px rgba(255, 195, 90, .3);
  margin: 40px 0;
}
.marquee__track { display: flex; width: max-content; gap: 36px; font-family: var(--f-pixel); font-size: clamp(16px, 2.2vw, 26px); will-change: transform; }
.marquee__track span, .marquee__track b { flex: none; }
.marquee__track b { color: var(--orange-2); }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(90px, 14vw, 180px) var(--pad); }
.section__head { margin-bottom: clamp(48px, 7vw, 90px); }
.kicker { font-family: var(--f-ui); font-size: 16px; letter-spacing: .18em; color: var(--orange); margin-bottom: 22px; }
.h2 { font-family: var(--f-pixel); font-weight: 400; font-size: clamp(24px, 4.2vw, 58px); line-height: 1.3; }
.h2--xl { font-size: clamp(28px, 5.6vw, 80px); }
[data-split] { display: inline-block; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; }
[data-split] .ch { display: inline-block; }
.lead { font-size: clamp(26px, 2.4vw, 34px); color: var(--cream); margin-bottom: 22px; }
.about__text p { color: var(--ink-dim); margin-bottom: 22px; max-width: 46ch; }
.about__text .lead { color: var(--cream); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 10px; }
.ticks li { display: flex; align-items: center; gap: 14px; }
.ticks i { width: 14px; height: 14px; background: var(--gold); box-shadow: 0 0 10px var(--gold); flex: none; }

.terminal {
  background: #0a0705; box-shadow: 0 0 0 4px var(--cream), 0 0 0 8px #140c07, var(--glow);
  border-radius: 6px; overflow: hidden; transform-style: preserve-3d;
}
.terminal__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--cream); color: #140c07; font-family: var(--f-ui); font-size: 14px; }
.terminal__bar i { width: 12px; height: 12px; background: #140c07; }
.terminal__bar i:nth-child(1) { background: var(--orange); }
.terminal__bar i:nth-child(2) { background: var(--gold); }
.terminal__bar span { margin-left: auto; }
.terminal__body {
  min-height: 300px; padding: 20px 22px; font-family: var(--f-mono); font-size: 21px; line-height: 1.25;
  color: var(--cream); white-space: pre-wrap; text-shadow: 0 0 8px rgba(255, 200, 120, .4);
  background: repeating-linear-gradient(0deg, rgba(255, 220, 160, .035) 0 2px, transparent 2px 4px);
}
.terminal__body .p { color: var(--gold); }
.terminal__body .c { color: var(--ink-dim); }
.caret { display: inline-block; width: 11px; height: 20px; background: var(--gold); vertical-align: -3px; animation: led 1s steps(2) infinite; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(60px, 9vw, 120px); }
.stat { padding: 26px 22px; background: var(--panel); box-shadow: inset 0 0 0 2px var(--line); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--gold); transform: scaleX(var(--s, 0)); transform-origin: left; transition: transform 1.2s var(--ease); }
.stat.is-in::before { --s: 1; }
.stat__num { display: block; font-family: var(--f-pixel); font-weight: 400; font-size: clamp(16px, 2vw, 28px); color: var(--gold); margin-bottom: 12px; word-break: break-all; }
.stat span { color: var(--ink-dim); text-transform: uppercase; font-size: 18px; }

/* ---------- tokenomics ---------- */
.tok__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.tok__chart { position: relative; width: min(100%, 420px); aspect-ratio: 1; justify-self: center; }
.tok__chart canvas { width: 100%; height: 100%; image-rendering: pixelated; filter: drop-shadow(0 0 24px rgba(255, 175, 80, .3)); }
.tok__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px; }
.tok__center span { font-family: var(--f-ui); color: var(--ink-dim); font-size: 15px; letter-spacing: .14em; }
.tok__center b { font-family: var(--f-pixel); font-weight: 400; font-size: clamp(11px, 1.4vw, 16px); color: var(--cream); }
.tok__list { list-style: none; display: grid; gap: 26px; }
.tok__list li { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; align-items: center; }
.tok__name { font-size: 24px; }
.tok__list b { grid-row: 1; grid-column: 2; font-family: var(--f-pixel); font-weight: 400; font-size: 16px; color: var(--gold); }
.tok__bar { grid-column: 1 / -1; height: 18px; background: #0a0705; box-shadow: inset 0 0 0 2px var(--line); padding: 4px; }
.tok__bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--c, var(--gold)) 0 12px, transparent 12px 15px); }
.tax { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(60px, 8vw, 100px); }
.tax__card { padding: 34px 26px; background: var(--panel); box-shadow: inset 0 0 0 2px var(--line); display: grid; gap: 14px; transform-style: preserve-3d; transition: box-shadow .3s; }
.tax__card:hover { box-shadow: inset 0 0 0 2px var(--gold), var(--glow); }
.tax__card span { font-family: var(--f-ui); color: var(--ink-dim); letter-spacing: .14em; font-size: 16px; }
.tax__card b { font-family: var(--f-pixel); font-weight: 400; font-size: clamp(20px, 3vw, 40px); color: var(--cream); overflow-wrap: anywhere; }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative; padding: 34px 26px 38px; background: var(--panel);
  box-shadow: inset 0 0 0 2px var(--line); overflow: hidden; transform-style: preserve-3d;
  transition: box-shadow .3s;
}
.step::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 195, 90, .14), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.step:hover { box-shadow: inset 0 0 0 2px var(--gold); }
.step:hover::after { opacity: 1; }
.step__n { display: block; font-family: var(--f-pixel); font-size: 40px; color: transparent; -webkit-text-stroke: 2px var(--orange); margin-bottom: 30px; }
.step h3 { font-family: var(--f-pixel); font-weight: 400; font-size: 15px; margin-bottom: 16px; color: var(--cream); }
.step p { color: var(--ink-dim); }
.buy__cta { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 64px; padding: 4px; }

/* ---------- roadmap ---------- */
.road { position: relative; display: grid; gap: clamp(50px, 8vw, 110px); padding: 20px 0; }
.road__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; margin-left: -3px; background: repeating-linear-gradient(180deg, var(--line) 0 12px, transparent 12px 18px); }
.road__progress { width: 100%; height: 0; background: repeating-linear-gradient(180deg, var(--gold) 0 12px, transparent 12px 18px); filter: drop-shadow(0 0 8px var(--gold)); }
.phase { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.phase__dot {
  position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; z-index: 2;
  background: var(--bg); box-shadow: 0 0 0 4px var(--line); transition: background .4s, box-shadow .4s;
}
.phase.is-on .phase__dot { background: var(--gold); box-shadow: 0 0 0 4px #140c07, 0 0 0 7px var(--gold), 0 0 30px var(--gold); }
.phase__card {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center;
  padding: 28px; background: var(--panel); box-shadow: inset 0 0 0 2px var(--line);
  transform-style: preserve-3d; transition: box-shadow .4s;
}
.phase:nth-child(odd) .phase__card { grid-column: 2; margin-left: clamp(30px, 5vw, 70px); }
.phase:nth-child(even) .phase__card { grid-column: 1; margin-right: clamp(30px, 5vw, 70px); }
.phase.is-on .phase__card { box-shadow: inset 0 0 0 2px var(--gold-2); }
.phase__card:hover { box-shadow: inset 0 0 0 2px var(--gold), var(--glow); }
.phase__art { width: 120px; aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(circle, rgba(255, 175, 80, .22), transparent 70%); }
.phase__art img { width: 92px; filter: drop-shadow(0 0 12px rgba(255, 175, 80, .45)); }
.phase__card:hover .phase__art img { animation: hop .5s steps(4) infinite alternate; }
@keyframes hop { to { transform: translateY(-8px); } }
.phase__tag { font-family: var(--f-ui); font-size: 14px; letter-spacing: .14em; color: var(--orange); }
.phase h3 { font-family: var(--f-pixel); font-weight: 400; font-size: clamp(14px, 1.6vw, 20px); margin: 12px 0 14px; }
.phase ul { list-style: none; display: grid; gap: 6px; color: var(--ink-dim); }
.phase li::before { content: "▸ "; color: var(--gold); }

/* ---------- community ---------- */
.community__box {
  position: relative; text-align: center; padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 60px);
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 175, 80, .18), transparent 60%), var(--panel);
  box-shadow: inset 0 0 0 3px var(--line);
}
.community__dog { width: 110px; margin: -150px auto 30px; }
.community__dog img { width: 100%; filter: drop-shadow(0 0 24px rgba(255, 175, 80, .5)); }
.float { animation: float 3s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.community__sub { color: var(--ink-dim); margin: 24px 0 46px; font-size: 26px; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.social {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 22px;
  background: #0a0705; box-shadow: inset 0 0 0 2px var(--cream-2); font-family: var(--f-ui); font-size: 16px;
  transition: background .25s, color .25s, box-shadow .25s;
}
.social svg { width: 22px; height: 22px; fill: currentColor; }
.social:hover { background: var(--gold); color: #140c07; box-shadow: inset 0 0 0 2px var(--gold), 0 0 30px rgba(255, 195, 90, .4); }
.social.is-soon { opacity: .5; }

/* ---------- footer ---------- */
.footer { padding: 60px var(--pad) 40px; border-top: 2px solid var(--line); }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.footer__mail { font-family: var(--f-ui); font-size: 15px; color: var(--ink-dim); text-transform: uppercase; }
.footer__mail:hover { color: var(--gold); }
.footer__disc { font-size: 18px; color: #6f604e; max-width: 100ch; margin-bottom: 18px; }
.footer__copy { font-family: var(--f-ui); font-size: 13px; color: #6f604e; }

/* ---------- toast + click fx ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 180; transform: translate(-50%, calc(100% + 60px));
  padding: 14px 20px; background: var(--gold); color: #140c07; font-family: var(--f-pixel); font-size: 10px;
  box-shadow: 0 0 0 4px #140c07, 0 0 40px rgba(255, 195, 90, .5); transition: transform .5s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); }
.wow {
  position: fixed; z-index: 160; pointer-events: none; font-family: var(--f-ui); font-weight: 700;
  font-size: 18px; white-space: nowrap; text-shadow: 2px 2px 0 #140c07;
}
.ripple {
  position: fixed; z-index: 159; pointer-events: none; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  box-shadow: 0 0 0 3px var(--gold);
}

/* ---------- reveal defaults (visible without JS) ---------- */
.js .reveal-up, .js .reveal-scale, .js .phase__card { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 20px; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: center; justify-content: center; gap: 34px;
    background: rgba(6, 4, 3, .97); font-size: 22px; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease);
  }
  .nav.is-open .nav__links { clip-path: inset(0 0 0 0); }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
  .nav__burger { display: flex; }
  .nav > .btn { margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); text-align: center; padding-top: 110px; }
  .hero__copy { order: 2; display: grid; justify-items: center; }
  .hero__art { order: 1; width: min(100%, 420px); }
  .hero__cta { justify-content: center; }
  .about__grid, .tok__grid { grid-template-columns: 1fr; }
  .road__line { left: 13px; }
  .phase { grid-template-columns: 1fr; }
  .phase__dot { left: 13px; top: 40px; }
  .phase:nth-child(n) .phase__card { grid-column: 1; margin: 0 0 0 44px; }
}
@media (max-width: 560px) {
  .nav { gap: 12px; }
  .nav__logo span { display: none; }
  .steps, .stats, .tax { grid-template-columns: 1fr; }
  .phase__card { grid-template-columns: 1fr; }
  .phase__art { width: 90px; }
  .phase__art img { width: 70px; }
  .bubble { font-size: 13px; }
  .btn { padding: 16px 18px; font-size: 10px; }
  .scroll-hint { display: none; }
}

.reduce-motion, .reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }

/* =====================================================================
   LIVE DATA (js/live.js)
   ===================================================================== */
.hero__meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; max-width: 100%; min-width: 0; }
.hero__copy { min-width: 0; max-width: 100%; }
.hero__meta .ca { margin: 0; }
.live-chip {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: rgba(18, 13, 9, .85); box-shadow: inset 0 0 0 2px var(--line);
  font-family: var(--f-mono); font-size: 20px; color: var(--ink-dim); white-space: nowrap;
}
.live-chip b { font-family: var(--f-pixel); font-weight: 400; font-size: 12px; color: var(--cream); }
.live-chip i { font-style: normal; }
.live-chip__dot { width: 10px; height: 10px; background: var(--ink-dim); }
[data-token="live"] .live-chip__dot { background: #6dff8a; box-shadow: 0 0 10px #6dff8a; animation: led 1.2s steps(2) infinite; }
[data-token="indexing"] .live-chip__dot, [data-token="offline"] .live-chip__dot { background: var(--gold); animation: led .6s steps(2) infinite; }
sub { font-size: .62em; vertical-align: -.25em; line-height: 0; }

.chg.is-up, .is-up { color: #6dff8a; }
.chg.is-down, .is-down { color: #ff6b5a; }
.flash-up { animation: flashUp 1s ease-out; }
.flash-down { animation: flashDown 1s ease-out; }
@keyframes flashUp { 0% { text-shadow: 0 0 18px #6dff8a; color: #6dff8a; } }
@keyframes flashDown { 0% { text-shadow: 0 0 18px #ff6b5a; color: #ff6b5a; } }

/* board of live numbers */
.board { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 34px; }
.board__cell { padding: 18px 16px; background: var(--panel); box-shadow: inset 0 0 0 2px var(--line); display: grid; gap: 10px; min-width: 0; }
.board__cell span { font-family: var(--f-ui); font-size: 13px; letter-spacing: .14em; color: var(--ink-dim); }
.board__cell b { font-family: var(--f-pixel); font-weight: 400; font-size: clamp(11px, 1.15vw, 15px); color: var(--cream); overflow-wrap: anywhere; }
.board__cell i { font-style: normal; }
.board__cell .buys { color: #6dff8a; } .board__cell .sells { color: #ff6b5a; }

/* CRT monitor holding the DexScreener iframe */
.monitor {
  position: relative; padding: 18px 18px 0; border-radius: 22px;
  background: linear-gradient(180deg, #f6ead4, #e3d1b0);
  box-shadow: 0 0 0 4px #140c07, inset 0 -8px 0 #cdb894, inset 0 6px 0 #fffaf0, var(--glow);
}
.monitor__bar { display: flex; align-items: center; gap: 8px; padding: 0 6px 14px; color: #140c07; font-family: var(--f-ui); font-size: 14px; letter-spacing: .06em; }
.monitor__bar > i { width: 12px; height: 12px; background: #140c07; }
.monitor__bar > i:nth-child(1) { background: var(--orange); }
.monitor__bar > i:nth-child(2) { background: var(--gold-2); }
.monitor__bar > span { margin-left: auto; text-align: right; }
.monitor__bar .blink { color: var(--orange-2); text-shadow: none; }
[data-token="live"] .monitor__bar .blink { color: #1f9e3c; }
.monitor__screen {
  position: relative; overflow: hidden; border-radius: 12px; height: clamp(440px, 62vh, 680px);
  background: #0b0806; box-shadow: inset 0 0 0 4px #140c07;
}
.monitor__screen iframe { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); border: 0; opacity: 0; transition: opacity .8s; }
.monitor__screen.is-live iframe { opacity: 1; }
.monitor__screen.is-live .chart-ph { opacity: 0; pointer-events: none; }
.monitor__screen::after { /* scanlines on top of everything, ignores pointer */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(0deg, rgba(255, 220, 160, .03) 0 2px, transparent 2px 4px);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .6);
}
.monitor__chin { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 8px 16px; }
.monitor__chin span { margin-right: auto; font-family: var(--f-pixel); font-size: 9px; color: #8a7556; }
.monitor__chin i { width: 12px; height: 8px; background: #140c07; }
.monitor__chin i:first-of-type { background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: led 1s steps(2) infinite; }

/* placeholder before launch: pixel candles growing */
.chart-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 20px; text-align: center; transition: opacity .6s; }
.chart-ph__candles { display: flex; align-items: flex-end; gap: 10px; height: 160px; }
.chart-ph__candles i { width: 14px; background: var(--gold); position: relative; animation: candle 2.4s steps(6) infinite; box-shadow: 0 0 10px rgba(255, 195, 90, .4); }
.chart-ph__candles i::before { content: ""; position: absolute; left: 6px; width: 2px; top: -14px; bottom: -14px; background: inherit; }
.chart-ph__candles i:nth-child(3n) { background: var(--orange-2); }
.chart-ph__candles i:nth-child(odd) { animation-delay: -.6s; }
.chart-ph__candles i:nth-child(4n+1) { animation-delay: -1.2s; }
.chart-ph__candles i:nth-child(5n) { animation-delay: -1.8s; }
.chart-ph__candles i:nth-child(1) { height: 20%; } .chart-ph__candles i:nth-child(2) { height: 28%; } .chart-ph__candles i:nth-child(3) { height: 22%; }
.chart-ph__candles i:nth-child(4) { height: 36%; } .chart-ph__candles i:nth-child(5) { height: 44%; } .chart-ph__candles i:nth-child(6) { height: 38%; }
.chart-ph__candles i:nth-child(7) { height: 52%; } .chart-ph__candles i:nth-child(8) { height: 48%; } .chart-ph__candles i:nth-child(9) { height: 60%; }
.chart-ph__candles i:nth-child(10) { height: 56%; } .chart-ph__candles i:nth-child(11) { height: 68%; } .chart-ph__candles i:nth-child(12) { height: 74%; }
.chart-ph__candles i:nth-child(13) { height: 66%; } .chart-ph__candles i:nth-child(14) { height: 82%; } .chart-ph__candles i:nth-child(15) { height: 90%; }
.chart-ph__candles i:nth-child(16) { height: 100%; }
@keyframes candle { 50% { transform: scaleY(.7); transform-origin: bottom; } }
.chart-ph__msg { font-family: var(--f-pixel); font-size: clamp(11px, 1.4vw, 16px); color: var(--gold); text-shadow: 0 0 12px rgba(255, 195, 90, .5); }
.chart-ph__msg .caret { margin-left: 8px; }
.chart-ph__sub { color: var(--ink-dim); font-size: 20px; max-width: 40ch; }

@media (max-width: 1100px) { .board { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .board { grid-template-columns: repeat(2, 1fr); }
  .monitor { padding: 12px 10px 0; border-radius: 16px; }
  .monitor__screen { height: 520px; }
  .monitor__bar { font-size: 12px; }
  .monitor__bar > i { display: none; }
  .hero__meta { justify-content: center; }
  .eyebrow { font-size: 13px; letter-spacing: .08em; }
}

/* ---------- native pixel chart (js/chart.js) ---------- */
.pxchart { position: absolute; inset: 4px; display: flex; flex-direction: column; z-index: 1; }
.pxchart__tools { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 0; position: relative; z-index: 3; }
.pxchart__tools button {
  font-family: var(--f-pixel); font-size: 9px; padding: 8px 10px; color: var(--ink-dim);
  background: #140e0a; box-shadow: inset 0 0 0 2px var(--line); transition: color .2s, background .2s, box-shadow .2s;
}
.pxchart__tools button:hover { color: var(--cream); box-shadow: inset 0 0 0 2px var(--gold-2); }
.pxchart__tools button.is-on { background: var(--gold); color: #140c07; box-shadow: inset 0 -3px 0 var(--gold-2), 0 0 14px rgba(255, 195, 90, .35); }
.pxchart__legend { padding: 10px 16px 0; font-family: var(--f-mono); font-size: 18px; color: var(--ink-dim); min-height: 30px; position: relative; z-index: 3; pointer-events: none; }
.pxchart__legend b { font-weight: 400; color: var(--cream); margin-right: 8px; }
.pxchart__legend i { font-style: normal; }
.pxchart__canvas { flex: 1; min-height: 0; position: relative; }
.pxchart__msg {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; text-align: center;
  font-family: var(--f-pixel); font-size: 11px; line-height: 1.8; color: var(--gold); padding: 16px 20px;
  background: rgba(11, 8, 6, .9); box-shadow: inset 0 0 0 2px var(--gold-2); max-width: 90%;
}
.monitor__screen.is-live .pxchart { opacity: 1; }
