/*
 * NPU Hero block.
 * Figma reference: 0277aepgvQrSa8qJCDLosA — node 293:229.
 */

.npu-hero {
	position: relative;
	min-height: 680px;
	display: flex;
	align-items: flex-end;
	padding: var(--npu-block-padding-top) 0 var(--npu-block-padding-bottom);
	overflow: hidden;
	background-color: var(--npu-purple-deep);
	color: var(--npu-text-on-dark);
}

.npu-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}

.npu-hero__bg--placeholder {
	background: var(--npu-purple-deep);
}

.npu-hero__overlay {
	position: absolute;
	inset: 0;
	background: var(--npu-purple-deep);
	opacity: 0.3;
	z-index: 1;
	pointer-events: none;
}

.npu-hero__gradient {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to right, var(--npu-purple-deep) 0%, var(--npu-purple-deep) 65%, rgba(47, 25, 73, 0) 90%);
	opacity: 0.85;
	z-index: 2;
	pointer-events: none;
}

.npu-hero__decoration {
	position: absolute;
	bottom: -136px;
	left: -250px;
	width: 614px;
	height: 614px;
	background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
	z-index: 3;
	pointer-events: none;
}

.npu-hero__inner {
	position: relative;
	z-index: 4;
	width: 100%;
}

.npu-hero__column {
	display: flex;
	flex-direction: column;
	gap: var(--npu-gap-medium);
	max-width: 750px;
}

.npu-hero__title {
	font-family: var(--npu-font-display);
	font-weight: 700;
	font-size: 46px;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: inherit;
	margin: 0;
}

.npu-hero__subhead {
	font-family: var(--npu-font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.4;
	color: inherit;
	margin: 0;
}

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

	.npu-hero__title {
		font-size: 36px;
	}

	.npu-hero__decoration {
		display: none;
	}
}

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

	.npu-hero__title {
		font-size: 28px;
	}
}
