/* Stones Games — dark cinematic landing */
:root {
  --bg: #0a0a0b;
  --bg-raised: #101012;
  --bg-card: #141417;
  --line: #1f1f24;
  --line-strong: #2a2a31;
  --fg: #f4f1ea;
  --fg-dim: #9a968d;
  --fg-mute: #5a5751;
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --hazard: #f59e0b;
  --danger: #dc2626;
  --success: #10b981;
  --grain-opacity: 0.06;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { background: var(--bg); color: var(--fg); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } .cursor-dot, .cursor-ring { display: none !important; } }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: none; color: inherit; background: none; border: 0; }
img, svg { display: block; max-width: 100%; }

/* grain overlay */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1000;
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* scanlines subtle */
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.008) 0 1px, transparent 1px 3px);
}

/* ------------- cursor ------------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: 10000; border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--accent); mix-blend-mode: difference; }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid var(--fg);
  mix-blend-mode: difference;
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}
.cursor-ring.hovered {
  width: 54px; height: 54px; background: rgba(245,158,11,0.2); border-color: var(--accent);
}

/* ------------- nav ------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 100;
  mix-blend-mode: normal;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,11,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  display: flex; align-items: center; gap: 10px;
  text-transform: uppercase;
}
.logo-mark {
  width: 64px; height: 64px;
  position: relative;
  background-image: url("assets/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.18));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.05);
  filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.4));
}

.nav-links { display: flex; gap: 32px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-dim); }
.nav-links a { position: relative; transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }
.nav-links a::before { content: attr(data-index); color: var(--fg-mute); margin-right: 6px; font-size: 10px; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid var(--line-strong);
  display: inline-flex; gap: 10px; align-items: center;
  transition: all 0.25s;
}
.nav-cta:hover { background: var(--accent); color: #0a0a0b; border-color: var(--accent); }
.nav-cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }

/* ------------- utility ------------- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.hero .eyebrow { margin-top: 0; margin-bottom: clamp(20px, 3vh, 36px); }
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--accent);
}
.section-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-mute);
}

/* placeholder graphics */
.placeholder {
  position: relative; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(245,158,11,0.04) 18px 20px),
    linear-gradient(135deg, #17171a 0%, #0e0e10 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 14px;
}
.placeholder::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(245,158,11,0.08) 0%, transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(220,38,38,0.06) 0%, transparent 50%);
}
.placeholder-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-mute);
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 8px;
}
.placeholder-label::before {
  content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}
.placeholder-meta {
  font-family: var(--font-mono); font-size: 10px; color: var(--fg-mute); position: relative; z-index: 1;
}

