/* MAYHEM — site styles (v3). Plain CSS, no build step. Hard edges: nothing here has a border radius. */

@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0a0b0c;
  --bg-2: #111315;
  --bg-3: #181a1d;
  --ink: #f1ede4;
  --ink-2: #bdb8ad;
  --ink-3: #8d887f;
  --line: rgba(241, 237, 228, 0.12);
  --line-2: rgba(241, 237, 228, 0.26);
  --glass: rgba(10, 11, 12, 0.58);
  --hot: #ff4a24;
  --hot-ink: #ff6a48;        /* the accent at text sizes: 5.6:1 on --bg */
  --hot-deep: #c92e10;
  --amber: #ffb23f;
  --display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1520px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--hot); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--ink); color: #000; padding: 10px 16px; font: 500 13px var(--mono); }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* film grain over everything, very light */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.1 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- type ---------- */
.mono, .kicker { font: 500 12px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--hot); }
.kicker b, .mono b, .hot { color: var(--hot-ink); font-weight: inherit; }
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 0.86; letter-spacing: 0.005em; }
.h1 { font-size: clamp(56px, 9.6vw, 168px); }
.h2 { font-size: clamp(48px, 7.4vw, 124px); }
.h3 { font-size: clamp(36px, 4.6vw, 72px); }
.outline { color: transparent; -webkit-text-stroke: 1.5px rgba(241, 237, 228, 0.5); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.lede strong, .copy strong { color: var(--ink); font-weight: 600; }
.copy p + p { margin-top: 1em; }
.copy { color: var(--ink-2); }
.dim { color: var(--ink-3); }

/* HUD corner brackets: put .hud on anything framed */
.hud { position: relative; }
.hud::before, .hud::after { content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; border: 0 solid var(--ink); opacity: 0.9; }
.hud::before { left: -1px; top: -1px; border-left-width: 2px; border-top-width: 2px; }
.hud::after { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; }
.hud--hot::before, .hud--hot::after { border-color: var(--hot); }

/* ---------- buttons ---------- */
.btn { --b: var(--hot); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 28px;
  font: 800 17px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: #0b0b0b; background: var(--b);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease); white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { background: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--lg { height: 66px; padding: 0 36px; font-size: 19px; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; gap: 9px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.btn--sm svg { width: 16px; height: 16px; }
.btn--ghost { background: rgba(10, 11, 12, 0.35); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(241, 237, 228, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); clip-path: none; }
.btn--ghost:hover { background: var(--ink); color: #0b0b0b; }
.btn--block { width: 100%; }
.btn .play-ico { width: 30px; height: 30px; display: grid; place-items: center; background: var(--hot); color: #0b0b0b; margin-left: -8px; }
.btn .play-ico svg { width: 13px; height: 13px; }
.btn--ghost:hover .play-ico { background: #0b0b0b; color: var(--ink); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); transition: background 0.35s var(--ease), transform 0.45s var(--ease), border-color 0.35s; border-bottom: 1px solid transparent; }
.nav::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(5, 6, 7, 0.75), transparent); pointer-events: none; transition: opacity 0.35s; }
.nav.is-solid { background: rgba(10, 11, 12, 0.86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.nav.is-solid::before { opacity: 0; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; max-width: none; padding-inline: var(--gutter); }
.logo { display: block; color: var(--ink); flex: none; }
.logo svg { height: 22px; width: auto; }
.nav__links { display: flex; gap: clamp(16px, 2vw, 30px); margin-left: auto; }
.nav__links a { position: relative; font: 700 15px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); padding: 8px 0; transition: color 0.2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--hot); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after, .nav__links a:hover::after { transform: scaleX(1); }
.nav__end { display: flex; align-items: center; gap: 18px; }
.socials { display: flex; gap: 4px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink-2); transition: color 0.2s, background 0.2s; }
.socials a:hover { color: var(--ink); background: rgba(241, 237, 228, 0.08); }
.socials svg { width: 18px; height: 18px; }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.nav__toggle i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.nav__toggle i:first-child { top: 17px; }
.nav__toggle i:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 99; background: rgba(10, 11, 12, 0.97); padding: calc(var(--nav-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s 0.35s; overflow-y: auto; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease); }
.menu ol { counter-reset: m; }
.menu li { counter-increment: m; border-bottom: 1px solid var(--line); }
.menu li a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font: 900 clamp(34px, 9vw, 56px)/1 var(--display); text-transform: uppercase; }
.menu li a::before { content: "0" counter(m); font: 500 12px var(--mono); color: var(--hot-ink); letter-spacing: 0.1em; }

@media (max-width: 1180px) { .nav__links { gap: 18px; } .socials { display: none; } }
@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__end .btn { display: none; }
  .nav__toggle { display: block; }
  .nav__end { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; background: #000; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media picture { position: absolute; inset: 0; }
.hero__media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__media video.is-playing { opacity: 1; }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 100%, rgba(10, 11, 12, 0.92) 8%, rgba(10, 11, 12, 0.35) 55%, transparent 80%),
    linear-gradient(rgba(10, 11, 12, 0.45), transparent 22%, transparent 60%, var(--bg) 99%); }
.hero__scan { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.18;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0 1px, transparent 1px 3px); }
.hero__frame { position: absolute; inset: calc(var(--nav-h) + 14px) var(--gutter) 22px; pointer-events: none; z-index: 0; }
.hero__frame i { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(241, 237, 228, 0.55); }
.hero__frame i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.hero__frame i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.hero__frame i:nth-child(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.hero__frame i:nth-child(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.hero__content { position: relative; z-index: 1; text-align: center; padding: 0 var(--gutter) clamp(84px, 11vh, 132px); display: flex; flex-direction: column; align-items: center; }
.hero__kicker { margin-bottom: clamp(18px, 2.6vh, 30px); }
.hero__title { width: min(980px, 86vw); color: var(--ink); filter: drop-shadow(0 8px 40px rgba(0, 0, 0, 0.55)); }
.hero__title svg { width: 100%; height: auto; }
.hero__tag { margin-top: clamp(18px, 2.6vh, 28px); font: 800 clamp(20px, 2.3vw, 34px)/1.05 var(--display); letter-spacing: 0.22em; text-transform: uppercase; text-indent: 0.22em; }
.hero__tag span { color: var(--hot-ink); }
.hero__cta { margin-top: clamp(26px, 4vh, 44px); display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__plat { margin-top: 22px; display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: center; }
.hero__plat span { display: inline-flex; align-items: center; gap: 8px; }
.hero__plat svg { width: 15px; height: 15px; opacity: 0.85; }
.hero__foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 calc(var(--gutter) + 40px) 34px; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.hero__foot > * { pointer-events: auto; }
.scrollcue { display: flex; align-items: center; gap: 12px; }
.scrollcue i { position: relative; width: 2px; height: 42px; background: rgba(241, 237, 228, 0.2); overflow: hidden; }
.scrollcue i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--hot); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.motion { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; }
.motion:hover { color: var(--ink); }
.motion__ico { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.motion[aria-pressed="true"] .motion__ico { border: 0; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* hero entrance */
.js .hero [data-in] { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js .hero__title[data-in] { transform: scale(1.06); filter: blur(10px) drop-shadow(0 8px 40px rgba(0, 0, 0, 0.55)); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease), filter 1.4s var(--ease); }
.is-ready .hero [data-in] { opacity: 1; transform: none; }
.is-ready .hero__title[data-in] { filter: drop-shadow(0 8px 40px rgba(0, 0, 0, 0.55)); }

@media (max-width: 640px) {
  .hero { min-height: 600px; }
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .hero__foot { padding-inline: var(--gutter); padding-bottom: 18px; }
  .hero__frame { display: none; }
  .scrollcue { display: none; }
}

/* ---------- ticker ---------- */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); }
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker ul { display: flex; flex: none; }
.ticker li { display: flex; align-items: center; gap: 28px; padding: 18px 28px 16px 0; font: 800 22px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.ticker li::after { content: ""; width: 9px; height: 9px; background: var(--hot); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(96px, 13vw, 200px) 0; }
.sec__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec__head .kicker { grid-column: 1 / -1; }
@media (max-width: 860px) { .sec__head { grid-template-columns: 1fr; } }

/* intro */
.intro { overflow: hidden; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px 80px; align-items: end; }
.intro__grid .kicker { grid-column: 1 / -1; }
.intro .copy { font-size: clamp(17px, 1.3vw, 19px); max-width: 52ch; }
.stats { margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { position: relative; padding: 34px 28px 30px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 28px; }
.stat:last-child { border-right: 0; }
.stat__n { display: flex; align-items: baseline; gap: 6px; font: 900 clamp(64px, 7.6vw, 128px)/0.82 var(--display); letter-spacing: -0.01em; }
.stat__n small { font-size: 0.42em; color: var(--hot-ink); letter-spacing: 0.02em; }
.stat__n--vs { font-size: clamp(44px, 4.4vw, 76px); min-height: 0.82em; gap: 4px; }
.stat__n--vs { height: calc(clamp(64px, 7.6vw, 128px) * 0.82); align-items: flex-end; }
.stat__l { margin-top: 18px; font: 800 20px/1.1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.stat__d { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-3); max-width: 28ch; }
.stat::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 3px; background: var(--hot); }
.stat + .stat::before { left: 28px; }
@media (max-width: 960px) {
  .intro__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(3)::before { left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) { .stat { padding-right: 14px; } .stat + .stat { padding-left: 14px; } .stat + .stat::before { left: 14px; } .stat:nth-child(3)::before { left: 0; } .stat__l { font-size: 17px; } }

/* the gameplay video card */
.reel { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; text-align: left; cursor: pointer; }
.reel picture, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel img { transition: transform 1.4s var(--ease), filter 0.6s; filter: brightness(0.72) saturate(0.95); }
.reel:hover img { transform: scale(1.035); filter: brightness(0.82); }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 11, 12, 0.85)); }
.reel__play { position: absolute; left: 50%; top: 50%; width: clamp(88px, 9vw, 132px); aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; }
.reel__play::before { content: ""; position: absolute; inset: 0; border: 2px solid rgba(241, 237, 228, 0.85); transform: rotate(45deg); transition: transform 0.6s var(--ease), border-color 0.3s, background 0.3s; }
.reel:hover .reel__play::before { transform: rotate(135deg); background: var(--hot); border-color: var(--hot); }
.reel__play svg { position: relative; width: 30%; height: 30%; margin-left: 6%; color: var(--ink); }
.reel:hover .reel__play svg { color: #0b0b0b; }
.reel__meta { position: absolute; left: clamp(20px, 3vw, 44px); right: clamp(20px, 3vw, 44px); bottom: clamp(18px, 2.6vw, 38px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.reel__title { font: 900 clamp(30px, 4vw, 64px)/0.9 var(--display); text-transform: uppercase; }
.reel__meta .mono { text-align: right; }
@media (max-width: 640px) { .reel { aspect-ratio: 4 / 3; } .reel__meta { flex-direction: column; align-items: flex-start; } .reel__meta .mono { text-align: left; } }

/* ---------- feature panels (full bleed) ---------- */
.feat { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: calc(var(--nav-h) + 40px) 0 clamp(40px, 6vw, 88px); }
.feat__bg { position: absolute; inset: -8% 0; z-index: -2; }
.feat__bg picture, .feat__bg img { width: 100%; height: 100%; object-fit: cover; }
.feat::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--bg), transparent 16%, transparent 58%, rgba(10, 11, 12, 0.88) 92%, var(--bg)); }
.feat--l::before, .feat--r::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.feat--l::before { background: linear-gradient(90deg, rgba(10, 11, 12, 0.72), transparent 62%); }
.feat--r::before { background: linear-gradient(270deg, rgba(10, 11, 12, 0.72), transparent 62%); }
.feat .wrap { display: flex; flex-direction: column; gap: 24px; }
.feat--r .wrap { align-items: flex-end; }
.feat__idx { position: absolute; top: calc(var(--nav-h) + 26px); right: var(--gutter); font: 900 clamp(90px, 15vw, 260px)/0.8 var(--display); color: transparent; -webkit-text-stroke: 1.5px rgba(241, 237, 228, 0.28); pointer-events: none; }
.feat--r .feat__idx { right: auto; left: var(--gutter); }
.card { width: min(640px, 100%); padding: clamp(26px, 3vw, 44px); background: var(--glass); backdrop-filter: blur(18px) saturate(1.15); -webkit-backdrop-filter: blur(18px) saturate(1.15); border: 1px solid var(--line); }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.card__top .mono:last-child { color: var(--ink-3); }
.card h2 { font: 900 clamp(46px, 5.6vw, 92px)/0.86 var(--display); text-transform: uppercase; }
.card .lead { margin-top: 22px; font: 800 clamp(20px, 1.7vw, 25px)/1.2 var(--display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.card .copy { margin-top: 14px; font-size: 16.5px; line-height: 1.6; }
.chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); padding: 9px 11px 8px; background: rgba(241, 237, 228, 0.07); box-shadow: inset 0 0 0 1px var(--line); }
.inset { position: relative; width: min(560px, 100%); }
.inset img { width: 100%; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.inset figcaption { margin-top: 12px; }
.feat__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; width: 100%; }
.feat--r .feat__row { flex-direction: row-reverse; }
@media (max-width: 1100px) { .feat__row, .feat--r .feat__row { flex-direction: column; align-items: stretch; } .inset { width: min(560px, 100%); } .feat--r .inset { align-self: flex-end; } }
@media (max-width: 760px) {
  .feat { min-height: 0; padding-top: 0; flex-direction: column; align-items: stretch; }
  .feat__bg { position: relative; inset: auto; height: 62vw; min-height: 260px; margin-bottom: -60px; }
  .feat::after { background: linear-gradient(transparent 0, transparent 30%, var(--bg) 52%); }
  .feat--l::before, .feat--r::before { display: none; }
  .feat__idx { top: 18px; font-size: 96px; }
  .card { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg-2); }
  .feat--r .wrap { align-items: stretch; }
}

