/* games.hrlabs.studio: one stylesheet for every page. Dark canvas, one accent per game (--accent). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-latin-800-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #050507;
  --bg-2: #0c0d11;
  --bg-3: #14161c;
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .2);
  --text: #fff;
  --muted: rgba(255, 255, 255, .74);
  --dim: rgba(255, 255, 255, .58);
  --accent: #fff;
  --accent-deep: #222;
  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1320px;
  --nav-h: 68px;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .15, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #000; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
body:not([data-game]) :focus-visible { outline-color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; border-radius: 999px;
  background: #fff; color: #000; font-weight: 600; transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
body:not([data-game]) .kicker { color: var(--muted); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 24px; padding-inline: var(--gutter);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .55), transparent); transition: opacity .35s;
}
.nav.is-scrolled { background: rgba(5, 5, 7, .74); -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px); border-bottom-color: var(--line); }
.nav.is-scrolled::before { opacity: 0; }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { height: 30px; width: auto; }
.nav-menu { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); list-style: none; padding: 0; margin-block: 0; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--muted); transition: color .2s; position: relative; padding-block: 6px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); }
.menu-button { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; place-items: center; }
.menu-button span, .menu-button span::before { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .3s var(--ease); }
.menu-button span::before { content: ""; position: absolute; top: 7px; }
.menu-button span { transform: translateY(-3.5px); }
.nav-open .menu-button span { transform: translateY(0) rotate(45deg); }
.nav-open .menu-button span::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  .menu-button { display: grid; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; height: calc(100svh - var(--nav-h)); margin: 0;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px;
    padding: 28px var(--gutter); background: rgba(5, 5, 7, .97);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav-links a { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: #fff; }
  .nav-links a[aria-current="page"]::after { display: none; }
  /* A backdrop filter would make the header the containing block of the fixed menu. */
  .nav-open .nav { background: rgba(5, 5, 7, .97); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brand img { height: 22px; }
}

