/* ==========================================================================
   Partners Charity Fund For Israel — design system
   Palette: Jerusalem stone + deep teal-navy + copper
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Neutrals — warm limestone */
  --stone-50:  #FBF8F3;
  --stone-100: #F4EFE6;
  --stone-150: #EDE6D9;
  --stone-200: #E2D8C7;
  --stone-300: #CFC2AC;
  --stone-400: #A99B85;
  --stone-500: #746A5A;   /* AA on stone-100 */

  /* Deep teal-navy */
  --navy-900: #0A1F2A;
  --navy-800: #0E2A38;
  --navy-700: #14394B;
  --navy-600: #1E4E63;
  --navy-400: #4F7C90;

  /* Copper accent */
  --copper-700: #8E4A1E;
  --copper-600: #A15626;  /* AA on copper-050 */
  --copper-500: #BE6C33;
  --copper-400: #D08A4F;
  --copper-200: #EBC4A2;
  --copper-050: #F8ECE0;

  /* Support */
  --sage-600: #4C6553;
  --sage-400: #7A9682;
  --gold-500: #B9902F;

  --ink: #101A20;
  --body: #3A4750;
  --muted: #616D74;       /* AA on stone-100 */

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-hebrew: "Frank Ruhl Libre", "Times New Roman", serif;

  /* Rhythm */
  --container: 1180px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  /* Effects */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --arch: 50% 50% 18px 18px / 26% 26% 18px 18px;

  --shadow-sm: 0 1px 2px rgba(16, 26, 32, .05), 0 2px 8px rgba(16, 26, 32, .04);
  --shadow-md: 0 2px 4px rgba(16, 26, 32, .05), 0 12px 28px -8px rgba(16, 26, 32, .12);
  --shadow-lg: 0 4px 8px rgba(16, 26, 32, .05), 0 28px 60px -18px rgba(14, 42, 56, .28);

  --hairline: 1px solid var(--stone-200);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--stone-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

/* Subtle paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

a { color: var(--copper-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper-700); }

::selection { background: var(--copper-200); color: var(--navy-900); }

:focus-visible {
  outline: 2px solid var(--copper-500);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --- Typography --------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy-900);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.015em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.35rem); letter-spacing: -.03em; line-height: 1.02; }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.015em; line-height: 1.22; }
h4 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 650; letter-spacing: -.005em; }

p { text-wrap: pretty; }
strong, b { font-weight: 650; color: var(--navy-800); }

.lede {
  font-size: clamp(1.125rem, 1.65vw, 1.3125rem);
  line-height: 1.6;
  color: var(--body);
}

.hebrew { font-family: var(--font-hebrew); direction: rtl; unicode-bidi: isolate; }

/* --- Layout helpers ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: var(--container-narrow); }

main { position: relative; z-index: 2; }
section { position: relative; }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }

.stack > * + * { margin-top: 1.15rem; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* --- Eyebrow / section headers ------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-weight: 620;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper-600);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.eyebrow.is-centered { justify-content: center; }
.eyebrow.on-dark { color: var(--copper-400); }

.section-head { max-width: 56ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.1rem; font-size: 1.09rem; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--copper-600);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .92rem 1.65rem;
  font-family: var(--font-body);
  font-size: .96rem;
  font-weight: 620;
  letter-spacing: -.005em;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  box-shadow: 0 1px 2px rgba(16, 26, 32, .08), 0 8px 20px -10px rgba(142, 74, 30, .5);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16, 26, 32, .08), 0 16px 30px -12px rgba(142, 74, 30, .55); }
.btn:active { transform: translateY(0); }

.btn-primary:hover { --btn-bg: var(--copper-700); }

.btn-secondary {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  border-color: var(--stone-300);
  box-shadow: none;
}
.btn-secondary:hover { --btn-bg: var(--stone-100); --btn-fg: var(--navy-900); border-color: var(--stone-400); box-shadow: var(--shadow-sm); }

.btn-onDark {
  --btn-bg: transparent;
  --btn-fg: var(--stone-100);
  border-color: rgba(244, 239, 230, .28);
  box-shadow: none;
}
.btn-onDark:hover { --btn-bg: rgba(244, 239, 230, .1); --btn-fg: #fff; border-color: rgba(244, 239, 230, .5); }

.btn-sm { padding: .68rem 1.2rem; font-size: .875rem; }
.btn-lg { padding: 1.08rem 2.1rem; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
/* Bare links sitting in a button row still need a finger-sized target. */
.btn-group > a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .35rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  color: var(--copper-600);
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- Header ------------------------------------------------------------- */
.skip-link {
  position: absolute;
  inset-inline-start: 0;
  top: -100px;
  z-index: 200;
  background: var(--navy-900);
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* Accessible off-screen text that never affects layout or scroll width. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--stone-200);
  box-shadow: 0 1px 24px -12px rgba(16, 26, 32, .25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--navy-900);
  margin-inline-end: auto;
  min-width: 0;
}
.brand:hover { color: var(--navy-900); }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name, .brand-tag { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 620;
  letter-spacing: -.025em;
  color: var(--navy-900);
}
.brand-tag {
  font-size: .655rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--stone-500);
  font-weight: 550;
  margin-top: .18rem;
}

.site-nav { display: flex; align-items: center; gap: .35rem; }
.site-nav a {
  padding: .55rem .8rem;
  font-size: .925rem;
  font-weight: 520;
  color: var(--body);
  text-decoration: none;
  border-radius: 100px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.site-nav a:hover { color: var(--navy-900); background: var(--stone-100); }
.site-nav a[aria-current="page"] { color: var(--navy-900); font-weight: 620; }

.header-cta { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 100px;
  border: 1px solid var(--stone-300);
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
}
.nav-toggle:hover { background: var(--stone-100); }

@media (max-width: 940px) {
  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--stone-50);
    border-bottom: 1px solid var(--stone-200);
    padding: .75rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav a { padding: .95rem .5rem; border-radius: var(--radius-sm); border-bottom: 1px solid var(--stone-150); font-size: 1.02rem; }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .header-cta .btn.always-on { display: inline-flex; }
}

