/* ============================================================
   nav.css — shared nav styles that mirror index.html's inline
   <style> block byte-for-byte. Linked AFTER any page-specific
   stylesheet so it always wins on equal specificity.
   ============================================================ */

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-height);
  display: flex; align-items: center;
  background: rgba(247,249,252,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.site-header.scrolled,
.site-header--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
/* Inside .site-header (a flex parent), let the container shrink to its
   content's natural width so the nav clusters in the centre — matching
   index.html, whose inline .container rule omits width: 100%. */
.site-header > .container { width: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: var(--space-6); }
.nav__logo-link { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo { height: 54px; width: auto; display: block; }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-ink-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.nav__links a:hover { color: var(--color-blue); }
.nav__links a[aria-current="page"] {
  color: var(--color-blue);
  font-weight: var(--weight-bold);
}
.nav__cta {
  background: var(--color-blue);
  color: white;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: background var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__cta:hover { background: var(--color-blue-dark); }

@media (max-width: 768px) {
  .nav__links { display: none; }
}
