/* Muskan Ek Pahal Sangh - mobile-first web app styles. Colours come from the logo: leaf green, marigold orange, warm cream. */
:root {
  --leaf: #14692f;
  --leaf-bright: #2e9e1f;
  --leaf-deep: #0c3f1e;
  --leaf-tint: #e7f4e2;
  --sun: #ff8a00;
  --sun-bright: #ffb000;
  --sun-ink: #c95a00;
  --sun-tint: #fff0da;
  --sun-grad: linear-gradient(120deg, #ffb000, #ff7a00);
  --leaf-grad: linear-gradient(135deg, #1c8a3c, #0c3f1e);
  --lime: #d8f26b;
  --cream: #fdf8ee;
  --paper: #fff;
  --ink: #12351f;
  --text: #2c3a31;
  --muted: #667469;
  --line: #e9e4d6;
  --shadow: 0 10px 30px rgba(18, 53, 31, .1);
  --shadow-lg: 0 20px 50px rgba(18, 53, 31, .18);
  --r: 24px;
  --r-sm: 16px;
  --tabbar: 74px;
  --head-font: "Baloo 2", "Mukta", system-ui, sans-serif;
}
@view-transition { navigation: auto; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 16px/1.65 Mukta, system-ui, sans-serif; overflow-x: hidden; padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--head-font); color: var(--ink); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 6vw, 54px); }
h2 { font-size: clamp(25px, 4vw, 38px); }
h3 { font-size: 20px; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.hand { color: var(--sun-ink); position: relative; white-space: nowrap; }
.hand::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .22em; background: var(--sun-grad); opacity: .3; border-radius: 10px; }
.sr, .form input.sr, .news input.sr { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); }
.center { text-align: center; }
.pad { padding: 48px 0; }
.soft { background: #fff; }
.todo { color: var(--sun-ink); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--leaf); background: var(--leaf-tint); border-radius: 40px; padding: 4px 14px; margin-bottom: 12px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 4px 0 0; color: var(--muted); }
.see-all { flex: none; font-weight: 600; color: var(--leaf); font-size: 15px; display: inline-flex; align-items: center; gap: 4px; }
.see-all:hover { color: var(--sun-ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 40px; padding: 13px 28px; background: var(--sun-grad); color: #3a1c00; font: 700 16px/1.2 var(--head-font); cursor: pointer; position: relative; overflow: hidden; transition: transform .18s, box-shadow .18s; box-shadow: 0 8px 20px rgba(255, 122, 0, .3); }
.btn::before { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: shine 3.6s infinite; }
@keyframes shine { 0%, 65% { left: -60%; } 100% { left: 130%; } }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 122, 0, .38); }
.btn:active { transform: scale(.97); }
.btn svg { width: 17px; height: 17px; fill: currentColor; position: relative; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-dark { background: var(--leaf); color: #fff; box-shadow: 0 8px 20px rgba(20, 105, 47, .28); }
.btn-line, .btn-soft { background: #fff; color: var(--leaf); box-shadow: inset 0 0 0 2px var(--leaf); }
.btn-line::before, .btn-soft::before { display: none; }
.btn-wide { width: 100%; }

/* app bar */
.appbar { position: sticky; top: 0; z-index: 60; background: rgba(253, 248, 238, .88); backdrop-filter: blur(14px); transition: box-shadow .2s; }
.appbar.stuck { box-shadow: 0 4px 18px rgba(18, 53, 31, .1); }
.appbar .wrap { display: flex; align-items: center; gap: 12px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; }
.brand img { width: 50px; height: 50px; object-fit: contain; border-radius: 14px; background: #fff; padding: 2px; box-shadow: 0 2px 8px rgba(18, 53, 31, .14); }
.brand b { display: block; font: 700 16px/1.1 var(--head-font); color: var(--ink); white-space: nowrap; }
.brand small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; white-space: nowrap; }
.nav { display: none; }
.nav-donate { display: none; }
.icon-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 8px rgba(18, 53, 31, .1); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(12, 63, 30, .45); opacity: 0; transition: opacity .25s; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(350px, 88%); background: var(--cream); padding: 18px 18px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); border-radius: 26px 0 0 26px; }
.drawer.open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer-links a { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 14px; font-weight: 500; color: var(--ink); }
.drawer-links a:hover, .drawer-links a.on { background: var(--leaf-tint); color: var(--leaf); }
.drawer-links small { display: block; padding: 12px 14px 2px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.search { position: relative; margin-bottom: 12px; }
.search input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 40px; background: #fff; padding: 0 16px; font: inherit; color: inherit; }
.search-results { margin-top: 6px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.search-results a { display: block; padding: 9px 14px; line-height: 1.35; border-bottom: 1px solid var(--line); font-size: 15px; }
.search-results small { display: block; color: var(--muted); font-size: 12.5px; }
.search-results .none { padding: 10px 14px; }

/* hero */
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.trust-chips > span { display: inline-flex; gap: 6px; align-items: center; background: #fff; border-radius: 30px; padding: 5px 13px; font-size: 13.5px; font-weight: 500; color: var(--ink); box-shadow: 0 3px 10px rgba(18, 53, 31, .08); }
.trust-chips i { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf-bright); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 158, 31, .5); } 100% { box-shadow: 0 0 0 9px rgba(46, 158, 31, 0); } }

/* banner slider */
.banner { position: relative; order: 1; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 11; background: var(--leaf-tint); box-shadow: var(--shadow-lg); isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; overflow: hidden; }
.slide.on { opacity: 1; visibility: visible; z-index: 1; }
.slide > img { width: 100%; height: 100%; object-fit: cover; }
.slide.on > img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.slide iframe { position: absolute; top: 50%; left: 50%; width: 177.78%; height: 177.78%; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.slide::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(8, 40, 19, .85)); pointer-events: none; }
.slide-chips { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.slide-chips span { background: var(--sun-bright); color: #3a1c00; font-weight: 600; font-size: 13px; padding: 3px 12px; border-radius: 30px; }
.slide-chips span + span { background: #fff; color: var(--leaf); }
.slide-heart { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: var(--sun-bright); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); animation: beat 1.8s infinite; }
.slide-heart svg { width: 20px; height: 20px; fill: #3a1c00; }
@keyframes beat { 0%, 40%, 100% { transform: scale(1); } 20% { transform: scale(1.13); } }
.slide-text { position: absolute; left: 16px; right: 16px; bottom: 30px; z-index: 2; color: #fff; }
.slide-text b { display: block; font: 700 clamp(19px, 3vw, 28px)/1.15 var(--head-font); }
.slide-text small { display: block; font-size: 14.5px; line-height: 1.35; opacity: .95; }
.slide.on .slide-text { animation: rise .7s both .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.dots { position: absolute; left: 0; right: 0; bottom: 11px; z-index: 3; display: flex; justify-content: center; gap: 5px; }
.dots button { width: 22px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .45); cursor: pointer; overflow: hidden; }
.dots button i { display: block; height: 100%; width: 0; background: #fff; border-radius: 4px; }
.dots button.on i { animation: fill var(--dur, 6s) linear forwards; }
@keyframes fill { to { width: 100%; } }

/* top video */
.vhero { position: relative; display: flex; align-items: flex-end; height: clamp(420px, calc(100svh - 156px), 640px); overflow: hidden; background: var(--leaf-deep) url("../img/hero-poster-3.jpg") center/cover; border-radius: 0 0 30px 30px; isolation: isolate; }
.vhero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(6, 34, 16, .05) 30%, rgba(6, 34, 16, .9) 88%); }
.vhero-copy { padding-bottom: 24px; color: #fff; }
.vhero-copy .tagline { font: 600 17px/1.4 var(--head-font); color: var(--sun-bright); margin-bottom: 4px; }
.vhero-copy h1 { color: #fff; margin-bottom: 8px; }
.vhero-copy .sub { font-size: 15.5px; line-height: 1.45; margin-bottom: 14px; }
.vhero .btn-line { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 2px #fff; backdrop-filter: blur(6px); }
.center-chips { justify-content: center; }
.highlights .banner { order: 0; }
.qr-frame img { border-radius: 10px; }
.qr-box .btn { margin-top: 10px; }
.qr-save { margin-top: 10px; font-weight: 600; color: var(--leaf); font-size: 14.5px; text-decoration: underline; }

/* quick actions */
.quick { order: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 2px 0; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--ink); line-height: 1.15; transition: transform .18s; }
.quick a:active { transform: scale(.94); }
.quick i { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: #fff; box-shadow: 0 6px 16px rgba(18, 53, 31, .1); }
.quick a:first-child i { background: var(--sun-grad); }
.quick svg { width: 26px; height: 26px; fill: var(--leaf); }
.quick a:first-child svg { fill: #3a1c00; }

/* counters */
.counters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.count { background: var(--leaf-grad); color: #fff; border-radius: var(--r-sm); padding: 14px 16px; position: relative; overflow: hidden; }
.count:nth-child(2), .count:nth-child(3) { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.count strong { display: block; font: 800 clamp(26px, 5vw, 38px)/1.1 var(--head-font); color: var(--lime); }
.count:nth-child(2) strong, .count:nth-child(3) strong { color: var(--sun-ink); }
.count span { font-size: 14px; line-height: 1.25; display: block; }

/* reels */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 16px 18px; margin-inline: -16px; }
.rail::-webkit-scrollbar { display: none; }
.reel { position: relative; aspect-ratio: 9 / 15; border: 0; padding: 0; border-radius: 26px; overflow: hidden; background: var(--leaf-deep); box-shadow: var(--shadow); scroll-snap-align: center; cursor: pointer; text-align: left; color: #fff; font: inherit; transition: transform .25s; display: block; width: 100%; }
.reel:hover { transform: translateY(-4px); }
.reel img, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel video { opacity: 0; transition: opacity .4s; }
.reel video.ready { opacity: 1; }
.reel::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(6, 34, 16, .9)); }
.reel-chip { position: absolute; z-index: 2; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, .24); backdrop-filter: blur(8px); border-radius: 30px; padding: 4px 11px; font-size: 12.5px; font-weight: 500; }
.reel-chip svg { width: 12px; height: 12px; fill: currentColor; }
.reel-play { position: absolute; z-index: 2; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .24); backdrop-filter: blur(8px); display: grid; place-items: center; }
.reel-play svg { width: 12px; height: 12px; fill: #fff; }
.reel-cap { position: absolute; z-index: 2; left: 13px; right: 13px; bottom: 14px; }
.reel-cap b { display: block; font: 700 17px/1.2 var(--head-font); }
.reel-cap small { display: block; font-size: 13px; opacity: .88; line-height: 1.25; margin-top: 2px; }
.rail-btn { display: none; }
.reel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

/* reel viewer */
.viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #06140b; color: #fff; }
.viewer::backdrop { background: #06140b; }
.viewer-feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; }
.viewer-item { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; }
.viewer-item video { height: 100%; width: 100%; max-width: calc(100dvh * 9 / 16); object-fit: cover; }
.viewer-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 24px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); width: min(100%, calc(100dvh * 9 / 16)); margin-inline: auto; }
.viewer-info b { display: block; font: 700 21px/1.2 var(--head-font); }
.viewer-info p { margin: 4px 0 10px; font-size: 15px; line-height: 1.4; }
.viewer-info .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.viewer-info .btn { padding: 9px 18px; font-size: 14.5px; }
.viewer-close { position: fixed; top: 14px; right: 14px; z-index: 3; background: rgba(255, 255, 255, .92); }
.viewer-hint { position: fixed; top: 22px; left: 18px; z-index: 3; font-size: 13.5px; opacity: .85; }

/* notched cards */
.drives { display: grid; gap: 16px; }
.notch { position: relative; display: block; min-height: 300px; border-radius: 30px; overflow: hidden; color: #fff; box-shadow: var(--shadow); background: var(--leaf-deep); transition: transform .25s, box-shadow .25s; }
.notch:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.notch > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.notch:hover > img { transform: scale(1.06); }
.notch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(6, 34, 16, .1) 25%, rgba(6, 34, 16, .92) 82%); }
.notch-tag { position: absolute; z-index: 2; top: 0; left: 0; background: var(--bg, var(--cream)); padding: 2px 18px 10px 4px; border-radius: 0 0 22px 0; }
.notch-tag span { display: inline-block; background: #fff; color: var(--leaf); font-weight: 600; font-size: 13.5px; padding: 4px 14px; border-radius: 30px; box-shadow: 0 2px 8px rgba(18, 53, 31, .12); }
.notch-tag::before, .notch-tag::after { content: ""; position: absolute; width: 22px; height: 22px; background: radial-gradient(circle at 100% 100%, transparent 21.5px, var(--bg, var(--cream)) 22px); }
.notch-tag::before { left: 0; bottom: -22px; }
.notch-tag::after { right: -22px; top: 0; }
.notch-body { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; }
.notch-body h3 { color: var(--lime); margin: 0 0 3px; font-size: 21px; }
.notch-body p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.35; }
.bar { height: 7px; background: rgba(255, 255, 255, .28); border-radius: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--sun-grad); border-radius: 8px; transition: width 1.6s cubic-bezier(.2, .8, .2, 1); }
.bar-meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-top: 7px; font-size: 14px; }
.bar-meta b { font-size: 16px; }
.heart-note { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; }
.heart-note svg { width: 14px; height: 14px; fill: #ff5a5f; }

/* what we do */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.work-card { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1; background: var(--leaf); color: #fff; transition: transform .25s; display: block; }
.work-card:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.work-card:hover { transform: translateY(-4px); }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.work-card:hover img { transform: scale(1.07); }
.work-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(6, 34, 16, .9)); }
.work-card div { position: absolute; z-index: 2; left: 13px; right: 13px; bottom: 11px; line-height: 1.25; }
.work-card b { display: block; font: 700 17px/1.2 var(--head-font); }
.work-card small { font-size: 13px; display: block; opacity: .92; }
.work-row { display: grid; gap: 18px; align-items: center; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 16px; }
.work-row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.work-row > div { padding: 0 20px 20px; }
.work-row h2 { font-size: 25px; }

/* founder spotlight */
.founder { position: relative; display: grid; gap: 8px; background: var(--leaf-grad); border-radius: 32px; overflow: hidden; color: #eaf6e4; }
.founder-photo { position: relative; padding: 22px 22px 0; display: grid; place-items: center; }
.founder-photo img { position: relative; width: min(290px, 74%); aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 160px 160px 26px 26px; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
.founder-photo::before { content: ""; position: absolute; top: 12px; width: min(320px, 82%); aspect-ratio: 1; border: 2px dashed rgba(255, 176, 0, .75); border-radius: 50%; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.founder-text { padding: 12px 22px 26px; }
.founder-text h2, .founder-text h3 { color: #fff; }
.founder-text .role { color: var(--sun-bright); font-weight: 600; margin-bottom: 8px; display: block; }
.founder-text blockquote { margin: 0 0 14px; font-size: 18px; line-height: 1.5; }
.mates { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mate { display: flex; align-items: center; gap: 9px; background: rgba(255, 255, 255, .12); border-radius: 40px; padding: 5px 16px 5px 5px; line-height: 1.15; }
.mate i, .team-avatar { display: grid; place-items: center; border-radius: 50%; background: var(--sun-grad); color: #3a1c00; font: 700 15px var(--head-font); font-style: normal; }
.mate i { width: 38px; height: 38px; }
.mate b { display: block; font-size: 14.5px; color: #fff; }
.mate small { font-size: 12.5px; }

/* team page */
.founder-hero { display: grid; gap: 18px; align-items: center; }
.team-grid { display: grid; gap: 14px; }
.team-card { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); transition: transform .25s; }
.team-card:hover { transform: translateY(-4px); }
.team-avatar { flex: none; width: 76px; height: 76px; font-size: 26px; overflow: hidden; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin: 0; }
.team-card span { color: var(--sun-ink); font-weight: 600; font-size: 14.5px; }
.team-card p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.values span { background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; padding: 4px 14px; border-radius: 30px; font-size: 14.5px; }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--sun), var(--leaf)); }
.timeline li { position: relative; margin-bottom: 18px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--sun-grad); box-shadow: 0 0 0 4px var(--cream); }
.timeline b { display: block; color: var(--leaf); font: 700 16px var(--head-font); }

/* gallery marquee */
.marquee { overflow: hidden; margin-bottom: 10px; }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: slide 60s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { width: 210px; height: 150px; object-fit: cover; border-radius: 18px; flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* give band */
.give-band { position: relative; border-radius: 30px; overflow: hidden; background: var(--sun-grad); color: #3a1c00; padding: 26px 20px; }
.give-band h2 { color: #3a1c00; margin-bottom: 4px; }
.give-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.give-pills a { background: #fff; color: var(--ink); border-radius: 30px; padding: 8px 18px; font-weight: 700; transition: transform .18s; }
.give-pills a:hover { transform: translateY(-2px); }
.give-pills a:last-child { background: var(--leaf); color: #fff; }

/* stories + cards */
.car-track, .story-grid { display: grid; gap: 14px; }
.post { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s; }
.post:hover { transform: translateY(-5px); }
.post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post div { padding: 14px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.post small { color: var(--sun-ink); font-weight: 600; }
.post h3 { font-size: 19px; margin: 2px 0 6px; }
.post p { font-size: 15px; line-height: 1.5; flex: 1; margin-bottom: 8px; }
.post em { font-style: normal; font-weight: 600; font-size: 14.5px; color: var(--leaf); }
.cards { display: grid; gap: 14px; }
.card { background: #fff; border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; font-size: 15.5px; }
.split { display: grid; gap: 22px; align-items: center; }
.split > img { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lead { font-size: 18.5px; line-height: 1.6; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 9px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.6'%3E%3Cpath d='m5 10 3.5 3.5L15 7'/%3E%3C/svg%3E") center/70% no-repeat; }
.note { background: var(--sun-tint); border-radius: var(--r-sm); padding: 13px 16px; font-size: 15px; line-height: 1.5; margin: 14px 0; }
.prose { max-width: 800px; margin-inline: auto; }
.prose h2 { font-size: 25px; margin-top: 26px; }
.prose ul.dots { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.article-img { border-radius: var(--r); margin-bottom: 20px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.impact-head { max-width: 760px; margin: 0 auto 24px; }
.impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 14px; text-align: center; }
.stat svg { width: 42px; height: 42px; fill: var(--leaf); margin: 0 auto 6px; display: block; }
.stat strong { display: block; font: 800 28px/1.15 var(--head-font); color: var(--sun-ink); }
.stat p { font-size: 14.5px; line-height: 1.35; margin: 4px 0 0; }
.faq details { background: #fff; border-radius: var(--r-sm); margin-bottom: 8px; box-shadow: 0 3px 12px rgba(18, 53, 31, .06); padding: 0 16px; }
.faq summary { cursor: pointer; padding: 13px 28px 13px 0; font-weight: 600; color: var(--ink); list-style: none; position: relative; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 7px; font-size: 25px; font-weight: 400; color: var(--sun-ink); }
.faq details[open] summary::after { content: "\2212"; }
.cta { position: relative; margin: 0 16px 28px; border-radius: 30px; background: var(--leaf-grad); text-align: center; padding: 34px 20px; color: #eaf6e4; overflow: hidden; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { max-width: 620px; margin: 0 auto 16px; }

/* page hero */
.page-hero { position: relative; margin: 6px 16px 0; height: 190px; border-radius: 28px; overflow: hidden; background: var(--leaf); box-shadow: var(--shadow); }
.page-hero > img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 9s ease-out; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(6, 34, 16, .15), rgba(6, 34, 16, .82)); z-index: 1; }
.page-hero .wrap { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; width: auto; padding: 0 18px; animation: rise .6s both; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(26px, 5vw, 44px); }
.crumbs { color: #fff; font-size: 13.5px; margin: 0; opacity: .92; }
.crumbs a { color: var(--sun-bright); }

/* forms */
.form { display: grid; gap: 14px; }
.form-2 { display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font: 400 16px Mukta, sans-serif; color: var(--text); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--leaf); outline: 3px solid var(--leaf-tint); }
.form textarea { min-height: 120px; resize: vertical; }
.form-msg { display: none; padding: 11px 14px; border-radius: 14px; background: var(--leaf-tint); color: var(--leaf); font-weight: 500; line-height: 1.45; }
.form-msg.show { display: block; }
.panel { background: #fff; padding: 20px; border-radius: var(--r); box-shadow: var(--shadow); }
.contact-list li { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.45; align-items: flex-start; }
.contact-list svg { flex: 0 0 40px; width: 40px; height: 40px; padding: 10px; background: var(--leaf-tint); border-radius: 14px; fill: var(--leaf); }
.contact-list b { display: block; }

/* donate */
.give-top { text-align: center; max-width: 620px; margin: 8px auto 18px; }
.give-top h1 { font-size: clamp(27px, 5vw, 42px); margin-bottom: 12px; }
.goal-pct { text-align: right; font-weight: 700; color: var(--leaf); font-size: 14px; line-height: 1; margin-bottom: 4px; }
.goal .bar { background: var(--leaf-tint); height: 10px; }
.goal .bar-meta { color: var(--text); }
.goal .bar-meta b { font: 800 26px/1 var(--head-font); color: var(--ink); }
.goal .bar-meta small { display: block; color: var(--muted); }
.donate-grid { display: grid; gap: 18px; align-items: start; }
.give-card { position: relative; border-radius: 34px; overflow: hidden; padding: 18px; background: var(--leaf-deep); }
.give-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(.5); }
.give-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(12, 63, 30, .3), rgba(12, 63, 30, .78)); }
.give-inner { position: relative; z-index: 2; display: grid; gap: 12px; }
.give-inner h2 { color: #fff; font-size: 26px; margin: 2px 0 0; line-height: 1.1; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg label, .pills label { cursor: pointer; display: block; }
.seg input, .pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; text-align: center; padding: 9px 2px; border-radius: 30px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px; transition: .18s; }
.seg input:checked + span { background: var(--leaf-bright); color: #fff; }
.give-glass { background: rgba(255, 255, 255, .92); border-radius: 26px; padding: 14px; display: grid; gap: 10px; }
.pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pills span { display: block; text-align: center; padding: 8px 0; border: 1.5px solid #cfdccb; border-radius: 30px; font-weight: 700; color: var(--ink); background: #fff; font-size: 14.5px; transition: .18s; }
.pills input:checked + span { border-color: var(--sun); background: var(--sun-tint); transform: scale(1.04); }
.seg input:focus-visible + span, .pills input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.give-glass input[type=number], .give-glass input[type=text], .give-glass input[type=tel], .give-glass input[type=email], .give-glass select { width: 100%; padding: 11px 16px; border: 1.5px solid #cfdccb; border-radius: 30px; background: #fff; font: 500 16px Mukta, sans-serif; color: var(--ink); }
.amount-field { position: relative; }
.amount-field b { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--leaf); }
.give-glass .amount-field input { padding-left: 34px; font-size: 18px; font-weight: 700; }
.give-glass details summary { cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--leaf); padding: 2px 4px; }
.give-glass details .form-2 { margin-top: 8px; gap: 8px; }
.impact-line { font-size: 14px; color: var(--leaf); font-weight: 500; line-height: 1.3; margin: 0; min-height: 18px; }
.pay-panel { background: #fff; border-radius: 30px; padding: 18px; box-shadow: var(--shadow); scroll-margin-top: 80px; }
.pay-panel h3 { margin-bottom: 2px; }
.qr-box { display: grid; place-items: center; background: linear-gradient(135deg, var(--leaf-tint), var(--sun-tint)); padding: 16px; border-radius: 24px; margin: 10px 0; text-align: center; }
.qr-frame { background: #fff; padding: 8px; border-radius: 18px; box-shadow: 0 8px 22px rgba(18, 53, 31, .14); width: min(300px, 88%); position: relative; }
.qr-frame svg, .qr-frame img { display: block; width: 100%; height: auto; }
.qr-frame.pop { animation: qrpop .35s; }
@keyframes qrpop { 0% { transform: scale(.94); opacity: .4; } }
.qr-amt { font: 800 26px/1.2 var(--head-font); color: var(--ink); margin-top: 8px; }
.qr-sub { font-size: 13.5px; color: var(--muted); line-height: 1.3; }
.upi-off { padding: 12px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.3; }
.copy-row:last-of-type { border-bottom: 0; }
.copy-row small { display: block; color: var(--muted); font-size: 12.5px; }
.copy-row b { word-break: break-all; }
.copy-btn { flex: none; border: 0; background: var(--leaf-tint); color: var(--leaf); font: 600 13px Mukta, sans-serif; padding: 5px 13px; border-radius: 30px; cursor: pointer; }
.paid-form { margin-top: 12px; padding-top: 12px; border-top: 2px dashed var(--line); }
.paid-done { text-align: center; padding: 14px 8px; }
.paid-done svg { width: 58px; height: 58px; fill: var(--leaf-bright); margin: 0 auto 6px; animation: beat 1.4s infinite; }
.confetti { position: fixed; top: -20px; z-index: 120; width: 12px; height: 12px; border-radius: 50% 50% 0 50%; pointer-events: none; animation: fall 2.6s ease-in forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(520deg); opacity: .4; } }

/* footer */
.foot { background: var(--leaf-deep); color: #d5e8d4; font-size: 15px; border-radius: 30px 30px 0 0; margin-top: 12px; }
.foot h3, .foot h4 { color: #fff; }
.foot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; padding: 30px 0 18px; }
.foot-about { grid-column: 1 / -1; }
.foot-logo { width: 78px; background: #fff; border-radius: 18px; padding: 4px; margin-bottom: 8px; }
.foot-about p { margin-bottom: 6px; line-height: 1.45; }
.foot-grid h4 { font-size: 16px; margin-bottom: 8px; }
.foot-grid li { margin-bottom: 6px; line-height: 1.3; }
.foot-grid a:hover { color: var(--sun-bright); }
.news { padding: 4px 0 18px; }
.news h3 { font-size: 18px; margin-bottom: 8px; }
.news form { display: grid; gap: 8px; }
.news input { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: 30px; color: #fff; padding: 10px 16px; font: 400 15px Mukta, sans-serif; width: 100%; }
.news input::placeholder { color: #b6cfb6; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); transition: .18s; }
.socials a:hover { background: var(--sun); color: #3a1c00; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.foot-copy { text-align: center; color: #a7c4a9; font-size: 13px; padding: 12px 0 18px; border-top: 1px solid rgba(255, 255, 255, .12); margin: 14px 0 0; }
.foot-copy a { margin-left: 10px; color: #cfe2cf; }

/* activities, projects, courses, events, stories */
.act-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.act-card { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: 22px; padding: 16px 14px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; line-height: 1.25; }
.act-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.act-card b { font: 700 17px/1.2 var(--head-font); color: var(--ink); }
.act-card small { color: var(--muted); font-size: 13.5px; }
.act-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, var(--leaf-tint), var(--sun-tint)); font-size: 25px; font-style: normal; margin-bottom: 6px; }
.act-card:hover .act-icon { animation: wiggle .5s; }
@keyframes wiggle { 30% { transform: rotate(-9deg) scale(1.08); } 65% { transform: rotate(7deg); } }
.work-row.detail { scroll-margin-top: 90px; }
.work-row.detail .ticks { margin: 4px 0 14px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-small { padding: 9px 18px; font-size: 14.5px; }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn-ghost::before { display: none; }
.cta-tag { display: inline-block; font: 700 15px var(--head-font); color: var(--sun-bright); margin-bottom: 4px; }
.cta .cta-actions { justify-content: center; }
.mission-band { display: grid; gap: 18px; background: var(--leaf-grad); color: #eaf6e4; border-radius: 32px; overflow: hidden; }
.mission-band > div { padding: 24px 22px 6px; }
.mission-band h2 { color: #fff; }
.mission-band .hand { color: var(--sun-bright); }
.mission-band img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.mission-quote { background: var(--leaf-grad); color: #eaf6e4; border-radius: 30px; padding: 28px 22px; margin-bottom: 18px; text-align: center; }
.mission-quote blockquote { margin: 6px auto 12px; max-width: 760px; font: 700 clamp(21px, 3vw, 30px)/1.3 var(--head-font); color: #fff; }
.mission-quote p { max-width: 720px; margin: 0 auto; }
.vm-cards .act-icon { margin-bottom: 10px; }
.proj-grid, .course-grid, .success-list, .testi-grid, .plan-grid { display: grid; gap: 14px; }
.proj-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; display: flex; flex-direction: column; }
.proj-card:hover { transform: translateY(-5px); }
.proj-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s; }
.proj-card:hover img { transform: scale(1.05); }
.proj-card div { padding: 14px 18px 18px; position: relative; background: #fff; }
.proj-card h3 { margin-bottom: 4px; }
.proj-card p { font-size: 15px; line-height: 1.45; margin-bottom: 6px; }
.proj-card em { font-style: normal; font-weight: 600; color: var(--leaf); }
.course-card { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; background: #fff; border-radius: var(--r); padding: 12px; box-shadow: var(--shadow); }
.course-card img { width: 110px; height: 110px; object-fit: cover; border-radius: 18px; }
.course-card h3 { font-size: 18px; margin: 4px 0; }
.course-card p { font-size: 14.5px; line-height: 1.4; margin: 0 0 8px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 5px; }
.badge { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 20px; background: var(--leaf-tint); color: var(--leaf); }
.badge.hot { background: var(--sun-grad); color: #3a1c00; }
.event-list { display: grid; gap: 12px; }
.event-item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: #fff; border-radius: 22px; padding: 10px; box-shadow: var(--shadow); }
.event-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 16px; }
.event-item h3 { font-size: 17px; margin: 2px 0; }
.event-item p { font-size: 14px; line-height: 1.4; margin: 4px 0 0; }
.event-date { font-size: 12.5px; font-weight: 700; color: var(--sun-ink); text-transform: uppercase; letter-spacing: .04em; }
.event-date.soon { color: var(--leaf-bright); }
.event-place { color: var(--muted); font-size: 13px; }
.success-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: grid; }
.success-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.success-card div { padding: 16px 20px 20px; }
.testi-card { margin: 0; background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); position: relative; }
.testi-card::before { content: "\201C"; position: absolute; top: -6px; left: 16px; font: 700 70px/1 Georgia, serif; color: var(--sun); opacity: .35; }
.testi-card blockquote { margin: 10px 0 14px; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.testi-card figcaption { display: flex; align-items: center; gap: 10px; }
.testi-card figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-card b { display: block; color: var(--ink); }
.testi-card small { color: var(--muted); }
.plan-card { position: relative; background: #fff; border-radius: 28px; padding: 22px; box-shadow: var(--shadow); text-align: center; transition: transform .25s; }
.plan-card:hover { transform: translateY(-5px); }
.plan-card.best { box-shadow: 0 0 0 3px var(--sun), var(--shadow-lg); }
.plan-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--sun-grad); color: #3a1c00; font-size: 12.5px; font-weight: 700; padding: 3px 14px; border-radius: 20px; white-space: nowrap; }
.plan-amt { font: 800 34px/1.1 var(--head-font); color: var(--leaf); margin: 4px 0 6px; }
.plan-amt small { font-size: 15px; color: var(--muted); font-weight: 600; }
.hint-text { color: var(--muted); font-size: 14.5px; }
.steps { counter-reset: s; margin: 10px 0 14px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 48px; line-height: 1.45; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sun-grad); color: #3a1c00; font-weight: 800; }
.steps b { display: block; color: var(--ink); }
.reg-card { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 22px; padding: 16px; box-shadow: var(--shadow); margin: 6px 0 22px; }
.reg-card .act-icon { margin: 0; flex: none; }
.reg-card b { display: block; color: var(--ink); font-size: 17px; }
.doc-block { margin-bottom: 22px; scroll-margin-top: 90px; }
.doc-block h2 { margin-bottom: 4px; }
.doc-list { display: grid; gap: 8px; margin-top: 10px; }
.doc-row { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 3px 12px rgba(18, 53, 31, .06); }
.doc-row span { flex: 1; line-height: 1.3; }
.doc-row b { display: block; color: var(--ink); }
.doc-row small { color: var(--muted); }
.doc-row em { font-style: normal; font-weight: 600; color: var(--leaf); }
.doc-ico { font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: #d9473f; border-radius: 6px; padding: 6px 7px; }
.doc-empty { color: var(--muted); background: #fff; border: 1.5px dashed var(--line); border-radius: 16px; padding: 12px 14px; margin: 0; }
.gallery-grid { columns: 2; column-gap: 10px; }
.gal-item { position: relative; display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--leaf-tint); break-inside: avoid; }
.gal-item img { width: 100%; height: auto; transition: transform .5s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; color: #fff; font-size: 13px; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 20, 11, .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(6, 20, 11, .94); }
.lightbox img { max-width: 94vw; max-height: 82vh; border-radius: 14px; animation: rise .3s; }
.lightbox p { position: fixed; bottom: 18px; left: 0; right: 0; text-align: center; margin: 0; }
.lb-close { position: fixed; top: 14px; right: 14px; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.nav > li.current > button { background: var(--leaf-tint); color: var(--leaf); }

/* video slider */
.vs { position: relative; }
.vs-track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 90%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 16px 10px; margin-inline: -16px; scroll-padding-inline: 16px; }
.vs-track::-webkit-scrollbar { display: none; }
.vs-slide { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: 26px; overflow: hidden; background: #06220f center / cover no-repeat; scroll-snap-align: center; box-shadow: var(--shadow); cursor: pointer; transform: scale(.95); opacity: .65; transition: transform .45s, opacity .45s; isolation: isolate; }
.vs-slide.on { transform: none; opacity: 1; }
.vs-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.vs-slide.tall::before { content: ""; position: absolute; inset: -30px; background: inherit; filter: blur(22px) brightness(.55); z-index: 0; }
.vs-slide.tall video { object-fit: contain; }
.vs-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 50px 16px 14px; color: #fff; background: linear-gradient(transparent, rgba(6, 34, 16, .88)); line-height: 1.25; }
.vs-slide figcaption .reel-chip { position: static; display: inline-flex; margin-bottom: 6px; }
.vs-slide figcaption b { display: block; font: 700 clamp(18px, 2.4vw, 26px)/1.15 var(--head-font); }
.vs-slide figcaption small { display: block; font-size: 14px; opacity: .92; margin-top: 2px; }
.vs-bar { display: block; height: 4px; margin-top: 10px; border-radius: 4px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.vs-bar i { display: block; height: 100%; width: 0; background: var(--sun-grad); border-radius: 4px; }
.vs-dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.vs-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 9px; background: #cfdccb; cursor: pointer; transition: width .3s, background .3s; }
.vs-dots button.on { width: 26px; background: var(--sun); }
.vs-btn { display: none; }

/* bottom tab bar */
.tabbar { position: fixed; left: 10px; right: 10px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 70; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); border-radius: 24px; box-shadow: 0 10px 34px rgba(12, 63, 30, .26); padding: 7px 4px; }
.tab { display: flex; flex-direction: column; align-items: center; gap: 1px; background: none; border: 0; cursor: pointer; font: 500 12px/1.2 Mukta, sans-serif; color: var(--muted); padding: 2px 0; position: relative; transition: transform .18s; }
.tab:active { transform: scale(.92); }
.tab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.tab.on { color: var(--leaf); font-weight: 600; }
.tab.on::after { content: ""; position: absolute; top: -7px; width: 26px; height: 3px; border-radius: 0 0 4px 4px; background: var(--sun); }
.tab-give i { width: 54px; height: 54px; margin-top: -26px; border-radius: 50%; background: var(--sun-grad); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(255, 122, 0, .45), 0 0 0 5px #fff; animation: beat 2s infinite; }
.tab-give svg { fill: #3a1c00; stroke: none; }
.tab-give { color: var(--sun-ink); font-weight: 600; }
.tab-give.on::after { display: none; }
.morph { position: relative; width: 26px; height: 26px; display: block; }
.morph svg { position: absolute; inset: 0; width: 26px; height: 26px; fill: currentColor; stroke: none; transition: opacity .45s, transform .45s; }
.morph .m-wa { color: #1ea952; }
.morph .m-ig { color: #d6336c; opacity: 0; transform: rotateY(90deg) scale(.6); }
.morph.flip .m-wa { opacity: 0; transform: rotateY(90deg) scale(.6); }
.morph.flip .m-ig { opacity: 1; transform: none; }
.social-pop { position: fixed; right: 12px; bottom: calc(var(--tabbar) + 16px + env(safe-area-inset-bottom)); z-index: 71; width: 230px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.96); transform-origin: bottom right; transition: .2s; }
.social-pop.open { opacity: 1; visibility: visible; transform: none; }
.social-pop a { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 16px; font-weight: 600; color: var(--ink); line-height: 1.15; }
.social-pop a:hover { background: var(--leaf-tint); }
.social-pop a small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.social-pop i { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: #1ea952; flex: none; }
.social-pop a + a i { background: linear-gradient(45deg, #f9a825, #d6336c, #7b2ff7); }
.social-pop svg { width: 21px; height: 21px; fill: currentColor; }

/* scroll reveal */
.js .rv { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* tablet and up */
@media (min-width: 640px) {
  .rail { grid-auto-columns: 38%; }
  .reel-grid { grid-template-columns: repeat(3, 1fr); }
  .counters { grid-template-columns: repeat(4, 1fr); }
  .count:nth-child(3) { background: var(--leaf-grad); color: #fff; }
  .count:nth-child(3) strong { color: var(--lime); }
  .count:nth-child(4) { background: #fff; color: var(--text); box-shadow: var(--shadow); }
  .count:nth-child(4) strong { color: var(--sun-ink); }
  .drives, .car-track, .story-grid, .cards { grid-template-columns: repeat(2, 1fr); }
  .form-2 { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: repeat(3, 1fr); }
  .news form { grid-template-columns: 1fr 1fr auto; }
  .work-row { grid-template-columns: 1fr 1fr; }
  .work-row > div { padding: 18px 22px 18px 0; }
  .work-row:nth-child(even) img { order: 2; }
  .work-row:nth-child(even) > div { padding: 18px 0 18px 22px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .act-grid { grid-template-columns: repeat(3, 1fr); }
  .proj-grid, .success-list, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
  .event-list { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 3; }
  .mission-band { grid-template-columns: 1.2fr .8fr; align-items: stretch; }
  .mission-band > div { padding: 30px 30px; }
  .quick { width: 100%; max-width: 560px; margin-inline: auto; }
  .page-hero { height: 240px; margin-inline: auto; width: min(1200px, 100% - 32px); }
  .cta { margin-inline: auto; width: min(1200px, 100% - 32px); }
}

/* desktop */
@media (min-width: 960px) {
  .vhero { height: min(86vh, 760px); margin-inline: 0; border-radius: 0 0 44px 44px; }
  .vhero::after { background: linear-gradient(90deg, rgba(6, 34, 16, .85), rgba(6, 34, 16, .2) 62%), linear-gradient(transparent 60%, rgba(6, 34, 16, .45)); }
  .vhero-copy { padding-bottom: 60px; }
  .vhero-copy > * { max-width: 620px; }
  .vhero-copy .tagline { font-size: 22px; }
  .vhero-copy .sub { font-size: 18px; }
  .highlights .banner { order: 0; aspect-ratio: 4 / 3; }
  body { padding-bottom: 0; }
  .pad { padding: 64px 0; }
  .appbar .wrap { height: 76px; }
  .brand img { width: 56px; height: 56px; }
  .brand b { font-size: 18px; }
  .nav { display: flex; align-items: center; gap: 2px; }
  .nav > li { position: relative; }
  .nav > li > a, .nav > li > button { display: block; padding: 8px 12px; border: 0; background: none; border-radius: 30px; font: 500 15.5px Mukta, sans-serif; color: var(--ink); cursor: pointer; white-space: nowrap; }
  .nav > li > a:hover, .nav > li > button:hover, .nav > li.current > a { background: var(--leaf-tint); color: var(--leaf); }
  .nav .sub { position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; }
  .nav > li:hover .sub, .nav > li:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .nav .sub a { display: block; padding: 8px 12px; border-radius: 12px; font-size: 15px; }
  .nav .sub a:hover { background: var(--leaf-tint); }
  .nav-donate { display: inline-flex; padding: 11px 24px; font-size: 15px; }
  .banner { order: 2; aspect-ratio: 4 / 3.2; border-radius: 34px; }
  .slide-text { left: 26px; right: 26px; bottom: 36px; }
  .quick { order: 3; grid-column: 1 / -1; width: 100%; max-width: 720px; gap: 14px; }
  .quick i { width: 66px; height: 66px; border-radius: 22px; }
  .quick svg { width: 30px; height: 30px; }
  .quick a { font-size: 14.5px; }
  .rail { grid-auto-columns: calc((100% - 48px) / 5); padding-inline: 2px; margin-inline: 0; }
  .rail-btn { display: grid; place-items: center; position: absolute; top: 42%; z-index: 3; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow); cursor: pointer; color: var(--leaf); }
  .rail-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; }
  .rail-prev { left: -16px; } .rail-next { right: -16px; }
  .reel-grid { grid-template-columns: repeat(4, 1fr); }
  .drives { grid-template-columns: repeat(3, 1fr); }
  .act-grid { grid-template-columns: repeat(4, 1fr); }
  .proj-grid, .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .course-grid { grid-template-columns: repeat(3, 1fr); }
  .course-card { grid-template-columns: 1fr; padding: 0; overflow: hidden; }
  .course-card img { width: 100%; height: 180px; border-radius: 0; }
  .course-card > div { padding: 0 18px 18px; }
  .event-list { grid-template-columns: repeat(3, 1fr); }
  .event-item { grid-template-columns: 1fr; padding: 0; overflow: hidden; align-items: start; }
  .event-item img { width: 100%; height: 170px; border-radius: 0; }
  .event-item > div { padding: 2px 18px 18px; }
  .gallery-grid { columns: 4; }
  .vs-track { grid-auto-columns: 72%; margin-inline: 0; padding: 4px 14% 10px; scroll-padding-inline: 14%; gap: 18px; }
  .vs-slide { aspect-ratio: 16 / 9; border-radius: 32px; }
  .vs-btn { display: grid; place-items: center; position: absolute; top: 44%; z-index: 3; width: 50px; height: 50px; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow); cursor: pointer; color: var(--leaf); }
  .vs-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.6; }
  .vs-prev { left: 4%; } .vs-next { right: 4%; }
  .mission-quote { padding: 40px; }
  .nav .sub { max-height: 70vh; overflow-y: auto; }
  .car-track, .story-grid, .cards { grid-template-columns: repeat(3, 1fr); }
  .work-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
  .work-card, .work-card:first-child { aspect-ratio: auto; }
  .work-card:first-child { grid-row: span 2; }
  .founder { grid-template-columns: 420px 1fr; align-items: center; }
  .founder-photo { padding: 34px 0 34px 34px; }
  .founder-photo img { width: 330px; }
  .founder-photo::before { width: 370px; top: 24px; left: 42px; }
  .founder-text { padding: 34px 44px; }
  .founder-text blockquote { font-size: 22px; }
  .marquee img { width: 300px; height: 210px; }
  .give-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px 44px; }
  .give-pills { margin: 0; flex: none; }
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split .first-m { order: 0; }
  .donate-grid { grid-template-columns: 1.1fr .9fr; gap: 26px; }
  .give-card { padding: 26px; }
  .foot-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; padding-top: 44px; }
  .foot-about { grid-column: auto; }
  .page-hero { height: 300px; }
  .page-hero .wrap { padding: 0 34px; bottom: 26px; }
  /* Only the WhatsApp and Instagram button stays, as a floating button */
  .tabbar { left: auto; right: 24px; bottom: 24px; display: block; width: 64px; height: 64px; padding: 0; border-radius: 50%; }
  .tabbar .tab:not(.tab-social) { display: none; }
  .tab-social { width: 64px; height: 64px; justify-content: center; }
  .tab-social span:last-child { display: none; }
  .morph, .morph svg { width: 32px; height: 32px; }
  .social-pop { right: 24px; bottom: 98px; }
}
@media (min-width: 960px) and (max-width: 1140px) {
  .nav > li > a, .nav > li > button { padding: 8px 8px; font-size: 14.5px; }
  .brand small { display: none; }
}
