:root {
  --cosmic-black: #020512;
  --deep-navy: #06102d;
  --quantum-blue: #086bff;
  --electric-cyan: #00efff;
  --neon-violet: #9655ff;
  --nebula-purple: #451d91;
  --cape-red: #f12658;
  --starlight: #f2faff;
  --solar-gold: #ffd977;
  --glass: rgba(6, 16, 45, 0.55);
  --line: rgba(0, 239, 255, 0.28);
  --font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-head: "Syne", sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1180px;
  --nav-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--cosmic-black);
  color: var(--starlight);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  isolation: isolate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.035;
  background-image: radial-gradient(rgba(242, 250, 255, 0.7) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--electric-cyan);
  color: var(--cosmic-black);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

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

.universe-canvas--sparks {
  z-index: 5;
  mix-blend-mode: screen;
}

.sparkle-field {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: screen;
}

.sparkle-field i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  animation: sky-twinkle 1.8s ease-in-out infinite;
}

.sparkle-field i:nth-child(1) {
  top: 8%;
  left: 12%;
  box-shadow:
    8vw 12vh 0 0 #fff, 22vw 6vh 0 1px #9befff, 41vw 18vh 0 0 #fff,
    63vw 9vh 0 1px #00efff, 81vw 14vh 0 0 #fff, 14vw 31vh 0 0 #cfefff,
    33vw 27vh 0 1px #fff, 52vw 36vh 0 0 #9655ff, 74vw 29vh 0 1px #fff,
    91vw 33vh 0 0 #00efff, 6vw 48vh 0 0 #fff, 28vw 52vh 0 1px #9befff,
    47vw 44vh 0 0 #fff, 69vw 51vh 0 0 #fff, 88vw 47vh 0 1px #ffd977,
    18vw 67vh 0 0 #fff, 39vw 71vh 0 1px #00efff, 58vw 64vh 0 0 #fff,
    77vw 73vh 0 0 #9655ff, 95vw 68vh 0 1px #fff, 11vw 84vh 0 0 #9befff,
    31vw 89vh 0 1px #fff, 54vw 82vh 0 0 #fff, 72vw 91vh 0 0 #00efff,
    86vw 86vh 0 1px #fff;
}

.sparkle-field i:nth-child(2) {
  top: 16%;
  left: 28%;
  animation-duration: 2.4s;
  animation-delay: -0.6s;
  box-shadow:
    5vw 8vh 0 0 #00efff, 19vw 21vh 0 1px #fff, 37vw 11vh 0 0 #fff,
    56vw 24vh 0 0 #9befff, 78vw 7vh 0 1px #fff, 93vw 19vh 0 0 #9655ff,
    9vw 39vh 0 1px #fff, 26vw 42vh 0 0 #00efff, 44vw 38vh 0 0 #fff,
    61vw 46vh 0 1px #ffd977, 83vw 41vh 0 0 #fff, 3vw 61vh 0 0 #fff,
    21vw 58vh 0 1px #9befff, 49vw 63vh 0 0 #fff, 67vw 57vh 0 0 #00efff,
    89vw 62vh 0 1px #fff, 13vw 76vh 0 0 #fff, 35vw 80vh 0 1px #9655ff,
    53vw 77vh 0 0 #fff, 71vw 84vh 0 0 #00efff, 90vw 79vh 0 1px #fff,
    7vw 93vh 0 0 #fff, 42vw 94vh 0 1px #9befff, 64vw 90vh 0 0 #fff;
}

.sparkle-field i:nth-child(3) {
  top: 4%;
  left: 61%;
  animation-duration: 1.5s;
  animation-delay: -1.1s;
  background: #00efff;
  box-shadow:
    4vw 14vh 0 1px #fff, 17vw 4vh 0 0 #00efff, 29vw 22vh 0 1px #fff,
    48vw 8vh 0 0 #fff, 66vw 16vh 0 1px #9befff, 12vw 34vh 0 0 #fff,
    31vw 31vh 0 1px #ffd977, 55vw 28vh 0 0 #fff, 73vw 37vh 0 0 #9655ff,
    8vw 49vh 0 1px #fff, 24vw 55vh 0 0 #00efff, 46vw 50vh 0 1px #fff,
    64vw 54vh 0 0 #fff, 86vw 48vh 0 0 #9befff, 15vw 69vh 0 1px #fff,
    36vw 66vh 0 0 #fff, 59vw 72vh 0 1px #00efff, 80vw 70vh 0 0 #fff,
    6vw 87vh 0 0 #fff, 27vw 83vh 0 1px #9655ff, 51vw 88vh 0 0 #fff,
    70vw 92vh 0 1px #00efff, 88vw 85vh 0 0 #fff;
}

.sparkle-field i:nth-child(4) {
  top: 22%;
  left: 4%;
  animation-duration: 3.1s;
  animation-delay: -1.8s;
  background: #ffd977;
  box-shadow:
    11vw 5vh 0 0 #fff, 25vw 17vh 0 1px #00efff, 43vw 6vh 0 0 #fff,
    62vw 13vh 0 0 #9befff, 84vw 3vh 0 1px #fff, 16vw 26vh 0 0 #fff,
    34vw 33vh 0 1px #9655ff, 58vw 21vh 0 0 #fff, 76vw 30vh 0 0 #00efff,
    2vw 44vh 0 1px #fff, 20vw 47vh 0 0 #fff, 39vw 41vh 0 1px #ffd977,
    57vw 49vh 0 0 #fff, 79vw 43vh 0 0 #9befff, 94vw 52vh 0 1px #fff,
    8vw 64vh 0 0 #00efff, 30vw 70vh 0 1px #fff, 48vw 61vh 0 0 #fff,
    68vw 67vh 0 0 #fff, 87vw 73vh 0 1px #9655ff, 14vw 81vh 0 0 #fff,
    33vw 86vh 0 1px #00efff, 55vw 91vh 0 0 #fff, 74vw 88vh 0 0 #9befff,
    91vw 94vh 0 1px #fff;
}

