/* Reserve the original header height, including while the fixed header compacts. */
body{padding-top:104px}
.site-header{
  position:fixed;inset:0 0 auto;z-index:50;
}
.site-header.header-motion{
  transition:height .3s ease,background-color .3s ease,border-color .3s ease,box-shadow .3s ease;
}
.site-header .brand-logo{transition:none}
.site-header.header-motion .brand-logo{transition:width .3s ease}
.site-header.is-scrolled{
  height:72px;background:rgba(246,245,240,.28);
  border-bottom-color:rgba(255,255,255,.8);
  -webkit-backdrop-filter:blur(12px) saturate(165%);
  backdrop-filter:blur(12px) saturate(165%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 3px 5px rgba(255,255,255,.25),inset 0 -2px 2px rgba(255,255,255,.65),inset 0 -5px 7px rgba(128,152,156,.16),0 4px 18px rgba(36,40,31,.08);
}
/* Thin, varied highlights suggest light bending around the glass edges. */
.site-header::before,.site-header::after{
  content:"";position:absolute;left:0;right:0;height:6px;pointer-events:none;opacity:0;
}
.site-header::before{
  top:0;
  background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,.85) 18%,rgba(210,235,245,.25) 40%,rgba(255,255,255,.12) 57%,rgba(255,243,220,.72) 82%,rgba(255,255,255,.15));
  -webkit-mask-image:linear-gradient(#000,transparent);mask-image:linear-gradient(#000,transparent);
}
.site-header::after{
  bottom:0;
  background:linear-gradient(90deg,rgba(211,236,245,.65),rgba(255,255,255,.9) 25%,rgba(255,255,255,.15) 49%,rgba(255,235,215,.55) 72%,rgba(255,255,255,.95));
  -webkit-mask-image:linear-gradient(transparent,#000);mask-image:linear-gradient(transparent,#000);
}
.site-header.is-scrolled::before,.site-header.is-scrolled::after{opacity:1}
.site-header.header-motion::before,.site-header.header-motion::after{transition:opacity .3s ease}
.site-header.is-scrolled .brand-logo{width:190px}
.site-header.is-scrolled .nav .button{padding-block:11px}
@media(max-width:980px){body{padding-top:86px}}
@media(max-width:720px){
  body{padding-top:80px}
  .site-header.is-scrolled{height:60px}
  .site-header.is-scrolled .brand-logo{width:156px}
  .site-header .menu-toggle{min-height:44px;min-width:64px}
  .site-header .nav{top:100%;max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain}
  .site-header.is-scrolled .nav{
    max-height:calc(100dvh - 60px);background:rgba(246,245,240,.94);
    border-bottom-color:rgba(255,255,255,.7);
    box-shadow:0 12px 22px rgba(36,40,31,.10);
  }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .site-header.is-scrolled{background:rgba(246,245,240,.94)}
}
@media(prefers-reduced-motion:reduce){
  .site-header,.site-header .brand-logo{transition:none}
}
