/* Kollel Aish Avraham — shared look for the public site and the members area. */
:root {
  --bg: #fbf8f2;
  --bg-2: #f4eee3;
  --bg-3: #ede4d4;
  --card: #ffffff;
  --ink: #15233a;
  --ink-2: #364459;
  --muted: #6a7586;
  --line: #e6ddce;
  --line-2: #d9cdb9;
  --navy: #1b3557;
  --navy-2: #254a76;
  --navy-deep: #10233d;
  --ember: #b8621f;
  --ember-2: #e08a3a;
  --glow: #f6d7a4;
  --glow-2: #fbe9cc;
  --ok: #2c7650;
  --ok-bg: #e6f2ea;
  --danger: #a8402f;
  --danger-bg: #f8e7e2;
  --radius: 18px;
  --radius-s: 12px;
  --shadow-s: 0 1px 2px rgba(21, 35, 58, 0.06), 0 2px 8px rgba(21, 35, 58, 0.04);
  --shadow: 0 2px 6px rgba(21, 35, 58, 0.05), 0 12px 32px rgba(21, 35, 58, 0.08);
  --shadow-l: 0 24px 60px rgba(16, 35, 61, 0.16);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hebrew: "Frank Ruhl Libre", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--glow); color: var(--ink); }

.he { font-family: var(--hebrew); direction: rtl; unicode-bidi: isolate; }
.display { font-family: var(--display); font-optical-sizing: auto; letter-spacing: -0.015em; }
.muted { color: var(--muted); }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 22px;
  border: 1.5px solid var(--b); border-radius: 999px;
  background: var(--b); color: #fff;
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(27, 53, 87, 0.22); background: var(--navy-2); border-color: var(--navy-2); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.ember { --b: var(--ember); }
.btn.ember:hover { background: #a3551a; border-color: #a3551a; box-shadow: 0 8px 22px rgba(184, 98, 31, 0.28); }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--card); border-color: var(--navy); color: var(--navy); box-shadow: var(--shadow-s); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: var(--glow-2); border-color: var(--glow-2); color: var(--navy); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }
.link { color: var(--navy-2); font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--glow); transition: border-color 0.2s; }
.link:hover { border-color: var(--ember-2); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > span, .label { font-weight: 700; font-size: 14px; color: var(--ink-2); }
.field small { color: var(--muted); font-size: 13px; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 15px;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-s);
  background: #fff; color: var(--ink); font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(37, 74, 118, 0.12);
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand .mark { width: 44px; height: 44px; flex: none; }
.brand .mark img { width: 100%; height: 100%; object-fit: contain; }
.brand b { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.1; letter-spacing: -0.01em; white-space: nowrap; }
.brand .he { display: block; font-size: 15px; color: var(--ember); line-height: 1.2; text-align: left; direction: rtl; }

/* ---------- Public: nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 242, 0.82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(21, 35, 58, 0.05); }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.nav .links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav .links a {
  position: relative; padding: 9px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color 0.2s, background 0.2s;
}
.nav .links a:hover { color: var(--navy); background: var(--bg-2); }
.nav .links a.on { color: var(--navy); }
.nav .links a.on::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 2.5px; border-radius: 2px;
  background: var(--ember-2); transform: translateX(-50%);
}
.nav .signin { margin-inline-start: 10px; }
.menu-btn { display: none; margin-inline-start: auto; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 420px) { .brand b { font-size: 17px; } .brand .mark { width: 38px; height: 38px; } }

/* ---------- Public: announcement bar ---------- */
.notice-bar { background: var(--navy); color: #fff; font-size: 14.5px; font-weight: 600; text-align: center; padding: 10px 20px; }
.notice-bar span { color: var(--glow); margin-right: 8px; }

/* ---------- Public: page transitions ---------- */
.page { animation: pageIn 0.6s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .page, .reveal { animation: none; opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Public: hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 86px 0 110px; text-align: center; }
.hero::before {
  content: ""; position: absolute; z-index: -2; inset: -20% -10% auto;
  height: 120%;
  background:
    radial-gradient(48% 46% at 50% 38%, rgba(246, 215, 164, 0.75), rgba(246, 215, 164, 0) 70%),
    radial-gradient(30% 30% at 22% 70%, rgba(251, 233, 204, 0.8), transparent 70%),
    radial-gradient(30% 30% at 80% 66%, rgba(226, 232, 242, 0.9), transparent 70%);
  animation: breathe 10s ease-in-out infinite alternate;
}
@keyframes breathe { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.06); opacity: 1; } }
.hero .rays { position: absolute; z-index: -1; left: 50%; top: 40px; width: 900px; height: 900px; transform: translateX(-50%); opacity: 0.35; pointer-events: none; }
.hero .crest { width: 132px; height: 132px; margin: 0 auto 26px; filter: drop-shadow(0 14px 30px rgba(184, 98, 31, 0.22)); animation: float 7s ease-in-out infinite; }
.hero .crest img { width: 100%; height: 100%; object-fit: contain; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero .nameHe { font-family: var(--hebrew); font-weight: 900; font-size: clamp(54px, 9vw, 104px); line-height: 1; color: var(--navy); margin: 0; letter-spacing: 0; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.01em; margin: 18px 0 0; line-height: 1.15; }
.hero .tagline { display: inline-flex; align-items: center; gap: 12px; margin: 16px 0 0; color: var(--ember); font-weight: 700; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; }
.hero .tagline::before, .hero .tagline::after { content: ""; width: 34px; height: 1.5px; background: currentColor; opacity: 0.5; }
.hero .lead { max-width: 640px; margin: 22px auto 0; font-size: 18.5px; color: var(--ink-2); }
.hero .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@media (max-width: 560px) {
  .hero { padding: 54px 0 80px; }
  .hero .crest { width: 104px; height: 104px; }
  .hero .lead { font-size: 17px; }
  .hero .tagline { font-size: 12.5px; letter-spacing: 0.12em; }
  .hero .tagline::before, .hero .tagline::after { width: 18px; }
}

/* ---------- Public: sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section.sand { background: var(--bg-2); }
.section.white { background: var(--card); }
.eyebrow { display: inline-block; color: var(--ember); font-weight: 800; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 18px; }
.h3 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.01em; }
.prose p { font-size: 18px; color: var(--ink-2); margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.center { text-align: center; }
.sec-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.sec-head p { color: var(--ink-2); font-size: 18px; margin: 0; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .section { padding: 72px 0; } }

/* Verse band */
.verse { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-deep); color: #fff; text-align: center; padding: 88px 0; }
.verse::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40% 70% at 50% 100%, rgba(224, 138, 58, 0.35), transparent 70%), radial-gradient(60% 60% at 50% 0%, rgba(37, 74, 118, 0.7), transparent 70%);
}
.verse .he { display: block; font-weight: 700; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.25; color: var(--glow); }
.verse p { margin: 18px 0 0; font-family: var(--display); font-style: italic; font-size: clamp(19px, 2.2vw, 24px); color: rgba(255, 255, 255, 0.88); }
.verse cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }

