/* JCTBA page CSS: only what the kit (system.css) does not carry.
   The audience is blind and partially sighted people: text is larger than the kit default,
   every control is 44px or more, and three display modes are built in. */

html:root, html[data-type] { --t-body: 18px; --t-small: 16px; --t-lead: 20px; --t-label: 15px; }
body { font-size: 18px; }
.visually-hidden { position: fixed !important; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- logo ---------- */
.nav__logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-img { height: 40px; width: auto; display: block; }
.logo-name { font-weight: 600; letter-spacing: -0.01em; }

/* ---------- display button + panel ---------- */
.display-btn {
  display: inline-flex; align-items: center; gap: 8px; height: var(--btn-h, 44px); padding: 0 14px;
  border: 1px solid color-mix(in oklab, var(--ink) 18%, transparent); border-radius: var(--r-btn, 8px);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; cursor: pointer;
  transition: background-color .15s ease, transform .1s ease;
}
.display-btn:hover { background: var(--surface); }
.display-btn:active { transform: scale(.97); }
.display-btn[aria-expanded="true"] { background: var(--ink); color: var(--bg); }
.display-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); box-shadow: 0 24px 48px -24px rgb(0 0 0 / .25); }
.display-panel__inner { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 48px; padding-block: 24px 28px; align-items: end; justify-content: start; }
.display-panel__h { grid-column: 1 / -1; font-size: 20px; margin: 0; }
.display-group { display: grid; gap: 8px; }
.display-group__label { font-size: 15px; font-weight: 500; color: var(--muted); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button {
  min-height: 48px; padding: 0 16px; border-radius: var(--r-btn, 8px); font: inherit; font-size: 16px; font-weight: 500; cursor: pointer;
  border: 1px solid color-mix(in oklab, var(--ink) 22%, transparent); background: var(--bg); color: var(--ink);
}
.seg button:hover { background: var(--surface); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.announce { margin: 0; background: var(--action); color: var(--p-action-ink, #fff); font-size: 16px; font-weight: 500; text-align: center; padding: 10px 0; }

/* ---------- inner page intro ---------- */
.hero.page-intro { min-height: auto; padding-top: calc(var(--nav, 72px) + 96px); padding-bottom: 72px; border-bottom: 1px solid color-mix(in oklab, var(--ink) 12%, transparent); }
.page-intro__text { max-width: 920px; display: grid; gap: 20px; }
.page-intro h1 { font-size: clamp(40px, 4.4vw + 12px, 76px); line-height: 1.02; margin: 0; }
@media (max-width: 639px) { .hero.page-intro { padding-top: calc(var(--nav, 56px) + 48px); padding-bottom: 48px; } }

/* ---------- hero listening card (until a photograph is uploaded) ---------- */
.hero-listen {
  position: relative; border-radius: var(--r-lg); background: var(--p-inv-bg); color: var(--p-inv-ink);
  display: grid; grid-template-rows: minmax(120px, 1fr) auto; gap: 24px; min-height: 520px; padding: 32px; align-self: stretch;
}
.hero-listen .wave { display: flex; align-items: center; gap: 5px; height: 100%; min-height: 120px; padding-inline: 8px; overflow: hidden; }
.wave i {
  flex: 1; border-radius: 99px; background: color-mix(in oklab, #c98a5a 70%, var(--p-inv-ink));
  height: calc(12% + (sin(var(--i) * 0.55) * 0.5 + 0.5) * 55% + (cos(var(--i) * 1.7) * 0.5 + 0.5) * 25%);
  transform-origin: center; animation: wave 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * -0.09s); opacity: .9;
}
@keyframes wave { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
.hero-listen__card .card { background: var(--p-bg); color: var(--p-ink); }
.hero-listen__label { margin: 0 0 12px; font-size: 15px; color: var(--p-inv-muted); font-weight: 500; }
.hero-listen .audio-card__title { font-size: 24px; }
@media (max-width: 1023px) { .hero-listen { min-height: 420px; padding: 24px; } .hero-listen .wave { min-height: 140px; } }

/* ---------- audio cards and the player ---------- */
.audio-grid { row-gap: 24px; }
.audio-card { display: grid; gap: 12px; align-content: start; height: 100%; padding: 24px; background: var(--bg); border: 1px solid color-mix(in oklab, var(--ink) 12%, transparent); border-radius: var(--r-lg); }
.ground-surface .audio-card { background: var(--p-bg); }
.audio-card__title { font-size: 22px; line-height: 1.2; margin: 0; font-weight: 500; letter-spacing: -0.01em; }
.audio-card__meta { margin: 0; color: var(--muted); font-size: 16px; }
.audio-card p { margin: 0; }
.player { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; margin-top: 4px; }
.player__play {
  width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--action); color: var(--p-action-ink, #fff); transition: transform .12s ease, filter .15s ease; flex: none;
}
.player__play:hover { filter: brightness(1.12); }
.player__play:active { transform: scale(.94); }
.player__play svg { width: 24px; height: 24px; fill: currentColor; }
.player__play .i-pause, .player.is-playing .i-play { display: none; }
.player.is-playing .i-pause { display: block; }
.player__track { display: grid; gap: 4px; }
.player__track input[type=range] { width: 100%; accent-color: var(--action); height: 28px; margin: 0; cursor: pointer; }
.player__time { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.player__speed { min-width: 56px; min-height: 44px; border-radius: var(--r-btn, 8px); border: 1px solid color-mix(in oklab, var(--ink) 22%, transparent); background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.embed { border-radius: var(--r-md); overflow: hidden; }
.embed__btn { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 0; background: none; border: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.embed__btn > span:last-child { display: grid; font-weight: 500; }
.embed__via { font-size: 15px; color: var(--muted); font-weight: 400; }
.embed__btn:hover .player__play { filter: brightness(1.12); }
.embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.embed--audio iframe { aspect-ratio: auto; height: 166px; }
.transcript summary { cursor: pointer; font-weight: 500; min-height: 44px; display: flex; align-items: center; }

/* ---------- services ---------- */
.services { row-gap: 24px; }
.service { display: grid; gap: 12px; align-content: start; padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface); }
.service__n { font-size: 15px; font-weight: 600; color: var(--action); }
.service h3 { font-size: 22px; line-height: 1.2; margin: 0; font-weight: 500; }
.service p { margin: 0; }
@media (max-width: 1023px) { .service { grid-column: span 6; } }
@media (max-width: 639px) { .service { grid-column: 1 / -1; } }

/* ---------- statement (word-highlight moment) ---------- */
.statement .mo-wh__text { font-size: clamp(30px, 3vw + 12px, 56px); line-height: 1.15; letter-spacing: -0.02em; max-width: 24ch; margin: 16px 0 0; font-family: var(--font-display); }
.statement .mo-wh__text strong { color: var(--action); font-weight: 500; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; row-gap: 24px; }
.step { display: grid; gap: 12px; align-content: start; padding: 28px 24px; border-radius: var(--r-lg); border: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); }
.step__n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 20px; }
.step h3 { font-size: 22px; margin: 0; font-weight: 500; }
.step p { margin: 0; }
.phone-big { display: grid; gap: 4px; text-decoration: none; color: var(--ink); font-size: clamp(28px, 2vw + 14px, 40px); font-weight: 500; letter-spacing: -0.02em; }
.phone-big:hover { color: var(--action); }
@media (max-width: 1023px) { .step { grid-column: 1 / -1; } }

/* ---------- voice donors type panel ---------- */
.type-panel { position: relative; min-height: 420px; border-radius: var(--r-lg); background: var(--action); color: #fff; display: flex; align-items: flex-end; padding: 40px; overflow: hidden; }
.type-panel__big { font-family: var(--font-display); font-size: clamp(48px, 5vw + 8px, 96px); line-height: .95; letter-spacing: -0.04em; }
.type-panel__mic { position: absolute; top: 32px; right: 32px; width: 96px; height: 96px; }
.type-panel__mic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; opacity: .85; }
.split-vol { align-items: center; row-gap: 32px; }
@media (max-width: 1023px) { .type-panel { min-height: 300px; padding: 28px; } .type-panel__mic { width: 64px; height: 64px; } }

/* ---------- bank details ---------- */
.banks { row-gap: 24px; margin-top: 8px; }
.bank { padding: 28px; border-radius: var(--r-lg); background: var(--p-inv-surface); display: grid; gap: 16px; }
.ground-surface .bank, main > section:not(.ground-inverse) .bank { background: var(--surface); }
.bank h3 { margin: 0; font-size: 22px; font-weight: 500; }
.bank dl { margin: 0; }
.bank dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid color-mix(in oklab, currentColor 18%, transparent); align-items: center; }
.bank dt { color: inherit; opacity: .75; }
.bank dd { margin: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: .02em; overflow-wrap: anywhere; }
.copy { min-height: 44px; padding: 0 14px; border-radius: var(--r-btn, 8px); border: 1px solid color-mix(in oklab, currentColor 35%, transparent); background: transparent; color: inherit; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.copy:hover { background: color-mix(in oklab, currentColor 10%, transparent); }
.ground-inverse .btn-row { margin-top: 32px; }
@media (max-width: 1023px) { .bank { grid-column: 1 / -1 !important; } }

/* ---------- press ---------- */
.news-grid { row-gap: 24px; }
.news-card { display: grid; gap: 12px; align-content: start; padding: 28px 24px; border-radius: var(--r-lg); border: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); position: relative; transition: transform .2s ease; }
.news-card:hover { transform: translateY(-2px); }
.news-card h3 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 500; }
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card p { margin: 0; }
.news-card__meta { color: var(--muted); font-size: 16px; }
@media (max-width: 1023px) { .news-card { grid-column: 1 / -1; } }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-row { display: grid; grid-template-columns: 180px 1fr 200px; gap: 24px; padding: 28px 0; border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); align-items: baseline; }
.news-row__date, .news-row__source { color: var(--muted); }
.news-row__source { text-align: right; }
.news-row__title { font-size: clamp(22px, 1vw + 16px, 30px); margin: 0 0 8px; font-weight: 500; line-height: 1.2; }
.news-row__title a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.news-row p { margin: 0; }
@media (max-width: 767px) { .news-row { grid-template-columns: 1fr; gap: 6px; } .news-row__source { text-align: left; } }

/* ---------- prose (about, legal, news) ---------- */
.prose { display: grid; gap: 18px; align-content: start; }
.prose p, .prose ul { margin: 0; max-width: 62ch; line-height: 1.7; }
.prose ul { padding-left: 1.2em; display: grid; gap: 10px; }
.prose h2 { margin: 0 0 8px; }
.prose--list ul { list-style: none; padding: 0; }
.prose--list li { padding: 14px 0 14px 36px; border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); position: relative; }
.prose--list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 18px; height: 2px; background: var(--action); }
.signature { font-weight: 600; }
.fact-panel { border-radius: var(--r-lg); background: var(--surface); padding: 32px; align-self: start; }
.fact-panel dl { margin: 0; display: grid; }
.fact-panel dl > div { padding: 16px 0; border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); display: grid; gap: 4px; }
.fact-panel dl > div:first-child { border-top: 0; padding-top: 0; }
.fact-panel dt { color: var(--muted); font-size: 16px; }
.fact-panel dd { margin: 0; font-size: 20px; font-weight: 500; }
.logo-show img { max-width: 320px; height: auto; background: #fff; padding: 16px; border-radius: var(--r-md); }
.news-image { align-self: start; }

/* ---------- transparency ---------- */
.trust { row-gap: 40px; }
.trust h3 { font-size: 20px; margin: 0; font-weight: 600; }
.trust .rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); }
.trust .rows dt { color: var(--muted); }
.trust .rows dd { margin: 0; font-weight: 500; text-align: right; }
.people, .docs { list-style: none; margin: 0; padding: 0; }
.people li, .docs li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); }
.people__name { font-weight: 500; }
.people__role { color: var(--muted); font-size: 16px; }
@media (max-width: 1023px) { .trust > div { grid-column: 1 / -1; } }

