/*
 * Vantaan Viinijuhlat – child theme styles.
 *
 * Layout and sections follow espoonviinijuhlat.fi (split header around the
 * logo, photo hero with a wave edge, centred headings with a brush stroke,
 * framed icon cards, wave bands). Colours, fonts and logo follow the Vantaan
 * Viinijuhlat brand guide 2027: navy main colour, wine red for buy buttons,
 * champagne for bands and lines, cream for light sections. No gradients.
 */

/* ---------------------------------------------------------------- tokens */
:root {
	--ve-navy: #1D4A76;
	--ve-navy-deep: #173857;
	--ve-wine: #741826;
	--ve-wine-light: #8E1F2F;
	--ve-champagne: #E9C9A8;
	--ve-cream: #FBF5EA;
	--ve-white: #FFFFFF;
	--ve-ink: #173857;
	--ve-ink-soft: #3F5A75;
	--ve-line: #D9CDBB;
	--ve-ok: #1F6B46;
	--ve-err: #A3162A;
	--ve-focus: #173857;
	--ve-f-display: "DM Serif Display", Georgia, "Times New Roman", serif;
	--ve-f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ve-wrap: 1160px;
	--ve-r: 18px;

	/* Louhosteema tokens → same palette */
	--louhos-primary: #1D4A76;
	--louhos-primary-rgb: 29, 74, 118;
	--louhos-primary-dark: #173857;
	--louhos-accent: #741826;
	--louhos-link-color: var(--ve-ink);
	--louhos-headings: var(--ve-ink);
	--louhos-body-color: var(--ve-ink);
	--louhos-grey: var(--ve-cream);
	--louhos-border: #D9CDBB;
	--louhos-border-rgb: 217, 205, 187;
	--louhos-dark-1: #1D4A76;
	--louhos-dark-1-rgb: 29, 74, 118;
	--louhos-dark-2: #173857;
	--louhos-dark-2-rgb: 23, 56, 87;
	--louhos-header-height: 104px;
	--louhos-radius: 18px;
	--louhos-radius-lg: 18px;
	--louhos-font-family: var(--ve-f-body);
}

/* ------------------------------------------------------------------ base */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 120px;
}

body {
	margin: 0;
	background: var(--ve-white);
	color: var(--ve-ink);
	font: 400 17px/1.5 var(--ve-f-body);
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

:focus-visible {
	outline: 3px solid var(--ve-focus);
	outline-offset: 3px;
	border-radius: 6px;
}

.skip-link {
	background: var(--ve-champagne);
	color: var(--ve-navy-deep);
}

.ve-wrap {
	max-width: var(--ve-wrap);
	margin: 0 auto;
	padding-inline: clamp(18px, 4vw, 32px);
}

h1,
h2,
h3 {
	font-family: var(--ve-f-display);
	font-weight: 400;
	line-height: 1.1;
	text-wrap: balance;
	margin: 0;
	color: inherit;
}

h2 {
	font-size: clamp(2.2rem, 4.6vw, 3.4rem);
}

h3 {
	font-size: 1.6rem;
}

.site-main p {
	margin: 0;
}

.ve-center {
	margin-top: 36px !important;
	text-align: center;
}

.ve-note {
	margin-top: 40px !important;
	text-align: center;
}

/* Text blocks from the editor. */
.ve-text > * + *,
.ve-lead > * + * {
	margin-top: 0.8em !important;
}

.ve-text a {
	color: var(--ve-wine-light);
	font-weight: 700;
}

.ve-text--center,
.ve-lead {
	text-align: center;
	max-width: 880px;
	margin-inline: auto;
}

.ve-lead {
	margin-bottom: 36px;
}

/* ---------------------------------------------------------------- sections */
.ve-sec {
	position: relative;
	padding-block: clamp(48px, 7vw, 88px);
	background: var(--ve-white);
}

.ve-sec--cream {
	background: var(--ve-cream);
}

/* Centred heading with the brush stroke underneath. */
.ve-head {
	display: grid;
	justify-items: center;
	gap: 18px;
	text-align: center;
	margin-bottom: clamp(24px, 4vw, 40px);
}

.ve-swoosh {
	display: block;
	color: var(--ve-navy);
}

.ve-title {
	text-align: center;
	font-size: clamp(1.8rem, 3.4vw, 2.5rem);
	margin-bottom: clamp(28px, 4vw, 44px);
}

/* Wave edges (flat colour = the neighbouring section's background). */
.ve-wave {
	display: block;
	width: 100%;
	height: clamp(36px, 6.2vw, 90px);
	pointer-events: none;
}

.ve-wave--bottom,
.ve-wave--top {
	position: absolute;
	left: 0;
	z-index: 3;
}

.ve-wave--bottom {
	bottom: -1px;
}

.ve-wave--top {
	top: -1px;
	transform: scale(-1, -1);
}

.ve-wave--white {
	color: var(--ve-white);
}

.ve-wave--cream {
	color: var(--ve-cream);
}

/* --------------------------------------------------------------- buttons */
/* Pill buttons with an arrow. On hover a second flat colour sweeps in from the
   left and the arrow moves forward (brand guide: no gradients, shadows or glows).
   The sweep is a solid inset box-shadow, not a pseudo-element under the text:
   contrast checkers cannot measure text through a pseudo-element background. */
.ve-btn {
	--ve-btn-bg: var(--ve-navy);
	--ve-btn-sweep: var(--ve-navy-deep);
	--ve-btn-fg: var(--ve-white);
	--ve-btn-fg-hover: var(--ve-white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	font: 700 1rem/1.1 var(--ve-f-body);
	letter-spacing: 0.01em;
	padding: 0.95em 1.5em 0.95em 1.7em;
	border-radius: 999px;
	text-decoration: none;
	border: 2px solid var(--ve-btn-bg);
	background: var(--ve-btn-bg);
	color: var(--ve-btn-fg);
	cursor: pointer;
	box-shadow: inset 0 0 0 0 var(--ve-btn-sweep);
	transition: color 0.25s ease, border-color 0.25s ease, transform 0.12s ease, box-shadow 0.5s cubic-bezier(0.22, 0.8, 0.2, 1);
}

/* Arrow (same shape as partials/icon-arrow.twig), drawn in the text colour. */
.ve-btn::after {
	content: "";
	flex: none;
	width: 1.05em;
	height: 1.05em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.ve-btn:hover,
.ve-btn:focus-visible {
	color: var(--ve-btn-fg-hover);
	border-color: var(--ve-btn-sweep);
	box-shadow: inset 22em 0 0 0 var(--ve-btn-sweep); /* wider than any button */
}

.ve-btn:hover::after,
.ve-btn:focus-visible::after {
	transform: translateX(4px);
}

.ve-btn:active {
	transform: scale(0.97);
}

.ve-btn--wine {
	--ve-btn-bg: var(--ve-wine-light);
	--ve-btn-sweep: var(--ve-wine);
}

/* On navy (header, hero) the darker wine is the resting colour. */
.ve-top .ve-btn--wine,
.ve-hero .ve-btn--wine {
	--ve-btn-bg: var(--ve-wine);
	--ve-btn-sweep: var(--ve-wine-light);
}

.ve-btn--navy {
	--ve-btn-bg: var(--ve-navy);
	--ve-btn-sweep: var(--ve-navy-deep);
}

.ve-btn--outline {
	--ve-btn-sweep: var(--ve-cream);
	--ve-btn-fg: var(--ve-cream);
	--ve-btn-fg-hover: var(--ve-navy-deep);
	background: transparent;
	border-color: var(--ve-cream);
}

.ve-btn--sm {
	padding: 0.7em 1.15em 0.7em 1.3em;
	font-size: 0.92rem;
}

/* ---------------------------------------------------------------- header */
/* Sticky header: translucent navy over a blurred page, a champagne hairline
   below. Once the page is scrolled it gets lower (class from child.js). */
.ve-top {
	--ve-focus: var(--ve-champagne);
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--ve-navy);
	color: var(--ve-cream);
	border-bottom: 1px solid rgba(233, 201, 168, 0.4);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.ve-top {
		background: rgba(29, 74, 118, 0.92); /* 0.92: champagne link text stays above 4.5:1 over white content */
		-webkit-backdrop-filter: blur(16px) saturate(1.4);
		backdrop-filter: blur(16px) saturate(1.4);
	}
}

.admin-bar .ve-top {
	top: 32px;
}

.ve-top__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 28px;
	min-height: 104px;
	padding-inline: clamp(18px, 2.4vw, 36px);
	transition: min-height 0.3s ease;
}

.ve-brand {
	display: inline-flex;
}

.ve-logo {
	display: block;
	width: 176px;
	height: auto;
	transition: width 0.3s ease;
}

.ve-top.is-scrolled .ve-top__inner {
	min-height: 90px;
}

.ve-top.is-scrolled .ve-logo {
	width: 160px; /* brand guide: minimum logo width */
}

.ve-nav {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2vw, 30px);
}

