/* =============================================================
   AGM — Active General Motors
   Foundation: tokens + primitive utility classes
   Stage 1 of 2 (await sign-off before page sections)
   ============================================================= */

/* -------- 1. Tokens --------------------------------------- */
:root {
  /* Ink scale — matte charcoal */
  --ink-0: #17171a;
  --ink-1: #1f1f23;
  --ink-2: #27272c;
  --ink-3: #2f2f35;
  --ink-4: #38383f;

  /* Hairlines */
  --hair:        rgba(255, 255, 255, 0.09);
  --hair-strong: rgba(255, 255, 255, 0.18);

  /* Brushed silver */
  --silver-0: #e6e6e4;
  --silver-1: #c2c2c0;
  --silver-2: #8a8a87;
  --silver-3: #5a5a57;

  /* Text */
  --txt:       #ededeb;
  --txt-mute:  #9a9a96;
  --txt-faint: #6a6a66;

  /* Racing red — the ONLY accent */
  --red:      #d6172a;
  --red-deep: #a4101f;
  --red-glow: rgba(214, 23, 42, 0.35);

  /* Brushed silver text gradient */
  --brushed-h: linear-gradient(
    90deg,
    #5a5a57 0%,
    #c2c2c0 15%,
    #ededeb 35%,
    #8a8a87 60%,
    #c2c2c0 85%,
    #5a5a57 100%
  );

  /* Type stacks */
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
}

/* -------- 2. Base ----------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink-0);
  color: var(--txt);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

::selection { background: var(--red); color: #fff; }

/* -------- 3. Typography utilities ------------------------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--txt);
}

.h-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-mute);
}

.h-label-red {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.h-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--txt-faint);
}

.body-lg { font-size: 17px; line-height: 1.6; color: var(--txt); }
.body    { font-size: 14px; line-height: 1.6; color: var(--txt); }
.body-sm { font-size: 12.5px; line-height: 1.55; color: var(--txt-mute); }

.mono  { font-family: var(--font-mono); }
.serif { font-family: var(--font-serif); font-style: italic; }

.silver-text {
  background: var(--brushed-h);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  animation: silverShine 6s linear infinite;
}
@keyframes silverShine {
  0%   { background-position:   0% 50%; }
  100% { background-position: 200% 50%; }
}

/* -------- 4. WORDMARK ------------------------------------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.wordmark .wm-a { color: var(--red); }
.wordmark .wm-g { color: var(--txt); }
.wordmark .wm-m {
  background: var(--brushed-h);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  animation: silverShine 6s linear infinite;
}
.wordmark .wm-bar {
  display: inline-block;
  width: 4px;
  height: 0.78em;
  margin-left: 0.12em;
  background: var(--red);
}
.wordmark.wm-sm { font-size: 18px; }
.wordmark.wm-md { font-size: 32px; }
.wordmark.wm-lg { font-size: 64px; }
.wordmark.wm-xl { font-size: 120px; }

/* -------- 5. CHIP ----------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--hair);
  background: var(--ink-2);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt);
  height: 28px;
}
.chip::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--txt-mute);
}
.chip.red::before    { background: var(--red);      box-shadow: 0 0 0 3px var(--red-glow); }
.chip.silver::before { background: var(--silver-0); }

.country {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--hair);
  background: transparent;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-mute);
}
.country::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--red);
}

/* -------- 6. PANEL ---------------------------------------- */
.panel {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--hair);
  padding: 28px;
}
.panel-raised {
  position: relative;
  background: var(--ink-3);
  border: 1px solid var(--hair-strong);
  padding: 28px;
}
.panel + .panel,
.panel-raised + .panel,
.panel + .panel-raised { margin-top: 12px; }

/* -------- 7. TICK-CORNERS --------------------------------- */
.tick-corners {
  position: relative;
}
.tick-corners::before,
.tick-corners::after,
.tick-corners > .tcl,
.tick-corners > .tcr {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
}
/* top-left */
.tick-corners::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--red);
  border-left: 1px solid var(--red);
}
/* top-right */
.tick-corners::after {
  top: -1px;
  right: -1px;
  border-top: 1px solid var(--red);
  border-right: 1px solid var(--red);
}
/* bottom-left */
.tick-corners > .tcl {
  bottom: -1px;
  left: -1px;
  border-bottom: 1px solid var(--red);
  border-left: 1px solid var(--red);
}
/* bottom-right */
.tick-corners > .tcr {
  bottom: -1px;
  right: -1px;
  border-bottom: 1px solid var(--red);
  border-right: 1px solid var(--red);
}

/* -------- 8. SPEC-ROW ------------------------------------- */
.spec-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
}
.spec-row:last-child { border-bottom: 0; }
.spec-row .sr-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-faint);
}
.spec-row .sr-val {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--txt);
}
.spec-row .sr-unit {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--txt-mute);
}

/* -------- 9. BIGNUM --------------------------------------- */
.bignum {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(96px, 14vw, 220px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--txt);
}
.bignum-outline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(96px, 14vw, 220px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--hair-strong);
}

/* -------- 10. LIVERY -------------------------------------- */
.livery {
  position: relative;
  height: 6px;
  width: 100%;
  overflow: hidden;
  background: var(--ink-1);
}
.livery::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--red) 0%,
    var(--red) 33%,
    var(--ink-1) 33%,
    var(--ink-1) 36%,
    var(--silver-2) 36%,
    var(--silver-0) 53%,
    var(--silver-2) 70%,
    var(--ink-1) 70%,
    var(--ink-1) 73%,
    var(--red) 73%,
    var(--red) 100%
  );
  background-size: 200% 100%;
  animation: liveryRoll 10s linear infinite;
}
@keyframes liveryRoll {
  0%   { background-position:   0% 0; }
  100% { background-position: -200% 0; }
}

/* -------- 11. IMG-SLOT ------------------------------------ */
.img-slot {
  position: relative;
  width: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02) 0 8px,
      transparent 8px 16px
    ),
    var(--ink-3);
  border: 1px solid var(--hair);
  min-height: 220px;
  overflow: hidden;
}
.img-slot::after {
  /* faint cross-hair center mark */
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 1px;
  background: var(--hair-strong);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 0 transparent,
    0 -10px 0 -9px var(--hair-strong),
    0  10px 0 -9px var(--hair-strong);
}
.img-slot .is-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 10px;
  background: var(--ink-1);
  border-top: 1px solid var(--hair);
  border-right: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-mute);
}
.img-slot .is-id {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 10px;
  background: var(--ink-1);
  border-bottom: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--red);
}

/* -------- 12. BTN ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--hair-strong);
  background: var(--ink-2);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt);
  cursor: pointer;
  transition: border-color 160ms cubic-bezier(0.2,0.7,0.2,1),
              color 160ms cubic-bezier(0.2,0.7,0.2,1),
              transform 160ms cubic-bezier(0.2,0.7,0.2,1);
}
.btn:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}
.btn .btn-arrow {
  display: inline-block;
  width: 14px;
  height: 1px;
  background: currentColor;
  position: relative;
}
.btn .btn-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transform-origin: top right;
}

.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn-red:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  color: #fff;
}

/* -------- 13. KBD ----------------------------------------- */
.kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--ink-2);
  border: 1px solid var(--hair-strong);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  color: var(--txt);
}

/* -------- 14. GRID & SCANLINE OVERLAYS -------------------- */
.grid-bg {
  background-image:
    linear-gradient(to right,  rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.grid-bg-fine {
  background-image:
    linear-gradient(to right,  rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.scanline {
  position: relative;
}
.scanline::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.025) 0,
    rgba(255,255,255,0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}

/* =============================================================
   Showcase scaffolding (not part of the final landing page)
   ============================================================= */
.showcase {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 48px 96px;
}
.showcase-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hair);
}
.showcase-head .h-display { font-size: 56px; }

.sc-section {
  margin: 56px 0;
}
.sc-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.sc-section-head .sc-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--red);
}
.sc-section-head .sc-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.sc-section-head .sc-rule {
  flex: 1;
  height: 1px;
  background: var(--hair);
}
.sc-section-head .sc-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--txt-faint);
}

.sc-grid {
  display: grid;
  gap: 16px;
}
.sc-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.sc-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.sc-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.sc-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-faint);
}

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

.demo-stage {
  padding: 36px;
  background: var(--ink-1);
  border: 1px solid var(--hair);
}

/* =============================================================
   CHROME — fixed rail + topbar + botbar + stage
   ============================================================= */

:root {
  --rail-w: 72px;
  --bar-h: 48px;
  --alliance-h: 101px;
  --topnav-h: 44px;
}

.shell { position: relative; }

