/* ── HERO REVEAL ANIMATIONS ── */
.reveal-fade {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out);
}
.hero-title .word.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SCROLL REVEAL (IntersectionObserver) ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.scroll-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ── STAGGERED SCROLL CHILDREN ── */
.chapters-track .chapter-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.chapters-track.in .chapter-card { opacity: 1; transform: translateY(0); }
.chapters-track.in .chapter-card:nth-child(1) { transition-delay: 0.05s; }
.chapters-track.in .chapter-card:nth-child(2) { transition-delay: 0.12s; }
.chapters-track.in .chapter-card:nth-child(3) { transition-delay: 0.19s; }
.chapters-track.in .chapter-card:nth-child(4) { transition-delay: 0.26s; }
.chapters-track.in .chapter-card:nth-child(5) { transition-delay: 0.33s; }
.chapters-track.in .chapter-card:nth-child(6) { transition-delay: 0.40s; }

.features-list .feature-item {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), padding-left 0.3s, border-left-color 0.3s;
}
.features-list.in .feature-item { opacity: 1; transform: translateX(0); }
.features-list.in .feature-item:nth-child(1) { transition-delay: 0.05s; }
.features-list.in .feature-item:nth-child(2) { transition-delay: 0.12s; }
.features-list.in .feature-item:nth-child(3) { transition-delay: 0.19s; }
.features-list.in .feature-item:nth-child(4) { transition-delay: 0.26s; }
.features-list.in .feature-item:nth-child(5) { transition-delay: 0.33s; }
