/* Desktop only: the two cards meet beneath the pinned services heading. */
@keyframes services-enter-left{from{transform:translate3d(calc(-1 * var(--services-enter-distance)),0,0)}to{transform:translate3d(0,0,0)}}
@keyframes services-enter-right{from{transform:translate3d(var(--services-enter-distance),0,0)}to{transform:translate3d(0,0,0)}}
@media(min-width:761px){
 .services-page-scroll-rail{position:relative;display:flow-root}
 .services-page-scroll-content{position:sticky;top:var(--services-pin-top,0px);display:flow-root}
 :is(#architektura,#realizacie).services-scroll-active{overflow:visible}
 :is(#architektura,#realizacie).services-scroll-active :is(.services-window,.projects-window).native-slider-window{
  width:var(--services-screen-width,100vw);
  margin-inline:calc((100% - var(--services-screen-width,100vw))/2);
  overflow:hidden;scroll-snap-type:none;
 }
 :is(#architektura,#realizacie).services-scroll-active :is(.services-track,.projects-track){
  width:min(1136px,calc(var(--services-screen-width,100vw) - 64px));
  margin-inline:auto;
 }
 :is(#architektura,#realizacie).services-scroll-active :is(.services-track,.projects-track)>:is(.tile,.project-card){will-change:transform;backface-visibility:hidden}
 @supports (animation-timeline:scroll(root block)) and (animation-range:0px 1px){
  :is(#architektura,#realizacie).services-scroll-native :is(.services-track,.projects-track)>:is(.tile,.project-card){
   animation:services-enter-left 1s linear both;
   animation-timeline:scroll(root block);
   animation-range:var(--services-scroll-start) var(--services-scroll-end);
  }
  :is(#architektura,#realizacie).services-scroll-native :is(.services-track,.projects-track)>:is(.tile,.project-card):last-child{animation-name:services-enter-right}
 }
}

/* Partner logos also use this keyframe on their own scroll timeline. */
@keyframes services-mobile-progress{from{transform:translate3d(0,0,0)}to{transform:translate3d(var(--services-slide-end),0,0)}}

/* Transparent paint room prevents the outgoing blur from ending in a hard edge. */
:is(#architektura,#realizacie).services-scroll-active :is(.services-window,.projects-window).native-slider-window{
 padding-block:40px;margin-block:-40px;box-sizing:content-box;position:relative;z-index:1;
}

/* The final hero photograph can blur beyond its bottom edge before collapse. */
@media(min-width:761px){
 body.home-page .hero-scroll-gallery{overflow:visible!important;position:relative;z-index:1}
 body.home-page .hero-scroll-active .gallery-window{overflow:visible!important}
}
