/* ==========================================================================
   Keradion theme — main stylesheet
   Brand colours from the Keradion logo (royal blue + orange).
   Mobile-first. Sections: tokens · base · layout · buttons · header · hero ·
   sections · cards · page parts · forms · footer · utilities · motion
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--blue: #1b3f8f;
	--blue-700: #163377;
	--blue-900: #0d2153;
	--blue-50: #eef3fc;
	--orange: #f05a1f;
	--orange-600: #d4470f;
	--orange-50: #fff1ea;
	--sand: #fbf5ec;
	--sand-200: #f3e8d8;
	--ink: #14213d;
	--muted: #5b6478;
	--line: #e7e0d4;
	--white: #fff;

	--font-head: Outfit, "Noto Sans Ethiopic", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Nunito Sans", "Noto Sans Ethiopic", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--shadow-sm: 0 2px 10px rgba(13, 33, 83, .06);
	--shadow: 0 14px 40px rgba(13, 33, 83, .10);
	--shadow-lg: 0 24px 60px rgba(13, 33, 83, .18);
	--ease: cubic-bezier(.2, .7, .2, 1);

	--container: 1220px;
	--gutter: 20px;
	--section: clamp(64px, 9vw, 112px);
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--blue-900);
	line-height: 1.18;
	margin: 0 0 .5em;
	font-weight: 700;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 10px; left: 10px; padding: 12px 18px; background: var(--white); color: var(--blue-900);
	border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.hl { color: var(--orange); position: relative; white-space: nowrap; }
.hl::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .22em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9c40-7 120-9 196-3' fill='none' stroke='%23f05a1f' stroke-width='4' stroke-linecap='round' opacity='.45'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding: var(--section) 0; }
.section--sand { background: var(--sand); }
.center { text-align: center; }
.two-col { display: grid; gap: 40px; }
.layout-sidebar { display: grid; gap: 48px; }
.layout-sidebar > *, .intro__grid > *, .contact-layout > *, .form-layout > *, .donate-layout > * { min-width: 0; }
.entry-content, .card__text, .card__title { overflow-wrap: break-word; word-break: break-word; }
@media (min-width: 960px) {
	.layout-sidebar { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
	.two-col { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon--arrow { transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--lg { padding: 1em 1.9em; font-size: 1.05rem; }
.btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 10px 24px rgba(240, 90, 31, .32); }
.btn--primary:hover { background: var(--orange-600); color: var(--white); box-shadow: 0 14px 28px rgba(240, 90, 31, .4); }
.btn--secondary { background: var(--blue); color: var(--white); }
.btn--secondary:hover { background: var(--blue-900); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: var(--white); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: var(--white); color: var(--blue-900); border-color: var(--white); }
.btn--light { background: var(--white); color: var(--blue-900); }
.btn--light:hover { background: var(--sand); color: var(--blue-900); }
.icon-btn {
	display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	border: 0; background: var(--blue-50); color: var(--blue-900); cursor: pointer; transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--blue); color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 100; }
.has-hero .site-header { position: absolute; inset: 0 0 auto; }
.topbar { background: var(--blue-900); color: rgba(255, 255, 255, .85); font-size: .875rem; display: none; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 44px; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; margin: 0; padding: 0; }
.topbar__contact li { display: flex; align-items: center; gap: 8px; }
.topbar__contact .icon { color: var(--orange); }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--white); }
@media (min-width: 960px) { .topbar { display: block; } .has-hero .topbar { background: rgba(13, 33, 83, .55); backdrop-filter: blur(6px); } }

.social { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social a {
	display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
	background: rgba(255, 255, 255, .1); color: inherit; transition: background .2s, color .2s, transform .2s;
}
.social a:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.social .icon { width: 17px; height: 17px; }
.social--top a { width: 30px; height: 30px; background: transparent; }

.navbar-wrap { padding: 12px 0; transition: background .3s, box-shadow .3s, padding .3s; }
.navbar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: var(--white); border-radius: 999px; padding: 8px 10px 8px 22px; min-height: var(--header-h);
	box-shadow: var(--shadow-sm);
}
body:not(.has-hero) .navbar-wrap { background: var(--white); border-bottom: 1px solid var(--line); }
body:not(.has-hero) .navbar { box-shadow: none; padding-left: 0; padding-right: 0; }
.site-header.is-stuck .navbar-wrap {
	position: fixed; inset: 0 0 auto; padding: 8px 0; background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); animation: slideDown .35s var(--ease);
}
.site-header.is-stuck .navbar { box-shadow: none; padding-left: 0; padding-right: 0; min-height: 64px; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

.navbar__brand .custom-logo-link, .footer-logo .custom-logo-link { display: block; }
.navbar__brand img { max-height: 60px; width: auto; }
.site-header.is-stuck .navbar__brand img { max-height: 50px; }
.site-title { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--blue-900); text-decoration: none; }
.navbar__actions { display: flex; align-items: center; gap: 10px; }
/* Label stays in the accessibility tree on small screens (visually hidden, not display:none). */
@media (max-width: 559px) {
	.navbar__donate { width: 46px; height: 46px; padding: 0; }
	.navbar__donate span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

/* Mobile drawer */
.navbar__nav {
	position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--white);
	padding: 18px 22px 30px; overflow-y: auto; transform: translateX(100%); visibility: hidden;
	transition: transform .35s var(--ease), visibility .35s; z-index: 200; display: flex; flex-direction: column; gap: 18px;
}
.navbar__nav.is-open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer__head img { max-height: 48px; width: auto; }
/* Below .site-header (z-index 100), whose stacking context contains the drawer. */
.nav-overlay { position: fixed; inset: 0; background: rgba(13, 33, 83, .55); z-index: 95; backdrop-filter: blur(2px); }
.navbar__nav .menu { list-style: none; margin: 0; padding: 0; }
.navbar__nav .menu a {
	display: block; padding: 12px 4px; color: var(--blue-900); text-decoration: none;
	font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
}
.navbar__nav .menu > li { border-bottom: 1px solid var(--line); position: relative; }
.navbar__nav .menu a:hover, .navbar__nav .current-menu-item > a, .navbar__nav .current-menu-ancestor > a { color: var(--orange); }
.navbar__nav .sub-menu { list-style: none; margin: 0 0 10px; padding: 0 0 0 14px; display: none; }
.navbar__nav .sub-menu a { font-weight: 500; font-size: .98rem; padding: 8px 4px; color: var(--muted); }
.navbar__nav .is-expanded > .sub-menu { display: block; }
.submenu-toggle {
	position: absolute; right: 0; top: 6px; width: 38px; height: 38px; border: 0; border-radius: 50%;
	background: var(--sand); color: var(--blue-900); display: grid; place-items: center; cursor: pointer;
}
.submenu-toggle .icon { transition: transform .25s; }
.is-expanded > .submenu-toggle .icon { transform: rotate(180deg); }
.drawer__donate { margin-top: auto; }

@media (min-width: 1100px) {
	.navbar__toggle, .drawer__head, .drawer__donate, .drawer__contact, .drawer__social, .nav-overlay { display: none !important; }
	.navbar__nav {
		position: static; transform: none; visibility: visible; width: auto; padding: 0; overflow: visible;
		background: transparent; flex-direction: row; z-index: auto;
	}
	.navbar__nav .menu { display: flex; gap: 4px; }
	.navbar__nav .menu > li { border: 0; }
	.navbar__nav { flex: 1 1 auto; justify-content: center; min-width: 0; }
	.navbar__nav .menu { gap: 0; flex-wrap: nowrap; }
	.navbar__nav .menu > li > a { padding: 10px 12px; font-size: .92rem; border-radius: 999px; white-space: nowrap; }
	.navbar__nav .menu-item-has-children > a { padding-right: 14px; }
	.navbar__nav .menu > li > a:hover { background: var(--orange-50); }

	/* Dropdown arrow sits after the word (inline), never on top of the last letter. */
	.navbar__nav .menu-item-has-children > a::after {
		content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 9px; vertical-align: middle;
		border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6;
	}
	.submenu-toggle { display: none; }
	.navbar__nav .sub-menu {
		display: block; position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; padding: 10px;
		background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
		opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease);
	}
	.navbar__nav .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
	.navbar__nav li:hover > .sub-menu, .navbar__nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.navbar__nav .sub-menu a { padding: 9px 14px; border-radius: var(--radius-sm); color: var(--ink); }
	.navbar__nav .sub-menu a:hover { background: var(--sand); color: var(--orange); }
	.navbar__nav .sub-menu .sub-menu { top: 0; left: 100%; }
}