/* RAIL */
.rail {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: var(--rail-w);
  background: var(--ink-1);
  border-right: 1px solid var(--hair);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 14px 0;
}
.rail-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0 16px;
  border-bottom: 1px solid var(--hair);
}
.rail-mark .wordmark { font-size: 16px; }
.rail-ticks {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 24px 0;
}
.rail-tick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  text-decoration: none;
  color: var(--txt-faint);
  transition: color 160ms cubic-bezier(0.2,0.7,0.2,1);
  cursor: pointer;
}
.rail-tick::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--red);
  transition: height 200ms cubic-bezier(0.2,0.7,0.2,1);
}
.rail-tick .tk-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.rail-tick .tk-name {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-faint);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-top: 4px;
  opacity: 0;
  transition: opacity 200ms cubic-bezier(0.2,0.7,0.2,1);
}
.rail-tick:hover { color: var(--silver-0); }
.rail-tick:hover .tk-name { opacity: 0.7; }
.rail-tick.is-active {
  color: var(--red);
}
.rail-tick.is-active::before { height: 24px; }
.rail-tick.is-active .tk-num { color: var(--red); }
.rail-tick.is-active .tk-name { opacity: 1; color: var(--red); }

.rail-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid var(--hair);
  padding: 12px 0 4px;
}
.rail-foot .rf-text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--txt-faint);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* TOPBAR */
.topbar {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: var(--bar-h);
  background: var(--ink-0);
  border-bottom: 1px solid var(--hair);
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px;
  gap: 24px;
}
.topbar-left, .topbar-center, .topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-mute);
}
.topbar-right { justify-content: flex-end; }
.topbar .pip {
  width: 8px;
  height: 8px;
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: pipPulse 2.2s cubic-bezier(0.2,0.7,0.2,1) infinite;
}
@keyframes pipPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); }
  50%      { box-shadow: 0 0 0 6px transparent; }
}
.topbar .tb-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--hair-strong);
}
.topbar .tb-page {
  color: var(--txt);
}
.topbar .tb-page .tb-of { color: var(--txt-faint); margin: 0 4px; }
.topbar .tb-page .tb-name { color: var(--red); margin-left: 12px; }

/* BOTBAR */
.botbar {
  position: fixed;
  bottom: 0;
  left: var(--rail-w);
  right: 0;
  height: var(--bar-h);
  background: var(--ink-0);
  border-top: 1px solid var(--hair);
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  gap: 24px;
}
.botbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding-right: 16px;
  margin-right: 4px;
  border-right: 1px solid var(--hair);
  height: 100%;
  flex-shrink: 0;
  transition: opacity 200ms ease;
}
.botbar-brand:hover { opacity: 0.7; }
.botbar-brand .bb-logo {
  height: 26px;
  width: auto;
  display: block;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.85))
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}
.botbar-brand .bb-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-faint);
  white-space: nowrap;
}

.botbar-hints {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-mute);
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

@media (max-width: 900px) {
  .botbar-brand .bb-tag { display: none; }
  .botbar-brand { padding-right: 12px; }
  .botbar-hints { display: none; }
}
.botbar-hints .bb-sep { color: var(--txt-faint); }
.botbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.botbar-nav .btn {
  padding: 8px 14px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
}

/* STAGE */
.stage {
  margin-left: var(--rail-w);
  padding-top: calc(var(--bar-h) + var(--topnav-h) + var(--alliance-h));
  padding-bottom: var(--bar-h);
  min-height: 100vh;
}

/* CHAPTER */
.chapter {
  position: relative;
  min-height: calc(100vh - var(--bar-h) - var(--topnav-h) - var(--bar-h) - var(--alliance-h));
  padding: 64px 56px;
  border-bottom: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
}
.chapter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 32px;
}
.chapter-head .ch-left {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.chapter-head .ch-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
}
.chapter-head .ch-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--txt);
}
.chapter-head .ch-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-faint);
}
.chapter-head .ch-badge b {
  color: var(--txt);
  font-weight: 500;
}

.chapter-rule {
  height: 1px;
  background: var(--hair);
  position: relative;
  margin-bottom: 36px;
}
.chapter-rule::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 1px;
  width: 0;
  background: var(--red);
  transition: width 1100ms cubic-bezier(0.2,0.7,0.2,1) 200ms;
}
.chapter.is-active .chapter-rule::before { width: 88px; }

/* Tear strip between chapters */
.chapter-tear {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 56px;
  border-top: 1px solid var(--hair);
  background: var(--ink-1);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--txt-faint);
}
.chapter-tear .ct-fill { flex: 1; height: 1px; background: var(--hair); }
.chapter-tear .ct-red { color: var(--red); }

/* Stagger entry */
.stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 600ms cubic-bezier(0.2,0.7,0.2,1),
    transform 600ms cubic-bezier(0.2,0.7,0.2,1);
}
.stagger.is-active > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger.is-active > *:nth-child(1)  { transition-delay:   0ms; }
.stagger.is-active > *:nth-child(2)  { transition-delay:  80ms; }
.stagger.is-active > *:nth-child(3)  { transition-delay: 160ms; }
.stagger.is-active > *:nth-child(4)  { transition-delay: 240ms; }
.stagger.is-active > *:nth-child(5)  { transition-delay: 320ms; }
.stagger.is-active > *:nth-child(6)  { transition-delay: 400ms; }
.stagger.is-active > *:nth-child(7)  { transition-delay: 480ms; }
.stagger.is-active > *:nth-child(8)  { transition-delay: 560ms; }

/* Image-fill helper: <img> inside .img-slot covers placeholder when loaded */
.img-slot-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: var(--ink-3);
}

/* =============================================================
   SECTION 01 — HERO
   ============================================================= */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: stretch;
  flex: 1;
}
.hero-vignette {
  position: absolute;
  inset: -64px -56px;
  pointer-events: none;
  background:
    radial-gradient(800px 540px at 88% 18%, var(--red-glow), transparent 70%),
    radial-gradient(900px 480px at 10% 100%, rgba(214,23,42,0.10), transparent 70%);
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: -64px -56px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
.hero-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.hero-status {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-wm {
  margin-top: 4px;
}
.hero-wm .wordmark { font-size: clamp(72px, 9vw, 120px); }

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 7.2vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
}
.hero-headline .hl-1 { color: var(--txt); }
.hero-headline .hl-2 { color: var(--red); }
.hero-headline .hl-3 { display: inline-block; }

.hero-lede {
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--txt-mute);
}
.hero-lede em {
  color: var(--txt);
  font-style: normal;
}

.hero-livery-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 6px;
}
.hero-livery-wrap .hl-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--txt-faint);
  white-space: nowrap;
}
.hero-livery-wrap .livery { flex: 1; }

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.hero-chapter {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-faint);
}
.hero-chapter .hc-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--red);
}
.hero-chapter .hc-of {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--txt-faint);
  letter-spacing: -0.03em;
}
.hero-visual {
  position: relative;
  flex: 1;
  width: 100%;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual svg {
  width: 100%;
  height: auto;
  max-height: 480px;
  filter: drop-shadow(0 0 60px rgba(214,23,42,0.18))
          drop-shadow(0 0 40px rgba(0,0,0,0.6));
  animation: heroFloat 8s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero-visual-id {
  position: absolute;
  bottom: 14px;
  right: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-faint);
}
.hero-visual-id b { color: var(--red); font-weight: 500; }

.hero-ribbon {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hair);
  margin-top: auto;
  padding-top: 24px;
}
.hero-ribbon .hr-cell {
  padding-right: 24px;
  border-right: 1px solid var(--hair);
}
.hero-ribbon .hr-cell:last-child { border-right: 0; }
.hero-ribbon .hr-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--txt-faint);
  margin-bottom: 8px;
}
.hero-ribbon .hr-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--txt);
  line-height: 1.05;
}
.hero-ribbon .hr-val .hr-accent { color: var(--red); }
.hero-ribbon .hr-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--txt-mute);
  margin-top: 4px;
}

/* Beam sweep */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(214,23,42,0.06) 50%, transparent 65%);
  background-size: 300% 300%;
  animation: beam 8s linear infinite;
  z-index: 1;
}
@keyframes beam {
  0%   { background-position: 200% 200%; }
  100% { background-position: -100% -100%; }
}

/* =============================================================
   SECTION 02 — THE HOUSE
   ============================================================= */
.house {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  flex: 1;
}
.house-left { display: flex; flex-direction: column; gap: 28px; }
.house-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
}
.house-display .hd-red { color: var(--red); }
.house-prose {
  max-width: 62ch;
  font-size: 15.5px;
  color: var(--txt-mute);
  line-height: 1.65;
}
.house-prose p + p { margin-top: 14px; }

.founder-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px;
  background: var(--ink-2);
  border: 1px solid var(--hair);
}
.founder-card .fc-portrait {
  aspect-ratio: 4 / 5;
  min-height: 0;
}
.founder-card .fc-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.founder-card .fc-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
}
.founder-card .fc-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--txt);
}
.founder-card .fc-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-mute);
}
.founder-card .fc-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.32;
  color: var(--silver-0);
  padding-left: 14px;
  border-left: 2px solid var(--red);
  margin-top: 8px;
}
.founder-card .fc-sig {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--txt-faint);
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 12px;
}

