/**
 * IPS Process Timeline — shared Gutenberg and Elementor styles.
 * Layout is controlled with scoped custom properties and Elementor selectors,
 * so multiple widgets can safely use different designs on the same page.
 */

.elementor-widget-ips-process-timeline {
	flex: 0 0 auto;
	align-self: stretch;
	width: 100%;
	height: auto !important;
	max-width: 100%;
	min-width: 0;
	min-height: 0 !important;
}

.elementor-widget-ips-process-timeline > .elementor-widget-container {
	width: 100%;
	height: auto !important;
	min-height: 0 !important;
}

.ips-process {
	--ips-bg: #101010;
	--ips-stage-bg: #101010;
	--ips-step-bg: var( --ips-stage-bg );
	--ips-accent: #fff;
	--ips-text: #fff;
	--ips-muted: #a3a3a3;
	--ips-progress: #fff;
	--ips-progress-track: rgba( 255, 255, 255, 0.15 );
	--ips-overlay: #101010;
	--ips-transition: 460ms;
	--ips-ease: cubic-bezier( 0.22, 1, 0.36, 1 );
	--ips-slide: 16px;
	--ips-image-x: 50%;
	--ips-image-y: 50%;
	--ips-bg-x: 50%;
	--ips-bg-y: 50%;
	--ips-manual-stage-height: 360px;
	position: relative;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	background: var( --ips-bg );
	color: var( --ips-text );
	padding: 56px;
	overflow: hidden;
	box-sizing: border-box;
	isolation: isolate;
}

.ips-process--elementor {
	width: 100%;
	height: auto !important;
	min-height: 0 !important;
	padding: 0;
	overflow: visible;
	background: transparent;
}

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

/*
 * Two independent layers: the background fills the complete widget while the
 * content layer keeps every visible control inside the Elementor boxed width.
 */
.ips-process__content-layer {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: auto !important;
	min-height: 0 !important;
}

.ips-process__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 0 1 auto;
	width: 100%;
	max-width: 1240px;
	min-width: 0;
	height: auto !important;
	min-height: 0 !important;
	margin-right: auto;
	margin-left: auto;
}

.ips-process--elementor .ips-process__inner {
	height: auto;
	max-width: 1240px;
	min-height: 0;
}

/* Full-widget item backgrounds crossfade behind the boxed content. */
.ips-process__backgrounds,
.ips-process__background-layer {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	max-width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 100%;
	overflow: hidden;
	pointer-events: none;
}

/*
 * Elementor can place the widget inside a boxed inner container. Only the
 * background layer becomes full-bleed; the content layer keeps the exact
 * boxed width configured in Elementor.
 */
.ips-process--elementor .ips-process__backgrounds,
.ips-process--elementor .ips-process__background-layer {
	top: var( --ips-background-top, calc( 50% - 50vh ) );
	left: 50%;
	right: auto;
	bottom: auto;
	width: 100vw;
	max-width: none;
	height: var( --ips-background-height, 100% );
	min-height: 100%;
	transform: translateX( -50% );
}

.ips-process__section-bg {
	position: absolute;
	inset: 0;
	background: var( --ips-step-bg, var( --ips-bg ) );
	opacity: 0;
	visibility: hidden;
	transition:
		opacity var( --ips-transition ) var( --ips-ease ),
		visibility 0s linear var( --ips-transition );
}

.ips-process__section-bg.is-active {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

.ips-process__section-bg.is-active,
.ips-process__section-bg.is-leaving {
	will-change: opacity;
}

/* Header */
.ips-process__header {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	align-content: flex-start;
	gap: 24px;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 0 64px;
}

.ips-process__header-left {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: stretch;
	width: auto;
	max-width: 640px;
	min-width: 0;
}

.ips-process__header-right {
	display: flex;
	flex: 0 1 380px;
	flex-direction: column;
	align-items: stretch;
	width: auto;
	max-width: 380px;
	min-width: 0;
	padding-top: 32px;
	text-align: right;
}

.ips-process__eyebrow {
	display: inline-flex;
	align-self: auto;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 0;
	background: transparent;
	color: var( --ips-text );
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.12em;
}

.ips-process__eyebrow-dot {
	display: inline-block;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var( --ips-accent );
}

.ips-process__eyebrow-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	color: var( --ips-muted );
	object-fit: contain;
}

