/* ═══════════════════════════════════════════════════════
   2026 AI Barometer, McKinsey-Inspired Editorial Design
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Public+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg-primary: #1E1E26;
  --bg-secondary: #242430;
  --bg-card: #2A2A38;
  --bg-card-hover: #30303F;
  --bg-elevated: #323242;
  --bg-quote: #272733;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.14);
  --accent: #0277B6;
  --accent-dim: #015A8E;
  --accent-bright: #1A8FCC;
  --accent-glow: rgba(2, 119, 182, 0.15);
  --accent-subtle: rgba(2, 119, 182, 0.08);
  --accent-yellow: #F7E194;
  --accent-yellow-dim: #E8CE6E;
  --accent-yellow-bright: #FBEBAE;
  --accent-yellow-glow: rgba(247, 225, 148, 0.18);
  --accent-yellow-subtle: rgba(247, 225, 148, 0.10);
  --text-primary: #f0f0f5;
  --text-secondary: #b8b8cc;
  --text-dim: #8a8aa0;
  --white: #ffffff;
  --radius: 8px;
  --radius-sm: 4px;
  --sidebar-width: 240px;
  --content-max: 920px;
  --font-serif: 'EB Garamond', 'Georgia', serif;
  --font-sans: 'Public Sans', -apple-system, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Aliases for Highcharts graph code (graphing/app.js → graphs.js) */
  --text: var(--text-primary);
  --text-2: var(--text-secondary);
  --text-3: var(--text-dim);
  --bg: var(--bg-primary);
  --bg-elev: var(--bg-elevated);
  --bg-3: var(--bg-card);
  --line: var(--border);
  --line-strong: var(--border-hover);
  --accent-2: var(--accent-yellow);
}

