/*
 * Generated by scripts/make-game-tokens.mjs from design/tokens/game.json. Do not edit:
 * change the JSON and run `node scripts/make-game-tokens.mjs`.
 *
 * The studio site's tokens: the page in light and dark, the dark stage the
 * phones stand on (the same in both), its shadows, the site's own type
 * steps next to the shared scale, and per game the same Game theme colours
 * the apps wear (a cover is the game's own screen). build.py puts this file
 * in front of site.css, so site.css only reads them.
 */

:root {
  --paper: #f4f0e8;
  --card: #fbf8f2;
  --ink: #14120f;
  --ink2: #3d3830;
  --muted: #6a6358;
  --line: #ddd5c7;
  --ink-edge: #0e0c0a;
  --stage-top: #221e1a;
  --stage-bottom: #0f0d0b;
  --stage-phone: #050506;
  --shadow-deep: rgb(0 0 0 / 55%);
  --shadow-soft: rgb(0 0 0 / 35%);
  --shadow-rim: rgb(255 255 255 / 7%);
  --gt-font: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gt-weight-text: 500;
  --gt-weight-strong: 600;
  --gt-weight-heavy: 700;
  --gt-tracking-hero: -0.045em;
  --gt-tracking-display: -0.035em;
  --gt-tracking-title: -0.02em;
  --gt-tracking-tight: -0.01em;
  --gt-type-large-title: 34px;
  --gt-type-title: 28px;
  --gt-type-title2: 22px;
  --gt-type-title3: 20px;
  --gt-type-headline: 17px;
  --gt-type-body: 17px;
  --gt-type-callout: 16px;
  --gt-type-subheadline: 15px;
  --gt-type-footnote: 13px;
  --gt-type-caption: 12px;
  --gt-type-caption2: 11px;
  --gt-radius-control: 16px;
  --gt-radius-chip: 12px;
  --gt-radius-card: 22px;
  --gt-edge: 4px;
  --gt-press: 3px;
  --gt-glow-strength: 30%;
  --gt-glow-size: 120% 60%;
  --gt-press-in: 60ms;
  --gt-release: 220ms;
  --gt-ease: cubic-bezier(0.3, 1.5, 0.5, 1);
  --site-type-hero: clamp(52px, 7.4vw, 104px);
  --site-type-page: clamp(40px, 5vw, 60px);
  --site-type-lost: clamp(64px, 12vw, 140px);
  --site-type-display: clamp(var(--gt-type-large-title), 4.2vw, 52px);
  --site-type-lead: clamp(18px, 1.5vw, 20px);
  --site-type-mail: clamp(18px, 1.8vw, 22px);
  --site-type-subtitle: clamp(var(--gt-type-callout), 1.5vw, 19px);
  --site-type-name: 24px;
  --site-type-reading: 18px;
  --site-type-small: 14px;
  --gt-lift: 350ms;
  --gt-lift-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #121113;
  --card: #1a191c;
  --ink: #f1ede6;
  --ink2: #d0c9bd;
  --muted: #a0998e;
  --line: #2c2a2f;
  --ink-edge: #a4a19c;
  color-scheme: dark;
}

/* Rankers */
[data-game="rankers"] {
  --gt-bg: #1a3598;
  --gt-bg-edge: #0b175a;
  --gt-glow: #4d7dff;
  --gt-accent: #ffc21f;
  --gt-on-accent: #1c1405;
  --gt-calm: #a6dbff;
  --gt-ink: #ffffff;
  --gt-accent-edge: #ad8415;
  --gt-calm-edge: #7195ad;
  --gt-glow-top: #294bb7;
  --gt-surface: #384fa5;
  --gt-surface-edge: #070f3b;
  --gt-line: #5165b1;
  --gt-lightest: #384fa5;
  --gt-muted: #c3cae4;
}

/* Dudo */
[data-game="dudo"] {
  --gt-bg: #941529;
  --gt-bg-edge: #45050f;
  --gt-glow: #ff4a4a;
  --gt-accent: #ffd36b;
  --gt-on-accent: #2b1104;
  --gt-calm: #8cf0cd;
  --gt-ink: #ffffff;
  --gt-accent-edge: #ad8f49;
  --gt-calm-edge: #5fa38b;
  --gt-glow-top: #b42533;
  --gt-surface: #a23345;
  --gt-surface-edge: #2d030a;
  --gt-line: #ae4d5c;
  --gt-lightest: #b42533;
  --gt-muted: #ecd5d8;
}

