/*
Theme Name: SCI Theme
*/

/* ============================================================
   SCI — Sports Combine Institute
   Style System: SCI Red #9E1B32 · SCI Gold #D4A017
   Typography: Cormorant Garamond (display) + Inter (body)
   ============================================================ */

/* ── Design Tokens ── */
:root {
  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* SCI Brand Colors */
  --sci-red:          #9E1B32;
  --sci-red-hover:    #7d1527;
  --sci-red-dark:     #5e0f1d;
  --sci-gold:         #D4A017;
  --sci-gold-light:   #e8b93e;
  --sci-gold-faint:   rgba(212,160,23,0.12);

  /* Surfaces */
  --color-bg:             #F5F6F8;
  --color-surface:        #FFFFFF;
  --color-surface-2:      #FAFAFA;
  --color-surface-offset: #ECEEF2;
  --color-border:         #DDE0E6;
  --color-divider:        #E8EAF0;

  /* Text */
  --color-text:           #1C1C1C;
  --color-text-muted:     #5A5D65;
  --color-text-faint:     #9BA0AC;
  --color-text-inverse:   #FFFFFF;

  /* Primary = SCI Red */
  --color-primary:        var(--sci-red);
  --color-primary-hover:  var(--sci-red-hover);

  /* Radius */
  --radius-sm:   0.25rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-med: 280ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(28,28,28,0.07), 0 1px 2px rgba(28,28,28,0.05);
  --shadow-md: 0 4px 16px rgba(28,28,28,0.08), 0 2px 6px rgba(28,28,28,0.05);
  --shadow-lg: 0 12px 40px rgba(28,28,28,0.10), 0 4px 12px rgba(28,28,28,0.06);
  --shadow-xl: 0 24px 64px rgba(28,28,28,0.12), 0 8px 24px rgba(28,28,28,0.07);

  /* Layout */
  --content-narrow:  680px;
  --content-default: 980px;
  --content-wide:    1240px;

  /* Fonts */
  --font-display: 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* Dark mode */
[data-theme="dark"] {
  --color-bg:             #111214;
  --color-surface:        #181A1E;
  --color-surface-2:      #1D1F24;
  --color-surface-offset: #222429;
  --color-border:         #2E3138;
  --color-divider:        #272A30;
  --color-text:           #E4E6EC;
  --color-text-muted:     #8A8F9C;
  --color-text-faint:     #4A4F5A;
  --color-bg-nav:         rgba(17,18,20,0.95);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.45);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #111214;
    --color-surface:        #181A1E;
    --color-surface-2:      #1D1F24;
    --color-surface-offset: #222429;
    --color-border:         #2E3138;
    --color-divider:        #272A30;
    --color-text:           #E4E6EC;
    --color-text-muted:     #8A8F9C;
    --color-text-faint:     #4A4F5A;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.25);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.45);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.55);
  }
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 4vw, var(--space-16));
}
.container--narrow {
  max-width: var(--content-default);
}
.section-pad {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.section-pad--sm {
  padding-block: clamp(var(--space-12), 5vw, var(--space-20));
}

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,246,248,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-med), background var(--transition-med);
}

[data-theme="dark"] .site-nav {
  background: rgba(17,18,20,0.92);
}

.site-nav--scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: var(--space-8);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.nav-logo__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo__sci {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sci-red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-logo__full {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* Nav CTA */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Theme toggle */
.theme-toggle {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  cursor: pointer;
}
.theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  border: none;
  background: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: transform var(--transition-med), opacity var(--transition-med);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-interactive),
              border-color var(--transition-interactive),
              color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--sci-red);
  color: #fff;
  border-color: var(--sci-red);
}
.btn--primary:hover {
  background: var(--sci-red-hover);
  border-color: var(--sci-red-hover);
  box-shadow: 0 6px 20px rgba(158,27,50,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--outline:hover {
  border-color: var(--color-text);
  background: transparent;
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn--gold {
  background: var(--sci-gold);
  color: #fff;
  border-color: var(--sci-gold);
}
.btn--gold:hover {
  background: #b8881a;
  border-color: #b8881a;
  box-shadow: 0 6px 20px rgba(212,160,23,0.35);
}

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 0.9rem 2rem;
  font-size: var(--text-base);
}

/* ── Section Labels ── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sci-red);
  margin-bottom: var(--space-4);
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sci-gold);
  border-radius: var(--radius-full);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 60ch;
}

.section-header {
  margin-bottom: clamp(var(--space-12), 5vw, var(--space-16));
}
.section-header--center {
  text-align: center;
}
.section-header--center .section-eyebrow {
  justify-content: center;
}
.section-header--center .section-subtitle {
  margin-inline: auto;
}

/* ── Gold accent line ── */
.gold-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--sci-gold), var(--sci-gold-light));
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.gold-rule--center {
  margin-inline: auto;
}

