:root {
  --bg: #0b0a10;
  --surface: #13111a;
  --line: #1f1c27;
  --line-strong: #34303f;
  --ink: #eeeae4;
  --ink-soft: #c9c4cf;
  --muted: #a9a3b1;
  --accent: #f0a35e;
  --accent-hover: #f7c08a;
  --on-accent: #1a1109;
  --gold: #e8c86a;
  --live: #7fd48a;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-duskmere: "Cinzel", Georgia, serif;

  --max: 1200px;
  --gutter: 24px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; z-index: 10; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; font-weight: 500; line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { color: var(--ink); border-color: var(--muted); }
.btn-gold { background: var(--gold); color: #1a1407; }
.btn-gold:hover { background: #f3d98c; color: #1a1407; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.label {
  margin: 0;
  font-family: var(--font-mono); font-weight: 400; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Nav ---------- */
.site-header { border-bottom: 1px solid var(--line); }
.nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: .01em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--ink-soft); }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links .btn { min-height: 44px; padding: 10px 18px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(72px, 12vw, 120px) 72px; }
.hero .kicker { color: var(--accent); margin-bottom: 24px; }
.hero h1 {
  margin: 0; max-width: 13ch;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(48px, 8vw, 104px); line-height: .98; letter-spacing: -.035em;
}
.hero .lede { margin: 32px 0 40px; max-width: 600px; font-size: clamp(18px, 2vw, 20px); line-height: 1.55; color: var(--muted); }
.hero .lede strong { color: var(--ink); font-weight: 400; }

.hero-figure {
  margin: 0; position: relative; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--line);
}
.hero-figure img { width: 100%; height: clamp(280px, 40vw, 520px); object-fit: cover; }
.pill {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(11, 10, 16, .82); border: 1px solid #2a2633;
  font-size: 14px; color: var(--ink);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); }

/* ---------- Sections ---------- */
.section { padding-top: clamp(96px, 12vw, 150px); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.section-head .count { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }

/* ---------- Duskmere ---------- */
.game { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 56px; }
.game-copy { flex: 1 1 420px; min-width: 0; }
.badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
}
.game-title {
  margin: 24px 0 0; color: var(--gold);
  font-family: var(--font-duskmere); font-weight: 700;
  font-size: clamp(44px, 6vw, 64px); letter-spacing: .12em; line-height: 1;
  text-transform: uppercase;
}
.game-tagline {
  margin: 20px 0 0;
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 26px); line-height: 1.3; letter-spacing: -.01em;
}
.game-desc { margin: 20px 0 32px; max-width: 520px; color: var(--muted); }

.facts { flex: 1 1 360px; min-width: 0; margin: 0; border-top: 1px solid var(--line); }
.facts div {
  display: flex; justify-content: space-between; gap: 24px;
  padding-block: 18px; border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; }

.trailer { margin-top: 72px; }
.trailer video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 14px; background: #000;
}
.trailer figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- Timeline ---------- */
.section-intro { margin: 20px 0 0; max-width: 560px; color: var(--muted); }
.timeline { list-style: none; margin: 72px 0 0; padding: 0; }
.timeline li {
  position: relative; display: flex; flex-wrap: wrap; gap: 24px 48px;
  margin-left: 7px; padding: 0 0 72px 40px; border-left: 1px solid var(--line-strong);
}
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 4px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); border: 2px solid #6b6577;
}
.timeline li.latest { padding-bottom: 0; border-left-color: transparent; }
.timeline li.latest::before { background: var(--accent); border-color: var(--accent); }
.tl-copy { flex: 1 1 260px; min-width: 0; }
.tl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.timeline time {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.tl-badge {
  padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
}
.tl-copy h3 { margin: 10px 0 0; font-family: var(--font-display); font-weight: 500; font-size: 26px; letter-spacing: -.01em; }
.tl-copy p { margin: 10px 0 0; color: var(--muted); }
.timeline figure { flex: 2 1 520px; min-width: 0; margin: 0; }
.timeline img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--line);
}

/* ---------- Studio ---------- */
.statement {
  margin: 56px 0 0; max-width: 20ch;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -.025em;
}
.pillars { margin: 72px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 48px; }
.pillars li { flex: 1 1 280px; min-width: 0; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.pillars li:first-child { border-top-color: var(--accent); }
.pillars .num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.pillars h3 { margin: 16px 0 0; font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: -.01em; }
.pillars p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Team ---------- */
.member { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px 64px; }
.member figure { margin: 0; flex: 0 1 380px; min-width: 0; }
.member img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 20px; border: 1px solid var(--line);
}
.member-copy { flex: 1 1 360px; min-width: 0; padding-bottom: 8px; }
.member-role { color: var(--accent); }
.member h3 {
  margin: 16px 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.03em;
}
.member-bio { margin: 24px 0 32px; max-width: 480px; font-size: 19px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { margin-top: 56px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 44px; padding-block: 22px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-family: var(--font-mono); font-size: 22px; color: var(--accent);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.faq h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.2vw, 24px); letter-spacing: -.01em; }
.faq details p { margin: 0 0 24px; max-width: 720px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { padding-bottom: 120px; }
.contact-card {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: clamp(32px, 6vw, 80px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
}
.contact-card > div { flex: 1 1 420px; min-width: 0; }
.contact-card h2 {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.03em;
}
.contact-card p { margin: 20px 0 0; max-width: 480px; color: var(--muted); }
.contact-card .btn { font-size: 19px; min-height: 56px; padding: 16px 28px; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 32px; font-size: 14px; color: var(--muted);
}
.footer .brand-small { display: flex; align-items: center; gap: 10px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }

/* ---------- 404 ---------- */
.not-found { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.not-found h1 {
  margin: 16px 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 6vw, 72px); letter-spacing: -.03em; line-height: 1;
}
.not-found p { color: var(--muted); margin: 20px 0 32px; }

@media (max-width: 560px) {
  .facts div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
  .timeline li { padding-left: 28px; }
}
