:root {
  --header-navy: #041a33;
  --header-navy-soft: #0a2749;
}

.site-header {
  background: rgba(4, 26, 51, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(4, 26, 51, 0.16);
}

body:not(.labs-page) .site-header {
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

body:not(.labs-page) .site-header.is-scroll-hidden {
  transform: translateY(calc(-100% - 1px));
}

.nav-wrap {
  min-height: 84px;
}

.brand {
  color: #ffffff;
  gap: 0.85rem;
}

.brand-logo {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

.primary-nav a {
  color: #d9e5f3;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #8db7ff;
}

.nav-toggle {
  color: #ffffff;
  background: var(--header-navy-soft);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Match the two supporting CTAs to the primary hero action. */
.hero-actions .button-secondary,
.case-feature-copy .button-secondary {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.hero-actions .button-secondary:hover,
.hero-actions .button-secondary:focus-visible,
.case-feature-copy .button-secondary:hover,
.case-feature-copy .button-secondary:focus-visible {
  color: #ffffff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

/* Light sections receive a soft blue wash from the top-right corner. */
main > .section {
  position: relative;
  overflow: hidden;
}

main > .section > .container {
  position: relative;
  z-index: 1;
}

main > .section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: radial-gradient(
    circle at 100% 0%,
    rgba(45, 118, 201, 0.18) 0%,
    rgba(45, 118, 201, 0.09) 24%,
    rgba(45, 118, 201, 0.035) 42%,
    transparent 64%
  );
}

/* The existing dark-blue section stays clean without the added wash. */
main > .section-dark::before {
  display: none;
}

/* Small section signature using the full-color NVLT mark. */
main > .section::after {
  position: absolute;
  right: 1.6rem;
  bottom: 1.35rem;
  z-index: 1;
  width: 44px;
  height: 44px;
  content: "";
  pointer-events: none;
  background: url("assets/nvlt-official-logo.svg") center / contain no-repeat;
  opacity: 1;
}

.hero {
  padding-top: 6rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  align-items: center;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.9rem, 6vw, 5.65rem);
  letter-spacing: -0.055em;
}

.principle-card {
  padding: 1.75rem;
}

.principle-card blockquote {
  font-size: 1.75rem;
}

@media (max-width: 900px) {
  .primary-nav {
    top: 84px;
    background: var(--header-navy);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  main > .section::after {
    right: 1.1rem;
    bottom: 1rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    min-height: 76px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .primary-nav {
    top: 76px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  main > .section::after {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.labs-page) .site-header {
    transition: none;
  }
}