/* heat meter */
.heat { margin-top: 26px; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); }
.heat__lvl { grid-row: span 2; font: 900 84px/0.8 var(--display); color: var(--hot-ink); min-width: 0.6em; }
.heat__bars { display: flex; gap: 5px; }
.heat__bars button { flex: 1; height: 22px; background: rgba(241, 237, 228, 0.1); transition: background 0.3s, transform 0.3s var(--ease); transform: skewX(-18deg); }
.heat__bars button:hover { background: rgba(241, 237, 228, 0.25); }
.heat__bars button.is-on { background: var(--hot); }
.heat__bars button.is-on:nth-child(1) { background: var(--amber); }
.heat__bars button.is-on:nth-child(2) { background: #ff8a2c; }
.heat__txt { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.heat__name { font: 800 20px/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.heat__desc { font-size: 14.5px; color: var(--ink-3); }

/* ---------- threats ---------- */
.threats__banner { position: relative; height: clamp(320px, 46vw, 640px); overflow: hidden; margin-bottom: 2px; }
.threats__banner picture, .threats__banner img { width: 100%; height: 100%; object-fit: cover; }
.threats__banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0, transparent 26%, transparent 60%, var(--bg)); }
.threats__banner .h2 { position: absolute; z-index: 1; left: var(--gutter); bottom: clamp(20px, 4vw, 56px); text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6); }
.roster { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; }
.threat { position: relative; padding: 26px 22px 28px; background: var(--bg-2); min-height: 250px; display: flex; flex-direction: column; transition: background 0.35s var(--ease); overflow: hidden; }
.threat:hover { background: var(--bg-3); }
.threat__n { font: 500 11px var(--mono); letter-spacing: 0.14em; color: var(--ink-3); }
.threat h3 { margin-top: auto; font: 900 34px/0.9 var(--display); text-transform: uppercase; }
.threat p { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.threat__lvl { display: flex; gap: 3px; margin-top: 18px; }
.threat__lvl i { width: 14px; height: 5px; background: rgba(241, 237, 228, 0.14); }
.threat__lvl i.on { background: var(--hot); }
.threat svg { position: absolute; right: 18px; top: 20px; width: 34px; height: 34px; color: var(--ink-3); transition: color 0.3s, transform 0.5s var(--ease); }
.threat:hover svg { color: var(--hot-ink); transform: rotate(-8deg) scale(1.08); }
.threat--top { background: linear-gradient(160deg, rgba(255, 74, 36, 0.18), var(--bg-2) 60%); }
@media (max-width: 1180px) { .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); } .threat { min-height: 220px; padding: 20px 16px 22px; } .threat h3 { font-size: 28px; } }

