:root {
	--bf-background: #f5f1e8;
	--bf-surface: #fffdf8;
	--bf-text: #272016;
	--bf-text-soft: #52525B;
	--bf-text-light: #FCFCFD;
	--bf-text-light-yellow: #FDF4DE;
	--bf-brand: #A67C45;
	--bf-brand-dark: #966c36;
	--bf-green: #5E6F56;
	--bf-green-dark: #56644c;
	--bf-border: rgba(43, 37, 31, 0.12);
	--bf-shadow: 0 20px 60px rgba(28, 24, 20, 0.08);
	--bf-radius-sm: 12px;
	--bf-radius-md: 18px;
	--bf-radius-lg: 28px;
	--header-offset: 90px;
}

/* Base */

html {
	scroll-behavior: smooth;
}

body {
	font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--bf-text);
	background-color: var(--bf-background);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: inherit;
	text-decoration: none;
}

.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	flex: 1 0 auto;
	overflow: clip;
}

[id] {
	scroll-margin-top: calc(var(--header-offset) + 24px);
}

/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--bf-text);
}

h1 {
	font-size: clamp(2.25rem, 4vw, 4.75rem);
}

h2 {
	font-size: clamp(1.85rem, 3vw, 3rem);
    color: var(--bf-brand);
    font-weight: 1000;
}

h3 {
	font-size: clamp(1.15rem, 2vw, 1.5rem);
}

p {
	color: var(--bf-text-soft);
	line-height: 1.65;
}

ul {
    color: var(--bf-text-soft);
}

.section-kicker {
	margin-bottom: 0.75rem;
	font-size: 1.125rem;
	font-weight: 500;
	letter-spacing: 0.25rem;
	text-transform: uppercase;
	color: var(--bf-brand);
}

.section-space {
	padding: clamp(72px, 8vw, 120px) 0;
}

.section-space-sm {
	padding: clamp(56px, 6vw, 88px) 0;
}

.section-heading {
	max-width: 530px;
	margin: 0 auto 3rem;
}

.content-copy {
	max-width: 640px;
}

.text-light {
    color: var(--bf-text-light);
}

.text-light-yellow {
    color: var(--bf-text-light-yellow);
}

.text-green {
    color: var(--bf-green);
}

.text-brand {
    color: var(--bf-brand);
}

/* Header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: rgba(245, 241, 232, 0.9);
	backdrop-filter: blur(16px) saturate(160%);
	border-bottom: 1px solid rgba(43, 37, 31, 0.08);
}


.site-brand-text {
	font-size: 1.125rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
	position: relative;
	font-size: 0.875rem;
	color: var(--bf-text);
    text-transform: uppercase;
}

.navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0.1rem;
	width: 0;
	height: 2px;
	background-color: var(--bf-brand);
	transition: width 0.25s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.is-active::after {
	width: 100%;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
    font-size: 1rem;
    padding: 0.5rem 1.25rem;
	transition: all 0.25s ease;
	box-shadow: none;
}

.btn-brand {
	color: #fff;
	background-color: var(--bf-brand);
	border: 1px solid var(--bf-brand);
}

.btn-brand:hover {
	color: #fff;
	background-color: var(--bf-brand-dark);
	border-color: var(--bf-brand-dark);
	transform: translateY(-1px);
}

.btn-brand-outline {
	color: var(--bf-green);
	background-color: transparent;
	border: 1px solid var(--bf-green);
}

.btn-brand-outline:hover {
	color: #fff;
	background-color: var(--bf-green);
	border-color: var(--bf-green);
	transform: translateY(-1px);
}

.btn-green {
	color: #fff;
	background-color: var(--bf-green);
	border: 1px solid var(--bf-green);
}

.btn-green:hover {
	color: #fff;
	background-color: var(--bf-green-dark);
	border-color: var(--bf-green-dark);
	transform: translateY(-1px);
}

.btn-header-cta {
	min-width: 140px;
}

/* Hero */

.hero-section {
	position: relative;
	min-height: min(100svh, 920px);
	display: flex;
	align-items: center;
}

.hero-media {
	position: absolute;
	inset: 0;
}

.hero-media picture,
.hero-media img {
	display: block;
	width: 100%;
	height: 100%;
}

.media-card picture,
.media-card img {
	display: block;
	width: 100%;
}

.hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(22, 18, 14, 0.18) 0%, rgba(22, 18, 14, 0.48) 65%, rgba(22, 18, 14, 0.58) 100%);
}

.hero-content {
	position: relative;
	z-index: 2;
	padding-top: calc(var(--header-offset) + 40px);
	padding-bottom: 80px;
}

.hero-copy {
	max-width: 800px;
    margin: 0 auto;
	color: #fff;
    text-align: center;
}

.hero-copy h1,
.hero-copy .section-kicker,
.hero-copy p {
	color: #fff;
}

.hero-text {
	max-width: 620px;
    margin-left: auto;
    margin-right: auto;
	font-size: clamp(1rem, 1.5vw, 1.25rem);
}

/* Shared cards */

.media-card {
	overflow: hidden;
	border-radius: var(--bf-radius-lg);
	box-shadow: var(--bf-shadow);
}

.media-card img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.stat-card,
.work-card,
.testimonial-card,
.quote-box,
.founders-story-content {
	border-radius: var(--bf-radius-md);
	box-shadow: var(--bf-shadow);
}

/* Problem / Solution / Who we serve */

.problem-section,
.solution-section,
.who-we-serve-section,
.founders-section,
.contribute-section,
.donors-section {
	background-color: var(--bf-background);
}

/* Stats */

.stats-section {
	padding: 28px 0 40px;
	background-color: var(--bf-brand);
}

