/* ==========================================================================
   FCI Trends Analysis — Official Brand Rebrand & Scrollytelling Design System
   STRICT PALETTE: Official FCI Red (#A12329), Greys, Black, White ONLY.
   ZERO BLUE ANYWHERE.
   ========================================================================== */

:root {
  /* Official FCI Crimson Scale */
  --fci-red: #A12329;
  --fci-red-deep: #7B171C;
  --fci-red-bright: #C9353C;
  --fci-red-mid: #C45C61;
  --fci-red-tint: #E8BCBE;
  --fci-red-soft: #F9ECED;
  --fci-red-glow: rgba(161, 35, 41, 0.28);

  /* Strict Achromatic Neutrals (R == G == B: ZERO blue bias) */
  --black: #0D0D0D;
  --charcoal: #161616;
  --charcoal-elev: #1F1F1F;
  --charcoal-line: rgba(255, 255, 255, 0.12);

  --ink-primary: #141414;
  --ink-secondary: #484848;
  --ink-muted: #707070;
  --ink-on-dark: #F7F7F7;
  --ink-on-dark-soft: #BDBDBD;
  --ink-on-dark-muted: #8C8C8C;

  --bg-canvas: #FAFAFA;
  --bg-band-alt: #F2F2F2;
  --bg-surface: #FFFFFF;
  --bg-subtle: #EDEDED;

  --border-light: #E2E2E2;
  --border-strong: #C9C9C9;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 18px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.28);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-width: 1180px;
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
  scrollbar-color: #6E6E6E #EFEFEF;
}

body {
  margin: 0;
  background-color: var(--bg-canvas);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
}

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

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #EFEFEF;
}

::-webkit-scrollbar-thumb {
  background: #8A8A8A;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--fci-red);
}

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

a {
  color: var(--fci-red);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--fci-red-deep);
}

:focus-visible {
  outline: 2px solid var(--fci-red);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 3.2vw, 40px);
}

/* ==========================================================================
   Top Scroll Progress Bar & Sticky Header
   ========================================================================== */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--fci-red-deep), var(--fci-red), var(--fci-red-bright));
  z-index: 300;
  transition: width 0.08s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 6px 11px;
  border-radius: 999px;
  transition: background-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--ink-primary);
  background: var(--bg-subtle);
}

.nav-link.active {
  color: var(--fci-red);
  background: var(--fci-red-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.filter-trigger-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.filter-trigger-btn:hover,
.filter-trigger-btn[aria-expanded="true"] {
  border-color: var(--fci-red);
  color: var(--fci-red);
  background: var(--fci-red-soft);
}

.filter-trigger-btn.has-filters {
  background: var(--fci-red);
  border-color: var(--fci-red);
  color: #FFFFFF;
}

.filter-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
}

.filter-trigger-btn.has-filters .filter-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--black);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.18s ease, transform 0.15s ease;
}

.header-cta:hover {
  background: var(--fci-red);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ==========================================================================
   Collapsible Interactive Filter Drawer
   ========================================================================== */

.filter-drawer {
  position: sticky;
  top: var(--header-h);
  z-index: 190;
  background: rgba(250, 250, 250, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  padding: 14px 0;
}

.filter-drawer[hidden] {
  display: none;
}

.filter-drawer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.segmented {
  display: inline-flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  max-width: 100%;
}

.seg-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.seg-btn:hover {
  color: var(--ink-primary);
}

.seg-btn.active {
  background: var(--black);
  color: #FFFFFF;
}

.filter-select {
  appearance: none;
  background: var(--bg-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23484848' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 7px 30px 7px 13px;
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--ink-primary);
  cursor: pointer;
  max-width: 210px;
  text-overflow: ellipsis;
}

.filter-select:hover {
  border-color: var(--fci-red);
}

.toggle-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.toggle-chip:hover {
  border-color: var(--fci-red);
  color: var(--ink-primary);
}

.toggle-chip[aria-pressed="true"] {
  background: var(--fci-red-soft);
  border-color: var(--fci-red);
  color: var(--fci-red-deep);
}

.filter-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-count-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--fci-red-deep);
  background: var(--fci-red-soft);
  border: 1px solid var(--fci-red-tint);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.filter-reset-btn {
  appearance: none;
  border: 1px solid var(--black);
  background: var(--black);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.filter-reset-btn:hover {
  background: var(--fci-red);
  border-color: var(--fci-red);
}

.filter-reset-btn[hidden] {
  display: none;
}

/* Floating Active Filter Toast (visible when drawer is closed but filters are active) */
.active-filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 185;
  background: var(--fci-red);
  color: #FFFFFF;
  padding: 8px 0;
  font-size: 0.82rem;
}

.active-filter-bar[hidden] {
  display: none;
}

.active-filter-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
}

