/* ──────────────────────────────────────────────────────────────────
   CAD911 — Command & Dispatch
   Editorial / public-safety-forward design language
   Dark canvas · condensed display type · flag-stripe motifs · star marks
   ────────────────────────────────────────────────────────────────── */

:root {
  /* surfaces — slightly warmer than pure black for editorial feel */
  --bg-0: #06070a;
  --bg-1: #0b0d12;
  --bg-2: #11141a;
  --bg-3: #181c24;
  --bg-4: #20242d;
  --paper: #f4f1ea;    /* warm off-white for inverted sections */
  --paper-2: #e8e3d6;

  /* text */
  --fg-0: #f5f3ee;
  --fg-1: #d8d4c8;
  --fg-2: #989386;
  --fg-3: #6a6759;
  --fg-4: #45433b;
  --fg-ink: #0a0c10;   /* on paper */

  /* borders */
  --line-1: #1c1f27;
  --line-2: #2a2e38;
  --line-3: #3a3f4b;
  --line-ink: #cfc8b5;

  /* American flag primary palette */
  --red:    #c8102e;   /* "Old Glory Red" */
  --red-hi: #e02b46;
  --red-lo: #9e0a23;
  --blue:   #0a3161;   /* "Old Glory Blue" */
  --blue-hi:#15498f;
  --blue-lo:#06214a;
  --white:  #ffffff;

  /* secondary accents */
  --gold:   #d4a432;   /* badge/star gold */
  --gold-hi:#e9c25b;
  --green:  #1f7a47;   /* EMS / available */
  --green-hi:#2fa05f;
  --orange: #cf5a1f;   /* fire stripe */

  /* type */
  --font-display: 'Saira Condensed', 'Oswald', 'Arial Narrow', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-editorial: 'Spectral', Georgia, serif;

  /* layout */
  --container: 1360px;
  --container-narrow: 980px;
  --gutter: 32px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg-0);
  color: var(--fg-0);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--red); color: #fff; }

/* ───────── containers ───────── */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: var(--container-narrow); }

/* ──────────────────────────────────────────────────────────────────
   NAV — minimal, hard line, no glass blur
   ────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--bg-0);
  border-bottom: 1px solid var(--line-1);
}
.nav__inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 36px;
}

/* ────── WORDMARK LOGO ────── */
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark__star {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  position: relative;
}
.wordmark__star svg { width: 100%; height: 100%; }
.wordmark__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  display: flex; align-items: center;
  gap: 8px;
  color: var(--fg-0);
  white-space: nowrap;
}
.wordmark__text .amp {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  color: var(--red);
  letter-spacing: 0;
  text-transform: none;
  transform: translateY(-1px);
}
.wordmark__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--fg-3);
  margin-top: 4px;
  text-transform: uppercase;
}
.wordmark__stack { display: flex; flex-direction: column; }

/* ────── nav links ────── */
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding: 10px 14px;
  position: relative;
  transition: color .15s;
}
.nav__link:hover { color: var(--fg-0); }
.nav__link.is-active { color: var(--fg-0); }
.nav__link.is-active::after {
  content: ""; position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px; background: var(--red);
}
.nav__dropdown { position: relative; }
.nav__dropdown:hover > .nav__menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav__menu {
  position: absolute;
  top: 100%; left: 0; margin-top: 0;
  min-width: 300px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  padding: 6px;
  opacity: 0; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s;
  box-shadow: 0 24px 50px -16px rgba(0,0,0,0.6);
}
.nav__menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px;
  font-size: 13px;
  border-left: 2px solid transparent;
}
.nav__menu a:hover { background: var(--bg-2); border-left-color: var(--red); }
.nav__menu .label { display: flex; flex-direction: column; gap: 2px; }
.nav__menu .label strong { color: var(--fg-0); font-weight: 600; font-size: 13.5px; }
.nav__menu .label small { color: var(--fg-3); font-size: 11px; letter-spacing: 0.04em; }
.nav__menu .num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: 0.1em;
  width: 26px;
}
.nav__spacer { flex: 1; }
.nav__cta { display: flex; align-items: center; gap: 10px; }

