:root {
  color-scheme: dark;

  /* Mercury Design System Tokens */
  --color-onyx-canvas: #171721;
  --color-graphite-card: #1e1e2a;
  --color-obsidian-button: #272735;
  --color-slate-border: #70707d;
  --color-mist-border: #e2e3ed;
  --color-ash-text: #c3c3cc;
  --color-ivory-text: #ededf3;
  --color-cobalt: #5266eb;
  --color-cobalt-hover: #6476f2;
  --color-pure-white: #ffffff;

  --hairline-slate: rgba(112, 112, 125, 0.34);

  --font-arcadia: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-arcadiadisplay: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --page-max-width: 1200px;
  --container: min(calc(100% - 48px), 1200px);

  --radius-default: 4px;
  --radius-cards: 12px;
  --radius-buttons: 32px;
  --radius-inputs: 32px;
  --radius-nav: 40px;
  --radius-tags: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--color-onyx-canvas);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--color-onyx-canvas);
  color: var(--color-ivory-text);
  font-family: var(--font-arcadia);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

section,
header,
footer {
  overflow-x: clip;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

[hidden] {
  display: none !important;
}

[id] {
  scroll-margin-top: 96px;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-mist-border);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.icon--lg {
  width: 20px;
  height: 20px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: var(--radius-buttons);
  background: var(--color-cobalt);
  color: var(--color-pure-white);
  font-size: 14px;
  font-weight: 480;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* Mercury Typography Helpers (Weight 480 / 530, never heavy 700+) */
.heading-display {
  margin: 0;
  font-family: var(--font-arcadiadisplay);
  font-weight: 530;
  font-size: clamp(2.65rem, 5.2vw, 4.0625rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--color-pure-white);
}

.heading-lg {
  margin: 0;
  font-family: var(--font-arcadiadisplay);
  font-weight: 480;
  font-size: clamp(1.85rem, 3.4vw, 2.625rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--color-ivory-text);
}

.heading-md {
  margin: 0;
  font-family: var(--font-arcadiadisplay);
  font-weight: 480;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0.015em;
  color: var(--color-ivory-text);
}

.heading-sm {
  margin: 0;
  font-family: var(--font-arcadiadisplay);
  font-weight: 480;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: 0.018em;
  color: var(--color-ivory-text);
}

.body-ash {
  margin: 0;
  color: var(--color-ash-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.caption-label {
  font-size: 12px;
  font-weight: 480;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--color-ash-text);
}

/* Mercury Pill Buttons (Flat, Zero Shadow) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn--cobalt {
  background: var(--color-cobalt);
  color: var(--color-pure-white);
  border-radius: var(--radius-buttons);
}

.btn--cobalt:hover {
  background: var(--color-cobalt-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--color-ivory-text);
  border: 1px solid var(--color-ivory-text);
  border-radius: var(--radius-nav);
}

.btn--ghost:hover {
  background: rgba(237, 237, 243, 0.08);
  border-color: var(--color-pure-white);
}

.btn--obsidian {
  background: var(--color-obsidian-button);
  color: var(--color-ivory-text);
  border-radius: var(--radius-buttons);
}

.btn--obsidian:hover {
  background: #323244;
}

.btn--muted {
  background: rgba(39, 39, 53, 0.65);
  color: var(--color-ash-text);
  border: 1px solid rgba(112, 112, 125, 0.35);
  border-radius: var(--radius-buttons);
  cursor: default;
}

.btn--compact {
  min-height: 36px;
  padding: 0 18px;
  font-size: 14px;
}

/* Full-Width Transparent Top Navigation Bar (frosted on scroll) */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, backdrop-filter 220ms ease, border-color 220ms ease;
}

.top-nav.is-scrolled {
  background: rgba(23, 23, 33, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--hairline-slate);
}

.nav-inner {
  width: var(--container);
  margin-inline: auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-symbol {
  width: 28px;
  height: auto;
}

.brand-wordmark {
  font-size: 13px;
  font-weight: 480;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-ivory-text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--radius-nav);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-ivory-text);
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.nav-links a:hover {
  background: rgba(237, 237, 243, 0.08);
}

.nav-links a.is-active {
  background: rgba(237, 237, 243, 0.1);
  color: var(--color-pure-white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-nav);
  background: rgba(39, 39, 53, 0.65);
}

.lang-btn {
  min-width: 34px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-nav);
  font-size: 12px;
  font-weight: 480;
  letter-spacing: 0.03em;
  color: var(--color-ash-text);
  transition: background-color 140ms ease, color 140ms ease;
}

.lang-btn:hover {
  color: var(--color-ivory-text);
}

.lang-btn[aria-pressed="true"] {
  background: var(--color-obsidian-button);
  color: var(--color-ivory-text);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-nav);
  background: rgba(39, 39, 53, 0.72);
  color: var(--color-ivory-text);
}

