/* Shield Dynamics: blueprint design system.
   Dark navy sheet, cyan line work, amber reserved for calls to action and status. */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 600; font-display: swap; src: url(/fonts/jetbrains-mono-latin-600-normal.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #07162b;
  --panel: #0a1d38;
  --panel-2: #0d2444;
  --line: #7fd3ff;
  --line-dim: #2f5d86;
  --grid: rgb(127 211 255 / 0.045);
  --grid-major: rgb(127 211 255 / 0.085);
  --border: rgb(127 211 255 / 0.18);
  --text: #e6f1fb;
  --muted: #8fa8c4;
  --accent: #ffb547;
  --accent-ink: #1a1203;
  --ok: #6fe3a8;
  --err: #ff8a7a;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;

  /* Blueprint drawing palette (used by SVG line-art classes). */
  --bp-bg: var(--panel);
  --bp-line: var(--line);
  --bp-dim: var(--line-dim);
  --bp-text: var(--muted);
  --bp-grid: rgb(127 211 255 / 0.07);
  --sweep-time: 8s;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--line); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #b5e6ff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img, svg { max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 8px 14px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f4f9ff;
}
h1 { margin: 0 0 20px; font-size: clamp(46px, 8.4vw, 108px); line-height: 0.92; }
h2 { margin: 0 0 20px; font-size: clamp(32px, 4.6vw, 56px); line-height: 0.98; }
h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.1; font-weight: 600; letter-spacing: 0.03em; }
p { max-width: 70ch; }
.lede { margin: 0; max-width: 60ch; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 0 0 18px; color: var(--line);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow a { color: inherit; }
.accent { color: var(--accent); }

/* ---------- Buttons and links ---------- */
.btn {
  --chamfer: 10px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 13px/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
  transition: background 0.15s;
}
.btn:hover { background: #ffc873; color: var(--accent-ink); }
.btn::after { content: "→"; font-family: var(--font-body); }
.btn--ghost {
  background: transparent; color: var(--text); clip-path: none;
  box-shadow: inset 0 0 0 1px var(--border);
}
.btn--ghost:hover { background: rgb(127 211 255 / 0.08); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.link-arrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.link-arrow::after { content: " →"; }
.link-arrow--back::after { content: none; }
.link-arrow--back::before { content: "← "; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(7 22 43 / 0.82);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand .logo-mark { width: 38px; height: 38px; flex: none; }
.wordmark {
  font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1;
  letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.wordmark span { color: var(--line); font-weight: 600; }

.logo-mark { overflow: visible; }
.logo-mark .lm-guide { fill: none; stroke: var(--line-dim); stroke-width: 1; }
.logo-mark .lm-line { fill: none; stroke: var(--line); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.logo-mark .lm-accent { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.logo-mark .lm-thin { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-linecap: round; }
.logo-mark .lm-dot { fill: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 4px 26px; }
.site-nav a:not(.btn) {
  position: relative;
  color: var(--text); opacity: 0.78; text-decoration: none;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 0;
}
.site-nav a:not(.btn):hover { opacity: 1; }
.site-nav a[aria-current="page"]:not(.btn) { opacity: 1; color: var(--line); }
.site-nav a[aria-current="page"]:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--line);
}
.site-nav .btn { padding: 11px 16px; font-size: 12px; margin-left: 6px; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); color: var(--text);
  font: 600 12px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 12px; cursor: pointer;
}

@media (max-width: 960px) {
  .site-header .wrap { flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; gap: 8px; align-items: center; }
  .site-nav { flex-wrap: wrap; gap: 4px 18px; padding-bottom: 12px; width: 100%; }
  .js .site-nav { display: none; }
  .js .nav-open .site-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0 20px;
  }
  .js .nav-open .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .js .nav-open .site-nav a[aria-current="page"]:not(.btn)::after { content: none; }
  .js .nav-open .site-nav .btn { margin: 18px 0 0; justify-content: center; }
}

/* ---------- Registration-mark frame ---------- */
.ticks { position: relative; }
.ticks::before {
  --t: 14px;
  content: ""; position: absolute; inset: -1px; pointer-events: none; z-index: 2;
  background:
    linear-gradient(var(--line), var(--line)) top left / var(--t) 1px no-repeat,
    linear-gradient(var(--line), var(--line)) top left / 1px var(--t) no-repeat,
    linear-gradient(var(--line), var(--line)) top right / var(--t) 1px no-repeat,
    linear-gradient(var(--line), var(--line)) top right / 1px var(--t) no-repeat,
    linear-gradient(var(--line), var(--line)) bottom left / var(--t) 1px no-repeat,
    linear-gradient(var(--line), var(--line)) bottom left / 1px var(--t) no-repeat,
    linear-gradient(var(--line), var(--line)) bottom right / var(--t) 1px no-repeat,
    linear-gradient(var(--line), var(--line)) bottom right / 1px var(--t) no-repeat;
}

/* ---------- Sections ---------- */
main section { padding: clamp(64px, 9vw, 120px) 0; border-bottom: 1px solid var(--border); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; margin-bottom: 40px; }
.section-head .eyebrow { flex: 0 0 100%; }
.section-head h2 { margin: 0; }
.section-intro { color: var(--muted); font-size: 18px; margin: -16px 0 40px; }
.band { background: rgb(10 29 56 / 0.72); }

.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start;
}
.split > :first-child h2 { margin-bottom: 0; }
.split p:first-child { margin-top: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Home hero ---------- */
.home-hero { padding: clamp(48px, 8vw, 96px) 0 0; border-bottom: 1px solid var(--border); overflow: hidden; }
.home-hero h1 { max-width: 13ch; font-size: clamp(50px, 9.5vw, 128px); }
.home-hero .lede { margin-top: 8px; }
.hero-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--border);
}
.hero-meta div { padding: 16px 16px 16px 0; }
.hero-meta div + div { padding-left: 16px; border-left: 1px solid var(--border); }
.hero-meta dt { color: var(--muted); font: 11px/1.4 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; }
.hero-meta dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 640px) {
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--border); }
.page-hero--compact h1 { font-size: clamp(38px, 6vw, 72px); }
.page-hero .meta { margin-top: 20px; }

