/* ============================================
   BOI Companion Site - Styles
   "How AI is Disrupting Business Models"
   Refined: Light-first, editorial polish, widescreen
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

/* ============================================
   CSS Custom Properties (Light Mode Default)
   Premium editorial: HBR meets Stripe meets Linear
   Deep indigo accent, warm whites, confident type
   ============================================ */
:root {
  /* Backgrounds */
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-section-alt: #f9f8f6;
  --bg-code: rgba(0, 0, 0, 0.03);
  --bg-elevated: #ffffff;

  /* Text Hierarchy */
  --text-heading: #111827;
  --text-primary: #1f2937;
  --text-body: #4b5563;
  --text-muted: #9ca3af;
  --text-faint: rgba(0, 0, 0, 0.15);

  /* Accent: Deep Indigo */
  --accent: #4338ca;
  --accent-hover: #3730a3;
  --accent-bg: rgba(67, 56, 202, 0.04);
  --accent-bg-strong: rgba(67, 56, 202, 0.08);
  --accent-border: rgba(67, 56, 202, 0.15);
  --accent-glow: rgba(67, 56, 202, 0.2);

  /* Borders */
  --border: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(0, 0, 0, 0.12);
  --border-strong: rgba(0, 0, 0, 0.18);

  /* Top bar */
  --topbar-bg: rgba(255, 255, 255, 0.85);
  --topbar-border: rgba(0, 0, 0, 0.06);

  /* Shadows */
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --card-hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.06), 0 3px 10px rgba(0, 0, 0, 0.04);

  /* Overlay */
  --overlay-bg: rgba(0, 0, 0, 0.4);

  /* Fonts */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-padding: 80px 0;
  --topbar-height: 56px;

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   Dark Mode Overrides
   Deep navy-blacks with blue undertone
   ============================================ */
[data-theme="dark"] {
  --bg: #0c0c14;
  --bg-card: #13131e;
  --bg-section-alt: #0f0f1a;
  --bg-code: rgba(255, 255, 255, 0.04);
  --bg-elevated: #1a1a28;

  --text-heading: #f1f1f4;
  --text-primary: #e2e2e8;
  --text-body: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-faint: rgba(255, 255, 255, 0.18);

  --accent: #818cf8;
  --accent-hover: #a5b4fc;
  --accent-bg: rgba(129, 140, 248, 0.06);
  --accent-bg-strong: rgba(129, 140, 248, 0.12);
  --accent-border: rgba(129, 140, 248, 0.18);
  --accent-glow: rgba(129, 140, 248, 0.35);

  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);

  --topbar-bg: rgba(12, 12, 20, 0.85);
  --topbar-border: rgba(255, 255, 255, 0.06);

  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
  --card-hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 3px 10px rgba(0, 0, 0, 0.3);

  --overlay-bg: rgba(0, 0, 0, 0.7);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--topbar-height) + 24px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  letter-spacing: -0.015em;
}

h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: 1.3em;
}

p:last-child {
  margin-bottom: 0;
}

.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
}

.highlight {
  color: var(--accent);
  font-weight: 500;
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================
   Text Selection
   ============================================ */
::selection {
  background: var(--accent-bg-strong);
  color: var(--text-heading);
}

/* ============================================
   Layout
   ============================================ */
.content-wrap {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  min-width: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-padding);
  border-bottom: 1px solid var(--border);
}

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

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-height);
  background: var(--topbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--topbar-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  transition: background var(--transition-base);
}

.top-bar__title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
}

.top-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.burger-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background var(--transition-fast);
}

.burger-btn:hover {
  background: var(--accent-bg);
}

.burger-btn svg {
  width: 20px;
  height: 20px;
  color: var(--text-primary);
}

/* ============================================
   Theme Toggle
   ============================================ */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--accent-bg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

/* ============================================
   Reading Progress Bar
   ============================================ */
.reading-progress {
  position: fixed;
  top: var(--topbar-height, 56px);
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent);
  z-index: 999;
  transition: width 0.1s linear;
  pointer-events: none;
}

.reading-progress::after {
  content: '';
  position: absolute;
  right: 0;
  top: -1px;
  width: 80px;
  height: 5px;
  background: linear-gradient(to left, var(--accent-glow), transparent);
  border-radius: 0 2px 2px 0;
}