.mobile-drawer {
  display: none;
  background: var(--color-graphite-card);
  border-top: 1px solid var(--hairline-slate);
  border-bottom: 1px solid var(--hairline-slate);
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-inner {
  width: var(--container);
  margin-inline: auto;
  padding: 16px 0 24px;
}

.mobile-drawer-links {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.mobile-drawer-links a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-ivory-text);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-slate);
}

.mobile-drawer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Breadcrumbs */
.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 480;
  color: var(--color-ash-text);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--color-ivory-text);
}

.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Full-Bleed Blue-Hour Hero */
.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(720px, 100svh, 940px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 120px 24px 28px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(0.84) brightness(0.82) contrast(1.04);
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 72% 48% at 50% 34%, rgba(23, 23, 33, 0.54) 0%, rgba(23, 23, 33, 0.16) 72%, transparent 100%),
    linear-gradient(180deg, rgba(23, 23, 33, 0.64) 0%, rgba(23, 23, 33, 0.24) 40%, rgba(23, 23, 33, 0.35) 72%, var(--color-onyx-canvas) 100%);
}

.hero-spacer {
  height: 1px;
}

.hero-center {
  width: min(100%, 660px);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 480;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ivory-text);
}

.hero-crown {
  width: 28px;
  height: auto;
}

.hero-subtext {
  margin: 18px 0 30px;
  max-width: 540px;
  font-size: 18px;
  font-weight: 420;
  line-height: 1.45;
  color: var(--color-ivory-text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Bottom Centered Mercury Footnote Pill */
.hero-footnote-pill {
  max-width: min(100%, 740px);
  padding: 9px 20px;
  border-radius: var(--radius-tags);
  background: rgba(23, 23, 33, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  font-size: 12px;
  font-weight: 480;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--color-ash-text);
}

/* Compact Page Hero (Longway Arcade Franchise Page) */
.page-hero-compact {
  padding: 132px 0 56px;
  background: var(--color-onyx-canvas);
}

.arcade-hero-grid {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 10px;
}

.arcade-hero-mark {
  width: 140px;
  padding: 16px;
  border-radius: var(--radius-cards);
  background: var(--color-graphite-card);
}

.arcade-hero-mark img {
  width: 100%;
  height: auto;
}

.arcade-hero-copy p.hero-subtext {
  margin: 14px 0 0;
  max-width: 60ch;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  border-radius: var(--radius-buttons);
  background: var(--color-obsidian-button);
  color: var(--color-ash-text);
  font-size: 14px;
  font-weight: 480;
  transition: background-color 150ms ease, color 150ms ease;
}

.filter-pill:hover {
  background: #323244;
  color: var(--color-ivory-text);
}

.filter-pill[aria-pressed="true"] {
  background: var(--color-cobalt);
  color: var(--color-pure-white);
}

/* Sections (Spacious 72px rhythm, Onyx Canvas) */
.section {
  padding: 72px 0;
  background: var(--color-onyx-canvas);
}

.section + .section {
  border-top: 1px solid rgba(112, 112, 125, 0.2);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head p {
  margin-top: 14px;
}

/* Mercury Flat Graphite Card (Zero Shadow, Zero Border) */
.graphite-card {
  background: var(--color-graphite-card);
  border-radius: var(--radius-cards);
  padding: 32px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-tags);
  background: var(--color-obsidian-button);
  font-size: 12px;
  font-weight: 480;
  letter-spacing: 0.02em;
  color: var(--color-ash-text);
  width: fit-content;
}

/* Steam Games Block (Home /) */
.steam-flagship-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: var(--color-graphite-card);
  border-radius: var(--radius-cards);
  overflow: hidden;
  margin-bottom: 20px;
}

.steam-flagship-media {
  display: block;
  aspect-ratio: 16 / 9;
  background: #12121b;
  overflow: hidden;
}

.steam-flagship-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.steam-flagship-media:hover img {
  transform: scale(1.02);
}

.steam-flagship-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.steam-flagship-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.steam-spec-line {
  font-size: 13px;
  color: var(--color-ash-text);
  font-variant-numeric: tabular-nums;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.steam-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.steam-pipeline-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  flex-wrap: wrap;
  padding: 28px 32px;
}

.steam-pipeline-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 62ch;
}