/* Song Clash */
[data-game="songclash"] {
  --gt-bg: #440836;
  --gt-bg-edge: #1c0216;
  --gt-glow: #e0389f;
  --gt-accent: #ff7cc5;
  --gt-on-accent: #2a0418;
  --gt-calm: #3fe6d2;
  --gt-ink: #ffffff;
  --gt-accent-edge: #ad5486;
  --gt-calm-edge: #2b9c8f;
  --gt-glow-top: #731656;
  --gt-surface: #5c2850;
  --gt-surface-edge: #12010e;
  --gt-line: #714366;
  --gt-lightest: #731656;
  --gt-muted: #bca6b7;
}

/* Slabakken */
[data-game="slabakken"] {
  --gt-bg: #0f4b24;
  --gt-bg-edge: #04220e;
  --gt-glow: #3fbf5a;
  --gt-accent: #b1ef60;
  --gt-on-accent: #11280a;
  --gt-calm: #ffd65c;
  --gt-ink: #ffffff;
  --gt-accent-edge: #78a341;
  --gt-calm-edge: #ad923f;
  --gt-glow-top: #1d6e34;
  --gt-surface: #2e6240;
  --gt-surface-edge: #031609;
  --gt-line: #497659;
  --gt-lightest: #1d6e34;
  --gt-muted: #d4dfd8;
}

/* The Dice */
[data-game="dice"] {
  --gt-bg: #813209;
  --gt-bg-edge: #3a1303;
  --gt-glow: #ff7a2e;
  --gt-accent: #fff0d4;
  --gt-on-accent: #2a1606;
  --gt-calm: #ffe08a;
  --gt-ink: #ffffff;
  --gt-accent-edge: #ada390;
  --gt-calm-edge: #ad985e;
  --gt-glow-top: #a74814;
  --gt-surface: #914d29;
  --gt-surface-edge: #260c02;
  --gt-line: #9f6344;
  --gt-lightest: #a74814;
  --gt-muted: #ede2dd;
}

/* Mexen */
[data-game="mexen"] {
  --gt-bg: #084239;
  --gt-bg-edge: #021e19;
  --gt-glow: #20b590;
  --gt-accent: #ffc93d;
  --gt-on-accent: #241703;
  --gt-calm: #a0f4d2;
  --gt-ink: #ffffff;
  --gt-accent-edge: #ad8929;
  --gt-calm-edge: #6da68f;
  --gt-glow-top: #0f6553;
  --gt-surface: #285b53;
  --gt-surface-edge: #011410;
  --gt-line: #436f69;
  --gt-lightest: #0f6553;
  --gt-muted: #c9d5d3;
}

/* Amsterdash */
[data-game="amsterdash"] {
  --gt-bg: #112237;
  --gt-bg-edge: #08121f;
  --gt-glow: #3f6fa8;
  --gt-accent: #ff7a1a;
  --gt-on-accent: #0f2136;
  --gt-calm: #fff3df;
  --gt-ink: #ffffff;
  --gt-accent-edge: #ad5312;
  --gt-calm-edge: #ada598;
  --gt-glow-top: #1f3959;
  --gt-surface: #303f51;
  --gt-surface-edge: #050c14;
  --gt-line: #4a5767;
  --gt-lightest: #303f51;
  --gt-muted: #a5abb3;
}

/* HKB Games: de studiosite.
 *
 * Eigen merk, dus geen Mira Lime. Eén familie met de spellen: de kleuren,
 * de gloed, de ronding, de letter, de lettermaten, de beweging en de dikke
 * knoppen komen uit dezelfde bron als het Spel-thema van de apps
 * (design/tokens/game.json). build.py zet de gegenereerde tokens.css vóór
 * dit bestand; hier staan alleen de vormen. Een kleur, maat, dikte,
 * letterafstand of tijd hier is een fout (scripts/quality/game-tokens.test.mjs). Elke kaart is het scherm van zijn spel: de kleur van het spel, de
 * gloed bovenin, de telefoon erin, het icoon er half overheen als
 * profielfoto, en een knop met een harde onderrand die indrukt.
 * Licht is de standaard; donker alleen na een klik (geen prefers-color-scheme).
 */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(fonts/instrument-sans.woff2) format("woff2");
}

