/* ===========================================================================
   06-COMPONENTS / STEPPER  (c-stepper)
   A numbered, multi-step component for sequential logical stages — used on the
   project detail page for the 5 Natural Planning Model phases. Promoted (COPIED,
   not moved) from the landing's .site-method idiom; the landing keeps its own
   .site-method. Every selector is scoped under .c-stepper* so the alphabetical
   ITCSS glob can't clobber it. Existing tokens only; no inline style.
   =========================================================================== */

.c-stepper {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--space-5);
  padding: 0;
  margin: 0;
}

/* Each step is topped by an engraved seam — a 1px shadow line over a 1px
   highlight reads as a groove cut into the chassis. A short glowing cyan tick
   (tied to the step number) anchors the left end and makes each step distinct. */
.c-stepper__step {
  position: relative;
  padding-top: var(--space-4);
}
.c-stepper__step::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    to bottom,
    var(--c-bezel-shadow) 0 1px,
    var(--c-bezel-light) 1px 2px
  );
}
.c-stepper__step::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--space-6);
  height: 2px;
  background: var(--color-accent);
  box-shadow: var(--glow-cyan);
}

.c-stepper__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  line-height: 1;
  color: var(--color-accent);
  text-shadow: var(--glow-cyan);
}

.c-stepper__title {
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  color: var(--color-text-strong);
  margin-top: var(--space-3);
}

.c-stepper__body {
  font-size: var(--fs-sm);
  color: var(--color-text);
  margin-top: var(--space-2);
  max-width: none;
}
.c-stepper__body > * + * {
  margin-top: var(--space-2);
}

/* Muted placeholder for a not-yet-defined NPM phase (the walkthrough shows all 5
   phases regardless). */
.c-stepper__placeholder {
  color: var(--color-text-muted);
  font-style: italic;
}
