/* Owlet Games — site styles
   Brand colours live in custom properties so each game can bring its own accent
   (see [data-game] at the bottom). */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens: Porcelain (light) ---------- */
:root {
  color-scheme: light;
  --bg: #d5dfe5;
  --bg-glow: #e7eef2;
  --paper: #f5f9fa;
  --panel-a: #ffffff;
  --panel-b: #e6eff3;
  --ink: #3e5360;
  --muted: #4d626d;
  --line: rgba(255, 255, 255, 0.9);
  --edge: rgba(62, 83, 96, 0.13);

  --teal: #098e98;          /* brand teal: marks, beads, decoration */
  --teal-display: #087f88;  /* large type on the page ground (3:1+) */
  --teal-text: #066a73;     /* small text and links (4.5:1+) */
  --coral: #d96279;
  --coral-text: #a93b53;
  --bead-teal: #16a9b1;
  --bead-coral: #e7788d;

  --btn-a: #0a8189;
  --btn-b: #066a73;
  --btn-ink: #ffffff;
  --btn-glow: rgba(9, 142, 152, 0.45);

  --w-owlet: #098e98;
  --w-games: #3e5360;

  --shadow-sm: 0 1px 1px rgba(62, 83, 96, 0.07), 0 6px 14px -6px rgba(62, 83, 96, 0.35);
  --shadow-md: 0 1px 1px rgba(62, 83, 96, 0.06), 0 12px 26px -10px rgba(62, 83, 96, 0.3);
  --shadow-lg: 0 1px 1px rgba(62, 83, 96, 0.05), 0 14px 30px -12px rgba(62, 83, 96, 0.22), 0 48px 90px -36px rgba(62, 83, 96, 0.35);
  --frost: rgba(236, 243, 246, 0.72);
  --focus: #066a73;

  --radius-panel: 28px;
  --radius-btn: 17px;
  --font: "Outfit", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1180px;
}

/* ---------- Tokens: Nocturne (dark) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111827; --bg-glow: #1a2538; --paper: #1b2638;
    --panel-a: #2b3a52; --panel-b: #232f45;
    --ink: #e8eef7; --muted: #a9b8c9;
    --line: rgba(255, 255, 255, 0.08); --edge: rgba(255, 255, 255, 0.08);
    --teal: #63dfe3; --teal-display: #63dfe3; --teal-text: #63dfe3;
    --coral: #ff7eaa; --coral-text: #ff9dbd;
    --bead-teal: #3fd0d5; --bead-coral: #ff7eaa;
    --btn-a: #63dfe3; --btn-b: #2fb3bb; --btn-ink: #0b1a24; --btn-glow: rgba(99, 223, 227, 0.35);
    --w-owlet: #63dfe3; --w-games: #e8eef7;
    --shadow-sm: 0 1px 1px rgba(0, 0, 0, 0.25), 0 6px 14px -6px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 1px 1px rgba(0, 0, 0, 0.25), 0 12px 26px -10px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 1px 1px rgba(0, 0, 0, 0.2), 0 16px 32px -12px rgba(0, 0, 0, 0.55), 0 48px 90px -36px rgba(0, 0, 0, 0.7);
    --frost: rgba(17, 24, 39, 0.72);
    --focus: #63dfe3;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111827; --bg-glow: #1a2538; --paper: #1b2638;
  --panel-a: #2b3a52; --panel-b: #232f45;
  --ink: #e8eef7; --muted: #a9b8c9;
  --line: rgba(255, 255, 255, 0.08); --edge: rgba(255, 255, 255, 0.08);
  --teal: #63dfe3; --teal-display: #63dfe3; --teal-text: #63dfe3;
  --coral: #ff7eaa; --coral-text: #ff9dbd;
  --bead-teal: #3fd0d5; --bead-coral: #ff7eaa;
  --btn-a: #63dfe3; --btn-b: #2fb3bb; --btn-ink: #0b1a24; --btn-glow: rgba(99, 223, 227, 0.35);
  --w-owlet: #63dfe3; --w-games: #e8eef7;
  --shadow-sm: 0 1px 1px rgba(0, 0, 0, 0.25), 0 6px 14px -6px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 1px 1px rgba(0, 0, 0, 0.25), 0 12px 26px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 1px 1px rgba(0, 0, 0, 0.2), 0 16px 32px -12px rgba(0, 0, 0, 0.55), 0 48px 90px -36px rgba(0, 0, 0, 0.7);
  --frost: rgba(17, 24, 39, 0.72);
  --focus: #63dfe3;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1100px 720px at 8% -8%, var(--bg-glow), transparent 62%),
    radial-gradient(900px 600px at 100% 30%, var(--bg-glow), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: var(--teal-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 350; line-height: 1.04; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: 12px; z-index: 50; transform: translateY(-200%);
  background: var(--panel-a); color: var(--ink); padding: 10px 16px; border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.skip:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.overline {
  font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 10px;
}
.display {
  font-size: clamp(52px, 9.2vw, 112px);
  font-weight: 350;
  letter-spacing: -0.055em;
  line-height: 0.96;
}
.h2 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.045em; line-height: 1.02; }
.h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.025em; font-weight: 400; line-height: 1.12; }
.hl { color: var(--teal-display); font-weight: 450; }
.lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }
.prose { max-width: 62ch; display: grid; gap: 1em; }

/* Placeholder marker — find them all with:  grep -rn "\[" --include=*.html */
.ph {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.86em; letter-spacing: 0;
  color: var(--coral-text);
  background: color-mix(in srgb, var(--coral) 12%, transparent);
  border-radius: 6px; padding: 0.05em 0.35em;
}

