.residential-page .residential-quick-path {
	display: none;
}

.residential-quick-path {
	position: relative;
	z-index: 1;
	margin-top: -1px;
	padding: 5.5rem 0 4rem;
	background: #050c18;
}

.residential-quick-path__intro {
	max-width: 40rem;
	margin-bottom: 2rem;
}

.residential-quick-path__heading {
	margin: 0 0 1rem;
	font-family: var(--ldg-font-display);
	font-size: clamp(2.2rem, 4vw, 4rem);
	line-height: 0.96;
	color: #f1f2f4;
}

.residential-quick-path__copy {
	margin: 0;
	max-width: 30rem;
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(241, 242, 244, 0.78);
}

.residential-quick-path__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem;
}

.residential-quick-path__card {
	position: relative;
	min-height: 36rem;
	overflow: hidden;
	border-radius: 1.15rem;
	background: #101826;
	opacity: 0;
	transition:
		opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
		filter 760ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform, opacity, filter;
	filter: blur(6px);
}

.residential-quick-path__card:nth-child(odd) {
	transform: translate3d(-4.5rem, 0, 0) rotate(-2.2deg);
}

.residential-quick-path__card:nth-child(even) {
	transform: translate3d(4.5rem, 0, 0) rotate(2.2deg);
}

.residential-quick-path.is-visible .residential-quick-path__card {
	opacity: 1;
	transform: translate3d(0, 0, 0) rotate(0deg);
	filter: blur(0);
}

.residential-quick-path.is-visible .residential-quick-path__card:nth-child(2) {
	transition-delay: 120ms;
}

.residential-quick-path__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.residential-quick-path__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(5, 12, 24, 0.08) 0%, rgba(5, 12, 24, 0.18) 28%, rgba(5, 12, 24, 0.78) 100%);
}

.residential-quick-path__content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	padding: 1.7rem 1.45rem 1.5rem;
}

.residential-quick-path__title {
	margin: 0 0 0.65rem;
	font-family: var(--ldg-font-display);
	font-size: clamp(1.6rem, 2.5vw, 2.55rem);
	line-height: 0.98;
	color: #f1f2f4;
}

.residential-quick-path__description {
	margin: 0;
	max-width: 28rem;
	font-size: 0.98rem;
	line-height: 1.65;
	color: rgba(241, 242, 244, 0.84);
}

.residential-quick-path__cta {
	align-self: flex-end;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	color: #f1f2f4;
	transition: transform 240ms ease, opacity 240ms ease;
}

.residential-quick-path__cta-label {
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.residential-quick-path__cta-icon {
	display: inline-flex;
	width: 0.95rem;
	height: 0.95rem;
	background-color: currentColor;
	-webkit-mask-image: url("../../../icons/explore.svg");
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
	mask-image: url("../../../icons/explore.svg");
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	transition: transform 240ms ease;
}

.residential-quick-path__card:hover .residential-quick-path__image,
.residential-quick-path__card:focus-within .residential-quick-path__image {
	transform: scale(1.05);
}

.residential-quick-path__card:hover .residential-quick-path__cta,
.residential-quick-path__card:focus-within .residential-quick-path__cta {
	transform: translateX(0.3rem);
}

.residential-quick-path__card:hover .residential-quick-path__cta-icon,
.residential-quick-path__card:focus-within .residential-quick-path__cta-icon {
	transform: translateX(0.12rem) scale(1.06);
}

@media (max-width: 780px) {
	.residential-quick-path {
		padding: 4rem 0 3rem;
	}

	.residential-quick-path__intro {
		margin-bottom: 1.5rem;
	}

	.residential-quick-path__heading {
		font-size: clamp(1.95rem, 9vw, 2.9rem);
	}

	.residential-quick-path__copy {
		font-size: 0.95rem;
		line-height: 1.65;
	}

	.residential-quick-path__grid {
		grid-template-columns: 1fr;
	}

	.residential-quick-path__card {
		min-height: 26rem;
	}

	.residential-quick-path__content {
		padding: 1.2rem 1rem 1rem;
	}

	.residential-quick-path__title {
		font-size: clamp(1.45rem, 6.6vw, 2rem);
	}

	.residential-quick-path__description {
		font-size: 0.92rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.residential-quick-path__card,
	.residential-quick-path__card:nth-child(odd),
	.residential-quick-path__card:nth-child(even) {
		opacity: 1;
		transform: none;
		filter: none;
		transition: none;
	}
}
