:root {
  --bg: #080c0d;
  --bg-2: #0f1717;
  --panel: rgba(14, 21, 22, 0.82);
  --panel-strong: rgba(20, 31, 31, 0.94);
  --line: rgba(227, 239, 231, 0.2);
  --line-bright: rgba(228, 236, 214, 0.48);
  --text: #ffffff;
  --text-soft: #eef5f0;
  --accent: #c9a64b;
  --accent-2: #78a16a;
  --danger: #d4473f;
  --blue: #8aa7b1;
  --shadow: 0 1.4rem 4rem rgba(0, 0, 0, 0.42);
  --shadow-hard: 0 1rem 0 rgba(0, 0, 0, 0.24), 0 2rem 4rem rgba(0, 0, 0, 0.38);
  --drop: drop-shadow(0 0.85rem 2rem rgba(0, 0, 0, 0.42));
  --drop-hard: drop-shadow(0 1.2rem 3rem rgba(0, 0, 0, 0.52));
  /* Radius tokens zeroed — chamfer clip-path takes over */
  --radius-xl: 0;
  --radius-lg: 0;
  --radius-md: 0;
  --radius-sm: 0;
  /* Chamfer corner sizes */
  --corner-xs: 0.35rem;
  --corner-sm: 0.55rem;
  --corner-md: 0.85rem;
  --corner-lg: 1.15rem;
  /* Chamfer clip-path polygons: top-left + bottom-right cut */
  --chamfer-xs: polygon(0.35rem 0, 100% 0, 100% calc(100% - 0.35rem), calc(100% - 0.35rem) 100%, 0 100%, 0 0.35rem);
  --chamfer-sm: polygon(0.55rem 0, 100% 0, 100% calc(100% - 0.55rem), calc(100% - 0.55rem) 100%, 0 100%, 0 0.55rem);
  --chamfer-md: polygon(0.85rem 0, 100% 0, 100% calc(100% - 0.85rem), calc(100% - 0.85rem) 100%, 0 100%, 0 0.85rem);
  --chamfer-lg: polygon(1.15rem 0, 100% 0, 100% calc(100% - 1.15rem), calc(100% - 1.15rem) 100%, 0 100%, 0 1.15rem);
  --max: 1180px;
  --font-head: 'Rajdhani', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--accent) #0d1213;
  scrollbar-width: thin;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 14% 0%, rgba(120, 161, 106, 0.16), transparent 28rem),
    radial-gradient(circle at 95% 18%, rgba(201, 166, 75, 0.14), transparent 26rem),
    linear-gradient(180deg, #080c0d 0%, #0a1011 38%, #070a0b 100%);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.72;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(30deg, transparent 47%, rgba(255, 255, 255, 0.12) 48%, rgba(255, 255, 255, 0.12) 52%, transparent 53%),
    linear-gradient(150deg, transparent 47%, rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0.08) 52%, transparent 53%);
  background-size: 4.8rem 8.3rem;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  z-index: -2;
}

::-webkit-scrollbar { width: 0.8rem; }
::-webkit-scrollbar-track { background: #0d1213; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border: 0.2rem solid #0d1213;
  border-radius: 2rem;
}

img { max-width: 100%; display: block; }

/* === BOUNDED MEDIA SYSTEM ===
   All visual modules use aspect-ratio on the CONTAINER, not the img.
   img always: display:block; width:100%; height:100%; object-fit:cover
   This guarantees the browser never uses natural image dimensions for layout.
*/
.media-box {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  clip-path: var(--chamfer-md);
  border: 1px solid var(--line);
}
.media-box img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-box--wide   { aspect-ratio: 16 / 9; }
.media-box--cinema { aspect-ratio: 21 / 9; }
.media-box--card   { aspect-ratio: 4 / 3; }
.media-box--square { aspect-ratio: 1 / 1; }
.media-box--banner { aspect-ratio: 5 / 2; }
.media-box--mini   { aspect-ratio: 3 / 2; }

