:root {
  --navy: #1e3a5f;
  --navy-deep: #142a47;
  --gold: #d4a574;
  --gold-light: #f3d9a3;
  --bg: #faf8f4;
  --bg-card: #ffffff;
  --bg-soft: #f3eee5;
  --ink: #1c2230;
  --ink-soft: #4a5468;
  --line: #e6dfd1;
  --shadow-sm: 0 1px 2px rgba(20, 42, 71, 0.05), 0 2px 8px rgba(20, 42, 71, 0.05);
  --shadow-md: 0 8px 24px rgba(20, 42, 71, 0.10);
  --radius: 14px;
  --radius-lg: 22px;
  --font-he: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-en: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", "Heebo", serif;
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-he);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { font-family: var(--font-en); }

img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { inset-inline-start: 8px; top: 8px; color: #fff; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.brand-logo { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 18px; color: var(--navy); }
.brand-tag { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }

.site-nav { margin-inline-start: auto; }
.site-nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
  margin: 0; padding: 0;
  align-items: center;
}
.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--navy); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px; background: var(--navy);
  margin: 4px 0;
  transition: transform .25s, opacity .25s;
}

.lang-toggle {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, color .2s, border-color .2s;
}
.lang-toggle:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  font-family: inherit;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}

/* HERO */
.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(212,165,116,.20), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(30,58,95,.08), transparent 60%);
}
html[dir="ltr"] .hero {
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(212,165,116,.20), transparent 60%),
    radial-gradient(900px 500px at 110% 30%, rgba(30,58,95,.08), transparent 60%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  margin: 14px 0 18px;
}
html[lang="he"] .hero-copy h1 {
  font-family: var(--font-he);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art svg { width: 100%; height: auto; max-width: 460px; margin-inline-start: auto; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  margin: 0;
}
.eyebrow.center { text-align: center; }

/* SECTIONS */
.section {
  padding: 88px 0;
}
.section-light { background: var(--bg-soft); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  color: var(--navy-deep);
  margin: 10px 0 18px;
  letter-spacing: -0.01em;
}
html[lang="he"] .section-title {
  font-family: var(--font-he);
  font-weight: 700;
}
.section-title.center { text-align: center; }
.section-lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 64ch;
}
.section-lede.center { margin-inline: auto; text-align: center; }

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.stat {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
html[lang="he"] .stat-num { font-family: var(--font-he); }
.stat-label {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 {
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--navy-deep);
}
.card p { margin: 0; color: var(--ink-soft); }

/* WORLDS / FEATURE */
.section-feature {
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #f6efe2;
}
.section-feature .section-title { color: #fff; }
.section-feature .section-lede { color: #d8d3c5; max-width: 56ch; }
.section-feature .eyebrow { color: var(--gold-light); }
.section-feature .btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.section-feature .btn-primary:hover {
  background: #fff;
  color: var(--navy-deep);
}
.worlds-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.worlds-quote blockquote {
  margin: 0;
  padding: 36px 30px;
  border-inline-start: 4px solid var(--gold);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
}
.worlds-quote p {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  margin: 0;
  font-style: italic;
  color: #fff;
}
html[lang="he"] .worlds-quote p { font-family: var(--font-he); font-style: normal; font-weight: 500; }

/* DONATE */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.donate-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.donate-card-feature {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,165,116,.12), var(--shadow-md);
  transform: translateY(-6px);
}
.donate-flag { font-size: 36px; line-height: 1; }
.donate-card h3 { margin: 6px 0 0; font-size: 22px; color: var(--navy-deep); }
.donate-currency { font-weight: 700; color: var(--gold); margin: 4px 0; letter-spacing: .02em; }
.donate-meta { font-size: 13px; color: var(--ink-soft); margin: 0 0 14px; }
.donate-card .btn { margin-top: auto; }

.donate-amounts {
  margin-top: 40px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
}
.pill {
  display: inline-block;
  padding: 6px 14px;
  margin: 4px 4px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-weight: 600;
  color: var(--navy);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--navy-deep);
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  padding-bottom: 6px;
}
.contact-card address { font-style: normal; color: var(--ink-soft); }
.contact-card address p { margin: 6px 0; }
.contact-card a { color: var(--navy); font-weight: 600; }

.contact-email {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
}
.contact-email a {
  color: var(--gold);
  font-weight: 700;
  border-bottom: 1px solid transparent;
}
.contact-email a:hover { border-color: var(--gold); }

/* FOOTER */
.site-footer {
  background: var(--navy-deep);
  color: #c7c2b3;
  padding: 40px 0;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: #a39e91; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: #d8d3c5; font-size: 14px; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { margin: 0; font-size: 13px; color: #a39e91; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero { padding: 56px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
  .worlds-grid { grid-template-columns: 1fr; gap: 32px; }
  .cards, .donate-grid, .contact-grid, .stats {
    grid-template-columns: 1fr;
  }
  .donate-card-feature { transform: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .site-nav ul {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform .3s;
    align-items: stretch;
  }
  .site-nav ul a { display: block; padding: 14px 12px; border-radius: 10px; }
  .site-nav.open ul { transform: translateY(0); }
  .header-inner { gap: 12px; }
  .brand-tag { display: none; }
}

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