:root {
	--ink: #1f2733;
	--muted: #5e6570;
	--paper: #fffaf2;
	--cream: #fff6e8;
	--line: #ead8bd;
	--saffron: #ee7b13;
	--gold: #d49a23;
	--maroon: #8f2d2d;
	--navy: #0d2e52;
	--navy-soft: #173d68;
	--green: #2f6b4f;
	--shadow: 0 18px 44px rgba(31, 39, 51, 0.14);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	background: var(--cream);
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--cream);
	font-family: "Lora", Georgia, serif;
	font-size: 16px;
	line-height: 1.6;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 5.35rem;
	padding: 0.65rem clamp(1rem, 4vw, 4rem);
	background: rgba(255, 253, 248, 0.95);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(16px);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	min-width: 15rem;
}

.brand img {
	width: 4.15rem;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
}

.brand strong,
.brand em,
.brand small {
	display: block;
	line-height: 1.05;
	letter-spacing: 0;
}

.brand strong {
	color: var(--navy);
	font-family: "Marcellus", Georgia, serif;
	font-size: clamp(1.3rem, 2vw, 1.75rem);
	font-weight: 400;
}

.brand em {
	color: var(--saffron);
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.95rem;
	font-style: normal;
	font-weight: 700;
}

.brand small {
	margin-top: 0.15rem;
	color: var(--muted);
	font-size: 0.76rem;
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(0.35rem, 2vw, 2rem);
	flex-wrap: wrap;
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.86rem;
	font-weight: 700;
}

.site-nav a {
	padding: 0.45rem 0.25rem;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
	color: var(--maroon);
	border-bottom-color: var(--gold);
}

.site-nav .nav-donate {
	padding: 0.58rem 1rem;
	color: #fffaf2;
	background: linear-gradient(135deg, var(--saffron), #d84f00);
	border: 0;
	border-radius: 6px;
	box-shadow: 0 10px 20px rgba(216, 79, 0, 0.22);
}

.hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center;
	min-height: 34rem;
	padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 6rem);
	overflow: hidden;
	background: #17242b;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(9, 20, 28, 0.94) 0%, rgba(9, 20, 28, 0.78) 42%, rgba(9, 20, 28, 0.2) 100%),
		url("./assets/page-images/ground2.jpeg") center / cover no-repeat;
	transform: scale(1.01);
}

.hero-backdrop {
	position: absolute;
	inset: auto 0 0;
	height: 5rem;
	background: linear-gradient(180deg, rgba(255, 246, 232, 0), var(--cream));
}

.hero-content,
.school-panel {
	position: relative;
	z-index: 1;
}

.hero-content {
	max-width: 46rem;
	color: #fffdf8;
}