/* === CHAMFERED COMMAND UI UTILITIES ===
   Apply angular tactical chamfer to any element.
   clip-path is on the element; border and bg are inside the clip region.
   box-shadow must use filter:drop-shadow on chamfered elements — see --drop tokens.
*/
.chamfer    { border-radius: 0; clip-path: var(--chamfer-md); }
.chamfer-xs { border-radius: 0; clip-path: var(--chamfer-xs); }
.chamfer-sm { border-radius: 0; clip-path: var(--chamfer-sm); }
.chamfer-md { border-radius: 0; clip-path: var(--chamfer-md); }
.chamfer-lg { border-radius: 0; clip-path: var(--chamfer-lg); }

/* Chamfer + border: use ::before for a border that rides the clip shape */
.chamfer-border { position: relative; border-radius: 0; clip-path: var(--chamfer-md); }
.chamfer-border::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(201, 166, 75, 0.28);
  clip-path: var(--chamfer-md);
}

a { color: inherit; text-decoration: none; }

p, h1, h2, h3, h4 { margin: 0; }

button, input, textarea, select { font: inherit; }

button { cursor: pointer; }

:focus-visible {
  outline: 0.18rem solid var(--accent);
  outline-offset: 0.22rem;
  border-radius: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: #111;
  border-radius: 0;
  clip-path: var(--chamfer-sm);
  z-index: 1000;
  transform: translateY(-160%);
  transition: transform 180ms ease;
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  background: rgba(8, 12, 13, 0.78);
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 12, 13, 0.95);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
  border-color: rgba(201, 166, 75, 0.35);
}

.header-inner {
  width: min(100% - 1.2rem, var(--max));
  min-height: 4.85rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
}

.brand-mark {
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid rgba(201, 166, 75, 0.5);
  border-radius: 0;
  clip-path: var(--chamfer-xs);
  padding: 0.38rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.brand-text { min-width: 0; }

.brand-name {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1;
}

.brand-subtitle {
  display: block;
  color: var(--text-soft);
  font-size: 0.72rem;
  line-height: 1.1;
  opacity: 0.9;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 0;
  clip-path: var(--chamfer-xs);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 1.18rem;
  height: 0.12rem;
  background: currentColor;
  border-radius: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span::before { transform: translateY(-0.4rem); }
.nav-toggle span::after { transform: translateY(0.28rem); }

.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { transform: translateY(0) rotate(45deg); background: var(--text); }
.nav-toggle[aria-expanded='true'] span::after { transform: translateY(-0.12rem) rotate(-45deg); background: var(--text); }

.site-nav {
  position: fixed;
  inset: 4.85rem 0 auto 0;
  padding: 0.9rem;
  background: rgba(8, 12, 13, 0.98);
  border-bottom: 1px solid var(--line);
  transform: translateY(-112%);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 0.55rem;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.1rem;
  padding: 0.72rem 0.86rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  clip-path: var(--chamfer-sm);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  overflow: hidden;
}

.nav-link::after {
  content: '';
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 0;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0 50%);
  background: var(--line-bright);
  transition: transform 220ms ease, background 220ms ease, filter 220ms ease;
}

.nav-link:hover::after,
.nav-link[aria-current='page']::after {
  transform: scale(1.7);
  background: var(--accent);
  filter: drop-shadow(0 0 0.5rem rgba(201, 166, 75, 0.9));
}

.nav-link[aria-current='page'] {
  border-color: rgba(201, 166, 75, 0.5);
  background: linear-gradient(90deg, rgba(201, 166, 75, 0.17), rgba(255, 255, 255, 0.035));
}

.header-cta { display: none; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  gap: 0.55rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid rgba(201, 166, 75, 0.6);
  border-radius: 0;
  clip-path: var(--chamfer-sm);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(201, 166, 75, 0.95), rgba(120, 161, 106, 0.85));
  transition: opacity 220ms ease;
}

.btn:hover { transform: translateY(-0.12rem); filter: var(--drop); border-color: rgba(201, 166, 75, 0.9); }
.btn:hover::before { opacity: 0.88; }
.btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }

