/* One continuous scroll response. The outer slot keeps page content stable. */
.sx{
  --sx-nav-progress:0;
  --sx-header-expanded:84px;
  --sx-header-contraction:16px;
  --sx-header-height:calc(var(--sx-header-expanded) - var(--sx-header-contraction) * var(--sx-nav-progress));
}
.sx-header-shell{
  position:sticky;
  top:var(--exhibit-bar);
  z-index:90;
  height:var(--sx-header-expanded);
  pointer-events:none;
}
.sx .sx-header{
  position:relative;
  top:0;
  height:var(--sx-header-height);
  gap:28px;
  pointer-events:auto;
  background:rgba(9,9,9,calc(.99 - .37 * var(--sx-nav-progress)));
  border-bottom-color:rgba(255,255,255,calc(.06 + .08 * var(--sx-nav-progress)));
  box-shadow:0 8px 24px rgba(0,0,0,calc(.22 * var(--sx-nav-progress))),inset 0 1px 0 rgba(255,255,255,calc(.08 * var(--sx-nav-progress)));
  backdrop-filter:blur(28px) saturate(140%);
  -webkit-backdrop-filter:blur(28px) saturate(140%);
  transition:background-color .35s ease,box-shadow .35s ease,border-color .35s ease;
}
.sx .sx-header.is-solid{
  background:rgba(9,9,9,calc(.99 - .37 * var(--sx-nav-progress)));
  box-shadow:0 8px 24px rgba(0,0,0,calc(.22 * var(--sx-nav-progress))),inset 0 1px 0 rgba(255,255,255,calc(.08 * var(--sx-nav-progress)));
}
.sx .sx-header .sx-brand{width:calc(148px - 16px * var(--sx-nav-progress))}
.sx .sx-header .sx-nav{gap:clamp(20px,2.2vw,34px)}
.sx .sx-header .sx-nav>a,
.sx .sx-header .sx-nav>details>summary{font-size:12px;letter-spacing:.09em;min-height:44px}
.sx .sx-header .sx-button{height:44px;min-height:44px;font-size:11px;padding:11px 18px;gap:22px}
.sx .sx-header .sx-nav .sx-nav-dropdown>a{font-size:12px;letter-spacing:.03em}
.sx .sc-hero-clean{min-height:calc(100svh - var(--exhibit-bar) - var(--sx-header-expanded))}
/* Fragment links clear the expanded header, including keyboard navigation. */
html:has(.sx){scroll-padding-top:calc(var(--exhibit-bar) + 100px)}
@media(max-width:1050px){
  .sx{--sx-header-expanded:76px;--sx-header-contraction:16px}
  .sx .sx-header{gap:18px}
  .sx .sx-header .sx-nav,.sx .sx-header .sx-header-cta{display:none}
  .sx .sx-header .sx-brand{width:calc(136px - 16px * var(--sx-nav-progress))}
  .sx .sx-menu-toggle{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    margin-left:auto;
    width:calc(48px - 4px * var(--sx-nav-progress));
    height:calc(48px - 4px * var(--sx-nav-progress));
    min-width:44px;
    min-height:44px;
    gap:calc(7px - 1px * var(--sx-nav-progress));
    border:1px solid rgba(223,255,0,calc(.1 + .2 * var(--sx-nav-progress)));
    border-radius:5px;
    background:var(--sc-lime);
  }
  .sx .sx-menu-toggle span{width:calc(22px - 4px * var(--sx-nav-progress));height:2px;background:#121509;flex:none}
  html:has(.sx){scroll-padding-top:calc(var(--exhibit-bar) + 90px)}
}
@media(prefers-reduced-motion:reduce){
  .sx .sx-header,.sx .sx-header *{transition:none!important}
}

/* Keep a legible solid surface in browsers without background blur. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .sx .sx-header,.sx .sx-header.is-solid{background:rgba(9,9,9,.96)}
}
