/*
Theme Name: Eurovodka
Description: Business-card site for the Euro-Alco vodka brands.
Author: Euro-Alco
Version: 0.1.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eurovodka
*/

/* Layout ------------------------------------------------------------------ */

.ev-container {
	box-sizing: border-box;
	width: 100%;
	max-width: 1344px; /* 1280px of content + 32px gutters */
	margin-inline: auto;
	padding-inline: 32px;
}

/* Section backgrounds: gradient + optional .ev-hatch and .ev-grain ------------ */

.ev-bg-hero {
	background:
		radial-gradient(ellipse 55% 45% at 50% 72%, rgba(212, 178, 110, 0.2), rgba(212, 178, 110, 0) 70%),
		radial-gradient(ellipse 70% 70% at 0% 0%, #172340 0%, rgba(23, 35, 64, 0) 60%),
		radial-gradient(ellipse 60% 70% at 100% 10%, #2b1622 0%, rgba(43, 22, 34, 0) 60%),
		linear-gradient(180deg, #0a0d14 0%, #07090d 100%);
}

.ev-bg-brands {
	background:
		radial-gradient(ellipse 60% 40% at 50% 0%, #121a2c 0%, rgba(18, 26, 44, 0) 70%),
		#07090d;
}

.ev-bg-quality {
	background:
		radial-gradient(ellipse 50% 80% at 50% 50%, rgba(212, 178, 110, 0.1), rgba(212, 178, 110, 0) 70%),
		linear-gradient(180deg, #0c0f15, #08090c);
}

.ev-bg-cocktails {
	background:
		radial-gradient(ellipse 45% 70% at 85% 50%, rgba(160, 58, 70, 0.22), rgba(160, 58, 70, 0) 70%),
		#07090d;
}

.ev-bg-footer {
	background:
		radial-gradient(ellipse 60% 100% at 50% 0%, #121826 0%, rgba(18, 24, 38, 0) 70%),
		#05070a;
}

.ev-bg-strip {
	background: linear-gradient(180deg, #0a0f1c, #070a12);
}

.ev-bg-showcase {
	background:
		radial-gradient(ellipse 60% 70% at 50% 100%, rgba(212, 178, 110, 0.12), rgba(212, 178, 110, 0) 70%),
		#06080d;
}

.ev-hatch,
.ev-grain {
	position: relative;
	overflow: hidden;
}

:where(.ev-hatch, .ev-grain) > * {
	position: relative;
	z-index: 1;
}

.ev-hatch::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(135deg, rgba(212, 178, 110, var(--ev-hatch, 0.035)) 0 1px, rgba(0, 0, 0, 0) 1px 9px);
	pointer-events: none;
}

.ev-grain::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
	opacity: var(--ev-grain, 0.1);
	pointer-events: none;
}

.ev-bg-hero {
	--ev-grain: 0.13;
}

.ev-bg-quality,
.ev-bg-strip {
	--ev-hatch: 0.03;
}

/* Logo -------------------------------------------------------------------- */

.ev-logo {
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: var(--wp--preset--font-size--logo);
	font-weight: 600;
	letter-spacing: 0.22em;
	line-height: 1;
	text-transform: uppercase;
}

.ev-logo a,
.ev-logo a:hover,
.ev-logo__link {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

/* The shield sits left of the wordmark; it is decorative, the link is named by its aria-label. */
.ev-logo__shield {
	display: block;
	width: auto;
	height: 44px;
	flex: none;
}

.ev-logo--full img {
	display: block;
	width: auto;
	height: 120px;
}

/* Header ------------------------------------------------------------------ */

.ev-header {
	position: relative;
	z-index: 20; /* above the brand hero's layers, so the Brands panel is not covered by its bottles */
	border-bottom: 1px solid var(--wp--preset--color--line);
	background: rgba(7, 9, 13, 0.6);
}

.ev-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding-block: 22px;
}

header.wp-block-template-part + main {
	margin-top: -1px;
}

.ev-nav {
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ev-nav .wp-block-navigation__container {
	gap: 4px 40px;
}

.ev-nav .wp-block-navigation-item__content {
	padding: 10px 0;
	color: var(--wp--preset--color--contrast);
}

.ev-nav .wp-block-navigation-item__content:hover,
.ev-nav .wp-block-navigation-item__content:focus-visible,
.ev-nav .wp-block-navigation-item__content[aria-current] {
	color: var(--wp--preset--color--gold);
}

/* Brands: the chevron is core's submenu toggle, a real button for click and keyboard. */
.ev-nav .ev-nav__brands > .wp-block-navigation-submenu__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 0 6px;
	padding: 10px 0;
	color: inherit;
	cursor: pointer;
}

.ev-nav .ev-nav__brands > .wp-block-navigation-submenu__toggle:hover,
.ev-nav .ev-nav__brands > .wp-block-navigation-submenu__toggle:focus-visible,
.ev-nav .ev-nav__brands > .wp-block-navigation-item__content:hover + .wp-block-navigation-submenu__toggle {
	color: var(--wp--preset--color--gold);
}

.ev-nav .ev-nav__brands > .wp-block-navigation-submenu__toggle svg {
	width: 11px;
	height: 11px;
	margin: 0;
	stroke-width: 2;
	transition: transform 200ms ease;
}

.ev-nav .ev-nav__brands > .wp-block-navigation-submenu__toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.ev-nav :focus-visible {
	outline: 1px solid var(--wp--preset--color--gold);
	outline-offset: 4px;
}

/* Brands panel: one wide panel under the header, hover / click / keyboard (core's submenu logic). */
@media (min-width: 1025px) {

	.ev-nav.ev-nav,
	.ev-nav.ev-nav .wp-block-navigation__responsive-container,
	.ev-nav.ev-nav .wp-block-navigation__responsive-dialog,
	.ev-nav.ev-nav .wp-block-navigation__responsive-container-content,
	.ev-nav.ev-nav .wp-block-navigation__container,
	.ev-nav.ev-nav .wp-block-navigation-submenu {
		position: static;
	}

	.ev-nav.ev-nav.ev-nav.ev-nav .ev-nav__brands > .wp-block-navigation__submenu-container {
		position: absolute;
		z-index: 10;
		top: 100%;
		right: auto;
		left: 50%;
		display: grid;
		grid-template-columns: repeat(8, minmax(0, 1fr));
		gap: 8px;
		box-sizing: border-box;
		width: min(1280px, calc(100vw - 64px));
		height: auto;
		min-width: 0;
		margin: 0;
		padding: 28px 24px 24px;
		overflow: visible;
		border: 1px solid var(--wp--preset--color--line);
		border-top: 0;
		background:
			radial-gradient(ellipse 60% 100% at 50% 100%, rgba(212, 178, 110, 0.12), rgba(212, 178, 110, 0) 70%),
			linear-gradient(180deg, rgba(10, 13, 20, 0.98), rgba(7, 9, 13, 0.98));
		box-shadow: 0 40px 70px rgba(0, 0, 0, 0.55);
		color: var(--wp--preset--color--contrast);
		opacity: 0;
		pointer-events: none;
		transform: translate(-50%, 8px);
		transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
		visibility: hidden;
	}

	.ev-nav.ev-nav.ev-nav.ev-nav.ev-nav .ev-nav__brands:hover > .wp-block-navigation__submenu-container,
	.ev-nav.ev-nav.ev-nav.ev-nav.ev-nav .ev-nav__brands > .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
		width: min(1280px, calc(100vw - 64px));
		height: auto;
		opacity: 1;
		pointer-events: auto;
		transform: translate(-50%, 0);
		transition-delay: 0s;
		visibility: visible;
	}

	/* Keeps the hover alive while the pointer crosses the gap between the label and the panel. */
	.ev-nav .ev-nav__brands > .wp-block-navigation__submenu-container::before {
		content: "";
		position: absolute;
		top: -48px;
		right: 0;
		left: 0;
		height: 48px;
	}
}

.ev-brand-link .wp-block-navigation-item__content.wp-block-navigation-item__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 8px 4px;
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--eyebrow);
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-align: center;
	white-space: normal;
}

.ev-brand-link__img {
	display: block;
	width: auto;
	height: 112px;
	filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.55));
	transition: transform 300ms ease;
}

