/* ================================================================
   NAV — sticky, glass blur, hamburger
   ================================================================ */

/* Ticker */
.ticker {
  background: var(--deep);
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
}
.ticker__inner {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 36s linear infinite;
}
.ticker__inner span {
  padding: 0 36px;
  font-size: 10px;
  font-family: var(--ff-mono);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ticker__inner span::before {
  content: '♦';
  margin-right: 10px;
  color: var(--dusty-rose);
  font-size: 7px;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--deep);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  text-decoration: none;
}

.nav-logo span { color: var(--terracotta); }

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  transition: all var(--speed-fast);
  cursor: pointer;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-block;
}

.nav-link:hover { color: var(--deep); background: var(--blush); }
.nav-link.active { color: var(--deep); font-weight: 500; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--warm-white);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--speed-fast);
  font-family: var(--ff-body);
}

.nav-search:hover {
  background: var(--blush);
  border-color: var(--dusty-rose);
  color: var(--deep);
}

.nav-search svg { opacity: 0.5; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--mid);
  transition: all var(--speed-fast);
  border-radius: 2px;
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(44,31,26,0.5);
}

.nav-drawer.open { display: block; }

.nav-drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: 280px;
  height: 100%;
  background: var(--cream);
  padding: 80px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.nav-drawer__link {
  padding: 12px 16px;
  font-size: 15px;
  color: var(--mid);
  border-radius: 10px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  transition: background var(--speed-fast);
}

.nav-drawer__link:hover { background: var(--blush); color: var(--deep); }

.nav-drawer__close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  background: var(--blush);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