/* ================================================================
   HERO SECTION — Redesigned: Two-column layout
   ================================================================ */

.hero {
  position: relative;
  min-height: calc(100vh - 4.5rem);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #0F1720;
}

/* ── Background Layers ── */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Fine grid — barely visible */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Deep gradient vignette */
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(15,23,32,0) 0%, rgba(15,23,32,0.6) 100%),
    linear-gradient(180deg, rgba(15,23,32,0.5) 0%, transparent 40%, transparent 70%, rgba(15,23,32,0.8) 100%);
}

/* Vertical accent line — right of left column */
.hero__accent-line {
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(212,160,23,0.18) 20%,
    rgba(212,160,23,0.25) 50%,
    rgba(212,160,23,0.18) 80%,
    transparent 100%
  );
}

/* ── Two-column layout ── */
.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-16));
  align-items: center;
  padding-top: clamp(var(--space-12), 6vh, var(--space-20));
  padding-bottom: clamp(var(--space-12), 6vh, var(--space-20));
  width: 100%;
}

/* ── LEFT COLUMN ── */
.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Eyebrow */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--sci-gold);
  margin-bottom: var(--space-6);
}
.hero__eyebrow-line {
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--sci-gold);
  flex-shrink: 0;
}

/* Headline */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.2rem + 3.2vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}
.hero__title em,
.hero__title-gold {
  font-style: italic;
  color: var(--sci-gold);
}

/* Gold rule between title and subtitle */
.hero__rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--sci-gold), transparent);
  margin-block: var(--space-6);
  border-radius: var(--radius-full);
}

/* Subtitle */
.hero__subtitle {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.60);
  line-height: 1.75;
  max-width: 46ch;
  margin-bottom: var(--space-10);
  font-weight: 300;
}

/* CTAs */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-10);
}

/* Authority bar — pill badges */
.hero__authority {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  transition: border-color var(--transition-interactive), color var(--transition-interactive);
}
.hero__badge:hover {
  border-color: rgba(212,160,23,0.35);
  color: rgba(255,255,255,0.85);
}

