/* ==========================================================================
   Micron Studios — site styles
   1. Fonts & tokens        6. Header & menu        11. Game page
   2. Base                  7. Footer               12. About / Support / News
   3. Type                  8. Home hero & tape     13. Article, legal, 404
   4. Motifs                9. Sections & cards     14. Lightbox
   5. Buttons & chips      10. News                 15. Motion & transitions
   Studio colour is Micron cyan. Anything inside [data-theme="ts"] switches the
   accent to Test Subjects safety yellow; a future game gets its own theme block.
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------- */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Anton"; src: url("/assets/fonts/anton-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plexmono-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plexmono-latin-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink-0: #040506;
  --ink-1: #07080a;
  --ink-2: #0c0e11;
  --ink-3: #121418;
  --ink-4: #1a1d22;
  --ink-5: #262a31;
  --fg: #f2f0ea;
  --fg-2: #b6babf;
  --fg-3: #878d96;
  --line: rgb(242 240 234 / 0.09);
  --line-2: rgb(242 240 234 / 0.16);
  --line-3: rgb(242 240 234 / 0.3);

  --micron: #0cc0df;
  --yellow: #f7c81e;
  --yellow-2: #ffe066;
  --ochre: #a2690f;
  --orange: #f28a21;
  --red: #e5392b;
  --green: #3bd46a;
  --steam: #66c0f4;

  --accent: var(--micron);
  --accent-ink: #021419;
  --accent-rgb: 12 192 223;

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ts: "Anton", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1400px;
  --header-h: 72px;
  --section-y: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --hazard: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, #0b0c0f 12px 24px);
  interpolate-size: allow-keywords;
}
[data-theme="ts"] { --accent: var(--yellow); --accent-ink: #151103; --accent-rgb: 247 200 30; }
[data-theme="studio"] { --accent: var(--micron); --accent-ink: #021419; --accent-rgb: 12 192 223; }
@media (max-width: 640px) { :root { --header-h: 64px; } }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink-1); color-scheme: dark; scroll-padding-top: calc(var(--header-h) + 72px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; background: var(--ink-1); color: var(--fg);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: inherit; font-size: inherit; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--ink-4); border: 1px solid var(--line); padding: 0.1em 0.4em; overflow-wrap: anywhere; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 300; background: var(--accent); color: var(--accent-ink); padding: 12px 18px; font-weight: 700; transition: top 0.25s var(--ease); }
.skip-link:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(780px + 2 * var(--gutter)); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon--inline { display: inline-block; vertical-align: -0.18em; width: 1em; height: 1em; margin-right: 4px; }
.icon--flip { transform: scaleX(-1); }

/* 3. Type ------------------------------------------------------------------ */
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); flex: none; }
.eyebrow .idx { color: var(--accent); }
.eyebrow--bare::before { display: none; }
.display { font-stretch: 120%; font-weight: 790; line-height: 0.94; letter-spacing: -0.03em; }
.h-section { font-size: clamp(2.5rem, 5.6vw, 5.2rem); }
.ts-display { font-family: var(--ts); font-weight: 400; text-transform: uppercase; letter-spacing: 0.004em; line-height: 0.92; }
.lead { font-size: clamp(1.08rem, 1.45vw, 1.3rem); line-height: 1.55; color: var(--fg-2); max-width: 60ch; }
.lead strong, .body-copy strong { color: var(--fg); font-weight: 600; }
.text-accent { color: var(--accent); }
.nowrap { white-space: nowrap; }
.body-copy { color: var(--fg-2); }
.body-copy > * + * { margin-top: 1.05em; }
.body-copy a, .lead a { color: var(--fg); border-bottom: 1px solid rgb(var(--accent-rgb) / 0.6); transition: color 0.3s, border-color 0.3s; }
.body-copy a:hover, .lead a:hover { color: var(--accent); border-color: var(--accent); }
.mono-note { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--fg-3); }

