/* Cookinn — the living wordmark. Red hero and page heads, white games and pages, the dark bands. */

@font-face { font-family: "Baloo 2"; font-weight: 400 800; font-display: swap; src: url("../fonts/baloo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Baloo 2"; font-weight: 400 800; font-display: swap; src: url("../fonts/baloo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Familjen Grotesk"; font-weight: 400 700; font-display: swap; src: url("../fonts/familjen-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Familjen Grotesk"; font-weight: 400 700; font-display: swap; src: url("../fonts/familjen-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --red: #D93A26; --red-bright: #FF5A3D;
  --ink: #1B1612; --soft: #6A625A; --paper: #FFFFFF; --mist: #F3F2EF; --night: #15110E; --coal: #120E0B; --sclera: #FFFFFF;
  --head: "Baloo 2", ui-rounded, system-ui, sans-serif;
  --text: "Familjen Grotesk", system-ui, sans-serif;
  --gutter: clamp(18px, 3.4vw, 48px); --bar: 76px;
  /* the hero mark's size; site.js uses the same numbers, so nothing jumps when it takes over */
  --hero-w: min(80vw, 1320px); --mark-h: calc(var(--hero-w) * 0.24646);
  /* where the mark's middle sits in the hero, as a share of its height (site.js reads it), and how deep the hero phones sink */
  --hero-at: 0.5; --sink-k: 1;
  --pad-l: max(var(--gutter), env(safe-area-inset-left)); --pad-r: max(var(--gutter), env(safe-area-inset-right));
  --r-s: 12px; --r-m: 24px; --r-l: 32px; --r-pill: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --focus: var(--ink);
  color-scheme: light;
  scrollbar-color: var(--ink) var(--mist);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 16px); scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }
.hero ::selection { background: var(--coal); color: #fff; }
.talk ::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r-s); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 80; left: var(--pad-l); top: 12px; padding: 12px 20px; border-radius: var(--r-pill); background: var(--ink); color: #fff;
  font: 700 1rem/1 var(--head); text-decoration: none; translate: 0 -160%; transition: translate 200ms var(--ease-out); }
.skip:focus-visible { translate: none; --focus: #fff; }

/* ---------- the bar the mark docks into ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--bar); padding: 0 var(--pad-r) 0 var(--pad-l); display: flex; align-items: center; justify-content: flex-end;
  color: #fff; --focus: #fff; pointer-events: none; }
.bar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); opacity: var(--bar-o, 0); transition: opacity 200ms ease;
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.55); }
.bar nav { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 24px); pointer-events: auto; }
.bar__link, .bar__lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font: 700 18px/1 var(--head); text-decoration: none; }
.bar__link:hover, .bar__link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.bar__lang { border: 2px solid rgba(255, 255, 255, 0.55); border-radius: var(--r-pill); background: none; padding: 0 14px; cursor: pointer; letter-spacing: 0.02em; }
.bar__lang:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.pill { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); background: #fff; color: var(--red);
  font: 700 18px/1 var(--head); text-decoration: none; transition: background 160ms ease, color 160ms ease; }
.pill:hover { background: var(--ink); color: #fff; }
/* phones: the pages sit behind a menu button; it opens a red panel under the bar (a popover, so it works without script) */
.bar__menu { display: none; gap: 8px; padding: 0 20px 0 16px; border: 0; cursor: pointer; }
.bar__menu svg { width: 18px; height: 18px; }
.menu { display: none; }
.menu:popover-open { display: flex; }
.menu { position: fixed; inset: var(--bar) 0 0 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; border: 0;
  padding: clamp(20px, 5vh, 44px) var(--pad-r) calc(32px + env(safe-area-inset-bottom)) var(--pad-l); flex-direction: column; align-items: flex-start; gap: 32px;
  overflow-y: auto; overscroll-behavior: contain; background: var(--red); color: #fff; --focus: #fff; animation: menu-in 260ms var(--ease-out); }
.menu::backdrop { background: transparent; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-10px); } }
.menu__nav { display: grid; gap: 2px; }
.menu__nav a { padding: 4px 0; font: 800 clamp(2.4rem, 11vw, 3.4rem)/1.1 var(--head); letter-spacing: -0.02em; text-decoration: none; }
.menu__nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }
.menu .pill { min-height: 56px; padding: 0 26px; font-size: 1.2rem; }

/* ---------- the living mark ---------- */
.mark { position: fixed; left: 0; top: 0; z-index: 50; width: 146px; transform-origin: 0 0; color: #fff; --focus: #fff; }
.live .mark { will-change: transform; }
.mark a { display: block; border-radius: var(--r-m); }
/* the mark is drawn at hero size and scaled down, so its focus ring is scaled back up by the same factor */
.mark a:focus-visible { outline-width: calc(3px / var(--s, 1)); outline-offset: calc(3px / var(--s, 1)); border-radius: calc(var(--r-m) / var(--s, 1)); }
.mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.mark .eye { transform-box: fill-box; transform-origin: 50% 50%; }
/* without script the mark simply sits in the hero and the bar keeps its red */
html:not(.live) .mark { position: absolute; left: 50%; top: calc(max(310px, var(--hero-at) * 100svh) - var(--mark-h) * 0.12); width: var(--hero-w); translate: -50% -50%; }
html.sub:not(.live) .mark { left: var(--pad-l); top: calc((var(--bar) - 146px * 0.24646) / 2); width: 146px; translate: none; }
html:not(.live) .bar::before, html.sub .bar::before { opacity: 1; }
/* every page carries both languages; the script in <head> sets data-lang before the first paint, and only that language shows.
   Without script there is no data-lang: the page stays English and the switch, which needs script, is hidden. */
html[data-lang="tr"] [data-l2="en"], html:not([data-lang="tr"]) [data-l2="tr"] { display: none !important; }
html:not([data-lang]) .bar__lang { display: none; }

/* ---------- the phone every game stands in ----------
   A graphite band, a thin black bezel, the screen with its own rounded corners, the island and the side keys.
   Every size is a share of the phone's own width (container units), so it reads the same at 90px and at 360px.
   The containers keep their own position, size, tilt and shadow (--shadow); .device only draws the hardware. */
.device { container-type: inline-size; border-radius: 15.5% / 7.15%;
  background: linear-gradient(158deg, #8d8983 0%, #3e3b38 10%, #24221f 36%, #2e2c29 60%, #4c4945 84%, #1d1c1a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.4), var(--shadow, 0 20px 36px -18px rgba(0, 0, 0, 0.55)); }
.device::before { content: ""; position: absolute; inset: 1.3cqi; border-radius: 14.2cqi; background: #050505; }
.device > img, .device > video { position: absolute; top: 3.6cqi; left: 3.6cqi; width: calc(100% - 7.2cqi); height: calc(100% - 7.2cqi);
  border-radius: 11.9cqi; object-fit: cover; background: #0b0b0b; }
/* the island, with the faint blue of its lens */
.device::after { content: ""; position: absolute; z-index: 2; top: 5.6cqi; left: 50%; width: 27cqi; height: 7.8cqi; translate: -50% 0; border-radius: 99px;
  background: radial-gradient(circle at 79% 50%, #22304a 0 1.3cqi, transparent 1.7cqi), #000; }
/* the glass: a faint glare from the top left; its pseudo-elements are the keys on the band, outside the screen */
.device__hw { position: absolute; z-index: 1; top: 3.6cqi; left: 3.6cqi; right: 3.6cqi; bottom: 3.6cqi; border-radius: 11.9cqi; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.025) 28%, rgba(255, 255, 255, 0) 44%); }
.device__hw::before, .device__hw::after { content: ""; position: absolute; width: 1.2cqi; }
.device__hw::before { left: -4.8cqi; top: 40cqi; height: 52cqi; border-radius: 1cqi 0 0 1cqi;
  background: linear-gradient(#57534e 0 17%, transparent 17% 29%, #57534e 29% 60%, transparent 60% 69%, #57534e 69% 100%); }
.device__hw::after { right: -4.8cqi; top: 64cqi; height: 26cqi; border-radius: 0 1cqi 1cqi 0; background: #57534e; }
.device .frame__toggle { z-index: 3; right: calc(3.6cqi + 10px); bottom: calc(3.6cqi + 10px); }
/* a phone lying on its side: the band's corners and the island turn with it */
.device.is-land { border-radius: 7.15% / 15.5%; }
.device.is-land::after { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; background: var(--red); color: #fff; overflow: clip; --focus: #fff; }
.hero__line { position: absolute; left: 0; right: 0; top: calc(var(--hero-at) * 100% + var(--mark-h) * 0.42 + 2vh); margin: 0; padding: 0 var(--pad-r) 0 var(--pad-l); text-align: center;
  font: 600 clamp(1.25rem, 2.1vw, 2rem)/1.2 var(--head); letter-spacing: 0.005em; text-wrap: balance; }
.peek { --phone-w: clamp(84px, min(10vw, 17vh), 150px); position: absolute; left: 50%; bottom: 0; width: min(1240px, 96vw); height: 24vh; margin: 0; padding: 0; list-style: none; translate: -50% 0; }
/* phones are sized by width and height alike so short screens keep them clear of the line; --sink is a share of the phone's own height */
.peek li { position: absolute; left: var(--x); bottom: 0; width: var(--phone-w); margin-left: calc(var(--phone-w) / -2); aspect-ratio: 9 / 19.5; rotate: var(--r);
  translate: 0 calc(var(--sink) * var(--sink-k)); transition: translate 380ms var(--ease-out); }
.peek li:hover { translate: 0 calc(var(--sink) * var(--sink-k) - 38%); }
/* a rule of its own, so browsers without :has() still keep the hover rise */
.peek li:has(a:focus-visible) { translate: 0 calc(var(--sink) * var(--sink-k) - 38%); }
/* a focused phone rises by 38% of its height after the browser scrolls to it, so keep that much room above it */
.peek a { position: relative; scroll-margin-top: calc(var(--phone-w) * 0.83); display: block; height: 100%; --shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6); }

/* ---------- games: each one a coloured stage with its phone rising from the bottom ---------- */
.games { max-width: 1440px; margin: 0 auto; padding: clamp(84px, 13vh, 150px) var(--pad-r) clamp(96px, 14vh, 150px) var(--pad-l); }
.games h2 { margin: 0; font: 800 clamp(3rem, 7vw, 6rem)/0.92 var(--head); letter-spacing: -0.02em; text-wrap: balance; }
.games__lead { margin: 14px 0 0; font: 600 clamp(1.2rem, 1.8vw, 1.7rem)/1.3 var(--head); color: var(--soft); }
.grid { margin: clamp(40px, 6vh, 72px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(30px, 3vw, 44px) clamp(14px, 1.6vw, 24px); }
/* each game takes two of the tracks, so a short last row sits in the middle, whatever the number of games */
.tile { grid-column: span 2; }
@media (min-width: 1100px) {
  .tile:nth-child(4n+1):nth-last-child(3) { grid-column: 2 / span 2; }
  .tile:nth-child(4n+1):nth-last-child(2) { grid-column: 3 / span 2; }
  .tile:nth-child(4n+1):last-child { grid-column: 4 / span 2; }
}
.tile a { display: grid; gap: 12px; text-decoration: none; border-radius: var(--r-m); }
.tile a:focus-visible { outline: none; }
/* the field keeps the game's colour low at rest and turns it up when the game is in front: hovered, focused, or first on the phone shelf */
.tile__field { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-m); overflow: hidden; isolation: isolate;
  background-color: var(--mist); background-color: color-mix(in oklab, var(--c) 26%, var(--paper)); transition: background-color 380ms ease; }
/* the phone stands in the field with its foot below the edge, tilted; in front it rises, straightens and plays */
.tile__media { position: absolute; left: 50%; bottom: 0; width: var(--pw, 58%); aspect-ratio: var(--ar, 9 / 19.5);
  translate: -50% 13%; rotate: var(--tilt, 0deg); --shadow: 0 22px 32px -22px rgba(0, 0, 0, 0.5);
  transition: translate 560ms var(--ease-out), rotate 560ms var(--ease-out), box-shadow 560ms var(--ease-out); }
.tile--land .tile__media { top: 65%; bottom: auto; translate: -50% -50%; rotate: calc(90deg + var(--tilt, 0deg)); scale: 1;
  transition: translate 560ms var(--ease-out), rotate 640ms var(--ease-out), scale 640ms var(--ease-out), box-shadow 560ms var(--ease-out); }
.tile__media video { opacity: 0; transition: opacity 240ms ease; }
.tile.is-playing video { opacity: 1; }
.tile.is-on .tile__field, .tile a:focus-visible .tile__field { background-color: var(--c); }
.tile.is-on .tile__media, .tile a:focus-visible .tile__media { translate: -50% -3%; rotate: 0deg; --shadow: 0 30px 42px -24px rgba(0, 0, 0, 0.6); }
.tile--land.is-on .tile__media, .tile--land a:focus-visible .tile__media { translate: -50% -74%; rotate: 0deg; scale: 0.76; }
@media (hover: hover) {
  .tile a:hover .tile__field { background-color: var(--c); }
  .tile a:hover .tile__media { translate: -50% -3%; rotate: 0deg; --shadow: 0 30px 42px -24px rgba(0, 0, 0, 0.6); }
  .tile--land a:hover .tile__media { translate: -50% -74%; rotate: 0deg; scale: 0.76; }
}
.tile a:focus-visible .tile__field { outline: 4px solid var(--ink); outline-offset: 4px; }
.shelf-bar { display: none; }
.tile__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 800 clamp(1.35rem, 1.7vw, 1.7rem)/1.05 var(--head); }
.tile .app-icon { --icon: 36px; box-shadow: 0 0 0 1px rgba(18, 14, 11, 0.08), 0 3px 8px rgba(18, 14, 11, 0.16); }
.tile__genre { margin-top: -6px; font-size: 0.95rem; color: var(--soft); }
/* an app icon: the store's rounded square at any size; a hairline keeps a light icon's edge on white */
.app-icon { flex: none; display: block; width: var(--icon, 64px); height: var(--icon, 64px); border-radius: 22.5%; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(18, 14, 11, 0.08), 0 8px 20px rgba(18, 14, 11, 0.2); }
.app-icon[hidden] { display: none; }

/* ---------- the home shelf on wide screens: a deck of phones on one stage ----------
   Nine tiles in three rows read as a catalogue, so from 700px up, with script, the tiles give way to one stage in the
   colour of the game in front (the Turned Up In Front Rule with one game in front at a time). Its phone stands big and
   upright and plays; two more fan out on each side, smaller and tilted, their feet under the edge like tiles at rest;
   the rest wait unseen behind it, and site.js deals the next one forward every few seconds. Beside the stage, under the
   heading, every game's app icon stands big and brings its game forward; under them the game in front in words: its
   name and stage, line, meta, the scenes' pill and its store badges. Phones keep the sideways shelf of tiles, and a
   page without script keeps the grid. */
.deck { scroll-margin-top: calc(var(--bar) + 28px); } /* /#more lands with the heading clear of the bar */
.deck__stage, .deck__now, .deck__picks, .deck__toggle { display: none; }
@media (min-width: 700px) {
  .live [data-home-deck] { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    grid-template-areas: "head stage" "picks stage" "now stage"; grid-template-rows: auto auto 1fr; column-gap: clamp(28px, 5vw, 96px); margin-top: clamp(72px, 11vh, 128px); }
  .live [data-home-deck] > .grid, .live [data-home-deck] > .shelf-bar { display: none; }
  .live [data-home-deck] > .games__more { grid-area: head; margin-top: 0; }
  /* the stage is as tall as the column beside it (heading, icons, words), so both end on one line with no slack between
     the icons and the words; a short column still gets a stage of a proper height */
  .live .deck__stage { grid-area: stage; display: block; position: relative; min-height: clamp(480px, 60vh, 600px); border-radius: var(--r-l); overflow: clip; isolation: isolate;
    container-type: size; background-color: var(--c, var(--mist)); transition: background-color 600ms ease; }
  /* a phone's place in the fan, in shares of the stage's height (cqh; a phone is 80 tall and about 37 wide): how far
     from the middle, how deep its foot sits, its tilt and size */
  .deck__card { position: absolute; left: 50%; bottom: 0; height: 80%; aspect-ratio: var(--ar, 9 / 19.5); transform-origin: 50% 100%; z-index: var(--z, 1);
    translate: calc(-50% + var(--dx, 0cqh)) var(--dy, 0cqh); rotate: var(--rot, 0deg); scale: var(--k, 1); --shadow: 0 22px 32px -22px rgba(0, 0, 0, 0.5);
    transition: translate 900ms var(--ease-out), rotate 900ms var(--ease-out), scale 900ms var(--ease-out), opacity 420ms ease, box-shadow 900ms var(--ease-out); }
  .deck__card[data-pos="0"] { --dy: -3.2cqh; --z: 5; --shadow: 0 30px 42px -24px rgba(0, 0, 0, 0.6); }
  .deck__card[data-pos="1"] { --dx: 27.2cqh; --dy: 8cqh; --rot: 6deg; --k: 0.8; --z: 4; }
  .deck__card[data-pos="-1"] { --dx: -27.2cqh; --dy: 8cqh; --rot: -6deg; --k: 0.8; --z: 4; }
  .deck__card[data-pos="2"] { --dx: 48.2cqh; --dy: 13.6cqh; --rot: 11deg; --k: 0.64; --z: 3; }
  .deck__card[data-pos="-2"] { --dx: -48.2cqh; --dy: 13.6cqh; --rot: -11deg; --k: 0.64; --z: 3; }
  .deck__card[data-pos="back"] { --dy: 17.6cqh; --k: 0.56; opacity: 0; pointer-events: none; }
  /* a landscape game's phone: its long side is a portrait phone's height. Behind the front it stands on end among the
     others, as on a tile; in front it lies down, the way the game is played (--ars: its short side over its long one) */
  .deck__card.is-land { height: auto; width: min(80cqh, 78cqw); bottom: calc(40cqh - 40cqh * var(--ars, 0.46)); transform-origin: 50% 50%; rotate: calc(90deg + var(--rot, 0deg)); }
  .deck__card.is-land[data-pos="0"] { rotate: 0deg; --dy: -6cqh; }
  .deck__card.is-land[data-pos="1"], .deck__card.is-land[data-pos="-1"] { --dy: 16cqh; }
  .deck__card.is-land[data-pos="2"], .deck__card.is-land[data-pos="-2"] { --dy: 28cqh; }
  .deck__card.is-land[data-pos="back"] { --dy: 35cqh; }
  .deck__card video { opacity: 0; transition: opacity 240ms ease; }
  .deck__card.is-playing video { opacity: 1; }
  @media (hover: hover) {
    .deck__card:not(.is-land)[data-pos="1"]:hover, .deck__card:not(.is-land)[data-pos="-1"]:hover { --dy: 4cqh; }
    .deck__card:not(.is-land)[data-pos="2"]:hover, .deck__card:not(.is-land)[data-pos="-2"]:hover { --dy: 9cqh; }
  }
  /* one round button in the stage's top corner stops the dealing and the reel, and starts them again (the video toggle's look) */
  .live .deck__toggle { grid-area: stage; align-self: start; justify-self: end; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin: 16px; padding: 0;
    border: 0; border-radius: 50%; background: rgba(18, 14, 11, 0.78); color: #fff; cursor: pointer; transition: background 160ms ease; }
  .live .deck__toggle[hidden] { display: none; }
  .deck__toggle:hover { background: var(--red); }
  .deck__toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 50%; }
  .deck__toggle svg { width: 18px; height: 18px; }
  /* every game's app icon, big, under the heading, in two rows for up to fourteen games (--cols from the build): a tap
     brings that game forward, and the one in front wears an ink ring. They shrink a little on a short or narrow window,
     so the column (and the stage, which follows it) still fits a laptop's screen. */
  .live .deck__picks { grid-area: picks; --icon: clamp(56px, min(9.6vh, 6.2vw), 88px); display: grid;
    grid-template-columns: repeat(var(--cols, 5), minmax(0, var(--icon))); gap: 12px; margin: clamp(22px, 3.2vh, 32px) 0 0; }
  .deck__pick { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 22.5%; background: none; cursor: pointer;
    -webkit-tap-highlight-color: transparent; transition: translate 200ms var(--ease-out); }
  .deck__pick:empty { border-radius: 50%; background: var(--c); }
  .deck__pick .app-icon { width: 100%; height: 100%; box-shadow: 0 0 0 1px rgba(18, 14, 11, 0.08), 0 6px 14px rgba(18, 14, 11, 0.18); transition: box-shadow 200ms ease; }
  .deck__pick[aria-checked="true"] .app-icon, .deck__pick[aria-checked="true"]:empty { box-shadow: 0 0 0 3px var(--paper), 0 0 0 7px var(--ink); }
  @media (hover: hover) { .deck__pick[aria-checked="false"]:hover { translate: 0 -3px; } }
  /* keyboard focus is always on the chosen icon (one tab stop, arrows move it): a second ring outside its own, 1px
     short of the next icon */
  .deck__pick:focus-visible { outline: 3px solid var(--ink); outline-offset: 8px; border-radius: 32%; }
  /* the game in front, in words, at the column's foot: every game's block stands in the same cell, so the tallest sets
     the height and nothing moves when the deck turns */
  .live .deck__now { grid-area: now; align-self: end; display: grid; min-width: 0; padding-top: clamp(24px, 3.6vh, 40px); }
  .deck__infos { display: grid; }
  .deck__info { grid-area: 1 / 1; align-self: end; min-width: 0; visibility: hidden; opacity: 0; translate: 0 10px;
    transition: opacity 180ms ease, translate 180ms ease, visibility 0s 180ms; }
  .deck__info.is-on { visibility: visible; opacity: 1; translate: none; transition: opacity 420ms var(--ease-out) 140ms, translate 520ms var(--ease-out) 140ms; }
  .deck__name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
  .deck__info h4 { margin: 0; font: 800 clamp(2.8rem, 5vw, 4.4rem)/0.92 var(--head); letter-spacing: -0.025em; text-wrap: balance; }
  .deck__tag { margin: 14px 0 0; font: 700 clamp(1.3rem, 1.9vw, 1.7rem)/1.15 var(--head); text-wrap: balance; }
  .deck__meta { margin: 10px 0 0; font-size: 0.95rem; color: var(--soft); }
  /* the ways on: the pill to the game's page, then the stores' own badges for a game that is out */
  .deck__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 26px; }
  .deck__open { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 22px 0 28px; border-radius: var(--r-pill);
    background: var(--c); color: var(--on, var(--ink)); text-decoration: none; font: 700 1.15rem/1 var(--head); transition: translate 200ms var(--ease-out); }
  .deck__open svg { width: 20px; height: 20px; }
  @media (hover: hover) { .deck__open:hover { translate: 0 -2px; } } /* a lift like the ink pill's; no shadow on a flat ground */
  .deck__open:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: var(--r-pill); }
}
/* between a phone and a wide screen the stage leads; the icons stand in one row under it and the words follow */
@media (min-width: 700px) and (max-width: 1099px) {
  .live [data-home-deck] { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "picks" "now"; grid-template-rows: auto; }
  .live [data-home-deck] > .games__more { margin-bottom: clamp(28px, 4vh, 44px); }
  .live .deck__stage { height: clamp(400px, 56vh, 520px); min-height: 0; }
  .live .deck__picks { --icon: clamp(52px, 7.4vw, 84px); grid-template-columns: repeat(var(--cols1, 9), minmax(0, var(--icon))); justify-content: center; margin-top: 22px; }
  .live .deck__now { padding-top: clamp(28px, 4vh, 40px); }
  /* one column: the game's own pill and the way to all games stand in the same column, so they keep their distance */
  .live [data-home-deck] + .games__all { margin-top: clamp(56px, 8vh, 88px); }
}
/* two columns: the way to all games closes the section under the stage's far edge, clear of the game's own pill */
@media (min-width: 1100px) { .live [data-home-deck] + .games__all { display: flex; justify-content: flex-end; } }
@media (prefers-reduced-motion: reduce) { .deck__stage, .deck__card, .deck__card video, .deck__info, .deck__info.is-on, .deck__open, .deck__pick, .deck__pick .app-icon, .deck__toggle { transition: none; } }
.badge { display: inline-flex; align-items: center; padding: 6px 11px 5px; border-radius: var(--r-pill); background: var(--ink); color: #fff;
  font: 700 0.76rem/1 var(--text); letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
/* Turkish labels are written in capitals already (YAYINDA, YAKINDA, FIRINDA), so no casing rule touches them */
html[lang="tr"] .badge { text-transform: none; }
/* a released game's App Store badge: Apple's artwork as it comes, never under 40px tall (Apple's minimum on screen),
   with a quarter of its height clear around it */
.store { --store-h: 44px; flex: none; display: inline-flex; border-radius: calc(var(--store-h) * 0.18); line-height: 0;
  transition: translate 160ms ease, box-shadow 160ms ease; }
.store img { display: block; width: auto; height: var(--store-h); }
/* Google's badge: the same height as Apple's, its own corner (Google draws it rounder) */
.store--play { border-radius: calc(var(--store-h) * 0.16); }
@media (hover: hover) { .store:hover { translate: 0 -2px; box-shadow: 0 14px 24px -14px rgba(18, 14, 11, 0.7); } }
.store:focus-visible { outline: 3px solid var(--focus, var(--ink)); outline-offset: 4px; }
.step .store, .gh .store { --store-h: clamp(44px, 3.6vw, 52px); }
/* a game in both stores (Cookie Fit, 25 Nov 2026) shows both badges beside its icon. On a phone the row is icon 60 + two gaps
   of 12 + the badges (3.0 and 3.37 times their height wide), so the badges give up a few pixels of height to stay on one line
   (never under Apple's 40px floor); on a screen too narrow even for that, the second badge drops under the first.
   The phone sizes are at the end of this file, after the rules they adjust. */
.step__lead, .show__lead, .gh__lead { flex-wrap: wrap; row-gap: 10px; }
.games__more { margin: clamp(72px, 11vh, 128px) 0 0; font: 800 clamp(2rem, 4vw, 3.4rem)/1 var(--head); letter-spacing: -0.015em; text-wrap: balance; }
.games__more + .grid { margin-top: clamp(28px, 4vh, 44px); }

/* ---------- scenes: the games marked scene: true, one full screen each, their own gameplay filling it ----------
   The stage stays put while the copy scrolls past it; the game whose copy is most in view is in front (site.js).
   Wide screens: the game's footage, blurred, fills the screen behind a big phone. Phones: the footage itself fills the screen. */
.scenes { position: relative; margin: clamp(40px, 6vh, 72px) calc(50% - (100vw - var(--sbw, 0px)) / 2) 0; background: var(--night); color: #fff; --focus: #fff; }
.scenes__stage { display: none; }
/* the stage is as tall as the screen with the browser's bars tucked away (lvh), not as the screen with them out (svh):
   a phone's toolbar shrinks as the page scrolls, and a shorter stage left a dark strip above it (iPhone 16 Pro, 23 Nov 2026) */
.live .scenes__stage { display: block; position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.live .scenes__steps { position: relative; margin-top: -100vh; margin-top: -100lvh; }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity 700ms ease; }
.scene.is-on { opacity: 1; }
.scene__bg { position: absolute; inset: 0; overflow: hidden; }
/* drawn at a quarter size and blurred there, then scaled up: the same soft fill for a fraction of the work */
.scene__bg video { position: absolute; left: -5%; top: -5%; width: 25%; height: 25%; object-fit: cover; transform-origin: 0 0; transform: scale(4.4); filter: blur(7px) saturate(1.25); }
/* a game with a wide shot: its 16:9 footage plays sharp behind the phone, the gradient a little lighter to let it show */
.scene--wide .scene__bg video { left: 0; top: 0; width: 100%; height: 100%; transform: none; filter: none; }
.scene--wide .scene__bg::after { background: linear-gradient(90deg, rgba(18, 14, 11, 0.86) 0%, rgba(18, 14, 11, 0.5) 42%, rgba(18, 14, 11, 0.12) 100%); }
.scene__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 14, 11, 0.9) 0%, rgba(18, 14, 11, 0.62) 46%, rgba(18, 14, 11, 0.24) 100%); }
/* centred in the room below the bar, so a short window never tucks its top under it */
.scene__phone { position: absolute; top: calc(50% + var(--bar) / 2); left: calc(50% + min(24vw, 360px)); height: min(76vh, calc(100vh - var(--bar) - 64px), 760px); height: min(76svh, calc(100svh - var(--bar) - 64px), 760px); aspect-ratio: 9 / 19.5;
  --shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.6);
  translate: -50% -42%; rotate: var(--tilt); transition: translate 900ms var(--ease-out), rotate 900ms var(--ease-out); }
.scene.is-on .scene__phone { translate: -50% -50%; rotate: 0deg; }
.step { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--bar) + 32px) max(var(--pad-r), calc((100% - 1440px) / 2 + var(--pad-r))) 56px max(var(--pad-l), calc((100% - 1440px) / 2 + var(--pad-l))); }
.step__copy { width: min(620px, 46vw); }
.step .badge { background: #fff; color: var(--ink); padding: 8px 13px 7px; }
/* the app icon leads the copy, with the stage pill beside it; the title keeps its full width below */
.step__lead { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.step .app-icon { --icon: clamp(68px, 6vw, 92px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 14px 30px rgba(18, 14, 11, 0.45); }
.step h3 { margin: 0; font: 800 clamp(3.4rem, 7.6vw, 6rem)/0.9 var(--head); letter-spacing: -0.025em; text-wrap: balance; }
.step__tag { margin: 18px 0 0; font: 700 clamp(1.5rem, 2.4vw, 2.3rem)/1.12 var(--head); text-wrap: balance; }
.step__meta { margin: 12px 0 0; font-size: 1.05rem; font-weight: 600; color: var(--mist); }
.step__open { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; margin-top: 30px; padding: 0 22px 0 28px; border-radius: var(--r-pill);
  background: var(--c); color: var(--on, var(--ink)); text-decoration: none; font: 700 1.15rem/1 var(--head); transition: translate 200ms var(--ease-out), box-shadow 200ms ease; }
.step__open svg { width: 20px; height: 20px; }
@media (hover: hover) { .step__open:hover { translate: 0 -2px; box-shadow: 0 16px 26px -14px rgba(0, 0, 0, 0.6); } }
.step__open:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.step ::selection { background: #fff; color: var(--ink); }
/* a phone is the right shape for these games: the footage fills the screen as it is, sharp, and the copy sits where the thumb is */
@media (max-width: 699px) {
  .scene__phone { display: none; }
  /* (written as .scene .scene__bg so they outrank the wide screens' .scene--wide rules: every scene has a film, and until
     23 Nov 2026 phones kept the sideways desktop shade and an unlifted cut) */
  /* footage whose action sits low (a game without a phone film) rises by its game's --lift, so the action clears the copy,
     and fades out below, into the night ground where the copy sits (founder, 23 Nov 2026: "çok aşağıda") */
  .scene .scene__bg video { left: 0; top: calc(var(--lift, 0) * -100%); width: 100%; height: 100%; transform: none; filter: none;
    -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent); mask-image: linear-gradient(180deg, #000 76%, transparent); }
  /* the shade is measured on the screen with the bars out (svh), where the copy sits, and stays dark to the stage's foot */
  .scene .scene__bg::after { background: linear-gradient(180deg, rgba(18, 14, 11, 0.5) 0%, rgba(18, 14, 11, 0) 20%, rgba(18, 14, 11, 0) 42%, rgba(18, 14, 11, 0.94) 80%);
    background: linear-gradient(180deg, rgba(18, 14, 11, 0.5) 0, rgba(18, 14, 11, 0) 20svh, rgba(18, 14, 11, 0) 42svh, rgba(18, 14, 11, 0.94) 80svh); }
  .step { align-items: flex-end; padding: calc(var(--bar) + 20px) var(--pad-r) max(32px, calc(env(safe-area-inset-bottom) + 20px)) var(--pad-l); }
  .step__copy { width: 100%; }
  /* on the way up the copy crosses the bright middle of the footage; a soft shadow keeps it readable there */
  .step h3, .step__tag, .step__meta { text-shadow: 0 1px 2px rgba(18, 14, 11, 0.4), 0 6px 26px rgba(18, 14, 11, 0.6); }
  .step__lead { gap: 12px; margin-bottom: 14px; }
  .step .app-icon { --icon: 60px; }
  .step h3 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .step__tag { margin-top: 10px; font-size: clamp(1.35rem, 6.2vw, 1.7rem); }
  .step__open { display: flex; justify-content: center; width: 100%; margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene, .scene__phone, .step__open { transition: none; }
  .scene__phone { translate: -50% -50%; rotate: 0deg; }
}

/* ---------- publishers ---------- */
.talk { background: var(--night); color: #fff; padding: clamp(84px, 14vh, 150px) var(--pad-r) clamp(84px, 14vh, 150px) var(--pad-l); --focus: #fff; }
.talk__in { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.talk h2 { margin: 0; font: 800 clamp(2.8rem, 6vw, 5.6rem)/0.95 var(--head); letter-spacing: -0.02em; text-wrap: balance; }
.mail { display: inline-flex; align-items: center; min-height: 64px; padding: 0 30px; border-radius: var(--r-pill); background: var(--red); color: #fff; text-decoration: none;
  font: 800 clamp(1.3rem, 2vw, 1.8rem)/1 var(--head); overflow-wrap: anywhere; transition: background 160ms ease, color 160ms ease, transform 200ms var(--ease-out); }
.mail:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

.foot { max-width: 1440px; margin: 0 auto; padding: 28px var(--pad-r) calc(28px + env(safe-area-inset-bottom)) var(--pad-l); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.95rem; color: var(--soft); }
.foot p { margin: 0; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot__nav a { color: var(--ink); }
.foot__nav a:hover { color: var(--red); }
/* the site's footer: the accounts and the links above, the legal line and the quiet nod below (the privacy page keeps the plain row) */
.foot--site { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 32px; }
.foot--site .foot__nav { justify-content: flex-end; }
.foot--site .foot__batch { text-align: right; }
/* Cookinn's accounts: round marks on Mist, each a full touch target, turning red under the pointer */
.social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mist); color: var(--ink); text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 200ms var(--ease-out); }
.social svg { width: 20px; height: 20px; }
.social a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.social a:focus-visible { border-radius: 50%; }
@media (max-width: 699px) {
  .foot--site { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 32px; }
  .foot--site .foot__nav { justify-content: flex-start; }
  .foot--site .foot__batch { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .social a { transition: none; } .social a:hover { transform: none; } }

/* ---------- the pages after home: shared bands and pills ---------- */
.phead__lead { margin: 22px 0 0; max-width: 40ch; font: 600 clamp(1.2rem, 1.9vw, 1.7rem)/1.3 var(--head); text-wrap: pretty; }
.band { max-width: 1440px; margin: 0 auto; padding: clamp(72px, 12vh, 140px) var(--pad-r) clamp(72px, 12vh, 140px) var(--pad-l); }
.band h2 { margin: 0; max-width: 18ch; font: 800 clamp(2.4rem, 5vw, 4.6rem)/0.95 var(--head); letter-spacing: -0.02em; text-wrap: balance; }

.night { background: var(--night); color: #fff; --focus: #fff; }
.night ::selection { background: var(--red); color: #fff; }

/* an ink pill for the way on (all games); the red pills stay the mail actions */
.go { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 22px 0 26px; border-radius: var(--r-pill); background: var(--ink); color: #fff; text-decoration: none;
  font: 800 1.2rem/1 var(--head); transition: background 160ms ease, transform 200ms var(--ease-out); }
.go svg { width: 20px; height: 20px; }
.go:hover { background: var(--red); transform: translateY(-2px); }
.games__all { margin: clamp(40px, 6vh, 64px) 0 0; }

.games--more .games__more { margin-top: 0; }
.talk__more { margin: 22px 0 0; }
.talk__more a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 700 1.1rem/1 var(--head); text-decoration-thickness: 2px; }
.talk__more svg { width: 18px; height: 18px; }

.talk__lead { margin: 0 0 28px; max-width: 30ch; font: 600 clamp(1.2rem, 1.9vw, 1.7rem)/1.3 var(--head); text-wrap: pretty; }

/* a role's page: what the work is on the left, how to apply beside it, held in view while the lists scroll */
.role { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 112px); align-items: start; }
.role__main { display: grid; gap: clamp(44px, 7vh, 72px); }
.role h2 { max-width: none; font: 800 clamp(1.7rem, 2.8vw, 2.4rem)/1.05 var(--head); letter-spacing: -0.015em; }
.dots { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; max-width: 60ch; }
.dots li { position: relative; padding-left: 26px; font-size: 1.08rem; text-wrap: pretty; }
.dots li::before { content: ""; position: absolute; left: 2px; top: 0.56em; width: 11px; height: 11px; border-radius: 50%; background: var(--red); }
.role__apply { position: sticky; top: calc(var(--bar) + 24px); padding: clamp(24px, 3vw, 36px); border-radius: var(--r-m); background: var(--mist); overflow-wrap: anywhere; }
.role__apply p { margin: 14px 0 24px; text-wrap: pretty; }

/* ---------- page to page: the bar and the mark stay put, the new page rises in over the old one, a game's stage grows
   into its page (only the one being opened, from where it can be seen: the head script in build.mjs sees to that) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.bar { view-transition-name: bar; }
.mark { view-transition-name: mark; }
/* the old page stays whole underneath while the new one comes in over it, so no frame has both half there with the
   paper showing through (it flashed pink between two red pages when the old one faded out faster than the new came in) */
::view-transition-old(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: 460ms var(--ease-out) both vt-in; mix-blend-mode: normal; }
::view-transition-group(*) { animation-duration: 560ms; animation-timing-function: var(--ease-out); }
@keyframes vt-in { from { opacity: 0; translate: 0 18px; } }
/* night behind a game's opening: while a stage grows into it, or it shrinks back, the space it leaves is dark like it,
   not the paper underneath */
main:has(> .gh:first-child) { background: linear-gradient(var(--night), var(--night)) top / 100% max(620px, 100svh) no-repeat; }

/* a strip that slides forever: its list holds two copies, so half its width is one lap (plus half a gap) */
@keyframes belt { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- games: a wall of their screens drifting up and down, then each game on its own stage ---------- */
.wall { position: relative; display: flex; align-items: center; min-height: max(620px, 100svh); overflow: hidden; background: var(--red); color: #fff; --focus: #fff;
  padding: calc(var(--bar) + 40px) var(--pad-r) 72px var(--pad-l); }
.wall ::selection { background: var(--coal); color: #fff; }
.wall__phones { position: absolute; inset: 0 0 0 30%; }
.wall__tilt { --gap: clamp(16px, 2vw, 28px); position: absolute; inset: -32% -14% -32% 0; display: flex; justify-content: center; gap: var(--gap); rotate: -9deg; }
.wall__col { flex: 0 0 clamp(120px, 12.5vw, 196px); }
.wall__run { display: flex; flex-direction: column; gap: var(--gap); animation: wall-run var(--dur, 60s) linear infinite; }
.wall__col:nth-child(even) .wall__run { animation-direction: reverse; }
@keyframes wall-run { to { transform: translateY(calc(-50% - var(--gap) / 2)); } }
.wall__phone { position: relative; display: block; aspect-ratio: 9 / 19.5; --shadow: 0 22px 34px -18px rgba(0, 0, 0, 0.5); }
.wall::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 28%, rgba(217, 58, 38, 0.82) 40%, rgba(217, 58, 38, 0) 64%); }
.wall__text { position: relative; z-index: 1; width: 100%; max-width: 1440px; margin: 0 auto; }
.wall h1 { margin: 0; max-width: 7ch; font: 800 clamp(3.6rem, 8.6vw, 6rem)/0.88 var(--head); letter-spacing: -0.03em; }
.wall .phead__lead { max-width: 22ch; }

.shows { max-width: 1440px; margin: 0 auto; padding: clamp(80px, 13vh, 150px) var(--pad-r) clamp(80px, 13vh, 150px) var(--pad-l); display: grid; gap: clamp(80px, 13vh, 160px); }
.show { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: center; }
.show--flip .show__stage { order: 2; }
.show__stage { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--r-l); overflow: hidden; isolation: isolate; background: var(--c); }
/* a soft light from above the phone, the way a dish is lit on the pass */
.show__stage::before { content: ""; position: absolute; z-index: 1; inset: 0; background: radial-gradient(58% 62% at 50% 34%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 72%); }
/* the game's key art fills the stage; a shade at the foot grounds the phone standing on it */
.show__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.show__stage:has(.show__art)::before { background: linear-gradient(0deg, rgba(18, 14, 11, 0.42) 0%, rgba(18, 14, 11, 0) 46%); }
.show__phone { z-index: 2; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .show__art, .gp-art__img, .kitchen img { animation: art-drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes art-drift { from { transform: scale(1.14) translateY(-3%); } to { transform: scale(1.02) translateY(3%); } }
.show__phone { position: absolute; left: 50%; bottom: 0; width: 36%; aspect-ratio: 9 / 19.5; translate: -50% 9%; --shadow: 0 36px 52px -26px rgba(0, 0, 0, 0.55);
  transition: scale 420ms var(--ease-out); }
.show__stage:hover .show__phone { scale: 1.035; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .show__phone { animation: show-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 48%; }
  }
}
@keyframes show-rise { from { translate: -50% 38%; rotate: var(--tilt); } to { translate: -50% 9%; rotate: 0deg; } }
.show__lead { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.show .app-icon { --icon: clamp(56px, 5vw, 76px); }
.show h2 { margin: 0; font: 800 clamp(2.8rem, 5.4vw, 5rem)/0.92 var(--head); letter-spacing: -0.025em; text-wrap: balance; }
.show h2 a { text-decoration: none; }
.show h2 a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }
.show__meta { margin: 12px 0 0; color: var(--soft); font-weight: 600; font-size: 1.05rem; }
.show__tag { margin: 22px 0 0; font: 700 clamp(1.4rem, 2.2vw, 2rem)/1.15 var(--head); text-wrap: balance; }
.show__desc { margin: 14px 0 0; max-width: 50ch; font-size: 1.08rem; text-wrap: pretty; }
.show .go { margin-top: 30px; }

/* ---------- a game's opening: its film (or its reel, blurred) filling the screen, the name over it ---------- */
.gh { position: relative; display: flex; align-items: flex-end; min-height: max(620px, 100svh); overflow: hidden; background: var(--night); color: #fff; --focus: #fff;
  padding: calc(var(--bar) + 32px) var(--pad-r) clamp(56px, 10vh, 112px) var(--pad-l); }
.gh ::selection { background: #fff; color: var(--ink); }
.gh__bg { position: absolute; inset: 0; overflow: hidden; background: var(--c); }
.gh__bg video { position: absolute; left: -5%; top: -5%; width: 25%; height: 25%; object-fit: cover; transform-origin: 0 0; transform: scale(4.4); filter: blur(7px) saturate(1.25); }
.gh--wide .gh__bg video { left: 0; top: 0; width: 100%; height: 100%; transform: none; filter: none; }
.gh__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* over key art the phone stands further right, so the art's subject (often at its centre) stays in view beside it */
.gh--art .gh__phone { left: calc(50% + min(31vw, 470px)); }
.gh__reel { display: none; }
.gh__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 14, 11, 0.86) 0%, rgba(18, 14, 11, 0.5) 46%, rgba(18, 14, 11, 0.08) 100%), linear-gradient(0deg, rgba(18, 14, 11, 0.55) 0%, rgba(18, 14, 11, 0) 42%); }
.gh__in { position: relative; z-index: 1; width: 100%; max-width: 1440px; margin: 0 auto; }
.gh__phone { position: absolute; z-index: 1; top: calc(50% + var(--bar) / 2); left: calc(50% + min(24vw, 360px)); height: min(76svh, calc(100svh - var(--bar) - 64px), 760px);
  aspect-ratio: 9 / 19.5; translate: -50% -50%; rotate: 3deg; --shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.6); }
.gh .back, .rolehero .back { background: rgba(255, 255, 255, 0.16); color: #fff; }
.gh .back:hover { background: #fff; color: var(--ink); }
/* the way back sits under the bar, clear of the film, wherever the name ends up */
.gh__back { position: absolute; z-index: 2; top: calc(var(--bar) + 20px); left: calc(var(--pad-l) + max(0px, (100% - var(--pad-l) - var(--pad-r) - 1440px) / 2)); }
.gh__lead { display: flex; align-items: center; gap: 16px; }
.gh .app-icon { --icon: clamp(68px, 6vw, 96px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 14px 30px rgba(18, 14, 11, 0.45); }
.gh .badge { background: #fff; color: var(--ink); padding: 8px 13px 7px; }
.gh h1 { margin: 20px 0 0; max-width: 11ch; font: 800 clamp(3.6rem, 9vw, 6rem)/0.88 var(--head); letter-spacing: -0.03em; text-wrap: balance; }
.gh__tag { margin: 18px 0 0; max-width: 22ch; font: 700 clamp(1.5rem, 2.6vw, 2.4rem)/1.12 var(--head); text-wrap: balance; }
.gh__meta { margin: 12px 0 0; font-weight: 600; font-size: 1.05rem; color: var(--mist); }
.gh__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 22px 0 0; }
.gh__more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #fff; font: 700 1.1rem/1 var(--head); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.gh__more svg { width: 18px; height: 18px; rotate: 90deg; }

/* ---------- publishing: three phones playing our own ads and previews, then the proof behind each claim ---------- */
.pubhero, .jobshero { position: relative; overflow: hidden; background: var(--red); color: #fff; --focus: #fff;
  padding: calc(var(--bar) + clamp(36px, 7vh, 88px)) var(--pad-r) clamp(56px, 10vh, 112px) var(--pad-l); }
.pubhero ::selection, .jobshero ::selection, .rolehero ::selection { background: var(--coal); color: #fff; }
.pubhero__in { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  min-height: calc(100svh - var(--bar) - 170px); }
.pubhero h1, .jobshero h1 { margin: 0; font: 800 clamp(3rem, 6.2vw, 6rem)/0.92 var(--head); letter-spacing: -0.025em; text-wrap: balance; }
.pubhero__cta { margin: 34px 0 0; }
.pill--big { min-height: 64px; padding: 0 30px; font: 800 clamp(1.2rem, 1.8vw, 1.6rem)/1 var(--head); }
.trio { position: relative; height: min(660px, 74svh); }
.trio__phone { position: absolute; top: 50%; left: 50%; height: 90%; aspect-ratio: 9 / 19.5; translate: -50% -50%; --shadow: 0 44px 64px -30px rgba(0, 0, 0, 0.6);
  animation: float 7s ease-in-out infinite; }
.trio__phone--l { left: 17%; height: 70%; rotate: -9deg; animation-delay: -2.2s; }
.trio__phone--c { z-index: 2; }
.trio__phone--r { left: 83%; height: 70%; rotate: 8deg; z-index: 1; animation-delay: -4.6s; }

.proof { max-width: 1440px; margin: 0 auto; padding: clamp(80px, 13vh, 150px) var(--pad-r) clamp(80px, 13vh, 150px) var(--pad-l); }
.proof__head { margin-bottom: clamp(36px, 6vh, 64px); }
.proof__head h2 { margin: 0; max-width: 18ch; font: 800 clamp(2.4rem, 5vw, 4.6rem)/0.95 var(--head); letter-spacing: -0.02em; text-wrap: balance; }
.proof__lead { margin: 18px 0 0; max-width: 40ch; font: 600 clamp(1.15rem, 1.8vw, 1.6rem)/1.3 var(--head); color: var(--soft); text-wrap: pretty; }
.stack > h2 { margin: 0 0 clamp(36px, 6vh, 64px); max-width: 18ch; font: 800 clamp(2.4rem, 5vw, 4.6rem)/0.95 var(--head); letter-spacing: -0.02em; text-wrap: balance; }
.icons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 24px); }
.icons a { display: grid; justify-items: center; gap: 12px; padding: clamp(16px, 2vw, 26px) 8px; border-radius: var(--r-m); text-decoration: none; text-align: center;
  font: 700 1rem/1.1 var(--head); background-color: var(--mist); background-color: color-mix(in oklab, var(--c) 26%, var(--paper));
  transition: background-color 300ms ease, translate 300ms var(--ease-out); }
.icons a:hover { background-color: var(--c); translate: 0 -4px; }
.icons .app-icon { --icon: clamp(64px, 7vw, 104px); }
/* the store screens slide past; the strip runs to the window's edge */
.ways { list-style: none; margin: clamp(36px, 6vh, 64px) 0 0; padding: 0; display: flex; gap: 16px; height: clamp(440px, 64vh, 640px); }
.way { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r-l); background: var(--c); transition: flex-grow 640ms var(--ease-out); }
.ways:hover .way:hover { flex-grow: 2.1; }
.way video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 900ms var(--ease-out); }
.way:hover video { scale: 1.04; }
.way::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 14, 11, 0.94) 0%, rgba(18, 14, 11, 0.45) 48%, rgba(18, 14, 11, 0.08) 100%); }
.way__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.6vw, 38px); }
.way h3 { margin: 0; max-width: 14ch; font: 800 clamp(1.7rem, 2.6vw, 2.5rem)/1 var(--head); letter-spacing: -0.015em; text-wrap: balance; }
.way p { margin: 12px 0 0; max-width: 38ch; color: rgba(255, 255, 255, 0.86); text-wrap: pretty; }
.bigmail { background: var(--night); color: #fff; --focus: #fff; padding: clamp(96px, 16vh, 190px) var(--pad-r) clamp(96px, 16vh, 190px) var(--pad-l); text-align: center; overflow: hidden; }
.bigmail ::selection { background: var(--red); color: #fff; }
/* on Partners it now follows the dark "Ways to work together" band directly (the conveyor between them left on 25 Nov 2026),
   so the two dark bands read as one and the gap between them is one band's worth, not two */
.night + .bigmail { padding-top: clamp(16px, 3vh, 40px); }
.bigmail h2 { margin: 0; font: 800 clamp(2.4rem, 5vw, 4.6rem)/0.95 var(--head); letter-spacing: -0.02em; }
.bigmail__link { display: inline-block; margin-top: clamp(24px, 4vh, 44px); color: #fff; text-decoration: none; overflow-wrap: anywhere;
  font: 800 clamp(2rem, 7.4vw, 6rem)/1.05 var(--head); letter-spacing: -0.03em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 6px no-repeat; transition: background-size 520ms var(--ease-out), color 200ms ease; }
.bigmail__link:hover { background-size: 100% 6px; color: var(--red-bright); }

/* ---------- the conveyor: every game's phone on a plate in its colour, sliding past; it stops under the pointer ---------- */
.band--belt { padding-bottom: clamp(20px, 3vh, 36px); }
.belt { overflow: hidden; padding: 14px 0 clamp(80px, 13vh, 140px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.belt__track { --gap: clamp(18px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0 var(--gap); display: flex; gap: var(--gap); width: max-content; animation: belt 60s linear infinite; }
.belt:hover .belt__track, .belt:focus-within .belt__track { animation-play-state: paused; }
.belt__item { display: grid; justify-items: center; gap: 14px; width: clamp(150px, 14vw, 214px); text-decoration: none; }
.belt__plate { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1.25; border-radius: var(--r-l); overflow: hidden;
  background-color: var(--mist); background-color: color-mix(in oklab, var(--c) 30%, var(--paper)); transition: background-color 300ms ease; }
.belt__item:hover .belt__plate, .belt__item:focus-visible .belt__plate { background-color: var(--c); }
.belt__item:focus-visible { outline: none; }
.belt__item:focus-visible .belt__plate { outline: 4px solid var(--ink); outline-offset: 4px; }
.belt__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 600ms var(--ease-out); }
.belt__item:hover .belt__art { scale: 1.06; }
.belt__plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 14, 11, 0.4) 0%, rgba(18, 14, 11, 0) 50%); pointer-events: none; }
.belt__phone { z-index: 1; position: absolute; left: 50%; bottom: 0; width: 56%; aspect-ratio: 9 / 19.5; translate: -50% 14%; --shadow: 0 18px 28px -18px rgba(0, 0, 0, 0.5);
  transition: translate 420ms var(--ease-out); }
.belt__item:hover .belt__phone, .belt__item:focus-visible .belt__phone { translate: -50% 4%; }
.belt__name { display: inline-flex; align-items: center; gap: 8px; font: 800 1.15rem/1.1 var(--head); }
.belt .app-icon { --icon: 28px; box-shadow: 0 0 0 1px rgba(18, 14, 11, 0.08), 0 3px 8px rgba(18, 14, 11, 0.16); }

/* ---------- a game's key art as a band of its own, drifting slowly as it scrolls past ---------- */
.gp-art { position: relative; height: min(80vh, 780px); overflow: hidden; background: var(--night); }
.gp-art__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the about page's kitchen: every game on one counter, full width, its line over the foot of the picture */
.kitchen { position: relative; margin: 0; height: min(88vh, 860px); overflow: hidden; background: var(--night); color: #fff; }
.kitchen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kitchen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 14, 11, 0.7) 0%, rgba(18, 14, 11, 0) 42%); }
.kitchen figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad-r) clamp(32px, 6vh, 64px) var(--pad-l);
  font: 800 clamp(1.8rem, 3.8vw, 3.4rem)/1.02 var(--head); letter-spacing: -0.02em; text-wrap: balance; text-shadow: 0 2px 24px rgba(18, 14, 11, 0.5); }