/* ── RIGHT COLUMN: Biomechanics Panel ── */
.hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__panel {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(212,160,23,0.08),
    0 24px 64px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Panel header */
.hero__panel-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.hero__panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero__panel-dot--red  { background: #9E1B32; opacity: 0.8; }
.hero__panel-dot--gold { background: #D4A017; opacity: 0.8; }
.hero__panel-dot--dim  { background: rgba(255,255,255,0.15); }
.hero__panel-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-left: var(--space-2);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero__panel-live {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #D4A017;
  background: rgba(212,160,23,0.10);
  border: 1px solid rgba(212,160,23,0.25);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

/* Panel body */
.hero__panel-body {
  padding: var(--space-4) var(--space-5) var(--space-3);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ── Force Plate Visualization (fp__) ── */

/* Section block inside panel */
.fp__section {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.fp__section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.fp__section-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.fp__section-unit {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.22);
  font-family: var(--font-body);
}

/* Chart area */
.fp__chart-area {
  width: 100%;
}
.fp__chart-svg {
  width: 100%;
  height: 80px;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fp__axis-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
}
.fp__axis-labels span {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.22);
  font-family: var(--font-body);
}

/* Metrics strip */
.fp__metrics {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
}
.fp__metric {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.fp__metric-val {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.fp__metric-unit {
  font-size: 0.55rem;
  color: var(--sci-gold);
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  opacity: 0.8;
}
.fp__metric-label {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
  text-align: center;
  white-space: nowrap;
}
.fp__metric-div {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* Impulse bars section */
.fp__section--impulse {}
.fp__impulse-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.fp__impulse-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.fp__impulse-tag {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 56px;
  flex-shrink: 0;
}
.fp__impulse-track {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.fp__impulse-fill {
  height: 100%;
  border-radius: 2px;
}
.fp__impulse-fill--brake {
  background: linear-gradient(90deg, rgba(158,27,50,0.8), rgba(158,27,50,0.4));
}
.fp__impulse-fill--prop {
  background: linear-gradient(90deg, rgba(212,160,23,0.8), rgba(212,160,23,0.4));
}
.fp__impulse-num {
  font-size: 0.58rem;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.4);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  width: 58px;
  text-align: right;
  flex-shrink: 0;
}

/* Panel footer — force plate heatmap */
.fp__footer {
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5) var(--space-4);
}
.hero__panel-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.15);
  overflow: hidden;
}
.hero__panel-footer-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Heatmap */
.fp__heatmap {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  align-items: flex-end;
}
.fp__foot {
  display: grid;
  grid-template-columns: repeat(3, 10px);
  grid-template-rows: repeat(4, 10px);
  gap: 2px;
}
.fp__heatmap-cell {
  width: 10px;
  height: 10px;
  border-radius: 1.5px;
}
.fp__heatmap-cell--lo  { background: rgba(158,27,50,0.15); }
.fp__heatmap-cell--med { background: rgba(158,27,50,0.40); }
.fp__heatmap-cell--hi  { background: rgba(158,27,50,0.70); }
.fp__heatmap-cell--pk  { background: #9E1B32; }

/* Heatmap legend */
.fp__heatmap-legend {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  justify-content: flex-end;
}
.fp__legend-scale {
  display: flex;
  gap: 2px;
}
.fp__legend-cell {
  width: 8px;
  height: 5px;
  border-radius: 1px;
}
.fp__legend-cell--lo  { background: rgba(158,27,50,0.15); }
.fp__legend-cell--med { background: rgba(158,27,50,0.40); }
.fp__legend-cell--hi  { background: rgba(158,27,50,0.70); }
.fp__legend-cell--pk  { background: #9E1B32; }
.fp__legend-label {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.22);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Scroll hint ── */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  z-index: 2;
}
.hero__scroll-hint span {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-arrow::after {
  content: '';
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.35);
  border-radius: var(--radius-full);
  animation: scroll-bob 2s ease-in-out infinite;
}
@keyframes scroll-bob {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ── Hero Responsive ── */
@media (max-width: 860px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
    padding-bottom: var(--space-12);
    min-height: auto;
    padding-top: var(--space-10);
    align-items: start;
  }
  .hero__left {
    justify-content: flex-start;
    order: 0;
  }
  .hero__accent-line { display: none; }
  .hero__right {
    order: 1;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .hero__panel {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .hero__panel-body {
    max-height: 320px;
  }
  .hero__figure {
    max-height: 260px;
  }
  /* Hide side data labels on small screens — too cramped */
  .hero__data-label {
    display: none;
  }
  /* Hide peak label on mobile to prevent bar chart overflow */
  .hero__panel-footer span[style*="text-align:right"],
  .hero__panel-footer .hero__panel-footer-label:last-of-type {
    display: none;
  }
  .hero__panel-footer {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
  .hero__title {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
  }
  .hero__scroll-hint { display: none; }
  .hero__actions .btn {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .hero__authority { gap: var(--space-2); flex-wrap: wrap; }
  .hero__badge { font-size: 0.68rem; }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    padding: 0.7rem 1rem;
  }
  .hero__layout {
    padding-top: var(--space-8);
    padding-bottom: var(--space-10);
    gap: var(--space-6);
  }
}

/* ================================================================
   SECTION 2 — FLAGSHIP COURSE
   ================================================================ */
.flagship {
  background: var(--color-bg);
}
.flagship__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: center;
}
.flagship__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}
.flagship__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 100%;
}
.flagship__list li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: var(--sci-red);
  margin-top: 3px;
}

.course-card {
  background: linear-gradient(145deg, #1a0a10 0%, #2d1020 50%, #1a0a10 100%);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sci-red), var(--sci-gold));
}
.course-card__logo {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-6);
}
.course-card__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sci-gold);
  background: rgba(212,160,23,0.12);
  border: 1px solid rgba(212,160,23,0.25);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
.course-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--space-3);
}
.course-card__subtitle {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: var(--space-8);
}
.course-card__meta {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  padding-block: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.course-card__meta-item {
  display: flex;
  flex-direction: column;
}
.course-card__meta-val {
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
}
.course-card__meta-key {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.course-card__gfx {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  opacity: 0.06;
  pointer-events: none;
}

/* ================================================================
   SECTION 3 — THE SCI MODEL
   ================================================================ */
/* ================================================================
   SECTION 3 — SCI INTEGRATED PERFORMANCE MODEL
   Minimal, editorial, premium — no glow, no clutter
   ================================================================ */

.ipm-section {
  background: #FFFFFF;
  position: relative;
}

/* ── Diagram container ── */
.ipm-diagram {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto var(--space-10);
  min-height: 520px;
}

/* ── SVG connection lines ── */
.ipm-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── Base node ── */
.ipm-node {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 200px;
  text-align: center;
}

/* Node positions:
   SVG viewBox 600×500
   Top:          300/600=50%,   60/500=12%
   Bottom-left:  110/600=18.3%, 400/500=80%
   Bottom-right: 490/600=81.7%, 400/500=80%
   Center:       300/600=50%,   270/500=54%
*/
.ipm-node--top    { left: 50%;    top: 12%;  }
.ipm-node--left   { left: 18.3%;  top: 80%;  }
.ipm-node--right  { left: 81.7%;  top: 80%;  }
.ipm-node--center { left: 50%;    top: 54%;  }

/* ── Outer node card ── */
.ipm-node__card {
  background: #FFFFFF;
  border: 1.5px solid rgba(158,27,50,0.2);
  border-radius: 12px;
  padding: var(--space-4) var(--space-5);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.ipm-node__card:hover {
  box-shadow: 0 4px 24px rgba(158,27,50,0.12);
  border-color: rgba(158,27,50,0.4);
}

.ipm-node__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: var(--space-1);
}
.ipm-node__phrase {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  font-style: italic;
}

/* ── Center node ── */
.ipm-node__card--center {
  background: var(--sci-red);
  border: 2px solid rgba(212,160,23,0.5);
  box-shadow:
    0 4px 24px rgba(158,27,50,0.25),
    0 0 0 4px rgba(212,160,23,0.08);
  padding: var(--space-5) var(--space-6);
}
.ipm-node__card--center:hover {
  box-shadow:
    0 8px 32px rgba(158,27,50,0.35),
    0 0 0 5px rgba(212,160,23,0.12);
  border-color: rgba(212,160,23,0.7);
}
.ipm-center__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 3px;
}
.ipm-center__tagline {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.65);
  font-style: italic;
}

/* ── Footnote below diagram ── */
.ipm-footnote {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 780px) {
  .ipm-diagram {
    min-height: 460px;
    max-width: 540px;
  }
  .ipm-node { width: 160px; }
  .ipm-node__title { font-size: 0.85rem; }
  .ipm-node__phrase { font-size: 0.65rem; }
  .ipm-node__card { padding: var(--space-3) var(--space-4); }
  .ipm-center__name { font-size: 0.9rem; }
}

@media (max-width: 580px) {
  /* Stack nodes vertically on mobile */
  .ipm-diagram {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }
  .ipm-connections { display: none; }
  .ipm-node {
    position: static;
    transform: none;
    width: 100%;
    max-width: 340px;
  }
  .ipm-node--center { order: -1; }
  .ipm-node__card { text-align: left; }
  .ipm-node__card--center { text-align: center; }
}

/* ================================================================
   SECTION 4 — EVIDENCE + AUTHORITY
   ================================================================ */
.evidence-section {
  background: var(--color-bg);
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}
.evidence-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-med), transform var(--transition-med);
}
.evidence-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.evidence-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sci-red), #7d1527);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: #fff;
  flex-shrink: 0;
}
.evidence-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.evidence-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  flex: 1;
}
.evidence-card__list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.evidence-card__list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sci-gold);
  flex-shrink: 0;
}
.evidence-card__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-6);
}