.ve-nav--right {
	justify-content: flex-end;
}

.ve-nav a:not(.ve-btn) {
	position: relative;
	font: 400 1.14rem/1.2 var(--ve-f-display);
	letter-spacing: 0.01em;
	text-decoration: none;
	color: var(--ve-cream);
	padding-block: 10px;
	white-space: nowrap;
	transition: color 0.2s ease;
}

/* Underline that draws in from the left. */
.ve-nav > a:not(.ve-btn)::after,
.ve-nav__group > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 2px;
	background: var(--ve-champagne);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.ve-nav > a:not(.ve-btn):hover::after,
.ve-nav > a[aria-current]::after,
.ve-nav__group:hover > a::after,
.ve-nav__group:focus-within > a::after,
.ve-nav__group > a[aria-current]::after {
	transform: none;
}

.ve-nav a:not(.ve-btn):hover,
.ve-nav a[aria-current] {
	color: var(--ve-champagne);
}

.ve-nav__group {
	position: relative;
}

.ve-nav__group > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ve-nav__group > a svg {
	transition: transform 0.25s ease;
}

.ve-nav__group:hover > a svg,
.ve-nav__group:focus-within > a svg {
	transform: rotate(180deg);
}

/* Sub menu: deep navy card under the item (solid: a blur inside the blurred
   header could not see the page behind it). The transparent top padding
   keeps it open while the pointer travels from the item to the card. */
.ve-nav__sub {
	position: absolute;
	left: 50%;
	top: 100%;
	min-width: 240px;
	padding-top: 14px;
	visibility: hidden;
	opacity: 0;
	transform: translate(-50%, 8px);
	transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 0.8, 0.2, 1), visibility 0.2s;
}

.ve-nav__group:hover .ve-nav__sub,
.ve-nav__group:focus-within .ve-nav__sub {
	visibility: visible;
	opacity: 1;
	transform: translate(-50%, 0);
}

.ve-nav__sub-list {
	position: relative;
	display: grid;
	gap: 2px;
	padding: 10px;
	background: var(--ve-navy-deep);
	border: 1px solid rgba(233, 201, 168, 0.45);
	border-top: 3px solid var(--ve-champagne);
	border-radius: 4px 4px 18px 18px;
}

.ve-nav .ve-nav__sub a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 11px 14px;
	border-radius: 10px;
	transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.25s ease;
}

/* Arrow that slides in on hover. */
.ve-nav .ve-nav__sub a::after {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: var(--ve-champagne);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.ve-nav .ve-nav__sub a:hover,
.ve-nav .ve-nav__sub a:focus-visible {
	background: rgba(233, 201, 168, 0.14);
	padding-left: 18px;
}

.ve-nav .ve-nav__sub a:hover::after,
.ve-nav .ve-nav__sub a:focus-visible::after {
	opacity: 1;
	transform: none;
}

/* Current page: champagne marker on the left. */
.ve-nav .ve-nav__sub a[aria-current="page"] {
	background: rgba(233, 201, 168, 0.14);
	box-shadow: inset 3px 0 0 var(--ve-champagne);
}

.ve-menu {
	display: none;
	position: relative;
	justify-self: end;
}

.ve-menu summary {
	list-style: none;
	cursor: pointer;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	border: 2px solid var(--ve-champagne);
	color: var(--ve-cream);
}

.ve-menu summary::-webkit-details-marker {
	display: none;
}

.ve-menu__panel {
	position: absolute;
	right: 0;
	top: 60px;
	min-width: 260px;
	display: grid;
	gap: 2px;
	padding: 10px;
	background: var(--ve-navy-deep);
	border: 1px solid rgba(233, 201, 168, 0.45);
	border-top: 3px solid var(--ve-champagne);
	border-radius: 4px 4px 18px 18px;
}

.ve-menu__panel a:not(.ve-btn) {
	padding: 12px 14px;
	border-radius: 8px;
	font: 400 1.15rem/1.2 var(--ve-f-display);
	text-decoration: none;
	color: var(--ve-cream);
}

.ve-menu__panel a.ve-menu__child {
	padding-left: 30px;
	font: 400 1rem/1.2 var(--ve-f-body);
}

.ve-menu__panel a:not(.ve-btn):hover,
.ve-menu__panel a[aria-current="page"] {
	background: rgba(233, 201, 168, 0.14);
	color: var(--ve-champagne);
}

.ve-menu__panel a[aria-current="page"] {
	box-shadow: inset 3px 0 0 var(--ve-champagne);
}

.ve-menu__panel .ve-btn {
	margin-top: 8px;
}

@media (max-width: 1080px) {
	.ve-top__inner {
		grid-template-columns: auto 1fr;
		min-height: 88px;
	}

	.ve-nav {
		display: none;
	}

	.ve-menu {
		display: block;
	}

	.ve-logo {
		width: 160px;
	}
}

@media (max-width: 782px) {
	.admin-bar .ve-top {
		top: 46px;
	}
}

/* ------------------------------------------------------------------ hero */
.ve-hero {
	--ve-focus: var(--ve-champagne);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	min-height: clamp(300px, 34vw, 480px);
	background: var(--ve-navy);
	color: var(--ve-cream);
}

.ve-hero--front {
	min-height: clamp(460px, 52vw, 760px);
}

.ve-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Brand guide: photos always under a flat navy overlay (no gradients). */
.ve-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(29, 74, 118, 0.7);
}

