@font-face {
  font-family: "Anton";
  src: url("assets/fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/space-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("assets/fonts/space-mono-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #09050f;
  --ink-2: #110a1a;
  --ink-3: #180e23;
  --cream: #fff1dc;
  --cream-2: #f7e5ca;
  --pink: #ff5c9e;
  --pink-hot: #ff2e7e;
  --pink-soft: #ffb0cc;
  --gold: #f5c86d;
  --gold-deep: #ba7d26;
  --mint: #a8f0c6;
  --red: #e6384d;
  --muted: rgba(255, 241, 220, .58);
  --line: rgba(255, 241, 220, .13);
  --sans: "Space Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --mono: "Space Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --pad: clamp(22px, 6vw, 100px);
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scrollbar-color: var(--pink) var(--ink);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--cream);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

body.is-locked, body.modal-open { overflow: hidden; }

::selection { background: var(--pink); color: var(--ink); }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button, a { touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
i, em, b, strong { font-style: normal; }
.nowrap { white-space: nowrap; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: 14px;
  z-index: 5000;
  padding: 10px 18px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 4px;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- ambient ---------- */
.bg-canvas,
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.bg-canvas { z-index: 0; opacity: .8; }
.confetti-canvas { z-index: 1650; }

.burst-symbol {
  position: fixed;
  z-index: 1640;
  pointer-events: none;
  line-height: 1;
  text-shadow: 0 0 12px currentColor;
  will-change: transform, opacity;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ambient-blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .2;
  animation: drift 20s ease-in-out infinite alternate;
}
.ambient-blob.b1 {
  width: 52vw;
  height: 52vw;
  left: -18vw;
  top: -14vw;
  background: #b5246c;
}
.ambient-blob.b2 {
  width: 40vw;
  height: 40vw;
  right: -12vw;
  top: 24vh;
  background: #6f3cff;
  opacity: .13;
  animation-delay: -7s;
}
.ambient-blob.b3 {
  width: 46vw;
  height: 46vw;
  left: 28vw;
  bottom: -28vw;
  background: #ff6f91;
  opacity: .1;
  animation-delay: -13s;
}
@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(.95); }
  to { transform: translate3d(4%, 3%, 0) scale(1.1); }
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  opacity: .16;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(0, 0, 0, .55) 4px);
  mix-blend-mode: multiply;
}
.grain {
  position: fixed;
  inset: -50%;
  z-index: 121;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  animation: grain .22s steps(2) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(2%, 2%); }
  100% { transform: translate(-1%, -1%); }
}

/* ---------- cursor ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2500;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cream);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 241, 220, .8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease), background .25s, border-color .25s;
}
.cursor-ring i {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--pink);
  transform: translate(-50%, -50%);
}
body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring { opacity: 1; }
body.has-cursor .cursor-ring.is-hover {
  width: 62px;
  height: 62px;
  border-color: var(--pink);
  background: rgba(255, 92, 158, .12);
}
@media (pointer: fine) {
  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button { cursor: none; }
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- intro ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(255, 46, 126, .16), transparent 46%),
    linear-gradient(135deg, #07030b, #100818 55%, #07030b);
  transition: opacity .8s var(--ease), visibility .8s;
}
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 241, 220, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 241, 220, .04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 50%, #000 15%, transparent 74%);
}
.intro::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 241, 220, .12);
  pointer-events: none;
}
.intro.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-inner {
  position: relative;
  width: min(660px, 100%);
  text-align: center;
}
.intro-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  box-shadow: 0 0 22px var(--pink);
  animation: intro-scan 1.65s linear infinite;
}
@keyframes intro-scan {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(400px); opacity: 0; }
}
.intro-top {
  margin-bottom: 22px;
  color: var(--pink);
  font: 700 10px/1.4 var(--mono);
  letter-spacing: .28em;
}
.intro-stamp {
  display: inline-grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin-bottom: 26px;
  border: 3px double var(--pink);
  border-radius: 50%;
  color: var(--pink);
  font: 400 20px/.84 var(--display);
  letter-spacing: .06em;
  transform: rotate(-9deg);
  box-shadow: inset 0 0 0 5px var(--ink), 0 0 40px rgba(255, 46, 126, .2);
}
.intro-file {
  color: var(--cream);
  font: 700 12px/1.4 var(--mono);
  letter-spacing: .2em;
}
.intro-file b { color: var(--gold); font-size: 16px; }
.intro h2 {
  margin: 18px auto 32px;
  max-width: 560px;
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.04em;
}
.intro-progress {
  width: min(420px, 90%);
  height: 2px;
  margin: 0 auto 12px;
  background: rgba(255, 241, 220, .12);
  overflow: hidden;
}
.intro-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--pink-hot), var(--gold));
  box-shadow: 0 0 18px var(--pink);
}
.intro-bottom {
  display: flex;
  justify-content: space-between;
  width: min(420px, 90%);
  margin: auto;
  color: var(--muted);
  font: 400 9px/1.4 var(--mono);
  letter-spacing: .2em;
}
.intro-skip {
  margin-top: 26px;
  padding: 7px 14px;
  border: 0;
  color: rgba(255, 241, 220, .44);
  background: transparent;
  font: 400 9px/1 var(--mono);
  letter-spacing: .14em;
  cursor: pointer;
  transition: color .2s;
}
.intro-skip:hover { color: var(--cream); }

/* ---------- progress ---------- */
.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 1300;
  height: 2px;
  background: transparent;
}
.scroll-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--pink-hot), var(--gold), var(--mint));
  box-shadow: 0 0 12px rgba(255, 92, 158, .7);
}

/* ---------- HUD ---------- */
.hud {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px clamp(18px, 3.2vw, 52px);
  background: linear-gradient(to bottom, rgba(9, 5, 15, .9), rgba(9, 5, 15, 0));
  transition: background .35s, border-color .35s, backdrop-filter .35s, padding .35s;
  border-bottom: 1px solid transparent;
}
.hud.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(9, 5, 15, .78);
  border-bottom-color: rgba(255, 241, 220, .1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-mark {
  width: 33px;
  color: var(--pink);
}
.brand-mark svg { width: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b {
  font: 400 19px/1 var(--display);
  letter-spacing: .06em;
}
.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font: 400 7px/1 var(--mono);
  letter-spacing: .2em;
}
.hud-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 241, 220, .48);
  font: 400 8px/1 var(--mono);
  letter-spacing: .16em;
}
.hud-status i {
  width: 36px;
  height: 1px;
  background: rgba(255, 241, 220, .18);
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 9px var(--mint);
  animation: blink 2.2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
.hud-clock { color: rgba(255, 241, 220, .72); }
.hud-actions { display: flex; align-items: center; gap: 10px; }

.peanut-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px 0 8px;
  border: 1px solid rgba(255, 241, 220, .14);
  border-radius: 99px;
  color: var(--gold);
  background: rgba(255, 241, 220, .04);
  font: 400 8px/1 var(--mono);
  letter-spacing: .1em;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.peanut-counter:hover { border-color: var(--gold); background: rgba(245, 200, 109, .08); transform: translateY(-1px); }
.peanut-counter svg { width: 18px; height: 18px; }
.peanut-counter b { color: var(--cream); font-weight: 700; }
.peanut-counter b i { color: var(--pink); }
.peanut-counter.complete { border-color: var(--gold); background: rgba(245, 200, 109, .13); }

.sound-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 241, 220, .14);
  border-radius: 99px;
  background: rgba(255, 241, 220, .04);
  color: var(--muted);
  font: 400 8px/1 var(--mono);
  letter-spacing: .1em;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.sound-toggle:hover { border-color: var(--pink); color: var(--cream); }
.sound-bars { display: flex; align-items: center; gap: 2px; height: 13px; }
.sound-bars i {
  display: block;
  width: 2px;
  height: 4px;
  background: currentColor;
  transition: height .25s;
}
.sound-toggle[aria-pressed="true"] { color: var(--mint); border-color: rgba(168, 240, 198, .35); }
.sound-toggle[aria-pressed="true"] .sound-bars i { animation: soundbar .55s ease-in-out infinite alternate; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: -.22s; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: -.41s; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(4) { animation-delay: -.12s; }
@keyframes soundbar {
  from { height: 4px; }
  to { height: 13px; }
}

/* ---------- side rail ---------- */
.rail {
  position: fixed;
  right: 24px;
  top: 50%;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-50%);
  mix-blend-mode: difference;
}
.rail a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: rgba(255, 241, 220, .38);
  font: 400 8px/1 var(--mono);
  letter-spacing: .1em;
  transition: color .25s;
}
.rail a::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width .25s;
}
.rail a::after {
  content: attr(data-label);
  position: absolute;
  right: 34px;
  top: 50%;
  opacity: 0;
  transform: translate(6px, -50%);
  white-space: nowrap;
  color: var(--cream);
  font: 400 9px/1 var(--mono);
  transition: opacity .2s, transform .2s;
}
.rail a:hover::after { opacity: 1; transform: translate(0, -50%); }
.rail a.active { color: var(--pink); }
.rail a.active::before { width: 30px; }
.rail a span { width: 18px; text-align: right; }