.btn.secondary::before { background: rgba(255, 255, 255, 0.07); }
.btn.secondary { border-color: rgba(255, 255, 255, 0.2); }
.btn.secondary:hover { border-color: rgba(201, 166, 75, 0.55); }
.btn.small { min-height: 2.7rem; padding: 0.58rem 1rem; font-size: 0.88rem; }

main { overflow: hidden; }

.section {
  position: relative;
  padding: 4.6rem 0;
  isolation: isolate;
}

.container { width: min(100% - 1.2rem, var(--max)); margin-inline: auto; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  color: #ffffff;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 0.9rem;
}

.section-kicker::before {
  content: '';
  width: 1.8rem;
  height: 0.12rem;
  background: var(--accent);
  border-radius: 0;
}

.section-title {
  font-family: var(--font-head);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 10vw, 4.65rem);
  max-width: 12ch;
}

.section-title.wide { max-width: 16ch; }

.section-lead {
  margin-top: 1rem;
  max-width: 66ch;
  color: var(--text-soft);
  font-size: 1.03rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 0;
  clip-path: var(--chamfer-md);
  background: var(--panel);
  filter: var(--drop);
  backdrop-filter: blur(16px);
}

/* Corner accent mark for chamfered panels — small gold tick at top-right */
.panel::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1.6rem;
  height: 1.6rem;
  background: linear-gradient(225deg, rgba(201, 166, 75, 0.45) 0%, rgba(201, 166, 75, 0.45) 40%, transparent 41%);
  pointer-events: none;
}

.hex-deco {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  opacity: 0.52;
}

.hex-deco::before,
.hex-deco::after {
  content: '';
  position: absolute;
  width: 8rem;
  height: 9.2rem;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  border: 1px solid rgba(201, 166, 75, 0.4);
  background: linear-gradient(140deg, rgba(201, 166, 75, 0.12), rgba(120, 161, 106, 0.06));
}

.hex-deco::after { transform: translate(3.6rem, 4.9rem) scale(0.72); border-color: rgba(255, 255, 255, 0.18); }

.hero {
  min-height: calc(100svh - 4.85rem);
  display: grid;
  align-items: center;
  padding: 4rem 0 5rem;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 11rem;
  background: linear-gradient(to top, rgba(8, 12, 13, 1), transparent);
  z-index: 0;
}

.hero-grid { display: grid; gap: 2.2rem; align-items: center; position: relative; z-index: 1; }

.hero-copy { display: grid; gap: 1.2rem; }

.hero-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.48rem;
  padding: 0.48rem 0.78rem;
  border: 1px solid rgba(201, 166, 75, 0.46);
  border-radius: 0;
  clip-path: var(--chamfer-xs);
  background: rgba(201, 166, 75, 0.09);
  color: var(--text);
  font-weight: 800;
  font-size: 0.88rem;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3.1rem, 16vw, 6.4rem);
  line-height: 0.82;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero h1 span { color: var(--accent); display: block; }

.hero-text {
  max-width: 39rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero-note {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 0.92rem;
  max-width: 39rem;
}

.hero-visual {
  position: relative;
}

.command-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 166, 75, 0.35);
  border-radius: 0;
  clip-path: var(--chamfer-lg);
  background: #0e1516;
  filter: var(--drop-hard);
  transform: rotate(-1deg);
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 580px);
}

.command-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 13, 0.04), rgba(8, 12, 13, 0.45)), linear-gradient(90deg, rgba(201, 166, 75, 0.14), transparent 42%);
  z-index: 1;
}

.command-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }

.command-hud {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 2;
  display: grid;
  gap: 0.52rem;
}

.hud-row {
  display: flex;
  gap: 0.52rem;
  flex-wrap: wrap;
}

.hud-chip {
  min-width: 7rem;
  padding: 0.65rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  clip-path: var(--chamfer-xs);
  background: rgba(7, 11, 12, 0.78);
  backdrop-filter: blur(12px);
}

.hud-chip strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.45rem;
  line-height: 1;
  color: var(--accent);
}

.hud-chip span { display: block; font-size: 0.76rem; color: var(--text-soft); }