/* ---------- Gameplay media (videos built by site.js) ---------- */
.media { position: absolute; inset: 0; overflow: hidden; background: #000; }
.media-fallback, .media-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-built .media-fallback { display: none; }
.media-grid { position: absolute; inset: 0; }
.media-grid.is-single .tile, .media-grid.is-cycle .tile { position: absolute; inset: 0; }
.media-grid.is-cycle .tile { opacity: 0; transition: opacity 1.2s var(--ease); }
.media-grid.is-cycle .tile.is-on { opacity: 1; }
.tile { position: relative; overflow: hidden; background: #000; }
.tile-in { position: absolute; inset: 0; }
.tile video, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile img.poster { transition: opacity .4s; }
.tile.is-playing img.poster { opacity: 0; }

/* The hero collage on wide screens: one portrait clip per game, side by side. */
.media-grid.is-collage { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--bg); }
/* Style 1: angled cuts. Each panel is slanted, the picture inside it upright, with an even dark gap between. */
html[data-collage="1"] .is-collage { inset: 0 -7vw; gap: 14px; }
html[data-collage="1"] .is-collage .tile { transform: skewX(-10deg); }
html[data-collage="1"] .is-collage .tile-in { inset: 0 -32%; transform: skewX(10deg); }
html[data-collage="1"] .is-collage .tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 -120px 120px -80px color-mix(in srgb, var(--c, #fff) 40%, transparent); }
/* Style 2: rounded panels floating on the dark, staggered, each with a soft glow in its game's colour; they drift at
   different depths as the page scrolls (site.js). */
html[data-collage="2"] .is-collage {
  inset: 11% 3.2vw 9%; gap: 22px; align-items: stretch; overflow: visible;
  background: transparent;
}
html[data-collage="2"] .hero .media { background: radial-gradient(70% 70% at 50% 45%, #12141c, var(--bg) 75%); }
html[data-collage="2"] .is-collage .tile {
  border-radius: 30px; transform: translateY(calc(var(--stagger, 0%) + var(--drift, 0px)));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 90px -10px color-mix(in srgb, var(--c, #fff) 55%, transparent), 0 50px 90px -40px rgba(0, 0, 0, .95);
}
html[data-collage="2"] .is-collage .tile:nth-child(odd) { --stagger: -5.5%; }
html[data-collage="2"] .is-collage .tile:nth-child(even) { --stagger: 5.5%; }
html[data-collage="2"] .hero .scrim {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 0, 0, .55), rgba(0, 0, 0, .2) 70%, transparent),
    linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .2) 50%, var(--bg) 100%);
}

.scrim { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.hero .media { z-index: -2; }
.hero .scrim {
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(0, 0, 0, .58), rgba(0, 0, 0, .25) 70%, transparent),
    linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .35) 45%, var(--bg) 100%);
}
.hero-copy { padding: var(--nav-h) var(--gutter) 40px; max-width: 1200px; }
.hero h1 {
  font-size: clamp(46px, 8.4vw, 132px); font-weight: 800; line-height: .94; letter-spacing: -.045em;
  text-wrap: balance; text-shadow: 0 2px 40px rgba(0, 0, 0, .35);
}
.hero-sub { margin-top: clamp(16px, 2.4vw, 28px); font-size: clamp(18px, 2.1vw, 30px); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; color: #fff; text-wrap: balance; }
.hero-games { margin-top: clamp(28px, 4vw, 48px); display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; list-style: none; padding: 0; }
.hero-games a {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 15px; font-weight: 600; transition: background .25s, transform .25s var(--ease);
}
.hero-games a:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.hero-games img { width: 32px; height: 32px; border-radius: 9px; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--dim);
}
.scroll-cue i { display: block; width: 1px; height: 44px; background: linear-gradient(#fff, transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 720px) {
  .hero-games { gap: 8px; max-width: 380px; margin-inline: auto; }
  .hero-games a { font-size: 14px; padding-right: 12px; }
  .scroll-cue { display: none; }
}

/* ---------- Home: one full-screen section per game, each with its own wide gameplay ---------- */
.games { position: relative; background: var(--bg); }
.game {
  /* One full screen per game (Harvey, 18 Nov 2026): svh so a phone's browser bars never cut it. */
  position: relative; height: 100vh; height: 100svh; display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate; padding: 0 var(--gutter) clamp(44px, 8.5vh, 100px);
}
.game .media { z-index: -2; transform: scale(1.05); filter: brightness(.55) saturate(.85); transition: transform 1.8s var(--ease), filter 1.1s var(--ease); }
.game.is-active .media { transform: none; filter: none; }
.game .scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .45) 40%, rgba(0, 0, 0, .06) 75%),
    linear-gradient(rgba(5, 5, 7, .92), rgba(5, 5, 7, 0) 20%, transparent 62%, rgba(0, 0, 0, .55));
}
.game-copy { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.game-copy > * { max-width: 680px; }
.game-logo { height: clamp(88px, 14vh, 150px); width: auto; max-width: min(400px, 82vw); object-fit: contain; object-position: left center; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45)); }
.game-index { margin-top: 22px; }
/* A game's name set in type, while its logo is being made: the last word large, the rest above it in the accent. */
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; font-weight: 800; line-height: .84; text-transform: uppercase; text-shadow: 0 8px 40px rgba(0, 0, 0, .45); }
.wm-top { font-size: .3em; letter-spacing: .2em; color: var(--accent); margin: 0 0 .14em .08em; }
.wm-main { letter-spacing: -.045em; }
.game-wordmark { font-size: clamp(66px, 11vh, 120px); }
.hero-wordmark { font-size: clamp(88px, 18vh, 180px); }
@media (max-width: 520px) { .hero-wordmark { font-size: 84px; } .game-wordmark { font-size: 66px; } }
.game h2 { margin-top: 12px; font-size: clamp(36px, 5vw, 76px); font-weight: 800; line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.game-summary { margin-top: 18px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--muted); max-width: 560px; }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.button {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  background: #fff; color: #000; transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--accent); }
.button svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.button:hover svg { transform: translateX(3px); }
.button.ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.button.ghost:hover { background: rgba(255, 255, 255, .16); }

/* Text reveals as a game comes on stage (only when scripts run). */
.js .game-copy > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .game.is-seen .game-copy > * { opacity: 1; transform: none; }
.js .game.is-seen .game-copy > :nth-child(2) { transition-delay: .06s; }
.js .game.is-seen .game-copy > :nth-child(3) { transition-delay: .12s; }
.js .game.is-seen .game-copy > :nth-child(4) { transition-delay: .18s; }
.js .game.is-seen .game-copy > :nth-child(5) { transition-delay: .24s; }

.rail { position: fixed; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 20; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.rail.is-on { opacity: 1; visibility: visible; transition: opacity .4s; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7); text-shadow: 0 1px 12px rgba(0, 0, 0, .9), 0 0 2px rgba(0, 0, 0, .6); transition: color .25s; }
.rail a::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: width .35s var(--ease), background .35s; }
.rail a:hover { color: #fff; }
.rail a[aria-current="true"] { color: #fff; }
.rail a[aria-current="true"]::after { width: 38px; background: var(--c); }
@media (max-width: 1080px) { .rail { display: none; } }

@media (max-width: 767px), (max-aspect-ratio: 5/6) {

  .game .scrim { background: linear-gradient(rgba(5, 5, 7, .9), rgba(0, 0, 0, .05) 22%, rgba(0, 0, 0, .1) 40%, rgba(0, 0, 0, .84) 76%, rgba(0, 0, 0, .92)); }
}

/* ---------- About, numbers, call to action ---------- */
.section { padding-block: clamp(88px, 13vw, 168px); position: relative; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about h2, .section-title { font-size: clamp(36px, 5vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -.04em; text-wrap: balance; margin-top: 18px; }
.about-text p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--muted); }
.about-text p + p { margin-top: 1em; }
.stats { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); list-style: none; padding: 0; }
.stats li { padding: 32px 24px 0 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-value { display: block; font-size: clamp(56px, 8vw, 124px); font-weight: 800; line-height: .9; letter-spacing: -.05em; }
.stat-label { display: block; margin-top: 14px; font-size: 16px; color: var(--muted); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 32px; }
}

.cta { overflow: hidden; isolation: isolate; text-align: center; border-top: 1px solid var(--line); }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    radial-gradient(40% 60% at 15% 100%, rgba(53, 208, 240, .28), transparent 70%),
    radial-gradient(40% 60% at 40% 100%, rgba(255, 74, 61, .26), transparent 70%),
    radial-gradient(40% 60% at 65% 100%, rgba(255, 138, 31, .26), transparent 70%),
    radial-gradient(40% 60% at 88% 100%, rgba(76, 134, 255, .3), transparent 70%);
}
.cta .section-title { margin-top: 0; }
.cta-sub { margin-top: 10px; font-size: clamp(36px, 5vw, 72px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--dim); }
.cards { margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; list-style: none; padding: 0; text-align: left; }
.card {
  --c: #fff; position: relative; display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 55%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, transparent), rgba(255, 255, 255, .02)); }
.card img { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .8); }
.card-text { display: grid; gap: 6px; }
.card-name { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.card-line { font-size: 15px; line-height: 1.45; color: var(--muted); }
.card-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--c); }
.card-go svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card-go svg { transform: translateX(4px); }
.card-tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #000; background: var(--c); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 1180px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card { flex-direction: row; align-items: center; padding: 16px; gap: 16px; }
  .card img { width: 64px; height: 64px; border-radius: 15px; }
  .card-go { display: none; }
  .card-tag { position: absolute; top: 12px; right: 12px; font-size: 10px; padding: 3px 8px; }
}

