/* ArcherFRS — clinical operations homepage (light)
   Outcome first → capability without complexity → Live Dispatch Trial
*/

:root {
  --bg: #f7f6f3;
  --bg-card: #ffffff;
  --bg-soft: #efeeea;
  --ink: #1a1c1e;
  --ink-2: #3d434a;
  --muted: #5c6570;
  --line: #ddd9d2;
  --line-2: #cfc9c0;
  --red: #ed1c24;
  --red-hover: #d41820;
  --red-soft: rgba(237, 28, 36, 0.08);
  --navy: #1e2a3a;
  --max: 1120px;
  --narrow: 680px;
  --pad: clamp(18px, 4vw, 36px);
  --header: 88px;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  /* Hero sub trial — swap easily: Instrument Sans | DM Sans | Newsreader */
  --hero-sub: "Instrument Sans", var(--sans);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 12px 40px rgba(26, 28, 30, 0.06);
  --shadow-lg: 0 24px 60px rgba(26, 28, 30, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul,
ol {
  list-style: none;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.shell {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.shell-narrow {
  width: min(var(--narrow), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(247, 246, 243, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  will-change: transform;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.95);
}

/* Past hero: slide away until user peeks (mouse to top / scroll up) */
.site-header.is-auto-hidden {
  transform: translateY(-100%);
  pointer-events: none;
  box-shadow: none;
  border-bottom-color: transparent;
}

.site-header.is-past-hero:not(.is-auto-hidden) {
  box-shadow: 0 8px 28px rgba(20, 24, 30, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: border-color 0.2s ease, background 0.2s ease;
  }

  .site-header.is-auto-hidden {
    transform: none;
    pointer-events: auto;
  }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  height: 58px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.nav-desktop > a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.nav-desktop > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-desktop > a:hover {
  color: var(--red);
}

.nav-desktop > a:hover::after {
  transform: scaleX(1);
}

.nav-mobile a:hover {
  color: var(--red);
}

/* About dropdown — desktop */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  /* Extend hover hit-area below the label so the pointer can reach the panel */
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  margin: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  cursor: pointer;
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 14px);
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-dropdown-trigger:hover,
.nav-dropdown.is-open .nav-dropdown-trigger {
  color: var(--red);
}

.nav-dropdown-trigger:hover::after,
.nav-dropdown.is-open .nav-dropdown-trigger::after {
  transform: scaleX(1);
}

.nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  transition: transform 0.2s var(--ease);
}

.nav-dropdown.is-open .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  /* Sit flush under the extended hover area (no dead gap) */
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(20, 24, 30, 0.12);
  display: grid;
  gap: 2px;
  z-index: 60;
}

/* Invisible bridge above the panel in case of any remaining gap */
.nav-dropdown-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.nav-dropdown-panel[hidden] {
  display: none !important;
}

.nav-dropdown-panel a {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a:focus-visible {
  background: rgba(237, 28, 36, 0.06);
  color: var(--red);
  outline: none;
}

/* Group labels inside About dropdown — not links; clear section headers */
.nav-dropdown-label {
  margin: 10px 8px 4px;
  padding: 6px 4px 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(30, 42, 58, 0.45);
  border-bottom: 1px solid var(--line);
  pointer-events: none;
  user-select: none;
}

.nav-dropdown-label:first-child {
  margin-top: 2px;
}

.nav-dropdown-panel {
  min-width: 260px;
}

/* Mobile group labels — same hierarchy */
.nav-mobile-group .nav-mobile-label {
  margin: 10px 0 2px;
  padding-bottom: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(30, 42, 58, 0.45);
  border-bottom: 1px solid var(--line);
}

/* Mobile about group */
.nav-mobile-group {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.nav-mobile-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-mobile-group a {
  padding-left: 4px;
}

/* Refined header CTA — not a candy-red button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
  padding: 10px 0;
  border-bottom: 1.5px solid rgba(30, 42, 58, 0.25);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

.nav-cta:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.nav-cta.mobile {
  margin-top: 8px;
  align-self: flex-start;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 8px var(--pad) 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav-mobile:not([hidden]) {
  display: flex;
}

.nav-mobile a {
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 600;
}

/* Buttons — clinical / institutional, not marketing-red */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding: 14px 20px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  text-align: left;
}

.btn-lg {
  padding: 16px 22px;
  min-width: 260px;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: none;
}

.btn-primary:hover {
  background: #152030;
  border-color: #152030;
  box-shadow: 0 10px 28px rgba(30, 42, 58, 0.18);
}

.btn-label {
  font-size: 14.5px;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.btn-hint {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.72;
  line-height: 1.3;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 10px 2px;
  border-bottom: 1.5px solid rgba(26, 28, 30, 0.18);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-text:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Keep solid navy for form submits that use .btn-primary without stack */
.form .btn-primary,
.trial-cta .btn-primary {
  flex-direction: row;
  align-items: center;
  text-align: center;
}

/* Hero primary CTA — sharper, less bland than flat navy block */
.btn-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 22px 14px;
  min-width: 280px;
  border-radius: 2px;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  border-left: 4px solid var(--red);
  box-shadow: 0 14px 36px rgba(30, 42, 58, 0.16);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.btn-cta:hover {
  background: #152030;
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(30, 42, 58, 0.22);
}

.btn-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: space-between;
}

.btn-cta .btn-label {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.btn-cta .btn-arrow {
  font-size: 18px;
  color: #ff8a8f;
  line-height: 1;
}

.btn-cta .btn-hint {
  font-size: 11.5px;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.03em;
}

/* Type helpers */
.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.4vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 20ch;
}

.body-lg {
  color: var(--ink-2);
  font-size: 17.5px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.body-lg:last-child {
  margin-bottom: 0;
}

.section-lede {
  font-family: var(--hero-sub);
  color: var(--muted);
  font-size: 17.5px;
  max-width: 54ch;
  margin: 12px 0 36px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  font-weight: 400;
}

/* ========== OPTION A: Cinematic hero under solid light header ========== */

/* Always cream/white header — black logo + dark nav (never white text) */
.site-header.site-header-hero-a {
  background: rgba(247, 246, 243, 0.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header-hero-a .brand img {
  height: 58px;
  width: auto;
}

.site-header-hero-a .nav-desktop > a,
.site-header-hero-a .nav-dropdown-trigger,
.site-header-hero-a .menu-btn {
  color: var(--ink-2);
}

.site-header-hero-a .nav-desktop > a:hover,
.site-header-hero-a .nav-dropdown-trigger:hover,
.site-header-hero-a .nav-dropdown.is-open .nav-dropdown-trigger,
.site-header-hero-a .menu-btn:hover {
  color: var(--red);
}

.site-header-hero-a .nav-desktop > a::after,
.site-header-hero-a .nav-dropdown-trigger::after {
  background: var(--red);
}

.site-header-hero-a .nav-cta {
  color: var(--navy);
  border-bottom-color: rgba(30, 42, 58, 0.25);
}

.site-header-hero-a .nav-cta:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.site-header-hero-a .nav-mobile {
  background: #fff;
}

.site-header-hero-a .nav-mobile a {
  color: var(--ink-2);
}

/*
  Hero fills the screen BELOW the sticky header so:
  - no double gap under header
  - copy + cream stats bar fit in first view
*/
.hero-cinematic {
  position: relative;
  /* 100vh minus header height — entire first screen under nav */
  min-height: calc(100dvh - var(--header));
  min-height: calc(100vh - var(--header));
  max-height: calc(100dvh - var(--header));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
  background: #0a0c10;
}

.hero-cinematic-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-cinematic-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.02);
}

.hero-cinematic-wash {
  position: absolute;
  inset: 0;
  /*
    Dark wash over hero video (previous peak ~0.70 left-of-center).
    Stepped down ~20–25% so more video color shows through;
    type still has white text-shadow + eyebrow glass chip.
  */
  background:
    linear-gradient(
      90deg,
      rgba(8, 10, 14, 0.42) 0%,
      rgba(8, 10, 14, 0.52) 22%,
      rgba(8, 10, 14, 0.40) 48%,
      rgba(8, 10, 14, 0.22) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 10, 14, 0.28) 0%,
      rgba(8, 10, 14, 0.18) 50%,
      rgba(8, 10, 14, 0.32) 100%
    );
}

/* Full-width frame so we can place copy left-of-center intentionally */
.hero-cinematic-frame {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  padding: 20px 0 16px;
}

.hero-cinematic-content {
  /*
    Not hard-left, not dead-center — ~slightly left of center
    inside the content max-width (feels balanced on wide screens).
  */
  width: min(540px, 100%);
  max-width: 540px;
  margin-left: clamp(0px, 4vw, 48px);
  margin-right: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.hero-cinematic h1,
.hero-cinematic h1.hero-headline {
  position: relative;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.95rem, 4.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  padding-bottom: 16px;
  max-width: 16ch;
  width: fit-content; /* rule matches the text block width, not the full content column */
  /* Warm white — less flat than pure #fff next to cool sub */
  color: #f7f3ee;
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Full-width red rule under the main claim (spans the H1 text block) */
.hero-cinematic h1.hero-headline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--red) 0%,
    var(--red) 72%,
    rgba(237, 28, 36, 0.15) 100%
  );
}

/* Intentional line breaks on the main claim */
.hero-headline > span {
  display: block;
}

/* Brand hit on 911 — true Archer red (not salmon/pink), still readable on video */
.hero-headline-accent {
  display: inline;
  color: var(--red, #ed1c24);
  font-style: italic;
  font-weight: 600;
  text-shadow:
    0 0 20px rgba(237, 28, 36, 0.4),
    0 1px 3px rgba(0, 0, 0, 0.55);
}

/* Supporting promise — two intentional lines under the H1 */
.hero-cinematic .hero-sub {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.28em;
  font-family: var(--sans);
  font-size: clamp(0.98rem, 1.45vw, 1.1rem);
  line-height: 1.4;
  color: rgba(210, 218, 228, 0.88);
  max-width: 38ch;
  margin: 0 0 26px;
  padding-top: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero-cinematic .hero-sub-line {
  display: block;
}

.hero-cinematic .hero-sub-line-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: rgba(247, 243, 238, 0.95);
}

.hero-cinematic .hero-problem {
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 38ch;
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-cinematic .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

/*
  Stats bar under hero video — proof row with real weight.
  Cards on soft cream, red value type, room to breathe.
*/
.trust-strip-on-hero {
  position: relative;
  z-index: 2;
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(26, 28, 30, 0.08);
  background: linear-gradient(180deg, #efeeea 0%, var(--bg) 100%) !important;
  backdrop-filter: none;
  padding: 14px 0 16px;
  flex-shrink: 0;
  box-shadow: 0 -12px 40px rgba(8, 10, 14, 0.12);
}

.trust-strip-on-hero .trust-grid {
  gap: 10px;
}

.trust-strip-on-hero .stat-card {
  position: relative;
  border: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: 12px;
  background: #fff !important;
  padding: 16px 16px 14px;
  min-height: 88px;
  box-shadow: 0 4px 14px rgba(20, 24, 30, 0.04);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease),
    background 0.2s var(--ease);
}

/* Red top edge — pulls the eye to each metric */
.trust-strip-on-hero .stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: var(--red);
  opacity: 0.85;
}

.trust-strip-on-hero .stat-card:last-child {
  border-right: 1px solid var(--line);
}

.trust-strip-on-hero .stat-value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink) !important;
  margin-bottom: 6px;
}

.trust-strip-on-hero .stat-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red) !important;
  line-height: 1.3;
}

.trust-strip-on-hero .stat-detail {
  color: var(--ink-2) !important;
  font-size: 12.5px;
  max-width: 34ch;
}

/* Very light per-card hover cue */
.trust-strip-on-hero .stat-cue {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  opacity: 0.45;
  line-height: 1.2;
  transition: opacity 0.2s var(--ease);
}

.trust-strip-on-hero .stat-card:hover .stat-cue,
.trust-strip-on-hero .stat-card:focus-visible .stat-cue,
.trust-strip-on-hero .stat-card.is-open .stat-cue {
  opacity: 0;
}

.trust-strip-on-hero .stat-card:hover,
.trust-strip-on-hero .stat-card:focus-visible,
.trust-strip-on-hero .stat-card.is-open {
  background: #fff !important;
  border-color: rgba(237, 28, 36, 0.28);
  box-shadow: 0 10px 28px rgba(20, 24, 30, 0.08);
  transform: translateY(-1px);
  outline: none;
}

@media (max-width: 900px) {
  .trust-strip-on-hero .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .trust-strip-on-hero .stat-card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .trust-strip-on-hero .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip-on-hero .stat-value {
    font-size: 1.15rem;
  }
}

/* CTA on dark video band */
.btn-cta-light {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  border-left-color: var(--red);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  max-width: none;
}

.btn-cta-light:hover {
  background: #f4f2ef;
  border-color: #f4f2ef;
  color: var(--navy);
}

.btn-cta-light .btn-arrow {
  color: var(--red);
}

.btn-cta-light .btn-hint {
  opacity: 0.68;
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.3;
  white-space: nowrap;
}

.trust-strip-on-hero .stat-detail {
  max-width: 32ch;
}

.btn-text-on-dark {
  color: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.btn-text-on-dark:hover {
  color: #ffb3b6;
  border-bottom-color: #ffb3b6;
}

/* Legacy two-column hero styles (unused on A) */
.hero-sb {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-offer {
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.hero-video-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(26, 28, 30, 0.1);
  box-shadow: var(--shadow-lg);
  background: #0e1218;
  aspect-ratio: 16 / 10;
}

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

/* Trust strip — below hero (StoryBrand success cues, not hero clutter) */
.trust-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-card);
  padding: 8px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-card {
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 16px;
  cursor: pointer;
  transition: background 0.25s var(--ease);
  min-height: 0;
}

.stat-card:last-child {
  border-right: 0;
}

.stat-card:hover,
.stat-card:focus-visible,
.stat-card.is-open {
  background: var(--bg-soft);
  outline: none;
}

.stat-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

.stat-detail {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
  transition: max-height 0.35s var(--ease), opacity 0.3s var(--ease), margin-top 0.3s var(--ease);
}

.stat-card:hover .stat-detail,
.stat-card:focus-visible .stat-detail,
.stat-card.is-open .stat-detail {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;
}

.trust-hint {
  display: none;
}

/* Bands */
.band {
  padding: clamp(72px, 10vw, 104px) 0;
}

.band-soft {
  background: var(--bg-soft);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.two-col h2 {
  margin: 0;
}

/* Outcome cards */
/* Why it matters — gap → capacity → capability */
.why-section-title {
  max-width: 16ch;
  margin-bottom: 14px;
}

.why-lede {
  color: var(--ink-2);
  font-size: 1.1rem;
  line-height: 1.55;
  max-width: 48ch;
  margin-bottom: 36px;
}

.why-block {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px 44px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.why-block-last {
  border-bottom: 1px solid var(--line);
}

.why-block-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.why-block-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
}

.why-block-label span:last-child {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.why-block-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
  max-width: 30ch;
  color: var(--ink);
}

.why-block-body > p {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 58ch;
  margin-bottom: 14px;
}

.why-block-body > p:last-child {
  margin-bottom: 0;
}

.why-note {
  margin-top: 8px !important;
  font-weight: 600;
  color: var(--ink) !important;
}

.why-close {
  margin-top: 8px !important;
  font-family: var(--serif);
  font-size: 1.15rem !important;
  font-style: italic;
  font-weight: 500 !important;
  color: var(--ink) !important;
  max-width: 36ch !important;
  line-height: 1.4 !important;
}

.gap-amplifiers {
  display: grid;
  gap: 0;
  margin: 8px 0 16px;
  border-top: 1px solid var(--line);
}

.gap-amplifiers li {
  display: grid;
  grid-template-columns: minmax(140px, 0.4fr) 1fr;
  gap: 16px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.gap-amplifiers strong {
  font-size: 14.5px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.gap-amplifiers span {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.45;
}

.why-callout {
  margin: 8px 0 16px;
  padding: 18px 20px;
  border-left: 3px solid var(--red);
  background: rgba(237, 28, 36, 0.04);
  border-radius: 0 8px 8px 0;
  max-width: 58ch;
}

.why-callout p {
  margin: 0 !important;
  font-size: 15.5px !important;
  line-height: 1.55 !important;
  color: var(--ink-2) !important;
}

.why-callout strong {
  color: var(--ink);
  font-weight: 650;
}

.outcome-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 4px;
}

.outcome-cards article {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 18px 16px;
}

.outcome-cards h3 {
  font-size: 0.95rem;
  font-weight: 650;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.outcome-cards p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 800px) {
  .why-block {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }

  .why-block-label {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }

  .gap-amplifiers li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Reframe */
.narrow-block {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.center-title {
  max-width: none;
  margin-inline: auto;
  margin-bottom: 18px;
}

.center-lede {
  color: var(--ink-2);
  font-size: 1.2rem;
  line-height: 1.55;
  max-width: 42ch;
  margin-inline: auto;
}

/* Compare */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.compare-col {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
}

.compare-us {
  border-color: rgba(237, 28, 36, 0.35);
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

.compare-col h3 {
  font-size: 0.95rem;
  font-weight: 650;
  margin-bottom: 18px;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.compare-us h3 {
  color: var(--red);
}

.compare-col ul {
  display: grid;
  gap: 12px;
}

.compare-col li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.45;
}

.compare-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-2);
}

.compare-us li::before {
  background: var(--red);
}

.statement {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 36ch;
  color: var(--navy);
}

/* ============================================================
   Visual-first sections — scroll rhythm tuned to viewport
   ============================================================ */

/* Section kickers — bigger than page-wide .eyebrow */
.viz-kicker {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}

.viz-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 14ch;
  color: var(--ink);
  margin: 0 0 18px;
}

.viz-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
}

/* ---- What is this: one viewport beat (copy + big photo + math bar) ---- */
.viz-what {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

/* Full beat under sticky nav: main content flexes, math bar docks to bottom */
.viz-what-intro {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - var(--header));
  min-height: calc(100vh - var(--header));
  box-sizing: border-box;
  background: var(--bg);
}

.viz-what-main {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: clamp(20px, 3.5vw, 40px);
  align-items: center;
  max-width: var(--max);
  width: 100%;
  margin-inline: auto;
  padding: 24px var(--pad) 16px;
  box-sizing: border-box;
  min-height: 0;
}

.viz-what-copy .viz-hero-line {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 16px;
}

/* Bridges “without the drone program” → the three nos */
.viz-means {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Important “without” lines — stack, not pills */
.viz-without-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}

.viz-without-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}

.viz-without-mark {
  flex: 0 0 18px;
  width: 18px;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.viz-what-copy .viz-tagline {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0;
}

.viz-what-copy .viz-tagline strong {
  font-weight: 700;
  color: var(--ink);
}

/* Bigger portrait — full tether frame, never cropped */
.viz-what-photo {
  margin: 0;
  justify-self: end;
  width: min(100%, 520px);
  max-height: calc(100dvh - var(--header) - 140px);
  max-height: calc(100vh - var(--header) - 140px);
  background: #0b0d10;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viz-what-photo img {
  width: 100%;
  height: auto;
  max-height: calc(100dvh - var(--header) - 140px);
  max-height: calc(100vh - var(--header) - 140px);
  object-fit: contain;
  display: block;
}

/* Navy math — bottom of the same beat (full width) */
.viz-math {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin: 0;
  padding: 22px var(--pad);
  color: #fff;
  background: var(--navy);
  border-radius: 0;
  width: 100%;
  box-sizing: border-box;
}

.viz-math-cell {
  text-align: center;
  min-width: 7rem;
}

.viz-math-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.viz-math-label {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.72;
}

.viz-math-op {
  font-size: 1.25rem;
  opacity: 0.45;
  font-weight: 500;
}

.viz-math-cell-em .viz-math-num {
  color: #fff;
  border-bottom: 2px solid var(--red);
  display: inline-block;
  padding-bottom: 2px;
}

/* ============================================================
   The difference — same height rhythm as bystanders / whole blood
   ============================================================ */
.diff-section {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 0;
  /* Match .viz-profile scroll + height under sticky nav */
  scroll-margin-top: calc(var(--header) + 28px);
  box-sizing: border-box;
  overflow: hidden;
}

.diff-layout {
  display: grid;
  /* Same column ratio as .viz-profile */
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  height: calc(100dvh - var(--header));
  height: calc(100vh - var(--header));
  min-height: 520px;
  max-height: 900px;
  align-items: stretch;
}

.diff-media {
  position: relative;
  margin: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #111;
}

.diff-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  display: block;
}

.diff-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 56px);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--bg);
}

