:root {
  --bg: #050507;
  --panel: #0a0a0f;
  --ink: #f2f3f7;
  --dim: rgba(242, 243, 247, 0.55);
  --faint: rgba(242, 243, 247, 0.26);
  --line: rgba(242, 243, 247, 0.13);
  --blue: #4d7cff;
  --violet: #8a7bff;
  --deep: #1c226b;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --font: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-liquid: cubic-bezier(0.22, 1, 0.36, 1);
  --glint: linear-gradient(100deg,
    rgba(255, 255, 255, 0.35) 0%,
    #ffffff 9%,
    #ffffff 38%,
    rgba(255, 255, 255, 0.8) 42%,
    #7a6bff 46%,
    #1c226b 50.5%,
    #4c3ff0 55%,
    rgba(255, 255, 255, 0.8) 60%,
    #ffffff 64%,
    #ffffff 91%,
    rgba(255, 255, 255, 0.35) 100%);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--violet); color: var(--bg); }
@media (pointer: fine) {
  body, a, button { cursor: none; }
}

/* ---------- ambient layers ---------- */
.grain {
  position: fixed; inset: -6%; z-index: 60; pointer-events: none;
  background-image: var(--noise);
  opacity: 0.06;
  animation: grain-shift 1.4s steps(4) infinite;
  will-change: transform;
}
@keyframes grain-shift {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-1.5%, 2%, 0); }
  50% { transform: translate3d(2%, -1.5%, 0); }
  75% { transform: translate3d(-2%, -2%, 0); }
  100% { transform: translate3d(1.5%, 1.5%, 0); }
}
.grid {
  position: fixed; inset: -32px; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(242, 243, 247, 0.14) 1px, transparent 1.6px);
  background-size: 32px 32px;
  animation: grid-drift 40s linear infinite;
  will-change: transform;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 20%, transparent 75%);
}
@keyframes grid-drift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(32px, 32px, 0); }
}
.orb { position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; will-change: transform; }
.orb.one {
  width: 55vw; height: 55vw; left: -18vw; top: -22vw;
  background: radial-gradient(circle, rgba(77, 124, 255, 0.15) 0%, rgba(77, 124, 255, 0.09) 30%, rgba(77, 124, 255, 0.035) 48%, transparent 64%);
  animation: drift-a 46s ease-in-out infinite alternate;
}
.orb.two {
  width: 60vw; height: 60vw; right: -22vw; top: 12vh;
  background: radial-gradient(circle, rgba(138, 123, 255, 0.12) 0%, rgba(138, 123, 255, 0.07) 32%, rgba(138, 123, 255, 0.028) 50%, transparent 64%);
  animation: drift-b 58s ease-in-out infinite alternate;
}
.orb.three {
  width: 48vw; height: 48vw; left: 22vw; bottom: -30vh;
  background: radial-gradient(circle, rgba(28, 34, 107, 0.38) 0%, rgba(28, 34, 107, 0.22) 30%, rgba(28, 34, 107, 0.09) 50%, transparent 66%);
  animation: drift-c 52s ease-in-out infinite alternate;
}
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(14vw, 12vh) scale(1.15); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1); } to { transform: translate(-12vw, -10vh) scale(1.2); } }
@keyframes drift-c { from { transform: translate(0, 0) scale(1); } to { transform: translate(-10vw, -8vh) scale(1.1); } }
#fx { position: fixed; inset: 0; z-index: 1; pointer-events: none; }

/* ---------- cursor ---------- */
.cur-dot, .cur-ring {
  position: fixed; top: 0; left: 0; z-index: 120; pointer-events: none;
  border-radius: 50%; opacity: 0;
  will-change: transform;
}
body.ready .cur-dot, body.ready .cur-ring { opacity: 1; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cur-ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, border-color 0.25s ease;
}
.cur-ring.big { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: rgba(138, 123, 255, 0.9); }
@media (pointer: coarse) { .cur-dot, .cur-ring { display: none; } }

/* ---------- progress ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  z-index: 110; background: linear-gradient(90deg, #fff, var(--violet));
  box-shadow: 0 0 12px rgba(138, 123, 255, 0.8);
}

/* ---------- boot ---------- */
#boot {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
#boot.done { transform: translateY(-101%); }
.boot-inner { width: min(520px, 84vw); }
.boot-logo { font: 800 28px var(--font); letter-spacing: -0.02em; margin-bottom: 30px; }
.boot-logo span { color: var(--violet); animation: blink 1s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: 0; } }
#bootLines { min-height: 104px; font-size: 12.5px; color: var(--dim); display: grid; gap: 8px; margin-bottom: 28px; letter-spacing: 0.04em; }
.boot-bar { height: 2px; background: rgba(255, 255, 255, 0.12); margin-bottom: 14px; overflow: hidden; }
#bootFill { height: 100%; width: 0%; background: linear-gradient(90deg, #fff, var(--violet)); }
.boot-pct { font-size: 12px; color: var(--faint); letter-spacing: 0.3em; }

