/*
 * Hairtec Voor en na - section styles.
 * Mobile first: a scroll-snap rail that becomes a three-column grid from 1275px.
 * Every selector is scoped to .hvn with at least (0,2,0) specificity so the
 * Elementor kit element rules (h2, h3, a, button) cannot override it,
 * whatever order WP Rocket's "Remove Unused CSS" merges stylesheets in.
 * Custom properties hold what a style control or the script changes: shared
 * ones are declared on .hvn, one-off values sit in their rule as the fallback
 * of a property. The Elementor style controls overwrite those properties and
 * nothing else. Fixed values, such as white, are written out.
 * The content gets as wide as the containers of the site, which Elementor
 * announces as --container-max-width; 1300px where there is no container.
 * The gutter stops at 60px, the side padding of the section above this one
 * on hairtec.nl, so the edges of the two line up.
 */

.hvn {
	--hvn-navy: var(--e-global-color-primary, #223558);
	--hvn-grey: var(--e-global-color-secondary, #eeeff2);
	--hvn-text: var(--e-global-color-text, #5c5c5c);
	--hvn-line: #e6e9ef;
	--hvn-line-2: #d7dce6;
	--hvn-ph: #e8ebf1;
	--hvn-hover: var(--e-global-color-text, #5c5c5c);
	--hvn-shadow: 0 10px 30px rgba(34, 54, 89, 0.07);
	--hvn-shadow-handle: 0 4px 14px rgba(34, 53, 88, 0.28);
	--hvn-r: 20px;
	--hvn-r-media: 14px;
	--hvn-space: 64px;
	--hvn-head-gap: 24px;
	--hvn-max: var(--container-max-width, 1300px);
	--hvn-side: clamp(var(--hvn-gutter-min, 20px), 4.8vw, var(--hvn-gutter-max, 60px));
	--hvn-gutter: max(clamp(0px, var(--hvn-side) - max(0px, (100vw - 100%) / 2 - 10px) * 1000, var(--hvn-side)), (100% - var(--hvn-max)) / 2);
	--hvn-rail-gap: 16px;
	--hvn-tile-w: 336px;
	--hvn-handle: 48px;
	--hvn-pos: 50;
	--hvn-v: 0.15;
	--hvn-p: 0;
	padding-block: var(--hvn-space);
	overflow-x: clip;
	scroll-margin-top: 96px;
	background: #fff;
	color: var(--hvn-text);
	font-size: 16px;
	line-height: 24px;
	overflow-wrap: anywhere;
}

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

/*
 * Side margins. The percentage in the gutter counts from the box around the
 * element that uses it. Header, row and footer each stand in the full width
 * of the section, so it is one length for all three, and the row reaches
 * the edge of the screen also when the content has stopped growing.
 *
 * A boxed container already keeps the section away from the edge of the
 * screen. The side margin is then dropped (the step at 10px a side), so the
 * section is as wide as the container and not 120px narrower.
 */

.hvn .hvn__head,
.hvn .hvn-nav,
.hvn .hvn__foot {
	margin-inline: var(--hvn-gutter);
}

.hvn .hvn-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.hvn .hvn-icon {
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hvn .hvn-icon--fill {
	fill: currentColor;
	stroke: none;
}

/* Header */

.hvn .hvn__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--hvn-head-gap) 32px;
	align-items: end;
}

.hvn .hvn__aside {
	display: contents;
}

.hvn .hvn__eyebrow {
	margin: 0;
	color: var(--hvn-navy);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hvn .hvn__title {
	max-width: 20em;
	margin: 0;
	color: var(--hvn-navy);
	font-family: inherit;
	font-size: 24px;
	font-weight: 700;
	line-height: 30px;
	text-wrap: balance;
}

.hvn .hvn__eyebrow + .hvn__title {
	margin-top: 12px;
}

.hvn .hvn__lead {
	max-width: 58ch;
	margin: 12px 0 0;
}

/* Buttons, pills and the other small uppercase labels */

.hvn .hvn-btn,
.hvn .hvn-pill,
.hvn .hvn-compare__label,
.hvn .hvn-compare__hint,
.hvn .hvn-master__label,
.hvn .hvn-master__end {
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hvn .hvn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 8px 28px;
	border-radius: 100px;
	background: var(--hvn-navy);
	color: #fff;
	text-decoration: none;
}

.hvn .hvn-btn--light {
	background: #fff;
	color: var(--hvn-navy);
}

/* Below 768px the closing tile carries this link. */

.hvn .hvn__cta {
	justify-self: start;
}

.hvn .hvn__cta--twin {
	display: none;
}

/* Master slider: moves the divider in every photo */

.hvn .hvn-master {
	display: flex;
	gap: 0 12px;
	align-items: center;
}

.hvn .hvn-master__label {
	color: var(--hvn-navy);
}

/* A long label wraps; the two ends keep their word in one piece. */

.hvn .hvn-master__end {
	flex: none;
}

.hvn .hvn-master__range {
	--hvn-ring: 0 0 0 1px var(--hvn-line-2);
	flex: 1;
	min-width: 100px;
	height: 44px;
	margin: 0;
	background: none;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

/* The track has a grey of its own: 3:1 on white, so the rail of the slider can be seen. */

.hvn .hvn-master__range::-webkit-slider-runnable-track {
	height: 3px;
	border-radius: 2px;
	background: #8a93a6;
}

.hvn .hvn-master__range::-moz-range-track {
	height: 3px;
	border-radius: 2px;
	background: #8a93a6;
}

.hvn .hvn-master__range::-webkit-slider-thumb {
	box-sizing: border-box;
	width: 22px;
	height: 22px;
	margin-top: -9.5px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--hvn-navy);
	box-shadow: var(--hvn-ring);
	-webkit-appearance: none;
}

.hvn .hvn-master__range::-moz-range-thumb {
	box-sizing: border-box;
	width: 22px;
	height: 22px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--hvn-navy);
	box-shadow: var(--hvn-ring);
}

/*
 * Rail: tiles snap to the gutter. The row has nothing behind its last tile:
 * it ends at the gutter, or the script makes it endless.
 */

.hvn .hvn__grid {
	margin-top: var(--hvn-head-gap);
}

.hvn .hvn-list {
	--hvn-tile: min(var(--hvn-tile-w), 100% - 40px);
	display: flex;
	gap: var(--hvn-rail-gap);
	margin-block: -24px;
	padding: 24px var(--hvn-gutter);
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--hvn-gutter);
	scrollbar-width: none;
}

.hvn .hvn-list::-webkit-scrollbar {
	display: none;
}

/* Positioned, so the visually hidden text inside a tile scrolls with it. */

.hvn .hvn-list__item {
	position: relative;
	flex: 0 0 var(--hvn-tile);
	min-width: 0;
	scroll-snap-align: start;
}

.hvn .hvn-nav {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 20px;
}

.hvn .hvn-nav__progress {
	position: relative;
	flex: 1;
	height: var(--hvn-progress, 2px);
	border-radius: 2px;
	background: var(--hvn-line);
}

.hvn .hvn-nav__thumb {
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--hvn-p) * (100% - var(--hvn-v) * 100%));
	width: calc(var(--hvn-v) * 100%);
	border-radius: inherit;
	background: var(--hvn-navy);
}