/* 4. Motifs: viewfinder corners, rulers, hazard, grid, grain --------------- */
.frame { position: relative; isolation: isolate; }
.frame::after {
  --c: 16px; --w: 1.5px; --fc: rgb(242 240 234 / 0.72);
  content: ""; position: absolute; inset: 12px; z-index: 4; pointer-events: none;
  background:
    linear-gradient(var(--fc), var(--fc)) top left / var(--c) var(--w),
    linear-gradient(var(--fc), var(--fc)) top left / var(--w) var(--c),
    linear-gradient(var(--fc), var(--fc)) top right / var(--c) var(--w),
    linear-gradient(var(--fc), var(--fc)) top right / var(--w) var(--c),
    linear-gradient(var(--fc), var(--fc)) bottom left / var(--c) var(--w),
    linear-gradient(var(--fc), var(--fc)) bottom left / var(--w) var(--c),
    linear-gradient(var(--fc), var(--fc)) bottom right / var(--c) var(--w),
    linear-gradient(var(--fc), var(--fc)) bottom right / var(--w) var(--c);
  background-repeat: no-repeat;
  transition: inset 0.7s var(--ease), opacity 0.5s;
}
a:hover > .frame::after, button:hover > .frame::after, a:hover .frame::after, button:hover .frame::after { inset: 8px; }
.ruler {
  height: 14px; color: var(--line-3);
  background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 8px) bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 40px) bottom / 100% 14px no-repeat;
}
.hazard { height: 10px; background: var(--hazard); }
.bg-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(75% 70% at 70% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(75% 70% at 70% 30%, #000 10%, transparent 75%);
}
.grain { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.grain::after {
  content: ""; position: absolute; inset: -60%; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 5. Buttons, chips, links ------------------------------------------------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 24px; isolation: isolate; overflow: hidden;
  font-family: var(--sans); font-stretch: 112%; font-weight: 680; font-size: 13.5px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.5s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.5s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.btn:hover > .icon:last-child:not(.btn__steam) { transform: translateX(4px); }
.btn:hover > .btn__ext { transform: translate(3px, -3px) !important; }
.btn__label { display: inline-flex; flex-direction: column; align-items: flex-start; }
.btn__sub { font-size: 0.72em; letter-spacing: 0.14em; opacity: 0.75; margin-top: 4px; }
.btn--sm { --h: 40px; padding: 0 15px; font-size: 11.5px; gap: 9px; }
.btn--sm .icon { width: 16px; height: 16px; }
.btn--lg { --h: 60px; padding: 0 30px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 44px -16px rgb(var(--accent-rgb) / 0.6); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-45deg, transparent 0 10px, rgb(0 0 0 / 0.13) 10px 20px); transform: translateX(-101%); transition: transform 0.7s var(--ease); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 54px -16px rgb(var(--accent-rgb) / 0.75); }
.btn--primary:hover::before { transform: translateX(0); }
.btn--ghost { border-color: var(--line-3); color: var(--fg); background: rgb(242 240 234 / 0.03); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--fg); background: rgb(242 240 234 / 0.09); transform: translateY(-2px); }
.btn--steam { background: linear-gradient(180deg, #1f3247, #142130); border-color: rgb(102 192 244 / 0.3); color: #fff; }
.btn--steam .btn__steam { width: 20px; height: 20px; color: var(--steam); }
.btn--sm.btn--steam .btn__steam { width: 17px; height: 17px; }
.btn--steam:hover { border-color: var(--steam); transform: translateY(-2px); box-shadow: 0 16px 44px -18px rgb(102 192 244 / 0.7); }
.btn--steam.is-pending { cursor: default; background: rgb(20 33 48 / 0.55); border-style: dashed; border-color: rgb(102 192 244 / 0.4); color: rgb(242 240 234 / 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--steam.is-pending:hover { transform: none; box-shadow: none; border-color: rgb(102 192 244 / 0.55); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; color: var(--fg); border: 1px solid var(--line-2); background: rgb(7 8 10 / 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color 0.3s, color 0.3s, background-color 0.3s; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn:disabled { opacity: 0.32; cursor: default; border-color: var(--line-2); color: var(--fg); }
.icon-btn .icon { width: 20px; height: 20px; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); border: 1px solid rgb(var(--accent-rgb) / 0.42); background: rgb(var(--accent-rgb) / 0.07); white-space: nowrap; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 10px; background: rgb(7 8 10 / 0.72); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tag--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgb(59 212 106 / 0.6); animation: pulse 2s infinite; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 620; font-size: 15px; color: var(--fg); padding-bottom: 6px; border-bottom: 1px solid var(--line-3); transition: color 0.3s, border-color 0.3s; }
.link-arrow .icon { transition: transform 0.5s var(--ease); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* 6. Header & mobile menu -------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); border-bottom: 1px solid transparent; transition: transform 0.6s var(--ease), background-color 0.4s, border-color 0.4s; view-transition-name: site-header; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(4 5 6 / 0.55), transparent); transition: opacity 0.4s; }
.site-header.is-scrolled { background: rgb(7 8 10 / 0.74); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-101%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 40px; height: auto; overflow: visible; }
.brand__mark .mark-m { fill: var(--fg); }
.brand__mark .mark-check { fill: var(--micron); transition: transform 0.6s var(--ease); }
.brand:hover .mark-check { transform: translate(4px, -3px); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__micron { font-stretch: 125%; font-weight: 820; font-size: 15px; letter-spacing: 0.15em; text-transform: uppercase; }
.brand__studios { font-stretch: 112%; font-weight: 640; font-size: 9px; letter-spacing: 0.56em; text-transform: uppercase; color: var(--micron); margin-top: 5px; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 2px; }
.site-nav__link { position: relative; display: block; padding: 10px 14px; font-size: 14.5px; font-weight: 540; color: var(--fg-2); transition: color 0.3s; }
.site-nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.6s var(--ease); }
.site-nav__link:hover { color: var(--fg); }
.site-nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav__link[aria-current="page"] { color: var(--fg); }
.site-nav__link[aria-current="page"]::before { content: ""; position: absolute; left: 3px; top: 50%; width: 5px; height: 5px; background: var(--micron); transform: translateY(-50%) rotate(45deg); }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-2); background: rgb(7 8 10 / 0.4); transition: border-color 0.3s; }
.menu-toggle:hover { border-color: var(--fg); }
.menu-toggle__bars { position: relative; width: 18px; height: 10px; }
.menu-toggle__bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.menu-toggle__bars i:first-child { top: 0; }
.menu-toggle__bars i:last-child { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { top: 4.25px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: calc(var(--header-h) + 24px) var(--gutter) max(28px, env(safe-area-inset-bottom)); overflow-y: auto; background: rgb(7 8 10 / 0.97); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s; }
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease); }
.mobile-menu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0 12px; font-stretch: 118%; font-weight: 760; font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.05; letter-spacing: -0.025em; transform: translateY(105%); transition: transform 0.8s var(--ease), color 0.3s; }
.mobile-menu__list a[aria-current="page"] .mobile-menu__label { color: var(--micron); }
.mobile-menu.is-open .mobile-menu__list a { transform: none; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: 0.05s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: 0.1s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: 0.15s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: 0.2s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: 0.25s; }
.mobile-menu__num { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--micron); }
.mobile-menu__foot { display: grid; gap: 18px; justify-items: start; }
.mobile-menu__mail { font-family: var(--mono); font-size: 13px; color: var(--fg-2); }
@media (max-width: 1023px) {
  .site-nav { display: none; }
  .menu-toggle { display: grid; }
  .site-header__actions { margin-left: auto; }
}
@media (max-width: 560px) { .site-header__actions .btn--steam { display: none; } }
html:not(.js) .menu-toggle, html:not(.js) .mobile-menu { display: none; }
@media (max-width: 1023px) { html:not(.js) .site-nav { display: block; overflow-x: auto; } }

/* 7. Footer ------------------------------------------------------------------ */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-1), var(--ink-0)); }
.site-footer__top { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr); gap: clamp(48px, 7vw, 112px); }
.site-footer__brand p { color: var(--fg-2); max-width: 36ch; margin: 24px 0 28px; font-size: 15.5px; }
.site-footer__brand p a { color: var(--fg); border-bottom: 1px solid var(--line-3); }
.site-footer__brand p a:hover { border-color: var(--micron); }
.brand--footer .brand__mark { width: 46px; }
.site-footer__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 0.9fr); gap: 32px; }
.site-footer__heading { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 20px; }
.site-footer__cols li + li { margin-top: 11px; }
.site-footer__cols a { color: var(--fg-2); font-size: 15px; transition: color 0.3s; overflow-wrap: anywhere; }
.site-footer__cols a:hover { color: var(--fg); }
.site-footer__word { display: block; width: 100%; height: auto; margin: clamp(64px, 9vw, 128px) 0 clamp(14px, 2vw, 28px); overflow: visible; user-select: none; }
.site-footer__word text { font-family: var(--sans); font-stretch: 125%; font-weight: 850; font-size: 92px; letter-spacing: -0.02em; fill: rgb(242 240 234 / 0.015); stroke: rgb(242 240 234 / 0.16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 max(30px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--fg-3); }
.site-footer__top-link { display: inline-flex; align-items: center; gap: 8px; transition: color 0.3s; }
.site-footer__top-link:hover { color: var(--fg); }
@media (max-width: 1023px) { .site-footer__top { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; } .site-footer__cols > div:nth-child(3) { grid-column: span 2; } }

/* 8. Home hero, caution tape ------------------------------------------------ */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-0); }
.hero__media { position: absolute; inset: -4% 0; z-index: -3; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(34% 46% at 64% 54%, rgb(247 200 30 / 0.16), transparent 70%); }

.hero--home { min-height: max(660px, 100svh); display: flex; flex-direction: column; }
.hero--home .hero__media img { object-position: 34% 50%; }
.hero--home .hero__shade {
  background:
    linear-gradient(90deg, rgb(7 8 10 / 0.93) 0%, rgb(7 8 10 / 0.76) 26%, rgb(7 8 10 / 0.22) 52%, rgb(7 8 10 / 0) 70%),
    linear-gradient(0deg, var(--ink-1) 0%, rgb(7 8 10 / 0.5) 16%, rgb(7 8 10 / 0) 40%),
    linear-gradient(180deg, rgb(7 8 10 / 0.7) 0%, rgb(7 8 10 / 0) 20%);
}
.hero__inner { flex: 1; display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
.hero__content { width: 100%; max-width: 640px; }
.hero__title { display: block; }
.hero__kicker { margin-bottom: 18px; }
.hero__kicker b { color: var(--fg); font-weight: 500; }
.hero__logo { display: block; width: min(600px, 84vw); margin-left: -4.5%; filter: drop-shadow(0 30px 50px rgb(0 0 0 / 0.5)); }
.hero__pitch { font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.55; color: var(--fg-2); max-width: 47ch; margin: 2px 0 32px; }
.hero__pitch strong { color: var(--fg); font-weight: 620; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero__foot { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding-block: 22px 26px; border-top: 1px solid var(--line-2); }
.hero__foot p { color: var(--fg-2); font-size: 15px; max-width: 64ch; }
.hero__foot strong { color: var(--fg); font-weight: 620; }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-2); transition: color 0.3s; }
.scroll-cue:hover { color: var(--fg); }
.scroll-cue__line { position: relative; width: 1px; height: 40px; background: var(--line-2); overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: -45%; width: 1px; height: 45%; background: var(--accent); animation: cue 2.4s var(--ease-io) infinite; }
.letterbox { display: none; }

