@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: Outfit;
  src: url("/fonts/outfit-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --dusk: #8fb4e3;
  --midnight: #0d1a33;
  --sunset: #ff6a2b;
  --sunset-hover: #ff8858;
  --night-text: #c4d5ed;
  --night-line: #4e6282;
  --ink: var(--midnight);
  --dark: var(--midnight);
  --paper: #f3f7fc;
  --paper-deep: #e1ebf8;
  --light-ink: var(--paper);
  --cta: var(--sunset);
  --muted: #42536e;
  --line: #b5c5db;
  --accent: #a43713;
  --accent-dark: #8a2d0e;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: Outfit, system-ui, sans-serif;
  --page-gutter: clamp(1.25rem, 5vw, 6.75rem);
}

/* Matches the specificity of the existing typographic overrides. */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -.015em !important;
}

.detail-hero-copy h1,
.service-card h3,
.process-list h3,
.knowledge-grid h3,
.form-intro h3,
.related-grid h3,
.listing-grid h2,
.detail-content h3 {
  font-weight: 700;
}

.brand span,
.quote-aside a,
.quote-aside strong,
.detail-aside p,
.footer-contact a {
  font-family: var(--font-display);
}

.site-header {
  max-width: none;
  background: var(--midnight);
  color: var(--paper);
  padding-block: .9rem;
  gap: clamp(.8rem, 2.3vw, 2.4rem);
}

.site-header .brand {
  min-height: 48px;
  font-weight: 700;
  font-size: 1.45rem;
  line-height: .82;
  white-space: nowrap;
}

.site-header .brand-mark {
  background: var(--sunset);
  color: var(--midnight);
  width: 2.7rem;
  height: 2.7rem;
  font-size: 1.1rem;
  letter-spacing: -.035em;
}

.header-nav {
  margin-inline: auto;
  gap: clamp(.9rem, 2.35vw, 2.4rem);
}

.header-nav a,
.site-header .header-call-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--paper) !important;
  border: 0;
  padding-block: 0;
}

.header-nav a:hover,
.site-header .header-call-link:hover {
  color: var(--dusk) !important;
}

.header-call-badge {
  color: var(--dusk);
}

.site-header .header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .6rem 1rem;
  background: var(--sunset);
  border: 0;
  border-radius: 3px;
  color: var(--midnight) !important;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-header .header-cta:hover,
.button-dark:hover {
  background: var(--sunset-hover);
}

.header-cta span:empty,
.button-dark span:empty {
  margin-inline-start: .55rem;
}

.header-cta span:empty::after,
.button-dark span:empty::after {
  content: "↗" / "";
}

.button-dark {
  background: var(--sunset);
  color: var(--midnight);
  border-radius: 3px;
  box-shadow: none;
}

.button-dark:hover,
.hero .button-dark:hover {
  box-shadow: none;
}

.site-footer .footer-contact .button-outline,
.detail-hero .button-outline {
  color: var(--paper);
}

.site-footer .footer-contact .button-outline:hover,
.detail-hero .button-outline:hover {
  color: var(--midnight);
}

.site-shell :focus-visible {
  outline: 2px solid var(--midnight);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--paper);
}

.dusk-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 0;
  padding: 0;
  min-height: 0;
  align-items: stretch;
  background: var(--dusk);
}

.dusk-hero .hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  max-width: none;
  padding: clamp(2.9rem, 5.3vw, 5.8rem) 1.55rem clamp(3rem, 5.65vw, 6rem) var(--page-gutter);
  color: var(--midnight);
}

.dusk-hero .eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.35rem;
  color: var(--midnight);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.dusk-hero .eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: currentColor;
}

.dusk-hero .hero-copy h1 {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 1.6rem;
  color: var(--midnight);
  font-size: clamp(3.15rem, 6.6vw, 8rem);
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.022em !important;
  text-wrap: initial;
}

.dusk-hero h1 .hero-line {
  display: block;
}

.dusk-hero h1 .hero-location {
  display: inline-block;
  margin-block-start: .2em;
  padding: .005em .16em .18em .1em;
  background: var(--midnight);
  color: var(--sunset);
}

.dusk-hero .hero-lede {
  color: var(--midnight);
  max-width: 32rem;
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.52;
}

.dusk-hero .hero-actions {
  gap: .7rem 1.25rem;
  margin-top: 1.65rem;
}

