/* Center each home screen inside the visible area beneath the sticky header. */
@media(max-width:760px){
 html[data-site-style] body[data-page=index] .home-panel{min-height:var(--home-available-height,calc(100dvh - var(--site-header-height)));box-sizing:border-box}
 html[data-site-style] body[data-page=index] :is(.home-content,.home-showcase,.home-panel.hero,.home-panel.home-contact){justify-content:center}
 html[data-site-style] body[data-page=index] .home-panel.hero>.stage{height:clamp(150px,calc(var(--home-available-height, 700px)*.29),250px)!important}
}

/* The JS controller owns vertical scrolling; prevent WebKit scroll anchoring and rubber-band competition. */
html.home-drag-enabled{scroll-behavior:auto!important;overflow-anchor:none;overscroll-behavior-y:none}
html.home-drag-enabled body,html.home-drag-enabled main{overflow-anchor:none}
html.home-drag-enabled main{will-change:auto!important;transform:none!important}