/* The Bench — anonymised personnel roster card.
   Same outer grid as .founder-card; left side carries a typographic
   roster panel instead of a portrait. */
.crew-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px;
  background: var(--ink-2);
  border: 1px solid var(--hair);
}
.crew-card .cr-roster {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--ink-1);
  border: 1px solid var(--hair);
  min-height: 0;
}
.crew-card .cr-roster-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 4px;
}
.crew-card .cr-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: baseline;
}
.crew-card .cr-row .cr-n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--txt-faint);
}
.crew-card .cr-row .cr-name {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--txt);
}
.crew-card .cr-roster-foot {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--txt-faint);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--hair);
  text-align: right;
}
.crew-card .cr-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.crew-card .cr-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
}
.crew-card .cr-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--txt);
}
.crew-card .cr-display .cr-display-red { color: var(--red); }
.crew-card .cr-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-mute);
}
.crew-card .cr-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.32;
  color: var(--silver-0);
  padding-left: 14px;
  border-left: 2px solid var(--red);
  margin: 6px 0 0;
}
/* Light-theme override: --silver-0 (#e6e6e4) is invisible on the cream
   .is-light background. Use --txt (engraved ink) so the quote reads
   against the paper. Same fix applied to .founder-card .fc-quote
   below. */
.chapter.is-light .crew-card .cr-quote,
.chapter.is-light .founder-card .fc-quote {
  color: var(--txt);
}
.crew-card .cr-sig {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--txt-faint);
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 12px;
}

.house-right {
  position: relative;
  padding: 32px;
  background: var(--ink-2);
  border: 1px solid var(--hair);
}
.doctrine {
  display: flex;
  flex-direction: column;
  margin: 18px 0 28px;
}
.doc-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
}
.doc-row:last-child { border-bottom: 0; }
.doc-row .dr-n {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--red);
}
.doc-row .dr-body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--txt);
}
.doc-row .dr-body b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-right: 8px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.stat-cell {
  padding: 20px;
  background: var(--ink-3);
}
.stat-cell .st-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--txt-faint);
  margin-bottom: 8px;
}
.stat-cell .st-val {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--txt);
}
.stat-cell .st-val .st-accent { color: var(--red); }
.stat-cell .st-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--txt-mute);
  margin-top: 6px;
}

/* =============================================================
   SECTION 03 — CAPABILITIES
   ============================================================= */
.caps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.cap-card {
  position: relative;
  background: var(--ink-1);
  padding: 28px;
  transition: background 200ms cubic-bezier(0.2,0.7,0.2,1);
}
.cap-card:hover { background: var(--ink-2); }
.cap-card .cc-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--red);
  margin-bottom: 10px;
}
.cap-card .cc-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--txt);
  margin: 0 0 10px;
}
.cap-card .cc-desc {
  font-size: 14px;
  color: var(--txt-mute);
  line-height: 1.55;
  margin: 0 0 18px;
  min-height: 84px;
}
.cap-card .cc-rule { height: 1px; background: var(--hair); margin-bottom: 14px; }
.cap-card .cc-table { display: flex; flex-direction: column; gap: 6px; }
.cap-card .cc-tr {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cap-card .cc-tr .cc-k { color: var(--txt-faint); }
.cap-card .cc-tr .cc-v { color: var(--txt); }

/* Strategic alliances strip */
.alliances {
  display: grid;
  grid-template-columns: 200px repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  margin-top: 12px;
}
.alliances .al-label {
  background: var(--ink-3);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.alliances .al-label .al-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
}
.alliances .al-label .al-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--txt);
  margin-top: 12px;
}
.alliances .al-cell {
  background: var(--ink-2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.alliances .al-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--txt);
  text-transform: uppercase;
}
.alliances .al-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.alliances .al-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--txt-mute);
}

/* =============================================================
   SECTION 04 — PROCESS
   ============================================================= */
.process {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* The Workshop — chapter-level wrappers, image hero, specs strip, sub-sections.
   Lives inside .chapter.is-light, so all tokens (ink-2, hair, txt, red, etc.)
   pick up the light-mode override automatically. */
.ws-hero {
  position: relative;
  margin: 0;
  padding: 0;
  background: var(--ink-2);
  border: 1px solid var(--hair);
}
.ws-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}
.ws-hero.ws-hero-wide img {
  aspect-ratio: 16 / 9;
}
.ws-hero figcaption {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 12px 16px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ws-hero figcaption .ws-cap-key { color: var(--red); }
.ws-hero figcaption .ws-cap-val { color: var(--txt); letter-spacing: 0.12em; }
.ws-hero figcaption .ws-cap-place { color: var(--txt-faint); }

.ws-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.ws-spec {
  padding: 18px 20px;
  border-right: 1px solid var(--hair);
}
.ws-spec:last-child { border-right: 0; }
.ws-spec .ws-k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-faint);
}
.ws-spec .ws-v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--txt);
  margin-top: 8px;
  line-height: 1;
}
.ws-spec .ws-sub-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--txt-mute);
  margin-top: 8px;
}

.ws-sub {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}
.ws-sub-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  border-top: 1px solid var(--red);
  padding-top: 14px;
}

.ws-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ws-gallery .ws-hero img {
  aspect-ratio: 4 / 3;
}

.ws-recovery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
}
.ws-rc {
  padding: 16px 18px;
  border-right: 1px solid var(--hair);
}
.ws-rc:last-child { border-right: 0; }
.ws-rc .ws-rc-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}
.ws-rc .ws-rc-v {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  color: var(--txt);
  margin-top: 6px;
}
.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: start;
  gap: 0;
  padding: 28px 0 12px;
}
.process-flow::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 7.14%;
  right: 7.14%;
  height: 1px;
  background: var(--hair-strong);
  z-index: 0;
}
.proc-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 6px;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.proc-node .pn-circle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--hair-strong);
  background: var(--ink-0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--txt-mute);
  transition:
    border-color 200ms cubic-bezier(0.2,0.7,0.2,1),
    color 200ms cubic-bezier(0.2,0.7,0.2,1),
    box-shadow 200ms cubic-bezier(0.2,0.7,0.2,1);
}
.proc-node .pn-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--txt-mute);
  max-width: 14ch;
  line-height: 1.15;
  transition: color 200ms cubic-bezier(0.2,0.7,0.2,1);
}
.proc-node:hover .pn-circle { border-color: var(--silver-2); color: var(--silver-0); }
.proc-node:hover .pn-name { color: var(--txt); }
.proc-node.is-active .pn-circle {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 0 0 4px var(--red-glow);
  background: var(--ink-1);
}
.proc-node.is-active .pn-name { color: var(--red); }

.process-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  padding: 28px;
  background: var(--ink-2);
  border: 1px solid var(--hair);
}
.process-detail .pd-step {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--red);
  margin-bottom: 8px;
}
.process-detail .pd-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--txt);
  margin: 0;
}
.process-detail .pd-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--txt-mute);
}
.process-detail .pd-body p + p { margin-top: 12px; }

/* =============================================================
   SECTION 05 — REACH
   ============================================================= */
.reach {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  flex: 1;
}
.reach-map {
  position: relative;
  background: var(--ink-1);
  border: 1px solid var(--hair);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}
.reach-map > .rm-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.reach-map .rm-head .rm-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--txt);
}
.reach-map .rm-head .rm-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
}

.zm-map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--ink-0);
  border: 1px solid var(--hair);
  flex: 1;
  overflow: hidden;
}
.zm-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 0 30px rgba(214,23,42,0.10));
}
.zm-country {
  fill: url(#zm-brushed);
  stroke: var(--red);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.reach-map .rm-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--txt-faint);
  text-transform: uppercase;
}
.reach-map .rm-foot b { color: var(--red); font-weight: 500; }
.map-country {
  fill: var(--ink-3);
  stroke: var(--hair-strong);
  stroke-width: 0.6;
  transition: fill 200ms;
}
.map-country.is-served { fill: var(--ink-4); stroke: var(--silver-3); }
.map-country.is-hq     { fill: #2a0608; stroke: var(--red-deep); }

.map-node {
  fill: var(--red);
}
.map-node-ring {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.2;
  transform-origin: center;
  transform-box: fill-box;
  animation: ringExpand 2.4s cubic-bezier(0.2,0.7,0.2,1) infinite;
}
.map-node-ring.delay-1 { animation-delay: 0.6s; }
.map-node-ring.delay-2 { animation-delay: 1.2s; }
.map-node-ring.delay-3 { animation-delay: 1.8s; }
@keyframes ringExpand {
  0%   { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(4);   opacity: 0; }
}
.map-flow {
  fill: none;
  stroke: var(--red);
  stroke-width: 0.8;
  stroke-dasharray: 3 4;
  opacity: 0.55;
  animation: flowDash 18s linear infinite;
}
@keyframes flowDash {
  to { stroke-dashoffset: -200; }
}
.map-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  fill: var(--txt-mute);
  text-transform: uppercase;
}
.map-label.is-hq { fill: var(--red); }