.active-filter-clear {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.active-filter-clear:hover {
  background: #FFFFFF;
  color: var(--fci-red-deep);
}

/* ==========================================================================
   Mobile Chapter Breadcrumb Bar & Desktop Drafting-Scale Progress Spine
   ========================================================================== */

.mobile-chapter-bar {
  display: none;
  position: sticky;
  top: var(--header-h);
  z-index: 175;
  background: rgba(250, 250, 250, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  padding: 5px 0;
}

.mobile-chapter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.mobile-chapter-current {
  color: var(--fci-red);
}

.chapter-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 160;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 16px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

/* Continuous vertical drafting spine line + live crimson ink fill */
.chapter-rail::before {
  content: '';
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: #E2E2E2;
  z-index: 0;
}

.rail-ink-fill {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 2px;
  height: 0%;
  max-height: calc(100% - 44px);
  transform: translateX(-50%);
  background: var(--fci-red);
  z-index: 1;
  transition: height 0.14s linear;
  pointer-events: none;
}

.rail-dot {
  position: relative;
  z-index: 2;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #B5B5B5;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, border-color 0.2s ease;
}

.rail-dot:hover {
  border-color: var(--black);
  transform: scale(1.28);
}

.rail-dot.passed {
  border-color: var(--fci-red);
  background: var(--fci-red-soft);
}

.rail-dot.active {
  background: var(--fci-red);
  border-color: var(--fci-red);
  transform: scale(1.36);
  box-shadow: 0 0 0 4px var(--fci-red-soft);
}

.rail-dot::before {
  content: attr(data-label);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) translateX(5px);
  background: var(--black);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  border-right: 3px solid var(--fci-red);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.rail-dot:hover::before,
.rail-dot:focus-visible::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Cinematic Hero (Obsidian Black + Crimson Brush "f" + US Constellation)
   ========================================================================== */

.hero {
  position: relative;
  background: radial-gradient(960px 560px at 78% 36%, rgba(161, 35, 41, 0.20), transparent 66%),
              linear-gradient(180deg, #090909 0%, #111111 65%, #171717 100%);
  color: var(--ink-on-dark);
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 86px);
  overflow: hidden;
  border-bottom: 3px solid var(--fci-red);
}

/* Fine architectural hairline grid (strictly grey/white) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 1;
}

/* Lightweight animated US constellation canvas behind hero */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.72fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F0B6B9;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(161, 35, 41, 0.22);
  border: 1px solid rgba(201, 53, 60, 0.45);
  margin-bottom: 20px;
  max-width: 100%;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--fci-red-bright);
  box-shadow: 0 0 0 3px rgba(201, 53, 60, 0.3);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.4vw, 4.35rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin: 0 0 18px;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.62;
  color: var(--ink-on-dark-soft);
  margin: 0 0 24px;
  max-width: 58ch;
}

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

.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--fci-red);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 24px rgba(161, 35, 41, 0.38);
  transition: background-color 0.18s ease, transform 0.16s ease, box-shadow 0.18s ease;
}

.btn-red:hover {
  background: var(--fci-red-bright);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 53, 60, 0.48);
}

.btn-dark-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.16s ease;
}

.btn-dark-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* Animated Official Brush-Stroke "f" Focal Stage */
.hero-emblem-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.emblem-ring {
  position: relative;
  width: clamp(180px, 22vw, 250px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(161, 35, 41, 0.24) 0%, rgba(161, 35, 41, 0.05) 58%, transparent 74%);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.emblem-ring::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 53, 60, 0.42);
  animation: slowSpin 42s linear infinite;
}

