@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* ============================================================
   OB Ministry Haifa — Stylesheet
   Warm earthy tones · Galilee sky blue accents
   Shared across index.html and all project pages
   ============================================================ */

/* --- Custom Properties ------------------------------------- */
:root {
  --cream:          #faf7f2;
  --sand:           #f0e9dd;
  --sand-dark:      #e4d9c8;
  --earth:          #5c3d1e;
  --earth-dark:     #2a1a08;
  --gold:           #c49a22;
  --gold-light:     #f5e6b0;
  --gold-dark:      #9a7818;
  --terracotta:     #c4653b;
  --sky:            #1e5fa8;
  --sky-mid:        #2b72c8;
  --sky-dark:       #153f72;
  --white:          #ffffff;

  --text-heading:   #1e1208;
  --text-body:      #3d2b18;
  --text-muted:     #7a6050;
  --text-light:     #c8b8a8;

  --border:         #dfd4c4;
  --border-light:   #ede6da;

  --font-serif:     'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:      'Lato', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius-sm:      0.375rem;
  --radius:         0.625rem;
  --radius-lg:      1.25rem;
  --shadow-sm:      0 1px 4px rgba(42,26,8,.07);
  --shadow:         0 3px 14px rgba(42,26,8,.10);
  --shadow-md:      0 6px 28px rgba(42,26,8,.13);
  --shadow-lg:      0 14px 50px rgba(42,26,8,.17);

  --max-w:          1140px;
  --header-h:       4.5rem;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a  { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* --- Layout ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-block;
  padding: .7rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-gold {
  background: var(--gold);
  color: var(--earth-dark);
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(196,154,34,.3);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 4px 20px rgba(196,154,34,.42);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-lg { padding: .85rem 2rem; font-size: 1rem; }

/* ============================================================
   SHARED: CONTACT BAR
   ============================================================ */
.contact-bar {
  background: var(--earth-dark);
  padding: .7rem 0;
  text-align: center;
}
.contact-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.contact-name {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.contact-sep { color: rgba(255,255,255,.2); font-size: .9rem; }
.contact-email {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: -.01em;
  transition: color .15s;
}
.contact-email:hover { color: var(--white); text-decoration: none; }

@media (max-width: 480px) {
  .contact-bar-inner { flex-direction: column; gap: .25rem; }
  .contact-sep { display: none; }
}

/* ============================================================
   SHARED: HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(250,247,242,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--earth-dark);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.logo:hover { text-decoration: none; color: var(--sky); }
.logo-star { font-size: 1.25rem; color: var(--sky); line-height: 1; }
.logo-city { color: var(--text-muted); font-weight: 400; }

.nav-list { display: flex; gap: 2rem; }
.nav-list a {
  color: var(--text-body);
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-list a:hover {
  color: var(--sky);
  border-color: var(--sky);
  text-decoration: none;
}

/* Sky / newsletter button */
.btn-sky {
  background: var(--sky);
  color: var(--white);
  border-color: var(--sky);
  box-shadow: 0 2px 12px rgba(30,95,168,.25);
}
.btn-sky:hover {
  background: var(--sky-dark);
  border-color: var(--sky-dark);
  box-shadow: 0 4px 20px rgba(30,95,168,.38);
}
/* Compact newsletter button inside the header */
.btn-nav-nl {
  font-size: .78rem;
  padding: .42rem .95rem;
  letter-spacing: .02em;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .btn-nav-nl { display: none; }
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: .2rem;
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .15rem .4rem;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  color: var(--text-muted);
  padding: .25rem .5rem;
  border-radius: 999px;
  transition: background .15s, color .15s;
}
.lang-btn.active {
  background: var(--sky);
  color: var(--white);
  box-shadow: 0 1px 4px rgba(30,95,168,.28);
}
.lang-btn:not(.active):hover { color: var(--sky); }
.lang-sep { color: var(--border); font-size: .8rem; user-select: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-body);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ============================================================
   SHARED: FOOTER
   ============================================================ */
.site-footer {
  background: var(--earth-dark);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.9);
  font-family: var(--font-serif);
  font-size: 1rem;
}
.footer-star { color: var(--sky-mid); font-size: 1.15rem; }
.footer-tagline {
  font-style: italic;
  color: var(--text-light);
  font-size: .875rem;
  font-family: var(--font-serif);
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.32); }

/* ============================================================
   SHARED: SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -.02em;
  margin-bottom: .6rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
}

/* ============================================================
   SHARED: INTRO BANNER
   ============================================================ */
.intro-banner {
  background: var(--sky);
  padding: 1.5rem 0;
  text-align: center;
}
.intro-text {
  color: rgba(255,255,255,.92);
  font-size: 1rem;
  font-style: italic;
  font-family: var(--font-serif);
}

/* ============================================================
   SHARED: SUPPORT SECTION (homepage)
   ============================================================ */
.support-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  text-align: center;
}
.support-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, var(--sky-dark) 0%, var(--sky) 55%, #1a5fa8 100%);
  z-index: 0;
}
.support-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,255,255,.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(196,154,34,.14) 0%, transparent 60%);
}
.support-inner { position: relative; z-index: 1; color: var(--white); }
.support-star { display: block; font-size: 2rem; margin-bottom: 1.25rem; opacity: .65; }
.support-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.support-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,.88);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}
.support-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.support-verse {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-light);
  opacity: .9;
}

