/* ==================================================
   HERO — Mobile First
   Loaded ONLY on the front page when a hero image is set
   (see inc/components/hero.php for the conditional enqueue).
================================================== */

/* Base = mobile */
.hero {
	display: block;
	overflow: hidden;
}

.hero-media {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

.hero-content {
	background: #F7F3EF;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2.5rem 0.625rem;
	position: relative;
}

.hero-eyebrow {
	font-family: var(--serif);
	font-size: 0.875rem;
	font-style: italic;
	font-weight: 400;
	color: var(--accent);
	letter-spacing: 0.04em;
	margin-bottom: 0.875rem;
	display: block;
}

.hero-h1 {
	font-family: var(--serif);
	font-size: clamp(2.25rem, 10vw, 3.25rem);
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: -0.01em;
	color: var(--black);
	margin-bottom: 0.5rem;
}

.hero-h1 span {
	display: block;
}

.hero-script {
	font-family: var(--serif);
	font-size: clamp(1.625rem, 7vw, 2.375rem);
	font-style: italic;
	font-weight: 400;
	color: var(--accent);
	line-height: 1.1;
	margin-bottom: 1.25rem;
}

.hero-sub {
	font-size: 0.78125rem;
	font-weight: 300;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	line-height: 1.8;
	margin-bottom: 2rem;
}

.hero-cta-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.875rem;
}

/* ─── TABLET (≥641px) ─── */
@media (min-width: 641px) {

	.hero-content {
		padding: 3.5rem 2.5rem;
	}

	.hero-sub {
		margin-bottom: 2.5rem;
	}

}

/* ─── DESKTOP (≥901px) ─── */
@media (min-width: 901px) {

	.hero {
		display: grid;
		grid-template-columns: 1.05fr 0.95fr;
		min-height: 90vh;
	}

	.hero-media {
		aspect-ratio: auto;
		height: 100%;
	}

	.hero-content {
		padding: 5rem 4.5rem 5rem 4rem;
	}

	.hero-eyebrow {
		font-size: 1rem;
		margin-bottom: 1.25rem;
	}

	.hero-h1 {
		font-size: clamp(3.25rem, 5.5vw, 5rem);
		margin-bottom: 0.625rem;
	}

	.hero-script {
		font-size: clamp(2.375rem, 4vw, 3.625rem);
		margin-bottom: 1.75rem;
	}

	.hero-sub {
		font-size: 0.875rem;
		letter-spacing: 0.07em;
		margin-bottom: 3rem;
	}

	.hero-cta-group {
		gap: 1rem;
	}

}

/* ─── Hover-only image zoom — pointer devices only ─── */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {

	.hero-media img {
		transition: transform 8s ease;
	}

	.hero:hover .hero-media img {
		transform: scale(1.04);
	}

}

@media (prefers-reduced-motion: reduce) {

	.hero-media img {
		transition: none !important;
	}

	.hero:hover .hero-media img {
		transform: none !important;
	}

}