.tenant-build-outs-process-stage {
	position: relative;
	overflow: clip;
}

.tenant-build-outs-process-stage__background,
.tenant-build-outs-process-stage__overlay {
	position: absolute;
	inset: 0;
}

.tenant-build-outs-process-stage__background {
	position: sticky;
	top: 0;
	height: 100vh;
	background:
		linear-gradient(180deg, rgba(4, 10, 19, 0.3) 0%, rgba(4, 10, 19, 0.54) 100%),
		url("../../../images/commercial/construction-background.avif") center/cover no-repeat;
}

.tenant-build-outs-process-stage__overlay {
	background:
		linear-gradient(180deg, rgba(4, 10, 19, 0.62) 0%, rgba(4, 10, 19, 0.76) 22%, rgba(4, 10, 19, 0.72) 78%, rgba(4, 10, 19, 0.82) 100%),
		radial-gradient(circle at top right, rgba(166, 132, 74, 0.14) 0%, rgba(166, 132, 74, 0) 28%);
	pointer-events: none;
}

.tenant-build-outs-process-stage__content {
	position: relative;
	z-index: 1;
	margin-top: -100vh;
	padding: clamp(5rem, 8vw, 7.25rem) 0;
}

.tenant-build-outs-process {
	position: relative;
}

.tenant-build-outs-process::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(241, 242, 244, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(241, 242, 244, 0.08) 1px, transparent 1px);
	background-size: 5.5rem 5.5rem;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.05) 100%);
	pointer-events: none;
}

.tenant-build-outs-process__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 2.4rem;
}

.tenant-build-outs-process__intro {
	display: grid;
	gap: 0.8rem;
	max-width: 52rem;
}

.tenant-build-outs-process__eyebrow {
	margin: 0;
	color: rgba(220, 187, 129, 0.92);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.tenant-build-outs-process__heading {
	margin: 0;
	color: #f1f2f4;
	font-family: var(--ldg-font-body);
	font-size: clamp(2.3rem, 4vw, 4.5rem);
	font-weight: 500;
	line-height: 0.95;
	letter-spacing: -0.05em;
	text-transform: uppercase;
}

.tenant-build-outs-process__rail {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem;
	align-items: stretch;
}

.tenant-build-outs-process__rail::before {
	content: "";
	position: absolute;
	top: 2rem;
	left: 2.25rem;
	right: 2.25rem;
	height: 1px;
	background: linear-gradient(90deg, rgba(220, 187, 129, 0.42) 0%, rgba(241, 242, 244, 0.16) 100%);
	pointer-events: none;
}

.tenant-build-outs-process-step {
	position: relative;
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 1.1rem;
	padding: 0.35rem 0 0;
}

.tenant-build-outs-process-step:nth-child(2),
.tenant-build-outs-process-step:nth-child(4) {
	transform: translateY(2.6rem);
}

.tenant-build-outs-process-step__cap {
	position: relative;
	display: grid;
	justify-items: start;
	gap: 0.9rem;
}

.tenant-build-outs-process-step__number {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border-radius: 1.3rem;
	border: 1px solid rgba(241, 242, 244, 0.14);
	background: linear-gradient(180deg, rgba(241, 242, 244, 0.16) 0%, rgba(241, 242, 244, 0.08) 100%);
	color: #f1f2f4;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.tenant-build-outs-process-step__line {
	display: block;
	width: calc(100% - 4.8rem);
	height: 1px;
	margin-left: 4.8rem;
	background: linear-gradient(90deg, rgba(220, 187, 129, 0.42) 0%, rgba(241, 242, 244, 0.14) 100%);
}

.tenant-build-outs-process-step__body {
	display: grid;
	align-content: start;
	gap: 0.8rem;
	min-height: 15.5rem;
	padding: 1.3rem 1.25rem 1.35rem;
	border: 1px solid rgba(241, 242, 244, 0.12);
	border-radius: 1.45rem;
	background: rgba(8, 14, 24, 0.52);
	backdrop-filter: blur(8px);
}

.tenant-build-outs-process-step__title {
	margin: 0;
	color: #f1f2f4;
	font-family: var(--ldg-font-body);
	font-size: clamp(1.28rem, 1.8vw, 1.75rem);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.04em;
	text-transform: uppercase;
}

.tenant-build-outs-process-step__description {
	margin: 0;
	color: rgba(241, 242, 244, 0.78);
	font-size: 0.98rem;
	line-height: 1.68;
}

.tenant-build-outs-process-step--discovery .tenant-build-outs-process-step__number,
.tenant-build-outs-process-step--handoff .tenant-build-outs-process-step__number {
	background: linear-gradient(180deg, rgba(220, 187, 129, 0.34) 0%, rgba(220, 187, 129, 0.16) 100%);
}

@media (max-width: 1100px) {
	.tenant-build-outs-process__rail {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tenant-build-outs-process__rail::before {
		display: none;
	}

	.tenant-build-outs-process-step:nth-child(2),
	.tenant-build-outs-process-step:nth-child(4) {
		transform: none;
	}

	.tenant-build-outs-process-step__line {
		display: none;
	}
}

@media (max-width: 780px) {
	.tenant-build-outs-process-stage__background {
		height: 100svh;
	}

	.tenant-build-outs-process-stage__content {
		margin-top: calc(-100svh + 1px);
		padding: 4rem 0;
	}

	.tenant-build-outs-process::before {
		background-size: 3.75rem 3.75rem;
	}

	.tenant-build-outs-process__rail {
		grid-template-columns: 1fr;
	}

	.tenant-build-outs-process-step__body {
		min-height: 0;
		padding: 1.15rem;
		border-radius: 1.2rem;
	}

	.tenant-build-outs-process-step__number {
		width: 3.5rem;
		height: 3.5rem;
		border-radius: 1rem;
	}
}
