@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(/games-assets/fonts/inter.3100e775e8.woff2) format("woff2-variations"),url(/games-assets/fonts/inter.3100e775e8.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:"Space Grotesk Variable";font-style:normal;font-display:swap;font-weight:300 700;src:url(/games-assets/fonts/grotesk.0640890476.woff2) format("woff2-variations"),url(/games-assets/fonts/grotesk.0640890476.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:"Playfair Display Variable";font-style:normal;font-display:swap;font-weight:400 900;src:url(/games-assets/fonts/playfair.e0c764a8e9.woff2) format("woff2-variations"),url(/games-assets/fonts/playfair.e0c764a8e9.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}
/* auton.at games section — hub, game pages, press kits (static pages from games/build.mjs).
   Mobile first; every colour is a token. Game palettes are measured from the key art
   (refcolors, 2026-10-12): Splash Survivors from art/store/v002/splash-v001.png,
   Astrarium from store/feature-graphic-draft.png + gameplay screenshot 11-emerald-hour,
   Holiday Empire from the shipped logo (outline teal, cream, roof) and title painting (sand, sea). */

:root {
  color-scheme: dark;
  --font-body: "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk Variable", var(--font-body);
  --bg: #07091a;
  --bg-2: #0b0f24;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --faint: rgba(255, 255, 255, 0.6);
  --accent: #60a5fa;
  --accent-ink: #07091a;
  --focus: #22d3ee;
  --chip-bg: rgba(255, 255, 255, 0.08);
  --chip-text: rgba(255, 255, 255, 0.86);
  --icon-bg: rgba(96, 165, 250, 0.14);
  --icon-fg: #93c5fd;
  --radius: 18px;
  --gutter: 16px;
  --max: 72rem;
  --header-bg: rgba(7, 9, 26, 0.86);
}

/* Splash Survivors: sunny sea. */
[data-theme="splash"] {
  --bg: #03217b;              /* logo outline, dark blue */
  --bg-2: #073dab;            /* logo outline, vivid blue */
  --surface: rgba(181, 226, 251, 0.08);
  --surface-2: rgba(181, 226, 251, 0.14);
  --line: rgba(181, 226, 251, 0.22);
  --text: #f7fbfd;            /* foam white */
  --muted: #c7e8fb;
  --faint: #a9d6f3;
  --accent: #fbb51f;          /* star amber */
  --accent-ink: #03217b;
  --focus: #fbb51f;
  --chip-bg: rgba(41, 172, 252, 0.2);
  --chip-text: #f7fbfd;
  --icon-bg: #f93c20;         /* Tuggy's hull */
  --icon-fg: #ffffff;
  --header-bg: rgba(3, 33, 123, 0.9);
  --sky: #29acfc;
}

/* Astrarium: brass and pearls on a midnight sky. */
[data-theme="astrarium"] {
  --font-display: "Playfair Display Variable", Georgia, "Times New Roman", serif;
  --bg: #06101b;              /* midnight */
  --bg-2: #0e1f31;
  --surface: rgba(231, 189, 122, 0.05);
  --surface-2: rgba(231, 189, 122, 0.1);
  --line: rgba(196, 145, 84, 0.34);
  --text: #f7f4ef;            /* pearl white */
  --muted: #d9ccbb;
  --faint: #c4b5a2;
  --accent: #e7bd7a;          /* light brass */
  --accent-ink: #06101b;
  --focus: #73bae8;           /* ship core */
  --chip-bg: rgba(196, 145, 84, 0.16);
  --chip-text: #faeccc;       /* pearl */
  --icon-bg: transparent;
  --icon-fg: #e7bd7a;
  --header-bg: rgba(6, 16, 27, 0.88);
  --pearl: #faeccc;
  --pink: #f97197;
}

/* Holiday Empire: logo teal and cream, sand and sea. */
[data-theme="holiday"] {
  --bg: #0a3b44;              /* logo outline, dark */
  --bg-2: #0f545f;            /* logo outline */
  --surface: rgba(158, 221, 232, 0.07);
  --surface-2: rgba(158, 221, 232, 0.13);
  --line: rgba(158, 221, 232, 0.24);
  --text: #faf6e3;            /* logo cream */
  --muted: #d3e8e2;
  --faint: #aecfca;
  --accent: #f7dd9d;          /* sand */
  --accent-ink: #0a3b44;
  --focus: #68cfe3;           /* shallow sea */
  --chip-bg: rgba(104, 207, 227, 0.16);
  --chip-text: #faf6e3;
  --icon-bg: #d86542;         /* the logo hotel's roof */
  --icon-fg: #ffffff;
  --header-bg: rgba(10, 59, 68, 0.9);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--text); color: var(--bg); padding: .6rem 1.1rem; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 2.25rem; }
.section-title {
  font-size: clamp(1.5rem, 4.5vw, 2.1rem); font-weight: 700; margin-bottom: 1.25rem;
}
[data-theme="astrarium"] .section-title,
[data-theme="astrarium"] .eyebrow {
  font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(1.15rem, 3.4vw, 1.5rem);
}
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }

