/* Sitewide header — linked on every page alongside that page's own stylesheet.
   Colors are hardcoded (not var()) on purpose, exactly like footer.css: each
   page's stylesheet defines different custom-property names (--accent vs
   --font-display vs --display), so hardcoding is what makes one header file
   work everywhere. Don't "fix" it to use variables. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 11, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #221f1b;
}

.site-header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: #f3ede4;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand .dot {
  width: 9px;
  height: 9px;
  background: #ff7a1f;
  border-radius: 2px;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.site-nav a {
  color: #9c9088;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.site-nav a:hover { color: #ff9a4d; }

/* the page you're on */
.site-nav a[aria-current="page"] { color: #ff7a1f; }

.site-header a:focus-visible {
  outline: 2px solid #ff9a4d;
  outline-offset: 4px;
  border-radius: 3px;
}

/* Anchor links (#about, #story) would otherwise land under the sticky bar. */
html { scroll-padding-top: 76px; }

@media (max-width: 620px) {
  .site-header-inner { height: 54px; padding: 0 1.1rem; gap: 1rem; }
  .site-brand { font-size: 15px; }
  .site-nav { gap: 1.05rem; font-size: 12px; }
}

@media (max-width: 380px) {
  .site-brand .label { display: none; }
  .site-nav { gap: 0.85rem; font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav a { transition: none; }
}