:root {
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1240px;
  --font: var(--gt-font);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: var(--gt-weight-text) var(--gt-type-body)/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
*:focus:not(:focus-visible) { outline: none; }
[id] { scroll-margin-top: 24px; }

.sr {
  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: var(--gutter); top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
  text-decoration: none; font-weight: var(--gt-weight-strong);
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

h1, h2, h3 { margin: 0; font-weight: var(--gt-weight-heavy); }

/* ---------- De dikke knop ----------
 * Dezelfde knop als in de apps (HKBChunkyButton in Design.swift, .btn in de
 * webapps): een vlak op een donkerdere rand die indrukt en terugveert. Elke
 * knop zet --face, --on en --edge; zonder is hij inkt op papier.
 */
.btn, .store, .play {
  --face: var(--ink);
  --on: var(--paper);
  --edge: var(--ink-edge);
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  background: var(--face); color: var(--on);
  border-radius: var(--gt-radius-control);
  box-shadow: 0 var(--gt-edge) 0 var(--edge);
  text-decoration: none; font-weight: var(--gt-weight-heavy); font-size: var(--gt-type-callout); letter-spacing: var(--gt-tracking-tight);
  transform: translateY(0);
  transition: transform var(--gt-release) var(--gt-ease), box-shadow var(--gt-release) var(--gt-ease);
}
.btn:active, .store:active, .play:active {
  transform: translateY(var(--gt-press));
  box-shadow: 0 calc(var(--gt-edge) - var(--gt-press)) 0 var(--edge);
  transition-duration: var(--gt-press-in);
  transition-timing-function: ease-out;
}
@media (hover: hover) {
  .btn:hover, .store:hover, .play:hover { filter: brightness(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .store, .play { transition: none; }
  .btn:active, .store:active, .play:active { transform: none; box-shadow: 0 var(--gt-edge) 0 var(--edge); opacity: .85; }
}
.btn svg, .store svg, .play svg { width: 16px; height: 16px; flex: none; }
.btn:focus-visible, .store:focus-visible, .play:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

/* In een spelkleur: de felle kleur van het spel met donkere tekst, zoals de
 * hoofdknop in de app. De tweede knop is het oppervlak met witte tekst. */
[data-game] .store, .store[data-game] {
  --face: var(--gt-accent); --on: var(--gt-on-accent); --edge: var(--gt-accent-edge);
}
[data-game] .play, .play[data-game] {
  --face: var(--gt-surface); --on: var(--gt-ink); --edge: var(--gt-surface-edge);
}
.card :is(.store, .play):focus-visible { outline-color: var(--gt-ink); }

/* ---------- Kop ---------- */

.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; min-height: 44px;
  text-decoration: none; font-weight: var(--gt-weight-heavy); font-size: var(--gt-type-headline); letter-spacing: var(--gt-tracking-tight);
}
.brand svg { width: 22px; height: 22px; flex: none; }

.nav { display: flex; gap: 8px; margin-left: auto; }
.nav a, .lang a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 8px;
  text-decoration: none; font-size: var(--gt-type-subheadline); font-weight: var(--gt-weight-strong); color: var(--muted);
}
.nav a:hover, .lang a:hover, .nav a[aria-current="page"] { color: var(--ink); }

.tools { display: flex; align-items: center; gap: 4px; }
.lang { display: flex; }
.lang a[aria-current="page"] { color: var(--ink); }

.theme {
  width: 44px; height: 44px; padding: 0; border: 0; background: none;
  color: var(--muted); display: grid; place-items: center; cursor: pointer;
}
.theme:hover { color: var(--ink); }
.theme svg { width: 18px; height: 18px; }
.theme .moon { display: none; }
:root[data-theme="dark"] .theme .sun { display: none; }
:root[data-theme="dark"] .theme .moon { display: block; }

@media (max-width: 720px) {
  .nav { display: none; }
  .tools { margin-left: auto; }
}

/* ---------- Kruimelpad ---------- */

.crumbs { padding-top: 22px; font-size: var(--site-type-small); color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; font-weight: var(--gt-weight-strong); display: inline-block; min-width: 44px; padding: 13px 0; margin: -13px 0; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current="page"] { color: var(--ink2); font-weight: var(--gt-weight-strong); }

/* ---------- Telefoon ----------
 * De schermafbeeldingen zijn volledige iPhone-schermen, met statusbalk en
 * eiland er al in. Alleen een dunne zwarte rand, nooit uitsnijden: het hele
 * scherm blijft zichtbaar.
 */
.phone {
  background: var(--stage-phone);
  padding: 1.6%;
  border-radius: 14.5% / 6.7%;
  box-shadow: 0 0 0 1px var(--shadow-rim) inset, 0 22px 44px -16px var(--shadow-deep);
}
.phone img { width: 100%; border-radius: 13.1% / 6.05%; }

/* Drie telefoons die over elkaar vallen: de middelste voor, de zijkanten
 * iets gekanteld erachter, ver genoeg uit elkaar dat elke titel leesbaar is. */
.fan { position: relative; }
.fan .phone { position: absolute; left: 50%; top: 50%; width: var(--pw); }
.fan .phone:nth-child(1) { transform: translate(-126%, -47%) rotate(-7deg); }
.fan .phone:nth-child(2) { transform: translate(-50%, -52%); z-index: 2; }
.fan .phone:nth-child(3) { transform: translate(26%, -47%) rotate(7deg); }
.fan.two .phone:nth-child(1) { transform: translate(-92%, -50%) rotate(-5deg); }
.fan.two .phone:nth-child(2) { transform: translate(-8%, -50%) rotate(5deg); }

/* ---------- Het scherm van een spel ----------
 * Precies de achtergrond van het Spel-thema in de app (Theme.background):
 * een verloop van de spelkleur naar zijn donkere rand, met bovenin een
 * gloed in dezelfde tint.
 */
.screen {
  background:
    radial-gradient(var(--gt-glow-size) at 50% 0%,
      color-mix(in srgb, var(--gt-glow) var(--gt-glow-strength), transparent), transparent),
    linear-gradient(180deg, var(--gt-bg), var(--gt-bg-edge));
  /* Under the gradient, for a browser or a tool that only reads a flat colour. */
  background-color: var(--gt-bg);
  color: var(--gt-ink);
}

/* ---------- Opening ----------
 * Het podium: de drie telefoons op een donkere tafel in de warme inkt van
 * de site (geen paars of indigo), met achter elke telefoon de gloed van
 * zijn eigen spel (--glow-1 tot --glow-3, door build.py uit de tokens van
 * die spellen gezet).
 */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 8vw, 104px); overflow-x: clip; }