/* ============================================
   Sidebar Navigation
   ============================================ */
.sidebar {
  width: 260px;
  position: sticky;
  top: var(--topbar-height);
  height: calc(100vh - var(--topbar-height));
  padding: 40px 24px 40px 32px;
  overflow-y: auto;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  scrollbar-width: thin;
  scrollbar-color: var(--border-hover) transparent;
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: var(--radius-full);
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.sidebar__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-group-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding: 16px 12px 4px;
  margin-top: 4px;
  list-style: none;
  opacity: 0.7;
}

.nav-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  line-height: 1.4;
}

.nav-item:hover {
  color: var(--text-primary);
  background: var(--accent-bg);
}

.nav-item.active {
  color: var(--accent);
  background: var(--accent-bg);
  box-shadow: -2px 0 8px var(--accent-glow);
  border-left: 2px solid var(--accent);
}

.nav-item__num {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  min-width: 18px;
}

.nav-item.active .nav-item__num {
  opacity: 1;
}

/* ============================================
   Mobile Menu
   ============================================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: var(--bg-card);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  padding: 80px 24px 40px;
  overflow-y: auto;
  border-right: 1px solid var(--border);
}

.menu-panel.open {
  transform: translateX(0);
}

.menu-panel .nav-list {
  gap: 4px;
}

.menu-panel .nav-item {
  font-size: 15px;
  padding: 12px 16px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 120px 0 80px;
  text-align: center;
}

.hero .container {
  max-width: 960px;
}

/* Compact hero: side-by-side on desktop */
.hero--compact {
  padding: 80px 0 60px;
}

.hero--compact .container {
  max-width: 1200px;
}

@media (min-width: 1024px) {
  .hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
  }

  .hero__grid .hero__subtitle {
    margin: 0 0 24px;
  }

  .hero__grid .hero__pill {
    margin-bottom: 20px;
  }

  .hero__grid h1 {
    margin-bottom: 16px;
    font-size: 2.4rem;
  }

  .hero__media .video-embed {
    margin: 0;
    max-width: 100%;
  }
}

.hero__pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  border: 1px solid var(--accent-border);
  background: var(--accent-bg);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  transition: all var(--transition-fast);
}

.hero__pill:hover {
  box-shadow: 0 0 20px var(--accent-glow);
}

.hero h1 {
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 720px;
  margin: 0 auto 48px;
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 840px;
  margin: 0 auto 40px;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--card-shadow);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.speaker-info {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.speaker-info strong {
  color: var(--text-primary);
}

.meta-line {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ============================================
   Executive Summary
   ============================================ */
.exec-summary {
  padding: var(--section-padding);
  border-bottom: 1px solid var(--border);
}

.exec-summary .container {
  max-width: 860px;
}

.exec-summary h2 {
  margin-bottom: 32px;
  text-align: center;
}

.exec-summary__body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
}

.exec-summary__body p {
  margin-bottom: 1.4em;
}

@media (min-width: 1025px) {
  .exec-summary__body {
    columns: 2;
    column-gap: 48px;
    column-rule: 1px solid var(--border);
  }

  .exec-summary__body p {
    break-inside: avoid;
  }
}

/* ============================================
   Quick Take - Card-Based Clusters
   ============================================ */
.quick-take {
  padding: var(--section-padding);
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border);
}

.quick-take .container {
  max-width: 1100px;
}

.quick-take h2 {
  margin-bottom: 8px;
  text-align: center;
}

.quick-take__subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.qt-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.qt-tldr-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 10px;
}

.qt-flow {
  position: relative;
}

/* Connector arrows between cards */
.qt-card[data-order] {
  position: relative;
}



/* Step number badge */
.qt-card[data-order]::before {
  content: attr(data-order);
  position: absolute;
  top: -10px;
  left: -10px;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(67, 56, 202, 0.3);
}

.qt-act-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin: 0 0 12px;
  padding-left: 4px;
  position: relative;
  z-index: 1;
}

.qt-act-label--inline {
  grid-column: 1 / -1;
  margin-top: 12px;
}

.qt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.qt-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.qt-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--card-hover-shadow);
}

