/* Shared navigation for all public NSP Lab pages. */
html { scroll-padding-top: 88px; }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20; color: white;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(4,18,38,.86); backdrop-filter: blur(12px);
}
.site-header .nav {
  min-height: 72px; display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem;
}
.site-header .brand { display: inline-flex; align-items: center; text-decoration: none; }
.site-header .brand-logo { height: 60px; width: auto; object-fit: contain; }
.site-header .nav-links { display: flex; align-items: center; gap: 1.4rem; }
.site-header .nav-links > a {
  text-decoration: none; font-size: .92rem; font-weight: 700;
  color: rgba(255,255,255,.82); opacity: 1;
}
.site-header .nav-links > a:hover { color: white; }
.site-header .menu-toggle {
  display: none; min-width: 46px; min-height: 46px; padding: .6rem;
  border: 1px solid rgba(255,255,255,.22); border-radius: 10px;
  color: white; background: transparent; cursor: pointer;
}
.page-navigation {
  color: #10243a; background: #f2f6f7;
  border-bottom: 1px solid #d8e1e7;
}
.page-navigation-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem 2rem; padding-block: 1rem;
}
.page-navigation-label {
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #607184;
}
.page-navigation-links { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.page-navigation-links > a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .9rem; font-weight: 700; text-decoration: none;
  text-underline-offset: 5px;
}
.page-navigation-links > a:hover { text-decoration: underline; }
.page-navigation-links > a:focus-visible { outline: 3px solid #63a800; outline-offset: 3px; }
@media (max-width: 740px) {
  html { scroll-padding-top: 80px; }
  .site-header .nav { min-height: 64px; }
  .site-header .brand-logo { height: 52px; }
  .site-header .menu-toggle { display: inline-grid; place-items: center; }
  .site-header .nav-links {
    display: none; position: absolute; top: calc(100% + 8px); left: 14px; right: 14px;
    flex-direction: column; align-items: stretch; gap: .2rem; padding: 1rem;
    border: 1px solid rgba(255,255,255,.15); border-radius: 16px;
    background: rgba(4,18,38,.98); box-shadow: 0 24px 70px rgba(4,18,38,.14);
  }
  .site-header .nav-links.open { display: flex; }
  .site-header .nav-links > a { padding: .6rem; }
  .page-navigation-inner { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .page-navigation-links { gap: .15rem 1.1rem; }
}
