/* =================================================================
   SOLDER SPARK STUDIOS — design tokens + base
   ================================================================= */
:root {
  /* Color */
  --ink-900: #06090f;
  --ink-800: #0a0e1a;
  --ink-700: #0f1524;
  --ink-600: #161d31;
  --ink-500: #1d2540;
  --ink-400: #2a3556;

  --paper-100: #f5f7fb;
  --paper-200: #e6eaf3;
  --mute-300: #a3aec5;
  --mute-400: #6e7a96;
  --mute-500: #4a5572;

  --spark: #6FE8FF;          /* electric cyan from logo */
  --spark-dim: #2bb8d8;
  --spark-glow: rgba(111, 232, 255, 0.45);

  --ember: #F4B942;          /* warm amber CTA */
  --ember-dim: #d99b1f;

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --fs-eyebrow: 0.78rem;
  --fs-body: 1rem;
  --fs-lede: 1.125rem;
  --fs-h3: clamp(1.5rem, 2.5vw, 2.25rem);
  --fs-h2: clamp(2rem, 4vw, 3.75rem);
  --fs-h1: clamp(3.5rem, 11vw, 11rem);

  --lh-tight: 1.05;
  --lh-snug: 1.25;
  --lh-body: 1.6;
  --tracking-cap: 0.18em;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Elevation */
  --shadow-card: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px -10px var(--spark-glow);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink-800);
  color: var(--paper-100);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}
body::after {
  /* Subtle global film grain for cohesive cinematic feel */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease-out); }
button, input, textarea { font: inherit; color: inherit; }
.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;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* =================================================================
   TYPOGRAPHY
   ================================================================= */
.display, .display-sm, .hero-title, h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  font-weight: 600;
}

.display { font-size: var(--fs-h2); }
.display-sm { font-size: var(--fs-h3); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-cap);
  text-transform: uppercase;
  color: var(--mute-300);
  margin-bottom: 1.25rem;
}
.eyebrow-light { color: var(--paper-100); }
.eyebrow-accent { color: var(--spark); }
.eyebrow-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--spark);
  box-shadow: 0 0 12px var(--spark-glow);
  animation: pulse 2.4s var(--ease-in-out) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--mute-300);
  max-width: 56ch;
}

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1rem; }

.btn-primary {
  background: var(--ember);
  color: var(--ink-900);
  box-shadow: 0 10px 30px -10px rgba(244, 185, 66, 0.6);
}
.btn-primary:hover {
  background: #fdcc6c;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px -10px rgba(244, 185, 66, 0.8);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--paper-100);
  border-color: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}

.btn-pill {
  padding: 0.55rem 1.1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
}
.btn-pill:hover {
  background: var(--spark);
  color: var(--ink-900);
  border-color: var(--spark);
}

/* =================================================================
   SCROLL PROGRESS BAR
   ================================================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, var(--spark), var(--ember));
  box-shadow: 0 0 10px var(--spark-glow);
  z-index: 300;
  transition: width 0.05s linear;
}

/* =================================================================
   HERO PARTICLES
   ================================================================= */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: linear-gradient(to bottom, rgba(6,9,15,0.5), rgba(6,9,15,0));
  transition: background 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(6,9,15,0.85);
  backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper-100);
}
.brand-mark {
  width: 28px; height: 28px;
  color: var(--spark);
  filter: drop-shadow(0 0 8px var(--spark-glow));
}
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--mute-300);
  margin-top: 3px;
}

