/* ==========================================================================
   Black Friday 2026 — homepage masthead, slide 1 (Gift Card Event, Nov 20–30)
   Builds on holiday.css (the slide also has the .holiday-slide class for
   layout, buttons and the "or call" line). Remove the <link> in /index.html
   and the slide/picture marked "Black Friday 2026" when the promo ends.
   ========================================================================== */

body.home .masthead .bf-slide {
	--bf-gold: #c9a86a;
	--bf-gold-line: rgba(201, 168, 106, 0.45);
	max-width: 820px; /* room for two full-size buttons side by side */
}

/* Eyebrow: SYMMETRY MED SPA · BY BENGTSON CENTER */
body.home .masthead .bf-slide .bf-eyebrow {
	font-family: "poppins";
	font-weight: 300;
	font-size: clamp(13px, 1.1vw, 22px);
	line-height: 1.3;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 clamp(10px, 1.4vw, 28px);
	white-space: nowrap;
}

/* "Black Friday" — gold gradient serif */
body.home .masthead .masthead__text .bf-slide .bf-title {
	font-family: "Playfair Display", "butler", Georgia, serif;
	font-weight: 400;
	font-size: clamp(56px, 5.4vw, 112px);
	line-height: 1.05;
	letter-spacing: -0.005em;
	text-transform: none !important;
	white-space: nowrap;
	margin: 0;
	color: #d4b77d;
	background: linear-gradient(180deg, #ecd6a4 0%, #d2b277 45%, #a8854f 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	padding-bottom: 0.06em; /* keep the "y" descender inside the gradient */
}

/* GIFT CARD EVENT · NOV 20–30 */
body.home .masthead .bf-slide .bf-event {
	font-family: "poppins";
	font-weight: 500;
	font-size: clamp(12px, 0.85vw, 17px);
	line-height: 1.3;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--bf-gold);
	margin: clamp(4px, 0.5vw, 10px) 0 clamp(14px, 1.4vw, 28px);
}

body.home .masthead .bf-slide .bf-event .bf-dot {
	display: inline-block;
	margin: 0 0.9em;
	font-size: inherit;
}

/* Buy a gift card, get a holiday bonus. */
body.home .masthead .bf-slide .bf-lede {
	font-family: "Playfair Display", "butler", Georgia, serif;
	font-weight: 400;
	font-size: clamp(20px, 1.65vw, 34px);
	line-height: 1.25;
	color: #fff;
	margin: 0 0 clamp(12px, 1.2vw, 24px);
}

/* Spend / bonus tiers */
body.home .masthead .bf-slide .bf-tiers {
	width: clamp(340px, 27.5vw, 560px);
	margin: 0 0 clamp(20px, 1.8vw, 40px);
	padding: 0 !important;
	list-style: none !important;
	border-top: 1px solid var(--bf-gold-line);
}

body.home .masthead .bf-slide .bf-tiers li {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: baseline;
	column-gap: clamp(14px, 1.3vw, 26px);
	margin: 0 !important;
	padding: clamp(6px, 0.55vw, 11px) 0 !important;
	border-bottom: 1px solid var(--bf-gold-line);
}

body.home .masthead .bf-slide .bf-tiers .bf-spend { text-align: right; }
body.home .masthead .bf-slide .bf-tiers .bf-bonus { text-align: left; }

body.home .masthead .masthead__text .bf-slide .bf-tiers .bf-label {
	font-family: "poppins";
	font-weight: 500;
	font-size: clamp(10px, 0.6vw, 13px);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
	margin-right: 0.5em;
	line-height: 1;
}

body.home .masthead .masthead__text .bf-slide .bf-tiers .bf-amt {
	font-family: "Playfair Display", "butler", Georgia, serif;
	font-weight: 400;
	font-size: clamp(22px, 1.35vw, 30px);
	line-height: 1.2;
	color: #fff;
}

body.home .masthead .masthead__text .bf-slide .bf-tiers .bf-bonus .bf-amt {
	color: var(--bf-gold);
}

body.home .masthead .masthead__text .bf-slide .bf-tiers .bf-arrow {
	font-family: "poppins";
	font-size: clamp(11px, 0.7vw, 14px);
	color: var(--bf-gold);
	line-height: 1;
}

/* Buttons and the "or call" line use holiday.css unchanged, so they match
   the other slides exactly. */

/* Fine print */
body.home .masthead .bf-slide .bf-fine {
	font-family: "poppins";
	font-weight: 300;
	font-size: clamp(11px, 0.65vw, 14px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin: clamp(16px, 1.6vw, 32px) 0 0;
}

/* Same layout on the homepage and /symmetry/: copy centered vertically on
   desktop, pinned under the photo on phones (see Mobile below) */
body.home .masthead:has(.bf-slide) {
	justify-content: center !important;
}

/* Photo at the comp's scale ------------------------------------------------ */
/* The photo is 1920x790. Size the masthead to that shape on desktop so the
   whole image shows, as in the comp, instead of being cropped and enlarged
   to fill a taller box. */
@media (min-width: 841px) {
	body.home .masthead:has(.bf-slide) {
		height: max(41.15vw, 660px);
		max-height: none;
		min-height: 0;
	}

	body.home .masthead:has(.bf-slide) > .container {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}

/* No slow "Ken Burns" zoom on this photo */
body.home .masthead .masthead__image .bf-picture img,
body.home .masthead .masthead__image .bf-picture img.fx {
	transform: none !important;
}

/* Mobile ------------------------------------------------------------------ */
@media (max-width: 840px) {
	/* Comp layout: photo on top, offer copy below on navy. The masthead is a
	   fixed 650px on phones, too short for this slide, so it's made taller
	   while the Black Friday slide is in the slideshow. The height stays the
	   same for every slide so the page doesn't jump as slides rotate. */
	body.home .masthead:has(.bf-slide) {
		height: calc(88vw + 650px);
		max-height: none;
		justify-content: flex-end !important;
	}

	/* the mobile photo fades to this navy */
	body.home .masthead:has(.bf-slide.active) .masthead__image {
		background-color: #18343f;
	}

	/* pin the mobile photo to the top at full width */
	body.home .masthead .masthead__image .holiday-picture:first-child img {
		object-position: center top;
	}

	body.home .masthead .bf-slide {
		max-width: none;
	}

	body.home .masthead .bf-slide .bf-eyebrow {
		font-size: clamp(11px, 3.4vw, 16px);
		letter-spacing: 0.08em;
		margin-bottom: 8px;
	}

	body.home .masthead .masthead__text .bf-slide .bf-title {
		font-size: clamp(40px, 13vw, 96px);
	}

	body.home .masthead .bf-slide .bf-event {
		font-size: clamp(11px, 3vw, 15px);
		letter-spacing: 0.26em;
		margin-bottom: 10px;
	}

	body.home .masthead .bf-slide .bf-lede {
		font-size: clamp(17px, 4.8vw, 26px);
		margin-bottom: 10px;
	}

	body.home .masthead .bf-slide .bf-tiers {
		width: 100%;
		margin-bottom: 26px;
	}

	body.home .masthead .masthead__text .bf-slide .bf-tiers .bf-amt {
		font-size: clamp(20px, 6vw, 28px);
	}

	body.home .masthead .masthead__text .bf-slide .bf-tiers .bf-label {
		font-size: clamp(9px, 2.4vw, 12px);
	}

	body.home .masthead .bf-slide .bf-fine {
		font-size: 12px;
		margin-top: 18px;
	}
}