/* Legacy card */
.legacy {
  position: relative; padding: 44px 40px; border-radius: 26px; text-align: center;
  background: linear-gradient(180deg, #fffdf8, #fbf3e4); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.legacy .flame { width: 46px; height: 46px; margin: 0 auto 16px; color: var(--ember-2); }
.legacy small { display: block; color: var(--ember); font-weight: 800; font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; }
.legacy strong { display: block; margin: 12px 0 6px; font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.8vw, 31px); line-height: 1.2; color: var(--navy); }
.legacy p { margin: 12px 0 0; color: var(--ink-2); }
.legacy::after { content: ""; position: absolute; inset: 10px; border-radius: 18px; border: 1px solid rgba(184, 98, 31, 0.18); pointer-events: none; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  padding: 34px 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-s); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: var(--glow-2); color: var(--ember); }
.pillar .ic svg { width: 26px; height: 26px; }
.pillar h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 22px; }
.pillar p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* Schedule */
.sched { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-s); overflow: hidden; }
.sched div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 26px; border-bottom: 1px solid var(--line); }
.sched div:last-child { border-bottom: 0; }
.sched b { font-weight: 700; }
.sched span { color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: end; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--ink-2); }

/* Members teaser */
.teaser { position: relative; overflow: hidden; isolation: isolate; border-radius: 30px; padding: 64px; color: #fff; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); }
.teaser::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -30%; width: 70%; height: 160%; background: radial-gradient(closest-side, rgba(224, 138, 58, 0.35), transparent); }
.teaser .h2 { color: #fff; }
.teaser p { color: rgba(255, 255, 255, 0.82); font-size: 18px; }
.teaser .eyebrow { color: var(--glow); }
.teaser ul { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.teaser li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.teaser li svg { width: 20px; height: 20px; color: var(--glow); flex: none; }
.mock { border-radius: 20px; background: #fff; color: var(--ink); box-shadow: var(--shadow-l); padding: 18px; transform: rotate(1.2deg); }
.mock .bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); }
.mock .search { height: 40px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; gap: 10px; padding: 0 14px; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.mock .search svg { width: 16px; height: 16px; }
.mock .r { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; }
.mock .r + .r { border-top: 1px solid var(--line); }
.mock .r .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--glow-2); color: var(--ember); }
.mock .r .ic.b { background: #e6edf6; color: var(--navy-2); }
.mock .r .ic svg { width: 18px; height: 18px; }
.mock .r b { display: block; font-size: 14.5px; line-height: 1.3; }
.mock .r small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 900px) { .teaser { padding: 44px 26px; border-radius: 24px; } .mock { transform: none; } }

