/* ============================================================
   HOME V2 — Pixel-perfect rebuild from Figma reference
   Reference: fig_home.png 1440x8023
   ============================================================ */

/* Override container width to match Figma (1440 with ~120px gutters) */
:root {
  --hp-max: 1200px;
  --hp-gutter: 120px;
  --teal-card: #103F40;
  --teal-deep-card: #0C3233;
  --gold-rich: #B58A4F;
  --gold-deep: #8E6A36;
  --cream-warm: #F5F0E8;
  --cream-page: #EFE9DC;  /* page bg in Figma */
}

body { background: var(--cream-page); }
img { max-width: 100%; display: block; }

/* ============================================================
   1. HERO — Full-bleed photo, floating nav with logo bump
   ============================================================ */
.hp-hero {
  position: relative;
  width: 100%;
  height: 760px;
  overflow: hidden;
  background: var(--teal-card);
}
.hp-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}
/* Decorative gold concentric arches behind the logo */
.hp-hero-arch {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 760px;
  border: 1.5px solid rgba(217, 185, 129, 0.55);
  border-radius: 50%;
  pointer-events: none;
}
.hp-hero-arch::before,
.hp-hero-arch::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(217, 185, 129, 0.4);
}
.hp-hero-arch::before { inset: 30px; }
.hp-hero-arch::after { inset: 60px; border-color: rgba(217, 185, 129, 0.28); }

/* Floating nav — pill that sits over the photo */
.hp-nav {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: calc(100% - 80px);
  max-width: 1200px;
  height: 64px;
  background: var(--teal-card);
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.hp-nav-left {
  display: flex;
  gap: 32px;
  align-items: center;
  flex: 1;
}
.hp-nav-link {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color .2s;
}
.hp-nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: #fff;
}
.hp-nav-link:hover { color: var(--gold-soft); }

/* Logo bump — sits at top center of nav, extending above */
.hp-nav-logo {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 96px;
  background: var(--teal-card);
  border-radius: 50% 50% 8px 8px / 50% 50% 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px 10px;
}
.hp-nav-logo svg {
  width: 60px;
  height: auto;
}
.hp-nav-right {
  display: flex;
  gap: 24px;
  align-items: center;
}

/* DONATE pill button — gold (color-contrast tuned for WCAG AA) */
.hp-donate-pill {
  background: var(--gold-deep);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.hp-donate-pill:hover { background: #6f5128; }

/* Hero text overlay — right side */
.hp-hero-content {
  position: absolute;
  top: 50%;
  right: 80px;
  transform: translateY(-50%);
  max-width: 540px;
  color: #fff;
  z-index: 5;
}
.hp-hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-rich);
  margin-bottom: 24px;
}
.hp-hero-title {
  font-family: var(--font-serif);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--teal-card);
  margin: 0 0 28px;
}
.hp-hero-title em {
  font-style: italic;
  color: var(--gold-rich);
  font-weight: 600;
}
.hp-hero-body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--teal-card);
  margin: 0 0 16px;
}
.hp-hero-cta {
  display: inline-block;
  margin-top: 12px;
  padding: 16px 36px;
  background: var(--gold-rich);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: background .2s;
}
.hp-hero-cta:hover { background: var(--gold-deep); }

.hp-hero-spark {
  position: absolute;
  font-size: 36px;
  color: var(--gold-rich);
  z-index: 6;
}

/* ============================================================
   2. IGNITE THE SPARK — Dark teal, text left + 3 cards right
   ============================================================ */
