:root {
  color-scheme: dark;
  --night: #0f0e17;
  --stage: #1b192c;
  --ink: #f7f4ff;
  --muted: #c8bfd9;
  --violet: #cbb6ff;
  --edge: #3a344e;
  --thin-edge: #2a263a;
  --shell: min(1280px, 100% - 96px);
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --sans: "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after {box-sizing:border-box}
html {scroll-behavior:smooth}
body {margin:0;background:var(--night);color:var(--ink);font:16px/1.58 var(--sans)}
[hidden] {display:none!important}
a {color:inherit}
button {font:inherit}
button:focus-visible, a:focus-visible, summary:focus-visible {outline:2px solid var(--violet);outline-offset:4px}
img {display:block;max-width:100%;height:auto}
figure,p,h1,h2,h3 {margin:0}
h1,h2,h3 {font-weight:700;line-height:1.02;letter-spacing:-.052em}
h1 {font-size:clamp(3.6rem,6.7vw,7rem);line-height:.94}
h2 {font-size:clamp(2.3rem,5vw,4.5rem)}
h3 {font-size:1.55rem;letter-spacing:-.034em}
.shell {width:var(--shell);margin-inline:auto}
.skip-link {position:fixed;top:16px;left:16px;z-index:20;transform:translateY(-180%);background:var(--violet);color:var(--night);padding:10px 16px}
.skip-link:focus {transform:none}
.micro {font:600 .69rem/1.5 var(--mono);letter-spacing:.1em;text-transform:uppercase}
.pale {color:var(--violet)}
.quiet {color:var(--muted)}
.topbar {border-bottom:1px solid var(--thin-edge);background:#151322}
.topbar .shell {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
.back {display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-weight:700;letter-spacing:-.015em}
.back span {height:28px;width:28px;display:grid;place-items:center;border:1px solid #564675;border-radius:50%;color:var(--violet)}
.top-play {text-decoration:none;color:var(--violet);font-weight:650;font-size:.86rem;white-space:nowrap}
.hero {position:relative;isolation:isolate;overflow:hidden}
.hero::before {content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 78% 30%,#332349 0,transparent 60%)}
.hero-grid {display:grid;grid-template-columns:minmax(0, .89fr) minmax(0, 1.11fr);align-items:center;gap:clamp(28px,5vw,72px);padding-block:clamp(56px,7.5vw,110px) clamp(44px,6vw,82px)}
.hero-text .micro {display:inline-flex;align-items:center;gap:10px;margin-bottom:25px}
.hero-text .micro::before {content:"";width:7px;height:7px;border-radius:50%;background:#ba9dff;box-shadow:0 0 14px #a187fa}
.hero-text h1 span {display:block;color:var(--violet)}
.hero-text .lede {color:var(--muted);max-width:41ch;margin-block:25px 24px;font-size:clamp(1rem,1.6vw,1.14rem)}
.hero-links {display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.solid-link {display:inline-flex;align-items:center;gap:16px;padding:12px 18px;border-radius:7px;background:#d9c5ff;color:#170d29;text-decoration:none;font-weight:750}
.solid-link:hover {background:#eadfff}
.text-link {text-decoration-color:#907caf;text-underline-offset:4px;font-size:.9rem;font-weight:650}
.model-stage {background:#191628;border:1px solid #57476d;border-radius:16px;overflow:hidden;box-shadow:0 22px 82px #08061088}
.stage-bar, .model-meta {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;color:var(--muted)}
.stage-bar {background:#201b31}
.stage-bar b {color:#e0d3fd;font-weight:650}
.stage-id {border:1px solid #594c72;padding:2px 6px;border-radius:3px}
.stage-art {position:relative;display:grid;place-items:center;overflow:hidden;aspect-ratio:1.29;background:radial-gradient(ellipse at 50% 36%,#58427a,#221934 60%,#181322)}
.stage-art::before {content:"";position:absolute;inset:50% -25% -30%;background:linear-gradient(#c4a9f233 1px,transparent 1px) 0 0/34px 34px,linear-gradient(90deg,#a98de733 1px,transparent 1px) 0 0/34px 34px;transform:perspective(245px) rotateX(47deg);mask-image:linear-gradient(transparent,#000 34%,transparent)}
.stage-art::after {content:"";position:absolute;inset:auto 18% 15%;height:12%;border:1px solid #b897f16b;border-radius:50%;background:#1c0f3533;box-shadow:0 0 42px #8f63ed44}
.stage-art img {position:relative;z-index:1;width:88%;height:88%;object-fit:contain;filter:drop-shadow(0 21px 17px #0f081863)}
.stage-corner {z-index:2;position:absolute;left:14px;bottom:12px;color:#dbcaeb;font-size:.61rem}
.view-selector {display:flex;gap:4px;flex-wrap:wrap;padding:7px 10px;border-top:1px solid #4a3d5c;min-height:48px}
.view-selector button, .asset-filters button {cursor:pointer;border:1px solid transparent;background:transparent;color:var(--muted);border-radius:5px;font:600 .72rem/1.4 var(--mono);padding:8px 10px}
.view-selector button:hover, .asset-filters button:hover {color:#fff;border-color:#776397}
.view-selector button[aria-pressed=true], .asset-filters button[aria-pressed=true] {background:#39294e;border-color:#65517f;color:#f0e8ff}
.model-meta {border-top:1px solid #372e49;font-size:.64rem}
.title-strip {border-block:1px solid var(--thin-edge);background:#151322}
.title-strip .shell {display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:55px}
.strip-detail {display:flex;flex-wrap:wrap;gap:8px 17px}
.strip-detail span+span::before {content:"/";color:#9380b3;margin-right:17px}
.feature {padding-block:88px 74px}
.section-kicker {color:var(--violet);display:block;margin-bottom:13px}
.heading-set {display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:32px}
.heading-set p {max-width:40ch;color:var(--muted)}
.pipeline {display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#4c3d62;border:1px solid #4c3d62;overflow:hidden;border-radius:12px}
.pipeline figure {display:flex;flex-direction:column;min-width:0;background:#1a1727}
.pipeline figure a {display:block;isolation:isolate;position:relative;overflow:hidden;aspect-ratio:1.38;background:#322745}
.pipeline figure:nth-child(2) a {background:radial-gradient(ellipse at 48% 52%,#584371,#281e3b 72%)}
.pipeline img {width:100%;height:100%;object-fit:cover}
.pipeline figure:nth-child(2) img {object-fit:contain;padding:12px}
.pipeline figure:last-child img {object-position:49% 64%}
.pipeline figcaption {padding:15px 17px 19px}
.pipeline figcaption span {display:block;color:var(--violet)}
.pipeline figcaption strong {font-size:1.04rem;margin-block:3px;display:block}
.pipeline figcaption p {color:var(--muted);font-size:.87rem;max-width:34ch}
.process {display:flex;flex-wrap:wrap;gap:14px 27px;margin:24px 0 0;padding:0;list-style:none;color:var(--muted)}
.process b {color:var(--ink)}
.process li::before {content:"↳";color:#c6a7ff;margin-right:8px}
.library {border-top:1px solid var(--thin-edge);padding-block:74px 88px;background:linear-gradient(165deg,#151121,#0f0e17 40%)}
.asset-filters {display:flex;flex-wrap:wrap;gap:7px;margin-block:0 16px}
.asset-filters button {padding-inline:14px;background:#1d1729;border-color:#3b314b}
.asset-filters button span {margin-left:7px;color:#c3a5ee}
.asset-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.asset {border:1px solid #3e344e;border-radius:12px;background:#191524;overflow:hidden}
.asset-head {padding:18px 18px 13px;display:flex;justify-content:space-between;align-items:start;gap:16px}
.asset-head .micro {color:var(--violet);margin-bottom:6px}
.asset-number {color:#b39cc9;font-family:var(--mono);font-size:.75rem}
.asset-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#473754;border-block:1px solid #473754}
.asset-pair a {display:block;position:relative;aspect-ratio:1.12;overflow:hidden}
.asset-pair .concept {background:#c0ada4}
.asset-pair .mesh {background:radial-gradient(ellipse at 51% 45%,#483557,#251a35 75%)}
.asset-pair img {width:100%;height:100%;object-fit:contain;transition:transform .23s ease}
.asset-pair a:hover img {transform:scale(1.04)}
.asset-pair .mesh img {padding:7px 12px;filter:drop-shadow(0 10px 12px #10071c70)}
.asset-pair .pair-tag, .pipeline .pair-tag {position:absolute;z-index:1;left:8px;top:8px;padding:3px 6px;border-radius:4px;color:#f5ecff;background:#17121fee;font-size:.61rem;letter-spacing:.055em}
.asset-pair a::after, .pipeline a::after, .proof-images a::after, .beside a::after {content:"↗";position:absolute;right:9px;bottom:9px;width:25px;height:25px;display:grid;place-items:center;border-radius:5px;background:#1c1428e8;color:#f5e7ff;font-size:14px}
.asset-pair a:focus-visible {outline-offset:-4px;z-index:1}
.asset-note {padding:14px 18px 17px;color:var(--muted);font-size:.91rem;max-width:60ch}
.library-count {min-height:1.2em;color:var(--muted);margin-bottom:10px;font-size:.78rem}
.breakout {border-top:1px solid var(--thin-edge);padding-block:75px}
.beside {display:grid;grid-template-columns:minmax(0,.66fr) minmax(0,1.34fr);gap:30px;align-items:center}
.beside p {color:var(--muted);max-width:42ch;margin-block:16px}
.repair-pair {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;border:1px solid #514164;border-radius:12px;overflow:hidden;background:#514164}
.repair-pair figure {min-width:0;background:#191624}
.repair-pair a, .proof-images a {position:relative;display:block;overflow:hidden}
.repair-pair img {width:100%;aspect-ratio:1.1;object-fit:cover}
.repair-pair figcaption {padding:9px 12px;color:var(--muted);font-size:.84rem}
.game-proof {background:#191522;padding-block:72px}
.proof-images {display:grid;grid-template-columns:1.18fr 1fr;gap:12px}
.proof-images img {width:100%;aspect-ratio:1.77;object-fit:cover}
.proof-images figure {border:1px solid #4b3d59;border-radius:9px;overflow:hidden;background:#1e182b}
.proof-images figcaption {padding:12px 15px;color:var(--muted);font-size:.9rem}
.credits {padding-block:35px 44px;color:var(--muted);font-size:.88rem}
.credits .shell {display:grid;gap:18px}
.credits nav {display:flex;flex-wrap:wrap;gap:8px 19px;color:var(--ink)}
.credits .micro {color:var(--violet)}
dialog {width:min(100% - 28px,1120px);max-height:95vh;max-height:95dvh;padding:0;background:#1b1729;color:var(--ink);border:1px solid #786695;border-radius:12px}
dialog::backdrop {background:#08060de9}
dialog .dialog-head {display:flex;gap:12px;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid #443652}
dialog .dialog-head strong {font-size:.91rem}
dialog button {cursor:pointer;color:var(--ink);background:#3e3150;border:1px solid #776390;border-radius:6px;padding:5px 12px}
dialog img {width:100%;height:min(75vh,69dvh);object-fit:contain;background:radial-gradient(ellipse,#3e2e53,#1d162b 76%)}
@media(max-width:960px) {
  :root {--shell:min(1280px,100% - 48px)}
  .hero-grid {gap:26px}
  .stage-art {aspect-ratio:1.18}
}
@media(max-width:740px) {
  :root {--shell:calc(100% - 36px)}
  .topbar .shell {min-height:58px}
  .topbar .micro,.title-strip .edition {display:none}
  .hero-grid {grid-template-columns:1fr;padding-block:47px 34px;gap:28px}
  .hero-text .micro {margin-bottom:17px}
  .hero-text .lede {margin-block:16px 20px}
  .stage-art {aspect-ratio:1.37}
  .feature,.library,.breakout,.game-proof {padding-block:54px}
  .heading-set {display:grid;gap:12px;margin-bottom:23px}
  .pipeline {grid-template-columns:1fr}
  .pipeline figure a {aspect-ratio:1.65}
  .asset-list {grid-template-columns:1fr;gap:16px}
  .asset-pair a {aspect-ratio:1.18}
  .beside,.proof-images {grid-template-columns:1fr;gap:18px}
  .strip-detail span+span::before {margin-right:8px}
  .strip-detail {gap:6px 8px}
}
@media(max-width:370px) {
  :root {--shell:calc(100% - 28px)}
  h1 {font-size:3.25rem}
  .view-selector button {padding-inline:7px}
  .asset-head {padding-inline:13px}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
  * {transition:none!important}
}
