/* One fixed landscape canvas shared by every one of the eight images. */
#potencjal .gorna-pairs-showcase{
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:1180px!important;
  margin-inline:auto!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
#potencjal .gorna-pairs-stage{
  position:sticky!important;
  top:clamp(76px,12vh,132px)!important;
  z-index:2!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:16 / 9!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  background:#101210!important;
}
#potencjal .gorna-pairs-stage > .gorna-pairs-image{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  object-fit:cover!important;
  object-position:50% 50%!important;
  opacity:0;
  transition:opacity .12s linear;
  will-change:opacity;
}
#potencjal .gorna-pairs-scroll-space{
  display:block!important;
  width:1px!important;
  height:calc(7 * 90vh)!important;
  min-height:0!important;
  pointer-events:none!important;
}
@media(max-width:700px){
  #potencjal .gorna-pairs-stage{
    top:76px!important;
    aspect-ratio:16 / 9!important;
  }
  #potencjal .gorna-pairs-scroll-space{
    height:calc(7 * 54vh)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #potencjal .gorna-pairs-stage > .gorna-pairs-image{transition:none!important}
}
/* The final sauna photos are portrait originals: show the complete frame. */
#potencjal .gorna-pairs-stage > .gorna-pairs-image--portrait{
  object-fit:contain!important;
  object-position:center center!important;
}

/* A restrained progress line makes the scroll-driven transition feel intentional. */
#potencjal .gorna-pairs-stage::after{
  content:"";
  position:absolute;
  z-index:5;
  left:0;
  bottom:0;
  width:100%;
  height:2px;
  background:rgba(236,230,218,.22);
  transform:scaleX(var(--pairs-progress,0));
  transform-origin:left center;
  pointer-events:none;
}
#potencjal .gorna-pairs-scroll-hint{
  display:none;
}
@media(max-width:700px){
  /* Keep the landscape image at the visual center of the phone screen. */
  #potencjal .gorna-pairs-stage{
    top:50vh!important;
    top:50svh!important;
    transform:translate3d(0,-50%,0)!important;
  }
  #potencjal .gorna-pairs-scroll-hint{
    position:absolute;
    z-index:6;
    left:50%;
    bottom:12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:8px 12px;
    border:1px solid rgba(245,240,229,.32);
    border-radius:999px;
    background:rgba(12,14,12,.54);
    color:rgba(250,247,240,.92);
    font:500 9px/1 "Manrope",sans-serif;
    letter-spacing:.16em;
    white-space:nowrap;
    transform:translateX(-50%);
    pointer-events:none;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    animation:gorna-pairs-hint 1.8s ease-in-out infinite;
  }
}
@keyframes gorna-pairs-hint{
  0%,100%{translate:0 0;opacity:.72}
  50%{translate:0 3px;opacity:1}
}
@media(prefers-reduced-motion:reduce){
  #potencjal .gorna-pairs-scroll-hint{animation:none}
}