/* ──────────────────────────────────────────────────────────────────
   BUTTONS — hard edges, condensed type
   ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .05s;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn .material-symbols-outlined { font-size: 16px; }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-hi); }
.btn--secondary { background: var(--bg-3); color: var(--fg-0); border-color: var(--line-3); }
.btn--secondary:hover { background: var(--bg-4); border-color: var(--line-3); }
.btn--ghost { color: var(--fg-1); border-color: var(--line-3); }
.btn--ghost:hover { color: var(--fg-0); border-color: var(--fg-2); }
.btn--white { background: var(--paper); color: var(--fg-ink); }
.btn--white:hover { background: var(--white); }
.btn--lg { padding: 16px 26px; font-size: 14px; }
.btn--xl { padding: 18px 30px; font-size: 15px; }

/* ──────────────────────────────────────────────────────────────────
   FLAG STRIPE — used as graphic device
   ────────────────────────────────────────────────────────────────── */

/* horizontal: thin under-nav stripe */
.flag-stripe {
  height: 4px;
  display: flex;
}
.flag-stripe span { flex: 1; }
.flag-stripe span:nth-child(1) { background: var(--red); }
.flag-stripe span:nth-child(2) { background: var(--white); }
.flag-stripe span:nth-child(3) { background: var(--blue); }

/* vertical rail: 3 thin lines running down the side of a section */
.flag-rail {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 14px;
  display: flex;
}
.flag-rail span { flex: 1; }
.flag-rail span:nth-child(1) { background: var(--red); }
.flag-rail span:nth-child(2) { background: var(--white); }
.flag-rail span:nth-child(3) { background: var(--blue); }

/* big stripes block (used as poster element) */
.stripes-block {
  display: flex; flex-direction: column;
}
.stripes-block .stripe { height: 8px; }
.stripes-block .stripe.r { background: var(--red); }
.stripes-block .stripe.w { background: var(--paper); }
.stripes-block .stripe.b { background: var(--blue); }

/* ──────────────────────────────────────────────────────────────────
   TYPE
   ────────────────────────────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.92;
  margin: 0;
}
.display--xl { font-size: clamp(56px, 9vw, 144px); }
.display--lg { font-size: clamp(44px, 6.4vw, 96px); }
.display--md { font-size: clamp(32px, 4.4vw, 60px); }
.display--sm { font-size: clamp(24px, 2.6vw, 36px); }

.editorial {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
}

.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--fg-1);
  line-height: 1.55;
  max-width: 56ch;
  text-wrap: pretty;
}
.lead--muted { color: var(--fg-2); }

.mono { font-family: var(--font-mono); }
.muted { color: var(--fg-2); }
.dim { color: var(--fg-3); }

/* ────── SECTION HEADERS ────── */
.section-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.section-tag__num {
  color: var(--red);
  font-weight: 600;
}
.section-tag::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-2);
  max-width: 280px;
}
.section-tag--solo::after { display: none; }

/* ────── EYEBROWS for in-content callouts ────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
}
.eyebrow--blue { color: var(--blue-hi); }
.eyebrow--gold { color: var(--gold-hi); }
.eyebrow--green { color: var(--green-hi); }

/* ──────────────────────────────────────────────────────────────────
   IMAGE PLATES — labeled placeholders that read as design choice
   ────────────────────────────────────────────────────────────────── */
.plate {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  overflow: hidden;
  isolation: isolate;
}
.plate::before {
  /* diagonal stripes pattern */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 14px,
    rgba(255,255,255,0.022) 14px,
    rgba(255,255,255,0.022) 28px
  );
  pointer-events: none;
}
.plate::after {
  /* radial vignette */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 50%, transparent 0%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}
