:root {
  color-scheme: dark;
  --bg: #060607;
  --bg-soft: #09090b;
  --surface: rgba(17, 17, 20, 0.86);
  --surface-solid: #111114;
  --surface-raised: #17171b;
  --surface-hover: #1d1d22;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f7f5f1;
  --text-soft: #c1bdb7;
  --muted: #8f8c88;
  --accent: #ff7a1a;
  --accent-bright: #ff9a3c;
  --accent-soft: #ffc266;
  --accent-rgb: 255, 122, 26;
  --accent-2: #ffb347;
  --accent-2-rgb: 255, 179, 71;
  --positive: #41d982;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --header-h: 78px;
  --container: 1240px;
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html[data-theme="midnight"] {
  --bg: #050609;
  --bg-soft: #080a10;
  --surface: rgba(15, 17, 26, 0.88);
  --surface-solid: #0f111a;
  --surface-raised: #151827;
  --surface-hover: #1b1f32;
  --line: rgba(132, 149, 255, 0.11);
  --line-strong: rgba(132, 149, 255, 0.2);
  --text: #f6f7ff;
  --text-soft: #c2c7dc;
  --muted: #8e95ad;
  --accent: #5865f2;
  --accent-bright: #7784ff;
  --accent-soft: #a9b2ff;
  --accent-rgb: 88, 101, 242;
  --accent-2: #45a5ff;
  --accent-2-rgb: 69, 165, 255;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), .055), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color .45s ease, color .45s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  opacity: .17;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

::selection { background: rgba(var(--accent-rgb), .36); color: #fff; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.06; letter-spacing: -.045em; }
h2 { font-size: clamp(2.45rem, 5vw, 4.9rem); }
h3 { letter-spacing: -.025em; }

:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 4px; }

.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-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-160%);
  padding: .75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { position: relative; padding: 130px 0; }
.text-gradient {
  background: linear-gradient(115deg, var(--accent-soft), var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-muted { color: #696764; }
html[data-theme="midnight"] .text-muted { color: #646c89; }

#starfield {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .72;
}

.page-aurora { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aurora { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .12; transition: background .5s ease; }
.aurora--one { width: 48vw; height: 48vw; min-width: 420px; min-height: 420px; background: var(--accent); top: -30vw; right: -8vw; animation: auroraDrift 13s ease-in-out infinite alternate; }
.aurora--two { width: 42vw; height: 42vw; min-width: 360px; min-height: 360px; background: var(--accent-2); top: 42%; left: -32vw; animation: auroraDrift 17s ease-in-out 2s infinite alternate-reverse; }
.aurora--three { width: 30vw; height: 30vw; min-width: 280px; min-height: 280px; background: var(--accent); bottom: -24vw; right: 5vw; opacity: .07; animation: auroraDrift 19s ease-in-out infinite alternate; }
@keyframes auroraDrift { to { transform: translate3d(8vw, 6vh, 0) scale(1.13); } }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 max(24px, 4vw);
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  height: 68px;
  background: rgba(6, 6, 7, .78);
  border-color: var(--line);
  backdrop-filter: blur(22px) saturate(1.4);
}
html[data-theme="midnight"] .site-header.is-scrolled { background: rgba(5, 6, 9, .8); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: var(--surface-solid);
  filter: drop-shadow(0 0 13px rgba(var(--accent-rgb), .2));
  transition: filter .35s ease, transform .35s var(--ease);
}
.brand__mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand:hover .brand__mark { transform: translateY(-1px); filter: drop-shadow(0 0 18px rgba(var(--accent-rgb), .32)); }
.brand__name { font-family: var(--font-display); font-weight: 500; font-size: 1.03rem; letter-spacing: -.03em; }
.brand__name strong { font-weight: 700; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2vw, 32px); margin-left: auto; }
.desktop-nav a {
  position: relative;
  color: var(--text-soft);
  font-size: .84rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color .2s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: right .3s var(--ease);
}
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--text); }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px 4px 7px;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.theme-toggle:hover { color: var(--text); border-color: var(--line-strong); background: rgba(var(--accent-rgb), .08); }
.theme-toggle__icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: rgba(var(--accent-rgb), .14); color: var(--accent-bright); }
.theme-toggle__icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle__icon--moon { display: none; }
html[data-theme="midnight"] .theme-toggle__icon--sun { display: none; }
html[data-theme="midnight"] .theme-toggle__icon--moon { display: grid; }
.theme-toggle__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.menu-toggle { display: none; position: relative; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.035); }
.menu-toggle > span:not(.sr-only) { position: absolute; left: 12px; width: 17px; height: 1.5px; background: var(--text); transition: transform .25s ease, top .25s ease; }
.menu-toggle > span:first-child { top: 16px; }
.menu-toggle > span:nth-child(2) { top: 23px; }
.menu-toggle[aria-expanded="true"] > span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { top: 20px; transform: rotate(-45deg); }
.mobile-menu { display: none; }