.ve-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	/* Top: room under the header for long titles. Sides: on screens wider than
	   1440px the text keeps its place in a centred 1440px frame instead of
	   sticking to the edge of the screen. */
	padding: clamp(36px, 5vw, 72px) max(clamp(20px, 5.5vw, 84px), calc((100% - 1440px) / 2 + 84px)) clamp(64px, 10vw, 150px);
}

.ve-hero h1 {
	font-size: clamp(2.4rem, 5vw, 4.2rem);
	max-width: 16ch;
}

.ve-hero--front h1 {
	font-size: clamp(3rem, 8.6vw, 8rem);
	line-height: 0.98;
	max-width: 9ch;
}

.ve-hero__eyebrow {
	font: 400 1.5rem/1.2 var(--ve-f-display);
	margin-bottom: 6px !important;
}

.ve-hero__meta {
	margin-top: 14px !important;
	font-weight: 700;
	font-size: clamp(1.05rem, 1.9vw, 1.5rem);
}

.ve-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

/* Vertical side band with social links (front page). */
.ve-side {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	bottom: clamp(20px, 3vw, 44px);
	width: 84px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 30px 0 30px 4px;
	background: var(--ve-champagne);
	color: var(--ve-navy-deep);
	border-radius: 30px 0 0 30px / 50% 0 0 50%; /* shallow arc on the left edge */
	--ve-focus: var(--ve-navy-deep);
}

.ve-side a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--ve-navy-deep);
	color: var(--ve-cream);
}

/* Centred in the free height of the band (below the social icons, if any). */
.ve-side__text {
	margin-top: auto !important;
	margin-bottom: auto !important;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font: 400 1.7rem/1 var(--ve-f-display);
	letter-spacing: 0.03em;
	white-space: nowrap;
}

@media (max-width: 760px) {
	.ve-side {
		display: none;
	}
}

/* ----------------------------------------------------------------- intro */
.ve-intro {
	padding-bottom: clamp(90px, 13vw, 170px);
}

.ve-intro__grid {
	display: grid;
	grid-template-columns: 1fr 0.86fr 1fr;
	gap: clamp(20px, 3.4vw, 44px);
	align-items: center;
}

.ve-intro__images {
	display: grid;
	gap: 10px;
}

.ve-intro__images img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--ve-r);
}

.ve-intro__text {
	display: grid;
	gap: 14px;
	justify-items: center;
	text-align: center;
	font-size: 1.05rem;
}

.ve-intro__logo {
	display: block;
	width: 170px;
	margin-top: 14px;
}

@media (max-width: 860px) {
	.ve-intro__grid {
		grid-template-columns: 1fr 1fr;
	}

	.ve-intro__text {
		grid-column: 1 / -1;
		grid-row: 1;
	}
}

/* ----------------------------------------------------------------- video */
/* Poster in a rounded frame that sits across a full-width champagne band, with
   a flat navy overlay, a caption and a large play button with a slow ring. */
.ve-video::before {
	content: "";
	position: absolute;
	inset: 30% 0;
	background: var(--ve-champagne);
}

.ve-video__stage {
	position: relative;
	max-width: 1040px;
	margin-inline: auto;
}

.ve-video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--ve-navy-deep);
	border-radius: 6px 6px 28px 28px;
	overflow: hidden;
}

.ve-video__frame > img,
.ve-video__frame > video,
.ve-video__frame > iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}

.ve-video__frame > img {
	transition: transform 0.9s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.ve-video__frame:hover > img {
	transform: scale(1.04);
}

.ve-video__play {
	--ve-focus: var(--ve-champagne);
	position: absolute;
	inset: 0;
	width: 100%;
	display: grid;
	place-items: center;
	padding: 0;
	background: rgba(23, 56, 87, 0.5);
	border: 0;
	color: var(--ve-cream);
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.ve-video__play:hover {
	background: rgba(23, 56, 87, 0.3);
}

.ve-video__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: clamp(72px, 9vw, 112px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--ve-champagne);
	color: var(--ve-navy-deep);
	transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.2, 1), background-color 0.3s ease;
}

.ve-video__icon svg {
	width: 38%;
	height: auto;
	margin-left: 6%;
}

/* Ring that slowly widens around the button. */
.ve-video__icon::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid var(--ve-champagne);
	border-radius: 50%;
	animation: ve-ring 2.6s ease-out infinite;
}

.ve-video__play:hover .ve-video__icon {
	transform: scale(1.08);
	background: var(--ve-cream);
}

.ve-video__caption {
	position: absolute;
	left: clamp(18px, 3.4vw, 44px);
	bottom: clamp(16px, 3vw, 38px);
	display: grid;
	gap: 6px;
	padding: 12px 20px 14px;
	text-align: left;
	/* Solid plate: the text stays readable whatever the poster image is. */
	background: var(--ve-navy-deep);
	border-top: 3px solid var(--ve-champagne);
	border-radius: 2px 2px 14px 14px;
}