/* ---------- topbar ---------- */
#topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 30px;
  font-size: 12.5px; letter-spacing: 0.1em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.8), transparent);
  transform: translateY(-110%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
body.ready #topbar { transform: none; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 15px; letter-spacing: 0.02em; }
.logo-mark { position: relative; width: 26px; height: 26px; flex: none; display: grid; place-items: center; }
.logo-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.lm-base { fill: none; stroke: rgba(242, 243, 247, 0.16); stroke-width: 1.5; }
.lm-comet {
  fill: none; stroke: var(--violet); stroke-width: 1.5; stroke-linecap: round;
  stroke-dasharray: 22 59.7;
  filter: drop-shadow(0 0 3px rgba(138, 123, 255, 0.9));
  animation: lm-orbit 3s linear infinite;
}
@keyframes lm-orbit { to { stroke-dashoffset: -81.7; } }
.logo-mark b { font-size: 12px; font-weight: 800; z-index: 1; text-shadow: 0 0 10px rgba(138, 123, 255, 0.6); }
.logo:hover .lm-comet { animation-duration: 0.8s; stroke: #fff; }
.logo:hover .logo-text { text-shadow: 0 0 16px rgba(138, 123, 255, 0.7); }
.blink { color: var(--violet); animation: blink 1.1s steps(2, start) infinite; }
nav { display: flex; gap: 28px; align-items: center; text-transform: uppercase; }
nav a { color: var(--dim); transition: color 0.25s ease, text-shadow 0.25s ease; }
nav a:hover { color: var(--ink); text-shadow: 0 0 18px rgba(138, 123, 255, 0.8); }
.nav-cta {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 2px;
  color: var(--ink) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.nav-cta:hover { border-color: rgba(138, 123, 255, 0.7); box-shadow: 0 0 24px rgba(138, 123, 255, 0.25); background: rgba(138, 123, 255, 0.08); }

/* ---------- hero ---------- */
.hero {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 20px 90px;
  perspective: 900px;
}
.hero-orbit {
  position: absolute; z-index: -1;
  width: min(74vw, 660px); height: min(74vw, 660px);
  opacity: 0.5;
}
.hero-orbit svg { width: 100%; height: 100%; animation: spin 26s linear infinite; overflow: visible; }
.hero-orbit text { fill: rgba(242, 243, 247, 0.34); font-family: var(--font); font-size: 10.5px; letter-spacing: 3.5px; }
@keyframes spin { to { transform: rotate(360deg); } }
.blob {
  position: absolute; z-index: -2;
  width: min(58vw, 520px); height: min(58vw, 520px);
  background: radial-gradient(circle at 50% 42%, rgba(138, 123, 255, 0.17), rgba(77, 124, 255, 0.08) 52%, transparent 72%);
  border-radius: 50%;
  animation: blob-breathe 9s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes blob-breathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.12); opacity: 1; }
}
.kicker {
  font-size: clamp(0.78rem, 1.5vw, 1rem);
  color: var(--dim); letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 30px;
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.9s ease 0.35s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}
body.ready .kicker { opacity: 1; transform: none; }
.hero-tilt {
  transform-style: preserve-3d;
  will-change: transform;
  margin-bottom: 42px;
}
.hero-word {
  font-family: var(--display);
  font-size: clamp(5.8rem, 21vw, 18rem);
  font-weight: 700; line-height: 0.92; letter-spacing: -0.045em;
  white-space: nowrap;
  text-shadow: 0 0 70px rgba(138, 123, 255, 0.3), 0 0 160px rgba(77, 124, 255, 0.2);
  opacity: 0; transform: translateY(30px) scale(0.96);
  transition: opacity 1s ease 0.15s, transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
body.ready .hero-word { opacity: 1; transform: none; }
.sub {
  font-size: clamp(0.88rem, 1.7vw, 1.12rem);
  color: var(--dim); line-height: 1.85; letter-spacing: 0.04em;
  margin-bottom: 58px;
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.9s ease 0.5s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}
body.ready .sub { opacity: 1; transform: none; }
.hero-cta {
  display: flex; gap: 18px; flex-wrap: wrap; justify-content: center;
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.9s ease 0.65s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.65s;
}
body.ready .hero-cta { opacity: 1; transform: none; }

.btn-magnetic {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: clamp(0.82rem, 1.4vw, 0.95rem); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bg); background: var(--ink);
  padding: 19px 36px; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(242, 243, 247, 0.4), 0 10px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.18s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}
.btn-magnetic:hover { box-shadow: 0 0 0 1px rgba(242, 243, 247, 0.7), 0 16px 60px rgba(138, 123, 255, 0.4); }
.btn-magnetic .arrow { transition: transform 0.25s ease; }
.btn-magnetic:hover .arrow { transform: translateX(6px); }
.btn-magnetic.big { padding: 26px 56px; font-size: clamp(0.95rem, 2vw, 1.3rem); }
.btn-ghost {
  display: inline-flex; align-items: center;
  font-size: clamp(0.82rem, 1.4vw, 0.95rem); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim); padding: 19px 30px;
  border: 1px solid var(--line); border-radius: 2px;
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.4s var(--ease-spring);
}
.btn-ghost:hover { color: var(--ink); border-color: rgba(242, 243, 247, 0.4); box-shadow: 0 0 30px rgba(242, 243, 247, 0.1); transform: translateY(-3px) scale(1.04); }
.btn-ghost:active { transform: translateY(0) scale(0.96); transition-duration: 0.08s; }

