/* =========================================================
   DR India Charitable Trust — Main Stylesheet
   Mobile-first. No frameworks. Edit tokens in :root.
   ========================================================= */

:root {
  --saffron: #e8772e;
  --saffron-dark: #b9541a;      /* AA contrast for text on white */
  --saffron-light: #fde7d4;
  --marigold: #f5a623;
  --indigo: #1e2a5a;
  --indigo-2: #2d3b78;
  --indigo-light: #e8ebf6;
  --green: #2f8f4e;
  --green-dark: #22703b;
  --green-light: #e2f3e7;
  --bg: #fffaf4;
  --surface: #ffffff;
  --text: #22263a;
  --muted: #5a5f73;
  --border: #eadfd2;
  --danger: #b3261e;

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Mulish", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(30, 42, 90, .06);
  --shadow: 0 10px 30px rgba(30, 42, 90, .10);
  --shadow-lg: 0 20px 50px rgba(30, 42, 90, .16);
  --container: 1180px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--bg); overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--saffron-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--indigo); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--indigo); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 6vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--indigo); color: #fff;
  padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn-primary { background: var(--saffron); color: #1b1300; box-shadow: 0 6px 18px rgba(232, 119, 46, .35); }
.btn-primary:hover { background: #f08a45; color: #1b1300; }
.btn-secondary { background: var(--indigo); color: #fff; }
.btn-secondary:hover { background: var(--indigo-2); color: #fff; }
.btn-outline { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn-outline:hover { background: var(--indigo); color: #fff; }
.btn-light { background: #fff; color: var(--indigo); }
.btn-light:hover { background: var(--saffron-light); color: var(--indigo); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--indigo); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 250, 244, .92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--indigo); }
.brand svg { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.brand-tag { font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn-donate { padding: .6em 1.1em; font-size: .95rem; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 12px; border: 1px solid var(--border); background: #fff; cursor: pointer; color: var(--indigo);
}
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: background .2s; }
.nav-toggle .bar::before, .nav-toggle .bar::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .25s; }
.nav-toggle .bar::before { top: -7px; }
.nav-toggle .bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar::after { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; background: var(--bg);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 8px 16px 20px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.primary-nav.open { display: block; animation: navIn .2s ease-out; }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: block; padding: 14px 8px; text-decoration: none; color: var(--indigo);
  font-family: var(--font-head); font-weight: 500; border-bottom: 1px solid var(--border);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--saffron-dark); }
.primary-nav .nav-cta { margin-top: 16px; }
.primary-nav .nav-cta a { border: 0; }

@media (max-width: 380px) {
  .brand-tag { display: none; }
  .brand-name { font-size: .95rem; }
  .brand svg { width: 38px; height: 38px; }
  .header-actions .btn-donate { padding: .55em .9em; font-size: .88rem; }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static; display: block; background: none; border: 0; box-shadow: none; padding: 0; max-height: none; overflow: visible;
  }
  .primary-nav ul { display: flex; gap: 4px; align-items: center; }
  .primary-nav a { border: 0; padding: 8px 12px; border-radius: 999px; font-size: .95rem; position: relative; }
  .primary-nav a[aria-current="page"] { background: var(--saffron-light); }
  .primary-nav .nav-cta { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-alt { background: #fff; }
.section-indigo { background: var(--indigo); color: #e6e9f5; }
.section-indigo h2, .section-indigo h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-indigo .section-head p { color: #c9cfe8; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-dark);
  background: var(--saffron-light); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-indigo .eyebrow { background: rgba(255,255,255,.12); color: var(--marigold); }
.lead { font-size: 1.15rem; color: var(--muted); }

.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 48px 0 64px;
  background:
    radial-gradient(1000px 500px at 100% 0%, rgba(245, 166, 35, .22), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(47, 143, 78, .12), transparent 60%),
    var(--bg);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 80px 0 100px; } .hero-grid { grid-template-columns: 1.1fr 1fr; } }
.hero h1 span.hl { color: var(--saffron-dark); position: relative; white-space: nowrap; }
.hero h1 span.hl svg { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 14px; }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .92rem; color: var(--muted); list-style: none; padding: 0; margin: 0; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 20px; height: 20px; color: var(--green); }
.hero-art { position: relative; max-width: 560px; margin: 0 auto; width: 100%; }
.hero-art svg { width: 100%; height: auto; }
.float { animation: float 6s ease-in-out infinite; transform-origin: center; }
.float-slow { animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Page hero (inner pages) */
.page-hero {
  padding: 56px 0 48px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(245, 166, 35, .25), transparent 60%),
    radial-gradient(500px 300px at 5% 90%, rgba(47, 143, 78, .12), transparent 60%),
    var(--bg);
}
.page-hero p { max-width: 680px; margin: 0 auto; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb ol { list-style: none; display: inline-flex; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--saffron); }
.breadcrumb a { color: var(--muted); }

/* ---------- Impact counters ---------- */
.impact { margin-top: -32px; position: relative; z-index: 2; }
.impact-card {
  background: var(--indigo); color: #fff; border-radius: var(--radius-lg); padding: 28px 20px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) { .impact-card { grid-template-columns: repeat(4, 1fr); padding: 40px; } }
.stat { text-align: center; }
.stat-icon { width: 44px; height: 44px; margin: 0 auto 8px; color: var(--marigold); }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 5vw, 2.6rem); color: #fff; line-height: 1; }
.stat-label { color: #c9cfe8; font-size: .92rem; margin-top: 6px; }
.sample-note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 10px; font-style: italic; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); }
.card .card-link { margin-top: auto; font-family: var(--font-head); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.card .card-link:hover { gap: 10px; }
.icon-badge {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--saffron-light); color: var(--saffron-dark);
}
.icon-badge svg { width: 30px; height: 30px; }
.icon-badge.green { background: var(--green-light); color: var(--green-dark); }
.icon-badge.indigo { background: var(--indigo-light); color: var(--indigo); }

/* ---------- Featured campaign ---------- */
.campaign {
  display: grid; gap: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
@media (min-width: 900px) { .campaign { grid-template-columns: 1fr 1.1fr; } }
.campaign-art { background: linear-gradient(135deg, var(--saffron) 0%, var(--marigold) 100%); min-height: 240px; display: grid; place-items: center; padding: 24px; }
.campaign-art svg { width: 100%; max-width: 360px; }
.campaign-body { padding: 32px 24px; }
@media (min-width: 768px) { .campaign-body { padding: 44px; } }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--green-light); color: var(--green-dark); }
.progress-wrap { margin: 24px 0; }
.progress-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .95rem; margin-bottom: 8px; }
.progress-meta strong { font-family: var(--font-head); color: var(--indigo); }
.progress { height: 14px; background: var(--indigo-light); border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--green), #58b872); transition: width 1.6s cubic-bezier(.2, .8, .2, 1); }
.campaign-facts { display: flex; gap: 24px; flex-wrap: wrap; font-size: .92rem; color: var(--muted); margin-bottom: 24px; }
.campaign-facts b { color: var(--indigo); font-family: var(--font-head); display: block; font-size: 1.15rem; }

/* ---------- Donation tiers ---------- */
.tier { text-align: center; position: relative; }
.tier-amount { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: var(--saffron-dark); line-height: 1; margin: 6px 0 12px; }
.tier.featured { border: 2px solid var(--saffron); }
.tier .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--saffron); color: #1b1300; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.tier .btn { margin-top: auto; }
.tier .icon-badge { margin-left: auto; margin-right: auto; }

/* ---------- Events ---------- */
.event { display: flex; gap: 18px; align-items: flex-start; }
.event-date {
  flex-shrink: 0; width: 72px; text-align: center; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #fff;
}
.event-date .m { background: var(--saffron); color: #1b1300; font-weight: 700; font-size: .8rem; text-transform: uppercase; padding: 4px 0; }
.event-date .d { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--indigo); padding: 6px 0; }
.event h3 { margin-bottom: 6px; }
.event-meta { font-size: .9rem; color: var(--muted); display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.event-meta span { display: flex; align-items: center; gap: 6px; }
.event-meta svg { width: 16px; height: 16px; color: var(--saffron-dark); flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--indigo) 0%, var(--indigo-2) 100%); color: #fff;
  border-radius: var(--radius-lg); padding: 40px 24px; position: relative; overflow: hidden;
  display: grid; gap: 24px; align-items: center;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.5fr 1fr; padding: 56px; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d5dbf0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band .actions { justify-content: flex-end; } }