/* SUPPORT STRIP (project pages) */
.support-strip {
  background: var(--sand);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.support-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.support-strip-inner p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--earth);
  flex: 1;
}

/* ============================================================
   HOMEPAGE: HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0 6rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg,
    #0d2f5e 0%, #1a4f8a 28%, #2b72c8 52%, #8b5e1a 75%, #c4653b 100%
  );
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 100%, rgba(196,101,59,.22) 0%, transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}
.hero-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  padding: .3rem 1rem;
  border: 1px solid rgba(245,230,176,.38);
  border-radius: 999px;
  background: rgba(245,230,176,.07);
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.hero-hebrew {
  display: block;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  direction: rtl;
  unicode-bidi: isolate;
  letter-spacing: .02em;
}
.hero-brand-sub {
  display: block;
  font-size: clamp(1.2rem, 2.8vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: .04em;
  text-shadow: 0 1px 10px rgba(0,0,0,.22);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.88);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 1; }
.hero-scroll-hint span {
  display: block; width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,.38); border-radius: 999px; position: relative;
}
.hero-scroll-hint span::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: rgba(255,255,255,.55); border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%       { opacity: .3; transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   HOMEPAGE: PROJECT CARDS GRID
   ============================================================ */
.cards-section {
  padding: 5.5rem 0 6rem;
  background: var(--cream);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* ── Since October 7: full-width featured testimony card ── */
.since-oct7-feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: var(--earth-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 1.75rem;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
  color: var(--white);
}
.since-oct7-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(42,26,8,.24);
  text-decoration: none;
  color: var(--white);
}
.since-oct7-img {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.since-oct7-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
  display: block;
}
.since-oct7-feature:hover .since-oct7-img img { transform: scale(1.05); }
.since-oct7-body {
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .6rem;
}
.since-oct7-icon {
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}
.since-oct7-tag {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.since-oct7-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: .2rem 0 .4rem;
}
.since-oct7-desc {
  font-size: .98rem;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}
.since-oct7-cta {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: .5rem;
}
@media (max-width: 700px) {
  .since-oct7-feature { grid-template-columns: 1fr; }
  .since-oct7-img { min-height: 220px; }
  .since-oct7-body { padding: 1.75rem 1.5rem; }
}

/* Inline verse quote inside testimony sections */
.testimony-verse {
  border-left: 3px solid var(--gold);
  padding: .6rem 1.2rem;
  margin: 0 0 1.4rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.project-home-card {
  display: flex;
  flex-direction: row;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: box-shadow .3s, transform .3s;
  color: var(--text-body);
  text-decoration: none;
  min-height: 320px;
}
.project-home-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  text-decoration: none;
  color: var(--text-body);
}

.home-card-img-wrap {
  position: relative;
  flex: 0 0 42%;
  min-height: 320px;
  overflow: hidden;
  background: var(--sand-dark);
}
.home-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease;
}
.project-home-card:hover .home-card-img-wrap img { transform: scale(1.05); }

.home-card-num {
  position: absolute;
  top: .9rem;
  left: .9rem;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  color: var(--sky);
  letter-spacing: .02em;
  box-shadow: var(--shadow);
  z-index: 2;
}

