@charset "UTF-8";
/* ==========================================================================
   Shri Arham Foundation (Khichdi Ghar)
   Single stylesheet — self-hosted fonts, no framework, no external requests.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Fonts */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/poppins-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Devanagari — variable weight axis, one file covers 400–600. */
@font-face {
  font-family: 'Noto Sans Devanagari';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/noto-devanagari.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Noto Sans Devanagari';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/noto-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------- 2. Tokens */

:root {
  /* Brand — saffron and maroon from the Jain palette, amber carried over
     from the foundation's existing logo and identity. */
  --saffron:        #d97706;
  --saffron-dark:   #b45309;
  --saffron-tint:   #fef3e2;
  --maroon:         #7f1d1d;
  --maroon-soft:    #9a3324;
  --maroon-tint:    #fbeeee;
  --gold:           #c89b3c;
  --amber:          #fcb11a;

  --cream:          #fffdf7;
  --cream-alt:      #faf7f0;
  --sand:           #f0ebe0;
  --sand-dark:      #e2d9c6;

  --ink:            #292524;
  --ink-soft:       #57534e;
  --ink-mute:       #78716c;
  --white:          #ffffff;

  --success:        #15803d;
  --success-tint:   #eefbf2;
  --danger:         #b91c1c;
  --danger-tint:    #fdf0f0;

  /* Type */
  --font-body: 'Poppins', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-deva: 'Noto Sans Devanagari', 'Poppins', sans-serif;

  /* Rhythm */
  --wrap:      1200px;
  --wrap-slim: 820px;
  --gutter:    clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(41, 37, 36, .05);
  --shadow:    0 4px 16px rgba(41, 37, 36, .07);
  --shadow-lg: 0 14px 40px rgba(41, 37, 36, .10);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------- 3. Reset */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;            /* belt-and-braces against horizontal scroll */
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.1vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--maroon);
  text-decoration-color: rgba(127, 29, 29, .3);
  text-underline-offset: 3px;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
a:hover { color: var(--saffron-dark); text-decoration-color: currentColor; }

img, picture, video { max-width: 100%; height: auto; display: block; }

/* Icons sit inline inside sentences; inside a flex container they are
   blockified automatically, so nothing else needs to change. */
svg { max-width: 100%; display: inline-block; vertical-align: middle; }

/* The UA rule loses to any component that sets display, so state it here. */
[hidden] { display: none !important; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.3em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--sand); margin: 2.5rem 0; }

::selection { background: var(--saffron-tint); color: var(--maroon); }

/* Focus is always visible for keyboard users. */
:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  padding: .7rem 1.2rem;
  background: var(--maroon);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 0; color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* Honeypot: off-screen, never announced, never tab-reachable. */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* --------------------------------------------------------------- 4. Layout */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-slim { max-width: var(--wrap-slim); }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--cream-alt); }
.section--maroon { background: var(--maroon); color: rgba(255, 255, 255, .88); }
.section--maroon h2, .section--maroon h3 { color: var(--white); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section-head { max-width: 660px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.03rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .9rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--saffron-dark);
}
.eyebrow::before {
  content: '';
  width: 26px; height: 2px;
  background: var(--gold);
  flex: none;
}
.section-head--center .eyebrow::after {
  content: '';
  width: 26px; height: 2px;
  background: var(--gold);
  flex: none;
}
.section--maroon .eyebrow { color: var(--amber); }
.section--maroon .eyebrow::before,
.section--maroon .eyebrow::after { background: rgba(252, 177, 26, .5); }

.lede { font-size: 1.09rem; line-height: 1.75; color: var(--ink-soft); }

.deva { font-family: var(--font-deva); font-weight: 500; line-height: 1.55; }

/* --------------------------------------------------------------- 5. Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.6rem;
  min-height: 48px;                 /* comfortable touch target */
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled='true'] {
  opacity: .6; cursor: not-allowed; transform: none;
}

