.home-main {
	padding: 0;
}

.home-section {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.home-section:nth-of-type(even) {
	background: var(--surface-muted);
}

.section-heading {
	max-width: 48rem;
	margin-block-end: clamp(2rem, 4vw, 3rem);
}

.section-heading--center {
	margin-inline: auto;
	text-align: center;
}

.section-heading h2,
.split-feature h2,
.final-cta h2 {
	margin-block-end: var(--space-4);
	font-size: clamp(2rem, 5vw, 3rem);
}

.section-heading > p:last-child,
.split-feature__content > p,
.final-cta p {
	color: var(--text-muted);
	font-size: clamp(1rem, 2vw, 1.125rem);
}

.eyebrow {
	margin-block-end: var(--space-3);
	color: var(--brand-red);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	color: var(--brand-red);
	font-weight: 800;
	text-decoration: none;
}

.text-link .icon {
	transition: transform 160ms ease;
}

.text-link:hover .icon,
.text-link:focus-visible .icon {
	transform: translateX(0.2rem);
}

.home-hero {
	position: relative;
	height: auto;
	min-height: 700px;
	overflow: hidden;
	color: var(--surface);
	background: var(--footer);
	/* The source artwork follows a 3:1 banner ratio; the fixed height keeps the full copy visible at common desktop widths. */
	touch-action: pan-y;
}

.home-hero__slides {
	position: relative;
	height: 700px;
	min-height: 0;
}

.home-hero__slide {
	height: 700px;
	min-height: 0;
}

.home-hero__slide {
	position: absolute;
	inset: 0;
	display: grid;
	align-items: center;
	visibility: hidden;
	opacity: 0;
	transform: translateX(1rem);
	pointer-events: none;
	transition: opacity 420ms ease, transform 420ms ease, visibility 420ms ease;
}

.home-hero__slide.is-active {
	position: absolute;
	visibility: visible;
	opacity: 1;
	transform: translateX(0);
	pointer-events: auto;
}

.home-hero__picture,
.home-hero__picture img,
.home-hero__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.home-hero__picture {
	aspect-ratio: 3 / 1;
}

.home-hero__picture img {
	object-fit: cover;
	object-position: center;
}

.home-hero__overlay {
	z-index: 1;
	background: linear-gradient(180deg, rgb(12 12 12 / 0.28) 0%, rgb(12 12 12 / 0.78) 70%, rgb(12 12 12 / 0.88) 100%);
}

.home-hero__content-wrap {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	height: 700px;
	min-height: 0;
	padding-block: 6rem 7rem;
}

.home-hero__content {
	max-width: 46rem;
	color: #fff;
}

.home-hero .eyebrow,
.home-hero__content h1,
.home-hero__content h2,
.home-hero__content p,
.home-hero .home-hero-trust {
	color: #fff;
}

.home-hero .eyebrow {
	margin-block-end: 1.25rem;
}

.home-hero__content p {
	color: rgb(255 255 255 / 0.92);
}

.home-hero .button--light {
	color: #fff;
	background: rgb(255 255 255 / 0.14);
	border-color: rgb(255 255 255 / 0.72);
}

.home-hero .button--light:hover,
.home-hero .button--light:focus-visible {
	color: var(--text);
	background: #fff;
	border-color: #fff;
}

.home-hero__content h1,
.home-hero__content h2 {
	max-width: 38rem;
	margin-block-end: 1.25rem;
	font-size: clamp(2.25rem, 4vw, 2.5rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.home-hero__content p {
	max-width: 44rem;
	margin-block-end: var(--space-6);
	font-size: clamp(1rem, 2.8vw, 1.25rem);
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.home-hero__badge {
	width: 9rem;
	height: auto;
	margin-block-end: var(--space-4);
	filter: drop-shadow(0 0.25rem 0.5rem rgb(0 0 0 / 0.2));
}

.home-hero__controls {
	position: absolute;
	z-index: 5;
	inset-inline: 50% auto;
	inset-block-end: var(--space-5);
	display: flex;
	align-items: center;
	gap: var(--space-2);
	transform: translateX(-50%);
}

.home-hero__control,
.home-hero__dots button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--surface);
	background: rgb(0 0 0 / 0.38);
	border: 1px solid rgb(255 255 255 / 0.58);
	cursor: pointer;
}

.home-hero__control {
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border-radius: 50%;
}

.home-hero__control:hover,
.home-hero__control:focus-visible {
	background: var(--brand-red);
}

.home-hero__previous .icon {
	transform: rotate(180deg);
}

.home-hero__dots {
	display: flex;
	gap: 0;
}

.home-hero__dots button {
	position: relative;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 50%;
}

.home-hero__dots button::before {
	width: 0.75rem;
	height: 0.75rem;
	content: "";
	background: rgb(0 0 0 / 0.38);
	border: 1px solid rgb(255 255 255 / 0.58);
	border-radius: 50%;
}

.home-hero__dots button[aria-current="true"]::before {
	background: var(--surface);
}

.home-hero__toggle:disabled {
	opacity: 0.55;
	cursor: default;
}

.proof-bar {
	position: relative;
	z-index: 3;
	padding-block: var(--space-5);
	background: var(--surface);
	border-block-end: 1px solid var(--border);
}

.proof-bar ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-4);
	padding: 0;
	margin: 0;
	list-style: none;
}

