/* ---------------------------------- Nav -------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 17, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand__mark {
  width: 38px;
  height: 38px;
  color: var(--bg);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  border-radius: 9px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px var(--border-strong), 0 8px 24px -10px var(--brand-glow);
}

.brand__mark .icon { width: 22px; height: 22px; stroke-width: 2.2; }

.brand small {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  display: block;
  margin-top: 2px;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2.25rem);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
}

.nav__links a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav__links a:hover { color: var(--text); }

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  transition: right 0.3s var(--ease);
}
.nav__links a:hover::after { right: 0; }

.nav__actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

.nav__actions .btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  color: var(--text);
  align-items: center;
  justify-content: center;
}
