@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@400;500;600;700&display=swap");

:root {
  --ink: #171515;
  --muted: #615d58;
  --paper: #fffaf2;
  --white: #ffffff;
  --teal: #159b9a;
  --deep-teal: #073b3a;
  --gold: #e8b43f;
  --coral: #c9514a;
  --wine: #4b1d2b;
  --shadow: 0 18px 60px rgba(18, 20, 22, 0.18);
  color-scheme: light;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

html,
body,
body * {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

html[dir="rtl"],
html[dir="rtl"] body,
html[dir="rtl"] body * {
  font-family: "Noto Sans Hebrew", Arial, sans-serif !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.08));
}

.nav-links,
.hero-actions,
.support-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: clamp(12px, 2vw, 28px);
  font-size: 15px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.language-switch a,
.language-switch span {
  display: inline-flex;
  min-width: 24px;
  justify-content: center;
  text-decoration: none;
}

.language-switch span {
  color: var(--gold);
}

.nav-links a,
.text-link,
.site-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.header-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #23170a;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
  background-image: url("assets/fani-dor-israel-flag.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-color: #7f1328;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 20, 22, 0.84) 0%, rgba(5, 20, 22, 0.57) 46%, rgba(5, 20, 22, 0.16) 100%),
    linear-gradient(0deg, rgba(5, 20, 22, 0.82) 0%, rgba(5, 20, 22, 0.08) 58%);
}

.hero-content {
  position: relative;
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 182px 0 34px;
  transform: translateY(42px);
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-copy,
html[dir="rtl"] .support-copy {
  text-align: right;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[dir="rtl"] .eyebrow {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
}

html[dir="rtl"] .hero .eyebrow {
  font-size: clamp(18px, 2.2vw, 28px);
}

.eyebrow.dark {
  color: var(--teal);
}

.hero .eyebrow {
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.2;
}

h1,
h2,
h3,
p,
button,
input,
a,
.fact span,
.fact strong {
  margin-top: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

h1 {
  max-width: 890px;
  margin-bottom: 20px;
  font-size: clamp(38px, 5.9vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions,
.support-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 21px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.header-cta:hover,
.floating-donate:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--gold);
  color: #211608;
  box-shadow: 0 12px 32px rgba(232, 180, 63, 0.28);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.button.light {
  background: var(--white);
  color: var(--deep-teal);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: var(--white);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #ded5ca;
}

.fact {
  min-height: 118px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
}

.fact strong,
.fact span {
  display: block;
}

.fact strong {
  color: var(--wine);
  font-size: 15px;
  text-transform: uppercase;
}

.fact span {
  margin-top: 8px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.15;
}

html[dir="rtl"] .fact span,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .button,
html[dir="rtl"] .header-cta,
html[dir="rtl"] .floating-donate {
  font-family: "Noto Sans Hebrew", Arial, sans-serif;
  font-weight: 600;
}

html[dir="rtl"] .hero-actions .button {
  font-family: "Noto Sans Hebrew", Arial, sans-serif !important;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: none;
}

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

.story-grid,
.leadership-section,
.video-section,
.support-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.section-copy p {
  color: var(--muted);
  font-size: 18px;
}

.feature-photo {
  margin: 0;
}

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

.leadership-photo {
  margin: 0;
  align-self: stretch;
}

.feature-photo img,
.leadership-photo img,
.support-section img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.leadership-photo img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.feature-photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.leadership-photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.highlight-band {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(58px, 8vw, 94px) clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  background: var(--deep-teal);
  color: var(--white);
}

.highlight-band h2 {
  max-width: 650px;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.reason-list article {
  min-height: 194px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
}

.reason-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  grid-auto-rows: 260px;
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(18, 20, 22, 0.1);
}

.gallery img:first-child {
  grid-row: span 2;
}

.gallery img:nth-child(3) {
  grid-row: span 2;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-link {
  color: var(--white);
  text-decoration: none;
}

.video-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.video-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.08));
}

.play-badge {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(70px, 9vw, 92px);
  height: clamp(70px, 9vw, 92px);
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: #211608;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3);
}

.video-caption {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 18px;
  right: 22px;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.text-link {
  color: var(--teal);
  font-weight: 800;
}

.support-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(52px, 7vw, 90px);
  padding: clamp(30px, 5vw, 56px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 59, 58, 0.97), rgba(75, 29, 43, 0.92)),
    var(--deep-teal);
  color: var(--white);
  box-shadow: var(--shadow);
}

.support-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.copy-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--gold);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 30px clamp(18px, 4vw, 56px) 90px;
  color: var(--muted);
  border-top: 1px solid #e4dbcf;
  font-size: 14px;
}

.site-footer p {
  max-width: 820px;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

html[dir="rtl"] .footer-links {
  justify-content: flex-start;
}

.floating-donate {
  position: fixed;
  z-index: 25;
  right: 18px;
  bottom: 18px;
  display: none;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(60, 20, 15, 0.28);
}

@media (max-width: 860px) {
  .site-header {
    align-items: center;
    justify-content: flex-end;
    padding: 12px 16px;
  }

  .nav-links {
    display: none;
  }

  .language-switch {
    margin-inline-end: auto;
  }

  .header-cta {
    padding: 9px 13px;
    font-size: 14px;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-media {
    background-position: top center;
    background-size: 100% auto;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(5, 20, 22, 0.94) 0%, rgba(5, 20, 22, 0.63) 72%, rgba(5, 20, 22, 0.12) 100%),
      linear-gradient(90deg, rgba(5, 20, 22, 0.64), rgba(5, 20, 22, 0.12));
  }

  .hero-content {
    padding: 154px 0 34px;
    transform: translateY(18px);
  }

  h1 {
    font-size: clamp(34px, 9.5vw, 48px);
  }

  html[dir="rtl"] h1 {
    font-size: clamp(32px, 8.7vw, 44px);
  }

  .quick-facts,
  .story-grid,
  .leadership-section,
  .video-section,
  .support-section,
  .highlight-band,
  .reason-list {
    grid-template-columns: 1fr;
  }

  .quick-facts {
    gap: 1px;
  }

  .fact {
    min-height: auto;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .gallery img:first-child,
  .gallery img:nth-child(3) {
    grid-row: auto;
  }

  .leadership-photo img {
    min-height: 0;
    height: auto;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 14px;
  }

  .footer-links {
    justify-content: flex-start;
  }

}

@media (max-width: 540px) {
  .site-header {
    display: none;
  }

  .site-header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0));
  }

  .header-cta {
    order: 1;
    padding: 9px 13px;
  }

  .language-switch {
    order: 2;
  }

  html[dir="rtl"] .header-cta {
    order: 2;
  }

  html[dir="rtl"] .language-switch {
    order: 1;
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(5, 20, 22, 0.96) 0%, rgba(5, 20, 22, 0.88) 56%, rgba(5, 20, 22, 0.06) 76%),
      linear-gradient(90deg, rgba(5, 20, 22, 0.3), rgba(5, 20, 22, 0.03));
  }

  .hero-content {
    padding: 50vw 0 28px;
    transform: none;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero .eyebrow {
    font-size: 18px;
  }

  .hero-actions,
  .support-actions {
    align-items: stretch;
  }

  .button,
  .hero-actions a,
  .support-actions a,
  .support-actions button {
    width: 100%;
  }

  .support-section {
    width: calc(100% - 24px);
    padding: 24px;
  }

  .floating-donate {
    display: inline-flex;
  }
}