.proof-bar li {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-3);
	font-size: 0.8125rem;
	font-weight: 750;
	text-align: left;
}

.proof-bar .icon {
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--brand-red);
	font-size: 1.3rem;
}

.category-grid {
	display: grid;
	grid-auto-columns: min(78vw, 17.5rem);
	grid-auto-flow: column;
	gap: var(--space-4);
	padding-block-end: var(--space-2);
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	touch-action: pan-x pan-y;
}

.category-grid::-webkit-scrollbar {
	display: none;
}

.category-card {
	display: flex;
	overflow: hidden;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	flex-direction: column;
	scroll-snap-align: start;
	scroll-snap-stop: normal;
	text-decoration: none;
	box-shadow: 0 0.25rem 0.8rem rgb(0 0 0 / 0.035);
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.category-card:hover,
.category-card:focus-visible {
	border-color: var(--brand-red);
	transform: translateY(-0.2rem);
	box-shadow: var(--shadow-subtle);
}

.category-card__image {
	height: 10rem;
	overflow: hidden;
	background: var(--surface-muted);
}

.category-card__image picture,
.category-card__image img {
	width: 100%;
	height: 100%;
}

.category-card__image img {
	object-fit: contain;
}

.category-card__body {
	display: flex;
	flex: 1;
	padding: var(--space-4);
	flex-direction: column;
}

.category-card h3,
.product-card h3,
.service-card h3,
.why-wanshing h3,
.location-card h3 {
	margin-block-end: var(--space-3);
	font-size: 1.25rem;
}

.category-card p {
	flex: 1;
	color: var(--text-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.category-card h3 {
	margin-block-end: var(--space-2);
	font-size: 1.0625rem;
	line-height: 1.3;
}

.category-card .text-link {
	font-size: 0.875rem;
	font-weight: 700;
}

.featured-inventory {
	background: var(--surface-muted);
}

.product-grid {
	display: grid;
	grid-auto-columns: minmax(17rem, 82vw);
	grid-auto-flow: column;
	gap: var(--space-4);
	padding-block-end: var(--space-3);
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
}

.product-card {
	display: flex;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	flex-direction: column;
	scroll-snap-align: start;
}

.product-card__image {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	background: #fafafa;
}

.product-card__image picture,
.product-card__image img {
	width: 100%;
	height: 100%;
}

.product-card__image img {
	object-fit: contain;
}

.product-card__status {
	position: absolute;
	z-index: 2;
	inset-block-start: var(--space-3);
	inset-inline-start: var(--space-3);
	padding: 0.25rem 0.55rem;
	color: var(--surface);
	background: var(--brand-red);
	border-radius: 0.2rem;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
}

.product-card__body {
	display: flex;
	flex: 1;
	padding: 1.125rem;
	flex-direction: column;
}

.product-card h3 {
	margin-block-end: var(--space-4);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
}

.product-card__specs {
	display: flex;
	gap: var(--space-4);
	margin-block-end: var(--space-5);
}

.product-card__specs div {
	display: grid;
	gap: 0.1rem;
}

.product-card__specs dt {
	color: var(--text-muted);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.product-card__specs dd {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
}

.product-card__price {
	margin-block: 0 var(--space-5);
	color: var(--brand-red);
	font-weight: 600;
}

.text-link--desktop {
	display: none;
}

.section-mobile-action {
	width: 100%;
	margin-block-start: var(--space-6);
}

.client-logos {
	overflow: hidden;
}

.client-marquee {
	overflow: hidden;
}

.client-marquee__track {
	display: flex;
	width: max-content;
	animation: client-marquee 58s linear infinite;
}

.client-marquee:hover .client-marquee__track,
.client-marquee:focus-within .client-marquee__track {
	animation-play-state: paused;
}

.client-logo-list {
	display: flex;
	align-items: center;
	gap: var(--space-6);
	padding: 0 var(--space-3);
	margin: 0;
	list-style: none;
}

.client-logo-list li {
	width: clamp(9rem, 38vw, 12rem);
	flex: 0 0 auto;
}

.client-logo-list img {
	width: 100%;
	height: 7rem;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.68;
	transition: filter 160ms ease, opacity 160ms ease;
}

.client-logo-list img:hover {
	filter: none;
	opacity: 1;
}

.client-logos__disclaimer {
	margin-block-start: var(--space-6);
	color: var(--text-muted);
	font-size: 0.8125rem;
	text-align: center;
}

@keyframes client-marquee {
	to {
		transform: translateX(-50%);
	}
}

.rental-feature {
	background: var(--surface-muted);
}

.split-feature {
	display: grid;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-subtle);
}

.split-feature__media {
	min-height: 18rem;
}

.split-feature__media picture,
.split-feature__media img {
	width: 100%;
	height: 100%;
}

.split-feature__media img {
	object-fit: cover;
}

.split-feature__content {
	display: flex;
	justify-content: center;
	padding: clamp(2rem, 6vw, 4rem);
	flex-direction: column;
}

.service-parts__grid,
.locations__grid {
	display: grid;
	gap: var(--space-5);
}

.service-card,
.location-card {
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 0.25rem 1rem rgb(0 0 0 / 0.04);
}

.location-card {
	display: flex;
	flex-direction: column;
}

.service-card__media,
.location-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.service-card__media picture,
.service-card__media img,
.location-card__media picture,
.location-card__media img {
	width: 100%;
	height: 100%;
}

.service-card__media img,
.location-card__media img {
	object-fit: cover;
}

.service-card__body,
.location-card__body {
	padding: clamp(1.5rem, 4vw, 2.25rem);
}

.location-card__body {
	flex: 1;
}

.location-card__map {
	width: 100%;
	height: 13.125rem;
	overflow: hidden;
	border-block-start: 1px solid var(--border);
}

.location-card__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.service-card__body > p,
.location-card address {
	color: var(--text-muted);
}

.why-wanshing {
	background: var(--surface-muted);
}

.why-wanshing__grid {
	display: grid;
	gap: var(--space-4);
}

.why-wanshing article {
	padding: var(--space-6);
	background: var(--surface);
	border-block-start: 0.25rem solid var(--brand-red);
	border-radius: var(--radius);
}

.why-wanshing article p {
	margin-block-end: 0;
	color: var(--text-muted);
}

.why-wanshing__icon {
	margin-block-end: var(--space-4);
	color: var(--brand-red);
	font-size: 1.8rem;
}

.location-card address {
	margin-block-end: var(--space-4);
	font-style: normal;
}

.capability-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	padding: 0;
	margin-block: 0 var(--space-5);
	list-style: none;
}

.capability-list li {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.3rem 0.55rem;
	background: var(--surface-muted);
	border-radius: 0.2rem;
	font-size: 0.8125rem;
	font-weight: 700;
}

.capability-list .icon {
	color: var(--brand-red);
}

.home-editor-content {
	background: var(--surface);
}

.final-cta {
	padding-block: clamp(3rem, 7vw, 5rem);
	color: var(--surface);
	background: var(--brand-red);
}

.final-cta__inner {
	display: grid;
	gap: var(--space-6);
}

.final-cta p {
	max-width: 46rem;
	margin-block-end: 0;
	color: rgb(255 255 255 / 0.88);
}

@media (min-width: 40rem) {
	.category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-columns: auto;
		grid-auto-flow: row;
		padding-block-end: 0;
		overflow-x: visible;
		scroll-snap-type: none;
		touch-action: auto;
	}

	.category-card {
		scroll-snap-align: none;
	}

	.category-card__image {
		height: auto;
		aspect-ratio: 1;
	}

	.category-card__body {
		padding: var(--space-5);
	}

	.category-card h3 {
		margin-block-end: var(--space-3);
		font-size: 1.25rem;
	}

	.category-card p {
		font-size: 1rem;
	}

	.category-card .text-link {
		font-size: 1rem;
		font-weight: 800;
	}

	.why-wanshing__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 48rem) {
	.home-hero__overlay {
		background: linear-gradient(90deg, rgb(10 10 10 / 0.78) 0%, rgb(10 10 10 / 0.55) 47%, rgb(10 10 10 / 0.14) 75%);
	}

	.home-hero__content-wrap {
		align-items: center;
		padding-block: 5rem;
	}

	.home-hero__content {
		max-width: 42rem;
	}

	.home-hero__content h1,
	.home-hero__content h2 {
		font-size: clamp(2.5rem, 4.5vw, 3.125rem);
	}

	.home-hero__controls {
		inset-inline: auto var(--space-8);
		transform: none;
	}

	.proof-bar li {
		font-size: 0.875rem;
	}

	.product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-flow: row;
		overflow: visible;
	}

	.service-parts__grid,
	.locations__grid,
	.split-feature {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.split-feature__media {
		min-height: 28rem;
	}

	.location-card__map {
		height: 15rem;
	}

	.final-cta__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
	}
}

