/* latin-ext */
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/5272012f-da97-4a30-8cb6-01611013eeac.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/25660ebb-d515-489e-9991-fbd10852ede3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/e14995b4-004d-4e9c-bcf4-407177ef770b.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/d11cc639-d34a-46ce-9608-6fb687c541b4.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/e301cbf8-1195-45ee-b594-b37de1f36634.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/6ea00155-8e47-47a0-b019-5dce2c7939dd.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ccc6439a-5c47-4120-9c77-941b70ea47ca.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/e1353405-ffcd-4d19-83a5-6d2c0942b838.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/c77393f6-4d50-4984-b988-b81b3d7aff26.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/dfe2300b-e398-47bb-aac5-c6d0248db2d0.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/49afe077-0f09-46ba-b727-2deba46d8fcb.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/371dfebe-e804-4ec3-8bfd-e1a733262efe.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/aee4e1c1-659d-4d29-bc78-d7ee46f1113e.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/92bd04ff-7a35-4da4-ab13-85734f8d55c1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/432ccdb1-6282-4e79-86ce-c425b7b511ec.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/2176eef0-8f5c-421c-870f-cf2e59af36cb.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/2c4fe7f3-3b42-4bc1-b214-e66f0587d9b7.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Tiro Devanagari Marathi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/a2d6b014-4265-4ba4-8858-3a87f87da1df.woff2") format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Tiro Devanagari Marathi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/6afd02f3-bc09-432d-908d-7738aa246fd2.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Tiro Devanagari Marathi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/77df59e4-8838-427e-99e4-6a63598d9024.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   HariKshama Foundation, shared design system
   Palette derived from the foundation seal: gold, deep navy, emerald green,
   with heart-red & paw-blue as small accents on an ivory ground.
   ========================================================================== */

/* ---- Fonts ---- */
/* Marcellus (Roman display serif, echoes the engraved plaque),
   Mukta (humanist body, Latin + Devanagari),
   Tiro Devanagari Marathi (Marathi display) */

:root {
  /* Brand colours */
  --gold:        #C19A2B;
  --gold-deep:   #9C7C1C;
  --gold-soft:   #E6D49A;
  --gold-wash:   #F4ECD2;
  --navy:        #182a55;
  --navy-deep:   #101d3d;
  --green:       #2c7a4d;
  --green-deep:  #1d5436;
  --green-soft:  #6fae86;
  --heart:       #c23b2c;
  --paw:         #2c4fa0;

  /* Surface (warm / traditional default) */
  --bg:          #faf4e6;
  --bg-2:        #f3ead4;
  --paper:       #fffdf6;
  --ink:         #20242c;
  --ink-soft:    #5a5648;
  --line:        #e7dcc0;
  --line-strong: #d8c89c;

  /* Semantic */
  --brand:       var(--gold-deep);
  --heading:     var(--navy);
  --accent:      var(--green);
  --cta:         var(--gold-deep);
  --cta-ink:     #fffdf6;
  --cta-hover:   #836717;

  /* Type */
  --display: "Marcellus", Georgia, "Times New Roman", serif;
  --body: "Mukta", system-ui, -apple-system, sans-serif;
  --deva: "Tiro Devanagari Marathi", "Mukta", serif;

  /* Metrics */
  --maxw: 1180px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(30,25,10,.06), 0 2px 8px rgba(30,25,10,.05);
  --shadow:    0 8px 30px rgba(40,33,12,.10), 0 2px 8px rgba(40,33,12,.06);
  --shadow-lg: 0 24px 60px rgba(35,28,10,.16);
  --header-h: 96px;
}

/* ---- Theme: Modern / Clean ---- */
[data-theme="modern"] {
  --bg:          #ffffff;
  --bg-2:        #f5f7f5;
  --paper:       #ffffff;
  --ink:         #1d2530;
  --ink-soft:    #5b6675;
  --line:        #e7ebe8;
  --line-strong: #d4dcd6;
  --gold-wash:   #f4f7f4;
  --brand:       var(--green-deep);
  --heading:     var(--navy-deep);
  --accent:      var(--green);
  --cta:         var(--green-deep);
  --cta-ink:     #ffffff;
  --cta-hover:   #163f29;
  --shadow:    0 10px 34px rgba(20,40,28,.10), 0 2px 8px rgba(20,40,28,.05);
  --shadow-lg: 0 24px 60px rgba(20,40,28,.14);
}

/* ---- Theme: Balanced ---- */
[data-theme="balanced"] {
  --bg:          #f7f6f1;
  --bg-2:        #eef0e9;
  --paper:       #ffffff;
  --ink:         #21262b;
  --ink-soft:    #5a6068;
  --line:        #e6e6dd;
  --line-strong: #d6d6c6;
  --gold-wash:   #f3efe2;
  --brand:       var(--green-deep);
  --heading:     var(--navy);
  --accent:      var(--gold-deep);
  --cta:         var(--green-deep);
  --cta-ink:     #ffffff;
  --cta-hover:   #163f29;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--heading);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: .005em;
  text-wrap: balance;
}
.deva { font-family: var(--deva); }
:lang(mr), [data-lang-active="mr"] .i18n-head { }

p { text-wrap: pretty; }
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--brand);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--brand);
  display: inline-block;
}

/* ---- Layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section.tight { padding: clamp(40px, 5vw, 70px) 0; }
.bg-2 { background: var(--bg-2); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--navy-deep); color: #eef1f7; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }

.center { text-align: center; }
.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: .5rem 0 0; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.08rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: .82rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s;
  line-height: 1; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cta); color: var(--cta-ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--cta-hover); box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--gold-wash); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* heart on donate buttons, flex:none keeps it from collapsing when the button is squeezed */
