.chows-ap-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: var(--chows-ap-overlay, rgba(0, 0, 0, 0.75));
	opacity: 0;
	visibility: hidden;
	transition: opacity 520ms ease, visibility 0s linear 520ms;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.chows-ap-overlay[hidden] {
	display: none;
}

.chows-ap-overlay.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 520ms ease, visibility 0s;
}

.chows-ap-panel {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	box-sizing: border-box;
	padding: 44px 36px 34px;
	text-align: center;
	background: var(--chows-ap-panel, #141210);
	border: 1px solid color-mix(in srgb, var(--chows-ap-gold, #c9a227) 45%, transparent);
	border-radius: 3px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
	will-change: transform, opacity;
}

@supports not (border: 1px solid color-mix(in srgb, red 50%, transparent)) {
	.chows-ap-panel {
		border-color: rgba(201, 162, 39, 0.45);
	}
}

.chows-ap-anim-rise {
	opacity: 0;
	transform: translateY(28px) scale(0.97);
	transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1), transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.chows-ap-anim-fade {
	opacity: 0;
	transition: opacity 900ms ease;
}

.chows-ap-anim-unfurl {
	opacity: 0;
	transform: scaleY(0.82) scaleX(0.94);
	transform-origin: center;
	transition: opacity 560ms ease, transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.is-open .chows-ap-panel {
	opacity: 1;
	transform: none;
}

.chows-ap-reveal {
	opacity: 0;
	transform: translateY(12px);
}

.is-open .chows-ap-reveal {
	animation: chows-ap-reveal 640ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: calc(260ms + var(--i, 0) * 90ms);
}

@keyframes chows-ap-reveal {
	to {
		opacity: 1;
		transform: none;
	}
}

.chows-ap-eyebrow {
	margin: 0;
	color: var(--chows-ap-gold, #c9a227);
	font-size: 11px;
	line-height: 1.4;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.chows-ap-numeral {
	margin: 16px 0 0;
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-size: 78px;
	font-weight: 400;
	line-height: 0.95;
	color: var(--chows-ap-gold, #c9a227);
}

.chows-ap-numeral span {
	position: relative;
	display: inline-block;
	overflow: hidden;
}

.chows-ap-numeral span::after {
	content: "";
	position: absolute;
	top: 0;
	left: -140%;
	width: 60%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	pointer-events: none;
}

.is-open .chows-ap-numeral span::after {
	animation: chows-ap-shimmer 1700ms ease-in-out 1100ms 1;
}

@keyframes chows-ap-shimmer {
	to {
		left: 160%;
	}
}

.chows-ap-headline {
	margin: 10px 0 0;
	padding: 0;
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0.01em;
	color: var(--chows-ap-heading, #f0ece4);
}

.chows-ap-rule {
	display: block;
	width: 0;
	height: 1px;
	margin: 20px auto;
	background: color-mix(in srgb, var(--chows-ap-gold, #c9a227) 60%, transparent);
}

.is-open .chows-ap-rule {
	animation: chows-ap-rule 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: calc(260ms + var(--i, 0) * 90ms);
	opacity: 1;
	transform: none;
}

@keyframes chows-ap-rule {
	from {
		width: 0;
	}
	to {
		width: 48px;
	}
}

.chows-ap-body {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--chows-ap-body, #b3ab9f);
}

.chows-ap-cta {
	display: block;
	margin: 24px 0 0;
	padding: 14px 18px;
	background: var(--chows-ap-gold, #c9a227);
	color: #241a02;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 2px;
	transition: transform 220ms ease, filter 220ms ease;
}

.chows-ap-cta:hover,
.chows-ap-cta:focus {
	color: #241a02;
	text-decoration: none;
	transform: translateY(-2px);
	filter: brightness(1.08);
}

.chows-ap-dismiss {
	display: block;
	width: 100%;
	margin: 14px 0 0;
	padding: 4px;
	background: none;
	border: 0;
	color: #8a8178;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	transition: color 200ms ease;
}

.chows-ap-dismiss:hover {
	color: var(--chows-ap-heading, #f0ece4);
}

.chows-ap-close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	background: none;
	border: 0;
	color: #8a8178;
	cursor: pointer;
	transition: color 200ms ease, transform 200ms ease;
}

.chows-ap-close:hover {
	color: var(--chows-ap-gold, #c9a227);
	transform: rotate(90deg);
}

.chows-ap-panel :focus-visible {
	outline: 2px solid var(--chows-ap-gold, #c9a227);
	outline-offset: 3px;
}

body.chows-ap-locked {
	overflow: hidden;
}

@media (max-width: 480px) {
	.chows-ap-overlay {
		padding: 16px;
	}
	.chows-ap-panel {
		padding: 38px 22px 28px;
	}
	.chows-ap-numeral {
		font-size: 62px;
	}
	.chows-ap-headline {
		font-size: 21px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.chows-ap-overlay,
	.chows-ap-panel,
	.chows-ap-cta,
	.chows-ap-close {
		transition-duration: 1ms;
	}
	.chows-ap-panel {
		opacity: 1;
		transform: none;
	}
	.chows-ap-reveal {
		opacity: 1;
		transform: none;
	}
	.is-open .chows-ap-reveal,
	.is-open .chows-ap-rule,
	.is-open .chows-ap-numeral span::after {
		animation: none;
	}
	.chows-ap-rule {
		width: 48px;
	}
	.chows-ap-close:hover {
		transform: none;
	}
}

.chows-ap-overlay .chows-ap-panel * {
	box-sizing: border-box;
}

.chows-ap-overlay .chows-ap-panel .chows-ap-close,
.chows-ap-overlay .chows-ap-panel .chows-ap-dismiss {
	-webkit-appearance: none;
	appearance: none;
	background: none !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	text-transform: none !important;
	letter-spacing: normal;
	min-height: 0 !important;
	min-width: 0 !important;
	line-height: 1 !important;
	font-family: inherit;
	font-weight: 400 !important;
}

.chows-ap-overlay .chows-ap-panel .chows-ap-close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 34px !important;
	height: 34px !important;
	padding: 0 !important;
	margin: 0 !important;
	color: #8a8178;
	cursor: pointer;
}

.chows-ap-overlay .chows-ap-panel .chows-ap-close svg {
	display: block;
	width: 18px;
	height: 18px;
	margin: 0;
}

.chows-ap-overlay .chows-ap-panel .chows-ap-close:hover {
	color: var(--chows-ap-gold, #c9a227);
}

.chows-ap-overlay .chows-ap-panel .chows-ap-dismiss {
	display: block !important;
	width: auto !important;
	margin: 16px auto 0 !important;
	padding: 4px 6px !important;
	color: #8a8178 !important;
	font-size: 12px !important;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.chows-ap-overlay .chows-ap-panel .chows-ap-dismiss:hover {
	color: var(--chows-ap-heading, #f0ece4) !important;
}

.chows-ap-overlay .chows-ap-panel .chows-ap-cta {
	border: 0 !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	line-height: 1.4 !important;
}

.chows-ap-overlay .chows-ap-panel .chows-ap-headline,
.chows-ap-overlay .chows-ap-panel .chows-ap-body,
.chows-ap-overlay .chows-ap-panel .chows-ap-numeral {
	text-transform: none !important;
	text-align: center;
}

.chows-ap-overlay .chows-ap-panel .chows-ap-numeral {
	-webkit-user-select: none;
	user-select: none;
}

.chows-ap-overlay .chows-ap-panel .chows-ap-eyebrow {
	text-transform: uppercase !important;
}

.chows-ap-overlay .chows-ap-panel .chows-ap-cta,
.chows-ap-overlay .chows-ap-panel .chows-ap-cta:link,
.chows-ap-overlay .chows-ap-panel .chows-ap-cta:visited {
	background-color: var(--chows-ap-gold, #c9a227) !important;
	color: #241a02 !important;
}

.chows-ap-overlay .chows-ap-panel .chows-ap-cta:hover,
.chows-ap-overlay .chows-ap-panel .chows-ap-cta:focus,
.chows-ap-overlay .chows-ap-panel .chows-ap-cta:focus-visible,
.chows-ap-overlay .chows-ap-panel .chows-ap-cta:active {
	background-color: #e0b62f !important;
	color: #1c1400 !important;
	opacity: 1 !important;
}

.chows-ap-overlay .chows-ap-panel .chows-ap-cta * {
	color: inherit !important;
}

.chows-ap-overlay .chows-ap-panel .chows-ap-dismiss:focus,
.chows-ap-overlay .chows-ap-panel .chows-ap-close:focus {
	outline: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

.chows-ap-overlay .chows-ap-panel .chows-ap-dismiss:focus-visible,
.chows-ap-overlay .chows-ap-panel .chows-ap-close:focus-visible,
.chows-ap-overlay .chows-ap-panel .chows-ap-cta:focus-visible {
	outline: 2px solid var(--chows-ap-gold, #c9a227) !important;
	outline-offset: 3px !important;
}