.hero .wrap {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px; row-gap: 40px; align-items: center;
}
.hero .intro { grid-column: 1 / span 5; }
.stage {
  grid-column: 6 / span 7;
  position: relative; border-radius: calc(var(--gt-radius-card) + 6px); overflow: hidden;
  background:
    radial-gradient(42% 58% at 20% 62%, color-mix(in srgb, var(--glow-1) 46%, transparent), transparent),
    radial-gradient(44% 60% at 50% 30%, color-mix(in srgb, var(--glow-2) 42%, transparent), transparent),
    radial-gradient(42% 58% at 80% 62%, color-mix(in srgb, var(--glow-3) 46%, transparent), transparent),
    linear-gradient(180deg, var(--stage-top), var(--stage-bottom));
}
.stage .fan { height: clamp(420px, 42vw, 560px); --pw: clamp(160px, 15.5vw, 214px); }

h1 { font-size: var(--site-type-hero); line-height: .94; letter-spacing: var(--gt-tracking-hero); }
.lead { font-size: var(--site-type-lead); color: var(--ink2); max-width: 36ch; margin: 28px 0 34px; }

@media (max-width: 900px) {
  .hero .intro, .stage { grid-column: 1 / -1; }
  .stage .fan { height: 420px; --pw: 168px; }
}
@media (max-width: 400px) {
  .stage .fan { height: 360px; --pw: 144px; }
}

/* ---------- Secties ---------- */

.section { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  align-items: baseline; margin-bottom: clamp(36px, 4vw, 56px);
}
.head h2, .head h1 { grid-column: 1 / span 6; font-size: var(--site-type-display); line-height: 1; letter-spacing: var(--gt-tracking-display); }
.head p { grid-column: 7 / span 6; margin: 0; color: var(--muted); max-width: 46ch; }
@media (max-width: 900px) {
  .head h2, .head h1, .head p { grid-column: 1 / -1; }
  .head p { margin-top: 14px; }
}