.steam-pipeline-copy h3,
.steam-pipeline-copy p {
  margin: 0;
}

/* Gameplay Split (Fallen Crown Teaser) */
.gameplay-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr);
  gap: 40px;
  align-items: center;
}

.gameplay-copy h2 {
  margin-bottom: 16px;
}

.gameplay-copy p {
  margin-bottom: 24px;
}

.video-card {
  background: var(--color-graphite-card);
  border-radius: var(--radius-cards);
  overflow: hidden;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #101018;
}

.video-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

/* 3-Column Flat Graphite Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-index {
  font-size: 12px;
  font-weight: 480;
  letter-spacing: 0.06em;
  color: var(--color-ash-text);
  font-variant-numeric: tabular-nums;
}

/* Screenshots Grid */
.gallery-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 56px 0 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.shot-card {
  margin: 0;
  background: var(--color-graphite-card);
  border-radius: var(--radius-cards);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.shot-trigger {
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 16 / 9;
  background: #14141d;
  overflow: hidden;
  text-align: left;
}

.shot-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.shot-card--portrait .shot-trigger {
  background: #1a2126;
}

.shot-card--portrait .shot-trigger img {
  object-fit: contain;
}

.shot-trigger:hover img {
  transform: scale(1.02);
}

.shot-caption {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-ash-text);
}

/* Longway Arcade Spotlight & Catalog */
.arcade-card {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr) minmax(260px, 340px);
  gap: 32px;
  align-items: center;
}

.arcade-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.arcade-logo-box img {
  width: 164px;
  height: auto;
}

.arcade-tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 480;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ash-text);
}

.arcade-copy h3 {
  margin-bottom: 10px;
}

.arcade-copy .card-actions {
  margin-top: 20px;
}

.arcade-prototype {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-cards);
  background: var(--color-obsidian-button);
}

.arcade-prototype img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex-shrink: 0;
}

.arcade-prototype h4 {
  margin: 4px 0 4px;
  font-size: 16px;
  font-weight: 480;
  color: var(--color-ivory-text);
}

.arcade-prototype p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-ash-text);
}

.arcade-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.arcade-game-card {
  background: var(--color-graphite-card);
  border-radius: var(--radius-cards);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.arcade-game-media {
  aspect-ratio: 16 / 10;
  padding: 28px;
  background: #14141e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arcade-game-media img {
  max-height: 136px;
  width: auto;
  object-fit: contain;
}

.arcade-game-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.arcade-game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--color-graphite-card);
  border-radius: var(--radius-cards);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-media {
  aspect-ratio: 16 / 9;
  background: var(--color-onyx-canvas);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-media--logo {
  padding: 28px 36px;
  background: #14141e;
}

.project-media--logo img {
  max-height: 136px;
  width: auto;
  object-fit: contain;
}

.project-media--cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.project-meta {
  font-size: 12px;
  font-weight: 480;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ash-text);
}

/* Studio & Press Split with Mercury Fused Email Bar */
.studio-press-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

.studio-logo {
  width: 160px;
  height: auto;
  margin-bottom: 24px;
}

