:root {
  --bg: #050505;
  --surface: #0b0b0b;
  --ink: #f4f1ea;
  --ink-70: rgba(244, 241, 234, 0.7);
  --ink-62: rgba(244, 241, 234, 0.62);  /* body copy, 7:1 on --bg */
  --ink-55: rgba(244, 241, 234, 0.55);  /* small labels, lowest AA-safe tone */
  --ink-outline: rgba(244, 241, 234, 0.5);
  --line: rgba(244, 241, 234, 0.12);
  --line-soft: rgba(244, 241, 234, 0.08);
  --gold: #f0b54a;
  --gold-hi: #f6c766;
  --gold-lo: #e0a33a;
  --gold-arc: rgba(246, 199, 102, 0.95);
  --glow: rgba(240, 181, 74, 0.45);
  --cta: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold-lo) 100%);
  --cta-ink: #120d04;
  --radius: 16px;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1280px;
  --gutter: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); }
/* big monitors: scale the whole page so it reads like a ~1460px layout instead of a narrow strip */
@media (min-width: 1680px) { body { zoom: 1.15; } }
@media (min-width: 1920px) { body { zoom: 1.3; } }
@media (min-width: 2240px) { body { zoom: 1.5; } }
@media (min-width: 2560px) { body { zoom: 1.7; } }
@media (min-width: 3200px) { body { zoom: 2.1; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
.wrap { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.gold { color: var(--gold); }
.mono-label {
  display: block;
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-55);
}
.mono-label.gold { color: var(--gold); }

/* outline text: second word of each headline */
.outline { color: transparent; -webkit-text-stroke: 1.2px var(--ink-outline); }
@supports not (-webkit-text-stroke: 1px black) {
  .outline { color: rgba(244, 241, 234, 0.5); }
}

/* headings */
.h2 {
  font-weight: 600; font-stretch: 115%;
  font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.035em;
}
.lead { max-width: 40ch; font-size: 16px; line-height: 1.65; color: var(--ink-62); }

/* sections */
.section { padding: 120px 0; }
.section--tight { padding: 80px 0 120px; }
.section__title { margin-bottom: 56px; }
.section__title--sm { margin-bottom: 48px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 64px; }
.split--center { align-items: center; }
.split__text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); background: transparent; cursor: pointer; white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease), background 0.2s var(--ease);
}
.btn--lg { height: 52px; padding: 0 26px; }
.btn--gold, .btn--ink, .btn--bold { font-family: var(--sans); font-weight: 700; letter-spacing: 0.12em; }
.btn--gold {
  background: var(--cta); color: var(--cta-ink);
  box-shadow: 0 0 30px rgba(240, 181, 74, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--lg.btn--gold { font-size: 13px; }
.btn--gold:hover { color: var(--cta-ink); box-shadow: 0 0 44px rgba(240, 181, 74, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
@media (hover: hover) { .btn--gold:hover { transform: translateY(-1px); } }
.btn--line { border-color: rgba(240, 181, 74, 0.6); color: var(--gold); }
.btn--line:hover { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 24px rgba(240, 181, 74, 0.25); }
.btn--ghost { border-color: rgba(244, 241, 234, 0.25); }
.btn--ghost:hover { border-color: rgba(240, 181, 74, 0.6); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { color: var(--bg); background: #fff; box-shadow: 0 0 30px rgba(244, 241, 234, 0.25); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn[hidden] { display: none; }
.arrow { flex: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.6);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
}
.link-arrow:hover { border-color: var(--gold); }

/* ---------- nav: floating pills ---------- */
.pill {
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(12, 12, 12, 0.8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 88px; padding: 0 20px;
}
.nav__logo {
  display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px 0 9px;
  border-color: rgba(244, 241, 234, 0.18);
}
.logo-tile {
  width: 30px; height: 30px; flex: none; border-radius: 9px;
  background: #0f0d09; border: 1px solid rgba(240, 181, 74, 0.6);
  display: flex; align-items: center; justify-content: center;
}
.logo-tile img { width: 22px; }
.nav__name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; font-stretch: 110%; }
.nav__links {
  display: flex; gap: 4px; padding: 4px; list-style: none;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.nav__links a { display: block; padding: 12px 16px; border-radius: 999px; }
.nav__links a:hover { background: rgba(244, 241, 234, 0.05); }
.nav__drawer-cta { display: none; }
.nav__cta { box-shadow: 0 0 30px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.nav__toggle {
  display: none; width: 48px; height: 48px; padding: 0; margin-left: auto;
  align-items: center; justify-content: center; color: var(--ink); cursor: pointer;
}
.nav__toggle[aria-expanded="true"] { border-color: rgba(240, 181, 74, 0.6); color: var(--gold); }
.nav__end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; align-items: center; gap: 2px; padding: 4px; }
.nav__lang { height: 48px; }
.lang__btn {
  height: 38px; min-width: 42px; padding: 0 12px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--ink-55);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.lang__btn:hover { color: var(--ink); }
.lang__btn[aria-pressed="true"] { background: rgba(240, 181, 74, 0.14); color: var(--gold); }
.nav__drawer-lang { display: none; }
.lang-pending [data-i18n] { visibility: hidden; }

@media (max-width: 1023px) { /* full nav needs ~950px; below that it collapses into the menu button */
  .nav { height: 80px; padding: 0 16px; gap: 8px; }
  .nav__toggle { display: inline-flex; }
  .nav__menu { position: absolute; left: 16px; right: 16px; top: 72px; }
  .nav__links {
    display: none; flex-direction: column; gap: 0; padding: 8px;
    border-radius: var(--radius); background: rgba(11, 11, 11, 0.96);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 16px; border-radius: 10px; font-size: 13px; }
  .nav__links li + li { border-top: 1px solid var(--line-soft); }
  .nav__drawer-cta { display: block; }
  .nav__links .nav__drawer-cta a { color: var(--gold); }
  .nav__lang { display: none; }
  .nav__drawer-lang { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; font-size: 13px; color: var(--ink-55); }
  .nav__cta { padding: 0 18px; }
  .nav__cta .arrow { display: none; }
}
@media (max-width: 359px) { .nav__cta { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 780px; margin-top: -88px; padding: 230px 0 80px; overflow-x: clip; }
.hero__arc {
  position: absolute; left: 22%; top: 250px; width: 170%; aspect-ratio: 1; border-radius: 50%;
  border-top: 1.5px solid var(--gold-arc);
  box-shadow: 0 -2px 40px 6px rgba(240, 181, 74, 0.28), inset 0 30px 120px rgba(240, 181, 74, 0.16);
  background: radial-gradient(circle at 50% 0%, rgba(240, 181, 74, 0.1), rgba(5, 5, 5, 0) 30%);
  pointer-events: none;
  /* the arc runs on behind the next sections, then fades out instead of ending in a hard edge */
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 72%); mask-image: linear-gradient(180deg, #000 30%, transparent 72%);
}
.hero__glow {
  position: absolute; left: 45%; top: 200px; width: 760px; height: 520px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(240, 181, 74, 0.22) 0%, rgba(240, 181, 74, 0) 65%);
  pointer-events: none;
  animation: glow-breathe 7s ease-in-out infinite;
}
@keyframes glow-breathe { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }

/* light running along the gold arcs: a comet on a thin ring, rotated (compositor-only) */
.hero__arc, .footer__arc { --sweep-from: -62deg; --sweep-to: 6deg; --sweep-time: 6.5s; }
.footer__arc { --sweep-from: -42deg; --sweep-to: 42deg; --sweep-time: 7.5s; }
.hero__arc::after, .footer__arc::after {
  content: ''; position: absolute; inset: -10px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from -18deg,
    rgba(255, 214, 140, 0) 0deg, rgba(255, 214, 140, 0.15) 8deg, rgba(255, 222, 160, 0.9) 17deg, #fff4dc 18deg, rgba(255, 214, 140, 0) 18.6deg);
  -webkit-mask-image: radial-gradient(farthest-side, transparent calc(100% - 28px), rgba(0, 0, 0, 0.22) calc(100% - 17px), #000 calc(100% - 11.5px), #000 calc(100% - 9px), rgba(0, 0, 0, 0.22) calc(100% - 3px), transparent 100%);
          mask-image: radial-gradient(farthest-side, transparent calc(100% - 28px), rgba(0, 0, 0, 0.22) calc(100% - 17px), #000 calc(100% - 11.5px), #000 calc(100% - 9px), rgba(0, 0, 0, 0.22) calc(100% - 3px), transparent 100%);
  will-change: transform, opacity;
  animation: arc-sweep var(--sweep-time) cubic-bezier(0.45, 0, 0.25, 1) infinite;
}
.footer__arc::after { animation-delay: 1.2s; }
@keyframes arc-sweep {
  0% { transform: rotate(var(--sweep-from)); opacity: 0; }
  12% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: rotate(var(--sweep-to)); opacity: 0; }
}
.hero__in { position: relative; }
.hero__meta {
  display: flex; justify-content: flex-end; padding: 16px 0; border-top: 1px solid rgba(244, 241, 234, 0.1);
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-55);
}
.hero__title {
  margin: 48px 0 56px; font-weight: 600; font-stretch: 115%;
  font-size: clamp(52px, 7.4vw, 108px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance;
}
.hero__title > span { display: block; }
/* "2,030" <-> "FINITE" glitch (main.js toggles the classes). Both words share one grid cell, so the box is as wide as
   the longer word and nothing moves when they swap; "2,030" ends its line, so the reserve is invisible.
   FINITE is generated content with empty alt text: not in the headline's text (SEO) and not announced. */
.glitch { display: inline-grid; justify-items: start; vertical-align: baseline; }
.hero__title > span:first-child { white-space: nowrap; }
.glitch__base, .glitch::after { grid-area: 1 / 1; }
.glitch::after { content: attr(data-alt); content: attr(data-alt) / ""; opacity: 0; }
.glitch[data-state="alt"] .glitch__base { opacity: 0; }
.glitch[data-state="alt"]::after { opacity: 1; }
/* 160ms transition: stepped slices with a few px of horizontal shift, a faint gold / cool split and one flicker */
.glitch.is-out-base .glitch__base, .glitch.is-out-alt::after { animation: glitch-out 0.16s steps(1, end) both; }
.glitch.is-out-alt .glitch__base, .glitch.is-out-base::after { animation: glitch-in 0.16s steps(1, end) both; }
@keyframes glitch-out {
  0% { opacity: 1; transform: none; clip-path: inset(0); }
  16% { opacity: 1; transform: translateX(-3px); clip-path: inset(0 0 54% 0); color: var(--gold-hi); text-shadow: -2px 0 rgba(240, 181, 74, 0.55), 2px 0 rgba(205, 222, 255, 0.22); }
  36% { opacity: 0.5; transform: translateX(4px); clip-path: inset(46% 0 0 0); color: var(--gold-hi); text-shadow: 2px 0 rgba(240, 181, 74, 0.5), -1px 0 rgba(205, 222, 255, 0.2); }
  56% { opacity: 0.85; transform: translateX(-2px); clip-path: inset(24% 0 32% 0); color: #f7ead0; }
  76% { opacity: 0.2; transform: translateX(1px); clip-path: inset(70% 0 6% 0); color: var(--gold-hi); }
  100% { opacity: 0; transform: none; clip-path: inset(0); }
}
@keyframes glitch-in {
  0% { opacity: 0; transform: none; clip-path: inset(0); }
  20% { opacity: 0.8; transform: translateX(3px); clip-path: inset(50% 0 0 0); color: var(--gold-hi); text-shadow: 2px 0 rgba(240, 181, 74, 0.55), -2px 0 rgba(205, 222, 255, 0.22); }
  40% { opacity: 0.3; transform: translateX(-4px); clip-path: inset(0 0 58% 0); color: var(--gold-hi); }
  60% { opacity: 1; transform: translateX(2px); clip-path: inset(14% 0 22% 0); color: #f7ead0; text-shadow: -1px 0 rgba(240, 181, 74, 0.45); }
  80% { opacity: 0.9; transform: translateX(-1px); clip-path: inset(0); color: #f7ead0; }
  100% { opacity: 1; transform: none; clip-path: inset(0); }
}
.hero__indent { padding-left: 9%; }
.hero__row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; align-items: start;
  padding: 36px 0; border-top: 1px solid rgba(244, 241, 234, 0.1); border-bottom: 1px solid rgba(244, 241, 234, 0.1);
}
.hero__tag { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.6; }
.hero__lead { max-width: 34ch; font-size: 16px; line-height: 1.6; color: var(--ink-62); }
.hero__cta { display: flex; justify-content: flex-end; }
/* "Buy CAST" CTA with the Indodax wordmark, placed just below the hero.
   Logo is white (to match the black-gold theme) and returns to its real Indodax color on hover.
   Motion: a gold halo breathes behind it, a light sweep runs across it, hover lifts it. */
.hero__buy { position: relative; z-index: 1; display: flex; justify-content: center; padding: 36px var(--gutter) 8px; }
.hero__buy::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: min(360px, 100%); height: 130px; translate: -50% -50%;
  background: radial-gradient(ellipse at center, rgba(240, 181, 74, 0.26) 0%, rgba(240, 181, 74, 0) 70%);
  filter: blur(9px); opacity: 0.5; pointer-events: none; z-index: -1;
  animation: buy-halo 4.5s ease-in-out 1.2s infinite;
}
.hero__buy-btn {
  position: relative; overflow: hidden;
  height: 56px; padding: 0 20px 0 22px; gap: 10px;
  border-color: rgba(244, 241, 234, 0.26); background: rgba(12, 12, 12, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em;
}
.hero__buy-btn .gold { color: var(--gold); }
.hero__buy-logo {
  display: inline-flex; align-items: center; height: 24px; padding-left: 10px;
  border-left: 1px solid rgba(244, 241, 234, 0.16);
}
.hero__buy-btn img {
  height: 18px; width: auto;
  filter: brightness(0) invert(1); /* teal -> white */
  transition: filter 0.25s var(--ease);
}
/* a soft gold light sweeps across the button every few seconds (clipped to the pill) */
.hero__buy-btn::after {
  content: ''; position: absolute; top: -25%; bottom: -25%; left: 0; width: 40%;
  background: linear-gradient(100deg, rgba(255, 214, 140, 0) 0%, rgba(255, 214, 140, 0.14) 40%, rgba(255, 246, 225, 0.34) 50%, rgba(255, 214, 140, 0.14) 60%, rgba(255, 214, 140, 0) 100%);
  transform: translateX(-160%) skewX(-14deg); pointer-events: none;
  animation: buy-shine 5.5s cubic-bezier(0.45, 0, 0.25, 1) 2s infinite;
}
.hero__buy-btn .arrow { color: var(--gold); }
.hero__buy-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 181, 74, 0.7); color: var(--gold);
  background: rgba(24, 18, 8, 0.82);
  box-shadow: 0 8px 28px rgba(240, 181, 74, 0.28);
}
.hero__buy-btn:hover img { filter: none; } /* back to the real Indodax color */
@keyframes buy-halo { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.75; } }
@keyframes buy-shine {
  0%, 58% { transform: translateX(-160%) skewX(-14deg); }
  84%, 100% { transform: translateX(420%) skewX(-14deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__buy::before, .hero__buy-btn::after { display: none; }
}
/* ---------- hero logo: "Precision in Motion" ----------
   Intro (once, 2.8s): emerges from the dark, a light sweep reveals it left to right, a small 3D tilt settles to front.
   Loop (6s, seamless): gold reflection travels the contours (SVG animateMotion), an occasional sheen, a breathing glow.
   The source image is never redrawn or distorted; every effect sits on top of it. main.js adds .is-ready. */
.hero__title, .hero__row { position: relative; z-index: 1; }
.hero-logo {
  --intro: 2.8s; --loop: 6s; --reveal-ease: cubic-bezier(0.45, 0, 0.2, 1);
  position: absolute; z-index: 0; top: 80px; right: var(--gutter); width: clamp(230px, 27vw, 420px);
  pointer-events: none; perspective: 1200px;
}
/* hidden until main.js starts the intro; if the script never runs, show the static logo after 6s */
.js .hero-logo:not(.is-ready) { opacity: 0; animation: hl-fade 0.6s ease-out 6s forwards; }
.hero-logo__glow {
  position: absolute; left: 50%; top: 52%; width: 150%; aspect-ratio: 1.6; border-radius: 50%; translate: -50% -50%;
  background: radial-gradient(ellipse at center, rgba(240, 181, 74, 0.28) 0%, rgba(240, 181, 74, 0.09) 38%, rgba(240, 181, 74, 0) 68%);
}
.hero-logo__stage { position: relative; will-change: transform; }
.hero-logo__art { position: relative; }
.hero-logo__art img { width: 100%; }
.hero-logo__contour { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; mix-blend-mode: screen; opacity: 0; }
.hero-logo__sheen {
  position: absolute; inset: 0; overflow: hidden; mix-blend-mode: screen;
  -webkit-mask: url(../img/logo-hero-face.png) center / 100% 100% no-repeat;
          mask: url(../img/logo-hero-face.png) center / 100% 100% no-repeat;
}
.hero-logo__sheen::before, .hero-logo__sheen::after {
  content: ''; position: absolute; top: -10%; bottom: -10%; left: 0; width: 30%; transform: translateX(-120%) skewX(-14deg);
  background: linear-gradient(90deg, rgba(246, 220, 170, 0) 0%, rgba(246, 220, 170, 0.4) 35%, rgba(255, 250, 238, 1) 50%, rgba(246, 220, 170, 0.4) 65%, rgba(246, 220, 170, 0) 100%);
  will-change: transform;
}

.hero-logo.is-ready { animation: hl-fade 0.8s ease-out both; }
.is-ready .hero-logo__glow { animation: hl-glow-in 2s ease-out both, hl-glow-breathe var(--loop) ease-in-out var(--intro) infinite; }
.is-ready .hero-logo__stage { animation: hl-settle var(--intro) cubic-bezier(0.16, 1, 0.3, 1) both; }
.is-ready .hero-logo__art {
  -webkit-mask-image: linear-gradient(90deg, #000 33.33%, transparent 50%); mask-image: linear-gradient(90deg, #000 33.33%, transparent 50%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: hl-reveal 2.2s var(--reveal-ease) 0.1s both, hl-emerge 2.4s ease-out both;
}
.is-ready .hero-logo__sheen::before { animation: hl-sweep-intro 2.2s var(--reveal-ease) 0.1s both; }
.is-ready .hero-logo__sheen::after { animation: hl-shimmer var(--loop) cubic-bezier(0.45, 0, 0.25, 1) var(--intro) infinite; }
.is-ready .hero-logo__contour { animation: hl-fade 1.2s ease-out 2.2s both; }

@keyframes hl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hl-glow-in { from { opacity: 0; scale: 0.8; } to { opacity: 1; scale: 1; } }
@keyframes hl-glow-breathe { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: 0.55; scale: 0.94; } }
@keyframes hl-settle {
  from { transform: rotateY(-14deg) rotateX(5deg) scale(0.97); }
  to { transform: none; }
}
/* the mask's soft edge travels from left of the logo to past its right edge */
@keyframes hl-reveal {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to { -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}
@keyframes hl-emerge { from { filter: brightness(0.2); } 70% { filter: brightness(1.08); } to { filter: none; } }
/* rides the reveal front: same duration and easing as hl-reveal */
@keyframes hl-sweep-intro {
  from { transform: translateX(-300%) skewX(-14deg); }
  to { transform: translateX(367%) skewX(-14deg); }
}
/* idle off-stage most of the loop, then one slow pass: start and end match, so the loop is seamless */
@keyframes hl-shimmer {
  0%, 55% { transform: translateX(-120%) skewX(-14deg); }
  85%, 100% { transform: translateX(440%) skewX(-14deg); }
}

@media (max-width: 820px) {
  .hero { min-height: 0; margin-top: -80px; padding: 150px 0 64px; }
  .hero-logo { position: relative; top: auto; right: auto; width: min(58vw, 250px); margin: 32px auto 10px; }
  .hero-logo__glow { width: 138%; }
  .hero__arc { top: 190px; left: 8%; width: 260%; }
  .hero__glow { left: 10%; top: 160px; width: 520px; height: 420px; }
  .hero__meta { justify-content: flex-start; font-size: 11px; letter-spacing: 0.2em; }
  .hero__title { margin: 32px 0 40px; font-size: clamp(44px, 12.4vw, 76px); }
  .hero__indent { padding-left: 0; }
  .hero__row { gap: 24px; padding: 28px 0; }
  .hero__cta { justify-content: flex-start; }
  .hero__buy { padding: 24px var(--gutter) 4px; }
  .hero__buy-btn { height: 48px; padding: 0 16px; gap: 8px; font-size: 11px; }
  .hero__buy-logo { height: 20px; padding-left: 8px; }
  .hero__buy-btn img { height: 14px; }
  @media (max-width: 359px) { .hero__buy-btn .arrow { display: none; } }
}

/* ---------- coin ---------- */
.coin {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 40% 28%, #2b2620 0%, #0d0c0a 70%);
  box-shadow: 0 0 0 1px rgba(246, 199, 102, 0.8), 0 0 50px rgba(240, 181, 74, 0.35), 0 50px 80px rgba(0, 0, 0, 0.8), inset 0 -30px 60px rgba(0, 0, 0, 0.7);
}
.coin img { width: 58%; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.8)); }

/* ---------- statement ---------- */
.statement { position: relative; height: 680px; display: flex; align-items: center; justify-content: center; overflow: clip; }
.statement__num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-stretch: 125%; font-size: clamp(120px, 30vw, 440px); letter-spacing: -0.05em; line-height: 1;
  -webkit-text-stroke: 1.5px rgba(244, 241, 234, 0.16); user-select: none;
}
@supports not (-webkit-text-stroke: 1px black) { .statement__num { color: rgba(244, 241, 234, 0.06); } }
.statement__glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 181, 74, 0.3) 0%, rgba(240, 181, 74, 0) 62%);
}
.statement__coin { width: min(380px, 70vw); will-change: transform; animation: heartbeat 1.8s ease-in-out infinite; }
.statement__glow { will-change: transform, opacity; animation: glow-beat 1.8s ease-in-out infinite; }
/* heartbeat: lub-dub, then rest. Halo brightens on each beat, a gold ring ripples out on the "lub" */
.statement__coin::before, .statement__coin::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; will-change: transform, opacity;
}
.statement__coin::before {
  box-shadow: 0 0 0 1.5px rgba(255, 214, 140, 0.95), 0 0 70px 6px rgba(240, 181, 74, 0.55);
  animation: halo-beat 1.8s ease-in-out infinite;
}
.statement__coin::after {
  border: 1.5px solid rgba(246, 199, 102, 0.9);
  animation: ring-ripple 1.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
@keyframes heartbeat {
  0%, 34%, 100% { transform: scale(1); }
  8% { transform: scale(1.04); }
  16% { transform: scale(1); }
  24% { transform: scale(1.025); }
}
@keyframes halo-beat {
  0%, 40%, 100% { opacity: 0.15; }
  8% { opacity: 1; }
  16% { opacity: 0.45; }
  24% { opacity: 0.8; }
}
@keyframes ring-ripple {
  0% { transform: scale(1); opacity: 0; }
  5% { opacity: 0.8; }
  45%, 100% { transform: scale(1.38); opacity: 0; }
}
@keyframes glow-beat {
  0%, 40%, 100% { transform: scale(1); opacity: 0.7; }
  8% { transform: scale(1.07); opacity: 1; }
  16% { transform: scale(1); opacity: 0.8; }
  24% { transform: scale(1.04); opacity: 0.95; }
}
.statement__caption {
  position: absolute; bottom: 48px; left: 16px; right: 16px; text-align: center;
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-55);
}
@media (max-width: 820px) {
  .statement { height: 520px; }
  .statement__coin {
    width: min(210px, 46vw);
    background: radial-gradient(circle at 40% 28%, rgba(43, 38, 32, 0.62) 0%, rgba(13, 12, 10, 0.62) 70%);
  }
  .statement__glow { width: 260px; height: 260px; }
  .statement__num { -webkit-text-stroke: 1.5px rgba(244, 241, 234, 0.34); }
  .statement__caption { bottom: 32px; font-size: 11px; letter-spacing: 0.22em; }
}
@supports not (-webkit-text-stroke: 1px black) {
  @media (max-width: 820px) { .statement__num { color: rgba(244, 241, 234, 0.14); } }
}

/* ---------- spec sheet ---------- */
.spec {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--line-soft);
}
.spec__cell { padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--surface); }
.spec__big { font-weight: 600; font-stretch: 115%; font-size: 44px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.spec__val { font-size: 20px; line-height: 1.3; }
.spec__val--mono { font-family: var(--mono); font-size: 16px; line-height: 1.5; }
.copy {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: var(--ink); text-align: left; transition: color 0.2s var(--ease);
}
.copy__text { white-space: nowrap; border-bottom: 1px solid var(--line); transition: border-color 0.2s var(--ease); }
.copy__icon, .copy__check { flex: none; color: var(--ink-55); transition: color 0.2s var(--ease); }
.copy__check { display: none; color: var(--gold); }
.copy:hover, .copy:hover .copy__icon { color: var(--gold); }
.copy:hover .copy__text { border-color: rgba(240, 181, 74, 0.6); }
.copy.is-copied { color: var(--gold); }
.copy.is-copied .copy__icon { display: none; }
.copy.is-copied .copy__check { display: block; }
.spec__val--status { font-family: var(--mono); font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.spec__verify { margin-top: 28px; }
@media (max-width: 960px) {
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec__cell--lead { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .spec__cell { padding: 22px 20px; } }

/* ---------- mindset ---------- */
.mindset { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 16px; }
.principle {
  position: relative; min-height: 340px; padding: 40px; overflow: hidden;
  display: flex; flex-direction: column; gap: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color 0.3s var(--ease);
}
.principle:hover { border-color: rgba(240, 181, 74, 0.3); }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px rgba(240, 181, 74, 0.9); }
.principle__title { margin-top: 24px; max-width: 14ch; font-weight: 600; font-stretch: 112%; font-size: 30px; line-height: 1.1; letter-spacing: -0.025em; }
.principle__body { max-width: 44ch; font-size: 15px; line-height: 1.65; color: var(--ink-62); }
.share-btn {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  transition: color 0.2s var(--ease), text-shadow 0.2s var(--ease);
}
.share-btn:hover { color: var(--gold-hi); text-shadow: 0 0 16px rgba(240, 181, 74, 0.6); }
.share-btn[disabled] { opacity: 0.6; cursor: progress; }
@media (max-width: 520px) {
  .principle { min-height: 0; padding: 32px 24px 24px; }
  .principle__title { font-size: 26px; }
}

/* ---------- collect ---------- */
.callout {
  margin-top: 32px; padding: 28px; align-self: stretch;
  border: 1px solid rgba(240, 181, 74, 0.35); border-radius: var(--radius);
  background: radial-gradient(ellipse at 0% 0%, rgba(240, 181, 74, 0.12), var(--surface) 60%);
}
.callout .mono-label { margin-bottom: 10px; }
.callout__title { font-weight: 600; font-stretch: 112%; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.callout__body { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--ink-62); }
.timeline { position: relative; padding: 0; list-style: none; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(240, 181, 74, 0.15) 100%);
}
.timeline__step { position: relative; display: flex; gap: 28px; padding-bottom: 34px; }
.timeline__step:last-child { padding-bottom: 0; }
.timeline__step > div { display: flex; flex-direction: column; gap: 6px; }
.timeline__dot {
  position: relative; flex: none; margin-top: 4px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold); box-shadow: 0 0 12px rgba(240, 181, 74, 0.7);
}
.timeline__title { font-weight: 600; font-stretch: 110%; font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }
.timeline__body { max-width: 40ch; font-size: 15px; line-height: 1.6; color: var(--ink-62); }