@media (min-width: 80rem) {
	.home-hero__content h1,
	.home-hero__content h2 {
		font-size: clamp(3.25rem, 4vw, 3.5rem);
	}
}

@media (min-width: 100rem) {
	.home-hero__content h1,
	.home-hero__content h2 {
		font-size: clamp(3.75rem, 4vw, 4rem);
	}
}

@media (max-width: 47.99rem) {
	.home-hero {
		height: 608px;
		min-height: 608px;
		aspect-ratio: auto;
	}

	.home-hero__slides,
	.home-hero__slide,
	.home-hero__content-wrap {
		height: 608px;
		min-height: 0;
	}
}

@media (min-width: 64rem) {
	.proof-bar ul {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.category-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.section-heading--split {
		display: flex;
		max-width: none;
		align-items: flex-end;
		justify-content: space-between;
		gap: var(--space-8);
	}

	.section-heading--split > div {
		max-width: 48rem;
	}

	.text-link--desktop {
		display: inline-flex;
		flex: 0 0 auto;
		margin-block-end: var(--space-2);
	}

	.section-mobile-action {
		display: none;
	}

	.product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.why-wanshing__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 75rem) {
	.product-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.product-card__body {
		padding: var(--space-4);
	}

	.product-card h3 {
		font-size: 1rem;
	}

}

@media (prefers-reduced-motion: reduce) {
	.home-hero__slide {
		transform: none;
	}

	.client-marquee {
		overflow: visible;
	}

	.client-marquee__track {
		display: block;
		width: auto;
		animation: none;
	}

	.client-logo-list {
		flex-wrap: wrap;
		justify-content: center;
	}

	.client-logo-list[aria-hidden="true"] {
		display: none;
	}
}

/* Visual-system homepage composition. */
.home-visual-hero__media {
	aspect-ratio: 5 / 4;
}

.home-visual-hero__media img {
	object-fit: contain;
}

.home-hero-trust {
	display: flex;
	gap: 0.6rem 1.25rem;
	padding: 0;
	margin: 1.75rem 0 0;
	color: var(--wanshing-ink-soft);
	flex-wrap: wrap;
	font-size: 0.84rem;
	font-weight: 650;
	list-style: none;
}

.home-hero-trust li {
	position: relative;
	padding-inline-start: 0.9rem;
}

.home-hero-trust li::before {
	position: absolute;
	inset-block-start: 0.52em;
	inset-inline-start: 0;
	width: 0.38rem;
	height: 0.38rem;
	content: "";
	background: #fff;
	border-radius: 50%;
}

.home-proof-bar {
	padding-inline: var(--space-4);
}

.equipment-overview {
	margin-block-end: 2.5rem;
}

.equipment-overview__media {
	aspect-ratio: 16 / 10;
}

.equipment-overview .wanshing-section-heading {
	margin-block-end: 0;
}

.category-card {
	border-radius: 0.35rem;
}

.category-card .text-link .icon {
	transition: transform 180ms ease;
}

.category-card:hover .text-link .icon,
.category-card:focus-visible .text-link .icon {
	transform: translateX(0.22rem);
}

.featured-inventory {
	position: relative;
	background: var(--wanshing-warm-white);
}

.featured-inventory::before {
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 0.3rem;
	content: "";
	background: linear-gradient(90deg, var(--brand-red) 0 18%, var(--wanshing-border) 18% 100%);
}

.home-rental-feature .wanshing-button-row,
.home-support-card .wanshing-button-row {
	margin-block-start: 1.5rem;
}

.home-support__grid {
	display: grid;
	gap: 1.25rem;
}

.home-support-card:nth-child(2) {
	margin-block-start: 1.25rem;
}

.home-trust-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	background: rgb(188 41 33 / 0.2);
	border: 1px solid rgb(188 41 33 / 0.2);
	border-radius: 0.35rem;
}