.floating-card {
  position: absolute;
  right: 0;
  top: 1.2rem;
  width: min(16rem, 56vw);
  padding: 0.85rem;
  border: 1px solid rgba(201, 166, 75, 0.45);
  border-radius: 0;
  clip-path: var(--chamfer-md);
  background: rgba(14, 21, 22, 0.84);
  filter: drop-shadow(0 1.3rem 2.6rem rgba(0, 0, 0, 0.32));
  backdrop-filter: blur(14px);
  transform: rotate(2.2deg);
  animation: floatCard 5.5s ease-in-out infinite;
}

.floating-card span { display: block; color: var(--text-soft); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; }
.floating-card strong { display: block; font-family: var(--font-head); font-size: 1.45rem; line-height: 1.05; }

.hero .hex-deco { right: 2rem; bottom: 3rem; }

.stat-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 0;
  clip-path: var(--chamfer-sm);
  background: rgba(255, 255, 255, 0.045);
}

.stat-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
}

.stat-card span { color: var(--text-soft); font-size: 0.92rem; }

.briefing {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(120, 161, 106, 0.045));
}

.briefing-layout { display: grid; gap: 1.2rem; }

.briefing-card {
  position: relative;
  padding: 1.25rem;
  overflow: hidden;
}

.briefing-card::before {
  content: attr(data-step);
  position: absolute;
  right: 1rem;
  top: 0.5rem;
  font-family: var(--font-head);
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  font-weight: 700;
}

.briefing-card h3,
.front-card h3,
.system-card h3,
.review-card h3,
.feature-card h3,
.page-card h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  line-height: 1;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
}

.briefing-card p,
.front-card p,
.system-card p,
.review-card p,
.feature-card p,
.page-card p { color: var(--text-soft); margin-top: 0.7rem; }

.briefing-image {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 0;
  clip-path: var(--chamfer-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 16 / 9;
  max-height: min(58vh, 380px);
}

.briefing-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 420ms ease; }
.briefing-card:hover .briefing-image img { transform: scale(1.04); }

.theatres {
  background: radial-gradient(circle at 50% 20%, rgba(201, 166, 75, 0.08), transparent 25rem);
}

.theatre-grid { display: grid; gap: 1rem; margin-top: 1.7rem; }

.front-card {
  position: relative;
  display: grid;
  gap: 1rem;
  overflow: hidden;
  padding: 1rem;
}

.front-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  clip-path: var(--chamfer-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  aspect-ratio: 16 / 9;
  max-height: min(58vh, 380px);
}

.front-card figure img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 520ms ease; }
.front-card:hover figure img { transform: scale(1.05); }

.front-card figcaption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.65rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  clip-path: var(--chamfer-xs);
  background: rgba(7, 11, 12, 0.76);
  backdrop-filter: blur(12px);
  font-size: 0.86rem;
  color: var(--text-soft);
}

.front-card .tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(201, 166, 75, 0.42);
  border-radius: 0;
  clip-path: var(--chamfer-xs);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tactics-board {
  position: relative;
}

.tactics-board::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image:
    linear-gradient(60deg, transparent 46%, rgba(201, 166, 75, 0.9) 47%, rgba(201, 166, 75, 0.9) 53%, transparent 54%),
    linear-gradient(120deg, transparent 46%, rgba(201, 166, 75, 0.9) 47%, rgba(201, 166, 75, 0.9) 53%, transparent 54%);
  background-size: 2.4rem 4.2rem;
  mask-image: linear-gradient(to right, transparent, black 22%, black 78%, transparent);
  z-index: -1;
}

.tactics-layout { display: grid; gap: 1.2rem; align-items: center; }

.war-table-frame {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  clip-path: var(--chamfer-lg);
  border: 1px solid rgba(201, 166, 75, 0.28);
  filter: var(--drop);
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 580px);
}

.war-table-frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.war-table-stats {
  position: absolute;
  inset: auto 1.4rem 1.4rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.war-stat {
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  clip-path: var(--chamfer-xs);
  background: rgba(7, 11, 12, 0.82);
  backdrop-filter: blur(12px);
  text-align: center;
}

.war-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.28rem;
  line-height: 1;
  color: var(--accent);
}

