/* ==========================================================================
   Design C — Full-Width Sticky Editorial Navigation Bar
   --------------------------------------------------------------------------
   Replaces Loom's inset floating rounded band with a crisp, full-width
   sticky editorial header grounded by a hairline border (`--p-line`).
   ========================================================================== */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--r3-header-height, 84px);
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--p-line);
  border-radius: 0;
  background: var(--b-nav-band);
  pointer-events: auto;
}

.site-header__band {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  margin: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  pointer-events: auto;
}

.site-header__inner {
  display: flex;
  width: min(100%, 1440px);
  height: 100%;
  min-height: 0;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 64px);
}

@media (max-width: 767px) {
  :root {
    --r3-header-height: 68px;
  }

  .site-header__inner {
    padding-inline: 18px;
  }

  .site-brand {
    width: clamp(160px, 47vw, 185px);
  }

  .primary-nav {
    top: calc(100% + 1px);
  }
}

.primary-nav__list a:not(.btn) {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: normal;
  color: var(--p-ink);
}

.primary-nav__list a:not(.btn):hover,
.primary-nav__list a:not(.btn):focus-visible {
  color: var(--p-focus);
}

@media (max-width: 767px) {
  .primary-nav__list a {
    font-size: 1rem;
    line-height: 24px;
  }
}
