/* ==========================================================================
   Void Tales — voidtales.com
   Layout: alternating dark and light full-width bands; one typeface (Archivo,
   expanded for headings); one brand colour (ember, from the sigil).
   ========================================================================== */

:root {
  --night: #0b0c10;
  --night-2: #13151b;
  --night-3: #1b1e26;
  --paper: #f4f2ee;
  --paper-2: #e8e5de;
  --on-dark: #f4f2ee;
  --on-dark-muted: #9a9ca6;
  --on-light: #15161a;
  --on-light-muted: #5b5d65;
  --line-dark: rgba(244, 242, 238, 0.12);
  --line-light: rgba(21, 22, 26, 0.12);
  --brand: #f25c1f;
  --brand-hover: #ff7337;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(80px, 10vw, 140px);
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--on-dark);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brand); color: #fff; }

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--on-light);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.5em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-hover); }

.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.section-dark .btn-outline,
.hero .btn-outline,
.site-header .btn-outline { border-color: var(--line-dark); color: var(--on-dark); }
.section-dark .btn-outline:hover,
.hero .btn-outline:hover,
.site-header .btn-outline:hover { border-color: var(--on-dark); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.2s var(--ease);
}
.text-link span { transition: transform 0.25s var(--ease); }
.text-link:hover { color: var(--brand); }
.text-link:hover span { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(11, 12, 16, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand-mark { width: 32px; height: 32px; }
.brand-word {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 118;
}

.nav-list { display: flex; gap: 30px; }
.nav-list a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  transition: color 0.2s var(--ease);
}
.nav-list a:hover { color: var(--on-dark); }

.header-cta { min-height: 40px; font-size: 0.88rem; }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
}
.menu-bar {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.menu-bar:nth-of-type(2) { top: 17px; }
.menu-bar:nth-of-type(3) { top: 25px; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--night);
  padding: 24px var(--gutter);
  border-top: 1px solid var(--line-dark);
}
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-size: 1.6rem;
  font-weight: 700;
  font-variation-settings: "wdth" 112;
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section-dark { background: var(--night); color: var(--on-dark); }
.section-light { background: var(--paper); color: var(--on-light); --mark-cut: var(--paper); }
.section-light + .section-light { padding-top: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}
.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head-row {
  grid-template-columns: 1fr auto;
  align-items: end;
}
.section-head-row > div { display: grid; gap: 14px; }

.section-title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 112;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

/* reveal on scroll (only when JS runs) */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(45% 55% at 72% 48%, rgba(242, 92, 31, 0.16), transparent 70%),
    var(--night);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 12, 16, 0.92) 0%, rgba(11, 12, 16, 0.5) 42%, rgba(11, 12, 16, 0) 68%),
    linear-gradient(0deg, var(--night) 0%, rgba(11, 12, 16, 0) 30%);
}

.hero-content {
  padding-top: 140px;
  padding-bottom: 150px;
  display: grid;
  justify-items: start;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 118;
}

.hero-lede {
  max-width: 34rem;
  margin-top: 26px;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: var(--on-dark-muted);
}

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

.hero .reveal:nth-child(2) { transition-delay: 0.06s; }
.hero .reveal:nth-child(3) { transition-delay: 0.12s; }
.hero .reveal:nth-child(4) { transition-delay: 0.18s; }

.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  margin-inline: auto;
}

.now {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(19, 21, 27, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.92rem;
  transition: border-color 0.2s var(--ease);
}
.now:hover { border-color: var(--brand); }
.now strong { font-weight: 700; }
.now-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s ease-in-out infinite;
}
.now-meta { color: var(--on-dark-muted); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 92, 31, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(242, 92, 31, 0); }
}

/* ---------- Games ---------- */

.games { padding-top: clamp(56px, 7vw, 96px); }