.home-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2.75rem 3rem;
  justify-content: center;
}

.home-card-title-hebrew {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: .2rem;
  letter-spacing: .01em;
}

.home-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: .85rem;
  line-height: 1.2;
}

.home-card-desc {
  font-size: clamp(1.33rem, 1.8vw, 1.55rem);
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.75rem;
}

.home-card-btn {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: .03em;
  transition: color .15s, gap .15s;
}
.project-home-card:hover .home-card-btn { color: var(--sky-dark); }

/* ============================================================
   PROJECT PAGES: BACK BAR
   ============================================================ */
.back-bar {
  background: var(--sand);
  border-bottom: 1px solid var(--border);
  padding: .7rem 0;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--sky);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .02em;
  transition: color .15s, gap .15s;
}
.back-btn:hover { color: var(--sky-dark); text-decoration: none; gap: .6rem; }

/* ============================================================
   PROJECT PAGES: PAGE HERO
   ============================================================ */
.page-hero {
  position: relative;
  height: clamp(320px, 55vh, 580px);
  overflow: hidden;
  background: var(--earth-dark);
}
.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,25,45,.15) 0%,
    rgba(15,25,45,.72) 100%
  );
}
.page-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-bottom: 2.5rem;
  color: var(--white);
}
.project-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .7rem;
  padding: .2rem .7rem;
  border: 1px solid rgba(245,230,176,.4);
  border-radius: 999px;
  background: rgba(245,230,176,.08);
}
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-shadow: 0 2px 16px rgba(0,0,0,.2);
  max-width: 750px;
}

/* Hebrew display title — Cafe Maagan hero */
.page-title-hebrew {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold-light);
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
  margin-bottom: .3rem;
  letter-spacing: .01em;
}

/* English/German subtitle when paired beneath Hebrew */
.page-title--cafe {
  font-size: clamp(1.1rem, 2.8vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  opacity: .88;
  letter-spacing: .01em;
}

/* ============================================================
   PROJECT PAGES: BIBLE VERSE BANNER
   ============================================================ */
.verse-banner {
  background: var(--sky);
  padding: 3rem 0;
  text-align: center;
}
.verse-banner-inner { max-width: 740px; margin-inline: auto; }
.verse-banner-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--white);
  line-height: 1.55;
  margin-bottom: .75rem;
}
.verse-banner-ref {
  display: block;
  font-style: normal;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: .9;
}

/* ============================================================
   PROJECT PAGES: DESCRIPTION
   ============================================================ */
.content-section {
  padding: 5rem 0;
  background: var(--cream);
}
.content-grid { max-width: var(--max-w); }
.prose { max-width: 780px; }
.prose p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 1.4rem;
}
.prose p:last-child { margin-bottom: 0; }

/* ============================================================
   PROJECT PAGES: PHOTO GALLERY
   ============================================================ */