/* ---------- Spelkaarten ----------
 * De hele kaart is het scherm van het spel, op een harde onderrand zoals
 * de knoppen. */

.games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
@media (max-width: 1020px) { .games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .games { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; isolation: isolate;
  border-radius: var(--gt-radius-card); overflow: hidden;
  box-shadow: 0 var(--gt-edge) 0 var(--gt-surface-edge);
  transform: translateY(0);
  transition: transform var(--gt-lift) var(--gt-lift-ease), box-shadow var(--gt-lift) var(--gt-lift-ease);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 calc(var(--gt-edge) + 4px) 0 var(--gt-surface-edge); }
}

.cover { display: flex; justify-content: center; align-items: flex-start; padding: 26px 0 46px; }
.card .cover .phone { width: 42%; }

.ident { display: flex; align-items: flex-end; gap: 14px; margin-top: -40px; padding: 0 22px; position: relative; }
.ident img {
  width: 76px; height: 76px; border-radius: 22.5%; flex: none;
  box-shadow: 0 0 0 4px var(--gt-bg), 0 10px 24px -8px var(--shadow-deep);
}
.ident h3, .ident h1 { font-size: var(--site-type-name); letter-spacing: var(--gt-tracking-title); line-height: 1.1; padding-bottom: 6px; }
.ident a { text-decoration: none; }
/* De naam is de link naar de spelpagina, en die dekt de hele kaart. De
 * knoppen liggen erboven (z-index 2), zodat die hun eigen klik houden. */
.card .ident { position: static; }
.ident img { position: relative; }
.card .stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .stretch:focus-visible { outline: none; }
.card:has(.stretch:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }

.card .body { display: flex; flex-direction: column; flex: 1; padding: 12px 22px 24px; }
.tagline { margin: 0; color: var(--gt-muted); font-size: var(--gt-type-subheadline); font-weight: var(--gt-weight-strong); }
.blurb { margin: 14px 0 0; color: var(--gt-ink); font-size: var(--gt-type-callout); }
.facts { margin: 10px 0 0; padding: 0; list-style: none; color: var(--gt-muted); font-size: var(--site-type-small); }
.facts li + li { margin-top: 2px; }

.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: auto; padding-top: 22px; }
.actions .store, .actions .play { z-index: 2; min-height: 44px; padding: 0 16px; font-size: var(--gt-type-subheadline); }
.actions .store svg, .actions .play svg { width: 14px; height: 14px; }
.soon { display: inline-flex; align-items: center; min-height: 44px; color: var(--gt-muted); font-weight: var(--gt-weight-strong); font-size: var(--gt-type-subheadline); }
.more { font-size: var(--gt-type-subheadline); font-weight: var(--gt-weight-strong); color: var(--gt-muted); }

/* Een kaart die alleen op de laatste rij staat (zeven spellen in rijen van
 * drie of twee) neemt de hele rij en ligt op zijn kant: de telefoon links,
 * naam en tekst rechts. Zo eindigt de rij in een spel en niet in een gat. */
@media (min-width: 1021px) {
  .games > .card:last-child:nth-child(3n+1) {
    grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-template-rows: auto 1fr;
  }
  .games > .card:last-child:nth-child(3n+1) .cover { grid-column: 1; grid-row: 1 / span 2; padding: 26px 0; }
  .games > .card:last-child:nth-child(3n+1) .ident { grid-column: 2; grid-row: 1; margin-top: 0; padding: clamp(28px, 4vw, 56px) 32px 0 0; align-items: center; }
  .games > .card:last-child:nth-child(3n+1) .body { grid-column: 2; grid-row: 2; padding: 14px 32px 32px 0; max-width: 60ch; }
}
@media (min-width: 641px) and (max-width: 1020px) {
  .games > .card:last-child:nth-child(2n+1) {
    grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr;
  }
  .games > .card:last-child:nth-child(2n+1) .cover { grid-column: 1; grid-row: 1 / span 2; padding: 26px 0; }
  .games > .card:last-child:nth-child(2n+1) .ident { grid-column: 2; grid-row: 1; margin-top: 0; padding: 32px 24px 0 0; align-items: center; }
  .games > .card:last-child:nth-child(2n+1) .body { grid-column: 2; grid-row: 2; padding: 14px 24px 28px 0; }
}