.diff-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 12px;
  max-width: 18ch;
}

.diff-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink-2);
}

.diff-lede {
  font-family: var(--hero-sub);
  font-size: clamp(0.98rem, 1.3vw, 1.06rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 36ch;
  margin: 0 0 20px;
}

/* Compact VS — 3 lines each, not essay cards */
.diff-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 22px;
  align-items: stretch;
}

.diff-col {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.diff-col-them {
  background: var(--bg-soft);
}

.diff-col-us {
  border-color: rgba(237, 28, 36, 0.32);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(237, 28, 36, 0.04);
}

.diff-col-kicker {
  margin: 0 0 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.diff-col-us .diff-col-kicker {
  color: var(--red);
}

.diff-col-claim {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 10px;
}

.diff-cta-btn {
  align-self: flex-start;
}

/* legacy h3 (unused) keep cascade safe */
.diff-col h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
  max-width: none;
}

.diff-col h3 .diff-col-line {
  display: block;
  white-space: nowrap;
}

.diff-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  flex: 1 1 auto;
}

.diff-list li {
  position: relative;
  padding-left: 12px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ink-2);
}

.diff-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-2, #c8c6c0);
}

.diff-col-us .diff-list li::before {
  background: var(--red);
}

.diff-col-us .diff-list li {
  color: var(--ink);
}

/* Single primary CTA under the compare cards */
.diff-cta {
  display: flex;
  justify-content: center;
  padding: 4px 0 8px;
}

.diff-cta .btn-primary {
  min-width: min(100%, 280px);
  text-align: center;
}

.about-services-note {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 52ch;
}

.about-services-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 18ch;
}

.about-services-list li {
  color: var(--ink-2);
}

.about-services-list strong {
  color: var(--ink);
}

/* ========== About: The Service (program differentiator) ========== */
.service-hero {
  padding: clamp(28px, 5vh, 48px) 0 clamp(32px, 5vh, 48px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.service-hero-inner {
  max-width: 42rem;
}

.service-hero .about-page-label {
  text-align: left;
  margin-bottom: 12px;
}

.service-hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--ink);
}

.service-hero-quote {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy, #1e2a3a);
  border-left: 3px solid var(--red, #ed1c24);
  padding-left: 12px;
  max-width: 40ch;
}

.service-hero-lede {
  margin: 0;
  font-family: var(--hero-sub);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 48ch;
  font-weight: 400;
}

/* Homepage-style service beats */
.service-beat {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: calc(100dvh - var(--header));
  min-height: calc(100vh - var(--header));
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: var(--header);
}

.service-beat-flip {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.service-beat-flip .service-beat-panel {
  order: 2;
}

.service-beat-flip .service-beat-copy {
  order: 1;
}

.service-beat-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
  min-height: 0;
}

.service-beat-flip .service-beat-panel {
  border-right: none;
  border-left: 1px solid var(--line);
}

.service-beat-panel-dark {
  background: #0e1319;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.06);
}

/* Full-bleed photo panel (e.g. regulatory flight) */
.service-beat-panel-photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  justify-content: flex-end;
  min-height: min(72vh, 640px);
  background: transparent;
}

.service-beat-panel-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 1;
  filter: none;
}

/* Regulatory: portrait flight — keep aircraft high in the frame */
#regulatory .service-beat-panel-img {
  object-position: center 78%;
}

/* Install: GCH sited outdoors — favor hardware in frame */
#installation .service-beat-panel-img {
  object-position: center 55%;
}

/*
 * Monitoring: full image (no cover crop), centered in panel.
 * Media wrapper matches image bounds so blend strip sits on the photo, not the letterbox.
 * Works the same on mobile — no fixed “1.5in” offset.
 */
#monitoring .service-beat-panel-photo-fit {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #05070a;
}

#monitoring .service-beat-panel-media {
  position: relative;
  width: 100%;
  line-height: 0;
  flex: 0 0 auto;
}

#monitoring .service-beat-panel-photo-fit .service-beat-panel-img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  object-fit: unset;
  object-position: unset;
  display: block;
}

/* Full 20% black veil + edge fades into letterbox */
#monitoring .service-beat-panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.3);
  background-image:
    linear-gradient(
      to bottom,
      #05070a 0%,
      rgba(5, 7, 10, 0.75) 40%,
      rgba(5, 7, 10, 0.35) 70%,
      transparent 100%
    ),
    linear-gradient(
      to top,
      #05070a 0%,
      rgba(5, 7, 10, 0.75) 40%,
      rgba(5, 7, 10, 0.35) 70%,
      transparent 100%
    );
  background-size: 100% 80px, 100% 80px;
  background-position: top, bottom;
  background-repeat: no-repeat;
}

/* Maintenance: prop/arm detail on hub */
#maintenance .service-beat-panel-img {
  object-position: center 45%;
}

/* Operations: FOC pilot station */
#operations .service-beat-panel-img {
  object-position: center 40%;
}

.service-beat-panel-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: clamp(28px, 5vw, 48px);
  width: 100%;
}

.service-beat-panel-photo .service-beat-stat {
  background: rgba(8, 12, 18, 0.42);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-beat-panel-photo .service-beat-chips li {
  background: rgba(8, 12, 18, 0.38);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-beat-panel-watch {
  background: #0e1319;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.06);
}

.service-beat-panel-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-beat-panel-dark .service-beat-panel-kicker,
.service-beat-panel-watch .service-beat-panel-kicker {
  color: rgba(255, 255, 255, 0.45);
}

.service-beat-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-beat-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-beat-stat strong {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}

.service-beat-stat span {
  font-size: 0.85rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
}

.service-beat-chips {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-beat-chips-stack {
  flex-direction: column;
  align-items: flex-start;
}

.service-beat-chips li {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.service-beat-panel-dark .service-beat-chips li,
.service-beat-panel-watch .service-beat-chips li {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.service-beat-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: clamp(32px, 6vw, 56px) clamp(24px, 5vw, 48px);
  min-width: 0;
}

.service-beat-copy .viz-kicker {
  margin: 0 0 12px;
  color: var(--muted);
}

.service-beat-copy h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.service-beat-quote {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy, #1e2a3a);
  border-left: 3px solid var(--red, #ed1c24);
  padding-left: 12px;
  max-width: 28ch;
}

.service-beat-one {
  margin: 0 0 16px;
  font-family: var(--hero-sub);
  font-size: 1.02rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 40ch;
  font-weight: 400;
}

.service-beat-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 40ch;
}

.service-beat-list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.service-beat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red, #ed1c24);
}

/* Monitoring grid inside beat panel */
.service-beat-panel-watch .service-watch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.service-beat-panel-watch .service-watch-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-beat-panel-watch .service-watch-item strong {
  font-size: 0.9rem;
  font-weight: 650;
  color: #fff;
}

.service-beat-panel-watch .service-watch-item span {
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
  .service-beat,
  .service-beat-flip {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .service-beat-flip .service-beat-panel,
  .service-beat-flip .service-beat-copy {
    order: unset;
  }

  .service-beat-panel {
    border-right: none;
    border-bottom: 1px solid var(--line);
    min-height: min(42vh, 320px);
  }

  .service-beat-panel-photo {
    min-height: min(52vh, 420px);
  }

  .service-beat-flip .service-beat-panel {
    border-left: none;
  }

  .service-beat-panel-watch .service-watch-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .service-beat-panel-watch .service-watch-grid {
    grid-template-columns: 1fr;
  }

  .service-beat-stats {
    grid-template-columns: 1fr;
  }
}

/* About · Us — compact mission header */
/* Small, red, centered page label — shared across other About pages */
.about-page-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  text-align: center;
}

.about-page > .shell > .about-page-label {
  margin-bottom: 28px;
}

/* About · Us — mission bar + achieve copy as one beat under sticky nav */
.about-intro {
  min-height: calc(100dvh - var(--header));
  min-height: calc(100vh - var(--header));
  display: flex;
  flex-direction: column;
  padding: 0;
  scroll-margin-top: var(--header);
  box-sizing: border-box;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

/* Full-bleed navy mission callout — flush under navbar */
.about-mission-bar {
  width: 100%;
  margin: 0;
  flex: 0 0 auto;
  padding: clamp(26px, 4.2vh, 40px) 0;
  background: var(--navy);
  color: #fff;
  box-sizing: border-box;
}

.about-mission-bar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.about-mission-label {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff8a8f;
  text-align: center;
}

.about-mission-statement {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 2.15rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
  max-width: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35em 0.55em;
  text-align: center;
}

.about-mission-statement span {
  display: inline;
  white-space: nowrap;
}

.about-mission-dot {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
  opacity: 1;
}

.about-mission-em {
  color: #fff;
  font-style: italic;
  font-weight: 500;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}

@media (max-width: 900px) {
  .about-mission-statement {
    flex-wrap: wrap;
    font-size: clamp(1.15rem, 4.2vw, 1.5rem);
  }
}

@media (max-width: 600px) {
  .about-mission-statement {
    flex-direction: column;
    align-items: center;
    gap: 0.35em;
  }

  .about-mission-dot {
    display: none;
  }

  .about-mission-statement span {
    white-space: normal;
  }
}

/* Achieve block fills the rest of the intro beat — copy + image */
.about-intro .about-achieve {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  padding-top: clamp(24px, 4vh, 40px);
  padding-bottom: clamp(28px, 4.5vh, 48px);
  min-height: 0;
  width: 100%;
}

.about-achieve-layout {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  display: grid;
  /* Image left, copy toward page center — image slightly larger */
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4.5vw, 52px);
  align-items: center;
}

.about-achieve-inner {
  max-width: 38rem;
  min-width: 0;
  justify-self: start;
}

.about-achieve-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 0 18px;
  color: var(--ink);
}

.about-achieve-copy {
  display: grid;
  gap: 12px;
}

.about-achieve-copy p {
  margin: 0;
  font-family: var(--hero-sub);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--ink-2);
  max-width: 48ch;
}

.about-achieve-media {
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: 0 12px 36px rgba(20, 24, 30, 0.08);
  aspect-ratio: 4 / 3;
  width: 100%;
  min-height: clamp(260px, 32vw, 400px);
  max-height: min(380px, 42vh);
}

.about-achieve-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-achieve-media-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(30, 42, 58, 0.72);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

@media (max-width: 820px) {
  .about-achieve-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 42rem;
  }

  .about-achieve-media {
    max-height: 340px;
    min-height: 240px;
  }

  .about-achieve-inner {
    max-width: none;
  }
}

@media (max-height: 720px) {
  .about-mission-bar {
    padding: 20px 0;
  }

  .about-mission-statement {
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  }

  .about-intro .about-achieve {
    padding-top: 16px;
    padding-bottom: 20px;
    align-items: flex-start;
  }

  .about-achieve-title {
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    margin-bottom: 10px;
  }

  .about-achieve-copy p {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .about-achieve-media {
    max-height: min(300px, 38vh);
    min-height: 200px;
  }
}

/* About · Us — who we are (flip cards) */
.about-team {
  padding: clamp(48px, 7vh, 80px) 0;
  scroll-margin-top: var(--header);
  background: var(--bg);
  border-top: 1px solid var(--line);
  box-sizing: border-box;
}

.about-team-inner {
  max-width: var(--max);
}

.about-team-header {
  margin-bottom: clamp(24px, 4vh, 36px);
  max-width: 40rem;
}

.about-team-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: var(--ink);
}

.about-team-lede {
  margin: 0;
  font-family: var(--hero-sub);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--ink-2);
  max-width: 48ch;
}

.about-team-flip-hint {
  margin: 12px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-team-grid {
  list-style: none;
  margin: 0 0 clamp(36px, 5vh, 48px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  perspective: 1400px;
}

.about-team-card.about-team-flip {
  position: relative;
  min-height: 340px;
  cursor: pointer;
  outline: none;
  background: transparent;
  border: none;
  box-shadow: none;
}

.about-team-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  transition: transform 0.55s var(--ease);
  transform-style: preserve-3d;
}

.about-team-flip:hover .about-team-flip-inner,
.about-team-flip:focus-within .about-team-flip-inner,
.about-team-flip.is-flipped .about-team-flip-inner {
  transform: rotateY(180deg);
}

.about-team-flip-face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 8px 24px rgba(20, 24, 30, 0.05);
  display: flex;
  flex-direction: column;
}

.about-team-flip-front {
  background: #fff;
}

.about-team-flip-back {
  background: var(--navy);
  border-color: var(--navy);
  transform: rotateY(180deg);
  color: #f4f2ef;
}

/* Team photos sit on a placeholder layer. When a photo hasn't been submitted yet
   the <img> 404s, is hidden by [data-photo-missing], and the placeholder shows.
   Dropping the real file into assets/team/ takes over with no code change. */
.about-team-photo {
  flex: 1 1 auto;
  min-height: 0;
  background: var(--bg-soft) center / cover no-repeat url("assets/team/placeholder-headshot.svg");
  overflow: hidden;
}

.about-team-photo img[data-photo-missing],
.about-team-field img[data-photo-missing] {
  display: none;
}

.about-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-team-photo-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy) 0%, #2a3a50 100%);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  min-height: 200px;
}

.about-team-front-meta {
  flex: 0 0 auto;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
}

.about-team-group {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-team-flip-back .about-team-group {
  color: rgba(255, 255, 255, 0.55);
}

.about-team-name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-team-flip-back .about-team-name {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.about-team-role {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

.about-team-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: center / cover no-repeat url("assets/team/placeholder-fun.svg");
}

.about-team-field img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* Keep the photo readable — darken only via the text dock */
  filter: none;
}

.about-team-back-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 36px 14px 14px;
  box-sizing: border-box;
  /* Dock text at the bottom; leave the upper image clear */
  background: linear-gradient(
    to top,
    rgba(20, 24, 30, 0.94) 0%,
    rgba(20, 24, 30, 0.82) 55%,
    rgba(20, 24, 30, 0) 100%
  );
  max-height: 58%;
  overflow: auto;
}

.about-team-bio {
  margin: 2px 0 0;
  font-family: var(--hero-sub);
  font-size: 12.5px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.about-team-li {
  margin-top: 4px;
  padding-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 2px;
  align-self: flex-start;
}

.about-team-li:hover {
  color: #fff;
  text-decoration-color: var(--red);
}

.about-team-actions {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

@media (prefers-reduced-motion: reduce) {
  .about-team-flip-inner {
    transition: none;
    transform: none !important;
  }

  .about-team-card.about-team-flip {
    min-height: 0;
  }

  .about-team-flip-inner {
    min-height: 0;
    display: grid;
    gap: 10px;
  }

  .about-team-flip-face {
    position: relative;
    transform: none !important;
  }

  .about-team-flip-back {
    min-height: 160px;
  }
}

/* About · Us — how we got here: one viewport beat, horizontal skippable timeline */
.about-history {
  height: calc(100dvh - var(--header));
  height: calc(100vh - var(--header));
  max-height: calc(100dvh - var(--header));
  max-height: calc(100vh - var(--header));
  padding: 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--header);
  overflow: hidden;
}

.about-history-frame {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(16px, 2.4vh, 28px) 0 clamp(12px, 2vh, 20px);
  box-sizing: border-box;
}

.about-history-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 28px;
  margin-bottom: clamp(12px, 2vh, 20px);
  flex-shrink: 0;
}

.about-history-heading {
  flex: 1 1 240px;
  min-width: 0;
  max-width: 36rem;
}

.about-history-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin: 0 0 8px;
  color: var(--ink);
}

.about-history-lede {
  margin: 0;
  font-family: var(--hero-sub);
  font-size: clamp(0.92rem, 1.3vw, 1.02rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--ink-2);
  max-width: 44ch;
}

.about-timeline-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  flex-shrink: 0;
}

.about-timeline-status {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 4.5ch;
}

.about-timeline-btns {
  display: flex;
  gap: 8px;
}

.about-timeline-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition:
    border-color 0.18s var(--ease),
    background 0.18s var(--ease),
    color 0.18s var(--ease),
    opacity 0.18s var(--ease);
}

.about-timeline-btn:hover:not(:disabled) {
  border-color: rgba(237, 28, 36, 0.4);
  color: var(--red);
}

.about-timeline-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.about-timeline-hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Horizontal scroll region — fills remaining beat height */
.about-timeline-track {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  outline: none;
  /* edge fade via mask so page pad isn’t needed on cards */
  mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 28px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 28px), transparent 100%);
}

.about-timeline-track:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(237, 28, 36, 0.35);
}

/* Thin scrollbar */
.about-timeline-track::-webkit-scrollbar {
  height: 6px;
}
.about-timeline-track::-webkit-scrollbar-thumb {
  background: rgba(30, 42, 58, 0.22);
  border-radius: 999px;
}
.about-timeline-track::-webkit-scrollbar-track {
  background: transparent;
}

.about-timeline {
  list-style: none;
  margin: 0;
  padding: 8px max(var(--pad), calc((100vw - var(--max)) / 2)) 18px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  height: 100%;
  width: max-content;
  position: relative;
  box-sizing: border-box;
}

/* Horizontal spine through card tops */
.about-timeline::before {
  content: "";
  position: absolute;
  left: max(var(--pad), calc((100vw - var(--max)) / 2));
  right: max(var(--pad), calc((100vw - var(--max)) / 2));
  top: 22px;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--red) 0%,
    rgba(237, 28, 36, 0.4) 45%,
    var(--line) 100%
  );
  border-radius: 2px;
  pointer-events: none;
}

.about-timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: min(300px, 78vw);
  scroll-snap-align: start;
  padding-right: 18px;
  height: 100%;
  box-sizing: border-box;
}

.about-timeline-item:last-child {
  padding-right: 8px;
}

.about-timeline-rail {
  position: relative;
  z-index: 1;
  height: 28px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-left: 2px;
}