/* ---------- Surfaces ---------- */
.panel {
  background: linear-gradient(165deg, var(--panel-a), var(--panel-b));
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-lg);
}

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  --lift: 0px;
  height: 52px; padding: 0 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--radius-btn);
  font: inherit; font-size: 16px; font-weight: 550; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  color: var(--ink);
  background: linear-gradient(165deg, var(--panel-a), var(--panel-b));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(var(--lift));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { --lift: -2px; box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.35); text-decoration: none; }
.btn:active { --lift: 0px; }
.btn--primary {
  color: var(--btn-ink);
  background: linear-gradient(165deg, var(--btn-a), var(--btn-b));
  border-color: transparent;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), 0 10px 22px -10px var(--btn-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), 0 16px 30px -12px var(--btn-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn .arrow { font-size: 1.05em; line-height: 1; }
.icon-btn {
  width: 41px; height: 41px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; cursor: pointer; color: var(--ink);
  background: linear-gradient(165deg, var(--panel-a), var(--panel-b));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease;
}
.icon-btn:hover { transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
.text-link { font-weight: 500; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--frost);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  backdrop-filter: saturate(1.3) blur(16px);
  border-bottom: 1px solid var(--edge);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .mark { width: 38px; height: 38px; }
.brand .wordmark { height: 27px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(4px, 1.6vw, 18px); }
.nav ul { display: flex; list-style: none; gap: clamp(2px, 1vw, 8px); }
.nav a {
  display: inline-block; padding: 8px 12px; border-radius: 12px;
  color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 450;
}
.nav a:hover { background: color-mix(in srgb, var(--panel-a) 70%, transparent); }
.nav a[aria-current="page"] { color: var(--teal-text); }
@media (max-width: 560px) {
  .brand .wordmark { display: none; }
  .nav a { padding: 8px 8px; font-size: 15px; }
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding-block: clamp(72px, 11vw, 140px); }
.section--tight { padding-block: clamp(56px, 8vw, 100px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }

/* bead dots used in overlines */
.beads { display: inline-flex; gap: 4px; }
.bead {
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.75), transparent 45%), var(--bead-teal);
  box-shadow: 0 2px 3px -1px rgba(0, 0, 0, 0.25);
}
.bead--coral { background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.75), transparent 45%), var(--bead-coral); }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(50px, 7.2vw, 96px); text-wrap: initial; }
.hero-copy { display: grid; gap: 26px; align-content: center; }
.hero-art { position: relative; }
.hero-art .frame { overflow: hidden; padding: 0; }
.hero-art img { width: 100%; aspect-ratio: 980 / 910; object-fit: cover; }
.hero-art figcaption {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: var(--frost);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  font-size: 14px; color: var(--ink); box-shadow: var(--shadow-sm);
}
.hero-art figcaption b { font-weight: 600; }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
}