/* ---------- layout ---------- */
main { position: relative; z-index: 2; }
.section {
  position: relative;
  padding: clamp(92px, 11vw, 170px) var(--pad);
}
.section-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 420px);
  gap: 18px 60px;
  align-items: end;
  max-width: 1480px;
  margin: 0 auto clamp(48px, 6vw, 86px);
}
.section-head .section-kicker { grid-column: 1 / -1; }
.section-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--pink);
  font: 400 9px/1 var(--mono);
  letter-spacing: .22em;
}
.section-index {
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(255, 92, 158, .45);
  color: var(--cream);
  font-size: 9px;
  letter-spacing: 0;
}
.section-head h2 {
  font-size: clamp(38px, 4.8vw, 76px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.section-head h2 .slash {
  margin: 0 .14em;
  color: var(--pink);
  font-weight: 400;
}
.section-note {
  max-width: 420px;
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: .02em;
  text-wrap: pretty;
}
.section-head.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  text-align: center;
}
.section-head.center .section-kicker { justify-content: center; }
.section-head.center .section-note { max-width: 560px; padding: 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s, background .28s, color .28s, border-color .28s;
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  color: #190813;
  background: linear-gradient(112deg, var(--pink-soft), var(--pink) 42%, var(--pink-hot));
  box-shadow: 0 10px 34px rgba(255, 46, 126, .24), inset 0 1px 0 rgba(255, 255, 255, .38);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 48%, transparent 66%);
  transform: translateX(-110%);
  transition: transform .55s var(--ease);
}
.btn-primary:hover::before { transform: translateX(110%); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 46px rgba(255, 46, 126, .36), inset 0 1px 0 rgba(255, 255, 255, .38);
}
.btn-ghost {
  color: var(--cream);
  background: rgba(255, 241, 220, .03);
  border-color: rgba(255, 241, 220, .2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(255, 241, 220, .08);
  transform: translateY(-2px);
}
.btn-gold {
  color: #2a1607;
  background: linear-gradient(110deg, #fff0bc, var(--gold) 45%, #e1a13a);
  box-shadow: 0 12px 34px rgba(245, 200, 109, .17), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(245, 200, 109, .28); }
.btn-gold svg { fill: currentColor; stroke: none; }
.btn-wide { width: 100%; }
.btn-orbit {
  position: absolute;
  width: 8px;
  height: 8px;
  right: 17px;
  top: 50%;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 9px var(--pink);
  opacity: 0;
  transition: opacity .2s;
}
.btn-ghost:hover .btn-orbit { opacity: 1; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(116px, 12vh, 160px) var(--pad) 96px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .4;
  background-image:
    linear-gradient(rgba(255, 241, 220, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 241, 220, .045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}
.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 68% 45%, transparent 0 20%, var(--ink) 74%);
}
.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 72%) var(--my, 46%), rgba(255, 92, 158, .1), transparent 65%);
  transition: background .15s linear;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(to top, var(--ink), transparent);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 900px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 241, 220, .47);
  font: 400 9px/1.4 var(--mono);
  letter-spacing: .16em;
}
.eyebrow .tag {
  padding: 5px 8px;
  border: 1px solid rgba(255, 92, 158, .5);
  color: var(--pink);
  letter-spacing: .14em;
}
.eyebrow-line { width: 34px; height: 1px; background: rgba(255, 241, 220, .25); }

.hero-title {
  position: relative;
  margin: 26px 0 18px;
  font-family: var(--display);
  font-weight: 400;
  line-height: .77;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.title-line {
  position: relative;
  display: block;
  width: fit-content;
  font-size: clamp(73px, 9.1vw, 152px);
  color: var(--cream);
}
.title-line.line-two {
  margin-left: clamp(20px, 4.8vw, 76px);
  color: transparent;
  background: linear-gradient(100deg, #ffd9b6 0%, #ff9bbc 34%, var(--pink) 59%, #c560ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 8px 30px rgba(255, 46, 126, .16));
}
.title-line::before,
.title-line::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  clip-path: inset(20% 0 55% 0);
}
.title-line::before { color: var(--mint); transform: translateX(-3px); }
.title-line::after { color: var(--pink-hot); transform: translateX(3px); }
.title-line:hover::before { opacity: .65; animation: glitch-a .45s steps(2) infinite; }
.title-line:hover::after { opacity: .65; animation: glitch-b .45s steps(2) infinite; }
@keyframes glitch-a {
  0%, 100% { clip-path: inset(12% 0 66% 0); transform: translate(-3px, 1px); }
  50% { clip-path: inset(64% 0 18% 0); transform: translate(2px, -1px); }
}
@keyframes glitch-b {
  0%, 100% { clip-path: inset(52% 0 28% 0); transform: translate(3px, -1px); }
  50% { clip-path: inset(24% 0 58% 0); transform: translate(-2px, 1px); }
}

.name-line {
  display: flex;
  align-items: flex-end;
  gap: clamp(16px, 2.4vw, 34px);
  margin: 6px 0 24px;
}
.name-line h2 {
  font-size: clamp(64px, 7vw, 112px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.1em;
}
.name-line h2 span {
  display: inline-block;
  margin-left: .24em;
  color: var(--pink);
  font-size: .31em;
  letter-spacing: .08em;
  vertical-align: .55em;
}
.age-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 135px;
  padding: 8px 15px 9px;
  border: 1px solid rgba(255, 241, 220, .28);
  border-radius: 5px;
  background: rgba(255, 241, 220, .045);
  transform: rotate(2.5deg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.age-chip b {
  font: 400 42px/.8 var(--display);
  color: var(--cream);
}
.age-chip small {
  color: var(--pink);
  font: 400 7px/1.35 var(--mono);
  letter-spacing: .14em;
}
.hero-desc {
  max-width: 590px;
  color: rgba(255, 241, 220, .65);
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 2;
}
.hero-desc strong { color: var(--cream); font-weight: 700; }
.waku-text { color: var(--mint); font-weight: 700; letter-spacing: .04em; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}
.hero-meta {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(34px, 5vh, 60px);
  padding-top: 17px;
  border-top: 1px solid rgba(255, 241, 220, .12);
  max-width: 620px;
}
.hero-meta div { display: flex; flex-direction: column; gap: 3px; }
.hero-meta span {
  color: rgba(255, 241, 220, .35);
  font: 400 7px/1.3 var(--mono);
  letter-spacing: .16em;
}
.hero-meta b { color: rgba(255, 241, 220, .8); font-size: 10px; font-weight: 500; letter-spacing: .04em; }
.hero-meta b.green { color: var(--mint); }

.hero-visual {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 570px;
  margin-left: auto;
  min-height: min(660px, 68vh);
  display: grid;
  place-items: center;
}
.big-age {
  position: absolute;
  right: -7%;
  bottom: 0;
  z-index: 0;
  color: transparent;
  font: 400 clamp(210px, 23vw, 360px)/.72 var(--display);
  letter-spacing: -.06em;
  -webkit-text-stroke: 1px rgba(255, 241, 220, .11);
  transform: translate3d(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -9px), 0);
  user-select: none;
}
.portrait-frame {
  position: relative;
  z-index: 2;
  width: min(82%, 465px);
  aspect-ratio: .8;
  border: 1px solid rgba(255, 241, 220, .2);
  border-radius: 5px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 92, 158, .19), transparent 58%),
    linear-gradient(155deg, rgba(255, 241, 220, .06), rgba(255, 255, 255, 0) 42%),
    #130b1b;
  overflow: hidden;
  box-shadow: 0 44px 120px rgba(0, 0, 0, .55), 0 0 70px rgba(255, 46, 126, .08);
  transform: translate3d(calc(var(--px, 0) * 12px), calc(var(--py, 0) * 10px), 0) rotate(calc(var(--px, 0) * 1.2deg));
  transition: transform .15s linear;
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(9, 5, 15, .3), transparent 22%, transparent 70%, rgba(9, 5, 15, .86));
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 241, 220, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 241, 220, .1) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to top, #000, transparent 70%);
}
.portrait-glow {
  position: absolute;
  left: 50%;
  bottom: -14%;
  width: 90%;
  height: 72%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 92, 158, .24), transparent 66%);
  filter: blur(14px);
  z-index: 0;
}
.hero-anya {
  position: absolute;
  left: 50%;
  bottom: -2%;
  z-index: 2;
  width: 98%;
  height: 96%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .45)) saturate(1.04);
}
.frame-top,
.frame-bottom {
  position: absolute;
  left: 14px;
  right: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 241, 220, .62);
  font: 400 7px/1 var(--mono);
  letter-spacing: .12em;
  pointer-events: none;
}
.frame-top { top: 13px; }
.frame-bottom { bottom: 12px; }
.frame-top span, .frame-bottom span { display: flex; align-items: center; gap: 6px; }
.frame-bottom b { color: var(--pink); font-weight: 400; }
.rec-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff3e57;
  box-shadow: 0 0 8px #ff3e57;
  animation: blink 1.4s infinite;
}
.frame-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  z-index: 4;
  height: 18%;
  background: linear-gradient(to bottom, transparent, rgba(255, 92, 158, .12), transparent);
  animation: frame-scan 5.5s linear infinite;
  pointer-events: none;
}
@keyframes frame-scan {
  0% { transform: translateY(-30%); }
  75%, 100% { transform: translateY(720%); }
}
.corner {
  position: absolute;
  z-index: 6;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.corner.tl { left: 7px; top: 7px; border-left: 1px solid var(--pink); border-top: 1px solid var(--pink); }
.corner.tr { right: 7px; top: 7px; border-right: 1px solid var(--pink); border-top: 1px solid var(--pink); }
.corner.bl { left: 7px; bottom: 7px; border-left: 1px solid var(--pink); border-bottom: 1px solid var(--pink); }
.corner.br { right: 7px; bottom: 7px; border-right: 1px solid var(--pink); border-bottom: 1px solid var(--pink); }

.orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 241, 220, .1);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one { width: 92%; aspect-ratio: 1; border-style: dashed; border-color: rgba(255, 92, 158, .3); animation: spin 32s linear infinite; }
.orbit-two { width: 112%; aspect-ratio: 1; border-color: rgba(255, 241, 220, .07); animation: spin 46s linear infinite reverse; }
.orbit-two::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  top: 12%;
  left: 14%;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
}
.orbit-three { width: 72%; aspect-ratio: 1; border-style: dotted; border-color: rgba(245, 200, 109, .18); animation: spin 24s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-stella {
  position: absolute;
  z-index: 7;
  right: -1%;
  top: 7%;
  width: clamp(74px, 9vw, 128px);
  filter: drop-shadow(0 10px 26px rgba(245, 200, 109, .24));
  animation: float-y 5.5s ease-in-out infinite;
}
.float-stella img { width: 100%; }
@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}
.sticker-waku {
  position: absolute;
  left: -5%;
  bottom: 9%;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 13px 18px 12px;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  font: 400 21px/.86 var(--display);
  letter-spacing: .03em;
  box-shadow: 7px 7px 0 var(--pink);
  transform: rotate(-8deg);
}
.sticker-waku i {
  position: absolute;
  right: -14px;
  top: -17px;
  color: var(--gold);
  font-size: 27px;
  text-shadow: 0 0 14px rgba(245, 200, 109, .6);
}
.hero-thought {
  position: absolute;
  right: -9%;
  bottom: 15%;
  z-index: 9;
  width: min(285px, 72%);
  padding: 15px 17px 16px;
  border: 1px solid rgba(255, 92, 158, .6);
  border-radius: 12px;
  background: rgba(11, 6, 18, .92);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .42), 0 0 30px rgba(255, 46, 126, .1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.96);
  transition: opacity .35s, transform .35s var(--ease), visibility .35s;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.hero-thought.show { opacity: 1; visibility: visible; transform: none; }
