

/* Mobile hamburger nav */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0.45rem 0.6rem;
  margin-left: auto;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.85);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 999px; background: #fff; }
.nav-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; right: 0; left: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(0,0,0,0.98);
    border-top: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 40px rgba(0,0,0,0.9);
    gap: 0.35rem;
  }
  body.nav-open .nav-links { display: flex; }
  .nav-toggle { display: inline-flex; }
}
