/* -------------------------------------------------------------------------
   Hero section
   ------------------------------------------------------------------------- */

.home-hero {
	position: relative;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: var(--fhh-color-cream-warm);
}

.home-hero__inner {
	display: grid;
	gap: 0;
	max-width: none;
	margin: 0;
	padding: 0;
}

.home-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.75rem, 4vw, 2.5rem) var(--fhh-container-padding);
}

.home-hero__title {
	margin: 0 0 0.85rem;
	font-size: clamp(1.85rem, 3.5vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--fhh-color-text);
}

.home-hero__title .fhh-script {
	display: block;
	margin-top: 1.3rem;
	font-size: clamp(2.25rem, 4.5vw, 3.25rem);
	font-weight: 400;
	line-height: 1.05;
	color: var(--fhh-color-pink);
}

.home-hero__text {
	max-width: 26rem;
	margin: 0 0 0.25rem;
	font-size: var(--fhh-text-base);
	line-height: var(--fhh-leading-relaxed);
	color: var(--fhh-color-text-muted);
}

.home-hero__media {
	position: relative;
	margin: 0;
	overflow: hidden;
}

.home-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(245, 240, 234, 0.15) 0%,
		rgba(245, 240, 234, 0) 35%
	);
	pointer-events: none;
}

.home-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

/* Mobile: full-width photo with left-aligned overlay copy */
/* Mobile: hero starts below solid white header — no overlap */
@media (max-width: 61.9375rem) {
	.home-page .home-hero {
		position: relative;
		z-index: 1;
		margin-top: 0;
		background-color: var(--fhh-color-cream-warm);
	}

	.home-page .home-hero__inner {
		position: relative;
		display: block;
		min-height: clamp(22rem, 100vw, 30rem);
	}

	.home-page .home-hero__media {
		position: absolute;
		inset: 0;
		z-index: 0;
		aspect-ratio: unset;
		max-height: none;
	}

	.home-page .home-hero__media::after {
		background:
			linear-gradient(
				180deg,
				rgba(250, 247, 244, 0.2) 0%,
				rgba(250, 247, 244, 0) 18%
			),
			linear-gradient(
				90deg,
				rgba(250, 247, 244, 0.97) 0%,
				rgba(245, 240, 234, 0.94) 22%,
				rgba(245, 240, 234, 0.82) 38%,
				rgba(245, 240, 234, 0.52) 52%,
				rgba(245, 240, 234, 0.18) 66%,
				rgba(245, 240, 234, 0) 80%
			);
	}

	.home-page .home-hero__image {
		min-height: 100%;
		object-position: 48% 25%;
	}

	.home-page .home-hero__content {
		position: relative;
		z-index: 1;
		align-items: flex-start;
		justify-content: flex-start;
		min-height: clamp(22rem, 100vw, 30rem);
		max-width: min(18rem, 78%);
		container-type: inline-size;
		text-align: left;
		padding-top: clamp(7.25rem, calc(3.5vw + 6.25rem), 8rem);
		padding-bottom: clamp(1.5rem, 4vw, 2rem);
	}

	.home-page .home-hero__title {
		font-size: clamp(1.85rem, 5.75cqi, 2.2rem);
		color: var(--fhh-color-text);
		text-shadow: 0 0 0.75rem rgba(250, 247, 244, 0.55);
	}

	.home-page .home-hero__title .fhh-script {
		font-size: clamp(2.75rem, 17.5cqi, 4.25rem);
		line-height: 1.05;
		text-shadow: none;
	}

	.home-page .home-hero__text {
		max-width: 100%;
		color: var(--fhh-color-text);
		text-shadow: 0 0 0.65rem rgba(250, 247, 244, 0.5);
	}

	.home-page .home-hero__content .fhh-button {
		align-self: flex-start;
		margin-top: 1.1rem;
		min-height: 2.85rem;
		padding: 0.7rem 1.65rem;
	}
}

/* Desktop: compact split — height driven by image, not viewport */
@media (min-width: 62rem) {
	.home-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		align-items: stretch;
	}

	.home-page .home-hero__content {
		padding-top: calc(
			clamp(1.75rem, 2.5vw, 2.25rem) + var(--fhh-logo-breakout)
		);
	}

	.home-hero__content {
		container-type: inline-size;
		padding-top: clamp(1.75rem, 2.5vw, 2.25rem);
		padding-bottom: clamp(1.75rem, 2.5vw, 2.25rem);
		padding-left: max(
			var(--fhh-container-padding),
			calc((100vw - var(--fhh-container-max)) / 2 + var(--fhh-container-padding))
		);
		padding-right: clamp(1.5rem, 4vw, 3rem);
	}

	.home-hero__title {
		font-size: clamp(2rem, 5.5cqi, 2.5rem);
	}

	.home-hero__title .fhh-script {
		font-size: clamp(3.75rem, 16cqi, 5.5rem);
	}

	.home-hero__content .fhh-button {
		margin-top: 1.1rem;
	}

	.home-hero__media {
		align-self: stretch;
		display: flex;
		width: 100%;
		min-height: clamp(20rem, 32vw, 28rem);
		overflow: hidden;
	}

	.home-hero__media::after {
		background: linear-gradient(
			90deg,
			var(--fhh-color-cream-warm) 0%,
			rgba(245, 240, 234, 0.45) 12%,
			rgba(245, 240, 234, 0) 28%
		);
	}

	.home-hero__image {
		display: block;
		flex: 1 1 auto;
		width: 100%;
		height: 100%;
		min-height: 100%;
		object-fit: cover;
		object-position: center 18%;
	}
}

@media (min-width: 75rem) {
	.home-hero__inner {
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	}
}