/* outbreak plate */
.plate { padding: clamp(80px, 10vw, 160px) 0; text-align: center; background:
  radial-gradient(60% 80% at 50% 50%, rgba(255, 74, 36, 0.12), transparent 70%), var(--bg); border-block: 1px solid var(--line); }
.plate__big { font: 900 clamp(60px, 11vw, 200px)/0.84 var(--display); text-transform: uppercase; }
.plate__text { margin: 28px auto 0; max-width: 54ch; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 20px); }
.spread { display: flex; justify-content: center; align-items: center; gap: clamp(8px, 1.2vw, 16px); margin-top: 40px; flex-wrap: wrap; }
.spread span { font: 800 clamp(16px, 1.6vw, 22px)/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.spread span.on { color: var(--hot-ink); }
.spread i { width: clamp(14px, 2.2vw, 40px); height: 2px; background: linear-gradient(90deg, var(--line-2), var(--hot)); }

/* ---------- factions ---------- */
.factions { overflow: hidden; background: radial-gradient(70% 60% at 30% 55%, rgba(var(--fc-rgb, 255, 74, 36), 0.14), transparent 70%), var(--bg); transition: background 0.6s; }
.factions__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 6vw, 100px); align-items: center; }
.soldier { position: relative; display: grid; place-items: end center; min-height: clamp(460px, 52vw, 760px); }
.soldier img { position: relative; z-index: 1; height: clamp(460px, 52vw, 760px); width: auto; max-width: none; }
.soldier__ring { position: absolute; left: 50%; bottom: 3%; width: 70%; aspect-ratio: 3 / 1; transform: translateX(-50%); border: 1px solid rgba(var(--fc-rgb, 255, 74, 36), 0.55); border-radius: 50%; box-shadow: 0 0 60px rgba(var(--fc-rgb, 255, 74, 36), 0.25), inset 0 0 40px rgba(var(--fc-rgb, 255, 74, 36), 0.18); transition: border-color 0.6s, box-shadow 0.6s; }
.soldier__label { position: absolute; z-index: 2; left: 0; top: 10%; display: flex; flex-direction: column; gap: 6px; }
.soldier__label b { font: 900 clamp(40px, 5vw, 76px)/0.85 var(--display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(241, 237, 228, 0.32); }
.ftabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; margin-top: 40px; }
.ftab { position: relative; padding: 18px 12px 16px; background: var(--bg-2); text-align: left; display: flex; flex-direction: column; gap: 14px; transition: background 0.3s; }
.ftab svg { width: 34px; height: 34px; color: var(--ink-3); transition: color 0.3s; }
.ftab span { font: 800 16px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.ftab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--fc); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.ftab:hover { background: var(--bg-3); }
.ftab[aria-selected="true"] { background: var(--bg-3); }
.ftab[aria-selected="true"]::after { transform: scaleX(1); }
.ftab[aria-selected="true"] svg, .ftab:hover svg { color: var(--fc); }
.ftab[aria-selected="true"] span { color: var(--ink); }
.fpanel { margin-top: 30px; min-height: 190px; }
.fpanel[hidden] { display: none; }
.fpanel h3 { font: 900 clamp(40px, 4.4vw, 68px)/0.9 var(--display); text-transform: uppercase; color: var(--fc); }
.fpanel p { margin-top: 14px; color: var(--ink-2); max-width: 50ch; }
.fpanel .mono { margin-top: 18px; color: var(--ink-3); }
.attrs { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.attrs li { font: 500 11px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.attrs li i { display: block; height: 4px; margin-bottom: 10px; background: linear-gradient(90deg, var(--hot) var(--v, 50%), rgba(241, 237, 228, 0.12) 0); }
@media (max-width: 960px) {
  .factions__grid { grid-template-columns: 1fr; }
  .soldier { min-height: 0; order: 2; }
  .soldier img { height: min(110vw, 620px); }
  .ftabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ftabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftab span { font-size: 14px; }
  .attrs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
}

/* ---------- home / walls / FOB ---------- */
.holds { position: relative; overflow: hidden; isolation: isolate; }
.holds__bg { position: absolute; inset: 0; z-index: -1; opacity: 0.32; }
.holds__bg picture, .holds__bg img { width: 100%; height: 100%; object-fit: cover; }
.holds::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--bg), rgba(10, 11, 12, 0.55) 30%, rgba(10, 11, 12, 0.7) 70%, var(--bg)); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.hold { position: relative; padding: clamp(28px, 3vw, 44px); background: rgba(17, 19, 21, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); min-height: 360px; display: flex; flex-direction: column; }
.hold__n { font: 500 12px var(--mono); letter-spacing: 0.14em; color: var(--hot-ink); }
.hold svg { width: 52px; height: 52px; margin: 30px 0 auto; color: var(--ink); }
.hold h3 { margin-top: 40px; font: 900 clamp(48px, 5vw, 80px)/0.85 var(--display); text-transform: uppercase; }
.hold p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.hold p b { color: var(--ink); font-weight: 600; }
@media (max-width: 960px) { .trio { grid-template-columns: 1fr; } .hold { min-height: 0; } .hold svg { margin-bottom: 0; } }

