/* =============================================================================
   Home — "How It Works" (consultation → measurement → design → production →
   installation)
   -----------------------------------------------------------------------------
   Companion stylesheet for Views/Home/Sections/_Process.cshtml. Uses the
   shared .step / .step--compact numbered markers; adds the process-imagery
   treatment on top. Scoped so it cannot collide with other pages' section CSS.
   ============================================================================= */

/* Target of the scroll story's "See How We Work" CTA — clear the sticky header
   when the anchor is followed. */
.home-process {
  scroll-margin-top: calc(var(--header-height) + var(--space-4));
}

.home-process__lead {
  max-width: 44rem;
}

.home-process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(var(--space-5), 3vw, var(--space-7));
}

@media (max-width: 62em) {
  .home-process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40em) {
  .home-process__grid {
    grid-template-columns: 1fr;
  }
}

.home-process__step {
  display: block;
}

.home-process__step-media img,
.home-process__media-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.home-process__media-placeholder {
  background-color: var(--color-cream-deep);
  border: 1px solid var(--border-color);
}

.home-process__step .step__number {
  margin: var(--space-4) 0 var(--space-2);
}