/* Pulse animation for the Dot icon template — a soft expanding ring, like a
 * live-status indicator. Left unclipped on purpose: the ring is meant to
 * grow past the dot's own resting size, and the eyebrow row has room above
 * and below for that. */
.ips-process__eyebrow-icon--pulse {
	position: relative;
}

.ips-process__eyebrow-icon--pulse::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.55;
	animation: ips-eyebrow-pulse 2000ms ease-out infinite;
	pointer-events: none;
}

@keyframes ips-eyebrow-pulse {
	0% {
		transform: scale( 1 );
		opacity: 0.55;
	}
	100% {
		transform: scale( 2.6 );
		opacity: 0;
	}
}

img.ips-process__eyebrow-icon {
	width: auto;
	height: auto;
}

.ips-process__eyebrow-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

/* A saved Elementor template used as the eyebrow icon keeps its own natural
 * size and can animate freely — it is NOT clipped and NOT force-squeezed
 * into the small default icon box, since either one breaks an animated
 * template (a pulsing/glowing effect needs room to move, and forcing
 * width: 100% distorts a template built at its own fixed dimensions).
 * A max-width safety cap still stops a runaway-large template from
 * breaking the header layout; keep the template itself modestly sized. */
.ips-process__eyebrow-icon--template {
	width: auto;
	height: auto;
	max-width: 160px;
	overflow: visible;
}

.ips-process__eyebrow-icon--template > * {
	max-width: 100%;
}

/* A saved template is usually built as an Elementor Container/Section,
 * which wants to stretch to 100% of whatever it's placed in — useful for
 * a page layout, wrong for an icon slot. Left alone, that "full width"
 * instinct makes the icon render far wider than its actual content (e.g.
 * an 8px dot), leaving no visible room for the eyebrow to be aligned at
 * all. These neutralize that specifically inside the icon slot so the
 * icon shrinks to its real content size instead. This only affects
 * width/flex-sizing, never overflow/visibility, so an animation that
 * scales or ripples outward is still completely unaffected. */
.ips-process__eyebrow-icon--template .elementor,
.ips-process__eyebrow-icon--template .e-con,
.ips-process__eyebrow-icon--template .e-con-full,
.ips-process__eyebrow-icon--template .elementor-widget,
.ips-process__eyebrow-icon--template .elementor-widget-container {
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	flex: 0 0 auto !important;
}

/* Best-effort color override for a custom-uploaded SVG icon that bakes in
 * its own fill/stroke color. Shapes explicitly set to "none" (typical of
 * outline icons) are left alone so an unwanted fill isn't introduced. This
 * cannot override a hardcoded inline style="fill:..." inside the SVG file
 * itself, only fill/stroke attributes and the SVG's own inherited fill —
 * the built-in Icon Template shapes never need this, they already use
 * currentColor by design. */
.ips-process__eyebrow-icon svg [fill]:not( [fill="none"] ) {
	fill: currentColor;
}

.ips-process__eyebrow-icon svg [stroke]:not( [stroke="none"] ) {
	stroke: currentColor;
}

