/* Homepage content must remain reachable on desktop and enlarged displays.
   Keep the existing artwork, type scale and hero minimum heights. */
html:has(body.front-page){height:auto;overflow-x:hidden;overflow-y:auto;}
body.front-page{height:auto;min-height:100svh;overflow:visible;}
body.front-page #app{flex:none;}
body.front-page .landing{height:auto;min-height:0;}
body.front-page .home-hero{flex:none;}
/* A modal keeps its own scrolling surface and locks the page behind it. */
html:has(body.front-page):has(dialog[open]),body.front-page:has(dialog[open]){overflow:hidden;}