.search-panel { position: absolute; left: 0; right: 0; top: 100%; padding: 18px 0; background: var(--white); box-shadow: var(--shadow); }
.search-panel .container { display: flex; gap: 12px; align-items: center; }
.search-panel .search-form { flex: 1; }
.search-form { display: flex; gap: 10px; }
.search-form input {
	flex: 1; min-width: 0; padding: .85em 1.2em; border: 2px solid var(--line); border-radius: 999px; font: inherit; background: var(--white);
}
.search-form input:focus { outline: none; border-color: var(--blue); }
.search-form .btn span { display: none; }
@media (min-width: 560px) { .search-form .btn span { display: inline; } }

/* ---------- Hero (slideshow) ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--blue-900); isolation: isolate; }
.hero__slides { display: grid; }
.hero__slide {
	grid-area: 1 / 1; position: relative; isolation: isolate; opacity: 0; visibility: hidden;
	padding: calc(var(--header-h) + 90px) 0 170px; transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
@media (min-width: 960px) { .hero__slide { padding-top: calc(var(--header-h) + 140px); padding-bottom: 230px; min-height: 860px; } }
@media (max-width: 959px) { .hero__slide { padding-bottom: 230px; } }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.12); transition: transform 7s linear; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, rgba(13, 33, 83, .95) 0%, rgba(13, 33, 83, .82) 45%, rgba(27, 63, 143, .4) 100%);
}
.hero__content { max-width: 640px; position: relative; z-index: 2; }
.hero__title { color: var(--white); font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.07; margin-bottom: .45em; font-family: var(--font-head); font-weight: 700; }
.hero__title .hl { color: #ff8a57; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 600px; color: rgba(255, 255, 255, .88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
/* Text enters each time a slide becomes active. */
.hero__content > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero__slide.is-active .hero__content > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__content > *:nth-child(2) { transition-delay: .15s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { transition-delay: .55s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { transition-delay: .7s; }
.no-js .hero__content > * { opacity: 1; transform: none; }
/* Letter-by-letter title (chars wrapped by JS). */
.hero__title .char { display: inline-block; opacity: 0; transform: translateX(60px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.25s + var(--ci, 0) * 28ms); }
.hero__title .word { display: inline-block; white-space: nowrap; }
.hero__slide.is-active .hero__title .char { opacity: 1; transform: none; }

.hero__media-wrap { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: none; }
@media (min-width: 1024px) { .hero__media-wrap { display: flex; align-items: center; justify-content: flex-end; padding-top: calc(var(--header-h) + 40px); } }
.hero__media { position: relative; width: 460px; height: 520px; }
.arch { position: absolute; margin: 0; overflow: hidden; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); border: 6px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-lg); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--lg { width: 300px; height: 440px; right: 120px; top: 0; animation: floatY 7s ease-in-out infinite; }
.arch--sm { width: 200px; height: 300px; right: 0; bottom: -10px; border-color: var(--orange); animation: floatY 7s ease-in-out -3.5s infinite; }
.hero__ring { position: absolute; width: 210px; height: 210px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .35); left: 0; bottom: 30px; animation: spin 40s linear infinite; }
.hero__ring::after { content: ""; position: absolute; inset: 40px; border-radius: 50%; background: var(--orange); opacity: .9; filter: blur(.5px); }
.doodle--hero { position: absolute; left: -40px; top: 20px; width: 96px; height: 96px; color: #ffd27a; opacity: .9; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatX { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 150px; z-index: 3; display: flex; align-items: center; gap: 12px; }
.slider-btn {
	display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45);
	background: rgba(255, 255, 255, .08); color: var(--white); cursor: pointer; transition: background .25s, border-color .25s, transform .25s;
}
.slider-btn:hover { background: var(--orange); border-color: var(--orange); transform: scale(1.06); }
.slider-btn--pause .icon--play, .slider-btn--pause[aria-pressed="true"] .icon--pause { display: none; }
.slider-btn--pause[aria-pressed="true"] .icon--play { display: block; }
@media (max-width: 767px) {
	.hero__slide::before { background: linear-gradient(180deg, rgba(13, 33, 83, .55) 0%, rgba(13, 33, 83, .78) 55%, rgba(13, 33, 83, .9) 100%); }
}
.icon.flip { transform: scaleX(-1); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot { width: 12px; height: 12px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .4); cursor: pointer; transition: width .35s var(--ease), background .35s; }
.slider-dot.is-active { width: 34px; background: var(--orange); }
.hero__wave, .page-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; color: var(--white); }

.kicker {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
	font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .02em; color: var(--orange);
	background: var(--orange-50); padding: 6px 14px 6px 10px; border-radius: 999px;
}
.kicker--light { background: rgba(255, 255, 255, .12); color: var(--white); }
.kicker--light .icon { color: #ff8a57; }

/* ---------- Focus areas ---------- */
.focus { position: relative; z-index: 2; margin-top: -110px; }
.focus__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 639px) {
	.focus__item { padding: 18px 16px; }
	.focus__icon { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 10px; }
	.focus__icon .icon { width: 24px; height: 24px; }
	.focus__title { font-size: 1.02rem; }
	.focus__item p { font-size: .88rem; line-height: 1.5; }
}
@media (min-width: 640px) { .focus__grid { gap: 16px; } }
@media (min-width: 1024px) { .focus__grid { grid-template-columns: repeat(4, 1fr); } }
.focus__item {
	background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow);
	transition: transform .3s var(--ease), box-shadow .3s; border-bottom: 4px solid transparent;
}
.focus__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-bottom-color: var(--orange); }
.focus__icon {
	display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; margin-bottom: 16px;
	background: var(--orange-50); color: var(--orange); transition: background .3s, color .3s, transform .3s;
}
.focus__icon .icon { width: 30px; height: 30px; }
.focus__item:hover .focus__icon { background: var(--orange); color: var(--white); transform: rotate(-6deg); }
.focus__title { font-size: 1.2rem; margin-bottom: 6px; }
.focus__item p { color: var(--muted); font-size: .97rem; margin: 0; }