.site-nav {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.site-nav a {
  position: relative;
  color: var(--paper-100);
  opacity: 0.85;
  padding: 0.5rem 0;
}
.site-nav a:hover { opacity: 1; color: var(--spark); }
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--spark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 4rem;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.15) brightness(0.45);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Spotlight effect — dramatic left-side darkening so left-aligned text always reads */
  background:
    linear-gradient(105deg,
      rgba(6,9,15,0.92) 0%,
      rgba(6,9,15,0.78) 35%,
      rgba(6,9,15,0.45) 65%,
      rgba(6,9,15,0.55) 100%),
    linear-gradient(to bottom,
      rgba(6,9,15,0.45) 0%,
      rgba(6,9,15,0.2) 40%,
      rgba(6,9,15,0.85) 88%,
      var(--ink-800) 100%);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 45%, transparent 0%, rgba(6,9,15,0.3) 60%, rgba(6,9,15,0.6) 100%),
    /* Film grain via SVG noise */
    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.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  background-size: cover, 200px 200px;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero-title {
  font-size: var(--fs-h1);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin: 1.2rem 0 1.75rem;
  text-shadow: 0 4px 50px rgba(0,0,0,0.7);
  position: relative;
}
.hero-title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--spark);
  text-shadow:
    0 0 80px var(--spark-glow),
    0 0 30px rgba(111, 232, 255, 0.3),
    0 4px 30px rgba(0,0,0,0.4);
  letter-spacing: -0.045em;
  margin-top: -0.06em;
}
.hero-tagline {
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.45;
  max-width: 560px;
  color: rgba(245, 247, 251, 0.88);
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: var(--tracking-cap);
  text-transform: uppercase;
  color: var(--mute-300);
  z-index: 2;
}
.hero-scroll svg { animation: bob 2s var(--ease-in-out) infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(4px); opacity: 1; }
}

.hero-meta {
  position: absolute;
  bottom: 2.5rem;
  right: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-300);
  text-align: right;
  border-right: 1px solid rgba(111, 232, 255, 0.3);
  padding-right: 1rem;
}
.hero-meta-line {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-meta-label {
  color: var(--mute-500);
  font-size: 0.62rem;
}
.hero-meta-value {
  color: var(--paper-100);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* =================================================================
   GAMES — studio's catalog showcase (scales to N games)
   ================================================================= */
.games {
  padding: 8rem 0 6rem;
  background: var(--ink-700);
  position: relative;
  overflow: hidden;
}
.games::before {
  content: '';
  position: absolute;
  top: 0; right: -20%;
  width: 70%; height: 100%;
  background: radial-gradient(ellipse at right, rgba(111, 232, 255, 0.06), transparent 60%);
  pointer-events: none;
}
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head .display { margin-bottom: 1rem; }
.section-head-lede { margin: 0 auto; }

/* Featured game card — full-width hero card */
.game-card-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: var(--ink-600);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
/* Alternate the layout direction for variety when more than one card */
.game-card-featured:nth-of-type(even) {
  grid-template-columns: 1fr 1.15fr;
}
.game-card-featured:nth-of-type(even) .game-card-media { order: 2; }
.game-card-featured:nth-of-type(even) .game-card-body { order: 1; text-align: right; }
.game-card-featured:nth-of-type(even) .game-card-tagline { margin-left: auto; }
.game-card-featured:nth-of-type(even) .game-card-tags { justify-content: flex-end; }
.game-card-featured:nth-of-type(even) .game-card-actions { justify-content: flex-end; }
.game-card-featured:nth-of-type(even) .game-card-status { left: auto; right: 1.25rem; }
.game-card-featured:hover {
  border-color: rgba(111, 232, 255, 0.2);
  box-shadow: var(--shadow-card), 0 0 80px -30px var(--spark-glow);
}
.game-card-media {
  position: relative;
  background: var(--ink-900);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.game-card-media video,
.game-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.game-card-featured:hover .game-card-media video,
.game-card-featured:hover .game-card-media img { transform: scale(1.04); }
.game-card-status {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: rgba(6,9,15,0.8);
  border: 1px solid rgba(111, 232, 255, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--spark);
  z-index: 2;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--spark);
  box-shadow: 0 0 8px var(--spark);
  animation: pulse 2.4s var(--ease-in-out) infinite;
}
.game-card-body {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.game-card-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute-300);
  margin-bottom: 1.25rem;
}
.game-card-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.game-card-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--spark);
  text-shadow: 0 0 30px var(--spark-glow);
}
.game-card-tagline {
  font-size: 1.05rem;
  color: var(--mute-300);
  line-height: 1.55;
  margin-bottom: 1.75rem;
  max-width: 38ch;
}
.game-card-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.game-card-tags li {
  padding: 0.35rem 0.85rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--mute-300);
}
.game-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* "In development" placeholder — designed to scale to additional cards */
.games-upcoming {
  margin-top: 3rem;
}
.upcoming-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.5rem;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(255,255,255,0.015) 14px, rgba(255,255,255,0.015) 28px),
    var(--ink-800);
  border: 1px dashed rgba(111, 232, 255, 0.18);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease-out);
}
.upcoming-card:hover { border-color: rgba(111, 232, 255, 0.4); }
.upcoming-marker {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(111, 232, 255, 0.08);
  border: 1px solid rgba(111, 232, 255, 0.3);
  color: var(--spark);
}
.upcoming-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute-400);
  margin-bottom: 0.4rem;
}
.upcoming-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.upcoming-body {
  color: var(--mute-300);
  font-size: 0.95rem;
  max-width: 56ch;
}
.upcoming-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--spark);
  white-space: nowrap;
  transition: gap 0.25s var(--ease-out);
}
.upcoming-link:hover { gap: 0.85rem; }