.hero-fmark {
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(161, 35, 41, 0.45));
  clip-path: inset(0 0 0% 0);
  animation: brushPaintIn 1.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes brushPaintIn {
  0% {
    clip-path: inset(0 0 100% 0);
    transform: translateY(-10px) scale(0.95);
    opacity: 0.2;
  }
  100% {
    clip-path: inset(0 0 0% 0);
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-emblem-caption {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-on-dark-muted);
  text-align: center;
}

/* Hero KPI Strip */
.kpi-strip {
  margin-top: clamp(32px, 4.5vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--charcoal-line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  position: relative;
  min-width: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
}

.kpi-card.accent::before {
  background: linear-gradient(90deg, var(--fci-red-bright), transparent);
}

.kpi-card:hover {
  border-color: rgba(201, 53, 60, 0.55);
  background: rgba(255, 255, 255, 0.065);
  transform: translateY(-2px);
}

.kpi-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-on-dark-soft);
  margin: 0 0 8px;
}

.kpi-value {
  font-family: var(--font-mono);
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  font-weight: 700;
  line-height: 1.08;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  font-variant-numeric: tabular-nums;
}

.kpi-denom {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-on-dark-muted);
  margin: 0;
}

.kpi-denom .mono {
  color: #E2E2E2;
}

/* ==========================================================================
   Guided Story Chapters — Ghost Watermarks, Animated Hairlines & Transitions
   ========================================================================== */

.chapter-section {
  padding: clamp(56px, 7.2vw, 98px) 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: clip;
}

.chapter-section.band-alt {
  background: var(--bg-band-alt);
}

.chapter-section.band-white {
  background: var(--bg-surface);
}

/* Architectural ghost numeral behind chapter stat */
.chapter-ghost-num {
  position: absolute;
  top: clamp(14px, 3vw, 34px);
  right: clamp(16px, 4vw, 64px);
  font-family: var(--font-display);
  font-size: clamp(5.2rem, 12vw, 10.5rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #000000;
  opacity: 0.036;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.chapter-section > .container {
  position: relative;
  z-index: 1;
}

/* Subtle architectural transition divider between chapters */
.chapter-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(32px, 4vw, 48px);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A8A8A;
}

.chapter-bridge::before,
.chapter-bridge::after {
  content: '';
  flex: 1 1 60px;
  max-width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #CCCCCC, transparent);
}

.chapter-bridge-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-muted);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.chapter-bridge-link:hover {
  border-color: var(--fci-red);
  color: var(--fci-red);
  transform: translateY(1px);
}

.chapter-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(20px, 3.5vw, 48px);
  align-items: end;
  margin-bottom: clamp(26px, 3.5vw, 40px);
}

/* Animated vertical crimson ink rule on chapter big stat */
.big-stat-callout {
  position: relative;
  padding: 4px 0 4px 22px;
  min-width: 0;
}

.big-stat-callout::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  border-radius: 2px;
  background: var(--fci-red);
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal-ready .reveal:not(.is-visible) .big-stat-callout::before {
  transform: scaleY(0);
}

.big-stat-mask {
  overflow: hidden;
  padding-bottom: 2px;
}

.big-stat-number {
  font-family: var(--font-mono);
  font-size: clamp(2.25rem, 4.4vw, 3.45rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--black);
  margin: 0 0 8px;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}

.js-reveal-ready .reveal:not(.is-visible) .big-stat-number {
  transform: translateY(28px);
  opacity: 0;
}

.chapter-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fci-red);
  margin: 0 0 10px;
}

.big-stat-caption {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-muted);
  margin: 0;
}

/* Time-Lens Map Wave Selector */
.wave-lens-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
}