/* ---------- gates ---------- */
.gates { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 14vw, 220px) 0; }
.gates__bg { position: absolute; inset: -10% 0; z-index: -2; }
.gates__bg picture, .gates__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.55) contrast(1.1) brightness(0.5); }
.gates::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--bg), rgba(10, 11, 12, 0.35) 20%, rgba(10, 11, 12, 0.35) 80%, var(--bg)), linear-gradient(90deg, rgba(201, 46, 16, 0.38), transparent 70%); mix-blend-mode: normal; }
.gates__list { margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line-2); }
.gates__list li { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 0.8fr); align-items: center; gap: 24px; padding: clamp(18px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line-2); }
.gates__list .mono { color: var(--hot-ink); }
.gates__list b { font: 900 clamp(56px, 9vw, 150px)/0.82 var(--display); text-transform: uppercase; transition: color 0.3s, transform 0.5s var(--ease); }
.gates__list li:hover b { color: var(--hot-ink); transform: translateX(14px); }
.gates__list p { color: var(--ink-2); font-size: 16px; max-width: 36ch; }
.gates__foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 30px; }
@media (max-width: 760px) { .gates__list li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- arsenal ---------- */
.arsenal__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.loadout { background: var(--bg); }
.loadout li + li { border-top: 1px solid var(--line); }
.loadout button { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px 26px; text-align: left; transition: background 0.25s; position: relative; }
.loadout button::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--hot); transform: scaleY(0); transition: transform 0.35s var(--ease); }
.loadout button:hover { background: var(--bg-2); }
.loadout button[aria-selected="true"] { background: var(--bg-2); }
.loadout button[aria-selected="true"]::before { transform: scaleY(1); }
.loadout .n { font: 500 11px var(--mono); color: var(--ink-3); letter-spacing: 0.12em; }
.loadout .nm { font: 900 30px/1 var(--display); text-transform: uppercase; }
.loadout .cl { font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); text-align: right; }
.loadout button[aria-selected="true"] .cl { color: var(--hot-ink); }
.scope { position: relative; overflow: hidden; background: #000; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; }
.scope picture, .scope > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scope > picture img { filter: brightness(0.6); }
.scope::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10, 11, 12, 0.9)); z-index: 0; }
.scope__in { position: relative; z-index: 1; padding: clamp(24px, 3vw, 40px); }
.scope__cal { font: 900 clamp(72px, 8vw, 130px)/0.8 var(--display); color: var(--hot-ink); }
.scope__name { margin-top: 14px; font: 900 clamp(36px, 3.6vw, 56px)/0.9 var(--display); text-transform: uppercase; }
.scope__note { margin-top: 12px; color: var(--ink-2); max-width: 40ch; }
.scope__cross { position: absolute; right: 30px; top: 30px; width: 90px; height: 90px; z-index: 1; opacity: 0.6; }
@media (max-width: 860px) { .arsenal__grid { grid-template-columns: 1fr; } .scope { min-height: 340px; order: -1; } .loadout button { padding: 16px 18px; grid-template-columns: 34px minmax(0, 1fr) auto; } .loadout .nm { font-size: 24px; } }

