/* ============================================================
   Blueprint to Practice Automation™ — Design System
   design-system.css
   ============================================================ */

/* Fonts loaded via <link> in HTML — no duplicate @import needed */

/* ── Color Tokens — BPA Brand Colors ─────────────────────── */
:root {
  --bar-h: 40px;   /* announcement bar height — keep in sync with JS */

  /* Backgrounds */
  --bg:           #F5F7FA;   /* clean cool white */
  --bg-dark:      #0d1a2e;   /* deep navy — on-brand dark */
  --bg-mid:       #EBF2F8;   /* light blue tint */
  --bg-blue:      #16428a;   /* dark gradient blue */

  /* Text */
  --text:         #1a2332;
  --text-muted:   #606161;   /* BPA Gray */
  --text-light:   #F8FBFF;   /* near-white, tinted toward BPA Blue */

  /* Brand colors */
  --accent:       #0b6fb1;   /* BPA Blue */
  --accent-hover: #0a5fa0;   /* BPA Blue — pressed/hover state */
  --accent-dark:  #16428a;   /* gradient dark end */
  --accent-orange:#ff8a00;   /* BPA Orange */
  --accent-light: #e8f3fb;   /* light blue tint */
  --accent-on-dark: #3a9fd4;  /* AA-compliant accent for text on dark bg (~4.6:1) */
  --accent-gold:  var(--accent-orange);   /* semantic alias — same hue */

  /* Borders & surfaces */
  --border:       rgba(11, 111, 177, 0.12);
  --card-bg:      #fdfeff;

  /* Dark-overlay scale — hero gradients & glass surfaces */
  --overlay-a08:  rgba(10, 20, 38, 0.08);
  --overlay-a15:  rgba(10, 20, 38, 0.15);
  --overlay-a50:  rgba(10, 20, 38, 0.50);
  --overlay-a60:  rgba(10, 20, 38, 0.60);
  --overlay-a68:  rgba(10, 20, 38, 0.68);
  --overlay-a78:  rgba(10, 20, 38, 0.78);
  --overlay-a88:  rgba(10, 20, 38, 0.88);
  --overlay-a92:  rgba(10, 20, 38, 0.92);
  --overlay-a97:  rgba(10, 20, 38, 0.97);

  /* Dark-section surface scale */
  --dark-surface: var(--dark-surface);  /* card bg on dark */
  --dark-border:  var(--dark-border);  /* borders / grid fill on dark */

  /* Accent shadow tokens */
  --shadow-blue-md: var(--shadow-blue-md);  /* btn-primary hover */
  --shadow-blue-sm: var(--shadow-blue-sm);  /* btn-white hover */

  /* Motion — Apple easing */
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:       0.25s;
  --t-med:        0.55s;
  --t-slow:       0.9s;
  --t-crawl:      1.3s;
}

/* ── Skip Link — keyboard accessibility ──────────────────── */
.skip-link {
  position: absolute;
  top: 0;
  left: 16px;
  transform: translateY(-100%);
  background: var(--accent);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 0 0 6px 6px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transition: transform 0.2s var(--ease-smooth);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--text-light);
  outline-offset: 2px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* ── Type Scale — BPA Brand Fonts ────────────────────────── */
