.mobile-only-header,
.mobile-index-button,
.mobile-menu-panel {
  display: none;
}

@media (max-width: 800px), (max-width: 980px) and (hover: none) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  body.mobile-menu-open .home-page .hero[data-artwork-pan] {
    pointer-events: none;
    touch-action: none;
  }

  body > header,
  .mobile-only-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2147483646;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: max(10px, env(safe-area-inset-top)) 14px 10px;
    color: #f5faff;
    background: linear-gradient(180deg, rgba(1, 4, 10, .94), rgba(1, 4, 10, .18));
    mix-blend-mode: normal;
    isolation: isolate;
    pointer-events: auto;
  }

  body > header .nav,
  body > header .count {
    display: none;
  }

  body > header .brand,
  .mobile-only-header .brand,
  .mobile-index-button {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 44px;
    align-items: center;
    color: inherit;
    text-decoration: none;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  body > header .brand,
  .mobile-only-header .brand {
    font: 800 18px/1 Arial, sans-serif;
    letter-spacing: -.04em;
  }

  .mobile-index-button {
    display: flex;
    justify-self: end;
    border: 0;
    padding: 0 4px;
    color: inherit;
    background: transparent;
    font: 600 11px/1 Arial, sans-serif;
    letter-spacing: .14em;
    cursor: pointer;
  }

  .mobile-menu-panel {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    visibility: hidden;
    opacity: 0;
    flex-direction: column;
    padding: max(18px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
    color: #eaf3ff;
    background: radial-gradient(circle at 72% 18%, rgba(20, 90, 220, .22), transparent 32%), rgba(1, 5, 14, .995);
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    touch-action: pan-y;
    transition: opacity 120ms ease, visibility 0s linear 120ms;
  }

  .mobile-menu-panel.mobile-menu-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 120ms ease;
  }

  .mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid #25476d;
    font: 600 11px/1 Arial, sans-serif;
    letter-spacing: .16em;
  }

  .mobile-menu-close {
    display: grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
    border: 0;
    padding: 0;
    color: #eaf3ff;
    background: transparent;
    font: 400 28px/1 Arial, sans-serif;
    cursor: pointer;
    touch-action: manipulation;
  }

  .mobile-menu-links {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
  }

  .mobile-menu-links a {
    display: flex;
    min-height: 64px;
    align-items: center;
    border-bottom: 1px solid #25476d;
    color: inherit;
    text-decoration: none;
    font: 500 clamp(30px, 11vw, 52px)/1 Arial, sans-serif;
    letter-spacing: -.045em;
    text-transform: uppercase;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(140, 199, 255, .16);
  }

  .mobile-menu-links a:first-child {
    border-top: 1px solid #25476d;
  }
}
