:root {
  --ink: #162033;
  --navy: #07152b;
  --navy-soft: #102647;
  --gold: #d49b34;
  --gold-light: #f3cf7a;
  --wine: #7c2438;
  --stone: #f7f0e5;
  --paper: #fffaf0;
  --sage: #60735d;
  --line: rgba(22, 32, 51, 0.14);
  --shadow: 0 24px 70px rgba(7, 21, 43, 0.18);
  font-family: "Noto Sans Hebrew", "Arial", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: calc(100% * var(--a11y-font-scale, 1));
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(212, 155, 52, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(212, 155, 52, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  line-height: 1.65;
}

body,
button,
input,
textarea {
  font-family: "Noto Sans Hebrew", "Arial", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--wine);
  font-weight: 900;
  transition: transform 0.16s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(18px, 4vw, 52px);
  background: rgba(255, 250, 240, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(82px, 8vw, 112px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 5px 9px rgba(7, 21, 43, 0.16));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  font-weight: 700;
  color: var(--navy-soft);
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding-block: 8px;
}

.nav-links a:hover {
  border-color: var(--gold);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 88px;
  min-height: 42px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
}

.language-toggle span {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 32px;
  border-radius: 999px;
}

.language-toggle .lang-active {
  color: #fff;
  background: var(--navy);
}

.donate-link,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.donate-link,
.primary-button {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 10px 24px rgba(212, 155, 52, 0.28);
}

.secondary-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.donate-link:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 38%, rgba(243, 207, 122, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(7, 21, 43, 0.42), rgba(7, 21, 43, 0.72) 45%, rgba(7, 21, 43, 0.92));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 40px));
  margin-inline: clamp(20px, 7vw, 96px);
  padding-block: 90px 160px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.98rem;
  font-weight: 950;
  letter-spacing: 0;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.08;
  font-family: Georgia, "Times New Roman", "Noto Serif Hebrew", serif;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  text-wrap: balance;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 32px;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  position: absolute;
  z-index: 3;
  inset-inline: clamp(20px, 7vw, 96px);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
}

.hero-panel div {
  min-height: 126px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-panel strong {
  display: block;
  color: var(--gold-light);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 10px;
  font-weight: 800;
}

.intro-band {
  padding: 26px 20px;
  text-align: center;
  color: #fff;
  background: var(--navy);
  border-block: 4px solid var(--gold);
}

.intro-band p {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif Hebrew", serif;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
}

.intro-band span {
  color: var(--gold-light);
  font-size: 0.7em;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.section h2 {
  color: var(--navy);
  font-size: clamp(2.25rem, 5vw, 4rem);
  text-wrap: balance;
}

.body-copy {
  position: relative;
  padding: clamp(26px, 4vw, 44px);
  border-inline-start: 5px solid var(--gold);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
}

.body-copy p,
.impact-text p,
.donation-section p,
.site-footer p {
  margin: 0;
  font-size: 1.12rem;
}

.body-copy p + p {
  margin-top: 20px;
}

.centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.work-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(rgba(7, 21, 43, 0.94), rgba(7, 21, 43, 0.94)),
    repeating-linear-gradient(45deg, transparent 0 15px, rgba(212, 155, 52, 0.1) 15px 16px);
  color: #fff;
}

.work-section h2 {
  color: #fff;
}

.aid-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.aid-card {
  min-height: 286px;
  padding: 28px;
  border: 1px solid rgba(243, 207, 122, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.aid-card span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 900;
}

.aid-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.aid-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.impact-section {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 440px);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.impact-text p {
  margin: 22px 0 30px;
  max-width: 690px;
}

.impact-list {
  display: grid;
  gap: 14px;
}

.impact-list div {
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(7, 21, 43, 0.09);
}

.impact-list strong {
  display: block;
  color: var(--wine);
  font-size: 1.55rem;
}

.impact-list span {
  display: block;
  margin-top: 6px;
  font-weight: 750;
}

.building-section {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(7, 21, 43, 0.96), rgba(22, 32, 51, 0.9)),
    var(--navy);
  color: #fff;
}

.building-media {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(243, 207, 122, 0.28);
  box-shadow: var(--shadow);
}

.building-media img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.building-content h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", "Noto Serif Hebrew", serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
  text-wrap: balance;
}