.ev-brand-link .wp-block-navigation-item__content:hover,
.ev-brand-link .wp-block-navigation-item__content:focus-visible {
	color: var(--wp--preset--color--gold);
}

.ev-brand-link .wp-block-navigation-item__content:hover .ev-brand-link__img,
.ev-brand-link .wp-block-navigation-item__content:focus-visible .ev-brand-link__img {
	transform: translateY(-6px);
}

@media (min-width: 1025px) and (max-width: 1240px) {

	.ev-nav.ev-nav.ev-nav.ev-nav .ev-nav__brands > .wp-block-navigation__submenu-container {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		row-gap: 16px;
	}
}

/* Burger below 1025px (core switches at 600px, so the 600-1024px range is handled here). */
@media (min-width: 600px) and (max-width: 1024px) {

	.ev-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}

	.ev-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
}

.ev-nav .wp-block-navigation__responsive-container-open,
.ev-nav .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--gold);
}

.ev-nav .wp-block-navigation__responsive-container.is-menu-open {
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
	padding: 32px;
	background:
		radial-gradient(ellipse 90% 50% at 0% 0%, #172340 0%, rgba(23, 35, 64, 0) 60%),
		var(--wp--preset--color--base);
}

.ev-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
	align-items: flex-start;
}

.ev-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content.wp-block-navigation-item__content {
	padding: 10px 0;
	font-size: 19px;
}

/* Footer ------------------------------------------------------------------ */

.ev-footer {
	border-top: 1px solid var(--wp--preset--color--line);
}

.ev-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-block: 88px 40px;
	text-align: center;
}

.ev-footer .ev-logo {
	margin: 0;
}

.ev-footer__contacts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 56px;
	margin-top: 36px;
}

.ev-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ev-footer__contact p {
	margin: 0;
}

.ev-footer__label {
	color: var(--wp--preset--color--text-tertiary);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.ev-footer__value {
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: var(--wp--preset--font-size--contact);
}

.ev-footer__value a {
	display: block;
}

.ev-footer__cta {
	margin-top: 40px;
}

.ev-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	box-sizing: border-box;
	width: 100%;
	margin-top: 72px;
	padding-top: 24px;
	border-top: 1px solid #1a1f28;
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--eyebrow);
}

.ev-footer__bottom p {
	margin: 0;
}

/* Home page --------------------------------------------------------------- */

.ev-eyebrow,
.ev-main :where(h1, h2, h3, p) {
	margin: 0;
}

.ev-eyebrow {
	color: var(--wp--preset--color--gold);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 600;
	letter-spacing: 0.34em;
	text-transform: uppercase;
}

.ev-section-head {
	margin-bottom: 64px;
	text-align: center;
}

.ev-section-head h2,
.ev-quality h2,
.ev-cocktails__intro h2 {
	margin-top: 16px;
}

.ev-section-head h2 {
	line-height: 1.05;
}

/* Hero */

.ev-hero__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 64px;
	text-align: center;
}

.ev-ornament {
	position: relative;
	width: 165px;
	height: 9px;
	background:
		linear-gradient(90deg, rgba(212, 178, 110, 0), #d4b26e) left center / 64px 1px no-repeat,
		linear-gradient(90deg, #d4b26e, rgba(212, 178, 110, 0)) right center / 64px 1px no-repeat;
}

.ev-ornament::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	box-sizing: content-box;
	width: 7px;
	height: 7px;
	margin-left: -4.5px;
	border: 1px solid var(--wp--preset--color--gold);
	transform: rotate(45deg);
}

.ev-hero__intro .ev-eyebrow {
	margin-top: 22px;
}

.ev-hero__title {
	margin-top: 18px;
}

.ev-hero__title em {
	color: #e4c98f;
	font-style: italic;
}

.ev-hero__lead {
	max-width: 560px;
	margin: 26px auto 0;
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--lead);
}