.about-timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1.5px rgba(237, 28, 36, 0.45);
  flex-shrink: 0;
}

.about-timeline-item:last-child .about-timeline-dot {
  background: var(--navy);
  box-shadow: 0 0 0 1.5px rgba(30, 42, 58, 0.35);
}

.about-timeline-card {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px 16px;
  box-shadow: 0 6px 20px rgba(20, 24, 30, 0.04);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  overflow: auto;
}

.about-timeline-item:hover .about-timeline-card,
.about-timeline-item:focus-within .about-timeline-card {
  border-color: rgba(237, 28, 36, 0.28);
  box-shadow: 0 10px 28px rgba(20, 24, 30, 0.07);
}

.about-timeline-year {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.about-timeline-item-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}

.about-timeline-card p {
  margin: 0;
  font-family: var(--hero-sub);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--ink-2);
}

.about-timeline-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: auto !important;
  padding-top: 12px;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
}

.about-timeline-sources a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(30, 42, 58, 0.28);
  text-underline-offset: 2px;
}

.about-timeline-sources a:hover {
  color: var(--red, #ed1c24);
  text-decoration-color: rgba(237, 28, 36, 0.45);
}

.about-history-footer {
  flex-shrink: 0;
  padding-top: clamp(10px, 1.6vh, 16px);
}

.about-history-actions {
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

@media (max-width: 640px) {
  .about-timeline-hint {
    display: none;
  }

  .about-history-title {
    font-size: clamp(1.25rem, 5.5vw, 1.5rem);
  }

  .about-timeline-item {
    width: min(280px, 82vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-timeline-track {
    scroll-behavior: auto;
  }
}

/* Profiles — each fills the viewport under sticky nav (clean stop) */
.viz-profile {
  display: grid;
  /* minmax(0, …) so wide children (marquee) cannot crush the photo column */
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  height: calc(100dvh - var(--header));
  height: calc(100vh - var(--header));
  min-height: 520px;
  max-height: 900px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  scroll-margin-top: calc(var(--header) + 28px);
  overflow: hidden;
}

.viz-profile-flip {
  direction: rtl;
  background: var(--bg-soft);
}

.viz-profile-flip > * {
  direction: ltr;
}

.viz-profile-media {
  position: relative;
  overflow: hidden;
  background: #111;
  min-width: 0;
  min-height: 0;
}

.viz-profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.viz-profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 56px);
  min-width: 0; /* critical: allow shrink so marquee doesn't expand grid */
  min-height: 0;
  overflow: hidden;
}

.viz-profile-copy h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 13ch;
}

/* Profile body copy (bystanders, whole blood) — same face as hero sub trial */
.viz-one-liner {
  font-family: var(--hero-sub);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 36ch;
  margin: 0 0 20px;
  font-weight: 400;
}

.viz-profile-cta-note {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
  max-width: 34ch;
}

.viz-profile-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 16px;
}

.viz-profile-cta {
  align-self: flex-start;
  flex-direction: row;
  align-items: center;
  text-align: center;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 0;
}

.viz-profile-more {
  font-size: 14px;
  font-weight: 650;
}

/* Payload strip — auto-scroll cards (swap in real device photos later) */
.payload-marquee {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  /* isolate from grid sizing; track can be wide inside this clip box only */
  contain: inline-size;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.payload-marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  max-width: none;
  animation: payload-scroll 28s linear infinite;
  will-change: transform;
}

.payload-marquee:hover .payload-marquee-track {
  animation-play-state: paused;
}

@keyframes payload-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.payload-card {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 128px;
  min-width: 128px;
  max-width: 128px;
  height: 128px;
  min-height: 128px;
  max-height: 128px;
  padding: 10px 10px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

/* Text-only tiles: center label stack */
.payload-card:not(.payload-card-media) {
  padding: 14px 12px;
  justify-content: center;
  text-align: left;
}

/* Image tiles (and Avive link) — same square as text cards */
.payload-card-media {
  justify-content: flex-start;
  gap: 5px;
}

a.payload-card-media {
  cursor: pointer;
}

a.payload-card-media:hover,
a.payload-card-media:focus-visible {
  border-color: rgba(237, 28, 36, 0.35);
  box-shadow: 0 8px 20px rgba(20, 24, 30, 0.08);
  transform: translateY(-1px);
  outline: none;
}

a.payload-card-media:hover .payload-card-use,
a.payload-card-media:focus-visible .payload-card-use {
  color: var(--red);
}

.payload-card-img {
  display: block;
  width: 100%;
  height: 64px;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  /* Product PNGs already share a matching card background */
  background: transparent;
  flex: 0 0 64px;
}

.payload-card-media .payload-card-mark {
  font-size: 11.5px;
  line-height: 1.15;
  padding: 0 2px;
}

.payload-card-media .payload-card-use {
  font-size: 10.5px;
  line-height: 1.25;
  padding: 0 2px;
}

.payload-card-mark {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.payload-card-use {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
  .payload-marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }
  .payload-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* ---- Dispatch: same screen, two clicks ---- */
.viz-dispatch {
  background: var(--bg);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) - 4px);
  /* Tall enough that Difference doesn’t peek when this beat is at the top */
  min-height: calc(100dvh - var(--header));
  min-height: calc(100vh - var(--header));
  box-sizing: border-box;
  padding: clamp(18px, 2.8vh, 28px) 0 clamp(16px, 2.2vh, 24px);
  /* shell keeps its normal centered max-width — do not stretch to full bleed */
}

.viz-dispatch-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 14ch;
  color: var(--ink);
  margin: 0 0 8px;
}

.viz-dispatch-sub {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 40ch;
  margin: 0 0 12px;
}

.viz-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 8px 4px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.viz-flow > li:not(.viz-flow-arrow) {
  flex: 1 1 130px;
  max-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(20, 24, 30, 0.04);
}

.viz-flow-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
}

.viz-flow strong {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.viz-flow-hint {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.3;
}

.viz-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1.4rem;
  color: var(--red);
  opacity: 0.7;
  padding: 0 2px;
  align-self: center;
}

/*
  Navy punch bar — compact horizontal strip (same content, less height)
  so the full In dispatch beat fits under sticky nav.
*/
.viz-dispatch-punch {
  margin: 0 0 12px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
}

.viz-dispatch-punch-line {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .viz-dispatch-punch {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 14px 16px;
  }

  .viz-dispatch-punch-line {
    white-space: normal;
    max-width: 28ch;
  }
}

/* Light CTA on navy bar → Live Dispatch Trial */
.viz-dispatch-punch-cta {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  font-size: 13.5px;
  flex-shrink: 0;
}

.viz-dispatch-punch-cta:hover {
  background: #f3f2ef;
  color: var(--navy);
  border-color: #f3f2ef;
}

/* Photo: full-bleed cover, moderate height so more of the shot shows without letterbox */
.viz-dispatch-shot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: transparent;
}

.viz-dispatch-shot img {
  width: 100%;
  /* Slightly shorter so title + flow + punch + photo fit one viewport */
  height: min(28vh, 240px);
  object-fit: cover;
  /* Hand + Narcan sit mid/upper in the source */
  object-position: 50% 32%;
  display: block;
}

.viz-dispatch-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
}

@media (max-width: 900px) {
  .viz-what-intro {
    min-height: 0;
  }

  .viz-what-main {
    grid-template-columns: 1fr;
    padding-top: 24px;
    padding-bottom: 12px;
  }

  .viz-what-photo {
    justify-self: center;
    width: min(100%, 420px);
    max-height: 48vh;
    order: -1; /* photo first on mobile, then copy */
  }

  .viz-what-photo img {
    max-height: 48vh;
  }

  .viz-title {
    max-width: none;
  }

  .diff-layout {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .diff-media {
    height: 42vh;
    min-height: 240px;
    max-height: 360px;
  }

  .diff-title {
    max-width: none;
  }

  .diff-compare {
    grid-template-columns: 1fr;
  }

  .diff-cta-btn {
    width: 100%;
    text-align: center;
  }

  .viz-profile,
  .viz-profile-flip {
    grid-template-columns: 1fr;
    direction: ltr;
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .viz-profile-media {
    height: 42vh;
    min-height: 240px;
    max-height: 360px;
  }

  .viz-profile-copy h2 {
    max-width: none;
  }

  .viz-flow-arrow {
    display: none;
  }

  .viz-flow > li:not(.viz-flow-arrow) {
    max-width: none;
    flex: 1 1 100%;
  }
}

@media (max-width: 600px) {
  .viz-math {
    flex-direction: column;
    gap: 14px;
    padding: 20px var(--pad);
  }

  .viz-math-op {
    transform: rotate(90deg);
  }

  .viz-what-photo {
    width: min(100%, 100%);
    max-height: 42vh;
  }

  .viz-what-photo img {
    max-height: 42vh;
  }

  .viz-without-list li {
    font-size: 14px;
  }
}

/* Steps */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 40px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.steps li:last-child {
  border-bottom: 0;
}

.step-num {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--red);
  line-height: 1.2;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.steps p {
  color: var(--muted);
  font-size: 15.5px;
}

.day-split {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.day-split figure img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.day-split figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

.day-aside {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
}

.day-aside h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.day-aside > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.check {
  display: grid;
  gap: 10px;
}

.check li {
  padding-left: 22px;
  position: relative;
  color: var(--ink-2);
  font-size: 15px;
}

.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
}

/* Trial — tighter vertical rhythm so CTA fits when nav-scrolled into view */
.trial {
  background: var(--navy);
  color: #f4f2ef;
  scroll-margin-top: calc(var(--header) - 44px);
  overflow: visible; /* allow report-card popovers above cards */
  /*
    Extra top padding fills solid navy above “The zero-risk path”
    when the beat is scrolled into view (scroll position stays put).
  */
  padding: clamp(52px, 8vh, 80px) 0 clamp(24px, 3.5vh, 36px);
}

.trial .shell {
  overflow: visible;
}

.trial .eyebrow {
  color: #ff8a8f;
  margin-bottom: 6px;
}

.trial h2,
.trial .subhead,
.trial-title {
  color: #fff;
}

.trial-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 16ch;
  margin: 0 0 8px;
}

.trial .section-lede,
.trial-lede {
  color: rgba(244, 242, 239, 0.75);
  max-width: 52ch;
  margin: 0 0 16px;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.45;
}

/* ============================================================
   Trial interactive storyboard — map stages by step
   ============================================================ */
.trial-story {
  margin: 0 0 20px;
}

.trial-story-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.trial-story-tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 242, 239, 0.7);
  border-radius: 10px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.trial-story-tab:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.trial-story-tab.is-active {
  border-color: rgba(237, 28, 36, 0.65);
  background: rgba(237, 28, 36, 0.12);
  color: #fff;
}

.trial-story-tab-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
}

.trial-story-tab.is-active .trial-story-tab-num {
  background: var(--red);
}

.trial-story-tab-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trial-story-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 14px;
  align-items: stretch;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  min-height: 320px;
}

.trial-story-map {
  position: relative;
  min-height: min(38vh, 360px);
  overflow: hidden;
  background: #1a1c1e;
}

.trial-map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: none;
}

.trial-map-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: min(38vh, 360px);
  display: block;
}

/* Hard ~50 sq mi rings on county basemap (many installs) */
.trial-cov-hard {
  fill: rgba(237, 28, 36, 0.08);
  stroke: rgba(237, 28, 36, 0.85);
  stroke-width: 2;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

/* Step 1: solid red rings only (no util/delta coding yet) + stagger fade-in */
.trial-story[data-step="1"] .trial-cov-hard {
  opacity: 0;
  fill: rgba(237, 28, 36, 0.08);
  stroke: rgba(237, 28, 36, 0.9);
  stroke-width: 2.5;
  stroke-dasharray: none;
  animation: trial-install-in 0.55s var(--ease) forwards;
}

.trial-story[data-step="1"] .trial-cov-hard.is-util,
.trial-story[data-step="1"] .trial-cov-hard.is-delta {
  /* force plain red on cover even if flags slip through */
  fill: rgba(237, 28, 36, 0.08);
  stroke: rgba(237, 28, 36, 0.9);
  stroke-dasharray: none;
}

.trial-story[data-step="1"] .trial-pin {
  opacity: 0;
  animation: trial-install-in 0.5s var(--ease) forwards;
}

.trial-story[data-step="1"] .trial-cov-label {
  opacity: 0;
  animation: trial-install-in 0.5s var(--ease) forwards;
}

@keyframes trial-install-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Insight ring colors (applied on step 4 via is-util / is-delta) */
.trial-cov-hard.is-util {
  fill: rgba(34, 160, 90, 0.18);
  stroke: #22a05a;
  stroke-width: 2.5;
  stroke-dasharray: none;
}

.trial-cov-hard.is-delta {
  fill: rgba(47, 111, 237, 0.14);
  stroke: #2f6fed;
  stroke-width: 2.5;
  stroke-dasharray: none;
}

/* Both: prefer util green ring with blue dash accent */
.trial-cov-hard.is-util.is-delta {
  fill: rgba(34, 160, 90, 0.16);
  stroke: #2f6fed;
  stroke-dasharray: 5 4;
}

.trial-flag-label {
  fill: #22a05a;
  font-size: 9px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 3px;
}

.trial-flag-label.is-util {
  fill: #22a05a;
}

.trial-flag-label.is-delta {
  fill: #2f6fed;
}

.trial-flag-label.is-util.is-delta {
  fill: #1a6b9a;
}

.trial-cov-label {
  fill: #fff;
  font-size: 11px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-anchor: middle;
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.5);
  stroke-width: 3px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

/* Red arrow install markers */
.trial-pin {
  opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
  transition: opacity 0.35s var(--ease);
}

.trial-pin-primary {
  /* slightly larger primary install */
}

/* Straight delivery lines */
.trial-path {
  fill: none;
  stroke: #ed1c24;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  opacity: 0;
}

/* 911 call markers — transparent PNG pin (tip at call lat/lon) */
.trial-call-icon-img {
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.trial-call-hero,
.trial-call-more {
  opacity: 0;
}

/* RapidSOS-style UI overlay (step 2) — chrome + click flow */
.trial-rs-ui {
  pointer-events: none;
}

/* Top bar */
.trial-rs-topbar {
  opacity: 0;
}

.trial-rs-topbar-bg {
  fill: rgba(255, 255, 255, 0.97);
  stroke: rgba(26, 28, 30, 0.1);
  stroke-width: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.trial-rs-brand {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  fill: rgba(30, 42, 58, 0.82);
}

.trial-rs-top-muted {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 550;
  fill: rgba(30, 42, 58, 0.5);
}

.trial-rs-chip {
  fill: #fff;
  stroke: rgba(26, 28, 30, 0.14);
  stroke-width: 1;
}

.trial-rs-chip-label {
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  fill: rgba(30, 42, 58, 0.65);
}

/* Request Drone in top bar — same neutral chip look as Share Data until clicked */
.trial-rs-req {
  opacity: 1;
}

.trial-rs-req-btn {
  fill: #fff;
  stroke: rgba(26, 28, 30, 0.14);
  stroke-width: 1;
}

.trial-rs-req-label {
  font-family: Inter, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  fill: rgba(30, 42, 58, 0.65);
}

/* Left 911 call list */
.trial-rs-sidebar {
  opacity: 0;
}

.trial-rs-side-bg {
  fill: rgba(255, 255, 255, 0.97);
  stroke: rgba(26, 28, 30, 0.1);
  stroke-width: 1;
  filter: drop-shadow(4px 0 12px rgba(0, 0, 0, 0.08));
}

.trial-rs-search {
  fill: #f4f5f7;
  stroke: rgba(26, 28, 30, 0.08);
  stroke-width: 1;
}

.trial-rs-search-label {
  font-family: Inter, system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  fill: rgba(30, 42, 58, 0.4);
}

.trial-rs-side-kicker {
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  fill: #1e2a3a;
}

.trial-rs-side-sub {
  font-family: Inter, system-ui, sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  fill: rgba(30, 42, 58, 0.45);
}

.trial-rs-call-row {
  opacity: 0;
}

.trial-rs-call-bg {
  fill: transparent;
}

.trial-rs-call-row.is-active .trial-rs-call-bg {
  fill: rgba(47, 111, 237, 0.1);
}

.trial-rs-call-icon {
  fill: rgba(30, 42, 58, 0.35);
}

.trial-rs-call-row.is-active .trial-rs-call-icon {
  fill: #2f6fed;
}

.trial-rs-call-phone {
  font-family: Inter, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 650;
  fill: rgba(30, 42, 58, 0.78);
}

.trial-rs-call-time {
  font-family: Inter, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 500;
  fill: rgba(30, 42, 58, 0.42);
}

.trial-rs-call-loc {
  font-family: Inter, system-ui, sans-serif;
  font-size: 8.5px;
  font-weight: 500;
  fill: rgba(30, 42, 58, 0.45);
}

.trial-rs-scrim {
  fill: rgba(15, 23, 32, 0.28);
  opacity: 0;
}

.trial-rs-modal {
  opacity: 0;
}

.trial-rs-modal-card {
  fill: #fff;
  stroke: rgba(26, 28, 30, 0.1);
  stroke-width: 1;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.18));
}

.trial-rs-modal-title {
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  fill: #1e2a3a;
}

.trial-rs-modal-body {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  fill: rgba(30, 42, 58, 0.62);
}

.trial-rs-cancel-btn {
  fill: #fff;
  stroke: rgba(26, 28, 30, 0.18);
  stroke-width: 1;
}

.trial-rs-cancel-label {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 650;
  fill: rgba(30, 42, 58, 0.7);
}

.trial-rs-yes-btn {
  fill: #2f6fed;
  stroke: #1f58c9;
  stroke-width: 1;
}

.trial-rs-yes-label {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  fill: #fff;
}

.trial-rs-success {
  opacity: 0;
}

.trial-rs-success-bar {
  fill: #1f9d55;
  stroke: none;
  filter: drop-shadow(0 4px 12px rgba(31, 157, 85, 0.35));
}

.trial-rs-success-label {
  font-family: Inter, system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  fill: #fff;
  letter-spacing: 0.01em;
}

/* Hotspots step 4 */
.trial-hotspot {
  fill: rgba(237, 28, 36, 0.12);
  stroke: var(--red);
  stroke-width: 3;
  stroke-dasharray: 6 4;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.trial-hotspot-label {
  fill: #fff;
  font-size: 11px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-anchor: middle;
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.5);
  stroke-width: 3px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.trial-chip rect {
  fill: rgba(255, 255, 255, 0.94);
  stroke: rgba(26, 28, 30, 0.12);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.trial-chip-k {
  fill: rgba(30, 42, 58, 0.55);
  font-size: 9px;
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trial-chip-v {
  fill: var(--navy);
  font-size: 12px;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
}

/* Step 4 insight stats strip + color key */
.trial-insight-panel {
  fill: rgba(255, 255, 255, 0.96);
  stroke: rgba(26, 28, 30, 0.12);
  stroke-width: 1;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.12));
}

.trial-insight-k {
  font-family: Inter, system-ui, sans-serif;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  fill: rgba(30, 42, 58, 0.5);
}

.trial-insight-v {
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  fill: #1e2a3a;
}

.trial-insight-k-inline {
  font-family: Inter, system-ui, sans-serif;
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
  fill: rgba(30, 42, 58, 0.5);
}

.trial-insight-v-inline {
  font-family: Inter, system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  fill: #1e2a3a;
}

.trial-insight-div {
  stroke: rgba(26, 28, 30, 0.12);
  stroke-width: 1;
}

.trial-insight-swatch {
  stroke: rgba(0, 0, 0, 0.12);
  stroke-width: 0.5;
}

.trial-insight-key {
  font-family: Inter, system-ui, sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  fill: rgba(30, 42, 58, 0.72);
}

.trial-layer-data,
.trial-layer-report,
.trial-layer-hotspots {
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.trial-report-card {
  fill: #f4f2ef;
  stroke: rgba(26, 28, 30, 0.12);
  stroke-width: 1;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.12));
}

.trial-report-card.r2 { fill: #e8e6e1; }
.trial-report-card.r3 { fill: #dcd9d2; }

.trial-report-shadow {
  fill: rgba(0, 0, 0, 0.22);
  filter: blur(2px);
}

.trial-report-frame {
  fill: #fff;
  stroke: rgba(26, 28, 30, 0.12);
  stroke-width: 1;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.22));
}

.trial-report-cover {
  pointer-events: none;
}

.trial-report-caption {
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  fill: rgba(255, 255, 255, 0.92);
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.45);
  stroke-width: 3px;
}