@keyframes sky-twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.7); }
  35% { opacity: 1; transform: scale(1.35); }
  55% { opacity: 0.25; transform: scale(0.85); }
  78% { opacity: 0.95; transform: scale(1.2); }
}

.nebula-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.nebula-field__cloud {
  position: absolute;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  filter: none;
  animation: nebula-drift 48s ease-in-out infinite alternate;
}

.nebula-field__cloud--cyan {
  top: -18vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(8, 107, 255, 0.22), transparent 68%);
}

.nebula-field__cloud--violet {
  right: -16vw;
  top: 20vh;
  background: radial-gradient(circle, rgba(150, 85, 255, 0.18), transparent 70%);
  animation-duration: 62s;
}

.nebula-field__cloud--magenta {
  left: 20vw;
  bottom: -20vw;
  background: radial-gradient(circle, rgba(241, 38, 88, 0.08), rgba(69, 29, 145, 0.12), transparent 72%);
  animation-duration: 70s;
}

@keyframes nebula-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, -3%, 0) scale(1.08); }
}

.cursor-glow {
  position: fixed;
  width: 180px;
  height: 180px;
  margin: -90px 0 0 -90px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle, rgba(0, 239, 255, 0.16), transparent 68%);
  opacity: 0;
  transform: translate3d(-200px, -200px, 0);
  will-change: transform;
}

.cursor-glow.is-on {
  opacity: 1;
}

main,
.nav,
.footer {
  position: relative;
  z-index: 3;
}

.section-wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 7rem 0;
}

.section-head {
  margin-bottom: 3.2rem;
}

.section-head--center {
  text-align: center;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--electric-cyan);
  margin-bottom: 0.9rem;
  animation: eyebrow-scan 3.8s ease-in-out infinite;
}

@keyframes eyebrow-scan {
  0%, 100% { opacity: 0.72; letter-spacing: 0.28em; }
  50% { opacity: 1; letter-spacing: 0.34em; }
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--starlight);
}

.lede {
  margin: 1rem auto 0;
  max-width: 38rem;
  color: rgba(242, 250, 255, 0.72);
  font-size: 1.08rem;
}

.note {
  color: rgba(242, 250, 255, 0.5);
  font-size: 0.88rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--electric-cyan), var(--quantum-blue));
  color: #031018;
  box-shadow: 0 0 24px rgba(0, 239, 255, 0.28);
  animation: cta-pulse 2.8s ease-in-out infinite;
}

.btn--primary::after,
.btn--ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.45), transparent 70%);
  transform: translateX(-140%);
  animation: btn-sheen 3.4s ease-in-out infinite;
}

@keyframes cta-pulse {
  50% { box-shadow: 0 0 36px rgba(0, 239, 255, 0.55); }
}

@keyframes btn-sheen {
  0%, 55% { transform: translateX(-140%); }
  80%, 100% { transform: translateX(140%); }
}

.btn--ghost {
  border: 1px solid var(--line);
  background: rgba(2, 5, 18, 0.35);
  color: var(--starlight);
}

.btn--sm {
  min-height: 42px;
  padding: 0.6rem 1rem;
}

.btn--xl {
  min-height: 54px;
  padding: 0.95rem 1.8rem;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 0 36px rgba(0, 239, 255, 0.45);
}

.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(0, 239, 255, 0.2);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 250, 255, 0.78);
}

.chip--solana i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric-cyan);
  box-shadow: 0 0 10px var(--electric-cyan);
  animation: core-pulse 1.8s ease-in-out infinite;
}

.chip--pending {
  animation: pending-glow 2.4s ease-in-out infinite;
}

@keyframes pending-glow {
  50% { box-shadow: 0 0 16px rgba(255, 217, 119, 0.28); }
}

.chip--pending {
  border-color: rgba(255, 217, 119, 0.35);
  color: var(--solar-gold);
}

/* Quantum orbit component */
.q-orbit {
  position: relative;
  width: var(--orbit, 220px);
  height: var(--orbit, 220px);
  perspective: 640px;
  transform-style: preserve-3d;
}

.q-orbit--lg { --orbit: 360px; }
.q-orbit--xl { --orbit: min(72vw, 620px); }

.q-orbit__ring,
.q-orbit__core,
.q-orbit__node {
  position: absolute;
  inset: 0;
  margin: auto;
}

.q-orbit__ring {
  border: 1px solid rgba(0, 239, 255, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(0, 239, 255, 0.18);
  transform: rotateX(68deg) rotateZ(18deg);
  animation: orbit-spin 18s linear infinite;
}

.q-orbit__ring--violet {
  inset: 8%;
  border-color: rgba(150, 85, 255, 0.65);
  transform: rotateX(68deg) rotateZ(-40deg);
  animation-duration: 24s;
  animation-direction: reverse;
}

.q-orbit__ring--slow {
  inset: 18%;
  transform: rotateX(68deg) rotateZ(80deg);
  animation-duration: 32s;
}

.q-orbit__core {
  width: 14%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, var(--solar-gold) 40%, transparent 72%);
  box-shadow: 0 0 30px rgba(255, 217, 119, 0.7);
  animation: core-pulse 2.8s ease-in-out infinite;
}