/* ---------- Game feature ---------- */
.game-list { display: grid; gap: 28px; }
.game-feature { padding: clamp(18px, 2.4vw, 28px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 3.6vw, 48px); align-items: center; }
.game-feature .media { border-radius: 20px; overflow: hidden; background: #e9f3f6; aspect-ratio: 16 / 9; box-shadow: inset 0 0 0 1px var(--edge); }
.game-feature .media video, .game-feature .media img { width: 100%; height: 100%; object-fit: cover; }
.game-feature .body { display: grid; gap: 20px; padding: clamp(4px, 1vw, 12px) clamp(4px, 1.4vw, 16px) clamp(8px, 1vw, 12px) 0; }
@media (max-width: 900px) {
  .game-feature { grid-template-columns: 1fr; }
  .game-feature .body { padding: 4px 6px 10px; }
}
.status {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--teal-text);
  padding: 7px 12px 7px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--game-accent, var(--teal)) 12%, transparent);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--game-accent, var(--teal)); }
.game-title { font-size: clamp(44px, 5.6vw, 68px); font-weight: 600; letter-spacing: -0.035em; line-height: 0.95; }
.game-title .a { color: var(--teal-display); }
.game-title .b { color: var(--ink); }
.game-tagline { font-size: clamp(20px, 2vw, 24px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.3; }
.features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.features li { display: flex; gap: 11px; align-items: baseline; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.features li::before {
  content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; transform: translateY(-1px);
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.7), transparent 45%), var(--bead-teal);
}
.features li:nth-child(even)::before { background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.7), transparent 45%), var(--bead-coral); }
.game-feature .features { grid-template-columns: 1fr; }

.strip {
  list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px;
  scrollbar-width: thin;
}
.strip li { scroll-snap-align: start; }
.strip figure { margin: 0; }
.strip img { border-radius: 18px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; box-shadow: var(--shadow-md); background: #e9f3f6; }
.strip figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; padding-inline: 4px; }

