/* =========================================================
   HOME SERVICES SECTION
========================================================= */

.alston-home-services {
	position: relative;
	width: 100%;
	padding: 120px 0;
	background: #f5f2ec;
	overflow: hidden;
}

.alston-home-services,
.alston-home-services * {
	box-sizing: border-box;
}

.alston-home-services__inner {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

/* =========================================================
   HEAD
========================================================= */

.alston-home-services__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 36px;
	margin-bottom: 46px;
}

.alston-home-services__head-content {
	width: 100%;
	min-width: 0;
}

.alston-home-services__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 10px;
	color: #bd9a57;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 11px;
	line-height: 21px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

.alston-home-services__eyebrow::before {
	content: "";
	width: 32px;
	height: 1px;
	background: #bd9a57;
	opacity: 0.7;
}

.alston-home-services__heading {
	margin: 0;
	width: 100%;
	color: #221f1a;
	font-family: "League Spartan", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 64px;
	line-height: 74px;
	font-weight: 200;
	letter-spacing: -0.035em;
}

.alston-home-services__heading em {
	font-style: normal;
	color: #bd9a57;
}

.alston-home-services__intro {
	margin: 18px 0 0;
	max-width: 720px;
	color: #6a665c;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 15px;
	line-height: 25px;
	font-weight: 400;
}

.alston-home-services__view-all {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 17px 28px;
	border: 1px solid #221f1a;
	background: #221f1a;
	color: #ffffff;
	text-decoration: none;
	white-space: nowrap;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 11px;
	line-height: 21px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition:
		transform 0.35s ease,
		background 0.35s ease,
		color 0.35s ease,
		border-color 0.35s ease,
		box-shadow 0.35s ease;
}

.alston-home-services__view-all i {
	font-size: 11px;
	line-height: 21px;
	color: currentColor;
	transition: transform 0.35s ease;
}

.alston-home-services__view-all:hover {
	transform: translateY(-2px);
	background: transparent;
	color: #221f1a;
	box-shadow: 0 16px 32px rgba(34, 31, 26, 0.12);
}

.alston-home-services__view-all:hover i {
	transform: translateX(4px);
}

/* =========================================================
   FEATURE
========================================================= */

.alston-home-services__feature {
	display: grid;
	grid-template-columns: minmax(0, 1.52fr) minmax(340px, 1fr);
	align-items: stretch;
	gap: 72px;
}

.alston-home-services__visual {
	position: relative;
	min-height: 660px;
	overflow: hidden;
	background: #e6dfd4;
	border-radius: 2px;
}

.alston-home-services__image-layer {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 0.9s ease;
}

.alston-home-services__image-layer.is-active {
	opacity: 1;
	animation: alstonServicesKenburns 5.5s ease-out forwards;
}

.alston-home-services__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 58%, rgba(20, 16, 11, 0.18));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	pointer-events: none;
}

@keyframes alstonServicesKenburns {
	from {
		transform: scale(1.06);
	}

	to {
		transform: scale(1);
	}
}

/* =========================================================
   TEXT SIDE
========================================================= */

