/* Keyframes and entrance choreography. Everything here is decorative and
   fully disabled under prefers-reduced-motion. */

@keyframes glow-breathe {
  from {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes scroll-cue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Entrance stagger — copy arrives while the sphere assembles. */
.hero-copy > * {
  opacity: 0;
  animation: hero-in 1000ms var(--ease-out) forwards;
}

.hero-copy > :nth-child(1) {
  animation-delay: 200ms;
}

.hero-copy > :nth-child(2) {
  animation-delay: 420ms;
}

.hero-copy > :nth-child(3) {
  animation-delay: 640ms;
}

.hero-copy > :nth-child(4) {
  animation-delay: 780ms;
}

.hero-scroll {
  opacity: 0;
  animation: hero-in 1000ms var(--ease-out) 1600ms forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow,
  .hero-scroll::after {
    animation: none;
  }

  .hero-copy > *,
  .hero-scroll {
    opacity: 1;
    animation: none;
  }
}