/* Credibility badges */
.cred-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: border-color var(--transition-interactive), color var(--transition-interactive);
}
.cred-badge:hover {
  border-color: var(--sci-gold);
  color: var(--color-text);
}
.cred-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sci-gold);
  flex-shrink: 0;
}

/* ================================================================
   SECTION 5 — PROTOCOL LIBRARY
   ================================================================ */
.protocols-section {
  background: var(--color-surface);
}
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.protocol-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition-med), transform var(--transition-med);
}
.protocol-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.protocol-card__header {
  padding: var(--space-6) var(--space-6) var(--space-4);
  background: linear-gradient(135deg, var(--sci-red-dark), var(--sci-red));
  position: relative;
  overflow: hidden;
}
.protocol-card__header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sci-gold);
}
.protocol-card__num {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.protocol-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.protocol-card__body {
  padding: var(--space-6);
}
.protocol-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.protocol-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-interactive), background var(--transition-interactive);
}
.protocol-list li:hover {
  border-color: var(--sci-red);
  background: color-mix(in srgb, var(--sci-red) 4%, var(--color-surface));
  color: var(--color-text);
}
.protocol-list li::before {
  content: '';
  display: block;
  width: 4px;
  min-width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sci-gold);
  margin-top: 7px;
}
.protocol-card__footer {
  padding: 0 var(--space-6) var(--space-6);
}