.hp-ignite {
  background: var(--teal-card);
  color: #fff;
  padding: 100px 80px;
  position: relative;
}
.hp-ignite-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}
.hp-ignite-text { padding-top: 20px; }
.hp-ignite-eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-rich);
  margin-bottom: 28px;
}
.hp-ignite-title {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 36px;
}
.hp-ignite-title em {
  font-style: italic;
  color: var(--gold-rich);
  font-weight: 600;
}
.hp-ignite-body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin: 0 0 32px;
  max-width: 460px;
}
/* Monthly/One-time toggle */
.hp-freq-toggle {
  display: inline-flex;
  background: rgba(0,0,0,0.25);
  border-radius: 999px;
  padding: 4px;
  margin-top: 8px;
}
.hp-freq-toggle button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
}
.hp-freq-toggle button.on {
  background: var(--gold-rich);
  color: #fff;
}

/* Sponsor cards — 2-column grid on right (3 rows × 2 cols = 6 cards) */
.hp-sponsor-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.hp-sponsor-card {
  background: var(--cream-warm);
  border-radius: 6px;
  padding: 32px 24px 24px;
  text-align: center;
  position: relative;
}
.hp-sponsor-card-icon {
  width: 80px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-sponsor-card-icon svg {
  width: 100%;
  height: 100%;
  color: var(--gold-rich);
}
.hp-sponsor-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--teal-card);
  margin: 0 0 16px;
}
.hp-sponsor-card-price {
  background: transparent;
  border-top: 1px solid var(--line, #E0D9C9);
  padding: 14px 0 0;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-rich);
  letter-spacing: -0.01em;
  color: var(--teal-card);
}
.hp-sponsor-card-price sup {
  font-size: 14px;
  font-weight: 600;
  vertical-align: super;
  margin-right: 2px;
}

/* ============================================================
   3. TRANSFORM CARD — Dark card with Israel map + stats
   ============================================================ */
.hp-transform-wrap {
  background: var(--cream-page);
  padding: 80px 80px;
}
.hp-transform {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--teal-card);
  border-radius: 16px;
  padding: 60px 60px;
  position: relative;
  overflow: hidden;
}
.hp-transform-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hp-transform-stats {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hp-transform-stat .n {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1;
}
.hp-transform-stat .l {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  display: block;
  margin-top: 4px;
}
.hp-transform-map {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hp-transform-map svg {
  width: 280px;
  height: auto;
}
.hp-transform-map-spark {
  position: absolute;
  font-size: 44px;
  color: var(--gold-rich);
  top: 0;
  right: 30px;
}

.hp-transform-bottom {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hp-transform-headline {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}
.hp-transform-headline .gold-italic {
  color: var(--gold-rich);
  font-style: italic;
  font-weight: 600;
}
.hp-transform-headline .white {
  color: #fff;
  display: block;
}
.hp-transform-cta-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.hp-transform-body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin: 0;
}
.hp-transform-cta {
  display: inline-block;
  padding: 16px 36px;
  background: var(--gold-rich);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  width: 100%;
  text-align: center;
  max-width: 460px;
  box-sizing: border-box;
}

/* ============================================================
   4. OUR SERVICES — Cream bg with concentric arches behind heading
   ============================================================ */
.hp-services {
  background: var(--cream-page);
  padding: 80px 80px 60px;
  position: relative;
}
.hp-services-head {
  text-align: center;
  position: relative;
  margin-bottom: 60px;
  padding: 80px 0 40px;
}
/* Decorative arches behind headline */
.hp-services-head::before,
.hp-services-head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  border: 1.5px solid rgba(181, 138, 79, 0.45);
  border-bottom: none;
  pointer-events: none;
  transform: translateX(-50%);
}
.hp-services-head::before { width: 700px; height: 200px; border-color: rgba(181, 138, 79, 0.5); }
.hp-services-head::after { width: 880px; height: 270px; border-color: rgba(181, 138, 79, 0.3); }

.hp-services-title {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--teal-card);
  margin: 0 0 16px;
  position: relative;
  z-index: 2;
}
.hp-services-sub {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
/* Sparkle decorations */
.hp-services-spark {
  position: absolute;
  color: var(--gold-rich);
  font-size: 28px;
  z-index: 1;
}

/* Mentorship feature card — full-width photo + dark overlay text */
.hp-mentor {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1280 / 460;
}
.hp-mentor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-mentor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,63,64,0.85) 0%, rgba(16,63,64,0.5) 40%, rgba(16,63,64,0) 70%);
}
.hp-mentor-content {
  position: absolute;
  left: 60px;
  bottom: 60px;
  max-width: 420px;
  color: #fff;
}
.hp-mentor-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  font-style: italic;
  margin: 0 0 16px;
}
.hp-mentor-body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.9);
  margin: 0 0 24px;
}
.hp-mentor-cta {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: all .2s;
}
.hp-mentor-cta:hover { background: rgba(255,255,255,0.15); }

