:root {
	--green: #183c32;
	--green-light: #245344;
	--rust: #a85d36;
	--gold: #d6a64a;
	--cream: #f7f4ed;
	--paper: #fffefa;
	--ink: #20312c;
	--muted: #64716b;
	--line: #e6e5dc;
	--shadow: 0 18px 50px rgba(24, 60, 50, .1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--green-light); }
a:hover { color: var(--rust); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--green); line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }

.skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 20;
	padding: .7rem 1rem;
	background: var(--paper);
	color: var(--green);
}
.skip-link:focus { top: 1rem; }

.site-header { position: relative; z-index: 5; background: var(--paper); }
.header-inner {
	width: min(1180px, calc(100% - 48px));
	min-height: 100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}
.brand img { width: 180px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.desktop-nav a, .site-nav nav a {
	color: var(--ink);
	font-size: .94rem;
	font-weight: 700;
	text-decoration: none;
}
.desktop-nav a[aria-current="page"] { color: var(--rust); }
.desktop-nav .nav-contact, .site-nav .nav-contact {
	padding: .75rem 1.2rem;
	border-radius: 999px;
	background: var(--green);
	color: white;
}
.desktop-nav .nav-donate {
	padding: .75rem 1.2rem;
	border-radius: 999px;
	background: var(--rust);
	color: white;
}
.desktop-nav .nav-donate:hover { background: #8d4827; color: white; }
.site-nav .nav-donate { color: var(--rust); }
.site-nav { display: none; }

.hero {
	position: relative;
	min-height: 590px;
	overflow: hidden;
	background: var(--green);
	color: white;
}
.hero-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
	opacity: .44;
}
.hero::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(90deg, rgba(14, 43, 35, .9) 0%, rgba(14, 43, 35, .66) 52%, rgba(14, 43, 35, .12) 100%);
}
.hero-content {
	position: relative;
	z-index: 1;
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
	padding: clamp(6rem, 13vw, 10rem) 0;
}
.eyebrow {
	margin-bottom: 1.1rem;
	color: var(--gold);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .19em;
	text-transform: uppercase;
}
.hero h1 { max-width: 760px; margin-bottom: 1.2rem; color: white; }
.hero h1 span { color: #e7bd72; }
.hero-content > p { max-width: 620px; margin-bottom: 2rem; color: rgba(255,255,255,.86); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: .8rem 1.4rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--rust);
	color: white;
	font-weight: 700;
	text-decoration: none;
	transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #8d4827; color: white; }
.button-light { border-color: rgba(255,255,255,.6); background: transparent; }
.button-light:hover { background: white; color: var(--green); }
.button-green { background: var(--green); }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-cream { background: var(--cream); }
.section-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section-heading { max-width: 700px; margin: 0 auto 3rem; text-align: center; }
.section-heading .eyebrow { color: var(--rust); }
.section-heading h2 { margin-bottom: 1rem; }
.section-heading p { margin-bottom: 0; font-size: 1.05rem; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.intro-copy h2 { max-width: 540px; }
.intro-copy p { font-size: 1.05rem; }
.photo-frame { position: relative; }
.photo-frame img { width: 100%; min-height: 350px; border-radius: 8px 90px 8px 8px; object-fit: cover; box-shadow: var(--shadow); }
.photo-note {
	position: absolute;
	right: -16px;
	bottom: 24px;
	max-width: 220px;
	padding: 1rem 1.2rem;
	border-left: 4px solid var(--gold);
	border-radius: 4px;
	background: var(--paper);
	box-shadow: var(--shadow);
	color: var(--green);
	font-weight: 700;
}

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.story-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--paper);
	box-shadow: 0 8px 24px rgba(24,60,50,.04);
}
.story-card img { width: 100%; height: 230px; object-fit: cover; }
.story-card-copy { padding: 1.5rem; }
.story-card h3 { margin-bottom: .65rem; }
.story-card p { margin-bottom: 0; }
.text-link { display: inline-block; margin-top: 1rem; font-weight: 700; text-decoration: none; }