.q-orbit__node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric-cyan);
  box-shadow: 0 0 12px var(--electric-cyan);
  animation: node-travel 10s linear infinite;
}

.q-orbit__node--b {
  background: var(--neon-violet);
  box-shadow: 0 0 12px var(--neon-violet);
  animation-duration: 16s;
  animation-direction: reverse;
}

@keyframes orbit-spin {
  to { transform: rotateX(68deg) rotateZ(378deg); }
}

@keyframes core-pulse {
  50% { transform: scale(1.18); opacity: 0.85; }
}

@keyframes node-travel {
  0% { transform: rotate(0deg) translateX(var(--orbit, 110px)) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(var(--orbit, 110px)) rotate(-360deg); }
}

.q-orbit--hero .q-orbit__node {
  --orbit: 210px;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0.8rem;
  z-index: 20;
  width: min(1200px, calc(100% - 1.4rem));
  margin: 0.8rem auto 0;
  transition: transform 0.4s var(--ease), width 0.4s var(--ease);
  animation: nav-float 6s ease-in-out infinite;
}

@keyframes nav-float {
  50% { transform: translateY(-3px); }
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem 0.7rem 0.75rem;
  border: 1px solid rgba(0, 239, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(6, 16, 45, 0.72), rgba(2, 5, 18, 0.55));
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.nav.is-compact {
  top: 0.4rem;
}

.nav.is-compact .nav__inner {
  padding-block: 0.45rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.nav__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(0, 239, 255, 0.4);
  flex: none;
  box-shadow: 0 0 16px rgba(0, 239, 255, 0.25);
  animation: mark-glow 3.2s ease-in-out infinite;
}

@keyframes mark-glow {
  50% { box-shadow: 0 0 26px rgba(0, 239, 255, 0.55); }
}

.nav__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.nav__name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.1;
}

.nav__name small {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--electric-cyan);
  letter-spacing: 0.12em;
  font-size: 0.66rem;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.95rem;
}

.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(242, 250, 255, 0.72);
  padding: 0.3rem 0;
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--electric-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--starlight);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--starlight);
  transition: transform 0.3s var(--ease);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 1.2rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 5, 18, 0.78) 0%, rgba(2, 5, 18, 0.18) 46%, rgba(2, 5, 18, 0.35) 100%),
    radial-gradient(ellipse at 62% 48%, rgba(0, 239, 255, 0.2), transparent 42%),
    radial-gradient(ellipse at 78% 30%, rgba(150, 85, 255, 0.16), transparent 38%),
    radial-gradient(ellipse at 30% 70%, rgba(69, 29, 145, 0.18), transparent 40%);
  opacity: 0.62;
  animation: hero-illuminate 1.4s var(--ease) both, atmosphere-drift 28s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes hero-illuminate {
  from { opacity: 0; filter: saturate(0.6); }
  to { opacity: 0.62; filter: saturate(1); }
}

@keyframes atmosphere-drift {
  from { background-position: 50% 50%, 62% 48%, 78% 30%, 30% 70%; }
  to { background-position: 50% 50%, 58% 52%, 72% 36%, 36% 64%; }
}

.hero__energy {
  position: absolute;
  inset: 8% 10%;
  pointer-events: none;
  background:
    radial-gradient(circle at 68% 48%, rgba(0, 239, 255, 0.16), transparent 28%),
    radial-gradient(circle at 40% 40%, rgba(150, 85, 255, 0.1), transparent 24%);
  animation: energy-breathe 5.5s ease-in-out infinite;
}

