/**
 * Scholarship Consultant theme — presentation layer.
 */

:root {
	--sc-ink: #0b1f33;
	--sc-ink-soft: #1a3348;
	--sc-mist: #e8eef2;
	--sc-paper: #f5f8f7;
	--sc-teal: #1a7a6d;
	--sc-teal-deep: #145f55;
	--sc-sand: #c5b49a;
	--sc-text: #142433;
	--sc-muted: #5a6b78;
	--sc-line: rgba(11, 31, 51, 0.12);
	--sc-radius: 2px;
	--sc-font-display: "Fraunces", "Georgia", serif;
	--sc-font-body: "Source Sans 3", "Segoe UI", sans-serif;
	--sc-shell: min(1120px, calc(100% - 2.5rem));
	--sc-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.sc-theme {
	margin: 0;
	color: var(--sc-text);
	font-family: var(--sc-font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	background:
		radial-gradient(1200px 600px at 10% -10%, rgba(26, 122, 109, 0.12), transparent 55%),
		radial-gradient(900px 500px at 100% 0%, rgba(197, 180, 154, 0.18), transparent 50%),
		linear-gradient(180deg, #f2f6f5 0%, var(--sc-paper) 40%, #eef3f1 100%);
	min-height: 100vh;
}

.sc-skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--sc-ink);
	color: #fff;
	padding: 0.5rem 1rem;
	z-index: 100;
}

.sc-skip-link:focus {
	left: 0.75rem;
	top: 0.75rem;
}

.sc-shell {
	width: var(--sc-shell);
	margin-inline: auto;
}

/* Header */
.sc-site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	backdrop-filter: blur(10px);
	background: rgba(245, 248, 247, 0.88);
	border-bottom: 1px solid var(--sc-line);
}

.sc-site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 4.25rem;
}

.sc-brand__name,
.sc-brand .custom-logo-link {
	font-family: var(--sc-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--sc-ink);
	text-decoration: none;
	letter-spacing: -0.02em;
}

.sc-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sc-nav__list a {
	color: var(--sc-ink-soft);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
}

.sc-nav__list a:hover,
.sc-nav__list a:focus-visible {
	color: var(--sc-teal);
}

/* Hero — full bleed */
.sc-hero {
	position: relative;
	min-height: min(92vh, 820px);
	display: grid;
	align-items: end;
	color: #f4f7f6;
	overflow: hidden;
}

.sc-hero__media {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(11, 31, 51, 0.88) 18%, rgba(11, 31, 51, 0.45) 55%, rgba(26, 122, 109, 0.35) 100%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%230b1f33'/%3E%3Cstop offset='1' stop-color='%231a4a52'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23g)' width='1600' height='900'/%3E%3Cpath fill='%231a7a6d' fill-opacity='0.15' d='M0 620c180-80 360-40 520 20s340 90 520 40 360-140 560-120v340H0z'/%3E%3Cpath fill='%23c5b49a' fill-opacity='0.08' d='M0 700c220-60 400 10 620 30s480-40 780 20v150H0z'/%3E%3C/svg%3E")
		center / cover no-repeat;
	transform: scale(1.04);
	animation: sc-hero- ken 18s var(--sc-ease) infinite alternate;
}

@keyframes sc-hero-ken {
	from {
		transform: scale(1.04) translate3d(0, 0, 0);
	}
	to {
		transform: scale(1.1) translate3d(-1.5%, -1%, 0);
	}
}

.sc-hero__content {
	position: relative;
	z-index: 1;
	padding: 5rem 0 4.5rem;
	max-width: 38rem;
	margin-left: max(calc((100% - var(--sc-shell)) / 2), 1.25rem);
	margin-right: auto;
	width: min(38rem, calc(100% - 2.5rem));
}

