/* Trybal Games v6: Choose Your Game. Six colours, one card, one badge. */
:root {
  --ink: #13112e;
  --cobalt: #2338ff;
  --paper: #fff5e4;
  --sun: #ffcf3a;
  --hot: #ff4f74;
  --mint: #2ee6a8;

  --f-d: "Unbounded", "Unbounded Fb", "Arial Black", system-ui, sans-serif;
  --f-b: "Figtree", "Figtree Fb", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gut: clamp(16px, 4.5vw, 72px);
  color-scheme: light;
}

/* Fallbacks sized to match the web fonts, so the swap doesn't move the page. */
@font-face { font-family: "Unbounded Fb"; src: local("Arial Black"), local("ArialMT-Black"); size-adjust: 118%; }
@font-face { font-family: "Figtree Fb"; src: local("Arial"), local("ArialMT"); size-adjust: 96%; }

@property --mx { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --my { syntax: "<percentage>"; inherits: true; initial-value: 40%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html.motion { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cobalt); color: var(--paper);
  font: 400 17px/1.5 var(--f-b); overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--f-d); font-weight: 900; line-height: .95; letter-spacing: -.02em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.dim { opacity: .65; font-weight: 400; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 800; }
.skip:focus { top: 12px; }

.kicker {
  font: 800 12px/1.2 var(--f-d); letter-spacing: .16em; text-transform: uppercase;
  color: var(--sun);
}
.badge { --b-out: var(--sun); --b-in: var(--ink); width: 100%; height: 100%; }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--sun); color: var(--ink); text-decoration: none;
  font: 800 15px/1 var(--f-d); letter-spacing: -.01em;
  box-shadow: 0 4px 0 var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.pill:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.pill-xl { min-height: 58px; padding: 0 30px; font-size: 17px; }
.ghost {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px;
  border-radius: 999px; border: 2px solid currentColor; background: transparent;
  font: 800 15px/1 var(--f-d); text-decoration: none;
}
.ghost:hover { background: rgb(255 255 255 / .1); }
.ghost-ink { color: var(--ink); }
.ghost-ink:hover { background: rgb(19 17 46 / .06); }
.play { width: 26px; height: 26px; border-radius: 50%; background: var(--hot); position: relative; flex: none; }
.play::after { content: ""; position: absolute; left: 10px; top: 7px; border: 6px solid transparent; border-left: 9px solid var(--paper); border-right: 0; }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gut); transition: background .3s, box-shadow .3s, padding .3s;
}
.top.scrolled { background: rgb(19 17 46 / .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .badge { width: 46px; height: 46px; transition: transform .6s var(--spring); }
.brand:hover .badge { transform: rotate(-24deg) scale(1.06); }
.brand-word { font: 900 13px/1 var(--f-d); text-transform: uppercase; letter-spacing: .02em; }
.top-right { display: flex; align-items: center; gap: 10px; }
.rares {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px;
  border: 2px solid rgb(255 245 228 / .35); background: rgb(19 17 46 / .35);
  font: 800 12px/1 var(--f-d); letter-spacing: .04em; text-transform: uppercase;
}
.pips { display: flex; gap: 3px; }
.pips i { width: 9px; height: 13px; border-radius: 2px; border: 1.5px solid currentColor; opacity: .7; transition: background .3s, transform .4s var(--spring); }
.pips i.on { background: var(--sun); border-color: var(--sun); opacity: 1; transform: rotate(-8deg) scale(1.15); }
.rares.bump { animation: bump .6s var(--spring); }
@keyframes bump { 40% { transform: scale(1.18) rotate(-3deg); } }
.pill-book { min-height: 42px; font-size: 14px; }
.menu-btn {
  display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 14px; border-radius: 999px;
  background: var(--paper); color: var(--ink); border: 0; font: 800 13px/1 var(--f-d); text-transform: uppercase; letter-spacing: .04em;
}
.menu-lines { display: grid; gap: 5px; width: 18px; }
.menu-lines i { height: 2.5px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.menu-btn:hover .menu-lines i:first-child { transform: translateX(3px); }

/* ---------- Holo card (the motif) ---------- */
.tcard {
  --w: 300px; --panel: var(--paper); --pt: var(--ink);
  position: relative; width: var(--w); aspect-ratio: 63 / 88; container-type: inline-size;
  perspective: 1400px; color: var(--pt);
}
.tcard.night { --panel: #1d1a44; --pt: var(--paper); }
.tc-in {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateY(var(--flip, 0deg)) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform .5s var(--ease);
}
.tcard.live .tc-in { transition: transform .08s linear; }
.tc-face {
  position: absolute; inset: 0; border-radius: 4.8cqw; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--c);
  box-shadow: inset 0 0 0 .7cqw rgb(255 255 255 / .35), 0 3cqw 8cqw rgb(5 4 30 / .45);
}
.tc-back {
  transform: rotateY(180deg); display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 5cqw, rgb(255 255 255 / .09) 5cqw 5.6cqw),
    repeating-linear-gradient(-45deg, transparent 0 5cqw, rgb(255 255 255 / .09) 5cqw 5.6cqw),
    var(--cobalt);
  box-shadow: inset 0 0 0 3cqw var(--sun), inset 0 0 0 4cqw var(--ink), 0 3cqw 8cqw rgb(5 4 30 / .45);
}
.tc-back .badge { width: 56cqw; height: 56cqw; filter: drop-shadow(0 1.5cqw 0 var(--ink)); }
.tc-panel {
  position: absolute; inset: 3.4cqw; z-index: 1; display: flex; flex-direction: column; gap: 2.4cqw;
  padding: 3.4cqw; border-radius: 2.8cqw; background: var(--panel);
}
.tc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 2cqw; }
.tc-name { font: 900 6.6cqw/1 var(--f-d); letter-spacing: -.03em; white-space: nowrap; }
.tc-no { font: 800 3.2cqw/1 var(--f-d); opacity: .6; letter-spacing: .06em; }
.tc-art {
  position: relative; aspect-ratio: 1.12; border-radius: 2.2cqw; overflow: hidden;
  background: var(--ink); box-shadow: 0 0 0 .9cqw var(--c), 0 0 0 1.4cqw var(--pt);
  margin: 1.2cqw;
}
.tc-art img, .tc-art video { width: 100%; height: 100%; object-fit: cover; }
.tc-video { object-position: 55% 50%; }
.tc-live {
  position: absolute; left: 2.4cqw; top: 2.4cqw; z-index: 2; display: flex; align-items: center; gap: 1.4cqw;
  padding: 1.2cqw 2.4cqw; border-radius: 99px; background: var(--ink); color: var(--paper);
  font: 800 2.7cqw/1 var(--f-d); letter-spacing: .08em; text-transform: uppercase;
}
.tc-live::before { content: ""; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--hot); animation: rec 1.2s infinite; }
@keyframes rec { 50% { opacity: .25; } }
.tc-type {
  font: 700 2.9cqw/1.2 var(--f-d); text-transform: uppercase; letter-spacing: .05em;
  padding: 1.6cqw 2.4cqw; border-radius: 1.4cqw; background: color-mix(in srgb, var(--c) 30%, transparent);
}
.tcard.night .tc-type { background: rgb(255 207 58 / .18); color: var(--sun); }
.tc-stats { margin-top: auto; display: grid; }
.tc-stats li {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr auto; gap: 1cqw; align-items: center;
  padding: 1.5cqw 1.6cqw; font: 600 3.3cqw/1 var(--f-b); border-top: .35cqw dashed color-mix(in srgb, var(--pt) 30%, transparent);
}
.tc-stats li span:first-child { font-weight: 800; }
.tc-stats b { font: 900 4cqw/1 var(--f-d); }
.tc-stats li.hot { background: color-mix(in srgb, var(--c) 35%, transparent); border-radius: 1.4cqw; border-top-color: transparent; }
.tc-stats li.hot + li { border-top-color: transparent; }

