/* SF Anchor Fund - Round 02 Stylesheet */
/* Based on diverge/04-sf-centric with converge requirements */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--bridge-red: #c0362c;
	--bridge-orange: #d85140;
	--bay-blue: #2980b9;
	--bay-deep: #1a5276;
	--fog-gray: #95a5a6;
	--fog-light: #bdc3c7;
	--fog-pale: #ecf0f1;
	--charcoal: #2c3e50;
	--charcoal-light: #34495e;
	--white: #ffffff;
	--cream: #fdfbf7;
}

body {
	font-family: 'Georgia', 'Times New Roman', serif;
	line-height: 1.65;
	color: var(--charcoal);
	background-color: var(--cream);
}

.container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	line-height: 1.2;
	font-weight: 700;
}

h1 {
	font-size: 4rem;
	margin-bottom: 1.5rem;
}

h2 {
	font-size: 2.75rem;
	margin-bottom: 1.25rem;
}

h3 {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}

h4 {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

p {
	margin-bottom: 1.25rem;
	font-size: 1.125rem;
}

/* Header */
.site-header {
	background-color: var(--white);
	padding: 1.5rem 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

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

.brand img {
	height: 48px;
	width: auto;
}

.brand-text {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--charcoal);
}

.brand-text .sf {
	color: var(--bridge-red);
	font-weight: 800;
}

.nav {
	display: flex;
	gap: 2.5rem;
	align-items: center;
}

.nav a {
	color: var(--charcoal);
	text-decoration: none;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.9375rem;
	font-weight: 500;
	transition: color 0.3s;
}

.nav a:hover {
	color: var(--bridge-red);
}

.btn-header {
	background-color: var(--bridge-red);
	color: var(--white) !important;
	padding: 0.75rem 1.5rem;
	border-radius: 6px;
	font-weight: 600;
	transition: background-color 0.3s;
}

.btn-header:hover {
	background-color: #a02f24;
}

/* Mobile Navigation */
.nav__mobile-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.75rem;
	color: var(--charcoal);
	cursor: pointer;
	padding: 0.5rem;
}

@media (max-width: 768px) {
	.nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: var(--white);
		flex-direction: column;
		gap: 0;
		padding: 1rem 0;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	}

	.nav.active {
		display: flex;
	}

	.nav a {
		padding: 1rem 2rem;
		width: 100%;
		border-bottom: 1px solid var(--fog-pale);
	}

	.nav__mobile-toggle {
		display: block;
	}
}

/* Section Label - Coral Small Caps */
.section-label {
	display: inline-block;
	color: var(--bridge-red);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin-bottom: 1rem;
}

/* Hero */
.hero {
	background-color: var(--bay-deep);
	padding: 6rem 0;
	position: relative;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url('assets/ggb.jpeg');
	background-size: cover;
	background-position: center;
	opacity: 0.18;
	z-index: 0;
}

.hero-wrapper {
	position: relative;
	z-index: 1;
	max-width: 900px;
}

.hero-tag {
	display: inline-block;
	background-color: var(--bridge-red);
	color: var(--white);
	padding: 0.5rem 1.25rem;
	border-radius: 4px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 2rem;
}

.hero h1 {
	color: var(--white);
	font-size: 4rem;
	line-height: 1.1;
	margin-bottom: 1.5rem;
}

.hero-accent {
	color: var(--bridge-orange);
}

.hero-lead {
	color: var(--fog-light);
	font-size: 1.5rem;
	margin-bottom: 2.5rem;
	max-width: 700px;
}

.hero-cta {
	display: flex;
	gap: 2rem;
	align-items: center;
	margin-bottom: 3rem;
}

.btn-primary {
	background-color: var(--bridge-red);
	color: var(--white);
	padding: 1rem 2.5rem;
	border-radius: 6px;
	text-decoration: none;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 1.125rem;
	font-weight: 600;
	transition: background-color 0.3s, transform 0.2s;
	display: inline-block;
}

