.vvhs-slider {
	/* Width unit every layer measurement below is expressed in. On the front
	 * end it is a real viewport percent; the admin composer overrides it with
	 * one percent of the *simulated* viewport, so a line of text wraps at the
	 * same word in both places and the preview stops lying. */
	--vvhs-vw: 1vw;
	position: relative;
	min-height: min(88vh, 920px);
	overflow: hidden;
	background: #111310;
	color: #fff;
	isolation: isolate;
}

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

.vvhs-slider__track,
.vvhs-slide,
.vvhs-slide__media,
.vvhs-slide__overlay {
	position: absolute;
	inset: 0;
}

.vvhs-slide {
	display: grid;
	min-height: min(88vh, 920px);
	align-items: end;
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
	transition: opacity 700ms ease, visibility 0s linear 700ms;
}

.vvhs-slide.is-active {
	z-index: 1;
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
	transition-delay: 0s;
}

.vvhs-slide__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--vvhs-focal-x, 50%) var(--vvhs-focal-y, 50%);
	/* Zoom outwards from the chosen focal point rather than the centre of the
	 * frame. object-position alone cannot pan a scaled image, so without this
	 * the focal control did nothing once the zoom slider was raised. */
	transform-origin: var(--vvhs-focal-x, 50%) var(--vvhs-focal-y, 50%);
	/* The slow drift starts fractionally wider than the chosen zoom. */
	transform: scale(calc(var(--vvhs-zoom, 1) * 1.025));
	transition: transform 8s linear;
}

.vvhs-slide.is-active .vvhs-slide__image {
	transform: scale(var(--vvhs-zoom, 1));
}

.vvhs-slide__overlay {
	background:
		radial-gradient(circle at var(--vvhs-overlay-x, 25%) var(--vvhs-overlay-y, 62%), rgba(10, 12, 9, 0.94) 0, rgba(10, 12, 9, 0.7) 27%, rgba(10, 12, 9, 0.26) 58%, transparent 86%),
		linear-gradient(0deg, rgba(10, 12, 9, 0.76), transparent 58%);
	opacity: var(--vvhs-overlay-opacity, 0.85);
}

.vvhs-shell {
	width: min(calc(100% - (2 * clamp(1rem, calc(var(--vvhs-vw, 1vw) * 4), 3.5rem))), 1480px);
	margin-inline: auto;
}

.vvhs-slide__content {
	position: relative;
	z-index: 2;
	width: min(100%, 1480px);
	padding-block: clamp(5.5rem, 11vw, 9rem) clamp(7rem, 13vw, 11rem);
}

@media (min-width: 701px) {
	.vvhs-slide--positioned {
		display: block;
	}

	.vvhs-slide--positioned .vvhs-slide__content {
		position: absolute;
		inset: 0;
		z-index: 2;
		width: 100%;
		max-width: none;
		padding: 0;
		margin: 0;
		pointer-events: none;
	}

	.vvhs-slide--positioned .vvhs-slide__title-group,
	.vvhs-slide--positioned .vvhs-slide__description,
	.vvhs-slide--positioned .vvhs-slide__buttons {
		position: absolute;
		left: var(--vvhs-layer-x);
		top: var(--vvhs-layer-y);
		margin: 0;
		transform: translate(var(--vvhs-layer-shift-x, 0%), -50%);
	}

	.vvhs-slide--positioned .vvhs-slide__title-group {
		--vvhs-layer-x: var(--vvhs-title-x, 12%);
		--vvhs-layer-y: var(--vvhs-title-y, 48%);
		width: min(calc(var(--vvhs-vw, 1vw) * 76), 1000px);
	}

	.vvhs-slide--positioned .vvhs-slide__description {
		--vvhs-layer-x: var(--vvhs-description-x, 12%);
		--vvhs-layer-y: var(--vvhs-description-y, 68%);
		width: min(calc(var(--vvhs-vw, 1vw) * 70), 720px);
	}

	.vvhs-slide--positioned .vvhs-slide__buttons {
		--vvhs-layer-x: var(--vvhs-buttons-x, 12%);
		--vvhs-layer-y: var(--vvhs-buttons-y, 82%);
		width: min(calc(var(--vvhs-vw, 1vw) * 76), 900px);
		pointer-events: auto;
	}

	.vvhs-slide--positioned.vvhs-slide--center {
		--vvhs-layer-shift-x: -50%;
	}

	.vvhs-slide--positioned.vvhs-slide--right {
		--vvhs-layer-shift-x: -100%;
	}

	.vvhs-slide--positioned.vvhs-slide--center .vvhs-slide__description,
	.vvhs-slide--positioned.vvhs-slide--center .vvhs-slide__buttons,
	.vvhs-slide--positioned.vvhs-slide--right .vvhs-slide__description,
	.vvhs-slide--positioned.vvhs-slide--right .vvhs-slide__buttons {
		margin: 0;
	}
}

