/* ==========================================================================
   Harit Chetna Foundation — shared stylesheet
   Light theme. Two pillars: Harit (green / Environment), Chetna (blue / Education).
   Design tokens live in :root so a future CMS theme can override in one place.
   ========================================================================== */

:root {
  /* Brand colours */
  --harit-green: #1F7A4D;
  --harit-green-tint: #E8F4EC;
  --harit-green-dark: #15583710;
  --chetna-blue: #1E4E8C;
  --chetna-blue-tint: #E9EFF9;
  --accent: #F2A93B;          /* marigold */
  --accent-dark: #D98D1E;
  --paper: #FBF9F3;           /* warm off-white background */
  --ink: #1B241E;             /* near-black text */
  --ink-soft: #4a534d;
  --line: #e6e2d6;            /* hairline border on paper */
  --band: #16241c;            /* dark band (stats / footer) */
  --band-soft: #223a2e;
  --white: #ffffff;

  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-script: "Dancing Script", cursive;
  --font-deva: "Noto Sans Devanagari", var(--font-body);

  /* Scale & chrome */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(27,36,30,.06), 0 2px 8px rgba(27,36,30,.05);
  --shadow-md: 0 6px 22px rgba(27,36,30,.10);
  --shadow-lg: 0 16px 40px rgba(27,36,30,.16);
  --header-h: 118px;
}