.wave-lens-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.wave-lens-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wave-pill {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  font-size: 0.77rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.wave-pill:hover {
  border-color: var(--fci-red);
  color: var(--fci-red);
}

.wave-pill.active {
  background: var(--fci-red);
  border-color: var(--fci-red);
  color: #FFFFFF;
}

/* Interactive Budget Tier Comparator Strip */
.tier-comparator {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
}

.tier-comparator-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.tier-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tier-pill {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--ink-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tier-pill:hover {
  border-color: var(--fci-red);
  color: var(--fci-red);
}

.tier-pill.active {
  background: var(--black);
  border-color: var(--black);
  color: #FFFFFF;
}

.tier-readout {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin: 0;
}

.tier-readout strong {
  color: var(--black);
}

/* Slim Data Note Interlude */
.interlude-band {
  padding: clamp(32px, 4.2vw, 52px) 0;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--border-light);
}

.chapter-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.1vw, 2.45rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 0 0 12px;
}

.chapter-narrative {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin: 0;
  max-width: 66ch;
}

/* Primary Stage Card */
.stage-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 2.8vw, 32px);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  color: var(--black);
  margin: 0 0 4px;
  line-height: 1.25;
}

.card-subtitle {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
}

.card-footnote {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* Dark Highlight Ribbon (Red + Black + White) */
.insight-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  background: var(--black);
  color: var(--ink-on-dark);
  border-left: 4px solid var(--fci-red);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 22px;
}

.insight-ribbon-text {
  flex: 1 1 320px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-on-dark-soft);
  margin: 0;
}

.insight-ribbon-text strong {
  color: #FFFFFF;
}

.ribbon-stats {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.ribbon-stat {
  display: flex;
  flex-direction: column;
}

.ribbon-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fci-red-bright);
  line-height: 1.1;
}

.ribbon-lbl {
  font-size: 0.72rem;
  color: var(--ink-on-dark-muted);
  margin-top: 3px;
}

/* Progressive Disclosure ("Explore More") Accordions */
.explore-more {
  margin-top: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.explore-more[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.explore-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-primary);
  user-select: none;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.explore-summary::-webkit-details-marker {
  display: none;
}

.explore-summary:hover {
  background: var(--fci-red-soft);
  color: var(--fci-red-deep);
}

.explore-summary-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.explore-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fci-red);
  background: var(--fci-red-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

.explore-chev {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--fci-red);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.explore-more[open] .explore-chev {
  transform: rotate(45deg);
}

.explore-body {
  padding: 4px clamp(16px, 2.5vw, 24px) clamp(18px, 2.5vw, 24px);
  border-top: 1px solid var(--border-light);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.sub-panel {
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  min-width: 0;
}

.sub-panel-title {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--black);
  margin: 0 0 4px;
}

.sub-panel-sub {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: 0 0 14px;
}

/* Chart Containers */
.chart-box {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 340px;
}

.chart-box.tall {
  height: 360px;
}

.chart-box.short {
  height: 270px;
}

.chart-box.donut {
  height: 250px;
}

/* ==========================================================================
   US Choropleth Map (Crimson Ramp + Touch-Friendly Inspector)
   ========================================================================== */

.map-container {
  position: relative;
  width: 100%;
  min-width: 0;
}

.us-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.state-path {
  stroke: #FFFFFF;
  stroke-width: 1px;
  stroke-linejoin: round;
  cursor: pointer;
  transition: opacity 0.16s ease, stroke-width 0.16s ease, filter 0.16s ease;
}

.state-path:hover {
  stroke: var(--black);
  stroke-width: 1.8px;
  filter: brightness(0.92);
}

.state-path.selected {
  stroke: var(--black);
  stroke-width: 2.6px;
}

.state-path.zero {
  cursor: default;
}

.state-path.zero:hover {
  stroke: #C8C8C8;
  stroke-width: 1.1px;
  filter: none;
}

.map-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.legend-scale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.legend-swatches {
  display: inline-flex;
  gap: 3px;
}

.legend-swatch {
  width: 22px;
  height: 10px;
  border-radius: 2px;
}

.dc-pill-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-canvas);
  color: var(--ink-primary);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dc-pill-btn:hover,
.dc-pill-btn.selected {
  border-color: var(--fci-red);
  background: var(--fci-red-soft);
  color: var(--fci-red-deep);
}