.tag {
  position: absolute; z-index: 3;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--dim);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 8px 14px;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(6px);
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
body.ready .tag { opacity: 1; transform: scale(1); }
body.ready .t1 { transition-delay: 0.9s; animation: float-a 7s ease-in-out 1.6s infinite; }
body.ready .t2 { transition-delay: 1.05s; animation: float-b 8s ease-in-out 1.8s infinite; }
body.ready .t3 { transition-delay: 1.2s; animation: float-b 7.5s ease-in-out 2s infinite; }
body.ready .t4 { transition-delay: 1.35s; animation: float-a 8.5s ease-in-out 2.2s infinite; }
.t1 { top: 21%; left: 9%; }
.t2 { top: 27%; right: 8%; }
.t3 { bottom: 23%; left: 12%; }
.t4 { bottom: 19%; right: 11%; }
@keyframes float-a { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes float-b { 0%, 100% { translate: 0 0; } 50% { translate: 0 10px; } }

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faint);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; transition: opacity 1s ease 1.4s;
}
body.ready .scroll-hint { opacity: 1; }
.scroll-hint span { width: 1px; height: 44px; background: linear-gradient(180deg, var(--violet), transparent); animation: hint-drop 1.8s ease-in-out infinite; }
@keyframes hint-drop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- glint ---------- */
.glint {
  background-image:
    linear-gradient(100deg,
      transparent 0%, transparent 45%,
      rgba(138, 123, 255, 0.55) 47%,
      rgba(122, 107, 255, 0.95) 49%,
      rgba(28, 34, 107, 1) 50%,
      rgba(76, 63, 240, 0.95) 51%,
      rgba(138, 123, 255, 0.55) 53%,
      transparent 55%, transparent 100%),
    linear-gradient(#ffffff, #ffffff);
  background-size: 300% 100%, 100% 100%;
  background-repeat: no-repeat, repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: glint-sweep 5.5s linear infinite;
  will-change: background-position;
}
@keyframes glint-sweep {
  0% { background-position: 100% 50%, 0 0; }
  100% { background-position: 0% 50%, 0 0; }
}

/* ---------- marquees ---------- */
.mq {
  position: relative; z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  white-space: nowrap;
  background: rgba(10, 10, 15, 0.4);
}
.mq-track {
  display: inline-block;
  will-change: transform;
  animation: mq-scroll 30s linear infinite;
}
.mq-rev .mq-track { animation-direction: reverse; animation-duration: 34s; }
@keyframes mq-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.mq span {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  font-weight: 700; letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 243, 247, 0.7);
}
.mq i {
  font-style: normal;
  font-size: clamp(1.3rem, 3.2vw, 3rem);
  color: var(--violet);
  margin: 0 clamp(0.9rem, 2.2vw, 2rem);
  vertical-align: middle;
}
.mq-rev span { -webkit-text-stroke: 1.5px rgba(77, 124, 255, 0.55); }
.mq-rev i { color: var(--blue); }

/* ---------- sections shared ---------- */
.section-label {
  font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 46px;
}
.ghost {
  position: absolute; z-index: -1; top: 4%; left: -2%;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(9rem, 26vw, 22rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 243, 247, 0.07);
  pointer-events: none; user-select: none;
}
.ghost.right { left: auto; right: -2%; }

