/*
 * Arcade Direct Homepage Override — Framed machine-first hero; teal/navy/grey only.
 * This page layer favours full-width proof content, robust surface contrast and mobile-first cards.
 */

body.home .ad-home-hero {
	/* Compact image-led hero: readable left rail, preserved machine imagery. */
	position: relative;
	isolation: isolate;
	min-height: clamp(30rem, 40vw, 39rem);
	padding-block: clamp(2.75rem, 5vw, 5rem);
	display: grid;
	align-items: center;
	overflow: hidden;
	background-position: 60% center;
}

body.home .ad-home-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(8, 18, 36, 0.92) 0%, rgba(8, 18, 36, 0.78) 39%, rgba(8, 18, 36, 0.28) 64%, rgba(8, 18, 36, 0.1) 100%);
}

body.home .ad-home-hero__copy {
	position: relative;
	max-width: min(49rem, 62%);
	padding: clamp(1.25rem, 2vw, 2rem) 0 clamp(1.25rem, 2vw, 1.75rem) clamp(1rem, 1.65vw, 1.5rem);
	border-left: 0.3rem solid #35bb9d;
	text-wrap: balance;
}

body.home .ad-home-hero__copy h1 {
	max-width: 15ch;
	margin-block: 0.65rem 1rem;
	font-size: clamp(2.9rem, 4.2vw, 4.55rem);
	line-height: 0.9;
	letter-spacing: -0.03em;
}

body.home .ad-home-hero__copy h1 span {
	display: block;
}

body.home .ad-home-hero__copy h1,
body.home .ad-home-hero__copy > p:not(.ad-label),
body.home .ad-home-hero__copy .ad-text-link--on-dark {
	color: #ffffff !important;
	text-shadow: 0 0.12rem 0.45rem rgba(0, 0, 0, 0.6);
}

body.home .ad-home-hero__copy .ad-label {
	color: #7ce0ca !important;
}

body.home .ad-home-hero__copy .ad-button {
	min-height: 2.75rem;
	padding-inline: 1.05rem;
}

body.home .ad-journey-card__body > span,
body.home .ad-proof-feature__body > span,
body.home .ad-proof-support__item > div > span {
	display: none;
}

body.home .ad-journey-card__body {
	display: grid;
	align-content: start;
	gap: 0.65rem;
}

body.home .ad-journey-card__body h3,
body.home .ad-journey-card__body p {
	margin: 0;
}

body.home .ad-journey-card__body b {
	margin-top: 0.3rem;
}

/* Clear separation keeps each commercial route easy to scan and choose. */
body.home .ad-journey-grid {
	background: #d3e3e3;
	border: 1px solid #d3e3e3;
	display: grid;
	gap: clamp(.75rem, 1.6vw, 1.25rem);
	grid-template-columns: minmax(0, 1fr);
	margin-top: clamp(1.75rem, 3vw, 3rem);
	padding: clamp(.75rem, 1.5vw, 1.25rem);
}

body.home .ad-journey-grid .ad-journey-card {
	background: #081224;
	border: 1px solid #081224;
	box-shadow: 0 .55rem 1.5rem rgba(8, 18, 36, .13);
	color: #fff;
	min-height: 100%;
	overflow: hidden;
	position: relative;
}

body.home .ad-journey-card__media {
	border-bottom: 1px solid rgba(211, 227, 227, .34);
}

body.home .ad-journey-card__body {
	border-top: .25rem solid #35bb9d;
	gap: .7rem;
	padding: clamp(1.25rem, 2vw, 1.75rem);
}

body.home .ad-journey-card__body h3 {
	color: #fff !important;
}

body.home .ad-journey-card__body p {
	color: #d3e3e3 !important;
}

body.home .ad-journey-card__body b {
	color: #35bb9d !important;
	padding-top: 1rem;
}

body.home .ad-journey-grid .ad-journey-card:hover {
	background: #222f45;
	border-color: #35bb9d;
	box-shadow: 0 .9rem 2rem rgba(8, 18, 36, .22);
}

body.home .ad-journey-grid .ad-journey-card:focus-visible {
	background: #222f45;
	border-color: #35bb9d;
	box-shadow: 0 .9rem 2rem rgba(8, 18, 36, .22);
	outline: 3px solid #35bb9d;
	outline-offset: 3px;
}

