/* Hallmark · shape: Photographic · genre: editorial · theme: solstice (by request), palette: brand from the logo · redesign: full · draw: 601662
 * paper: #FFFFFF · surface: absolute · accent: #B9460B · display: Lato Bold · body: Lato · Marathi: Mukta · hero: Poster (/), page heads with Warli panels (inner pages) · nav: masthead · footer: statement · signature: the cut-out group standing in the logo's sunlight on a green field
 * axes: light/high-contrast-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, the page argues for giving through the trust's own record rather than a claim; kept the owner's copy and let the cut-out in the sun carry the feeling */
/* Hallmark · hero: Poster, the trust's photograph widened to the left (people and calf unaltered), copy low-left on the extension · hero-review: subagent · fix · 5 findings · 5 resolved (CTA pair side by side at every width, header scrim across the full width, copy column kept on the extension, the calf lifted out of the floor fade, a square phone crop on the calf and hands) */
/* Hallmark · finish-review: subagent · fix · 8 findings · 8 resolved (repeated photos replaced, the cream statement stands without the cow, kolam kept to occasion seva, toran in the sun yellow, gift photos at 4:3 and 16rem, the donate page Warli tile removed, phone sun lowered and smaller, the Seva gap closed) · copy notes left to the owner */
/* Hallmark · waive 7b · white comes only through the --paper token, chosen by the owner after a four-way comparison · the gaushala logo is drawn on white and the cow photographs keep their true colour on it, so the page uses the logo's own white */
/* Hallmark · dropped seva.html#occasions · the owner removed the occasion seva section from the home page; occasion seva stays on the Seva page and in the main navigation */
/* Hallmark · waive 1 · two families declared, Lato and Mukta · Lato Bold carries the heads by the owner's request, one family for English across the trust's site, with Mukta for every Marathi line */
/* Hallmark · dropped donate.html?frequency=monthly · the owner removed monthly giving from the site; the checkout is one-time only */
/* Hallmark · exception 54 (owner's decision) · the Marathi lines above headings are the trust's bilingual voice, kept by request; Floor gates cannot be waived, so sloplint still counts them */
/* ---------- Base ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--green-600); }
h1, h2, h3 { font-family: var(--font-head); line-height: var(--lh-tight); margin: 0 0 var(--space-4); color: var(--green-800); font-weight: 600; }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); }
p { margin: 0 0 var(--space-4); max-width: 65ch; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--green-100); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--space-4); top: var(--space-4); z-index: 100; background: var(--white); padding: var(--space-2) var(--space-4); }
:focus-visible { outline: 3px solid var(--marigold-400); outline-offset: 2px; }

/* Section heading pattern: devanagari eyebrow → heading → lead */
.eyebrow { font-family: var(--font-deva); color: var(--saffron-700); font-size: var(--fs-md); margin-bottom: var(--space-2); display: block; }
.section-head { text-align: center; margin-bottom: var(--space-7); }
.section-head p { margin-inline: auto; color: var(--ink-600); font-size: var(--fs-md); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill); border: 2px solid transparent;
  font: 600 var(--fs-base)/var(--lh-control) var(--font-body); text-align: center; text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--donate { background: var(--donate); color: var(--white); }
.btn--donate:hover { background: var(--donate-hover); }
.btn--ghost { border-color: currentColor; color: var(--green-800); background: transparent; }
.btn--light { border-color: var(--white); color: var(--white); }
.btn--block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--paper-shade); border-color: var(--line); color: var(--ink-600); cursor: not-allowed; transform: none; }

/* ---------- Image placeholders (swap with real photos later) ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius-md);
  background: repeating-linear-gradient(45deg, var(--green-100) 0 12px, var(--ph-stripe) 12px 24px);
  aspect-ratio: 4 / 3;
}
.ph::after {
  content: attr(data-label); position: absolute; inset: auto var(--space-2) var(--space-2) auto;
  font-size: var(--fs-xs); background: var(--white); color: var(--ink-600); padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm);
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 95%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 72px; }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--green-800); }
.brand img { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; }
.brand span { font-family: var(--font-body); font-weight: 600; font-size: var(--fs-sm); line-height: var(--lh-snug); max-width: 16ch; }
.nav a { color: var(--ink-900); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--green-600); }
.header__actions { flex-shrink: 0; display: flex; align-items: center; gap: var(--space-2); }
.header .btn { min-height: 44px; padding-inline: var(--space-4); }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: var(--green-100); color: var(--green-800); cursor: pointer; }
.menu-btn .icon { width: 24px; height: 24px; }

/* Mobile: nav drops down under the header */
.nav {
  position: absolute; top: 100%; left: 0; right: 0;
  display: flex; flex-direction: column; background: var(--bg);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: var(--space-2) var(--gutter) var(--space-4);
  transition: opacity .2s, transform .2s, visibility .2s;
}
/* Closed only when the menu script can open it; without scripting the links sit in the header */
@media (max-width: 899px) { .js .nav:not(.is-open) { visibility: hidden; opacity: 0; transform: translateY(-8px); } }
@media (max-width: 899px) { html:not(.js) .menu-btn { display: none; } html:not(.js) .nav { position: static; flex-basis: 100%; } }
.nav a { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-md); }
.nav a:last-child { border-bottom: 0; }

@media (max-width: 359px) { .brand span { display: none; } }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav { position: static; flex-direction: row; gap: var(--space-5); padding: 0; background: none; border: 0; box-shadow: none; visibility: visible; opacity: 1; transform: none; }
  .nav a { padding: 0; border: 0; font-size: var(--fs-base); }
  .brand span { font-size: var(--fs-base); max-width: none; }
}

