/* Final mobile overrides use a unique filename to bypass previously cached assets. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex: 0 0 auto;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 850px) {
  .navin {
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
    order: 2;
  }

  .links {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    z-index: 60;
    padding: 16px 20px 22px;
    background: rgba(18, 79, 90, 0.99);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 34px rgba(8, 39, 45, 0.24);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .links.open {
    display: flex;
  }

  .links > a,
  .links > a:not(.btn) {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .links .btn {
    margin-top: 8px;
  }

  .concierge-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .concierge-grid > * {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .navin {
    height: 68px;
    gap: 10px;
  }

  .brand {
    font-size: 1.12rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .brand small {
    margin-top: 4px;
    font-size: 0.46rem;
    letter-spacing: 0.14em;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .links {
    left: -13px;
    right: -13px;
  }
}
