/* Shared structure for the clinic pages: layout, forms, booking, treatment page, FAQ, footer basics.
   Colours, fonts and shapes come from the variables in style.css, so this file rarely needs editing. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body, 1rem)/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus, var(--brand)); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 32px, var(--wrap, 1180px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.sample { font-size: .78em; font-weight: 500; color: var(--muted); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .3em; min-height: 48px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: var(--btn-radius, var(--radius)); font-weight: 600; text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover, var(--brand)); }
.btn-ghost { border-color: var(--line-strong, var(--line)); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }

/* ---------- header + mobile menu (each theme styles the look) ---------- */
.header { position: sticky; top: 0; z-index: 40; }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; text-decoration: none; border-radius: var(--radius); }
.nav a[aria-current="page"] { font-weight: 700; }
.header-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1.5px solid var(--line); border-radius: var(--radius); background: transparent; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; margin: auto; background: currentColor; position: relative; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav, .header-cta .btn-ghost { display: none; }
  .nav-open .nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--menu-bg, var(--bg)); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(0,0,0,.25); }
  .nav-open .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-cta { order: 2; }
  .nav-toggle { order: 3; margin-left: 0; }
  .header .logo { margin-right: auto; }
}
@media (max-width: 520px) { .hide-sm { display: none; } }
@media (max-width: 420px) { .header-cta .btn { padding: 10px 14px; min-height: 44px; font-size: .92rem; } }

/* ---------- open status ---------- */
[data-open-status] { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
[data-open-status]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
[data-open-status].is-open::before { background: var(--ok, #1a9e6f); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok, #1a9e6f) 22%, transparent); }

/* ---------- page heading ---------- */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 10px 0 14px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow, var(--brand)); }

/* ---------- treatment list ---------- */
.t-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--gap, 20px); list-style: none; }
.t-card { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.t-card h3 { font-size: 1.3rem; }
.t-card p { color: var(--muted); }
.t-card .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 12px; font-size: .9rem; }
.t-card .meta b { font-weight: 700; }
.t-card .links { display: flex; gap: 16px; font-weight: 600; }
.t-card .links a { text-underline-offset: 4px; }
.price-note { margin-top: 28px; color: var(--muted); font-size: .95rem; }