.thought-label { color: var(--pink); font: 400 7px/1 var(--mono); letter-spacing: .18em; }
.hero-thought p {
  margin-top: 8px;
  color: var(--cream);
  font-size: 12px;
  line-height: 1.7;
}
.thought-tail {
  position: absolute;
  left: 30px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: rgba(11, 6, 18, .92);
  border-right: 1px solid rgba(255, 92, 158, .6);
  border-bottom: 1px solid rgba(255, 92, 158, .6);
  transform: rotate(45deg);
}

.hunt-peanut {
  position: absolute;
  z-index: 20;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 0;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 0 8px rgba(245, 200, 109, .42));
  transition: transform .25s var(--ease), opacity .3s, filter .3s;
  animation: peanut-bob 3.4s ease-in-out infinite;
}
.hunt-peanut svg { width: 100%; height: 100%; }
.hunt-peanut::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
}
.hunt-peanut:hover { transform: scale(1.35) rotate(12deg); filter: drop-shadow(0 0 15px rgba(245, 200, 109, .9)); }
.hunt-peanut.found { pointer-events: none; animation: peanut-pop .55s forwards; }
@keyframes peanut-bob {
  0%, 100% { translate: 0 0; rotate: -8deg; }
  50% { translate: 0 -6px; rotate: 7deg; }
}
@keyframes peanut-pop {
  0% { transform: scale(1); opacity: 1; }
  45% { transform: scale(1.9) rotate(18deg); opacity: 1; }
  100% { transform: scale(0) rotate(70deg); opacity: 0; }
}
.hero-peanut { right: 5%; bottom: 27%; }
.dossier-peanut { right: 14px; top: 50px; color: var(--gold-deep); z-index: 8; }
.telepathy-peanut { right: 18px; top: 56px; }
.cake-peanut { right: 4%; bottom: 21%; }
.letter-peanut { right: 36px; top: 34px; }
.peanut-counter.complete ~ * { }

.scroll-cue {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(255, 241, 220, .32);
  font: 400 7px/1 var(--mono);
  letter-spacing: .22em;
}
.scroll-cue i {
  position: relative;
  width: 1px;
  height: 36px;
  overflow: hidden;
  background: rgba(255, 241, 220, .14);
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 70%;
  background: var(--pink);
  animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { top: -80%; }
  70%, 100% { top: 110%; }
}

/* ---------- ticker ---------- */
.ticker {
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding: 13px 0 14px;
  color: var(--ink);
  background: var(--pink);
  border-top: 1px solid rgba(255, 255, 255, .24);
  border-bottom: 1px solid rgba(9, 5, 15, .4);
  transform: rotate(-.7deg) scale(1.01);
  transform-origin: center;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.ticker span {
  font: 400 16px/1 var(--display);
  letter-spacing: .08em;
  white-space: nowrap;
}
.ticker i { color: var(--cream); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- dossier ---------- */
.dossier { padding-top: clamp(100px, 12vw, 170px); }
.dossier-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(22px, 3vw, 42px);
  max-width: 1480px;
  margin: 0 auto;
  align-items: stretch;
}
.surveillance {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 660px;
  color: #1c1018;
  background: #f3e1c8;
  border: 1px solid rgba(255, 241, 220, .35);
  border-radius: 4px;
  box-shadow: 20px 24px 0 rgba(255, 92, 158, .09), 0 30px 80px rgba(0, 0, 0, .32);
  overflow: hidden;
}
.surveillance::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(28, 16, 24, .16);
  pointer-events: none;
  z-index: 6;
}
.surveillance-top,
.surveillance-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 19px;
  color: rgba(28, 16, 24, .7);
  font: 400 8px/1 var(--mono);
  letter-spacing: .12em;
}
.surveillance-top { border-bottom: 1px solid rgba(28, 16, 24, .16); }
.surveillance-top span { display: flex; align-items: center; gap: 8px; }
.surveillance-bottom { margin-top: auto; border-top: 1px solid rgba(28, 16, 24, .16); }
.surveillance-bottom b { color: var(--red); }
.surveillance-photo {
  position: relative;
  flex: 1;
  min-height: 540px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 247, 235, .9), transparent 58%),
    linear-gradient(135deg, #e8cfe2, #f9ead4 45%, #efc6c9);
}
.surveillance-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 78%, rgba(230, 56, 77, .13), transparent 50%);
}
.photo-grid {
  position: absolute;
  inset: 0;
  opacity: .23;
  background-image:
    linear-gradient(rgba(28, 16, 24, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 16, 24, .2) 1px, transparent 1px);
  background-size: 40px 40px;
}
.surveillance-photo img {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: min(75%, 430px);
  height: 95%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  filter: contrast(1.02) saturate(1.03) drop-shadow(0 18px 24px rgba(73, 32, 47, .2));
}
.photo-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4;
  height: 1px;
  background: rgba(230, 56, 77, .75);
  box-shadow: 0 0 12px rgba(230, 56, 77, .5);
  animation: photo-scan 5s linear infinite;
}
@keyframes photo-scan {
  0% { top: 8%; opacity: 0; }
  10% { opacity: .9; }
  90% { opacity: .9; }
  100% { top: 92%; opacity: 0; }
}
.photo-mark {
  position: absolute;
  z-index: 5;
  color: rgba(28, 16, 24, .7);
  font: 700 8px/1 var(--mono);
  letter-spacing: .18em;
  writing-mode: vertical-rl;
}
.photo-mark.mark-a { left: 21px; top: 22px; }
.photo-mark.mark-b { right: 21px; bottom: 42px; font-size: 22px; color: rgba(230, 56, 77, .65); }
.photo-coords {
  position: absolute;
  z-index: 5;
  left: 22px;
  bottom: 18px;
  color: rgba(28, 16, 24, .55);
  font: 400 7px/1 var(--mono);
  letter-spacing: .14em;
}
.surveillance-photo::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(255, 241, 220, .06), transparent 20%),
    repeating-linear-gradient(to bottom, transparent 0 4px, rgba(28, 16, 24, .04) 5px);
  pointer-events: none;
}
.dossier-peanut { right: 18px; top: 47px; }