/* Narrow phones: shed header furniture progressively so the brand, the
   language switch, the Donate button and the menu toggle always fit one row. */
@media (max-width: 500px) {
  .header-inner { gap: .6rem; min-height: 68px; }
  .site-header .brand-tag { display: none; }
  .site-header .brand-name { font-size: 1.2rem; }
  .site-nav { inset-block-start: 68px; }
}
@media (max-width: 420px) {
  .header-inner { gap: .45rem; }
  .lang-opt { padding: .3rem .45rem; font-size: .68rem; }
  .lang-opt[data-lang-label="he"] { font-size: .72rem; }
  .header-cta .btn-sm { padding: .6rem .85rem; font-size: .8rem; }
  .nav-toggle { width: 38px; height: 38px; }
}
@media (max-width: 370px) {
  /* Below this the wordmark is what has to go — the mark still identifies us. */
  .site-header .brand-name { display: none; }
  .site-header .brand-mark { width: 34px; height: 34px; }
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(214, 176, 138, .3) 0%, rgba(214, 176, 138, 0) 55%),
    radial-gradient(90% 70% at 4% 96%, rgba(122, 150, 130, .22) 0%, rgba(122, 150, 130, 0) 60%),
    var(--stone-50);
}
.hero::after {
  /* faint stone-arch watermark */
  content: "";
  position: absolute;
  inset-inline-end: -8%;
  top: -12%;
  width: min(620px, 62vw);
  aspect-ratio: 3 / 4;
  border-radius: 50% 50% 0 0 / 32% 32% 0 0;
  border: 1px solid var(--stone-200);
  border-bottom: 0;
  opacity: .55;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em {
  font-style: italic;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  color: var(--copper-600);
}
.hero .lede { max-width: 46ch; }
.hero .btn-group { margin-top: 2.1rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .85rem .4rem .6rem;
  font-size: .765rem;
  font-weight: 580;
  letter-spacing: .01em;
  color: var(--navy-700);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--stone-200);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.badge svg { color: var(--sage-600); flex-shrink: 0; }
.badge--mono { font-variant-numeric: tabular-nums; }

/* Hero side panel — arch card */
.hero-panel {
  position: relative;
  background: linear-gradient(168deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border-radius: var(--arch);
  padding: clamp(2.25rem, 3.5vw, 3rem) clamp(1.75rem, 3vw, 2.5rem) clamp(1.75rem, 3vw, 2.25rem);
  color: var(--stone-150);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50% 50% 12px 12px / 25% 25% 12px 12px;
  border: 1px solid rgba(235, 196, 162, .17);
  pointer-events: none;
}
.hero-panel-label {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--copper-400);
  font-weight: 620;
  text-align: center;
  margin-bottom: 1.9rem;
}
.hero-stats { display: grid; gap: 1.35rem; }
.hero-stat { text-align: center; }
.hero-stat + .hero-stat { padding-top: 1.35rem; border-top: 1px solid rgba(235, 196, 162, .16); }
.hero-stat dt {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 2.75rem);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.hero-stat dd {
  margin-top: .5rem;
  font-size: .84rem;
  line-height: 1.45;
  color: rgba(226, 216, 199, .8);
  max-width: 26ch;
  margin-inline: auto;
}

/* --- Trust strip -------------------------------------------------------- */
.trust-strip {
  background: var(--navy-900);
  color: var(--stone-200);
  padding-block: 1.1rem;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem clamp(1.5rem, 4vw, 3rem);
  font-size: .82rem;
  letter-spacing: .01em;
}
.trust-item { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.trust-item svg { color: var(--copper-400); flex-shrink: 0; }
.trust-item strong { color: #fff; font-weight: 600; }

/* --- Editorial two-column ----------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.split.is-reversed > *:first-child { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.is-reversed > *:first-child { order: 0; }
}
.split-sticky { position: sticky; top: 110px; }
@media (max-width: 880px) { .split-sticky { position: static; } }

.prose > * + * { margin-top: 1.25rem; }
.prose h3 { margin-top: 2.5rem; }
.prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.15rem; }
.prose li + li { margin-top: .55rem; }
.prose li::marker { color: var(--copper-500); }

.pullquote {
  position: relative;
  margin: 2.5rem 0;
  padding-block: 1.75rem;
  padding-inline: 1.9rem 0;
  border-inline-start: 3px solid var(--copper-500);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: -.015em;
  color: var(--navy-800);
  font-style: italic;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.pullquote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .82rem;
  font-weight: 560;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--stone-500);
}

/* --- Fact list (the need) ----------------------------------------------- */
.facts { display: grid; gap: 0; border-top: var(--hairline); }
.fact {
  display: grid;
  grid-template-columns: minmax(90px, 150px) 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: var(--hairline);
}
.fact dt {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 600;
  color: var(--copper-600);
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.fact dd { font-size: .98rem; color: var(--body); }
@media (max-width: 520px) {
  .fact { grid-template-columns: 1fr; gap: .5rem; }
}

/* --- Cards / programs --------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.4vw, 2.1rem);
  background: #fff;
  border: var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--stone-300); }
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .965rem; }
.card > * + * { margin-top: 0; }
.card-foot { margin-top: auto; padding-top: 1.4rem; }

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--copper-050);
  color: var(--copper-600);
  margin-bottom: 1.35rem;
  border: 1px solid var(--copper-200);
}
.card-icon--sage { background: #EDF2EE; color: var(--sage-600); border-color: #D3E0D7; }
.card-icon--navy { background: #E9F0F3; color: var(--navy-600); border-color: #CFDFE5; }

.card-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 620;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: .9rem;
}

/* Feature card — spans wider, darker */
.card--feature {
  grid-column: span 2;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  border-color: transparent;
  color: var(--stone-200);
}
.card--feature h3, .card--feature h4 { color: #fff; }
.card--feature p { color: rgba(226, 216, 199, .84); }
.card--feature .card-icon { background: rgba(235, 196, 162, .14); color: var(--copper-400); border-color: rgba(235, 196, 162, .22); }
@media (max-width: 700px) { .card--feature { grid-column: span 1; } }

/* --- Process / timeline ------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 620;
  color: var(--copper-600);
  letter-spacing: .02em;
}
.step::after {
  content: "";
  position: absolute;
  top: .68rem;
  inset-inline-start: 2.6rem;
  inset-inline-end: -1.5rem;
  height: 1px;
  background: var(--stone-300);
}
.step:last-child::after { display: none; }
@media (max-width: 760px) { .step::after { display: none; } }
.step h3 { font-size: 1.15rem; margin-bottom: .55rem; }
.step p { font-size: .94rem; }

/* --- Dark section ------------------------------------------------------- */
.section-dark {
  background: var(--navy-900);
  color: rgba(226, 216, 199, .82);
  position: relative;
  overflow: hidden;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lede { color: rgba(226, 216, 199, .82); }
.section-dark strong { color: #fff; }
.section-dark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(190, 108, 51, .16) 0%, rgba(190, 108, 51, 0) 62%);
  pointer-events: none;
}
.section-dark > .container { position: relative; z-index: 2; }

.section-stone { background: var(--stone-100); }

/* --- Impact stats band -------------------------------------------------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 1px;
  background: rgba(235, 196, 162, .18);
  border: 1px solid rgba(235, 196, 162, .18);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-cell {
  padding: clamp(1.75rem, 3vw, 2.5rem) 1.5rem;
  background: var(--navy-900);
  text-align: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  display: block;
}
.stat-label {
  margin-top: .7rem;
  font-size: .845rem;
  color: rgba(226, 216, 199, .72);
  line-height: 1.45;
}

/* Light variant */
.stat-band--light { background: var(--stone-200); border-color: var(--stone-200); }
.stat-band--light .stat-cell { background: var(--stone-50); }
.stat-band--light .stat-value { color: var(--navy-900); }
.stat-band--light .stat-label { color: var(--muted); }

/* --- Allocation bar ----------------------------------------------------- */
.allocation { margin-top: 2rem; }
.alloc-bar {
  display: flex;
  height: 46px;
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid var(--stone-200);
  background: var(--stone-100);
}
.alloc-seg {
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 640;
  color: #fff;
  letter-spacing: .01em;
  transition: width 1.2s var(--ease);
}
.alloc-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 1rem 1.75rem;
  margin-top: 1.6rem;
}
.alloc-item { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; }
.alloc-dot { width: 11px; height: 11px; border-radius: 4px; margin-top: .38rem; flex-shrink: 0; }
.alloc-item b { display: block; color: var(--navy-800); font-weight: 620; }
.alloc-item span { color: var(--muted); font-size: .85rem; }

/* --- Scenario / voices -------------------------------------------------- */
.voice {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.35rem);
  background: #fff;
  border: var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.voice-quote {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--navy-800);
  font-style: italic;
  font-variation-settings: "SOFT" 30;
}
.voice-meta {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.voice-avatar {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  display: grid;
  place-items: center;
  background: var(--stone-150);
  color: var(--navy-700);
  font-family: var(--font-display);
  font-weight: 620;
  font-size: .95rem;
  flex-shrink: 0;
  border: 1px solid var(--stone-200);
}
.voice-who { font-size: .875rem; font-weight: 620; color: var(--navy-800); line-height: 1.3; }
.voice-where { font-size: .8rem; color: var(--muted); }

.disclaimer {
  margin-top: 1.75rem;
  font-size: .8rem;
  color: var(--muted);
  font-style: italic;
  max-width: 68ch;
}

/* --- Donation widget ---------------------------------------------------- */
.donate-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 940px) { .donate-shell { grid-template-columns: 1fr; } }

.donate-card {
  position: sticky;
  top: 100px;
  background: #fff;
  border: var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
@media (max-width: 940px) { .donate-card { position: static; } }

.donate-card-head {
  padding: 1.5rem 1.75rem;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  color: #fff;
}
.donate-card-head h3 { color: #fff; font-size: 1.3rem; }
.donate-card-head p { font-size: .85rem; color: rgba(226, 216, 199, .78); margin-top: .35rem; }
.donate-card-body { padding: 1.75rem; }

.freq-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--stone-100);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.freq-toggle button {
  padding: .68rem .5rem;
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.freq-toggle button[aria-pressed="true"] {
  background: #fff;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  margin-bottom: .6rem;
}
.amount-btn {
  padding: .95rem .5rem;
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 620;
  color: var(--navy-800);
  letter-spacing: -.02em;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
  font-variant-numeric: tabular-nums;
}
.amount-btn:hover { border-color: var(--copper-400); background: var(--copper-050); }
.amount-btn[aria-pressed="true"] {
  border-color: var(--copper-600);
  background: var(--copper-600);
  color: #fff;
}

.amount-custom {
  position: relative;
  margin-bottom: 1.1rem;
}
.amount-custom span {
  position: absolute;
  inset-inline-start: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--stone-500);
  pointer-events: none;
}
.amount-custom input {
  width: 100%;
  padding-block: .95rem;
  padding-inline: 2.1rem 1rem;
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
  background: var(--stone-50);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.amount-custom input:focus { outline: none; border-color: var(--copper-500); background: #fff; }
.amount-custom input::placeholder { font-weight: 400; color: var(--stone-400); }

.impact-note {
  min-height: 3.2rem;
  padding: .85rem 1rem;
  background: var(--copper-050);
  border: 1px solid var(--copper-200);
  border-radius: var(--radius);
  font-size: .865rem;
  line-height: 1.45;
  color: var(--copper-700);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.impact-note svg { flex-shrink: 0; color: var(--copper-500); }

.donate-secure {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .775rem;
  color: var(--muted);
  text-align: center;
}
.donate-secure svg { color: var(--sage-600); flex-shrink: 0; }

.pay-marks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--stone-200);
}
.pay-mark {
  font-size: .68rem;
  font-weight: 620;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--stone-500);
  border: 1px solid var(--stone-200);
  border-radius: 5px;
  padding: .28rem .5rem;
  background: var(--stone-50);
}

/* --- Method list (other ways to give) ----------------------------------- */
.method {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1.15rem;
  padding: 1.5rem 0;
  border-bottom: var(--hairline);
  align-items: start;
}
.method:first-of-type { border-top: var(--hairline); }
.method-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--stone-100);
  color: var(--navy-700);
  border: 1px solid var(--stone-200);
}
.method h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.method p { font-size: .93rem; }
.method-detail {
  margin-top: .75rem;
  padding: .85rem 1rem;
  background: var(--stone-100);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  line-height: 1.6;
  border-inline-start: 3px solid var(--stone-300);
}
.method-detail b { display: inline-block; min-width: 92px; color: var(--navy-800); }

/* --- FAQ / accordion ---------------------------------------------------- */
.faq { border-top: var(--hairline); }
.faq-item { border-bottom: var(--hairline); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0;
  text-align: start;
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: -.012em;
  line-height: 1.35;
}
.faq-q:hover { color: var(--copper-600); }
.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 100px;
  border: 1px solid var(--stone-300);
  display: grid;
  place-items: center;
  color: var(--copper-600);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--copper-050); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
/* overflow:hidden clips the collapsed answer visually, but clipped text stays
   in the accessibility tree — verified in Chromium's AX tree, where a
   collapsed answer was exposed as readable StaticText. visibility:hidden is
   what actually removes it from assistive technology and from the tab order.
   It is animatable: the switch to visible applies at the start of the opening
   transition, and the switch to hidden waits until the closing one ends, so
   the text is never cut off mid-animation. */
.faq-a > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility .35s var(--ease);
}
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }
.faq-q[aria-expanded="true"] + .faq-a > div { visibility: visible; }
.faq-a p { padding-bottom: 1.4rem; font-size: .975rem; max-width: 72ch; }
.faq-a p + p { padding-bottom: 1.4rem; margin-top: -.6rem; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background: linear-gradient(155deg, var(--copper-700) 0%, var(--copper-600) 45%, #93511f 100%);
  color: rgba(255, 244, 235, .9);
  overflow: hidden;
  text-align: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -55%;
  width: 760px;
  height: 760px;
  transform: translateX(-50%);
  border-radius: 100%;
  border: 1px solid rgba(255, 244, 235, .18);
  pointer-events: none;
}
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { margin-top: 1.2rem; max-width: 54ch; margin-inline: auto; font-size: 1.09rem; }
.cta-band .btn-group { justify-content: center; margin-top: 2.2rem; position: relative; z-index: 2; }
.cta-band .btn-primary { --btn-bg: #fff; --btn-fg: var(--copper-700); }
.cta-band .btn-primary:hover { --btn-bg: var(--stone-50); --btn-fg: var(--copper-700); }
.cta-band .btn-onDark { --btn-fg: #fff; border-color: rgba(255, 255, 255, .45); }
.cta-band .btn-onDark:hover { --btn-bg: rgba(255, 255, 255, .14); }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(226, 216, 199, .78);
  padding-block: clamp(3.5rem, 6vw, 5rem) 2rem;
  font-size: .9rem;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(226, 216, 199, .14);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: var(--copper-400); }
.footer-about { margin-top: 1.25rem; max-width: 40ch; line-height: 1.6; font-size: .89rem; }
.footer-legalname {
  margin-top: 1.25rem;
  font-size: .82rem;
  line-height: 1.6;
  color: rgba(226, 216, 199, .66);
}
.footer-legalname .hebrew { font-size: .95rem; display: block; margin-top: .2rem; }

.footer-col h2 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .755rem;
  line-height: 1.3;
  letter-spacing: .14em;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  font-weight: 620;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li + li { margin-top: .65rem; }
.footer-col a {
  color: rgba(226, 216, 199, .82);
  text-decoration: none;
  transition: color .2s var(--ease);
  font-size: .89rem;
}
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; line-height: 1.65; font-size: .875rem; }
.footer-col address + address { margin-top: 1rem; }
.footer-col address b {
  display: block;
  color: rgba(255, 255, 255, .9);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .3rem;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: .8rem;
  color: rgba(226, 216, 199, .64);
}
.footer-bottom a { color: rgba(226, 216, 199, .78); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.footer-ein {
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

/* --- Page header (interior pages) --------------------------------------- */
.page-head {
  padding-block: clamp(3rem, 6vw, 4.75rem) clamp(2.5rem, 5vw, 3.75rem);
  background:
    radial-gradient(90% 130% at 82% 0%, rgba(214, 176, 138, .26) 0%, rgba(214, 176, 138, 0) 60%),
    var(--stone-50);
  border-bottom: var(--hairline);
}
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.page-head .lede { margin-top: 1.25rem; max-width: 60ch; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--copper-600); }
.breadcrumbs span { opacity: .5; }

/* --- Legal document pages ----------------------------------------------- */
.legal { max-width: 72ch; }
.legal h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: var(--hairline);
}
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 2rem; }
.legal p, .legal li { font-size: .985rem; }
.legal > p + p { margin-top: 1.1rem; }
.legal ul, .legal ol { margin-top: 1rem; padding-inline-start: 1.25rem; }
.legal li + li { margin-top: .6rem; }
.legal li::marker { color: var(--copper-500); }
.legal-updated {
  display: inline-block;
  padding: .5rem 1rem;
  background: var(--stone-100);
  border: var(--hairline);
  border-radius: 100px;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.legal-toc {
  padding: 1.5rem 1.75rem;
  background: var(--stone-100);
  border: var(--hairline);
  border-radius: var(--radius);
  margin-bottom: 3rem;
}
.legal-toc .legal-toc-title {
  margin-bottom: .9rem;
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -.005em;
  line-height: 1.3;
}
.legal-toc ol { margin: 0; padding-inline-start: 1.15rem; columns: 2; column-gap: 2rem; }
@media (max-width: 620px) { .legal-toc ol { columns: 1; } }
.legal-toc li { margin-top: .4rem; font-size: .89rem; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

/* --- Contact ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 620;
  color: var(--navy-800);
  margin-bottom: .45rem;
  letter-spacing: .01em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: .82rem 1rem;
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: .95rem;
  color: var(--navy-900);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--copper-500);
  box-shadow: 0 0 0 3px rgba(190, 108, 51, .12);
}
.field-hint { font-size: .78rem; color: var(--muted); margin-top: .4rem; }

.contact-block {
  padding: 1.5rem 0;
  border-bottom: var(--hairline);
}
.contact-block:first-child { border-top: var(--hairline); }
.contact-block h3 {
  font-family: var(--font-body);
  font-size: .755rem;
  line-height: 1.3;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--copper-600);
  margin-bottom: .6rem;
}
.contact-block p, .contact-block address { font-style: normal; font-size: .97rem; line-height: 1.6; }
.contact-block a { font-weight: 550; }

/* --- Data tables -------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: .95rem;
}
.data-table caption {
  text-align: start;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 620;
  color: var(--copper-600);
  padding-bottom: 1rem;
}
.data-table th, .data-table td { padding: .95rem 1rem; text-align: start; }
.data-table thead th {
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 620;
  border-bottom: 1.5px solid var(--stone-300);
}
.data-table tbody tr { border-bottom: var(--hairline); }
.data-table tbody tr:hover { background: var(--stone-100); }
.data-table td:last-child, .data-table th:last-child { text-align: end; font-variant-numeric: tabular-nums; }
.data-table tfoot td {
  font-weight: 660;
  color: var(--navy-900);
  border-top: 1.5px solid var(--stone-300);
  background: var(--stone-100);
}
.data-table .row-em td { font-weight: 620; color: var(--navy-800); }

/* --- Timeline ----------------------------------------------------------- */
.timeline { position: relative; padding-inline-start: 2.25rem; }
.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  top: .6rem;
  bottom: .6rem;
  width: 1px;
  background: var(--stone-300);
}
.tl-item { position: relative; padding-bottom: 2.25rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  inset-inline-start: -2.25rem;
  top: .48rem;
  width: 13px;
  height: 13px;
  border-radius: 100px;
  background: var(--stone-50);
  border: 2px solid var(--copper-500);
}
.tl-year {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 640;
  color: var(--copper-600);
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}
.tl-item h3 { font-size: 1.1rem; margin: .3rem 0 .45rem; }
.tl-item p { font-size: .95rem; }

/* --- Definition rows (governance) --------------------------------------- */
.def-list { border-top: var(--hairline); }
.def-row {
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: var(--hairline);
}
@media (max-width: 620px) { .def-row { grid-template-columns: 1fr; gap: .4rem; } }
.def-row dt { font-weight: 640; color: var(--navy-800); font-size: .95rem; }
.def-row dd { font-size: .95rem; }

/* --- Misc --------------------------------------------------------------- */
.note-box {
  padding: 1.35rem 1.6rem;
  background: var(--copper-050);
  border: 1px solid var(--copper-200);
  border-inline-start: 4px solid var(--copper-500);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  line-height: 1.6;
}
.note-box b { color: var(--copper-700); }

.divider-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--stone-300);
  margin-block: clamp(2.5rem, 5vw, 4rem);
}
.divider-mark::before, .divider-mark::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 140px;
  background: currentColor;
}