/* ---------- Donate widget ---------- */
.donate__grid { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 900px) { .donate__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.donate__why li { margin-bottom: var(--space-3); }
.card { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow); padding: var(--space-6); }
.toggle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--green-100); border-radius: var(--radius-pill); padding: var(--space-1); margin-bottom: var(--space-5); }
.toggle button { border: 0; background: transparent; min-height: 40px; border-radius: var(--radius-pill); font: 600 var(--fs-sm) var(--font-body); color: var(--green-800); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--green-800); color: var(--white); }
.amounts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3); margin-bottom: var(--space-4); }
.amount {
  text-align: left; border: 2px solid var(--line); background: var(--white); border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4); cursor: pointer; font-family: var(--font-body);
}
.amount b { display: block; font-size: var(--fs-md); color: var(--ink-900); }
.amount small { color: var(--ink-600); font-size: var(--fs-xs); line-height: var(--lh-control); display: block; }
.amount[aria-checked="true"] { border-color: var(--saffron-600); background: var(--saffron-100); }
/* align-content: start keeps label and input together when a neighbouring field in the same row grows (e.g. shows an error). */
.field { display: grid; gap: var(--space-1); margin-bottom: var(--space-3); align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field input { min-height: 48px; padding: var(--space-2) var(--space-3); border: 2px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: var(--white); }
.field input:focus-visible { border-color: var(--green-600); outline: 3px solid var(--marigold-400); outline-offset: 2px; }
.fields-2 { display: grid; gap: var(--space-3); }
@media (min-width: 600px) { .fields-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.check { display: flex; gap: var(--space-2); align-items: center; font-size: var(--fs-sm); margin-bottom: var(--space-4); }
.note { font-size: var(--fs-xs); color: var(--ink-600); text-align: center; margin: var(--space-3) auto 0; }
.form-msg { font-size: var(--fs-sm); margin-top: var(--space-3); text-align: center; }

/* ---------- About ---------- */
.split { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.split .ph { aspect-ratio: 1 / 1; }

/* ---------- Seva cards ---------- */

/* ---------- Occasions ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-bottom: var(--space-6); }
.chip { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: var(--space-2) var(--space-4); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); } }
.gallery .ph { aspect-ratio: 1 / 1; }

/* ---------- Trust ---------- */
.trust__list { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: var(--space-3); }
.trust__list li { display: flex; gap: var(--space-3); }
.trust__list b { color: var(--green-800); }
.map { aspect-ratio: 4 / 3; border: 0; width: 100%; border-radius: var(--radius-md); background: var(--green-100); }

/* ---------- Testimonials ---------- */
.quote { background: var(--white); border-radius: var(--radius-md); padding: var(--space-6); box-shadow: var(--shadow); margin: 0; }
.quote p { font-size: var(--fs-md); font-family: var(--font-head); font-style: italic; }
.quote cite { font-style: normal; font-weight: 600; color: var(--ink-600); font-size: var(--fs-sm); }

/* ---------- CTA band ---------- */
.cta { background: var(--green-800); color: var(--white); border-radius: var(--radius-md); padding: var(--space-7) var(--space-5); text-align: center; position: relative; overflow: hidden; }
.cta h2 { color: var(--white); }
.cta p { margin-inline: auto; opacity: .9; }
.cta__ctas { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-900); color: var(--footer-ink); padding-block: var(--space-8) var(--space-5); margin-top: var(--space-8); font-size: var(--fs-sm); }
.footer h3 { color: var(--white); font-family: var(--font-body); font-size: var(--fs-base); }
.footer a { color: var(--footer-ink); }
.footer__grid { display: grid; gap: var(--space-6); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.footer__bottom { border-top: 1px solid var(--footer-rule); margin-top: var(--space-7); padding-top: var(--space-4); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); }
.bank { line-height: 1.8; }

/* ---------- Floating donate (mobile) ---------- */
.float-donate {
  position: fixed; right: var(--space-4); bottom: var(--space-4); z-index: 60;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--saffron-600) 40%, transparent);
  transition: opacity .25s, transform .25s;
}
.js .float-donate:not(.is-visible) { opacity: 0; pointer-events: none; transform: translateY(16px); }
/* Ad landing page (/home) on phones: the floating Donate is full width and stays on screen once the hero is
   scrolled past (main.js). The section Donate buttons are full width too. The footer gets matching bottom space
   so the policy links are never hidden behind the floating button. */
@media (max-width: 599px) {
  .landing .float-donate { left: var(--space-4); right: var(--space-4); justify-content: center; min-height: 56px; }
  .landing :is(.hero__ctas, .donation-invitation__action, .cta__ctas) { width: 100%; justify-self: stretch; flex-wrap: wrap; }
  .landing :is(.hero__ctas, .donation-invitation__action, .cta__ctas) .btn--donate { flex: 1 1 100%; width: 100%; justify-content: center; }
  .landing .footer { padding-bottom: calc(56px + var(--space-4) * 2 + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.25em; }
.icon--sm { width: 1em; height: 1em; vertical-align: -0.15em; }
.icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.icon-list li, .trust__list li { align-items: center; }
.icon-list li { display: flex; gap: var(--space-3); }
.chip { display: inline-flex; align-items: center; gap: var(--space-2); }
.chip .icon { color: var(--saffron-700); }
.trust-line .icon { color: var(--green-600); }
.contact-line { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-2); }

/* ---------- Illustrations ---------- */
.cta { display: grid; align-items: center; gap: var(--space-5); }
.cta__art { width: 100%; max-width: 360px; margin-inline: auto; }
@media (min-width: 900px) {
  .cta { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); text-align: left; padding: var(--space-7); }
  .cta p { margin-inline: 0; }
  .cta__ctas { justify-content: flex-start; }
}
.occasion__art { width: 100%; max-width: 280px; margin: 0 auto var(--space-4); }

/* Placeholder text marker so unfinished content is easy to spot */
.todo { background: var(--todo); color: var(--ink-900); padding: 0 var(--space-1); border-radius: 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Anchor jumps land below the sticky header */
[id] { scroll-margin-top: 80px; }

/* ---------- Small-screen refinements ---------- */
@media (max-width: 599px) {
  .brand span { font-size: var(--fs-xs); max-width: 20ch; }
  .card { padding: var(--space-5) var(--space-4); }
  .amounts { gap: var(--space-2); }
  .amount { padding: var(--space-3); }
  .cta__ctas .btn { flex: 1 1 100%; }
  .section-head { margin-bottom: var(--space-6); }
  .cta { padding: var(--space-6) var(--space-4); }
  .quote { padding: var(--space-5); }
  .footer__bottom { flex-direction: column; }
}
.check input { width: 20px; height: 20px; accent-color: var(--green-800); }
.check { min-height: 44px; cursor: pointer; }

/* =====================================================================
   Editorial theme: print/letterpress feel instead of soft "app" UI.
   Rules and hairlines replace shadows; near-square corners; left-aligned
   section heads with a simple rule; headings use the shared type scale.
   ===================================================================== */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.015em; color: var(--ink-900); }