.ve-video__eyebrow {
	font: 700 0.78rem/1.2 var(--ve-f-body);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ve-champagne);
}

.ve-video__title {
	font: 400 clamp(1.3rem, 3vw, 2.3rem)/1.1 var(--ve-f-display);
}

/* Small screens: a compact caption below a smaller button, so they never overlap. */
@media (max-width: 560px) {
	.ve-video__icon {
		width: 56px;
		margin-bottom: 34px;
	}

	.ve-video__caption {
		left: 10px;
		bottom: 10px;
		padding: 7px 12px 8px;
		border-top-width: 2px;
	}

	.ve-video__eyebrow {
		display: none;
	}

	.ve-video__title {
		font-size: 1rem;
	}
}

@keyframes ve-ring {
	from {
		transform: scale(1);
		opacity: 0.9;
	}

	to {
		transform: scale(1.7);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ve-video__icon::after {
		animation: none;
		opacity: 0;
	}

	.ve-video__frame > img,
	.ve-video__icon {
		transition: none;
	}

	.ve-video__frame:hover > img {
		transform: none;
	}
}

/* --------------------------------------------------------------- artists */
.ve-artist-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(14px, 2.4vw, 30px);
}

.ve-artist {
	position: relative;
	display: grid;
	align-items: end;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--ve-navy);
	color: var(--ve-cream);
}

.ve-artist img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ve-artist__body {
	position: relative;
	z-index: 1;
	padding: clamp(18px, 3vw, 40px);
	text-align: center;
}

.ve-artist--photo .ve-artist__body {
	background: rgba(23, 56, 87, 0.72);
}

.ve-artist h3 {
	font: 700 clamp(1.4rem, 3.6vw, 3rem)/1.05 var(--ve-f-body);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	overflow-wrap: break-word;
}

/* Name card without a photo: champagne frame as in the logo. */
.ve-artist:not(.ve-artist--photo) {
	align-items: center;
}

.ve-artist:not(.ve-artist--photo)::after {
	content: "";
	position: absolute;
	inset: clamp(10px, 1.6vw, 20px);
	border: 2px solid var(--ve-champagne);
	pointer-events: none;
}

.ve-artist__day {
	margin-top: 8px !important;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ve-champagne);
}

.ve-artist__credit {
	position: absolute;
	z-index: 2;
	right: 8px;
	top: 8px;
	padding: 2px 9px;
	font-size: 0.72rem;
	background: rgba(23, 56, 87, 0.85);
	border-radius: 999px;
}

/* Odd number of artists: the last one sits centred on its own row. */
.ve-artist:last-child:nth-child(odd) {
	grid-column: 1 / -1;
	justify-self: center;
	width: calc(50% - clamp(14px, 2.4vw, 30px) / 2);
}

@media (max-width: 560px) {
	.ve-artist-grid {
		grid-template-columns: 1fr;
	}

	.ve-artist:last-child:nth-child(odd) {
		width: 100%;
	}
}

/* Carousel: one band of square cards that loops from right to left. The list
   is rendered four times, so moving it by a quarter lands on an identical frame. */
.ve-marquee {
	--ve-marquee-size: clamp(220px, 27vw, 380px);
	--ve-marquee-gap: clamp(14px, 2.4vw, 30px);
	margin-top: clamp(20px, 3vw, 36px);
}

.ve-marquee__viewport {
	overflow: hidden;
}

.ve-marquee__track {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	width: max-content;
	animation: ve-marquee calc(var(--ve-marquee-n, 5) * 7s) linear infinite;
}

.ve-marquee .ve-artist {
	flex: none;
	width: var(--ve-marquee-size);
	margin-right: var(--ve-marquee-gap);
}

.ve-marquee .ve-artist h3 {
	font-size: clamp(1.15rem, 2.3vw, 2rem);
}

.ve-marquee:hover .ve-marquee__track,
.ve-marquee__viewport:focus-visible .ve-marquee__track {
	animation-play-state: paused;
}

/* With JS the movement is scripted so the band can also be dragged (child.js). */
.ve-marquee.is-drag .ve-marquee__track {
	animation: none;
	will-change: transform;
}

.ve-marquee.is-drag .ve-marquee__viewport {
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.ve-marquee.is-dragging .ve-marquee__viewport {
	cursor: grabbing;
}

.ve-marquee.is-drag img {
	-webkit-user-drag: none;
	pointer-events: none;
}

@keyframes ve-marquee {
	to {
		transform: translateX(-25%);
	}
}

/* Reduced motion: no movement, the cards are a row the visitor scrolls. */
@media (prefers-reduced-motion: reduce) {
	.ve-marquee__viewport {
		overflow-x: auto;
		padding-inline: clamp(18px, 4vw, 32px);
	}

	.ve-marquee__track {
		animation: none;
	}

	.ve-marquee .ve-artist[aria-hidden="true"] {
		display: none;
	}
}

/* ------------------------------------------------------------------ news */
.ve-news-feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--ve-cream);
}

.ve-news-feature--text {
	grid-template-columns: 1fr;
}

.ve-news-feature > img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
}

.ve-news-feature__body {
	display: grid;
	align-content: center;
	justify-items: start;
	gap: 14px;
	padding: clamp(24px, 5vw, 64px);
}

.ve-news-feature h3 {
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.ve-news-feature h3 a,
.ve-news-card__title a {
	text-decoration: none;
}

.ve-news-feature h3 a:hover,
.ve-news-card__title a:hover {
	text-decoration: underline;
}

.ve-news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 3vw, 40px);
	margin-top: clamp(24px, 3.4vw, 40px);
}

.ve-sec > .ve-wrap > .ve-news-grid:first-child {
	margin-top: 0;
}

.ve-news-card {
	display: grid;
	align-content: start;
	gap: 16px;
}

.ve-news-card img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.ve-news-card__body {
	display: grid;
	gap: 10px;
}

.ve-news-card__title {
	font-size: 1.55rem;
}

.ve-news-card__date {
	font-weight: 700;
	color: var(--ve-navy);
}

@media (max-width: 820px) {
	.ve-news-feature,
	.ve-news-grid {
		grid-template-columns: 1fr;
	}
}

.ve-pagination ul {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 36px 0 0;
	padding: 0;
}

.ve-pagination a,
.ve-pagination span {
	display: grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding-inline: 12px;
	border: 1.5px solid var(--ve-ink);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

.ve-pagination .current {
	background: var(--ve-ink);
	color: var(--ve-cream);
}

.ve-article {
	padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 88px);
	font-size: 1.08rem;
}