/* ---------- Store badges (official artwork, unaltered) ---------- */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.badge { display: inline-block; border-radius: 10px; line-height: 0; }
.badge img { height: 54px; width: auto; }
/* Google's badge carries its own transparent margin (41 of 250 px): at 80 px tall its visible badge is 54 px, like Apple's. */
.badge-gp img { height: 80px; margin: -13px; }
.soon { font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }

/* ---------- Game page ---------- */
.game-hero { position: relative; height: 100svh; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.game-hero .media { z-index: -2; }
.game-hero .scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .4) 42%, rgba(0, 0, 0, .05) 75%),
    linear-gradient(rgba(0, 0, 0, .45), transparent 25%, transparent 50%, var(--bg) 100%);
}
.game-hero-copy { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: var(--nav-h) var(--gutter) clamp(56px, 10vh, 120px); }
.game-hero-copy > * { max-width: 720px; }
.game-hero h1 { line-height: 0; }
.game-hero h1 img { height: clamp(120px, 24vh, 240px); width: auto; max-width: min(520px, 86vw); object-fit: contain; object-position: left center; filter: drop-shadow(0 14px 40px rgba(0, 0, 0, .5)); }
.lead { margin-top: 24px; font-size: clamp(36px, 5.4vw, 80px); font-weight: 800; line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.game-hero .actions { margin-top: 30px; }
@media (max-width: 767px), (max-aspect-ratio: 5/6) {
  .game-hero .scrim { background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .05) 24%, rgba(0, 0, 0, .1) 40%, rgba(0, 0, 0, .85) 76%, var(--bg)); }
}

