/*
 * SkribbleInk website (5 December 2026). One stylesheet for every page made by make-site.mjs.
 * In SkribbleInk's colours, from his logo (see SITE-2026-12-05.md for where it was made from).
 * The fonts are in public/assets/fonts (OFL).
 *
 * The identity comes from his logo (ScribbleInk_Full_Color_Logo.png): its purples and violet, its cyan and its white, on a
 * deep blue-black ground; the same colours as the studio's game UI (starter/UI-2026-12-05.md). Its device is the logo's
 * own ink drop. Every game page and card also carries its game's own colour as --acc, measured from its card.
 */
@font-face { font-family: "Big Shoulders Display"; font-weight: 600 900; font-display: swap; src: url("/assets/fonts/big-shoulders-display.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/hanken-grotesk.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --ground: #0b0a2b;    /* the ground: deep blue-black (the UI's) */
  --deep: #13113d;      /* raised ground */
  --panel: #1c1852;     /* panels */
  --white: #f8f8f8;     /* the logo's white */
  --mist: #c6c4e4;      /* body text (11.5:1 on the ground) */
  --dim: #918fbd;       /* quiet text (6.3:1 on the ground) */
  --purple: #8c14cc;    /* the logo's purple: the main colour */
  --violet: #c828f8;    /* the logo's violet: purple text on dark (4.7:1) */
  --dusk: #3d0c7c;      /* the logo's deep purple: the shade in the bands */
  --cyan: #1ee8f6;      /* the logo's cyan (Ink): the drop, the marks */
  --line: #f8f8f81f;
  --acc: #c828f8;       /* each game's own colour, set per game */
  --acc-ink: color-mix(in oklab, var(--acc) 62%, white);
  --head: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1360px;
  --pad: clamp(20px, 4vw, 56px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
a, button, select, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--ground); color: var(--mist); font: 400 17px/1.6 var(--body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* the grain over everything, so no surface reads as flat colour */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; background: url("/art/grain-2026-12-02.webp") repeat; background-size: 160px; opacity: 0.075; mix-blend-mode: overlay; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--white); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--purple); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--ground); font-weight: 700; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.num { font-variant-numeric: tabular-nums lining-nums; }

h1, h2, h3 { color: var(--white); font-family: var(--head); font-weight: 800; line-height: 0.95; letter-spacing: 0.005em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(40px, 5.2vw, 76px); }
h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.05; }
p { margin: 0 0 1em; text-wrap: pretty; }

/* ---- the ink drop: the logo's own drip (point up, round foot), used where a list or a status needs a sign */
.drop { display: inline-block; width: 0.5em; height: 0.5em; background: var(--cyan); border-radius: 0 50% 50% 50%; rotate: 45deg; flex: none; }

/* ---- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 15px/1 var(--body); letter-spacing: 0.02em; text-decoration: none; cursor: pointer; border: 0; transition: transform 0.18s var(--ease-snap), background-color 0.18s, box-shadow 0.18s, color 0.18s; }
.btn:active { transform: scale(0.97); }
.btn-play { background: var(--purple); color: #fff; box-shadow: 0 10px 30px -8px #8c14cc99, inset 0 1px 0 #ffffff33; }
.btn-play:hover { background: #a01ee6; }
/* Play on Stake and Play on Roobet are one matched pair: the same quiet outline, behind
   the purple Play the demo */