/* ---------- partners ---------- */
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.partners li { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: var(--r-md); background: var(--surface); }
.partners img { max-height: 56px; max-width: 160px; object-fit: contain; }
.partners a { color: var(--ink); font-weight: 600; text-decoration: none; }
.partners a:hover { text-decoration: underline; }
.partners li > span:first-child { font-weight: 600; }
.partners__role { color: var(--muted); font-size: 16px; }

/* ---------- contact ---------- */
.contact-cards { row-gap: 24px; }
.contact-card { display: grid; gap: 10px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .2s ease; }
.contact-card:hover { transform: translateY(-2px); }
.contact-card__big { font-size: clamp(22px, 1vw + 16px, 30px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.contact-card__email { word-break: break-all; }
.hours-line { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 32px 0 0; }
.hours-line > div { display: flex; gap: 12px; }
.hours-line dt { color: var(--muted); }
.hours-line dd { margin: 0; font-weight: 500; }
@media (max-width: 1023px) { .contact-card { grid-column: 1 / -1; } }

/* ---------- forms ---------- */
.site-form { display: grid; gap: 20px; }
.site-form .field { display: grid; gap: 8px; }
.site-form label { font-size: 17px; font-weight: 500; }
.site-form input, .site-form select, .site-form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 18px; color: var(--ink); background: var(--bg);
  border: 1.5px solid color-mix(in oklab, var(--ink) 40%, transparent); border-radius: var(--r-sm, 8px);
}
.site-form textarea { min-height: 120px; resize: vertical; }
.site-form [aria-invalid="true"] { border-color: #a3261b; border-width: 2px; }
.field__error { color: #a3261b; font-weight: 500; margin: 0; }
.form__status--error { color: #a3261b; font-weight: 600; margin: 0; }
.form__sent { margin: 0; padding: 16px 20px; border-radius: var(--r-md); background: #e4efe6; color: #1f4f2c; font-weight: 600; font-size: 19px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.site-form .btn { min-height: 52px; font-size: 18px; }

/* ---------- closing band ---------- */
.close-type .closing__cta { display: grid; gap: 32px; }

/* ---------- footer ---------- */
.site-footer .footer__col h3 { font-size: 16px; font-weight: 600; margin: 0 0 12px; }
.site-footer .footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .footer__col a:not(.nav__logo) { color: inherit; }
.site-footer .footer__col p { margin: 8px 0 0; }
.footer__logo { margin-bottom: 12px; }
.footer__credit { margin-left: auto; }
@media (max-width: 1023px) { .site-footer .footer__col { grid-column: 1 / -1; } .footer__credit { margin-left: 0; } }

/* =========================================================
   DISPLAY MODES (chosen in the Display panel, kept in the browser)
   ========================================================= */

/* Larger text: scales the whole page, like the browser zoom, so the layout reflows */
html[data-text="lg"] main, html[data-text="lg"] footer { zoom: 1.2; }
html[data-text="xl"] main, html[data-text="xl"] footer { zoom: 1.45; }
html[data-text="xl"] .display-panel { zoom: 1.2; }

/* Yellow on black: the high-contrast scheme many partially sighted readers prefer */
html[data-contrast="high"] {
  --p-bg: #000; --p-surface: #111; --p-ink: #fff; --p-muted: #f2f2f2;
  --p-accent: #ffd400; --p-accent-ink: #000; --p-action: #ffd400; --p-action-ink: #000;
  --p-inv-bg: #000; --p-inv-surface: #111; --p-inv-ink: #fff; --p-inv-muted: #f2f2f2;
  --p-inv-accent: #ffd400; --p-inv-accent-ink: #000; --p-inv-action: #ffd400; --p-inv-action-ink: #000;
}
html[data-contrast="high"] body, html[data-contrast="high"] .nav, html[data-contrast="high"] section, html[data-contrast="high"] .display-panel { background: #000; color: #fff; }
html[data-contrast="high"] h1, html[data-contrast="high"] h2, html[data-contrast="high"] h3, html[data-contrast="high"] .mo-wh__text strong { color: #ffd400; }
html[data-contrast="high"] a:not(.btn) { color: #ffd400; text-decoration: underline; }
html[data-contrast="high"] .card, html[data-contrast="high"] .contact-card, html[data-contrast="high"] .partners li, html[data-contrast="high"] .fact-panel, html[data-contrast="high"] .type-panel, html[data-contrast="high"] .hero-listen, html[data-contrast="high"] .bank { background: #000 !important; color: #fff !important; border: 2px solid #fff; }
html[data-contrast="high"] .muted, html[data-contrast="high"] .t-label { color: #fff !important; opacity: 1 !important; }
html[data-contrast="high"] .wave i { background: #ffd400; }
html[data-contrast="high"] .btn--secondary, html[data-contrast="high"] .display-btn, html[data-contrast="high"] .seg button, html[data-contrast="high"] .copy, html[data-contrast="high"] .player__speed { border: 2px solid #ffd400 !important; color: #ffd400 !important; background: #000 !important; }
html[data-contrast="high"] .seg button[aria-pressed="true"] { background: #ffd400 !important; color: #000 !important; }
html[data-contrast="high"] input, html[data-contrast="high"] select, html[data-contrast="high"] textarea { background: #000 !important; color: #fff !important; border: 2px solid #fff !important; }
html[data-contrast="high"] :focus-visible { outline: 4px solid #ffd400 !important; outline-offset: 3px; }
html[data-contrast="high"] img { filter: grayscale(.2) contrast(1.1); }

/* Black on white: plain, no tints */
html[data-contrast="light"] {
  --p-bg: #fff; --p-surface: #fff; --p-ink: #000; --p-muted: #1a1a1a;
  --p-accent: #00338d; --p-action: #00338d; --p-action-ink: #fff;
  --p-inv-bg: #fff; --p-inv-surface: #fff; --p-inv-ink: #000; --p-inv-muted: #1a1a1a; --p-inv-action: #00338d; --p-inv-action-ink: #fff;
}
html[data-contrast="light"] .card, html[data-contrast="light"] .contact-card, html[data-contrast="light"] .partners li, html[data-contrast="light"] .fact-panel, html[data-contrast="light"] .hero-listen, html[data-contrast="light"] .bank { border: 2px solid #000; background: #fff !important; color: #000 !important; }
html[data-contrast="light"] .type-panel { background: #00338d; }
html[data-contrast="light"] .wave i { background: #00338d; }
html[data-contrast="light"] a:not(.btn) { text-decoration: underline; }

/* Stop movement: chosen in the panel, or asked for by the system */
html[data-calm] *, html[data-calm] *::before, html[data-calm] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; } }

/* Reading aloud: the paragraph being read is outlined */
.is-reading { outline: 3px solid var(--action); outline-offset: 6px; border-radius: 4px; }

@media (max-width: 1023px) {
  .display-btn span { display: none; }
  .display-btn { padding: 0 12px; }
  .display-panel__inner { grid-template-columns: 1fr; gap: 20px; }
}
@media print {
  .nav, .display-panel, .actionbar, .site-footer, .player, .embed { display: none !important; }
  body { font-size: 14pt; }
}

/* hero listening panel: never clipped, grows with its card */
.hero-split > .hero-visual.hero-listen { height: auto; min-height: 520px; overflow: visible; }
@media (max-width: 1023px) {
  .hero-split > .hero-visual.hero-listen { flex: none; min-height: 0; height: auto; }
  .hero-listen .wave { min-height: 96px; height: 96px; }
}
.site-footer .footer__address { font-size: 20px; line-height: 1.3; font-style: normal; letter-spacing: -0.01em; }
.hero-listen .audio-card { height: auto; }
@media (max-width: 1023px) { .hero-listen { grid-template-rows: auto auto; } }

/* fuller screens: each section fills its screen (one section per screen) */
.split-vol { align-items: start; }
@media (min-width: 1024px) {
  .service { min-height: 360px; align-content: space-between; }
  .service p { margin-top: auto; }
  .step { min-height: 320px; }
  .audio-grid .audio-card { min-height: 300px; }
  .type-panel { min-height: 600px; }
  .news-card { min-height: 300px; }
  .bank { min-height: 260px; }
}
.close-wave { margin-top: 64px; height: 200px; border-radius: var(--r-lg); background: var(--p-inv-bg); padding: 32px; }
.close-wave .wave { display: flex; align-items: center; gap: 4px; height: 100%; }
@media (max-width: 1023px) { .close-wave { height: 120px; margin-top: 40px; padding: 20px; } }
/* a phone keeps the hero to the words and buttons; the sample sits one tap away (#listen) */
@media (max-width: 639px) { .hero-split > .hero-visual.hero-listen { display: none; } }

/* ---------- brand: the JCTBA tree logo (brown, orange, leaf green) ---------- */
.nav__logo { gap: 12px; text-decoration: none; }
.logo-img { width: 52px; height: 52px; object-fit: contain; }
.footer__logo { display: inline-block; margin-bottom: 16px; }
.logo-text { display: grid; line-height: 1.05; }
.logo-text .logo-name { font-size: 18px; font-weight: 700; color: var(--action); letter-spacing: -0.01em; }
.logo-sub { font-size: 12.5px; font-weight: 600; color: var(--leaf); letter-spacing: .02em; }
.logo-short { display: none; font-weight: 700; color: var(--action); font-size: 18px; }
@media (max-width: 1180px) and (min-width: 1024px) { .logo-name, .logo-sub { display: none; } .logo-short { display: block; } }
@media (max-width: 420px) { .logo-name, .logo-sub { display: none; } .logo-short { display: block; } }
.footer__logo img { width: 150px; height: auto; display: block; }
.logo-show img { background: #fff; }
.service__n, .t-label { color: var(--leaf); }
.service { border-top: 3px solid var(--leaf-light); }
.step__n { background: var(--action); color: #fff; }
.wave i { background: linear-gradient(to top, var(--trunk), var(--orange) 55%, var(--leaf-light)); }
.statement .mo-wh__text strong { color: var(--action); }
.prose--list li::before { background: var(--leaf-light); height: 3px; }
.partners li { border-top: 3px solid var(--leaf-light); }
.announce { background: var(--leaf); }
html[data-contrast="high"] .logo-name, html[data-contrast="high"] .logo-sub, html[data-contrast="high"] .logo-short { color: #ffd400; }
html[data-contrast="light"] .logo-name, html[data-contrast="light"] .logo-short { color: #000; }
html[data-contrast="light"] .logo-sub { color: #1a1a1a; }

/* =========================================================
   POLISH PASS: motion tokens, press feedback, hover gating, legible type
   ========================================================= */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); }

/* Atkinson Hyperlegible Next (Braille Institute, made for low vision) for everything people read;
   Schibsted Grotesk stays for the large display headings */
html:root, html[data-type] { --font-text: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif; }
body, .t-lead, .card p, .prose, .site-form, .display-panel, .footer__col, .seg button, .copy, .player__time { font-family: var(--font-text); }

/* every pressable thing answers the press, never with "transition: all" */
.display-btn, .seg button, .copy, .player__speed, .player__play, .embed__btn .player__play {
  transition: transform 160ms var(--ease-out), background-color 150ms ease, color 150ms ease, border-color 150ms ease, filter 150ms ease;
  touch-action: manipulation;
}
.display-btn:active, .seg button:active, .copy:active, .player__speed:active { transform: scale(0.97); }
.player__play:active, .embed__btn:active .player__play { transform: scale(0.94); }
a, button, summary, [role="button"] { touch-action: manipulation; }

/* hover lifts only where a real pointer hovers (a tap on a phone would leave them stuck) */
.news-card, .contact-card { transition: transform 200ms var(--ease-out); }
.news-card:hover, .contact-card:hover { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .news-card:hover, .contact-card:hover { transform: translateY(-2px); }
}
.news-card:active, .contact-card:active { transform: scale(0.99); }

/* the Display panel drops in from the bar it belongs to: short, ease-out, and leaves instantly */
.display-panel { transform-origin: top center; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.display-panel:not([hidden]) { opacity: 1; transform: translateY(0); }
@starting-style { .display-panel:not([hidden]) { opacity: 0; transform: translateY(-8px); } }

/* focus: 3px, the brand brown, never animated */
:focus-visible { outline: 3px solid var(--action) !important; outline-offset: 3px !important; transition: none !important; }

/* a button that is sending says so */
.site-form [aria-busy="true"] { opacity: .75; cursor: progress; }

/* impact figures (shown only when the association fills them in) */
.impact { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.impact li { border-top: 3px solid var(--leaf-light); padding-top: 24px; display: grid; gap: 8px; }
.impact__n { font-family: var(--font-display); font-size: clamp(48px, 4vw + 16px, 88px); line-height: 1; letter-spacing: -0.04em; color: var(--action); font-variant-numeric: tabular-nums; }
.impact__l { font-size: 20px; max-width: 24ch; }
@media (max-width: 767px) { .impact { grid-template-columns: 1fr; } }

/* reduced motion: movement goes, gentle fades stay */
@media (prefers-reduced-motion: reduce) {
  .display-panel { transition: opacity 150ms ease; }
  @starting-style { .display-panel:not([hidden]) { transform: none; } }
  .news-card, .contact-card, .player__play { transition: none; }
}
@media (min-width: 1024px) {
  .service { display: flex; flex-direction: column; align-content: initial; }
  .service h3 { margin-top: 4px; }
  .service p { margin-top: auto; }
}
.logo-img { width: auto; height: 52px; max-width: 64px; }