.cta-band .deco { position: absolute; right: -40px; top: -40px; width: 220px; opacity: .12; color: var(--marigold); pointer-events: none; }

/* ---------- Testimonials ---------- */
.quote { position: relative; }
.quote blockquote { margin: 0 0 20px; font-size: 1.05rem; color: var(--text); }
.quote .qmark { width: 40px; height: 40px; color: var(--saffron); margin-bottom: 10px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font-family: var(--font-head); font-weight: 700; color: #fff; background: var(--indigo);
}
.avatar.s { background: var(--saffron-dark); }
.avatar.g { background: var(--green-dark); }
.quote cite { font-style: normal; font-weight: 700; color: var(--indigo); display: block; }
.quote small { color: var(--muted); }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .partners { grid-template-columns: repeat(6, 1fr); } }
.partner-logo {
  border: 2px dashed var(--border); border-radius: 12px; min-height: 80px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; color: var(--muted); text-align: center; padding: 12px; background: #fff; font-size: .9rem;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--saffron-light); border-radius: var(--radius-lg); padding: 36px 24px;
  display: grid; gap: 20px; align-items: center;
}
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1.1fr; padding: 48px; } }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 560px) { .newsletter-form .row { display: flex; gap: 10px; } .newsletter-form .row .field { flex: 1; margin: 0; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: .95rem; color: var(--indigo); }
.field .req { color: var(--danger); }
.field .hint { font-size: .84rem; color: var(--muted); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"],
.field input[type="date"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d9cdbf; border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s; min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(232, 119, 46, .2); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.error-msg { color: var(--danger); font-size: .85rem; font-weight: 600; min-height: 0; }
.error-msg:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--saffron); flex-shrink: 0; }
.checks-grid { display: grid; gap: 10px; }
@media (min-width: 560px) { .checks-grid { grid-template-columns: 1fr 1fr; } }
.form-status {
  border-radius: 12px; padding: 16px 18px; font-weight: 600; display: none;
}
.form-status.show { display: block; }
.form-status.success { background: var(--green-light); color: var(--green-dark); border: 1px solid #b7dfc3; }
.form-status.error { background: #fde8e7; color: var(--danger); border: 1px solid #f3c1bd; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 20px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 40px; } }

/* ---------- Donate ---------- */
.donate-layout { display: grid; gap: 28px; }
@media (min-width: 1024px) { .donate-layout { grid-template-columns: 1.4fr 1fr; align-items: start; } .donate-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.toggle-group { display: inline-flex; background: var(--indigo-light); border-radius: 999px; padding: 4px; }
.toggle-group button {
  border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; cursor: pointer; color: var(--indigo);
}
.toggle-group button[aria-pressed="true"] { background: var(--indigo); color: #fff; }
.amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .amounts { grid-template-columns: repeat(4, 1fr); } }
.amount-btn {
  border: 2px solid var(--border); background: #fff; border-radius: 12px; padding: 14px 8px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--indigo); transition: all .15s;
}
.amount-btn:hover { border-color: var(--saffron); }
.amount-btn[aria-pressed="true"] { border-color: var(--saffron); background: var(--saffron-light); color: var(--saffron-dark); }
.custom-amount { position: relative; }
.custom-amount .rupee { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--muted); }
.custom-amount input { padding-left: 32px !important; }
.donation-summary {
  background: var(--green-light); border: 1px solid #b7dfc3; color: var(--green-dark); border-radius: 12px; padding: 14px 16px; font-weight: 600;
}
.pay-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.pay-box h3 { display: flex; align-items: center; gap: 10px; }
.pay-box h3 svg { width: 26px; height: 26px; color: var(--saffron-dark); }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: .95rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 700; color: var(--indigo); word-break: break-word; }
.qr-box {
  width: 180px; height: 180px; margin: 12px auto; border: 2px dashed var(--saffron); border-radius: 12px;
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .85rem; padding: 12px; background: repeating-linear-gradient(45deg, #fff, #fff 10px, #fff6ee 10px, #fff6ee 20px);
}
.note-80g { background: var(--indigo); color: #e6e9f5; border-radius: var(--radius); padding: 22px; }
.note-80g h3 { color: #fff; }
.note-80g a { color: var(--marigold); }

/* ---------- Programs detail ---------- */
.program { display: grid; gap: 24px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--border); }
.program:last-child { border-bottom: 0; }
@media (min-width: 900px) {
  .program { grid-template-columns: 1fr 1.3fr; gap: 56px; padding: 48px 0; }
  .program:nth-child(even) .program-art { order: 2; }
}
.program-art { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; padding: 24px; }
.program-art svg { width: 70%; max-width: 280px; height: auto; }
.program-art.a { background: linear-gradient(135deg, #fde7d4, #f9c48f); }
.program-art.b { background: linear-gradient(135deg, #e2f3e7, #a8d9b6); }
.program-art.c { background: linear-gradient(135deg, #e8ebf6, #b4bde4); }
.program-art.d { background: linear-gradient(135deg, #fdeef3, #f3b5c9); }
.program-art.e { background: linear-gradient(135deg, #fff4d6, #f7cf6b); }
.program-art.f { background: linear-gradient(135deg, #fde2e0, #ee9e97); }
.checklist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--green) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pill { font-size: .82rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--indigo-light); color: var(--indigo); }

/* ---------- About ---------- */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.mv-card { border-radius: var(--radius-lg); padding: 32px; }
.mv-card.mission { background: var(--saffron-light); }
.mv-card.vision { background: var(--green-light); }
.team-card { text-align: center; }
.team-photo {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--indigo-light), var(--saffron-light)); color: var(--indigo);
}
.team-photo svg { width: 64px; height: 64px; }
.team-role { color: var(--saffron-dark); font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.reg-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.reg-table th, .reg-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.reg-table th { background: var(--indigo-light); color: var(--indigo); font-family: var(--font-head); font-weight: 600; width: 45%; }
.reg-table tr:last-child th, .reg-table tr:last-child td { border-bottom: 0; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding-left: 40px; margin-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 4px var(--saffron-light); }
.timeline .yr { font-family: var(--font-head); font-weight: 700; color: var(--saffron-dark); }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.filter-bar button { border: 1.5px solid var(--border); background: #fff; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 700; color: var(--indigo); }
.filter-bar button[aria-pressed="true"] { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { margin: 0; }
.gallery-item[hidden] { display: none; }
.gallery-btn {
  display: block; width: 100%; border: 0; padding: 0; cursor: zoom-in; background: none; border-radius: var(--radius); overflow: hidden; text-align: left;
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.gallery-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile { aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; }
.tile svg { width: 42%; height: auto; color: rgba(255,255,255,.92); }
.tile.t1 { background: linear-gradient(135deg, #e8772e, #f5a623); }
.tile.t2 { background: linear-gradient(135deg, #1e2a5a, #3d4f9a); }
.tile.t3 { background: linear-gradient(135deg, #2f8f4e, #7cc68f); }
.tile.t4 { background: linear-gradient(135deg, #b9541a, #e8772e); }
.tile.t5 { background: linear-gradient(135deg, #7a3e8f, #c07ad6); }
.tile.t6 { background: linear-gradient(135deg, #b3261e, #ea7d6f); }
.gallery-cap { display: block; background: #fff; padding: 12px 16px; font-weight: 700; color: var(--indigo); font-size: .95rem; }
.gallery-cap small { display: block; color: var(--muted); font-weight: 500; }

.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(12, 16, 36, .92); display: none;
  align-items: center; justify-content: center; padding: 16px;
}
.lightbox.open { display: flex; }
.lightbox-inner { width: 100%; max-width: 900px; position: relative; }
.lightbox-figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; }
.lightbox-figure .tile { aspect-ratio: 16 / 10; }
.lightbox-figure .tile svg { width: 30%; }
.lightbox-figure figcaption { padding: 14px 18px; color: var(--indigo); font-weight: 700; }
.lightbox-figure figcaption small { display: block; color: var(--muted); font-weight: 500; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--indigo);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
}
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: -58px; right: 0; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
@media (min-width: 1000px) { .lb-prev { left: -64px; } .lb-next { right: -64px; } }
.lb-count { position: absolute; top: -48px; left: 0; color: #fff; font-weight: 700; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1fr 1.3fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon-badge { width: 48px; height: 48px; margin: 0; border-radius: 12px; flex-shrink: 0; }
.contact-list .icon-badge svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--indigo); font-family: var(--font-head); }
.map-box {
  border-radius: var(--radius); min-height: 260px; display: grid; place-items: center; text-align: center; padding: 20px;
  background:
    linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)),
    repeating-linear-gradient(0deg, transparent, transparent 38px, #d8dff0 38px, #d8dff0 40px),
    repeating-linear-gradient(90deg, transparent, transparent 38px, #d8dff0 38px, #d8dff0 40px),
    var(--indigo-light);
  border: 2px dashed #b4bde4; color: var(--indigo);
}
.map-box svg { width: 44px; height: 44px; color: var(--saffron-dark); margin: 0 auto 8px; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 16px 0; font-family: var(--font-head); font-weight: 600; color: var(--indigo); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--saffron-dark); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); }

/* ---------- Prose (policy) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose p, .prose li { color: #3a3f55; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 80px 0; }
.notfound svg { width: 260px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer { background: #151d42; color: #c3c9e2; padding: 64px 0 24px; margin-top: 0; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.site-footer a { color: #c3c9e2; text-decoration: none; }
.site-footer a:hover { color: var(--marigold); text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand-tag { color: #9aa3c7; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: .95rem; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--marigold); flex-shrink: 0; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.socials a:hover { background: var(--saffron); color: #1b1300; }
.socials svg { width: 18px; height: 18px; }
.footer-reg { font-size: .85rem; color: #9aa3c7; margin-top: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; color: #9aa3c7; }

/* ---------- Back to top / mobile donate ---------- */
.back-top {
  position: fixed; right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--indigo); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top svg { width: 22px; height: 22px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s !important; }
.reveal-delay-2 { transition-delay: .2s !important; }
.reveal-delay-3 { transition-delay: .3s !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .float, .float-slow { animation: none; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.stack-sm > * + * { margin-top: 12px; }

@media print {
  .site-header, .site-footer, .back-top, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

/* ---------- Icon helpers & small fixes ---------- */
.i { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.2em; flex-shrink: 0; }
.eyebrow .i { width: 1em; height: 1em; }
.card.event { flex-direction: row; }
.gallery { list-style: none; padding: 0; margin: 0; }
.program-art svg { color: var(--indigo); }
.program-art.f svg, .program-art.d svg { color: #6b1f2a; }
.team-photo svg, .partner-logo svg { color: var(--indigo); }
.cta-band .deco { height: 220px; }
.hero-art svg { overflow: visible; }
.contact-list .icon-badge svg { width: 22px; height: 22px; }
.map-box > div > svg { display: block; }
