/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 100;
  background: transparent;
  transition:
    background 0.4s ease,
    border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

nav.solid {
  background: var(--off);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.nav-wordmark {
  font-family: "Lexend", sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display:none;
}

nav.solid .nav-wordmark{
    display: inline;
}

.nav-wordmark .u {
  color: var(--burg);
}

/* FORM is cream on dark hero, switches to dark when nav goes solid */
.nav-wordmark .form {
  color: var(--cream);
  transition: color 0.4s ease;
}
nav.solid .nav-wordmark .form {
  color: var(--dark);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  font-weight: 300;
  opacity: 0.7;
  transition:
    opacity 0.2s,
    color 0.4s ease;
}
nav.solid .nav-links a {
  color: var(--burg);
  font-weight: 700;
}
.nav-links a:hover {
  opacity: 1;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-right a {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.5;
  transition:
    opacity 0.2s,
    color 0.4s ease;
}
nav.solid .nav-right a {
  color: var(--dark);
}
.nav-right a:hover {
  opacity: 1;
}
