/* =============================================================================
   About page — process section (Views/About/Sections/_Process.cshtml)
   -----------------------------------------------------------------------------
   Matches "Elevate 2.png" section 3: five numbered steps (01–05). Each row is
   a narrow two-column grid inside a narrower container; the large pale-gold
   numeral sits to the LEFT of the copy column, overlapping the title's left
   edge (title paints over the numeral). Odd rows: copy left / photo right;
   even rows: photo left / copy right; step 05 has no photograph. Geometry
   from the export: photos 300x397, step numerals ~6rem at 1440w.
   Scoped to .about-process (extends .step-row from components.css).
   ============================================================================= */

.about-process__container {
  /* Export renders the process block narrower than the standard container */
  max-width: 58rem;
}

.about-process .step-row {
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.about-process__copy {
  position: relative;
  /* Room for the numeral to the left; the title overlaps its right edge */
  padding-left: clamp(4.75rem, 8vw, 6.25rem);
  max-width: 26rem;
}

/* Override components.css: numeral is sized/positioned for the About pattern.
   z-index -1 keeps it behind the title text (pale gold behind navy glyphs). */
.about-process .step-row__number {
  left: 0;
  top: -0.4em;
  font-size: clamp(4rem, 6.5vw, 6rem);
  line-height: 1;
  z-index: -1;
}

.about-process__title {
  font-size: clamp(1.75rem, 2.9vw, 2.375rem);
  margin-bottom: var(--space-3);
}

.about-process__body {
  max-width: 17rem;
  margin-bottom: var(--space-3);
}

.about-process__body:last-child {
  margin-bottom: 0;
}

/* Photographs: 300x397 portrait crops, aligned flush to the container's
   outer edge on their row (right edge on odd rows, left edge on even rows). */
.about-process .step-row__media img {
  width: clamp(15rem, 21vw, 19.5rem);
  max-width: 100%;
  height: auto;
  aspect-ratio: 300 / 397;
  object-fit: cover;
}

.about-process .step-row:nth-child(odd) .step-row__media {
  justify-self: end;
}

.about-process .step-row:nth-child(even) .step-row__media {
  justify-self: start;
}

@media (max-width: 56.25em) {
  .about-process .step-row__copy {
    padding-left: 0;
    max-width: 34rem;
  }

  .about-process .step-row__number {
    position: static;
    display: block;
    margin-bottom: var(--space-1);
  }

  .about-process .step-row__media img {
    width: min(100%, 19.5rem);
    margin-inline: auto;
  }
}
