/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  height: var(--nav-height);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6.25%;
}
nav::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,0.88);
  opacity: 0;
  transition: opacity 0.4s ease;
}
nav.scrolled::before {
  opacity: 1;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); flex-shrink: 0;
  will-change: opacity;
}
.nav-wordmark {
  font-size: 21px; font-weight: 600;
  letter-spacing: -0.01em; color: var(--text); white-space: nowrap;
}
.nav-wordmark-short { display: none; }
.nav-right {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
  justify-self: end;
}
.nav-cta-pill {
  display: inline-flex; align-items: center;
  background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 500; letter-spacing: -0.01em;
  padding: 7px 12px; border-radius: 980px;
  text-decoration: none; white-space: nowrap;
  transition: background 0.3s ease;
}
.nav-cta-pill:hover { background: var(--blue-dk); }
.nav-hamburger {
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 6px; width: 36px; height: 36px;
  background: none; border: none; outline: none; cursor: pointer; padding: 4px;
  position: relative; -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.nav-mobile-menu {
  display: none; position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  z-index: 198;
  padding: 80px 6.25% 90px;
  overflow-y: auto;
  font-family: var(--font);
}
.nav-mobile-links { display: flex; flex-direction: column; gap: 16px; }
.nav-mobile-links a {
  display: block; font-size: 28px; font-weight: 700;
  letter-spacing: -0.010em; line-height: 1.2;
  color: var(--text); text-decoration: none;
  font-family: var(--font);
}

@media (max-width: 700px) {
  .nav-cta-pill { display: none; }
  .nav-wordmark-full { display: none; }
  .nav-wordmark-short { display: inline; }
  .nav-mobile-links a {font-size: 24px;}
}
