/* Holiday 2026 popup — markup in /footer.html, behavior in /assets/js/popup.js.
   Desktop: photo left, copy right (900×540). Mobile (≤ 640px): photo on top, buttons stacked. */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;1,400&display=swap");

.hpop {
	--hpop-ink: #1b2730;
	--hpop-teal: #2f5d6e;
	--hpop-teal-dark: #234a59;
	--hpop-gold: #8a6a2a;
	--hpop-line: #d8c294;
	--hpop-cream: #faf7f2;
	--hpop-muted: #6f6f6f;

	width: min(900px, calc(100vw - 40px));
	max-width: none;
	max-height: none;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
	color: var(--hpop-ink);
}

.hpop::backdrop {
	background: rgba(10, 24, 31, 0.6);
}

.hpop[open] {
	animation: hpop-in 0.35s ease-out;
}

@keyframes hpop-in {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

.hpop__card {
	display: grid;
	grid-template-columns: 45.5% minmax(0, 1fr);
	height: 540px;
	max-height: calc(100vh - 40px);
	position: relative;
	background: var(--hpop-cream);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hpop__media {
	position: relative;
	overflow: hidden;
	background: #0f2530;
}

.hpop__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 70% 30%;
}

.hpop__body {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 10px;
	min-width: 0;
	padding: 40px 28px;
	border: 1px solid var(--hpop-line);
	text-align: center;
}

.hpop__close {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	color: #1b2730;
	font-size: 0;
	cursor: pointer;
}

.hpop__close svg {
	width: 12px;
	height: 12px;
}

.hpop__close:hover {
	background: #f1ece3;
}

.hpop__close:focus-visible {
	outline: 2px solid var(--hpop-teal);
	outline-offset: 2px;
}

.hpop__card:focus {
	outline: none;
}

/* Gold four-point sparkles */
.hpop__spark {
	position: absolute;
	width: 70px;
	height: 70px;
	pointer-events: none;
	background:
		radial-gradient(circle, rgba(255, 246, 225, 1) 0 2px, rgba(232, 196, 140, 0.55) 3px, transparent 9px),
		linear-gradient(to right, transparent, rgba(222, 186, 128, 0.75) 50%, transparent) center / 100% 1.5px no-repeat,
		linear-gradient(to bottom, transparent, rgba(222, 186, 128, 0.75) 50%, transparent) center / 1.5px 100% no-repeat;
	filter: blur(0.3px);
}

.hpop__spark--a { top: 34px; left: 42px; width: 64px; height: 76px; }
.hpop__spark--b { bottom: 38px; right: 46px; width: 58px; height: 64px; }

.hpop__eyebrow {
	margin: 0 0 22px;
	font-family: "poppins", sans-serif;
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--hpop-gold);
}

.hpop__title {
	margin: 0 0 18px;
	font-family: "Playfair Display", "butler", Georgia, serif;
	font-weight: 400;
	font-size: 46px;
	line-height: 1.08;
	letter-spacing: 0;
	color: var(--hpop-ink);
	text-transform: none;
}

.hpop__title span {
	display: block;
}

.hpop__title em,
.hpop__sub em {
	font-style: italic;
}

.hpop__sub {
	margin: 0 0 30px;
	font-family: "Playfair Display", "butler", Georgia, serif;
	font-size: 22px;
	line-height: 1.35;
	color: var(--hpop-teal);
}

.hpop__sub span {
	display: block;
}

.hpop__buttons {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-bottom: 24px;
}

.hpop__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 46px;
	padding: 0 24px;
	border: 1px solid var(--hpop-teal);
	font-family: "poppins", sans-serif;
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.hpop__btn--solid {
	background: var(--hpop-teal);
	color: #fff;
}

.hpop__btn--solid:hover,
.hpop__btn--solid:focus-visible {
	background: var(--hpop-teal-dark);
	color: #fff;
}

.hpop__btn--outline {
	background: transparent;
	color: var(--hpop-teal-dark);
}

.hpop__btn--outline:hover,
.hpop__btn--outline:focus-visible {
	background: var(--hpop-teal);
	color: #fff;
}

.hpop__fine {
	margin: 0;
	font-family: "poppins", sans-serif;
	font-weight: 300;
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0.02em;
	color: var(--hpop-muted);
}

.hpop__fine span {
	display: block;
}

/* Mobile ------------------------------------------------------------------ */
@media (max-width: 640px) {
	.hpop {
		width: min(360px, calc(100vw - 24px));
	}

	.hpop__card {
		grid-template-columns: 1fr;
		grid-template-rows: 210px auto;
		height: auto;
		max-height: calc(100vh - 24px);
		max-height: calc(100dvh - 24px);
		overflow-y: auto;
	}

	.hpop__media img {
		object-position: 80% 20%;
	}

	.hpop__close {
		top: 12px;
		right: 12px;
	}

	.hpop__body {
		margin: 0 10px 10px;
		padding: 34px 20px 26px;
		border-top: 0;
	}

	.hpop__spark--a { top: auto; bottom: 150px; left: 14px; }
	.hpop__spark--b { bottom: 70px; right: 18px; }

	.hpop__eyebrow {
		margin-bottom: 18px;
		font-size: 11px;
	}

	.hpop__title {
		font-size: 34px;
		margin-bottom: 14px;
	}

	.hpop__sub {
		font-size: 19px;
		margin-bottom: 24px;
	}

	.hpop__buttons {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}

	.hpop__btn {
		width: 180px;
		min-width: 0;
		padding: 0 16px;
	}

	.hpop__fine {
		font-size: 11px;
	}
}

@media (max-width: 640px) and (max-height: 700px) {
	.hpop__card {
		grid-template-rows: 140px auto;
	}

	.hpop__body {
		padding-top: 26px;
	}
}

/* Lock page scroll while open */
html.hpop-lock,
html.hpop-lock body {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.hpop[open] { animation: none; }
}