/* ---------- About ---------- */
.about .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about .prose { font-size: 18px; }
.promises { list-style: none; display: grid; gap: 14px; margin-top: 10px; }
.promises li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center;
  padding: 16px 18px; border-radius: 20px;
  background: color-mix(in srgb, var(--panel-a) 55%, transparent);
  border: 1px solid var(--line);
}
.promises svg { width: 44px; height: 44px; }
.promises b { display: block; font-weight: 550; }
.promises span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .about .container { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-card { padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.contact-card .left { display: grid; gap: 18px; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 14px 14px 20px; border-radius: 20px;
  background: color-mix(in srgb, var(--bg) 45%, transparent);
  border: 1px solid var(--edge);
}
.contact-list .k { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); display: block; }
.contact-list .v { font-size: 18px; font-weight: 450; overflow-wrap: anywhere; }
.copy-btn { height: 40px; padding: 0 16px; font-size: 14px; }
@media (max-width: 860px) { .contact-card { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding-block: 48px 56px; border-top: 1px solid var(--edge); }
.site-footer .container { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.site-footer .brand .wordmark { display: block; }
.site-footer .meta { display: grid; gap: 6px; font-size: 14.5px; color: var(--muted); }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; }
.site-footer nav a { color: var(--ink); text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
@media (max-width: 700px) { .site-footer .container { grid-template-columns: 1fr; } }

/* ---------- fourfold page ---------- */
.game-hero { padding-block: clamp(40px, 6vw, 88px) clamp(40px, 6vw, 72px); }
.game-hero .container { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.game-hero .copy { display: grid; gap: 24px; }
.game-hero .media { border-radius: var(--radius-panel); overflow: hidden; aspect-ratio: 16 / 9; background: #e9f3f6; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.game-hero .media video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .game-hero .container { grid-template-columns: 1fr; }
  .game-hero .media { aspect-ratio: 2 / 3; max-height: 78vh; max-width: 520px; width: 100%; justify-self: center; }
}
.breadcrumb { font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { padding: 26px 26px 28px; display: grid; gap: 10px; align-content: start; }
.steps li::before {
  counter-increment: step; content: counter(step);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; font-weight: 600; color: var(--btn-ink);
  background: linear-gradient(165deg, var(--btn-a), var(--btn-b));
  margin-bottom: 6px;
}
.steps h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.lines li { padding: 22px 22px 24px; display: grid; gap: 8px; align-content: start; }
.lines svg { width: 100%; max-width: 180px; height: auto; margin-bottom: 6px; }
.lines .n { font-size: 44px; font-weight: 350; letter-spacing: -0.04em; line-height: 1; color: var(--teal-display); font-variant-numeric: tabular-nums; }
.lines b { font-weight: 550; }
.lines span { color: var(--muted); font-size: 15px; }
.lines-total { margin-top: 20px; font-size: 18px; }
.lines-total strong { font-weight: 600; color: var(--teal-text); }
@media (max-width: 900px) { .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .lines { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.split > .panel { padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 16px; align-content: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 13px; font-size: 15px; background: color-mix(in srgb, var(--bg) 55%, transparent); border: 1px solid var(--edge); }

.controls { width: 100%; border-collapse: collapse; font-size: 16px; }
.controls th, .controls td { text-align: left; padding: 14px 4px; border-bottom: 1px solid var(--edge); vertical-align: top; }
.controls th { font-weight: 500; width: 40%; padding-right: 20px; }
.controls tr:last-child th, .controls tr:last-child td { border-bottom: 0; }

.gallery { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gallery li { grid-column: span 2; }
.gallery li.wide { grid-column: span 3; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-md); background: #e9f3f6; }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery li, .gallery li.wide { grid-column: span 2; }
}

.press { padding: clamp(24px, 4vw, 52px); display: grid; gap: clamp(28px, 4vw, 44px); }
.press-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); }
@media (max-width: 860px) { .press-grid { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0; }
.facts dt, .facts dd { padding: 11px 0; border-bottom: 1px solid var(--edge); margin: 0; }
.facts dt { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); padding-right: 24px; padding-top: 15px; }
.facts dd { font-size: 16px; }
.downloads { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.downloads a {
  display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center;
  padding: 12px; border-radius: 18px; text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, var(--bg) 45%, transparent);
  border: 1px solid var(--edge);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.downloads a:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.downloads .thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: #e9f3f6; }
.downloads .thumb--mark { padding: 8px; background: var(--paper); }
.downloads b { display: block; font-weight: 550; font-size: 15.5px; line-height: 1.3; }
.downloads small { color: var(--muted); font-size: 13.5px; }

/* ---------- Per-game accents ----------
   A future game only needs its own block here, e.g.
   [data-game="nextgame"] { --game-accent: #e0a13a; }            */
[data-game="fourfold"] { --game-accent: var(--teal); }

/* ---------- Motion ---------- */
@keyframes settle {
  0% { transform: translateY(-18px); opacity: 0; }
  60% { transform: translateY(2px); opacity: 1; }
  80% { transform: translateY(-1px); }
  100% { transform: translateY(0); }
}
.settle .bead { animation: settle 0.9s cubic-bezier(0.3, 0.7, 0.4, 1) both; }
.settle .bead:nth-child(2) { animation-delay: 0.12s; }
.settle .bead:nth-child(3) { animation-delay: 0.24s; }
.settle .bead:nth-child(4) { animation-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