/* Phones and portrait tablets: the art sits at the top of the screen (the cart and riders stay
   visible above the title) and fades into the page; the title block follows below it. */
@media (max-width: 860px), (max-aspect-ratio: 4/5) {
  .hero--home { background: var(--ink-1); }
  .hero--home .hero__media { inset: 0 0 auto; height: max(62svh, 400px); }
  .hero--home .hero__media img { object-position: 50% 50%; }
  .hero--home .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink-1) 0%, rgb(7 8 10 / 0.8) 28%, rgb(7 8 10 / 0) 58%), linear-gradient(180deg, rgb(7 8 10 / 0.7) 0%, rgb(7 8 10 / 0) 22%); }
  .hero--home .hero__shade { background: none; }
  .hero--home .hero__inner { align-items: flex-end; padding-top: calc(var(--header-h) + max(30svh, 190px)); padding-bottom: 32px; }
  .hero__glow { background: radial-gradient(60% 30% at 50% 30%, rgb(247 200 30 / 0.14), transparent 70%); }
  .hero__foot { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}

.tape-zone { position: relative; z-index: 2; height: clamp(110px, 13vw, 180px); margin-block: -2px; overflow: hidden; pointer-events: none; }
.tape { position: absolute; left: -6%; width: 112%; top: 50%; display: flex; overflow: hidden; padding-block: 11px; font-family: var(--ts); font-size: clamp(16px, 1.55vw, 22px); line-height: 1; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.tape--a { z-index: 2; background: var(--yellow); color: #0b0c0f; transform: translateY(-50%) rotate(-2.2deg); box-shadow: 0 22px 44px -22px #000; }
.tape--b { background: #0b0c0f; color: var(--yellow); transform: translateY(-50%) rotate(1.6deg); border-block: 1px solid rgb(247 200 30 / 0.28); }
.tape__track { display: flex; flex: none; animation: marquee 60s linear infinite; }
.tape--b .tape__track { animation-direction: reverse; animation-duration: 75s; }
.tape__track span { display: inline-flex; align-items: center; gap: 24px; padding-right: 24px; }
.tape__track span::after { content: ""; width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); }

/* 9. Sections & shared blocks ------------------------------------------------ */
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--rule { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 84px); }
.section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 28px 72px; }
.section-head--split > .eyebrow { grid-column: 1 / -1; }
.section-head__aside { display: grid; gap: 26px; justify-items: start; }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; } }

/* Featured game block (home) */
.showcase { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.showcase__art { display: grid; }
.keyart { position: relative; overflow: hidden; background: var(--ink-3); min-height: 320px; height: 100%; }
.keyart img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.keyart:hover img { transform: scale(1.035); }
.keyart[data-tilt] { transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.9s var(--ease); }
.keyart__tags { position: absolute; left: 22px; bottom: 22px; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; }
.showcase__side { display: grid; gap: clamp(16px, 2.4vw, 32px); grid-template-rows: 1fr auto; }
.showcase__cta { display: grid; gap: 14px; padding: clamp(22px, 2.6vw, 34px); background: var(--ink-2); border: 1px solid var(--line); }
.showcase__cta p { color: var(--fg-2); font-size: 15px; }
@media (max-width: 960px) { .showcase { grid-template-columns: 1fr; } .keyart { aspect-ratio: 1232 / 706; min-height: 0; } }
@media (max-width: 640px) { .keyart__tags { display: none; } }

.intercom { position: relative; display: flex; flex-direction: column; min-height: 280px; padding: 30px 28px 84px; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); }
.intercom::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--hazard); background-size: 34px 34px; }
.intercom__label { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.intercom__src { margin-left: auto; color: var(--fg-3); font-size: 10px; letter-spacing: 0.1em; text-align: right; }
.intercom__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse-red 1.8s infinite; flex: none; }
.intercom__lines { position: relative; flex: 1; margin-top: 26px; min-height: 5.6em; }
.intercom__lines li { position: absolute; inset: 0; font-family: var(--ts); font-size: clamp(1.7rem, 2.35vw, 2.35rem); line-height: 1.06; text-transform: uppercase; opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.9s var(--ease); }
.intercom__lines li.is-active { opacity: 1; transform: none; }
.intercom__lines q { quotes: "“" "”"; }
.intercom__next { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); transition: border-color 0.3s, color 0.3s; }
.intercom__next:hover { border-color: var(--yellow); color: var(--yellow); }
.intercom__next .icon { width: 18px; height: 18px; }
html:not(.js) .intercom__next { display: none; }

.highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line-2); }
.highlight { position: relative; padding: 30px 30px 6px 0; }
.highlight + .highlight { padding-left: 30px; border-left: 1px solid var(--line); }
.highlight::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 200ms); }
.highlight.is-in::before, html:not(.js) .highlight::before { transform: scaleX(1); }
.highlight__num { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--accent); }
.highlight__title { font-family: var(--ts); font-size: clamp(1.65rem, 2.15vw, 2.15rem); line-height: 1; text-transform: uppercase; margin: 18px 0 12px; }
.highlight p { color: var(--fg-2); font-size: 15.5px; }
@media (max-width: 1100px) {
  .highlights { grid-template-columns: 1fr 1fr; }
  .highlight:nth-child(3) { padding-left: 0; border-left: 0; }
  .highlight:nth-child(n + 3) { margin-top: 18px; }
}
@media (max-width: 640px) {
  .highlights { grid-template-columns: 1fr; border-top: 0; }
  .highlight, .highlight + .highlight { padding: 26px 0 4px; border-left: 0; border-top: 1px solid var(--line-2); margin-top: 0; }
}

/* Screenshot reel */
.reel { margin-top: clamp(56px, 7vw, 104px); }
.reel__track {
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 36vw, 600px); gap: clamp(12px, 1.6vw, 22px);
  padding-inline: var(--edge); scroll-padding-inline: var(--edge);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reel__track.is-dragging .reel__card { pointer-events: none; }