h1 { line-height: var(--lh-tight); }
h2 { line-height: var(--lh-tight); }
body { line-height: var(--lh-body); }

/* Eyebrow: small Devanagari label with a short saffron rule before it */
.eyebrow { font-size: var(--fs-md); color: var(--saffron-700); display: flex; align-items: center; gap: var(--space-3); letter-spacing: .02em; }

/* Section heads: left-aligned with a full-width hairline underneath */
.section-head { text-align: left; display: grid; gap: var(--space-2) var(--space-7); padding-bottom: var(--space-5); border-bottom: 1px solid var(--ink-900); }
.section-head h2, .section-head p { margin: 0; }
.section-head p { margin-inline: 0; font-size: var(--fs-base); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .section-head .eyebrow { grid-column: 1 / -1; }
}

/* Buttons: squared, firm; ghost uses ink border */
.btn { font-weight: 600; letter-spacing: .01em; border-width: 1.5px; transition: background .15s, color .15s; }
.btn:hover { transform: none; }
.btn--ghost { color: var(--ink-900); border-color: var(--ink-900); }
.btn--ghost:hover { background: var(--ink-900); color: var(--bg); }
.btn--light:hover { background: var(--white); color: var(--green-800); }
.float-donate { box-shadow: 0 2px 0 var(--saffron-700); }

/* Header: solid paper with a single ink hairline */
.header { background: var(--bg); backdrop-filter: none; border-bottom-color: var(--ink-900); }
.brand span { font-weight: 400; }
.nav a { font-weight: 500; }
.nav a:hover { color: var(--saffron-700); }
.menu-btn { background: transparent; border: 1.5px solid var(--ink-900); color: var(--ink-900); }

/* Photos: hairline frame instead of rounded+shadow */
.ph { border-radius: 0; background: repeating-linear-gradient(45deg, var(--green-100) 0 12px, var(--ph-stripe) 12px 24px); }

/* Impact: numbers divided by vertical rules */

/* Cards: bordered paper, no shadow */
.card, .quote { border: 1px solid var(--ink-900); border-radius: 0; }
.card { border-top: 4px solid var(--saffron-600); }
.toggle { border-radius: 0; background: transparent; border: 1px solid var(--ink-900); padding: 0; }
.toggle button { border-radius: 0; }
.amount { border-width: 1px; border-color: var(--line); }
.amount b { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-lg); }
.amount[aria-checked="true"] { border-color: var(--ink-900); background: var(--saffron-100); box-shadow: inset 0 -3px 0 var(--saffron-600); }
.field input { border-width: 0 0 1.5px; border-radius: 0; background: transparent; padding-inline: 0; border-color: var(--ink-600); }
.field input:focus-visible { border-color: var(--saffron-600); outline: 3px solid var(--marigold-400); outline-offset: 2px; }
.field label { font-size: var(--fs-sm); color: var(--ink-600); }

/* Seva: image, then number-like icon inline rather than floating bubble */

/* Chips: plain bordered tags */
.chip { border-radius: 0; border-color: var(--ink-900); background: transparent; }

/* Tinted sections: sand with ink hairlines top and bottom */
.section--tint { border-block: 1px solid var(--line); }

/* CTA: square band, quotes upright in Hind */
.cta { border-radius: 0; }
.quote p { font-family: var(--font-body); font-style: normal; font-size: var(--fs-md); }
.map { border-radius: 0; border: 1px solid var(--ink-900); }

/* Footer: warm black */
.footer { background: var(--ink-900); color: var(--footer-ink); }
.footer a { color: var(--footer-ink); }
.footer__bottom { border-top-color: var(--footer-rule); }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }

/* ---------- Monthly goal ---------- */
.goal { margin-bottom: var(--space-5); padding-bottom: var(--space-4); border-bottom: 1px dashed var(--line); }
.goal__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); flex-wrap: wrap; font-size: var(--fs-sm); color: var(--ink-600); }
.goal__top b { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-md); color: var(--ink-900); }
.goal__top small { font-family: var(--font-body); font-size: var(--fs-xs); color: var(--ink-600); }
.goal__bar { height: 8px; background: var(--green-100); margin-block: var(--space-2); overflow: hidden; }
.goal__bar i { display: block; height: 100%; background: var(--green-800); transform-origin: left; animation: grow 1.4s cubic-bezier(.2,.7,.2,1) both; }
.goal__meta { font-size: var(--fs-xs); color: var(--ink-600); }
@keyframes grow { from { transform: scaleX(0); } }