.feature-game {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  background: var(--night-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-art {
  position: relative;
  min-height: 480px;
  background: var(--night-3);
}
.feature-art canvas { width: 100%; height: 100%; position: absolute; inset: 0; }
.feature-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 3.5vw, 48px);
}

.game-name {
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 125;
}
.game-tagline {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand);
}
.game-desc { color: var(--on-dark-muted); }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 4px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}
.facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.facts dd { margin: 2px 0 0; font-weight: 600; }

.feature-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: auto;
  padding-top: 8px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(40px, 5vw, 64px);
}
.pillars li {
  padding-top: 20px;
  border-top: 2px solid var(--brand);
}
.pillars h4 {
  font-size: 1.15rem;
  font-variation-settings: "wdth" 108;
}
.pillars p { margin-top: 8px; color: var(--on-dark-muted); }

/* ---------- Studio ---------- */

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}
.studio-grid > div:first-child { display: grid; gap: 14px; align-content: start; }

.studio-copy { display: grid; gap: clamp(32px, 4vw, 48px); }
.studio-copy .lead { color: var(--on-light); }

.values { display: grid; gap: 0; }
.values li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 8px 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line-light);
}
.values li:last-child { border-bottom: 1px solid var(--line-light); }
.values h3 { font-size: 1.15rem; font-variation-settings: "wdth" 108; }
.values p { color: var(--on-light-muted); }

/* ---------- News ---------- */

.news { padding-bottom: var(--section-y); }

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

.post {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.8s var(--ease), opacity 0.8s var(--ease);
}
.post:hover {
  border-color: var(--brand);
  box-shadow: 0 10px 30px -18px rgba(21, 22, 26, 0.35);
}
.post-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.post-title {
  font-size: 1.3rem;
  line-height: 1.25;
  font-variation-settings: "wdth" 104;
  text-wrap: balance;
}
.post-excerpt { color: var(--on-light-muted); font-size: 0.98rem; }
.post-date {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.85rem;
  color: var(--on-light-muted);
}

/* ---------- Careers ---------- */

.careers-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.careers-inner > div:first-child { display: grid; gap: 14px; }
.careers-copy { display: grid; gap: 28px; justify-items: start; }
.careers-copy .lead { color: var(--on-dark-muted); }
.careers { border-bottom: 1px solid var(--line-dark); }

/* ---------- Contact ---------- */

.contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: var(--night-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.contact-card h3 { font-size: 1.15rem; font-variation-settings: "wdth" 108; }
.contact-card p { color: var(--on-dark-muted); }
.contact-card a {
  margin-top: auto;
  padding-top: 10px;
  font-weight: 600;
  color: var(--on-dark);
  word-break: break-word;
  transition: color 0.2s var(--ease);
}
.contact-card a:hover { color: var(--brand); }

.signal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 12px 40px;
  align-items: center;
  margin-top: 20px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
}
.signal h3 { font-size: 1.5rem; font-variation-settings: "wdth" 112; }
.signal p { opacity: 0.9; }

.signal-form {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius);
  background: #fff;
}
.signal-form input {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--on-light);
  font: inherit;
  font-size: 1rem;
}
.signal-form input::placeholder { color: var(--on-light-muted); }
.signal-form input:focus { outline: none; }
.signal-form .btn { background: var(--night); }
.signal-form .btn:hover { background: var(--night-3); }

