/*
 * Epic Smiles — Holding page (Figma 74:1039 desktop 1440×1024, 80:17 mobile
 * 390×1144). Sizes slide between the two frames like tokens.css; at 1440 and
 * 390 every value is the Figma pixel.
 */

body.es-holding { margin: 0; background: #1c1a17; }
body.es-holding .vk-main { display: block; }

.vk-section.es-hold {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: max(100svh, 1024px);
	padding: 36px 48px 13px;
	overflow: hidden;
	background: #1c1a17;
	color: #f5f1e8;
}

/* Photo + wash */
.vk-scope .es-hold__bg { position: absolute; inset: 0; z-index: -1; }
.vk-scope .es-hold__bg picture,
.vk-scope .es-hold__bg img { display: block; width: 100%; height: 100%; max-width: none; }
.vk-scope .es-hold__bg img { object-fit: cover; object-position: 86% 50%; }
.vk-scope .es-hold__wash { position: absolute; inset: 0; background: rgba(0, 0, 0, .34); }

/* Top bar */
.vk-scope .es-hold__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1344px;
}
.vk-scope .es-hold__meta {
	width: 320px;
	margin: 0;
	color: rgba(245, 241, 232, .9);
	font-family: var(--es-sans);
	font-size: 11px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.vk-scope .es-hold__meta--right { text-align: right; }
.vk-scope .es-hold__meta a { color: inherit; text-decoration: none; }
.vk-scope .es-hold__meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vk-scope .es-hold__mono { display: block; width: 62px; color: #f5f1e8; line-height: 0; }
.vk-scope .es-hold__mono svg { width: 100%; height: auto; }

/* Centre stack */
.vk-scope .es-hold__centre {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: 880px;
	margin: 16px 0 auto;
}
.vk-scope .es-hold__heads { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.vk-scope .es-hold__title {
	margin: 0;
	color: #f5f1e8;
	font-family: var(--es-serif);
	font-size: clamp(40px, calc(40px + 26 * (100vw - 390px) / 1050), 66px);
	font-weight: 400;
	line-height: .92;
	letter-spacing: -.03em;
	text-wrap: nowrap;
}
.vk-scope .es-hold__title-mob { display: none; }
.vk-scope .es-hold__sub {
	margin: 0;
	color: #f5f1e8;
	font-family: var(--es-serif);
	font-size: clamp(22px, calc(22px + 4 * (100vw - 390px) / 1050), 26px);
	line-height: 1.1;
	letter-spacing: -.01em;
	opacity: .85;
}

/* Countdown */
.vk-scope .es-count { display: flex; align-items: center; margin-bottom: 26px; }
.vk-scope .es-count__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 0 36px;
	white-space: nowrap;
}
.vk-scope .es-count__unit + .es-count__unit { border-left: 1px solid rgba(245, 241, 232, .35); }
.vk-scope .es-count__num {
	font-family: var(--es-serif);
	font-size: 64px;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: #f5f1e8;
}
.vk-scope .es-count__label {
	color: rgba(245, 241, 232, .75);
	font-family: var(--es-sans);
	font-size: 10px;
	font-weight: 600;
	line-height: normal;
	letter-spacing: .16em;
	text-transform: uppercase;
}

/* Sign-up panel */
.vk-scope .es-hold__panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: 100%;
	padding: 36px 40px 32px;
	background: rgba(43, 42, 37, .85);
	-webkit-backdrop-filter: blur(8.05px);
	backdrop-filter: blur(8.05px);
}
.vk-scope .es-hold__fields,
.vk-scope .es-hold__row { display: flex; gap: 24px; width: 100%; }
.vk-scope .es-hold__row { align-items: flex-end; }
.vk-scope .es-hold__field {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	padding: 20px 0 16px;
	border-bottom: 1px solid #f5f1e8;
}
.vk-scope .es-hold__field input,
.vk-scope .es-hold__field select {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #f5f1e8;
	font-family: var(--es-sans);
	font-size: 17px;
	line-height: normal;
	outline: none;
	box-shadow: none;
	appearance: none;
}
.vk-scope .es-hold__field ::placeholder { color: #f5f1e8; opacity: 1; }
.vk-scope .es-hold__field:focus-within { border-bottom-color: #fff; box-shadow: 0 1px 0 #fff; }
.vk-scope .es-hold__field select { height: 23px; line-height: 23px; padding-right: 28px; cursor: pointer; }
.vk-scope .es-hold__field input { height: 23px; }
.vk-scope .es-hold__field select option { color: #1c1a17; }
.vk-scope .es-hold__chev { position: absolute; right: 0; top: calc(50% + 2px); transform: translateY(-50%); color: #f5f1e8; pointer-events: none; }
.vk-scope .es-hold__note { margin: 0; color: rgba(245, 241, 232, .75); font-size: 13px; line-height: normal; text-align: center; }
.vk-scope .es-hold__message { margin: 0; font-size: 15px; text-align: center; }
.vk-scope .es-hold__message:empty { display: none; }
.vk-scope .es-hold__message.is-error { color: #f2c9c0; }

/* UI / Button (OnDark): ivory dot spreads to fill; arrow A exits right as B enters. */
.vk-scope .es-spread {
	position: relative;
	isolation: isolate;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 19px 26px 19px 30px;
	border: 1px solid #f5f1e8;
	border-radius: 0;
	background: #a6705a;
	color: #f5f1e8;
	font-family: var(--es-sans);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.33;
	white-space: nowrap;
	overflow: hidden;
	cursor: pointer;
	transition: color .55s cubic-bezier(.16, 1, .3, 1);
}
.vk-scope .es-spread__dot {
	position: absolute;
	z-index: -1;
	right: 55px;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-radius: 50%;
	background: #f5f1e8;
	opacity: 0;
	transform: scale(1);
	transition: transform .55s cubic-bezier(.16, 1, .3, 1), opacity .25s ease;
}
.vk-scope .es-spread__arrows { position: relative; display: block; width: 16px; height: 12px; overflow: hidden; }
.vk-scope .es-spread__arrows svg { position: absolute; top: 0; left: 0; transition: transform .55s cubic-bezier(.16, 1, .3, 1); }
.vk-scope .es-spread__b { transform: translateX(-22px); }
.vk-scope .es-spread:hover,
.vk-scope .es-spread:focus-visible { color: #171717; }
.vk-scope .es-spread:hover .es-spread__dot,
.vk-scope .es-spread:focus-visible .es-spread__dot { opacity: 1; transform: scale(100); }
.vk-scope .es-spread:hover .es-spread__a,
.vk-scope .es-spread:focus-visible .es-spread__a { transform: translateX(22px); }
.vk-scope .es-spread:hover .es-spread__b,
.vk-scope .es-spread:focus-visible .es-spread__b { transform: none; }
.vk-scope .es-spread:focus-visible { outline: 2px solid #f5f1e8; outline-offset: 3px; }
.vk-scope .es-spread[disabled] { opacity: .7; cursor: wait; }
@media (prefers-reduced-motion: reduce) {
	.vk-scope .es-spread,
	.vk-scope .es-spread * { transition-duration: 1ms !important; }
}

/* Wordmark */
.vk-scope .es-hold__foot { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 1344px; margin-top: 16px; }
.vk-scope .es-hold__wordmark { display: block; align-self: flex-start; width: 97.77%; color: #f4efe8; line-height: 0; }
.vk-scope .es-hold__wordmark svg { width: 100%; height: auto; }
.vk-scope .es-hold__contact { display: none; }

/* Tablet: panel fields wrap */
@media (max-width: 960px) {
	.vk-section.es-hold { min-height: max(100svh, 900px); padding-inline: 32px; }
	.vk-scope .es-hold__meta { width: 200px; }
	.vk-scope .es-count__unit { padding: 0 24px; }
	.vk-scope .es-count__num { font-size: 52px; }
}

/* Phone (Figma 80:17) */
@media (max-width: 767px) {
	.vk-section.es-hold { min-height: 100svh; padding: 22px 16px 22px; background: #4b4032; }
	.vk-scope .es-hold__bg { top: 300px; }
	.vk-scope .es-hold__bg img { object-position: 67.8% 50%; }
	.vk-scope .es-hold__wash {
		background:
			linear-gradient(180deg, #4b4032 0, rgba(75, 64, 50, 0) 220px),
			radial-gradient(ellipse 216.67px 562.67px at 50% 69.33%, rgba(23, 23, 23, .3), rgba(23, 23, 23, 0)),
			linear-gradient(180deg, rgba(23, 23, 23, .28) 0%, rgba(23, 23, 23, 0) 35%, rgba(23, 23, 23, 0) 75%, rgba(23, 23, 23, .35) 100%),
			rgba(0, 0, 0, .39);
	}
	.vk-scope .es-hold__top { justify-content: center; }
	.vk-scope .es-hold__meta { display: none; }
	.vk-scope .es-hold__mono { width: 30px; }
	.vk-scope .es-hold__centre { gap: 22px; margin-top: 34px; }
	.vk-scope .es-hold__heads { gap: 12px; }
	.vk-scope .es-hold__title-desk { display: none; }
	.vk-scope .es-hold__title-mob { display: inline; }
	.vk-scope .es-count { margin-bottom: 24px; }
	.vk-scope .es-count__unit { padding: 0 14px; }
	.vk-scope .es-count__unit + .es-count__unit { border-left-color: #f5f1e8; }
	.vk-scope .es-count__num { font-size: 38.4px; }
	.vk-scope .es-count__label { color: #f5f1e8; font-size: 9px; }
	.vk-scope .es-hold__panel {
		gap: 16px;
		padding: 24px 20px;
		background: rgba(43, 42, 37, .8);
		-webkit-backdrop-filter: blur(7.25px);
		backdrop-filter: blur(7.25px);
	}
	.vk-scope .es-hold__fields,
	.vk-scope .es-hold__row { flex-direction: column; align-items: stretch; gap: 8px; }
	.vk-scope .es-hold__field { flex: none; padding: 8px 0 16px; }
	.vk-scope .es-hold__chev { top: calc(50% - 4px); }
	.vk-scope .es-hold__foot { padding-top: 48px; }
	.vk-scope .es-spread { width: 100%; margin-top: 12px; }
	.vk-scope .es-hold__note { max-width: 236px; font-size: 12px; }
	.vk-scope .es-hold__foot { margin-top: auto; padding-top: 40px; }
	.vk-scope .es-hold__wordmark { width: 100%; }
	.vk-scope .es-hold__contact {
		display: block;
		margin: 24px 0 0;
		color: #f5f1e8;
		font-family: var(--es-sans);
		font-size: 9px;
		font-weight: 600;
		line-height: normal;
		letter-spacing: .14em;
		text-transform: uppercase;
		text-align: center;
	}
	.vk-scope .es-hold__contact a { color: inherit; text-decoration: none; }
}