.qt-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.qt-card__title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text-heading);
}

.cluster-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: var(--accent-bg);
  color: var(--accent);
}

.cluster-icon svg {
  width: 18px;
  height: 18px;
}

.qt-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.qt-card__list li {
  position: relative;
  padding: 8px 0 8px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}

.qt-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.qt-card__list li + li {
  border-top: 1px solid var(--border);
}

.qt-card__list li:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.qt-card__hidden {
  display: none;
}

.qt-card__revealed {
  animation: qt-fade-in 0.3s ease forwards;
}

@keyframes qt-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qt-expand-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 16px auto 32px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.qt-expand-all:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

[data-theme="dark"] .qt-expand-all:hover {
  color: #0c0c14;
}

.qt-card__expand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  align-self: flex-start;
}

.qt-card__expand:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

[data-theme="dark"] .qt-card__expand:hover {
  color: #0c0c14;
}

/* ============================================
   Chapter Overview Cards
   ============================================ */
.overview {
  padding: var(--section-padding);
  border-bottom: 1px solid var(--border);
}

.overview h2 {
  text-align: center;
  margin-bottom: 48px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}

.overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  color: inherit;
  box-shadow: var(--card-shadow);
}

.overview-card:hover {
  border-color: var(--accent-border);
  background: var(--accent-bg);
  transform: translateY(-3px);
  color: inherit;
  box-shadow: var(--card-hover-shadow);
}

.overview-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: var(--accent-bg);
  color: var(--accent);
}

.overview-card__icon svg {
  width: 24px;
  height: 24px;
}

.overview-card__act {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
}

.overview-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.overview-card__sections {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0.8;
}

.overview-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Content Sections
   ============================================ */
.content-section {
  padding: var(--section-padding);
  border-bottom: 1px solid var(--border);
}

.content-section .container {
  max-width: 1060px;
}

.section-header {
  margin-bottom: 56px;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent);
  margin-bottom: 16px;
}

.section-icon svg {
  width: 22px;
  height: 22px;
}

.section-number {
  font-family: var(--font-body);
  font-size: 72px;
  font-weight: 200;
  color: var(--text-faint);
  line-height: 1;
  margin-bottom: 8px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.25;
}

/* Side-by-side slide + narrative (desktop) */
.content-body {
  margin-bottom: 40px;
}

@media (min-width: 1025px) {
  .content-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0 48px;
    align-items: start;
  }

  .content-body .section-narrative {
    margin-bottom: 0;
  }

  .content-body .slide-card,
  .content-body .slide-viewer {
    margin: 0;
    position: sticky;
    top: calc(var(--topbar-height) + 24px);
  }

  .content-body--full .section-narrative {
    grid-column: 1 / -1;
  }
}

.section-narrative {
  margin-bottom: 40px;
}

.section-narrative p {
  margin-bottom: 1.4em;
  font-size: 16px;
  line-height: 1.75;
}

/* ============================================
   Slide Viewer (per-section carousel)
   ============================================ */
.slide-viewer {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--card-shadow);
}

.slide-viewer__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 12px 16px 0;
}

.slide-viewer__item {
  display: none;
}

.slide-viewer__item.active {
  display: block;
}

.slide-viewer__item img {
  width: 100%;
  display: block;
}

.slide-viewer__caption {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.slide-viewer__prev,
.slide-viewer__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.slide-viewer__prev { left: 8px; }
.slide-viewer__next { right: 8px; }

.slide-viewer__prev:hover,
.slide-viewer__next:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.slide-viewer__counter {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 16px 12px;
}

.slide-viewer__current {
  font-weight: 700;
  color: var(--accent);
}

/* ============================================
   Slide Gallery (horizontal scroll)
   ============================================ */
.slide-gallery {
  margin: 32px 0;
  max-width: 560px;
}

.slide-gallery__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.slide-gallery__track::-webkit-scrollbar {
  display: none;
}

.slide-gallery__track .slide-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  margin: 0;
  max-width: 100%;
}

.slide-gallery__nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.slide-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.slide-gallery__dot.active {
  background: var(--accent);
}

/* ============================================
   Slide Card
   ============================================ */