/* Photo-tab strip — 6 photo tiles below mentorship, with active state */
.hp-tabstrip {
  max-width: 1280px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.hp-tab {
  position: relative;
  aspect-ratio: 1.1 / 1;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s;
}
.hp-tab.active {
  outline: 0;
}
.hp-tab.active::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gold-rich);
}
.hp-tab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-tab-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
}
.hp-tab-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.25;
}

/* ============================================================
   5. INSIDE CHINUCH ATZMAI — Blog cards
   ============================================================ */
.hp-inside {
  padding: 100px 80px;
  background: var(--cream-page);
  position: relative;
}
.hp-inside-head {
  max-width: 1280px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  position: relative;
}
.hp-inside-title {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  color: var(--teal-card);
  margin: 0 0 16px;
  line-height: 1.05;
}
.hp-inside-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 480px;
  margin: 0;
}
.hp-inside-viewall {
  display: inline-block;
  padding: 12px 24px;
  background: #fff;
  color: var(--teal-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s;
}
.hp-inside-viewall:hover { background: var(--cream-warm); }

.hp-blog-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hp-blog-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hp-blog-card-img {
  aspect-ratio: 4/3;
  width: 100%;
  background: #DDD;
}
.hp-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-blog-card-body {
  padding: 24px 20px 28px;
}
.hp-blog-cat {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-card);
  margin: 0 0 8px;
}
.hp-blog-card-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--teal-card);
  margin: 0 0 12px;
  line-height: 1.25;
}
.hp-blog-card-body p {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
}

/* Pagination dots + arrows */
.hp-blog-controls {
  max-width: 1280px;
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hp-blog-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hp-blog-dots .dot {
  width: 18px;
  height: 18px;
  font-size: 18px;
  color: rgba(181, 138, 79, 0.35);
}
.hp-blog-dots .dot.on { color: var(--gold-rich); }
.hp-blog-arrows { display: flex; gap: 8px; }
.hp-blog-arrows button {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: none;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-card);
  transition: all .2s;
}
.hp-blog-arrows button.next {
  background: var(--gold-rich);
  color: #fff;
}

/* ============================================================
   6. GUIDED BY OUR GEDOLIM
   ============================================================ */
.hp-gedolim {
  padding: 100px 80px;
  background: var(--cream-page);
  position: relative;
}
.hp-gedolim-head {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}
.hp-gedolim-title {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  color: var(--teal-card);
  margin: 0 0 16px;
  position: relative;
  z-index: 2;
}
.hp-gedolim-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hp-gedolim-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hp-ged-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hp-ged-img {
  aspect-ratio: 1/1;
  width: 100%;
  background: #DDD;
}
.hp-ged-img img { width: 100%; height: 100%; object-fit: cover; }
.hp-ged-body { padding: 24px 22px 28px; }
.hp-ged-quote {
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  line-height: 1.55;
  color: var(--teal-card);
  margin: 0 0 24px;
  text-align: left;
}
.hp-ged-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-card);
  margin: 0;
}
.hp-ged-org {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--slate);
  margin: 0;
}

/* ============================================================
   7. CTA — Give Every Child the Opportunity for Torah
   ============================================================ */
