/* Wayfound Rescue Supply — SAR Marketplace
   Tokens ported from Figma (312NtlIyJn9iggwEUUqp0N) */

:root {
  --ink: #0f1417;
  --ink-2: #1b2328;
  --ink-3: #2a343b;
  --paper: #ffffff;
  --bone: #f4f1ea;
  --line: #ddd8ce;
  --slate: #5b6770;
  --slate-2: #8a949b;
  --signal: #ff5b1f;
  --signal-dark: #d9430c;
  --hivis: #e4ff3a;
  --ok: #2f7d4f;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: 80px;
  --page-max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }

.page { max-width: var(--page-max); margin: 0 auto; }

/* ---------- Type scale ---------- */
.display-xl { font-family: var(--font-display); font-weight: 800; font-size: 104px; line-height: 0.9; letter-spacing: -1px; text-transform: uppercase; }
.display-l  { font-family: var(--font-display); font-weight: 800; font-size: 64px;  line-height: 0.94; letter-spacing: -0.5px; text-transform: uppercase; }
.h-l   { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; text-transform: uppercase; }
.h-m   { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.08; letter-spacing: 0.5px; text-transform: uppercase; }
.h-s   { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.2; letter-spacing: 3px; text-transform: uppercase; }
.h-price { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; }
.body-l { font-size: 20px; line-height: 1.5; }
.body-m { font-size: 16px; line-height: 1.5; }
.body-m-strong { font-size: 16px; line-height: 1.4; font-weight: 600; }
.body-s { font-size: 14px; line-height: 1.45; }
.label { font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 1.3; letter-spacing: 0.96px; text-transform: uppercase; }
.label-xs { font-family: var(--font-mono); font-weight: 500; font-size: 11px; line-height: 1.3; letter-spacing: 0.88px; text-transform: uppercase; }

.c-slate { color: var(--slate); }
.c-slate2 { color: var(--slate-2); }
.c-paper { color: var(--paper); }
.c-signal { color: var(--signal); }
.c-signal-dark { color: var(--signal-dark); }
.c-hivis { color: var(--hivis); }

/* ---------- Icons ---------- */
.ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ico img { display: block; }
.ico-14 { width: 14px; height: 14px; }
.ico-16 { width: 16px; height: 16px; }
.ico-18 { width: 18px; height: 18px; }
.ico-20 { width: 20px; height: 20px; }
.ico-22 { width: 22px; height: 22px; }
.ico-24 { width: 24px; height: 24px; }
.ico-28 { width: 28px; height: 28px; }
.ico-36 { width: 36px; height: 36px; }
.ico-44 { width: 44px; height: 44px; }
.ico-64 { width: 64px; height: 64px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hivis); flex: 0 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; border-radius: 2px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: 0.075px;
  white-space: nowrap; border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--signal); color: var(--ink); }
.btn-primary:hover { background: #ff6f3c; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline-inverse { border-color: var(--paper); color: var(--paper); }
.btn-outline-inverse:hover { background: var(--paper); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); }
.btn-block { width: 100%; justify-content: center; }
.btn-outline:hover .ico img { filter: invert(1); }
.btn-outline-inverse:hover .ico img { filter: invert(1); }

.link-mono { display: inline-flex; align-items: center; gap: 6px; }
.link-mono:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Utility bar ---------- */
.utility-bar {
  background: var(--signal); color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 9px var(--gutter);
  white-space: nowrap; overflow: hidden;
}
.utility-bar .left { display: flex; gap: 28px; overflow: hidden; }

