/* ─── Tokens ─── */
:root {
  --bg-deep: #0a0e17;
  --bg-surface: #111827;
  --bg-card: rgba(17, 24, 39, 0.72);
  --accent-warm: #f59e0b;
  --accent-coral: #fb7185;
  --accent-teal: #2dd4bf;
  --accent-sky: #38bdf8;
  --accent-violet: #a78bfa;
  --text-primary: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(148, 163, 184, 0.12);
  --glow-warm: rgba(245, 158, 11, 0.35);
  --glow-teal: rgba(45, 212, 191, 0.25);
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-teal) var(--bg-deep);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  cursor: default;
}

/* ─── Canvas & overlays ─── */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-teal) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

body.is-interactive .cursor-glow { opacity: 1; }

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(to bottom, rgba(10, 14, 23, 0.9), transparent);
  backdrop-filter: blur(8px);
  transition: transform 0.5s var(--ease-out-expo);
}

.nav.is-hidden { transform: translateY(-100%); }

.nav__brand {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
  white-space: nowrap;
}

.nav__progress {
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.nav__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-warm));
  border-radius: 2px;
  transition: width 0.1s linear;
}

.nav__menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}

.nav__menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav__menu-btn:hover { border-color: var(--accent-teal); background: rgba(45, 212, 191, 0.08); }
.nav__menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Chapter menu ─── */
.chapter-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 90vw);
  height: 100vh;
  z-index: 200;
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out-expo);
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
}

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

.chapter-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.chapter-menu__close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.chapter-menu__close:hover { color: var(--accent-coral); }

.chapter-menu__list { list-style: none; }

.chapter-menu__item {
  margin-bottom: 0.25rem;
}

.chapter-menu__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  border-radius: 10px;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease-spring);
}

.chapter-menu__link:hover {
  background: rgba(45, 212, 191, 0.08);
  color: var(--text-primary);
  transform: translateX(4px);
}

.chapter-menu__link.is-active {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-warm);
}

.chapter-menu__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Main layout ─── */
main {
  position: relative;
  z-index: 10;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero__content {
  max-width: 720px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero__title-line {
  display: block;
  overflow: hidden;
}

.hero__title-line--accent {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent-coral), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 0.75rem;
  justify-content: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.75rem;
  backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease-spring), border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: 0 12px 40px rgba(45, 212, 191, 0.12);
}

.stat-card__value {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent-warm);
  margin-bottom: 0.25rem;
}

.stat-card__label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.15), rgba(245, 158, 11, 0.15));
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 100px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
  animation: pulse-border 3s ease-in-out infinite;
}

.hero__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px var(--glow-teal);
  border-color: var(--accent-teal);
}

.hero__cta svg {
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
  50% { box-shadow: 0 0 30px rgba(45, 212, 191, 0.2); }
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Orbit decoration */
.hero__orbit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  animation: orbit-spin linear infinite;
}

.orbit-ring--1 { width: 500px; height: 500px; animation-duration: 60s; border-color: rgba(45, 212, 191, 0.08); }
.orbit-ring--2 { width: 700px; height: 700px; animation-duration: 90s; animation-direction: reverse; border-color: rgba(245, 158, 11, 0.06); }
.orbit-ring--3 { width: 900px; height: 900px; animation-duration: 120s; border-color: rgba(251, 113, 133, 0.05); }

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: orbit-travel linear infinite;
}

.orbit-dot--1 { background: var(--accent-teal); animation-duration: 20s; }
.orbit-dot--2 { background: var(--accent-warm); animation-duration: 30s; animation-direction: reverse; }
.orbit-dot--3 { background: var(--accent-coral); animation-duration: 25s; }

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbit-travel {
  0% { transform: rotate(0deg) translateX(250px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(250px) rotate(-360deg); }
}

/* ─── Velocity section ─── */
.velocity {
  min-height: 100vh;
  padding: 6rem 2rem 5rem;
  position: relative;
}

.velocity__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.velocity__header {
  text-align: center;
  margin-bottom: 3rem;
}

.velocity__eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 0.75rem;
}

.velocity__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.velocity__desc {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.velocity__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.metric-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease-spring);
}

.metric-tile:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-2px);
}

.metric-tile__value {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent-warm);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-tile__label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}

.metric-tile__sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.velocity__chart-wrap {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem 1.25rem 1rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
}

.velocity__chart-head,
.velocity__stream-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.velocity__chart-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.velocity__chart-peak,
.velocity__stream-count {
  font-size: 0.8rem;
  color: var(--accent-teal);
}

.velocity__chart {
  display: block;
  width: 100%;
  cursor: crosshair;
}

.velocity__tooltip {
  position: fixed;
  z-index: 150;
  pointer-events: none;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  transform: translate(-50%, -100%);
  opacity: 0;
  transition: opacity 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.velocity__tooltip.is-visible { opacity: 1; }

.velocity__tooltip strong {
  color: var(--accent-warm);
  font-weight: 600;
}

.velocity__stream {
  margin-bottom: 2rem;
}

.velocity__stream-track {
  position: relative;
  height: 48px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.08), rgba(245, 158, 11, 0.08));
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.velocity__stream-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}

