/* RUGGED PATH — SHARED NAV
   One copy of the nav's markup, styling, and behavior for every page.
   Edit this file (and /partials/nav.html) to change the nav anywhere —
   never re-add nav markup or nav CSS inline in an individual page. */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.nav-wordmark {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--cream); }
.nav-links a.active { color: var(--brand); }

.nav-cta {
  color: var(--brand) !important;
  border: 1px solid var(--border2);
  padding: 7px 20px;
  transition: all 0.15s !important;
}

.nav-cta:hover {
  background: var(--brand) !important;
  color: var(--bg) !important;
  border-color: var(--brand) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream-mid);
  transition: background 0.2s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(13,13,15,0.98);
  border-bottom: 1px solid var(--border);
  padding: 24px 40px 32px;
  z-index: 99;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-mid);
  text-decoration: none;
}

.mobile-menu a.active { color: var(--brand); }

@media (max-width: 860px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