@keyframes energy-breathe {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero__orbits {
  position: absolute;
  right: -2%;
  top: 4%;
  pointer-events: none;
  opacity: 0.7;
  animation: orbit-drift 18s ease-in-out infinite alternate;
}

@keyframes orbit-drift {
  from { transform: translate3d(0, 0, 0) rotate(-4deg); }
  to { transform: translate3d(-3%, 4%, 0) rotate(6deg); }
}

.hero__orbits--near {
  right: auto;
  left: -8%;
  top: auto;
  bottom: 6%;
  opacity: 0.4;
  animation-duration: 24s;
  animation-direction: alternate-reverse;
}

.hero__grid {
  width: min(1240px, calc(100% - 2.4rem));
  margin: 0 auto;
  position: relative;
  z-index: 4;
}

.hero__copy {
  position: relative;
  z-index: 4;
  max-width: 38rem;
  padding: 6vh 0 8vh;
}

.hero__copy::before {
  content: "";
  position: absolute;
  inset: -8% 5% -8% -18%;
  background: radial-gradient(ellipse at 20% 50%, rgba(2, 5, 18, 0.72), transparent 72%);
  z-index: -1;
  pointer-events: none;
}

.hero__title {
  margin: 0.2rem 0 1.2rem;
}

.hero__word {
  display: block;
  font-family: var(--font-display);
  line-height: 0.82;
  letter-spacing: 0.06em;
}

.hero__word--super {
  font-size: clamp(4.8rem, 13vw, 10.2rem);
  background: linear-gradient(110deg, #fff 10%, var(--electric-cyan) 35%, #fff 55%, var(--neon-violet) 75%, var(--electric-cyan) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: reveal-in 0.8s var(--ease) forwards, title-shimmer 7s linear infinite;
  filter: drop-shadow(0 0 18px rgba(0, 239, 255, 0.28));
}

.hero__word--quantum {
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  color: var(--starlight);
  animation: reveal-in 0.8s var(--ease) forwards, title-glow 4.8s ease-in-out infinite;
}

.hero__word--inu {
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  color: var(--cape-red);
  animation: reveal-in 0.8s var(--ease) forwards, cape-pulse 3.6s ease-in-out infinite;
}

@keyframes title-shimmer {
  to { background-position: 220% center; }
}

@keyframes title-glow {
  50% { text-shadow: 0 0 24px rgba(0, 239, 255, 0.35); }
}

@keyframes cape-pulse {
  50% { text-shadow: 0 0 22px rgba(241, 38, 88, 0.45); }
}

.hero__lead {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
}

.hero__sub {
  margin-top: 0.25rem;
  color: rgba(242, 250, 255, 0.62);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.6rem 0 1.2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  will-change: transform;
}

.hero__float {
  width: min(1240px, 92vw);
  margin-right: 3vw;
  animation: hero-rise 1.05s var(--ease) both, hero-float 6.5s ease-in-out 1.05s infinite;
}

.hero__figure {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(0, 239, 255, 0.18));
}

.hero__sparks,
.hero__sparks::before,
.hero__sparks::after {
  position: absolute;
  inset: 8% 6%;
  pointer-events: none;
  z-index: 2;
}

.hero__sparks::before,
.hero__sparks::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--electric-cyan);
  box-shadow:
    40px 80px 0 0 rgba(0, 239, 255, 0.8),
    220px 40px 0 1px rgba(242, 250, 255, 0.85),
    420px 180px 0 0 rgba(150, 85, 255, 0.8),
    80px 260px 0 1px rgba(0, 239, 255, 0.7),
    360px 300px 0 0 rgba(255, 217, 119, 0.75),
    140px 140px 0 0 rgba(242, 250, 255, 0.6),
    520px 90px 0 1px rgba(0, 239, 255, 0.65),
    280px 360px 0 0 rgba(241, 38, 88, 0.55);
  animation: spark-flicker 2.4s ease-in-out infinite;
}

.hero__sparks::after {
  animation-delay: 1.1s;
  box-shadow:
    300px 90px 0 0 rgba(241, 38, 88, 0.55),
    60px 200px 0 1px rgba(0, 239, 255, 0.8),
    200px 240px 0 0 rgba(242, 250, 255, 0.7),
    460px 260px 0 0 rgba(150, 85, 255, 0.75),
    600px 180px 0 1px #fff;
}

.hero__bolts {
  position: absolute;
  inset: 18% 12% 20% 28%;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(115deg, transparent 42%, rgba(0, 239, 255, 0.7) 50%, transparent 58%),
    linear-gradient(70deg, transparent 46%, rgba(150, 85, 255, 0.45) 50%, transparent 54%);
  background-size: 180% 180%;
  mix-blend-mode: screen;
  opacity: 0;
  animation: bolt-flash 5.2s ease-in-out infinite;
}

@keyframes bolt-flash {
  0%, 72%, 100% { opacity: 0; background-position: 0 0, 100% 0; }
  76% { opacity: 0.85; }
  80% { opacity: 0.1; }
  84% { opacity: 0.7; background-position: 100% 40%, 0 80%; }
  90% { opacity: 0; }
}

@keyframes spark-flicker {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
  70% { opacity: 0.35; transform: scale(1.15); }
}

.hero__halo,
.showcase__halo,
.finale__halo {
  position: absolute;
  width: min(70%, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(0, 239, 255, 0.28) 22%, rgba(150, 85, 255, 0.12) 48%, transparent 70%);
  animation: halo-breathe 6s ease-in-out infinite;
  pointer-events: none;
  right: 12%;
}

.hero__halo--outer {
  width: min(92%, 980px);
  opacity: 0.45;
  animation-duration: 9s;
  animation-direction: reverse;
}

@keyframes halo-breathe {
  50% { transform: scale(1.12) rotate(8deg); opacity: 0.85; }
}

.showcase__figure,
.finale__figure {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  height: auto;
  object-fit: contain;
  animation: hero-rise 1.1s var(--ease) both, hero-float 6.5s ease-in-out 1.1s infinite;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(56px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hero-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.4deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(0.5deg); }
}

.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242, 250, 255, 0.55);
  z-index: 4;
  animation: scroll-hint 2.2s ease-in-out infinite;
}

.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  margin: 0.4rem auto 0;
  background: linear-gradient(var(--electric-cyan), transparent);
  animation: scroll-dash 1.6s ease-in-out infinite;
}

@keyframes scroll-dash {
  50% { transform: translateY(6px); opacity: 0.4; }
}

@keyframes scroll-hint {
  50% { opacity: 0.55; }
}

/* Awakening */
.awaken {
  background: radial-gradient(ellipse at 50% 30%, rgba(8, 107, 255, 0.12), transparent 50%);
}

.awaken.is-in {
  animation: section-flash 1.2s var(--ease);
}

@keyframes section-flash {
  0% { filter: brightness(0.7); }
  35% { filter: brightness(1.25); }
  100% { filter: brightness(1); }
}

.awaken__stage {
  display: grid;
  place-items: center;
  min-height: 460px;
  margin: 1rem 0 2rem;
}