/* ---------- Spelpagina ---------- */

.profile { padding-top: 24px; }
.profile .cover {
  border-radius: calc(var(--gt-radius-card) + 4px); padding: 0; height: clamp(420px, 46vw, 560px); display: block; overflow: hidden;
}
.profile .fan { height: 100%; --pw: clamp(160px, 16vw, 214px); }
.profile .ident { margin-top: -56px; padding: 0 clamp(20px, 3vw, 36px); flex-wrap: wrap; row-gap: 16px; align-items: flex-start; }
.profile .ident .names, .profile .ident .cta { margin-top: 70px; }
.profile .ident img { width: 112px; height: 112px; box-shadow: 0 0 0 5px var(--paper), 0 14px 30px -10px var(--shadow-deep); }
.profile .ident .names { flex: 1 1 260px; }
.profile .ident h1 { font-size: var(--site-type-display); letter-spacing: var(--gt-tracking-display); line-height: 1; padding: 0; }
.profile .ident .tagline { margin-top: 8px; font-size: var(--site-type-subtitle); color: var(--muted); }
.profile .ident .cta { padding-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.profile .ident .cta .soon { color: var(--muted); }
@media (max-width: 620px) { .profile .ident .names, .profile .ident .cta { margin-top: 0; } .profile .ident .names { flex-basis: 100%; } }

.detail { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
.detail .text { grid-column: 1 / span 7; }
.detail .text p, .detail .text li { color: var(--ink2); font-size: var(--site-type-reading); max-width: 62ch; }
.detail .text p { margin: 0 0 16px; }
.detail .text ul { margin: 0 0 16px; padding-left: 22px; }
.detail .text li { margin-bottom: 8px; }
.detail .text h3 { font-size: var(--gt-type-title3); letter-spacing: var(--gt-tracking-tight); margin: 30px 0 10px; }
.detail .text p:first-child { font-size: var(--gt-type-title2); color: var(--ink); font-weight: var(--gt-weight-strong); letter-spacing: var(--gt-tracking-tight); }
.detail aside { grid-column: 9 / span 4; }
@media (max-width: 900px) { .detail .text, .detail aside { grid-column: 1 / -1; } }

.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: var(--gt-type-subheadline); }
.specs dt { color: var(--muted); font-weight: var(--gt-weight-strong); }
.specs dd { margin: 0; color: var(--ink2); }
.specs a { font-weight: var(--gt-weight-strong); display: inline-block; padding: 12px 0; margin: -12px 0; }

.gallery { padding-bottom: clamp(56px, 7vw, 96px); }
.gallery h2, .others h2 { font-size: var(--gt-type-title2); letter-spacing: var(--gt-tracking-title); margin-bottom: 22px; }
/* The strip scrolls sideways, so it clips what hangs below it: the room at
 * the bottom lets the phone shadow (22px down, 44px blur, -16px spread) fade
 * out instead of ending in a hard grey line, and the negative margin keeps
 * the section as tall as before. */
.shots {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 52px; margin: 0 0 -34px; list-style: none;
}
.shots li { flex: 0 0 clamp(170px, 20vw, 236px); scroll-snap-align: start; }

/* Meer spellen: kleine tegels, elk in de kleur van zijn spel. */
.others { padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); }
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; margin: 0; padding: 0 0 var(--gt-edge); list-style: none; }
@media (max-width: 1020px) { .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .minis { grid-template-columns: 1fr; } }
.minis a {
  display: flex; align-items: center; gap: 12px; padding: 12px; min-height: 68px;
  border-radius: var(--gt-radius-control); text-decoration: none;
  box-shadow: 0 var(--gt-edge) 0 var(--gt-surface-edge);
  transition: transform var(--gt-release) var(--gt-ease), box-shadow var(--gt-release) var(--gt-ease);
}
.minis a:active { transform: translateY(var(--gt-press)); box-shadow: 0 calc(var(--gt-edge) - var(--gt-press)) 0 var(--gt-surface-edge); transition-duration: var(--gt-press-in); }
@media (prefers-reduced-motion: reduce) { .minis a, .minis a:active { transition: none; transform: none; } }
.minis img { width: 44px; height: 44px; border-radius: 22.5%; flex: none; }
.minis strong { display: block; font-size: var(--gt-type-subheadline); }
.minis span { display: block; font-size: var(--gt-type-footnote); color: var(--gt-muted); }
.minis a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- Over en contact ---------- */

