html {
  overflow-anchor: none;
  scroll-padding-top: var(--sticky-height, 280px);
}
.masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #0a0a0a;
}
.masthead .main-nav { position: relative; top: auto; }
.masthead .brand-row.wrap {
  min-height: 0;
  padding-block: 14px;
  transition: padding 300ms ease;
}
.masthead .brand { min-width: 0; max-width: 100%; }
.masthead .brand img {
  display: block;
  height: 228.8px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: height 300ms ease;
}
.masthead.is-compact .brand-row.wrap { padding-block: 4px; }
.masthead.is-compact .brand img { height: 102.4px; }
.masthead .nav-links a { transition: none; }
@media (max-width: 1060px) {
  .masthead .main-nav.expanded .nav-links {
    max-height: max(90px,calc(100dvh - var(--sticky-height,280px)));
  }
}
@media (prefers-reduced-motion: reduce) {
  .masthead .brand-row.wrap, .masthead .brand img { transition: none; }
}