/* ── Header ─────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; }
.brand { font-family: "Space Grotesk Variable", var(--font-body); font-weight: 600; font-size: 1.15rem; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.brand b { color: #60a5fa; font-weight: 600; }
.brand span { opacity: .72; }
.topnav { display: flex; align-items: center; gap: .25rem; }
.topnav a {
  text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--muted);
  padding: .55rem .7rem; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center;
}
.topnav a:hover { color: var(--text); background: var(--surface); }
.topnav a[aria-current="page"] { color: var(--text); }
.topnav .lang { border: 1px solid var(--line); font-family: ui-monospace, "JetBrains Mono", monospace; font-size: .78rem; letter-spacing: .08em; padding-inline: .8rem; margin-left: .25rem; }

/* ── Buttons, chips ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  min-height: 48px; padding: .7rem 1.3rem; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); font-weight: 600; }
.btn.ghost:hover { background: var(--surface); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.chips li {
  background: var(--chip-bg); color: var(--chip-text); border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; white-space: nowrap;
}
.links-inline { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.links-inline a { color: var(--muted); text-underline-offset: 3px; font-weight: 500; }
.links-inline a:hover { color: var(--text); }

/* ── Google Play badge ─────────────────────────────────────────────── */
.store { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem; }
.badge { display: inline-block; border-radius: 10px; line-height: 0; }
.badge img { height: 52px; width: auto; }
.soon {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem;
  color: var(--accent); letter-spacing: .02em;
}
.soon::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 25%, transparent); }
/* Neutral status chip for a game in development (no store badge, no date). */
.stage {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem;
  color: var(--text); background: var(--surface-2); border: 1px solid var(--line);
  padding: .35rem .85rem; border-radius: 999px; white-space: nowrap;
}
.stage::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; border: 2px solid currentColor; opacity: .8; }