.building-content p {
  max-width: 720px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.building-giving {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.building-giving article {
  min-height: 104px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(243, 207, 122, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.building-giving span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.building-giving strong {
  display: block;
  margin-top: 8px;
  color: var(--gold-light);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1;
}

.building-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 850;
}

.building-contact a {
  color: var(--gold-light);
  font-size: 1.18rem;
  font-weight: 950;
}

.building-contact span {
  flex-basis: 100%;
}

.donation-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 80px;
  padding: clamp(34px, 5vw, 58px);
  color: #fff;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(124, 36, 56, 0.9), rgba(7, 21, 43, 0.96)),
    var(--navy);
  box-shadow: var(--shadow);
}

.donation-section h2 {
  color: #fff;
}

.donation-section p {
  max-width: 720px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.84);
}

.large {
  min-width: 210px;
  min-height: 56px;
  font-size: 1.08rem;
}

.trust-section {
  padding-top: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid rgba(212, 155, 52, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(7, 21, 43, 0.08);
}

.trust-card span {
  display: block;
  color: var(--wine);
  font-size: 0.92rem;
  font-weight: 900;
}

.trust-card strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.trust-card p {
  margin: 12px 0 0;
  color: rgba(22, 32, 51, 0.72);
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--wine);
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-section {
  padding-top: 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.legal-card {
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 40px rgba(7, 21, 43, 0.08);
}

.legal-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.35rem;
}

.legal-card p {
  margin: 0;
  color: rgba(22, 32, 51, 0.78);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 44px clamp(20px, 6vw, 72px);
  color: #fff;
  background: #050b17;
}

.site-footer img {
  width: min(142px, 44vw);
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
}

.footer-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
}

.footer-details span {
  color: var(--gold-light);
  font-weight: 900;
}

.footer-details a:hover {
  color: var(--gold-light);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  font-weight: 900;
}

.footer-legal a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.accessibility-widget {
  position: fixed;
  z-index: 50;
  inset-inline-start: 18px;
  bottom: 18px;
}

.accessibility-toggle {
  min-width: 104px;
  min-height: 48px;
  border: 2px solid var(--gold-light);
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 14px 34px rgba(7, 21, 43, 0.28);
  cursor: pointer;
  font-weight: 950;
}

.accessibility-panel {
  position: absolute;
  inset-inline-start: 0;
  bottom: calc(100% + 10px);
  width: min(290px, calc(100vw - 36px));
  padding: 16px;
  border: 1px solid rgba(243, 207, 122, 0.45);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 21, 43, 0.98);
  box-shadow: var(--shadow);
}

.accessibility-panel h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.accessibility-panel button,
.accessibility-panel a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-weight: 850;
}

.accessibility-panel a {
  color: var(--gold-light);
}

.mobile-donate-float {
  display: none;
}

.a11y-links a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.a11y-readable-font body,
.a11y-readable-font button,
.a11y-readable-font input,
.a11y-readable-font textarea,
.a11y-readable-font h1,
.a11y-readable-font h2,
.a11y-readable-font h3 {
  font-family: Arial, sans-serif;
}

.a11y-contrast body {
  color: #fff;
  background: #000;
}

.a11y-contrast .site-header,
.a11y-contrast .body-copy,
.a11y-contrast .impact-list div,
.a11y-contrast .trust-card,
.a11y-contrast .legal-card {
  color: #fff;
  background: #000;
  border-color: #fff;
  box-shadow: none;
}

.a11y-contrast .hero-overlay,
.a11y-contrast .donation-section,
.a11y-contrast .work-section,
.a11y-contrast .site-footer {
  background: #000;
}

.a11y-contrast h1,
.a11y-contrast h2,
.a11y-contrast h3,
.a11y-contrast p,
.a11y-contrast span,
.a11y-contrast strong,
.a11y-contrast .nav-links,
.a11y-contrast .legal-card p,
.a11y-contrast .trust-card p,
.a11y-contrast .site-footer p,
.a11y-contrast .donation-section p,
.a11y-contrast .aid-card p {
  color: #fff;
}

.a11y-contrast a,
.a11y-contrast .eyebrow,
.a11y-contrast .footer-legal a {
  color: #ffff00;
}

[dir="ltr"] body {
  font-family: Inter, Arial, sans-serif;
}

[dir="ltr"] .body-copy {
  border-inline-start: 0;
  border-inline-end: 5px solid var(--gold);
}

@media (max-width: 920px) {
  .site-header {
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .brand {
    order: 2;
  }

  .menu-toggle {
    display: grid;
    order: 1;
  }

  .header-actions {
    order: 3;
    margin-inline-start: auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    inset-inline: 16px;
    display: none;
    width: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 250, 240, 0.98);
    box-shadow: 0 18px 48px rgba(7, 21, 43, 0.18);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    font-size: 0.94rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
    border: 1px solid rgba(22, 32, 51, 0.1);
    border-radius: 8px;
    background: #fff;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    padding-top: 72px;
  }

  .two-column,
  .impact-section,
  .building-section,
  .aid-grid,
  .trust-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .aid-card {
    min-height: auto;
  }

  .donation-section,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .building-media {
    order: 2;
  }

  .building-content {
    order: 1;
  }

  .building-giving {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 88px;
  }

  .site-header {
    padding: 8px 14px;
  }

  .brand img {
    width: 76px;
  }

  .header-actions {
    gap: 8px;
  }

  .donate-link {
    min-height: 40px;
    padding-inline: 16px;
  }

  .site-header .donate-link,
  .hero-actions {
    display: none;
  }

  .language-toggle {
    min-width: 76px;
    min-height: 40px;
  }

  .nav-links {
    inset-inline: 12px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 21, 43, 0.54), rgba(7, 21, 43, 0.95) 54%, rgba(7, 21, 43, 0.98));
  }

  .hero h1 {
    font-size: clamp(2.75rem, 17vw, 4.7rem);
  }

  .hero-content {
    padding-top: 46px;
    padding-bottom: 220px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    bottom: 28px;
  }

  .hero-panel div {
    min-height: 96px;
    padding: 18px;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding-block: 64px;
  }

  .accessibility-widget {
    inset-inline: 14px auto;
    bottom: 86px;
  }

  .accessibility-toggle {
    min-width: 92px;
  }

  .mobile-donate-float {
    position: fixed;
    z-index: 48;
    inset-inline: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border-radius: 999px;
    color: var(--navy);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: 0 14px 34px rgba(7, 21, 43, 0.28);
    font-size: 1.1rem;
    font-weight: 950;
  }
}
