@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/brand/outfit.woff2") format("woff2");
}
.ns-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 12px clamp(20px, 3vw, 48px);
  color: #f7f4ef;
  font: 450 16px/1.35 Outfit, system-ui, sans-serif;
}
.ns-header.dark { color: #292929 }
.post-hero .ns-header.dark, .ns-header.ns-inner {
  background: #f7f4ef;
  color: #292929;
  border-bottom: 1px solid #d8d4cd;
}
.ns-header.ns-inner { position: sticky }
.ns-brand {
  width: 144px;
  height: 44px;
  background: currentColor;
  mask: url("/brand/northscope-wordmark.svg") no-repeat left center / contain;
}
.ns-navigation { display: flex; gap: clamp(18px, 2.4vw, 40px); align-items: center }
.ns-navigation details { position: relative }
.ns-navigation a, .ns-navigation summary {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.ns-navigation summary { list-style: none }
.ns-navigation summary::-webkit-details-marker { display: none }
.ns-navigation summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}
.ns-navigation details[open] summary::after { transform: translateY(2px) rotate(225deg) }
.ns-navigation a:hover, .ns-navigation summary:hover { text-decoration: underline; text-underline-offset: 5px }
.ns-navigation .ns-contact-link { font-weight: 550 }
.ns-dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 310px;
  max-height: calc(100dvh - 76px);
  overflow: auto;
  padding: 6px 20px;
  background: #f7f4ef;
  color: #292929;
  border: 1px solid #d8d4cd;
  box-shadow: 0 8px 24px #15131017;
}
.ns-dropdown a + a { border-top: 1px solid #dedad4 }
.ns-dropdown .ns-overview { color: #795e36; font-size: 15px }
.ns-menu-toggle { display: none }
.ns-header :focus-visible { outline: 2px solid #ad8650; outline-offset: 2px }
@media (max-width: 900px) {
  .ns-header { min-height: 64px; padding-block: 10px }
  .ns-brand { width: 122px }
  .ns-menu-toggle {
    display: block; min-height: 44px; padding: 0 16px; border: 1px solid currentColor;
    border-radius: 24px; background: transparent; color: inherit; font: inherit; cursor: pointer;
  }
  .ns-navigation { display: none }
  .ns-header:has(.ns-menu-toggle[aria-expanded="true"]) { background: #f7f4ef; color: #292929 }
  .ns-menu-toggle[aria-expanded="true"] + .ns-navigation {
    position: absolute; inset: 100% 0 auto; display: block; max-height: calc(100dvh - 64px);
    padding: 8px 22px 24px; background: #f7f4ef; border-bottom: 1px solid #d8d4cd;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .ns-navigation > a, .ns-navigation summary {
    min-height: 54px; justify-content: space-between; border-top: 1px solid #d8d4cd;
    font-size: 22px; letter-spacing: -.025em;
  }
  .ns-dropdown { position: static; width: auto; max-height: none; padding: 0 0 12px 14px; border: 0; box-shadow: none }
}