.reach-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.reach-card {
  padding: 24px;
  background: var(--ink-2);
  border: 1px solid var(--hair);
}
.reach-card .rc-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.reach-card .rc-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 8px;
  line-height: 1;
}
.reach-card .rc-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--txt-mute);
  margin-bottom: 16px;
}
.reach-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* =============================================================
   SECTION 06 — LIVINGSTONE (BIKE CULTURE FESTIVAL)
   ============================================================= */
.conv {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  flex: 1;
}
.conv-left { display: flex; flex-direction: column; gap: 24px; }
.silver-badge {
  position: relative;
  padding: 24px;
  background: var(--ink-2);
  border: 1px solid transparent;
  background-image:
    linear-gradient(var(--ink-2), var(--ink-2)),
    var(--brushed-h);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.silver-badge .sb-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--silver-0);
  margin-bottom: 10px;
}
.silver-badge .sb-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 4px;
}
.silver-badge .sb-title .sb-silver {
  background: var(--brushed-h);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  animation: silverShine 6s linear infinite;
}
.silver-badge .sb-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--txt-mute);
  text-transform: uppercase;
}

.conv-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0;
}
.conv-headline .ch-red { color: var(--red); }

.conv-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.conv-meta .cm-cell {
  background: var(--ink-2);
  padding: 18px;
}
.conv-meta .cm-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--txt-faint);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.conv-meta .cm-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--txt);
  line-height: 1.05;
}
.conv-meta .cm-val .cm-accent { color: var(--red); }

.conv-prose {
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--txt-mute);
}
.conv-prose em { color: var(--txt); font-style: normal; }

.conv-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.conv-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.conv-bignum {
  position: relative;
  padding: 24px;
  border: 1px solid var(--hair);
  background: var(--ink-1);
  overflow: hidden;
}
.conv-bignum .cb-edition {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--red);
  text-transform: uppercase;
}
.conv-bignum .cb-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(120px, 16vw, 200px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--hair-strong);
  margin: 12px 0 0;
}
.conv-bignum .cb-foot {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--txt-faint);
  text-transform: uppercase;
  margin-top: 8px;
}

.agenda-day {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  padding: 14px 0 4px;
  border-top: 1px solid var(--hair);
}
.agenda-day:first-of-type { border-top: 0; padding-top: 6px; }

/* =============================================================
   SECTION 07 — CONTACT
   ============================================================= */
.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  flex: 1;
  align-items: stretch;
}
.contact-left { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.contact-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(72px, 10vw, 160px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0;
}
.contact-headline .ch-line { display: block; }
.contact-headline .ch-red { color: var(--red); }
.contact-headline .ch-silver {
  background: var(--brushed-h);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  animation: silverShine 6s linear infinite;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.contact-channels .cn-cell {
  background: var(--ink-1);
  padding: 18px;
}
.contact-channels .cn-key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-channels .cn-val {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--txt);
  word-break: break-word;
}
.contact-channels .cn-val a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
.contact-channels .cn-val a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
}
.contact-form { display: flex; flex-direction: column; gap: 8px; }
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  transition: border-color 200ms cubic-bezier(0.2,0.7,0.2,1);
}
.contact-field:focus-within { border-bottom-color: var(--red); }
.contact-field .cf-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--txt-faint);
  text-transform: uppercase;
  transition: color 200ms cubic-bezier(0.2,0.7,0.2,1);
}
.contact-field:focus-within .cf-label { color: var(--red); }
.contact-field input,
.contact-field textarea,
.contact-field select {
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--txt);
  padding: 4px 0;
  resize: vertical;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--txt-faint);
}

.contact-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-docstrip {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--txt-faint);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}

/* =============================================================
   SECTION 08 — FOOTER (COLOPHON)
   ============================================================= */
.colophon {
  min-height: 0;
  padding: 28px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0;
  border-top: 1px solid var(--hair);
  flex-wrap: wrap;
  gap: 18px;
  background: var(--ink-1);
}
.colophon .co-cell {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-faint);
}
.colophon .co-cell b { color: var(--txt); font-weight: 500; }

/* =============================================================
   RESPONSIVE — collapse rail, stack columns
   ============================================================= */
/* =============================================================
   EXTENSIVE ANIMATIONS — load, scroll, hover, ambient
   ============================================================= */

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

/* ---- Page-load fade-up ------------------------------------ */
body { opacity: 0; animation: pageIn 800ms cubic-bezier(0.2,0.7,0.2,1) 100ms forwards; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- HERO entry sequence ---------------------------------- */
.hero-status   { animation: heroFade 800ms cubic-bezier(0.2,0.7,0.2,1)  100ms backwards; }
.hero-wm       { animation: heroFade 900ms cubic-bezier(0.2,0.7,0.2,1)  220ms backwards; }
.hero-headline { animation: heroFade 900ms cubic-bezier(0.2,0.7,0.2,1)  360ms backwards; }
.hero-lede     { animation: heroFade 900ms cubic-bezier(0.2,0.7,0.2,1)  500ms backwards; }
.hero-livery-wrap { animation: heroFade 900ms cubic-bezier(0.2,0.7,0.2,1) 620ms backwards; }
.hero-cta      { animation: heroFade 900ms cubic-bezier(0.2,0.7,0.2,1)  720ms backwards; }
.hero-right    { animation: heroSlideR 1100ms cubic-bezier(0.2,0.7,0.2,1) 200ms backwards; }
.hero-ribbon   { animation: heroFade 900ms cubic-bezier(0.2,0.7,0.2,1)  900ms backwards; }
@keyframes heroFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideR {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Hero headline — word-by-word stagger via individual span animations */
.hero-headline .hl-1 { display: inline-block; animation: hlWord 700ms cubic-bezier(0.2,0.7,0.2,1) 420ms backwards; }
.hero-headline .hl-2 { display: inline-block; animation: hlWord 700ms cubic-bezier(0.2,0.7,0.2,1) 560ms backwards; }
.hero-headline .hl-3 { display: inline-block; animation: hlWord 700ms cubic-bezier(0.2,0.7,0.2,1) 700ms backwards; }
@keyframes hlWord {
  from { opacity: 0; transform: translateY(28px) scale(0.98); letter-spacing: -0.04em; }
  to   { opacity: 1; transform: translateY(0)    scale(1);    letter-spacing: -0.025em; }
}

/* Hero ribbon cells stagger */
.hero-ribbon .hr-cell { animation: heroFade 600ms cubic-bezier(0.2,0.7,0.2,1) backwards; }
.hero-ribbon .hr-cell:nth-child(1) { animation-delay: 1000ms; }
.hero-ribbon .hr-cell:nth-child(2) { animation-delay: 1080ms; }
.hero-ribbon .hr-cell:nth-child(3) { animation-delay: 1160ms; }
.hero-ribbon .hr-cell:nth-child(4) { animation-delay: 1240ms; }

/* ---- Wordmark — bar grow on entry ------------------------- */
.wordmark .wm-bar {
  transform-origin: bottom;
  animation: wmBar 700ms cubic-bezier(0.2,0.7,0.2,1) 800ms backwards;
}
@keyframes wmBar {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* ---- Chip pulse — for all .chip.red --------------------- */
.chip.red::before {
  animation: chipPulse 2s cubic-bezier(0.2,0.7,0.2,1) infinite;
}
@keyframes chipPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); }
  50%      { box-shadow: 0 0 0 6px transparent; }
}

/* ---- Rail tick: hover ring -------------------------------- */
.rail-tick {
  position: relative;
}
.rail-tick .tk-num {
  transition: transform 240ms cubic-bezier(0.2,0.7,0.2,1);
}
.rail-tick:hover .tk-num { transform: scale(1.12); }
.rail-tick.is-active .tk-num { animation: tickPop 500ms cubic-bezier(0.2,0.7,0.2,1); }
@keyframes tickPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.22); }
  100% { transform: scale(1); }
}

/* ---- Chapter head — name & rule animate on activation ---- */
.chapter-head .ch-eyebrow { transition: color 200ms; }
.chapter.is-active .chapter-head .ch-name {
  animation: nameSlide 700ms cubic-bezier(0.2,0.7,0.2,1) backwards;
}
@keyframes nameSlide {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ---- Tear strip — animated arrows on hover --------------- */
.chapter-tear .ct-red {
  position: relative;
  transition: color 200ms cubic-bezier(0.2,0.7,0.2,1);
}
.chapter-tear .ct-fill {
  position: relative;
  overflow: hidden;
}
.chapter-tear .ct-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform: translateX(-100%);
  animation: tearSweep 5s cubic-bezier(0.2,0.7,0.2,1) infinite;
}
@keyframes tearSweep {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* ---- Capability cards — lift + accent bar ---------------- */
.cap-card {
  transition:
    background 200ms cubic-bezier(0.2,0.7,0.2,1),
    transform 240ms cubic-bezier(0.2,0.7,0.2,1),
    box-shadow 240ms cubic-bezier(0.2,0.7,0.2,1);
}
.cap-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--red);
  transition: height 280ms cubic-bezier(0.2,0.7,0.2,1);
}
.cap-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px var(--hair-strong),
    0 12px 24px -16px rgba(214,23,42,0.4);
}
.cap-card:hover::after { height: 100%; }
.cap-card:hover .cc-title {
  color: var(--red);
}
.cap-card .cc-title { transition: color 200ms cubic-bezier(0.2,0.7,0.2,1); }
.cap-card:hover .cc-num { animation: capNumBlink 600ms cubic-bezier(0.2,0.7,0.2,1); }
@keyframes capNumBlink {
  0%, 100% { opacity: 1; }
  30%      { opacity: 0.3; }
  60%      { opacity: 1; }
}

