.top-color {
  height: 6px;
  background: linear-gradient(90deg, var(--navy) 0 77%, var(--beige) 77% 94%, var(--red-orange) 94%);
}

.brandline, .header.is-stuck, .request-strip.is-stuck, .mobile-call {
  background: var(--navy);
}

.header {
  background: #101c3226;
  border-bottom-color: #f7f5ed6b;
}

.header:not(.is-stuck) {
  backdrop-filter: none;
}

.header:not(.is-stuck) .logo-name,
.header:not(.is-stuck) .navlinks > a,
.header:not(.is-stuck) .dropdown-toggle {
  text-shadow: 0 1px 5px #101c32, 0 1px 12px #101c32aa;
}

.request-strip:not(.is-stuck) {
  background: #101c3233;
  backdrop-filter: none;
}

.request-strip:not(.is-stuck) .request-copy {
  text-shadow: 0 1px 4px #101c32, 0 1px 9px #101c32aa;
}

.request-strip, .request-strip.is-stuck, .mobile-call {
  border-color: var(--red-orange);
}

.hero {
  aspect-ratio: 2 / 1;
  min-height: 550px;
  background: var(--navy);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 55%;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #101c32c7 0%, #101c329e 29%, #101c3245 46%, transparent 61%);
  pointer-events: none;
}

.hero .hero-copy {
  bottom: clamp(24px, 4vw, 65px);
}

.hero .hero-copy > .wrap > * {
  max-width: min(52%, 680px);
}

.hero h1 {
  font-size: clamp(42px, 4.9vw, 84px);
  text-shadow: 0 2px 8px #101c3273;
}

.hero .hero-desc {
  max-width: min(46%, 520px);
}

@media (max-width: 900px) {
  .hero {
    aspect-ratio: auto;
    min-height: 0;
  }

  .hero-photo {
    position: static;
    display: block;
    height: auto;
    aspect-ratio: 5 / 3;
    object-position: 46% 59%;
  }

  .hero::after {
    content: none;
  }

  .hero .hero-copy {
    position: static;
    padding-block: 25px 35px;
  }

  .hero .hero-copy > .wrap > * {
    max-width: 620px;
  }

  .hero h1 {
    font-size: clamp(34px, 8vw, 62px);
  }
}

.logo img {
  filter: drop-shadow(0 3px 9px #070d1966);
}

.logo-name small, .hero-kicker, .hero-desc, .request-copy small {
  color: var(--beige);
}

h1 em {
  text-decoration-color: var(--red-orange);
}

.navlinks a:after, .hero-notes i, .legend-dot {
  background: var(--red-orange);
}

.menu-toggle {
  background: var(--navy2);
}

.btn, .request-inner button, .form-grid .btn {
  background: var(--beige);
  color: var(--navy);
}

.btn:hover, .btn:focus-visible {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--beige);
}

.btn .arrow {
  color: var(--red-orange);
}

.request-inner input, .request-inner select,
.form-grid input, .form-grid select, .form-grid textarea {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.ribbon {
  background: var(--beige);
  border-color: var(--line);
}

.ribbon-track, .inspection-copy h2, .faq-heading h2 {
  color: var(--navy);
}

.eyebrow, .inspection-copy .eyebrow, .inspection-copy h2 em,
.ribbon-track b, .homepage-faq-list summary:after,
.homepage-faq-list a, .coverage-count strong {
  color: var(--red-orange);
}

.symptom-section, .inspection-section, .coverage-section, .faq-section {
  background: var(--sand);
}

.service-section, .guides-section, .symptom-card, .symptom-card:hover,
.homepage-faq-list details, .coverage-town, .coverage-count,
.coverage-town:hover, .coverage-count:hover, .contact-form {
  background: var(--paper);
}

.steps-section, .coverage-section .coverage-town small {
  background: var(--cream);
}

.service-section:before, .guides-section:before {
  height: 3px;
  background: linear-gradient(90deg, var(--red-orange) 0 7%, var(--line) 7%);
}

.urgent-note, .pillar-ink, .contact-section, .footer {
  background: var(--navy);
}

.pillar-blue, .guide-hero {
  background: var(--navy2);
}

.pillar-gold, .urgent-mark {
  background: var(--beige);
  color: var(--navy);
}

.urgent-note, .contact-form, .coverage-map-bleed {
  border-top-color: var(--red-orange);
}

.urgent-kicker, .urgent-note a b, .contact-message .eyebrow,
.contact-message h2 em, .guide-hero span, .guide-hero a {
  color: var(--beige);
}

.guide-row small, .guide-row > b, .directory-title span:last-child,
.flow-kicker, .symptom-label span:last-child, .coverage-town:hover .coverage-town-title {
  color: var(--red-orange);
}

.coverage-town, .coverage-count, .coverage-town:hover, .coverage-count:hover,
.homepage-faq-list details, .symptom-card, .symptom-grid {
  border-color: var(--line);
}

.coverage-section .coverage-town b, .coverage-count b {
  background: var(--navy);
  color: var(--beige);
}

.coverage-section .coverage-town small {
  color: var(--navy);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--red-orange);
  outline-offset: 3px;
}

.pillar-foot, .flow-number, .guide-row > span {
  border-color: var(--line);
}

.pillar-blue .pillar-foot, .pillar-ink .pillar-foot,
.illustration-caption {
  color: inherit;
}
