/* ============================================================
   AMAN BHUTANI DESIGN SYSTEM — MOTION TOKENS
   Easing: spring-out default (fast start, decelerate)
   Philosophy: purposeful motion, never decorative loops on content
   ============================================================ */

:root {
  /* ── Easing Curves ────────────────────────────────────── */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);  /* @kind other */
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1); /* @kind other */
  --ease-in:     cubic-bezier(0.55, 0, 1, 0.45); /* @kind other */
  --ease-linear: linear;                          /* @kind other */

  /* ── Duration Scale ───────────────────────────────────── */
  --duration-instant: 0ms;   /* @kind other */
  --duration-fast:    150ms; /* @kind other */
  --duration-base:    300ms; /* @kind other */
  --duration-slow:    600ms; /* @kind other */
  --duration-slower:  900ms; /* @kind other */
  --duration-marquee: 28s;   /* @kind other */

  /* ── Delay Steps ──────────────────────────────────────── */
  --delay-1: 100ms; /* @kind other */
  --delay-2: 200ms; /* @kind other */
  --delay-3: 300ms; /* @kind other */
  --delay-4: 400ms; /* @kind other */
  --delay-5: 500ms; /* @kind other */

  /* ── Scroll Reveal ────────────────────────────────────── */
  --reveal-distance: 24px;                   /* @kind spacing */
  --reveal-duration: var(--duration-slower); /* @kind other */
  --reveal-ease:     var(--ease-out);        /* @kind other */
}

/* ── Shared keyframes ───────────────────────────────────── */

@keyframes ab-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

@keyframes ab-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes ab-fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ab-scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

@keyframes ab-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes ab-orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 30px) scale(0.95); }
}

@keyframes ab-spin {
  from { transform: rotate(0deg) translateX(40px); }
  to   { transform: rotate(360deg) translateX(40px); }
}