.hvn .hvn-nav__count {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	font-variant-numeric: tabular-nums;
}

.hvn .hvn-nav__count b {
	color: var(--hvn-navy);
}

/*
 * The kit paints every button, also on :hover and :focus; three classes
 * outrank that. The theme animates every property of a button; here motion
 * is opt-in, see the end of the file.
 */

.hvn .hvn-nav .hvn-nav__btn,
.hvn .hvn-dialog .hvn-dialog__close {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--hvn-line-2);
	border-radius: 50%;
	background: #fff;
	color: var(--hvn-navy);
	cursor: pointer;
	transition: none;
}

.hvn .hvn-nav .hvn-nav__btn--next {
	margin-left: -8px;
	border-color: transparent;
	background: var(--hvn-navy);
	color: #fff;
}

/* Not opacity: that would fade the focus ring of an arrow that just reached the end. */

.hvn .hvn-nav .hvn-nav__btn[aria-disabled="true"] {
	border-color: var(--hvn-line-2);
	background: none;
	color: var(--hvn-line-2);
	pointer-events: none;
}

/* Controls that need the script keep their space, so nothing shifts when it runs late. */

.hvn:not(.is-ready) .hvn-master,
.hvn:not(.is-ready) .hvn-nav {
	visibility: hidden;
}