.alston-home-services__side {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.alston-home-services__text-wrap {
	position: relative;
	min-height: 360px;
}

.alston-home-services__text {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translateY(18px);
	pointer-events: none;
	transition:
		opacity 0.6s ease,
		transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.alston-home-services__text.is-active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.alston-home-services__kick {
	display: block;
	margin-bottom: 20px;
	color: #bd9a57;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 11px;
	line-height: 21px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.alston-home-services__title {
	margin: 0;
}

.alston-home-services__title a {
	color: #221f1a;
	text-decoration: none;
	font-family: "League Spartan", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 56px;
	line-height: 66px;
	font-weight: 200;
	letter-spacing: -0.035em;
	transition: color 0.35s ease;
}

.alston-home-services__title a:hover {
	color: #bd9a57;
}

.alston-home-services__copy {
	margin: 22px 0 0;
	max-width: 470px;
	color: #6a665c;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 16px;
	line-height: 26px;
	font-weight: 400;
}

.alston-home-services__link {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	margin-top: 32px;
	padding-bottom: 7px;
	border-bottom: 1px solid #bd9a57;
	color: #221f1a;
	text-decoration: none;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 11px;
	line-height: 21px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition:
		gap 0.35s ease,
		color 0.35s ease;
}

.alston-home-services__link i {
	font-size: 11px;
	line-height: 21px;
	color: currentColor;
}

.alston-home-services__link:hover {
	gap: 17px;
	color: #bd9a57;
}

/* =========================================================
   INDEX
========================================================= */

.alston-home-services__index {
	display: flex;
	width: 100%;
	margin-top: 58px;
}

.alston-home-services__index-button {
	flex: 1 1 0;
	position: relative;
	min-width: 0;
	padding: 22px 10px 4px 0;
	background: transparent;
	border: 0;
	text-align: left;
	cursor: pointer;
}

.alston-home-services__track,
.alston-home-services__fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 2px;
}

.alston-home-services__track {
	width: 100%;
	background: rgba(34, 31, 26, 0.14);
}

.alston-home-services__fill {
	width: 0;
	background: #bd9a57;
}

.alston-home-services__number {
	display: block;
	color: #6a665c;
	font-family: "League Spartan", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 72px;
	line-height: 82px;
	font-weight: 300;
	letter-spacing: -0.03em;
	opacity: 0.35;
	transition:
		opacity 0.35s ease,
		color 0.35s ease;
}

.alston-home-services__index-label {
	display: block;
	max-width: 92%;
	margin-top: 12px;
	color: #6a665c;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 12px;
	line-height: 22px;
	font-weight: 500;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.alston-home-services__index-button.is-active .alston-home-services__number {
	color: #221f1a;
	opacity: 1;
}

.alston-home-services__index-button.is-active .alston-home-services__index-label {
	opacity: 0.85;
}

/* =========================================================
   ENTRANCE ANIMATION
========================================================= */

.alston-home-services-reveal {
	opacity: 0;
	transform: translateY(38px);
	transition:
		opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.alston-home-services-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
========================================================= */

/* Large Laptop */
@media (min-width: 1367px) and (max-width: 1600px) {
	.alston-home-services {
		padding-top: 110px;
		padding-bottom: 110px;
	}

	.alston-home-services__inner {
		padding-left: 20px;
		padding-right: 20px;
	}

	.alston-home-services__feature {
		gap: 58px;
	}

	.alston-home-services__visual {
		min-height: 600px;
	}

	.alston-home-services__text-wrap {
		min-height: 350px;
	}
}

/* Laptop */
@media (min-width: 1181px) and (max-width: 1366px) {
	.alston-home-services {
		padding-top: 96px;
		padding-bottom: 96px;
	}

	.alston-home-services__inner {
		padding-left: 20px;
		padding-right: 20px;
	}

	.alston-home-services__head {
		gap: 30px;
		margin-bottom: 42px;
	}

	.alston-home-services__heading {
		font-size: 56px;
		line-height: 66px;
	}

	.alston-home-services__feature {
		grid-template-columns: minmax(0, 1.42fr) minmax(310px, 0.95fr);
		gap: 44px;
	}

	.alston-home-services__visual {
		min-height: 520px;
	}

	.alston-home-services__text-wrap {
		min-height: 340px;
	}

	.alston-home-services__title a {
		font-size: 48px;
		line-height: 58px;
	}

	.alston-home-services__number {
		font-size: 60px;
		line-height: 70px;
	}
}

/* Tablet Landscape */
@media (min-width: 1025px) and (max-width: 1180px) {
	.alston-home-services {
		padding-top: 88px;
		padding-bottom: 88px;
	}

	.alston-home-services__inner {
		padding-left: 28px;
		padding-right: 28px;
	}

	.alston-home-services__head {
		gap: 28px;
		margin-bottom: 38px;
	}

	.alston-home-services__heading {
		font-size: 52px;
		line-height: 62px;
	}

	.alston-home-services__feature {
		grid-template-columns: minmax(0, 1.24fr) minmax(280px, 0.9fr);
		gap: 34px;
	}

	.alston-home-services__visual {
		min-height: 460px;
	}

	.alston-home-services__text-wrap {
		min-height: 330px;
	}

	.alston-home-services__title a {
		font-size: 42px;
		line-height: 52px;
	}

	.alston-home-services__copy {
		font-size: 15px;
		line-height: 25px;
	}

	.alston-home-services__number {
		font-size: 52px;
		line-height: 62px;
	}
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 1024px) {
	.alston-home-services {
		padding-top: 82px;
		padding-bottom: 82px;
	}

	.alston-home-services__inner {
		padding-left: 28px;
		padding-right: 28px;
	}

	.alston-home-services__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 24px;
		margin-bottom: 36px;
	}

	.alston-home-services__heading {
		font-size: 50px;
		line-height: 60px;
	}

	.alston-home-services__view-all {
		padding: 16px 26px;
	}

	.alston-home-services__feature {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.alston-home-services__visual {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.alston-home-services__text-wrap {
		min-height: 270px;
	}

	.alston-home-services__copy {
		max-width: 720px;
	}

	.alston-home-services__index {
		margin-top: 34px;
	}

	.alston-home-services__index-label {
		display: none;
	}

	.alston-home-services__number {
		font-size: 42px;
		line-height: 52px;
	}
}

/* Mobile Landscape */
@media (min-width: 681px) and (max-width: 932px) and (orientation: landscape) {
	.alston-home-services {
		padding-top: 58px;
		padding-bottom: 58px;
	}

	.alston-home-services__inner {
		padding-left: 24px;
		padding-right: 24px;
	}

	.alston-home-services__head {
		flex-direction: row;
		align-items: flex-end;
		gap: 24px;
		margin-bottom: 28px;
	}

	.alston-home-services__heading {
		font-size: 42px;
		line-height: 52px;
	}

	.alston-home-services__feature {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
		gap: 24px;
	}

	.alston-home-services__visual {
		min-height: 320px;
		aspect-ratio: auto;
	}

	.alston-home-services__text-wrap {
		min-height: 330px;
	}

	.alston-home-services__title a {
		font-size: 34px;
		line-height: 44px;
	}

	.alston-home-services__copy {
		font-size: 13px;
		line-height: 23px;
	}

	.alston-home-services__index {
		margin-top: 28px;
	}

	.alston-home-services__index-label {
		display: none;
	}

	.alston-home-services__number {
		font-size: 32px;
		line-height: 42px;
	}
}

/* Mobile Portrait */
@media (min-width: 421px) and (max-width: 767px) {
	.alston-home-services {
		padding-top: 68px;
		padding-bottom: 68px;
	}

	.alston-home-services__inner {
		padding-left: 20px;
		padding-right: 20px;
	}

	.alston-home-services__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 22px;
		margin-bottom: 30px;
	}

	.alston-home-services__eyebrow {
		margin-bottom: 10px;
		font-size: 10px;
		line-height: 20px;
		letter-spacing: 0.24em;
		gap: 10px;
	}

	.alston-home-services__eyebrow::before {
		width: 24px;
	}

	.alston-home-services__heading {
		font-size: 40px;
		line-height: 50px;
	}

	.alston-home-services__intro {
		font-size: 14px;
		line-height: 24px;
	}

	.alston-home-services__view-all {
		width: 100%;
		padding: 17px 22px;
	}

	.alston-home-services__feature {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.alston-home-services__visual {
		min-height: 0;
		aspect-ratio: 16 / 11;
	}

	.alston-home-services__text-wrap {
		min-height: 320px;
	}

	.alston-home-services__kick {
		margin-bottom: 15px;
		font-size: 10px;
		line-height: 20px;
		letter-spacing: 0.22em;
	}

	.alston-home-services__title a {
		font-size: 34px;
		line-height: 44px;
	}

	.alston-home-services__copy {
		margin-top: 16px;
		max-width: none;
		font-size: 14px;
		line-height: 24px;
	}

	.alston-home-services__link {
		margin-top: 24px;
	}

	.alston-home-services__index {
		margin-top: 26px;
	}

	.alston-home-services__index-button {
		padding-top: 16px;
		padding-right: 6px;
	}

	.alston-home-services__number {
		font-size: 26px;
		line-height: 36px;
	}

	.alston-home-services__index-label {
		display: none;
	}
}

/* Small Mobile Portrait */
@media (min-width: 320px) and (max-width: 420px) {
	.alston-home-services {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.alston-home-services__inner {
		padding-left: 18px;
		padding-right: 18px;
	}

	.alston-home-services__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin-bottom: 28px;
	}

	.alston-home-services__eyebrow {
		margin-bottom: 10px;
		font-size: 10px;
		line-height: 20px;
		letter-spacing: 0.2em;
		gap: 9px;
	}

	.alston-home-services__eyebrow::before {
		width: 22px;
	}

	.alston-home-services__heading {
		font-size: 34px;
		line-height: 44px;
	}

	.alston-home-services__intro {
		font-size: 14px;
		line-height: 24px;
	}

	.alston-home-services__view-all {
		width: 100%;
		padding: 16px 20px;
		font-size: 10px;
		line-height: 20px;
		letter-spacing: 0.14em;
	}

	.alston-home-services__feature {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.alston-home-services__visual {
		min-height: 0;
		aspect-ratio: 1 / 0.78;
	}

	.alston-home-services__text-wrap {
		min-height: 350px;
	}

	.alston-home-services__kick {
		margin-bottom: 14px;
		font-size: 10px;
		line-height: 20px;
		letter-spacing: 0.2em;
	}

	.alston-home-services__title a {
		font-size: 30px;
		line-height: 40px;
	}

	.alston-home-services__copy {
		margin-top: 15px;
		max-width: none;
		font-size: 14px;
		line-height: 24px;
	}

	.alston-home-services__link {
		margin-top: 22px;
		font-size: 10px;
		line-height: 20px;
		letter-spacing: 0.14em;
	}

	.alston-home-services__index {
		margin-top: 24px;
	}

	.alston-home-services__index-button {
		padding-top: 14px;
		padding-right: 5px;
	}

	.alston-home-services__number {
		font-size: 22px;
		line-height: 32px;
	}

	.alston-home-services__index-label {
		display: none;
	}
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	.alston-home-services *,
	.alston-home-services *::before,
	.alston-home-services *::after {
		animation: none !important;
		transition: none !important;
	}

	.alston-home-services-reveal {
		opacity: 1;
		transform: none;
	}

	.alston-home-services__image-layer.is-active {
		transform: scale(1);
	}
}