/* Team clothesline final geometry pass.
   Replace conflicting 100vw and viewport-lock overrides with one real, browser-wide scroll strip. */
html:has(body.team-page){height:auto!important;max-height:none!important;overflow-x:clip!important;overflow-y:auto!important}
body.team-page{height:auto!important;max-height:none!important;min-height:100dvh!important;overflow-x:clip!important;overflow-y:auto!important;display:flex!important;flex-direction:column}
.team-page .team-shell{width:min(1400px,calc(100% - 2.5rem))!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;flex:1 0 auto!important;overflow:visible!important;padding-bottom:0}
.team-page .team-lineup{
 width:100%;max-width:100%;flex:1 0 auto!important;min-height:0!important;
 overflow:visible!important;justify-content:flex-start!important;
 padding:clamp(24px,4vh,55px) 0 clamp(2.4rem,4.5vh,3.5rem)!important;
 gap:clamp(.85rem,1.6vh,1.3rem)!important
}
.team-page .team-intro{width:100%;padding-top:0!important}
.team-page .team-gallery{
 left:calc(50% - 50vw)!important;transform:none!important;
 width:100vw!important;max-width:100vw!important;
 height:auto!important;max-height:none!important;
 min-width:0!important;margin:0!important;padding:0!important;
 position:relative;overflow:visible!important;isolation:isolate
}
.team-page .team-gallery::before{top:57px;z-index:0}
.team-page .team-rope-window{
 display:block;box-sizing:border-box;
 position:relative;z-index:1;
 width:100%!important;max-width:100%!important;
 height:auto!important;max-height:none!important;
 min-height:0!important;overflow-x:auto!important;overflow-y:hidden!important;
 mask-image:none!important;-webkit-mask-image:none!important;
 clip-path:none!important;scroll-snap-type:x proximity;
 touch-action:pan-x;overscroll-behavior-x:contain;
 scrollbar-width:thin;scrollbar-color:#725d94 #120f1b
}
.team-page .team-rope-track{
 --rope-gap:clamp(24px,2.4vw,45px);
 position:relative;display:flex;width:max-content;min-width:100%;max-width:none;
 height:auto;align-items:flex-start;gap:var(--rope-gap);
 padding:clamp(69px,6vw,80px) clamp(85px,7vw,125px) clamp(40px,4vw,64px)!important;
}
.team-page .team-person{--card-width:clamp(276px,26vw,368px);flex:0 0 var(--card-width);width:var(--card-width);height:auto;scroll-snap-align:start}
.team-page .team-photo{aspect-ratio:1.37/1!important}
.team-page .team-polaroid{min-height:0}
.team-page .team-polaroid p{min-height:2.7em}
.team-page .team-gesture-guide{top:37%;pointer-events:none}
.team-page .team-gallery-controls{
 flex:0 0 auto;display:flex;align-items:center;justify-content:center;
 gap:1rem;margin:.15rem auto .25rem;position:relative;z-index:5
}
.team-page .team-gallery-controls button{width:42px;height:42px;border-radius:50%}
.team-page .team-gallery-count{min-width:95px;text-align:center;color:#c4b6de;font:700 .74rem "DM Sans",sans-serif;letter-spacing:.06em}
.team-page .team-gallery-controls button:focus-visible{outline:2px solid #e1bbff;outline-offset:3px}
.team-page .site-legal-footer{position:relative;width:100%;margin-top:auto}
@media(max-width:700px){
 .team-page .team-shell{width:calc(100% - 1.5rem)!important}
 .team-page .team-lineup{padding:1.4rem 0 2.3rem!important;gap:1rem!important}
 .team-page .team-gallery{left:calc(50% - 50vw)!important}
 .team-page .team-rope-track{--rope-gap:24px;padding:70px 35px 38px!important}
 .team-page .team-person{--card-width:min(77vw,330px)}
 .team-page .team-photo{aspect-ratio:1.28/1!important}
 .team-page .team-gallery-controls{margin:0 auto .75rem}
 .team-page .team-gesture-guide{top:40%}
}
@media(max-height:750px) and (min-width:701px){
 .team-page .team-lineup{padding:12px 0 24px!important;gap:.5rem!important}
 .team-page .team-rope-track{padding-top:60px!important;padding-bottom:32px!important}
 .team-page .team-photo{aspect-ratio:1.6/1!important}
}
@media(prefers-reduced-motion:reduce){.team-page .team-rope-window{scroll-behavior:auto}}