/* ── Light Mode (McKinsey cream) ── */
[data-theme="light"] {
  --bg-primary: #F5F1EB;
  --bg-secondary: #EFEBE4;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAF8F5;
  --bg-elevated: #F9F6F1;
  --bg-quote: #FAF8F5;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.14);
  --accent: #0277B6;
  --accent-dim: #015A8E;
  --accent-bright: #1A8FCC;
  --accent-glow: rgba(2, 119, 182, 0.12);
  --accent-subtle: rgba(2, 119, 182, 0.06);
  --accent-yellow: #F7E194;
  --accent-yellow-dim: #D9B94F;
  --accent-yellow-bright: #FBEBAE;
  --accent-yellow-glow: rgba(247, 225, 148, 0.22);
  --accent-yellow-subtle: rgba(247, 225, 148, 0.14);
  --text-primary: #1A1A2E;
  --text-secondary: #4A4A60;
  --text-dim: #8A8A9A;
  --white: #1A1A2E;
  --radius: 8px;
  --radius-sm: 4px;
}
[data-theme="light"] body { cursor: auto; }
[data-theme="light"] .cursor, [data-theme="light"] .cursor-trail { display: none; }
[data-theme="light"] a, [data-theme="light"] button, [data-theme="light"] input,
[data-theme="light"] textarea, [data-theme="light"] select, [data-theme="light"] [onclick] { cursor: auto; }
[data-theme="light"] .nav { background: rgba(245, 241, 235, 0.92); }
[data-theme="light"] .hero { background: #050b18; }
[data-theme="light"] .hero .hero-title-line,
[data-theme="light"] .hero .hero-title-accent,
[data-theme="light"] .hero-subtitle,
[data-theme="light"] .hero-number-value,
[data-theme="light"] .hero-number-label { color: #fff; }
[data-theme="light"] .hero::after {
  background: linear-gradient(90deg,
    #000000 0%, #000000 33.33%,
    #FDDA24 33.33%, #FDDA24 66.66%,
    #EF3340 66.66%, #EF3340 100%);
  opacity: 0.25;
}
[data-theme="light"] .hero-logo { filter: none; opacity: 0.9; }
[data-theme="light"] .hero-number-card {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0,0,0,0.1);
  border-left: 3px solid var(--accent);
  box-shadow: 0 12px 36px rgba(0,0,0,0.16);
  will-change: auto;
}
[data-theme="light"] .hero-number-card .hero-number-value { color: var(--accent) !important; }
[data-theme="light"] .hero-number-card .hero-number-label { color: #1A1A2E !important; }
[data-theme="light"] .hero-scroll-line { background: linear-gradient(to bottom, var(--accent-dim), transparent); }
[data-theme="light"] .accordion { background: var(--bg-card); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
[data-theme="light"] .accordion.open { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
[data-theme="light"] .highlight-card { background: var(--bg-card); }
[data-theme="light"] .highlight-card--dark { background: var(--bg-secondary); }
[data-theme="light"] .chart-slot, [data-theme="light"] .highlight-chart-slot { background: var(--bg-elevated); }
[data-theme="light"] .chart-card { background: var(--bg-card); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
[data-theme="light"] .mckinsey-quote { background: var(--bg-quote); }
[data-theme="light"] .mckinsey-quote-avatar {
  background: linear-gradient(135deg, rgba(0,119,182,0.1), rgba(0,119,182,0.04));
  border-color: rgba(0,119,182,0.15);
}
[data-theme="light"] .modal { background: var(--bg-card); }
[data-theme="light"] .modal-overlay { background: rgba(0,0,0,0.35); }
[data-theme="light"] .form-group input { background: var(--bg-elevated); }
[data-theme="light"] .lightbox-overlay { background: rgba(0,0,0,0.7); }
[data-theme="light"] .footer { background: var(--bg-secondary); }
[data-theme="light"] .nav-login-btn { color: var(--accent); border-color: rgba(0,119,182,0.3); }
[data-theme="light"] .nav-login-btn:hover { background: var(--accent); color: #fff; }
[data-theme="light"] .compare-cta:hover { color: #fff; }
[data-theme="light"] .hero-cta { color: #fff; }
[data-theme="light"] .hero-cta:hover { color: #fff; }
[data-theme="light"] .form-submit { color: #fff; }
[data-theme="light"] .form-submit:hover { color: #fff; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

/* ═══ NAVIGATION ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(30,30,38,0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center;
  font-family: var(--font-mono);
  font-weight: 700; font-size: 0.82rem; color: var(--text-primary);
  letter-spacing: 0.12em; gap: 0.5rem;
  text-transform: uppercase;
}
.nav-brand-accent { color: var(--accent); font-weight: 700; letter-spacing: 0.12em; }
.nav-brand-by {
  font-family: var(--font-sans);
  font-size: 0.6rem; font-weight: 400; color: var(--text-dim);
  margin-left: 0.6rem; padding-left: 0.6rem;
  border-left: 1px solid var(--border);
  letter-spacing: 0.01em;
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-login-btn {
  background: transparent; color: var(--accent);
  border: 1px solid rgba(0,119,182,0.3);
  padding: 0.4rem 1.2rem; border-radius: var(--radius-sm);
  font-size: 0.78rem; font-weight: 600; cursor: pointer;
  font-family: var(--font-sans); transition: all 0.2s;
  letter-spacing: 0.02em;
}
.nav-login-btn:hover { background: var(--accent); color: var(--bg-primary); }
.nav-user { display: flex; align-items: center; gap: 0.75rem; }
.nav-user-name { color: var(--text-secondary); font-size: 0.78rem; font-weight: 500; }
.nav-logout-btn {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-secondary); padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm); font-size: 0.72rem;
  cursor: pointer; font-family: var(--font-sans); transition: all 0.2s;
}
.nav-logout-btn:hover { border-color: #e05050; color: #e05050; }

/* ── Burger Button (mobile/tablet only) ── */
.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 34px; height: 34px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.nav-burger:hover { border-color: var(--accent); }
.nav-burger-bar {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s;
}
.nav-burger.open .nav-burger-bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); background: var(--accent); }
.nav-burger.open .nav-burger-bar:nth-child(2) { opacity: 0; }
.nav-burger.open .nav-burger-bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); background: var(--accent); }

/* ── Mobile Drawer ── */
.mobile-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 110;
}
.mobile-drawer-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 88vw);
  background: var(--bg-elev, rgba(20,20,26,0.98));
  border-left: 1px solid var(--border);
  box-shadow: -16px 0 40px rgba(0,0,0,0.35);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
}
.mobile-drawer.active { transform: translateX(0); }
.mobile-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  min-height: 56px;
}
.mobile-drawer-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.mobile-drawer-close {
  background: transparent; border: none;
  color: var(--text-secondary);
  font-size: 1.8rem; line-height: 1;
  cursor: pointer; padding: 0 0.25rem;
  transition: color 0.2s;
}
.mobile-drawer-close:hover { color: var(--accent); }
.mobile-drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0.75rem 2rem;
  display: flex; flex-direction: column;
  gap: 0;
}
.mobile-drawer-nav .sidebar-link {
  margin-left: 0;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
}

[data-theme="light"] .mobile-drawer { background: var(--bg-elev, #f5f1eb); }
[data-theme="light"] .mobile-drawer-overlay { background: rgba(40,30,20,0.35); }

body.drawer-open { overflow: hidden; }

/* ── Theme Toggle ── */
.theme-toggle {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-secondary); width: 34px; height: 34px;
  border-radius: var(--radius-sm); display: flex;
  align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-icon--light { display: none; }
[data-theme="light"] .theme-icon--dark { display: none; }
[data-theme="light"] .theme-icon--light { display: block; }

/* ═══ HERO ═══ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-primary); overflow: hidden;
  padding: 5rem 0 3rem;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  overflow: hidden;
  background: #050b18;
}
.hero-bg-img {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%);
  transform-origin: center;
}
.hero-bg-graphic {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 1;
  background:
    radial-gradient(ellipse 50% 45% at 50% 48%, rgba(5,11,24,0.92) 0%, rgba(5,11,24,0.78) 30%, rgba(5,11,24,0.45) 60%, rgba(5,11,24,0.1) 80%, transparent 95%),
    linear-gradient(180deg, rgba(5,11,24,0.65) 0%, rgba(5,11,24,0.2) 22%, transparent 50%, rgba(5,11,24,0.35) 80%, rgba(5,11,24,0.75) 100%);
}
@keyframes heroGraphicRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeScale {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    #000000 0%, #000000 33.33%,
    #FDDA24 33.33%, #FDDA24 66.66%,
    #EF3340 66.66%, #EF3340 100%);
  opacity: 0.35;
}
.hero-content {
  position: relative; text-align: center; padding: 2rem; max-width: 720px;
}
.hero-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; margin-bottom: 2.5rem;
  opacity: 0; animation: heroFadeUp 0.8s ease-out 0.3s forwards;
}
.hero-logos-divider { width: 1px; height: 28px; background: var(--border-hover); }
.hero-logo { height: 36px; width: auto; opacity: 0.9; }
.hero-logo--vlerick { height: 32px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); padding: 0.4rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.72rem; font-weight: 500; margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent-glow);
}
.hero-title {
  margin-bottom: 1.5rem;
  opacity: 0; animation: heroFadeUp 0.8s ease-out 0.5s forwards;
}
.hero-title-line {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 700; line-height: 1.08; color: #ffffff;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 0 60px rgba(5,11,24,0.5);
}
.hero-title-accent {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(0.82rem, 1.6vw, 1rem);
  font-weight: 500; line-height: 1.4;
  color: rgba(220, 230, 245, 0.95); letter-spacing: 0.22em;
  text-transform: uppercase; margin-top: 0.6rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.7);
}
.hero-subtitle {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.18rem; max-width: 540px;
  margin: 0 auto 2.5rem; font-weight: 400; line-height: 1.7;
  text-shadow: 0 2px 18px rgba(0,0,0,0.85), 0 0 30px rgba(5,11,24,0.6);
  opacity: 0; animation: heroFadeUp 0.8s ease-out 0.7s forwards;
}
.hero-numbers {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.7rem;
  margin-top: 3rem; max-width: 900px;
  opacity: 0; animation: heroFadeUp 0.8s ease-out 1.1s forwards;
}
.hero-numbers .hero-number-card {
  flex: 0 0 calc((100% - 4 * 0.7rem) / 5);
  max-width: calc((100% - 4 * 0.7rem) / 5);
}
.hero-number-card {
  background: rgba(5, 8, 15, 0.75) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: left;
  border-left: 3px solid var(--accent);
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
}
.hero-number-card .hero-number-value { color: #fff !important; }
.hero-number-card .hero-number-label { color: rgba(255,255,255,0.9) !important; }
.hero-number-value {
  display: block; font-family: var(--font-serif);
  font-size: 1.6rem; font-weight: 600;
  color: var(--accent); line-height: 1; letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.hero-number-label {
  display: block; color: var(--text-secondary); font-size: 0.72rem;
  line-height: 1.5; font-weight: 400;
}
.hero-cta {
  display: inline-block;
  background: var(--accent); color: var(--bg-primary);
  text-decoration: none; padding: 0.8rem 2.2rem;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.88rem;
  transition: all 0.25s; letter-spacing: 0.01em;
  opacity: 0; animation: heroFadeUp 0.8s ease-out 0.9s forwards;
}
.hero-cta:hover {
  background: var(--accent-dim); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,119,182,0.2);
}
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
}
.hero-scroll-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--accent-dim), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ═══ FOREWORD ═══ */
.foreword {
  display: flex; justify-content: center;
  background: var(--bg-primary);
  padding: 4rem 0 3rem;
  position: relative;
}
.foreword::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--border);
}
.foreword-inner {
  max-width: 680px; width: 100%;
}
.foreword-header {
  margin-bottom: 2.5rem;
}
.foreword-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 1rem;
}
.foreword-rule {
  width: 48px; height: 2px;
  background: var(--accent); opacity: 0.4;
}
.foreword-body {
  font-family: var(--font-serif);
  color: var(--text-primary);
}
.foreword-body p {
  font-size: 1.1rem; line-height: 1.9;
  color: var(--text-secondary); margin-bottom: 1.5rem;
}
.foreword-body p:first-child {
  font-size: 1.25rem; line-height: 1.8;
  color: var(--text-primary);
}
.foreword-body p:first-child::first-line {
  font-weight: 600;
}
.foreword-body .foreword-signature {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.foreword-signature-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 0.2rem;
}
.foreword-signature-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem; color: var(--text-secondary);
  font-weight: 400;
}
.foreword-scroll-cta {
  margin-top: 3rem; text-align: center;
}
.foreword-continue {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--accent); text-decoration: none;
  font-family: var(--font-sans); font-size: 0.78rem;
  font-weight: 500; letter-spacing: 0.02em;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(0,119,182,0.2);
  border-radius: var(--radius-sm);
  transition: all 0.25s;
}
[data-theme="light"] .foreword-continue { border-color: rgba(0,119,182,0.2); }
.foreword-continue:hover {
  background: var(--accent); color: var(--bg-primary);
  border-color: var(--accent);
}
[data-theme="light"] .foreword-continue:hover { color: #fff; }
.foreword-arrow {
  font-size: 1rem; line-height: 1;
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ═══ SIDEBAR + CONTENT LAYOUT ═══ */
.report-layout {
  display: flex;
  max-width: 1640px;
  margin: 0 auto;
  position: relative;
}

/* ── Sidebar TOC ── */
.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  padding: 2.5rem 0 2.5rem 2rem;
  overflow-y: auto;
  z-index: 10;
}
.sidebar::-webkit-scrollbar { width: 0; }
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sidebar-heading {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  padding: 0 0 0.75rem;
  margin-bottom: 0.25rem;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  margin-left: -0.75rem;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.4;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  border-left: 2px solid transparent;
  position: relative;
}
.sidebar-link:hover {
  color: var(--text-secondary);
  background: rgba(255,255,255,0.02);
}
.sidebar-link.active {
  color: var(--text-primary);
  border-left-color: var(--accent);
  background: rgba(0,119,182,0.04);
  font-weight: 500;
}
.sidebar-link-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
  transition: all 0.2s;
}
.sidebar-link.active .sidebar-link-dot {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}
.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 0.75rem 0;
}

