/* The inset keeps the picture inside its original rectangle as the pixels enlarge.
   The separate scale property preserves the photographs' existing vertical parallax. */
@media screen and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html:not(.mc-motion-off) :where(.foto-zoom, .stay-gallery:not(.stay-gallery--viewer) [data-active] > img) {
    scale: 1;
    clip-path: inset(0);
    transition: scale .65s cubic-bezier(.23,.68,.3,1), clip-path .65s cubic-bezier(.23,.68,.3,1);
  }
  html:not(.mc-motion-off) .foto-marco:is(:hover, :focus-visible, :has(:focus-visible)) .foto-zoom {
    scale: 1.038;
    clip-path: inset(1.83%);
  }
  html:not(.mc-motion-off) .mc-entry:is(:hover, :focus-visible) .mc-entry-image > .foto-zoom {
    transform: none;
  }
  html:not(.mc-motion-off) .stay-gallery:not(.stay-gallery--viewer) .stay-gallery__stage:is(:hover, :has(:focus-visible)) [data-active] > img {
    scale: 1.023;
    clip-path: inset(1.125%);
  }
}
@media screen and (hover: none) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .foto-paso {
    --foto-acercar: 1.034;
    --foto-recorte: 1.644%;
    animation: foto-entrada 1.55s ease-in-out;
  }
  .stay-gallery .foto-paso {
    --foto-acercar: 1.023;
    --foto-recorte: 1.125%;
  }
  @keyframes foto-entrada {
    0%, 100% { scale: 1; clip-path: inset(0); }
    45% { scale: var(--foto-acercar); clip-path: inset(var(--foto-recorte)); }
  }
}
