/* Tom and Rob in the Studio — "colour chapters": every section is a tape spine on the shelf. */

@font-face { font-family: "Albert Sans"; font-weight: 400; font-display: swap; src: url(/fonts/albert-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Albert Sans"; font-weight: 500; font-display: swap; src: url(/fonts/albert-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Albert Sans"; font-weight: 600; font-display: swap; src: url(/fonts/albert-sans-latin-600-normal.woff2) format("woff2"); }

:root {
  --orange: #ff8126; --sky: #4db3ff; --lime: #c5f53d; --red: #de194b; --dark: #161615;
  --ink: #111111; --paper: #f2f2f2;
  --accent: #de194b; --accent-ink: #ffffff;

  --step-small: clamp(0.9375rem, 0.9rem + 0.1vw, 1rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.1rem + 1vw, 2.25rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3rem, 1rem + 7vw, 8.25rem);

  --m: clamp(16px, 2.6vw, 36px);
  --gap: clamp(16px, 2vw, 28px);
  --section: clamp(96px, 11vw, 176px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --bar-bg: var(--dark); --bar-ink: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--dark); color: var(--paper);
  font-family: "Albert Sans", system-ui, sans-serif; font-size: var(--step-body); line-height: 1.5;
  font-kerning: normal; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--lime); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--lime); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 10px; }

/* ---------- fields (chapters) */
.f-orange { background: var(--orange); color: var(--ink); }
.f-sky { background: var(--sky); color: var(--ink); }
.f-lime { background: var(--lime); color: var(--ink); }
.f-red { background: var(--red); color: #fff; }
.f-dark { background: var(--dark); color: var(--paper); }

/* ---------- buttons: square, flat, one fill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: 0;
  font: 600 var(--step-body)/1 "Albert Sans", sans-serif; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #f02a5c; }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2a2a28; }

/* ---------- rich text from the editor */
.rich > * + * { margin-top: 0.9em; }
.rich h2 { font-size: var(--step-lead); letter-spacing: -0.02em; margin-top: 1.4em; }
.rich h3 { font-size: calc(var(--step-body) * 1.25); letter-spacing: -0.015em; margin-top: 1.4em; line-height: 1.15; }
.rich h4 { font-size: var(--step-body); letter-spacing: 0; margin-top: 1.2em; }
.rich ul, .rich ol { padding-left: 1.2em; }
.rich ul li { list-style: square; }
.rich ol li { list-style: decimal; }
.rich li + li { margin-top: .35em; }
.rich blockquote { margin: 1.2em 0; padding-left: 1em; font-size: var(--step-lead); line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; }
.rich a { font-weight: 500; }
.rich img { margin: 1.4em 0; }
.rich code, .rich kbd { font: inherit; font-weight: 600; padding: 0 .3em; background: rgba(0,0,0,.12); }
.rich pre { font-family: ui-monospace, Menlo, monospace; /* taste-skill-ignore: real code */ font-size: .9em; padding: 1em; background: rgba(0,0,0,.18); overflow-x: auto; }
.rich--long { max-width: 66ch; }
.lead { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.015em; font-weight: 500; max-width: 30ch; }
.lead.rich > * + * { margin-top: .6em; }

/* ---------- inner-page bar: takes the colour of the chapter beneath it */
.bar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px;
  height: 68px; padding: 0 var(--m); background: var(--bar-bg); color: var(--bar-ink);
  transition: background-color .3s ease, color .3s ease;
}
.bar__mark { font-weight: 600; text-decoration: none; letter-spacing: -0.02em; font-size: 1.125rem; margin-right: auto; }
.bar__nav { display: flex; gap: 24px; }
.bar__nav a { text-decoration: none; font-weight: 500; padding: 8px 0; }
.bar__nav a:hover, .bar__nav a[aria-current] { text-decoration: underline; }
.btn--bar { min-height: 44px; padding: 0 18px; background: var(--bar-ink); color: var(--bar-bg); font-size: 1rem; }
.bar__menu { display: none; }
.phone-nav { display: none; }