.sc-hero__brand {
	font-family: var(--sc-font-display);
	font-size: clamp(2.4rem, 6vw, 4.25rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin: 0 0 1rem;
	color: #fff;
}

.sc-hero__title {
	font-family: var(--sc-font-body);
	font-size: clamp(1.15rem, 2.4vw, 1.45rem);
	font-weight: 400;
	line-height: 1.45;
	margin: 0 0 1rem;
	max-width: 28ch;
	color: rgba(244, 247, 246, 0.92);
}

.sc-hero__lede {
	margin: 0 0 1.75rem;
	color: rgba(244, 247, 246, 0.78);
	max-width: 36ch;
}

.sc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.sc-reveal {
	opacity: 0;
	transform: translateY(14px);
	animation: sc-fade-up 0.9s var(--sc-ease) forwards;
}

.sc-reveal--delay-1 {
	animation-delay: 0.12s;
}

.sc-reveal--delay-2 {
	animation-delay: 0.24s;
}

.sc-reveal--delay-3 {
	animation-delay: 0.36s;
}

@keyframes sc-fade-up {
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sc-hero__media,
	.sc-reveal {
		animation: none !important;
		opacity: 1;
		transform: none;
	}
}

/* Buttons */
.sc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.35rem;
	border: 1px solid transparent;
	border-radius: var(--sc-radius);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.25s var(--sc-ease), color 0.25s var(--sc-ease), border-color 0.25s var(--sc-ease), transform 0.25s var(--sc-ease);
}

.sc-btn--primary {
	background: var(--sc-teal);
	color: #fff;
}

.sc-btn--primary:hover,
.sc-btn--primary:focus-visible {
	background: var(--sc-teal-deep);
	transform: translateY(-1px);
}

.sc-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}

.sc-btn--ghost:hover,
.sc-btn--ghost:focus-visible {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.sc-page .sc-btn--ghost {
	border-color: var(--sc-ink);
	color: var(--sc-ink);
}

/* Sections */
.sc-section {
	padding: 4.5rem 0;
}

.sc-section--soft {
	background: rgba(255, 255, 255, 0.45);
	border-block: 1px solid var(--sc-line);
}

.sc-section__title {
	font-family: var(--sc-font-display);
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	margin: 0 0 0.5rem;
	color: var(--sc-ink);
	letter-spacing: -0.02em;
}

.sc-section__lede {
	margin: 0 0 2.5rem;
	color: var(--sc-muted);
	max-width: 40ch;
}

.sc-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.75rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sc-steps__item {
	padding-top: 0.5rem;
	border-top: 2px solid var(--sc-teal);
}

.sc-steps__num {
	display: block;
	font-family: var(--sc-font-display);
	color: var(--sc-sand);
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

.sc-steps__item strong {
	display: block;
	font-size: 1.1rem;
	color: var(--sc-ink);
	margin-bottom: 0.35rem;
}

.sc-steps__item p {
	margin: 0;
	color: var(--sc-muted);
	font-size: 0.98rem;
}

/* Page chrome */
.sc-page-hero {
	padding: 3.5rem 0 2rem;
	background: linear-gradient(180deg, rgba(11, 31, 51, 0.06), transparent);
	border-bottom: 1px solid var(--sc-line);
}

.sc-page-hero__brand {
	font-family: var(--sc-font-display);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 700;
	margin: 0 0 0.35rem;
	color: var(--sc-ink);
	letter-spacing: -0.02em;
}

.sc-page-hero__title {
	font-family: var(--sc-font-body);
	font-weight: 600;
	font-size: 1.15rem;
	margin: 0 0 0.5rem;
	color: var(--sc-ink-soft);
}

.sc-page-hero__lede {
	margin: 0;
	color: var(--sc-muted);
	max-width: 42ch;
}

.sc-page {
	padding: 2.5rem 0 4rem;
}

.sc-page--narrow {
	max-width: 720px;
	margin-inline: auto;
	padding: 2.5rem 0 4.5rem;
}

.sc-page__title {
	font-family: var(--sc-font-display);
	color: var(--sc-ink);
	letter-spacing: -0.02em;
}

.sc-page__cta {
	margin-top: 2rem;
}

.sc-page__extra {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--sc-line);
}

.sc-notice {
	margin: 0;
	padding: 1rem 1.15rem;
	background: rgba(26, 122, 109, 0.08);
	border: 1px solid rgba(26, 122, 109, 0.25);
	color: var(--sc-ink-soft);
}

.sc-lead-intro {
	margin-bottom: 1.75rem;
}

.sc-lead-form-panel {
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid var(--sc-line);
	padding: 1.75rem 1.5rem;
}

.sc-section__cta {
	margin: 2.5rem 0 0;
}

.sc-prose :where(p, ul, ol) {
	max-width: 65ch;
}

/* Footer */
.sc-site-footer {
	margin-top: auto;
	padding: 2.5rem 0;
	border-top: 1px solid var(--sc-line);
	background: var(--sc-ink);
	color: rgba(244, 247, 246, 0.78);
}

.sc-site-footer__brand {
	font-family: var(--sc-font-display);
	font-size: 1.25rem;
	color: #fff;
	margin: 0 0 1rem;
}

.sc-footer-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.sc-footer-nav__list a {
	color: rgba(244, 247, 246, 0.8);
	text-decoration: none;
}

.sc-footer-nav__list a:hover {
	color: #fff;
}

.sc-site-footer__copy {
	margin: 0;
	font-size: 0.9rem;
	opacity: 0.7;
}

/* Scholarship Leads — [scl_lead_form] */
.scl-form {
	max-width: none;
	display: grid;
	gap: 1.15rem;
}

.scl-field {
	display: grid;
	gap: 0.35rem;
}

.scl-label {
	display: block;
	font-weight: 600;
	color: var(--sc-ink);
}

.scl-required {
	color: #9b2c2c;
	margin-left: 2px;
}

.scl-form input[type="text"],
.scl-form input[type="email"],
.scl-form input[type="tel"],
.scl-form input[type="date"],
.scl-form input[type="number"],
.scl-form select,
.scl-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--sc-line);
	border-radius: var(--sc-radius);
	background: #fff;
	font: inherit;
	color: var(--sc-text);
}

