/* Use the same transform and timing as .story-photo on the exhibition gallery. */
#rts-design .design-grid article > img,
#services .showroom-stage > img,
.rts-contact-rail .rts-contact-action > svg {
  transition: transform .25s ease;
}

/* These images have no wrapper on the live page. An inverse inset keeps the
   visible edges fixed throughout the zoom, including next to the card text. */
#applications .application-card > img,
#company .factory-stages li > img,
#certificates .certificate > img {
  clip-path: inset(0 round var(--rts-photo-radius, 0px));
  transition: transform .25s ease, clip-path .25s ease;
}
#company .factory-stages li > img { --rts-photo-radius: 4px; }

#rts-design .design-grid article:is(:hover, :focus-within) > img,
#services .showroom-stage:is(:hover, :has(button:focus-visible)) > img {
  transform: scale(1.035);
}

#applications .application-card:is(:hover, :focus-visible) > img,
#company .factory-stages li > img:hover,
#certificates .certificate:is(:hover, :focus-visible) > img {
  transform: scale(1.035);
  clip-path: inset(1.691% round var(--rts-photo-radius, 0px));
}

body .rts-contact-rail .rts-contact-action:hover {
  translate: none;
  box-shadow: 0 3px 10px #1d130f24;
}
.rts-contact-rail .rts-contact-action:is(:hover, :focus-visible) > svg { transform: scale(1.14); }

@media (prefers-reduced-motion: reduce) {
  #rts-design .design-grid article > img,
  #services .showroom-stage > img,
  #applications .application-card > img,
  #company .factory-stages li > img,
  #certificates .certificate > img,
  .rts-contact-rail .rts-contact-action > svg { transition: none; }
}