.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero-animate > * {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 800ms var(--ease) forwards;
}

.hero-animate > *:nth-child(1) { animation-delay: 80ms; }
.hero-animate > *:nth-child(2) { animation-delay: 160ms; }
.hero-animate > *:nth-child(3) { animation-delay: 240ms; }
.hero-animate > *:nth-child(4) { animation-delay: 320ms; }
.hero-animate > *:nth-child(5) { animation-delay: 400ms; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-animate > *,
  .card,
  .card__media img,
  .btn {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
