.home-hero {
  position: relative;
  isolation: isolate;
  min-height: min(790px, calc(100svh - 88px));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-950) url("../img/hero-havok.webp") center / cover no-repeat;
}

.home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 29, 21, 0.97) 0%, rgba(4, 29, 21, 0.88) 38%, rgba(4, 29, 21, 0.48) 64%, rgba(4, 29, 21, 0.06) 100%),
    linear-gradient(0deg, rgba(4, 29, 21, 0.35), transparent 52%);
}

.home-hero-content {
  max-width: 705px;
  padding: clamp(86px, 10vw, 124px) 0;
}

.home-hero h1 {
  max-width: 9.2ch;
  color: var(--white);
}

.home-hero h1 span {
  color: var(--gold);
}

.home-hero .lead {
  max-width: 58ch;
  margin-bottom: 30px;
}

.home-hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  color: #d6e3dc;
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero-note span {
  position: relative;
}

.home-hero-note span + span::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: -14px;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.service-paths {
  background: var(--paper);
}

.service-feature-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.92fr 0.92fr;
  gap: 18px;
}

.service-feature {
  position: relative;
  isolation: isolate;
  min-height: 455px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.service-feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 29, 21, 0.96) 0%, rgba(4, 29, 21, 0.7) 43%, rgba(4, 29, 21, 0.04) 78%);
  transition: background 220ms ease;
}

.service-feature:hover::before {
  background: linear-gradient(0deg, rgba(4, 29, 21, 0.98) 0%, rgba(4, 29, 21, 0.8) 50%, rgba(4, 29, 21, 0.14) 84%);
}

.service-feature.solar {
  background-image: url("../img/solar-operations-v2.webp");
}

.service-feature.clearing {
  background-image: url("../img/cleared-access-v2.webp");
}

.service-feature.residential {
  background-image: url("../img/residential-property.webp");
}

.service-feature-content {
  width: 100%;
  padding: 30px;
}

.service-feature .eyebrow {
  margin-bottom: 12px;
}

.service-feature h3 {
  color: var(--white);
  font-size: clamp(2.15rem, 3.8vw, 3.15rem);
}

.service-feature p:not(.eyebrow) {
  max-width: 50ch;
  color: #d5e2db;
}

.service-feature .text-link {
  color: var(--white);
}

.service-feature .text-link::after {
  color: var(--gold);
}

.home-field {
  background: var(--forest-950);
}

.home-field .image-copy-content {
  color: var(--white);
}

.home-field h2 {
  color: var(--white);
}

.home-field p {
  color: #c9d8d0;
}

.home-field .text-link {
  color: var(--white);
}

.home-process {
  background: var(--cream);
}

.home-cta {
  background-image: url("../img/storm-access-v2.webp");
}

@media (max-width: 980px) {
  .home-hero {
    min-height: 720px;
    background-position: 62% center;
  }

  .home-hero::before {
    background:
      linear-gradient(90deg, rgba(4, 29, 21, 0.96), rgba(4, 29, 21, 0.72) 72%, rgba(4, 29, 21, 0.24)),
      linear-gradient(0deg, rgba(4, 29, 21, 0.35), transparent 52%);
  }

  .service-feature-grid {
    grid-template-columns: 1fr;
  }

  .service-feature {
    min-height: 400px;
  }
}

@media (max-width: 680px) {
  .home-hero {
    min-height: 0;
    display: block;
    padding-top: 300px;
    background-color: var(--forest-950);
    background-position: 66% top;
    background-size: auto 390px;
  }

  .home-hero::before {
    bottom: auto;
    height: 390px;
    background:
      linear-gradient(0deg, var(--forest-950) 0%, rgba(4, 29, 21, 0.38) 45%, rgba(4, 29, 21, 0.08) 100%),
      linear-gradient(90deg, rgba(4, 29, 21, 0.26), transparent 54%);
  }

  .home-hero-content {
    max-width: none;
    padding: 38px 0 56px;
  }

  .home-hero h1 {
    max-width: 10.5ch;
    font-size: clamp(3.25rem, 15vw, 4.35rem);
  }

  .home-hero .lead {
    font-size: 1rem;
  }

  .home-hero-note {
    display: grid;
    gap: 7px;
    margin-top: 24px;
    font-size: 0.77rem;
  }

  .home-hero-note span + span::before {
    display: none;
  }

  .service-feature {
    min-height: 370px;
  }
}
