/**
 *
 *   Home page "about us"
 *   ====================
 *
 *   The short "who we are" band on the front page, under the category grid.
 *   Its content stays editable: it is plain HTML inside a "Text" block, and
 *   every rule here hangs off the .nvm-home-about wrapper in that HTML.
 *
 */

.nvm-home-about {
	--nvm-home-about-ink   : #1f1f1f;
	--nvm-home-about-plum  : var(--nvm-theme-color-purple);
	--nvm-home-about-pink  : var(--nvm-theme-color-pink);
	--nvm-home-about-blush : #fdf3f8;
	--nvm-home-about-line  : #ecd9e3;

	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(20px, 3vw, 40px);
	border-radius: 22px;
	background: var(--nvm-home-about-blush);
	color: var(--nvm-home-about-ink);
}

.responsiville .nvm-home-about figure.nvm-home-about__photo {
	margin: 0;
	overflow: hidden;
	border-radius: 16px;
}

.nvm-home-about .nvm-home-about__photo img {
	display: block;
	width: 100%;
	height: auto;
}

.responsiville .nvm-home-about p {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--nvm-home-about-ink);
}

.responsiville .nvm-home-about .nvm-home-about__eyebrow {
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nvm-home-about-plum);
}

.responsiville .nvm-home-about h2 {
	margin: 0 0 20px;
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.2;
	color: var(--nvm-home-about-plum);
}

.responsiville .nvm-home-about a.nvm-home-about__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--nvm-home-about-plum);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.responsiville .nvm-home-about a.nvm-home-about__link::after {
	content: "\2192";
}

.responsiville .nvm-home-about a.nvm-home-about__link:hover,
.responsiville .nvm-home-about a.nvm-home-about__link:focus-visible {
	background: var(--nvm-home-about-pink);
	color: #fff;
}

/* The three key numbers, side by side under the text. */

.responsiville .nvm-home-about ul.nvm-home-about__facts {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	gap: 0;
	margin: 28px 0 32px;
	padding: 0;
	list-style: none;
}

.responsiville .nvm-home-about .nvm-home-about__facts li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0 28px;
	border-left: 1px solid var(--nvm-home-about-line);
}

.responsiville .nvm-home-about .nvm-home-about__facts li::before {
	content: none;
}

.responsiville .nvm-home-about .nvm-home-about__facts li:first-child {
	padding-left: 0;
	border-left: 0;
}

.nvm-home-about .nvm-home-about__facts strong {
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 600;
	line-height: 1;
	color: var(--nvm-home-about-pink);
}

.nvm-home-about .nvm-home-about__facts span {
	font-size: 14px;
	line-height: 1.4;
	color: var(--nvm-home-about-ink);
}

@media (max-width: 959px) {

	.nvm-home-about {
		grid-template-columns: 1fr;
		margin: 0 16px;
	}

}

@media (max-width: 479px) {

	.responsiville .nvm-home-about .nvm-home-about__facts li {
		padding: 0 14px;
	}

}



/**
 *
 *   Home page brands strip
 *   ======================
 *
 *   A row of brand logos under the "about us" band, each linking to its
 *   product_brand archive. The list is written twice in the HTML so the
 *   track can scroll endlessly; the copy is aria-hidden and unfocusable.
 *   With reduced motion it becomes a plain swipeable row.
 *
 */

.nvm-home-brands {
	--nvm-home-brands-line  : #ecd9e3;
	--nvm-home-brands-speed : 45s;

	box-sizing: border-box;
	max-width: 1240px;
	margin: clamp(40px, 5vw, 64px) auto 0;
}

.responsiville .nvm-home-brands p.nvm-home-brands__title {
	margin: 0 0 20px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
	color: var(--nvm-theme-color-purple);
}

.nvm-home-brands__viewport {
	display: flex;
	overflow: hidden;
	border-top: 1px solid var(--nvm-home-brands-line);
	border-bottom: 1px solid var(--nvm-home-brands-line);
	mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.responsiville .nvm-home-brands ul.nvm-home-brands__track {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	animation: nvm-home-brands-scroll var(--nvm-home-brands-speed) linear infinite;
}

.nvm-home-brands__viewport:hover .nvm-home-brands__track,
.nvm-home-brands__viewport:focus-within .nvm-home-brands__track {
	animation-play-state: paused;
}

.responsiville .nvm-home-brands .nvm-home-brands__track li {
	margin: 0;
	padding: 0;
}

.responsiville .nvm-home-brands .nvm-home-brands__track li::before {
	content: none;
}

.responsiville .nvm-home-brands .nvm-home-brands__track a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 96px;
	padding: 0 32px;
	box-sizing: border-box;
	border: 0;
}

.responsiville .nvm-home-brands .nvm-home-brands__track img {
	display: block;
	width: auto;
	max-width: 170px;
	object-fit: contain;
	/* Responsiville sets img { height: auto !important }. */
	height: 40px !important;
	filter: grayscale(1);
	opacity: 0.65;
	transition: filter 0.25s ease, opacity 0.25s ease;
}

/* Square tile logos read smaller than wordmarks at the same height. */

.responsiville .nvm-home-brands .nvm-home-brands__track img.is-square {
	height: 58px !important;
}

.responsiville .nvm-home-brands .nvm-home-brands__track a:hover img,
.responsiville .nvm-home-brands .nvm-home-brands__track a:focus-visible img {
	filter: none;
	opacity: 1;
}

@keyframes nvm-home-brands-scroll {
	to {
		transform: translateX(-100%);
	}
}

@media (max-width: 959px) {

	.nvm-home-brands {
		margin-left: 16px;
		margin-right: 16px;
	}

	.responsiville .nvm-home-brands .nvm-home-brands__track a {
		height: 80px;
		padding: 0 22px;
	}

	.responsiville .nvm-home-brands .nvm-home-brands__track img {
		max-width: 130px;
		height: 32px !important;
	}

	.responsiville .nvm-home-brands .nvm-home-brands__track img.is-square {
		height: 48px !important;
	}

}

@media (prefers-reduced-motion: reduce) {

	.nvm-home-brands__viewport {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		mask-image: none;
		-webkit-mask-image: none;
	}

	.responsiville .nvm-home-brands ul.nvm-home-brands__track {
		animation: none;
	}

	.responsiville .nvm-home-brands ul.nvm-home-brands__track[aria-hidden="true"] {
		display: none;
	}

	.responsiville .nvm-home-brands .nvm-home-brands__track li {
		scroll-snap-align: start;
	}

}
