/**
 * Editorial navigation — light, refined, pill Contact CTA (site-wide).
 */

body.sqs-seven-one #header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.35s ease, background-color 0.35s ease;
}

body.sqs-seven-one #header.nx-header--scrolled {
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.06);
}

body.sqs-seven-one #header .header-background,
body.sqs-seven-one #header .header-dropshadow {
  background: rgba(253, 252, 248, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.sqs-seven-one.tweak-transparent-header .header .header-background {
  opacity: 1 !important;
}

body.sqs-seven-one #header {
  --header-vert-padding: 0 !important;
}

body.sqs-seven-one .header-inner {
  max-width: var(--nx-container);
  margin-left: auto;
  margin-right: auto;
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
  min-height: 0 !important;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

/* Squarespace defaults cap logo at 50px on both `a` and `img` — override both */
body.sqs-seven-one .header-title-logo {
  flex-shrink: 0;
}

body.sqs-seven-one .header-title-logo a {
  display: inline-flex !important;
  align-items: center;
  max-height: none !important;
  height: auto !important;
}

body.sqs-seven-one .header-title-logo img {
  filter: none !important;
  height: auto !important;
  max-height: clamp(72px, 8vw, 96px) !important;
  width: auto !important;
  max-width: min(420px, 48vw) !important;
  object-fit: contain;
  display: block;
}

body.sqs-seven-one .header-title-nav-wrapper {
  align-items: center;
}

body.sqs-seven-one .header-nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(1.75rem, 3vw, 2.75rem) !important;
}

body.sqs-seven-one .header-nav-item {
  margin: 0 !important;
  padding: 0 !important;
}

body.sqs-seven-one .header-nav-item a {
  color: var(--nx-text) !important;
  font-size: clamp(0.9375rem, 1.35vw, 1.0625rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.35rem 0;
  white-space: nowrap;
  transition: color 0.25s ease, opacity 0.25s ease;
}

body.sqs-seven-one .header-nav-item--active a {
  color: var(--nx-accent) !important;
  box-shadow: inset 0 -2px 0 var(--nx-accent);
}

body.sqs-seven-one .header-nav-item a:hover,
body.sqs-seven-one .header-nav-item a:focus-visible {
  color: var(--nx-muted) !important;
  opacity: 1;
}

body.sqs-seven-one .header-nav-item--audits {
  display: none !important;
}

body.sqs-seven-one .header-nav-item--contact-link {
  display: none !important;
}

body.sqs-seven-one .header-actions .showOnDesktop {
  display: flex !important;
  align-items: center;
  margin-left: clamp(0.5rem, 1.5vw, 1rem);
}

body.sqs-seven-one .header-nav-wrapper {
  margin-left: auto;
}

body.sqs-seven-one .nexterra-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  background: var(--nx-accent);
  color: #fff !important;
  font-family: var(--nx-font);
  font-size: clamp(0.9375rem, 1.35vw, 1.0625rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

body.sqs-seven-one .nexterra-header-cta:hover {
  background: var(--nx-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(181, 141, 61, 0.28);
}

body.sqs-seven-one .nexterra-header-cta:focus-visible {
  outline: 2px solid var(--nx-accent);
  outline-offset: 3px;
}

body.sqs-seven-one .burger-inner .top-bun,
body.sqs-seven-one .burger-inner .patty,
body.sqs-seven-one .burger-inner .bottom-bun {
  background-color: var(--nx-text) !important;
}

@media (max-width: 767px) {
  body.sqs-seven-one .header-inner {
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
  }

  body.sqs-seven-one .header-title-logo a {
    max-height: none !important;
  }

  body.sqs-seven-one .header-title-logo img {
    max-height: 72px !important;
    max-width: min(340px, 82vw) !important;
  }

  body.sqs-seven-one .nexterra-header-cta {
    display: none !important;
  }
}