/* Reusable UI */
.eyebrow, .section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--accent-bright);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow__star { font-size: 1rem; animation: starPulse 2s ease-in-out infinite; }
@keyframes starPulse { 50% { filter: drop-shadow(0 0 9px var(--accent)); transform: scale(1.15) rotate(10deg); } }
.section-kicker::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: -.01em;
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-3px); }
.button--primary { color: #fff; background: linear-gradient(120deg, var(--accent), var(--accent-2)); box-shadow: 0 11px 34px rgba(var(--accent-rgb), .28), inset 0 1px rgba(255,255,255,.28); }
.button--primary:hover { box-shadow: 0 16px 44px rgba(var(--accent-rgb), .4), inset 0 1px rgba(255,255,255,.28); }
.button--ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.button--ghost:hover { border-color: rgba(var(--accent-rgb), .5); background: rgba(var(--accent-rgb), .07); }
.button--wide { width: 100%; border: 0; }
.button__play { width: 23px; height: 23px; display: grid; place-items: center; padding-left: 2px; border-radius: 50%; background: rgba(255,255,255,.19); font-size: .6rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft); background: rgba(255,255,255,.03); font-size: .72rem; font-weight: 700; }
.tag--live { color: #75e7a4; border-color: rgba(65,217,130,.18); background: rgba(65,217,130,.08); }
.tag i, .live-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--positive); box-shadow: 0 0 10px var(--positive); }
.status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .12), 0 0 18px rgba(var(--accent-rgb), .55); }
.status-dot.is-live { background: var(--positive); box-shadow: 0 0 0 5px rgba(65,217,130,.12), 0 0 18px rgba(65,217,130,.55); }
.glass-card { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.section-heading { margin-bottom: 64px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .65fr); gap: 9%; align-items: end; }
.section-heading__copy { max-width: 520px; margin: 0 0 10px; color: var(--text-soft); font-size: 1.08rem; }
.section-heading--center { max-width: 800px; margin-inline: auto; text-align: center; }
.section-heading--center .section-kicker { justify-content: center; }
.section-heading--center .section-kicker::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.section-heading--center > p:last-child { max-width: 650px; margin: 24px auto 0; color: var(--text-soft); font-size: 1.06rem; }

/* Home hero */
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 86px) 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 190px; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
.hero__rings { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-ring { position: absolute; display: block; border: 1px solid rgba(var(--accent-rgb), .15); border-radius: 50%; box-shadow: 0 0 40px rgba(var(--accent-rgb), .045), inset 0 0 30px rgba(var(--accent-rgb), .025); }
.hero-ring--one { width: 120vw; height: 38vw; min-height: 460px; left: -53vw; top: 13%; transform: rotate(-19deg); animation: ringFloat 11s ease-in-out infinite alternate; }
.hero-ring--two { width: 95vw; height: 27vw; min-height: 330px; right: -38vw; top: 26%; transform: rotate(26deg); border-color: rgba(var(--accent-2-rgb), .19); animation: ringFloat 14s ease-in-out 1s infinite alternate-reverse; }
.hero-ring--three { width: 78vw; height: 20vw; min-height: 260px; left: 25vw; bottom: 8%; transform: rotate(-8deg); opacity: .5; }
@keyframes ringFloat { to { translate: 1.5vw -1.5vh; scale: 1.025; } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(430px, .75fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__title { max-width: 820px; margin-bottom: 28px; font-size: clamp(3.6rem, 7.3vw, 7.25rem); line-height: .93; letter-spacing: -.065em; }
.hero__lede { max-width: 640px; margin-bottom: 34px; color: var(--text-soft); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__signal { display: flex; align-items: center; gap: 11px; margin-top: 32px; color: var(--muted); font-size: .77rem; }
.hero__signal strong { color: var(--text); }
.hero__signal-divider { width: 1px; height: 14px; margin: 0 4px; background: var(--line-strong); }
.hero__visual { position: relative; width: min(100%, 500px); justify-self: end; perspective: 1300px; }
.game-showcase {
  position: relative;
  z-index: 2;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 31px;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.022) 35%, rgba(var(--accent-rgb), .06));
  box-shadow: 0 40px 110px rgba(0,0,0,.62), 0 0 80px rgba(var(--accent-rgb), .08), inset 0 1px rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform .2s ease-out, border-color .3s ease;
  will-change: transform;
}
.game-showcase__chrome { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; color: var(--muted); font-family: var(--font-display); font-size: .65rem; font-weight: 700; letter-spacing: .14em; }
.live-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 999px; color: #77eaa6; background: rgba(65,217,130,.09); letter-spacing: .1em; }
.game-showcase__art { position: relative; display: block; overflow: hidden; aspect-ratio: 1; border-radius: 22px; background: var(--surface-raised); }
.game-showcase__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s ease; }
.game-showcase__art:hover img { transform: scale(1.045); filter: saturate(1.1); }
.game-showcase__shine { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 22%, rgba(255,255,255,.16) 45%, transparent 66%); transform: translateX(-120%); animation: cardShine 6s 2s ease-in-out infinite; }
@keyframes cardShine { 0%, 72% { transform: translateX(-120%); } 95%, 100% { transform: translateX(120%); } }
.game-showcase__launch { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(5,5,6,.66); backdrop-filter: blur(10px); font-size: 1.25rem; transition: transform .25s var(--ease), background .25s ease; }
.game-showcase__art:hover .game-showcase__launch { transform: rotate(9deg) scale(1.08); background: var(--accent); }
.game-showcase__content { padding: 22px 10px 10px; }
.game-showcase__content > p { margin-bottom: 8px; color: var(--accent-bright); font-size: .64rem; font-weight: 700; letter-spacing: .15em; }
.game-showcase__content h2 { margin-bottom: 20px; font-size: clamp(1.35rem, 2.2vw, 1.85rem); letter-spacing: -.035em; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-stats > div { padding: 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0,0,0,.18); }
.mini-stats span, .mini-stats strong { display: block; }
.mini-stats span { margin-bottom: 4px; color: var(--muted); font-size: .66rem; }
.mini-stats strong { font-family: var(--font-display); font-size: .92rem; }
.showcase-orbit { position: absolute; z-index: 0; inset: -15%; pointer-events: none; }
.showcase-orbit span { position: absolute; inset: 0; border: 1px solid rgba(var(--accent-rgb), .22); border-radius: 50%; transform: rotate(34deg) scaleY(.42); animation: orbitSpin 18s linear infinite; }
.showcase-orbit span:last-child { inset: 8%; border-style: dashed; border-color: rgba(var(--accent-2-rgb), .18); animation-direction: reverse; animation-duration: 24s; }
@keyframes orbitSpin { to { transform: rotate(394deg) scaleY(.42); } }
.floating-tag { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text-soft); background: rgba(10,10,12,.72); box-shadow: 0 12px 30px rgba(0,0,0,.35); backdrop-filter: blur(14px); font-size: .7rem; font-weight: 700; animation: tagFloat 4s ease-in-out infinite; }
.floating-tag span { color: var(--accent-bright); }
.floating-tag--one { left: -14%; top: 23%; }
.floating-tag--two { right: -5%; bottom: -2%; animation-delay: -2s; }
@keyframes tagFloat { 50% { transform: translateY(-9px); } }
.scroll-cue { position: absolute; left: max(24px, 4vw); bottom: 35px; display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .13em; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 42px; background: linear-gradient(transparent, var(--accent)); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 50% { transform: scaleY(.6); transform-origin: bottom; } }

