:root {
  --ink: #090b0c;
  --ink-soft: #101315;
  --surface: #171719;
  --surface-warm: #1c1513;
  --parchment: #e9dfca;
  --parchment-muted: #b9ae99;
  --gold: #caa45b;
  --gold-bright: #e6c57f;
  --gold-dark: #76582f;
  --crimson: #7e2935;
  --crimson-bright: #ae4250;
  --teal: #53767a;
  --line: rgba(202, 164, 91, 0.22);
  --line-soft: rgba(233, 223, 202, 0.1);
  --serif: "Cinzel", Georgia, serif;
  --sans: "Inter", "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
  --shell-wide: min(1920px, calc(100vw - 48px));
  --compare-max-height: 82vh;
  --header-height: 84px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--parchment);
  background:
    radial-gradient(circle at 50% 0%, rgba(126, 41, 53, 0.09), transparent 34rem),
    var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
.page-shell { width: var(--shell); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--parchment); color: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(233, 223, 202, 0.12);
  background: linear-gradient(180deg, rgba(5, 6, 7, 0.68), transparent);
}

.brand { justify-self: start; display: inline-flex; align-items: center; gap: .8rem; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  color: var(--gold-bright);
  font: 600 .78rem var(--serif);
}
.brand-mark::first-line { transform: rotate(-45deg); }
.brand-copy { display: grid; line-height: 1.05; text-transform: uppercase; letter-spacing: .11em; }
.brand-copy strong { color: var(--parchment); font: 600 .86rem var(--serif); }
.brand-copy small { margin-top: .25rem; color: var(--parchment-muted); font-size: .52rem; letter-spacing: .22em; }
.site-nav { display: flex; align-items: center; gap: 2.5rem; }
.site-nav a { position: relative; padding: 1.9rem 0; color: rgba(233, 223, 202, .68); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-nav a:hover, .site-nav a.is-active { color: var(--parchment); }
.site-nav a.is-active::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--gold); box-shadow: 0 0 14px rgba(202,164,91,.75); }
.language-switch { justify-self: end; display: inline-flex; align-items: baseline; padding: .5rem 0; font-size: .7rem; font-weight: 600; letter-spacing: .12em; }
.language-switch a { transition: color .2s ease; }
.language-switch a.language-muted:hover, .language-switch a.language-muted:focus-visible { color: var(--parchment); }
.language-divider { margin-inline: .45rem; color: var(--gold-dark); }
.language-muted { color: rgba(233,223,202,.38); }
.nav-toggle { display: none; }