/* ---------- about: the story lit word by word as it is read, beliefs stacking up, two ways in (its microwave opening: about-hero.css) ---------- */
.story { max-width: 1440px; margin: 0 auto; padding: clamp(96px, 16vh, 190px) var(--pad-r) clamp(72px, 12vh, 140px) var(--pad-l); }
.story h2 { margin: 0 0 clamp(28px, 5vh, 48px); font: 800 clamp(2rem, 3.4vw, 3rem)/1 var(--head); letter-spacing: -0.015em; color: var(--red); }
.words { margin: 0; max-width: 22ch; font: 800 clamp(2.1rem, 4.8vw, 4.4rem)/1.04 var(--head); letter-spacing: -0.02em; }
.words + .words { margin-top: clamp(28px, 5vh, 56px); max-width: 40ch; font: 700 clamp(1.35rem, 2.5vw, 2.15rem)/1.3 var(--head); letter-spacing: -0.01em; }
.story__last { margin: clamp(28px, 5vh, 48px) 0 0; font-size: 1.15rem; color: var(--soft); }
/* the team photo stands beside the story and stays in view while it is read */
.story--photo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.story--photo .words { font-size: clamp(2rem, 3.7vw, 3.7rem); }
.story--photo .words + .words { font-size: clamp(1.3rem, 2vw, 1.85rem); }
.story__photo { position: sticky; top: calc(var(--bar) + 32px); margin: clamp(56px, 9vh, 96px) 0 0; aspect-ratio: 1 / 1.08; border-radius: var(--r-l); overflow: hidden;
  background: var(--mist); box-shadow: 0 34px 56px -32px rgba(18, 14, 11, 0.5); }
