/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 14px 0;
  transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7,8,12,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-family: 'Chakra Petch', sans-serif; font-weight: 800;
  font-size: 18px; letter-spacing: 0.04em;
}
.logo__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #ff6f00);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
  color: #0a0a0a; font-weight: 900;
}
.logo__dot { color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  cursor: pointer;
  background: none; border: 0;
  transition: color .2s ease;
}
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--accent); }
.nav__link.is-active::after {
  content: '';
  position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.nav__cta { display: inline-flex; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  padding: 0;
}
.nav__burger span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: var(--text);
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.nav__burger span:nth-child(1) { top: 14px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 28px; }
.nav__burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* mobile slideout */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: rgba(11,13,20,0.96);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--line);
  z-index: 70;
  padding: 80px 28px 28px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__overlay {
  position: fixed; inset: 0; z-index: 65;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-menu__overlay.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  background: none; border-left: 0; border-right: 0; border-top: 0;
  text-align: left; width: 100%;
}
.mobile-menu__link::after {
  content: '→';
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
}
.mobile-menu__cta { margin-top: 24px; }