/* ---------- home hero: the picture beside a shelf of tape spines */
.hero { display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 2fr); gap: 10px; height: 100svh; min-height: 640px; padding: 10px; background: var(--dark); }
.hero__panel { position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; background: #2a2a28; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.09) translate(-1%, -1%); } }
.hero__mark { position: relative; z-index: 1; justify-self: start; margin: 28px; padding: 8px 12px; background: var(--dark); color: var(--paper); font-weight: 600; text-decoration: none; letter-spacing: -0.02em; }
.hero__head { position: relative; z-index: 1; align-self: start; margin-top: 2vh; padding: 3vh 4vw 3.6vh; background: rgba(17, 17, 17, .58); text-align: center; }
.hero__title { color: #fff; font-size: clamp(3.5rem, 8.4vw, 8.25rem); line-height: .96; letter-spacing: -0.04em; }
.hero__sub, .hero__btn { position: relative; z-index: 1; }
.hero__sub { grid-row: 3; max-width: 34ch; margin: 0 0 36px 28px; padding: 14px 16px; background: rgba(17, 17, 17, .72); color: #fff; font-size: var(--step-body); }
.hero__btn { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); }
.hero__btn:hover { transform: translate(-50%, -3px); }
.spines { display: flex; flex-direction: column; }
.spine { flex: 1; padding: 20px; font-weight: 600; font-size: 1.125rem; line-height: 1.15; letter-spacing: -0.015em; text-decoration: none; transition: transform .3s var(--ease); }
.spine:hover, .spine:focus-visible { transform: translateX(-10px); }

/* ---------- staircase statement */
.stair { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; padding: var(--section) var(--m); min-height: 92svh; }
.stair__text { grid-column: 1 / 10; font-size: var(--step-lead); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; padding-top: 2vh; }
.stair__text span { display: block; padding-left: calc(var(--i) * 6vw); }
.stair__text span:nth-child(2n) { color: #4a1d00; }
.stair__pics { grid-column: 10 / 13; display: grid; gap: 16px; }
.stair__pics img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--dark); }
.stair__note { grid-column: 1 / 7; margin-top: clamp(48px, 8vw, 120px); font-size: var(--step-body); max-width: 44ch; }

/* ---------- games: cards crossing a held stage */
.show { position: relative; }
.show__stage { padding: var(--section) var(--m); overflow: hidden; }
.show__h { font-size: var(--step-display); max-width: 10ch; margin-bottom: clamp(40px, 5vw, 72px); }
.show__empty { max-width: 34ch; font-size: var(--step-lead); line-height: 1.25; font-weight: 500; }
.show__art { width: min(720px, 100%); margin-top: 48px; }
.show__track { display: flex; gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.show--pin { height: calc(100svh + var(--count) * 50svh); }
.show__window { overflow: hidden; }
.show--pin .show__stage { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.show--pin .show__h { font-size: var(--step-head); margin: 0; max-width: none; }
.show--pin .show__track { overflow: visible; will-change: transform; padding-left: 0; }
.show--pin .gcard { height: min(560px, calc(100svh - 220px)); }
.gcard {
  flex: 0 0 min(720px, 82vw); height: min(560px, 64svh); display: grid; grid-template-rows: 68% 32%;
  text-decoration: none; scroll-snap-align: start; transition: transform .35s var(--ease);
}
.gcard:hover { transform: translateY(-6px); }
.gcard__pic { overflow: hidden; background: var(--dark); }
.gcard__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gcard:hover .gcard__pic img { transform: scale(1.04); }
.gcard__panel { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 28px; background: var(--gb); color: var(--gi); }
.gcard__name { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
.gcard__desc { max-width: 26ch; text-align: right; font-size: 1rem; }
.gcard__desc strong { font-weight: 600; }

/* ---------- names as one paragraph */
.names { padding: var(--section) var(--m); min-height: 80svh; display: flex; flex-direction: column; justify-content: center; }
.names__p { font-size: var(--step-lead); font-weight: 500; line-height: 1.32; letter-spacing: -0.02em; max-width: 1500px; }
.names__h { font-size: var(--step-head); margin-bottom: 40px; }
.names__p a { text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .3s var(--ease); }
.names__p a:hover, .names__p a:focus-visible { text-decoration-color: currentColor; }
.names__frame { display: inline-block; width: 1.42em; height: .8em; margin-left: .2em; vertical-align: baseline; overflow: hidden; transform-origin: left center; transition: transform .35s var(--ease); background: var(--dark); }
.names__frame img { width: 100%; height: 100%; object-fit: cover; }
.names__p a:hover .names__frame { transform: scale(1.6); }
.names__note { margin-top: 40px; font-size: var(--step-small); }

/* ---------- the vote */
.vote { padding: var(--section) var(--m); }
.vote__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.vote__h { grid-column: 1 / 9; font-size: var(--step-display); }
.vote__sub { grid-column: 9 / 13; max-width: 32ch; }
.vote__form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vote__opt {
  position: relative; overflow: hidden; min-height: clamp(220px, 34svh, 360px); display: flex; align-items: flex-end; justify-content: space-between;
  padding: clamp(20px, 2.4vw, 36px); border: 0; background: #b3103a; color: #fff; text-align: left; cursor: pointer;
  font: inherit; transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.vote__opt:hover { background: #9c0d32; }
.vote__opt:active { transform: scale(.99); }
.vote__fill { position: absolute; inset: auto 0 0 0; height: var(--pct); background: var(--dark); transition: height .8s var(--ease); }
.vote__form:not(.is-voted) .vote__fill { height: 0; }
.vote__who, .vote__num { position: relative; }
.vote__who { font-size: var(--step-display); font-weight: 600; letter-spacing: -0.04em; line-height: .9; }
.vote__num { font-size: var(--step-lead); font-weight: 600; }
.vote__form:not(.is-voted) .vote__num { opacity: 0; }
.vote__opt[aria-pressed="true"] .vote__who::after { content: " · your vote"; font-size: var(--step-small); letter-spacing: 0; font-weight: 500; }
.vote__count { margin-top: 20px; font-size: var(--step-small); }

/* ---------- inset panel, CRT-shaped picture */
.inset { padding: 20px; }
.inset__panel { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); grid-template-rows: auto 1fr; padding: 56px 56px 0; }
.inset__h { grid-column: 1 / 7; grid-row: 1; font-size: var(--step-head); color: var(--lime); align-self: start; max-width: 9ch; }
.inset__text { grid-column: 8 / 12; grid-row: 1 / 3; display: grid; gap: 56px; align-content: start; max-width: 360px; }
.inset__text h3 { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.inset__text .btn { justify-self: start; }
.inset__shape { grid-column: 1 / 7; grid-row: 2; align-self: end; width: 38vw; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 72px; margin-bottom: -7vw; clip-path: inset(0 round 16% / 21%); background: var(--sky); }

/* ---------- photo strip + three-cell bar */
.strip { padding: 48px var(--m) var(--section); overflow: hidden; }
.strip__run { margin: 0 calc(var(--m) * -1) 72px; overflow: hidden; }
.strip__belt { display: flex; gap: 8px; width: max-content; animation: belt 70s linear infinite; }
.strip__belt img { height: 150px; object-fit: cover; background: var(--dark); }
.strip__belt .r0 { width: 112px; } .strip__belt .r1 { width: 150px; } .strip__belt .r2 { width: 225px; }
@keyframes belt { to { transform: translateX(-50%); } }
.strip__h { font-size: var(--step-head); margin-bottom: 40px; }
.strip__done { margin: -16px 0 24px; font-weight: 600; }
.strip__bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cell { display: block; height: 96px; }
.cell input { width: 100%; height: 100%; border: 0; border-radius: 0; background: #ffa463; color: var(--ink); font: inherit; font-size: 1.125rem; text-align: center; padding: 0 16px; transition: background-color .2s; }
.cell input::placeholder { color: #4a1d00; }
.cell input:focus { background: #ffe0c7; outline: 3px solid var(--ink); outline-offset: -3px; }
.cell--go { border: 0; background: var(--ink); color: var(--orange); font: 600 var(--step-lead)/1 "Albert Sans", sans-serif; letter-spacing: -0.02em; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.cell--go:hover { background: #2a2a28; }
.cell--go:active { transform: scale(.99); }
.strip__small { margin-top: 14px; font-size: var(--step-small); }

/* ---------- footer */
.foot { padding: var(--section) var(--m) 32px; overflow: hidden; }
.foot__name { font-size: clamp(2.5rem, 7.1vw, 9rem); font-weight: 600; letter-spacing: -0.045em; line-height: .9; white-space: nowrap; color: var(--paper); }
.foot__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 72px; }
.foot__places { grid-column: 1 / 7; display: grid; gap: 14px; }
.foot__places a { display: block; color: var(--lime); font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; }
.foot__places a:hover { text-decoration: underline; }
.foot__places span { font-size: var(--step-small); }
.foot__cols { grid-column: 8 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.foot__h { font-size: var(--step-small); letter-spacing: 0; margin-bottom: 12px; font-weight: 600; color: var(--lime); }
.foot__cols li + li { margin-top: 8px; }
.foot__cols a { font-size: 1rem; text-decoration: none; }
.foot__cols a:hover { text-decoration: underline; }
.foot__legal { display: flex; justify-content: space-between; gap: 24px; margin-top: 96px; font-size: var(--step-small); }

/* ---------- inner-page chapters */
.chap { padding: var(--section) var(--m); }
.chap__h { font-size: var(--step-head); margin-bottom: clamp(32px, 4vw, 56px); max-width: 14ch; }
.chap--open { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; min-height: calc(100svh - 68px); padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.open__text { grid-column: 1 / 7; display: grid; gap: 32px; justify-items: start; }
.open__h { font-size: var(--step-display); line-height: .95; letter-spacing: -0.045em; max-width: 12ch; }
.open__pic, .open__media, .open__pic-link { grid-column: 7 / 13; width: 100%; }
.open__pic-link { display: block; overflow: hidden; }
.open__pic-link .open__pic { transition: transform .5s var(--ease); }
.open__pic-link:hover .open__pic { transform: scale(1.03); }
.open__pic { aspect-ratio: 3 / 2; object-fit: cover; background: var(--dark); }
.open__pic--contain { object-fit: contain; background: transparent; }
.open__cap { margin-top: 12px; font-size: var(--step-small); }
.make li { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: 22px 0; }
.make li:nth-child(odd) { background: rgba(255, 255, 255, .14); margin: 0 calc(var(--m) * -1); padding-left: var(--m); padding-right: var(--m); }
.make__t { grid-column: 1 / 7; font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.make__d { grid-column: 7 / 13; font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.015em; }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.split__text { grid-column: 1 / 7; }
.split__pic { grid-column: 8 / 13; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; position: sticky; top: 100px; }
.split__pic--crt { clip-path: inset(0 round 16% / 21%); }
.split--flip .split__text { grid-column: 7 / 13; grid-row: 1; }
.split--flip .split__pic { grid-column: 1 / 6; grid-row: 1; }
.chap--cta { display: grid; gap: 32px; justify-items: start; min-height: 72svh; align-content: center; }
.chap--reel:has(.reel) { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.chap--reel:has(.reel) > :not(.reel) { grid-column: 1 / 7; }
.chap--reel .cta__h { font-size: var(--step-head); }
.reel { grid-column: 8 / 13; grid-row: 1 / span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-self: center; width: 100%; }
.reel a { display: grid; gap: 8px; text-decoration: none; font-size: 1rem; font-weight: 500; line-height: 1.3; }
.reel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--dark); transition: transform .4s var(--ease); }
.reel a:hover img { transform: scale(1.03); }
.reel a:hover span { text-decoration: underline; }
.cta__h { font-size: var(--step-display); line-height: .95; letter-spacing: -0.045em; max-width: 11ch; }

/* games shelf: each game is a tape spine in its own colours */
.shelf { display: grid; gap: 10px; }
.shelf__tape {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 1fr) 200px; align-items: center; gap: var(--gap);
  min-height: 120px; padding: 16px 16px 16px var(--m); background: var(--gb); color: var(--gi); text-decoration: none;
  transition: transform .3s var(--ease);
}
.shelf__tape:hover, .shelf__tape:focus-visible { transform: translateX(14px); }
.shelf__title { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.shelf__price { font-weight: 600; font-size: var(--step-lead); }
.shelf__tape img { width: 200px; aspect-ratio: 16 / 9; object-fit: cover; }

/* youtube list */
.vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--gap); }
.vids li:nth-child(3n + 1) { grid-column: 1 / -1; }
.vid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: end; text-decoration: none; }
.vids li:nth-child(3n + 1) .vid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.vid img { grid-row: 1 / 3; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s var(--ease); }
.vid:hover img { transform: scale(1.02); }
.vid__t { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.vid:hover .vid__t { text-decoration: underline; }
.vid__d { font-size: 1rem; align-self: start; }
.lite { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.lite img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.lite:hover img { transform: scale(1.03); }
.lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lite__play { position: absolute; left: 20px; bottom: 20px; padding: 14px 22px; background: var(--paper); color: var(--ink); font-weight: 600; }
.lite:hover .lite__play { background: #fff; }

/* contact */
.formchap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.formchap__intro { grid-column: 1 / 6; display: grid; gap: 0; }
.cform { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; font-weight: 500; }
.field--wide { grid-column: 1 / -1; }
.field small { font-size: var(--step-small); }
.field input, .field select, .field textarea { width: 100%; min-height: 56px; padding: 14px 16px; border: 0; border-radius: 0; background: #8ccdff; color: var(--ink); font: inherit; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: #dff0ff; outline: 3px solid var(--ink); outline-offset: 0; }
.cform .btn { justify-self: start; }
.cform__ok, .cform__err { grid-column: 1 / -1; padding: 16px; font-weight: 600; background: var(--ink); color: var(--lime); }
.cform__err { color: #ffb3c4; }
.reach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--section) var(--gap); }
.reach__list { display: grid; gap: 22px; }
.reach__list li { display: grid; gap: 2px; }
.reach__who { font-size: 1rem; color: var(--lime); }
.reach__list a { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; line-height: 1.15; }
.reach__list a:hover { text-decoration: underline; }
.note { font-size: var(--step-small); }

/* ---------- game pages: colours come from the admin */
.game { background: var(--g-bg); --bar-bg: var(--g-bg); --bar-ink: var(--g-ink); }
.g-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; min-height: calc(100svh - 68px); padding: clamp(48px, 6vw, 96px) var(--m); background: var(--g-bg); color: var(--g-ink); }
.g-hero__text { grid-column: 1 / 7; display: grid; gap: 24px; justify-items: start; }
.crumbs a { font-size: var(--step-small); }
.g-hero__h { font-size: clamp(2.75rem, calc(125vw / var(--len)), 8rem); line-height: .94; letter-spacing: -0.045em; overflow-wrap: anywhere; }
.g-hero__tag { font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.015em; max-width: 26ch; }
.g-hero__price { font-size: var(--step-lead); font-weight: 600; color: var(--g-accent); }
.g-hero__price span { display: block; font-size: var(--step-small); font-weight: 400; color: var(--g-ink); margin-top: 6px; }
.g-hero__pic { grid-column: 7 / 13; margin: 0; }
.g-hero__pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--g-surface); }
.g-btn { background: var(--g-accent); color: var(--g-accent-ink); }
.g-btn:hover { filter: brightness(1.08); }
.g-btn--big { min-height: 72px; padding: 0 40px; font-size: var(--step-lead); }
.g-chap { padding: var(--section) var(--m); }
.g-surface { background: var(--g-surface); color: var(--g-surface-ink); }
.g-bg { background: var(--g-bg); color: var(--g-ink); }
.g-accent { background: var(--g-accent); color: var(--g-accent-ink); }
.g-inverse { background: var(--g-ink); color: var(--g-ink-on-ink); }
.g-inverse .plat { background: var(--g-ink-on-ink); color: var(--g-ink); }
.g-h { font-size: var(--step-head); margin-bottom: clamp(32px, 4vw, 56px); max-width: 16ch; }
.g-h2 { font-size: var(--step-lead); letter-spacing: -0.025em; margin-bottom: 24px; }
.g-about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.g-about .g-h { grid-column: 1 / 5; }
.g-about .rich { grid-column: 6 / 13; font-size: calc(var(--step-body) * 1.08); }
.g-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--section) var(--gap); }
.g-two kbd, .g-two code { background: var(--g-accent-ink); color: var(--g-accent); padding: .1em .45em; }
.rich--log h3 { font-size: var(--step-body); }
.shots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.shot { grid-column: span 4; margin: 0; }
.shot:first-child { grid-column: span 8; grid-row: span 2; }
.shots--1 .shot:first-child { grid-column: 1 / -1; }
.shots--2 .shot:first-child { grid-row: auto; grid-column: span 7; }
.shots--2 .shot:nth-child(2) { grid-column: span 5; }
.shots--4 .shot:nth-child(4) { grid-column: span 12; }
.shot__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.shot__open img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s var(--ease); }
.shot:first-child .shot__open img { aspect-ratio: auto; height: 100%; min-height: 100%; }
.shot__open:hover img { transform: scale(1.03); }
.shot figcaption { margin-top: 10px; font-weight: 500; }
.box { width: min(1400px, 94vw); max-height: 94vh; padding: 0; border: 0; background: var(--dark); color: var(--paper); }
.box::backdrop { background: rgba(0, 0, 0, .86); }
.box img { width: 100%; max-height: 82vh; object-fit: contain; }
.box p { padding: 14px 18px; }
.box__close { position: absolute; right: 0; top: 0; z-index: 2; min-height: 48px; padding: 0 18px; border: 0; background: var(--paper); color: var(--ink); font: 600 1rem "Albert Sans", sans-serif; cursor: pointer; }
.g-get { display: grid; gap: 28px; justify-items: start; }
.g-get .g-h { margin-bottom: 0; font-size: var(--step-display); }
.g-get__price { font-size: var(--step-display); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.plat { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 180px; padding: 24px; background: var(--g-accent); color: var(--g-accent-ink); text-decoration: none; transition: transform .25s var(--ease); }
.plat:hover { transform: translateY(-6px); }
.plat__os { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.plat__size { font-size: var(--step-small); }
.plats--ink .plat { background: var(--ink); color: var(--lime); }
.preview-note { padding: 12px var(--m); background: var(--lime); color: var(--ink); font-weight: 600; }

/* game status, meta, split chapters, tables, changelog */
.g-state { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; max-width: 40ch; font-size: 1rem; }
.g-state strong { font-size: var(--step-body); }
.g-state__mark { width: 14px; height: 14px; grid-row: span 2; align-self: center; background: var(--g-accent); }
.g-state--alpha .g-state__mark { background: #ff8126; }
.g-state--beta .g-state__mark { background: #4db3ff; }
.g-state--stable .g-state__mark { background: #9be22d; }
.g-state__mark { grid-column: 1; grid-row: 1; align-self: center; }
.g-state strong, .g-state span:not(.g-state__mark) { grid-column: 2; }
.g-hero__meta { font-size: 1rem; font-weight: 500; }
.g-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.g-split .g-h { grid-column: 1 / 5; }
.g-split > .rich { grid-column: 5 / 13; }
.rich--wide { max-width: none; }
.rich table { width: 100%; border-collapse: collapse; font-size: var(--step-body); margin: 1em 0 1.6em; }
.rich th, .rich td { text-align: left; vertical-align: top; padding: 12px 16px; }
.rich th { font-weight: 600; background: rgba(0, 0, 0, .16); }
.rich tbody tr:nth-child(odd) td { background: rgba(0, 0, 0, .07); }
.rich td:first-child { font-weight: 600; white-space: nowrap; }
.rich h2 + table, .rich h3 + table { margin-top: .6em; }
.rich--log h2, .rich--log h3 { font-size: var(--step-lead); margin-top: 1.6em; }
.rich--log h2:first-child, .rich--log h3:first-child { margin-top: 0; }
.rich--log h4 { font-size: var(--step-body); }
.older { margin-top: 2em; }
.older summary { cursor: pointer; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; background: var(--g-accent); color: var(--g-accent-ink); font-weight: 600; list-style: none; }
.older summary::-webkit-details-marker { display: none; }
.older summary:hover { filter: brightness(1.08); }
.older[open] summary { margin-bottom: 1em; }
.shot figcaption span { display: block; margin-top: 4px; font-weight: 400; font-size: 1rem; max-width: 60ch; }
.g-get__notes { display: grid; gap: 6px; font-size: 1rem; }
.plat__size { line-height: 1.4; }

/* ---------- motion: parts of each section rise in, once */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rise] { transform: none; transition: opacity .3s linear; }
  .hero__img, .strip__belt { animation: none; }
  .show--pin { height: auto; }
  .show--pin .show__stage { position: static; height: auto; padding: var(--section) var(--m); }
  .show--pin .show__h { position: static; margin-bottom: 40px; }
  .show--pin .show__track { overflow-x: auto; transform: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- tablet */
@media (max-width: 1024px) {
  .inset__panel { padding: 40px; }
  .inset__text { grid-column: 7 / 13; }
  .shelf__tape { grid-template-columns: minmax(0, 1fr) auto; }
  .shelf__meta { grid-column: 1; }
  .shelf__tape img { display: none; }
  .bar__nav { gap: 16px; }
  .chap--open { display: block; min-height: 0; }
  .open__text { gap: 24px; }
  .open__pic, .open__media { margin-top: 48px; }
  .chap--reel:has(.reel) { display: grid; grid-template-columns: 1fr; }
  .g-hero { display: block; min-height: 0; }
  .g-hero__h { font-size: clamp(2.75rem, calc(280vw / var(--len)), 8rem); }
  .g-hero__pic { margin-top: 48px; }
  .g-split, .g-about { display: block; }
  .g-split > .rich, .g-about .rich { margin-top: 8px; }
  .rich table { display: block; overflow-x: auto; }
  .chap--reel:has(.reel) > :not(.reel), .reel { grid-column: 1; grid-row: auto; }
}

/* ---------- phone: its own composition */
@media (max-width: 760px) {
  .bar { height: 60px; gap: 12px; }
  .bar__nav, .btn--bar { display: none; }
  .bar__menu { display: block; min-height: 44px; padding: 0 16px; border: 0; background: var(--bar-ink); color: var(--bar-bg); font: 600 1rem "Albert Sans", sans-serif; cursor: pointer; }
  .phone-nav:not([hidden]) { display: grid; position: sticky; top: 60px; z-index: 29; }
  .phone-nav a { display: block; padding: 16px var(--m); font-weight: 600; font-size: 1.25rem; text-decoration: none; }

  .hero { display: block; height: auto; min-height: 0; padding: 8px; }
  .hero__panel { height: 64svh; min-height: 420px; }
  .hero__head { padding: 18px 16px 20px; }
  .hero__title { font-size: 12vw; }
  .hero__sub { display: none; }
  .hero__btn { bottom: 24px; white-space: nowrap; }
  .spines { margin-top: 8px; }
  .spine { flex: none; height: 52px; padding: 14px 16px; font-size: 15px; }
  .spine:hover { transform: none; }

  .stair { display: block; min-height: 0; }
  .stair__text { font-size: 24px; }
  .stair__text span { padding-left: calc(var(--i) * 5vw); }
  .stair__pics { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 40px; }
  .stair__note { margin-top: 32px; }
  .stair::before { content: none; }

  .show--pin { height: auto; }
  .show--pin .show__stage { position: static; height: auto; padding: var(--section) var(--m); display: block; }
  .show--pin .show__h { position: static; margin-bottom: 32px; font-size: var(--step-display); }
  .show__track, .show--pin .show__track { display: grid; gap: 24px; overflow: visible; transform: none !important; }
  .gcard { height: auto; grid-template-rows: auto 140px; }
  .gcard__pic img { aspect-ratio: 4 / 3; }
  .gcard__panel { flex-direction: column; align-items: start; padding: 20px; }
  .gcard__name { font-size: 26px; }
  .gcard__desc { text-align: left; }

  .names { min-height: 0; }
  .names__p { font-size: 24px; line-height: 1.45; }
  .names__p a { padding: 3px 0; }

  .vote__top { display: block; }
  .vote__sub { margin-top: 20px; }
  .vote__form { gap: 8px; }
  .vote__opt { min-height: 200px; flex-direction: column; align-items: flex-start; }
  .vote__who { font-size: 15vw; }

  .inset { padding: 10px; }
  .inset__panel { display: block; padding: 32px 20px 0; min-height: 0; }
  .inset__h { font-size: 8.5vw; margin-bottom: 32px; font-size: 34px; }
  .inset__text { gap: 32px; max-width: none; }
  .inset__shape { width: 86vw; margin: 48px auto calc(-86vw * .75 * .25); }

  .strip__belt img { height: 110px; }
  .strip__belt .r0 { width: 82px; } .strip__belt .r1 { width: 110px; } .strip__belt .r2 { width: 165px; }
  .strip__run { margin-bottom: 48px; }
  .strip__bar { grid-template-columns: 1fr; }
  .cell { height: 60px; }

  .foot__name { font-size: 7.6vw; }
  .foot__row { display: block; margin-top: 48px; }
  .foot__places a { font-size: 22px; }
  .foot__cols { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .foot__cols > div:last-child { grid-column: 1 / -1; }
  .foot__legal { margin-top: 64px; }

  .chap--open { display: block; min-height: 0; }
  .open__text { gap: 24px; }
  .open__pic, .open__media { margin-top: 40px; }
  .make li { display: block; padding: 20px 0; }
  .make__d { display: block; margin-top: 8px; font-size: 20px; }
  .split { display: block; }
  .split__pic { position: static; margin-top: 40px; }
  .formchap { display: block; }
  .cform { grid-template-columns: 1fr; margin-top: 32px; }
  .reach { grid-template-columns: 1fr; gap: 64px; }
  .vids { grid-template-columns: 1fr; }
  .vid, .vids li:nth-child(3n + 1) .vid { grid-template-columns: 1fr; }
  .vid img { grid-row: auto; }
  .shelf__title { font-size: 28px; }

  .g-hero { display: block; min-height: 0; }
  .g-hero__h { font-size: clamp(2.5rem, calc(320vw / var(--len)), 15vw); }
  .g-hero__pic { margin-top: 40px; }
  .g-about, .g-two, .g-split { display: block; }
  .g-split .g-h { position: static; }
  .rich table { font-size: 15px; display: block; overflow-x: auto; }
  .rich--log h2, .rich--log h3 { font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.25; }
  .rich td:first-child { white-space: normal; }
  .g-two > div + div { margin-top: 64px; }
  .shots { grid-template-columns: 1fr; }
  .shot, .shot:first-child, .shots--2 .shot:first-child, .shots--2 .shot:nth-child(2), .shots--4 .shot:nth-child(4) { grid-column: auto; grid-row: auto; }
  .shot:first-child .shot__open img { aspect-ratio: 16 / 9; height: auto; }
  .plats { grid-template-columns: 1fr; }
  .plat { min-height: 120px; }
}