/* ---------- Nav ---------- */
.nav {
  background: var(--ink); border-bottom: 1px solid var(--ink-3);
  display: flex; align-items: center; gap: 40px;
  padding: 20px var(--gutter);
}
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo .mark { width: 36px; height: 36px; background: var(--signal); display: flex; align-items: center; justify-content: center; }
.logo .wordmark { display: flex; flex-direction: column; text-transform: uppercase; white-space: nowrap; }
.logo .wordmark .name { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.08; letter-spacing: 0.52px; color: var(--paper); }
.logo .wordmark .tag { font-family: var(--font-mono); font-weight: 500; font-size: 9px; line-height: 1.3; letter-spacing: 2.16px; color: var(--slate-2); }
.search {
  flex: 1 1 0; min-width: 0;
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 2px;
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
}
.search input {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0;
  font: inherit; font-size: 14px; line-height: 1.45; color: var(--paper);
}
.search input::placeholder { color: var(--slate-2); }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--paper); white-space: nowrap; }
.nav-links a:hover { color: var(--signal); }
.seg {
  display: flex; padding: 3px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 2px; flex: 0 0 auto;
}
.seg button {
  padding: 7px 12px; font-family: var(--font-mono); font-weight: 500; font-size: 11px; line-height: 1.3; letter-spacing: 0.88px; text-transform: uppercase;
  color: var(--slate-2); white-space: nowrap;
}
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }
.cart { display: flex; align-items: center; gap: 6px; }
.cart .count {
  background: var(--signal); color: var(--ink); border-radius: 10px; padding: 2px 6px;
  font-family: var(--font-mono); font-weight: 500; font-size: 11px; line-height: 1.3; text-transform: uppercase;
}