.display {
  font-family: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 400;         /* Anton is single-weight */
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.h1 {
  font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.h2 {
  font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}

.h3 {
  font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.body-lg {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.72;
}

.body {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
}

.label {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stat-num {
  font-family: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 400;
}

/* ── Scroll Reveal System ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.93);
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
}

.in-view {
  opacity: 1 !important;
  transform: none !important;
}

/* Stagger delays */
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 100ms; }
.stagger > *:nth-child(3) { transition-delay: 200ms; }
.stagger > *:nth-child(4) { transition-delay: 300ms; }
.stagger > *:nth-child(5) { transition-delay: 400ms; }
.stagger > *:nth-child(6) { transition-delay: 500ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .hero__photo-img {
    animation: none;
  }

  .problem-card .problem-stat {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 48px;
}

.section-pad {
  padding-block: 120px;
}

.section-pad-sm {
  padding-block: 80px;
}

/* ── Constraint label — small muted problem marker ───────── */
.constraint-label {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: clamp(14px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
  text-align: center;
}

.constraint-label--light {
  color: rgba(26, 35, 50, 0.45);
}

/* ── Section Tag — large chapter marker ──────────────────── */
.section-tag {
  display: block;
  font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(24px, 6.5vw, 80px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  margin-bottom: 48px;
}

.section-tag--light { color: var(--accent); }
.section-tag--dark  { color: var(--accent-gold); }

.section-tag + .section-subtitle--light {
  display: block;
  font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 35, 50, 0.45);
  text-align: center;
  margin-top: -32px;
  margin-bottom: 48px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition:
    background var(--t-fast) var(--ease-smooth),
    color var(--t-fast) var(--ease-smooth),
    transform var(--t-fast) var(--ease-smooth),
    box-shadow var(--t-fast) var(--ease-smooth);
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--shadow-blue-md);
}

.btn-white {
  background: var(--text-light);
  color: var(--text);
}

.btn-white:hover {
  background: #eaf2f9;   /* tinted toward BPA Blue — never pure gray */
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--shadow-blue-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-inline: 0;
}

.btn-ghost:hover {
  color: var(--accent);
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

/* ── Navigation ───────────────────────────────────────────── */
/* ── Announcement Bar ─────────────────────────────────────── */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar-h);
  z-index: 200;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-inline: 20px;
  transition: transform 0.35s var(--ease-smooth);
}

.announce-bar.bar-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.announce-bar__text {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.announce-bar__label {
  font-weight: 800;
  color: var(--text-light);
}

.announce-bar__sep {
  color: rgba(255,255,255,0.5);
  margin-inline: 2px;
}

.announce-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--text-light);
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 3px;
  white-space: nowrap;
  transition:
    background var(--t-fast) var(--ease-smooth),
    border-color var(--t-fast) var(--ease-smooth);
}

.announce-bar__cta:hover {
  background: rgba(255,255,255,0.30);
  border-color: rgba(255,255,255,0.75);
}

.announce-bar__cta:focus-visible {
  outline: 2px solid var(--text-light);
  outline-offset: 2px;
}

@media (max-width: 540px) {
  .announce-bar__text .announce-bar__detail {
    display: none;
  }
}

@media (max-width: 420px) {
  .announce-bar {
    gap: 10px;
    padding-inline: 12px;
  }

  .announce-bar__text {
    font-size: 11px;
  }

  .announce-bar__cta {
    font-size: 10px;
    padding: 4px 10px;
    letter-spacing: 0.03em;
  }
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transform: translateY(var(--bar-h));
  /* Dark glass: readable over the hero photo, hero still visible through it */
  background: rgba(8, 10, 14, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition:
    background var(--t-fast) var(--ease-smooth),
    box-shadow var(--t-fast) var(--ease-smooth),
    border-color var(--t-fast) var(--ease-smooth),
    padding var(--t-fast) var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.nav.bar-gone {
  transform: translateY(0);
}

.nav.scrolled {
  background: rgba(245, 247, 250, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  padding: 14px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: block;
  line-height: 0;
}

.nav__logo-img {
  height: 40px;
  width: auto;
  transition: opacity var(--t-fast) var(--ease-smooth);
}

/* White logo over dark hero; swap to color when nav becomes opaque */
.nav__logo-color { display: none; }
.nav__logo-white { display: block; }

.nav.scrolled .nav__logo-color { display: block; }
.nav.scrolled .nav__logo-white { display: none; }

.footer__logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 12px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}

.nav__link {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);    /* white over dark hero */
  transition: color var(--t-fast) var(--ease-smooth);
  position: relative;
}

.nav.scrolled .nav__link {
  color: var(--text);                  /* dark when nav is opaque */
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}

.nav__link:hover {
  color: var(--accent);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link--active {
  color: var(--accent);
}

.nav__link--active::after {
  transform: scaleX(1);
}

.nav__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.90);  /* white over dark hero */
  border-radius: 2px;
  transition:
    transform var(--t-fast) var(--ease),
    opacity var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease-smooth);
}

.nav.scrolled .nav__hamburger span {
  background: var(--text);               /* dark when nav is opaque */
}

.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  /* Composited: opacity + transform only; max-height snaps instantly at frame 0 */
  transition:
    opacity   var(--t-med) var(--ease-smooth),
    transform var(--t-med) var(--ease-smooth);
  background: rgba(249, 248, 245, 0.98);
  border-top: 1px solid var(--border);
}