/* ---------- Transparency split ---------- */
.section--tight { padding-block: var(--space-8); }
.spend { margin-top: var(--space-6); }
.spend__bar { display: flex; height: 56px; border: 1px solid var(--ink-900); }
.spend__bar i { width: var(--w); background: var(--c); }
.spend__legend { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
@media (min-width: 768px) { .spend__legend { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.spend__legend li { border-top: 4px solid var(--c); padding-top: var(--space-3); color: var(--ink-600); font-size: var(--fs-sm); }
.spend__legend b { display: block; font-family: var(--font-head); font-weight: 400; font-size: var(--fs-xl); color: var(--ink-900); line-height: var(--lh-tight); }

/* ---------- Voices ---------- */
.voices { margin-top: var(--space-6); }
.voice { margin: 0; padding: var(--space-5) 0 0; border-top: 1px solid var(--ink-900); display: flex; flex-direction: column; gap: var(--space-4); }
.voice blockquote { margin: 0; font-size: var(--fs-md); line-height: var(--lh-copy); flex: 1; }
.voice figcaption { font-size: var(--fs-sm); color: var(--ink-600); }
.voice figcaption b { display: block; color: var(--ink-900); }

/* ---------- FAQ ---------- */
.faq__list { margin-top: var(--space-4); }
.faq__list details { border-bottom: 1px solid var(--ink-900); }
.faq__list summary { list-style: none; cursor: pointer; padding: var(--space-5) var(--space-7) var(--space-5) 0; position: relative; font-weight: 600; font-size: var(--fs-md); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--font-head); font-size: var(--fs-xl); color: var(--saffron-600); transition: transform .2s; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { color: var(--ink-600); padding-bottom: var(--space-5); margin: 0; }
.faq__list summary:hover { color: var(--saffron-700); }

/* ---------- Copy button ---------- */
.copy { font: 600 var(--fs-xs) var(--font-body); background: none; color: var(--footer-ink); border: 1px solid var(--footer-line); padding: var(--space-1) var(--space-2); cursor: pointer; margin-left: var(--space-2); }
.copy:hover { border-color: var(--footer-ink); }

/* ---------- Gallery lightbox ---------- */
.gallery .ph { cursor: zoom-in; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); }
.lightbox::backdrop { background: color-mix(in srgb, var(--ink-900) 90%, transparent); }
.lightbox img { max-height: 86vh; width: auto; margin: auto; }
.lightbox button { position: fixed; top: var(--space-4); right: var(--space-4); width: 44px; height: 44px; background: var(--bg); border: 0; font-size: var(--fs-lg); cursor: pointer; }

/* ---------- Scroll reveal (only when JS + motion allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .goal__bar i { animation: none; } }

.section-head a, .faq a { color: var(--ink-900); text-decoration-color: var(--saffron-600); text-underline-offset: 3px; }

/* ---------- Policy pages ---------- */
.legal { max-width: 72ch; padding-block: var(--space-8); }
.legal h2 { font-size: var(--fs-lg); margin-top: var(--space-6); }

/* ---------- Horizon ---------- */
.hills { display: none; }

/* Horizon illustration: whole picture always visible (aspect-ratio, no crop, no fade).
   Its fallback uses the shared page background.
   On narrow phones a min-height trims the sides instead of the tree tops. */
.horizon { aspect-ratio: 1536 / 645; min-height: 220px; overflow: hidden; margin-bottom: -2px; background: var(--bg); }
.horizon img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 100%; }

.horizon { display: none; }

/* Tiro has one weight: never fake-bold it; hierarchy comes from size and colour */
html { font-synthesis: none; }
h1, h2, h3, .brand span, .amount b { font-weight: 400; }
.eyebrow::before { content: none; }

/* Headings: Mukta semi-bold, tight leading; real weights again, so allow normal font synthesis rules */
h1, h2, h3, .brand span, .amount b, .goal__top b, .spend__legend b { font-weight: 700; }
h1 { letter-spacing: -0.02em; line-height: var(--lh-tight); }
h2 { letter-spacing: -0.01em; }
.brand span { font-weight: 700; }
.eyebrow { font-weight: 600; letter-spacing: .02em; }


/* A focused, two-step giving journey. */
#donate-form { border: 1px solid var(--line-soft); border-radius: 0; padding: var(--panel-padding); scroll-margin-top: 100px; }
#donate-form [hidden] { display: none !important; }
.giving-heading h3 { font-size: var(--fs-xl); margin: var(--space-2) 0; }
.giving-heading p, .optional { color: var(--ink-600); font-size: var(--fs-sm); }
.checkout-notice { background: var(--cream-100); padding: var(--space-3) var(--space-4); border-radius: 0; font-size: var(--fs-sm); line-height: var(--lh-copy); margin-block: var(--space-4); }
#donate-form .amount { border-radius: 0; min-height: 88px; transition: background .15s, border-color .15s; }
#donate-form .amount[aria-pressed="true"] { border: 2px solid var(--green-800); background: var(--green-50); color: var(--green-800); }
#donate-form input { min-height: 48px; border-radius: 0; }
#donate-form input[aria-invalid="true"] { border-color: var(--error); }
#donate-form :focus-visible { outline: 3px solid var(--green-600); outline-offset: 4px; }
#donate-form .btn--block { min-height: 56px; border-radius: var(--radius-pill); margin-top: var(--space-4); }
.giving-summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); background: var(--green-50); padding: var(--space-4); border-radius: 0; margin-bottom: var(--space-5); }
.giving-summary strong { font-size: var(--fs-md); }
.giving-summary button { background: none; border: 0; text-decoration: underline; min-height: 44px; cursor: pointer; color: var(--green-800); }
.field-error { color: var(--error); font-size: var(--fs-sm); margin: var(--space-1) 0; }
.field-error:empty { display: none; }
@media (max-width: 599px) { .donate__grid { gap: var(--space-5); } #donate-form { padding: var(--space-4); } }


.donation-invitation h2 { text-wrap: balance; }
.donation-invitation .btn { border-radius: var(--radius-pill); min-height: 56px; }

/* Interaction polish: preserve the layout, keep feedback immediate. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
button, a, summary, [role="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, .btn, summary, .gallery [role="button"] { transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.btn:active, .amount:active, .menu-btn:active { transform: translateY(1px); }
.nav a, .copy, .faq summary { min-height: 44px; }
.copy { min-width: 44px; }
.float-donate { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
html:has(body.gallery-open) { overflow: clip; } /* the root scrolls, so the lock goes on html */
.gallery [role="button"] { cursor: zoom-in; }
.lightbox img { touch-action: pan-y pinch-zoom; }
.js .reveal { transition-duration: .3s; transform: translateY(10px); }
.js .reveal.is-in { transform: none; }
:where(section, main, footer)[tabindex="-1"]:focus { outline: none; }
@media (max-width: 767px) { .footer { padding-bottom: calc(var(--space-9) + env(safe-area-inset-bottom, 0)); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .js .reveal { opacity: 1; transform: none; } }

.cta__art, .occasion__art, .occasion-feature > img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ---------- Warli illustrations ----------
   White Warli line art (generated in ChatGPT from one prompt, keyed to
   transparency; see docs/PHOTOGRAPHY.md) on the brand green, like a painted
   wall panel. Decorative: the heading beside each one carries the meaning. */
.warli { margin: 0; display: grid; place-items: center; aspect-ratio: 1; padding: var(--space-6); background: var(--green-800); border-radius: var(--radius-md); }
.warli img { width: 100%; height: auto; max-width: 360px; }
.page-hero__grid--art { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.page-hero__grid--art .page-lead { max-width: 52ch; }
.page-hero__grid--art .warli { max-width: 420px; justify-self: end; width: 100%; }
.warli--small { max-width: 240px; padding: var(--space-5); margin-top: var(--space-5); }
.warli--wide { aspect-ratio: auto; max-width: 320px; padding: var(--space-5); margin-bottom: var(--space-5); }
@media (max-width: 899px) {
  .page-hero__grid--art { grid-template-columns: minmax(0, 1fr); }
  .page-hero__grid--art .warli { justify-self: stretch; max-width: none; aspect-ratio: auto; padding: var(--space-4); }
  .page-hero__grid--art .warli img { width: auto; max-height: 180px; }
}

/* =====================================================================
   Home (Solstice "Counter" hero, Photographic shape). See design.md.
   ===================================================================== */

/* Hero: the trust's photograph inside the gaushala, widened to the left
   (the people and the calf are the original pixels; only the wall, post and
   floor on the left were extended, see docs/PHOTOGRAPHY.md). The copy sits
   on that extension over a dark gradient; the group stays clear on the right.
   tools/check_site.py checks the copy never covers a face. */
.hero { position: relative; isolation: isolate; background: var(--night); color: var(--on-night); }
.hero__stage { position: relative; }
.hero__visual { position: relative; }
.hero__picture { display: block; aspect-ratio: 1 / 1; max-height: min(72svh, 40rem); width: 100%; }
.hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: 100% 55%; }
.hero__visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, color-mix(in srgb, var(--night) 45%, transparent) 0%, color-mix(in srgb, var(--night) 0%, transparent) 14%, color-mix(in srgb, var(--night) 0%, transparent) 52%, color-mix(in srgb, var(--night) 70%, transparent) 82%, var(--night) 100%); }
.hero__content { position: relative; margin-top: calc(-1 * var(--space-8)); padding-block: 0 var(--space-6); }
/* Stacked hero (below 1200px): iOS Safari draws the video in its own layer and can round its bottom edge differently
   from the scrim above it, leaving a thin line of video behind the heading (seen on iPhone 16 / 16 Pro Max). The
   picture stops 2px short of the scrim's solid-night bottom, so that edge is never drawn; the hero's night
   background fills the 2px seamlessly. */
