/* ==========================================================================
   Narrative Section
   ========================================================================== */

.narrative-section {
	padding: 5rem 1.5rem;
	position: relative;
}

/* ---- Background variants ---- */

.narrative-section--light {
	background: var(--theme-palette-color-8, #FFFFFF);
	color: var(--theme-palette-color-3, #1A2A3A);
}

.narrative-section--dark {
	background: var(--theme-palette-color-3, #1A2A3A);
	color: var(--theme-palette-color-8, #FFFFFF);
}

.narrative-section--subtle {
	background: var(--theme-palette-color-9, #F0EEEA);
	color: var(--theme-palette-color-3, #1A2A3A);
}

/* ---- Inner container ---- */

.narrative-section__inner {
	margin: 0 auto;
}

.narrative-section__inner--narrow {
	max-width: 700px;
}

.narrative-section__inner--medium {
	max-width: 900px;
}

.narrative-section__inner--center {
	text-align: center;
}

/* ---- Eyebrow ---- */

.narrative-section__eyebrow {
	display: inline-block;
	font-family: var(--fw-font-mono, 'JetBrains Mono', monospace);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--theme-palette-color-1, #E8B931);
	margin-bottom: 1rem;
}

.narrative-section--dark .narrative-section__eyebrow {
	color: var(--theme-palette-color-1, #E8B931);
}

/* ---- Headline ---- */

.narrative-section__headline,
h2.narrative-section__headline {
	font-family: var(--fw-font-serif, 'DM Serif Display', Georgia, serif);
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin-bottom: 2rem;
	color: inherit;
}

/* ---- Body ---- */

.narrative-section__body {
	font-family: var(--fw-font-sans, 'DM Sans', sans-serif);
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	line-height: 1.8;
	color: inherit;
}

.narrative-section--light .narrative-section__body,
.narrative-section--subtle .narrative-section__body {
	color: var(--theme-palette-color-4, #555555);
}

.narrative-section--dark .narrative-section__body {
	color: rgba(255, 255, 255, 0.85);
}

.narrative-section__body p + p {
	margin-top: 1.25em;
}

.narrative-section__body strong {
	font-weight: 600;
	color: inherit;
}

.narrative-section--light .narrative-section__body strong,
.narrative-section--subtle .narrative-section__body strong {
	color: var(--theme-palette-color-3, #1A2A3A);
}

.narrative-section__body a {
	color: var(--theme-palette-color-1, #E8B931);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.narrative-section__body a:hover {
	opacity: 0.8;
}

/* ---- Conclusion ---- */

.narrative-section__conclusion {
	font-family: var(--fw-font-sans, 'DM Sans', sans-serif);
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.6;
	margin-top: 2.5rem;
	color: inherit;
}

.narrative-section--light .narrative-section__conclusion,
.narrative-section--subtle .narrative-section__conclusion {
	color: var(--theme-palette-color-3, #1A2A3A);
}

.narrative-section__conclusion--accent-border {
	padding-left: 1.25rem;
	border-left: 3px solid var(--theme-palette-color-1, #E8B931);
}

.narrative-section__conclusion--centered {
	text-align: center;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* ---- scroll-reveal support ---- */

.narrative-section[data-reveal] {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.narrative-section[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
	.narrative-section {
		padding: 3.5rem 1.25rem;
	}

	.narrative-section__headline,
	h2.narrative-section__headline {
		margin-bottom: 1.5rem;
	}
}

@media (max-width: 480px) {
	.narrative-section {
		padding: 2.5rem 1rem;
	}
}