.nav__mobile.open {
  max-height: 400px;
  opacity: 1;
  transform: none;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 4px;
}

.nav__mobile-link {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--t-fast) var(--ease-smooth);
}

.nav__mobile-link:hover { color: var(--accent); }
.nav__mobile-link:last-child { border-bottom: none; }

/* ── Nav: Programs Dropdown ───────────────────────────────── */
.nav__has-drop {
  position: relative;
}

.nav__drop {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 0;
  min-width: 190px;
  box-shadow: 0 8px 32px rgba(10, 20, 38, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s var(--ease-smooth),
    transform 0.2s var(--ease-smooth),
    visibility 0.2s var(--ease-smooth);
  z-index: 110;
  list-style: none;
}

.nav__has-drop:hover .nav__drop,
.nav__has-drop:focus-within .nav__drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__drop-item {
  display: block;
  padding: 10px 18px;
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}

.nav__drop-item:hover,
.nav__drop-item--active {
  background: var(--accent-light);
  color: var(--accent);
}

.nav__drop-arrow {
  display: inline-block;
  font-size: 9px;
  margin-left: 3px;
  vertical-align: middle;
  line-height: 1;
  transition: transform 0.2s var(--ease-smooth);
}

.nav__has-drop:hover .nav__drop-arrow,
.nav__has-drop:focus-within .nav__drop-arrow {
  transform: rotate(180deg);
}

/* ── Inc. 5000 Award Badge ────────────────────────────────── */
.inc-award {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255,138,0,0.12), rgba(255,138,0,0.04));
  border: 1px solid rgba(255,138,0,0.40);
  border-radius: 14px;
  padding: 16px 28px 16px 20px;
}

.inc-award__star {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px rgba(255,138,0,0.6));
}