/* Touch-friendly State Inspector (always works great on mobile & desktop!) */
.map-inspector {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  font-size: 0.84rem;
}

.map-inspector-text {
  color: var(--ink-secondary);
  min-width: 0;
}

.map-inspector-text strong {
  color: var(--black);
}

.map-inspector-btn {
  appearance: none;
  border: 1px solid var(--fci-red);
  background: var(--fci-red);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.77rem;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.map-inspector-btn:hover {
  background: var(--fci-red-deep);
}

.map-inspector-btn[hidden] {
  display: none;
}

.map-tooltip {
  position: fixed;
  z-index: 320;
  pointer-events: none;
  background: var(--black);
  color: #FFFFFF;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 250px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.map-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.map-tooltip-title {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 3px;
}

.map-tooltip-meta {
  color: var(--ink-on-dark-soft);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.map-tooltip-hint {
  margin-top: 5px;
  font-size: 0.71rem;
  color: #F0A3A7;
}

/* ==========================================================================
   Horizontal Meter Lists, Chips, Coverage Bar & Stat Tiles
   ========================================================================== */

.mini-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
}

.bar-row-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.bar-row-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-secondary);
  white-space: nowrap;
}

.bar-track {
  grid-column: 1 / -1;
  height: 7px;
  border-radius: 999px;
  background: var(--bg-subtle);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--fci-red);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.bar-fill.dark {
  background: var(--black);
}

.bar-fill.grey {
  background: #6B6B6B;
}

.intl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.intl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.intl-chip span {
  font-family: var(--font-mono);
  color: var(--fci-red);
}

/* Budget Coverage Strip */
.coverage-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 18px;
}

.coverage-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 10px;
}

.coverage-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

.coverage-summary {
  font-family: var(--font-mono);
  font-size: 0.79rem;
  color: var(--fci-red);
  font-weight: 600;
}

.stacked-bar {
  display: flex;
  height: 15px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-subtle);
  gap: 2px;
}

.stacked-seg {
  height: 100%;
  transition: width 0.5s ease;
}

.seg-point { background: var(--fci-red); }
.seg-range { background: var(--black); }
.seg-nonusd { background: #737373; }
.seg-missing { background: #D9D9D9; }

.coverage-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 11px;
  font-size: 0.79rem;
  color: var(--ink-secondary);
}

.cov-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cov-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.stat-tile {
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  min-width: 0;
}

.stat-tile-label {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 6px;
}

.stat-tile-val {
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  margin: 0 0 6px;
}

.stat-tile-sub {
  font-size: 0.77rem;
  line-height: 1.45;
  color: var(--ink-secondary);
  margin: 0;
}

.callout-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.callout-box {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
}

.callout-box.crimson {
  background: var(--fci-red-soft);
  border-color: var(--fci-red-tint);
}

.callout-num {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
}

.callout-box.crimson .callout-num {
  color: var(--fci-red-deep);
}

.callout-desc {
  font-size: 0.81rem;
  line-height: 1.48;
  color: var(--ink-secondary);
  margin-top: 6px;
}

/* ==========================================================================
   Responsive Benchmarks Table (Stacks Cleanly on Mobile — Zero Overflow!)
   ========================================================================== */

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.data-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  padding: 9px 10px;
  border-bottom: 2px solid var(--border-light);
}

.data-table td {
  padding: 10px 10px;
  border-bottom: 1px solid var(--border-light);
  color: var(--ink-primary);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table .num {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 600;
  white-space: nowrap;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--ink-secondary);
}

.badge.cultural {
  background: var(--fci-red-soft);
  color: var(--fci-red-deep);
}

.badge.expanded {
  background: #E8E8E8;
  color: #262626;
}

/* ==========================================================================
   Data Note & Methodology
   ========================================================================== */

.data-note-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--fci-red);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 32px);
}

.data-note-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--black);
  margin: 0 0 12px;
}

.data-note-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 16px;
  margin: 0 0 16px;
  border-radius: var(--radius-sm);
  background: var(--fci-red-soft);
  border: 1px solid var(--fci-red-tint);
  color: var(--fci-red-deep);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

