/*
 * Unit17 homepage (page-templates/home.php).
 *
 * Layout only: type, colour, buttons, chips, cards and product cards come from
 * u17-system.css, u17-cards.css and u17-blog.css (DESIGN-SYSTEM.md).
 *
 * Breakpoints: 1280px (the desktop header), 1024px, 768px, 600px.
 */

/* The metric-matched "Kanit Fallback" faces now live in u17-system.css. */

.u17-home {
	--u17-font: "Kanit", "Kanit Fallback", sans-serif;
	/* tighter than the site-wide section padding (64–128px in u17-system.css):
	   48px on phones, 86px at 1440px, 88px max */
	--u17-section: clamp(48px, 6vw, 88px);
	font-family: var(--u17-font);
	font-weight: 300;
	color: var(--u17-text);
	background: var(--u17-white);
	overflow-x: clip;
}

.u17-home *,
.u17-home *::before,
.u17-home *::after {
	box-sizing: border-box;
}

/* `hidden` must win over component display rules (e.g. .u17-btn). */
.u17-home [hidden] {
	display: none !important;
}

.u17-home ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* the focus ring (u17-system.css) in the light teal on dark and photo backgrounds */
.u17-home :is(.u17-section--dark, .u17-photo-band, .u17-home__build) :focus-visible,
.u17-home .u17-section--dark .u17-pcard:has(.u17-pcard__title a:focus-visible) {
	outline-color: var(--u17-teal);
}

/* ============================================================ editor preview */
.u17-home__preview {
	position: sticky;
	top: 0;
	z-index: 20;
	margin: 0;
	padding: 10px var(--u17-gutter);
	background: #f0b849;
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	color: var(--u17-black);
}

.u17-home__preview a {
	margin-left: 8px;
	color: var(--u17-black);
	text-decoration: underline;
}

/* ============================================================ section heads */
.u17-home__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--u17-space-3) var(--u17-space-5);
	margin-bottom: var(--u17-space-5);
}

.u17-home__head .u17-heading {
	margin: 0;
}

.u17-home__head--split > div:first-child {
	max-width: 640px;
}

.u17-home__head-aside {
	display: grid;
	justify-items: start;
	gap: var(--u17-space-3);
	max-width: 460px;
}

.u17-home__head-lead {
	margin: 0;
	font-size: var(--u17-fs-body);
	line-height: 1.6;
	color: var(--u17-on-dark-2);
}

/* ============================================================ 1. hero */
.u17-home__hero {
	align-items: flex-end;
	min-height: clamp(460px, 38vw, 560px);
	background: var(--u17-ink);
	--u17-photo-scrim:
		linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.88) 100%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 60%);
}

/* the system's photo band positions a direct <img>; here it sits in <picture> */
.u17-home__hero-media {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block;
}

.u17-home__hero-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 62%;
}

.u17-home__hero-inner {
	width: 100%;
	padding-block: clamp(40px, 6vw, 72px);
}

.u17-home__hero .u17-kicker {
	color: var(--u17-teal);
}

.u17-home__title {
	max-width: 820px;
	margin: 0 0 18px;
	color: var(--u17-white);
}

.u17-home__title em {
	display: block;
}

.u17-home__lead {
	max-width: 620px;
	margin: 0 0 28px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.86);
}

/* ============================================================ 1b. banner slideshow
   Designed banners (words in the image): never cropped by shape — the box takes
   the banners' own shape (the first banner sets it, --u17-slide-ratio; the
   recommended size is 1920×720), and on phones the phone banners' shape when
   every slide has one. Slides cross-fade in place. */
.u17-home__slider {
	position: relative;
	background: var(--u17-ink);
}

.u17-home__slides {
	position: relative;
	max-width: 1920px;
	margin: 0 auto;
}

.u17-home__slides-track {
	position: relative;
	aspect-ratio: var(--u17-slide-ratio, 2.6667);
	overflow: hidden;
	touch-action: pan-y; /* sideways swipes change slides; the page still scrolls */
}

@media (max-width: 599px) {
	.u17-home__slider--phone .u17-home__slides-track {
		aspect-ratio: var(--u17-slide-ratio-phone, 0.8);
	}
}

.u17-home__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s var(--u17-ease), visibility 0s linear 0.7s;
}

.u17-home__slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.7s var(--u17-ease);
}

.u17-home__slide-link,
.u17-home__slide-media {
	display: block;
	width: 100%;
	height: 100%;
}

.u17-home__slide-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.u17-home__slide-link:focus-visible {
	outline-offset: -4px;
}

/* controls: a pill over the bottom of the banner (readable on any artwork) */
.u17-home__slider-ui {
	position: absolute;
	bottom: clamp(10px, 2vw, 22px);
	left: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 0 4px;
	border-radius: 999px;
	background: rgba(11, 11, 11, 0.62);
	transform: translateX(-50%);
}