/*
 * Bottle showcase: heights follow the position (460/510/560/620/620/560/510/460). The gap between neighbours is
 * clamp(4px, 1vw, 16px) (about 14 px at 1440); when the row is too narrow the bottles shrink, the gap stays.
 * 882 is the sum of the bottles' widths at those heights, px.
 */

.ev-showcase {
	position: relative;
	margin-top: 48px;
}

.ev-showcase::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 119px;
	left: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(212, 178, 110, 0), rgba(212, 178, 110, 0.45), rgba(212, 178, 110, 0));
	pointer-events: none;
}

.ev-showcase__row {
	--ev-gap: clamp(4px, 1vw, 16px);

	display: flex;
	gap: var(--ev-gap);
	align-items: flex-end;
	justify-content: center;
	box-sizing: border-box;
	max-width: 1344px;
	margin-inline: auto;
	padding: 0 32px 120px;
	container-type: inline-size;
}

.ev-showcase__row > :nth-child(1),
.ev-showcase__row > :nth-child(8) {
	--h: 460;
}

.ev-showcase__row > :nth-child(2),
.ev-showcase__row > :nth-child(7) {
	--h: 510;
}

.ev-showcase__row > :nth-child(3),
.ev-showcase__row > :nth-child(6) {
	--h: 560;
}

.ev-showcase__row > :nth-child(4),
.ev-showcase__row > :nth-child(5) {
	--h: 620;
}

.ev-showcase__row .ev-bottle {
	--ev-h: min(calc(var(--h, 560) * 1px), calc(var(--h, 560) * (100cqw - 7 * var(--ev-gap)) / 882));

	position: relative;
	flex: none;
	height: var(--ev-h);
}

.ev-bottle a {
	display: block;
	height: 100%;
}

.ev-showcase__row .ev-bottle img {
	display: block;
	width: auto;
	max-width: none;
	height: 100%;
}

.ev-bottle__reflection {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	height: 120px;
	overflow: hidden;
	opacity: 0.22;
	-webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0) 90%);
	mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0) 90%);
	pointer-events: none;
}

.ev-bottle__reflection img {
	display: block;
	width: auto;
	max-width: none;
	height: var(--ev-h);
	transform: scaleY(-1);
}

/* Brand cards */

.ev-brands__inner {
	padding-block: 112px;
}

.ev-brand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 22px;
}

.ev-card {
	--glow: 212, 178, 110; /* per brand, set inline from the brand's accent colour */
	--glow-a: 0.4;
	--top: #15110a;
	--bottom: #08070a;

	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	min-height: 594px; /* 520px of content + padding + border, as in the concept */
	padding: 40px 24px 32px;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: 2px;
	background:
		radial-gradient(ellipse 80% 55% at 50% 58%, rgba(var(--glow), var(--glow-a)), rgba(var(--glow), 0) 70%),
		linear-gradient(180deg, var(--top), var(--bottom));
	transition: border-color 300ms ease;
}

.ev-card:hover,
.ev-card:focus-within {
	border-color: #5a4a2c;
}

.ev-card .ev-card__bottle {
	margin: 0;
}

.ev-card__bottle img {
	display: block;
	width: auto;
	max-width: none;
	height: 380px;
	filter: drop-shadow(0 22px 20px rgba(0, 0, 0, 0.55));
	transition: transform 500ms ease;
}

.ev-card:hover .ev-card__bottle img,
.ev-card:focus-within .ev-card__bottle img {
	transform: translateY(-10px);
}

