/*
 * Hero section: full-width rounded image, dark gradient overlay, centered
 * content. Builds on the .card / .card-media primitives from Phase 2.
 */

.hero-media {
	position: relative;
	min-height: 420px;
	display: flex;
}

@media (min-width: 600px) {
	.hero-media {
		min-height: 520px;
	}
}

@media (min-width: 960px) {
	.hero-media {
		min-height: 640px;
	}
}

.hero-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-md);
	width: 100%;
	min-width: 0;
	padding: var(--space-2xl) var(--space-lg);
	text-align: center;
	color: var(--color-white);
}

.hero-title,
.hero-subheading {
	max-width: 100%;
}

/*
 * Faculty Glyphic, like every other heading — not .heading-display, which
 * is the bold widely-tracked Hind *wordmark* treatment for the logo
 * lockup. Applying that here was what made the title the wrong font.
 * Size matches the reference comp (~56px at 1440px), not --text-3xl's 68px.
 */
.hero-title {
	margin: 0;
	color: var(--color-white);
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.5rem); /* 36–56px */
	line-height: 1.1;
	text-transform: uppercase;
	overflow-wrap: break-word;
}

.hero-subheading {
	max-width: 42em;
	margin: 0;
	font-size: var(--text-md);
	line-height: 1.6;
}