/* =================================================================
   PLATFORM STRIP — quiet "available on" band under hero
   ================================================================= */
.platform-strip {
  background: var(--ink-900);
  border-top: 1px solid rgba(111, 232, 255, 0.08);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 1.25rem 0;
  position: relative;
  z-index: 5;
}
.platform-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.platform-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: var(--tracking-cap);
  text-transform: uppercase;
  color: var(--mute-400);
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  background: rgba(111, 232, 255, 0.08);
  border: 1px solid rgba(111, 232, 255, 0.18);
  border-radius: 999px;
  color: var(--paper-100);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease-out);
}
.platform-badge:hover {
  background: var(--spark);
  border-color: var(--spark);
  color: var(--ink-900);
  transform: translateY(-1px);
}
.platform-badge svg { color: var(--spark); transition: color 0.3s var(--ease-out); }
.platform-badge:hover svg { color: var(--ink-900); }
.platform-divider {
  width: 1px; height: 16px;
  background: rgba(255,255,255,0.1);
}
.platform-meta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--mute-300);
}
.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--spark);
  transition: gap 0.25s var(--ease-out);
}
.platform-link:hover { gap: 0.7rem; }

/* =================================================================
   STUDIO STRAP — quiet manifesto with sigil ornament
   ================================================================= */
.studio-strap {
  padding: 9rem 0 7rem;
  background: linear-gradient(to bottom, var(--ink-800), var(--ink-700));
  position: relative;
  overflow: hidden;
}
/* Sigil — cyan vertical line with diamond, transitioning from hero */
.studio-strap::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 110px;
  background: linear-gradient(to bottom, transparent, var(--spark));
  opacity: 0.7;
}
.studio-strap::after {
  content: '';
  position: absolute;
  top: 105px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px; height: 8px;
  background: var(--spark);
  box-shadow: 0 0 20px var(--spark-glow);
}
/* Subtle radial glow behind copy */
.studio-strap .container {
  max-width: var(--container-narrow);
  text-align: center;
  position: relative;
}
.studio-strap .container::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120%; height: 200%;
  background: radial-gradient(ellipse, rgba(111, 232, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.studio-strap .display {
  margin-bottom: 1.5rem;
}
.studio-strap .lede {
  margin: 0 auto;
}
/* Decorative meta line */
.studio-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: var(--tracking-cap);
  text-transform: uppercase;
  color: var(--mute-400);
}
.studio-meta-line {
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--mute-500);
}