.story__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.story__photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 10px 16px 9px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font: 700 1rem/1 var(--head); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .words .w { animation: word-in linear both; animation-timeline: view(); animation-range: cover 16% cover 40%; }
  }
}
@keyframes word-in { from { opacity: 0.14; } to { opacity: 1; } }
.stack { max-width: 1440px; margin: 0 auto; padding: clamp(24px, 4vh, 48px) var(--pad-r) clamp(80px, 13vh, 150px) var(--pad-l); }
.stack__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 4vh, 40px); }
/* each belief sticks under the bar a little lower than the one before, so they pile up like plates */
/* clipped, so nothing in a card below (the fanned art and its shadow) ever peeks out under the card on top */
.stack__card { position: relative; min-height: min(64vh, 560px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 3.4vw, 56px); padding: clamp(28px, 4vw, 60px); border-radius: var(--r-l); overflow: clip; box-shadow: 0 -14px 34px -16px rgba(18, 14, 11, 0.3); }
.stack__text { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; }
/* each belief's picture fills the card's other half; the one about each game's world fans out three games' key art */
.stack__media { position: relative; min-height: 280px; margin: 0; border-radius: calc(var(--r-l) - 10px); overflow: hidden; }
.stack__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* a belief shown by a phone: the Device stands tilted on the card's own colour, its foot running out under the card's edge
   (the card clips it), as a game's phone stands on its tile; it straightens and rises a little while the card is hovered */