.hp-cta-wrap {
  background: var(--cream-page);
  padding: 60px 80px;
}
.hp-cta {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1280 / 480;
  background: var(--teal-card);
}
.hp-cta-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
}
.hp-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--teal-card) 0%, var(--teal-card) 35%, rgba(16,63,64,0.7) 50%, rgba(16,63,64,0) 75%);
}
.hp-cta-content {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 480px;
  z-index: 3;
}
.hp-cta-title {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 24px;
  color: #fff;
}
.hp-cta-title em {
  display: block;
  font-style: italic;
  color: var(--gold-rich);
  font-weight: 600;
}
.hp-cta-body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px;
}
.hp-cta-button {
  display: inline-block;
  padding: 16px 36px;
  background: var(--gold-rich);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
}
.hp-cta-corner {
  position: absolute;
  bottom: 30px;
  right: 60px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-style: italic;
  color: var(--gold-rich);
  z-index: 4;
}

/* ============================================================
   8. LOGO WALL
   ============================================================ */
.hp-logos {
  background: var(--cream-warm);
  padding: 60px 80px 80px;
  text-align: center;
}
.hp-logos-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--teal-card);
  margin: 0 0 8px;
}
.hp-logos-sub {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--slate);
  font-size: 16px;
  margin: 0 auto 36px;
  text-align: center;
  max-width: 540px;
}
.hp-logos-cta {
  display: block;
  text-align: center;
  margin-top: 28px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-rich);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.hp-logos-cta:hover { border-bottom-color: var(--gold-rich); }
.hp-logos-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 16px 32px;
}
.hp-logo {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--teal-card);
  text-align: center;
  text-decoration: none;
  padding: 8px 4px;
  border-radius: 3px;
  transition: background .15s, color .15s;
  letter-spacing: -0.005em;
}
.hp-logo:hover {
  background: rgba(181, 138, 79, 0.10);
  color: var(--gold-rich);
}
.hp-sponsor-card-per {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 4px;
}
a.hp-sponsor-card { text-decoration: none; color: inherit; display: block; transition: transform .15s, box-shadow .15s; }
a.hp-sponsor-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(14,61,58,0.10); }

/* ============================================================
   9. FOOTER
   ============================================================ */