.corner-ticks { position: absolute; inset: 10px; pointer-events: none; z-index: 2; }
.corner-ticks::before, .corner-ticks::after,
.corner-ticks > span::before, .corner-ticks > span::after {
  content: ""; position: absolute; width: 12px; height: 12px; border-color: var(--fg-dim); border-style: solid; border-width: 0;
}
.corner-ticks::before { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.corner-ticks::after  { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.corner-ticks > span::before { content: ""; bottom: 0; left: 0; top: auto; border-bottom-width: 1px; border-left-width: 1px; }
.corner-ticks > span::after  { content: ""; bottom: 0; right: 0; top: auto; border-bottom-width: 1px; border-right-width: 1px; }

/* ------------- hero ------------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  max-height: 100vh;
  max-height: 100svh;
  padding: clamp(56px, 8vh, 96px) 40px clamp(14px, 2.5vh, 28px);
  overflow: hidden;
  display: flex; flex-direction: column;
  gap: clamp(8px, 1.5vh, 20px);
}
@media (max-height: 680px) {
  .hero .hero-sub { display: none; }
}
@media (max-height: 560px) {
  .hero .hero-bottom { display: none; }
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-bg .art {
  position: absolute; inset: -5% -5%;
  will-change: transform;
}
.hero-bg .vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(10,10,11,0.4) 50%, var(--bg) 90%),
    linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
}
.hero-bg .hazard-wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(245,158,11,0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(220,38,38,0.10) 0%, transparent 40%);
  mix-blend-mode: screen;
}

.hero-content { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; width: 100%; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; min-height: 0; }
.hero-top { display: flex; justify-content: space-between; gap: 40px; margin-bottom: clamp(16px, 3vh, 48px); flex-shrink: 0; }
@media (max-height: 720px) {
  .hero-top { display: none; }
}
.hero-coord { font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute); letter-spacing: 0.15em; text-transform: uppercase; }
.hero-coord span { color: var(--fg-dim); }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, min(5.5vw, 7.5vh), 84px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: clamp(8px, 1.5vh, 20px);
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .italic { font-style: italic; font-weight: 300; color: var(--fg-dim); }
.hero h1 .accent { color: var(--accent); }

.hero-sub {
  max-width: 520px;
  font-size: clamp(12px, 1.4vh, 16px); line-height: 1.45; color: var(--fg-dim);
  margin-bottom: clamp(20px, 2.8vh, 36px);
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: clamp(10px, 1.6vh, 14px) clamp(16px, 2.2vw, 22px);
  font-family: var(--font-mono); font-size: clamp(11px, 1.2vh, 12px); letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line-strong);
  transition: all 0.25s ease;
  overflow: hidden;
}
.btn .arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #0a0a0b; border-color: var(--accent); }
.btn-primary:hover { background: #fbbf24; border-color: #fbbf24; }
.btn-ghost:hover { background: var(--bg-card); border-color: var(--fg-dim); }

.hero-bottom {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto; width: 100%;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  padding-top: clamp(10px, 1.8vh, 20px);
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
@media (max-height: 720px) {
  .hero-bottom .scroll-hint { display: none; }
}
.hero-stats {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 0;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
}
.hero-stats .stat {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 clamp(14px, 2vw, 32px);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-stats .stat:first-child { padding-left: 0; border-left: 0; }
.stat .n { font-family: var(--font-display); font-size: clamp(20px, 2.8vh, 30px); font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.stat .n .accent { color: var(--accent); }
.stat .l { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-mute); margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 980px) {
  .hero-stats { flex-wrap: wrap !important; }
  .hero-stats .stat { flex: 1 1 45%; padding: 8px 12px; border-left: 0; border-top: 1px solid var(--line); }
  .hero-stats .stat:first-child { padding-left: 12px; border-top: 0; }
}

.scroll-hint {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--fg-mute);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.scroll-hint .line { width: 1px; height: clamp(20px, 3vh, 40px); background: linear-gradient(to bottom, var(--accent), transparent); animation: drop 2s infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.01% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ------------- section base ------------- */
.section { padding: 140px 40px; position: relative; }
.section-head {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; margin-bottom: 80px;
  align-items: end;
}
.section-head h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 5.5vw, 80px); line-height: 1; letter-spacing: -0.03em;
}
.section-head h2 .italic { font-style: italic; color: var(--fg-dim); font-weight: 300; }
.section-head p { max-width: 380px; color: var(--fg-dim); font-size: 15px; }
.section-number {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute);
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 16px;
}

/* ------------- flagship ------------- */
.flagship { background: #070708; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.flagship::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; height: 1px; background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.flagship-hero {
  position: relative;
  aspect-ratio: 21 / 9;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 60px;
  cursor: none;
}
.flagship-hero .placeholder-big {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0 40px, rgba(245,158,11,0.03) 40px 42px),
    radial-gradient(ellipse at 30% 60%, rgba(220,38,38,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 40%, rgba(245,158,11,0.18) 0%, transparent 45%),
    linear-gradient(180deg, #1a0f0a 0%, #0a0a0b 100%);
}
.flagship-hero .bio-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(245,158,11,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245,158,11,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.flagship-hero .play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10,10,11,0.4);
  backdrop-filter: blur(8px);
  transition: all 0.3s;
  z-index: 3;
}
.flagship-hero .play-btn::before {
  content: ""; position: absolute; inset: -8px;
  border: 1px solid rgba(245,158,11,0.4); border-radius: 50%;
  animation: pulse-ring 2.4s infinite;
}
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.flagship-hero .play-btn:hover { background: var(--accent); border-color: var(--accent); }
.flagship-hero .play-btn:hover svg { fill: #0a0a0b; }
.flagship-hero .play-btn svg { fill: var(--fg); transition: fill 0.3s; margin-left: 6px; }
.flagship-hero .play-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 14px; color: var(--fg-dim); position: absolute; top: calc(50% + 70px); left: 50%; transform: translateX(-50%); z-index: 3; }

