/*
 * אחד לאחד — one stylesheet for both languages.
 *
 * Colours, fonts, corner radius and text scale arrive as CSS variables from
 * the panel (render.theme_style), so nothing here hardcodes a brand colour.
 * Every size is in rem — the panel's text-size control scales the root font
 * size, and a px value would silently opt out of it. Directions use logical
 * properties (inline-start/end) so the same rules lay out RTL Hebrew and LTR
 * English without a second stylesheet.
 */

:root {
  --navy: #0F2537;
  --gold: #C59B27;
  --cream: #FAF8F5;
  --ink: #1B2733;
  --serif: 'Frank Ruhl Libre', Georgia, serif;
  --sans: 'Heebo', system-ui, sans-serif;
  --radius: .875rem;

  --navy-2: color-mix(in srgb, var(--navy) 82%, #fff);
  --navy-deep: color-mix(in srgb, var(--navy) 85%, #000);
  --gold-soft: color-mix(in srgb, var(--gold) 16%, #fff);
  --gold-ink: color-mix(in srgb, var(--gold) 70%, #000);
  --muted: color-mix(in srgb, var(--ink) 66%, #fff);
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --card: #fff;
  --shadow: 0 .0625rem .125rem rgb(15 37 55 / .06), 0 .5rem 1.75rem rgb(15 37 55 / .08);
  --shadow-lg: 0 1.25rem 3.5rem rgb(15 37 55 / .16);
  --wrap: 72rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0; }
:focus-visible { outline: .1875rem solid var(--gold); outline-offset: .1875rem; border-radius: .25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--navy); padding: .6rem 1rem; border-radius: .5rem; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }
.ico { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 48rem; }

/* --- buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: .125rem solid transparent;
  font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(.0625rem); }
.btn--gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 .5rem 1.25rem color-mix(in srgb, var(--gold) 35%, transparent); }
.btn--gold:hover { background: color-mix(in srgb, var(--gold) 88%, #fff); transform: translateY(-.0625rem); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { background: rgb(255 255 255 / .1); color: #fff; border-color: rgb(255 255 255 / .45); backdrop-filter: blur(.25rem); }
.btn--ghost:hover { background: rgb(255 255 255 / .2); }
.btn--outline { background: transparent; color: var(--navy); border-color: color-mix(in srgb, var(--navy) 30%, transparent); }
.btn--outline:hover { border-color: var(--navy); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.0625rem; }
.btn--sm { padding: .55rem 1.1rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.play-dot { width: 0; height: 0; border-block: .4rem solid transparent; border-inline-start: .65rem solid currentColor; }

/* --- campaign banner ------------------------------------------------------------ */
.camp-banner { background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 75%, #fff), var(--gold)); text-align: center; }
.camp-banner a { display: block; padding: .55rem 1rem; color: var(--navy-deep); font-weight: 700; text-decoration: none; font-size: .975rem; }
.camp-banner a:hover { text-decoration: underline; }

/* --- header ------------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--navy) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(.75rem);
  color: #fff;
  border-bottom: 1px solid rgb(255 255 255 / .08);
}
.topbar__row { display: flex; align-items: center; gap: 1.25rem; min-height: 4.25rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; flex: none; }
.logo img { height: 2.75rem; width: auto; }
.logo__mark {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .7rem;
  background: var(--gold); color: var(--navy-deep);
  font: 900 1.7rem/1 var(--serif); padding-top: .15rem;
}
.logo__text { font: 800 1.35rem/1 var(--serif); letter-spacing: -.01em; }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .5rem .7rem; border-radius: .5rem; text-decoration: none; font-weight: 500; font-size: .96rem; color: rgb(255 255 255 / .85); }
.nav a:hover, .nav a.is-active { color: #fff; background: rgb(255 255 255 / .08); }
.topbar__end { display: flex; align-items: center; gap: .6rem; }
.lang { font-weight: 700; font-size: .9rem; text-decoration: none; padding: .45rem .65rem; border: 1px solid rgb(255 255 255 / .3); border-radius: .5rem; }
.lang:hover { background: rgb(255 255 255 / .1); }
.burger { display: none; width: 2.75rem; height: 2.75rem; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; inset-inline: .65rem; height: .125rem; background: #fff; border-radius: 1px; content: ''; transition: transform .25s; }
.burger span { top: 50%; }
.burger span::before { top: -.45rem; inset-inline: 0; }
.burger span::after { top: .45rem; inset-inline: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(.45rem) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-.45rem) rotate(-45deg); }

/* --- hero ---------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--navy-deep); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80rem 40rem at 85% 10%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 60%),
    linear-gradient(180deg, rgb(10 25 38 / .55), rgb(10 25 38 / .88) 70%, var(--navy-deep));
}
.is-en .hero__shade { background: radial-gradient(80rem 40rem at 15% 10%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 60%), linear-gradient(180deg, rgb(10 25 38 / .55), rgb(10 25 38 / .88) 70%, var(--navy-deep)); }
.hero__grid > * { min-width: 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(19rem, .75fr); gap: 3rem; align-items: center; padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3.5rem, 8vw, 6rem); }
.kicker { font: 700 .82rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .75rem; }
.is-he .kicker { letter-spacing: .04em; font-size: .95rem; }
.kicker--light { color: var(--gold); }
.hero__title { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 900; line-height: 1.08; }
.hero__accent { display: block; font-size: .5em; font-weight: 500; color: color-mix(in srgb, var(--gold) 80%, #fff); margin-top: .7rem; line-height: 1.3; }
.hero__lead { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgb(255 255 255 / .86); max-width: 38rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* quick donate */
.qd {
  background: #fff; color: var(--ink); border-radius: calc(var(--radius) * 1.4); padding: 1.6rem;
  box-shadow: var(--shadow-lg); border-top: .3rem solid var(--gold);
}
.qd__title { font-size: 1.45rem; margin-bottom: 1rem; color: var(--navy); }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: color-mix(in srgb, var(--navy) 7%, #fff); border-radius: 999px; padding: .25rem; }
.seg__btn { border: 0; background: transparent; padding: .6rem .5rem; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--muted); }
.seg__btn.is-on { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.qd__chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr)); gap: .5rem; margin-top: 1rem; }
.chip {
  border: .125rem solid var(--line); background: #fff; border-radius: calc(var(--radius) * .7);
  padding: .75rem .4rem; font-weight: 700; font-size: 1.08rem; cursor: pointer; transition: border-color .15s, background .15s;
  font-variant-numeric: tabular-nums;
}
.chip:hover { border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.chip.is-on { border-color: var(--gold); background: var(--gold-soft); color: var(--navy-deep); }
.qd__other { display: flex; align-items: center; gap: .75rem; margin: .9rem 0 1rem; }
.qd__other-label { font-size: .92rem; color: var(--muted); white-space: nowrap; }
.qd__other-box { flex: 1; display: flex; align-items: center; border: .125rem solid var(--line); border-radius: calc(var(--radius) * .7); padding-inline: .8rem; background: #fff; }
.qd__other-box:focus-within { border-color: var(--gold); }
.qd__other-box input { flex: 1; min-width: 0; border: 0; outline: 0; padding: .6rem 0; font-weight: 700; font-size: 1.05rem; background: transparent; direction: ltr; text-align: start; }
.is-he .qd__other-box input { text-align: right; }
.qd__cur { color: var(--muted); font-weight: 700; }
.qd__note { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .85rem; font-size: .84rem; color: var(--muted); text-align: center; }
.qd__note .ico { color: var(--gold-ink); width: 1rem; height: 1rem; }

/* --- sections ------------------------------------------------------------------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 46rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-title { font-size: clamp(1.9rem, 3.6vw, 2.75rem); color: var(--navy); }
.sec-title::after { content: ''; display: block; width: 3.5rem; height: .2rem; background: var(--gold); border-radius: 1rem; margin-top: 1rem; }
.sec-head--center .sec-title::after { margin-inline: auto; }
.sec-sub { margin-top: 1rem; font-size: 1.12rem; color: var(--muted); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.prose p { margin-bottom: 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: .2em; }

/* vision */
.vision { background: #fff; }
.vision__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.vision__grid--novideo { grid-template-columns: 1fr; max-width: 48rem; margin-inline: auto; }
.vision__quotes { display: grid; gap: 1.5rem; }
.quote { margin: 0; position: relative; }
.quote .ico { width: 2.6rem; height: 2.6rem; color: var(--gold); opacity: .9; margin-bottom: .6rem; }
.is-he .quote .ico { transform: scaleX(-1); }
.quote blockquote { margin: 0; }
.quote--main blockquote p { font: 500 clamp(1.25rem, 2.1vw, 1.55rem)/1.55 var(--serif); color: var(--navy); }
.quote--founder { padding: 1.3rem 1.5rem; background: var(--cream); border-radius: var(--radius); border-inline-start: .25rem solid var(--gold); }
.quote--founder blockquote p { font-size: 1.04rem; color: var(--ink); font-style: italic; }
.quote figcaption { margin-top: .9rem; display: flex; flex-direction: column; }
.quote figcaption strong { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); }
.quote figcaption span { font-size: .9rem; color: var(--muted); }

/* video facade */
.vframe { display: flex; flex-direction: column; gap: .75rem; }
.vfacade {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; background: var(--navy-deep); box-shadow: var(--shadow-lg);
}
.vfacade img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; opacity: .92; }
.vfacade:hover img { transform: scale(1.03); opacity: 1; }
.vfacade__play { position: absolute; inset: 0; display: grid; place-items: center; }
.vfacade__play svg { width: 4.25rem; height: 3rem; fill: color-mix(in srgb, var(--navy-deep) 82%, transparent); transition: fill .2s; filter: drop-shadow(0 .25rem .75rem rgb(0 0 0 / .35)); }
.vfacade:hover .vfacade__play svg { fill: #e00; }
.vfacade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vframe__title { font-weight: 600; color: var(--navy); line-height: 1.45; }

/* stats */
.stats { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50rem 22rem at 50% -10%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%); pointer-events: none; }
.stats .sec-title { color: #fff; }
.stats .kicker { color: var(--gold); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(min(var(--n), 5), minmax(0, 1fr)); gap: 1rem; }
.stat { text-align: center; padding: 1.4rem .75rem; border-radius: var(--radius); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .09); }
.stat__num { font: 900 clamp(2.2rem, 4.2vw, 3.2rem)/1.1 var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; }
.stat__label { margin-top: .55rem; color: rgb(255 255 255 / .82); font-size: .98rem; line-height: 1.45; }

/* tracks */
.tracks__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.track { display: flex; flex-direction: column; background: #fff; border-radius: calc(var(--radius) * 1.3); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
@media (hover: hover) { .track:hover { transform: translateY(-.25rem); box-shadow: var(--shadow-lg); } }
.track__img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; }
.track__img--blank { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.track__body { padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.track__body .btn { align-self: flex-start; margin-top: auto; }
.track__title { font-size: 1.6rem; color: var(--navy); }
.track__body .prose { color: color-mix(in srgb, var(--ink) 85%, #fff); }
.track--alt { border-top: .3rem solid var(--gold); }

/* partner */
.partner { background: linear-gradient(180deg, var(--cream), color-mix(in srgb, var(--gold) 7%, var(--cream))); }
.tiers { display: grid; grid-template-columns: repeat(min(var(--n), 4), minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.tier { position: relative; background: #fff; border-radius: calc(var(--radius) * 1.2); padding: 2rem 1.6rem 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .7rem; border: .125rem solid transparent; text-align: center; }
.tier--featured { border-color: var(--gold); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .tier--featured { transform: translateY(-.75rem); } }
.tier__badge { position: absolute; top: -.85rem; inset-inline: 0; margin-inline: auto; width: max-content; background: var(--gold); color: var(--navy-deep); font-weight: 700; font-size: .82rem; padding: .25rem .85rem; border-radius: 999px; }
.tier__title { font-size: 1.4rem; color: var(--navy); }
.tier__amount { font: 900 2.3rem/1.1 var(--serif); color: var(--navy); font-variant-numeric: tabular-nums; }
.tier__per { font: 500 .95rem var(--sans); color: var(--muted); margin-inline-start: .3rem; }
.tier__desc { color: var(--muted); flex: 1; }
.dedicate { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 1.25rem; align-items: center; background: #fff; border: 1px dashed color-mix(in srgb, var(--gold) 60%, transparent); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.dedicate h3 { font-size: 1.2rem; color: var(--navy); }
.dedicate p { color: var(--muted); font-size: .92rem; }
.dedicate__fields { display: flex; gap: .6rem; flex-wrap: wrap; }
.dedicate__fields .grow { flex: 1 1 11rem; }
.dedicate select, .dedicate input, .field input, .field textarea {
  width: 100%; border: .125rem solid var(--line); border-radius: calc(var(--radius) * .6); padding: .65rem .8rem; background: #fff; outline: 0;
}
.dedicate select:focus, .dedicate input:focus, .field input:focus, .field textarea:focus { border-color: var(--gold); }

/* rabbis */
.rabbis { background: #fff; }
.rabbis__grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.rabbi { flex: 0 1 13rem; text-align: center; padding: 1.5rem 1rem; border-radius: var(--radius); background: var(--cream); }
.rabbi__img { width: 6.5rem; height: 6.5rem; border-radius: 50%; object-fit: cover; margin: 0 auto .9rem; border: .2rem solid #fff; box-shadow: 0 0 0 .125rem var(--gold); }
.rabbi__img--mono { display: grid; place-items: center; background: var(--navy); color: var(--gold); font: 900 2.5rem/1 var(--serif); }
.rabbi__name { font: 700 1.12rem/1.3 var(--serif); color: var(--navy); }
.rabbi__role { margin-top: .35rem; font-size: .9rem; color: var(--muted); line-height: 1.45; }

/* gallery */
.gal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: .75rem; }
.gal__item:first-child { grid-column: span 2; grid-row: span 2; }
.gal__item.is-more { display: none; }
.gal.is-open .gal__item.is-more { display: block; }
.gal__btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; border-radius: calc(var(--radius) * .8); overflow: hidden; background: var(--navy); }
.gal__img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) { .gal__btn:hover .gal__img { transform: scale(1.05); } }
.gal__more { text-align: center; margin-top: 1.5rem; }
.drive { margin-top: 2.5rem; }
.drive__title { font-size: 1.3rem; color: var(--navy); margin-bottom: .8rem; }
.drive__frame { width: 100%; height: 32rem; border: 0; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.drive p { margin-top: .6rem; }

/* videos */
.videos { background: #fff; }
.videos__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.videos__grid > .vframe { flex: 1 1 18rem; max-width: 34rem; }

/* news */
.news__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.news-card { flex: 1 1 19rem; max-width: 26rem; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.news-card__img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.news-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-card time { font-size: .85rem; color: var(--gold-ink); font-weight: 600; }
.news-card h3 { font-size: 1.25rem; color: var(--navy); }
.news-card p { color: var(--muted); font-size: .96rem; }
.news-card__more { margin-top: auto; padding-top: .4rem; font-weight: 700; color: var(--navy); }

/* press */
.press { background: #fff; }
.press__grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.press__item { flex: 0 1 15rem; }
.press__item a, .press__item button { display: flex; flex-direction: column; width: 100%; height: 100%; text-align: start; padding: 0; border: 1px solid var(--line); background: var(--cream); border-radius: var(--radius); overflow: hidden; text-decoration: none; cursor: pointer; transition: box-shadow .2s; }
.press__item a:hover, .press__item button:hover { box-shadow: var(--shadow); }
.press__img { aspect-ratio: 4 / 3.4; overflow: hidden; background: #fff; }
.press__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.press__body { padding: 1rem 1.1rem 1.2rem; }
.press__body h3 { font: 600 1rem/1.5 var(--sans); color: var(--navy); }
.press__body p { margin-top: .35rem; font-size: .85rem; color: var(--muted); }

/* faq */
.faq__list { display: grid; gap: .75rem; }
.faq__item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.15rem 1.4rem; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font: 400 1.6rem/1 var(--sans); color: var(--gold-ink); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item .prose { padding: 0 1.4rem 1.3rem; color: color-mix(in srgb, var(--ink) 85%, #fff); }

/* methods */
.methods { background: linear-gradient(180deg, #fff, var(--cream)); }
.methods__grid { display: grid; grid-template-columns: repeat(min(var(--n), 4), minmax(0, 1fr)); gap: 1.25rem; }
.method { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.method .btn { margin-top: auto; }
.method--main { background: var(--navy); color: #fff; }
.method--main h3 { color: #fff !important; }
.method--main p { color: rgb(255 255 255 / .8) !important; }
.method__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .8rem; background: var(--gold-soft); color: var(--gold-ink); }
.method--main .method__icon { background: rgb(255 255 255 / .1); color: var(--gold); }
.method h3 { font-size: 1.25rem; color: var(--navy); }
.method p { color: var(--muted); font-size: .95rem; }
.bank { margin: 0; display: grid; gap: .3rem; width: 100%; }
.bank div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .3rem; }
.bank dt { color: var(--muted); font-size: .92rem; }
.bank dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.trust { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; }
.trust li { display: flex; align-items: center; gap: .45rem; font-size: .95rem; color: var(--ink); }
.trust .ico { color: var(--gold-ink); }

/* ways to give: one card per project, then bank transfer per project */
.projs { display: grid; grid-template-columns: repeat(min(var(--n), 3), minmax(0, 1fr)); gap: 1.25rem; }
.proj { background: var(--navy); color: #fff; border-radius: calc(var(--radius) * 1.2); padding: 1.75rem; display: flex; flex-direction: column; gap: .8rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.proj::after { content: ''; position: absolute; inset-inline-end: -3rem; top: -3rem; width: 9rem; height: 9rem; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 30%, transparent), transparent 70%); pointer-events: none; }
.proj__title { font-size: 1.6rem; color: #fff; }
.proj__desc { color: rgb(255 255 255 / .78); }
.proj__btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .4rem; }
.proj__btns .btn { flex: 1 1 11rem; }
.proj__note { display: flex; align-items: center; gap: .4rem; font-size: .84rem; color: rgb(255 255 255 / .6); }
.proj__note .ico { width: 1rem; height: 1rem; color: var(--gold); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .45); }
.btn--outline-light:hover { background: rgb(255 255 255 / .1); border-color: #fff; }
.bankwrap { margin-top: 2.5rem; }
.bankwrap__title { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: 1.4rem; color: var(--navy); margin-bottom: 1.1rem; }
.bankwrap__title .ico { color: var(--gold-ink); width: 1.5rem; height: 1.5rem; }
.bankcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.bankcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.25rem; text-align: center; display: grid; gap: .35rem; justify-items: center; box-shadow: var(--shadow); }
.bankcard__proj { font: 700 1.15rem/1.3 var(--serif); color: var(--gold-ink); }
.bankcard__owner { font-weight: 600; }
.bankcard__num { color: var(--ink); font-variant-numeric: tabular-nums; }
.bankcard .btn { margin-top: .5rem; }
.banknote { display: flex; align-items: flex-start; gap: .6rem; max-width: 46rem; margin: 0 auto 1.2rem; padding: .9rem 1.2rem; background: color-mix(in srgb, var(--gold) 12%, #fff); border-inline-start: .3rem solid var(--gold); border-radius: calc(var(--radius) * .6); font-weight: 600; color: color-mix(in srgb, var(--ink) 85%, #fff); }
.banknote a { color: var(--navy); font-weight: 700; }
.banknote .ico, .qdbank__note .ico { color: var(--gold-ink); margin-top: .15em; }
.bitline { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; }
.bitline .ico { color: var(--gold-ink); }

/* quick donate: the second payment path */
.qd__alt { display: block; text-align: center; margin-top: .7rem; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .2em; }
.qd .seg__btn { font-size: .92rem; }

/* logo */
.logo__img { height: 2.9rem; width: auto; }
.footer .logo__img { height: 3.6rem; }

/* welcome note */
.welcome { position: fixed; z-index: 70; inset-inline-start: 1.25rem; bottom: 1.25rem; width: min(100% - 2.5rem, 23rem); background: #fff; border-radius: calc(var(--radius) * 1.2); box-shadow: var(--shadow-lg); padding: 1.3rem 1.3rem 1.1rem; border-top: .3rem solid var(--gold); transform: translateY(1.5rem); opacity: 0; transition: transform .35s var(--ease), opacity .35s; }
.welcome.is-in { transform: none; opacity: 1; }
.welcome__title { font: 800 1.25rem/1.3 var(--serif); color: var(--navy); padding-inline-end: 2rem; }
.welcome__text { margin: .4rem 0 .9rem; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.welcome__x { position: absolute; top: .5rem; inset-inline-end: .5rem; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: var(--cream); font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--navy); }

/* about + who-we-support */
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 .5rem; }
.toc a { padding: .45rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--navy); }
.toc a:hover { border-color: var(--gold); }
.about-part { margin-top: 2.5rem; scroll-margin-top: 5.5rem; }
.about-part > h2 { font-size: 1.7rem; color: var(--navy); margin-bottom: 1rem; }
.yesh__search input { width: 100%; margin-top: 1.5rem; padding: .85rem 1.1rem; border: .125rem solid var(--line); border-radius: 999px; background: #fff; outline: 0; font-size: 1rem; }
.yesh__search input:focus { border-color: var(--gold); }
.yesh__count { margin-top: .6rem; color: var(--muted); font-size: .9rem; }
.yesh { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: .6rem; }
.yesh li { background: #fff; border-radius: calc(var(--radius) * .7); padding: .75rem 1rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .1rem; }
.yesh li[hidden] { display: none; }
.yesh__name { font-weight: 600; color: var(--navy); line-height: 1.4; }
.yesh__place { font-size: .85rem; color: var(--muted); }
.contact__list .sep { opacity: .4; margin-inline: .4rem; }

/* contact */
.contact { background: var(--navy); color: #fff; }
.contact .sec-title { color: #fff; }
.contact .sec-sub { color: rgb(255 255 255 / .75); }
.contact .kicker { color: var(--gold); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact__list li { display: flex; align-items: center; gap: .8rem; font-size: 1.1rem; }
.contact__list .ico { color: var(--gold); width: 1.4rem; height: 1.4rem; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.contact__form { color: var(--ink); padding: 1.75rem; display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field span { font-weight: 600; font-size: .92rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.is-he .field input[dir="ltr"] { text-align: right; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status.is-ok { color: #1c7a43; }
.form-status.is-err { color: #b42318; }

/* footer */
.footer { background: var(--navy-deep); color: rgb(255 255 255 / .78); padding-top: 3rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.logo--light { color: #fff; }
.footer__line { margin-top: .8rem; color: var(--gold); font-weight: 600; }
.footer__about { margin-top: .6rem; max-width: 34rem; font-size: .95rem; }
.footer__contact { display: grid; gap: .35rem; align-content: start; }
.footer__contact a { text-decoration: none; }
.footer__social { display: flex; gap: .6rem; margin-top: .5rem; }
.footer__social a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgb(255 255 255 / .08); }
.footer__social a:hover { background: var(--gold); color: var(--navy-deep); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-block: 1.2rem 1.5rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .88rem; }
.footer__legal a { color: inherit; }

/* mobile bar */
.mbar { display: none; }

/* dialogs */
dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgb(8 18 28 / .72); backdrop-filter: blur(.2rem); }
.x { position: absolute; top: .6rem; inset-inline-end: .6rem; z-index: 2; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: rgb(255 255 255 / .92); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.camp { max-height: calc(100dvh - 2rem); overflow: auto; width: min(100% - 2rem, 30rem); border-radius: calc(var(--radius) * 1.4); overflow: hidden; box-shadow: var(--shadow-lg); border-top: .35rem solid var(--gold); }
.camp__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.camp__body { padding: 1.75rem; display: grid; gap: .9rem; text-align: center; }
.camp h2 { font-size: 1.75rem; color: var(--navy); padding-inline: 2.75rem; }
.camp p { color: var(--muted); }
.camp__amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.camp__amount { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .75rem .3rem; border-radius: calc(var(--radius) * .7); border: .125rem solid var(--line); text-decoration: none; transition: border-color .15s, background .15s; }
.camp__amount:hover { border-color: var(--gold); background: var(--gold-soft); }
.camp__amount b { font: 900 1.35rem/1.1 var(--serif); color: var(--navy); }
.camp__amount span { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; background: transparent; }
.lb[open] { display: grid; place-items: center; }
.lb figure { margin: 0; max-width: min(92vw, 80rem); }
.lb img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: calc(var(--radius) * .6); }
.lb figcaption { color: #fff; text-align: center; margin-top: .8rem; }
.lb__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: rgb(255 255 255 / .9); font-size: 2rem; line-height: 1; cursor: pointer; }
.lb__prev { inset-inline-start: 1rem; }
.lb__next { inset-inline-end: 1rem; }
.is-he .lb__prev, .is-he .lb__next { transform: translateY(-50%) scaleX(-1); }
.vmodal { width: min(100% - 2rem, 64rem); background: transparent; overflow: visible; }
.vmodal__frame { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.vmodal__frame iframe { width: 100%; height: 100%; border: 0; }
.vmodal .x { top: -3rem; inset-inline-end: 0; }

/* article pages */
.is-page main { min-height: 60vh; }
.article { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article__title { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--navy); line-height: 1.2; }
.article__date { display: block; margin-top: .8rem; color: var(--gold-ink); font-weight: 600; }
.article__lead { margin-top: 1.1rem; font-size: 1.2rem; color: color-mix(in srgb, var(--ink) 80%, #fff); font-weight: 500; }
.article__img { margin-block: 2rem; border-radius: var(--radius); width: 100%; }
.prose--article { font-size: 1.1rem; }
.prose--article h2 { font-size: 1.55rem; color: var(--navy); margin: 2.2rem 0 .8rem; }
.prose--article h3 { font-size: 1.25rem; color: var(--navy); margin: 1.6rem 0 .6rem; }
.vframe--article { margin-top: 2rem; }
.article__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.5rem; }
.article__more { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.article__more h2 { font-size: 1.3rem; color: var(--navy); margin-bottom: .6rem; }
.article__more ul { padding-inline-start: 1.2rem; }

/* reveal on scroll — only when the script is running, so no-JS readers see everything */
.js .reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --- responsive -------------------------------------------------------------------- */
@media (max-width: 1060px) {
  .nav { position: absolute; top: 100%; inset-inline: 0; background: var(--navy); margin: 0; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); box-shadow: 0 1rem 2rem rgb(0 0 0 / .2); }
  .nav.is-open { max-height: 80vh; }
  .nav ul { flex-direction: column; padding: .5rem 1rem 1rem; }
  .nav a { padding: .85rem .6rem; font-size: 1.08rem; border-bottom: 1px solid rgb(255 255 255 / .07); border-radius: 0; }
  .burger { display: block; }
  .topbar__end { margin-inline-start: auto; }
}
@media (max-width: 900px) {
  .hero__grid, .vision__grid, .tracks__grid, .contact__grid, .footer__grid, .dedicate { grid-template-columns: 1fr; }
  .hero__grid { gap: 2rem; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:last-child:nth-child(odd) { grid-column: span 2; }
  .tiers, .methods__grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rabbi { flex-basis: calc(50% - .5rem); }
  .press__item { flex-basis: calc(50% - .65rem); }
}
@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: 3.6rem; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); padding-block: 2.25rem 2.5rem; gap: 1.75rem; }
  .hero__title { font-size: clamp(2.1rem, 9.5vw, 2.6rem); }
  .hero__accent { font-size: .58em; margin-top: .5rem; }
  .hero__lead { margin-top: 1rem; font-size: 1.02rem; }
  .hero__actions { margin-top: 1.4rem; gap: .6rem; }
  /* the quick-donate box sits right under the hero on a phone, so the hero's own donate button only repeats it */
  .hero__actions .btn--gold { display: none; }
  .hero__actions .btn { flex: 1 1 100%; padding-block: .85rem; }
  .qd [data-donate] { font-size: 1rem; padding: .95rem 1rem; }
  .btn { white-space: normal; text-align: center; }
  .section { padding-block: 3rem; }
  .sec-head { margin-bottom: 1.6rem; }
  .sec-title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .sec-sub { font-size: 1rem; }
  .wrap { width: min(100% - 1.5rem, var(--wrap)); }
  .vision__quotes { gap: 1.1rem; }
  .quote .ico { width: 2rem; height: 2rem; margin-bottom: .2rem; }
  .quote--main blockquote p { font-size: 1.18rem; }
  .stat { padding: 1.1rem .5rem; }
  .stat__num { font-size: 2.1rem; }
  .stat__label { font-size: .88rem; }
  .track__body { padding: 1.3rem; }
  .track__title { font-size: 1.35rem; }
  .track__body .btn { align-self: stretch; }
  .tier { padding: 1.7rem 1.25rem 1.3rem; }
  .tier__amount { font-size: 2rem; }
  .dedicate { padding: 1.1rem; }
  .dedicate__fields { flex-direction: column; }
  .dedicate__fields .grow { flex: none; }
  .rabbi { padding: 1.1rem .6rem; }
  .rabbi__img { width: 4.75rem; height: 4.75rem; }
  .rabbi__img--mono { font-size: 1.9rem; }
  .rabbi__name { font-size: 1rem; }
  .rabbi__role { font-size: .82rem; }
  .gal { gap: .5rem; }
  /* press clippings: one per row, the clipping beside its headline */
  .press__item { flex-basis: 100%; }
  .press__item a, .press__item button { flex-direction: row; align-items: stretch; }
  .press__img { flex: 0 0 6.5rem; aspect-ratio: auto; min-height: 7.5rem; }
  .press__body { padding: .8rem 1rem; align-self: center; }
  .news-card { max-width: none; }
  .methods__grid, .tiers { max-width: none; }
  .projs { grid-template-columns: 1fr; }
  .proj { padding: 1.35rem; }
  .proj__title { font-size: 1.35rem; }
  .proj__btns .btn { flex: 1 1 100%; }
  .bankcards { grid-template-columns: 1fr; }
  .banknote { font-size: .92rem; }
  .welcome { inset-inline: .75rem; width: auto; bottom: 4.6rem; }
  .logo__img { height: 2.5rem; }
  .yesh { grid-template-columns: 1fr 1fr; gap: .45rem; }
  .yesh li { padding: .6rem .7rem; }
  .yesh__name { font-size: .92rem; }
  .method { padding: 1.3rem; }
  .method .btn { align-self: stretch; }
  .trust { flex-direction: column; align-items: flex-start; gap: .55rem; }
  .trust li { align-items: flex-start; font-size: .9rem; }
  .contact__grid { gap: 2rem; }
  .contact__list li { font-size: 1.02rem; }
  .contact__form { padding: 1.25rem; }
  .faq__item summary { padding: 1rem 1.1rem; font-size: .98rem; }
  .faq__item .prose { padding: 0 1.1rem 1.1rem; }
  .footer__legal { flex-direction: column; }
  .article__cta .btn { flex: 1 1 100%; }
  .camp__body { padding: 1.4rem 1.1rem; }
  .camp h2 { font-size: 1.45rem; }
  .camp__amount b { font-size: 1.15rem; }
  .lb__nav { width: 2.5rem; height: 2.5rem; font-size: 1.6rem; top: auto; bottom: 1rem; transform: none; }
  .is-he .lb__prev, .is-he .lb__next { transform: scaleX(-1); }
  .lb img { max-height: 75vh; border-radius: .4rem; }
  .vmodal .x { top: -2.8rem; }
  /* iOS zooms into any field under 16px: keep form text at 16px whatever the size slider says */
  input, select, textarea { font-size: max(1rem, 16px) !important; }
  .topbar .btn--sm { display: none; }
  .logo__text { font-size: 1.2rem; }
  .field-row { grid-template-columns: 1fr; }
  .qd { padding: 1.3rem; }
  .mbar {
    display: flex; justify-content: center; align-items: center; gap: .5rem;
    position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom));
    background: var(--gold); color: var(--navy-deep); font-weight: 800; text-decoration: none; font-size: 1rem;
    box-shadow: 0 -.4rem 1.2rem rgb(0 0 0 / .18); transition: transform .3s var(--ease);
  }
  .mbar.is-hidden { transform: translateY(110%); }
  .drive__frame { height: 24rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* quick donate: link to every way to give, or the bank accounts right in the box */
.qd__more { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .75rem; font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none; }
.qd__more span { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .2em; }
.qd__more .ico, .qdbank__sum .ico { width: 1.05rem; height: 1.05rem; color: var(--gold-ink); flex: none; }
.qdbank { margin-top: .9rem; border: 1px solid var(--line); border-radius: calc(var(--radius) * .7); background: color-mix(in srgb, var(--gold) 6%, #fff); }
.qdbank__sum { display: flex; align-items: center; gap: .45rem; padding: .7rem .9rem; cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
.qdbank__sum::-webkit-details-marker { display: none; }
.qdbank__sum::after { content: '▾'; margin-inline-start: auto; color: var(--muted); transition: transform .2s; }
.qdbank[open] .qdbank__sum::after { transform: rotate(180deg); }
.qdbank__list { display: grid; gap: .6rem; padding: 0 .9rem .3rem; }
.qdbank__row { display: grid; grid-template-columns: 1fr auto; gap: .1rem .6rem; align-items: center; padding-top: .6rem; border-top: 1px solid var(--line); }
.qdbank__proj { font-weight: 700; color: var(--gold-ink); }
.qdbank__owner, .qdbank__num { grid-column: 1; font-size: .9rem; }
.qdbank__num { font-variant-numeric: tabular-nums; }
.qdbank__num bdi, .bankcard__num bdi { white-space: nowrap; }
.qdbank__copy { grid-column: 2; grid-row: 1 / span 3; display: inline-flex; align-items: center; gap: .3rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .4rem .7rem; font-size: .8rem; font-weight: 600; cursor: pointer; color: var(--navy); white-space: nowrap; }
.qdbank__copy .ico { width: .9rem; height: .9rem; }
.qdbank__copy:hover { border-color: var(--gold); }
.qdbank__note { display: flex; align-items: flex-start; gap: .4rem; margin: 0 .9rem .6rem; padding: .5rem .7rem; font-size: .84rem; font-weight: 600; background: color-mix(in srgb, var(--gold) 14%, #fff); border-radius: calc(var(--radius) * .5); }
.qdbank__note .ico { width: 1rem; height: 1rem; }
.qdbank__note a { color: var(--navy); font-weight: 600; }

/* quick donate: one-time or standing order, then Bit / JGive beside the card payment */
.seg--kind { margin-top: .6rem; }
.qd__alts { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .5rem; margin-top: .6rem; }
.qd__alts[hidden], .qd__alts [hidden], .qd__bitnote[hidden], .seg[hidden] { display: none; }
.qd__pay { justify-content: center; padding-block: .65rem; font-size: .95rem; }
.qd__bitnote { margin-top: .6rem; font-size: .84rem; color: var(--muted); text-align: center; }

/* privacy notice where details are collected */
.form-privacy { margin: .2rem 0 .8rem; font-size: .82rem; color: var(--muted); }
.form-privacy a { color: inherit; text-decoration: underline; }
.dedicate .form-privacy { margin: .7rem 0 0; }

/* accessibility menu */
.a11y { position: fixed; bottom: 1rem; inset-inline-end: 1rem; z-index: 70; }
.a11y__btn { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: .15rem solid #fff; background: #1d4ed8; color: #fff; cursor: pointer; box-shadow: 0 .3rem 1rem rgb(0 0 0 / .25); }
.a11y__btn svg { width: 1.7rem; height: 1.7rem; fill: currentColor; }
.a11y__panel { position: absolute; bottom: 3.6rem; inset-inline-end: 0; width: min(18rem, calc(100vw - 2rem)); background: #fff; color: #111; border-radius: .9rem; box-shadow: 0 1rem 2.5rem rgb(0 0 0 / .3); padding: .9rem; display: grid; gap: .7rem; }
.a11y__panel[hidden] { display: none; }
.a11y__head { display: flex; align-items: center; justify-content: space-between; font-size: 1.05rem; }
.a11y__x { border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #111; padding: 0 .3rem; }
.a11y__size { display: grid; grid-template-columns: auto 1fr auto; align-items: center; text-align: center; gap: .5rem; font-weight: 600; }
.a11y__size button, .a11y__opt, .a11y__foot button { border: 1px solid #c9ced6; background: #f5f7fa; color: #111; border-radius: .55rem; padding: .55rem .8rem; font: inherit; font-weight: 600; cursor: pointer; }
.a11y__size button { min-width: 3rem; font-size: 1.1rem; }
.a11y__opts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.a11y__opt { font-size: .88rem; padding-block: .7rem; }
.a11y__opt[aria-pressed="true"] { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.a11y__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .9rem; }
.a11y__foot a { color: #1d4ed8; font-weight: 600; }
@media (max-width: 760px) {
  .a11y { bottom: .8rem; inset-inline-end: .8rem; }
  .mbar + .a11y { bottom: calc(4.4rem + env(safe-area-inset-bottom)); }
  .a11y__btn { width: 2.75rem; height: 2.75rem; }
}

/* what the menu switches on (classes on <html>, set before paint) */
html.a11y-z1 { font-size: 112% !important; }
html.a11y-z2 { font-size: 125% !important; }
html.a11y-z3 { font-size: 140% !important; }
html.a11y-contrast { --ink: #000; --muted: #222; --line: #555; --gold-ink: #5a4300; --cream: #fff; }
html.a11y-contrast .hero__shade { background: rgb(0 0 0 / .82); }
html.a11y-contrast .hero__lead, html.a11y-contrast .footer, html.a11y-contrast .footer a { color: #fff; }
.qd .btn { white-space: normal; text-wrap: balance; }
html.a11y-links a:not(.btn):not(.logo) { text-decoration: underline !important; text-decoration-thickness: .12em !important; text-underline-offset: .2em; }
html.a11y-links a:not(.logo) { outline: .12rem dashed currentColor; outline-offset: .15rem; }
html.a11y-font { --serif: Arial, 'Heebo', sans-serif; --sans: Arial, 'Heebo', sans-serif; }
html.a11y-font body { letter-spacing: .02em; word-spacing: .08em; line-height: 1.8; }
html.a11y-motion { scroll-behavior: auto; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; }