.reel__item { scroll-snap-align: start; }
.reel__card { display: block; width: 100%; text-align: left; }
.reel__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.reel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.6s; }
.reel__card:hover .reel__media img { transform: scale(1.05); }
.reel__meta { display: flex; align-items: center; gap: 14px; padding-top: 14px; }
.reel__num { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.reel__title { font-weight: 600; font-size: 15px; }
.reel__icon { margin-left: auto; width: 18px; height: 18px; opacity: 0; transform: translateX(-6px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.reel__card:hover .reel__icon, .reel__card:focus-visible .reel__icon { opacity: 1; transform: none; }
.reel__controls { display: flex; align-items: center; gap: 10px; max-width: var(--maxw); margin: 30px auto 0; padding-inline: var(--gutter); }
.reel__progress { position: relative; flex: 1; height: 1px; margin-right: 14px; background: var(--line-2); }
.reel__progress i { position: absolute; left: 0; top: -0.5px; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0.25)); transition: transform 0.2s linear; }
html:not(.js) .reel__controls { display: none; }

/* Studio block (home) */
.studio { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr); gap: clamp(48px, 8vw, 128px); align-items: center; }
.studio__visual { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 1; width: 100%; max-width: 560px; border: 1px solid var(--line); background: radial-gradient(60% 60% at 50% 50%, rgb(12 192 223 / 0.08), transparent 70%); }
.studio__visual .bg-grid { -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 20%, transparent 80%); mask-image: radial-gradient(60% 60% at 50% 50%, #000 20%, transparent 80%); background-size: 40px 40px; }
.studio__mark { width: 56%; overflow: visible; filter: drop-shadow(0 0 60px rgb(12 192 223 / 0.18)); }
.studio__mark .mark-m { fill: var(--fg); }
.studio__mark .mark-check { fill: var(--micron); }
.studio__ruler { position: absolute; left: 0; right: 0; top: 0; color: var(--line-3); }
.studio__ruler--side { top: auto; bottom: 0; transform: scaleY(-1); }
.studio__label { position: absolute; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.studio__label--tl { left: 16px; top: 24px; }
.studio__label--br { right: 16px; bottom: 24px; color: var(--micron); }
.studio__title { font-size: clamp(2.4rem, 4.8vw, 4.4rem); margin: 22px 0 26px; }
.studio__copy .lead + .lead { margin-top: 1em; }
.studio__copy .link-arrow { margin-top: 34px; }
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; } .studio__visual { max-width: 420px; } }

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(104px, 13vw, 200px); background: var(--ink-0); }
.cta-band__bg { position: absolute; inset: -14% 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(7 8 10 / 0.95) 0%, rgb(7 8 10 / 0.82) 42%, rgb(7 8 10 / 0.4) 100%), linear-gradient(0deg, var(--ink-1), transparent 28%), linear-gradient(180deg, var(--ink-1), transparent 28%); }
.cta-band .hazard--top { position: absolute; inset: 0 0 auto; }
.cta-band__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.cta-band__logo { width: clamp(220px, 27vw, 400px); filter: drop-shadow(0 24px 40px rgb(0 0 0 / 0.55)); }
.cta-band__title { font-size: clamp(3rem, 7vw, 6.6rem); margin-bottom: 18px; }
.cta-band__copy > p { color: var(--fg-2); max-width: 54ch; margin-bottom: 32px; }
.cta-band__copy > p a { color: var(--fg); border-bottom: 1px solid rgb(var(--accent-rgb) / 0.6); }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* 10. News ---------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.news-grid--1 { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.news-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-card__link { display: flex; flex-direction: column; height: 100%; }
.news-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.news-card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.news-card__link:hover .news-card__media img { transform: scale(1.045); }
.news-card__body { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--fg-3); }
.news-card__title { display: block; font-stretch: 108%; font-weight: 700; font-size: clamp(1.22rem, 1.55vw, 1.45rem); line-height: 1.2; letter-spacing: -0.01em; transition: color 0.3s; }
.news-card__link:hover .news-card__title { color: var(--accent); }
.news-card__summary { color: var(--fg-2); font-size: 15.5px; }
.news-card__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-2); }
.news-card__more .icon { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.news-card__link:hover .news-card__more .icon { transform: translateX(4px); }
.news-card--featured { margin-bottom: clamp(48px, 6vw, 88px); }
.news-card--featured .news-card__link { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.news-card--featured .news-card__title { font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; }
.news-card--featured .news-card__summary { font-size: clamp(1rem, 1.3vw, 1.15rem); }
.news-art { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; }
.news-art--game > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.42) saturate(0.9); transition: transform 1.1s var(--ease); }
.news-card__link:hover .news-art--game > img:first-child { transform: scale(1.05); }
.news-art__logo { position: relative; width: 58%; }
.news-art--studio { background: radial-gradient(50% 60% at 50% 50%, rgb(12 192 223 / 0.12), transparent 70%), var(--ink-3); }
.news-art--studio svg { width: 26%; }
.news-art--studio .mark-m { fill: var(--fg); }
.news-art--studio .mark-check { fill: var(--micron); }
@media (max-width: 1000px) { .news-grid, .news-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .news-card--featured .news-card__link { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .news-grid, .news-grid--2 { grid-template-columns: 1fr; } }

.news-empty { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 64px); border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--ink-2), var(--ink-1)); }
.news-empty__stripe { position: absolute; right: -70px; top: 30px; width: 280px; height: 26px; background: var(--hazard); transform: rotate(38deg); opacity: 0.92; }
.news-empty__title { font-family: var(--ts); font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 0.98; text-transform: uppercase; max-width: 20ch; margin: 20px 0 16px; }
.news-empty p:last-child { color: var(--fg-2); max-width: 58ch; }
.news-empty a { color: var(--fg); border-bottom: 1px solid rgb(var(--accent-rgb) / 0.6); }
.news-empty--compact .news-empty__title { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 5vw, 60px); }
.filter { height: 40px; padding: 0 15px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); transition: border-color 0.3s, background-color 0.3s, color 0.3s; }
.filter span { margin-left: 6px; color: var(--fg-3); }
.filter:hover { border-color: var(--fg); color: var(--fg); }
.filter[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--ink-1); }
.filter[aria-pressed="true"] span { color: var(--ink-5); }
.news-none { color: var(--fg-2); }

/* Inner page headers */
.page-head { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(64px, 10vw, 144px)) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.page-head__title { font-size: clamp(3rem, 8.4vw, 8rem); margin: 24px 0 26px; }
.page-head__title .text-accent { display: block; }
.page-head__glow { position: absolute; inset: 0; z-index: -2; background: radial-gradient(42% 60% at 82% 20%, rgb(var(--accent-rgb) / 0.12), transparent 70%); }

/* 11. Game page ------------------------------------------------------------ */
.hero--game { min-height: max(720px, 100svh); display: flex; flex-direction: column; }
.hero--game .hero__media img { object-position: 50% 60%; filter: brightness(1.25) saturate(1.05); }
.hero--game .hero__shade { background: linear-gradient(90deg, rgb(7 8 10 / 0.9) 0%, rgb(7 8 10 / 0.55) 45%, rgb(7 8 10 / 0.35) 100%), linear-gradient(0deg, var(--ink-1) 0%, rgb(7 8 10 / 0) 34%), linear-gradient(180deg, rgb(7 8 10 / 0.7) 0%, rgb(7 8 10 / 0) 24%); }
.hero--game .hero__glow { background: radial-gradient(40% 50% at 72% 48%, rgb(247 200 30 / 0.12), transparent 70%); }
.hero-game__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(36px, 5vw, 88px); align-items: center; padding-top: calc(var(--header-h) + 44px); padding-bottom: 52px; }
.hero-game__logo { display: block; width: min(560px, 100%); margin-left: -4.5%; filter: drop-shadow(0 30px 50px rgb(0 0 0 / 0.5)); }
.hero-game__tagline { font-stretch: 112%; font-weight: 680; font-size: clamp(1.25rem, 1.9vw, 1.65rem); line-height: 1.25; letter-spacing: -0.01em; margin: 6px 0 14px; }
.hero-game__premise { color: var(--fg-2); max-width: 50ch; margin-bottom: 32px; }
@media (max-width: 1100px) { .hero-game__grid { grid-template-columns: 1fr; } .hero-game__copy { max-width: 640px; } .monitor__rig { transform: none; } }

