/* ===== Mobile Nav — Bronze Age ===== */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px; height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  position: relative;
}

.hamburger-line {
  width: 100%; height: 2px;
  background: rgba(245,237,216,.85);
  border-radius: 0;
  transition: all 0.25s ease;
  transform-origin: center;
}

.hamburger.is-active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.is-active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,10,26,.88);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-menu-overlay.is-active { display: block; opacity: 1; }

/* Slide-in panel */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; right: -100%;
  width: 280px; height: 100vh;
  background: var(--ink);
  border-left: 2px solid var(--violet2);
  z-index: 100;
  padding: 88px 24px 24px;
  overflow-y: auto;
  transition: right 0.25s ease;
  box-shadow: -4px 0 0 var(--crimson);
}

.nav-mobile.is-active { right: 0; }

.nav-mobile a {
  display: block;
  padding: 12px 14px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  color: rgba(245,237,216,.70);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 6px;
  transition: all .10s ease;
}

.nav-mobile a:hover {
  color: var(--text-inv);
  border-color: rgba(245,237,216,.15);
  background: rgba(245,237,216,.04);
}

.nav-mobile a.active {
  color: var(--amber2);
  border-color: var(--amber);
  background: rgba(212,134,10,.10);
  box-shadow: 2px 2px 0 rgba(212,134,10,.18);
}

body.menu-open { overflow: hidden; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav { display: none; }
  .nav-mobile { display: block; }
  .header-inner { justify-content: space-between; }
}

@media (min-width: 769px) {
  .hamburger,
  .nav-mobile,
  .mobile-menu-overlay { display: none !important; }
}
