/* ==========================================================================
   BHB FOUNDATION — RESTRAINED MOTION & INTERACTION SYSTEM
   PREMIUM, INTENTIONAL, PURPOSE-DRIVEN ANIMATIONS
   ========================================================================== */

/* Base Scroll Reveal Classes */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.reveal-fade.in {
  opacity: 1;
}

/* Stagger Children Utility */
.stagger-group > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-group > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-group > *:nth-child(3) { transition-delay: 0.19s; }
.stagger-group > *:nth-child(4) { transition-delay: 0.26s; }
.stagger-group > *:nth-child(5) { transition-delay: 0.33s; }
.stagger-group > *:nth-child(6) { transition-delay: 0.40s; }

/* Interactive Hover Lift & Smooth Transitions */
.interactive-lift {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.interactive-lift:hover {
  transform: translateY(-2px);
}

/* Smooth Arrow Movement on Link Hover */
.arrow-hover {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.arrow-hover:hover {
  gap: 8px;
}

/* Reduced Motion Support for Accessibility */
@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-up,
  .reveal-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