.dusk-hero .hero-actions .button-dark {
  min-height: 51px;
  padding-inline: 1rem;
  gap: .25rem;
  border: 1px solid var(--midnight);
  box-shadow: 3px 3px var(--midnight);
  font-size: .94rem;
}

.dusk-hero .hero-actions .button-dark:hover {
  box-shadow: 4px 5px var(--midnight);
}

.dusk-hero .hero-actions .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--midnight);
  border: 0;
  text-decoration: underline;
  text-underline-offset: .28em;
  font-size: .9rem;
}

.dusk-hero .hero-bg {
  position: relative;
  grid-row: 1;
  grid-column: 2;
  display: block;
  min-height: 100%;
  border-block-end: 5px solid var(--sunset);
  background: var(--midnight);
}

.dusk-hero .hero-bg img {
  object-fit: cover;
  object-position: 55% center;
  transform: none;
  animation: none;
  will-change: auto;
}

.intro-band .section-kicker,
.directory-section .section-kicker,
.detail-hero-copy .eyebrow {
  color: var(--dusk);
}

.intro-band .intro-grid p,
.directory-section .section-heading > p,
.directory-grid a,
.site-footer .footer-contact span,
.site-footer .footer-contact small,
.footer-bottom {
  color: var(--night-text);
}

.intro-band .underlined-link,
.directory-grid a:hover,
.footer-bottom a:hover,
.service-card:hover .service-number {
  color: var(--dusk);
}

.directory-grid a,
.footer-bottom {
  border-color: var(--night-line);
}

.intro-band .intro-grid h2 {
  max-width: 14ch;
}

.services-section .service-card {
  border-block-start: 3px solid transparent;
}

.services-section .service-card:hover {
  border-block-start-color: var(--sunset);
}

.service-card:hover p {
  color: var(--night-text);
}

.knowledge-grid > a:hover,
.related-grid > a:hover {
  background: var(--paper-deep);
}

.detail-hero-shade {
  background: linear-gradient(90deg, #0d1a33f2 0%, #0d1a33cf 54%, #0d1a3366 100%),
    linear-gradient(0deg, #0d1a33cf, transparent 65%);
}

.quote-section {
  background: var(--dusk);
  color: var(--midnight);
}

.quote-section .section-kicker,
.quote-intro > p,
.quote-aside span,
.quote-aside small,
.quote-aside strong {
  color: var(--midnight);
}

.quote-aside {
  border-color: #0d1a3366;
}

.quote-form .form-field input,
.quote-form .form-field select,
.quote-form .form-field textarea {
  min-height: 44px;
  border-color: #7789a4;
}

.mobile-call-bar {
  background: var(--midnight);
  box-shadow: 0 -4px 18px #0d1a3333;
}

@media (max-width: 920px) {
  .dusk-hero .hero-copy {
    padding-inline-end: .9rem;
  }

  .detail-hero-copy h1 {
    max-width: 13ch;
  }
}

@media (min-width: 721px) and (max-width: 880px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-header .header-cta {
    margin-inline-start: auto;
  }

  .site-header .menu-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: .5rem;
    color: var(--paper);
    cursor: pointer;
  }

  .site-header .header-nav {
    display: none;
    order: 5;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid var(--night-line);
  }

  .site-nav-open .site-header .header-nav {
    display: flex;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: .5rem;
    padding-block: .65rem;
  }

  .site-header .brand {
    font-size: 1.08rem;
  }

  .site-header .brand-mark {
    font-size: .87rem;
  }

  .site-header .header-call-link {
    display: none;
  }

  .site-header .header-cta {
    padding-inline: .65rem;
    font-size: .79rem;
  }

  .site-header .menu-toggle {
    padding-inline: .5rem;
    color: var(--paper);
    cursor: pointer;
  }

  .header-nav {
    padding-top: .45rem;
    border-top: 1px solid var(--night-line);
  }

  .header-nav a {
    width: 100%;
  }

  .dusk-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .dusk-hero .hero-copy {
    padding: 2.55rem var(--page-gutter) 2rem;
  }

  .dusk-hero .hero-copy h1 {
    font-size: clamp(3.15rem, 13.7vw, 6.15rem);
    margin-bottom: 1.25rem;
  }

  .dusk-hero .eyebrow {
    margin-bottom: .95rem;
  }

  .dusk-hero .hero-bg {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
    height: clamp(13rem, 58vw, 23rem);
  }

  .dusk-hero .hero-bg img {
    object-position: 53% 56%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-shell *,
  .site-shell *::before,
  .site-shell *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