.ev-card__text {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ev-card__name {
	font-size: 32px;
	line-height: 1.1;
}

.ev-card__name a {
	color: var(--wp--preset--color--contrast);
}

/* The whole card is the link target. */
.ev-card__name a::after {
	content: "";
	position: absolute;
	z-index: 2;
	inset: 0;
}

.ev-card__tagline {
	max-width: 22em;
	min-height: 3.2em;
	margin-top: 6px;
	color: var(--wp--preset--color--text-tertiary);
	font-size: var(--wp--preset--font-size--eyebrow);
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

/* Guarantee of quality */

.ev-quality {
	border-block: 1px solid var(--wp--preset--color--line);
}

.ev-container--narrow {
	max-width: 1144px;
}

.ev-quality__inner {
	padding-block: 104px;
	text-align: center;
}

.ev-points {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 40px 48px;
	margin-top: 56px;
	text-align: left;
}

.ev-point {
	display: flex;
	gap: 16px;
}

.ev-point::before {
	content: "";
	box-sizing: content-box;
	flex: none;
	width: 7px;
	height: 7px;
	margin-top: 10px;
	border: 1px solid var(--wp--preset--color--gold);
	transform: rotate(45deg);
}

.ev-point p {
	color: #cfc9bd;
}

/* Cocktails teaser */

.ev-cocktails__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px 80px;
	padding-block: 112px;
}

.ev-cocktails__intro {
	flex: 1 1 380px;
	min-width: 0;
}

.ev-link {
	margin-top: 32px;
}

.ev-link a {
	display: inline-block;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--wp--preset--color--gold);
	font-size: var(--wp--preset--font-size--nav);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.ev-cocktails__cards {
	display: grid;
	flex: 1 1 520px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	min-width: 0;
}

.ev-recipe {
	padding: 32px;
	border: 1px solid #262b35;
	border-radius: 2px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.ev-recipe__brand {
	color: var(--wp--preset--color--text-tertiary);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.ev-recipe h3 {
	margin-top: 10px;
}

.ev-recipe__text {
	margin-top: 14px;
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--small);
}

/* Phones and small tablets: the whole row of eight bottles stays in view, the bottles get smaller */

@media (max-width: 700px) {

	.ev-hero__intro {
		padding-top: 40px;
	}

	.ev-showcase {
		margin-top: 32px;
	}

	.ev-showcase__row {
		padding-inline: 16px;
	}

	.ev-brands__inner,
	.ev-cocktails__inner {
		padding-block: 72px;
	}

	.ev-quality__inner {
		padding-block: 72px;
	}

	.ev-section-head {
		margin-bottom: 40px;
	}

	.ev-points {
		margin-top: 40px;
	}
}

/* Brands in the open burger menu: two columns with small bottles */

.ev-nav.ev-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
	align-items: flex-start;
	justify-content: flex-start;
}

.ev-nav .is-menu-open .ev-nav__brands > .wp-block-navigation__submenu-container {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 16px;
	padding-left: 0;
}

.ev-nav .is-menu-open .ev-brand-link .wp-block-navigation-item__content.wp-block-navigation-item__content {
	flex-direction: row;
	gap: 14px;
	padding: 6px 0;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-align: left;
}

.ev-nav .is-menu-open .ev-brand-link__img {
	height: 64px;
}

/* Pages without their own design yet --------------------------------------- */

.ev-page {
	padding-block: 64px 112px;
}

@media (max-width: 600px) {

	.ev-header .ev-logo {
		font-size: 26px;
	}

	.ev-header .ev-logo__shield {
		height: 34px;
	}

	.ev-header .ev-logo__link,
	.ev-header .ev-logo a {
		gap: 11px;
	}

	/* "Since 1898 · Product of Moldova" stays on one line: the tracking shrinks with the screen (205 px of text, 31 letters, 64 px of gutters). */
	.ev-hero__intro .ev-eyebrow {
		letter-spacing: min(0.34em, calc((100vw - 274px) / 31));
	}
}

@media (max-width: 379px) {

	.ev-container {
		padding-inline: 20px;
	}

	.ev-header .ev-logo {
		font-size: 24px;
	}
}

/* Home page on phones: slogan on two lines, no reflections, two-column brand cards -------- */

@media (max-width: 767px) {

	.ev-bottle__reflection {
		display: none;
	}

	.ev-showcase__row {
		padding-bottom: 40px;
	}

	.ev-showcase::after {
		bottom: 39px;
	}

	.ev-hero .ev-hero__title {
		font-size: min(11vw, 56px);
		white-space: nowrap;
	}

	.ev-brand-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.ev-card {
		min-height: 0;
		padding: 24px 12px 20px;
		gap: 16px;
	}

	.ev-card__bottle img {
		height: 220px;
	}

	.ev-card__name {
		font-size: 22px;
	}

	/* Room for two lines of the caption on every card, so the names line up whether a caption wraps or not. */
	.ev-card__text {
		justify-content: flex-start;
		width: 100%;
	}

	.ev-card__tagline {
		min-height: 3em;
		font-size: 11px;
		letter-spacing: 0.14em;
		line-height: 1.5;
	}
}

/* Brand page -------------------------------------------------------------- */

.ev-brand-page {
	background: var(--wp--preset--color--base-brand);
}

.ev-brand-page .ev-header {
	background: rgba(5, 9, 18, 0.7);
}

/* Brands is the current section on a brand page. */
.ev-brand-page .ev-nav .ev-nav__brands > .wp-block-navigation-item__content,
.ev-brand-page .ev-nav .ev-nav__brands > .wp-block-navigation-submenu__toggle {
	color: var(--wp--preset--color--gold);
}

/* Parallax: depth (--dx, --dy, px) is set per layer in the markup, the cursor (--px, --py) on the hero by parallax.js. */
.ev-par {
	transform: translate3d(calc(var(--px, 0) * var(--dx, 0) * 1px), calc(var(--py, 0) * var(--dy, 0) * 1px), 0);
	transition: transform 700ms ease-out;
}

.ev-bhero {
	--ev-grain: 0.12;

	/* The hero is 900 px high on desktop; that is the design unit (--u): every size of the bottle group is in px at this height. */
	--hh: 900px;
	--u: calc(var(--hh) / 900);
	--ev-padl: clamp(40px, 5.5cqw, 80px);
	--ev-textw: clamp(300px, 34cqw, 480px);

	position: relative;
	z-index: 2; /* above the quality strip: the bottles stand on its upper edge */
	container-type: inline-size;
	height: var(--hh);
	overflow: visible;
	background: var(--wp--preset--color--base-brand);
}

.ev-bhero::after {
	z-index: 1;
}

.ev-bhero .ev-bhero__bg {
	position: absolute;
	z-index: 0;
	inset: 0;
	overflow: hidden;
}

.ev-bhero__layer {
	position: absolute;
	top: -30px;
	left: -30px;
	display: block;
	width: calc(100% + 60px);
	max-width: none;
	height: calc(100% + 60px);
	object-fit: cover;
	object-position: 70% var(--ev-bgy, 35%);
	/* Light worlds are dimmed as a whole (background and fog), see the brand's background brightness. */
	filter: brightness(var(--ev-bright, 1));
}

.ev-bhero__shade {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.ev-bhero__shade--side {
	background: linear-gradient(90deg, rgba(var(--ev-shade), 0.94) 0%, rgba(var(--ev-shade), 0.82) 20%, rgba(var(--ev-shade), 0.5) 36%, rgba(var(--ev-shade), 0.14) 52%, rgba(var(--ev-shade), 0) 64%);
}

.ev-bhero__shade--text {
	background: radial-gradient(ellipse 38% 55% at 16% 50%, rgba(var(--ev-shade), 0.5), rgba(var(--ev-shade), 0) 75%);
}

.ev-bhero__shade--top {
	bottom: auto;
	height: 18%;
	background: linear-gradient(180deg, rgba(5, 9, 18, 0.7), rgba(5, 9, 18, 0));
}

.ev-bhero__shade--bottom {
	top: auto;
	height: 32%;
	background: linear-gradient(0deg, var(--wp--preset--color--base-brand) 0%, rgba(5, 9, 18, 0) 100%);
}

/* The text keeps to a 1440 px column centred on wide screens; the title is sized to the column's width. */
.ev-bhero .ev-bhero__text {
	position: absolute;
	container-type: inline-size;
	z-index: 4;
	top: 0;
	bottom: 0;
	left: calc((100cqw - min(100cqw, 1440px)) / 2 + var(--ev-padl));
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: var(--ev-textw);
	padding-block: 120px 72px;
}

.ev-bhero__ornament {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ev-bhero__ornament span:first-child {
	width: 48px;
	height: 1px;
	background: var(--wp--preset--color--gold);
}

.ev-bhero__ornament span:last-child {
	box-sizing: content-box;
	width: 6px;
	height: 6px;
	border: 1px solid var(--wp--preset--color--gold);
	transform: rotate(45deg);
}

.ev-bhero .ev-bhero__eyebrow {
	margin-top: 20px;
	color: var(--wp--preset--color--gold);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 600;
	letter-spacing: 0.34em;
	text-transform: uppercase;
}

.ev-bhero .ev-bhero__title {
	margin-top: 14px;
	/* The size follows the longest word (--ev-len, set by the hero block) so that no word reaches the bottles. */
	font-size: min(var(--wp--preset--font-size--brand-title), calc(100cqw / (var(--ev-len, 8) * 0.52)));
	letter-spacing: 0.01em;
	line-height: 0.92;
}

.ev-bhero .ev-bhero__tagline {
	margin-top: 22px;
	color: var(--ev-tag);
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 28px;
	font-style: italic;
	line-height: 1.25;
}

.ev-bhero .ev-bhero__desc {
	max-width: min(400px, 100%);
	margin-top: 24px;
	color: var(--ev-desc);
}

.ev-bhero .ev-bhero__all {
	align-self: flex-start;
	margin-top: 40px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--wp--preset--color--gold);
	font-size: var(--wp--preset--font-size--nav);
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/*
 * The bottle group. Its anchor is the point where the bottles' base line meets the group's centre: 62% of the hero's
 * width, 56 design px below the hero's lower edge, so the bottles step onto the quality strip. Everything inside is
 * sized in design px times --k (a length per design px): the group shrinks as a whole when it does not fit between
 * the text column and the right edge, props and reflections included.
 */
.ev-bhero__group {
	--ev-avail: calc(2 * (62cqw - (100cqw - min(100cqw, 1440px)) / 2 - var(--ev-padl) - var(--ev-textw) - 48px));
	--k: min(var(--u), calc(var(--ev-avail) / var(--w)));
	--ev-left: calc(62cqw - 16px);
	--ev-right: calc(38cqw - 16px);

	position: absolute;
	z-index: 2;
	bottom: calc(-56 * var(--u));
	left: 62%;
	width: 0;
	height: 0;
}

.ev-bhero__row {
	position: absolute;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: flex-end;
	width: max-content;
	transform: translateX(-50%);
}

.ev-bhero__unit {
	position: relative;
	flex: none;
	width: calc(var(--h) * var(--ar) * var(--k));
	height: calc(var(--h) * var(--k));
	margin-left: calc(20 * var(--k));
	transition-duration: 600ms;
}

.ev-bhero .ev-bhero__unit:first-child {
	margin-left: 0;
}

.ev-bhero .ev-bhero__bottle {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.5));
}

/* A soft contact shadow under the base: the bottle's width plus 80 px, 24 px high. */
.ev-bhero__shadow {
	position: absolute;
	z-index: 0;
	top: 100%;
	left: 50%;
	width: calc(100% + 80 * var(--k));
	height: calc(24 * var(--k));
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	filter: blur(10px);
	translate: -50% -50%;
	pointer-events: none;
}

/* The reflection is a flipped copy of the bottle, only its first 160 px (the bottle's foot), fading out. */
.ev-bhero__refl {
	position: absolute;
	z-index: 0;
	top: 100%;
	left: 0;
	width: 100%;
	height: calc(160 * var(--k));
	overflow: hidden;
	opacity: 0.28;
	mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
}

.ev-bhero .ev-bhero__refl img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: calc(var(--h) * var(--k));
	transform: scaleY(-1);
}

