/*
Theme Name: Shrutilaya Foundation
Theme URI: https://example.com/shrutilaya-foundation
Description: Modern nonprofit theme for a music and service foundation website.
Author: GitHub Copilot
Version: 1.0.2
Text Domain: shrutilaya-foundation
*/

:root {
	--foundation-ink: #162132;
	--foundation-ink-soft: #566178;
	--foundation-ink-muted: #6d7689;
	--foundation-sky: #2b8fb9;
	--foundation-sand: #f8f4ec;
	--foundation-surface: #fffdf9;
	--foundation-line: rgba(22, 33, 50, 0.12);
	--foundation-gold: #d8a54a;
	--foundation-gold-deep: #b7852d;
	--foundation-emerald: #0f8a6a;
	--foundation-coral: #d96b52;
	--foundation-shadow: 0 24px 70px rgba(15, 24, 38, 0.12);
	--foundation-radius-lg: 32px;
	--foundation-radius-md: 22px;
	--foundation-radius-sm: 16px;
	--foundation-content: 1180px;
	--foundation-wide: 1280px;
	--foundation-transition: 220ms ease;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	overflow-x: clip;
}

body {
	background:
		radial-gradient(circle at top left, rgba(216, 165, 74, 0.12), transparent 34%),
		radial-gradient(circle at top right, rgba(15, 138, 106, 0.12), transparent 30%),
		linear-gradient(180deg, #fcfaf6 0%, #fffdf9 34%, #f8f4ec 100%);
	color: var(--foundation-ink);
	font-family: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", sans-serif;
	line-height: 1.6;
	margin: 0;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.site-title,
.foundation-display {
	font-family: Iowan Old Style, Palatino Linotype, Book Antiqua, Georgia, serif;
	letter-spacing: -0.03em;
	margin-top: 0;
}

p {
	margin: 0 0 1.1rem;
}

img,
svg,
video,
canvas,
iframe {
	display: block;
	max-width: 100%;
}

img,
video,
canvas {
	height: auto;
}

a {
	transition: color var(--foundation-transition), opacity var(--foundation-transition), transform var(--foundation-transition);
}

.foundation-shell {
	margin: 0 auto;
	max-width: var(--foundation-wide);
	padding: 24px;
	position: relative;
}

.foundation-stack {
	display: grid;
	gap: 28px;
}

.foundation-hero {
	background:
		linear-gradient(135deg, rgba(22, 33, 50, 0.96), rgba(28, 52, 78, 0.88)),
		linear-gradient(120deg, rgba(216, 165, 74, 0.28), transparent 44%);
	border-radius: 40px;
	box-shadow: var(--foundation-shadow);
	color: #fff;
	overflow: hidden;
	padding: 48px;
	position: relative;
}

.foundation-hero::after {
	background: radial-gradient(circle, rgba(216, 165, 74, 0.35) 0%, rgba(216, 165, 74, 0) 62%);
	content: "";
	height: 320px;
	top: -70px;
	right: -40px;
	position: absolute;
	width: 320px;
}

.foundation-site-header,
.foundation-site-footer {
	margin: 0 auto;
	max-width: var(--foundation-wide);
	padding: 18px 24px 0;
	position: relative;
	z-index: 20;
}

.foundation-site-header {
	box-sizing: border-box;
	max-width: none;
	position: sticky;
	padding-top: 20px;
	top: 0;
	width: 100%;
	z-index: 60;
}

.foundation-site-header::before,
.foundation-site-header::after {
	content: "";
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.foundation-site-header::before {
	background: radial-gradient(circle, rgba(43, 143, 185, 0.18) 0%, rgba(43, 143, 185, 0) 66%);
	height: 220px;
	right: -70px;
	top: -34px;
	width: 220px;
}

.foundation-site-header::after {
	background: radial-gradient(circle, rgba(216, 165, 74, 0.22) 0%, rgba(216, 165, 74, 0) 62%);
	height: 250px;
	left: -80px;
	top: -42px;
	width: 250px;
}

.foundation-topbar,
.foundation-navbar,
.foundation-footer-grid {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
}

.foundation-topbar {
	background: rgba(255, 255, 255, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 999px;
	color: var(--foundation-ink-muted);
	font-size: 0.84rem;
	font-weight: 500;
	margin-bottom: 12px;
	padding: 10px 14px;
	transform-origin: top center;
	transition: opacity var(--foundation-transition), transform var(--foundation-transition), max-height var(--foundation-transition), padding var(--foundation-transition), margin var(--foundation-transition), border-width var(--foundation-transition);
}

.foundation-site-header.is-topbar-hidden .foundation-topbar {
	border-width: 0;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-12px);
	visibility: hidden;
}

.foundation-site-header.is-topbar-hidden .foundation-navbar,
.foundation-site-header.is-topbar-hidden .foundation-mobile-nav {
	left: 12px;
	right: 12px;
	position: fixed;
	top: 0;
	transition: top 0.28s ease, transform 0.28s ease, opacity 0.28s ease;
	z-index: 80;
}

.foundation-site-header.is-topbar-hidden .foundation-navbar {
	box-sizing: border-box;
	display: grid;
	margin-top: 0;
	max-width: calc(100% - 24px);
	width: calc(100% - 24px);
}

.foundation-site-header.is-topbar-hidden .foundation-mobile-nav {
	box-sizing: border-box;
	display: none;
	max-width: calc(100% - 24px);
	opacity: 1;
	padding: 0 12px;
	transform: translateY(0);
	width: calc(100% - 24px);
}

.foundation-site-header.is-topbar-hidden .foundation-mobile-nav summary,
.foundation-site-header.is-topbar-hidden .foundation-mobile-nav-panel,
.foundation-site-header.is-topbar-hidden .foundation-navbar {
	overflow: hidden;
}

.foundation-topbar a,
.foundation-footer a,
.foundation-nav-list a,
.foundation-brand-mark,
.foundation-brand-mark:visited {
	color: inherit;
	text-decoration: none;
}

.foundation-topbar a:hover,
.foundation-topbar a:focus-visible {
	color: #000;
}

.foundation-topbar-links,
.foundation-meta-links,
.foundation-nav-wrap,
.foundation-footer-links,
.foundation-social-list {
	display: flex;
	gap: 12px 18px;
	align-items: center;
	flex-wrap: wrap;
}

.foundation-meta-links a,
.foundation-address,
.entry-content a {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.foundation-topbar-links {
	gap: 8px;
}

.foundation-chip {
	background: rgba(15, 138, 106, 0.08);
	border: 1px solid rgba(15, 138, 106, 0.14);
	border-radius: 999px;
	color: var(--foundation-emerald);
	font-weight: 700;
	padding: 4px 10px;
}

.foundation-topbar-dot {
	opacity: 0.45;
}

.foundation-navbar {
	align-items: center;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 253, 249, 0.9));
	backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.95);
	border-radius: 999px;
	box-shadow: 0 18px 44px rgba(15, 24, 38, 0.1);
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(260px, 370px) minmax(0, 1fr);
	max-width: 100%;
	overflow: visible;
	padding: 14px 18px 14px 22px;
	position: relative;
}

.foundation-brand {
	align-items: center;
	display: flex;
	gap: 14px;
	min-width: 0;
}

.foundation-brand-seal {
	align-items: center;
	background:
		conic-gradient(from 180deg at 50% 50%, #2a6f89, var(--foundation-emerald), #3d77a1, #2a6f89);
	border-radius: 18px;
	box-shadow: 0 14px 28px rgba(15, 138, 106, 0.26);
	color: #fff;
	display: inline-flex;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.1rem;
	font-weight: 700;
	height: 52px;
	justify-content: center;
	width: 52px;
}

.foundation-brand-mark {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.foundation-brand-title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.15rem, 1.3vw, 1.42rem);
	font-weight: 700;
	line-height: 1.05;
	text-wrap: balance;
}

.foundation-brand-tag {
	color: var(--foundation-ink-soft);
	font-size: 0.88rem;
	line-height: 1.3;
}

.foundation-brand-note {
	color: var(--foundation-ink-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.foundation-nav-list,
.foundation-nav-list ul,
.foundation-footer-links,
.foundation-social-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.foundation-nav-list {
	align-items: center;
	display: flex;
	gap: 2px;
	flex-wrap: nowrap;
}

.foundation-nav-list > li {
	position: relative;
	list-style: none;
}

.foundation-nav-list > li.menu-item-has-children {
	padding-bottom: 0;
}

.foundation-nav-list > li.menu-item-has-children::after {
	content: "";
	height: 12px;
	left: 0;
	position: absolute;
	right: 0;
	top: 100%;
}

.foundation-nav-list > li.menu-item-has-children > a {
	padding-right: 26px;
	position: relative;
}

.foundation-nav-list > li.menu-item-has-children > a::after {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	height: 6px;
	position: absolute;
	right: 12px;
	top: calc(50% - 5px);
	transform: rotate(45deg);
	width: 6px;
}

.foundation-nav-list .sub-menu {
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(22, 33, 50, 0.09);
	border-radius: 16px;
	box-shadow: 0 20px 38px rgba(15, 24, 38, 0.12);
	display: grid;
	gap: 2px;
	left: 0;
	list-style: none;
	margin: 0;
	min-width: 220px;
	top: calc(100% + 2px);
	opacity: 0;
	padding: 10px;
	pointer-events: none;
	position: absolute;
	transform: translateY(6px);
	transition: opacity var(--foundation-transition), transform var(--foundation-transition);
	z-index: 35;
}

.foundation-nav-list li:hover > .sub-menu,
.foundation-nav-list li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.foundation-nav-list > li.menu-item-has-children:hover > a,
.foundation-nav-list > li.menu-item-has-children:focus-within > a {
	background: rgba(15, 138, 106, 0.09);
	color: var(--foundation-emerald);
}

.foundation-nav-list .sub-menu a {
	border-radius: 10px;
	display: flex;
	font-size: 0.88rem;
	font-weight: 700;
	justify-content: space-between;
	padding: 9px 12px;
	width: 100%;
}

.foundation-nav-list .sub-menu a:hover,
.foundation-nav-list .sub-menu .current-menu-item > a {
	background: rgba(15, 138, 106, 0.1);
	color: var(--foundation-emerald);
}

.foundation-nav-list a {
	border-radius: 999px;
	color: var(--foundation-ink);
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	padding: 10px 14px;
	transition: background-color var(--foundation-transition), color var(--foundation-transition);
	white-space: nowrap;
}

.foundation-nav-list .current-menu-item a,
.foundation-nav-list a:hover {
	background: rgba(15, 138, 106, 0.08);
	color: var(--foundation-emerald);
	text-decoration: none;
}

.foundation-support-link,
.foundation-support-link:visited {
	align-items: center;
	background: linear-gradient(135deg, var(--foundation-coral), #e38e5e);
	border-radius: 999px;
	box-shadow: 0 12px 26px rgba(217, 107, 82, 0.18);
	color: #fff;
	display: inline-flex;
	flex-shrink: 0;
	font-weight: 800;
	justify-content: center;
	line-height: 1;
	min-height: 48px;
	padding: 0 20px;
	text-align: center;
	text-decoration: none;
}

.foundation-nav-wrap {
	flex-wrap: nowrap;
	gap: 12px;
	justify-content: flex-end;
	margin-left: auto;
	min-width: 0;
}

.foundation-nav-wrap nav {
	min-width: 0;
}

.foundation-support-link:hover {
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px) scale(1.02);
}

.foundation-donate-link {
	align-items: center;
	appearance: none;
	background: var(--foundation-emerald);
	border: none;
	border-radius: 999px;
	box-shadow: 0 12px 26px rgba(15, 138, 106, 0.24);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	flex-shrink: 0;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 800;
	justify-content: center;
	line-height: 1;
	min-height: 48px;
	padding: 0 20px;
	text-align: center;
	transition: transform var(--foundation-transition);
}

.foundation-donate-link:hover {
	transform: translateY(-1px) scale(1.02);
}

.foundation-donate-modal {
	inset: 0;
	position: fixed;
	z-index: 1000;
}

.foundation-donate-modal[hidden] {
	display: none;
}

.foundation-donate-backdrop {
	background: rgba(15, 24, 38, 0.55);
	inset: 0;
	position: absolute;
}

.foundation-donate-dialog {
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 30px 70px rgba(15, 24, 38, 0.28);
	left: 50%;
	max-height: 90vh;
	max-width: 480px;
	overflow-y: auto;
	padding: 32px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(92vw, 480px);
}

.foundation-donate-dismiss {
	appearance: none;
	background: rgba(22, 33, 50, 0.06);
	border: none;
	border-radius: 999px;
	cursor: pointer;
	font-size: 1.4rem;
	height: 36px;
	line-height: 1;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 36px;
}

.foundation-donate-notice {
	border-radius: 14px;
	font-weight: 700;
	margin: 0 0 16px;
	padding: 12px 16px;
}

.foundation-donate-notice.is-success {
	background: rgba(15, 138, 106, 0.12);
	color: var(--foundation-emerald);
}

.foundation-donate-notice.is-error {
	background: rgba(217, 107, 82, 0.12);
	color: var(--foundation-coral);
}

.foundation-donate-form {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 16px;
}

.foundation-volunteer-form {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 16px;
}

.foundation-donate-form label,
.foundation-volunteer-form label {
	font-size: 0.86rem;
	font-weight: 700;
	margin-top: 10px;
}

.foundation-donate-form input,
.foundation-donate-form textarea,
.foundation-volunteer-form input,
.foundation-volunteer-form textarea {
	border: 1px solid rgba(22, 33, 50, 0.16);
	border-radius: 12px;
	font-family: inherit;
	font-size: 0.94rem;
	padding: 10px 14px;
	width: 100%;
}

.foundation-donate-form textarea,
.foundation-volunteer-form textarea {
	resize: vertical;
}

.foundation-donate-submit,
.foundation-volunteer-submit {
	appearance: none;
	background: linear-gradient(135deg, var(--foundation-coral), #e38e5e);
	border: none;
	border-radius: 999px;
	box-shadow: 0 12px 26px rgba(217, 107, 82, 0.18);
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 800;
	margin-top: 18px;
	min-height: 48px;
	padding: 0 20px;
}

/* Contact Form Styles */
.foundation-contact-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-top: 22px;
}

.foundation-contact-form .form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.foundation-contact-form label {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--foundation-ink);
}

.foundation-contact-form .required {
	color: var(--foundation-coral);
	font-weight: 800;
}

.foundation-contact-form input,
.foundation-contact-form textarea,
.foundation-contact-form select {
	border: 1px solid rgba(22, 33, 50, 0.16);
	border-radius: 12px;
	font-family: inherit;
	font-size: 0.98rem;
	padding: 12px 14px;
	width: 100%;
	color: var(--foundation-ink);
	background: rgba(255, 255, 255, 0.6);
	transition: border-color var(--foundation-transition), background-color var(--foundation-transition), box-shadow var(--foundation-transition);
}

.foundation-contact-form input:focus,
.foundation-contact-form textarea:focus,
.foundation-contact-form select:focus {
	outline: none;
	border-color: var(--foundation-sky);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(43, 143, 185, 0.1);
}

.foundation-contact-form textarea {
	resize: vertical;
	min-height: 120px;
	font-family: inherit;
}

.foundation-contact-form button[type="submit"] {
	appearance: none;
	background: linear-gradient(135deg, var(--foundation-gold), #f3c977);
	border: none;
	border-radius: 999px;
	box-shadow: 0 12px 26px rgba(216, 165, 74, 0.24);
	color: #1b2430;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	margin-top: 12px;
	min-height: 50px;
	padding: 0 28px;
	text-transform: uppercase;
	transition: transform var(--foundation-transition), box-shadow var(--foundation-transition), background-color var(--foundation-transition);
}

.foundation-contact-form button[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(216, 165, 74, 0.32);
}

.foundation-message {
	padding: 16px 18px;
	border-radius: 12px;
	margin-bottom: 18px;
	font-weight: 600;
}

.foundation-message.success {
	background: rgba(15, 138, 106, 0.1);
	color: #0f8a6a;
	border: 1px solid rgba(15, 138, 106, 0.3);
}

/* Contact Details Section */
.foundation-contact-details-section {
	margin-top: 42px;
	padding-top: 28px;
	border-top: 1px solid var(--foundation-line);
}

.foundation-contact-info {
	border-top: 1px solid var(--foundation-line);
	padding-top: 16px;
}

.foundation-contact-info h3 {
	font-size: 1.35rem;
	line-height: 1.2;
	margin-bottom: 14px;
	color: var(--foundation-ink);
}

.foundation-contact-info p {
	margin: 0;
	color: var(--foundation-ink-soft);
}

.foundation-contact-link {
	color: var(--foundation-sky);
	text-decoration: none;
	font-weight: 700;
	font-size: 1.08rem;
	transition: color var(--foundation-transition), transform var(--foundation-transition);
	display: inline-block;
}

.foundation-contact-link:hover {
	color: var(--foundation-gold-deep);
	transform: translateX(2px);
}

.foundation-contact-info-accent {
	background: rgba(43, 143, 185, 0.06);
	padding: 18px;
	border-radius: 16px;
	border-top: none;
}

.foundation-contact-info-accent .foundation-kicker {
	color: var(--foundation-sky);
}

body.foundation-donate-open {
	overflow: hidden;
}

.foundation-mobile-nav {
	display: none;
	margin-top: 14px;
	max-width: 100%;
	overflow: hidden;
}

.foundation-mobile-nav summary {
	align-items: center;
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(22, 33, 50, 0.08);
	border-radius: 20px;
	cursor: pointer;
	display: flex;
	font-weight: 700;
	justify-content: space-between;
	list-style: none;
	padding: 16px 18px;
}

.foundation-mobile-nav summary::-webkit-details-marker {
	display: none;
}

.foundation-mobile-nav-panel {
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(22, 33, 50, 0.08);
	border-radius: 24px;
	box-shadow: 0 18px 44px rgba(15, 24, 38, 0.12);
	max-height: min(68vh, 560px);
	margin-top: 12px;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 16px;
	-webkit-overflow-scrolling: touch;
}

.foundation-mobile-nav-panel .foundation-nav-list {
	align-items: stretch;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.foundation-mobile-nav-panel .foundation-nav-list > li {
	width: 100%;
}

.foundation-mobile-nav-panel .foundation-nav-list > li.menu-item-has-children {
	align-items: center;
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding-bottom: 0;
}

.foundation-mobile-nav-panel .foundation-nav-list > li.menu-item-has-children::after {
	display: none;
}

.foundation-mobile-nav-panel .foundation-nav-list > li.menu-item-has-children > a::after {
	display: none;
}

.foundation-mobile-nav-panel .foundation-nav-list > li.menu-item-has-children > .foundation-submenu-toggle {
	align-items: center;
	appearance: none;
	background: rgba(15, 138, 106, 0.1);
	border: 1px solid rgba(15, 138, 106, 0.2);
	border-radius: 999px;
	color: var(--foundation-emerald);
	cursor: pointer;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	padding: 0;
	width: 36px;
}

.foundation-mobile-nav-panel .foundation-nav-list > li.menu-item-has-children > .foundation-submenu-toggle > span {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	display: inline-block;
	height: 7px;
	margin-top: -2px;
	transform: rotate(45deg);
	transition: transform var(--foundation-transition);
	width: 7px;
}

.foundation-mobile-nav-panel .foundation-nav-list > li.menu-item-has-children.is-open > .foundation-submenu-toggle > span {
	margin-top: 2px;
	transform: rotate(-135deg);
}

.foundation-mobile-nav-panel .foundation-nav-list .sub-menu {
	background: rgba(15, 138, 106, 0.04);
	border: 1px solid rgba(15, 138, 106, 0.12);
	border-radius: 14px;
	box-shadow: none;
	gap: 6px;
	grid-column: 1 / -1;
	margin-top: 8px;
	min-width: 0;
	padding: 8px;
	position: static;
	width: 100%;
}

.foundation-mobile-nav-panel .foundation-nav-list > li.menu-item-has-children > .sub-menu[hidden] {
	display: none;
}

.foundation-mobile-nav-panel .foundation-nav-list > li.menu-item-has-children.is-open > .sub-menu {
	display: grid;
}

.foundation-mobile-nav-panel .foundation-nav-list .sub-menu a {
	font-size: 0.86rem;
	padding: 8px 10px;
}

.foundation-mobile-nav-panel .foundation-nav-list a,
.foundation-mobile-nav-panel .foundation-support-link,
.foundation-mobile-nav-panel .foundation-donate-link {
	box-sizing: border-box;
	justify-content: center;
	margin-top: 8px;
	width: 100%;
}

.foundation-site-footer {
	padding-bottom: 28px;
	padding-top: 18px;
}

.foundation-footer {
	background: linear-gradient(180deg, rgba(22, 33, 50, 0.98), rgba(28, 52, 78, 0.96));
	border-radius: 34px;
	box-shadow: var(--foundation-shadow);
	color: rgba(255, 255, 255, 0.86);
	margin-top: 36px;
	overflow: hidden;
	padding: 30px;
	position: relative;
}

.foundation-footer::before {
	background: radial-gradient(circle, rgba(216, 165, 74, 0.26) 0%, rgba(216, 165, 74, 0) 64%);
	content: "";
	height: 260px;
	position: absolute;
	right: -40px;
	top: -50px;
	width: 260px;
}

.foundation-footer > * {
	position: relative;
	z-index: 1;
}

.foundation-footer-grid {
	align-items: start;
	gap: 24px;
}

.foundation-footer-brand {
	max-width: 460px;
}

.foundation-footer-brand .foundation-brand-title,
.foundation-footer h2,
.foundation-footer h3 {
	color: #fff;
	margin: 0;
}

.foundation-footer p,
.foundation-footer li,
.foundation-footer address {
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.7;
}

.foundation-footer-columns {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: min(100%, 520px);
}

.foundation-footer h3 {
	font-size: 1rem;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.foundation-footer-links li,
.foundation-social-list li {
	margin: 0;
	padding: 0;
}

.foundation-footer-links a,
.foundation-social-list a {
	color: rgba(255, 255, 255, 0.84);
	font-weight: 600;
	text-decoration: none;
}

.foundation-footer-links a:hover,
.foundation-social-list a:hover {
	color: #fff;
	text-decoration: none;
}

.foundation-topbar a:hover,
.foundation-topbar a:focus-visible {
	color: #000;
	text-decoration: none;
}

.foundation-footer-meta {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin-top: 22px;
	padding-top: 18px;
}

.foundation-footer-meta,
.foundation-footer-meta p {
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.92rem;
	margin-bottom: 0;
}

.foundation-hero-grid,
.foundation-two-column,
.foundation-impact-grid,
.foundation-card-grid,
.foundation-pillars,
.foundation-cta-grid,
.foundation-stories,
.foundation-contact-grid,
.foundation-program-grid,
.foundation-involvement-grid,
.foundation-metric-grid {
	display: grid;
	gap: 24px;
}

.foundation-hero-grid,
.foundation-two-column,
.foundation-cta-grid,
.foundation-contact-grid {
	align-items: center;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.foundation-badge {
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	padding: 10px 16px;
	text-transform: uppercase;
	width: fit-content;
}

.foundation-hero h1,
.foundation-page-hero h1 {
	font-size: clamp(2.7rem, 5vw, 5rem);
	line-height: 0.92;
	margin: 18px 0 18px;
}

.foundation-hero p,
.foundation-page-hero p,
.foundation-copy,
.foundation-card p,
.foundation-stat p,
.foundation-story p,
.foundation-panel p,
.foundation-list li,
.foundation-timeline p {
	color: rgba(255, 255, 255, 0.82);
	font-size: 1.02rem;
	line-height: 1.7;
}

body:not(.home) .foundation-page-hero p {
	color: rgba(255, 255, 255, 0.9);
}

.foundation-page-hero p,
.foundation-copy,
.foundation-card p,
.foundation-stat p,
.foundation-story p,
.foundation-panel p,
.foundation-list li,
.foundation-timeline p,
.foundation-form-card p,
.foundation-address {
	color: var(--foundation-ink-soft);
}

.foundation-visual p,
.foundation-mini-card span {
	color: #475064;
	line-height: 1.55;
}

.foundation-hero .foundation-visual h2,
.foundation-hero .foundation-visual p,
.foundation-hero .foundation-visual .foundation-kicker,
.foundation-hero .foundation-visual .foundation-mini-card span,
.foundation-hero .foundation-visual .foundation-mini-card strong {
	color: rgba(255, 255, 255, 0.9);
}

.foundation-hero .foundation-visual .foundation-mini-card span {
	text-transform: capitalize;
}

.foundation-hero .foundation-visual .foundation-mini-card strong {
	font-weight: 800;
}

.foundation-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.foundation-button,
.foundation-button:visited {
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	min-height: 52px;
	padding: 0 24px;
	text-decoration: none;
	transition: transform var(--foundation-transition), box-shadow var(--foundation-transition), background-color var(--foundation-transition);
}

.foundation-button:hover {
	transform: translateY(-2px);
	text-decoration: none;
}

.foundation-button-primary,
.foundation-button-primary:visited {
	background: linear-gradient(135deg, var(--foundation-gold), #f3c977);
	box-shadow: 0 14px 30px rgba(216, 165, 74, 0.28);
	color: #1b2430;
}

.foundation-button-secondary,
.foundation-button-secondary:visited {
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
}

.foundation-visual,
.foundation-card,
.foundation-panel,
.foundation-story,
.foundation-stat,
.foundation-form-card,
.foundation-highlight {
	background: transparent;
	backdrop-filter: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--foundation-ink);
	padding: 0;
}

.foundation-visual {
	min-height: auto;
	position: static;
}

.foundation-visual::before {
	content: none;
}

.foundation-visual > * {
	position: static;
	z-index: auto;
}

.foundation-kicker {
	color: var(--foundation-gold-deep);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.foundation-mini-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 22px;
}

.foundation-mini-card {
	background: transparent;
	border: 0;
	border-left: 3px solid rgba(15, 138, 106, 0.34);
	padding: 2px 0 2px 14px;
}

.foundation-mini-card strong,
.foundation-stat strong,
.foundation-metric strong {
	display: block;
	font-size: 2rem;
	line-height: 1;
	margin-bottom: 10px;
}

.foundation-section {
	margin-top: 42px;
	padding: 8px 0;
}

.foundation-section-header {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	justify-content: space-between;
	margin-bottom: 20px;
}

.foundation-section-header h2,
.foundation-panel h2,
.foundation-story h3,
.foundation-card h3,
.foundation-stat h3,
.foundation-form-card h2,
.foundation-page-section h2 {
	font-size: clamp(1.7rem, 3vw, 2.7rem);
	line-height: 1.05;
	margin: 0;
}

.foundation-impact-grid,
.foundation-card-grid,
.foundation-pillars,
.foundation-program-grid,
.foundation-involvement-grid,
.foundation-stories,
.foundation-metric-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.foundation-card,
.foundation-stat,
.foundation-story,
.foundation-panel,
.foundation-highlight {
	border-top: 1px solid var(--foundation-line);
	box-shadow: none;
	padding-top: 16px;
}

.foundation-stat {
	background: transparent;
	padding-top: 16px;
}

.foundation-card h3,
.foundation-story h3,
.foundation-panel h3,
.foundation-highlight h3 {
	font-size: 1.4rem;
	line-height: 1.15;
	margin-bottom: 12px;
}

.foundation-grid {
	display: grid;
	gap: 22px;
}

.foundation-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.foundation-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.foundation-meta {
	color: var(--foundation-ink-muted);
	font-size: 0.87rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.foundation-read-link,
.foundation-read-link:visited {
	color: var(--foundation-emerald);
	font-weight: 700;
	text-decoration: none;
}

.foundation-read-link:hover {
	color: #0a6f56;
	text-decoration: none;
}

.foundation-empty {
	background: transparent;
	border: 1px dashed rgba(22, 33, 50, 0.25);
	border-radius: 0;
	padding: 22px;
	text-align: center;
}

.foundation-list {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.foundation-list li {
	border-top: 1px solid var(--foundation-line);
	padding: 14px 0;
}

.foundation-list li:first-child {
	border-top: 0;
	padding-top: 0;
}

.foundation-page-hero {
	background: linear-gradient(135deg, rgba(22, 33, 50, 0.94), rgba(15, 138, 106, 0.82));
	border-radius: 34px;
	box-shadow: var(--foundation-shadow);
	color: #fff;
	padding: 38px;
}

.foundation-page-section {
	margin-top: 28px;
	padding: 8px 0;
}

.foundation-media-gallery {
	margin-top: 28px;
}

.foundation-media-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.foundation-media-tile {
	background: var(--foundation-surface);
	border: 1px solid var(--foundation-line);
	border-radius: var(--foundation-radius-sm);
	box-shadow: 0 12px 28px rgba(22, 33, 50, 0.08);
	display: block;
	overflow: hidden;
}

.foundation-media-tile img {
	aspect-ratio: 4 / 3;
	height: 100%;
	object-fit: cover;
	transition: transform var(--foundation-transition);
	width: 100%;
}

.foundation-media-tile:hover img,
.foundation-media-tile:focus-visible img {
	transform: scale(1.04);
}

.foundation-lightbox {
	align-items: center;
	background: rgba(6, 12, 20, 0.92);
	display: flex;
	inset: 0;
	justify-content: center;
	position: fixed;
	z-index: 1100;
}

.foundation-lightbox[hidden] {
	display: none;
}

.foundation-lightbox-backdrop {
	inset: 0;
	position: absolute;
}

.foundation-lightbox-figure {
	margin: 0;
	max-height: 86vh;
	max-width: min(92vw, 1100px);
	position: relative;
	z-index: 1;
}

.foundation-lightbox-image {
	border-radius: 12px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
	max-height: 86vh;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.foundation-lightbox-caption {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.92rem;
	margin-top: 12px;
	text-align: center;
}

.foundation-lightbox-dismiss {
	appearance: none;
	background: rgba(255, 255, 255, 0.12);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font-size: 1.6rem;
	height: 44px;
	line-height: 1;
	position: absolute;
	right: 20px;
	top: 20px;
	width: 44px;
	z-index: 2;
}

.foundation-lightbox-nav {
	align-items: center;
	appearance: none;
	background: rgba(255, 255, 255, 0.12);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 1.4rem;
	height: 52px;
	justify-content: center;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	z-index: 2;
}

.foundation-lightbox-prev {
	left: 20px;
}

.foundation-lightbox-next {
	right: 20px;
}

.foundation-lightbox-dismiss:hover,
.foundation-lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.24);
}

@media (max-width: 640px) {
	.foundation-lightbox-dismiss {
		right: 12px;
		top: 12px;
	}

	.foundation-lightbox-prev {
		left: 8px;
	}

	.foundation-lightbox-next {
		right: 8px;
	}
}

.foundation-video-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 28px;
}

.foundation-video-frame {
	aspect-ratio: 16 / 9;
	background: var(--foundation-ink);
	border-radius: var(--foundation-radius-md);
	box-shadow: var(--foundation-shadow);
	overflow: hidden;
}

.foundation-video-frame iframe {
	border: 0;
	height: 100%;
	width: 100%;
}

@media (max-width: 980px) {
	.foundation-media-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.foundation-video-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.foundation-media-grid {
		gap: 10px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Homepage section polish. */
.home .foundation-hero-grid {
	min-height: 620px;
}

.home .foundation-impact-grid {
	gap: 22px;
	margin-top: 28px;
}

.home .foundation-stat {
	background: rgba(255, 255, 255, 0.82);
	border-radius: 20px;
	min-height: 238px;
	padding: 26px 24px 24px;
}

.home .foundation-stat strong {
	color: var(--foundation-emerald);
	font-size: 0.76rem;
	letter-spacing: 0.14em;
	margin-bottom: 24px;
	text-transform: uppercase;
}

.home .foundation-stat h3 {
	font-size: clamp(1.45rem, 2vw, 1.85rem);
	margin-bottom: 12px;
}

.home .foundation-two-column {
	align-items: stretch;
	gap: 24px;
}

.home .foundation-two-column > .foundation-panel {
	background: linear-gradient(145deg, rgba(15, 138, 106, 0.96), rgba(12, 91, 73, 0.98));
	border: 0;
	border-radius: 26px;
	box-shadow: 0 20px 44px rgba(12, 91, 73, 0.18);
	color: #fff;
	overflow: hidden;
	padding: clamp(26px, 4vw, 44px);
	position: relative;
}

.home .foundation-two-column > .foundation-panel::after {
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	content: "";
	height: 190px;
	position: absolute;
	right: -74px;
	top: -76px;
	width: 190px;
}

.home .foundation-two-column > .foundation-panel h2 {
	color: #fff;
	font-size: clamp(2rem, 3.2vw, 3.15rem);
	position: relative;
	z-index: 1;
}

.home .foundation-two-column > .foundation-panel p,
.home .foundation-two-column > .foundation-panel .foundation-list li {
	color: rgba(255, 255, 255, 0.82);
}

.home .foundation-two-column > .foundation-panel .foundation-kicker {
	color: #f3c977;
	position: relative;
	z-index: 1;
}

.home .foundation-two-column > .foundation-panel .foundation-list {
	position: relative;
	z-index: 1;
}

.home .foundation-card-grid {
	align-content: stretch;
	gap: 12px;
}

.home .foundation-card-grid .foundation-card {
	background: #fffdf9;
	border: 1px solid var(--foundation-line);
	border-left: 4px solid var(--foundation-gold);
	border-radius: 18px;
	box-shadow: 0 12px 26px rgba(22, 33, 50, 0.06);
	padding: 22px 24px;
}

.home .foundation-card-grid .foundation-card:nth-child(2) {
	border-left-color: var(--foundation-coral);
}

.home .foundation-card-grid .foundation-card:nth-child(3) {
	border-left-color: var(--foundation-emerald);
}

.home .foundation-pillars {
	counter-reset: pillar;
	gap: 18px;
}

.home .foundation-highlight {
	background: linear-gradient(160deg, #fffdf9, #f4eee3);
	border: 1px solid rgba(22, 33, 50, 0.1);
	border-radius: 20px;
	box-shadow: 0 14px 30px rgba(22, 33, 50, 0.07);
	min-height: 220px;
	padding: 28px 26px 24px;
	position: relative;
}

.home .foundation-highlight::before {
	align-items: center;
	background: var(--foundation-ink);
	border-radius: 50%;
	color: #fff;
	content: counter(pillar, decimal-leading-zero);
	counter-increment: pillar;
	display: flex;
	font-size: 0.78rem;
	font-weight: 800;
	height: 36px;
	justify-content: center;
	letter-spacing: 0.08em;
	margin-bottom: 30px;
	width: 36px;
}

.home .foundation-highlight:nth-child(2)::before {
	background: var(--foundation-coral);
}

.home .foundation-highlight:nth-child(3)::before {
	background: var(--foundation-emerald);
}

.home .foundation-highlight h3 {
	font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.home .foundation-page-hero p {
	color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 922px) {
	.home .foundation-hero > .foundation-hero-grid > :first-child,
	.home .foundation-visual {
		align-self: center;
	}
}

@media (max-width: 921px) {
	.home .foundation-hero-grid {
		min-height: 0;
	}

	.home .foundation-stat,
	.home .foundation-highlight {
		min-height: 0;
	}
}

.foundation-vision-panel {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.9));
	border: 1px solid var(--foundation-line);
	border-radius: 30px;
	box-shadow: 0 20px 38px rgba(22, 33, 50, 0.06);
	padding: 30px;
}

.foundation-vision-panel-accent {
	background: linear-gradient(180deg, rgba(12, 91, 73, 0.06), rgba(216, 165, 74, 0.08));
}

.foundation-vision-panel h2 {
	font-size: clamp(1.75rem, 2.9vw, 2.9rem);
	line-height: 1.1;
	margin-bottom: 18px;
}

.foundation-vision-panel p,
.foundation-vision-panel li {
	color: var(--foundation-ink-soft);
	font-size: 1.04rem;
}

.foundation-vision-panel .foundation-list {
	margin-top: 18px;
}

.foundation-vision-panel .foundation-list li {
	border-top-color: rgba(22, 33, 50, 0.09);
	padding: 14px 0;
}

.foundation-timeline {
	border-left: 2px solid rgba(216, 165, 74, 0.45);
	display: grid;
	gap: 22px;
	margin-left: 10px;
	padding-left: 24px;
}

.foundation-timeline-item {
	position: relative;
}

.foundation-timeline-item::before {
	background: var(--foundation-gold);
	border: 4px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(216, 165, 74, 0.35);
	content: "";
	height: 16px;
	left: -33px;
	position: absolute;
	top: 4px;
	width: 16px;
}

.foundation-note {
	background: transparent;
	border: 0;
	border-left: 3px solid rgba(216, 165, 74, 0.55);
	border-radius: 0;
	padding: 18px 20px;
}

.foundation-form-card .entry-content > *:first-child,
.foundation-form-card .entry-content > p:first-child {
	margin-top: 0;
}

.entry-content {
	overflow-wrap: anywhere;
}

.entry-content iframe,
.entry-content embed,
.entry-content object {
	max-width: 100%;
	width: 100%;
}

.entry-content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	white-space: nowrap;
}

.foundation-form-card .entry-content > *:last-child {
	margin-bottom: 0;
}

.foundation-form-card .entry-content strong {
	color: var(--foundation-ink);
	font-weight: 800;
}

.foundation-form-card .entry-content p + p {
	margin-top: 1rem;
}

.foundation-form-card .entry-content ul {
	margin: 18px 0 0;
	padding-left: 1.2rem;
}

.foundation-form-card .entry-content li + li {
	margin-top: 0.45rem;
}

.foundation-founder-page .foundation-founder-spotlight {
	align-items: center;
	background: linear-gradient(135deg, rgba(15, 138, 106, 0.08), rgba(216, 165, 74, 0.08));
	border: 1px solid var(--foundation-line);
	border-radius: 28px;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
	margin-bottom: 26px;
	overflow: hidden;
	padding: 22px;
}

.foundation-home-founder {
	align-items: center;
	background: linear-gradient(135deg, rgba(15, 138, 106, 0.08), rgba(216, 165, 74, 0.1));
	border: 1px solid var(--foundation-line);
	border-radius: 28px;
	display: grid;
	gap: clamp(24px, 5vw, 64px);
	grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
	overflow: hidden;
	padding: 22px;
}

.foundation-home-founder-media {
	border-radius: 20px;
	min-height: 320px;
	overflow: hidden;
}

.foundation-home-founder-photo,
.foundation-home-founder-placeholder {
	display: block;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
	width: 100%;
}

.foundation-home-founder-placeholder {
	align-items: center;
	background: linear-gradient(135deg, rgba(22, 33, 50, 0.97), rgba(15, 138, 106, 0.75));
	color: #fff;
	display: flex;
	font-size: clamp(2.7rem, 6vw, 5rem);
	font-weight: 800;
	justify-content: center;
	letter-spacing: 0.08em;
}

.foundation-home-founder-copy {
	max-width: 620px;
	padding: 10px 4px;
}

.foundation-home-founder-copy h2 {
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.08;
	margin: 0 0 16px;
}

.foundation-home-founder-copy p {
	color: var(--foundation-ink-soft);
	font-size: 1.06rem;
	line-height: 1.7;
	margin: 0 0 20px;
}

.foundation-founder-photo-wrap {
	background: linear-gradient(135deg, rgba(22, 33, 50, 0.95), rgba(15, 138, 106, 0.9));
	border-radius: 22px;
	min-height: 320px;
	overflow: hidden;
	position: relative;
}

.foundation-founder-photo,
.foundation-founder-photo-placeholder {
	display: block;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
	width: 100%;
}

.foundation-founder-photo-placeholder {
	align-items: center;
	background: linear-gradient(135deg, rgba(22, 33, 50, 0.97), rgba(15, 138, 106, 0.75));
	color: #fff;
	display: flex;
	font-size: clamp(2.7rem, 6vw, 5rem);
	font-weight: 800;
	justify-content: center;
	letter-spacing: 0.08em;
}

.foundation-founder-copy {
	padding: 10px 4px;
}

.foundation-founder-copy h2 {
	font-size: clamp(2.1rem, 4vw, 3.2rem);
	line-height: 1.08;
	margin: 0 0 12px;
}

.foundation-founder-intro {
	color: var(--foundation-ink-soft);
	font-size: 1.06rem;
	line-height: 1.7;
	margin: 0 0 18px;
}

.foundation-founder-quote {
	background: rgba(255, 255, 255, 0.7);
	border-left: 4px solid var(--foundation-gold);
	color: var(--foundation-ink);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.65;
	margin: 0;
	padding: 18px 20px;
}

.foundation-founder-content .foundation-form-card.entry-content {
	column-count: 1;
	margin-left: auto;
	margin-right: auto;
	max-width: 1040px;
}

.foundation-founder-content .foundation-form-card.entry-content > * {
	break-inside: avoid;
	margin-bottom: 1rem;
}

.foundation-founder-content .foundation-form-card.entry-content > p:not(.foundation-founder-name):not(.foundation-awards-intro) {
	max-width: 860px;
}

.foundation-founder-panel {
	border: 1px solid var(--foundation-line);
	border-radius: 14px;
	margin: 0 0 0.8rem;
	overflow: hidden;
}

.foundation-founder-panel[open] {
	background: rgba(15, 138, 106, 0.035);
}

.foundation-founder-panel summary {
	align-items: center;
	color: var(--foundation-ink);
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 1.2rem;
	font-weight: 800;
	justify-content: space-between;
	list-style: none;
	padding: 1rem 1.15rem;
}

.foundation-founder-panel summary::-webkit-details-marker {
	display: none;
}

.foundation-founder-panel summary::after {
	color: var(--foundation-teal);
	content: "+";
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
}

.foundation-founder-panel[open] summary {
	border-bottom: 1px solid var(--foundation-line);
}

.foundation-founder-panel[open] summary::after {
	content: "-";
}

.foundation-founder-panel > p,
.foundation-founder-panel > ul {
	margin-left: 1.15rem;
	margin-right: 1.15rem;
	max-width: 860px;
}

.foundation-founder-panel > p:first-of-type {
	margin-top: 1.15rem;
}

.foundation-founder-panel > p:last-child,
.foundation-founder-panel > ul:last-child {
	margin-bottom: 1.15rem;
}

.foundation-founder-panel .foundation-awards-list {
	max-width: none;
}

.foundation-founder-content .foundation-form-card.entry-content h2 {
	border-top: 1px solid var(--foundation-line);
	color: var(--foundation-ink);
	font-size: 1.35rem;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 2rem 0 0.85rem;
	padding-top: 1rem;
}

.foundation-founder-content .foundation-form-card.entry-content h2:first-of-type {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

.foundation-founder-content .foundation-form-card.entry-content .foundation-founder-name {
	color: var(--foundation-teal);
	font-size: 0.84rem;
	letter-spacing: 0.12em;
	margin-bottom: 1.25rem;
	text-transform: uppercase;
}

.foundation-founder-content .foundation-form-card.entry-content .foundation-awards-intro {
	color: var(--foundation-ink-soft);
	font-size: 0.95rem;
	font-style: italic;
}

.foundation-founder-content .foundation-form-card.entry-content .foundation-awards-list {
	background: linear-gradient(135deg, rgba(15, 138, 106, 0.06), rgba(216, 165, 74, 0.1));
	border: 1px solid rgba(216, 165, 74, 0.35);
	border-radius: 18px;
	column-count: 1;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 1.2rem 0 0;
	padding: 1rem;
}

.foundation-founder-content .foundation-form-card.entry-content h2:not(:first-of-type) {
	margin-top: 2.5rem;
}

.foundation-founder-content .foundation-form-card.entry-content .foundation-awards-list li {
	background: rgba(255, 255, 255, 0.78);
	border-left: 3px solid var(--foundation-gold);
	border-radius: 8px;
	box-shadow: 0 6px 16px rgba(22, 33, 50, 0.06);
	color: var(--foundation-ink);
	font-size: 0.9rem;
	line-height: 1.45;
	margin: 0;
	padding: 0.8rem 0.85rem;
}

.foundation-founder-content + .foundation-page-section {
	margin-top: 4px;
	padding-top: 0;
}

.foundation-founder-content .foundation-form-card.entry-content p,
.foundation-founder-content .foundation-form-card.entry-content ul {
	margin-top: 0;
}

.foundation-link-list {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
}

@media (max-width: 980px) {
	.foundation-founder-content .foundation-form-card.entry-content {
		column-count: 1;
	}

	.foundation-founder-content .foundation-form-card.entry-content p,
	.foundation-founder-content .foundation-form-card.entry-content li {
		font-size: 0.98rem;
	}
}

@media (max-width: 767px) {
	.foundation-home-founder {
		grid-template-columns: 1fr;
		padding: 16px;
	}

	.foundation-home-founder-media,
	.foundation-home-founder-photo,
	.foundation-home-founder-placeholder {
		min-height: 240px;
	}

	.foundation-founder-page .foundation-founder-spotlight {
		grid-template-columns: 1fr;
		padding: 16px;
	}

	.foundation-founder-photo-wrap,
	.foundation-founder-photo,
	.foundation-founder-photo-placeholder {
		min-height: 240px;
	}

	.foundation-founder-content .foundation-form-card.entry-content {
		column-count: 1;
	}

	.foundation-founder-content .foundation-form-card.entry-content .foundation-awards-list {
		grid-template-columns: 1fr;
	}
}

.foundation-link-list a {
	border-bottom: 1px solid rgba(22, 33, 50, 0.1);
	color: var(--foundation-ink);
	display: flex;
	font-weight: 700;
	justify-content: space-between;
	padding: 14px 0;
	text-decoration: none;
}

.foundation-link-list a:hover {
	color: var(--foundation-emerald);
	text-decoration: none;
}

.foundation-address {
	font-style: normal;
	line-height: 1.8;
	margin-top: 16px;
}

.foundation-footer-space {
	padding-bottom: 16px;
}

@media (max-width: 1180px) {
	.foundation-topbar,
	.foundation-navbar,
	.foundation-footer-grid {
		align-items: start;
		flex-direction: column;
	}

	.foundation-navbar {
		display: flex;
		gap: 16px;
		grid-template-columns: none;
	}

	.foundation-nav-wrap {
		display: none;
	}

	.foundation-mobile-nav {
		display: block;
	}

	.foundation-site-header.is-topbar-hidden .foundation-navbar {
		display: flex;
	}

	.foundation-site-header.is-topbar-hidden .foundation-mobile-nav {
		display: none;
		position: fixed;
		top: 0;
	}

	.foundation-footer-columns {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.foundation-topbar {
		gap: 10px;
		padding: 10px 12px;
	}

	.foundation-brand {
		width: 100%;
	}

	.foundation-brand-mark {
		max-width: 100%;
	}

	.foundation-brand-title {
		font-size: 1.2rem;
	}

	.foundation-brand-tag {
		font-size: 0.9rem;
	}

	.foundation-mobile-nav {
		margin-top: 10px;
	}

	.foundation-mobile-nav summary {
		background: rgba(255, 255, 255, 0.92);
	}

	.foundation-mobile-nav-panel {
		background: rgba(255, 255, 255, 0.98);
	}
}

@media (max-width: 921px) {
	.foundation-grid-2,
	.foundation-grid-3 {
		grid-template-columns: 1fr;
	}

	.foundation-hero,
	.foundation-page-hero {
		padding: 28px;
	}

	.foundation-hero-grid,
	.foundation-two-column,
	.foundation-cta-grid,
	.foundation-contact-grid,
	.foundation-impact-grid,
	.foundation-card-grid,
	.foundation-pillars,
	.foundation-program-grid,
	.foundation-involvement-grid,
	.foundation-stories,
	.foundation-metric-grid {
		grid-template-columns: 1fr;
	}

	.foundation-volunteer-page-section .foundation-volunteer-form-card {
		order: -1;
	}
}

@media (max-width: 767px) {
	.foundation-site-header.is-topbar-hidden .foundation-navbar {
		display: flex;
		top: 10px;
	}

	.foundation-site-header.is-topbar-hidden .foundation-navbar .foundation-nav-wrap {
		display: none;
	}

	.foundation-site-header.is-topbar-hidden .foundation-mobile-nav {
		display: block;
		position: fixed;
		top: 122px;
		z-index: 81;
	}
}

@media (max-width: 640px) {
	.foundation-site-header,
	.foundation-site-footer {
		padding-left: 16px;
		padding-right: 16px;
	}

	.foundation-site-header::before,
	.foundation-site-header::after {
		display: none;
	}

	.foundation-topbar {
		align-items: stretch;
		font-size: 0.84rem;
		gap: 10px;
		padding: 12px;
		text-align: center;
	}

	.foundation-topbar-links,
	.foundation-meta-links {
		justify-content: center;
		width: 100%;
	}

	.foundation-topbar-links {
		gap: 8px 10px;
	}

	.foundation-topbar-dot {
		display: none;
	}

	.foundation-meta-links {
		border-top: 1px solid rgba(22, 33, 50, 0.1);
		gap: 8px;
		padding-top: 10px;
	}

	.foundation-meta-links a {
		align-items: center;
		background: rgba(22, 33, 50, 0.06);
		border: 1px solid rgba(22, 33, 50, 0.1);
		border-radius: 999px;
		display: inline-flex;
		justify-content: center;
		min-height: 36px;
		padding: 0 12px;
	}

	.foundation-brand {
		gap: 12px;
	}

	.foundation-brand-seal {
		border-radius: 16px;
		height: 48px;
		width: 48px;
	}

	.foundation-navbar {
		border-radius: 26px;
		padding: 16px;
	}

	.foundation-shell {
		padding: 16px;
	}

	.foundation-hero h1,
	.foundation-page-hero h1 {
		font-size: 2.35rem;
	}

	.foundation-hero,
	.foundation-page-hero {
		border-radius: 24px;
		padding: 22px;
	}

	.foundation-mini-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.foundation-site-header,
	.foundation-site-footer,
	.foundation-shell {
		padding-left: 12px;
		padding-right: 12px;
	}

	.foundation-topbar,
	.foundation-navbar,
	.foundation-footer,
	.foundation-hero,
	.foundation-page-hero {
		border-radius: 20px;
	}

	.foundation-topbar {
		font-size: 0.8rem;
		padding: 10px;
	}

	.foundation-topbar-links,
	.foundation-meta-links {
		gap: 6px;
	}

	.foundation-meta-links a {
		width: 100%;
	}

	.foundation-mobile-nav-panel {
		padding: 12px;
	}

	.foundation-hero h1,
	.foundation-page-hero h1 {
		font-size: clamp(1.8rem, 9vw, 2.2rem);
	}

	.foundation-actions {
		margin-top: 20px;
	}

	.foundation-button,
	.foundation-support-link,
	.foundation-donate-link {
		min-height: 46px;
		padding-left: 16px;
		padding-right: 16px;
	}

	.foundation-vision-panel {
		padding: 20px;
	}

	.foundation-footer {
		padding: 20px;
	}
}

/* Homepage visual refresh. */
.home .foundation-hero {
	background:
		linear-gradient(112deg, rgba(15, 39, 52, 0.98) 0%, rgba(18, 76, 75, 0.96) 58%, rgba(15, 138, 106, 0.88) 100%),
		url("../../uploads/2026/08/WhatsApp-Image-2026-05-15-at-18.59.34-1-1536x864.jpeg") center / cover;
	padding: clamp(28px, 4vw, 58px);
}

.home .foundation-hero-grid {
	align-items: stretch;
	gap: clamp(28px, 5vw, 68px);
	grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
}

.home .foundation-hero h1 {
	font-size: clamp(3rem, 5vw, 5.4rem);
	line-height: 0.98;
	max-width: 760px;
}

.home .foundation-hero > * {
	position: relative;
	z-index: 1;
}

.home .foundation-visual {
	align-self: end;
	background: rgba(6, 30, 39, 0.52);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 28px;
	box-shadow: 0 20px 50px rgba(5, 25, 34, 0.2);
	padding: 14px;
}

.home .foundation-hero-image {
	aspect-ratio: 4 / 3;
	border-radius: 20px;
	margin: 0 0 22px;
	overflow: hidden;
	position: relative;
}

.home .foundation-hero-image::after {
	background: linear-gradient(180deg, transparent 45%, rgba(6, 30, 39, 0.76));
	content: "";
	inset: 0;
	position: absolute;
}

.home .foundation-hero-image img {
	height: 100%;
	object-fit: cover;
	transition: transform 600ms ease;
	width: 100%;
}

.home .foundation-hero-image:hover img {
	transform: scale(1.04);
}

.home .foundation-hero-image figcaption {
	bottom: 16px;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
	left: 16px;
	line-height: 1.35;
	position: absolute;
	right: 16px;
	z-index: 1;
}

.home .foundation-visual .foundation-display {
	font-size: clamp(1.55rem, 2.5vw, 2.35rem);
	line-height: 1.06;
}

.home .foundation-impact-grid {
	gap: 18px;
}

.home .foundation-home-moments {
	align-items: end;
	display: grid;
	gap: clamp(24px, 4vw, 56px);
	grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.7fr);
	padding: 12px 18px 4px;
}

.home .foundation-moments-intro h2 {
	font-size: clamp(1.8rem, 3vw, 3rem);
	line-height: 1.04;
	margin-bottom: 20px;
}

.home .foundation-text-link,
.home .foundation-text-link:visited {
	color: var(--foundation-emerald);
	display: inline-flex;
	font-weight: 800;
	gap: 8px;
	text-decoration: none;
}

.home .foundation-text-link:hover {
	color: var(--foundation-coral);
	transform: translateX(3px);
}

.home .foundation-moments-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: 1.35fr 0.85fr 0.85fr;
}

.home .foundation-moments-grid img {
	aspect-ratio: 1 / 1.06;
	border-radius: 18px;
	box-shadow: 0 14px 28px rgba(22, 33, 50, 0.12);
	object-fit: cover;
	width: 100%;
}

.home .foundation-moments-grid img:first-child {
	aspect-ratio: 1.25 / 1.06;
}

.home .foundation-stat {
	background: rgba(255, 255, 255, 0.74);
	border: 1px solid rgba(22, 33, 50, 0.08);
	border-top: 4px solid var(--foundation-emerald);
	box-shadow: 0 16px 32px rgba(22, 33, 50, 0.07);
	transition: transform var(--foundation-transition), box-shadow var(--foundation-transition);
}

.home .foundation-stat:nth-child(2) {
	border-top-color: var(--foundation-coral);
}

.home .foundation-stat:nth-child(3) {
	border-top-color: var(--foundation-gold);
}

.home .foundation-stat:hover {
	box-shadow: 0 22px 42px rgba(22, 33, 50, 0.12);
	transform: translateY(-4px);
}

@media (max-width: 921px) {
	.home .foundation-hero-grid {
		grid-template-columns: 1fr;
	}

	.home .foundation-home-moments {
		grid-template-columns: 1fr;
	}

	.home .foundation-visual {
		max-width: 680px;
	}
}

@media (max-width: 640px) {
	.home .foundation-hero h1 {
		font-size: clamp(2.35rem, 11vw, 3.35rem);
	}

	.home .foundation-visual {
		padding: 10px;
	}

	.home .foundation-hero-image {
		margin-bottom: 18px;
	}

	.home .foundation-home-moments {
		padding-left: 0;
		padding-right: 0;
	}

	.home .foundation-moments-grid {
		gap: 8px;
		grid-template-columns: 1.25fr 0.85fr;
	}

	.home .foundation-moments-grid img:first-child {
		grid-row: span 2;
		height: 100%;
	}
}