/* ================================================================
   SECTION 6 — RESEARCH INSIGHTS
   ================================================================ */
.insights-section {
  background: var(--color-bg);
}
.insights-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-1);
}
.insights-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition-interactive), border-color var(--transition-interactive);
}
.insights-tab.active, .insights-tab:hover {
  color: var(--sci-red);
  border-bottom-color: var(--sci-red);
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.insight-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition-med), transform var(--transition-med);
  cursor: pointer;
}
.insight-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.insight-card__img {
  height: 180px;
  background: linear-gradient(135deg, #1a0a10 0%, #2d1020 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.insight-card__img-icon {
  width: 56px;
  height: 56px;
  opacity: 0.35;
}
.insight-card__tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #fff;
  background: var(--sci-red);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.insight-card__audio-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(212,160,23,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.insight-card__body {
  padding: var(--space-6);
}
.insight-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.insight-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: var(--space-3);
}
.insight-card__summary {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}
.insight-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--sci-red);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.insight-card__link:hover {
  color: var(--sci-red-hover);
}
.insight-card__link svg {
  transition: transform var(--transition-interactive);
}
.insight-card__link:hover svg {
  transform: translateX(3px);
}

/* ================================================================
   EVIDENCE BRIEFS — NEW COMPONENTS
   ================================================================ */

/* Panel show/hide */
.insights-panel {
  display: block;
}
.insights-panel[hidden] {
  display: none;
}

