/* Chaitanya Seva Foundation — redesign 2026 */

:root {
  --paper: #f7f2ea;
  --paper-2: #efe7da;
  --card: #fffdf9;
  --ink: #221a16;
  --ink-2: #4a3f38;
  --muted: #7a6d63;
  --line: #e2d7c7;
  --line-2: #d4c6b2;

  --maroon: #5b1a1a;
  --maroon-2: #7a2620;
  --clay: #b4532a;
  --clay-soft: #f3e1d4;
  --ochre: #c98a2b;
  --sage: #5f6f52;
  --sage-soft: #e3e8dc;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(34, 26, 22, .04), 0 12px 32px -12px rgba(34, 26, 22, .14);
  --container: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
blockquote { margin: 0; }
::selection { background: var(--clay); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.ic { width: 18px; height: 18px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 12px 22px; font-weight: 600; font-size: 15px; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--maroon); }
.btn-light:hover { background: var(--paper); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--maroon); text-decoration: none;
}
.text-link .ic { transition: transform .2s; }
.text-link:hover .ic { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--maroon); color: #f6e9e0; font-size: 14px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; }
.topbar-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar-note strong { color: #fff; font-weight: 600; }
.topbar-note a { color: #fff; text-underline-offset: 3px; margin-left: 8px; }
.topbar-label {
  margin-right: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff;
}
.topbar-right { display: flex; align-items: center; gap: 20px; }
.lang-switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.1); }
.lang-btn { border: 0; background: transparent; color: #f6e9e0; font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.lang-btn.active { background: #fff; color: var(--maroon); font-weight: 600; }
.topbar-phone { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: #fff; font-weight: 500; white-space: nowrap; }
.topbar-right { flex: none; }
.topbar-phone .ic { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 234, .88);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(34,26,22,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  background: #fff url("../img/emblem.webp") center / cover no-repeat;
  box-shadow: 0 0 0 1px var(--line);
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none;
  pointer-events: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.brand-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--maroon); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.hero-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--sage); font-weight: 500;
  padding: 7px 14px; border-radius: 999px; background: var(--sage-soft);
}
.hero-status .ic { width: 16px; height: 16px; }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.025em;
  margin: 26px 0 24px;
}
.hero-title span { display: block; color: var(--maroon); }
.hero-lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 52px; border-top: 1px solid var(--line-2); }
.hero-stats > div { padding: 20px 20px 0 0; }
.hero-stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-stats dt { font-family: var(--serif); font-size: 38px; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.hero-stats dd { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.4; }

.hero-media { position: relative; padding: 0 0 70px 40px; }
.hero-photo-main { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); }
.hero-photo-main img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.hero-photo-inset {
  position: absolute; left: 0; bottom: 0; width: 46%; margin: 0;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  border: 6px solid var(--paper); box-shadow: var(--shadow);
}
.hero-photo-inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-note {
  position: absolute; right: -16px; bottom: 26px; width: 260px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.hero-note-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }
.hero-note p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); margin-top: 6px; }

/* ---------- Credentials ---------- */
.creds { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.creds-row { display: grid; grid-template-columns: repeat(5, 1fr); }
.cred { padding: 22px 20px; display: flex; flex-direction: column; gap: 4px; }
.cred + .cred { border-left: 1px solid var(--line); }
.cred:first-child { padding-left: 0; }
.cred span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cred strong { font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em; color: var(--ink); word-break: break-all; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); margin-bottom: 16px; }
.eyebrow.on-dark { color: #f0b88f; }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.02em; }
.section-lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin-top: 18px; }
.section-head.split .section-lede { margin-top: 0; max-width: 460px; justify-self: end; }

