/**
 * Homepage hero. Image and video are optional; the gradient holds the
 * layout when neither is set.
 */

.bsai-hero {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: calc(var(--bsai-header-offset) + 2.5rem) 1.5rem 11rem;
	text-align: center;
	color: var(--bsai-white);
	background-color: var(--bsai-navy);
	background-image:
		radial-gradient(900px 420px at 78% 18%, rgba(120, 168, 214, 0.28), transparent 62%),
		radial-gradient(700px 380px at 12% 80%, rgba(18, 58, 102, 0.55), transparent 70%),
		linear-gradient(180deg, rgba(8, 22, 40, 0.15) 0%, rgba(8, 22, 40, 0.2) 42%, rgba(8, 22, 40, 0.72) 100%),
		linear-gradient(160deg, #245684 0%, #16375c 42%, #0c223c 100%);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.bsai-hero.has-image {
	background-size: cover;
	background-position: center;
}

.bsai-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bsai-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 18, 34, 0.28) 0%, rgba(7, 18, 34, 0.58) 100%);
}

.bsai-hero__content {
	position: relative;
	z-index: 1;
	width: min(920px, 100%);
}

body.bsai .bsai-hero__title {
	margin: 0;
	color: var(--bsai-white);
	font-size: clamp(2.7rem, 5.4vw, 4.75rem);
	font-weight: var(--bsai-weight-title);
	letter-spacing: -0.035em;
	line-height: 1.02;
}

.bsai-hero__subtitle {
	margin: 1.35rem auto 0;
	max-width: 44rem;
	color: rgba(255, 255, 255, 0.92);
	font-family: var(--bsai-font-display);
	font-size: clamp(0.82rem, 1.35vw, 1.02rem);
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.55;
	text-transform: uppercase;
}

.bsai-hero .bsai-button {
	margin-top: 2rem;
}

@media (max-width: 700px) {
	.bsai-hero {
		min-height: 100svh;
		padding-bottom: 8.5rem;
	}

	.bsai-hero__subtitle {
		letter-spacing: 0.08em;
	}
}