.war-stat em {
  display: block;
  font-style: normal;
  font-size: 0.73rem;
  color: var(--text-soft);
}

.tactics-list { display: grid; gap: 0.75rem; }

.tactic-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  clip-path: var(--chamfer-sm);
  background: rgba(255, 255, 255, 0.045);
}

.tactic-icon {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  background: rgba(201, 166, 75, 0.18);
  color: var(--accent);
  font-weight: 900;
}

.tactic-item strong { display: block; font-family: var(--font-head); text-transform: uppercase; font-size: 1.25rem; line-height: 1.05; }
.tactic-item span { color: var(--text-soft); font-size: 0.94rem; }

.systems {
  background: linear-gradient(180deg, rgba(201, 166, 75, 0.035), rgba(255, 255, 255, 0.012));
}

.systems-grid { display: grid; gap: 1rem; margin-top: 1.7rem; }

.system-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  overflow: hidden;
}

.system-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(58vh, 380px);
  object-fit: cover;
  border-radius: 0;
  clip-path: var(--chamfer-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.system-card ul,
.page-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: grid;
  gap: 0.52rem;
}

.system-card li,
.page-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  color: var(--text-soft);
}

.system-card li::before,
.page-list li::before {
  content: '';
  margin-top: 0.68rem;
  width: 0.48rem;
  height: 0.48rem;
  background: var(--accent);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
}

.aar-strip { position: relative; }

.aar-strip::before {
  content: '';
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 22rem;
  height: 22rem;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  background: radial-gradient(circle, rgba(120, 161, 106, 0.14), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.aar-strip::after {
  content: '';
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  width: 14rem;
  height: 14rem;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  border: 1px solid rgba(201, 166, 75, 0.18);
  pointer-events: none;
  z-index: -1;
}

.aar-grid { display: grid; gap: 1.2rem; align-items: center; }

.aar-copy { display: grid; gap: 1rem; }

.aar-panels {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.aar-panels .panel { padding: 1.2rem; }

.aar-filmstrip {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.aarl-main {
  overflow: hidden;
  border-radius: 0;
  clip-path: var(--chamfer-md);
  border: 1px solid rgba(201, 166, 75, 0.22);
  filter: var(--drop);
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 580px);
}

.aarl-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aarl-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.aarl-thumb {
  overflow: hidden;
  border-radius: 0;
  clip-path: var(--chamfer-sm);
  border: 1px solid rgba(255, 255, 255, 0.13);
  aspect-ratio: 16 / 9;
  max-height: min(50vh, 300px);
}

.aarl-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-grid { display: grid; gap: 1rem; margin-top: 1.7rem; }

.review-card {
  position: relative;
  padding: 1.2rem;
  overflow: hidden;
}

.review-card::after {
  content: '”';
  position: absolute;
  right: 1rem;
  top: -0.2rem;
  font-family: Georgia, serif;
  font-size: 7rem;
  color: rgba(201, 166, 75, 0.16);
  line-height: 1;
}

.review-meta { margin-top: 1rem; color: #ffffff; font-weight: 800; }
.review-date { display: block; color: var(--text-soft); font-size: 0.86rem; font-weight: 600; }

.gallery { background: radial-gradient(circle at 86% 42%, rgba(120, 161, 106, 0.12), transparent 22rem); }

.gallery-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.gallery-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  clip-path: var(--chamfer-md);
  overflow: hidden;
  background: #0e1516;
  filter: drop-shadow(0 0.6rem 1.4rem rgba(0, 0, 0, 0.24));
  transition: filter 280ms ease, border-color 280ms ease;
}

.gallery-button:hover { border-color: rgba(201, 166, 75, 0.5); filter: drop-shadow(0 0.8rem 2rem rgba(0, 0, 0, 0.42)); }

.gallery-button img { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: min(50vh, 320px); object-fit: cover; transition: transform 420ms ease, filter 420ms ease; }
.gallery-button:hover img { transform: scale(1.06); filter: brightness(0.78); }

.gallery-button span {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  padding: 0.62rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  clip-path: var(--chamfer-xs);
  background: rgba(7, 11, 12, 0.72);
  color: var(--text);
  font-weight: 850;
  text-align: left;
}

.download-cta { padding-bottom: 5.2rem; }

.download-panel {
  position: relative;
  display: grid;
  gap: 1.1rem;
  overflow: hidden;
  padding: 1.1rem;
}

.download-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(201, 166, 75, 0.16), transparent 34%, rgba(120, 161, 106, 0.16));
  pointer-events: none;
}

.download-visual {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  clip-path: var(--chamfer-md);
  border: 1px solid rgba(201, 166, 75, 0.22);
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 560px);
}

