html { scroll-behavior: smooth; }

.scroll-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.scroll-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-fade-stagger > *:nth-child(1) { transition-delay: 0ms; }
.scroll-fade-stagger > *:nth-child(2) { transition-delay: 80ms; }
.scroll-fade-stagger > *:nth-child(3) { transition-delay: 160ms; }
.scroll-fade-stagger > *:nth-child(4) { transition-delay: 240ms; }
.scroll-fade-stagger > *:nth-child(5) { transition-delay: 320ms; }
.scroll-fade-stagger > *:nth-child(6) { transition-delay: 400ms; }

.hero-content {
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.ken-burns {
  animation: kenBurns 25s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-fade, .hero-content, .ken-burns { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