.slide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin: 32px auto;
  max-width: 560px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  position: relative;
  box-shadow: var(--card-shadow);
}

.slide-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--card-hover-shadow);
}

.slide-card img {
  width: 100%;
  display: block;
}

.slide-card__caption {
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.slide-card__expand {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.6);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.slide-card__expand svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.slide-card:hover .slide-card__expand {
  opacity: 1;
}

.slide-card--hero {
  max-width: 600px;
  margin: 40px auto 0;
}

/* ============================================
   Pull Quote
   ============================================ */
.pull-quote {
  margin: 40px 0;
  padding: 24px 0 24px 28px;
  max-width: 680px;
  border-left: 3px solid transparent;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 3px 0%;
  background-repeat: no-repeat;
  background-position: left top;
  transition: background-size 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.pull-quote.revealed {
  background-size: 3px 100%;
}

.pull-quote::before {
  content: none;
}

.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-left: 0;
}

.pull-quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ============================================
   So What? Callout
   ============================================ */
.so-what {
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  padding: 28px 28px 24px;
  margin: 40px 0;
  max-width: 680px;
  box-shadow: var(--card-shadow);
}

.so-what__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
}

.so-what p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
}

/* ============================================
   Three-Column Card (GPT Frame shifts)
   ============================================ */
.shifts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.shift-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--card-shadow);
}

.shift-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
  box-shadow: var(--card-hover-shadow);
}

.shift-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent);
}

.shift-card__icon svg {
  width: 20px;
  height: 20px;
}

.shift-card h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-heading);
}

.shift-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   Full-Bleed Quote Divider
   ============================================ */
.full-bleed-quote {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 32px auto;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #f0eef8 0%, #f5f3fa 40%, #eef0f8 100%);
  overflow: hidden;
  border-radius: 12px;
  box-sizing: border-box;
}

.full-bleed-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: 0;
}

.full-bleed-quote--img {
  background-size: cover;
  background-position: center;
}

.full-bleed-quote--img::before {
  background: rgba(255, 255, 255, 0.6);
}

.full-bleed-quote blockquote {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.full-bleed-quote blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.5;
  color: #1a1a2e;
  margin-bottom: 0;
}

.full-bleed-quote--img blockquote p {
  color: #111827;
}

/* Dark mode full-bleed quotes */
[data-theme="dark"] .full-bleed-quote {
  background: linear-gradient(135deg, #12122a 0%, #0c0c14 50%, #0f1428 100%);
}

[data-theme="dark"] .full-bleed-quote blockquote p {
  color: #f1f1f4;
}

[data-theme="dark"] .full-bleed-quote--img::before {
  background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .full-bleed-quote--img blockquote p {
  color: #f1f1f4;
}

/* ============================================
   Case Study Cards
   ============================================ */
.case-studies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.case-studies__intro {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
  grid-column: 1 / -1;
}

.case-study-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 20px 8px;
}

.case-study-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 28px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--card-shadow);
}

.case-study-card:hover {
  border-color: var(--accent-border);
  border-left-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--card-hover-shadow);
}

.case-study-card h3 {
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.case-study-card .data-point {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.case-study-card .data-point:last-child {
  border-bottom: none;
}

.data-point__label {
  color: var(--text-muted);
}

.data-point__value {
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.data-point__value.count-done {
  animation: countComplete 0.3s ease;
}

@keyframes countComplete {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ============================================
   Disruption Index Grid
   ============================================ */
.disruption-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.index-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--card-shadow);
}

.index-card:hover {
  border-color: var(--accent-border);
  background: var(--accent-bg);
  transform: translateY(-3px);
  box-shadow: var(--card-hover-shadow);
}

.index-card__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.6;
  margin-bottom: 8px;
}

.index-card h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-heading);
}

.index-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   Track Cards
   ============================================ */
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.track-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--card-shadow);
}

.track-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
  box-shadow: var(--card-hover-shadow);
}

.track-card__num {
  font-size: 40px;
  font-weight: 200;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 12px;
}

.track-card h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-heading);
}

.track-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   Q&A Section
   ============================================ */
.qa-section {
  padding: var(--section-padding);
  background: var(--bg-section-alt);
  border-bottom: 1px solid var(--border);
}

