/* Full-bleed glass header: the bar spans the whole viewport while the
   content stays inside the centered shell. */
.nav {
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.nav::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(20, 20, 27, 0.06), 0 10px 30px rgba(20, 20, 27, 0.04);
}