/* ==========================================================================
   SHOMATi — Light a Candle, Light a Home (44 Candles of Light)
   Above-the-fold giving centerpiece + desktop mission sidebar
   ========================================================================== */

:root {
  /* Warm SHOMATi Logo Espresso-Brown & Candlelight Gold Palette (sampled from #392924 / #372922) */
  --navy-950: #1d130f;
  --navy-900: #261914;
  --navy-800: #392924;
  --navy-700: #4f3a31;
  --gold-500: #c68e24;
  --gold-400: #dfa93f;
  --gold-300: #f4d382;
  --gold-100: #fcf3dc;
  --ivory-50: #fdfaf5;
  --ivory-100: #f6efe4;
  --ivory-200: #e6d9c6;
  --ink-900: #2b1d17;
  --ink-700: #513e35;
  --ink-500: #786256;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 15px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 16px rgba(38, 25, 20, 0.06);
  --shadow-featured: 0 10px 28px rgba(217, 161, 43, 0.25), 0 2px 8px rgba(38, 25, 20, 0.08);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: linear-gradient(180deg, var(--ivory-100) 0%, var(--ivory-50) 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold-400);
  color: var(--navy-950);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  border-radius: 8px;
}

:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

/* ==========================================================================
   COMPACT EMOTIONAL HERO (above-the-fold friendly!)
   ========================================================================== */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 70% at 24% 55%, rgba(223, 169, 63, 0.16) 0%, rgba(38, 25, 20, 0) 68%),
    linear-gradient(180deg, #1d130f 0%, #261914 60%, #392924 100%);
  color: var(--white);
  padding: 16px 0 26px;
  overflow: hidden;
  border-bottom: 2px solid rgba(244, 211, 130, 0.34);
}

@media (min-width: 960px) {
  .hero {
    padding: 20px 0 28px;
  }
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 50%, rgba(244, 211, 130, 0.1), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  margin-bottom: 14px;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-top-row {
    justify-content: space-between;
    margin-bottom: 14px;
  }
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fffdf9;
  border: 2px solid rgba(244, 211, 130, 0.78);
  border-radius: 16px;
  padding: 8px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(57, 41, 36, 0.15);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.brand-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .brand-logo {
    height: 60px;
  }
}

.hero-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-main-grid {
    grid-template-columns: minmax(210px, 265px) minmax(0, 1fr);
    gap: 28px;
    text-align: left;
  }
}

@media (min-width: 1040px) {
  .hero-main-grid {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 40px;
  }
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-menorah-img {
  display: block;
  width: 195px;
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(14, 8, 5, 0.48);
  -webkit-mask-image: radial-gradient(ellipse 84% 84% at 50% 50%, #000 66%, transparent 100%);
  mask-image: radial-gradient(ellipse 84% 84% at 50% 50%, #000 66%, transparent 100%);
}

@media (min-width: 768px) {
  .hero-menorah-img {
    width: 100%;
    max-width: 285px;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-copy {
    align-items: flex-start;
    padding-left: 8px;
  }
}

.hero-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.8vw, 1.48rem);
  color: var(--gold-300);
  margin: 0 0 10px;
  line-height: 1.28;
  letter-spacing: 0.005em;
}

.menorah-wrap {
  width: 170px;
  max-width: 100%;
}

@media (min-width: 768px) {
  .menorah-wrap {
    width: 210px;
  }
}

.menorah-svg {
  width: 100%;
  height: auto;
  display: block;
}

.campaign-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(232, 184, 75, 0.12);
  border: 1px solid rgba(245, 211, 122, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
}

/* Subtle candlelight animation */
.flame {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: flicker 3.2s ease-in-out infinite;
}

.halo {
  transform-box: fill-box;
  transform-origin: center;
  animation: glowPulse 3.6s ease-in-out infinite;
}

.f2, .h2 { animation-delay: 0.35s; }
.f3, .h3 { animation-delay: 0.7s; }
.f4, .h4 { animation-delay: 0.2s; }
.f-shamash, .h-shamash { animation-delay: 0.5s; }
.f5, .h5 { animation-delay: 0.9s; }
.f6, .h6 { animation-delay: 0.45s; }
.f7, .h7 { animation-delay: 0.15s; }
.f8, .h8 { animation-delay: 0.65s; }

@keyframes flicker {
  0%, 100% { transform: scaleY(1) scaleX(1); opacity: 0.96; }
  45% { transform: scaleY(1.07) scaleX(0.95); opacity: 1; }
  75% { transform: scaleY(0.96) scaleX(1.03); opacity: 0.9; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.78; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .flame,
  .halo {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.95rem, 5.4vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 4px 0 8px;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2.3vw, 1.04rem);
  color: rgba(253, 248, 240, 0.9);
  max-width: 680px;
  margin: 0;
  line-height: 1.5;
}

.hero-subtitle strong {
  color: var(--gold-300);
  font-weight: 700;
}

/* ==========================================================================
   MAIN TWO-COLUMN CAMPAIGN WORKSPACE
   ========================================================================== */

.campaign-main {
  padding: 22px 0 48px;
}

@media (min-width: 960px) {
  .campaign-main {
    padding: 28px 0 56px;
  }
}

.campaign-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 960px) {
  .campaign-layout {
    grid-template-columns: minmax(0, 1.52fr) minmax(300px, 0.92fr);
    gap: 30px;
  }
}

/* ==========================================================================
   GIVING CENTERPIECE COLUMN
   ========================================================================== */

.giving-header {
  margin-bottom: 16px;
  text-align: center;
}

@media (min-width: 960px) {
  .giving-header {
    text-align: left;
  }
}

.giving-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.8vw, 2.05rem);
  line-height: 1.12;
  color: var(--navy-900);
  margin: 0 0 4px;
}

