@font-face {
  font-family: "Dungeon Pixel";
  src: url("../fonts/dungeon-pixel.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #090604;
  --bg-deep: #030201;
  --panel: #130c08;
  --panel-raised: #1b110b;
  --ink: #f5e6c5;
  --muted: #b6a280;
  --faint: #75654d;
  --gold: #e9a93a;
  --gold-bright: #ffc65a;
  --rust: #a8461e;
  --line: #48311d;
  --line-soft: #2b1d12;
  --cyan: #76d7d3;
  --green: #9fca55;
  --violet: #b48ae5;
  --shell: min(1180px, calc(100vw - 40px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pixel: "Dungeon Pixel", ui-monospace, "Cascadia Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--line) var(--bg-deep);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 18%, #33160b55, transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  border: 1px solid #be7a2b42;
  pointer-events: none;
  content: "";
}

img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-color: #dc9a3b88; text-underline-offset: .2em; }
a:hover { color: var(--gold-bright); }

::selection { background: #d4862c; color: #120804; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.shell { width: var(--shell); margin-inline: auto; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  translate: 0 -200%;
  border: 1px solid var(--gold);
  background: var(--bg-deep);
}
.skip-link:focus { translate: 0; }

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.site-header.is-scrolled,
.inner-page ~ .site-header {
  border-color: #5a3a2080;
  background: #080503e8;
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.05;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.wordmark b { display: block; color: var(--gold); font-weight: 600; }
.wordmark-mark {
  position: relative;
  display: grid;
  width: 34px;
  aspect-ratio: 1;
  place-items: center;
  rotate: 45deg;
  border: 1px solid var(--gold);
}
.wordmark-mark::before,
.wordmark-mark::after {
  position: absolute;
  width: 18px;
  height: 1px;
  background: var(--line);
  content: "";
}
.wordmark-mark::after { rotate: 90deg; }
.wordmark-mark i {
  z-index: 1;
  width: 8px;
  aspect-ratio: 1;
  rotate: -45deg;
  border: 1px solid var(--gold-bright);
  border-radius: 50% 0 50% 0;
  background: #35190b;
}

.site-navigation { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.site-navigation a {
  position: relative;
  color: #d6c29e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-navigation a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  scale: 0 1;
  background: var(--gold);
  content: "";
  transition: scale .2s ease;
}
.site-navigation a:hover,
.site-navigation a[aria-current="page"] { color: var(--gold-bright); }
.site-navigation a:hover::after,
.site-navigation a[aria-current="page"]::after { scale: 1 1; }
.site-navigation .nav-cta {
  padding: 10px 14px;
  border: 1px solid #bc7e2e;
  background: #1c1008bb;
  color: var(--gold-bright);
}
.site-navigation .nav-cta:hover { background: var(--gold); color: #180c04; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #100904;
  color: var(--ink);
}
.menu-toggle > span:not(.visually-hidden) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: rotate .2s ease, translate .2s ease, opacity .2s ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: max(720px, 100svh);
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background: #080503;
}
.hero-art,
.final-cta-art,
.page-hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-position: center;
  background-size: cover;
}
.hero-art { background-image: url("../images/dungeon-path-tracer-background.jpg"); scale: 1.04; }
.hero-vignette {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #050302f2 0%, #080402ba 45%, #08040266 68%, #050302c9 100%),
    linear-gradient(0deg, #080503 0%, transparent 32%, #08050399 100%);
}
.hero-content { padding-top: 86px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.eyebrow::before {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 12px;
  translate: 0 -3px;
  background: currentColor;
  content: "";
}
.hero h1 {
  max-width: 850px;
  margin: 0;
  color: #f1d99f;
  font-family: var(--serif);
  font-size: clamp(62px, 10vw, 148px);
  font-weight: 500;
  line-height: .78;
  letter-spacing: -.065em;
  text-shadow: 0 10px 40px #000;
  text-transform: uppercase;
}
.hero h1 span { display: block; }
.hero h1 span:last-child { margin-left: clamp(20px, 7vw, 110px); color: var(--gold); }
.hero-lede {
  margin: 40px 0 0 clamp(20px, 7vw, 110px);
  color: #d7c19a;
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 29px);
  font-style: italic;
  line-height: 1.35;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  margin-left: clamp(20px, 7vw, 110px);
}
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 20px;
  border: 1px solid var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: translate .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.button:hover { translate: 0 -2px; }
.button-primary {
  background: var(--gold);
  color: #170b04;
  box-shadow: 0 12px 34px #0009, inset 0 1px #ffe5a2;
}
.button-primary:hover { background: var(--gold-bright); color: #170b04; }
.button-ghost { border-color: #9b7546; background: #0b0604a6; color: #ecd5ad; }
.button-ghost:hover { border-color: var(--gold); background: #1c0f07; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 34px 0 0 clamp(20px, 7vw, 110px);
  padding: 0;
  color: #9d8867;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  list-style: none;
  text-transform: uppercase;
}
.hero-meta li:not(:last-child)::after { margin-left: 26px; color: var(--rust); content: "◆"; font-size: 7px; }
.scroll-cue {
  position: absolute;
  right: 34px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8e795a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue i { display: block; width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); }

.section { position: relative; padding: clamp(86px, 11vw, 150px) 0; }
.split-layout { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(320px, 1.15fr); gap: clamp(50px, 9vw, 140px); }
.section-heading h2,
.renderer-copy h2,
.origin-card h2,
.final-cta h2,
.press-heading h2,
.credits-content h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.section-heading.centered { max-width: 780px; margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow::before { display: none; }
.section-heading.centered > p:last-child { max-width: 620px; margin: 24px auto 0; color: var(--muted); }
.prose p { margin: 0 0 1.3em; color: var(--muted); }
.prose .lede,
.lead-prose .lede { color: #e5d3ae; font-family: var(--serif); font-size: clamp(21px, 2.5vw, 29px); line-height: 1.5; }
.intro-section::after {
  position: absolute;
  right: 8vw;
  bottom: 0;
  left: 8vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  content: "";
}

.showcase-section { padding-top: 0; }
.key-art-frame {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid #624124;
  background: #080503;
  cursor: zoom-in;
  box-shadow: 0 28px 90px #000b;
}
.key-art-frame::after {
  position: absolute;
  inset: 10px;
  border: 1px solid #c38a3b44;
  pointer-events: none;
  content: "";
}
.key-art-frame img { width: 100%; transition: scale .7s cubic-bezier(.2,.8,.2,1), filter .4s ease; }
.key-art-frame:hover img { scale: 1.015; filter: brightness(1.08); }
.key-art-frame > span {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: #090503d9;
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.features-section { border-block: 1px solid var(--line-soft); background: #0d0805; }
.features-section::before {
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image: linear-gradient(#5f3c1d 1px, transparent 1px), linear-gradient(90deg, #5f3c1d 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000, transparent 75%);
  content: "";
}
.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature-card {
  min-height: 280px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0c0704b8;
  transition: background-color .25s ease, translate .25s ease;
}
.feature-card:hover { z-index: 1; translate: 0 -4px; background: #1b1008; }
.feature-number { color: var(--rust); font-family: var(--pixel); font-size: 12px; }
.feature-card h3 { margin: 54px 0 16px; color: #ead5ad; font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.12; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.renderer-section { overflow: hidden; }
.renderer-grid { display: grid; grid-template-columns: 1fr minmax(380px, .9fr); align-items: center; gap: clamp(50px, 9vw, 130px); }
.renderer-copy > p:not(.eyebrow) { max-width: 600px; margin: 28px 0; color: var(--muted); }
.spec-list { margin: 38px 0 0; border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: 150px 1fr; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.spec-list dt { color: var(--faint); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.spec-list dd { margin: 0; color: #d8c39d; font-size: 13px; }
.renderer-visual { position: relative; margin: 0; }
.renderer-visual::before {
  position: absolute;
  z-index: -1;
  top: -26px;
  right: -26px;
  bottom: 26px;
  left: 26px;
  border: 1px solid var(--line);
  content: "";
}
.renderer-visual img { width: 100%; border: 1px solid #7a512b; box-shadow: 0 30px 70px #000a; }
.renderer-visual figcaption { margin-top: 14px; color: var(--faint); font-family: var(--serif); font-size: 13px; font-style: italic; text-align: right; }

.arsenal-section { border-block: 1px solid var(--line-soft); background: linear-gradient(135deg, #180b06, #0b0704 55%); }
.arsenal-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 9vw; margin-top: 58px; }
.arsenal-list { counter-reset: arsenal; }
.arsenal-list p { position: relative; margin: 0; padding: 20px 0 20px 38px; border-top: 1px solid var(--line); color: var(--muted); }
.arsenal-list p::before { position: absolute; left: 0; color: var(--gold); content: "✦"; }
.pull-quote { margin: 0; }
.pull-quote p { margin: 0; color: #e9cf9a; font-family: var(--serif); font-size: clamp(30px, 4vw, 50px); font-style: italic; line-height: 1.25; }

.origin-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(50px, 8vw, 110px);
  padding: clamp(38px, 6vw, 72px);
  border: 1px solid var(--line);
  background: radial-gradient(circle at top left, #49200d4a, transparent 48%), #100a06;
  box-shadow: inset 0 0 0 8px #080503, inset 0 0 0 9px #4b301b;
}
.origin-card h2 { font-size: clamp(32px, 4.3vw, 58px); }

.final-cta {
  min-height: 680px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
}
.final-cta-art { background-image: url("../images/dungeon-path-tracer-banner.jpg"); opacity: .45; scale: 1.08; }
.final-cta::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #050302f7 0 30%, #050302c7 65%, #050302eb), linear-gradient(0deg, #050302, transparent 35%); content: ""; }
.final-cta-content h2 { max-width: 880px; font-size: clamp(43px, 7vw, 86px); }
.final-cta .hero-actions { margin-left: 0; }
.text-link { color: var(--gold-bright); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.text-link span { display: inline-block; margin-left: 8px; transition: translate .2s ease; }
.text-link:hover span { translate: 4px; }

.site-footer { padding: 72px 0 26px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-grid > div p { max-width: 430px; color: var(--faint); font-family: var(--serif); font-size: 15px; }
.footer-wordmark { margin-bottom: 18px; }
.footer-grid nav { display: grid; align-content: start; gap: 8px; }
.footer-grid nav strong { margin-bottom: 10px; color: var(--faint); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.footer-grid nav a { color: #c9b593; font-size: 13px; text-decoration: none; }
.footer-legal { display: flex; justify-content: space-between; gap: 30px; margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: #665743; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.inner-page { padding-top: 78px; }
.page-hero {
  position: relative;
  display: grid;
  min-height: 590px;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-hero-art { background-image: url("../images/dungeon-path-tracer-banner.jpg"); opacity: .46; }
.page-hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #070402f7 0 35%, #070402b8 72%, #070402dd), linear-gradient(0deg, #090604 0, transparent 55%); content: ""; }
.page-hero-content { padding-block: 100px 76px; }
.page-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(66px, 11vw, 140px); font-weight: 400; letter-spacing: -.06em; line-height: .9; }
.page-hero-content > p:not(.eyebrow) { max-width: 620px; margin: 28px 0; color: #cfb994; font-family: var(--serif); font-size: clamp(18px, 2vw, 25px); }
.compact-page-hero { min-height: 470px; }

.press-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(50px, 8vw, 110px); padding-block: 90px 130px; }
.press-nav { position: sticky; top: 110px; display: grid; align-self: start; gap: 10px; }
.press-nav strong { margin-bottom: 12px; color: var(--faint); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.press-nav a { padding: 6px 0; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: 12px; text-decoration: none; }
.press-nav a:hover { color: var(--gold); }
.press-content { min-width: 0; }
.press-section { padding: 0 0 90px; scroll-margin-top: 115px; }
.press-section + .press-section { padding-top: 90px; border-top: 1px solid var(--line); }
.press-heading { margin-bottom: 38px; }
.press-heading h2 { font-size: clamp(40px, 5vw, 64px); }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fact-grid div { min-height: 90px; padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #100a06; }
.fact-grid dt { color: var(--faint); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.fact-grid dd { margin: 8px 0 0; color: #e0cba4; font-family: var(--serif); font-size: 17px; line-height: 1.35; }
.copy-block { margin-bottom: 18px; padding: 26px; border: 1px solid var(--line); background: #100a06; }
.copy-block-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.copy-block h3 { margin: 0; color: var(--gold); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.copy-block button {
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  cursor: pointer;
  text-transform: uppercase;
}
.copy-block button:hover { border-color: var(--gold); color: var(--gold-bright); }
.copy-block p { color: #cbb795; }
.copy-block > p:last-child,
.copy-block > div:last-child > p:last-child { margin-bottom: 0; }
.press-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 38px; margin: 0; padding: 0; list-style: none; }
.press-feature-list li { position: relative; padding: 15px 0 15px 28px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 14px; }
.press-feature-list li::before { position: absolute; left: 0; color: var(--gold); content: "✦"; }
.origin-note,
.license-note { margin-top: 36px; padding: 22px 24px; border-left: 2px solid var(--gold); background: #1a0f07; color: var(--muted); }
.origin-note strong,
.license-note strong { color: var(--gold-bright); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.origin-note p,
.license-note p { margin: 8px 0 0; }
.assets-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.asset-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.asset-card { overflow: hidden; border: 1px solid var(--line); background: #0e0805; }
.asset-card.asset-wide { grid-column: 1 / -1; }
.asset-card button { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #050302; cursor: zoom-in; }
.asset-card button img { width: 100%; aspect-ratio: 1.26; object-fit: cover; transition: scale .5s ease, opacity .3s ease; }
.asset-card.asset-wide button img { aspect-ratio: 2.35; }
.asset-card button:hover img { scale: 1.025; opacity: .9; }
.asset-card > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 20px; padding: 16px 18px; }
.asset-card h3 { margin: 0; color: #e0c99e; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.asset-card span { color: var(--faint); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.asset-card a { grid-row: 1 / 3; grid-column: 2; color: var(--gold); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.asset-note { margin-top: 24px; color: var(--faint); font-size: 12px; }
.contact-section > p { color: var(--muted); }
.contact-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0; }
.contact-links a { display: grid; min-height: 120px; align-content: space-between; padding: 20px; border: 1px solid var(--line); background: #100a06; text-decoration: none; }
.contact-links span { color: var(--faint); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.contact-links strong { color: var(--gold); font-family: var(--serif); font-size: 18px; font-weight: 400; }
.contact-links a:hover { border-color: var(--gold); background: #1a0f07; }
.contact-note { padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 13px; }

.credits-content { max-width: 860px; padding-block: 100px 130px; }
.credits-content section { padding: 0 0 62px; }
.credits-content section + section { padding-top: 62px; border-top: 1px solid var(--line); }
.credits-content h2 { margin-bottom: 28px; font-size: clamp(34px, 5vw, 54px); }
.credits-content p,
.credits-content li { color: var(--muted); }
.credits-content a { color: #e1bd78; }
.credit-list { margin: 0; border-top: 1px solid var(--line); }
.credit-list div { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.credit-list dt { color: var(--faint); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.credit-list dd { margin: 0; color: #decba7; }

.error-page { display: grid; min-height: 80svh; place-items: center; padding: 140px 0 80px; text-align: center; }
.error-code { margin: 0; color: #31170b; font-family: var(--serif); font-size: clamp(120px, 25vw, 320px); line-height: .7; }
.error-page h1 { margin: 10px 0; font-family: var(--serif); font-size: clamp(40px, 7vw, 76px); font-weight: 400; }
.error-page > .shell > p:not(.error-code, .eyebrow) { color: var(--muted); }
.error-page .button { margin-top: 24px; }

.lightbox {
  width: min(1100px, calc(100vw - 30px));
  max-width: none;
  max-height: calc(100vh - 30px);
  padding: 12px;
  border: 1px solid var(--line);
  background: #070402;
  color: var(--ink);
  box-shadow: 0 30px 100px #000;
}
.lightbox::backdrop { background: #020101e8; backdrop-filter: blur(8px); }
.lightbox img { width: 100%; max-height: calc(100vh - 100px); object-fit: contain; }
.lightbox p { margin: 9px 44px 0 3px; color: var(--muted); font-size: 11px; }
.lightbox-close { position: absolute; z-index: 1; top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--line); background: #080503e8; color: var(--ink); cursor: pointer; }

.reveal { opacity: 0; translate: 0 20px; transition: opacity .7s ease, translate .7s ease; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal.is-visible { opacity: 1; translate: 0; }
.no-js .reveal { opacity: 1; translate: 0; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 740px); }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { translate: 0 6px; rotate: 45deg; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(4) { translate: 0 -6px; rotate: -45deg; }
  .site-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: 20px max(20px, calc((100vw - var(--shell)) / 2));
    border-bottom: 1px solid var(--line);
    background: #090503f7;
  }
  .site-navigation.is-open { display: grid; }
  .site-navigation a { padding: 8px 0; }
  .site-navigation a::after { display: none; }
  .site-navigation .nav-cta { margin-top: 6px; text-align: center; }
  .hero { min-height: 760px; }
  .hero-vignette { background: linear-gradient(90deg, #050302f2, #08040294), linear-gradient(0deg, #080503, transparent 38%, #080503aa); }
  .hero h1 { font-size: clamp(58px, 14vw, 100px); line-height: .84; }
  .hero h1 span:last-child { margin-left: 0; }
  .hero-lede,
  .hero-actions,
  .hero-meta { margin-left: 0; }
  .hero-meta li::after { display: none; }
  .scroll-cue { display: none; }
  .split-layout,
  .renderer-grid,
  .origin-card { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .arsenal-grid { grid-template-columns: 1fr; }
  .renderer-visual { width: min(560px, calc(100% - 20px)); margin-left: 20px; }
  .press-layout { grid-template-columns: 1fr; }
  .press-nav { position: static; grid-template-columns: repeat(5, auto); overflow-x: auto; padding-bottom: 10px; }
  .press-nav strong { display: none; }
  .press-nav a { white-space: nowrap; }
  .contact-links { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body::before { display: none; }
  .header-inner { min-height: 68px; }
  .wordmark-mark { width: 30px; }
  .hero-content { padding-top: 72px; }
  .hero h1 { font-size: clamp(48px, 16vw, 76px); }
  .hero-lede { margin-top: 30px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .section { padding-block: 78px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-card h3 { margin-top: 38px; }
  .spec-list div { grid-template-columns: 110px 1fr; }
  .origin-card { padding: 34px 26px; box-shadow: inset 0 0 0 5px #080503, inset 0 0 0 6px #4b301b; }
  .final-cta { min-height: 600px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; }
  .page-hero { min-height: 500px; }
  .page-hero-content { padding-block: 80px 58px; }
  .press-layout { padding-block: 65px 90px; }
  .fact-grid,
  .press-feature-list,
  .asset-grid { grid-template-columns: 1fr; }
  .asset-card.asset-wide { grid-column: auto; }
  .asset-card.asset-wide button img,
  .asset-card button img { aspect-ratio: 1.35; }
  .assets-heading { align-items: start; flex-direction: column; }
  .credit-list div { grid-template-columns: 1fr; gap: 5px; }
}

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