.atom {
  position: relative;
  width: min(420px, 86vw);
  aspect-ratio: 1;
  perspective: 700px;
  transform-style: preserve-3d;
}

.atom__ring {
  position: absolute;
  inset: 8%;
  border: 1.5px solid rgba(0, 239, 255, 0.7);
  border-radius: 50%;
  opacity: 0.15;
  transform: rotateX(70deg) rotateZ(0deg);
}

.atom.is-live .atom__ring {
  opacity: 1;
  animation: orbit-spin 16s linear infinite;
}

.atom__ring--b {
  inset: 16%;
  border-color: rgba(150, 85, 255, 0.75);
  transform: rotateX(70deg) rotateZ(55deg);
}

.atom.is-live .atom__ring--b { animation-duration: 22s; animation-direction: reverse; }

.atom__ring--c {
  inset: 24%;
  transform: rotateX(70deg) rotateZ(-70deg);
}

.atom.is-live .atom__ring--c { animation-duration: 28s; }

.atom__core {
  position: absolute;
  inset: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(0, 239, 255, 0.35) 42%, rgba(6, 16, 45, 0.3) 70%);
  box-shadow: 0 0 50px rgba(0, 239, 255, 0.35);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.atom__from,
.atom__arrow,
.atom__to {
  opacity: 0.25;
}

.atom.is-live .atom__from,
.atom.is-live .atom__arrow {
  opacity: 1;
  transition: opacity 0.6s ease;
}

.atom.is-live .atom__to {
  opacity: 1;
  color: var(--electric-cyan);
  text-shadow: 0 0 16px rgba(0, 239, 255, 0.6);
  transition: opacity 0.8s ease 0.35s;
}

.atom__from { font-size: 1.8rem; }
.atom__to { font-size: 2.1rem; }

.atom__pulse {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(0, 239, 255, 0.7);
  border-radius: 50%;
  opacity: 0;
}

.atom.is-live .atom__pulse {
  animation: energy-pulse 2.8s var(--ease) infinite;
}

@keyframes energy-pulse {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}

.awaken__copy {
  text-align: center;
  font-size: 1.15rem;
  color: rgba(242, 250, 255, 0.74);
}