.tabular { font-variant-numeric: tabular-nums; }

/* --- Scroll reveal ------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .4s; }

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

/* --- Print -------------------------------------------------------------- */
@media print {
  body::before, .site-header, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .page-head { padding-block: 1.5rem; }
}

/* ==========================================================================
   Language switching, RTL, and the components added for the bilingual build
   ========================================================================== */

/* --- Anti-flash while the Hebrew swap is pending ------------------------- */
.i18n-loading body { visibility: hidden; }
body { transition: opacity .16s var(--ease); }
body.is-lang-switching { opacity: 0; }

/* --- Language toggle ----------------------------------------------------- */
.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .1rem;
  padding: 3px;
  border: 1px solid var(--stone-300);
  border-radius: 100px;
  background: rgba(255, 255, 255, .5);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--stone-400); background: #fff; }
.lang-opt {
  display: inline-flex;
  align-items: center;
  padding: .34rem .64rem;
  border-radius: 100px;
  font-size: .74rem;
  font-weight: 640;
  letter-spacing: .02em;
  color: var(--muted);
  line-height: 1;
  white-space: nowrap;
  transition: color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.lang-opt.is-active {
  color: var(--navy-900);
  background: var(--stone-100);
  box-shadow: inset 0 0 0 1px var(--stone-200);
}
.lang-opt[data-lang-label="he"] { font-family: var(--font-hebrew); font-size: .8rem; }

/* --- Scroll progress ----------------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 2px;
  z-index: 150;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--copper-500), var(--copper-400));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
[dir="rtl"] .scroll-progress span { transform-origin: right center; }

/* --- Hero orb (soft, slow ambient motion) -------------------------------- */
.hero-orb {
  position: absolute;
  inset-inline-end: -12%;
  top: -18%;
  width: min(760px, 74vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
              rgba(208, 138, 79, .22) 0%,
              rgba(208, 138, 79, .07) 42%,
              rgba(208, 138, 79, 0) 68%);
  filter: blur(12px);
  pointer-events: none;
  animation: orb-drift 22s ease-in-out infinite alternate;
}
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3%, 4%, 0) scale(1.08); }
}

