/* TRC Process Steps
--------------------------------------------- */

.trc-process-steps {
	--trc-process-orange: #f15a24;
	--trc-process-black: #111111;
	--trc-process-white: #ffffff;
	--trc-process-warm-white: #f7f3ec;
	--trc-process-gap: clamp(1.25rem, 2vw, 2.5rem);

	box-sizing: border-box;
	width: 100%;
	overflow: hidden;
	color: var(--trc-process-black);
}

.trc-process-steps *,
.trc-process-steps *::before,
.trc-process-steps *::after {
	box-sizing: border-box;
}

.trc-process-steps--white {
	background-color: var(--trc-process-white);
}

.trc-process-steps--warm-white {
	background-color: var(--trc-process-warm-white);
}

.trc-process-steps__inner {
	width: min(100%, 1500px);
	margin: 0 auto;
	padding: clamp(1.75rem, 2.5vw, 3rem) clamp(1.25rem, 4vw, 4rem);
}

/* Section header */

.trc-process-steps__header {
	width: min(100%, 920px);
	margin: 0 auto clamp(2rem, 2.5vw, 2.75rem);
	text-align: center;
}

.trc-process-steps__eyebrow {
	margin: 0 0 0.75rem;
	color: var(--trc-process-orange);
	font-family: "Knockout", Arial, sans-serif;
	font-size: clamp(1rem, 1.3vw, 1.25rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.trc-process-steps__heading {
	max-width: 850px;
	margin: 0 auto;
	color: var(--trc-process-black);
	font-family: "Knockout", Arial, sans-serif;
	font-size: clamp(2.8rem, 4.5vw, 4.8rem);
	font-weight: 400;
	line-height: 0.94;
	letter-spacing: -0.015em;
}

.trc-process-steps__introduction {
	max-width: 720px;
	margin: clamp(1rem, 1.5vw, 1.5rem) auto 0;
	color: var(--trc-process-black);
	font-family: "Simplon", Arial, sans-serif;
	font-size: clamp(1.05rem, 1.25vw, 1.25rem);
	font-weight: 400;
	line-height: 1.5;
}

.trc-process-steps__introduction p {
	margin: 0;
}

.trc-process-steps__introduction p + p {
	margin-top: 0.75rem;
}

/* Steps */

.trc-process-steps__list {
	display: grid;
	width: min(100%, 1220px);
	grid-template-columns: repeat(
		var(--trc-process-step-count),
		minmax(0, 1fr)
	);
	gap: var(--trc-process-gap);
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.trc-process-steps__step {
	position: relative;
	min-width: 0;
	text-align: center;
}

/* Short, straight and bold desktop connector arrow */

.trc-process-steps__step:not(:last-child)::after {
	position: absolute;
	z-index: 0;
	top: 6.5rem;
	right: calc(-50% - var(--trc-process-gap) + 5.25rem);
	left: calc(50% + 5.25rem);
	height: 2.75rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 44' preserveAspectRatio='none'%3E%3Cpath d='M12 22 H151' fill='none' stroke='%23f15a24' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M138 9 L154 22 L138 35' fill='none' stroke='%23f15a24' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	content: "";
	pointer-events: none;
}

.trc-process-steps__step-inner {
	position: relative;
	z-index: 2;
	display: flex;
	height: 100%;
	min-width: 0;
	flex-direction: column;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

.trc-process-steps__step-inner--linked {
	border-radius: 8px;
	cursor: pointer;
	transition:
		color 180ms ease,
		transform 180ms ease;
}

.trc-process-steps__number {
	display: inline-flex;
	width: 2.25rem;
	height: 2.25rem;
	margin: 0 auto 1rem;
	flex: 0 0 2.25rem;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: var(--trc-process-orange);
	color: var(--trc-process-white);
	font-family: "Simplon", Arial, sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1;
}

.trc-process-steps__visual {
	position: relative;
	z-index: 2;
	display: flex;
	width: 100%;
	height: clamp(7rem, 8vw, 8rem);
	margin: 0 auto clamp(1rem, 1.5vw, 1.4rem);
	align-items: center;
	justify-content: center;
	color: var(--trc-process-black);
}

.trc-process-steps__visual svg {
	display: block;
	width: clamp(6rem, 7.5vw, 7.75rem);
	height: clamp(6rem, 7.5vw, 7.75rem);
	overflow: visible;
	fill: none;
	stroke: currentColor;
	stroke-width: 4;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition:
		color 180ms ease,
		transform 180ms ease;
}

.trc-process-steps__custom-image {
	display: block;
	width: auto;
	max-width: min(100%, 8rem);
	height: auto;
	max-height: 8rem;
	object-fit: contain;
	transition: transform 180ms ease;
}

.trc-process-steps__content {
	width: 100%;
}

.trc-process-steps__step-heading {
	margin: 0;
	color: var(--trc-process-black);
	font-family: "Knockout", Arial, sans-serif;
	font-size: clamp(1.8rem, 2.2vw, 2.5rem);
	font-weight: 400;
	line-height: 0.98;
	letter-spacing: -0.01em;
}

.trc-process-steps__step-text {
	max-width: 17.5rem;
	margin: 0.65rem auto 0;
	color: var(--trc-process-black);
	font-family: "Simplon", Arial, sans-serif;
	font-size: clamp(0.95rem, 0.95vw, 1.05rem);
	font-weight: 400;
	line-height: 1.45;
}

.trc-process-steps__step-text p {
	margin: 0;
}

.trc-process-steps__step-text p + p {
	margin-top: 0.65rem;
}

/* Linked steps */

.trc-process-steps__step-inner--linked:hover {
	color: var(--trc-process-orange);
	transform: translateY(-4px);
}

.trc-process-steps__step-inner--linked:hover
	.trc-process-steps__visual svg {
	color: var(--trc-process-orange);
	transform: scale(1.04);
}

.trc-process-steps__step-inner--linked:hover
	.trc-process-steps__custom-image {
	transform: scale(1.04);
}

.trc-process-steps__step-inner--linked:hover
	.trc-process-steps__step-heading {
	color: var(--trc-process-orange);
}

.trc-process-steps__step-inner--linked:focus-visible {
	outline: 3px solid var(--trc-process-orange);
	outline-offset: 8px;
}

.trc-process-steps__step-inner--linked:focus-visible
	.trc-process-steps__visual svg,
.trc-process-steps__step-inner--linked:focus-visible
	.trc-process-steps__step-heading {
	color: var(--trc-process-orange);
}

/* Supporting statement */

.trc-process-steps__supporting-statement {
	width: min(100%, 760px);
	margin: clamp(1.75rem, 2.5vw, 2.5rem) auto 0;
	padding-top: clamp(1rem, 1.5vw, 1.5rem);
	border-top: 2px solid var(--trc-process-orange);
	color: var(--trc-process-black);
	font-family: "Simplon", Arial, sans-serif;
	font-size: clamp(1.05rem, 1.3vw, 1.25rem);
	font-weight: 400;
	line-height: 1.45;
	text-align: center;
}

.trc-process-steps__supporting-statement p {
	margin: 0;
}

.trc-process-steps__supporting-statement p + p {
	margin-top: 0.75rem;
}

/* Tablet */

@media (max-width: 1000px) {
	.trc-process-steps__list {
		width: min(100%, 760px);
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 3rem clamp(2rem, 6vw, 4rem);
	}

	.trc-process-steps__step::after {
		display: none;
	}

	.trc-process-steps__visual {
		height: 7.5rem;
	}

	.trc-process-steps__step-heading {
		font-size: clamp(2rem, 4vw, 2.6rem);
	}
}

/* Mobile */

@media (max-width: 640px) {
	.trc-process-steps__inner {
		padding: 2rem 1.25rem;
	}

	.trc-process-steps__header {
		margin-bottom: 2.25rem;
	}

	.trc-process-steps__heading {
		font-size: clamp(2.8rem, 12.5vw, 4rem);
	}

	.trc-process-steps__introduction {
		font-size: 1.05rem;
	}

	.trc-process-steps__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 3rem;
	}

	.trc-process-steps__number {
		margin-bottom: 0.9rem;
	}

	.trc-process-steps__visual {
		height: 7rem;
		margin-bottom: 1rem;
	}

	.trc-process-steps__visual svg {
		width: 6.75rem;
		height: 6.75rem;
	}

	.trc-process-steps__step-heading {
		font-size: clamp(2.2rem, 11vw, 3rem);
	}

	.trc-process-steps__step-text {
		max-width: 22rem;
		font-size: 1rem;
	}

	.trc-process-steps__supporting-statement {
		margin-top: 2.5rem;
		font-size: 1.05rem;
	}
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
	.trc-process-steps__step-inner--linked,
	.trc-process-steps__visual svg,
	.trc-process-steps__custom-image {
		transition: none;
	}

	.trc-process-steps__step-inner--linked:hover,
	.trc-process-steps__step-inner--linked:hover
		.trc-process-steps__visual svg,
	.trc-process-steps__step-inner--linked:hover
		.trc-process-steps__custom-image {
		transform: none;
	}
}