/* Same outer geometry as the Projects sticky/gallery container. */
.workflow-section {
  position: relative;
  z-index: 20;
  padding: var(--section-space) var(--page-padding) 0;
  background: var(--editorial-surface);
}
.workflow-section__panel {
  max-width: var(--content-width);
  margin-inline: auto;
  padding: clamp(56px, 5vw, 80px) clamp(40px, 4vw, 64px);
  border-radius: var(--radius);
  background: var(--foreground);
  color: var(--background);
}
.workflow-section__eyebrow {
  margin: 0 0 24px;
  color: #92928e;
}
.workflow-section__title {
  margin: 0;
  font-size: var(--type-section);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
}
.workflow-section__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(24px, 2vw, 32px);
  margin-top: var(--content-space);
}
.workflow-section__step { min-width: 0; display: grid; grid-row: span 3; grid-template-rows: subgrid; border-top: 1px solid #50504d; padding-top: 24px; transition: border-color 300ms ease; }
.workflow-section__number { color: #92928e; font-size: var(--type-micro); font-weight: var(--micro-weight); line-height: 1; }
.workflow-section__step h3 {
  margin: 12px 0 16px;
  font-size: var(--type-content-title);
  font-weight: var(--content-weight);
  letter-spacing: var(--content-tracking);
  line-height: var(--content-leading);
  overflow-wrap: anywhere;
  hyphens: auto;
}
.workflow-section__copy { margin: 0; color: #a0a09b; font-size: var(--type-body); font-weight: var(--body-weight); letter-spacing: var(--body-tracking); line-height: var(--body-leading); }
.workflow-section__detail { margin: 18px 0 0; color: #858580; font-size: var(--type-micro); font-weight: var(--micro-weight); line-height: 1.35; transition: color 300ms ease; }
.workflow-section__step:focus-within { border-color: var(--text-on-dark); }
.workflow-section__step:focus-within .workflow-section__detail { color: var(--text-on-dark); }
@media (hover: hover) {
  .workflow-section__step:hover { border-color: var(--text-on-dark); }
  .workflow-section__step:hover .workflow-section__detail { color: var(--text-on-dark); }
}
@media (max-width: 1100px) {
  .workflow-section__steps { grid-template-columns: 1fr; gap: 40px; }
  .workflow-section__step { display: block; grid-row: auto; }
}
@media (max-width: 720px) {
  .workflow-section__panel { padding: 40px 24px; border-radius: var(--radius); }
  .workflow-section__title { font-size: var(--type-section); }
  .workflow-section__steps { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .workflow-section__step, .workflow-section__detail { transition: none; }
}
