/* ==========================================
   PRIME INDIA — HERO
========================================== */

.prime-hero {
	position: relative;
	isolation: isolate;

	/* Fill the visible screen below the desktop header */
	min-height: calc(100svh - 74px);
	padding: 70px 24px 42px;

	display: flex;
	align-items: center;
	justify-content: center;

	overflow: hidden;

	background:
		radial-gradient(
			circle at 50% 46%,
			rgba(230, 157, 0, 0.19) 0%,
			rgba(230, 157, 0, 0.09) 24%,
			rgba(230, 157, 0, 0.025) 43%,
			transparent 64%
		),
		#101720;
}

/* ==========================================
   PLUS-SIGN BACKGROUND PATTERN
========================================== */

.prime-hero__pattern {
	position: absolute;
	inset: 0;
	z-index: -1;

	pointer-events: none;
	opacity: 0.12;

	background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 10v10M10 15h10' stroke='%23ffffff' stroke-width='1' stroke-linecap='square' opacity='.75'/%3E%3C/svg%3E");
	background-position: center;
	background-size: 30px 30px;
}

/* Slight dark fade at the outer edges */
.prime-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;

	pointer-events: none;

	background:
		linear-gradient(
			to right,
			rgba(11, 17, 26, 0.3),
			transparent 24%,
			transparent 76%,
			rgba(11, 17, 26, 0.3)
		),
		linear-gradient(
			to bottom,
			rgba(11, 17, 26, 0.03),
			rgba(11, 17, 26, 0.14)
		);
}

/* ==========================================
   HERO CONTENT
========================================== */

.prime-hero__inner {
	position: relative;
	z-index: 2;

	width: min(100%, 960px);
	margin-inline: auto;
	text-align: center;

	transform: translateY(-4px);
}

.prime-hero__eyebrow {
	margin: 0 0 24px;

	color: var(--color-gold);
	font-family: var(--font-body);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.42em;
	text-transform: uppercase;
}

.prime-hero__title {
	margin: 0;

	color: #fffdf8;
	font-family: var(--font-heading);
	font-size: clamp(4.6rem, 7.1vw, 6.65rem);
	font-weight: 700;
	line-height: 0.88;
	letter-spacing: -0.047em;
}

.prime-hero__title span {
	display: block;
	color: var(--color-gold);
}

/* ==========================================
   DESCRIPTION
========================================== */

.prime-hero__description {
	max-width: 650px;
	margin: 30px auto 0;

	color: rgba(255, 255, 255, 0.69);
	font-family: var(--font-body);
	font-size: 1.14rem;
line-height: 1.7;
	font-weight: 500;
	line-height: 1.65;
}

/* ==========================================
   STATS
========================================== */

.prime-hero__stats {
	margin-top: 54px;

	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: clamp(72px, 10vw, 145px);
}

.prime-hero__stat {
	min-width: 135px;

	display: flex;
	flex-direction: column;
	align-items: center;
}

.prime-hero__stat strong {
	display: block;

	color: var(--color-gold);
	font-family: var(--font-heading);
	font-size: clamp(2.7rem, 3.8vw, 3.5rem);
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: -0.025em;
}

.prime-hero__stat span {
	margin-top: 10px;

	color: rgba(255, 255, 255, 0.58);
	font-family: var(--font-body);
	font-size: 0.56rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* ==========================================
   SCROLL ARROW
========================================== */

.prime-hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 17px;
	z-index: 3;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 34px;
	height: 34px;

	color: var(--color-gold);
	text-decoration: none;

	transform: translateX(-50%);
	animation: primeHeroBounce 2s ease-in-out infinite;
}

.prime-hero__scroll svg {
	width: 27px;
	height: 27px;

	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ==========================================
   ENTRANCE ANIMATIONS
========================================== */

@keyframes primeHeroFadeUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes primeHeroBounce {
	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translate(-50%, 0);
	}

	40% {
		transform: translate(-50%, -7px);
	}

	60% {
		transform: translate(-50%, -3px);
	}
}

.prime-hero__eyebrow,
.prime-hero__title,
.prime-hero__description,
.prime-hero__stats {
	opacity: 0;
	animation: primeHeroFadeUp 650ms ease forwards;
}

.prime-hero__title {
	animation-delay: 100ms;
}

.prime-hero__description {
	animation-delay: 220ms;
}

.prime-hero__stats {
	animation-delay: 340ms;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

	.prime-hero {
		min-height: calc(100svh - 68px);
		padding: 54px 22px 52px;
	}

	.prime-hero__inner {
		transform: none;
	}

	.prime-hero__title {
		font-size: clamp(4rem, 11.5vw, 5.4rem);
	}

	.prime-hero__stats {
		gap: clamp(34px, 8vw, 72px);
	}
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

	.prime-hero {
		/*
		 * Reference site uses almost one complete phone screen
		 * below the mobile header.
		 */
		min-height: calc(100svh - 68px);
		padding: 32px 18px 44px;

		align-items: center;
	}

	.prime-hero__pattern {
		opacity: 0.13;
		background-size: 26px 26px;
	}

	.prime-hero__inner {
		width: 100%;
	}

	.prime-hero__eyebrow {
		margin-bottom: 18px;

		font-size: 0.60rem;
		letter-spacing: 0.36em;
	}

	.prime-hero__title {
		font-size: clamp(3.2rem, 15vw, 4.4rem);
		line-height: 0.92;
		letter-spacing: -0.045em;
	}

	.prime-hero__description {
		max-width: 340px;
		margin-top: 25px;

		font-size: 0.88rem;
line-height: 1.75;
		font-weight: 500;
		line-height: 1.7;
	}

	.prime-hero__stats {
		margin-top: 43px;
		gap: 12px;

		width: 100%;
	}

	.prime-hero__stat {
		flex: 1;
		min-width: 0;
	}

	.prime-hero__stat strong {
		font-size: clamp(2rem, 10vw, 2.6rem);
	}

	.prime-hero__stat span {
		margin-top: 8px;

		font-size: 0.4rem;
		letter-spacing: 0.07em;
		white-space: nowrap;
	}

	.prime-hero__scroll {
		bottom: 8px;
	}
}

/* ==========================================
   VERY SMALL MOBILE
========================================== */

@media (max-width: 380px) {

	.prime-hero {
		padding-inline: 13px;
	}

	.prime-hero__eyebrow {
		font-size: 0.47rem;
	}

	.prime-hero__title {
		font-size: clamp(2.9rem, 14.5vw, 3.55rem);
	}

	.prime-hero__description {
		max-width: 305px;
		font-size: 0.7rem;
	}

	.prime-hero__stats {
		gap: 7px;
	}

	.prime-hero__stat strong {
		font-size: 1.85rem;
	}

	.prime-hero__stat span {
		font-size: 0.36rem;
		letter-spacing: 0.045em;
	}
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

	.prime-hero__eyebrow,
	.prime-hero__title,
	.prime-hero__description,
	.prime-hero__stats,
	.prime-hero__scroll {
		opacity: 1;
		animation: none;
	}
}