@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg: #070d14;
  --surface: #0b141e;
  --surface-2: #0f1a26;
  --line: rgba(168, 194, 216, 0.14);
  --line-soft: rgba(168, 194, 216, 0.08);
  --text: #eef3f8;
  --muted: #93a5b6;
  --dim: #667a8c;
  --accent: #4ea6e8;
  --accent-hover: #70b9f0;
  --accent-ink: #05121d;
  --accent-soft: rgba(78, 166, 232, 0.12);
  --mint: #7fd3a6;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius: 16px;
  --radius-sm: 10px;
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 460px at 50% -6%, rgba(78, 166, 232, 0.1), transparent 70%),
    radial-gradient(700px 380px at 85% 22%, rgba(78, 166, 232, 0.05), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

/* ---------- Top Scroll Progress Bar (Remotion timeline feel) ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #9fd6ff, var(--mint));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 100;
  pointer-events: none;
}

/* ---------- Shell & Container ---------- */
.site-shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-shell > main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header (Clean single-row alignment) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 74px;
  background: rgba(7, 13, 20, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(168, 194, 216, 0.06);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.scrolled {
  background: rgba(7, 13, 20, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.8);
}

.header-inner {
  height: 100%;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--spring);
}

.brand:hover {
  opacity: 0.92;
  transform: scale(1.03);
}

.brand img {
  width: 138px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
}

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

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--text);
  background: rgba(78, 166, 232, 0.12);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
}

.nav-cta {
  margin-left: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition:
    background 0.25s var(--ease),
    transform 0.35s var(--spring),
    box-shadow 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 26px -8px rgba(78, 166, 232, 0.6);
}

.nav-cta span {
  display: inline-block;
  transition: transform 0.35s var(--spring);
}

.nav-cta:hover span {
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: none;
}

/* ---------- Typography & Kinetic Masks ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--dim);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(127, 211, 166, 0.6);
  animation: pulse-dot 2.4s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(127, 211, 166, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(127, 211, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 211, 166, 0); }
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  color: var(--text);
}

h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.04;
  font-weight: 700;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
  font-weight: 600;
}

h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
}

em {
  font-style: normal;
  color: #a8d2f0;
}

.lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

/* Remotion-style masked word reveal */
.kinetic-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.kinetic-word {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  transition:
    transform 0.8s var(--ease),
    opacity 0.6s var(--ease);
  transition-delay: var(--word-delay, 0s);
}

.is-kinetic-in .kinetic-word {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.35s var(--spring),
    box-shadow 0.3s var(--ease),
    color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn span {
  display: inline-block;
  transition: transform 0.35s var(--spring);
}

.btn:hover span {
  transform: translateX(4px);
}

.btn.primary,
.btn.light {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn.primary:hover,
.btn.light:hover {
  background: var(--accent-hover);
  box-shadow: 0 14px 32px -10px rgba(78, 166, 232, 0.6);
}

.btn.ghost,
.btn.outline {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn.ghost:hover,
.btn.outline:hover {
  border-color: rgba(168, 194, 216, 0.38);
  background: rgba(255, 255, 255, 0.06);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #d6e4ef;
  transition: color 0.25s var(--ease);
}

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

.text-link .dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 8px;
  color: var(--accent);
  flex-shrink: 0;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.35s var(--spring);
}

.text-link:hover .dot {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: scale(1.12);
}

.arrow-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.35s var(--spring);
}

.arrow-link:hover,
.game-card:hover .arrow-link {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: translateX(3px) scale(1.06);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(82vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  transform: scale(1.05);
  transition: transform 0.25s ease-out;
  will-change: transform;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 13, 20, 0.96) 0%, rgba(7, 13, 20, 0.86) 38%, rgba(7, 13, 20, 0.36) 65%, rgba(7, 13, 20, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 13, 20, 0.92) 0%, rgba(7, 13, 20, 0) 32%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 88px 32px;
}

.hero-copy {
  max-width: 580px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.75;
  color: #b7c8d6;
  max-width: 460px;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Hero load-in choreography (Remotion-like sequence) */
.hero-copy .eyebrow,
.hero-copy .hero-desc,
.hero-copy .hero-actions {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-enter 0.85s var(--ease) forwards;
}

.hero-copy .eyebrow { animation-delay: 0.06s; }
.hero-copy .hero-desc { animation-delay: 0.32s; }
.hero-copy .hero-actions { animation-delay: 0.44s; }

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Sections ---------- */
.section-block {
  padding: 84px 0;
}

.section-block + .section-block {
  border-top: 1px solid var(--line-soft);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-header h2 {
  margin: 0;
}

.section-header .eyebrow {
  margin-bottom: 10px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.section-link:hover {
  color: var(--text);
  border-color: var(--accent);
}

.section-link span {
  display: inline-block;
  transition: transform 0.35s var(--spring);
}

.section-link:hover span {
  transform: translateX(4px);
}

/* ---------- Game cards (3D Tilt + Spring + Sheen) ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  perspective: 1200px;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.45s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.45s var(--ease);
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    460px circle at var(--mx, 50%) var(--my, 50%),
    rgba(78, 166, 232, 0.14),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
  z-index: 1;
}

.game-card:hover {
  border-color: rgba(78, 166, 232, 0.42);
  box-shadow: 0 32px 60px -28px rgba(0, 0, 0, 0.9);
}

.game-card:hover::before {
  opacity: 1;
}

.game-visual {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0a1520;
  border-bottom: 1px solid var(--line-soft);
}

.game-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}

.game-card:hover .game-visual img {
  transform: scale(1.06);
}

.visual-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(7, 13, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #dce9f4;
  backdrop-filter: blur(8px);
}

.game-info {
  position: relative;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.game-info h3 {
  margin: 0;
  font-size: 22px;
}

.game-info h3 a:hover {
  color: var(--accent);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.3s var(--spring);
}

.game-card:hover .tag {
  border-color: rgba(78, 166, 232, 0.25);
  color: #cde0ee;
}

.game-info p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

/* ---------- Statement band ---------- */
.statement-card {
  position: relative;
  overflow: hidden;
  padding: 56px 44px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: linear-gradient(135deg, rgba(16, 28, 40, 0.9) 0%, rgba(11, 20, 30, 0.95) 100%);
}

.statement-card::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -60px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 166, 232, 0.16), transparent 65%);
  pointer-events: none;
  animation: float-orb 8s ease-in-out infinite alternate;
}

@keyframes float-orb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-28px, 20px) scale(1.1); }
}