/* Props (crystals, sceptre): --x is the offset of the left edge from the group's centre, --b the bottom edge below the base line. */
.ev-bhero__prop {
	/* A prop never grows wider than 92% of the hero and stays inside the screen: --xl and --xr are its extents left and right of the group's centre. */
	--kp: min(var(--k), calc(92cqw / var(--pw)), calc(var(--ev-left) / var(--xl)), calc(var(--ev-right) / var(--xr)));

	position: absolute;
	bottom: calc(var(--b) * -1 * var(--kp));
	left: calc(var(--x) * var(--kp));
	width: calc(var(--pw) * var(--kp));
	height: calc(var(--h) * var(--kp));
	pointer-events: none;
}

.ev-bhero__prop--front {
	z-index: 20;
}

.ev-bhero__prop--behind {
	z-index: 0;
}

.ev-bhero .ev-bhero__prop img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.5));
}

/* Glow behind the bottles: an ellipse of 22% x 42% of the hero around (62%, 55%), fading as (1 - d)^1.6. */
.ev-bhero__glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse 22% 42% at 62% 55%,
		rgba(var(--ev-glow-rgb), var(--ev-glow)) 0%,
		rgba(var(--ev-glow-rgb), calc(0.63 * var(--ev-glow))) 25%,
		rgba(var(--ev-glow-rgb), calc(0.33 * var(--ev-glow))) 50%,
		rgba(var(--ev-glow-rgb), calc(0.11 * var(--ev-glow))) 75%,
		rgba(var(--ev-glow-rgb), 0) 100%
	);
	pointer-events: none;
}