.plate__label {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  background: rgba(6,7,10,0.7);
  border: 1px solid var(--line-2);
  padding: 6px 10px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.plate__label .dot { width: 5px; height: 5px; border-radius: 99px; background: var(--red); display: inline-block; }
.plate__caption {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: 0.04em;
}
.plate__caption strong { color: var(--fg-0); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 11.5px; display: block; }
.plate__caption small { color: var(--fg-3); }
.plate__center {
  position: absolute; inset: 0;
  z-index: 1;
  display: grid; place-items: center;
  color: var(--fg-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  text-align: center;
  padding: 0 20px;
  text-wrap: balance;
}
.plate__center .material-symbols-outlined { font-size: 56px; margin-bottom: 10px; opacity: 0.6; display: block; }

/* ──────────────────────────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero__starfield {
  position: absolute; inset: 0;
  z-index: 0;
  opacity: 0.4;
  background-image:
    radial-gradient(1px 1px at 20% 30%, var(--fg-1), transparent),
    radial-gradient(1px 1px at 80% 70%, var(--fg-1), transparent),
    radial-gradient(1px 1px at 40% 80%, var(--fg-1), transparent),
    radial-gradient(1px 1px at 60% 20%, var(--fg-1), transparent),
    radial-gradient(1px 1px at 90% 40%, var(--fg-1), transparent),
    radial-gradient(1px 1px at 10% 60%, var(--fg-1), transparent),
    radial-gradient(1px 1px at 30% 90%, var(--fg-1), transparent),
    radial-gradient(1px 1px at 70% 10%, var(--fg-1), transparent);
  background-size: 800px 600px;
  background-repeat: repeat;
  -webkit-mask-image: radial-gradient(1200px 700px at 80% 0%, #000, transparent 75%);
          mask-image: radial-gradient(1200px 700px at 80% 0%, #000, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; }

.hero__topline {
  display: flex; align-items: center; gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-bottom: 36px;
}
.hero__topline .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--red); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(200,16,46,0); }
}
.hero__topline .divider { width: 1px; height: 14px; background: var(--line-2); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
}
@media (max-width: 1100px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } }

.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.88;
  font-size: clamp(54px, 9vw, 140px);
  margin: 0 0 32px;
}
.hero__headline .line { display: block; }
.hero__headline .line--ed {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.015em;
  line-height: 1;
  font-size: 0.62em;
  color: var(--red);
  margin-top: 0.12em;
}
.hero__headline .line--white { color: var(--paper); }

.hero__sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--fg-1);
  line-height: 1.55;
  max-width: 54ch;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.hero__sub strong { color: var(--fg-0); font-weight: 600; }

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero__plate {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 480px;
}
.hero__plate .stripes-block {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 22px;
  z-index: 3;
}
.hero__plate .stripes-block .stripe { flex: 1; height: auto; }

/* ──────────────────────────────────────────────────────────────────
   "ON DUTY" SUB-HERO STRIP — three-up service stripes
   ────────────────────────────────────────────────────────────────── */
.duty-strip {
  background: var(--paper);
  color: var(--fg-ink);
  border-top: 4px solid var(--red);
  border-bottom: 4px solid var(--blue);
}
.duty-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 800px) { .duty-strip__grid { grid-template-columns: 1fr; } }
.duty {
  padding: 36px 32px;
  border-right: 1px solid var(--line-ink);
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
}
.duty:last-child { border-right: none; }
@media (max-width: 800px) { .duty { border-right: none; border-bottom: 1px solid var(--line-ink); } .duty:last-child { border-bottom: none; } }
.duty__band {
  height: 4px;
  width: 64px;
  margin-bottom: 14px;
}
.duty--police .duty__band { background: var(--blue); }
.duty--fire .duty__band { background: var(--red); }
.duty--ems .duty__band { background: var(--green); }
.duty__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.duty__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--fg-ink);
  margin: 0;
}
.duty__body { font-size: 14.5px; line-height: 1.55; color: #3a382e; margin: 4px 0 0; }

/* ──────────────────────────────────────────────────────────────────
   SECTIONS
   ────────────────────────────────────────────────────────────────── */
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--paper { background: var(--paper); color: var(--fg-ink); }
.section--paper .section-tag { color: #6b6857; }
.section--paper .section-tag__num { color: var(--red); }
.section--paper .lead { color: #45433b; }
.section--paper .muted { color: #6b6857; }

.section__head { margin-bottom: 64px; max-width: 920px; }
.section__head h2 { margin: 0 0 18px; }
.section__head .lead { margin: 0; }

/* divider */
.divider-stars {
  display: flex; align-items: center; gap: 14px;
  color: var(--red);
  font-size: 11px;
  margin: 24px 0;
  letter-spacing: 0.3em;
}
.divider-stars::before, .divider-stars::after {
  content: ""; flex: 1; height: 1px; background: var(--line-2);
}

/* ──────────────────────────────────────────────────────────────────
   NUMBERED PRODUCT LIST — editorial
   ────────────────────────────────────────────────────────────────── */
.modules {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-1);
}
.module {
  display: grid;
  grid-template-columns: 80px 280px 1fr 200px;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line-1);
  align-items: center;
  position: relative;
  transition: background .15s;
}
.module:hover { background: var(--bg-1); }
@media (max-width: 980px) {
  .module { grid-template-columns: 60px 1fr; gap: 16px; padding: 24px 0; }
  .module__body { grid-column: 2 / -1; }
  .module__link { grid-column: 2 / -1; }
}
.module__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--red);
  align-self: start;
  padding-top: 4px;
}
.module__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin: 0;
}
.module__title small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--fg-3);
  margin-top: 6px;
  text-transform: uppercase;
}
.module__body { color: var(--fg-1); font-size: 15px; line-height: 1.6; }
.module__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-0);
  justify-self: end;
}
@media (max-width: 980px) { .module__link { justify-self: start; } }
.module__link .arrow {
  display: inline-block; width: 24px; height: 1px; background: currentColor; position: relative;
  transition: width .2s;
}
.module__link .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.module:hover .module__link .arrow { width: 40px; }

