/* Shared distance from the header to the first page content. */
:root{--page-top-space:6.6vw}
.intro-title{padding-top:var(--page-top-space)}
#work.work-index,.playground-main,.about-layout{padding-top:var(--page-top-space)}
.about-story{padding-top:0}
@media(min-width:601px){
 .case-details,.case-gallery{padding-top:var(--page-top-space)}
 .case-details>div:first-child{padding-top:0}
}
@media(max-width:600px){
 :root{--page-top-space:48px}
 .case-layout{padding-top:var(--page-top-space)}
 .case-details>div:first-child{padding-top:0}
 .case-details h1{margin-top:0}
}

/* Keep the biography still while the right-hand panels scroll. */
@media(min-width:601px){
 html:has(.about-page),body.about-page{height:100%;overflow:hidden}
 .about-page .header{flex-shrink:0}
 .about-layout{flex:0 0 auto;height:calc(100svh - 104px);min-height:0;overflow:hidden;padding-top:0;padding-bottom:0;align-items:stretch}
 .about-story{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-top:var(--page-top-space);padding-bottom:calc(var(--about-footer-height,100px) + 24px);scrollbar-width:thin}
 .about-panels{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-top:var(--page-top-space);padding-bottom:calc(var(--about-footer-height,100px) + 24px);animation:none}
 .about-panels>*{flex-shrink:0}
 .about-page footer.section-wrap{position:fixed;bottom:0;left:0;right:0;z-index:20;transform:translateY(100%)}
}
