/* Shared by Vue pages and the standalone Experiments scene. */
body .site-header{box-sizing:border-box;display:grid!important;grid-template-columns:2fr 8fr!important;gap:0!important;width:100%;padding:12px 10px 0!important;font-family:Studio6,Arial,sans-serif!important;font-size:11px!important;font-weight:400!important;line-height:1!important;letter-spacing:0!important;-webkit-text-stroke:.9px currentColor!important;z-index:30}
body .site-header a{color:inherit;text-decoration:none;font:inherit;letter-spacing:inherit}
body .site-header nav{display:grid!important;grid-template-columns:4fr 2fr 1fr 1fr!important;gap:0!important;padding:0}
body .site-header nav a:last-child{text-align:right}
body .site-header .brand{white-space:nowrap}
body .site-header .menu-toggle{display:none;border:0;background:none;color:inherit;font:inherit;padding:0}
body .site-header.shell-floating{position:fixed;top:0;left:0;color:#f2f2f2;mix-blend-mode:difference}
@keyframes mobile-panel-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
@keyframes mobile-panel-out{from{transform:translateX(0)}to{transform:translateX(100%)}}
@media(max-width:720px){
 body .site-header{grid-template-columns:1fr auto!important;padding:10px 12px 0!important;font-size:13px!important;-webkit-text-stroke-width:.65px!important}
 body .site-header .menu-toggle{display:block;position:relative;z-index:2;cursor:pointer}
 body .site-header nav{display:none!important}
 body:has(.site-header.menu-open){overflow:hidden}
 body .site-header.menu-open{position:fixed;inset:0;height:100dvh;background:transparent!important;color:#111!important;mix-blend-mode:normal!important;z-index:100;animation:none!important;transform:none!important}
 body .site-header.menu-open .menu-toggle{position:absolute;top:10px;right:12px}
 body .site-header nav.open{box-sizing:border-box;position:fixed;inset:0;display:flex!important;flex-direction:column;align-items:flex-start;gap:0!important;margin:0;padding:31dvh 12px 0!important;background:#f2f2f2;color:#111;z-index:1;font-size:10.5vw!important;line-height:.87!important;letter-spacing:-.035em!important;-webkit-text-stroke-width:1.4px!important;animation:mobile-panel-in .48s cubic-bezier(.16,1,.3,1) both}
 body .site-header nav.open a{text-align:left}
 body .site-header.menu-closing nav.open{animation:mobile-panel-out .38s cubic-bezier(.65,0,.35,1) both}
 body .site-header.menu-closing{pointer-events:none}
}
@media(prefers-reduced-motion:reduce){body .site-header nav.open{animation:none!important}}

body .site-footer{box-sizing:border-box;position:fixed;bottom:0;left:0;width:100%;height:20px;display:grid;grid-template-columns:2fr 4fr 3fr 1fr;gap:0;padding:0 10px;align-items:center;background:transparent;color:#f2f2f2;mix-blend-mode:difference;z-index:110;font-family:Studio6,Arial,sans-serif;font-size:11px;line-height:1;-webkit-text-stroke:.9px currentColor}
body .site-footer a{color:inherit;text-decoration:none}body .site-footer a:last-child{text-align:right}
@media(max-width:720px){body .site-footer{display:flex;justify-content:space-between;height:auto;padding:4px 12px max(3px,env(safe-area-inset-bottom));font-size:clamp(11px,3.1vw,13px);-webkit-text-stroke-width:.65px}body .site-footer>:nth-child(2),body .site-footer>:nth-child(4){display:none}}

@media(max-width:720px){
 body .site-header.menu-open .brand{position:relative;z-index:2}
 body .site-header nav.open{-webkit-text-stroke-width:1.7px!important}
 body .site-header{--mobile-heading-size:min(10.5vw,5.2dvh)}
}
@media(max-width:720px){
 body .site-header.menu-open .brand{align-self:start;justify-self:start;height:fit-content;width:fit-content}
}

/* Shared mobile type scale: the homepage is the reference. */
@media(max-width:720px){
 :root{--type-small:12px;--stroke-small:.75px;--type-medium:19px;--stroke-medium:.8px;--stroke-heading:1.4px}
 body .site-header,body .site-footer,.home-touch .home-meta,.home-thumbnails button,
 .archive-filters button,.archive-card .archive-card-detail,.project-info,.project-body .text-row,
 .about-sections,.about-sections h3,.about-contact h2,
 #left-label,#right-label,#bottom-text,#central-experiment{
  font-size:var(--type-small)!important;-webkit-text-stroke-width:var(--stroke-small)!important
 }
 .project-body .text-row.grande,.about-bio{font-size:var(--type-medium);-webkit-text-stroke-width:var(--stroke-medium)}
 body .site-header nav.open{-webkit-text-stroke-width:var(--stroke-heading)!important}
 #top-fixed-text h1{font-size:24px;line-height:.97;-webkit-text-stroke-width:1px}
}

@media(max-width:720px){
 .project-body .text-row.grande{font-size:19px!important;-webkit-text-stroke-width:.85px!important;line-height:1.05}
 body .site-footer{box-sizing:border-box!important;height:auto!important;min-height:26px!important;line-height:1.2!important;padding:4px 12px max(6px,env(safe-area-inset-bottom))!important;overflow:visible!important}
 html,body{overflow-x:clip}
 .home-touch .home-meta p{display:block;-webkit-line-clamp:unset;white-space:normal;text-wrap:balance;overflow:visible;height:auto;min-height:2.4em;line-height:1.2;padding:0 0 3px;overflow-wrap:normal}
}