.statement-mark {
  display: inline-block;
  color: var(--accent);
  font-size: 22px;
  animation: spin-slow 16s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.statement-card p {
  position: relative;
  font-family: var(--display);
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.14;
  margin: 20px 0 44px;
}

.statement-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
}

/* ---------- About teaser ---------- */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-teaser h2 {
  margin-bottom: 18px;
}

.about-teaser-copy p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 0;
}

.about-teaser-copy .btn {
  margin-top: 28px;
}

.about-art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  background: var(--surface);
  transition: transform 0.45s var(--ease), border-color 0.4s var(--ease), box-shadow 0.45s var(--ease);
}

.about-art:hover {
  border-color: rgba(78, 166, 232, 0.35);
  box-shadow: 0 28px 54px -28px rgba(0, 0, 0, 0.85);
}

.about-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.about-art:hover img {
  transform: scale(1.04);
}

.about-art span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(7, 13, 20, 0.74);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: #cfe0ec;
}

/* ---------- Contact band ---------- */
.contact-band {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 44px;
  padding: 52px 44px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(560px 220px at 90% 110%, rgba(78, 166, 232, 0.13), transparent 70%),
    var(--surface);
}

.contact-band h2 {
  margin-bottom: 0;
}

.contact-band > div:last-child {
  max-width: 340px;
}

.contact-band p:not(.eyebrow) {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 32px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 44px;
}

.footer-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.footer-name span {
  font-size: 10px;
  vertical-align: top;
  margin-left: 3px;
  color: var(--dim);
}

.footer p {
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.75;
  margin: 12px 0 0;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  align-content: start;
  justify-self: end;
  min-width: 240px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-links a {
  transition: color 0.2s var(--ease), transform 0.25s var(--ease);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line-soft);
  margin-top: 16px;
  padding-top: 22px;
  font-size: 12px;
  color: var(--dim);
}

/* ---------- Page heading ---------- */
.page-heading {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line-soft);
}

.page-heading h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  margin: 8px 0 16px;
}

.page-heading .lead {
  max-width: 600px;
  margin-bottom: 0;
}

/* ---------- Game detail ---------- */
.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 36px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--dim);
  transition: color 0.2s var(--ease), transform 0.25s var(--spring);
}

.back-link:hover {
  color: var(--accent);
  transform: translateX(-4px);
}

.detail-copy h1 {
  font-size: clamp(38px, 4.6vw, 60px);
  margin: 8px 0 16px;
}

.detail-copy .tags {
  margin-bottom: 20px;
}

.detail-copy .lead {
  max-width: 500px;
  margin-bottom: 0;
}

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

.game-status {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.detail-video {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  overflow: hidden;
}

.video-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(1.05);
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
}

.video-frame:hover > img {
  transform: scale(1.04);
  filter: brightness(0.86) saturate(1.08);
}

.video-frame.static > img {
  filter: none;
}