.reveal { opacity: 0; transform: translateY(42px) scale(0.965); transition: opacity 0.8s ease, transform 1s var(--ease-spring); }
.reveal.in { opacity: 1; transform: none; }

.manifesto, .caps, .play, .stats, .cta-band {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* ---------- manifesto ---------- */
.manifesto {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 22vh 24px;
}
.scrub {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4.6vw, 4rem);
  font-weight: 500; letter-spacing: -0.015em; line-height: 1.35;
  max-width: 20ch;
}
.scrub .w {
  display: inline-block;
  opacity: 0.13;
  transform: translateY(0.22em);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.scrub .w.lit { opacity: 1; transform: none; }

/* ---------- caps ---------- */
.caps {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 16vh 24px 20vh;
}
.cap-row {
  border-top: 1px solid var(--line);
  display: grid; grid-template-rows: auto 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease;
  position: relative; overflow: hidden;
}
.cap-row:last-of-type { border-bottom: 1px solid var(--line); }
.cap-row::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(138, 123, 255, 0.09), transparent 60%);
  transform: translateX(-101%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.cap-row:hover { grid-template-rows: auto 1fr; }
.cap-row:hover::before { transform: none; }
.cap-head {
  display: flex; align-items: center; gap: clamp(18px, 4vw, 48px);
  padding: clamp(22px, 3.4vw, 40px) 8px;
}
.cap-num { font-size: 12px; color: var(--faint); letter-spacing: 0.2em; width: 34px; }
.cap-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.1rem, 5.6vw, 4.4rem); letter-spacing: 0.02em; line-height: 1;
  flex: 1;
  transition: letter-spacing 0.45s ease, color 0.3s ease;
}
.cap-row:hover .cap-title { letter-spacing: 0.09em; color: #fff; }
.cap-arrow {
  font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--faint);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}
.cap-row:hover .cap-arrow { transform: rotate(-45deg); color: var(--violet); }
.cap-more { overflow: hidden; min-height: 0; }
.cap-more p {
  padding: 0 8px clamp(24px, 3.4vw, 42px) calc(34px + clamp(18px, 4vw, 48px));
  color: var(--dim); font-size: clamp(0.85rem, 1.5vw, 1rem); letter-spacing: 0.04em; line-height: 1.7;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}
.cap-row:hover .cap-more p { opacity: 1; transform: none; }

/* ---------- play / orbit game ---------- */
.play {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  padding: 16vh 24px 18vh;
  text-align: center;
}
.play-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 3.8rem); letter-spacing: -0.02em;
  margin-bottom: 64px;
}
.orbit-stage {
  position: relative;
  width: min(74vw, 440px); height: min(74vw, 440px);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  --spin: 0;
}
.orbit-stage > * { pointer-events: none; }
.gyro {
  position: absolute; inset: -14%;
  transform-style: preserve-3d;
  animation: gyro-spin 16s linear infinite;
  pointer-events: none;
}
.gyro .g {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(138, 123, 255, 0.22);
}
.gyro .g1 { transform: rotateX(70deg); }
.gyro .g2 { transform: rotateY(70deg) rotateX(24deg); border-color: rgba(77, 124, 255, 0.2); }
.gyro .g3 { transform: rotateX(70deg) rotateZ(64deg); border-color: rgba(242, 243, 247, 0.12); }
@keyframes gyro-spin {
  from { transform: rotateX(16deg) rotateY(0deg); }
  to { transform: rotateX(16deg) rotateY(360deg); }
}
body.looped .gyro { animation-duration: 1.4s; }
body.looped .gyro .g { border-color: rgba(138, 123, 255, 0.7); box-shadow: 0 0 24px rgba(138, 123, 255, 0.35); }
.orbit-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(242, 243, 247, 0.22);
  box-shadow: 0 0 calc(20px + 70px * var(--spin)) rgba(138, 123, 255, calc(0.12 + 0.5 * var(--spin))),
    inset 0 0 calc(14px + 46px * var(--spin)) rgba(77, 124, 255, calc(0.08 + 0.35 * var(--spin)));
  transition: box-shadow 0.3s ease;
}
.orbit-dot {
  position: absolute; top: 50%; left: 50%;
  width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.9), 0 0 46px rgba(138, 123, 255, 0.8);
  will-change: transform;
}
.orbit-stage.grab .orbit-dot { background: var(--violet); }
.orbit-core {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: clamp(2rem, 6vw, 3.4rem);
  color: var(--faint);
  pointer-events: none;
}
.orbit-hud {
  display: flex; gap: clamp(20px, 4vw, 46px); align-items: baseline; flex-wrap: wrap; justify-content: center;
  margin-top: 54px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint);
}
.orbit-hud b { color: var(--ink); font-size: 20px; letter-spacing: 0.08em; margin-left: 8px; }
.orbit-hint { width: 100%; font-size: 10.5px; color: var(--faint); letter-spacing: 0.14em; }

