:root {
  --bg: #0e1215;
  --bg-2: #141a1f;
  --text: #d9dfe2;
  --muted: #8f9ba2;
  --gold: #f3cf78;
  --teal: #45c6bf;
  --steam-1: #3b8fd9;
  --steam-2: #1b4384;
  --radius: 10px;
  --wrap: 1080px;
  --nav-h: 60px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 "Open Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn-steam {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 26px;
  border-radius: 6px;
  color: #eef6ff;
  font-weight: 600; font-size: 18px;
  text-decoration: none;
  background: linear-gradient(180deg, var(--steam-1) 0%, var(--steam-2) 100%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 6px 22px rgba(20,60,120,.55), inset 0 1px 0 rgba(255,255,255,.2);
  transition: filter .15s ease, transform .15s ease;
}
.btn-steam img { height: 30px; width: auto; }
.btn-steam:hover { filter: brightness(1.15); transform: translateY(-1px); }
.btn-steam-sm { padding: 7px 14px; font-size: 14px; gap: 7px; box-shadow: none; }
.btn-steam-sm img { height: 20px; }

.btn {
  display: inline-flex; align-items: center;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600; font-size: 18px;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(14,18,21,.45);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--gold); color: #fff; }

/* ---------- Top nav ---------- */
.topnav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 22px;
  background: rgba(10,13,16,.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transform: translateY(-100%);
  transition: transform .25s ease;
}
.topnav.show { transform: none; }
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none;
  font-family: "Grenze", Georgia, serif; font-size: 22px; font-weight: 600; }
.nav-brand img { border-radius: 6px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: min(100vh, 1000px);
  min-height: 600px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  padding: 40px 20px 120px;
}
.hero-bg-wrap {
  position: absolute; left: 0; right: 0; top: 0;
  height: 128%;
  will-change: transform;
  transform: translateY(-21.875%); /* 28/128: party visible on load; JS takes over on scroll */
}
.hero-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 47% 100%;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 42%, rgba(10,13,16,.45), transparent 70%),
    linear-gradient(to bottom, transparent 93%, var(--bg) 100%);
}
.hero-content { position: relative; max-width: 900px; }
.hero h1 { margin: 0; }
.logo {
  width: min(720px, 90vw); height: auto; margin: 0 auto;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.6));
}
.tagline {
  font-size: clamp(18px, 2.4vw, 22px);
  margin: 6px auto 26px;
  max-width: 640px;
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
}
.demo-note { color: var(--gold); margin: 16px 0 0; font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,.9); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.band { padding: 64px 0; }
.band-alt { background: var(--bg-2); border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }
#trailer { padding-top: 24px; }

.text-heading {
  font-family: "Grenze", Georgia, serif;
  font-weight: 600;
  color: var(--gold);
  font-size: 36px;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 24px;
  letter-spacing: .5px;
}

/* ---------- Trailer ---------- */
.video-frame {
  position: relative;
  max-width: 960px; margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(0,0,0,.6);
  background: #000;
}
.video-frame video { width: 100%; aspect-ratio: 16 / 9; }
.play-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border: 0; cursor: pointer;
  background: radial-gradient(circle at center, rgba(0,0,0,.35), rgba(0,0,0,.15) 60%);
  color: #fff;
}
.play-circle {
  width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10,13,16,.72);
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 8px 30px rgba(0,0,0,.6);
  transition: transform .15s ease, background .15s ease;
}
.play-circle svg { width: 50px; height: 50px; fill: #fff; margin-left: 6px; }
.play-label {
  font-family: "Grenze", Georgia, serif; font-size: 26px; font-weight: 600;
  color: var(--gold); text-shadow: 0 2px 10px #000;
}
.play-overlay:hover .play-circle { transform: scale(1.07); background: rgba(27,67,132,.85); }
.video-frame.playing .play-overlay { display: none; }

.prose { max-width: 780px; margin-left: auto; margin-right: auto; }
.prose p { margin: 0 0 1em; }
.intro { margin-top: 36px; }
.lead { font-size: 19px; color: #eef2f3; }
ul { padding-left: 1.2em; margin: 0; }
li { margin: .4em 0; }
li::marker { color: var(--gold); }

/* ---------- Features (two-column rows) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: center;
}
.feature + .feature { margin-top: 64px; }
.feature.flip .feature-text { order: 2; }
.feature h3 { margin: 0 0 16px; }
.feature h3 img { height: 50px; width: auto; }
.feature p { margin: 0 0 .8em; }
.lineup { width: 100%; max-width: 460px; height: auto; margin: 0 0 14px; }
.anim {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
  background: #000;
}
.anim video { width: 100%; aspect-ratio: 2 / 1; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery a { display: block; border-radius: 8px; overflow: hidden; outline: 1px solid rgba(255,255,255,.08); }
.gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s ease; }
.gallery a:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(5,7,8,.92);
  display: grid; place-items: center;
  padding: 24px;
  z-index: 30;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; border-radius: 6px; box-shadow: 0 10px 50px #000; }

/* ---------- Closer ---------- */
.closer { text-align: center; margin-top: 52px; }
.closer-line {
  font-family: "Grenze", Georgia, serif;
  font-size: clamp(24px, 3.2vw, 32px);
  color: var(--gold);
  line-height: 1.25;
  margin: 0 0 22px;
}
.steam-widget { width: 100%; max-width: 646px; height: 190px; border: 0; margin: 0 auto; }

blockquote {
  margin: 20px 0 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--teal);
  color: var(--muted);
  font-style: italic;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 36px 20px 30px;
  color: var(--muted);
  font-size: 15px;
}
.studio-logo { width: 72px; height: auto; margin: 0 auto 14px; opacity: .9; }
.site-footer nav { display: flex; gap: 26px; justify-content: center; margin-bottom: 10px; }
.site-footer nav a { color: var(--text); text-decoration: none; }
.site-footer nav a:hover { color: var(--gold); }
.site-footer p { margin: 0; }

/* ---------- Press kit page ---------- */
.pk-header { text-align: center; padding: 40px 20px 10px; }
.pk-header .logo { width: min(460px, 80vw); }
.pk-header a.back { color: var(--muted); font-size: 15px; text-decoration: none; }
.pk-page section { margin: 56px auto; }
.pk-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.facts { width: 100%; border-collapse: collapse; font-size: 15px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.facts th { color: var(--gold); font-weight: 600; white-space: nowrap; padding-right: 16px; }
.downloads { list-style: none; padding: 0; margin: 0; }
.downloads li { margin: 0 0 10px; }
.downloads a {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  text-decoration: none; color: var(--text);
}
.downloads a:hover { border-color: var(--teal); }
.downloads span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.pk-section h2 { text-align: left; font-size: 28px; margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 22px; }
  .feature.flip .feature-text { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .band { padding: 48px 0; }
  .feature h3 img { height: 38px; }
  .nav-brand span { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .play-circle { width: 76px; height: 76px; }
  .play-circle svg { width: 36px; height: 36px; }
  .pk-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg-wrap { transform: translateY(-21.875%) !important; }
}