/* Case card */

.hvn .hvn-case,
.hvn .hvn-story {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--hvn-line);
	border-radius: var(--hvn-r);
	background: #fff;
	box-shadow: var(--hvn-shadow);
}

.hvn .hvn-case {
	height: 100%;
	min-width: 0;
	padding: var(--hvn-pad, 12px);
	scroll-margin-top: 96px;
}

.hvn .hvn-case__figure {
	display: flex;
	flex: 1;
	flex-direction: column;
	margin: 0;
}

/* Hello Elementor sets every figcaption in grey italics. */

.hvn .hvn-case__caption {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px 12px;
	align-items: flex-start;
	justify-content: space-between;
	padding: 12px 4px 4px;
	color: inherit;
	font-style: normal;
}

.hvn .hvn-case__text {
	min-width: 0;
}

.hvn .hvn-case__title {
	margin: 0;
	color: var(--hvn-navy);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 22px;
}

.hvn .hvn-case__facts {
	margin: 2px 0 0;
	font-size: 14px;
	line-height: 20px;
}

.hvn .hvn-case__facts dd {
	display: inline;
	margin: 0;
}

.hvn .hvn-case__facts dd ~ dd::before {
	content: "\00b7";
	margin: 0 0.45em;
	opacity: 0.5;
}

/* Before/after: --pos is the divider position in percent from the left */

.hvn .hvn-compare {
	--pos: var(--hvn-pos);
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--hvn-r-media);
	background: var(--hvn-ph);
	-webkit-user-select: none;
	user-select: none;
}

.hvn.is-ready .hvn-compare {
	cursor: ew-resize;
}

.hvn .hvn-compare.is-dragging {
	cursor: grabbing;
}

.hvn .hvn-compare__img,
.hvn .hvn-facade__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.hvn .hvn-compare__img {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hvn .hvn-compare__img--before {
	clip-path: inset(0 calc(100% - var(--pos) * 1%) 0 0);
}

.hvn .hvn-compare__line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--pos) * 1%);
	width: var(--hvn-line-w, 2px);
	background: #fff;
	box-shadow: 0 0 0 1px rgba(34, 53, 88, 0.12);
	transform: translateX(-50%);
	pointer-events: none;
}

/* Touch drags start on this strip only, so a swipe on the photo keeps scrolling. */

.hvn .hvn-compare__strip {
	position: absolute;
	top: 0;
	bottom: 0;
	left: clamp(var(--hvn-handle) / 2, var(--pos) * 1%, 100% - var(--hvn-handle) / 2);
	display: grid;
	place-items: center;
	width: var(--hvn-handle);
	transform: translateX(-50%);
	touch-action: pan-y;
}

.hvn .hvn-compare__handle {
	display: grid;
	place-items: center;
	width: var(--hvn-handle);
	height: var(--hvn-handle);
	border-radius: 50%;
	background: #fff;
	color: var(--hvn-navy);
	box-shadow: var(--hvn-shadow-handle);
}

.hvn .hvn-compare__label,
.hvn .hvn-compare__hint {
	position: absolute;
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 12px;
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--hvn-navy);
	pointer-events: none;
}

