.header {
  height: 122px;
}

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

.header .brand-logo {
  display: flex;
  align-items: center;
  height: 112px;
}

.header .brand-logo img {
  display: block;
  width: auto;
  height: 106px;
  max-width: 320px;
  object-fit: contain;
}

:root {
  --font: "Inter", "Segoe UI", sans-serif;
  --serif: "Montserrat", "Segoe UI", sans-serif;
}

.header nav > a,
.link-nav {
  font-size: .9rem;
  font-weight: 700;
}

.header nav > a:not(.nav-cta),
.header nav > .link-nav {
  position: relative;
}

.header nav > a:not(.nav-cta)::after,
.header nav > .link-nav::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #efc75f);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform .24s ease, opacity .2s ease;
}

.header nav > a:not(.nav-cta):hover::after,
.header nav > a:not(.nav-cta):focus-visible::after,
.header nav > .link-nav:hover::after,
.header nav > .link-nav:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.header nav .nav-cta {
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.header nav .nav-cta:hover,
.header nav .nav-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(8, 45, 32, .2);
}

.header nav > a:focus-visible,
.header nav > button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hero h1,
.section-head h2,
.about-copy h2,
.contact h2 {
  letter-spacing: -.04em;
}

.service p,
.product-body p {
  font-size: .88rem;
}

.service > a,
.footer-main > div:not(:first-child) {
  font-size: .8rem;
}

.quote-row span,
.forecast-day b,
.forecast-day span,
.live-footer,
.weather-main span {
  font-size: .74rem;
}

.footer .footer-brand img {
  width: 270px;
  max-width: 100%;
  height: auto;
  mix-blend-mode: normal;
}

@media (max-width: 1020px) {
  .header nav {
    top: 122px;
  }

  .header nav > a:not(.nav-cta)::after,
  .header nav > .link-nav::after {
    right: auto;
    width: 38px;
    bottom: 5px;
  }
}

@media (max-width: 700px) {
  .header,
  .nav-wrap {
    height: 94px;
    min-height: 94px;
  }

  .header nav {
    top: 94px;
  }

  .hero {
    height: calc(100vh - 94px);
  }

  .header .brand-logo img {
    width: auto;
    height: 82px;
    max-width: 245px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header nav > a::after,
  .header nav > .link-nav::after,
  .header nav .nav-cta {
    transition: none;
  }
}
