/* ==========================================================================
   VANT DESIGN - Motion Design & Micro-Interactions
   Refined with Emil Kowalski Physics & Hardware Acceleration
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Custom Kinetic Magnetic Cursor (Desktop Only)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   2. 3D Tilt Card Perspective Support
   -------------------------------------------------------------------------- */
.project-card {
  transform-style: preserve-3d;
  will-change: transform;
}
/* --------------------------------------------------------------------------
   3. Scroll Reveal & Stagger Animations
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 500ms var(--ease-smooth),
              transform 500ms var(--ease-smooth);
  will-change: opacity, transform;
}
.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Stagger Delays */
.stagger-1 { transition-delay: 50ms; }
.stagger-2 { transition-delay: 100ms; }
.stagger-3 { transition-delay: 150ms; }
.stagger-4 { transition-delay: 200ms; }
.stagger-5 { transition-delay: 250ms; }
.stagger-6 { transition-delay: 300ms; }

/* --------------------------------------------------------------------------
   4. Micro-Interaction Press Physics
   -------------------------------------------------------------------------- */
button:active,
.btn-primary:active,
.btn-secondary:active,
.filter-btn:active,
.calc-chip:active {
  transform: scale(0.96) !important;
  transition: transform 80ms ease-out !important;
}
/* --------------------------------------------------------------------------
   5. Pulse & Ambient Drift Effects
   -------------------------------------------------------------------------- */
@keyframes ambientDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}
/* --------------------------------------------------------------------------
   6. Accessibility & Reduced Motion
   -------------------------------------------------------------------------- */
@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;
}
.reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
}
}