/* ---------- Sections ---------- */
.section { padding: 96px var(--gutter); display: flex; flex-direction: column; gap: 40px; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-bone { background: var(--bone); }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section-title { display: flex; flex-direction: column; gap: 12px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* ---------- Hero (landing) ---------- */
.hero {
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; gap: 64px;
  padding: 72px var(--gutter) 88px;
}
.hero-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.hero-copy .lede { max-width: 560px; color: var(--slate-2); }
.ctas { display: flex; gap: 12px; padding-top: 8px; flex-wrap: wrap; }
.stats { display: flex; border-top: 1px solid var(--ink-3); padding-top: 24px; text-transform: uppercase; }
.stat { flex: 1 1 0; display: flex; flex-direction: column; gap: 4px; }
.hero-image {
  position: relative; flex: 0 0 560px; width: 560px; height: 600px; border-radius: 2px; overflow: hidden;
}
.hero-image > img { width: 100%; height: 100%; object-fit: cover; }
.hero-coords { position: absolute; top: 24px; right: 24px; color: var(--paper); white-space: pre; }
.field-card {
  position: absolute; left: 24px; bottom: 24px;
  background: var(--ink); border: 1px solid var(--ink-3); border-radius: 2px;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; white-space: nowrap;
}
.field-card .status { display: flex; align-items: center; gap: 8px; }

/* ---------- Category tiles ---------- */
.cat-tile {
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .15s, transform .15s;
}
.cat-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.cat-tile .shot { position: relative; height: 168px; background: var(--bone); overflow: hidden; }
.cat-tile .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-tile:hover .shot img { transform: scale(1.04); }
.cat-tile .shot .num { position: absolute; top: 12px; right: 14px; color: var(--ink); background: rgba(255,255,255,0.85); padding: 3px 7px; border-radius: 2px; }
.icon-box { width: 52px; height: 52px; background: var(--bone); border-radius: 2px; display: flex; align-items: center; justify-content: center; }
.cat-tile .body { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px 24px; }
.cat-tile .body .link-mono { padding-top: 6px; }
.chips { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chip { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 8px 14px; font-size: 14px; line-height: 1.45; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }

/* ---------- Product cards ---------- */
.tabs { display: flex; gap: 8px; }
.tab { border: 1px solid var(--line); border-radius: 20px; padding: 9px 16px; font-size: 14px; font-weight: 500; line-height: 1.45; white-space: nowrap; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.product-card { background: var(--paper); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s; }
.product-card:hover { border-color: var(--ink); }
.product-card .image { position: relative; height: 232px; background: var(--bone); display: flex; align-items: center; justify-content: center; }
.product-card .image .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .image .shot { transform: scale(1.03); }
.badge { position: absolute; top: 16px; left: 16px; background: var(--ink); color: var(--hivis); padding: 5px 8px; }
.badge-signal { background: var(--signal); color: var(--ink); }
.badge-hivis { background: var(--hivis); color: var(--ink); }
.product-card .details { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.rating { display: flex; align-items: center; gap: 3px; }
.rating .n { font-size: 13px; line-height: 1.45; color: var(--slate); margin-left: 2px; }
.price-row { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; }
.add-cart { width: 44px; height: 44px; background: var(--ink); border-radius: 2px; display: flex; align-items: center; justify-content: center; }
.add-cart:hover { background: var(--signal); }

/* ---------- Environment cards ---------- */
.env-card {
  background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 2px;
  height: 340px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .15s;
}
.env-card:hover { border-color: var(--signal); }
.env-card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.env-card .body { display: flex; flex-direction: column; gap: 10px; }
.env-card .body .link-mono { padding-top: 8px; }

/* ---------- Teams & agencies ---------- */
.teams { display: flex; align-items: center; gap: 80px; padding: 104px var(--gutter); }
.teams-image { flex: 0 0 600px; width: 600px; height: 520px; border-radius: 2px; overflow: hidden; }
.teams-image img { width: 100%; height: 100%; object-fit: cover; }
.teams-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.benefits { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.benefit-row { display: flex; gap: 24px; }
.benefit { flex: 1 1 0; min-width: 0; display: flex; gap: 14px; }
.benefit .icon-box { width: 44px; height: 44px; background: var(--ink); flex: 0 0 auto; }
.benefit .text { display: flex; flex-direction: column; gap: 4px; }
.teams-copy .ctas { padding-top: 12px; }

/* ---------- Standards strip ---------- */
.standards {
  background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 24px; padding: 32px var(--gutter);
}
.standards .lead { width: 220px; flex: 0 0 auto; }
.standards .badges { flex: 1 1 0; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.std { border: 1px solid var(--line); border-radius: 2px; padding: 10px 14px; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.2; letter-spacing: 0.48px; text-transform: uppercase; }

/* ---------- Seller CTA ---------- */
.seller { background: var(--signal); color: var(--ink); display: flex; align-items: center; gap: 80px; padding: 88px var(--gutter); }
.seller-copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.seller-copy .lede { max-width: 620px; }
.seller-points { flex: 0 0 420px; width: 420px; background: var(--ink); border-radius: 2px; color: var(--paper); overflow: hidden; }
.point { display: flex; align-items: center; gap: 20px; padding: 24px 28px; border-bottom: 1px solid var(--ink-3); }
.point .num { width: 130px; flex: 0 0 auto; font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; text-transform: uppercase; color: var(--signal); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 80px var(--gutter) 40px; display: flex; flex-direction: column; gap: 56px; }
.footer-top { display: flex; gap: 48px; }
.footer-brand { width: 360px; flex: 0 0 auto; display: flex; flex-direction: column; gap: 20px; }
.footer-brand .logo .name { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.08; letter-spacing: 0.13px; text-transform: uppercase; color: var(--paper); }
.newsletter { display: flex; }
.newsletter input {
  flex: 1 1 0; min-width: 0; background: var(--ink-2); border: 1px solid var(--ink-3); border-right: 0;
  padding: 13px 14px; font: inherit; font-size: 14px; line-height: 1.45; color: var(--paper); outline: 0;
}
.newsletter input::placeholder { color: var(--slate-2); }
.newsletter button { background: var(--signal); padding: 13px 16px; display: flex; align-items: center; }
.footer-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.45; white-space: nowrap; }
.footer-col a:hover { color: var(--signal); }
.footer-legal { border-top: 1px solid var(--ink-3); padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; color: var(--slate-2); flex-wrap: wrap; }
.footer-legal .copy { font-size: 13px; line-height: 1.45; }

/* =========================================================
   Brand page (Wayfound Aerial)
   ========================================================= */
.subnav { background: var(--ink-2); border-bottom: 1px solid var(--ink-3); display: flex; align-items: center; gap: 40px; padding: 0 var(--gutter); color: var(--paper); }
.subnav .brand { display: flex; align-items: center; gap: 10px; padding: 18px 0; flex: 0 0 auto;
  font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.08; letter-spacing: 0.11px; text-transform: uppercase; white-space: nowrap; }
.subnav .tabs { flex: 1 1 0; gap: 32px; }
.subnav .tabs a { padding: 20px 0; font-size: 14px; font-weight: 500; line-height: 1.45; color: var(--slate-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.subnav .tabs a:hover { color: var(--paper); }
.subnav .tabs a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--signal); }
.subnav .specialist { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.hero-aerial { position: relative; background: var(--ink); color: var(--paper); padding: 96px var(--gutter) 0; display: flex; flex-direction: column; justify-content: space-between; min-height: 780px; overflow: hidden; }
.hero-aerial .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-aerial .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,20,23,0.92) 0%, rgba(15,20,23,0.55) 55%, rgba(15,20,23,0) 100%); }
.hero-aerial .hero-copy { position: relative; max-width: 680px; flex: 0 0 auto; }
.spec-strip { position: relative; margin: 48px 0 0; background: var(--ink); border-top: 1px solid var(--ink-3); display: flex; text-transform: uppercase; }
.spec { flex: 1 1 0; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--ink-3); white-space: nowrap; }
.spec:last-child { border-right: 0; }

.series-card { background: var(--paper); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s; }
.series-card:hover { border-color: var(--ink); }
.series-card .shot { position: relative; height: 260px; }
.series-card .shot img { width: 100%; height: 100%; object-fit: cover; }
.series-card .details { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.series-card .name { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.08; letter-spacing: 0.16px; text-transform: uppercase; }
.specs { display: flex; flex-direction: column; padding-top: 6px; }
.specs .row { display: flex; justify-content: space-between; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); white-space: nowrap; gap: 12px; }
.specs .row .v { font-size: 14px; font-weight: 500; line-height: 1.45; }
.series-card .price { display: flex; align-items: baseline; gap: 8px; padding-top: 8px; }
.series-card .actions { display: flex; gap: 8px; }
.series-card .actions .btn { flex: 1 1 0; justify-content: center; padding-left: 12px; padding-right: 12px; }

.step { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 2px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.step .top { display: flex; justify-content: space-between; align-items: flex-start; }
.mission-image { height: 440px; border-radius: 2px; overflow: hidden; }
.mission-image img { width: 100%; height: 100%; object-fit: cover; }

.compare { border: 1px solid var(--line); border-radius: 2px; overflow: hidden; width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: middle; }
.compare thead th { background: var(--ink); color: var(--paper); padding: 18px 20px; font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.2; letter-spacing: 0.54px; text-transform: uppercase; white-space: nowrap; }
.compare thead th:first-child { font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.96px; color: var(--slate-2); }
.compare th .tag { display: inline-block; vertical-align: middle; margin-left: 6px; background: var(--signal); color: var(--ink); padding: 3px 6px; font-family: var(--font-mono); font-weight: 500; font-size: 10px; line-height: 1.3; letter-spacing: 0.8px; }
.compare tbody th { width: 240px; padding: 15px 20px; font-family: var(--font-mono); font-weight: 500; font-size: 11px; line-height: 1.3; letter-spacing: 0.88px; text-transform: uppercase; color: var(--slate); white-space: nowrap; }
.compare tbody td { padding: 15px 20px; font-size: 14px; line-height: 1.45; white-space: nowrap; }
.compare tbody tr:nth-child(even) { background: var(--bone); }
.compare td.hl { background: rgba(255, 91, 31, 0.10); }
.compare td.price { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; }
.compare td.na { color: var(--slate-2); }

.kit { background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.kit-featured { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.kit .top { display: flex; align-items: center; justify-content: space-between; }
.kit .tag { background: var(--hivis); color: var(--ink); padding: 5px 8px; }
.kit .includes { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.kit-featured .includes { border-top-color: var(--ink-3); }
.kit .item { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.45; }
.kit .btn { margin-top: auto; }

.program { background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: border-color .15s; }
.program:hover { border-color: var(--ink); }
.program .icon-box { width: 48px; height: 48px; background: var(--ink); }
.program .link-mono { padding-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  :root { --gutter: 40px; }
  .display-xl { font-size: 84px; }
  .hero-image { flex-basis: 460px; width: 460px; height: 520px; }
  .teams-image { flex-basis: 460px; width: 460px; height: 440px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .utility-bar { display: none; }
  .nav { flex-wrap: wrap; gap: 16px; }
  .search { order: 5; flex-basis: 100%; }
  .seg { display: none; }
  .hero, .teams, .seller { flex-direction: column; align-items: stretch; gap: 40px; }
  .hero-image, .teams-image { flex-basis: auto; width: 100%; height: 420px; }
  .seller-points { flex-basis: auto; width: 100%; }
  .display-xl { font-size: 64px; }
  .display-l { font-size: 48px; }
  .h-l { font-size: 36px; }
  .section { padding: 64px var(--gutter); }
  .section-header { flex-direction: column; align-items: flex-start; }
  .grid-3 { grid-template-columns: 1fr; }
  .benefit-row { flex-direction: column; }
  .standards { flex-direction: column; align-items: flex-start; }
  .standards .lead { width: auto; }
  .footer-top { flex-wrap: wrap; }
  .footer-brand { width: 100%; }
  .subnav { flex-wrap: wrap; gap: 0 24px; }
  .subnav .tabs { overflow-x: auto; flex-basis: 100%; }
  .subnav .specialist { display: none; }
  .hero-aerial { min-height: 0; }
  .spec-strip { flex-wrap: wrap; }
  .spec { flex-basis: 50%; }
  .compare-wrap { overflow-x: auto; }
  .compare { min-width: 860px; }
  body { overflow-x: hidden; }
  .tabs { flex-wrap: wrap; }
  .chips { gap: 8px; }
  .footer-col { white-space: normal; }
  .footer-legal .label { white-space: normal; }
  .standards .badges { justify-content: flex-start; }
  .seller-copy .lede, .hero-copy .lede { max-width: none; }
  .field-card { white-space: normal; right: 24px; }
  .point .num { width: 110px; font-size: 36px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .display-xl { font-size: 52px; }
  .stats { flex-wrap: wrap; gap: 16px; }
  .stat { flex-basis: 45%; }
  .hero-image { height: 360px; }
  .env-card { height: auto; gap: 40px; }
  .series-card .actions { flex-direction: column; }
  .spec { flex-basis: 100%; border-right: 0; }
}

/* =========================================================
   Motion: hero sweep, reveals, live operation band, wizard
   ========================================================= */
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(228,255,58,0.6); } 60% { box-shadow: 0 0 0 7px rgba(228,255,58,0); } }

/* Hero: slow Ken Burns on the still + canvas sweep overlay */
.hero-image .kb { animation: kenburns 28s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09) translate(-1.5%, 1%); } }
.hero-image .sweep { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.field-card { transition: border-color .3s; }
.field-card.found { border-color: var(--signal); }
.field-card [data-fc="title"] { transition: color .3s; }

/* Scroll reveals (JS adds .reveal + .in) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal.cat-tile.in:hover, .reveal.env-card.in:hover { transform: translateY(-2px); }

/* Live operation band */
.op { position: relative; height: 190vh; background: var(--ink); color: var(--paper); }
.op-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; }
.op-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(.6); }
.op-sticky::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,23,.55) 0%, rgba(15,20,23,.85) 60%, var(--ink) 100%); }
.op-inner { position: relative; width: 100%; max-width: var(--page-max); margin: 0 auto; padding: 72px var(--gutter) 48px; display: flex; flex-direction: column; gap: 36px; justify-content: center; }
.op-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.op-head p { max-width: 380px; }
.op-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }
.op-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; aspect-ratio: 10 / 6; border: 1px solid var(--ink-3); padding: 4px; background: rgba(27,35,40,.55); position: relative; }
.op-cell { background: rgba(138,148,155,.12); border: 1px solid rgba(138,148,155,.14); transition: background .25s, border-color .25s; position: relative; }
.op-cell.clear { background: rgba(228,255,58,.14); border-color: rgba(228,255,58,.28); }
.op-cell.scan { background: rgba(228,255,58,.55); border-color: var(--hivis); }
.op-cell.hit { background: rgba(255,91,31,.75); border-color: var(--signal); animation: pulse-hit 1.4s ease-in-out infinite; }
@keyframes pulse-hit { 0%,100% { box-shadow: 0 0 0 0 rgba(255,91,31,.55); } 60% { box-shadow: 0 0 0 10px rgba(255,91,31,0); } }
.op-grid .op-axis { position: absolute; left: -22px; top: 4px; bottom: 4px; display: flex; flex-direction: column; justify-content: space-around; font-family: var(--font-mono); font-size: 10px; letter-spacing: .5px; color: var(--slate-2); }
.op-side { display: flex; flex-direction: column; gap: 24px; }
.op-stats { display: flex; gap: 24px; border-top: 1px solid var(--ink-3); padding-top: 20px; text-transform: uppercase; }
.op-stats .stat { flex: 1 1 0; }
.op-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.45; }
.op-log li { display: flex; gap: 12px; opacity: .18; transform: translateX(-6px); transition: opacity .35s, transform .35s; border-left: 2px solid var(--ink-3); padding-left: 12px; }
.op-log li .t { font-family: var(--font-mono); font-size: 12px; letter-spacing: .5px; color: var(--slate-2); flex: 0 0 44px; padding-top: 2px; }
.op-log li.on { opacity: 1; transform: none; border-left-color: var(--hivis); }
.op-log li.on.hit { border-left-color: var(--signal); }
.op-result { display: flex; align-items: center; gap: 10px; opacity: 0; transition: opacity .4s; border: 1px solid var(--ink-3); background: var(--ink); padding: 12px 16px; border-radius: 2px; align-self: flex-start; }
.op-result.on { opacity: 1; border-color: var(--signal); }
.op-progress { height: 2px; background: var(--ink-3); }
.op-progress span { display: block; height: 100%; width: 0; background: var(--signal); }

