/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--nav-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 2px solid var(--green);
}

.nav-brand {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links li a {
  display: block;
  padding: 0 0.9rem;
  height: var(--nav-height);
  line-height: var(--nav-height);
  font-size: 0.78rem;
  font-weight: 500;
  color: #ccc;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

@media (max-width: 640px) {
  .nav-brand { font-size: 0.8rem; }
  .nav-links li a { padding: 0 0.6rem; font-size: 0.7rem; }
}
