/* HANDISPOC — public site styles.
   Colours were checked for WCAG AA contrast (ratio in brackets, against the background they are used on).
   Text sizes are in rem so the "Taille du texte" setting (html font-size) enlarges everything. */
@font-face { font-family: 'Atkinson'; src: url('/public/fonts/atkinson-hyperlegible-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Atkinson'; src: url('/public/fonts/atkinson-hyperlegible-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Atkinson'; src: url('/public/fonts/atkinson-hyperlegible-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #16202e;          /* body text (15.5:1 on cream) */
  --muted: #4d5663;        /* secondary text (7.4:1 on white) */
  --bg: #ffffff;
  --cream: #fff7ee;        /* warm tint sections */
  --blue: #0d3b66;         /* main brand blue (11.5:1 with white) */
  --blue-2: #155289;
  --blue-soft: #e8f0f8;
  --orange: #e46700;       /* HANDISPOC logo orange: large shapes and the donate button (4.9:1 with ink text) */
  --orange-dark: #a84b00;  /* orange used for text/links on white (5.7:1) */
  --orange-light: #ff9a3d; /* orange on blue backgrounds (5.4:1) */
  --green: #3d6b1f;        /* success (6.3:1 with white) */
  --red: #b3261e;
  --line: #d5dbe3;
  --focus: #ffd23f;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(13, 59, 102, .10);
  --wrap: 1180px;
  --fs-body: 1.0625rem;
}
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html[data-size="115"] { font-size: 115%; }
html[data-size="130"] { font-size: 130%; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: 'Atkinson', 'Segoe UI', Roboto, Arial, sans-serif; font-size: var(--fs-body); line-height: 1.65; color: var(--ink); background: var(--bg); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, .h3 { line-height: 1.2; color: var(--blue); margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); }
h3, .h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; fill: currentColor; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mono { font-family: Consolas, 'Courier New', monospace; letter-spacing: .03em; }

/* Focus: always visible, thick, two-colour so it shows on light and dark backgrounds */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; box-shadow: 0 0 0 6px var(--focus); border-radius: 4px; }
main:focus { outline: none; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--focus); color: #000; padding: .8rem 1.2rem; font-weight: 700; border-radius: 8px; }
.skip:focus { top: 1rem; }

/* Buttons: min 48px tall (touch target) */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; transition: background .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 1.1rem; padding: .85em 1.6em; min-height: 56px; }
.btn-block { width: 100%; }
.btn-donate { background: var(--orange); color: var(--ink); }
.btn-donate:hover { background: #ff7d14; color: var(--ink); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-soft); color: var(--blue); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { background: var(--cream); color: var(--blue); }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--blue-2); }
.link-btn { background: none; border: 0; padding: .4rem; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Header ---------- */
.topbar { background: var(--blue); color: #fff; font-size: .95rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
.topbar a, .topbar button { color: #fff; }
.top-help { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; padding: .35rem 0; }
.top-left { display: flex; gap: 1.4rem; align-items: center; }
.top-link { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; }
.top-link:hover { color: var(--orange-light); }
@media (max-width: 640px) { .hide-sm { display: none !important; } }
@media (max-width: 380px) { .header-actions .btn-donate .ic { display: none; } }
.top-help:hover { color: var(--orange-light); }
.top-right { display: flex; align-items: center; gap: .3rem; }
.a11y-btn, .lang-switch { display: inline-flex; align-items: center; gap: .4em; min-height: 40px; padding: .3rem .75rem; background: transparent; border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.a11y-btn[aria-expanded="true"] { background: #fff; color: var(--blue); }
.a11y-panel { background: #0a2f52; border-top: 1px solid rgba(255,255,255,.15); }
.a11y-in { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; padding-top: .8rem; padding-bottom: .8rem; }
.a11y-row { display: flex; align-items: center; gap: .7rem; }
.seg { display: inline-flex; border: 1.5px solid #fff; border-radius: 10px; overflow: hidden; }
.seg button { min-width: 44px; min-height: 40px; background: transparent; color: #fff; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.seg button + button { border-left: 1.5px solid #fff; }
.seg .seg-md { font-size: 1.15em; } .seg .seg-lg { font-size: 1.32em; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--blue); }
.switch { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; min-height: 40px; }
.switch input { width: 22px; height: 22px; accent-color: var(--orange); }

.site-header { position: relative; z-index: 20; background: #fff; box-shadow: 0 2px 0 var(--line); }
.header-in { display: flex; align-items: center; gap: 1rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--blue); margin-right: auto; }
.brand img { width: 26px; height: auto; }
.brand-text strong { display: block; font-size: 1.45rem; letter-spacing: .06em; line-height: 1; color: var(--blue); }
.brand-text small { display: block; font-size: .78rem; color: var(--muted); margin-top: .25rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.main-nav a { white-space: nowrap; display: block; padding: .55rem .6rem; border-radius: 8px; color: var(--ink); font-weight: 700; text-decoration: none; font-size: .98rem; }
.main-nav a:hover { background: var(--blue-soft); color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav-help-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--blue); background: #fff; color: var(--blue); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .ic { width: 26px; height: 26px; }
.menu-btn .ic-close, .menu-btn[aria-expanded="true"] .ic-open { display: none; }
.menu-btn[aria-expanded="true"] .ic-close { display: block; }

@media (max-width: 1300px) {
  .brand-text small { display: none; }
}
@media (max-width: 1180px) {
  .main-nav a { padding: .55rem .4rem; font-size: .93rem; }
}
@media (max-width: 1120px) {
  .menu-btn { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 2px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 120px); overflow: auto; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: .6rem 1.25rem 1.2rem; }
  .main-nav a { padding: .9rem .4rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--orange); padding-left: .9rem; }
  .nav-help-mobile { display: block; }
}
@media (max-width: 560px) {
  .header-in { gap: .5rem; }
  .brand { gap: .45rem; min-width: 0; }
  .brand img { width: 20px; }
  .brand-text strong { font-size: 1.12rem; letter-spacing: .03em; }
  .header-actions { gap: .4rem; }
  .header-actions .btn-donate { padding: .5em .8em; font-size: .95rem; min-height: 46px; }
  .menu-btn { width: 46px; height: 46px; }
  .brand-text small { display: none; }
  .header-actions .btn-donate { padding: .6em 1em; }
  .a11y-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .top-help { font-size: .9rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(2.6rem, 6vw, 4.6rem) 0; }
.tint { background: var(--cream); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.split-top { align-items: start; }
.split-rev > :first-child { order: 0; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .split, .with-aside { grid-template-columns: minmax(0, 1fr); } }
.frame { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-orange { box-shadow: 14px 14px 0 var(--orange); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose figure { margin: 0 0 1.5rem; }
figcaption { font-size: .92rem; color: var(--muted); padding: .6rem .2rem; }
.lead, .lead-sm { font-size: 1.2rem; color: var(--muted); }
.lead p { max-width: 62ch; }
.kicker { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .85rem; color: var(--orange-dark); margin-bottom: .6rem; }
.meta { font-size: .93rem; color: var(--muted); margin-bottom: .35rem; }
.notice { padding: 1rem 1.25rem; border-radius: 12px; border-left: 6px solid var(--blue); background: var(--blue-soft); margin-bottom: 1.4rem; }
.notice p:last-child { margin-bottom: 0; }
.notice-warn { border-color: var(--orange); background: #fff1e3; }
.notice-ok { border-color: var(--green); background: #eef6e8; }

/* Page head */
.page-head { background: linear-gradient(180deg, var(--blue-soft), #fff); padding: clamp(2rem, 5vw, 3.4rem) 0 1.6rem; border-bottom: 1px solid var(--line); }
.page-head .lead { margin-top: .4rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 .8rem; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .93rem; }
.crumbs li + li::before { content: '›'; margin-right: .3rem; color: var(--muted); }
.page-head-camp { background: linear-gradient(135deg, #e6f4fd, #fff 70%); }
.camp-head { display: flex; gap: 2rem; align-items: center; }
.camp-head img { width: 150px; flex: none; }
@media (max-width: 640px) { .camp-head { flex-direction: column; align-items: flex-start; } .camp-head img { width: 110px; } }

/* Hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,59,102,.55) 0%, rgba(13,59,102,.15) 60%, rgba(0,0,0,0) 100%); }
.hero-in { position: relative; padding-top: 4rem; padding-bottom: 3.2rem; }
.hero-card { background: #fff; border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.6rem); max-width: 640px; box-shadow: 0 20px 50px rgba(0,0,0,.25); border-top: 8px solid var(--orange); }
.hero-card h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); }
.hero-card p { font-size: 1.12rem; }
@media (max-width: 640px) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; height: 54vw; min-height: 220px; }
  .hero-media::after { display: none; }
  .hero-in { padding-top: 0; padding-bottom: 1.5rem; margin-top: -2.2rem; }
  .hero-card { box-shadow: var(--shadow); }
}

/* Stats */
.impact { background: var(--blue); color: #fff; }
.impact h2 { color: #fff; }
.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; }
.stats li { text-align: center; padding: 1rem; border-radius: var(--radius); background: rgba(255,255,255,.07); }
.stats strong { display: block; font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1.1; color: var(--orange-light); }
.stats span { font-size: 1.05rem; }

/* Cards */
.cards { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cards-actions { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; position: relative; }
.card h3 a, .card .h3 a { color: var(--blue); text-decoration: none; }
.card h3 a::after, .card .h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.card h3 a:hover, .card .h3 a:hover { text-decoration: underline; }
.card:has(h3 a:hover) { border-color: var(--blue-2); box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card .btn, .card .link-arrow { position: relative; z-index: 1; margin-top: auto; align-self: flex-start; }
.card-icon { width: 54px; height: 54px; border-radius: 14px; background: #fff1e3; color: var(--orange-dark); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .9rem; }
.card-icon .ic { width: 30px; height: 30px; }
.card-img { margin: -1.4rem -1.4rem 1.1rem; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 10; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; flex: 1; }
.card-campaign .btn { margin-top: auto; }
.pillars { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.pillars li { border-top: 5px solid var(--orange); padding-top: .9rem; }
.pillars h3 { margin-bottom: .3rem; }

/* Camp band, help band */
.camp-band { background: linear-gradient(135deg, #e6f4fd, var(--cream)); }
.camp-logo { width: 130px; margin-bottom: 1rem; }
.help-band { background: var(--blue); color: #fff; }
.help-band h2 { color: #fff; }
.help-band-in { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; }
.help-ic { width: 72px; height: 72px; color: var(--orange-light); }
@media (max-width: 760px) { .help-band-in { grid-template-columns: 1fr; } .help-ic { width: 52px; height: 52px; } }

.quote { padding: 2.5rem 1.25rem; text-align: center; font-size: clamp(1.3rem, 3vw, 1.8rem); font-style: italic; color: var(--blue); }
.quote p { max-width: 36ch; margin: 0 auto; }

/* Partners */
.partners { border-top: 1px solid var(--line); }
.logos { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.6rem 2.4rem; }
.logos img { height: 64px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(.2); }

/* Progress */
.progress { margin: .5rem 0 1rem; }
.progress-bar { height: 12px; border-radius: 999px; background: var(--blue-soft); overflow: hidden; border: 1px solid var(--line); }
.progress-bar span { display: block; height: 100%; background: var(--green); }
.progress-text { font-size: .95rem; margin: .4rem 0 1rem; }

/* Actions */
.action-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 3rem; }
.action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.action-row.rev > .frame { order: 2; }
.action-row .frame { aspect-ratio: 4 / 3; }
@media (max-width: 800px) { .action-row { grid-template-columns: 1fr; gap: 1.2rem; } .action-row.rev > .frame { order: 0; } }
.aside-card { background: var(--cream); border-radius: var(--radius); padding: 1.5rem; border: 1.5px solid #f3dcc3; position: sticky; top: 1rem; }
.aside-card .btn-block + .btn-block { margin-top: .7rem; }
.aside-card h2 { font-size: 1.35rem; }
@media (max-width: 860px) { .aside-card { position: static; } }

.programme { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.programme li { background: #fff; border-radius: var(--radius); border: 1.5px solid var(--line); border-left: 6px solid #2a9fd8; padding: 1.1rem 1.3rem; }
.programme h3 { margin-bottom: .3rem; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 4px solid var(--orange); }
.timeline li { position: relative; padding: 0 0 1.8rem 1.6rem; }
.timeline li::before { content: ''; position: absolute; left: -12px; top: .3rem; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
.timeline h3 { margin-bottom: .3rem; }

/* Facts */
.facts { margin: 0; display: grid; gap: .1rem; }
.facts div { display: grid; grid-template-columns: 230px 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--blue); }
.facts dd { margin: 0; }
@media (max-width: 600px) { .facts div { grid-template-columns: 1fr; gap: .1rem; } }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.chip { min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; border: 2px solid var(--blue); background: #fff; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; }
.grid-photos { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; }
.grid-photos a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--blue-soft); }
.grid-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.grid-photos a:hover img { transform: scale(1.04); }
.grid-photos li[hidden] { display: none; }
@media (max-width: 520px) { .grid-photos { grid-template-columns: 1fr 1fr; gap: .5rem; } }
.posters { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem; }
.posters img { border-radius: 10px; box-shadow: var(--shadow); width: 100%; height: auto; }
.posters p { font-size: .95rem; margin-top: .6rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 15, 30, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; }
.lightbox img { max-height: 80vh; max-width: 100%; width: auto; border-radius: 8px; }
.lightbox p { color: #fff; max-width: 70ch; text-align: center; margin: 1rem 0 0; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; min-width: 48px; min-height: 48px; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; cursor: pointer; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 1rem; right: auto; } .lightbox .lb-next { right: 1rem; }

/* Events */
.events { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.event { display: grid; grid-template-columns: 90px 1fr; gap: 1.2rem; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.event-date { background: var(--blue); color: #fff; border-radius: 12px; text-align: center; padding: .6rem .3rem; align-self: start; }
.event-date strong { display: block; font-size: 1.8rem; line-height: 1; }
.event-date span { font-size: .85rem; }
.events-past .event-date { background: var(--muted); }

/* Tables & bars */
.table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; background: #fff; }
.table th, .table td { padding: .75rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.table thead th { background: var(--blue-soft); color: var(--blue); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.bars { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .9rem; }
.bars li { display: grid; grid-template-columns: 1fr; gap: .25rem; }
.bar { height: 14px; background: var(--blue-soft); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--blue-2); }
.bar-val { font-size: .93rem; color: var(--muted); }
.checks { list-style: none; padding: 0; }
.checks li { display: flex; gap: .7rem; margin-bottom: .8rem; }
.checks .ic { color: var(--green); margin-top: .15em; }

/* Forms */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .label-like { font-weight: 700; color: var(--blue); font-size: 1.05rem; padding: 0; margin-bottom: .6rem; }
fieldset.step { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: 1.1rem; }
fieldset.step > legend { float: left; width: 100%; font-size: 1.35rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 0; }
fieldset.step > legend + * { clear: both; }
.step-n { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--ink); align-items: center; justify-content: center; font-size: 1.05rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; }
.req { font-weight: 400; color: var(--muted); font-size: .9em; }
.hint { font-size: .95rem; color: var(--muted); margin: 0; }
input[type=text], input[type=email], input[type=tel], input:not([type]), select, textarea {
  width: 100%; min-height: 50px; padding: .65rem .85rem; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid #8a94a3; border-radius: 10px; }
textarea { min-height: 100px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--blue); }
[aria-invalid="true"] { border-color: var(--red) !important; background: #fff6f5; }
.field-error { color: var(--red); font-weight: 700; margin: 0; }
.field-error::before { content: '⚠ '; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row-3 { display: grid; grid-template-columns: 1fr 2fr 1.4fr; gap: 1rem; }
@media (max-width: 640px) { .row-2, .row-3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.check input { width: 24px; height: 24px; margin: .1rem 0 0; flex: none; accent-color: var(--blue); }
.choices { display: grid; gap: .6rem; }
.choices-2 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.choices-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice { position: relative; display: flex; align-items: center; gap: .7rem; min-height: 52px; padding: .65rem .9rem; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.choice input { width: 22px; height: 22px; flex: none; accent-color: var(--blue); margin: 0; }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.choice:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; box-shadow: 0 0 0 6px var(--focus); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error-summary { border: 3px solid var(--red); border-radius: 12px; padding: 1rem 1.25rem; background: #fff6f5; margin-bottom: 1.4rem; }
.error-summary h2 { font-size: 1.15rem; color: var(--red); }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--red); font-weight: 700; }

/* Donate */
.donate-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.4rem; align-items: start; }
@media (max-width: 920px) { .donate-grid { grid-template-columns: minmax(0, 1fr); } }
.toggle { display: grid; grid-template-columns: 1fr 1fr; background: var(--blue-soft); border-radius: 999px; padding: 5px; }
.toggle label { cursor: pointer; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { display: block; text-align: center; padding: .7rem; border-radius: 999px; font-weight: 700; color: var(--blue); min-height: 48px; }
.toggle input:checked + span { background: var(--blue); color: #fff; }
.toggle input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; box-shadow: 0 0 0 6px var(--focus); }
.amounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .6rem; }
.amount { cursor: pointer; }
.amount input { position: absolute; opacity: 0; }
.amount span { display: flex; align-items: center; justify-content: center; min-height: 60px; border: 2px solid var(--blue); border-radius: 12px; font-size: 1.3rem; font-weight: 700; color: var(--blue); background: #fff; }
.amount input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.amount input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; box-shadow: 0 0 0 6px var(--focus); }
.field-other[hidden] { display: none; }
.tax-note { font-weight: 700; color: var(--green); margin: 0; min-height: 1.5em; }
.use-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .8rem; }
.use-list strong { display: inline-block; min-width: 3.6em; color: var(--orange-dark); }
.bank { margin: 0 0 .8rem; }
.bank dt { font-weight: 700; font-size: .9rem; color: var(--muted); }
.bank dd { margin: 0 0 .5rem; word-break: break-all; }
address { font-style: normal; }

/* Wizard */
.wizard-progress { font-weight: 700; color: var(--blue); margin: 0; }
.wizard-progress:empty { display: none; }
.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; }
.wizard-nav[hidden] { display: none; }
.alt-contact { margin-top: 2rem; }
.alt-contact a { display: inline-flex; align-items: center; gap: .3em; font-weight: 700; }

/* Results */
.result { text-align: center; }
.result-ic { display: inline-flex; width: 84px; height: 84px; border-radius: 50%; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 1rem; }
.result-ic.ok { background: #fff1e3; color: var(--orange-dark); }
.result-ic .ic { width: 42px; height: 42px; }
.ref-box { display: inline-block; font-size: 1.25rem; padding: .7rem 1.4rem; border: 2px dashed var(--blue); border-radius: 12px; }

/* FAQ */
.faq details { border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: .8rem; background: #fff; }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; color: var(--orange-dark); font-weight: 700; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq summary .h3 { margin: 0; font-size: 1.12rem; }
.faq .prose { padding: 0 1.25rem 1rem; }
.resource-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }

/* CTA band & footer */
.cta-band { background: var(--orange); color: var(--ink); padding: 2.6rem 0; }
.cta-band h2 { color: var(--ink); margin-bottom: .3rem; }
.cta-band p { margin: 0; font-size: 1.1rem; max-width: 60ch; }
.cta-band-in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-band-btns { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta-band .btn-donate { background: var(--blue); color: #fff; }
.cta-band .btn-donate:hover { background: var(--blue-2); }
.cta-band .btn-ghost-light { color: var(--ink); border-color: var(--ink); }
.cta-band .btn-ghost-light:hover { background: rgba(0,0,0,.08); color: var(--ink); }
.site-footer { background: #0a2f52; color: #e6edf5; padding: 3.2rem 0 1rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange-light); }
.site-footer .btn-light, .site-footer .btn-light:hover { color: var(--blue); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.f-logo { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; letter-spacing: .06em; color: #fff; }
.f-logo img { width: 22px; }
.f-title { color: #fff; font-size: 1.1rem; margin-bottom: .9rem; }
.f-title-sm { margin-top: 1.2rem; }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.f-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.f-contact .ic { margin-top: .2em; color: var(--orange-light); }
.f-contact.dark .ic { color: var(--orange-dark); }
.f-contact.dark { margin-bottom: 1.2rem; }
.socials { display: flex; gap: .6rem; }
.socials a { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); align-items: center; justify-content: center; }
.f-help { font-size: .97rem; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.18); margin-top: 2.4rem; padding-top: 1.2rem; font-size: .92rem; }
.f-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }

/* ---------- Display preferences ---------- */
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* High contrast: black / white / yellow, no photos behind text, underlined links */
html[data-contrast="high"] { --ink: #000; --muted: #000; --blue: #000; --blue-2: #000; --blue-soft: #fff; --cream: #fff; --line: #000; --orange: #ffd400; --orange-dark: #000; --orange-light: #ffd400; --green: #000; }
html[data-contrast="high"] body { background: #fff; color: #000; }
html[data-contrast="high"] a { color: #00007a; text-decoration: underline; }
html[data-contrast="high"] .topbar, html[data-contrast="high"] .a11y-panel, html[data-contrast="high"] .impact, html[data-contrast="high"] .help-band,
html[data-contrast="high"] .site-footer, html[data-contrast="high"] .cta-band { background: #000; color: #fff; }
html[data-contrast="high"] .impact h2, html[data-contrast="high"] .help-band h2, html[data-contrast="high"] .cta-band h2, html[data-contrast="high"] .f-title { color: #fff; }
html[data-contrast="high"] .site-footer a, html[data-contrast="high"] .topbar a, html[data-contrast="high"] .cta-band p { color: #ffd400; }
html[data-contrast="high"] .stats strong { color: #ffd400; }
html[data-contrast="high"] .card, html[data-contrast="high"] fieldset.step, html[data-contrast="high"] .choice, html[data-contrast="high"] .event { border: 2px solid #000; }
html[data-contrast="high"] .btn-primary, html[data-contrast="high"] .cta-band .btn-donate { background: #000; color: #fff; border-color: #fff; }
html[data-contrast="high"] .btn-donate { background: #ffd400; color: #000; border-color: #000; }
html[data-contrast="high"] .hero-media::after { background: rgba(0,0,0,.6); }
html[data-contrast="high"] .page-head, html[data-contrast="high"] .camp-band, html[data-contrast="high"] .page-head-camp { background: #fff; }
html[data-contrast="high"] .event-date { background: #000; }
html[data-contrast="high"] input, html[data-contrast="high"] select, html[data-contrast="high"] textarea { border-color: #000; }
html[data-contrast="high"] :focus-visible { outline: 4px solid #000; box-shadow: 0 0 0 8px #ffd400; }

@media print {
  .topbar, .site-header nav, .header-actions, .cta-band, .site-footer, .btn { display: none !important; }
  body { font-size: 12pt; }
}
