/* Persistent dimensions; only the panel's position changes on scroll. */
html { scroll-padding-top: calc(var(--site-header-height, 76px) + 16px); }
.site-header-space { height: var(--site-header-height, max(64px, 5vw)); }
.site-scroll-header {
  position: fixed; z-index: 40; inset: 0 0 auto;
  box-sizing: border-box; height: max(64px, 5vw); min-height: 0;
  background: #000; border-bottom: 1px solid transparent;
  transition: transform 360ms cubic-bezier(.22, .61, .36, 1), visibility 0s;
  will-change: transform;
}
.site-scroll-header.is-away {
  transform: translateY(-110%); visibility: hidden;
  transition-delay: 0s, 360ms;
}
.site-scroll-header:focus-within { transform: none; visibility: visible; }
.site-scroll-header #studio-nav a[aria-current="location"] {
  color: #ff8248; text-decoration: underline;
}
.site-scroll-header a:focus-visible { outline: 2px solid #ff8248; outline-offset: 4px; }
@media (max-width: 850px) {
  .site-scroll-header { height: 64px; }
  .site-scroll-header #studio-nav { max-height: calc(100dvh - 110px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .site-scroll-header { transition: none; }
}