/* --- Live dot ------------------------------------------------------------ */
.hero-panel-label { display: flex; align-items: center; justify-content: center; gap: .5rem; }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 100px;
  background: var(--copper-400);
  box-shadow: 0 0 0 0 rgba(208, 138, 79, .6);
  animation: live-pulse 2.6s ease-out infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(208, 138, 79, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(208, 138, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(208, 138, 79, 0); }
}

/* --- Marquee of DAF sponsors --------------------------------------------- */
.marquee-section { overflow: hidden; }
.marquee {
  direction: ltr;               /* keeps the animation identical in both languages */
  display: grid;
  gap: .9rem;
  overflow: hidden;
  padding-block: .25rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee-row { display: flex; width: max-content; }
.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: .9rem;
  padding-inline-end: .9rem;
  animation: marquee-scroll 46s linear infinite;
}
.marquee-row.is-reverse .marquee-track {
  animation-duration: 62s;
  animation-direction: reverse;
}
.marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-100%, 0, 0); }
}

.mq-item {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem 1.35rem;
  background: #fff;
  border: var(--hairline);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.mq-item:hover { border-color: var(--copper-200); box-shadow: var(--shadow-md); }
.mq-tag {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--copper-600);
  background: var(--copper-050);
  border: 1px solid var(--copper-200);
  border-radius: 5px;
  padding: .22rem .42rem;
  line-height: 1;
}
.mq-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--navy-800);
}
.disclaimer.center { margin-inline: auto; text-align: center; margin-top: 2rem; }