.foil, .glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
/* The rainbow is an oversized layer that only ever moves by transform, so the
   auto-sweep runs on the compositor instead of repainting every frame. */
.foil { overflow: hidden; mix-blend-mode: color-dodge; opacity: .6; }
.foil::before {
  content: ""; position: absolute; left: -100%; top: -100%; width: 300%; height: 300%;
  background:
    repeating-linear-gradient(65deg, transparent 0 7px, rgb(255 255 255 / .22) 7px 8px),
    repeating-linear-gradient(115deg, #ff7aa8 0, #ffd66e 9%, #7dffc6 18%, #7ab8ff 27%, #c99bff 36%, #ff7aa8 45%);
  transform: translate3d(calc((var(--mx) - 50%) * -.5), calc((var(--my) - 50%) * -.5), 0);
}
.foil-art { z-index: 1; opacity: .32; }
.glare {
  z-index: 3;
  background: radial-gradient(farthest-corner circle at var(--mx) var(--my), rgb(255 255 255 / .55), rgb(255 255 255 / .12) 22%, transparent 52%);
  mix-blend-mode: soft-light;
}
.tc-pop {
  position: absolute; z-index: 4; width: 34%; height: auto; right: -9%; top: 14%;
  transform: translateZ(60px) rotate(14deg); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  filter: drop-shadow(0 10px 14px rgb(5 4 30 / .45)); pointer-events: none;
}
.pop-car { width: 44%; right: -16%; top: 48%; transform: translateZ(70px) rotate(-8deg); }
.pop-beaker { width: 30%; right: -10%; top: 9%; }
.pop-lantern { width: 30%; right: -9%; top: -4%; transform: translateZ(60px) rotate(6deg); transform-origin: 50% 0; }

/* Lite devices: same look, no blend math. */
.lite .foil { mix-blend-mode: normal; opacity: .14; }
.lite .foil::before { animation: none !important; }
.lite .foil-art { display: none; }
.lite .glare { mix-blend-mode: normal; opacity: .5; }

/* Touch screens: the foil sweeps on its own (transform only). */
.auto .tcard:not(.live) .foil::before, .auto .pack-hot .foil::before,
.toast .mini .foil::before, .rain .foil::before { animation: foil-sweep 7s ease-in-out infinite; }
.auto .fan-card:nth-child(2) .foil::before { animation-delay: -1.7s; }
.auto .fan-card:nth-child(3) .foil::before { animation-delay: -3.4s; }
.auto .fan-card:nth-child(4) .foil::before { animation-delay: -5.1s; }
.toast .mini .foil::before, .rain .foil::before { animation-duration: 1.6s; }
@keyframes foil-sweep {
  0%, 100% { transform: translate3d(22%, 18%, 0); }
  50% { transform: translate3d(-22%, -18%, 0); }
}

.foil-text {
  background: linear-gradient(105deg, var(--sun) 0 30%, #ffffff 40%, var(--mint) 50%, #9fb0ff 58%, var(--hot) 68%, var(--sun) 80%);
  background-size: 260% 100%; background-position: var(--mx) 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* One sweep on arrival, then it follows the pointer or the phone's tilt. */
.motion .foil-text, .motion .pack-hot.seen .pack-price { animation: text-sweep 2.2s var(--ease) .5s 1 backwards; }
@keyframes text-sweep { from { background-position: 100% 50%; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 2vw;
  padding: 110px var(--gut) 70px; overflow: hidden; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 75% 45%, rgb(255 255 255 / .16), transparent 70%),
    repeating-linear-gradient(45deg, transparent 0 38px, rgb(255 255 255 / .045) 38px 40px),
    repeating-linear-gradient(-45deg, transparent 0 38px, rgb(255 255 255 / .045) 38px 40px);
}
.hero-title { font-size: clamp(64px, 9.6vw, 168px); line-height: .86; letter-spacing: -.045em; margin: 18px 0 26px; }
.hero-title span { display: block; }
.ht-c { padding-bottom: .08em; }
.hero-lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; max-width: 30ch; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-small { margin-top: 18px; font-size: 14px; opacity: .8; }

.hero-fan-wrap { position: relative; display: grid; justify-items: center; gap: 26px; }
.fan {
  --w: clamp(250px, 23vw, 370px);
  position: relative; width: calc(var(--w) * 1.7); height: calc(var(--w) * 1.48);
  perspective: 1600px; touch-action: pan-y;
}
.fan-tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
.fan-card {
  position: absolute; left: 50%; top: 0; margin-left: calc(var(--w) / -2);
  transform-origin: 50% 110%; transition: transform .7s var(--spring), filter .4s; cursor: pointer;
  transform: var(--t);
}
.fan-card .tcard { --w: inherit; width: var(--w); }
.fan-card[data-pos="0"] { --t: translate3d(0, 2%, 0) rotate(-2deg); z-index: 4; cursor: default; }
.fan-card[data-pos="1"] { --t: translate3d(-34%, 0, 0) rotate(-15deg) scale(.9); z-index: 3; }
.fan-card[data-pos="2"] { --t: translate3d(30%, -2%, 0) rotate(11deg) scale(.9); z-index: 2; }
.fan-card[data-pos="3"] { --t: translate3d(52%, 6%, 0) rotate(24deg) scale(.84); z-index: 1; }
.fan-card:not([data-pos="0"]) { filter: saturate(.9) brightness(.92); }
.fan-card:not([data-pos="0"]):hover { filter: none; }
.fan-card[data-pos="1"]:hover { --t: translate3d(-38%, -5%, 0) rotate(-17deg) scale(.92); }
.fan-card[data-pos="2"]:hover { --t: translate3d(34%, -7%, 0) rotate(13deg) scale(.92); }
.fan-card[data-pos="3"]:hover { --t: translate3d(56%, 1%, 0) rotate(26deg) scale(.86); }
.motion .fan-card { animation: deal-in .9s var(--spring) both; }
.motion .fan-card[data-pos="1"] { animation-delay: .12s; }
.motion .fan-card[data-pos="2"] { animation-delay: .22s; }
.motion .fan-card[data-pos="3"] { animation-delay: .32s; }
@keyframes deal-in { from { transform: translate3d(0, 6%, 0) rotate(0) scale(.96); } }
.hero-seal { position: absolute; z-index: 5; width: 112px; height: 112px; right: 4%; top: -4%; --b-in: var(--hot); filter: drop-shadow(0 8px 14px rgb(5 4 30 / .35)); pointer-events: none; }
.motion .hero-seal { animation: seal-spin 16s linear infinite; }
.fan-pick { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.fan-pick button {
  border: 2px solid rgb(255 245 228 / .4); background: transparent; border-radius: 999px; padding: 8px 14px;
  font: 800 12px/1 var(--f-d); text-transform: uppercase; letter-spacing: .04em;
}
.fan-pick button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0; display: flex; align-items: center; gap: 10px;
  font: 800 11px/1 var(--f-d); letter-spacing: .16em; text-transform: uppercase; opacity: .75;
}
.scroll-cue i { width: 14px; height: 20px; border-radius: 3px; border: 2px solid currentColor; position: relative; }
.motion .scroll-cue i { animation: cue 1.6s var(--ease) infinite; }
@keyframes cue { 50% { transform: translateY(5px) rotate(12deg); } }

/* Easter-egg buttons */
.egg { position: absolute; border: 0; background: none; padding: 6px; z-index: 6; -webkit-tap-highlight-color: transparent; }
.egg img { width: 100%; height: auto; pointer-events: none; filter: drop-shadow(0 6px 8px rgb(5 4 30 / .35)); }
.motion .egg:not(.found) { animation: nudge 5s ease-in-out infinite; }
@keyframes nudge { 0%, 86%, 100% { transform: rotate(0); } 90% { transform: rotate(-12deg) scale(1.06); } 95% { transform: rotate(9deg); } }
.egg.found { opacity: .9; }
.egg-bow { width: 70px; left: 2%; bottom: -2%; rotate: -58deg; }
.flying-arrow { position: fixed; z-index: 120; width: 110px; pointer-events: none; }

/* ---------- Bands ---------- */
.band {
  height: 40px;
  background: conic-gradient(from 45deg, var(--sun) 25%, var(--cobalt) 0 50%, var(--sun) 0 75%, var(--cobalt) 0) 0 0 / 40px 40px;
}
.band-ink { background: conic-gradient(from 45deg, var(--paper) 25%, var(--ink) 0 50%, var(--paper) 0 75%, var(--ink) 0) 0 0 / 40px 40px; }

/* ---------- Deck: static (no JS / reduced motion) ---------- */
.deck { position: relative; background: var(--cobalt); }
.deck-intro { padding: 80px var(--gut) 20px; }
.deck-intro h2 { font-size: clamp(40px, 6vw, 88px); margin-top: 14px; }
.deck-sub { margin-top: 18px; max-width: 46ch; font-size: 18px; }
.beats { padding: 20px var(--gut) 80px; display: grid; gap: 70px; }
.beat { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.beat-num { font: 800 13px/1 var(--f-d); letter-spacing: .18em; text-transform: uppercase; color: var(--c); }
.beat h3 { font-size: clamp(38px, 5.4vw, 84px); margin: 14px 0 16px; }
.beat .hook { font-size: clamp(17px, 1.4vw, 21px); max-width: 34ch; font-weight: 600; }
.facts { margin-top: 18px; display: grid; gap: 8px; }
.facts li { padding-left: 26px; position: relative; font-size: 16px; }
.facts li::before { content: ""; position: absolute; left: 0; top: 4px; width: 13px; height: 17px; border-radius: 3px; background: var(--c); transform: rotate(-10deg); }
.beat-link { display: inline-block; margin-top: 22px; font: 800 15px/1 var(--f-d); text-decoration-thickness: 2px; text-underline-offset: 6px; color: var(--paper); }
.beat-card .tcard { --w: min(360px, 78vw); }
.rail, .deck-outro { display: none; }

/* ---------- Deck: pinned and dealt ---------- */
.motion .deck-track { height: 560vh; }
.motion .deck-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.motion .deck-stage::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 64% 50%, rgb(255 255 255 / .14), transparent 70%);
}
.motion .deck-intro, .motion .deck-outro { position: absolute; left: var(--gut); top: 50%; width: 40vw; padding: 0; translate: 0 -60%; }
.motion .deck-outro { display: block; opacity: 0; }
.outro-title { font: 900 clamp(40px, 5vw, 76px)/.95 var(--f-d); letter-spacing: -.03em; margin: 14px 0 28px; }
.motion .beats { padding: 0; display: block; }
.motion .beat { position: absolute; inset: 0; display: block; pointer-events: none; }
.motion .beat-text { position: absolute; left: var(--gut); top: 50%; width: min(40vw, 560px); translate: 0 -62%; opacity: 0; }
.motion .beat.is-on .beat-text { pointer-events: auto; }
.motion .beat-card {
  --ch: min(74svh, 640px); --cw: calc(var(--ch) * .716);
  position: absolute; left: calc(64% - var(--cw) / 2); top: calc(50% - var(--ch) / 2 + 26px);
  width: var(--cw); height: var(--ch); will-change: transform; transform-origin: 50% 50%;
}
.motion .beat-card .tcard { --w: var(--cw); }
.motion .beat.is-on .beat-card { pointer-events: auto; }
.motion .tc-in { transition: none; }
.motion .beat.is-on .tc-in { transition: transform .12s linear; }
.motion .rail { display: flex; align-items: center; gap: 16px; position: absolute; left: var(--gut); bottom: 5vh; }
.rail-label { font: 800 12px/1.1 var(--f-d); letter-spacing: .12em; text-transform: uppercase; width: 5em; }
.rail-slots { display: flex; gap: 12px; }
.slot {
  width: 64px; aspect-ratio: 63 / 88; border-radius: 8px; border: 2px dashed rgb(255 245 228 / .45);
  background: rgb(19 17 46 / .25); display: grid; place-items: center; position: relative; padding: 0;
  font: 800 14px/1 var(--f-d); color: rgb(255 245 228 / .6);
}
.slot::after {
  content: ""; position: absolute; inset: -10px; border-radius: 14px; border: 3px solid var(--sun); opacity: 0; transform: scale(.7);
}
.slot.locked { border-color: transparent; }
.slot.locked::after { animation: lock .55s var(--ease); }
@keyframes lock { 0% { opacity: 1; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.5); } }
.motion .beat.is-active .tc-art img { animation: kenburns 9s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.05) translate(-2%, 1%); } to { transform: scale(1.18) translate(3%, -2%); } }
.motion .beat.is-active .pop-car { animation: zoom 2.6s var(--ease) infinite; }
@keyframes zoom { 0% { translate: 0 0; } 40% { translate: -18% 0; } 55% { translate: -16% -3%; } 100% { translate: 0 0; } }
.motion .beat.is-active .pop-beaker { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -8%; rotate: -6deg; } }
.motion .beat.is-active .pop-lantern { animation: swing 3s ease-in-out infinite; }
@keyframes swing { 0%, 100% { rotate: -6deg; } 50% { rotate: 8deg; } }
.motion .beat.is-active .tc-pop:not(.pop-car):not(.pop-beaker):not(.pop-lantern) { animation: bob 2.6s ease-in-out infinite; }