.btn-primary:hover {
	background-color: #a02f24;
	transform: translateY(-2px);
}

.btn-text {
	color: var(--white);
	text-decoration: none;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 1.125rem;
	font-weight: 500;
	transition: color 0.3s;
}

.btn-text:hover {
	color: var(--bridge-orange);
}

/* Hero Footer - 3 Selling Points */
.hero-footer {
	display: flex;
	gap: 3rem;
}

.hero-badge {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.hero-badge strong {
	color: var(--white);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 1rem;
	font-weight: 700;
}

.hero-badge span {
	color: var(--fog-light);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.875rem;
}

/* Section Spacing */
.section {
	padding: 5rem 0;
}

.section--gray {
	background-color: var(--fog-pale);
}

/* Content Split - Reality Lockup */
.content-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	align-items: center;
}

.content-text {
	max-width: 600px;
}

.content-text h2 {
	margin-top: 0.5rem;
}

.content-text p {
	color: var(--charcoal-light);
}

.pullquote {
	border-left: 4px solid var(--bridge-red);
	padding-left: 1.5rem;
	margin: 2rem 0;
	font-size: 1.25rem;
	font-style: italic;
	color: var(--charcoal);
}

/* Photo Stack - Overlaid Images with Rounded Borders */
.content-media {
	position: relative;
}

.photo-stack {
	position: relative;
	height: 600px;
}

.photo-main {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.photo-overlay {
	position: absolute;
	bottom: -2rem;
	right: -2rem;
	width: 60%;
	height: 50%;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
	border: 6px solid var(--white);
}

.photo-overlay img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Programs Grid - 3 Category Boxes */
.programs-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
	margin-top: 3rem;
}

.program-card {
	background-color: var(--white);
	padding: 2.5rem;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.program-card h3 {
	color: var(--charcoal);
	margin-bottom: 1rem;
	font-size: 1.5rem;
}

.program-card p {
	color: var(--charcoal-light);
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 0;
}

.programs-footer {
	margin-top: 3rem;
	text-align: left;
}

.programs-footer a {
	color: var(--bridge-red);
	text-decoration: none;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 1.125rem;
	font-weight: 600;
	transition: color 0.3s;
}

.programs-footer a:hover {
	color: #a02f24;
}

/* Board Members Grid */
.board-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2.5rem;
	margin-top: 3rem;
}

.board-member {
	text-align: left;
}

.board-photo {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 1.25rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.board-member h3 {
	font-size: 1.25rem;
	margin-bottom: 0.25rem;
	color: var(--charcoal);
}

.board-title {
	display: block;
	color: var(--bridge-red);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 1rem;
}

.board-bio {
	color: var(--charcoal-light);
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 0;
}

/* About Section */
.about-content {
	max-width: 900px;
}

.about-content h2 {
	margin-top: 0.5rem;
	margin-bottom: 1.5rem;
}

.about-content p {
	color: var(--charcoal-light);
	margin-bottom: 1.5rem;
}

/* Footer */
.footer {
	background-color: var(--charcoal);
	color: var(--fog-light);
	padding: 4rem 0 2rem;
}

.footer-content {
	display: grid;
	grid-template-columns: 2fr 3fr;
	gap: 5rem;
	margin-bottom: 3rem;
}

.footer-primary {
	max-width: 400px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

.footer-brand img {
	height: 40px;
	width: auto;
}

.footer-brand-text {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--white);
}

.footer-brand-text .sf {
	color: var(--bridge-red);
}

.footer-mission {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--fog-light);
	margin-bottom: 0;
}

.footer-nav {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
}

.footer-column h5 {
	color: var(--white);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 1rem;
}

.footer-column a {
	display: block;
	color: var(--fog-light);
	text-decoration: none;
	font-size: 0.9375rem;
	margin-bottom: 0.75rem;
	transition: color 0.3s;
}