.scl-form input:focus,
.scl-form select:focus,
.scl-form textarea:focus {
	outline: 2px solid rgba(26, 122, 109, 0.45);
	outline-offset: 1px;
	border-color: var(--sc-teal);
}

.scl-choice {
	display: block;
	margin: 0.2rem 0;
	font-weight: 400;
}

.scl-help {
	margin: 0;
	font-size: 0.9rem;
	color: var(--sc-muted);
}

.scl-has-error input,
.scl-has-error select,
.scl-has-error textarea {
	border-color: #9b2c2c;
}

.scl-field-error {
	margin: 0;
	color: #9b2c2c;
	font-size: 0.9rem;
}

.scl-error-banner {
	background: #fdecea;
	border: 1px solid #c0392b;
	color: #7f2015;
	padding: 0.75rem 1rem;
}

.scl-success {
	background: rgba(26, 122, 109, 0.1);
	border: 1px solid rgba(26, 122, 109, 0.35);
	color: var(--sc-teal-deep);
	font-weight: 600;
	padding: 0.9rem 1.1rem;
}

.scl-submit {
	justify-self: start;
	appearance: none;
	border: 0;
	background: var(--sc-teal);
	color: #fff;
	font: inherit;
	font-weight: 700;
	padding: 0.8rem 1.5rem;
	border-radius: var(--sc-radius);
	cursor: pointer;
	transition: background 0.25s var(--sc-ease), transform 0.25s var(--sc-ease);
}

.scl-submit:hover,
.scl-submit:focus-visible {
	background: var(--sc-teal-deep);
	transform: translateY(-1px);
}

.scl-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

@media (max-width: 800px) {
	.sc-steps {
		grid-template-columns: 1fr;
	}

	.sc-site-header__inner {
		flex-direction: column;
		align-items: flex-start;
		padding-block: 0.85rem;
	}

	.sc-hero {
		min-height: 78vh;
	}
}
