:root {
  /* Design typography token mirror: Space Grotesk** labels */
  --vault: #10141B;
  --graphite: #2A303A;
  --fog: #8D98A6;
  --paper: #E7EDF4;
  --cyan: #00F0FF;
  --magenta: #FF2EDB;
  --green: #B6FF00;
  --tangerine: #FF7A1A;
  --garamond: "EB Garamond", Georgia, serif;
  --space: "Space Grotesk", Inter, system-ui, sans-serif;
  --archivo: "Archivo Black", Impact, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--vault);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--paper);
  font-family: var(--space);
  background:
    radial-gradient(circle at 74% 12%, rgba(255, 46, 219, 0.16), transparent 24rem),
    radial-gradient(circle at 18% 44%, rgba(0, 240, 255, 0.12), transparent 30rem),
    linear-gradient(180deg, #10141B 0%, #1a2029 42%, #10141B 100%);
}

body::after {
  content: "Grotesk**";
  position: fixed;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: .16;
  mix-blend-mode: screen;
  background-image:
    repeating-radial-gradient(circle at 17% 23%, rgba(231,237,244,.45) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(141,152,166,.08) 0 1px, transparent 1px 7px);
}

.receipt-spine {
  position: fixed;
  top: -12vh;
  left: clamp(1.2rem, 8vw, 7rem);
  width: 38px;
  height: 124vh;
  z-index: 18;
  color: var(--fog);
  border-left: 1px dashed rgba(231,237,244,.45);
  border-right: 1px dashed rgba(231,237,244,.32);
  background:
    linear-gradient(180deg, transparent, rgba(231,237,244,.08), transparent),
    repeating-linear-gradient(180deg, rgba(231,237,244,.20) 0 2px, transparent 2px 17px);
  filter: drop-shadow(0 0 20px rgba(0,240,255,.18));
  transform: translateY(var(--spine-y, 0px)) skewX(var(--spine-skew, -2deg));
}

.receipt-spine span {
  position: absolute;
  top: 18vh;
  left: 50%;
  width: 82vh;
  transform: translateX(-50%) rotate(90deg);
  transform-origin: center;
  font-size: .66rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  white-space: nowrap;
}

.stamp-tabs {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 35;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .45rem;
  max-width: 34rem;
}

.stamp-tabs a {
  padding: .44rem .62rem;
  color: var(--paper);
  background: rgba(42,48,58,.64);
  border: 1px solid rgba(231,237,244,.18);
  box-shadow: 0 0 18px rgba(0,240,255,.06);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transform: rotate(var(--tilt, -1deg));
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.stamp-tabs a:nth-child(2n) { --tilt: 1.5deg; }
.stamp-tabs a:hover { color: var(--green); border-color: var(--green); transform: translateY(-3px) rotate(0deg); }

.chamber {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 8rem clamp(1.2rem, 5vw, 6rem);
  isolation: isolate;
  border-bottom: 1px solid rgba(141,152,166,.10);
}

.chamber::before {
  content: "";
  position: absolute;
  inset: 5vh 4vw;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(141,152,166,.06), transparent 48%),
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0,240,255,.11), transparent 18rem);
  border: 1px solid rgba(231,237,244,.06);
  transform: translateY(var(--stage-y, 0px));
}

.fog {
  position: absolute;
  inset: -20%;
  z-index: -3;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(141,152,166,.20), transparent 30%),
    radial-gradient(ellipse at 70% 55%, rgba(42,48,58,.72), transparent 34%);
  filter: blur(18px);
}

.wordmark-wrap {
  position: relative;
  transform: translateY(var(--parallax-y, 0px)) scale(var(--hero-scale, 1));
}

.wordmark {
  margin: 0;
  font-family: var(--garamond);
  font-size: clamp(5.8rem, 19vw, 19rem);
  font-weight: 500;
  letter-spacing: -.08em;
  line-height: .75;
  color: rgba(231,237,244,.90);
  text-shadow: 0 0 54px rgba(141,152,166,.18);
}

.dot-letter { position: relative; display: inline-block; }
.ownership-dot {
  position: absolute;
  right: .08em;
  top: .08em;
  width: .15em;
  height: .15em;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 30px var(--magenta), inset -3px -4px 8px rgba(255,46,219,.65);
  animation: pulseDot 1.35s infinite cubic-bezier(.2,.8,.1,1);
}