.file-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(25px, 3vw, 44px);
  background: linear-gradient(150deg, rgba(255, 241, 220, .055), rgba(255, 241, 220, .015));
  border: 1px solid var(--line);
  border-radius: 4px;
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.file-card::before {
  content: "";
  position: absolute;
  right: -20%;
  top: -35%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 158, .12), transparent 65%);
  filter: blur(8px);
  pointer-events: none;
}
.file-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: rgba(255, 241, 220, .42);
  font: 400 8px/1 var(--mono);
  letter-spacing: .18em;
}
.file-card-top b { color: var(--pink); font-size: 11px; }
.file-stats { position: relative; z-index: 1; }
.file-stats > div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: baseline;
  gap: 20px;
  padding: 19px 0 18px;
  border-bottom: 1px solid rgba(255, 241, 220, .085);
}
.file-stats dt {
  color: rgba(255, 241, 220, .35);
  font: 400 8px/1.6 var(--mono);
  letter-spacing: .11em;
}
.file-stats dd {
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.03em;
}
.file-stats dd em {
  display: block;
  margin-top: 4px;
  color: rgba(255, 241, 220, .36);
  font: 400 7px/1.4 var(--mono);
  letter-spacing: .12em;
}
.file-stats dd strong { color: var(--gold); font: 400 29px/1 var(--display); margin-right: 8px; }
.file-stats dd.green { color: var(--mint); }

.threat-level {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 21px 0 0;
}
.threat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 241, 220, .38);
  font: 400 8px/1 var(--mono);
  letter-spacing: .13em;
}
.threat-label b { color: var(--pink); font-weight: 400; }
.threat-stars {
  display: flex;
  gap: 5px;
  margin: 12px 0 9px;
}
.threat-stars svg {
  width: 21px;
  fill: var(--gold);
  filter: drop-shadow(0 0 7px rgba(245, 200, 109, .25));
}
.threat-level p { color: rgba(255, 241, 220, .55); font-size: 11px; line-height: 1.7; }
.redacted-line {
  position: relative;
  z-index: 1;
  margin-top: 21px;
  padding-top: 15px;
  border-top: 1px dashed rgba(255, 241, 220, .14);
  color: rgba(255, 241, 220, .3);
  font: 400 8px/1.7 var(--mono);
  letter-spacing: .04em;
}
.redacted-line span {
  padding: 1px 6px;
  color: var(--cream);
  background: var(--ink);
  letter-spacing: -.05em;
  opacity: .7;
}

.mission-objective {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1480px;
  margin: clamp(30px, 4vw, 56px) auto 0;
  padding: 26px clamp(20px, 3vw, 40px) 27px;
  border: 1px solid rgba(255, 92, 158, .28);
  background: linear-gradient(90deg, rgba(255, 92, 158, .075), rgba(255, 92, 158, .015));
  overflow: hidden;
}
.mission-objective::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 20px, rgba(255, 255, 255, .02) 20px 21px);
  pointer-events: none;
}
.objective-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  color: var(--pink);
  font: 400 8px/1 var(--mono);
  letter-spacing: .17em;
}
.objective-label i { width: 30px; height: 1px; background: var(--pink); }
.mission-objective p {
  position: relative;
  z-index: 1;
  flex: 1;
  font-size: clamp(22px, 2.45vw, 35px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -.04em;
}
.mission-objective p strong { color: var(--gold); font-weight: 700; }
.objective-stamp {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 10px 17px;
  border: 2px solid var(--pink);
  color: var(--pink);
  font: 400 18px/.84 var(--display);
  letter-spacing: .07em;
  text-align: center;
  transform: rotate(-4deg);
}
.objective-stamp span { font-size: 8px; letter-spacing: .14em; }

/* ---------- heh interlude ---------- */
.heh-strip {
  position: relative;
  z-index: 4;
  min-height: clamp(440px, 55vw, 620px);
  display: flex;
  align-items: center;
  padding: clamp(60px, 8vw, 110px) var(--pad);
  overflow: hidden;
  border-top: 1px solid rgba(255, 241, 220, .08);
  border-bottom: 1px solid rgba(255, 241, 220, .08);
}
.heh-photo {
  position: absolute;
  inset: 0;
  background: url("assets/smug.webp") 72% 30% / cover no-repeat;
  filter: saturate(.85) contrast(1.05);
  transform: scale(1.02);
}
.heh-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 3%, rgba(9, 5, 15, .91) 26%, rgba(9, 5, 15, .28) 61%, rgba(9, 5, 15, .55) 100%),
    linear-gradient(to bottom, rgba(9, 5, 15, .4), transparent 30%, rgba(9, 5, 15, .6));
}
.heh-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 4px, rgba(9, 5, 15, .16) 5px);
  pointer-events: none;
}
.heh-content {
  position: relative;
  z-index: 2;
  width: min(660px, 100%);
}
.heh-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pink);
  font: 400 9px/1 var(--mono);
  letter-spacing: .2em;
}
.heh-label b {
  padding: 5px 8px;
  border: 1px solid rgba(255, 92, 158, .5);
  font-size: 9px;
}
.heh-quote {
  margin: 25px 0 30px;
  font-size: clamp(34px, 4.4vw, 66px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.06em;
  text-shadow: 0 6px 35px rgba(0, 0, 0, .55);
}
.heh-quote em {
  color: transparent;
  background: linear-gradient(90deg, var(--cream), var(--pink-soft) 60%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
}
.heh-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 241, 220, .36);
  font: 400 8px/1 var(--mono);
  letter-spacing: .18em;
}
.heh-foot span:first-child { color: var(--gold); font-size: 11px; }
.heh-foot i { width: 46px; height: 1px; background: rgba(255, 241, 220, .2); }
.heh-big {
  position: absolute;
  z-index: 1;
  right: 4vw;
  bottom: -3vw;
  color: transparent;
  font: 400 clamp(140px, 20vw, 310px)/.8 var(--display);
  letter-spacing: -.04em;
  -webkit-text-stroke: 1px rgba(255, 241, 220, .17);
  transform: rotate(-5deg);
  pointer-events: none;
}

