/* The header divider and hero artwork share one edge at every viewport size. */
:root{--page-gutter:64px;--site-header-height:98px;--site-header-bottom:calc(var(--site-header-height) + env(safe-area-inset-top,0px))}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
/* The case-section anchor aligns its background edge with the viewport. */
html:has(#cases:target){scroll-padding-top:0}
.wrap{
 padding-left:max(var(--page-gutter),env(safe-area-inset-left,0px));
 padding-right:max(var(--page-gutter),env(safe-area-inset-right,0px));
}
.header .wrap{
 height:var(--site-header-bottom);
 padding-top:env(safe-area-inset-top,0px);
}
.header .brand,.header-actions{flex-shrink:0}
.hero-art{top:var(--site-header-bottom);left:0;right:0;overflow:hidden}
.hero-art img{position:absolute;bottom:0;right:0;width:auto;max-width:none;height:100%;object-fit:contain}
.hero-body{padding-top:calc(121px + env(safe-area-inset-top,0px))}
.footer{padding-bottom:max(26px,env(safe-area-inset-bottom,0px))}
@media(min-width:1600px){
 .hero-art{right:calc((100vw - 1540px)/2)}
 .hero-art img{mask-image:linear-gradient(90deg,transparent 0%,#000 40%,#000 90%,transparent 100%)}
}
@media(max-width:1150px){:root{--page-gutter:40px}}
@media(max-width:1100px){
 :root{--site-header-height:78px}
 .header .menu-toggle{background:#e2e2e0eb}
 .header .nav{
  top:var(--site-header-bottom);
  max-height:calc(100svh - var(--site-header-bottom));
  overflow-y:auto;overscroll-behavior:contain;
  padding-left:max(var(--page-gutter),env(safe-area-inset-left,0px));
  padding-right:max(var(--page-gutter),env(safe-area-inset-right,0px));
 }
}
@media(max-width:800px){
 :root{--page-gutter:26px}
 .hero-body{padding-top:calc(132px + env(safe-area-inset-top,0px))}
 .hero-art img{left:84%;right:auto;transform:translateX(-79%)}
}
@media(max-width:480px){
 .hero-art img{left:76%}
}
@media(max-width:380px){
 :root{--page-gutter:20px}
 .hero-body{padding-top:calc(118px + env(safe-area-inset-top,0px))}
}
@media(max-width:800px) and (max-height:600px) and (orientation:landscape){
 .hero-body{padding-top:calc(108px + env(safe-area-inset-top,0px))}
}