.hvn .hvn-compare__label {
	top: 12px;
}

/* Each label fades out before the divider reaches it. */

.hvn .hvn-compare__label--before {
	left: 12px;
	background: var(--hvn-navy);
	color: #fff;
	opacity: clamp(0, (var(--pos) - 14) / 8, 1);
}

.hvn .hvn-compare__label--after {
	right: 12px;
	opacity: clamp(0, (86 - var(--pos)) / 8, 1);
}

.hvn .hvn-compare__hint {
	bottom: 12px;
	left: 50%;
	min-height: 32px;
	padding: 0 14px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%);
}

.hvn.is-ready:not(.is-touched) .hvn-compare__hint {
	opacity: 1;
	visibility: visible;
}

/* Video pill and the 16:9 facade */

.hvn .hvn-pill {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 4px 12px 4px 4px;
	border-radius: 100px;
	background: var(--hvn-grey);
	color: var(--hvn-navy);
	text-decoration: none;
}

.hvn .hvn-pill__still {
	width: var(--hvn-still, 36px);
	height: var(--hvn-still, 36px);
	max-width: none;
	border-radius: 50%;
	object-fit: cover;
}

.hvn .hvn-facade {
	position: relative;
	display: block;
	margin-top: auto;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--hvn-r-media);
	background: var(--hvn-ph);
}

.hvn .hvn-facade::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(34, 53, 88, 0.55), transparent 55%);
}

.hvn .hvn-facade__play {
	position: absolute;
	bottom: 14px;
	left: 14px;
	z-index: 1;
	gap: 10px;
	padding: 6px 18px 6px 6px;
	background: #fff;
}

.hvn .hvn-facade__play .hvn-icon {
	padding: 10px;
	border-radius: 50%;
	background: var(--hvn-navy);
	color: #fff;
}

/* Story card and closing tile */

.hvn .hvn__foot {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	gap: 16px;
	margin-top: 32px;
}

.hvn .hvn-story {
	gap: 16px;
	padding: var(--hvn-story-pad, 24px);
}

.hvn .hvn-story__quote {
	margin: 0;
	color: var(--hvn-navy);
	font-size: 17px;
	line-height: 26px;
}

.hvn .hvn-story__quote p,
.hvn .hvn-story__text {
	margin: 0;
}

.hvn .hvn-story__cite {
	margin: -6px 0 0;
	font-size: 14px;
	line-height: 20px;
}

.hvn .hvn-more {
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: flex-start;
	padding: var(--hvn-more-pad, 28px);
	border-radius: var(--hvn-r);
	background: var(--hvn-navy);
	color: #fff;
}

.hvn .hvn-more__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 16px;
}

.hvn .hvn-more .hvn__eyebrow {
	color: inherit;
	opacity: 0.7;
}

.hvn .hvn-more__title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
}

.hvn .hvn-more__facts {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 22px;
	opacity: 0.85;
}

.hvn .hvn-more__facts li {
	display: flex;
	gap: 10px;
	align-items: center;
}

.hvn .hvn-more__facts li::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.7;
}

/*
 * Video dialog: one 16:9 stage. On a low screen the dialog gets narrower and
 * the stage gives up height, so title and footnote stay in view. Zoomed in
 * far, it keeps 288px of width and 144px of video and scrolls instead.
 */

.hvn .hvn-dialog {
	width: min(960px, 100vw - 32px, max(288px, (100vh - 172px) * 16 / 9));
	max-width: none;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	padding: 0;
	border: 0;
	border-radius: var(--hvn-r);
	overflow: hidden auto;
	background: #fff;
	color: var(--hvn-text);
	box-shadow: 0 30px 80px rgba(34, 53, 88, 0.35);
}

/* Only while open: a closed dialog has to stay display: none. */

.hvn .hvn-dialog[open] {
	display: flex;
	flex-direction: column;
}

/* The fallback also covers browsers where ::backdrop does not inherit custom properties. */