.belief-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.belief-card { padding: 2rem; border-top: 3px solid var(--gold); background: var(--paper); }
.belief-card h3 { margin-bottom: .8rem; }
.belief-card p { margin-bottom: 0; }
.values-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; padding: 0; list-style: none; }
.values-list li { padding: .5rem .95rem; border: 1px solid #d9dfd9; border-radius: 99px; background: white; color: var(--green); font-size: .9rem; font-weight: 700; }

.cta-band { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--green); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-inner h2 { max-width: 650px; margin-bottom: 0; color: white; }
.cta-inner p { margin: .7rem 0 0; color: rgba(255,255,255,.76); }
.cta-inner .button { flex: 0 0 auto; background: var(--gold); color: var(--green); }

.page-hero { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--cream); }
.page-hero .section-inner { max-width: 900px; }
.page-hero h1 { margin-bottom: 1rem; font-size: clamp(2.5rem, 5vw, 4rem); }
.page-hero p { max-width: 700px; margin-bottom: 0; font-size: 1.1rem; }
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.report-card {
	display: flex;
	min-height: 220px;
	flex-direction: column;
	justify-content: space-between;
	padding: 1.7rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: white;
	box-shadow: 0 8px 24px rgba(24,60,50,.04);
}
.report-year { color: var(--rust); font-size: .8rem; font-weight: 800; letter-spacing: .14em; }
.report-card h2 { margin: .8rem 0 1.2rem; font-size: 1.45rem; }
.report-card a { align-self: flex-start; font-weight: 700; text-decoration: none; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.contact-details h2, .contact-form h2 { margin-bottom: 1rem; font-size: 1.7rem; }
.contact-details p { margin-bottom: 1rem; }
.contact-details a { font-weight: 700; text-decoration: none; }
.contact-form {
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid var(--line);
	border-radius: 8px;
	background: white;
	box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: .4rem; color: var(--ink); font-size: .92rem; font-weight: 700; }
.form-group input, .form-group textarea {
	display: block;
	width: 100%;
	padding: .85rem 1rem;
	border: 1px solid #ccd3ce;
	border-radius: 4px;
	background: #fff;
	color: var(--ink);
	font: inherit;
}
.form-group textarea { min-height: 170px; resize: vertical; }
.form-help { margin: -.3rem 0 1.2rem; font-size: .86rem; }
.form-status { margin-bottom: 1.5rem; padding: .9rem 1rem; border-left: 4px solid var(--rust); background: #fff3ec; color: #6f311a; }
.form-status.success { border-color: var(--green-light); background: #eef6f0; color: var(--green); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.donation-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.donation-points { margin: 1.5rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.donation-points li { margin-bottom: .65rem; }
.donation-options { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.donation-option {
	padding: .6rem .95rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--cream);
	color: var(--green);
	font: inherit;
	font-size: .9rem;
	font-weight: 700;
	cursor: pointer;
}
.donation-option:hover, .donation-option[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: white; }
.donation-amount { position: relative; }
.donation-amount span { position: absolute; top: 50%; left: 1rem; transform: translateY(-50%); color: var(--muted); }
.donation-amount input { padding-left: 2.2rem; }
.donation-secure-note { margin: 1rem 0 0; font-size: .87rem; }
.donation-receipt { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); }
.donation-receipt h2 { margin-bottom: .8rem; }
.donation-reference { display: inline-block; padding: .35rem .6rem; border-radius: 4px; background: var(--cream); color: var(--green); font-family: Consolas, monospace; overflow-wrap: anywhere; }
.donation-state { margin: 0 0 1.5rem; padding: .9rem 1rem; border-left: 4px solid var(--rust); background: #fff3ec; color: #6f311a; }
.donation-state.success { border-color: var(--green-light); background: #eef6f0; color: var(--green); }

.site-footer { padding: 3rem 0 1rem; background: #102c25; color: white; }
.footer-inner, .footer-bottom { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 3rem; padding-bottom: 2.5rem; }
.footer-brand img { width: 160px; margin-bottom: 1rem; }
.footer-brand p { max-width: 380px; color: rgba(255,255,255,.68); }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.footer-links h2 { margin-bottom: .4rem; color: white; font-size: 1rem; letter-spacing: 0; }
.footer-links a, .footer-bottom a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .88rem; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.58); }

.error-page { min-height: 70vh; display: grid; place-items: center; padding: 4rem 24px; text-align: center; }
.error-page-inner { max-width: 620px; }
.error-page-inner .hero-actions { justify-content: center; }
.error-code { margin-bottom: .5rem; color: var(--rust); font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -.07em; }
.error-page h1 { font-size: clamp(2rem, 5vw, 3.5rem); }

@media (max-width: 800px) {
	.header-inner { width: min(100% - 32px, 1180px); min-height: 82px; }
	.brand img { width: 148px; }
	.desktop-nav { display: none; }
	.site-nav { position: relative; display: block; }
	.site-nav summary {
		display: flex;
		width: 44px;
		height: 44px;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		padding: 10px;
		border: 1px solid var(--line);
		border-radius: 5px;
		cursor: pointer;
		list-style: none;
	}
	.site-nav summary::-webkit-details-marker { display: none; }
	.site-nav summary span { display: block; height: 2px; background: var(--green); }
	.site-nav nav {
		position: absolute;
		top: calc(100% + 12px);
		right: 0;
		display: flex;
		width: min(290px, calc(100vw - 32px));
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: .7rem;
		border: 1px solid var(--line);
		border-radius: 8px;
		background: var(--paper);
		box-shadow: var(--shadow);
	}
	.site-nav nav a { padding: .8rem; }
	.site-nav .nav-contact { margin-top: .3rem; text-align: center; }
	.hero { min-height: 560px; }
	.hero-content, .section-inner, .footer-inner, .footer-bottom { width: min(100% - 32px, 1180px); }
	.hero::after { background: linear-gradient(90deg, rgba(14,43,35,.9), rgba(14,43,35,.53)); }
	.intro-grid, .contact-grid { grid-template-columns: 1fr; }
	.intro-copy { order: 0; }
	.photo-frame { order: 1; }
	.card-grid, .belief-grid { grid-template-columns: repeat(2, 1fr); }
	.report-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-inner { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.donation-layout { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
	.hero { min-height: 540px; }
	.hero-content { padding: 6rem 0; }
	.hero-content > p { font-size: 1rem; }
	.card-grid, .belief-grid, .report-grid, .form-row { grid-template-columns: 1fr; }
	.story-card img { height: 210px; }
	.photo-frame img { min-height: 280px; border-top-right-radius: 55px; }
	.photo-note { right: 8px; max-width: 190px; }
	.cta-inner { align-items: flex-start; flex-direction: column; }
	.footer-inner { grid-template-columns: 1fr; gap: 2rem; }
	.footer-brand { grid-column: auto; }
	.footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