/* ── Report Content ── */
.report-content {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  padding: 0 2.5rem 0 2.5rem;
  overflow-x: hidden;
}

/* ═══ SECTIONS ═══ */
.sections {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 3rem 0 3rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ═══ ACCORDION SECTIONS ═══ */
.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  background: var(--bg-secondary);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.accordion:hover { border-color: var(--border-hover); }
.accordion.open {
  border-color: rgba(0,119,182,0.12);
  box-shadow: 0 4px 32px rgba(0,0,0,0.2);
}
.accordion-trigger {
  width: 100%; display: flex; align-items: center;
  gap: 1rem; padding: 1.5rem 1.75rem;
  background: none; border: none; cursor: pointer;
  text-align: left; font-family: inherit; color: inherit;
  transition: background 0.2s;
}
.accordion-trigger:hover { background: rgba(255,255,255,0.015); }
.accordion-label { flex: 1; min-width: 0; }
.accordion-tag {
  display: inline-block; color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
}
.accordion-label h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 0.25rem; line-height: 1.3;
}
.accordion-label p {
  color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6;
  margin: 0;
}
.accordion-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  position: relative; transition: transform 0.3s ease;
}
.accordion-chevron::before,
.accordion-chevron::after {
  content: ''; position: absolute;
  background: var(--text-dim); border-radius: 1px;
  transition: transform 0.3s ease, background 0.2s;
}
.accordion-chevron::before {
  width: 10px; height: 2px; top: 50%; left: 2px;
  transform: translateY(-50%) rotate(45deg);
}
.accordion-chevron::after {
  width: 10px; height: 2px; top: 50%; right: 2px;
  transform: translateY(-50%) rotate(-45deg);
}
.accordion.open .accordion-chevron { transform: rotate(180deg); }
.accordion.open .accordion-chevron::before,
.accordion.open .accordion-chevron::after { background: var(--accent); }
.accordion-lock {
  flex-shrink: 0; color: var(--text-dim);
  display: flex; align-items: center; transition: opacity 0.3s;
}
.accordion.unlocked .accordion-lock { opacity: 0; pointer-events: none; }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.3s ease;
  padding: 0 1.75rem;
}
.accordion.open .accordion-body {
  max-height: 8000px;
  padding: 0.5rem 1.75rem 2.5rem;
}

/* ═══ McKINSEY-STYLE QUOTE / COMMENTARY SECTIONS ═══ */
.mckinsey-quote {
  background: var(--bg-quote);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  margin: 3rem 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 100%;
  overflow: hidden;
}
.mckinsey-quote-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,119,182,0.12), rgba(0,119,182,0.04));
  border: 1px solid rgba(0,119,182,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.mckinsey-quote-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.mckinsey-quote-initials {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.mckinsey-quote-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mckinsey-quote-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
.mckinsey-quote-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.mckinsey-quote-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.mckinsey-quote-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-primary);
}
.mckinsey-quote-text strong {
  font-weight: 600;
  color: var(--white);
}

/* ── Interlude Quote (standalone centered) ── */
.interlude {
  text-align: center;
  padding: 4rem 2rem;
  margin: 2rem 0;
}
.interlude blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 400; color: var(--text-primary);
  line-height: 1.8; letter-spacing: -0.01em;
  border: none; margin: 0; padding: 0;
  font-style: italic;
}
.interlude blockquote em {
  color: var(--accent); font-style: normal; font-weight: 600;
}
.interlude-source {
  display: block; margin-top: 1.25rem;
  color: var(--text-secondary); font-size: 0.82rem; font-weight: 400;
  font-family: var(--font-sans);
}

/* ═══ COMPARE CTA ═══ */
.compare-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.25rem; padding: 0.55rem 1rem;
  background: transparent;
  border: 1px solid rgba(0,119,182,0.2);
  border-radius: var(--radius-sm);
  color: var(--accent); font-size: 0.78rem; font-weight: 500;
  text-decoration: none; transition: all 0.25s;
  cursor: pointer; letter-spacing: 0.01em;
  font-family: var(--font-sans);
}
.compare-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-primary);
}
.compare-cta svg { flex-shrink: 0; opacity: 0.7; }

/* ═══ HIGHLIGHT CARDS ═══ */
.highlights-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
.highlight-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
}
.highlight-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.highlight-card--accent {
  border-left: 2px solid var(--accent);
}
.highlight-card--dark { background: var(--bg-card); }
.highlight-icon {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 600; color: rgba(255,255,255,0.04);
  margin-bottom: 0.5rem; letter-spacing: -0.02em;
  line-height: 1;
}
.highlight-card--accent .highlight-icon { color: rgba(0,119,182,0.1); }
.highlight-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem;
  letter-spacing: -0.02em; line-height: 1.3;
}
.highlight-card--accent h3 { color: var(--accent); }
.highlight-card p {
  color: var(--text-secondary); font-size: 0.92rem;
  line-height: 1.8; margin-bottom: 1.25rem;
}

