/* ==========================================================================
   Process steps (reused on service/new-construction pages too)
   ========================================================================== */

/* Faint pinboard dot-grid, distinct from the body's line grid and the
   process-preview section's rings above it. */
.process-steps-section {
  background-image: radial-gradient(var(--decor-tint-strong) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  list-style: none;
}

.process-steps--5 {
  grid-template-columns: repeat(5, 1fr);
}

.process-step__index {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-navy-800);
  margin-bottom: var(--space-xs);
}

.process-step__title {
  font-weight: 700;
  margin-bottom: var(--space-3xs);
}

.process-step__text {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

/* Homepage timeline variant. */
.process-steps-section--home.section--navy {
  background-color: var(--color-brand);
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
}

.process-steps-section--home.section--navy .section-head .eyebrow {
  color: var(--color-star);
}

.process-steps-section--home.section--navy .section-head h2 {
  color: var(--color-white);
}

.process-steps-section--home.section--navy .process-steps {
  position: relative;
  gap: 0;
}

.process-steps-section--home.section--navy .process-steps::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: color-mix(in srgb, var(--color-star) 65%, transparent);
}

.process-steps-section--home.section--navy .process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-inline: var(--space-md);
}

.process-steps-section--home.section--navy .process-step__index {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: var(--color-star);
  color: var(--color-brand);
  font-family: var(--font-body);
  font-size: var(--fs-small);
}

.process-steps-section--home.section--navy .process-step__title {
  color: var(--color-white);
}

.process-steps-section--home.section--navy .process-step__text {
  max-width: 24ch;
  margin-inline: auto;
  color: var(--color-text-on-dark-muted);
}

@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--space-xl);
  }

  .process-steps--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps-section--home.section--navy .process-steps::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps--5 {
    grid-template-columns: 1fr;
  }
}