/* --- The rabbonim of the fund -------------------------------------------- */
.rav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}
@media (max-width: 760px) { .rav-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rav-grid { grid-template-columns: 1fr; } }

.rav { margin: 0; }
.rav-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--arch);
  overflow: hidden;
  background: rgba(235, 196, 162, .07);
  border: 1px solid rgba(235, 196, 162, .22);
  box-shadow: var(--shadow-lg);
}
.rav-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(.92) contrast(1.02);
  transition: transform .6s var(--ease);
}
.rav:hover .rav-photo img { transform: scale(1.03); }
.rav-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(10, 31, 42, .55) 0%, rgba(10, 31, 42, 0) 42%);
  pointer-events: none;
}
.rav figcaption { padding-top: 1.15rem; text-align: center; }
.rav figcaption h3 { color: #fff; font-size: 1.12rem; }
.rav-role {
  margin-top: .3rem;
  font-size: .84rem;
  color: var(--copper-400);
  letter-spacing: .01em;
}

.rav-note {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: rgba(235, 196, 162, .06);
  border: 1px solid rgba(235, 196, 162, .18);
  border-radius: var(--radius-lg);
}
.rav-note h3 { color: #fff; font-size: 1.15rem; margin-bottom: .8rem; }
.rav-note p { font-size: .95rem; color: rgba(226, 216, 199, .82); }
.rav-verse {
  margin-top: 1.5rem;
  font-family: var(--font-hebrew);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.5;
  color: #fff;
  text-align: center;
}
.rav-verse-en {
  margin-top: .45rem;
  font-size: .78rem;
  color: rgba(226, 216, 199, .55);
  text-align: center;
}
@media (max-width: 760px) { .rav-note { grid-column: 1 / -1; } }

/* --- Accountant / firm card ----------------------------------------------- */
.firm-card {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.35rem);
  background: #fff;
  border: var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 3px solid var(--copper-500);
}
.firm-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--copper-050);
  border: 1px solid var(--copper-200);
  color: var(--copper-600);
  margin-bottom: 1.25rem;
}
.firm-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-weight: 620;
  letter-spacing: -.015em;
  color: var(--navy-900);
  line-height: 1.25;
}
.firm-role {
  margin-top: .3rem;
  font-size: .82rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--stone-500);
  font-weight: 600;
}
.firm-creds {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: grid;
  gap: .55rem;
}
.firm-creds li {
  position: relative;
  padding-inline-start: 1.55rem;
  font-size: .9rem;
  color: var(--body);
  line-height: 1.45;
}
.firm-creds li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .34rem;
  width: 15px;
  height: 15px;
  border-radius: 100px;
  background: var(--sage-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m3.5 8.4 3 3 6-6.8'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m3.5 8.4 3 3 6-6.8'/%3E%3C/svg%3E") center/contain no-repeat;
}
.firm-contact {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: var(--hairline);
  font-style: normal;
  font-size: .89rem;
  line-height: 1.65;
  color: var(--muted);
}
.firm-contact a { color: var(--copper-600); text-decoration: none; }
.firm-contact a:hover { text-decoration: underline; }