/* ---------- media ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; }
.filters .mono { margin-right: 14px; }
.chip { font: 700 14px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; padding: 12px 16px 11px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: #0b0b0b; box-shadow: none; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: 8px; }
.shot { position: relative; grid-column: span 4; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); display: block; }
.shot--w { grid-column: span 8; grid-row: span 2; }
.shot--h { grid-column: span 6; }
.shot.is-off { display: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter 0.5s; }
.shot:hover img { transform: scale(1.05); filter: brightness(1.08); }
.shot__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 12px; padding: 32px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.82)); color: var(--ink); opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.35s var(--ease); }
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: none; }
.shot__cap span:last-child { color: var(--hot-ink); }
.shot::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(241, 237, 228, 0); transition: border-color 0.4s, inset 0.4s var(--ease); pointer-events: none; }
.shot:hover::after { border-color: rgba(241, 237, 228, 0.5); inset: 14px; }
.media__note { margin-top: 22px; color: var(--ink-3); }
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot, .shot--h { grid-column: span 1; }
  .shot--w { grid-column: span 2; grid-row: auto; }
  .shot__cap { opacity: 1; transform: none; font-size: 10px; padding: 24px 10px 8px; }
  .shot__cap span:last-child { display: none; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px 80px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 800 clamp(20px, 1.8vw, 26px)/1.15 var(--display); letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--hot-ink); }
.faq summary i { position: relative; flex: none; width: 18px; height: 18px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: currentColor; transition: transform 0.35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details[open] summary { color: var(--hot-ink); }
.faq details > div { padding: 0 0 26px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- join ---------- */
.join { position: relative; overflow: hidden; isolation: isolate; padding: clamp(120px, 15vw, 240px) 0 clamp(80px, 9vw, 140px); text-align: center; }
.join__bg { position: absolute; inset: -10% 0; z-index: -2; }
.join__bg picture, .join__bg img { width: 100%; height: 100%; object-fit: cover; }
.join::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 50% 60%, rgba(10, 11, 12, 0.35), rgba(10, 11, 12, 0.88)), linear-gradient(var(--bg), transparent 25%, transparent 70%, var(--bg)); }
.join__title { font: 900 clamp(72px, 13vw, 230px)/0.8 var(--display); text-transform: uppercase; }
.join__title span { display: block; color: var(--hot); }
.join .lede { margin: 28px auto 0; text-align: center; color: var(--ink); }
.join__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.contact { margin-top: clamp(80px, 9vw, 130px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; text-align: left; }
.contact > div { padding: clamp(26px, 3vw, 40px); background: rgba(17, 19, 21, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.contact h3 { margin: 10px 0 20px; font: 900 clamp(32px, 3vw, 44px)/0.9 var(--display); text-transform: uppercase; }
.form { display: flex; gap: 0; }
.form input { flex: 1; min-width: 0; height: 56px; padding: 0 18px; background: rgba(241, 237, 228, 0.06); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font: 16px var(--body); }
.form input::placeholder { color: var(--ink-3); }
.form input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--amber); }
.form .btn { clip-path: none; }
.form__msg { min-height: 1.5em; margin-top: 10px; font-size: 14px; color: var(--amber); }
.fine { font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } .form { flex-direction: column; gap: 8px; } }