/* ---------- Section headings ---------- */
.section-heading { margin-bottom: 44px; max-width: 720px; }
.section-heading--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading--left { margin-bottom: 26px; }
.section-title { margin-bottom: .35em; }
.section-lead { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.section-head-row .section-heading { margin-bottom: 0; }

/* ---------- Intro / about ---------- */
.intro__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .intro__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.intro__grid--start { align-items: start; }
@media (min-width: 960px) { .intro__grid--start .intro__media { position: sticky; top: 110px; } }
.intro__media { position: relative; padding: 0 40px 50px 0; max-width: 560px; }
.intro__img { margin: 0; overflow: hidden; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__img--main { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 160px; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.intro__img--small {
	position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: 50%;
	border: 8px solid var(--white); box-shadow: var(--shadow-lg);
}
.intro__badge {
	position: absolute; left: -10px; top: 30px; display: flex; gap: 10px; align-items: center; max-width: 260px;
	background: var(--blue); color: var(--white); padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
	font-family: var(--font-head); font-weight: 600; font-size: .92rem; line-height: 1.35;
}
.intro__badge .icon { width: 28px; height: 28px; color: #ff8a57; }
.mv { display: grid; gap: 18px; margin: 26px 0 30px; }
.mv__item { display: flex; gap: 16px; align-items: flex-start; }
.mv__icon {
	display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%;
	background: var(--blue-50); color: var(--blue);
}
.mv__item h3 { margin-bottom: 4px; font-size: 1.15rem; }
.mv__item p { margin: 0; color: var(--muted); }
.mv-cards { display: grid; gap: 24px; }
@media (min-width: 800px) { .mv-cards { grid-template-columns: 1fr 1fr; } }
.mv-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.mv-card .mv__icon { margin-bottom: 18px; background: var(--orange-50); color: var(--orange); }
.mv-card--blue { background: var(--blue); color: rgba(255, 255, 255, .9); }
.mv-card--blue h2 { color: var(--white); }
.mv-card--blue .mv__icon { background: rgba(255, 255, 255, .14); color: var(--white); }
.mv-card h2 { font-size: 1.6rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 26px; }
@media (min-width: 640px) { .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card {
	display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__media { position: relative; display: block; aspect-ratio: 36 / 25; overflow: hidden; background: var(--sand-200); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; color: var(--orange); background: linear-gradient(135deg, var(--sand), var(--orange-50)); }
.card__placeholder .icon { width: 48px; height: 48px; opacity: .6; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.card__title { font-size: 1.22rem; margin-bottom: 8px; }
.card__title a { color: var(--blue-900); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--ease), color .2s; }
.card__title a:hover { color: var(--orange); background-size: 100% 2px; }
.card__text { color: var(--muted); font-size: .97rem; }
.card__meta { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; color: var(--muted); }
.card__meta li { display: inline-flex; align-items: center; gap: 6px; }
.card__meta .icon { color: var(--orange); }
.card__link {
	margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head);
	font-weight: 600; color: var(--blue); text-decoration: none;
}
.card__link:hover { color: var(--orange); }
.card__link .icon { transition: transform .25s var(--ease); }
.card__link:hover .icon { transform: translateX(4px); }
.chip {
	align-self: flex-start; display: inline-block; padding: 4px 12px; margin-bottom: 12px; border-radius: 999px;
	background: var(--orange-50); color: var(--orange-600); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.chip--blue { background: var(--blue-50); color: var(--blue); }
.date-badge {
	position: absolute; left: 16px; bottom: 16px; background: var(--orange); color: var(--white); border-radius: 14px;
	padding: 6px 12px; text-align: center; font-size: .75rem; line-height: 1.2; font-weight: 700; text-transform: uppercase;
}
.date-badge strong { display: block; font-family: var(--font-head); font-size: 1.35rem; }

/* Story */
.card--story .card__body { padding: 32px; }
.story__quote-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--white); margin-bottom: 18px; }
.card--story blockquote { margin: 0 0 22px; font-size: 1.05rem; font-style: italic; color: var(--ink); }
.story__person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.story__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.story__person .card__title { font-size: 1.05rem; margin: 0; }
.story__name { margin: 0; color: var(--muted); font-size: .9rem; }

/* Events */
.event-list { display: grid; gap: 20px; }
.event-card {
	display: grid; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 18px; transition: box-shadow .3s, border-color .3s, transform .3s var(--ease);
}
.event-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.event-card__date { display: grid; place-items: center; width: 92px; height: 92px; border-radius: var(--radius); background: var(--blue); color: var(--white); text-align: center; line-height: 1.1; font-size: .8rem; text-transform: uppercase; }
.event-card__date strong { font-family: var(--font-head); font-size: 2rem; display: block; }
.event-card__media { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__body .card__text { margin: 0; }
@media (min-width: 860px) { .event-card { grid-template-columns: 92px 220px 1fr auto; } }

/* Publications */
.pub-list { display: grid; gap: 16px; }
.pub-card {
	display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 20px 22px; background: var(--white);
	border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s, border-color .3s;
}
.pub-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.pub-card__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--orange-50); color: var(--orange); }
.pub-card__icon .icon { width: 28px; height: 28px; }
.pub-card__body { flex: 1; min-width: 200px; }
.pub-card__body .card__meta { margin: 0; }
.pdf-embed { margin-top: 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 80vh; }
.pdf-embed iframe { width: 100%; height: 100%; border: 0; }

/* Albums + photo grid */
.album-grid { display: grid; gap: 22px; }
@media (min-width: 600px) { .album-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .album-grid { grid-template-columns: repeat(3, 1fr); } }
.album__link { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; color: var(--white); text-decoration: none; background: var(--sand-200); }
.album__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.album__link:hover img { transform: scale(1.07); }
.album__info { position: absolute; inset: auto 0 0; padding: 50px 22px 20px; background: linear-gradient(transparent, rgba(13, 33, 83, .9)); display: grid; gap: 4px; }
.album__title { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.album__count { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; opacity: .9; }
.album__link:hover { color: var(--white); }
.photo-grid { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-grid a { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo-grid__zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 33, 83, .45); color: var(--white); opacity: 0; transition: opacity .3s; }
.photo-grid a:hover img { transform: scale(1.08); }
.photo-grid a:hover .photo-grid__zoom, .photo-grid a:focus-visible .photo-grid__zoom { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(8, 16, 40, .94); display: grid; place-items: center; padding: 60px 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; text-align: center; color: var(--white); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { margin-top: 12px; opacity: .85; }
.lightbox__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.lightbox__btn:hover { background: var(--orange); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Stats ---------- */
.stats { position: relative; background: var(--blue); color: var(--white); padding: 70px 0; overflow: hidden; }
.stats::before, .stats::after { content: ""; position: absolute; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05); }
.stats::before { width: 380px; height: 380px; left: -140px; top: -190px; }
.stats::after { width: 300px; height: 300px; right: -90px; bottom: -170px; border-color: rgba(240, 90, 31, .25); }
.stats__grid { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats__grid--3 { grid-template-columns: repeat(3, 1fr); } .stats__grid--4 { grid-template-columns: repeat(4, 1fr); } }
.stats__item { text-align: center; }
.stats__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #ff8a57; margin-bottom: 12px; }
.stats__icon .icon { width: 30px; height: 30px; }
.stats__number { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.1; }
.stats__label { display: block; opacity: .85; margin-top: 4px; }
.stats__source { position: relative; text-align: center; opacity: .7; font-size: .88rem; margin: 30px 0 0; }
.admin-hint { margin: 24px auto; padding: 12px 16px; border: 2px dashed var(--orange); border-radius: var(--radius-sm); background: var(--orange-50); color: var(--orange-600); font-size: .92rem; }

/* ---------- Donation band ---------- */
.cta-band { padding: var(--section) 0 0; }
.cta-band + .section--sand { margin-top: var(--section); }
.cta-band__box { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--blue-900); color: var(--white); padding: clamp(40px, 7vw, 80px); isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band__box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 33, 83, .95) 30%, rgba(13, 33, 83, .55)); }
.cta-band__box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--orange); opacity: .85; z-index: -1; }
.cta-band__content { max-width: 620px; }
.cta-band h2 { color: var(--white); }
.cta-band h2 .hl { color: #ff8a57; }
.cta-band p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- Involve ---------- */
.involve__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .involve__grid { grid-template-columns: 1fr 1fr; gap: 70px; } }
.involve__cards { display: grid; gap: 14px; }
.involve__card {
	display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: var(--white); border-radius: var(--radius);
	text-decoration: none; color: var(--muted); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.involve__card strong { display: block; color: var(--blue-900); font-family: var(--font-head); font-size: 1.15rem; }
.involve__card > span:nth-child(2) { flex: 1; }
.involve__card > .icon { color: var(--orange); transition: transform .3s var(--ease); }
.involve__card:hover { transform: translateX(6px); box-shadow: var(--shadow); color: var(--muted); }
.involve__card:hover > .icon { transform: translateX(4px); }
.involve__icon, .way__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--orange-50); color: var(--orange); flex: none; }
.involve__icon .icon, .way__icon .icon { width: 28px; height: 28px; }

