/* Animations and reduced motion. Split out of style.css (issue #159). */

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

@keyframes jis-view-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes jis-progress {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

@keyframes jis-menu-in {
  from { opacity: 0; transform: translateY(-4px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  #projects-view,
  #test-view,
  .point-menu,
  .progress-fill::after { animation: none !important; }
}
