/* ============================================================
   NB Jewish — North Beach Jewish Center
   Design system: "Warm Editorial"
   Deep midnight blue · warm cream · gold · Miami warmth
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Core palette */
  --ink:        #0b1a3a;   /* deep midnight navy */
  --ink-soft:   #16264d;
  --blue:       #1b4fd0;   /* brand blue (matches donate button) */
  --blue-bright:#3a6bf0;
  --cream:      #faf6ee;   /* warm cream background */
  --cream-2:    #f2ebdd;
  --paper:      #fffdf8;
  --gold:       #e0a94a;   /* Shabbat gold */
  --gold-deep:  #c68a2b;
  --coral:      #e8735a;   /* Miami warmth accent */
  --line:       rgba(11,26,58,0.12);
  --muted:      #5c6784;

  /* Typography */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 20px;
  --radius-lg: 34px;

  --shadow-sm: 0 2px 10px rgba(11,26,58,0.06);
  --shadow-md: 0 20px 50px -20px rgba(11,26,58,0.28);
  --shadow-lg: 0 40px 90px -30px rgba(11,26,58,0.40);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  /* subtle grain + warm mesh atmosphere */
  background-image:
    radial-gradient(1100px 700px at 88% -8%, rgba(224,169,74,0.16), transparent 60%),
    radial-gradient(900px 620px at -6% 12%, rgba(27,79,208,0.10), transparent 58%),
    radial-gradient(700px 500px at 60% 108%, rgba(232,115,90,0.08), transparent 60%);
  background-attachment: fixed;
}

/* film grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

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

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0;
  font-optical-sizing: auto;
}

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold-deep);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue);
  --fg: #fff;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.92em 1.7em;
  border-radius: 100px;
  border: 1.5px solid transparent;
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .3s, color .3s;
  box-shadow: 0 12px 26px -12px rgba(27,79,208,0.6);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(27,79,208,0.7); }
.btn:active { transform: translateY(-1px); }
.btn .arrow { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--gold { --bg: var(--gold); --fg: var(--ink); box-shadow: 0 12px 26px -12px rgba(224,169,74,0.7); }
.btn--gold:hover { box-shadow: 0 20px 40px -14px rgba(224,169,74,0.8); }

.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(11,26,58,0.03); box-shadow: none; }

.btn--light { --bg: var(--cream); --fg: var(--ink); }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 1.05em 2em; font-size: 1.05rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.scrolled {
  background: rgba(250,246,238,0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span b { color: var(--blue); }
.brand small {
  display: block;
  font-family: var(--body);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.55em 1em;
  border-radius: 100px;
  position: relative;
  color: var(--ink);
  transition: background .3s, color .3s;
}
.nav-links a:not(.btn):hover { background: rgba(11,26,58,0.05); }
.nav-links a.active:not(.btn) { color: var(--blue); }
.nav-links a.active:not(.btn)::after {
  content: "";
  position: absolute;
  left: 1em; right: 1em; bottom: 0.35em;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  width: 46px; height: 46px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(48px, 9vw, 110px) 0 clamp(60px, 8vw, 96px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}
.hero-kicker { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(2.9rem, 7.2vw, 5.6rem);
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: italic;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  color: var(--blue);
}
.hero h1 .gold { color: var(--gold-deep); font-style: italic; }
.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-visual-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,26,58,0.05) 0%, rgba(11,26,58,0.18) 42%, rgba(11,26,58,0.82) 100%),
    linear-gradient(120deg, rgba(27,79,208,0.22), rgba(224,169,74,0.14));
}
/* floating chips */
.float-chip {
  position: absolute;
  z-index: 3;
  background: var(--paper);
  border-radius: 100px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.86rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: bob 5s ease-in-out infinite;
}
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.float-chip.tl { top: 8%; left: -6%; animation-delay: .2s; }
.float-chip.br { bottom: 10%; right: -7%; animation-delay: 1.4s; }
.float-chip.br .dot { background: var(--coral); }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