.stat-card {
	height: 100%;
	padding: 1.25rem 1rem;
	background-color: #fff;
}

.stat-value {
	margin-bottom: 0.5rem;
	font-size: clamp(1.3rem, 2vw, 2.125rem);
	font-weight: 1000;
	line-height: 1;
	color: var(--bf-brand);
}

.stat-text {
	font-size: 0.875rem;
	line-height: 1.4;
	color: var(--bf-green);
}

.stat-text-reference {
	font-size: 0.6875rem;
	line-height: 1;
	color: var(--bf-green);
    font-style: italic;
}

/* Quote strip */

.quote-strip {
	background-color: var(--bf-background);
}

.quote-box {
	max-width: 680px;
	margin: 0 auto;
	padding: 1.75rem 2rem;
	background-color: var(--bf-green);
    box-shadow: none;
}

.quote-box p {
    color: var(--bf-text-light);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 2rem;
}

.quote-box .quote-box-author {
	color: var(--bf-text-light);
	font-size: 0.8125rem;
	line-height: 1;
}

/* Dark sections */

.section-dark {
	background-color: var(--bf-green);
}

.section-dark h2,
.section-dark h3,
.section-dark .section-kicker {
	color: var(--bf-text-light-yellow);
}

.section-dark .section-heading p:not(.section-kicker) {
	color: var(--bf-text-light);
    font-size: 1.375rem;
    line-height: 1.875rem;
    font-weight: 800;
}

.section-dark p {
	color: rgba(255, 255, 255, 0.86);
}

.work-card {
	padding: 1.5rem;
	background-color: var(--bf-text-light-yellow);
}

.work-card h3 {
	margin-bottom: 0.625rem;
	color: var(--bf-brand);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.125rem;
}

.work-card p {
	color: var(--bf-green);
    line-height: 1.5;
}

/* Testimonials */

.testimonial-card {
	padding: 1.75rem 1.5rem;
	background-color: #fff;
    /* display: flex;
    flex-direction: column;
    justify-content: space-between; */
}

.testimonial-card p {
	margin-bottom: 1rem;
    color: var(--bf-green);
}

.testimonial-card footer {
	color: var(--bf-green);
    font-size: 1rem;
    font-style: italic;
    font-weight: 600;
    line-height: 0.75rem;
    text-align: right;
}

/* Founders */

.founders-story-collapse {
	margin-top: 2rem;
}

.founders-story-content {
	padding: 2rem;
	background-color: rgba(255, 255, 255, 0.55);
	border: 1px solid var(--bf-border);
    box-shadow: none;
}

.story-block + .story-block {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--bf-border);
}

.story-block h3 {
    font-size: 1.5rem;
	margin-bottom: 0.85rem;
	color: var(--bf-text-soft);
}

/* Donors */

.donors-text {
	max-width: 450px;
	margin: 0 auto 1.5rem;
}

/* Promise */

.promise-section {
	padding: 72px 0;
	text-align: center;
	background-color: var(--bf-brand);
}

.promise-section h2,
.promise-section p {
	color: #fff;
}

.promise-section p {
	max-width: 390px;
	margin: 0 auto;
}

.promise-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 1rem;
	border-radius: 50%;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--bf-brand);
	background-color: #fff;
}

/* Contribute */

/* Footer */

.site-footer {
	margin-top: auto;
	background-color: var(--bf-green);
}

.site-footer .site-logo {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F6F3EC;
    border-radius: 15px;
}

.footer-main {
	color: var(--bf-text-light-yellow);
}

.footer-brand img,
.footer-brand .custom-logo {
	max-height: 54px;
	width: auto;
}

.footer-title {
	margin-bottom: 1rem;
	font-size: 1.125rem;
	line-height: 1.125rem;
    font-weight: 600;
    letter-spacing: unset;
	color: var(--bf-text-light-yellow);
    text-transform: uppercase;
}

.footer-text,
.footer-contact li,
.footer-contact a,
.footer-nav a {
	color: var(--bf-text-light);
}

.footer-nav li + li,
.footer-contact li + li {
	margin-top: 0.5rem;
}

.footer-nav a:hover,
.footer-contact a:hover {
	color: var(--bf-text-light-yellow);
    text-decoration: underline;
}

.footer-bottom {
    background: var(--bf-brand);
    text-align: left;
}

.footer-bottom p {
	color: var(--bf-text-light);
}

/* Accessibility */

:focus-visible {
	outline: 2px solid var(--bf-brand);
	outline-offset: 2px;
}

/* Responsive */

@media (max-width: 991.98px) {
	.navbar-collapse {
		margin-top: 1rem;
		padding: 1rem 0 0.25rem;
		border-top: 1px solid rgba(43, 37, 31, 0.08);
	}

	.navbar-nav {
		align-items: flex-start !important;
	}

	.navbar-nav .nav-link {
		padding: 0.75rem 0;
	}

	.hero-section {
		min-height: 82svh;
	}

	.hero-content {
		padding-top: calc(var(--header-offset) + 24px);
		padding-bottom: 56px;
	}

	.hero-copy {
		max-width: 100%;
	}

	.stat-card,
	.work-card,
	.testimonial-card {
		height: 100%;
	}
}

@media (max-width: 767.98px) {
	.section-space {
		padding: 64px 0;
	}

	.section-space-sm {
		padding: 48px 0;
	}

	.hero-section {
		min-height: 76svh;
	}

	.hero-text {
		font-size: 1rem;
	}

	.founders-story-content {
		padding: 1.35rem;
	}

	.contribute-actions {
		flex-direction: column;
	}

	.contribute-actions .btn {
		width: 100%;
	}
}