.monitor { position: relative; perspective: 1800px; }
.monitor__rig { transform: rotateY(calc(-7deg + var(--ry, 0deg))) rotateX(calc(2deg + var(--rx, 0deg))); transform-style: preserve-3d; transition: transform 0.9s var(--ease); }
.monitor__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; box-shadow: 0 50px 120px -40px rgb(0 0 0 / 0.95), 0 0 0 1px var(--line-2), 0 0 90px -30px rgb(247 200 30 / 0.35); }
.monitor__screen::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0.35; background: repeating-linear-gradient(0deg, rgb(0 0 0 / 0.22) 0 1px, transparent 1px 3px); }
.monitor__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.monitor__slide.is-active { opacity: 1; z-index: 1; }
.monitor__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 8s linear; }
.monitor__slide.is-active img { transform: scale(1.0); }
.monitor__slide figcaption { position: absolute; left: 14px; bottom: 14px; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 6px 10px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; background: rgb(7 8 10 / 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.monitor__slide figcaption span { color: var(--yellow); }
.monitor__bar { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.monitor__toggle { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 1px solid var(--line-2); transition: border-color 0.3s, color 0.3s; }
.monitor__toggle:hover { border-color: var(--yellow); color: var(--yellow); }
.monitor__toggle .icon { width: 14px; height: 14px; }
.monitor__toggle .icon-play, .monitor.is-paused .monitor__toggle .icon-pause { display: none; }
.monitor.is-paused .monitor__toggle .icon-play { display: block; }
.monitor__dots { display: flex; gap: 6px; flex: 1; }
.monitor__dot { flex: 1; height: 28px; display: grid; align-items: center; }
.monitor__dot i { position: relative; display: block; height: 2px; overflow: hidden; background: var(--line-2); }
.monitor__dot i::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.monitor__dot.is-done i::after { transform: scaleX(1); opacity: 0.45; }
.monitor__dot[aria-current="true"] i::after { opacity: 1; animation: progress var(--dur, 6s) linear forwards; }
.monitor.is-paused .monitor__dot[aria-current="true"] i::after, .monitor.is-static .monitor__dot[aria-current="true"] i::after { animation: none; transform: scaleX(1); }
.monitor__rec { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; color: var(--fg-2); }
.monitor__rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.4s steps(2, jump-none) infinite; }
html:not(.js) .monitor__bar { display: none; }

.facts-bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.facts-bar > div { padding: 20px 20px 26px 0; }
.facts-bar > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.facts-bar dt { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 6px; }
.facts-bar dd { font-weight: 600; font-size: 15px; line-height: 1.35; }
@media (max-width: 1100px) { .facts-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); } .facts-bar > div:nth-child(4) { padding-left: 0; border-left: 0; } .facts-bar > div:nth-child(n + 4) { border-top: 1px solid var(--line); } }
@media (max-width: 640px) { .facts-bar { grid-template-columns: 1fr 1fr; } .facts-bar > div:nth-child(odd) { padding-left: 0; border-left: 0; } .facts-bar > div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); } .facts-bar > div:nth-child(n + 3) { border-top: 1px solid var(--line); } }

.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgb(7 8 10 / 0.84); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-block: 1px solid var(--line); transition: top 0.6s var(--ease); }
body.header-hidden .subnav { top: 0; }
.subnav__inner { display: flex; align-items: center; gap: 4px; height: 58px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__title { font-family: var(--ts); font-size: 19px; text-transform: uppercase; color: var(--yellow); margin-right: 20px; white-space: nowrap; }
.subnav__link { position: relative; padding: 8px 12px; font-size: 14px; font-weight: 540; color: var(--fg-2); white-space: nowrap; transition: color 0.3s; }
.subnav__link:hover { color: var(--fg); }
.subnav__link.is-active { color: var(--fg); }
.subnav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -10px; height: 2px; background: var(--yellow); transform: scaleX(0); transition: transform 0.5s var(--ease); }
.subnav__link.is-active::after { transform: scaleX(1); }
.subnav .btn { margin-left: auto; flex: none; }
@media (max-width: 720px) { .subnav__title { display: none; } .subnav .btn { display: none; } }

.orientation { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.statement { font-family: var(--ts); text-transform: uppercase; font-size: clamp(3.1rem, 7.6vw, 7.4rem); line-height: 0.9; margin-top: 26px; }
.statement em { font-style: normal; color: var(--yellow); }
.orientation__body { display: grid; gap: 32px; padding-top: clamp(0px, 3vw, 56px); }
.orientation__body .body-copy { font-size: clamp(1.04rem, 1.25vw, 1.15rem); }
@media (max-width: 960px) { .orientation { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.feature { position: relative; isolation: isolate; grid-column: span 6; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(420px, 44vw, 600px); overflow: hidden; background: var(--ink-3); }
.feature--7 { grid-column: span 7; }
.feature--5 { grid-column: span 5; }
.feature__media { position: absolute; inset: 0; z-index: -2; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.045); }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(7 8 10 / 0.98) 0%, rgb(7 8 10 / 0.93) 34%, rgb(7 8 10 / 0.55) 58%, rgb(7 8 10 / 0.05) 82%); }
.feature__body { padding: clamp(24px, 3vw, 44px); max-width: 600px; }
.feature__num { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.feature__title { font-family: var(--ts); font-size: clamp(2rem, 3.5vw, 3.3rem); line-height: 0.95; text-transform: uppercase; margin: 14px 0 14px; }
.feature__body > p { color: var(--fg-2); }
.feature__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
@media (max-width: 900px) { .feature, .feature--7, .feature--5 { grid-column: 1 / -1; min-height: 480px; } }

.gallery__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.gallery__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s linear 0.9s; }
.gallery__slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease); }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__slide.is-entering { z-index: 2; animation: wipe-in 1s var(--ease) both; }
.gallery__slide.is-entering.from-left { animation-name: wipe-in-left; }
.gallery__slide.is-entering img { animation: settle 1.4s var(--ease) both; }
.gallery__expand { position: absolute; right: 22px; top: 22px; z-index: 6; }
.gallery__bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 0; }
.gallery__caption { display: flex; align-items: baseline; gap: 26px; min-width: 0; }
.gallery__count { font-family: var(--mono); font-size: 13px; color: var(--fg-3); white-space: nowrap; }
.gallery__count b { color: var(--yellow); font-weight: 500; }
.gallery__title { font-family: var(--ts); font-size: clamp(1.45rem, 2.1vw, 1.9rem); line-height: 1; text-transform: uppercase; }
.gallery__text { color: var(--fg-2); max-width: 74ch; margin-top: 8px; }
.gallery__arrows { display: flex; gap: 8px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; }
.gallery__thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; opacity: 0.45; transition: opacity 0.4s; }
.gallery__thumb::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; transition: border-color 0.4s; }
.gallery__thumb:hover { opacity: 0.85; }
.gallery__thumb[aria-current="true"] { opacity: 1; }
.gallery__thumb[aria-current="true"]::after { border-color: var(--yellow); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .gallery__thumbs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%; overflow-x: auto; scrollbar-width: none; }
  .gallery__caption { flex-direction: column; gap: 8px; }
  .gallery__expand { right: 12px; top: 12px; width: 42px; height: 42px; }
}
html:not(.js) .gallery__slide { position: relative; opacity: 1; visibility: visible; }
html:not(.js) .gallery__stage { aspect-ratio: auto; }
html:not(.js) .gallery__bar, html:not(.js) .gallery__thumbs, html:not(.js) .gallery__expand { display: none; }