/* ---------- roadmap ---------- */
.roadmap { align-self: start; }
.roadmap::before { background: linear-gradient(180deg, var(--gold) 0%, var(--gold) 62%, rgba(240, 181, 74, 0.12) 82%); }
.roadmap__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.roadmap__status {
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-55);
}
.roadmap__step--done .timeline__dot { background: var(--gold); }
.roadmap__step--done .roadmap__status { border-color: rgba(240, 181, 74, 0.35); color: var(--gold); }
.roadmap__step--now .roadmap__status { border-color: var(--gold); color: var(--cta-ink); background: var(--gold); }
.roadmap__step--now .timeline__dot::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold);
  animation: roadmap-ping 2.4s ease-out infinite;
}
@keyframes roadmap-ping { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }
.roadmap__step--next .timeline__dot { border-color: rgba(240, 181, 74, 0.45); box-shadow: none; }
.roadmap__step--next .timeline__title, .roadmap__step--next .timeline__body { opacity: 0.75; }

/* ---------- club (Telegram mini app) ---------- */
#club { overflow-x: hidden; overflow-x: clip; } /* the glow and tilted phones may reach past the edges on small screens */
.club__list { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 52ch; }
.club__list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.club__list .mono-label { padding-top: 3px; }
.club__list p { font-size: 15px; line-height: 1.6; color: var(--ink-70); }
.club__soon {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; padding: 14px 22px;
  border: 1px solid rgba(240, 181, 74, 0.45); border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.club__soon .dot { animation: soon-pulse 2.4s ease-in-out infinite; }
@keyframes soon-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.club__stage { position: relative; height: 640px; display: flex; align-items: center; justify-content: center; }
.club__glow {
  position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(240, 181, 74, 0.22), rgba(240, 181, 74, 0) 65%);
}
.phone {
  position: absolute; width: 262px; aspect-ratio: 780 / 1688; padding: 8px; border-radius: 42px;
  background: linear-gradient(150deg, #2b2a28, #0b0b0b 55%, #1d1c1a);
  box-shadow: 0 0 0 1px rgba(244, 241, 234, 0.14), 0 40px 90px rgba(0, 0, 0, 0.85), 0 0 50px rgba(240, 181, 74, 0.1);
}
.phone::before { /* camera pill */
  content: ''; position: absolute; top: 18px; left: 50%; width: 74px; height: 20px; margin-left: -37px; border-radius: 999px; background: #050505; z-index: 1;
}
.phone img, .phone video { display: block; width: 100%; height: 100%; border-radius: 34px; object-fit: cover; object-position: top; }
.phone--back { --pt: translate(-46%, -14px) rotate(-9deg) scale(0.88); transform: var(--pt); opacity: 0.6; }
.phone--front { --pt: translate(24%, 18px) rotate(5deg); transform: var(--pt); }
.phone--back { animation: phone-float 8s ease-in-out infinite; }
.phone--front { animation: phone-float 7s ease-in-out -2s infinite; }
@keyframes phone-float { 0%, 100% { transform: var(--pt) translateY(0); } 50% { transform: var(--pt) translateY(-12px); } }
@media (max-width: 820px) {
  .club__stage { height: 520px; }
  .phone { width: min(210px, 56vw); border-radius: 34px; padding: 7px; }
  .phone img, .phone video { border-radius: 27px; }
  .phone::before { top: 14px; width: 58px; height: 16px; margin-left: -29px; }
  .club__glow { width: 380px; height: 380px; margin: -190px 0 0 -190px; }
}
@media (max-width: 420px) {
  .club__list li { grid-template-columns: 80px minmax(0, 1fr); }
  .phone--back { --pt: translate(-33%, -10px) rotate(-8deg) scale(0.86); }
  .phone--front { --pt: translate(17%, 14px) rotate(5deg); }
}

/* ---------- registry ---------- */
.registry__stage { display: flex; justify-content: center; padding: 24px 0; }
.card-preview {
  position: relative; width: 300px; aspect-ratio: 9 / 16; transform: rotate(-4deg);
  border-radius: 20px; border: 1px solid rgba(244, 241, 234, 0.16); overflow: hidden;
  background: radial-gradient(ellipse at 50% 18%, rgba(240, 181, 74, 0.2), #0c0c0c 55%);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.6);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s var(--ease);
}
@media (hover: hover) { .card-preview:hover { transform: rotate(-2deg) translateY(-4px); } }
/* holographic trading-card feel: a foil sheen sits on top of the card (sample or rendered PNG).
   Pointer devices: main.js tilts the card and moves the sheen with the cursor (--rx, --ry, --mx).
   Touch devices: the card floats and the sheen passes on its own. */
.card-preview::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -100%; width: 300%; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 214, 140, 0.16) 42%, rgba(255, 236, 190, 0.42) 46%,
    rgba(170, 225, 255, 0.2) 49%, rgba(255, 180, 225, 0.18) 52%, rgba(255, 214, 140, 0.14) 56%, transparent 62%);
  mix-blend-mode: screen; opacity: 0;
  transform: translateX(calc((var(--mx, 0.5) - 0.5) * 60%));
  transition: opacity 0.4s var(--ease);
}
.card-preview.is-tilting {
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(-2deg) translateY(-6px) scale(1.03);
  transition: transform 0.12s linear;
}
.card-preview.is-tilting::after { opacity: 1; transition: none; }
@media (hover: none) {
  .card-preview { animation: card-float 6s ease-in-out infinite; }
  .card-preview::after { opacity: 1; animation: card-sheen 6s ease-in-out infinite; }
}
@keyframes card-float {
  0%, 100% { transform: perspective(700px) rotateY(-16deg) rotateX(4deg) rotate(-4deg) translateY(0); }
  50% { transform: perspective(700px) rotateY(16deg) rotateX(-4deg) rotate(-3deg) translateY(-8px); }
}
@keyframes card-sheen { 0%, 100% { transform: translateX(-30%); } 50% { transform: translateX(30%); } }
.card-preview > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-preview__empty { padding: 24px; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-62); }
.sample-card {
  position: absolute; inset: 0; padding: 26px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
}
.sample-card__top {
  align-self: stretch; display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-55);
}
.sample-card__coin { margin-top: 18px; width: 160px; box-shadow: 0 0 0 1px rgba(246, 199, 102, 0.8), 0 0 30px rgba(240, 181, 74, 0.35); }
.sample-card__coin img { filter: none; }
.sample-card__title { margin-top: 20px; font-weight: 600; font-stretch: 112%; font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
.sample-card__tier { font-family: var(--mono); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.sample-card__bal { margin-top: 12px; font-weight: 600; font-stretch: 115%; font-size: 58px; letter-spacing: -0.04em; line-height: 1; }
.sample-card__bar { width: 100%; height: 3px; margin-top: 10px; }
.sample-card__meta { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--ink-62); }
.sample-card__foot { margin-top: auto; font-family: var(--mono); font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-55); }
.bar { display: flex; border-radius: 4px; background: var(--line-soft); }
.bar i { display: block; border-radius: inherit; background: var(--gold); box-shadow: 0 0 10px rgba(240, 181, 74, 0.8); }
.registry__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.registry__status { min-height: 1.5em; margin-top: -8px; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--ink-62); }
.registry__status:empty { display: none; }
.registry__status a { color: var(--gold); border-bottom: 1px solid rgba(240, 181, 74, 0.5); }
.tiers {
  align-self: stretch; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tiers > div { display: flex; flex-direction: column; gap: 6px; }
.tiers > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.tiers .mono-label { font-size: 10px; }
.tiers dd { font-size: 15px; }
@media (max-width: 520px) { .registry__actions .btn { flex: 1 1 auto; } }

/* ---------- breakdown ---------- */
.breakdown { border-top: 1px solid var(--line); }
.breakdown__row {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) 90px; gap: 24px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line-soft);
}
.breakdown__label { font-size: 17px; }
.breakdown__bar { height: 4px; }
.breakdown__bar i { box-shadow: 0 0 12px rgba(240, 181, 74, 0.6); }
.breakdown__val { text-align: right; font-family: var(--mono); font-size: 15px; }
@media (max-width: 640px) {
  .breakdown__row { grid-template-columns: 1fr auto; gap: 12px 16px; padding: 18px 0; }
  .breakdown__bar { grid-column: 1 / -1; grid-row: 2; }
  .breakdown__label { font-size: 16px; }
}