.gallery-section {
  padding: 5rem 0;
  background: var(--sand);
}
.gallery-section .section-title { text-align: left; margin-bottom: .4rem; }
.gallery-section .section-subtitle { text-align: left; margin-inline: 0; margin-bottom: 2.5rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-dark);
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-placeholder {
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  background: rgba(255,255,255,.5);
  transition: border-color .2s, color .2s;
}
.gallery-placeholder:hover { border-color: var(--sky); color: var(--sky); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .home-card-body { padding: 2rem 2.25rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .support-strip-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.is-open {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1rem 1.5rem;
    z-index: 199;
  }
  .main-nav.is-open .nav-list { flex-direction: column; gap: 0; }
  .main-nav.is-open .nav-list li {
    border-bottom: 1px solid var(--border-light);
    padding: .65rem 0;
  }
  .main-nav.is-open .nav-list li:last-child { border-bottom: none; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .logo-city { display: none; }
  .hero-scroll-hint { display: none; }
  .hero { padding: 4rem 0 5rem; }

  .cards-grid { grid-template-columns: 1fr; gap: 2rem; }
  .project-home-card { flex-direction: column; min-height: unset; }
  .home-card-img-wrap { flex: none; aspect-ratio: 4 / 3; min-height: unset; }
  .home-card-body { padding: 1.75rem 1.5rem; justify-content: flex-start; }
  .gallery-grid { grid-template-columns: 1fr; gap: .75rem; }

  .support-section { padding: 5rem 0; }
  .content-section { padding: 3.5rem 0; }
  .gallery-section { padding: 3.5rem 0; }
  .page-hero { height: clamp(260px, 45vw, 360px); }
  .page-hero-content { padding-bottom: 1.5rem; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 2.1rem; }
  .home-card-body { padding: 1.25rem 1.1rem; }
}

/* ============================================================
   WHO WE ARE — TEAM SECTION
   ============================================================ */
.team-section {
  background: var(--sand);
  padding: 5.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.team-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.team-section-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .9rem;
}
.team-section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-heading);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.team-section-divider {
  width: 3rem;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1.2rem auto 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.team-photo-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--gold);
  opacity: .6;
}
.team-card-body {
  padding: 1.75rem 1.6rem 2rem;
  text-align: center;
  flex: 1;
}
.team-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text-heading);
  margin-bottom: .3rem;
}
.team-role {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.team-bio {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
}

@media (max-width: 860px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

/* ============================================================
   OUR VISION SECTION
   ============================================================ */
.vision-section {
  background: var(--cream);
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.vision-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .9rem;
}
.vision-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text-heading);
  margin-bottom: 1rem;
}
.vision-divider {
  width: 3rem;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0 auto 2.8rem;
}
.vision-verse {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  border-left: 3px solid var(--gold);
  padding: .25rem 0 .25rem 1.75rem;
  text-align: left;
}
.vision-verse-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-heading);
  line-height: 1.75;
}
.vision-verse-ref {
  display: block;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-top: .65rem;
  font-style: normal;
  letter-spacing: .04em;
}
.vision-body {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-body);
  text-align: left;
}

/* ============================================================
   TESTIMONY PAGE — since-october-7.html
   ============================================================ */

/* Hebrew verse line in verse-banner */
.verse-hebrew {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: rgba(245,230,176,.7);
  margin-top: .5rem;
  direction: rtl;
  unicode-bidi: isolate;
  font-style: normal;
}

/* Individual testimony sections */
.testimony-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-light);
  background: var(--cream);
}
.testimony-section--alt {
  background: var(--sand);
}
.testimony-inner {
  max-width: 820px;
}
.testimony-label {
  display: block;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .55rem;
}
.testimony-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.18;
  margin-bottom: .1rem;
}
.testimony-divider {
  width: 2.5rem;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1.1rem 0 1.5rem;
}
.testimony-body {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  line-height: 1.9;
  color: var(--text-body);
}
.testimony-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.testimony-photos img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  transition: transform .4s;
}
.testimony-photos img:hover { transform: scale(1.025); }

/* Closing quote */
.closing-quote-section {
  background: var(--earth-dark);
  padding: 6rem 0;
  text-align: center;
}
.closing-quote-star {
  display: block;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.closing-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.6;
  max-width: 700px;
  margin-inline: auto;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

@media (max-width: 640px) {
  .testimony-section { padding: 3rem 0; }
  .testimony-photos { grid-template-columns: repeat(2, 1fr); }
  .closing-quote-section { padding: 4rem 0; }
}

/* ============================================================
   TESTIMONIES: PORTRAIT PLACEHOLDER
   ============================================================ */
.testimony-portrait-wrap {
  margin: 0 0 2rem;
}

.testimony-portrait-placeholder {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  border: 2px dashed var(--border);
  background: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
}

/* ============================================================
   PROJECT CARDS: TESTIMONIES VARIANT
   ============================================================ */
:root {
  --purple:       #6b3fa0;
  --purple-light: #ede5f8;
  --purple-dark:  #4e2e7a;
}

.project-home-card--testimony {
  border-top: 4px solid var(--purple);
}

.project-home-card--testimony:hover {
  border-top-color: var(--purple-dark);
}

.project-home-card--testimony .home-card-btn {
  color: var(--purple);
}

.project-home-card--testimony:hover .home-card-btn {
  color: var(--purple-dark);
}

/* Badge label (replaces the number badge on the testimonies card) */
.home-card-badge {
  position: absolute;
  top: .9rem;
  left: .9rem;
  background: var(--purple);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border-radius: var(--radius-sm);
  z-index: 2;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */

/* Pointer cursor on every clickable photo */
.gallery-item img,
.testimony-photos img,
.team-photo-wrap img,
.home-card-img-wrap img {
  cursor: pointer;
}

/* Full-screen overlay — hidden by default */
#ob-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
#ob-lightbox.lb-open {
  opacity: 1;
  pointer-events: auto;
}

/* Dark backdrop — clicking it closes the lightbox */
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 3, .93);
  cursor: pointer;
}