.ips-process__heading {
	align-self: auto;
	margin: 0;
	color: var( --ips-text );
	font-size: clamp( 2.25rem, 4vw, 3rem );
	font-weight: 600;
	line-height: 0.95;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.ips-process__heading > * {
	margin: 0;
	color: inherit;
	font: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
}

.ips-process__heading > :not( :last-child ) {
	margin-bottom: 0.12em;
}

.ips-process__heading-italic {
	font-style: italic;
}

.ips-process__heading-accent {
	color: var( --ips-accent );
	font-style: italic;
}

.ips-process__side-desc {
	align-self: auto;
	margin: 0;
	color: var( --ips-muted );
	font-size: 14px;
	line-height: 1.45;
}

.ips-process--uppercase-eyebrow .ips-process__eyebrow,
.ips-process--uppercase-heading .ips-process__heading,
.ips-process--uppercase-tabs .ips-process__tab-number,
.ips-process--uppercase-tabs .ips-process__tab-label,
.ips-process--uppercase-meta .ips-process__meta,
.ips-process--uppercase-title .ips-process__title {
	text-transform: uppercase;
}

.ips-process--uppercase-eyebrow .ips-process__eyebrow {
	letter-spacing: 0.06em;
}

/* Stories-style tab strip */
.ips-process__tabs {
	display: flex;
	justify-content: flex-start;
	gap: 32px;
	width: 100%;
	margin: 0 0 48px;
	padding: 0 0 18px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-inline: contain;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	border: 0;
}

/* Elementor tabs wrap inside the boxed layer and never create page overflow. */
.ips-process--elementor .ips-process__tabs {
	flex-wrap: wrap;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	overscroll-behavior: auto;
	scroll-snap-type: none;
}

.ips-process__tabs::-webkit-scrollbar {
	display: none;
}

.ips-process__tab {
	appearance: none;
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	width: auto;
	max-width: 100%;
	min-width: min( 100%, var( --ips-tab-min-width, 140px ) );
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0 solid transparent;
	border-radius: 0;
	background: transparent;
	color: var( --ips-text );
	font: inherit;
	text-align: left;
	cursor: pointer;
	opacity: 1;
	transition:
		flex-grow 460ms var( --ips-ease ),
		background-color 280ms var( --ips-ease ),
		border-color 280ms var( --ips-ease ),
		border-width 280ms var( --ips-ease ),
		color 280ms var( --ips-ease );
	backface-visibility: hidden;
	-webkit-tap-highlight-color: transparent;
	scroll-snap-align: start;
}

.ips-process--elementor .ips-process__tab {
	min-width: min( 100%, var( --ips-tab-min-width, 140px ) );
	scroll-snap-align: none;
}

.ips-process--elementor .ips-process__tab-number,
.ips-process--elementor .ips-process__tab-label {
	overflow: hidden;
	white-space: nowrap;
	overflow-wrap: normal;
	word-break: normal;
	text-overflow: clip;
}

.ips-process__tab:focus-visible,
.ips-process__nav-btn:focus-visible {
	outline: 2px solid var( --ips-accent );
	outline-offset: 4px;
}

/* Prevent the browser's default focus ring and mobile tap-highlight from
 * flashing on click/tap; keyboard focus still gets the outline above. */
.ips-process__tab:focus:not( :focus-visible ),
.ips-process__nav-btn:focus:not( :focus-visible ) {
	outline: none;
}

.ips-process__tab-number,
.ips-process__tab-label {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: break-word;
	transition: color 280ms var( --ips-ease );
}

.ips-process__tab-track {
	opacity: 0.4;
	transition: background-color 280ms var( --ips-ease ), opacity 280ms var( --ips-ease );
}

.ips-process__tab:hover .ips-process__tab-track,
.ips-process__tab:focus-visible .ips-process__tab-track {
	opacity: 0.82;
}

.ips-process__tab.is-active .ips-process__tab-track {
	opacity: 1;
}

.ips-process__tab-number {
	color: var( --ips-muted );
	font-size: 12px;
	font-weight: 400;
}

.ips-process__tab-label {
	color: var( --ips-muted );
	font-size: 13px;
	font-weight: 400;
}

/* Normal tabs are dimmed relative to the active one so it's clear which
 * step you're on. This used to be done with opacity, which also dimmed
 * whatever color a "Normal" state control was set to — a custom color
 * looked washed out and seemed broken. It's a real color change now, so
 * a "Normal" color renders at full, undiminished strength. */
.ips-process__tab:hover .ips-process__tab-number,
.ips-process__tab:hover .ips-process__tab-label,
.ips-process__tab:focus-visible .ips-process__tab-number,
.ips-process__tab:focus-visible .ips-process__tab-label,
.ips-process__tab.is-active .ips-process__tab-number,
.ips-process__tab.is-active .ips-process__tab-label {
	color: var( --ips-text );
}

/* On narrow screens four tab labels side by side quickly run out of room
 * and get cut off mid-word. If a Tab Label — Short is set for a step, it
 * swaps in below this breakpoint instead; otherwise the short span holds
 * the same text as the full one (set in PHP), so nothing changes for
 * steps that don't use it. */
.ips-process__tab-label-tablet,
.ips-process__tab-label-short {
	display: none;
}

@media ( max-width: 1024px ) and ( min-width: 768px ) {
	.ips-process__tab-label-full {
		display: none;
	}

	.ips-process__tab-label-tablet {
		display: inline;
	}
}

@media ( max-width: 767px ) {
	.ips-process__tab-label-full {
		display: none;
	}

	.ips-process__tab-label-short {
		display: inline;
	}
}

.ips-process__tab-track {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	height: 2px;
	margin-top: 8px;
	overflow: hidden;
	border-radius: 99px;
	background: var( --ips-progress-track );
}

.ips-process__tab-fill {
	position: absolute;
	inset: 0 auto 0 0;
	display: block;
	width: 100%;
	border-radius: inherit;
	background: var( --ips-progress );
	transform-origin: left center;
	transform: scaleX( 0 );
	backface-visibility: hidden;
}

.ips-process__tab.is-active .ips-process__tab-fill {
	will-change: transform;
}

.ips-process__tab:not( .is-active ) .ips-process__tab-fill {
	transform: scaleX( 0 ) !important;
	animation: none !important;
}

@keyframes ips-process-fill {
	from { transform: scaleX( 0 ); }
	to { transform: scaleX( 1 ); }
}

/* Stage */
.ips-process__stage {
	position: relative;
	min-height: var( --ips-min-height, 360px );
	overflow: hidden;
	border-radius: 0;
	background: var( --ips-stage-bg );
	transform: translateZ( 0 );
	contain: layout paint;
	/* Height is briefly pinned by JS when the active item changes so the
	 * container eases to the new content height instead of snapping. */
	transition: height var( --ips-transition ) var( --ips-ease );
}

.ips-process__stage.is-resizing {
	will-change: height;
}

.ips-process--elementor .ips-process__stage {
	flex: 0 0 auto;
	width: 100%;
	background: transparent;
}

.ips-process__panel {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-start;
	min-width: 0;
	min-height: var( --ips-min-height, 360px );
	background: var( --ips-step-bg, var( --ips-stage-bg ) );
	opacity: 0;
	pointer-events: none;
	z-index: 1;
	transition:
		opacity var( --ips-transition ) var( --ips-ease ),
		transform var( --ips-transition ) var( --ips-ease );
}

.ips-process--animation-fade .ips-process__panel {
	transform: none;
}

.ips-process--animation-slide .ips-process__panel,
.ips-process:not( .ips-process--animation-fade ):not( .ips-process--animation-scale ) .ips-process__panel {
	transform: translate3d( var( --ips-slide ), 0, 0 );
}

.ips-process--animation-scale .ips-process__panel {
	transform: scale( 0.985 );
}

.ips-process__panel.is-active {
	position: relative;
	opacity: 1;
	pointer-events: auto;
	z-index: 2;
}

.ips-process__panel.is-active,
.ips-process__panel.is-leaving {
	will-change: opacity, transform;
}

.ips-process--elementor .ips-process__panel {
	height: auto;
	background: transparent;
}

/* Elementor defaults to the active item's natural content height. The
 * responsive Stage Height Mode control can opt back into a custom minimum. */
.ips-process--elementor .ips-process__stage,
.ips-process--elementor .ips-process__panel,
.ips-process--elementor .ips-process__content {
	min-height: 0 !important;
}

.ips-process--elementor .ips-process__panel.is-active {
	position: relative;
	inset: auto;
}

.ips-process--animation-slide .ips-process__panel.is-active,
.ips-process--animation-scale .ips-process__panel.is-active,
.ips-process:not( .ips-process--animation-fade ):not( .ips-process--animation-scale ) .ips-process__panel.is-active {
	transform: translate3d( 0, 0, 0 ) scale( 1 );
}

.ips-process__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: var( --ips-step-bg, var( --ips-stage-bg ) );
}