.btn .heart { width: 1em; height: 1em; flex: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--navy-deep); color: #cfd6e8;
  font-size: .82rem; letter-spacing: .01em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; align-items: center; gap: 18px; color: #b9c2da; }
.topbar .tb-left span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .tb-right { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  display: inline-flex; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; overflow: hidden;
}
.lang-toggle button {
  background: transparent; color: #aeb8d2; border: 0; padding: .2rem .62rem; font-size: .78rem; font-weight: 600;
}
.lang-toggle button[aria-pressed="true"] { background: var(--gold); color: #1a1405; }

/* wrapper must not form a box, or sticky would only stick within it */
#site-header { display: contents; }
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(40,33,12,.08); }
.nav { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 15px; margin-right: auto; }
.brand .mark {
  width: 75px; height: 75px; border-radius: 50%; object-fit: cover;
  background: #fffdf6;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--gold), 0 8px 20px rgba(40,33,12,.20);
  flex: none;
}
.brand .bname { display: flex; flex-direction: column; line-height: 1.08; }
.brand .bname .en { font-family: var(--display); font-size: 1.34rem; color: var(--heading); letter-spacing: .02em; white-space: nowrap; }
.brand .bname .mr { font-family: var(--deva); font-size: .92rem; color: var(--brand); margin-top: 3px; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 500; font-size: .98rem; color: var(--ink); padding: .5rem .8rem; border-radius: 6px;
  position: relative; transition: color .18s;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem; height: 2px; background: var(--brand); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--paper); align-items: center; justify-content: center; flex: none;
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--heading); border-radius: 2px;
  position: relative; transition: transform .25s, opacity .2s;
}
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after { position: absolute; top: 6px; }
body.menu-open .hamburger span { background: transparent; }
body.menu-open .hamburger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .hamburger span::after { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 70;
  background: var(--paper); transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.1,1);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; padding: 22px;
  border-left: 1px solid var(--line);
}
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu .mm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mobile-menu .mm-close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font-size: 1.4rem; color: var(--heading); }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 10px; }
.mobile-menu nav a { padding: .95rem .2rem; font-size: 1.12rem; font-family: var(--display); color: var(--heading); border-bottom: 1px solid var(--line); }
.mobile-menu nav a.active { color: var(--brand); }
.mobile-menu .mm-cta { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; }
.scrim { position: fixed; inset: 0; background: rgba(16,12,4,.42); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 65; }
body.menu-open .scrim { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: min(90vh, 820px);
  background: var(--navy-deep);
}
/* full-bleed photo */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: linear-gradient(160deg, #b9966a 0%, #9d7b52 42%, #7a5a3c 100%); }
.hero-bg img {
  position: absolute; top: 0; left: 0; height: 100%; width: 114%;
  object-fit: cover; object-position: 50% 42%;
  display: block;
}
/* warm navy scrim, concentrated on the far-left text column, fully cleared by
   ~52% so the girl's face and the puppy stay bright and emotionally legible;
   a soft floor at the bottom anchors the meta band */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(96deg,
      color-mix(in srgb, var(--navy-deep) 84%, transparent) 0%,
      color-mix(in srgb, var(--navy-deep) 66%, transparent) 24%,
      color-mix(in srgb, var(--navy-deep) 22%, transparent) 44%,
      transparent 56%),
    linear-gradient(0deg,
      color-mix(in srgb, var(--navy-deep) 66%, transparent) 0%,
      transparent 24%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(72px, 12vh, 130px) clamp(96px, 16vh, 170px); }
.hero-copy { max-width: 560px; text-align: left; }
.hero-copy .eyebrow { margin-bottom: 1.3rem; color: var(--gold-soft); }
.hero h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.7rem); line-height: 1.07; max-width: 15ch;
  color: #fff; text-wrap: balance;
  text-shadow: 0 2px 24px rgba(8,14,32,.55);
}
.hero h1 .mr { display: block; font-family: var(--deva); font-size: .46em; color: var(--gold-soft); margin-top: .7rem; line-height: 1.3; }
.hero .lead {
  margin: 1.4rem 0 0; font-size: 1.16rem; max-width: 42ch;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 16px rgba(8,14,32,.55);
}

.focus-pills {
  list-style: none; padding: 0; margin: 1.7rem 0 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: flex-start;
}
.focus-pills li {
  display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
/* thin dividers between focus labels, reinforces this is a key, not buttons */
.focus-pills li + li::before {
  content: ""; width: 1px; height: 14px; background: rgba(255,255,255,.28);
  margin-right: 1rem; flex: none;
}
.focus-pills .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(255,255,255,.16); }

.hero .hero-actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; }
/* ghost button reads as light over the photo */
.hero .hero-actions .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06);
  backdrop-filter: blur(2px);
}
.hero .hero-actions .btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }
/* Phones: keep the two hero CTAs side by side as equal halves */
@media (max-width: 560px) {
  .hero .hero-actions { flex-wrap: nowrap; gap: 12px; }
  .hero .hero-actions .btn { flex: 1 1 0; min-width: 0; padding-left: 1rem; padding-right: 1rem; white-space: normal; text-align: center; }
}

/* meta band pinned to the bottom of the hero, over the scrim floor */
.hero-meta-bar {
  position: relative; z-index: 2; margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-block: clamp(18px, 2.4vw, 26px);
}
.hero .hero-meta {
  display: flex; gap: clamp(26px, 6vw, 64px); flex-wrap: wrap; justify-content: flex-start;
}
.hero .hero-meta .hm b { font-family: var(--display); font-size: 1.7rem; color: #fff; display: block; }
.hero .hero-meta .hm span { font-size: .86rem; color: rgba(255,255,255,.72); }
/* Phones: 3 even columns in one tidy row instead of a 2 + 1 orphan wrap */
@media (max-width: 560px) {
  .hero .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 14px; }
  .hero .hero-meta .hm { min-width: 0; }
  .hero .hero-meta .hm b { font-size: 1.4rem; }
  .hero .hero-meta .hm span { font-size: .74rem; line-height: 1.3; }
}

