/* Local image plane avoids fixed-position clipping differences across browsers.
   The CSS background remains visible before decode or without JavaScript. */
.mid-parallax{position:relative;isolation:isolate;overflow:hidden;height:clamp(320px,42vw,620px);clip-path:polygon(0 64px,100% 0,100% calc(100% - 64px),0 100%);background:#123c33 url("architecture.jpg") center 45%/cover no-repeat;margin:0 0 80px}
.mid-parallax>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 45%;pointer-events:none;display:block}
.mid-parallax.parallax-ready>img{top:-30%;height:160%;transform:translate3d(0,var(--parallax-y,0px),0)}
@media(max-width:991px){.mid-parallax{height:clamp(280px,55svh,440px);clip-path:polygon(0 30px,100% 0,100% calc(100% - 30px),0 100%);margin-bottom:50px;background-position:54% center}.mid-parallax>img{object-position:54% center}}
.motion-paused .mid-parallax.parallax-ready>img{top:0;height:100%;transform:none}
@media(prefers-reduced-motion:reduce){.mid-parallax.parallax-ready>img{top:0;height:100%;transform:none}}
