/* BRASA motion: keyframes, reduced-motion, journey snap fallback */

@keyframes marquee {
  100% {
    transform: translateX(-50%);
  }
}

@keyframes nudge {
  50% {
    transform: translateY(4px);
  }
}

.reveal {
  opacity: 1;
}

@media (width <= 899px), (prefers-reduced-motion: reduce) {
  .journey-track {
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--card);
    padding-bottom: 20px;
    overflow-x: auto;
  }

  .journey-panel {
    scroll-snap-align: center;
    flex-basis: 90%;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .scroll-progress {
    display: none;
  }

  .marquee-track,
  .scroll-arrow svg {
    animation: none !important;
  }
}