.inc-award__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.inc-award__headline {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.inc-award__count {
  font-family: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  font-size: 32px;
  line-height: 1;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
}

.inc-award__name {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.inc-award__sub {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,138,0,0.80);
}

/* ── Hero year chips ──────────────────────────────────────── */
.hero__year-awards {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero__year-awards__label {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin: 0;
  padding-left: 2px;
}

.hero__year-chips {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero__year-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-gold);
  background: rgba(255,138,0,0.07);
  border: 1px solid rgba(255,138,0,0.28);
  border-radius: 5px;
  padding: 5px 8px;
}

/* ── Flywheel — BPA Method Ring ───────────────────────────── */

/* Arc charge keyframes — opacity only (composited, no repaint) */
@keyframes fw-charge-blue {
  0%,  100% { opacity: 0.20; }
  16%        { opacity: 1; }
  33%        { opacity: 0.85; }
  50%        { opacity: 0.20; }
}

@keyframes fw-charge-navy {
  0%,  100% { opacity: 0.20; }
  16%        { opacity: 1; }
  33%        { opacity: 0.85; }
  50%        { opacity: 0.20; }
}

@keyframes fw-charge-orange {
  0%,  100% { opacity: 0.20; }
  16%        { opacity: 1; }
  33%        { opacity: 0.85; }
  50%        { opacity: 0.20; }
}

@keyframes fw-label-on {
  0%,  100% { opacity: 0.32; }
  16%        { opacity: 1; }
  33%        { opacity: 1; }
  50%        { opacity: 0.32; }
}

/* Container */
.fw {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.fw__svg {
  width: 100%;
  max-width: 820px;
  height: auto;
  overflow: visible;
}

/* SVG typography */
.fw__badge-plate {
  /* solid fill blocks the track ring from showing through the center */
}

.fw__badge-main {
  font-family: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  font-size: 50px;
  fill: var(--accent);
  letter-spacing: 3px;
}

.fw__badge-sub {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  fill: var(--text);
  letter-spacing: 6px;
}

.fw__lbl-num {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  fill: var(--text-muted);
  letter-spacing: 2px;
}

.fw__lbl-word {
  font-family: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  font-size: 22px;
  fill: var(--text);
  letter-spacing: 1px;
}

/* Arcs — start dim, charge on cue; will-change keeps animation on compositor */
.fw__arc { opacity: 0.20; will-change: opacity; }

.fw__arc--attract  { animation: fw-charge-blue   3s var(--ease-smooth) infinite 0s;  }
.fw__arc--deliver  { animation: fw-charge-navy   3s var(--ease-smooth) infinite -2s; }
.fw__arc--compound { animation: fw-charge-orange 3s var(--ease-smooth) infinite -1s; }

/* Labels — sync with matching arc */
.fw__lbl--attract  { opacity: 0.32; animation: fw-label-on 3s var(--ease-smooth) infinite 0s;  }
.fw__lbl--deliver  { opacity: 0.32; animation: fw-label-on 3s var(--ease-smooth) infinite -2s; }
.fw__lbl--compound { opacity: 0.32; animation: fw-label-on 3s var(--ease-smooth) infinite -1s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fw__arc,
  .fw__lbl--attract,
  .fw__lbl--deliver,
  .fw__lbl--compound { animation: none; opacity: 1; filter: none; }
}

/* ── Hero video — full-bleed B-Roll loop ─────────────────── */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

/* Desktop-only video / mobile-only image — swap at 768px */
.hero__mobile-only { display: none; }
.hero__desktop-only { display: block; }

@media (max-width: 768px) {
  .hero__desktop-only { display: none !important; } /* prevents poster from loading */
  .hero__mobile-only  { display: block; }
}

/* Reduced-motion: video is paused by JS; poster image shows through */
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

/* ── Hero photo — static fallback (inside <video> or if video blocked) */
@keyframes hero-zoom-out {
  from { transform: scale(1.06); }
  to   { transform: scale(1.00); }
}

.hero__photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 35%;   /* anchor on Aaron + audience + logo */
  animation: hero-zoom-out 2.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Problem stat punch — triggers when card enters view ──── */
.problem-card .problem-stat {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity  0.45s var(--ease) 0.22s,
    transform 0.45s var(--ease) 0.22s;
}

.problem-card.in-view .problem-stat {
  opacity: 1;
  transform: none;
}

/* ── Pulse (CTA button, once) ─────────────────────────────── */
@keyframes pulse-once {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.pulse-once {
  animation: pulse-once 0.6s var(--ease-smooth) 1;
}

/* ── Year flash (Inc. 5000 bar) ───────────────────────────── */
.year-flash {
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}

.year-flash.visible {
  opacity: 1;
}

/* ── AI Boost strip (inside light sections) ──────────────── */
.ai-boost {
  margin-top: 72px;
  background: var(--bg-dark);
  border-radius: 16px;
  padding: 56px 48px;
}

.ai-boost__headline {
  font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 700;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
}

.ai-boost__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ai-boost__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 10px;
}

.ai-boost__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 138, 0, 0.12);
  border-radius: 8px;
  color: var(--accent-gold);
}