/* ---------- How ---------- */
.how { background: var(--paper); color: var(--ink); padding: 56px var(--gut); display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: start; }
.how .kicker { color: var(--cobalt); font-size: 13px; padding-top: 10px; }
.how-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 18px; font-weight: 600; line-height: 1.35; }
.how-n {
  flex: none; width: 44px; height: 58px; border-radius: 8px; display: grid; place-items: center;
  background: var(--cobalt); color: var(--paper); font: 900 22px/1 var(--f-d); box-shadow: 3px 3px 0 var(--ink); rotate: -5deg;
}

/* ---------- Section heads ---------- */
.sec-head { max-width: 900px; }
.sec-head h2 { font-size: clamp(40px, 6vw, 92px); margin-top: 14px; }
.sec-sub { margin-top: 18px; font-size: 18px; max-width: 52ch; }

/* ---------- Prices ---------- */
.prices { background: var(--paper); color: var(--ink); padding: 40px var(--gut) 90px; }
.prices .kicker { color: var(--cobalt); }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 36px); margin-top: 56px; align-items: center; }
.pack {
  --zz: 14px;
  position: relative; padding: 46px 30px 44px; background: var(--c); color: var(--ink); isolation: isolate;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--zz) 51% repeat-x,
                conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--zz) 51% repeat-x;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--zz) 51% repeat-x,
                conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--zz) 51% repeat-x;
  transition: transform .4s var(--spring);
}
.pack::before { content: ""; position: absolute; inset: 16px 12px; border: 2px dashed rgb(19 17 46 / .35); border-radius: 6px; z-index: -1; }
.pack:hover { transform: translateY(-6px) rotate(-.6deg); }
.pack-hot { padding-block: 66px 62px; transform: rotate(-1.5deg); background: var(--ink); color: var(--paper); }
.pack-hot::before { border-color: rgb(255 207 58 / .5); }
.pack-hot:hover { transform: rotate(-1.5deg) translateY(-6px); }
.pack-hot .foil { z-index: -1; opacity: .5; }
.pack-hot .pack-name { color: var(--sun); }
.pack-hot .pack-price { background: linear-gradient(105deg, var(--sun) 0 30%, #fff 42%, var(--mint) 52%, #9fb0ff 62%, var(--hot) 72%, var(--sun) 84%); background-size: 260% 100%; background-position: var(--mx) 50%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.pack-hot .pack-stats li { background: var(--paper); color: var(--ink); }
.pack-hot .pack-btn { background: var(--sun); color: var(--ink); }
.seal { position: absolute; right: 10px; top: 12px; width: 112px; height: 112px; display: grid; place-items: center; rotate: 10deg; }
.seal .badge { position: absolute; inset: 0; --b-out: var(--sun); --b-in: var(--hot); }
.seal > span { position: relative; z-index: 1; width: 62px; height: 62px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; text-align: center; font: 900 10.5px/1.05 var(--f-d); text-transform: uppercase; letter-spacing: .01em; }
.motion .seal { animation: seal-spin 14s linear infinite; }
@keyframes seal-spin { to { rotate: 370deg; } }
.pack-name { font: 900 15px/1 var(--f-d); text-transform: uppercase; letter-spacing: .14em; }
.pack-price { font: 900 clamp(64px, 6.6vw, 104px)/.9 var(--f-d); letter-spacing: -.05em; margin-top: 14px; }
.pack-price .cur { font-size: .45em; vertical-align: .9em; margin-right: .04em; }
.pack-unit { font-weight: 800; font-size: 15px; }
.pack-stats { display: flex; gap: 10px; margin: 20px 0 16px; flex-wrap: wrap; }
.pack-stats li { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 7px 12px; font-size: 14px; }
.pack-stats b { font-family: var(--f-d); }
.pack-inc { display: grid; gap: 6px; font-size: 16px; font-weight: 600; }
.pack-inc li::before { content: "✓"; font-weight: 900; margin-right: 8px; }
.pack-btn {
  display: inline-flex; margin-top: 24px; min-height: 48px; align-items: center; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font: 800 14px/1 var(--f-d); text-decoration: none; transition: transform .2s var(--ease);
}
.pack-btn:hover { transform: translateX(4px); }
.extras { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 64px); margin-top: 70px; }
.ex-block h3 { font-size: 24px; margin: 0 0 16px; letter-spacing: -.02em; }
.ex-block h3:not(:first-child) { margin-top: 34px; }
.addon-list li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: baseline;
  padding: 12px 0; border-bottom: 2px solid rgb(19 17 46 / .12); font-weight: 600;
}
.addon-list .for { font-size: 13px; opacity: .65; text-align: right; }
.addon-list b { font: 900 18px/1 var(--f-d); min-width: 4.2em; text-align: right; }
.addon-list small { font: 700 11px var(--f-b); opacity: .7; }
.travel { display: grid; gap: 10px; }
.travel li { display: flex; gap: 14px; align-items: center; font-weight: 600; }
.travel b { flex: none; min-width: 76px; text-align: center; padding: 8px 10px; border-radius: 10px; background: var(--cobalt); color: var(--paper); font: 900 15px/1 var(--f-d); }
.deposit { margin-top: 26px; padding: 18px 20px; border-radius: 16px; background: var(--ink); color: var(--paper); font-size: 16px; }
.deposit b { color: var(--sun); }

