/* ==========================================================
   Jume College theme: earthy, classy, Kenyan
   ========================================================== */
:root {
	--forest: #0f2e16;
	--forest-2: #16401f;
	--green: #1f6b2a;
	--gold: #e9a400;
	--gold-soft: #f6c445;
	--clay: #c4572e;
	--leaf: #7f9e17;
	--teal: #1d9a96;
	--earth: #3a2817;
	--earth-2: #241709;
	--cream: #f7f2e8;
	--sand: #efe5d1;
	--mist: #f9faf6;
	--ink: #17241a;
	--text: #4b554d;
	--line: rgba(23, 36, 26, .1);
	--font-head: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
	--radius: 22px;
	--shadow-sm: 0 4px 14px rgba(15, 46, 22, .08);
	--shadow: 0 18px 45px rgba(15, 46, 22, .14);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--kikoi: repeating-linear-gradient(90deg,
		#0f2e16 0 30px, #e9a400 30px 36px, #c4572e 36px 50px, #e9a400 50px 56px,
		#1f6b2a 56px 86px, #f7f2e8 86px 90px, #1d9a96 90px 98px, #f7f2e8 98px 102px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--clay); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.center { text-align: center; }

.screen-reader-text, .skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 999; background: #fff; padding: 10px 16px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Kikoi stripe accent */
.kikoi { height: 8px; background: var(--kikoi); }
.kikoi--thin { height: 5px; }
.kikoi--bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
	font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--clay);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--gold-soft); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--green); color: #fff; padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer;
	transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn i { font-size: 13px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); color: #fff; }
.btn:hover i { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-soft); color: var(--ink); }
.btn--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--forest); }
.btn--small { padding: 10px 20px; font-size: 14px; }
.btn--block { display: flex; width: 100%; margin: 22px 0; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 130; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15,46,22,.1); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }

.topbar { background: var(--forest); color: #fff; font-size: 13px; }
.topbar__inner { display: flex; justify-content: flex-end; gap: 28px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.88); font-weight: 500; }
.topbar a:hover { color: var(--gold); }
.topbar i { margin-right: 6px; color: var(--gold); }

.navbar__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 84px; }
.navbar__logo { justify-self: center; }
.navbar__logo img { max-height: 58px; width: auto; transition: transform .3s var(--ease); }
.navbar__logo a:hover img { transform: scale(1.04); }
.navbar__right { justify-self: end; display: flex; align-items: center; gap: 26px; }
.site-title { font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--forest); }

.jume-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; flex-wrap: wrap; }
.jume-menu a { font-size: 16px; font-weight: 600; color: var(--ink); position: relative; padding: 8px 0; }
.jume-menu a::after {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; border-radius: 50%;
	background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .25s var(--ease);
}
.jume-menu a:hover, .jume-menu .current-menu-item > a, .jume-menu .current_page_item > a { color: var(--green); }
.jume-menu a:hover::after, .jume-menu .current-menu-item > a::after, .jume-menu .current_page_item > a::after { transform: translateX(-50%) scale(1); }

.jume-menu li { position: relative; }
.jume-menu .sub-menu {
	list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -16px; min-width: 220px;
	background: #fff; box-shadow: var(--shadow); border-radius: 14px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 10;
}
.jume-menu li:hover > .sub-menu, .jume-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.jume-menu .sub-menu a { display: block; padding: 7px 20px; font-size: 15px; }
.jume-menu .sub-menu a::after { display: none; }

.navbar__toggle { display: none; background: var(--cream); border: 0; font-size: 20px; color: var(--forest); cursor: pointer; justify-self: end; width: 46px; height: 46px; border-radius: 12px; }