/* The header lies over the top of the hero on desktop, as in the design. */
@media (min-width: 1024px) {

	.ev-brand-page header.wp-block-template-part {
		position: absolute;
		z-index: 20;
		top: 0;
		right: 0;
		left: 0;
	}

	.ev-brand-page .ev-header {
		border-bottom-color: transparent;
		background: transparent;
	}

	.ev-brand-page header.wp-block-template-part + main {
		margin-top: 0;
	}
}

/* Tablet and phone: the text, then the bottles under it, centred; the main bottle min(60vh, 560 px) tall, no parallax. */
@media (max-width: 1023px) {

	.ev-bhero {
		height: auto;
	}

	.ev-bhero .ev-bhero__text {
		position: relative;
		top: auto;
		bottom: auto;
		left: auto;
		width: auto;
		padding: 56px 32px 0;
	}

	.ev-bhero__group {
		--k: min(calc(min(60vh, 560px) / var(--hm)), calc((100cqw - 40px) / var(--w)));
		--ev-left: calc(50cqw - 8px);
		--ev-right: calc(50cqw - 8px);

		position: relative;
		bottom: auto;
		left: auto;
		height: calc(var(--hmax) * var(--k));
		margin: 32px auto -24px; /* the bottles step 24 px onto the strip */
	}

	.ev-bhero__glow {
		background: radial-gradient(
			ellipse 70% 30% at 50% 70%,
			rgba(var(--ev-glow-rgb), var(--ev-glow)) 0%,
			rgba(var(--ev-glow-rgb), calc(0.63 * var(--ev-glow))) 25%,
			rgba(var(--ev-glow-rgb), calc(0.33 * var(--ev-glow))) 50%,
			rgba(var(--ev-glow-rgb), calc(0.11 * var(--ev-glow))) 75%,
			rgba(var(--ev-glow-rgb), 0) 100%
		);
	}

	.ev-bhero__shade--side {
		background: linear-gradient(180deg, rgba(var(--ev-shade), 0.94) 0%, rgba(var(--ev-shade), 0.82) 30%, rgba(var(--ev-shade), 0.45) 55%, rgba(var(--ev-shade), 0) 80%);
	}
}

@media (max-width: 767px) {

	.ev-par {
		transform: none;
		transition: none;
	}

	.ev-bhero .ev-bhero__text {
		padding: 40px 20px 0;
	}
}

/* Bottles and props reach beyond the hero on the right: the page itself must not scroll sideways. */
.ev-brandpage {
	overflow-x: clip;
}

/* Brand page: guarantee strip */

.ev-strip {
	border-block: 1px solid var(--wp--preset--color--line);
}

.ev-strip__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 40px;
	padding-block: 36px;
	color: #cfc9bd;
	font-size: var(--wp--preset--font-size--nav);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* On brand pages the hero's bottles stand on the strip's upper edge (and their reflections fall on it): the text sits below them, above the hero's stacking level. */
.ev-brandpage .ev-strip__inner {
	position: relative;
	z-index: 3;
	padding-block: 100px 96px; /* the strip is as tall as the reflections: 56 px to the base line plus 160 px of reflection */
}

@media (max-width: 1023px) {

	.ev-brandpage .ev-strip__inner {
		padding-block: 64px 40px;
	}
}

.ev-strip__title {
	color: var(--wp--preset--color--gold);
	font-weight: 600;
}

.ev-strip__item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ev-strip__item::before {
	content: "";
	box-sizing: content-box;
	width: 5px;
	height: 5px;
	border: 1px solid var(--wp--preset--color--gold);
	transform: rotate(45deg);
}

/* 1024-1279 px: the four items and the title stay on one line. */
@media (min-width: 1024px) and (max-width: 1279px) {

	.ev-strip__inner {
		flex-wrap: nowrap;
		gap: 14px 22px;
		letter-spacing: 0.08em;
		white-space: nowrap;
	}
}

/* Brand page: other brands */

.ev-others__inner {
	padding-block: 96px 88px;
	text-align: center;
}

.ev-others__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: center;
	gap: 32px 44px;
	margin-top: 48px;
}

.ev-others .ev-mini {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	color: var(--wp--preset--color--contrast);
}

.ev-mini__img {
	display: block;
	width: auto;
	max-width: none;
	height: 260px;
	filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.5));
	transition: transform 500ms ease;
}

.ev-mini:hover .ev-mini__img,
.ev-mini:focus-visible .ev-mini__img {
	transform: translateY(-10px);
}

.ev-mini__name {
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 22px;
}

@media (max-width: 767px) {

	.ev-others__inner {
		padding-block: 64px;
	}

	.ev-others__row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 12px;
		margin-top: 40px;
	}

	.ev-mini__img {
		height: 200px;
	}
}

/* Brand page: compact footer */

.ev-footer-compact {
	border-top: 1px solid var(--wp--preset--color--line);
	background: #04060a;
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--nav);
}

.ev-footer-compact__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
	padding-block: 32px;
}

.ev-footer-compact p {
	margin: 0;
}

.ev-footer-compact .ev-logo {
	margin: 0;
	color: var(--wp--preset--color--contrast);
	font-size: 22px;
	line-height: 1.6;
}

.ev-footer-compact .ev-logo__link {
	gap: 10px;
}

.ev-footer-compact .ev-logo__shield {
	height: 28px;
}

/* Content pages: Cocktails, Info, Contacts, 404 ------------------------------------ */