/* ---------- Where ---------- */
.where { background: var(--ink); padding: 90px var(--gut); position: relative; overflow: hidden; }
.where .sec-head h2 { font-size: clamp(34px, 4.8vw, 72px); max-width: 18ch; }
.route-wrap { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: clamp(16px, 3vw, 48px); margin-top: 60px; }
.route { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.route-end { font: 800 11px/1 var(--f-d); text-transform: uppercase; letter-spacing: .08em; writing-mode: vertical-rl; rotate: 180deg; }
.route-line { flex: 1; width: 10px; border-radius: 10px; display: flex; flex-direction: column; overflow: hidden; }
.route-line i { display: block; }
.route-line .z1 { flex: 5; background: var(--mint); }
.route-line .z2 { flex: 1; background: var(--sun); }
.route-line .z3 { flex: 1.3; background: var(--hot); }
.egg-car { width: 76px; left: 22px; top: -38px; rotate: 90deg; }
.zones { display: grid; gap: 30px; }
.zone-tag { margin-bottom: 14px; }
.zone-tag b { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--mint); color: var(--ink); font: 900 13px/1 var(--f-d); text-transform: uppercase; letter-spacing: .06em; }
.z-2 .zone-tag b { background: var(--sun); }
.z-3 .zone-tag b { background: var(--hot); }
.regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.region { padding: 18px 20px; border-radius: 18px; background: rgb(255 245 228 / .06); border: 1.5px solid rgb(255 245 228 / .14); }
.region h3 { font-size: 17px; letter-spacing: -.01em; line-height: 1.15; margin-bottom: 8px; }
.region p { font-size: 15px; opacity: .8; line-height: 1.5; }
.fallback { font: 800 18px/1.35 var(--f-d); color: var(--sun); max-width: 34ch; }