.flagship-hero .hud-tl, .flagship-hero .hud-br { position: absolute; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--fg-dim); z-index: 3; }
.flagship-hero .hud-tl { top: 20px; left: 20px; display: flex; gap: 20px; }
.flagship-hero .hud-tl .dot { width: 6px; height: 6px; background: var(--danger); border-radius: 50%; animation: blink 1.4s infinite; margin-right: 6px; display: inline-block; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0.2; } }
.flagship-hero .hud-br { bottom: 20px; right: 20px; }

.flagship-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; margin-bottom: 60px;
}
.flagship-title { font-family: var(--font-display); font-size: clamp(48px, 6vw, 96px); line-height: 0.9; letter-spacing: -0.03em; font-weight: 500; margin-bottom: 24px; }
.flagship-title .italic { font-style: italic; font-weight: 300; color: var(--fg-dim); }
.flagship-tagline { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.flagship-desc { font-size: 17px; color: var(--fg-dim); max-width: 560px; margin-bottom: 32px; line-height: 1.55; }
.flagship-meta {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px;
  padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.flagship-meta .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 6px; }
.flagship-meta .v { font-family: var(--font-display); font-size: 18px; color: var(--fg); }

.flagship-timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.3s, padding 0.3s;
}
.timeline-item:hover { background: var(--bg-card); padding-left: 16px; padding-right: 16px; }
.timeline-item .when { font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute); letter-spacing: 0.12em; text-transform: uppercase; }
.timeline-item .what { font-family: var(--font-display); font-size: 18px; color: var(--fg); }
.timeline-item .what .sub { display: block; font-family: var(--font-body); font-size: 13px; color: var(--fg-dim); margin-top: 4px; }
.timeline-item .status {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 4px 10px; border: 1px solid var(--line-strong);
}
.timeline-item .status.shipped { color: var(--success); border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.06); }
.timeline-item .status.live { color: var(--accent); border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.06); }
.timeline-item .status.dev { color: var(--fg-dim); border-color: var(--line-strong); }
.timeline-item .status .pulse { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; animation: blink 1.6s infinite; }

.flagship-screenshots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 60px; }
.flagship-screenshots .ph { aspect-ratio: 16/10; }

.shot-card {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.3s;
}
.shot-card:hover { border-color: var(--accent); }
.shot-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.5s ease;
}
.shot-card:hover .shot-img { transform: scale(1.04); }
.shot-overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,11,0.85) 100%);
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
}
.shot-card:hover .shot-overlay { opacity: 1; transform: translateY(0); }
.shot-card .corner-ticks { position: absolute; inset: 0; pointer-events: none; }

