/*
 * Subtle CSS Micro-interactions and Scroll Animations
 */

@keyframes ksFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.ks-fade-in {
  animation: ksFadeIn 0.35s ease-out forwards;
}

/* Scroll reveal classes */
.ks-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ks-reveal.ks-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion support */
@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;
  }
  .ks-ticker-items {
    animation: none !important;
  }
  .ks-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