/* global inline-icon safeguard: stray svgs never balloon */
svg { max-width: 100%; }
.eyebrow svg, p svg, li svg, .info-row svg, .footer-col svg, .topbar svg, .plink svg, .crumbs svg { width: 1.05em; height: 1.05em; flex: none; }

/* ==========================================================================
   Cards / Pillars / Projects
   ========================================================================== */
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card .ic {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--gold-wash); color: var(--brand);
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.card h3 .mr { display: block; font-family: var(--deva); font-size: .62em; color: var(--brand); font-weight: 500; margin-top: 6px; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* project cards with image */
.project {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project .ph { aspect-ratio: 16/10; position: relative; }
.project .ph .tag {
  position: absolute; top: 12px; left: 12px; background: rgba(16,12,4,.72); color: #fff; backdrop-filter: blur(4px);
  font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px;
}
.project .pbody { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.project h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.project h3 .mr { display:block; font-family: var(--deva); font-size: .6em; color: var(--brand); font-weight: 500; margin-top: 6px; }
.project p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.project .plink { margin-top: 14px; font-weight: 600; color: var(--brand); font-size: .92rem; display: inline-flex; align-items: center; gap: .4rem; }
.project:hover .plink { gap: .65rem; }

/* striped image placeholder */
.ph-img {
  background-color: var(--bg-2);
  background-image:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--gold-soft) 60%, transparent) 0 2px, transparent 2px 13px);
  position: relative; overflow: hidden;
}
.ph-img.green {
  background-image:
    repeating-linear-gradient(135deg, color-mix(in srgb, var(--green-soft) 55%, transparent) 0 2px, transparent 2px 13px);
}
.ph-img .ph-label {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .76rem; letter-spacing: .05em;
  color: var(--ink-soft); text-align: center; padding: 12px; text-transform: lowercase;
}
.ph-img img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   About / split content
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split.media-left .media { order: -1; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--bg-2); }
.split .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split .media { position: relative; }
.media-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.pgrid .gtile:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16/9; }
img { -webkit-user-drag: none; -khtml-user-drag: none; user-select: none; }
.vwrap { margin-top: 2.6rem; }
.vhead { font-size: 1.15rem; color: var(--heading); margin-bottom: 1rem; }
.video-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.video-row .vid { margin: 0; }
.video-row .vidbox { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.video-row video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-row figcaption { margin-top: .7rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
@media (max-width: 720px) { .video-row { grid-template-columns: 1fr; } }
.vidbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* standalone video figure (used outside .video-row) */
.vid { margin: 0; }
.vid .vidbox { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.vid .vidbox video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vid figcaption { margin-top: .7rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.vid-single { max-width: 760px; margin-inline: auto; }
/* impact story narration (story left + video right) */
/* text is fluid; video column is capped so the clip never grows huge.
   minmax(0,...) stops a slow-loading/in-flow video from blowing the track out. */
.story-split { margin-top: clamp(40px, 6vw, 64px); grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
.story-split .vid { max-width: 460px; width: 100%; margin-inline: auto; }
@media (max-width: 980px) { .story-split { grid-template-columns: 1fr; } .story-split .vid { max-width: 420px; } }
.story-title { font-size: clamp(1.55rem, 3vw, 2.05rem); line-height: 1.15; color: var(--heading); margin: .45rem 0 0; }
.story-quote { margin: 1.5rem 0 0; padding: .1rem 0 .1rem 1.15rem; border-left: 3px solid var(--gold, var(--green)); }
.story-quote p { font-family: var(--display, inherit); font-style: italic; font-size: 1.1rem; line-height: 1.55; color: var(--heading); margin: 0; }
.ytlite { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; display: block; background: #000; }
.ytlite-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ytlite::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.30)); transition: background .2s; }
.ytlite:hover::after, .ytlite:focus-visible::after { background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.16)); }
.ytlite-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 68px; height: 48px; z-index: 1; opacity: .92; filter: drop-shadow(0 2px 8px rgba(0,0,0,.45)); transition: transform .2s, opacity .2s; }
.ytlite:hover .ytlite-btn, .ytlite:focus-visible .ytlite-btn { opacity: 1; transform: translate(-50%,-50%) scale(1.08); }
.ytlite:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.news-press { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; margin: 1.4rem auto 0; }
.press-tile-fig { margin: 0; }
.press-tile { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; aspect-ratio: 3/4; background: var(--paper); box-shadow: var(--shadow-sm); }
.press-tile img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.press-tile:hover img, .press-tile:focus-visible img { transform: scale(1.04); }
.press-tile:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.press-tile-fig figcaption { margin-top: .6rem; text-align: center; color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 560px) { .news-press { grid-template-columns: 1fr; max-width: 340px; } }
.proj-tag {
  position: absolute; top: 14px; left: 14px; background: rgba(16,12,4,.74); color: #fff; backdrop-filter: blur(4px);
  font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: .32rem .7rem; border-radius: 999px;
}
.proj-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.proj-nav a {
  font-size: .92rem; font-weight: 600; color: var(--ink-soft); padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--paper); transition: .15s;
}
.proj-nav a:hover { border-color: var(--brand); color: var(--brand); }
.split .copy h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.split .copy p { margin-top: 1.1rem; color: var(--ink-soft); }
.feature-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list li .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-wash); color: var(--brand);
  display: grid; place-items: center; margin-top: 2px;
}
.feature-list li .tick svg { width: 14px; height: 14px; }
.feature-list li b { color: var(--heading); font-weight: 600; }
.feature-list li span { color: var(--ink-soft); }

