/* Purpose: home_gap – gold "The Real Gap" band (Home c1c5965): survey eyebrow, serif title + figure, italic statement,
   translucent note box and the gold pointer triangle that overlaps the top of the next section. */

.home-gap {
	--home-gap-cream: #FFF5D6;
	--home-gap-note-text: #1B2A41;
	--home-gap-note-bg: rgba(21, 39, 75, 0.15);

	position: relative;
	padding-inline: var(--space-16);
	background-color: var(--color-primary);
}

.home-gap .home-gap__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 50%;
}

.home-gap__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-20);
	max-width: var(--container-max);
	margin-inline: auto;
	padding: var(--space-24) 0;
}

.home-gap__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--space-16);
	width: 100%;
}

.home-gap__kicker {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-8);
	width: 100%;
}

.home-gap__eyebrow {
	margin: 0;
	color: var(--color-secondary);
	font-family: var(--font-body);
	font-size: var(--text-14);
	font-weight: var(--weight-semibold);
	line-height: var(--leading-snug);
	text-align: center;
	text-wrap: balance;
}

.home-gap__subheading {
	margin: 0;
	color: var(--color-white);
	font-family: var(--font-heading);
	font-size: var(--text-20);
	font-weight: var(--weight-medium);
	line-height: var(--leading-snug);
	text-align: center;
	text-wrap: balance;
}

.home-gap__title {
	width: 100%;
	margin: 0;
	color: var(--color-white);
	font-family: var(--font-display);
	font-size: var(--text-48);
	font-weight: var(--weight-black);
	line-height: var(--leading-snug);
	text-align: center;
	text-wrap: balance;
}

.home-gap__title span {
	color: var(--home-gap-cream);
}

.home-gap__figure {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	margin: -24px 0 0;
	color: var(--color-secondary);
	font-family: var(--font-display);
	font-size: var(--text-48);
	font-weight: var(--weight-black);
	line-height: var(--leading-snug);
	letter-spacing: -1.762px;
}

.home-gap__statement {
	width: 100%;
	margin: 0;
	padding-left: var(--space-16);
	color: var(--color-white);
	font-family: var(--font-display);
	font-size: 1.875rem; /* 30px */
	font-style: italic;
	font-weight: var(--weight-regular);
	line-height: var(--leading-snug);
	text-align: center;
	text-wrap: balance;
}

.home-gap__note-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.home-gap__note {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	padding: var(--space-16) var(--space-32);
	border-left: 3px solid var(--home-gap-note-text);
	border-radius: 16px;
	background-color: var(--home-gap-note-bg);
}

.home-gap__note-text,
.home-gap__source {
	width: 100%;
	margin: 0;
	color: var(--home-gap-note-text);
	font-family: var(--font-heading);
	font-size: var(--text-16);
	font-weight: var(--weight-regular);
	line-height: var(--leading-normal);
	text-align: start;
	text-wrap: pretty;
}

.home-gap__note-text strong {
	color: var(--color-navy);
	font-weight: var(--weight-medium);
}

.home-gap__source {
	margin-top: var(--space-10);
}

.home-gap__source-link {
	color: var(--home-gap-note-text);
	font-size: var(--text-14);
	text-decoration: underline;
	opacity: 0.85;
}

.home-gap__pointer {
	position: absolute;
	bottom: -22px;
	left: 50%;
	z-index: 1;
	width: 43px;
	max-width: 43px;
	height: auto;
	transform: translateX(-50%);
}

/* ------------------------------------------------------------ Tablet */
@media (min-width: 768px) {
	.home-gap {
		padding-inline: var(--space-20);
	}

	.home-gap__inner {
		gap: 0;
		padding: var(--space-40) 0;
	}

	.home-gap__head {
		align-items: flex-start;
		width: 66%;
		padding: var(--space-48) 0 var(--space-16);
	}

	.home-gap__eyebrow {
		text-align: start;
	}

	.home-gap__subheading {
		font-size: var(--text-24);
		text-align: start;
	}

	.home-gap__title {
		font-size: 3.75rem; /* 60px */
	}

	.home-gap__figure {
		flex-wrap: nowrap;
		align-items: center;
		font-size: 3.75rem;
	}

	.home-gap__statement {
		width: 74%;
		padding-left: var(--space-10);
		font-size: var(--text-24);
	}

	.home-gap__note-wrap {
		width: 70%;
		padding-top: var(--space-40);
	}

	.home-gap__note {
		padding: var(--space-24);
	}

	.home-gap__note-text,
	.home-gap__source {
		font-size: var(--text-18);
		text-align: center;
	}

	.home-gap__pointer {
		bottom: -39px;
		width: 72px;
		max-width: 72px;
	}
}

/* ------------------------------------------------------------ Desktop */
@media (min-width: 1025px) {
	.home-gap {
		padding-inline: var(--gutter);
	}

	.home-gap__inner {
		padding: var(--space-80) 0;
	}

	.home-gap__title {
		font-size: var(--text-120);
	}

	.home-gap__figure {
		gap: var(--space-8);
		margin-top: -44px;
		font-size: var(--text-120);
	}

	.home-gap__statement {
		width: 85%;
		font-size: 2.75rem; /* 44px */
	}

	.home-gap__note-wrap {
		width: 100%;
	}

	.home-gap__note {
		width: 700px;
		max-width: 100%;
		padding: var(--space-32) 70px;
	}

	.home-gap__note-text,
	.home-gap__source {
		font-size: var(--text-20);
	}
}
