﻿:root {
  --black: #060705;
  --ink: #0b0d09;
  --panel: rgba(13, 15, 11, .86);
  --panel-solid: #10130d;
  --cream: #e4d7bd;
  --paper: #cbbf9f;
  --muted: #8f886f;
  --faint: rgba(228, 215, 189, .12);
  --line: rgba(228, 215, 189, .18);
  --orange: #f04a22;
  --orange-dark: #8f2414;
  --green: #95c46a;
  --blue: #316ea8;
  --red: #b63329;
  --header: 76px;
  --shadow: 0 34px 100px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 20% 0%, rgba(240, 74, 34, .14), transparent 31rem),
    radial-gradient(circle at 78% 18%, rgba(129, 111, 75, .12), transparent 30rem),
    linear-gradient(180deg, #080907 0%, #050604 100%);
  font-family: "Bahnschrift Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  overflow-x: hidden;
}

body::selection { color: #050604; background: var(--orange); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: .08;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,74,34,.12), transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(228,215,189,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228,215,189,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 80%);
}

.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 42%, rgba(240,74,34,.2), transparent 22rem),
    linear-gradient(180deg, #050604, #090a07 56%, #030403);
  transition: opacity .55s ease, visibility .55s ease;
}
.boot-screen.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-noise {
  position: absolute;
  inset: 0;
  opacity: .18;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, transparent, rgba(240,74,34,.08), transparent);
  animation: staticFlicker 1.1s steps(2) infinite;
}
.boot-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.38) contrast(1.18) saturate(.85);
  transform: scale(1.04);
}
.boot-card {
  position: relative;
  width: min(680px, 100%);
  padding: 34px;
  text-align: center;
  border: 1px solid rgba(228,215,189,.24);
  background:
    linear-gradient(180deg, rgba(8,10,7,.76), rgba(8,10,7,.5)),
    radial-gradient(circle at 50% 0, rgba(240,74,34,.18), transparent 55%);
  box-shadow: 0 38px 120px rgba(0,0,0,.65);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}
.boot-card img { width: 132px; height: 132px; object-fit: cover; border-radius: 50%; filter: drop-shadow(0 18px 40px #000); }
.boot-card .boot-logo-wide {
  width: min(470px, 92%);
  height: auto;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 20px 44px #000);
}
.boot-card p {
  margin: 18px 0 10px;
  color: var(--orange);
  font: 900 .65rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .26em;
}
.boot-card h2 { font-size: clamp(2rem, 8vw, 3.7rem); }
.boot-subtitle {
  display: block;
  margin-top: 6px;
  color: #d6c9a8;
  font: 900 .8rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.boot-progress { height: 3px; margin: 24px 0 20px; overflow: hidden; background: rgba(228,215,189,.16); }
.boot-progress i { display: block; width: 100%; height: 100%; background: var(--orange); box-shadow: 0 0 18px var(--orange); transform-origin: left; animation: bootLoad 2s ease both; }
.boot-card ul { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; color: #9f967b; font: 800 .62rem/1.4 "Trebuchet MS", Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.boot-card li::before { content: "[OK] "; color: var(--green); }
.boot-card button {
  margin-top: 24px;
  padding: 10px 14px;
  color: #c9bea0;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  cursor: pointer;
  font: 900 .56rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.boot-rings {
  position: absolute;
  inset: 19px;
  pointer-events: none;
  border: 1px solid rgba(240,74,34,.18);
}
.boot-rings i {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(228,215,189,.08);
  animation: bootPulse 1.8s ease-in-out infinite;
}
.boot-rings i:nth-child(2) { inset: 42px; animation-delay: .2s; }
.boot-rings i:nth-child(3) { inset: 68px; animation-delay: .4s; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header);
  padding: 0 clamp(18px, 4vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 15;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}

.site-header.scrolled {
  background: rgba(6,7,5,.88);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.brand span { display: flex; flex-direction: column; gap: 4px; text-transform: uppercase; }
.brand b { color: var(--orange); font-size: 1.03rem; letter-spacing: .08em; }
.brand small {
  color: #b6aa8b;
  font: 800 .45rem/1.25 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .26em;
  word-spacing: .44em;
  white-space: nowrap;
  opacity: .86;
}

nav { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 42px); }
nav a, .header-cta {
  text-transform: uppercase;
  font: 800 .68rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .16em;
}
nav a { position: relative; color: #a99f83; transition: color .2s; }
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 2px;
  background: var(--orange);
  transition: right .22s ease;
}
nav a:hover { color: #fff; }
nav a:hover::after { right: 0; }
.header-cta {
  padding: 13px 20px;
  color: #fff;
  border: 1px solid rgba(240,74,34,.55);
  background: linear-gradient(135deg, rgba(240,74,34,.16), rgba(240,74,34,.02));
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
}
.menu-toggle { display: none; background: none; border: 0; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header) + 44px) clamp(20px, 5vw, 86px) 86px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.78) contrast(1.15) brightness(.68);
  transform: scale(1.035);
  transition: transform .3s ease-out;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4,5,4,.97) 0%, rgba(4,5,4,.78) 45%, rgba(4,5,4,.28) 100%),
    linear-gradient(0deg, var(--black) 0%, transparent 34%, rgba(0,0,0,.25) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image:
    linear-gradient(rgba(240,74,34,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,74,34,.16) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 35% 45%, #000, transparent 72%);
}

.hero-layout {
  width: min(1280px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.mission-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16,19,13,.9), rgba(8,10,7,.74));
  box-shadow: var(--shadow);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}
.mission-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(228,215,189,.16);
  pointer-events: none;
}
.mission-card img { display: block; width: 100%; border-radius: 50%; filter: drop-shadow(0 18px 34px #000); }
.mission-card > div:not(.mission-status) { margin-top: 18px; display: flex; flex-direction: column; gap: 5px; }
.mission-card span, .hero-telemetry span, .coordinates span, .panel-topline span {
  color: var(--muted);
  font: 800 .56rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.mission-card b { color: #fff; font-size: 1.15rem; letter-spacing: .06em; }
.mission-status {
  margin-top: 26px;
  display: grid;
  gap: 1px;
  border: 1px solid var(--faint);
  background: rgba(0,0,0,.25);
}
.mission-status p {
  margin: 0;
  padding: 13px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255,255,255,.025);
}
.mission-status b { font: 800 .7rem/1 "Trebuchet MS", Arial, sans-serif; letter-spacing: .12em; }


.hero-content { position: relative; z-index: 2; }
.hero-smoke {
  position: absolute;
  inset: auto -10% 0 -10%;
  z-index: -1;
  height: 42%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(240,74,34,.18), transparent 42%),
    radial-gradient(ellipse at 74% 90%, rgba(228,215,189,.1), transparent 46%),
    linear-gradient(0deg, rgba(0,0,0,.72), transparent);
  filter: blur(10px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  color: var(--orange);
  font: 900 .66rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.eyebrow span { width: 32px; height: 2px; background: var(--orange); box-shadow: 0 0 14px rgba(240,74,34,.85); }

h1, h2, blockquote {
  margin: 0;
  text-transform: uppercase;
  font-family: "Impact", "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  font-weight: 900;
  letter-spacing: .012em;
  line-height: .86;
  text-wrap: balance;
}
.hero-command-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 9px 12px;
  color: #cbbf9f;
  border: 1px solid rgba(228,215,189,.16);
  background: rgba(0,0,0,.24);
  font: 900 .62rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-command-line i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.hero-title-card {
  position: relative;
  width: min(760px, 100%);
  padding: clamp(20px, 3vw, 32px);
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(228,215,189,.2);
  background:
    linear-gradient(90deg, rgba(240,74,34,.18), transparent 42%),
    linear-gradient(180deg, rgba(9,11,7,.82), rgba(9,11,7,.5));
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}
.hero-title-card > img {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 118px;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 16px 28px #000);
}
.hero-title-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(228,215,189,.12);
  pointer-events: none;
}
.hero-title-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 4px;
  height: calc(100% - 56px);
  background: var(--orange);
  box-shadow: 0 0 20px rgba(240,74,34,.65);
}
.hero-kicker, .hero-subline {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--muted);
  font: 900 .62rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}
h1 {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(3.5rem, 7.2vw, 8.2rem);
  line-height: .84;
  text-shadow: 0 6px 35px #000;
}
.hero-subline { color: var(--orange); }
h1 em, h2 em, blockquote em { color: var(--orange); font-style: normal; }

.hero-logo-lockup {
  position: relative;
  width: min(620px, 100%);
  padding: 18px 0 4px;
}
.hero-logo-lockup::before {
  content: "";
  position: absolute;
  left: 0;
  right: 18%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.hero-logo-lockup img {
  display: block;
  width: min(560px, 100%);
  max-height: 230px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 24px 50px #000);
}

.deployment-board {
  position: relative;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(228,215,189,.24);
  background:
    linear-gradient(180deg, rgba(18,20,14,.9), rgba(7,8,6,.74)),
    rgba(0,0,0,.25);
  box-shadow: var(--shadow);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}
.deployment-board::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(228,215,189,.14);
  pointer-events: none;
}
.deployment-photo {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(228,215,189,.16);
  background:
    radial-gradient(circle, rgba(240,74,34,.14), transparent 58%),
    linear-gradient(135deg, rgba(228,215,189,.08), transparent),
    #080907;
}
.deployment-photo img {
  width: min(310px, 92%);
  max-height: 190px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 25px 45px #000);
}
.deployment-photo span {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 8px 10px;
  color: var(--orange);
  border: 1px solid rgba(240,74,34,.45);
  background: rgba(0,0,0,.28);
  font: 900 .55rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .16em;
}
.deployment-intel {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(228,215,189,.14);
  background: rgba(0,0,0,.22);
}
.deployment-intel p {
  margin: 0 0 10px;
  color: var(--muted);
  font: 900 .56rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .2em;
}
.deployment-intel b { font: 900 .82rem/1 "Trebuchet MS", Arial, sans-serif; letter-spacing: .12em; }
.deployment-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 1px;
  border: 1px solid rgba(228,215,189,.14);
  background: rgba(228,215,189,.08);
}
.deployment-grid div {
  padding: 14px;
  background: rgba(0,0,0,.28);
}
.deployment-grid span {
  display: block;
  color: var(--muted);
  font: 900 .52rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .18em;
}
.deployment-grid b {
  display: block;
  margin-top: 8px;
  color: #fff;
  font: 900 .72rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .1em;
}
.deployment-stamp {
  position: absolute;
  right: 26px;
  bottom: 24px;
  color: rgba(240,74,34,.65);
  border: 3px solid rgba(240,74,34,.5);
  padding: 8px 12px;
  font: 900 .92rem/.95 Impact, sans-serif;
  letter-spacing: .08em;
  transform: rotate(-10deg);
  pointer-events: none;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: #c3b795;
  font: 500 clamp(1.02rem, 1.35vw, 1.25rem)/1.6 "Trebuchet MS", Arial, sans-serif;
}

.hero-actions, .enlist-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-width: 190px;
  min-height: 54px;
  padding: 0 18px 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.22);
  cursor: pointer;
  text-transform: uppercase;
  font: 900 .68rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .14em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-3px); border-color: rgba(240,74,34,.65); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); border-color: rgba(255,122,74,.7); box-shadow: 0 16px 44px rgba(240,74,34,.2); }