.trial-report-label {
  fill: var(--navy);
  font-size: 12px;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
}

.trial-report-sub {
  font-size: 9px;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  fill: rgba(30, 42, 58, 0.65);
}

/* ---------- Step states ---------- */
/* 1 Cover: pins + hard 50 sq mi rings */
.trial-story[data-step="1"] .trial-pin,
.trial-story[data-step="2"] .trial-pin,
.trial-story[data-step="3"] .trial-pin,
.trial-story[data-step="4"] .trial-pin {
  opacity: 1;
}

/*
  Step 2 RapidSOS sequence (absolute times from step enter) — paced slower for readability:
  Phase 1  0.6–2.0s    rings red → green + chrome fades in (top bar, 911 list)
  Phase 2  2.6s         911 call pin + call list number
  Phase 3  4.0s         Request Drone clicks → turns blue + dotted path
  Phase 4  4.9s         Are you sure? modal
  Phase 5  6.8s         Yes, Push Data flash-click → path goes solid blue
  Phase 6  7.6s         green “Data has been shared”
  Phase 7  9.2s         chevron flight along solid path
*/
.trial-story[data-step="2"] .trial-cov-hard {
  opacity: 1;
  fill: rgba(237, 28, 36, 0.08);
  stroke: rgba(237, 28, 36, 0.9);
  stroke-width: 2.5;
  stroke-dasharray: none;
  filter: none;
  animation: trial-enable-green 1.4s 0.6s var(--ease) forwards;
}

/* Step 3 Run: system stays enabled (green coverage, like post-step-2) */
.trial-story[data-step="3"] .trial-cov-hard {
  opacity: 0.9;
  fill: rgba(34, 160, 90, 0.18);
  stroke: #22a05a;
  stroke-width: 2.5;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 5px rgba(34, 160, 90, 0.3));
}

/*
  Step 4 Insights color coding:
  High util  → green (keep / prioritize)
  High delta → blue (strong drone vs ground win)
  Others     → yellow (lower need in live ops)
*/
.trial-story[data-step="4"] .trial-cov-hard {
  opacity: 0.95;
  fill: rgba(234, 179, 8, 0.16);
  stroke: #d4a017;
  stroke-width: 2.5;
  stroke-dasharray: none;
  filter: none;
}

.trial-story[data-step="4"] .trial-cov-hard.is-util {
  opacity: 1;
  fill: rgba(34, 160, 90, 0.2);
  stroke: #22a05a;
  filter: drop-shadow(0 0 5px rgba(34, 160, 90, 0.35));
}

.trial-story[data-step="4"] .trial-cov-hard.is-delta {
  opacity: 1;
  fill: rgba(47, 111, 237, 0.16);
  stroke: #2f6fed;
  filter: drop-shadow(0 0 5px rgba(47, 111, 237, 0.35));
}

.trial-story[data-step="4"] .trial-cov-hard.is-util.is-delta {
  fill: rgba(34, 160, 90, 0.18);
  stroke: #2f6fed;
  stroke-dasharray: 5 4;
}

.trial-layer-labels {
  opacity: 0;
  pointer-events: none;
}

.trial-story[data-step="4"] .trial-layer-labels {
  opacity: 1;
}

/* Chrome fades in with green enable (feels like RapidSOS unlocks) */
.trial-story[data-step="2"] .trial-rs-topbar {
  animation: trial-rs-chrome-in 0.7s 0.9s var(--ease) forwards;
}

.trial-story[data-step="2"] .trial-rs-sidebar {
  animation: trial-rs-chrome-in 0.75s 1.15s var(--ease) forwards;
}

/* Single call row: empty list at start, fades in with 911 map pin */
.trial-story[data-step="2"] .trial-rs-call-row {
  opacity: 0;
  animation: trial-rs-fade-in 0.55s 2.6s var(--ease) forwards;
}

/* 911 pin on map (same beat as call list number) */
.trial-story[data-step="2"] .trial-call-hero,
.trial-story[data-step="2"] .trial-call-icon-img.trial-call-hero {
  opacity: 0;
  animation: trial-pop 0.55s 2.6s var(--ease) forwards;
}

/* Request Drone “click” → turns blue */
.trial-story[data-step="2"] .trial-rs-req-btn {
  animation: trial-rs-req-click 0.55s 4s forwards;
}

.trial-story[data-step="2"] .trial-rs-req-label {
  animation: trial-rs-req-label-on 0.55s 4s forwards;
}

/* Modal + scrim (in then out) — longer hold to read */
.trial-story[data-step="2"] .trial-rs-scrim {
  animation: trial-rs-scrim-seq 2.5s 4.9s var(--ease) forwards;
}

.trial-story[data-step="2"] .trial-rs-modal {
  animation: trial-rs-modal-seq 2.5s 4.9s var(--ease) forwards;
}

/* Yes, Push Data flash click */
.trial-story[data-step="2"] .trial-rs-yes-btn {
  animation: trial-rs-yes-flash 0.7s 6.8s ease-out forwards;
}

/* Green success banner */
.trial-story[data-step="2"] .trial-rs-success {
  animation: trial-rs-success-seq 3.6s 7.6s var(--ease) forwards;
}

.trial-drone {
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

/* Simple blue flight chevron */
.trial-drone-arrow {
  fill: #2f6fed;
  stroke: #fff;
  stroke-width: 1.25;
  stroke-linejoin: round;
  paint-order: stroke fill;
}

/* Path: dotted blue on Request click (4s), solid blue on Confirm (6.8s) */
.trial-story[data-step="2"] .trial-path-step2 {
  stroke: #2f6fed;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 8 5;
  stroke-dashoffset: 240;
  opacity: 0;
  /* 4.0s start → 6.8s confirm is ~2.8s into a longer hold; total anim covers request→solid */
  animation: trial-path-step2 6s 4s linear forwards;
}

@keyframes trial-enable-green {
  from {
    fill: rgba(237, 28, 36, 0.08);
    stroke: rgba(237, 28, 36, 0.85);
    filter: none;
  }
  to {
    fill: rgba(34, 160, 90, 0.2);
    stroke: #22a05a;
    filter: drop-shadow(0 0 6px rgba(34, 160, 90, 0.4));
  }
}

/*
  Path timeline (local to 6s anim, delayed 4s):
  0–18%   draw in as dotted blue (Request pending)
  18–46%  hold dotted until Confirm (~6.8s absolute)
  46–55%  Confirm: dotted → solid blue
  55–100% hold solid through flight
*/
@keyframes trial-path-step2 {
  0% {
    opacity: 0;
    stroke: #2f6fed;
    stroke-width: 2.5;
    stroke-dasharray: 8 5;
    stroke-dashoffset: 240;
  }
  18% {
    opacity: 1;
    stroke: #2f6fed;
    stroke-width: 2.5;
    stroke-dasharray: 8 5;
    stroke-dashoffset: 0;
  }
  46% {
    opacity: 1;
    stroke: #2f6fed;
    stroke-width: 2.5;
    stroke-dasharray: 8 5;
    stroke-dashoffset: 0;
  }
  55% {
    opacity: 1;
    stroke: #2f6fed;
    stroke-width: 2.75;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 1;
    stroke: #2f6fed;
    stroke-width: 2.75;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}

@keyframes trial-rs-chrome-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes trial-rs-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes trial-rs-req-click {
  0% {
    fill: #fff;
    stroke: rgba(26, 28, 30, 0.14);
  }
  35% {
    fill: #1a4fbf;
    stroke: #143f96;
  }
  100% {
    fill: #2f6fed;
    stroke: #1f58c9;
  }
}

@keyframes trial-rs-req-label-on {
  from { fill: rgba(30, 42, 58, 0.65); }
  to { fill: #fff; }
}

/* Scrim: fade in, hold while modal open, fade out (~1.7s total) */
@keyframes trial-rs-scrim-seq {
  0% { opacity: 0; }
  12% { opacity: 1; }
  78% { opacity: 1; }
  100% { opacity: 0; }
}

/* Modal: fade in, hold, fade out with Yes click → success */
@keyframes trial-rs-modal-seq {
  0% { opacity: 0; }
  12% { opacity: 1; }
  78% { opacity: 1; }
  100% { opacity: 0; }
}

/* Flash darker then settle — feels like a real click */
@keyframes trial-rs-yes-flash {
  0% {
    fill: #2f6fed;
    stroke: #1f58c9;
    filter: none;
  }
  25% {
    fill: #163f99;
    stroke: #0f2d70;
    filter: drop-shadow(0 0 8px rgba(47, 111, 237, 0.55));
  }
  55% {
    fill: #4a86ff;
    stroke: #2f6fed;
    filter: drop-shadow(0 0 10px rgba(47, 111, 237, 0.45));
  }
  100% {
    fill: #2f6fed;
    stroke: #1f58c9;
    filter: none;
  }
}

/* Success: in → hold → fade */
@keyframes trial-rs-success-seq {
  0% { opacity: 0; }
  12% { opacity: 1; }
  72% { opacity: 1; }
  100% { opacity: 0; }
}

/* 3 Run: many calls/lines flash & fade + 2-month scrub (blue = live deliveries) */
.trial-story[data-step="3"] .trial-path-more,
.trial-story[data-step="3"] .trial-path-hero {
  stroke: #2f6fed;
  stroke-width: 2;
  animation: trial-path-burst 3.8s ease-in-out infinite;
}

/* Step 3: RapidSOS chrome already on (no enable animation) */
.trial-story[data-step="3"] .trial-rs-topbar,
.trial-story[data-step="3"] .trial-rs-sidebar,
.trial-story[data-step="3"] .trial-rs-call-row {
  opacity: 1;
  animation: none !important;
}

.trial-story[data-step="3"] .trial-rs-req.is-active .trial-rs-req-btn,
.trial-story[data-step="3"] .trial-rs-req-btn {
  fill: #2f6fed;
  stroke: #1f58c9;
  animation: none !important;
}

.trial-story[data-step="3"] .trial-rs-req.is-active .trial-rs-req-label,
.trial-story[data-step="3"] .trial-rs-req-label {
  fill: #fff;
  animation: none !important;
}

/* Blue flight chevrons (JS-driven); stay subtle under call pins */
.trial-story[data-step="3"] .trial-drone {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.trial-story[data-step="3"] .trial-drone-arrow {
  fill: #2f6fed;
  stroke: #fff;
  stroke-width: 1;
}

.trial-story[data-step="3"] .trial-path-more[data-i="0"] { animation-delay: 0s; }
.trial-story[data-step="3"] .trial-path-more[data-i="1"] { animation-delay: 0.2s; }
.trial-story[data-step="3"] .trial-path-more[data-i="2"] { animation-delay: 0.4s; }
.trial-story[data-step="3"] .trial-path-more[data-i="3"] { animation-delay: 0.6s; }
.trial-story[data-step="3"] .trial-path-more[data-i="4"] { animation-delay: 0.8s; }
.trial-story[data-step="3"] .trial-path-more[data-i="5"] { animation-delay: 1s; }
.trial-story[data-step="3"] .trial-path-more[data-i="6"] { animation-delay: 1.2s; }
.trial-story[data-step="3"] .trial-path-more[data-i="7"] { animation-delay: 1.4s; }
.trial-story[data-step="3"] .trial-path-more[data-i="8"] { animation-delay: 1.6s; }
.trial-story[data-step="3"] .trial-path-more[data-i="9"] { animation-delay: 1.8s; }
.trial-story[data-step="3"] .trial-path-more[data-i="10"] { animation-delay: 2s; }
.trial-story[data-step="3"] .trial-path-more[data-i="11"] { animation-delay: 2.2s; }

.trial-story[data-step="3"] .trial-call-more,
.trial-story[data-step="3"] .trial-call-hero,
.trial-story[data-step="3"] .trial-call-icon-img {
  animation: trial-call-burst 3.4s ease-in-out infinite;
}

.trial-story[data-step="3"] .trial-call-icon-img[data-i="0"] { animation-delay: 0s; }
.trial-story[data-step="3"] .trial-call-icon-img[data-i="1"] { animation-delay: 0.25s; }
.trial-story[data-step="3"] .trial-call-icon-img[data-i="2"] { animation-delay: 0.5s; }
.trial-story[data-step="3"] .trial-call-icon-img[data-i="3"] { animation-delay: 0.75s; }
.trial-story[data-step="3"] .trial-call-icon-img[data-i="4"] { animation-delay: 1s; }
.trial-story[data-step="3"] .trial-call-icon-img[data-i="5"] { animation-delay: 1.25s; }
.trial-story[data-step="3"] .trial-call-icon-img[data-i="6"] { animation-delay: 1.5s; }
.trial-story[data-step="3"] .trial-call-icon-img[data-i="7"] { animation-delay: 1.75s; }
.trial-story[data-step="3"] .trial-call-icon-img[data-i="8"] { animation-delay: 2s; }
.trial-story[data-step="3"] .trial-call-icon-img[data-i="9"] { animation-delay: 0.35s; }
.trial-story[data-step="3"] .trial-call-icon-img[data-i="10"] { animation-delay: 0.85s; }
.trial-story[data-step="3"] .trial-call-icon-img[data-i="11"] { animation-delay: 1.35s; }

/* 4 Insights: stationary paths + util/delta + chips */
.trial-story[data-step="4"] .trial-path {
  opacity: 0.8;
  stroke-dashoffset: 0;
  stroke-width: 2;
  animation: none;
}

.trial-story[data-step="4"] .trial-layer-data {
  opacity: 1;
}

.trial-story[data-step="4"] .trial-call-hero,
.trial-story[data-step="4"] .trial-call-more,
.trial-story[data-step="4"] .trial-call-icon-img {
  opacity: 0.7;
  animation: none;
}

.trial-story[data-step="4"] .trial-pin {
  opacity: 1;
}

/* 5 Report */
.trial-story[data-step="5"] .trial-layer-report {
  opacity: 1;
}

.trial-story[data-step="5"] .trial-map-bg {
  filter: saturate(0.5) brightness(0.92);
}

.trial-story[data-step="5"] .trial-pin,
.trial-story[data-step="5"] .trial-cov-hard,
.trial-story[data-step="5"] .trial-path,
.trial-story[data-step="5"] .trial-call-hero,
.trial-story[data-step="5"] .trial-call-more {
  opacity: 0;
}

@keyframes trial-draw-path {
  from { stroke-dashoffset: 240; opacity: 1; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes trial-path-burst {
  0% { stroke-dashoffset: 240; opacity: 0; }
  15% { opacity: 0.95; }
  45% { stroke-dashoffset: 0; opacity: 0.9; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes trial-call-burst {
  0%, 100% { opacity: 0; }
  20%, 55% { opacity: 1; }
}

@keyframes trial-pop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes trial-wf-on {
  to { fill: #ed1c24; }
}

.trial-story-timeline {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(30, 42, 58, 0.65);
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.trial-story[data-step="3"] .trial-story-timeline {
  display: flex;
}

.trial-story-timeline-track {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: rgba(30, 42, 58, 0.12);
  overflow: hidden;
}

.trial-story-timeline-fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--red), #ff8a8f);
}

.trial-story[data-step="3"] .trial-story-timeline-fill {
  animation: trial-timeline 4s linear infinite;
}

@keyframes trial-timeline {
  from { width: 4%; }
  to { width: 100%; }
}

.trial-story-copy {
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.trial-story-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8a8f;
}

.trial-story-title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 10px;
}

.trial-story-text {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(244, 242, 239, 0.78);
  max-width: 34ch;
}

.trial-story-lead {
  display: block;
}

.trial-story-inline-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.85);
}

.trial-story-inline-link:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.trial-story-bullets {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trial-story-bullets li {
  position: relative;
  padding-left: 1.05em;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(244, 242, 239, 0.9);
}

.trial-story-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: #ed1c24;
}

.trial-story-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}

.trial-story-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.trial-story-btn:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.trial-story-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.trial-story-btn-primary {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  max-width: 100%;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
}

.trial-story-btn-primary:hover:not(:disabled) {
  background: #f3f2ef;
  border-color: #f3f2ef;
  color: var(--navy);
}

.trial-story-footnote {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(244, 242, 239, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .trial-path,
  .trial-call-more,
  .trial-call-hero,
  .trial-story-timeline-fill,
  .trial-rs-topbar,
  .trial-rs-sidebar,
  .trial-rs-call-row,
  .trial-rs-req,
  .trial-rs-req-btn,
  .trial-rs-req-label,
  .trial-rs-scrim,
  .trial-rs-modal,
  .trial-rs-yes-btn,
  .trial-rs-success,
  .trial-story[data-step="1"] .trial-cov-hard,
  .trial-story[data-step="1"] .trial-pin,
  .trial-story[data-step="1"] .trial-cov-label {
    animation: none !important;
  }

  .trial-story[data-step="1"] .trial-cov-hard,
  .trial-story[data-step="1"] .trial-pin,
  .trial-story[data-step="1"] .trial-cov-label {
    opacity: 1;
  }

  .trial-story[data-step="2"] .trial-path-step2 {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    opacity: 1;
    stroke: #2f6fed;
    stroke-width: 2.75;
  }

  .trial-story[data-step="3"] .trial-path,
  .trial-story[data-step="4"] .trial-path {
    stroke-dashoffset: 0;
    opacity: 0.8;
  }

  .trial-story[data-step="2"] .trial-cov-hard {
    animation: none !important;
    fill: rgba(34, 160, 90, 0.2);
    stroke: #22a05a;
    filter: none;
  }

  .trial-story[data-step="2"] .trial-rs-topbar,
  .trial-story[data-step="2"] .trial-rs-sidebar,
  .trial-story[data-step="2"] .trial-rs-call-row,
  .trial-story[data-step="2"] .trial-rs-req,
  .trial-story[data-step="3"] .trial-rs-topbar,
  .trial-story[data-step="3"] .trial-rs-sidebar,
  .trial-story[data-step="3"] .trial-rs-call-row,
  .trial-story[data-step="3"] .trial-rs-req {
    opacity: 1;
  }

  .trial-story[data-step="2"] .trial-rs-req-btn {
    fill: #2f6fed;
    stroke: #1f58c9;
  }

  .trial-story[data-step="2"] .trial-rs-req-label {
    fill: #fff;
  }

  .trial-story[data-step="2"] .trial-rs-success {
    opacity: 1;
  }

  .trial-story[data-step="2"] .trial-rs-scrim,
  .trial-story[data-step="2"] .trial-rs-modal {
    opacity: 0;
  }

  .trial-story[data-step="2"] .trial-call-hero,
  .trial-story[data-step="2"] .trial-call-icon-img,
  .trial-story[data-step="2"] .trial-path-step2,
  .trial-story[data-step="3"] .trial-call-more,
  .trial-story[data-step="3"] .trial-call-hero,
  .trial-story[data-step="3"] .trial-call-icon-img {
    opacity: 1;
    animation: none !important;
  }

  .trial-story[data-step="3"] .trial-story-timeline-fill {
    width: 70%;
  }
}

@media (max-width: 900px) {
  .trial-story-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .trial-story-tab-label {
    font-size: 9px;
  }

  .trial-story-stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .trial-story-copy {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .trial-story-map {
    min-height: 300px;
  }

  .trial-map-svg {
    min-height: 300px;
  }
}

/* Legacy split (unused after Tier A) */
.trial-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 10px;
}

.trial-video {
  margin: 0;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.trial-video video {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b0d10;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.trial-video-caption {
  margin: 0 0 28px;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(244, 242, 239, 0.55);
}

.trial-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 0;
}

.trial-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 7px;
  flex: 0 0 auto;
}

.trial-points li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  line-height: 1.35;
  color: rgba(244, 242, 239, 0.85);
}

.trial-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.trial-points strong {
  color: #fff;
  font-weight: 600;
}

/* Glance fills leftover height so bottom aligns with video */
.trial-side {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px 10px;
  min-height: 0;
}

.trial-side h3 {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 242, 239, 0.55);
  margin: 0 0 6px;
}

.trial-side dl {
  margin: 0;
}

.trial-side dl > div {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trial-side dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.trial-side dt {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 242, 239, 0.45);
  margin-bottom: 2px;
}

.trial-side dd {
  font-size: 13px;
  color: #fff;
  line-height: 1.3;
}

.subhead {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  max-width: none;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.report-grid-compact {
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  /* Room for absolute popovers above cards so they don’t feel cramped under the subhead */
  padding-top: 4px;
  overflow: visible;
}

.report-grid-five {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1100px) {
  .report-grid-five {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*
  Expandable cards — detail is position:absolute ABOVE the card.
  Nothing in the page flow moves (video stays put, sample reports stay put).
*/
.report-card {
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  width: 100%;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 16px 14px;
  position: relative;
  z-index: 1;
  display: block;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.report-card:hover,
.report-card:focus-visible,
.report-card.is-open {
  z-index: 8;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  outline: none;
}

.report-card-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 650;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 4px;
}

.report-card-cue {
  display: block;
  font-size: 11px;
  color: rgba(244, 242, 239, 0.4);
  letter-spacing: 0.02em;
  transition: opacity 0.2s var(--ease);
}

.report-card:hover .report-card-cue,
.report-card:focus-visible .report-card-cue,
.report-card.is-open .report-card-cue {
  opacity: 0;
}

/* Popover above the card — out of document flow */
.report-card-detail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  margin: 0;
  padding: 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(244, 242, 239, 0.9);
  background: #243246;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transition: max-height 0.3s var(--ease), opacity 0.25s var(--ease), padding 0.3s var(--ease);
  z-index: 9;
}

.report-card-detail::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: #243246;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(45deg);
}

.report-card:hover .report-card-detail,
.report-card:focus-visible .report-card-detail,
.report-card.is-open .report-card-detail {
  max-height: 180px;
  opacity: 1;
  padding: 12px 14px;
  pointer-events: auto;
}

.trial-cta {
  text-align: center;
  margin-top: 4px;
  padding: 8px 20px 0;
}

.trial-cta p {
  margin-top: 10px;
  margin-bottom: 0;
  color: rgba(244, 242, 239, 0.55);
  font-size: 14px;
}

/* Light button on dark trial band — reads clearly as a control, not plain text */
.trial-cta .btn-primary {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  background: #fff;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.trial-cta .btn-primary:hover {
  background: #ff2a32;
  border-color: #ff2a32;
  color: #fff;
  box-shadow: 0 12px 28px rgba(237, 28, 36, 0.28);
}

.trial-inline-link {
  display: inline;
  margin-left: 6px;
  color: #ffb3b6;
  border-bottom: 1px solid rgba(255, 179, 182, 0.4);
  font-weight: 500;
}

.trial-inline-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.trial .btn-primary:hover {
  background: #ff2a32;
}

/* Sample Actionable Insights Reports */
.sample-reports {
  margin: 0 0 28px;
  padding: 20px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  /* Sticky header offset so “Example reports” lands the full block in view */
  scroll-margin-top: calc(var(--header) + 24px);
}

.sample-reports-head {
  margin-bottom: 20px;
}

.sample-reports .subhead {
  margin-bottom: 10px;
}

.sample-reports-lede {
  color: rgba(244, 242, 239, 0.72);
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 58ch;
}

.sample-report-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sample-report-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.sample-report-card:hover {
  border-color: rgba(237, 28, 36, 0.55);
  background: rgba(237, 28, 36, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.sample-report-thumb {
  display: block;
  position: relative;
  background: #111;
  aspect-ratio: 8.5 / 11;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sample-report-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s var(--ease);
}

.sample-report-card:hover .sample-report-thumb img {
  transform: scale(1.03);
}

.sample-report-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 18px;
  flex: 1;
}

.sample-report-type {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 242, 239, 0.45);
}

.sample-report-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.sample-report-meta {
  font-size: 13.5px;
  color: rgba(244, 242, 239, 0.65);
  margin-bottom: 6px;
}

.sample-report-cta {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #ffb3b6;
}

.sample-report-card:hover .sample-report-cta {
  color: #fff;
}

.sample-reports-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(244, 242, 239, 0.45);
  line-height: 1.45;
}

/* Devices */
.device-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.device {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 16px;
}

.device strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.device span {
  font-size: 13.5px;
  color: var(--muted);
}

.wide-photo img {
  width: 100%;
  height: min(420px, 50vh);
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.wide-photo figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

.wb-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.wb-points p {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 16px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.wb-points strong {
  color: var(--ink);
}

/* From trial to go-live — one viewport beat (match profile height) */
#proof.go-live-beat {
  scroll-margin-top: 12px;
  padding: 0;
  box-sizing: border-box;
  height: calc(100dvh - var(--header));
  height: calc(100vh - var(--header));
  min-height: 520px;
  max-height: 900px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.go-live-shell {
  /* Keep .shell max-width + side padding — do not force width: 100% */
  display: flex;
  align-items: center;
  padding-block: clamp(20px, 3vh, 32px);
  box-sizing: border-box;
  min-height: 0;
}

.go-live-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 3.5vw, 40px);
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 0;
}

.go-live-copy {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#proof .eyebrow {
  margin-bottom: 6px;
}

.go-live-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 12ch;
  margin: 0 0 8px;
  color: var(--ink);
}

.go-live-lede {
  margin: 0 0 14px;
  max-width: 44ch;
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  line-height: 1.45;
}

/* Go-live flip cards — Waiver · Installation · Go live */
.go-live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
  perspective: 1200px;
}

.go-live-card.go-live-flip {
  position: relative;
  min-height: 132px;
  cursor: pointer;
  outline: none;
}

.go-live-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 132px;
  transition: transform 0.55s var(--ease);
  transform-style: preserve-3d;
}