.ev-bg-subpage {
	--ev-grain: 0.1;

	background:
		radial-gradient(ellipse 60% 420px at 0% 0%, #172340 0%, rgba(23, 35, 64, 0) 70%),
		radial-gradient(ellipse 55% 460px at 100% 0%, #2b1622 0%, rgba(43, 22, 34, 0) 70%),
		linear-gradient(180deg, #0a0d14 0, #07090d 640px),
		#07090d;
}

.ev-pagehead__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-block: 80px 64px;
	text-align: center;
}

.ev-pagehead .ev-eyebrow {
	margin-top: 22px;
}

.ev-pagehead h1 {
	margin-top: 18px;
	font-size: var(--wp--preset--font-size--heading-lg);
	line-height: 1.05;
}

.ev-pagehead h1 em {
	color: #e4c98f;
	font-style: italic;
}

.ev-pagehead__lead {
	max-width: 600px;
	margin-top: 22px;
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--lead);
}

.ev-pagebody {
	padding-bottom: 112px;
}

.ev-main .ev-pagebody h2 {
	font-size: 40px;
}

/* Cocktail cards: photo (glass and bottle) on the brand glow, recipe beside it */

.ev-recipes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.ev-rcard {
	--glow: 212, 178, 110; /* per recipe, set inline from the vodka brand accent colour */
	--top: #15110a;
	--bottom: #08070a;

	display: flex;
	box-sizing: border-box;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--card-border);
	border-radius: 2px;
	background: linear-gradient(180deg, var(--top), var(--bottom));
	transition: border-color 300ms ease;
}

.ev-rcard:hover {
	border-color: #5a4a2c;
}

.ev-rcard__photo {
	display: flex;
	flex: 0 0 210px;
	align-items: center;
	justify-content: center;
	padding: 32px 10px;
	background: radial-gradient(ellipse 100% 52% at 50% 56%, rgba(var(--glow), 0.34), rgba(var(--glow), 0) 72%);
}

.ev-rcard__photo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 380px;
	filter: drop-shadow(0 20px 18px rgba(0, 0, 0, 0.55));
}

.ev-rcard__body {
	flex: 1 1 auto;
	min-width: 0;
	padding: 36px 36px 36px 14px;
}

.ev-rcard__vodka {
	color: var(--wp--preset--color--text-tertiary);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.ev-rcard__vodka a {
	color: inherit;
}

.ev-rcard__vodka a:hover,
.ev-rcard__vodka a:focus-visible {
	color: var(--wp--preset--color--gold);
}

.ev-rcard .ev-rcard__name {
	margin-top: 10px;
	font-size: 34px;
	line-height: 1.1;
}

.ev-rcard .ev-rcard__label {
	margin: 24px 0 0;
	color: var(--wp--preset--color--gold);
	font-family: var(--wp--preset--font-family--manrope);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.34em;
	line-height: 1.6;
	text-transform: uppercase;
}

.ev-rcard__ingredients {
	margin: 12px 0 0;
	padding: 0;
	color: #cfc9bd;
	font-size: 15px;
	line-height: 1.55;
	list-style: none;
}

.ev-rcard__ingredients li {
	display: flex;
	gap: 12px;
	padding-block: 3px;
}

.ev-rcard__ingredients li::before {
	content: "";
	box-sizing: content-box;
	flex: none;
	width: 4px;
	height: 4px;
	margin-top: 9px;
	border: 1px solid var(--wp--preset--color--gold);
	transform: rotate(45deg);
}

.ev-rcard__method {
	margin-top: 10px;
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--small);
}

.ev-main .ev-rcard__method p + p {
	margin-top: 10px;
}

