.intro-hero {
  position: relative;
  display: flex;
  width: 100%;
  margin: 0;
  padding: clamp(48px, 10vw, 112px) clamp(20px, 6vw, 120px);
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  background-color: #1f3c24;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
  color: var(--White, #fff);
  overflow: hidden;
}

.intro-hero.has-image {
  background-color: transparent;
}

.intro-hero.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 19, 10, 0.6) 0%, rgba(9, 19, 10, 0.75) 100%);
  pointer-events: none;
}

.intro-hero__inner {
  display: flex;
  max-width: var(--Container-container-large, 1280px);
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(40px, 6vw, 80px);
  align-self: stretch;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.intro-hero__copy {
  display: flex;
  max-width: min(var(--Max-Width-max-width-large, 768px), 100%);
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;
  opacity: 0;
  transform: translateY(24px);
  animation: intro-hero-fade 0.8s ease forwards;
}

.intro-hero__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.intro-hero__tagline-row {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.intro-hero__eyebrow {
  margin: 0;
  color: var(--White, #fff);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.08em;
  text-transform: none;
}

.intro-hero__heading-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
  color: var(--White, #fff);
}

.intro-hero__headline {
  margin: 0;
  font-family: "Teachers", var(--wp--preset--font-family--inter, Inter, sans-serif);
  font-size: clamp(36px, 8vw, 84px);
  font-weight: 700;
  line-height: 110%;
  letter-spacing: -0.84px;
}

.intro-hero__subheading {
  margin: 0;
  align-self: stretch;
  color: var(--White, #fff);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 400;
  line-height: 150%;
}

.intro-hero__actions {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(24px);
  animation: intro-hero-fade 0.8s ease 0.15s forwards;
}

html.has-scroll-animations .intro-hero__copy,
html.has-scroll-animations .intro-hero__actions {
  animation-play-state: paused;
}

html.has-scroll-animations .intro-hero.is-visible .intro-hero__copy,
html.has-scroll-animations .intro-hero.is-visible .intro-hero__actions {
  animation-play-state: running;
}

.intro-hero__cta,
.intro-hero__secondary {
  box-sizing: border-box;
}

.intro-hero__cta {
  display: flex;
  height: 44px;
  padding: 8px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  background: #4fa550;
  color: #fff;
  border-radius: 0px;
  text-decoration: none;
  font-family: "Teachers", var(--wp--preset--font-family--inter, Inter, sans-serif);
  font-size: var(--Text-Sizes-Text-Regular, 18px);
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.intro-hero__secondary {
  display: flex;
  height: 44px;
  padding: 8px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 4px solid var(--Secondary-Light-Green, #4fa550);
  color: var(--White, #fff);
  text-align: center;
  font-family: "Teachers", var(--wp--preset--font-family--inter, Inter, sans-serif);
  font-size: var(--Text-Sizes-Text-Regular, 18px);
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.intro-hero__cta:hover,
.intro-hero__cta:focus-visible {
  background: #63bb64;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.intro-hero__secondary:hover,
.intro-hero__secondary:focus-visible {
  background: rgba(79, 165, 80, 0.15);
  color: #fff;
  border-color: #63bb64;
  transform: translateY(-1px);
}

.intro-hero__tertiary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--White, #fff);
  font-family: "Teachers", var(--wp--preset--font-family--inter, Inter, sans-serif);
  font-size: var(--Text-Sizes-Text-Regular, 18px);
  font-weight: 700;
  line-height: 150%;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease;
}

.intro-hero__tertiary-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.intro-hero__tertiary:hover,
.intro-hero__tertiary:focus-visible {
  color: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.intro-hero__media {
  position: relative;
  border-radius: var(--wp--custom--radius--lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.intro-hero__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 599px) {
  .intro-hero {
    padding: 120px 32px;
  }

  .intro-hero__inner {
    gap: 32px;
  }

  .intro-hero__copy {
    gap: 24px;
  }

  .intro-hero__actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .intro-hero__cta,
  .intro-hero__secondary {
    width: auto;
  }
}

@keyframes intro-hero-fade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-hero__copy,
  .intro-hero__actions {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
