.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--transition-reveal),
    transform var(--transition-reveal);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal:nth-child(2) { transition-delay: 90ms; }
.hero .reveal:nth-child(3) { transition-delay: 160ms; }
.hero .reveal:nth-child(4) { transition-delay: 230ms; }

.signal-lines path {
  stroke-dasharray: 8 5;
  animation: signal-travel 18s linear infinite;
}

.signal-lines path:nth-child(2) { animation-delay: -2s; }
.signal-lines path:nth-child(3) { animation-delay: -4s; }
.signal-lines path:nth-child(4) { animation-delay: -6s; }
.signal-lines path:nth-child(5) { animation-delay: -8s; }
.signal-lines path:nth-child(6) { animation-delay: -10s; }
.signal-lines path:nth-child(7) { animation-delay: -12s; }

.signal-chip { animation: quiet-float 6s ease-in-out infinite; }
.signal-chip--two { animation-delay: -2.5s; }

.command-board {
  animation: board-enter 1s cubic-bezier(.22, 1, .36, 1) .35s both;
}

.modal:not([hidden]) .modal__backdrop { animation: backdrop-in 240ms ease-out both; }
.modal:not([hidden]) .modal__panel { animation: modal-in 420ms cubic-bezier(.22, 1, .36, 1) both; }
.modal.is-closing .modal__backdrop { animation: backdrop-out 220ms ease-in both; }
.modal.is-closing .modal__panel { animation: modal-out 220ms ease-in both; }

@keyframes signal-travel {
  to { stroke-dashoffset: -130; }
}

@keyframes quiet-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes board-enter {
  from { opacity: 0; transform: translate(-50%, 60px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes modal-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(12px) scale(.98); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