/* ---------- Partners ---------- */
.partners__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.partners__item {
	display: grid; place-items: center; width: 190px; height: 110px; padding: 16px; background: var(--white);
	border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s, transform .3s var(--ease);
}
.partners__item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.partners__item img { max-height: 76px; width: auto; object-fit: contain; filter: grayscale(.2); }
.partners__item span { font-family: var(--font-head); font-weight: 600; text-align: center; color: var(--blue-900); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--blue-900); color: var(--white); padding: calc(var(--header-h) + 90px) 0 130px; text-align: center; }
@media (min-width: 960px) { .page-hero { padding-top: calc(var(--header-h) + 44px + 120px); padding-bottom: 160px; min-height: 520px; } }
.page-hero__title { animation: heroIn .9s var(--ease) both; }
.page-hero .breadcrumbs { animation: heroIn .9s .2s var(--ease) both; }
.page-hero__bg { animation: bannerZoom 9s ease-out both; }
@keyframes bannerZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 33, 83, .9), rgba(13, 33, 83, .78)); }
.page-hero__title { color: var(--white); font-size: clamp(2rem, 4.6vw, 3.3rem); max-width: 900px; margin: 0 auto .3em; }
.page-hero__subtitle { max-width: 680px; margin: 0 auto 18px; color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 8px 18px; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; background: rgba(255, 255, 255, .1); border-radius: 999px; font-size: .92rem; }
.breadcrumbs li + li::before { content: "/"; margin: 0 6px; opacity: .55; }
.breadcrumbs a { color: var(--white); text-decoration: none; }
.breadcrumbs a:hover { color: #ff8a57; }
.breadcrumbs [aria-current] { color: #ff8a57; }

/* ---------- Article / entry content ---------- */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { margin-top: 1.6em; font-size: 1.7rem; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--orange); background: var(--sand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content .wp-block-file { padding: 16px; background: var(--sand); border-radius: var(--radius-sm); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.entry-content .wp-block-file__button { background: var(--orange) !important; border-radius: 999px !important; padding: .5em 1.2em !important; }
.entry-content [lang="ti"], .entry-content [lang="am"] { font-family: "Noto Sans Ethiopic", var(--font-body); }
.article h2 { font-size: 1.6rem; margin-top: 1.4em; }
.article__meta { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .95rem; }
.article__meta li { display: inline-flex; gap: 8px; align-items: center; }
.article__meta .icon { color: var(--orange); }
.article__image { margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; }
.article__image img { width: 100%; }
.article__tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.article__tags a { padding: 5px 14px; border-radius: 999px; background: var(--sand); color: var(--ink); text-decoration: none; font-size: .88rem; }
.article__tags a:hover { background: var(--orange); color: var(--white); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--orange); width: 22px; height: 22px; margin-top: 3px; }
.pull-quote { position: relative; margin: 0 0 30px; padding: 30px 30px 26px; background: var(--blue); color: var(--white); border-radius: var(--radius); font-size: 1.2rem; }
.pull-quote .icon { width: 36px; height: 36px; color: #ff8a57; }
.pull-quote cite { display: block; margin-top: 8px; font-style: normal; opacity: .8; font-size: 1rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.share__label { font-family: var(--font-head); font-weight: 600; color: var(--blue-900); }
.share .social a { background: var(--sand); color: var(--blue-900); }
.share .social a:hover { background: var(--orange); color: var(--white); }
.post-nav { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-nav > div:last-child { text-align: right; } }
.post-nav a { display: block; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--blue-900); font-family: var(--font-head); font-weight: 600; line-height: 1.35; }
.post-nav a span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); margin-bottom: 4px; }
.post-nav a:hover { border-color: var(--orange); }

/* Sidebar */
.sidebar { display: grid; gap: 24px; }
.sidebar > * { min-width: 0; }
@media (min-width: 960px) { .sidebar { position: sticky; top: 100px; } }
.widget { background: var(--sand); border-radius: var(--radius); padding: 26px; }
.widget__title { font-size: 1.2rem; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--sand-200); position: relative; }
.widget__title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 46px; height: 2px; background: var(--orange); }
.widget--donate { background: var(--blue); color: rgba(255, 255, 255, .88); }
.widget--donate .widget__title { color: var(--white); border-color: rgba(255, 255, 255, .15); }
.mini-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mini-posts a { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.mini-posts img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }
.mini-posts strong { display: block; color: var(--blue-900); font-family: var(--font-head); font-weight: 600; line-height: 1.3; font-size: .98rem; }
.mini-posts a:hover strong { color: var(--orange); }
.mini-posts time { font-size: .82rem; color: var(--muted); }
.project-facts dl { margin: 0 0 18px; display: grid; gap: 14px; }
.project-facts dt { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--blue-900); font-size: .9rem; }
.project-facts dt .icon { color: var(--orange); }
.project-facts dd { margin: 2px 0 0 26px; color: var(--muted); }
.widget .search-form .btn span { display: none; }

/* Filters / pills */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 36px; }
.filter-bar__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter-bar .filter-bar__cats { margin: 0; }
.filter-bar__cats--center { justify-content: center; margin-bottom: 36px; }
.pill { padding: 8px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; transition: all .2s; }
.pill:hover { border-color: var(--orange); color: var(--orange); }
.pill.is-active { background: var(--orange); border-color: var(--orange); color: var(--white); }
.filter-bar__search { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); }
.filter-bar__search input { border: 0; padding: 10px 18px; font: inherit; min-width: 0; width: 220px; }
.filter-bar__search input:focus { outline: none; }
.filter-bar__search button { border: 0; background: var(--blue); color: var(--white); padding: 0 16px; cursor: pointer; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.search-results { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.search-result { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.search-result p { margin: 0; color: var(--muted); }
.big-404 { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--orange); margin: 0 0 10px; }

/* Pagination */
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px; border-radius: 50%; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.page-numbers.current, .page-numbers:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* About: values + team */
.value-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 700px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.value:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.value__num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--orange); opacity: .35; }
.value p { color: var(--muted); margin: 0; }
.team-grid { display: grid; gap: 24px; }
@media (min-width: 600px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card__photo { aspect-ratio: 14 / 17; overflow: hidden; background: var(--sand); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 20px; }
.team-card__body h3 { margin-bottom: 2px; }
.team-card__role { color: var(--orange); font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.team-card__body p:not(.team-card__role) { color: var(--muted); font-size: .93rem; }

/* Get involved / donate */
.ways { display: grid; gap: 22px; margin-bottom: 40px; }
@media (min-width: 860px) { .ways { grid-template-columns: repeat(3, 1fr); } }
.way { display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--muted); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.way:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--muted); }
.way .way__icon { margin-bottom: 18px; }
.way h2 { font-size: 1.35rem; }
.form-layout, .contact-layout, .donate-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .form-layout, .contact-layout, .donate-layout { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card__title { font-size: 1.5rem; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--orange); color: var(--white); }
.contact-list h3 { margin: 0 0 2px; font-size: 1.05rem; }
.contact-list p { margin: 0; color: var(--muted); }
.social--contact a, .social--footer a { background: var(--blue-50); color: var(--blue-900); }
.social--footer a { background: rgba(255, 255, 255, .08); color: var(--white); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.9); }
.donate-options { display: grid; gap: 18px; }
.donate-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.donate-card .way__icon { margin-bottom: 14px; }
.donate-card h2 { font-size: 1.35rem; }
.donate-card--primary { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-900) 100%); color: rgba(255, 255, 255, .88); border: 0; box-shadow: var(--shadow); }
.donate-card--primary h2 { color: var(--white); }
.donate-card--primary .way__icon { background: rgba(255, 255, 255, .12); color: #ff8a57; }
.donate-card__campaign { font-family: var(--font-head); font-weight: 600; color: #ff8a57; }
.donate-card__bank { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95rem; background: var(--sand); padding: 14px; border-radius: var(--radius-sm); color: var(--ink); }
.donate-note { color: var(--muted); font-size: .93rem; }

/* ---------- Forms ---------- */
.kd-form__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .kd-form__grid { grid-template-columns: 1fr 1fr; } .kd-form__field--wide { grid-column: 1 / -1; } }
.kd-form label { display: block; font-weight: 700; font-size: .93rem; margin-bottom: 6px; color: var(--blue-900); }
.kd-req { color: var(--orange); }
.kd-form input[type="text"], .kd-form input[type="email"], .kd-form input[type="tel"], .kd-form select, .kd-form textarea {
	width: 100%; padding: .8em 1em; font: inherit; color: var(--ink); background: var(--sand);
	border: 2px solid transparent; border-radius: var(--radius-sm); transition: border-color .2s, background .2s;
}
.kd-form textarea { resize: vertical; min-height: 140px; }
.kd-form input:focus, .kd-form select:focus, .kd-form textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.kd-form [aria-invalid="true"] { border-color: #c62828 !important; }
.kd-form__check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--ink) !important; }
.kd-form__check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange); flex: none; }
.kd-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kd-form__privacy { font-size: .85rem; color: var(--muted); margin: 16px 0; }
.kd-form__notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; }
.kd-form__notice--success { background: #e7f6ec; color: #1b6b35; }
.kd-form__notice--error { background: #fdecea; color: #a52a1e; }
.kd-form .btn { min-width: 200px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--blue-900); color: rgba(255, 255, 255, .78); margin-top: 120px; font-size: .98rem; }
.footer-cta { transform: translateY(-50%); margin-bottom: -40px; }
.footer-cta__inner {
	display: grid; gap: 20px; align-items: center; padding: 36px clamp(24px, 4vw, 50px); border-radius: var(--radius-lg);
	background: var(--orange); color: rgba(255, 255, 255, .92); box-shadow: var(--shadow-lg);
	background-image: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .18) 0 120px, transparent 121px), radial-gradient(circle at 0 100%, rgba(13, 33, 83, .15) 0 90px, transparent 91px);
}
.footer-cta h2 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 4px; }
.footer-cta p { margin: 0; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-cta .btn--primary { background: var(--blue-900); box-shadow: none; }
.footer-cta .btn--primary:hover { background: var(--blue); }
@media (min-width: 900px) { .footer-cta__inner { grid-template-columns: 1fr auto; } }
.footer-grid { display: grid; gap: 40px; padding-bottom: 50px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-logo { display: inline-block; background: var(--white); padding: 10px 16px; border-radius: var(--radius); margin-bottom: 18px; }
.footer-logo img { max-height: 70px; width: auto; }
.footer-title { color: var(--white); font-size: 1.2rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--orange); }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--orange); margin-top: 4px; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .9rem; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-bottom p { margin: 0; }
.legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.legal-links a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.legal-links a:hover { color: var(--white); }
.footer-bottom__right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-left: auto; padding-right: 60px; /* clear of the back-to-top button */ }
.footer-credit { color: rgba(255, 255, 255, .7); }
.footer-credit a { color: var(--white); font-weight: 600; text-decoration: none; }
.footer-credit a:hover { color: var(--orange); }
.to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; place-items: center; width: 48px; height: 48px;
	border-radius: 50%; background: var(--orange); color: var(--white); box-shadow: var(--shadow); opacity: 0; visibility: hidden;
	transform: translateY(14px); transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); color: var(--white); }

