/* Show the skip link on the first keyboard-focus frame. */
.skip-link:focus {
  transition: none;
}

/* The sticky header's blur otherwise makes it the containing block for the fixed drawer. */
@media (max-width: 59.999rem) {
  .site-header:has(> .drawer:not([hidden])) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--surface);
  }
}

/* Preserve desktop hover while a keyboard user explicitly closes a disclosure. */
.nav__item > [data-dropdown][aria-expanded="false"]:focus-visible + .nav__panel {
  visibility: hidden;
  opacity: 0;
  transition: none;
}
