/* CSS owns ambient motion; JS adds bounded pointer and count interactions. */
@keyframes panel-arrive {
  from {
    opacity: 0;
    translate: 0 14px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes scan {
  0%,20% {
    transform: translateY(0);
  }
  80%,100% {
    transform: translateY(450%);
  }
}

@keyframes pilot {
  0%,100% {
    box-shadow: 0 0 4px #e6c79e;
    opacity: .75;
  }
  50% {
    box-shadow: 0 0 9px #e6c79e;
    opacity: 1;
  }
}

.hero-copy__body {
  animation: panel-arrive .85s var(--ease) both;
}

.profile-console {
  animation: panel-arrive .95s .12s var(--ease) both;
}

.metric {
  animation: panel-arrive .7s calc(.25s + var(--order)*.09s) var(--ease) both;
}

.pilot-light {
  animation: pilot 3.8s ease-in-out infinite;
}

.profile-screen__scan {
  animation: scan 8s linear infinite;
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
  .profile-console {
    transform: none!important;
  }
}
