/* Quiet, premium motion system. */
@media (prefers-reduced-motion: no-preference) {
  body.rw-site.rw-motion-ready [data-rw-reveal] {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
      opacity var(--rw-duration-slow) var(--rw-ease),
      transform var(--rw-duration-slow) var(--rw-ease);
    transition-delay: var(--rw-reveal-delay, 0ms);
  }

  body.rw-site.rw-motion-ready [data-rw-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  body.rw-site .rw-image-zoom,
  body.rw-site .rw-media > img,
  body.rw-site .woocommerce ul.products li.product a img {
    transition: transform 700ms var(--rw-ease), filter var(--rw-transition);
  }

  body.rw-site .rw-image-zoom:hover img,
  body.rw-site .rw-media:hover > img,
  body.rw-site .woocommerce ul.products li.product:hover a img {
    transform: scale(1.018);
  }

  body.rw-site .rw-icon-button svg,
  body.rw-site .header-button svg {
    transition: transform var(--rw-transition);
  }

  body.rw-site .rw-icon-button:hover svg,
  body.rw-site .header-button:hover svg {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  body.rw-site *,
  body.rw-site *::before,
  body.rw-site *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