.ai-boost__label {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.ai-boost__desc {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ── Timeline (patient journey) ──────────────────────────── */
.timeline-item {
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity var(--t-med) var(--ease),
    transform var(--t-med) var(--ease);
}

.timeline-item.in-view {
  opacity: 1;
  transform: none;
}

/* ── Responsive ───────────────────────────────────────────── */
/* Nav collapses to hamburger at 920px — 6 nav items need more room than 768px allows */
@media (max-width: 920px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile {
    display: block;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 24px;
  }

  .section-pad {
    padding-block: 80px;
  }

  .section-pad-sm {
    padding-block: 56px;
  }

  .card {
    padding: 28px 24px;
  }

  /* ── Mobile touch target fixes ──────────────────────────── */

  /* Nav logo: extend hit area to 44px without resizing the image */
  .nav__logo {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  /* Announce bar CTA: too small at 22px — bring to 44px */
  .announce-bar__cta {
    min-height: 44px;
    padding-block: 0;
    display: inline-flex;
    align-items: center;
  }

  /* Footer nav links: add vertical tap zone to hit 44px */
  .footer__link {
    display: block;
    padding-block: 14px;
  }

  /* Footer legal links: extend hit area */
  .footer__legal-link {
    padding-block: 15px;
    display: inline-block;
  }

  /* Community inline link: extend hit area */
  .community-link {
    display: inline-block;
    padding-block: 14px;
  }

  /* Skip link: keyboard-only but extend for completeness */
  .skip-link {
    padding-block: 4px;
  }
}

@media (max-width: 480px) {
  /* Badge: tighten so subtitle stays on one line */
  .inc-award {
    gap: 12px;
    padding: 12px 20px 12px 14px;
  }

  .inc-award__star {
    width: 24px;
    height: 24px;
  }

  .inc-award__count {
    font-size: 24px;
  }

  .inc-award__name {
    font-size: 14px;
  }

  .inc-award__sub {
    font-size: 10px;
    letter-spacing: 0.09em;
  }

  .container {
    padding-inline: 16px;
  }

  .section-pad {
    padding-block: 64px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   SECTION STYLES
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-top: calc(80px + var(--bar-h));   /* clears fixed nav + bar */
}

/* Photo fills the full hero — always absolute, always behind content */
.hero__photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Gradient overlay removed — dark panel on .hero__content handles contrast */
.hero__photo-wrap::after {
  content: none;
}

/* Layout: no position here — lets photo-wrap bubble up to .hero */
.hero__inner {
  flex: 1;
  display: flex;
  align-items: flex-end;           /* anchor to lower third */
  width: 100%;
}

/* Dark panel — sits behind label / headline / body / CTAs only; video is fully visible outside */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  width: calc(100% - 80px);        /* side breathing room on narrower viewports */
  margin-inline: auto;
  margin-bottom: 16px;             /* hug the trust bar — pushes panel low, video above */
  text-align: center;
  padding: 48px;
  background: rgba(10, 22, 40, 0.70);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.hero__label {
  color: rgba(200, 224, 244, 0.88) !important;
  font-size: 12px;
  letter-spacing: 0.10em;         /* slightly tighter than .label default so it sits on one line */
  margin-bottom: 20px;
}

.hero__label-short { display: none; }

.hero__headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  color: var(--text-light);
  font-size: clamp(30px, 4.25vw, 55px);  /* +25% — billboard scale */
}

/* Orange overline — editorial marker, draws the eye straight into the headline */
.hero__headline::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent-orange);
  border-radius: 2px;
  margin-bottom: 22px;
}

.hero__line1,
.hero__line2 {
  display: block;
}

.hero__body {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 500;
  font-size: 20px;                 /* +10% of body-lg's 18px */
  max-width: 460px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.hero__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Ghost button adapted for dark surface */
.hero__content .btn-ghost {
  color: rgba(255, 255, 255, 0.85);
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.hero__content .btn-ghost:hover {
  color: var(--text-light);
  text-decoration-color: rgba(255, 255, 255, 0.75);
}

/* Hero CTAs — 4px extra vertical padding for a more substantial feel */
.hero__cta-row .btn {
  padding-block: 18px;
}
.hero__cta-row .btn-ghost {
  padding-inline: 0;              /* preserve text-link style */
}

/* Trust bar: glass, absorbs into the dark hero bottom */
.hero__trust {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 20px 40px;
  background: var(--overlay-a78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--dark-border);
}

.hero__trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* ── Inc. 5000 Bar ────────────────────────────────────────── */
.inc-bar {
  background: var(--bg-dark);
  padding-block: 0;
}

.inc-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
  flex-wrap: wrap;
}

.inc-bar__years {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

.year-dot {
  color: rgba(255,255,255,0.25);
  font-weight: 300;
}

.inc-bar__quote {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  text-align: right;
}

/* ── Problem Section ──────────────────────────────────────── */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.problem-card {
  background: var(--card-bg);
}

.problem-stat {
  font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

.problem-divider {
  font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--accent);
  text-align: center;
}

/* ── Method Section ───────────────────────────────────────── */
.method-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.method-card {
  position: relative;
  overflow: hidden;
}

.method-num {
  display: block;
  font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
  font-size: 96px;
  font-weight: 900;
  color: var(--bg-mid);
  line-height: 1;
  margin-bottom: 8px;
  user-select: none;
}

.method-tags {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-on-dark); /* AA-compliant on dark bg (#3a9fd4, ~4.6:1) */
  margin-top: 20px;
}


/* ── BPA Method Section — heavier weight / more room ─────── */
#method {
  padding-block: 180px;
}

#method .reveal[style] {
  margin-bottom: 96px !important;
}