.stream-dot {
  position: absolute;
  top: 50%;
  width: var(--size, 6px);
  height: var(--size, 6px);
  margin-left: calc(var(--size, 6px) / -2);
  margin-top: calc(var(--size, 6px) / -2);
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--accent-teal);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.2s var(--ease-spring), background 0.2s;
}

.stream-dot:hover {
  opacity: 1;
  transform: scale(1.4);
  background: var(--accent-warm);
  z-index: 2;
}

.velocity__stream-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.velocity__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  transition: border-color 0.3s, transform 0.3s var(--ease-spring);
}

.highlight-card:hover {
  transform: translateY(-2px);
}

.highlight-card--peak:hover { border-color: rgba(245, 158, 11, 0.35); }
.highlight-card--biggest:hover { border-color: rgba(45, 212, 191, 0.35); }

.highlight-card__tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-violet);
  margin-bottom: 0.5rem;
}

.highlight-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.highlight-card__body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.35rem;
}

.highlight-card__meta {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ─── Chapters ─── */
.chapter {
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
  position: relative;
}

.chapter__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.chapter__header {
  margin-bottom: 3rem;
  position: sticky;
  top: 5rem;
  z-index: 5;
  padding: 1.5rem 0 1.75rem;
  isolation: isolate;
}

.chapter__header::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 0;
  bottom: 0;
  background: rgba(10, 14, 23, 0.82);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border-bottom: 1px solid var(--border);
  z-index: -1;
  pointer-events: none;
}

.chapter__number {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--chapter-color, var(--accent-teal));
  margin-bottom: 0.75rem;
  display: block;
}

.chapter__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.chapter__desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
}

.chapter__accent-line {
  width: 60px;
  height: 3px;
  background: var(--chapter-color, var(--accent-teal));
  border-radius: 2px;
  margin-top: 1.25rem;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.8s var(--ease-out-expo);
}

.chapter.is-visible .chapter__accent-line { transform: scaleX(1); }

/* Bullet grid */
.bullet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.bullet-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  cursor: pointer;
  overflow: hidden;
  transform: translateY(30px);
  opacity: 0;
  transition:
    transform 0.6s var(--ease-out-expo),
    opacity 0.6s ease,
    border-color 0.3s,
    box-shadow 0.3s;
}

.chapter.is-visible .bullet-card {
  transform: translateY(0);
  opacity: 1;
}

.bullet-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--chapter-color, var(--accent-teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.bullet-card:hover::before { transform: scaleX(1); }

.bullet-card:hover {
  border-color: rgba(148, 163, 184, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.bullet-card__index {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--chapter-color, var(--accent-teal));
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.bullet-card__text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}

.bullet-card:hover .bullet-card__text { color: var(--text-primary); }

.bullet-card__expand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--chapter-color, var(--accent-teal));
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}

.bullet-card:hover .bullet-card__expand {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Epilogue ─── */
.epilogue {
  min-height: 80vh;
  padding: 6rem 2rem;
  position: relative;
}

.epilogue__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.epilogue__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

.epilogue__desc {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
  text-align: left;
  margin-bottom: 3rem;
}

.evidence-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-spring);
}

.evidence-item:hover {
  border-color: rgba(167, 139, 250, 0.3);
  transform: translateY(-2px);
}

.evidence-item__label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-violet);
  margin-bottom: 0.35rem;
}

.evidence-item__prs {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'DM Sans', monospace;
}

.epilogue__closing {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.epilogue__restart {
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.75rem 1.5rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-spring);
}

.epilogue__restart:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  transform: scale(1.05);
}

/* ─── Chapter dots ─── */
.chapter-dots {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chapter-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--text-dim);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-spring);
}

.chapter-dot:hover,
.chapter-dot.is-active {
  border-color: var(--dot-color, var(--accent-teal));
  background: var(--dot-color, var(--accent-teal));
  transform: scale(1.3);
}

/* ─── Modal ─── */
.bullet-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bullet-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.bullet-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(8px);
}

.bullet-modal__panel {
  position: relative;
  max-width: 640px;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.5s var(--ease-out-expo);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.bullet-modal.is-open .bullet-modal__panel {
  transform: translateY(0) scale(1);
}

.bullet-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.bullet-modal__close:hover { color: var(--accent-coral); }

.bullet-modal__chapter {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 1rem;
}

.bullet-modal__text {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-primary);
}

/* ─── Reveal animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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

/* Stagger children in hero */
.hero__content .reveal:nth-child(1) { transition-delay: 0.1s; }
.hero__content .reveal:nth-child(2) { transition-delay: 0.25s; }
.hero__content .reveal:nth-child(3) { transition-delay: 0.4s; }
.hero__content .reveal:nth-child(4) { transition-delay: 0.55s; }
.hero__content .reveal:nth-child(5) { transition-delay: 0.7s; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav { padding: 1rem; }
  .chapter-dots { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .bullet-grid { grid-template-columns: 1fr; }
  .orbit-ring--1 { width: 300px; height: 300px; }
  .orbit-ring--2 { width: 420px; height: 420px; }
  .orbit-ring--3 { display: none; }
}

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