.download-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.download-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 10, 10, 0.78), transparent); }

.download-copy { position: relative; display: grid; gap: 1rem; }
.download-copy p { color: var(--text-soft); }

.contact-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(201, 166, 75, 0.035));
}

.contact-grid { display: grid; gap: 1.2rem; align-items: start; }

.contact-card { padding: 1.1rem; overflow: hidden; }

.contact-direct { display: grid; gap: 0.75rem; margin-top: 1.2rem; }

.contact-line {
  display: grid;
  gap: 0.1rem;
  padding: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0;
  clip-path: var(--chamfer-sm);
  background: rgba(255, 255, 255, 0.045);
}

.contact-line span { color: var(--text-soft); font-size: 0.86rem; }
.contact-line strong { color: #ffffff; }

.contact-flow {
  display: grid;
  gap: 1rem;
}

.progress-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.progress-node {
  min-height: 0.44rem;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.progress-node::before {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 240ms ease;
}

.progress-node.is-active::before,
.progress-node.is-complete::before { width: 100%; }

.question-card { padding: 1.15rem; }
.question-card[hidden], .contact-form-wrap[hidden], .conditional-field[hidden], .form-status[hidden] { display: none; }
.question-card h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.65rem; line-height: 1.05; }
.question-card p { color: var(--text-soft); margin-top: 0.4rem; }

.choice-grid { display: grid; gap: 0.65rem; margin-top: 1rem; }

.choice-btn {
  min-height: 3.35rem;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  clip-path: var(--chamfer-sm);
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.choice-btn:hover,
.choice-btn.is-selected {
  transform: translateY(-0.06rem);
  border-color: rgba(201, 166, 75, 0.58);
  background: rgba(201, 166, 75, 0.12);
}
.choice-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }

.quiz-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }

.contact-form-wrap { padding: 1.15rem; }

.form-grid { display: grid; gap: 0.82rem; }

.form-field { display: grid; gap: 0.35rem; }

.form-field label { font-weight: 800; color: #ffffff; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 3.15rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.075);
  color: #ffffff;
  padding: 0.78rem 0.85rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea { min-height: 9.5rem; resize: vertical; }
.form-field select option { background: #101819; color: #ffffff; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--accent); box-shadow: 0 0 0 0.22rem rgba(201, 166, 75, 0.14); outline: none; }
.field-hint { color: var(--text-soft); font-size: 0.86rem; }
.checkbox-field { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; align-items: start; }
.checkbox-field input { width: 1.2rem; height: 1.2rem; margin-top: 0.25rem; accent-color: var(--accent); }
.checkbox-field span { color: var(--text-soft); }
.form-status { padding: 0.85rem; border-radius: 0; clip-path: var(--chamfer-sm); border: 1px solid rgba(201, 166, 75, 0.45); background: rgba(201, 166, 75, 0.1); color: #ffffff; }

.site-footer {
  position: relative;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #070a0b;
}

.footer-grid { display: grid; gap: 1.6rem; }
.footer-brand p { color: var(--text-soft); margin-top: 0.9rem; max-width: 34rem; }
.footer-logo { width: 11.5rem; height: auto; }
.footer-columns { display: grid; gap: 1.2rem; }
.footer-column h2 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.08em; margin: 0 0 0.7rem; }
.footer-column ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-column a { color: var(--text-soft); }
.footer-column a:hover { color: var(--accent); }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-soft); font-size: 0.9rem; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(16px);
}