/* Featured */
.featured { padding-top: 150px; background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .02) 48%, transparent); }
.feature-game {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, var(--surface-raised), rgba(var(--accent-rgb), .055));
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease;
}
.feature-game:hover { transform: translateY(-7px); border-color: rgba(var(--accent-rgb), .3); box-shadow: 0 38px 100px rgba(0,0,0,.55), 0 0 80px rgba(var(--accent-rgb), .06); }
.feature-game__art { position: relative; min-height: 100%; overflow: hidden; }
.feature-game__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(17,17,20,.72)); }
html[data-theme="midnight"] .feature-game__art::after { background: linear-gradient(90deg, transparent 60%, rgba(15,17,26,.72)); }
.feature-game__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feature-game:hover .feature-game__art img { transform: scale(1.035); }
.feature-game__index { position: absolute; z-index: 2; left: 26px; top: 26px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(10px); color: rgba(255,255,255,.62); font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.feature-game__index span { color: #fff; }
.feature-game__body { display: flex; flex-direction: column; justify-content: space-between; gap: 34px; padding: clamp(35px, 5vw, 70px); }
.feature-game__body h3 { max-width: 660px; margin: 20px 0 16px; font-size: clamp(2rem, 4vw, 3.5rem); }
.feature-game__body p { max-width: 620px; color: var(--text-soft); }
.feature-game__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--line); }
.feature-game__stats > div { padding: 18px 16px; background: rgba(0,0,0,.28); }
.feature-game__stats span, .feature-game__stats strong { display: block; }
.feature-game__stats span { margin-bottom: 7px; color: var(--muted); font-size: .68rem; }
.feature-game__stats strong { font-family: var(--font-display); font-size: 1.25rem; }
.feature-game__cta { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; }
.feature-game__cta b { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); transition: transform .25s var(--ease); }
.feature-game:hover .feature-game__cta b { transform: rotate(10deg) scale(1.08); }
.center-action { display: flex; justify-content: center; margin-top: 45px; }
.text-link, .arrow-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.text-link span, .arrow-link span { color: var(--accent-bright); transition: transform .2s var(--ease); }
.text-link:hover span, .arrow-link:hover span { transform: translateX(4px); }