.home-trust-grid article {
	padding: 1.4rem;
	background: #fff;
}

.home-trust-grid strong {
	display: block;
	margin-block-end: 0.45rem;
	color: var(--brand-red);
	font-size: 1.55rem;
	line-height: 1.1;
}

.home-trust-grid h3 {
	margin-block-end: 0.55rem;
	font-size: 1rem;
}

.home-trust-grid p {
	margin: 0;
	color: var(--wanshing-ink-soft);
	font-size: 0.88rem;
}

.location-card {
	border-color: var(--wanshing-border);
	border-radius: 0.35rem;
	box-shadow: var(--wanshing-shadow);
}

.location-card__media {
	aspect-ratio: 16 / 10;
}

.location-card__media img.is-placeholder {
	padding: 2rem;
	object-fit: contain;
}

.location-card__map {
	height: 13.125rem;
}

.home-operations-gallery {
	padding-block: var(--wanshing-section-space);
}

.wanshing-section.final-cta {
	color: var(--wanshing-ink);
	background: var(--wanshing-warm-white);
}

.wanshing-section.final-cta.wanshing-dark-overlay {
	color: #fff;
	background: var(--wanshing-ink);
}

.final-cta h2 {
	font-size: 2rem;
}

.final-cta__inner {
	gap: 1.5rem;
}