#method .method-headline {
  font-size: clamp(38px, 4.8vw, 62px);
  letter-spacing: -0.03em;
}

#method .method-cards {
  gap: 40px;
  margin-bottom: 128px;
}

#method .method-card {
  padding: 52px;
}

#method .method-num {
  font-size: 120px;
  margin-bottom: 16px;
}

/* ── Niches Section ───────────────────────────────────────── */
.niches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--dark-border);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 64px;
}

.niche-col {
  background: rgba(255,255,255,0.03);
  padding: 40px 32px;
}

.niche-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.niche-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.niche-item:last-child { border-bottom: none; }

.niche-name {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
}

.niche-market {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
}

/* TAM counter */
.niches-tam {
  text-align: center;
  padding: 56px 0 48px;
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 64px;
}

/* $1T+ landing pop */
@keyframes trillion-pop {
  0%   { transform: scale(1);    }
  35%  { transform: scale(1.55); }
  62%  { transform: scale(1.22); }
  100% { transform: scale(1);    }
}

.niches-tam__number--popped {
  animation: trillion-pop 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .niches-tam__number--popped { animation: none; }
}

/* Automation stack */
.automation-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.auto-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--dark-border);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
}

.auto-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  background: rgba(255,138,0,0.12);
  border-radius: 8px;
}

/* Timeline — 2-row grid: steps 1–3 / steps 4–6 */
.timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  row-gap: 12px;
  overflow: visible;
  margin-bottom: 48px;
}

/* Row 1: steps 1, 2, 3 + their two arrows */
.timeline > *:nth-child(1)  { grid-column: 1; grid-row: 1; }
.timeline > *:nth-child(2)  { grid-column: 2; grid-row: 1; }
.timeline > *:nth-child(3)  { grid-column: 3; grid-row: 1; }
.timeline > *:nth-child(4)  { grid-column: 4; grid-row: 1; }
.timeline > *:nth-child(5)  { grid-column: 5; grid-row: 1; }

/* Hide the arrow that would bridge the two rows */
.timeline > *:nth-child(6)  { display: none; }

/* Row 2: steps 4, 5, 6 + their two arrows */
.timeline > *:nth-child(7)  { grid-column: 1; grid-row: 2; }
.timeline > *:nth-child(8)  { grid-column: 2; grid-row: 2; }
.timeline > *:nth-child(9)  { grid-column: 3; grid-row: 2; }
.timeline > *:nth-child(10) { grid-column: 4; grid-row: 2; }
.timeline > *:nth-child(11) { grid-column: 5; grid-row: 2; }

.timeline-item {
  text-align: center;
  padding: 20px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: var(--dark-surface);
}