.giving-sub {
  font-size: 0.92rem;
  color: var(--ink-700);
  margin: 0;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .tier-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
  border: 2px solid var(--ivory-200);
  border-radius: var(--radius-md);
  padding: 16px 8px 14px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink-900);
  box-shadow: var(--shadow-card);
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
  min-height: 112px;
}

.tier-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-2px);
}

.tier-card.is-selected {
  border-color: var(--gold-500);
  background: linear-gradient(180deg, #fffdf7 0%, var(--gold-100) 100%);
  box-shadow: var(--shadow-featured);
}

/* Featured $8 / candle card */
.tier-featured {
  border-color: var(--gold-400);
  background: linear-gradient(180deg, #fffdf6 0%, #fcf1d2 100%);
  padding-top: 24px;
}

.tier-featured.is-selected {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 2px rgba(232, 184, 75, 0.35), var(--shadow-featured);
}

.tier-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--gold-300);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(245, 211, 122, 0.55);
  box-shadow: 0 4px 10px rgba(38, 25, 20, 0.22);
}

.tier-tag-chai {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-rate {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.15;
}

.tier-unit {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-500);
}

.tier-formula {
  font-size: 0.74rem;
  color: var(--ink-500);
  margin-top: 3px;
}

.tier-total {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.05;
  margin-top: 6px;
}

.tier-featured .tier-total {
  color: #8f5f06;
}

.tier-subnote {
  font-size: 0.68rem;
  font-weight: 600;
  color: #7c5812;
  margin-top: 4px;
  line-height: 1.25;
}

.tier-total-custom {
  font-size: 1.25rem;
  color: var(--navy-700);
}

/* ==========================================================================
   CUSTOM CALCULATOR PANEL
   ========================================================================== */

.custom-panel {
  background: var(--white);
  border: 2px solid var(--gold-400);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.custom-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--ivory-100);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.mode-tab {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-700);
  padding: 9px 10px;
  border-radius: 9px;
  cursor: pointer;
}

.mode-tab.is-active {
  background: var(--navy-900);
  color: var(--gold-300);
}

.custom-input-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.custom-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
}

.currency-field {
  display: inline-flex;
  align-items: center;
  background: var(--ivory-50);
  border: 2px solid var(--ivory-200);
  border-radius: 12px;
  padding: 3px 14px;
  max-width: 210px;
  width: 100%;
}

.currency-field:focus-within {
  border-color: var(--gold-500);
  background: var(--white);
}

.currency-prefix {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-500);
  margin-right: 6px;
}

.currency-field input {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  width: 100%;
  padding: 7px 0;
  outline: none;
}

.custom-readout {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-700);
}

.custom-readout strong {
  color: var(--navy-900);
}

/* ==========================================================================
   PRIMARY CTA BOX
   ========================================================================== */

.cta-box {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  text-align: center;
  border: 1px solid rgba(245, 211, 122, 0.34);
  box-shadow: 0 14px 34px rgba(38, 25, 20, 0.16);
}