.u17-home__slider-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--u17-white);
	cursor: pointer;
}

.u17-home__slider-btn svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.u17-home__slider-pause svg {
	fill: currentColor;
	stroke-width: 0;
}

.u17-home__slider-pause .u17-home__icon-pause {
	fill: none;
	stroke-width: 2.4;
}

.u17-home__slider-pause .u17-home__icon-play,
.u17-home__slider-pause.is-paused .u17-home__icon-pause {
	display: none;
}

.u17-home__slider-pause.is-paused .u17-home__icon-play {
	display: block;
}

.u17-home__slider-btn:hover {
	color: var(--u17-teal);
}

.u17-home__slider-dots {
	display: flex;
	align-items: center;
}

/* 44px target, 10px dot */
.u17-home__slider-dot {
	position: relative;
	width: 28px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.u17-home__slider-dot::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border: 2px solid var(--u17-white);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.u17-home__slider-dot[aria-current="true"]::before {
	border-color: var(--u17-teal);
	background: var(--u17-teal);
}

.u17-home .u17-home__slider :focus-visible {
	outline-color: var(--u17-teal);
}

/* ============================================================ 2. promises
   Four equal columns (2×2 on tablets, one per row on phones): a teal-ringed
   icon, a one-line title and a one-line detail; thin rules between them. */
.u17-home__promises {
	padding-block: clamp(22px, 2.4vw, 30px);
	border-top: 3px solid var(--u17-teal);
}

.u17-home__promise-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.u17-home__promise-list > li {
	display: flex;
}

.u17-home__promise-list > li + li {
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.u17-home__promise {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	min-height: 44px;
	padding: 4px clamp(14px, 1.8vw, 26px);
	text-decoration: none;
	color: var(--u17-on-dark-2);
}

.u17-home__promise-list > li:first-child .u17-home__promise {
	padding-left: 0;
}

.u17-home__promise-icon {
	display: inline-flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1.5px solid rgba(87, 197, 187, 0.55);
	border-radius: 50%;
	transition: border-color var(--u17-fast), background-color var(--u17-fast);
}

.u17-home__promise-icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: var(--u17-teal);
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.u17-home__promise-text {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.u17-home__promise strong {
	font-size: var(--u17-fs-label);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--u17-white);
}

.u17-home__promise-text span {
	font-size: var(--u17-fs-small);
	line-height: 1.4;
	white-space: nowrap;
}

.u17-home__promise:hover strong,
.u17-home__promise:focus-visible strong {
	color: var(--u17-teal);
}

.u17-home__promise:hover .u17-home__promise-icon {
	border-color: var(--u17-teal);
	background-color: rgba(87, 197, 187, 0.08);
}

/* ============================================================ 3. shop by car */
.u17-home__cars {
	/* a little room above the section; the pinned phone header is allowed
	   for site-wide (scroll-padding-top in u17-system.css) */
	scroll-margin-top: 16px;
}

.u17-home__cars-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--u17-space-3);
}

.u17-home__cars-grid > li {
	display: flex;
}

.u17-home__car {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 0;
	overflow: hidden;
	text-decoration: none;
	color: var(--u17-ink);
}

/* the car's photo (its vehicle's thumbnail, cropped 3:2) or, without one, the brand on ink */
.u17-home__car-media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--u17-ink);
}

.u17-home__car-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--u17-slow) var(--u17-ease);
}

.u17-home__car:hover .u17-home__car-img {
	transform: scale(1.04);
}

.u17-home__car-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: clamp(20px, 2.4vw, 30px);
	font-weight: 700;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.22);
}

.u17-home__car-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px 18px;
}

.u17-home__car.is-mine {
	border-color: var(--u17-teal);
}

.u17-home__car-brand {
	font-size: var(--u17-fs-label);
	font-weight: 500;
	letter-spacing: var(--u17-tracking-label);
	text-transform: uppercase;
	color: var(--u17-muted);
}

.u17-home__car-model {
	margin: 0;
}

.u17-home__car-count {
	margin-top: auto;
	font-size: var(--u17-fs-small);
	color: var(--u17-muted);
}

.u17-home__car-mine {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 2px 8px;
	background: var(--u17-teal);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--u17-ink);
}

.u17-home__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: var(--u17-space-4) !important;
}

/* chips here are links you tap, not filters: a full 44px target */
.u17-home__chips .u17-chip {
	min-height: 44px;
}

/* "Popular" car + part links (switch u17_il_home): a label, then the chips. */
.u17-home__popular {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--u17-space-2);
	margin-top: var(--u17-space-3);
}