.stack__media--phone { overflow: visible; min-height: 0; border-radius: 0; }
.stack__phone { position: absolute; left: 50%; top: 1%; width: min(50%, 300px); aspect-ratio: 9 / 19.5; translate: -50% 0; rotate: var(--tilt, 4deg);
  --shadow: 0 36px 52px -26px rgba(0, 0, 0, 0.55); transition: rotate 600ms var(--ease-out), translate 600ms var(--ease-out); }
@media (hover: hover) { .stack__card:hover .stack__phone { rotate: 0deg; translate: -50% -3%; } }
/* the fan keeps a 4 : 3 box of its own, centred in its half, and every card of it stays inside that box */
.stack__media--worlds { overflow: visible; align-self: center; min-height: 0; aspect-ratio: 4 / 3; }
.worlds__art { position: absolute; width: 56%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; box-shadow: 0 26px 44px -22px rgba(0, 0, 0, 0.7);
  transition: rotate 600ms var(--ease-out), translate 600ms var(--ease-out); }
.worlds__art:nth-child(1) { left: 4%; top: 6%; rotate: -8deg; }
.worlds__art:nth-child(2) { left: 40%; top: 18%; rotate: 6deg; z-index: 1; }
.worlds__art:nth-child(3) { left: 18%; top: 40%; rotate: -3deg; z-index: 2; }
.stack__card:hover .worlds__art:nth-child(1) { rotate: -12deg; translate: -10px -6px; }
.stack__card:hover .worlds__art:nth-child(2) { rotate: 10deg; translate: 12px -4px; }
.stack__card:hover .worlds__art:nth-child(3) { rotate: -1deg; translate: 0 10px; }
.stack__card h3 { margin: 0; max-width: 11ch; font: 800 clamp(2.6rem, 5.4vw, 5rem)/0.9 var(--head); letter-spacing: -0.03em; text-wrap: balance; }
.stack__card p { margin: 0; max-width: 30ch; font: 600 clamp(1.15rem, 1.8vw, 1.6rem)/1.3 var(--head); text-wrap: pretty; }
/* the cards pile up only where a whole card fits on the screen with room to spare: on a narrow or short window a card stuck
   under the bar would let the next one slide over its words before they were read, so there they simply follow one another */