/* stats strip under hero */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(40px, 6vw, 72px);
}
.stat {
  background: var(--paper);
  padding: 26px 24px;
}
.stat b {
  font-family: var(--display);
  font-size: 2.3rem;
  color: var(--blue);
  display: block;
  line-height: 1;
}
.stat span { color: var(--muted); font-size: 0.86rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(64px, 10vw, 130px) 0; position: relative; }
.section--ink {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.section--ink::before,
.section--ink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(70px, 11vw, 140px);
  pointer-events: none;
  z-index: 0;
}
.section--ink::before {
  top: 0;
  background: linear-gradient(to bottom, var(--cream), transparent);
  opacity: 0.55;
}
.section--ink::after {
  bottom: 0;
  background: linear-gradient(to top, var(--cream), transparent);
  opacity: 0.55;
}
.section--ink .section-head p,
.section--ink .muted { color: rgba(250,246,238,0.66); }
.section--ink .eyebrow { color: var(--gold); }
.section--ink .eyebrow::before { background: var(--gold); }

.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  margin: 20px 0 18px;
}
.section-head h2 em { font-style: italic; color: var(--blue); }
.section--ink .section-head h2 em { color: var(--gold); }
.section-head p { font-size: 1.12rem; color: var(--muted); }

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.pillar {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 36px 34px;
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s, border-color .5s;
}
.pillar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar:hover::after { transform: scaleX(1); }
.pillar .num {
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--gold-deep);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.pillar .ico {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(27,79,208,0.12), rgba(224,169,74,0.16));
  margin: 16px 0 22px;
  font-size: 1.7rem;
}
.pillar h3 { font-size: 1.6rem; margin-bottom: 12px; }
.pillar p { color: var(--muted); margin-bottom: 18px; }
.pillar ul { list-style: none; margin: 0; padding: 0; }
.pillar li {
  padding-left: 22px;
  position: relative;
  font-size: 0.94rem;
  margin-bottom: 7px;
  color: var(--ink-soft);
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* offset the pillars into an editorial rhythm on desktop */
.pillars .pillar:nth-child(2),
.pillars .pillar:nth-child(4) { margin-top: 34px; }

/* ---------- Split / About block ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.split .visual {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(224,169,74,0.28), transparent 55%),
    linear-gradient(160deg, var(--blue), var(--ink));
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
}
.split .visual .mark {
  font-family: var(--display);
  font-style: italic;
  color: rgba(255,255,255,0.9);
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
  padding: 0 12%;
  line-height: 1.15;
}
.split .visual .ring {
  position: absolute;
  border: 1.5px solid rgba(255,255,255,0.16);
  border-radius: 50%;
}
.split .visual .ring.r1 { inset: 8%; }
.split .visual .ring.r2 { inset: 20%; }
.split .visual .ring.r3 { inset: 32%; }

.split .visual.photo { background: var(--ink); }
.split .visual.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shows the full, uncropped photo (no side cut-off) via a blurred fill
   behind it — for images whose subject spans wider than the box. */
.fit-photo { position: absolute; inset: 0; overflow: hidden; }
.fit-photo .backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(30px) brightness(0.82) saturate(1.05);
  transform: scale(1.2);
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.fit-photo .fg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.gallery figure:hover .fit-photo .backdrop { transform: scale(1.3); }
.gallery figure:hover .fit-photo .fg { transform: scale(1.04); }

/* Override the generic .split .visual.photo img rule for fit-photo's two layers */
.split .visual.photo .fit-photo .backdrop {
  object-fit: cover;
  filter: blur(30px) brightness(0.82) saturate(1.05);
  transform: scale(1.2);
}
.split .visual.photo .fit-photo .fg { object-fit: contain; }

.split .visual.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(11,26,58,0.05) 40%, rgba(11,26,58,0.7) 100%);
}
.visual-caption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
}
.visual-caption .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.pullquote {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-style: italic;
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.pullquote .hl {
  background: linear-gradient(transparent 62%, rgba(224,169,74,0.4) 62%);
}

/* ---------- Community photo gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .45s, transform .45s cubic-bezier(.2,.8,.2,1);
}
.gallery figure:nth-child(2) { margin-top: 30px; }
.gallery figure:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 20px 18px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(11,26,58,0.82));
}

/* ---------- Positioning banner ---------- */
.banner {
  text-align: center;
  padding: clamp(60px, 9vw, 120px) 0;
}
.banner .big-line {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.6vw, 3.6rem);
  font-style: italic;
  line-height: 1.18;
  max-width: 18ch;
  margin: 0 auto;
}
.banner .big-line b { font-style: normal; color: var(--gold); }

