.hero-stagger {
  opacity: 0;
  animation: hero-enter 760ms cubic-bezier(.2, .75, .25, 1) forwards;
}

.hero-stagger:nth-child(1) { animation-delay: 120ms; }
.hero-stagger:nth-child(2) { animation-delay: 240ms; }
.hero-stagger:nth-child(3) { animation-delay: 360ms; }
.hero-stagger:nth-child(4) { animation-delay: 500ms; }
.hero-stagger:nth-child(5) { animation-delay: 640ms; }
.hero-stagger:nth-child(6) { animation-delay: 760ms; }

[data-reveal] {
  opacity: 0;
  transition:
    opacity 760ms cubic-bezier(.2, .75, .25, 1),
    transform 760ms cubic-bezier(.2, .75, .25, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal="up"] { transform: translateY(38px); }
[data-reveal="left"] { transform: translateX(-52px); }
[data-reveal="right"] { transform: translateX(52px); }
[data-reveal="zoom"] { transform: scale(.9); }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

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

  .hero-stagger,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
