/* Safe motion support for Gallery and Private Hire.
   Keeps container animations active while preventing the image files themselves from stretching. */
.gallery figure,
.hire-photo,
.hire-photo-strip figure{
  will-change:transform,opacity;
  backface-visibility:hidden;
  transform-style:preserve-3d;
}

.gallery img,
.hire-photo img,
.hire-photo-strip img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  transform:none!important;
  max-width:none;
}

.hire-photo-strip figure{
  transition:transform .35s ease, box-shadow .35s ease;
}

.hire-photo-strip figure:hover{
  transform:translateY(-8px);
  box-shadow:0 26px 70px rgba(23,17,95,.18);
}

.gallery figure.motion-ready,
.hire-photo.motion-ready,
.hire-photo-strip figure.motion-ready{
  opacity:1;
}

@media (prefers-reduced-motion:reduce){
  .gallery figure,
  .hire-photo,
  .hire-photo-strip figure{
    transform:none!important;
    transition:none!important;
  }
}