.ips-process__bg-media {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var( --ips-bg-x ) var( --ips-bg-y );
	transform: scale( 1.008 );
	transition: transform var( --ips-transition ) var( --ips-ease );
	backface-visibility: hidden;
}

.ips-process__panel.is-active .ips-process__bg-media,
.ips-process__section-bg.is-active .ips-process__bg-media {
	transform: scale( 1 );
}

.ips-process__bg-overlay {
	position: absolute;
	inset: 0;
	display: block;
	background: var( --ips-overlay );
}

.ips-process__content {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: inherit;
	padding: 0;
}

.ips-process__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	align-self: flex-start;
	gap: 24px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.ips-process__text {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex: 1 1 0;
	width: 100%;
	max-width: 640px;
	min-width: 0;
	overflow: visible;
}

.ips-process__title {
	align-self: flex-start;
	margin: 0 0 18px;
	color: var( --ips-text );
	font-size: clamp( 2rem, 3vw, 2.25rem );
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.ips-process__meta {
	margin: 0 0 14px;
	color: var( --ips-muted );
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.04em;
	opacity: 0.7;
}

.ips-process__desc,
.ips-process__desc p {
	color: var( --ips-muted );
	font-size: 14px;
	line-height: 1.7;
}

.ips-process__desc {
	align-self: flex-start;
	width: 100%;
	max-width: 520px;
	overflow: visible;
	overflow-wrap: anywhere;
	word-break: normal;
}

.ips-process__desc p {
	margin: 0 0 0.75em;
}

.ips-process__desc > :last-child {
	margin-bottom: 0;
}

.ips-process__step-image-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 1 auto;
	width: 50%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	contain: paint;
}

