/* ── Mobile Hamburger Nav ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: .4rem;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--text);
  transition: transform .35s ease, opacity .35s ease, background .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

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

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: rgba(10,10,10,.98);
    border-left: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 5rem 0 2rem;
    transition: right .4s cubic-bezier(.16,1,.3,1);
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }

  .nav-links > li > a {
    font-size: .7rem;
    padding: 1.1rem 2rem;
    border-bottom: 1px solid var(--line);
    display: block;
    color: var(--text);
  }
  .nav-links > li > a:hover { color: var(--accent); background: rgba(201,169,110,.04); }

  /* Dropdown becomes static list on mobile */
  .dropdown {
    position: static;
    opacity: 1 !important;
    pointer-events: all !important;
    transform: none !important;
    border: none;
    background: rgba(255,255,255,.02);
    display: none;
  }
  .nav-links > li.open .dropdown { display: block; }
  .dropdown a {
    padding: .85rem 2rem .85rem 3rem;
    font-size: .62rem;
    color: var(--muted);
    border-bottom: 1px solid rgba(201,169,110,.06);
  }
  .dropdown a:hover { color: var(--accent); }

  /* Overlay behind menu */
  .nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 99;
  }
  .nav-overlay.open { display: block; }
}
