/* Our Approach only: the four steps read as one sequence, with the heading held
   beside them on wide screens. Linked from src/pages/our-approach.astro. Every
   rule is scoped to an approach-journey or approach-step class. */

.approach-journey {
  background: var(--paper);
}

.approach-journey__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: start;
}

.approach-journey__intro {
  position: sticky;
  top: 7rem;
}

.approach-journey__intro h2 {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.approach-journey__intro > p:not(.eyebrow) {
  max-width: 24rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.approach-journey__intro .text-link {
  margin-top: 1.75rem;
}

.approach-journey__steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The line that joins the four steps. */
.approach-journey__steps::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 1px;
  background: linear-gradient(var(--coral), var(--sage));
}

.approach-step {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.approach-step:last-child {
  padding-bottom: 0;
}

.approach-step__number {
  position: relative;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.approach-step:last-child .approach-step__number {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.approach-step__body {
  padding-top: 0.35rem;
}

.approach-step__body .eyebrow {
  margin-bottom: 0.6rem;
}

.approach-step__body h3 {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.3rem);
  font-weight: 500;
  line-height: 1.1;
}

.approach-step__body p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: 0.75rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.75;
}

@media (max-width: 860px) {
  .approach-journey__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .approach-journey__intro {
    position: static;
  }
}
