header.fixed > .glass-highlight:first-child {
  background: rgb(20 20 20 / 96%);
  border-color: rgb(255 255 255 / 18%);
  box-shadow: 0 8px 28px rgb(0 0 0 / 24%);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header.fixed > .glass-highlight:first-child {
    background: rgb(20 20 20 / 76%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
    backdrop-filter: blur(22px) saturate(135%);
  }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  header.fixed > .glass-highlight:first-child {
    background: #181818;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

#value {
  scroll-margin-block-start: 100px;
}

header.fixed button[aria-expanded]:focus-visible,
#mobile-navigation a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}

@media (max-width: 767.98px) {
  header.fixed > .glass-highlight:first-child {
    padding-block: 6px;
  }

  header.fixed button[aria-expanded] {
    width: 44px;
    height: 44px;
  }

  #mobile-navigation {
    max-height: calc(100dvh - 88px - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 639.98px) {
  #top h1 {
    font-size: clamp(2rem, 10.25vw, 3rem);
    overflow-wrap: anywhere;
  }

  #contact > .pointer-events-none {
    max-width: 100%;
  }

  #contact .grid > * {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 379.98px) {
  #contact .grid > .glass-strong {
    padding: 24px 20px;
  }
}