/* About */
.about { overflow: hidden; }
.about::before { content: ""; position: absolute; top: 12%; left: 50%; width: 1px; height: 43%; background: linear-gradient(transparent, rgba(var(--accent-rgb), .25), transparent); opacity: .45; }
.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, .7fr); gap: 11%; align-items: center; }
.about__intro h2 { margin-bottom: 30px; }
.about__statement { max-width: 680px; color: var(--text-soft); font-size: clamp(1.2rem, 2.1vw, 1.75rem); line-height: 1.45; letter-spacing: -.025em; }
.about__story { position: relative; padding: clamp(30px, 5vw, 55px); border-radius: var(--radius); }
.about__story-number { position: absolute; right: 24px; top: 18px; color: rgba(var(--accent-rgb), .25); font-family: var(--font-display); font-size: 5rem; font-weight: 700; line-height: 1; }
.about__story p { position: relative; z-index: 1; color: var(--text-soft); font-size: 1.03rem; }
.about__story strong { color: var(--text); }
.about__story .arrow-link { margin-top: 15px; color: var(--text); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 105px; }
.value-card { position: relative; min-height: 270px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.022); transition: transform .3s var(--ease), border-color .3s ease, background .3s ease; }
.value-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .28); background: rgba(var(--accent-rgb), .045); }
.value-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -72px; bottom: -82px; border: 1px solid rgba(var(--accent-rgb), .16); border-radius: 50%; box-shadow: 0 0 45px rgba(var(--accent-rgb), .04); }
.value-card__icon { width: 47px; height: 47px; display: grid; place-items: center; margin-bottom: 55px; border-radius: 14px; color: var(--accent-bright); background: rgba(var(--accent-rgb), .11); font-family: var(--font-display); font-size: 1.35rem; }
.value-card__number { position: absolute; top: 31px; right: 30px; color: var(--muted); font-size: .67rem; font-weight: 700; letter-spacing: .12em; }
.value-card h3 { margin-bottom: 11px; font-size: 1.35rem; }
.value-card p { margin: 0; color: var(--muted); }