.qa-section .container {
  max-width: 800px;
}

.qa-section h2 {
  text-align: center;
  margin-bottom: 48px;
}

.qa-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--card-shadow);
}

.qa-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--card-hover-shadow);
}

.qa-item__question {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.qa-item__answer {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  padding-left: 16px;
  border-left: 2px solid var(--accent-border);
}

/* ============================================
   Closing / CTA Section
   ============================================ */
.closing {
  padding: 120px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.closing .container {
  max-width: 720px;
}

.closing h2 {
  margin-bottom: 24px;
}

.closing__body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-fast);
  min-width: 280px;
  text-align: center;
}

.cta-button:active {
  transform: translateY(1px);
}

.cta-button--primary {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
  box-shadow: 0 2px 8px rgba(67, 56, 202, 0.2);
}

.cta-button--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(67, 56, 202, 0.3);
}

[data-theme="dark"] .cta-button--primary {
  color: #0c0c14;
  box-shadow: 0 2px 8px rgba(129, 140, 248, 0.25);
}

[data-theme="dark"] .cta-button--primary:hover {
  color: #0c0c14;
  box-shadow: 0 4px 16px rgba(129, 140, 248, 0.35);
}

.cta-button--secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.cta-button--secondary:hover {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer__disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer__links {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.footer__links a {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__license {
  font-size: 11px;
  color: var(--text-muted);
}

.footer__license a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* ============================================
   Section Divider Slide
   ============================================ */
.section-divider-slide {
  padding: 0 40px;
  max-width: 860px;
  margin: 0 auto;
}

.slide-card--divider {
  margin: 0;
  border-radius: 8px;
}

/* ============================================
   Lightbox / Slide Viewer
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  transition: background var(--transition-fast);
  z-index: 2;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox__caption {
  color: rgba(255,255,255,0.7);
  text-align: center;
  font-size: 14px;
  margin-top: 16px;
  font-family: var(--font-body);
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 48px;
  line-height: 1;
  transition: color var(--transition-fast);
  z-index: 2;
}

.lightbox__prev {
  left: 16px;
}

.lightbox__next {
  right: 16px;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  color: #fff;
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay utilities */
.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 100ms; }
.stagger-3 { transition-delay: 200ms; }
.stagger-4 { transition-delay: 300ms; }
.stagger-5 { transition-delay: 400ms; }
.stagger-6 { transition-delay: 500ms; }
.stagger-7 { transition-delay: 600ms; }
.stagger-8 { transition-delay: 700ms; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

:focus:not(:focus-visible) {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reading-progress {
    transition: none;
  }

  .reading-progress::after {
    display: none;
  }

  .pull-quote {
    background-size: 3px 100%;
    transition: none;
  }

  .stagger-1, .stagger-2, .stagger-3, .stagger-4,
  .stagger-5, .stagger-6, .stagger-7, .stagger-8 {
    transition-delay: 0ms;
  }

  .data-point__value.count-done {
    animation: none;
  }
}

/* Body scroll lock */
body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

/* ============================================
   Responsive: 1600px+ Ultra-wide
   ============================================ */
@media (min-width: 1600px) {
  .content-section .container {
    max-width: 1100px;
  }

  .exec-summary .container {
    max-width: 920px;
  }

  .hero .container {
    max-width: 1000px;
  }

  .content-body {
    grid-template-columns: 1fr 420px;
    gap: 0 56px;
  }

  .full-bleed-quote blockquote {
    max-width: 800px;
  }
}

/* ============================================
   Responsive: 1024px
   ============================================ */
@media (max-width: 1024px) {
  .sidebar {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .main-content {
    max-width: 100%;
    padding: 0 32px;
  }

  .content-section .container,
  .exec-summary .container,
  .quick-take .container,
  .qa-section .container {
    max-width: 100%;
  }

  .content-body {
    display: block;
  }

  .content-body .slide-card {
    margin: 32px 0;
    position: static;
  }

  .content-body .section-narrative {
    margin-bottom: 40px;
  }

  .exec-summary__body {
    columns: 1;
    font-size: 16px;
    line-height: 1.8;
  }

  .full-bleed-quote { margin-left: 0; width: 100%; max-width: 100%; }

  .section-divider-slide {
    padding: 0 32px;
    max-width: 100%;
  }
}

/* ============================================
   Responsive: 768px
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .section-divider-slide {
    padding: 0 20px;
  }

  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
    font-size: 36px;
  }

  .lightbox__prev {
    left: 8px;
  }

  .lightbox__next {
    right: 8px;
  }

  .lightbox__close {
    width: 44px;
    height: 44px;
    top: 12px;
    right: 12px;
  }

  .main-content {
    padding: 0 20px;
  }

  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero__subtitle {
    font-size: 15px;
  }

  .overview-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .shifts-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-studies {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .disruption-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tracks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .qt-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-number {
    font-size: 52px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .pull-quote {
    margin: 40px 0;
    padding: 28px 0 28px 20px;
  }

  .full-bleed-quote {
    padding: 48px 24px;
    margin-left: 0;
    width: 100%;
  }

  .cta-buttons {
    width: 100%;
  }

  .cta-button {
    min-width: 100%;
  }
}

/* ============================================
   Responsive: 480px
   ============================================ */
@media (max-width: 480px) {
  :root {
    --section-padding: 64px 0;
    --topbar-height: 48px;
  }

  .section-divider-slide {
    padding: 0 16px;
  }

  .lightbox__close {
    width: 48px;
    height: 48px;
    font-size: 28px;
    top: 8px;
    right: 8px;
  }

  .lightbox__prev,
  .lightbox__next {
    font-size: 32px;
    width: 36px;
    height: 36px;
  }

  .top-bar {
    padding: 0 16px;
  }

  .top-bar__title {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .main-content {
    padding: 0 16px;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 80px 0 48px;
  }

  .hero__pill {
    font-size: 9px;
    padding: 5px 12px;
  }

  h1 {
    font-size: 1.75rem;
  }

  .section-number {
    font-size: 44px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .qa-item {
    padding: 20px;
  }

  .so-what {
    padding: 20px;
  }

  .qt-card {
    padding: 20px;
  }

  .full-bleed-quote {
    padding: 40px 16px;
    margin-left: 0;
    width: 100%;
  }

  .closing {
    padding: 80px 0;
  }

  .menu-panel {
    width: 280px;
  }
}

/* ============================================
   Safe Area Insets
   ============================================ */
@supports (padding-top: env(safe-area-inset-top)) {
  .top-bar {
    padding-top: env(safe-area-inset-top);
    height: calc(var(--topbar-height) + env(safe-area-inset-top));
  }

  .menu-panel {
    padding-left: calc(24px + env(safe-area-inset-left));
  }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  .top-bar,
  .sidebar,
  .theme-toggle,
  .burger-btn,
  .menu-overlay,
  .menu-panel,
  .lightbox,
  .cta-button,
  .qt-card__expand,
  .slide-card__expand,
  .reading-progress {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .content-wrap {
    display: block;
  }

  .main-content {
    max-width: 100%;
    padding: 0;
  }

  .section,
  .content-section,
  .exec-summary,
  .quick-take,
  .qa-section {
    padding: 24px 0;
    border-bottom: 1px solid #ccc;
    page-break-inside: avoid;
  }

  .full-bleed-quote {
    background: #f0f0f0 !important;
    width: auto !important;
    margin-left: 0 !important;
    padding: 32px 24px !important;
  }

  .full-bleed-quote blockquote p {
    color: #000 !important;
  }

  .pull-quote {
    border-left-color: #999;
    background-image: none;
    border-left: 3px solid #999;
  }

  .pull-quote::before {
    color: #999;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .overview-grid,
  .shifts-grid,
  .case-studies,
  .disruption-grid,
  .tracks-grid,
  .qt-grid {
    grid-template-columns: 1fr;
  }

  .slide-card,
  .overview-card,
  .case-study-card,
  .index-card,
  .track-card,
  .shift-card,
  .qa-item,
  .so-what,
  .qt-card {
    box-shadow: none !important;
    border: 1px solid #ccc;
  }

  .hero {
    padding-top: 24px;
  }

  .video-embed {
    display: none;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .qt-card__hidden {
    display: block !important;
  }

  .content-body {
    display: block;
  }
}