.video-play {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.video-play span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: 0 10px 28px rgba(78, 166, 232, 0.45);
  transition: transform 0.35s var(--spring), background 0.3s var(--ease);
}

.video-play:hover span {
  transform: scale(1.14);
  background: var(--accent-hover);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.detail-media {
  padding: 24px 0 48px;
}

.media-block .eyebrow {
  margin-bottom: 14px;
}

.detail-media .video-frame {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

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

.screenshot-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}

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

.detail-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  padding: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--surface);
}

.detail-about > div:last-child > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.feature-list {
  padding: 8px 0 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: #cbd8e3;
}

.feature-list li:last-child {
  border-bottom: 0;
}

.feature-list li span {
  color: var(--accent);
  margin-right: 12px;
}

.next-project {
  margin-top: 28px;
  padding: 28px 36px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), transform 0.35s var(--spring);
}

.next-project:hover {
  border-color: rgba(78, 166, 232, 0.38);
  transform: translateY(-2px);
}

.next-project .eyebrow {
  margin-bottom: 8px;
}

.next-project a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.25s var(--ease);
}

.next-project a:hover {
  color: var(--accent);
}

/* ---------- About page ---------- */
.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  background: var(--surface);
}

.feature-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.feature-art:hover img {
  transform: scale(1.04);
}

.feature-art span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(7, 13, 20, 0.74);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: #cfe0ec;
}

.prose h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 18px;
}

.prose p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}

.prose .text-link {
  margin-top: 10px;
}

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

.values-grid > div {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), transform 0.4s var(--spring), box-shadow 0.35s var(--ease);
}

.values-grid > div:hover {
  border-color: rgba(78, 166, 232, 0.38);
  transform: translateY(-5px);
  box-shadow: 0 24px 44px -26px rgba(0, 0, 0, 0.85);
}

.values-grid span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.values-grid h3 {
  margin: 22px 0 10px;
  font-size: 18px;
}

.values-grid p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
  margin: 0;
}

/* ---------- Press ---------- */
.press-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.press-panel {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--surface);
}

.press-panel h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

.press-panel dl {
  margin: 0;
}

.press-panel dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line-soft);
  padding: 13px 0;
  font-size: 13.5px;
}

.press-panel dl > div:last-child {
  border-bottom: 0;
}

.press-panel dt {
  color: var(--dim);
}

.press-panel dd {
  margin: 0;
  text-align: right;
  color: #d6e2ec;
}

.press-logo {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: #081018;
}

.press-logo img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 12px;
}

.download-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: #d6e3ed;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), transform 0.3s var(--spring);
}

.download-links a:hover {
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.download-links a:first-child {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.download-links a:first-child:hover {
  background: var(--accent-hover);
}

.muted {
  color: var(--muted) !important;
}

.press-panel .muted {
  font-size: 12.5px;
  line-height: 1.7;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.media-grid h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.media-grid .video-frame {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.press-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--surface);
}

.press-note p {
  font-size: 17px;
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.01em;
}

.press-note .btn {
  flex-shrink: 0;
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.contact-main {
  padding: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--surface);
}

.contact-main h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 16px;
}

.contact-main > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 520px;
}

.contact-main a:not(.btn) {
  color: var(--accent);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--surface);
}

.contact-aside ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-aside li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: #c7d6e2;
}

.contact-aside li:last-child {
  border-bottom: 0;
}

.aside-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 36px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--dim);
}

/* ---------- Scroll Reveal (Springy Remotion feel) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 0.75s var(--ease),
    transform 0.85s var(--spring);
  transition-delay: var(--delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .detail-hero,
  .about-teaser,
  .split-content,
  .contact-layout,
  .press-grid,
  .media-grid,
  .detail-about {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .contact-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-art {
    order: -1;
  }
}

@media (max-width: 820px) {
  .container,
  .header-inner {
    padding: 0 20px;
  }

  .site-header {
    height: 64px;
  }

  .brand img {
    width: 118px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 24px;
    background: rgba(7, 13, 20, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    font-size: 15px;
  }

  .nav-link.active {
    background: transparent;
    color: var(--accent);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-cta {
    align-self: flex-start;
    margin: 14px 0 0;
  }

  .hero {
    min-height: 540px;
  }

  .hero-media img {
    object-position: 68% center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(7, 13, 20, 0.78) 0%, rgba(7, 13, 20, 0.88) 55%, rgba(7, 13, 20, 0.96) 100%);
  }

  .hero-inner {
    padding: 64px 20px;
  }

  .section-block {
    padding: 56px 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .statement-card {
    padding: 36px 24px 24px;
  }

  .contact-band {
    padding: 34px 24px;
  }

  .press-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links {
    justify-self: start;
    min-width: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .kinetic-word {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