.studio-copy p {
  margin-top: 14px;
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.fact-list {
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--hairline-slate);
}

.fact-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline-slate);
  font-size: 15px;
}

.fact-row dt {
  color: var(--color-ash-text);
  font-weight: 480;
}

.fact-row dd {
  margin: 0;
  color: var(--color-ivory-text);
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

/* Mercury Fused Left-Pill Input + Cobalt Submit Button */
.fused-bar {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 24px;
  width: 100%;
}

.fused-input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 18px 0 20px;
  background: transparent;
  color: var(--color-ivory-text);
  border: 1px solid var(--color-ivory-text);
  border-right: 0;
  border-radius: 32px 0 0 32px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
}

.fused-input:focus {
  outline: none;
  border-color: var(--color-pure-white);
}

.fused-submit {
  flex-shrink: 0;
  height: 46px;
  padding: 0 24px;
  background: var(--color-cobalt);
  color: var(--color-pure-white);
  border-radius: 0 32px 32px 0;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  transition: background-color 150ms ease;
}

.fused-submit:hover {
  background: var(--color-cobalt-hover);
}

.press-subrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.text-link {
  font-size: 14px;
  color: var(--color-ash-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--color-ivory-text);
}

.copy-feedback {
  font-size: 13px;
  font-weight: 480;
  color: var(--color-ivory-text);
}

/* Closing Section */
.closing-center {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing-center p {
  margin: 16px 0 28px;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-ash-text);
}

/* Footer */
.site-footer {
  background: var(--color-onyx-canvas);
  border-top: 1px solid var(--hairline-slate);
  padding: 56px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline-slate);
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 34ch;
  font-size: 14px;
  color: var(--color-ash-text);
}

/* ---------- Socials & Community ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.social-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius-cards);
  background: var(--color-graphite-card);
  color: inherit;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.social-card:hover {
  background: var(--color-obsidian-button);
  transform: translateY(-2px);
}

.social-card:focus-visible {
  outline: 2px solid var(--color-cobalt);
  outline-offset: 2px;
}

.social-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.social-icon-tile {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 10px;
  background: var(--color-obsidian-button);
  color: var(--color-ivory-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 160ms ease, color 160ms ease;
}

.social-card:hover .social-icon-tile {
  background: var(--color-cobalt);
  color: var(--color-pure-white);
}

.social-icon-tile svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.social-card-meta {
  min-width: 0;
}

.social-card-title {
  font-size: 15px;
  font-weight: 530;
  color: var(--color-ivory-text);
  line-height: 1.25;
}

.social-card-handle {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(237, 237, 243, 0.68);
  word-break: break-word;
}

.social-card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-ash-text);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--color-obsidian-button);
  color: var(--color-ash-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.footer-social-btn:hover,
.footer-social-btn:focus-visible {
  background: var(--color-cobalt);
  color: var(--color-pure-white);
  transform: translateY(-1px);
  outline: none;
}

.footer-social-btn svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: currentColor;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 480;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ash-text);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-ivory-text);
  text-decoration: none;
  transition: color 140ms ease;
}

.footer-list a:hover {
  color: var(--color-pure-white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-disclaimer {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 480;
  letter-spacing: 0.01em;
  color: var(--color-ash-text);
}

/* Lightbox (Flat Mercury Graphite) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 16, 24, 0.9);
  backdrop-filter: blur(12px);
}

.lightbox-dialog {
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  background: var(--color-graphite-card);
  border-radius: var(--radius-cards);
  overflow: hidden;
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--hairline-slate);
}

.lightbox-counter {
  font-size: 13px;
  font-weight: 480;
  letter-spacing: 0.06em;
  color: var(--color-ivory-text);
  font-variant-numeric: tabular-nums;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #12121b;
  min-height: 260px;
  max-height: calc(100vh - 184px);
  overflow: hidden;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: calc(100vh - 184px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--hairline-slate);
}

.lightbox-caption {
  margin: 0;
  font-size: 14px;
  color: var(--color-ash-text);
}

.lightbox-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-buttons);
  background: var(--color-obsidian-button);
  color: var(--color-ivory-text);
  transition: background-color 140ms ease;
}

.icon-btn:hover {
  background: #343448;
}

/* Coffee Break Page & Spotlight Additions */
.hero--cb .hero-bg img {
  object-position: center 45%;
  filter: saturate(0.86) brightness(0.76) contrast(1.04);
}

