/* ============================================================
   mobile-nav.css — Hamburger menu + mobile navigation
   ============================================================ */

/* ── Hamburger button ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 601;
  position: relative;
}

.nav-burger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--t1);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s;
  transform-origin: center;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--gold);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--gold);
}

/* ── Mobile menu overlay ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 599;
  background: rgba(16, 14, 9, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,192,64,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,192,64,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 2;
}

.mobile-menu-list li {
  overflow: hidden;
}

.mobile-menu-list a {
  display: block;
  font-family: var(--FC);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(36px, 8vw, 56px);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--t2);
  text-decoration: none;
  padding: 8px 24px;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
  transform: translateY(100%);
}

.mobile-menu.open .mobile-menu-list a {
  transform: translateY(0);
  transition: color 0.2s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stagger each link */
.mobile-menu.open .mobile-menu-list li:nth-child(1) a { transition-delay: 0.05s; }
.mobile-menu.open .mobile-menu-list li:nth-child(2) a { transition-delay: 0.10s; }
.mobile-menu.open .mobile-menu-list li:nth-child(3) a { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu-list li:nth-child(4) a { transition-delay: 0.20s; }
.mobile-menu.open .mobile-menu-list li:nth-child(5) a { transition-delay: 0.25s; }
.mobile-menu.open .mobile-menu-list li:nth-child(6) a { transition-delay: 0.30s; }
.mobile-menu.open .mobile-menu-list li:nth-child(7) a { transition-delay: 0.35s; }
.mobile-menu.open .mobile-menu-list li:nth-child(8) a { transition-delay: 0.40s; }

.mobile-menu-list a:hover,
.mobile-menu-list a:focus {
  color: var(--gold);
}

.mobile-menu-footer {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--FM);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--t3);
  white-space: nowrap;
  z-index: 2;
}

@media (max-width: 900px) {
  .nav-burger { display: flex; }
}