.btn--primary {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--saffron-dark);
  border-color: var(--saffron-dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn--maroon { background: var(--maroon); border-color: var(--maroon); color: var(--white); }
.btn--maroon:hover { background: #6b1717; border-color: #6b1717; color: var(--white); }

.btn--outline { background: transparent; border-color: var(--sand-dark); color: var(--ink); }
.btn--outline:hover { border-color: var(--maroon); color: var(--maroon); background: var(--white); }

.btn--ghost-light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); border-color: var(--white); color: var(--maroon); }

.btn--block { width: 100%; }
.btn--lg { padding: 1rem 2rem; font-size: 1.02rem; min-height: 54px; }
.btn--sm { padding: .55rem 1.1rem; min-height: 40px; font-size: .88rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Text link with a chevron. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 500;
  font-size: .94rem;
  color: var(--maroon);
  text-decoration: none;
}
.link-arrow::after { content: '→'; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------- 6. Topbar */

.topbar {
  background: var(--maroon);
  color: rgba(255, 255, 255, .82);
  font-size: .84rem;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.4rem;
  min-height: 42px;
  padding-block: .35rem;
}
.topbar__contact {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  min-width: 0;          /* flex children may shrink below their content width */
}
.topbar a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  max-width: 100%;
}
/* The email address is one long unbreakable token; let it break rather than
   push the page wider than the viewport. */
.topbar a span { overflow-wrap: anywhere; }
.topbar a:hover { color: var(--amber); }
.topbar svg { width: 15px; height: 15px; flex: none; opacity: .8; }

.social-row { display: flex; align-items: center; gap: .35rem; }
.social-row a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background-color .2s var(--ease);
}
.social-row a:hover { background: rgba(255, 255, 255, .14); }
.social-row svg { width: 16px; height: 16px; opacity: .9; }

/* --------------------------------------------------------------- 7. Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 247, .96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--sand);
}
.site-header.is-stuck { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
  min-width: 0;
}

/* flex:0 1 auto + min-width:0 lets the brand give way before the page does */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
}
.brand img { width: 38px; height: 64px; object-fit: contain; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--maroon);
  letter-spacing: -.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand__sub {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--saffron-dark);
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: .15rem; min-width: 0; }
.nav a {
  padding: .55rem .78rem;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav a:hover { color: var(--maroon); background: var(--saffron-tint); }
.nav a.is-active { color: var(--maroon); }
.nav a.is-active::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 3px;
  background: var(--saffron);
  border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: .6rem; flex: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background-color .2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease), top .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after  { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--sand);
  background: var(--cream);
  padding: .8rem var(--gutter) 1.4rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: .85rem .2rem;
  border-bottom: 1px solid var(--sand);
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.mobile-nav a.is-active { color: var(--maroon); }
.mobile-nav .btn { margin-top: 1.1rem; }

/* The donate button stays visible at every width; only its label shortens. */
.donate-label-short { display: none; }

/*
 * Seven nav items plus a CTA need roughly 1140px before they start crowding
 * the logo. Below that the drawer takes over — measured, not guessed.
 */
@media (max-width: 1139px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .donate-label-full { display: none; }
  .donate-label-short { display: inline; }
  .header__actions .btn--donate { padding-inline: 1.15rem; min-height: 44px; font-size: .9rem; }
  .brand img { width: 32px; height: 54px; }
  .brand__name { font-size: .92rem; }
  .header__inner { min-height: 64px; }
}
@media (max-width: 390px) {
  .brand__sub { display: none; }
}

/* --------------------------------------------------------------- 8. Hero */

/* The homepage hero is a two-column band: copy on its own maroon ground,
   carousel beside it. Nothing is laid over the photographs, so each one is
   shown whole — portrait and landscape alike — instead of being cropped. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--maroon);
  color: var(--white);
}
/* A little depth behind the copy, without touching the photographs. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(154, 51, 36, .55), transparent 60%),
    linear-gradient(160deg, rgba(53, 12, 12, .25), rgba(53, 12, 12, .55));
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.4rem, 6vw, 4.2rem);
}
/* Below 900px the grid stays single-column: the copy reads first, the
   photograph follows it. */
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
    min-height: 50vh;
  }
}