/* Games tabs (left) + panel (right) */
.games-tabs-layout {
  display: grid; grid-template-columns: 380px 1fr; gap: 40px;
  align-items: start;
}
.games-tabs {
  display: flex; flex-direction: column; gap: 12px;
  position: sticky; top: 100px;
}
.game-tab {
  position: relative;
  display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--fg);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  overflow: hidden;
}
.game-tab:hover { border-color: var(--fg-mute); }
.game-tab.active {
  border-color: var(--accent);
  background: var(--bg-raised);
}
.game-tab.active::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
}
.game-tab-thumb {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.game-tab-cover {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.4s;
}
.game-tab.active .game-tab-cover,
.game-tab:hover .game-tab-cover { transform: scale(1.06); }
.game-tab-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 9px; color: var(--fg-mute);
  letter-spacing: 0.12em; text-transform: uppercase;
  text-align: center; padding: 8px;
  background:
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(245,158,11,0.04) 8px 9px),
    var(--bg-card);
}
.game-tab-badge {
  position: absolute; top: 8px; left: 8px;
  font-family: var(--font-mono); font-size: 9px;
  padding: 3px 7px; letter-spacing: 0.12em; text-transform: uppercase;
}
.game-tab-badge.released { background: var(--accent); color: #0a0a0b; }
.game-tab-badge.production { background: #141417; color: var(--accent); border: 1px solid rgba(245,158,11,0.4); }
.game-tab-badge.dev { background: #141417; color: var(--fg-dim); border: 1px solid var(--line-strong); }
.game-tab-body {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  min-width: 0;
}
.game-tab-when {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase;
}
.game-tab-title {
  font-family: var(--font-display); font-size: 15px; font-weight: 500;
  color: var(--fg); line-height: 1.2;
  letter-spacing: -0.01em;
}
.game-tab-sub {
  font-size: 11px; color: var(--fg-dim); line-height: 1.4;
}
.game-tab-status {
  position: absolute; bottom: 12px; right: 14px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.game-tab-status .pulse {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; animation: blink 1.6s infinite;
}
.game-tab-status.shipped { color: var(--success); }
.game-tab-status.live { color: var(--accent); }
.game-tab-status.dev { color: var(--fg-mute); }

.games-panel {
  animation: panel-fade 0.3s ease;
}
@keyframes panel-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.flagship-hero-cover {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.85) contrast(1.05);
}
.flagship-hero:hover .flagship-hero-cover { filter: brightness(1) contrast(1.05); }

/* ------------- portfolio ------------- */
.portfolio {
  position: relative;
}
.portfolio-rail {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.game-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
}
.game-card:hover { border-color: var(--fg-mute); transform: translateY(-4px); }
.game-card-visual { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.game-card-visual .placeholder { height: 100%; }
.game-card-visual .cover-art {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.game-card:hover .cover-art { transform: scale(1.04); }
.game-card-visual .cover-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,11,0.55) 0%, transparent 35%, transparent 100%),
    linear-gradient(to bottom, rgba(10,10,11,0.25) 0%, transparent 30%);
  pointer-events: none;
}
.game-card-visual .hover-reveal {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,11,0.95) 0%, rgba(10,10,11,0.3) 60%, transparent 100%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  z-index: 2;
}
.game-card:hover .hover-reveal { opacity: 1; }
.hover-reveal .desc {
  font-size: 14px; color: var(--fg); line-height: 1.5;
  transform: translateY(12px); opacity: 0; transition: all 0.4s 0.1s;
}
.game-card:hover .hover-reveal .desc { transform: translateY(0); opacity: 1; }

.game-card-body { padding: 24px; border-top: 1px solid var(--line); }
.game-card-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.game-card-year { font-family: var(--font-mono); font-size: 10px; color: var(--fg-mute); letter-spacing: 0.15em; text-transform: uppercase; }
.game-card-platforms { display: flex; gap: 6px; }
.plat {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid var(--line-strong); color: var(--fg-dim);
}
.plat.active { color: var(--accent); border-color: rgba(245,158,11,0.4); }
.game-card-title { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 8px; letter-spacing: -0.01em; }
.game-card-title .italic { font-style: italic; font-weight: 300; color: var(--fg-dim); }
.game-card-genre { font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.game-card-link {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg-dim); transition: color 0.2s;
  border-top: 1px solid var(--line); padding-top: 14px; width: 100%;
  justify-content: space-between;
}
.game-card:hover .game-card-link { color: var(--accent); }

/* badge corner */
.game-card .flag-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 9px; background: var(--accent); color: #0a0a0b; font-weight: 600;
}

/* ------------- about ------------- */
.about { background: linear-gradient(180deg, var(--bg) 0%, #08080a 100%); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.about-copy { position: sticky; top: 120px; }
.about-copy .lede {
  font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15; letter-spacing: -0.02em; font-weight: 400; margin-bottom: 32px;
}
.about-copy .lede .italic { font-style: italic; font-weight: 300; color: var(--fg-dim); }
.about-copy p { color: var(--fg-dim); font-size: 15px; margin-bottom: 18px; max-width: 480px; }

.about-stack {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.about-stat {
  background: var(--bg);
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px;
  position: relative;
  transition: background 0.3s;
}
.about-stat:hover { background: var(--bg-card); }
.about-stat .num {
  font-family: var(--font-display); font-size: 64px; font-weight: 400;
  letter-spacing: -0.04em; line-height: 1;
}
.about-stat .num .accent { color: var(--accent); }
.about-stat .num .sm { font-size: 28px; color: var(--fg-dim); }
.about-stat .label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-mute); margin-top: auto;
}

/* ------------- why invest ------------- */
.invest { background: #070708; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.invest-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); background: var(--line); gap: 1px;
}
.invest-item {
  background: var(--bg);
  padding: 40px 32px 48px;
  display: flex; flex-direction: column; gap: 20px;
  min-height: 340px;
  position: relative;
  transition: background 0.3s;
  overflow: hidden;
}
.invest-item:hover { background: var(--bg-card); }
.invest-item::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s;
}
.invest-item:hover::before { transform: scaleX(1); }
.invest-num {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.18em;
}
.invest-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--accent);
  position: relative;
}
.invest-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.invest-title { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
.invest-desc { font-size: 14px; color: var(--fg-dim); line-height: 1.55; margin-top: auto; }

/* ------------- cta ------------- */
.cta { padding: 160px 40px; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(245,158,11,0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(220,38,38,0.08) 0%, transparent 40%);
}
.cta-inner { max-width: 1200px; margin: 0 auto; text-align: left; position: relative; z-index: 1; }
.cta h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.9; letter-spacing: -0.04em;
  margin-bottom: 40px;
}
.cta h2 .italic { font-style: italic; font-weight: 300; color: var(--fg-dim); }
.cta h2 .accent { color: var(--accent); }
.cta p { max-width: 540px; color: var(--fg-dim); font-size: 17px; margin-bottom: 40px; }