.board__tabs { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 28px; }
.board__tab { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 16px 24px 16px; background: var(--ink-3); text-align: left; transition: background-color 0.3s; }
.board__tab::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: #3a3e46; transition: background-color 0.3s; }
.board__tab:hover { background: var(--ink-4); }
.board__tab[aria-selected="true"] { background: var(--ink-4); }
.board__tab[aria-selected="true"]::before { background: var(--yellow); }
.board__tab-title { font-family: var(--ts); font-size: 22px; line-height: 1; text-transform: uppercase; }
.board__tab-sub { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.board__page:focus-visible { outline-offset: 8px; }
.board__page:not([hidden]) { animation: panel-in 0.7s var(--ease) both; }
.board__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 18px); }
.contract { --tier: var(--yellow); }
.contract[data-tier="1"] { --tier: var(--green); }
.contract[data-tier="3"] { --tier: var(--orange); }
.contract[data-tier="4"] { --tier: #ff6a3d; }
.contract[data-tier="5"] { --tier: var(--red); }
.contract__card { position: relative; isolation: isolate; display: flex; flex-direction: column; height: 100%; background: #16181d; overflow: hidden; }
.contract__card::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 3; height: 4px; background: #3a3e46; transition: background-color 0.4s; }
.contract__card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(247 200 30 / 0.09), transparent 45%); transition: opacity 0.4s; }
.contract__card:hover::before { background: var(--yellow); }
.contract__card:hover::after { opacity: 1; }
.contract__art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.contract__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.contract__card:hover .contract__art img { transform: scale(1.06); }
.contract__loc { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 4px 8px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; background: rgb(7 8 10 / 0.8); }
.contract__plate { position: absolute; inset: 0; display: grid; place-items: center; background: repeating-linear-gradient(-45deg, rgb(247 200 30 / 0.06) 0 14px, transparent 14px 28px), radial-gradient(60% 80% at 50% 40%, #1d2026, #101215); }
.contract__plate span { font-family: var(--ts); font-size: clamp(4rem, 6.4vw, 6rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgb(247 200 30 / 0.6); transition: transform 1s var(--ease); }
.contract__card:hover .contract__plate span { transform: scale(1.08); }
.contract__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 20px 20px; }
.contract__no { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.contract__no b { color: var(--yellow); font-weight: 500; }
.contract__name { font-family: var(--ts); font-size: clamp(1.4rem, 1.6vw, 1.65rem); line-height: 1.02; text-transform: uppercase; }
.contract__desc { font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
.contract__goal { font-size: 13.5px; line-height: 1.45; color: var(--fg-3); }
.contract__goal span, .contract__safety span { display: block; margin-bottom: 3px; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.contract__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.contract__safety { font-size: 13px; line-height: 1.35; color: var(--fg-2); }
.contract__difficulty { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; color: var(--tier); text-align: right; white-space: nowrap; }
.meter { display: flex; gap: 3px; }
.meter i { width: 10px; height: 6px; background: var(--line-2); transform: skewX(-20deg); }
.contract[data-tier="1"] .meter i:nth-child(-n + 1),
.contract[data-tier="2"] .meter i:nth-child(-n + 2),
.contract[data-tier="3"] .meter i:nth-child(-n + 3),
.contract[data-tier="4"] .meter i:nth-child(-n + 4),
.contract[data-tier="5"] .meter i { background: var(--tier); }
.board__note { margin-top: 26px; }
@media (max-width: 1200px) { .board__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .board__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .board__grid { grid-template-columns: 1fr; } .board__tab { flex: 1; padding: 14px 16px; } }

.handbook { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.handbook__tabs { display: flex; flex-direction: column; gap: 2px; position: sticky; top: calc(var(--header-h) + 90px); }
.handbook__tab { display: flex; align-items: center; gap: 14px; padding: 17px 18px; text-align: left; font-weight: 620; font-size: 15px; color: var(--fg-2); background: var(--ink-3); border-left: 3px solid transparent; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.handbook__tab span { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--fg-3); }
.handbook__tab:hover { color: var(--fg); background: var(--ink-4); }
.handbook__tab[aria-selected="true"] { color: var(--fg); background: var(--ink-4); border-left-color: var(--yellow); }
.handbook__tab[aria-selected="true"] span { color: var(--yellow); }
.handbook__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 3.4vw, 52px); align-items: start; }
.handbook__panel:not([hidden]) { animation: panel-in 0.7s var(--ease) both; }
.handbook__panel--full { grid-template-columns: 1fr; }
.handbook__title { font-family: var(--ts); font-size: clamp(2.1rem, 3.4vw, 3.2rem); line-height: 0.95; text-transform: uppercase; margin-bottom: 18px; }
.handbook__shot img { width: 100%; box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.9); }
.handbook__shot figcaption { margin-top: 12px; }
.ticklist { display: grid; gap: 10px; margin-top: 22px; }
.ticklist li { position: relative; padding-left: 24px; color: var(--fg-2); }
.ticklist li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--accent); }
.ticklist strong { color: var(--fg); font-weight: 620; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.tiers > div { padding: 18px 18px 20px; background: var(--ink-3); border-top: 3px solid var(--tier); }
.tiers h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tier); margin-bottom: 12px; }
.tiers ul { display: grid; gap: 6px; font-size: 14.5px; color: var(--fg-2); }
.incidents { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-top: 26px; }
.incidents li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink-3); border: 1px solid var(--line); font-size: 15px; }
.incidents li::before { content: "!"; display: grid; place-items: center; width: 22px; height: 22px; flex: none; font-family: var(--ts); font-size: 14px; color: #0b0c0f; background: var(--yellow); clip-path: polygon(50% 0, 100% 100%, 0 100%); padding-top: 4px; }
@media (max-width: 1000px) {
  .handbook { grid-template-columns: 1fr; }
  .handbook__tabs { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .handbook__tab { flex: none; border-left: 0; border-top: 3px solid transparent; }
  .handbook__tab[aria-selected="true"] { border-top-color: var(--yellow); }
  .handbook__panel { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } }

.dev { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.tech { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tech li { padding: 8px 12px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; border: 1px solid var(--line-2); color: var(--fg-2); }
.facts { border-top: 1px solid var(--line-2); }
.facts__row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt, .specs th { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); padding-top: 3px; }
.facts dd { font-weight: 560; }
.specs { width: 100%; margin-top: 48px; border-collapse: collapse; }
.specs caption { text-align: left; padding-bottom: 14px; font-family: var(--ts); font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.specs caption span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--fg-3); }
.specs tbody { border-top: 1px solid var(--line-2); }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs th { width: 160px; padding-right: 16px; }
.specs td { color: var(--fg-2); }
.steam-widget { margin-top: 44px; max-width: 646px; }
.steam-widget iframe { width: 100%; height: 190px; border: 0; }
@media (max-width: 960px) { .dev { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts__row { grid-template-columns: 1fr; gap: 4px; } .specs th { width: 112px; } }

.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.video > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); transition: transform 1.4s var(--ease), filter 0.6s; }
.video:hover > img { transform: scale(1.03); filter: brightness(0.5); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; justify-items: center; gap: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.video__play .icon { width: 84px; height: 84px; padding: 26px; color: #0b0c0f; background: var(--yellow); transition: transform 0.5s var(--ease); }
.video__play:hover .icon { transform: scale(1.08); }

/* 12. About, support ------------------------------------------------------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.about-hero .page-head__title { font-size: clamp(2.8rem, 6vw, 6rem); }
.about-hero__mark { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: end; border: 1px solid var(--line); }
.about-hero__mark svg { width: 62%; overflow: visible; }
.about-hero__mark .mark-m { fill: var(--fg); }
.about-hero__mark .mark-check { fill: var(--micron); }
.about-hero__mark .studio__label--tl { top: 22px; }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } .about-hero__mark { justify-self: start; max-width: 320px; } }

.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.split__title { font-size: clamp(2.2rem, 4.2vw, 3.8rem); margin-top: 22px; }
.big-copy { display: grid; gap: 1em; font-size: clamp(1.12rem, 1.55vw, 1.4rem); line-height: 1.55; color: var(--fg-2); }
.big-copy strong { color: var(--fg); font-weight: 600; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.principle { position: relative; padding: 32px 32px 4px 0; }
.principle + .principle { padding-left: 32px; border-left: 1px solid var(--line); }
.principle__num { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--accent); }
.principle h3 { font-stretch: 112%; font-weight: 720; font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.12; letter-spacing: -0.015em; margin: 18px 0 12px; }
.principle p { color: var(--fg-2); font-size: 15.5px; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; border-top: 0; } .principle, .principle + .principle { padding: 26px 0 6px; border-left: 0; border-top: 1px solid var(--line-2); } }

.project { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
.project__art { position: relative; overflow: hidden; min-height: 100%; }
.project__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.project:hover .project__art img { transform: scale(1.04); }
.project__body { position: relative; display: flex; flex-direction: column; gap: 22px; justify-content: center; padding: clamp(28px, 5vw, 72px); }
.project__body::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--hazard); }
.project__logo { width: min(420px, 100%); margin-left: -4%; }
.project__body .facts { margin-top: 6px; }
@media (max-width: 860px) { .project { grid-template-columns: 1fr; } .project__art { aspect-ratio: 748 / 600; } }

.next-up { position: relative; padding: clamp(36px, 6vw, 88px); border: 1px dashed var(--line-3); }
.next-up__title { font-size: clamp(2.2rem, 5vw, 4.4rem); margin: 22px 0 20px; }
.next-up .ruler { position: absolute; left: 0; right: 0; bottom: 0; color: var(--line-2); }

.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.support-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3.6vw, 52px); background: var(--ink-2); border: 1px solid var(--line); }
.support-card::before { content: ""; position: absolute; inset: -1px -1px auto; height: 4px; background: var(--accent); }
.support-card[data-theme="ts"]::before { background: var(--hazard); height: 6px; }
.support-card__title { font-stretch: 114%; font-weight: 760; font-size: clamp(1.7rem, 2.5vw, 2.4rem); line-height: 1.04; letter-spacing: -0.02em; }
.support-card > p { color: var(--fg-2); }
.support-card .btn-row { margin-top: auto; padding-top: 10px; }
.email-box { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 18px 20px; border: 1px solid var(--line-2); background: var(--ink-1); }
.email-box > a { flex: 1; min-width: 0; font-family: var(--mono); font-size: clamp(15px, 1.5vw, 18px); color: var(--fg); overflow-wrap: anywhere; transition: color 0.3s; }
.email-box > a:hover { color: var(--accent); }
.steps { counter-reset: step; display: grid; gap: 14px; margin-top: 4px; }
.steps li { counter-increment: step; position: relative; padding-left: 40px; color: var(--fg-2); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0.12em; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--accent); }
.steps strong { color: var(--fg); font-weight: 620; }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; list-style: none; cursor: pointer; font-stretch: 108%; font-weight: 660; font-size: clamp(1.06rem, 1.45vw, 1.28rem); line-height: 1.3; transition: color 0.3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .icon { width: 22px; height: 22px; color: var(--accent); transition: transform 0.5s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq__a { display: grid; gap: 1em; padding: 0 48px 28px 0; color: var(--fg-2); max-width: 76ch; }
.faq__a a { color: var(--fg); border-bottom: 1px solid rgb(var(--accent-rgb) / 0.6); }
.faq__a a:hover { color: var(--accent); }
@supports selector(::details-content) {
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.55s var(--ease), content-visibility 0.55s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}
.legal-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* 13. Article, legal, 404 -------------------------------------------------- */
.article__head { padding-top: calc(var(--header-h) + clamp(52px, 8vw, 112px)); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-3); }
.crumbs a { transition: color 0.3s; }
.crumbs a:hover { color: var(--fg); }
.article__title { font-stretch: 116%; font-weight: 780; font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 0.98; letter-spacing: -0.03em; margin: 24px 0 22px; }
.article__summary { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.5; color: var(--fg-2); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--fg-3); }
.article__meta a { color: var(--accent); }
.article__cover { margin-top: clamp(36px, 5vw, 64px); }
.article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__body { padding-block: clamp(44px, 6vw, 84px) clamp(56px, 7vw, 100px); }
.article__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-3); }
.prose { font-size: clamp(1.03rem, 1.2vw, 1.12rem); line-height: 1.75; color: #d6d7d8; }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { margin-top: 2.2em; font-stretch: 112%; font-weight: 740; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.012em; color: var(--fg); }
.prose h3 { margin-top: 1.9em; font-weight: 700; font-size: 1.28rem; line-height: 1.25; color: var(--fg); }
.prose h4 { margin-top: 1.7em; font-family: var(--mono); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.7em; }
.prose a { color: var(--fg); text-decoration: underline; text-decoration-color: rgb(var(--accent-rgb) / 0.7); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.3s; }
.prose a:hover { color: var(--accent); }
.prose strong { color: var(--fg); font-weight: 620; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose ul > li { position: relative; }
.prose ul > li::before { content: ""; position: absolute; left: -1.15em; top: 0.82em; width: 8px; height: 2px; background: var(--accent); }
.prose ol { list-style: decimal; }
.prose ol > li::marker { color: var(--accent); font-family: var(--mono); font-size: 0.86em; }
.prose li + li, .prose li > ul, .prose li > ol { margin-top: 0.5em; }
.prose blockquote { padding: 2px 0 2px 26px; border-left: 3px solid var(--accent); font-size: 1.14em; color: var(--fg); }
.prose blockquote > * + * { margin-top: 0.8em; }
.prose figure img, .prose > img { width: 100%; }
.prose figcaption, .embed figcaption { margin-top: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--fg-3); }
.prose hr { height: 14px; border: 0; color: var(--line-3); background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 8px) bottom / 100% 5px no-repeat, repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 40px) bottom / 100% 14px no-repeat; margin-block: 2.6em; }
.prose pre { padding: 18px 20px; overflow-x: auto; font-size: 0.86em; line-height: 1.6; background: var(--ink-3); border: 1px solid var(--line); }
.prose pre code { background: none; border: 0; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95em; }
.prose th, .prose td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.embed__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.embed__frame iframe, .embed__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); padding-bottom: var(--section-y); }
.pager__link { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.6vw, 32px); background: var(--ink-2); border: 1px solid var(--line); transition: border-color 0.3s, background-color 0.3s; }
.pager__link:hover { border-color: var(--line-3); background: var(--ink-3); }
.pager__link--next { align-items: flex-end; text-align: right; }
.pager__link--empty { background: none; border: 0; }
.pager__dir { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.pager__dir .icon { width: 16px; height: 16px; }
.pager__title { font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.pager__date { font-size: 13px; color: var(--fg-3); }
@media (max-width: 640px) { .pager { grid-template-columns: 1fr; } .pager__link--empty { display: none; } }

.legal { padding-block: clamp(48px, 6vw, 88px) var(--section-y); }
.legal .prose h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.legal__notice { margin-bottom: 40px; padding: 16px 20px; border: 1px solid var(--line-2); background: var(--ink-2); font-size: 15px; color: var(--fg-2); }

.lost { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 64px) 0 96px; }
.lost__media { position: absolute; inset: 0; z-index: -2; }
.lost__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.1); }
.lost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(7 8 10 / 0.94) 0%, rgb(7 8 10 / 0.7) 55%, rgb(7 8 10 / 0.45) 100%), linear-gradient(0deg, var(--ink-1), transparent 40%); }
.lost__code { font-family: var(--ts); font-size: clamp(8rem, 24vw, 21rem); line-height: 0.82; color: var(--yellow); -webkit-text-stroke: 0.035em #0b0c0f; paint-order: stroke fill; text-shadow: 0.012em 0.012em 0 var(--ochre), 0.024em 0.024em 0 var(--ochre), 0.036em 0.036em 0 var(--ochre), 0.05em 0.05em 0 #0b0c0f, 0.06em 0.08em 0.1em rgb(0 0 0 / 0.6); margin: 18px 0 0.2em -0.02em; }
.lost__title { font-size: clamp(2rem, 4.6vw, 4rem); margin-bottom: 18px; }
.lost .lead { margin-bottom: 30px; }
.lost .intercom { max-width: 520px; min-height: 0; margin-top: 44px; padding-bottom: 30px; }
.lost .intercom__lines { min-height: 0; }
.lost .intercom__lines li { position: static; opacity: 1; transform: none; }

/* 14. Lightbox ------------------------------------------------------------ */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: var(--fg); background: rgb(4 5 6 / 0.97); overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: fade-in 0.4s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gutter); }
.lightbox__count { font-family: var(--mono); font-size: 13px; color: var(--fg-3); }
.lightbox__count b { color: var(--accent); font-weight: 500; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(16px, 7vw, 120px); }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 40px 120px -40px #000; animation: lb-in 0.7s var(--ease); }
.lightbox__img.from-left { animation-name: lb-in-left; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: clamp(10px, 2vw, 32px); }
.lightbox__next { right: clamp(10px, 2vw, 32px); }
.lightbox__caption { padding: 18px var(--gutter) max(24px, env(safe-area-inset-bottom)); text-align: center; }
.lightbox__title { font-family: var(--ts); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1; text-transform: uppercase; color: var(--accent); }
.lightbox__text { color: var(--fg-2); max-width: 80ch; margin: 8px auto 0; font-size: 15px; }
@media (max-width: 720px) {
  .lightbox__stage { padding: 0; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: -64px; transform: none; }
  .lightbox__caption { padding-top: 76px; }
}

