/* === Animation System — GSAP-driven === */

/*
 * Initial hidden state for reveal elements.
 * GSAP animates FROM these values — we set opacity:0 as CSS default
 * so elements don't flash before GSAP initializes.
 */
[data-reveal] {
  opacity: 0;
}

/* will-change hints for elements GSAP will animate */
.will-animate {
  will-change: transform, opacity;
}

/* Parallax containers: GPU layer promotion */
[data-speed] {
  will-change: transform;
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-speed] {
    will-change: auto;
  }

  .will-animate {
    will-change: auto;
  }
}