/* --- City panorama -------------------------------------------------------- */
.city-pano {
  position: relative;
  margin: 0;
  width: 100%;
  overflow: hidden;
  border-block: var(--hairline);
  background: var(--stone-100);
}
/* No cropping: the photographer's signature sits in the lower-left of the
   frame, so the image is shown whole at every width. */
.city-pano img {
  width: 100%;
  height: auto;
  display: block;
}
.city-pano figcaption {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  padding: 4rem 1.5rem 1.1rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .9);
  text-align: center;
  background: linear-gradient(to top, rgba(8, 20, 28, .82) 0%, rgba(8, 20, 28, .45) 45%, rgba(8, 20, 28, 0) 100%);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}
.photo-credit {
  display: block;
  margin-top: .25rem;
  font-size: .74rem;
  color: rgba(255, 255, 255, .68);
  letter-spacing: .01em;
}
.city-pano--dark { border-block-color: rgba(226, 216, 199, .14); background: var(--navy-900); }
@media (max-width: 620px) {
  .city-pano figcaption { padding: 3rem 1rem .9rem; font-size: .74rem; }
  .photo-credit { font-size: .68rem; }
}

/* --- Rabbinical portrait frame ------------------------------------------- */
.rabbinic .split { align-items: center; }
.portrait-frame {
  position: relative;
  max-width: 380px;
  margin-inline: auto;
  padding: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--arch);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(235, 196, 162, .1), rgba(235, 196, 162, 0) 60%),
    linear-gradient(170deg, rgba(226, 216, 199, .09), rgba(226, 216, 199, .03));
  border: 1px solid rgba(235, 196, 162, .22);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50% 50% 12px 12px / 25% 25% 12px 12px;
  border: 1px solid rgba(235, 196, 162, .16);
  pointer-events: none;
}
.portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.portrait-plate {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  padding: 2rem 1.75rem 4.5rem;
  text-align: center;
}
.portrait-seal { color: var(--copper-400); opacity: .82; }
.portrait-verse {
  font-family: var(--font-hebrew);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  letter-spacing: .01em;
}
.portrait-verse-en {
  font-size: .84rem;
  line-height: 1.5;
  color: rgba(226, 216, 199, .62);
  max-width: 24ch;
}
/* When a real photograph is supplied it covers the plate entirely. */
.portrait-frame:has(.portrait-img) .portrait-plate { display: none; }
.portrait-caption {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  padding: 2.5rem 1.5rem 1.4rem;
  background: linear-gradient(to top, rgba(10, 31, 42, .92), rgba(10, 31, 42, 0));
  color: rgba(226, 216, 199, .82);
  font-size: .82rem;
  line-height: 1.45;
  text-align: center;
}

