@media (max-width: 920px) {
  body.menu-open .site-header {
    height: 100vh;
    height: 100dvh;
    overflow: visible;
    background: var(--paper);
    color: var(--ink);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .brand {
    position: relative;
    z-index: 103;
  }

  .menu-button {
    z-index: 104;
  }

  .nav-links {
    z-index: 102;
    justify-content: flex-start;
    gap: .25rem;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(112px + env(safe-area-inset-top)) max(2rem, calc((100vw - 740px) / 2)) calc(2rem + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links > a,
  .nav-link {
    width: 100%;
    padding: .42rem 0;
    font-size: clamp(1.75rem, 7vw, 2.8rem);
    line-height: 1.1;
  }

  .nav-dropdown__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-dropdown__toggle::after {
    content: "+";
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    font: 400 1.5rem/1 "DM Sans", sans-serif;
    transition: transform .2s ease;
  }

  .nav-item.is-open .nav-dropdown__toggle::after {
    transform: rotate(45deg);
  }

  .nav-dropdown,
  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    max-height: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: max-height .25s ease, margin .25s ease, opacity .2s ease;
  }

  .nav-item.is-open .nav-dropdown,
  .nav-item.is-open:hover .nav-dropdown,
  .nav-item.is-open:focus-within .nav-dropdown {
    max-height: 10rem;
    margin: .3rem 0 .65rem;
    padding: .2rem 0 .2rem 1rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-dropdown a {
    width: 100%;
    padding: .42rem 0;
    font-size: clamp(1.25rem, 5.2vw, 1.8rem);
  }

  .nav-links .button {
    width: auto;
    margin-top: .65rem;
    padding-inline: 1.25rem;
  }
}

@media (max-width: 620px) {
  .nav-links {
    padding-top: calc(94px + env(safe-area-inset-top));
    padding-inline: 1.4rem;
  }
}