.pitch { padding-block: clamp(72px, 10vw, 140px) clamp(40px, 6vw, 80px); }
.pitch p.big { margin-top: 22px; font-size: clamp(24px, 3vw, 42px); font-weight: 600; line-height: 1.22; letter-spacing: -.025em; max-width: 1080px; text-wrap: pretty; }
.pitch p.big em { font-style: normal; color: var(--accent); }

.shots { padding-block: clamp(40px, 6vw, 80px); }
.shots-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.shots-head h2 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin-top: 16px; }
.shots-nav { display: flex; gap: 10px; }
.shots-nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  display: grid; place-items: center; cursor: pointer; transition: background .2s, opacity .2s;
}
.shots-nav button:hover { background: rgba(255, 255, 255, .14); }
.shots-nav button:disabled { opacity: .3; cursor: default; }
.shots-nav svg { width: 20px; height: 20px; }
.shot-strip {
  margin-top: 36px; display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px max(var(--gutter), calc((100vw - var(--maxw)) / 2)) 24px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  list-style: none; margin-bottom: 0; scrollbar-width: none; overscroll-behavior-x: contain;
}
.shot-strip::-webkit-scrollbar { display: none; }
.shot-strip li { flex: none; scroll-snap-align: start; width: clamp(220px, 21vw, 300px); }
.shot-strip figure { margin: 0; }
.shot-strip img {
  width: 100%; height: auto; aspect-ratio: 1320 / 2868; object-fit: cover; border-radius: clamp(22px, 2.2vw, 32px);
  border: 1px solid var(--line-2); background: var(--bg-3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
@media (max-width: 720px) { .shots-nav { display: none; } .shot-strip li { width: 62vw; } }

.features { padding-block: clamp(56px, 8vw, 120px); }
.feature-grid { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 80px); list-style: none; padding: 0; counter-reset: f; }
.feature-grid li { counter-increment: f; padding: 30px 0 34px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; }
.feature-grid li::before { content: counter(f, decimal-leading-zero); grid-row: span 2; font-size: 15px; font-weight: 800; color: var(--accent); padding-top: 6px; font-variant-numeric: tabular-nums; }
.feature-grid h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.feature-grid p { font-size: 17px; color: var(--muted); max-width: 46ch; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }

.get { position: relative; min-height: 78svh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; padding: 120px var(--gutter); }
.get .media { z-index: -2; }
.get .scrim { z-index: -1; background: linear-gradient(var(--bg), rgba(0, 0, 0, .55) 22%, rgba(0, 0, 0, .55) 78%, var(--bg)), radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0, 0, 0, .45), transparent); }
.get-icon { width: clamp(96px, 11vw, 132px); height: auto; aspect-ratio: 1; border-radius: 23%; margin: 0 auto; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .12); }
.get h2 { margin-top: 28px; font-size: clamp(40px, 6vw, 92px); font-weight: 800; letter-spacing: -.045em; line-height: .95; }
.get p { margin-top: 14px; font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; color: var(--muted); }
.get .badges { justify-content: center; margin-top: 34px; }

.help { padding-block: clamp(56px, 7vw, 100px) 0; }
.help-links { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; }
.help-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 18px;
  background: var(--bg-2); border: 1px solid var(--line); font-size: 18px; font-weight: 600; transition: border-color .25s, background .25s;
}
.help-links a:hover { border-color: var(--accent); background: var(--bg-3); }
.help-links small { display: block; font-size: 14px; font-weight: 400; color: var(--dim); margin-top: 2px; }
.help-links svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
@media (max-width: 760px) { .help-links { grid-template-columns: 1fr; } }

.more { padding-block: clamp(80px, 10vw, 140px); }
.more .cards { grid-template-columns: repeat(4, 1fr); margin-top: 36px; }
@media (max-width: 1180px) { .more .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .more .cards { grid-template-columns: 1fr; } .more .card { flex-direction: row; align-items: center; } .more .card-go { display: none; } }