.hero--cb .hero-wash {
  background:
    radial-gradient(ellipse 76% 54% at 50% 40%, rgba(23, 23, 33, 0.72) 0%, rgba(23, 23, 33, 0.34) 70%, rgba(23, 23, 33, 0.16) 100%),
    linear-gradient(180deg, rgba(23, 23, 33, 0.74) 0%, rgba(23, 23, 33, 0.38) 42%, rgba(23, 23, 33, 0.48) 74%, var(--color-onyx-canvas) 100%);
}

.hero-logo-title {
  margin: 0;
  line-height: 1;
}

.hero-logo-img {
  width: clamp(220px, 34vw, 310px);
  height: auto;
  margin-inline: auto;
}

.cb-spec-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 0 0 26px;
  padding: 12px 0;
  border-top: 1px solid var(--hairline-slate);
  border-bottom: 1px solid var(--hairline-slate);
  font-variant-numeric: tabular-nums;
}

.cb-spec-item {
  font-size: 13px;
  font-weight: 480;
  letter-spacing: 0.01em;
  color: var(--color-ivory-text);
}

.cb-spec-item + .cb-spec-item {
  padding-left: 18px;
  border-left: 1px solid var(--hairline-slate);
}

.cb-feature-frame {
  background: var(--color-graphite-card);
  border-radius: var(--radius-cards);
  overflow: hidden;
}

.cb-feature-frame .shot-trigger {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.cb-feature-frame .video-bar {
  border-top: 1px solid var(--hairline-slate);
}

.cb-inspect-label {
  flex-shrink: 0;
  white-space: nowrap;
}

.venues-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.venue-step {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.venue-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline-slate);
}

.venue-cap {
  font-size: 12px;
  font-weight: 480;
  color: var(--color-ash-text);
  font-variant-numeric: tabular-nums;
}

.arcade-prototype--link {
  text-decoration: none;
  transition: background-color 150ms ease;
}

.arcade-prototype--link:hover {
  background: #303042;
}

/* 404 */
.error-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 72px;
}

.error-panel {
  max-width: 580px;
}

/* Responsive */
@media (max-width: 980px) {
  .gameplay-split,
  .studio-press-grid,
  .arcade-card,
  .steam-flagship-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .arcade-logo-box {
    justify-content: flex-start;
  }

  .pillars-grid,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .venues-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .arcade-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-actions .lang-switch,
  .nav-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  :root {
    --container: calc(100% - 32px);
  }

  .hero {
    min-height: 640px;
    padding: 104px 16px 24px;
  }

  .hero-bg img {
    object-position: 62% 48%;
  }

  .page-hero-compact {
    padding: 108px 0 40px;
  }

  .arcade-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .arcade-hero-mark {
    width: 112px;
  }

  .section {
    padding: 56px 0;
  }

  .graphite-card,
  .steam-flagship-body {
    padding: 24px 20px;
  }

  .steam-pipeline-banner {
    padding: 22px 20px;
  }

  .gallery-grid,
  .steam-grid,
  .projects-grid,
  .arcade-catalog-grid,
  .venues-rail,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cb-spec-row {
    gap: 8px 14px;
  }

  .cb-spec-item + .cb-spec-item {
    padding-left: 14px;
  }

  .project-body,
  .arcade-game-body {
    padding: 22px 20px 24px;
  }

  .fact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .fused-bar {
    flex-direction: column;
    gap: 10px;
  }

  .fused-input {
    flex: none;
    height: 46px;
    width: 100%;
    border-right: 1px solid var(--color-ivory-text);
    border-radius: var(--radius-inputs);
  }

  .fused-submit {
    width: 100%;
    border-radius: var(--radius-buttons);
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