/* Image wrapper — sits above the backdrop */
.lb-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* clicks fall through to backdrop so clicking outside image closes */
  pointer-events: none;
}

.lb-img {
  display: block;
  max-width: 90vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 16px 70px rgba(0, 0, 0, .8);
  transition: opacity .18s ease;
  pointer-events: none;
  user-select: none;
}

/* Close button — top-right corner */
.lb-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  border: 1.5px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lb-close:hover,
.lb-close:focus {
  background: rgba(255, 255, 255, .3);
  outline: none;
}

/* Prev / Next navigation arrows */
.lb-prev,
.lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, opacity .25s;
  user-select: none;
}
.lb-prev { left: 1rem;  padding-right: .15rem; } /* optical centering */
.lb-next { right: 1rem; padding-left:  .15rem; }
.lb-prev:hover,
.lb-next:hover,
.lb-prev:focus,
.lb-next:focus {
  background: rgba(255, 255, 255, .28);
  outline: none;
}

/* Hide arrows when at the first or last image */
.lb-prev.lb-hidden,
.lb-next.lb-hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 640px) {
  .lb-prev { left:  .35rem; }
  .lb-next { right: .35rem; }
  .lb-close { top: .5rem; right: .5rem; width: 2.4rem; height: 2.4rem; font-size: 1.4rem; }
  .lb-prev,
  .lb-next  { width: 2.4rem; height: 2.4rem; font-size: 1.6rem; }
}

/* ============================================================
   HUMANITARIAN AID — CHAPTER STORY LAYOUT
   ============================================================ */

.chapter {
  padding: 5.5rem 0;
  background: var(--cream);
}
.chapter--alt {
  background: var(--sand);
}

.chapter-header {
  margin-bottom: 4rem;
}
.chapter-num {
  display: block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .9rem;
}
.chapter-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.12;
  letter-spacing: -.03em;
  margin-bottom: 1.1rem;
}
.chapter-divider {
  width: 3.5rem;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* Story body text — minimum 22px */
.story-p {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2vw, 1.375rem);
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}
.story-p:last-child { margin-bottom: 0; }

/* Story block: text (wider) + image side by side */
.story-block {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 3rem;
}
.story-block .story-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
  transition: transform .4s ease;
  cursor: pointer;
}
.story-block .story-img img:hover { transform: scale(1.025); }

/* Pull quote */
.story-pull-quote {
  border-left: 4px solid var(--gold);
  padding: .75rem 0 .75rem 1.75rem;
  margin: 2.5rem 0 3rem;
  max-width: 700px;
}
.story-pull-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--text-heading);
}

/* Inline photo rows */
.story-photos {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}
.story-photos--2 { grid-template-columns: repeat(2, 1fr); }
.story-photos--3 { grid-template-columns: repeat(3, 1fr); }
.story-photos--4 { grid-template-columns: repeat(4, 1fr); }

.story-photos img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  transition: transform .4s ease;
  cursor: pointer;
}
.story-photos img:hover { transform: scale(1.025); }

/* Sub-headings within a chapter */
.story-subheading {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -.02em;
  margin: 4rem 0 .6rem;
}
.story-subheading-divider {
  width: 2.5rem;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 2rem;
}

/* Closing quote — larger and more elegant */
.closing-quote-text {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  max-width: 820px;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 860px) {
  .story-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .story-photos--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .chapter { padding: 3.5rem 0; }
  .chapter-header { margin-bottom: 2.5rem; }
  .chapter-title { font-size: 2.2rem; }
  .story-photos--3 { grid-template-columns: repeat(2, 1fr); }
  .story-pull-quote { padding-left: 1.25rem; }
  .story-photos img,
  .story-block .story-img img { height: 220px; }
}
