/* Singularity Inu — cosmic landing. Motion is scroll- and pointer-driven. */
:root {
  --void: #05030c;
  --ink: #f4f0ea;
  --muted: #b9b0c8;
  --gold: #f0c14b;
  --gold-2: #ffd36a;
  --copper: #e08a3c;
  --violet: #8b5cf6;
  --lilac: #e8b4d4;
  --orbit: #f7f4ff;
  --line: rgba(240, 193, 75, 0.35);
  --glass: rgba(8, 6, 16, 0.62);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --cond: Oswald, Impact, "Arial Narrow", sans-serif;
  --sans: Syne, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --nav-h: 4.25rem;
  --chap-h: 3.15rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--void); color: var(--ink); max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.45;
  background: var(--void);
  min-height: 100%;
  overflow-x: clip;
  max-width: 100%;
  cursor: auto;
}
body.is-fine { cursor: none; }
img { max-width: 100%; height: auto; display: block; }
button, a { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { text-decoration: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
code { font-family: var(--mono); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 80;
  background: var(--gold); color: #1a1204; padding: 0.5rem 0.8rem;
}
.skip:focus { top: 0.6rem; }

/* Chrome display type */
.chrome {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.82;
  color: #f3e6c4;
  filter: drop-shadow(0 10px 28px rgba(240, 193, 75, 0.22)) drop-shadow(0 0 36px rgba(139, 92, 246, 0.18));
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .chrome {
    background-image: linear-gradient(175deg, #ffffff 0%, #d8d6ea 10%, #ffffff 26%, #9aa0b8 44%, #fff4d0 58%, #e0b84a 72%, #8a6a20 84%, #f7f3ea 100%);
    background-size: 100% 140%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}
.kicker {
  font-family: var(--cond);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

/* Boot — short, never locks */
.boot {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 45%, #1a0d30 0%, #05030c 62%);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.boot.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-core { text-align: center; }
.boot-core img { width: 148px; height: 148px; margin: 0 auto 1rem; animation: ringIn 0.8s var(--ease) both; }
.boot-kicker { font-family: var(--cond); letter-spacing: 0.28em; font-size: 0.72rem; color: var(--gold); }
.boot-msg { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); margin-top: 0.35rem; }
.boot-skip {
  position: absolute; right: 1.2rem; bottom: 1.2rem;
  font-family: var(--cond); letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.7rem; color: var(--muted); padding: 0.6rem 0.8rem;
}
.boot-skip:hover, .boot-skip:focus-visible { color: var(--gold); }
@keyframes ringIn { from { transform: scale(0.84); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.boot-core::after {
  content: ""; display: block; height: 1px; width: 0; margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: lightbar 0.9s var(--ease) 0.15s forwards;
}
@keyframes lightbar { to { width: 220px; } }

/* Stage */
.bh { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: url("../assets/grain.png") repeat;
  opacity: 0.045; mix-blend-mode: overlay;
}
.cursor {
  position: fixed; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 1px solid rgba(240, 193, 75, 0.85);
  border-radius: 50%; pointer-events: none; z-index: 60;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.2s, height 0.2s, margin 0.2s, background 0.2s;
  mix-blend-mode: plus-lighter;
}
.cursor.on { width: 34px; height: 34px; margin: -17px 0 0 -17px; background: rgba(240, 193, 75, 0.12); }
body:not(.is-fine) .cursor { display: none; }

/* Toasts */
.toasts {
  position: fixed; right: 1rem; bottom: calc(var(--chap-h) + 1rem); z-index: 70;
  display: flex; flex-direction: column; gap: 0.5rem; max-width: min(24rem, calc(100vw - 2rem));
  pointer-events: none;
}
.toast {
  background: #120c1c;
  border: 1px solid var(--gold);
  padding: 0.85rem 1rem; border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
  animation: toastIn 0.4s var(--ease);
  color: var(--ink);
  pointer-events: none;
}
.toast strong { display: block; font-family: var(--cond); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; color: var(--gold); }
.toast p { font-size: 0.86rem; color: var(--muted); margin-top: 0.2rem; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; gap: 1rem;
  padding: 0.7rem 1.1rem;
  background: linear-gradient(to bottom, rgba(5,3,12,0.72), rgba(5,3,12,0));
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav-brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--cond); letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 0.86rem;
}
.nav-brand img { width: 36px; height: 36px; }
.nav-brand b { color: var(--gold); font-weight: 600; }
.nav-links { display: flex; gap: 1.05rem; margin-left: auto; }
.nav-links a {
  font-family: var(--cond); letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.72rem; color: var(--muted);
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.nav-buy { flex: 0 0 auto; }

/* Compact HUD */
.hud {
  position: fixed; top: 4.4rem; right: 1.1rem; z-index: 28;
  display: flex; gap: 1rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em;
  color: var(--muted); text-transform: uppercase;
  pointer-events: none;
}
.hud b { color: var(--gold-2); font-weight: 600; margin-left: 0.35rem; }

/* Bottom chapter indicator */
.ticks-wrap {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: var(--chap-h);
  background: rgba(5, 3, 12, 0.9);
  border-top: 1px solid rgba(240, 193, 75, 0.2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.ticks-wrap::after {
  content: "";
  position: absolute; right: 0; top: 0; bottom: 0; width: 2.6rem;
  background: linear-gradient(90deg, transparent, rgba(5,3,12,0.96));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.ticks-wrap.has-overflow::after { opacity: 1; }
.ticks-wrap.has-overflow.at-end::after { opacity: 0; }
.ticks-wrap.has-overflow::before {
  content: "›";
  position: absolute; right: 0.45rem; top: 50%; transform: translateY(-50%);
  z-index: 2; color: var(--gold); font-size: 1.2rem; line-height: 1;
  pointer-events: none; opacity: 0.9;
  text-shadow: 0 0 8px #05030c;
}
.ticks-wrap.has-overflow.at-end::before { opacity: 0; }
.ticks {
  display: flex; align-items: stretch; justify-content: center; gap: 0;
  height: 100%;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
}
.ticks::-webkit-scrollbar { display: none; }
.tick {
  flex: 1 1 0; min-width: 4.2rem; max-width: 9rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.1rem; color: var(--muted); text-decoration: none;
  font-family: var(--cond); letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.58rem; border-top: 2px solid transparent; margin-top: -1px;
}
.tick em { font-style: normal; font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.08em; color: #6e6780; }
.tick.is-on { color: var(--ink); border-top-color: var(--gold); }
.tick.is-on em { color: var(--gold); }

/* Prime mascot — JS places it */
.inu-prime {
  position: fixed; left: 0; top: 0; z-index: 5;
  width: min(40vw, 440px); pointer-events: none;
  will-change: transform, opacity;
  transform: translate3d(70vw, 48vh, 0) scale(1);
  transform-origin: center center;
}
.inu-prime img { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.55)); }
.inu-ghost-ring, .inu-halo {
  position: absolute; inset: 6%; border-radius: 50%;
  pointer-events: none;
}
.inu-ghost-ring {
  inset: -2%;
  border: 1px solid rgba(247, 244, 255, 0.28);
  animation: orbitSpin 22s linear infinite;
  mask-image: linear-gradient(90deg, transparent 42%, #000 50%, transparent 58%);
  -webkit-mask-image: linear-gradient(90deg, transparent 42%, #000 50%, transparent 58%);
}
.inu-halo {
  inset: 8%;
  background: radial-gradient(circle, rgba(240,193,75,0.16) 0%, transparent 68%);
  filter: blur(8px);
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.65rem 1.15rem;
  border-radius: 999px; font-family: var(--cond);
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem;
  font-weight: 600; transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s;
  will-change: transform;
  pointer-events: auto;
  cursor: pointer;
}
.btn[aria-disabled="true"] {
  opacity: 0.92;
  cursor: pointer;
  pointer-events: auto;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--copper));
  color: #1a1204;
  box-shadow: 0 8px 28px rgba(240, 193, 75, 0.28);
}
.btn-gold:hover, .btn-gold:focus-visible { box-shadow: 0 10px 36px rgba(240, 193, 75, 0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(247, 244, 255, 0.2);
  color: var(--ink);
}
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--gold); color: var(--gold-2); }

/* Hero — left copy ~50%, artwork/hole staged right */
.hero {
  position: relative; z-index: 3;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 1.2rem) 6vw calc(var(--chap-h) + 1.6rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "copy stage"
    "descend descend";
  column-gap: 2vw;
  align-items: end;
}
.hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 6;
  max-width: none;
  width: 100%;
  min-width: 0;
  container-type: inline-size;
  container-name: herocopy;
  padding-bottom: 0.4rem;
}
.hero h1 {
  font-size: clamp(56px, 6.2vw, 92px);
  max-width: none;
  width: 100%;
  overflow: visible;
  line-height: 0.84;
  letter-spacing: -0.045em;
}
@supports (font-size: 1cqi) {
  .hero h1 { font-size: clamp(56px, 14.2cqi, 92px); }
}
.lede {
  margin-top: 1.1rem;
  max-width: 22rem;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  color: var(--ink);
  font-weight: 600;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.45rem; }
.hero-note {
  margin-top: 0.9rem;
  max-width: 34rem;
  font-size: 0.84rem;
  color: #cfc6dd;
}
.hero-stage { grid-area: stage; min-height: 12rem; position: relative; z-index: 1; }
.descend {
  grid-area: descend;
  position: static;
  margin-top: 1.15rem;
  font-family: var(--cond); letter-spacing: 0.2em; text-transform: uppercase;
  font-size: 0.7rem; color: var(--muted);
  justify-self: start;
}
.descend:hover, .descend:focus-visible { color: var(--gold); }

/* Approach — sticky scroll story */
.approach {
  position: relative; z-index: 3;
  height: 340vh;
}
.approach-sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100dvh;
  display: flex; align-items: flex-start;
  padding: calc(var(--nav-h) + 1.5rem) 6vw 0;
  pointer-events: none;
}
.era-stage {
  max-width: min(40rem, 52vw);
  pointer-events: none;
  padding: 1rem 1.25rem 1.25rem 1rem;
  border-radius: 0 1.1rem 1.1rem 0;
  background: linear-gradient(90deg, rgba(5,3,12,0.82), rgba(5,3,12,0.42) 70%, rgba(5,3,12,0.08));
}
.era-index {
  font-family: var(--mono); letter-spacing: 0.18em;
  font-size: 0.7rem; color: var(--gold); margin-bottom: 1rem;
}
.era-words { position: relative; min-height: 8.5rem; }
.era {
  position: absolute; inset: 0 auto auto 0; width: 100%;
  font-family: var(--display); font-style: italic; font-weight: 700;
  font-size: clamp(2rem, 5.6vw, 3.6rem); line-height: 1.08;
  color: var(--ink); opacity: 0; visibility: hidden;
}
.era.on { opacity: 1; visibility: visible; }
.era span {
  display: inline; margin-right: 0.18em;
  opacity: 0.16; transform: translateY(0.25em);
  filter: blur(6px);
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease), color 0.35s;
}
.era span.is-on { opacity: 1; filter: blur(0); color: var(--ink); }
.climax {
  margin-top: 11rem;
  max-width: 34rem;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid rgba(240,193,75,0.35);
  border-radius: 1rem;
  background: rgba(8,5,16,0.88);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}
.climax.is-on { opacity: 1; transform: none; visibility: visible; }
.climax-title {
  font-size: clamp(36px, 5vw, 64px);
  margin: 0.15rem 0 0.45rem;
}
.climax-tag { color: #efe8f8; font-size: 1.05rem; max-width: 28rem; }

/* Transmission banner */
.transmission {
  position: relative; z-index: 4;
  padding: 8vh 0 calc(8vh + var(--chap-h));
}
.tx-frame {
  position: relative; width: 100%; overflow: hidden;
  aspect-ratio: 3 / 1; background: #05030c;
  clip-path: inset(12% 8% 12% 8%);
  will-change: clip-path, transform;
}
.tx-frame.is-open { clip-path: inset(0 0 0 0); }
.tx-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transform-origin: 50% 50%; will-change: transform; }
.tx-scan {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(240,193,75,0.18) 50%, transparent 65%);
  background-size: 220% 100%;
  mix-blend-mode: screen; pointer-events: none;
  opacity: 0;
}
.tx-frame.is-open .tx-scan { animation: scan 1.1s var(--ease) 0.15s both; }
@keyframes scan { from { opacity: 0; background-position: 0% 0; } 40% { opacity: 1; } to { opacity: 0; background-position: 100% 0; } }

/* Mask / holo */
.mask {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(220px, 32vw);
  gap: 4vw; align-items: center;
  padding: 14vh 6vw calc(12vh + var(--chap-h));
}
.mask-copy { max-width: min(38rem, 100%); min-width: 0; container-type: inline-size; }
.mask h2 { font-size: clamp(48px, 6.4vw, 110px); margin-bottom: 1.2rem; max-width: none; }
@supports (font-size: 1cqi) {
  .mask h2 { font-size: clamp(48px, 16cqi, 110px); }
}
.mask-copy p:last-child { color: #e8e2f4; max-width: 36rem; font-size: 1.08rem; }
.holo {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(20,10,40,0.5));
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 1.4rem;
  padding: 1.6rem 1.4rem 1.1rem;
  transform-style: preserve-3d;
  perspective: 800px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(240,193,75,0.12) inset;
  overflow: hidden;
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 40%;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  will-change: transform;
}
.holo img { width: 100%; position: relative; z-index: 1; }
.holo footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 0.6rem; font-family: var(--cond); letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 0.7rem; position: relative; z-index: 1;
}
.holo footer b { color: var(--gold); }
.holo-sheen {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,0.32), transparent 42%);
  mix-blend-mode: screen;
}
.holo::before {
  content: ""; position: absolute; inset: -40%;
  background: conic-gradient(from 180deg, transparent 0 40%, rgba(240,193,75,0.28), rgba(139,92,246,0.2), transparent 70%);
  animation: holoSpin 10s linear infinite;
  opacity: 0.55;
}
@keyframes holoSpin { to { transform: rotate(360deg); } }

/* Orbit eras */
.orbit {
  position: relative; z-index: 4;
  padding: 10vh 6vw calc(12vh + var(--chap-h));
  text-align: center;
}
.orbit h2 { font-size: clamp(48px, 6.5vw, 110px); margin: 0.2rem 0 0.7rem; }
.orbit-lead {
  margin: 0 auto 2rem;
  max-width: 34rem;
  color: #e8e2f4;
  font-size: 1.05rem;
}
.orbit-stage {
  position: relative; height: min(62vw, 460px);
  perspective: 1200px; margin: 0 auto; max-width: 980px;
  touch-action: pan-y;
}
.orbit-ring {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(var(--rot, 0deg));
  transition: transform 0.55s var(--ease);
}
.orbit-ring.is-drag { transition: none; }
.epoch {
  position: absolute; top: 50%; left: 50%;
  width: min(58%, 280px);
  margin: 0; padding: 0.85rem 0.7rem 1rem;
  transform: translate(-50%, -50%) rotateY(var(--az, 0deg)) translateZ(var(--rad, 260px));
  transform-origin: center center;
  opacity: 0.4; filter: brightness(0.75);
  transition: opacity 0.4s, filter 0.4s;
  background: radial-gradient(circle at 50% 35%, rgba(10,7,20,0.92), rgba(8,5,16,0.72) 70%, rgba(8,5,16,0.2));
  border-radius: 1.1rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.epoch.is-front { opacity: 1; filter: none; z-index: 2; border-color: rgba(240,193,75,0.35); }
.epoch-inu { margin: 0 auto 0.7rem; width: 78%; position: relative; }
.epoch-inu img { width: 100%; }
.epoch h3 {
  font-family: var(--cond); letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.95rem; margin-bottom: 0.3rem;
}
.epoch p { color: #e4dcf2; font-size: 0.92rem; }
.ep-raw img { filter: none; }
.ep-acc img { filter: drop-shadow(0 0 16px rgba(139,92,246,0.7)) saturate(1.15); }
.ep-event {
  border-radius: 50%;
}
.ep-event img {
  clip-path: circle(42% at 50% 50%);
  filter: drop-shadow(0 0 18px rgba(240,193,75,0.65));
}
.ep-sing img {
  filter: drop-shadow(0 0 22px rgba(240,193,75,0.8)) drop-shadow(0 0 40px rgba(139,92,246,0.5)) contrast(1.05);
}
.orbit-dots { display: flex; justify-content: center; gap: 0.55rem; margin-top: 1.4rem; }
.orbit-dots button {
  width: 10px; height: 10px; border-radius: 50%; padding: 0; min-height: 0;
  background: rgba(255,255,255,0.2); border: 0;
}
.orbit-dots button[aria-selected="true"] { background: var(--gold); transform: scale(1.2); }

/* Ritual / how to buy */
.ritual, .signal, .foot, .mask, .orbit {
  isolation: isolate;
}
.ritual::before, .signal::before, .foot::before, .mask::before, .orbit::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,3,12,0.28) 0%, rgba(5,3,12,0.82) 16%, rgba(7,5,16,0.9) 55%, rgba(5,3,12,0.86) 100%);
}
.ritual {
  position: relative; z-index: 4;
  padding: 12vh 6vw calc(12vh + var(--chap-h));
  display: grid; grid-template-columns: auto 1fr;
  grid-template-areas: "kicker kicker" "title title" "path list";
  column-gap: 2rem;
}
.ritual .kicker { grid-area: kicker; }
.ritual h2 { grid-area: title; font-size: clamp(48px, 8vw, 140px); margin: 0 0 2.4rem; max-width: 10ch; }
.ritual-path { grid-area: path; width: 48px; height: 100%; min-height: 520px; }
.stations { grid-area: list; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.3rem; }
.station {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 1.1rem;
  background: rgba(10, 7, 20, 0.86);
  transform: translate3d(24px, 16px, 0) rotateY(-6deg);
  opacity: 0.25;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease), border-color 0.3s;
}
.station.is-in { transform: none; opacity: 1; }
.station:hover, .station:focus-within { border-color: var(--line); }
.st-num { font-family: var(--mono); color: var(--gold); font-size: 0.8rem; letter-spacing: 0.12em; padding-top: 0.2rem; }
.station h3 { font-family: var(--cond); letter-spacing: 0.08em; text-transform: uppercase; font-size: 1.15rem; margin-bottom: 0.3rem; }
.station p { color: #e6dff2; max-width: 42rem; }

/* Signal / chart waiting */
.signal {
  position: relative; z-index: 4;
  padding: 10vh 6vw calc(12vh + var(--chap-h));
}
.signal h2 { font-size: clamp(48px, 8vw, 140px); margin: 0 0 2rem; }
.lock-panel {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center;
  padding: 1.6rem; border-radius: 1.4rem;
  border: 1px solid rgba(240,193,75,0.28);
  background: radial-gradient(circle at 20% 50%, rgba(139,92,246,0.22), rgba(8,6,16,0.9) 55%);
  min-height: 200px;
}
.lock-panel.is-live { display: block; padding: 0; background: #0b0714; }
.lock-panel.is-live iframe { width: 100%; height: min(62vh, 520px); border: 0; border-radius: 1.4rem; display: block; }
.radar {
  position: relative; width: 140px; height: 140px; flex: none;
}
.radar img { position: absolute; inset: 28%; width: auto; }
.radar-ring {
  position: absolute; inset: 0; border: 1px solid rgba(240,193,75,0.25); border-radius: 50%;
}
.radar-ring.r2 { inset: 16%; }
.radar-ring.r3 { inset: 32%; }
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(240,193,75,0.35) 88%, transparent 100%);
  animation: sweep 3.2s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.lock-copy { color: #e6dff2; max-width: 36rem; font-size: 0.98rem; }
.dock { margin-top: 1.6rem; display: grid; gap: 1rem; }
.ca-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1rem;
  padding: 0.85rem 1rem; border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10, 7, 20, 0.86);
}
.ca-label { font-family: var(--cond); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.68rem; color: var(--muted); width: 100%; }
#caValue { font-size: 0.92rem; color: var(--ink); word-break: break-all; flex: 1 1 12rem; }
.dock-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Footer */
.foot {
  position: relative; z-index: 4;
  padding: 3rem 6vw calc(2.2rem + var(--chap-h));
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #ddd6ea; font-size: 0.88rem;
}
.foot-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; color: var(--ink); }
.foot-brand img { width: 48px; height: 48px; }
.foot-brand strong { display: block; font-family: var(--cond); letter-spacing: 0.08em; text-transform: uppercase; }
.foot-platform { margin-bottom: 0.8rem; max-width: 62ch; }
.foot-platform a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.disclaimer { max-width: 70rem; font-size: 0.84rem; color: #d2cadf; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .era span, .station, .boot-core img { filter: none; opacity: 1; transform: none; visibility: visible; }
  .era { position: relative; opacity: 1; visibility: visible; margin-bottom: 0.8rem; }
  .climax { opacity: 1; visibility: visible; transform: none; }
  .inu-ghost-ring, .radar-sweep, .holo::before { animation: none; }
  .cursor { display: none !important; }
  .tx-frame { clip-path: none; }
}

/* Responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .mask { grid-template-columns: 1fr; padding-top: 8vh; }
  .mask-copy { max-width: none; }
  .holo { max-width: 280px; }
  .hud { display: none; }
  .ritual { grid-template-columns: 1fr; grid-template-areas: "kicker" "title" "list"; }
  .ritual-path { display: none; }
  .lock-panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .orbit-stage { height: 420px; }
  .era-stage { max-width: 100%; }
}
@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "stage" "descend";
    align-items: start;
    min-height: auto;
    padding-top: calc(var(--nav-h) + 1.1rem);
    padding-bottom: calc(var(--chap-h) + 1.1rem);
    row-gap: 0.4rem;
  }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(52px, 14vw, 80px); }
  .hero-stage { min-height: min(42vw, 200px); }
  .inu-prime { width: min(58vw, 250px); z-index: 4; }
  .ticks { justify-content: flex-start; }
  .tick { min-width: 4.4rem; font-size: 0.52rem; letter-spacing: 0.08em; }
  .era-stage { margin-top: 0; }
  .climax { margin-top: 8rem; }
  .approach-sticky { align-items: flex-start; }
}
@media (max-width: 430px) {
  .tick { min-width: 3.35rem; flex: 1 0 auto; padding: 0 0.15rem; }
}
@media (max-width: 390px) {
  .hero, .mask, .orbit, .ritual, .signal, .foot, .approach-sticky { padding-left: 1rem; padding-right: 1rem; }
  .nav { padding-left: 0.7rem; padding-right: 0.7rem; gap: 0.5rem; }
  .nav-brand span { display: none; }
  .hero h1 { font-size: 52px; }
  .cta-row .btn { flex: 1 1 auto; }
  .toasts { left: 0.6rem; right: 0.6rem; max-width: none; }
  .hero-stage { min-height: 170px; }
}