@media (min-width: 901px) and (min-height: 720px) {
  .stack__card { position: sticky; top: calc(var(--bar) + 20px + var(--i) * 22px); }
}
.stack--red { background: var(--red); color: #fff; }
.stack--night { background: var(--night); color: #fff; }
.stack--game { background: var(--c); color: var(--ink); }
.stack--paper { background: var(--mist); color: var(--ink); }
.split { display: flex; min-height: min(72vh, 660px); }
.split__half { flex: 1 1 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-width: 0; color: #fff; text-decoration: none; --focus: #fff;
  padding: clamp(48px, 8vh, 96px) clamp(24px, 4vw, 72px); transition: flex-grow 640ms var(--ease-out); }
.split__half--pub { background: var(--night); padding-left: max(var(--pad-l), clamp(24px, 4vw, 72px)); }
.split__half--jobs { background: var(--red); padding-right: max(var(--pad-r), clamp(24px, 4vw, 72px)); }
.split__half:hover { flex-grow: 1.35; }
.split__half:focus-visible { outline-offset: -8px; }
.split__k { font: 800 clamp(2.8rem, 6vw, 5.6rem)/0.9 var(--head); letter-spacing: -0.03em; }
.split__t { max-width: 26ch; font: 600 clamp(1.15rem, 1.7vw, 1.5rem)/1.3 var(--head); text-wrap: pretty; }
.split__go { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 56px; padding: 0 22px 0 26px; border-radius: var(--r-pill); background: #fff; color: var(--ink);
  font: 800 1.2rem/1 var(--head); transition: translate 320ms var(--ease-out); }
.split__go svg { width: 20px; height: 20px; }
.split__half:hover .split__go { translate: 10px 0; }

/* ---------- careers: the open roles as order tickets clipped to the kitchen's rail ---------- */
.jobshero__in { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 88px); align-items: start;
  min-height: calc(100svh - var(--bar) - 180px); }
.jobshero__count { margin: 28px 0 0; font: 700 1.15rem/1 var(--head); }
.rail { position: relative; padding-top: 26px; }
.rail__bar { position: absolute; left: -3%; right: -8%; top: 0; height: 14px; border-radius: 7px;
  background: linear-gradient(180deg, #e7e4df 0%, #a19c95 42%, #5f5b55 100%); box-shadow: 0 7px 12px -4px rgba(0, 0, 0, 0.42); }
.rail__tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 30px); }
.ticket { position: relative; padding-top: 18px; transform-origin: 50% 0; rotate: var(--r, 0deg); filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.26));
  transition: rotate 700ms cubic-bezier(0.3, 1.7, 0.45, 1), translate 320ms var(--ease-out); }
