html {
  scroll-padding-top: var(--fixed-nav-offset, 112px);
}

[id] {
  scroll-margin-top: var(--fixed-nav-offset, 112px);
}

[data-scroll-navigation] {
  z-index: var(--z-navigation);
  view-transition-name: site-navigation;
}

.scroll-progress {
  z-index: var(--z-progress);
}

.brand,
.brand-link,
.error-brand {
  view-transition-name: site-brand;
}

.nav-links {
  position: relative;
  isolation: isolate;
}

.nav-links a {
  position: relative;
  z-index: 2;
}

.nav-links a.active,
.nav-links a[aria-current="location"] {
  color: #fff;
  background: transparent;
}

.nav-indicator {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 0;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .055));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 8px 24px rgba(0, 0, 0, .16);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition:
    transform var(--motion-standard) var(--ease-standard),
    width var(--motion-standard) var(--ease-standard),
    height var(--motion-standard) var(--ease-standard),
    opacity var(--motion-fast) ease;
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
}

.nav-indicator.is-ready {
  opacity: 1;
}

@media (max-width: 760px) {
  .nav-indicator {
    height: 36px;
  }
}

@media (forced-colors: active) {
  .nav-indicator {
    border: 2px solid Highlight;
    background: Canvas;
  }

  .nav-links a[aria-current="location"] {
    color: HighlightText;
  }
}

html[data-motion="reduced"] .nav-indicator {
  transition: none;
}