.data-note-copy {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin: 0 0 16px;
}

.methodology-body {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.methodology-body h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--black);
  margin: 0 0 8px;
}

.methodology-body ul {
  margin: 0;
  padding-left: 18px;
}

.methodology-body li {
  margin-bottom: 6px;
}

.exclusion-box {
  grid-column: 1 / -1;
  background: var(--bg-canvas);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

/* ==========================================================================
   Climax Closing CTA (Obsidian Black + Crimson Brush "f" + Official Contacts)
   ========================================================================== */

.cta-band {
  position: relative;
  background: radial-gradient(880px 520px at 88% 24%, rgba(161, 35, 41, 0.28), transparent 65%),
              radial-gradient(640px 420px at 8% 92%, rgba(161, 35, 41, 0.14), transparent 62%),
              linear-gradient(165deg, #080808 0%, #121212 58%, #1A1A1A 100%);
  color: var(--ink-on-dark);
  padding: clamp(68px, 9vw, 112px) 0 clamp(64px, 8vw, 98px);
  overflow: hidden;
  border-top: 3px solid var(--fci-red);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  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: 52px 52px;
  pointer-events: none;
}

/* Subtle crimson acoustic contours SVG */
.cta-artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
  z-index: 1;
}

.cta-wave-1 {
  animation: ctaDriftA 14s ease-in-out infinite alternate;
}

.cta-wave-2 {
  animation: ctaDriftB 18s ease-in-out infinite alternate;
}

@keyframes ctaDriftA {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

@keyframes ctaDriftB {
  from { transform: translateY(0); }
  to { transform: translateY(10px); }
}

/* Watermark Official Brush "f" in CTA */
.cta-fmark-watermark {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: clamp(240px, 32vw, 400px);
  height: auto;
  opacity: 0.11;
  pointer-events: none;
  z-index: 1;
}

.cta-inner {
  position: relative;
  z-index: 2;
}

.cta-signal-ribbon {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(201, 53, 60, 0.45);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #E8E8E8;
  margin-bottom: 24px;
  max-width: 100%;
}

.cta-signal-ribbon strong {
  color: #F28D92;
}

.cta-signal-sep {
  color: rgba(255, 255, 255, 0.24);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.1vw, 3.25rem);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin: 0 0 16px;
}

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

.cta-copy {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-on-dark-soft);
  margin: 0 0 24px;
  max-width: 56ch;
}

/* Interactive Partner Role Switcher */
.partner-selector {
  margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--charcoal-line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.partner-selector-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F28D92;
  margin: 0 0 11px;
}

.partner-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 13px;
}

.partner-tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #DADADA;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.partner-tab:hover {
  border-color: var(--fci-red-bright);
  color: #FFFFFF;
}

.partner-tab.active {
  background: var(--fci-red);
  border-color: var(--fci-red);
  color: #FFFFFF;
}

.partner-pitch {
  font-size: 0.91rem;
  line-height: 1.6;
  color: #ECECEC;
  margin: 0;
  min-height: 3.1em;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-cards-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

/* Subtle pointer-tracking crimson drafting spotlight on desktop */
.cta-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(520px circle at var(--spot-x, 82%) var(--spot-y, 28%), rgba(161, 35, 41, 0.24), transparent 62%);
  transition: opacity 0.3s ease;
}

.contact-pill-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.16s ease;
}

.contact-pill-wrap:hover {
  border-color: var(--fci-red-bright);
  background: rgba(161, 35, 41, 0.16);
  transform: translateY(-2px);
}

.contact-pill-card {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 10px 13px 14px;
  color: #FFFFFF;
  min-width: 0;
}

.contact-pill-card:hover {
  color: #FFFFFF;
}

.copy-mini-btn {
  appearance: none;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #BDBDBD;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 11px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.copy-mini-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.copy-mini-btn.copied {
  background: var(--fci-red);
  color: #FFFFFF;
}