/* Leaders */
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.leader { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.leader .av { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; background: var(--navy); color: var(--glow); font-family: var(--display); font-weight: 600; font-size: 20px; }
.leader b { display: block; font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.25; }
.leader small { display: block; margin-top: 4px; color: var(--ember); font-weight: 700; font-size: 13.5px; letter-spacing: 0.04em; }
.leader p { margin: 12px 0 0; color: var(--ink-2); }

/* Page header */
.phead { position: relative; overflow: hidden; isolation: isolate; padding: 76px 0 64px; text-align: center; border-bottom: 1px solid var(--line); }
.phead::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(50% 90% at 50% 0%, rgba(246, 215, 164, 0.55), transparent 70%); }
.phead h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5.5vw, 62px); letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
.phead p { max-width: 620px; margin: 16px auto 0; color: var(--ink-2); font-size: 18.5px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease); }
a.ccard:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.ccard .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--glow-2); color: var(--ember); }
.ccard .ic svg { width: 21px; height: 21px; }
.ccard small { display: block; color: var(--muted); font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.ccard b { display: block; font-size: 17px; font-weight: 700; margin-top: 2px; overflow-wrap: anywhere; }
.panel { padding: 34px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 560px) { .panel { padding: 24px 20px; } }
.map { width: 100%; height: 300px; border: 0; border-radius: var(--radius); margin-top: 14px; filter: saturate(0.8); }
.done { text-align: center; padding: 30px 10px; }
.done .ok { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.done .ok svg { width: 30px; height: 30px; }

/* Support */
.give { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0; }
.give div { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-align: center; }
.give b { display: block; font-family: var(--display); font-weight: 600; font-size: 21px; }
.give span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .give { grid-template-columns: 1fr; } }

/* Footer */
.foot { background: var(--navy-deep); color: rgba(255, 255, 255, 0.78); padding: 64px 0 34px; }
.foot .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot .brand { color: #fff; }
.foot .brand .he { color: var(--glow); }
.foot h4 { margin: 0 0 14px; color: #fff; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.foot a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot .fine { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13.5px; color: rgba(255, 255, 255, 0.5); }
.foot p { margin: 16px 0 0; max-width: 360px; }
@media (max-width: 760px) { .foot .top { grid-template-columns: 1fr; gap: 30px; } }

/* Preview-only note for information still missing */
.todo {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px;
  border: 1.5px dashed #d6a86e; background: #fff8ec; color: #8a5a1c; font-size: 14px; font-weight: 600;
}
.todo::before { content: "To add"; padding: 2px 8px; border-radius: 6px; background: #f2d4a6; color: #6e4510; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.preview-pill { position: fixed; left: 16px; bottom: 16px; z-index: 60; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); }
.preview-pill span { color: var(--glow); }

/* ---------- Bits used by the pages ---------- */
.lang-btn {
  min-height: 40px; padding: 0 14px; margin-inline-start: 6px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: transparent; color: var(--navy); font-weight: 700; font-size: 14.5px;
  transition: background 0.2s, border-color 0.2s;
}
.lang-btn:hover { background: var(--card); border-color: var(--navy); }
.lang-btn .he { font-size: 17px; font-weight: 700; }
.mark-fallback { display: block; width: 100%; height: 100%; }
.mark-fallback svg { width: 100%; height: 100%; }
.crest-big { width: min(300px, 70%); margin: 0 auto; filter: drop-shadow(0 18px 36px rgba(21, 35, 58, 0.14)); }
.crest-big img { width: 100%; height: auto; }
.hero .nameEn { margin: 14px 0 0; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(20px, 2.6vw, 28px); color: var(--ink-2); direction: ltr; }
.legacy-he { font-family: var(--hebrew) !important; font-size: clamp(25px, 2.9vw, 32px) !important; line-height: 1.45 !important; }
.legacy-en { font-family: var(--display); font-size: 18px; color: var(--ink-2); }
.pillar-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin: 0 auto 14px; background: var(--glow-2); color: var(--ember); }
.pillar-ic svg { width: 24px; height: 24px; }
.form-err { margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; background: var(--danger-bg); color: var(--danger); font-weight: 600; font-size: 14.5px; }
.notice-bar { display: flex; justify-content: center; align-items: center; gap: 10px; }
.notice-bar .inline-ic { width: 17px; height: 17px; }
.he-cite { margin-top: 16px !important; font-size: 18px !important; letter-spacing: 0 !important; font-family: var(--hebrew); }

/* ---------- Hebrew (right to left) ---------- */
[dir="rtl"] {
  --sans: "Heebo", "Manrope", system-ui, sans-serif;
  --display: "Frank Ruhl Libre", "Times New Roman", serif;
}
[dir="rtl"] body { font-size: 17px; }
[dir="rtl"] .display, [dir="rtl"] .h2, [dir="rtl"] .h3, [dir="rtl"] .phead h1, [dir="rtl"] .hero h1, [dir="rtl"] .pillar h3, [dir="rtl"] .leader b { letter-spacing: 0; font-weight: 700; }
[dir="rtl"] .eyebrow, [dir="rtl"] .hero .tagline, [dir="rtl"] .legacy small, [dir="rtl"] .ccard small, [dir="rtl"] .foot h4, [dir="rtl"] .verse cite { letter-spacing: 0.02em; }
[dir="rtl"] .eyebrow, [dir="rtl"] .hero .tagline { font-size: 15px; }
[dir="rtl"] .hero .tagline { font-size: 16px; }
[dir="rtl"] svg.dir { transform: scaleX(-1); }
[dir="rtl"] .brand .he { text-align: start; }
.brand .he.en-sub { font-family: var(--sans); direction: ltr; font-size: 13px; font-weight: 600; letter-spacing: 0.01em; text-align: right; }
[dir="rtl"] .brand b { font-family: var(--hebrew); font-size: 22px; font-weight: 700; }
[dir="rtl"] .preview-pill { left: auto; right: 16px; }
[dir="rtl"] .todo::before { content: "להוסיף"; letter-spacing: 0; }
[dir="rtl"] .sched span { text-align: left; }
[dir="rtl"] .prose p { font-size: 19px; }
.nav .links a.btn { color: #fff; padding: 0 18px; }
.nav .links a.btn:hover { color: #fff; background: var(--navy-2); }
.nav .links a.btn::after { display: none; }
.brand > span:last-child { min-width: 0; }
@media (max-width: 380px) {
  .brand b { font-size: 15.5px; }
  .brand .he { font-size: 13px; }
  .nav .wrap { gap: 10px; }
}
@media (max-width: 640px) {
  .preview-pill { font-size: 11.5px; padding: 6px 11px; left: 10px; bottom: 10px; }
  [dir="rtl"] .preview-pill { right: 10px; }
}

/* ---------- Homepage hero with the sign-in box ---------- */
.hero-split { padding: 64px 0 96px; text-align: start; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-brand { text-align: center; }
.hero-split .crest { width: 150px; height: 150px; margin-bottom: 22px; }
.hero-split .nameHe { font-size: clamp(50px, 6.6vw, 92px); }
.hero-split .ctas { margin-top: 28px; }
.hero-split .rays { left: 33%; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-split { padding: 44px 0 72px; }
  .hero-split .rays { left: 50%; }
  .hero-signin { max-width: 460px; width: 100%; margin: 0 auto; }
}

/* Sign-in box */
.si {
  position: relative; padding: 32px 30px 26px; border-radius: 26px; background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line); box-shadow: var(--shadow-l); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.si-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.si-lock { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--navy); color: var(--glow); }
.si-lock svg { width: 22px; height: 22px; }
.si h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.2; }
.si-head p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.si-google { gap: 10px; background: #fff; }
.si-google svg { width: 19px; height: 19px; }
.si-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--muted); font-size: 13px; font-weight: 600; }
.si-or::before, .si-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.si .field { margin-bottom: 12px; }
.si .field input { min-height: 46px; }
.si form .btn { margin-top: 4px; }
.si-note { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.si-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.si-link { padding: 0; border: 0; background: none; color: var(--navy-2); font-weight: 700; font-size: inherit; text-decoration: underline; text-decoration-color: var(--glow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.si-link:hover { text-decoration-color: var(--ember-2); }
.si-apply { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; font-size: 15px; color: var(--ink-2); }
.si-apply a { color: var(--ember); font-weight: 800; text-decoration: none; }
.si-apply a:hover { text-decoration: underline; }
.si-demo { margin-top: 14px; padding: 10px 12px; border-radius: 10px; border: 1.5px dashed #d6a86e; background: #fff8ec; color: #8a5a1c; font-size: 13px; text-align: center; }
.si-demo .si-link { color: #8a5a1c; }
.form-ok { margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); font-weight: 600; font-size: 14.5px; }
.si-back { text-align: center; }
.si-back .si-lock { margin: 0 auto 14px; }
.si-back p { color: var(--muted); margin: 6px 0 20px; }
@media (max-width: 420px) { .si { padding: 26px 20px 22px; border-radius: 22px; } }
.hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.hero-grid > *, .split > *, .contact-grid > * { min-width: 0; }
.btn.block { white-space: normal; text-align: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .hero-split { padding: 30px 0 60px; }
  .hero-split .crest { width: 96px; height: 96px; margin-bottom: 14px; }
  .hero-split .nameHe { font-size: clamp(44px, 14vw, 60px); }
  .hero h1 { font-size: 26px; margin-top: 10px; }
  .hero-split .lead { margin-top: 12px; font-size: 16px; }
  .hero-split .ctas { margin-top: 20px; gap: 10px; }
  .hero-split .ctas .btn { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
  .hero-grid { gap: 28px; }
}

/* ---------- Rav Schwartz zt"l ---------- */
.rav-photo { position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(160deg, #22406a, var(--navy-deep)); box-shadow: var(--shadow-l); aspect-ratio: 4 / 5; }
.rav-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.rav-photo .rav-ph { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; color: var(--glow); }
.rav-photo.none .rav-ph { display: flex; }
.rav-photo .rav-ph svg { width: 44px; height: 44px; }
.rav-photo .rav-ph b { font-size: 22px; line-height: 1.45; font-weight: 700; color: #fff; }
.rav-photo::after { content: ""; position: absolute; inset: 10px; border-radius: 15px; border: 1px solid rgba(246, 215, 164, 0.35); pointer-events: none; }
.rav-photo.small { width: 150px; margin: 0 auto 20px; border-radius: 18px; }
.rav-photo.small::after { inset: 6px; border-radius: 13px; }
.rav-photo.small .rav-ph b { display: none; }
.rav-photo.small .rav-ph svg { width: 34px; height: 34px; }
.rav-hero { position: relative; overflow: hidden; isolation: isolate; padding: 72px 0; border-bottom: 1px solid var(--line); }
.rav-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(45% 80% at 30% 40%, rgba(246, 215, 164, 0.6), transparent 70%); }
.rav-hero-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 64px; align-items: center; }
.rav-name-he { margin: 6px 0 0; font-weight: 900; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.3; color: var(--navy); text-align: start; }
.rav-name-en { margin: 16px 0 0; font-family: var(--display); font-weight: 600; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.35; color: var(--ink-2); }
.rav-yz { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 10px 18px; border-radius: 999px; background: var(--glow-2); color: var(--ink); font-size: 15.5px; }
.rav-yz svg { width: 18px; height: 18px; color: var(--ember); }
.rav-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 64px; align-items: start; }
.rav-prose p:first-child::first-letter { float: left; margin: 6px 12px 0 0; font-family: var(--display); font-weight: 600; font-size: 64px; line-height: 0.85; color: var(--ember); }
[dir="rtl"] .rav-prose p:first-child::first-letter { float: none; margin: 0; font-size: inherit; color: inherit; font-family: inherit; }
.facts { position: sticky; top: 110px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); padding: 8px 24px; }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts small { display: block; color: var(--ember); font-weight: 800; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
[dir="rtl"] .facts small { letter-spacing: 0; font-size: 14px; }
.facts b { display: block; margin-top: 4px; font-weight: 600; line-height: 1.45; }
@media (max-width: 900px) {
  .rav-hero { padding: 40px 0 48px; }
  .rav-hero-grid, .rav-body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rav-hero-grid .rav-photo.big { max-width: 320px; margin: 0 auto; }
  .facts { position: static; }
}

/* ---------- Real logo ---------- */
.brand .mark { width: auto; height: 58px; }
.brand .mark img { width: auto; height: 100%; object-fit: contain; }
.hero .crest, .hero-split .crest { width: auto; height: 230px; }
.hero .crest img { width: auto; height: 100%; margin: 0 auto; filter: drop-shadow(0 16px 30px rgba(21, 35, 58, 0.16)); }
.hero .crest { filter: none; }
.foot .brand .mark { height: 74px; padding: 6px 8px; border-radius: 14px; background: var(--bg); }
.crest-big img { width: 100%; height: auto; }
@media (max-width: 560px) {
  .hero-split .crest { height: 150px; width: auto; }
  .brand .mark { height: 50px; }
}

/* ---------- Donate ---------- */
.nav .links a.donate-btn { margin-inline-start: 8px; }
.nav .links a.donate-btn svg { width: 16px; height: 16px; }
.nav .signin { margin-inline-start: 8px; }
@media (max-width: 1120px) {
  .menu-btn { display: grid; }
  .nav .links {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease);
    max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .nav.open .links { transform: none; opacity: 1; pointer-events: auto; }
  .nav .links a { padding: 14px 16px; font-size: 17px; }
  .nav .links a.on::after { left: 16px; transform: none; bottom: 8px; }
  [dir="rtl"] .nav .links a.on::after { left: auto; right: 16px; }
  .nav .links a.btn, .nav .signin, .nav .links a.donate-btn { margin: 8px 0 0; min-height: 50px; }
  .lang-btn { margin: 8px 0 0; min-height: 46px; }
}
.donate-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: 28px; align-items: start; }
.donate-side { display: grid; gap: 18px; position: sticky; top: 100px; }
@media (max-width: 900px) { .donate-grid { grid-template-columns: minmax(0, 1fr); } .donate-side { position: static; } }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt > span { display: block; height: 100%; padding: 18px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.opt b { display: block; font-weight: 800; font-size: 16px; line-height: 1.3; }
.opt small { display: block; margin-top: 6px; color: var(--muted); font-weight: 600; }
.opt:hover > span { border-color: var(--navy-2); }
.opt input:checked + span { border-color: var(--ember); background: #fff8ef; box-shadow: 0 0 0 4px rgba(224, 138, 58, 0.15); }
.opt input:checked + span small { color: var(--ember); }
.opt input:focus-visible + span { outline: 3px solid var(--glow); outline-offset: 2px; }
.pay { text-align: center; background: linear-gradient(180deg, #fffdf8, #fbf1df); }
.pay-ic { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--ember); color: #fff; }
.pay-ic svg { width: 26px; height: 26px; }
.prose.small p { font-size: 16px; }
.rav-ded { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 20px 24px; font-weight: 700; color: var(--navy); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.rav-ded:hover { transform: translateY(-2px); box-shadow: var(--shadow-l); }
.rav-ded svg { width: 28px; height: 28px; color: var(--ember); flex: none; }
[dir="ltr"] .rav-name-he { text-align: left; }

/* ---------- Homepage: big sign-in ---------- */
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.hero-split .ctas { margin-top: 30px; }
.about-btn { min-height: 52px; padding: 0 26px; font-size: 16px; background: rgba(255, 255, 255, 0.7); }
.hero-signin .si { padding: 44px 44px 34px; border-radius: 30px; }
.hero-signin .si-head { gap: 18px; margin-bottom: 28px; align-items: center; }
.hero-signin .si-lock { width: 60px; height: 60px; border-radius: 18px; }
.hero-signin .si-lock svg { width: 28px; height: 28px; }
.hero-signin .si h2 { font-size: clamp(28px, 2.6vw, 34px); }
.hero-signin .si-head p { font-size: 16px; }
.hero-signin .si-google { min-height: 56px; font-size: 16.5px; }
.hero-signin .si .field { margin-bottom: 16px; }
.hero-signin .si .field > span { font-size: 15px; }
.hero-signin .si .field input { min-height: 56px; font-size: 17px; border-radius: 14px; }
.hero-signin .si form .btn { min-height: 58px; font-size: 17.5px; margin-top: 6px; }
.hero-signin .si-foot { font-size: 15px; margin-top: 20px; }
.hero-signin .si-apply { font-size: 16px; margin-top: 22px; padding-top: 20px; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-signin { max-width: 560px; }
}
@media (max-width: 560px) {
  .hero-signin .si { padding: 30px 22px 24px; border-radius: 24px; }
  .hero-signin .si-lock { width: 50px; height: 50px; }
  .hero-signin .si h2 { font-size: 26px; }
}

/* ---------- Staff: one long card per person, going down ---------- */
.leaders { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin: 0 auto; gap: 14px; }
.leader { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 22px; align-items: center; padding: 24px 30px; }
.leader .av { grid-row: span 3; margin: 0; width: 64px; height: 64px; font-size: 22px; }
.leader b { font-size: 22px; }
.leader small { margin-top: 2px; font-size: 14px; }
.leader p { margin-top: 8px; }
@media (max-width: 560px) {
  .leader { padding: 20px 18px; column-gap: 16px; }
  .leader .av { width: 52px; height: 52px; font-size: 18px; }
  .leader b { font-size: 19px; }
}

/* ---------- Booklet content (Nov 2026) ---------- */
.stats-band { background: var(--navy-deep); color: #fff; padding: 46px 0; position: relative; overflow: hidden; isolation: isolate; }
.stats-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 50% 120%, rgba(224, 138, 58, 0.28), transparent 70%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(38px, 4.4vw, 54px); line-height: 1; color: #fff; }
.stat span { display: block; margin-top: 10px; color: var(--glow); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
[dir="rtl"] .stat span { letter-spacing: 0; font-size: 15px; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; } }

.pull { max-width: 860px; margin: 52px auto 0; padding: 34px 40px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-s); text-align: center; position: relative; }
.pull::before { content: "“"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--ember); color: #fff; font: 700 40px/58px var(--display); }
.pull blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(19px, 2.1vw, 23px); line-height: 1.55; color: var(--ink); }
.pull figcaption { margin-top: 14px; color: var(--ember); font-weight: 700; font-size: 15px; }

.seders { display: grid; gap: 12px; margin-top: 6px; }
.seder { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.seder-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--navy); color: var(--glow); }
.seder-ic svg { width: 22px; height: 22px; }
.seder b { display: block; font-size: 18px; }
.seder-time { display: block; margin-top: 2px; font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--navy); }
[dir="rtl"] .seder-time { text-align: right; }
.seder small { display: block; color: var(--ember); font-weight: 700; font-size: 14px; }

.timeline { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; inset-block: 8px 8px; inset-inline-start: 9px; width: 2px; background: linear-gradient(var(--ember-2), var(--line-2)); }
.timeline li { position: relative; padding: 0 0 26px; padding-inline-start: 38px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 3px solid var(--ember-2); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { background: var(--ember-2); }
.tl-when { display: block; color: var(--ember); font-weight: 800; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; }
[dir="rtl"] .tl-when { letter-spacing: 0; font-size: 14px; }
.timeline b { display: block; margin-top: 3px; font-family: var(--display); font-weight: 600; font-size: 20px; }
.timeline p { margin: 4px 0 0; color: var(--ink-2); font-size: 15.5px; }

.zechus { background: var(--bg-2); }
.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tier { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px 24px 22px; border-radius: 20px; background: var(--card); border: 1.5px solid var(--line); text-align: start; text-decoration: none; color: var(--ink); font: inherit; cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s; }
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--ember-2); }
.tier-he { font-size: 19px; font-weight: 700; color: var(--ember); }
.tier b { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.2; }
[dir="rtl"] .tier b { font-weight: 700; }
.tier-amt { margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.1; color: var(--navy); }
.tier p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.tier-go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--navy-2); font-weight: 800; font-size: 14px; }
.tier-go svg { width: 16px; height: 16px; }

.give3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.give-card { padding: 26px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); }
.give-card .pillar-ic { margin: 0 0 14px; }
.give-card b { display: block; font-family: var(--display); font-weight: 600; font-size: 21px; }
.give-card p { margin: 8px 0 0; color: var(--ink-2); overflow-wrap: anywhere; }
@media (max-width: 860px) { .give3 { grid-template-columns: 1fr; } }
.tax { max-width: 760px; margin: 26px auto 0; text-align: center; color: var(--muted); font-size: 14px; }

.letter { padding: 34px 36px; border-radius: 22px; background: #fffdf8; border: 1px solid #e8d9bd; box-shadow: var(--shadow-s); }
.letter-he { font-family: var(--hebrew); font-size: 21px; line-height: 1.85; color: var(--ink); text-align: justify; }
.letter-he p { margin: 0 0 1em; }
.letter-he p:last-child { margin: 0; }
.letter-sign { margin: 18px 0 0; font-family: var(--hebrew); font-size: 17px; color: var(--ember); text-align: left; }
[dir="rtl"] .letter-sign { text-align: left; }
.letter-en { margin: 18px 0 0; font-style: italic; color: var(--ink-2); font-size: 17px; }
@media (max-width: 560px) { .letter { padding: 24px 20px; } .letter-he { font-size: 19px; } }

.photo { margin: 0; }
.photo img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); display: block; }
.photo figcaption { margin-top: 10px; color: var(--muted); font-style: italic; font-size: 14.5px; text-align: center; }
.sticky-col { position: sticky; top: 110px; }
@media (max-width: 900px) { .sticky-col { position: static; } }
.shul-he { font-size: 24px; color: var(--ember); margin: 0 0 16px; text-align: left; }
.legacy-yz { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 6px 14px; border-radius: 999px; background: var(--glow-2); font-size: 14.5px; color: var(--ink); }
.legacy-yz svg { width: 16px; height: 16px; color: var(--ember); }
.rav-sub { margin: 12px 0 0; font-size: 19px; color: var(--ink-2); line-height: 1.6; text-align: start; }
[dir="ltr"] .rav-sub { text-align: left; }
.menahel { text-align: center; display: grid; justify-items: center; gap: 8px; }
.menahel .pay-ic { margin: 0 0 4px; background: var(--navy); }
.menahel b { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.3; }
.menahel .btn { margin-top: 8px; }
.how { border: 0; padding: 0; margin: 4px 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.how legend { margin-bottom: 4px; }
.how .check { margin: 8px 0; }
@media (max-width: 560px) { .how { grid-template-columns: 1fr; } }
.done-how { margin: 16px auto 0; max-width: 460px; padding: 12px 16px; border-radius: 12px; background: var(--bg-2); color: var(--ink-2); font-size: 15px; }
.foot-tax { margin: 14px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, 0.42); max-width: 760px; }
.leader small { letter-spacing: 0.02em; }
.tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiers { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Homepage top: navy with the gold logo (like the booklet cover) ---------- */
.hero-dark { background: var(--navy-deep); color: #fff; }
.hero-dark::before {
  background:
    radial-gradient(42% 52% at 30% 42%, rgba(214, 168, 92, 0.26), transparent 70%),
    radial-gradient(60% 60% at 80% 0%, rgba(37, 74, 118, 0.75), transparent 70%),
    radial-gradient(50% 50% at 10% 100%, rgba(37, 74, 118, 0.5), transparent 70%);
}
.hero-dark .rays { opacity: 0.22; }
.hero-dark .rays stop { stop-color: #d6a85c; }
.hero-dark .crest-gold { width: auto; height: clamp(250px, 30vw, 380px); margin: 0 auto 26px; animation: none; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35)); }
.hero-dark .crest-gold img { height: 100%; width: auto; margin: 0 auto; }
.hero-dark .name-caps { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: 0.22em; text-transform: uppercase; color: #fff; }
[dir="rtl"] .hero-dark .name-caps { font-family: var(--hebrew); letter-spacing: 0.04em; font-weight: 700; font-size: clamp(28px, 3.2vw, 40px); }
.hero-dark .tagline { color: #d6a85c; }
.hero-dark .about-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.38); }
.hero-dark .about-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.hero-dark .si { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); border-color: transparent; }
@media (max-width: 560px) { .hero-dark .crest-gold { height: 230px; margin-bottom: 18px; } .hero-dark .name-caps { letter-spacing: 0.14em; font-size: 20px; } }
.si { color: var(--ink); }
.si-invite { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.si-invite svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--ember); }
.si-alt { margin-top: 14px; text-align: center; }
.si-alt .si-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.si-alt .si-link svg { width: 16px; height: 16px; }
.si-alt .si-link:hover { color: var(--navy); }

/* quicker, gentler fade-in */
.reveal { transform: translateY(14px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }

/* Show / hide password */
.pw-wrap, .field > span.pw-wrap { position: relative; display: block; font-weight: 400; font-size: 16px; color: var(--ink); }
.pw-wrap input { width: 100%; padding-right: 50px !important; }
/* password boxes are always left-to-right, so the eye stays on the right in Hebrew too */
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.pw-eye:hover { color: var(--navy); background: var(--bg-2); }
.pw-eye svg { width: 20px; height: 20px; }