.mobile-nav__backdrop { position: fixed; inset: 0; background: rgba(8, 20, 10, .55); z-index: 150; backdrop-filter: blur(2px); }
.mobile-nav {
	position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: var(--forest); padding: 24px 28px 30px;
	z-index: 200; overflow-y: auto; box-shadow: -10px 0 40px rgba(0,0,0,.35);
	background-image: radial-gradient(circle at 100% 0, rgba(233,164,0,.16), transparent 45%);
	animation: slideIn .35s var(--ease);
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.mobile-nav__head img { max-height: 46px; width: auto; background: #fff; border-radius: 10px; padding: 5px 10px; }
.mobile-nav__close { background: rgba(255,255,255,.1); border: 0; color: #fff; font-size: 20px; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; margin-left: auto; }
.mobile-nav .jume-menu { flex-direction: column; gap: 0; }
.mobile-nav .jume-menu a { display: flex; justify-content: space-between; color: #fff; font-family: var(--font-head); font-size: 22px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav .jume-menu a::after { display: none; }
.mobile-nav .jume-menu .current-menu-item > a, .mobile-nav .jume-menu .current_page_item > a { color: var(--gold); }
.mobile-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 0 14px; }
.mobile-nav .sub-menu a { font-size: 17px; }
.mobile-nav__contact { display: grid; gap: 12px; font-size: 14px; }
.mobile-nav__contact a { color: rgba(255,255,255,.85); word-break: break-word; }
.mobile-nav__contact i { color: var(--gold); width: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: clamp(560px, 88vh, 820px); overflow: hidden; background: var(--forest); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s ease-out; }
.hero__slide.is-active img { transform: scale(1); }
.hero__slide::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(95deg, rgba(8,24,11,.86) 0%, rgba(8,24,11,.55) 45%, rgba(8,24,11,.12) 100%),
		linear-gradient(0deg, rgba(8,24,11,.55) 0%, transparent 35%);
}
.hero__caption { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; transition: opacity .35s; }
.hero__slide:not(.is-active) .hero__caption { opacity: 0; }
.hero__content { max-width: 680px; }
.hero__kicker {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 7px 16px; border-radius: 999px;
	background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px);
	color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .06em;
}
.hero__kicker i { color: var(--gold); }
.hero__title { font-family: var(--font-head); font-size: clamp(42px, 6.2vw, 80px); font-weight: 600; color: #fff; margin: 0 0 8px; line-height: 1.02; letter-spacing: -.02em; }
.hero__sub { font-family: var(--font-head); font-style: italic; font-weight: 500; font-size: clamp(24px, 3vw, 38px); color: var(--gold-soft); margin: 0 0 18px; line-height: 1.2; }
.hero__text { font-size: 18px; color: rgba(255,255,255,.88); max-width: 540px; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__slide.is-active .hero__kicker,
.hero__slide.is-active .hero__title,
.hero__slide.is-active .hero__sub,
.hero__slide.is-active .hero__text,
.hero__slide.is-active .hero__actions { animation: rise 1s var(--ease) both; }
.hero__slide.is-active .hero__title { animation-delay: .1s; }
.hero__slide.is-active .hero__sub { animation-delay: .22s; }
.hero__slide.is-active .hero__text { animation-delay: .34s; }
.hero__slide.is-active .hero__actions { animation-delay: .46s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 56px; display: flex; gap: 10px; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.hero__dots button { width: 54px; height: 4px; border-radius: 4px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.hero__dots button::before { content: ""; position: absolute; inset: -12px 0; } /* larger tap area */
.hero__dots span { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 4px; }
.hero__dots button.is-active span { animation: progress 6s linear forwards; }
@keyframes progress { to { width: 100%; } }

/* ---------- Why choose us ---------- */
.why { padding: 110px 0 100px; background: var(--cream); position: relative; }
.why__head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: end; margin-bottom: 54px; }
.why__title { font-size: clamp(34px, 4.4vw, 54px); margin: 0; }
.why__lead { font-size: 18px; margin: 0; color: var(--text); }
.why__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why__card {
	--accent: var(--gold);
	background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column;
}
.why__card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.why__card--gold { --accent: var(--gold); }
.why__card--leaf { --accent: var(--leaf); }
.why__card--clay { --accent: var(--clay); }
.why__card--teal { --accent: var(--teal); }
.why__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--accent); border-bottom: 5px solid var(--accent); }
.why__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.why__card:hover .why__media img { transform: scale(1.07); }
.why__media--icon { display: grid; place-items: center; background: var(--accent) radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 60%); }
.why__media--icon img { width: 86px; height: auto; object-fit: contain; }
.why__card:hover .why__media--icon img { transform: scale(1.1) rotate(-4deg); }
.why__num {
	position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
	background: rgba(255,255,255,.92); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 16px;
}
.why__body { padding: 22px 22px 26px; }
.why__body h3 { font-size: 22px; margin-bottom: 6px; }
.why__body p { margin: 0; font-size: 15px; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); }
.section-head p { margin: 0; font-size: 17px; }