.cta-summary-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 4px;
}

.cta-summary-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 14px;
}

.cta-summary-detail strong {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  line-height: 1.02;
  color: var(--white);
}

.cta-summary-detail span {
  font-size: 0.88rem;
  color: rgba(253, 248, 240, 0.84);
}

.btn-donate {
  width: 100%;
  max-width: 380px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 55%, var(--gold-500) 100%);
  padding: 15px 26px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(232, 184, 75, 0.34);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(232, 184, 75, 0.44);
}

.cta-trust-note {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: rgba(253, 248, 240, 0.74);
}

/* ==========================================================================
   ZELLE DIRECT GIVING CARD
   ========================================================================== */

.zelle-card {
  margin-top: 12px;
  background: var(--white);
  border: 1.5px solid var(--ivory-200);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

@media (min-width: 560px) {
  .zelle-card {
    flex-direction: row;
    text-align: left;
  }
}

.zelle-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.zelle-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c4a1d;
}

.zelle-address {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-900);
  word-break: break-word;
}

.zelle-note {
  font-size: 0.78rem;
  color: var(--ink-500);
}

.btn-copy-zelle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1.5px solid var(--navy-900);
  background: var(--navy-900);
  color: var(--gold-300);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.btn-copy-zelle:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
}

.btn-copy-zelle.is-copied {
  background: #146c43;
  border-color: #146c43;
  color: var(--white);
}

/* ==========================================================================
   MISSION SIDEBAR (Desktop Right / Mobile Secondary Below)
   ========================================================================== */

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--ivory-200);
  border-top: 4px solid var(--gold-400);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 6px;
}

.sidebar-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1.15;
  color: var(--navy-900);
  margin: 0 0 10px;
}

.sidebar-copy {
  font-size: 0.9rem;
  color: var(--ink-700);
  margin: 0 0 10px;
}

.pillars-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ivory-200);
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--gold-300);
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-item h3 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 2px;
}

.pillar-item p {
  font-size: 0.84rem;
  color: var(--ink-700);
  margin: 0;
  line-height: 1.45;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--navy-950);
  color: rgba(253, 248, 240, 0.78);
  padding: 28px 0 34px;
  text-align: center;
  border-top: 1px solid rgba(245, 211, 122, 0.22);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.footer-org {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-300);
  letter-spacing: 0.05em;
}

.footer-tax {
  font-size: 0.84rem;
  color: rgba(253, 248, 240, 0.88);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
}

.footer-contact a {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy-btn {
  border: 1px solid rgba(245, 211, 122, 0.45);
  background: rgba(245, 211, 122, 0.12);
  color: var(--gold-300);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  cursor: pointer;
}

.footer-copy-btn.is-copied {
  background: #146c43;
  border-color: #146c43;
  color: var(--white);
}

.footer-copy {
  margin: 4px 0 0;
  font-size: 0.76rem;
  color: rgba(253, 248, 240, 0.56);
}

/* ==========================================================================
   SCROLL-AWARE STICKY MOBILE BAR
   ========================================================================== */

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(38, 25, 20, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(245, 211, 122, 0.3);
  padding: 10px 16px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.sticky-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .sticky-bar {
    display: none;
  }
}

.sticky-bar-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sticky-rate {
  font-size: 0.72rem;
  color: rgba(245, 211, 122, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-total {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.05;
  color: var(--white);
}

.btn-sticky-donate {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 100%);
  padding: 11px 18px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   MODAL
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(29, 19, 15, 0.76);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  background: var(--white);
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 26px 22px 22px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--ivory-200);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-500);
  cursor: pointer;
  padding: 4px 8px;
}

.modal-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: var(--gold-100);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--navy-900);
  margin: 0 0 8px;
}

.modal-amount {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-800);
  margin: 0 0 10px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--ink-700);
  margin: 0 0 20px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-modal-primary {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-900);
  color: var(--gold-300);
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 999px;
}

.btn-modal-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid var(--ivory-200);
  background: var(--ivory-50);
  color: var(--ink-700);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
}

.btn-modal-ghost {
  border: 0;
  background: transparent;
  color: var(--ink-500);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
}