/* ---- Doctrine rows — line draw on hover ------------------ */
.doc-row {
  position: relative;
  cursor: default;
  transition: padding-left 240ms cubic-bezier(0.2,0.7,0.2,1);
}
.doc-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 320ms cubic-bezier(0.2,0.7,0.2,1);
}
.doc-row:hover { padding-left: 14px; }
.doc-row:hover::before { width: 8px; }
.doc-row:hover .dr-n { color: var(--silver-0); }
.doc-row .dr-n { transition: color 240ms cubic-bezier(0.2,0.7,0.2,1); }

/* ---- Stat-cell number counter — flash on enter ----------- */
.stat-cell .st-val {
  display: inline-block;
  transition: transform 240ms cubic-bezier(0.2,0.7,0.2,1);
}
.stat-cell:hover .st-val { transform: translateY(-2px); }
.stat-cell:hover .st-val .st-accent { animation: statBlink 600ms cubic-bezier(0.2,0.7,0.2,1); }
@keyframes statBlink {
  0%, 100% { color: var(--red); }
  50%      { color: var(--silver-0); }
}

/* ---- Spec-row — slide red bar on hover ------------------- */
.spec-row {
  position: relative;
  transition: padding-left 200ms cubic-bezier(0.2,0.7,0.2,1);
}
.spec-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 0;
  background: var(--red);
  transition: width 240ms cubic-bezier(0.2,0.7,0.2,1);
}
.spec-row:hover {
  padding-left: 8px;
}
.spec-row:hover::before {
  width: 2px;
}
.spec-row:hover .sr-key { color: var(--red); }
.spec-row .sr-key { transition: color 200ms cubic-bezier(0.2,0.7,0.2,1); }

/* ---- Country chip hover ---------------------------------- */
.country {
  transition:
    border-color 200ms cubic-bezier(0.2,0.7,0.2,1),
    color 200ms cubic-bezier(0.2,0.7,0.2,1),
    transform 200ms cubic-bezier(0.2,0.7,0.2,1);
}
.country:hover {
  border-color: var(--red);
  color: var(--txt);
  transform: translateY(-1px);
}
.country:hover::before {
  animation: chipPulse 1.2s cubic-bezier(0.2,0.7,0.2,1) infinite;
}

/* ---- Process — flow line draws in on activation ---------- */
.process-flow::before {
  transform-origin: left center;
  animation: procLine 1400ms cubic-bezier(0.2,0.7,0.2,1) 200ms backwards;
}
@keyframes procLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.proc-node .pn-circle {
  transition:
    border-color 220ms cubic-bezier(0.2,0.7,0.2,1),
    color 220ms cubic-bezier(0.2,0.7,0.2,1),
    box-shadow 220ms cubic-bezier(0.2,0.7,0.2,1),
    transform 220ms cubic-bezier(0.2,0.7,0.2,1);
}
.proc-node:hover .pn-circle { transform: scale(1.08); }
.proc-node.is-active .pn-circle {
  animation: procActive 600ms cubic-bezier(0.2,0.7,0.2,1);
}
@keyframes procActive {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.18); box-shadow: 0 0 0 8px var(--red-glow); }
  100% { transform: scale(1);    box-shadow: 0 0 0 4px var(--red-glow); }
}

/* Process detail content swap fade */
.process-detail .pd-title,
.process-detail .pd-body {
  animation: pdSwap 450ms cubic-bezier(0.2,0.7,0.2,1);
}
@keyframes pdSwap {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Map flow paths — draw-in on enter ------------------- */
.map-flow.flow-anim {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: flowDraw 2200ms cubic-bezier(0.2,0.7,0.2,1) 400ms forwards;
}
.map-flows g .flow-anim:nth-child(1) { animation-delay: 400ms; }
.map-flow.flow-anim:nth-child(2) { animation-delay: 550ms; }
.map-flow.flow-anim:nth-child(3) { animation-delay: 700ms; }
.map-flow.flow-anim:nth-child(4) { animation-delay: 850ms; }
.map-flow.flow-anim:nth-child(5) { animation-delay: 1000ms; }
.map-flow.flow-anim:nth-child(6) { animation-delay: 1150ms; }
@keyframes flowDraw {
  0%   { stroke-dashoffset: 200; opacity: 0; }
  20%  { opacity: 0.55; }
  100% { stroke-dashoffset: 0;   opacity: 0.55; }
}

/* Map nodes — pop-in stagger */
.map-pin {
  transform-origin: center;
  transform-box: fill-box;
  animation: pinPop 600ms cubic-bezier(0.2,0.7,0.2,1) backwards;
}
.map-pin:nth-child(1) { animation-delay: 800ms; }
.map-pin:nth-child(2) { animation-delay: 950ms; }
.map-pin:nth-child(3) { animation-delay: 1100ms; }
.map-pin:nth-child(4) { animation-delay: 1250ms; }
.map-pin:nth-child(5) { animation-delay: 1400ms; }
.map-pin:nth-child(6) { animation-delay: 1550ms; }
@keyframes pinPop {
  0%   { opacity: 0; transform: translateY(8px) scale(0.5); }
  60%  { opacity: 1; transform: translateY(0)   scale(1.2); }
  100% { opacity: 1; transform: translateY(0)   scale(1); }
}

/* ---- Silver badge sheen sweep on entry ------------------- */
.silver-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.10) 50%, transparent 60%);
  background-size: 200% 100%;
  background-position: 200% 0;
  animation: sbSweep 6s cubic-bezier(0.2,0.7,0.2,1) 1s infinite;
}
@keyframes sbSweep {
  0%   { background-position: 200% 0; }
  40%  { background-position: -100% 0; }
  100% { background-position: -100% 0; }
}

/* ---- Conv bignum (26) — slow flicker pulse --------------- */
.conv-bignum .cb-num {
  animation: cbFlicker 7s cubic-bezier(0.5,0,0.5,1) 800ms infinite;
}
@keyframes cbFlicker {
  0%, 100% { -webkit-text-stroke-color: var(--hair-strong); }
  48%, 52% { -webkit-text-stroke-color: rgba(214,23,42,0.7); }
  50%      { -webkit-text-stroke-color: var(--red); }
}

/* ---- Button shimmer ---------------------------------------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.10) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 700ms cubic-bezier(0.2,0.7,0.2,1);
}
.btn:hover::after { transform: translateX(100%); }
.btn .btn-arrow {
  transition: transform 240ms cubic-bezier(0.2,0.7,0.2,1);
}
.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---- Contact field — animated underline ------------------ */
.contact-field {
  position: relative;
}
.contact-field::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 260ms cubic-bezier(0.2,0.7,0.2,1);
}
.contact-field:focus-within::after { width: 100%; }

/* Contact form: dynamic placeholder fade on focus */
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  transition: opacity 220ms cubic-bezier(0.2,0.7,0.2,1);
}
.contact-field:focus-within input::placeholder,
.contact-field:focus-within textarea::placeholder {
  opacity: 0.3;
}

