/* Reveal starts at DOM readiness and finishes within 720ms. */
@keyframes pytho-reveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
html.js [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(16px);
}
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  animation: pytho-reveal 720ms var(--ease-out-expo) both;
}
.btn, .nav-connect, button {
  transition: opacity var(--fx-hover) var(--ease-out-expo);
}
.station-index span { transition: opacity 220ms var(--ease-out-expo); }
.observatory-filters.is-positioned .filter-underline {
  transition: transform 220ms var(--ease-out-expo);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal],
  html.js [data-station],
  html.js .station {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .station-index span, .filter-underline { transition: none !important; }
  .reveal-word { opacity: 1 !important; }
}