/* Acquisition */
.acquisition { background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .025) 48%, transparent); }
.acquisition-grid { max-width: 1040px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 auto 100px; }
.acquisition-card { min-height: 175px; display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 27px; border: 1px solid var(--line); border-radius: 21px; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); transition: transform .3s var(--ease), border-color .3s ease; }
.acquisition-card:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), .28); }
.acquisition-card__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 12px 28px rgba(var(--accent-rgb), .2); font-size: 1.3rem; }
.acquisition-card h3 { margin: 6px 0 9px; font-size: 1.14rem; }
.acquisition-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.pitch-panel { position: relative; display: grid; grid-template-columns: .75fr 1.05fr; gap: clamp(40px, 8vw, 100px); padding: clamp(38px, 7vw, 85px); overflow: hidden; border: 1px solid rgba(var(--accent-rgb), .22); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(var(--accent-rgb), .17), rgba(var(--accent-2-rgb), .045) 45%, rgba(255,255,255,.025)); box-shadow: 0 30px 90px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.1); }
.pitch-panel::before { content: ""; position: absolute; width: 450px; height: 450px; left: -250px; bottom: -300px; border: 1px solid rgba(var(--accent-rgb), .32); border-radius: 50%; box-shadow: 0 0 80px rgba(var(--accent-rgb), .1), inset 0 0 80px rgba(var(--accent-rgb), .05); }
.pitch-panel__copy { position: relative; align-self: center; }
.pitch-panel__copy h2 { margin-bottom: 25px; font-size: clamp(2.4rem, 4.4vw, 4.2rem); }
.pitch-panel__copy > p:not(.section-kicker) { color: var(--text-soft); }
.pitch-checklist { display: grid; gap: 13px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--text-soft); font-size: .91rem; }
.pitch-checklist span { width: 24px; height: 24px; display: inline-grid; place-items: center; margin-right: 9px; border-radius: 50%; color: var(--accent-soft); background: rgba(var(--accent-rgb), .13); font-size: .72rem; }
.pitch-form { position: relative; display: grid; gap: 15px; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line-strong); border-radius: 25px; background: rgba(7,7,8,.62); box-shadow: 0 24px 65px rgba(0,0,0,.35); backdrop-filter: blur(20px); }
html[data-theme="midnight"] .pitch-form { background: rgba(7,8,14,.68); }
.pitch-form label:not(.checkbox-label) { display: grid; gap: 8px; }
.pitch-form label > span { color: var(--text-soft); font-size: .76rem; font-weight: 700; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.pitch-form input, .pitch-form select, .pitch-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; outline: none; background: rgba(255,255,255,.045); color: var(--text); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.pitch-form input, .pitch-form select { height: 50px; padding: 0 14px; }
.pitch-form textarea { min-height: 120px; padding: 13px 14px; resize: vertical; }
.pitch-form select option { background: var(--surface-solid); }
.pitch-form input::placeholder, .pitch-form textarea::placeholder { color: #6d6b69; }
.pitch-form input:focus, .pitch-form select:focus, .pitch-form textarea:focus { border-color: rgba(var(--accent-rgb), .62); background: rgba(var(--accent-rgb), .035); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .08); }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.checkbox-label input { appearance: none; width: 18px; height: 18px; flex: 0 0 auto; margin: 1px 0 0; padding: 0; border: 1px solid var(--line-strong); border-radius: 5px; }
.checkbox-label input:checked { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2' d='m3 8 3 3 7-7'/%3E%3C/svg%3E") center/13px no-repeat; }
.form-note { margin: -2px 0 0; color: var(--muted); text-align: center; font-size: .68rem; }

.final-cta { padding-bottom: 150px; }
.final-cta__inner { position: relative; min-height: 500px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 60px 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 40%, rgba(var(--accent-rgb), .18), transparent 35%), linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); text-align: center; }
.final-cta__inner::before, .final-cta__inner::after { content: ""; position: absolute; width: 760px; height: 260px; border: 1px solid rgba(var(--accent-rgb), .19); border-radius: 50%; transform: rotate(-12deg); }
.final-cta__inner::after { width: 900px; height: 330px; border-color: rgba(var(--accent-2-rgb), .12); transform: rotate(16deg); }
.final-cta__star { position: relative; z-index: 1; width: 63px; height: 63px; display: grid; place-items: center; margin-bottom: 25px; border: 1px solid rgba(var(--accent-rgb), .3); border-radius: 20px; color: var(--accent-soft); background: rgba(var(--accent-rgb), .12); font-size: 1.7rem; box-shadow: 0 0 40px rgba(var(--accent-rgb), .12); }
.final-cta p { position: relative; z-index: 1; margin-bottom: 13px; color: var(--accent-bright); font-size: .7rem; font-weight: 700; letter-spacing: .17em; }
.final-cta h2 { position: relative; z-index: 1; margin-bottom: 33px; font-size: clamp(3rem, 6vw, 6rem); }
.final-cta__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Subpages */
.subhero { position: relative; min-height: 680px; display: grid; align-items: end; padding: calc(var(--header-h) + 120px) 0 110px; overflow: hidden; }
.subhero::after { content: ""; position: absolute; inset: auto 0 0; height: 230px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.subhero__inner { position: relative; z-index: 2; }
.back-link { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 70px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.back-link span { color: var(--accent-bright); transition: transform .2s ease; }
.back-link:hover span { transform: translateX(-4px); }
.subhero h1 { max-width: 960px; margin-bottom: 27px; font-size: clamp(3.9rem, 8.5vw, 8.7rem); line-height: .9; }
.subhero__lede { max-width: 650px; margin-bottom: 28px; color: var(--text-soft); font-size: 1.1rem; }
.subhero__orbit { position: absolute; inset: 0; pointer-events: none; }
.subhero__orbit span { position: absolute; width: 110vw; height: 36vw; min-height: 400px; left: 20%; top: 14%; border: 1px solid rgba(var(--accent-rgb), .16); border-radius: 50%; transform: rotate(-17deg); }
.subhero__orbit span:nth-child(2) { left: 35%; top: 2%; border-color: rgba(var(--accent-2-rgb), .15); transform: rotate(14deg) scale(.9); }
.subhero__orbit span:nth-child(3) { left: -65%; top: 30%; transform: rotate(19deg) scale(.75); }
.data-status { display: inline-flex; align-items: center; gap: 11px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); color: var(--text-soft); font-size: .76rem; }
.data-status__time { padding-left: 11px; border-left: 1px solid var(--line-strong); color: var(--muted); }
.portfolio-section { padding-top: 40px; }
.portfolio-header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 35px; }
.portfolio-header > div { display: flex; align-items: baseline; gap: 13px; }
.portfolio-header__count { color: var(--accent-bright); font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; letter-spacing: -.06em; }
.portfolio-header p { margin: 0; color: var(--muted); font-size: .82rem; }
.portfolio-game { display: grid; grid-template-columns: minmax(350px, .82fr) minmax(0, 1.18fr); min-height: 650px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--surface-raised), rgba(var(--accent-rgb), .035)); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .35s ease; }
.portfolio-game:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .33); }
.portfolio-game__visual { position: relative; min-height: 100%; display: grid; place-items: center; padding: clamp(35px, 6vw, 76px); overflow: hidden; background: radial-gradient(circle at center, rgba(var(--accent-rgb), .22), transparent 63%); }
.portfolio-game__visual::before, .portfolio-game__visual::after { content: ""; position: absolute; width: 110%; aspect-ratio: 1; border: 1px solid rgba(var(--accent-rgb), .16); border-radius: 50%; animation: orbitSpin 25s linear infinite; }
.portfolio-game__visual::after { width: 82%; border-style: dashed; border-color: rgba(var(--accent-2-rgb), .2); animation-direction: reverse; }
.portfolio-game__visual img { position: relative; z-index: 2; width: min(100%, 480px); aspect-ratio: 1; object-fit: cover; border-radius: 28%; box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 70px rgba(var(--accent-rgb), .13); transition: transform .6s var(--ease), border-radius .6s var(--ease); }
.portfolio-game:hover .portfolio-game__visual img { transform: scale(1.035) rotate(-1.5deg); border-radius: 22%; }
.portfolio-game__number { position: absolute; z-index: 3; left: 26px; top: 26px; color: var(--text-soft); font-size: .66rem; font-weight: 700; letter-spacing: .15em; }
.portfolio-game__glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--accent); filter: blur(120px); opacity: .14; }
.portfolio-game__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 80px); }
.portfolio-game__content h2 { margin: 24px 0 18px; font-size: clamp(2.5rem, 5vw, 5rem); }
.portfolio-game__content > p { max-width: 660px; color: var(--text-soft); font-size: 1.05rem; }
.portfolio-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 35px 0; }
.portfolio-stats > div { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.2); }
.portfolio-stats span, .portfolio-stats strong, .portfolio-stats small { display: block; }
.portfolio-stats span { color: var(--muted); font-size: .7rem; }
.portfolio-stats strong { margin: 4px 0 1px; font-family: var(--font-display); font-size: 1.7rem; }
.portfolio-stats small { color: var(--muted); font-size: .66rem; }
.portfolio-game__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 700; }
.portfolio-game__footer b { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); transition: transform .3s var(--ease); }
.portfolio-game:hover .portfolio-game__footer b { transform: rotate(10deg) scale(1.08); }
.portfolio-notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 25px; }
.info-panel { display: grid; grid-template-columns: 48px 1fr; gap: 19px; padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.022); }
.info-panel__icon { width: 47px; height: 47px; display: grid; place-items: center; border-radius: 14px; color: var(--accent-bright); background: rgba(var(--accent-rgb), .1); font-size: 1.2rem; }
.info-panel h3 { margin: 2px 0 8px; font-size: 1.12rem; }
.info-panel p { margin: 0; color: var(--muted); font-size: .87rem; }
.next-slot { display: grid; grid-template-columns: 130px 1fr auto; gap: 38px; align-items: center; margin-top: 100px; padding: 45px; border: 1px dashed rgba(var(--accent-rgb), .3); border-radius: var(--radius); background: rgba(var(--accent-rgb), .03); }
.next-slot__mark { width: 110px; height: 110px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 28px; color: var(--accent-bright); background: rgba(255,255,255,.025); font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; }
.next-slot h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); }