@media (max-width: 1199.98px) {
  .hero__picture { clip-path: inset(0 0 2px 0); }
  .hero__visual::after { bottom: -1px; }
}
.hero__copy { display: grid; gap: var(--space-4); justify-items: start; }
.hero .eyebrow { color: var(--gold); font-family: var(--font-body); font-weight: 500; font-size: var(--fs-sm); margin: 0; }
.hero h1 { font-family: var(--font-hero); font-weight: 400; font-size: var(--fs-2xl); line-height: .96; letter-spacing: -.015em; color: var(--on-night-strong); margin: 0; }
.hero__lead { font-size: var(--fs-md); line-height: var(--lh-copy); color: var(--on-night); margin: 0; max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-2); }
.hero__ctas .btn { min-height: 50px; padding-inline: var(--space-4); font-size: var(--fs-sm); white-space: nowrap; }
.btn--outline-light { background: transparent; color: var(--on-night-strong); border-color: var(--on-night-line); }
.btn--outline-light:hover { background: color-mix(in srgb, var(--on-night-strong) 10%, transparent); border-color: var(--on-night-strong); color: var(--on-night-strong); }
.hero :focus-visible { outline-color: var(--gold); }

/* The band beneath: the second sentence, the gift choices, the registration */
.hero__note { display: grid; gap: var(--space-4); padding-block: var(--space-5) var(--space-6); border-top: var(--rule-hair) solid var(--on-night-line); }
.hero__note-text { margin: 0; color: var(--on-night-strong); font-family: var(--font-hero); font-size: var(--fs-lg); line-height: 1.15; }
.hero__gifts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 28rem; border: var(--rule-hair) solid var(--on-night-line); border-radius: var(--radius-btn); overflow: hidden; }
.hero__gifts li + li { border-left: var(--rule-hair) solid var(--on-night-line); }
.hero__gifts a { display: grid; padding: var(--space-3) var(--space-4); min-height: 44px; text-decoration: none; color: var(--on-night); transition: background-color .15s; }
.hero__gifts a:hover { background: color-mix(in srgb, var(--on-night-strong) 8%, transparent); }
.hero__gifts b { font-family: var(--font-hero); font-weight: 400; font-size: var(--fs-lg); line-height: 1.1; color: var(--on-night-strong); font-variant-numeric: tabular-nums; }
.hero__gifts span { font-size: var(--fs-xs); color: var(--on-night-muted); }
.hero .trust-line { display: flex; align-items: center; gap: var(--space-2); margin: 0; max-width: none; font-size: var(--fs-xs); color: var(--on-night-muted); }
.hero .trust-line .icon { color: var(--gold); }

@media (min-width: 900px) {
  .hero__note { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--space-7); }
  .hero .trust-line { justify-content: flex-end; }
}
@media (min-width: 1200px) {
  /* full screen: the photograph behind, pushed right so the copy sits on the extended wall */
  .hero__stage { min-height: max(40rem, 100svh); display: grid; align-items: center; }
  /* the photograph never wider than 16:10 of the screen's height, anchored right; on wider screens the left falls to the night ground behind the copy */
  .hero__visual { position: absolute; inset: var(--header-h) 0 0 auto; width: min(100%, calc((100svh - var(--header-h)) * 1.6)); z-index: -1; -webkit-mask-image: linear-gradient(90deg, transparent, var(--mask) 14%); mask-image: linear-gradient(90deg, transparent, var(--mask) 14%); }
  .hero__picture { aspect-ratio: auto; height: 100%; max-height: none; }
  .hero__bg { object-position: 100% 45%; }
  /* scrims: a band under the header across the full width, a strong wash on the left behind the copy, a light floor fade */
  .hero__visual::after { background:
      linear-gradient(90deg, color-mix(in srgb, var(--night) 90%, transparent) 0%, color-mix(in srgb, var(--night) 80%, transparent) 24%, color-mix(in srgb, var(--night) 0%, transparent) 44%),
      linear-gradient(180deg, color-mix(in srgb, var(--night) 88%, transparent) 0%, color-mix(in srgb, var(--night) 55%, transparent) 9%, color-mix(in srgb, var(--night) 0%, transparent) 22%, color-mix(in srgb, var(--night) 0%, transparent) 90%, color-mix(in srgb, var(--night) 80%, transparent) 100%); }
  .hero__content { max-width: none; margin-top: 0; padding-block: calc(var(--header-h) + var(--space-6)) var(--space-8); }
  .hero__copy { max-width: min(27rem, 30%); }
  .hero__lead { max-width: 30ch; }
  .hero__ctas { flex-wrap: nowrap; }
  .hero__ctas .btn { padding-inline: var(--space-3); }
}