/* ──────────────────────────────────────────────────────────────────
   CAPABILITY GRID (editorial)
   ────────────────────────────────────────────────────────────────── */
.caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-1);
  border: 1px solid var(--line-1);
}
@media (max-width: 900px) { .caps { grid-template-columns: 1fr; } }
.cap {
  background: var(--bg-0);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.cap__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--red);
}
.cap__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.05;
}
.cap__body { font-size: 14px; color: var(--fg-2); line-height: 1.6; margin: 0; }

/* ──────────────────────────────────────────────────────────────────
   DISPATCH FEED — used as decorative content
   ────────────────────────────────────────────────────────────────── */
.feed {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  overflow: hidden;
}
.feed__head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line-2);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.feed__head .live {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red-hi);
  font-weight: 600;
}
.feed__head .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--red);
  animation: pulse 1.5s infinite;
}
.feed__body { padding: 14px 16px; max-height: 460px; overflow: hidden; }
.feed__row { display: flex; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line-2); }
.feed__row:last-child { border-bottom: none; }
.feed__row .t { color: var(--fg-3); flex: none; }
.feed__row .src { color: var(--blue-hi); flex: none; width: 56px; }
.feed__row .src.r { color: var(--red-hi); }
.feed__row .src.g { color: var(--green-hi); }
.feed__row .src.y { color: var(--gold-hi); }
.feed__row .msg { color: var(--fg-1); flex: 1; }
.feed__row .msg b { color: var(--fg-0); font-weight: 600; }

/* ──────────────────────────────────────────────────────────────────
   COMPLIANCE — three pillars
   ────────────────────────────────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  padding: 36px 30px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.pillar__crest {
  width: 56px; height: 56px;
  margin-bottom: 22px;
}
.pillar__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
  line-height: 1;
}
.pillar__cert {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 18px;
}
.pillar__body { font-size: 14px; color: var(--fg-2); line-height: 1.6; margin: 0; }

/* ──────────────────────────────────────────────────────────────────
   DEPLOYMENT TIERS — three-up
   ────────────────────────────────────────────────────────────────── */
.deploys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-1);
}
@media (max-width: 900px) { .deploys { grid-template-columns: 1fr; } }
.deploy {
  padding: 40px 32px;
  border-right: 1px solid var(--line-1);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.deploy:last-child { border-right: none; }
@media (max-width: 900px) { .deploy { border-right: none; border-bottom: 1px solid var(--line-1); } .deploy:last-child { border-bottom: none; } }
.deploy__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: uppercase;
}
.deploy__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 38px);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.96;
  margin: 0;
}
.deploy__body { color: var(--fg-2); font-size: 14.5px; line-height: 1.6; margin: 0; }
.deploy__example {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  margin-top: 8px;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--line-2);
  padding-top: 14px;
}

/* ──────────────────────────────────────────────────────────────────
   QUOTE / CTA BAND
   ────────────────────────────────────────────────────────────────── */
.poster {
  background: var(--blue);
  color: var(--paper);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.poster::before {
  /* star pattern */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}
.poster__inner { position: relative; }
.poster__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .poster__grid { grid-template-columns: 1fr; gap: 32px; } }
.poster__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin: 0 0 18px;
}
.poster__title em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-hi);
  text-transform: none;
}
.poster__body {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(244,241,234,0.85);
  margin: 0 0 28px;
  max-width: 56ch;
}

/* ──────────────────────────────────────────────────────────────────
   INTEGRATIONS — ticker / dense list
   ────────────────────────────────────────────────────────────────── */