/* ==========================================================================
   COMPACT & SEAMLESS VISUAL POLISH (v3)
   - Tight, scannable mobile (390x844) & desktop layout
   - Borderless ivory SHOMATi logo directly on warm espresso brown (no white box)
   - Spread-out seamless menorah & gelt melted into #28140a (zero box/shadow)
   - Subtle animated warm candlelight glow (prefers-reduced-motion safe)
   ========================================================================== */

.hero {
  background:
    radial-gradient(ellipse 56% 68% at 28% 52%, rgba(223, 169, 63, 0.11) 0%, rgba(40, 20, 10, 0) 68%),
    linear-gradient(180deg, #28140a 0%, #28140a 68%, #2e1910 100%);
  padding: 10px 0 14px;
  border-bottom: 1.5px solid rgba(244, 211, 130, 0.28);
}

@media (min-width: 768px) {
  .hero {
    padding: 12px 0 16px;
  }
}

.hero-glow {
  display: none;
}

.hero-top-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-top-row {
    margin-bottom: 4px;
  }
}

/* Trim the chunky white box: warm ivory SHOMATi logo sits directly on brown */
.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #faf4ea;
  border: 1px solid rgba(244, 211, 130, 0.55);
  border-radius: 8px;
  padding: 3px 8px;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.brand-link:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .brand-logo {
    height: 44px;
  }
}

.campaign-kicker {
  font-size: 0.63rem;
  letter-spacing: 0.09em;
  padding: 4px 10px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .campaign-kicker {
    font-size: 0.68rem;
    padding: 4px 12px;
  }
}

.hero-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 6px;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-main-grid {
    grid-template-columns: minmax(270px, 370px) minmax(0, 1fr);
    gap: 24px;
    text-align: left;
  }
}

@media (min-width: 1040px) {
  .hero-main-grid {
    grid-template-columns: minmax(310px, 410px) minmax(0, 1fr);
    gap: 32px;
  }
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.menorah-stage {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
}

@media (min-width: 768px) {
  .menorah-stage {
    max-width: 400px;
  }
}

/* Subtle warm candlelight glow pulsing behind the flames */
.candle-glow-aura {
  position: absolute;
  top: 4%;
  left: 16%;
  right: 16%;
  height: 46%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 214, 120, 0.32) 0%,
    rgba(235, 168, 52, 0.14) 48%,
    rgba(40, 20, 10, 0) 76%
  );
  filter: blur(10px);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  animation: candleGlow 3.4s ease-in-out infinite;
}

@keyframes candleGlow {
  0%, 100% {
    opacity: 0.62;
    transform: scale(0.97);
  }
  45% {
    opacity: 0.98;
    transform: scale(1.04);
  }
  75% {
    opacity: 0.78;
    transform: scale(1.0);
  }
}

/* Seamless spread-out menorah: ZERO box, ZERO border-radius, ZERO shadow */
.hero-menorah-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  -webkit-mask-image: radial-gradient(ellipse 84% 84% at 50% 52%, #000 54%, transparent 96%);
  mask-image: radial-gradient(ellipse 84% 84% at 50% 52%, #000 54%, transparent 96%);
}

@media (min-width: 768px) {
  .hero-menorah-img {
    max-width: 100%;
  }
}

.hero-copy {
  padding-left: 0;
}

.hero-title {
  font-size: clamp(1.42rem, 4.3vw, 2.25rem);
  line-height: 1.06;
  margin: 0 0 4px;
}

.hero-quote {
  font-size: clamp(0.92rem, 2.3vw, 1.18rem);
  margin: 0 0 5px;
  line-height: 1.24;
}

.hero-subtitle {
  font-size: clamp(0.78rem, 1.9vw, 0.88rem);
  line-height: 1.42;
  max-width: 580px;
}

@media (prefers-reduced-motion: reduce) {
  .candle-glow-aura {
    animation: none;
    opacity: 0.7;
  }
}

/* Compact workspace & giving grid */
.campaign-main {
  padding: 14px 0 30px;
}

@media (min-width: 960px) {
  .campaign-main {
    padding: 18px 0 38px;
  }
}

.campaign-layout {
  gap: 18px;
}

@media (min-width: 960px) {
  .campaign-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.88fr);
    gap: 22px;
  }
}

.giving-header {
  margin-bottom: 10px;
}

.giving-title {
  font-size: clamp(1.25rem, 3.2vw, 1.6rem);
  margin: 0 0 2px;
}

.giving-sub {
  font-size: 0.8rem;
  line-height: 1.38;
}