/* Where your gift goes: in the hero's language. A large head with its line
   beside it, then three photo cards on one baseline; soft corners, hairlines,
   no hard shadows. Each card ends on its gift as a quiet button that turns
   to the donate orange on hover. */
.gifts { padding-block: var(--section-y); background: var(--paper); }
.gifts__head { display: grid; gap: var(--space-4); margin-bottom: var(--space-7); padding-bottom: var(--space-6); border-bottom: var(--rule-hair) solid var(--rule); }
.gifts__head h2 { font-size: var(--fs-2xl); margin: var(--space-2) 0 0; }
.gifts__intro p { margin: 0 0 var(--space-3); font-size: var(--fs-md); color: var(--ink-2); max-width: 32ch; }
.gifts__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7) var(--space-6); }
.gift { display: flex; flex-direction: column; gap: var(--space-4); }
.gift__photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-soft); background: var(--paper-3); }
.gift__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gift:hover .gift__photo img { transform: scale(1.03); }

.gift__body { display: grid; gap: var(--space-1); flex: 1; }
.gift__tag { font-size: var(--fs-sm); font-weight: 600; color: var(--accent); }
.gift h3 { margin: 0; font-family: var(--font-head); font-weight: 400; font-size: var(--fs-xl); line-height: 1; letter-spacing: -.01em; }
.gift h3 a { color: var(--green-800); text-decoration: none; }
.gift h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; text-decoration-color: var(--gold); }
.gift p { margin: var(--space-2) 0 0; color: var(--ink-2); max-width: 38ch; }
.gift__give { display: flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 52px; padding: var(--space-3) var(--space-4); border: var(--rule-hair) solid var(--rule); border-radius: var(--radius-btn); color: var(--ink); font-weight: 600; text-decoration: none; background: var(--paper-2); transition: background-color .15s, border-color .15s, color .15s; }
.gift__give b { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-lg); line-height: 1; color: var(--green-800); font-variant-numeric: tabular-nums; }
.gift__give:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.gift__give:hover b { color: var(--accent-ink); }
.gift__give:focus-visible, .gift h3 a:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
@media (min-width: 700px) {
  .gifts__head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: var(--space-7); }
  .gifts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .gift:hover .gift__photo img { transform: none; } }

/* Statement: a wide photo banner in the gift cards' language (soft corners,
   real photograph), the copy on its left over a dark gradient like the hero. */
.statement { padding-block: 0 var(--section-y); background: var(--paper); }
.banner { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-soft); background: var(--night); color: var(--on-night); min-height: 30rem; display: grid; align-items: end; }
.banner__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(0deg, color-mix(in srgb, var(--night) 88%, transparent) 0%, color-mix(in srgb, var(--night) 55%, transparent) 45%, color-mix(in srgb, var(--night) 10%, transparent) 100%); }
.banner__copy { display: grid; gap: var(--space-4); padding: var(--space-7) var(--space-5) var(--space-6); text-align: left; max-width: none; }
.banner .eyebrow { color: var(--gold); margin: 0; }
.banner h2 { color: var(--on-night-strong); font-size: var(--fs-2xl); max-width: 14ch; margin: 0; }
.banner p { color: var(--on-night); margin: 0; max-width: 34ch; font-size: var(--fs-md); }
.banner .donation-invitation__action { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.banner .note { font-size: var(--fs-sm); color: var(--on-night-muted); max-width: none; margin: 0; text-align: left; flex-basis: 100%; }
.banner :focus-visible { outline-color: var(--gold); }
@media (min-width: 900px) {
  .banner { min-height: 36rem; align-items: start; }
  .banner__img { object-position: 50% 62%; }
  /* the shade stays on the tree at top left; the grazing cows below it stay in the light */
  .banner::after { background:
      radial-gradient(ellipse 60% 62% at 0% 30%, color-mix(in srgb, var(--night) 90%, transparent) 0%, color-mix(in srgb, var(--night) 80%, transparent) 55%, color-mix(in srgb, var(--night) 0%, transparent) 100%); }
  .banner__copy { padding: var(--space-7) var(--space-8); max-width: 34rem; }
}

/* About: the photograph with soft corners and a place tag (like the gift cards),
   the trust's promise set large in the heading face, a short paragraph, one pair of actions. */
.split--photo { display: grid; gap: var(--space-6); align-items: center; }
.split__photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-soft); }
.split__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.split__text h2 { margin: var(--space-2) 0 var(--space-5); }
.promise { margin: 0 0 var(--space-5); padding-left: var(--space-5); border-left: 2px solid var(--accent); font-family: var(--font-head); font-size: var(--fs-lg); line-height: 1.25; color: var(--ink); max-width: 26ch; }
.split__text p { color: var(--ink-2); max-width: 46ch; }
.split__text .action-group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-5); }
.btn--ghost { border-radius: var(--radius-btn); border-width: 1px; }
@media (min-width: 900px) { .split--photo { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--space-8); } }

/* Gallery: a rail past the container's edge, scrollable by touch and keyboard */
.rail-head { margin-bottom: var(--space-6); }
.rail-head h2 { margin: var(--space-2) 0 var(--space-3); }
.rail-head p { color: var(--muted); margin: 0; }
.gallery--rail { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 30rem); gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); padding-bottom: var(--space-4); scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); }
.gallery--rail .ph { aspect-ratio: 4 / 3; scroll-snap-align: start; background: var(--paper-3); }
.gallery--rail:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: -3px; }

/* Trust: a deep green band. The trust's own signboard photo as proof on the left,
   the head, the key facts set large in the heading face, the note and links on the right. */