/* Wizard */
.wiz { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px; }
.wiz[hidden] { display: none; }
.wiz-backdrop { position: absolute; inset: 0; background: rgba(15,20,23,.78); backdrop-filter: blur(2px); }
.wiz-panel { position: relative; background: var(--paper); color: var(--ink); width: 100%; max-width: 980px; max-height: calc(100vh - 48px); overflow: auto; border-radius: 2px; display: flex; flex-direction: column; animation: wiz-in .25s ease; }
@keyframes wiz-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wiz-head { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; padding: 28px 32px 0; align-items: start; }
.wiz-head > div { display: flex; flex-direction: column; gap: 6px; }
.wiz-x { font-size: 28px; line-height: 1; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 2px; }
.wiz-x:hover { background: var(--ink); color: var(--paper); }
.wiz-steps { grid-column: 1 / -1; list-style: none; margin: 0; padding: 20px 0 0; display: flex; gap: 8px; border-bottom: 1px solid var(--line); }
.wiz-steps li { flex: 1 1 0; display: flex; align-items: center; gap: 8px; padding: 10px 0 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .88px; text-transform: uppercase; color: var(--slate-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.wiz-steps li b { width: 20px; height: 20px; border: 1px solid var(--line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; font-size: 10px; }
.wiz-steps li.on { color: var(--ink); border-bottom-color: var(--signal); }
.wiz-steps li.on b { background: var(--signal); border-color: var(--signal); }
.wiz-steps li.done b { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.wiz-step { padding: 28px 32px; display: flex; flex-direction: column; gap: 18px; }
.wiz-step[hidden] { display: none; }
.wiz-envs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.wiz-opt { text-align: left; border: 1.5px solid var(--line); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding-bottom: 16px; background: var(--paper); transition: border-color .15s, transform .15s; }
.wiz-opt img { width: 100%; height: 120px; object-fit: cover; margin-bottom: 8px; }
.wiz-opt .h-m { padding: 0 14px; font-size: 20px; }
.wiz-opt .body-s { padding: 0 14px; }
.wiz-opt:hover { border-color: var(--ink); transform: translateY(-2px); }
.wiz-opt[aria-checked="true"] { border-color: var(--signal); box-shadow: inset 0 0 0 1.5px var(--signal); }
.wiz-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wiz-chip { border: 1.5px solid var(--line); border-radius: 2px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; text-align: left; min-width: 150px; font-size: 13px; line-height: 1.4; color: var(--slate); transition: border-color .15s; }
.wiz-chip b { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; text-transform: uppercase; color: var(--ink); letter-spacing: .3px; }
.wiz-chip:hover { border-color: var(--ink); }
.wiz-chip[aria-checked="true"], .wiz-chip[aria-pressed="true"] { border-color: var(--signal); box-shadow: inset 0 0 0 1.5px var(--signal); background: rgba(255,91,31,.06); }
.wiz-result { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.wiz-kit { border: 1px solid var(--line); border-radius: 2px; }
.wiz-kit-head { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--bone); border-bottom: 1px solid var(--line); }
.wiz-table { width: 100%; border-collapse: collapse; }
.wiz-table td { padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; vertical-align: top; }
.wiz-table tr:last-child td { border-bottom: 0; }
.wiz-table td.qty { font-family: var(--font-mono); font-size: 12px; color: var(--slate); white-space: nowrap; width: 1%; }
.wiz-table td.amt { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-align: right; white-space: nowrap; width: 1%; }
.wiz-table td .cat { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .88px; text-transform: uppercase; color: var(--slate-2); margin-top: 2px; }
.wiz-total { background: var(--ink); color: var(--paper); border-radius: 2px; padding: 24px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 0; }
.wiz-total .display-l { font-size: 56px; }
.wiz-total-lines { border-top: 1px solid var(--ink-3); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.wiz-total-lines > div { display: flex; justify-content: space-between; gap: 12px; }
.wiz-done { display: flex; align-items: flex-start; gap: 14px; border: 1px solid var(--signal); background: rgba(255,91,31,.06); padding: 18px 20px; border-radius: 2px; }
.wiz-done[hidden] { display: none; }
.wiz-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 32px 28px; border-top: 1px solid var(--line); margin-top: auto; }
.wiz-foot [data-wiz-back][disabled] { opacity: .35; pointer-events: none; }
body.wiz-open { overflow: hidden; }

@media (max-width: 900px) {
  .op { height: 170vh; }
  .op-inner { padding: 40px var(--gutter) 32px; gap: 24px; }
  .op-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .op-body { grid-template-columns: 1fr; gap: 20px; }
  .op-log { font-size: 13px; }
  .op-log li:nth-child(n+5) { display: none; }
  .op-grid .op-axis { display: none; }
  .wiz { padding: 0; align-items: flex-end; }
  .wiz-panel { max-height: 94vh; border-radius: 2px 2px 0 0; }
  .wiz-head, .wiz-step, .wiz-foot { padding-left: 20px; padding-right: 20px; }
  .wiz-steps li span, .wiz-steps li { font-size: 0; }
  .wiz-steps li b { font-size: 10px; }
  .wiz-envs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wiz-opt img { height: 90px; }
  .wiz-result { grid-template-columns: 1fr; }
  .wiz-total { position: static; }
  .wiz-foot [data-wiz-summary] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image .kb, .pulse, .op-cell.hit { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Aerial page motion: hero HUD, mission scrub, airframe finder
   ========================================================= */
.hero-aerial .kb-slow { animation: kenburns-air 36s ease-in-out infinite alternate; transform-origin: 70% 30%; }
@keyframes kenburns-air { from { transform: scale(1); } to { transform: scale(1.07) translate(1%, -0.5%); } }
.hero-aerial .hud { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.mission { height: 230vh; padding: 0; display: block; }
.mission-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 56px var(--gutter) 40px; max-width: var(--page-max); margin: 0 auto; }
.mission-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; min-height: 0; }
.mission-stage { position: relative; border-radius: 2px; overflow: hidden; background: var(--ink-2); width: 100%; aspect-ratio: 16 / 9; max-height: 56vh; min-width: 0; --zoom: 1; --fx: 72%; --fy: 44%; --thermal: 1; --spot: 0; --ret: 0; }
.mission-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: var(--fx) var(--fy); transform: scale(var(--zoom)); will-change: transform; }
.mission-stage .thermal { filter: grayscale(1) contrast(1.7) brightness(.75); opacity: var(--thermal); mix-blend-mode: normal; }
.mission-stage .hot { position: absolute; left: var(--fx); top: var(--fy); width: 10%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,230,120,.95) 0%, rgba(255,91,31,.85) 28%, rgba(255,91,31,0) 70%); opacity: var(--thermal); filter: blur(2px); animation: hot-breathe 1.8s ease-in-out infinite; pointer-events: none; }
@keyframes hot-breathe { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.18); } }
.mission-stage .spot { position: absolute; inset: 0; opacity: var(--spot); background: radial-gradient(circle at var(--fx) var(--fy), rgba(255,255,255,0) 0%, rgba(255,255,255,0) 9%, rgba(15,20,23,.82) 30%, rgba(15,20,23,.92) 100%); pointer-events: none; }
.mission-stage .reticle { position: absolute; left: var(--fx); top: var(--fy); width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); opacity: var(--ret); transition: opacity .3s; pointer-events: none; }
.mission-stage .reticle span:not(.tag) { position: absolute; width: 18px; height: 18px; border: 2px solid var(--hivis); }
.mission-stage .reticle span.tl { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.mission-stage .reticle span.tr { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.mission-stage .reticle span.bl { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.mission-stage .reticle span.br { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.mission-stage .reticle .tag { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px); white-space: nowrap; background: var(--ink); color: var(--hivis); padding: 4px 8px; border: 1px solid var(--ink-3); }
.mission-stage .hud-corner { position: absolute; left: 16px; top: 14px; color: var(--paper); background: rgba(15,20,23,.6); padding: 5px 8px; border: 1px solid var(--ink-3); }
.mission-result { position: absolute; left: 16px; bottom: 14px; display: flex; align-items: center; gap: 10px; background: var(--ink); border: 1px solid var(--signal); padding: 10px 14px; border-radius: 2px; opacity: 0; transition: opacity .35s; }
.mission-result.on { opacity: 1; }
.mission-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mission-steps .step { opacity: .35; transform: translateX(8px); transition: opacity .35s, transform .35s, border-color .35s; padding: 22px 24px; gap: 10px; }
.mission-steps .step.on { opacity: 1; transform: none; border-color: var(--signal); }
.mission-steps .step.done { opacity: .7; }
.mission .op-progress { max-width: none; }

.af-result { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.af-pick { border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.af-pick img { width: 100%; height: 220px; object-fit: cover; display: block; }
.af-pick-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.series-card-name { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.08; letter-spacing: 0.16px; text-transform: uppercase; }
.af-why { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.af-why li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.af-why li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex: 0 0 auto; margin-top: 6px; }
.af-pick-body .specs .row .v { font-weight: 500; }
.wiz-total .h-m.c-paper { color: var(--paper); }

@media (max-width: 900px) {
  .mission { height: 200vh; }
  .hero-aerial .hud { display: none; }
  .subnav .tabs { flex-wrap: nowrap; overflow-x: auto; }
  .mission-sticky { padding: 32px var(--gutter) 24px; gap: 20px; justify-content: flex-start; }
  .mission-body { grid-template-columns: 1fr; gap: 14px; }
  .mission-stage { max-height: 44vh; aspect-ratio: 4 / 3; }
  .mission-stage .reticle { width: 34%; }
  .mission-steps .step p { display: none; }
  .mission-steps .step { padding: 14px 16px; flex-direction: row; align-items: center; gap: 12px; }
  .mission-steps .step .top { flex: 0 0 auto; }
  .mission-steps .step .top .label { display: none; }
  .mission-steps .step .h-m { font-size: 20px; }
  .af-result { grid-template-columns: 1fr; }
  .af-pick img { height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-aerial .kb-slow, .mission-stage .hot { animation: none; }
}
