/**
 * Scroll reveal animations (WOW.js-style) — self-hosted, no CDN.
 */
.mpl-wow {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.7s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.mpl-wow.mpl-wow-visible {
  opacity: 1;
  transform: none !important;
}

.mpl-wow[data-mpl-animate='fade-up'] {
  transform: translate3d(0, 40px, 0);
}

.mpl-wow[data-mpl-animate='fade-down'] {
  transform: translate3d(0, -40px, 0);
}

.mpl-wow[data-mpl-animate='fade-left'] {
  transform: translate3d(40px, 0, 0);
}

.mpl-wow[data-mpl-animate='fade-right'] {
  transform: translate3d(-40px, 0, 0);
}

.mpl-wow[data-mpl-animate='zoom-in'] {
  transform: scale(0.92);
}

.mpl-wow[data-mpl-animate='fade-in'] {
  transform: none;
}

@media (max-width: 767.98px) {
  /* Horizontal slide-in animations can cause right-edge overflow on narrow screens */
  .mpl-wow[data-mpl-animate='fade-left'],
  .mpl-wow[data-mpl-animate='fade-right'] {
    transform: translate3d(0, 28px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mpl-wow {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