/* ── Featured Article ── */
.insight-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.insight-featured__img {
  background: linear-gradient(135deg, #1a0812 0%, #2d1020 100%);
  min-height: 280px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.insight-featured__img svg {
  width: 100%;
  height: auto;
  display: block;
}
.insight-featured__body {
  padding: var(--space-8) var(--space-8) var(--space-8) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.insight-featured__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}
.insight-featured__desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.insight-featured__meta {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.insight-featured__read-time {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--sci-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.insight-featured__type-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--sci-gold);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.insight-featured__tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.insight-topic-tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--sci-red);
  background: rgba(158, 27, 50, 0.08);
  border: 1px solid rgba(158, 27, 50, 0.18);
  border-radius: 999px;
  padding: 3px 10px;
  letter-spacing: 0.03em;
}

/* ── Homepage Evidence Briefs preview (scoped) ── */
.insights-preview {
  margin-top: var(--space-2);
}
.insights-preview__recent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto var(--space-8);
  max-width: 42rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.insights-preview__recent-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sci-red);
  box-shadow: 0 0 0 3px rgba(158, 27, 50, 0.2);
  flex-shrink: 0;
}
.insights-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}
.insights-preview__cta {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-2);
}
.insight-content-type {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  padding-left: 0.65rem;
  border-left: 3px solid var(--sci-red);
  color: var(--sci-red);
  line-height: 1.2;
}
.insight-content-type--infographic {
  border-left-color: var(--sci-gold);
  color: #b8890f;
}
[data-theme="dark"] .insight-content-type--infographic {
  color: var(--sci-gold);
}
.insight-content-type--breakdown {
  border-left-color: var(--sci-red);
  color: var(--sci-red);
}
.insight-content-type--full {
  border-left-color: var(--color-text-muted);
  color: var(--color-text-muted);
}
.insight-featured--preview {
  margin-bottom: var(--space-8);
}
.insight-featured--preview .insight-featured__img {
  min-height: 300px;
}
.insight-featured--preview .insight-featured__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.insight-featured--preview .insight-featured__desc {
  margin-bottom: var(--space-5);
}
.insight-card--preview .insight-card__img {
  height: 152px;
}
.insight-card--preview .insight-card__body {
  padding: var(--space-5);
}
.insight-card--preview .insight-card__title {
  font-size: 1.0625rem;
  margin-bottom: var(--space-2);
}
.insight-card--preview .insight-card__summary {
  font-size: var(--text-sm);
  line-height: 1.55;
  margin-bottom: var(--space-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Article Grid (3 cols) ── */
.insights-grid--articles {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Article card meta row ── */
.insight-card__meta-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.insight-card__readtime {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--sci-gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Infographic Grid (4 cols) ── */
.insights-grid--infographics {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Narrated badge ── */
.insight-card__narrated-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(212, 160, 23, 0.92);
  border-radius: 999px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
}

/* ── Infographic intro block ── */
.infographic-intro {
  margin-bottom: 2.5rem;
}
.infographic-intro__text {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text-muted);
  max-width: 680px;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.infographic-intro__platforms {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.platform-chip {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ── Pipeline CTA strip ── */
.insights-pipeline {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.insights-pipeline__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.insights-pipeline__steps {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.pipeline-step {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
.pipeline-step--done {
  color: var(--sci-red);
  opacity: 0.7;
}
.pipeline-step--active {
  color: var(--sci-red);
  font-weight: 700;
  opacity: 1;
}
.pipeline-step--next {
  text-decoration: none;
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
}
.pipeline-step--next:hover {
  color: var(--sci-red);
}
.pipeline-arrow {
  color: var(--color-border);
  flex-shrink: 0;
}

/* ================================================================
   SECTION 7 — APPLIED PERFORMANCE SYSTEM
   ================================================================ */
.aps-section {
  background: linear-gradient(160deg, #0c0d10 0%, #161820 50%, #0c0d10 100%);
  position: relative;
  overflow: hidden;
}
.aps-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,160,23,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,160,23,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.aps-section .section-title,
.aps-section .section-eyebrow {
  color: #fff;
}
.aps-section .section-subtitle {
  color: rgba(255,255,255,0.6);
}
.aps-section .section-eyebrow {
  color: var(--sci-gold);
}
.aps-desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 64ch;
  margin-inline: auto;
  margin-bottom: var(--space-16);
  text-align: center;
}

.aps-diagram {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 1;
}
.aps-diagram--integrated {
  align-items: center;
}
.aps-node {
  flex: 1;
  max-width: 300px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  position: relative;
  transition: background var(--transition-med), border-color var(--transition-med);
  overflow: hidden;
}
.aps-node:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,160,23,0.3);
}
/* Bottom interaction line indicator */
.aps-node__interact-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition-med);
}
.aps-node:hover .aps-node__interact-line {
  opacity: 1;
}
.aps-node__domain-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sci-gold);
  margin-bottom: var(--space-3);
  opacity: 0.8;
}
.aps-node__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.aps-node--rehab .aps-node__icon { background: linear-gradient(135deg, #7d1527, #9E1B32); }
.aps-node--perf .aps-node__icon  { background: linear-gradient(135deg, #b8881a, var(--sci-gold)); }
.aps-node--skill .aps-node__icon { background: linear-gradient(135deg, #1a4a6e, #2c6aaa); }

.aps-node__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
}
.aps-node__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* Mutual interaction connector (replaces sequential arrows) */
.aps-interact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  flex-shrink: 0;
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 860px) {
  .aps-diagram--integrated {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }
  .aps-node {
    max-width: 100%;
    width: 100%;
  }
  .aps-interact {
    transform: rotate(90deg);
    width: 40px;
  }
}

/* ================================================================
   SECTION 8 — NEWSLETTER
   ================================================================ */
.newsletter-section {
  background: var(--color-surface);
}
.newsletter-inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.newsletter-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-10);
}
.newsletter-benefit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
}
.newsletter-benefit::before {
  content: '✓';
  color: var(--sci-gold);
  font-size: 0.7rem;
  font-weight: 900;
}
.newsletter-form {
  display: flex;
  gap: var(--space-3);
  max-width: 480px;
  margin-inline: auto;
}
.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: var(--text-base);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-interactive);
}
.newsletter-form input:focus {
  border-color: var(--sci-red);
}
.newsletter-form input::placeholder {
  color: var(--color-text-faint);
}
.newsletter-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-4);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: #0f1014;
  color: rgba(255,255,255,0.65);
  padding-block: var(--space-20) var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}