/* ---------- Bulletin ---------- */
.bulletin { padding-bottom: 96px; }
.bulletin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.note-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 32px; transition: border-color .2s, transform .2s; }
.note-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.note-meta { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.note-meta span + span::before { content: "·"; margin-right: 10px; }
.note-meta span:last-child { color: var(--clay); font-weight: 600; }
.note-card h3 { font-family: var(--serif); font-size: 25px; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 12px; }
.note-card p:last-child { color: var(--ink-2); font-size: 16px; }

/* ---------- Programmes ---------- */
.programmes { background: var(--paper-2); }
.programme-list { display: grid; gap: 28px; }
.programme { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.programme:nth-child(even) .programme-img { order: 2; }
.programme-img { min-height: 420px; position: relative; }
.programme-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.programme:hover .programme-img img { transform: scale(1.03); }
.programme-body { padding: 52px 56px; display: flex; flex-direction: column; }
.programme-num { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
.programme-body h3 { font-family: var(--serif); font-size: 34px; line-height: 1.12; letter-spacing: -.015em; margin: 14px 0 14px; }
.programme-body > p:not(.programme-num) { color: var(--ink-2); font-size: 17px; }
.ticks { margin: 24px 0 32px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8.5' fill='none' stroke='%235f6f52' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.programme-foot { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.programme-foot strong { font-family: var(--serif); font-weight: 500; font-size: 22px; }

/* ---------- Calculator ---------- */
.calc { background: var(--maroon); color: #f8ece4; position: relative; overflow: hidden; }
.calc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 500px at 85% 20%, rgba(201, 138, 43, .18), transparent 60%);
}
.calc-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.calc .section-title { color: #fff; }
.calc .section-lede { color: #ead6ca; max-width: 520px; }
.calc-controls { margin-top: 40px; display: grid; gap: 22px; }
.calc-group { display: flex; align-items: center; gap: 20px; }
.calc-label { width: 64px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f0b88f; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.seg-btn { border: 0; background: transparent; color: #f8ece4; font-size: 15px; font-weight: 500; padding: 9px 20px; border-radius: 999px; transition: background .2s, color .2s; }
.seg-btn:hover { background: rgba(255,255,255,.08); }
.seg-btn.active { background: #fff; color: var(--maroon); font-weight: 600; }
.calc-card { background: var(--card); color: var(--ink); border-radius: var(--radius-lg); padding: 40px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.calc-card-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calc-amount { font-family: var(--serif); font-size: 72px; line-height: 1; letter-spacing: -.03em; margin-top: 14px; color: var(--maroon); font-variant-numeric: tabular-nums; }
.calc-desc { color: var(--ink-2); margin-top: 10px; }
.calc-lines { margin: 28px 0; border-top: 1px solid var(--line); }
.calc-lines li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.calc-lines strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-fine { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--sage); }
.calc-fine .ic { width: 16px; height: 16px; }

/* ---------- Needs board ---------- */
.needs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; transition: all .2s; }
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.needs-hint { font-size: 14px; color: var(--muted); }
.needs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.need { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.need:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.need[hidden] { display: none; }
.need-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.need-cat { font-size: 13px; color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.tag-urgent { background: var(--clay-soft); color: var(--clay); }
.tag-light { background: rgba(255,255,255,.14); color: #fff; }
.need h3 { font-family: var(--serif); font-size: 23px; line-height: 1.2; }
.need-qty { font-size: 15px; color: var(--muted); margin-top: 6px; }
.meter { --p: 50%; height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; margin-top: 22px; }
.meter span { display: block; height: 100%; width: var(--p); background: var(--sage); border-radius: inherit; transition: width 1s cubic-bezier(.2,.7,.2,1); }
.need.urgent .meter span { background: var(--clay); }
.meter-thin { height: 6px; margin-top: 10px; }
.meter-thin span { background: var(--maroon); }
.meter-ochre span { background: var(--ochre); }
.meter-sage span { background: var(--sage); }
.need-progress { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-top: 10px; }
.need-progress strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.need-btn { margin-top: 22px; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); background: none; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 15px; color: var(--maroon); text-align: left; }
.need-btn .ic { transition: transform .2s; }
.need-btn:hover .ic { transform: translateX(3px); }
.dropoff { margin-top: 32px; display: flex; align-items: center; gap: 22px; padding: 26px 30px; border-radius: var(--radius); background: var(--paper-2); }
.dropoff-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--card); display: grid; place-items: center; color: var(--maroon); flex: none; }
.dropoff-text { flex: 1; }
.dropoff-text h3 { font-family: var(--serif); font-size: 21px; }
.dropoff-text p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }

/* ---------- Team ---------- */
.team { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.person-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.person:hover .person-photo img { transform: scale(1.04); }
.person h3 { font-family: var(--serif); font-size: 24px; margin-top: 20px; }
.person-role { font-size: 14px; color: var(--clay); font-weight: 600; margin-top: 4px; }
.person blockquote { font-size: 15px; color: var(--ink-2); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); line-height: 1.55; }

/* ---------- Stories ---------- */
.story-feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; background: var(--ink); color: #f3ebe3; border-radius: var(--radius-lg); overflow: hidden; }
.story-feature-img { min-height: 440px; position: relative; }
.story-feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-feature-body { padding: 64px 64px; display: flex; flex-direction: column; justify-content: center; }
.story-kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #f0b88f; }
.story-feature blockquote { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -.01em; margin: 22px 0 28px; color: #fff; }
.story-who { font-size: 15px; color: var(--muted); }
.story-feature .story-who { color: #c8b9ac; }
.story-who strong { color: inherit; font-weight: 600; }
.story-feature .story-who strong { color: #fff; }
.story-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.story-small { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 40px 36px; }
.story-small blockquote { font-family: var(--serif); font-size: 22px; line-height: 1.4; margin-bottom: 22px; }
.story-small .story-who strong { color: var(--ink); }

/* ---------- Visit ---------- */
.visit { background: var(--paper-2); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.visit-ways { margin: 40px 0 32px; display: grid; gap: 24px; }
.visit-ways li { display: flex; gap: 18px; }
.way-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--maroon); flex: none; }
.way-icon .ic { width: 20px; height: 20px; }
.visit-ways h3 { font-family: var(--serif); font-size: 21px; }
.visit-ways p { color: var(--ink-2); font-size: 15.5px; margin-top: 2px; }
.route { display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--radius); border: 1px dashed var(--line-2); color: var(--ink-2); font-size: 15px; }
.route .ic { color: var(--clay); margin-top: 3px; }
.route strong { color: var(--ink); }
.visit-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); display: grid; gap: 18px; position: sticky; top: 100px; }
.visit-form h3 { font-family: var(--serif); font-size: 30px; }
.form-sub { color: var(--muted); font-size: 15px; margin-top: -12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 7px; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%237a6d63' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus { border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(91, 26, 26, .12); background-color: #fff; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot { border: 1px solid var(--line-2); background: var(--paper); border-radius: 10px; padding: 12px 10px; text-align: left; display: grid; gap: 2px; transition: all .2s; }
.slot strong { font-size: 14.5px; font-weight: 600; }
.slot span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--ink-2); }
.slot.active { border-color: var(--maroon); background: #fbf1ee; box-shadow: inset 0 0 0 1px var(--maroon); }
.slot.active strong { color: var(--maroon); }
.form-success { padding: 12px 14px; border-radius: 10px; background: var(--sage-soft); color: var(--sage); font-size: 14.5px; text-align: center; }

/* ---------- NSS ---------- */
.nss-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.nss-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; }
.nss-img img { width: 100%; height: 100%; object-fit: cover; }
.steps { counter-reset: step; margin: 36px 0 36px; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 20px 0 20px 64px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); position: absolute; left: 0; top: 18px; font-family: var(--serif); font-size: 28px; color: var(--clay); line-height: 1; }
.steps h3 { font-family: var(--serif); font-size: 22px; }
.steps p { color: var(--ink-2); font-size: 15.5px; margin-top: 2px; }

/* ---------- Giving ---------- */
.giving { background: var(--card); border-top: 1px solid var(--line); }
.giving-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; }
.giving-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; background: var(--paper); }
.giving-card h3 { font-family: var(--serif); font-size: 30px; }
.alloc { margin: 28px 0 32px; display: grid; gap: 20px; }
.alloc-label { display: flex; justify-content: space-between; gap: 16px; font-size: 15.5px; color: var(--ink-2); }
.alloc-label strong { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--ink); line-height: 1; }
.reg-list, .bank-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 28px; border-top: 1px solid var(--line); }
.reg-list > div, .bank-list > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.reg-list dt, .bank-list dt { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.reg-list dd, .bank-list dd { font-size: 15.5px; margin-top: 3px; padding-right: 12px; }
.giving-upi { background: var(--maroon); border-color: var(--maroon); color: #f8ece4; }
.giving-upi h3 { color: #fff; margin-top: 18px; }
.upi-sub { color: #ead6ca; margin-top: 6px; font-size: 15.5px; }
.upi-id { margin: 28px 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.upi-id span { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: #f0b88f; font-weight: 600; grid-column: 1; }
.upi-id strong { font-size: 20px; color: #fff; font-weight: 600; grid-column: 1; font-variant-numeric: tabular-nums; }
.copy-btn { grid-column: 2; grid-row: 1 / 3; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; background: #fff; color: var(--maroon); font-weight: 600; font-size: 14px; padding: 9px 16px; }
.copy-btn .ic { width: 16px; height: 16px; }
.copy-btn span { font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; color: inherit !important; }
.bank-list { border-color: rgba(255,255,255,.14); }
.bank-list > div { border-color: rgba(255,255,255,.14); }
.bank-list dt { color: #d9bfb1; }
.bank-list dd { color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: stretch; }
.contact-list { margin: 36px 0; display: grid; gap: 24px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .ic { color: var(--clay); margin-top: 4px; width: 20px; height: 20px; }
.contact-list h3 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-list p { font-size: 16.5px; margin-top: 3px; }
.contact-list a { color: var(--maroon); font-weight: 600; text-decoration: none; }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 480px; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; filter: saturate(.75) contrast(1.02); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cdbfb3; padding: 80px 0 36px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-name { font-family: var(--serif); font-size: 28px; color: #fff; }
.footer-motto { color: #f0b88f; margin-top: 8px; }
.footer-about { margin-top: 18px; max-width: 380px; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.footer-col a { text-decoration: none; color: #cdbfb3; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; font-size: 13.5px; color: #9a8b7f; flex-wrap: wrap; }

.mobile-cta { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 14.5px; }
  .programme-body { padding: 44px; }
}

@media (max-width: 1060px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 32px 20px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav a::after { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .calc-grid, .visit-grid, .nss-grid, .contact-grid, .giving-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 640px; }
  .creds-row { grid-template-columns: repeat(3, 1fr); }
  .cred:nth-child(4) { border-left: 0; padding-left: 0; }
  .cred:nth-child(n+4) { border-top: 1px solid var(--line); }
  .section-head.split { grid-template-columns: 1fr; gap: 0; }
  .section-head.split .section-lede { justify-self: start; margin-top: 18px; }
  .needs-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .visit-form { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .topbar-note { font-size: 13px; }
  .topbar-note a, .topbar-phone { display: none; }
  .topbar-inner { min-height: 40px; gap: 12px; }
  .header-inner { height: 66px; }
  .brand-name { font-size: 18px; }
  .brand-sub { display: none; }
  .header-actions .btn { display: none; }
  .main-nav { padding: 4px 16px 16px; }
  .hero { padding: 40px 0 56px; }
  .hero-lede { font-size: 17px; }
  .hero-ctas .btn { width: 100%; }
  .hero-stats dt { font-size: 28px; }
  .hero-stats > div { padding-right: 10px; }
  .hero-stats > div + div { padding-left: 12px; }
  .hero-stats dd { font-size: 12.5px; }
  .hero-media { padding: 0 0 56px 20px; }
  .hero-note { display: none; }
  .creds-row { grid-template-columns: 1fr 1fr; }
  .cred { padding: 16px 12px 16px 0; }
  .cred + .cred { border-left: 0; }
  .cred:first-child { grid-column: 1 / -1; }
  .cred:nth-child(n+2) { border-top: 1px solid var(--line); }
  .cred:nth-child(4) { padding-left: 0; }
  .hero-status { border-radius: 14px; align-items: flex-start; }
  .hero-status .ic { margin-top: 3px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .bulletin-grid, .needs-grid, .story-pair { grid-template-columns: 1fr; }
  .programme, .story-feature { grid-template-columns: 1fr; }
  .programme:nth-child(even) .programme-img { order: 0; }
  .programme-img, .story-feature-img { min-height: 240px; }
  .programme-body { padding: 28px 24px; }
  .programme-body h3 { font-size: 27px; }
  .story-feature-body { padding: 32px 24px; }
  .story-small { padding: 28px 24px; }
  .calc-group { flex-direction: column; align-items: flex-start; gap: 10px; }
  .calc-card { padding: 28px 22px; }
  .calc-amount { font-size: 56px; }
  .seg-btn { padding: 8px 15px; }
  .team-grid { gap: 20px 14px; }
  .person h3 { font-size: 19px; }
  .person blockquote { display: none; }
  .dropoff { flex-direction: column; align-items: flex-start; padding: 22px; }
  .visit-form, .giving-card { padding: 26px 20px; }
  .form-row, .slots { grid-template-columns: 1fr; }
  .reg-list, .bank-list { grid-template-columns: 1fr; }
  .upi-id strong { font-size: 17px; }
  .map, .map iframe { min-height: 320px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding-bottom: 96px; }
  .mobile-cta {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 60;
    justify-content: center; padding: 15px; border-radius: 999px;
    background: var(--maroon); color: #fff; font-weight: 600; text-decoration: none;
    box-shadow: 0 12px 30px -10px rgba(91, 26, 26, .6);
    transform: translateY(140%); transition: transform .3s;
  }
  .mobile-cta.show { transform: none; }
}