/* 15. Motion: reveals, intros, transitions --------------------------------- */
html.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
html.js [data-reveal="fade"] { transform: none; }
/* "mask": a curtain lifts off the element. (Clipping the element itself would stop
   IntersectionObserver and lazy images from ever seeing it.) */
html.js [data-reveal="mask"] { position: relative; transform: none; opacity: 1; }
html.js [data-reveal="mask"]::before { content: ""; position: absolute; inset: -1px; z-index: 8; pointer-events: none; background: var(--ink-1); transform-origin: 50% 0%; transition: transform 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 80ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="mask"].is-in::before { transform: scaleY(0); }

@keyframes cue { to { top: 100%; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(59 212 106 / 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgb(59 212 106 / 0); } }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgb(229 57 43 / 0.6); } 70%, 100% { box-shadow: 0 0 0 9px rgb(229 57 43 / 0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes wipe-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes wipe-in-left { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes lb-in { from { opacity: 0; transform: translateX(40px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes lb-in-left { from { opacity: 0; transform: translateX(-40px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-4%, 3%); } 50% { transform: translate(3%, -4%); } 75% { transform: translate(-3%, -2%); } }
@keyframes glow { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .grain::after { animation: grain 1.1s steps(4) infinite; }
  .hero__glow { animation: glow 5s ease-in-out infinite; }

  /* Cinematic opening: letterbox bars retract while the scene comes up out of black */
  .letterbox { display: block; position: absolute; inset: 0; z-index: 6; pointer-events: none; }
  .letterbox i { position: absolute; left: 0; right: 0; height: 13vh; background: #000; animation: letterbox 1.4s var(--ease-io) 0.2s both; }
  .letterbox i:first-child { top: 0; transform-origin: top; }
  .letterbox i:last-child { bottom: 0; transform-origin: bottom; }
  .hero--home .hero__media img, .hero--game .hero__media img { animation: hero-in 2.6s var(--ease) both; }
  .intro { animation: intro-up 1.2s var(--ease) both; animation-delay: calc(0.6s + var(--d, 0) * 0.1s); }
  .intro--stamp { animation-name: stamp; animation-duration: 1.1s; }
  .page-head .intro { animation-delay: calc(0.1s + var(--d, 0) * 0.09s); }
  /* The studio mark draws itself in once it scrolls into view */
  html.js .draw .mark-m, html.js .draw .mark-check { stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
  html.js .draw .mark-m { stroke: var(--fg); }
  html.js .draw .mark-check { stroke: var(--micron); }
  html.js .is-in .draw .mark-m, html.js .is-in .draw .mark-check { animation: draw 1.9s var(--ease-io) 0.2s forwards, fill-in 0.9s var(--ease) 1.5s forwards; }
  html.js .is-in .draw .mark-check { animation-delay: 0.6s, 1.85s; }
}
@keyframes letterbox { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes hero-in { from { opacity: 0; transform: scale(1.12); filter: brightness(0.3); } to { opacity: 1; transform: scale(1); } }
@keyframes intro-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.2) rotate(-3deg); filter: blur(8px); } 55% { opacity: 1; transform: scale(0.985) rotate(0.5deg); filter: blur(0); } 100% { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill-opacity: 1; stroke-opacity: 0; } }

/* Cross-document page transitions (Chrome, Edge, Safari 18.2+). The header stays put. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.32s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in 0.62s var(--ease) both; }
::view-transition-old(site-header) { display: none; }
::view-transition-new(site-header) { animation: none; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html.js [data-reveal="mask"]::before { display: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .tape__track { animation: none !important; }
  .monitor__rig { transform: none; }
}