/* ═══ CHART SLOTS ═══ */
.chart-slot, .highlight-chart-slot {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 200px; display: flex; align-items: center;
  justify-content: center; color: var(--text-dim);
  font-size: 0.8rem; font-weight: 400; overflow: hidden;
  transition: border-color 0.3s;
}
.chart-slot:hover, .highlight-chart-slot:hover {
  border-color: var(--border-hover);
}
.chart-slot--wide { min-height: 360px; }
.chart-slot img, .highlight-chart-slot img {
  width: 100%; height: auto; display: block; border-radius: var(--radius);
  transition: transform 0.3s ease;
}
.chart-slot img:hover, .highlight-chart-slot img:hover {
  transform: scale(1.01);
}

/* ═══ CHART CARDS ═══ */
.chart-row { display: grid; gap: 1.25rem; }
.chart-row--two { grid-template-columns: repeat(2, 1fr); }
.chart-row--three { grid-template-columns: repeat(3, 1fr); }
.chart-row--one { grid-template-columns: 1fr; margin-top: 1.25rem; }
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.chart-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.chart-card--full, .chart-card--wide { max-width: 100%; }
.chart-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem;
  letter-spacing: -0.01em; line-height: 1.3;
}
.chart-card-desc {
  color: var(--text-secondary); font-size: 0.88rem;
  margin-bottom: 1.5rem; line-height: 1.7;
}

/* ═══ STORY BLOCKS ═══ */
.story-block {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem; align-items: center; margin-bottom: 3rem;
}
.story-block--reverse { direction: rtl; }
.story-block--reverse > * { direction: ltr; }
.story-text h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 600; margin-bottom: 0.6rem;
  letter-spacing: -0.02em; line-height: 1.3;
}
.story-text p {
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.9;
}

/* ═══ NARRATIVE BRIDGES ═══ */
.narrative-bridge {
  margin: 2.5rem 0;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.narrative-inner {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem; align-items: start;
}
.narrative-eyebrow {
  display: inline-block;
  font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 0.75rem;
  font-family: var(--font-sans);
}
.narrative-stat {
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 400;
  color: var(--text-primary); line-height: 1.7;
  margin-bottom: 1rem;
}
.narrative-stat em {
  color: var(--accent); font-style: normal; font-weight: 700;
  font-size: 1.15em;
}
.narrative-body {
  color: var(--text-secondary); font-size: 0.95rem;
  line-height: 1.9;
}
.narrative-body + .narrative-body { margin-top: 1.1rem; }
.narrative-body em {
  color: var(--accent); font-style: normal; font-weight: 500;
}
.narrative-body strong {
  color: var(--text-primary); font-weight: 600;
}

/* ── Old narrative quote (now upgraded to mckinsey-quote in JS) ── */
.narrative-quote {
  background: var(--bg-quote);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  border-left: 2px solid var(--accent);
}
.narrative-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 400;
  color: var(--text-primary); line-height: 1.8;
  margin: 0; padding: 0; border: none;
  font-style: italic;
}
.narrative-quote cite {
  display: block; margin-top: 0.75rem;
  color: var(--text-secondary); font-size: 0.78rem;
  font-style: normal; font-weight: 400;
  font-family: var(--font-sans);
}

/* ═══ SOLUTIONS PAGE ═══ */
.solutions-page {
  padding: 4rem 0 4rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}
.solutions-page-inner {
  max-width: 820px;
  margin: 0 auto;
}
.solutions-page-header {
  margin-bottom: 2.5rem;
}
.solutions-page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--text-primary);
  letter-spacing: -0.02em; line-height: 1.2;
  margin: 1.25rem 0 0.75rem;
}
.solutions-page-subtitle {
  color: var(--text-secondary);
  font-size: 1rem; line-height: 1.7;
}

