/* JiliPrime Originals: provider site.
 *
 * World: the category standard of the top studios, played straight. Black stage,
 * the game's own perya night as imagery, one gold accent taken from the wordmark
 * (primary action and key figures only), red only for the bust. Headlines are one
 * heavy condensed face in caps; text is a sturdy grotesk. Corners are square
 * (2px); the phone in the walkthrough is the one object allowed its real radius.
 */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("fonts/big-shoulders-display.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --black: #060509;
  --night: #0b0a22;
  --ink: #f6f3ec;
  --muted: #b5b2c8;
  --line: rgb(246 243 236 / 0.14);
  --line-strong: rgb(246 243 236 / 0.32);
  --gold: #f4b52d;
  --gold-hi: #ffd36a;
  --gold-ink: #1a1203;
  --red: #ef5a4c;
  --radius: 2px;
  --gutter: clamp(20px, 4.4vw, 72px);
  --max: 1440px;
  --bar-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; scrollbar-color: #2b2944 var(--black); }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--gold);
}
img, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.section-title {
  font: 900 clamp(2.5rem, 1.8rem + 2.4vw, 4rem)/0.9 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.fineprint { font-size: 0.875rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 26px; border-radius: var(--radius);
  font: 800 1.1875rem/1 var(--display); letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; border: 1px solid transparent;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn .icon { font-size: 1.15em; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--gold-ink); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--line { border-color: var(--line-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { height: 44px; padding: 0 18px; font-size: 1.0625rem; }

/* ---------- Top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 20;
  background: linear-gradient(180deg, rgb(6 5 9 / 0.85), rgb(6 5 9 / 0));
  transition: background-color 0.35s, box-shadow 0.35s;
}
.bar[data-solid] { background: var(--black); box-shadow: 0 1px 0 var(--line); }
.bar__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--bar-h); display: flex; align-items: center; gap: 40px; }
.bar__brand img { height: 42px; width: auto; }
.bar__nav { margin-left: auto; display: flex; gap: 30px; }
.bar__nav a { font: 700 1.0625rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: rgb(246 243 236 / 0.82); padding: 10px 0; transition: color 0.2s; }
.bar__nav a:hover { color: var(--ink); }
.bar__menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: max(640px, min(100svh, 1000px));
  display: flex; align-items: flex-end;
  padding: calc(var(--bar-h) + 40px) var(--gutter) clamp(48px, 8vh, 88px);
}
.hero__stage { position: absolute; inset: 0; z-index: -2; }
.hero__stage picture, .integration__stage picture, .contact__stage picture { height: 100%; }
.hero__stage img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; transform: scale(1.04); }
.hero__stage::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 62% 70% at 12% 92%, rgb(6 5 9 / 0.92) 0%, rgb(6 5 9 / 0.62) 45%, rgb(6 5 9 / 0) 100%),
    linear-gradient(0deg, var(--black) 0%, rgb(6 5 9 / 0) 22%),
    linear-gradient(180deg, rgb(6 5 9 / 0.55) 0%, rgb(6 5 9 / 0) 18%);
}
.hero__screen {
  position: absolute; z-index: -1;
  top: calc(var(--bar-h) + clamp(20px, 5vh, 56px)); right: var(--gutter);
  width: min(54vw, 920px); aspect-ratio: 1600 / 826;
  border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: #000;
  box-shadow: 0 50px 120px -30px rgb(0 0 0 / 0.9), 0 18px 40px -18px rgb(0 0 0 / 0.8);
}
.hero__screen video { width: 100%; height: 100%; object-fit: cover; }
.screen__toggle {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgb(6 5 9 / 0.78); color: var(--ink);
  font: 700 0.875rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  opacity: 0; transition: opacity 0.25s;
}
.hero__screen:hover .screen__toggle, .screen__toggle:focus-visible, .screen__toggle[aria-pressed="true"] { opacity: 1; }
@media (hover: none) { .screen__toggle { opacity: 0.9; } }
.hero__balloon, .hero__bomb { position: absolute; z-index: 0; pointer-events: none; filter: drop-shadow(0 30px 34px rgb(0 0 0 / 0.6)); }
.hero__balloon { width: clamp(170px, 20vw, 330px); top: calc(var(--bar-h) + 1vh); right: calc(var(--gutter) + min(54vw, 920px) - clamp(70px, 6vw, 110px)); }
.hero__bomb { width: clamp(150px, 17vw, 280px); right: calc(var(--gutter) - clamp(30px, 2.4vw, 46px)); top: calc(var(--bar-h) + clamp(20px, 5vh, 56px) + min(54vw, 920px) * 0.516 - clamp(80px, 7vw, 120px)); }
.hero__copy { position: relative; z-index: 1; max-width: 760px; }
.hero__title { font: 900 clamp(3.4rem, 1.6rem + 5.6vw, 6rem)/0.86 var(--display); text-transform: uppercase; letter-spacing: 0.005em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: block; }
.hero__sub { margin-top: 24px; max-width: 34ch; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); line-height: 1.45; color: rgb(246 243 236 / 0.86); }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Proof strip ---------- */
.proofstrip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--black); }
.proofstrip__list { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.proofstrip__list > div { padding: 26px 0 28px; display: flex; flex-direction: column-reverse; gap: 8px; }
.proofstrip__list > div + div { border-left: 1px solid var(--line); padding-left: clamp(16px, 2.4vw, 36px); }
.proofstrip dt { font: 700 0.9375rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.proofstrip dd { font: 900 clamp(1.75rem, 1.2rem + 1.4vw, 2.625rem)/1 var(--display); text-transform: uppercase; font-variant-numeric: tabular-nums; }

/* ---------- Perya Pop ---------- */
.game { display: grid; grid-template-columns: auto minmax(0, 1fr); background: var(--black); }
.game__art { position: sticky; top: var(--bar-h); align-self: start; width: min(42vw, calc((100svh - var(--bar-h)) * 1064 / 1598)); }
.game__art img { width: 100%; height: auto; }
.game__body { padding: clamp(72px, 9vw, 140px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) clamp(72px, 9vw, 140px) clamp(36px, 5vw, 88px); }
.game__lede { margin-top: 18px; max-width: 46ch; font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3125rem); line-height: 1.5; color: rgb(246 243 236 / 0.9); }
.spec { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.spec > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.spec dt { font: 700 0.9375rem/1.5 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.spec dd { font-size: 1rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.game__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.game .fineprint { margin-top: 14px; }

/* ---------- How it plays ---------- */
.reel { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(80px, 10vw, 140px); }
.reel__grid { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 110px); }
.reel__phone { position: sticky; top: calc(var(--bar-h) + 4vh); align-self: start; display: flex; justify-content: center; }
.reel__screen {
  position: relative; width: min(100%, 340px, calc((100svh - var(--bar-h) - 10vh) * 780 / 1688)); aspect-ratio: 780 / 1688;
  border: 10px solid #15141c; border-radius: 44px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgb(246 243 236 / 0.12), 0 50px 100px -30px rgb(0 0 0 / 0.95);
}
.reel__screen picture { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s var(--ease); }
.reel__screen picture.is-on { opacity: 1; }
.reel__screen img { width: 100%; height: 100%; object-fit: cover; }
.reel__steps { padding-bottom: 24vh; }
.step { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.step:not(.is-on) .step__figure { color: rgb(244 181 45 / 0.62); }
.step--bust:not(.is-on) .step__figure { color: rgb(239 90 76 / 0.78); }
.step:not(.is-on) h3 { color: var(--muted); }
.step__figure, .step h3 { transition: color 0.45s var(--ease); }
.step__figure { font: 900 clamp(4rem, 2.4rem + 4.6vw, 6rem)/0.9 var(--display); text-transform: uppercase; color: var(--gold); font-variant-numeric: tabular-nums; }
.step--bust .step__figure { color: var(--red); }
.step h3 { margin-top: 18px; font: 800 clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.step p:not(.step__figure) { margin-top: 12px; max-width: 42ch; font-size: 1.125rem; color: var(--muted); }
.reel__note { margin-top: 24px; }
.step__shot { display: none; }

/* ---------- Provably fair ---------- */
.fair { background: var(--night); padding: clamp(80px, 10vw, 150px) 0; }
.fair__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.fair__lede { margin-top: 22px; max-width: 40ch; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem); line-height: 1.45; color: rgb(246 243 236 / 0.88); }
.proof { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.proof li { border-top: 1px solid var(--line-strong); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.proof h3 { font: 800 1.625rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.proof p { color: var(--muted); max-width: 36ch; }

.fair__grid { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.fair .proof { margin-top: 0; grid-template-columns: minmax(0, 1fr); gap: 0; }
.fair .proof li { padding: 22px 0 26px; }

.verifier { background: var(--black); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.verifier__title { font: 900 clamp(2rem, 1.4rem + 1.4vw, 2.75rem)/0.95 var(--display); text-transform: uppercase; }
.verifier__note { margin-top: 10px; color: var(--muted); font-size: 0.9375rem; max-width: 56ch; }
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; min-width: 0; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) 7rem 7rem; gap: 14px; }
.field label { font: 700 0.9375rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: var(--radius);
  background: #12111a; border: 1px solid var(--line-strong); color: var(--ink);
  font: 500 0.9375rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  transition: border-color 0.2s, background-color 0.2s;
}
.field input:hover { border-color: rgb(246 243 236 / 0.5); }
.field input:focus { outline: none; border-color: var(--gold); background: #17151f; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.verifier__go { margin-top: 22px; }
.verifier__error { margin-top: 12px; color: #ff8a7e; font-size: 0.9375rem; }
.verifier__out { margin-top: 26px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; border-top: 1px solid var(--line); padding-top: 24px; }
.board { display: grid; grid-template-columns: repeat(5, 30px); gap: 5px; }
.board span { width: 30px; height: 30px; border-radius: var(--radius); background: #1b1a3a; border: 1px solid rgb(246 243 236 / 0.08); transition: background-color 0.3s, transform 0.3s var(--ease); }
.board span.is-bomb { background: var(--red); border-color: transparent; }
.board span.is-safe { background: #2c7a3b; border-color: transparent; }
.verifier__facts { display: grid; gap: 14px; }
.verifier__facts dt { font: 700 0.875rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.verifier__facts dd { margin-top: 6px; font: 500 0.875rem/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--gold-hi); overflow-wrap: anywhere; }

.mult { margin-top: 36px; width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mult caption { text-align: left; font: 800 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); padding-bottom: 12px; }
.mult th, .mult td { padding: 10px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mult thead th { font: 700 0.9375rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line-strong); }
.mult th[scope="row"], .mult thead th:first-child { text-align: left; padding-left: 0; }
.mult tbody th { font: 800 1.125rem/1 var(--display); color: var(--ink); }
.mult td { font-size: 0.9375rem; }
.mult td.mult__na { text-align: left; color: var(--muted); white-space: normal; }
.mult + .fineprint { margin-top: 10px; }

.dock { display: none; }

/* ---------- Integration ---------- */
.integration { position: relative; isolation: isolate; overflow: clip; padding: clamp(96px, 12vw, 180px) 0; }
.integration__stage { position: absolute; inset: 0; z-index: -1; }
.integration__stage img { width: 100%; height: 100%; object-fit: cover; object-position: 85% 60%; }
.integration__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgb(11 10 34 / 0.35) 28%, rgb(6 5 9 / 0.45) 70%, var(--black) 100%), linear-gradient(90deg, rgb(6 5 9 / 0.55) 0%, rgb(6 5 9 / 0) 70%); }
.integration__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.rail { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); position: relative; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-strong); }
.rail li { position: relative; padding-top: 30px; }
.rail li::before { content: ""; position: absolute; top: -5px; left: 0; width: 11px; height: 11px; background: var(--gold); }
.rail h3 { font: 900 clamp(2rem, 1.4rem + 1.4vw, 2.75rem)/0.95 var(--display); text-transform: uppercase; }
.rail p { margin-top: 12px; color: rgb(246 243 236 / 0.82); max-width: 30ch; }

/* ---------- Logo kit ---------- */
.kit { max-width: var(--max); margin: 0 auto; padding: clamp(96px, 11vw, 160px) var(--gutter); }
.kit__grid { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.kit__wordmark { background: #000; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(48px, 8vw, 120px) clamp(24px, 5vw, 80px); }
.kit__wordmark img { width: 100%; }
.kit__files h3 { font: 800 1.375rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.kit__files h3 + .files { margin-top: 12px; }
.files + h3 { margin-top: 36px; }
.files a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: color 0.2s, border-color 0.2s;
}
.files li:first-child a { border-top: 1px solid var(--line); }
.files a:hover { color: var(--gold-hi); border-bottom-color: rgb(244 181 45 / 0.5); }
.files__meta { font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.files .icon { font-size: 1.25rem; color: var(--gold); }
.kit .fineprint { margin-top: 22px; }

/* ---------- Contact ---------- */
.contact { position: relative; isolation: isolate; overflow: clip; padding: clamp(110px, 14vw, 200px) 0; }
.contact__stage { position: absolute; inset: 0; z-index: -1; }
.contact__stage img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.contact__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(6 5 9 / 0.93) 0%, rgb(6 5 9 / 0.62) 60%, rgb(6 5 9 / 0.45) 100%), linear-gradient(180deg, var(--black) 0%, rgb(6 5 9 / 0) 30%, rgb(6 5 9 / 0) 70%, var(--black) 100%); }
.contact__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.contact__title { font: 900 clamp(2.75rem, 1.6rem + 3.6vw, 4.75rem)/0.9 var(--display); text-transform: uppercase; }
.nowrap { white-space: nowrap; }
.contact__title a { display: inline-flex; align-items: center; gap: 0.18em; text-decoration: none; transition: color 0.25s; }
.contact__title .icon { color: var(--gold); font-size: 0.8em; transition: transform 0.35s var(--ease); }
.contact__title a:hover { color: var(--gold-hi); }
.contact__title a:hover .icon { transform: translateX(0.12em); }
.contact__lede { margin-top: 24px; max-width: 44ch; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); color: rgb(246 243 236 / 0.88); }
.contact__mail { margin-top: 18px; font: 700 clamp(1.25rem, 1rem + 0.8vw, 1.75rem)/1.2 var(--display); letter-spacing: 0.04em; }
.contact__mail a { color: var(--gold); text-decoration-thickness: 1px; }
.contact__mail a:hover { color: var(--gold-hi); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); }
.foot__inner { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.foot__inner img { height: 34px; width: auto; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__nav a { font: 700 0.9375rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 8px 0; }
.foot__nav a:hover { color: var(--ink); }
.foot__legal, .foot__copy { font-size: 0.875rem; color: var(--muted); }
.foot__copy { margin-left: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bar__nav { gap: 22px; }
  .bar__inner { gap: 28px; }
}
@media (max-width: 960px) {
  :root { --bar-h: 64px; }
  .bar__brand img { height: 34px; }
  .bar__menu {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); font-size: 1.375rem; cursor: pointer;
  }
  .bar__cta { margin-left: auto; }
  .bar__nav {
    position: fixed; inset: var(--bar-h) 0 auto; margin: 0; flex-direction: column; gap: 0;
    background: var(--black); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    display: none;
  }
  .bar__nav.is-open { display: flex; }
  .bar__nav a { padding: 14px 0; font-size: 1.375rem; border-bottom: 1px solid var(--line); }

  .hero { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 32px; padding-top: calc(var(--bar-h) + 28px); min-height: 0; }
  .hero__screen { position: relative; top: auto; right: auto; width: 100%; }
  .hero__balloon { width: 30vw; max-width: 170px; top: calc(var(--bar-h) + 4px); right: auto; left: calc(var(--gutter) - 18px); }
  .hero__bomb { width: 26vw; max-width: 150px; top: calc(var(--bar-h) + 28px + (100vw - 2 * var(--gutter)) * 0.516 - 18vw); right: calc(var(--gutter) - 14px); }
  .hero__stage::after { background: linear-gradient(0deg, var(--black) 0%, rgb(6 5 9 / 0.5) 16%, rgb(6 5 9 / 0.22) 42%, rgb(6 5 9 / 0.1) 62%, rgb(6 5 9 / 0.45) 100%); }
  .hero__copy { text-shadow: 0 1px 2px rgb(6 5 9 / 0.9), 0 2px 22px rgb(6 5 9 / 0.85); }

  .kit__grid { grid-template-columns: minmax(0, 1fr); }
  .game { grid-template-columns: minmax(0, 1fr); }
  .game__art { position: static; width: 100%; }
  .game__body { padding: 8px var(--gutter) clamp(64px, 12vw, 96px); }
  .proofstrip__list { grid-template-columns: minmax(0, 1fr); }
  .proofstrip__list > div { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; padding: 14px 0; }
  .proofstrip__list > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .proofstrip dd { font-size: 1.625rem; }
  .spec { grid-template-columns: minmax(0, 1fr); }
  .proof, .rail { grid-template-columns: minmax(0, 1fr); }
  .rail { gap: 36px; }
  .rail::before { display: none; }
  .rail li { border-top: 1px solid var(--line-strong); }

  .reel__grid { display: block; }
  .reel__phone { display: none; }
  .reel__steps { padding-bottom: 0; }
  .step { min-height: 0; display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 20px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
  .step > :not(.step__shot) { grid-column: 2; }
  .step__shot { display: block; grid-column: 1; grid-row: 1 / span 3; align-self: start; border: 5px solid #15141c; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgb(246 243 236 / 0.12); }
  .step__shot img { width: 100%; height: auto; }
  .step__figure { font-size: clamp(2.75rem, 1.6rem + 5vw, 4rem); }
  .step h3 { margin-top: 10px; font-size: 1.5rem; }
  .step p:not(.step__figure) { font-size: 1rem; }
  .step:not(.is-on) .step__figure { color: var(--gold); }
  .step--bust:not(.is-on) .step__figure { color: var(--red); }
  .step:not(.is-on) h3 { color: var(--ink); }
  .fair__grid { grid-template-columns: minmax(0, 1fr); }
  .dock {
    display: block; position: fixed; inset: auto 0 0; z-index: 15; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(0deg, var(--black) 55%, rgb(6 5 9 / 0)); transform: translateY(110%); transition: transform 0.35s var(--ease);
  }
  .dock[data-show] { transform: none; }
  .dock .btn { width: 100%; }
  .foot__inner { padding-bottom: 104px; }
}
@media (max-width: 560px) {
  .bar__cta { display: none; }
  .bar__menu { margin-left: auto; }
  .hero__actions .btn, .game__actions .btn { flex: 1 1 100%; }
  .spec > div { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .files a { grid-template-columns: minmax(0, 1fr) auto; }
  .files__meta { grid-column: 1; grid-row: 2; margin-top: -10px; }
  .files .icon { grid-row: 1 / span 2; grid-column: 2; }
  .foot__copy { margin-left: 0; }
  .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field-row .field:first-child { grid-column: 1 / -1; }
  .verifier__out { grid-template-columns: minmax(0, 1fr); }
  .mult-wrap { overflow-x: auto; }
  .mult th, .mult td { padding: 9px 6px; }
}

/* ---------- Motion ----------
 * One authored moment: the hero assembles (stage pushes in, the screen lands,
 * balloon and bomb rise, the headline unmasks). The walkthrough crossfades its
 * real screens as you scroll. Everything is visible by default; motion only
 * runs with JS and when the visitor has not asked for less of it. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__stage img { animation: stage-in 2.2s var(--ease) both; }
  .js .hero__screen { animation: land 1.2s var(--ease) 0.2s both; }
  .js .hero__balloon { animation: rise 1.4s var(--ease) 0.45s both; }
  .js .hero__bomb { animation: rise 1.4s var(--ease) 0.6s both; }
  .js .hero__balloon img { animation: float-a 7s ease-in-out 1.9s infinite; }
  .js .hero__bomb img { animation: float-b 6s ease-in-out 2s infinite; }
  .js .hero__title .line > span { animation: unmask 1.1s var(--ease) both; }
  .js .hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
  .js .hero__sub, .js .hero__actions { animation: fade-up 1s var(--ease) 0.35s both; }
  .js .hero__actions { animation-delay: 0.45s; }
}
@keyframes stage-in { from { transform: scale(1.16); opacity: 0; } }
@keyframes land { from { opacity: 0; transform: translateY(36px) scale(0.98); } }
@keyframes rise { from { opacity: 0; transform: translateY(90px) rotate(-8deg); } }
@keyframes unmask { from { transform: translateY(104%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes float-a { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(-2deg); } }
@keyframes float-b { 0%, 100% { transform: translateY(0) rotate(8deg); } 50% { transform: translateY(-12px) rotate(4deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel__screen picture { transition: none; }
  .step { opacity: 1; }
}