/* ---------- Program detail rows ---------- */
.prog-row {
  display: grid;
  grid-template-columns: 88px 1fr 1fr 168px;
  gap: clamp(20px, 4vw, 44px);
  padding: clamp(36px, 5vw, 58px) 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.prog-row:last-child { border-bottom: 1px solid var(--line); }
.prog-row .idx {
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--gold-deep);
  align-self: start;
}
.prog-row h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.prog-row .lead { color: var(--muted); }
.prog-row .tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.prog-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
}
.prog-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prog-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.prog-photo:hover img { transform: scale(1.07); }
.prog-photo:hover .fit-photo .backdrop { transform: scale(1.3); }
.prog-photo:hover .fit-photo .fg { transform: scale(1.04); }
.tag {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5em 1em;
  background: var(--cream-2);
  border-radius: 100px;
  color: var(--ink-soft);
}

/* ============================================================
   DONATE PAGE
   ============================================================ */
.donate-hero {
  padding: clamp(50px, 8vw, 96px) 0 0;
}
.donate-hero .lede {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.3;
  max-width: 24ch;
  color: var(--ink);
  margin-top: 22px;
}

.donate-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
  margin-top: clamp(40px, 6vw, 72px);
}

/* Why give cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.why {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  transition: transform .4s, box-shadow .4s;
}
.why:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.why .ico { font-size: 1.6rem; margin-bottom: 12px; }
.why h4 { font-family: var(--display); font-size: 1.25rem; margin-bottom: 8px; }
.why p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* Tiers */
.tiers { display: flex; flex-direction: column; gap: 12px; }
.tier {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: transform .35s, box-shadow .35s, border-color .35s;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.tier:hover { transform: translateX(6px); border-color: var(--blue); box-shadow: var(--shadow-sm); }
.tier .amt {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--blue);
  min-width: 108px;
}
.tier.hi .amt { color: var(--gold-deep); }
.tier .desc b { display: block; font-size: 1.02rem; }
.tier .desc span { color: var(--muted); font-size: 0.9rem; }
.tier .go {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream-2);
  display: grid; place-items: center;
  transition: background .3s, color .3s, transform .3s;
  flex-shrink: 0;
}
.tier:hover .go { background: var(--blue); color: #fff; transform: rotate(-45deg); }

.chai-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
  background: rgba(224,169,74,0.14);
  border-radius: 100px;
  padding: 3px 10px;
  margin-left: 8px;
  vertical-align: middle;
}

/* any amount block */
.any-amount {
  background: linear-gradient(150deg, var(--ink), var(--ink-soft));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 48px);
  margin-top: 40px;
  text-align: center;
}
.any-amount h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.any-amount h3 em { font-style: italic; color: var(--gold); }
.any-amount p { color: rgba(255,255,255,0.72); max-width: 46ch; margin: 0 auto 26px; }

/* catering cross-sell */
.catering-cta {
  margin-top: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s, transform .4s;
}
.catering-cta:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.catering-cta .ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: linear-gradient(140deg, rgba(224,169,74,0.2), rgba(27,79,208,0.12));
  flex-shrink: 0;
}
.catering-cta__body { flex: 1; min-width: 220px; }
.catering-cta__body h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; margin-bottom: 6px; }
.catering-cta__body p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.catering-cta__btn { flex-shrink: 0; white-space: nowrap; }

/* embed panel (sticky) */
.give-panel {
  position: sticky;
  top: 100px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-md);
}
.give-panel .give-head {
  padding: 16px 18px 10px;
  text-align: center;
}
.give-panel .give-head b { font-family: var(--display); font-size: 1.3rem; }
.give-panel .give-head span { display: block; color: var(--muted); font-size: 0.86rem; margin-top: 2px; }
.give-panel iframe {
  width: 100%;
  border: none;
  border-radius: var(--radius);
  display: block;
  min-height: 720px;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
}
.blog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.blog-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card .meta {
  font-size: 0.76rem;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 12px;
}
.blog-card h3 { font-size: 1.35rem; margin-bottom: 10px; line-height: 1.2; }
.blog-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.blog-card .read-more {
  margin-top: auto;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
}