.home-editor-content {
	background: #fff;
}

@media (min-width: 40rem) {
	.home-support__grid,
	.locations__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-trust-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.home-proof-bar ul {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.final-cta h2 {
		font-size: 2.45rem;
	}
}

@media (min-width: 56rem) {
	.home-support-card:nth-child(2) {
		margin-block-start: 3.5rem;
	}

	.home-visual-hero__media {
		transform: translateY(1.25rem);
	}

	.wanshing-split-hero__grid--no-media {
		grid-template-columns: minmax(0, 46rem);
	}
}

@media (min-width: 64rem) {
	.location-card__map {
		height: 15rem;
	}
}

@media (max-width: 39.99rem) {
	.home-trust-grid article {
		padding: 1.15rem;
	}

	.home-trust-grid strong {
		font-size: 1.3rem;
	}

	.home-support-card:nth-child(2) {
		margin-block-start: 0;
	}
}

/* Full-width visual Home composition. */
.home-background-hero {
	position: relative;
	display: grid;
	min-height: 38rem;
	align-items: end;
	overflow: hidden;
	color: #fff;
	background: #202020;
}

.home-background-hero__media,
.home-background-hero__shade {
	position: absolute;
	inset: 0;
}

.home-background-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-background-hero__media img.is-placeholder {
	padding: 4rem;
	object-fit: contain;
}

.home-background-hero__shade {
	background: linear-gradient(90deg, rgb(15 15 15 / 0.88) 0%, rgb(15 15 15 / 0.62) 56%, rgb(15 15 15 / 0.25) 100%);
}

.home-background-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: 5rem 3.5rem;
}

