/* Process steps */

.blk-steps__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.blk-steps__head .section-heading {
	margin-bottom: 0;
}

.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
	counter-reset: step;
}

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

.step {
	position: relative;
	counter-increment: step;
	padding-top: 28px;
	border-top: 3px solid var(--line);
}

/* Amber progress segment on each step's rule. */
.step::before {
	content: '';
	position: absolute;
	top: -3px;
	left: 0;
	width: 56px;
	height: 3px;
	background: var(--leaf);
}

.step__num::before {
	content: counter(step, decimal-leading-zero);
	display: block;
	margin-bottom: 14px;
	font-family: var(--font-ui);
	font-size: clamp(2.5rem, 4vw, 3.25rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.03em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--bark);
}

.blk--dark .step__num::before {
	-webkit-text-stroke-color: var(--leaf);
}

/* Fallback where text-stroke is unsupported: solid numerals instead of invisible ones. */
@supports not (-webkit-text-stroke: 1px black) {
	.step__num::before { color: var(--bark); }
}

.step__title {
	font-size: 1.25rem;
}

.step__text {
	margin-top: 10px;
	font-size: .9375rem;
	line-height: 1.55;
	color: var(--muted);
}

@media (max-width: 1023px) {
	.steps,
	.steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 559px) {
	.steps,
	.steps--3,
	.steps--5,
	.steps--2 { grid-template-columns: minmax(0, 1fr); }
}

.blk-steps__foot {
	display: flex;
	justify-content: center;
	margin-top: clamp(40px, 5vw, 56px);
}