/* ---------- Article page ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 24px;
  transition: color .25s;
}
.back-link:hover { color: var(--ink); }
.article-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 18px 0 0;
}
.article-cover {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 34px 0 0;
  box-shadow: var(--shadow-md);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 700px; margin: 0 auto; font-size: 1.08rem; line-height: 1.85; }
.article-body h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 48px 0 18px;
}
.article-body p { margin-bottom: 22px; color: var(--ink-soft); }
.article-body a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article-body ul { margin: 0 0 22px; padding-left: 22px; }
.article-body li { margin-bottom: 10px; color: var(--ink-soft); }
.article-body blockquote {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  margin: 36px 0;
  color: var(--ink);
}

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta-band {
  position: relative;
  background: linear-gradient(150deg, var(--blue), var(--ink) 85%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(46px, 7vw, 84px) clamp(30px, 6vw, 80px);
  overflow: hidden;
  text-align: center;
  margin: clamp(40px, 6vw, 80px) 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(224,169,74,0.35), transparent 60%);
}
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 18px; position: relative; }
.cta-band h2 em { font-style: italic; color: var(--gold); }
.cta-band p { color: rgba(255,255,255,0.76); max-width: 48ch; margin: 0 auto 30px; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

.site-footer {
  background: var(--ink);
  color: rgba(250,246,238,0.7);
  padding: clamp(52px, 7vw, 82px) 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand b { font-family: var(--display); font-size: 1.3rem; color: #fff; }
.site-footer p { font-size: 0.94rem; max-width: 34ch; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.footer-contact a { transition: color .25s; }
.footer-contact a:hover { color: #fff; }
.footer-col h5 {
  font-family: var(--body);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
  font-weight: 700;
}
.footer-col a { display: block; padding: 6px 0; font-size: 0.96rem; transition: color .25s, padding .25s; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-blog-cta { text-align: center; padding: 34px 0 6px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 26px;
  font-size: 0.85rem;
}
.badge-501 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
}
.badge-501 .dot { width: 7px; height: 7px; border-radius: 50%; background: #58c68a; }

/* ============================================================
   DONATION MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,14,32,0.6);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border-radius: var(--radius-lg);
  width: min(460px, 100%);
  max-height: 92vh;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.97);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
}
.modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-head {
  padding: 22px 24px 14px;
  text-align: center;
  position: relative;
}
.modal-head .eyebrow { justify-content: center; }
.modal-head h3 { font-size: 1.5rem; margin: 10px 0 4px; }
.modal-head p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ink);
  transition: background .25s, transform .25s;
}
.modal-close:hover { background: var(--cream-2); transform: rotate(90deg); }
.modal-body { padding: 6px 16px 18px; overflow-y: auto; }
.modal-body iframe {
  width: 100%;
  border: none;
  border-radius: var(--radius);
  display: block;
  min-height: 680px;
}
.modal-alt {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0 16px 16px;
}
.modal-alt a { color: var(--blue); font-weight: 600; text-decoration: underline; }

body.no-scroll { overflow: hidden; }

/* ============================================================
   RSVP MODAL / FORM
   ============================================================ */