/* ---- Founder portrait — slow zoom ------------------------ */
.founder-card .fc-portrait .img-slot-fill,
.founder-card .fc-portrait {
  overflow: hidden;
}
.founder-card .fc-portrait .img-slot-fill {
  animation: portraitDrift 24s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes portraitDrift {
  0%   { transform: scale(1.0)  translate(0, 0); }
  100% { transform: scale(1.06) translate(-2%, -2%); }
}

/* ---- Vehicle silhouette — scroll-driven parallax handled in JS */

/* ---- Counter — used by JS to fade in number ranges ------- */
.counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* ---- Ambient red beam over hero --------------------------- */
/* (already declared) — strengthen */

/* ---- Map node hover ------------------------------------- */
.map-pin {
  pointer-events: auto;
}
.map-pin:hover .map-node {
  fill: var(--red);
}
.map-pin:hover .map-label {
  fill: var(--red);
  font-weight: 600;
}

/* ---- Silver-text amplify with shimmer --------------------- */
.silver-text {
  background-size: 200% 100%;
}

/* ---- Top-bar page number — flick when changes ------------ */
.topbar .tb-page b {
  display: inline-block;
  animation: tbPop 400ms cubic-bezier(0.2,0.7,0.2,1);
}
@keyframes tbPop {
  0%   { transform: translateY(-3px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 1; }
}

/* ---- Page-entry lite for stagger items -------------------- */
.stagger > * { will-change: opacity, transform; }

/* ---- Cursor halo over hero --------------------------------- */
.cursor-halo {
  position: absolute;
  top: 0; left: 0;
  width: 320px;
  height: 320px;
  margin-left: -160px;
  margin-top: -160px;
  background: radial-gradient(closest-side, rgba(214,23,42,0.22), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms cubic-bezier(0.2,0.7,0.2,1);
  z-index: 1;
  will-change: transform;
  mix-blend-mode: screen;
}

/* hero-chapter-wrap needs relative positioning for halo */
.hero-chapter-wrap { position: relative; overflow: hidden; }

/* ---- Hero vehicle SVG default transition for parallax --- */
.hero-visual svg {
  transition: transform 220ms cubic-bezier(0.2,0.7,0.2,1);
  will-change: transform;
}

/* ---- Reach map nodes — hover scale ----------------------- */
.map-pin .map-node {
  transition: r 200ms cubic-bezier(0.2,0.7,0.2,1), fill 200ms;
}
.map-pin:hover .map-node { r: 6; }

/* ---- Counter shimmer subtle ------------------------------ */
.counter {
  background-image: linear-gradient(90deg, var(--txt) 0%, var(--silver-0) 50%, var(--txt) 100%);
  background-size: 200% 100%;
  background-position: 0% 0%;
  -webkit-background-clip: text;
          background-clip: text;
}

@media (max-width: 900px) {
  :root { --rail-w: 0px; --bar-h: 44px; }
  .rail { display: none; }
  .topbar, .botbar { left: 0; }
  .chapter { padding: 48px 24px; overflow-wrap: break-word; }
  .hero, .house, .reach, .conv, .contact { grid-template-columns: 1fr; }
  .caps-grid { grid-template-columns: 1fr; }
  .alliances { grid-template-columns: 1fr; }
  .conv-meta { grid-template-columns: 1fr 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
  .hero-ribbon { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .hero-ribbon .hr-cell { padding-right: 18px; }
  .hero-ribbon .hr-cell:nth-child(2n) { border-right: 0; }
  .process-flow { grid-template-columns: repeat(7, max-content); overflow-x: auto; }
  .process-detail { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .process-detail .pd-title { font-size: clamp(24px, 7vw, 32px); }
  .ws-specs { grid-template-columns: repeat(2, 1fr); }
  .ws-spec:nth-child(2) { border-right: 0; }
  .ws-spec:nth-child(1), .ws-spec:nth-child(2) { border-bottom: 1px solid var(--hair); }
  .ws-recovery-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-rc:nth-child(2) { border-right: 0; }
  .ws-rc:nth-child(1), .ws-rc:nth-child(2) { border-bottom: 1px solid var(--hair); }
  .ws-hero figcaption { grid-template-columns: 1fr; gap: 6px; }
  .ws-gallery { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 120px 1fr; }
  .crew-card { grid-template-columns: 160px 1fr; }
  .crew-card .cr-display { font-size: 26px; }
  .colophon { padding: 24px; }
  .hero-headline { font-size: clamp(40px, 8vw, 56px); }
}

/* ---- Phones (≤ 640px) ---- */
@media (max-width: 640px) {
  /* Stop horizontal scroll at the page level */
  html, body { overflow-x: hidden; }

  /* Tighter chapter padding */
  .chapter { padding: 36px 18px; }

  /* Topbar: drop decorative center, drop dynamic name on the right */
  .topbar { grid-template-columns: 1fr auto; padding: 0 14px; gap: 12px; }
  .topbar-center { display: none; }
  .topbar .tb-name { display: none; }
  .topbar-left,
  .topbar-right { font-size: 10px; letter-spacing: 0.14em; }

  /* Botbar: keep just nav, trim hints */
  .botbar { padding: 0 12px; gap: 10px; }
  .botbar-hints { font-size: 9.5px; letter-spacing: 0.1em; }
  .botbar-hints .bb-sep { display: none; }
  .botbar-nav .btn { padding: 6px 10px; font-size: 9.5px; letter-spacing: 0.18em; }

  /* Hero typography — the single biggest overflow source */
  .hero-headline { font-size: clamp(32px, 11vw, 44px); line-height: 0.95; letter-spacing: -0.02em; }
  .hero-wm .wordmark { font-size: clamp(56px, 18vw, 80px); }
  .hero-lede { font-size: 15px; }
  .hero-chapter .hc-num { font-size: 40px; }
  .hero-chapter .hc-of { font-size: 24px; }
  .hero-chapter { gap: 10px; }
  .hero-livery-wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-livery-wrap .livery { width: 100%; }
  .hero-ribbon { grid-template-columns: 1fr; }
  .hero-ribbon .hr-cell { border-right: 0; padding-right: 0; padding-bottom: 12px; border-bottom: 1px solid var(--hair); }
  .hero-ribbon .hr-cell:last-child { border-bottom: 0; }
  .hero-right { align-items: flex-start; }
  .hero-visual { margin-top: 8px; }
  .hero-visual svg { max-height: 240px; }

  /* Chapter header: stack chapter name above the page badge */
  .chapter-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
  .chapter-head .ch-name { font-size: 18px; }
  .chapter-head .ch-badge { font-size: 9.5px; letter-spacing: 0.18em; }

  /* Generic safety net: keep flex/grid children from forcing parents wider than viewport */
  .conv-meta { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; }
  .crew-card { grid-template-columns: 1fr; }
  .ws-specs, .ws-recovery-grid { grid-template-columns: 1fr; }
  .ws-spec, .ws-rc { border-right: 0; border-bottom: 1px solid var(--hair); }
  .ws-spec:last-child, .ws-rc:last-child { border-bottom: 0; }

  /* Colophon: stack instead of justify-between */
  .colophon { padding: 20px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Contact section: tighten the desktop-magazine spacing for a stacked phone layout */
  .contact { gap: 24px; }
  .contact-headline { font-size: clamp(48px, 14vw, 72px); line-height: 0.9; }
  .contact-right { padding-top: 4px; }
  .contact-form { gap: 4px; }
  .contact-field { padding: 12px 0; }
  .contact-field input,
  .contact-field textarea { font-size: 16px; min-height: 32px; }
  .contact-actions { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 8px; }
  .contact-actions .btn { width: 100%; justify-content: center; min-height: 48px; }
  .contact-docstrip {
    margin-top: 12px;
    padding-top: 16px;
    gap: 6px 14px;
    justify-content: flex-start;
    font-size: 9.5px;
    letter-spacing: 0.22em;
  }
}

/* =============================================================
   LIGHT SECTIONS — alternating editorial "paper spread"
   Scoped token overrides for chapters marked .is-light.
   Every descendant rule that reads --ink-N / --txt-* / --hair
   flips automatically; red accent and layout are untouched.
   ============================================================= */
.chapter.is-light {
  --ink-0: #f7f7f4;
  --ink-1: #efefea;
  --ink-2: #e6e6e0;
  --ink-3: #dadad3;
  --ink-4: #cacac3;

  --txt:       #141416;
  --txt-mute:  #4c4c48;
  --txt-faint: #7a7a74;

  --hair:        rgba(0, 0, 0, 0.10);
  --hair-strong: rgba(0, 0, 0, 0.22);

  /* Engraved-ink replaces brushed-silver headlines on paper */
  --brushed-h: linear-gradient(
    90deg,
    #6e6e68 0%,
    #2a2a28 20%,
    #141416 50%,
    #2a2a28 80%,
    #6e6e68 100%
  );

  background: var(--ink-0);
  color: var(--txt);
}

/* Grid background lines flip from white-alpha to ink-alpha on paper */
.chapter.is-light .grid-bg,
.chapter.is-light .grid-bg-fine {
  background-image:
    linear-gradient(to right,  rgba(0,0,0,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.06) 1px, transparent 1px);
}

/* Hero illustration drop-shadow: drop the heavy black, keep the red halo */
.chapter.is-light .hero-visual svg {
  filter: drop-shadow(0 0 60px rgba(214,23,42,0.22))
          drop-shadow(0 8px 24px rgba(0,0,0,0.12));
}

/* =============================================================
   ALLIANCE STRIP — fixed marquee under the topbar
   ============================================================= */
.alliance-strip {
  position: fixed;
  top: calc(var(--bar-h) + var(--topnav-h));
  left: var(--rail-w);
  right: 0;
  height: var(--alliance-h);
  background: var(--ink-1);
  border-bottom: 1px solid var(--hair);
  z-index: 24;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.alliance-strip .as-label {
  display: flex;
  align-items: center;
  padding: 0 34px;
  background: var(--ink-2);
  border-right: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
}

.alliance-strip .as-track {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.alliance-strip .as-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 24px;
  animation: asMarquee 36s linear infinite;
  will-change: transform;
}
.alliance-strip:hover .as-row {
  animation-play-state: paused;
}
@keyframes asMarquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.alliance-strip .as-logo {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 77px;
  white-space: nowrap;
  flex-shrink: 0;
}
.alliance-strip .as-logo img {
  height: 72px;
  width: auto;
  object-fit: contain;
  background: #fff;
  padding: 7px 17px;
  border: 1px solid var(--hair-strong);
}
.alliance-strip .as-logo .as-text {
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-mute);
}

/* Text-only wordmark fallback (used for MANN-FILTER until a logo file lands) */
.alliance-strip .as-wordmark {
  display: inline-flex;
  align-items: center;
  height: 72px;
  padding: 7px 24px;
  background: var(--ink-3);
  border: 1px solid var(--hair-strong);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 29px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--txt);
}
.alliance-strip .as-wordmark .as-plus {
  color: var(--red);
  margin: 0 1px;
}

.alliance-strip .as-sep {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--txt-faint);
  opacity: 0.5;
  user-select: none;
}

.alliance-strip .as-tail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 34px;
  background: var(--ink-2);
  border-left: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-faint);
  white-space: nowrap;
  flex-shrink: 0;
}
.alliance-strip .as-pip {
  width: 6px;
  height: 6px;
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: pipPulse 2.2s cubic-bezier(0.2,0.7,0.2,1) infinite;
}

/* Light-theme chapter shouldn't be affected — strip is fixed in matte black */

/* Responsive — hide tail and shorten label on narrow screens; on mobile rail is gone */
@media (max-width: 1100px) {
  .alliance-strip .as-tail { display: none; }
}
@media (max-width: 900px) {
  .alliance-strip { left: 0; }
  .alliance-strip .as-label { padding: 0 12px; font-size: 9px; letter-spacing: 0.22em; }
  .alliance-strip .as-row { gap: 24px; padding: 0 16px; animation-duration: 28s; }
  .alliance-strip .as-logo .as-text { display: none; }
}

/* =============================================================
   INTERLUDE · PRODUCT BANNER (Section 03b · between Capability and Process)
   ============================================================= */
.interlude.product-banner {
  background: var(--ink-1);
  border-bottom: 1px solid var(--hair);
  padding: 56px 56px 48px;
}

.product-banner .ib-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--hair);
  position: relative;
}
.product-banner .ib-head::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 120px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: ibRule 1100ms cubic-bezier(0.2,0.7,0.2,1) 200ms forwards;
}
@keyframes ibRule {
  to { transform: scaleX(1); }
}