.tickers {
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  padding: 36px 0;
  background: var(--bg-1);
}
.ticker-row {
  display: flex; gap: 36px;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.ticker-row .item { display: inline-flex; align-items: center; gap: 8px; }
.ticker-row .item::before { content: "★"; color: var(--red); font-size: 9px; }

/* ──────────────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--line-1);
  padding: 72px 0 40px;
  color: var(--fg-2);
  font-size: 13.5px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-0);
  margin: 0 0 16px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a:hover { color: var(--fg-0); }
.footer__addr { white-space: pre-line; line-height: 1.55; font-size: 13px; color: var(--fg-1); margin: 18px 0 0; }
.footer__intro { color: var(--fg-2); max-width: 320px; margin: 20px 0 0; line-height: 1.55; font-size: 14px; }
.footer__bottom {
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid var(--line-1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ──────────────────────────────────────────────────────────────────
   BREADCRUMB (product pages)
   ────────────────────────────────────────────────────────────────── */
.crumb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 28px 0 0;
  display: flex; align-items: center; gap: 12px;
}
.crumb a { color: var(--fg-2); }
.crumb a:hover { color: var(--fg-0); }
.crumb .sep { color: var(--fg-4); }

/* ──────────────────────────────────────────────────────────────────
   FORM (demo / contact)
   ────────────────────────────────────────────────────────────────── */
.form-card {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  padding: 40px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.col-6 { grid-column: span 6; }
.field.col-12 { grid-column: span 12; }
.field.col-4 { grid-column: span 4; }
.field.col-8 { grid-column: span 8; }
@media (max-width: 700px) { .field[class*=col-] { grid-column: span 12; } }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-1);
}
.field label .req { color: var(--red-hi); margin-left: 2px; }
.field input, .field select, .field textarea {
  background: var(--bg-0);
  border: 1px solid var(--line-2);
  color: var(--fg-0);
  font: 15px var(--font-sans);
  padding: 13px 14px;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; font-family: var(--font-sans); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.15);
}
.field .hint { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.04em; }
.form-actions { grid-column: span 12; display: flex; gap: 12px; margin-top: 8px; align-items: center; }

/* ──────────────────────────────────────────────────────────────────
   PRICING TIERS
   ────────────────────────────────────────────────────────────────── */
.pricing {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line-2);
}
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.tier {
  padding: 40px 32px;
  border-right: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  background: var(--bg-1);
}
.tier:last-child { border-right: none; }
@media (max-width: 900px) { .tier { border-right: none; border-bottom: 1px solid var(--line-2); } .tier:last-child { border-bottom: none; } }
.tier--featured { background: var(--bg-2); }
.tier--featured::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--red);
}
.tier__num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--red); text-transform: uppercase; }
.tier__title { font-family: var(--font-display); font-weight: 800; font-size: 32px; text-transform: uppercase; line-height: 1; margin: 0; }
.tier__sub { font-size: 13.5px; color: var(--fg-2); margin: 0; }
.tier__price { display: flex; align-items: baseline; gap: 10px; margin: 4px 0; }
.tier__price strong { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; }
.tier__price small { color: var(--fg-3); font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.tier__divider { height: 1px; background: var(--line-2); margin: 4px 0; }
.tier ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tier li { display: flex; gap: 12px; font-size: 13.5px; line-height: 1.5; color: var(--fg-1); }
.tier li::before { content: "★"; color: var(--red); font-size: 10px; padding-top: 4px; flex: none; }
.tier .btn { margin-top: 10px; justify-content: center; width: 100%; }

/* ──────────────────────────────────────────────────────────────────
   PRODUCT HERO (per-product page)
   ────────────────────────────────────────────────────────────────── */
.phero {
  padding: 32px 0 80px;
  position: relative;
  overflow: hidden;
}
.phero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 24px;
}
@media (max-width: 980px) { .phero__grid { grid-template-columns: 1fr; } }
.phero__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 16px;
}
.phero__num::after { content: ""; flex: 1; max-width: 200px; height: 1px; background: var(--line-2); }
.phero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6.2vw, 88px);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin: 0 0 22px;
}
.phero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--fg-1);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 0 28px;
  text-wrap: pretty;
}
.phero__plate {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 460px;
}

/* ──────────────────────────────────────────────────────────────────
   SPEC SHEET
   ────────────────────────────────────────────────────────────────── */
.spec {
  border-top: 1px solid var(--line-2);
}
.spec__row {
  display: grid; grid-template-columns: 220px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 14px;
  gap: 24px;
}
.spec__row strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.spec__row span { color: var(--fg-0); }

/* ──────────────────────────────────────────────────────────────────
   TWO-COL SPLIT
   ────────────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split--center { align-items: center; }

/* utility */
.center { text-align: center; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.divider { height: 1px; background: var(--line-1); margin: 56px 0; }
