/* Shared hero motion only.
   Opt-in with .js-parallax-hero or [data-parallax="hero"].
*/

.js-parallax-hero,
[data-parallax="hero"] {
  transition: transform 320ms ease, filter 220ms ease;
  will-change: transform;
}

.js-parallax-chip,
[data-parallax="chip"] {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.js-parallax-hero:hover,
[data-parallax="hero"]:hover {
  filter: brightness(1.04);
}

.js-parallax-chip:hover,
[data-parallax="chip"]:hover {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .js-parallax-hero,
  [data-parallax="hero"],
  .js-parallax-chip,
  [data-parallax="chip"] {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}