/* Equation */
.equation__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rune {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding: 2rem 1.4rem 1.6rem;
  text-align: left;
  border: 1px solid rgba(0, 239, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(6, 16, 45, 0.55), rgba(2, 5, 18, 0.4));
  transition: border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.rune:hover,
.rune:focus-visible,
.rune.is-on {
  transform: translateY(-6px);
  border-color: rgba(0, 239, 255, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.rune__letter {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(6rem, 12vw, 9rem);
  line-height: 0.8;
  letter-spacing: 0.04em;
}

.rune--s .rune__letter {
  background: linear-gradient(180deg, var(--cape-red), var(--electric-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rune--q .rune__letter { color: var(--electric-cyan); }
.rune--i .rune__letter { color: #cfefff; }

.rune__label {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.rune__copy {
  display: block;
  margin-top: 0.45rem;
  color: rgba(242, 250, 255, 0.62);
  font-size: 0.95rem;
}

.rune__flare,
.rune__pulse {
  position: absolute;
  inset: auto auto 20% 10%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

.rune--s .rune__flare {
  background: radial-gradient(circle, rgba(241, 38, 88, 0.7), transparent 70%);
}

.rune--i .rune__pulse {
  background: radial-gradient(circle, rgba(207, 239, 255, 0.8), transparent 70%);
}

.rune.is-on .rune__flare,
.rune:hover .rune__flare,
.rune:focus-visible .rune__flare,
.rune.is-on .rune__pulse,
.rune:hover .rune__pulse,
.rune:focus-visible .rune__pulse {
  animation: flare 0.9s ease;
}

@keyframes flare {
  0% { opacity: 0; transform: scale(0.4); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(3.2); }
}

.rune__orbits {
  position: absolute;
  right: 8%;
  top: 12%;
  width: 110px;
  height: 110px;
  pointer-events: none;
}

.rune__orbits i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 239, 255, 0.55);
  border-radius: 50%;
  transform: rotateX(66deg);
  opacity: 0.25;
}

.rune--q:hover .rune__orbits i,
.rune--q:focus-visible .rune__orbits i,
.rune--q.is-on .rune__orbits i {
  opacity: 1;
  animation: orbit-spin 8s linear infinite;
}

.rune__orbits i:nth-child(2) { inset: 14%; animation-duration: 11s; }
.rune__orbits i:nth-child(3) { inset: 28%; animation-duration: 14s; }

/* Showcase */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  grid-template-areas:
    "tl stage tr"
    "bl stage br";
  gap: 1rem 0.6rem;
  align-items: center;
}

.showcase__stage {
  grid-area: stage;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.showcase__figure {
  width: min(100%, 680px);
  max-width: none;
  animation: hero-float 7s ease-in-out infinite;
}

.callout {
  padding: 1.1rem 1rem;
  border-left: 2px solid var(--electric-cyan);
  animation: callout-breathe 4s ease-in-out infinite;
}

@keyframes callout-breathe {
  50% { border-color: rgba(0, 239, 255, 0.85); }
}

.callout--tr,
.callout--br {
  border-left: 0;
  border-right: 2px solid var(--neon-violet);
  text-align: right;
}

.callout--tl { grid-area: tl; }
.callout--tr { grid-area: tr; }
.callout--bl { grid-area: bl; }
.callout--br { grid-area: br; }

.callout h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.callout p {
  color: rgba(242, 250, 255, 0.62);
  font-size: 0.92rem;
}

/* Origins */
.origins__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.origins__visual {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.origins__atom {
  position: relative;
}

.origins__sweep {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: conic-gradient(from 180deg, transparent, rgba(0, 239, 255, 0.18), transparent 40%);
  animation: sweep 10s linear infinite;
}

@keyframes sweep {
  to { transform: rotate(360deg); }
}

.origins__story p + p {
  margin-top: 1rem;
  color: rgba(242, 250, 255, 0.74);
}

.origins__emphasis {
  color: var(--starlight) !important;
  font-size: 1.15rem;
  font-weight: 600;
}

.origins .note {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 239, 255, 0.15);
}

/* Powers */
.constellation {
  position: relative;
  min-height: 560px;
}

.constellation__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.constellation__lines path {
  fill: none;
  stroke: rgba(0, 239, 255, 0.28);
  stroke-width: 1.2;
  stroke-dasharray: 8 12;
  animation: dash-flow 8s linear infinite;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -80; }
}

.constellation__core {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 239, 255, 0.45);
  background: radial-gradient(circle, rgba(0, 239, 255, 0.25), rgba(2, 5, 18, 0.7));
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  box-shadow: 0 0 30px rgba(0, 239, 255, 0.25);
  animation: core-glow 2.6s ease-in-out infinite;
}

@keyframes core-glow {
  50% { box-shadow: 0 0 48px rgba(0, 239, 255, 0.6); }
}

.power {
  position: absolute;
  width: min(240px, 42vw);
  padding: 0.2rem;
}

.power--1 { top: 4%; left: 4%; }
.power--2 { top: 4%; right: 4%; }
.power--3 { bottom: 6%; left: 6%; }
.power--4 { bottom: 4%; right: 4%; }

.power h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.power p {
  color: rgba(242, 250, 255, 0.62);
  font-size: 0.92rem;
}

.power__index {
  color: var(--electric-cyan);
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  margin-bottom: 0.3rem;
}

.power__glyph {
  width: 54px;
  height: 54px;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  position: relative;
}

.power__glyph--vision {
  box-shadow: inset 0 0 0 2px var(--electric-cyan), inset 0 0 0 10px rgba(2, 5, 18, 0.9), inset 0 0 0 13px var(--electric-cyan);
  animation: glyph-spin 10s linear infinite;
}

@keyframes glyph-spin {
  to { transform: rotate(360deg); }
}

.power__glyph--energy {
  background:
    radial-gradient(circle, var(--solar-gold) 8%, transparent 9%),
    conic-gradient(from 80deg, transparent 0 20%, var(--electric-cyan) 0 21%, transparent 0 55%, var(--neon-violet) 0 56%, transparent 0);
  box-shadow: inset 0 0 0 1px rgba(0, 239, 255, 0.5);
  animation: glyph-spin 8s linear infinite reverse;
}

.power__glyph--presence {
  background: radial-gradient(circle, #fff 6%, transparent 7%),
    repeating-conic-gradient(from 0deg, rgba(241, 38, 88, 0.85) 0 6deg, transparent 6deg 45deg);
  animation: glyph-spin 12s linear infinite;
}

.power__glyph--infinite {
  background:
    radial-gradient(circle at 32% 50%, transparent 18%, var(--electric-cyan) 19% 22%, transparent 23%),
    radial-gradient(circle at 68% 50%, transparent 18%, var(--neon-violet) 19% 22%, transparent 23%);
  animation: infinite-shift 3.2s ease-in-out infinite;
}

@keyframes infinite-shift {
  50% { filter: hue-rotate(40deg) brightness(1.3); }
}

.power:hover,
.power:focus-visible {
  transform: translateY(-4px);
}

.power:focus-visible {
  outline: 1px solid var(--electric-cyan);
  outline-offset: 6px;
}

/* Dimensions */
.dims {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dim {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  padding: 1.6rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.45s var(--ease), border-color 0.35s;
}

.dim--blue {
  background:
    radial-gradient(circle at 50% 30%, rgba(0, 239, 255, 0.35), transparent 36%),
    radial-gradient(circle at 20% 80%, rgba(8, 107, 255, 0.28), transparent 40%),
    linear-gradient(180deg, #06102d, #020512);
}

.dim--violet {
  background:
    radial-gradient(circle at 60% 40%, rgba(150, 85, 255, 0.4), transparent 38%),
    radial-gradient(circle at 30% 80%, rgba(69, 29, 145, 0.5), transparent 42%),
    linear-gradient(180deg, #12061f, #020512);
}

.dim--red {
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 217, 119, 0.28), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(241, 38, 88, 0.38), transparent 46%),
    linear-gradient(180deg, #1a0610, #020512);
}

.dim__world {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dim__orbit,
.dim__wave {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 180px;
  height: 180px;
  margin: -90px 0 0 -90px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: rotateX(66deg);
  animation: orbit-spin 20s linear infinite;
}

.dim__orbit--2 {
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  animation-duration: 13s;
  animation-direction: reverse;
}

.dim__wave {
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
  animation: wave 4.5s ease-out infinite;
}

@keyframes wave {
  from { transform: scale(0.4); opacity: 0.7; }
  to { transform: scale(2.2); opacity: 0; }
}

.dim h3 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  position: relative;
}

.dim__index {
  position: relative;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: rgba(242, 250, 255, 0.7);
}

.dim:hover,
.dim:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(0, 239, 255, 0.45);
}

.dim:hover .dim__orbit,
.dim:focus-visible .dim__orbit {
  animation-duration: 8s;
}

.dim.is-lit {
  transform: translateY(-8px);
  border-color: rgba(0, 239, 255, 0.45);
}

.dim.is-lit .dim__orbit {
  animation-duration: 7s;
}

/* Portal */
.portal {
  padding: 6rem 0 8rem;
}

.portal__field {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 2.4rem;
}

.portal__gate {
  position: relative;
  width: min(520px, 78vw);
  aspect-ratio: 1;
}

.portal__ring,
.portal__rim,
.portal__core,
.portal__arc {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
}

.portal__ring {
  border: 1px solid rgba(0, 239, 255, 0.45);
  transform: rotateX(66deg);
  animation: orbit-spin 20s linear infinite;
}

.portal__ring--a { inset: 6%; }
.portal__ring--b { inset: 14%; border-color: rgba(150, 85, 255, 0.55); animation-duration: 26s; animation-direction: reverse; }
.portal__ring--c { inset: 22%; animation-duration: 16s; }
.portal__ring--d { inset: 30%; animation-duration: 34s; animation-direction: reverse; }

.portal__rim {
  inset: 2%;
  border: 3px solid var(--electric-cyan);
  box-shadow: 0 0 30px rgba(0, 239, 255, 0.45), inset 0 0 40px rgba(0, 239, 255, 0.12);
  animation: rim-pulse 2.8s ease-in-out infinite;
}

@keyframes rim-pulse {
  50% { box-shadow: 0 0 50px rgba(0, 239, 255, 0.8), inset 0 0 55px rgba(0, 239, 255, 0.22); }
}

.portal__core {
  width: 28%;
  height: 28%;
  background:
    radial-gradient(circle, #fff 0%, var(--electric-cyan) 28%, #06102d 62%, #020512 78%);
  box-shadow: 0 0 50px rgba(0, 239, 255, 0.45);
  animation: core-pulse 2.4s ease-in-out infinite;
}

.portal__arc {
  inset: 10%;
  border: 2px solid transparent;
  border-top-color: rgba(150, 85, 255, 0.85);
  border-right-color: rgba(0, 239, 255, 0.4);
  animation: orbit-spin 12s linear infinite;
}

.portal__arc--b {
  inset: 18%;
  animation-direction: reverse;
  border-top-color: rgba(0, 239, 255, 0.7);
}

.portal__title {
  max-width: 16ch;
}

/* Join */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}

.timeline__path {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 28px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric-cyan), transparent);
  overflow: hidden;
}

.timeline__path i {
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px var(--electric-cyan);
  animation: path-run 4.5s linear infinite;
}

@keyframes path-run {
  from { left: 0; }
  to { left: 100%; }
}

.timeline__step {
  position: relative;
  padding-top: 1.2rem;
}

.timeline__node {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 50%;
  border: 1px solid var(--electric-cyan);
  background: rgba(2, 5, 18, 0.85);
  color: var(--electric-cyan);
  font-family: var(--font-head);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.timeline__step h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.timeline__step p {
  color: rgba(242, 250, 255, 0.62);
}

.join__action {
  margin-top: 2.8rem;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

/* Terminal */
.term {
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.6rem 1.4rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 239, 255, 0.28);
  background: linear-gradient(180deg, rgba(4, 10, 28, 0.92), rgba(2, 5, 18, 0.88));
  box-shadow: 0 0 0 1px rgba(0, 239, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.3);
}

.term__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 239, 255, 0.07), transparent);
  background-size: 100% 220%;
  animation: scan 4.5s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  to { background-position: 0 220%; }
}

.term__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid rgba(0, 239, 255, 0.1);
  font-size: 0.92rem;
}

.term__row--ca {
  flex-wrap: wrap;
}

.term__row span {
  color: rgba(242, 250, 255, 0.5);
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.term__ca {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.term__ca code {
  font-family: ui-monospace, Consolas, monospace;
  color: var(--solar-gold);
  overflow-wrap: anywhere;
  word-break: break-all;
}

.term__copy {
  min-height: 36px;
  padding: 0 0.75rem;
  border: 1px solid rgba(0, 239, 255, 0.3);
  border-radius: 8px;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}

.term__copy:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.term__status {
  margin-top: 1rem;
  color: rgba(242, 250, 255, 0.55);
  font-size: 0.88rem;
}

/* Chart */
.chart__frame {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  border: 1px solid rgba(0, 239, 255, 0.24);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 239, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #06102d, #020512);
}

.chart__frame iframe {
  width: 100%;
  height: 520px;
  border: 0;
}

.chart__await {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  gap: 0.8rem;
}

.chart__radar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(0, 239, 255, 0.35);
  background: conic-gradient(from 90deg, transparent, rgba(0, 239, 255, 0.35), transparent 40%);
  animation: orbit-spin 4s linear infinite;
  transform: rotateX(0);
}

/* Signal */
.signal {
  text-align: center;
  overflow: hidden;
}

.signal__wrap {
  position: relative;
  padding-block: 8rem;
}

.signal__rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.signal__rings span {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(0, 239, 255, 0.35);
  border-radius: 50%;
  animation: signal-wave 4.8s ease-out infinite;
}

.signal__rings span:nth-child(2) { animation-delay: 1.2s; }
.signal__rings span:nth-child(3) { animation-delay: 2.4s; }
.signal__rings span:nth-child(4) { animation-delay: 3.6s; }

@keyframes signal-wave {
  from { transform: scale(0.4); opacity: 0.7; }
  to { transform: scale(5.2); opacity: 0; }
}

.signal .lede {
  margin-bottom: 1.8rem;
}

/* Finale */
.finale {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 4rem 0 3rem;
}

.finale__nebula {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(0, 239, 255, 0.16), transparent 40%),
    radial-gradient(ellipse at 70% 30%, rgba(150, 85, 255, 0.16), transparent 42%),
    radial-gradient(ellipse at 50% 80%, rgba(241, 38, 88, 0.1), transparent 40%);
  pointer-events: none;
}

.finale__orbits {
  position: absolute;
  right: -8%;
  bottom: 8%;
  opacity: 0.45;
  pointer-events: none;
}

.finale__grid {
  width: min(1200px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: end;
}

.finale__stage {
  position: relative;
  display: grid;
  place-items: center;
}

.finale__figure {
  width: min(100%, 620px);
  max-width: none;
  animation: hero-float 7.5s ease-in-out infinite;
}

.finale__copy {
  padding-bottom: 3rem;
}

.finale__tag {
  margin: 1rem 0 1.6rem;
  font-size: 1.2rem;
  color: var(--electric-cyan);
}

.finale__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Footer */
.footer {
  padding: 2.4rem 1.2rem 2.8rem;
  border-top: 1px solid rgba(0, 239, 255, 0.12);
}

.footer__inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  align-items: center;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  color: rgba(242, 250, 255, 0.7);
}

.footer__links span {
  overflow-wrap: anywhere;
  word-break: break-all;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--electric-cyan);
}

.footer__disclaimer {
  width: min(var(--max), 100%);
  margin: 1.4rem auto 0;
  color: rgba(242, 250, 255, 0.45);
  font-size: 0.84rem;
}

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal-in 0.8s var(--ease) forwards;
}

