.menu-toggle {
  display: none;
}

@media (max-width: 800px) {
  .masthead.menu-ready {
    position: relative;
    z-index: 10;
    flex-direction: row;
    align-items: center;
  }

  .masthead .menu-toggle:not([hidden]) {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    padding: .55rem .85rem;
    border: 1px solid var(--rule);
    border-radius: .4rem;
    background: #171417;
    color: var(--gold-bright);
    font: inherit;
    cursor: pointer;
  }

  .menu-toggle span {
    width: .95rem;
    height: .7rem;
    border-block: 1px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
  }

  .masthead.menu-ready nav {
    display: none;
    position: absolute;
    inset: calc(100% - .6rem) 0 auto auto;
    width: min(100%, 18rem);
    padding: .4rem;
    border: 1px solid var(--rule);
    border-radius: .45rem;
    background: #121115;
    box-shadow: 0 .8rem 1.8rem #000a;
  }

  .masthead .menu-toggle[aria-expanded="true"] + nav {
    display: grid;
    gap: 0;
  }

  .masthead.menu-ready nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .55rem .7rem;
    border-radius: .25rem;
    background: none;
  }

  .masthead.menu-ready nav a:is(:hover, :focus-visible) {
    background: #2c231b;
    color: var(--gold-bright);
    outline-offset: -2px;
  }
}
