/* ============================================
   HOME PAGE - Base Styles & Shared Utilities
   ============================================

   This file contains shared utilities and base styles
   used across home page components:
   - Reveal animations ([data-animate])
   - Common utilities

   ============================================ */

/* ========= REVEAL ANIMATIONS ========= */
/* Note: Process step styles moved to components/process.css */

/* Reveal animations using data-animate attributes */
[data-animate] {
  opacity: 0;
  transform: translateY(18px) translateZ(0);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000px;
  -webkit-perspective: 1000px;
}

[data-animate="fade-left"] {
  transform: translateX(18px) translateZ(0);
}

[data-animate="fade-right"] {
  transform: translateX(-18px) translateZ(0);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0) translateZ(0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
