/*
Theme Name: Abhijan – Towards Dawn
Theme URI: http://localhost/ssf
Author: FRU Solutions
Description: Custom theme for Abhijan – Towards Dawn — a Kolkata NGO supporting SC/ST students through education. Edit contact details, social links, impact numbers and donation details under Appearance → Customize → Abhijan Settings. Drop photos into assets/images/ (see README.md).
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: shikshasetu
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #0e2a47;
	--navy-2: #163b5f;
	--navy-3: #0a2038;
	--orange: #f37021;
	--orange-d: #d85c10;
	--yellow: #f6b81a;
	--peach: #fdeee6;
	--cream: #fff9f2;
	--ink: #1d2735;
	--muted: #5a6577;
	--line: #ebe4da;
	--white: #fff;
	--radius: 16px;
	--shadow: 0 10px 30px -12px rgba(14, 42, 71, .18);
	--font-head: "Outfit", system-ui, sans-serif;
	--font-body: "Mulish", system-ui, sans-serif;
	--wrap: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--font-body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.container { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 12px 22px; border-radius: 8px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-d); }
.btn--ghost { border-color: rgba(255, 255, 255, .9); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--orange); color: var(--orange-d); background: #fff; }
.btn--outline:hover { background: var(--orange); color: #fff; }
.btn--blue { background: #1877f2; color: #fff; }
.btn--wa { background: #25d366; color: #fff; }
.btn--lg { padding: 15px 28px; font-size: 1.12rem; }
.btn--sm { padding: 10px 18px; font-size: .95rem; }
.btn--xs { padding: 6px 14px; font-size: .88rem; border-radius: 6px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font: 600 1rem var(--font-head); text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s; }

/* ---------- Eyebrows & section heads ---------- */
.eyebrow { font: 600 1.15rem/1.3 var(--font-head); color: var(--orange); margin: 0 0 .35em; }
.eyebrow--light { color: #fff; text-transform: uppercase; letter-spacing: .18em; font-size: .9rem; opacity: .92; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: 48px 0; }
.section--pt0 { padding-top: 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .85); }
.section--navy h2 { color: #fff; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head p:last-child { color: var(--muted); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; text-align: left; flex-wrap: wrap; }
.section-head--split h2 { margin: 0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px -10px rgba(14, 42, 71, .25); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 58px; height: 52px; }
.brand__img { max-height: 60px; width: auto; }
.brand__logo { height: 64px; width: auto; }
.site-footer__tagline { display: block; font: italic 500 .95rem var(--font-body); color: var(--yellow); margin-top: 2px; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font: 700 1.55rem/1 var(--font-head); color: var(--navy); max-width: 7.2em; letter-spacing: -.02em; }
.brand__tag { font-size: .72rem; font-weight: 600; color: var(--navy); margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 14px; flex: 1; justify-content: flex-end; }
.site-nav .menu { display: flex; list-style: none; gap: 4px; }
.site-nav .menu a { display: block; padding: 28px 7px; font: 500 .9rem var(--font-head); color: var(--navy); text-decoration: none; position: relative; white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1300px) {
	.site-header__inner { gap: 14px; }
	.brand__name { font-size: 1.42rem; }
	.site-nav { gap: 10px; }
	.site-nav__extra { gap: 10px; }
	.site-nav .menu a { padding-left: 5px; padding-right: 5px; }
	.site-nav .menu-item-has-children > a { padding-right: 19px; background-position: right 3px center; }
	.site-nav .socials { gap: 5px; }
	.site-nav .social { width: 29px; height: 29px; }
	.site-nav .btn--sm { padding: 9px 14px; }
}
.site-nav .menu a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 18px; height: 3px; border-radius: 3px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.site-nav .menu a:hover::after, .site-nav .current-menu-item > a::after, .site-nav .current_page_item > a::after { transform: scaleX(1); }
.site-nav .menu > li { position: relative; }
.site-nav .menu-item-has-children > a { padding-right: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2a47' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 6px center / 12px no-repeat; }
.site-nav .sub-menu { position: absolute; top: calc(100% - 10px); left: 0; min-width: 220px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; box-shadow: 0 20px 40px -18px rgba(14, 42, 71, .35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 10; }
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { padding: 10px 12px; border-radius: 8px; font-size: .95rem; }
.site-nav .sub-menu a::after { display: none; }
.site-nav .sub-menu a:hover { background: var(--cream); color: var(--orange-d); }
.site-nav__extra { display: flex; align-items: center; gap: 14px; }
.socials { display: flex; gap: 6px; }
.social { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .2s; }
.social:hover { transform: translateY(-2px); }
.social .icon { width: 17px; height: 17px; }
.social--facebook { background: #1877f2; }
.social--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social--youtube { background: #ff0000; }
.social--linkedin { background: #0a66c2; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 30px; height: 30px; }
.nav-toggle__close { display: none; }

/* ---------- Placeholder images ---------- */
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px; width: 100%; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #fde3d0 0%, #fff3e3 55%, #fde9c8 100%); color: #b86a37; font-size: .82rem; font-weight: 600; }
.ph .icon { width: 34px; height: 34px; opacity: .7; }
.rounded { border-radius: 18px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: radial-gradient(ellipse at 85% 30%, rgba(243, 112, 33, .45), transparent 55%), radial-gradient(ellipse at 70% 100%, rgba(246, 184, 26, .3), transparent 50%), linear-gradient(120deg, var(--navy-3), var(--navy-2)); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1.5px, transparent 1.5px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 40%, #000); pointer-events: none; }
.hero.has-img { background: radial-gradient(ellipse at 45% 30%, #26453a 0%, #13303f 45%, #0f2737 100%); }
.hero.has-img::after { display: none; }
.hero.has-img::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 60%; background: var(--hero-img) center 30% / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .6) 18%, #000 38%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .6) 18%, #000 38%); }
.hero__inner { position: relative; z-index: 1; padding: clamp(40px, 5vw, 56px) 0 36px; max-width: var(--wrap); }
.hero h1 { color: #fff; font-weight: 700; max-width: 12em; font-size: clamp(2.3rem, 4.4vw, 3.25rem); }
.hero .lead { font-size: 1.15rem; max-width: 28em; opacity: .95; margin-bottom: 24px; }
.hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 20px 30px; margin-top: 40px; }
.hero__stats li { display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.hero__stats .icon { width: 38px; height: 38px; color: var(--yellow); }
.hero__stats strong { display: block; font: 700 1.3rem/1.1 var(--font-head); }

/* ---------- Feature strip ---------- */
.features { border-bottom: 1px solid var(--line); background: #fff; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; align-items: center; gap: 16px; padding: 28px 22px; text-decoration: none; color: var(--ink); position: relative; transition: background .2s; }
.feature + .feature::before { content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: var(--line); }
.feature:hover { background: var(--cream); }
.feature .icon { width: 50px; height: 50px; color: var(--orange); stroke-width: 1.5; }
.feature strong { display: block; font: 600 1.08rem var(--font-head); color: var(--navy); }
.feature span { line-height: 1.35; color: var(--navy); }

/* ---------- About + impact ---------- */
.about-row { display: grid; grid-template-columns: 1.08fr 1fr 1.02fr; gap: 32px; align-items: center; }
.home-about { padding: 20px 0 28px; }
.about-row__img img { width: 100%; }
.about-row__img .ph { border-radius: 18px; }
.about-row__text h2 { font-size: clamp(1.75rem, 2.6vw, 2.05rem); }
.about-row__text p:not(.eyebrow) { color: var(--muted); }
.brush-frame { position: relative; }
.brush-frame > * { position: relative; z-index: 1; }
.brush-frame::before, .brush-frame::after { content: ""; position: absolute; background: repeating-linear-gradient(-55deg, var(--yellow) 0 7px, rgba(246, 184, 26, .55) 7px 10px, var(--yellow) 10px 16px); clip-path: polygon(0 18%, 100% 0, 92% 30%, 100% 58%, 84% 100%, 6% 78%, 14% 50%); }
.brush-frame::before { width: 120px; height: 120px; left: -36px; top: -18px; transform: rotate(-12deg); }
.brush-frame::after { width: 80px; height: 64px; right: -16px; bottom: -22px; transform: rotate(18deg); z-index: 2; }
.impact-card { background: var(--peach); border-radius: var(--radius); padding: 30px 28px; }
.impact-card h2 { color: var(--orange); font-size: 1.8rem; }
.impact-card ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; }
.impact-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.3; color: var(--ink); }
.impact-card .icon { width: 40px; height: 40px; color: var(--orange); stroke-width: 1.5; }
.impact-card strong { display: block; font: 700 1.35rem/1.15 var(--font-head); color: var(--navy); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 26px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card--mini { padding: 26px 22px; }
.card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--peach); color: var(--orange); margin-bottom: 16px; }
.card__icon .icon { width: 28px; height: 28px; }
.card__img { margin: -30px -28px 22px; width: calc(100% + 56px); max-width: none; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.checklist { list-style: none; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 28px; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.checklist--lg { gap: 12px; margin: 18px 0 28px; }
.checklist--lg li { color: var(--ink); }
.checklist--light li { color: rgba(255, 255, 255, .9); }

/* ---------- Stories ---------- */
.story { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.story__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.story blockquote { margin: 0; padding: 24px 26px 8px; flex: 1; }
.story blockquote p { margin: 0; font-size: 1.02rem; }
.story__q { width: 30px; height: 30px; color: var(--orange); margin-bottom: 8px; opacity: .85; }
.story figcaption, .testimonial figcaption { padding: 0 26px 24px; color: var(--muted); font-size: .92rem; }
.story figcaption strong, .testimonial figcaption strong { display: block; color: var(--navy); font: 600 1.05rem var(--font-head); }

/* ---------- Journey / social ---------- */
.journey__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 32px; align-items: start; }
.journey { padding: 24px 0 32px; }
.journey__title { font-size: 1.85rem; margin-bottom: 22px; }
.video { position: relative; display: block; width: 100%; border: 0; padding: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9.4; background: var(--navy); cursor: pointer; text-align: left; }
.video img, .video .ph, .video iframe { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border: 0; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .65), transparent 55%); pointer-events: none; }
.video__play { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 64px; height: 46px; border-radius: 12px; background: #ff0000; color: #fff; display: grid; place-items: center; z-index: 1; transition: transform .2s; }
.video:hover .video__play { transform: translate(-50%, -50%) scale(1.08); }
.video__title { position: absolute; left: 20px; bottom: 18px; right: 20px; color: #fff; font: 700 1.5rem/1.1 var(--font-head); z-index: 1; text-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.video.is-playing::after, .video.is-playing .video__play, .video.is-playing .video__title,
.video--baked::after, .video--baked .video__play, .video--baked .video__title { display: none; }
.video--baked { aspect-ratio: 393 / 216; }
.feed__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.feed__head > span:nth-child(2) { flex: 1; font-size: .92rem; color: var(--muted); line-height: 1.3; }
.feed__head strong { display: block; font: 600 1.2rem var(--font-head); color: var(--navy); }
.feed__logo { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.feed__logo--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.feed__logo--fb { background: #1877f2; border-radius: 50%; }
.feed__logo .icon { width: 24px; height: 24px; }
.feed__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.feed__grid a { display: block; border-radius: 6px; overflow: hidden; }
.feed__grid img, .feed__grid .ph { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .3s; }
.feed__grid .ph span { display: none; }
.feed__grid a:hover img { transform: scale(1.05); }
.fb-post { display: block; text-decoration: none; color: var(--ink); background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.fb-post img, .fb-post .ph { aspect-ratio: 16 / 9; object-fit: cover; }
.fb-post p { padding: 16px 18px; margin: 0; font-size: .95rem; }
.fb-post .tags { display: block; color: #1877f2; font-weight: 600; }
.fb-post__meta { display: flex; justify-content: space-between; align-items: center; padding: 0 18px 16px; font-size: .85rem; color: var(--muted); }
.fb-post__react { display: inline-flex; align-items: center; gap: 6px; }
.fb-post .r { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 11px; color: #fff; border: 2px solid #fff; }
.fb-post .r--like { background: #1877f2; }
.fb-post .r--love { background: #f33e58; margin-left: -10px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(100deg, var(--navy-3), var(--navy-2)); color: #fff; padding: 42px 0; }
.cta-band.has-img { background: linear-gradient(100deg, rgba(14, 42, 71, .94), rgba(22, 59, 95, .86)), var(--hero-img) center 30% / cover; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 27em; opacity: .9; font-size: 1.05rem; line-height: 1.5; }
.cta-band .btn-row { gap: 14px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; color: #fff; padding: clamp(56px, 8vw, 92px) 0; background: radial-gradient(ellipse at 90% 20%, rgba(243, 112, 33, .4), transparent 50%), linear-gradient(120deg, var(--navy-3), var(--navy-2)); overflow: hidden; }
.page-hero.has-img { background: linear-gradient(90deg, rgba(10, 32, 56, .95), rgba(10, 32, 56, .55)), var(--hero-img) center / cover; }
.page-hero h1 { color: #fff; margin-bottom: .25em; }
.page-hero .lead { font-size: 1.15rem; max-width: 36em; opacity: .92; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: .88rem; margin-bottom: 18px; opacity: .85; }
.crumbs a { color: #fff; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split p:not(.eyebrow) { color: var(--muted); }
.section--navy .split p:not(.eyebrow) { color: rgba(255, 255, 255, .85); }
.split--form { grid-template-columns: 1fr 1.25fr; align-items: start; }

/* ---------- Programs ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: 500 .95rem var(--font-head); text-decoration: none; transition: border-color .2s, background .2s; }
.chip .icon { color: var(--orange); }
.chip:hover { border-color: var(--orange); background: var(--peach); }
.programs { display: grid; gap: clamp(48px, 7vw, 80px); }
.program { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.program--reverse .program__img { order: 2; }
.program__body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.program__body > p { color: var(--muted); }

/* ---------- Impact page ---------- */
.stats-band { background: var(--navy); color: #fff; padding: 44px 0; }
.stats-band__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
.stats-band .icon { width: 36px; height: 36px; color: var(--yellow); margin: 0 auto 8px; }
.stats-band strong { display: block; font: 700 2.2rem/1.1 var(--font-head); color: var(--orange); }
.stats-band span { font-size: .95rem; opacity: .9; }
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.testimonial { margin: 0; display: flex; gap: 22px; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.testimonial__img { width: 96px; height: 96px; min-width: 96px; border-radius: 50%; object-fit: cover; aspect-ratio: 1; padding: 0; }
.testimonial__img span { display: none; }
.testimonial blockquote { margin: 0 0 12px; }
.testimonial blockquote p { margin: 0; }
.testimonial figcaption { padding: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.gallery__item { display: block; border-radius: 12px; overflow: hidden; }
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(6) { grid-column: span 2; }
.gallery__item img, .gallery__item .ph { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.04); }
.timeline { list-style: none; max-width: 760px; margin: 0 auto; position: relative; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--orange), var(--yellow)); }
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--orange); }
.timeline__year { font: 700 .85rem var(--font-head); color: var(--orange); text-transform: uppercase; letter-spacing: .1em; }
.timeline h3 { margin: 2px 0 4px; }
.timeline p { color: var(--muted); margin: 0; }

/* ---------- Get involved ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 40px; }
.tier { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 24px; border: 2px solid var(--line); text-align: center; }
.tier p { color: var(--muted); margin: 0; font-size: .95rem; }
.tier__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--peach); color: var(--orange); margin-bottom: 14px; }
.tier__icon .icon { width: 30px; height: 30px; }
.tier--featured { border-color: var(--orange); box-shadow: 0 16px 40px -18px rgba(243, 112, 33, .5); }
.tier__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font: 600 .78rem var(--font-head); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.donate-box { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.donate-box__col { padding: 30px 28px; }
.donate-box__col + .donate-box__col { border-left: 1px solid var(--line); }
.donate-box h3 { display: flex; align-items: center; gap: 10px; }
.donate-box h3 .icon { color: var(--orange); }
.donate-box p { color: var(--muted); }
.details { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .95rem; }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 700; }
.upi { font: 700 1.25rem var(--font-head); color: var(--navy) !important; }
.qr { width: 160px; aspect-ratio: 1; border-radius: 8px; margin-bottom: 10px; }
.contact-list { list-style: none; display: grid; gap: 12px; margin: 20px 0; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .icon { color: var(--orange); }

/* ---------- Form ---------- */
.form { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 4px; font: 600 .92rem var(--font-head); color: var(--navy); }
.form label span { color: var(--orange); }
.form input, .form select, .form textarea { flex-basis: 100%; width: 100%; font: 400 1rem var(--font-body); color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(243, 112, 33, .15); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { justify-self: start; }
.notice { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.notice--ok { background: #e7f7ee; color: #17663a; }
.notice--err { background: #fdecec; color: #a32020; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team__card { text-align: center; }
.team__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.team__card h3 { margin-bottom: 2px; }
.team__card p { color: var(--orange-d); margin: 0; font-weight: 600; font-size: .95rem; }

/* ---------- Contact & map ---------- */
.contact-cards .card { text-align: center; }
.contact-cards a { color: var(--ink); }
.split--form .socials { margin: 20px 0; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.85); }
.prose { max-width: 780px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: rgba(255, 255, 255, .75); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.site-footer__name { font: 700 1.5rem var(--font-head); color: #fff; margin-bottom: 10px; }
.site-footer__about .socials { margin-top: 18px; }
.site-footer__title { font-size: 1.1rem; color: #fff; margin-bottom: 16px; }
.site-footer__links { list-style: none; display: grid; gap: 8px; }
.site-footer__links .menu { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__contact { list-style: none; display: grid; gap: 12px; margin-bottom: 20px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--orange); margin-top: 3px; }
.site-footer .btn--orange { color: #fff; }
.site-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .85rem; }
.site-footer__bar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__bar p { margin: 0; }

/* ---------- WhatsApp & lightbox ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 30px; height: 30px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 15, 28, .9); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 8px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: #fff; cursor: pointer; }
.lightbox__close .icon { width: 34px; height: 34px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(14, 42, 71, .3); max-height: calc(100vh - 82px); overflow-y: auto; }
	.site-header.is-open .site-nav { display: flex; }
	.site-header.is-open .nav-toggle__open { display: none; }
	.site-header.is-open .nav-toggle__close { display: block; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
	.site-nav .menu a::after { left: 4px; right: auto; width: 28px; bottom: 8px; }
	.site-nav__extra { justify-content: space-between; padding-top: 18px; }
	.site-nav .menu-item-has-children > a { background-position: right 4px center; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0 16px; min-width: 0; }
	.site-nav .sub-menu a { padding: 11px 4px; border-radius: 0; color: var(--muted); }
	.hero.has-img::before { width: 100%; opacity: .45; background-position: 70% 20%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 70%); mask-image: linear-gradient(90deg, transparent 0, #000 70%); }
	.about-row { grid-template-columns: 1fr 1fr; }
	.impact-card { grid-column: 1 / -1; }
	.impact-card ul { grid-template-columns: repeat(4, 1fr); }
	.journey__grid { grid-template-columns: 1fr 1fr; }
	.journey__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.features__grid { grid-template-columns: 1fr 1fr; }
	.feature:nth-child(3)::before { display: none; }
	.cards--3, .cards--4, .tiers, .team { grid-template-columns: 1fr 1fr; }
	.split, .split--form, .program { grid-template-columns: 1fr; }
	.program--reverse .program__img { order: 0; }
	.stats-band__grid { grid-template-columns: repeat(3, 1fr); }
	.testimonials { grid-template-columns: 1fr; }
	.donate-box { grid-template-columns: 1fr; }
	.donate-box__col + .donate-box__col { border-left: 0; border-top: 1px solid var(--line); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
	.gallery__item:nth-child(6) { grid-column: auto; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.site-header__inner { min-height: 70px; }
	.brand__mark { width: 46px; height: 42px; }
	.brand__logo { height: 50px; }
	.brand__name { font-size: 1.3rem; }
	.brand__tag { font-size: .64rem; }
	.hero .btn-row .btn { flex: 1 1 100%; }
	.hero__stats { display: grid; grid-template-columns: 1fr 1fr; }
	.features__grid { grid-template-columns: 1fr; }
	.feature { padding: 18px 4px; }
	.feature + .feature::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
	.feature:nth-child(3)::before { display: block; }
	.about-row, .journey__grid { grid-template-columns: 1fr; }
	.impact-card ul { grid-template-columns: 1fr 1fr; }
	.cards--3, .cards--4, .tiers, .team, .form__row { grid-template-columns: 1fr; }
	.team { grid-template-columns: 1fr 1fr; gap: 18px; }
	.stats-band__grid { grid-template-columns: 1fr 1fr; }
	.testimonial { flex-direction: column; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.cta-band .btn-row .btn { flex: 1 1 100%; }
	.brush-frame::before { left: -14px; width: 90px; height: 90px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