/* ---------- Legal and support pages ---------- */
.doc-head { padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); background: radial-gradient(70% 120% at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); list-style: none; padding: 0; margin: 0; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--dim); }
.crumbs img { width: 26px; height: 26px; border-radius: 7px; display: inline-block; vertical-align: middle; margin-right: 8px; }
.doc-head h1 { margin-top: 22px; font-size: clamp(40px, 6vw, 80px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.doc-meta { margin-top: 16px; color: var(--dim); font-size: 15px; }
.doc-tabs { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.doc-tabs a { display: inline-flex; height: 40px; align-items: center; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); transition: color .2s, border-color .2s, background .2s; }
.doc-tabs a:hover { color: #fff; border-color: var(--line-2); }
.doc-tabs a[aria-current="page"] { color: #000; background: #fff; border-color: #fff; }

.doc-body { display: grid; grid-template-columns: 240px minmax(0, 46rem); gap: clamp(32px, 6vw, 96px); padding-block: clamp(40px, 6vw, 80px) clamp(80px, 10vw, 140px); }
.toc { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; font-size: 14px; max-height: calc(100svh - var(--nav-h) - 64px); overflow: auto; }
.toc p { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); color: var(--muted); line-height: 1.35; transition: color .2s, border-color .2s; }
.toc a:hover { color: #fff; }
.toc a.is-here { color: #fff; border-color: var(--accent); }
.doc-body.no-toc { grid-template-columns: minmax(0, 46rem); }
@media (max-width: 960px) { .doc-body { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }

.prose { font-size: 18px; line-height: 1.72; color: rgba(255, 255, 255, .84); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2.4em; font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; color: #fff; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; font-size: 20px; font-weight: 800; color: #fff; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose strong { color: #fff; font-weight: 600; }
.prose a { color: #fff; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { padding-left: .3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose code { font-size: .9em; background: var(--bg-3); padding: .1em .35em; border-radius: 6px; }
.prose blockquote { margin: 0; padding-left: 1em; border-left: 3px solid var(--accent); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose .qa { padding: 22px 24px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.prose .qa strong:first-child { display: block; font-size: 19px; margin-bottom: 6px; letter-spacing: -.01em; }
.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 28px; border-radius: 20px;
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 22%, var(--bg-2)), var(--bg-2)); border: 1px solid var(--line);
}
.contact-card p { font-size: 15px; color: var(--muted); }
.contact-card a.mail { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; color: #fff; text-decoration: none; }
.placeholder { padding: 28px; border-radius: 18px; border: 1px dashed var(--line-2); color: var(--muted); }

.hub { margin-top: 8px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; padding: 0; }
.hub li { --c: #fff; padding: 24px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; }
.hub img { width: 64px; height: 64px; border-radius: 15px; grid-row: span 2; }
.hub h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.hub h2 a:hover { color: var(--c); }
.hub ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
.hub ul a { color: var(--muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.hub ul a:hover { color: #fff; text-decoration-color: var(--c); }
@media (max-width: 760px) { .hub { grid-template-columns: 1fr; } }

.notice-fr { margin-top: 3.2em; padding-top: 2.6em; border-top: 1px solid var(--line); }
.lang-switch { margin-top: 18px; font-size: 15px; font-weight: 600; }
.lang-switch a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.lang-switch a:hover { color: #fff; }
.tbd { color: var(--accent); }

/* ---------- 404 ---------- */
.lost { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) var(--gutter) 60px; overflow: hidden; isolation: isolate; }
.lost-art { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.lost-art img { width: 100%; height: 100%; object-fit: cover; }
.lost::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0, 0, 0, .7), rgba(0, 0, 0, .82)); }
.lost h1 { font-size: clamp(110px, 22vw, 300px); font-weight: 800; letter-spacing: -.06em; line-height: .85; }
.lost p { margin-top: 18px; font-size: clamp(20px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.02em; }
.lost .actions { justify-content: center; }
@media (max-width: 720px) { .lost-art { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px) 40px; background: var(--bg); position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px 32px; }
.footer-about p { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer h2 { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.footer ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.footer ul a { font-size: 15px; color: var(--muted); transition: color .2s; overflow-wrap: anywhere; }
.footer ul a:hover { color: #fff; }
.footer-base { margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: var(--dim); }
.footer-base p { max-width: 80ch; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .game .media { transform: none; }
}