/* =================================================================
   GAME / FEATURES
   ================================================================= */
.game {
  padding: 7rem 0 8rem;
  background: var(--ink-700);
  position: relative;
  overflow: hidden;
}
/* Soft cyan gradient stripe behind game section, far left */
.game::before {
  content: '';
  position: absolute;
  top: 0; left: -10%;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at left center, rgba(111, 232, 255, 0.05), transparent 60%);
  pointer-events: none;
}
.game-intro {
  max-width: var(--container-narrow);
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
}
.game-intro .display { margin-bottom: 1.5rem; }
.game-intro .lede { margin: 0 auto; }

.feature {
  padding: 4rem 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-reverse .feature-grid {
  direction: rtl;
}
.feature-reverse .feature-grid > * {
  direction: ltr;
}
.feature-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-900);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 10;
}
.feature-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.feature-media:hover video { transform: scale(1.04); }
.feature-num {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--spark);
  background: rgba(6,9,15,0.6);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(111, 232, 255, 0.2);
}
.feature-text { padding: 1rem 0; }
.feature-text .display-sm { margin-bottom: 1rem; }
.feature-text p { color: var(--mute-300); max-width: 48ch; }

.game-cta {
  text-align: center;
  margin-top: 4rem;
}

/* =================================================================
   SPLASH — full-bleed cinematic key-art moment
   ================================================================= */
.splash {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0;
  background: var(--ink-900);
}
.splash-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) brightness(0.55);
  transform: scale(1.05);
  transition: transform 1.2s var(--ease-out);
}
.splash:hover .splash-media { transform: scale(1.08); }
.splash-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(6,9,15,0.85) 0%,
      rgba(6,9,15,0.4) 50%,
      rgba(6,9,15,0.85) 100%),
    linear-gradient(to bottom,
      rgba(6,9,15,0.4) 0%,
      transparent 30%,
      transparent 70%,
      rgba(6,9,15,0.4) 100%);
}
.splash-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
}
.splash-quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.5rem;
  color: var(--paper-100);
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.splash-attrib {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: var(--tracking-cap);
  text-transform: uppercase;
  color: var(--mute-300);
}

/* =================================================================
   NEWS
   ================================================================= */
.news {
  padding: 8rem 0;
  background: var(--ink-800);
}
.section-head {
  margin-bottom: 4rem;
  text-align: center;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--ink-700);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out);
}
.news-card::after {
  /* Cyan corner accent on hover */
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 1px;
  background: var(--spark);
  transition: width 0.5s var(--ease-out);
  box-shadow: 0 0 12px var(--spark-glow);
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(111, 232, 255, 0.25);
  box-shadow: var(--shadow-card), 0 0 50px -20px var(--spark-glow);
}
.news-card:hover::after { width: 60%; }
.news-thumb {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--ink-600);
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out);
}
.news-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(6,9,15,0.6) 100%);
}
.news-card:hover .news-thumb { transform: scale(1.05); }
.news-thumb-video {
  background: var(--ink-900);
}
.news-thumb-video video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
.news-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-meta {
  font-size: 0.72rem;
  color: var(--spark);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  font-weight: 600;
}
.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}
.news-card p {
  color: var(--mute-300);
  font-size: 0.93rem;
  line-height: 1.55;
}
.news-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(6,9,15,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(111, 232, 255, 0.25);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--spark);
  z-index: 2;
}
.news-tag-update { color: var(--ember); border-color: rgba(244, 185, 66, 0.3); }
.news-tag-devlog { color: var(--paper-100); border-color: rgba(255,255,255,0.2); }
.news-thumb { position: relative; }

