/* Clear, slightly enhanced photo layer — the tint stays separate from the text. */
.hero {
  isolation: isolate;
  /* Keep the hero painted while its photo is still downloading. */
  background-color: #3e879f;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: -2;
  background: url('../images/hero.webp') center 64%/cover no-repeat;
  filter: saturate(1.12) contrast(1.06) brightness(1.03);
}

.hero::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(52, 128, 140, 0.22) 0%, rgba(22, 93, 105, 0.38) 100%);
}

.hero-center {
  position: relative;
  z-index: 1;
}

.hero .stats {
  z-index: 1;
}