.hero__word--super { animation-delay: 0.05s; }
.hero__word--quantum { animation-delay: 0.16s; }
.hero__word--inu { animation-delay: 0.28s; }
.hero__lead { animation-delay: 0.4s; }
.hero__sub { animation-delay: 0.5s; }
.hero__cta { animation-delay: 0.6s; }
.hero__meta { animation-delay: 0.72s; }

.reveal-on {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-on.is-in {
  opacity: 1;
  transform: none;
}

.reveal-on.is-in .display {
  animation: title-in 0.9s var(--ease) both;
}

@keyframes title-in {
  from { opacity: 0; letter-spacing: 0.18em; transform: translateY(18px); }
  to { opacity: 1; letter-spacing: 0.04em; transform: none; }
}

@keyframes reveal-in {
  to { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1220px) {
  .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    padding: 1rem;
    flex-direction: column;
    border-radius: 20px;
    background: rgba(2, 5, 18, 0.94);
    border: 1px solid rgba(0, 239, 255, 0.2);
  }

  .nav.is-open .nav__links {
    display: flex;
  }

  .nav__toggle {
    display: grid;
  }

  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .origins__grid,
  .finale__grid {
    grid-template-columns: 1fr;
  }

  .hero__stage {
    justify-content: center;
  }

  .hero__float {
    width: min(980px, 96vw);
    margin-right: 0;
  }

  .hero__copy {
    max-width: 34rem;
    padding-top: 8vh;
  }

  .showcase {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "stage stage"
      "tl tr"
      "bl br";
  }

  .constellation {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
  }

  .constellation__lines,
  .constellation__core {
    display: none;
  }

  .power {
    position: static;
    width: auto;
  }

  .equation__row,
  .dims,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline__path {
    left: 27px;
    right: auto;
    top: 28px;
    bottom: 28px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--electric-cyan), transparent);
  }

  .timeline__path i {
    left: -3px;
    animation-name: path-run-y;
  }

  @keyframes path-run-y {
    from { top: 0; }
    to { top: 100%; }
  }
}