/* ---------- telepathy ---------- */
.telepathy-grid {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
  max-width: 1350px;
  margin: 0 auto;
}
.manga-panel { position: relative; width: min(100%, 380px); margin-inline: auto; }
.manga-frame {
  position: relative;
  padding: 9px;
  background: #eee2cd;
  box-shadow: 14px 18px 0 rgba(255, 92, 158, .13), 0 30px 70px rgba(0, 0, 0, .35);
  transform: rotate(-1.8deg);
  overflow: hidden;
}
.manga-frame::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(28, 16, 24, .3);
  pointer-events: none;
}
.manga-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1686 / 2528;
  object-fit: cover;
  object-position: center;
}
.manga-halftone {
  position: absolute;
  inset: 9px;
  opacity: 0;
  background-image: radial-gradient(rgba(28, 16, 24, .8) .65px, transparent .8px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.manga-sfx {
  position: absolute;
  right: 20px;
  bottom: 75px;
  color: var(--red);
  font: 700 18px/1 "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  letter-spacing: .1em;
  writing-mode: vertical-rl;
  transform: rotate(-8deg);
  text-shadow: 1px 1px 0 #fff;
}
.manga-caption {
  position: absolute;
  left: 19px;
  top: 19px;
  padding: 4px 7px;
  color: #ffe9ee;
  background: var(--red);
  font: 700 7px/1 var(--mono);
  letter-spacing: .1em;
}
.manga-panel figcaption {
  margin-top: 20px;
  color: rgba(255, 241, 220, .44);
  font: 400 9px/1.5 var(--mono);
  letter-spacing: .1em;
  text-align: center;
}

.mind-console {
  position: relative;
  border: 1px solid rgba(168, 240, 198, .22);
  background: #0c100e;
  box-shadow: 0 26px 75px rgba(0, 0, 0, .38), inset 0 0 80px rgba(94, 255, 164, .025);
}
.mind-console::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(168, 240, 198, .06);
  pointer-events: none;
}
.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 17px;
  border-bottom: 1px solid rgba(168, 240, 198, .15);
  color: rgba(168, 240, 198, .52);
  font: 400 7px/1 var(--mono);
  letter-spacing: .13em;
}
.console-top span { display: flex; align-items: center; gap: 7px; }
.console-screen {
  position: relative;
  min-height: 260px;
  padding: 25px 26px;
  overflow: hidden;
  background:
    linear-gradient(rgba(168, 240, 198, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 240, 198, .025) 1px, transparent 1px);
  background-size: 24px 24px;
}
.console-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, .25) 4px);
  pointer-events: none;
}
.console-noise {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.console-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(168, 240, 198, .56);
  font: 400 7px/1 var(--mono);
  letter-spacing: .14em;
}
.pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: blink 1.6s infinite;
}
#consoleText {
  position: relative;
  z-index: 1;
  min-height: 100px;
  margin-top: 20px;
  color: var(--mint);
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .01em;
  text-shadow: 0 0 24px rgba(168, 240, 198, .16);
}
#consoleText::after {
  content: "▌";
  margin-left: 3px;
  color: var(--mint);
  animation: caret 1s steps(1) infinite;
}
#consoleText.typing::after { animation: none; }
@keyframes caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.voice-wave {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 34px;
  margin-top: 8px;
  opacity: .6;
}
.voice-wave i {
  width: 2px;
  height: 6px;
  background: var(--mint);
  animation: wave 1.1s ease-in-out infinite alternate;
}
.voice-wave i:nth-child(3n) { animation-delay: -.6s; height: 15px; }
.voice-wave i:nth-child(4n) { animation-delay: -.3s; height: 23px; }
.voice-wave i:nth-child(5n) { animation-delay: -.85s; height: 10px; }
.voice-wave i:nth-child(7n) { animation-delay: -.45s; height: 19px; }
@keyframes wave {
  from { transform: scaleY(.3); opacity: .4; }
  to { transform: scaleY(1); opacity: 1; }
}
.console-hint {
  position: absolute;
  right: 24px;
  bottom: 15px;
  z-index: 1;
  color: rgba(168, 240, 198, .3);
  font: 400 7px/1 var(--mono);
  letter-spacing: .12em;
}
.console-hint::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.4s infinite;
}
.mind-console .btn { margin: 20px 26px 0; width: calc(100% - 52px); }
.console-disclaimer {
  padding: 13px 26px 22px;
  color: rgba(255, 241, 220, .26);
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
}

/* ---------- wish ---------- */
.wish {
  overflow: hidden;
  background: linear-gradient(to bottom, transparent, rgba(255, 92, 158, .035) 25%, rgba(255, 92, 158, .055) 65%, transparent);
}
.wish-glow {
  position: absolute;
  left: 23%;
  top: 36%;
  width: 36vw;
  height: 36vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 200, 109, .13), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.wish-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}
.cake-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  min-height: 570px;
  padding-bottom: 10px;
  background: radial-gradient(ellipse at 50% 72%, rgba(255, 92, 158, .13), transparent 56%);
}
.cake-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9%;
  width: 470px;
  height: 470px;
  max-width: 100%;
  transform: translateX(-50%);
  border: 1px dashed rgba(255, 241, 220, .12);
  border-radius: 50%;
  pointer-events: none;
}
.cake-spark {
  position: absolute;
  z-index: 1;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px 3px rgba(245, 200, 109, .45);
  animation: sparkle 3s ease-in-out infinite;
}
.cake-spark.s1 { left: 17%; top: 22%; }
.cake-spark.s2 { right: 17%; top: 35%; animation-delay: -1s; }
.cake-spark.s3 { left: 25%; top: 56%; animation-delay: -2s; }
.cake-spark.s4 { right: 23%; top: 63%; animation-delay: -.4s; width: 2px; height: 2px; }
@keyframes sparkle {
  0%, 100% { opacity: .15; transform: scale(.5); }
  50% { opacity: 1; transform: scale(1.3); }
}
.cake-wrap {
  position: relative;
  z-index: 2;
  width: min(400px, 100%);
  height: 445px;
  margin-top: 20px;
}
.candles {
  position: absolute;
  left: 50%;
  top: 18px;
  z-index: 8;
  display: flex;
  align-items: flex-end;
  gap: 33px;
  transform: translateX(-50%);
}
.candle {
  position: relative;
  width: 25px;
  height: 91px;
  border-radius: 4px 4px 2px 2px;
  background: repeating-linear-gradient(135deg, #f8d990 0 7px, #c78b32 7px 10px, #ffeebc 10px 17px);
  box-shadow: inset -4px 0 0 rgba(92, 48, 11, .18), 0 4px 8px rgba(0, 0, 0, .2);
}
.candle-2 { height: 99px; transform: rotate(-2deg); }
.candle-9 { height: 88px; transform: rotate(2deg); }
.candle b {
  position: absolute;
  left: 50%;
  top: 50%;
  color: #5b2514;
  font: 400 25px/1 var(--display);
  transform: translate(-50%, -50%);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
.flame {
  position: absolute;
  left: 50%;
  top: -29px;
  width: 16px;
  height: 27px;
  border-radius: 50% 50% 48% 48% / 62% 62% 38% 38%;
  background: radial-gradient(ellipse at 50% 72%, #fff9cf 0 16%, #ffd35a 35%, #ff8f34 68%, rgba(255, 76, 38, .2) 100%);
  box-shadow: 0 0 12px 4px rgba(255, 184, 64, .55), 0 0 38px 14px rgba(255, 114, 36, .17);
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  animation: flicker .16s ease-in-out infinite alternate;
  transition: opacity .35s, transform .35s;
}
.flame::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 5px;
  height: 12px;
  border-radius: 50%;
  background: #fffbe6;
  transform: translateX(-50%);
  opacity: .85;
}
@keyframes flicker {
  from { transform: translateX(-50%) scale(1) rotate(-3deg); }
  to { transform: translateX(-50%) scale(1.1, .93) rotate(3deg); }
}
.cake {
  position: absolute;
  left: 50%;
  bottom: 42px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
}
.cake-tier {
  position: relative;
  border-radius: 8px 8px 12px 12px;
  box-shadow: inset 0 -16px 30px rgba(173, 84, 83, .12), inset 13px 0 25px rgba(255, 255, 255, .22), 0 16px 25px rgba(0, 0, 0, .2);
}
.tier-top {
  z-index: 2;
  width: 228px;
  height: 96px;
  background:
    linear-gradient(to bottom, transparent 61%, rgba(255, 241, 220, .7) 62% 70%, transparent 71%),
    linear-gradient(110deg, #f5b8c9, #f8dcc7 55%, #eea9bd);
  border: 1px solid rgba(99, 32, 54, .16);
}
.tier-bottom {
  z-index: 1;
  width: 330px;
  height: 123px;
  margin-top: -9px;
  background:
    linear-gradient(to bottom, transparent 58%, rgba(255, 241, 220, .55) 59% 67%, transparent 68%),
    linear-gradient(110deg, #e998b3, #f4cdbd 48%, #ea95ad);
  border: 1px solid rgba(99, 32, 54, .18);
}
.frosting {
  position: absolute;
  left: -7px;
  right: -7px;
  top: -13px;
  height: 39px;
  background: linear-gradient(to bottom, #fff7e8, #f4dfc5);
  border-radius: 48% 48% 44% 44% / 63% 63% 37% 37%;
  box-shadow: 0 5px 0 rgba(255, 249, 239, .38);
}
.frosting::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 22px;
  background: radial-gradient(circle at 11px 0, #f4dfc5 10px, transparent 10.5px) repeat-x;
  background-size: 22px 22px;
}
.tier-top .frosting { left: -6px; right: -6px; }
.berries {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: -8px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}
.berries i {
  width: 20px;
  height: 17px;
  border-radius: 50% 50% 46% 46% / 56% 56% 44% 44%;
  background: radial-gradient(circle at 35% 30%, #ff8b9e, #cf1d39 60%, #9d1027);
  box-shadow: 0 2px 3px rgba(93, 14, 25, .3);
  transform: rotate(-7deg);
}
.berries i:nth-child(2) { transform: translateY(-4px) rotate(5deg); }
.berries i:nth-child(3) { transform: rotate(11deg); }
.cake-band {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  color: #b02045;
  font: 400 15px/1 var(--display);
  letter-spacing: .12em;
  transform: translateX(-50%);
}
.cake-dots {
  position: absolute;
  left: 50%;
  bottom: 43px;
  display: flex;
  gap: 17px;
  transform: translateX(-50%);
}
.cake-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 244, 225, .9);
  box-shadow: 0 0 4px rgba(255, 244, 225, .6);
}
.cake-plate {
  position: absolute;
  left: 50%;
  bottom: 11px;
  z-index: 2;
  width: 430px;
  height: 54px;
  max-width: 100%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 44%, #fff5e3 0 23%, #e4cbb1 58%, #a77b61 73%, transparent 74%);
  box-shadow: 0 24px 35px rgba(0, 0, 0, .34);
  transform: translateX(-50%);
}
.cake-caption {
  position: relative;
  z-index: 2;
  color: rgba(255, 241, 220, .35);
  font: 400 7px/1 var(--mono);
  letter-spacing: .2em;
}
.cake-stage.blown .flame { opacity: 0; transform: translateX(-50%) translateY(-13px) scale(.15); }
.cake-stage.blown .candle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 82px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 241, 220, .35);
  filter: blur(3px);
  animation: smoke 1.7s ease-out forwards;
}
@keyframes smoke {
  0% { opacity: .7; transform: translate(-50%, 0) scale(.7); }
  100% { opacity: 0; transform: translate(-50%, -48px) scale(2.2); }
}
.cake-stage.blown::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 36%;
  z-index: 1;
  width: 420px;
  height: 420px;
  max-width: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 200, 109, .2), transparent 62%);
  transform: translate(-50%, -50%);
  animation: wish-burst 1.8s ease-out forwards;
  pointer-events: none;
}
@keyframes wish-burst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}
.wish-copy { position: relative; z-index: 2; min-width: 0; }
.wish-eyebrow {
  display: block;
  margin-bottom: 17px;
  color: var(--pink);
  font: 400 8px/1 var(--mono);
  letter-spacing: .22em;
}
.wish-copy h3 {
  font-size: clamp(43px, 5vw, 76px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.07em;
  text-wrap: balance;
}
.wish-copy h3 span {
  color: transparent;
  background: linear-gradient(100deg, var(--cream), var(--pink-soft) 42%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
}
.wish-copy > p {
  max-width: 510px;
  margin: 24px 0 30px;
  color: rgba(255, 241, 220, .6);
  font-size: 14px;
  line-height: 2;
}
.wish-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .65s var(--ease), opacity .45s .15s, margin .5s;
}
.wish-result.show {
  max-height: 180px;
  margin-top: 24px;
  opacity: 1;
}
.result-star {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 200, 109, .48);
  border-radius: 50%;
  color: var(--gold);
  font-size: 14px;
  box-shadow: 0 0 22px rgba(245, 200, 109, .12);
}
.wish-result p { color: rgba(255, 241, 220, .58); font-size: 11px; line-height: 1.8; }
.wish-result b { color: var(--gold); font-size: 12px; }
.wish-stats {
  display: flex;
  gap: 30px;
  margin-top: 38px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 241, 220, .12);
}
.wish-stats div { display: flex; flex-direction: column; gap: 3px; }
.wish-stats span { color: rgba(255, 241, 220, .32); font: 400 7px/1 var(--mono); letter-spacing: .14em; }
.wish-stats b { color: var(--cream); font: 400 21px/1 var(--display); }
.wish-stats div:last-child b { color: var(--mint); }

