.bvms-hero-outer {
	padding: 20px 24px 24px;
	box-sizing: border-box;
	/* Pull the hero up toward the nav to tighten the gap — kept small so the
	 * header never overlaps the top of the card. Scales with viewport. */
	margin-top: clamp(-28px, -1.6vw, -10px);
}

.bvms-hero {
	position: relative;
	min-height: 75vh;
	width: 100%;
	border-radius: 56px;
	overflow: hidden;
	display: flex;
	box-sizing: border-box;
	background-color: #2b2420;
}

.bvms-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	animation: bvms-hero-zoom-out 1.8s ease-out both,
		bvms-hero-drift 24s ease-in-out 1.8s infinite alternate;
	transform-origin: 60% 40%;
}

.bvms-hero-overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	/*
	 * Directional wash: a solid warm-brown field on the LEFT that fades to fully
	 * clear across the middle, so the text sits on clean colour while the right
	 * half of the photograph stays luminous. A gentle bottom gradient keeps the
	 * lower-left content legible without darkening the whole frame.
	 */
	background:
		linear-gradient(
			94deg,
			rgba(28, 20, 16, 0.96) 0%,
			rgba(28, 20, 16, 0.92) 22%,
			rgba(28, 20, 16, 0.72) 42%,
			rgba(28, 20, 16, 0.38) 58%,
			rgba(28, 20, 16, 0.12) 72%,
			rgba(28, 20, 16, 0) 84%
		),
		linear-gradient(
			2deg,
			rgba(20, 14, 10, 0.55) 0%,
			rgba(20, 14, 10, 0.1) 32%,
			rgba(20, 14, 10, 0) 54%
		);
}

/* Tint layer sits above the photo but below the directional wash; keep it whisper-light
 * and confined to the left so it never mutes the bright right side of the image. */
.bvms-hero-tint {
	mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 68%);
	-webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 68%);
}

.bvms-hero-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	width: 100%;
	min-width: 0;
	max-width: 800px;
	padding: 4.5vw 5vw 4vw;
	box-sizing: border-box;
	color: #fbf6ee;
	gap: 1.15rem;
}

.bvms-hero-content > * {
	animation: bvms-hero-rise 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bvms-hero-content > *:nth-child(1) {
	animation-delay: 0.15s;
}

.bvms-hero-content > *:nth-child(2) {
	animation-delay: 0.32s;
}

.bvms-hero-content > *:nth-child(3) {
	animation-delay: 0.5s;
}

.bvms-hero-content > *:nth-child(4) {
	animation-delay: 0.66s;
}

@keyframes bvms-hero-zoom-out {
	from {
		transform: scale(1.12);
	}
	to {
		transform: scale(1.02);
	}
}

@keyframes bvms-hero-drift {
	from {
		transform: scale(1.02) translate3d(0, 0, 0);
	}
	to {
		transform: scale(1.08) translate3d(-1.2%, -1%, 0);
	}
}

@keyframes bvms-hero-rise {
	from {
		transform: translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes bvms-hero-glow {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(241, 174, 68, 0.45);
	}
	50% {
		box-shadow: 0 0 0 10px rgba(241, 174, 68, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bvms-hero-bg,
	.bvms-hero-content > *,
	.bvms-hero-button {
		animation: none !important;
	}
}

.bvms-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	margin: 0;
	font-family: "Poppins", sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #f1ae44;
}

.bvms-hero-eyebrow::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
}

.bvms-hero .bvms-hero-heading {
	margin: 0;
	font-family: "Playfair Display", "Helvetica Neue", Helvetica, Arial, serif;
	font-size: clamp(2rem, 3.2vw + 1.1rem, 3.75rem);
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: -0.01em;
	max-width: 24ch;
	color: inherit;
}

.bvms-hero .bvms-hero-subheading {
	margin: 0;
	font-family: "Poppins", sans-serif;
	font-size: clamp(1rem, 0.6vw + 0.85rem, 1.15rem);
	line-height: 1.6;
	max-width: 46ch;
	color: #f2ede1;
}

.bvms-hero-align-left .bvms-hero-heading {
	position: relative;
}

.bvms-hero-align-center {
	align-items: center;
	text-align: center;
}

.bvms-hero-align-center .bvms-hero-eyebrow::before {
	display: none;
}

.bvms-hero-align-right {
	align-items: flex-end;
	text-align: right;
	margin-left: auto;
}

.bvms-hero-align-right .bvms-hero-eyebrow {
	flex-direction: row-reverse;
}

.bvms-hero-actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.bvms-hero-button {
	position: relative;
	display: inline-block;
	margin-top: 0.25rem;
	padding: 0.85em 2em;
	border-radius: 999px;
	background: #f1ae44;
	color: #241d15;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
	animation: bvms-hero-glow 3.2s ease-in-out 1.4s infinite;
}

.bvms-hero-button:hover {
	background-color: #f6c169;
	transform: translateY(-2px);
	color: #241d15;
}

.bvms-hero-button:focus-visible {
	outline: 2px solid #fbf6ee;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.bvms-hero-outer {
		padding: 8px 12px 12px;
	}

	.bvms-hero {
		min-height: 68vh;
		border-radius: 36px;
	}

	.bvms-hero-content {
		max-width: 100%;
		padding: 8vw 6vw;
		gap: 0.85rem;
	}

	/* On narrow screens the text spans the full width, so a left-anchored wash
	 * would leave it sitting on the bright part of the photo. Swap to a
	 * bottom-anchored vertical scrim that follows the lower-left content. */
	.bvms-hero-overlay {
		background:
			linear-gradient(
				0deg,
				rgba(28, 20, 16, 0.94) 0%,
				rgba(28, 20, 16, 0.82) 30%,
				rgba(28, 20, 16, 0.4) 58%,
				rgba(28, 20, 16, 0.08) 82%,
				rgba(28, 20, 16, 0) 100%
			);
	}

	.bvms-hero-tint {
		mask-image: linear-gradient(0deg, #000 0%, #000 45%, transparent 78%);
		-webkit-mask-image: linear-gradient(0deg, #000 0%, #000 45%, transparent 78%);
	}
}

/*
 * Navbar height: the parent theme gives each top-level menu item 40px of
 * top/bottom padding, which makes the header row tall and leaves dead space
 * below the links. Trim it so the nav is compact and the hero sits closer.
 * Scoped to the desktop (horizontal) menu only — below the theme's menu
 * breakpoint the links collapse into the mobile drawer, which we leave alone.
 */
@media (min-width: 992px) {
	.header-v1 .gva-main-menu > li,
	.header-v2 .gva-main-menu > li {
		padding-top: 22px;
		padding-bottom: 22px;
	}
}