@media (max-width: 720px) {
  .section-wrap {
    padding: 4.5rem 0;
  }

  .nav {
    width: calc(100% - 0.8rem);
    top: 0.4rem;
    border-radius: 22px;
  }

  .nav__inner {
    border-radius: 22px;
  }

  .nav__name {
    font-size: 0.8rem;
  }

  .hero {
    min-height: 100svh;
    padding-top: 0.4rem;
  }

  .hero__float {
    width: min(860px, 100vw);
    margin-right: 0;
    margin-top: 6vh;
  }

  .hero__copy {
    padding-top: 10vh;
    max-width: 100%;
  }

  .constellation,
  .dims {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .callout--tr,
  .callout--br {
    text-align: left;
    border-right: 0;
    border-left: 2px solid var(--neon-violet);
  }
}

@media (max-width: 520px) {
  .nav__actions .btn {
    display: none;
  }

  .hero__cta,
  .finale__cta {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero__figure,
  .hero__float,
  .showcase__figure,
  .finale__figure {
    opacity: 1;
    transform: none;
  }

  .cursor-glow,
  .sparkle-field,
  .universe-canvas--sparks {
    display: none;
  }
}

@media (hover: none) {
  .cursor-glow {
    display: none;
  }
}

:focus-visible {
  outline: 2px solid var(--electric-cyan);
  outline-offset: 3px;
}
