/* ── NAVBAR — White background so logo shows perfectly ── */
.navbar {
  background: #fff;
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid #E8E8E8;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.navbar-inner {
  display: flex; align-items: center;
  height: 72px; gap: 0;
}

/* Logo */
.navbar-logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0; margin-right: 36px; text-decoration: none;
}
.logo-img { height: 46px; width: auto; object-fit: contain; }

/* Fallback text wordmark (if image fails) */
.logo-wordmark { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--serif); font-size: 20px; font-weight: 800; color: var(--black); letter-spacing: -.01em; }
.logo-name em { color: var(--red); font-style: normal; }
.logo-tagline { font-size: 9px; font-weight: 700; color: var(--gray-400); letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }

/* Nav links */
.navbar-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link {
  padding: 8px 16px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; color: var(--gray-600);
  transition: all .15s; white-space: nowrap; position: relative;
}
.nav-link:hover { color: var(--black); background: var(--gray-100); }
.nav-link.active { color: var(--red); }
.nav-link.active::after {
  content: '';
  position: absolute; bottom: 0; left: 16px; right: 16px;
  height: 2px; background: var(--red); border-radius: 2px 2px 0 0;
}

/* Actions */
.navbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.user-name {
  font-size: 13px; font-weight: 600; color: var(--gray-600);
  padding: 6px 12px; border-radius: var(--r-sm);
  background: var(--gray-100);
}

/* Divider before auth buttons */
.nav-divider { width: 1px; height: 24px; background: var(--gray-200); margin: 0 4px; }

/* Hamburger */
.nav-toggle-check { display: none; }
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer; padding: 6px; margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-700); border-radius: 2px; transition: all .25s ease;
}
.nav-toggle-check:checked ~ .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle-check:checked ~ .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle-check:checked ~ .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile */
@media(max-width: 860px) {
  .hamburger { display: flex; }
  .navbar-inner { flex-wrap: wrap; height: auto; align-items: center; padding: 0; min-height: 68px; }
  .navbar-logo  { padding: 12px 0; flex: 1; }
  .nav-divider  { display: none; }
  .navbar-links, .navbar-actions {
    display: none; width: 100%; flex-direction: column;
    align-items: flex-start; gap: 4px; padding: 8px 0 14px;
  }
  .navbar-actions { flex-direction: row; flex-wrap: wrap; border-top: 1px solid var(--gray-150); padding-top: 12px; }
  .nav-toggle-check:checked ~ .navbar-links  { display: flex; }
  .nav-toggle-check:checked ~ .navbar-actions { display: flex; }
  .nav-link { width: 100%; }
  .nav-link.active::after { display: none; }
}