.timeline-num {
  display: block;
  font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-text {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
}

.timeline-text span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.timeline-arrow {
  flex-shrink: 0;
  padding: 0 10px;
  color: rgba(255,255,255,0.25);
  font-size: 18px;
}

.niches-auto-note {
  text-align: center;
  color: rgba(255,255,255,0.72);
  padding-top: 32px;
  font-size: 18px;
  line-height: 1.7;
}

/* ── Playbook Section ─────────────────────────────────────── */
.playbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

.playbook-card {
  padding: 28px 32px;
}

.playbook-quote {
  font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
  font-style: italic;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.35;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 64px;
  padding: 48px 0 0;
  border-top: 1px solid var(--border);
}

/* Sequence */
.sequence {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 24px;
}

.sequence-step {
  text-align: center;
  padding: 24px 32px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-bg);
  min-width: 140px;
}

.sequence-arrow {
  padding: 0 12px;
  color: var(--text-muted);
  font-size: 20px;
}

/* ── Community Section ────────────────────────────────────── */
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.community-card {
  display: flex;
  flex-direction: column;
}

.community-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 10px;
  color: var(--accent);
}

.community-event-detail {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-top: 16px;
  line-height: 1.5;
}

.community-link {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease-smooth);
}

.community-link:hover { color: var(--accent); }

/* ── Aggregate Stats ─────────────────────────────────────── */
.results-aggregate {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--dark-border);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 72px;
}

.agg-stat {
  padding: 52px 28px;
  text-align: center;
  background: var(--dark-surface);
}

.agg-num {
  font-family: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  font-size: clamp(52px, 6.5vw, 96px);
  color: var(--text-light);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.agg-label {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin: 0;
}

/* ── Testimonial Grid ────────────────────────────────────── */
.tq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--dark-border);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  overflow: hidden;
}

.tq-cell {
  background: var(--dark-surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tq-pct {
  font-family: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  font-size: 22px;
  color: var(--accent-orange);
  line-height: 1;
  margin: 0;
}

.tq-quote {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  flex: 1;
  margin: 0;
}

.tq-name {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-style: normal;
}

/* ── Final Question Section ───────────────────────────────── */
.question-wrap {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.question-headline {
  margin-bottom: 32px;
}

.question-quote {
  font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
  font-style: italic;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.4;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.objections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
  text-align: left;
}

.objection-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-bg);
}

.objection-q {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
}

.objection-a {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.objection-compare {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Final CTA Section ────────────────────────────────────── */
.cta-wrap {
  text-align: center;
  padding-block: 120px;
}

.cta-headline {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px;
}

.cta-body {
  color: rgba(255,255,255,0.92);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.cta-trust {
  margin-top: 24px;
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.04em;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  padding-block: 80px;
}

.footer__logo {
  font-family: 'Barlow', 'Arial Narrow', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
}

.footer__tagline {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  margin-bottom: 28px;
}

.footer__social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.5);
  transition: background var(--t-fast) var(--ease-smooth), color var(--t-fast) var(--ease-smooth);
  min-height: 44px;
  min-width: 44px;
}

.footer__social-link:hover {
  background: rgba(255,255,255,0.14);
  color: var(--text-light);
}

.footer__social-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer__col-label {
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--t-fast) var(--ease-smooth);
}

.footer__link:hover { color: var(--text-light); }

.footer__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-block: 24px;
}

.footer__bar .container {
  display: flex;
  align-items: center;
}