/* Careers */
.career-hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 90px) 0 100px; overflow: hidden; }
.career-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 220px; background: linear-gradient(transparent, var(--bg)); }
.career-hero__inner { position: relative; z-index: 2; max-width: 940px; text-align: center; }
.career-hero__inner .section-kicker { justify-content: center; }
.career-hero__inner .section-kicker::after { content: ""; width: 28px; height: 1px; background: var(--accent-2); }
.career-hero__badge { width: 75px; height: 75px; display: grid; place-items: center; margin: 0 auto 28px; border: 1px solid rgba(var(--accent-rgb), .32); border-radius: 22px; color: var(--accent-soft); background: rgba(var(--accent-rgb), .12); box-shadow: 0 0 50px rgba(var(--accent-rgb), .15); font-size: 2rem; }
.career-hero h1 { margin-bottom: 25px; font-size: clamp(4rem, 9vw, 8.6rem); line-height: .91; }
.career-hero__inner > p:not(.section-kicker) { max-width: 710px; margin: 0 auto 33px; color: var(--text-soft); font-size: 1.14rem; }
.career-hero__lines { position: absolute; inset: 0; }
.career-hero__lines span { position: absolute; width: 130vw; height: 30vw; min-height: 350px; left: -15vw; top: 26%; border: 1px solid rgba(var(--accent-rgb), .17); border-radius: 50%; transform: rotate(7deg); animation: ringFloat 15s ease-in-out infinite alternate; }
.career-hero__lines span:nth-child(2) { top: 32%; border-color: rgba(var(--accent-2-rgb), .16); transform: rotate(-12deg) scale(.82); animation-delay: -5s; }
.career-hero__lines span:nth-child(3) { top: 20%; transform: rotate(22deg) scale(.68); animation-direction: alternate-reverse; }
.career-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.career-value { min-height: 250px; padding: 31px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.022); transition: transform .3s var(--ease), border-color .3s ease; }
.career-value:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .3); }
.career-value > span { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 47px; border-radius: 15px; color: var(--accent-bright); background: rgba(var(--accent-rgb), .11); font-size: 1.35rem; }
.career-value h3 { margin-bottom: 12px; font-size: 1.35rem; }
.career-value p { margin: 0; color: var(--muted); }
.opportunities { background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .018), transparent); }
.roles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.role-card { --role: var(--accent); position: relative; min-height: 440px; display: flex; flex-direction: column; padding: 31px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.014)); transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease; }
.role-card::before { content: ""; position: absolute; width: 260px; height: 260px; top: -175px; left: -110px; border-radius: 50%; background: var(--role); filter: blur(70px); opacity: .1; }
.role-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--role) 35%, transparent); box-shadow: 0 26px 70px rgba(0,0,0,.35); }
.role-card--orange { --role: #ff713d; }
.role-card--gold { --role: #ffb82e; }
.role-card--violet { --role: #a35cff; }
.role-card--blue { --role: #3da8ff; }
.role-card__top { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 42px; }
.role-card__icon { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: var(--role); box-shadow: 0 13px 28px color-mix(in srgb, var(--role) 20%, transparent); font-family: var(--font-display); font-weight: 700; }
.role-card__type { padding: 7px 10px; border: 1px solid color-mix(in srgb, var(--role) 22%, transparent); border-radius: 999px; color: color-mix(in srgb, var(--role) 75%, white); background: color-mix(in srgb, var(--role) 8%, transparent); font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.role-card h3 { margin-bottom: 12px; font-size: 1.7rem; }
.role-card > p { color: var(--text-soft); }
.role-card ul { display: grid; gap: 9px; margin: 7px 0 30px; padding: 0; list-style: none; color: var(--muted); font-size: .84rem; }
.role-card li::before { content: "•"; margin-right: 9px; color: var(--role); }
.role-card > a { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 15px 17px; border-radius: 13px; color: #fff; background: var(--role); font-weight: 700; font-size: .85rem; transition: filter .2s ease, transform .2s ease; }
.role-card > a:hover { filter: brightness(1.1); transform: translateY(-2px); }
.process-list { max-width: 980px; display: grid; margin: 0 auto; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 35px 0; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--accent-bright); font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.process-list h3 { margin-bottom: 9px; font-size: 1.4rem; }
.process-list p { max-width: 620px; margin: 0; color: var(--muted); }
.talent-cta { display: flex; align-items: center; justify-content: space-between; gap: 50px; margin-top: 100px; padding: clamp(35px, 6vw, 70px); border: 1px solid rgba(var(--accent-rgb), .23); border-radius: var(--radius-lg); background: radial-gradient(circle at 0 100%, rgba(var(--accent-rgb), .16), transparent 37%), rgba(255,255,255,.025); }
.talent-cta h2 { margin-bottom: 14px; font-size: clamp(2.4rem, 4vw, 4rem); }
.talent-cta > div > p:last-child { max-width: 570px; margin: 0; color: var(--text-soft); }
.talent-cta .button { flex: 0 0 auto; }

/* Footer */
.site-footer { position: relative; border-top: 1px solid var(--line); background: rgba(5,5,6,.7); }
html[data-theme="midnight"] .site-footer { background: rgba(5,6,9,.75); }
.site-footer__top { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; padding-top: 70px; padding-bottom: 65px; }
.footer-brand > p { max-width: 310px; margin: 20px 0 0; color: var(--muted); font-size: .85rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.footer-links > div { display: grid; align-content: start; gap: 12px; }
.footer-links h3 { margin-bottom: 7px; color: var(--text); font-family: var(--font-body); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { color: var(--muted); font-size: .83rem; transition: color .2s ease; }
.footer-links a:hover { color: var(--text); }
.site-footer__bottom { display: flex; justify-content: space-between; padding-top: 23px; padding-bottom: 23px; border-top: 1px solid var(--line); color: #686765; font-size: .7rem; }

.toast { position: fixed; z-index: 300; right: 24px; bottom: 24px; max-width: min(420px, calc(100vw - 48px)); padding: 14px 18px; border: 1px solid rgba(var(--accent-rgb), .25); border-radius: 13px; background: rgba(17,17,20,.92); color: var(--text); box-shadow: var(--shadow); backdrop-filter: blur(15px); font-size: .84rem; transform: translateY(25px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .3s ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }

/* Scroll reveals */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js [data-reveal][data-delay="1"] { transition-delay: .09s; }
.js [data-reveal][data-delay="2"] { transition-delay: .18s; }
.js [data-reveal][data-delay="3"] { transition-delay: .27s; }
.js [data-reveal][data-delay="4"] { transition-delay: .36s; }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1150px) {
  .desktop-nav { gap: 17px; }
  .desktop-nav a { font-size: .78rem; }
  .theme-toggle__label { display: none; }
  .theme-toggle { padding-right: 6px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(380px, .7fr); gap: 50px; }
  .feature-game { grid-template-columns: .78fr 1.22fr; }
  .feature-game__stats { grid-template-columns: repeat(2, 1fr); }
  .portfolio-game { grid-template-columns: minmax(330px, .75fr) 1.25fr; }
}

@media (max-width: 940px) {
  :root { --header-h: 70px; }
  .container { width: min(var(--container), calc(100% - 36px)); }
  .section { padding: 100px 0; }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .theme-toggle__label { display: inline; }
  .theme-toggle { padding-right: 11px; }
  .menu-toggle { display: block; }
  .mobile-menu {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    padding: 20px 24px 30px;
    border-bottom: 1px solid var(--line);
    background: rgba(6,6,7,.96);
    backdrop-filter: blur(20px);
    transform: translateY(-125%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s var(--ease), opacity .25s ease;
  }
  html[data-theme="midnight"] .mobile-menu { background: rgba(5,6,9,.97); }
  .mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-menu a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
  .mobile-menu a span { color: var(--muted); font-family: var(--font-body); font-size: .65rem; letter-spacing: .12em; }
  body.menu-open { overflow: hidden; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 105px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero__copy .eyebrow, .hero__actions, .hero__signal { justify-content: center; }
  .hero__title, .hero__lede { margin-inline: auto; }
  .hero__visual { width: min(540px, 87vw); margin-top: 45px; justify-self: center; }
  .game-showcase { transform: none; }
  .floating-tag--one { left: -5%; }
  .floating-tag--two { right: -5%; }
  .scroll-cue { display: none; }
  .section-heading--split { grid-template-columns: 1fr; gap: 24px; }
  .feature-game { grid-template-columns: 1fr; }
  .feature-game__art { min-height: 470px; }
  .feature-game__art::after { background: linear-gradient(180deg, transparent 60%, var(--surface-raised)); }
  html[data-theme="midnight"] .feature-game__art::after { background: linear-gradient(180deg, transparent 60%, var(--surface-raised)); }
  .about__grid { grid-template-columns: 1fr; gap: 55px; }
  .about::before { display: none; }
  .values-grid { margin-top: 70px; }
  .value-card { min-height: 250px; }
  .pitch-panel { grid-template-columns: 1fr; }
  .pitch-panel__copy { max-width: 670px; }
  .portfolio-game { grid-template-columns: 1fr; }
  .portfolio-game__visual { min-height: 600px; }
  .portfolio-game__visual img { width: min(65vw, 480px); }
  .next-slot { grid-template-columns: 100px 1fr; }
  .next-slot__mark { width: 90px; height: 90px; }
  .next-slot .button { grid-column: 1 / -1; justify-self: start; }
  .career-hero { min-height: 880px; }
  .talent-cta { align-items: flex-start; flex-direction: column; }
  .site-footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --radius-lg: 27px; }
  body { font-size: 15px; }
  .container { width: min(var(--container), calc(100% - 28px)); }
  .section { padding: 82px 0; }
  .site-header { padding-inline: 16px; }
  .brand__name { font-size: .95rem; }
  .brand__mark { width: 34px; height: 34px; border-radius: 10px; }
  .theme-toggle__label { display: none; }
  .theme-toggle { padding-right: 6px; }
  .hero { padding-top: calc(var(--header-h) + 76px); padding-bottom: 80px; }
  .hero__title { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero__lede { font-size: 1rem; }
  .hero__actions .button { width: 100%; }
  .hero__signal { flex-wrap: wrap; }
  .hero__visual { width: 94vw; max-width: 470px; }
  .floating-tag { display: none; }
  .game-showcase { border-radius: 25px; }
  .game-showcase__art { border-radius: 17px; }
  .mini-stats > div { padding: 10px 8px; }
  .section-heading { margin-bottom: 45px; }
  .section-heading h2 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .feature-game__art { min-height: 0; aspect-ratio: 1; }
  .feature-game__body { padding: 28px 22px 24px; }
  .feature-game__stats { grid-template-columns: repeat(2, 1fr); }
  .feature-game__stats > div { padding: 15px 12px; }
  .values-grid, .career-values, .roles-grid, .acquisition-grid, .portfolio-notes { grid-template-columns: 1fr; }
  .value-card__icon { margin-bottom: 42px; }
  .acquisition-grid { margin-bottom: 70px; }
  .acquisition-card { grid-template-columns: 48px 1fr; padding: 22px; }
  .acquisition-card__icon { width: 48px; height: 48px; }
  .pitch-panel { padding: 25px 17px; }
  .pitch-form { padding: 21px 17px; }
  .form-row { grid-template-columns: 1fr; }
  .final-cta__inner { min-height: 440px; }
  .final-cta__actions { width: 100%; }
  .final-cta__actions .button { width: 100%; }
  .subhero { min-height: 650px; padding-top: calc(var(--header-h) + 70px); padding-bottom: 75px; }
  .back-link { margin-bottom: 45px; }
  .subhero h1 { font-size: clamp(3.25rem, 16.5vw, 5.8rem); }
  .data-status { align-items: flex-start; flex-wrap: wrap; border-radius: 16px; }
  .data-status__time { width: 100%; padding: 8px 0 0 19px; border-top: 1px solid var(--line); border-left: 0; }
  .portfolio-section { padding-top: 15px; }
  .portfolio-header { align-items: flex-start; gap: 20px; }
  .portfolio-header > p { max-width: 150px; text-align: right; }
  .portfolio-game__visual { min-height: 0; aspect-ratio: 1; padding: 50px; }
  .portfolio-game__visual img { width: 100%; }
  .portfolio-game__content { padding: 29px 22px 25px; }
  .portfolio-game__content h2 { font-size: 2.35rem; }
  .portfolio-stats { grid-template-columns: repeat(2, 1fr); }
  .portfolio-stats > div { padding: 15px 13px; }
  .portfolio-stats strong { font-size: 1.35rem; }
  .next-slot { grid-template-columns: 1fr; margin-top: 70px; padding: 28px 23px; }
  .next-slot__mark { width: 75px; height: 75px; border-radius: 22px; }
  .next-slot .button { width: 100%; }
  .career-hero { min-height: 780px; }
  .career-hero h1 { font-size: clamp(3.4rem, 16vw, 5.4rem); }
  .career-value { min-height: 230px; }
  .role-card { min-height: 420px; padding: 25px; }
  .process-list li { grid-template-columns: 55px 1fr; gap: 14px; }
  .talent-cta { margin-top: 70px; padding: 29px 22px; }
  .talent-cta .button { width: 100%; }
  .site-footer__top { gap: 50px; padding-top: 55px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); row-gap: 45px; }
  .footer-links > div:last-child { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: column; gap: 7px; }
}

@media (max-width: 430px) {
  .hero__title { font-size: 3.2rem; }
  .hero__visual { width: calc(100vw - 20px); }
  .game-showcase { padding: 8px; }
  .game-showcase__chrome { height: 38px; }
  .game-showcase__content { padding: 18px 6px 6px; }
  .feature-game__stats, .portfolio-stats { grid-template-columns: 1fr 1fr; }
  .pitch-panel__copy h2 { font-size: 2.45rem; }
  .theme-toggle { width: 38px; padding: 4px; justify-content: center; }
  .theme-toggle__icon { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  #starfield { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