/* ------- Reset / base ------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--chetna-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ------- Layout helpers ------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section-head { max-width: 720px; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--harit-green); margin: 0 0 .6rem; }
.eyebrow.blue { color: var(--chetna-blue); }
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.grid { display: grid; gap: 1.4rem; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }

/* ------- Wordmark (HARIT green / CHETNA blue / FOUNDATION black) ------- */
.wordmark { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.wm-harit { color: var(--harit-green); }
.wm-chetna { color: var(--chetna-blue); }
.wm-found { color: var(--ink); }

/* ------- Tagline — cursive, Title Case, ISOLATED from any uppercase rule ------- */
.tagline {
  font-family: var(--font-script) !important;
  text-transform: none !important;   /* never inherit uppercase from tags/eyebrows */
  letter-spacing: 0 !important;
  font-weight: 600;
  color: var(--harit-green);
  line-height: 1.1;
}
.tagline .amp { color: var(--accent); }

/* ------- Pills / tags (UPPERCASE by design) ------- */
.pill {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-display); font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  font-size: .68rem; padding: .32em .7em; border-radius: 999px;
  border: 1px solid transparent; white-space: nowrap;
}
.pill::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; opacity: .9; }
.pill-env { color: var(--harit-green); background: var(--harit-green-tint); border-color: #cfe6d8; }
.pill-edu { color: var(--chetna-blue); background: var(--chetna-blue-tint); border-color: #d3e0f2; }
.pill-video { color: var(--accent-dark); background: #fbeecf; border-color: #f0dca6; }

/* ------- Buttons ------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  padding: .72em 1.35em; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-donate { --btn-bg: var(--accent); --btn-fg: #3a2a06; }
.btn-donate:hover { --btn-bg: var(--accent-dark); }

/* Attention "blink" on the persistent header Donate button.
   A soft glow + brightness pulse (not a harsh strobe — safe for photosensitivity).
   Pauses on hover/focus, and stops entirely for reduced-motion users. */
@keyframes donate-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 169, 59, .7);  filter: brightness(1); }
  50%      { box-shadow: 0 0 0 12px rgba(242, 169, 59, 0); filter: brightness(1.12); }
}
.header-donate, .main-nav .mobile-donate { animation: donate-pulse 1.4s ease-in-out infinite; }
.header-donate:hover, .header-donate:focus-visible,
.main-nav .mobile-donate:hover, .main-nav .mobile-donate:focus-visible { animation-play-state: paused; }
.btn-volunteer { --btn-bg: var(--harit-green); --btn-fg: #fff; }
.btn-blue { --btn-bg: var(--chetna-blue); --btn-fg: #fff; }
.btn-outline { background: transparent; border-color: var(--harit-green); color: var(--harit-green); }
.btn-outline:hover { background: var(--harit-green); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-lg { font-size: 1.05rem; padding: .85em 1.7em; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.textlink { font-family: var(--font-display); font-weight: 500; color: var(--harit-green); display: inline-flex; align-items: center; gap: .35em; }
.textlink.blue { color: var(--chetna-blue); }
.textlink::after { content: "\2192"; transition: transform .15s ease; }
.textlink:hover { text-decoration: none; }
.textlink:hover::after { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
/* NOTE: no backdrop-filter here — it would create a containing block that traps the
   position:fixed mobile menu (a child of the header) inside the header bar. */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(251,249,243,.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand__logo { height: 56px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.35rem; }
.brand__tagline { font-size: 1.35rem; margin-top: .12rem; }

.nav-wrap { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; }
.main-nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.main-nav a { font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: var(--ink); padding: .5rem .62rem; border-radius: 8px; }
.main-nav a:hover { text-decoration: none; background: var(--harit-green-tint); color: var(--harit-green); }
.main-nav a.active { color: var(--harit-green); }
.main-nav a.active::after { content: ""; display: block; height: 2px; background: var(--harit-green); border-radius: 2px; margin-top: 3px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: #ffffff; padding: 0; }
/* Full-bleed hero banner — image sits on the right of a white panel, text overlaid left */
.hero__art { position: absolute; inset: 0; margin: 0; z-index: 0; }
.hero__art .hero__media-img { width: 100%; height: 100%; object-fit: contain; object-position: right center; display: block; }
.hero__art video, .hero__art iframe { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #ffffff 0 28%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, 0) 62%); }
.hero .container { position: relative; z-index: 2; min-height: clamp(430px, 40vw, 560px); display: flex; align-items: center; }
.hero__tagline { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 5.4vw, 4.2rem); color: var(--ink); line-height: 1.03; letter-spacing: -.015em; margin-bottom: 1rem; }
.hero__tagline .tag-people { color: var(--chetna-blue); }
.hero__tagline .tag-planet { color: var(--harit-green); }
.hero__intro { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--ink-soft); max-width: 440px; }
.hero__mission-note { font-family: var(--font-display); font-weight: 500; color: var(--ink); }

.hero__text { position: relative; min-width: 0; max-width: 500px; padding: 2rem 0; }
.hero__cta { margin-top: 1.9rem; }
.hero__media-badge { display: none; }
/* Hero eyebrow as a chip with a two-pillar dot (green + blue) */
.hero .eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--line); padding: .4rem .9rem; border-radius: 999px; }
.hero .eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(90deg, var(--harit-green) 0 50%, var(--chetna-blue) 50% 100%); }
/* thin notice strip under the hero (like the reference disclaimer bar) */
.hero-note { background: var(--harit-green-tint); border-top: 1px solid #cfe6d8; border-bottom: 1px solid #cfe6d8; }
.hero-note p { max-width: var(--container); margin: 0 auto; padding: .7rem 24px; text-align: center; font-size: .92rem; color: var(--harit-green); font-family: var(--font-display); font-weight: 500; }
.pillars-section { padding-top: clamp(2rem, 5vw, 3rem); }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.2rem; }
.pillar { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pillar h3 { display: flex; align-items: center; gap: .5rem; }
.pillar .pillar__sub { font-family: var(--font-display); font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.pillar ul { margin: .8rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); }
.pillar li { margin-bottom: .3rem; }
.pillar--env { background: var(--harit-green-tint); border-color: #cfe6d8; }
.pillar--env .pillar__sub, .pillar--env h3 { color: var(--harit-green); }
.pillar--edu { background: var(--chetna-blue-tint); border-color: #d3e0f2; }
.pillar--edu .pillar__sub, .pillar--edu h3 { color: var(--chetna-blue); }

/* ==========================================================================
   FEATURED WORK — four synced carousels
   ========================================================================== */
.carousels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.carousel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.carousel__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .8rem .9rem .6rem; }
.carousel__title { font-family: var(--font-display); font-weight: 700; font-size: .98rem; }
.carousel__viewport { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.carousel__track { display: flex; height: 100%; transition: transform .5s ease; }
.carousel__slide { min-width: 100%; height: 100%; }
.carousel__counter { position: absolute; right: .5rem; bottom: .5rem; background: rgba(22,36,28,.75); color: #fff; font-family: var(--font-display); font-size: .72rem; padding: .12rem .5rem; border-radius: 999px; }
.carousel__dots { display: flex; gap: .32rem; justify-content: center; padding: .7rem; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #cdd3ce; cursor: pointer; transition: .2s; }
.carousel__dots button.active { background: var(--harit-green); transform: scale(1.25); }
.carousel--edu .carousel__dots button.active { background: var(--chetna-blue); }

/* ==========================================================================
   PLACEHOLDER TILES (labeled gradient — easy to swap for real media)
   ========================================================================== */
.ph { position: relative; overflow: hidden; width: 100%; height: 100%; min-height: 120px; display: flex; align-items: flex-end; padding: .7rem; color: #fff; font-family: var(--font-display); font-weight: 500; font-size: .8rem; text-shadow: 0 1px 6px rgba(0,0,0,.35); background-size: 180% 180%; animation: ph-flow 11s ease-in-out infinite; transition: transform .45s ease; }
.ph::after { content: "\1F5BC  replace image"; position: absolute; top: .55rem; left: .6rem; font-size: .62rem; font-weight: 500; letter-spacing: .04em; opacity: .85; text-transform: uppercase; }
.ph--green { background: linear-gradient(135deg, #2f9d66, #1F7A4D 60%, #15583a); }
.ph--green2 { background: linear-gradient(135deg, #6fb98f, #2f9d66 70%); }
.ph--blue { background: linear-gradient(135deg, #3a6fb5, #1E4E8C 60%, #143761); }
.ph--blue2 { background: linear-gradient(135deg, #6d97cc, #3a6fb5 70%); }
.ph--marigold { background: linear-gradient(135deg, #f7c877, #F2A93B 60%, #d98d1e); color: #3a2a06; text-shadow: none; }
.ph--wide { aspect-ratio: 16/9; min-height: 160px; }
.ph--card { aspect-ratio: 3/2; }
.ph--hero { aspect-ratio: 16/10; border-radius: var(--radius); }
.ph-video::before { content: "\25B6"; position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.9); color: var(--ink); border-radius: 50%; font-size: 1.1rem; z-index: 3; }

/* ---- Animated, "filled" placeholder tiles ---- */
@keyframes ph-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes ph-float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.05); } }
@keyframes ph-sheen { 0% { transform: translateX(-160%) skewX(-18deg); } 55%, 100% { transform: translateX(360%) skewX(-18deg); } }
.ph__icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(2.3rem, 7vw, 3.7rem); line-height: 1; opacity: .92; filter: drop-shadow(0 3px 7px rgba(0,0,0,.28)); animation: ph-float 5.5s ease-in-out infinite; pointer-events: none; z-index: 1; }
.ph:not(.ph-video)::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.30), transparent); animation: ph-sheen 5s ease-in-out infinite; pointer-events: none; z-index: 2; }

/* ---- Image hover zoom (real photos + placeholders) ---- */
.card__media { overflow: hidden; }
.card__media img, .gallery-item img, .team-card .headshot img { transition: transform .45s ease; display: block; }
.card:hover .card__media img, .card:hover .card__media .ph,
.gallery-item:hover img, .gallery-item:hover .ph,
.team-card:hover .headshot img { transform: scale(1.06); }

/* ==========================================================================
   IMPACT STATS BAND (dark)
   ========================================================================== */
.stats-band { background: var(--band); color: #eaf3ee; }
.stats-band .container { padding-block: clamp(2.4rem, 5vw, 3.4rem); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.3rem); line-height: 1; }
.stat__num.green { color: #6fd39b; }
.stat__num.blue { color: #7fb0ec; }
.stat__label { font-family: var(--font-display); font-weight: 500; font-size: .9rem; letter-spacing: .02em; margin-top: .4rem; color: #cdd8d1; }
.stats-note { text-align: center; margin-top: 1.6rem; font-size: .92rem; }
.stats-note a { color: var(--accent); }

/* ==========================================================================
   GENERIC CARDS / GRIDS
   ========================================================================== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { position: relative; }
.card__body { padding: 1.1rem 1.15rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__meta { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--ink-soft); }
.card__title { margin: 0; font-size: 1.15rem; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--harit-green); text-decoration: none; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.card__footer { margin-top: auto; padding-top: .4rem; }

/* Info / value cards (Mission-Vision-History, tiers, etc.) */
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.6rem; }
.info-card .icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: .8rem; }
.info-card.env .icon { background: var(--harit-green-tint); color: var(--harit-green); }
.info-card.edu .icon { background: var(--chetna-blue-tint); color: var(--chetna-blue); }
.info-card.amber .icon { background: #fbeecf; color: var(--accent-dark); }

/* ==========================================================================
   GET INVOLVED teaser
   ========================================================================== */
.involve-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.involve-card { border-radius: var(--radius); padding: 2rem; color: #fff; position: relative; overflow: hidden; }
.involve-card h3 { color: #fff; }
.involve-card--vol { background: linear-gradient(135deg, #2a8f5d, var(--harit-green)); }
.involve-card--don { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #3a2a06; }
.involve-card--don h3 { color: #3a2a06; }
.involve-card p { opacity: .95; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.quote { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--harit-green); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.quote:nth-child(2) { border-left-color: var(--chetna-blue); }
.quote blockquote { margin: 0 0 1rem; font-size: 1.08rem; }
.quote__who { display: flex; align-items: center; gap: .7rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-display); font-weight: 700; }
.avatar--green { background: var(--harit-green); }
.avatar--blue { background: var(--chetna-blue); }
.quote__name { font-family: var(--font-display); font-weight: 500; }
.quote__role { font-size: .85rem; color: var(--ink-soft); }

/* ==========================================================================
   GOVERNING BODY
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.4rem; text-align: center; }
.team-card .headshot { width: 100%; max-width: 240px; aspect-ratio: 1 / 1; margin: 0 auto 1rem; border-radius: 25px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: #fff; }
.team-card .headshot img { width: 100%; height: 100%; object-fit: cover; }
.team-card .role { font-family: var(--font-display); font-weight: 500; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--harit-green); }
.team-card .role .hi { font-family: var(--font-deva); text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.team-card h3 { margin: .2rem 0 .4rem; font-size: 1.2rem; }
.team-card p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-note { background: #fff8e8; border: 1px solid #f0dca6; color: #7a5b12; border-radius: var(--radius-sm); padding: .7rem 1rem; font-size: .88rem; display: flex; gap: .5rem; align-items: flex-start; margin-bottom: 1.4rem; }
.form-note b { font-weight: 600; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: .88rem; }
.field label .req { color: #b3261e; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .8rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--harit-green); box-shadow: 0 0 0 3px rgba(31,122,77,.15); }
.field textarea { min-height: 130px; resize: vertical; }

/* ==========================================================================
   DONATION TIERS
   ========================================================================== */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; transition: transform .18s ease, box-shadow .18s ease; }
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.tier__amount { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--ink); }
.tier__amount span { font-size: .95rem; color: var(--ink-soft); font-weight: 500; }
.tier__desc { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.tier--featured { border: 2px solid var(--accent); }
.tier--featured .tier__amount { color: var(--accent-dark); }
.tax-note { background: var(--harit-green-tint); border: 1px solid #cfe6d8; border-radius: var(--radius); padding: 1.1rem 1.3rem; color: #1a5c3a; margin-top: 1.6rem; font-size: .95rem; }

/* Donate CTA panel */
.donate-panel { background: linear-gradient(135deg, var(--band), var(--band-soft)); color: #eaf3ee; border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 2.8rem); text-align: center; }
.donate-panel h2 { color: #fff; }
.donate-panel .btn-row { justify-content: center; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filter-tabs button { font-family: var(--font-display); font-weight: 500; font-size: .9rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: .15s; }
.filter-tabs button:hover { border-color: var(--harit-green); }
.filter-tabs button.active { background: var(--harit-green); border-color: var(--harit-green); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; }
.gallery-item .pill { position: absolute; top: .6rem; left: .6rem; z-index: 2; }
.is-hidden { display: none !important; }

/* ==========================================================================
   PAGE HEADER (inner pages)
   ========================================================================== */
.page-hero { background: linear-gradient(180deg, var(--harit-green-tint), transparent); border-bottom: 1px solid var(--line); padding: clamp(2.2rem,5vw,3.4rem) 0; }
.page-hero .breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: .5rem; }
.page-hero h1 { margin-bottom: .4rem; }
.page-hero p { max-width: 680px; color: var(--ink-soft); margin: 0; font-size: 1.08rem; }

/* ==========================================================================
   NEWS
   ========================================================================== */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.news-card { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--harit-green); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.3rem; }
.news-card.edu { border-left-color: var(--chetna-blue); }
.news-card .date { font-family: var(--font-display); font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.news-card h3 { margin: .3rem 0 .5rem; font-size: 1.15rem; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.article { max-width: 760px; margin-inline: auto; }
.article__meta { display: flex; align-items: center; gap: .7rem; font-size: .85rem; color: var(--ink-soft); margin: 1.2rem 0 .4rem; }
.article__byline { display: flex; align-items: center; gap: .7rem; margin: 1.2rem 0 1.8rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.article__byline .who strong { font-family: var(--font-display); }
.article__body { font-size: 1.08rem; }
.article__body h2 { margin-top: 2rem; }
.article__body p { margin-bottom: 1.2rem; }
.article__body blockquote { margin: 1.6rem 0; padding: .4rem 0 .4rem 1.4rem; border-left: 4px solid var(--accent); font-size: 1.2rem; font-style: italic; color: var(--ink); }
.article__hero { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); }

/* CMS-driven homepage banner */
.site-banner { background: var(--accent); color: #3a2a06; border-radius: var(--radius-sm); padding: .75rem 1.1rem; font-size: .95rem; margin-bottom: 1.2rem; }
.site-banner a { color: #3a2a06; font-weight: 600; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--band); color: #c9d5cd; margin-top: 2rem; }
.site-footer .container { padding-block: clamp(2.6rem, 5vw, 3.6rem); padding-bottom: 88px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; }
/* White rounded backing card — the logo is transparent, so it needs this on dark surfaces */
.footer-logo-card { background: #fff; border-radius: 14px; padding: .9rem 1.1rem; display: inline-flex; box-shadow: var(--shadow-sm); margin-bottom: 1rem; }
.footer-logo { width: 132px; height: auto; display: block; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .9rem; }
.site-footer a { color: #c9d5cd; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.footer-contact { font-size: .95rem; font-style: normal; line-height: 1.7; }
.footer-contact a { color: #eaf3ee; }
.news-signup input { width: 100%; padding: .7rem .8rem; border-radius: 10px 10px 0 0; border: 1px solid #33463b; background: #1f3329; color: #fff; }
.news-signup input::placeholder { color: #8ba398; }
.news-signup .btn { border-radius: 0 0 10px 10px; width: 100%; }
.footer-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.footer-badge { font-family: var(--font-display); font-weight: 500; font-size: .7rem; letter-spacing: .04em; border: 1px solid #33463b; border-radius: 8px; padding: .3rem .55rem; color: #b9c9bf; }

/* ---- Social icons ---- */
.social-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; }
.social-links a {
  width: 40px; height: 40px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #1f3329; border: 1px solid #33463b; color: #c9d5cd;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.social-links a:hover, .social-links a:focus-visible { transform: translateY(-3px); color: #fff; text-decoration: none; }
.social-links svg { width: 19px; height: 19px; fill: currentColor; }
.social-links a.ig:hover { background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); border-color: transparent; }
.social-links a.fb:hover { background: #1877F2; border-color: transparent; }
.social-links a.x:hover  { background: #000000; border-color: #4a4a4a; }
.social-links a.li:hover { background: #0A66C2; border-color: transparent; }
.social-links a.yt:hover { background: #FF0000; border-color: transparent; }

/* ---- Admin login link ---- */
.admin-link { font-family: var(--font-display); font-weight: 500; opacity: .75; }
.admin-link:hover { opacity: 1; }

/* ==========================================================================
   FLOATING CONNECT WIDGET  (bot + WhatsApp + Donate-via-QR)
   ========================================================================== */
.hcf-connect { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; }

/* Launcher */
.hcf-fab { display: inline-flex; align-items: center; gap: .55rem; background: #25D366; color: #fff; border: none; cursor: pointer;
  padding: .6rem .6rem; border-radius: 999px; box-shadow: var(--shadow-lg); font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease; }
.hcf-fab:hover { transform: translateY(-2px); }
.hcf-fab .hcf-fab__icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; }
.hcf-fab svg { width: 24px; height: 24px; fill: #fff; }
.hcf-fab__label { padding-right: .6rem; white-space: nowrap; }
.hcf-fab .hcf-pulse { position: absolute; }
.hcf-fab::after { content: ""; position: absolute; right: 12px; top: 6px; width: 12px; height: 12px; background: var(--accent); border: 2px solid #fff; border-radius: 50%; }

/* Panel */
.hcf-panel { width: min(92vw, 340px); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
  transform-origin: bottom right; transition: opacity .18s ease, transform .18s ease; }
.hcf-panel[hidden] { display: none; }
.hcf-connect.closed .hcf-panel { opacity: 0; transform: scale(.9); pointer-events: none; }
.hcf-panel__head { background: linear-gradient(135deg, #2a8f5d, var(--harit-green)); color: #fff; padding: 1rem 1.1rem; display: flex; align-items: center; gap: .7rem; }
.hcf-panel__head .hcf-ava { width: 42px; height: 42px; border-radius: 50%; background: #fff; padding: 4px; flex-shrink: 0; }
.hcf-panel__head h4 { color: #fff; margin: 0; font-size: 1rem; }
.hcf-panel__head p { margin: 0; font-size: .78rem; opacity: .9; display: flex; align-items: center; gap: .35rem; }
.hcf-panel__head p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9cffc4; }
.hcf-panel__close { margin-left: auto; background: rgba(255,255,255,.2); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.hcf-panel__body { padding: 1rem; max-height: 46vh; overflow-y: auto; }
.hcf-msg { background: var(--white); border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: .6rem .8rem; font-size: .9rem; margin-bottom: .7rem; max-width: 90%; }
.hcf-msg--user { background: var(--harit-green-tint); border-color: #cfe6d8; margin-left: auto; border-radius: 14px 4px 14px 14px; }
.hcf-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.hcf-chip { font-family: var(--font-display); font-weight: 500; font-size: .82rem; background: var(--white); border: 1px solid var(--harit-green); color: var(--harit-green); border-radius: 999px; padding: .35rem .7rem; cursor: pointer; transition: .15s; }
.hcf-chip:hover { background: var(--harit-green); color: #fff; }
.hcf-msg .hcf-chips { margin-top: .5rem; }

/* compose bar (typed questions) */
.hcf-compose { display: flex; gap: .5rem; padding: .6rem .8rem; border-top: 1px solid var(--line); background: var(--white); }
.hcf-compose input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: .55rem .9rem; font: inherit; font-size: .9rem; background: var(--paper); }
.hcf-compose input:focus { outline: none; border-color: var(--harit-green); box-shadow: 0 0 0 3px rgba(31,122,77,.14); }
.hcf-send { flex: 0 0 auto; width: 40px; height: 40px; border: none; border-radius: 50%; background: var(--harit-green); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hcf-send svg { width: 18px; height: 18px; fill: #fff; }
.hcf-send:hover { background: #196540; }

/* typing indicator */
.hcf-typing { display: inline-flex; gap: 4px; align-items: center; }
.hcf-typing span { width: 7px; height: 7px; border-radius: 50%; background: #b8c2bb; display: inline-block; animation: hcf-blink 1s infinite; }
.hcf-typing span:nth-child(2) { animation-delay: .2s; }
.hcf-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes hcf-blink { 0%,80%,100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.hcf-panel__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .8rem 1rem 1rem; border-top: 1px solid var(--line); background: var(--paper); }
.hcf-act { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font-family: var(--font-display); font-weight: 500; font-size: .85rem; padding: .6rem .5rem; border-radius: 10px; border: none; cursor: pointer; text-decoration: none; }
.hcf-act svg { width: 18px; height: 18px; }
.hcf-act--wa { background: #25D366; color: #fff; } .hcf-act--wa svg { fill: #fff; }
.hcf-act--wa:hover { background: #1eb457; text-decoration: none; }
.hcf-act--qr { background: var(--accent); color: #3a2a06; } .hcf-act--qr svg { fill: #3a2a06; }
.hcf-act--qr:hover { background: var(--accent-dark); text-decoration: none; }

/* QR modal */
.hcf-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1.2rem; background: rgba(22,36,28,.55); }
.hcf-modal[hidden] { display: none; }
.hcf-modal__card { background: #fff; border-radius: 18px; max-width: 340px; width: 100%; padding: 1.6rem; text-align: center; box-shadow: var(--shadow-lg); position: relative; }
.hcf-modal__close { position: absolute; top: .7rem; right: .7rem; background: var(--paper); border: 1px solid var(--line); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.hcf-modal__card h3 { margin: 0 0 .3rem; }
.hcf-modal__card .hcf-qr { width: 210px; height: 210px; margin: .9rem auto; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #fff; }
.hcf-upi { font-family: var(--font-display); font-weight: 500; background: var(--harit-green-tint); color: #1a5c3a; border-radius: 8px; padding: .4rem .7rem; display: inline-block; margin-bottom: .3rem; }
.hcf-modal__note { font-size: .82rem; color: var(--ink-soft); margin: .3rem 0 1rem; }

@media (max-width: 560px) {
  .hcf-connect { left: 12px; right: 12px; bottom: 12px; align-items: stretch; }
  .hcf-fab { align-self: flex-end; padding: .5rem; }
  .hcf-fab__label { display: none; }
  .hcf-panel { width: auto; max-width: none; }
  .hcf-panel__body { max-height: 46vh; }
  .hcf-panel__actions { grid-template-columns: 1fr 1fr; }
}
.footer-bottom { border-top: 1px solid #26382d; margin-top: 2rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .85rem; }

/* Embedded Google Form (volunteer registration) */
.gform-embed { width: 100%; min-height: 760px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: block; }
.form-fallback { margin-top: .7rem; font-size: .9rem; color: var(--ink-soft); }
.form-card--cta { display: flex; flex-direction: column; justify-content: center; }
.cta-steps { list-style: none; margin: .2rem 0 0; padding: 0; }
.cta-steps li { position: relative; padding-left: 1.7rem; margin-top: .55rem; color: var(--ink-soft); }
.cta-steps li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--harit-green); font-weight: 700; }
.volunteer-cta { margin-top: 1.6rem; background: linear-gradient(135deg, var(--harit-green-tint), var(--chetna-blue-tint)); border: 1px solid #d7e6df; border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.volunteer-cta h3 { font-family: var(--font-display); font-weight: 700; margin: 0 0 .4rem; font-size: 1.3rem; color: var(--ink); }
.volunteer-cta p { margin: 0; color: var(--ink-soft); }

/* Registered volunteers — premium list */
.vol-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.vol-row { display: flex; align-items: center; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: .75rem 1.1rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.vol-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #cfe6d8; }
.vol-row__photo, .vol-avatar { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; }
.vol-row__photo { object-fit: cover; border: 2px solid var(--harit-green-tint); }
.vol-avatar { display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; }
.vol-avatar.is-env { background: var(--harit-green); }
.vol-avatar.is-edu { background: var(--chetna-blue); }
.vol-avatar.is-both { background: linear-gradient(135deg, var(--harit-green), var(--chetna-blue)); }
.vol-row__main { flex: 1 1 auto; min-width: 0; }
.vol-row__name { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.vol-row__id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; color: var(--ink-soft); letter-spacing: .03em; margin-top: .1rem; }
.vol-row__id b { color: var(--harit-green); font-weight: 700; }
.pill-both { background: linear-gradient(90deg, var(--harit-green-tint), var(--chetna-blue-tint)); color: var(--chetna-blue); }
.vol-row { cursor: pointer; }
.vol-row:focus-visible { outline: 2px solid var(--harit-green); outline-offset: 2px; }
.vol-row__go { flex: 0 0 auto; margin-left: .1rem; font-size: 1.5rem; line-height: 1; color: var(--ink-soft); opacity: .5; transition: transform .15s ease, opacity .15s ease, color .15s ease; }
.vol-row:hover .vol-row__go { opacity: 1; transform: translateX(2px); color: var(--harit-green); }
/* Volunteer profile modal */
.vol-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.vol-modal.open { display: block; }
.vol-modal__backdrop { position: absolute; inset: 0; background: rgba(22, 36, 28, .5); }
.vol-modal__card { position: relative; z-index: 1; width: min(92vw, 360px); margin: 12vh auto 0; background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 2rem 1.6rem 1.8rem; text-align: center; animation: vm-pop .18s ease; }
@keyframes vm-pop { from { transform: translateY(10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.vol-modal__close { position: absolute; top: .5rem; right: .7rem; border: 0; background: transparent; font-size: 1.7rem; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.vol-modal__photo { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: #fff; overflow: hidden; }
.vol-modal__photo img { width: 100%; height: 100%; object-fit: cover; }
.vol-modal__photo.is-env { background: var(--harit-green); }
.vol-modal__photo.is-edu { background: var(--chetna-blue); }
.vol-modal__photo.is-both { background: linear-gradient(135deg, var(--harit-green), var(--chetna-blue)); }
.vol-modal__name { margin: 0 0 .3rem; font-size: 1.45rem; }
.vol-modal__id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-soft); margin: 0 0 1rem; letter-spacing: .03em; }
.vol-modal__id b { color: var(--harit-green); }
.vol-row.is-hidden { display: none; }
.vol-more { display: flex; }
@media (max-width: 560px) { .vol-row { gap: .8rem; padding: .7rem .8rem; } .vol-row__photo, .vol-avatar { width: 48px; height: 48px; font-size: 1rem; } }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* Tablet & below: 9 nav items + long wordmark would crowd a horizontal bar,
   so switch to an off-canvas hamburger menu at 1024px. */
@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .nav-toggle { display: flex; }
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }   /* belt-and-braces: never trap the fixed menu */
  .main-nav { position: fixed; inset: var(--header-h) 0 0 auto; width: min(84vw, 340px); background: var(--paper); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .25s ease; padding: 1.3rem 1.4rem 2rem; overflow-y: auto; z-index: 58; }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; gap: .2rem; }
  .main-nav a { display: block; padding: .8rem .6rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .main-nav a.active::after { display: none; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(22,36,28,.4); opacity: 0; visibility: hidden; transition: .2s; z-index: 54; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .header-donate { display: none; }         /* Donate lives inside the mobile menu instead */
  .main-nav .mobile-donate { display: block; margin-top: 1rem; }

  .pillars, .involve-cards, .quotes, .cards-2 { grid-template-columns: 1fr; }
  .cards-3, .news-list, .blog-list, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid, .tiers { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .carousels { grid-template-columns: 1fr 1fr; }   /* 2x2 on tablet/mobile */
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand__text { display: none; }            /* keep just the logo on small screens */
  /* Hero: same side-by-side layout as desktop — text left, artwork right */
  .hero .container { min-height: clamp(330px, 86vw, 430px); align-items: center; padding: 1.3rem 0; }
  .hero__text { max-width: 50%; }
  .hero .eyebrow { font-size: .58rem; padding: .3rem .6rem; margin-bottom: .7rem; gap: .4rem; }
  .hero__tagline { font-size: clamp(1.6rem, 7.4vw, 2.1rem); line-height: 1.06; margin-bottom: .5rem; }
  .hero__intro { font-size: .8rem; }
  .hero__cta { margin-top: 1rem; }
  .hero__cta .btn { font-size: .9rem; padding: .72em 1em; }
  .hero__art { left: 52%; }
  .hero__art .hero__media-img { object-fit: contain; object-position: right center; }
  .hero::before { display: none; }
  .gform-embed { min-height: 900px; }
  .stats-grid, .tiers, .cards-3, .news-list, .blog-list, .gallery-grid, .team-grid, .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
}

/* Desktop only: hide the in-menu donate link and the backdrop */
@media (min-width: 1025px) { .main-nav .mobile-donate { display: none; } .nav-backdrop { display: none; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Illustration fills (interim placeholder images; swap for real photos) ---- */
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.gallery-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.carousel__slide img, .slide-illus { width: 100%; height: 100%; object-fit: cover; display: block; }
.teaser-illus { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); display: block; }
.map-illus { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); display: block; }