.go-live-flip:hover .go-live-flip-inner,
.go-live-flip:focus-within .go-live-flip-inner,
.go-live-flip.is-flipped .go-live-flip-inner {
  transform: rotateY(180deg);
}

.go-live-flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 12px 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 6px 18px rgba(26, 28, 30, 0.04);
}

.go-live-flip-front {
  background: #fff;
}

.go-live-flip-back {
  background: var(--navy);
  color: #f4f2ef;
  border-color: var(--navy);
  transform: rotateY(180deg);
  overflow: hidden;
  justify-content: center;
}

.go-live-num {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
}

.go-live-flip-front h3 {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--ink);
}

.go-live-flip-front p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ink-2);
}

.go-live-back-kicker {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff8a8f;
  white-space: nowrap;
}

.go-live-back-kicker-uline {
  margin-bottom: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.go-live-flip-back p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(244, 242, 239, 0.88);
}

.go-live-flip-back p:last-child {
  margin-bottom: 0;
}

.go-live-strip {
  margin: 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--navy);
}

/* Live ops video — fills media column */
.go-live-layout .ops-video {
  margin: 0;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.go-live-layout .ops-video-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0e1218;
  aspect-ratio: 16 / 9;
  width: 100%;
  /* Width drives size; allow taller frame so slight bumps actually show */
  min-height: min(42vh, 360px);
  max-height: min(58vh, 520px);
  margin-inline: 0;
  cursor: pointer;
}

.go-live-layout .ops-video figcaption {
  margin-top: 8px;
  text-align: left;
}

@media (max-width: 900px) {
  #proof.go-live-beat {
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
  }

  .go-live-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .go-live-grid {
    grid-template-columns: 1fr;
  }

  .go-live-card.go-live-flip,
  .go-live-flip-inner {
    min-height: 120px;
  }

  .go-live-layout .ops-video-frame {
    max-height: min(36vh, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .go-live-flip-inner {
    transition: none;
  }
}

/* Live ops video (shared defaults; go-live layout overrides above) */
.ops-video {
  margin: 0;
}

.ops-video-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0e1218;
  aspect-ratio: 16 / 9;
  width: min(100%, calc(min(38vh, 360px) * 16 / 9));
  max-height: min(38vh, 360px);
  margin-inline: auto;
  cursor: pointer;
}

.ops-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* No native controls — no volume, fullscreen, download, or PiP chrome */
  pointer-events: none;
}

.ops-video-toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 18px 12px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(30, 42, 58, 0.88);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), opacity 0.25s var(--ease);
}

.ops-video-toggle:hover {
  background: var(--navy);
  transform: translate(-50%, -50%) scale(1.03);
}

.ops-video-toggle-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.ops-video-frame.is-playing .ops-video-toggle {
  opacity: 0;
  pointer-events: none;
}

.ops-video-frame.is-playing:hover .ops-video-toggle,
.ops-video-frame.is-playing:focus-within .ops-video-toggle {
  opacity: 1;
  pointer-events: auto;
}

.ops-video-frame.is-playing .ops-video-toggle-icon {
  width: 11px;
  height: 12px;
  border: 0;
  background: linear-gradient(
    to right,
    #fff 0,
    #fff 35%,
    transparent 35%,
    transparent 65%,
    #fff 65%,
    #fff 100%
  );
  margin-left: 0;
}

.ops-video figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

#pre-arrival,
#for-citizens,
#for-fire-ems,
#for-medical,
#for-911,
#for-uas {
  scroll-margin-top: calc(var(--header) + 16px);
}