/* values / mission band */
.band-quote { max-width: 880px; margin: 0 auto; text-align: center; }
.band-quote .mark { font-family: var(--display); font-size: 4rem; color: var(--gold-soft); line-height: .6; }
.band-quote p { font-family: var(--display); font-size: clamp(1.5rem, 3.2vw, 2.2rem); color: var(--heading); line-height: 1.35; margin-top: .4rem; }
.band-quote .by { margin-top: 1.4rem; color: var(--ink-soft); font-size: .95rem; }
/* compact quote when it sits inside the narrow donate column */
.donate-quote { text-align: left; }
.donate-quote .mark { font-size: 3rem; }
.donate-quote p { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-top: .1rem; }
.donate-quote .by { margin-top: .9rem; }

/* stats / impact */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 22px 12px; }
.stat b { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold); display: block; }
.bg-ink .stat b { color: var(--gold-soft); }
.stat span { font-size: .92rem; color: var(--ink-soft); letter-spacing: .02em; }
.bg-ink .stat span { color: #b9c2da; }

/* steps / how to help */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; counter-reset: s; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.step .n { counter-increment: s; font-family: var(--display); font-size: 1.1rem; color: var(--brand); width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--gold-soft); display: grid; place-items: center; margin-bottom: 16px; }
.step .n::before { content: counter(s, decimal-leading-zero); }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--ink-soft); font-size: .96rem; margin-top: .4rem; }

/* ==========================================================================
   Donate widget
   ========================================================================== */
.donate-card {
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px);
}
.donate-card h3 { font-size: 1.5rem; }
/* make the donate card stretch so its bottom aligns with the taller left column */
.contact-grid[data-donate] { align-items: start; }
[data-donate] > div:last-child { display: flex; flex-direction: column; gap: 22px; }
[data-donate] > div:last-child .donate-card { flex: 1; width: 100%; }
/* UPI QR card — the live way to give */
.upi-card { background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 32px); text-align: center; }
.upi-card h3 { font-size: 1.35rem; margin: 4px 0 0; }
.upi-card .upi-sub { color: var(--ink-soft); font-size: .95rem; margin: 8px auto 0; max-width: 34ch; }
.upi-badge { display: inline-flex; align-items: center; gap: .4rem; background: color-mix(in srgb, var(--green) 13%, #fff); color: var(--green-deep); border: 1px solid var(--green-soft); border-radius: 999px; padding: 4px 12px; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.upi-badge svg { width: 14px; height: 14px; }
.upi-qr { margin: 16px auto 12px; width: fit-content; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm); }
.upi-qr img { display: block; width: min(240px, 62vw); height: auto; }
.upi-tid { font-size: .84rem; color: var(--ink-soft); letter-spacing: .02em; margin: 0; }
.upi-apps { font-size: .82rem; color: var(--ink-soft); margin: 12px 0 0; }
/* donate card: UPI pay helper */
.donate-sub { color: var(--ink-soft); font-size: .95rem; margin: .4rem 0 1.1rem; }
.upi-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--gold-wash); border: 1px solid var(--gold-soft); color: var(--ink); font-size: .92rem; line-height: 1.55; }
.upi-msg strong { color: var(--heading); word-break: break-word; }
.upi-msg .dt-greet { display: block; font-weight: 700; color: var(--heading); font-size: 1.05rem; margin-bottom: 5px; }
.upi-msg .dt-impact { display: block; margin-bottom: 9px; }
.upi-msg .dt-step { display: block; margin-bottom: 9px; }
.upi-msg .dt-receipt { display: block; font-size: .85rem; color: var(--ink-soft); }
.upi-id-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; font-size: .9rem; }
.upi-id-row .upi-id-label { color: var(--ink-soft); font-weight: 600; }
.upi-id-row code { background: var(--bg-2); border: 1px solid var(--line); border-radius: 7px; padding: 4px 9px; font-size: .84rem; color: var(--heading); word-break: break-all; }
.upi-copy { border: 1px solid var(--line-strong); background: var(--paper); border-radius: 7px; padding: 4px 11px; font-size: .82rem; font-weight: 600; color: var(--brand); cursor: pointer; }
.upi-copy:hover { background: var(--gold-wash); border-color: var(--brand); }
/* donation thank-you modal (keeps the donate card a fixed height) */
body.dm-open { overflow: hidden; }
.donate-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.donate-modal[hidden] { display: none; }
.dm-backdrop { position: absolute; inset: 0; background: rgba(16,12,4,.5); backdrop-filter: blur(2px); }
.dm-card { position: relative; z-index: 1; width: 100%; max-width: 440px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(26px, 4vw, 40px); text-align: center; animation: dmIn .25s ease; }
.dm-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.dm-close:hover { color: var(--heading); }
.dm-heart { font-size: 2.4rem; line-height: 1; margin-bottom: 4px; }
.dm-greet { font-size: 1.5rem; color: var(--heading); margin: 0 0 10px; }
.dm-impact { color: var(--ink); font-size: 1.02rem; margin: 0 0 14px; }
.dm-step { color: var(--ink-soft); font-size: .94rem; line-height: 1.6; margin: 0 0 14px; }
.dm-step strong { color: var(--heading); word-break: break-word; }
.dm-receipt { color: var(--ink-soft); font-size: .84rem; margin: 0; }
@keyframes dmIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.no-motion .dm-card { animation: none; }
/* impact amount list */
.give-list { display: grid; gap: 0; margin: 6px 0 0; }
.give-row { display: grid; grid-template-columns: 84px 1fr; gap: 20px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.give-row:last-child { border-bottom: 0; }
.give-amt { font-family: var(--display); font-size: 1.3rem; color: var(--brand); font-weight: 600; white-space: nowrap; }
.give-row p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.toggle-row { display: inline-flex; background: var(--bg-2); border-radius: 999px; padding: 4px; margin: 16px 0; }
.toggle-row button { border: 0; background: transparent; padding: .5rem 1.1rem; border-radius: 999px; font-weight: 600; color: var(--ink-soft); font-size: .92rem; }
.toggle-row button.on { background: var(--paper); color: var(--heading); box-shadow: var(--shadow-sm); }
.amt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amt {
  border: 1.5px solid var(--line-strong); background: var(--paper); border-radius: 10px; padding: .9rem .4rem;
  font-weight: 600; color: var(--heading); font-size: 1.05rem; transition: .15s; text-align: center;
}
.amt small { display: block; font-weight: 500; font-size: .72rem; color: var(--ink-soft); margin-top: 2px; }
.amt:hover { border-color: var(--brand); }
.amt.on { border-color: var(--cta); background: var(--gold-wash); color: var(--brand); }
[data-theme="modern"] .amt.on, [data-theme="balanced"] .amt.on { background: color-mix(in srgb, var(--green) 12%, #fff); }
.amt-custom { margin-top: 10px; position: relative; }
.amt-custom span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); font-weight: 600; }
.amt-custom input {
  width: 100%; padding: .85rem 1rem .85rem 2rem; border: 1.5px solid var(--line-strong); border-radius: 10px;
  font-family: var(--body); font-size: 1.05rem; font-weight: 600; color: var(--heading); background: var(--paper);
}
.amt-custom input:focus { outline: none; border-color: var(--brand); }
.donate-note { font-size: .82rem; color: var(--ink-soft); margin-top: 14px; display: flex; gap: .5rem; align-items: flex-start; }
.donate-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--green); }