/* ---------- letter ---------- */
.letter {
  padding-bottom: clamp(70px, 9vw, 130px);
  background:
    radial-gradient(ellipse at 77% 45%, rgba(255, 92, 158, .11), transparent 44%),
    radial-gradient(ellipse at 18% 80%, rgba(245, 200, 109, .055), transparent 40%);
}
.letter-stage {
  position: relative;
  max-width: 1050px;
  margin: 0 auto;
  padding: 20px 0 40px;
}
.letter-paper {
  position: relative;
  z-index: 2;
  padding: clamp(42px, 6.6vw, 84px) clamp(25px, 7.2vw, 96px) clamp(46px, 6vw, 78px);
  color: #2b1a21;
  background:
    repeating-linear-gradient(to bottom, transparent 0 33px, rgba(104, 65, 66, .065) 33px 34px),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .35), transparent 30%),
    #f2e4ce;
  border: 1px solid rgba(255, 248, 235, .5);
  box-shadow: 22px 28px 0 rgba(255, 92, 158, .08), 0 40px 100px rgba(0, 0, 0, .4);
  transform: rotate(-.7deg);
}
.letter-paper::before,
.letter-paper::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 54px;
  height: 54px;
  border-color: rgba(92, 51, 48, .35);
  border-style: solid;
  pointer-events: none;
}
.letter-paper::before { left: 13px; top: 13px; border-width: 1px 0 0 1px; }
.letter-paper::after { right: 13px; bottom: 13px; border-width: 0 1px 1px 0; }
.paper-tape {
  position: absolute;
  left: 50%;
  top: -15px;
  z-index: 3;
  width: 152px;
  height: 31px;
  background: rgba(255, 245, 220, .53);
  border-left: 1px dashed rgba(122, 84, 64, .25);
  border-right: 1px dashed rgba(122, 84, 64, .25);
  transform: translateX(-50%) rotate(1.7deg);
  box-shadow: 0 3px 8px rgba(70, 37, 30, .08);
  backdrop-filter: blur(2px);
}
.letter-meta {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(43, 26, 33, .18);
  color: rgba(43, 26, 33, .52);
  font: 400 7px/1.4 var(--mono);
  letter-spacing: .1em;
}
.letter-stamp {
  position: absolute;
  right: clamp(20px, 5.8vw, 75px);
  top: clamp(72px, 10vw, 117px);
  display: grid;
  place-items: center;
  width: 116px;
  height: 138px;
  padding: 8px;
  border: 2px solid rgba(176, 32, 69, .45);
  color: #b02045;
  background: rgba(255, 247, 232, .34);
  transform: rotate(5.5deg);
  box-shadow: inset 0 0 0 4px #f2e4ce, inset 0 0 0 5px rgba(176, 32, 69, .24);
}
.letter-stamp img { position: absolute; width: 84px; opacity: .22; filter: grayscale(1); }
.letter-stamp span {
  position: relative;
  z-index: 1;
  margin-top: -3px;
  font: 400 43px/.8 var(--display);
}
.letter-stamp small {
  position: relative;
  z-index: 1;
  font: 400 6px/1.35 var(--mono);
  letter-spacing: .11em;
  text-align: center;
}
.letter-to {
  margin-top: 31px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}
.letter-big {
  margin: 9px 0 25px;
  color: #a61e42;
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 43px);
  font-weight: 700;
  letter-spacing: -.04em;
}
.letter-paper > p:not(.letter-to):not(.letter-big):not(.letter-sign):not(.letter-ps) {
  max-width: 690px;
  margin-bottom: 17px;
  font-family: var(--serif);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 2.15;
  text-align: justify;
  text-wrap: pretty;
}
.letter-sign {
  margin-top: 31px;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.9;
}
.letter-sign b {
  display: inline-block;
  margin-top: 4px;
  color: #a61e42;
  font-size: 17px;
  font-weight: 700;
}
.letter-ps {
  margin-top: 26px;
  padding-top: 15px;
  border-top: 1px dashed rgba(43, 26, 33, .22);
  color: rgba(43, 26, 33, .68);
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.8;
}
.letter-ps span { color: #b02045; font: 700 8px/1 var(--mono); letter-spacing: .1em; }
.letter-seal {
  position: absolute;
  right: clamp(34px, 6vw, 82px);
  bottom: clamp(35px, 5.5vw, 64px);
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(166, 30, 66, .55);
  border-radius: 50%;
  color: #b02045;
  font-size: 21px;
  transform: rotate(-11deg);
  opacity: .78;
}
.letter-seal::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(166, 30, 66, .35);
  border-radius: 50%;
}
.letter-anya {
  position: absolute;
  right: -68px;
  bottom: -36px;
  z-index: 3;
  width: 177px;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .36));
  transform: rotate(4deg);
}
.letter-peanut { right: 31px; top: 28px; }
.letter-paper.reveal { transform: translateY(34px) rotate(-.7deg); }
.letter-paper.reveal.is-visible { transform: rotate(-.7deg); }