.signal-status {
  grid-column: 2;
  min-height: 1.5em;
  font-size: 0.92rem;
}
.signal-status.is-error { font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--night);
  border-top: 1px solid var(--line-dark);
  padding-top: 64px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.footer-top .brand { margin-right: 0; align-self: start; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 32px clamp(40px, 6vw, 96px);
}
.footer-head {
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.footer-cols li + li { margin-top: 8px; }
.footer-cols a { color: var(--on-dark); opacity: 0.85; transition: color 0.2s var(--ease), opacity 0.2s var(--ease); }
.footer-cols a:hover { color: var(--brand); opacity: 1; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-block: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}
.footer-bottom a:hover { color: var(--on-dark); }

/* ---------- Inner pages (Nendheu, press kit) ---------- */

.site-header.is-solid {
  background: rgba(11, 12, 16, 0.94);
  border-bottom-color: var(--line-dark);
}

.inline-link,
.prose a,
.page-lede a,
.faq a,
.factsheet a,
.assets-note a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.inline-link:hover,
.prose a:hover,
.page-lede a:hover,
.faq a:hover,
.factsheet a:hover,
.assets-note a:hover { color: var(--brand); }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a:hover { color: var(--on-dark); }

.section-tight { padding-top: 0; }
.section-tight-top { padding-top: 0; }
.narrow { max-width: 860px; }

.game-hero {
  position: relative;
  min-height: 78vh;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--night-3);
}
.game-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.game-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, var(--night) 0%, rgba(11, 12, 16, 0.75) 30%, rgba(11, 12, 16, 0.1) 70%),
    linear-gradient(90deg, rgba(11, 12, 16, 0.7) 0%, rgba(11, 12, 16, 0) 60%);
}
.game-hero-content {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding-top: 120px;
  padding-bottom: clamp(48px, 7vw, 88px);
}
.game-hero-title {
  font-size: clamp(3.2rem, 10vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 125;
}
.game-hero-tagline {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--brand);
}
.game-hero .hero-actions { margin-top: 12px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.prose { display: grid; gap: 20px; max-width: 68ch; }
.prose .section-title { margin-bottom: 4px; }
.section-dark .prose p:not(.lead) { color: var(--on-dark-muted); }
.section-light .prose p:not(.lead) { color: var(--on-light-muted); }
.prose h3 {
  margin-top: 16px;
  font-size: 1.1rem;
  font-variation-settings: "wdth" 108;
}

.factsheet {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--night-2);
}
.factsheet-light {
  border-color: var(--line-light);
  background: #fff;
}
.factsheet-title {
  margin-bottom: 18px;
  font-size: 1.15rem;
  font-variation-settings: "wdth" 110;
}
.factsheet dl { margin: 0; display: grid; }
.factsheet dl > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line-dark);
}
.factsheet-light dl > div { border-top-color: var(--line-light); }
.factsheet dt {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  padding-top: 2px;
}
.factsheet-light dt { color: var(--on-light-muted); }
.factsheet dd { margin: 0; font-weight: 600; word-break: break-word; }

.pillars-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section-title + .pillars { margin-top: clamp(28px, 4vw, 44px); }

.glossary { margin: 0; display: grid; }
.glossary > div {
  padding: 20px 0;
  border-top: 1px solid var(--line-light);
}
.glossary > div:last-child { border-bottom: 1px solid var(--line-light); }
.glossary dt {
  font-size: 1.15rem;
  font-weight: 700;
  font-variation-settings: "wdth" 110;
}
.glossary dd { margin: 6px 0 0; color: var(--on-light-muted); }

.faq { margin-top: clamp(28px, 4vw, 44px); display: grid; }
.faq-item {
  padding: 22px 0;
  border-top: 1px solid var(--line-light);
}
.faq-item:last-child { border-bottom: 1px solid var(--line-light); }
.faq-item h3 {
  font-size: 1.15rem;
  font-variation-settings: "wdth" 106;
}
.faq-item p { margin-top: 8px; color: var(--on-light-muted); max-width: 70ch; }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}
.cta-band > div:first-child { display: grid; gap: 12px; }
.cta-band .lead { color: var(--on-dark-muted); }
.cta-band .hero-actions { margin-top: 0; }

.page-head {
  padding-top: 140px;
  padding-bottom: clamp(48px, 6vw, 80px);
}
.page-head .container { display: grid; gap: 18px; }
.page-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 118;
}
.page-lede { max-width: 60ch; color: var(--on-dark-muted); }

