:root {
  --motion-feedback: 150ms;
  --motion-transition: 280ms;
  --motion-entrance: 520ms;
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  [data-motion="heading"].motion-entering {
    animation: motion-heading var(--motion-entrance) var(--motion-ease);
  }
  [data-motion="photo"].motion-entering {
    animation: motion-photo var(--motion-entrance) var(--motion-ease);
  }
  @keyframes motion-heading {
    from { opacity: .78; translate: 0 .22em }
  }
  @keyframes motion-photo {
    from { scale: 1.045 }
  }
}

/* Clipping the image keeps the frame and neighbouring controls stationary. */
.screen-model:has([data-motion="photo"]) { overflow: clip }

:is(.hero-prices-link, .msk-price-link, .catalog-arrows button:enabled):active {
  border-color: #dda286;
  background-color: #42362f;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-prices-link, .msk-price-link, .catalog-arrows button {
    transition: background-color var(--motion-feedback) ease-out, border-color var(--motion-feedback) ease-out;
  }
}