/* ---------- finale ---------- */
.finale {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(100px, 12vw, 160px) var(--pad) clamp(110px, 12vw, 160px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 241, 220, .08);
  background:
    radial-gradient(ellipse at 77% 48%, rgba(255, 92, 158, .17), transparent 36%),
    radial-gradient(ellipse at 22% 18%, rgba(245, 200, 109, .06), transparent 27%),
    linear-gradient(to bottom, #0a0510, #0d0715 55%, #08040c);
}
.finale-glow {
  position: absolute;
  left: 51%;
  top: 45%;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 158, .15), transparent 63%);
  filter: blur(34px);
  pointer-events: none;
}
.finale-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  width: 100%;
  max-width: 1370px;
  margin: 0 auto;
}
.finale-copy h2 {
  margin: 24px 0 25px;
  font-size: clamp(47px, 6.2vw, 97px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.finale-copy h2 span {
  color: transparent;
  background: linear-gradient(100deg, var(--cream) 2%, var(--pink-soft) 36%, var(--pink) 76%, #c05cff);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 10px 28px rgba(255, 92, 158, .14));
}
.finale-kicker {
  margin-top: 22px;
  color: var(--pink);
  font: 400 8px/1 var(--mono);
  letter-spacing: .18em;
}
.finale-copy > p:not(.finale-kicker):not(.finale-sign) {
  max-width: 420px;
  color: rgba(255, 241, 220, .58);
  font-size: 14px;
  line-height: 2;
}
.finale-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.finale-sign {
  margin-top: 38px;
  color: rgba(255, 241, 220, .3);
  font: 400 8px/1.5 var(--mono);
  letter-spacing: .08em;
}
.finale-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.finale-arch {
  position: relative;
  width: min(100%, 435px);
  aspect-ratio: .76;
  border: 1px solid rgba(245, 200, 109, .45);
  border-radius: 240px 240px 10px 10px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .45), 0 0 0 9px rgba(245, 200, 109, .025);
  transform: rotate(1.4deg);
}
.finale-arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(9, 5, 15, .04), transparent 35%, rgba(9, 5, 15, .3)),
    repeating-linear-gradient(to bottom, transparent 0 4px, rgba(0, 0, 0, .14) 5px);
  pointer-events: none;
}
.finale-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 32%;
  filter: saturate(.97) contrast(1.03);
}
.arch-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 247, 226, .12) 43%, transparent 54%);
  transform: translateX(-80%);
  animation: arch-shine 7s ease-in-out infinite;
}
@keyframes arch-shine {
  0%, 55% { transform: translateX(-90%); }
  80%, 100% { transform: translateX(90%); }
}
.arch-caption {
  position: absolute;
  right: 22px;
  bottom: 34px;
  z-index: 4;
  color: rgba(255, 241, 220, .7);
  font: 400 7px/1.45 var(--mono);
  letter-spacing: .15em;
  text-align: right;
}
.finale-badge {
  position: absolute;
  left: -1%;
  bottom: 7%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 92, 158, .55);
  border-radius: 50%;
  color: var(--pink);
  background: rgba(9, 5, 15, .82);
  font: 400 7px/1.4 var(--mono);
  letter-spacing: .13em;
  transform: rotate(-9deg);
  box-shadow: 0 0 0 6px rgba(255, 92, 158, .035), 0 10px 40px rgba(0, 0, 0, .3);
  backdrop-filter: blur(8px);
}
.finale-badge b { color: var(--cream); font: 400 34px/.9 var(--display); }
.finale-stella {
  position: absolute;
  right: -5%;
  top: 3%;
  z-index: 5;
  width: 94px;
  filter: drop-shadow(0 0 20px rgba(245, 200, 109, .3));
  animation: float-y 6s ease-in-out infinite;
}
.finale-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  z-index: 1;
  overflow: hidden;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 241, 220, .1);
  user-select: none;
  pointer-events: none;
}
.finale-marquee > div {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marquee 38s linear infinite reverse;
}
.finale-marquee span {
  font: 400 clamp(80px, 12vw, 185px)/.9 var(--display);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.finale-marquee i { font-size: 27px; }

/* ---------- footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 27px var(--pad) 30px;
  border-top: 1px solid rgba(255, 241, 220, .1);
  background: #08040c;
  color: rgba(255, 241, 220, .28);
  font: 400 7px/1.8 var(--mono);
  letter-spacing: .03em;
}
.footer-brand { color: rgba(255, 241, 220, .42); letter-spacing: .12em; }
.footer-brand b { margin-right: 7px; color: var(--pink); font: 400 17px/1 var(--display); letter-spacing: .03em; }
.footer p { max-width: 630px; }
.footer a { color: rgba(255, 241, 220, .4); letter-spacing: .12em; white-space: nowrap; transition: color .2s; }
.footer a:hover { color: var(--pink); }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid rgba(245, 200, 109, .5);
  border-radius: 99px;
  color: var(--cream);
  background: rgba(13, 7, 20, .92);
  font: 400 10px/1 var(--mono);
  letter-spacing: .06em;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4), 0 0 24px rgba(245, 200, 109, .08);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity .3s, transform .3s, visibility .3s;
  backdrop-filter: blur(10px);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast-icon { color: var(--gold); }

/* ---------- secret modal ---------- */
.secret-modal {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.secret-modal.open { opacity: 1; visibility: visible; }
.secret-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 2, 8, .82);
  backdrop-filter: blur(13px);
}
.secret-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  width: min(890px, 100%);
  max-height: min(590px, 90vh);
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .2);
  transform: scale(.94) translateY(18px);
  transition: transform .45s var(--ease);
  overflow: hidden;
}
.secret-modal.open .secret-card { transform: none; }
.secret-photo { min-height: 330px; overflow: hidden; }
.secret-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 20%; }
.secret-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 55px);
}
.secret-label { color: #b02045; font: 700 7px/1.4 var(--mono); letter-spacing: .13em; }
.secret-copy h2 {
  margin: 15px 0 14px;
  color: #2b1a21;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -.07em;
}
.secret-copy p { color: rgba(43, 26, 33, .68); font-family: var(--serif); font-size: 13px; line-height: 1.9; }
.secret-small {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed rgba(43, 26, 33, .2);
  color: #a61e42 !important;
  font-size: 11px !important;
}
.secret-copy .btn { align-self: flex-start; margin-top: 25px; }
.secret-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid rgba(9, 5, 15, .18);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 241, 220, .7);
  font: 400 22px/1 var(--sans);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.secret-close:hover { background: var(--cream); transform: rotate(90deg); }

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  .rail { display: none; }
  .hero-visual { max-width: 520px; }
  .hero-title .title-line { font-size: clamp(70px, 9vw, 130px); }
}

@media (max-width: 1080px) {
  .hud-status { display: none; }
  .hero { gap: 20px; }
  .hero-visual { max-width: 460px; min-height: 580px; }
  .hero-copy { max-width: 620px; }
  .title-line { font-size: clamp(64px, 8.6vw, 116px) !important; }
  .name-line h2 { font-size: clamp(60px, 7.5vw, 96px); }
  .sticker-waku { left: -1%; }
  .hero-thought { right: -2%; }
  .dossier-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .file-stats > div { grid-template-columns: 100px minmax(0, 1fr); gap: 13px; }
  .telepathy-grid { gap: 34px; }
  .letter-anya { width: 140px; right: -28px; }
}

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 17px; }
  .section-head h2 { max-width: 700px; }
  .section-note { max-width: 580px; padding: 0; }
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 84px;
  }
  .hero-copy { max-width: 700px; }
  .hero-title { margin-top: 22px; }
  .title-line { font-size: clamp(70px, 13vw, 132px) !important; }
  .title-line.line-two { margin-left: 7vw; }
  .hero-visual {
    width: min(520px, 100%);
    margin: 52px auto 0;
    min-height: 590px;
  }
  .scroll-cue { display: none; }
  .dossier-grid { grid-template-columns: 1fr; max-width: 720px; }
  .surveillance { min-height: 600px; }
  .file-card { padding: 32px; }
  .mission-objective { align-items: flex-start; flex-wrap: wrap; gap: 16px 26px; }
  .objective-stamp { margin-left: auto; }
  .mission-objective p { order: 3; flex-basis: 100%; }
  .telepathy-grid { grid-template-columns: 1fr; max-width: 650px; gap: 28px; }
  .manga-panel { width: min(340px, 78%); margin: 0 auto; }
  .manga-frame { transform: none; }
  .manga-sfx { display: none; }
  .wish-grid { grid-template-columns: minmax(0, 1fr); max-width: 650px; gap: 30px; }
  .cake-stage { min-height: 530px; }
  .finale { flex-direction: column; align-items: stretch; min-height: auto; padding-top: 110px; }
  .finale-inner { grid-template-columns: 1fr; max-width: 650px; gap: 60px; }
  .finale-copy { max-width: 590px; }
  .finale-visual { width: min(450px, 100%); margin: 0 auto; }
  .finale-marquee { position: relative; bottom: auto; margin-top: 80px; }
  .footer { flex-wrap: wrap; gap: 18px 30px; }
  .footer p { order: 3; flex-basis: 100%; max-width: none; }
}