.vvhs-slide--center .vvhs-slide__content {
	text-align: center;
}

.vvhs-slide--right .vvhs-slide__content {
	text-align: right;
}

.vvhs-slide--center .vvhs-slide__description,
.vvhs-slide--center .vvhs-slide__buttons {
	margin-inline: auto;
	justify-content: center;
}

.vvhs-slide--right .vvhs-slide__description,
.vvhs-slide--right .vvhs-slide__buttons {
	margin-left: auto;
	justify-content: flex-end;
}

.vvhs-slide__eyebrow {
	margin: 0 0 1.25rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(0.5rem, calc(var(--vvhs-vw, 1vw) * 2), var(--vvhs-eyebrow-font-size, 0.76rem));
	font-weight: 750;
	color: var(--vvhs-eyebrow-color, #fff);
	letter-spacing: 0.17em;
	line-height: 1.2;
	text-transform: uppercase;
}

.vvhs-slide__title {
	/* Measure, not a pixel width: it scales with the font, which is why
	 * shrinking the type never changed the number of lines. Greek needs a
	 * wider measure than English for the same headline. */
	max-width: var(--vvhs-title-measure, 10ch);
	margin: 0 0 0.32em;
	color: var(--vvhs-title-color, #fff);
	font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
	font-size: clamp(3rem, calc(var(--vvhs-vw, 1vw) * 8), var(--vvhs-title-font-size, 8rem));
	font-weight: 500;
	letter-spacing: -0.055em;
	line-height: 0.98;
	text-wrap: balance;
}

.vvhs-slide--center .vvhs-slide__title {
	margin-inline: auto;
}

.vvhs-slide--right .vvhs-slide__title {
	margin-left: auto;
}

.vvhs-slide__description {
	max-width: 720px;
	color: var(--vvhs-description-color, #fff);
	font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
	font-size: clamp(0.75rem, calc(var(--vvhs-vw, 1vw) * 4), var(--vvhs-description-font-size, 1.45rem));
	line-height: 1.55;
}

.vvhs-slide__description p {
	margin: 0 0 1.5rem;
}

.vvhs-slide__buttons {
	display: flex;
	max-width: 900px;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.vvhs-button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 0.78rem 1.25rem;
	border: 1px solid #fff;
	background: #fff;
	color: var(--vvhs-button1-text-color, #111310);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(0.5625rem, calc(var(--vvhs-vw, 1vw) * 1.6), var(--vvhs-buttons-font-size, 0.74rem));
	font-weight: 750;
	letter-spacing: 0.1em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.vvhs-button--ghost {
	background: transparent;
	color: var(--vvhs-button2-text-color, #fff);
}

.vvhs-button:hover,
.vvhs-button:focus-visible {
	border-color: #b96f43;
	background: #b96f43;
	color: #fff;
	text-decoration: none;
}

.vvhs-slider__controls {
	position: absolute;
	right: 0;
	bottom: clamp(1.25rem, 3vw, 2.5rem);
	left: 0;
	z-index: 5;
	display: none;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	pointer-events: none;
}

.vvhs-slider.is-ready .vvhs-slider__controls {
	display: flex;
}

.vvhs-slider__arrow,
.vvhs-slider__pause {
	border: 0;
	color: #fff;
	pointer-events: auto;
}

.vvhs-slider__arrow,
.vvhs-slider__pause {
	display: grid;
	width: 2.6rem;
	height: 2.6rem;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.44);
	border-radius: 50%;
	background: rgba(17, 19, 16, 0.42);
	font-size: 1rem;
	line-height: 1;
	transition: background-color 180ms ease, border-color 180ms ease;
}

.vvhs-slider__arrow:hover,
.vvhs-slider__arrow:focus-visible,
.vvhs-slider__pause:hover,
.vvhs-slider__pause:focus-visible {
	border-color: #b96f43;
	background: #b96f43;
}

.vvhs-slider__pause.is-paused span {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 0.15rem;
	border-top: 0.36rem solid transparent;
	border-bottom: 0.36rem solid transparent;
	border-left: 0.58rem solid currentColor;
	font-size: 0;
}

.vvhs-screen-reader {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 700px) {
	/*
	 * Every rule below reads the -m- properties directly. Re-declaring the
	 * shared names here instead does nothing: each slide carries its desktop
	 * values in a style attribute, and an inline custom property always beats
	 * a stylesheet one, so the phone kept rendering the desktop composition.
	 */
	.vvhs-slider,
	.vvhs-slide {
		min-height: 78vh;
	}

	.vvhs-slide__image {
		object-position: var(--vvhs-m-focal-x, 50%) var(--vvhs-m-focal-y, 50%);
		transform: scale(calc(var(--vvhs-m-zoom, 1) * 1.025));
	}

	.vvhs-slide.is-active .vvhs-slide__image {
		transform: scale(var(--vvhs-m-zoom, 1));
	}

	.vvhs-slide__overlay {
		background:
			radial-gradient(circle at var(--vvhs-m-overlay-x, 50%) var(--vvhs-m-overlay-y, 60%), rgba(10, 12, 9, 0.99) 0, rgba(10, 12, 9, 0.76) 30%, rgba(10, 12, 9, 0.24) 64%, transparent 92%),
			linear-gradient(0deg, rgba(10, 12, 9, 0.82), transparent 70%);
		opacity: var(--vvhs-m-overlay-opacity, 0.85);
	}

	.vvhs-slide__eyebrow {
		color: var(--vvhs-m-eyebrow-color, #fff);
	}

	.vvhs-slide__title {
		color: var(--vvhs-m-title-color, #fff);
	}

	.vvhs-slide__description {
		color: var(--vvhs-m-description-color, #fff);
	}

	.vvhs-button {
		color: var(--vvhs-m-button1-text-color, #111310);
	}

	.vvhs-button--ghost {
		color: var(--vvhs-m-button2-text-color, #fff);
	}

	/* Optional phone wording: show one version or the other. */
	.vvhs-not-mobile {
		display: none !important;
	}

	/*
	 * Phones lose the control cluster that sat over the artwork and get two
	 * quiet arrows pinned to the edges instead, clear of the text.
	 */
	.vvhs-slider__controls {
		right: 0;
		bottom: 0;
		top: 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0;
		padding: 0 0.35rem;
	}

	.vvhs-slider__pause {
		display: none;
	}

	/* Deliberately faint: the tap target stays finger-sized while the mark
	 * itself is small and low-contrast, so it never competes with the image. */
	.vvhs-slider__arrow {
		width: 2.75rem;
		height: 2.75rem;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: rgba(255, 255, 255, 0.55);
		font-size: 0.95rem;
		font-weight: 300;
		text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
		transition: color 200ms ease;
	}

	.vvhs-slider__arrow:hover,
	.vvhs-slider__arrow:focus-visible {
		border: 0;
		background: transparent;
		color: rgba(255, 255, 255, 0.9);
	}

	/* Phones use the same absolute layer placement as desktop, so the X/Y
	 * controls mean the same thing on both. */
	.vvhs-slide--positioned {
		display: block;
	}

	.vvhs-slide--positioned .vvhs-slide__content {
		position: absolute;
		inset: 0;
		z-index: 2;
		width: 100%;
		max-width: none;
		padding: 0;
		margin: 0;
		pointer-events: none;
	}

	.vvhs-slide--positioned .vvhs-slide__title-group,
	.vvhs-slide--positioned .vvhs-slide__description,
	.vvhs-slide--positioned .vvhs-slide__buttons {
		position: absolute;
		left: var(--vvhs-layer-x);
		top: var(--vvhs-layer-y);
		width: min(calc(var(--vvhs-vw, 1vw) * 88), 560px);
		margin: 0;
		transform: translate(var(--vvhs-m-shift-x, -50%), -50%);
		text-align: var(--vvhs-m-text-align, center);
	}

	/* Mobile carries its own alignment, independent of the desktop choice. */
	.vvhs-slide--m-left {
		--vvhs-m-shift-x: 0%;
		--vvhs-m-text-align: left;
	}

	.vvhs-slide--m-center {
		--vvhs-m-shift-x: -50%;
		--vvhs-m-text-align: center;
	}

	.vvhs-slide--m-right {
		--vvhs-m-shift-x: -100%;
		--vvhs-m-text-align: right;
	}

	.vvhs-slide--m-left .vvhs-slide__buttons {
		justify-content: flex-start;
	}

	.vvhs-slide--m-right .vvhs-slide__buttons {
		justify-content: flex-end;
	}

	.vvhs-slide--m-left .vvhs-slide__title,
	.vvhs-slide--m-left .vvhs-slide__description {
		margin-inline: 0;
	}

	.vvhs-slide--m-right .vvhs-slide__title,
	.vvhs-slide--m-right .vvhs-slide__description {
		margin-inline: 0 0;
	}

	.vvhs-slide--positioned .vvhs-slide__title-group {
		--vvhs-layer-x: var(--vvhs-m-title-x, 50%);
		--vvhs-layer-y: var(--vvhs-m-title-y, 44%);
	}

	.vvhs-slide--positioned .vvhs-slide__description {
		--vvhs-layer-x: var(--vvhs-m-description-x, 50%);
		--vvhs-layer-y: var(--vvhs-m-description-y, 61%);
	}

	.vvhs-slide--positioned .vvhs-slide__buttons {
		--vvhs-layer-x: var(--vvhs-m-buttons-x, 50%);
		--vvhs-layer-y: var(--vvhs-m-buttons-y, 76%);
		justify-content: center;
		pointer-events: auto;
	}

	.vvhs-slide__title {
		max-width: none;
		margin-inline: auto;
	}

	.vvhs-slide__description {
		margin-inline: auto;
	}

	.vvhs-slide__description p {
		margin: 0;
	}

	/*
	 * Sizes come straight from the slide's mobile settings. The previous
	 * clamp()s mixed in viewport-width terms whose lower bounds won on a
	 * phone — an eyebrow set to 15px rendered at 8px and buttons at 9px,
	 * so the admin values were effectively ignored.
	 */
	.vvhs-slide__eyebrow {
		margin-bottom: 0.9rem;
		font-size: var(--vvhs-m-eyebrow-font-size, 12px);
	}

	.vvhs-slide__title {
		font-size: var(--vvhs-m-title-font-size, 44px);
		line-height: 1.06;
		letter-spacing: -0.035em;
	}

	.vvhs-slide__description {
		font-size: var(--vvhs-m-description-font-size, 17px);
		line-height: 1.5;
	}

	.vvhs-button {
		font-size: var(--vvhs-m-buttons-font-size, 12px);
		padding: 0.75rem 1.15rem;
	}
}

@media (min-width: 701px) {
	.vvhs-only-mobile {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vvhs-slide,
	.vvhs-slide__image,
	.vvhs-button,
	.vvhs-slider__arrow,
	.vvhs-slider__pause {
		transition-duration: 0.01ms !important;
	}
}

/* Greek needs a wider measure than English for the same headline: at 10ch it
 * broke one word per line, and because `ch` scales with the font, choosing a
 * smaller size never reduced the number of lines. */
html[lang^="el"] .vvhs-slide__title {
	--vvhs-title-measure: 15ch;
}