/* ==========================================================================
   Forms
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--heading); }
.field label .req { color: var(--heart); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; padding: .8rem .95rem; border: 1.5px solid var(--line-strong);
  border-radius: 9px; background: var(--paper); color: var(--ink); transition: border-color .15s;
  width: 100%; min-width: 0;
}
.field { min-width: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.phone-row { display: flex; gap: 8px; }
.phone-row select { flex: 0 0 auto; min-width: 118px; max-width: 210px; }
.phone-row #ccOther { flex: 0 0 auto; width: 92px; text-align: center; }
.phone-row input[type="tel"] { flex: 1 1 auto; min-width: 0; }

/* ==========================================================================
   Legal / document pages
   ========================================================================== */
.page-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: clamp(44px, 6vw, 64px) 0; }
.page-hero .crumbs { font-size: .86rem; color: var(--ink-soft); margin-bottom: 12px; }
.page-hero .crumbs a:hover { color: var(--brand); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.page-hero p { margin-top: .8rem; color: var(--ink-soft); max-width: 60ch; }
.page-hero .meta { margin-top: 14px; font-size: .85rem; color: var(--ink-soft); }

/* photo banner variant (About), full-bleed image with readable copy.
   Base layout (mobile + tablet): text rides a dark band at the BOTTOM so the
   patient's and health worker's faces up top are never covered. */
.page-hero--photo {
  position: relative; overflow: hidden; border-bottom: 0; padding: 0;
  display: flex; align-items: flex-end;
  min-height: clamp(440px, 64vh, 560px);
  background: linear-gradient(160deg, #9a8a6a 0%, #7a6446 55%, #5d4a32 100%);
}
.page-hero--photo .page-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-hero--photo .page-hero-bg img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 34%; display: block;
}
.page-hero--photo .page-hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg,
    color-mix(in srgb, var(--navy-deep) 86%, transparent) 0%,
    color-mix(in srgb, var(--navy-deep) 66%, transparent) 26%,
    color-mix(in srgb, var(--navy-deep) 34%, transparent) 50%,
    color-mix(in srgb, var(--navy-deep) 10%, transparent) 68%,
    transparent 80%);
}
.page-hero--photo .wrap { position: relative; z-index: 2; width: 100%; max-width: none; margin: 0; padding-inline: clamp(24px, 5vw, 76px); }
.page-hero--photo .page-hero-copy { max-width: 640px; padding-block: clamp(34px, 6vh, 60px); }
.page-hero--photo .crumbs { color: rgba(255,255,255,.96); margin-bottom: 14px; font-weight: 500; text-shadow: 0 1px 2px rgba(8,14,32,.6), 0 2px 18px rgba(8,14,32,.85); }
.page-hero--photo .crumbs a { color: #fff; }
.page-hero--photo .crumbs a:hover { color: var(--gold-soft); }
.page-hero--photo h1 {
  color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.3rem); line-height: 1.07;
  text-wrap: balance; text-shadow: 0 2px 24px rgba(8,14,32,.6);
}
.page-hero--photo p {
  color: rgba(255,255,255,.92); max-width: 52ch; margin-top: 1rem; font-size: 1.06rem;
  text-shadow: 0 1px 16px rgba(8,14,32,.6);
}
/* Mobile (same treatment as the home hero): photo becomes a clean banner on top,
   the copy sits in a solid navy block beneath it. */
@media (max-width: 1024px) {
  .page-hero--photo { display: block; align-items: stretch; min-height: 0; background: var(--navy-deep); }
  .page-hero--photo .page-hero-bg { position: relative; inset: auto; height: min(42vh, 300px); }
  .page-hero--photo .page-hero-bg img { object-position: 50% 30%; }
  .page-hero--photo .page-hero-scrim {
    inset: 0 0 auto 0; height: min(42vh, 300px);
    background: linear-gradient(180deg, transparent 55%, var(--navy-deep) 100%);
  }
  .page-hero--photo .wrap { background: var(--navy-deep); }
  .page-hero--photo .page-hero-copy { padding-block: clamp(22px, 6vw, 34px); }
  .page-hero--photo h1, .page-hero--photo p, .page-hero--photo .crumbs { text-shadow: none; }
  .page-hero--photo p { color: rgba(255,255,255,.88); }
}