/* ---------- footer ---------- */
.foot { position: relative; padding: 80px 0 32px; border-top: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot__top > div p { margin-top: 16px; color: var(--ink-3); max-width: 36ch; font-size: 15px; }
.foot h2 { font: 500 12px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot li + li { margin-top: 8px; }
.foot nav a { font: 700 17px/1.2 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); transition: color 0.2s; }
.foot nav a:hover { color: var(--hot-ink); }
.foot__mark { margin: 70px auto 30px; padding-inline: var(--gutter); max-width: var(--max); color: rgba(241, 237, 228, 0.06); }
.foot__mark svg { width: 100%; height: auto; }
.foot__legal { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; font-size: 13px; color: var(--ink-3); }
.foot__legal p { max-width: 90ch; }
.rating { flex: none; display: grid; place-items: center; width: 64px; height: 76px; border: 2px solid var(--ink-3); font: 500 10px/1.3 var(--mono); text-align: center; letter-spacing: 0.08em; color: var(--ink-3); }
@media (max-width: 860px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__top > div:first-child { grid-column: 1 / -1; } .foot__legal { flex-direction: column; align-items: flex-start; } }

/* ---------- dialogs ---------- */
dialog { padding: 0; border: 0; background: rgba(5, 6, 7, 0.96); color: var(--ink); width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; }
dialog::backdrop { background: rgba(0, 0, 0, 0.85); }
dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: dlg 0.4s var(--ease); }
@keyframes dlg { from { opacity: 0; } }
.lb__bar, .lb__cap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px var(--gutter); }
.lb__stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lb__stage img, .lb__stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb__stage video { width: min(100%, calc((100dvh - 140px) * 16 / 9)); background: #000; }
.lb__cap p { color: var(--ink-2); }
.lb__nav { display: flex; gap: 6px; }
.icon { width: 48px; height: 48px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background 0.2s, color 0.2s; }
.icon:hover { background: var(--ink); color: #0b0b0b; }
.icon svg { width: 18px; height: 18px; }

/* ---------- reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-lines] .ln { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.js [data-lines] .ln > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0) * 1ms); }
.js [data-lines].is-in .ln > span { transform: none; }
.js [data-wipe] { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.js [data-wipe].is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-lines] .ln > span, .js .hero [data-in] { opacity: 1; transform: none; filter: none; }
  .js [data-wipe] { clip-path: none; }
  .ticker__track { animation: none; }
}

/* ---------- small pages (legal, 404) ---------- */
.doc { padding: calc(var(--nav-h) + 80px) 0 120px; min-height: 80vh; }
.doc .wrap { max-width: 860px; }
.doc h1 { font-size: clamp(64px, 10vw, 140px); margin: 16px 0 24px; }
.doc h2 { font: 900 34px/1 var(--display); text-transform: uppercase; margin: 48px 0 12px; }
.doc p { color: var(--ink-2); }
.todo { padding: 14px 18px; background: rgba(255, 178, 63, 0.1); box-shadow: inset 3px 0 0 var(--amber); color: var(--ink); }

/* the death panel runs taller so the game's YOU DIED sits clear above the card */
#death { min-height: 122vh; min-height: 122svh; }
@media (max-width: 760px) { #death { min-height: 0; } }

/* the soldier dissolves into whatever colour the faction throws behind him: no box round the render */
.soldier picture { position: relative; z-index: 1; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 2%, #000 26%, #000 74%, transparent 98%), linear-gradient(transparent 0, #000 5%, #000 88%, transparent 99%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 2%, #000 26%, #000 74%, transparent 98%), linear-gradient(transparent 0, #000 5%, #000 88%, transparent 99%);
  mask-composite: intersect; }
.soldier img { filter: contrast(1.06) brightness(1.04); }
.soldier picture { mix-blend-mode: lighten; }
@media (max-width: 520px) { .card__top .mono:last-child { display: none; } .card h2 br { display: none; } }
