/* UP ONLY: red poster world, peach vinyl type, near-black supporting sections. Everything rises. */
:root {
  color-scheme: dark;
  --red: #e00000;
  --red-hot: #ff2a1f;
  --red-deep: #8f0007;
  --peach: #f39470;
  --peach-lt: #ffc7ad;
  --cream: #fff0e6;
  --ink: #101012;
  --ink-2: #1b0c0d;
  --line: rgba(255, 220, 205, .18);

  --display: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;

  --gutter: max(16px, min(5vw, 56px));
  --radius: 22px;
  --ease-spring: cubic-bezier(.2, 1.4, .35, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--body); font-size: 17px; line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--cream); color: var(--ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }

/* --------------------------------------------------------------- icons (CSS masks, no image files) */
.ico { display: inline-block; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; flex: none; }
.ico-arrow { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 7.5h-4.5V21h-5V10.5H5z'/%3E%3C/svg%3E"); }
.ico-x { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.6 4.2 12 10.6l6.4-6.4 1.4 1.4-6.4 6.4 6.4 6.4-1.4 1.4-6.4-6.4-6.4 6.4-1.4-1.4 6.4-6.4-6.4-6.4z'/%3E%3C/svg%3E"); }
.ico-left { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 4 7.5 12l8 8 1.5-1.5L10.5 12 17 5.5z'/%3E%3C/svg%3E"); }
.ico-right { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 4l8 8-8 8L7 18.5l6.5-6.5L7 5.5z'/%3E%3C/svg%3E"); }
.ico-xlogo { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E"); }
.ico-tg { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.5 3.6 2.9 10.8c-1.3.5-1.3 1.2-.2 1.6l4.8 1.5 1.8 5.6c.2.6.4.8.9.8.4 0 .6-.2.9-.5l2.3-2.2 4.8 3.5c.9.5 1.5.2 1.7-.8l3.1-14.7c.3-1.3-.5-1.9-1.5-1.5zM8.6 13.6l9.3-5.9c.5-.3.9-.1.5.2l-7.7 7-.3 3.3z'/%3E%3C/svg%3E"); }
.ico-chart { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 19h18v2H3zM4 15l5-5 4 4 6-7 1.5 1.3-7.4 8.7-4.1-4.1-3.6 3.6z'/%3E%3C/svg%3E"); }
.ico-users { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='8.5' cy='8' r='3.5'/%3E%3Ccircle cx='16.5' cy='9' r='3'/%3E%3Cpath d='M1.5 20c.6-3.8 3.4-6 7-6s6.4 2.2 7 6zM15 14.1c3.6-.4 6.5 1.7 7.5 5.9h-5.3c-.3-2.3-1-4.2-2.2-5.9z'/%3E%3C/svg%3E"); }

/* --------------------------------------------------------------- buttons */
.btn { --bg: var(--cream); --fg: #2a0306; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 800; font-size: 16px; letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -3px 0 rgba(0,0,0,.14) inset, 0 6px 0 rgba(80,0,0,.35), 0 14px 30px rgba(60,0,0,.3);
  transition: transform .35s var(--ease-spring), box-shadow .25s ease, background .2s; }
.btn:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -3px 0 rgba(0,0,0,.14) inset, 0 10px 0 rgba(80,0,0,.35), 0 22px 40px rgba(60,0,0,.35); }
.btn:hover .ico-arrow { animation: nudge .6s var(--ease-spring) infinite alternate; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 2px 0 rgba(80,0,0,.35), 0 6px 12px rgba(60,0,0,.3); transition-duration: .08s; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 4px 0 rgba(80,0,0,.3); }
.btn-sm:hover { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 7px 0 rgba(80,0,0,.3); }
.btn-ghost { --bg: rgba(255,240,230,.08); --fg: var(--cream); box-shadow: inset 0 0 0 2px rgba(255,240,230,.55); }
.btn-ghost:hover { --bg: rgba(255,240,230,.16); box-shadow: inset 0 0 0 2px var(--cream); }
.btn-ink { --bg: var(--ink); --fg: var(--cream); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 4px 0 rgba(0,0,0,.45); }
.btn-ink:hover { box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 7px 0 rgba(0,0,0,.45); }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { transform: none; }
.btn[aria-disabled="true"] .soon { font-family: var(--mono); font-size: .72em; font-weight: 500; opacity: .8; }

.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(255,240,230,.45); background: rgba(16,0,0,.18); color: var(--cream); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; cursor: pointer; transition: background .2s, border-color .2s, transform .3s var(--ease-spring); }
.chip:hover { background: rgba(16,0,0,.32); border-color: var(--cream); transform: translateY(-2px); }
.chip:disabled { cursor: default; opacity: .8; transform: none; }

/* --------------------------------------------------------------- header */
.bar { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) 14px max(var(--gutter), env(safe-area-inset-left, 0px));
  transition: background .3s, box-shadow .3s, padding .3s; }
.bar.scrolled { background: rgba(16,16,18,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-top: calc(10px + env(safe-area-inset-top, 0px)); padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 22px; letter-spacing: .02em; }
.brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 2px var(--cream); transition: transform .5s var(--ease-spring); }
.brand:hover img { transform: translateY(-4px) rotate(-8deg); }
.nav { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(16,0,0,.2); }
.nav a { position: relative; padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255,240,230,.14); }
.nav a.on { background: var(--cream); color: #2a0306; }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,240,230,.5); background: rgba(16,0,0,.2); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s var(--ease-spring), top .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.sheet { position: fixed; z-index: 25; inset: 0; background: var(--red); display: flex; flex-direction: column; justify-content: center; gap: 32px;
  padding: 90px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); animation: sheetIn .45s var(--ease-spring); }
.sheet nav { display: grid; gap: 4px; }
.sheet nav a { font-family: var(--display); font-size: clamp(44px, 14vw, 72px); line-height: 1.05; text-decoration: none; color: var(--cream); }
.sheet-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------- hero */
.hero { position: relative; min-height: 640px; max-height: 1080px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 75% at 50% 42%, var(--red-hot) 0%, var(--red) 46%, #b80003 78%, var(--red-deep) 100%);
  display: flex; flex-direction: column; padding-top: calc(70px + env(safe-area-inset-top, 0px)); height: 100svh; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(80,0,5,.45)); z-index: -1; pointer-events: none; }
.rise { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.rise i { position: absolute; bottom: -12%; width: var(--s); height: var(--s); color: rgba(255,226,210,var(--o)); animation: rise var(--d) linear var(--delay) infinite; }
.rise i.spark { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.7 6.4 5.6 11.3 12 12-6.4.7-11.3 5.6-12 12-.7-6.4-5.6-11.3-12-12C6.4 11.3 11.3 6.4 12 0z'/%3E%3C/svg%3E"); }

.wordmark { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  font-family: var(--display); font-weight: 400; line-height: .8; letter-spacing: -.01em; color: var(--peach-lt);
  font-size: clamp(110px, 17vw, 300px); }
.wordmark span { position: absolute; display: block; background: linear-gradient(180deg, #fff3ea 0%, var(--peach-lt) 38%, var(--peach) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 #e88565) drop-shadow(0 8px 0 #b9452f) drop-shadow(0 14px 0 #7d0b0a) drop-shadow(0 26px 30px rgba(70,0,0,.45));
  animation: wordIn 1.1s var(--ease-spring) both; }
.wordmark .wm-up { left: max(var(--gutter), 4vw); top: 2%; }
.wordmark .wm-only { right: max(var(--gutter), 3vw); bottom: 6%; animation-delay: .12s; }

.stage { position: relative; z-index: 1; flex: 1; min-height: 0; display: grid; place-items: center; }
#mascot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: default; z-index: 1; }
#mascot.can-grab { cursor: grab; }
#mascot.grabbing { cursor: grabbing; touch-action: none; }
.stage-fallback { position: relative; z-index: 1; width: auto; height: min(88%, 520px); aspect-ratio: 1; max-width: 80vw; border-radius: 36px; box-shadow: 0 30px 60px rgba(60,0,0,.45); }
.pull-hint { position: absolute; z-index: 2; left: 50%; bottom: 2%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(16,0,0,.28); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; transition: opacity .5s; pointer-events: none; }
.pull-hint.gone { opacity: 0; }
.hint-arrow { width: 10px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14'%3E%3Cpath d='M3.5 0h3v8.5H10L5 14 0 8.5h3.5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14'%3E%3Cpath d='M3.5 0h3v8.5H10L5 14 0 8.5h3.5z'/%3E%3C/svg%3E") center / contain no-repeat; animation: tug 1.4s ease-in-out infinite; }

.hero-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(22px, 4vh, 40px) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.hero-copy { max-width: 430px; display: grid; gap: 14px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.altimeter { display: flex; align-items: stretch; gap: 14px; padding: 14px 16px 14px 14px; border-radius: var(--radius); background: rgba(40,0,2,.32); box-shadow: inset 0 0 0 1px rgba(255,220,205,.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); min-width: 250px; }
.alt-gauge { position: relative; width: 14px; border-radius: 999px; background: rgba(0,0,0,.28); overflow: hidden; }
.alt-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 8%; border-radius: 999px; background: linear-gradient(0deg, var(--peach), #fff3ea); transition: height .6s var(--ease-spring); }
.alt-ticks { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(255,255,255,.25) 9px 10px); }
.alt-read { display: grid; gap: 2px; }
.alt-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; max-width: 180px; line-height: 1.3; }
.alt-count { font-family: var(--display); font-size: 48px; line-height: 1; font-variant-numeric: tabular-nums; }
.alt-count.bump { animation: bump .5s var(--ease-spring); }
.alt-note { font-size: 13px; opacity: .8; }
.plus { position: fixed; z-index: 40; pointer-events: none; font-family: var(--display); font-size: 28px; color: var(--cream); text-shadow: 0 3px 0 var(--red-deep); animation: plus 1s ease-out forwards; }

/* --------------------------------------------------------------- ticker */
.ticker { overflow: hidden; background: var(--cream); color: var(--red); border-block: 3px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 22px; padding: 12px 0 12px 22px; font-family: var(--display); font-size: clamp(20px, 2.4vw, 28px); white-space: nowrap; }
.ticker span::after { content: ""; width: 18px; height: 22px; background: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8 8.5h-5V22H9V10.5H4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8 8.5h-5V22H9V10.5H4z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* --------------------------------------------------------------- shared section bits */
section h2 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5.4vw, 72px); line-height: .98; letter-spacing: -.005em; text-wrap: balance; }
section h2 em { font-style: normal; color: var(--peach); }

/* --------------------------------------------------------------- lore */
.lore { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(28px, 5vw, 80px);
  padding: clamp(64px, 9vw, 120px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(64px, 9vw, 120px) max(var(--gutter), env(safe-area-inset-left, 0px));
  max-width: 1320px; margin: 0 auto; }
.lore-text { display: grid; gap: 22px; }
.lore-text .lede { max-width: 54ch; opacity: .88; }
.rules { list-style: none; padding: 0; display: grid; gap: 10px; counter-reset: r; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.rules li > span { min-width: 0; opacity: .88; }
.rules li::before { content: "0" counter(r); font-family: var(--mono); font-size: 13px; color: var(--peach); }
.rules b { color: var(--cream); }
.fan { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1.12; justify-self: center; }
.fan img { position: absolute; width: 58%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 26px; border: 6px solid var(--cream); box-shadow: 0 24px 50px rgba(0,0,0,.45); transition: transform .7s var(--ease-spring); }
.fan img:nth-child(1) { left: 2%; top: 22%; transform: rotate(-9deg); }
.fan img:nth-child(2) { left: 21%; top: 2%; transform: rotate(3deg); z-index: 2; }
.fan img:nth-child(3) { left: 40%; top: 26%; transform: rotate(11deg); }
.fan:hover img:nth-child(1) { transform: rotate(-14deg) translate(-8%, 6%); }
.fan:hover img:nth-child(2) { transform: rotate(0) translateY(-6%) scale(1.04); }
.fan:hover img:nth-child(3) { transform: rotate(16deg) translate(8%, 6%); }

/* --------------------------------------------------------------- memes (columns that drift upward) */
.memes { position: relative; padding: clamp(56px, 7vw, 96px) 0 0; background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.memes-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; max-width: 1320px; margin: 0 auto 32px;
  padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); }
.memes-head > div { display: grid; gap: 12px; }
.memes-tip { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.wall { position: relative; height: clamp(520px, 78vh, 820px); overflow: hidden; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px));
  -webkit-mask: linear-gradient(transparent 0, #000 12%, #000 88%, transparent 100%); mask: linear-gradient(transparent 0, #000 12%, #000 88%, transparent 100%); }
.col { display: grid; gap: 16px; align-content: start; animation: up var(--d) linear infinite; will-change: transform; }
.col:nth-child(even) { margin-top: -90px; }
.wall:hover .col, .wall:focus-within .col { animation-play-state: paused; }
.tile { position: relative; display: block; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: #2a1213; aspect-ratio: 1; transition: transform .45s var(--ease-spring), box-shadow .3s; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile span { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(16,16,18,.78); font-size: 14px; font-weight: 600; text-align: left; transform: translateY(130%); transition: transform .35s var(--ease-spring); }
.tile:hover, .tile:focus-visible { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 20px 40px rgba(0,0,0,.5), 0 0 0 3px var(--cream); }
.tile:hover img { transform: scale(1.06); }
.tile:hover span, .tile:focus-visible span { transform: none; }

/* --------------------------------------------------------------- origin (comic strip) */
.origin { background: var(--cream); color: #2a0306; padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.origin-head, .origin-note { max-width: 1320px; margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); }
.origin-head { display: grid; gap: 12px; margin-bottom: 32px; }
.origin h2 em { color: var(--red); }
.strip { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1320px; margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); }
.panel { position: relative; display: grid; gap: 12px; align-content: start; padding: 10px 10px 18px; border-radius: 24px; background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); transition: transform .45s var(--ease-spring), box-shadow .3s; }
.panel:nth-child(odd) { transform: rotate(-1.2deg); } .panel:nth-child(even) { transform: rotate(1.2deg) translateY(10px); }
.panel:hover { transform: rotate(0) translateY(-8px); box-shadow: 10px 12px 0 var(--red); }
.panel img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.panel-n { position: absolute; top: 20px; left: 20px; padding: 4px 10px; border-radius: 999px; background: var(--red); color: var(--cream); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.panel p { padding: 0 8px; font-weight: 600; font-size: 16px; line-height: 1.35; text-wrap: pretty; }
.panel:last-child { background: var(--red); color: var(--cream); }
.panel:last-child .panel-n { background: var(--cream); color: var(--red); }
.origin-note { margin-top: 30px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .65; }

/* --------------------------------------------------------------- play (mini game) */
.play { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 5vw, 72px); max-width: 1320px; margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(64px, 8vw, 110px) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.play-copy { display: grid; gap: 18px; }
.legend { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,240,230,.05); box-shadow: inset 0 0 0 1px var(--line); }
.legend b { color: var(--cream); }
.legend span { opacity: .9; }
.lg { flex: none; display: inline-block; }
.lg-green, .lg-red { width: 34px; height: 12px; border-radius: 4px; position: relative; }
.lg-green { background: #22d07a; box-shadow: 0 3px 0 #0d7a45; }
.lg-red { background: #ff3b30; box-shadow: 0 3px 0 #8f0007; }
.lg-pill { width: 28px; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #2f5bff 50%, #7aa2ff 50%); box-shadow: 0 0 12px rgba(91,140,255,.8); transform: rotate(-30deg); }
.controls { font-size: 14px; opacity: .7; }
kbd { display: inline-grid; place-items: center; min-width: 26px; height: 26px; margin: 0 2px; padding: 0 6px; border-radius: 7px; background: rgba(255,240,230,.1); box-shadow: inset 0 -2px 0 rgba(0,0,0,.4), inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 12px; }

.game { position: relative; width: 100%; max-width: 440px; aspect-ratio: 3 / 5; justify-self: center; border-radius: 30px; overflow: hidden; background: var(--red);
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 9px var(--ink), 0 40px 80px rgba(0,0,0,.55); user-select: none; -webkit-user-select: none; container-type: inline-size; }
.game canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
.game.playing canvas { touch-action: none; cursor: none; }
.g-hud { position: absolute; top: 14px; left: 16px; right: 64px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.g-alt { font-family: var(--display); font-size: 34px; line-height: 1; text-shadow: 0 3px 0 rgba(80,0,0,.5); }
.g-alt b { font-weight: 400; font-variant-numeric: tabular-nums; }
.g-pills { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(16,0,0,.35); font-family: var(--mono); font-size: 15px; }
.g-pills .lg-pill { width: 22px; height: 11px; }
.g-mute { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(16,0,0,.35); color: var(--cream); cursor: pointer; font-size: 18px; transition: transform .35s var(--ease-spring), background .2s; }
.g-mute:hover { transform: scale(1.1); background: rgba(16,0,0,.55); }
.ico-sound { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3zM15.5 8.5a5 5 0 0 1 0 7l-1.4-1.4a3 3 0 0 0 0-4.2zM18.3 5.7a9 9 0 0 1 0 12.6l-1.4-1.4a7 7 0 0 0 0-9.8z'/%3E%3C/svg%3E"); }
.g-mute.off .ico-sound { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3zM15 9.4l1.4-1.4 2.6 2.6 2.6-2.6L23 9.4 20.4 12l2.6 2.6-1.4 1.4-2.6-2.6-2.6 2.6-1.4-1.4 2.6-2.6z'/%3E%3C/svg%3E"); }
.g-call { position: absolute; left: 0; right: 0; top: 30%; text-align: center; font-family: var(--display); font-size: clamp(30px, 9cqw, 46px); color: var(--cream); text-shadow: 0 4px 0 var(--red-deep), 0 10px 30px rgba(0,0,0,.4); opacity: 0; pointer-events: none; }
.g-call.show { animation: call 1.3s var(--ease-spring) forwards; }
.g-screen { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; background: radial-gradient(circle at 50% 40%, rgba(224,0,0,.35), rgba(16,0,2,.78)); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); animation: fade .3s ease; }
.g-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; max-width: 30ch; }
.g-title { font-family: var(--display); font-size: clamp(46px, 12vw, 64px); line-height: .95; background: linear-gradient(180deg, #fff3ea, var(--peach)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 5px 0 var(--red-deep)); }
.g-best { font-size: 14px; opacity: .75; }
.g-score { font-family: var(--display); font-size: clamp(56px, 15vw, 84px); line-height: 1; filter: drop-shadow(0 5px 0 var(--red-deep)); }
.g-rank { font-size: 15px; opacity: .9; }
.g-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
@keyframes call { 0% { opacity: 0; transform: translateY(30px) scale(.7); } 20% { opacity: 1; transform: none; } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-50px); } }

/* --------------------------------------------------------------- how to buy */
.buy { position: relative; background: var(--red); padding: clamp(64px, 8vw, 110px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(64px, 8vw, 110px) max(var(--gutter), env(safe-area-inset-left, 0px)); overflow: hidden; isolation: isolate; }
.buy::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 14l9 9.5h-5.6V42h-6.8V23.5H19z' fill='%23fff0e6'/%3E%3C/svg%3E") 0 0 / 56px 56px; animation: drift 6s linear infinite; }
.buy-head { max-width: 1320px; margin: 0 auto 36px; display: grid; gap: 12px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1320px; margin: 0 auto; }
.step { position: relative; display: grid; align-content: start; gap: 12px; padding: 26px 22px 24px; border-radius: var(--radius); background: var(--cream); color: #2a0306;
  box-shadow: 0 8px 0 var(--red-deep), 0 22px 40px rgba(70,0,0,.35); transition: transform .45s var(--ease-spring), box-shadow .3s; }
.step:hover { transform: translateY(-8px); box-shadow: 0 14px 0 var(--red-deep), 0 30px 50px rgba(70,0,0,.4); }
.step:nth-child(2) { margin-top: 18px; } .step:nth-child(3) { margin-top: 36px; } .step:nth-child(4) { margin-top: 54px; }
.step-n { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--cream); font-family: var(--display); font-size: 24px; }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.05; }
.step p { font-size: 15px; line-height: 1.45; }
.step .btn { justify-self: start; margin-top: 4px; }
.ca-box code { display: block; padding: 10px 12px; border-radius: 12px; background: #f6dccd; font-family: var(--mono); font-size: 13px; word-break: break-all; }

/* --------------------------------------------------------------- footer */
.foot { background: var(--ink); padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); overflow: hidden; }
.foot-mark { font-family: var(--display); font-size: clamp(140px, 30vw, 420px); line-height: .8; text-align: center; color: transparent; -webkit-text-stroke: 2px rgba(255,199,173,.35); margin: clamp(40px, 6vw, 80px) 0 24px; transition: color .6s; }
.foot:hover .foot-mark { color: rgba(243,148,112,.12); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; max-width: 1320px; margin: 0 auto; padding-top: 22px; border-top: 1px solid var(--line); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(255,240,230,.08); box-shadow: inset 0 0 0 1.5px rgba(255,240,230,.3); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s, transform .35s var(--ease-spring), box-shadow .2s; }
.social:hover { background: var(--cream); color: #2a0306; transform: translateY(-3px); box-shadow: none; }
.social[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.social[aria-disabled="true"]:hover { background: rgba(255,240,230,.08); color: inherit; transform: none; box-shadow: inset 0 0 0 1.5px rgba(255,240,230,.3); }
.social small { font-family: var(--mono); font-size: 11px; opacity: .8; }
.legal { max-width: 560px; font-size: 13px; opacity: .6; }

/* --------------------------------------------------------------- lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; color: var(--cream); }
.lightbox::backdrop { background: rgba(10,0,1,.88); backdrop-filter: blur(8px); }
.lightbox[open] { display: grid; place-items: center; animation: fade .25s ease; }
.lightbox figure { display: grid; gap: 14px; width: min(88vw, 78vh, 760px); }
.lightbox img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 24px; object-fit: cover; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: pop .4s var(--ease-spring); }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 16px; font-family: var(--display); font-size: clamp(20px, 2.6vw, 28px); }
.lb-count { font-family: var(--mono); font-size: 13px; opacity: .7; align-self: center; }
.lb-btn { position: fixed; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--cream); color: #2a0306; font-size: 22px; cursor: pointer; transition: transform .35s var(--ease-spring); }
.lb-btn:hover { transform: scale(1.1); }
.lb-close { top: calc(18px + env(safe-area-inset-top, 0px)); right: max(18px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(18px, env(safe-area-inset-left, 0px)); top: 50%; translate: 0 -50%; }
.lb-next { right: max(18px, env(safe-area-inset-right, 0px)); top: 50%; translate: 0 -50%; }
.lb-dl { position: fixed; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); left: 50%; translate: -50% 0; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); translate: -50% 20px; opacity: 0; padding: 12px 18px; border-radius: 14px; background: var(--cream); color: #2a0306; font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: opacity .25s, translate .35s var(--ease-spring); pointer-events: none; }
.toast.show { opacity: 1; translate: -50% 0; }

/* --------------------------------------------------------------- motion */
@keyframes rise { from { transform: translateY(0) rotate(var(--r)); } to { transform: translateY(-130vh) rotate(calc(var(--r) * -1)); } }
@keyframes up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes drift { to { background-position: 0 -56px; } }
@keyframes wordIn { from { opacity: 0; transform: translateY(60px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes nudge { to { transform: translateY(-3px); } }
@keyframes tug { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35) translateY(-6px); } 100% { transform: scale(1); } }
@keyframes plus { from { opacity: 1; transform: translate(-50%, 0) scale(.8); } to { opacity: 0; transform: translate(-50%, -90px) scale(1.2); } }
@keyframes sheetIn { from { clip-path: circle(0 at calc(100% - 40px) 40px); } to { clip-path: circle(150% at calc(100% - 40px) 40px); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { transform: scale(.92); opacity: .4; } to { transform: none; opacity: 1; } }

/* --------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .bar .ca { display: none; }
  .lore { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(n) { margin-top: 0; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wall .col:nth-child(4) { display: none; }
  .play { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(4, minmax(240px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; padding-top: 6px; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .panel { scroll-snap-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bar .btn-sm { display: none; }
  .hero { min-height: 600px; }
  .wordmark { font-size: clamp(92px, 30vw, 200px); }
  .wordmark .wm-up { top: 0; left: var(--gutter); }
  .wordmark .wm-only { bottom: 9%; right: var(--gutter); }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-copy { gap: 10px; }
  .hero-copy .lede { font-size: 15px; }
  .cta-row .btn { flex: 1; min-height: 48px; padding: 0 16px; font-size: 15px; }
  .altimeter { padding: 10px 12px; }
  .alt-label { max-width: none; }
  .alt-note { display: none; }
  .altimeter { min-width: 0; }
  .alt-count { font-size: 30px; }
  .pull-hint { bottom: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .wall .col:nth-child(3) { display: none; }
  .col { gap: 12px; }
  .lb-prev, .lb-next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); translate: none; }
  .lb-dl { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .strip { grid-template-columns: repeat(4, 78vw); gap: 14px; }
  .game { width: min(100%, calc(76svh * 3 / 5)); }
  .legend li { padding: 10px 12px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .wall { overflow-y: auto; }
}
