/* Shared design tokens (color, typography). Single source of truth for
   the dark tactical palette. Doctrine page imports the same file. */
@import url("./tokens.css");
@import url("./icons.css");

* {
  box-sizing: border-box;
}

html {
  background: var(--void);
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 68% 16%, rgba(201, 184, 148, 0.109), transparent 30vw),
    radial-gradient(circle at 22% 72%, rgba(165, 106, 82, 0.056), transparent 34vw),
    linear-gradient(180deg, #0a0b0c 0%, #121314 44%, #0a0b0c 100%);
  color: var(--bone);
  font-family: var(--sans);
  letter-spacing: 0;
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 100;
}

body::before {
  background-image:
    linear-gradient(rgba(244, 242, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 232, 0.03) 1px, transparent 1px),
    radial-gradient(circle, rgba(244, 242, 232, 0.16) 0 1px, transparent 1px);
  background-position: 0 0, 0 0, 0 0;
  background-size: 100% 3px, 4px 100%, 178px 178px;
  mix-blend-mode: screen;
  opacity: 0.25;
}

body::after {
  background:
    linear-gradient(90deg, rgba(165, 106, 82, 0.028), transparent 17%, rgba(201, 184, 148, 0.039) 52%, transparent 82%),
    radial-gradient(ellipse at center, transparent 52%, rgba(0, 0, 0, 0.48) 100%);
  mix-blend-mode: screen;
  opacity: 0.78;
}

body::selection {
  background: var(--signal);
  color: var(--void);
}

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

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

:focus-visible {
  outline: 1px solid var(--signal);
  outline-offset: 3px;
}