.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 20px); }
.doc-toc .toc-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); margin-bottom: 12px; font-weight: 600; }
.doc-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; display: grid; gap: 2px; }
.doc-toc a { display: block; padding: .42rem .6rem; border-radius: 7px; font-size: .92rem; color: var(--ink-soft); border-left: 2px solid transparent; }
.doc-toc a:hover { color: var(--brand); background: var(--bg-2); }
.doc-toc a.active { color: var(--brand); border-left-color: var(--brand); background: var(--gold-wash); }

.doc-body { max-width: 760px; }
/* Uniform vertical rhythm for the document body: one gap value everywhere,
   so the intro→section gap equals every section→section gap. */
.doc-body > p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 48px; }
/* zero trailing child margins so a section's gap is exactly its own margin
   (a section ending in a list no longer adds the list's extra margin) */
.doc-section > *:last-child { margin-bottom: 0; }
/* drop the trailing gap so the body's top and bottom breathing room match */
.doc-body > .doc-section:last-child { margin-bottom: 0; }
.doc-body .note {
  background: var(--gold-wash); border: 1px solid var(--gold-soft); border-radius: 10px; padding: 16px 18px;
  font-size: .92rem; color: var(--ink-soft); margin-bottom: 32px; display: flex; gap: 12px; align-items: flex-start;
}
.doc-body .note svg { width: 20px; height: 20px; flex: none; color: var(--gold-deep); margin-top: 2px; }
.doc-section { margin-bottom: 48px; scroll-margin-top: calc(var(--header-h) + 20px); }
.doc-section h2 { font-size: 1.5rem; margin-bottom: .7rem; display: flex; gap: .6rem; align-items: baseline; }
.doc-section h2 .num { font-size: .9rem; color: var(--brand); font-family: var(--body); font-weight: 700; }
.doc-section h3 { font-size: 1.15rem; margin: 1.2rem 0 .4rem; }
.doc-section p { color: var(--ink-soft); margin-bottom: .8rem; }
.doc-section ul, .doc-section ol { color: var(--ink-soft); margin: 0 0 .9rem; padding-left: 1.3rem; }
.doc-section li { margin-bottom: .5rem; }
.doc-section a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.placeholder {
  background: color-mix(in srgb, var(--heart) 12%, transparent); color: var(--heart);
  border: 1px dashed color-mix(in srgb, var(--heart) 45%, transparent); border-radius: 5px;
  padding: 0 .35em; font-size: .9em; font-weight: 600; white-space: nowrap;
}

/* contact cards */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
/* contact: form paired with a filling map placeholder */
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; }
.contact-form-grid > * { min-width: 0; }
.contact-intro {
  align-self: stretch; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: clamp(26px, 3vw, 34px);
}
.contact-intro .btn { margin-top: auto !important; }
/* guarantee breathing room above the WhatsApp button even when the card isn't
   stretched (mobile / single column), where margin-top:auto collapses to 0 */
.contact-intro .feature-list { margin-bottom: 1.85rem; }
.map-ph { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 480px; border: 1px solid var(--line); }
.map-ph .addr { position: absolute; left: 18px; right: 18px; bottom: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.map-ph .addr .t { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-soft); font-weight: 600; }
.map-ph .addr .v { color: var(--heading); font-weight: 500; margin-top: 3px; }
.contact-tile .ic { width: 46px; height: 46px; border-radius: 11px; background: var(--gold-wash); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.contact-tile .ic svg { width: 22px; height: 22px; }
.contact-tile .t { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 600; }
.contact-tile .v { color: var(--heading); font-weight: 500; margin-top: 3px; font-size: .98rem; word-break: break-word; }
@media (max-width: 860px) { .contact-form-grid { grid-template-columns: 1fr; } .map-ph { min-height: 300px; order: 2; } }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--gold-wash); color: var(--brand); display: grid; place-items: center; }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row .t { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 600; }
.info-row .v { color: var(--heading); font-weight: 500; }