@media (min-width: 42rem) {
	body.home .ad-journey-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 60rem) {
	body.home .ad-journey-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

body.home .ad-home-machines--hire-arrivals .ad-section-heading,
body.home .ad-home-machines--hire-arrivals > .ad-container > p:not(.ad-label) {
	max-width: 52rem;
}

body.home .ad-home-machines--hire-arrivals .ad-product-grid {
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

body.home .ad-home-machines__empty {
	padding: 1rem 0 0;
}

body.home .ad-home-brand__image {
	background-position: 66% center;
}

@media (max-width: 47.99rem) {
	body.home .ad-home-brand__image {
		background-position: 66% 42%;
	}
}

@media (min-width: 60rem) {
	body.home .ad-home-bespoke .ad-container {
		display: grid;
		grid-template-columns: minmax(18rem, 0.82fr) minmax(36rem, 1.18fr);
		gap: clamp(3rem, 8vw, 8rem);
		align-items: stretch;
	}

	body.home .ad-home-bespoke__image {
		min-height: clamp(37rem, 50vw, 48rem);
		background-position: center;
		background-size: cover;
	}

	body.home .ad-home-bespoke .ad-container > div:last-child {
		display: grid;
		align-content: center;
		justify-items: start;
		max-width: 52rem;
		padding-block: clamp(4rem, 7vw, 7rem);
	}

	body.home .ad-home-bespoke h2 {
		max-width: 15ch;
		font-size: clamp(3.6rem, 5.8vw, 6.15rem);
		line-height: 0.88;
	}

	body.home .ad-home-bespoke p,
	body.home .ad-home-bespoke ul {
		max-width: 48rem;
	}

	body.home .ad-home-bespoke ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 2.5rem;
		row-gap: 0.55rem;
	}
}

@media (min-width: 48rem) and (max-width: 59.99rem) {
	body.home .ad-home-bespoke .ad-container {
		grid-template-columns: minmax(15rem, 0.72fr) minmax(27rem, 1.28fr);
		gap: clamp(2rem, 5vw, 4rem);
	}

	body.home .ad-home-bespoke__image {
		min-height: 38rem;
		background-position: center;
	}

	body.home .ad-home-bespoke .ad-container > div:last-child {
		max-width: 46rem;
	}

	body.home .ad-home-bespoke h2 {
		max-width: 14ch;
		font-size: clamp(3.25rem, 6vw, 4.65rem);
	}

	body.home .ad-home-bespoke ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 1.5rem;
	}
}

body.home .ad-proof {
	padding-block: clamp(4rem, 8vw, 7rem);
	background: #d3e3e3;
}

body.home .ad-proof__heading {
	max-width: 52rem;
	margin-bottom: clamp(1.75rem, 4vw, 3.25rem);
}

body.home .ad-proof__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1rem, 2.2vw, 2rem);
}

body.home .ad-proof-feature {
	display: grid;
	grid-template-columns: minmax(14rem, 0.94fr) minmax(20rem, 1.06fr);
	min-height: clamp(22rem, 31vw, 30rem);
	background: #081224;
	box-shadow: 0 1rem 2.7rem rgba(8, 18, 36, 0.18);
}

body.home .ad-proof-feature__media,
body.home .ad-proof-support__media {
	background-position: center;
	background-size: cover;
}

body.home .ad-proof-feature__body {
	display: grid;
	align-content: center;
	justify-items: start;
	gap: 1rem;
	padding: clamp(2rem, 4vw, 4.75rem);
	background: #081224;
}

body.home .ad-proof-feature__body h3,
body.home .ad-proof-feature__body p {
	margin: 0;
}

body.home .ad-proof-feature__body h3 {
	max-width: 13ch;
	color: #ffffff !important;
	font-size: clamp(2.25rem, 4.2vw, 4.25rem);
	line-height: 0.92;
}

body.home .ad-proof-feature__body p {
	max-width: 35rem;
	color: #d3e3e3 !important;
	font-size: clamp(1rem, 1.4vw, 1.18rem);
}

body.home .ad-proof-support {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
}

body.home .ad-proof-support__item {
	display: grid;
	grid-template-rows: minmax(10rem, 13vw) auto;
	min-width: 0;
	background: #ffffff;
	box-shadow: 0 0.5rem 1.5rem rgba(8, 18, 36, 0.1);
}