/* ---------- Block editor alignment ---------- */
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image figcaption, .wp-caption-text { font-size: .88rem; color: var(--muted); text-align: center; }
.wp-block-button__link { background: var(--orange); border-radius: 999px; }

/* ==========================================================================
   Effects & visualisations (preloader, cursor, doodles, split titles, parallax,
   tabs, progress, volunteer banner, carousel, stacking cards, donate box,
   accordion, marquees, search overlay, newsletter)
   ========================================================================== */

/* Preloader: curtain strips slide away, logo fades */
.preloader { position: fixed; inset: 0; z-index: 1000; pointer-events: none; animation: preloaderFailsafe 0s 3s forwards; }
.preloader__curtain { position: absolute; inset: 0; display: flex; }
.preloader__curtain span { flex: 1; background: var(--blue-900); transition: transform .7s cubic-bezier(.77, 0, .18, 1); }
.preloader__curtain span:nth-child(even) { background: var(--blue); }
.preloader__brand { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; transition: opacity .35s; }
.preloader__brand img { width: 120px; height: auto; background: var(--white); border-radius: 22px; padding: 10px; animation: pulse 1.2s ease-in-out infinite; }
.preloader__word { font-family: var(--font-head); font-weight: 800; letter-spacing: .4em; color: var(--white); font-size: 1rem; }
.preloader.is-done .preloader__brand { opacity: 0; }
.preloader.is-done .preloader__curtain span { transform: translateY(-101%); }
.preloader.is-done .preloader__curtain span:nth-child(2) { transition-delay: .06s; }
.preloader.is-done .preloader__curtain span:nth-child(3) { transition-delay: .12s; }
.preloader.is-done .preloader__curtain span:nth-child(4) { transition-delay: .18s; }
.preloader.is-done .preloader__curtain span:nth-child(5) { transition-delay: .24s; }
.kd-seen .preloader, .no-js .preloader { display: none; }
@keyframes preloaderFailsafe { to { visibility: hidden; } }
@keyframes pulse { 50% { transform: scale(1.06); } }

/* Custom cursor (fine pointers only) */
.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
	.fx-cursor .cursor-dot, .fx-cursor .cursor-ring { display: block; position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s, width .3s, height .3s, margin .3s, background .3s; }
	.fx-cursor .cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--orange); }
	.fx-cursor .cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(240, 90, 31, .55); }
	.fx-cursor.cursor-on .cursor-dot, .fx-cursor.cursor-on .cursor-ring { opacity: 1; }
	.fx-cursor .cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(240, 90, 31, .12); border-color: transparent; }
	.fx-cursor .cursor-dot.is-hover { width: 0; height: 0; margin: 0; }
}

/* Floating line-art doodles */
.has-doodles { position: relative; overflow: hidden; }
.doodle { position: absolute; width: 84px; height: 84px; color: var(--orange); opacity: .35; pointer-events: none; z-index: 0; }
.doodle--tr { right: 4%; top: 40px; }
.doodle--tl { left: 3%; top: 50px; color: var(--blue); }
.doodle--bl { left: 4%; bottom: 40px; }
.float-y { animation: floatY 6s ease-in-out infinite; }
.float-x { animation: floatX 7s ease-in-out infinite; }
.has-doodles > .container { position: relative; z-index: 1; }
@media (max-width: 767px) { .doodle:not(.doodle--hero) { display: none; } }

/* The Keradion bird (from the logo) as a floating sketch */
.doodle--bird {
	width: 92px; height: 100px; color: var(--blue); opacity: .38;
	background-color: currentColor;
	-webkit-mask: url("../img/keradion-bird.png") center / contain no-repeat;
	mask: url("../img/keradion-bird.png") center / contain no-repeat;
}

/* Split titles: words rise in */
.fx-titles [data-split] .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.fx-titles [data-split] .word > span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease); transition-delay: calc(var(--wi, 0) * 70ms); }
.fx-titles .is-split.is-visible .word > span, .fx-titles .is-visible [data-split] .word > span { transform: none; }
.fx-titles .hero__title .word { overflow: visible; }

/* Parallax photos */
.parallax-wrap { overflow: hidden; }
.fx-parallax .parallax-img { will-change: transform; transform: translateY(var(--py, 0)) scale(1.18); }

/* Image hover: zoom + light sweep */
.img-hover { position: relative; overflow: hidden; display: block; }
.img-hover::after, .img-hover-card .card__media::after {
	content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; z-index: 2; pointer-events: none;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg);
}
.img-hover:hover::after, .img-hover-card:hover .card__media::after { animation: shine .9s var(--ease); }
.img-hover img { transition: transform .7s var(--ease); }
.img-hover:hover img { transform: scale(1.07); }
@keyframes shine { to { left: 125%; } }

/* About: rotating badge, tabs, fact */
.spin-badge { position: absolute; right: 0; top: -18px; width: 156px; height: 156px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-lg); border: 3px solid var(--orange); display: grid; place-items: center; z-index: 3; }
.spin-badge svg { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); animation: spin 22s linear infinite; overflow: visible; }
.spin-badge text { font-family: var(--font-head); font-weight: 800; font-size: 13.5px; fill: var(--blue-900); }
.spin-badge__icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--orange); }
.spin-badge__icon .doodle--bird { position: static; width: 42px; height: 46px; color: var(--white); opacity: 1; }
.tabs { margin: 26px 0 28px; }
.tabs__list { position: relative; display: flex; gap: 28px; border-bottom: 2px solid var(--line); }
.tabs__list [role="tab"] { background: none; border: 0; padding: 0 0 12px; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--muted); cursor: pointer; transition: color .25s; }
.tabs__list [role="tab"][aria-selected="true"], .tabs__list [role="tab"]:hover { color: var(--blue-900); }
.tabs__ink { position: absolute; left: 0; bottom: -2px; height: 3px; width: 0; border-radius: 3px; background: var(--orange); transition: transform .4s var(--ease), width .4s var(--ease); }
.tabs__panel { padding-top: 16px; color: var(--muted); animation: tabIn .45s var(--ease); }
@keyframes tabIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.intro__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; }
.intro__fact { display: flex; align-items: center; gap: 12px; line-height: 1.25; }
.intro__fact strong { font-family: var(--font-head); font-size: 2.2rem; color: var(--blue); }
.intro__fact span { font-size: .92rem; color: var(--muted); font-weight: 600; }