.btn-real, .btn-line { background: #0b0a2b66; color: var(--white); box-shadow: inset 0 0 0 1.5px #f8f8f859; backdrop-filter: blur(6px); }
.btn-real:hover, .btn-line:hover { background: #f8f8f814; box-shadow: inset 0 0 0 1.5px var(--white); }
/* the external-link arrow: one drawn shape, not borders */
.btn .ext { flex: none; width: 12px; height: 12px; background: currentColor; opacity: 0.8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5 8.5 3.5M4.25 3.5H8.5V7.75'/%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 12 12' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5 8.5 3.5M4.25 3.5H8.5V7.75'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn:hover .ext { opacity: 1; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- the top bar */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
.top.solid, .top.plain { background: #0b0a2be6; box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px) saturate(1.2); }
.top-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
/* his full-colour logo: drawn 64 px high (the squid, the name and the drip), from a 160 px picture */
.brand-logo { width: auto; height: 64px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 10px 14px; color: var(--mist); font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 8px; transition: color 0.15s; }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; background: var(--cyan); border-radius: 0 50% 50% 50%; rotate: 45deg; translate: -50% 0; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); color: var(--white); font: 800 15px/1 var(--head); letter-spacing: 0.04em; text-decoration: none; transition: box-shadow 0.15s; }
.social a:hover { box-shadow: inset 0 0 0 1px var(--white); }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .top-in { height: 64px; gap: 12px; }
  .brand-logo { height: 52px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #f8f8f814; color: var(--white); font: 700 14px/1 var(--body); cursor: pointer; }
  .menu-btn i { position: relative; width: 16px; height: 2px; background: currentColor; transition: background-color 0.2s; }
  .menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor; transition: translate 0.25s var(--ease-out), rotate 0.25s var(--ease-out); }
  .menu-btn i::before { translate: 0 -5px; }
  .menu-btn i::after { translate: 0 5px; }
  .top.open .menu-btn i { background: transparent; }
  .top.open .menu-btn i::before { translate: 0 0; rotate: 45deg; }
  .top.open .menu-btn i::after { translate: 0 0; rotate: -45deg; }
  .nav-wrap { position: fixed; inset: 64px 0 auto; padding: 12px var(--pad) 24px; background: #0b0a2bf7; box-shadow: 0 30px 60px #000a, 0 1px 0 var(--line); backdrop-filter: blur(14px); display: grid; gap: 14px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.35s var(--ease-out), visibility 0s 0.35s; }
  .top.open .nav-wrap { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.35s var(--ease-out); }
  .nav { flex-direction: column; align-items: stretch; }
  .nav a { padding: 14px 4px; font: 800 28px/1 var(--head); letter-spacing: 0.01em; color: var(--white); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]::after { left: auto; right: 6px; bottom: 50%; translate: 0 50%; width: 9px; height: 9px; }
}
@media (min-width: 901px) { .nav-wrap { display: flex; align-items: center; gap: 22px; } }

/* ---- the stage: a game's own scene, its hero standing in it, and its facts (home and every game page) */
.stage { --acc: var(--purple); position: relative; isolation: isolate; min-height: clamp(640px, 100svh, 1200px); display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; overflow: clip; color: var(--white); }
.stage-scene, .stage-scene img { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-scene { z-index: -3; }
.stage-scene img { object-fit: cover; object-position: 50% 40%; transform: scale(1.06); will-change: transform; }
/* the grade: the scene sinks into the ground on the left (behind the words) and at the foot, tinted with the game's colour */
.stage::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, var(--ground) 0%, #0b0a2bf0 22%, #0b0a2ba6 42%, #0b0a2b26 64%, transparent 80%),
    linear-gradient(0deg, var(--ground) 0%, #0b0a2bcc 14%, transparent 42%),
    linear-gradient(180deg, #0b0a2bb3 0%, transparent 18%),
    radial-gradient(ellipse 60% 70% at 72% 70%, color-mix(in oklab, var(--acc) 26%, transparent), transparent 70%); }
.stage-hero { position: absolute; z-index: -1; right: max(2vw, calc((100vw - var(--wrap)) / 2 - 20px)); bottom: 0; height: min(92%, 900px); width: auto; max-width: 52vw; object-fit: contain; object-position: bottom; filter: drop-shadow(0 30px 40px #000c) drop-shadow(0 0 1px #0008); will-change: transform; transform-origin: 50% 100%; }
/* the foot: the cut-out's cut edge and the scene sink together into the page (after the hero in order, so above it) */
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; z-index: -1; pointer-events: none; background: linear-gradient(0deg, var(--ground) 0%, #0b0a2be6 22%, #0b0a2b80 55%, transparent 100%); }
/* the hero's shadow on the scene's floor */
.stage-floor { position: absolute; z-index: -2; right: max(2vw, calc((100vw - var(--wrap)) / 2 - 20px)); bottom: -4%; width: min(46vw, 760px); height: 16%; background: radial-gradient(closest-side, #000c, transparent); pointer-events: none; }
.stage-copy { position: relative; padding-top: 120px; padding-bottom: clamp(150px, 20vh, 210px); }
.stage-copy > * { max-width: 640px; }
.stage-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 14px 8px 12px; border-radius: 999px; background: #0b0a2b8c; box-shadow: inset 0 0 0 1px #f8f8f82e; font-weight: 600; font-size: 14.5px; color: var(--white); backdrop-filter: blur(8px); }
.stage-tag .drop { background: var(--acc); width: 8px; height: 8px; }
.stage-tag b { color: var(--acc-ink); font-weight: 700; }
.stage-title { font-size: clamp(64px, 10.5vw, 168px); line-height: 0.84; letter-spacing: -0.005em; text-transform: uppercase; margin: 0 0 18px; text-shadow: 0 6px 40px #000a; }
.stage-title .line { display: block; overflow: clip; padding-bottom: 0.04em; }
.stage-title .line span { display: block; }
.stage-hook { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--white); margin: 0 0 26px; max-width: 46ch; text-shadow: 0 2px 16px #000; }
.facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 30px; padding: 0; }
.facts > div { display: grid; gap: 4px; padding: 2px 26px 2px 0; margin-right: 26px; border-right: 1px solid #f8f8f82e; }
.facts > div:last-child { border-right: 0; margin-right: 0; }
.facts dt { font-size: 13.5px; color: var(--mist); font-weight: 600; }
.facts dd { margin: 0; }
.facts .v { font: 800 clamp(28px, 2.6vw, 38px)/1 var(--head); color: var(--white); letter-spacing: 0.01em; }

/* the cast: every game along the foot of the home stage; choosing one brings it on */
.cast { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2; }
.cast-in { display: flex; align-items: end; gap: 10px; }
.cast-label { flex: none; margin-right: 8px; color: var(--mist); font-size: 14px; font-weight: 600; line-height: 1.3; }
.cast-list { display: flex; min-width: 0; gap: 10px; margin: 0; padding: 10px 2px 4px; list-style: none; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.cast-list::-webkit-scrollbar { display: none; }
.cast button { --acc: var(--purple); position: relative; display: block; width: 74px; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; transition: transform 0.25s var(--ease-out); }
.cast button img { width: 74px; height: 99px; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 1px #f8f8f833, 0 12px 26px #000c; filter: saturate(0.7) brightness(0.75); transition: filter 0.25s, box-shadow 0.25s; }
.cast button:hover { transform: translateY(-6px); }
.cast button:hover img { filter: none; }
.cast button[aria-pressed="true"] { transform: translateY(-10px); }
.cast button[aria-pressed="true"] img { filter: none; box-shadow: 0 0 0 2px var(--acc), 0 16px 30px #000d; }
.cast button[aria-pressed="true"]::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 7px; height: 7px; background: var(--acc); border-radius: 0 50% 50% 50%; rotate: 45deg; translate: -50% 0; }
.cast .soon-dot { position: absolute; top: 6px; left: 6px; padding: 3px 6px; border-radius: 5px; background: #0b0a2bd9; color: var(--white); font: 700 10.5px/1 var(--body); }

@media (max-width: 900px) {
  .stage { min-height: auto; align-items: stretch; }
  .stage-hero { position: relative; display: block; right: auto; margin: 76px auto -10px; height: auto; width: auto; max-height: 46svh; max-width: 86vw; grid-row: 1; }
  .stage-floor { display: none; }
  .stage::before { background: linear-gradient(0deg, var(--ground) 0%, #0b0a2bf2 38%, #0b0a2b80 58%, #0b0a2b33 80%, #0b0a2b99 100%), radial-gradient(ellipse 80% 50% at 50% 35%, color-mix(in oklab, var(--acc) 26%, transparent), transparent 70%); }
  .stage-scene img { object-position: 50% 30%; }
  .stage-copy { grid-row: 2; padding-top: 0; padding-bottom: 28px; }
  .stage-top-space { grid-row: 1; height: 64px; }
  .stage-title { font-size: clamp(56px, 17vw, 96px); }
  .facts > div { padding-right: 16px; margin-right: 16px; }
  .facts .v { font-size: 26px; }
  .stage-copy .actions .btn { flex: 1 1 auto; }
  .cast { position: relative; bottom: auto; grid-row: 3; padding-bottom: 26px; }
  .cast-label { display: none; }
  .cast button, .cast button img { width: 62px; }
  .cast button img { height: 83px; }
}
@media (min-width: 901px) { .stage-top-space { display: none; } }

/* ---- sections */
.section { padding: clamp(72px, 11vh, 132px) 0; position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(30px, 5vh, 52px); }
.section-head p { max-width: 52ch; margin: 0; color: var(--mist); }
.section-head .count { color: var(--dim); font-weight: 600; font-size: 15px; }

/* the studio band: his logo, full colour, over our line; the words beside them (his logo is the home page's logo,
   so it is shown whole) */
.studio { overflow: clip; background: linear-gradient(180deg, var(--ground), #1a0f4a 50%, var(--ground)); }
.studio-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "mark copy" "line copy"; gap: 28px clamp(40px, 6vw, 96px); align-items: center; }
.studio-mark { grid-area: mark; width: min(460px, 100%); filter: drop-shadow(0 24px 40px #000a); }
.studio-line { grid-area: line; align-self: start; font-size: clamp(54px, 7.6vw, 120px); line-height: 0.86; text-transform: uppercase; }
.studio-copy { grid-area: copy; }
.studio-line em { font-style: normal; color: var(--violet); }
.studio-copy p { font-size: 19px; color: var(--white); max-width: 40ch; }
/* the ledger: our games by name (newest, biggest, next), each marked with its own colour's drop */
.ledger { display: grid; margin: 26px 0 0; max-width: 520px; }
.ledger div { display: grid; grid-template-columns: 9.5em 1fr; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.ledger div:last-child { border-bottom: 1px solid var(--line); }
.ledger dt { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--mist); font-weight: 600; }
.ledger dt::before { content: ""; width: 8px; height: 8px; background: var(--acc); border-radius: 0 50% 50% 50%; rotate: 45deg; flex: none; }
.ledger dd { margin: 0; font: 800 clamp(22px, 2vw, 28px)/1.1 var(--head); color: var(--white); }
.ledger a { color: var(--white); text-decoration: none; background: linear-gradient(var(--acc), var(--acc)) 0 100% / 100% 2px no-repeat; transition: background-size 0.2s var(--ease-out); }
.ledger a:hover { background-size: 100% 5px; }
@media (max-width: 900px) {
  .studio-in { grid-template-columns: 1fr; grid-template-areas: "mark" "line" "copy"; }
  .studio-mark { width: min(320px, 78vw); }
  .ledger div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---- the game cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 218px), 1fr)); gap: clamp(26px, 3vw, 40px) clamp(16px, 2vw, 26px); margin: 0; padding: 0; list-style: none; perspective: 1200px; }
.card { --acc: var(--purple); position: relative; display: grid; gap: 14px; color: var(--mist); text-decoration: none; }
.card-art { position: relative; aspect-ratio: 408 / 546; border-radius: 14px; overflow: clip; background: var(--panel); box-shadow: 0 0 0 1px #f8f8f81f, 0 24px 50px -10px #000e; transform-style: preserve-3d; transition: transform 0.45s var(--ease-out), box-shadow 0.35s; }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
/* the sheen that follows the pointer is the game's own colour on the card's edge, not a painted light */
.card-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow 0.35s; }
/* the flags sit at the card's foot, so they never cover the game's title at its head (Mad Professor's neon sign) */
.card-flags { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.flag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 7px; background: #0b0a2bd9; color: var(--white); font: 700 12.5px/1 var(--body); backdrop-filter: blur(6px); }
.flag .drop { width: 7px; height: 7px; background: var(--acc); }
.flag.live .drop { background: var(--cyan); }
.flag.new { background: var(--purple); color: #fff; }
.flag.soon { background: var(--white); color: var(--ground); }
.flag.excl { background: #f5c518; color: #17110a; }
.card-name { font: 800 clamp(24px, 2vw, 28px)/1 var(--head); color: var(--white); letter-spacing: 0.01em; transition: color 0.2s; }
.card-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: -6px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--mist); }
.card-meta span { white-space: nowrap; }
.card-meta b { color: var(--white); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card-art { box-shadow: 0 0 0 1px transparent, 0 36px 60px -12px #000, 0 18px 50px -20px var(--acc); }
  .card:hover .card-art::after { box-shadow: inset 0 0 0 2px var(--acc); }
  .card:hover .card-art img { transform: scale(1.045); }
  .card:hover .card-name { color: var(--acc-ink); }
}
.card:focus-visible { outline: 0; }
.card:focus-visible .card-art { outline: 3px solid var(--white); outline-offset: 4px; }
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .card-name { font-size: 22px; }
  .card-meta { font-size: 13px; gap: 0 10px; }
  .flag { font-size: 11.5px; padding: 5px 8px; }
}

/* ---- what's new */
.news-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.news { --acc: var(--purple); position: relative; display: grid; grid-template-rows: auto 1fr; overflow: clip; min-height: 300px; border-radius: 16px; background: var(--deep); color: var(--mist); text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: transform 0.35s var(--ease-out), box-shadow 0.3s; }
.news-art { position: relative; height: 150px; overflow: clip; }
.news-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.news-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--deep), transparent 70%); }
.news-art .who { position: absolute; z-index: 1; right: 10px; bottom: -6px; height: 150px; width: auto; filter: drop-shadow(0 10px 18px #000c); }
.news-body { position: relative; z-index: 1; padding: 6px 20px 22px; display: grid; align-content: start; gap: 8px; }
.news-when { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--acc-ink); }
.news-when .drop { width: 7px; height: 7px; background: var(--acc); }
.news h3 { font-size: 30px; }
.news p { margin: 0; font-size: 15.5px; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) {
  .news:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--acc), 0 30px 50px -20px #000; }
  .news:hover .news-art img { transform: scale(1.05); }
}
@media (max-width: 1100px) { .news-rail { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .news-rail { grid-template-columns: 1fr; } .news { min-height: 0; } }

/* the news page: a timeline, newest first (it is a sequence of dates) */
.timeline { margin: 0; padding: 0; list-style: none; position: relative; }
.timeline::before { content: ""; position: absolute; left: 120px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl { --acc: var(--purple); position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 0 44px; padding: 26px 0; }
.tl::before { content: ""; position: absolute; left: 116px; top: 38px; width: 9px; height: 9px; background: var(--acc); border-radius: 0 50% 50% 50%; rotate: 45deg; }
.tl time { padding-top: 6px; font: 800 22px/1.1 var(--head); color: var(--white); }
.tl-card { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: start; text-decoration: none; color: var(--mist); }
.tl-card img { border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 16px 30px #000b; transition: transform 0.35s var(--ease-out); }
.tl-card h2 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 8px; transition: color 0.2s; }
.tl-card p { margin: 0 0 6px; max-width: 62ch; }
.tl-card .more { color: var(--acc-ink); font-weight: 600; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .tl-card:hover img { transform: translateY(-4px) rotate(-1.5deg); } .tl-card:hover h2 { color: var(--acc-ink); } }
@media (max-width: 700px) {
  .timeline::before { left: 4px; }
  .tl { grid-template-columns: 1fr; padding: 20px 0 20px 26px; }
  .tl::before { left: 0; top: 30px; }
  .tl time { margin-bottom: 12px; font-size: 19px; }
  .tl-card { grid-template-columns: 84px 1fr; gap: 16px; }
}

/* ---- a game's own page, below its stage: its colour carries on down, as light from the stage above */
.game-sect { position: relative; isolation: isolate; }
.game-sect::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 55% 40% at 82% 0%, color-mix(in oklab, var(--acc) 16%, transparent), transparent 70%),
    radial-gradient(ellipse 45% 35% at 8% 45%, color-mix(in oklab, var(--acc) 7%, transparent), transparent 70%); }
.game-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(40px, 6vw, 100px); align-items: start; }
.features { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.feature { display: grid; grid-template-columns: 20px 1fr; gap: 4px 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature .drop { margin-top: 12px; width: 10px; height: 10px; background: var(--acc); }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; max-width: 60ch; }
.sheet { position: sticky; top: 100px; padding: 28px; border-radius: 18px; background: linear-gradient(160deg, color-mix(in oklab, var(--acc) 14%, var(--deep)), var(--deep) 55%); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px #000; }
.sheet h2 { font-size: 34px; margin-bottom: 18px; }
.sheet dl { margin: 0; display: grid; grid-template-columns: 1fr auto; }
.sheet dt, .sheet dd { padding: 11px 0; border-top: 1px solid var(--line); }
.sheet dt { color: var(--mist); font-size: 15px; }
.sheet dd { margin: 0; text-align: right; color: var(--white); font-weight: 600; }
.sheet .actions { margin-top: 22px; }
.sheet .actions .btn { flex: 1 1 100%; }
.sheet small { display: block; margin-top: 14px; color: var(--dim); font-size: 13px; line-height: 1.45; }
.modes { width: 100%; border-collapse: collapse; }
.modes caption { text-align: left; font: 800 clamp(24px, 2.2vw, 30px)/1 var(--head); color: var(--white); padding: 34px 0 10px; }
.modes th, .modes td { padding: 15px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.modes thead th { padding: 6px 0 10px; border-top: 0; color: var(--dim); font-size: 13.5px; font-weight: 600; }
.modes tbody th { width: 30%; padding-right: 16px; color: var(--white); font-weight: 700; }
.modes td.price { width: 110px; text-align: right; color: var(--white); font: 800 24px/1 var(--head); white-space: nowrap; }
.modes thead th:last-child { text-align: right; }
.modes td.what { color: var(--mist); padding-right: 18px; }
@media (max-width: 1000px) { .game-body { grid-template-columns: 1fr; } .sheet { position: static; } }
@media (max-width: 560px) {
  .modes tbody th { width: auto; display: block; padding-bottom: 2px; border-top: 1px solid var(--line); }
  .modes tbody tr { display: grid; grid-template-columns: 1fr auto; }
  .modes tbody th { grid-column: 1 / -1; }
  .modes td.what { border-top: 0; padding-top: 0; }
  .modes td.price { border-top: 0; padding-top: 0; }
  .modes thead { display: none; }
}

/* more games: a rail of the others */
.cards.rail { grid-template-columns: none; padding-top: 12px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 90px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 90px), transparent); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 18px; margin: 0; padding: 0 0 8px; list-style: none; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.rail > li { scroll-snap-align: start; }

/* ---- page heads (games, maths, news, feedback): the studio's own band with the cast of tiles fanned behind */
.page-head { position: relative; isolation: isolate; overflow: clip; padding: calc(76px + clamp(56px, 9vh, 100px)) 0 clamp(44px, 7vh, 76px); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 120% at 85% 0%, #3d0c7c99, transparent 60%), linear-gradient(180deg, #1a0f4a, var(--ground)); }
.page-head h1 { font-size: clamp(64px, 9vw, 140px); line-height: 0.84; text-transform: uppercase; margin-bottom: 18px; }
.page-head p { font-size: clamp(17px, 1.4vw, 20px); color: var(--white); max-width: 52ch; margin: 0; }
.fan { position: absolute; z-index: -1; right: max(var(--pad), calc((100vw - var(--wrap)) / 2)); top: 50%; translate: 0 -38%; display: flex; pointer-events: none; }
.fan img { width: clamp(90px, 9vw, 140px); border-radius: 12px; box-shadow: 0 0 0 1px #f8f8f826, 0 24px 40px #000d; margin-left: -46px; transform-origin: 50% 120%; }
.fan img:nth-child(1) { rotate: -16deg; translate: 0 26px; }
.fan img:nth-child(2) { rotate: -8deg; translate: 0 8px; }
.fan img:nth-child(3) { rotate: 0deg; z-index: 1; }
.fan img:nth-child(4) { rotate: 8deg; translate: 0 8px; }
.fan img:nth-child(5) { rotate: 16deg; translate: 0 26px; }
/* one game alone (SkribbleInk's first): stood nearly upright, a little larger, not tipped as the first of a hand */
.fan img:only-child { rotate: -4deg; translate: 0 0; margin-left: 0; width: clamp(110px, 11vw, 170px); }
@media (max-width: 1000px) { .fan { opacity: 0.35; right: -60px; } }
@media (max-width: 600px) { .fan { display: none; } .page-head { padding-top: calc(64px + 40px); } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.filters button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #f8f8f80f; color: var(--mist); font: 700 14.5px/1 var(--body); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.15s, color 0.15s; }
.filters button:hover { color: var(--white); }
.filters button[aria-pressed="true"] { background: var(--white); color: var(--ground); box-shadow: none; }
.filters button span { color: inherit; opacity: 0.65; margin-left: 4px; }

/* ---- Engine figures */
.engine { border-top: 1px solid var(--line); }
.engine-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; }
.engine-grid div { padding: 18px 22px 20px 0; border-right: 1px solid var(--line); margin-right: 22px; }
.engine-grid div:last-child { border-right: 0; }
.engine-grid dt { order: 2; color: var(--mist); font-size: 14.5px; }
.engine-grid div { display: grid; gap: 6px; }
.engine-grid dd { order: 1; margin: 0; font: 800 clamp(36px, 3.6vw, 54px)/0.95 var(--head); color: var(--white); }
.engine small { display: block; margin-top: 22px; color: var(--dim); font-size: 13.5px; }
@media (max-width: 800px) { .engine-grid { grid-template-columns: 1fr 1fr; } .engine-grid div:nth-child(2) { border-right: 0; } }

/* ---- the footer */
.foot { position: relative; margin-top: clamp(40px, 8vh, 80px); padding: clamp(56px, 9vh, 90px) 0 40px; background: linear-gradient(180deg, var(--ground), #08071f); border-top: 1px solid var(--line); overflow: clip; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.foot-brand img { width: 200px; margin-bottom: 14px; }
.foot-brand p { color: var(--mist); max-width: 34ch; font-size: 15.5px; }
.foot h2 { font: 700 14px/1.2 var(--body); color: var(--white); margin: 4px 0 14px; letter-spacing: 0.02em; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.foot ul a { display: inline-block; padding: 6px 0; color: var(--mist); text-decoration: none; font-size: 15.5px; }
.foot ul a:hover { color: var(--white); }
.legal { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.legal p { margin: 0; flex: 1 1 420px; }
.age { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--white); color: var(--white); font: 800 17px/1 var(--head); flex: none; }
.legal a { color: var(--mist); }
@media (max-width: 900px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---- the maths pages */
.mx-modes { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; }
@media (max-width: 1200px) { .mx-modes { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); } }
.mx-mode { display: grid; gap: 3px; min-height: 44px; padding: 14px 16px 15px; border: 0; border-radius: 12px; background: var(--deep); color: var(--mist); font: inherit; text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.15s, background-color 0.15s, transform 0.2s var(--ease-out); }
.mx-mode:hover { box-shadow: inset 0 0 0 1px #f8f8f866; }
.mx-mode[aria-selected="true"] { background: linear-gradient(160deg, color-mix(in oklab, var(--acc) 22%, var(--deep)), var(--deep)); box-shadow: inset 0 0 0 2px var(--acc); }
.mx-mode b { font: 800 19px/1.1 var(--head); letter-spacing: 0.01em; color: var(--white); }
.mx-mode span { font-size: 13.5px; line-height: 1.4; }
.mx-mode span i { font-style: normal; color: var(--white); }
.mx-panel { margin-top: clamp(30px, 5vh, 48px); }
.mx-panel:focus-visible { outline-offset: 8px; }
.mx-modehead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.mx-modehead h2 { font-size: clamp(40px, 4.4vw, 64px); margin: 0 0 8px; }
.mx-modehead p { margin: 0; max-width: 56ch; }
.mx-view { display: grid; gap: 6px; }
.mx-switch { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); }
.mx-switch button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: var(--mist); font: 700 14.5px/1 var(--body); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.mx-switch button[aria-pressed="true"] { background: var(--white); color: var(--ground); }
.mx-view small { color: var(--dim); font-size: 13px; line-height: 1.4; max-width: 34ch; }
.mx-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); margin-top: 8px; }
.mx-group h3 { margin: 26px 0 4px; font-size: 26px; }
.mx-group dl { margin: 0; }
.mx-fig { padding: 15px 0 16px; border-bottom: 1px solid var(--line); }
.mx-fig dt { font-size: 14.5px; color: var(--mist); }
.mx-fig dd { margin: 0; }
.mx-fig .v { display: block; margin: 3px 0; font: 800 clamp(32px, 3vw, 42px)/1 var(--head); color: var(--white); letter-spacing: 0.01em; }
.mx-fig small { display: block; color: var(--dim); font-size: 13.5px; line-height: 1.45; }
.mx-profile { position: relative; overflow: clip; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px clamp(20px, 3vw, 44px); align-items: center; margin-top: clamp(34px, 5vh, 52px); padding: clamp(24px, 3vw, 36px); border-radius: 18px; background: radial-gradient(ellipse 80% 140% at 0% 0%, color-mix(in oklab, var(--acc) 30%, var(--deep)), var(--deep) 70%); box-shadow: 0 0 0 1px var(--line); }
.mx-profile h3 { margin: 0; font: 700 14.5px/1.3 var(--body); color: var(--acc-ink); }
.mx-word { margin: 4px 0 16px; font: 800 clamp(48px, 6vw, 84px)/0.9 var(--head); color: var(--white); text-transform: uppercase; }
.mx-meter { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mx-meter span { height: 12px; background: #f8f8f81c; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.mx-meter span.on { background: var(--acc); }
.mx-ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--dim); }
.mx-line { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--white); max-width: 52ch; }
.mx-ladder { margin-top: clamp(34px, 5vh, 52px); }
.mx-ladder h3 { margin: 0 0 6px; font-size: clamp(28px, 2.8vw, 38px); }
.mx-ladder > p { margin: 0 0 12px; color: var(--mist); max-width: 62ch; }
.mx-ladder table { width: 100%; border-collapse: collapse; }
.mx-ladder th, .mx-ladder td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.mx-ladder thead th { padding-top: 6px; font-size: 13.5px; color: var(--dim); font-weight: 600; }
.mx-ladder td { text-align: right; color: var(--white); font: 800 22px/1 var(--head); }
.mx-ladder thead th:last-child { text-align: right; }
.mx-ladder tbody th { color: var(--mist); }
.mx-ladder tr.mx-max th, .mx-ladder tr.mx-max td { color: var(--acc-ink); }
.mx-how { margin-top: clamp(48px, 8vh, 80px); padding-top: clamp(30px, 5vh, 48px); border-top: 1px solid var(--line); }
.mx-how h2 { margin-bottom: 8px; font-size: clamp(36px, 4vw, 56px); }
.mx-how > p { margin: 0 0 18px; max-width: 66ch; }
.mx-how dl { margin: 0; display: grid; grid-template-columns: minmax(150px, 0.3fr) 1fr; }
.mx-how dt, .mx-how dd { padding: 14px 0; border-top: 1px solid var(--line); }
.mx-how dt { padding-right: 18px; font-weight: 700; color: var(--white); }
.mx-how dd { margin: 0; max-width: 72ch; }
.mx-state { margin: 22px 0 0; }
.mx-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); align-items: end; }
.mx-head .tile { width: clamp(110px, 13vw, 180px); border-radius: 14px; box-shadow: 0 0 0 1px #f8f8f826, 0 28px 50px #000d; rotate: -3deg; }
.mx-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--mist); font-weight: 600; font-size: 15px; text-decoration: none; }
.mx-back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); rotate: 45deg; }
.mx-back:hover { color: var(--white); }
.mx-note { display: inline-flex; gap: 10px; align-items: center; margin-top: 16px; padding: 10px 14px; border-radius: 10px; background: var(--white); color: var(--ground); font-weight: 600; font-size: 15px; }
@media (max-width: 900px) { .mx-groups { grid-template-columns: 1fr 1fr; } .mx-group:last-child { grid-column: 1 / -1; } .mx-profile { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .mx-head { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .mx-head .tile { width: 96px; }
  .mx-modes { grid-template-columns: 1fr 1fr; }
  .mx-view, .mx-switch { width: 100%; }
  .mx-groups { grid-template-columns: 1fr; }
  .mx-group dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .mx-fig .v { font-size: 30px; }
  .mx-how dl { grid-template-columns: 1fr; }
  .mx-how dd { padding-top: 0; border-top: 0; }
}

/* the maths list: each game as a row of its figures */
.mlist { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.mrow { --acc: var(--purple); position: relative; display: grid; grid-template-columns: 92px minmax(180px, 1.2fr) repeat(4, minmax(0, 1fr)) 28px; gap: 18px 24px; align-items: center; padding: 14px 22px 14px 14px; border-radius: 16px; background: var(--deep); color: var(--mist); text-decoration: none; box-shadow: 0 0 0 1px var(--line); overflow: clip; isolation: isolate; transition: box-shadow 0.25s, transform 0.35s var(--ease-out); }
.mrow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in oklab, var(--acc) 18%, transparent), transparent 46%); opacity: 0.6; transition: opacity 0.25s; }
.mrow img { width: 92px; border-radius: 10px; box-shadow: 0 10px 22px #000b; }
.mrow .name { display: grid; gap: 6px; }
.mrow .name b { font: 800 30px/1 var(--head); color: var(--white); }
.mrow .name .flag { justify-self: start; }
.mrow .fig { display: grid; gap: 2px; }
.mrow .fig .k { font-size: 13px; color: var(--dim); font-weight: 600; }
.mrow .fig .v { font: 800 26px/1 var(--head); color: var(--white); }
.mrow .go { width: 12px; height: 12px; border-top: 2px solid var(--acc-ink); border-right: 2px solid var(--acc-ink); rotate: 45deg; transition: translate 0.25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .mrow:hover { box-shadow: 0 0 0 1px var(--acc), 0 24px 40px -20px #000; transform: translateX(6px); }
  .mrow:hover::before { opacity: 1; }
  .mrow:hover .go { translate: 4px 0; }
}
@media (max-width: 900px) {
  .mrow { grid-template-columns: 72px 1fr 1fr; gap: 10px 16px; padding: 12px 16px 14px 12px; }
  .mrow img { width: 72px; grid-row: span 3; align-self: start; }
  .mrow .name { grid-column: 2 / -1; }
  .mrow .name b { font-size: 26px; }
  .mrow .fig .v { font-size: 21px; }
  .mrow .go { display: none; }
}

/* ---- the feedback form */
.form { display: grid; gap: 22px; max-width: 720px; }
.fb-grid { display: grid; grid-template-columns: minmax(0, 720px) minmax(260px, 360px); justify-content: space-between; gap: clamp(32px, 6vw, 96px); align-items: start; }
.fb-side { position: sticky; top: 100px; padding: 28px; border-radius: 18px; background: linear-gradient(160deg, color-mix(in oklab, var(--purple) 14%, var(--deep)), var(--deep) 60%); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px #000; }
.fb-side h2 { font-size: 30px; margin-bottom: 14px; }
.fb-side ul { margin: 0; padding: 0; list-style: none; }
.fb-side li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.fb-side a { color: var(--white); font-weight: 700; overflow-wrap: anywhere; }
.fb-side small { color: var(--dim); font-size: 14px; }
@media (max-width: 900px) { .fb-grid { grid-template-columns: 1fr; } .fb-side { position: static; } }
.form fieldset { margin: 0; padding: 0; border: 0; }
.form legend { margin-bottom: 10px; color: var(--white); font-weight: 700; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); color: var(--mist); font-weight: 600; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.choice input:checked + span { background: var(--white); color: var(--ground); box-shadow: none; }
.choice input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 3px; }
.field { display: grid; gap: 8px; margin: 0; }
.field > span { color: var(--white); font-weight: 700; }
.field small { color: var(--dim); font-size: 14px; }
.form select, .form textarea, .form input[type="text"] { width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--deep); box-shadow: inset 0 0 0 1px #f8f8f833; color: var(--white); font: 400 16px/1.5 var(--body); }
.form textarea { min-height: 160px; resize: vertical; }
.form select:focus-visible, .form textarea:focus-visible, .form input:focus-visible { outline: 0; box-shadow: inset 0 0 0 2px var(--white); }
.trap { position: absolute; left: -9999px; }
.note { margin-top: 20px; padding: 22px; border-radius: 14px; background: var(--deep); box-shadow: inset 0 0 0 1px var(--line); max-width: 720px; }
.note.bad { box-shadow: inset 0 0 0 1px var(--purple); }
.note h2 { font-size: 34px; margin-bottom: 8px; }
.note pre { white-space: pre-wrap; font-size: 13px; color: var(--mist); }
.btn.red { background: var(--purple); color: #fff; }
.btn.line { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px #f8f8f859; }

/* ---- motion: the page's entrance, and what reduced motion keeps */
.js .rise { opacity: 0; translate: 0 28px; }
.js .rise.in { opacity: 1; translate: 0 0; transition: opacity 0.7s var(--ease-out), translate 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js .rise { opacity: 1; translate: none; }
  .stage-scene img, .stage-hero { transform: none !important; }
}