.hero { position: relative; min-height: min(920px, 100svh); display: grid; align-items: center; overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; scale: 1.015; animation: hero-in 1.8s ease-out both; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(7,8,9,.97) 0%, rgba(7,8,9,.8) 28%, rgba(7,8,9,.28) 62%, rgba(7,8,9,.12) 100%),
    linear-gradient(180deg, rgba(7,8,9,.4) 0%, transparent 35%, rgba(7,8,9,.72) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 7.5rem; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.25rem; color: var(--gold-bright); font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { width: 2.75rem; height: 1px; background: var(--gold); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; }
h1 { max-width: 820px; font-size: clamp(3.4rem, 6.4vw, 6.9rem); letter-spacing: -.045em; text-wrap: balance; }
h1 em, h2 em { color: var(--gold-bright); font-style: normal; }
.hero-content h1 em { white-space: nowrap; }
.hero-lead { max-width: 670px; margin: 1.8rem 0 0; color: rgba(233,223,202,.76); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .7rem 1.35rem; border: 1px solid transparent; font-size: .73rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: .25s ease; }
.button-primary { color: #15100a; background: linear-gradient(135deg, var(--gold-bright), #b68b42); box-shadow: 0 10px 32px rgba(202,164,91,.18); }
.button-primary:hover { translate: 0 -2px; box-shadow: 0 14px 38px rgba(202,164,91,.3); }
.button-ghost { border-color: rgba(233,223,202,.24); background: rgba(11,13,14,.25); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.hero-facts { display: flex; gap: 3.5rem; margin: 4.25rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid rgba(233,223,202,.14); list-style: none; width: min(680px, 100%); }
.hero-facts li { display: grid; gap: .1rem; }
.hero-facts strong { color: var(--gold-bright); font: 500 1.2rem var(--serif); }
.hero-facts span { color: rgba(233,223,202,.48); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-release-note { margin: 1rem 0 0; color: rgba(233,223,202,.58); font-size: .74rem; }

.intro-preview { padding-block: clamp(5rem, 10vw, 9rem); text-align: center; }
.intro-preview .eyebrow { justify-content: center; }
.intro-preview h2 { max-width: 900px; margin-inline: auto; font-size: clamp(2.4rem, 4.5vw, 4.7rem); }
.intro-preview > p:last-child { max-width: 700px; margin: 1.5rem auto 0; color: var(--parchment-muted); }

@keyframes hero-in { from { opacity: 0; scale: 1.06; } to { opacity: 1; scale: 1.015; } }

@media (max-width: 760px) {
  :root { --shell: min(100% - 32px, 1180px); --shell-wide: 100%; --header-height: 72px; }
  .site-header { grid-template-columns: 1fr auto auto; padding-inline: 16px; }
  .nav-toggle { display: grid; gap: 6px; width: 42px; height: 42px; margin-right: .5rem; place-content: center; border: 1px solid var(--line-soft); background: rgba(9,11,12,.4); }
  .nav-toggle span { display: block; width: 18px; height: 1px; background: var(--parchment); }
  .site-nav { position: absolute; top: var(--header-height); inset-inline: 0; display: none; padding: 1rem 16px 1.5rem; background: rgba(9,11,12,.97); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: .75rem 0; }
  .site-nav a.is-active::after { display: none; }
  .brand-copy { display: none; }
  .hero { min-height: 820px; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,8,9,.92), rgba(7,8,9,.36)), linear-gradient(180deg, rgba(7,8,9,.3), transparent 28%, rgba(7,8,9,.88) 85%); }
  .hero-content { padding-top: 6rem; }
  h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .hero-content h1 em { white-space: normal; }
  .hero-facts { flex-wrap: wrap; gap: 1.1rem 1.5rem; justify-content: start; }
  .hero-facts li { flex: 0 1 calc(50% - .75rem); }
  .hero-facts span { max-width: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Shared editorial sections */
.brand-mark { position: relative; color: transparent; }
.brand-mark::after { content: "II"; position: absolute; inset: 0; display: grid; place-items: center; transform: rotate(-45deg); color: var(--gold-bright); }
.section-heading h2, .engineering-copy h2, .gallery-teaser-content h2, .roadmap-title h2 { font-size: clamp(2.5rem, 4.5vw, 4.7rem); }
.section-heading-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 4rem; align-items: end; }
.section-heading-row > p { margin: 0 0 .45rem; color: var(--parchment-muted); }
.section-heading-centered { margin-bottom: 3rem; text-align: center; }
.section-heading-centered .eyebrow { justify-content: center; }
.prototype-caption { margin: 1rem 0 0; color: rgba(233,223,202,.4); font-size: .68rem; letter-spacing: .06em; }
.text-link { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.25rem; color: var(--gold-bright); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.text-link span { transition: translate .2s ease; }
.text-link:hover span { translate: .35rem 0; }

/* Before / after component */
.comparison-section { padding-bottom: clamp(6rem, 10vw, 10rem); }
/* Comparison blocks step outside the reading column: --shell is a text measure,
   not a constraint on media. Inside the min(), the second term caps the width so
   a whole frame stays visible while the handle is dragged, whatever the viewport
   height; the outer max() keeps --shell as a floor, so a short viewport falls
   back to the reading width instead of going narrower. Wrappers declare
   --compare-aspect so the cap matches the frame they hold; the fallback covers a
   frame that declares none. */
.comparison-section .compare-frame,
.gallery-feature,
.ingame-comparison-grid {
  position: relative;
  left: 50%;
  translate: -50% 0;
  width: max(var(--shell), min(var(--shell-wide), calc(var(--compare-max-height) * var(--compare-aspect, 1823 / 863))));
}
.compare-frame { position: relative; margin-top: 3rem; aspect-ratio: var(--compare-aspect, 1823 / 863); overflow: hidden; border: 1px solid var(--line); background: #080a0b; box-shadow: 0 28px 70px rgba(0,0,0,.34); isolation: isolate; }
.compare-frame::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.compare-frame img { width: 100%; height: 100%; object-fit: cover; }
.compare-after { position: absolute; inset: 0; }
.compare-before { position: absolute; z-index: 2; inset: 0; overflow: hidden; clip-path: inset(0 calc(100% - var(--compare-position)) 0 0); }
.compare-before::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--compare-position); width: 1px; background: rgba(230,197,127,.9); }
.compare-before img { position: absolute; inset: 0; width: 100%; max-width: none; }
.compare-line { position: absolute; z-index: 7; top: 0; bottom: 0; left: var(--compare-position); translate: -50% 0; width: 1px; background: var(--gold-bright); pointer-events: none; }
.compare-line span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 44px; height: 44px; translate: -50% -50%; border: 1px solid var(--gold-bright); border-radius: 50%; color: #1a120a; background: var(--gold-bright); box-shadow: 0 5px 28px rgba(0,0,0,.4); font-size: 1rem; }
.compare-range { position: absolute; z-index: 10; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-label { position: absolute; z-index: 6; bottom: 1.25rem; padding: .5rem .7rem; border: 1px solid rgba(233,223,202,.16); background: rgba(8,10,11,.7); backdrop-filter: blur(8px); font-size: .61rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.compare-label-before { left: 1.25rem; }
.compare-label-after { right: 1.25rem; color: var(--gold-bright); }

/* Workstreams */
.workstreams-section { padding-block: clamp(6rem, 10vw, 10rem); border-block: 1px solid var(--line-soft); background: linear-gradient(145deg, rgba(126,41,53,.08), transparent 30%), #0d0f10; }
.workstream-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, clamp(560px, 44vw, 640px)); gap: 1rem; }
.workstream-card { position: relative; overflow: hidden; border: 1px solid var(--line-soft); background: var(--surface); }
.workstream-card-large { grid-row: 1 / 3; }
.workstream-card img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s cubic-bezier(.2,.8,.2,1), filter .7s ease; }
.workstream-card-large img { object-position: 68% center; }
.workstream-card-large.map-night-card img { object-position: center; }
.workstream-card:nth-child(2) img { object-position: center 38%; }
.workstream-card.animation-ingame-card img { object-position: 77% center; }
.workstream-card:nth-child(3) img { object-position: center; }
.workstream-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(7,8,9,.92) 100%), linear-gradient(90deg, rgba(7,8,9,.35), transparent); }
.workstream-content { position: absolute; inset: auto 0 0; padding: clamp(1.4rem, 3vw, 2.4rem); }
.workstream-content > span { display: inline-block; margin-bottom: 1.25rem; color: var(--gold-bright); font: 500 .72rem var(--serif); }
.workstream-content p { margin: 0 0 .25rem; color: rgba(233,223,202,.52); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.workstream-content h3 { font-size: clamp(1.55rem, 2.4vw, 2.6rem); }
.workstream-content small { display: block; max-width: 30rem; margin-top: .7rem; color: rgba(233,223,202,.6); font-size: .82rem; }
.workstream-card:hover img { scale: 1.035; filter: saturate(1.08); }

/* Engineering feature */
.engineering-section { min-height: 680px; display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; padding-block: clamp(6rem, 10vw, 10rem); }
.engineering-copy > p:not(.eyebrow) { color: var(--parchment-muted); }
.engineering-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.engineering-visual::before { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(83,118,122,.28); border-radius: 50%; box-shadow: inset 0 0 80px rgba(83,118,122,.08), 0 0 80px rgba(126,41,53,.08); }
.signal-ring { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.signal-ring-one { inset: 20%; border-style: dashed; animation: spin 24s linear infinite; }
.signal-ring-two { inset: 31%; border-color: rgba(83,118,122,.55); animation: spin 15s linear infinite reverse; }
.signal-core { position: relative; z-index: 2; display: grid; place-items: center; width: 23%; aspect-ratio: 1; border: 1px solid var(--gold); border-radius: 50%; background: radial-gradient(circle, rgba(202,164,91,.22), rgba(9,11,12,.92) 68%); box-shadow: 0 0 42px rgba(202,164,91,.16); }
.signal-core span { color: var(--gold-bright); font: 500 2.4rem var(--serif); }
.signal-data { position: absolute; display: flex; align-items: center; gap: .55rem; color: rgba(233,223,202,.52); font-size: .57rem; letter-spacing: .12em; text-transform: uppercase; }
.signal-data span { width: 5px; height: 5px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 12px var(--gold); }
.signal-data-a { top: 19%; left: 16%; }.signal-data-b { right: 2%; top: 50%; }.signal-data-c { bottom: 16%; left: 20%; }
@keyframes spin { to { rotate: 360deg; } }

/* Gallery teaser and footer */
.gallery-teaser { position: relative; min-height: 720px; display: grid; align-items: center; overflow: hidden; }
.gallery-teaser-media, .gallery-teaser-overlay { position: absolute; inset: 0; }
.gallery-teaser-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gallery-teaser-overlay { background: linear-gradient(90deg, rgba(7,8,9,.96), rgba(7,8,9,.54) 54%, rgba(7,8,9,.15)), linear-gradient(180deg, rgba(7,8,9,.2), rgba(7,8,9,.5)); }
.gallery-teaser-content { position: relative; z-index: 2; }
.gallery-teaser-content p:not(.eyebrow) { max-width: 560px; color: rgba(233,223,202,.68); }
.gallery-teaser-content .button { margin-top: 1rem; }
.site-footer { border-top: 1px solid var(--line-soft); background: #070809; }
.footer-grid { display: grid; grid-template-columns: .9fr 1.3fr .8fr; gap: 3rem; align-items: start; padding-block: 4rem; }
.footer-grid > p { max-width: 460px; margin: 0; color: rgba(233,223,202,.45); font-size: .78rem; }
.footer-grid nav { display: grid; justify-items: end; gap: .55rem; }
.footer-grid nav a { color: rgba(233,223,202,.62); font-size: .74rem; }
.footer-grid nav a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; justify-content: space-between; padding-block: 1.2rem; border-top: 1px solid var(--line-soft); color: rgba(233,223,202,.3); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }

/* Inner page framing */
.inner-page { background: #0b0d0e; }
.inner-header { position: absolute; background: rgba(7,8,9,.4); backdrop-filter: blur(10px); }
.site-header.is-scrolled { position: fixed; background: rgba(7,8,9,.92); backdrop-filter: blur(16px); animation: header-down .3s ease-out; }
@keyframes header-down { from { translate: 0 -100%; } }
.page-hero { position: relative; min-height: 570px; display: grid; align-items: end; overflow: hidden; }
.page-hero-media, .page-hero-overlay { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.progress-hero .page-hero-media img { object-position: center 55%; }
.gallery-hero .page-hero-media img { object-position: center 48%; }
.page-hero-overlay { background: linear-gradient(90deg, rgba(7,8,9,.95), rgba(7,8,9,.42) 65%, rgba(7,8,9,.18)), linear-gradient(180deg, rgba(7,8,9,.38), rgba(7,8,9,.88)); }
.page-hero-content { position: relative; z-index: 2; padding-block: calc(var(--header-height) + 5rem) 4.5rem; }
.page-hero h1 { font-size: clamp(3.8rem, 7vw, 7rem); }
.page-hero-content > p:last-child { max-width: 650px; color: rgba(233,223,202,.68); }

/* Dashboard */
/* Progress dashboard.
   Each .track carries raw comparable resource counts (--total, --produced,
   --qa, --release). Zone packs and payload files use different units and stay
   in the text rather than being added to a resource bar. */
.dashboard-section { display: grid; gap: clamp(2.5rem, 5vw, 4rem); padding-block: 3rem 8rem; }
.snapshot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .8rem 1rem; border: 1px solid rgba(202,164,91,.22); background: rgba(202,164,91,.06); }
.snapshot span { flex: 0 0 auto; padding: .35rem .55rem; color: #171109; background: var(--gold); font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.snapshot p { margin: 0; color: rgba(233,223,202,.6); font-size: .74rem; }

.totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line-soft); background: var(--line-soft); }
.totals div { display: grid; align-content: start; gap: .35rem; padding: clamp(1.3rem, 3vw, 2.1rem); background: #101213; }
.totals strong { color: var(--parchment); font: 500 clamp(1.9rem, 4vw, 3rem)/1 var(--serif); }
.totals dt, .totals span { color: rgba(233,223,202,.45); font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.totals small { color: var(--gold); font-size: .72rem; }
.totals div:first-child strong { color: var(--gold-bright); }

.overall-progress { padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid rgba(202,164,91,.35); background: linear-gradient(112deg, rgba(202,164,91,.1), rgba(16,18,19,.98) 48%); }
.overall-progress-header { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; }
.overall-progress .eyebrow { margin-bottom: .6rem; }
.overall-progress h2 { font-size: clamp(1.75rem, 3vw, 2.7rem); }
.overall-progress-rate { display: grid; justify-items: end; gap: .25rem; margin: 0; white-space: nowrap; }
.overall-progress-rate strong { color: var(--gold-bright); font: 500 clamp(2rem, 4vw, 3.25rem)/.9 var(--serif); }
.overall-progress-rate span { color: rgba(233,223,202,.5); font-size: .6rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.overall-progress-meter { position: relative; height: 14px; margin-top: clamp(1.5rem, 3vw, 2.2rem); overflow: hidden; background: rgba(233,223,202,.08); }
.overall-progress-meter::after { content: ""; position: absolute; inset-block: 0; left: 0; width: calc(var(--overall-progress) * 1%); background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright)); box-shadow: 1px 0 0 rgba(7,8,9,.7); transform-origin: left; animation: progress-in .9s ease-out both; }
.overall-progress-note { max-width: 55rem; margin: .9rem 0 0; color: rgba(233,223,202,.55); font-size: .74rem; line-height: 1.6; }
.overall-progress-ingame { border-color: rgba(233,223,202,.2); background: linear-gradient(112deg, rgba(233,223,202,.06), rgba(16,18,19,.98) 48%); }
.overall-progress-ingame .overall-progress-meter::after { background: linear-gradient(90deg, var(--gold), var(--parchment)); }

.legend { display: flex; flex-wrap: wrap; gap: .7rem 2rem; margin: 0; padding: 0; list-style: none; }
.legend li { display: flex; align-items: baseline; gap: .6rem; color: rgba(233,223,202,.55); font-size: .74rem; }
.legend i { flex: 0 0 auto; width: 1.5rem; height: .5rem; translate: 0 -.05rem; }
.legend b { color: var(--parchment); font-weight: 600; }
/* Three clearly separated lightness steps: the further an asset has travelled,
   the brighter its segment. */
.swatch-produced { background: var(--gold-dark); }
.swatch-qa { background: var(--gold); }
.swatch-release { background: var(--parchment); }

.track-list { display: grid; gap: 1px; border: 1px solid var(--line-soft); background: var(--line-soft); }
.track { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: .55rem 2rem; align-items: center; padding: clamp(1.2rem, 2.6vw, 1.8rem) clamp(1.2rem, 3vw, 2.1rem); background: #101213; transition: background .25s ease; }
.track:hover { background: #141718; }
.track-id { grid-row: span 2; align-self: center; display: grid; gap: .25rem; }
.track-id h3 { font-size: clamp(1.05rem, 1.9vw, 1.4rem); }
.track-id span { color: rgba(233,223,202,.4); font-size: .62rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.track-meter { display: flex; align-items: center; gap: 1.1rem; }
.track-bar { position: relative; flex: 1; height: 12px; background: rgba(233,223,202,.07); overflow: hidden; }
/* A dark hairline on the trailing edge keeps each step readable where two
   segments end close together. */
.track-bar i { position: absolute; inset-block: 0; left: 0; display: block; box-shadow: 1px 0 0 rgba(7,8,9,.55); transform-origin: left; animation: progress-in .9s ease-out both; }
/* min() keeps a non-zero segment visible even when it rounds to a hairline. */
.track-bar .bar-produced { width: max(calc(var(--produced) / var(--total) * 100%), calc(min(var(--produced), 1) * 3px)); background: var(--gold-dark); }
.track-bar .bar-qa { width: max(calc(var(--qa) / var(--total) * 100%), calc(min(var(--qa), 1) * 3px)); background: var(--gold); }
.track-bar .bar-release { width: max(calc(var(--release) / var(--total) * 100%), calc(min(var(--release), 1) * 3px)); background: var(--parchment); }
.track-pct { flex: 0 0 auto; min-width: 3.6rem; text-align: right; color: var(--gold-bright); font: 500 1.1rem var(--serif); }
.track-stats { grid-column: 2; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: 0; padding: 0; list-style: none; color: rgba(233,223,202,.48); font-size: .72rem; }
.track-stats b { color: var(--parchment); font-weight: 600; }
.track.is-idle .track-pct { color: rgba(233,223,202,.28); }
.track.is-idle .track-stats { color: rgba(233,223,202,.32); }
.track.is-idle .track-stats b { color: rgba(233,223,202,.45); }
@keyframes progress-in { from { scale: 0 1; } }
.roadmap-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; margin-top: 5rem; padding: 4rem 0; border-block: 1px solid var(--line-soft); }
.roadmap-flow { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.roadmap-flow li { position: relative; display: grid; gap: .25rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.roadmap-flow li:not(:last-child)::after { content: ""; position: absolute; top: -2px; right: -1rem; width: 1rem; height: 3px; background: var(--gold-dark); }
.roadmap-flow span { color: var(--gold); font: 500 .65rem var(--serif); }
.roadmap-flow strong { font: 500 .88rem var(--serif); }
.roadmap-flow small { color: rgba(233,223,202,.42); font-size: .61rem; }

/* Gallery */
.gallery-section { padding-block: 5rem 8rem; }
.gallery-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.gallery-toolbar h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: end; gap: .45rem; }
.gallery-filters button { padding: .55rem .75rem; border: 1px solid var(--line-soft); background: transparent; color: rgba(233,223,202,.48); cursor: pointer; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; }
.gallery-filters button:hover, .gallery-filters button.is-active { border-color: var(--gold); color: var(--gold-bright); background: rgba(202,164,91,.07); }
.gallery-feature { border: 1px solid var(--line-soft); background: #101213; }
.compare-frame-gallery { margin: 0; border: 0; border-bottom: 1px solid var(--line-soft); }
.gallery-feature-copy { display: grid; grid-template-columns: .6fr 1.2fr 1fr; gap: 2rem; align-items: center; padding: 1.5rem 1.8rem; }
.gallery-feature-copy span { color: var(--gold); font-size: .59rem; letter-spacing: .1em; text-transform: uppercase; }
.gallery-feature-copy h3 { font-size: 1.35rem; }
.gallery-feature-copy p { margin: 0; color: rgba(233,223,202,.5); font-size: .73rem; }
.ingame-map-section { margin-top: 5rem; padding-top: 4rem; border-top: 1px solid var(--line-soft); }
.ingame-map-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 3rem; align-items: end; margin-bottom: 1.5rem; }
.ingame-map-heading h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); }
.ingame-map-heading > p { max-width: 33rem; margin: 0 0 .25rem; color: var(--parchment-muted); font-size: .82rem; }
.ingame-comparison-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.ingame-comparison-card { overflow: hidden; border: 1px solid var(--line-soft); background: #101213; }
.ingame-comparison-card .compare-frame { margin: 0; }
.ingame-comparison-copy { padding: 1.35rem 1.5rem 1.5rem; }
.ingame-comparison-copy > span { display: block; color: var(--gold); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.ingame-comparison-copy h3 { margin-top: .55rem; font-size: 1.3rem; }
.ingame-comparison-copy > p { margin: .7rem 0 0; color: rgba(233,223,202,.52); font-size: .74rem; }
.ingame-comparison-copy .comparison-note { padding: .65rem .75rem; border-left: 2px solid var(--gold-dark); background: rgba(202,164,91,.06); color: var(--gold-bright); font-size: .62rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 430px; gap: 1rem; margin-top: 1rem; }
.gallery-card { position: relative; padding: 0; overflow: hidden; border: 1px solid var(--line-soft); background: #101213; text-align: left; cursor: zoom-in; }
.gallery-card[hidden], .gallery-placeholder[hidden], .gallery-feature[hidden] { display: none; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s ease; }
.gallery-card-wide { grid-column: 1 / 3; }
.gallery-card-wide img { object-position: center; }
.gallery-crop-right { object-position: 78% center; }
.gallery-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(7,8,9,.9)); }
.gallery-card-copy { position: absolute; inset: auto 0 0; display: grid; gap: .35rem; padding: 1.6rem; }
.gallery-card-copy small { color: var(--gold-bright); font-size: .58rem; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
.gallery-card-copy strong { font: 500 1.5rem var(--serif); }
.gallery-card-copy em { margin-top: .4rem; color: rgba(233,223,202,.48); font-size: .62rem; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.gallery-card:hover img { scale: 1.035; }
.gallery-placeholder { position: relative; display: grid; align-content: end; padding: 1.8rem; overflow: hidden; border: 1px solid var(--line-soft); background: radial-gradient(circle at 75% 20%, rgba(126,41,53,.11), transparent 15rem), #101213; }
.placeholder-frame { position: absolute; align-self: stretch; justify-self: stretch; margin: 1.2rem; border: 1px dashed rgba(202,164,91,.18); background: repeating-linear-gradient(135deg, transparent 0 11px, rgba(233,223,202,.015) 11px 12px); }
.placeholder-frame i { position: absolute; left: 50%; top: 46%; width: 38px; height: 38px; translate: -50% -50%; border: 1px solid var(--gold-dark); transform: rotate(45deg); }
.gallery-placeholder > *:not(.placeholder-frame) { position: relative; z-index: 2; }
.gallery-placeholder small { color: var(--gold); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.gallery-placeholder h3 { margin-top: .5rem; font-size: 1.45rem; }
.gallery-placeholder p { margin: .45rem 0 0; color: rgba(233,223,202,.4); font-size: .7rem; }
.gallery-dialog { width: min(1180px, calc(100% - 32px)); max-height: 90svh; padding: 0; overflow: hidden; border: 1px solid var(--line); color: var(--parchment); background: #0a0c0d; box-shadow: 0 40px 120px rgba(0,0,0,.8); }
.gallery-dialog::backdrop { background: rgba(0,0,0,.84); backdrop-filter: blur(7px); }
.gallery-dialog img { width: 100%; max-height: 75svh; object-fit: contain; background: #050607; }
.gallery-dialog > div { padding: 1.2rem 1.5rem; }
.gallery-dialog small { color: var(--gold); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.gallery-dialog h2 { margin-top: .25rem; font-size: 1.5rem; }
.dialog-close { position: absolute; z-index: 3; top: .8rem; right: .8rem; width: 40px; height: 40px; border: 1px solid rgba(233,223,202,.25); border-radius: 50%; background: rgba(7,8,9,.75); cursor: pointer; font-size: 1.35rem; }
[data-reveal] { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s ease; }
[data-reveal].is-visible { opacity: 1; translate: 0 0; }

@media (max-width: 900px) {
  .section-heading-row, .engineering-section, .roadmap-panel, .ingame-map-heading { grid-template-columns: 1fr; gap: 2rem; }
  .totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workstream-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, clamp(480px, 64vw, 680px)); }
  .workstream-card-large { grid-row: auto; }
  .engineering-visual { width: min(520px, 100%); margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid nav { grid-column: 2; grid-row: 1 / 3; }
  .roadmap-flow { margin-top: 1rem; }
  .gallery-toolbar { align-items: start; flex-direction: column; }
  .gallery-filters { justify-content: start; }
  .gallery-feature-copy { grid-template-columns: 1fr; gap: .6rem; }
}

@media (max-width: 680px) {
  .section-heading-row { gap: 1.2rem; }
  .workstream-grid { grid-template-rows: repeat(3, 480px); }
  .workstream-card img { object-position: center; }
  .engineering-section { min-height: auto; }
  .gallery-teaser { min-height: 640px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid nav { grid-column: auto; grid-row: auto; justify-items: start; }
  .footer-bottom { align-items: start; flex-direction: column; gap: .4rem; }
  .page-hero { min-height: 520px; }
  .page-hero-content { padding-bottom: 3rem; }
  .dashboard-section { padding-bottom: 5rem; }
  .totals { grid-template-columns: 1fr; }
  .overall-progress-header { align-items: start; flex-direction: column; }
  .overall-progress-rate { justify-items: start; }
  .track { grid-template-columns: 1fr; gap: .7rem; }
  .track-id { grid-row: auto; }
  .track-stats { grid-column: auto; }
  .roadmap-flow { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .roadmap-flow li:nth-child(2)::after { display: none; }
  .gallery-section { padding-block: 3.5rem 5rem; }
  .ingame-map-section { margin-top: 3.5rem; padding-top: 3.5rem; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 380px; }
  .gallery-card-wide { grid-column: auto; }
}