/* ═══ SOLUTIONS SHOWCASE ═══ */
.solutions-intro {
  color: var(--text-secondary); font-size: 0.95rem;
  line-height: 1.9; margin-bottom: 2rem;
}
.solutions-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
.solution-card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding: 2.5rem 0;
}
.solution-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.solution-card-logo {
  height: 88px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
[data-theme="light"] .solution-card-logo { filter: none; }
/* Venly ships as a full-colour banner with its own dark background; never invert it */
.solution-card-logo[src*="venly"] { filter: none; }
.solution-card-visual {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius, 8px);
  overflow: hidden;
}
.solution-card-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.solution-card-visual figcaption {
  padding: 0.6rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-3);
  border-top: 1px solid var(--border);
}
.solution-detail p + p { margin-top: 0.6rem; }
.solution-card-company {
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent);
}
.solution-card-headline {
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 600;
  color: var(--text-primary); line-height: 1.4;
  letter-spacing: -0.01em; margin-bottom: 0.75rem;
}
.solution-card-desc {
  color: var(--text-secondary); font-size: 0.92rem;
  line-height: 1.8; margin-bottom: 1.75rem;
}
.solution-card-details {
  display: block;
  margin-bottom: 1.5rem;
}
.solution-detail {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 1.75rem 0 0;
}
.solution-detail-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 0.75rem;
}
.solution-detail p {
  color: var(--text-secondary); font-size: 1rem;
  line-height: 1.65; margin: 0;
}
.solution-detail p + p { margin-top: 0.75rem; }
.solution-quote {
  border-left: 2px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin-top: 0.5rem;
  background: var(--bg-elevated);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.solution-quote-text {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 500;
  color: var(--text-primary); line-height: 1.7;
  font-style: italic; margin: 0 0 0.5rem;
}
.solution-quote-source {
  font-family: var(--font-sans);
  font-size: 0.75rem; color: var(--text-dim);
  font-weight: 400;
}

@media (max-width: 768px) {
  .solution-card { padding: 1.75rem 0; }
  .solution-detail p { font-size: 0.95rem; }
}

/* ═══ MODAL ═══ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(12px);
  display: none; align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem;
  width: 90%; max-width: 400px; position: relative;
  animation: modalIn 0.25s ease-out;
}
.modal-close {
  position: absolute; top: 0.8rem; right: 1rem;
  background: none; border: none; font-size: 1.3rem;
  color: var(--text-dim); cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--text-primary); }
.modal-title {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 600; margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.modal-desc { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 1.75rem; }
.modal-tabs {
  display: flex; gap: 0.25rem; margin: 1.25rem 0 1.5rem;
  background: var(--bg-elevated); padding: 0.25rem;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.modal-tab {
  flex: 1; background: none; border: none; cursor: pointer;
  padding: 0.5rem; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.78rem; font-weight: 600;
  color: var(--text-dim); transition: all 0.2s;
}
.modal-tab:hover { color: var(--text-secondary); }
.modal-tab.active { background: var(--bg-primary); color: var(--text-primary); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.72rem; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 0.35rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.form-group input {
  width: 100%; padding: 0.65rem 0.9rem;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.85rem;
  font-family: inherit; color: var(--text-primary);
  transition: border-color 0.2s; outline: none;
}
.form-group input::placeholder { color: var(--text-dim); }
.form-group input:focus { border-color: var(--accent); }
.form-error { color: #e05050; font-size: 0.8rem; min-height: 1.2em; margin-bottom: 0.4rem; }
.form-success { color: #4caf78; font-size: 0.8rem; min-height: 1.2em; margin-bottom: 0.4rem; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-submit {
  width: 100%; background: var(--accent); color: var(--bg-primary);
  border: none; padding: 0.7rem; border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: all 0.2s;
}
.form-submit:hover { background: var(--accent-dim); }
.modal-hint {
  text-align: center; margin-top: 1.25rem;
  color: var(--text-dim); font-size: 0.72rem;
}

/* ═══ FOOTER ═══ */
.footer {
  background: var(--bg-secondary); padding: 0 2rem 2.5rem;
  text-align: center; border-top: 1px solid var(--border);
  position: relative;
}
.footer-inner { max-width: 560px; margin: 0 auto; }
.footer-flag {
  width: 100%; height: 4px; margin-bottom: 2.5rem;
  background: linear-gradient(90deg,
    #000000 0%, #000000 33.33%,
    #FDDA24 33.33%, #FDDA24 66.66%,
    #EF3340 66.66%, #EF3340 100%);
  opacity: 0.3;
}
[data-theme="light"] .footer-flag {
  background: linear-gradient(90deg,
    #000000 0%, #000000 33.33%,
    #FDDA24 33.33%, #FDDA24 66.66%,
    #EF3340 66.66%, #EF3340 100%);
  opacity: 0.2;
}
.footer-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 1.25rem; margin-bottom: 1.5rem;
}
.footer-logo { height: 28px; width: auto; opacity: 0.6; transition: opacity 0.2s; }
.footer-logo:hover { opacity: 0.9; }
.footer-logo--vlerick { height: 24px; }
[data-theme="light"] .footer-logo { filter: brightness(0) opacity(0.5); }
[data-theme="light"] .footer-logo:hover { filter: brightness(0) opacity(0.8); }
.footer-logos-divider { width: 1px; height: 20px; background: var(--border-hover); }
.footer-brand {
  display: flex; align-items: center; justify-content: center;
  gap: 0.4rem; margin-bottom: 0.5rem;
  font-weight: 600; font-size: 0.82rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.footer-collab {
  color: var(--text-secondary); font-size: 0.82rem;
  margin-bottom: 1rem; line-height: 1.6;
}
.footer-collab strong { color: var(--text-primary); font-weight: 600; }
.footer-links {
  display: flex; align-items: center; justify-content: center;
  gap: 0.6rem; margin-bottom: 1.25rem;
}
.footer-link {
  color: var(--accent); font-size: 0.78rem; font-weight: 500;
  text-decoration: none; transition: opacity 0.2s;
  letter-spacing: 0.01em;
}
.footer-link:hover { opacity: 0.7; }
.footer-link-sep { color: var(--text-dim); font-size: 0.7rem; }
.footer-note {
  color: var(--text-dim); font-size: 0.7rem;
  line-height: 1.6; margin-bottom: 0.75rem;
}
.footer-copy {
  color: var(--text-dim); font-size: 0.65rem;
  opacity: 0.6; letter-spacing: 0.01em;
}

/* ═══ LIGHTBOX ═══ */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 90vw; max-height: 85vh;
  border-radius: var(--radius); cursor: default;
  transform: scale(0.92); opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.lightbox-overlay.active .lightbox-img {
  transform: scale(1); opacity: 1;
}

/* ═══ DECORATIVE ACCENTS ═══ */
.accordion-tag::before {
  content: '//'; margin-right: 0.3em; opacity: 0.35;
}
.narrative-eyebrow::before {
  content: '[ '; opacity: 0.3;
}
.narrative-eyebrow::after {
  content: ' ]'; opacity: 0.3;
}
.interlude::before {
  content: '';
  display: block; width: 32px; height: 2px;
  background: var(--accent); margin: 0 auto 1.5rem;
  opacity: 0.4;
}

/* ═══ REVEAL ANIMATIONS ═══ */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

.accordion[data-section] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s, box-shadow 0.3s;
}
.accordion[data-section].section-visible {
  opacity: 1; transform: translateY(0);
}
.narrative-bridge {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease,
              margin 0s, padding 0s;
}
.narrative-bridge.section-visible {
  opacity: 1; transform: translateY(0);
}
.interlude {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.interlude.section-visible {
  opacity: 1; transform: translateY(0);
}
.mckinsey-quote {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.mckinsey-quote.section-visible {
  opacity: 1; transform: translateY(0);
}

/* ═══ KEYFRAMES ═══ */
@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ═══ RESPONSIVE ═══ */

/* ── Hide sidebar on tablet ── */
@media (max-width: 1024px) {
  .sidebar { display: none; }
  .nav-burger { display: flex; }
  .report-layout { display: block; }
  .report-content { padding: 0 1.5rem; }
}

/* ── Tablet ── */
@media (max-width: 768px) {
  .nav-inner { padding: 0 1rem; height: 50px; }
  .nav-brand { font-size: 0.8rem; gap: 0.4rem; }
  .nav-brand-by { display: none; }
  .nav-links { gap: 1rem; }
  .nav-login-btn { padding: 0.35rem 0.8rem; font-size: 0.72rem; }

  .hero-content { padding: 1.5rem 1rem; }
  .hero-logos { gap: 1rem; margin-bottom: 1.5rem; }
  .hero-logo { height: 28px; }
  .hero-numbers .hero-number-card { flex: 0 0 calc((100% - 0.7rem) / 2); max-width: calc((100% - 0.7rem) / 2); }
  .hero-subtitle { font-size: 1rem; }

  .report-content { padding: 0 1rem; }
  .highlights-grid { grid-template-columns: 1fr; }
  .chart-row--two, .chart-row--three { grid-template-columns: 1fr; }
  .story-block { grid-template-columns: 1fr; gap: 1.5rem; }
  .story-block--reverse { direction: ltr; }
  .accordion-trigger { padding: 1.25rem; }
  .accordion.open .accordion-body { padding: 0.5rem 1.25rem 1.5rem; }

  .mckinsey-quote {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 1.5rem;
    text-align: center;
  }
  .mckinsey-quote-avatar {
    width: 80px; height: 80px;
    margin: 0 auto;
  }
}

/* ── Foreword responsive ── */
@media (max-width: 768px) {
  .foreword { padding: 5rem 1.5rem 3rem; }
  .foreword-inner { max-width: 100%; }
  .foreword-body p:first-child { font-size: 1.1rem; }
}

/* ── Small mobile ── */
@media (max-width: 480px) {
  .nav-inner { padding: 0 0.75rem; height: 48px; }
  .nav-brand { font-size: 0.78rem; gap: 0.35rem; }
  .nav-brand-accent { display: none; }
  .nav-links { gap: 0.5rem; }
  .nav-login-btn { padding: 0.3rem 0.6rem; font-size: 0.7rem; }
  .nav-logout-btn { padding: 0.25rem 0.5rem; font-size: 0.65rem; }

  .hero-content { padding: 1rem 0.75rem; }
  .hero-logos { gap: 0.75rem; margin-bottom: 1.25rem; }
  .hero-logo { height: 22px; }
  .hero-logos-divider { height: 20px; }
  .hero-numbers { gap: 0.5rem; }
  .hero-numbers .hero-number-card { flex: 0 0 calc((100% - 0.5rem) / 2); max-width: calc((100% - 0.5rem) / 2); }
  .hero-number-card { padding: 0.85rem 0.75rem; }
  .hero-number-value { font-size: 1.2rem; }
  .hero-number-label { font-size: 0.6rem; }
  .hero-subtitle { font-size: 0.92rem; margin: 0 auto 1.5rem; }
  .hero-cta { padding: 0.65rem 1.5rem; font-size: 0.82rem; }

  .sections { padding: 1.5rem 0; }
  .report-content { padding: 0 0.75rem; }
  .accordion-trigger { padding: 1rem; gap: 0.75rem; }
  .accordion-label h2 { font-size: 1.1rem; }
  .highlight-card { padding: 1.5rem; }
  .mckinsey-quote { padding: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════
   FLAT REPORT, Chapter heads, graph rows, interviews
   (replaces accordion-driven layout)
   ═══════════════════════════════════════════════════════ */

/* Chapter intro header, sits between bridge and graph stream */
.chapter-head {
  max-width: 1200px;
  margin: 5rem auto 2.5rem;
  padding: 0 2rem;
  text-align: left;
}
/* Only animate when the header itself is the reveal target (standalone use). */
.chapter-head[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.chapter-head[data-reveal].revealed { opacity: 1; transform: translateY(0); }
.chapter-head-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.chapter-head-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  color: var(--text-primary);
  margin: 0 0 0.85rem 0;
  letter-spacing: -0.01em;
}
.chapter-head-desc {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0;
}
.chapter-head-rule {
  width: 64px;
  height: 2px;
  background: var(--accent);
  margin-top: 1.75rem;
  border-radius: 2px;
}

/* Graph row, alternating left/right, no card box */
.graph-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 5rem;
  align-items: center;
  max-width: 100%;
  margin: 6rem auto;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.graph-row.revealed { opacity: 1; transform: translateY(0); }
.graph-row--reverse {
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
}
.graph-row--reverse .graph-row-text { order: 2; }
.graph-row--reverse .graph-row-chart { order: 1; }

.graph-row-text { display: flex; flex-direction: column; gap: 0.85rem; }
.graph-row-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.graph-row-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.18;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.005em;
}
.graph-row-question {
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  padding-left: 0.85rem;
  border-left: 2px solid var(--accent-yellow);
}
.graph-row-body {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--text-secondary);
  margin: 0;
}
.graph-row-note {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-dim);
  margin: 0;
}
.graph-row-note-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Live Highcharts host, bare on background, no card */
.graph-row-chart { min-width: 0; max-width: 100%; overflow: hidden; }
.graph-host {
  width: 100%;
  min-height: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}
.graph-host .highcharts-container { width: 100% !important; }
.graph-host .highcharts-background { fill: transparent !important; }

/* Mobile: stack and let order alternate */
@media (max-width: 900px) {
  .graph-row,
  .graph-row--reverse,
  .graph-row.graph-row--full {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2.75rem auto;
    padding: 0 1rem;
    max-width: 100%;
  }
  .graph-row--reverse .graph-row-text,
  .graph-row.graph-row--full .graph-row-text { order: 1; max-width: 100%; margin-bottom: 0; }
  .graph-row--reverse .graph-row-chart,
  .graph-row.graph-row--full .graph-row-chart { order: 2; }
  .graph-host { min-height: 0; }
  .graph-row-title { font-size: 1.4rem; }
  .graph-row-body { font-size: 0.95rem; line-height: 1.55; }
  .graph-row-question { font-size: 0.88rem; }
  .chapter-head { padding: 0 1rem; margin-top: 3rem; margin-bottom: 1.75rem; }
  .chapter-head-title { font-size: 1.75rem; }
  .chapter-head-desc { font-size: 0.95rem; }
  .insights-section,
  .interviews-section,
  .highlights-section { padding: 0 1rem; margin: 3rem auto 1.5rem; }
  .takeaways-list { margin-top: 2rem; }
  .interviews-grid { grid-template-columns: 1fr; gap: 1rem; }
  .interview-card { padding: 1.25rem; }
  .interview-quote { font-size: 1rem; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav-inner { padding: 0 1rem; }
  .chapter-head-title { font-size: 1.5rem; }
  .graph-row-title { font-size: 1.25rem; }
  .takeaway-title { font-size: 1.4rem; }
  .takeaway-body { font-size: 0.92rem; }
  /* Graph host: let Highcharts size itself but cap height to a readable phone window */
  .graph-host { min-height: 320px; touch-action: pan-y; }
  .graph-row.graph-row--full .graph-host { min-height: 0; touch-action: pan-y; }
  .graph-host .highcharts-container,
  .graph-host svg { touch-action: pan-y !important; }
}

/* Highlights section now flat (no accordion) */
.highlights-section {
  max-width: 1200px;
  margin: 4rem auto 2rem;
  padding: 0 2rem;
}
.highlights-section .highlights-grid { margin-top: 1rem; }

/* ── Interviews ── */
.interviews-section {
  max-width: 1200px;
  margin: 6rem auto 2rem;
  padding: 0 2rem;
}
.interviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.interview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.2s;
}
.interview-card.revealed { opacity: 1; transform: translateY(0); }
.interview-card:hover { border-color: var(--border-hover); }
.interview-header { display: flex; align-items: center; gap: 0.85rem; }
.interview-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-subtle);
  border: 1px solid var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.interview-avatar span {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.interview-avatar--photo { padding: 0; border-color: var(--border); }
.interview-avatar--photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Paired interview: two overlapping avatars */
.interview-avatar-stack { display: flex; align-items: center; flex-shrink: 0; }
.interview-avatar-stack .interview-avatar {
  position: relative;
  box-shadow: 0 0 0 2px var(--bg-card);
}
.interview-avatar-stack .interview-avatar:first-child { z-index: 2; }
.interview-avatar-stack .interview-avatar:not(:first-child) { margin-left: -16px; z-index: 1; }

/* Authors' note */
.authors-note {
  max-width: 880px;
  margin: 4rem auto 5rem;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.authors-note-inner { display: flex; flex-direction: column; gap: 1rem; }
.authors-note-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.authors-note-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}
.authors-note-body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary, var(--text-2));
  margin: 0;
}
.authors-note-signature {
  display: flex; flex-direction: column; gap: 0.2rem;
  margin-top: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.authors-note-signature-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.authors-note-signature-title {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-3);
}
@media (max-width: 640px) {
  .authors-note { padding: 2rem 1rem; margin: 2.5rem auto 3rem; }
  .authors-note-body { font-size: 0.95rem; }
}
.interview-meta { display: flex; flex-direction: column; gap: 0.15rem; }
.interview-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.interview-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-dim);
}
.interview-quote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--text-primary);
  margin: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent-yellow);
}
.interview-full p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 0.85rem 0;
}
.interview-toggle {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-top: 0.25rem;
}
.interview-toggle:hover { background: var(--accent); color: #fff; }
.interview-external,
.interview-external-row a {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.interview-external:hover { text-decoration: underline; }

/* Hide legacy accordion chrome if it ever leaks back in */
.accordion-trigger,
.accordion-chevron,
.accordion-lock { display: none !important; }
.accordion,
.accordion-body {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* ── Key Insights ── */
.insights-section {
  max-width: 1300px;
  margin: 4rem auto 2rem;
  padding: 0 2rem;
}

/* Responding institutions — static 5×4 brand grid */
.institutions-section {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem 2.5rem;
}
.institutions-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1rem;
  margin-top: 2.5rem;
}
.institutions-grid .institution-logo {
  flex: 0 0 calc((100% - 4rem) / 5);
  max-width: calc((100% - 4rem) / 5);
  height: 110px;
  padding: 1rem 1.25rem;
  margin: 0;
  border-radius: 0;
}
.institutions-marquee { display: none; }
@media (max-width: 900px) {
  .institutions-grid .institution-logo {
    flex: 0 0 calc((100% - 2rem) / 3);
    max-width: calc((100% - 2rem) / 3);
  }
}
@media (max-width: 560px) {
  .institutions-grid .institution-logo {
    flex: 0 0 calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
    height: 88px;
    padding: 0.75rem 0.85rem;
  }
}

/* Contributors section */
.contributors-section {
  max-width: 1400px;
  margin: 3rem auto 4rem;
  padding: 0 2rem;
}
.contributors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.contributor-card {
  background: var(--bg-card, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius, 10px);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1.25rem;
  align-items: start;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s;
}
.contributor-card.revealed { opacity: 1; transform: translateY(0); }
.contributor-card:hover { border-color: var(--accent); }
.contributor-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent-subtle, rgba(2,119,182,0.08));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contributor-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contributor-avatar--logo { background: var(--bg); padding: 12px; }
.contributor-avatar--logo img { object-fit: contain; }
/* Paired contributor card: two overlapping avatars + stacked names */
.contributor-avatars {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  --swap-shift: 48px;
}
.contributor-avatars .contributor-avatar {
  position: relative;
  box-shadow: 0 0 0 3px var(--bg-card);
}
.contributor-avatars .contributor-avatar:first-child {
  z-index: 2;
  animation: contribSwapFront 7s ease-in-out infinite;
}
.contributor-avatars .contributor-avatar:not(:first-child) {
  margin-left: -36px;
  z-index: 1;
  animation: contribSwapBack 7s ease-in-out infinite;
}
/* Front and back avatars trade place (and stacking order) every cycle. */
@keyframes contribSwapFront {
  0%, 40%  { transform: translateX(0);                z-index: 2; }
  45%      { z-index: 2; }
  45.01%   { z-index: 1; }
  50%, 90% { transform: translateX(var(--swap-shift)); z-index: 1; }
  95%      { z-index: 1; }
  95.01%   { z-index: 2; }
  100%     { transform: translateX(0);                z-index: 2; }
}
@keyframes contribSwapBack {
  0%, 40%  { transform: translateX(0);                            z-index: 1; }
  45%      { z-index: 1; }
  45.01%   { z-index: 2; }
  50%, 90% { transform: translateX(calc(-1 * var(--swap-shift))); z-index: 2; }
  95%      { z-index: 2; }
  95.01%   { z-index: 1; }
  100%     { transform: translateX(0);                            z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .contributor-avatars .contributor-avatar { animation: none; }
}
.contributor-card--pair { grid-template-columns: 132px 1fr; }
.contributor-member { display: flex; flex-direction: column; gap: 0.1rem; }
.contributor-card--pair .contributor-member + .contributor-member { margin-top: 0.55rem; }
.contributor-initials {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.contributor-body { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.contributor-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.contributor-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.35;
}
.contributor-org {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
}
.contributor-link {
  margin-top: 0.6rem;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 0.15s;
}
.contributor-link:hover { color: var(--accent-bright, var(--accent)); text-decoration: underline; }
@media (max-width: 1000px) {
  .contributors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .contributors-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contributors-section { padding: 0 1rem; margin: 2rem auto 3rem; }
  .contributors-grid { gap: 0.85rem; }
  .contributor-card { padding: 1.15rem; gap: 1rem; grid-template-columns: 64px 1fr; }
  .contributor-avatar { width: 64px; height: 64px; }
  .contributor-card--pair { grid-template-columns: 100px 1fr; }
  .contributor-avatars { --swap-shift: 36px; }
  .contributor-avatars .contributor-avatar:not(:first-child) { margin-left: -28px; }
}
.institutions-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  animation: institutions-scroll 50s linear infinite;
}
.institutions-track:hover { animation-play-state: paused; }
.institutions-row {
  display: flex;
  gap: 1.25rem;
  padding-right: 1.25rem;
  flex-shrink: 0;
}
.institution-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  min-width: 140px;
  padding: 0 1.5rem;
  flex-shrink: 0;
  transition: opacity 0.2s, filter 0.2s;
  opacity: 0.85;
}
.institution-logo:hover { opacity: 1; }
a.institution-logo { text-decoration: none; color: inherit; cursor: pointer; }
.institution-logo img {
  max-height: 44px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
/* Theme-specific variants: when a light-mode override is provided, show only the matching variant */
.institution-logo .institution-logo-img--light { display: none; filter: none; }
[data-theme="light"] .institution-logo:has(.institution-logo-img--light) .institution-logo-img--dark { display: none; }
[data-theme="light"] .institution-logo:has(.institution-logo-img--light) .institution-logo-img--light { display: block; }
/* Logos with built-in padding read smaller; nudge them up within the same chip height */
.institution-logo img[src*="keytrade"],
.institution-logo img[src*="ethias"] {
  max-height: 60px;
  max-width: 200px;
}
/* The white ING logo (dark mode) reads smaller than its light-mode SVG; bump it up a touch */
.institution-logo img[src*="ing-bw"] {
  max-height: 56px;
  max-width: 190px;
}
[data-theme="light"] .institution-logo img { filter: none; }
.institution-logo--fallback {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
  background: var(--bg-card, transparent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  height: auto;
  min-width: 0;
  white-space: nowrap;
}
@keyframes institutions-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .institutions-track { animation: none; }
}
@media (max-width: 600px) {
  .institutions-section { padding: 1.5rem 0; }
  .institution-logo { height: 48px; min-width: 100px; padding: 0 1rem; }
  .institution-logo img { max-height: 32px; max-width: 120px; }
  .institution-logo--fallback { font-size: 0.95rem; padding: 0.6rem 1.1rem; }
  .institutions-track { animation-duration: 35s; gap: 0.85rem; }
  .institutions-row { gap: 0.85rem; padding-right: 0.85rem; }
}
.takeaways-list {
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
}
.takeaway-row {
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.takeaway-row:last-child { border-bottom: 1px solid var(--border); }
.takeaway-row.revealed { opacity: 1; transform: translateY(0); }
.takeaway-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 2.25rem 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.takeaway-title {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin: 0;
}
.takeaway-num {
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.25em;
}
.takeaway-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--accent);
  transition: transform 0.35s ease, background 0.25s ease, border-color 0.25s ease;
}
.takeaway-header:hover .takeaway-toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d0d12;
}
.takeaway-row.open .takeaway-toggle { transform: rotate(180deg); }
.takeaway-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.takeaway-body-wrap > .takeaway-body-inner { overflow: hidden; min-height: 0; }
.takeaway-row.open .takeaway-body-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
}
.takeaway-body-inner { max-width: 60ch; }
.takeaway-row.open .takeaway-body-inner { padding-bottom: 2.25rem; }
.takeaway-body {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 1rem;
}
.takeaway-body:last-child { margin-bottom: 0; }
.takeaway-body strong { color: var(--text-primary); font-weight: 700; }
@media (max-width: 820px) {
  .takeaway-header { padding: 1.75rem 0; gap: 1rem; }
  .takeaway-body { font-size: 0.98rem; }
  .takeaway-row.open .takeaway-body-inner { padding-bottom: 1.75rem; }
}

