/* Full-viewport “how it works” — scroll-snap + split layout (see /brand/*.png in docs/brand) */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-snap-type: y proximity;
    scroll-padding-top: 4.75rem;
  }
}

.oa-how-intro {
  padding: 2rem 0 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.oa-how-intro h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.oa-how-step {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

/* Intro is first child; steps are 2–4 */
.oa-how-journey > .oa-how-step:nth-child(2),
.oa-how-journey > .oa-how-step:nth-child(4) {
  background: linear-gradient(180deg, rgba(25, 135, 84, 0.05) 0%, transparent 48%);
}

.oa-how-journey > .oa-how-step:nth-child(3) {
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.05) 0%, transparent 48%);
}

.oa-how-step__inner {
  width: 100%;
}

.oa-how-step__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bs-success);
  margin-bottom: 0.5rem;
}

.oa-how-step__title {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #212529;
  margin-bottom: 0.75rem;
}

.oa-how-step__num {
  display: block;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(25, 135, 84, 0.2);
  margin-bottom: 0.25rem;
  user-select: none;
}

.oa-how-step__copy {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #495057;
  max-width: 34rem;
}

.oa-how-step__figure {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 50%, #e9ecef 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 24px 48px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  aspect-ratio: 16 / 10;
}

@media (min-width: 992px) {
  .oa-how-step__figure {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }
}

.oa-how-step__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.oa-how-step__figure--missing .oa-how-step__img {
  display: none;
}

.oa-how-step__figure--missing::after {
  content: 'Add image: ' attr(data-filename);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

.oa-how-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

.oa-how-scroll-hint svg {
  opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }
  .oa-how-step {
    scroll-snap-align: none;
    min-height: auto;
    padding: 3rem 0;
  }
}