.hero__copy { max-width: 46rem; }
.hero .eyebrow { color: var(--amber); }
.hero .eyebrow::before { background: var(--amber); }
.hero h1 { color: var(--white); margin-bottom: .5rem; }
.hero__deva {
  font-family: var(--font-deva);
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 1rem;
}

/* Caption for the photograph currently on screen. The height is reserved for
   the longest of them so that swapping the text never nudges the buttons. */
.hero__caption {
  color: rgba(255, 255, 255, .92);
  font-size: 1.06rem;
  line-height: 1.6;
  max-width: 42ch;
  min-height: calc(1.6em * 2);
  margin-bottom: 1.8rem;
  transition: opacity .35s var(--ease);
}
.hero__caption.is-fading { opacity: 0; }
.hero .btn-row { gap: .9rem; }

/* ---- carousel ---- */

.hero__figure { position: relative; }

/* Stacked, the photograph would otherwise run nearly edge to edge and push
   the band far down the screen. */
@media (max-width: 899px) {
  .hero__figure {
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
  }
}

/* A fixed 4:3 slot keeps the band a stable height while the photographs
   change; each image is centred inside it at its own aspect ratio. */
.hero__stage {
  position: relative;
  aspect-ratio: 4 / 3;
}
.hero__slide {
  position: absolute;
  inset: 0;
  /* place-items centres without stretching, which a flex container would. */
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .8s ease-in-out;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide picture {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  /* Grid and flex items default to min-height:auto, which would let a tall
     portrait photograph push past the slot instead of scaling down. */
  min-width: 0;
  min-height: 0;
}
/* Never cropped: the photograph scales to fit the slot and keeps its shape,
   so the frame hugs the image rather than the other way round. */
.hero__slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(28, 8, 8, .45);
}

/* ---- indicators (injected by main.js, so absent without JS) ---- */

.hero__dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.1rem;
}
.hero__dot {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .38);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.hero__dot:hover { background: rgba(255, 255, 255, .68); }
.hero__dot.is-active {
  background: var(--amber);
  transform: scale(1.3);
}
.hero__dot:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide,
  .hero__caption,
  .hero__dot { transition: none; }
}

/* Inner-page banner. */
.page-hero {
  position: relative;
  isolation: isolate;
  background: var(--maroon);
  color: var(--white);
  padding-block: clamp(2.8rem, 7vw, 4.6rem);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; opacity: .32; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(72,18,18,.94), rgba(90,24,24,.72));
}
.page-hero h1 { color: var(--white); margin-bottom: .35rem; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 62ch; margin-bottom: 0; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .85rem;
  color: rgba(255, 255, 255, .72);
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: .45rem; }
.breadcrumb li + li::before { content: '/'; opacity: .5; }
.breadcrumb a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.breadcrumb a:hover { color: var(--amber); }

/* --------------------------------------------------------------- 9. Cards */

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(232px, 100%), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--sand-dark); }

.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }

.card__tag {
  position: absolute;
  left: .85rem; bottom: .85rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: rgba(255, 253, 247, .94);
  color: var(--maroon);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.6rem; }
.card__body h3 { margin-bottom: .15rem; }
.card__deva { font-family: var(--font-deva); font-size: .95rem; color: var(--saffron-dark); margin-bottom: .7rem; }
.card__body p { color: var(--ink-soft); font-size: .96rem; }
.card__foot { margin-top: auto; padding-top: 1.1rem; }