/* Fundraising progress */
.progress { margin: 34px 0 16px; }
.progress__track { position: relative; height: 8px; border-radius: 999px; background: var(--sand-200); }
.progress__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--orange)); transition: width 1.6s var(--ease); }
.progress.is-filled .progress__fill, .no-js .progress__fill { width: var(--pct); }
.progress__knob { position: absolute; right: -9px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--white); border: 4px solid var(--orange); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.progress__pct { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--blue-900); color: var(--white); font-size: .72rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.progress__nums { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; margin-top: 10px; font-size: .82rem; color: var(--muted); }
.progress__nums span { white-space: nowrap; }
.progress__nums strong { color: var(--blue-900); }

/* Volunteer banner */
.vb { position: relative; border-radius: var(--radius-lg); background: var(--blue-900); overflow: hidden; padding: 0 0 34px; }
.vb__head { display: grid; position: relative; }
.vb__title { padding: 40px clamp(24px, 4vw, 50px) 30px; position: relative; z-index: 1; }
.vb__title h2 { color: var(--white); margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.vb__title .hl { color: #ff8a57; }
.vb__count { background: var(--orange); color: var(--white); padding: 26px clamp(24px, 4vw, 50px); display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right; position: relative; }
.vb__number { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; }
.vb__label { font-weight: 700; opacity: .9; }
.vb__motto { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; max-width: 320px; }
@media (min-width: 900px) {
	.vb__head { grid-template-columns: 1.2fr .8fr; }
	.vb__count { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); padding-left: 18%; }
	.vb__count::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 100% 0, rgba(255, 255, 255, .08) 0 6deg, transparent 6deg 12deg); }
}
.vb__photo { margin: 0 clamp(14px, 2vw, 24px); border-radius: var(--radius); height: clamp(240px, 38vw, 440px); position: relative; }
.vb__photo img { width: 100%; height: 100%; object-fit: cover; }
.vb__cta { display: flex; justify-content: center; margin-top: -28px; position: relative; z-index: 2; }

/* Carousel (stories) */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 6px 2px 16px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: start; display: flex; }
.carousel__item > * { flex: 1; }
@media (min-width: 700px) { .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (min-width: 1100px) { .carousel__track { grid-auto-columns: calc((100% - 48px) / 3); } }
.carousel .slider-btn { position: absolute; top: 50%; z-index: 2; margin-top: -23px; background: var(--white); color: var(--blue-900); border-color: var(--line); box-shadow: var(--shadow-sm); }
.carousel .slider-btn:hover { background: var(--orange); color: var(--white); }
.carousel__prev { left: -10px; } .carousel__next { right: -10px; }
@media (min-width: 1300px) { .carousel__prev { left: -64px; } .carousel__next { right: -64px; } }

/* Stacking event cards */
.stack { display: grid; gap: 26px; }
.stack__card {
	display: grid; gap: 22px; align-items: center; padding: 24px; background: var(--white); border: 1px solid var(--line);
	border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transform-origin: center top;
}
@media (min-width: 900px) {
	.stack__card { grid-template-columns: 110px 1fr 380px; padding: 30px 30px 30px 34px; position: sticky; top: 110px; }
	.stack__card:nth-child(2) { top: 130px; } .stack__card:nth-child(3) { top: 150px; } .stack__card:nth-child(4) { top: 170px; }
	.stack { gap: 40px; padding-bottom: 20px; }
}
.stack__date { display: grid; justify-items: center; gap: 2px; padding: 16px 0; background: var(--orange-50); border-radius: 999px; color: var(--blue-900); width: 96px; }
.stack__date-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--orange); color: var(--white); margin-bottom: 6px; }
.stack__date strong { font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.stack__date span:last-child { text-transform: uppercase; font-weight: 700; font-size: .85rem; }
.stack__media { border-radius: var(--radius); aspect-ratio: 16 / 10; }
.stack__media img { width: 100%; height: 100%; object-fit: cover; }
.btn--light-orange { background: var(--orange-50); color: var(--orange-600); padding: .6em 1.3em; }
.btn--light-orange:hover { background: var(--orange); color: var(--white); }

/* Donation box */
.donate-box { display: grid; gap: 0; align-items: center; }
@media (min-width: 960px) { .donate-box { grid-template-columns: 1fr 1fr; } }
.donate-box__panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); background: var(--blue-900); color: rgba(255, 255, 255, .88); min-height: 460px; display: flex; align-items: center; }
.donate-box__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.donate-box__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(13, 33, 83, .55), rgba(13, 33, 83, .95) 70%); }
.donate-box__msg { padding: clamp(28px, 5vw, 56px); }
.donate-box__msg h2 { color: var(--white); }
.donate-box__msg .hl { color: #ff8a57; }
.donate-box__campaign { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-weight: 700; color: var(--white); margin: 6px 0 0; }
.donate-box__campaign .icon { color: #ff8a57; }
.donate-box__form { position: relative; z-index: 2; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); margin: -40px 16px 0; }
@media (min-width: 960px) { .donate-box__form { margin: 0 0 0 -60px; } }
.donate-box__form h3 { font-size: 1.6rem; }
.donate-box__hint { color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.amounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; margin-bottom: 20px; }
.amount { padding: 12px 8px; border-radius: var(--radius-sm); border: 2px solid var(--line); background: var(--sand); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--blue-900); cursor: pointer; transition: all .2s; }
.amount:hover { border-color: var(--orange); }
.amount.is-active { background: var(--orange); border-color: var(--orange); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(240, 90, 31, .3); }
.btn--block { width: 100%; white-space: normal; }
.donate-box__note { font-size: .85rem; color: var(--muted); margin: 14px 0 10px; }

/* FAQ accordion */
.accordion { display: grid; gap: 14px; }
.accordion__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.accordion__item[open] { border-color: transparent; box-shadow: var(--shadow); }
.accordion__item summary { list-style: none; display: flex; align-items: center; gap: 18px; padding: 18px 22px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--blue-900); transition: background .3s, color .3s; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item[open] summary { background: var(--blue); color: var(--white); }
.accordion__num { padding-right: 18px; border-right: 1px solid currentColor; opacity: .7; }
.accordion__q { flex: 1; }
.accordion__icon { position: relative; width: 16px; height: 16px; flex: none; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--orange); transition: transform .3s; }
.accordion__icon::after { transform: rotate(90deg); }
.accordion__item[open] .accordion__icon::before, .accordion__item[open] .accordion__icon::after { background: var(--white); }
.accordion__item[open] .accordion__icon::after { transform: rotate(0); }
.accordion__a { padding: 18px 22px 20px 78px; color: var(--muted); background: var(--orange-50); }
.accordion__a p { margin: 0; }
@media (max-width: 560px) { .accordion__a { padding-left: 22px; } .accordion__num { display: none; } }
.section--tight { padding: 50px 0 0; }

