[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-enter 0.8s ease forwards;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-copy-enter 0.7s ease forwards;
}

.hero-copy > *:nth-child(1) {
  animation-delay: 0.08s;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 0.16s;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 0.24s;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 0.32s;
}

.hero-copy > *:nth-child(5) {
  animation-delay: 0.4s;
}

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

@keyframes hero-copy-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero,
  .hero-copy > *,
  [data-reveal] {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}