@media (max-width: 1100px) {

	.ev-recipes {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {

	.ev-pagehead__inner {
		padding-block: 48px 40px;
	}

	.ev-pagebody {
		padding-bottom: 72px;
	}

	.ev-rcard {
		flex-direction: column;
	}

	.ev-rcard__photo {
		flex: none;
		padding: 28px 10px 8px;
	}

	.ev-rcard__photo img {
		height: 300px;
	}

	.ev-rcard__body {
		padding: 20px 22px 28px;
	}
}

/* Info: accordion of loading schemes and downloads */

.ev-info {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: 72px;
	align-items: start;
}

.ev-info__lead {
	margin-top: 14px;
	color: var(--wp--preset--color--text-secondary);
}

.ev-schemes {
	margin-top: 32px;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.ev-schemes .wp-block-details {
	border-top: 1px solid var(--wp--preset--color--line);
}

.ev-schemes summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 22px;
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
	list-style: none;
	cursor: pointer;
	transition: color 200ms ease;
}

.ev-schemes summary::-webkit-details-marker {
	display: none;
}

/* A plus of two gold lines; the vertical one collapses when the item is open. */
.ev-schemes summary::after {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background:
		linear-gradient(var(--wp--preset--color--gold), var(--wp--preset--color--gold)) center / 100% 1px no-repeat,
		linear-gradient(var(--wp--preset--color--gold), var(--wp--preset--color--gold)) center / 1px 100% no-repeat;
	transition: transform 250ms ease;
}

.ev-schemes details[open] > summary::after {
	background-size: 100% 1px, 1px 0;
	transform: rotate(180deg);
}

.ev-schemes summary:hover,
.ev-schemes summary:focus-visible,
.ev-schemes details[open] > summary {
	color: var(--wp--preset--color--gold);
}

.ev-schemes summary:focus-visible {
	outline: 1px solid var(--wp--preset--color--gold);
	outline-offset: 2px;
}

.ev-schemes details > :not(summary) {
	margin-block: 0 24px;
}

.ev-schemes .wp-block-image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	border: 1px solid var(--wp--preset--color--line);
}

.ev-downloads {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 32px;
}

.ev-main .ev-download {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 26px 30px 24px;
	border: 1px solid var(--wp--preset--color--card-border);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
	color: var(--wp--preset--color--contrast);
	transition: border-color 300ms ease;
}

.ev-download:hover,
.ev-download:focus-visible {
	border-color: #5a4a2c;
}

.ev-download__meta {
	color: var(--wp--preset--color--text-tertiary);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.ev-download__title {
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 28px;
	line-height: 1.15;
}

.ev-download__action {
	align-self: flex-start;
	margin-top: 10px;
	padding-bottom: 5px;
	border-bottom: 1px solid var(--wp--preset--color--gold);
	color: var(--wp--preset--color--gold);
	font-size: var(--wp--preset--font-size--nav);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

@media (max-width: 960px) {

	.ev-info {
		grid-template-columns: minmax(0, 1fr);
		gap: 56px;
	}
}

@media (max-width: 600px) {

	.ev-schemes summary {
		font-size: 22px;
	}
}

/* Contacts */

.ev-contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 72px;
	align-items: start;
}

.ev-contact__list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.ev-contact__brand {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-bottom: 6px;
}

.ev-contact__logo {
	margin: 0;
}

.ev-contact__logo img {
	height: 200px;
}

.ev-contact__company {
	margin: 0;
	color: var(--wp--preset--color--text-tertiary);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

@media (max-width: 600px) {

	.ev-contact__logo img {
		height: 168px;
	}
}

.ev-contact__item p {
	margin: 0;
}

.ev-contact__label {
	color: var(--wp--preset--color--text-tertiary);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.ev-contact__value {
	margin-top: 4px;
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 32px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.ev-contact__note {
	max-width: 22em;
	padding-top: 28px;
	border-top: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--text-secondary);
}

.ev-contact__social a {
	display: inline-block;
	padding-bottom: 5px;
	border-bottom: 1px solid var(--wp--preset--color--gold);
	font-size: var(--wp--preset--font-size--nav);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.ev-contact__form {
	padding: 44px 44px 40px;
	border: 1px solid var(--wp--preset--color--card-border);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.ev-main .ev-contact__form h2 {
	font-size: 40px;
}

.ev-contact__form-lead {
	margin-top: 10px;
	color: var(--wp--preset--color--text-secondary);
}

.ev-contact__form .wpcf7 {
	margin-top: 32px;
}

/* Contact Form 7, styled here: the plugin stylesheet is switched off. */
.ev-contact__form .wpcf7-form p {
	margin: 0 0 22px;
}

.ev-contact__form .wpcf7-form label {
	display: block;
	color: var(--wp--preset--color--text-tertiary);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.ev-contact__form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 10px;
}

.ev-contact__form .wpcf7-form input[type="text"],
.ev-contact__form .wpcf7-form input[type="email"],
.ev-contact__form .wpcf7-form textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #5b6475;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.03);
	color: var(--wp--preset--color--contrast);
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	transition: border-color 200ms ease, background-color 200ms ease;
}

.ev-contact__form .wpcf7-form textarea {
	min-height: 150px;
	resize: vertical;
}

.ev-contact__form .wpcf7-form input:focus,
.ev-contact__form .wpcf7-form textarea:focus {
	border-color: var(--wp--preset--color--gold);
	background: rgba(212, 178, 110, 0.05);
	box-shadow: 0 0 0 1px var(--wp--preset--color--gold);
	outline: none;
}

.ev-contact__form .wpcf7-form input:-webkit-autofill {
	-webkit-text-fill-color: var(--wp--preset--color--contrast);
	box-shadow: 0 0 0 100px #12151c inset;
}

.ev-contact__form .wpcf7-form .wpcf7-submit {
	padding: 15px 34px;
	border: 1px solid var(--wp--preset--color--gold);
	border-radius: 0;
	background: transparent;
	color: var(--wp--preset--color--contrast);
	font: inherit;
	font-size: var(--wp--preset--font-size--nav);
	font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 1.6;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.ev-contact__form .wpcf7-form .wpcf7-submit:hover,
.ev-contact__form .wpcf7-form .wpcf7-submit:focus-visible {
	border-color: var(--wp--preset--color--gold-hover);
	background: rgba(212, 178, 110, 0.12);
	color: var(--wp--preset--color--gold-hover);
}

.ev-contact__form .wpcf7-form.submitting .wpcf7-submit {
	opacity: 0.55;
	pointer-events: none;
}

.ev-contact__form .wpcf7-spinner {
	display: none;
}

.ev-contact__form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 8px;
	color: #e49a8a;
	font-size: 13px;
	letter-spacing: 0;
	text-transform: none;
}

.ev-contact__form .wpcf7-not-valid {
	border-color: #a5584a;
}

.ev-contact__form .wpcf7-response-output {
	margin: 26px 0 0;
	padding: 14px 18px;
	border: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--small);
}

.ev-contact__form .sent .wpcf7-response-output {
	border-color: var(--wp--preset--color--gold);
	color: var(--wp--preset--color--contrast);
}

.ev-contact__form .invalid .wpcf7-response-output,
.ev-contact__form .failed .wpcf7-response-output,
.ev-contact__form .unaccepted .wpcf7-response-output,
.ev-contact__form .spam .wpcf7-response-output,
.ev-contact__form .aborted .wpcf7-response-output {
	border-color: #a5584a;
}

.ev-contact__form .screen-reader-response {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
}

@media (max-width: 960px) {

	.ev-contact {
		grid-template-columns: minmax(0, 1fr);
		gap: 56px;
	}
}

@media (max-width: 600px) {

	.ev-contact__form {
		padding: 28px 20px 24px;
	}

	.ev-contact__value {
		font-size: 28px;
	}
}

/* 404 */

.ev-notfound {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-block: 88px 120px;
	text-align: center;
}

.ev-notfound .ev-eyebrow {
	margin-top: 22px;
}

.ev-main .ev-notfound__code {
	margin-top: 8px;
	background: linear-gradient(180deg, #ebd39e, #a5864a 80%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: clamp(110px, 22vw, 230px);
	font-weight: 500;
	line-height: 1;
}

.ev-main .ev-notfound__title {
	margin-top: 4px;
	font-size: var(--wp--preset--font-size--heading);
}

.ev-notfound__lead {
	max-width: 520px;
	margin-top: 20px;
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--lead);
}

.ev-notfound__buttons {
	justify-content: center;
	gap: 16px;
	margin-top: 40px;
}

.ev-schemes summary {
	font-variant-numeric: lining-nums;
}

.ev-contact__form .wpcf7-form .hidden-fields-container {
	display: none;
}

.ev-contact__form .wpcf7-form br {
	display: none;
}

.ev-contact__form .wpcf7-form.init .wpcf7-response-output {
	display: none;
}

.ev-contact__form .wpcf7-turnstile {
	margin-bottom: 22px;
}
