/**
 * TPL-NORMAL — Normal Page template (templates/tpl-normal.php).
 * All rules scoped under .wmsf-tpl-normal. Tokens from global.css (--wmsf-*).
 * Mobile-first; enhances at 700 / 960px.
 */

/* ---- Page wrapper ------------------------------------------------------- */

.wmsf-tpl-normal {
	color: var(--wmsf-ink);
	font-family: var(--wmsf-font);
}

/* ---- Hero band: full-width dark background ------------------------------ */

.wmsf-tpl-normal__hero {
	background: #0a1628;
	padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px);
}

.wmsf-tpl-normal__hero-inner {
	max-width: var(--wmsf-nav);
	margin-inline: auto;
	padding-inline: var(--wmsf-gutter);
}

/* Eyebrow pill — matches tpl-ad-inquiry eyebrow style */
.wmsf-tpl-normal__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: var(--wmsf-r-pill);
	background: color-mix(in srgb, var(--wmsf-ink) 5%, transparent);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .14em;
	line-height: 1.65;
	text-transform: uppercase;
	color: var(--wmsf-ink-2);
}
.wmsf-tpl-normal__eyebrow i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wmsf-accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--wmsf-accent) 18%, transparent);
}

/* Page title */
.wmsf-tpl-normal__title {
	margin: 22px 0 0;
	font-size: clamp(30px, 5.4vw, 50px);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 1.06;
	color: #fff;
	text-wrap: balance;
}

/* Optional subtitle */
.wmsf-tpl-normal__hero-inner > p,
.wmsf-tpl-normal__hero-desc {
	margin: 16px 0 0;
	max-width: 54ch;
	font-size: clamp(15px, 1.4vw, 17px);
	line-height: 1.7;
	color: rgba(255, 255, 255, .72);
}

/* ---- Body: page-width content column ----------------------------------- */

.wmsf-tpl-normal__body {
	max-width: 960px;
	margin-inline: auto;
	padding-inline: var(--wmsf-gutter);
	padding-block: clamp(40px, 6vw, 80px);
}

/* ---- Prose: readable text column --------------------------------------- */

.wmsf-tpl-normal__prose :is(h2, h3, h4) {
	margin: 1.6em 0 .5em;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.25;
	color: var(--wmsf-ink);
}
.wmsf-tpl-normal__prose h2 { font-size: clamp(22px, 2.4vw, 28px); }
.wmsf-tpl-normal__prose h3 { font-size: clamp(19px, 2vw, 22px); }
.wmsf-tpl-normal__prose h4 { font-size: 17px; }

.wmsf-tpl-normal__prose p {
	margin: 0 0 1.2em;
	font-size: 17px;
	line-height: 1.75;
	color: var(--wmsf-ink);
}

.wmsf-tpl-normal__prose :is(ul, ol) {
	margin: 0 0 1.2em;
	padding-left: 1.6em;
	font-size: 17px;
	line-height: 1.75;
	color: var(--wmsf-ink);
}
.wmsf-tpl-normal__prose li { margin-bottom: .4em; }

.wmsf-tpl-normal__prose a {
	color: var(--wmsf-accent-text);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wmsf-tpl-normal__prose blockquote {
	margin: 1.4em 0;
	padding: 14px 20px;
	border-left: 4px solid var(--wmsf-accent);
	background: var(--wmsf-bg-2);
	border-radius: 0 8px 8px 0;
	font-size: 16.5px;
	color: var(--wmsf-ink-2);
}

/* ---- Breakpoints ------------------------------------------------------- */

@media (min-width: 700px) {
	.wmsf-tpl-normal__hero {
		padding-block: clamp(64px, 9vw, 112px) clamp(56px, 7vw, 88px);
	}
}

@media (min-width: 960px) {
	.wmsf-tpl-normal__prose p,
	.wmsf-tpl-normal__prose :is(ul, ol) {
		font-size: 18px;
	}
}

/* ---- Reduced motion ---------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.wmsf-tpl-normal * { transition: none; animation: none; }
}
