.henr-hero {
  --henr-green: #3f8f62;
  --henr-green-dark: #276543;
  align-items: flex-end;
  background: #1f3b2a;
  color: #fff;
  display: flex;
  isolation: isolate;
  min-height: clamp(34rem, 72svh, 48rem);
  overflow: hidden;
  position: relative;
}

.henr-hero__media,
.henr-hero__media img,
.henr-hero__shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.henr-hero__media {
  z-index: -2;
}

.henr-hero__media img {
  object-fit: cover;
  object-position: center 54%;
}

.henr-hero__shade {
  background:
    linear-gradient(90deg, rgb(8 24 15 / 82%) 0%, rgb(8 24 15 / 42%) 48%, rgb(8 24 15 / 8%) 78%),
    linear-gradient(0deg, rgb(8 24 15 / 52%) 0%, transparent 48%);
  z-index: -1;
}

.henr-hero__content {
  margin-inline: auto;
  max-width: 78rem;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 5vw, 4rem);
  width: 100%;
}

.henr-hero__eyebrow,
.henr-hero__title,
.henr-hero__description {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-wrap: balance;
}

.henr-hero__eyebrow {
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.henr-hero__title {
  color: inherit;
  font-size: clamp(2.35rem, 6vw, 5.25rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
  max-width: 13ch;
}

.henr-hero__description {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  margin: 1.25rem 0 0;
  max-width: 41rem;
}

.henr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.henr-hero__button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 0.25rem;
  display: inline-flex;
  font: 700 0.95rem/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.henr-hero__button--primary {
  background: var(--henr-green);
  color: #fff;
}

.henr-hero__button--primary:hover,
.henr-hero__button--primary:focus-visible {
  background: var(--henr-green-dark);
  color: #fff;
}

.henr-hero__button--secondary {
  background: rgb(255 255 255 / 12%);
  border-color: #fff;
  color: #fff;
}

.henr-hero__button--secondary:hover,
.henr-hero__button--secondary:focus-visible {
  background: #fff;
  color: #193523;
}

.henr-hero__button:focus-visible {
  outline: 3px solid #ffdc62;
  outline-offset: 3px;
}

/* Break out of Elementor's boxed content width on desktop. */
@media (min-width: 1025px) {
  .henr-hero {
    margin-inline: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
  }
}

@media (max-width: 767px) {
  .henr-hero {
    min-height: min(47rem, calc(100svh - 4rem));
  }

  .henr-hero__media img {
    object-position: center 48%;
  }

  .henr-hero__shade {
    background: linear-gradient(0deg, rgb(7 24 14 / 92%) 0%, rgb(7 24 14 / 58%) 47%, rgb(7 24 14 / 8%) 80%);
  }

  .henr-hero__content {
    padding: 3rem 1.25rem;
  }

  .henr-hero__title {
    font-size: clamp(2.45rem, 12vw, 3.7rem);
    max-width: 12ch;
  }

  .henr-hero__description {
    font-size: 1rem;
    max-width: 32rem;
  }

  .henr-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .henr-hero__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .henr-hero__button {
    transition: none;
  }
}