.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.about .text { grid-column: 1 / span 7; }
.about .contact { grid-column: 9 / span 4; }
@media (max-width: 900px) { .about .text, .about .contact { grid-column: 1 / -1; } }
.about h2 { font-size: var(--site-type-display); line-height: 1; letter-spacing: var(--gt-tracking-display); }
.about .text p { font-size: var(--site-type-lead); color: var(--ink2); max-width: 44ch; margin: 24px 0 0; }
.contact h3 { font-size: var(--gt-type-subheadline); font-weight: var(--gt-weight-strong); color: var(--muted); }
.contact p { margin: 10px 0 18px; color: var(--ink2); }
.mail {
  display: inline-block; min-height: 44px; padding: 8px 0;
  font-size: var(--site-type-mail); font-weight: var(--gt-weight-heavy); letter-spacing: var(--gt-tracking-tight);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; overflow-wrap: anywhere;
}
.mail:hover { opacity: .75; }

/* ---------- Tekstpagina (privacy) ---------- */

.page { max-width: 760px; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 112px); }
.page h1 { font-size: var(--site-type-page); letter-spacing: var(--gt-tracking-hero); margin-bottom: 28px; }
.page h2 { font-size: var(--gt-type-title2); letter-spacing: var(--gt-tracking-title); margin: 36px 0 10px; }
.page p, .page li { color: var(--ink2); font-size: var(--gt-type-body); }
.page .stamp { color: var(--muted); font-size: var(--site-type-small); }

/* ---------- Betapagina ---------- */

.steps { padding-left: 22px; margin: 18px 0 8px; }
.steps li { margin-bottom: 8px; color: var(--ink2); }
.betas { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.beta-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.beta-row img { width: 52px; height: 52px; border-radius: 22.5%; }
.beta-row strong { display: block; font-size: var(--gt-type-headline); }
.beta-row span span { display: block; font-size: var(--site-type-small); color: var(--muted); }
.beta-row .go { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--gt-weight-strong); font-size: var(--gt-type-subheadline); white-space: nowrap; }
.beta-row .go svg { width: 14px; height: 14px; }
.beta-row:hover .go { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) { .beta-row { grid-template-columns: auto 1fr; } .beta-row .go { grid-column: 2; } }

/* ---------- Voet ---------- */

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: var(--site-type-small); }
.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot a { color: var(--muted); }
/* Apple's 44 point tap target, also for small text links. */
.foot nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.foot .row > span { display: inline-flex; align-items: center; min-height: 44px; }
.foot .legal { margin: 18px 0 0; font-size: var(--gt-type-caption); max-width: 80ch; }

/* ---------- Toestemming (alleen als er advertentiepixels zijn ingesteld) ---------- */

.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 560px;
  margin-left: auto; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--gt-radius-card);
  background: var(--card); color: var(--ink2); font-size: var(--gt-type-subheadline);
  box-shadow: 0 20px 40px -20px var(--shadow-soft);
}
.consent p { margin: 0 0 14px; }
.consent .row { display: flex; flex-wrap: wrap; gap: 10px; }
.consent button {
  min-height: 44px; padding: 0 18px; border-radius: var(--gt-radius-chip); font: var(--gt-weight-strong) var(--gt-type-subheadline) var(--font); cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
}
.consent button.yes { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- 404 ---------- */

.lost { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.lost h1 { font-size: var(--site-type-lost); }
.lost p { color: var(--muted); margin: 16px 0 28px; }

/* Waar speel je wat: per spel App Store, Google Play en browser (games page). */
.where { overflow-x: auto; border-top: 1px solid var(--line); }
.where table { width: 100%; border-collapse: collapse; font-size: var(--gt-type-subheadline); }
.where th, .where td { text-align: left; padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.where thead th { color: var(--muted); font-weight: var(--gt-weight-strong); }
.where tbody th { font-weight: var(--gt-weight-strong); }
.where a { font-weight: var(--gt-weight-strong); display: inline-block; padding: 12px 0; margin: -12px 0; }
.where .muted { color: var(--muted); }
@media (max-width: 480px) { .where table { font-size: var(--site-type-small); } .where th, .where td { padding-right: 8px; } }
