/* Shared hero header, including legacy pages. */
body[data-global-header]{padding-top:0!important}
body[data-global-header] main{padding-top:0!important}
body[data-global-header]:not(.home-hero-v3):not(.about-page):not(.projects-page) main > :is(section,header):first-child,
body[data-global-header] .blog-post-header{padding-top:144px!important}
body[data-global-header] #site-header{
  position:fixed;left:50%;right:auto;top:0;width:100%;transform:translateX(-50%);
  background:transparent!important;border:1px solid transparent;border-radius:0;
  box-shadow:none;backdrop-filter:none;opacity:1;visibility:visible;pointer-events:auto;
  transition:width .3s ease,top .3s ease,height .3s ease,border-radius .3s ease,background .3s ease,box-shadow .3s ease;
}
body[data-global-header] #site-header.is-scrolled{
  top:12px;width:min(1240px,calc(100% - 48px));height:68px;min-height:68px;
  border-radius:999px;border-color:rgba(242,236,231,.09);
  background:rgba(12,11,14,.96)!important;backdrop-filter:blur(16px);box-shadow:0 12px 36px rgba(0,0,0,.3);
}
body[data-global-header] #site-header.is-scrolled .nav-shell{width:100%;height:66px;min-height:66px;padding:0 24px;gap:16px}
body[data-global-header] #site-header.on-light:not(.is-scrolled) .main-nav > .nav-item > a{color:#29201e}
body[data-global-header] #site-header.on-light:not(.is-scrolled) .menu-toggle{color:#29201e;border-color:#29201e40}
body[data-global-header] #site-header.on-light:not(.is-scrolled) .menu-toggle b{background:#29201e}
@media(max-width:900px){
  body[data-global-header]:not(.home-hero-v3):not(.about-page):not(.projects-page) main > :is(section,header):first-child,
  body[data-global-header] .blog-post-header{padding-top:112px!important}
  body[data-global-header] #site-header.is-scrolled{top:10px;width:calc(100% - 24px);height:64px;min-height:64px}
  body[data-global-header] #site-header.is-scrolled .nav-shell{height:62px;min-height:62px;padding:0 14px}
}
@media(prefers-reduced-motion:reduce){body[data-global-header] #site-header{transition:none}}
