/* V79 — Persistent navigation across the website.
   Preserve the approved navbar appearance, but keep it visible when scrolling. */
.site-header,
.works-page .site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  width: 100%;
  z-index: 250;
  pointer-events: none;
}
.site-header .nav-inner { pointer-events: auto; }
/* Strengthen readability over light cards, photos and content on scroll. */
html[data-theme="dark"] .site-header.is-scrolled .nav-inner {
  background: rgba(8, 24, 47, .96);
  border-color: rgba(213, 164, 71, .20);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .29);
}
/* Keep destination headings visible beneath the fixed navigation. */
html { scroll-padding-top: 120px; }
@media (max-width: 1200px) {
  html { scroll-padding-top: 112px; }
}
@media (max-width: 880px) {
  html { scroll-padding-top: 100px; }
  .site-header, .works-page .site-header { padding-top: 9px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 88px; }
  .site-header, .works-page .site-header { padding-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav-inner { transition: none !important; }
}
