/* Hero carousel: the next photo opens as a growing circle from the ball over the current one,
   while settling from a slight zoom (2.4 s, then the photo holds still until the next switch). The outgoing photo stays underneath until the reveal ends.
   Active dot becomes a pill that fills over the 7 s autoplay interval. Pure CSS on top of the existing .on toggle. */
.sf-hero .media img{
  opacity:0;z-index:1;transform:scale(1.14);
  clip-path:circle(0% at 50% 62%);
  transition:opacity 0s 1.2s,clip-path 0s 1.2s,transform 0s 1.2s,filter 0s 1.2s;
  filter:saturate(1.25) brightness(1.06);
  will-change:clip-path,transform}
.sf-hero .media img.on{
  opacity:1;z-index:2;transform:scale(1);filter:none;
  clip-path:circle(150% at 50% 62%);
  transition:clip-path 1.2s cubic-bezier(.77,0,.18,1),transform 2.4s cubic-bezier(.16,1,.3,1),filter 1.4s ease}
.sf-dots{align-items:center}
.sf-dots button{transition:width .35s cubic-bezier(.2,.8,.2,1),border-radius .35s}
.sf-dots button[aria-current=true]{width:30px;border-radius:6px;
  background:linear-gradient(var(--pp-ink),var(--pp-ink)) left/0% 100% no-repeat;animation:sfHeroFill 7s linear forwards}
@keyframes sfHeroFill{to{background-size:100% 100%}}
@media(prefers-reduced-motion:reduce){
  .sf-hero .media img,.sf-hero .media img.on{transition:none!important;transform:none;clip-path:none;filter:none}
  .sf-dots button[aria-current=true]{animation:none;background:var(--pp-ink)}}