/* ------------- contact form ------------- */
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  background: var(--line);
  max-width: 900px;
  margin-top: 40px;
}
.contact-form .field {
  background: var(--bg-card);
  padding: 18px 22px 20px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
  border: 0;
  transition: background 0.2s;
  cursor: text;
}
.contact-form .field:has(select) { cursor: pointer; }
.contact-form .field:hover { background: var(--bg-raised); }
.contact-form .field:focus-within { background: var(--bg-raised); }
.contact-form .field:focus-within::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--accent);
}
.contact-form .field.full { grid-column: 1 / -1; min-height: 160px; }
.contact-form .field-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg); font-weight: 500; pointer-events: none; display: block; }
.contact-form .field:focus-within .field-label { color: var(--accent); }
.contact-form input, .contact-form textarea, .contact-form select {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  width: 100%;
  resize: none;
  cursor: text;
  padding: 0;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
.contact-form input:-webkit-autofill,
.contact-form textarea:-webkit-autofill,
.contact-form select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--bg-card) inset !important;
  -webkit-text-fill-color: var(--fg) !important;
  caret-color: var(--fg);
  transition: background-color 9999s ease-in-out 0s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: var(--fg-mute); opacity: 0.55;
}
.contact-form textarea { min-height: 100px; line-height: 1.5; }
.contact-form .submit-row {
  grid-column: 1 / -1; background: var(--bg-card);
  border: 0;
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
}

/* ------------- footer ------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 80px 40px 40px;
  background: #070708;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  max-width: 1400px; margin: 0 auto 60px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo .logo-mark { width: 80px; height: 80px; }
.footer-brand p { color: var(--fg-dim); font-size: 14px; max-width: 340px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--fg-dim); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1400px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-top: 30px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute); letter-spacing: 0.12em; text-transform: uppercase;
}

/* ------------- partnerships ------------- */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partner-block { background: var(--bg); padding: 48px 40px; display: flex; flex-direction: column; gap: 18px; transition: background 0.3s; }
.partner-block .partner-desc:last-of-type { margin-bottom: 0; }
.partner-block .submit-checklist { margin-bottom: 0; }
.partner-block .partner-foot { order: 2; margin-top: auto; padding-top: 24px; }
.partner-block .btn { order: 3; align-self: flex-start; margin-top: 0; }
.partner-block:hover { background: var(--bg-card); }
.partner-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--accent); }
.partner-title { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.partner-title .italic { font-style: italic; font-weight: 300; color: var(--fg-dim); }
.partner-desc { color: var(--fg-dim); font-size: 15px; line-height: 1.55; }
.partner-foot { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); margin-top: 8px; }
.submit-checklist { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 6px; }
.checklist-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 12px; }
.submit-checklist ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; padding: 0; }
.submit-checklist li { font-size: 13px; color: var(--fg-dim); padding-left: 16px; position: relative; }
.submit-checklist li::before { content: "▪"; color: var(--accent); position: absolute; left: 0; top: 0; }
@media (max-width: 980px) { .partner-grid { grid-template-columns: 1fr; } .partner-block { padding: 32px 24px; } .submit-checklist ul { grid-template-columns: 1fr; } }

/* form select + success */
.contact-form select {
  background: none; border: 0; color: var(--fg); font-family: var(--font-body); font-size: 15px;
  outline: none; width: 100%; cursor: pointer; appearance: none;
  padding: 0; padding-right: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%239a968d' fill='none' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat; background-position: right center;
}
.contact-form select option { background: var(--bg-card); color: var(--fg); }