/* the clip that holds it to the rail */
.ticket::before { content: ""; position: absolute; z-index: 1; top: -12px; left: 50%; width: 46px; height: 30px; translate: -50% 0; border-radius: 6px;
  background: linear-gradient(180deg, #45423e, #1d1c1a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.ticket:hover, .ticket:focus-within { rotate: 0deg; translate: 0 6px; }
.ticket:has(.ticket__paper:focus-visible) { outline: 3px solid var(--focus, #fff); outline-offset: 6px; border-radius: 6px; }
.ticket__paper { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 380px; padding: 34px 22px 46px; background: #fff; color: var(--ink); text-decoration: none;
  --z: 10px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--z)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--z)) var(--z) repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--z)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--z)) var(--z) repeat-x; }
.ticket__paper:focus-visible { outline: none; }
.ticket__no { padding-bottom: 12px; border-bottom: 2px dashed rgba(27, 22, 18, 0.22); color: var(--soft); font: 700 0.8rem/1 var(--text); letter-spacing: 0.08em; text-transform: uppercase; }
.ticket__title { margin: 0; font: 800 clamp(1.8rem, 2.5vw, 2.5rem)/0.95 var(--head); letter-spacing: -0.02em; text-wrap: balance; }
.ticket__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ticket__tags span { display: inline-flex; padding: 7px 11px 6px; border-radius: var(--r-pill); background: var(--mist); font: 700 0.74rem/1 var(--text); letter-spacing: 0.05em; text-transform: uppercase; }
html[lang="tr"] .ticket__tags span { text-transform: none; font-size: 0.84rem; }
.ticket__lead { font-size: 1rem; line-height: 1.45; text-wrap: pretty; }
.ticket__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--red); font: 800 1.08rem/1 var(--head); }
.ticket__go svg { width: 18px; height: 18px; transition: translate 300ms var(--ease-out); }
.ticket:hover .ticket__go svg { translate: 5px 0; }
.rolehero { background: var(--red); color: #fff; --focus: #fff; overflow: hidden; padding: calc(var(--bar) + clamp(24px, 4vh, 48px)) var(--pad-r) clamp(64px, 10vh, 120px) var(--pad-l); }
.rolehero__in { max-width: 1440px; margin: 0 auto; }
.rolehero .back:hover { background: #fff; color: var(--red); }
/* a role page's other tickets: their rail runs past the band (right: -8%), so the band clips sideways only (found 12 Nov:
   the role pages scrolled 43px sideways on a 1440 screen); the tickets still swing and cast shadows downward */
.role-more { overflow-x: clip; }
.rail--one { max-width: 820px; margin-top: clamp(36px, 6vh, 64px); }
.ticket--big .ticket__paper { min-height: 0; gap: 18px; padding: 40px clamp(24px, 4vw, 52px) 58px; }
.ticket--big .ticket__title { font-size: clamp(3rem, 7vw, 6rem); line-height: 0.9; }
.ticket--big .ticket__lead { max-width: 46ch; font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.night .rail__tickets { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ---------- 404: the missing address, and Sheriff Rotten from Zombie Rodeo looking for it ---------- */
.lost { position: relative; overflow: hidden; background: var(--red); color: #fff; --focus: #fff;
  padding: calc(var(--bar) + clamp(28px, 6vh, 72px)) var(--pad-r) clamp(48px, 8vh, 96px) var(--pad-l); }
.lost ::selection { background: var(--coal); color: #fff; }
.lost__in { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  min-height: calc(100svh - var(--bar) - 150px); }
.lost__in--solo { grid-template-columns: minmax(0, 1fr); }
.lost h1 { margin: 0; max-width: 11ch; font: 800 clamp(3rem, 7vw, 6rem)/0.92 var(--head); letter-spacing: -0.025em; text-wrap: balance; }
.lost .phead__lead { max-width: 30ch; }
/* the address the visitor asked for, on a dark wash so its small text keeps its contrast on the red */
.lost__path { margin: 22px 0 0; }
.lost__path code { display: inline-block; max-width: 100%; padding: 9px 16px 8px; border-radius: var(--r-pill); background: rgba(18, 14, 11, 0.26);
  font: 600 1rem/1.3 var(--text); overflow-wrap: anywhere; }
.lost__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 30px 0 0; }
/* the two ways back stand the same size: the ink pill takes the big white pill's height and type */
.lost__go .go { min-height: 64px; padding: 0 26px 0 30px; font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.lost__who { position: relative; margin: 0; justify-self: center; height: clamp(340px, 64svh, 700px); aspect-ratio: 1024 / 1519; }
/* he stands still (founder, 12 Nov 2026: a version that hopped round to look the other way was turned down) */
.lost__who img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
/* the ground under his boots */
.lost__who::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -1.5%; height: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(18, 14, 11, 0.42), rgba(18, 14, 11, 0)); }
@media (max-width: 860px) {
  .lost { padding-top: calc(var(--bar) + 18px); }
  .lost__in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 20px; }
  .lost__who { order: -1; height: clamp(220px, 33svh, 330px); }
  .lost h1 { font-size: clamp(2.7rem, 12vw, 4rem); }
}

/* ---------- a game's page: its reel and screens in its colour field, the facts beside, its film below ---------- */
.gp { max-width: 1440px; margin: 0 auto; padding: clamp(72px, 12vh, 140px) var(--pad-r) clamp(64px, 10vh, 120px) var(--pad-l);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "media body";
  column-gap: clamp(28px, 4.4vw, 72px); align-items: start; }

.gp__media { grid-area: media; position: sticky; top: calc(var(--bar) + 20px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  min-height: min(780px, calc(100svh - var(--bar) - 40px)); padding: clamp(24px, 3vw, 44px); border-radius: var(--r-l); background: var(--c, var(--mist)); }
.gp__body { grid-area: body; align-self: center; }
.gp h2 { margin: 0; font: 800 clamp(2.2rem, 4vw, 3.6rem)/0.95 var(--head); letter-spacing: -0.02em; }
.gp__frame { position: relative; margin: 0; height: min(580px, calc(100svh - var(--bar) - 220px)); min-height: 320px; max-width: 100%; aspect-ratio: var(--ar, 9 / 19.5);
  --shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.55); }
.gp__frame.is-land { height: auto; width: min(100%, 620px); }
.frame__toggle { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%;
  background: rgba(18, 14, 11, 0.78); color: #fff; cursor: pointer; --focus: #fff; transition: background 160ms ease; }
.frame__toggle:hover { background: var(--red); }
.frame__toggle svg { width: 18px; height: 18px; }
.gp__thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gp__thumbs button { width: 54px; aspect-ratio: var(--ar, 9 / 19.5); padding: 0; border: 3px solid transparent; border-radius: var(--r-s); overflow: hidden; background: #141414;
  cursor: pointer; opacity: 0.72; transition: opacity 160ms ease, border-color 160ms ease; }
.gp__thumbs.is-land button { width: 96px; }
.gp__thumbs button:hover { opacity: 1; }
.gp__thumbs button[aria-pressed="true"] { opacity: 1; border-color: #fff; }
.gp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px 0 12px; border-radius: var(--r-pill); background: var(--mist); text-decoration: none;
  font: 700 1.02rem/1 var(--head); transition: background 160ms ease, color 160ms ease; }
.back svg { width: 18px; height: 18px; }
.back:hover { background: var(--ink); color: #fff; }


.gp__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; }
.gp__facts .store { margin-right: 4px; }
.gp__facts .levels { display: inline-flex; align-items: center; padding: 6px 11px 5px; border-radius: var(--r-pill); background: var(--mist); color: var(--ink);
  font: 700 0.76rem/1 var(--text); letter-spacing: 0.05em; text-transform: uppercase; }
html[lang="tr"] .gp__facts .levels { text-transform: none; }

.gp__desc { margin: 20px 0 0; max-width: 58ch; font-size: 1.08rem; text-wrap: pretty; }
.gp__features { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; max-width: 58ch; }
.gp__features li { position: relative; padding-left: 24px; text-wrap: pretty; }
.gp__features li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.gp__ask { margin: 34px 0 0; }
.ask { display: inline-flex; align-items: center; min-height: 56px; padding: 0 26px; border-radius: var(--r-pill); background: var(--red); color: #fff; text-decoration: none;
  font: 800 1.2rem/1 var(--head); transition: background 160ms ease; }
.ask:hover { background: var(--ink); }

/* ---------- smaller screens ---------- */
@media (max-width: 1099px) { .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 1099px) { .icons { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 1099px) {
  .tile:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
  .tile:nth-child(3n+1):last-child { grid-column: 3 / span 2; }
}
@media (max-width: 900px) {
  .talk__in { grid-template-columns: 1fr; }

  
  .role { grid-template-columns: 1fr; }
  /* one column: the application form follows the lists directly, so the panel that points to it would only repeat it */
  .role__apply { display: none; }
  /* a game's page: its name, then its phone in its colour, then the rest */
  .gp { grid-template-columns: 1fr; grid-template-areas: "media" "body"; row-gap: 36px; }
  .gp__media { position: static; min-height: 0; }
  .gp__frame { height: min(64svh, 540px); }
  
  .peek { height: 20vh; }
}
/* phones and narrow windows keep the language and the menu in the bar; the menu holds the pages and the email
   (860px: below it the four links, the switch and the pill would run into the docked mark, in Turkish first) */
@media (max-width: 860px) { .bar__link, .bar__mail { display: none; } .bar__menu { display: inline-flex; } }
@media (max-width: 699px) {
  :root { --hero-w: 90vw; }
  /* phones: bigger phones fan out past both edges, and a larger line under the mark */
  :root { --hero-at: 0.49; --sink-k: 0.6; }
  .hero__line { font-size: clamp(1.25rem, 5.8vw, 1.6rem); }
  .peek { --phone-w: 34vw; width: 128vw; }
  /* the games become a shelf that scrolls sideways; the game in front lights up and plays */
  .grid { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad-l) var(--pad-r);
    margin: clamp(32px, 5vh, 48px) calc(-1 * var(--pad-r)) 0 calc(-1 * var(--pad-l)); padding: 10px var(--pad-r) 14px var(--pad-l); scrollbar-width: none; }
  .grid::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 74vw; scroll-snap-align: start; }
  .live .shelf-bar { display: block; position: relative; height: 4px; margin-top: 10px; border-radius: var(--r-pill); background: var(--mist); overflow: hidden; }
  .shelf-bar span { position: absolute; inset: 0 auto 0 0; width: 30%; border-radius: inherit; background: var(--ink); }
  /* the publishers band: a bigger heading and a mail button the width of a thumb's reach */
  .talk h2 { font-size: clamp(2.6rem, 12.4vw, 3.6rem); }
  .mail, .go { display: flex; justify-content: center; width: 100%; }
  
  .role__apply .ask { display: flex; justify-content: center; }
  
  .band h2 { font-size: clamp(2.2rem, 10.4vw, 3rem); }
  .role h2 { font-size: clamp(1.6rem, 7.4vw, 2rem); }
  /* the games page keeps every game in view: two to a row */
  .grid.grid--all { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; margin: 0; padding: 0; overflow: visible; }
  .grid--all .tile { grid-column: auto; }
  .grid--all .tile__name { font-size: 1.15rem; gap: 6px 8px; }
  .grid--all .tile .app-icon { --icon: 28px; }
  .gp__media { margin: 0 calc(-1 * var(--pad-r)) 0 calc(-1 * var(--pad-l)); border-radius: 0; }

  
  
}
@media (max-width: 420px) { .bar nav { gap: 6px; } .pill { padding: 0 16px; } .bar__lang { padding: 0 12px; } }
@media (max-width: 360px) { .pill, .bar__lang { font-size: 16px; } .pill { padding: 0 13px; } .bar__lang { padding: 0 10px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile__media, .tile__field, .peek li, .skip, .mail, .go, .ask, .back, .frame__toggle, .store { transition: none; }
  .menu { animation: none; }
}

/* ---------- the new pages on narrower screens ---------- */
@media (max-width: 900px) {
  /* minmax(0, …): the swipeable ticket row is wider than the window and must not widen the column the heading sits in */
  .pubhero__in, .jobshero__in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .trio { height: min(560px, 70svh); }
  .ways { flex-direction: column; height: auto; }
  .way { flex: none; min-height: 380px; }
  .ways:hover .way:hover { flex-grow: 0; }
  .split { flex-direction: column; }
  .split__half, .split__half--pub, .split__half--jobs { min-height: 52vh; padding-left: var(--pad-l); padding-right: var(--pad-r); }
  .split__half:hover { flex-grow: 1; }
  .show { grid-template-columns: 1fr; }
  .story--photo { grid-template-columns: minmax(0, 1fr); }
  .story__photo { position: relative; top: auto; aspect-ratio: 4 / 3; margin-top: 8px; }
  /* one column: the words first, then the picture at a height that leaves the card readable on any phone */
  .stack__card { grid-template-columns: minmax(0, 1fr); align-content: start; min-height: 0; }
  .stack__media { min-height: 0; height: clamp(220px, 40vh, 420px); }
  .stack__media--worlds { justify-self: center; width: min(100%, 520px); height: auto; aspect-ratio: 4 / 3; }
  .stack__phone { top: 0; width: min(60%, 250px); }
  .show--flip .show__stage { order: 0; }
  /* the tickets hang in a row you swipe */
  .rail__tickets, .night .rail__tickets { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin: 0 calc(-1 * var(--pad-r)) 0 calc(-1 * var(--pad-l)); padding: 0 var(--pad-r) 30px var(--pad-l); scroll-padding-inline: var(--pad-l) var(--pad-r); }
  .rail__tickets::-webkit-scrollbar { display: none; }
  .rail__bar { left: calc(-1 * var(--pad-l)); right: calc(-1 * var(--pad-r)); }
  .ticket { flex: 0 0 min(78vw, 330px); scroll-snap-align: start; }
}
@media (max-width: 699px) {
  .wall { align-items: flex-end; min-height: 92svh; padding-bottom: 48px; }
  .wall__phones { inset: 0; }
  .wall__col { flex-basis: 34vw; }
  .wall::after { background: linear-gradient(180deg, rgba(217, 58, 38, 0.1) 0%, rgba(217, 58, 38, 0.3) 36%, var(--red) 74%); }
  .wall h1 { font-size: clamp(3.2rem, 17vw, 4.6rem); }
  .show__stage { aspect-ratio: 1 / 1.05; }
  .show__phone { width: 50%; }
  .show h2 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .gh { min-height: 100svh; padding-bottom: max(40px, calc(env(safe-area-inset-bottom) + 28px)); }
  .gh__bg::after { background: linear-gradient(180deg, rgba(18, 14, 11, 0.45) 0%, rgba(18, 14, 11, 0) 22%, rgba(18, 14, 11, 0) 38%, rgba(18, 14, 11, 0.94) 80%); }
  .gh h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .gh__phone { display: none; }
  /* phones: a game without a film opens on its own reel, full screen, the way the home page's scenes do */
  .gh--art .gh__reel { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .gh:not(.gh--wide) .gh__bg video { left: 0; top: 0; width: 100%; height: 100%; transform: none; filter: none; }
  /* the opening's footage (a phone film, the game's portrait scene cut, or its reel) rises by the game's --lift, a quarter
     more than on the home scene because this copy starts higher, and fades out into the night ground below */
  .gh .gh__bg video, .gh:not(.gh--wide) .gh__bg video { top: calc(var(--lift, 0) * -125%);
    -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent); mask-image: linear-gradient(180deg, #000 76%, transparent); }
  .gh__bg { background: var(--night); }
  .gh__bg:has(.gh__reel) .gh__art { display: none; }
  .gh__tag { font-size: clamp(1.35rem, 6.2vw, 1.7rem); }
  .gh h1, .gh__tag, .gh__meta { text-shadow: 0 1px 2px rgba(18, 14, 11, 0.4), 0 6px 26px rgba(18, 14, 11, 0.6); }
  .pubhero h1, .jobshero h1 { font-size: clamp(2.6rem, 11.6vw, 3.6rem); }
  .pill--big { display: flex; justify-content: center; width: 100%; font-size: 1.15rem; }
  .trio { height: 470px; margin: 0 calc(-1 * var(--pad-r)) 0 calc(-1 * var(--pad-l)); }
  .trio__phone--l { left: 20%; }
  .trio__phone--r { left: 80%; }
  .icons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .icons a { font-size: 0.85rem; }
  .icons .app-icon { --icon: 56px; }
  .proof__head h2, .stack > h2 { font-size: clamp(2.2rem, 10.4vw, 3rem); }
  .bigmail__link { font-size: clamp(1.7rem, 8.6vw, 2.4rem); }
  .belt__item { width: 42vw; }
  .stack__card h3 { font-size: clamp(2.4rem, 11.6vw, 3.4rem); }
  .split__k { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .split__go { display: flex; justify-content: center; width: 100%; }
  .ticket--big .ticket__title { font-size: clamp(2.6rem, 12vw, 3.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  .wall__run, .belt__track, .trio__phone, .show__art, .gp-art__img, .kitchen img { animation: none; }
  .belt { overflow-x: auto; }
  .ticket, .way, .way video, .split__half, .show__phone, .belt__phone, .split__go, .bigmail__link, .icons a, .worlds__art, .stack__phone { transition: none; }
}
/* phones: the icon-and-badges row of a game in both stores (see .step__lead above) */
@media (max-width: 699px) {
  .step__lead, .show__lead, .gh__lead { column-gap: 12px; }
  .step .app-icon, .show .app-icon, .gh .app-icon { --icon: 60px; }
  .step .store, .show .store, .gh .store { --store-h: clamp(40px, calc((100vw - 2 * var(--gutter) - 85px) / 6.37), 44px); }
}
/* Turkish: Apple's badge is wider there (3.77:1; English 3:1), so beside Google's the row takes a smaller icon and tighter
   gaps, and both badges still stand on one line on a 393px phone (they wrap below that) */
@media (max-width: 699px) {
  html[lang="tr"] :is(.step__lead, .show__lead, .gh__lead):has(.store + .store) { column-gap: 8px; }
  html[lang="tr"] :is(.step__lead, .show__lead, .gh__lead):has(.store + .store) .app-icon { --icon: 52px; }
  html[lang="tr"] :is(.step__lead, .show__lead, .gh__lead):has(.store + .store) .store { --store-h: clamp(40px, calc((100vw - 2 * var(--gutter) - 70px) / 7.2), 44px); }
}
