/* Elie Studio - design system
   Dark fantasy + modern editorial. System fonts only (no third-party requests).
   Tokens first, then base, layout, components, pages, motion. */

:root {
  --bg: #0d0b10;
  --bg-2: #120f17;
  --surface: #17131e;
  --surface-2: #1f1927;
  --line: #2f2639;
  --text: #f0e7d6;
  --muted: #b3a995;
  --gold: #e8b85c;
  --gold-deep: #c9923f;
  --ember: #ff7a3d;
  --ember-deep: #b8461c;
  --ok: #8fc16a;
  --radius: 14px;
  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .8);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1200px 600px at 80% -10%, rgba(184, 70, 28, .14), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgba(201, 146, 63, .07), transparent 60%);
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: .2em; }
a:hover { color: #ffd88f; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: #1a1208; padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
::selection { background: var(--ember); color: #fff; }

/* placeholders: visible on purpose so nothing ships unfilled by accident */
.ph { background: rgba(255, 122, 61, .14); outline: 1px dashed var(--ember); outline-offset: 2px; padding: 0 .3em; border-radius: 3px; color: #ffc9a8; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(13, 11, 16, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.logo-mark { width: 38px; height: 38px; flex: none; }
.brand-text { font-family: var(--serif); letter-spacing: .22em; font-size: .95rem; font-weight: 400; }
.brand-text b { color: var(--gold); font-weight: 700; }
#site-nav ul { display: flex; gap: .25rem; }
#site-nav a { display: block; padding: .55rem 1rem; color: var(--muted); text-decoration: none; border-radius: 8px; font-size: .98rem; position: relative; }
#site-nav a:hover { color: var(--text); }
#site-nav a[aria-current="page"] { color: var(--gold); }
#site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .2rem; height: 2px; background: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: transform .25s, opacity .2s; }
.nav-toggle i:nth-of-type(1) { top: 15px; } .nav-toggle i:nth-of-type(2) { top: 22px; } .nav-toggle i:nth-of-type(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons, chips, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .18s, background .18s, border-color .18s, box-shadow .18s; line-height: 1.2; font-family: var(--sans); }
.btn-primary { background: linear-gradient(180deg, #f1c470, var(--gold-deep)); color: #1a1208; box-shadow: 0 8px 24px -10px rgba(232, 184, 92, .6); }
.btn-primary:hover { color: #1a1208; transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(232, 184, 92, .8); }
.btn-ghost { border-color: rgba(240, 231, 214, .35); color: var(--text); background: rgba(13, 11, 16, .35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn.is-disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; text-align: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 0; }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " \2192"; transition: margin-left .2s; }
.link-arrow:hover::after { margin-left: .3em; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.1rem; }
.chips li { font-size: .8rem; padding: .2rem .7rem; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; padding: .3rem .8rem; border-radius: 99px; background: rgba(255, 122, 61, .12); border: 1px solid rgba(255, 122, 61, .45); color: #ffb48a; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; color: var(--gold); font-weight: 700; margin: 0 0 .9rem; }

/* ---------- hero ---------- */
.hero, .game-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; }
.hero { min-height: min(92vh, 860px); padding-top: calc(var(--header-h) * 0 + 4rem); }
.game-hero { min-height: min(78vh, 700px); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -3; image-rendering: pixelated; animation: drift 38s ease-in-out infinite alternate; transform-origin: 60% 50%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 11, 16, .92) 0%, rgba(13, 11, 16, .65) 40%, rgba(13, 11, 16, .15) 75%), linear-gradient(0deg, var(--bg) 0%, rgba(13, 11, 16, 0) 38%), linear-gradient(180deg, rgba(13, 11, 16, .55) 0%, rgba(13, 11, 16, 0) 22%); }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero-inner { padding-block: 5rem 6.5rem; max-width: var(--wrap); }
.hero-inner > * { max-width: 40rem; }
.hero h1, .game-hero h1 { margin-bottom: .15em; text-shadow: 0 4px 30px rgba(0, 0, 0, .7); }
.hero h1 { letter-spacing: .02em; }
.hero-tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--gold); margin-bottom: 1.2rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #e0d6c3; line-height: 1.65; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.scroll-hint { position: absolute; left: 50%; bottom: 1.4rem; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(240, 231, 214, .5); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scrollhint 1.8s infinite; }
@keyframes scrollhint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }

/* subject sits in the right part of the banner so the copy never covers the hero character */
@media (min-width: 961px) {
  .hero-img { left: 34%; width: 66%; object-position: 50% 50%; }
  .hero-shade { background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 33%, rgba(13, 11, 16, .55) 48%, rgba(13, 11, 16, 0) 72%), linear-gradient(0deg, var(--bg) 0%, rgba(13, 11, 16, 0) 30%), linear-gradient(180deg, rgba(13, 11, 16, .5) 0%, rgba(13, 11, 16, 0) 18%); }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-dark { background: linear-gradient(180deg, var(--bg-2), #0b090e); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 2.4rem; max-width: 46rem; }
.page-head { padding-block: clamp(3.5rem, 8vw, 6rem) 1rem; background: radial-gradient(800px 300px at 20% 0%, rgba(184, 70, 28, .16), transparent 70%); }
.page-head h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 24ch; }
.page-head .lead { max-width: 44rem; }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr 1fr; align-items: start; }
.split-wide { grid-template-columns: 1.15fr .85fr; }
.about-split { grid-template-columns: minmax(260px, 340px) 1fr; }
.contact-split { grid-template-columns: 1fr 1fr; }
.prose h2 { font-size: 1.5rem; }
.h-sm { font-size: 1.35rem; margin-top: 0; }
.h-sm:not(:first-child) { margin-top: 2rem; }

.facts-strip { background: var(--surface); border-block: 1px solid var(--line); }
.facts-strip dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.facts-strip div { padding: 1.3rem 1.2rem; border-left: 1px solid var(--line); }
.facts-strip div:first-child { border-left: 0; padding-left: 0; }
.facts-strip dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.facts-strip dd { margin: .2rem 0 0; font-family: var(--serif); font-size: 1.25rem; color: var(--text); }

.pillars { display: grid; gap: 1rem; }
.pillars li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.2rem 4.2rem; position: relative; }
.pillars h3 { font-size: 1.15rem; margin-bottom: .3em; }
.pillars p { margin: 0; color: var(--muted); }
.pillar-n { position: absolute; left: 1.3rem; top: 1.25rem; font-family: var(--serif); font-size: 1.9rem; color: var(--gold-deep); line-height: 1; }

.grid { display: grid; gap: 1.1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card, .hero-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; transition: transform .25s, border-color .25s; }
.card:hover, .hero-card:hover { transform: translateY(-4px); border-color: rgba(232, 184, 92, .5); }
.card h3, .hero-card h3 { color: var(--gold); font-size: 1.2rem; }
.card p, .hero-card p { margin: 0; color: #d9cfbd; font-size: 1rem; }
.hero-card .role { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: #ffb48a; margin-bottom: .6rem; }
.heroes .hero-card h3 { color: var(--text); font-size: 1.45rem; }

/* videos */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.video-card { margin: 0; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.video-card video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.video-card figcaption { padding: 1rem 1.2rem 1.2rem; display: grid; gap: .25rem; }
.video-card figcaption strong { color: var(--gold); font-family: var(--serif); font-size: 1.15rem; }
.video-card figcaption span { color: #d9cfbd; font-size: .98rem; }
.video-card.is-feature { max-width: 960px; margin-inline: auto; box-shadow: var(--shadow); }
.person.card:hover { transform: none; border-color: var(--line); }

/* game cards */
.games-list, .game-card { display: grid; gap: 2rem; }
.game-card.is-feature { grid-template-columns: 1.25fr 1fr; align-items: center; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); gap: 0; }
.game-card-media { display: block; align-self: stretch; overflow: hidden; }
.game-card-media img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transition: transform .8s cubic-bezier(.2, .7, .2, 1); min-height: 280px; }
.game-card:hover .game-card-media img { transform: scale(1.04); }
.game-card-body { padding: clamp(1.5rem, 3.5vw, 2.8rem); }
.game-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: .8rem 0 0; }
.game-title a { color: var(--text); text-decoration: none; }
.game-sub { font-family: var(--serif); font-style: italic; color: var(--gold); margin-bottom: 1rem; }
.mini-list { margin: 1rem 0 0; display: grid; gap: .5rem; font-size: .98rem; color: #d9cfbd; }
.mini-list li { padding-left: 1.2rem; position: relative; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--ember); transform: rotate(45deg); }

/* spec list */
.spec { margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; padding-top: .15rem; }
.spec dd { margin: 0; }
.split-wide .spec { margin-top: .3rem; }
.status-note { margin-top: 1.5rem; padding: 1rem 1.2rem; border-left: 3px solid var(--ember); background: rgba(255, 122, 61, .08); border-radius: 0 10px 10px 0; }

/* regions */
.regions { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.region { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.region.flip { grid-template-columns: 1fr 1.3fr; }
.region.flip .region-img { order: 2; }
.region-text { position: relative; }
.region-n { font-family: var(--serif); font-size: clamp(3rem, 7vw, 5rem); color: rgba(232, 184, 92, .22); line-height: 1; display: block; margin-bottom: .1em; }
.region-text h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.region-text p { color: #d9cfbd; }
.pixel-frame { position: relative; padding: 6px; background: linear-gradient(135deg, var(--gold), var(--gold-deep) 50%, #7a4d1c); clip-path: polygon(0 12px, 12px 12px, 12px 0, calc(100% - 12px) 0, calc(100% - 12px) 12px, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 12px calc(100% - 12px), 0 calc(100% - 12px)); }
.pixel-frame img { width: 100%; image-rendering: pixelated; background: #000; }

/* gallery */
.gallery { display: grid; gap: 1rem; }
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-strip { grid-template-columns: repeat(4, 1fr); }
.shot { display: block; position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; }
.shot img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.06); filter: brightness(1.1); }
.shot-cap { position: absolute; inset: auto 0 0 0; padding: 1.6rem .9rem .7rem; font-size: .85rem; color: var(--text); background: linear-gradient(0deg, rgba(13, 11, 16, .92), transparent); transform: translateY(40%); opacity: 0; transition: .3s; }
.shot:hover .shot-cap, .shot:focus-visible .shot-cap { transform: none; opacity: 1; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--text); }
.lightbox::backdrop { background: rgba(5, 4, 8, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(1500px, 92vw); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; image-rendering: pixelated; border: 2px solid var(--gold-deep); border-radius: 6px; box-shadow: 0 20px 80px #000; }
.lightbox figcaption { margin-top: 1rem; color: var(--muted); }
.lb-close, .lb-nav { position: absolute; background: rgba(23, 19, 30, .9); color: var(--text); border: 1px solid var(--line); border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 .2rem; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; } .lb-next { right: 1rem; top: 50%; }
.lb-close:hover, .lb-nav:hover { border-color: var(--gold); color: var(--gold); }

/* about, contact */
.portrait { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; background: var(--surface-2); margin-bottom: 1.2rem; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-ph { height: 100%; display: grid; place-content: center; justify-items: center; gap: 1rem; color: var(--muted); background: radial-gradient(circle at 50% 30%, #2a2133, var(--surface)); }
.portrait-ph svg { width: 45%; fill: #3a2e47; }
.person-name { font-size: 1.7rem; margin-bottom: .1em; }
.person-links { margin-top: 1rem; display: grid; gap: .45rem; font-size: .98rem; word-break: break-word; }
.contact-list { margin: 0 0 1rem; border-top: 1px solid var(--line); }
.contact-row { display: grid; grid-template-columns: 10.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-row dt { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; padding-top: .2rem; }
.contact-row dd { margin: 0; word-break: break-word; }
.copy { margin-left: .5rem; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: .25rem .8rem; font: inherit; font-size: .85rem; cursor: pointer; }
.copy:hover { border-color: var(--gold); color: var(--gold); }
.social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.social a { display: inline-block; padding: .35rem .9rem; border: 1px solid var(--line); border-radius: 99px; color: var(--text); text-decoration: none; font-size: .9rem; }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.check-list { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.check-list li { padding-left: 1.6rem; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.credit-list { display: grid; gap: .7rem; margin: 1rem 0 1.5rem; }
.credit-list li { padding: .9rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }

.cta-band { padding-block: clamp(3.5rem, 7vw, 5.5rem); text-align: center; background: radial-gradient(700px 260px at 50% 100%, rgba(184, 70, 28, .28), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.cta-band p { max-width: 38rem; margin-inline: auto; color: #d9cfbd; }
.cta-band .cta-row { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: #09070c; border-top: 1px solid var(--line); padding-top: 3.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.foot-h { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); margin-bottom: 1rem; }
.foot-links { display: grid; gap: .5rem; }
.foot-links a { color: var(--text); text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
.foot-brand p { margin: .8rem 0 0; }
.legal { border-top: 1px solid var(--line); padding-block: 1.4rem 2rem; }
.legal p { margin: 0; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint span, .game-card-media img, .shot img { animation: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .split, .split-wide, .about-split, .contact-split { grid-template-columns: 1fr; }
  .about-split .person { max-width: 340px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .game-card.is-feature { grid-template-columns: 1fr; }
  .game-card-media img { min-height: 0; aspect-ratio: 16 / 9; }
  .region, .region.flip { grid-template-columns: 1fr; }
  .region.flip .region-img { order: 0; }
  .facts-strip dl { grid-template-columns: repeat(2, 1fr); }
  .facts-strip div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-strip div { border-top: 1px solid var(--line); }
  .facts-strip div:nth-child(-n+2) { border-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  #site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: rgba(13, 11, 16, .98); border-bottom: 1px solid var(--line); display: none; padding: .5rem var(--gutter) 1.2rem; }
  #site-nav.open { display: block; }
  #site-nav ul { flex-direction: column; }
  #site-nav a { padding: .9rem .5rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  #site-nav a[aria-current="page"]::after { display: none; }
  .hero, .game-hero { display: block; min-height: 0; padding-top: 0; }
  .hero-img { position: relative; inset: auto; height: 56vw; min-height: 220px; max-height: 420px; z-index: 0; animation: none; }
  .hero-shade { inset: 0 0 auto 0; z-index: 1; height: 56vw; min-height: 220px; max-height: 420px; background: linear-gradient(0deg, var(--bg) 0%, rgba(13, 11, 16, 0) 45%); }
  .embers { inset: 0 0 auto 0; z-index: 1; height: 56vw; min-height: 220px; max-height: 420px; }
  .hero-inner { padding-block: 1.5rem 3.5rem; position: relative; z-index: 2; }
  .scroll-hint { display: none; }
  .spec div, .contact-row { grid-template-columns: 1fr; gap: .15rem; }
}
@media (max-width: 560px) {
  .grid-3, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .8rem; padding-bottom: .6rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .gallery-strip li { flex: 0 0 82%; scroll-snap-align: center; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .lb-nav { top: auto; bottom: 1rem; } .lb-prev { left: 1rem; } .lb-next { right: 1rem; }
}