.trust-band { background: var(--green-800); color: color-mix(in srgb, var(--on-night-strong) 86%, transparent); }
.trust-band__inner { display: grid; gap: var(--space-7); align-items: center; }
.trust-band__photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-soft); }
.trust-band__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.trust-band .eyebrow { color: var(--gold); }
.trust-band h2 { color: var(--on-night-strong); margin: var(--space-2) 0 var(--space-4); }
.trust-band__text > p { margin: 0; max-width: 46ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: var(--space-5) var(--space-7); margin: var(--space-6) 0; padding-block: var(--space-5); border-block: var(--rule-hair) solid color-mix(in srgb, var(--on-night-strong) 22%, transparent); }
.stat { display: grid; gap: var(--space-1); }
.stat dt { font-size: var(--fs-sm); color: var(--gold-2); }
.stat dd { margin: 0; font-family: var(--font-head); font-size: var(--fs-xl); line-height: 1; color: var(--on-night-strong); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1199px) { .stat dd { font-size: var(--fs-lg); } .stats { column-gap: var(--space-5); } }
.trust-band__note { font-size: var(--fs-sm); color: color-mix(in srgb, var(--on-night-strong) 72%, transparent); }
.facts__links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-5); }
.trust-band .text-link { color: var(--on-night-strong); text-decoration-color: var(--gold); }
.trust-band :focus-visible { outline-color: var(--gold); }
@media (max-width: 599px) { .stats { grid-template-columns: repeat(3, auto); column-gap: var(--space-5); } .stat dd { font-size: var(--fs-md); } }


/* Questions: head block beside the rows */
.faq--rows { display: grid; gap: var(--space-6); }
.faq__head h2 { margin: var(--space-2) 0 var(--space-3); }
.faq__head p { color: var(--muted); }
.faq--rows .faq__list { margin: 0; border-top: var(--rule-bar) solid var(--ink); }
.faq--rows .faq__list details { border-bottom: var(--rule-hair) solid var(--rule); }
.faq--rows .faq__list summary::after { color: var(--accent); }
@media (min-width: 900px) { .faq--rows { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-7); align-items: start; } }

/* Close: the Warli garlanded cow drawn straight onto the night ground in soft cream,
   a faint warm glow behind it, the head and the action pair beside it. */
.close-band { position: relative; isolation: isolate; overflow: hidden; background: var(--green-800); color: var(--on-night); padding-block: var(--section-y); }
.close-band::before { content: ""; position: absolute; z-index: -1; left: 22%; top: 50%; width: 40rem; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 22%, transparent), color-mix(in srgb, var(--gold) 0%, transparent) 65%); }
.close-band__inner { display: grid; gap: var(--space-6); align-items: center; }
.close-band__art { margin: 0; max-width: 13rem; background: none; }
.close-band__art img { width: 100%; height: auto; opacity: .9; }
.close-band h2 { color: var(--on-night-strong); font-size: var(--fs-2xl); max-width: 14ch; margin: var(--space-2) 0 var(--space-4); }
.close-band p { color: var(--on-night); font-size: var(--fs-md); margin: 0 0 var(--space-5); }
.close-band .eyebrow { color: var(--gold); }
.close-band .cta__ctas { justify-content: flex-start; gap: var(--space-3); }
.close-band .cta__ctas .btn { min-height: 52px; padding-inline: var(--space-5); border-width: 1px; }
.close-band .btn--light { border-color: var(--on-night-line); }
.close-band .btn--light:hover { background: color-mix(in srgb, var(--on-night-strong) 10%, transparent); color: var(--on-night-strong); border-color: var(--on-night-strong); }
.close-band :focus-visible { outline-color: var(--gold); }
@media (min-width: 900px) { .close-band__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--space-8); } .close-band__art { max-width: 20rem; justify-self: center; } }

/* Home motifs (see Motifs in pages.css) */
.split__text .action-group .btn { width: auto; flex: 0 0 auto; }

/* About: the photograph across the full width of the section, the cow on the left,
   the story over the calm grass on the right on a dark gradient. Below 1200px the
   cow sits above and the story beneath it on the dark lower half. */
.about { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-night); padding: 0; }
.about__img { position: relative; z-index: -2; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 22% 55%; }
.about::after { content: none; }
.about__inner { display: flex; align-items: flex-end; min-height: 0; margin-top: calc(-1 * var(--space-9)); padding-top: var(--space-9); padding-bottom: var(--section-y); background: linear-gradient(180deg, color-mix(in srgb, var(--night) 0%, transparent) 0%, var(--night) var(--space-9)); }
.about .split__text { max-width: 34rem; }
.about .eyebrow { color: var(--gold); }
.about h2 { color: var(--on-night-strong); margin: var(--space-2) 0 var(--space-5); }
.about .promise { color: var(--on-night-strong); border-left-color: var(--gold); }
.about p { color: var(--on-night); max-width: 44ch; }
.about .text-link { color: var(--on-night-strong); text-decoration-color: var(--gold); }
.about :focus-visible { outline-color: var(--gold); }
#about .split__text .action-group .btn { width: auto; flex: 0 0 auto; }
@media (min-width: 1200px) {
  .about { min-height: min(46rem, 92svh); display: grid; align-items: center; }
  .about__img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 0% 55%; }
  .about::after { content: ""; position: absolute; inset: 0; z-index: -1; }
  .about__inner { align-items: center; justify-content: flex-end; margin-top: 0; padding-block: var(--section-y); background: none; }
  .about .split__text { max-width: 30rem; }
  .about::after { background: linear-gradient(270deg, color-mix(in srgb, var(--night) 92%, transparent) 0%, color-mix(in srgb, var(--night) 80%, transparent) 32%, color-mix(in srgb, var(--night) 0%, transparent) 58%); }
}

/* Gallery mosaic: one wide lead photograph and four smaller, soft corners like the gift cards */
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.mosaic .ph { aspect-ratio: auto; height: 100%; min-height: 0; border-radius: var(--radius-soft); overflow: hidden; background: var(--stone); cursor: zoom-in; }
.mosaic .ph img { position: static; display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.mosaic .ph:hover img { transform: scale(1.03); }
.mosaic__item--lead { grid-column: 1 / -1; }
.mosaic__item--lead img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
  .mosaic__item--lead { grid-column: 1; grid-row: 1 / span 2; }
  .mosaic__item--lead img { aspect-ratio: auto; }
  .mosaic .ph img { aspect-ratio: auto; }
  .mosaic .ph { aspect-ratio: 4 / 3; height: auto; }
  .mosaic .mosaic__item--lead { aspect-ratio: auto; }
}
@media (prefers-reduced-motion: reduce) { .mosaic .ph:hover img { transform: none; } }

