/* ------------------------------------------------------------------
   Rapid — Motion tokens
   Signature: blur-in reveal on scroll (Framer Motion in production).
   Respect prefers-reduced-motion.
------------------------------------------------------------------- */

:root {
  /* Easing */
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --ease-micro: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */

  /* Durations */
  --dur-reveal: 0.7s;   /* @kind other */
  --dur-micro: 0.15s;   /* @kind other */

  /* Stagger */
  --stagger-words: 0.06s;   /* @kind other */
  --stagger-cards: 0.08s;   /* @kind other */

  /* Reveal transform */
  --reveal-y: 24px;
  --reveal-blur: 10px;
}

/* Signature blur-in reveal keyframes (CSS fallback for the
   Framer Motion whileInView effect used in production). */
@keyframes rapid-reveal {
  from { opacity: 0; transform: translateY(24px); filter: blur(10px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);    }
}

@keyframes rapid-aurora {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(4%, 3%) scale(1.15); }
  100% { transform: translate(0, 0) scale(1); }
}

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