.tier-grid {
  gap: 8px;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .tier-grid {
    gap: 9px;
  }
}

.tier-card {
  border-radius: 12px;
  padding: 10px 6px 9px;
  min-height: 82px;
}

@media (min-width: 640px) {
  .tier-card {
    padding: 12px 7px 10px;
    min-height: 92px;
  }
}

.tier-featured {
  padding-top: 16px;
}

.tier-badge {
  top: -9px;
  font-size: 0.57rem;
  padding: 2px 7px;
}

.tier-tag-chai {
  top: 4px;
  right: 6px;
  font-size: 0.56rem;
}

.tier-rate {
  font-size: 0.96rem;
}

.tier-unit {
  font-size: 0.68rem;
}

.tier-formula {
  font-size: 0.67rem;
  margin-top: 1px;
}

.tier-total {
  font-size: 1.42rem;
  margin-top: 3px;
}

@media (min-width: 640px) {
  .tier-total {
    font-size: 1.58rem;
  }
}

.tier-subnote {
  font-size: 0.61rem;
  margin-top: 2px;
}

.tier-total-custom {
  font-size: 1.05rem;
}

/* Compact CTA box */
.cta-box {
  border-radius: 15px;
  padding: 14px 16px 13px;
}

.cta-summary-label {
  font-size: 0.66rem;
  margin-bottom: 2px;
}

.cta-summary-detail {
  margin-bottom: 10px;
}

.cta-summary-detail strong {
  font-size: 1.85rem;
}

.cta-summary-detail span {
  font-size: 0.8rem;
}

.btn-donate {
  font-size: 0.96rem;
  padding: 11px 22px;
}

.cta-trust-note {
  margin-top: 8px;
  font-size: 0.72rem;
}

/* Compact Zelle card */
.zelle-card {
  margin-top: 10px;
  border-radius: 12px;
  padding: 10px 14px;
  gap: 8px;
}

.zelle-label {
  font-size: 0.64rem;
}

.zelle-address {
  font-size: 0.98rem;
}

.zelle-note {
  font-size: 0.72rem;
}

.btn-copy-zelle {
  font-size: 0.8rem;
  padding: 8px 14px;
}

/* Compact sidebar */
.sidebar-card {
  border-radius: 15px;
  padding: 16px;
}

.eyebrow {
  font-size: 0.66rem;
  margin-bottom: 4px;
}

.sidebar-title {
  font-size: 1.38rem;
  margin-bottom: 7px;
}

.sidebar-copy {
  font-size: 0.82rem;
  margin-bottom: 7px;
  line-height: 1.45;
}

.pillars-stack {
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
}

.pillar-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.pillar-item h3 {
  font-size: 0.86rem;
}

.pillar-item p {
  font-size: 0.78rem;
  line-height: 1.38;
}

/* Compact footer */
.site-footer {
  padding: 16px 0;
}

.footer-org {
  font-size: 1.05rem;
}

.footer-tax,
.footer-contact,
.footer-copy {
  font-size: 0.74rem;
}


/* ==========================================================================
   SLEEK COMPACT AUTO-ROTATING HIGHLIGHT STRIP
   ========================================================================== */

.highlight-strip {
  background: linear-gradient(90deg, #321f16 0%, #3c261c 50%, #321f16 100%);
  border-bottom: 1px solid rgba(244, 211, 130, 0.28);
  padding: 7px 0;
}

.highlight-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.highlight-track {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 22px;
  display: flex;
  align-items: center;
}

.highlight-slide {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.32;
  color: #fdf5e6;
  display: none;
  animation: slideFadeIn 0.35s ease;
}

@media (min-width: 640px) {
  .highlight-slide {
    font-size: 0.88rem;
  }
}

.highlight-slide.is-active {
  display: block;
}

.highlight-slide em {
  color: var(--gold-300);
  font-style: italic;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.highlight-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.highlight-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 211, 130, 0.32);
  cursor: pointer;
  transition: background-color 0.2s ease, width 0.2s ease;
}

.highlight-dot.is-active {
  width: 16px;
  background: var(--gold-300);
}

@media (prefers-reduced-motion: reduce) {
  .highlight-slide {
    animation: none;
  }
}

/* Hide Double.Giving floating launcher pill so it never overlaps Zelle or candle cards */
.double-app .launcher-frame,
iframe[name="double-checkout-launcher"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