.u17-home__popular-label {
	margin: 0;
	font-family: var(--u17-font);
	font-size: var(--u17-fs-label);
	font-weight: 500;
	letter-spacing: var(--u17-tracking-label);
	text-transform: uppercase;
	color: var(--u17-teal-text);
}

.u17-home__popular .u17-home__chips {
	margin-top: 0 !important;
}

/* Phones: the 4 most searched only, so the row stays short. */
@media (max-width: 767px) {
	.u17-home__chips--popular li:nth-child(n + 5) {
		display: none;
	}
}

/* "Find another car": the finder sheet on compact screens, the header's
   make selector on desktop (the sheet only exists below 1280px). */
@media (min-width: 1280px) {
	.u17-home__find--compact {
		display: none !important;
	}
}

@media (max-width: 1279px) {
	.u17-home__find--desktop {
		display: none !important;
	}
}

/* ============================================================ 4. shop by part */
.u17-home__parts-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: var(--u17-space-3);
}

.u17-home__parts-grid > li {
	display: flex;
}

.u17-home__part {
	display: flex;
	flex-direction: column;
	width: 100%;
	border: 1px solid var(--u17-line);
	background: var(--u17-white);
	text-decoration: none;
	color: var(--u17-ink);
	transition: border-color var(--u17-fast);
}

.u17-home__part:hover {
	border-color: var(--u17-teal);
}

/* 4:3 suits the parts (most are wide); pictures are tight product cut-outs
   (the part categories' thumbnails: G80 M3 photos cropped to the part) */
.u17-home__part-media {
	display: block;
	aspect-ratio: 4 / 3;
	padding: 8% 7%;
	overflow: hidden; /* keeps the shape: a tall picture can't stretch the box */
	background: var(--u17-white);
}

.u17-home__part-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.u17-home__part-name {
	margin: 0;
	padding: 12px 14px 2px;
	font-family: var(--u17-font);
	font-size: var(--u17-fs-body);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--u17-ink);
}

.u17-home__part-count {
	padding: 0 14px 14px;
	font-size: var(--u17-fs-small);
	color: var(--u17-muted);
}

/* none of this type for the visitor's car (u17-home-early.js) */
.u17-home__part.is-none {
	opacity: 0.55;
}

.u17-home__parts-toggle {
	align-self: center;
}

.u17-home__more {
	margin: var(--u17-space-4) 0 0;
}

/* ============================================================ 7. customer builds */
.u17-home__builds-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--u17-space-3);
}

.u17-home__build {
	position: relative;
	height: 100%;
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--u17-ink);
}

.u17-home__build-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.u17-home__build-cap {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: grid;
	justify-items: start;
	gap: 6px;
	padding: 56px 16px 16px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.84) 100%);
	font-style: normal;
}

.u17-home__build-tag {
	padding: 2px 8px;
	background: var(--u17-teal);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--u17-ink);
}

.u17-home__build-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--u17-white);
}

.u17-home__build-link:hover,
.u17-home__build-link:focus-visible {
	color: var(--u17-teal);
}

.u17-home__builds-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	margin-top: var(--u17-space-4);
}

.u17-home__builds-foot p {
	max-width: 640px;
	margin: 0;
	font-size: var(--u17-fs-body);
	line-height: 1.6;
}

/* ============================================================ 8. reviews
   A dark band of testimonial cards: quote mark + the reviewer's own stars,
   the quote, who said it, and the product they reviewed (with its photo). */
.u17-home__reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--u17-space-3);
}

.u17-home__review {
	display: flex;
}

.u17-home__review-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: 100%;
	margin: 0;
	padding: 30px 28px 24px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-top: 3px solid var(--u17-teal);
	background: rgba(255, 255, 255, 0.04);
}

.u17-home__review-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.u17-home__quote-mark {
	width: 34px;
	height: 26px;
	fill: var(--u17-teal);
	opacity: 0.9;
}

.u17-home__stars {
	display: inline-flex;
	gap: 2px;
}

.u17-home__stars svg {
	width: 17px;
	height: 17px;
	fill: rgba(255, 255, 255, 0.18);
}

.u17-home__stars svg.is-on {
	fill: var(--u17-teal);
}

.u17-home__quote {
	margin: 0;
}

.u17-home .u17-home__quote p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	font-size: clamp(16px, 1.25vw, 18px);
	font-weight: 300;
	line-height: 1.65;
	color: var(--u17-on-dark);
}

.u17-home .u17-home__review-by {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-style: normal;
}

.u17-home__avatar {
	display: inline-flex;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--u17-teal);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 1px;
	color: var(--u17-ink);
}

.u17-home__review-who {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.u17-home__review-who strong {
	overflow: hidden;
	font-size: var(--u17-fs-body);
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--u17-white);
}

.u17-home__review-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 10px;
	font-size: var(--u17-fs-label);
	color: var(--u17-on-dark-muted);
}