.ips-process__step-image {
	display: block;
	width: 100%;
	height: 300px;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	border-radius: 12px;
	object-fit: contain;
	object-position: var( --ips-image-x ) var( --ips-image-y );
	transform: translateZ( 0 );
	backface-visibility: hidden;
}

/* Legacy block images are not wrapped. */
.ips-process__text > .ips-process__step-image {
	height: auto;
	margin-top: 16px;
}

.ips-process__numeral {
	--ips-number-offset-x: 12px;
	--ips-number-offset-y: 0px;
	--ips-number-left: auto;
	--ips-number-right: var( --ips-number-offset-x );
	--ips-number-top: var( --ips-number-offset-y );
	--ips-number-bottom: auto;
	--ips-number-translate-x: 0%;
	--ips-number-translate-y: 0%;
	position: absolute;
	top: var( --ips-number-top );
	left: var( --ips-number-left );
	right: var( --ips-number-right );
	bottom: var( --ips-number-bottom );
	z-index: 0;
	color: var( --ips-muted );
	font-size: clamp( 7.5rem, 14vw, 10rem );
	font-weight: 400;
	line-height: 0.85;
	opacity: 0.07;
	transform: translate( var( --ips-number-translate-x ), var( --ips-number-translate-y ) );
	user-select: none;
	pointer-events: none;
}

.ips-process__nav {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 28px;
	width: 100%;
	max-width: 100%;
	margin: 24px 0 0;
	padding: 0;
}

.ips-process__nav-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0 solid transparent;
	border-radius: 0;
	background: transparent;
	color: var( --ips-text );
	font: inherit;
	font-size: 12px;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	opacity: 0.78;
	-webkit-tap-highlight-color: transparent;
	transition:
		opacity 200ms ease,
		transform 200ms var( --ips-ease ),
		background-color 200ms var( --ips-ease ),
		border-color 200ms var( --ips-ease ),
		color 200ms var( --ips-ease );
}