.home-background-hero__copy {
	max-width: 48rem;
}

.home-background-hero__copy .eyebrow {
	color: #fff;
}

.home-background-hero__copy h1 {
	max-width: 46rem;
	margin-block-end: 1.25rem;
	font-size: 2.5rem;
}

.home-background-hero__copy > p:not(.eyebrow) {
	max-width: 43rem;
	margin-block-end: 1.75rem;
	color: rgb(255 255 255 / 0.9);
	font-size: 1.05rem;
}

.home-background-hero .home-hero-trust {
	color: rgb(255 255 255 / 0.86);
}

.home-service-entries__grid {
	display: grid;
	gap: 1rem;
}

.home-service-entry {
	position: relative;
	display: grid;
	min-height: 22rem;
	align-items: end;
	overflow: hidden;
	color: #fff;
	background: #242424;
	border: 1px solid var(--wanshing-border, #dfdfdf);
	border-radius: 0.35rem;
	text-decoration: none;
}

.home-service-entry__media,
.home-service-entry__shade {
	position: absolute;
	inset: 0;
}

.home-service-entry__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.home-service-entry__media img.is-placeholder {
	padding: 2.5rem;
	object-fit: contain;
}

.home-service-entry__shade {
	background: linear-gradient(180deg, transparent 32%, rgb(0 0 0 / 0.12) 52%, rgb(0 0 0 / 0.72) 100%);
}

.home-service-entry__content {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 0.6rem;
	padding: 1.4rem;
}

.home-service-entry__content > strong {
	font-size: 1.3rem;
	font-weight: 650;
}

.home-service-entry__content > span:not(.text-link) {
	color: rgb(255 255 255 / 0.82);
	font-size: 0.9rem;
}

.home-service-entry .text-link {
	color: #fff;
}

.home-service-entry:hover .home-service-entry__media img,
.home-service-entry:focus-visible .home-service-entry__media img {
	transform: scale(1.025);
}

.home-featured-collections .featured-inventory:nth-child(even) {
	background: #fff;
}

.home-featured-collections .featured-inventory:nth-child(odd) {
	background: var(--wanshing-warm-white);
}

.home-visual-story {
	position: relative;
	min-height: 34rem;
	padding-block: 16rem 3rem;
	overflow: hidden;
	background: #252525;
}

.home-visual-story__media {
	position: absolute;
	inset: 0;
}

.home-visual-story__media::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(180deg, rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.5));
}

.home-visual-story__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-visual-story__media img.is-placeholder {
	padding: 4rem;
	object-fit: contain;
}

.home-visual-story__inner {
	position: relative;
	z-index: 1;
}

.home-visual-story__panel {
	max-width: 44rem;
	padding: 1.75rem;
	background: rgb(255 255 255 / 0.96);
	border-inline-start: 0.3rem solid var(--brand-red);
	box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 0.18);
}

.home-visual-story__panel.wanshing-dark-overlay__panel {
	background: rgb(20 25 28 / 0.84);
}