.footer__bar p {
  font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.footer__legal-link {
  color: rgba(255,255,255,0.6);
  transition: color var(--t-fast) var(--ease-smooth);
}

.footer__legal-link:hover { color: rgba(255,255,255,0.6); }

/* ── Responsive — Sections ────────────────────────────────── */
@media (max-width: 1024px) {
  /* Portrait layout: photo anchors to face */
  .hero__photo-img {
    object-position: center top;
  }

  .hero__content {
    width: calc(100% - 48px);
    max-width: 700px;
  }

  .results-aggregate {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Hero: taller on mobile so content panel has room above it */
  .hero {
    min-height: 120svh;
  }

  /* Hero: panel takes over on mobile — no gradient needed */
  .hero__video {
    object-position: 25% center;
  }

  .hero__photo-img {
    object-position: 35% 5%;
  }

  .hero__content {
    padding: 24px 18px;
    border-radius: 8px;
    width: calc(100% - 24px);
    margin-bottom: 48px;
  }

  /* Label: swap to short version on mobile so it fits on one line */
  .hero__label {
    font-size: 10px;
    letter-spacing: 0.07em;
    line-height: 1.4;
    margin-bottom: 14px;
  }

  .hero__label-long  { display: none; }
  .hero__label-short { display: inline; }

  /* Headline: element+class selector beats .display class-only override */
  h1.hero__headline {
    font-size: 27px;
    margin-bottom: 18px;
  }

  .problem-cards,
  .method-cards,
  .niches-grid,
  .playbook-grid,
  .objections,
  .automation-stack {
    grid-template-columns: 1fr;
  }

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

  /* AI boost strips: stack to single column */
  .ai-boost__grid {
    grid-template-columns: 1fr;
  }

  .ai-boost {
    padding: 36px 24px;
    margin-top: 48px;
  }

  /* Method section: 180px is too generous on mobile */
  #method {
    padding-block: 80px;
  }

  /* Section subtitle: tighten tracking so it fits one line */
  .section-tag + .section-subtitle--light {
    font-size: clamp(14px, 4vw, 24px);
    letter-spacing: 0.08em;
    margin-top: -20px;
  }

  .community-grid {
    grid-template-columns: 1fr;
  }

  .results-aggregate {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 56px;
  }

  .inc-bar__inner {
    flex-direction: column;
    height: auto;
    padding-block: 28px;
    gap: 12px;
    text-align: center;
  }

  .inc-bar__quote {
    text-align: center;
    max-width: 100%;
  }

  .sequence {
    flex-direction: column;
  }

  .sequence-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }


  /* ── Type scale: pull clamp minimums down for mobile ──────── */
  .display {
    font-size: clamp(26px, 8vw, 48px);
  }

  .h1 {
    font-size: clamp(22px, 6vw, 32px);
  }

  #method .method-headline {
    font-size: clamp(24px, 7vw, 44px);
  }

  /* Stats: smaller numbers + tighter cells = faster, cleaner scroll */
  .agg-num {
    font-size: clamp(34px, 9vw, 52px);
  }

  .agg-stat {
    padding: 28px 16px;
  }

  /* Hero body: less height = more video visible above the panel */
  .hero__body {
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  /* cap .body-lg on mobile */
  .body-lg { font-size: 18px; }
  .body     { font-size: 17px; }

  /* footer social: base min-height/min-width (44px) already applies — no override needed */

}

/* Timeline collapses to single column at 640px — well before it gets cramped */
@media (max-width: 640px) {
  .timeline {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .timeline > * {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  /* Restore the hidden row-bridge arrow and rotate all arrows vertically */
  .timeline > *:nth-child(6) { display: flex; }

  .timeline-arrow {
    text-align: center;
    transform: rotate(90deg);
    padding: 4px 0;
  }
}

@media (max-width: 480px) {
  .hero__cta-row {
    flex-direction: column;
    align-items: center;
  }

  .results-aggregate {
    grid-template-columns: 1fr;
  }

  .tq-grid {
    grid-template-columns: 1fr;
  }

  .cta-wrap {
    padding-block: 80px;
  }

  .footer__social {
    gap: 6px;
  }

  /* Shrink social icons so all 7 sit on one row at 375px */
  .footer__social-link {
    width: 36px;
    height: 36px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 6px;
  }

  /* Left-align section body paragraphs — centered text is hard to read on 375px */
  .section-pad p.body-lg,
  .section-pad-sm p.body-lg {
    text-align: left;
  }
}