.kicker,
.section-kicker,
.panel-label {
	margin: 0 0 0.65rem;
	color: var(--gold);
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hero h1 {
	margin: 0;
	max-width: 44rem;
	font-family: "Marcellus", Georgia, serif;
	font-size: clamp(3.2rem, 7vw, 5.9rem);
	font-weight: 400;
	line-height: 0.98;
	letter-spacing: 0;
}

.hero-copy {
	max-width: 36rem;
	margin: 1.25rem 0 0;
	color: #f7ead7;
	font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero-copy strong {
	color: #ffc44f;
	font-weight: 700;
}

.hero-actions,
.school-actions {
	display: flex;
	gap: 0.85rem;
	flex-wrap: wrap;
	margin-top: 1.6rem;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.9rem;
	padding: 0.75rem 1.2rem;
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.88rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	border-radius: 6px;
	transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.button:hover,
.button:focus-visible {
	transform: translateY(-1px);
}

.button-primary {
	color: #fffaf2;
	background: linear-gradient(135deg, #ff8a14, #d95400);
	box-shadow: 0 12px 24px rgba(217, 84, 0, 0.24);
}

.button-secondary {
	color: #fffaf2;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.8);
}

.button-panel {
	width: 100%;
	color: #fffaf2;
	background: var(--saffron);
}

.button-light {
	color: var(--navy);
	background: #fffdf8;
	border: 1px solid var(--line);
}

.full-button {
	width: 100%;
}

.school-panel {
	color: #fffdf8;
	background: linear-gradient(160deg, rgba(13, 46, 82, 0.98), rgba(23, 61, 104, 0.95));
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	padding: clamp(1.25rem, 3vw, 1.8rem);
	box-shadow: var(--shadow);
}

.school-panel h2 {
	margin: 0;
	font-family: "Marcellus", Georgia, serif;
	font-size: clamp(1.7rem, 3vw, 2.25rem);
	font-weight: 400;
	line-height: 1.08;
}

.school-panel p:not(.panel-label) {
	color: #e9f0f5;
	font-size: 0.95rem;
}

.project-points {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
	margin: 1.1rem 0 1.2rem;
}

.project-points span {
	border-left: 3px solid var(--gold);
	background: rgba(255, 255, 255, 0.08);
	padding: 0.5rem 0.65rem;
	font-size: 0.86rem;
}

.impact-strip {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: min(100% - 2rem, 72rem);
	margin: -2.5rem auto 0;
	overflow: hidden;
	background: rgba(255, 253, 248, 0.96);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.impact-strip div {
	padding: 1.2rem 1.1rem;
	border-right: 1px solid var(--line);
}

.impact-strip div:last-child {
	border-right: 0;
}

.impact-strip strong,
.impact-strip span {
	display: block;
}

.impact-strip strong {
	color: var(--navy);
	font-family: "Marcellus", Georgia, serif;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.1;
}

.impact-strip span {
	margin-top: 0.25rem;
	color: var(--muted);
	font-size: 0.84rem;
	line-height: 1.35;
}

.section {
	width: min(100% - 2rem, 82rem);
	margin: 0 auto;
	padding: clamp(3rem, 6vw, 5rem) 0;
}

.section h2 {
	margin: 0;
	color: var(--maroon);
	font-family: "Marcellus", Georgia, serif;
	font-size: clamp(2rem, 4vw, 3.15rem);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: 0;
}

.section h3 {
	margin: 0;
	color: var(--navy);
	font-family: "Marcellus", Georgia, serif;
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1.15;
}

.section p {
	color: var(--muted);
}

.split-section {
	display: grid;
	grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.4fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.mission-card {
	position: sticky;
	top: 7rem;
	padding: 1.4rem;
	background: #fffdf8;
	border: 1px solid var(--line);
	border-top: 4px solid var(--gold);
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(31, 39, 51, 0.08);
}

.program-preview-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.program-card,
.giving-list article,
.payment-panel,
.certificate-row figure {
	background: #fffdf8;
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(31, 39, 51, 0.08);
}

.program-card {
	overflow: hidden;
}

.program-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.program-card h3,
.program-card p,
.program-card a {
	margin-left: 1rem;
	margin-right: 1rem;
}

.program-card h3 {
	margin-top: 1rem;
}

.program-card p {
	font-size: 0.94rem;
	line-height: 1.52;
}

.program-card a {
	display: inline-block;
	margin-bottom: 1rem;
	color: var(--saffron);
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
}

.section-heading {
	max-width: 54rem;
	margin: 0 auto 1.6rem;
	text-align: center;
}

.section-heading p:not(.section-kicker) {
	margin-left: auto;
	margin-right: auto;
	max-width: 48rem;
}

.school-section {
	border-top: 1px solid var(--line);
}

.school-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(18rem, 32rem);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}

.school-layout figure {
	margin: 0;
}

.school-layout img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.school-layout figcaption {
	margin-top: 0.7rem;
	color: var(--muted);
	font-size: 0.85rem;
	text-align: center;
}

.donate-section {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
	gap: 1.2rem;
	align-items: start;
}

.giving-panel {
	padding: clamp(1.25rem, 3vw, 1.75rem);
	background:
		linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(255, 246, 232, 0.94)),
		url("./assets/page-images/ground1.jpeg") center / cover no-repeat;
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.giving-list {
	display: grid;
	gap: 0.8rem;
	margin: 1.2rem 0;
}

.giving-list article {
	padding: 1rem;
	border-left: 4px solid var(--saffron);
}

.giving-list p {
	margin: 0.35rem 0 0;
	font-size: 0.94rem;
}

.payment-panel {
	padding: 1.25rem;
}

.payment-panel h3 {
	color: var(--maroon);
}

.qr-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
	margin-top: 1rem;
}

.qr-grid figure {
	margin: 0;
	padding: 0.75rem;
	background: #fffaf2;
	border: 1px solid var(--line);
	border-radius: 8px;
	text-align: center;
}

.qr-grid img {
	width: min(100%, 9.25rem);
	aspect-ratio: 1;
	object-fit: contain;
	margin: 0 auto;
}

.qr-grid figcaption,
.note {
	color: var(--muted);
	font-size: 0.82rem;
	line-height: 1.35;
}

.recognition-section {
	border-top: 1px solid var(--line);
}

.certificate-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.certificate-row figure {
	margin: 0;
	padding: 0.8rem;
}

.certificate-row img {
	width: 100%;
	height: 22rem;
	object-fit: contain;
	background: #fff;
	border: 1px solid var(--line);
}

.certificate-row figcaption {
	margin-top: 0.7rem;
	color: var(--muted);
	font-size: 0.86rem;
	text-align: center;
}

.event-section {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
	gap: 1rem;
	align-items: center;
	padding: 2rem;
	background: linear-gradient(135deg, var(--navy), var(--navy-soft));
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.event-section h2,
.event-section p {
	color: #fffdf8;
}

.event-section .section-kicker {
	color: #ffc44f;
}

.event-images {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.event-images img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-section {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(18rem, 1.18fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: stretch;
}

.contact-list {
	display: grid;
	gap: 0.75rem;
	margin: 1.2rem 0 0;
}

.contact-list div {
	display: grid;
	grid-template-columns: 7.5rem minmax(0, 1fr);
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	background: #fffdf8;
	border-left: 4px solid var(--gold);
	border-radius: 6px;
}

.contact-list dt {
	color: var(--maroon);
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
}

.contact-list dd {
	margin: 0;
	color: var(--ink);
}

.contact-list dd span {
	display: block;
}

.contact-list a {
	color: var(--navy);
	font-weight: 700;
}

.map-frame {
	display: block;
	width: 100%;
	min-height: 24rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fffdf8;
}

.map-link {
	margin: 0.7rem 0 0;
	font-family: "Cinzel", Georgia, serif;
	font-size: 0.84rem;
	font-weight: 700;
	text-align: center;
}

.map-link a {
	color: var(--maroon);
	text-decoration-color: var(--gold);
	text-underline-offset: 0.18em;
}

.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.4rem clamp(1rem, 5vw, 4rem);
	color: #fffdf8;
	background: var(--navy);
	border-top: 4px solid var(--gold);
}

.site-footer p {
	margin: 0;
}

@media (max-width: 980px) {
	.site-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-nav {
		justify-content: flex-start;
		width: 100%;
	}

	.hero,
	.split-section,
	.school-layout,
	.donate-section,
	.event-section,
	.contact-section {
		grid-template-columns: 1fr;
	}

	.school-panel {
		max-width: 36rem;
	}

	.impact-strip,
	.program-preview-grid,
	.certificate-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mission-card {
		position: static;
	}
}

@media (max-width: 640px) {
	.site-header {
		position: static;
	}

	.brand {
		min-width: 0;
	}

	.brand img {
		width: 3.35rem;
	}

	.site-nav {
		gap: 0.35rem;
		font-size: 0.78rem;
	}

	.site-nav .nav-donate {
		padding: 0.48rem 0.72rem;
	}

	.hero {
		min-height: auto;
		padding: 3rem 1rem;
	}

	.hero h1 {
		font-size: 3rem;
	}

	.hero-actions,
	.school-actions,
	.site-footer {
		align-items: stretch;
		flex-direction: column;
	}

	.button {
		width: 100%;
	}

	.impact-strip,
	.program-preview-grid,
	.certificate-row,
	.project-points,
	.qr-grid,
	.event-images {
		grid-template-columns: 1fr;
	}

	.impact-strip div {
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.impact-strip div:last-child {
		border-bottom: 0;
	}

	.section {
		width: min(100% - 1rem, 82rem);
		padding: 2.6rem 0;
	}

	.certificate-row img {
		height: auto;
		max-height: 32rem;
	}

	.event-section {
		padding: 1.25rem;
	}

	.contact-list div {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}

	.map-frame {
		min-height: 20rem;
	}
}