.note-box--dark {
  background: rgba(235, 196, 162, .07);
  border-color: rgba(235, 196, 162, .18);
  border-inline-start-color: var(--copper-400);
  color: rgba(226, 216, 199, .84);
}
.note-box--dark b { color: #fff; }

/* --- Thank-you check ------------------------------------------------------ */
.thanks-check {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 100px;
  background: var(--copper-050);
  border: 1px solid var(--copper-200);
  color: var(--copper-600);
  margin-bottom: 2rem;
  animation: pop-in .55s var(--ease) both;
}
@keyframes pop-in {
  from { transform: scale(.82); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* Numeric display values stay LTR in both languages. */
.stat-value, .hero-stat dt { direction: ltr; unicode-bidi: isolate; }

/* ==========================================================================
   Hebrew / RTL
   ========================================================================== */
:root[lang="he"] {
  --font-display: "Frank Ruhl Libre", "Fraunces", Georgia, serif;
  --font-body: "Assistant", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Hebrew has no true italic or small caps, and tight tracking hurts it. */
[lang="he"] h1, [lang="he"] h2, [lang="he"] h3,
[lang="he"] h4, [lang="he"] h5 { letter-spacing: normal; line-height: 1.2; }
[lang="he"] h1 { line-height: 1.14; }
[lang="he"] .eyebrow { letter-spacing: .04em; text-transform: none; font-weight: 700; }
[lang="he"] .brand-tag,
[lang="he"] .footer-col h4,
[lang="he"] .card-tag,
[lang="he"] .contact-block h4,
[lang="he"] .stat-label,
[lang="he"] .hero-panel-label { letter-spacing: .01em; text-transform: none; }
[lang="he"] .pullquote,
[lang="he"] .voice-quote,
[lang="he"] .hero h1 em,
[lang="he"] .prose em { font-style: normal; }
[lang="he"] .pullquote { font-weight: 500; }
[lang="he"] .brand-name { font-family: var(--font-display); }
[lang="he"] .btn { letter-spacing: normal; }

/* Directional flips that logical properties cannot express. */
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .breadcrumbs { direction: rtl; }
[dir="rtl"] .amount-custom span { transform: translateY(-50%); }
[dir="rtl"] .footer-bottom,
[dir="rtl"] .trust-strip-inner { direction: rtl; }
[dir="rtl"] .pay-marks,
[dir="rtl"] .badge--mono { direction: ltr; }

/* The step connector runs the other way. */
[dir="rtl"] .step::after { inset-inline-start: 2.6rem; inset-inline-end: -1.5rem; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-row { width: auto; }
  .hero-orb, .live-dot, .thanks-check { animation: none; }
  body { transition: none; }
}


/* ==========================================================================
   Contrast on dark surfaces
   --------------------------------------------------------------------------
   --body and --muted are dark inks meant for the limestone background. Any
   rule using them (.fact dd, .disclaimer, .stat-label, .step p, tables …)
   rendered dark-on-dark inside a navy section. Re-pointing the two tokens
   fixes every such rule at once, instead of overriding them one by one.
   ========================================================================== */
/* NOTE: --navy-900 and --navy-800 are NOT re-pointed here. Those same tokens
   supply the background of these very surfaces, so overriding them on the
   element that uses them would repaint the section white. Only the ink tokens
   move; headings and <strong> get explicit rules below. */
.section-dark,
.hero-panel,
.card--feature,
.donate-card-head,
.trust-strip,
.site-footer,
.cta-band,
.city-pano figcaption,
.portrait-caption {
  --body: rgba(226, 216, 199, .88);
  --muted: rgba(226, 216, 199, .74);
  --stone-500: rgba(226, 216, 199, .74);
}

.section-dark strong, .section-dark b,
.hero-panel strong, .card--feature strong, .donate-card-head strong,
.trust-strip strong, .site-footer strong, .cta-band strong, .cta-band b,
.city-pano figcaption strong, .portrait-caption strong { color: #fff; }

/* A light card nested inside a dark section must get the dark inks back. */
.section-dark .card:not(.card--feature),
.section-dark .voice,
.section-dark .firm-card,
.section-dark .stat-band--light .stat-cell {
  --body: #3A4750;
  --muted: #616D74;
  --stone-500: #746A5A;
}
.section-dark .card:not(.card--feature) strong,
.section-dark .voice strong,
.section-dark .firm-card strong { color: var(--navy-800); }

/* The copper CTA band carries white text; its eyebrow needs to clear AA too. */
.cta-band .eyebrow { color: rgba(255, 248, 242, .92) !important; }
.cta-band p { color: rgba(255, 248, 242, .95); }
/* --- Utility classes ---------------------------------------------------
   Generated by partners-build/migrate_inline_styles.py from the style=
   attributes that used to sit in the markup. They live here so the CSP
   can refuse inline styles outright (style-src 'self'). One class, one
   declaration. Do not hand-edit: give the element a real component class
   instead.
   -------------------------------------------------------------------- */
.u-c-255-255-255-85 { color: rgba(255,255,255,.85) !important; }
.u-mb-2-5r { margin-bottom: 2.5rem !important; }
.u-mt-2r { margin-top: 2rem !important; }
.u-bc-226-216-199-16 { border-color: rgba(226,216,199,.16) !important; }
.u-mt-2-5r { margin-top: 2.5rem !important; }
.u-c-226-216-199-82 { color: rgba(226,216,199,.82) !important; }
.u-c-fff { color: #fff !important; }
.u-bc-copper-400 { border-color: var(--copper-400) !important; }
.u-c-226-216-199-6 { color: rgba(226,216,199,.6) !important; }
.u-c-copper-400 { color: var(--copper-400) !important; }
.u-mw-60ch { max-width: 60ch !important; }
.u-mw-52ch { max-width: 52ch !important; }
.u-mt-cl-2-5r-5v-4r { margin-top: clamp(2.5rem,5vw,4rem) !important; }
.u-bc-226-216-199-2 { border-color: rgba(226,216,199,.2) !important; }
.u-bg-226-216-199-08 { background: rgba(226,216,199,.08) !important; }
.u-bg-copper-600 { background: var(--copper-600) !important; }
.u-bg-sage-600 { background: var(--sage-600) !important; }
.u-bg-navy-600 { background: var(--navy-600) !important; }
.u-mt-1-75r { margin-top: 1.75rem !important; }
.u-mt-1-35r { margin-top: 1.35rem !important; }
.u-mt-3r { margin-top: 3rem !important; }
.u-c-255-244-235-75 { color: rgba(255,244,235,.75) !important; }
.u-fs-1-15r { font-size: 1.15rem !important; }
.u-mb-1r { margin-bottom: 1rem !important; }
.u-mt-cl-3r-6v-4-5r { margin-top: clamp(3rem,6vw,4.5rem) !important; }
.u-mt-2-25r { margin-top: 2.25rem !important; }
.u-mt-85r { margin-top: .85rem !important; }
.u-fs-8r { font-size: .8rem !important; }
.u-c-muted { color: var(--muted) !important; }
.u-ta-center { text-align: center !important; }
.u-mt-1-3r { margin-top: 1.3rem !important; }
.u-mt-1r { margin-top: 1rem !important; }
.u-mt-1-25r { margin-top: 1.25rem !important; }
.u-fs-775r { font-size: .775rem !important; }
.u-lh-1-55 { line-height: 1.55 !important; }
.u-mt-1-2r { margin-top: 1.2rem !important; }
.u-c-226-216-199-8 { color: rgba(226,216,199,.8) !important; }
.u-fs-9r { font-size: .9rem !important; }
.u-mt-2-75r { margin-top: 2.75rem !important; }
.u-ai-center { align-items: center !important; }
.u-mt-1-4r { margin-top: 1.4rem !important; }
.u-fs-92r { font-size: .92rem !important; }
.u-mw-74ch { max-width: 74ch !important; }
.u-fs-1-2r { font-size: 1.2rem !important; }
.u-mb-1-1r { margin-bottom: 1.1rem !important; }
.u-mb-2r { margin-bottom: 2rem !important; }
.u-mt-6r { margin-top: .6rem !important; }
.u-fs-88r { font-size: .88rem !important; }
.u-ta-start { text-align: start !important; }
.u-jc-center { justify-content: center !important; }
.u-mt-1-5r { margin-top: 1.5rem !important; }
.u-mb-2-75r { margin-bottom: 2.75rem !important; }
.u-ff-font-display { font-family: var(--font-display) !important; }
.u-fst-italic { font-style: italic !important; }
.u-c-navy-800 { color: var(--navy-800) !important; }