.lightbox[hidden] { display: none; }
.lightbox-dialog { position: relative; width: min(100%, 78rem); }
.lightbox-image { width: 100%; max-height: 78svh; object-fit: contain; border-radius: 0; clip-path: var(--chamfer-md); border: 1px solid rgba(201, 166, 75, 0.3); background: #000; }
.lightbox-caption { margin-top: 0.8rem; color: #ffffff; text-align: center; font-weight: 800; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; }
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  clip-path: var(--chamfer-sm);
  background: rgba(7, 11, 12, 0.88);
  color: #ffffff;
  transition: border-color 180ms ease, filter 180ms ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { border-color: rgba(201, 166, 75, 0.65); filter: drop-shadow(0 0 0.6rem rgba(201, 166, 75, 0.4)); }
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.lightbox-close { right: 0.7rem; top: 0.7rem; }
.lightbox-prev { left: 0.7rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.7rem; top: 50%; transform: translateY(-50%); }

.cookie-banner {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 160;
  padding: 1rem;
  border: 1px solid rgba(201, 166, 75, 0.45);
  border-radius: 0;
  clip-path: var(--chamfer-lg);
  background: rgba(8, 12, 13, 0.96);
  filter: var(--drop-hard);
  backdrop-filter: blur(16px);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.35rem; line-height: 1; }
.cookie-banner p { color: var(--text-soft); margin-top: 0.45rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 0.85rem; }

.page-hero { padding: 4rem 0 2.4rem; }
.page-hero-grid { display: grid; gap: 1.4rem; align-items: center; }
.page-hero h1 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.9; font-size: clamp(2.7rem, 13vw, 5.6rem); }
.page-hero p { margin-top: 1rem; color: var(--text-soft); max-width: 64ch; }
.page-hero-visual { position: relative; overflow: hidden; border-radius: 0; clip-path: var(--chamfer-lg); border: 1px solid rgba(201, 166, 75, 0.28); filter: var(--drop); align-self: start; aspect-ratio: 16 / 9; max-height: min(58vh, 460px); }
.page-hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,12,13,0.08), rgba(8,12,13,0.66)); }

.page-grid { display: grid; gap: 1rem; margin-top: 1.6rem; }
.page-card { padding: 1.15rem; position: relative; overflow: hidden; }
.page-card figure { margin: 1rem 0 0; overflow: hidden; border-radius: 0; clip-path: var(--chamfer-md); border: 1px solid rgba(255, 255, 255, 0.16); aspect-ratio: 16 / 9; max-height: min(58vh, 340px); }
.page-card figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

.legal-content {
  max-width: 880px;
  margin-inline: auto;
  padding: 3rem 0 5rem;
}
.legal-card { padding: 1.2rem; }
.legal-card h1 { font-family: var(--font-head); text-transform: uppercase; font-size: clamp(2.4rem, 12vw, 4.8rem); line-height: 0.9; }
.legal-card h2 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.55rem; margin-top: 1.7rem; }
.legal-card h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.25rem; margin-top: 1.2rem; }
.legal-card p, .legal-card li { color: var(--text-soft); }
.legal-card p { margin-top: 0.72rem; }
.legal-card ul { margin: 0.75rem 0 0; padding-left: 1.2rem; }
.legal-meta { display: inline-flex; margin-top: 1rem; padding: 0.42rem 0.68rem; border: 1px solid rgba(201, 166, 75, 0.45); border-radius: 0; clip-path: var(--chamfer-xs); color: #ffffff; font-family: var(--font-head); text-transform: uppercase; font-size: 0.88rem; letter-spacing: 0.08em; }

.error-404-panel {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  overflow: hidden;
}

.error-404-copy { display: grid; gap: 1.2rem; }
.error-404-copy p { color: var(--text-soft); max-width: 44ch; }

.error-404-visual {
  overflow: hidden;
  border-radius: 0;
  clip-path: var(--chamfer-md);
  border: 1px solid rgba(201, 166, 75, 0.22);
  aspect-ratio: 16 / 9;
  max-height: min(58vh, 400px);
}

.error-404-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 860px) {
  .error-404-panel { grid-template-columns: 1fr 1fr; align-items: center; }
}

.reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes floatCard {
  0%, 100% { transform: rotate(2.2deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-0.55rem); }
}

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

@media (min-width: 640px) {
  .container, .header-inner { width: min(100% - 2rem, var(--max)); }
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-columns { grid-template-columns: repeat(3, 1fr); }
  .form-grid.two { grid-template-columns: repeat(2, 1fr); }
  .aar-panels { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    padding: 0;
    border-bottom: 0;
    background: transparent;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-shell {
    width: auto;
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  .nav-link {
    min-height: 2.5rem;
    padding: 0.55rem 0.7rem;
    border-color: transparent;
    background: transparent;
    font-size: 0.88rem;
    clip-path: none;
  }
  .nav-link[aria-current='page'] {
    border-bottom: 2px solid var(--accent);
    background: rgba(201, 166, 75, 0.09);
    clip-path: none;
  }
  .nav-link:hover { background: rgba(255, 255, 255, 0.06); clip-path: none; }
  .nav-link::after { display: none; }
  .header-cta { display: inline-flex; }
  .hero-grid { grid-template-columns: 0.9fr 1.1fr; }
  .briefing-layout { grid-template-columns: repeat(3, 1fr); }
  .theatre-grid { grid-template-columns: repeat(2, 1fr); }
  .tactics-layout { grid-template-columns: 1fr 0.85fr; }
  .systems-grid { grid-template-columns: 1fr; }
  .system-card { grid-template-columns: 0.62fr 1.38fr; align-items: start; }
  .system-card img { aspect-ratio: 4 / 3; max-height: min(50vh, 320px); border-radius: 0; clip-path: var(--chamfer-sm); }
  .aar-filmstrip { grid-template-columns: 1.6fr 1fr; }
  .aarl-main { aspect-ratio: 4 / 3; max-height: min(70vh, 520px); }
  .aarl-pair { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-button:nth-child(1), .gallery-button:nth-child(6) { grid-column: span 2; grid-row: span 2; aspect-ratio: 1 / 1; }
  .gallery-button:nth-child(1) img, .gallery-button:nth-child(6) img { aspect-ratio: unset; height: 100%; }
  .download-panel { grid-template-columns: 0.9fr 1fr; align-items: center; padding: 1.2rem; }
  .contact-grid { grid-template-columns: 0.82fr 1.18fr; }
  .page-hero-grid { grid-template-columns: 0.8fr 1.2fr; }
  .page-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1080px) {
  .section { padding: 6.3rem 0; }
  .hero { padding-top: 5rem; }
  .front-card.wide { grid-column: span 2; grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .front-card.wide figure { aspect-ratio: 3 / 2; max-height: min(58vh, 420px); border-radius: 0; clip-path: var(--chamfer-md); }
  .cookie-banner { left: auto; right: 1.2rem; bottom: 1.2rem; width: min(31rem, calc(100% - 2.4rem)); }
}

/* === UNIVERSAL MEDIA HEIGHT GUARDS ===
   Hard ceiling on every bounded visual module. Prevents natural image dimensions
   from ever driving section height, regardless of viewport or container size. */
.command-frame,
.page-hero-visual,
.war-table-frame,
.download-visual,
.aarl-main,
.error-404-visual {
  max-height: min(70vh, 640px);
}

.briefing-image,
.front-card figure,
.front-card.wide figure,
.page-card figure,
.system-card img,
.aarl-thumb {
  max-height: min(58vh, 460px);
}

.gallery-button img {
  max-height: min(50vh, 320px);
}

@media (max-width: 767px) {
  .command-frame,
  .page-hero-visual,
  .war-table-frame,
  .download-visual,
  .aarl-main,
  .error-404-visual {
    max-height: min(58vh, 460px);
  }

  .briefing-image,
  .front-card figure,
  .page-card figure,
  .aarl-thumb {
    max-height: min(50vh, 340px);
  }

  .gallery-button img {
    max-height: min(45vh, 260px);
  }
}