.product-banner .ib-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  flex-shrink: 0;
}
.product-banner .ib-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--txt);
  margin: 0;
  flex: 1;
  text-align: center;
}
.product-banner .ib-title .ib-slash { color: var(--red); }
.product-banner .ib-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--txt-faint);
  flex-shrink: 0;
}

.product-banner .ib-lede {
  max-width: 78ch;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--txt-mute);
}
.product-banner .ib-lede em {
  color: var(--txt);
  font-style: normal;
}

.product-banner .ib-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}

.product-banner .ib-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: var(--ink-2);
  transition:
    background 240ms cubic-bezier(0.2,0.7,0.2,1),
    transform 240ms cubic-bezier(0.2,0.7,0.2,1);
}
.product-banner .ib-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--red);
  transition: height 320ms cubic-bezier(0.2,0.7,0.2,1);
}
.product-banner .ib-card:hover {
  background: var(--ink-3);
  transform: translateY(-3px);
}
.product-banner .ib-card:hover::after { height: 100%; }

.product-banner .ib-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f4f4f2;
  border: 1px solid var(--hair-strong);
  overflow: hidden;
}
.product-banner .ib-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 540ms cubic-bezier(0.2,0.7,0.2,1);
}
.product-banner .ib-card:hover .ib-img-wrap img {
  transform: scale(1.04);
}
.product-banner .ib-fig {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 4px 8px;
  background: var(--ink-0);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-top: 1px solid var(--hair-strong);
  border-left: 1px solid var(--hair-strong);
}

.product-banner .ib-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 5px 9px;
  border: 1px solid var(--hair);
  background: var(--ink-1);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
}
.product-banner .ib-brand .ib-dot,
.product-banner .ib-status .ib-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: pipPulse 2.2s cubic-bezier(0.2,0.7,0.2,1) infinite;
  flex-shrink: 0;
}

.product-banner .ib-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--txt);
  margin: 0;
  transition: color 200ms cubic-bezier(0.2,0.7,0.2,1);
}
.product-banner .ib-card:hover .ib-name { color: var(--red); }

.product-banner .ib-spec {
  display: flex;
  flex-direction: column;
}
.product-banner .ib-spec .spec-row {
  padding: 8px 0;
}
.product-banner .ib-spec .sr-key {
  font-size: 10px;
}

.product-banner .ib-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-mute);
}

.product-banner .ib-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-faint);
}
.product-banner .ib-foot-sep {
  flex: 1;
  height: 1px;
  background: var(--hair);
}
.product-banner .ib-foot-red,
.product-banner .ib-foot-red a {
  color: var(--red);
  text-decoration: none;
}
.product-banner .ib-foot-red a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .interlude.product-banner { padding: 36px 24px 32px; }
  .product-banner .ib-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-banner .ib-title { text-align: left; }
  .product-banner .ib-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   LOGO-MARK — the real AGM logo (black AGM + red detail on white).
   Replaces the CSS-rendered .wordmark in the rail, hero, and colophon.
   On dark surfaces an invert+hue-rotate flips the logo so the
   white background becomes matte black (blends in) and the black
   AGM letters become white. The red detail is preserved by the
   hue-rotate cancelling the invert on that hue.
   ============================================================= */
/* AGM logo: multicolor (red script + black wordmark + red car) on
   transparent PNG. Renders as-is in both themes. On dark backgrounds
   we boost the black wordmark with a soft white glow so "GENERAL
   MOTORS LIMITED" stays legible against the matte ink. */
.logo-mark {
  display: inline-block;
  width: auto;
  height: auto;
  vertical-align: middle;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.85))
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
  transition: filter 220ms cubic-bezier(0.2,0.7,0.2,1);
  user-select: none;
  -webkit-user-drag: none;
}
.logo-mark.lm-sm { height: 22px; }
.logo-mark.lm-md { height: 36px; }
.logo-mark.lm-lg { height: 68px; }
.logo-mark.lm-xl { height: clamp(72px, 9vw, 112px); }

/* Light theme: drop the white glow — natural colors read directly on cream */
.chapter.is-light .logo-mark,
.logo-mark.lm-light {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
}

/* Hero logo gets a subtle red drop-shadow halo for editorial weight */
.hero-wm .logo-mark {
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.4))
    drop-shadow(0 8px 24px rgba(214, 23, 42, 0.22));
}
.chapter.is-light .hero-wm .logo-mark {
  filter: drop-shadow(0 0 24px rgba(214, 23, 42, 0.18));
}

/* =============================================================
   INTERLUDE · INSURANCE PARTNERS  (Section 04b · "In Good Company")
   A quiet 5×2 logo grid of Zambia's leading motor insurers. Shares
   the .ib-head / .ib-lede / .ib-foot typographic pattern with the
   product-banner interlude; the grid itself is bespoke.
   ============================================================= */
.interlude.insurer-banner {
  background: var(--ink-1);
  border-bottom: 1px solid var(--hair);
  padding: 56px 56px 48px;
}

.insurer-banner .ib-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--hair);
  position: relative;
}
.insurer-banner .ib-head::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 120px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: ibRule 1100ms cubic-bezier(0.2,0.7,0.2,1) 200ms forwards;
}

.insurer-banner .ib-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  flex-shrink: 0;
}
.insurer-banner .ib-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--txt);
  margin: 0;
  flex: 1;
  text-align: center;
}
.insurer-banner .ib-title .ib-slash { color: var(--red); }
.insurer-banner .ib-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--txt-faint);
  flex-shrink: 0;
}

.insurer-banner .ib-lede {
  max-width: 78ch;
  margin: 0 0 36px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--txt-mute);
}
.insurer-banner .ib-lede em {
  color: var(--txt);
  font-style: normal;
}

/* The grid — 5 columns × 2 rows on desktop. Hairline dividers via
   1px gap on a parent painted in --hair, same trick as ib-grid. */
.insurer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}

.ins-cell {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 18px 20px;
  background: var(--ink-2);
  position: relative;
  transition:
    background 240ms cubic-bezier(0.2,0.7,0.2,1),
    transform 240ms cubic-bezier(0.2,0.7,0.2,1);
}
.ins-cell::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--red);
  transition: height 320ms cubic-bezier(0.2,0.7,0.2,1);
}
.ins-cell:hover { background: var(--ink-1); }
.ins-cell:hover::after { height: 100%; }

