/* Shared mobile navigation. A disclosure stays in document flow, not over the artwork. */
.site-menu-toggle,
.site-menu-panel,
.site-menu-toggle[hidden],
.site-menu-panel[hidden] { display: none; }

/* Compact per-page control stays in the header, clear of every scene. */
[data-site-header] > .motion-control {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: .4rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--gold-light);
  background: #17110d;
  cursor: pointer;
}
[data-site-header] > .motion-control[hidden] { display: none; }
[data-site-header] > .motion-control .motion-label { display: none; }
[data-site-header] > .motion-control:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}
[data-site-header] > .motion-control:disabled { opacity: .65; cursor: default; }

@media (max-width: 1050px) {
  [data-site-header].mobile-nav-ready {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .5rem;
    height: auto;
    min-height: 4.5rem;
    padding: .65rem 5%;
  }
  [data-site-header].mobile-nav-ready .wordmark {
    min-width: 0;
    width: fit-content;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.3;
    letter-spacing: .08em;
    font-size: 1rem;
  }
  [data-site-header].mobile-nav-ready > .desktop-navigation,
  [data-site-header].mobile-nav-ready > .room-exit { display: none; }
  [data-site-header].mobile-nav-ready > .motion-control { grid-column: 2; }
  [data-site-header].mobile-nav-ready .site-menu-toggle:not([hidden]) {
    display: inline-flex;
    grid-column: 3;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    min-width: 80px;
    min-height: 44px;
    padding: .5rem .7rem;
    border: 1px solid #816039;
    border-radius: 3px;
    color: var(--gold-light);
    background: #17110d;
    cursor: pointer;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.4;
  }
  .site-menu-indicator {
    width: .5rem;
    height: .5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  [aria-expanded="true"] .site-menu-indicator {
    transform: translateY(2px) rotate(225deg);
  }
  [data-site-header].mobile-nav-ready > .site-menu-panel:not([hidden]) {
    display: block;
    grid-column: 1 / -1;
    order: initial;
    width: 100%;
    max-height: 60vh;
    max-height: min(60svh, 28rem);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) #17110d;
    margin: .15rem 0 0;
    padding: .6rem .4rem .4rem;
    border-top: 1px solid #51412f;
    text-align: left;
    background: #0d0b09;
  }
  .site-menu-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .site-menu-panel li { margin: 0; padding: 0; }
  [data-site-header] .site-menu-panel a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 48px;
    padding: .65rem .85rem;
    border: 1px solid transparent;
    border-radius: 3px;
    color: var(--cream);
    font-size: 1rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
    scroll-margin-block: .5rem;
  }
  [data-site-header] .site-menu-panel a[aria-current="page"] {
    color: var(--gold-light);
    border-color: #51412f;
    background: #21170e;
  }
  .site-menu-detail {
    margin-top: .15rem;
    color: var(--muted);
    font-size: .875rem;
  }
  .site-menu-panel .site-menu-secondary {
    margin-top: .6rem;
    padding-top: .6rem;
    border-top: 1px solid var(--line);
  }
  [data-site-header] .site-menu-secondary a {
    color: var(--gold-light);
    font-size: .875rem;
  }
  [data-site-header] .site-menu-panel a:hover,
  [data-site-header] .site-menu-panel a:focus-visible {
    color: var(--gold-light);
    background: #21170e;
  }
  .site-menu-toggle:focus-visible,
  .site-menu-panel a:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
  }
  html { scroll-padding-top: var(--site-header-offset, 6rem); }
}

@media (forced-colors: active) {
  .site-menu-toggle,
  [data-site-header] .site-menu-panel a[aria-current="page"] {
    border-color: ButtonText;
  }
}

/* The career resource link shares the existing desktop and mobile navigation. */
@media (min-width:1051px) and (max-width:1280px){[data-site-header]{gap:1rem}[data-site-header]>.desktop-navigation{gap:1rem}}
