/* Header styles scoped to .site-header; builds on base.css */
:root {
  --header-bg: rgb(10 12 16);
  --header-bg-grad: linear-gradient(180deg, rgba(10,12,16,0.98) 0%, rgba(8,10,14,0.98) 100%);
  --text-on-dark: #e6f1ff;
  --muted-on-dark: #b7c7db;
  --accent: #7ed0ff;
  --accent-strong: #36b1ff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg-grad);
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}
.site-header .brand {
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  font-weight: 700;
  letter-spacing: .3px;
  font-size: 1.125rem;
  color: var(--text-on-dark);
  text-decoration: none;
  white-space: nowrap;
}
.site-header .brand:focus-visible,
.site-header .brand:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
}
/* Navigation */
.site-header .site-nav {
  /* visible by default for no-JS */
}
.site-header .nav-list {
  display: flex;
  gap: clamp(.5rem, 2vw, 1.25rem);
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header .nav-list a {
  display: inline-block;
  padding: .5rem .25rem;
  color: var(--muted-on-dark);
  text-decoration: none;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.1;
}
.site-header .nav-list a:hover,
.site-header .nav-list a:focus-visible {
  color: var(--text-on-dark);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--accent);
}
.site-header .nav-list .cta > a {
  padding: .55rem .9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #06111a;
  font-weight: 700;
}
.site-header .nav-list .cta > a:hover,
.site-header .nav-list .cta > a:focus-visible {
  filter: brightness(0.95);
  text-decoration: none;
  outline: 2px solid rgba(126,208,255,0.4);
  outline-offset: 2px;
}
/* Toggle (hamburger) */
.site-header .nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: var(--text-on-dark);
  cursor: pointer;
}
.site-header .nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.site-header .nav-toggle-box { display: inline-flex; flex-direction: column; gap: 4px; }
.site-header .nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
.site-header .nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.site-header .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* Mobile layout */
@media (max-width: 992px) {
  .site-header .nav-toggle { display: inline-flex; }
  .site-header .site-nav {
    position: fixed;
    inset: 64px 0 auto 0; /* below sticky header */
    background: rgba(8,10,14,0.98);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
  }
  .site-header .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: .75rem 1rem 1rem;
    gap: .25rem;
  }
  html.js .site-header .site-nav[hidden] { display: none !important; }
}
@media (min-width: 993px) {
  .site-header .site-nav { position: static; inset: auto; box-shadow: none; background: transparent; border: 0; }
}
/* Skip link (kept minimal) */
.site-header .skip-link {
  position: absolute;
  left: 8px;
  top: -40px;
  background: #0b121a;
  color: #fff;
  padding: .5rem .75rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
}
.site-header .skip-link:focus { top: 8px; outline: 2px solid var(--accent); outline-offset: 2px; }
/* Visually hidden utility scoped here */
.site-header .sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}