.ips-process__nav-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: var( --ips-nav-icon-size, 14px );
	height: var( --ips-nav-icon-size, 14px );
	color: inherit;
}

.ips-process__nav-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.ips-process__nav-btn:hover {
	opacity: 1;
	transform: translateY( -1px );
}

.ips-process__nav-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
	transform: none;
}

/* Responsive fallbacks; Elementor's generated device selectors override them. */
@media ( max-width: 1024px ) {
	.ips-process__header {
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
	}

	.ips-process__header-left,
	.ips-process__header-right {
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
	}

	.ips-process__header-right {
		max-width: 100%;
		padding-top: 0;
		text-align: left;
	}
}

@media ( max-width: 782px ) {
	.ips-process:not( .ips-process--elementor ) {
		padding: 44px 20px;
	}

	.ips-process:not( .ips-process--elementor ) .ips-process__tabs {
		gap: 20px;
	}

	.ips-process:not( .ips-process--elementor ) .ips-process__tab {
		min-width: 110px;
	}

	.ips-process:not( .ips-process--elementor ) .ips-process__content {
		padding: 28px 24px;
	}

	.ips-process__body {
		min-width: 0;
	}

	.ips-process__step-image-wrap {
		max-width: 100%;
	}

	.ips-process__numeral {
		--ips-number-offset-x: 0px;
		--ips-number-offset-y: 0px;
		font-size: 96px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.ips-process__tab,
	.ips-process__stage,
	.ips-process__panel,
	.ips-process__section-bg,
	.ips-process__bg-media,
	.ips-process__step-image,
	.ips-process__nav-btn {
		transition-duration: 1ms !important;
		transform: none !important;
	}

	.ips-process__tab-fill {
		animation: none !important;
	}

	.ips-process__eyebrow-icon--pulse::after {
		animation: none !important;
		display: none;
	}
}


/* ------------------------------------------------------------------------
 * Section-height mode (Stage Height Mode > Height applies to > whole section)
 *
 * Without this the height control sizes the STAGE, and the header and tabs sit
 * above it, so a 100vh stage produced a 1.39 viewport section (measured on
 * /services/: header 116 + tabs 92 + stage 900 + 140 of gaps = 1248 at a 900px
 * viewport). Here the number sizes .ips-process itself and the stage takes the
 * remaining space, so "100vh" means the section is one screen tall.
 *
 * min-height:0 on the stage is what actually lets it shrink: a flex item will
 * not go below its min-height, and the stage carries 360px by default. */
.ips-ph-section .ips-process {
	display: flex;
	flex-direction: column;
}

.ips-ph-section .ips-process__content-layer,
.ips-ph-section .ips-process__inner {
	flex: 1 1 auto;
}

.ips-ph-section .ips-process__stage {
	flex: 1 1 auto;
	min-height: 0;
	/* The ACTIVE panel is position:relative (only the inactive ones are
	 * absolute), so it is the element that gives the stage its height - and it
	 * only ever grew to its own content, 233px inside a 732px stage. Everything
	 * below it therefore had nothing to align within, which is why Vertical
	 * Position appeared to do nothing even after it was pointed at the right
	 * element. Make the stage a column and let the active panel take the slack. */
	display: flex;
	flex-direction: column;
}

.ips-ph-section .ips-process__panel.is-active {
	flex: 1 1 auto;
}

/* In stage mode the height control puts a min-height on __content, so it fills
 * the stage and Vertical Position has a box to work inside. In section mode
 * that rule deliberately does not apply, and __panel is align-items:flex-start,
 * so __content collapsed to its own 360px and Vertical Position had almost
 * nothing to centre within. Stretch it to the panel, which is the stage. */
.ips-ph-section .ips-process__panel {
	align-items: stretch;
}

.ips-ph-section .ips-process__content {
	min-height: 0;
}