/* Marquees (partners, photos) */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 18px; list-style: none; margin: 0; padding: 6px 0; animation: marquee var(--marquee-speed, 40s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee--logos .partners__item { flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:not(.is-ready) .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
.photo-strip { position: relative; z-index: 2; margin-bottom: -110px; padding-top: 20px; }
.marquee--photos .marquee__track { gap: 16px; --marquee-speed: 60s; }
.marquee--photos li { width: clamp(200px, 22vw, 280px); aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; flex: none; box-shadow: var(--shadow); }
.marquee--photos a { height: 100%; }
.marquee--photos img { width: 100%; height: 100%; object-fit: cover; }
.marquee.is-ready .marquee__track { flex-wrap: nowrap; justify-content: flex-start; }
/* The photo strip overlaps the footer top on the homepage; the orange footer bar is skipped there. */
body:has(.photo-strip) .site-footer { margin-top: 0; padding-top: 150px; }
body:has(.photo-strip) .footer-cta { display: none; }

/* Full-screen search */
.search-panel { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 0; background: rgba(13, 33, 83, .96); backdrop-filter: blur(6px); box-shadow: none; animation: fadeIn .3s var(--ease); }
.search-panel[hidden] { display: none; }
.search-panel__inner { display: block; max-width: 760px; }
.search-panel__title { color: var(--white); font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; text-align: center; margin-bottom: 24px; }
.search-panel .search-form input { background: rgba(255, 255, 255, .95); border-color: transparent; padding: 1em 1.4em; font-size: 1.1rem; }
.search-panel__close { position: absolute; top: 24px; right: 24px; background: rgba(255, 255, 255, .12); color: var(--white); }
.search-panel__close:hover { background: var(--orange); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Footer newsletter */
.footer-news { display: grid; gap: 22px; align-items: center; padding: 10px 0 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 900px) { .footer-news { grid-template-columns: 1fr 1.1fr; } }
.footer-news__text { display: flex; gap: 18px; align-items: center; }
.footer-news__text p { margin: 0; }
.footer-news__icon { display: grid; place-items: center; width: 62px; height: 62px; flex: none; border-radius: 50%; background: var(--orange); color: var(--white); }
.footer-title--plain { margin-bottom: 4px; padding: 0; }
.footer-title--plain::after { display: none; }
.kd-form--inline .kd-form__grid { grid-template-columns: 1fr; }
.kd-form--inline { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.kd-form--inline .kd-form__notice, .kd-form--inline .kd-form__privacy { grid-column: 1 / -1; margin: 0; }
.kd-form--inline .kd-form__notice { order: 0; } .kd-form--inline .kd-form__grid { order: 1; } .kd-form--inline .btn { order: 2; } .kd-form--inline .kd-form__privacy { order: 3; }
.kd-form--inline label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.kd-form--inline input[type="email"] { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: var(--white); border-radius: 999px; padding: .9em 1.3em; }
.kd-form--inline input[type="email"]::placeholder { color: rgba(255, 255, 255, .6); }
.kd-form--inline input[type="email"]:focus { background: rgba(255, 255, 255, .14); border-color: var(--orange); }
.kd-form--inline .btn { min-width: 0; }
.kd-form--inline .kd-form__privacy { color: rgba(255, 255, 255, .55); font-size: .82rem; }
.site-footer .kd-form__notice--success { background: rgba(46, 160, 90, .18); color: #c9f2d6; }
.site-footer .kd-form__notice--error { background: rgba(220, 60, 40, .2); color: #ffd3cc; }

/* Back-to-top progress ring */
.to-top svg.ring { position: absolute; inset: -3px; width: calc(100% + 6px); height: calc(100% + 6px); transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--blue-900); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: var(--ring, 160); transition: stroke-dashoffset .1s linear; }

/* ==========================================================================
   Inner pages (template parity, round 2)
   ========================================================================== */
@media (min-width: 960px) { .layout-sidebar--left { grid-template-columns: 340px minmax(0, 1fr); } }
/* Phones: the project list comes first, as on the template. */
.layout-sidebar--left .sidebar { position: static; } /* taller than the screen: sticky would hide its bottom */

.side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.side-nav a {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm);
	background: var(--white); color: var(--blue-900); text-decoration: none; font-family: var(--font-head); font-weight: 600;
	transition: background .25s, color .25s, transform .25s var(--ease);
}
.side-nav a .icon { width: 30px; height: 30px; padding: 7px; border-radius: 8px; background: var(--sand); color: var(--blue-900); transition: background .25s, color .25s, transform .25s var(--ease); }
.side-nav a:hover { color: var(--orange); transform: translateX(4px); }
.side-nav a:hover .icon { background: var(--orange); color: var(--white); }
.side-nav a.is-current { color: var(--orange); }
.side-nav a.is-current .icon { background: var(--orange); color: var(--white); }
.side-nav--count em { font-style: normal; font-size: .82rem; min-width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--sand); color: var(--blue-900); }

.widget--help { position: relative; isolation: isolate; overflow: hidden; text-align: center; color: rgba(255, 255, 255, .88); background: var(--blue-900); padding: 36px 26px; }
.widget--help__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.widget--help::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 33, 83, .82), rgba(13, 33, 83, .96)); }
.widget--help .widget__title { color: var(--white); border: 0; padding: 0; }
.widget--help .widget__title::after { display: none; }
.widget--help__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: var(--white); margin-bottom: 14px; animation: pulse 2.4s ease-in-out infinite; }
.widget--help__phone { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--white); text-decoration: none; margin-bottom: 16px; }
.widget--help__phone:hover { color: #ff8a57; }

.quote-box { display: flex; gap: 18px; margin: 28px 0; padding: 26px 28px; border-radius: var(--radius); background: var(--sand); border-left: 4px solid var(--orange); }
.quote-box .icon { width: 40px; height: 40px; color: var(--orange); flex: none; }
.quote-box strong { font-family: var(--font-head); color: var(--blue-900); font-size: 1.1rem; }
.quote-box p { margin: 6px 0 0; }
@media (min-width: 700px) { .check-list--grid { grid-template-columns: 1fr 1fr; gap: 12px 24px; } }
.article__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }

.pn { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 640px) { .pn { grid-template-columns: 1fr 1fr; } }
.pn__link { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--blue-900); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.pn__link:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); color: var(--blue-900); }
.pn__link--next { flex-direction: row-reverse; text-align: right; }
.pn__thumb { width: 64px; height: 64px; flex: none; border-radius: var(--radius-sm); overflow: hidden; display: grid; place-items: center; background: var(--sand); color: var(--orange); }
.pn__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pn__text { flex: 1; min-width: 0; line-height: 1.3; }
.pn__dir { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); font-weight: 700; margin-bottom: 4px; }
.pn__text strong { font-family: var(--font-head); font-weight: 600; }
.pn__link > .icon { color: var(--orange); flex: none; }

.event-top { display: grid; gap: 30px; align-items: start; margin-bottom: 40px; }
@media (min-width: 960px) { .event-top { grid-template-columns: 1fr 380px; gap: 60px; } }
.event-top__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.details-box { margin: 0; padding: 30px; border-radius: var(--radius); background: var(--sand); display: grid; gap: 18px; border-top: 4px solid var(--orange); }
.details-box dt { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--blue-900); }
.details-box dt .icon { color: var(--orange); }
.details-box dd { margin: 3px 0 0 26px; color: var(--muted); }
.collage { display: grid; gap: 16px; margin-bottom: 44px; }
.collage__item { border-radius: var(--radius); aspect-ratio: 16 / 10; }
.collage__item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) {
	.collage--2 { grid-template-columns: 1fr 1.6fr; }
	.collage--3 { grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; }
	.collage--3 .collage__item:first-child { grid-row: 1 / 3; aspect-ratio: auto; }
	.collage--2 .collage__item, .collage--3 .collage__item:not(:first-child) { aspect-ratio: auto; min-height: 200px; }
}
.event-body { margin: 0 auto; }

.member { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .member { grid-template-columns: 420px 1fr; gap: 70px; } }
.member__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 14 / 17; background: var(--sand); box-shadow: var(--shadow); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__name-bg { position: absolute; left: -6px; bottom: -18px; font-family: var(--font-head); font-weight: 800; font-size: 6rem; line-height: 1; color: rgba(255, 255, 255, .28); pointer-events: none; text-transform: uppercase; }
.member__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.member .social { margin-top: 18px; }

.team-card { position: relative; }
.team-card__photo { position: relative; }
.team-card__social { position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 20px); opacity: 0; display: flex; gap: 8px; list-style: none; margin: 0; padding: 8px 10px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow); transition: opacity .3s, transform .35s var(--ease); z-index: 3; }
.team-card:hover .team-card__social, .team-card:focus-within .team-card__social { opacity: 1; transform: translate(-50%, 0); }
.team-card__social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sand); color: var(--blue-900); }
.team-card__social a:hover { background: var(--orange); color: var(--white); }
@media (hover: none) { .team-card__social { opacity: 1; transform: translate(-50%, 0); } }
.team-card__body h3 a { color: var(--blue-900); text-decoration: none; }
.team-card__body h3 a:hover { color: var(--orange); }
.team-grid--page { margin-bottom: 60px; }

