.mi-impact-steps {
	--mi-impact-bg: #fbf8ec;
	--mi-impact-text: #3a3a3a;
	--mi-impact-muted: rgba(58, 58, 58, 0.52);
	--mi-impact-line: rgba(58, 58, 58, 0.14);
	--mi-impact-accent: #00a7b3;
	--mi-impact-left-width: 400px;
	background: var(--mi-impact-bg);
	color: var(--mi-impact-text);
	position: relative;
}

.mi-impact-steps,
.mi-impact-steps * {
	box-sizing: border-box;
}

.mi-impact-steps__wrap {
	position: relative;
	z-index: 1;
}

.mi-impact-steps__sticky {
	align-items: center;
	display: flex;
	height: 100vh;
	position: sticky;
	top: 0;
}

.mi-impact-steps__cols {
	align-items: center;
	display: grid;
	gap: 48px;
	grid-template-columns: minmax(240px, var(--mi-impact-left-width)) minmax(0, 1fr);
	padding: 80px max(24px, calc((100vw - 1240px) / 2 + 24px));
	width: 100%;
}

.mi-impact-steps__eyebrow {
	color: #00a7b3;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	line-height: 1.2;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.mi-impact-steps__title {
	color: var(--mi-impact-text);
	font-size: clamp(2rem, 3vw, 2.8rem);
	font-weight: 500;
	line-height: 1.12;
	margin: 0 0 18px;
}

.mi-impact-steps__script {
	color: #00a7b3;
	font-family: cursive;
	font-size: 1.35em;
	font-weight: 400;
	line-height: 0.75;
}

.mi-impact-steps__intro {
	font-size: 1rem;
	line-height: 1.65;
	margin: 0 0 34px;
	max-width: 440px;
}

.mi-impact-steps__timeline {
	list-style: none;
	margin: 0;
	padding: 0 0 0 38px;
	position: relative;
}

.mi-impact-steps__timeline::before,
.mi-impact-steps__progress {
	border-radius: 99px;
	content: "";
	left: 9px;
	position: absolute;
	top: 8px;
	width: 3px;
}

.mi-impact-steps__timeline::before {
	background: var(--mi-impact-line);
	bottom: 8px;
}

.mi-impact-steps__progress {
	background: linear-gradient(#00a7b3, #7c9e3d, #f18d87);
	height: 0;
	transition: height 260ms ease;
}

.mi-impact-steps__item {
	margin: 0;
	opacity: 0.45;
	position: relative;
	transition: opacity 240ms ease;
}

.mi-impact-steps__item.is-active {
	opacity: 1;
}

.mi-impact-steps__button {
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: block;
	font: inherit;
	padding: 13px 0;
	position: relative;
	text-align: left;
	width: 100%;
}

.mi-impact-steps__button::before {
	background: #fff;
	border: 2px solid rgba(58, 58, 58, 0.22);
	border-radius: 50%;
	content: "";
	height: 18px;
	left: -38px;
	position: absolute;
	top: 20px;
	transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
	width: 18px;
	z-index: 2;
}

.mi-impact-steps__item.is-active .mi-impact-steps__button::before {
	background: var(--mi-impact-accent);
	border-color: var(--mi-impact-accent);
	box-shadow: 0 0 0 7px color-mix(in srgb, var(--mi-impact-accent) 18%, transparent);
}

.mi-impact-steps__button:focus-visible {
	outline: 2px solid var(--mi-impact-accent);
	outline-offset: 4px;
}

.mi-impact-steps__stat {
	color: var(--mi-impact-text);
	display: block;
	font-family: Georgia, serif;
	font-size: 2.05rem;
	line-height: 1;
	transition: color 240ms ease;
}

.mi-impact-steps__item.is-active .mi-impact-steps__stat {
	color: var(--mi-impact-accent);
}

.mi-impact-steps__label {
	color: #333;
	display: block;
	font-size: 0.96rem;
	font-weight: 700;
	line-height: 1.35;
}

.mi-impact-steps__right {
	min-height: 560px;
	position: relative;
}

.mi-impact-steps__panel {
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transform: translateY(34px) scale(0.97);
	transition: opacity 520ms ease, transform 520ms ease;
}

.mi-impact-steps__panel.is-active {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.mi-impact-steps__card {
	align-items: stretch;
	background: transparent;
	display: flex;
	flex-direction: column;
	gap: 20px;
	height: 100%;
	justify-content: center;
	min-width: 0;
	overflow: hidden;
}

.mi-impact-steps__media {
	display: block;
	height: auto;
	max-height: 72vh;
	object-fit: cover;
	width: 100%;
}

.mi-impact-steps__media--rich {
	max-height: 320px;
}

.mi-impact-steps__panel-heading {
	color: var(--mi-impact-text);
	font-size: clamp(1.5rem, 2.4vw, 2.2rem);
	line-height: 1.15;
	margin: 0;
}

.mi-impact-steps__panel-text {
	color: var(--mi-impact-text);
	font-size: 1rem;
	line-height: 1.65;
	max-width: 680px;
}

.mi-impact-steps__gallery {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(160px, 1fr));
	min-height: 420px;
}

.mi-impact-steps__gallery-image {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.mi-impact-steps__gallery-image:first-child {
	grid-row: span 2;
}

.mi-impact-steps__logos {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mi-impact-steps__logo {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(0, 167, 179, 0.14);
	color: #073e44;
	display: flex;
	font-size: 0.78rem;
	font-weight: 800;
	gap: 9px;
	justify-content: center;
	line-height: 1.15;
	min-height: 78px;
	min-width: 0;
	padding: 9px 12px;
	text-align: left;
}

.mi-impact-steps__logo img {
	flex: 0 0 auto;
	height: 30px;
	object-fit: contain;
	width: 30px;
}

.mi-impact-steps__logo span:last-child {
	min-width: 0;
	overflow-wrap: anywhere;
}

.mi-impact-steps__logo-mark {
	background: var(--mi-impact-accent);
	border-radius: 50% 50% 50% 0;
	display: block;
	flex: 0 0 24px;
	height: 24px;
	transform: rotate(-45deg);
	width: 24px;
}

.mi-impact-steps__empty {
	align-items: center;
	background: rgba(255, 255, 255, 0.55);
	color: var(--mi-impact-muted);
	display: flex;
	font-weight: 700;
	justify-content: center;
	min-height: 260px;
	padding: 24px;
	text-align: center;
}

@media (max-width: 1024px) {
	.mi-impact-steps__cols {
		grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
	}

	.mi-impact-steps__logos {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.mi-impact-steps__wrap {
		min-height: 0 !important;
	}

	.mi-impact-steps__sticky {
		display: block;
		height: auto;
		position: relative;
		top: auto;
	}

	.mi-impact-steps__cols {
		display: block;
		padding: 72px 22px;
	}

	.mi-impact-steps__intro {
		max-width: none;
	}

	.mi-impact-steps__right {
		margin-top: 28px;
		min-height: 0 !important;
	}

	.mi-impact-steps__panel {
		display: none;
		inset: auto;
		opacity: 1;
		position: relative;
		transform: none;
	}

	.mi-impact-steps__panel.is-active {
		display: block;
	}

	.mi-impact-steps__gallery {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: none;
		min-height: 0;
	}

	.mi-impact-steps__gallery-image:first-child {
		grid-column: span 2;
		grid-row: auto;
	}

	.mi-impact-steps__logos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.mi-impact-steps__panel,
	.mi-impact-steps__item,
	.mi-impact-steps__button::before,
	.mi-impact-steps__progress {
		transition-duration: 1ms;
	}
}