.button:focus-visible {
  outline-offset: 2px;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

.filter-bank {
  height: 0;
  position: absolute;
  width: 0;
}

.site-header {
  align-items: center;
  color: var(--bone);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 24px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 40;
}

.site-header::before {
  background:
    linear-gradient(180deg, rgba(10, 11, 12, 0.88), rgba(10, 11, 12, 0.1)),
    linear-gradient(90deg, rgba(201, 184, 148, 0.125), transparent 34%, rgba(165, 106, 82, 0.084));
  border-bottom: 1px solid rgba(201, 184, 148, 0.125);
  content: "";
  height: 112px;
  inset: 0 0 auto;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.brand-lockup {
  align-items: center;
  display: inline-flex;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(201, 184, 148, 0.437);
}

/* Brand mark — now an inline <svg><use href="#brand-mark"/></svg>
   referencing the symbol in the SVG sprite at the top of body.
   Strokes inside the symbol use currentColor, so the mark inherits
   text color from .brand-lockup. Drop-shadow filter recreates the
   signal-color glow that the old box-shadow provided. */
.brand-mark {
  display: inline-block;
  filter: drop-shadow(0 0 6px rgba(201, 184, 148, 0.42));
  flex-shrink: 0;
  /* 52:18 aspect (matches the symbol viewBox). At 18px height the rendered
     width is 52px, which matches the original CSS-rendered .brand-mark
     bounding box (34px parallelogram + 13px sensor-sweep extension + skew
     padding). !important defends against intrinsic SVG sizing in flex
     contexts (same defense pattern as .footer-flag). */
  height: 18px !important;
  max-width: 52px;
  vertical-align: middle;
  width: 52px !important;
}

.nav-links {
  display: flex;
  font-family: var(--mono);
  font-size: 0.68rem;
  gap: clamp(14px, 2vw, 32px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links a {
  opacity: 0.7;
  position: relative;
  transition: color 180ms ease, opacity 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.nav-links a::after {
  background: var(--signal);
  box-shadow: 0 0 14px var(--signal);
  content: "";
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: calc(100% + 7px);
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--signal);
  opacity: 1;
  text-shadow: 0 0 16px rgba(201, 184, 148, 0.5);
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero,
.closing {
  background: var(--void);
  color: var(--bone);
  overflow: clip;
  position: relative;
}

.hero {
  min-height: 96svh;
  isolation: isolate;
}

.hero-image,
.hero-scrim,
.hero-fog,
.hero-hud,
.closing-image,
.closing-image img {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  animation: heroDrift 20s ease-in-out infinite alternate;
  filter: grayscale(0.5) saturate(0.72) contrast(1.22) brightness(0.62);
  object-fit: cover;
  object-position: 58% 50%;
  transform: scale(1.045);
  z-index: 0;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(10, 11, 12, 0.92), rgba(10, 11, 12, 0.62) 36%, rgba(10, 11, 12, 0.2) 68%),
    linear-gradient(180deg, rgba(10, 11, 12, 0.12), rgba(10, 11, 12, 0.48) 62%, rgba(10, 11, 12, 0.94));
  z-index: 1;
}

.hero-fog {
  background:
    radial-gradient(ellipse at 58% 46%, rgba(201, 184, 148, 0.187), transparent 38%),
    radial-gradient(ellipse at 76% 72%, rgba(244, 242, 232, 0.12), transparent 34%),
    linear-gradient(90deg, transparent, rgba(138, 132, 118, 0.14), transparent);
  filter: blur(18px);
  mix-blend-mode: screen;
  opacity: 0.78;
  z-index: 2;
}

.hud-layer {
  pointer-events: none;
}

.hero-hud {
  filter: url("#hud-distort");
  opacity: 0.96;
  z-index: 3;
}

.hud-grid {
  background-image:
    linear-gradient(rgba(201, 184, 148, 0.094) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 184, 148, 0.078) 1px, transparent 1px),
    linear-gradient(rgba(244, 242, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 232, 0.05) 1px, transparent 1px);
  background-position: center;
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 86%, transparent);
  opacity: 0.42;
  position: absolute;
}

.scan-band {
  background:
    linear-gradient(180deg, transparent, rgba(201, 184, 148, 0.062), rgba(244, 242, 232, 0.36), rgba(201, 184, 148, 0.062), transparent),
    linear-gradient(90deg, transparent, rgba(201, 184, 148, 0.265), transparent);
  box-shadow: 0 0 42px rgba(201, 184, 148, 0.328);
  height: 18%;
  left: 0;
  opacity: 0.76;
  position: absolute;
  right: 0;
  top: var(--scan-y, 36%);
  transform: translateY(-50%);
}

.scan-reticle {
  height: clamp(220px, 34vw, 520px);
  left: var(--focus-x, 66%);
  position: absolute;
  top: var(--focus-y, 43%);
  transform: translate(-50%, -50%);
  width: clamp(220px, 34vw, 520px);
}

.scan-reticle { display: none; }
.scan-reticle::before,
.scan-reticle::after {
  border: 1px solid rgba(201, 184, 148, 0.296);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(201, 184, 148, 0.172), inset 0 0 24px rgba(201, 184, 148, 0.094);
  content: "";
  inset: 12%;
  position: absolute;
}

.scan-reticle::after {
  border-color: rgba(244, 242, 232, 0.2);
  inset: 36%;
}

.scan-reticle span {
  border-color: var(--signal);
  border-style: solid;
  height: 42px;
  opacity: 0.8;
  position: absolute;
  width: 42px;
}

.scan-reticle span:nth-child(1) {
  border-width: 1px 0 0 1px;
  left: 0;
  top: 0;
}

.scan-reticle span:nth-child(2) {
  border-width: 1px 1px 0 0;
  right: 0;
  top: 0;
}

.scan-reticle span:nth-child(3) {
  border-width: 0 0 1px 1px;
  bottom: 0;
  left: 0;
}

.scan-reticle span:nth-child(4) {
  border-width: 0 1px 1px 0;
  bottom: 0;
  right: 0;
}

.sensor-spine {
  background: linear-gradient(180deg, transparent, var(--signal), transparent);
  height: min(66vh, 620px);
  opacity: 0.9;
  position: absolute;
  right: clamp(34px, 9vw, 142px);
  top: 18%;
  width: 1px;
}

.sensor-spine::before {
  border: 1px solid rgba(201, 184, 148, 0.39);
  content: "";
  height: 100%;
  left: -18px;
  opacity: 0.22;
  position: absolute;
  top: 0;
  width: 36px;
}

.sensor-spine i {
  background: var(--bone);
  box-shadow: 0 0 18px var(--signal);
  height: 5px;
  left: -2px;
  position: absolute;
  top: calc(10% + var(--node) * 18%);
  width: 5px;
}

.classification,
.focus-readout,
.hero-telemetry,
.section-hud,
.panel-hud,
.closing-hud {
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.classification {
  display: flex;
  font-size: 0.68rem;
  gap: 18px;
  left: clamp(22px, 4vw, 56px);
  opacity: 0.74;
  position: absolute;
  top: 118px;
}

.classification { display: none; }
.classification span {
  border-top: 1px solid rgba(201, 184, 148, 0.296);
  padding-top: 8px;
}

.focus-readout {
  border-left: 1px solid rgba(201, 184, 148, 0.343);
  color: var(--bone-soft);
  display: grid;
  font-size: 0.66rem;
  gap: 7px;
  max-width: 260px;
  padding-left: 14px;
  position: absolute;
  right: clamp(22px, 5vw, 64px);
  top: 28%;
}

.focus-readout strong {
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(201, 184, 148, 0.484);
}

.hero-content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 96svh;
  padding: 132px clamp(22px, 7vw, 96px) 142px;
  position: relative;
  width: min(780px, 100%);
  z-index: 5;
}

.eyebrow,
.section-kicker {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin: 0 0 18px;
  text-shadow: 0 0 18px rgba(201, 184, 148, 0.429);
  text-transform: uppercase;
}

.eyebrow.dark,
.section-kicker {
  color: var(--signal);
}

h1 {
  color: var(--bone);
  font-size: clamp(5rem, 18vw, 14rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  margin-bottom: 28px;
  text-shadow:
    0 0 3px rgba(244, 242, 232, 0.65),
    0 0 36px rgba(201, 184, 148, 0.296),
    2px 0 0 rgba(165, 106, 82, 0.126),
    -2px 0 0 rgba(201, 184, 148, 0.172);
}

h2,
h3 {
  color: var(--bone);
  text-shadow: 0 0 22px rgba(201, 184, 148, 0.14);
}

.hero-copy {
  align-self: stretch;
  color: rgba(244, 242, 232, 0.82);
  font-size: clamp(1.02rem, 1.5vw, 1.26rem);
  line-height: 1.58;
  max-width: 590px;
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  align-items: center;
  background: rgba(20, 21, 22, 0.64);
  border: 1px solid rgba(201, 184, 148, 0.328);
  color: var(--bone);
  display: inline-flex;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  isolation: isolate;
  justify-content: center;
  min-height: 48px;
  overflow: hidden;
  padding: 0 20px;
  position: relative;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.button::before {
  background: linear-gradient(90deg, transparent, rgba(201, 184, 148, 0.281), transparent);
  content: "";
  inset: 0 auto 0 -80%;
  position: absolute;
  transform: skewX(-18deg);
  transition: left 300ms ease;
  width: 76%;
  z-index: -1;
}

.button:hover,
.button:focus-visible {
  border-color: var(--signal);
  color: white;
  text-shadow: 0 0 16px rgba(201, 184, 148, 0.5);
  transform: translateY(-2px);
}

.button:hover::before,
.button:focus-visible::before {
  left: 112%;
}

.button.primary {
  background: var(--bone);
  border-color: var(--bone);
  box-shadow: 0 0 28px rgba(232, 226, 209, 0.18), inset 0 0 0 1px rgba(10, 11, 12, 0.08);
  color: #111213;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #fff7e6;
  border-color: #fff7e6;
  color: #0a0b0c;
  text-shadow: none;
}

.button.primary::before {
  background: linear-gradient(90deg, transparent, rgba(10, 11, 12, 0.12), transparent);
}

.button.secondary {
  backdrop-filter: blur(14px);
}

.button.light {
  margin-top: 12px;
}

.hero-telemetry {
  display: grid;
  gap: 12px;
  max-width: 330px;
  opacity: 0.55;
  position: absolute;
  right: clamp(22px, 5vw, 64px);
  top: 52%;
  transform: translateY(-50%);
  transition: opacity 260ms ease;
  z-index: 5;
}

.hero:hover .hero-telemetry,
.hero:focus-within .hero-telemetry {
  opacity: 1;
}

.hero-telemetry div {
  background: rgba(10, 11, 12, 0.54);
  border-left: 1px solid rgba(201, 184, 148, 0.359);
  box-shadow: inset 0 0 24px rgba(201, 184, 148, 0.047);
  display: grid;
  gap: 6px;
  padding: 13px 15px;
}

.hero-telemetry span {
  color: rgba(244, 242, 232, 0.52);
  font-size: 0.62rem;
}

.hero-telemetry strong {
  color: var(--signal);
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-status {
  border-top: 1px solid rgba(201, 184, 148, 0.187);
  bottom: 0;
  display: grid;
  font-family: var(--mono);
  font-size: 0.7rem;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  left: 0;
  letter-spacing: 0.08em;
  position: absolute;
  right: 0;
  text-transform: uppercase;
  z-index: 6;
}

.hero-status span {
  background: rgba(10, 11, 12, 0.66);
  box-shadow: inset 0 1px 0 rgba(244, 242, 232, 0.08);
  min-width: 0;
  padding: 17px clamp(14px, 4vw, 56px);
}

.hero-status strong {
  color: var(--signal);
  margin-right: 10px;
}

.hero-status span.is-active {
  color: white;
  text-shadow: 0 0 16px rgba(201, 184, 148, 0.452);
}

.scan-section {
  overflow: clip;
  position: relative;
}

.scan-section::before {
  background-image:
    linear-gradient(rgba(201, 184, 148, 0.062) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 184, 148, 0.062) 1px, transparent 1px);
  background-size: 92px 92px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 84%, transparent);
  opacity: 0.18;
  pointer-events: none;
  position: absolute;
}

.scan-section::after {
  background: linear-gradient(90deg, transparent, rgba(201, 184, 148, 0.14), transparent);
  content: "";
  height: 1px;
  left: 0;
  opacity: 0.8;
  position: absolute;
  right: 0;
  top: var(--section-scan-y, 50%);
}

.section-hud {
  color: rgba(244, 242, 232, 0.54);
  display: flex;
  font-size: 0.65rem;
  gap: 16px;
  justify-content: space-between;
  left: clamp(22px, 5vw, 72px);
  pointer-events: none;
  position: absolute;
  right: clamp(22px, 5vw, 72px);
  top: 24px;
  z-index: 2;
}

/* Wall-to-wall doctrine: monster H2 + paragraph leads the section,
   then a wall-to-wall figure follows as supporting context. The 2-col
   grid was making the figure compete with the H2 as prime landing-action;
   stacking + viewport bleed demotes it to a supporting frame. */
.mission-band {
  background:
    radial-gradient(circle at 74% 20%, rgba(201, 184, 148, 0.078), transparent 28vw),
    linear-gradient(180deg, #141516, #1c1e1f);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(76px, 10vw, 126px) clamp(22px, 5vw, 72px) 0;
}

.mission-band > * {
  position: relative;
  z-index: 1;
}

/* Order swap: text block leads, figure follows. The kicker "Hull Anatomy"
   stays bundled with the figure (it labels the figure, not the H2). */
.mission-left {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  order: 2;
}

.mission-right {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
  order: 1;
}

.mission-band h2 {
  font-size: clamp(2.1rem, 5.6vw, 6.4rem);
  font-weight: 850;
  line-height: 0.96;
  margin-bottom: 0;
  max-width: 980px;
}

.mission-band p {
  color: var(--bone-soft);
  font-size: 1rem;
  line-height: 1.72;
  max-width: 460px;
}

/* Platforms section disclaimer — concept-target framing. */
.platforms-disclaimer {
  border-top: 1px solid var(--line);
  color: var(--bone-soft);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.7rem;
  gap: 22px;
  letter-spacing: 0.08em;
  margin-top: 22px;
  padding-top: 16px;
  text-transform: uppercase;
}

.platforms-disclaimer span:first-child {
  color: var(--signal);
  text-shadow: 0 0 14px rgba(201, 184, 148, 0.42);
}

/* Mission figure — integrated scan zone, no frame, hud overlays, edge-bleed.
   Wall-to-wall: escapes the section's horizontal padding to reach the
   viewport edges. Body has overflow-x:hidden so 100vw is safe. */
.mission-figure {
  isolation: isolate;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  max-width: none;
  overflow: visible;
  position: relative;
  width: 100vw;
}

.mission-figure img {
  display: block;
  filter: grayscale(0.62) saturate(0.6) contrast(1.18) brightness(0.7);
  height: auto;
  transition: filter 500ms ease, transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  /* Bleed the image into the section bg via radial vignette + bottom fade.
     No hard rectangular edge — the image dissolves into the page. */
  -webkit-mask-image:
    radial-gradient(ellipse 110% 130% at 50% 35%, #000 55%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image:
    radial-gradient(ellipse 110% 130% at 50% 35%, #000 55%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, #000 60%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.mission-figure:hover img,
.mission-figure:focus-within img {
  filter: grayscale(0.32) saturate(0.78) contrast(1.22) brightness(0.82);
  transform: scale(1.012);
}

/* Soft volumetric fog over the image — scatters the harsh edges and
   gives it the same hazy depth as the hero. */
.mission-figure-fog {
  background:
    radial-gradient(ellipse at 32% 58%, rgba(201, 184, 148, 0.16), transparent 48%),
    radial-gradient(ellipse at 78% 30%, rgba(232, 226, 209, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(10, 11, 12, 0.18), transparent 36%, rgba(10, 11, 12, 0.55));
  filter: blur(14px);
  inset: -4%;
  mix-blend-mode: screen;
  opacity: 0.78;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

/* Scan grid overlay — same vocabulary as the hero hud-grid, lower density. */
.mission-figure-grid {
  background-image:
    linear-gradient(rgba(201, 184, 148, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 184, 148, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(232, 226, 209, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 226, 209, 0.04) 1px, transparent 1px);
  background-position: center;
  background-size: 96px 96px, 96px 96px, 18px 18px, 18px 18px;
  inset: 6% 4%;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 86%);
  mix-blend-mode: screen;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

/* Scan band sweeps when section enters view (matches existing scan-zone behavior). */
.mission-figure-band {
  background:
    linear-gradient(180deg, transparent, rgba(201, 184, 148, 0.08), rgba(232, 226, 209, 0.34), rgba(201, 184, 148, 0.08), transparent);
  box-shadow: 0 0 38px rgba(201, 184, 148, 0.34);
  height: 14%;
  left: 0;
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateY(-120%);
  z-index: 3;
}

.mission-figure.is-visible .mission-figure-band,
.scan-section .mission-figure.is-visible .mission-figure-band {
  /* Delay so the scan fires after the reveal settles, not during it */
  animation: missionFigureScan 1100ms cubic-bezier(0.16, 1, 0.3, 1) 300ms forwards;
}

@keyframes missionFigureScan {
  0% { opacity: 0; transform: translateY(-120%); }
  18%, 84% { opacity: 1; }
  100% { opacity: 0; transform: translateY(720%); }
}

/* Anatomy callouts — thin guide line + mono label. NOT corner fiducials. */
.mission-callouts {
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.mission-callouts .callout {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  position: absolute;
  text-transform: uppercase;
}

.mission-callouts .callout-line {
  background: linear-gradient(90deg, transparent, var(--signal) 40%, var(--signal));
  box-shadow: 0 0 14px rgba(201, 184, 148, 0.55);
  display: block;
  height: 1px;
  width: 70px;
}

.mission-callouts .callout-label {
  align-items: baseline;
  color: var(--bone);
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  text-shadow: 0 0 10px rgba(10, 11, 12, 0.9), 0 0 22px rgba(10, 11, 12, 0.6);
}

.mission-callouts .callout-label b {
  color: var(--signal);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-shadow: 0 0 14px rgba(201, 184, 148, 0.55);
}

.mission-callouts .callout-label i {
  color: var(--bone-soft);
  font-size: 0.56rem;
  font-style: normal;
  letter-spacing: 0.08em;
}

.mission-callouts .callout-mast {
  display: grid;
  gap: 6px;
  grid-template-columns: 70px auto;
  align-items: center;
  left: 36%;
  top: 18%;
  transform: translate(-100%, -100%);
}

.mission-callouts .callout-mast .callout-line {
  background: linear-gradient(90deg, var(--signal), var(--signal) 60%, transparent);
  order: 2;
  width: 70px;
}

.mission-callouts .callout-mast .callout-label {
  order: 1;
  text-align: right;
  align-items: flex-end;
}

.mission-callouts .callout-hull {
  display: grid;
  gap: 6px;
  grid-template-columns: 70px auto;
  align-items: center;
  left: 56%;
  top: 64%;
}

.mission-callouts .callout-wake {
  display: grid;
  gap: 6px;
  grid-template-columns: auto 70px;
  align-items: center;
  left: 8%;
  top: 78%;
}

.mission-callouts .callout-wake .callout-label {
  text-align: right;
  align-items: flex-end;
}
.mission-callouts .callout-wake .callout-line {
  background: linear-gradient(90deg, transparent, var(--signal) 40%, var(--signal));
  order: 2;
}

/* Figure ID chip — traceability discipline (per visual-systems-architect
   schema tech_manual_illustrations_v1.figure_id). Every named figure on
   the site carries a FIG-XXX-NNN identifier so it can be referenced
   externally and so source traceability is visible to the reader.
   Used inside any figcaption across mission / platforms / ops / run / fleet. */
.figure-id {
  background: rgba(201, 184, 148, 0.1);
  border: 1px solid rgba(201, 184, 148, 0.32);
  color: var(--signal);
  display: inline-block;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-right: 8px;
  padding: 3px 7px;
  text-transform: uppercase;
  vertical-align: baseline;
}

/* Caption: bleeds into the section bg, no hard scrim, mono spec. */
.mission-figure figcaption {
  align-items: baseline;
  border-top: 1px solid rgba(201, 184, 148, 0.16);
  color: var(--bone-soft);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.66rem;
  gap: 18px;
  justify-content: space-between;
  letter-spacing: 0.1em;
  margin: 14px clamp(2px, 1vw, 8px) 0;
  padding-top: 12px;
  text-transform: uppercase;
}

.mission-figure figcaption span:last-child {
  color: var(--signal);
  text-shadow: 0 0 14px rgba(201, 184, 148, 0.42);
}

@media (max-width: 720px) {
  .mission-callouts .callout-mast,
  .mission-callouts .callout-hull,
  .mission-callouts .callout-wake { display: none; }
}

/* Wall-to-wall doctrine: split-copy text block leads, split-media follows
   wall-to-wall. Was 2-col grid (text|image side-by-side); now stacked. */
.split-section {
  background:
    linear-gradient(90deg, rgba(10, 11, 12, 0.96), rgba(22, 24, 26, 0.94)),
    radial-gradient(circle at 62% 48%, rgba(201, 184, 148, 0.078), transparent 30vw);
  color: var(--bone);
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.split-copy {
  align-self: center;
  padding: clamp(66px, 8vw, 112px) clamp(22px, 5vw, 72px);
  position: relative;
  z-index: 2;
}

.split-copy h2,
.fleet-copy h2,
.closing h2 {
  font-size: clamp(2.1rem, 5.6vw, 6.4rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 24px;
}

.split-copy p {
  color: var(--bone-soft);
  line-height: 1.72;
  max-width: 520px;
}

.metric-list {
  border-top: 1px solid rgba(201, 184, 148, 0.156);
  display: grid;
  gap: 0;
  margin: 36px 0 0;
}

.metric-list div {
  border-bottom: 1px solid rgba(201, 184, 148, 0.156);
  display: grid;
  gap: 16px;
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 17px 0;
}

.metric-list dt {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-list dd {
  color: var(--bone);
  margin: 0;
}

/* Wall-to-wall: split-media escapes section padding (none here, but the
   100vw + neg margin trick still positions it edge-to-edge regardless of
   the parent's padding). 3:1 aspect matches the platforms/ops anchor
   rhythm. Heavier filter brings ZC1.jpg in line with the dark palette. */
.split-media {
  aspect-ratio: 3 / 1;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
  min-height: 0;
  overflow: clip;
  position: relative;
  width: 100vw;
}

.split-media img {
  filter: grayscale(0.7) saturate(0.5) contrast(1.18) brightness(0.6);
  height: 100%;
  inset: 0;
  left: 0;
  object-fit: cover;
  object-position: 52% 50%;
  position: absolute;
  top: 0;
  width: 100%;
}

.scan-panel {
  background: var(--black-glass);
  isolation: isolate;
  overflow: clip;
  position: relative;
}

.scan-panel::before,
.scan-panel::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.scan-panel::before {
  display: none;
}

.scan-panel::after {
  background:
    linear-gradient(90deg, transparent, rgba(201, 184, 148, 0.265), transparent),
    linear-gradient(180deg, rgba(244, 242, 232, 0.26), transparent 42%, transparent);
  box-shadow: 0 0 28px rgba(201, 184, 148, 0.265);
  height: 18%;
  left: 0;
  opacity: 0;
  right: 0;
  top: 0;
  transform: translateY(-120%);
}

/* Scan fires once when the panel enters view — delayed so it runs after
   the reveal settles, not simultaneously with it. Hover and focus-within
   do NOT re-trigger the animation; the image scale+filter handles that
   feedback. Re-firing the animation on hover restarts from the forwards-
   filled end state, causing a visible jump. */
.scan-panel.is-visible::after {
  animation: panelScan 760ms cubic-bezier(0.16, 1, 0.3, 1) 220ms forwards;
}

.scan-panel[data-panel-label] > img {
  transition: filter 400ms ease, transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scan-panel[data-panel-label]::before {
  display: none;
}

.scan-panel:hover img,
.scan-panel:focus-within img {
  filter: grayscale(0) saturate(0.86) contrast(1.2) brightness(0.9);
  transform: scale(1.025);
}

.panel-hud {
  bottom: 24px;
  color: var(--bone-soft);
  display: flex;
  font-size: 0.64rem;
  gap: 12px;
  justify-content: space-between;
  left: 24px;
  pointer-events: none;
  position: absolute;
  right: 24px;
  z-index: 3;
}

.panel-hud span {
  background: rgba(10, 11, 12, 0.52);
  border-left: 1px solid rgba(201, 184, 148, 0.359);
  padding: 8px 10px;
}

.system-section {
  background:
    radial-gradient(circle at 22% 18%, rgba(201, 184, 148, 0.078), transparent 25vw),
    linear-gradient(180deg, #1a1c1d, #111213);
  padding: clamp(78px, 10vw, 138px) clamp(22px, 5vw, 72px);
}

.system-section > h2 {
  font-size: clamp(2.1rem, 5.6vw, 6.4rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: clamp(42px, 7vw, 92px);
  max-width: 1120px;
  position: relative;
  z-index: 1;
}

.capability-grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}

.capability {
  background: linear-gradient(180deg, rgba(201, 184, 148, 0.027), transparent);
  border-right: 1px solid var(--line);
  min-height: 310px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 42px);
  position: relative;
}

.capability::after {
  background: var(--signal);
  box-shadow: 0 0 18px var(--signal);
  content: "";
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 0;
}

.capability.is-visible::after {
  animation: plotLine 620ms ease forwards;
}

.capability:last-child {
  border-right: 0;
}

.capability-index {
  color: var(--signal);
  display: block;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 84px;
  text-shadow: 0 0 18px rgba(201, 184, 148, 0.468);
}

.capability h3 {
  font-size: clamp(1.5rem, 3vw, 3.1rem);
  line-height: 0.98;
  margin-bottom: 18px;
}

.capability p {
  color: var(--bone-soft);
  line-height: 1.68;
  max-width: 360px;
}

.ops-section {
  background:
    radial-gradient(circle at 18% 24%, rgba(201, 184, 148, 0.08), transparent 28vw),
    linear-gradient(180deg, #111213, #0c0d0e);
  padding: clamp(78px, 10vw, 138px) clamp(22px, 5vw, 72px) clamp(54px, 7vw, 96px);
  position: relative;
}

.ops-section > h2 {
  font-size: clamp(2.1rem, 5.6vw, 6.4rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 18px;
  max-width: 1120px;
  position: relative;
  z-index: 1;
}

.ops-intro {
  color: var(--bone-soft);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
  margin: 0 0 clamp(38px, 5vw, 64px);
  max-width: 640px;
  position: relative;
  z-index: 1;
}

/* SD-2014 ground-truth anchor: full-bleed banner between ops intro and
   mission stills. Same wall-to-wall + heavy dark filter discipline as
   platforms-anchor. Lets monster typography "The software the hull carries"
   stay the prime impact element above; image reads as supporting frame. */
.ops-anchor {
  margin-bottom: clamp(24px, 3vw, 36px);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
  position: relative;
  width: 100vw;
}

.ops-anchor img {
  aspect-ratio: 3 / 1;
  display: block;
  filter: grayscale(0.82) saturate(0.4) contrast(1.22) brightness(0.5) !important;
  height: auto;
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
}

.ops-anchor:hover img,
.ops-anchor:focus-within img {
  filter: grayscale(0.6) saturate(0.6) contrast(1.22) brightness(0.62) !important;
}

.ops-anchor figcaption {
  border-top: 1px solid var(--line);
  color: var(--bone-soft);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 14px clamp(20px, 5vw, 64px);
  text-transform: uppercase;
}


.ops-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: clamp(36px, 5vw, 64px);
  position: relative;
  z-index: 1;
}

.ops-frame {
  background: var(--black-glass);
  margin: 0;
  overflow: clip;
  position: relative;
}

.ops-frame img {
  aspect-ratio: 16 / 10;
  display: block;
  filter: brightness(0.78) contrast(1.06) saturate(0.88);
  height: auto;
  object-fit: cover;
  transition: filter 380ms ease, transform 380ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
}

.ops-frame:hover img,
.ops-frame:focus-within img {
  filter: brightness(0.94) contrast(1.08) saturate(1);
  transform: scale(1.02);
}

.ops-frame figcaption {
  border-top: 1px solid var(--line);
  color: var(--bone-soft);
  display: flex;
  font-family: var(--mono);
  font-size: 0.66rem;
  gap: 12px;
  letter-spacing: 0.1em;
  padding: 12px 14px;
  text-transform: uppercase;
}

.ops-frame figcaption span {
  color: var(--signal);
  flex-shrink: 0;
}

.ops-embed {
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.ops-embed-hud {
  align-items: center;
  background: rgba(10, 11, 12, 0.7);
  border-bottom: 1px solid var(--line);
  color: var(--bone-soft);
  display: flex;
  font-family: var(--mono);
  font-size: 0.66rem;
  justify-content: space-between;
  letter-spacing: 0.11em;
  padding: 12px 18px;
  text-transform: uppercase;
}

.ops-embed-hud a {
  color: var(--signal);
  transition: color 180ms ease;
}

.ops-embed-hud a:hover,
.ops-embed-hud a:focus-visible {
  color: var(--bone);
}

.ops-embed iframe {
  aspect-ratio: 16 / 10;
  background: #0a192f;
  border: 0;
  display: block;
  height: auto;
  width: 100%;
}

.ops-embed-poster {
  appearance: none;
  aspect-ratio: 16 / 10;
  background: #0a192f;
  border: 0;
  cursor: pointer;
  display: block;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.ops-embed-poster img {
  filter: brightness(0.62) contrast(1.06) saturate(0.92);
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: filter 420ms ease, transform 420ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
}

.ops-embed-poster::after {
  background:
    radial-gradient(ellipse at 50% 56%, rgba(10, 11, 12, 0) 0%, rgba(10, 11, 12, 0.55) 70%),
    linear-gradient(180deg, rgba(10, 11, 12, 0.1), rgba(10, 11, 12, 0.55));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 240ms ease;
}

.ops-embed-poster:hover img,
.ops-embed-poster:focus-visible img {
  filter: brightness(0.78) contrast(1.08) saturate(1);
  transform: scale(1.015);
}

.ops-embed-play {
  align-items: center;
  background: rgba(10, 11, 12, 0.62);
  border: 1px solid var(--signal);
  color: var(--bone);
  display: inline-flex;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  gap: 12px;
  left: 50%;
  letter-spacing: 0.13em;
  padding: 14px 22px 14px 18px;
  position: absolute;
  text-transform: uppercase;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
  z-index: 2;
}

.ops-embed-poster:hover .ops-embed-play,
.ops-embed-poster:focus-visible .ops-embed-play {
  background: var(--bone);
  color: #111213;
  transform: translate(-50%, -50%) scale(1.04);
}

.ops-embed-play svg {
  color: var(--signal);
  flex-shrink: 0;
  transition: color 200ms ease;
}

.ops-embed-poster:hover .ops-embed-play svg,
.ops-embed-poster:focus-visible .ops-embed-play svg {
  color: #111213;
}

@media (max-width: 980px) {
  .ops-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-embed iframe {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .ops-strip {
    grid-template-columns: 1fr;
  }

  .ops-section {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.image-run {
  background: var(--void);
  color: var(--bone);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.run-panel {
  margin: 0;
  min-height: 620px;
}

.run-panel img {
  filter: grayscale(0.5) saturate(0.72) contrast(1.08) brightness(0.76);
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.run-panel figcaption {
  background: linear-gradient(0deg, rgba(10, 11, 12, 0.86), rgba(10, 11, 12, 0));
  bottom: 0;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 0.72rem;
  left: 0;
  letter-spacing: 0.08em;
  padding: 90px clamp(20px, 4vw, 46px) 28px;
  position: absolute;
  right: 0;
  text-transform: uppercase;
  z-index: 3;
}

/* Platforms section ------------------------------------------------------- */

.platforms-section {
  background:
    radial-gradient(circle at 78% 14%, rgba(201, 184, 148, 0.06), transparent 28vw),
    linear-gradient(180deg, #0c0d0e 0%, #131416 50%, #0c0d0e 100%);
  padding: clamp(78px, 10vw, 138px) clamp(22px, 5vw, 72px);
}

.platforms-intro {
  display: grid;
  gap: 14px;
  max-width: 880px;
  position: relative;
  z-index: 1;
}

.platforms-intro h2 {
  font-size: clamp(2.1rem, 5.6vw, 6.4rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 4px;
}

.platforms-intro p {
  color: var(--bone-soft);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.66;
  max-width: 720px;
}

/* Reference-build anchor: full-bleed banner between platforms intro and the
   spec grid. Wall-to-wall (escapes section padding via 50vw trick), 3:1
   banner aspect so it reads as supporting frame, not prime landing-action.
   Heavy dark filter forces daylight source imagery to submit to the
   tactical palette. !important on filter to win against any scan-panel
   hover override and stay disciplined. */
.platforms-anchor {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: clamp(28px, 4vw, 48px);
  max-width: none;
  position: relative;
  width: 100vw;
}

.platforms-anchor img {
  aspect-ratio: 3 / 1;
  display: block;
  filter: grayscale(0.82) saturate(0.4) contrast(1.22) brightness(0.5) !important;
  height: auto;
  object-fit: cover;
  object-position: 50% 38%;
  width: 100%;
}

.platforms-anchor:hover img,
.platforms-anchor:focus-within img {
  filter: grayscale(0.6) saturate(0.6) contrast(1.22) brightness(0.62) !important;
}

.platforms-anchor figcaption {
  border-top: 1px solid var(--line);
  color: var(--bone-soft);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 14px clamp(20px, 5vw, 64px);
  text-transform: uppercase;
}


.platforms-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(36px, 5vw, 64px);
  position: relative;
  z-index: 1;
}

.platform-card {
  background: linear-gradient(180deg, rgba(201, 184, 148, 0.035), transparent 60%);
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 2.6vw, 36px);
  position: relative;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.platform-card:hover,
.platform-card:focus-within {
  background: linear-gradient(180deg, rgba(201, 184, 148, 0.07), transparent 70%);
  border-color: rgba(201, 184, 148, 0.32);
  transform: translateY(-2px);
}

.platform-head {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.platform-tag {
  align-items: center;
  border: 1px solid var(--signal);
  box-shadow: 0 0 22px rgba(201, 184, 148, 0.22), inset 0 0 14px rgba(201, 184, 148, 0.08);
  color: var(--signal);
  display: inline-flex;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  letter-spacing: 0.04em;
  width: 42px;
}

.platform-name {
  color: var(--bone);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0;
}

.platform-role {
  color: var(--bone-soft);
  font-size: 0.86rem;
  margin: 2px 0 0;
}

.platform-status {
  background: rgba(10, 11, 12, 0.6);
  border: 1px solid var(--line);
  color: var(--bone-soft);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  padding: 5px 9px;
  text-transform: uppercase;
}

.platform-status.is-baseline {
  border-color: rgba(201, 184, 148, 0.6);
  color: var(--signal);
  text-shadow: 0 0 14px rgba(201, 184, 148, 0.45);
}

.platform-blurb {
  color: var(--bone-soft);
  font-size: 0.96rem;
  line-height: 1.62;
  margin: 0;
}

.platform-specs {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 4px 0 0;
}

.platform-specs > div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 4px;
  padding: 12px 0;
}

.platform-specs > div:nth-child(2n-1) {
  padding-right: 18px;
}

.platform-specs dt {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platform-specs dd {
  color: var(--bone);
  font-size: 0.92rem;
  margin: 0;
}

.platform-employment {
  border-top: 1px dashed rgba(201, 184, 148, 0.18);
  color: var(--bone-soft);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
  padding-top: 12px;
}

.platforms-footer {
  align-items: center;
  color: var(--bone-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
  margin-top: clamp(36px, 5vw, 64px);
  position: relative;
  z-index: 1;
}

.platforms-footer span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  max-width: 640px;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .platforms-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .platforms-section { padding-left: 18px; padding-right: 18px; }
  .platform-specs { grid-template-columns: 1fr; }
  .platform-specs > div:nth-child(2n-1) { padding-right: 0; }
}

/* Doctrine teaser --------------------------------------------------------- */

.doctrine-teaser {
  background:
    radial-gradient(circle at 22% 88%, rgba(201, 184, 148, 0.05), transparent 24vw),
    linear-gradient(180deg, #0c0d0e 0%, #111213 100%);
  padding: clamp(78px, 9vw, 130px) clamp(22px, 5vw, 72px);
}

.doctrine-teaser-inner {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  position: relative;
  z-index: 1;
}

.doctrine-teaser-copy h2 {
  font-size: clamp(2rem, 5vw, 5.4rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 22px;
}

.doctrine-teaser-copy p {
  color: var(--bone-soft);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.66;
  margin: 0 0 24px;
  max-width: 640px;
}

.doctrine-teaser-copy em {
  color: var(--bone);
  font-style: italic;
}

.doctrine-tease-list {
  align-self: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.doctrine-tease-list li {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
  display: grid;
  font-family: var(--mono);
  font-size: 0.86rem;
  gap: 18px;
  grid-template-columns: 42px 1fr;
  letter-spacing: 0.04em;
  padding: 14px 0;
}

.doctrine-tease-list li span {
  color: var(--signal);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 0 14px rgba(201, 184, 148, 0.42);
}

@media (max-width: 980px) {
  .doctrine-teaser-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .doctrine-teaser { padding-left: 18px; padding-right: 18px; }
}

/* Program section --------------------------------------------------------- */

.program-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 184, 148, 0.07), transparent 28vw),
    linear-gradient(180deg, #0c0d0e 0%, #131416 48%, #0c0d0e 100%);
  padding: clamp(78px, 10vw, 138px) clamp(22px, 5vw, 72px);
}

.program-intro {
  display: grid;
  gap: 18px;
  max-width: 980px;
  position: relative;
  z-index: 1;
}

.program-intro h2 {
  font-size: clamp(2.1rem, 5.6vw, 6.4rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 8px;
}

.program-intro p {
  color: var(--bone-soft);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.66;
  max-width: 720px;
}

.program-meta {
  color: var(--bone-soft);
  display: flex !important;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.7rem;
  gap: 22px;
  letter-spacing: 0.1em;
  margin-top: 4px !important;
  text-transform: uppercase;
}

.program-meta span {
  border-left: 1px solid var(--line);
  padding-left: 12px;
}

.program-grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: clamp(40px, 6vw, 78px) 0 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.program-card {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  margin: 0;
  min-height: 280px;
}

.program-card:nth-child(4n) {
  border-right: 0;
}

.program-card:nth-last-child(-n+4) {
  border-bottom: 0;
}

.program-card a {
  background: linear-gradient(180deg, rgba(201, 184, 148, 0.025), transparent);
  color: inherit;
  display: grid;
  gap: 14px;
  height: 100%;
  padding: clamp(22px, 2.6vw, 36px);
  position: relative;
  text-decoration: none;
  transition: background 220ms ease, transform 220ms ease;
}

.program-card a::after {
  background: var(--signal);
  box-shadow: 0 0 18px var(--signal);
  content: "";
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 0;
  transition: width 420ms ease, opacity 220ms ease;
}

.program-card a:hover,
.program-card a:focus-visible {
  background: linear-gradient(180deg, rgba(201, 184, 148, 0.06), transparent 80%);
  transform: translateY(-2px);
}

.program-card a:hover::after,
.program-card a:focus-visible::after {
  opacity: 1;
  width: 100%;
}

.program-index {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 0 0 16px rgba(201, 184, 148, 0.42);
}

.program-card h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.program-card p {
  color: var(--bone-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.program-link {
  align-self: end;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 6px;
  text-transform: uppercase;
}

.program-link span {
  display: inline-block;
  margin-left: 6px;
  transition: transform 200ms ease;
}

.program-card a:hover .program-link span,
.program-card a:focus-visible .program-link span {
  transform: translateX(4px);
}

/* Named blockers — surfaces WSA-06 §2 unresolved items. Per SWARM
   discipline: ambiguity stays visible in the release record, not
   hidden behind a count. Compact 2-col grid, B-XX badge per item. */
.blockers-block {
  margin-top: clamp(48px, 6vw, 80px);
  position: relative;
  z-index: 1;
}

.blockers-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 44px);
  max-width: 760px;
}

.blockers-head h3 {
  color: var(--bone);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.blockers-intro {
  color: var(--bone-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.blockers-intro a {
  color: var(--signal);
  text-decoration: underline;
  text-decoration-color: rgba(201, 184, 148, 0.4);
  text-underline-offset: 3px;
}

.blockers-intro a:hover {
  text-decoration-color: var(--signal);
}

.blockers-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.blockers-list li {
  background: rgba(20, 21, 22, 0.5);
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: clamp(18px, 2.4vw, 24px);
  position: relative;
}

.blocker-id {
  align-self: start;
  background: rgba(165, 106, 82, 0.12);
  border: 1px solid rgba(165, 106, 82, 0.5);
  color: var(--alert);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 5px 10px;
  text-transform: uppercase;
}

.blocker-title {
  color: var(--bone);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.32;
  margin: 0 0 6px;
}

.blocker-desc {
  color: var(--bone-soft);
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0 0 10px;
}

.blocker-path {
  color: var(--bone);
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0;
}

.blocker-path span {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-right: 6px;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .blockers-list {
    grid-template-columns: 1fr;
  }
}

.program-footer {
  align-items: center;
  color: var(--bone-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
  margin-top: clamp(36px, 5vw, 64px);
  position: relative;
  z-index: 1;
}

.program-footer span {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .program-card { border-right: 1px solid var(--line); }
  .program-card:nth-child(2n) { border-right: 0; }
  .program-card:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .program-card:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 720px) {
  .program-section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .program-grid {
    grid-template-columns: 1fr;
  }
  .program-card { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .program-card:last-child { border-bottom: 0 !important; }
}

.fleet-section {
  background:
    linear-gradient(180deg, #131416, #1d1f21 54%, #0c0d0e);
  padding: clamp(78px, 9vw, 126px) 0 clamp(54px, 7vw, 96px);
}

.fleet-copy {
  display: grid;
  gap: 24px;
  grid-template-columns: 0.45fr minmax(0, 1fr);
  padding: 0 clamp(22px, 5vw, 72px) clamp(38px, 6vw, 70px);
  position: relative;
  z-index: 1;
}

.fleet-copy .eyebrow {
  padding-top: 12px;
}

.fleet-copy h2 {
  max-width: 1040px;
}

.fleet-strip {
  display: grid;
  gap: 18px;
  grid-auto-columns: minmax(330px, 42vw);
  grid-auto-flow: column;
  overflow-x: auto;
  padding: 0 clamp(22px, 5vw, 72px) 18px;
  position: relative;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--signal) transparent;
  z-index: 1;
}

.fleet-strip figure {
  margin: 0;
  scroll-snap-align: start;
}

.fleet-strip img {
  aspect-ratio: 16 / 10;
  filter: grayscale(0.62) saturate(0.6) contrast(1.1) brightness(0.72);
  height: auto;
  object-fit: cover;
  width: 100%;
}

.fleet-strip figcaption {
  border-bottom: 1px solid var(--line);
  color: var(--bone-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.55;
  min-height: 66px;
  padding: 14px 0 16px;
  text-transform: uppercase;
}

.closing {
  min-height: 88svh;
}

.closing-image img {
  filter: grayscale(0.35) saturate(0.68) brightness(0.44) contrast(1.18);
  object-fit: cover;
}

.closing::after {
  background:
    linear-gradient(90deg, rgba(10, 11, 12, 0.9), rgba(10, 11, 12, 0.44) 52%, rgba(10, 11, 12, 0.1)),
    linear-gradient(0deg, rgba(10, 11, 12, 0.78), transparent 62%);
  content: "";
  inset: 0;
  position: absolute;
}

.closing-hud {
  color: var(--signal);
  display: flex;
  font-size: 0.68rem;
  gap: 18px;
  justify-content: space-between;
  left: clamp(22px, 7vw, 96px);
  pointer-events: none;
  position: absolute;
  right: clamp(22px, 7vw, 96px);
  top: 56px;
  z-index: 2;
}

.closing-hud .scan-band {
  inset: auto 0 auto;
  top: 42svh;
  z-index: -1;
}

.closing-content {
  min-height: 88svh;
  padding: clamp(92px, 10vw, 148px) clamp(22px, 7vw, 96px);
  position: relative;
  width: min(900px, 100%);
  z-index: 3;
}

.closing p:not(.eyebrow) {
  color: var(--bone-soft);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.7;
  max-width: 560px;
}

.site-footer {
  background: linear-gradient(180deg, #0c0d0e, #0a0b0c);
  border-top: 1px solid var(--line);
  color: var(--bone-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: clamp(48px, 6vw, 84px) clamp(22px, 5vw, 72px) 28px;
  position: relative;
  text-transform: uppercase;
}

.footer-inner {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: 1.1fr 1fr 1.1fr;
  padding-bottom: clamp(32px, 4vw, 56px);
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 14px;
}

.footer-brand strong {
  color: var(--bone);
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.footer-brand span {
  color: var(--bone-soft);
  font-size: 0.66rem;
}

.footer-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 28px);
  justify-content: center;
}

.footer-nav a {
  opacity: 0.7;
  transition: color 180ms ease, opacity 180ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--signal);
  opacity: 1;
}

.footer-meta {
  align-items: flex-end;
  color: var(--bone-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer-meta a {
  color: var(--signal);
  text-transform: none;
  letter-spacing: 0.04em;
}

.footer-base {
  border-top: 1px solid var(--line);
  color: rgba(232, 226, 209, 0.42);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.62rem;
  gap: 16px;
  justify-content: space-between;
  padding-top: 22px;
}

/* Attribution line — Concept × DEFENSE.OBSERVER with US flag marker */
.footer-attribution {
  align-items: center;
  display: inline-flex;
  font-family: var(--mono);
  gap: 8px;
  letter-spacing: 0.06em;
  text-transform: none;
}

.footer-attribution strong {
  color: var(--bone);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-flag {
  border: 1px solid rgba(232, 226, 209, 0.18);
  display: inline-block;
  flex-shrink: 0;
  /* Hardcode dimensions so the flag never reverts to the SVG default
     300x150 replaced-element size when intrinsic sizing fights flex
     parent layout. Width/height also set as SVG attributes for
     defense-in-depth (renders correctly even before CSS loads). */
  height: 12px !important;
  max-height: 12px;
  max-width: 22px;
  min-height: 0;
  min-width: 0;
  vertical-align: middle;
  width: 22px !important;
}

/* Release record line — surfaces deploy timestamp + commit history link
   so the live state of the dossier is one click from the page footer. */
.footer-release {
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: none;
}

.footer-release a {
  color: var(--signal);
  text-decoration: underline;
  text-decoration-color: rgba(201, 184, 148, 0.32);
  text-underline-offset: 2px;
}

.footer-release a:hover {
  text-decoration-color: var(--signal);
}

@media (max-width: 780px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
    text-align: left;
  }
}

.reveal {
  opacity: 1;
  transform: none;
  /* opacity leads slightly so content is legible before it fully settles;
     transform uses easeOutExpo for a crisp mechanical snap with soft landing.
     No filter here — images have their own filter transitions; blending them
     causes the dirty pixel overlap. */
  transition: opacity 480ms ease, transform 640ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(20px);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .hero-content > * {
  animation: bootReveal 760ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(180ms + var(--boot-order, 0) * 110ms);
}

.js-enabled .hero-content .eyebrow {
  --boot-order: 0;
}

.js-enabled .hero-content h1 {
  --boot-order: 1;
}

.js-enabled .hero-copy {
  --boot-order: 2;
}

.js-enabled .hero-actions {
  --boot-order: 3;
}

.js-enabled .hero-telemetry div {
  animation: stampIn 1ms steps(1, end) both;
  animation-delay: calc(680ms + var(--telemetry-order, 0) * 130ms);
}

.hero-telemetry div:nth-child(1) {
  --telemetry-order: 0;
}

.hero-telemetry div:nth-child(2) {
  --telemetry-order: 1;
}

.hero-telemetry div:nth-child(3) {
  --telemetry-order: 2;
}

@keyframes heroDrift {
  from {
    transform: scale(1.045) translate3d(-0.5%, 0, 0);
  }

  to {
    transform: scale(1.075) translate3d(1%, -0.5%, 0);
  }
}

@keyframes bootReveal {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: translateY(18px);
  }

  36% {
    opacity: 1;
  }

  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stampIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes panelScan {
  0% {
    opacity: 0;
    transform: translateY(-120%);
  }

  18%,
  82% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(620%);
  }
}

@keyframes plotLine {
  from {
    opacity: 0;
    width: 0;
  }

  to {
    opacity: 1;
    width: 100%;
  }
}

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

  .hero-image,
  .split-media img {
    transform: none !important;
  }

  .scan-band,
  .scan-panel::after {
    display: none !important;
  }

  .reveal,
  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .hero-telemetry,
  .focus-readout {
    display: none;
  }

  .sensor-spine {
    opacity: 0.52;
    right: 30px;
  }
}

@media (max-width: 980px) {
  .mission-band,
  .split-section,
  .fleet-copy,
  .image-run {
    grid-template-columns: 1fr;
  }

  .mission-band p {
    align-self: start;
  }

  .split-section {
    min-height: 0;
  }

  /* Stacked layout pins split-media after split-copy; no order override. */
  .split-media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

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

  .capability {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 0;
  }

  .capability-index {
    margin-bottom: 44px;
  }

  .run-panel {
    min-height: 480px;
  }

  .fleet-strip {
    grid-auto-columns: minmax(300px, 78vw);
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 18px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 92svh;
  }

  .hero-image {
    object-position: 64% 50%;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(10, 11, 12, 0.91), rgba(10, 11, 12, 0.64) 58%, rgba(10, 11, 12, 0.36)),
      linear-gradient(180deg, rgba(10, 11, 12, 0.08), rgba(10, 11, 12, 0.76));
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 4.5rem);
    max-width: 100%;
  }

  .hero-content {
    padding: 104px 18px 118px;
  }

  .classification {
    display: none;
  }

  .sensor-spine {
    display: none;
  }

  .scan-reticle {
    left: 74%;
    opacity: 0.62;
    top: 42%;
  }

  .hero-status {
    grid-template-columns: 1fr;
  }

  .hero-status span {
    padding: 10px 18px;
  }

  .hero-status span:nth-child(n + 2) {
    display: none;
  }

  .mission-band,
  .split-copy,
  .system-section,
  .closing-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-hud,
  .closing-hud {
    left: 18px;
    right: 18px;
  }

  .section-hud span:nth-child(2) {
    display: none;
  }

  .split-media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .panel-hud {
    display: none;
  }

  .run-panel {
    min-height: 390px;
  }

  .metric-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .fleet-copy,
  .fleet-strip {
    padding-left: 18px;
    padding-right: 18px;
  }

  .fleet-strip {
    grid-auto-columns: 84vw;
  }
}