/* ---------- Blueprint panels and drawing sheets ---------- */
.bp {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: var(--bp-bg);
  background-image:
    linear-gradient(var(--bp-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--border);
}
.bp svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.hero-figure { margin: clamp(40px, 6vw, 64px) 0 0; border-left: 0; border-right: 0; border-bottom: 0; }
.hero-figure .figs { max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter); }
.hero-figure .fig-plan { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--bp-grid); }

.sheet { margin: 0; }
.sheet-body { padding: clamp(8px, 2vw, 24px); }
.titleblock {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 2.4fr repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.titleblock > div { padding: 8px 12px; min-width: 0; }
.titleblock > div + div { border-left: 1px solid var(--border); }
.titleblock span { display: block; color: var(--muted); font-size: 9.5px; }
.titleblock b { display: block; color: var(--line); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .titleblock > div:first-child { grid-column: 1 / -1; }
  .titleblock > div:nth-child(2) { border-left: 0; }
  .titleblock > div:nth-child(n + 2) { border-top: 1px solid var(--border); }
  .titleblock > div:nth-child(4) { border-left: 0; }
}

/* SVG line-art classes. Written without a panel ancestor so they also apply inside
   shared <symbol> drawings wherever they're <use>d. --k is the scale a <use> draws a
   symbol at; dividing by it keeps line weights consistent across figures. */
.grid { fill: none; stroke: var(--bp-grid); stroke-width: 1; }
.ln {
  fill: var(--bp-bg);
  stroke: var(--bp-line);
  stroke-width: calc(1.25 / var(--k, 1));
  stroke-linejoin: round;
  stroke-linecap: round;
}
.ln .open, .ln.open { fill: none; }
.ln .solid, .ln.solid { fill: var(--bp-line); }
.dim { fill: none; stroke: var(--bp-dim); stroke-width: calc(1 / var(--k, 1)); }
.dash { stroke-dasharray: calc(4 / var(--k, 1)) calc(4 / var(--k, 1)); }
.ctr { stroke-dasharray: calc(14 / var(--k, 1)) calc(3 / var(--k, 1)) calc(2 / var(--k, 1)) calc(3 / var(--k, 1)); }
.dot { stroke-dasharray: 1 5; stroke-linecap: round; }
.footprint { fill: var(--bp-line); fill-opacity: 0.06; stroke: none; }
.beam { fill: var(--bp-line); fill-opacity: 0.12; stroke: var(--bp-dim); stroke-width: 1; stroke-linejoin: round; }
.hot { fill: none; stroke: var(--accent); stroke-width: calc(1.25 / var(--k, 1)); }
.hot-fill { fill: var(--accent); }
.txt { fill: var(--bp-text); font: 11px var(--font-mono); letter-spacing: 0.12em; }
.lbl { fill: var(--bp-line); font-weight: 600; }
.txt.big { font-size: 14px; }
@media (max-width: 640px) {
  .bp .txt.hide-sm { display: none; }
}

/* Radar sweep: a soft vertical line crosses each .bp panel left to right every
   --sweep-time. Anything timed to it uses a delay proportional to its x position
   (in % of the panel), so it reacts as the line passes. */
.bp-sweep { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sweep-beam { position: absolute; inset: 0; animation: bp-sweep var(--sweep-time) linear infinite; }
.sweep-beam::before,
.sweep-beam::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}
.sweep-beam::before { left: 0; width: 1px; background: var(--bp-line); opacity: 0.45; box-shadow: 0 0 8px var(--bp-line); }
.sweep-beam::after { right: 100%; width: 160px; background: linear-gradient(to right, transparent, var(--bp-line)); opacity: 0.07; }
@keyframes bp-sweep { from { transform: translateX(0); } to { transform: translateX(100%); } }

.bp-dot {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  opacity: 0;
  animation: bp-dot var(--sweep-time) linear infinite;
  animation-delay: calc(var(--x) * var(--sweep-time) / 100);
}
@keyframes bp-dot {
  0% { opacity: 0; }
  6.25% { opacity: 0.6; }
  40% { opacity: 0.6; }
  52% { opacity: 0; }
  100% { opacity: 0; }
}

/* Pulsing elements inside drawings: sensor arcs, footprints, link beams. */
.pulse { animation: pulse 2.4s ease-in-out infinite; }
.pulse-2 { animation-delay: 0.4s; }
.pulse-3 { animation-delay: 0.8s; }
@keyframes pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .sweep-beam { display: none; }
  .bp-dot { animation: none; opacity: 0.4; }
  .pulse { animation: none; opacity: 0.8; }
}

