@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.page-shell {
  animation: page-enter 300ms ease both;
}

.c-hero__copy,
.c-hero__art,
.c-section,
.c-source-cta {
  animation: card-enter 540ms var(--spring) both;
}

.c-hero__art {
  animation-delay: 120ms;
}

.c-section:nth-of-type(2) {
  animation-delay: 120ms;
}

.c-section:nth-of-type(3) {
  animation-delay: 240ms;
}

.c-section:nth-of-type(4) {
  animation-delay: 360ms;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  body::before {
    position: absolute;
  }
}