.ins-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
}
.ins-logo img {
  max-width: 88%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Soft de-saturation by default; full color on hover. Keeps the
     grid visually unified despite 10 different brand palettes. */
  filter: grayscale(0.55) contrast(0.95);
  opacity: 0.92;
  transition: filter 280ms ease, opacity 280ms ease;
}
.ins-cell:hover .ins-logo img {
  filter: grayscale(0) contrast(1);
  opacity: 1;
}

/* PICZ ships a white-only SVG — invert so it renders as black on the
   light card, then apply the same grayscale treatment as siblings. */
.ins-cell--invert .ins-logo img {
  filter: invert(1) grayscale(0.55) contrast(0.95);
}
.ins-cell--invert:hover .ins-logo img {
  filter: invert(1) grayscale(0) contrast(1);
}

.ins-name {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-faint);
  text-align: center;
  margin: 0;
  padding-top: 6px;
  border-top: 1px solid transparent;
  transition: color 240ms ease, border-color 240ms ease;
}
.ins-cell:hover .ins-name {
  color: var(--txt-mute);
}

.insurer-banner .ib-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-faint);
}
.insurer-banner .ib-foot-sep {
  flex: 1;
  height: 1px;
  background: var(--hair);
}
.insurer-banner .ib-foot-red,
.insurer-banner .ib-foot-red a {
  color: var(--red);
  text-decoration: none;
}
.insurer-banner .ib-foot-red a:hover { text-decoration: underline; }

/* Responsive collapse: 5→3→2 columns */
@media (max-width: 1100px) {
  .insurer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .interlude.insurer-banner { padding: 36px 24px 32px; }
  .insurer-banner .ib-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .insurer-banner .ib-title { text-align: left; }
  .insurer-grid { grid-template-columns: repeat(2, 1fr); }
  .ins-logo { height: 52px; }
}

/* =============================================================
   ANCHOR LANDING — keep #cap-* / #ws-recovery / #ch-03b clear
   of the fixed chrome (topbar + topnav + alliance strip).
   ============================================================= */
.cap-card[id],
#ws-recovery,
#ch-03b {
  scroll-margin-top: calc(var(--bar-h) + var(--topnav-h) + var(--alliance-h) + 16px);
}

/* =============================================================
   TOPNAV — six-pillar tab strip, between topbar and alliance
   ============================================================= */
.topnav {
  position: fixed;
  top: var(--bar-h);
  left: var(--rail-w);
  right: 0;
  height: var(--topnav-h);
  background: var(--ink-0);
  border-bottom: 1px solid var(--hair);
  z-index: 26;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.topnav::-webkit-scrollbar { display: none; }

.topnav-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  text-decoration: none;
  border-right: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-mute);
  position: relative;
  transition: color 220ms ease, background 220ms ease;
}
.topnav-tab:last-child { border-right: 0; }
.topnav-tab::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.topnav-tab:hover {
  color: var(--txt);
  background: var(--ink-1);
}
.topnav-tab:hover::after { transform: scaleX(1); }
.topnav-tab.is-active {
  color: var(--red);
  background: var(--ink-1);
}
.topnav-tab.is-active::after { transform: scaleX(1); }

.topnav-tab .tn-num {
  color: var(--red);
  font-size: 9.5px;
  opacity: 0.7;
}
.topnav-tab .tn-name {
  color: inherit;
  font-weight: 500;
}

@media (max-width: 900px) {
  .topnav {
    grid-template-columns: repeat(6, minmax(110px, 1fr));
    overflow-x: auto;
  }
  .topnav-tab { padding: 0 10px; gap: 6px; font-size: 10px; }
  .topnav-tab .tn-num { display: none; }
}

/* =============================================================
   CAP-CARD — "See more" jump-link added to each pillar
   ============================================================= */
.cap-card .cc-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  transition: color 200ms ease, gap 200ms ease;
}
.cap-card .cc-more:hover {
  color: var(--txt);
  gap: 10px;
}
.cap-card .cc-more .btn-arrow::after {
  content: '→';
  margin-left: 4px;
  display: inline-block;
}

/* =============================================================
   INSURER WORDMARK — text fallback for A-Plus / Veritas
   Renders in the same cell footprint as <img> logos so the
   editorial 5-column grid stays balanced.
   ============================================================= */
.ins-logo.ins-logo-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
}
.ins-wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--txt);
  opacity: 0.78;
  line-height: 1;
  white-space: nowrap;
  transition: color 240ms ease, opacity 240ms ease;
}
.ins-wordmark .ins-mark-sep {
  color: var(--red);
  margin: 0 2px;
  font-weight: 700;
}
.ins-cell:hover .ins-wordmark {
  color: var(--red);
  opacity: 1;
}

/* =============================================================
   COLOPHON — expanded with Contact Us + social handles
   ============================================================= */
.colophon {
  /* Override the inherited flex-row layout so the contact block
     can stack above the legal strip. */
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 56px 56px 28px;
  gap: 0;
}

.co-contact {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 24px;
}

.co-contact-head .co-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.co-contact-head .co-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--txt);
  margin: 0;
}

.co-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--hair);
  padding-top: 24px;
}
.co-block .co-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.co-block .co-v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--txt);
  line-height: 1.25;
  word-break: break-word;
}
.co-block .co-v a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
.co-block .co-v a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}
.co-block .co-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt-faint);
  margin-top: 6px;
}

.co-social .co-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.co-social-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.co-handle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--ink-2);
  border: 1px solid var(--hair);
  text-decoration: none;
  color: var(--txt-mute);
  position: relative;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.co-handle::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px;
  height: 0;
  background: var(--red);
  transition: height 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.co-handle:hover {
  background: var(--ink-1);
  color: var(--txt);
  border-color: var(--hair-strong);
}
.co-handle:hover::after { height: 100%; }
.co-handle-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink-3);
  border: 1px solid var(--hair-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--red);
  flex-shrink: 0;
}
.co-handle-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--txt);
  flex-shrink: 0;
}
.co-handle-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--txt-faint);
  margin-left: auto;
  text-align: right;
  word-break: break-all;
}

.co-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
}
.co-legal .co-cell {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-faint);
}
.co-legal .co-cell b { color: var(--txt); font-weight: 500; }

@media (max-width: 1000px) {
  .colophon { padding: 36px 24px 24px; }
  .co-contact-grid { grid-template-columns: repeat(2, 1fr); }
  .co-social-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .co-contact-grid { grid-template-columns: 1fr; }
  .co-social-row { grid-template-columns: 1fr; }
  .co-handle-tag { margin-left: 0; text-align: left; }
}

/* =============================================================
   INTERLUDE · 04b · THE BENCH (8-role team grid)
   Reuses the .ib-head / .ib-lede / .ib-foot editorial pattern
   shared with the product / insurance interludes; the role grid
   itself is bespoke (4×2 cards on desktop, 2×4 on tablet, 1×8 on
   mobile). Each card is intentionally simple — number, title,
   one-line description — so the section reads as people, not
   product spec sheets.
   ============================================================= */
.interlude.bench-banner {
  background: var(--ink-0);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 56px 56px 48px;
}

.bench-banner .ib-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--hair);
  position: relative;
}
.bench-banner .ib-head::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 120px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: ibRule 1100ms cubic-bezier(0.2, 0.7, 0.2, 1) 200ms forwards;
}
.bench-banner .ib-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  flex-shrink: 0;
}
.bench-banner .ib-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--txt);
  margin: 0;
  flex: 1;
  text-align: center;
}
.bench-banner .ib-title .ib-slash { color: var(--red); }
.bench-banner .ib-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--txt-faint);
  flex-shrink: 0;
}
.bench-banner .ib-lede {
  max-width: 78ch;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--txt-mute);
}
.bench-banner .ib-lede em {
  color: var(--txt);
  font-style: normal;
}

.bench-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.32;
  color: var(--txt);
  max-width: 78ch;
  margin: 0 0 32px;
  padding: 6px 0 6px 18px;
  border-left: 3px solid var(--red);
}

.bench-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}

.role-card {
  position: relative;
  background: var(--ink-1);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
  transition: background 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.role-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--red);
  transition: height 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.role-card:hover { background: var(--ink-2); }
.role-card:hover::after { height: 100%; }

.role-card .rc-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
}
.role-card .rc-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--txt);
  margin: 4px 0 4px;
}
.role-card .rc-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--txt-mute);
  margin: 0;
}

.bench-banner .ib-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--txt-faint);
}
.bench-banner .ib-foot-sep {
  flex: 1;
  height: 1px;
  background: var(--hair);
}
.bench-banner .ib-foot-red,
.bench-banner .ib-foot-red a {
  color: var(--red);
  text-decoration: none;
}
.bench-banner .ib-foot-red a:hover { text-decoration: underline; }

/* Responsive collapse: 4 → 2 → 1 columns */
@media (max-width: 1100px) {
  .bench-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .interlude.bench-banner { padding: 36px 24px 32px; }
  .bench-banner .ib-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .bench-banner .ib-title { text-align: left; }
}
@media (max-width: 560px) {
  .bench-grid { grid-template-columns: 1fr; }
  .role-card { min-height: 0; }
}