/* ---------- Product panels (home) ---------- */
.products { display: grid; gap: clamp(56px, 8vw, 104px); }
.product {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 64px); align-items: center;
}
.product--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.product--flip .product-fig { order: 2; }
.product-tier { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.product-tier b { color: var(--accent); font-weight: 600; }
.product h3 { font-size: clamp(44px, 6vw, 76px); font-weight: 700; line-height: 0.9; margin-bottom: 16px; }
.product p { color: var(--muted); }
.product .btn-row { margin-top: 24px; }
.product-fig .sheet-body { padding: clamp(8px, 1.5vw, 16px); }
@media (max-width: 860px) {
  .product, .product--flip { grid-template-columns: 1fr; }
  .product--flip .product-fig { order: 0; }
}

.keyspecs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 24px 0 0; border-top: 1px solid var(--border);
}
.keyspecs div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--border); }
.keyspecs div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--border); }
.keyspecs dt { color: var(--muted); font: 10.5px/1.4 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.keyspecs dd { margin: 2px 0 0; font-weight: 500; font-size: 15px; }

/* ---------- Cards, steps, lists ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.card { background: var(--bg); padding: 28px 24px 32px; }
.card .idx { display: block; margin-bottom: 20px; color: var(--accent); font: 600 12px var(--font-mono); letter-spacing: 0.16em; }
.card p { margin: 0; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dim); }
.steps li { position: relative; padding: 28px 20px 0 0; counter-increment: step; }
.steps li::before {
  content: "0" counter(step); display: block; margin-bottom: 12px;
  color: var(--accent); font: 600 12px var(--font-mono); letter-spacing: 0.16em;
}
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--line); }
.steps h3 { font-size: 26px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.plain { padding-left: 20px; max-width: 70ch; }
.plain li { margin-bottom: 8px; }
.plain li::marker { color: var(--line); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.checklist li { display: grid; grid-template-columns: 180px 1fr; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.checklist strong { font-family: var(--font-display); font-size: 21px; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 600; line-height: 1.2; }
.checklist span { color: var(--muted); }
@media (max-width: 640px) { .checklist li { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px 48px; }
.two-col p { color: var(--muted); }

/* Spec table styled as a drawing's parts list. */
.spec {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--border); background: rgb(10 29 56 / 0.6);
  font-size: 15.5px;
}
.spec caption {
  caption-side: top; text-align: left; padding: 0 0 10px;
  color: var(--muted); font: 11px var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
}
.spec th, .spec td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--border); }
.spec th {
  width: 38%; color: var(--muted); font: 500 12px/1.6 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase;
  border-right: 1px solid var(--border);
}
.spec td { font-weight: 500; }
.spec th .no { color: var(--line-dim); margin-right: 10px; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
@media (max-width: 520px) {
  .spec th, .spec td { display: block; width: auto; border-right: 0; }
  .spec th { border-bottom: 0; padding-bottom: 0; }
}

.note {
  max-width: 70ch; margin: 24px 0 0;
  border-left: 2px solid var(--accent); padding: 12px 16px;
  background: rgb(255 181 71 / 0.06); color: var(--muted); font-size: 15px;
}

/* Timeline (mission) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line-dim); }
.timeline li { position: relative; padding: 0 0 36px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px;
  border: 1px solid var(--line); background: var(--bg); transform: rotate(45deg) scale(0.75);
}
.timeline li.done::before { background: var(--line); }
.timeline li.now::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px var(--accent); }
.timeline .when { color: var(--accent); font: 600 12px var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; }
.timeline h3 { margin: 4px 0 6px; }
.timeline p { margin: 0; color: var(--muted); }

/* Big statement */
.statement {
  margin: 0; max-width: 22ch;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(36px, 5.6vw, 72px); line-height: 0.98; color: #f4f9ff;
}
.statement em { font-style: normal; color: var(--accent); }

/* CTA band */
.cta { text-align: left; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; }
.cta h2 { margin: 0; max-width: 16ch; }
.cta p { color: var(--muted); margin: 12px 0 0; }
.cta .btn-row { margin-top: 0; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.news-card { background: var(--bg); padding: 24px 24px 28px; display: flex; flex-direction: column; }
.news-card h3 { font-size: 26px; margin: 14px 0 10px; }
.news-card h3 a { color: #f4f9ff; text-decoration: none; }
.news-card h3 a:hover { color: var(--line); }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card { position: relative; }
.news-card:hover { background: var(--panel); }
.news-card p:last-child { margin: 0; color: var(--muted); font-size: 15.5px; }
.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0;
  color: var(--muted); font: 11.5px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
}
.tag {
  display: inline-block; padding: 3px 8px; border: 1px solid var(--line-dim); color: var(--line);
  font: 10.5px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
}
.empty-state { border: 1px dashed var(--line-dim); padding: 40px 28px; text-align: center; }
.empty-state .mono { color: var(--line); margin: 0 0 8px; max-width: none; }
.empty-state p { margin-left: auto; margin-right: auto; color: var(--muted); }

.prose { padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(64px, 9vw, 112px); font-size: 17.5px; }
.prose h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 48px 0 16px; }
.prose h3 { margin: 32px 0 10px; }
.prose h4 { margin: 24px 0 8px; font-size: 17px; }
.prose p, .prose li { color: #cfdcea; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--line); }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); }
.prose blockquote p { font-family: var(--font-display); font-size: 26px; line-height: 1.2; text-transform: uppercase; color: #f4f9ff; }
.prose code { font-family: var(--font-mono); font-size: 0.88em; background: var(--panel-2); padding: 1px 5px; }
.prose pre { overflow-x: auto; background: var(--panel); border: 1px solid var(--border); padding: 16px; }
.prose pre code { background: none; padding: 0; }
.prose .back { margin-top: 56px; }

/* ---------- Careers ---------- */
.jobs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.job { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.job h3 { margin-bottom: 6px; }
.job p:not(.meta) { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 640px) { .job { flex-direction: column; align-items: flex-start; } }

/* ---------- Forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px clamp(32px, 6vw, 88px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside dl { margin: 0; border-top: 1px solid var(--border); }
.contact-aside dl div { padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-aside dt { color: var(--muted); font: 11px var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; }
.contact-aside dd { margin: 4px 0 0; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; padding: clamp(20px, 3vw, 36px); background: rgb(10 29 56 / 0.72); border: 1px solid var(--border); }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field label, .field .label {
  color: var(--muted); font: 11.5px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
}
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-dim); border-radius: 0;
  font: inherit; font-size: 16px;
}
.field textarea { min-height: 170px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--line) 50%), linear-gradient(135deg, var(--line) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--line); box-shadow: 0 0 0 3px rgb(127 211 255 / 0.15); }
.field [aria-invalid="true"] { border-color: var(--err); }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-actions .fine { margin: 0; color: var(--muted); font-size: 13.5px; }
.form-status { grid-column: 1 / -1; margin: 0 0 20px; padding: 14px 16px; border: 1px solid; font-size: 15.5px; }
.form .form-status { margin: 0; }
.form-status--ok { border-color: var(--ok); color: var(--ok); background: rgb(111 227 168 / 0.07); }
.form-status--err { border-color: var(--err); color: var(--err); background: rgb(255 138 122 / 0.07); }
.form-status strong { color: inherit; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Legal ---------- */
.legal-banner {
  margin: 0 0 32px; padding: 14px 16px; border: 1px dashed var(--accent); color: var(--accent);
  font: 12px/1.6 var(--font-mono); letter-spacing: 0.08em;
}
.toc { margin: 0 0 16px; padding: 20px 24px; border: 1px solid var(--border); background: rgb(10 29 56 / 0.6); }
.toc p { margin: 0 0 8px; color: var(--muted); }
.toc ol { margin: 0; padding-left: 20px; columns: 2 260px; column-gap: 32px; font-size: 15.5px; }
.toc li { break-inside: avoid; margin-bottom: 4px; }
.ph { color: var(--accent); background: rgb(255 181 71 / 0.1); padding: 0 3px; font-family: var(--font-mono); font-size: 0.86em; }

/* ---------- 404 ---------- */
.lost { padding: clamp(80px, 14vw, 160px) 0; }
.lost .code { font-family: var(--font-display); font-weight: 700; font-size: clamp(120px, 24vw, 260px); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--line); margin: 0 0 24px; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 40px; background: #051124; border-top: 1px solid var(--border); color: var(--muted); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { max-width: 38ch; margin: 16px 0 0; }
.site-footer h2 { margin: 0 0 14px; font: 600 11px var(--font-mono); letter-spacing: 0.18em; color: var(--line); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text); text-decoration: none; opacity: 0.85; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--border);
  font: 11.5px/1.7 var(--font-mono); letter-spacing: 0.08em;
}
.footer-base p { margin: 0; }

/* ---------- Drawing details ---------- */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sheet-section { padding-top: 0; }
.page-hero + .sheet-section { padding-top: clamp(32px, 5vw, 56px); }
@media (max-width: 720px) {
  /* Keep sheets legible on phones: the drawing pans sideways inside its frame. */
  .sheet .sheet-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sheet .sheet-body svg { width: 760px; max-width: none; }
  .hero-figure .txt:not(.lbl) { display: none; }
  .card-fig .txt.hide-sm { display: none; }
}
.steps--stacked { grid-template-columns: 1fr 1fr; gap: 32px 0; margin-bottom: 24px; }
@media (max-width: 520px) { .steps--stacked { grid-template-columns: 1fr; } }
.field label.check { font: 15px/1.55 var(--font-body); letter-spacing: 0; text-transform: none; }

/* "In the field" figures on product pages (carried over from the pre-redesign pages). */
.field-figure { margin: 0; border-width: 0 0 1px; }
.field-figure .figs { max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 8px; }
.fig-tag {
  position: relative; z-index: 1; margin: 0; max-width: none;
  color: var(--line); font: 600 11px var(--font-mono); letter-spacing: 0.14em;
}
.field-figure + .sheet-section { padding-top: clamp(32px, 5vw, 56px); }