/* Value cards — flat, quiet, no photographs. */
.value-card {
  padding: 1.7rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.value-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--saffron-tint);
  color: var(--saffron-dark);
}
.value-card__icon svg { width: 22px; height: 22px; }
.value-card__deva {
  font-family: var(--font-deva);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--maroon);
  line-height: 1.3;
  margin-bottom: .1rem;
}
.value-card__roman {
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .7rem;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.value-card p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* The Mission and Vision cards carry several paragraphs rather than the one
   line the Values cards hold, so they opt into normal prose spacing. */
.value-card--prose p { margin-bottom: 1em; }
.value-card--prose p:last-child { margin-bottom: 0; }
.value-card__title { font-size: 1.5rem; margin-bottom: .8rem; }
.value-card--prose .value-card__lead-in { margin-bottom: .7rem; }
.value-card--prose .checklist { margin-bottom: 1.2rem; }

/* The three lines of the vision, set off as a quotation. */
.value-card__quote {
  border-left: 3px solid var(--gold);
  padding-left: 1.1rem;
  color: var(--ink);
  font-style: italic;
}

/* Closes the Mission and Vision pair. It sits under both cards rather than
   inside either, which keeps the two the same length and lets the last line
   land as a statement about the foundation as a whole. */
.mission-close {
  max-width: 66ch;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  text-align: center;
}
.mission-close p { color: var(--ink-soft); margin-bottom: 1em; }
.mission-close__line {
  margin-bottom: 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--sand-dark);
  color: var(--maroon);
  font-size: 1.05rem;
  font-weight: 600;
}

/* --------------------------------------------------------------- 10. Split */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 767px) {
  .split--reverse > :first-child { order: 0; }
}

.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.split__media--framed::before {
  content: '';
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* --------------------------------------------------------------- 11. Impact */

.impact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: 1px;
  background: var(--sand);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
}
.impact__item { background: var(--white); padding: 1.9rem 1.2rem; text-align: center; }
.section--tint .impact__item { background: var(--cream); }
.impact__value {
  display: block;
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--maroon);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.impact__label {
  display: block;
  margin-top: .45rem;
  font-size: .88rem;
  color: var(--ink-soft);
}
.impact__deva { display: block; font-family: var(--font-deva); font-size: .82rem; color: var(--ink-mute); margin-top: .1rem; }
.impact-note { margin-top: 1.1rem; font-size: .84rem; color: var(--ink-mute); text-align: center; }

/* --------------------------------------------------------------- 12. Quote */

.quote-band {
  position: relative;
  background: var(--maroon);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.quote-band::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Very light woven texture — subtle, not decorative clutter. */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(252,177,26,.10) 0, transparent 45%),
    radial-gradient(circle at 82% 70%, rgba(252,177,26,.08) 0, transparent 42%);
  pointer-events: none;
}
.quote-band .wrap { position: relative; }
.quote-band blockquote { margin: 0; }
.quote-band__deva {
  font-family: var(--font-deva);
  font-size: clamp(1.35rem, 3.4vw, 2.1rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--amber);
  margin-bottom: 1rem;
}
.quote-band__en {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, .92);
  max-width: 62ch;
  margin-inline: auto;
}
.quote-band cite {
  display: block;
  margin-top: 1.3rem;
  font-size: .85rem;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(252, 177, 26, .85);
}
.quote-rule {
  width: 54px; height: 2px;
  margin: 0 auto 1.8rem;
  background: rgba(252, 177, 26, .55);
}

/* --------------------------------------------------------------- 13. Gallery */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
  justify-content: center;
}
.gallery-filters button {
  padding: .5rem 1.15rem;
  min-height: 42px;
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: 999px;
  font: inherit;
  font-size: .89rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.gallery-filters button:hover { border-color: var(--saffron); color: var(--maroon); }
.gallery-filters button[aria-pressed='true'] {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  aspect-ratio: 4 / 3;
  background: var(--sand);
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(41,37,36,.42), transparent 55%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-item[hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(28, 25, 23, .93);
}
.lightbox.is-open { display: flex; }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; text-align: center; }
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox__figure figcaption {
  margin-top: .9rem;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 1.1rem; right: 1.1rem; }
.lightbox__prev  { left: 1.1rem;  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 1.1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) {
  .lightbox__prev { left: .6rem; }
  .lightbox__next { right: .6rem; }
}

/* --------------------------------------------------------------- 14. Forms */

.form-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}

.form-grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.form-grid > * { min-width: 0; }
.field--full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label {
  font-size: .89rem;
  font-weight: 500;
  color: var(--ink);
}
.field .req { color: var(--danger); margin-left: .15rem; }
.field .hint { font-size: .82rem; color: var(--ink-mute); }