/* ---------- join + footer ---------- */
.footer { position: relative; padding-top: 120px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer__join { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.footer__title { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; }
.footer__join .lead { max-width: 36ch; }
.footer__social { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__cols { flex: 1 1 400px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; font-size: 15px; }
.footer__col a { overflow-wrap: anywhere; }
.footer__horizon { position: relative; margin-top: 120px; height: 420px; overflow: hidden; }
.footer__arc {
  position: absolute; left: 50%; top: 250px; width: 2400px; height: 2400px; margin-left: -1200px; border-radius: 50%;
  border-top: 1.5px solid var(--gold-arc);
  box-shadow: 0 -2px 50px 8px rgba(240, 181, 74, 0.3), inset 0 40px 140px rgba(240, 181, 74, 0.14);
}
.footer__wordmark {
  position: absolute; left: 0; right: 0; top: 60px; text-align: center; white-space: nowrap; user-select: none;
  font-weight: 800; font-stretch: 125%; font-size: min(230px, 14.6vw); letter-spacing: -0.04em; line-height: 1;
  color: var(--ink);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.25) 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.25) 100%);
}
/* motion (main.js builds the layers): letters rise in, the digits of 2030 roll like an odometer and land,
   and a gold spotlight (a second, gold copy masked to a circle) follows the cursor or drifts on its own. */
