/* Editorial scrolling for large REAL client galleries & published portfolios.
   The original approved demo has no dependency on this stylesheet. */
html.af-scroll-supported .af-scroll-entry{
 opacity:.035;
 transform:translate3d(0,32px,0) scale(.985);
 transition:opacity .85s cubic-bezier(.16,1,.3,1),
            transform 1.05s cubic-bezier(.16,1,.3,1);
 will-change:opacity,transform;
}
html.af-scroll-supported .af-scroll-entry.af-scroll-visible{
 opacity:1;
 transform:translate3d(0,0,0) scale(1);
 will-change:auto;
}
html.af-scroll-supported .af-scroll-entry:focus-within{
 opacity:1;
 transform:none;
}
@media(max-width:760px){
 html.af-scroll-supported .af-scroll-entry{
  transform:translate3d(0,13px,0) scale(.992);
  transition-duration:.54s,.67s;
 }
}
@media(prefers-reduced-motion:reduce){
 html.af-scroll-supported .af-scroll-entry{
  opacity:1!important;
  transform:none!important;
  transition:none!important;
  will-change:auto!important;
 }
}
/* No page scrolling restrictions, wheel interception or snap behavior.
   Native mouse and touch scrolling remains uninterrupted. */

/* Cinematic image drift: subtly different speeds across the editorial grid.
   Motion is tied to visibility and native scroll, not to custom wheel physics.
   No scroll-snap, scroll locks, layout offsets or infinite animation loops. */
html.af-scroll-supported .collection-client-card.af-depth-card>img{
 transform:translate3d(0,var(--af-depth-y),0) scale(1.145);
 transform-origin:center;
 transition:transform .22s ease-out,filter .35s ease-out;
 backface-visibility:hidden;
}
html.af-scroll-supported .collection-client-card.af-depth-card:hover>img,
html.af-scroll-supported .collection-client-card.af-depth-card:focus-within>img{
 transform:translate3d(0,var(--af-depth-y),0) scale(1.17);
}
@media(max-width:760px){
 html.af-scroll-supported .collection-client-card.af-depth-card>img{
  transform:translate3d(0,var(--af-depth-y),0) scale(1.10);
  transition:transform .16s ease-out,filter .24s ease-out;
 }
 html.af-scroll-supported .collection-client-card.af-depth-card:hover>img,
 html.af-scroll-supported .collection-client-card.af-depth-card:focus-within>img{
  transform:translate3d(0,var(--af-depth-y),0) scale(1.13);
 }
}
@media(prefers-reduced-motion:reduce){
 html.af-scroll-supported .collection-client-card.af-depth-card>img,
 html.af-scroll-supported .collection-client-card.af-depth-card:hover>img,
 html.af-scroll-supported .collection-client-card.af-depth-card:focus-within>img{
  transform:none!important;transition:none!important;
 }
}