.ve-article__back {
	margin-top: 36px !important;
}

/* Long-form article text: paragraph rhythm and calmer sub headings. */
.ve-article > p,
.ve-article > ul,
.ve-article > ol {
	margin-block: 0 1.1em;
	line-height: 1.65;
}

.ve-article > h2 {
	margin-block: 1.6em 0.5em;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	line-height: 1.2;
}

.ve-article > h3 {
	margin-block: 1.4em 0.35em;
	font-size: clamp(1.2rem, 2vw, 1.4rem);
	line-height: 1.25;
}

/* Article title in the hero: long headlines need a smaller size than page titles. */
.single-post .ve-hero h1 {
	max-width: 22ch;
	font-size: clamp(1.9rem, 4.2vw, 3.2rem);
	line-height: 1.1;
}

/* -------------------------------------------------- newsletter band (waves) */
.ve-band {
	position: relative;
	background: var(--ve-champagne);
	color: var(--ve-navy-deep);
	padding-block: clamp(90px, 13vw, 180px);
}

.ve-band__inner {
	display: grid;
	justify-items: center;
	gap: 24px;
	text-align: center;
}

.ve-band__title {
	font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

/* ------------------------------------------------------------------ info */
/* Two navy cards with a champagne frame (as the artist name cards), then a
   row of three facts: small-caps question, large serif answer. */
.ve-features,
.ve-facts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
}

.ve-features {
	grid-template-columns: 1fr 1fr;
	gap: clamp(16px, 2.4vw, 30px);
}

.ve-feature {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: clamp(16px, 2.2vw, 28px);
	align-items: start;
	padding: clamp(28px, 4vw, 52px);
	background: var(--ve-navy);
	color: var(--ve-cream);
	border-radius: 6px 6px 28px 28px;
}

.ve-feature::after {
	content: "";
	position: absolute;
	inset: clamp(8px, 1.1vw, 14px);
	border: 1px solid rgba(233, 201, 168, 0.55);
	border-radius: 2px 2px 20px 20px;
	pointer-events: none;
}

.ve-icon {
	flex: none;
	color: var(--ve-navy);
}

/* Icon on a champagne disc. */
.ve-feature .ve-icon,
.ve-facts .ve-icon {
	box-sizing: content-box;
	padding: 16px;
	border-radius: 50%;
}

.ve-feature .ve-icon {
	width: 40px;
	height: 40px;
	background: var(--ve-champagne);
	color: var(--ve-navy-deep);
}

.ve-feature h3 {
	font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--ve-f-display);
	color: var(--ve-cream);
}

.ve-feature p {
	margin-top: 12px !important;
	color: var(--ve-cream);
}

.ve-facts {
	grid-template-columns: repeat(3, 1fr);
	margin-top: clamp(36px, 5vw, 64px);
	text-align: center;
}

.ve-facts li {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 10px;
	padding: 6px clamp(14px, 2.4vw, 32px);
}

.ve-facts li + li {
	border-left: 1px solid var(--ve-line);
}

.ve-facts .ve-icon {
	width: 34px;
	height: 34px;
	margin-bottom: 8px;
	background: var(--ve-cream);
	border: 1px solid var(--ve-champagne);
	color: var(--ve-navy);
}

.ve-facts h3 {
	font: 700 0.8rem/1.3 var(--ve-f-body);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ve-ink-soft);
}

.ve-facts p {
	margin: 0;
	font: 400 clamp(1.25rem, 2.1vw, 1.7rem)/1.2 var(--ve-f-display);
	color: var(--ve-ink);
}

@media (max-width: 760px) {
	.ve-features,
	.ve-facts {
		grid-template-columns: 1fr;
	}

	.ve-facts {
		gap: 26px;
	}

	.ve-facts li + li {
		padding-top: 26px;
		border-left: 0;
		border-top: 1px solid var(--ve-line);
	}
}

/* -------------------------------------------------------------- partners */
.ve-logos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: clamp(28px, 5vw, 64px);
}

.ve-logos img {
	display: block;
	width: auto;
	max-width: 220px;
	max-height: 96px;
}

/* ------------------------------------------- framed icon cards (tickets etc.) */
.ve-cards {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: clamp(22px, 4vw, 50px);
	max-width: 1080px;
}

.ve-card {
	position: relative;
	flex: 0 1 300px;
	display: grid;
	justify-items: center;
	gap: 16px;
	margin-top: 58px;
	padding: 78px 26px 40px;
	text-align: center;
	background: var(--ve-white);
	border: 1.5px solid var(--ve-ink);
}

.ve-cards--two {
	max-width: 760px;
}

.ve-cards--two .ve-card {
	flex-basis: 310px;
}

.ve-card__icon {
	position: absolute;
	top: -58px;
	left: 50%;
	transform: translateX(-50%);
	display: grid;
	place-items: center;
	width: 116px;
	height: 116px;
	border-radius: 50%;
	background: var(--ve-white);
	border: 1.5px solid var(--ve-ink);
	color: var(--ve-navy);
}

.ve-card h3 {
	font: 700 1.5rem/1.15 var(--ve-f-body);
	max-width: 11ch;
}

