/* How It Works — photo hero with value prop overlay */

.how-it-works-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 2rem;
}
.how-it-works-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .how-it-works-hero-bg {
    background-attachment: scroll;
  }
}
.how-it-works-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 25, 23, 0.35) 0%,
    rgba(28, 25, 23, 0.6) 100%
  );
  z-index: 1;
}
.how-it-works-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem var(--container-padding);
  text-align: center;
}
.how-it-works-hero-content h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 500;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.how-it-works-hero-content .lead {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