/* ── Game hero ─────────────────────────────────────────────────────── */
.hero-art { position: relative; background: var(--bg-2); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
[data-theme="splash"] .hero-art { aspect-ratio: 4 / 3; }
[data-theme="splash"] .hero-art img { object-position: 50% 10%; } /* short windows crop mostly the bottom; the logo keeps its top */
[data-theme="astrarium"] .hero-art {
  aspect-ratio: 1920 / 1080; max-width: var(--hero-max, 1024px); margin-inline: auto;
  background: transparent;
}
[data-theme="holiday"] .hero-art { aspect-ratio: 4 / 3; }
[data-theme="holiday"] .hero-art img { object-position: 0% 50%; } /* keeps the logo on narrow screens */
[data-theme="splash"] .hero-wrap { background: linear-gradient(180deg, var(--bg-2), var(--bg) 85%); }
[data-theme="holiday"] .hero-wrap { background: linear-gradient(180deg, var(--bg-2), var(--bg) 85%); }
[data-theme="astrarium"] .hero-wrap {
  background: radial-gradient(60% 90% at 50% 0%, rgba(115, 186, 232, .16), transparent 70%), var(--bg);
}
.hero-body { padding-block: 1.5rem 2.25rem; display: grid; gap: 1.1rem; }
.title-row { display: flex; align-items: center; gap: .9rem; }
.title-row img { width: 56px; height: 56px; border-radius: 14px; flex: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.hero-body h1 { font-size: clamp(1.9rem, 7vw, 3.2rem); font-weight: 700; }
[data-theme="astrarium"] .hero-body h1 { font-weight: 500; letter-spacing: .02em; }
.pitch { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: var(--muted); max-width: 44rem; }

/* ── Screenshot strip ──────────────────────────────────────────────── */
.strip-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.strip-nav { display: none; gap: .5rem; }
.strip-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.strip-nav button:hover:not(:disabled) { background: var(--surface-2); }
.strip-nav button:disabled { opacity: .35; cursor: default; }
.strip {
  display: flex; gap: .75rem; list-style: none; margin: 0;
  padding: .25rem var(--gutter) 1rem;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.strip li { flex: none; scroll-snap-align: start; }
.strip a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip.landscape li { width: min(84vw, 560px); }
.strip.landscape a { aspect-ratio: 16 / 9; }
.strip.portrait li { width: min(56vw, 250px); }
.strip.portrait a { aspect-ratio: 9 / 20; }
/* The strip starts at the container edge and bleeds to the right edge of the window. */
.strip { padding-inline-start: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); scroll-padding-inline-start: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }

/* ── Trailer ───────────────────────────────────────────────────────── */
.trailer video { width: 100%; border-radius: 16px; border: 1px solid var(--line); background: #000; }
.trailer.portrait video { aspect-ratio: 9 / 20; max-width: 340px; margin-inline: auto; }
.trailer.landscape video { aspect-ratio: 16 / 9; max-width: 960px; }

/* ── Features ──────────────────────────────────────────────────────── */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.clips { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.clips figure { margin: 0; display: grid; gap: .35rem; }
.clips video { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); }
/* Landscape loops swipe on phones (like the screenshots) and sit three in a row from 640 px. */
.clips.landscape { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-bottom: 1.25rem; padding-bottom: .5rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.clips.landscape li { flex: 0 0 78%; scroll-snap-align: start; }
@media (min-width: 640px) {
  .clips.landscape { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
}
.clips figcaption { font-size: .82rem; font-weight: 600; color: var(--muted); text-align: center; }
.features li {
  display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; align-items: start;
  padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.ficon {
  grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--icon-bg); color: var(--icon-fg);
}
[data-theme="astrarium"] .ficon { border: 1px solid var(--line); border-radius: 50%; }
.ficon svg { width: 22px; height: 22px; }
.features h3 { font-size: 1.08rem; font-weight: 700; font-family: var(--font-body); letter-spacing: 0; }
.features p { color: var(--muted); font-size: .96rem; }
.play-grid { display: grid; gap: 2rem; }
.split { display: grid; gap: 2.5rem; }

/* ── Facts ─────────────────────────────────────────────────────────── */
.facts { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 0 1.25rem; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--faint); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 500; }

/* ── Newsletter ────────────────────────────────────────────────────── */
.nl {
  border-radius: var(--radius); padding: 1.4rem; background: var(--surface-2); border: 1px solid var(--line);
  display: grid; gap: 1rem;
}
.nl h2 { font-size: clamp(1.3rem, 4vw, 1.7rem); margin-bottom: .4rem; }
.nl p { color: var(--muted); }
.nl-fields { display: grid; gap: .75rem; }
.nl label { display: grid; gap: .3rem; font-size: .88rem; font-weight: 600; color: var(--muted); }
.nl input, .nl select {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; min-height: 48px; padding: .6rem .85rem; width: 100%;
}
.nl select { appearance: auto; }
.nl input:focus-visible, .nl select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.nl .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nl small { color: var(--faint); font-size: .84rem; }
.nl small a { color: inherit; }
.nl-msg { min-height: 1.5em; font-weight: 600; }
.nl-msg[data-state="ok"] { color: var(--accent); }
.nl-msg[data-state="error"] { color: #ffb4a8; }

/* ── Cards (hub, "also from auton", press index) ───────────────────── */
.cards { display: grid; gap: 1.25rem; }
.card {
  position: relative; display: grid; border-radius: 22px; overflow: hidden; text-decoration: none;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.card .art { aspect-ratio: 2 / 1; overflow: hidden; background: #000; }
.card .art img { width: 100%; height: 100%; object-fit: cover; }
/* Flex column: in a row of equal-height cards the extra height goes above the links, not into the chips. */
.card .body { display: flex; flex-direction: column; gap: .7rem; padding: 1.1rem 1.2rem 1.3rem; }
.card .body > .links-inline { margin-top: auto; align-items: center; }
.card h2, .card h3 { font-size: clamp(1.35rem, 4.5vw, 1.8rem); }
.card p { color: var(--muted); }
.card .more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--accent); }
.card .more svg { width: 1.1em; height: 1.1em; }
.card .stretched::after { content: ""; position: absolute; inset: 0; }
.card.theme-splash {
  --bg-2: #073dab; --text: #f7fbfd; --muted: #c7e8fb; --accent: #fbb51f; --line: rgba(181, 226, 251, .26);
  --chip-bg: rgba(41, 172, 252, .22); --chip-text: #f7fbfd;
  background: linear-gradient(180deg, #073dab, #03217b);
}
.card.theme-astrarium {
  --bg-2: #0e1f31; --text: #f7f4ef; --muted: #d9ccbb; --accent: #e7bd7a; --line: rgba(196, 145, 84, .38);
  --chip-bg: rgba(196, 145, 84, .16); --chip-text: #faeccc;
  background: linear-gradient(180deg, #0e1f31, #06101b);
}
.card.theme-holiday {
  --bg-2: #0f545f; --text: #faf6e3; --muted: #d3e8e2; --accent: #f7dd9d; --line: rgba(158, 221, 232, .28);
  --chip-bg: rgba(104, 207, 227, .16); --chip-text: #faf6e3; --surface-2: rgba(158, 221, 232, .13);
  background: linear-gradient(180deg, #0f545f, #0a3b44);
}
.card.theme-holiday h2, .card.theme-holiday h3,
.card.theme-splash h2, .card.theme-splash h3 { font-family: "Space Grotesk Variable", system-ui, sans-serif; font-weight: 700; letter-spacing: -.01em; }
.card.theme-astrarium h2, .card.theme-astrarium h3 { font-family: "Playfair Display Variable", Georgia, serif; font-weight: 500; letter-spacing: .02em; }
.card .soon, .card .stage { font-size: .82rem; }

.hub-head { padding-block: 2.5rem 1.5rem; display: grid; gap: .75rem; }
.hub-head h1 { font-size: clamp(2.2rem, 8vw, 3.6rem); font-weight: 700; }
.hub-head p { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
html { background: var(--bg); }
body[data-page="hub"], body[data-page="press"] {
  background: radial-gradient(70% 40% at 50% 0%, rgba(59, 130, 246, .16), transparent 70%) no-repeat, var(--bg);
}

/* ── Press kit ─────────────────────────────────────────────────────── */
.press-head { padding-block: 2.25rem 1rem; display: grid; gap: 1rem; }
.press-head h1 { font-size: clamp(1.9rem, 7vw, 3rem); }
.press-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.prose { display: grid; gap: .9rem; max-width: 46rem; color: var(--muted); }
.prose strong { color: var(--text); }
.bullets { margin: 0; padding-left: 1.2rem; color: var(--muted); display: grid; gap: .35rem; max-width: 46rem; }
.de-lines { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: .95rem; color: var(--muted); display: grid; gap: .3rem; }
.de-lines strong { color: var(--text); }
.gallery { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.gallery.portrait { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
.gallery figure { margin: 0; display: grid; gap: .4rem; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { font-size: .82rem; color: var(--faint); }
.gallery figcaption a { border: 0; display: inline; color: var(--muted); }
.gallery.art { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); align-items: start; }
.gallery.art .icon { max-width: 11rem; }
.sub-title { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; margin: 2rem 0 .9rem; letter-spacing: 0; }
.gallery.logos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); align-items: end; }
.gallery.logos figure > a { padding: 1.25rem; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; }
.gallery.logos picture { display: contents; }
.gallery.logos .dark figure > a { background: #06101b; }
.gallery.logos .light figure > a { background: #f3ede2; }
.gallery.logos .sky figure > a { background: #29acfc; }
.gallery.logos img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gallery.gifs { grid-template-columns: repeat(auto-fill, minmax(8.5rem, 10rem)); }
.note { color: var(--faint); font-size: .92rem; }
.press-video { max-width: 340px; }
.press-video.landscape { max-width: 46rem; }

/* ── Footer ────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding-block: 2.5rem; margin-top: 2rem; font-size: .92rem; color: var(--faint); }
.foot .container { display: grid; gap: 1.25rem; }
.foot nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.foot a { color: var(--muted); text-decoration: none; display: inline-block; padding-block: .3rem; }
.foot a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ── Larger screens ────────────────────────────────────────────────── */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .nl-fields { grid-template-columns: 1fr 13rem auto; align-items: end; }
  .features { grid-template-columns: 1fr 1fr; }
  .cards.two, .cards.three { grid-template-columns: 1fr 1fr; }
  .badge img { height: 56px; }
}
@media (min-width: 720px) {
  [data-theme="splash"] .hero-art { aspect-ratio: 2400 / 1088; max-height: 68vh; width: 100%; }
  [data-theme="holiday"] .hero-art { aspect-ratio: 2000 / 1088; max-height: 68vh; width: 100%; }
}
@media (min-width: 900px) {
  .section { padding-block: 3.25rem; }
  .strip-nav { display: flex; }
  .hero-body { grid-template-columns: 1fr auto; align-items: center; column-gap: 3rem; }
  .hero-body .store { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; align-items: flex-end; }
  .hero-body .chips { grid-column: 1 / -1; }
  .play-grid.portrait { grid-template-columns: 340px 1fr; align-items: start; }
  .play-grid.portrait .features { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .play-grid.portrait .features { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .features.five { grid-template-columns: repeat(6, 1fr); }
  .features.five li { grid-column: span 2; }
  .features.five li:nth-child(n + 4) { grid-column: span 3; }
  .play-grid.portrait .features.five { grid-template-columns: 1fr 1fr; }
  .play-grid.portrait .features.five li { grid-column: auto; }
  .play-grid.portrait .features.five li:last-child { grid-column: 1 / -1; }
  .foot .container { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 1200px) {
  /* The centred key art fades into the sky instead of ending on a hard edge. */
  [data-theme="astrarium"] .hero-art img {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
