.split-hero.background {
  height: auto;
  background: #102a23;
}

.services-hero {
  --hero-photo: url(/img/spage.webp);
  --hero-photo-position: right center;
  --hero-mobile-position: 62% center;
}

.home-hero,
.about-hero {
  --hero-photo: url(/img/Largewindow2.webp);
  --hero-photo-position: center;
  --hero-mobile-position: center;
}

.why-hero {
  --hero-photo: url(/img/round.webp);
  --hero-photo-position: center;
  --hero-mobile-position: center;
}

.contact-hero {
  --hero-photo: url(https://images.unsplash.com/photo-1587560699334-cc4ff634909a?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1600&q=80);
  --hero-photo-position: center;
  --hero-mobile-position: center;
}

.split-hero > .overlay {
  position: relative;
  height: auto;
  background: none;
}

.split-hero > .overlay::before {
  position: absolute;
  inset: 0 0 0 30%;
  background: linear-gradient(90deg,
    #102a23 0%,
    rgba(16, 42, 35, .99) 8%,
    rgba(16, 42, 35, .91) 20%,
    rgba(16, 42, 35, .66) 38%,
    rgba(16, 42, 35, .36) 57%,
    rgba(16, 42, 35, .13) 76%,
    rgba(16, 42, 35, .06) 100%),
    var(--hero-photo) var(--hero-photo-position) / cover no-repeat;
  pointer-events: none;
  content: "";
}

.split-hero-content {
  position: relative;
  width: min(100%, 130rem);
  margin-inline: auto;
  padding: clamp(11rem, 13vw, 16rem) clamp(2.4rem, 5.5vw, 6rem) clamp(6rem, 7vw, 9rem);
  color: #fff;
}

.home-hero-brand {
  display: grid;
  width: fit-content;
  max-width: 100%;
  justify-items: center;
  gap: 1.3rem;
}

.home-hero-brand img {
  display: block;
  width: auto;
  height: clamp(7.2rem, 8.3vw, 10rem);
}

.home-hero-brand .home-hero-name {
  color: #c9c9c9;
  font: 400 clamp(3rem, 5.2vw, 6.5rem)/1.05 FuturaBookBT, sans-serif;
  text-align: center;
}

.home-hero .split-hero-content > .home-hero-service {
  max-width: 26ch;
  margin-top: 1.6rem;
  color: #fff;
  font: 400 clamp(2.25rem, 3.3vw, 4rem)/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}

.home-hero-service em {
  color: #9ee6cf;
}

.split-hero-content .hero-heading {
  max-width: 62rem;
  padding: 0;
  color: inherit;
  text-align: left;
  font: 400 clamp(4.4rem, 6vw, 7.7rem)/.99 Georgia, "Times New Roman", serif;
  letter-spacing: -.055em;
}

.split-hero-content .hero-heading em {
  display: block;
  color: #9ee6cf;
}

.split-hero .split-hero-content > p {
  max-width: 38ch;
  margin-top: 1.6rem;
  color: #f0faf5;
  text-align: left;
  font: 400 clamp(1.75rem, 2vw, 2.3rem)/1.5 system-ui, sans-serif;
}

.split-hero .split-hero-content > .split-hero-location {
  margin: 0 0 1.8rem;
  color: #bce9d8;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.split-hero-content .btn-row {
  width: auto;
  gap: 1rem;
  margin-top: 2.4rem;
}

.split-hero-content .middle,
.split-hero-content .middle:hover {
  width: auto;
  min-width: 11rem;
  margin: 0;
  padding: 1.1rem 1.5rem;
  font: 650 1.5rem/1.4 system-ui, sans-serif;
}

.split-hero-content #openPopup.middle {
  color: #0b2d24;
}

.split-hero-content a.middle {
  border: 1px solid #e3ece7;
  background: rgba(8, 29, 24, .32);
}

.split-hero-content a.middle:hover {
  background: #234f41;
}

.split-hero-content .middle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .home-hero,
  .about-hero {
    --hero-photo: url(/img/Largewindow.webp);
  }

  .split-hero > .overlay::before {
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 42, 35, .96), rgba(16, 42, 35, .68)),
      var(--hero-photo) var(--hero-mobile-position) / cover no-repeat;
  }
}