.press-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.copy-block {
  padding: 18px 20px;
  border-left: 3px solid var(--brand);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--on-light) !important;
}

.assets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(28px, 4vw, 44px);
}
.asset {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--night-2);
  transition: border-color 0.2s var(--ease);
}
.asset:hover { border-color: var(--brand); }
.asset-preview {
  display: grid;
  place-items: center;
  height: 140px;
  margin-bottom: 8px;
  border-radius: 4px;
  background: var(--night);
  overflow: hidden;
}
.asset-preview img { max-height: 110px; width: auto; }
.asset-name { font-weight: 700; }
.asset-meta { font-size: 0.85rem; color: var(--on-dark-muted); }
.assets-note { margin-top: 24px; color: var(--on-dark-muted); }

/* ---------- News index + articles ---------- */

.news-list { display: grid; gap: 20px; }
.news-list .post { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.news-list .post > div { flex: 1 1 420px; display: grid; gap: 8px; min-width: 0; }
.news-list .post-date { margin: 0; padding: 0; flex: 0 0 auto; }

.article-head { padding-top: 140px; padding-bottom: clamp(40px, 5vw, 64px); }
.article-head .container { display: grid; gap: 18px; max-width: 860px; }
.article-title {
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 112;
  text-wrap: balance;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.9rem;
  color: var(--on-dark-muted);
}
.article-meta .post-tag { color: var(--brand); }

.article-body {
  max-width: 860px;
  display: grid;
  gap: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
}
.article-body > * { max-width: 68ch; }
.article-body .lead { font-size: clamp(1.18rem, 1.8vw, 1.35rem); line-height: 1.55; }
.article-body h2 {
  margin-top: 24px;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-variation-settings: "wdth" 110;
}
.article-body p,
.article-body li { color: #33353c; }
.article-body ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 8px; }
.article-body a {
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.article-body a:hover { color: var(--brand); }
.article-body strong { color: var(--on-light); }

.key-facts {
  padding: 20px 24px;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fff;
}
.key-facts h2 { margin: 0 0 10px; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; }
.key-facts ul { gap: 6px; }

.sources {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-size: 0.95rem;
}
.sources h2 { margin: 0 0 10px; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related-title { margin-bottom: 24px; font-size: 1.4rem; font-variation-settings: "wdth" 110; }

/* ---------- 404 ---------- */

.lost {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px var(--gutter);
}
.lost-code {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--brand);
}
.lost h1 {
  margin: 18px 0;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 118;
}
.lost p { color: var(--on-dark-muted); margin-bottom: 32px; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .feature-game { grid-template-columns: 1fr; }
  .feature-art { min-height: 0; aspect-ratio: 16 / 9; }
  .posts { grid-template-columns: 1fr 1fr; }
  .posts .post:nth-child(3) { display: none; }
}

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }

  .hero-shade {
    background:
      linear-gradient(0deg, var(--night) 8%, rgba(11, 12, 16, 0.6) 50%, rgba(11, 12, 16, 0.2) 100%);
  }
  .hero { justify-content: flex-end; }
  .hero-content { padding-top: 220px; padding-bottom: 130px; }

  .studio-grid, .careers-inner { grid-template-columns: 1fr; }
  .values li { grid-template-columns: 1fr; }
  .pillars, .contacts { grid-template-columns: 1fr; }
  .signal { grid-template-columns: 1fr; }
  .signal-status { grid-column: 1; }
  .split, .press-grid { grid-template-columns: 1fr; }
  .pillars-4 { grid-template-columns: 1fr 1fr; }
  .assets { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .section-head-row { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .posts .post:nth-child(3) { display: flex; }
  .hero-actions .btn { flex: 1 1 auto; }
  .signal-form { flex-direction: column; }
  .signal-form input { min-height: 48px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .pillars-4 { grid-template-columns: 1fr; }
  .factsheet dl > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