.final-cta {
	position: relative;
	overflow: hidden;
}

.final-cta__media {
	position: absolute;
	inset: 0;
	opacity: 0.2;
}

.final-cta__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.final-cta .site-container {
	position: relative;
}

@media (min-width: 40rem) {
	.home-service-entries__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-background-hero__copy h1 {
		font-size: 3.25rem;
	}
}

@media (min-width: 64rem) {
	.home-background-hero {
		min-height: 43.75rem;
	}

	.home-background-hero__inner {
		padding-block: 7rem 5rem;
	}

	.home-background-hero__copy h1 {
		font-size: 4rem;
	}

	.home-service-entries__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.home-visual-story {
		padding-block: 20rem 4rem;
	}

	.home-visual-story__panel {
		margin-inline-start: 4rem;
		padding: 2.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-service-entry__media img {
		transition: none;
	}
}
.home-reviews__header {
	display: flex;
	gap: var(--space-5);
	align-items: flex-end;
	justify-content: space-between;
	margin-block-end: var(--space-7);
}

.home-reviews__header h2 {
	max-width: 44rem;
}

.home-reviews__summary {
	display: flex;
	gap: var(--space-2);
	align-items: center;
	flex-wrap: wrap;
	color: var(--text-muted);
}

.home-reviews__summary strong {
	color: var(--text);
	font-size: 1.5rem;
}

.home-reviews__summary span,
.home-review-card__stars {
	color: #f5a623;
	letter-spacing: 0.08em;
}

.home-review-carousel {
	position: relative;
}

.home-review-carousel__viewport {
	overflow-x: auto;
	scrollbar-width: none;
	touch-action: pan-x pan-y;
	scroll-snap-type: x mandatory;
}

.home-review-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.home-review-carousel__track {
	display: flex;
	gap: var(--space-4);
}

.home-review-card {
	min-width: calc(100% - 0.75rem);
	padding: clamp(1.25rem, 4vw, 1.75rem);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-subtle);
	scroll-snap-align: start;
}

.home-review-card header {
	display: grid;
	gap: 0.15rem;
}

.home-review-card header span,
.home-review-card time {
	color: var(--text-muted);
	font-size: 0.85rem;
}

.home-review-card__stars {
	margin-block: var(--space-3);
}

.home-review-card__text {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 7;
	line-height: 1.65;
}

.home-review-carousel__arrow {
	position: absolute;
	z-index: 2;
	inset-block-start: 50%;
	display: grid;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	place-items: center;
	background: rgb(255 255 255 / 0.94);
	border: 1px solid var(--border);
	border-radius: 50%;
	transform: translateY(-50%);
	cursor: pointer;
}

.home-review-carousel__arrow--previous { inset-inline-start: -1.25rem; }
.home-review-carousel__arrow--next { inset-inline-end: -1.25rem; }

.home-review-carousel__arrow span {
	display: block;
	width: 0.65rem;
	height: 0.65rem;
	border-block-start: 2px solid currentColor;
	border-inline-start: 2px solid currentColor;
}

.home-review-carousel__arrow--previous span { transform: rotate(-45deg); }
.home-review-carousel__arrow--next span { transform: rotate(135deg); }

.home-review-carousel__viewport.is-dragging {
	cursor: grabbing;
	user-select: none;
}

@media (min-width: 40rem) {
	.home-review-card { min-width: calc((100% - var(--space-4)) / 2); }
}

@media (min-width: 64rem) {
	.home-review-card { min-width: calc((100% - (2 * var(--space-4))) / 3); }
}

@media (max-width: 47.99rem) {
	.home-reviews__header { align-items: flex-start; flex-direction: column; }
	.home-review-carousel__arrow { width: 2.35rem; height: 2.35rem; }
	.home-review-carousel__arrow--previous { inset-inline-start: -0.5rem; }
	.home-review-carousel__arrow--next { inset-inline-end: -0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	.home-review-carousel__viewport { scroll-behavior: auto; }
}
