/* AGE Zero site styles
   Night ink #121633, cloud #EEF0F8, gold #F3B33D for focus and progress.
   Syne for headings, Manrope for text. */
:root {
  --ink: #121633;
  --ink-2: #1C2050;
  --ink-soft: #3E4366;
  --muted: #5A5F80;
  --on-dark: #C9CCE6;
  --on-dark-soft: #9EA3C9;
  --cloud: #EEF0F8;
  --line: #DCE0EE;
  --paper: #FFFFFF;
  --gold: #F3B33D;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cloud); color: var(--ink); font: 400 18px/1.6 var(--text); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 64px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; transition: background-color .2s ease, color .2s ease, border-color .2s ease; white-space: nowrap; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gold); }
.btn-line { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-line:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2F63; }
.btn-line-dark { color: var(--ink); border-color: var(--line); }
.btn-line-dark:hover { border-color: var(--ink); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.text-link { font-weight: 700; }

/* ---------- header ---------- */
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 20; color: #fff; }
.topbar-inner { display: flex; align-items: center; gap: 32px; padding: 28px 0; }
.brand img { height: 28px; width: auto; }
.navlinks { display: flex; gap: 8px; margin-left: auto; }
.navlinks a { color: #fff; text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.navlinks a:hover { background: rgba(255,255,255,.1); }
.navlinks a[aria-current="page"] { background: rgba(255,255,255,.14); }

/* ---------- home hero: an atom. The studio logo is the nucleus, the games are electrons ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.hero-row { position: relative; display: flex; align-items: center; gap: 40px; min-height: 930px; padding: 110px 0 60px; }
.hero-intro { position: relative; z-index: 3; flex: 0 0 440px; min-width: 0; }
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img { width: 420px; max-width: 100%; }
.hero-lede { margin: 32px 0 34px; max-width: 24em; font-size: 20px; line-height: 1.55; color: var(--on-dark); }
.atom-col { position: relative; flex: 1 1 0; min-width: 0; height: 760px; display: grid; place-items: center; container-type: size; }
/* the warm glow and blue haze sit behind the atom and fade out toward the edges */
.atom-glow { position: absolute; left: 50%; top: 50%; width: 1700px; height: 1700px; margin: -850px 0 0 -850px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(243,179,61,.28) 0, rgba(243,179,61,.08) 4.5%, rgba(243,179,61,0) 10%), radial-gradient(circle, #3A3F9E 0%, #2A2E7A 9%, #1D2158 19%, #151842 30%, rgba(18,22,51,0) 48%); }
/* star trails: three rings turning at their own slow speed */
.hero-sky { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; transition: opacity .2s linear; }
.sky-ring { position: absolute; left: -1200px; top: -1200px; width: 2400px; height: 2400px; max-width: none; animation: spin var(--dur) linear infinite; }
.trail-full { fill: none; stroke: #fff; stroke-opacity: .10; stroke-width: 1.3; stroke-linecap: round; }
.trail-mid { fill: none; stroke: #fff; stroke-opacity: .22; stroke-width: 1.5; stroke-linecap: round; }
.trail-tip { fill: none; stroke: #FFE7B0; stroke-opacity: .55; stroke-width: 1.8; stroke-linecap: round; }
.trail-head { fill: #fff; fill-opacity: .9; }
.scroll-sky { position: absolute; z-index: 0; pointer-events: none; max-width: none; }
.scroll-sky .trail-full { stroke-opacity: .08; stroke-width: 1.4; }
.scroll-sky .trail-mid { stroke-opacity: .18; stroke-width: 1.6; }
.scroll-sky .trail-tip { stroke-opacity: .45; stroke-width: 2; }
.scroll-sky .trail-head { fill-opacity: .85; }
/* --u: one design pixel, scaled so the whole atom fits its column */
.atom { --u: .76px; --u: min(1px, calc(96cqmin / var(--span))); position: relative; z-index: 2; width: 0; height: 0; transition: opacity .2s linear; }
.orbit-ring { position: absolute; left: calc(var(--r) * var(--u) * -1); top: calc(var(--r) * var(--u) * -1); width: calc(var(--r) * var(--u) * 2); height: calc(var(--r) * var(--u) * 2); border-radius: 50%; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 40px rgba(120,130,255,.06) inset; pointer-events: none; }
.orbit-ring:nth-of-type(2) { border-style: dashed; border-color: rgba(255,255,255,.12); }
.nucleus { position: absolute; z-index: 3; display: block; left: calc(95 * var(--u) * -1); top: calc(95 * var(--u) * -1); width: calc(190 * var(--u)); height: calc(190 * var(--u)); border-radius: 50%; transition: transform .3s var(--ease);
  box-shadow: 0 0 0 calc(10 * var(--u)) rgba(255,255,255,.06), 0 0 calc(90 * var(--u)) rgba(243,179,61,.35), 0 30px 60px -20px rgba(0,0,0,.7);
  animation: nucleus-glow 5s ease-in-out infinite; }
.nucleus img { width: 100%; height: 100%; max-width: none; border-radius: 50%; }
.nucleus:hover, .nucleus:focus-visible { transform: scale(1.06); }
.nucleus:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
@keyframes nucleus-glow { 50% { box-shadow: 0 0 0 calc(14 * var(--u)) rgba(255,255,255,.08), 0 0 calc(130 * var(--u)) rgba(243,179,61,.5), 0 30px 60px -20px rgba(0,0,0,.7); } }
.electrons { position: absolute; left: 0; top: 0; z-index: 2; }
.shell { position: absolute; left: 0; top: 0; width: 0; height: 0; animation: spin var(--dur) linear infinite; }
.electron { position: absolute; left: 0; top: 0; width: 0; height: 0; transform: rotate(var(--a)) translate(calc(var(--r) * var(--u))) rotate(calc(var(--a) * -1)); }
/* the link turns backwards at the shell's speed, so the cover always stays upright */
.electron-link { position: absolute; left: calc(48 * var(--u) * -1); top: calc(48 * var(--u) * -1); width: calc(96 * var(--u)); height: calc(96 * var(--u)); display: block; text-decoration: none; color: #fff; border-radius: calc(22 * var(--u)); animation: spin var(--dur) linear infinite reverse; }
.electron-tile { display: block; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; background: var(--ink-2); box-shadow: 0 14px 30px -12px rgba(0,0,0,.75); transition: transform .3s var(--ease), box-shadow .3s ease; }
.electron-tile img { width: 100%; height: 100%; object-fit: cover; }
.electron-label { position: absolute; left: 50%; top: 100%; margin-top: 12px; transform: translate(-50%, -4px); white-space: nowrap; font-weight: 700; font-size: 14px; background: #fff; color: var(--ink); padding: 5px 12px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.electron:has(.electron-link:hover), .electron:has(.electron-link:focus-visible) { z-index: 5; }
.electron-link:hover .electron-tile, .electron-link:focus-visible .electron-tile { transform: scale(1.45); box-shadow: 0 0 0 3px var(--gold), 0 0 40px rgba(243,179,61,.55), 0 20px 40px -14px rgba(0,0,0,.8); }
.electron-link:hover .electron-label, .electron-link:focus-visible .electron-label { opacity: 1; transform: translate(-50%, calc(48 * var(--u) * .45)); }
.electron-link:focus-visible { outline: none; }
/* hovering any electron freezes the whole atom; it starts again when the pointer leaves */
.atom:has(.electron-link:hover) .shell, .atom:has(.electron-link:hover) .electron-link,
.atom:has(.electron-link:focus-visible) .shell, .atom:has(.electron-link:focus-visible) .electron-link { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.atom-caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; font-size: 13px; letter-spacing: .02em; color: rgba(201,204,230,.55); }

/* ---------- featured: pinned screen, text scrolls past ---------- */
.featured { position: relative; overflow: clip; color: #fff; padding: 40px 0 300px;
  background: radial-gradient(ellipse 70% 40% at 70% 30%, #1B1F55 0%, rgba(18,22,51,0) 70%), radial-gradient(ellipse 60% 35% at 20% 75%, #1A1D4F 0%, rgba(18,22,51,0) 70%), var(--ink); }
.featured-sky { left: calc(50% + 240px); top: 45%; margin: -2400px 0 0 -2400px; }
.featured-inner { position: relative; z-index: 1; display: flex; gap: 56px; align-items: flex-start; }
.stage { position: sticky; top: var(--stage-top, calc(50vh - 210px)); flex: 1.7 1 0; min-width: 0; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; background: var(--ink-2); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.stage-layer { position: absolute; inset: 0; opacity: 0; transform: scale(.97); transition: opacity .6s ease, transform .9s var(--ease); }
.stage-layer.is-active { opacity: 1; transform: none; }
.stage-layer.is-past { transform: scale(1.05); }
.stage-layer > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,22,51,0) 45%, rgba(18,22,51,.78) 100%); }
.stage-logo { position: absolute; left: 32px; bottom: 52px; width: auto; max-width: 46%; max-height: 34%; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)); }
.glow { filter: drop-shadow(0 0 2px rgba(255,255,255,.9)) drop-shadow(0 0 14px rgba(255,255,255,.55)) !important; }
.stage-bars { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; gap: 8px; z-index: 2; }
.stage-bars span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.28); overflow: hidden; }
.stage-bars i { display: block; height: 100%; width: 0; background: #fff; }
.stage-copy { flex: 1 1 0; min-width: 0; }
.feat { height: 640px; display: flex; align-items: center; }
.feat-inner { transition: opacity .4s ease; }
.feat-label { margin: 0 0 14px; font-weight: 700; font-size: 15px; color: var(--gold); }
.feat h2 { font-size: clamp(40px, 4.4vw, 60px); margin: 0; }
.feat-art { display: none; }
.feat-blurb { margin: 20px 0 0; font-size: 19px; color: var(--on-dark); max-width: 26em; }
.feat-platforms { margin: 14px 0 28px; font-size: 15px; color: var(--on-dark-soft); }

/* ---------- library tiles ---------- */
.library { position: relative; background: var(--cloud); border-radius: 40px 40px 0 0; margin-top: -40px; padding: 120px 0 96px; }
.library--page { margin-top: -40px; padding-top: 88px; }
.library--moon { z-index: 2; border-radius: 0; margin-top: -1px; padding-top: 140px; overflow-x: clip; overflow-y: visible; }
.library--moon > .wrap { position: relative; z-index: 1; }
.moon { position: absolute; left: -30%; right: -30%; top: -230px; height: 520px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; overflow: hidden; pointer-events: none; transform: translateY(var(--moon-y, 0px));
  box-shadow: 0 -24px 90px rgba(196,206,255,.30), 0 -4px 24px rgba(255,255,255,.18);
  background: radial-gradient(ellipse 9% 22% at 34% 26%, rgba(150,158,196,.32), rgba(150,158,196,0) 70%), radial-gradient(ellipse 13% 26% at 58% 20%, rgba(150,158,196,.26), rgba(150,158,196,0) 72%),
    radial-gradient(ellipse 8% 18% at 71% 34%, rgba(150,158,196,.24), rgba(150,158,196,0) 70%), radial-gradient(ellipse 15% 24% at 44% 46%, rgba(160,168,204,.20), rgba(160,168,204,0) 72%),
    linear-gradient(180deg, #E3E7F4 0%, var(--cloud) 60%); }
.crater { position: absolute; border-radius: 50%; background: radial-gradient(circle at 42% 38%, rgba(70,78,120,.16), rgba(70,78,120,.07) 55%, rgba(70,78,120,0) 72%);
  box-shadow: inset var(--d) var(--d) var(--b) rgba(60,66,110,.20), inset calc(var(--h) * -1) calc(var(--h) * -1) var(--hb) rgba(255,255,255,.85); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(40px, 5vw, 64px); margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 24px; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile a { display: block; text-decoration: none; color: var(--ink); }
.tile-art { display: block; position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: var(--accent); box-shadow: 0 24px 40px -24px rgba(18,22,51,.55); transition: transform .35s var(--ease); }
.tile a:hover .tile-art { transform: translateY(-8px); }
.tile-art img { width: 100%; height: 100%; object-fit: cover; }
.tile-fallback { position: absolute; inset: auto 16px 16px; font-family: var(--display); font-weight: 800; font-size: 24px; color: #fff; }
.tile-title { display: block; margin: 14px 0 2px; font-weight: 700; font-size: 17px; line-height: 1.3; }
.tile-meta { display: block; font-size: 14px; color: var(--muted); }

/* ---------- studio statement ---------- */
.studio { padding: 40px 0 120px; }
.studio-inner { max-width: 1100px; }
.eyebrow { font-family: var(--text); font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--muted); margin: 0 0 24px; }
.statement { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4vw, 54px); line-height: 1.12; letter-spacing: -0.015em; }
.statement.is-live span { color: #C3C8DE; transition: color .25s linear; }
.statement.is-live span.lit { color: var(--ink); }
.stats { margin: 72px 0 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid #D5D9EA; padding-top: 32px; }
.stats dt { color: var(--muted); font-weight: 600; }
.stats dd { margin: 6px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5vw, 64px); line-height: 1; }

/* ---------- callout ---------- */
.callout { margin-bottom: 120px; border-radius: 32px; background: var(--paper); padding: 56px; display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; justify-content: space-between; box-shadow: 0 30px 60px -40px rgba(18,22,51,.35); }
.callout h2 { font-size: 44px; margin-bottom: 12px; }
.callout p { margin: 0; color: var(--muted); max-width: 36em; }
.callout a:not(.btn) { color: var(--ink); font-weight: 700; }

/* ---------- inner page heads ---------- */
.page-head { background: var(--ink); color: #fff; padding: 160px 0 112px; }
.page-head h1 { font-size: clamp(48px, 7vw, 96px); margin-bottom: 20px; }
.page-head p { max-width: 40em; font-size: 20px; color: var(--on-dark); margin: 0; }
.page-head a { color: #fff; }
.page-head--tall { min-height: 70vh; }

/* ---------- game page ---------- */
.game-hero { position: relative; height: 860px; background: var(--accent); color: #fff; overflow: hidden; display: flex; align-items: flex-end; }
.game-hero-art { position: absolute; inset: 0 0 -15% 0; will-change: transform; }
.game-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.game-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,22,51,.72) 0%, rgba(18,22,51,.35) 38%, rgba(18,22,51,0) 62%), linear-gradient(180deg, rgba(18,22,51,.55) 0%, rgba(18,22,51,0) 28%, rgba(18,22,51,0) 48%, rgba(18,22,51,.94) 100%); }
.game-hero-copy { position: relative; z-index: 2; padding-bottom: 72px; }
.back { display: inline-block; color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; margin-bottom: 28px; }
.game-logo { margin: 0; line-height: 0; }
.game-logo img { width: auto; max-width: min(460px, 80vw); max-height: 240px; filter: drop-shadow(0 12px 28px rgba(0,0,0,.5)); }
.game-title { font-size: clamp(44px, 6vw, 80px); margin: 0; }
.game-lede { margin: 24px 0 30px; max-width: 32em; font-size: 21px; color: #E3E5F4; }
/* banner already contains the logo: show it whole, put the copy underneath */
.game-hero--baked { height: auto; display: block; background: var(--ink); }
.game-hero--baked::after { display: none; }
.game-hero--baked .game-hero-art { position: relative; inset: auto; width: 100%; aspect-ratio: 2 / 1; max-height: 78vh; overflow: hidden; }
.game-hero--baked .game-hero-art::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(180deg, rgba(18,22,51,0), var(--ink)); }
.game-hero--baked .game-hero-copy { padding-top: 8px; }

.gallery { position: relative; overflow: clip; padding: 24px 0 136px;
  background: radial-gradient(ellipse 60% 45% at 75% 40%, #1B1F55 0%, rgba(18,22,51,0) 70%), radial-gradient(ellipse 50% 40% at 15% 80%, #1A1D4F 0%, rgba(18,22,51,0) 70%), var(--ink); }
.gallery-sky { left: 72%; top: 55%; margin: -1800px 0 0 -1800px; }
.gallery > .wrap { position: relative; z-index: 1; }
.gallery-main { aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #0B0E24; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.gallery-main img.is-swapping { opacity: .2; }
.gallery-bar { height: 4px; margin-top: 14px; border-radius: 4px; background: rgba(255,255,255,.16); overflow: hidden; }
.gallery-bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.gallery-bar i.run { animation: gallery-fill var(--shot-time, 5s) linear forwards; }
.gallery:has(.gallery-main:hover) .gallery-bar i, .gallery:has(.gallery-thumbs:hover) .gallery-bar i, .gallery:has(button:focus-visible) .gallery-bar i, .gallery.is-offscreen .gallery-bar i { animation-play-state: paused; }
@keyframes gallery-fill { to { width: 100%; } }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.gallery-thumbs button { padding: 0; border: 3px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: #0B0E24; aspect-ratio: 16 / 9; opacity: .6; transition: opacity .2s ease, transform .2s ease; }
.gallery-thumbs button:hover { opacity: .9; transform: translateY(-3px); }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--gold); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.game-body { position: relative; background: var(--cloud); border-radius: 40px 40px 0 0; margin-top: -40px; padding: 112px 0 72px; }
.game-cols { display: flex; gap: 72px; align-items: flex-start; }
.prose { flex: 1 1 0; min-width: 0; max-width: 720px; }
.prose > p:first-child { font-size: 21px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose > p:first-child { color: var(--ink); }
.prose h2 { font-size: 36px; margin-top: 1.4em; }
.prose a { color: var(--ink); font-weight: 600; }
.features { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.features li { background: var(--paper); border-radius: 20px; padding: 20px 22px; color: var(--ink); font-weight: 600; box-shadow: 0 20px 40px -32px rgba(18,22,51,.5); }
.game-aside { flex: 0 0 360px; position: sticky; top: 40px; display: flex; flex-direction: column; gap: 20px; }
.game-cover { border-radius: 24px; box-shadow: 0 30px 60px -36px rgba(18,22,51,.7); }
.facts { margin: 0; background: var(--paper); border-radius: 24px; padding: 8px 26px; box-shadow: 0 20px 40px -32px rgba(18,22,51,.5); }
.facts div { padding: 14px 0; border-bottom: 1px solid #E2E5F1; display: flex; justify-content: space-between; gap: 16px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.presskit { background: var(--ink); color: #fff; border-radius: 24px; padding: 26px; }
.presskit h2 { font-size: 24px; margin-bottom: 6px; }
.presskit p { font-size: 16px; color: var(--on-dark); margin-bottom: 18px; }
.presskit a:not(.btn) { color: #fff; }
.more { padding: 48px 0 120px; }
.more h2 { font-size: 44px; margin-bottom: 32px; }

/* ---------- press + about ---------- */
.card { background: var(--paper); border-radius: 28px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 20px 40px -32px rgba(18,22,51,.5); }
.card h2 { font-size: 32px; }
.card h3 { font-size: 22px; margin-top: 28px; }
.card p { color: var(--ink-soft); }
.card .facts { box-shadow: none; padding: 0; border-radius: 0; background: none; margin-bottom: 8px; }
.card--dark { background: var(--ink); color: #fff; }
.card--dark p, .card--dark span { color: var(--on-dark); }
.press-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; margin-top: -56px; position: relative; align-items: start; }
.press-icon { width: 96px; height: 96px; margin-bottom: 20px; }
.downloads { list-style: none; margin: 0; padding: 0; }
.downloads li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 2px; }
.downloads li:last-child { border-bottom: 0; }
.downloads a { color: #fff; font-weight: 700; }
.downloads span { font-size: 15px; }
.press-games { padding: 88px 0 120px; }
.press-games > h2 { font-size: 44px; margin-bottom: 28px; }
.kits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kit { display: flex; align-items: center; gap: 18px; background: var(--paper); border-radius: 20px; padding: 14px 18px 14px 14px; box-shadow: 0 20px 40px -32px rgba(18,22,51,.5); }
.kit img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; }
.kit div { flex: 1; min-width: 0; }
.kit h3 { font-family: var(--text); font-size: 17px; font-weight: 700; letter-spacing: 0; margin: 0 0 2px; }
.kit h3 a { text-decoration: none; }
.kit h3 a:hover { text-decoration: underline; }
.kit p { margin: 0; font-size: 14px; color: var(--muted); }
.about { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; padding: 88px 0 120px; align-items: start; }
.about .prose h2:first-child { margin-top: 0; }
.pill-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-links a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); text-decoration: none; font-weight: 700; }
.pill-links a:hover { border-color: var(--ink); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding: 64px 0 56px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-end; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-icon { width: 72px; height: 72px; }
.footer-brand img:not(.footer-icon) { height: 34px; width: auto; margin-bottom: 12px; }
.footer-brand p { margin: 0; }
.footer a { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; font-weight: 600; }
.copyright { flex-basis: 100%; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: var(--on-dark-soft); }

/* ---------- scroll dial (back to top) ---------- */
.dial { position: fixed; right: 28px; bottom: 28px; z-index: 50; width: 64px; height: 64px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--ink); box-shadow: 0 10px 30px -10px rgba(18,22,51,.6); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.dial.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.dial svg { display: block; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-row { flex-direction: column; gap: 8px; min-height: 0; padding: 104px 0 32px; }
  .hero-intro { flex: none; width: 100%; text-align: center; }
  .hero-logo img { width: min(340px, 80vw); margin: 0 auto; }
  .hero-lede { margin: 22px auto 26px; font-size: 18px; }
  .hero-intro .actions { justify-content: center; }
  .atom-col { flex: none; width: 100%; height: min(calc(100vw - 24px), 600px); }
  .featured { padding-bottom: 220px; }
  .moon { top: -150px; height: 360px; left: -60%; right: -60%; }
  .wrap { width: min(var(--wrap), 100% - 40px); }
  .featured { padding-bottom: 72px; }
  .featured-inner { display: block; }
  .stage { display: none; }
  .feat { height: auto; padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .feat:last-child { border-bottom: 0; }
  .feat-inner { opacity: 1 !important; transform: none !important; }
  .feat-art { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; margin-top: 20px; }
  .tiles, .tiles--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; }
  .stats { grid-template-columns: 1fr; gap: 20px; }
  .game-hero { height: 640px; }
  .game-cols { flex-direction: column; gap: 40px; }
  .game-aside { position: static; width: 100%; flex: none; }
  .game-cover { max-width: 320px; }
  .press-grid, .about { grid-template-columns: 1fr; }
  .kits { grid-template-columns: 1fr; }
  .callout { padding: 36px 28px; }
  .callout h2 { font-size: 34px; }
}
@media (max-width: 600px) {
  .electron-label { font-size: 12px; }
  body { font-size: 17px; }
  .topbar-inner { padding: 20px 0; gap: 16px; }
  .brand img { height: 22px; }
  .navlinks { gap: 0; }
  .navlinks a { padding: 6px 10px; font-size: 15px; }
  .tiles, .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-hero { height: 560px; }
  .game-lede { font-size: 18px; }
  .page-head { padding: 120px 0 88px; }
  .library { padding-top: 88px; }
  .btn { white-space: normal; text-align: center; }
  .dial { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .dial svg { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .shell, .electron-link, .nucleus, .sky-ring { animation: none !important; }
  .gallery-bar { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