.contact-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(161, 35, 41, 0.25);
  border: 1px solid rgba(201, 53, 60, 0.5);
  color: #F4A6AA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-pill-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-pill-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-on-dark-muted);
}

.contact-pill-val {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  color: #FFFFFF;
  overflow-wrap: anywhere;
}

.cta-address-line {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-on-dark-muted);
}

/* Official FCI Track Record & Services Column */
.fci-credentials-box {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--charcoal-line);
  border-top: 3px solid var(--fci-red);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 14px;
}

.fci-cred-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.fci-cred-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
}

.fci-cred-lbl {
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--ink-on-dark-soft);
  margin-top: 3px;
}

.service-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--charcoal-line);
  border-left: 3px solid #666666;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: border-left-color 0.18s ease, background-color 0.18s ease;
}

.service-card:hover {
  border-left-color: var(--fci-red-bright);
  background: rgba(255, 255, 255, 0.07);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 5px;
}

.service-card p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--ink-on-dark-soft);
  margin: 0;
}

/* Footer */
.site-footer {
  background: #070707;
  color: var(--ink-on-dark-muted);
  padding: 30px 0;
  font-size: 0.81rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-links a {
  color: var(--ink-on-dark-soft);
}

.footer-links a:hover {
  color: var(--fci-red-bright);
}

/* ==========================================================================
   Smooth Progressive Reveals & Empty States
   ========================================================================== */

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

.js-reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.empty-state {
  padding: 24px 18px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.88rem;
  background: var(--bg-canvas);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-strong);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js-reveal-ready .reveal:not(.is-visible) { opacity: 1; transform: none; transition: none; }
  .hero-fmark, .emblem-ring::before, .cta-wave-1, .cta-wave-2 { animation: none !important; clip-path: none !important; }
  .bar-fill, .stacked-seg, .kpi-card { transition: none; }
}

/* ==========================================================================
   Responsive Breakpoints (Verified Zero Overflow at 375, 390, 768, 1024, 1440)
   ========================================================================== */

@media (max-width: 1280px) {
  .chapter-rail {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .mobile-chapter-bar {
    display: block;
  }

  .filter-drawer,
  .active-filter-bar {
    top: calc(var(--header-h) + 27px);
  }

  .hero-layout,
  .chapter-lead-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero-emblem-stage {
    order: -1;
    padding: 0 0 8px;
    align-items: flex-start;
  }

  .emblem-ring {
    width: 112px;
  }

  .hero-emblem-caption {
    display: none;
  }

  .kpi-strip,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 58px;
  }

  .brand-logo-img {
    height: 27px;
  }

  .filter-trigger-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .header-cta {
    padding: 6px 11px;
    font-size: 0.75rem;
  }

  .grid-2,
  .grid-3,
  .methodology-body,
  .callout-pair,
  .contact-cards-row {
    grid-template-columns: 1fr;
  }

  .kpi-strip,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .kpi-card {
    padding: 14px 14px;
  }

  .kpi-value {
    font-size: 1.45rem;
  }

  .chart-box {
    height: 280px;
  }

  .chart-box.tall {
    height: 330px;
  }

  .chart-box.short {
    height: 240px;
  }

  .filter-controls {
    width: 100%;
  }

  .segmented {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .seg-btn {
    padding: 6px 6px;
    font-size: 0.73rem;
    text-align: center;
  }

  .filter-select {
    flex: 1 1 140px;
    max-width: 100%;
  }

  .cta-signal-ribbon {
    border-radius: var(--radius-md);
    gap: 6px 12px;
  }

  .cta-signal-sep {
    display: none;
  }

  /* Responsive stacked table cards on small screens: ZERO horizontal scroll! */
  .data-table thead {
    display: none;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .data-table td {
    padding: 3px 0;
    border: 0;
    text-align: left !important;
    white-space: normal !important;
  }

  .data-table td[data-col]::before {
    content: attr(data-col) ": ";
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 600;
  }
}

@media (max-width: 400px) {
  .brand-logo-img {
    height: 23px;
  }

  .header-cta .cta-arrow {
    display: none;
  }

  .fci-cred-grid {
    grid-template-columns: 1fr;
  }
}
