/* ==========================================================================
   Technology page process — numbered delivery steps
   ========================================================================== */

.eit-tproc {
	padding: clamp(52px, 7vw, 100px) 0;
	background: #ffffff;
}

.eit-tproc__inner {
	max-width: var(--eit-wrap);
	margin-inline: auto;
	padding-inline: clamp(18px, 3vw, 30px);
	display: grid;
	gap: clamp(32px, 4vw, 56px);
}

.eit-tproc__head { max-width: 860px; }

/* Size, weight and colour come from the shared heading style (headings.css). */
.eit-tproc__title {
	margin: 0;
	text-wrap: balance;
}

.eit-tproc__text {
	margin: 16px 0 0;
	max-width: 70ch;
	color: var(--eit-body, #3d4453);
	font-size: clamp(16px, 1.3vw, 18px);
	line-height: 1.7;
}

/* ---------- Steps ---------- */

.eit-tproc__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px);
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.eit-tproc__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eit-tproc__step:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Rows of three; a final row of two splits the width in half, and a lone
   last step takes the full row, so no row is left with a gap. */
@media (min-width: 1000px) {
	.eit-tproc__steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.eit-tproc__step,
	.eit-tproc__step:last-child:nth-child(odd) { grid-column: span 2; }
	.eit-tproc__step:nth-child(3n + 1):nth-last-child(2),
	.eit-tproc__step:nth-child(3n + 1):nth-last-child(2) ~ .eit-tproc__step { grid-column: span 3; }
	.eit-tproc__step:nth-child(3n + 1):last-child { grid-column: 1 / -1; }
}

/* Each step hangs off a rule, so the row reads as one track in order. */
.eit-tproc__step {
	position: relative;
	padding-top: 26px;
	border-top: 2px solid rgba(59, 79, 232, .18);
}

.eit-tproc__step::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	width: 56px;
	height: 2px;
	background: var(--eit-accent, #3b4fe8);
	transition: width .35s ease;
}

.eit-tproc__step:hover::before { width: 100%; }

@media (prefers-reduced-motion: reduce) {
	.eit-tproc__step::before { transition: none; }
}

.eit-tproc__num {
	display: block;
	color: var(--eit-accent, #3b4fe8);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .12em;
	font-variant-numeric: tabular-nums;
}

.eit-tproc__step-title {
	margin: 12px 0 0;
	color: var(--eit-ink, #15181f);
	font-size: clamp(19px, 1.6vw, 22px);
	font-weight: 600;
	line-height: 1.3;
}

.eit-tproc__step-text {
	margin: 12px 0 0;
	color: var(--eit-body, #3d4453);
	font-size: clamp(15px, 1.15vw, 16px);
	line-height: 1.65;
}