/* ---------- treatment page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 24px; }
.crumbs a { text-underline-offset: 3px; }
.t-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 28px 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; max-width: 640px; }
.facts div { padding: 16px 18px; background: var(--surface); }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 700; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
.t-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.t-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 64px); margin-top: clamp(40px, 6vw, 72px); }
@media (max-width: 820px) { .t-body { grid-template-columns: 1fr; } }
.t-body h2, .t-faq h2, .t-more h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 18px; }
.t-steps ol { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.t-steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.t-steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--step-bg, var(--brand)); color: var(--step-ink, var(--brand-ink)); font-weight: 700; }
.t-after ul { display: grid; gap: 12px; padding-left: 1.2em; }
.t-after .note { margin-top: 20px; padding: 16px; border-radius: var(--radius); background: var(--soft, var(--surface)); color: var(--muted); font-size: .92rem; }
.t-faq, .t-more { margin-top: clamp(40px, 6vw, 72px); max-width: 820px; }
.t-more-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; max-width: none; }
.t-more-list a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--surface); }
.t-more-list a:hover { border-color: var(--ink); }
.t-more-list span { color: var(--muted); font-size: .9rem; }
.empty { display: grid; gap: 16px; justify-items: start; padding-block: 40px; }

/* ---------- FAQ accordion ---------- */
details { border-bottom: 1px solid var(--line); }
details summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }
.faq-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-index { position: sticky; top: 100px; display: grid; gap: 4px; list-style: none; }
.faq-index a { display: block; padding: 8px 12px; border-radius: var(--radius); text-decoration: none; color: var(--muted); }
.faq-index a:hover { color: var(--ink); background: var(--soft, var(--surface)); }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 8px; }
@media (max-width: 820px) { .faq-layout { grid-template-columns: 1fr; } .faq-index { position: static; display: flex; flex-wrap: wrap; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field .hint { font-size: .85rem; color: var(--muted); }
.input { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--input-bg, var(--surface)); border: 1.5px solid var(--line-strong, var(--line)); border-radius: var(--radius); }
.input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
textarea.input { min-height: 120px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.input[aria-invalid="true"] { border-color: var(--danger, #c4372b); }
.field-error { color: var(--danger, #c4372b); font-size: .88rem; font-weight: 600; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--line-strong, var(--line)); border-radius: var(--radius); cursor: pointer; }
.choice input { accent-color: var(--brand); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slot span { display: grid; place-items: center; min-height: 44px; border: 1.5px solid var(--line-strong, var(--line)); border-radius: var(--radius); font-size: .92rem; font-variant-numeric: tabular-nums; background: var(--input-bg, var(--surface)); }
.slot input:checked + span { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); font-weight: 700; }
.slot input:focus-visible + span { outline: 3px solid var(--focus, var(--brand)); outline-offset: 2px; }
.slot.is-taken span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.slots-hint { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; padding: 12px 0; }
.form-note { font-size: .88rem; color: var(--muted); }
.done { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.done:focus { outline: none; }
.done h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.done dl { display: grid; gap: 10px; margin: 24px 0; }
.done dl div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; }
.done dt { color: var(--muted); }
.done dd { margin: 0; font-weight: 600; }
.done .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- booking + contact layout ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.aside { display: grid; gap: 20px; }
.card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card h2, .card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: 8px 0; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--brand-text, var(--ink)); }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-list a { text-underline-offset: 3px; font-weight: 600; }
.map { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--soft, var(--surface)); }
.map svg { width: 100%; height: 100%; }

/* ---------- dentists ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--gap, 20px); list-style: none; }
.doc { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.doc .portrait { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; }
.doc .portrait svg { width: 100%; height: 100%; }
.doc h3 { font-size: 1.25rem; }
.doc .role { font-weight: 600; color: var(--brand-text, var(--brand)); }
.doc .quals, .doc .langs { font-size: .9rem; color: var(--muted); }
.doc .bio { color: var(--muted); }
.doc a { margin-top: auto; font-weight: 600; text-underline-offset: 4px; }

/* ---------- footer ---------- */
.footer { padding-block: 56px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h2 { font-family: var(--body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; opacity: .7; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--footer-line, var(--line)); font-size: .85rem; opacity: .85; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- floating WhatsApp ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #1f8a4c; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px -8px rgba(0,0,0,.35); }
.wa-float svg { width: 22px; height: 22px; }
.wa-float:hover { background: #18723e; }
@media (max-width: 480px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- NGO and charity additions: programmes, stories, team, donation box, tools ---------- */
[hidden] { display: none !important; }
.sec-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 20px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head .sec-title { margin-bottom: 0; }
.sec-lede { color: var(--muted); max-width: 60ch; margin: -8px 0 26px; }
.text-link { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; text-underline-offset: 5px; color: var(--brand-text, var(--brand)); }
.plain-list { display: grid; gap: 6px; padding-left: 1.1em; }
.ticks { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: "✓"; flex: none; color: var(--brand-text, var(--brand)); font-weight: 800; }
.announce { margin: 0; padding: 8px 16px; text-align: center; font-size: .86rem; font-weight: 600; background: var(--announce-bg, var(--ink)); color: var(--announce-ink, var(--bg)); }
.announce a { color: inherit; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .9rem; }
.soft-band { background: var(--soft, var(--surface)); }
.hint { font-weight: 400; font-size: .85rem; color: var(--muted); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 60; margin: 0; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 1px; background: var(--stat-line, var(--line)); border: 1px solid var(--stat-line, var(--line)); border-radius: var(--radius-lg); overflow: hidden; }
.stats div { display: grid; gap: 4px; padding: 22px 20px; background: var(--stat-bg, var(--surface)); }
.stats b { font: 700 clamp(1.8rem, 3.6vw, 2.4rem)/1 var(--head); color: var(--stat-ink, var(--brand-text, var(--brand))); font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: .92rem; }

/* programme cards */
.p-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--gap, 22px); }
.p-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.p-art svg { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.p-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 16px; }
.p-body h3 { font-size: 1.25rem; }
.p-body p { color: var(--muted); font-size: .95rem; }
.p-body .text-link { margin-top: auto; }
.p-stat { color: var(--muted); }
.p-stat b { color: var(--brand-text, var(--brand)); font-family: var(--head); font-size: 1.15em; }

/* work page rows */
.work .wrap { display: grid; gap: clamp(40px, 6vw, 72px); }
.w-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(22px, 5vw, 56px); align-items: center; scroll-margin-top: 100px; }
.w-row.is-flip .w-art { order: 2; }
@media (max-width: 820px) { .w-row { grid-template-columns: minmax(0, 1fr); } .w-row.is-flip .w-art { order: 0; } }
.w-art { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.w-art svg { width: 100%; height: auto; }
.w-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 8px 0 12px; }
.w-body > p { color: var(--muted); }
.w-body .p-stat { margin-top: 16px; }
.places { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.places li { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.places span { color: var(--muted); font-size: .92rem; }

/* stories */
.s-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--gap, 22px); }
.s-card { height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.s-art svg { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.s-body { display: grid; gap: 8px; padding: 18px 20px 22px; }
.s-meta { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.s-body h3 { font-size: 1.25rem; }
.s-body p:last-child { color: var(--muted); }

/* quotes */
.quotes { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--gap, 22px); }
.quotes li { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.quotes blockquote { margin: 0; }
.quotes blockquote p { font-size: 1.05rem; }
.q-by { margin-top: auto; color: var(--muted); font-size: .9rem; }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.about-grid h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 10px 0 18px; }
.about-intro { display: grid; gap: 14px; color: var(--muted); font-size: 1.05rem; }
.about-intro strong { color: var(--ink); }
.about-art { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.about-art svg { width: 100%; height: auto; }
.numbers-band { padding-block: 0 clamp(24px, 4vw, 40px); }
.values { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: var(--gap, 22px); }
.values li { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.values p { color: var(--muted); }
.team { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: var(--gap, 22px); }
.team-art { aspect-ratio: 5 / 6; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 12px; }
.team-art svg { width: 100%; height: 100%; }
.team h3 { font-size: 1.15rem; }
.team-role { font-weight: 700; color: var(--brand-text, var(--brand)); font-size: .95rem; }
.team-note { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.reports { list-style: none; display: grid; gap: 8px; margin-top: 20px; }
.reports li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding: 12px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.reports a { font-weight: 700; min-height: 40px; display: inline-flex; align-items: center; text-underline-offset: 4px; color: var(--brand-text, var(--brand)); }
.regs { display: grid; gap: 8px; margin: 0; font-size: .93rem; }
.regs div { display: grid; grid-template-columns: minmax(84px, 1fr) 2fr; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.regs dt { color: var(--muted); }
.regs dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.f-regs { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 32px; font-size: .82rem; opacity: .8; }
.f-regs b { font-weight: 700; }

/* get involved */
.ways { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: var(--gap, 22px); }
.ways li { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.ways p { color: var(--muted); }
.ways .text-link { margin-top: auto; }

/* donation box and tools */
.give, .tool { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: start; }
@media (max-width: 900px) { .give, .tool { grid-template-columns: minmax(0, 1fr); } }
.give-out, .tool-out { position: sticky; top: 96px; display: grid; gap: 12px; padding: clamp(20px, 3vw, 30px); border-radius: var(--radius-lg); background: var(--out-bg, var(--brand)); color: var(--out-ink, #fff); min-width: 0; }
@media (max-width: 900px) { .give-out, .tool-out { position: static; } }
.give-out .eyebrow, .tool-out .eyebrow { color: inherit; opacity: .8; }
.give-total b, .tool-total { font: 700 clamp(2.2rem, 5vw, 3rem)/1 var(--head); font-variant-numeric: tabular-nums; }
.give-total span { opacity: .8; margin-left: 6px; }
.give-impact { font-size: 1.05rem; }
.give-tax, .give-out .form-note, .tool-out .form-note { font-size: .86rem; opacity: .85; color: inherit; }
.give-out .btn-primary, .tool-out .btn-primary { background: var(--out-btn, #fff); color: var(--out-btn-ink, var(--brand)); }
.give-out .btn-ghost, .tool-out .btn-ghost { color: inherit; border-color: currentColor; }
.amounts { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.amt, .pill { position: relative; }
.amt input, .pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.amt span, .pill span { display: grid; place-items: center; min-height: 48px; padding: 6px 12px; border: 1.5px solid var(--line-strong, var(--line)); border-radius: var(--radius); font-weight: 700; font-variant-numeric: tabular-nums; background: var(--input-bg, var(--surface)); text-align: center; line-height: 1.2; }
.amt input:checked + span, .pill input:checked + span { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.amt input:focus-visible + span, .pill input:focus-visible + span { outline: 3px solid var(--focus, var(--brand)); outline-offset: 2px; }
.pill input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.upi { display: grid; gap: 8px; padding: 14px; border-radius: var(--radius); background: rgba(255,255,255,.1); border: 1px dashed currentColor; min-width: 0; }
.upi-label { font-weight: 700; font-size: .9rem; }
.upi-code { display: block; font-size: .8rem; overflow-wrap: anywhere; word-break: break-all; opacity: .95; }
.upi .btn { justify-self: start; }
.impacts { list-style: none; display: grid; gap: 10px; }
.impacts li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: baseline; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.impacts b { font: 700 1.25rem var(--head); color: var(--brand-text, var(--brand)); }
.out-lines { display: grid; gap: 6px; margin: 0; font-size: .94rem; }
.out-lines div { display: flex; justify-content: space-between; gap: 12px; }
.out-lines dt { opacity: .8; }
.out-lines dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button, .chip { min-height: 42px; padding: 6px 15px; border: 1.5px solid var(--line-strong, var(--line)); border-radius: var(--chip-radius, 999px); background: var(--surface); color: var(--ink); font-weight: 600; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong, var(--line)); border-radius: var(--radius); overflow: hidden; }
.qty button { width: 42px; height: 42px; border: 0; background: transparent; font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.qty output, .qty span { min-width: 34px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* progress bar */
.bar { position: relative; height: 16px; border-radius: 999px; background: var(--bar-bg, rgba(0,0,0,.12)); overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--bar, var(--brand)); transition: width .5s; }
.bar i + i { background: var(--bar2, #fff); opacity: .7; }

/* default CTA band */
.cta-band { padding-block: clamp(44px, 6vw, 80px); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { margin-top: 6px; max-width: 54ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.f-about { margin-top: 12px; max-width: 36ch; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.logo svg { flex: none; }
.logo span { display: grid; line-height: 1.05; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }
.btn svg { width: 20px; height: 20px; flex: none; }
.qty { justify-self: start; }
.upi .hint, .tool-out .hint, .give-out .hint { color: inherit; opacity: .8; }
.upi code { color: inherit; }
.skip { top: -120px; }
@media (max-width: 520px) {
  .header .wrap { gap: 10px; }
  .header .logo small { display: none; }
  .header .logo b { white-space: nowrap; font-size: 1.3rem; }
  .header .logo-mark { width: 34px; height: 34px; }
  .header-cta .btn { white-space: nowrap; padding: 8px 12px; min-height: 42px; font-size: .86rem; }
}
.nav-toggle, .header-cta { flex: none; }
@media (max-width: 400px) { .header .logo b { font-size: 1.12rem; } .header-cta .btn { padding: 8px 10px; font-size: .8rem; } }