.hvn .hvn-dialog::backdrop {
	background: var(--hvn-backdrop, rgba(34, 53, 88, 0.6));
}

.hvn .hvn-dialog__head {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding: 14px 14px 12px 24px;
}

.hvn .hvn-dialog__title {
	margin: 0;
	color: var(--hvn-navy);
	font-size: 16px;
	font-weight: 700;
	line-height: 22px;
}

.hvn .hvn-dialog__meta,
.hvn .hvn-dialog__foot {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
}

.hvn .hvn-dialog__stage {
	min-height: 144px;
	aspect-ratio: 16 / 9;
	background: #000;
}

/* The link brings its own 12px above and below, which makes it a 44px target. */

.hvn .hvn-dialog__foot {
	padding: 0 24px 6px;
}

.hvn .hvn-dialog__ext {
	display: inline-block;
	padding: 12px 0;
	color: var(--hvn-navy);
	font-family: inherit;
	font-weight: 700;
	text-decoration: underline;
}

html:has(.hvn-dialog[open]) {
	overflow: hidden;
	scrollbar-gutter: stable;
}

/* Set by the script for browsers without :has(). */

html.hvn-lock {
	overflow: hidden;
}

/*
 * Focus. Rings are outlines, which forced colours repaint; a ring drawn as a
 * shadow alone disappears there. The theme adds a white shadow to whatever
 * has focus, which would fill the gap between a control and its ring.
 */

.hvn :is(a, button, [tabindex]):focus-visible {
	outline: 2px solid var(--hvn-navy);
	outline-offset: 3px;
	box-shadow: none;
}

/*
 * The theme has rules of its own for whatever carries a tabindex, which here
 * is the handle: one as heavy as the rule above, and one that takes every
 * shadow off an element that got its focus from a click. The two rules for
 * the handle outweigh them, so its ring does not depend on which stylesheet
 * comes last and its shadow stays after a drag.
 */

.hvn .hvn-compare__strip .hvn-compare__handle:focus-visible {
	outline: 3px solid var(--hvn-navy);
	outline-offset: 3px;
	box-shadow: 0 0 0 3px #fff;
}

.hvn .hvn-compare__strip .hvn-compare__handle:focus:not(:focus-visible) {
	box-shadow: var(--hvn-shadow-handle);
}

.hvn .hvn-more .hvn-btn:focus-visible {
	outline-color: #fff;
}

/* The thumb carries the ring; the transparent outline only shows in forced colours. */

.hvn .hvn-master .hvn-master__range:focus-visible {
	--hvn-ring: 0 0 0 3px #fff, 0 0 0 5px var(--hvn-navy);
	outline: 2px solid transparent;
}

/* A control that gets focus while scrolled away stops below the sticky header of the site. */

.hvn :is(a, button, input, [tabindex]) {
	scroll-margin-top: 104px;
}

/* On the narrowest phones the label gets a row of its own above the slider. */

@media (max-width: 359px) {
	.hvn .hvn-master {
		flex-wrap: wrap;
	}

	.hvn .hvn-master__label {
		flex-basis: 100%;
	}
}