body.home .ad-proof-support__item > div:last-child {
	display: grid;
	align-content: start;
	gap: 0.75rem;
	padding: clamp(1.25rem, 2vw, 1.75rem);
	border-top: 0.25rem solid #35bb9d;
}

body.home .ad-proof-support__item h3,
body.home .ad-proof-support__item p {
	margin: 0;
}

body.home .ad-proof-support__item h3 {
	color: #081224 !important;
	font-size: clamp(1.55rem, 2vw, 2.15rem);
	line-height: 0.95;
}

body.home .ad-proof-support__item p {
	color: #222f45 !important;
}

@media (min-width: 48rem) and (max-width: 59.99rem) {
	body.home .ad-home-hero {
		min-height: clamp(31rem, 51vw, 36rem);
		padding-block: clamp(3rem, 6vw, 4.5rem);
		background-position: 57% center;
	}

	body.home .ad-home-hero__copy {
		max-width: min(43rem, 66%);
		padding-right: 0;
	}

	body.home .ad-home-hero__copy h1 {
		max-width: 15ch;
		font-size: clamp(3.1rem, 6.2vw, 4.25rem);
	}
}

@media (max-width: 47.99rem) {
	body.home .ad-home-hero {
		min-height: clamp(34rem, 88svh, 40rem);
		padding-block: clamp(2.5rem, 7vw, 4rem);
		align-items: end;
		background-position: 56% center;
	}

	body.home .ad-home-hero::after {
		background: linear-gradient(180deg, rgba(8, 18, 36, 0.28) 0%, rgba(8, 18, 36, 0.72) 32%, rgba(8, 18, 36, 0.92) 100%);
	}

	body.home .ad-home-hero__copy {
		max-width: 100%;
		margin-bottom: 0;
		padding-right: clamp(1rem, 4vw, 2rem);
		background: linear-gradient(90deg, rgba(8, 18, 36, 0.9), rgba(8, 18, 36, 0.72) 76%, rgba(8, 18, 36, 0));
	}

	body.home .ad-proof-feature {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	body.home .ad-proof-feature__media {
		min-height: clamp(15rem, 62vw, 23rem);
	}

	body.home .ad-proof-support {
		grid-template-columns: 1fr;
	}

	body.home .ad-proof-support__item {
		grid-template-columns: minmax(8.75rem, 34%) 1fr;
		grid-template-rows: minmax(9rem, auto);
	}

	body.home .ad-proof-support__item > div:last-child {
		border-top: 0;
		border-left: 0.25rem solid #35bb9d;
	}
}

@media (max-width: 34rem) {
	body.home .ad-home-hero {
		min-height: clamp(33rem, 88svh, 38rem);
		padding-block: 2rem;
	}

	body.home .ad-home-hero__copy {
		padding: 1rem 1rem 1.1rem 0.95rem;
		border-left-width: 0.25rem;
	}

	body.home .ad-home-hero__copy h1 {
		max-width: 11ch;
		font-size: clamp(2.6rem, 11.6vw, 3.85rem);
		line-height: 0.91;
	}

	body.home .ad-home-hero__copy .ad-action-row {
		grid-template-columns: 1fr;
	}

	body.home .ad-home-hero__copy .ad-button {
		width: 100%;
	}

	body.home .ad-proof-feature__body {
		padding: 1.5rem;
	}

	body.home .ad-proof-support__item {
		grid-template-columns: 1fr;
		grid-template-rows: 12rem auto;
	}

	body.home .ad-proof-support__item > div:last-child {
		border-left: 0;
		border-top: 0.25rem solid #35bb9d;
	}
}

@media (prefers-reduced-motion: no-preference) {
	body.home .ad-journey-card,
	body.home .ad-proof-feature,
	body.home .ad-proof-support__item {
		transition: background-color 180ms cubic-bezier(0.23, 1, 0.32, 1), border-color 180ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 180ms cubic-bezier(0.23, 1, 0.32, 1), transform 180ms cubic-bezier(0.23, 1, 0.32, 1);
	}

	body.home .ad-journey-card:hover,
	body.home .ad-journey-card:focus-visible,
	body.home .ad-proof-support__item:hover {
		transform: translateY(-0.2rem);
	}
}