.corner-note, .lot-label, .prose-note, .owner-text, .final-receipt {
  font-family: var(--space);
  color: var(--fog);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: clamp(.72rem, 1vw, .92rem);
}

.corner-note {
  position: absolute;
  left: clamp(4rem, 14vw, 14rem);
  bottom: 13vh;
  max-width: 22rem;
  transform: translateY(var(--parallax-y, 0px));
}

.runaway-tab {
  position: fixed;
  left: var(--tab-x, 62vw);
  top: var(--tab-y, 74vh);
  z-index: 36;
  padding: .65rem .85rem;
  border: 1px solid var(--tangerine);
  color: var(--tangerine);
  background: rgba(16,20,27,.72);
  box-shadow: 0 0 22px rgba(255,122,26,.28);
  text-transform: uppercase;
  letter-spacing: .13em;
  cursor: pointer;
  transform: rotate(-3deg);
  transition: transform .18s ease, left .28s ease, top .28s ease;
}

.runaway-tab:hover { transform: rotate(4deg) scale(1.03); }

.stamp, .counterfeit-seal, .neon-annotation, .peel-label {
  font-family: var(--archivo);
  text-transform: uppercase;
}

.loud {
  color: var(--magenta);
  text-shadow: 3px 0 0 var(--cyan), 0 0 24px rgba(255,46,219,.45);
  letter-spacing: .05em;
}

.stamp-ping {
  position: absolute;
  right: 10vw;
  bottom: 20vh;
  font-size: clamp(2rem, 5vw, 5rem);
  animation: stampMisregister 2.6s infinite steps(2, end);
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 22%, rgba(231,237,244,.88) 0 3%, transparent 11%),
    radial-gradient(circle at 65% 72%, rgba(255,46,219,.30), transparent 25%),
    radial-gradient(circle at 35% 35%, rgba(0,240,255,.16), rgba(231,237,244,.04) 48%, rgba(42,48,58,.24) 70%);
  border: 1px solid rgba(0,240,255,.56);
  box-shadow: inset -18px -20px 38px rgba(16,20,27,.55), 0 0 32px rgba(0,240,255,.28), 0 0 60px rgba(255,46,219,.12);
  transform: translate3d(var(--repel-x, 0px), var(--repel-y, 0px), 0) translateY(var(--float-y, 0px));
  transition: transform .22s ease-out, filter .22s ease-out;
  animation: bob 4.8s ease-in-out infinite;
}

.bubble::after {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: inherit;
  border-top: 2px solid rgba(231,237,244,.50);
  border-right: 2px solid rgba(255,46,219,.18);
  filter: blur(.2px);
}

.bubble.popped {
  animation: pop .42s ease forwards;
}

.tiny-bubble { width: 44px; height: 44px; }
.hero-dot { left: 57vw; top: 38vh; }

.capsule-stage {
  position: relative;
  width: min(72vw, 850px);
  height: 55vh;
  transform: translateY(var(--parallax-y, 0px));
}

.artifact-bubble.big {
  width: clamp(17rem, 28vw, 30rem);
  height: clamp(17rem, 28vw, 30rem);
  left: 50%;
  top: 50%;
  translate: -50% -50%;
}

.artifact-bubble.side { width: 9rem; height: 9rem; top: 8%; left: 8%; animation-delay: -1.2s; }
.artifact-bubble.side.mag { top: 58%; left: auto; right: 4%; border-color: var(--magenta); animation-delay: -2.3s; }
.artifact {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--paper);
  font-family: var(--garamond);
  font-size: clamp(3rem, 8vw, 9rem);
  text-shadow: 0 0 20px var(--cyan), 0 0 34px var(--magenta);
}
.tag, .coin { font-family: var(--archivo); font-size: 2.2rem; color: var(--green); }
.key { color: var(--tangerine); }

.lot-label {
  position: absolute;
  top: 18vh;
  left: 18vw;
  padding: .8rem 1rem;
  border: 1px solid rgba(231,237,244,.18);
  background: rgba(16,20,27,.68);
  transform: translateY(var(--parallax-y, 0px)) rotate(-2deg);
}
.lot-label em { color: var(--paper); font-family: var(--garamond); text-transform: none; font-size: 1.55rem; letter-spacing: 0; }

