/* Cinematic reference. Every selector remains confined to the Hero. */
.hero .hero-copy,
.hero .hero-text {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero .hero-copy::before,
.hero .hero-text::before,
.hero .hero-text::after {
  content: none;
}

/* A single horizontal forest tint. It starts below the unchanged header,
   fades into the original film on the right and never forms a text panel. */
.hero::after {
  content: '';
  position: absolute;
  inset: calc(var(--header-height, 155px) + 24px) 0 0;
  z-index: 0;
  pointer-events: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(90deg,
    rgba(16, 45, 70, .75) 0%,
    rgba(16, 45, 70, .66) 25%,
    rgba(16, 45, 70, .35) 50%,
    rgba(16, 45, 70, .08) 67%,
    rgba(16, 45, 70, 0) 78%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 58px);
  mask-image: linear-gradient(180deg, transparent, #000 58px);
}

.hero .hero-grid {
  position: relative;
  z-index: 1;
}

.hero .hero-text {
  padding: clamp(28px, 2.146vw, 40px) clamp(20px, 2.36vw, 44px) 0;
}

.hero .hero-text > .eyebrow {
  margin-bottom: clamp(24px, 1.663vw, 31px);
  color: #fff;
  font-size: clamp(12px, .86vw, 16px);
  font-weight: 600;
  letter-spacing: .1em;
  text-shadow: none;
}

.hero .hero-text > .eyebrow::after {
  content: '';
  display: block;
  width: clamp(72px, 5.15vw, 96px);
  height: 4px;
  margin-top: 10px;
  background: #1769aa;
}

.hero h1 {
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(3rem, 5.15vw, 6rem);
  font-weight: 850;
  line-height: .9;
  letter-spacing: -.055em;
  text-shadow: none;
  -webkit-text-stroke: 0;
  margin-bottom: 12px;
}

.hero h1 > .title-mask {
  padding-bottom: .08em;
  margin-bottom: -.06em;
}

.hero h1 > .title-mask:first-child {
  font-size: 1em;
  line-height: inherit;
  letter-spacing: inherit;
}

.hero h1 .title-dark {
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.hero h1 .title-sage {
  color: #49a3dc;
  background: none;
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 0;
  text-shadow: none;
}

.hero .hero-title-last {
  margin-top: clamp(8px, .429vw, 8px);
  font-size: clamp(20px, 1.931vw, 36px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.hero .hero-title-last .title-dark {
  color: #fff;
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}

.hero .hero-location {
  color: #eaf4fb;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(16px, 1.288vw, 24px);
  font-weight: 500;
  text-shadow: 0 1px 8px rgb(0 0 0 / 12%);
}

.hero .hero-ctas {
  margin-top: clamp(28px, 1.824vw, 34px);
  margin-left: clamp(20px, 2.36vw, 44px);
  gap: clamp(12px, .751vw, 14px);
}

.hero .hero-ctas .button {
  min-height: clamp(52px, 3.541vw, 66px);
  padding: 16px clamp(28px, 2.682vw, 50px);
  font-size: clamp(16px, 1.073vw, 20px);
  background: #1769aa;
  box-shadow: none;
}

.hero .hero-ctas .button:hover {
  background: #123f6b;
}

.hero .hero-ctas .button-ghost {
  min-height: 36px;
  padding: 6px 12px;
  color: #fff;
  background: transparent;
  font-size: clamp(16px, 1.18vw, 22px);
  text-decoration-color: #1769aa;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  text-shadow: none;
  transition: color .22s, text-underline-offset .22s, transform .22s;
}

.hero .hero-ctas .button-ghost:hover {
  background: transparent;
  color: #eaf4fb;
  text-underline-offset: 11px;
  transform: translateX(3px);
}

@media (max-width: 1180px) and (min-width: 701px) {
  .hero .hero-copy { width: 78%; }
  .hero .hero-background { background-position: 67% center; }
  .hero .hero-background video { object-position: 67% center; }
  .hero::after {
    background: linear-gradient(90deg,
      rgba(16, 45, 70, .75) 0%,
      rgba(16, 45, 70, .6) 27%,
      rgba(16, 45, 70, .35) 50%,
      rgba(16, 45, 70, 0) 85%);
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 760px;
    padding-top: calc(var(--header-height, 94px) + 142px);
    padding-bottom: calc(var(--sector-overlap, 60px) + 100px);
  }
  .hero .hero-grid { width: calc(100% - 40px); }
  .hero .hero-copy { width: 100%; }
  .hero .hero-text { padding: 0; }
  .hero .hero-background {
    inset: 0;
    height: 100%;
    background-position: 67% center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero .hero-background video {
    height: 100%;
    object-position: 67% center;
    opacity: 1;
    filter: none;
  }
  .hero::after {
    inset: calc(var(--header-height, 94px) + 16px) 0 0;
    background: linear-gradient(90deg,
      rgba(16, 45, 70, .75) 0%,
      rgba(16, 45, 70, .68) 36%,
      rgba(16, 45, 70, .35) 70%,
      rgba(16, 45, 70, 0) 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 80px);
    mask-image: linear-gradient(180deg, transparent, #000 80px);
  }
  .hero .hero-text > .eyebrow {
    max-width: 300px;
    margin-bottom: 24px;
    font-size: .75rem;
    line-height: 1.65;
    letter-spacing: .1em;
  }
  .hero .hero-text > .eyebrow::after { width: 72px; height: 3px; margin-top: 8px; }
  .hero h1 {
    font-size: clamp(2rem, 9.25vw, 3.7rem);
    line-height: .96;
    letter-spacing: -.055em;
  }
  .hero h1 > .title-mask:first-child {
    font-size: 1em;
    line-height: inherit;
    letter-spacing: inherit;
  }
  .hero .hero-title-last {
    font-size: clamp(15px, 3.85vw, 22px);
    line-height: 1.5;
    margin-top: 14px;
  }
  .hero .hero-location {
    max-width: 310px;
    font-size: 1rem;
    line-height: 1.6;
  }
  .hero .hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 30px 0 0;
    gap: 12px;
  }
  .hero .hero-ctas .button {
    min-height: 54px;
    padding: 14px 26px;
    font-size: 1rem;
    max-width: 100%;
  }
  .hero .hero-ctas .button-ghost {
    min-height: 40px;
    padding: 6px 10px;
    background: transparent;
    font-size: .9375rem;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-ctas .button-ghost { transition: none; }
  .hero .hero-ctas .button-ghost:hover { transform: none; }
}

@media (max-width: 360px) {
  .hero .hero-grid { width: calc(100% - 32px); }
  .hero h1 { font-size: 8.85vw; }
  .hero .hero-title-last { font-size: .8125rem; }
}