.u17-home__verified {
	font-weight: 500;
	color: var(--u17-teal);
}

.u17-home__review-product {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 10px;
	background: rgba(255, 255, 255, 0.05);
	text-decoration: none;
	color: var(--u17-on-dark-2);
	transition: background-color var(--u17-fast);
}

.u17-home__review-product:hover {
	background: rgba(87, 197, 187, 0.12);
}

.u17-home__review-thumb {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	overflow: hidden;
	background: var(--u17-white);
}

.u17-home__review-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.u17-home__review-item {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.u17-home__review-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--u17-teal);
}

.u17-home__review-name {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	font-size: var(--u17-fs-small);
	line-height: 1.35;
}

.u17-home__review-product:hover .u17-home__review-name {
	color: var(--u17-white);
}

/* ============================================================ 11. about + help */
.u17-home__about-grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}

.u17-home__help {
	padding: 34px 30px;
}

.u17-home__help:hover {
	border-color: var(--u17-line);
	transform: none;
}

.u17-home .u17-home__help p {
	margin: 0 0 22px;
	font-size: var(--u17-fs-body);
	color: var(--u17-text);
}

/* ============================================================ responsive */
@media (max-width: 1279px) {
	.u17-home__hero {
		min-height: 460px;
	}

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

@media (max-width: 1023px) {
	.u17-home__about-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* promises: 2 × 2 until four fit on one line each */
@media (max-width: 1199px) {
	.u17-home__promise-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 18px;
	}

	.u17-home__promise-list > li:nth-child(odd) {
		border-left: 0;
	}

	.u17-home__promise-list > li:nth-child(odd) .u17-home__promise {
		padding-left: 0;
	}
}

/* builds on desktop: whole rows of 4 (the editor suggests 4 or 8) */
@media (min-width: 768px) {
	.u17-home__builds-grid > li.is-extra {
		display: none;
	}

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

@media (max-width: 767px) {
	.u17-home__cars-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.u17-home__car-body {
		gap: 4px;
		padding: 12px 12px 14px;
	}

	.u17-home__car-mine {
		top: 8px;
		right: 8px;
	}

	.u17-home__parts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	/* swipe rows */
	.u17-home__builds-grid,
	.u17-home__reviews-grid {
		grid-template-columns: none;
		grid-auto-flow: column;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 0;
		scrollbar-width: thin;
		padding-bottom: 6px;
	}

	.u17-home__builds-grid {
		grid-auto-columns: 72%;
	}

	.u17-home__reviews-grid {
		grid-auto-columns: 86%;
	}

	.u17-home__builds-grid > li,
	.u17-home__reviews-grid > li {
		scroll-snap-align: start;
	}
}

/* phones: the photo is a band at the top that fades into solid ink behind the
   text (text over the middle of a photo is hard to read at this size) */
@media (max-width: 599px) {
	.u17-home__hero {
		min-height: 0;
		padding-top: calc(66vw - 48px);
		--u17-photo-scrim: linear-gradient(180deg, rgba(11, 11, 11, 0) 0, rgba(11, 11, 11, 0) calc(66vw - 150px), var(--u17-ink) 66vw, var(--u17-ink) 100%);
	}

	.u17-home__hero-media {
		bottom: auto;
		height: 66vw;
	}

	.u17-home__hero-inner {
		padding-block: 0 36px;
	}

	/* one per row, rules between */
	.u17-home__promise-list {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0;
	}

	.u17-home__promise-list > li + li {
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		border-left: 0;
	}

	.u17-home__promise,
	.u17-home__promise-list > li:nth-child(odd) .u17-home__promise {
		padding: 10px 0;
	}

	.u17-home__promise-icon {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.u17-home__promise-icon,
	.u17-home__part,
	.u17-home__car-img,
	.u17-home__slide,
	.u17-home__slide.is-active {
		transition: none;
	}

	.u17-home__car:hover .u17-home__car-img {
		transform: none;
	}
}

/* iPhone memory: sections below the first screens render only as the visitor
   scrolls near them (see u17-chrome.css). Measured at 440px: the horizontal
   rows and grids otherwise promote much of the page into extra graphics
   layers (165 MB of layers → 2 MB in Chrome's layer tree). */
@media (max-width: 1279px) {
	.u17-home__cars,
	.u17-home__parts,
	.u17-home__row,
	.u17-home__builds,
	.u17-home__reviews,
	.u17-home__posts,
	.u17-home__about {
		content-visibility: auto;
		contain-intrinsic-size: auto 800px;
	}

	.u17-home__cars { contain-intrinsic-size: auto 1470px; }
	.u17-home__parts { contain-intrinsic-size: auto 1300px; }
	.u17-home__posts { contain-intrinsic-size: auto 1840px; }
}