.scene-title {
  position: absolute;
  max-width: 58rem;
  margin: 0;
  font-family: var(--garamond);
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: .86;
  color: rgba(231,237,244,.92);
  transform: translateY(var(--parallax-y, 0px));
  text-wrap: balance;
}
.seal-chamber .scene-title { right: 7vw; bottom: 11vh; text-align: right; }
.scene-title.wide { top: 10vh; left: 11vw; right: 8vw; max-width: none; color: var(--paper); }

.capsule-slot {
  position: absolute;
  left: 50%;
  bottom: 8vh;
  width: min(70vw, 560px);
  height: 18px;
  border-radius: 999px;
  background: #07090d;
  box-shadow: inset 0 4px 12px black, 0 0 28px rgba(0,240,255,.24);
}

.torn-paper {
  width: min(72vw, 640px);
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 5rem 3rem;
  color: var(--vault);
  background:
    linear-gradient(90deg, transparent 0 12px, rgba(16,20,27,.16) 12px 14px, transparent 14px),
    var(--paper);
  clip-path: polygon(3% 0, 97% 1%, 94% 9%, 99% 15%, 95% 25%, 100% 36%, 95% 48%, 99% 60%, 94% 73%, 98% 84%, 94% 100%, 5% 99%, 1% 90%, 6% 79%, 2% 67%, 7% 52%, 2% 39%, 6% 26%, 1% 12%);
  box-shadow: 0 28px 80px rgba(0,0,0,.44), 0 0 60px rgba(255,46,219,.13);
  transform: translateY(var(--parallax-y, 0px)) rotate(-1deg);
}

.torn-paper span {
  display: block;
  font-family: var(--space);
  text-transform: uppercase;
  letter-spacing: .18em;
  border-bottom: 1px dashed rgba(16,20,27,.35);
  padding-bottom: .7rem;
}
.torn-paper span:first-child { font-family: var(--garamond); font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -.04em; text-transform: none; }

.receipt-ghost {
  position: absolute;
  right: 7vw;
  top: 16vh;
  font-family: var(--garamond);
  font-style: italic;
  font-size: clamp(3.3rem, 9vw, 10rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(141,152,166,.45);
  transform: translateY(var(--parallax-y, 0px));
}

.counterfeit-seal {
  position: absolute;
  right: 22vw;
  bottom: 19vh;
  color: var(--magenta);
  border: .38rem solid currentColor;
  padding: .7rem 1.1rem;
  font-size: clamp(2rem, 5vw, 5rem);
  transform: translate(var(--stamp-x, 0px), var(--stamp-y, 0px)) rotate(-12deg);
  mix-blend-mode: screen;
  text-shadow: 0 0 18px currentColor;
}
.prose-note { position: absolute; left: 12vw; bottom: 10vh; max-width: 26rem; }

.swear-ring {
  position: relative;
  width: min(78vw, 760px);
  height: min(78vw, 760px);
  transform: translateY(var(--parallax-y, 0px));
}
.oath-bubble {
  width: 58%;
  height: 58%;
  left: 21%;
  top: 23%;
  border-color: var(--green);
  box-shadow: inset -18px -20px 44px rgba(16,20,27,.60), 0 0 50px rgba(182,255,0,.35), 0 0 90px rgba(255,46,219,.18);
}
.neon-annotation { position: absolute; color: var(--tangerine); text-shadow: 0 0 18px var(--tangerine); }
.a1 { left: 4%; top: 44%; transform: rotate(-14deg); }
.a2 { right: 5%; top: 24%; color: var(--magenta); font-size: 3rem; transform: rotate(10deg); }
.a3 { right: 8%; bottom: 18%; color: var(--cyan); transform: rotate(-4deg); }

.barcode-confetti i {
  position: absolute;
  width: 3px;
  height: 42px;
  background: var(--paper);
  opacity: .55;
  top: calc(10% + var(--i, 1) * 9%);
  left: calc(7% + var(--i, 1) * 10%);
  transform: rotate(calc(var(--i, 1) * 11deg));
  box-shadow: 8px 0 0 rgba(231,237,244,.38), 14px 0 0 rgba(0,240,255,.45);
}
.barcode-confetti i:nth-child(1) { --i: 1; } .barcode-confetti i:nth-child(2) { --i: 2; } .barcode-confetti i:nth-child(3) { --i: 3; } .barcode-confetti i:nth-child(4) { --i: 4; } .barcode-confetti i:nth-child(5) { --i: 5; } .barcode-confetti i:nth-child(6) { --i: 6; } .barcode-confetti i:nth-child(7) { --i: 7; } .barcode-confetti i:nth-child(8) { --i: 8; }

.empty-plinth {
  width: min(60vw, 620px);
  height: min(36vw, 330px);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,240,255,.20), transparent 58%);
  border-bottom: 2px solid rgba(231,237,244,.32);
  transform: translateY(var(--parallax-y, 0px));
}
.owner-chamber .scene-title { top: 18vh; left: 14vw; }
.owner-text { position: absolute; right: 10vw; bottom: 25vh; max-width: 24rem; }
.peel-label {
  position: absolute;
  right: 12vw;
  bottom: 14vh;
  padding: .9rem 1.2rem;
  color: var(--vault);
  background: var(--green);
  transform: perspective(420px) rotateX(var(--peel, 22deg)) rotate(-3deg);
  box-shadow: 0 20px 34px rgba(0,0,0,.32);
}
.small { width: 8rem; height: 8rem; }
.small.left { left: 16vw; bottom: 15vh; }
.small.right { right: 20vw; top: 20vh; animation-delay: -1.8s; }
.duck, .bust { font-size: 3.2rem; }