.news-card .news-arrow {
  margin-top: auto;
  padding-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-100);
  transition: color 0.25s var(--ease-out), gap 0.25s var(--ease-out);
}
.news-card:hover .news-arrow {
  color: var(--spark);
  gap: 0.85rem;
}
.news-card-disabled {
  cursor: default;
  opacity: 0.85;
}
.news-card-disabled:hover {
  transform: none;
  border-color: rgba(255,255,255,0.04);
  box-shadow: none;
}
.news-card-disabled:hover .news-thumb { transform: none; }
.news-card-disabled:hover::after { width: 0; }
.news-arrow-muted { color: var(--mute-400) !important; }
.news-card-disabled:hover .news-arrow-muted { color: var(--mute-400) !important; gap: 0.5rem; }

/* =================================================================
   NEWSLETTER
   ================================================================= */
.newsletter {
  padding: 4rem 0;
  background: var(--ink-800);
}
.newsletter-card {
  background:
    radial-gradient(circle at 80% 20%, rgba(111, 232, 255, 0.12), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(244, 185, 66, 0.05), transparent 40%),
    linear-gradient(135deg, var(--ink-600), var(--ink-700));
  border: 1px solid rgba(111, 232, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 3.75rem 3.25rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--spark), transparent);
}
/* Decorative sigil top right */
.newsletter-card::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 232, 255, 0.18), transparent 60%);
  pointer-events: none;
}
.newsletter-content .display-sm { margin: 0.5rem 0 0.75rem; }
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  background: rgba(6,9,15,0.4);
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.06);
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.7rem 1.1rem;
  color: var(--paper-100);
  outline: none;
  font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: var(--mute-400); }

/* =================================================================
   CONTACT
   ================================================================= */
.contact {
  padding: 8rem 0;
  background: linear-gradient(to bottom, var(--ink-800), var(--ink-900));
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; right: -10%;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at right, rgba(111, 232, 255, 0.04), transparent 60%);
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-text .display { margin-bottom: 1rem; }
.contact-text .lede { margin-bottom: 2rem; }
.contact-email {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
}
.contact-email a {
  color: var(--spark);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease-out);
}
.contact-email a:hover { border-bottom-color: var(--spark); }

.social {
  display: flex;
  gap: 0.75rem;
  list-style: none;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  color: var(--mute-300);
  transition: all 0.3s var(--ease-out);
}
.social a:hover {
  background: var(--spark);
  color: var(--ink-900);
  transform: translateY(-2px);
}

.contact-form {
  background: var(--ink-700);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.78rem;
  letter-spacing: var(--tracking-cap);
  text-transform: uppercase;
  color: var(--mute-300);
}
.field input, .field textarea {
  background: var(--ink-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--paper-100);
  outline: none;
  transition: border-color 0.25s var(--ease-out);
  font-family: var(--font-body);
}
.field input:focus, .field textarea:focus {
  border-color: var(--spark);
}
.field textarea { resize: vertical; min-height: 120px; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
  background: var(--ink-900);
  padding: 6rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%; max-width: 1000px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(111, 232, 255, 0.4), transparent);
}
.footer-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.footer-sigil {
  width: 56px; height: 56px;
  color: var(--spark);
  filter: drop-shadow(0 0 24px var(--spark-glow));
  margin-bottom: 1.5rem;
}
.footer-mark-tag {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--mute-300);
  max-width: 36ch;
  letter-spacing: -0.01em;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: var(--tracking-cap);
  text-transform: uppercase;
  color: var(--paper-100);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col a {
  color: var(--mute-300);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--spark); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  color: var(--mute-500);
  font-size: 0.82rem;
}
.footer-craft {
  font-style: italic;
  color: var(--mute-400);
}

/* =================================================================
   REVEAL ANIMATIONS
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =================================================================
   GAME PAGE TEMPLATE
   ================================================================= */
.game-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 5rem;
}
.game-hero .hero-media,
.game-hero .hero-overlay,
.game-hero .hero-vignette,
.game-hero .hero-particles { /* inherit from .hero rules */ }
.game-hero .hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.hero-tags li {
  padding: 0.4rem 0.95rem;
  background: rgba(6,9,15,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--paper-100);
  backdrop-filter: blur(8px);
}