/* ---------- Rules + review sleeves ---------- */
.rules { background: var(--cobalt); padding: 90px var(--gut); }
.rules-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.rules h2 { font-size: clamp(36px, 4.6vw, 68px); margin: 14px 0 28px; }
.rule-list { display: grid; gap: 14px; }
.rule-list li { display: flex; gap: 14px; align-items: center; font-size: 19px; font-weight: 600; }
.rule-list svg { width: 26px; height: 26px; fill: var(--sun); flex: none; }
.sleeves-note { font: 800 12px/1.2 var(--f-d); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.sleeve-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sleeve {
  aspect-ratio: 63 / 88; border-radius: 16px; border: 2.5px dashed rgb(255 245 228 / .5);
  background: linear-gradient(160deg, rgb(255 255 255 / .1), rgb(255 255 255 / .02));
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 16px; text-align: center;
}
.sleeve:nth-child(1) { rotate: -3deg; } .sleeve:nth-child(3) { rotate: 3deg; }
.sleeve span { font: 800 14px/1.25 var(--f-d); }
.sleeve small { font-size: 12px; opacity: .7; }

/* ---------- Book ---------- */
.book { background: var(--paper); color: var(--ink); padding: 90px var(--gut); }
.book .kicker { color: var(--cobalt); }
.mode { display: inline-flex; margin-top: 30px; padding: 5px; border-radius: 999px; background: var(--ink); }
.mode button { border: 0; background: transparent; color: var(--paper); border-radius: 999px; padding: 12px 20px; font: 800 14px/1 var(--f-d); min-height: 44px; }
.mode button.on { background: var(--sun); color: var(--ink); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 70px); margin-top: 34px; align-items: start; }
.steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.steps button {
  display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 16px 0 8px; border-radius: 12px;
  border: 2px solid rgb(19 17 46 / .2); background: transparent; color: #45425f; font: 700 14px/1 var(--f-b);
}
.steps b { font: 900 12px/1 var(--f-d); padding: 6px 7px; border-radius: 7px; background: rgb(19 17 46 / .08); }
.steps button[aria-current="step"] { border-color: var(--ink); color: var(--ink); background: #fff; }
.steps button[aria-current="step"] b { background: var(--cobalt); color: var(--paper); }
.steps button.done b { background: var(--mint); color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font: 900 clamp(24px, 2.6vw, 34px)/1 var(--f-d); letter-spacing: -.02em; margin-bottom: 18px; padding: 0; }
.js .step { display: none; }
.js .step.on { display: block; animation: step-in .35s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } }
.sublegend { font: 800 13px/1 var(--f-d); text-transform: uppercase; letter-spacing: .1em; margin: 26px 0 12px; }
.g-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.g-opt { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--ink); color: var(--paper); cursor: pointer; transition: transform .25s var(--spring), box-shadow .2s; box-shadow: 0 0 0 0 var(--c); }
.g-opt input, .p-opt input, .a-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.g-opt img { aspect-ratio: 1.15; object-fit: cover; width: 100%; height: auto; opacity: .85; }
.g-opt span { display: block; padding: 10px 12px; font: 800 13px/1.15 var(--f-d); background: var(--ink); }
.g-opt:hover { transform: translateY(-3px); }
.g-opt:has(input:checked) { box-shadow: 0 0 0 4px var(--c), 0 0 0 7px var(--ink); transform: translateY(-4px) rotate(-1.5deg); }
.g-opt:has(input:checked) img { opacity: 1; }
.g-opt:has(input:focus-visible), .p-opt:has(input:focus-visible), .a-pick label:has(input:focus-visible) { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.p-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.p-opt { position: relative; display: grid; gap: 4px; padding: 16px; border-radius: 16px; border: 2px solid rgb(19 17 46 / .2); background: #fff; cursor: pointer; transition: border-color .2s, transform .2s var(--spring); }
.p-opt b { font: 900 16px/1.1 var(--f-d); }
.p-opt b small { display: inline-block; font: 800 9px/1 var(--f-d); text-transform: uppercase; letter-spacing: .06em; background: var(--hot); color: var(--ink); padding: 4px 6px; border-radius: 6px; vertical-align: 2px; margin-left: 4px; }
.p-opt span { font-size: 14px; opacity: .75; }
.p-opt em { font: 900 26px/1 var(--f-d); font-style: normal; margin-top: 6px; }
.p-opt:has(input:checked) { border-color: var(--ink); background: var(--sun); transform: translateY(-3px); box-shadow: 0 4px 0 var(--ink); }
.a-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.a-pick label { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 2px solid rgb(19 17 46 / .15); background: #fff; cursor: pointer; font-weight: 600; font-size: 15px; }
.a-pick label::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--ink); background: #fff; }
.a-pick label:has(input:checked) { border-color: var(--ink); background: color-mix(in srgb, var(--mint) 35%, #fff); }
.a-pick label:has(input:checked)::before { background: var(--ink); box-shadow: inset 0 0 0 4px var(--mint); }
.a-pick label.off { display: none; }
.a-pick em { margin-left: auto; font: 800 14px/1 var(--f-d); font-style: normal; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field > span { font: 800 12px/1.2 var(--f-d); text-transform: uppercase; letter-spacing: .08em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--ink); background: #fff; color: var(--ink);
  font: 600 16px/1.3 var(--f-b);
}
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2313112e' stroke-width='2.5' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 4px rgb(35 56 255 / .3); border-color: var(--cobalt); }
.field [aria-invalid="true"] { border-color: #d6194a; box-shadow: 0 0 0 4px rgb(255 79 116 / .25); }
.field-inline { max-width: 280px; margin-top: 22px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.note { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: rgb(35 56 255 / .08); font-size: 15px; }
.err { color: #c4113f; font-weight: 700; margin-top: 12px; min-height: 1px; }
.err:empty { display: none; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.step-nav .pill:only-child { margin-left: auto; }
.review { display: grid; grid-template-columns: auto 1fr; gap: 0 18px; border-radius: 16px; background: #fff; border: 2px solid var(--ink); padding: 8px 20px; }
.review dt, .review dd { padding: 10px 0; border-bottom: 1.5px dashed rgb(19 17 46 / .16); margin: 0; }
.review dt { font: 800 12px/1.5 var(--f-d); text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.review dd { font-weight: 700; }
.review dt:nth-last-of-type(1), .review dd:last-of-type { border-bottom: 0; }
.tform-lede { font-size: 18px; font-weight: 600; max-width: 46ch; }
.done { text-align: center; padding: 40px 20px; border-radius: 24px; background: var(--ink); color: var(--paper); }
.done-badge { width: 120px; height: 120px; margin: 0 auto 20px; }
.motion .done:not([hidden]) .done-badge { animation: stamp .7s var(--spring); }
@keyframes stamp { from { transform: scale(2.4) rotate(-40deg); opacity: 0; } }
.done h3 { font-size: clamp(30px, 3.4vw, 46px); }
.done p { margin: 14px auto 24px; max-width: 46ch; }
.done .ghost-ink { color: var(--paper); }

.book-side { position: sticky; top: 90px; display: grid; gap: 16px; justify-items: center; }
.pcard-wrap { perspective: 1400px; }
.pcard { --w: 300px; }
.pcard .tc-head .tc-name { font-size: 6.2cqw; overflow: hidden; text-overflow: ellipsis; }
.pc-art { display: grid; place-items: center; background: repeating-linear-gradient(45deg, transparent 0 4cqw, rgb(255 255 255 / .08) 4cqw 4.6cqw), var(--cobalt); }
.pc-art img { position: absolute; inset: 0; }
.pc-empty { display: grid; justify-items: center; gap: 2cqw; color: var(--paper); font: 800 3.4cqw/1 var(--f-d); text-transform: uppercase; letter-spacing: .1em; }
.pc-empty .badge { width: 30cqw; height: 30cqw; }
.pc-rows { display: grid; }
.pc-rows li { display: flex; justify-content: space-between; gap: 3cqw; padding: 1.4cqw 1cqw; font-size: 3.6cqw; border-top: .35cqw dashed rgb(19 17 46 / .2); }
.pc-rows li span { font: 800 2.8cqw/1.4 var(--f-d); text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.pc-rows b { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 1.2cqw; margin-top: auto; }
.pc-chips span { font: 800 2.8cqw/1 var(--f-d); padding: 1.4cqw 2cqw; border-radius: 99px; background: var(--ink); color: var(--paper); }
.pcard .pop-in { animation: popin .45s var(--spring); }
@keyframes popin { 0% { transform: scale(.6); opacity: 0; } }
.back-stamp { position: absolute; bottom: 12%; font: 900 9cqw/1 var(--f-d); color: var(--sun); text-transform: uppercase; letter-spacing: .1em; rotate: -8deg; border: 1cqw solid var(--sun); padding: 2cqw 4cqw; border-radius: 3cqw; }
.pcard.sent .tc-in { --flip: 180deg; transition: transform .9s var(--spring); }
.total { width: 100%; max-width: 340px; padding: 18px 20px; border-radius: 18px; background: var(--ink); color: var(--paper); }
.total-lines { display: grid; gap: 4px; font-size: 14px; opacity: .85; }
.total-lines p { display: flex; justify-content: space-between; gap: 10px; }
.total-sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 1.5px dashed rgb(255 245 228 / .3); }
.total-sum span { font: 800 12px/1 var(--f-d); text-transform: uppercase; letter-spacing: .08em; }
.total-sum b { font: 900 34px/1 var(--f-d); color: var(--sun); letter-spacing: -.03em; }
.total-note { margin-top: 8px; font-size: 13px; opacity: .75; }

/* ---------- FAQ ---------- */
.faq { background: var(--cobalt); padding: 90px var(--gut); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 90px); }
.faq-head { position: relative; align-self: start; }
.faq-head h2 { font-size: clamp(40px, 5vw, 80px); margin-top: 14px; }
.egg-beaker { position: relative; width: 92px; margin-top: 30px; }
.faq-list details { border-bottom: 2px solid rgb(255 245 228 / .22); }
.faq-list summary {
  list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; cursor: pointer;
  font: 800 clamp(17px, 1.5vw, 21px)/1.25 var(--f-d); letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%2313112e' stroke-width='2.6'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .3s var(--spring);
}
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list details p { padding: 0 50px 24px 0; font-size: 17px; max-width: 60ch; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); padding: 70px var(--gut) 120px; position: relative; overflow: hidden; }
.foot-top { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.egg-badge { position: relative; width: clamp(110px, 14vw, 190px); aspect-ratio: 1; padding: 0; flex: none; }
.motion .egg-badge { animation: none; }
.egg-badge .badge { transition: transform .5s var(--spring); }
.egg-badge:hover .badge { transform: rotate(-20deg); }
.egg-badge.spin .badge { animation: spin 1s var(--spring); }
@keyframes spin { to { transform: rotate(720deg); } }
.foot-word { font: 900 clamp(56px, 13vw, 220px)/.82 var(--f-d); letter-spacing: -.05em; text-transform: uppercase; }
.foot-row { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 30px; align-items: center; margin-top: 50px; }
.foot-area { font-size: 16px; max-width: 46ch; opacity: .85; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 800 14px/1 var(--f-d); }
.foot-nav a { text-decoration: none; padding: 8px 0; }
.foot-nav a:hover { color: var(--sun); }
.egg-lantern { position: relative; width: 70px; transform-origin: 50% 0; }
.egg-lantern.lit img { filter: drop-shadow(0 0 18px var(--sun)) drop-shadow(0 0 40px rgb(255 207 58 / .7)); }
.foot-small { margin-top: 34px; font-size: 13px; opacity: .6; }

/* ---------- Phone book bar ---------- */
.bbar { display: none; }

/* ---------- Menu ---------- */
.menu { position: fixed; inset: 0; z-index: 100; color: var(--paper); }
.menu-bg {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 46px, rgb(255 255 255 / .05) 46px 48px),
    repeating-linear-gradient(-45deg, transparent 0 46px, rgb(255 255 255 / .05) 46px 48px),
    var(--ink);
  clip-path: circle(0 at var(--ox, 95%) var(--oy, 4%)); transition: clip-path .38s cubic-bezier(.7, 0, .2, 1);
}
.menu.open .menu-bg { clip-path: circle(150% at var(--ox, 95%) var(--oy, 4%)); }
.menu-in {
  position: relative; height: 100%; overflow-y: auto; display: grid; grid-template-columns: 1fr 340px; grid-template-rows: auto 1fr auto;
  gap: 20px 60px; padding: 18px var(--gut) 30px;
}
.menu-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.menu-kicker { font: 900 13px/1 var(--f-d); text-transform: uppercase; letter-spacing: .14em; color: var(--sun); }
.menu-close { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--paper); background: transparent; font-size: 20px; transition: transform .3s var(--spring), background .2s; }
.menu-close:hover { transform: rotate(90deg); background: var(--paper); color: var(--ink); }
.menu-nav { align-self: center; }
.menu-nav a { display: flex; align-items: baseline; gap: 18px; text-decoration: none; padding: .04em 0; }
.mn { flex: none; display: grid; place-items: center; width: 34px; height: 46px; border-radius: 6px; border: 2px solid var(--sun); color: var(--sun); font: 900 13px/1 var(--f-d); align-self: center; rotate: -6deg; transition: background .2s, color .2s, rotate .3s var(--spring); }
.menu-nav a:hover .mn, .menu-nav a:focus-visible .mn { background: var(--sun); color: var(--ink); rotate: 4deg; }
.ml { font: 900 clamp(40px, 6.4vw, 100px)/1.02 var(--f-d); letter-spacing: -.04em; white-space: nowrap; transition: transform .3s var(--spring), color .2s; }
.menu-nav a:hover .ml, .menu-nav a:focus-visible .ml { transform: translateX(18px) rotate(-1.5deg); color: var(--sun); }
/* Everything lands inside 400 ms: 150 ms of stagger + 250 ms of travel. */
.menu-nav li, .menu-hints, .menu-cta { opacity: 0; transform: translateY(36px) rotate(3deg); transition: opacity .2s, transform .25s var(--spring); }
.menu.open .menu-nav li, .menu.open .menu-hints, .menu.open .menu-cta { opacity: 1; transform: none; }
.menu.open .menu-nav li:nth-child(1) { transition-delay: .03s; }
.menu.open .menu-nav li:nth-child(2) { transition-delay: .06s; }
.menu.open .menu-nav li:nth-child(3) { transition-delay: .09s; }
.menu.open .menu-nav li:nth-child(4) { transition-delay: .12s; }
.menu.open .menu-nav li:nth-child(5) { transition-delay: .15s; }
.menu.open .menu-hints { transition-delay: .12s; }
.menu.open .menu-cta { transition-delay: .15s; }
.menu-hand { grid-column: 2; grid-row: 2; align-self: start; position: relative; height: 230px; margin-top: 6vh; }
.menu-hand a {
  position: absolute; left: 50%; top: 0; width: 120px; aspect-ratio: 63 / 88; margin-left: -60px; border-radius: 12px; overflow: hidden;
  background: var(--c); padding: 6px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink);
  box-shadow: 0 14px 30px rgb(0 0 0 / .4); transform-origin: 50% 210%; transform: rotate(0) translateY(30px); opacity: 0;
  transition: transform .3s var(--spring), opacity .2s;
}
.menu-hand img { flex: 1; min-height: 0; width: 100%; object-fit: cover; border-radius: 7px; }
.menu-hand span { font: 900 11px/1 var(--f-d); text-align: center; padding: 2px 0 4px; }
.menu.open .menu-hand a { opacity: 1; }
.menu.open .menu-hand a:nth-child(1) { transform: rotate(-24deg); transition-delay: .06s; }
.menu.open .menu-hand a:nth-child(2) { transform: rotate(-8deg); transition-delay: .09s; }
.menu.open .menu-hand a:nth-child(3) { transform: rotate(8deg); transition-delay: .12s; }
.menu.open .menu-hand a:nth-child(4) { transform: rotate(24deg); transition-delay: .15s; }
.menu.open .menu-hand a:hover, .menu.open .menu-hand a:focus-visible { transform: translateY(-26px) rotate(var(--hr, 0deg)) scale(1.06); z-index: 2; transition-delay: 0s; }
.menu-hand a:nth-child(1) { --hr: -24deg; } .menu-hand a:nth-child(2) { --hr: -8deg; } .menu-hand a:nth-child(3) { --hr: 8deg; } .menu-hand a:nth-child(4) { --hr: 24deg; }
.menu-hand a[style*="--c:var(--sun)"]:last-child { background: var(--ink); color: var(--sun); box-shadow: inset 0 0 0 2px var(--sun), 0 14px 30px rgb(0 0 0 / .4); }
.menu-hints { grid-column: 2; grid-row: 2; align-self: end; padding: 22px; border-radius: 20px; border: 2px dashed rgb(255 245 228 / .3); }
.hint-title { font: 900 16px/1 var(--f-d); margin-bottom: 14px; color: var(--sun); }
.menu-hints li { padding: 8px 0 8px 28px; position: relative; font-size: 15px; opacity: .85; }
.menu-hints li::before { content: ""; position: absolute; left: 0; top: 10px; width: 13px; height: 18px; border-radius: 3px; border: 2px solid currentColor; }
.menu-hints li.got { opacity: .55; text-decoration: line-through; }
.menu-hints li.got::before { background: var(--sun); border-color: var(--sun); }
.menu-cta { grid-column: 1 / -1; justify-self: start; }

/* ---------- Toast, video, finale ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 140; translate: -50% calc(100% + 60px); visibility: hidden; display: flex; align-items: center; gap: 14px;
  padding: 12px 20px 12px 12px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 14px 40px rgb(5 4 30 / .4);
  transition: translate .45s var(--spring), visibility 0s .45s; width: max-content; max-width: calc(100vw - 32px); pointer-events: none;
}
.toast.show { translate: -50% 0; visibility: visible; transition: translate .45s var(--spring); }
.toast .mini { flex: none; width: 40px; height: 56px; border-radius: 6px; position: relative; overflow: hidden; background: var(--cobalt); box-shadow: inset 0 0 0 3px var(--sun); }
.toast .mini .foil { opacity: .8; }
.toast b { display: block; font: 900 14px/1.2 var(--f-d); }
.toast span { font-size: 14px; }

.watch { border: 0; padding: 0; background: transparent; max-width: min(960px, 94vw); width: 100%; }
.watch::backdrop { background: rgb(19 17 46 / .88); backdrop-filter: blur(6px); }
.watch-in { position: relative; border-radius: 22px; overflow: hidden; border: 6px solid var(--hot); background: #000; }
.watch video { width: 100%; height: auto; }
.watch-close { position: absolute; top: 12px; right: 12px; background: rgb(19 17 46 / .7); color: var(--paper); }

.finale { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgb(19 17 46 / .8); overflow: hidden; }
.finale[hidden] { display: none; }
.finale-in { position: relative; z-index: 2; max-width: 460px; text-align: center; padding: 34px 28px; border-radius: 26px; background: var(--cobalt); box-shadow: inset 0 0 0 6px var(--sun), 0 30px 80px rgb(0 0 0 / .5); }
.finale-in .badge { width: 120px; height: 120px; margin: 0 auto 16px; }
.finale-in h2 { font-size: 34px; margin: 10px 0 12px; }
.finale-in p { margin-bottom: 22px; }
.rain { position: absolute; top: -90px; width: 44px; height: 62px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 3px rgb(255 255 255 / .6); overflow: hidden; }
.rain .foil { opacity: .7; }

/* ---------- Phone and tablet ---------- */
@media (max-width: 899px) {
  body { font-size: 16px; }
  .brand-word, .pill-book, .menu-word { display: none; }
  .brand .badge { width: 42px; height: 42px; }
  .menu-btn { width: 46px; height: 46px; padding: 0; justify-content: center; }
  .rares { height: 40px; padding: 0 12px; }

  .hero { grid-template-columns: 1fr; padding: 82px 16px 40px; gap: 0; align-content: start; text-align: center; }
  .hero-copy { display: contents; }
  .kicker:first-child { order: 0; }
  .hero .kicker { font-size: 10px; letter-spacing: .14em; }
  .hero-title { display: contents; }
  .hero-title .ht-a { order: 1; font-size: 19vw; line-height: .86; letter-spacing: -.05em; margin-top: 10px; }
  .hero-title .ht-bc { order: 3; white-space: nowrap; font-size: 12.4vw; line-height: .9; letter-spacing: -.05em; }
  .hero-title .ht-b, .hero-title .ht-c { display: inline; }
  .hero-fan-wrap { order: 2; margin: 18px 0 6px; gap: 16px; }
  .fan { --w: min(58vw, 31svh, 250px); width: 100%; max-width: 380px; }
  .deck-intro h2 br { display: none; }
  .fan-card[data-pos="1"] { --t: translate3d(-42%, 4%, 0) rotate(-12deg) scale(.86); }
  .fan-card[data-pos="2"] { --t: translate3d(40%, 3%, 0) rotate(11deg) scale(.86); }
  .fan-card[data-pos="3"] { --t: translate3d(0, -6%, 0) rotate(3deg) scale(.8); }
  .fan-card[data-pos="1"]:hover { --t: translate3d(-42%, 4%, 0) rotate(-12deg) scale(.86); }
  .fan-card[data-pos="2"]:hover { --t: translate3d(40%, 3%, 0) rotate(11deg) scale(.86); }
  .fan-card[data-pos="3"]:hover { --t: translate3d(0, -6%, 0) rotate(3deg) scale(.8); }
  .fan-pick button { padding: 7px 10px; font-size: 10.5px; }
  .hero-lede { order: 4; margin: 14px auto 0; font-size: 17px; max-width: 32ch; }
  .hero-ctas { order: 5; justify-content: center; margin-top: 18px; }
  .hero-ctas .pill { display: none; }
  .hero-small { order: 6; margin-top: 12px; font-size: 13px; }
  .scroll-cue { display: none; }
  .egg-bow { width: 56px; left: 0; bottom: 18%; }
  .hero-seal { width: 72px; height: 72px; right: 2%; top: -3%; }

  .band { height: 28px; background-size: 28px 28px; }

  .beat { grid-template-columns: 1fr; gap: 24px; }
  .beat-card { justify-self: center; }
  .motion .deck-intro { left: 20px; right: 64px; width: auto; top: 96px; translate: none; }
  .motion .deck-outro { left: 20px; right: 20px; width: auto; top: auto; bottom: 170px; translate: none; }
  .motion .deck-intro h2 { font-size: 40px; }
  .motion .deck-intro .deck-sub { font-size: 16px; }
  .motion .deck-outro .outro-title { font-size: 38px; margin: 10px 0 18px; }
  .motion .beat-card { --ch: min(47svh, 400px); left: calc(50% - var(--cw) / 2); top: 70px; }
  .motion .beat-text { left: 20px; right: 20px; width: auto; top: calc(70px + min(47svh, 400px) + 16px); translate: none; }
  .motion .beat h3 { font-size: clamp(26px, 8vw, 40px); margin: 8px 0 8px; }
  .motion .beat .hook { font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .motion .facts { display: none; }
  .motion .beat-link { margin-top: 10px; font-size: 13px; }
  .motion .rail { left: 20px; right: 20px; bottom: 92px; justify-content: space-between; }
  .rail-slots { gap: 8px; }
  .slot { width: 46px; border-radius: 6px; }

  .how { grid-template-columns: 1fr; padding: 44px 20px; gap: 18px; }
  .how-list { grid-template-columns: 1fr; gap: 16px; }
  .how-list li { font-size: 17px; align-items: center; }

  .prices, .where, .rules, .book, .faq { padding: 64px 20px; }
  .packs { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
  .pack { padding: 38px 24px 36px; }
  .pack-hot { order: -1; padding-block: 48px 44px; transform: rotate(-1deg); }
  .pack-price { font-size: 72px; }
  .seal { width: 92px; height: 92px; top: 6px; right: 6px; }
  .seal > span { width: 52px; height: 52px; font-size: 9px; }
  .pack-hot .pack-price { font-size: 64px; }
  .extras { grid-template-columns: 1fr; margin-top: 50px; }
  .addon-list li { grid-template-columns: 1fr auto; }
  .addon-list .for { grid-column: 1; grid-row: 2; text-align: left; margin-top: -8px; }
  .addon-list b { grid-row: 1 / 3; grid-column: 2; align-self: center; }

  .route-wrap { grid-template-columns: 30px 1fr; gap: 16px; margin-top: 44px; }
  .route-end { font-size: 9px; }
  .egg-car { width: 58px; left: -14px; top: -40px; }
  .regions { grid-template-columns: 1fr; }

  .rules-in { grid-template-columns: 1fr; }
  .rule-list li { font-size: 17px; }
  .sleeve-row { gap: 10px; }
  .sleeve { padding: 10px; border-radius: 12px; }
  .sleeve span { font-size: 11px; }
  .sleeve small { font-size: 10px; }

  .mode { display: flex; width: 100%; }
  .mode button { flex: 1; padding: 12px 8px; font-size: 13px; }
  .book-grid { grid-template-columns: 1fr; gap: 20px; }
  .book-side { position: static; order: -1; }
  .total { display: none; }
  .pcard-wrap { width: 100%; max-width: 440px; }
  .pcard { --w: 100%; aspect-ratio: auto; height: 172px; }
  .pcard .tc-panel { inset: 6px; padding: 10px; display: grid; grid-template-columns: 34% 1fr; grid-template-rows: auto auto 1fr; gap: 6px 12px; border-radius: 10px; }
  .pcard .tc-head { grid-column: 2; grid-row: 1; }
  .pcard .tc-head .tc-name { font-size: 15px; }
  .pcard .tc-no { font-size: 10px; }
  .pcard .tc-art { grid-column: 1; grid-row: 1 / 4; aspect-ratio: auto; margin: 3px; border-radius: 8px; }
  .pcard .tc-type { grid-column: 2; grid-row: 2; font-size: 9.5px; padding: 5px 8px; }
  .pcard .pc-rows { grid-column: 2; grid-row: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; align-content: start; }
  .pcard .pc-rows li { flex-direction: column; gap: 1px; font-size: 12.5px; padding: 3px 0; border-top: 0; }
  .pcard .pc-rows li span { font-size: 8.5px; }
  .pcard .pc-rows b { text-align: left; }
  .pcard .pc-chips { display: none; }
  .pcard .pc-empty .badge { width: 46px; height: 46px; }
  .pcard .pc-empty { font-size: 9px; }
  .pcard .tc-face { border-radius: 14px; }
  .pcard .back-stamp { font-size: 22px; padding: 6px 12px; }
  .pcard .tc-back .badge { width: 110px; height: 110px; }
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .steps button { flex-direction: column; gap: 5px; padding: 8px 2px; font-size: 11.5px; min-height: 58px; justify-content: center; width: 100%; }
  .g-pick { grid-template-columns: 1fr 1fr; }
  .p-pick { grid-template-columns: 1fr; }
  .p-opt { grid-template-columns: 1fr auto; align-items: center; padding: 14px 16px; }
  .p-opt em { grid-row: 1 / 3; grid-column: 2; margin: 0; }
  .a-pick { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .field-inline { max-width: none; }
  .review { grid-template-columns: 1fr; padding: 6px 16px; }
  .review dt { border-bottom: 0; padding-bottom: 0; }

  .faq { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .faq-head h2 { font-size: 36px; min-width: 0; }
  .faq-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 0 10px; }
  .faq-head .kicker { grid-column: 1 / -1; }
  .egg-beaker { width: 66px; margin: 0; }
  .faq-list details p { padding-right: 0; }

  .foot { padding: 56px 20px 130px; }
  .foot-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .egg-badge { width: 110px; }
  .foot-word { font-size: 16.4vw; }
  .foot-row { grid-template-columns: 1fr auto; }
  .foot-nav { grid-column: 1 / -1; grid-row: 2; }
  .egg-lantern { grid-column: 2; grid-row: 1; width: 56px; }

  .bbar {
    position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 18px; border-radius: 22px; background: var(--ink); color: var(--paper);
    box-shadow: 0 10px 30px rgb(5 4 30 / .45), inset 0 0 0 2px rgb(255 245 228 / .12);
  }
  .bbar-l { display: grid; line-height: 1.1; }
  .bbar-l span { font: 800 10px/1.2 var(--f-d); text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
  .bbar-l b { font: 900 22px/1.1 var(--f-d); color: var(--sun); }
  .bbar-btn { min-height: 50px; box-shadow: none; }
  .toast { bottom: 96px; }

  .menu-in { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; padding: 14px 20px 24px; gap: 18px; }
  .ml { font-size: min(8.6vw, 56px); }
  .menu-nav { min-width: 0; }
  .mn { width: 26px; height: 36px; font-size: 11px; }
  .menu-nav a { gap: 12px; padding: 2px 0; }
  .menu-hints { padding: 16px; }
  .menu-hints li { font-size: 14px; padding: 5px 0 5px 26px; }
  .menu-hints li::before { top: 7px; }
  .menu-cta { justify-self: stretch; }
  .menu-hand { display: none; }
  .menu-hints { grid-column: 1; grid-row: auto; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .motion .beat .hook { -webkit-line-clamp: 2; }
  .motion .beat-card { --ch: min(44svh, 400px); }
  .motion .beat-text { top: calc(70px + min(44svh, 400px) + 12px); }
}

/* ---------- Reduced motion: no auto-motion, everything still there ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .tc-live::before { animation: none; }
}

/* Stickers and fanned cards may poke out; never let them widen the page. */
.deck, .prices, .where, .rules, .book, .faq, .how { overflow-x: clip; }

/* Deck art waits until the page has painted (lazy images with display:none aren't fetched). */
.motion .deck:not(.near) img { display: none; }
/* Same for the three cards fanned behind the hero card. */
.motion .fan:not(.ready) .tc-art img { display: none; }
.motion .fan.ready .tc-art img { animation: art-in .5s var(--ease); }
@keyframes art-in { from { opacity: 0; } }
