/* =========================================================
   JPOND — main stylesheet (mobile first, no web fonts)
   ========================================================= */
:root {
  --teal-900: #0a3a3e;
  --teal-700: #0f5e63;
  --teal-600: #146b71;
  --teal-100: #e2f0ef;
  --teal-50: #f1f8f7;
  --marigold: #f2a61f;
  --marigold-100: #fdf0d3;
  --terracotta: #a3401f;
  --terracotta-700: #86331a;
  --terracotta-100: #f8e4da;
  --ink: #1b2627;
  --muted: #44585a;
  --line: #cfdcdb;
  --cream: #fbf7ef;
  --white: #ffffff;
  --focus: #1a4fd6;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 4px rgba(10, 58, 62, .06), 0 8px 24px rgba(10, 58, 62, .08);
  --container: 72rem;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, "Noto Sans Devanagari", "Kohinoor Devanagari", "Mukta", "Nirmala UI", sans-serif;
  --font-ne: "Noto Sans Devanagari", "Kohinoor Devanagari", "Mukta", "Nirmala UI", "Mangal", system-ui, sans-serif;
  --font-head: Georgia, "Iowan Old Style", "Palatino Linotype", "Noto Serif", "Noto Serif Devanagari", serif;

  /* Mithila-inspired border strip: triangles, dots and double lines */
  --mithila: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16' viewBox='0 0 48 16'%3E%3Crect width='48' height='16' fill='%23fbf7ef'/%3E%3Cpath d='M0 1.5h48M0 14.5h48' stroke='%230f5e63' stroke-width='1.5'/%3E%3Cpath d='M2 13 L10 4 L18 13 Z' fill='%23a3401f'/%3E%3Cpath d='M26 13 L34 4 L42 13 Z' fill='%23f2a61f'/%3E%3Cpath d='M5.5 13 L10 8 L14.5 13' fill='none' stroke='%23fbf7ef' stroke-width='1'/%3E%3Cpath d='M29.5 13 L34 8 L38.5 13' fill='none' stroke='%23fbf7ef' stroke-width='1'/%3E%3Ccircle cx='22' cy='8' r='1.6' fill='%230f5e63'/%3E%3Ccircle cx='46' cy='8' r='1.6' fill='%230f5e63'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;          /* 18px base for readability */
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal-700); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--terracotta); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--teal-900); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
address { font-style: normal; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

/* ---------- Language toggle (English default) ---------- */
html:not([data-lang="ne"]) .ne { display: none !important; }
html[data-lang="ne"] .en { display: none !important; }
[lang="ne"], html[data-lang="ne"] body { font-family: var(--font-ne); }
html[data-lang="ne"] h1, html[data-lang="ne"] h2, html[data-lang="ne"] h3 { font-family: var(--font-ne); }
html[data-lang="ne"] body { line-height: 1.8; }

/* ---------- Utility ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--teal-900); color: #fff; padding: .7em 1em; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.ph { background: var(--marigold-100); color: #6b4300; border: 1px dashed #b07a10; border-radius: 4px; padding: 0 .3em; font-size: .92em; white-space: normal; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 46rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); margin-bottom: .5rem; }
html[data-lang="ne"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-700); color: #fff; }
.btn-primary:hover { background: var(--teal-900); color: #fff; }
.btn-accent { background: var(--terracotta); color: #fff; }
.btn-accent:hover { background: var(--terracotta-700); color: #fff; }
.btn-outline { background: transparent; color: var(--teal-700); border-color: var(--teal-700); }
.btn-outline:hover { background: var(--teal-700); color: #fff; }
.btn-light { background: #fff; color: var(--teal-900); }
.btn-light:hover { background: var(--marigold-100); color: var(--teal-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Mithila decorative border ---------- */
.mithila-border { height: 16px; background: var(--mithila) repeat-x; background-size: 48px 16px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 239, .97); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(6px)) { .site-header { background: rgba(251, 247, 239, .9); backdrop-filter: blur(6px); } }
.header-inner { display: flex; align-items: center; gap: .5rem; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--teal-900); margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .04em; }
.brand-sub { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.lang-toggle, .nav-toggle {
  min-height: 44px; min-width: 44px; padding: .4em .8em; border-radius: 999px; font: inherit; font-size: .95rem; font-weight: 700; cursor: pointer;
  background: #fff; color: var(--teal-900); border: 2px solid var(--line);
}
.lang-toggle:hover, .nav-toggle:hover { border-color: var(--teal-700); }
.nav-toggle { display: inline-flex; align-items: center; gap: .5em; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; border-radius: 2px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.site-nav { display: none; width: 100%; padding: .5rem 0 1rem; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: block; padding: .75rem .25rem; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--terracotta); }
.nav-cta { display: flex; gap: .6rem; margin-top: 1rem; flex-wrap: wrap; }
.nav-cta .btn { flex: 1 1 auto; }
.nav-cta .btn[aria-current="page"] { box-shadow: 0 0 0 3px var(--marigold); }
.no-js .site-nav { display: block; }
.no-js .nav-toggle { display: none; }

@media (min-width: 1240px) {
  .site-header .container { max-width: 90rem; }
  .header-inner { flex-wrap: nowrap; gap: 1rem; }
  .brand { margin-right: 0; }
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; align-items: center; width: auto; padding: 0; margin-left: auto; gap: 1rem; }
  .site-nav ul { display: flex; gap: .1rem; }
  .site-nav li a { border: 0; padding: .5rem .5rem; font-size: .95rem; white-space: nowrap; border-radius: 6px; }
  .site-nav li a:hover { background: var(--teal-100); color: var(--teal-900); }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--terracotta); border-radius: 0; }
  .nav-cta { margin: 0; flex-wrap: nowrap; }
  .nav-cta .btn { min-height: 44px; padding: .5em 1em; white-space: nowrap; }
  .lang-toggle { order: 3; }
}

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
@media (min-width: 768px) { .section { padding: 5rem 0; } }
.section-alt { background: var(--teal-50); }
.section-white { background: #fff; }
.section-dark { background: var(--teal-900); color: #eef6f5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: var(--marigold); }
.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--teal-50) 0%, var(--cream) 100%); padding: 2.5rem 0 0; }
.hero-grid { display: grid; gap: 2rem; align-items: center; position: relative; z-index: 1; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } .hero { padding-top: 4rem; } }
.hero h1 { margin-bottom: .4em; }
.hero .tagline { font-family: var(--font-head); font-size: clamp(1.35rem, 3.5vw, 1.8rem); color: var(--terracotta); margin-bottom: 1rem; }
.hero .motto { font-size: 1.05rem; color: var(--muted); }
.since-badge {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .45rem; border-radius: 999px;
  background: #fff; border: 2px solid var(--marigold); color: var(--teal-900); font-weight: 700; margin-bottom: 1.25rem; box-shadow: var(--shadow);
}
.since-badge .year { background: var(--teal-700); color: #fff; border-radius: 999px; padding: .2rem .7rem; font-size: .95rem; }
.hero .temple { color: var(--teal-700); opacity: .16; display: block; width: 100%; max-width: 900px; margin: 1.5rem auto 0; }
.page-hero { background: linear-gradient(180deg, var(--teal-50), var(--cream)); padding: 2.5rem 0 0; position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; padding-bottom: 1.5rem; }
.page-hero .temple-bg { color: var(--teal-700); opacity: .1; position: absolute; right: -40px; bottom: 0; width: 520px; max-width: 80%; pointer-events: none; }
.breadcrumb { font-size: .95rem; margin-bottom: .5rem; }
.breadcrumb a { color: var(--muted); }

/* ---------- Photo placeholders ---------- */
.photo-ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .5rem;
  aspect-ratio: 4 / 3; width: 100%; padding: 1rem; border-radius: var(--radius); border: 2px dashed #7f9c9b; color: var(--teal-900);
  background:
    repeating-linear-gradient(45deg, rgba(15, 94, 99, .05) 0 12px, transparent 12px 24px),
    var(--teal-100);
}
.photo-ph.wide { aspect-ratio: 16 / 9; }
.photo-ph.square { aspect-ratio: 1; }
.photo-ph svg { width: 48px; height: 48px; color: var(--teal-700); }
.photo-ph strong { font-size: 1rem; }
.photo-ph span { font-size: .9rem; color: var(--muted); max-width: 26rem; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--marigold-100); color: var(--terracotta); margin-bottom: 1rem; }
.card-icon svg { width: 30px; height: 30px; }
.card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.card-link:hover h3 { color: var(--terracotta); }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; background: var(--teal-100); color: var(--teal-900); margin-bottom: .6rem; }
.tag-warm { background: var(--terracotta-100); color: var(--terracotta-700); }
.tag-sample { background: var(--marigold-100); color: #6b4300; border: 1px dashed #b07a10; }

/* ---------- Impact numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border-radius: var(--radius); padding: 1.25rem; text-align: center; border-top: 5px solid var(--marigold); box-shadow: var(--shadow); }
.stat-num { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 700; color: var(--teal-700); line-height: 1.1; }
.stat-label { display: block; font-size: .98rem; color: var(--muted); margin-top: .3rem; }

/* ---------- Split / feature ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } .split.reverse > :first-child { order: 2; } }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--teal-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.values { list-style: none; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values li { background: #fff; border-left: 5px solid var(--terracotta); padding: 1rem 1.25rem; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.values strong { display: block; color: var(--teal-900); font-size: 1.1rem; }

/* ---------- Callouts ---------- */
.callout { border-radius: var(--radius); padding: 1.25rem 1.5rem; background: var(--marigold-100); border-left: 6px solid var(--marigold); }
.callout-teal { background: var(--teal-100); border-left-color: var(--teal-700); }
.callout p:last-child { margin-bottom: 0; }
.notice-sample { border: 2px dashed #b07a10; background: var(--marigold-100); color: #4d3200; border-radius: var(--radius-sm); padding: .8rem 1rem; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal-700); color: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e6f2f1; max-width: 40rem; }
.cta-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: var(--mithila) repeat-x; background-size: 48px 16px; opacity: .9; }
@media (min-width: 768px) { .cta-band { padding: 3rem; } }

/* ---------- Service detail ---------- */
.service { display: grid; gap: 1.25rem; padding: 2rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service:last-child { border-bottom: 0; }
@media (min-width: 860px) { .service { grid-template-columns: 280px 1fr; gap: 2.5rem; } }
.service h3 { font-size: 1.5rem; }
.service-num { font-family: var(--font-head); color: var(--terracotta); font-weight: 700; }
.jump-links { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.jump-links a { display: inline-block; padding: .4rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: .95rem; font-weight: 600; }
.jump-links a:hover { border-color: var(--teal-700); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
caption { text-align: left; padding: 1rem 1rem .25rem; font-weight: 700; color: var(--teal-900); }
th, td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--teal-50); color: var(--teal-900); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tfoot td, tfoot th { background: var(--marigold-100); font-weight: 700; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 3px; background: var(--teal-100); }
.timeline li { position: relative; padding: 0 0 1.75rem 3rem; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 5px; width: 21px; height: 21px; border-radius: 50%; background: #fff; border: 4px solid var(--teal-700); }
.timeline li.done::before { background: var(--marigold); border-color: var(--terracotta); }
.timeline .when { display: block; font-weight: 700; color: var(--terracotta); font-size: .95rem; }
.timeline h3 { margin: .2rem 0 .3rem; font-size: 1.2rem; }

/* ---------- Progress ---------- */
.progress-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.progress { height: 22px; border-radius: 999px; background: var(--teal-100); overflow: hidden; border: 1px solid #b5cccb; margin: .75rem 0; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--teal-700), var(--marigold)); border-radius: 999px; min-width: 0; }
.progress-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: 1rem; }

/* ---------- Donate ---------- */
.amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; border: 0; padding: 0; margin: 0 0 1rem; }
@media (min-width: 560px) { .amounts { grid-template-columns: repeat(4, 1fr); } }
.amounts legend, .freq legend { font-weight: 700; margin-bottom: .6rem; padding: 0; }
.amount-opt input, .freq-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.amount-opt label, .freq-opt label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 64px; padding: .6rem; border-radius: var(--radius-sm);
  border: 2px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; text-align: center; color: var(--teal-900);
}
.amount-opt label small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.amount-opt input:checked + label, .freq-opt input:checked + label { border-color: var(--teal-700); background: var(--teal-100); box-shadow: 0 0 0 2px var(--teal-700) inset; }
.amount-opt input:focus-visible + label, .freq-opt input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.freq { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; border: 0; padding: 0; margin: 0 0 1rem; }
.pay-methods { display: grid; gap: 1rem; }
@media (min-width: 720px) { .pay-methods { grid-template-columns: repeat(2, 1fr); } }
.pay-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.pay-card h3 { font-size: 1.15rem; display: flex; align-items: center; gap: .5rem; }
.qr-ph { width: 160px; aspect-ratio: 1; display: grid; place-items: center; text-align: center; font-size: .85rem; padding: .5rem; border: 2px dashed #7f9c9b; border-radius: var(--radius-sm); background: var(--teal-50); color: var(--teal-900); }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0; }
dl.kv dt { font-weight: 700; color: var(--teal-900); }
dl.kv dd { margin: 0; }
.impact-list { list-style: none; padding: 0; display: grid; gap: .75rem; }
.impact-list li { display: flex; gap: 1rem; align-items: baseline; background: #fff; border-radius: var(--radius-sm); padding: .9rem 1.1rem; border: 1px solid var(--line); }
.impact-list .amt { font-weight: 700; color: var(--terracotta); white-space: nowrap; min-width: 6.5rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: .35rem; color: var(--teal-900); }
.field .hint { display: block; font-size: .92rem; color: var(--muted); margin: -.2rem 0 .4rem; font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field input[type="date"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .65rem .85rem; border: 2px solid #8aa3a2; border-radius: var(--radius-sm); background: #fff; color: var(--ink); font: inherit; font-size: 1rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-700); outline: 3px solid var(--focus); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .error { color: #b3261e; font-size: .95rem; font-weight: 600; margin-top: .3rem; display: block; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.checkbox { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; }
.checkbox input { width: 22px; height: 22px; margin-top: .25rem; flex: 0 0 auto; accent-color: var(--teal-700); }
.req { color: #b3261e; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #e3f4e8; border: 2px solid #2e7d47; color: #1d4f2d; }
.form-status.err { background: #fbe9e7; border: 2px solid #b3261e; color: #7a1a14; }
.form-status.info { background: var(--marigold-100); border: 2px solid #b07a10; color: #4d3200; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 2rem; } }

/* ---------- Tabs (Get involved) ---------- */
.tabs [role="tablist"] { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tabs [role="tab"] { font: inherit; font-weight: 700; min-height: 48px; padding: .6rem 1.2rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--teal-900); cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }

/* ---------- People ---------- */
.person { text-align: center; }
.person .photo-ph { aspect-ratio: 1; border-radius: 50%; max-width: 160px; margin: 0 auto 1rem; padding: .5rem; }
.person .photo-ph span { font-size: .75rem; }
.person h3 { font-size: 1.1rem; margin-bottom: .2rem; }

/* ---------- Partners ---------- */
.partner { display: flex; flex-direction: column; }
.partner .logo-ph { height: 90px; border: 2px dashed #7f9c9b; border-radius: var(--radius-sm); display: grid; place-items: center; text-align: center; font-size: .9rem; color: var(--muted); background: var(--teal-50); margin-bottom: 1rem; padding: .5rem; }

/* ---------- News ---------- */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card .photo-ph { border-radius: 0; border-width: 0 0 2px; }
.post-card .post-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .9rem; color: var(--muted); margin-bottom: .4rem; }
article.post { max-width: 46rem; margin: 0 auto; scroll-margin-top: 90px; padding: 2.5rem 0; border-top: 1px solid var(--line); }

/* ---------- Docs list ---------- */
.doc-list { list-style: none; padding: 0; display: grid; gap: .75rem; }
.doc-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.doc-list .doc-title { font-weight: 700; color: var(--teal-900); display: flex; gap: .6rem; align-items: center; }
.doc-list svg { width: 26px; height: 26px; color: var(--terracotta); flex: 0 0 auto; }

/* ---------- Map ---------- */
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--teal-100); aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 1rem; }
@media (min-width: 768px) { .map-box { aspect-ratio: 16 / 10; } }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-box.loaded { padding: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #dbe9e8; margin-top: 0; position: relative; }
.site-footer a { color: #ffd48a; }
.site-footer a:hover { color: #fff; }
.site-footer .ph { background: rgba(253, 240, 211, .15); color: #ffe2a8; border-color: #e2b45a; }
.footer-temple { color: #1b5a5f; line-height: 0; background: var(--cream); }
.footer-temple svg { display: block; width: 100%; max-width: 560px; margin: 0 auto; }
.footer-temple { background: linear-gradient(var(--cream), var(--cream)); }
.site-footer > .mithila-border + .footer-temple { padding-top: 1.5rem; }
.footer-temple .temple-foot { color: var(--teal-900); }
.footer-grid { display: grid; gap: 2rem; padding-top: 2.5rem; padding-bottom: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: .3rem; letter-spacing: .04em; }
.footer-motto { color: #ffd48a; font-size: 1.05rem; }
.footer-h { font-family: var(--font); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: .8rem; }
html[data-lang="ne"] .footer-h { text-transform: none; letter-spacing: 0; font-size: 1.1rem; }
.footer-list, .footer-contact { list-style: none; padding: 0; margin: 0; font-size: 1rem; }
.footer-list li, .footer-contact li { margin-bottom: .5rem; }
.site-footer address { margin-bottom: .8rem; font-size: 1rem; }
.est-badge { display: inline-block; border: 2px solid var(--marigold); color: #fff; border-radius: 999px; padding: .25rem .9rem; font-weight: 700; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 1.25rem; padding-bottom: 2rem; font-size: .92rem; color: #b9d2d0; }
.footer-bottom p { margin-bottom: .4rem; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .btn, .lang-toggle, .mithila-border { display: none !important; }
  body { background: #fff; font-size: 12pt; }
}