.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card__foot .card__link { margin-top: 0; }
.btn--sm { padding: .5em 1em; font-size: .9rem; }
.date-badge--lg { left: 20px; bottom: 20px; padding: 8px 16px; font-size: .85rem; }
.date-badge--lg strong { font-size: 1.8rem; }

/* ==========================================================================
   Phone layout (template parity, round 3) — up to 767px unless noted
   ========================================================================== */
@media (max-width: 1099px) {
	/* Drawer: dark panel, contact block, social row at the bottom */
	.navbar__nav { background: var(--blue-900); padding: 0 0 0; gap: 0; }
	.drawer__head { padding: 18px 22px; border-color: rgba(255, 255, 255, .1); }
	.drawer__head .custom-logo-link { background: var(--white); border-radius: 12px; padding: 4px 8px; }
	.drawer__close { background: rgba(255, 255, 255, .1); color: var(--white); }
	.navbar__nav .menu { padding: 6px 22px 0; }
	.navbar__nav .menu > li { border-color: rgba(255, 255, 255, .1); }
	.navbar__nav .menu a { color: var(--white); }
	.navbar__nav .sub-menu a { color: rgba(255, 255, 255, .7); }
	.navbar__nav .menu a:hover, .navbar__nav .current-menu-item > a, .navbar__nav .current-menu-ancestor > a { color: #ff8a57; }
	.submenu-toggle { background: rgba(255, 255, 255, .08); color: var(--white); border-left: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; }
	.drawer__donate { margin: 22px 22px 0; }
	.drawer__contact { list-style: none; margin: 26px 22px 24px; padding: 0; display: grid; gap: 18px; color: var(--white); }
	.drawer__contact li { display: flex; gap: 14px; align-items: center; }
	.drawer__contact .icon { width: 30px; height: 30px; flex: none; color: #ff8a57; }
	.drawer__contact small { display: block; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; opacity: .65; }
	.drawer__contact a { color: var(--white); text-decoration: none; }
	.drawer__social { margin-top: auto; display: grid; grid-auto-flow: column; gap: 0; }
	.drawer__social li { border-left: 1px solid rgba(255, 255, 255, .15); }
	.drawer__social li:first-child { border-left: 0; }
	.drawer__social a { width: 100%; height: 54px; border-radius: 0; background: var(--orange); color: var(--white); }
	.drawer__social a:hover { background: var(--orange-600); transform: none; }
}
@media (max-width: 767px) {
	/* Header: full-width solid bar flush with the top, search + menu only */
	.navbar-wrap { padding: 0; background: var(--white); box-shadow: 0 2px 14px rgba(13, 33, 83, .1); }
	.navbar { border-radius: 0; box-shadow: none; padding: 8px var(--gutter); min-height: 68px; }
	.navbar-wrap > .container { padding: 0; }
	.navbar__brand img { max-height: 50px; }
	.navbar__donate { display: none; }
	.site-header.is-stuck .navbar { padding: 6px var(--gutter); }
	:root { --header-h: 68px; }

	/* Hero: shorter, one main button, dots + pause only (swipe to change) */
	.hero__slide { padding: calc(var(--header-h) + 60px) 0 210px; }
	.hero__title { font-size: 2.25rem; }
	.hero__actions .btn--ghost { display: none; }
	.hero__controls { bottom: 140px; gap: 10px; }
	.hero__controls [data-prev], .hero__controls [data-next] { display: none; }
	.hero__controls .slider-btn--pause { width: 38px; height: 38px; }

	/* What we do: one card per row, icon on the card's top edge */
	.focus { margin-top: -80px; }
	.focus__grid { grid-template-columns: 1fr; gap: 44px; }
	.focus__item { padding: 46px 24px 26px; position: relative; text-align: left; }
	.focus__icon { position: absolute; top: -32px; left: 24px; width: 64px; height: 64px; border-radius: 50%; margin: 0; box-shadow: 0 0 0 8px var(--white); }
	.focus__icon .icon { width: 28px; height: 28px; }
	.focus__title { font-size: 1.2rem; }
	.focus__item p { font-size: .97rem; }

	/* About: two photos side by side in a tinted rounded box */
	.intro .intro__grid { gap: 30px; }
	.intro__media { display: grid; grid-template-columns: 1fr 1.35fr; gap: 14px; align-items: end; padding: 18px; max-width: none; background: var(--sand); border-radius: var(--radius-lg); }
	.intro__img--main { order: 2; border-radius: var(--radius); aspect-ratio: 3 / 4; }
	.intro__img--small { position: static; order: 1; width: auto; aspect-ratio: 3 / 4; border-radius: var(--radius); border: 0; box-shadow: none; }
	.spin-badge { width: 120px; height: 120px; left: -8px; top: -16px; right: auto; }
	.spin-badge__icon { width: 52px; height: 52px; }
	.spin-badge__icon .doodle--bird { width: 30px; height: 33px; }
	.intro__badge { position: static; grid-column: 1 / -1; order: 3; max-width: none; }

	/* Volunteer banner: number inside the same panel */
	.vb__count { background: transparent; align-items: flex-start; text-align: left; padding: 0 24px 22px; clip-path: none; }
	.vb__count::before { display: none; }
	.vb__number { color: var(--white); }
	.vb__title { padding-bottom: 14px; }

	/* Statistics: rows with icon left */
	.stats { padding: 40px 0; }
	.stats__grid { grid-template-columns: 1fr; gap: 0; }
	.stats__item { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; text-align: left; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.stats__item:last-child { border-bottom: 0; }
	.stats__icon { grid-row: 1 / 3; margin: 0; }
	.stats__number { align-self: end; }
	.stats__label { align-self: start; margin: 0; }

	/* Event cards: photo first, horizontal date pill, centred text */
	.stack__card { text-align: center; padding: 16px 16px 26px; }
	.stack__media { order: -1; }
	.stack__date { width: auto; justify-self: center; display: flex; align-items: center; gap: 10px; padding: 10px 22px 10px 10px; }
	.stack__date-icon { margin: 0; width: 44px; height: 44px; }
	.stack__date strong { font-size: 1.7rem; }
	.stack__body .card__meta { justify-content: center; }

	/* Project page: list first (as on the template), tighter sidebar */
	.layout-sidebar--left { gap: 30px; }
	.layout-sidebar--left .sidebar { display: contents; }
	.layout-sidebar--left .widget--nav { order: -1; }
	.layout-sidebar--left .article { order: 0; }
	.layout-sidebar--left .project-facts { order: 1; }
	.layout-sidebar--left .widget--help { order: 2; }

	/* Inner banner height close to the template (~500px) */
	.page-hero { padding: calc(var(--header-h) + 110px) 0 140px; min-height: 480px; display: flex; align-items: center; }
	.page-hero__inner { width: 100%; }
}

/* Portrait photos: keep faces in frame when cropped by object-fit */
img.is-portrait { object-position: 50% 12%; }
.card__media img.is-graphic, .stack__media img.is-graphic, .album__link img.is-graphic, .pn__thumb img.is-graphic, .mini-posts img.is-graphic { object-fit: contain; padding: 8%; background: var(--sand); }

/* Keep short labels on one line */
a[href^="tel:"], .navbar__nav .menu a, .btn, .pill, .chip, .date-badge, .stack__date, .footer-links a { white-space: nowrap; }
.drawer__contact a, .footer-contact a, .contact-list a { white-space: nowrap; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.reveal { opacity: 1; transform: none; }
	.marquee__track { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
	.preloader { display: none; }
	.fx-titles [data-split] .word > span, .hero__title .char { transform: none !important; opacity: 1 !important; }
}

/* ---------- Print ---------- */
@media print {
	.site-header, .site-footer, .share, .sidebar, .to-top, .cta-band, .hero__media { display: none !important; }
	.page-hero { background: none; color: #000; padding: 0; }
	.page-hero__title { color: #000; }
	.reveal { opacity: 1; transform: none; }
}