/* ---------- About ---------- */
.about { padding: 120px 0; background: #fff; overflow: hidden; }
.about__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about__media { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 200px 200px 140px; gap: 16px; }
.about__img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-sm); }
.about__img--1 { grid-column: 1; grid-row: 1 / 3; }
.about__img--2 { grid-column: 2; grid-row: 1; border-radius: 18px 90px 18px 18px; }
.about__img--3 { grid-column: 2; grid-row: 2 / 4; }
.about__img--4 { grid-column: 1; grid-row: 3; }
.about__media::before {
	content: ""; position: absolute; width: 180px; height: 180px; left: -50px; top: -50px; z-index: -1; border-radius: 50%;
	background: radial-gradient(var(--gold) 2px, transparent 2.5px) 0 0 / 16px 16px; opacity: .5;
}
.about__badge {
	position: absolute; right: -18px; bottom: 26px; max-width: 230px; display: flex; gap: 12px; align-items: center;
	background: var(--forest); color: #fff; padding: 16px 20px; border-radius: 16px; box-shadow: var(--shadow);
	font-family: var(--font-head); font-size: 16px; line-height: 1.3;
}
.about__badge i { color: var(--gold); font-size: 22px; }
.about__title { font-size: clamp(36px, 4.6vw, 56px); }
.about__intro { font-size: 19px; color: var(--ink); line-height: 1.65; border-left: 3px solid var(--gold); padding-left: 20px; margin: 18px 0 26px; }
.about__body h3 { font-size: 24px; color: var(--green); font-style: italic; font-weight: 500; }
.about__more { position: relative; max-height: 220px; overflow: hidden; transition: max-height .6s var(--ease); }
.about__more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, #fff); transition: opacity .3s; }
.about__more.is-open { max-height: 2000px; }
.about__more.is-open::after { opacity: 0; }
.about__more p { font-size: 15.5px; }
.about__toggle { margin-top: 10px; background: none; border: 0; padding: 0; font: 700 15px var(--font-body); color: var(--clay); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.about__toggle i { transition: transform .3s; font-size: 12px; }
.about__toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.no-js .about__more { max-height: none; }
.no-js .about__more::after, .no-js .about__toggle { display: none; }

/* ---------- Achievements ---------- */
.achievements {
	position: relative; color: #fff; text-align: center; overflow: hidden;
	background: radial-gradient(circle at 10% 0%, rgba(233,164,0,.18), transparent 40%), linear-gradient(160deg, var(--earth) 0%, var(--earth-2) 100%);
}
.achievements::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
	background: radial-gradient(#fff 1.2px, transparent 1.5px) 0 0 / 22px 22px;
}
.achievements .container { position: relative; z-index: 1; padding-top: 100px; padding-bottom: 100px; }
.achievements__head { max-width: 760px; margin: 0 auto 60px; }
.achievements__head .eyebrow { justify-content: center; }
.achievements__title { color: #fff; font-size: clamp(34px, 4.4vw, 52px); text-transform: capitalize; }
.achievements__text { color: rgba(255,255,255,.78); font-size: 17px; margin: 0; }
.achievements__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ring { position: relative; width: 170px; height: 170px; margin: 0 auto 16px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__track { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 7; }
.ring__bar { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: calc(326.7 - 326.7 * var(--p) / 100); transition: stroke-dashoffset 1.8s var(--ease); }
.js .achievements__item:not(.is-in) .ring__bar { stroke-dashoffset: 326.7; }
.ring--plain .ring__bar { stroke: rgba(233,164,0,.6); }
.ring__value { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-family: var(--font-head); font-size: 46px; font-weight: 600; color: #fff; }
.ring__value { display: flex; align-items: center; justify-content: center; }
.ring__suffix { font-size: 24px; color: var(--gold); margin-left: 2px; align-self: flex-start; margin-top: 52px; }
.achievements__label { font-weight: 600; font-size: 16px; color: rgba(255,255,255,.92); margin: 0; }
.achievements__quote { margin: 60px auto 0; max-width: 640px; font-family: var(--font-head); font-style: italic; font-size: 24px; color: #fff; line-height: 1.4; }
.achievements__quote::before { content: "\201C"; display: block; font-size: 70px; line-height: .6; color: var(--gold); margin-bottom: 8px; }

/* ---------- Departments band ---------- */
.depts { padding: 110px 0 0; background: #fff; }
.depts__box {
	display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; padding: 60px;
	border-radius: 28px; background: var(--forest); color: rgba(255,255,255,.82); position: relative; overflow: hidden;
	background-image: radial-gradient(circle at 0% 100%, rgba(233,164,0,.2), transparent 45%), radial-gradient(circle at 100% 0%, rgba(29,154,150,.22), transparent 40%);
}
.depts__box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(180deg, #e9a400 0 20px, #c4572e 20px 34px, #1f6b2a 34px 60px, #f7f2e8 60px 64px); }
.depts__intro h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); }
.depts__intro p { font-size: 17px; margin-bottom: 26px; }
.depts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.depts__list a {
	display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff; font-weight: 600;
	transition: background .25s, transform .25s var(--ease), border-color .25s;
}
.depts__list a:hover { background: rgba(255,255,255,.12); border-color: var(--gold); transform: translateX(6px); color: #fff; }
.depts__icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: var(--forest); font-size: 18px; }
.depts__list li:nth-child(5n+2) .depts__icon { background: var(--clay); color: #fff; }
.depts__list li:nth-child(5n+3) .depts__icon { background: var(--teal); color: #fff; }
.depts__list li:nth-child(5n+4) .depts__icon { background: var(--leaf); color: #fff; }
.depts__list li:nth-child(5n+5) .depts__icon { background: var(--cream); color: var(--forest); }
.depts__name { flex: 1; }
.depts__arrow { color: var(--gold); font-size: 13px; transition: transform .25s; }
.depts__list a:hover .depts__arrow { transform: translateX(4px); }

/* ---------- News & cards ---------- */
.news { padding: 110px 0; background: #fff; }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__image { position: relative; display: block; aspect-ratio: 16 / 11; background: var(--sand); overflow: hidden; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__image img { transform: scale(1.06); }
.card__placeholder { display: grid; place-items: center; height: 100%; font-size: 40px; color: var(--leaf); }
.card__date {
	position: absolute; left: 16px; bottom: 16px; background: #fff; border-radius: 12px; padding: 6px 12px; text-align: center;
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text); line-height: 1.2; box-shadow: var(--shadow-sm);
}
.card__date strong { display: block; font-family: var(--font-head); font-size: 24px; color: var(--ink); letter-spacing: 0; }
.card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7a827b; margin: 0 0 8px; font-weight: 500; }
.card__meta i { color: var(--clay); margin-right: 4px; }
.card__title { font-size: 21px; line-height: 1.3; margin-bottom: 18px; }
.card__title a { color: var(--ink); background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.card:hover .card__title a { background-size: 100% 2px; }
.card__more { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--green); display: inline-flex; gap: 8px; align-items: center; }
.card__more i { font-size: 12px; transition: transform .25s; }
.card__more:hover i { transform: translateX(4px); }

/* ---------- Map ---------- */
.map { padding: 0 0 110px; background: #fff; }
.map__frame { display: block; width: calc(100% - 48px); max-width: 1172px; margin: 0 auto; height: 460px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); filter: saturate(.85); }

/* ---------- Inner pages ---------- */
.inner-banner { position: relative; background-size: cover; background-position: center; padding: 130px 0 110px; text-align: center; }
.inner-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--kikoi); }
.inner-banner__overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(15,46,22,.88), rgba(36,23,9,.72)); }
.inner-banner__content { position: relative; }
.inner-banner__title { color: #fff; font-size: clamp(36px, 5vw, 60px); }
.breadcrumb { display: inline-flex; gap: 8px; color: rgba(255,255,255,.85); font-size: 14px; font-weight: 600; background: rgba(255,255,255,.1); padding: 6px 16px; border-radius: 999px; }
.breadcrumb a { color: var(--gold-soft); }

.page-content { padding: 90px 0; }
.page-content:has(.entry-content:empty) { padding: 0; }
.entry-content { font-size: 17px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: 34px; margin-top: 1.4em; }
.entry-content h3 { font-size: 26px; margin-top: 1.3em; }
.entry-content img { border-radius: 14px; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.entry-content blockquote { border-left: 4px solid var(--gold); margin: 1.5em 0; padding: 6px 0 6px 24px; font-family: var(--font-head); font-style: italic; font-size: 22px; color: var(--ink); }
.entry-content .alignwide { max-width: 1220px; }
.entry-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }

.single-post { padding: 70px 0 100px; }
.single-post__image { margin: 0 0 36px; }
.single-post__image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.single-post .card__meta { justify-content: center; margin-bottom: 28px; font-size: 14px; }
.single-post .card__meta i { color: var(--clay); }
.single-post .entry-content > p:first-of-type::first-letter { float: left; font-family: var(--font-head); font-size: 64px; line-height: .9; padding: 6px 10px 0 0; color: var(--green); }
/* Posts pasted with inline styles that turned body text into a heading */
.single-post .entry-content h2 span[style] { font-family: var(--font-body) !important; font-size: 17px !important; font-weight: 400; line-height: 1.75; color: var(--text) !important; }
.single-post .entry-content h2:has(> span[style]) { font-family: var(--font-body); font-size: 17px; font-weight: 400; margin: 0 0 1em; line-height: 1.75; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 60px 0 0; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--font-head); font-size: 18px; }
.post-nav a { color: var(--ink); }
.post-nav a:hover { color: var(--green); }
.post-nav > div:last-child { text-align: right; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 50px; }
.contact-card { background: var(--cream); border-radius: var(--radius); padding: 36px 26px; text-align: center; color: var(--ink); display: flex; flex-direction: column; gap: 6px; align-items: center; transition: transform .3s var(--ease), box-shadow .3s; word-break: break-word; border: 1px solid var(--line); }
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--green); }
.contact-card i { font-size: 24px; color: #fff; background: var(--green); width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 10px; transform: rotate(-6deg); }
.contact-card:nth-child(2) i { background: var(--clay); transform: rotate(5deg); }
.contact-card:nth-child(3) i { background: var(--gold); color: var(--ink); }
.contact-card__label { font-family: var(--font-head); font-weight: 600; font-size: 22px; }

.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; background: var(--cream); color: var(--ink); font-weight: 600; }
.page-numbers.current { background: var(--green); color: #fff; }
.empty { text-align: center; }
.search-form { display: flex; gap: 8px; justify-content: center; margin: 24px 0; }
.search-form input[type="search"] { padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; min-width: 260px; font: inherit; background: var(--mist); }
.search-form input[type="submit"] { padding: 12px 24px; border: 0; border-radius: 999px; background: var(--green); color: #fff; cursor: pointer; font: 700 15px var(--font-body); }

.comments { margin-top: 60px; }
.comments__list { padding-left: 20px; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: var(--mist); }
.comment-form .submit { background: var(--green); color: #fff; border: 0; padding: 13px 28px; border-radius: 999px; cursor: pointer; font: 700 15px var(--font-body); }

/* ---------- Contact page ---------- */
.contact { padding: 0 0 100px; background: linear-gradient(var(--cream) 0 60%, #fff 60%); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.35fr; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); position: relative; top: -70px; margin-bottom: -70px; z-index: 2; background: #fff; }
.contact__info {
	background: var(--forest); color: rgba(255,255,255,.8); padding: 54px 46px; position: relative; overflow: hidden;
	background-image: radial-gradient(circle at 100% 0, rgba(233,164,0,.22), transparent 45%), radial-gradient(circle at 0 100%, rgba(29,154,150,.2), transparent 45%);
}
.contact__info::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(255,255,255,.05); }
.contact__info h2 { color: #fff; font-size: 38px; }
.contact__lead { font-size: 16px; margin-bottom: 30px; }
.contact__list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 22px; position: relative; z-index: 1; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list li > span:last-child { display: flex; flex-direction: column; color: #fff; font-weight: 500; word-break: break-word; }
.contact__list small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 2px; }
.contact__list a { color: #fff; }
.contact__list a:hover { color: var(--gold); }
.contact__icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 18px; }
.contact__icon--clay { background: var(--clay); }
.contact__icon--gold { background: var(--gold); color: var(--forest); }
.contact__icon--wa { background: #25d366; }
.contact__info .social-icons { position: relative; z-index: 1; }
.contact__info .social-icons a { color: #fff; }
.contact__info .social-icons a:hover { color: var(--forest); }
.contact__form { padding: 54px 50px; }
.contact__form h2 { font-size: 32px; margin-bottom: 4px; }
.contact__form > p { color: #7a827b; font-size: 14px; margin-bottom: 26px; }
.contact__extra { margin-top: 60px; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: grid; gap: 6px; }
.form__field > span { font-size: 13px; font-weight: 700; color: var(--ink); }
.form input, .form select, .form textarea {
	width: 100%; padding: 13px 16px; border: 1.5px solid #e2e5de; border-radius: 12px; background: var(--mist);
	font: 400 16px var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(31,107,42,.12); }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1ebe5a; color: #fff; }
.btn--wa i { font-size: 18px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.form-notice--success { background: #e6f4e2; color: #1f5b23; }
.form-notice--error { background: #fbe9e4; color: #8a3217; }
.form-notice i { margin-top: 4px; }

.contact-map { position: relative; }
.contact-map iframe { display: block; width: 100%; height: 480px; border: 0; filter: saturate(.85); }
.contact-map .container { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); pointer-events: none; }
.contact-map__card { pointer-events: auto; max-width: 340px; background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.contact-map__card h3 { font-size: 22px; }

/* ---------- Get Involved page ---------- */
.gi-intro { padding: 90px 0 50px; }
.gi-intro .eyebrow { justify-content: center; }
.gi-intro .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.gi-intro h2 { font-size: clamp(34px, 4.4vw, 52px); }
.gi-intro__text { font-size: 18px; }

.donate { padding: 0 0 90px; }
.donate__box {
	display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: center; padding: 56px; border-radius: 28px;
	background: var(--earth); color: rgba(255,255,255,.8); position: relative; overflow: hidden;
	background-image: radial-gradient(circle at 0 0, rgba(233,164,0,.25), transparent 45%), linear-gradient(160deg, var(--earth), var(--earth-2));
}
.donate__badge { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--gold); color: var(--earth); font-size: 26px; margin-bottom: 20px; }
.donate__text h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); }
.donate__text p { font-size: 17px; margin: 0; }
.donate__options { display: grid; gap: 14px; }
.donate__option { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 20px 22px; }
.donate__option small { display: block; margin-top: 8px; font-size: 12.5px; color: rgba(255,255,255,.65); text-align: center; }
.donate__label { margin: 0 0 12px; color: #fff; font-weight: 700; font-size: 15px; }
.donate__label i { color: var(--gold); margin-right: 6px; }
.donate__option .btn--block { margin: 0; }
.btn--paypal { background: #ffc439; color: #12305a; font-size: 16px; }
.btn--paypal:hover { background: #ffd56b; color: #12305a; }
.btn--paypal i { font-size: 18px; }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--earth); }
.btn--outline i { font-size: 14px; }
.donate__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mpesa { margin: 0; display: grid; gap: 8px; }
.mpesa > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: rgba(0,0,0,.18); border-radius: 12px; padding: 8px 8px 8px 16px; }
.mpesa dt { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75); }
.mpesa dd { margin: 0; }
.copy { background: #fff; color: var(--ink); border: 0; border-radius: 10px; padding: 7px 12px; font: 700 16px var(--font-body); letter-spacing: .04em; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.copy i { color: var(--green); font-size: 13px; }
.copy.is-copied { background: var(--gold); }

.ways { padding: 90px 0 110px; background: var(--cream); }
.ways__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.way { --accent: var(--green); background: #fff; border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow-sm); border-top: 5px solid var(--accent); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.way:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.way--clay { --accent: var(--clay); }
.way--teal { --accent: var(--teal); }
.way__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 24px; margin-bottom: 20px; }
.way h3 { font-size: 24px; }
.way p { flex: 1; }
.way__link { font-weight: 700; color: var(--accent); display: inline-flex; gap: 8px; align-items: center; }
.way__link i { font-size: 12px; transition: transform .25s; }
.way__link:hover { color: var(--ink); }
.way__link:hover i { transform: translateX(4px); }
.gi-extra { margin-top: 60px; }

/* ---------- Reports & Newsletters ---------- */
.res { padding: 90px 0 110px; background: #fff; }
.res__intro { max-width: 820px; margin: 0 auto 40px; }
.res__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 50px; }
.res__tabs button {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
	border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 15px var(--font-body); transition: .2s;
}
.res__tabs button span { background: var(--cream); color: var(--text); border-radius: 999px; padding: 1px 9px; font-size: 12px; }
.res__tabs button:hover { border-color: var(--green); }
.res__tabs button.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }
.res__tabs button.is-active span { background: var(--gold); color: var(--forest); }
.res__group { margin-bottom: 60px; }
.res__group[hidden] { display: none; }
.res__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 16px; margin-bottom: 26px; border-bottom: 2px solid var(--line); position: relative; }
.res__head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 70px; height: 2px; background: var(--gold); }
.res__head h3 { font-size: 30px; margin: 0 0 2px; }
.res__head p { margin: 0; color: #7a827b; }
.res__count { flex: 0 0 auto; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.res__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.res__empty { display: flex; gap: 18px; align-items: center; padding: 28px 30px; border-radius: var(--radius); background: var(--cream); border: 1.5px dashed rgba(31,107,42,.25); }
.res__empty i { font-size: 30px; color: var(--leaf); }
.res__empty strong { font-family: var(--font-head); font-size: 22px; color: var(--ink); font-weight: 600; }
.res__empty p { margin: 0; }

.doc { --accent: var(--teal); display: flex; gap: 20px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.doc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.doc--reports { --accent: var(--clay); }
.doc--newsletters { --accent: var(--green); }
.doc--training-materials { --accent: var(--teal); }
.doc__icon {
	flex: 0 0 76px; height: 92px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	background: var(--accent); color: #fff; position: relative; overflow: hidden;
	background-image: linear-gradient(150deg, rgba(255,255,255,.18), transparent 60%);
}
.doc__icon::after { content: ""; position: absolute; top: 0; right: 0; border-width: 0 18px 18px 0; border-style: solid; border-color: #fff rgba(0,0,0,.15) rgba(0,0,0,.15) transparent; }
.doc__icon i { font-size: 30px; }
.doc__icon span { font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.doc__icon:hover { color: #fff; }
.doc__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.doc__title { font-size: 19px; line-height: 1.3; margin: 2px 0 6px; }
.doc__title a { color: var(--ink); }
.doc__title a:hover { color: var(--green); }
.doc__text { font-size: 14.5px; margin: 0 0 8px; line-height: 1.55; }
.doc__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #7a827b; margin: 0 0 12px; }
.doc__meta span + span::before { content: "\2022"; margin-right: 14px; color: var(--gold); }
.doc__actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.doc__btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 700; border: 1.5px solid var(--line); color: var(--ink); }
.doc__btn:hover { border-color: var(--green); color: var(--green); }
.doc__btn--main { background: var(--forest); border-color: var(--forest); color: #fff; }
.doc__btn--main:hover { background: var(--green); border-color: var(--green); color: #fff; }

.res--home { background: var(--cream); padding: 100px 0; }
.res__home-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.res__home-head h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 8px; }
.res__home-head p { margin: 0; max-width: 620px; }
.res__home-head .btn { flex: 0 0 auto; }
.res__grid--home { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.res__grid--home .doc { flex-direction: column; }
.res__grid--home .doc__icon { flex-basis: auto; width: 64px; height: 76px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: rgba(255,255,255,.72); position: relative; font-size: 15px; }
.site-footer__cols { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1fr; gap: 50px; padding-top: 80px; padding-bottom: 60px; }
.site-footer__logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 16px; margin-bottom: 18px; font-family: var(--font-head); color: var(--forest); font-size: 18px; }
.site-footer__logo img { max-height: 52px; width: auto; }
.site-footer__tagline { font-family: var(--font-head); font-style: italic; font-size: 20px; color: #fff; line-height: 1.4; max-width: 300px; }
.site-footer__title { font-family: var(--font-body); color: var(--gold-soft); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer__links .jume-menu { flex-direction: column; gap: 4px; margin-bottom: 4px; }
.site-footer__links .jume-menu a { color: rgba(255,255,255,.82); font-weight: 500; font-size: 15px; padding: 3px 0; }
.site-footer__links .jume-menu a::after { display: none; }
.site-footer__links .jume-menu a:hover { color: var(--gold); padding-left: 4px; }
.site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact i { color: var(--gold); width: 18px; margin-top: 6px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--gold); }
.site-footer__cta p { margin-bottom: 18px; }
.site-footer .btn--gold, .site-footer .btn--gold:hover { color: var(--ink); }
.social-icons { display: flex; gap: 10px; margin-top: 20px; }
.social-icons a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: .25s; }
.social-icons a:hover { background: var(--gold); border-color: var(--gold); color: var(--forest); transform: translateY(-3px); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 13px; text-align: center; }
.site-footer__bottom p { margin: 0; }
.to-top {
	position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--gold);
	color: var(--forest) !important; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; z-index: 90; box-shadow: var(--shadow);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #fff; }

.mobile-bar { display: none; }

/* ---------- Tutor LMS pages ---------- */
.tutor-wrap, .tutor-course-archive-page, .tutor-page-wrap { padding-top: 50px; padding-bottom: 60px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.res__grid--home { grid-template-columns: 1fr 1fr; }
	.contact__grid { grid-template-columns: 1fr; }
	.donate__box { grid-template-columns: 1fr; padding: 44px; }
	.ways__grid { grid-template-columns: 1fr 1fr; }
	.why__cards { grid-template-columns: repeat(2, 1fr); }
	.why__head { grid-template-columns: 1fr; gap: 16px; }
	.about__inner { grid-template-columns: 1fr; gap: 60px; }
	.about__media { max-width: 620px; }
	.depts__box { grid-template-columns: 1fr; padding: 48px; }
	.news__grid { grid-template-columns: repeat(2, 1fr); }
	.achievements__grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
	.site-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	body { font-size: 15px; padding-bottom: 66px; }
	.navbar__menu, .navbar__cta { display: none; }
	.navbar__right { display: contents; }
	.navbar__inner { grid-template-columns: 1fr auto; min-height: 66px; gap: 12px; }
	.navbar__logo { justify-self: start; }
	.navbar__logo img { max-height: 44px; }
	.navbar__toggle { display: grid; place-items: center; }
	.topbar { display: none; }

	.mobile-bar {
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 120;
		background: rgba(255,255,255,.97); border-radius: 20px; box-shadow: 0 10px 30px rgba(15,46,22,.25); overflow: hidden;
		margin-bottom: env(safe-area-inset-bottom); backdrop-filter: blur(8px);
	}
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; color: var(--forest); font-size: 11.5px; font-weight: 700; }
	.mobile-bar i { font-size: 17px; color: var(--green); }
	.mobile-bar__main { background: var(--forest); color: #fff !important; }
	.mobile-bar__main i { color: var(--gold); }
	body { padding-bottom: 86px; }
	.to-top { bottom: 92px; right: 16px; width: 42px; height: 42px; }

	.section-head { margin-bottom: 36px; }
	.inner-banner { padding: 80px 0 64px; }
	.page-content { padding: 56px 0; }
}

@media (max-width: 640px) {
	.container { padding: 0 18px; }
	.eyebrow { font-size: 12px; }

	.hero { height: min(86vh, 680px); min-height: 560px; }
	.hero__slide::after { background: linear-gradient(0deg, rgba(8,24,11,.92) 0%, rgba(8,24,11,.55) 55%, rgba(8,24,11,.2) 100%); }
	.hero__caption { align-items: flex-end; padding-bottom: 92px; }
	.hero__kicker { font-size: 12px; margin-bottom: 16px; }
	.hero__title { font-size: 42px; }
	.hero__sub { font-size: 24px; }
	.hero__text { font-size: 15.5px; }
	.hero__actions { flex-direction: column; gap: 10px; margin-top: 24px; }
	.hero__actions .btn { width: 100%; }
	.hero__dots { bottom: 46px; padding: 0 18px; }
	.hero__dots button { width: 40px; }

	.why { padding: 70px 0 70px; }
	.why__head { margin-bottom: 30px; }
	.why__lead { font-size: 16px; }
	.why__cards {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
		margin: 0 -18px; padding: 6px 18px 18px; scroll-padding: 0 18px; scrollbar-width: none;
	}
	.why__cards::-webkit-scrollbar { display: none; }
	.why__card { flex: 0 0 76%; scroll-snap-align: start; }
	.why__card:hover { transform: none; }
	.js .why__card.reveal { opacity: 1; transform: none; }

	.about { padding: 70px 0; }
	.about__inner { gap: 44px; }
	.about__media { grid-template-rows: 130px 130px 100px; gap: 10px; }
	.about__img { border-radius: 12px; }
	.about__img--2 { border-radius: 12px 50px 12px 12px; }
	.about__badge { right: 10px; bottom: -18px; font-size: 14px; padding: 12px 14px; max-width: 200px; }
	.about__intro { font-size: 17px; padding-left: 16px; }

	.achievements .container { padding-top: 70px; padding-bottom: 70px; }
	.achievements__head { margin-bottom: 40px; }
	.achievements__grid { gap: 30px 12px; }
	.ring { width: 128px; height: 128px; }
	.ring__value { font-size: 34px; }
	.ring__suffix { font-size: 18px; margin-top: 38px; }
	.achievements__label { font-size: 14px; line-height: 1.4; }
	.achievements__quote { font-size: 20px; margin-top: 44px; }

	.depts { padding-top: 70px; }
	.depts__box { padding: 36px 22px 28px 30px; border-radius: 22px; gap: 30px; }
	.depts__intro .btn { width: 100%; }
	.depts__list a { padding: 12px 14px; font-size: 15px; }
	.depts__list a:hover { transform: none; }

	.news { padding: 70px 0; }
	.news .news__grid {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -18px; padding: 6px 18px 18px; scrollbar-width: none;
	}
	.news .news__grid::-webkit-scrollbar { display: none; }
	.news .card { flex: 0 0 84%; scroll-snap-align: start; }
	.js .news .card.reveal { opacity: 1; transform: none; }
	.news__grid, .contact-cards { grid-template-columns: 1fr; }
	.card:hover { transform: none; }
	.card__title { font-size: 19px; }

	.section-head h2 { font-size: 32px; }
	.map { padding-bottom: 70px; }
	.map__frame { width: calc(100% - 36px); height: 320px; border-radius: 18px; }

	.single-post { padding: 44px 0 64px; }
	.entry-content { font-size: 16px; }
	.post-nav { grid-template-columns: 1fr; font-size: 16px; }
	.post-nav > div:last-child { text-align: left; }

	.site-footer__cols { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }

	.res { padding: 56px 0 70px; }
	.res--home { padding: 64px 0; }
	.res__tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px 34px; padding: 0 18px 6px; scrollbar-width: none; }
	.res__tabs::-webkit-scrollbar { display: none; }
	.res__tabs button { flex: 0 0 auto; padding: 9px 15px; font-size: 14px; }
	.res__head { flex-direction: column; align-items: flex-start; gap: 6px; }
	.res__head h3 { font-size: 25px; }
	.res__grid, .res__grid--home { grid-template-columns: 1fr; gap: 14px; }
	.res__grid--home .doc { flex-direction: row; }
	.res__home-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
	.res__home-head .btn { width: 100%; }
	.doc { padding: 16px; gap: 14px; }
	.doc:hover { transform: none; }
	.doc__icon { flex-basis: 60px; height: 74px; }
	.doc__icon i { font-size: 24px; }
	.doc__title { font-size: 17px; }
	.doc__btn { flex: 1; justify-content: center; }
	.contact { padding-bottom: 60px; }
	.contact__grid { top: -40px; margin-bottom: -40px; border-radius: 22px; }
	.contact__info, .contact__form { padding: 34px 22px; }
	.contact__info h2 { font-size: 30px; }
	.contact__form h2 { font-size: 26px; }
	.form__row { grid-template-columns: 1fr; }
	.form__actions .btn { flex: 1 1 100%; }
	.contact-map iframe { height: 340px; }
	.contact-map .container { position: static; transform: none; margin-top: -60px; }
	.contact-map__card { max-width: none; position: relative; }
	.gi-intro { padding: 60px 0 36px; }
	.gi-intro__text { font-size: 16px; }
	.donate { padding-bottom: 60px; }
	.donate__box { padding: 32px 20px; gap: 28px; border-radius: 22px; }
	.donate__option { padding: 18px 16px; }
	.donate__btns .btn { flex: 1; }
	.ways { padding: 60px 0 70px; }
	.ways__grid { grid-template-columns: 1fr; gap: 18px; }
	.way { padding: 28px 22px; }
	.search-form input[type="search"] { min-width: 0; flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}