.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field input[type='number'],
.field select,
.field textarea {
  width: 100%;
  padding: .78rem .95rem;
  min-height: 48px;
  background: var(--cream);
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;                 /* 16px prevents iOS zoom-on-focus */
  color: var(--ink);
  transition: border-color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.65; }

.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gold); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, .16);
}
.field input[aria-invalid='true'],
.field select[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: var(--danger);
  background: var(--danger-tint);
}

.field select {
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2378716c' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
}

.field-error {
  margin: 0;
  font-size: .84rem;
  font-weight: 500;
  color: var(--danger);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.7rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sand);
}
.form-foot p { margin: 0; font-size: .84rem; color: var(--ink-mute); }

.alert {
  display: flex;
  gap: .75rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1.6rem;
  border: 1px solid;
  border-radius: var(--radius-sm);
  font-size: .95rem;
}
.alert p { margin: 0; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert--success { background: var(--success-tint); border-color: #bbe6cb; color: #14532d; }
.alert--error   { background: var(--danger-tint);  border-color: #f2c4c4; color: #7f1d1d; }
.alert--info    { background: var(--saffron-tint); border-color: #f6dcb4; color: #78350f; }

/* --------------------------------------------------------------- 15. Donate */

.donate-layout {
  display: grid;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 900px) {
  /* minmax(0, 1fr), not 1fr: a bare 1fr track is floored at min-content, and a
     <select> is as wide as its longest option, which pushed the card past the
     viewport at 320px. */
  .donate-layout { grid-template-columns: minmax(0, 1fr); }
}

.donate-step { margin-bottom: 2.2rem; }
.donate-step:last-of-type { margin-bottom: 0; }
.donate-step__head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.15rem; }
.donate-step__num {
  width: 30px; height: 30px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
}
.donate-step__head h2 { margin: 0; font-size: 1.15rem; }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(112px, 100%), 1fr));
  gap: .7rem;
}
.amount-option { position: relative; }
.amount-option input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.amount-option span {
  display: grid;
  place-items: center;
  min-height: 56px;
  padding: .6rem .5rem;
  background: var(--cream);
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  transition: all .18s var(--ease);
}
.amount-option input:hover + span { border-color: var(--gold); }
.amount-option input:checked + span {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
}
.amount-option input:focus-visible + span {
  outline: 3px solid var(--saffron);
  outline-offset: 2px;
}

.custom-amount { margin-top: .9rem; }
.amount-input-wrap { position: relative; }
.amount-input-wrap .rupee {
  position: absolute;
  left: .95rem; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-mute);
  font-size: 1.05rem;
  pointer-events: none;
}
.amount-input-wrap input { padding-left: 2.2rem; }

.purpose-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.purpose-option { position: relative; }
.purpose-option input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.purpose-option span {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 52px;
  padding: .7rem 1rem;
  background: var(--cream);
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  font-size: .94rem;
  transition: all .18s var(--ease);
}
.purpose-option span::before {
  content: '';
  width: 16px; height: 16px;
  flex: none;
  border: 2px solid var(--sand-dark);
  border-radius: 50%;
  transition: all .18s var(--ease);
}
.purpose-option input:checked + span { border-color: var(--maroon); background: var(--maroon-tint); }
.purpose-option input:checked + span::before { border-color: var(--maroon); border-width: 5px; }
.purpose-option input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }

.donate-aside {
  position: sticky;
  top: 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);   /* never floor the track at min-content */
  gap: 1.1rem;
}
.donate-aside > * { min-width: 0; }
@media (max-width: 900px) { .donate-aside { position: static; } }

.summary-card {
  background: var(--maroon);
  color: rgba(255, 255, 255, .9);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
}
.summary-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 1.1rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: .93rem;
}
.summary-row:last-of-type { border-bottom: 0; }
.summary-row dt { color: rgba(255, 255, 255, .7); margin: 0; }
.summary-row dd { margin: 0; font-weight: 500; color: var(--white); text-align: right; }
.summary-total { margin-top: .9rem; padding-top: 1rem; border-top: 2px solid rgba(252, 177, 26, .45); }
.summary-total dd { font-size: 1.45rem; font-weight: 600; color: var(--amber); }