.footer-column a:hover {
	color: var(--white);
}

.footer-column p {
	font-size: 0.9375rem;
	color: var(--fog-light);
	margin-bottom: 0.75rem;
}

.footer-bottom {
	border-top: 1px solid var(--charcoal-light);
	padding-top: 2rem;
	text-align: center;
	font-size: 0.875rem;
	color: var(--fog-gray);
}

.footer-bottom p {
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
}

/* Donate Page Styles */
.page-hero {
	background-color: var(--bay-deep);
	padding: 4rem 0;
	position: relative;
	overflow: hidden;
}

.page-hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url('assets/ggb.jpeg');
	background-size: cover;
	background-position: center;
	opacity: 0.12;
	z-index: 0;
}

.page-hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
}

.page-hero h1 {
	color: var(--white);
	margin-bottom: 1rem;
}

.page-hero-lead {
	color: var(--fog-light);
	font-size: 1.5rem;
	margin-bottom: 0;
}

.impact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
	margin-top: 3rem;
}

.impact-item h3 {
	color: var(--bridge-red);
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

.impact-item p {
	color: var(--charcoal-light);
	font-size: 1rem;
	margin-bottom: 0;
}

/* Form Placeholder */
.form-embed-placeholder {
	background-color: var(--fog-pale);
	border: 2px dashed var(--fog-gray);
	border-radius: 8px;
	padding: 4rem 2rem;
	text-align: center;
	margin: 3rem 0;
}

.form-embed-placeholder p {
	color: var(--fog-gray);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	margin-bottom: 0.5rem;
}

/* Get Help Page Styles */
.welcome-section {
	background-color: var(--white);
	padding: 3rem 0;
	border-bottom: 1px solid var(--fog-pale);
}

.welcome-content {
	max-width: 800px;
}

.welcome-content h2 {
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}

.welcome-content p {
	color: var(--charcoal-light);
	font-size: 1.125rem;
}

.programs-list {
	display: grid;
	gap: 3rem;
	margin-top: 3rem;
}

.program-detail {
	border-left: 4px solid var(--bridge-red);
	padding-left: 2rem;
}

.program-detail h3 {
	color: var(--charcoal);
	margin-bottom: 0.75rem;
}

.program-detail p {
	color: var(--charcoal-light);
	margin-bottom: 0;
}

.eligibility-section {
	background-color: var(--fog-pale);
}

.eligibility-content {
	max-width: 800px;
}

.eligibility-content h2 {
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}

.eligibility-content ul {
	list-style-position: outside;
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.eligibility-content li {
	color: var(--charcoal-light);
	font-size: 1.125rem;
	margin-bottom: 0.75rem;
	padding-left: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.container {
		padding: 0 24px;
	}

	h1 {
		font-size: 3rem;
	}

	h2 {
		font-size: 2.25rem;
	}

	.content-split {
		gap: 3rem;
	}

	.programs-grid {
		gap: 2rem;
	}

	.board-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}

	.footer-content {
		gap: 3rem;
	}

	.footer-nav {
		gap: 2rem;
	}
}

@media (max-width: 768px) {
	.hero {
		padding: 4rem 0;
	}

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

	.hero-lead {
		font-size: 1.25rem;
	}

	.hero-cta {
		flex-direction: column;
		gap: 1rem;
		align-items: flex-start;
	}

	.hero-footer {
		flex-direction: column;
		gap: 1.5rem;
	}

	.content-split {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.photo-stack {
		height: 400px;
	}

	.photo-overlay {
		bottom: -1rem;
		right: -1rem;
		width: 50%;
		height: 40%;
	}

	.programs-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.board-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.footer-nav {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.impact-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	h1 {
		font-size: 2.5rem;
	}

	h2 {
		font-size: 2rem;
	}

	.section {
		padding: 3rem 0;
	}
}