.hp-footer {
  background: var(--teal-card);
  color: #fff;
  padding: 60px 80px 40px;
  position: relative;
  overflow: hidden;
}
.hp-footer::before {
  /* Gold arch detail at top center */
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 24px;
  background: var(--gold-rich);
  border-radius: 0 0 12px 12px;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
}
.hp-footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  padding-bottom: 40px;
}
.hp-footer-logo svg { width: 64px; height: auto; }
.hp-footer-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.hp-footer-nav a {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s;
}
.hp-footer-nav a:hover { color: var(--gold-soft); }
.hp-footer-seal {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-footer-social {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 24px 0;
}
.hp-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-rich);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-card);
  transition: background .2s;
}
.hp-footer-social a:hover { background: var(--gold-deep); }
.hp-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hp-footer-legal {
  display: flex;
  gap: 24px;
}
.hp-footer-legal a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hp-footer-watermark {
  position: relative;
  margin-top: 60px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 180px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.04);
  line-height: 0.9;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1100px) {
  .hp-ignite { padding: 80px 40px; }
  .hp-ignite-inner { grid-template-columns: 1fr; gap: 60px; }
  .hp-services, .hp-inside, .hp-gedolim, .hp-cta-wrap, .hp-logos, .hp-footer { padding-left: 40px; padding-right: 40px; }
  .hp-tabstrip { grid-template-columns: repeat(3, 1fr); }
  .hp-blog-grid, .hp-gedolim-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-logos-grid { grid-template-columns: repeat(5, 1fr); }
  .hp-hero-content { right: 40px; max-width: 60%; }
  .hp-hero-title { font-size: 44px; }
  .hp-services-title, .hp-ignite-title, .hp-gedolim-title, .hp-inside-title { font-size: 40px; }
}
@media (max-width: 720px) {
  .hp-hero { height: 600px; }
  .hp-hero-content { position: static; transform: none; padding: 100px 24px 40px; max-width: none; }
  .hp-nav-left, .hp-nav-right { gap: 16px; }
  .hp-nav-link { font-size: 11px; }
  .hp-hero-title { font-size: 32px; }
  .hp-ignite, .hp-services, .hp-inside, .hp-gedolim, .hp-cta-wrap, .hp-logos, .hp-footer, .hp-transform-wrap { padding-left: 20px; padding-right: 20px; }
  .hp-transform { padding: 30px 24px; }
  .hp-transform-inner, .hp-transform-bottom { grid-template-columns: 1fr; gap: 32px; }
  .hp-tabstrip { grid-template-columns: repeat(2, 1fr); }
  .hp-blog-grid, .hp-gedolim-grid { grid-template-columns: 1fr; }
  .hp-logos-grid { grid-template-columns: repeat(3, 1fr); }
  .hp-mentor-content { left: 20px; bottom: 20px; right: 20px; max-width: none; }
  .hp-mentor-title { font-size: 24px; }
  .hp-cta-photo { width: 100%; opacity: 0.4; }
  .hp-cta-overlay { background: rgba(16,63,64,0.85); }
  .hp-cta-content { left: 24px; right: 24px; }
  .hp-cta-title { font-size: 28px; }
  .hp-cta-corner { font-size: 22px; right: 24px; }
  .hp-footer-top { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hp-footer-bottom { flex-direction: column; gap: 16px; }
  .hp-footer-watermark { font-size: 80px; }
}

/* ============================================================
   MOBILE OVERFLOW FIXES — added 2026-04-27 after visual QA
   ============================================================ */
@media (max-width: 720px) {
  /* Hide the 760px decorative arch on mobile — it's pure ornament */
  .hp-hero-arch { display: none; }
  /* Nav: hide right-side links text, keep only DONATE pill compact */
  .hp-nav { width: calc(100% - 32px); padding: 0 14px; }
  .hp-nav-left { display: none; }
  .hp-nav-right { gap: 12px; }
  .hp-nav-right > a:not(.hp-donate-pill) { display: none; }
  .hp-donate-pill { padding: 10px 18px; font-size: 11px; }
  .hp-nav-logo { width: 78px; height: 78px; padding: 8px 6px 6px; }

  /* Sponsor cards: 2-column grid on tablet, 1 column on phone (already 1) */
  .hp-sponsor-cards { gap: 16px; }
  .hp-sponsor-card { padding: 24px 18px 20px; }

  /* Transform map: shrink, center */
  .hp-transform-map { max-width: 240px; margin: 0 auto; }
  .hp-transform-stats { padding-left: 0; text-align: center; }

  /* Logos grid: keep readable */
  .hp-logos-grid { gap: 4px 12px; padding: 0 8px; }
  .hp-logo { font-size: 14px; padding: 6px 2px; }

  /* Footer: prevent any width overflow */
  .hp-footer { overflow-x: hidden; }
  .hp-footer-top, .hp-footer-nav { width: 100%; max-width: 100%; }
  .hp-footer-nav { flex-wrap: wrap; justify-content: center; gap: 14px 18px; }
  .hp-footer-watermark { font-size: 60px; letter-spacing: 0.02em; }

  /* General: prevent any wide block from breaking layout */
  body { overflow-x: hidden; }
  .hp-hero, .hp-ignite, .hp-services, .hp-inside, .hp-gedolim, .hp-cta-wrap, .hp-logos, .hp-transform-wrap { max-width: 100vw; overflow-x: hidden; }
}

/* On really tight screens, sponsor card icons + text shrink */
@media (max-width: 420px) {
  .hp-sponsor-card-title { font-size: 18px; }
  .hp-sponsor-card-price { font-size: 24px; }
  .hp-hero-title { font-size: 28px; }
  .hp-ignite-title { font-size: 32px; }
}
