:root {
  --ink: #10130f;
  --ink-2: #171c16;
  --paper: #d9d4c4;
  --paper-2: #bdb9aa;
  --fog: #84897d;
  --line: rgba(217, 212, 196, .22);
  --signal: #e66736;
  --signal-dark: #963315;
  --field: #9eae63;
  --blood: #7c2821;
  --white: #f4f0e4;
  --shell: min(1440px, calc(100vw - 80px));
  --display: "Arial Narrow", "DIN Condensed", "Roboto Condensed", "Microsoft YaHei UI", sans-serif;
  --body: Inter, "Segoe UI", "Microsoft YaHei UI", sans-serif;
  --mono: "Cascadia Mono", "IBM Plex Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
::selection { color: #111; background: var(--signal); }
* { scrollbar-width: thin; scrollbar-color: var(--signal) #171b16; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #171b16; }
::-webkit-scrollbar-thumb { background: var(--signal); border: 2px solid #171b16; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: .035;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, #000 4px);
  mix-blend-mode: multiply;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 120px 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 2000; padding: 10px 16px; background: var(--signal); color: #fff; }
.skip-link:focus { top: 16px; }
.reading-progress { position: fixed; z-index: 1000; inset: 0 0 auto; height: 3px; pointer-events: none; }
.reading-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--signal-dark), var(--signal), #f3a36f); box-shadow: 0 0 12px rgba(230,103,54,.7); }
.mono, .kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.kicker { display: block; margin-bottom: 18px; color: var(--signal-dark); font-weight: 800; }

.topbar {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 0 40px;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(10,12,9,.94), rgba(10,12,9,.72));
  backdrop-filter: blur(12px);
  transition: height .25s, background .25s, box-shadow .25s;
}
.topbar.is-scrolled { height: 66px; background: rgba(9,12,9,.94); box-shadow: 0 12px 40px rgba(0,0,0,.24); }
.site-id { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.site-id__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #111;
  font: 900 21px/1 var(--display);
  background: var(--signal);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 72% 100%, 0 100%);
}
.site-id b { display: block; font: 900 17px/1 var(--display); letter-spacing: .12em; }
.site-id small { display: block; margin-top: 5px; color: #a8aa9f; font: 10px/1 var(--mono); letter-spacing: .1em; }
.primary-nav { display: flex; justify-content: center; gap: 28px; font-size: 13px; font-weight: 700; }
.primary-nav a { position: relative; padding: 28px 0 25px; color: #cacbc3; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 17px; height: 2px; background: var(--signal); transition: right .2s; }
.primary-nav a:hover { color: #fff; }
.primary-nav a:hover::after { right: 0; }
.primary-nav a:focus-visible, .qq-pill:focus-visible, .button:focus-visible, .source-row:focus-visible, .footer a:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.qq-pill { display: flex; align-items: center; gap: 12px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.22); font-size: 11px; }
.qq-pill span { color: #aaa; }
.qq-pill b { font: 700 13px/1 var(--mono); color: var(--signal); }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 4px; width: 46px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; }
.menu-toggle span { display: block; width: 17px; height: 1px; background: currentColor; transition: transform .25s, opacity .25s; }
.menu-toggle b { display: none; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.hero { position: relative; min-height: 910px; height: 100vh; color: var(--white); overflow: hidden; background: #0a0d09; }
.hero__photo { position: absolute; inset: 0; background: url("../images/keyart-steam-hero-capsule.png") 53% center / cover no-repeat; transform: scale(1.01); }
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,10,7,.96) 0%, rgba(8,10,7,.72) 31%, rgba(8,10,7,.14) 64%, rgba(8,10,7,.54) 100%),
    linear-gradient(0deg, #0b0e0a 0%, transparent 30%, rgba(0,0,0,.22) 100%);
}
.hero__scanlines { position: absolute; inset: 0; opacity: .12; background: repeating-linear-gradient(180deg, transparent 0 6px, rgba(255,255,255,.06) 7px); mix-blend-mode: overlay; }
.hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: 100%; padding-top: 90px; }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; color: #c8c4b5; font: 11px/1 var(--mono); letter-spacing: .15em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(230,103,54,.14), 0 0 18px rgba(230,103,54,.8); }
.hero__logo { width: min(610px, 58vw); margin: 0 0 -18px -26px; filter: drop-shadow(0 8px 30px rgba(0,0,0,.55)); }
.hero h1 { max-width: 820px; margin: 0; font: 900 clamp(48px, 6vw, 96px)/.94 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.hero h1 em { color: var(--signal); font-style: normal; }
.hero__lead { max-width: 670px; margin: 28px 0 32px; color: #c2c3b9; font-size: 16px; line-height: 1.85; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 0 22px; border: 1px solid currentColor; font-weight: 800; font-size: 13px; letter-spacing: .03em; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button--signal { border-color: var(--signal); background: var(--signal); color: #16130f; box-shadow: 0 10px 34px rgba(230,103,54,.22); }
.button--signal:hover { background: #f17746; }
.button--ghost { border-color: rgba(255,255,255,.34); color: #ece9df; background: rgba(10,12,9,.18); }
.hero__facts { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)); width: min(860px, 72vw); margin: 72px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.hero__facts div { position: relative; padding: 19px 22px 10px 0; border-right: 1px solid rgba(255,255,255,.18); }
.hero__facts div:not(:first-child) { padding-left: 22px; }
.hero__facts dt { color: #858a7f; font: 10px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.hero__facts dd { margin: 8px 0 0; color: #f0eee5; font-size: 13px; font-weight: 700; }
.hero__side-note { position: absolute; z-index: 2; right: 28px; top: 50%; writing-mode: vertical-rl; color: rgba(255,255,255,.42); font: 10px/1 var(--mono); letter-spacing: .2em; }
.hero-terminal {
  position: absolute;
  right: 0;
  bottom: 105px;
  width: 310px;
  padding: 18px;
  border: 1px solid rgba(219,216,204,.25);
  border-top: 3px solid var(--signal);
  background: linear-gradient(140deg, rgba(12,15,11,.84), rgba(18,22,17,.6));
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
}
.hero-terminal::before, .hero-terminal::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--signal); }
.hero-terminal::before { left: -1px; bottom: -1px; border-left: 1px solid; border-bottom: 1px solid; }
.hero-terminal::after { right: -1px; top: -3px; border-right: 1px solid; border-top: 1px solid; }
.hero-terminal__head { display: flex; justify-content: space-between; color: #9ba095; font: 10px/1 var(--mono); letter-spacing: .1em; }
.hero-terminal__head b { color: var(--field); font-weight: 800; }
.hero-terminal__signal { display: flex; align-items: flex-end; gap: 3px; height: 38px; margin: 18px 0; }
.hero-terminal__signal i { flex: 1; height: 20%; background: var(--signal); opacity: .75; }
.hero-terminal__signal i:nth-child(2), .hero-terminal__signal i:nth-child(11) { height: 44%; }
.hero-terminal__signal i:nth-child(3), .hero-terminal__signal i:nth-child(7) { height: 72%; }
.hero-terminal__signal i:nth-child(4), .hero-terminal__signal i:nth-child(9) { height: 34%; }
.hero-terminal__signal i:nth-child(5) { height: 90%; }
.hero-terminal__signal i:nth-child(6), .hero-terminal__signal i:nth-child(12) { height: 56%; }
.hero-terminal__signal i:nth-child(8) { height: 100%; }
.hero-terminal__signal i:nth-child(10) { height: 68%; }
.hero-terminal dl { margin: 0; border-top: 1px solid rgba(255,255,255,.15); }
.hero-terminal dl div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); font: 9px/1.2 var(--mono); }
.hero-terminal dt { color: #737a6f; }
.hero-terminal dd { margin: 0; color: #d6d8cf; }
.hero-terminal__code { display: block; margin-top: 14px; color: rgba(255,255,255,.3); font: 8px/1 var(--mono); letter-spacing: .1em; }
.hero__scroll { position: absolute; z-index: 3; left: 40px; bottom: 34px; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.54); font: 9px/1 var(--mono); letter-spacing: .15em; }
.hero__scroll i { position: relative; display: block; width: 70px; height: 1px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--signal); transform: translateX(-100%); animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { 55%, 100% { transform: translateX(100%); } }

.status-strip { color: #e3e0d4; background: var(--ink); border-top: 1px solid #242c22; border-bottom: 1px solid #242c22; }
.status-strip__inner { display: grid; grid-template-columns: 1.3fr .7fr .8fr .9fr; }
.status-strip span { padding: 16px 22px; border-right: 1px solid #30352e; font: 10px/1.4 var(--mono); color: #8e9489; }
.status-strip span:first-child { padding-left: 0; }
.status-strip b { color: var(--field); font-weight: 700; }
.intel-ticker { overflow: hidden; color: #151511; background: var(--signal); border-block: 1px solid #a93d19; }
.intel-ticker > div { display: flex; align-items: center; width: max-content; min-height: 44px; animation: ticker 28s linear infinite; }
.intel-ticker span { padding-inline: 30px; font: 900 12px/1 var(--display); letter-spacing: .15em; }
.intel-ticker i { color: rgba(20,18,14,.45); font-size: 8px; font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-heading { margin-bottom: 54px; }
.section-heading h2 { text-wrap: balance; }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 80px; align-items: end; }
.section-heading h2 { margin: 0; font: 900 clamp(42px, 5vw, 72px)/.98 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.section-heading p { max-width: 580px; margin: 0 0 4px; color: #5b5e55; font-size: 14px; }
.section-heading--light { color: var(--white); }
.section-heading--light p { color: #9ea397; }
.section-heading--light .kicker { color: var(--signal); }

.intel { background: var(--paper); }
.alert-file { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; margin-bottom: 48px; padding: 26px 28px; border: 1px solid #aca997; background: #cfccbe; box-shadow: 8px 8px 0 #b6b2a3; overflow: hidden; }
.alert-file::before { content: ""; position: absolute; inset: 0; opacity: .18; background: repeating-linear-gradient(135deg, transparent 0 11px, #7d796d 12px 13px); pointer-events: none; }
.alert-file__flag { position: relative; align-self: start; padding: 8px 10px; background: var(--blood); color: #fff; font: 800 11px/1 var(--mono); letter-spacing: .12em; }
.alert-file__body { position: relative; }
.alert-file__body .mono { color: #727065; }
.alert-file h3 { margin: 6px 0 5px; font: 900 28px/1.1 var(--display); text-transform: uppercase; }
.alert-file p { margin: 0; max-width: 980px; font-size: 14px; }
.alert-file__stamp { position: relative; display: grid; place-items: center; width: 82px; height: 82px; border: 3px double var(--blood); border-radius: 50%; color: var(--blood); font: 900 16px/1.15 var(--display); text-align: center; transform: rotate(-9deg); opacity: .8; }
.source-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 13px; font: 700 11px/1 var(--mono); }
.source-links a { color: var(--signal-dark); border-bottom: 1px solid; }
.dispatch-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 22px; }
.dispatch { display: flex; flex-direction: column; min-height: 100%; border-top: 4px solid var(--ink); background: #c8c4b6; }
.dispatch { position: relative; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.dispatch::after { content: ""; position: absolute; right: 0; top: 0; width: 18px; height: 18px; background: #a7a395; clip-path: polygon(0 0, 100% 100%, 0 100%); pointer-events: none; }
.dispatch--lead { grid-row: span 2; }
.dispatch--text { background: var(--ink-2); color: #eeeade; }
.dispatch__image { position: relative; overflow: hidden; aspect-ratio: 16/10; background: #252a23; }
.dispatch--lead .dispatch__image { aspect-ratio: auto; flex: 1; min-height: 480px; }
.dispatch__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s, filter .45s; }
.dispatch__image span { position: absolute; right: 12px; bottom: 12px; padding: 6px 9px; background: rgba(10,12,9,.84); color: white; font: 10px/1 var(--mono); opacity: 0; transform: translateY(5px); transition: .2s; }
.dispatch__image:hover img { transform: scale(1.035); filter: contrast(1.06); }
.dispatch__image:hover span { opacity: 1; transform: translateY(0); }
.dispatch__copy { padding: 24px; }
.dispatch--lead .dispatch__copy { padding: 28px 30px 32px; }
.dispatch__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; color: #6a6b63; font: 10px/1 var(--mono); text-transform: uppercase; }
.dispatch__meta b { padding: 5px 7px; background: var(--signal-dark); color: white; letter-spacing: .08em; }
.dispatch h3 { margin: 0 0 12px; font: 900 26px/1.06 var(--display); text-transform: uppercase; }
.dispatch--lead h3 { font-size: 38px; }
.dispatch p { margin: 0; font-size: 13px; color: #55584f; }
.dispatch--text p { color: #aeb2a8; }
.dispatch--text a { display: inline-block; margin-top: 22px; color: var(--signal); font: 700 11px/1 var(--mono); border-bottom: 1px solid; }

.world { position: relative; color: var(--white); background: #121712; overflow: hidden; }
.world::before { content: "MINNOWA"; position: absolute; right: -50px; top: 30px; color: rgba(255,255,255,.025); font: 900 20vw/.8 var(--display); letter-spacing: -.08em; }
.world-layout { position: relative; display: grid; grid-template-columns: 1.45fr .7fr; gap: 0; align-items: stretch; }
.world-photo { position: relative; min-height: 650px; overflow: hidden; }
.world-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(0,0,0,.35); pointer-events: none; }
.world-photo img { width: 100%; height: 100%; object-fit: cover; }
.world-photo__label, .world-photo__coord { position: absolute; z-index: 1; padding: 8px 11px; background: rgba(9,12,9,.82); font: 10px/1 var(--mono); letter-spacing: .08em; }
.world-photo__label { left: 18px; top: 18px; color: var(--signal); }
.world-photo__coord { right: 18px; bottom: 18px; color: #d5d3c8; }
.world-copy { display: flex; flex-direction: column; justify-content: center; padding: 55px; border: 1px solid #32382f; background: #181d17; }
.world-copy .mono { color: var(--signal); }
.world-copy h3 { margin: 14px 0 24px; font: 900 38px/1 var(--display); text-transform: uppercase; }
.world-copy > p { color: #a8ada2; font-size: 14px; }
.dossier-stats { margin: 34px 0; border-top: 1px solid #3b4038; }
.dossier-stats div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid #3b4038; }
.dossier-stats dt { color: var(--field); font: 900 21px/1 var(--display); text-transform: uppercase; }
.dossier-stats dd { margin: 0; color: #9ba093; font-size: 12px; }
.text-link { align-self: flex-start; color: var(--signal); font: 700 11px/1.4 var(--mono); border-bottom: 1px solid; }

.systems { background: var(--paper); }
.system-story { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.system-panel { position: relative; display: grid; min-height: 520px; overflow: hidden; color: var(--white); background: #121512; }
.system-panel { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.system-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,10,7,.96) 0%, rgba(8,10,7,.03) 68%); }
.system-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.system-panel:hover img { transform: scale(1.025); }
.system-panel > div { position: relative; z-index: 2; align-self: end; padding: 34px; }
.system-panel__no { position: absolute; z-index: 3; right: 16px; top: 12px; color: rgba(255,255,255,.58); font: 900 42px/1 var(--display); }
.system-panel .mono { color: var(--signal); }
.system-panel h3 { margin: 10px 0; font: 900 34px/1 var(--display); text-transform: uppercase; }
.system-panel p { max-width: 520px; margin: 0; color: #c3c4bb; font-size: 13px; }
.system-panel--power { grid-column: span 7; }
.system-panel--vehicle { grid-column: span 5; }
.system-panel--survival { grid-column: span 5; }
.system-panel--multiplayer { grid-column: span 7; }

.media { color: var(--white); background: #0d110d; }
.media-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: -18px 0 34px; }
.media-filter button { border: 1px solid #3a4037; background: transparent; color: #91978b; padding: 9px 13px; font: 700 11px/1 var(--mono); cursor: pointer; }
.media-filter button:hover, .media-filter button.is-active { border-color: var(--signal); background: var(--signal); color: #111; }
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 8px; }
.media-item { position: relative; min-height: 230px; padding: 0; border: 0; background: #191d18; color: #fff; overflow: hidden; cursor: zoom-in; }
.media-item--wide { grid-column: span 2; }
.media-item--tall { grid-row: span 2; }
.media-item img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.76) contrast(1.05); transition: transform .45s, filter .45s; }
.media-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.76), transparent 50%); }
.media-item > span { position: absolute; z-index: 2; left: 15px; right: 15px; bottom: 13px; display: flex; justify-content: space-between; font: 800 12px/1 var(--mono); text-align: left; }
.media-item small { color: var(--signal); }
.media-item:hover img { transform: scale(1.045); filter: saturate(1) contrast(1.04); }
.media-item[hidden] { display: none; }
.media-item:focus-visible { outline: 3px solid var(--signal); outline-offset: -3px; }

.sources { background: var(--paper); }
.source-board { border-top: 4px solid var(--ink); }
.source-row { display: grid; grid-template-columns: 60px 210px 1fr 130px 30px; align-items: center; gap: 20px; min-height: 78px; border-bottom: 1px solid #a5a294; transition: background .18s, padding .18s; }
.source-row:hover { padding-inline: 14px; background: #c7c3b5; }
.source-row__priority { color: var(--signal-dark); font: 900 15px/1 var(--mono); }
.source-row b { font: 900 20px/1 var(--display); text-transform: uppercase; }
.source-row > span:not(.source-row__priority) { color: #62645c; font-size: 13px; }
.source-row em { color: #666960; font: 10px/1 var(--mono); font-style: normal; text-transform: uppercase; }
.source-row i { color: var(--signal-dark); font-size: 20px; font-style: normal; }
.source-row--cn { border-left: 3px solid var(--signal); }
.source-row--cn .source-row__priority { color: var(--signal); }
.source-note { margin: 20px 0 0; color: #67695f; font-size: 12px; }

.specs { color: var(--white); background: #171b16; }
.specs__layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; align-items: center; }
.specs h2 { margin: 0 0 22px; font: 900 56px/1 var(--display); text-transform: uppercase; }
.specs p { max-width: 480px; color: #9ba094; font-size: 14px; }
.specs .button { margin-top: 18px; }
.spec-table { border-top: 2px solid var(--signal); }
.spec-table > div { display: grid; grid-template-columns: .65fr 1.4fr 1.4fr; gap: 22px; padding: 15px 18px; border-bottom: 1px solid #343b32; }
.spec-table__head { background: #232922; }
.spec-table span { color: #8f958a; font: 10px/1.4 var(--mono); text-transform: uppercase; }
.spec-table b { font-size: 12px; font-weight: 600; }

.community { position: relative; min-height: 650px; display: grid; place-items: center; color: #fff; overflow: hidden; background: #0b0e0b; }
.community__photo { position: absolute; inset: 0; background: url("../images/keyart-discord-invite-background.png") center/cover no-repeat; }
.community__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,7,.94), rgba(8,10,7,.62) 45%, rgba(8,10,7,.25)), linear-gradient(0deg, rgba(8,10,7,.75), transparent 55%); }
.community__content { position: relative; z-index: 1; }
.community h2 { max-width: 800px; margin: 0 0 22px; font: 900 clamp(50px, 6vw, 86px)/.94 var(--display); letter-spacing: -.04em; text-transform: uppercase; }
.community p { max-width: 640px; color: #bec2b8; }
.community-networks { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.community__code { display: inline-flex; align-items: center; gap: 18px; margin: 0; min-height: 68px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.18); border-left: 4px solid var(--signal); background: rgba(17,21,16,.82); backdrop-filter: blur(8px); }
.community__code span { color: #92978c; font: 10px/1 var(--mono); }
.community__code b { color: var(--signal); font: 900 28px/1 var(--mono); letter-spacing: .08em; }
.community__code button { border: 1px solid #596056; background: transparent; color: #e6e6dd; padding: 8px 10px; font: 700 10px/1 var(--mono); cursor: pointer; }
.community__code--channel b, .community__code--tieba b { color: #f0eee6; font: 900 17px/1.15 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.community__code--channel { border-left-color: #8f78de; }
.community__code--tieba { border-left-color: #4e80db; }
.community__code--tieba i { color: #9aaad0; font: 700 10px/1 var(--mono); font-style: normal; }
.community__content > small { display: block; color: #7f857b; font-size: 10px; }

.footer { color: #969b91; background: #090c09; border-top: 1px solid #252a23; }
.footer__inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 40px; font-size: 11px; }
.footer__inner > div:first-child b { display: block; color: var(--signal); font: 900 18px/1 var(--display); letter-spacing: .1em; }
.footer__inner > div:first-child span { display: block; margin-top: 7px; }
.footer__links { display: flex; gap: 24px; color: #c2c5bd; }
.mobile-dock { display: none; }

.reveal-ready { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-ready.is-visible { opacity: 1; transform: none; }

.lightbox { width: min(92vw, 1500px); max-width: none; padding: 0; border: 1px solid #4a5047; color: #fff; background: #0b0e0b; box-shadow: 0 30px 100px #000; }
.lightbox::backdrop { background: rgba(0,0,0,.9); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; background: #070907; }
.lightbox p { margin: 0; padding: 14px 18px; color: #bbbfb6; font: 11px/1.4 var(--mono); }
.lightbox__close { position: absolute; z-index: 2; right: 12px; top: 12px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: 0; background: rgba(0,0,0,.75); color: #fff; font-size: 25px; cursor: pointer; }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 44px, 960px); }
  .topbar { padding-inline: 22px; grid-template-columns: auto auto; justify-content: space-between; }
  .menu-toggle { display: flex; flex-direction: column; }
  .primary-nav { position: absolute; display: none; top: 77px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 22px 18px; background: #0d100d; border-bottom: 1px solid #333; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 13px 0; border-bottom: 1px solid #292d27; }
  .primary-nav a::after { display: none; }
  .qq-pill { display: none; }
  .hero { min-height: 800px; }
  .hero__content { padding-top: 100px; }
  .hero__facts { width: 100%; }
  .hero-terminal { display: none; }
  .status-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .section-heading--split { grid-template-columns: 1fr; gap: 25px; }
  .dispatch-grid { grid-template-columns: repeat(2, 1fr); }
  .dispatch--lead { grid-row: auto; grid-column: span 2; }
  .dispatch--lead .dispatch__image { min-height: 430px; }
  .world-layout { grid-template-columns: 1fr; }
  .world-photo { min-height: 520px; }
  .world-copy { padding: 40px; }
  .system-panel { grid-column: span 6; }
  .media-grid { grid-template-columns: repeat(3, 1fr); }
  .source-row { grid-template-columns: 50px 180px 1fr 80px 24px; }
  .specs__layout { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 680px); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .section { padding: clamp(70px, 18vw, 96px) 0; }
  .topbar { height: calc(64px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 14px 0; }
  .topbar.is-scrolled { height: calc(58px + env(safe-area-inset-top)); }
  .topbar.is-scrolled + main { --mobile-header-height: calc(58px + env(safe-area-inset-top)); }
  .primary-nav {
    top: calc(64px + env(safe-area-inset-top));
    height: calc(100dvh - 64px - env(safe-area-inset-top));
    padding: 24px 22px calc(110px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background:
      linear-gradient(160deg, rgba(230,103,54,.12), transparent 35%),
      #0c100c;
  }
  .primary-nav.is-open { display: grid; align-content: start; }
  .primary-nav a { display: flex; align-items: center; min-height: 64px; padding: 0; color: #e4e3db; font: 900 24px/1 var(--display); text-transform: uppercase; }
  .primary-nav a::before { content: "0" counter(nav); counter-increment: nav; width: 45px; color: var(--signal); font: 10px/1 var(--mono); }
  .primary-nav { counter-reset: nav; }
  .site-id small { display: none; }
  .hero { min-height: 820px; height: auto; }
  .hero__photo { background-position: 59% center; }
  .hero__photo::after { background: linear-gradient(90deg, rgba(8,10,7,.82), rgba(8,10,7,.28)), linear-gradient(0deg, #0b0e0a 2%, rgba(8,10,7,.84) 27%, transparent 66%); }
  .hero__scanlines { opacity: .07; }
  .hero__content { min-height: 820px; padding: 116px 0 38px; justify-content: flex-end; }
  .hero__eyebrow { margin-bottom: 12px; font-size: 9px; }
  .hero__logo { width: min(92vw, 540px); margin-left: -9px; margin-bottom: 2px; }
  .hero h1 { font-size: clamp(43px, 13.6vw, 66px); line-height: .91; letter-spacing: -.055em; }
  .hero__lead { margin-block: 18px 22px; font-size: 13px; line-height: 1.75; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .button { width: 100%; min-height: 54px; }
  .hero__facts { display: flex; width: calc(100vw - 14px); margin-top: 30px; margin-right: -14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hero__facts::-webkit-scrollbar { display: none; }
  .hero__facts div { flex: 0 0 46vw; min-width: 145px; padding: 16px 18px 13px 0; border-bottom: 0; scroll-snap-align: start; }
  .hero__facts div:not(:first-child) { padding-left: 18px; }
  .hero__side-note { display: none; }
  .hero__scroll { display: none; }
  .status-strip__inner { grid-template-columns: 1fr; }
  .status-strip span { display: none; padding: 14px 0; border-right: 0; border-bottom: 1px solid #30352e; }
  .status-strip span:first-child, .status-strip span:nth-child(3) { display: block; }
  .intel-ticker > div { min-height: 38px; }
  .intel-ticker span { padding-inline: 20px; font-size: 10px; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2 { font-size: clamp(38px, 12vw, 58px); }
  .section-heading p { font-size: 13px; }
  .kicker { margin-bottom: 12px; font-size: 10px; }
  .alert-file { grid-template-columns: 1fr; padding: 22px; }
  .alert-file__flag { justify-self: start; }
  .alert-file__stamp { position: absolute; right: 14px; top: 12px; width: 64px; height: 64px; font-size: 13px; }
  .dispatch-grid { grid-template-columns: 1fr; }
  .dispatch--lead { grid-column: auto; }
  .dispatch--lead .dispatch__image { min-height: 290px; }
  .dispatch__copy, .dispatch--lead .dispatch__copy { padding: 22px; }
  .dispatch--lead h3 { font-size: 31px; }
  .world-photo { min-height: 380px; }
  .world-copy { padding: 28px 23px; }
  .dossier-stats div { grid-template-columns: 95px 1fr; }
  .system-story { display: block; }
  .system-panel { min-height: 460px; margin-bottom: 12px; }
  .system-panel > div { padding: 24px; }
  .media-filter { flex-wrap: nowrap; margin-right: -14px; padding-right: 14px; overflow-x: auto; scrollbar-width: none; }
  .media-filter::-webkit-scrollbar { display: none; }
  .media-filter button { flex: 0 0 auto; min-height: 42px; }
  .media-grid { display: flex; gap: 10px; width: calc(100vw - 14px); margin-right: -14px; padding-right: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .media-grid::-webkit-scrollbar { display: none; }
  .media-item, .media-item--wide, .media-item--tall { flex: 0 0 min(82vw, 430px); min-height: 440px; grid-column: auto; grid-row: auto; scroll-snap-align: center; }
  .media-item[hidden] { display: none; }
  .source-board { display: grid; gap: 10px; border-top: 0; }
  .source-row { grid-template-columns: 42px 1fr 24px; gap: 10px; min-height: 126px; padding: 18px; border: 1px solid #aaa698; background: #cecabc; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
  .source-row > span:not(.source-row__priority), .source-row em { grid-column: 2 / 3; }
  .source-row i { grid-column: 3; grid-row: 1; }
  .specs h2 { font-size: 44px; }
  .spec-table { overflow-x: auto; }
  .spec-table > div { min-width: 660px; }
  .community { min-height: 590px; }
  .community__photo { background-position: 63% center; }
  .community h2 { font-size: clamp(45px, 13vw, 68px); }
  .community-networks { display: grid; grid-template-columns: 1fr; }
  .community__code { width: 100%; align-items: center; flex-wrap: wrap; }
  .community__code b { font-size: 24px; }
  .community__code--channel b, .community__code--tieba b { font-size: 17px; }
  .footer__inner { padding-block: 34px; flex-direction: column; align-items: flex-start; }
  .footer__links { flex-wrap: wrap; }
  .mobile-dock {
    position: fixed;
    z-index: 120;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    color: #c8cbc2;
    background: rgba(9,12,9,.96);
    border-top: 1px solid #3a4037;
    box-shadow: 0 -12px 40px rgba(0,0,0,.38);
    backdrop-filter: blur(16px);
  }
  .mobile-dock a, .mobile-dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; padding: 7px 2px; border: 0; border-right: 1px solid #272c25; color: inherit; background: transparent; font: 9px/1 var(--body); cursor: pointer; }
  .mobile-dock span { color: #7f857b; font: 8px/1 var(--mono); }
  .mobile-dock__primary { color: #15130f !important; background: var(--signal) !important; transform: translateY(-10px); min-height: 68px; box-shadow: 0 0 0 1px var(--signal), 0 8px 25px rgba(230,103,54,.24); }
  .mobile-dock__primary span { color: #55210e; font-weight: 900; }
  .mobile-dock a.is-current:not(.mobile-dock__primary) { color: #fff; background: #1d231c; box-shadow: inset 0 2px var(--signal); }
  .mobile-dock a.is-current span { color: var(--signal); }
  .lightbox { width: 100vw; border: 0; }
  .lightbox img { max-height: 78vh; }
  .lightbox__close { width: 46px; height: 46px; }
}

@media (max-width: 420px) {
  :root { --shell: calc(100% - 22px); }
  .hero { min-height: 790px; }
  .hero__content { min-height: 790px; }
  .hero h1 { font-size: clamp(39px, 13vw, 53px); }
  .hero__lead { font-size: 12px; }
  .hero__facts div { flex-basis: 52vw; }
  .alert-file__stamp { display: none; }
  .world-photo { min-height: 320px; }
  .world-copy h3 { font-size: 32px; }
  .dossier-stats div { grid-template-columns: 82px 1fr; gap: 14px; }
  .dossier-stats dt { font-size: 18px; }
  .system-panel { min-height: 410px; }
  .media-item, .media-item--wide, .media-item--tall { flex-basis: 86vw; min-height: 390px; }
  .specs h2 { font-size: 38px; }
  .community__code { gap: 10px 14px; }
}

@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-2px); }
  .source-row:hover { padding-inline: 14px; background: #c7c3b5; }
}

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