/* System */
.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.system-grid article {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.system-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.system-grid h3 {
  font-size: 1.05rem;
  padding: 16px 18px 8px;
}

.system-grid p {
  padding: 0 18px 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

/* ============================================================
   About · The System — scrolly MVP (Ground → Air → Cloud)
   ============================================================ */
.system-hero {
  padding: clamp(28px, 5vh, 48px) 0 clamp(20px, 3vh, 32px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.system-hero-inner {
  max-width: 40rem;
}

.system-hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 12px 0 10px;
  color: var(--ink);
}

/* Pull quote — same treatment as PRS “Ops over people…” */
.system-hero-sub {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy, #1e2a3a);
  border-left: 3px solid var(--red, #ed1c24);
  padding-left: 12px;
  max-width: 40ch;
}

.system-hero-lede {
  margin: 0;
  font-family: var(--hero-sub);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 48ch;
}

.system-hero-hint {
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.system-scrolly {
  position: relative;
  background: #0e1319;
  border-bottom: 1px solid var(--line);
}

/* Tall pin track — sticky stage is inside so scroll range reliably drives the scrub */
.system-scrolly-center .system-ground-pin {
  position: relative;
  /* ~38s sequence @ comfortable scroll pace */
  height: 520vh;
  height: 520dvh;
}

/* Contained card stage (original) — not full-bleed, so the full 16:9 frame shows */
.system-scrolly-center .system-sticky-wrap {
  position: sticky;
  top: var(--header);
  z-index: 2;
  height: calc(100dvh - var(--header));
  height: calc(100vh - var(--header));
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2vh, 24px) var(--pad);
  margin: 0;
  box-sizing: border-box;
  background: transparent;
  pointer-events: none; /* scroll passes through; stage content still interactive */
}

.system-scrolly-center .system-stage {
  pointer-events: auto;
  position: relative;
  /* True 16:9 card that fits in the sticky area — never crops the frame */
  width: min(960px, 100%);
  max-width: min(960px, 100%, calc((100dvh - var(--header) - 48px) * 16 / 9));
  max-width: min(960px, 100%, calc((100vh - var(--header) - 48px) * 16 / 9));
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: calc(100dvh - var(--header) - 48px);
  max-height: calc(100vh - var(--header) - 48px);
  border-radius: 18px;
  background: #0c1016;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  --gch-open: 0;
}

.system-stage-label {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.system-stage-scroll-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.system-stage[data-open="1.00"] .system-stage-scroll-hint,
.system-stage[data-phase="air"] .system-stage-scroll-hint,
.system-stage[data-phase="cloud"] .system-stage-scroll-hint {
  opacity: 0;
}

/* Legacy two-column (if used without -center) */
.system-scrolly-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: start;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.system-scrolly:not(.system-scrolly-center) .system-sticky-wrap {
  position: sticky;
  top: var(--header);
  height: calc(100dvh - var(--header));
  height: calc(100vh - var(--header));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px 24px 0;
  box-sizing: border-box;
}

.system-scrolly:not(.system-scrolly-center) .system-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  max-height: min(520px, calc(100dvh - var(--header) - 80px));
  border-radius: 16px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(20, 24, 30, 0.2);
  --gch-open: 0;
}

.system-scrolly:not(.system-scrolly-center) .system-stage-label {
  left: 14px;
  transform: none;
}

.system-visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s, transform 0.55s var(--ease);
  transform: translateY(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 36px;
  box-sizing: border-box;
}

.system-stage[data-phase="ground"] .system-visual-ground,
.system-stage[data-phase="air"] .system-visual-air,
.system-stage[data-phase="cloud"] .system-visual-cloud {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.system-visual-caption {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* GCH model-viewer (Kade GLB) */
.system-gch-model {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: transparent;
  --poster-color: transparent;
}

.system-model-poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  background: #121820;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
}

.system-model-poster img {
  width: 70%;
  max-height: 55%;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.85;
}

.system-visual-ground {
  padding: 0;
}

.system-scrolly-center .system-visual {
  padding: 0;
}

.system-scrolly-center .system-gch-model,
.system-scrolly-center .system-ground-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* Stage is already 16:9 — canvas fills the card with the full frame (no crop) */
.system-visual-ground {
  background: #0c1016;
}

.system-ground-canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill; /* stage matches 16:9 bitmap; fill = exact frame */
  background: transparent;
  transform: translateZ(0);
  pointer-events: none;
}

/* Pad measurement callout — fades in while concrete pad is on screen */
.system-pad-callout {
  position: absolute;
  z-index: 6;
  left: clamp(16px, 3.5vw, 40px);
  bottom: clamp(28px, 6vh, 56px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: min(320px, 42vw);
  padding: 16px 18px 16px 16px;
  border-radius: 12px;
  background: rgba(247, 246, 243, 0.94);
  border: 1px solid rgba(26, 28, 30, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink, #1a1c1e);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.45s var(--ease),
    visibility 0.45s,
    transform 0.5s var(--ease);
}

.system-pad-callout.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.system-stage[data-phase="air"] .system-pad-callout,
.system-stage[data-phase="cloud"] .system-pad-callout,
.system-stage[data-phase="air"] .system-power-callout,
.system-stage[data-phase="cloud"] .system-power-callout,
.system-stage[data-phase="air"] .system-housing-callout,
.system-stage[data-phase="cloud"] .system-housing-callout {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

/* Power pedestal callout — sits toward the pole / right side of stage */
.system-power-callout {
  position: absolute;
  z-index: 6;
  right: clamp(16px, 4vw, 48px);
  bottom: clamp(28%, 32vh, 42%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: min(260px, 40vw);
  padding: 14px 16px 15px;
  border-radius: 12px;
  background: rgba(247, 246, 243, 0.94);
  border: 1px solid rgba(26, 28, 30, 0.1);
  border-left: 3px solid var(--red, #ed1c24);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink, #1a1c1e);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.45s var(--ease),
    visibility 0.45s,
    transform 0.5s var(--ease);
}

.system-power-callout.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* All-weather housing — left side during the 120V AC / power beat */
.system-housing-callout {
  position: absolute;
  z-index: 6;
  left: clamp(16px, 3.5vw, 40px);
  bottom: clamp(28%, 32vh, 42%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: min(280px, 42vw);
  padding: 14px 16px 15px;
  border-radius: 12px;
  background: rgba(247, 246, 243, 0.94);
  border: 1px solid rgba(26, 28, 30, 0.1);
  border-left: 3px solid var(--red, #ed1c24);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink, #1a1c1e);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.45s var(--ease),
    visibility 0.45s,
    transform 0.5s var(--ease);
}

.system-housing-callout.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.system-power-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #5c6570);
}

.system-power-title {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--ink, #1a1c1e);
}

.system-power-lede {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-2, #3d434a);
}

/* Callout text links (e.g. FirstNet Read more) — re-enable clicks inside pointer-events:none parents */
.system-callout-cta {
  pointer-events: auto;
  align-self: flex-start;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy, #1e2a3a);
  border-bottom: 1px solid rgba(237, 28, 36, 0.85);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.system-callout-cta:hover,
.system-callout-cta:focus-visible {
  color: var(--red, #ed1c24);
  border-bottom-color: var(--red, #ed1c24);
  outline: none;
}

/* Story-beat callouts (rain / LTE / GCH / drone / payload / tether) */
.system-beat-callout {
  position: absolute;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: min(280px, 42vw);
  padding: 14px 16px 15px;
  border-radius: 12px;
  background: rgba(247, 246, 243, 0.94);
  border: 1px solid rgba(26, 28, 30, 0.1);
  border-left: 3px solid var(--red, #ed1c24);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink, #1a1c1e);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.45s var(--ease),
    visibility 0.45s,
    transform 0.5s var(--ease);
}

/* Slightly wider for Alta X + “who else uses this” carousel */
.system-beat-callout-drone {
  max-width: min(320px, 48vw);
  gap: 6px;
}

/* Mini carousel — also flown by NASA / USFS */
.system-usedby {
  pointer-events: auto;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(26, 28, 30, 0.1);
}

.system-usedby-kicker {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, #5c6570);
}

.system-usedby-viewport {
  position: relative;
  overflow: hidden;
  min-height: 4.6em;
}

.system-usedby-track {
  position: relative;
}

.system-usedby-slide {
  display: none;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(26, 28, 30, 0.08);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.system-usedby-slide.is-active {
  display: flex;
  animation: system-usedby-in 0.35s var(--ease);
}

@keyframes system-usedby-in {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.system-usedby-slide:hover,
.system-usedby-slide:focus-visible {
  background: #fff;
  border-color: rgba(237, 28, 36, 0.4);
  outline: none;
}

.system-usedby-org {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink, #1a1c1e);
}

.system-usedby-desc {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-2, #3d434a);
}

.system-usedby-link {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red, #ed1c24);
}

.system-usedby-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.system-usedby-dot {
  pointer-events: auto;
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(26, 28, 30, 0.22);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.system-usedby-dot.is-active {
  background: var(--red, #ed1c24);
  transform: scale(1.15);
}

.system-usedby-dot:hover,
.system-usedby-dot:focus-visible {
  background: rgba(26, 28, 30, 0.4);
  outline: none;
}

.system-usedby-dot.is-active:hover,
.system-usedby-dot.is-active:focus-visible {
  background: var(--red, #ed1c24);
}

.system-beat-callout-left {
  left: clamp(16px, 3.5vw, 40px);
  top: clamp(18%, 22vh, 30%);
}

.system-beat-callout-right {
  right: clamp(16px, 4vw, 48px);
  top: clamp(18%, 24vh, 32%);
}

.system-beat-callout.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.system-stage[data-phase="air"] .system-beat-callout,
.system-stage[data-phase="cloud"] .system-beat-callout {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.system-pad-dims {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.system-pad-dim {
  display: grid;
  grid-template-columns: 14px 1fr auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 8px;
  row-gap: 2px;
}

.system-pad-dim .system-pad-tick-start {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
}

.system-pad-dim .system-pad-rule {
  grid-column: 2;
  grid-row: 1;
}

.system-pad-dim .system-pad-tick-end {
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
}

.system-pad-dim .system-pad-value {
  grid-column: 4;
  grid-row: 1;
}

.system-pad-dim .system-pad-unit {
  grid-column: 4;
  grid-row: 2;
  justify-self: end;
}

.system-pad-rule {
  display: block;
  height: 1px;
  min-width: 72px;
  background: linear-gradient(
    90deg,
    rgba(26, 28, 30, 0.12),
    rgba(26, 28, 30, 0.55),
    rgba(26, 28, 30, 0.12)
  );
  position: relative;
}

.system-pad-tick {
  display: block;
  width: 1px;
  height: 12px;
  background: rgba(26, 28, 30, 0.55);
}

.system-pad-value {
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink, #1a1c1e);
  white-space: nowrap;
}

.system-pad-unit {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, #5c6570);
  line-height: 1;
}

.system-pad-bullets {
  margin: 0;
  padding: 0 0 0 2px;
  list-style: none;
  display: grid;
  gap: 6px;
}

.system-pad-bullets li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--ink-2, #3d434a);
}

.system-pad-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red, #ed1c24);
  box-shadow: 0 0 0 2px rgba(237, 28, 36, 0.2);
}

@media (max-width: 860px) {
  .system-pad-callout {
    left: 12px;
    right: 12px;
    bottom: 20px;
    max-width: none;
    padding: 12px 14px;
  }

  .system-pad-value {
    font-size: 1.25rem;
  }

  .system-power-callout {
    right: 12px;
    left: auto;
    bottom: 22%;
    max-width: min(240px, 70vw);
    padding: 12px 14px;
  }

  .system-housing-callout {
    left: 12px;
    right: 12px;
    bottom: 42%;
    max-width: none;
    padding: 12px 14px;
  }

  .system-beat-callout-left,
  .system-beat-callout-right {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 22%;
    max-width: none;
    padding: 12px 14px;
  }
}

.system-scrolly-center .system-visual-caption {
  display: none;
}

/* GCH CSS door fallback */
.system-gch {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #0f1419;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.system-gch-fallback[hidden] {
  display: none !important;
}

.system-gch-body {
  position: absolute;
  inset: 0;
}

.system-gch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(calc(1.08 - var(--gch-open) * 0.08));
  filter: brightness(calc(0.55 + var(--gch-open) * 0.45));
  transition: none;
}

.system-gch-drone-slot {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 42%;
  transform: translate(-50%, -50%) scale(calc(0.7 + var(--gch-open) * 0.35));
  opacity: calc(var(--gch-open) * 0.95);
  pointer-events: none;
  transition: none;
}

.system-nested-drone {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.system-gch-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52%;
  z-index: 2;
  background: linear-gradient(160deg, #2a3544 0%, #1a222c 55%, #121820 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: none;
}

.system-gch-door-l {
  left: 0;
  transform: translateX(calc(var(--gch-open) * -102%));
  box-shadow: inset -8px 0 20px rgba(0, 0, 0, 0.35);
}

.system-gch-door-r {
  right: 0;
  transform: translateX(calc(var(--gch-open) * 102%));
  box-shadow: inset 8px 0 20px rgba(0, 0, 0, 0.35);
}

/* When leaving ground, slide stage content down slightly */
.system-stage[data-phase="air"] .system-visual-ground,
.system-stage[data-phase="cloud"] .system-visual-ground {
  transform: translateY(40%);
  opacity: 0;
}

.system-air-img {
  width: min(100%, 380px);
  max-height: 70%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.system-scrolly-center .system-air-img {
  width: min(88%, 640px);
  max-height: 78%;
  border-radius: 14px;
}

.system-scrolly-center .system-cloud-art {
  width: min(90%, 420px);
}

/* Cloud placeholder layers */
.system-cloud-art {
  width: min(100%, 320px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.system-cloud-layer {
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(6px);
}

.system-cloud-layer span {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.system-cloud-layer small {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.65;
}

.system-cloud-layer-1 { transform: translateX(-4px); }
.system-cloud-layer-2 { transform: translateX(6px); background: rgba(237, 28, 36, 0.18); border-color: rgba(237, 28, 36, 0.35); }
.system-cloud-layer-3 { transform: translateX(-2px); }

/* Chapters = scroll track below sticky stage. Copy parked while we center the model. */
.system-scrolly-center .system-chapters {
  position: relative;
  z-index: 1;
  padding: 0;
  pointer-events: none;
}

.system-scrolly-center .system-chapter {
  /* Tall track so scroll can scrub open fully before phase change */
  min-height: 120vh;
  min-height: 120dvh;
  display: block;
  padding: 0;
  border: none;
}

.system-scrolly-center .system-chapter-ground-focus {
  /* Pin track above owns scrub height; chapter is just a phase marker */
  min-height: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.system-scrolly-center .system-chapter-parked {
  /* Visually park copy off-screen for now — still in DOM for later placement */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.system-scrolly-center .system-chapter.is-active {
  border: none;
}

/* Non-center (side-by-side) chapters */
.system-scrolly:not(.system-scrolly-center) .system-chapters {
  padding: 10vh 0 20vh;
}

.system-scrolly:not(.system-scrolly-center) .system-chapter {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 8px 48px 28px;
  box-sizing: border-box;
  border-left: 2px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.system-scrolly:not(.system-scrolly-center) .system-chapter.is-active {
  border-left-color: var(--red);
}

.system-chapter-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--ink);
}

.system-chapter-lede {
  margin: 0 0 20px;
  font-family: var(--hero-sub);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--ink-2);
  max-width: 40ch;
}

.system-spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 42ch;
}

.system-spec-list li {
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
}

.system-spec-list strong {
  color: var(--ink);
  font-weight: 600;
}

.system-chapter-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 40ch;
}

.system-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.system-stat {
  flex: 1 1 90px;
  min-width: 88px;
  padding: 12px 14px;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  text-align: center;
}

.system-stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.system-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ASTM F3322 Parachute Recovery System — one-viewport beat, no nested scroll */
.system-prs.band {
  /* Kill generic .band padding — it was blowing past the viewport */
  padding: 0;
  margin: 0;
  background: var(--bg-soft, #efeeea);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  height: calc(100dvh - var(--header));
  height: calc(100vh - var(--header));
  max-height: calc(100dvh - var(--header));
  max-height: calc(100vh - var(--header));
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* .shell keeps normal site width */
.system-prs-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  box-sizing: border-box;
  height: calc(100% - 56px);
  max-height: calc(100% - 56px);
  min-height: 0;
  padding-block: 0;
}

/* Text flows with page — no overflow:auto (that trapped wheel scroll) */
.system-prs-copy {
  min-width: 0;
  overflow: visible;
}

.system-prs .viz-kicker {
  color: var(--muted);
  margin: 0 0 10px;
}

.system-prs-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: var(--ink);
}

.system-prs-quote {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy, #1e2a3a);
  border-left: 3px solid var(--red, #ed1c24);
  padding-left: 12px;
}

.system-prs-lede {
  margin: 0 0 16px;
  max-width: 44ch;
  font-family: var(--hero-sub);
  font-size: 0.98rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--ink-2);
}

.system-prs-points {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 46ch;
}


.system-prs-points li {
  position: relative;
  padding-left: 14px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--ink-2);
}

.system-prs-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red, #ed1c24);
}

.system-prs-points strong {
  color: var(--ink);
  font-weight: 650;
}

.system-prs-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--navy, #1e2a3a);
  border-bottom: 1px solid rgba(237, 28, 36, 0.85);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.system-prs-cta:hover,
.system-prs-cta:focus-visible {
  color: var(--red, #ed1c24);
  border-bottom-color: var(--red, #ed1c24);
  outline: none;
}

.system-prs-media {
  margin: 0;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* Cap video to available beat height so 16:9 never forces the section taller */
.system-prs-video-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0d12;
  border: 1px solid var(--line);
  box-shadow:
    0 18px 40px rgba(20, 24, 30, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: min(100%, calc(100dvh - var(--header) - 72px));
  max-height: min(100%, calc(100vh - var(--header) - 72px));
}

.system-prs-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a0d12;
}

.system-prs-caption {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .system-prs.band {
    height: calc(100dvh - var(--header));
    height: calc(100vh - var(--header));
    max-height: calc(100dvh - var(--header));
    max-height: calc(100vh - var(--header));
  }

  .system-prs-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    height: calc(100% - 40px);
    max-height: calc(100% - 40px);
    gap: 16px;
  }

  .system-prs-media {
    order: -1;
    height: auto;
    max-height: 38%;
    flex: 0 0 auto;
  }

  .system-prs-video-frame {
    max-height: min(28vh, 220px);
  }

  .system-prs-copy {
    overflow: visible;
  }
}

/* Environment monitoring — interactive mission-awareness panel */
.system-env.band {
  padding: 0;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  height: calc(100dvh - var(--header));
  height: calc(100vh - var(--header));
  max-height: calc(100dvh - var(--header));
  max-height: calc(100vh - var(--header));
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.system-env-inner {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  box-sizing: border-box;
  max-height: calc(100% - 48px);
  min-height: 0;
}

.system-env-copy {
  min-width: 0;
  min-height: 0;
}

.system-env .viz-kicker {
  color: var(--muted);
  margin: 0 0 10px;
}

.system-env-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: var(--ink);
}

/* Pull quote — same treatment as PRS “Ops over people…” */
.system-env-sub {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy, #1e2a3a);
  border-left: 3px solid var(--red, #ed1c24);
  padding-left: 12px;
  max-width: 36ch;
}

.system-env-lede {
  margin: 0 0 20px;
  font-family: var(--hero-sub);
  font-size: 0.98rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--ink-2);
  max-width: 40ch;
}

/* Sequential go/no-go gates */
.system-env-gates {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.system-env-gate {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  opacity: 0.55;
  transform: translateY(4px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    border-color 0.35s var(--ease),
    background 0.35s var(--ease);
}

.system-env-gate.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(237, 28, 36, 0.35);
}

.system-env-gate.is-clear {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(46, 160, 90, 0.45);
  background: linear-gradient(90deg, rgba(46, 160, 90, 0.08), var(--bg-card) 40%);
}

.system-env-gate-status {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  border: 2px solid rgba(92, 101, 112, 0.45);
  background: transparent;
  box-sizing: border-box;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.system-env-gate.is-active .system-env-gate-status {
  border-color: var(--red, #ed1c24);
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.15);
  animation: system-env-pulse 1.1s ease-in-out infinite;
}

.system-env-gate.is-clear .system-env-gate-status {
  border-color: #2ea05a;
  background: #2ea05a;
  box-shadow: none;
  animation: none;
}

@keyframes system-env-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.12);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(237, 28, 36, 0.08);
  }
}

.system-env-gate strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 2px;
}

.system-env-gate span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
}

.system-env-auth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(30, 42, 58, 0.06);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.system-env-auth.is-waiting {
  background: rgba(230, 170, 20, 0.14);
  border-color: rgba(220, 160, 20, 0.55);
  color: #9a6b00;
  animation: system-env-auth-flash 0.9s ease-in-out infinite;
}

.system-env-auth.is-go {
  background: rgba(46, 160, 90, 0.12);
  border-color: rgba(46, 160, 90, 0.4);
  color: #1f7a42;
  animation: none;
}

.system-env-auth-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.system-env-auth.is-waiting .system-env-auth-dot {
  background: #e6aa14;
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(230, 170, 20, 0.25);
  animation: system-env-auth-dot-pulse 0.9s ease-in-out infinite;
}

.system-env-auth.is-go .system-env-auth-dot {
  background: #2ea05a;
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(46, 160, 90, 0.2);
  animation: none;
}

@keyframes system-env-auth-flash {
  0%,
  100% {
    background: rgba(230, 170, 20, 0.12);
    border-color: rgba(220, 160, 20, 0.45);
  }
  50% {
    background: rgba(230, 170, 20, 0.28);
    border-color: rgba(220, 160, 20, 0.85);
  }
}

@keyframes system-env-auth-dot-pulse {
  0%,
  100% {
    opacity: 0.55;
    box-shadow: 0 0 0 2px rgba(230, 170, 20, 0.15);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 5px rgba(230, 170, 20, 0.28);
  }
}

/* Status HUD yellow wait state */
.system-env-hud.is-waiting {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(230, 170, 20, 0.7);
  animation: system-env-hud-flash 0.9s ease-in-out infinite;
}

@keyframes system-env-hud-flash {
  0%,
  100% {
    border-color: rgba(230, 170, 20, 0.45);
  }
  50% {
    border-color: rgba(230, 170, 20, 0.95);
  }
}

/* Ops panel */
.system-env-panel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #0c1219;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 60px rgba(20, 24, 30, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  max-height: 100%;
}

.system-env-panel-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.system-env-panel-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.system-env-panel-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(126, 200, 255, 0.9);
}

.system-env-live-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ec8ff;
  box-shadow: 0 0 0 3px rgba(126, 200, 255, 0.2);
  animation: system-env-pulse 1.4s ease-in-out infinite;
}

.system-env-map {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  max-height: min(52vh, 420px);
  background: #0c1219;
}

.system-env-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.system-env-map-label {
  fill: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.system-env-map-label-tfr {
  fill: rgba(255, 160, 160, 0.85);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.system-env-map-label-ac {
  fill: rgba(159, 208, 255, 0.75);
  font-size: 9px;
}

/* Coverage ring — standby footprint */
.system-env-coverage {
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.system-env-coverage.is-show {
  opacity: 1;
}

.system-env-coverage.is-dim {
  opacity: 0.35;
}

/* TFR */
.system-env-tfr {
  opacity: 0.25;
  transition: opacity 0.45s var(--ease);
}

.system-env-tfr.is-focus {
  opacity: 1;
}

/* Oblong corridor (±2 mi sides + ends) — thick round stroke = capsule */
.system-env-corridor,
.system-env-corridor-edge {
  opacity: 0;
  transition: opacity 0.5s var(--ease), stroke 0.45s var(--ease);
}

.system-env-corridor.is-show {
  opacity: 1;
}

.system-env-corridor.is-clear {
  opacity: 1;
  stroke: rgba(90, 210, 140, 0.22);
}

.system-env-corridor-edge.is-show {
  opacity: 1;
  stroke: rgba(120, 190, 255, 0.14);
}

.system-env-corridor-edge.is-clear {
  opacity: 1;
  stroke: rgba(90, 210, 140, 0.16);
}

/* Direct path — draw with stroke-dashoffset */
.system-env-route {
  opacity: 0;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition:
    opacity 0.25s var(--ease),
    stroke 0.45s var(--ease),
    stroke-dashoffset 0.7s var(--ease);
}

.system-env-route.is-show {
  opacity: 1;
  stroke-dashoffset: 0;
}

.system-env-route.is-clear {
  opacity: 1;
  stroke: rgba(90, 210, 140, 0.95);
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

/* 911 pin (drops after RapidSOS) */
.system-env-marker-scene {
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.system-env-marker-scene.is-show {
  opacity: 1;
}

/* Mission drone on path after launch */
.system-env-mission-drone {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.system-env-mission-drone.is-show {
  opacity: 1;
}

.system-env-adsb {
  opacity: 0.15;
  transition: opacity 0.45s var(--ease);
}

.system-env-adsb.is-live {
  opacity: 1;
}

/* HUD chips on the map */
.system-env-hud {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 118px;
  max-width: 160px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(8, 12, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  opacity: 0.35;
  transform: translateY(4px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.35s var(--ease);
  pointer-events: none;
}

.system-env-hud.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(237, 28, 36, 0.45);
}

.system-env-hud.is-clear {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(46, 160, 90, 0.55);
}

.system-env-hud-status {
  top: 12px;
  left: 12px;
  opacity: 0.85;
  transform: none;
}

.system-env-hud-status.is-active,
.system-env-hud-status.is-clear {
  opacity: 1;
}

.system-env-hud-weather {
  top: 12px;
  right: 12px;
  text-align: right;
}

.system-env-hud-traffic {
  bottom: 40px;
  right: 12px;
  text-align: right;
}

.system-env-hud-airspace {
  bottom: 40px;
  left: 12px;
}

.system-env-scale {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  margin: 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  white-space: nowrap;
}

.system-env-hud-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.system-env-hud-value {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.2;
}

.system-env-hud-meta {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.3;
}

.system-env-layers {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 6px;
}

.system-env-layer {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.system-env-layer.is-on {
  color: #fff;
  background: rgba(237, 28, 36, 0.22);
  border-color: rgba(237, 28, 36, 0.45);
}

.system-env-layer.is-clear {
  color: #b8f0cb;
  background: rgba(46, 160, 90, 0.2);
  border-color: rgba(46, 160, 90, 0.5);
}

@media (max-width: 900px) {
  .system-env.band {
    height: auto;
    max-height: none;
    min-height: calc(100dvh - var(--header));
    padding: clamp(28px, 5vh, 44px) 0;
    overflow: visible;
  }

  .system-env-inner {
    grid-template-columns: 1fr;
    max-height: none;
    gap: 20px;
  }

  .system-env-panel {
    order: -1;
  }

  .system-env-map {
    max-height: min(36vh, 280px);
    aspect-ratio: 16 / 11;
  }

  .system-env-hud-meta {
    display: none;
  }
}

/* Conclusion beat — lands turnkey + managed story */
.system-close {
  padding: clamp(56px, 9vh, 96px) 0;
  background: var(--bg-soft, #efeeea);
  border-top: 1px solid var(--line);
}

.system-close-inner {
  max-width: 38rem;
}

.system-close .viz-kicker {
  color: var(--muted);
  margin: 0 0 12px;
}

.system-close-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--ink);
}

.system-close-quote {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy, #1e2a3a);
  border-left: 3px solid var(--red, #ed1c24);
  padding-left: 12px;
  max-width: 36ch;
}

.system-close-lede {
  margin: 0 0 28px;
  font-family: var(--hero-sub);
  font-size: 1.02rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--ink-2);
  max-width: 46ch;
}

.system-close-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

@media (max-width: 860px) {
  .system-scrolly-center .system-stage {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
  }

  .system-scrolly-layout {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 0 var(--pad);
    box-sizing: border-box;
  }

  .system-scrolly:not(.system-scrolly-center) .system-sticky-wrap {
    position: relative;
    top: 0;
    height: auto;
    padding: 20px 0 8px;
  }

  .system-scrolly:not(.system-scrolly-center) .system-stage {
    max-width: min(100%, 420px);
    margin-inline: auto;
    max-height: 360px;
  }

  .system-scrolly:not(.system-scrolly-center) .system-chapters {
    padding: 0 0 12vh;
  }

  .system-scrolly:not(.system-scrolly-center) .system-chapter {
    min-height: 0;
    padding: 36px 0 48px;
    border-left: none;
    border-top: 2px solid transparent;
  }

  .system-scrolly:not(.system-scrolly-center) .system-chapter.is-active {
    border-left: none;
    border-top-color: var(--red);
  }
}

@media (prefers-reduced-motion: reduce) {
  .system-visual {
    transition: none;
  }

  .system-stage {
    --gch-open: 1;
  }
}

/* Hospital */
.hospital-block {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 36px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(28px, 4vw, 40px);
}

.hospital-points {
  display: grid;
  gap: 12px;
}

.hospital-points p {
  padding: 14px 16px;
  background: var(--red-soft);
  border-left: 3px solid var(--red);
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}

/* Proof — compact chips so they sit under the video in the same beat */
.proof-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.proof-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.4;
}

.proof-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.proof-list strong {
  color: var(--ink);
  display: inline;
}

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

  .ops-video-frame {
    width: 100%;
    max-height: min(32vh, 280px);
  }
}

/* Audience — In service of (flip cards) */
.audience-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 16ch;
  margin: 0 0 10px;
  color: var(--ink);
}

.audience-lede {
  margin: 0 0 10px;
  max-width: 44ch;
  color: var(--ink-2);
}

.audience-hint {
  margin: 0 0 22px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 0;
  perspective: 1200px;
}

.audience-card.audience-flip {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 14px;
  padding: 0;
  box-shadow: none;
  min-height: 200px;
  cursor: pointer;
  scroll-margin-top: calc(var(--header) + 16px);
  outline: none;
}

.audience-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  transition: transform 0.55s var(--ease);
  transform-style: preserve-3d;
}

.audience-flip:hover .audience-flip-inner,
.audience-flip:focus-within .audience-flip-inner,
.audience-flip.is-flipped .audience-flip-inner {
  transform: rotateY(180deg);
}

.audience-flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 22px 22px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 8px 24px rgba(26, 28, 30, 0.04);
}

.audience-flip-front {
  background: var(--bg-card);
}

.audience-flip-back {
  background: var(--navy);
  color: #f4f2ef;
  border-color: var(--navy);
  transform: rotateY(180deg);
  overflow: auto;
}

.audience-num {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
}

.audience-flip-front h3 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ink);
}

.audience-flip-front p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
  max-width: 32ch;
}

.audience-back-kicker {
  margin: 0 0 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  color: #ff8a8f !important;
  max-width: none !important;
}

.audience-flip-back p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(244, 242, 239, 0.88);
  max-width: none;
}

.audience-flip-back p:last-child {
  margin-bottom: 0;
}

.audience-close {
  margin: 28px 0 0;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

.audience-close-link {
  display: inline;
  margin-left: 4px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1.5px solid rgba(30, 42, 58, 0.25);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.audience-close-link:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

@media (prefers-reduced-motion: reduce) {
  .audience-flip-inner {
    transition: none;
  }
}

/* FAQ */
.faq {
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "–";
  color: var(--red);
}

.faq p {
  color: var(--muted);
  padding: 0 0 18px;
  max-width: 58ch;
  font-size: 15.5px;
  line-height: 1.6;
}

.faq p a {
  color: var(--navy, #1e2a3a);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.faq p a:hover {
  color: var(--red, #ed1c24);
}

/* Combined FAQ by audience (homepage) — white vs cream go-live above */
.faq-audience-band {
  background: #fff;
  border-top: 1px solid var(--line);
}

.faq-audience-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--ink);
}

.faq-group {
  margin: 0;
  scroll-margin-top: calc(var(--header) + 20px);
  border-bottom: 1px solid var(--line);
}

.faq-group:last-of-type {
  border-bottom: 0;
}

/* Category title (collapsible, starts closed) */
.faq-group > .faq-group-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0;
  padding: 18px 36px 18px 0;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-group > .faq-group-title::-webkit-details-marker {
  display: none;
}

.faq-group > .faq-group-title::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans, Inter, system-ui, sans-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--muted);
}

.faq-group[open] > .faq-group-title {
  border-bottom-color: var(--red, #ed1c24);
  margin-bottom: 4px;
}

.faq-group[open] > .faq-group-title::after {
  content: "–";
  color: var(--red, #ed1c24);
}

.faq-group > .faq {
  margin-top: 0;
  margin-bottom: 8px;
}

/* Questions stay utilitarian; group titles carry hierarchy */
.faq-audience-band .faq summary {
  font-family: var(--sans, Inter, system-ui, sans-serif);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  color: var(--ink-2);
}

.faq-audience-band .faq details[open] summary {
  color: var(--ink);
  font-weight: 600;
}

/* Contact page */
.contact-page {
  padding-top: calc(var(--header) + 40px);
  padding-bottom: clamp(48px, 8vh, 80px);
  background: var(--bg);
}

.contact-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 12px;
  color: var(--ink);
}

.contact-lede {
  margin: 0 0 36px;
  max-width: 44ch;
  font-family: var(--hero-sub);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  font-weight: 400;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.contact-info-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--ink);
}

.contact-address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 16px;
}

.contact-meta {
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
}

.contact-meta a {
  display: inline;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1.5px solid rgba(30, 42, 58, 0.25);
}

.contact-meta a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.contact-map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  aspect-ratio: 16 / 11;
  min-height: 220px;
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

.contact-map-note a {
  color: var(--navy);
  font-weight: 600;
}

.contact-form {
  background: #fff;
  box-shadow: 0 8px 28px rgba(26, 28, 30, 0.06);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Request — match Live Dispatch Trial navy */
.request {
  background: var(--navy);
  color: #f4f2ef;
  border-top: none;
}

.request .eyebrow {
  color: #ff8a8f;
}

.request h2 {
  color: #fff;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.request .body-lg {
  color: rgba(244, 242, 239, 0.78);
}

.request .body-lg strong {
  color: #fff;
}

.request-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.request .check {
  margin-top: 20px;
}

.request .check li {
  color: rgba(244, 242, 239, 0.82);
}

.request .check li::before {
  color: #ff8a8f;
}

.form {
  display: grid;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 24px;
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.form label.full .opt {
  font-weight: 400;
  color: var(--muted);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 11px 12px;
  background: #fff;
  outline: none;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: rgba(237, 28, 36, 0.55);
  box-shadow: 0 0 0 3px var(--red-soft);
}

.form .btn {
  justify-self: start;
  margin-top: 4px;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
}

.form-success {
  background: #eefaf3;
  border: 1px solid #b7e4c7;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  color: #1b4332;
}

.form-success pre {
  margin-top: 8px;
  white-space: pre-wrap;
  font-size: 11px;
  font-family: ui-monospace, Menlo, monospace;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  background: var(--bg);
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer-inner img {
  height: 32px;
  width: auto;
  margin-bottom: 8px;
}

.footer-inner p {
  color: var(--muted);
  font-size: 14px;
}

.footer-tagline {
  line-height: 1.45;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}

.fine {
  font-size: 12px !important;
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-desktop,
  .header-inner > .nav-cta {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .brand img {
    height: 48px;
  }

  .hero-cinematic {
    min-height: calc(100dvh - var(--header));
    max-height: none;
  }

  .hero-cinematic h1 {
    max-width: 15ch;
  }

  .hero-cinematic-content {
    justify-content: flex-end;
    padding: 20px 0 16px;
  }

  .trust-strip-on-hero .stat-value {
    font-size: 1rem;
  }

  .hero-sb,
  .two-col,
  .compare,
  .day-split,
  .trial-split,
  .system-grid,
  .hospital-block,
  .request-grid,
  .audience-grid,
  .report-grid,
  .report-grid-compact,
  .report-grid-five,
  .sample-report-cards,
  .device-row,
  .outcome-cards,
  .wb-points {
    grid-template-columns: 1fr;
  }

  .trial-video video {
    aspect-ratio: 16 / 9;
  }

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

  .stat-card:nth-child(2) {
    border-right: 0;
  }

  .stat-card:nth-child(1),
  .stat-card:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .day-split figure img {
    height: 260px;
  }
}

@media (max-width: 560px) {
  .trust-grid,
  .row-2 {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .hero-actions .btn-cta,
  .form .btn {
    width: 100%;
    min-width: 0;
  }

  .form .btn {
    justify-self: stretch;
  }

  .brand img {
    height: 44px;
  }

  .stat-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-card:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cinematic-video,
  .hero-main-video {
    display: none;
  }

  .hero-cinematic-media {
    background:
      center / cover no-repeat url("assets/aed-pickup.jpg");
  }

  .hero-video-frame {
    background:
      center / cover no-repeat url("assets/aed-pickup.jpg");
    min-height: 220px;
  }
}

/* ============================================================
   WHY SCROLLY — cream storytelling prototype
   ============================================================ */

.why-scrolly {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.why-scrolly-intro {
  padding: 56px 0 12px;
  text-align: center;
}

.why-scrolly-kicker {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--muted);
  margin-top: 8px;
}

.why-beat {
  min-height: 88vh;
  min-height: 88dvh;
  display: flex;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid transparent;
  opacity: 0.28;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.why-beat.is-inview {
  opacity: 1;
  transform: none;
}

.why-beat-inner {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.why-beat-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 16px;
}

.why-beat-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 16ch;
  color: var(--ink);
  margin-bottom: 16px;
}

.why-beat-title-lg {
  max-width: 18ch;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.why-beat-title-center {
  max-width: 18ch;
  margin-inline: auto;
  text-align: center;
}

.why-beat-accent {
  color: var(--red);
  font-style: italic;
  font-weight: 500;
  margin-top: -8px;
}

.why-beat-line {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 36ch;
}

.why-beat-line-center {
  margin-inline: auto;
  text-align: center;
}

.why-beat-line + .why-beat-line {
  margin-top: 12px;
}

.why-beat-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.why-beat-visual {
  background: var(--bg-soft);
}

.why-beat-turn {
  background: linear-gradient(180deg, var(--bg) 0%, #fff 50%, var(--bg) 100%);
}

.why-beat-close {
  min-height: 70vh;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

/* Gap bar diagram */
.gap-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 28px 0 24px;
  padding: 28px 8px;
}

.gap-bar-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 72px;
}

.gap-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 6px rgba(26, 28, 30, 0.06);
}

.gap-end-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  line-height: 1.25;
  max-width: 9ch;
}

.gap-bar-intro {
  margin-top: 32px;
  opacity: 0.92;
}

.gap-void-soft {
  opacity: 0.65;
}

.gap-void-label-soft {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.gap-bar-mid {
  position: relative;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-void {
  position: absolute;
  inset: 18px 0;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    rgba(237, 28, 36, 0.2) 0 10px,
    rgba(237, 28, 36, 0.05) 10px 18px
  );
  border: 1px dashed rgba(237, 28, 36, 0.45);
}

.gap-void-active {
  background: linear-gradient(90deg, rgba(237, 28, 36, 0.12), rgba(237, 28, 36, 0.35), rgba(237, 28, 36, 0.12));
  border-style: solid;
  animation: gapPulse 2.4s ease-in-out infinite;
}

.gap-void-label,
.gap-path-label {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--red);
  background: var(--bg);
  padding: 0 12px;
}

.why-beat-visual .gap-void-label {
  background: var(--bg-soft);
}

@keyframes gapPulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* Viz cards */
.viz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  min-height: 160px;
}

.viz-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.viz-eta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 12px;
}

.viz-eta-from {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(237, 28, 36, 0.5);
}

.viz-eta-arrow {
  color: var(--red);
  font-size: 1.4rem;
}

.viz-eta-to {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ink);
}

.viz-route {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ink) 0%, var(--red) 70%, transparent 100%);
  opacity: 0.35;
}

.viz-distance {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 40px 24px;
}

.viz-pin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.viz-pin-station {
  background: var(--ink);
}

.viz-pin-scene {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(237, 28, 36, 0.15);
}

.viz-longline {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px);
}

.viz-miles {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.viz-busy {
  display: grid;
  gap: 12px;
}

.viz-busy-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.viz-unit {
  display: inline-flex;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.viz-unit.busy {
  background: rgba(26, 28, 30, 0.08);
  color: var(--muted);
  text-decoration: line-through;
}

.viz-unit.available {
  background: rgba(237, 28, 36, 0.1);
  color: var(--red);
}

/* Scene tiles */
.scene-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 18px;
  max-width: 640px;
}

.scene-tiles li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 14px;
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow);
}

/* Sequence */
.sequence-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 18px;
  max-width: 720px;
}

.sequence-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.sequence-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.sequence-step span:last-child {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.3;
}

/* First link panels */
.first-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px auto 20px;
  max-width: 720px;
}

.first-link-panel {
  border-radius: 14px;
  padding: 28px 22px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}

.first-link-panel.is-incomplete {
  opacity: 0.72;
  background: var(--bg);
}

.first-link-panel.is-complete {
  border-color: rgba(237, 28, 36, 0.35);
  box-shadow: 0 12px 36px rgba(237, 28, 36, 0.08);
}

.first-link-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.is-complete .first-link-status {
  color: var(--red);
}

.first-link-main {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.first-link-sub {
  font-size: 14px;
  color: var(--muted);
}

.device-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.device-chips li {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
}

/* Access compare */
.access-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 18px;
  max-width: 800px;
}

.access-map {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.access-map-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
}

.access-map-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.access-dots {
  height: 120px;
  border-radius: 10px;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.access-dots.dense::before,
.access-dots.sparse::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--red) 2px, transparent 2.5px);
}

.access-dots.dense::before {
  background-size: 18px 18px;
  opacity: 0.85;
}

.access-dots.sparse::before {
  background-size: 54px 54px;
  opacity: 0.55;
}

.why-cite {
  display: inline;
  color: var(--red);
  border-bottom: 1px solid rgba(237, 28, 36, 0.35);
  font-size: 0.92em;
  margin-left: 4px;
}

.why-cite:hover {
  border-bottom-color: var(--red);
}

/* Capability fork — whole blood featured equally/more */
.capability-fork {
  margin: 32px auto 20px;
  max-width: 860px;
}

.fork-trunk {
  text-align: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 14px;
  color: var(--ink);
}

.fork-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fork-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.fork-card:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 28, 30, 0.2);
  box-shadow: var(--shadow);
}

.fork-card-feature {
  border-color: rgba(237, 28, 36, 0.4);
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
  box-shadow: 0 12px 36px rgba(237, 28, 36, 0.08);
}

.fork-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.fork-card-feature .fork-tag {
  color: var(--red);
}

.fork-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}

.fork-who {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-2);
}

