/* ==========================================================================
   FSP Sprout — Initiative page (template-initiative.php)
   Thin layer of utility classes on top of the existing design system. All
   color / type / spacing tokens come from main.css :root vars — this file
   adds no new design language, only the small per-section overrides that
   were previously inline in the prototype.
   ========================================================================== */

/* ---- Hero ---------------------------------------------------------------- */
.init-hero h1{ font-size: clamp(34px, 5vw, 56px); margin-top: 0; }

/* ---- Intro --------------------------------------------------------------- */
.init-intro{
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.init-intro__lede{
	font-size: 21px;
	line-height: 1.6;
	color: var(--ink);
	font-family: var(--display);
	font-weight: 500;
	letter-spacing: -0.01em;
}
.init-intro__body{
	font-size: 18px;
	line-height: 1.75;
	color: var(--slate);
}

/* ---- Section bands (mirror existing wash/fade patterns) ----------------- */
.init-band-wash{
	background: linear-gradient(180deg, var(--wash), var(--paper));
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.init-band-fade{
	background: linear-gradient(180deg, #fff, var(--paper));
	border-top: 1px solid var(--line);
}

/* ---- Shared text/heading utilities -------------------------------------- */
.init-h2{ margin: 14px 0 18px; }
.init-h4{ font-size: 20px; margin-bottom: 8px; }
.init-h4--sm{ font-size: 19px; margin-bottom: 8px; }
.init-stack{ display: flex; flex-direction: column; gap: 18px; }
.init-p{
	font-size: 17px;
	line-height: 1.7;
	color: var(--slate);
}
.init-p--em{
	color: var(--ink);
	font-weight: 500;
}

/* ---- Section heading ---------------------------------------------------- */
.init-sec-head{ margin-bottom: 38px; }
.init-sec-head--left{ margin-bottom: 30px; max-width: 680px; }

/* ---- Hero cover image ---------------------------------------------------
   Container matches the 16:9 ratio of the WordPress `fsp-feature` size
   (1280x720) so a properly sized Featured Image renders without any crop.
   `object-position: left center` biases any unavoidable horizontal crop
   toward the left side of the photo (useful for group shots where the
   subjects on the left should stay visible). */
.init-cover{
	position: relative;
	border-radius: var(--r-xl);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	box-shadow: var(--sh-lg);
	border: 1px solid var(--line);
}
.init-cover__img,
.init-cover img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
	display: block;
}
.init-cover__ph{ width: 100%; height: 100%; }

/* ---- Mission / promo band ---------------------------------------------- */
.init-eyebrow--gold{ color: var(--gold); }
.init-eyebrow--soft{ color: #cdeccf; }
.init-promo__p{
	color: #dcefe0;
	max-width: 48ch;
	margin-bottom: 16px;
}
.init-promo__p:last-of-type{ margin-bottom: 0; }
.init-promo__art{ display: grid; place-items: center; }
.init-promo__il{ filter: drop-shadow(0 16px 30px rgba(0,0,0,.25)); }

/* ---- Steps / values --------------------------------------------------- */
.init-step-badge{ margin-bottom: 10px; }
.init-step-h{ font-size: 21px; margin-bottom: 8px; }
.init-step-p{
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
}
.init-value--white{ background: #fff; }
.init-card__p{
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
}

/* ---- Partners card ----------------------------------------------------- */
.init-partners{
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-sm);
	padding: clamp(24px, 3vw, 36px);
}
.init-partners__list{
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px 28px;
}
.init-partners__list li{
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16.5px;
	color: var(--ink);
	font-weight: 500;
}
.init-partners__tick{
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--wash);
	color: var(--primary);
	display: grid;
	place-items: center;
	flex: none;
}
.init-partners__note{
	margin: 26px 0 0;
	font-size: 16px;
	line-height: 1.65;
	max-width: 62ch;
}

/* ---- "What students receive" lp-get tweaks ----------------------------- */
.init-get__lede{ margin: 0 0 4px; }
.init-get__foot{
	margin: 22px 0 0;
	font-size: 16px;
	line-height: 1.65;
	max-width: 52ch;
}

/* ---- Measuring impact -------------------------------------------------- */
.init-mission--top{ align-items: start; }
.init-report{
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--sh-sm);
	padding: 28px 30px;
}
.init-report__h{
	font-family: var(--ui);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--slate);
	margin-bottom: 18px;
}
.init-report__list{
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.init-report__list li{
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	color: var(--ink);
	font-weight: 500;
}
.init-report__ic{
	width: 24px;
	height: 24px;
	border-radius: 7px;
	background: var(--gold-wash);
	color: var(--gold-deep);
	display: grid;
	place-items: center;
	flex: none;
}

/* ---- Vision band ------------------------------------------------------- */
.init-vision__p{
	color: #e4f2e6;
	max-width: 58ch;
	margin-inline: auto;
	margin-bottom: 16px;
}
.init-vision__p:last-child{ margin-bottom: 0; }

/* ---- Get involved callout --------------------------------------------- */
.init-callout{
	max-width: 820px;
	margin: 0 auto;
	padding: clamp(28px, 4vw, 40px);
}
.init-callout__h{ margin: 10px 0 12px; }
.init-callout__p{
	margin: 0 0 10px;
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--slate);
}