/* ---------- stats ---------- */
.stats { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 16vh 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); perspective: 1000px; }
.stat {
  text-align: center; padding: 40px 16px; border-left: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease;
}
.stat:hover { transform: rotateX(8deg) translateZ(18px); background: rgba(138, 123, 255, 0.04); }
.stat:first-child { border-left: none; }
.num {
  display: block;
  font-family: var(--display);
  font-size: clamp(3.6rem, 8.5vw, 7.6rem);
  font-weight: 700; line-height: 1; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.lbl { font-size: clamp(0.68rem, 1.2vw, 0.82rem); color: var(--faint); letter-spacing: 0.2em; text-transform: uppercase; }

/* ---------- cta band ---------- */
.cta-band {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 10vh 24px 18vh;
}
.cta-word {
  font-family: var(--display);
  font-size: clamp(3rem, 11vw, 9.5rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 64px;
  white-space: nowrap;
}
.cta-sub { margin-top: 30px; font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }

/* ---------- footer ---------- */
.foot {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 26px 30px;
  border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint);
}
.foot b { color: var(--dim); }

/* ---------- toast ---------- */
#toast {
  position: fixed; bottom: 34px; left: 50%; z-index: 90;
  transform: translate(-50%, 20px);
  padding: 13px 26px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink);
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid rgba(138, 123, 255, 0.5);
  border-radius: 2px;
  backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- loop mode ---------- */
body.looped::after {
  content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  animation: flicker 0.1s steps(2) infinite;
}
@keyframes flicker { 50% { opacity: 0.35; } }
body.looped { animation: loop-hue 2.4s linear infinite; }
@keyframes loop-hue {
  0%, 100% { filter: none; }
  25% { filter: hue-rotate(18deg) saturate(1.25); }
  50% { filter: hue-rotate(-14deg) saturate(1.4) contrast(1.05); }
  75% { filter: hue-rotate(8deg); }
}
body.looped #main { animation: loop-shake 0.28s linear infinite; }
@keyframes loop-shake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2px, 1px); }
  40% { transform: translate(2px, -2px); }
  60% { transform: translate(-1px, -1px); }
  80% { transform: translate(1px, 2px); }
}
body.looped .hero-word {
  animation: glint-sweep 0.5s linear infinite, jitter 0.12s steps(2) infinite;
}
@keyframes jitter {
  0% { translate: 0 0; }
  25% { translate: -5px 3px; }
  50% { translate: 4px -4px; }
  75% { translate: -3px -2px; }
  100% { translate: 0 0; }
}
body.looped .mq-track { filter: drop-shadow(0 0 18px rgba(138, 123, 255, 0.85)); }
body.looped .grid { animation-duration: 4s; opacity: 0.9; }
body.looped .orb { animation-duration: 6s; }
body.looped .hero-orbit svg { animation-duration: 1.6s; }
body.looped .logo-mark svg { animation: none; }
body.looped .lm-comet { animation-duration: 0.3s; stroke: #fff; }
#flash {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 45%, rgba(138, 123, 255, 0.85), rgba(77, 124, 255, 0.4) 40%, transparent 70%);
}
#flash.go { animation: flash-bang 0.7s ease-out; }
@keyframes flash-bang {
  0% { opacity: 0.95; }
  100% { opacity: 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .grid, .orb, .hero-orbit svg, .blink, .glint, .scroll-hint span, .tag,
  .gyro, .gyro .g, .lm-comet, .logo-mark svg, #flash { animation: none !important; }
  .stat:hover, .cap-row:hover { transform: none; }
  .hero-tilt { transform: none !important; }
  .glint {
    background-image: none;
    -webkit-text-fill-color: var(--ink);
    color: var(--ink);
    text-shadow: none;
  }
  .reveal, .kicker, .hero-word, .sub, .hero-cta, .tag, .scroll-hint { opacity: 1 !important; transform: none !important; }
  .scrub .w { opacity: 1; transform: none; }
  #fx, .cur-dot, .cur-ring { display: none !important; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .tag { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); padding: 28px 12px; }
  .stat:first-child { border-top: none; }
  .sub br { display: none; }
  nav a:not(.nav-cta) { display: none; }
  .ghost { font-size: 8rem; }
  .cap-more p { padding-left: 8px; }
}