@media (min-width: 768px) {
	.hvn {
		--hvn-space: 80px;
		--hvn-head-gap: 28px;
		--hvn-tile-w: 300px;
		--hvn-v: 0.3;
	}

	.hvn .hvn__head {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.hvn .hvn__title {
		font-size: 28px;
		line-height: 36px;
	}

	.hvn .hvn__lead {
		margin-top: 16px;
	}

	.hvn .hvn__cta {
		display: inline-flex;
		grid-row: 1;
		grid-column: 2;
		max-width: 320px;
	}

	.hvn .hvn-master {
		grid-column: 1 / -1;
		width: min(420px, 100%);
	}

	.hvn .hvn-case__title {
		font-size: 17px;
		line-height: 24px;
	}
}

/* Footer from tablet up: story and tile side by side; a tile on its own lies flat. */

@media (min-width: 768px) {
	.hvn .hvn__foot {
		grid-auto-flow: column;
	}

	.hvn .hvn-more:only-child {
		flex-flow: row wrap;
		align-items: center;
	}

	.hvn .hvn-more:only-child .hvn-more__body {
		flex: 1 1 300px;
	}
}

/*
 * Desktop: the row shows four results at a time and stops at the edges of
 * the content. The 12px on either side leave room for the shadow of a card.
 * In the footer the story takes two thirds, with its video beside the text.
 */

@media (min-width: 1275px) {
	.hvn {
		--hvn-space: 96px;
		--hvn-head-gap: 40px;
	}

	.hvn .hvn__head {
		column-gap: 48px;
	}

	.hvn .hvn__title {
		font-size: 32px;
		line-height: 40px;
	}

	.hvn .hvn__aside {
		display: flex;
		flex-direction: column;
		gap: 24px;
		align-items: flex-end;
	}

	.hvn .hvn-master {
		width: 320px;
	}

	.hvn .hvn-list {
		--hvn-rail-gap: var(--hvn-grid-gap, 24px);
		--hvn-tile: calc((100% - 3 * var(--hvn-rail-gap)) / 4);
		margin-inline: calc(var(--hvn-gutter) - 12px);
		padding-inline: 12px;
		scroll-padding-inline: 12px;
	}

	.hvn .hvn__foot {
		gap: var(--hvn-grid-gap, 24px);
	}

	.hvn .hvn-story {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-column: span 2;
		column-gap: 32px;
		align-content: center;
	}

	.hvn .hvn-story > * {
		grid-column: 1;
	}

	.hvn .hvn-story .hvn-facade {
		grid-row: 1 / span 4;
		grid-column: 2;
		align-self: center;
	}

	.hvn .hvn-case__caption {
		flex: none;
		flex-direction: row;
		align-items: center;
	}

	.hvn .hvn-case__text {
		flex: 1 1 0;
	}

	.hvn .hvn-story__quote {
		font-size: 19px;
		line-height: 30px;
	}

	.hvn .hvn-more__title {
		font-size: 22px;
		line-height: 30px;
	}

}

@media (hover: hover) {
	.hvn .hvn-btn:hover,
	.hvn .hvn-nav .hvn-nav__btn--next:hover {
		background: var(--hvn-hover);
	}

	.hvn .hvn-btn--light:hover {
		background: var(--hvn-grey);
	}

	.hvn .hvn-pill:hover,
	.hvn .hvn-facade:hover .hvn-facade__play {
		background: var(--hvn-navy);
		color: #fff;
	}

	.hvn .hvn-nav .hvn-nav__btn--prev:hover,
	.hvn .hvn-dialog .hvn-dialog__close:hover {
		border-color: var(--hvn-navy);
	}

	.hvn .hvn-master__range:hover {
		--hvn-ring: 0 0 0 4px var(--hvn-line-2);
	}
}

/* Motion is opt-in; the divider itself never animates because it follows the pointer. */

@media (prefers-reduced-motion: no-preference) {
	.hvn .hvn-list {
		scroll-behavior: smooth;
	}

	.hvn .hvn-btn,
	.hvn .hvn-pill,
	.hvn .hvn-nav .hvn-nav__btn,
	.hvn .hvn-dialog .hvn-dialog__close {
		transition: background-color 0.2s, border-color 0.2s, color 0.2s;
	}

	.hvn .hvn-compare__hint {
		transition: opacity 0.3s, visibility 0.3s;
	}
}

@media (min-width: 1275px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
	.hvn .hvn-case {
		transition: transform 0.2s, box-shadow 0.2s;
	}

	.hvn .hvn-case:hover {
		box-shadow: var(--hvn-shadow-hover, 0 14px 36px rgba(34, 54, 89, 0.12));
		transform: translateY(var(--hvn-lift, -2px));
	}
}