.glow-chamber { min-height: 120vh; }
.final-halo {
  width: min(78vw, 820px);
  height: min(78vw, 820px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,240,255,.28), rgba(255,46,219,.20) 27%, rgba(182,255,0,.06) 45%, transparent 68%);
  filter: blur(4px);
  transform: translateY(var(--parallax-y, 0px));
  animation: breathe 4.2s ease-in-out infinite;
}
.final-line {
  position: absolute;
  margin: 0;
  font-family: var(--garamond);
  font-size: clamp(4rem, 12vw, 13rem);
  font-weight: 500;
  line-height: .82;
  text-align: center;
  transform: translateY(var(--parallax-y, 0px));
}
.final-line em { color: var(--green); }
.final-receipt { position: absolute; bottom: 14vh; max-width: 48rem; text-align: center; }
.final-stamp { position: absolute; right: 10vw; top: 21vh; font-size: clamp(3rem, 9vw, 9rem); transform: rotate(11deg); animation: stampMisregister 2.1s infinite steps(2, end); }

@keyframes pulseDot {
  0%, 100% { transform: scale(.82); filter: brightness(1); }
  48% { transform: scale(1.35); filter: brightness(1.7); }
}

@keyframes bob {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -18px; }
}

@keyframes stampMisregister {
  0%, 70%, 100% { translate: 0 0; filter: hue-rotate(0deg); }
  72% { translate: 5px -3px; filter: hue-rotate(40deg); }
  74% { translate: -4px 2px; }
}

@keyframes breathe {
  0%, 100% { scale: .92; opacity: .65; }
  50% { scale: 1.05; opacity: 1; }
}

@keyframes pop {
  0% { scale: 1; opacity: 1; border-radius: 50%; }
  65% { scale: 1.18 .18; opacity: .8; border-radius: 44%; }
  100% { scale: 0; opacity: 0; border-radius: 50%; }
}

@media (max-width: 760px) {
  .stamp-tabs { left: 1rem; right: 1rem; justify-content: flex-start; }
  .receipt-spine { left: .7rem; opacity: .72; }
  .chamber { padding: 7rem 1.2rem; }
  .corner-note, .lot-label, .prose-note, .owner-text, .final-receipt { left: 4rem; right: 1rem; }
  .seal-chamber .scene-title, .owner-chamber .scene-title { left: 4rem; right: 1rem; text-align: left; }
  .runaway-tab { position: absolute; left: 35vw; top: 78vh; }
  .torn-paper { width: 86vw; padding: 4rem 1.6rem; }
}
