/* Age gate: the site's dark premium look (gradients, hatching, grain, gold lines, Cormorant). */

html:not(.ev-age-ok) body {
	overflow: hidden;
}

.ev-age-ok .ev-age {
	display: none;
}

.ev-age {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 24px;
	overflow: auto;
	background:
		radial-gradient(ellipse 55% 45% at 50% 60%, rgba(212, 178, 110, 0.14), 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%);
	color: #edeae3;
	font-family: var(--wp--preset--font-family--manrope, system-ui, sans-serif);
	font-size: 16px;
	line-height: 1.6;
}

.ev-age::before,
.ev-age::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
}

.ev-age::before {
	background: repeating-linear-gradient(135deg, rgba(212, 178, 110, 0.035) 0 1px, rgba(0, 0, 0, 0) 1px 9px);
}

.ev-age::after {
	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: 0.12;
}

.ev-age__panel {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: 600px;
	margin: auto;
	padding: 56px 48px 52px;
	border: 1px solid rgba(212, 178, 110, 0.18);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)), rgba(7, 9, 13, 0.72);
	text-align: center;
}

.ev-age__ornament {
	position: relative;
	width: 165px;
	height: 9px;
	margin: 0 auto;
	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-age__ornament span {
	position: absolute;
	top: 0;
	left: 50%;
	box-sizing: content-box;
	width: 7px;
	height: 7px;
	margin-left: -4.5px;
	border: 1px solid #d4b26e;
	transform: rotate(45deg);
}

.ev-age__brand {
	margin: 26px 0 0;
	color: #d4b26e;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.34em;
	text-transform: uppercase;
}

.ev-age__title {
	margin: 14px 0 0;
	color: #edeae3;
	font-family: var(--wp--preset--font-family--cormorant, Georgia, serif);
	font-size: clamp(40px, 8vw, 56px);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.05;
}

.ev-age__text {
	max-width: 440px;
	margin: 22px auto 0;
	color: #bdb7ab;
}

.ev-age__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	margin-top: 38px;
}

.ev-age__yes {
	box-sizing: border-box;
	padding: 15px 34px;
	border: 1px solid #d4b26e;
	border-radius: 0;
	background: transparent;
	color: #edeae3;
	font: inherit;
	font-size: 13px;
	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-age__yes:hover,
.ev-age__yes:focus-visible {
	border-color: #ebd39e;
	background: rgba(212, 178, 110, 0.12);
	color: #ebd39e;
}

.ev-age__leave {
	padding-bottom: 4px;
	border-bottom: 1px solid #8f897e;
	color: #a8a296;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 200ms ease, border-color 200ms ease;
}

.ev-age__leave:hover,
.ev-age__leave:focus-visible {
	border-color: #d4b26e;
	color: #ebd39e;
}

.ev-age :focus-visible {
	outline: 1px solid #d4b26e;
	outline-offset: 4px;
}

@media (max-width: 520px) {

	.ev-age {
		padding: 16px;
	}

	.ev-age__panel {
		padding: 40px 24px 36px;
	}

	.ev-age__yes {
		width: 100%;
		padding-inline: 16px;
	}
}