.button-ghost:hover { background: rgba(240,74,34,.08); }
.disabled-link { opacity: .72; cursor: not-allowed; }
.disabled-link:hover { transform: none; }

.status { color: var(--orange); }
.status.is-online { color: var(--green); }
.status.is-offline { color: #ef6a5d; }
.status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  animation: blink 1.4s infinite;
}

.hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 13px clamp(22px, 5vw, 86px);
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  color: #090a07;
  background: var(--orange);
  font: 1000 .77rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-strip i { width: 7px; height: 7px; border-radius: 50%; background: #090a07; opacity: .65; }

.reticle {
  position: absolute;
  right: 13%;
  top: 31%;
  width: 116px;
  height: 116px;
  opacity: .3;
}
.reticle::before, .reticle::after { content: ""; position: absolute; background: var(--orange); }
.reticle::before { left: 50%; top: -22px; width: 1px; height: calc(100% + 44px); }
.reticle::after { top: 50%; left: -22px; width: calc(100% + 44px); height: 1px; }
.reticle i { position: absolute; width: 22px; height: 22px; border-color: var(--orange); border-style: solid; }
.reticle i:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.reticle i:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.reticle i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.reticle i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }

.live-command {
  position: relative;
  padding: 118px clamp(20px, 6vw, 100px);
  overflow: hidden;
}
.live-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.42) saturate(.8) contrast(1.1);
}
.live-command::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,7,5,.96), rgba(6,7,5,.76) 46%, rgba(6,7,5,.42)),
    linear-gradient(180deg, #060705, transparent 28%, #060705 100%);
}

.panel-shell {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16,19,13,.92), rgba(7,9,6,.9));
  box-shadow: var(--shadow);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}