.game-intro-section {
  padding: 6rem 0 2rem;
  background: linear-gradient(to bottom, var(--ink-800), var(--ink-700));
}
.game-intro-inner {
  max-width: 760px;
  text-align: center;
}
.game-intro-content { font-size: 1.15rem; line-height: 1.65; color: var(--paper-200); }
.game-intro-content h2,
.game-intro-content .sectionTitle {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--paper-100);
}
.game-intro-content p { margin-bottom: 1rem; color: var(--mute-300); }
.game-intro-content a.btn,
.game-intro-content a.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.95rem 1.7rem;
  background: var(--ember);
  color: var(--ink-900);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-out);
}
.game-intro-content a.btn:hover,
.game-intro-content a.btn-primary:hover { background: #fdcc6c; transform: translateY(-2px); }

.game-detail .feature-text h2,
.game-detail .feature-text .sectionTitle,
.game-detail .feature-text h2.sectionTitle {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--paper-100);
}
.game-detail .feature-text p { color: var(--mute-300); margin-bottom: 1rem; max-width: 48ch; }
.game-detail .feature-text a.btn,
.game-detail .feature-text a.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: var(--ember);
  color: var(--ink-900);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
}
.game-detail .feature-text a.btn:hover { background: #fdcc6c; transform: translateY(-2px); }

.back-to-studio {
  padding: 4rem 0 6rem;
  text-align: center;
  background: var(--ink-800);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute-300);
  transition: all 0.3s var(--ease-out);
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}
.back-link:hover {
  color: var(--spark);
  border-color: rgba(111, 232, 255, 0.3);
  gap: 0.85rem;
}

/* =================================================================
   PAGE TEMPLATES — page hero, body, post list, 404
   ================================================================= */
.page { min-height: 60vh; }
.page-hero {
  padding: 10rem 0 4rem;
  background: linear-gradient(to bottom, var(--ink-900), var(--ink-800));
  border-bottom: 1px solid rgba(111, 232, 255, 0.06);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%; max-width: 800px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(111, 232, 255, 0.4), transparent);
}
.page-hero .display { margin-top: 1rem; }
.page-body { padding: 5rem 0 7rem; max-width: 760px; margin: 0 auto; }
.page-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--paper-200);
}
.page-content h2, .page-content h3 {
  font-family: var(--font-display);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
  color: var(--paper-100);
}
.page-content h2 { font-size: 1.85rem; }
.page-content h3 { font-size: 1.35rem; }
.page-content p { margin-bottom: 1.25rem; }
.page-content a { color: var(--spark); border-bottom: 1px solid transparent; transition: border-color 0.25s var(--ease-out); }
.page-content a:hover { border-bottom-color: var(--spark); }
.page-content ul, .page-content ol { margin: 0 0 1.5rem 1.5rem; }
.page-content li { margin-bottom: 0.4rem; }
.page-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.page-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--spark);
  background: rgba(111, 232, 255, 0.04);
  font-style: italic;
  color: var(--mute-300);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.post-thumb { margin-bottom: 2rem; border-radius: var(--radius-lg); overflow: hidden; }
.post-thumb img { width: 100%; height: auto; display: block; }

.post-list { display: flex; flex-direction: column; gap: 1.5rem; }
.post-list-item {
  background: var(--ink-700);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.post-list-item:hover { border-color: rgba(111, 232, 255, 0.25); transform: translateY(-3px); }
.post-list-link { display: block; padding: 2rem 2.25rem; }
.post-list-meta {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--spark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.post-list-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
  color: var(--paper-100);
}
.post-list-excerpt { color: var(--mute-300); margin-bottom: 1rem; }
.pagination { margin-top: 3rem; text-align: center; }
.pagination a, .pagination .current {
  display: inline-block;
  margin: 0 0.25rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--mute-300);
  font-family: var(--font-display);
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.pagination .current { color: var(--ink-900); background: var(--spark); border-color: var(--spark); }
.pagination a:hover { color: var(--spark); border-color: rgba(111, 232, 255, 0.3); }

.page-404 { padding: 12rem 0; }
.page-404-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.page-404-inner .eyebrow {
  font-size: 5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--spark);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 1rem;
  text-shadow: 0 0 60px var(--spark-glow);
}
.page-404-inner .display { margin-bottom: 1rem; }
.page-404-inner .lede { margin: 0 auto 2rem; }