@property --sx { syntax: '<percentage>'; inherits: true; initial-value: 30%; }
@property --sy { syntax: '<percentage>'; inherits: true; initial-value: 40%; }
.wm { display: block; }
.wm--gold {
  position: absolute; inset: 0; color: var(--gold); pointer-events: none;
  -webkit-mask-image: radial-gradient(circle min(260px, 18vw) at var(--sx) var(--sy), #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 100%);
  mask-image: radial-gradient(circle min(260px, 18vw) at var(--sx) var(--sy), #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 100%);
  animation: wm-drift 11s ease-in-out infinite;
}
.footer__wordmark.is-pointer .wm--gold { animation: none; }
@keyframes wm-drift {
  0%, 100% { --sx: 12%; --sy: 30%; } 30% { --sx: 48%; --sy: 70%; } 60% { --sx: 86%; --sy: 35%; } 80% { --sx: 62%; --sy: 55%; }
}
.wm__ch { display: inline-block; }
.wm__digit { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.wm__reel { display: flex; flex-direction: column; }
.wm__reel > span { height: 1em; }
.js .footer__wordmark[data-ready] .wm__ch { opacity: 0; transform: translateY(40%); transition: opacity 0.7s var(--m-ease, var(--ease)) var(--d, 0ms), transform 0.9s var(--m-ease, var(--ease)) var(--d, 0ms); }
.js .footer__wordmark.is-in .wm__ch { opacity: 1; transform: none; }
.wm__reel { transform: translateY(0); }
.footer__wordmark.is-rolling .wm__reel { transform: translateY(calc(var(--steps) * -1em)); transition: transform var(--t, 1.6s) cubic-bezier(0.2, 0.7, 0.15, 1) var(--d, 0ms); }
.footer__legal {
  position: absolute; left: 16px; right: 16px; bottom: 28px; text-align: center;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-55); line-height: 1.8;
}
.footer__contract { overflow-wrap: anywhere; letter-spacing: 0.12em; text-transform: none; }
@media (max-width: 820px) {
  .footer { padding-top: 96px; }
  .footer__horizon { margin-top: 32px; height: 300px; }
  .footer__arc { top: 170px; }
  .footer__wordmark { top: 70px; }
  .footer__legal { bottom: 20px; font-size: 10px; letter-spacing: 0.18em; }
}

@media (max-width: 520px) {
  .section { padding: 88px 0; }
  .section--tight { padding: 56px 0 88px; }
  .section__title { margin-bottom: 40px; }
  .split { gap: 48px; }
  .footer__cols { flex-basis: 100%; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}

/* ---------- ledger page ---------- */
.nav__links a[aria-current="page"] { color: var(--gold); }
.hero--ledger { min-height: 0; padding-bottom: 40px; }
.spec--4 { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
.spec--4 .spec__val { font-size: 18px; font-variant-numeric: tabular-nums; }
.spec--4 .spec__big { font-size: clamp(32px, 3.2vw, 44px); white-space: nowrap; }
.spec__sub { margin-top: -6px; font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--ink-55); font-variant-numeric: tabular-nums; }
.spec__sub:empty { display: none; }
.nowrap { white-space: nowrap; }
.moved { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.moved__line { font-weight: 600; font-stretch: 112%; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; letter-spacing: -0.02em; }
.moved__num { color: var(--gold); font-variant-numeric: tabular-nums; }
.moved__of { color: var(--ink-70); }
.moved__bar { height: 6px; }
.moved__bar i { transition: width 1.2s var(--ease); }
.moved__body { font-size: 15px; line-height: 1.65; color: var(--ink-62); }
.ledger-source { margin-top: 24px; font-size: 12px; letter-spacing: 0.08em; color: var(--ink-55); }
.ledger-source:empty { display: none; }
.ledger-note { margin-top: 20px; max-width: 70ch; font-size: 13px; line-height: 1.6; color: var(--ink-55); }

.pieces__lead { max-width: 56ch; margin: -24px 0 40px; }
.pieces {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(9px, 1fr)); gap: 4px;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.piece { display: block; aspect-ratio: 1; border-radius: 50%; }
.piece--collectors { background: var(--gold); box-shadow: 0 0 6px rgba(240, 181, 74, 0.7); }
.piece--large { background: rgba(244, 241, 234, 0.28); }
.piece--largest { box-shadow: inset 0 0 0 1px rgba(244, 241, 234, 0.22); }
.legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.legend__item { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; }
.legend__swatch { width: 12px; height: 12px; border-radius: 50%; }
.legend__swatch--collectors { background: var(--gold); box-shadow: 0 0 8px rgba(240, 181, 74, 0.8); }
.legend__swatch--large { background: rgba(244, 241, 234, 0.28); }
.legend__swatch--largest { box-shadow: inset 0 0 0 1px rgba(244, 241, 234, 0.4); }
.legend__label { font-size: 16px; }
.legend__val { grid-column: 2; font-family: var(--mono); font-size: 13px; color: var(--ink-62); }

.holders__tiers { align-self: stretch; margin-top: 8px; }
@media (min-width: 641px) { .holders__tiers .breakdown__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 112px; } }
.holders__tiers .breakdown__label { display: flex; flex-direction: column; gap: 4px; }
.holders__tiers .breakdown__val { white-space: nowrap; }
.holders__tiers .breakdown__bar i { transition: width 1.2s var(--ease); }
.ledger-table__cap { margin-bottom: 14px; }
.ledger-table { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: rank; }
.ledger-table__row {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 64px; gap: 16px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-family: var(--mono); font-size: 14px;
  counter-increment: rank;
}
.ledger-table__row::before { content: counter(rank, decimal-leading-zero); color: var(--ink-55); font-size: 12px; }
.ledger-table__who { color: var(--ink-70); }
.ledger-table__bal { text-align: right; font-variant-numeric: tabular-nums; }
.ledger-table__pct { text-align: right; color: var(--ink-55); font-size: 12px; }
.ledger-callout { margin-top: 0; }
.ledger-callout .callout__body { max-width: 70ch; }

@media (max-width: 960px) {
  .spec--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec--4 .spec__cell:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .pieces { grid-template-columns: repeat(auto-fill, minmax(5px, 1fr)); gap: 2px; padding: 16px; }
  .legend { grid-template-columns: 1fr; }
  .pieces__lead { margin-top: -16px; }
  .ledger-table__row { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .ledger-table__pct { display: none; }
}

/* ---------- motion system ----------
   One motion language for existing elements only (no layout, size or copy changes; transform + opacity).
   Headings 750ms / 20px, supporting text 450ms / 10px after ~140ms, items 650ms / 16px staggered 80ms
   (--m-delay is set per element by main.js). main.js adds .is-in once, when the element first enters view.
   Keep the three selector lists below in sync with MOTION in main.js. */
:root { --m-ease: cubic-bezier(0.22, 1, 0.36, 1); }

/* blocks that still reveal as a whole */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* containers whose children now animate individually: the container itself stays put */
.js .split__text.reveal, .js .timeline.reveal, .js .breakdown.reveal, .js .footer__top.reveal,
.js .spec.reveal { opacity: 1; transform: none; transition: none; }

/* headings */
.js .section__title, .js .split__text > .h2, .js .footer__title {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.75s var(--m-ease) var(--m-delay, 0ms), transform 0.75s var(--m-ease) var(--m-delay, 0ms);
}
/* supporting text, labels, small groups */
.js .split__text > .eyebrow, .js .split__text > .lead, .js .split__text > .btn, .js .callout,
.js .registry__actions, .js .tiers, .js .spec__verify, .js .footer__join > .lead, .js .footer__social,
.js .footer__col, .js .statement__caption, .js .club__soon {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.45s var(--m-ease) var(--m-delay, 140ms), transform 0.45s var(--m-ease) var(--m-delay, 140ms);
}
/* items in a group, staggered */
.js .principle, .js .timeline__step, .js .breakdown__row, .js .spec__cell > *, .js .club__list > li {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.65s var(--m-ease) var(--m-delay, 0ms), transform 0.65s var(--m-ease) var(--m-delay, 0ms), border-color 0.3s var(--ease);
}
.js .section__title.is-in, .js .split__text > .h2.is-in, .js .footer__title.is-in,
.js .split__text > .eyebrow.is-in, .js .split__text > .lead.is-in, .js .split__text > .btn.is-in, .js .callout.is-in,
.js .registry__actions.is-in, .js .tiers.is-in, .js .spec__verify.is-in, .js .footer__join > .lead.is-in, .js .footer__social.is-in,
.js .footer__col.is-in, .js .statement__caption.is-in, .js .club__soon.is-in, .js .club__list > li.is-in,
.js .principle.is-in, .js .timeline__step.is-in, .js .breakdown__row.is-in, .js .spec__cell > .is-in { opacity: 1; transform: none; }
/* once entered, hover transitions are quick again (the entrance delay must not delay hover) */
.js .split__text > .btn.is-in { transition: color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease), filter 0.2s var(--ease), opacity 0.45s var(--m-ease); }

/* the timeline's gold line draws down as the steps come in; breakdown bars grow to their real value */
.js .timeline::before { transform: scaleY(0); transform-origin: top; transition: transform 1.4s var(--m-ease) 0.1s; }
.js .timeline.is-in::before { transform: none; }
.js .breakdown__bar i { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--m-ease) calc(var(--m-delay, 0ms) + 150ms); }
.js .breakdown__row.is-in .breakdown__bar i { transform: none; }

/* page load: navbar fades in in place, hero headline lines rise with a light stagger, then the supporting row */
@keyframes m-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes m-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes m-rise-sm { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* fill-mode backwards: nothing stays applied after the entrance (an opacity animation left on .nav would
   break the pills' backdrop blur) */
.js .nav > * { animation: m-fade 0.6s ease-out backwards; }
.js .hero__meta { animation: m-fade 0.45s ease-out 0.05s backwards; }
.js .hero__title > span { animation: m-rise 0.75s var(--m-ease) 0.12s backwards; }
.js .hero__title > span + span { animation-delay: 0.24s; }
.js .hero__row > * { animation: m-rise-sm 0.45s var(--m-ease) 0.42s backwards; }
.js .hero__row > * + * { animation-delay: 0.5s; }
.js .hero__row > * + * + * { animation-delay: 0.58s; }
.js .hero__buy { animation: m-rise-sm 0.5s var(--m-ease) 0.66s backwards; }

/* hover: nav links ease their background, gold CTAs brighten, arrows nudge 3px */
.nav__links a { transition: color 0.2s var(--ease), background 0.2s var(--ease); }
.btn--gold { transition: color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease), filter 0.2s var(--ease); }
.btn--gold:hover { filter: brightness(1.06); }
.btn .arrow, .link-arrow svg, .share-btn svg { transition: transform 0.2s var(--ease); }
@media (hover: hover) {
  .btn:hover .arrow, .link-arrow:hover svg, .share-btn:hover svg { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; transition-delay: 0ms !important; animation-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .section__title, .js .split__text > *, .js .callout, .js .registry__actions, .js .tiers, .js .spec__verify,
  .js .footer__join > *, .js .footer__col, .js .statement__caption, .js .principle, .js .timeline__step,
  .js .breakdown__row, .js .spec__cell > * { opacity: 1; transform: none; }
  .js .timeline::before, .js .breakdown__bar i { transform: none; }
  .glitch__base { opacity: 1 !important; animation: none !important; }
  .glitch::after { visibility: hidden; animation: none !important; }
  .card-preview, .card-preview:hover { transform: rotate(-4deg); animation: none; }
  .card-preview::after, .wm--gold { display: none; }
  .phone, .club__soon .dot { animation: none; }
  .js .footer__wordmark[data-ready] .wm__ch { opacity: 1; transform: none; }
  .footer__wordmark .wm__reel { transform: none !important; }
  .hero__arc::after, .footer__arc::after { display: none; }
  .hero__glow { animation: none; }
  .hero-logo.is-ready, .is-ready .hero-logo__glow, .is-ready .hero-logo__stage, .is-ready .hero-logo__art { animation: none; }
  .is-ready .hero-logo__art { -webkit-mask-image: none; mask-image: none; }
  .hero-logo__contour, .hero-logo__sheen { display: none; }
  .statement__coin, .statement__glow { animation: none; }
  .statement__coin::before, .statement__coin::after { display: none; }
  .roadmap__step--now .timeline__dot::after { display: none; }
}

/* =====================================================================
   Share / collector cards: rendered off-screen and exported to PNG.
   Collector: 1080x1920 (story). Quote: 1080x1080 (square) or 1080x1920 (story).
   ===================================================================== */
.card-stage { position: fixed; left: -20000px; top: 0; pointer-events: none; }
.card {
  position: relative; overflow: hidden; box-sizing: border-box;
  background: var(--bg); color: var(--ink); font-family: var(--sans);
  display: flex; flex-direction: column;
}
.card--story { width: 1080px; height: 1920px; padding: 96px; }
.card--square { width: 1080px; height: 1080px; padding: 88px; }
.card > * { position: relative; }
.card > .card__arc, .card > .card__glow, .card > .card__num { position: absolute; }
.card__arc {
  border-radius: 50%; border-top: 2px solid var(--gold-arc);
  box-shadow: 0 -4px 70px 10px rgba(240, 181, 74, 0.3), inset 0 60px 180px rgba(240, 181, 74, 0.16);
}
.card__glow { border-radius: 50%; }
.card .outline { -webkit-text-stroke: 2px rgba(244, 241, 234, 0.6); }
.card__mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.24em; }
.card__row { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.card__coin {
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 40% 28%, #2b2620 0%, #0d0c0a 70%);
  box-shadow: 0 0 0 2px rgba(246, 199, 102, 0.85), 0 0 80px rgba(240, 181, 74, 0.4), 0 80px 120px rgba(0, 0, 0, 0.85), inset 0 -50px 90px rgba(0, 0, 0, 0.7);
}
.card__coin img { width: 58%; height: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.85)); }

/* collector card */
.card--collector { align-items: center; text-align: center; }
.card--collector .card__arc { left: 50%; top: 1500px; width: 3000px; height: 3000px; margin-left: -1500px; }
.card--collector .card__glow {
  left: 50%; top: 260px; width: 1000px; height: 900px; margin-left: -500px;
  background: radial-gradient(ellipse at center, rgba(240, 181, 74, 0.24) 0%, rgba(240, 181, 74, 0) 62%);
}
.card--collector .card__top { font-size: 24px; color: rgba(244, 241, 234, 0.6); }
.card--collector .card__coin { margin-top: 150px; width: 560px; height: 560px; flex: none; }
.card__title { margin: 110px 0 0; font-weight: 600; font-stretch: 115%; font-size: 76px; line-height: 1; letter-spacing: -0.035em; }
.card__tier { margin: 28px 0 0; font-family: var(--mono); font-size: 26px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.card__balance { margin: 70px 0 0; font-weight: 600; font-stretch: 115%; font-size: 220px; line-height: 0.9; letter-spacing: -0.05em; white-space: nowrap; }
.card__balance small { margin-left: 18px; font-size: 56px; letter-spacing: 0; color: var(--gold); }
.card__progress { margin-top: 56px; width: 100%; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.card__bar { width: 100%; height: 8px; border-radius: 8px; background: rgba(244, 241, 234, 0.1); display: flex; }
.card__bar i { display: block; border-radius: 8px; background: var(--gold); box-shadow: 0 0 22px rgba(240, 181, 74, 0.85); }
.card__meta { font-family: var(--mono); font-size: 26px; letter-spacing: 0.08em; color: rgba(244, 241, 234, 0.65); }
.card__addr { margin: 36px 0 0; font-family: var(--mono); font-size: 26px; letter-spacing: 0.08em; color: rgba(244, 241, 234, 0.5); }
.card__foot { margin-top: auto; font-size: 22px; color: rgba(244, 241, 234, 0.7); }

/* quote card */
.card--quote .card__num {
  top: 40px; right: 72px; font-weight: 700; font-stretch: 115%; font-size: 300px; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(244, 241, 234, 0.1);
}
.card__head { display: flex; align-items: center; gap: 18px; font-size: 22px; color: rgba(244, 241, 234, 0.6); }
.card__dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px rgba(240, 181, 74, 0.9); }
.card__quote { margin: auto 0 0; font-weight: 600; font-stretch: 115%; font-size: 104px; line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.card__explain { margin: 40px 0 0; font-family: var(--mono); font-size: 26px; letter-spacing: 0.06em; color: var(--gold); }
.card--quote .card__foot { margin-top: 96px; color: rgba(244, 241, 234, 0.75); }
.card__mark { display: flex; align-items: center; gap: 16px; }
.card__mark img { width: 64px; height: auto; }
.card--quote .card__coin { display: none; }
.card--quote.card--square .card__arc { left: 30%; top: 760px; width: 2200px; height: 2200px; }
.card--quote.card--square .card__glow {
  left: 380px; top: 360px; width: 760px; height: 560px;
  background: radial-gradient(ellipse at center, rgba(240, 181, 74, 0.2) 0%, rgba(240, 181, 74, 0) 65%);
}
/* story quote: square layout centred in 9:16, coin above the quote */
.card--quote.card--story .card__num { top: 56px; right: 80px; }
.card--quote.card--story .card__arc { left: 50%; top: 1560px; width: 3000px; height: 3000px; margin-left: -1500px; }
.card--quote.card--story .card__glow {
  left: 50%; top: 300px; width: 1000px; height: 900px; margin-left: -500px;
  background: radial-gradient(ellipse at center, rgba(240, 181, 74, 0.22) 0%, rgba(240, 181, 74, 0) 62%);
}
.card--quote.card--story .card__coin { display: flex; width: 440px; height: 440px; margin: auto auto 0; }
.card--quote.card--story .card__quote { margin-top: 120px; font-size: 112px; }
.card--quote.card--story .card__foot { margin-top: auto; }
.card--quote.card--story .card__explain { margin-bottom: 40px; }
