/* Xyncema Cause — documentary editorial. Square corners, generous measure, one accent used sparingly.
   Where other demos would put a statistic, this one puts a sentence. */

[data-theme="nonprofit"] body { background: var(--bg); color: var(--text); font-family: var(--font-body); }
.cs-wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.cs-narrow { max-width: 38rem; }
.cs-muted { color: var(--muted); }
.cs-h1, .cs-h2, .cs-h3, .cs-h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.18; margin: 0; }
.cs-h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem); line-height: 1.08; letter-spacing: -0.015em; }
.cs-h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem); }
.cs-h3 { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.28rem); }
.cs-h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; }
.cs-eyebrow { font: 600 0.75rem/1.3 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-ink); margin: 0 0 0.9rem; }
.cs-lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.7; color: var(--muted); }
.cs-prose p { line-height: 1.8; margin: 0 0 1.1rem; max-width: 38rem; }
.cs-prose p:last-child { margin-bottom: 0; }

/* ---------- Header ---------- */
.cs-notice { background: var(--surface-2); color: var(--on-surface-2); font-size: 0.8125rem; line-height: 1.45; padding: 0.55rem 0; }
.cs-notice p { margin: 0; }
.cs-header { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--border); }
.cs-header__row { display: flex; align-items: center; gap: 1.25rem; min-height: 4.5rem; }
.cs-logo { display: grid; gap: 0.1rem; text-decoration: none; color: var(--text); font-family: var(--font-heading); font-weight: 600; font-size: 1.28rem; margin-right: auto; }
.cs-logo small { font-family: var(--font-body); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cs-nav { display: flex; gap: 1.5rem; }
.cs-nav a { color: var(--text); text-decoration: none; font-size: 0.9375rem; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.cs-nav a:hover { border-bottom-color: var(--primary); }
.cs-nav a[aria-current="page"] { border-bottom-color: var(--primary); color: var(--primary-ink); }
.cs-toggle { display: none; background: none; border: 1px solid var(--border); width: 2.75rem; height: 2.75rem; padding: 0.6rem; color: var(--text); cursor: pointer; }
.cs-toggle svg { width: 100%; height: 100%; }
.cs-mobile { display: none; flex-direction: column; padding-bottom: 1rem; }
.cs-mobile a { padding: 0.8rem 0; border-top: 1px solid var(--border); color: var(--text); text-decoration: none; }
.cs-mobile[data-open] { display: flex; }
@media (max-width: 900px) { .cs-nav, .cs-header .cs-btn { display: none; } .cs-toggle { display: block; } }

/* ---------- Buttons ---------- */
.cs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.9rem; padding: 0 1.3rem; border: 1px solid var(--primary); background: var(--primary); color: var(--on-primary); font: 600 0.9375rem/1 var(--font-body); text-decoration: none; cursor: pointer; }
.cs-btn:hover { background: var(--primary-ink); border-color: var(--primary-ink); }
.cs-btn--line { background: transparent; color: var(--text); border-color: var(--text); }
.cs-btn--line:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.cs-btn svg { width: 1.05rem; height: 1.05rem; }
.cs-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--primary-ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.cs-link svg { width: 1rem; height: 1rem; }

/* ---------- Sections ---------- */
.cs-section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); border-top: 1px solid var(--border); }
.cs-section--plain { border-top: 0; }
.cs-section--dark { background: var(--surface-2); color: var(--on-surface-2); border-top: 0; }
.cs-section--dark .cs-h2, .cs-section--dark .cs-h3, .cs-section--dark .cs-h4 { color: var(--on-surface-2); }
.cs-section--dark .cs-eyebrow { color: var(--primary-on-dark); }
.cs-section--dark .cs-lead, .cs-section--dark .cs-muted { color: var(--on-surface-2); opacity: 0.82; }
.cs-head { display: grid; gap: 0.9rem; margin-bottom: 2.5rem; max-width: 42rem; }