/* Custom dropdown */
.contact-form .dropdown { cursor: pointer; user-select: none; }
.contact-form .dropdown-trigger {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  font-family: var(--font-body); font-size: 15px; color: var(--fg);
  width: 100%;
}
.contact-form .dropdown-value.is-placeholder { color: var(--fg-mute); opacity: 0.55; }
.contact-form .dropdown-caret {
  color: var(--fg-dim);
  transition: transform 0.25s ease, color 0.2s;
  flex-shrink: 0;
}
.contact-form .dropdown:hover .dropdown-caret { color: var(--fg); }
.contact-form .dropdown.open .dropdown-caret { transform: rotate(180deg); color: var(--accent); }
.contact-form .dropdown.open .field-label { color: var(--accent); }
.contact-form .dropdown.open::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--accent);
}
.contact-form .dropdown-menu {
  position: absolute;
  top: calc(100% + 4px); left: -1px; right: -1px;
  background: var(--bg-raised);
  border: 1px solid var(--accent);
  list-style: none; margin: 0; padding: 6px;
  z-index: 50;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.6), 0 0 0 1px rgba(245, 158, 11, 0.08);
  animation: dropdown-in 0.18s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 320px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.contact-form .dropdown-option {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 14px;
  font-family: var(--font-body); font-size: 14px; color: var(--fg-dim);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.contact-form .dropdown-option-mark {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-mute); width: 12px; text-align: center;
  transition: color 0.15s;
}
.contact-form .dropdown-option-index {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--fg-mute); margin-left: auto;
  letter-spacing: 0.12em;
}
.contact-form .dropdown-option.highlight,
.contact-form .dropdown-option:hover {
  background: var(--bg-card); color: var(--fg);
}
.contact-form .dropdown-option.selected {
  color: var(--accent);
}
.contact-form .dropdown-option.selected .dropdown-option-mark { color: var(--accent); }
.contact-form .dropdown-menu::-webkit-scrollbar { width: 4px; }
.contact-form .dropdown-menu::-webkit-scrollbar-thumb { background: var(--line-strong); }
.dev-form { max-width: 1080px; }
.form-success {
  display: flex; align-items: center; gap: 24px;
  padding: 32px 40px; border: 1px solid var(--accent);
  background: linear-gradient(135deg, rgba(245,158,11,0.08), transparent);
  margin-top: 40px; max-width: 900px;
}
.success-mark {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #0a0a0b;
  display: grid; place-items: center;
  font-size: 28px; font-weight: 700; flex-shrink: 0;
}
.success-title { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 4px; }
.success-sub { color: var(--fg-dim); font-size: 14px; }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(5,5,6,0.88); backdrop-filter: blur(12px);
  display: grid; place-items: center; padding: 40px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal {
  max-width: 1200px; width: 100%; aspect-ratio: 16/9;
  background: #000; border: 1px solid var(--line-strong);
  position: relative; transform: scale(0.95); transition: transform 0.3s;
}
.modal-backdrop.open .modal { transform: scale(1); }
.modal .close {
  position: absolute; top: -40px; right: 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-dim); display: flex; align-items: center; gap: 8px;
}
.modal .close:hover { color: var(--accent); }
.modal-content {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 30px, rgba(245,158,11,0.03) 30px 32px),
    radial-gradient(ellipse at center, rgba(245,158,11,0.12) 0%, transparent 60%),
    linear-gradient(180deg, #1a0f0a 0%, #000 100%);
  color: var(--fg-mute);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
}
.modal-content .badge { display: flex; align-items: center; gap: 10px; }
.modal-content .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); animation: blink 1.4s infinite; }
.modal-logo {
  position: absolute; inset: 0;
  background-image: url("assets/logo.png");
  background-size: 280px 280px;
  background-repeat: no-repeat;
  background-position: center 30%;
  opacity: 0.12;
  filter: drop-shadow(0 0 32px rgba(245, 158, 11, 0.4));
  pointer-events: none;
}