@media (max-width: 640px) {
  :root { --pad: 20px; }
  .hud {
    gap: 10px;
    padding:
      calc(14px + env(safe-area-inset-top, 0px))
      max(16px, env(safe-area-inset-right, 0px))
      14px
      max(16px, env(safe-area-inset-left, 0px));
  }
  .hud.is-scrolled {
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
    padding-bottom: 12px;
  }
  .brand-mark { width: 27px; }
  .brand-text b { font-size: 16px; }
  .brand-text small { font-size: 6px; }
  .peanut-counter { height: 31px; padding: 0 9px 0 6px; }
  .peanut-counter > span { display: none; }
  .peanut-counter svg { width: 17px; }
  .sound-toggle { width: 31px; height: 31px; padding: 0; justify-content: center; }
  .sound-label { display: none; }
  .sound-bars { height: 12px; }
  .eyebrow { flex-wrap: wrap; row-gap: 6px; gap: 9px; font-size: 7px; letter-spacing: .08em; }
  .eyebrow .tag { padding: 4px 6px; }
  .eyebrow-line { width: 15px; }
  .hero { padding-top: calc(104px + env(safe-area-inset-top, 0px)); padding-bottom: 68px; }
  .hero-title { margin-top: 22px; margin-bottom: 14px; max-width: 100%; }
  .title-line { font-size: clamp(42px, 12.2vw, 68px) !important; max-width: 100%; line-height: .9; }
  .title-line.line-two { margin-left: 0; }
  .name-line { flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
  .name-line h2 { font-size: clamp(46px, 14vw, 68px); }
  .name-line h2 span { font-size: .28em; }
  .age-chip { min-width: 98px; gap: 7px; padding: 7px 10px; }
  .age-chip b { font-size: 32px; }
  .age-chip small { font-size: 6px; }
  .hero-desc { font-size: 13px; line-height: 1.9; }
  .hero-desc br { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 25px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 17px; flex-wrap: wrap; margin-top: 32px; }
  .hero-meta div { min-width: 80px; }
  .hero-visual { min-height: 400px; margin-top: 10px; width: min(400px, 100%); }
  .portrait-frame { width: 76%; }
  .orbit-two { width: 104%; }
  .big-age { font-size: 220px; right: -5%; }
  .float-stella { width: 67px; right: 0; top: 2%; }
  .sticker-waku { left: 0; bottom: 7%; padding: 9px 12px; font-size: 16px; box-shadow: 5px 5px 0 var(--pink); }
  .sticker-waku i { font-size: 19px; right: -10px; top: -12px; }
  .hero-thought { right: 0; bottom: 18%; width: 70%; padding: 11px 13px; }
  .hero-thought p { font-size: 10px; }
  .hero-peanut { right: 3%; bottom: 35%; width: 24px; height: 24px; }
  .section { padding-top: 84px; padding-bottom: 84px; }
  .section-head { margin-bottom: 39px; }
  .section-head h2 { font-size: clamp(32px, 8.6vw, 44px); overflow-wrap: anywhere; }
  .section-note { font-size: 12px; }
  .section-kicker { font-size: 8px; letter-spacing: .14em; }
  .section-index { width: 25px; height: 25px; }
  .surveillance { min-height: 480px; }
  .surveillance-photo { min-height: 390px; }
  .surveillance-photo img { width: 84%; height: 96%; }
  .surveillance-top, .surveillance-bottom { padding: 10px 13px; font-size: 6px; }
  .file-card { padding: 23px 20px; }
  .file-stats > div { grid-template-columns: 93px minmax(0, 1fr); padding: 16px 0; gap: 10px; }
  .file-stats dt { font-size: 7px; }
  .file-stats dd { font-size: 19px; }
  .mission-objective { padding: 21px 19px 23px; }
  .mission-objective p { font-size: 24px; }
  .objective-label { font-size: 7px; }
  .objective-stamp { font-size: 15px; padding: 8px 11px; }
  .heh-strip { min-height: 480px; padding-top: 80px; padding-bottom: 80px; }
  .heh-photo { background-position: 66% 35%; opacity: .72; }
  .heh-vignette { background: linear-gradient(90deg, rgba(9, 5, 15, .9), rgba(9, 5, 15, .34)), linear-gradient(to top, var(--ink), transparent 55%, rgba(9, 5, 15, .5)); }
  .heh-quote { font-size: clamp(26px, 7.2vw, 32px); }
  .heh-big { font-size: 92px; right: -2vw; bottom: 2%; opacity: .35; }
  .manga-panel { width: min(280px, 74vw); }
  .manga-frame { box-shadow: 8px 10px 0 rgba(255, 92, 158, .13), 0 16px 36px rgba(0, 0, 0, .35); }
  .manga-panel figcaption { margin-top: 14px; padding: 0 6px; letter-spacing: .04em; }
  .telepathy .section-head { margin-bottom: 22px; }
  .console-screen { min-height: 168px; padding: 18px 16px 28px; }
  #consoleText { font-size: 16px; min-height: 72px; }
  .mind-console .btn { margin-left: 19px; margin-right: 19px; width: calc(100% - 38px); }
  .console-disclaimer { padding-left: 19px; padding-right: 19px; }
  .telepathy-peanut { right: 12px; top: 49px; }
  .wish-grid { gap: 14px; }
  .cake-stage { min-height: 500px; }
  .cake-wrap { transform: scale(.84); transform-origin: 50% 78%; margin-top: -4px; margin-bottom: -44px; }
  .cake-stage::before { width: 360px; height: 360px; }
  .cake-caption { margin-top: 0; }
  .cake-peanut { right: 1%; bottom: 18%; }
  .wish-copy h3 { font-size: clamp(32px, 8.8vw, 42px); }
  .nowrap { white-space: normal; }
  .wish-copy > p { font-size: 13px; margin-top: 20px; }
  .wish-stats { gap: 22px; }
  .letter { padding-left: 17px; padding-right: 17px; }
  .letter-stage { padding-bottom: 0; }
  .letter-paper { padding: 42px 22px 50px; transform: rotate(-.5deg); }
  .letter-paper.reveal { transform: translateY(34px) rotate(-.5deg); }
  .letter-paper.reveal.is-visible { transform: rotate(-.5deg); }
  .letter-meta { font-size: 6px; gap: 10px; }
  .letter-meta span:last-child { display: none; }
  .letter-stamp { width: 79px; height: 98px; right: 18px; top: 75px; }
  .letter-stamp img { width: 58px; }
  .letter-stamp span { font-size: 31px; }
  .letter-stamp small { font-size: 5px; }
  .letter-to { margin-top: 27px; font-size: 15px; padding-right: 78px; }
  .letter-big { font-size: 28px; margin-bottom: 18px; padding-right: 8px; }
  .letter-stamp { width: 68px; height: 86px; right: 12px; top: 48px; }
  .letter-paper > p:not(.letter-to):not(.letter-big):not(.letter-sign):not(.letter-ps) { font-size: 13.5px; line-height: 1.9; text-align: left; }
  .letter-sign b { font-size: 15px; }
  .letter-ps { padding-right: 54px; }
  .letter-anya { display: none; }
  .letter-seal { width: 42px; height: 42px; right: 29px; bottom: 35px; font-size: 16px; }
  .letter-peanut { right: 21px; top: 20px; width: 24px; height: 24px; }
  .finale { padding-top: 96px; padding-bottom: 70px; }
  .finale-copy h2 { font-size: clamp(34px, 9.2vw, 46px); overflow-wrap: anywhere; }
  .finale-copy > p:not(.finale-kicker):not(.finale-sign) { font-size: 13px; }
  .finale-actions { flex-direction: column; align-items: stretch; }
  .finale-arch { width: 88%; }
  .finale-badge { width: 88px; height: 88px; left: -1%; bottom: 4%; font-size: 5px; }
  .finale-badge b { font-size: 27px; }
  .finale-stella { width: 67px; right: -1%; top: 0; }
  .finale-marquee { margin-top: 58px; }
  .footer {
    padding: 22px max(20px, env(safe-area-inset-right, 0px)) calc(26px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    font-size: 6px;
    gap: 14px;
  }
  .footer a { font-size: 7px; }
  .secret-card {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
    max-height: calc(100svh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .secret-photo { min-height: 160px; max-height: 200px; }
  .secret-copy { padding: 26px 23px 30px; }
  .secret-copy h2 { font-size: 38px; }
  .secret-copy .btn { align-self: stretch; }
  .toast { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); font-size: 9px; }
  .intro {
    padding:
      calc(24px + env(safe-area-inset-top, 0px))
      max(24px, env(safe-area-inset-right, 0px))
      calc(24px + env(safe-area-inset-bottom, 0px))
      max(24px, env(safe-area-inset-left, 0px));
  }
  .intro-stamp { width: 82px; height: 82px; font-size: 16px; }
  .intro h2 { font-size: 23px; }
  .intro::after { inset: 10px; }
}

@media (max-height: 720px) and (min-width: 901px) {
  .hero { padding-top: 104px; padding-bottom: 60px; }
  .hero-visual { min-height: 540px; }
  .portrait-frame { width: min(72%, 405px); }
  .hero-meta { margin-top: 30px; }
  .sticker-waku { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .intro { display: none; }
  .grain, .scanlines { display: none; }
}