.fork-what,
.fork-why {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.why-close-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 28px;
}

.why-close-actions .btn-cta {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: #fff;
}

@media (max-width: 800px) {
  .why-beat {
    min-height: auto;
    padding: 56px 0;
  }

  .why-beat-split,
  .first-link,
  .access-compare,
  .fork-branches,
  .sequence-row,
  .scene-tiles {
    grid-template-columns: 1fr;
  }

  .gap-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gap-bar-mid {
    order: 0;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-beat {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gap-void-active {
    animation: none;
  }
}

/* ============================================================
   WHY GSAP — pinned stage + scrubbed panels
   ============================================================ */

.why-gsap {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.why-gsap-pin {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}

.why-gsap-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: calc(var(--header) + 12px) 0 0;
  pointer-events: none;
}

.why-gsap-chrome-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.why-gsap-chrome .eyebrow {
  margin: 0;
}

.why-progress {
  flex: 1;
  max-width: 220px;
  height: 2px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.why-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--red);
  transform-origin: left center;
}

.why-step-indicator {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 48px;
  text-align: right;
}

.why-gsap-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: calc(var(--header) + 56px) var(--pad) 40px;
}

.why-panel {
  grid-area: 1 / 1;
  width: min(var(--max), 100%);
  max-height: none;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.why-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.why-panel-copy {
  max-width: 920px;
  margin-inline: auto;
}

.why-panel-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 14px;
}

.why-panel-copy h2,
.why-copy-stack .why-panel h2,
.why-title-stack {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  max-width: 18ch;
  color: var(--ink);
  margin-bottom: 12px;
}

.why-title-stack-lg {
  max-width: 20ch;
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
}

.why-title-accent {
  color: var(--red);
  font-style: italic;
  font-weight: 500;
  margin-top: -6px;
}

.why-panel-title-center {
  max-width: 18ch !important;
  margin-inline: auto;
  text-align: center;
}

.why-panel-line {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.48;
  color: var(--ink-2);
  max-width: 42ch;
}

.why-copy-stack .why-close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: 14px;
}

.why-panel-line-center {
  margin-inline: auto;
  text-align: center;
}

.why-panel-line + .why-panel-line {
  margin-top: 10px;
}

.why-panel-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.why-close-actions .btn-cta {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  padding: 14px 18px;
  border-radius: 2px;
  border-left: 4px solid var(--red);
}

.why-close-actions .btn-cta:hover {
  background: #152030;
}

