/* ── Shared site-wide styles (mobile nav) ──
   Included by every page after its inline <style>. */

/* Hamburger button — hidden on desktop */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 0;
}
.nav-burger svg { display: block; }
.nav-burger .icon-close { display: none; }
.nav-burger.open .icon-burger { display: none; }
.nav-burger.open .icon-close { display: block; }

/* Full-screen drawer under the 60px nav bar */
.mobile-menu {
  position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  z-index: 499;
  background: rgba(0,0,0,0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  padding: 24px 24px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 15px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a.active { color: #6a48f2; }
.mobile-menu a { display: block; }
.mobile-menu .mm-sub a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  padding: 12px 4px 12px 16px;
}
.mobile-menu .mm-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 22px 4px 4px;
}
.mobile-menu .mm-join {
  margin-top: 28px;
  background: #6a48f2;
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', system-ui, sans-serif;
  text-align: center;
}

/* Lock page scroll while drawer is open */
body.mm-open { overflow: hidden; }

@media (max-width: 880px) {
  .nav { padding: 0 16px; }
  .nav .nav-links { display: none; }      /* hide desktop links */
  .nav .btn-join-nav { display: none; }   /* join lives in the drawer */
  .nav-burger { display: flex; }
}

/* ── Hidden admin link ──
   Injected into the footer by site.js once staff trigger it (see that file).
   Deliberately quiet — it sits at the same weight as the copyright line so it
   reads as a utility link rather than site navigation. */
.footer-admin-link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-admin-link:hover {
  color: rgba(255, 255, 255, 0.7);
}