.trust-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.trust-card h4 { font-size: .95rem; margin-bottom: .8rem; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.trust-list li {
  display: flex;
  gap: .6rem;
  margin: 0;
  min-width: 0;
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
/* Email addresses and payment ids are long unbreakable tokens. */
.trust-list a, .trust-list span, .info-tile a, .receipt dd { overflow-wrap: anywhere; }
.trust-list svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--success); }

.mode-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--saffron-tint);
  border: 1px solid #f6dcb4;
  color: #78350f;
  font-size: .78rem;
  font-weight: 600;
}

/* Donation result page */
.result {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.result__icon {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  margin: 0 auto 1.6rem;
  border-radius: 50%;
}
.result__icon svg { width: 36px; height: 36px; }
.result__icon--ok   { background: var(--success-tint); color: var(--success); }
.result__icon--fail { background: var(--danger-tint);  color: var(--danger); }

.receipt {
  margin: 2.2rem 0;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
}
.receipt dl { margin: 0; display: grid; grid-template-columns: minmax(min(120px, 35%), auto) 1fr; }
.receipt dt, .receipt dd {
  margin: 0;
  padding: .85rem 1.2rem;
  border-bottom: 1px solid var(--sand);
  font-size: .93rem;
}
.receipt dt { color: var(--ink-mute); background: var(--cream-alt); }
.receipt dd { font-weight: 500; word-break: break-word; }
.receipt dl > :nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 480px) {
  .receipt dl { grid-template-columns: 1fr; }
  .receipt dt { border-bottom: 0; padding-bottom: 0; background: var(--white); }
  .receipt dd { padding-top: .25rem; }
}

/* ------------------------------------------- 16. Testimonials & volunteers */

.testimonial-grid { align-items: stretch; }

.tcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .28s var(--ease), transform .28s var(--ease);
}
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* All three card types open with a block of the same proportions, so a row of
   mixed video / audio / photo testimonials still reads as one row. */
.tcard__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--sand);
  overflow: hidden;
}
.tcard__media--photo img { width: 100%; height: 100%; object-fit: cover; }

.tcard__media--video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #1c1917;
}

.tcard__media--audio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  padding: 1.2rem;
  background: linear-gradient(160deg, var(--saffron-tint), var(--cream-alt));
}
.tcard__audio-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  flex: none;
}
.tcard__media--audio audio {
  width: 100%;
  max-width: 260px;
  height: 38px;
}

.tcard__medialabel {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  padding: .55rem 1.5rem 0;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--saffron-dark);
}
.tcard__medialabel svg { width: 14px; height: 14px; flex: none; }

.tcard__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin: 0;
  padding: 1.35rem 1.5rem 1.6rem;
}

.tcard__quote {
  position: relative;
  margin: 0 0 1.3rem;
  padding-top: 1.6rem;
  font-size: .97rem;
  line-height: 1.72;
  color: var(--ink-soft);
}
/* A quiet quote mark rather than a decorative graphic. */
.tcard__quote::before {
  content: 201C;
  position: absolute;
  top: -.35rem;
  left: -.1rem;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--gold);
  opacity: .45;
}

.tcard__person {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--sand);
}
.tcard__avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.tcard__meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.tcard__name {
  font-style: normal;
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink);
}
.tcard__role { font-size: .84rem; color: var(--ink-mute); }

/* --- volunteers --- */

/* Capped at three columns and centred: six volunteers then fill two even rows
   instead of leaving an orphan row of two on a wide screen. */
.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 1020px;
  margin-inline: auto;
}
.volunteer-grid > * { min-width: 0; }

.vcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.9rem 1.3rem 1.7rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.vcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--sand-dark);
}

.vcard__photo {
  width: 96px;
  height: 96px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream-alt);
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--sand);
}