/* Questions: each question a soft card that opens in place; a contact card under the head */
.faq--rows .faq__list { border-top: 0; display: grid; gap: var(--space-3); }
.faq--rows .faq__list details { border: var(--rule-hair) solid transparent; border-radius: var(--radius-soft); background: var(--stone); transition: background-color .2s, border-color .2s; }
.faq--rows .faq__list details[open] { background: var(--paper); border-color: var(--rule); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--night) 30%, transparent); }
.faq--rows .faq__list summary { padding: var(--space-5) var(--space-9) var(--space-5) var(--space-5); font-size: var(--fs-md); }
.faq--rows .faq__list summary::after { right: var(--space-5); width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--font-body); font-size: var(--fs-md); line-height: 1; }
.faq--rows .faq__list summary:hover { color: var(--green-800); }
.faq--rows .faq__list details p { padding: 0 var(--space-5) var(--space-5); max-width: 62ch; }
.ask { margin-top: var(--space-6); padding: var(--space-5); border-radius: var(--radius-soft); background: var(--green-800); color: color-mix(in srgb, var(--on-night-strong) 82%, transparent); max-width: none; }
.ask .ask__title { margin: 0 0 var(--space-1); font-family: var(--font-head); font-size: var(--fs-lg); color: var(--on-night-strong); }
.ask p { margin: 0 0 var(--space-4); font-size: var(--fs-sm); color: inherit; }
.ask .btn--ghost { color: var(--on-night-strong); border-color: color-mix(in srgb, var(--on-night-strong) 45%, transparent); width: auto; }
.ask .btn--ghost:hover { background: var(--on-night-strong); color: var(--green-800); }
.ask :focus-visible { outline-color: var(--gold); }
.ask a:not(.btn) { color: var(--on-night-strong); text-decoration-color: var(--gold); }
.trust-band__note a { color: var(--on-night-strong); text-decoration-color: var(--gold); }
/* Trust band: wide screens run the photograph out to the left edge of the screen, so it is
   wider than tall and keeps everyone in frame; below 1200px it sits above the text, whole. */
@media (min-width: 1200px) {
  /* the photo takes 60% of the screen out to its left edge at the photo's own 3:2 shape;
     the text sits in the remaining space, aligned to the container's right edge */
  .trust-band { padding: 0; }
  .trust-band__inner { max-width: none; padding: 0; grid-template-columns: 60vw minmax(0, 1fr); column-gap: 0; align-items: stretch; }
  .trust-band__photo { position: relative; height: auto; min-height: 40vw; margin: 0; border-radius: 0; }
  .trust-band__photo img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: 50% 50%; }
  .trust-band__text { align-self: center; }
  .trust-band__text { padding: var(--space-7) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) var(--space-7) var(--space-7); }
  .trust-band__text h2 { margin-bottom: var(--space-3); }
  .trust-band .stats { margin: var(--space-4) 0; padding-block: var(--space-3); column-gap: var(--space-6); }
  .trust-band__note { font-size: var(--fs-xs); }
}
.trust-band .stats { margin: var(--space-5) 0; padding-block: var(--space-4); }
.trust-band__note { max-width: 56ch; }
.trust-band .facts__links { margin-top: var(--space-4); }
.ask p { max-width: none; }

/* Close: a calf eating fresh grass across the full band; the copy on the left over a deep
   logo-green shade (no black), the calf clear on the right. Below 900px the photo sits on top. */
.close-band { background: var(--night); min-height: min(40rem, 38vw); display: grid; align-items: center; }
.close-band::before { content: none; }
.close-band__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 80% 60%; }
.close-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(90deg, color-mix(in srgb, var(--night) 88%, transparent) 0%, color-mix(in srgb, var(--night) 72%, transparent) 36%, color-mix(in srgb, var(--night) 0%, transparent) 66%); }
.close-band__inner { grid-template-columns: minmax(0, 1fr); }
.close-band__text { max-width: 34rem; }
.close-band p { max-width: 34ch; }
@media (min-width: 900px) { .close-band__inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 899px) {
  /* phones: the photo fills the band, the copy sits over its lower part on a black fade */
  .close-band { min-height: 36rem; display: grid; align-items: end; padding-block: var(--space-7) var(--space-6); }
  .close-band__img { object-position: 78% 30%; }
  .close-band::after { content: ""; background: linear-gradient(180deg, color-mix(in srgb, var(--night) 0%, transparent) 0%, color-mix(in srgb, var(--night) 10%, transparent) 30%, color-mix(in srgb, var(--night) 82%, transparent) 62%, color-mix(in srgb, var(--night) 94%, transparent) 100%); }
  .close-band p { margin-bottom: var(--space-4); }
}
/* Trust stats: labels stay on one line so the three figures line up; very narrow phones tighten the row. */
.stat dt { white-space: nowrap; }
@media (max-width: 379px) {
  .trust-band .stats, .stats { column-gap: var(--space-3); }
  .stat dt { font-size: var(--fs-xs); }
  .stat dd { font-size: var(--fs-base); }
}
/* Smallest phones (under 350px): the three figures cannot share one row, so Place drops below. */
@media (max-width: 349px) {
  .trust-band .stats, .stats { grid-template-columns: repeat(2, auto); row-gap: var(--space-3); }
}

/* ---------- Analytics consent (js/analytics.js) ---------- */
/* Tripled class: outranks the donation pages' ".giving-video > :not(...)" rule, which would pin it in the flow. */
.consent.consent.consent { position: fixed; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); z-index: 70; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-5); max-width: 760px; margin-inline: auto; padding: var(--space-4) var(--space-5); background: var(--white); color: var(--ink-900); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); font: var(--fs-sm)/var(--lh-copy) var(--font-body); }
.consent p { margin: 0; flex: 1 1 280px; max-width: none; color: var(--ink-900); }
.consent a { color: var(--green-800); text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: var(--space-2); flex: 0 0 auto; margin-left: auto; }
.consent__btn { min-height: 44px; padding: var(--space-2) var(--space-5); border-radius: var(--radius-pill); border: 2px solid var(--ink-900); background: var(--white); color: var(--ink-900); font: 600 var(--fs-sm)/var(--lh-control) var(--font-body); cursor: pointer; }
.consent__btn:hover { background: var(--paper-2); }
.consent__btn--accept { background: var(--donate); border-color: var(--donate); color: var(--white); }
.consent__btn--accept:hover { background: var(--donate-hover); border-color: var(--donate-hover); }
.consent__btn:focus-visible { outline: 3px solid var(--marigold-400); outline-offset: 2px; }
.consent-status { color: var(--ink-600); font-size: var(--fs-sm); margin-left: var(--space-3); }
