.trustmoore-home-hero {
	--trustmoore-home-hero-yellow: #ffff33;
	--trustmoore-home-hero-intro-width: 650px;
	--trustmoore-home-hero-services-width: min(1200px, calc(100vw - 260px));
	--trustmoore-home-hero-header-height: var(--wp--custom--trustmoore--header-height-desktop, 114px);
	--trustmoore-home-hero-transition-duration: 900ms;
	--trustmoore-home-hero-transition-ease: cubic-bezier(.22, 1, .36, 1);

	background: var(--trustmoore-home-hero-yellow);
	margin: 0;
	overflow: visible;
	position: relative;
	width: 100%;
}

.trustmoore-home-hero__stage {
	background: var(--trustmoore-home-hero-yellow);
	height: calc(100vh - var(--trustmoore-home-hero-header-height));
	isolation: isolate;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.trustmoore-home-hero__screen {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	inset: 0;
	justify-content: center;
	padding: clamp(24px, 6vw, 80px);
	position: absolute;
	transition:
		opacity var(--trustmoore-home-hero-transition-duration) var(--trustmoore-home-hero-transition-ease),
		transform var(--trustmoore-home-hero-transition-duration) var(--trustmoore-home-hero-transition-ease);
	width: 100%;
	will-change: opacity, transform;
}

.trustmoore-home-hero__screen--intro {
	align-items: center;
}

.trustmoore-home-hero__screen--services {
	align-items: stretch;
	max-width: none;
	padding: clamp(80px, 14vh, 180px) 0 clamp(56px, 10vh, 120px);
	width: 100%;
}

.trustmoore-home-hero__stage[data-active="intro"] .trustmoore-home-hero__screen--intro,
.trustmoore-home-hero__stage:not([data-active]) .trustmoore-home-hero__screen--intro {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.trustmoore-home-hero__stage[data-active="intro"] .trustmoore-home-hero__screen--services,
.trustmoore-home-hero__stage:not([data-active]) .trustmoore-home-hero__screen--services {
	opacity: 0;
	pointer-events: none;
	transform: translateY(16vh) scale(.985);
}

.trustmoore-home-hero__stage[data-active="services"] .trustmoore-home-hero__screen--intro {
	opacity: 0;
	pointer-events: none;
	transform: translateY(-16vh) scale(.985);
}

.trustmoore-home-hero__stage[data-active="services"] .trustmoore-home-hero__screen--services {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.trustmoore-home-hero__intro-inner {
	max-width: var(--trustmoore-home-hero-intro-width);
	transform: translateY(calc(var(--trustmoore-home-hero-header-height) / -2));
	width: var(--trustmoore-home-hero-intro-width);
}

.trustmoore-home-hero__brand {
	margin: 0 0 4.5rem;
}

.trustmoore-home-hero__image {
	display: block;
	height: auto;
	margin-inline: auto;
	max-width: 100%;
}

.trustmoore-home-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	row-gap: 0.5rem;
}

.trustmoore-home-hero__line {
	font-size: 23.76px;
	font-weight: 300;
	line-height: 1.2;
	margin: 0;
	padding: 0;
	text-align: left;
	text-align-last: left;
	width: 100%;
}

.trustmoore-home-hero__scroll-link {
	animation: trustmoore-home-hero-arrow-bounce 1.35s ease-in-out infinite;
	background: transparent;
	border: 0;
	bottom: 24px;
	cursor: pointer;
	display: block;
	left: 50%;
	padding: 0;
	position: absolute;
	transform: translateX(-50%);
	z-index: 10;
}

.trustmoore-home-hero__scroll-link img {
	display: block;
	height: auto;
	width: 30px;
}

@keyframes trustmoore-home-hero-arrow-bounce {
	0%,
	100% {
		transform: translate(-50%, -4px);
	}

	50% {
		transform: translate(-50%, 7px);
	}
}

.trustmoore-home-hero__services-inner {
	margin-inline: auto;
	width: var(--trustmoore-home-hero-services-width);
}

.trustmoore-home-hero__services-heading {
	font-size: 19px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 6rem;
	text-align: center;
}

.trustmoore-home-hero__services-grid {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
}

.trustmoore-home-hero__service {
	min-width: 0;
	width: 100%;
}

.trustmoore-home-hero__service-title {
	font-size: 19px;
	font-weight: 700;
	line-height: 21px;
	margin: 0 0 9.5px;
	min-height: 56px;
}

.trustmoore-home-hero__service-text {
	display: inline-block;
	margin: 0 0 32px;
	min-height: 144px;
	text-align: left;
}

.trustmoore-home-hero__service-action {
	position: relative;
}

.trustmoore-home-hero__service-button {
	margin-top: 36.8px;
	max-width: 14rem;
	position: relative;
	z-index: 2;
}

.trustmoore-home-hero__service-media {
	margin: 0;
	pointer-events: none;
}

.trustmoore-home-hero__service-shape {
	height: auto;
	max-width: none;
	position: absolute;
	width: auto;
	z-index: 1;
}

.trustmoore-home-hero__service-shape--fund {
	height: 120px;
	left: -65px;
	top: -10px;
}

.trustmoore-home-hero__service-shape--corporate {
	height: 140px;
	left: -50px;
	top: -15px;
}

.trustmoore-home-hero__service-shape--capital {
	height: 110px;
	left: -60px;
	top: 5px;
}

.trustmoore-home-hero__service-shape--private {
	height: 100px;
	left: -40px;
	top: 15px;
}

@media (max-width: 900px) {
	.trustmoore-home-hero {
		--trustmoore-home-hero-services-width: calc(100vw - 80px);
	}
}

@media (max-width: 768px) {
	.trustmoore-home-hero {
		--trustmoore-home-hero-header-height: var(--wp--custom--trustmoore--header-height-mobile, 82px);
		--trustmoore-home-hero-intro-width: 550px;
	}

	.trustmoore-home-hero__stage {
		height: auto;
		overflow: visible;
	}

	.trustmoore-home-hero__screen {
		filter: none !important;
		height: auto;
		inset: auto;
		opacity: 1 !important;
		pointer-events: auto !important;
		position: relative;
		transform: none !important;
		transition: none;
		will-change: auto;
	}

	.trustmoore-home-hero__screen--intro {
		min-height: calc(100vh - var(--trustmoore-home-hero-header-height));
	}

	.trustmoore-home-hero__screen--services {
		-webkit-overflow-scrolling: touch;
		justify-content: flex-start;
		min-height: auto;
		overflow: visible;
		overscroll-behavior: auto;
		padding: clamp(86px, 12vh, 120px) 30px 70px;
	}

	.trustmoore-home-hero__scroll-link {
		display: none;
	}

	.trustmoore-home-hero__services-heading {
		margin-bottom: 3.5rem;
	}

	.trustmoore-home-hero__services-grid {
		grid-template-columns: 1fr;
	}

	.trustmoore-home-hero__service {
		margin-bottom: 90px;
	}

	.trustmoore-home-hero__service-text {
		margin: 0;
		min-height: 0;
	}

	.trustmoore-home-hero__line {
		font-size: 19px;
	}
}

@media (max-width: 600px) {
	.trustmoore-home-hero {
		--trustmoore-home-hero-intro-width: 80%;
	}

	.trustmoore-home-hero__brand {
		margin-bottom: 5rem;
	}

	.trustmoore-home-hero__line {
		font-weight: 300;
	}
}

@media (max-width: 429px) {
	.trustmoore-home-hero__brand {
		margin-bottom: 3.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.trustmoore-home-hero {
		--trustmoore-home-hero-transition-duration: 1ms;
	}

	.trustmoore-home-hero__scroll-link {
		animation: none;
	}
}