/* Full-width graph row (heatmaps): text stacked above, chart spans entire line */
.graph-row.graph-row--full {
  display: block;
  max-width: 1500px;
  padding: 0 2rem;
}
.graph-row.graph-row--full .graph-row-text {
  max-width: 820px;
  margin-bottom: 2.5rem;
}
.graph-row.graph-row--full .graph-row-chart { width: 100%; }
.graph-row.graph-row--full .graph-host { min-height: 0; height: auto; }

/* Directional caption used by graph_20 (placed under the chart, outside the SVG) */
.graph-direction-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.5rem 0.5rem 0;
  margin-top: -0.25rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
@media (max-width: 600px) {
  .graph-direction-caption { font-size: 0.65rem; letter-spacing: 0.08em; }
}

/* ── Interviews short cards ── */
.interview-quote-subject {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
a.interview-toggle { text-decoration: none; }

/* ── Full Interviews section ── */
/* Account for the fixed nav bar when scrolling to in-page anchors */
html { scroll-behavior: smooth; }
[data-section], .insights-section, .institutions-section, .contributors-section,
.full-interviews-section, .graph-row, .chapter-head, .narrative-bridge,
.interviews-section, .highlights-section, [id] {
  scroll-margin-top: 96px;
}
.full-interviews-section {
  max-width: 1100px;
  margin: 4rem auto 4rem;
  padding: 0 2rem;
  scroll-margin-top: 96px;
}
.full-interview {
  scroll-margin-top: 80px;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.full-interview.revealed { opacity: 1; transform: translateY(0); }
.full-interview:first-of-type { border-top: none; padding-top: 1rem; }

.full-interview-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.full-interview-avatar {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent-subtle);
  border: 1px solid var(--accent);
  display: grid; place-items: center;
  overflow: hidden;
}
.full-interview-avatar span {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.full-interview-avatar--photo { border-color: var(--border); }
.full-interview-avatar--photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Paired interview header: two overlapping avatars */
.full-interview-avatar-stack { display: flex; align-items: center; flex-shrink: 0; }
.full-interview-avatar-stack .full-interview-avatar {
  position: relative;
  box-shadow: 0 0 0 3px var(--bg);
}
.full-interview-avatar-stack .full-interview-avatar:first-child { z-index: 2; }
.full-interview-avatar-stack .full-interview-avatar:not(:first-child) { margin-left: -22px; z-index: 1; }
.full-interview-meta { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.full-interview-date {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.full-interview-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.005em;
}
.full-interview-byline {
  margin: 0.25rem 0 0 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.full-interview-name { font-weight: 600; color: var(--text-primary); margin-right: 0.4rem; }
.full-interview-title { color: var(--text-secondary); }
.full-interview-interviewers {
  margin: 0.15rem 0 0 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.full-interview-body { display: flex; flex-direction: column; gap: 2.5rem; }
.full-interview-qa { }
.full-interview-topic {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.full-interview-question {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
}
.full-interview-question strong {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
  margin-right: 0.4rem;
}
.full-interview-answer p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 1rem 0;
}
.full-interview-answer p:last-child { margin-bottom: 0; }

.full-interview-pulls {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.full-interview-pulls h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem 0;
}
.full-interview-pull {
  margin: 0 0 1.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent-yellow);
}
.full-interview-pull blockquote {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--text-primary);
  margin: 0;
}
.full-interview-pull figcaption {
  margin-top: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .full-interviews-section { padding: 0 1rem; margin: 3rem auto; }
  .full-interview { padding: 2rem 0; }
  .full-interview-header { flex-direction: column; gap: 1rem; }
  .full-interview-avatar { width: 52px; height: 52px; }
  .full-interview-question { font-size: 1rem; }
  .full-interview-answer p { font-size: 0.95rem; }
}

/* ── Interviews dedicated page ── */
.interviews-page-header {
  padding-top: 6rem;
  padding-bottom: 1rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.interviews-page-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
}
.interviews-page-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  color: var(--text-primary);
  margin: 0.5rem 0 0.85rem 0;
  letter-spacing: -0.01em;
}
.interviews-page-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 600px) {
  .interviews-page-header { padding-top: 5rem; }
  .interviews-page-header-inner { padding: 1rem 1rem 2rem; }
}

/* ═══ GATED CONTENT (magic-link auth) ═══ */
.gated-content, .solutions-page { transition: filter 0.3s ease; }
.gated-content { position: relative; }
body.is-locked .gated-content,
body.is-locked .solutions-page {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}
body.is-locked .gated-content::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, var(--bg-primary) 85%);
  pointer-events: none;
}

.gate-banner {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 50;
  width: min(560px, calc(100vw - 2rem));
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body.is-locked .gate-banner.gate-banner--visible { display: block; }
.gate-banner-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.gate-banner-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.2;
}
.gate-banner-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0 0 1rem;
  line-height: 1.55;
}
.gate-banner-cta {
  background: var(--accent);
  color: var(--bg-primary);
  border: none;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.gate-banner-cta:hover { background: var(--accent-dim); }
[data-theme="light"] .gate-banner-cta { color: #fff; }
@media (max-width: 600px) {
  .gate-banner { left: 1rem; right: 1rem; transform: none; width: auto; padding: 1.1rem 1.25rem; }
  .gate-banner-title { font-size: 1.15rem; }
}