.rsvp-form { display: flex; flex-direction: column; gap: 14px; padding: 4px 8px 8px; }
.rsvp-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rsvp-form .field { display: flex; flex-direction: column; gap: 6px; }
.rsvp-form label {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  font: inherit;
  font-size: 0.98rem;
  padding: 0.75em 0.9em;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .25s, background .25s;
}
.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--paper);
}
.rsvp-form select:disabled { opacity: 0.6; }
.rsvp-form textarea { resize: vertical; min-height: 60px; }
.rsvp-error {
  font-size: 0.86rem;
  color: #b8452f;
  background: rgba(232,115,90,0.1);
  border-radius: 10px;
  padding: 0.6em 0.9em;
  margin: 0;
}
.rsvp-success { text-align: center; padding: 24px 8px 32px; }
.rsvp-success-ico {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}
.rsvp-success h4 { font-family: var(--display); font-size: 1.3rem; margin: 0 0 8px; }
.rsvp-success p { color: var(--muted); margin: 0; }
.rsvp-success-donate-note { margin-top: 22px !important; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.86rem; }
#rsvp-add-donation { margin-top: 14px; }
.rsvp-donate-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}
.rsvp-donate-note a { font-weight: 700; color: var(--gold-deep); }
.rsvp-donate-note a:hover { text-decoration: underline; }

/* ============ FAQ ============ */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 30px 18px 0;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold-deep);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}
.faq-item p a { color: var(--blue); font-weight: 600; }

/* ============ Freshness note ============ */
.freshness-note {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.85;
}

/* ============ Layout utilities (shared, replace one-off inline styles) ============ */
.u-max-820 { max-width: 820px; }
.u-max-860 { max-width: 860px; }
.u-pt-0 { padding-top: 0; }
.u-pb-0 { padding-bottom: 0; }
.u-pt-clamp-sm { padding-top: clamp(20px, 4vw, 40px); }
.u-mt-8 { margin-top: 8px; }
.u-mt-12 { margin-top: 12px; }
.u-mt-20 { margin-top: 20px; }
.u-mt-44 { margin-top: 44px; }
.u-mt-60 { margin-top: 60px; }
.u-mb-8 { margin-bottom: 8px; }
.u-mb-26 { margin-bottom: 26px; }
.u-center { justify-content: center; }
.u-center-mb-24 { justify-content: center; margin-bottom: 24px; }
.u-center-mt-34 { justify-content: center; margin-top: 34px; }
.u-eyebrow-gold-16 { justify-content: center; color: var(--gold); margin-bottom: 16px; }
.u-eyebrow-gold-20 { justify-content: center; color: var(--gold); margin-bottom: 20px; }
.u-lede { font-size: 1.2rem; }
.u-title-xl-1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 20px 0 22px; }
.u-title-xl-2 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin: 20px 0 10px; }
.u-title-md-1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 16px 0 26px; }
.u-title-md-2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 16px 0 8px; }
.u-blog-title-18 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 18px 0 0; max-width: 18ch; }
.u-blog-title-20 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 18px 0 0; max-width: 20ch; }
.u-fs-sm-muted { font-size: 0.85rem; color: var(--muted); }

@media (max-width: 480px) {
  .rsvp-form .field-row { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 8px auto 0; width: 100%; }
  .donate-layout { grid-template-columns: 1fr; }
  .give-panel { position: static; max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  /* backdrop-filter on an ancestor creates a new containing block for
     position:fixed descendants, which traps the full-height mobile menu
     inside the short header box. Drop it on mobile so the menu panel
     and its scrim size against the real viewport instead. */
  .site-header.scrolled {
    background: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Scoped to .container (not .site-header) since .container establishes
     its own stacking context (position:relative + z-index:2) — a scrim
     placed on .site-header would paint above that whole context,
     including the toggle button, and swallow its clicks. */
  .container:has(.nav-links.open)::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(11,26,58,0.55);
    z-index: 150;
  }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    background: var(--paper);
    padding: 96px 22px 30px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
    z-index: 160;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 0.85em 1em; font-size: 1.05rem; }
  .nav-links a.active:not(.btn)::after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: flex; z-index: 165; }
  .pillars { grid-template-columns: 1fr; }
  .pillars .pillar:nth-child(2),
  .pillars .pillar:nth-child(4) { margin-top: 0; }
  .split { grid-template-columns: 1fr; }
  .split .visual { max-width: 420px; }
  .gallery { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .gallery figure:nth-child(2) { margin-top: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .prog-row { grid-template-columns: 1fr; gap: 14px; }
  .prog-row .idx { font-size: 2rem; }
  .prog-photo { max-width: 260px; }
  .tier { grid-template-columns: auto 1fr; }
  .tier .go { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .brand small { display: none; }
}