.ve-card__price {
	font-weight: 700;
	font-size: 1.35rem;
	color: var(--ve-navy);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ve-card__sub {
	margin-top: 12px !important;
	font-weight: 700;
}

.ve-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.ve-card__text > * + * {
	margin-top: 0.8em !important;
}

.ve-card__contact a {
	color: var(--ve-wine-light);
	font-weight: 700;
}

/* --------------------------------------------------------- text sections */
.ve-section--center + .ve-section--center,
.ve-section--center + .ve-section--side {
	padding-top: 0;
}

.ve-image-row {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.ve-image-row img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.ve-section__side {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}

.ve-section__side .ve-swoosh {
	margin-block: 16px 22px;
}

.ve-section__side > img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.ve-box {
	background: var(--ve-champagne);
	color: var(--ve-navy-deep);
	border-radius: 60px;
	padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 64px);
}

.ve-box .ve-head {
	margin-bottom: 24px;
}

@media (max-width: 760px) {
	.ve-image-row,
	.ve-section__side {
		grid-template-columns: 1fr;
	}
}

/* ------------------------------------------------------------- info tabs */
.ve-tabs {
	display: grid;
	grid-template-columns: 1fr;
}

.ve-tabs__title {
	grid-column: 1;
	border-bottom: 1px solid var(--ve-ink-soft);
}

.ve-tabs__title button {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	background: none;
	border: 0;
	color: inherit;
	font: 400 1.18rem/1.2 var(--ve-f-display);
	text-align: left;
	cursor: pointer;
}

.ve-tabs__title button::after {
	content: "+";
	font: 700 1.5rem/1 var(--ve-f-body);
}

.ve-tabs__title button[aria-expanded="true"] {
	color: var(--ve-ink-soft);
}

.ve-tabs__panel {
	padding-block: 16px 24px;
}

.ve-tabs__heading {
	display: none;
}

.ve-tabs.is-ready .ve-tabs__panel[data-collapsed] {
	display: none;
}

@media (max-width: 820px) {
	.ve-tabs__title,
	.ve-tabs__panel {
		grid-row: auto !important;
	}

	.ve-tabs.is-ready .ve-tabs__title button[aria-expanded="true"]::after {
		content: "–";
	}
}

@media (min-width: 821px) {
	.ve-tabs.is-ready {
		grid-template-columns: minmax(220px, 280px) 1fr;
		column-gap: clamp(28px, 4vw, 56px);
		max-width: 1000px;
		margin-inline: auto;
	}

	.ve-tabs.is-ready .ve-tabs__panel {
		grid-column: 2;
		grid-row: 1 / span var(--ve-tabs-rows);
		padding-top: 0;
	}

	.ve-tabs.is-ready .ve-tabs__heading {
		display: block;
		font: 700 1.5rem/1.2 var(--ve-f-body);
		margin-bottom: 16px !important;
	}
}

/* ----------------------------------------------------------------- forms */
.ve-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ve-quick {
	display: grid;
	gap: 12px;
	justify-items: center;
	width: min(640px, 100%);
}

.ve-quick__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	width: 100%;
}

.ve-quick__row input,
.ve-quick__row select {
	flex: 1 1 220px;
}