.panel-topline, .live-heading, .live-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
}
.live-chip {
  flex: 0 0 auto;
  padding: 11px 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(240,74,34,.45);
  color: var(--orange);
  background: rgba(240,74,34,.08);
  font: 900 .58rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.live-chip i, .live-footer i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.live-chip.is-online { color: var(--green); border-color: rgba(149,196,106,.42); background: rgba(149,196,106,.08); }
.live-chip.is-offline { color: #ef6a5d; }
.live-chip.is-loading i { animation: blink 1s infinite; }
.live-heading { margin-top: 44px; align-items: end; }
.live-heading span { color: var(--muted); font: 900 .58rem/1 "Trebuchet MS", Arial, sans-serif; letter-spacing: .2em; }
.live-heading h2 { margin-top: 12px; font-size: clamp(2.4rem, 5.3vw, 6.2rem); max-width: 760px; }
.live-heading p { max-width: 360px; margin: 0 0 8px; color: var(--muted); font: 500 .94rem/1.65 "Trebuchet MS", Arial, sans-serif; }

.frontline-board {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 12px;
  margin-top: 30px;
}
.frontline-board article {
  position: relative;
  min-height: 172px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(228,215,189,.16);
  background:
    linear-gradient(135deg, rgba(240,74,34,.12), transparent 42%),
    rgba(0,0,0,.24);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.frontline-board article::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 10%, rgba(228,215,189,.1), transparent 42%);
}
.frontline-board span {
  position: relative;
  z-index: 1;
  color: #7e775f;
  font: 900 .53rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.frontline-main strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  color: var(--orange);
  font: 900 clamp(1.9rem, 4vw, 3.9rem)/.85 Impact, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.frontline-main p, .frontline-snapshot p {
  position: relative;
  z-index: 1;
  margin: 13px 0 0;
  color: #a69c80;
  font: 800 .72rem/1.45 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.frontline-meter {
  position: relative;
  z-index: 1;
  height: 8px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(228,215,189,.16);
  background: rgba(228,215,189,.08);
}
.frontline-meter i {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(240,74,34,.8);
  transition: width .6s ease;
}
.frontline-snapshot b {
  position: relative;
  z-index: 1;
  display: block;
  color: #fff;
  font: 900 clamp(1.5rem, 3vw, 2.7rem)/.95 Impact, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 18px;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.55fr .72fr .72fr;
  margin-top: 32px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(228,215,189,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228,215,189,.035) 1px, transparent 1px),
    rgba(0,0,0,.23);
  background-size: 32px 32px;
}
.telemetry-grid article {
  min-width: 0;
  min-height: 138px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}
.telemetry-grid article:last-child { border-right: 0; }
.telemetry-grid article > span, .dossier-detail > span {
  color: #7e775f;
  font: 900 .53rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.telemetry-grid strong {
  overflow: hidden;
  color: #fff;
  font: 900 .76rem/1.35 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
}
.player-metric strong { color: var(--orange); font-size: 2.8rem; line-height: 1; }
.player-metric strong small { color: var(--muted); font-size: 1rem; }
.capacity-bar { height: 3px; overflow: hidden; background: rgba(228,215,189,.14); }
.capacity-bar i { display: block; width: 0; height: 100%; background: var(--orange); box-shadow: 0 0 12px var(--orange); transition: width .6s ease; }
.live-footer { margin-top: 24px; align-items: center; }
.live-footer p { display: flex; align-items: center; gap: 8px; margin: 0; color: #827b63; font: 900 .55rem/1.5 "Trebuchet MS", Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.live-footer p i { color: var(--green); }
.live-footer > div { display: flex; gap: 9px; }
.mini-action {
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: #c5ba9b;
  background: rgba(0,0,0,.18);
  cursor: pointer;
  font: 900 .54rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mini-action:hover { color: #fff; border-color: var(--orange); }

.section {
  position: relative;
  padding: 120px clamp(20px, 6vw, 100px);
}
.section-index {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: #716a55;
  font: 900 .58rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.intro-grid, .doctrine-layout, .factions-heading, .operations-top {
  width: min(1180px, 100%);
  margin: 62px auto 0;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(36px, 7vw, 118px);
}
.section-heading h2, .factions-heading h2, .operations-top h2, .enlist h2 {
  font-size: clamp(2.9rem, 6vw, 6.9rem);
}
.intro-copy .lead {
  margin: 0;
  color: #fff2d1;
  font: 800 clamp(1.24rem, 2vw, 1.8rem)/1.28 "Trebuchet MS", Arial, sans-serif;
}
.intro-copy > p:not(.lead), .operations-top > p, .enlist-content > p, .factions-heading > p {
  color: var(--muted);
  font: 500 .96rem/1.75 "Trebuchet MS", Arial, sans-serif;
}
.coordinates {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px 28px;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.2);
}
.coordinates b { color: #fff; font: 900 .74rem/1 "Trebuchet MS", Arial, sans-serif; letter-spacing: .14em; }

.factions, .operations { background: rgba(10,12,8,.64); }
.factions-heading { align-items: end; }
.factions-heading > p { margin: 0 0 8px; }
.faction-stage {
  position: relative;
  width: min(1180px, 100%);
  min-height: 680px;
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #050604;
  transition: grid-template-columns .45s cubic-bezier(.2,.8,.2,1);
  box-shadow: var(--shadow);
}
.faction-stage[data-active="nato"] { grid-template-columns: 1.34fr .66fr; }
.faction-stage[data-active="russia"] { grid-template-columns: .66fr 1.34fr; }
.faction-card {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #070807;
  cursor: pointer;
  text-align: left;
  isolation: isolate;
}
.faction-russia { border-left: 1px solid var(--line); }
.faction-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 17%;
  filter: saturate(.66) contrast(1.15) brightness(.75);
  transform: scale(1.03);
  transition: transform .6s ease, filter .45s ease;
}
.faction-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(4,5,4,.98) 0, rgba(4,5,4,.32) 52%, rgba(4,5,4,.08) 100%),
    linear-gradient(90deg, rgba(0,0,0,.5), transparent 55%);
}
.faction-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s;
}
.faction-nato::after { background: linear-gradient(0deg, rgba(49,110,168,.38), transparent 56%); box-shadow: inset 0 -5px var(--blue); }
.faction-russia::after { background: linear-gradient(0deg, rgba(182,51,41,.34), transparent 56%); box-shadow: inset 0 -5px var(--red); }
.faction-card:hover > img, .faction-card[aria-pressed="true"] > img { transform: scale(1.075); filter: saturate(1) contrast(1.12) brightness(.95); }
.faction-card:hover::after, .faction-card[aria-pressed="true"]::after { opacity: 1; }
.faction-code {
  position: absolute;
  top: 24px;
  left: 26px;
  color: rgba(255,255,255,.72);
  font: 900 .56rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .2em;
}
.faction-name {
  position: absolute;
  left: 32px;
  bottom: 42px;
  display: flex;
  flex-direction: column;
  color: #fff;
  font: 900 clamp(3.4rem, 6vw, 6.9rem)/.86 Impact, sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-shadow: 0 8px 30px #000;
}
.faction-name small {
  margin-bottom: 13px;
  color: rgba(255,255,255,.68);
  font: 900 .58rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .2em;
}
.faction-open {
  position: absolute;
  right: 25px;
  bottom: 26px;
  color: rgba(255,255,255,.67);
  font: 900 .56rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.versus-mark {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: #090a07;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 14px 40px rgba(0,0,0,.7);
}
.versus-mark span { color: #fff; font: 900 1.15rem/1 Impact, sans-serif; font-style: italic; letter-spacing: .04em; }
.versus-mark i { position: absolute; width: 120px; height: 2px; z-index: -1; background: linear-gradient(90deg, var(--blue) 0 50%, var(--red) 50%); transform: rotate(-45deg); }

.faction-dossier {
  position: relative;
  width: min(1180px, 100%);
  min-height: 178px;
  margin: 0 auto;
  padding: 32px 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  background: linear-gradient(180deg, rgba(13,15,11,.95), rgba(7,8,6,.96));
}
.dossier-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.05) 3px 4px);
}
.dossier-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -25%;
  height: 80px;
  background: linear-gradient(transparent, rgba(240,74,34,.16), transparent);
  animation: scan 3.8s linear infinite;
}
.dossier-empty { position: relative; z-index: 1; text-align: center; padding-top: 18px; }
.dossier-empty span { color: var(--orange); font: 900 .95rem/1 "Trebuchet MS", Arial, sans-serif; letter-spacing: .2em; }
.dossier-empty p { color: #847d66; font: 600 .82rem/1.5 "Trebuchet MS", Arial, sans-serif; }
.dossier-content { position: relative; z-index: 1; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; align-items: center; }
.dossier-content:not([hidden]) { display: grid; }
.dossier-title span { color: var(--orange); font: 900 .54rem/1 "Trebuchet MS", Arial, sans-serif; letter-spacing: .18em; }
.dossier-title h3 { margin: 8px 0 2px; font: 900 2.3rem/1 Impact, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.dossier-title p { margin: 0; color: #837b64; font: 900 .58rem/1 "Trebuchet MS", Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.dossier-detail { min-height: 84px; padding-left: 24px; border-left: 1px solid var(--line); }
.dossier-detail p { margin: 12px 0 0; color: #c8bd9f; font: 800 .76rem/1.55 "Trebuchet MS", Arial, sans-serif; text-transform: uppercase; }

.operation-console {
  width: min(1180px, 100%);
  min-height: 500px;
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: 330px 1fr;
  border: 1px solid var(--line);
  background: #090b07;
  box-shadow: var(--shadow);
}
.operation-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.operation-tabs button {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 25px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-transform: uppercase;
  font: 900 .84rem/1.35 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .08em;
  transition: background .2s, color .2s;
}
.operation-tabs button:last-child { border-bottom: 0; }
.operation-tabs button span { color: #766f58; font-size: .62rem; }
.operation-tabs button.active { color: var(--orange); background: linear-gradient(90deg, rgba(240,74,34,.13), transparent); box-shadow: inset 4px 0 var(--orange); }
.operation-display { position: relative; min-height: 500px; overflow: hidden; }
.operation-display::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 58% 45%, transparent 0, rgba(9,11,7,.28) 42%, rgba(9,11,7,.9) 100%); pointer-events: none; }
.map-grid {
  position: absolute;
  inset: 0;
  opacity: .52;
  background-image: linear-gradient(rgba(228,215,189,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(228,215,189,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000, transparent 78%);
}
.map-grid svg { position: absolute; width: 100%; height: 100%; overflow: visible; }
.map-grid path { fill: none; stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 8 9; filter: drop-shadow(0 0 7px var(--orange)); animation: dash 25s linear infinite; }
.map-point { position: absolute; z-index: 2; width: 14px; height: 14px; border: 1px solid var(--orange); border-radius: 50%; }
.map-point::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.point-a { left: 15%; top: 68%; }.point-b { left: 50%; top: 44%; }.point-c { right: 13%; top: 24%; }
.operation-copy { position: relative; z-index: 2; width: min(460px, 74%); margin: 105px 0 0 10%; transition: opacity .18s, transform .18s; }
.operation-copy.switching { opacity: 0; transform: translateY(8px); }
.classification { color: var(--orange); font: 900 .58rem/1 "Trebuchet MS", Arial, sans-serif; letter-spacing: .2em; }
.operation-copy h3 { margin: 17px 0; text-transform: uppercase; font: 900 clamp(2rem, 4vw, 4.4rem)/.92 Impact, sans-serif; letter-spacing: .03em; }
.operation-copy > p:not(.classification) { color: #aaa181; font: 500 .94rem/1.7 "Trebuchet MS", Arial, sans-serif; }
.operation-copy ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 28px 0 0; list-style: none; }
.operation-copy li { padding: 9px 12px; border: 1px solid var(--line); font: 900 .58rem/1 "Trebuchet MS", Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.map-label { position: absolute; z-index: 2; right: 20px; bottom: 18px; color: #746d56; font: 900 .5rem/1 "Trebuchet MS", Arial, sans-serif; letter-spacing: .15em; }

.manifesto {
  padding: 110px 20px;
  background:
    linear-gradient(90deg, rgba(240,74,34,.15), transparent 32%, transparent 68%, rgba(240,74,34,.08)),
    #cfc19d;
  color: #090a07;
}
.manifesto-card {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 2px solid rgba(9,10,7,.28);
  background: rgba(255,255,255,.16);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}
.manifesto-card > span { color: var(--orange-dark); font: 900 .66rem/1 "Trebuchet MS", Arial, sans-serif; letter-spacing: .24em; }
.manifesto blockquote { margin: 20px 0 0; font-size: clamp(2.2rem, 5.2vw, 5.5rem); }

.draft-note { max-width: 360px; color: #807860; font: 500 .82rem/1.6 "Trebuchet MS", Arial, sans-serif; }
.doctrine-list article {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 20px;
  padding: 27px 8px;
  border-bottom: 1px solid var(--line);
  outline: 0;
  overflow: hidden;
  transition: padding .2s, background .2s;
}
.doctrine-list article::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(228,215,189,.055);
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.doctrine-list article::after {
  content: attr(data-stamp);
  position: absolute;
  right: 34px;
  top: 50%;
  padding: 8px 13px;
  color: rgba(240,74,34,.72);
  border: 3px solid rgba(240,74,34,.62);
  border-radius: 4px;
  font: 900 .8rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: translateY(-50%) rotate(-9deg) scale(.78);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity .18s, transform .22s;
  pointer-events: none;
}
.doctrine-list article:hover,
.doctrine-list article:focus,
.doctrine-list article.stamped { padding-inline: 18px; background: rgba(255,255,255,.025); }
.doctrine-list article:hover::before,
.doctrine-list article:focus::before,
.doctrine-list article.stamped::before { opacity: 1; }
.doctrine-list article:hover::after,
.doctrine-list article:focus::after,
.doctrine-list article.stamped::after { opacity: 1; transform: translateY(-50%) rotate(-9deg) scale(1); }
.doctrine-list article > span { color: var(--orange); font: 900 .64rem/1.5 "Trebuchet MS", Arial, sans-serif; }
.doctrine-list h3 { margin: 0 0 8px; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; }
.doctrine-list p { margin: 0; color: var(--muted); font: 500 .86rem/1.65 "Trebuchet MS", Arial, sans-serif; }
.doctrine-list b { color: #6f6853; }

.enlist { padding-top: 42px; }
.enlist-panel {
  position: relative;
  width: min(1180px, 100%);
  min-height: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: clamp(32px, 6vw, 86px);
  overflow: hidden;
  border: 1px solid rgba(240,74,34,.28);
  background: #0d0e0a;
  box-shadow: var(--shadow);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}
.enlist-panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #080907 0, rgba(8,9,7,.95) 43%, rgba(8,9,7,.3) 78%, #080907 100%); }
.enlist-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 24%; opacity: .64; filter: contrast(1.16) saturate(.78); }
.enlist-content { position: relative; z-index: 2; max-width: 780px; }
.enlist-content > p { max-width: 560px; }

footer { padding: 48px clamp(20px, 6vw, 100px); border-top: 1px solid var(--line); }
.footer-brand, .footer-links { width: min(1180px, 100%); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { justify-content: flex-start; gap: 16px; }
.footer-brand img { width: 58px; height: 58px; border-radius: 50%; }
.footer-brand div { display: flex; flex-direction: column; gap: 5px; }
.footer-brand b { font-size: .86rem; letter-spacing: .08em; }
.footer-brand span, .footer-links, footer > p { color: #756e58; font: 900 .54rem/1.5 "Trebuchet MS", Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-links a { color: #c5ba9b; }
footer > p { width: min(1180px, 100%); max-width: 760px; margin: 28px auto 0; }

.toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 28px;
  padding: 13px 18px;
  color: #080907;
  background: var(--cream);
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  font: 900 .65rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes blink { 50% { opacity: .25; } }
@keyframes dash { to { stroke-dashoffset: -300; } }
@keyframes scan { to { transform: translateY(320px); } }
@keyframes bootLoad { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bootPulse { 50% { opacity: .35; transform: scale(.97); } }
@keyframes staticFlicker { 50% { opacity: .08; transform: translateY(1px); } }

@media (max-width: 980px) {
  :root { --header: 66px; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; flex-direction: column; gap: 6px; padding: 10px; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 25px; height: 2px; background: var(--cream); transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  nav { position: absolute; top: var(--header); left: 0; right: 0; padding: 30px; display: none; flex-direction: column; align-items: flex-start; background: rgba(6,7,5,.97); border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  nav a { font-size: .82rem; }
  .hero { min-height: 930px; align-items: flex-start; padding-top: 98px; }
  .hero-layout { grid-template-columns: 1fr; }
  .deployment-board { width: min(390px, 86vw); justify-self: center; }
  .hero-logo-lockup { margin-inline: auto; }
  .hero-logo-lockup::before { left: 12%; right: 12%; }
  .hero-logo-lockup img { margin-inline: auto; object-position: center; }
  .mission-card { width: min(260px, 74vw); justify-self: center; order: 2; }

  .hero-content { text-align: center; }
  .hero-content .eyebrow { justify-content: center; }
  .hero-command-line { justify-content: center; flex-wrap: wrap; }
  .hero-title-card { margin-inline: auto; }
  .hero-title-card { grid-template-columns: 96px minmax(0, 1fr); text-align: left; }
  .hero-title-card > img { width: 96px; height: 96px; }
  .hero-title-card::after { left: 50%; top: 0; width: min(180px, 45%); height: 4px; transform: translateX(-50%); }
  .hero-copy { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .reticle { display: none; }
  .intro-grid, .doctrine-layout, .factions-heading, .operations-top { grid-template-columns: 1fr; gap: 38px; margin-top: 50px; }
  .panel-topline, .live-heading { flex-direction: column; align-items: flex-start; }
  .live-heading { margin-top: 32px; }
  .telemetry-grid { grid-template-columns: 1fr 1fr; }
  .frontline-board { grid-template-columns: 1fr; }
  .telemetry-grid article:nth-child(2) { border-right: 0; }
  .telemetry-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .dossier-content { grid-template-columns: 1fr 1fr; }
  .dossier-title { grid-column: 1 / -1; }
  .operation-console { grid-template-columns: 1fr; }
  .operation-tabs { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); }
  .operation-tabs button { min-height: 92px; padding: 18px; border-bottom: 0; border-right: 1px solid var(--line); font-size: .68rem; }
  .operation-tabs button.active { box-shadow: inset 0 4px var(--orange); }
}

@media (max-width: 620px) {
  .brand small { display: none; }
  .hero { min-height: 890px; padding-inline: 18px; }
  h1 { font-size: clamp(3.25rem, 14vw, 5.2rem); }
  .boot-card { padding: 28px 18px; }
  .boot-card .boot-logo-wide { width: min(360px, 96%); }
  .boot-card h2 { font-size: 2.35rem; }
  .boot-subtitle { font-size: .62rem; letter-spacing: .18em; }
  .hero-logo-lockup img { max-height: 170px; }
  .deployment-photo { min-height: 220px; }
  .deployment-photo img { width: min(190px, 76%); }
  .deployment-stamp { right: 18px; bottom: 18px; font-size: .9rem; }
  .hero-title-card { grid-template-columns: 1fr; justify-items: center; padding: 22px 18px; text-align: center; }
  .hero-title-card > img { width: 112px; height: 112px; }
  .hero-command-line { width: 100%; font-size: .52rem; letter-spacing: .12em; }
  .hero-kicker, .hero-subline { font-size: .54rem; letter-spacing: .16em; }
  .hero-copy { font-size: 1rem; }
  .mission-card { width: min(230px, 76vw); padding: 18px; }

  .mission-status p { padding: 11px 10px; }
  .hero-strip { gap: 14px; font-size: .66rem; }
  .section, .live-command { padding: 86px 18px; }
  .panel-shell, .faction-dossier { padding: 24px 18px; }
  .section-heading h2, .factions-heading h2, .operations-top h2, .enlist h2 { font-size: 3.25rem; }
  .live-heading h2 { font-size: 2.45rem; line-height: .95; }
  .telemetry-grid { grid-template-columns: 1fr; }
  .telemetry-grid article { min-height: 108px; border-right: 0; border-bottom: 1px solid var(--line); }
  .frontline-board article { min-height: 130px; }
  .telemetry-grid article:last-child { border-bottom: 0; }
  .live-footer { align-items: stretch; flex-direction: column; }
  .live-footer > div { display: grid; grid-template-columns: 1fr 1fr; }
  .mini-action { text-align: center; }
  .coordinates { padding: 18px; }
  .faction-stage, .faction-stage[data-active="nato"], .faction-stage[data-active="russia"] { grid-template-columns: 1fr; min-height: 900px; }
  .faction-russia { border-top: 1px solid var(--line); border-left: 0; }
  .faction-name { left: 22px; bottom: 34px; font-size: 3.8rem; }
  .faction-code { left: 20px; top: 21px; }
  .faction-open { right: 20px; bottom: 18px; }
  .versus-mark { width: 62px; height: 62px; }
  .versus-mark i { width: 86px; }
  .dossier-content { grid-template-columns: 1fr; gap: 20px; }
  .dossier-title { grid-column: auto; }
  .dossier-detail { min-height: 0; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .operation-tabs { overflow-x: auto; }
  .operation-tabs button { min-width: 160px; }
  .operation-copy { width: 84%; margin: 78px 0 0 8%; }
  .operation-display, .operation-console { min-height: 490px; }
  .manifesto { padding-block: 80px; }
  .manifesto blockquote { font-size: 2.45rem; }
  .enlist { padding-inline: 0; }
  .enlist-panel { min-height: 620px; padding: 30px 20px; clip-path: none; border-inline: 0; }
  .enlist-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .doctrine-list article { grid-template-columns: 34px 1fr; padding-right: 6px; }
  .doctrine-list article > b { display: none; }
  .doctrine-list article::after { right: 15px; top: 18px; transform: rotate(-7deg) scale(.72); transform-origin: right top; font-size: .62rem; }
  .doctrine-list article:hover::after,
  .doctrine-list article:focus::after,
  .doctrine-list article.stamped::after { transform: rotate(-7deg) scale(.9); }
  .footer-brand, .footer-links { align-items: flex-start; gap: 24px; }
  .footer-links { flex-direction: column; }
  .cursor-glow { display: none; }
}

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

/* V4 cinematic rebuild */
body {
  background:
    linear-gradient(180deg, rgba(5,6,4,.72), #050604 38%),
    url("assets/gtt-frontline-warzone.png") center top / cover fixed,
    #050604;
}

.boot-card {
  width: min(820px, 100%);
  border-color: rgba(240,74,34,.35);
  background:
    linear-gradient(90deg, rgba(5,6,4,.72), rgba(5,6,4,.38)),
    rgba(0,0,0,.18);
  box-shadow: 0 40px 140px rgba(0,0,0,.78), inset 0 0 0 1px rgba(228,215,189,.08);
}

.boot-card .boot-logo-wide {
  width: min(560px, 95%);
}

.boot-card h2 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.hero-v4 {
  min-height: 100svh;
  align-items: center;
  padding-top: calc(var(--header) + 34px);
}

.hero-v4 .hero-scene {
  object-position: center center;
  filter: brightness(.78) saturate(.9) contrast(1.16);
}

.hero-v4::before {
  background:
    linear-gradient(90deg, rgba(3,4,3,.98) 0%, rgba(3,4,3,.86) 32%, rgba(3,4,3,.46) 62%, rgba(3,4,3,.18) 100%),
    linear-gradient(0deg, #050604 0%, transparent 34%, rgba(0,0,0,.2) 100%);
}

.hero-v4 .hero-grid {
  opacity: .12;
  background-size: 120px 120px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero-v4 .hero-layout {
  width: min(1160px, 100%);
  grid-template-columns: minmax(0, 770px);
  align-items: center;
}

.hero-v4 .hero-content {
  max-width: 820px;
}

.brand-composite {
  position: relative;
  width: min(650px, 100%);
  min-height: 230px;
  display: flex;
  align-items: center;
  padding-left: 0;
}

.brand-wings {
  width: min(620px, 100%);
  max-height: 250px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 28px 55px #000);
}

.hero-v4 h1 {
  max-width: 770px;
  margin-top: 34px;
  font-size: clamp(3.5rem, 6.6vw, 7.6rem);
  line-height: .86;
}

.hero-v4 .hero-copy {
  max-width: 650px;
  color: #d6c9a8;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
}

.hero-status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(690px, 100%);
  margin-top: 34px;
  border: 1px solid rgba(228,215,189,.18);
  background: rgba(228,215,189,.12);
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
}

.hero-status-row p {
  margin: 0;
  padding: 16px 18px;
  background: rgba(5,6,4,.62);
}

.hero-status-row span {
  display: block;
  margin-bottom: 8px;
  color: #91876d;
  font: 900 .56rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-status-row b {
  color: #fff;
  font: 900 .78rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .12em;
}

.frontline-status {
  padding-block: 150px;
}

.frontline-status .panel-shell {
  margin-left: 0;
  width: min(1040px, 100%);
  border-color: rgba(240,74,34,.24);
  background:
    linear-gradient(90deg, rgba(7,8,6,.92), rgba(7,8,6,.68)),
    rgba(0,0,0,.24);
  clip-path: none;
  box-shadow: 0 40px 120px rgba(0,0,0,.56);
}

.frontline-status .live-heading h2 {
  max-width: 690px;
  font-size: clamp(2.7rem, 4.8vw, 5.4rem);
}

.frontline-board {
  grid-template-columns: 1fr 1fr;
}

.frontline-board article {
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(240,74,34,.16), transparent 50%),
    rgba(4,5,4,.58);
}

.frontline-main strong {
  font-size: clamp(2.4rem, 4.5vw, 4.7rem);
}

.frontline-snapshot b {
  color: var(--orange);
}

.telemetry-grid {
  background: rgba(0,0,0,.28);
}

.section {
  background: rgba(5,6,4,.78);
  backdrop-filter: blur(1px);
}

.factions,
.operations {
  background:
    linear-gradient(180deg, rgba(5,6,4,.88), rgba(12,14,10,.9)),
    url("assets/gtt-frontline-warzone.png") center / cover fixed;
}

@media (max-width: 980px) {
  .hero-v4 .hero-layout { grid-template-columns: 1fr; }
  .brand-composite { margin-inline: auto; justify-content: center; min-height: 220px; padding-left: 0; padding-top: 0; }
  .brand-wings { object-position: center; }
  .hero-status-row { margin-inline: auto; }
  .frontline-board { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero-v4 { min-height: 940px; }
  .brand-composite { min-height: 170px; padding-top: 0; }
  .hero-v4 h1 { font-size: clamp(3rem, 14vw, 4.9rem); }
  .hero-status-row { grid-template-columns: 1fr; }
  .hero-status-row p { padding: 14px 16px; }
}

/* GTT Intel Board / future Discord forum mockup */
.intel-board {
  background:
    linear-gradient(180deg, rgba(5,6,4,.92), rgba(10,12,8,.94)),
    url("assets/gtt-frontline-warzone.png") center / cover fixed;
}

.intel-board-shell {
  width: min(1180px, 100%);
  margin: 58px auto 0;
}

.intel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 340px;
  gap: 22px;
  align-items: stretch;
}

.intel-hero h2 {
  max-width: 850px;
  font-size: clamp(3rem, 6vw, 6.6rem);
}

.intel-hero > div,
.auth-card,
.featured-clip,
.intel-stats article,
.intel-post,
.transmit-card,
.moderation-card {
  border: 1px solid rgba(228,215,189,.16);
  background:
    linear-gradient(135deg, rgba(240,74,34,.09), transparent 45%),
    rgba(5,6,4,.7);
  box-shadow: 0 28px 90px rgba(0,0,0,.35);
}

.intel-hero > div {
  padding: clamp(28px, 5vw, 54px);
}

.intel-hero > div > p:not(.eyebrow),
.auth-card p,
.featured-clip p,
.frontline-snapshot p {
  color: #a99f83;
  font: 600 .96rem/1.7 "Trebuchet MS", Arial, sans-serif;
}

.auth-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.auth-card > span,
.transmit-card > span,
.moderation-card > span,
.intel-stats span,
.post-topline,
.post-meta {
  color: #8f866c;
  font: 900 .56rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.auth-card strong {
  color: var(--orange);
  font: 900 2.2rem/.9 Impact, sans-serif;
  text-transform: uppercase;
}

.clip-wall {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) .55fr;
  gap: 16px;
  margin-top: 18px;
}

.featured-clip {
  padding: 18px;
}

.clip-frame {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(228,215,189,.14);
}

.clip-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.64) contrast(1.1);
  transition: transform .35s ease;
}

.clip-frame:hover img {
  transform: scale(1.04);
}

.clip-frame button {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 12px 14px;
  color: #fff;
  border: 1px solid rgba(240,74,34,.65);
  background: rgba(240,74,34,.72);
  cursor: pointer;
  font: 900 .62rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.featured-clip h3,
.intel-post h3 {
  margin: 16px 0 8px;
  color: #fff3d1;
  font: 900 clamp(1.55rem, 2.4vw, 2.65rem)/.95 Impact, sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.intel-stats {
  display: grid;
  gap: 16px;
}

.intel-stats article {
  padding: 22px;
  display: grid;
  align-content: center;
}

.intel-stats b {
  margin-top: 12px;
  color: var(--orange);
  font: 900 3rem/.9 Impact, sans-serif;
}

.intel-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.intel-filter {
  padding: 10px 13px;
  color: #c8bd9f;
  border: 1px solid rgba(228,215,189,.18);
  background: rgba(0,0,0,.22);
  cursor: pointer;
  font: 900 .58rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.intel-filter.active,
.intel-filter:hover {
  color: #fff;
  border-color: rgba(240,74,34,.65);
  background: rgba(240,74,34,.16);
}

.intel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.post-feed {
  display: grid;
  gap: 14px;
}

.intel-post {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.intel-post.is-hidden {
  display: none;
}

.intel-post.pinned {
  border-color: rgba(240,74,34,.42);
}

.post-topline,
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.post-tag {
  display: inline-flex;
  width: max-content;
  padding: 7px 9px;
  color: #070806;
  background: var(--orange);
  font: 900 .52rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.post-tag.command {
  color: #071006;
  background: var(--green);
}

.intel-post p {
  color: #c8bd9f;
  font: 600 .95rem/1.65 "Trebuchet MS", Arial, sans-serif;
}

.post-embed {
  margin: 16px 0;
  padding: 28px;
  display: grid;
  place-items: center;
  color: #8f866c;
  border: 1px dashed rgba(228,215,189,.2);
  background: rgba(0,0,0,.24);
  font: 900 .64rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.mod-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(228,215,189,.1);
}

.mod-strip button {
  padding: 8px 10px;
  color: #c8bd9f;
  border: 1px solid rgba(228,215,189,.16);
  background: rgba(0,0,0,.18);
  cursor: pointer;
  font: 900 .52rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mod-strip button:hover {
  color: #fff;
  border-color: var(--orange);
}

.intel-sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
}

.transmit-card,
.moderation-card {
  padding: 22px;
}

.transmit-card {
  display: grid;
  gap: 13px;
}

.transmit-card label {
  display: grid;
  gap: 7px;
  color: #8f866c;
  font: 900 .55rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.transmit-card input,
.transmit-card select,
.transmit-card textarea {
  width: 100%;
  min-height: 42px;
  color: #fff;
  border: 1px solid rgba(228,215,189,.15);
  background: rgba(0,0,0,.28);
  padding: 11px 12px;
  font: 700 .85rem/1.3 "Trebuchet MS", Arial, sans-serif;
}

.transmit-card textarea {
  min-height: 110px;
  resize: vertical;
}

.moderation-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
  color: #c8bd9f;
  font: 700 .84rem/1.45 "Trebuchet MS", Arial, sans-serif;
}

.moderation-card li::before {
  content: "CLEARED // ";
  color: var(--orange);
  font-weight: 900;
}

@media (max-width: 980px) {
  .intel-hero,
  .clip-wall,
  .intel-layout {
    grid-template-columns: 1fr;
  }

  .intel-sidebar {
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .intel-hero h2 {
    font-size: 3rem;
  }

  .clip-frame {
    min-height: 220px;
  }

  .intel-post,
  .transmit-card,
  .moderation-card {
    padding: 18px;
  }
}

.home-page .intel-board {
  display: none;
}

.comms-page {
  min-height: 100vh;
}

.comms-page .intel-board {
  padding-top: calc(var(--header) + 86px);
  min-height: 100vh;
}

.comms-page .site-header {
  background: rgba(6,7,5,.9);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.comms-page nav a[aria-current="page"] {
  color: #fff;
}

.comms-page nav a[aria-current="page"]::after {
  right: 0;
}

/* Traditional Comms forum layout */
.forum-shell {
  width: min(1240px, 100%);
  margin: 58px auto 0;
}

.forum-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: stretch;
}

.forum-hero > div,
.forum-login-card,
.forum-category,
.forum-stats-bar article,
.forum-side-card,
.forum-compose {
  border: 1px solid rgba(228,215,189,.16);
  background:
    linear-gradient(135deg, rgba(240,74,34,.07), transparent 42%),
    rgba(7,8,6,.82);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

.forum-hero > div {
  padding: clamp(28px, 4vw, 48px);
}

.forum-hero h1 {
  max-width: none;
  margin-top: 16px;
  font-size: clamp(3.4rem, 7vw, 7.8rem);
}

.forum-hero > div > p:not(.eyebrow),
.forum-login-card p {
  max-width: 780px;
  color: #b6aa8d;
  font: 600 1rem/1.7 "Trebuchet MS", Arial, sans-serif;
}

.forum-login-card {
  padding: 24px;
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.forum-login-card span,
.forum-category-head span,
.forum-stats-bar span,
.forum-count span,
.forum-last b {
  color: #8f866c;
  font: 900 .54rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.forum-login-card strong {
  color: var(--orange);
  font: 900 2rem/.95 Impact, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.forum-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 18px 0;
}

.forum-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.forum-new-thread {
  min-width: 168px;
  min-height: 45px;
}

.forum-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.forum-stats-bar article {
  padding: 18px 20px;
}

.forum-stats-bar b {
  display: block;
  margin-top: 8px;
  color: #fff3d1;
  font: 900 2rem/.9 Impact, sans-serif;
}

.forum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.forum-main {
  display: grid;
  gap: 18px;
}

.forum-category {
  overflow: hidden;
}

.forum-category-head {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(228,215,189,.14);
  background:
    linear-gradient(90deg, rgba(240,74,34,.18), transparent 48%),
    rgba(0,0,0,.24);
}

.forum-category-head h2 {
  margin: 0 0 7px;
  color: #fff3d1;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.forum-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 80px 80px 170px;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid rgba(228,215,189,.1);
  background: rgba(0,0,0,.16);
  box-shadow: none;
}

.forum-row:last-child {
  border-bottom: 0;
}

.forum-row:hover {
  background:
    linear-gradient(90deg, rgba(240,74,34,.11), transparent 56%),
    rgba(0,0,0,.24);
}

.forum-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #070806;
  background: var(--orange);
  border: 1px solid rgba(255,171,118,.5);
  border-radius: 10px;
  font: 900 .72rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .05em;
}

.forum-row.pinned .forum-icon {
  background: var(--green);
}

.forum-topic h3 {
  margin: 8px 0 6px;
  color: #fff3d1;
  font: 900 1.18rem/1.15 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .02em;
  text-transform: none;
}

.forum-topic p {
  margin: 0;
  color: #b8ad8f;
  font: 600 .9rem/1.5 "Trebuchet MS", Arial, sans-serif;
}

.forum-count {
  text-align: center;
}

.forum-count b {
  display: block;
  color: #fff;
  font: 900 1.45rem/.9 Impact, sans-serif;
}

.forum-last {
  color: #c8bd9f;
  font: 700 .78rem/1.35 "Trebuchet MS", Arial, sans-serif;
}

.forum-last span {
  display: block;
  margin-top: 6px;
}

.forum-row .post-embed {
  padding: 13px 16px;
  margin: 10px 0 0;
  justify-content: start;
  place-items: center start;
}

.recent-preview .post-feed:empty::before {
  content: "No local preview posts yet. Use the quick post box on the right to test the thread layout.";
  display: block;
  padding: 20px;
  color: #8f866c;
  font: 800 .8rem/1.55 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.forum-sidebar {
  position: sticky;
  top: calc(var(--header) + 22px);
}

.forum-side-card li::before {
  content: "• ";
}

.local-thread {
  border: 1px solid rgba(240,74,34,.28);
}

@media (max-width: 1080px) {
  .forum-hero,
  .forum-layout {
    grid-template-columns: 1fr;
  }

  .forum-sidebar {
    position: static;
  }

  .forum-row {
    grid-template-columns: 50px minmax(0, 1fr) 72px 72px;
  }

  .forum-last {
    grid-column: 2 / -1;
  }
}

@media (max-width: 720px) {
  .forum-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .forum-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .forum-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .forum-count,
  .forum-last {
    grid-column: 2;
    text-align: left;
  }

  .forum-count {
    display: inline-flex;
    gap: 8px;
    align-items: baseline;
  }
}

/* Full-site GTT combined-arms redesign */
.home-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(240,74,34,.16), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(149,196,106,.08), transparent 26%),
    #050604;
}

.home-page .site-header {
  background: linear-gradient(180deg, rgba(4,5,4,.9), rgba(4,5,4,.58));
  border-bottom-color: rgba(240,74,34,.18);
}

.hero-reborn {
  min-height: 100vh;
  background: #030403;
}

.hero-reborn .hero-scene {
  filter: brightness(.58) contrast(1.15) saturate(.9);
  transform: scale(1.02);
}

.hero-reborn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,4,3,.98) 0%, rgba(3,4,3,.74) 35%, rgba(3,4,3,.38) 68%, rgba(3,4,3,.8) 100%),
    radial-gradient(circle at 75% 27%, rgba(240,74,34,.2), transparent 32%),
    linear-gradient(180deg, rgba(3,4,3,.42), rgba(3,4,3,.2) 50%, #050604 100%);
}

.hero-reborn .hero-grid,
.hero-reborn .hero-smoke,
.hero-reborn .hero-strip,
.hero-reborn .hero-layout {
  z-index: 3;
}

.hero-reborn .hero-layout {
  width: min(1440px, 100%);
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(24px, 5vw, 76px);
  align-items: end;
  padding-top: calc(var(--header) + 54px);
  padding-bottom: 98px;
}

.hero-reborn .brand-composite {
  width: min(520px, 100%);
  margin-bottom: 26px;
  padding: 18px 22px;
  border: 1px solid rgba(228,215,189,.13);
  background: linear-gradient(135deg, rgba(240,74,34,.08), rgba(0,0,0,.22));
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.hero-reborn .brand-wings {
  width: min(420px, 100%);
  filter: drop-shadow(0 22px 38px #000);
}

.hero-reborn h1 {
  max-width: 900px;
  font-size: clamp(4rem, 8.8vw, 9.8rem);
  line-height: .82;
  letter-spacing: -.02em;
}

.hero-reborn .hero-copy {
  max-width: 760px;
  color: #d3c8aa;
  font-size: clamp(1rem, 1.32vw, 1.22rem);
}

.combat-card-stack {
  display: grid;
  gap: 13px;
  align-self: center;
}

.combat-card {
  position: relative;
  min-height: 128px;
  padding: 20px;
  overflow: hidden;
  text-align: left;
  color: #cfc3a5;
  border: 1px solid rgba(228,215,189,.16);
  background:
    linear-gradient(135deg, rgba(240,74,34,.1), transparent 46%),
    rgba(5,6,4,.62);
  cursor: pointer;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  box-shadow: 0 24px 70px rgba(0,0,0,.36);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.combat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(90deg, rgba(240,74,34,.22), transparent);
  transition: opacity .22s;
}

.combat-card:hover,
.combat-card.active {
  transform: translateX(-8px);
  border-color: rgba(240,74,34,.64);
  background:
    linear-gradient(135deg, rgba(240,74,34,.16), transparent 50%),
    rgba(8,9,6,.82);
}

.combat-card:hover::before,
.combat-card.active::before {
  opacity: 1;
}

.combat-card span,
.combat-card small {
  position: relative;
  z-index: 1;
  display: block;
  font: 900 .55rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.combat-card span { color: var(--orange); }
.combat-card b {
  position: relative;
  z-index: 1;
  display: block;
  margin: 13px 0 9px;
  color: #fff3d1;
  font: 900 1.28rem/1.08 "Trebuchet MS", Arial, sans-serif;
}
.combat-card small { color: #8f866c; }

.live-command {
  background: #050604;
}

.home-page .panel-shell {
  backdrop-filter: blur(12px);
  background:
    linear-gradient(135deg, rgba(240,74,34,.1), transparent 45%),
    rgba(7,8,6,.82);
}

.arsenal {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5,6,4,.98), rgba(10,12,8,.88)),
    url("assets/gtt-combined-arms-hero.png") center / cover fixed;
}

.arsenal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(228,215,189,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228,215,189,.035) 1px, transparent 1px),
    radial-gradient(circle at 28% 34%, rgba(240,74,34,.16), transparent 28%);
  background-size: 42px 42px, 42px 42px, auto;
}

.arsenal-layout {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
  gap: 20px;
  align-items: stretch;
}

.arsenal-visual,
.arsenal-panel {
  border: 1px solid rgba(228,215,189,.16);
  background:
    linear-gradient(135deg, rgba(240,74,34,.08), transparent 42%),
    rgba(5,6,4,.78);
  box-shadow: var(--shadow);
}

.arsenal-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}

.arsenal-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.64) contrast(1.08) saturate(.9);
  transform: scale(1.02);
}

.arsenal-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.74)),
    linear-gradient(90deg, rgba(0,0,0,.28), transparent 55%);
}

.hotspot {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  color: #fff;
  border: 1px solid rgba(240,74,34,.62);
  background: rgba(6,7,5,.72);
  cursor: pointer;
  font: 900 .6rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: transform .2s ease, background .2s ease;
}

.hotspot span {
  color: #070806;
  background: var(--orange);
  padding: 5px 6px;
}

.hotspot:hover,
.hotspot.active {
  transform: translateY(-4px);
  background: rgba(240,74,34,.82);
}

.hotspot-air { right: 12%; top: 16%; }
.hotspot-armor { right: 18%; bottom: 26%; }
.hotspot-infantry { left: 38%; bottom: 18%; }

.arsenal-panel {
  padding: clamp(26px, 4vw, 44px);
  display: grid;
  align-content: center;
}

.arsenal-panel h2 {
  margin-top: 12px;
  font-size: clamp(2.7rem, 5vw, 5.8rem);
}

.arsenal-panel > p:not(.eyebrow) {
  color: #b9ae90;
  font: 600 .98rem/1.7 "Trebuchet MS", Arial, sans-serif;
}

.loadout-display {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(240,74,34,.26);
  background: rgba(0,0,0,.24);
}

.loadout-display > span,
.arsenal-grid span {
  color: #8f866c;
  font: 900 .55rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.loadout-display h3 {
  margin: 12px 0 10px;
  color: #fff3d1;
  font: 900 2.15rem/.95 Impact, sans-serif;
  text-transform: uppercase;
}

.loadout-display p,
.loadout-display li {
  color: #c8bd9f;
  font: 700 .9rem/1.55 "Trebuchet MS", Arial, sans-serif;
}

.loadout-display ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.loadout-display li::before {
  content: "TARGET // ";
  color: var(--orange);
  font-weight: 900;
}

.arsenal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.arsenal-grid article {
  padding: 16px;
  border: 1px solid rgba(228,215,189,.13);
  background: rgba(0,0,0,.18);
}

.arsenal-grid b {
  display: block;
  margin-top: 9px;
  color: #fff;
  font: 900 .86rem/1.25 "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
}

.home-page .intro,
.home-page .factions,
.home-page .operations,
.home-page .doctrine {
  background:
    radial-gradient(circle at 80% 0%, rgba(240,74,34,.08), transparent 32%),
    rgba(6,7,5,.96);
}

.home-page .faction-stage,
.home-page .operation-console,
.home-page .doctrine-list article,
.home-page .enlist-panel {
  box-shadow: 0 30px 100px rgba(0,0,0,.46);
}

@media (max-width: 1080px) {
  .hero-reborn .hero-layout,
  .arsenal-layout {
    grid-template-columns: 1fr;
  }

  .combat-card-stack {
    grid-template-columns: repeat(3, 1fr);
  }

  .combat-card:hover,
  .combat-card.active {
    transform: translateY(-4px);
  }
}

@media (max-width: 720px) {
  .hero-reborn .hero-layout {
    padding-bottom: 120px;
  }

  .combat-card-stack,
  .arsenal-grid {
    grid-template-columns: 1fr;
  }

  .arsenal-visual {
    min-height: 420px;
  }

  .hotspot {
    font-size: .52rem;
  }
}

/* Ghost Town HQ reset — cleaner, more official, less cinematic chaos */
.home-page {
  background:
    radial-gradient(circle at 20% 0%, rgba(240,74,34,.12), transparent 28%),
    linear-gradient(180deg, #050604, #090a07 45%, #050604);
}

.home-page .arsenal {
  display: none;
}

.home-page .site-header {
  background: rgba(4,5,4,.88);
  border-bottom: 1px solid rgba(228,215,189,.1);
  backdrop-filter: blur(18px);
}

.hero-hq {
  min-height: 100vh;
  background: #050604;
  isolation: isolate;
}

.hero-hq .hero-scene {
  filter: brightness(.5) saturate(.7) contrast(1.08);
  transform: scale(1.01);
}

.hero-hq::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 24%, rgba(240,74,34,.14), transparent 28%),
    linear-gradient(90deg, rgba(5,6,4,.92), rgba(5,6,4,.58) 50%, rgba(5,6,4,.82)),
    linear-gradient(180deg, rgba(5,6,4,.26), rgba(5,6,4,.36) 48%, #050604 100%);
}

.hero-hq .hero-layout {
  position: relative;
  z-index: 3;
  width: min(1120px, 100%);
  min-height: 100vh;
  padding: calc(var(--header) + 58px) clamp(22px, 5vw, 72px) 104px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  text-align: center;
}

.hero-hq .hero-content {
  width: min(880px, 100%);
  display: grid;
  justify-items: center;
}

.hero-hq .brand-composite {
  width: min(600px, 100%);
  margin: 0 auto 26px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(228,215,189,.13);
  background:
    radial-gradient(circle, rgba(240,74,34,.09), transparent 55%),
    rgba(0,0,0,.3);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  clip-path: none;
}

.hero-hq .brand-wings {
  display: block;
  width: min(500px, 100%);
  margin: auto;
  filter: drop-shadow(0 24px 42px #000);
}

.hero-hq h1 {
  max-width: 920px;
  margin-top: 20px;
  font-size: clamp(3.5rem, 7vw, 7.4rem);
  line-height: .88;
  letter-spacing: -.015em;
  text-align: center;
}

.hero-hq .hero-copy {
  max-width: 760px;
  color: #d2c5a4;
  text-align: center;
}

.hero-hq .hero-actions,
.hero-hq .hero-status-row {
  justify-content: center;
}

.hero-hq .hero-status-row {
  width: min(760px, 100%);
}

.hero-hq .hero-status-row p {
  background: rgba(5,6,4,.72);
  border-color: rgba(228,215,189,.13);
}

.hero-hq .hero-strip {
  z-index: 3;
  color: #d8cbb0;
  background:
    linear-gradient(90deg, transparent, rgba(240,74,34,.36), transparent),
    rgba(5,6,4,.82);
  border-top: 1px solid rgba(240,74,34,.22);
  border-bottom: 1px solid rgba(240,74,34,.16);
}

.home-page .live-command::before {
  background:
    linear-gradient(90deg, rgba(6,7,5,.96), rgba(6,7,5,.82) 48%, rgba(6,7,5,.72)),
    linear-gradient(180deg, #050604, transparent 24%, #050604 100%);
}

.home-page .panel-shell,
.home-page .faction-stage,
.home-page .operation-console,
.home-page .faction-dossier,
.home-page .enlist-panel {
  border-color: rgba(228,215,189,.14);
  background:
    linear-gradient(135deg, rgba(240,74,34,.07), transparent 38%),
    rgba(8,9,7,.86);
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
}

.home-page .intro,
.home-page .factions,
.home-page .operations,
.home-page .doctrine {
  background:
    radial-gradient(circle at 12% 0%, rgba(240,74,34,.08), transparent 30%),
    linear-gradient(180deg, rgba(5,6,4,.98), rgba(8,9,7,.96));
}

.home-page .section-index {
  opacity: .72;
}

@media (max-width: 720px) {
  .hero-hq .hero-layout {
    padding-bottom: 116px;
  }

  .hero-hq .brand-composite {
    padding: 16px;
  }
}


/* GTT entry briefing loader — replaces the old generic boot animation */
.boot-screen {
  place-items: stretch;
  padding: clamp(18px, 4vw, 52px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(240,74,34,.2), transparent 28rem),
    radial-gradient(circle at 78% 28%, rgba(70,92,116,.16), transparent 30rem),
    linear-gradient(135deg, #030403 0%, #080907 48%, #120704 100%);
}

.boot-screen::before,
.boot-screen::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.boot-screen::before {
  inset: 24px;
  border: 1px solid rgba(228,215,189,.12);
  background:
    linear-gradient(90deg, rgba(240,74,34,.32) 0 72px, transparent 72px calc(100% - 72px), rgba(240,74,34,.24) calc(100% - 72px)),
    linear-gradient(180deg, rgba(228,215,189,.12) 0 1px, transparent 1px calc(100% - 1px), rgba(228,215,189,.12) calc(100% - 1px));
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
  opacity: .75;
}

.boot-screen::after {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 50% 42%, #000, transparent 72%);
  opacity: .42;
}

.boot-backdrop {
  filter: brightness(.33) contrast(1.22) saturate(.82);
  transform: scale(1.02);
  animation: bootDrift 8s ease-in-out infinite alternate;
}

.boot-flare {
  position: absolute;
  left: -12vw;
  bottom: -20vh;
  z-index: 1;
  width: 56vw;
  height: 56vw;
  min-width: 420px;
  min-height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,74,34,.24), rgba(240,74,34,.08) 38%, transparent 70%);
  filter: blur(8px);
}

.boot-noise {
  z-index: 3;
  opacity: .09;
  mix-blend-mode: screen;
  animation: staticFlicker 1.8s steps(2) infinite;
}

.boot-card {
  align-self: center;
  justify-self: center;
  z-index: 4;
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(260px, .75fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: end;
  padding: clamp(24px, 4vw, 48px);
  text-align: left;
  border: 1px solid rgba(228,215,189,.18);
  background:
    linear-gradient(135deg, rgba(6,7,5,.88), rgba(6,7,5,.58) 54%, rgba(24,10,5,.72)),
    radial-gradient(circle at 28% 0, rgba(240,74,34,.18), transparent 46%);
  box-shadow: 0 44px 130px rgba(0,0,0,.72), inset 0 0 0 1px rgba(255,255,255,.035);
  clip-path: polygon(32px 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%, 0 32px);
}

.boot-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(228,215,189,.13);
  pointer-events: none;
}

.boot-stamp {
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  top: clamp(18px, 3vw, 30px);
  padding: 8px 11px;
  color: var(--orange);
  border: 1px solid rgba(240,74,34,.55);
  transform: rotate(3deg);
  font: 900 .72rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .22em;
}

.boot-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--orange);
  font: 900 .68rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.boot-kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(240,74,34,.7);
}

.boot-card .boot-logo-wide {
  display: block;
  width: min(430px, 94%);
  margin: 26px 0 12px;
  filter: drop-shadow(0 24px 44px rgba(0,0,0,.85));
}

.boot-copy h2 {
  margin: 0;
  max-width: 650px;
  color: #efe4c9;
  font-size: clamp(2.9rem, 8vw, 7.2rem);
  line-height: .84;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-shadow: 0 22px 55px rgba(0,0,0,.75);
}

.boot-copy p {
  max-width: 520px;
  margin: 18px 0 0;
  color: #cfc3a4;
  font: 900 clamp(1rem, 2vw, 1.25rem)/1.45 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .01em;
  text-transform: none;
}

.boot-mission {
  display: grid;
  gap: 1px;
  padding: 1px;
  background: rgba(228,215,189,.16);
  box-shadow: 0 26px 70px rgba(0,0,0,.45);
}

.boot-mission div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  background: rgba(5,6,4,.74);
}

.boot-mission span,
.boot-factions span {
  color: #948c74;
  font: 900 .58rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.boot-mission b {
  color: #efe4c9;
  font: 900 .78rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.boot-online {
  color: var(--green) !important;
}

.boot-online i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.boot-factions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: -18px;
}

.boot-factions i {
  height: 8px;
  background:
    linear-gradient(90deg, var(--blue), rgba(228,215,189,.24) 46%, rgba(228,215,189,.24) 54%, var(--red));
  clip-path: polygon(0 40%, 48% 40%, 50% 0, 52% 40%, 100% 40%, 100% 60%, 52% 60%, 50% 100%, 48% 60%, 0 60%);
  opacity: .9;
}

.boot-progress {
  grid-column: 1 / -1;
  height: 4px;
  margin: 0;
  background: rgba(228,215,189,.12);
}

.boot-progress i {
  background: linear-gradient(90deg, var(--orange), #f2c16a, var(--orange));
  animation: bootLoad 2s cubic-bezier(.2,.8,.2,1) both;
}

.boot-card button {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0;
  padding: 13px 18px;
  color: #080907;
  border: 1px solid rgba(240,74,34,.75);
  background: linear-gradient(135deg, #f05a2b, #d63a1d);
  box-shadow: 0 18px 42px rgba(240,74,34,.22);
}

.boot-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(240,74,34,.34);
}

@keyframes bootDrift {
  from { transform: scale(1.02) translate3d(-.4%, -.4%, 0); }
  to { transform: scale(1.06) translate3d(.6%, .5%, 0); }
}

@media (max-width: 760px) {
  .boot-screen { padding: 16px; }
  .boot-screen::before { inset: 12px; }
  .boot-card {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 18px;
    padding: 24px 20px;
  }
  .boot-stamp { display: none; }
  .boot-kicker { font-size: .56rem; letter-spacing: .18em; }
  .boot-card .boot-logo-wide { width: min(320px, 100%); margin-top: 18px; }
  .boot-copy h2 { font-size: clamp(3.15rem, 16vw, 5rem); }
  .boot-copy p { font-size: .95rem; }
  .boot-mission div { padding: 14px; }
  .boot-factions { margin-top: 0; gap: 10px; }
}

/* Faction Deployment 2.0 — war-room selector */
.faction-deployment {
  position: relative;
  overflow: hidden;
}

.faction-deployment::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 32%, rgba(49,110,168,.14), transparent 28rem),
    radial-gradient(circle at 82% 34%, rgba(182,51,41,.14), transparent 28rem),
    linear-gradient(90deg, rgba(49,110,168,.05), transparent 44%, rgba(182,51,41,.05));
}

.faction-war-room {
  position: relative;
  width: min(1180px, 100%);
  margin: 58px auto 0;
  border: 1px solid rgba(228,215,189,.14);
  background:
    linear-gradient(135deg, rgba(7,9,7,.94), rgba(7,8,6,.76)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 72px);
  box-shadow: 0 38px 110px rgba(0,0,0,.54);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
}

.home-page .faction-war-room .faction-stage,
.faction-war-room .faction-stage {
  width: 100%;
  min-height: 620px;
  margin: 0;
  border: 0;
  background: #050604;
  box-shadow: none;
}

.faction-war-room .faction-stage::before {
  content: "SELECT DEPLOYMENT SIDE";
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 24px;
  padding: 9px 13px;
  color: #cfc3a4;
  border: 1px solid rgba(228,215,189,.16);
  background: rgba(4,5,4,.72);
  transform: translateX(-50%);
  font: 900 .58rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.faction-war-room .faction-card > img {
  object-position: center 12%;
  filter: saturate(.74) contrast(1.18) brightness(.68);
}

.faction-war-room .faction-card[aria-pressed="true"] > img,
.faction-war-room .faction-card:hover > img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.16) brightness(.9);
}

.faction-war-room .faction-shade {
  background:
    linear-gradient(0deg, rgba(4,5,4,.98) 0%, rgba(4,5,4,.64) 35%, rgba(4,5,4,.16) 100%),
    linear-gradient(90deg, rgba(0,0,0,.62), transparent 55%);
}

.faction-war-room .faction-nato .faction-shade {
  background:
    linear-gradient(0deg, rgba(4,5,4,.98) 0%, rgba(4,5,4,.54) 42%, rgba(4,5,4,.12) 100%),
    linear-gradient(90deg, rgba(18,45,75,.68), transparent 60%);
}

.faction-war-room .faction-russia .faction-shade {
  background:
    linear-gradient(0deg, rgba(4,5,4,.98) 0%, rgba(4,5,4,.54) 42%, rgba(4,5,4,.12) 100%),
    linear-gradient(270deg, rgba(92,22,18,.62), transparent 60%);
}

.faction-traits {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 140px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.faction-traits b {
  padding: 8px 10px;
  color: #e6dbc1;
  border: 1px solid rgba(228,215,189,.16);
  background: rgba(0,0,0,.34);
  font: 900 .56rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.faction-war-room .faction-open {
  padding: 10px 12px;
  border: 1px solid rgba(228,215,189,.18);
  background: rgba(0,0,0,.38);
}

.faction-war-room .versus-mark {
  width: 104px;
  height: 104px;
  border-color: rgba(228,215,189,.24);
  background:
    radial-gradient(circle, rgba(240,74,34,.22), transparent 56%),
    #070807;
}

.faction-war-room[data-active="nato"] .versus-mark {
  box-shadow: 0 0 0 1px rgba(49,110,168,.34), 0 20px 56px rgba(49,110,168,.2), 0 14px 40px rgba(0,0,0,.7);
}

.faction-war-room[data-active="russia"] .versus-mark {
  box-shadow: 0 0 0 1px rgba(182,51,41,.34), 0 20px 56px rgba(182,51,41,.2), 0 14px 40px rgba(0,0,0,.7);
}

.home-page .faction-war-room .faction-dossier,
.faction-war-room .faction-dossier {
  width: 100%;
  min-height: 270px;
  margin: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  background:
    linear-gradient(135deg, rgba(13,15,11,.96), rgba(7,8,6,.92)),
    linear-gradient(90deg, rgba(49,110,168,.06), transparent 50%, rgba(182,51,41,.06));
}

.faction-war-room .dossier-content:not([hidden]) {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 24px;
  align-items: stretch;
}

.faction-war-room .dossier-title {
  padding: 22px;
  border: 1px solid rgba(228,215,189,.13);
  background: rgba(0,0,0,.2);
}

.faction-war-room .dossier-title h3 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: .84;
}

.faction-balance {
  grid-column: 2 / 3;
  padding: 22px;
  border: 1px solid rgba(228,215,189,.13);
  background: rgba(0,0,0,.22);
}

.balance-top,
.balance-labels {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #8f886f;
  font: 900 .58rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.balance-top b {
  color: var(--orange);
}

.balance-rail {
  height: 16px;
  margin: 18px 0 13px;
  padding: 3px;
  border: 1px solid rgba(228,215,189,.16);
  background: linear-gradient(90deg, rgba(49,110,168,.22), rgba(228,215,189,.09) 50%, rgba(182,51,41,.22));
}

.balance-rail i {
  display: block;
  width: var(--pressure, 50%);
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--red));
  box-shadow: 0 0 24px rgba(240,74,34,.32);
  transition: width .45s ease;
}

.dossier-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(228,215,189,.12);
}

.faction-war-room .dossier-detail {
  min-height: 130px;
  padding: 18px;
  border: 0;
  background: rgba(3,4,3,.48);
}

.faction-war-room .dossier-detail p {
  text-transform: none;
  font-size: .82rem;
  line-height: 1.45;
}

.deployment-roles {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(228,215,189,.13);
  background: rgba(0,0,0,.2);
}

.role-chip {
  padding: 12px;
  cursor: pointer;
  color: #bdb293;
  border: 1px solid rgba(228,215,189,.13);
  background: rgba(4,5,4,.62);
  font: 900 .6rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.role-chip:hover,
.role-chip.active {
  color: #070807;
  border-color: var(--orange);
  background: var(--orange);
}

.role-briefing,
.faction-orders {
  padding: 20px;
  border: 1px solid rgba(228,215,189,.13);
  background: rgba(0,0,0,.2);
}

.role-briefing span,
.faction-orders span {
  color: var(--orange);
  font: 900 .58rem/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.role-briefing p {
  margin: 12px 0 0;
  color: #d1c5a8;
  font: 800 .9rem/1.5 "Trebuchet MS", Arial, sans-serif;
}

.faction-orders ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.faction-orders li {
  color: #c8bd9f;
  font: 800 .72rem/1.35 "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
}

.faction-orders li::before {
  content: "ORDER // ";
  color: var(--green);
}

@media (max-width: 980px) {
  .faction-war-room .dossier-content:not([hidden]) {
    grid-template-columns: 1fr 1fr;
  }

  .faction-balance,
  .dossier-grid {
    grid-column: 1 / -1;
  }

  .dossier-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .faction-war-room .faction-stage,
  .faction-war-room .faction-stage[data-active="nato"],
  .faction-war-room .faction-stage[data-active="russia"] {
    grid-template-columns: 1fr;
    min-height: 900px;
  }

  .faction-stage::before,
  .faction-war-room .faction-stage::before {
    top: 12px;
    font-size: .5rem;
  }

  .faction-traits {
    bottom: 118px;
    left: 22px;
    right: 22px;
  }

  .faction-war-room .dossier-content:not([hidden]),
  .dossier-grid {
    grid-template-columns: 1fr;
  }
}
