/* ==========================================================================
   animations.css
   Pre-animation states only. GSAP (js/animations.js) animates from these.
   Nothing is hidden when JavaScript is off, when GSAP fails to load
   (animations.js removes the .js class), or when reduced motion is requested.
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .js .site-header__inner,
  .js [data-split],
  .js [data-hero-fade],
  .js [data-reveal="fade"],
  .js [data-reveal="stagger"] > *,
  .js [data-reveal="list"] > *,
  .js [data-reveal="cards"] > *,
  .js [data-reveal="form"] > *,
  .js .industries__list > *,
  .js .site-footer__bar,
  .js .site-footer__watermark {
    visibility: hidden;
  }

  .js [data-reveal="image"] { clip-path: inset(0 0 100% 0); }
  .js [data-reveal="person"] { clip-path: inset(100% 0 0 0); }
  .js .industries__hline { transform: scaleX(0); }
  .js .industries__vline { transform: scaleY(0); }
}

/* SplitText helpers: masked lines keep descenders visible */
.split-line { padding-bottom: 0.06em; margin-bottom: -0.06em; }

/* Mega menu open/close (GSAP drives clip-path; CSS handles the no-JS case) */
.mega.is-animating { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