/* ---- Contact modal ----------------------------------------------------- */
.init-modal{
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(20, 40, 26, .55);
	backdrop-filter: blur(3px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .22s;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
}
.init-modal.open{
	opacity: 1;
	visibility: visible;
}
.init-modal__panel{
	position: relative;
	width: min(680px, 100%);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	box-shadow: var(--sh-lg);
	padding: clamp(24px, 4vw, 40px);
	animation: init-modal-in .22s ease both;
}
@keyframes init-modal-in{
	from{ opacity: 0; transform: translateY(8px); }
	to{   opacity: 1; transform: none; }
}
.init-modal__close{
	position: absolute;
	top: 14px;
	right: 14px;
}
.init-modal__body{
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.init-modal__title{ margin: 6px 0 4px; }
.init-modal__lead{
	font-size: 16px;
	line-height: 1.6;
	color: var(--slate);
	margin: 0 0 6px;
}

.init-form{
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 4px;
}
.init-form__row{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.init-form__req{
	color: var(--gold-deep);
	font-weight: 700;
	margin-left: 2px;
}
.init-form__actions{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 4px;
}
.init-form__hint{
	font-size: 13px;
	color: var(--muted);
	font-weight: 600;
}
.init-form__error{
	background: #fdecea;
	border: 1px solid #f2c2bd;
	color: #8a2a23;
	border-radius: var(--r-sm);
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 500;
}
.init-form__success{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	padding: 26px 24px;
	background: var(--wash);
	border: 1px solid var(--mint);
	border-radius: var(--r-lg);
	text-align: center;
}
.init-form__success-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--primary);
	color: #fff;
	box-shadow: 0 4px 14px rgba(46, 125, 50, .2);
}
.init-form__success-title{
	font-family: var(--display);
	font-size: clamp(20px, 2.4vw, 24px);
	color: var(--forest);
	margin-top: 4px;
}
.init-form__success-text{
	color: var(--slate);
	font-size: 15.5px;
}

/* Honeypot — visually hidden but staying in the tab order is fine because
   real keyboard users will skip past in a single tab; bots fill it anyway. */
.init-form__hp{
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* When submitting, dim the button so the loading state reads. */
.init-form [data-init-contact-submit][disabled]{
	opacity: .7;
	cursor: progress;
}

/* Body scroll-lock helper toggled by the JS when the modal opens. */
body.init-modal-open{ overflow: hidden; }

/* The `hidden` attribute must override the success display rule. */
.init-modal [hidden]{ display: none !important; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 860px){
	.init-mission--top{ align-items: stretch; }
	.init-report{ padding: 22px 22px; }
}
@media (max-width: 720px){
	.init-intro__lede{ font-size: 19px; }
	.init-intro__body{ font-size: 17px; }
	.init-partners{ padding: 20px; }
	.init-partners__list{ grid-template-columns: 1fr; gap: 12px; }
	.init-form__row{ grid-template-columns: 1fr; gap: 14px; }
	.init-form__actions{ flex-direction: column-reverse; align-items: stretch; gap: 10px; }
	.init-form__actions .btn{ width: 100%; }
	.init-form__hint{ text-align: center; }
}