/* MailChimp for WordPress (mc4wp) — newsletter form bridge */
.newsletter-form-wrap { width: 100%; }
.newsletter-form-wrap .mc4wp-form {
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}
.newsletter-form-wrap .mc4wp-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.newsletter-form-wrap .mc4wp-form p {
  margin: 0;
  display: flex;
  flex-direction: column;
}
/* Hide visible labels (placeholders carry the same info) but keep them accessible */
.newsletter-form-wrap .mc4wp-form-fields label {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.newsletter-form-wrap .mc4wp-form input[type="text"],
.newsletter-form-wrap .mc4wp-form input[type="email"],
.newsletter-form-wrap .mc4wp-form input[type="url"],
.newsletter-form-wrap .mc4wp-form input.form-control {
  width: 100%;
  background: var(--ink-800);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  color: var(--paper-100);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}
.newsletter-form-wrap .mc4wp-form input[type="text"]:focus,
.newsletter-form-wrap .mc4wp-form input[type="email"]:focus { border-color: var(--spark); }
.newsletter-form-wrap .mc4wp-form input::placeholder { color: var(--mute-400); }

.newsletter-form-wrap .mc4wp-form input[type="submit"] {
  display: inline-block;
  background: var(--ember);
  color: var(--ink-900);
  border: 0;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  width: auto;
  align-self: flex-start;
  margin-top: 0.4rem;
  box-shadow: 0 10px 30px -10px rgba(244, 185, 66, 0.6);
  transition: all 0.3s var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}
.newsletter-form-wrap .mc4wp-form input[type="submit"]:hover {
  background: #fdcc6c;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px -10px rgba(244, 185, 66, 0.8);
}
.newsletter-form-wrap .mc4wp-response {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(111, 232, 255, 0.25);
  background: rgba(111, 232, 255, 0.05);
  color: var(--paper-100);
  font-size: 0.9rem;
}
.newsletter-form-wrap .mc4wp-response:empty {
  display: none;
}

/* Contact Form 7 — global styling so it looks right anywhere it appears */
.wpcf7 {
  margin-top: 2rem;
  padding: 2.5rem;
  background: var(--ink-700);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
}
.wpcf7-form p {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.wpcf7-form label {
  font-size: 0.78rem;
  letter-spacing: var(--tracking-cap);
  text-transform: uppercase;
  color: var(--mute-300);
  font-weight: 500;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  background: var(--ink-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--paper-100);
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s var(--ease-out);
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus { border-color: var(--spark); }
.wpcf7-form textarea { resize: vertical; min-height: 140px; }
.wpcf7-form input[type="submit"], .wpcf7-form button[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding: 0.95rem 1.9rem !important;
  background: var(--ember);
  color: var(--ink-900);
  border: 0;
  border-radius: 999px !important;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(244, 185, 66, 0.6);
  transition: all 0.3s var(--ease-out);
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content !important;
  align-self: flex-start;
  text-decoration: none;
}
.wpcf7-form input[type="submit"]:hover, .wpcf7-form button[type="submit"]:hover {
  background: #fdcc6c;
  transform: translateY(-2px);
}
/* The CF7 form template wraps the submit in a flex-end column. Honor that intent. */
.wpcf7-form .col-md-12.text-end button[type="submit"],
.wpcf7-form .text-end button[type="submit"] {
  align-self: flex-end;
}
.wpcf7-spinner { display: none !important; }
.wpcf7-response-output {
  margin-top: 1rem !important;
  padding: 0.85rem 1.1rem !important;
  border-radius: var(--radius) !important;
  border: 1px solid rgba(111, 232, 255, 0.25) !important;
  color: var(--paper-100) !important;
  background: rgba(111, 232, 255, 0.05);
}
.wpcf7-not-valid-tip { color: #ff8b8b !important; font-size: 0.85rem !important; }
.contact-form-wrap .wpcf7 { margin-top: 0; }

/* WP-generated nav menu items */
.site-nav ul { list-style: none; display: flex; gap: 2rem; padding: 0; margin: 0; }
.site-nav .menu-item a { display: inline-block; padding: 0.5rem 0; }

/* Admin bar adjustment */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* =================================================================
   TRAILER MODAL
   ================================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,4,8,0.85);
  backdrop-filter: blur(12px);
  cursor: pointer;
}
.modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  background: var(--ink-900);
  border: 1px solid rgba(111, 232, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 100px -20px rgba(0,0,0,0.7), 0 0 80px -20px var(--spark-glow);
  transform: scale(0.96);
  transition: transform 0.4s var(--ease-out);
}
.modal.is-open .modal-dialog { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(6,9,15,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--paper-100);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.25s var(--ease-out);
}
.modal-close:hover {
  background: var(--spark);
  color: var(--ink-900);
  border-color: var(--spark);
}
.modal-video {
  background: black;
  aspect-ratio: 16 / 9;
}
.modal-video video {
  width: 100%; height: 100%;
  object-fit: contain;
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 920px) {
  .site-nav { display: none; }
  .platform-inner { gap: 1rem; }
  .game-card-featured,
  .game-card-featured:nth-of-type(even) { grid-template-columns: 1fr; }
  .game-card-featured:nth-of-type(even) .game-card-media { order: 0; }
  .game-card-featured:nth-of-type(even) .game-card-body { order: 0; text-align: left; }
  .game-card-featured:nth-of-type(even) .game-card-status { left: 1.25rem; right: auto; }
  .game-card-featured:nth-of-type(even) .game-card-tags,
  .game-card-featured:nth-of-type(even) .game-card-actions { justify-content: flex-start; }
  .game-card-body { padding: 2rem 1.75rem 2.25rem; }
  .upcoming-card { grid-template-columns: 1fr; text-align: center; padding: 2rem 1.5rem; gap: 1.25rem; }
  .upcoming-marker { margin: 0 auto; }
  .upcoming-body { margin: 0 auto; }
  .upcoming-link { justify-self: center; }
  .splash { min-height: 50vh; padding: 5rem 0; }
  .feature-grid { grid-template-columns: 1fr; gap: 2rem; }
  .feature-reverse .feature-grid { direction: ltr; }
  .news-grid { grid-template-columns: 1fr; }
  .newsletter-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.75rem;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .modal { padding: 1rem; }
}

@media (max-width: 560px) {
  .hero { padding: 7rem 0 5rem; }
  .hero-content { text-align: left; }
  .hero-tagline { margin-bottom: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-actions .btn { justify-content: center; }
  .hero-scroll { display: none; }
  .hero-meta { display: none; }
  .studio-strap { padding: 6rem 0 5rem; }
  .game { padding: 5rem 0 6rem; }
  .game-intro { margin-bottom: 4rem; }
  .feature { padding: 2rem 0; }
  .news { padding: 5rem 0; }
  .section-head { margin-bottom: 2.5rem; }
  .contact { padding: 5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius-lg); padding: 0.75rem; }
  .newsletter-form input { padding: 0.85rem 1rem; }
  .newsletter-form .btn { justify-content: center; }
  .newsletter-card { padding: 2rem 1.5rem; }
  .contact-form { padding: 1.75rem; }
}
