/* Billboard Hero — V2 "Accountant" */

/* ─── Entrance animation keyframes ─────────────────────────── */
@keyframes bh-fade-up {
	from {
		opacity: 0;
		transform: translateY(28px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bh-footnote-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* ─── Layout ─────────────────────────────────────────────────── */
.billboard-hero {
	position: relative;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	height: auto;
	min-height: 380px;
	overflow: visible;
	padding-bottom: 120px;
}

.billboard-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.billboard-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

/* Overlay darkened for video background readability */
.billboard-hero__overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 35%, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.70) 100%);
	z-index: 1;
}

.billboard-hero__content {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 60px 20px 20px;
}

/* ─── Headline ───────────────────────────────────────────────── */
.billboard-hero__headline {
	font-family: 'Zuume', 'Bebas Neue', sans-serif;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0;
}

.billboard-hero__line {
	display: block;
}

/* "Our Accountant" and "You're Welcome." */
.billboard-hero__line--white {
	font-size: clamp(48px, 14vw, 80px);
	line-height: 1.0;
	color: #ffffff;
	text-shadow:
		0 2px 12px rgba(0, 0, 0, 0.55),
		0 1px 0 rgba(0, 0, 0, 0.4);
}

/* "CRIED." — the punchline. Gold gradient. Dominant. */
.billboard-hero__line--red {
	font-size: clamp(100px, 28vw, 210px);
	line-height: 0.88;
	background: linear-gradient(160deg, #FFE566 0%, #F5C842 28%, #D4A017 60%, #B8860B 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter:
		drop-shadow(0 4px 24px rgba(245, 200, 66, 0.35))
		drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

/* ─── Entrance animations — staggered per line ───────────────── */
.billboard-hero__line--white:first-child {
	animation: bh-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.billboard-hero__line--red {
	animation: bh-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.billboard-hero__line--white:last-child {
	animation: bh-fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.44s both;
}

/* ─── Footnote — legible, grounded ──────────────────────────── */
.billboard-hero__footnote {
	margin-top: 20px;
	font-family: 'Poppins', sans-serif;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.18em;
	color: rgba(255, 255, 255, 0.9);
	text-transform: uppercase;
	animation: bh-footnote-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
	position: relative;
}

.billboard-hero__cent {
	font-size: 1.3em;
	vertical-align: baseline;
}

/* Subtle gold separator between the two value statements */
.billboard-hero__footnote::before {
	content: '';
	display: block;
	width: 36px;
	height: 2px;
	background: linear-gradient(90deg, #F5C842, #B8860B);
	margin: 0 auto 14px;
	border-radius: 1px;
}

/* ─── Desktop ────────────────────────────────────────────────── */
@media (min-width: 801px) {
	.billboard-hero {
		min-height: 520px;
		margin-top: -150px;
		z-index: 1;
		padding-bottom: 140px;
	}

	.billboard-hero__content {
		padding-top: 220px;
	}
}

/* ─── Small mobile ───────────────────────────────────────────── */
@media (max-width: 600px) {
	.billboard-hero__line--white {
		font-size: clamp(36px, 12vw, 54px);
	}

	.billboard-hero__line--red {
		font-size: clamp(82px, 24vw, 120px);
	}
}

/* ─── Z-index housekeeping ───────────────────────────────────── */

/* Ensure the search bar paints on top of the billboard hero */
.home-asl-search-box.gb-block-container {
	z-index: 2;
}

/* Hide the old Gutenberg hero when billboard is active */
.home-hero.gb-block-container {
	display: none !important;
}
