/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--warm-gray);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  display: block;
  height: 64px;
  width: auto;
}

/* Desktop menu */
.nav-menu {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a:focus-visible { color: var(--accent); }
.nav-menu .current-menu-item a,
.nav-menu a.active { color: var(--accent); font-weight: 500; }

.nav-menu a.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 13.5px;
  transition: background 0.2s;
}

.nav-menu a.nav-cta:hover,
.nav-menu a.nav-cta:focus-visible { background: var(--accent-dark); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile slide-out */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28,26,23,0.5);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-mobile-overlay.is-active {
  display: block;
  opacity: 1;
}

.nav-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--cream);
  z-index: 105;
  padding: 0 48px 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.nav-mobile-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Close button */
.nav-mobile-close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 68px;
  margin-bottom: 20px;
}

.nav-mobile-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid var(--warm-gray);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  padding: 0;
}

.nav-mobile-close-btn:hover {
  border-color: var(--accent);
  background: var(--accent-pale);
}

.nav-mobile-close-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-dark);
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-mobile-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-mobile-panel li {
  border-bottom: 1px solid var(--warm-gray);
}

.nav-mobile-panel a {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-mobile-panel a:hover { color: var(--text-dark); }

.nav-mobile-panel .current-menu-item a { color: var(--accent); font-weight: 500; }

.nav-mobile-panel a.nav-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 15px;
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

.nav-mobile-panel a.nav-cta:hover { background: var(--accent-dark); }

/* Body scroll lock */
body.nav-open { overflow: hidden; }