/* ------------- reveal animation ------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-line { display: inline-block; overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-line.in > span { transform: translateY(0); }

/* ------------- responsive ------------- */
@media (max-width: 860px) {
  .games-tabs-layout { grid-template-columns: 1fr; gap: 32px; }
  .games-tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .game-tab { flex: 0 0 280px; }
}
@media (max-width: 980px) and (min-width: 601px) {
  /* Tablet: prevent hero overflow and overlap */
  .hero-content { justify-content: flex-start !important; padding-top: clamp(40px, 6vh, 80px); }
  .hero h1 { font-size: clamp(36px, 6.5vw, 56px) !important; line-height: 1.0 !important; margin-bottom: 20px !important; }
  .hero-sub { font-size: 14px !important; max-width: 480px; margin-bottom: 32px !important; }
  .hero-ctas { flex-wrap: wrap; gap: 12px; }
  .hero-ctas .btn { flex: 0 1 auto; }
  .hero-stats .stat .n { font-size: 22px; }
  .hero { padding: clamp(96px, 14vh, 140px) 24px clamp(20px, 3vh, 32px); }
  .nav { padding: 16px 24px; }
  .container { padding: 0 24px; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .section { padding: 80px 24px; }
  .hero { padding: clamp(56px, 9vh, 96px) 24px clamp(14px, 2.5vh, 28px); }
  .hero-stats { gap: 16px; }
  .stat .n { font-size: 22px; }
  .scroll-hint { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .flagship-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .flagship-screenshots { grid-template-columns: 1fr; }
  .invest-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .about-copy { position: static; }
  .hero-top { margin-bottom: 60px; }
}

@media (max-width: 600px) {
  /* Edge padding: 16px everywhere */
  .nav { padding: 16px 16px; }
  .container { padding: 0 16px; }
  .section { padding: 56px 16px; }
  .hero { padding: clamp(96px, 14vh, 140px) 16px clamp(14px, 2.5vh, 24px); }
  .footer { padding: 48px 16px 24px; }
  .footer-grid { padding: 0; }
  .footer-bottom { padding: 16px; }
  .partner-block { padding: 24px 16px !important; }
  .form-modal { padding: 48px 16px 28px; }
  .form-modal-backdrop { padding: 40px 12px; }
  .cta-inner { padding: 0 4px; }

  /* Type scale */
  h1 { font-size: clamp(34px, 11vw, 56px) !important; line-height: 1.0 !important; }
  h2 { font-size: clamp(26px, 7.5vw, 36px) !important; line-height: 1.1 !important; }
  h3, .partner-title { font-size: clamp(20px, 5.5vw, 26px) !important; line-height: 1.2 !important; }
  .section-head h2 { font-size: clamp(26px, 7.5vw, 34px) !important; }
  .form-modal-head h2 { font-size: clamp(24px, 7vw, 32px) !important; }
  .eyebrow, .section-number { font-size: 10px; letter-spacing: 0.16em; }
  .partner-desc, .section-head p, .form-modal-head p { font-size: 14px; line-height: 1.55; }
  .section-head { gap: 12px; margin-bottom: 32px; }
  .section-number { margin-bottom: 4px; }
  .hero-sub { font-size: 14px !important; line-height: 1.5; }

  /* Hero CTAs stack */
  .hero-content { justify-content: flex-start !important; padding-top: 24px; }
  .hero .eyebrow { margin-bottom: 16px !important; }
  .hero h1 { margin-bottom: 16px !important; line-height: 1.0 !important; }
  .hero-sub { margin-bottom: 20px !important; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .btn { font-size: 12px; padding: 12px 18px; }

  /* Stats compress */
  .hero-stats { gap: 0; }
  .stat { padding: 10px 12px; }
  .stat .n { font-size: 18px !important; }
  .stat .l { font-size: 9px; letter-spacing: 0.12em; }

  /* Nav */
  .logo span:last-child { font-size: 14px; }
  .logo-mark { width: 48px !important; height: 48px !important; }
  .nav-cta { padding: 8px 12px; font-size: 11px; }

  /* Game tabs / cards */
  .game-tab { flex: 0 0 240px; padding: 12px; gap: 12px; grid-template-columns: 90px 1fr; }
  .game-tab-title { font-size: 14px; }
  .game-tab-sub { font-size: 10px; }
  .game-tab-when { font-size: 9px; }

  /* Flagship hero / preview */
  .flagship-hero { aspect-ratio: 16/10; }
  .flagship-title { font-size: clamp(28px, 8vw, 40px) !important; }
  .flagship-meta { gap: 16px; }
  .flagship-meta .v { font-size: 15px; }

  /* Partner grid stack */
  .partner-grid { grid-template-columns: 1fr !important; }
  .invest-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px; }

  /* Forms */
  .field input, .field textarea, .field select { font-size: 15px; }
  .field-label { font-size: 9px; }
  .submit-row { flex-direction: column; align-items: stretch; gap: 16px; }
  .submit-row .btn { width: 100%; justify-content: center; }

  /* Lightbox */
  .shot-lightbox { padding: 56px 12px 16px; }
  .form-modal-head { margin-bottom: 24px; }

  /* Tweaks panel safe-distance */
  body { overflow-x: hidden; }
}

@media (max-width: 380px) {
  h1 { font-size: 32px !important; }
  .hero-stats .stat .n { font-size: 16px !important; }
  .game-tab { flex: 0 0 220px; }
}

/* ------------- screenshot lightbox ------------- */
.shot-lightbox {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(5,5,6,0.94); backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 80px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.shot-lightbox.open { opacity: 1; pointer-events: all; }
.shot-lightbox-stage {
  position: relative;
  max-width: 1400px; width: 100%;
  display: flex; flex-direction: column; gap: 18px;
  align-items: center;
}
.shot-lightbox-img-wrap {
  position: relative;
  width: 100%; max-height: 70vh;
  background: #000;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  animation: shot-fade 0.3s ease;
}
@keyframes shot-fade {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
.shot-lightbox-img {
  display: block;
  width: 100%; height: auto; max-height: 70vh;
  object-fit: contain;
}
.shot-lightbox-meta {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-dim);
}
.shot-lightbox-counter {
  color: var(--accent);
  border-right: 1px solid var(--line-strong);
  padding-right: 16px;
}
.shot-lightbox-label { color: var(--fg); }
.shot-lightbox-sub { color: var(--fg-mute); }
.shot-lightbox-thumbs {
  display: flex; gap: 8px;
  flex-wrap: wrap; justify-content: center;
}
.shot-lightbox-thumb {
  width: 96px; height: 60px;
  border: 1px solid var(--line);
  background: #000;
  background-size: cover; background-position: center;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
  padding: 0;
}
.shot-lightbox-thumb:hover { opacity: 0.85; border-color: var(--fg-mute); }
.shot-lightbox-thumb.active {
  opacity: 1;
  border-color: var(--accent);
  transform: translateY(-2px);
}
.shot-lightbox-close {
  position: absolute; top: 24px; right: 32px;
  background: transparent; border: 1px solid var(--line-strong);
  color: var(--fg);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 16px;
  display: inline-flex; align-items: center; gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  z-index: 2;
}
.shot-lightbox-close:hover { border-color: var(--accent); color: var(--accent); }
.shot-lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  background: rgba(20,20,23,0.6);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  z-index: 2;
}
.shot-lightbox-nav:hover {
  background: rgba(245,158,11,0.15);
  border-color: var(--accent);
  color: var(--accent);
}
.shot-lightbox-nav.prev { left: 24px; }
.shot-lightbox-nav.next { right: 24px; }

@media (max-width: 720px) {
  .shot-lightbox { padding: 60px 16px 24px; }
  .shot-lightbox-nav { width: 44px; height: 44px; }
  .shot-lightbox-nav.prev { left: 8px; }
  .shot-lightbox-nav.next { right: 8px; }
  .shot-lightbox-close { top: 16px; right: 16px; }
  .shot-lightbox-thumb { width: 64px; height: 40px; }
  .shot-lightbox-meta { flex-wrap: wrap; gap: 8px; }
  .shot-lightbox-counter { padding-right: 8px; }
}

/* ------------- form modal ------------- */
.form-modal-backdrop {
  position: fixed; inset: 0; z-index: 2500;
  background: rgba(5,5,6,0.92); backdrop-filter: blur(14px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 60px 24px;
  overflow-y: auto;
  opacity: 0; pointer-events: none;
  animation: form-fade 0.25s ease forwards;
}
.form-modal-backdrop.open { opacity: 1; pointer-events: all; }
@keyframes form-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.form-modal {
  position: relative;
  width: 100%; max-width: 880px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 56px 56px 48px;
  animation: form-slide 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes form-slide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-modal::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 60px; height: 1px;
  background: var(--accent);
}
.form-modal-close {
  position: absolute; top: 20px; right: 24px;
  background: transparent; border: 1px solid var(--line-strong);
  color: var(--fg);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px;
  display: inline-flex; align-items: center; gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.form-modal-close:hover { border-color: var(--accent); color: var(--accent); }
.form-modal-head { margin-bottom: 36px; }
.form-modal-head .eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase;
}
.form-modal-head h2 {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px);
  font-weight: 500; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--fg);
}
.form-modal-head p {
  margin-top: 12px;
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.5;
  max-width: 580px;
}

@media (max-width: 720px) {
  .form-modal { padding: 56px 24px 32px; }
  .form-modal-close { top: 14px; right: 14px; }
}