.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.footer-brand__sci {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-brand__tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  max-width: 28ch;
}
.footer-gold-bar {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--sci-gold);
  margin-top: var(--space-5);
}
.footer-col__heading {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-5);
}
.footer-col__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.footer-col__links a:hover {
  color: rgba(255,255,255,0.9);
}
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-bottom: var(--space-8);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-bottom__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}
.footer-bottom__pplx a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.footer-bottom__pplx a:hover {
  color: rgba(255,255,255,0.55);
}

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insights-grid--articles {
    grid-template-columns: repeat(2, 1fr);
  }
  .insights-grid--infographics {
    grid-template-columns: repeat(2, 1fr);
  }
  .insight-featured {
    grid-template-columns: 1fr 1fr;
  }
  .insights-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .flagship__grid {
    grid-template-columns: 1fr;
  }
  .evidence-grid,
  .protocol-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .insight-featured {
    grid-template-columns: 1fr;
  }
  .insight-featured__body {
    padding: var(--space-6);
  }
  .insights-grid--articles,
  .insights-grid--infographics {
    grid-template-columns: repeat(2, 1fr);
  }
  .insights-preview__grid {
    grid-template-columns: 1fr;
  }
  .insights-pipeline {
    flex-direction: column;
    align-items: flex-start;
  }
  .aps-diagram {
    flex-direction: column;
    gap: var(--space-4);
  }
  .aps-arrow {
    width: auto;
    height: 40px;
  }
  .aps-arrow__line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, rgba(158,27,50,0.6), rgba(212,160,23,0.6));
  }
  .aps-arrow__head {
    right: auto;
    bottom: -8px;
    transform: rotate(90deg);
  }
  .nav-links, .nav-cta-group .btn--primary {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

@media (max-width: 640px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .insights-tabs {
    overflow-x: auto;
    gap: var(--space-1);
  }
  .insights-grid--articles,
  .insights-grid--infographics {
    grid-template-columns: 1fr;
  }
  .insight-featured__title {
    font-size: 1.35rem;
  }
  .insights-pipeline__steps {
    gap: 0.5rem;
  }
  .pipeline-step {
    font-size: 0.72rem;
  }
  .insights-preview__cta .btn {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(15,16,20,0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  padding: var(--space-8);
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--transition-interactive);
}
.mobile-nav a:hover {
  color: var(--sci-gold);
}
.mobile-nav__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1.5rem;
  cursor: pointer;
}