/* ---------- Hero ---------- */
.cs-hero__media img { width: 100%; height: min(52vh, 460px); object-fit: cover; display: block; }
.cs-hero__body { padding-block: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: end; }
.cs-hero h1 { max-width: 18ch; }
.cs-hero__copy { line-height: 1.75; color: var(--muted); margin: 0; }
.cs-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
@media (max-width: 860px) { .cs-hero__body { grid-template-columns: minmax(0, 1fr); align-items: start; } }

/* ---------- No-numbers statement ---------- */
.cs-statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.cs-absent { list-style: none; margin: 0; padding: 0; display: grid; }
.cs-absent li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; padding: 0.9rem 0; border-top: 1px solid rgba(252, 250, 246, 0.2); line-height: 1.65; font-size: 0.9375rem; }
.cs-absent li:last-child { border-bottom: 1px solid rgba(252, 250, 246, 0.2); }
.cs-absent li::before { content: "—"; color: var(--primary-on-dark); }
.cs-photonote { margin-top: 2rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--primary-on-dark); font-size: 0.9375rem; line-height: 1.7; }
@media (max-width: 860px) { .cs-statement { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Programme cards ---------- */
.cs-progs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.cs-prog { display: grid; gap: 0.9rem; align-content: start; }
.cs-prog img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cs-prog h3 a { color: inherit; text-decoration: none; }
.cs-prog h3 a:hover { color: var(--primary-ink); }
.cs-prog p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 0.9375rem; }
@media (max-width: 760px) { .cs-progs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Allocation ---------- */
.cs-alloc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.cs-bars { display: grid; gap: 0; }
.cs-bar { padding: 1.1rem 0; border-top: 1px solid var(--border); display: grid; gap: 0.5rem; }
.cs-bar:last-child { border-bottom: 1px solid var(--border); }
.cs-bar__top { display: flex; gap: 1rem; align-items: baseline; justify-content: space-between; }
.cs-bar__pct { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; }
.cs-bar__track { height: 6px; background: var(--border); }
.cs-bar__fill { height: 100%; background: var(--primary); }
.cs-bar p { margin: 0; color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
.cs-note { border-left: 3px solid var(--primary); padding: 0.4rem 0 0.4rem 1.1rem; line-height: 1.75; }
.cs-callout { border: 1px solid var(--border); background: var(--surface); padding: clamp(1.2rem, 2.5vw, 1.75rem); display: grid; gap: 0.8rem; }
.cs-callout h3 { margin: 0; }
.cs-callout p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 0.9375rem; }
@media (max-width: 900px) { .cs-alloc { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Giving ---------- */
.cs-give { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.cs-card { background: var(--surface); border: 1px solid var(--border); padding: clamp(1.25rem, 3vw, 2rem); }
.cs-section--dark .cs-card { color: var(--text); }
.cs-fieldset { border: 0; margin: 0 0 1.75rem; padding: 0; }
.cs-fieldset:last-of-type { margin-bottom: 0; }
.cs-fieldset legend { font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 0.85rem; }
.cs-opts { display: grid; gap: 0.6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-opts label { display: grid; gap: 0.15rem; border: 1px solid var(--border); padding: 0.85rem 1rem; cursor: pointer; background: var(--bg); }
.cs-opts label:hover { border-color: var(--text); }
.cs-opts input { position: absolute; opacity: 0; width: 0; height: 0; }
.cs-opts label b { font-size: 0.9375rem; font-weight: 600; }
.cs-opts label span { font-size: 0.8375rem; color: var(--muted); line-height: 1.5; }
.cs-opts label:has(input:checked) { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.cs-opts label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.cs-amounts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cs-amount { min-height: 2.9rem; padding: 0 1.05rem; border: 1px solid var(--border); background: var(--bg); font: 600 0.9375rem/1 var(--font-body); color: var(--text); cursor: pointer; font-variant-numeric: tabular-nums; }
.cs-amount[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.cs-amount:hover[aria-pressed="false"] { border-color: var(--text); }
.cs-custom { margin-top: 0.85rem; max-width: 18rem; }
.cs-summary { display: grid; gap: 1.1rem; position: sticky; top: 6rem; }
.cs-figure { display: grid; gap: 0.3rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.cs-figure b { font-family: var(--font-heading); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.5rem); font-weight: 600; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cs-figure span { color: var(--muted); font-size: 0.875rem; }
.cs-split { list-style: none; margin: 0; padding: 0; display: grid; }
.cs-split li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.9125rem; align-items: baseline; }
.cs-split small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; line-height: 1.5; }
.cs-split .cs-v { font-variant-numeric: tabular-nums; font-weight: 600; }
.cs-year { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding-top: 0.9rem; font-size: 0.9125rem; }
.cs-year .cs-v { font-variant-numeric: tabular-nums; font-weight: 600; }
.cs-ok { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-family: var(--font-heading); font-size: 1.1rem; line-height: 1.4; margin: 0 0 1rem; }
.cs-ok svg { width: 1.25rem; height: 1.25rem; color: var(--primary-ink); margin-top: 0.15rem; }
.cs-receipt { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; }
.cs-receipt li { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: 1rem; padding: 0.7rem 0; border-top: 1px solid var(--border); font-size: 0.9375rem; }
.cs-receipt li:last-child { border-bottom: 1px solid var(--border); }
.cs-receipt .cs-k { font: 600 0.75rem/1.4 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 920px) { .cs-give { grid-template-columns: minmax(0, 1fr); } .cs-summary { position: static; } }
@media (max-width: 560px) { .cs-opts { grid-template-columns: minmax(0, 1fr); } .cs-receipt li { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; } }

/* ---------- Reporting ---------- */
.cs-report { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.cs-report img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cs-pts { display: grid; }
.cs-pts > div { padding: 1.2rem 0; border-top: 1px solid var(--border); display: grid; gap: 0.35rem; }
.cs-pts > div:last-child { border-bottom: 1px solid var(--border); }
.cs-pts p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 0.9375rem; }
.cs-bound { margin-top: 2.25rem; border: 1px solid var(--border); background: var(--surface); padding: clamp(1.2rem, 2.5vw, 1.75rem); }
.cs-bound ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.cs-bound li { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; line-height: 1.7; font-size: 0.9375rem; }
.cs-bound li::before { content: "—"; color: var(--primary-ink); }
@media (max-width: 900px) { .cs-report { grid-template-columns: minmax(0, 1fr); } .cs-report__media { max-width: 20rem; } }

/* ---------- Collection ---------- */
.cs-pagehead { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); border-bottom: 1px solid var(--border); }
.cs-rows { display: grid; }
.cs-row { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); padding: 2.25rem 0; border-top: 1px solid var(--border); align-items: start; }
.cs-row:last-child { border-bottom: 1px solid var(--border); }
.cs-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cs-row__body { display: grid; gap: 0.85rem; }
.cs-row h2 { margin: 0; }
.cs-row h2 a { color: inherit; text-decoration: none; }
.cs-row h2 a:hover { color: var(--primary-ink); }
.cs-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 0.35rem; }
.cs-pair h4 { margin: 0 0 0.5rem; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cs-pair ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.9125rem; line-height: 1.55; color: var(--muted); }
.cs-pair li { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem; }
.cs-pair--yes li::before { content: "+"; color: var(--primary-ink); font-weight: 700; }
.cs-pair--no li::before { content: "−"; color: var(--muted); font-weight: 700; }
@media (max-width: 760px) { .cs-row { grid-template-columns: minmax(0, 1fr); } .cs-pair { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Detail ---------- */
.cs-dhead { padding-block: clamp(2.25rem, 2rem + 2.5vw, 3.5rem); }
.cs-crumb { font-size: 0.875rem; color: var(--muted); margin: 0 0 1rem; }
.cs-crumb a { color: var(--muted); }
.cs-dhero { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; margin-top: 1.75rem; }
.cs-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(2rem, 4vw, 3.25rem); align-items: start; }
.cs-aside { display: grid; gap: 1.25rem; position: sticky; top: 6rem; }
.cs-panel { border: 1px solid var(--border); background: var(--surface); padding: 1.25rem; display: grid; gap: 0.7rem; }
.cs-panel h3 { font-size: 0.75rem; font-family: var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.cs-panel p { margin: 0; font-size: 0.9125rem; line-height: 1.7; color: var(--muted); }
.cs-list { list-style: none; margin: 0; padding: 0; display: grid; }
.cs-list li { padding: 0.85rem 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; line-height: 1.7; }
.cs-list li:last-child { border-bottom: 1px solid var(--border); }
.cs-list--yes li::before { content: "+"; color: var(--primary-ink); font-weight: 700; }
.cs-list--no li::before { content: "−"; color: var(--muted); font-weight: 700; }
.cs-steps { list-style: none; margin: 1rem 0 0; padding: 0; counter-reset: s; }
.cs-steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--border); }
.cs-steps li:last-child { border-bottom: 1px solid var(--border); }
.cs-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-heading); font-size: 0.95rem; color: var(--primary-ink); padding-top: 0.15rem; }
.cs-steps h3 { margin: 0 0 0.3rem; }
.cs-steps p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 0.9375rem; }
.cs-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.25rem; }
.cs-thumb { padding: 0; border: 1px solid var(--border); background: none; cursor: pointer; }
.cs-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cs-thumb:hover { border-color: var(--text); }
@media (max-width: 940px) { .cs-cols { grid-template-columns: minmax(0, 1fr); } .cs-aside { position: static; } }
@media (max-width: 560px) { .cs-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.cs-faq details { border-top: 1px solid var(--border); }
.cs-faq details:last-of-type { border-bottom: 1px solid var(--border); }
.cs-faq summary { cursor: pointer; padding: 1.1rem 0; font-family: var(--font-heading); font-size: 1.02rem; line-height: 1.45; list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: start; }
.cs-faq summary::-webkit-details-marker { display: none; }
.cs-faq summary::after { content: "+"; color: var(--primary-ink); font-family: var(--font-body); font-size: 1.2rem; line-height: 1; }
.cs-faq details[open] summary::after { content: "–"; }
.cs-faq p { margin: 0 0 1.2rem; color: var(--muted); line-height: 1.75; max-width: 46rem; }

/* ---------- Contact band ---------- */
.cs-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.25rem); align-items: center; }
.cs-band img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 800px) { .cs-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.cs-footer { background: var(--surface-2); color: var(--on-surface-2); padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 2rem; }
.cs-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.cs-footer .cs-logo { color: var(--on-surface-2); }
.cs-footer .cs-logo small { color: var(--primary-on-dark); }
.cs-footer p { color: var(--on-surface-2); opacity: 0.82; line-height: 1.75; font-size: 0.9rem; margin: 0.8rem 0 0; }
.cs-footer h3 { font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary-on-dark); margin: 0 0 0.9rem; }
.cs-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.cs-footer a { color: var(--on-surface-2); text-decoration: none; font-size: 0.9rem; }
.cs-footer a:hover { text-decoration: underline; }
.cs-footer__note { margin-top: 2.25rem; padding-top: 1.4rem; border-top: 1px solid rgba(252, 250, 246, 0.18); font-size: 0.8125rem; line-height: 1.7; opacity: 0.75; }
.cs-footer .xy-attribution { opacity: 0.75; }
.cs-footer .xy-attribution a { text-decoration: underline; }
@media (max-width: 820px) { .cs-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cs-footer__grid { grid-template-columns: minmax(0, 1fr); } }