@media (max-width: 800px) {
  .why-panel-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-gsap-stage {
    padding-top: calc(var(--header) + 72px);
    align-items: start;
  }

  .why-gsap-chrome-inner {
    flex-wrap: wrap;
  }

  .why-progress {
    order: 3;
    max-width: none;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-gsap-pin {
    height: auto !important;
  }

  .why-panel {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    margin-bottom: 48px;
  }

  .why-gsap-stage {
    position: relative;
    display: block;
    padding: 40px var(--pad);
  }
}

/* ============================================================
   Response gap timeline (dispatched → at patient)
   ============================================================ */

.resp-timeline {
  margin-top: 28px;
  max-width: 720px;
}

.resp-poles {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.resp-poles-mid {
  color: var(--red);
  letter-spacing: 0.12em;
}

.resp-track {
  display: flex;
  width: 100%;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.resp-track-sm {
  height: 28px;
}

.resp-seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  border-right: 1px solid rgba(26, 28, 30, 0.08);
  transition: flex 0.6s var(--ease), background 0.35s var(--ease);
}

.resp-seg:last-child {
  border-right: 0;
}

.resp-seg-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

.resp-seg-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.resp-track-sm .resp-seg-name,
.resp-track-sm .resp-seg-time {
  display: none;
}

.resp-seg.is-dispatch { background: #eef1f4; }
.resp-seg.is-chute { background: #e4e9ef; }
.resp-seg.is-drive { background: #d7dee6; }
.resp-seg.is-access { background: #cfd8e2; }

.resp-seg.is-stressed {
  background: linear-gradient(180deg, #fde8e9 0%, #f7c4c6 100%);
  box-shadow: inset 0 0 0 1px rgba(237, 28, 36, 0.2);
}

.resp-seg.is-stressed .resp-seg-name,
.resp-seg.is-stressed .resp-seg-time {
  color: #8a1a1f;
}

.resp-total {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.resp-total strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.resp-total em {
  font-size: 12px;
  opacity: 0.8;
}

.resp-total-hot {
  color: var(--red);
  font-weight: 650;
}

.resp-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.resp-factors li {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(237, 28, 36, 0.08);
  color: #8a1a1f;
  border: 1px solid rgba(237, 28, 36, 0.15);
}

.resp-note {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 40ch;
  line-height: 1.45;
}

.resp-note strong {
  color: var(--ink);
}

.scene-tiles-compact {
  margin-top: 16px;
}

.resp-compare {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  max-width: 720px;
}

.resp-compare-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.resp-logistics-path {
  position: relative;
  margin-top: 18px;
  padding-top: 8px;
}

.resp-logistics-line {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(237, 28, 36, 0.15), var(--red) 40%, var(--red));
  box-shadow: 0 0 16px rgba(237, 28, 36, 0.25);
}

.resp-logistics-label {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}

@media (max-width: 640px) {
  .resp-seg-name {
    font-size: 8px;
  }
  .resp-seg-time {
    font-size: 10px;
  }
  .resp-track {
    height: 64px;
  }
}

/* Growing timeline widths + exterior brace labels */
.resp-timeline {
  width: 100%;
  max-width: none;
}

.resp-body {
  width: var(--timeline-w, 52%);
  max-width: 100%;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-w-sm .resp-body { --timeline-w: 42%; }
.timeline-w-perfect .resp-body { --timeline-w: 48%; }
.timeline-w-early .resp-body { --timeline-w: 62%; }
.timeline-w-middle .resp-body { --timeline-w: 78%; }
.timeline-w-late .resp-body { --timeline-w: 92%; }
.timeline-w-full .resp-body { --timeline-w: 100%; }

/* Compare rows: short vs long side by side vertically */
.resp-compare .timeline-w-perfect .resp-body { --timeline-w: 48%; }
.resp-compare .timeline-w-full .resp-body { --timeline-w: 100%; }

.resp-track {
  height: 36px;
  /* labels live in braces below — keep bar clean */
}

.resp-track .resp-seg-name,
.resp-track .resp-seg-time {
  display: none !important;
}

.resp-braces {
  display: flex;
  width: 100%;
  margin-top: 6px;
  gap: 0;
}

.resp-brace {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 0 2px;
  text-align: center;
}

.brace-mark {
  display: block;
  width: 100%;
  height: 10px;
  border-left: 1.5px solid var(--muted);
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  border-radius: 0 0 5px 5px;
  opacity: 0.55;
  margin-bottom: 6px;
}

.brace-text {
  font-size: 10px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: none;
}

.resp-brace.is-hot .brace-mark {
  border-color: var(--red);
  opacity: 0.85;
}

.resp-brace.is-hot .brace-text {
  color: #8a1a1f;
}

.resp-braces-sm .brace-mark {
  height: 8px;
}

.resp-braces-sm .brace-text {
  font-size: 9px;
}

.resp-compare .resp-timeline {
  padding-bottom: 4px;
}

@media (max-width: 700px) {
  .timeline-w-sm .resp-body,
  .timeline-w-perfect .resp-body,
  .timeline-w-early .resp-body,
  .timeline-w-middle .resp-body,
  .timeline-w-late .resp-body,
  .timeline-w-full .resp-body,
  .resp-compare .timeline-w-perfect .resp-body,
  .resp-compare .timeline-w-full .resp-body {
    --timeline-w: 100%;
  }

  /* On small screens, still show relative growth via min-width scale */
  .timeline-w-perfect .resp-body { transform: scaleX(0.55); transform-origin: left center; }
  .timeline-w-early .resp-body { transform: scaleX(0.7); transform-origin: left center; }
  .timeline-w-middle .resp-body { transform: scaleX(0.85); transform-origin: left center; }
  .timeline-w-late .resp-body,
  .timeline-w-full .resp-body { transform: none; }
}

/* Text on top, shared timeline dock below — fits in pin viewport */
.why-gsap-stage-split {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  place-items: unset !important;
  padding: calc(var(--header) + 48px) var(--pad) 20px !important;
  gap: 18px;
  box-sizing: border-box;
  overflow: hidden;
}

.timeline-dock {
  flex: 0 0 auto;
  width: min(var(--max), 100%);
  margin-inline: auto;
  margin-top: auto; /* pin timeline to bottom of stage */
  padding: 14px 18px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  max-height: min(42vh, 360px);
  overflow: auto;
}

.timeline-system {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}

.timeline-phase-primary {
  min-width: 0;
  width: 100%;
}

/* Primary bar grows left→right as variables stack */
.timeline-dock .resp-body {
  width: 40%;
  max-width: 100%;
  will-change: width;
}

.timeline-dock .resp-seg {
  transition: flex 0.55s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease, box-shadow 0.35s ease;
}

.timeline-dock .resp-brace {
  transition: flex 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-dock.is-logistics .resp-track {
  box-shadow: 0 0 0 2px rgba(237, 28, 36, 0.2);
}

.why-copy-stack {
  position: relative;
  flex: 1 1 auto;
  min-height: 0; /* allow flex child to shrink inside pin */
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  align-items: start;
  align-content: start;
  overflow: visible;
}

.why-copy-stack .why-panel {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 640px;
  max-height: 100%;
  align-self: start;
  overflow: auto;
  /* override default why-panel absolute-grid clipping habits */
  position: relative;
}

/* Backend half: whole-blood second clock after at-patient */
.timeline-phase-blood {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  transition: grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    margin-top 0.4s ease;
}

.timeline-phase-blood:not([hidden]) {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 14px;
}

.timeline-phase-blood[hidden] {
  display: grid !important;
  pointer-events: none;
}

.timeline-phase-blood > * {
  min-height: 0;
  overflow: hidden;
}

.blood-connector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.blood-connector-line {
  flex: 0 0 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--ink), var(--red));
  border-radius: 999px;
  position: relative;
}

.blood-connector-line::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.15);
}

.blood-connector-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.blood-timeline-inner {
  padding-top: 4px;
  border-top: 1px dashed rgba(237, 28, 36, 0.35);
  padding-top: 12px;
}

.blood-poles {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.blood-body {
  width: 0%;
  max-width: 100%;
  overflow: hidden;
  will-change: width;
}

.blood-track {
  display: flex;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(237, 28, 36, 0.25);
  background: #fff8f8;
  min-width: 180px;
}

.blood-seg {
  flex: 1;
  border-right: 1px solid rgba(237, 28, 36, 0.12);
  background: linear-gradient(180deg, #fde8e9, #f5b8bb);
}

.blood-seg:last-child {
  border-right: 0;
  flex: 1.85;
  background: linear-gradient(180deg, #f7c4c6, #ed1c24);
  opacity: 0.9;
}

.blood-braces {
  display: flex;
  margin-top: 6px;
  min-width: 180px;
}

.blood-brace {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2px;
  text-align: center;
}

.blood-brace:last-child {
  flex: 1.85;
}

.blood-brace .brace-mark {
  border-color: var(--red);
  opacity: 0.7;
}

.blood-brace .brace-text {
  color: #8a1a1f;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.25;
}

.blood-total {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}

.timeline-dock.is-blood-phase {
  border-color: rgba(237, 28, 36, 0.35);
  box-shadow: 0 8px 28px rgba(237, 28, 36, 0.08), var(--shadow);
}

/* Side-by-side dual half on wider screens when blood is live */
@media (min-width: 900px) {
  .timeline-dock.is-blood-phase .timeline-system {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0 16px;
    align-items: end;
  }

  .timeline-dock.is-blood-phase .timeline-phase-blood {
    display: flex !important;
    flex-direction: column;
    grid-template-rows: none;
    margin-top: 0;
    opacity: 1;
    overflow: visible;
    min-height: 0;
  }

  .timeline-dock.is-blood-phase .timeline-phase-blood > * {
    overflow: visible;
  }

  .timeline-dock.is-blood-phase .blood-connector {
    margin-bottom: 8px;
  }

  .timeline-dock.is-blood-phase .blood-timeline-inner {
    border-top: 0;
    border-left: 1px dashed rgba(237, 28, 36, 0.35);
    padding: 0 0 0 14px;
  }

  .timeline-dock.is-blood-phase .timeline-phase-primary .resp-body {
    width: 100% !important;
  }

  .timeline-dock.is-blood-phase .blood-body {
    width: 100% !important;
  }
}

@media (max-width: 700px) {
  .timeline-dock .resp-body {
    width: 100% !important;
  }
  .blood-body {
    width: 100% !important;
  }
  .why-gsap-stage-split {
    padding: calc(var(--header) + 44px) var(--pad) 14px !important;
    gap: 12px;
  }
  .timeline-dock {
    max-height: min(38vh, 280px);
    padding: 12px 12px 10px;
  }
  .why-copy-stack .why-panel h2,
  .why-title-stack {
    font-size: clamp(1.3rem, 6vw, 1.7rem);
    max-width: none;
  }
}

/* Shorter viewports: keep text + timeline both visible */
@media (max-height: 760px) {
  .why-gsap-stage-split {
    padding-top: calc(var(--header) + 40px) !important;
    gap: 12px;
  }
  .timeline-dock {
    max-height: 34vh;
  }
  .why-copy-stack .why-panel h2,
  .why-title-stack {
    font-size: clamp(1.25rem, 2.8vw, 1.85rem);
    margin-bottom: 8px;
  }
  .why-panel-line {
    font-size: 0.95rem;
  }
  .resp-track {
    height: 44px;
  }
}

/* About placeholder pages */
.about-placeholder {
  padding-top: calc(var(--header) + 48px);
  min-height: calc(100dvh - var(--header));
}

.about-placeholder-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 14ch;
  margin: 0 0 18px;
  color: var(--ink);
}

.about-placeholder-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  max-width: 48ch;
}

.about-placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 28px;
}

.about-page {
  padding-top: calc(var(--header) + 40px);
  padding-bottom: 64px;
}

/* Mission pages (pre-arrival, whole blood, …) */
.mission-hero {
  border-top: none;
  scroll-margin-top: var(--header);
}

.mission-hero .mission-hero-label {
  text-align: left;
  margin: 0 0 12px;
}

.mission-hero .viz-profile-copy h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--ink);
}

.mission-hero .service-hero-quote {
  margin: 0 0 12px;
}

.mission-hero .viz-one-liner {
  margin-bottom: 16px;
}

/* Same payload strip as homepage For bystanders */
.mission-hero .payload-marquee {
  margin-top: 4px;
  flex-shrink: 0;
}

/* Longer hero narrative (hospital sponsorship) */
.mission-hero.mission-hero-copy-rich {
  height: auto;
  max-height: none;
  min-height: calc(100dvh - var(--header));
}

.mission-hero-body {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
  max-width: 40ch;
}

.mission-hero-body p {
  margin: 0;
  font-family: var(--hero-sub);
  font-size: clamp(0.95rem, 1.25vw, 1.05rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  font-weight: 400;
}

.mission-hero .viz-profile-media img {
  object-position: center 35%;
}

.mission-frame {
  padding: clamp(48px, 8vh, 80px) 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mission-frame-inner {
  max-width: 40rem;
}

.mission-frame-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--ink);
}

.mission-frame-list {
  margin: 0 0 8px;
}

/* Two-up next-step cards (hospital sponsorship close) */
.mission-frame-split {
  padding: clamp(48px, 8vh, 80px) 0;
}

.mission-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
  max-width: min(1040px, 100%);
  margin-inline: auto;
}

.mission-split-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: 0 10px 28px rgba(20, 24, 30, 0.05);
}

.mission-split-card .viz-kicker {
  margin-bottom: 12px;
}

.mission-split-card .mission-frame-title {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  max-width: 18ch;
  margin-bottom: 14px;
}

/* Match hero narrative body (.mission-hero-body p) — same face/size */
.mission-split-card .mission-process-lede {
  margin: 0 0 22px;
  max-width: 42ch;
  flex: 1 1 auto;
  font-family: var(--hero-sub);
  font-size: clamp(0.95rem, 1.25vw, 1.05rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  font-weight: 400;
}

.mission-split-card .about-placeholder-actions {
  margin-top: auto;
}

@media (max-width: 800px) {
  .mission-split {
    grid-template-columns: 1fr;
  }
}

/* Horizontal info strip (whole blood value framing) */
.mission-frame-strip {
  padding: clamp(36px, 6vh, 64px) 0;
}

.mission-frame-strip-inner {
  max-width: min(1120px, 100%);
}

.mission-frame-strip-head {
  margin-bottom: clamp(22px, 3.5vh, 32px);
  max-width: min(100%, 56rem);
  margin-inline: auto;
  text-align: center;
}

.mission-frame-strip-head .viz-kicker {
  text-align: center;
}

.mission-frame-strip-head .mission-frame-title {
  margin-bottom: 0;
  margin-inline: auto;
  text-align: center;
  white-space: nowrap;
  max-width: none;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
}

@media (max-width: 640px) {
  .mission-frame-strip-head .mission-frame-title {
    white-space: normal;
  }
}

.mission-info-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.mission-info-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 4px 0;
  min-width: 0;
  border-right: 1px solid var(--line);
  padding-right: 16px;
  padding-left: 16px;
}

.mission-info-item:first-child {
  padding-left: 0;
}

.mission-info-item:last-child {
  border-right: none;
  padding-right: 0;
}

.mission-info-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red, #ed1c24);
  line-height: 1;
}

.mission-info-item p {
  margin: 0;
  font-family: var(--hero-sub);
  font-size: clamp(0.84rem, 1.05vw, 0.95rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  font-weight: 400;
}

@media (max-width: 1000px) {
  .mission-info-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mission-info-item:nth-child(3) {
    border-right: none;
    padding-right: 0;
  }

  .mission-info-item:nth-child(n + 4) {
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }

  .mission-info-item:nth-child(4) {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .mission-info-strip {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .mission-info-item {
    border-right: none;
    border-top: 1px solid var(--line);
    padding: 16px 0;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }

  .mission-info-item:first-child {
    padding-left: 0;
  }

  .mission-info-item:nth-child(n + 4) {
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }

  .mission-info-num {
    flex-shrink: 0;
    padding-top: 2px;
  }
}

/* Pre-arrival process steps */
.mission-process {
  padding: 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.mission-process-intro {
  padding: clamp(40px, 7vh, 72px) 0 clamp(28px, 4vh, 40px);
  max-width: 40rem;
}

.mission-process-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: var(--ink);
}

.mission-process-lede {
  margin: 0;
  font-family: var(--hero-sub);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 48ch;
  font-weight: 400;
}

/* Process beats — same viewport panel language as .viz-profile */
.process-step {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  height: calc(100dvh - var(--header));
  height: calc(100vh - var(--header));
  min-height: 520px;
  max-height: 900px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  scroll-margin-top: var(--header);
  overflow: hidden;
  align-items: stretch;
}

.process-step-flip {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.process-step-flip .process-step-media {
  order: 2;
}

.process-step-flip .process-step-copy {
  order: 1;
}

.process-step-media {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #0a0c10;
  align-self: stretch;
}

.process-step-video,
.process-step-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/*
 * RapidSOS UI captures have baked-in letterbox bars.
 * Scale past the bars so the UI fills the media box (parent clips overflow).
 */
#step-request .process-step-video,
#step-track .process-step-video {
  object-fit: cover;
  object-position: center center;
  transform: scale(1.22);
  transform-origin: center center;
}

/* Request → Confirm: keep Request Drone in frame, crop remaining top letterbox */
#step-request .process-step-video {
  /* nudge down slightly from prior crop */
  transform: scale(1.22) translateY(-0.4%);
  transform-origin: center 15%;
  object-position: center 5%;
}

/* Whole blood first beat — fill panel on patient / crews */
#wb-scene .process-step-img {
  object-fit: cover;
  object-position: center 45%;
}

#wb-delivered .process-step-img {
  /* Portrait payload scene — keep blood unit + responder in frame */
  object-position: center 42%;
}

/* Whole blood hero — same asset as homepage #whole-blood beat */
.mission-hero .viz-profile-media img[src*="whole-blood-home"] {
  object-position: center 48%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hospital sponsorship hero — branded GCH */
.mission-hero .viz-profile-media img[src*="hospitals/hero"] {
  object-position: center 45%;
}

.process-step-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: clamp(28px, 5vw, 56px);
  min-width: 0;
  min-height: 0;
  height: 100%;
  background: var(--bg);
  align-self: stretch;
}

.process-step-copy h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

.process-step-one {
  margin: 0;
  font-family: var(--hero-sub);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 38ch;
  font-weight: 400;
}

@media (max-width: 900px) {
  .mission-hero {
    height: auto;
    max-height: none;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .mission-hero .viz-profile-media {
    min-height: min(52vh, 420px);
  }

  .process-step,
  .process-step-flip {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .process-step-flip .process-step-media,
  .process-step-flip .process-step-copy {
    order: unset;
  }

  .process-step-media {
    height: auto;
    min-height: min(48vh, 380px);
    aspect-ratio: 4 / 3;
  }
}

.about-hospital-block {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Open scroll beats — clear sticky header + small breathing room */
#what-is-this,
#for-bystanders,
#whole-blood,
#day-to-day,
#difference,
#trial,
#proof,
#faq,
#request {
  scroll-margin-top: calc(var(--header) + 28px);
}

/*
  Less scroll-margin = scroll further down so less of the previous
  section remains visible under the sticky header.
*/
#what-is-this {
  scroll-margin-top: calc(var(--header) - 8px);
}

/* Smaller margin = beat sits higher so the bottom isn’t clipped */
#for-bystanders {
  scroll-margin-top: calc(var(--header) + 8px);
}

#whole-blood {
  scroll-margin-top: calc(var(--header) - 4px);
}

#day-to-day {
  scroll-margin-top: calc(var(--header) - 4px);
}

/* Sit slightly higher so the beat feels more centered under sticky nav */
#difference {
  scroll-margin-top: calc(var(--header) - 48px);
}

/* Live ops jump from Bystanders CTA — nav is auto-hidden, pin eyebrow near top */
#proof {
  scroll-margin-top: 12px;
}

/* Live Trial — balance top under sticky nav with room for bottom CTA */
#trial {
  scroll-margin-top: calc(var(--header) - 44px);
}