.vcard__name { margin: 0 0 .15rem; font-size: 1.04rem; }
.vcard__role {
  margin: 0 0 .5rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--saffron-dark);
}
.vcard__centre {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: 0 0 .85rem;
  font-size: .85rem;
  color: var(--ink-mute);
}
.vcard__centre svg { width: 14px; height: 14px; flex: none; color: var(--gold); }
.vcard__note { margin: 0; font-size: .9rem; line-height: 1.65; color: var(--ink-soft); }

.volunteer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.6rem;
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  padding: 1.5rem 1.7rem;
  background: var(--cream-alt);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  text-align: center;
}
.volunteer-cta p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.volunteer-cta .btn { flex: none; }

/* --------------------------------------------------------------- 17. Misc */

.cta-band {
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-dark) 100%);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, .93); max-width: 58ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }
.cta-band .btn--outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.cta-band .btn--outline:hover { background: var(--white); color: var(--saffron-dark); border-color: var(--white); }

.info-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(215px, 100%), 1fr)); }
.info-tile {
  display: flex;
  gap: .9rem;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
}
.info-tile__icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--maroon-tint);
  color: var(--maroon);
}
.info-tile__icon svg { width: 19px; height: 19px; }
.info-tile h3 { font-size: .93rem; margin-bottom: .2rem; }
.info-tile p, .info-tile a { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.info-tile a { text-decoration: none; word-break: break-word; }
.info-tile a:hover { color: var(--maroon); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .75rem; margin: 0; color: var(--ink-soft); }
.checklist svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--saffron); }

.timeline { list-style: none; margin: 0; padding: 0 0 0 1.9rem; border-left: 2px solid var(--sand-dark); }
.timeline li { position: relative; margin: 0 0 1.7rem; }
.timeline li:last-child { margin-bottom: 0; }
.timeline li::before {
  content: '';
  position: absolute;
  left: calc(-1.9rem - 7px);
  top: .45rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--saffron);
  border: 2px solid var(--cream);
}
.timeline h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Long-form legal / policy pages */
.prose h2 { margin-top: 2.6rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.9rem; font-size: 1.13rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose .meta { font-size: .88rem; color: var(--ink-mute); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: .93rem; }
.table-wrap th, .table-wrap td { padding: .8rem 1rem; border: 1px solid var(--sand); text-align: left; }
.table-wrap th { background: var(--cream-alt); font-weight: 600; }

/* --------------------------------------------------------------- 18. Footer */

.site-footer {
  background: #1c1917;
  color: rgba(255, 255, 255, .68);
  font-size: .93rem;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.site-footer h3 {
  color: var(--white);
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}
.footer-grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  padding-bottom: 2.8rem;
}
/* Grid items default to min-width:auto, so a long email address would widen
   its track and push the whole page sideways. */
.footer-grid > * { min-width: 0; }
.site-footer a,
.footer-contact span,
.footer-brand span { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.9rem; }
}
.footer-brand { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; text-decoration: none; }
.footer-brand img { width: 34px; height: 57px; object-fit: contain; }
.footer-brand span { color: var(--white); font-weight: 600; font-size: 1.02rem; }
.site-footer p { color: rgba(255, 255, 255, .62); line-height: 1.7; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .65rem; }
.site-footer a { color: rgba(255, 255, 255, .68); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer .social-row a:hover { background: rgba(255, 255, 255, .12); }

.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 5px; color: var(--saffron); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.5rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .86rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; }
.footer-bottom li { margin: 0; }

/* --------------------------------------------------------------- 19. Motion */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .tcard:hover, .vcard:hover { transform: none; }
  .card:hover .card__media img, .gallery-item:hover img { transform: none; }
}

/* --------------------------------------------------------------- 20. Print */

@media print {
  .topbar, .site-header, .site-footer, .cta-band, .btn, .lightbox, .gallery-filters,
  .tcard__media--video, .tcard__media--audio, .tcard__medialabel { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section { padding-block: 1rem; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: .85em; word-break: break-all; }
  .receipt { border: 1px solid #999; }
}