.ve-contact {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.ve-contact > * {
	min-width: 0;
}

.ve-contact__info {
	display: grid;
	gap: 20px;
	text-align: center;
	padding-top: clamp(0px, 3vw, 40px);
}

.ve-card-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.ve-card-form h2 {
	grid-column: 1 / -1;
	font-size: clamp(2rem, 3.8vw, 2.9rem);
}

.ve-f {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.ve-f--full {
	grid-column: 1 / -1;
}

.ve-card-form label {
	font-weight: 700;
	font-size: 0.94rem;
}

.ve-card-form label small {
	font-weight: 400;
	font-style: italic;
	color: var(--ve-ink-soft);
}

.ve-quick input:not([type="checkbox"]),
.ve-quick select,
.ve-card-form input:not([type="checkbox"]),
.ve-card-form select,
.ve-card-form textarea {
	width: 100%;
	font: inherit;
	color: var(--ve-ink);
	background: var(--ve-white);
	border: 1.5px solid #7D8EA3;
	border-radius: 6px;
	padding: 0.75em 0.9em;
}

.ve-quick input:not([type="checkbox"]),
.ve-quick select {
	border-radius: 999px;
	padding-inline: 1.2em;
}

.ve-card-form textarea {
	min-height: 140px;
	resize: vertical;
}

.ve-quick [aria-invalid="true"],
.ve-card-form [aria-invalid="true"] {
	border-color: var(--ve-err);
}

.ve-consent {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
	align-items: start;
	text-align: left;
	font-weight: 400 !important;
	font-size: 0.9rem !important;
}

.ve-consent input {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: var(--ve-navy);
}

.ve-status {
	grid-column: 1 / -1;
	padding: 12px 14px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 0.94rem;
}

.ve-status[hidden] {
	display: none;
}

.ve-status.is-ok {
	background: #E3F1E8;
	color: var(--ve-ok);
}

.ve-status.is-err {
	background: #F9E3E5;
	color: var(--ve-err);
}

.ve-form-foot {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	justify-content: space-between;
}

.ve-form-foot__note {
	font-size: 0.88rem;
	color: var(--ve-ink-soft);
}

.ve-mail {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
	font: 400 clamp(1.3rem, 2.4vw, 1.7rem)/1.2 var(--ve-f-display);
}

.ve-mail a {
	text-decoration: none;
	border-bottom: 2px solid var(--ve-champagne);
	overflow-wrap: anywhere;
}

.ve-copy {
	font: 700 0.78rem var(--ve-f-body);
	background: transparent;
	border: 1.5px solid var(--ve-ink);
	color: var(--ve-ink);
	border-radius: 999px;
	padding: 0.45em 1em;
	cursor: pointer;
}

.ve-copy[hidden] {
	display: none;
}

.ve-routes {
	margin: 0;
	display: grid;
	gap: 4px;
}

.ve-routes dt {
	font-weight: 700;
	margin-top: 10px;
}

.ve-routes dd {
	margin: 0;
	overflow-wrap: anywhere;
}

@media (max-width: 900px) {
	.ve-contact {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.ve-card-form {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------- footer */
.ve-footer {
	position: relative;
	margin-top: clamp(60px, 9vw, 130px);
	background: var(--ve-champagne);
	color: var(--ve-navy-deep);
	padding-top: clamp(20px, 3vw, 40px);
}

.ve-wave--footer,
.ve-wave--footer-stripe {
	position: absolute;
	left: 0;
	bottom: calc(100% - 1px);
}

.ve-wave--footer {
	color: var(--ve-champagne);
}

/* Navy stripe above the footer wave: the same wave lifted by the height of its
   bottom border, so it is filled all the way down and no gap can open between
   the two waves. A small horizontal shift varies the thickness of the stripe. */
.ve-wave--footer-stripe {
	box-sizing: content-box;
	color: var(--ve-navy);
	border-bottom: clamp(9px, 1.3vw, 18px) solid currentColor;
	transform: translateX(-2.5%) scaleX(1.05); /* right edge stays exactly at the screen edge */
}

/* Closing line: date + place, a large serif line and the ticket button. */
.ve-foot__lead {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
	padding-bottom: clamp(28px, 4vw, 44px);
	margin-bottom: clamp(28px, 4vw, 44px);
	border-bottom: 1px solid rgba(23, 56, 87, 0.28);
}

.ve-foot__lead p {
	margin: 0;
}

.ve-foot__eyebrow,
.ve-foot__heading,
.ve-foot__label {
	font: 700 0.8rem/1.3 var(--ve-f-body);
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.ve-foot__title {
	margin-top: 10px !important;
	font: 400 clamp(2.3rem, 6vw, 4.6rem)/1 var(--ve-f-display);
	letter-spacing: -0.01em;
}

.ve-foot {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px clamp(28px, 5vw, 72px);
}

.ve-foot > * {
	display: grid;
	align-content: start;
	justify-items: start;
	gap: 14px;
}

/* Column heading: small caps row with a short rule under it. */
.ve-foot__heading {
	margin: 0 0 4px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ve-navy);
}

.ve-foot p {
	margin: 0;
}

.ve-foot__label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	color: var(--ve-navy);
}

.ve-foot a:not(.ve-btn) {
	font: 400 1.25rem/1.25 var(--ve-f-display);
	color: var(--ve-navy-deep);
	text-decoration: underline transparent 1px;
	text-underline-offset: 5px;
	overflow-wrap: anywhere;
	transition: text-decoration-color 0.2s ease;
}

.ve-foot a:not(.ve-btn):hover {
	text-decoration-color: currentColor;
}

.ve-foot__links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.ve-social {
	display: flex;
	gap: 12px;
}

.ve-social a {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--ve-navy-deep);
	color: var(--ve-cream);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ve-social a:hover {
	background: var(--ve-navy);
	transform: translateY(-2px);
}

.ve-social .ve-icon,
.ve-side .ve-icon {
	color: inherit;
}

/* Bottom bar: logo and the legal line on deep navy. */
.ve-foot__bar {
	--ve-focus: var(--ve-champagne);
	margin-top: clamp(36px, 5vw, 60px);
	padding-block: 22px;
	background: var(--ve-navy-deep);
	color: var(--ve-cream);
	font-size: 0.92rem;
}

.ve-foot__bar .ve-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
}

.ve-foot__bar p {
	margin: 0;
}

.ve-foot__bar a {
	color: inherit;
}

.ve-foot__brand {
	display: inline-flex;
}

.ve-foot__bar .ve-foot__credit {
	flex: 1 1 100%;
	padding-top: 14px;
	border-top: 1px solid rgba(233, 201, 168, 0.25);
	font-size: 0.85rem;
	text-align: center;
}

.ve-foot__logo {
	display: block;
	width: 160px; /* brand guide: minimum logo width */
	height: auto;
}

@media (max-width: 760px) {
	.ve-foot {
		grid-template-columns: 1fr;
	}

	.ve-foot__bar .ve-wrap {
		flex-direction: column;
		text-align: center;
	}
}

.ve-foot__cookie {
	padding: 0;
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	text-decoration: underline;
	cursor: pointer;
}

/* ------------------------------------------------- cookie consent (Complianz) */
/* Banner and preferences: the same deep navy card as the sub menu, pill buttons,
   champagne accents. Colours also sit in the banner settings (ve-complianz.php)
   so the admin preview stays close; the look is defined here. */
body .cmplz-cookiebanner {
	--cmplz_banner_width: 380px;
	--cmplz_banner_background_color: var(--ve-navy-deep);
	--cmplz_banner_border_color: var(--ve-champagne);
	--cmplz_text_color: var(--ve-cream);
	--cmplz_hyperlink_color: var(--ve-champagne);
	--cmplz_text_font_size: 0.9rem;
	--cmplz_link_font_size: 0.9rem;
	--cmplz_category_body_font_size: 0.9rem;
	--cmplz_category_header_title_font_size: 0.98rem;
	--cmplz_category_header_active_font_size: 0.8rem;
	--cmplz_category_header_always_active_color: var(--ve-champagne);
	--cmplz_button_font_size: 0.92rem;
	--cmplz_button_border_radius: 999px 999px 999px 999px;
	--cmplz_button_accept_background_color: var(--ve-champagne);
	--cmplz_button_accept_border_color: var(--ve-champagne);
	--cmplz_button_accept_text_color: var(--ve-navy-deep);
	--cmplz_button_deny_background_color: transparent;
	--cmplz_button_deny_border_color: var(--ve-cream);
	--cmplz_button_deny_text_color: var(--ve-cream);
	--cmplz_button_settings_background_color: transparent;
	--cmplz_button_settings_border_color: rgba(233, 201, 168, 0.5);
	--cmplz_button_settings_text_color: var(--ve-cream);
	--cmplz_slider_active_color: var(--ve-champagne);
	--cmplz_slider_inactive_color: #5d7791;
	--cmplz_slider_bullet_color: var(--ve-navy-deep);
	--ve-focus: var(--ve-champagne);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner {
	padding: 18px 20px 16px;
	font-family: var(--ve-f-body);
	border: 1px solid rgba(233, 201, 168, 0.45);
	border-top: 3px solid var(--ve-champagne);
	border-radius: 4px 4px 22px 22px;
	box-shadow: none;
}

/* Complianz sizes the banner from its content (a fixed width on the message);
   here the card itself has the width and the content fills it. */
@media (min-width: 768px) {
	#cmplz-cookiebanner-container .cmplz-cookiebanner {
		width: var(--cmplz_banner_width);
		min-width: 0;
		max-width: calc(100vw - 20px);
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-header {
	grid-template-columns: 1fr auto;
	align-items: center;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-logo {
	display: none;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-title {
	justify-self: start;
	grid-column: 1;
	font: 400 1.4rem/1.15 var(--ve-f-display);
	color: var(--ve-cream);
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-close {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(233, 201, 168, 0.5);
	border-radius: 50%;
	color: var(--ve-cream);
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-close:hover {
	background: var(--ve-champagne);
	color: var(--ve-navy-deep);
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-close svg {
	width: 14px;
	height: 14px;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-divider {
	display: none;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-message {
	width: 100%;
	line-height: 1.55;
}

/* Categories in the preferences view. */
.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-body,
.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-categories {
	width: 100%;
	max-width: none;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-categories .cmplz-category {
	background: rgba(233, 201, 168, 0.1);
	border-radius: 12px;
	overflow: hidden;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-category-header {
	padding: 12px 14px;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-category-title {
	font-weight: 700;
	color: var(--ve-cream);
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-description {
	padding: 0 14px 14px;
	line-height: 1.5;
}

/* Buttons: pills, same weight as the site buttons. Accept and deny are equally prominent. */
/* Narrow card: the primary choice on its own row, the other two share the next. */
.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-buttons {
	flex-wrap: wrap;
	gap: 8px;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
	/* Share the row by label length: the long "Vain välttämättömät" needs more room than "Asetukset". */
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	white-space: nowrap;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept {
	flex: 1 1 100%;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
	height: auto;
	min-height: 44px;
	padding: 0.65em 1.25em;
	font: 700 0.88rem/1.2 var(--ve-f-body);
	letter-spacing: 0.01em;
	border-width: 2px;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover {
	background: var(--ve-cream);
	border-color: var(--ve-cream);
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover,
.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences:hover,
.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences:hover {
	background: var(--ve-cream);
	border-color: var(--ve-cream);
	color: var(--ve-navy-deep);
}

.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-link {
	text-underline-offset: 3px;
}

.cmplz-cookiebanner.cmplz-cookiebanner :is(.cmplz-btn, .cmplz-close, .cmplz-link, summary):focus-visible,
#cmplz-manage-consent .cmplz-manage-consent:focus-visible {
	outline: 3px solid var(--ve-champagne);
	outline-offset: 2px;
}

/* Cookie button: a pill with a cookie icon and the label, fixed in the corner.
   Complianz's own tab slides up from below the edge with an animation and has
   open top corners; both are reset here so the button simply stays in place. */
#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent {
	left: 18px;
	right: auto;
	bottom: 18px !important;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	width: auto;
	min-width: 0;
	height: auto;
	min-height: 46px;
	margin: 0;
	padding: 9px 18px 9px 13px;
	font: 700 0.86rem/1 var(--ve-f-body);
	letter-spacing: 0.01em;
	color: var(--ve-cream);
	background: var(--ve-navy-deep);
	border: 2px solid var(--ve-champagne);
	border-radius: 999px;
	box-shadow: none;
	animation: none !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent.cmplz-dismissed {
	display: none;
}

#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent::before {
	content: "";
	flex: none;
	width: 24px;
	height: 24px;
	background: var(--ve-champagne);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5z' fill='none' stroke='%23000' stroke-width='1.9' stroke-linejoin='round'/%3E%3Ccircle cx='8.5' cy='9.5' r='1.3'/%3E%3Ccircle cx='15.2' cy='15.6' r='1.3'/%3E%3Ccircle cx='9.4' cy='15.2' r='1.3'/%3E%3Ccircle cx='12.8' cy='11.6' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5z' fill='none' stroke='%23000' stroke-width='1.9' stroke-linejoin='round'/%3E%3Ccircle cx='8.5' cy='9.5' r='1.3'/%3E%3Ccircle cx='15.2' cy='15.6' r='1.3'/%3E%3Ccircle cx='9.4' cy='15.2' r='1.3'/%3E%3Ccircle cx='12.8' cy='11.6' r='1'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: background-color 0.2s ease;
}

#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent:hover,
#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent:focus-visible {
	color: var(--ve-navy-deep);
	background: var(--ve-champagne);
	border: 2px solid var(--ve-champagne);
}

#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent:hover::before,
#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent:focus-visible::before {
	background: var(--ve-navy-deep);
}

@media (max-width: 760px) {
	#cmplz-cookiebanner-container .cmplz-cookiebanner {
		padding: 18px 18px 14px;
		border-radius: 4px 4px 0 0;
	}

	/* Full-width sheet: three full-width buttons stacked. */
	.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-buttons {
		flex-direction: column;
		flex-wrap: nowrap;
	}

	.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-buttons .cmplz-btn,
	.cmplz-cookiebanner.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept {
		flex: 0 0 auto;
		width: 100%;
	}

	#cmplz-manage-consent .cmplz-manage-consent.cmplz-manage-consent {
		left: 12px;
		bottom: 12px !important;
		min-height: 42px;
		padding: 7px 14px 7px 10px;
		font-size: 0.8rem;
	}
}

/* Legal documents (cookie policy, privacy statement) in the site's type. */
#cmplz-document.cmplz-document {
	max-width: 760px;
	font-size: 1rem;
	line-height: 1.65;
	padding-block: clamp(32px, 5vw, 64px);
}

#cmplz-document.cmplz-document :is(p, li, td, span) {
	font-size: 1rem;
}

#cmplz-document.cmplz-document h2 {
	margin-block: 1.6em 0.5em;
	font-size: clamp(1.4rem, 2.4vw, 1.8rem);
	line-height: 1.2;
}

#cmplz-document.cmplz-document :is(h3, h4, .cmplz-subtitle) {
	margin-block: 1.2em 0.3em;
	font: 700 1.05rem/1.3 var(--ve-f-body);
}

#cmplz-document.cmplz-document a {
	color: var(--ve-navy);
	text-underline-offset: 3px;
}

#cmplz-document.cmplz-document .cmplz-dropdown {
	background: var(--ve-cream);
	border: 1px solid var(--ve-line);
	border-radius: 12px;
}

/* ------------------------------------------------- plain content (legal pages) */
.entry-content > :not(.alignfull) {
	max-width: 760px;
	margin-inline: auto;
	padding-inline: clamp(18px, 4vw, 32px);
}

.entry-content > p:not([class]),
.entry-content > ul:not([class]),
.entry-content > ol:not([class]) {
	margin-block: 0 1em;
}

.entry-content > h2:not([class]),
.entry-content > h3:not([class]) {
	margin-block: 1.4em 0.5em;
}

.entry-content:not(.ve-article) > :not(.alignfull):first-child {
	margin-top: clamp(40px, 6vw, 72px);
}

/* ---------------------------------------------------------------- motion */
/* Slide only: content below the fold stays fully opaque, so it is readable
   (and passes contrast checks) before it has been scrolled into view. */
.ve-reveal {
	transition: transform 0.6s ease;
}

.ve-js .ve-reveal.is-pre {
	transform: translateY(26px);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.ve-reveal,
	.ve-btn,
	.ve-btn::after,
	.ve-top__inner,
	.ve-logo,
	.ve-nav a::after,
	.ve-nav__sub,
	.ve-nav__sub a,
	.ve-nav__sub a::after {
		transition: none;
	}

	.ve-js .ve-reveal.is-pre {
		transform: none;
	}
}

/* ------------------------------------------------------------ fine tuning */
.ve-artist--photo {
	background: none;
}

.ve-cards + .ve-text {
	margin-top: 44px;
}

h2 {
	overflow-wrap: break-word;
}

@media (max-width: 480px) {
	h2 {
		font-size: 1.9rem;
		hyphens: auto;
	}
}