/* thank-you */
.ty-hero { text-align: center; max-width: 640px; margin: 0 auto; }
.ty-badge {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 26px; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #fff, var(--gold-wash)); box-shadow: var(--shadow); border: 1px solid var(--gold-soft);
}
.ty-badge svg { width: 46px; height: 46px; color: var(--green); }
.ty-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.ty-hero h1 .mr { display: block; font-family: var(--deva); font-size: .42em; color: var(--brand); margin-top: .4rem; }
.next-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; text-align: left; box-shadow: var(--shadow-sm); }
.next-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.next-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.next-card li { display: flex; gap: 12px; color: var(--ink-soft); font-size: .96rem; }
.next-card li .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-wash); color: var(--brand); display: grid; place-items: center; }
.next-card li .ic svg { width: 14px; height: 14px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: #fff; }
.cta-band h2 .mr { display:block; font-family: var(--deva); font-size: .48em; color: var(--gold-soft); margin-top: .4rem; }
.cta-band p { color: #c8cfe2; max-width: 50ch; margin: 1rem auto 0; font-size: 1.1rem; }
.cta-band .actions { margin-top: 2rem; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: #c2cadf; padding: clamp(48px, 6vw, 76px) 0 28px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-brand { flex: 1 1 300px; max-width: 360px; }
.footer-col { flex: 0 0 auto; }
.footer-brand .fmark { display: flex; align-items: flex-start; gap: 12px; min-height: 48px; margin-bottom: 0; }
.footer-brand .fmark img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #fffdf6; box-shadow: 0 0 0 1.5px var(--gold); flex: none; }
.footer-brand .bnames { display: flex; flex-direction: column; line-height: 1.12; }
.footer-brand .fmark .en { font-family: var(--display); font-size: 1.18rem; color: #fff; white-space: nowrap; }
.footer-brand .fmark .mr { font-family: var(--deva); font-size: .82rem; color: var(--gold-soft); white-space: nowrap; margin-top: 2px; }
.footer-brand p { font-size: .94rem; color: #9aa4c0; max-width: 34ch; margin-top: 16px; }
.footer-brand .socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-brand .socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #c2cadf; transition: .18s; }
.footer-brand .socials a:hover { background: var(--gold); color: #1a1405; border-color: var(--gold); }
.footer-brand .socials svg { width: 17px; height: 17px; }
.footer-col h4 { font-family: var(--body); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 0; display: block; line-height: 1.2; padding-top: 4px; white-space: nowrap; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: .94rem; color: #aab2cc; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-reach li { display: flex; align-items: center; gap: 10px; }
.footer-reach svg { width: 17px; height: 17px; flex: none; color: var(--gold-soft); }
.footer-reg { font-size: .82rem; color: #8089a4; margin-top: 8px; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; font-size: .84rem; color: #8089a4; }
.footer-bottom a:hover { color: var(--gold-soft); }
.foot-credit { font-size: .82rem; letter-spacing: .04em; color: #6b7391; }
.foot-credit b { color: #97a0bd; font-weight: 600; }

/* footer collapsible sections (accordion on mobile, static on desktop) */
.foot-toggle {
  display: flex; align-items: flex-start; width: 100%; background: none; border: 0;
  padding: 0; margin: 0; text-align: left; color: inherit; font: inherit; cursor: default;
  min-height: 48px;
}
.foot-toggle .chev { display: none; }
.foot-panel { overflow: visible; }
/* align every column heading on one 48px band so they line up with the logo row */
.footer-col .foot-toggle h4 { margin-bottom: 0; }
.footer-col .foot-panel { margin-top: 14px; }
.footer-brand .foot-panel { margin-top: 16px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* language visibility helpers */
[data-lang-active="en"] .only-mr { display: none !important; }
[data-lang-active="mr"] .only-en { display: none !important; }

/* motion off (Tweaks) */
.no-motion *, .no-motion *::before, .no-motion *::after {
  animation-duration: 0s !important; animation-delay: 0s !important; transition: none !important;
}
.no-motion .hero-art .ring { animation: none !important; }
.no-motion .reveal { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero .lead { max-width: 52ch; }
  .split { grid-template-columns: 1fr; }
  .split.media-left .media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { display: none; }
  .footer-brand { flex: 1 1 100%; max-width: none; margin-bottom: 8px; }
  .footer-col { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }
}
@media (max-width: 860px) {
  .brand .mark { width: 62px; height: 62px; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .topbar .tb-left span.hide-sm { display: none; }
}
@media (max-width: 640px) {
  /* Footer: everything visible in a tidy grid, brand & contact full-width,
     the two link groups side by side. No accordion. */
  .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; flex-wrap: nowrap; }
  .footer-brand { grid-column: 1 / -1; max-width: none; text-align: center; }
  /* logo on the left, English + Marathi name stacked on the right; group centered to the page */
  .footer-brand .foot-toggle { justify-content: center; }
  .footer-brand .fmark { flex-direction: row; align-items: center; gap: 13px; }
  .footer-brand .bnames { align-items: flex-start; text-align: left; }
  .footer-brand p { margin-inline: auto; max-width: 44ch; }
  .footer-brand .socials { justify-content: center; }
  .footer-reach { grid-column: 1 / -1; }
  /* neutralise the accordion mechanics: panels stay open, headers inert, chevrons hidden */
  .foot-toggle { cursor: default; pointer-events: none; padding: 0 0 12px; justify-content: flex-start; }
  .foot-toggle .chev { display: none; }
  .foot-panel { overflow: visible; max-height: none; opacity: 1; }
  .footer-col .foot-panel, .footer-brand .foot-panel { margin-top: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  :root { --header-h: 78px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .amt-grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .brand .bname .en { font-size: 1.06rem; white-space: normal; }
  .brand .mark { width: 54px; height: 54px; }
  .topbar .tb-left { display: none; }
}

/* Hero responsive (mobile layout B): the photo becomes a clean banner and the
   copy sits in a solid navy block beneath it, instead of a full-screen overlay
   dimming the whole image. */
@media (max-width: 1024px) {
  .hero { min-height: 0; display: block; background: var(--navy-deep); }
  .hero-bg { position: relative; inset: auto; height: min(46vh, 340px); }
  .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 50% 30%; }
  /* scrim confined to the banner: a soft fade so the photo melts into the navy block */
  .hero-scrim {
    inset: 0 0 auto 0; height: min(46vh, 340px);
    background: linear-gradient(180deg, transparent 52%, var(--navy-deep) 100%);
  }
  .hero-inner { background: var(--navy-deep); padding-block: clamp(26px, 6vw, 40px) clamp(20px, 5vw, 32px); }
  .hero-copy { max-width: none; }
  .hero h1 { text-shadow: none; }
  .hero .lead { text-shadow: none; color: rgba(255,255,255,.88); }
  .hero-meta-bar { margin-top: 0; }
}

/* ==========================================================================
   Added components, count-up, project filter, gallery + lightbox, FAQ, to-top
   ========================================================================== */

/* keep animated numbers from reflowing width as they tick */
[data-count] { font-variant-numeric: tabular-nums; }

/* ---- Project filter pills ---- */
.proj-filter {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: -8px 0 34px;
}
.proj-filter .pfilter {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--body); font-size: .92rem; font-weight: 600; color: var(--ink-soft);
  padding: .5rem 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--paper); transition: .16s;
}
.proj-filter .pfilter .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.proj-filter .pfilter:hover { border-color: var(--brand); color: var(--brand); }
.proj-filter .pfilter.on { border-color: var(--cta); background: var(--gold-wash); color: var(--brand); }
[data-theme="modern"] .proj-filter .pfilter.on, [data-theme="balanced"] .proj-filter .pfilter.on { background: color-mix(in srgb, var(--green) 12%, #fff); }
.project.is-hidden { display: none; }
.project.filtering { animation: proj-in .4s ease both; }
@keyframes proj-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---- Gallery ---- */
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.gtile {
  position: relative; display: block; padding: 0; border: 0; cursor: pointer;
  flex: 0 1 calc(33.333% - 11px);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2);
  aspect-ratio: 4/3; box-shadow: var(--shadow-sm); isolation: isolate;
}
.gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gtile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(16,12,4,.62) 100%);
  opacity: .85; transition: opacity .25s;
}
.gtile .gcap {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1;
  color: #fff; font-weight: 600; font-size: .96rem; text-align: left;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.gtile:hover img, .gtile:focus-visible img { transform: scale(1.05); }
.gtile:hover::after { opacity: 1; }
.gtile:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 4vw;
  background: rgba(10,8,3,.9); backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lightbox .lb-figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox .lb-img {
  max-width: 100%; max-height: 82vh; width: auto; height: auto;
  border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #222;
}
.lightbox .lb-cap { margin-top: 14px; color: #f2ede0; font-size: .98rem; }
.lightbox .lb-close {
  position: absolute; top: 16px; right: 20px; width: 46px; height: 46px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff;
  font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background .18s;
}
.lightbox .lb-close:hover { background: rgba(255,255,255,.24); }
.lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .18s;
  display: grid; place-items: center;
}
.lightbox .lb-nav svg { width: 24px; height: 24px; }
.lightbox .lb-nav:hover { background: rgba(255,255,255,.24); }
.lightbox .lb-prev { left: 3vw; }
.lightbox .lb-next { right: 3vw; }
body.lb-open { overflow: hidden; }

/* ---- FAQ accordion ---- */
.faq { display: grid; gap: 12px; }
.faq-item {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .28s ease;
}
/* brand accent bar slides in on the open item */
.faq-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--brand); transform: scaleY(0); transform-origin: top; transition: transform .32s ease;
}
.faq-item.open { border-color: var(--line-strong); box-shadow: var(--shadow); }
.faq-item.open::before { transform: scaleY(1); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--display); font-size: 1.12rem; color: var(--heading); line-height: 1.3;
  transition: color .18s ease, background .18s ease;
}
.faq-q:hover { color: var(--brand); background: color-mix(in srgb, var(--brand) 5%, transparent); }
.faq-item.open .faq-q { color: var(--brand); }
/* +/× toggle rendered as a filled circle button */
.faq-q .faq-ic {
  width: 30px; height: 30px; flex: none; padding: 5px; border-radius: 50%;
  color: var(--brand); background: var(--gold-wash);
  transition: transform .34s cubic-bezier(.34,1.4,.5,1), background .2s ease, color .2s ease;
}
.faq-q:hover .faq-ic { background: color-mix(in srgb, var(--brand) 16%, #fff); }
.faq-item.open .faq-q .faq-ic { transform: rotate(135deg); background: var(--brand); color: #fff; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .34s ease; }
.faq-a-in {
  padding: 0 20px 18px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .3s ease .04s, transform .3s ease .04s;
}
.faq-item.open .faq-a-in { opacity: 1; transform: none; }
.faq-a-in p { color: var(--ink-soft); font-size: .98rem; }
@media (prefers-reduced-motion: reduce) {
  .faq-item::before, .faq-q .faq-ic, .faq-a, .faq-a-in { transition: none; }
}

/* ---- Back to top ---- */
#toTop {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--cta); color: var(--cta-ink); box-shadow: var(--shadow);
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
#toTop.show { opacity: 1; visibility: visible; transform: none; }
#toTop:hover { background: var(--cta-hover); }
#toTop svg { width: 22px; height: 22px; }

/* ---- Document cards (registration PDFs) ---- */
.docs-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.doc-card {
  flex: 0 1 calc(25% - 12px);
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.doc-card .doc-ic {
  flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--heart) 10%, #fff); color: var(--heart);
}
.doc-card .doc-ic svg { width: 22px; height: 22px; }
.doc-card .doc-title { display: block; font-weight: 600; color: var(--heading); font-size: .98rem; line-height: 1.25; }
.doc-card .doc-view { display: inline-flex; align-items: center; gap: .35rem; margin-top: 4px; font-size: .82rem; color: var(--brand); font-weight: 600; }
.doc-card:hover .doc-view { gap: .55rem; }
@media (max-width: 860px) { .doc-card { flex-basis: calc(50% - 8px); } }
@media (max-width: 480px) { .doc-card { flex-basis: 100%; } }

@media (max-width: 860px) {
  .gallery { gap: 12px; }
  .gtile { flex-basis: calc(50% - 6px); }
}
@media (max-width: 560px) {
  .gtile { flex-basis: calc(50% - 6px); }
  .gtile .gcap { font-size: .82rem; left: 10px; right: 10px; }
  .lightbox .lb-prev { left: 8px; }
  .lightbox .lb-next { right: 8px; }
  #toTop { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .project.filtering { animation: none; }
  .gtile img { transition: none; }
}
