/* ==========================================================================
   Shas Hadchak — public website
   Light, minimal design with a cinematic video hero. Gold tuned for white.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --cream: #faf7f0;
  --sand: #f3eee2;
  --line: #e6dfd0;
  --line-soft: #efe9dc;
  --ink: #15111f;
  --ink-2: #3b3550;
  --muted: #6f6a82;
  --gold: #c9a227;
  --gold-deep: #a07f1a;
  --gold-soft: #f7efcf;
  --gold-bright: #edd54a;
  --plum: #211636;
  --plum-2: #2e2050;
  --black: #0b0812;
  --red: #d6382b;
  --green: #2f8f5b;

  --font-display: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hebrew: "Frank Ruhl Libre", "EB Garamond", Georgia, serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 14px 44px rgba(21, 17, 31, 0.10);
  --shadow-sm: 0 4px 16px rgba(21, 17, 31, 0.07);
  --container: 1200px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--ink-2); line-height: 1.6; max-width: 64ch; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.he { font-family: var(--font-hebrew); direction: rtl; unicode-bidi: isolate; }
.he-inline { font-family: var(--font-hebrew); font-size: 1.06em; }
.rtl { direction: rtl; text-align: right; font-family: var(--font-hebrew); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }
.section-head { max-width: 740px; margin: 0 auto 3rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.gold { color: var(--gold-deep); }
.caps { text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), calc(100% - 2.5rem)); margin-inline: auto; }
.container.narrow { width: min(840px, calc(100% - 2.5rem)); }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section.tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section.cream { background: var(--cream); }
.section.sand { background: var(--sand); }
.section.dark { background: var(--plum); color: #fff; }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.dark p { color: rgba(255,255,255,0.8); }
.section.dark .eyebrow { color: var(--gold-bright); }
.section.dark .eyebrow::before { background: var(--gold-bright); }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* ---------- Buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.9rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 0.97rem; line-height: 1; white-space: nowrap; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(180deg, #e2c23c, var(--gold)); color: var(--ink); box-shadow: 0 8px 22px rgba(201,162,39,0.35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(201,162,39,0.45); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--plum-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-sm { padding: 0.62rem 1.1rem; font-size: 0.88rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn .icon { width: 18px; height: 18px; }
.btn[disabled], .btn.is-disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--gold-deep); }
.link-arrow::after { content: "→"; transition: transform 0.18s; }
.link-arrow:hover::after { transform: translateX(3px); }
.chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.32rem 0.72rem; border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--sand); color: var(--ink-2); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.chip.completed { background: #e6f4ea; color: #1e6b3f; }
.chip.private { background: var(--gold-soft); color: var(--gold-deep); }
.chip.none { background: #fdecea; color: #a52a1f; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 70; background: rgba(255,255,255,0.88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 20px rgba(21,17,31,0.06); }
.site-header .inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.8rem; }
.brand-mark { height: 44px; width: auto; }
.brand-mark.light { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-he { font-family: var(--font-hebrew); font-weight: 700; font-size: 1.2rem; color: var(--ink); direction: rtl; }
.brand-en { font-family: var(--font-display); font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 0.2rem; }
.nav a { padding: 0.55rem 0.9rem; border-radius: 999px; font-weight: 500; font-size: 0.95rem; color: var(--ink-2); transition: background 0.15s, color 0.15s; }
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav a.is-active { color: var(--ink); background: var(--gold-soft); }
.nav .btn { margin-left: 0.6rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 14px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: 0.2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: 0.2s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); top: 0; }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg); top: 0; }

/* Transparent header over the video hero */
.site-header.fixed { position: fixed; left: 0; right: 0; }
.site-header.over { background: linear-gradient(180deg, rgba(11,8,18,0.55), rgba(11,8,18,0)); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.site-header.over .brand-mark.dark { display: none; }
.site-header.over .brand-mark.light { display: block; }
.site-header.over .brand-he, .site-header.over .nav a { color: #fff; }
.site-header.over .brand-en { color: rgba(255,255,255,0.7); }
.site-header.over .nav a:hover, .site-header.over .nav a.is-active { background: rgba(255,255,255,0.14); color: #fff; }
.site-header.over .nav-toggle { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }
.site-header.over .nav-toggle span, .site-header.over .nav-toggle span::before, .site-header.over .nav-toggle span::after { background: #fff; }
body.nav-open .site-header.over .nav-toggle span { background: transparent; }
body[data-hero="video"] { --header-offset: 0px; }

/* ---------- Mission split ---------- */
.feature-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; }
.feature-img .badge-quote { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(255,255,255,0.94); border-radius: 12px; padding: 0.9rem 1rem; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.35; color: var(--ink); }
.mission-text { font-size: 1.12rem; color: var(--ink-2); line-height: 1.75; }
.mission-text .he-inline { color: var(--ink); font-weight: 500; }

/* ---------- Video facade & modal ---------- */
.video-facade { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--plum); cursor: pointer; box-shadow: var(--shadow-sm); }
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.video-facade:hover img { transform: scale(1.03); }
.video-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,17,31,0) 45%, rgba(21,17,31,0.7)); }
.video-facade .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 12px 34px rgba(0,0,0,0.35); z-index: 2; transition: transform 0.2s; }
.video-facade:hover .play { transform: translate(-50%, -50%) scale(1.07); }
.video-facade .play svg { width: 28px; height: 28px; fill: var(--ink); margin-left: 4px; }
.video-facade .title { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; color: #fff; z-index: 2; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.video-facade.small .play { width: 58px; height: 58px; }
.video-facade.small .title { font-size: 1.05rem; }
.video-meta { padding: 0.9rem 0.2rem 0; }
.video-meta h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.video-meta a.alt { font-size: 0.86rem; color: var(--gold-deep); font-weight: 600; }
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(11,8,18,0.86); backdrop-filter: blur(6px); }
.modal.open { display: flex; }
.modal .frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.modal .frame iframe { width: 100%; height: 100%; border: 0; }
.modal .close, .lightbox .close { position: absolute; top: 1.25rem; right: 1.25rem; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.5rem; display: grid; place-items: center; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(11,8,18,0.92); backdrop-filter: blur(6px); padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 760px); max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); object-fit: contain; }
.lightbox .cap { position: absolute; left: 0; right: 0; bottom: 1.25rem; text-align: center; color: #fff; font-size: 0.95rem; padding: 0 1rem; }
.lightbox .prev, .lightbox .next { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: rgba(255,255,255,0.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; display: grid; place-items: center; }
.lightbox .prev { left: 1.25rem; } .lightbox .next { right: 1.25rem; }
.lightbox button:hover { background: rgba(255,255,255,0.25); }

/* ---------- Inner page hero ---------- */
.page-hero { background: radial-gradient(60% 80% at 92% 0%, rgba(237,213,74,0.22), transparent 60%), var(--cream); padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 0.6rem; }
.page-hero .lede { margin-bottom: 0; }
.breadcrumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--ink); }

/* ---------- Progress ---------- */
.progress { height: 10px; border-radius: 999px; background: var(--sand); overflow: hidden; position: relative; }
.progress > i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); border-radius: 999px; transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1); }
.progress.done > i { background: linear-gradient(90deg, #2f8f5b, #5ec48e); }
.progress-label { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.4rem; }
.progress-label b { color: var(--ink); font-weight: 700; }
.progress.dark { background: rgba(255,255,255,0.15); }

/* ---------- Campaign page ---------- */
.done-banner { background: var(--plum); color: #fff; }
.done-banner .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1rem 0; }
.done-banner .mark { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-bright); color: var(--ink); display: grid; place-items: center; flex: none; }
.done-banner .mark svg { width: 22px; height: 22px; }
.done-banner .txt { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.7rem); letter-spacing: 0.04em; }
.done-banner .txt small { display: block; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright); }
.done-banner .bar { flex: 1 1 260px; }
.done-banner .pct { font-family: var(--font-display); font-size: 2rem; color: var(--gold-bright); }
.camp-head { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.camp-head .poster-big { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--plum); cursor: zoom-in; position: relative; }
.camp-head .poster-big img { width: 100%; display: block; }
.camp-head h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; margin-bottom: 0.5rem; }
.camp-head h1 .line { display: block; }
.camp-head h1 .line.lead { font-size: 0.56em; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; font-family: var(--font-body); margin-bottom: 0.35rem; }
.camp-head .desc { font-size: 1.12rem; color: var(--ink-2); line-height: 1.7; }
.camp-head .meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; font-size: 0.9rem; color: var(--muted); margin: 0.5rem 0 1rem; align-items: center; }
.stamp { display: inline-flex; align-items: center; gap: 0.45rem; border: 2px solid var(--green); color: var(--green); border-radius: 8px; padding: 0.25rem 0.7rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; transform: rotate(-2deg); }
.camp-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.camp-nav a { flex: 1 1 280px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; background: #fff; transition: border-color 0.15s, transform 0.15s; }
.camp-nav a:hover { border-color: var(--gold); transform: translateY(-2px); }
.camp-nav a small { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.camp-nav a b { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; }
.camp-nav a.next { text-align: right; }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.8rem; }
.partners div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem; display: grid; place-items: center; aspect-ratio: 3 / 2; }
.partners img { max-height: 70px; width: auto; object-fit: contain; }

/* ---------- Donate ---------- */
.sponsor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.sponsor { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem; background: #fff; display: flex; flex-direction: column; gap: 0.3rem; }
.sponsor .he { font-size: 1.5rem; font-weight: 500; color: var(--ink); text-align: left; direction: rtl; line-height: 1.2; }
.sponsor .ded { font-size: 0.9rem; color: var(--ink-2); font-family: var(--font-hebrew); line-height: 1.45; }
.sponsor .ded span { display: block; }
.sponsor.open { border-style: dashed; background: var(--cream); }
.sponsor.open .price { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-deep); }
.sponsor .btn { align-self: flex-start; margin-top: 0.4rem; }
.sponsor .tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--green); font-weight: 700; }
.sponsor.open .tag { color: var(--gold-deep); }
.cta-band { background: linear-gradient(135deg, var(--plum) 0%, var(--plum-2) 100%); color: #fff; border-radius: var(--radius); padding: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(237,213,74,0.25), transparent 65%); }
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,0.82); margin-bottom: 0.3rem; font-size: 1.1rem; }
.cta-band .actions { margin-top: 1.4rem; }
.cta-band img.logo { width: min(260px, 70%); margin: 0 auto; }

/* ---------- Contact ---------- */
.channel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem; display: flex; gap: 0.9rem; align-items: flex-start; }
.channel .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-deep); display: grid; place-items: center; flex: none; }
.channel .ic svg { width: 20px; height: 20px; }
.channel > div > b { display: block; margin-bottom: 0.15rem; }
.channel p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.channel a { color: var(--gold-deep); font-weight: 600; }
.help-box { border: 1px dashed var(--line); border-radius: 14px; padding: 1.25rem 1.5rem; background: var(--cream); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-body { padding: 1.5rem; }
.form { display: grid; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select { font: inherit; padding: 0.8rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.form-success { display: none; padding: 1rem 1.2rem; border-radius: 12px; background: #e8f5ec; color: #1f6b41; font-weight: 500; }
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #130e1f; color: rgba(255,255,255,0.78); padding: 4rem 0 2rem; }
.site-footer .top { display: grid; grid-template-columns: 1.3fr 0.9fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer .logo { width: 150px; margin-bottom: 1rem; }
.site-footer p { font-size: 0.92rem; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.site-footer .alerts input { width: 100%; padding: 0.85rem 1rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); color: #fff; font: inherit; }
.site-footer .alerts input::placeholder { color: rgba(255,255,255,0.4); }
.site-footer .alerts .btn { width: 100%; margin-top: 0.6rem; }
.site-footer .contact-line { display: flex; gap: 0.6rem; align-items: flex-start; }
.site-footer .contact-line svg { width: 16px; height: 16px; flex: none; margin-top: 0.3rem; color: var(--gold-bright); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; } .reveal[data-delay="2"] { transition-delay: 0.2s; } .reveal[data-delay="3"] { transition-delay: 0.3s; } .reveal[data-delay="4"] { transition-delay: 0.4s; } .reveal[data-delay="5"] { transition-delay: 0.5s; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 0.8rem 1.2rem; border-radius: 999px; font-size: 0.9rem; opacity: 0; transition: 0.25s; z-index: 120; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.notice { background: var(--gold-soft); border: 1px solid #ecd98b; color: var(--ink); padding: 0.9rem 1.1rem; border-radius: 12px; font-size: 0.95rem; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-cue::before, .active-banner .status i { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 0.75rem 1.25rem 1.25rem; gap: 0.25rem; display: none; box-shadow: 0 20px 40px rgba(21,17,31,0.12); }
  body.nav-open .nav { display: flex; }
  .site-header.over .nav a { color: var(--ink-2); }
  .site-header.over .nav a.is-active { background: var(--gold-soft); color: var(--ink); }
  .nav a { padding: 0.85rem 0.9rem; font-size: 1.05rem; }
  .nav .btn { margin: 0.5rem 0 0; justify-content: center; }
  .nav-toggle { display: inline-flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .camp-head { grid-template-columns: 260px 1fr; }
}
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band img.logo { display: none; }
  .camp-head { grid-template-columns: 1fr; }
  .camp-head .poster-big { max-width: 340px; }
}
@media (max-width: 600px) {
  .site-footer .top { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .brand-text { display: none; }
  .done-banner .pct { font-size: 1.5rem; }
  .camp-nav a.next { text-align: left; }
}
@media (max-width: 400px) {
}

/* ==========================================================================
   Motion & art additions
   ========================================================================== */
/* Reserved-dafim ticker */
.ticker { overflow: hidden; background: var(--black); color: var(--gold-bright); border-top: 1px solid rgba(237,213,74,0.25); border-bottom: 1px solid rgba(237,213,74,0.25); padding: 0.7rem 0; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--black), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--black), transparent); }
.ticker__track { display: flex; gap: 2.5rem; width: max-content; animation: ticker 260s linear infinite; font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { display: inline-flex; align-items: center; gap: 0.5rem; opacity: 0.85; }
.ticker__track span::before { content: "✓"; font-size: 0.7rem; color: #fff; opacity: 0.6; }
.ticker.light { background: var(--sand); color: var(--gold-deep); border-color: var(--line); }
.ticker.light::before { background: linear-gradient(90deg, var(--sand), transparent); }
.ticker.light::after { background: linear-gradient(270deg, var(--sand), transparent); }
.ticker.light .ticker__track span::before { color: var(--ink); opacity: 0.4; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Gold shimmer on primary buttons */
.btn-primary { background-size: 200% 100%; }
.btn-primary::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.6s; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary:hover::after { transform: translateX(120%); }

/* Done banner percentage */
.done-banner .pct { display: inline-flex; align-items: baseline; }
.done-banner .pct small { font-size: 0.6em; margin-left: 2px; }

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

/* ==========================================================================
   Shas browser (campaign pages)
   ========================================================================== */
.shas { --sg: #f5f5f7; }
.shas__head { margin-bottom: 1.25rem; }
.shas__title h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.02em; margin: 0 0 0.3rem; }
.shas__title h2 .he-inline { color: var(--gold-deep); }
.shas__title p { color: var(--muted); margin: 0; font-size: 1.02rem; }
.seder-block { margin: 2.2rem 0 0; }
.seder-block.hidden { display: none; }
.seder-block h3 { display: flex; align-items: baseline; gap: 0.7rem; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.seder-block h3 .he-inline { font-size: 1.5rem; color: var(--ink); letter-spacing: 0; text-transform: none; }
.seder-block h3 span.cnt { margin-left: auto; font-weight: 500; letter-spacing: 0.04em; text-transform: none; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 0.9rem; }
.mcard { position: relative; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.1rem 1rem; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, opacity 0.25s; display: flex; flex-direction: column; gap: 0.2rem; min-height: 158px; font: inherit; color: inherit; }
.mcard:hover, .mcard:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.mcard.hidden { display: none; }
.mcard .he { font-family: var(--font-hebrew); font-size: 1.75rem; line-height: 1.1; color: var(--ink); direction: rtl; text-align: left; }
.mcard .en { font-weight: 600; font-size: 0.97rem; }
.mcard .meta { font-size: 0.78rem; color: var(--muted); }
.mcard .bar { height: 4px; border-radius: 4px; background: #ececec; margin-top: auto; overflow: hidden; }
.mcard .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.mcard .st { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-top: 0.45rem; }
.mcard .st svg { width: 12px; height: 12px; }
.mcard .arrow { position: absolute; right: 0.9rem; top: 0.9rem; width: 28px; height: 28px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--ink-2); transition: 0.2s; }
.mcard .arrow svg { width: 14px; height: 14px; }
.mcard:hover .arrow { background: var(--gold); color: var(--ink); }
.shas__closed { display: flex; align-items: center; gap: 0.8rem; background: var(--sand); border-radius: 14px; padding: 0.9rem 1.1rem; font-size: 0.92rem; color: var(--ink-2); margin: 1.8rem 0 0; }
.shas__closed svg { width: 18px; height: 18px; color: var(--gold-deep); flex: none; }
.shas__empty { display: none; text-align: center; color: var(--muted); padding: 2rem 0; }
.shas.is-empty .shas__empty { display: block; }

/* Daf sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 110; display: none; align-items: flex-end; justify-content: center; background: rgba(21,17,31,0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sheet-wrap.open { display: flex; }
.sheet { width: min(1040px, 100%); max-height: 90vh; background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -20px 80px rgba(0,0,0,0.35); display: flex; flex-direction: column; animation: sheetUp 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__head { padding: 1.3rem 1.5rem 1rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sheet__head .he { font-family: var(--font-hebrew); font-size: 2.3rem; line-height: 1; direction: rtl; }
.sheet__head .en { font-size: 1.15rem; font-weight: 600; }
.sheet__head .meta { color: var(--muted); font-size: 0.88rem; display: block; }
.sheet__head .chip { margin-left: 0.2rem; }
.sheet__nav { margin-left: auto; display: flex; gap: 0.4rem; }
.sheet__nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 1.25rem; color: var(--ink); transition: 0.15s; }
.sheet__nav button:hover { border-color: var(--ink); }
.sheet__body { overflow: auto; padding: 1.2rem 1.5rem 1.6rem; overscroll-behavior: contain; }
.dafgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 0.55rem; }
.dtile { position: relative; border-radius: 12px; background: var(--sg); border: 1px solid transparent; padding: 0.65rem 0.4rem 0.55rem; text-align: center; transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s; animation: tileIn 0.4s ease both; }
.dtile:hover { transform: translateY(-2px); background: #fff; border-color: var(--gold); box-shadow: var(--shadow-sm); }
.dtile .h { font-family: var(--font-hebrew); font-size: 1.3rem; line-height: 1; color: var(--ink); }
.dtile .n { font-size: 0.72rem; color: var(--muted); margin-top: 0.2rem; }
.dtile .r { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); font-weight: 700; margin-top: 0.35rem; }
.dtile .r svg { width: 10px; height: 10px; }
@keyframes tileIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sheet__foot { padding: 0.9rem 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--muted); }
.sheet__foot .progress { flex: 1 1 200px; }
@media (min-width: 900px) { .sheet-wrap { align-items: center; padding: 2rem; } .sheet { border-radius: 24px; max-height: 86vh; } }
@media (max-width: 600px) {
  .mgrid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .mcard { min-height: 136px; padding: 0.9rem 0.9rem 0.8rem; }
  .mcard .he { font-size: 1.4rem; }
    .dafgrid { grid-template-columns: repeat(3, 1fr); }
  .sheet__head .he { font-size: 1.8rem; }
}
body.sheet-open { overflow: hidden; }
.camp-head h1 .line.sub { font-size: 0.5em; color: var(--muted); font-family: var(--font-body); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.5rem; }

.mcard .st.partial { color: var(--gold-deep); }
.dtile.open { background: #fff; border-color: var(--line-soft); opacity: 0.72; }
.dtile.open .h { color: var(--muted); }
.dtile.open:hover { opacity: 1; }

/* Shas browser: summary panel and filter chips */
.shas__summary { display: grid; grid-template-columns: auto 1fr; gap: 1rem 2.5rem; align-items: center; background: var(--sg); border-radius: 20px; padding: 1.3rem 1.6rem; margin: 0 0 1.4rem; }
.shas__summary .pct { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; color: var(--ink); font-weight: 500; white-space: nowrap; }
.shas__summary .pct b { font-weight: 500; font-variant-numeric: tabular-nums; }
.shas__summary .lbl { display: block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-top: 0.35rem; }
.shas__summary-bar { display: flex; flex-direction: column; gap: 0.55rem; min-width: 0; }
.shas__summary-bar .meta { font-size: 0.9rem; color: var(--muted); }
.shas__tools { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; justify-content: space-between; margin: 0 0 0.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chips button { border: 1px solid var(--line); background: #fff; padding: 0.5rem 0.95rem; border-radius: 999px; font-weight: 600; font-size: 0.86rem; color: var(--ink-2); transition: background 0.15s, color 0.15s, border-color 0.15s; white-space: nowrap; }
.chips button:hover { border-color: var(--ink); }
.chips button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips button .he-inline { margin-left: 0.35rem; opacity: 0.75; font-size: 0.95em; }
.shas__search { display: flex; align-items: center; gap: 0.5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 0.95rem; flex: 1 1 240px; max-width: 320px; min-width: 0; }
.shas__search svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.shas__search input { border: 0; outline: 0; font: inherit; width: 100%; background: transparent; color: var(--ink); min-width: 0; }
@media (max-width: 760px) {
  .shas__summary { grid-template-columns: 1fr; gap: 0.8rem; padding: 1.1rem 1.2rem; }
  .shas__search { max-width: none; flex-basis: 100%; }
}


/* Tablets: two columns for card grids instead of one */
@media (min-width: 601px) and (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   2026-10 redesign: hero, status, coverflow, art pieces, cards, timeline
   ========================================================================== */
.eyebrow.light { color: var(--gold-bright); }
.eyebrow.light::before { background: var(--gold-bright); }
.link-arrow.light { color: var(--gold-bright); }
.section.dark { background: radial-gradient(70% 60% at 85% 0%, rgba(237,213,74,0.10), transparent 60%), #140f22; }

/* ---------- Home hero ---------- */
.hero2 { position: relative; overflow: hidden; color: #fff; background: radial-gradient(60% 45% at 50% 18%, rgba(237,213,74,0.16), transparent 65%), radial-gradient(40% 40% at 10% 90%, rgba(91,63,160,0.25), transparent 70%), #110c1d; padding: calc(var(--header-h) + 1.5rem) 0 4rem; }
.hero2::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000 30%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 85%); pointer-events: none; }
.hero2 .container { position: relative; z-index: 1; }
.hero2-head { position: relative; padding: 4.2rem 0 4.6rem; }
.ring { position: absolute; inset: 0 -1%; pointer-events: none; }
.ring span { position: absolute; left: 50%; top: 50%; font-family: var(--font-hebrew); font-size: 1.3rem; font-weight: 500; color: var(--gold-bright); white-space: nowrap; will-change: transform, opacity; text-shadow: 0 0 18px rgba(237,213,74,0.35); }
.hero2-text { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; }
.hero2-text .eyebrow { color: var(--gold-bright); }
.hero2 h1 { color: #fff; font-size: clamp(2.5rem, 6.2vw, 5.2rem); line-height: 1.02; margin-bottom: 1.1rem; text-shadow: 0 10px 40px rgba(0,0,0,0.45); }
.hero2 h1 em { font-style: italic; color: var(--gold-bright); }
.hero2 .lede { color: rgba(255,255,255,0.8); margin: 0 auto; max-width: 640px; }
.hero2-video { position: relative; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08); }
.hero2-video video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 334; object-fit: cover; }
.sample-tag { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.8rem; border-radius: 999px; background: rgba(12,9,20,0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.sample-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 0 0 rgba(237,213,74,0.6); animation: ping 2s infinite; }
.hero2-video-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2.2rem 1.2rem 1rem; background: linear-gradient(180deg, transparent, rgba(10,8,18,0.85)); }
.hero2-video-bar .vt { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.hero2-video-bar .vt small { display: block; font-family: var(--font-body); font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-top: 0.15rem; }
.hstats { display: grid; grid-template-columns: repeat(3, 1fr) 1.35fr; gap: 1rem; margin-top: 1.3rem; }
.hstat { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 1.3rem 1.4rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 128px; }
.hstat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.hstat .lbl { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.45rem; }
.hstat-grid { justify-content: space-between; gap: 0.8rem; }
.hstat-grid canvas { width: 100%; height: auto; display: block; border-radius: 6px; }
.hstat-grid-cap { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.hstat-grid-cap .num { font-size: 1.7rem; }
.hstat-grid-cap .lbl { margin: 0; }

/* ---------- Between campaigns + coverflow ---------- */
.status-split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.status-card { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(1.6rem, 3vw, 2.4rem); color: #fff; background: linear-gradient(150deg, #2e2050 0%, #1a1230 100%); box-shadow: var(--shadow); }
.status-card::before { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(237,213,74,0.22), transparent 65%); pointer-events: none; }
.status-pill { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.35rem 0.85rem; border-radius: 999px; background: rgba(237,213,74,0.12); border: 1px solid rgba(237,213,74,0.35); color: #ffe28a; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: #ffcf5a; animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 0.35; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }
.status-card h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.5rem; position: relative; }
.status-card > p { color: rgba(255,255,255,0.78); position: relative; }
.notify { position: relative; display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.2rem 0 0.4rem; }
.notify input { flex: 1 1 220px; min-width: 0; padding: 0.85rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; font: inherit; }
.notify input::placeholder { color: rgba(255,255,255,0.5); }
.notify input:focus { outline: none; border-color: var(--gold-bright); }
.status-link { margin-top: 0.8rem; }
.status-note { position: relative; font-size: 0.86rem; color: rgba(255,255,255,0.6); margin: 1rem 0 0; }
.status-note a { color: var(--gold-bright); font-weight: 600; }
.status-card.wide { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 2.5rem; align-items: center; }
.status-card.wide > .status-pill, .status-card.wide > h2, .status-card.wide > p:not(.status-note) { grid-column: 1; }
.status-card.wide > .notify, .status-card.wide > .status-link, .status-card.wide > .status-note { grid-column: 2; }
.status-card.wide > .notify { grid-row: 1 / span 2; align-self: end; }
.status-card.wide > .status-link { grid-row: 3; justify-self: start; }
.status-card.wide > .status-note { grid-row: 4; }
.prev-wrap h2 { margin-bottom: 0.2rem; }
.coverflow { position: relative; margin: 1.2rem 0 1rem; }
.cf-stage { position: relative; height: 380px; perspective: 1100px; transform-style: preserve-3d; }
.cf-item { position: absolute; left: 50%; top: 10px; width: 232px; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; background: var(--plum); box-shadow: 0 18px 40px rgba(21,17,31,0.25); transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s; will-change: transform; }
.cf-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cf-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,0.18), transparent 40%); pointer-events: none; }
.cf-item.active { box-shadow: 0 30px 60px rgba(21,17,31,0.35), 0 0 0 3px var(--gold); }
.cf-foot { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.cf-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; color: var(--ink); display: grid; place-items: center; transition: border-color 0.15s; }
.cf-btn:hover { border-color: var(--ink); }
.cf-caption { text-align: center; min-width: 0; flex: 1; max-width: 340px; }
.cf-kicker { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.cf-name { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); line-height: 1.2; }
.cf-name:hover { color: var(--gold-deep); }

/* ---------- Open Gemara with the heartbeat line ---------- */
.book-stage { position: relative; aspect-ratio: 5 / 4; border-radius: 24px; overflow: hidden; background: radial-gradient(60% 60% at 50% 45%, #3c2b63, #140f22 72%); display: grid; place-items: center; perspective: 1600px; box-shadow: var(--shadow); }
.book3d { position: relative; width: 70%; aspect-ratio: 1.55; transform-style: preserve-3d; transform: rotateX(52deg) rotateZ(-10deg); animation: bookFloat 9s ease-in-out infinite alternate; }
@keyframes bookFloat { from { transform: rotateX(52deg) rotateZ(-10deg); } to { transform: rotateX(44deg) rotateZ(-5deg) translateZ(20px); } }
.book3d::after { content: ""; position: absolute; inset: 6% -6% -12%; background: radial-gradient(closest-side, rgba(0,0,0,0.55), transparent); transform: translateZ(-40px); filter: blur(8px); }
.page { position: absolute; top: 0; width: 50%; height: 100%; transform-style: preserve-3d; background: linear-gradient(90deg, #eadfbf, #faf3df 60%, #f3e8c9); border-radius: 3px 10px 10px 3px; box-shadow: inset 0 0 0 1px rgba(120,90,40,0.15); }
.page.left { left: 0; transform-origin: right center; transform: rotateY(7deg); border-radius: 10px 3px 3px 10px; background: linear-gradient(270deg, #e6d9b6, #faf3df 45%, #f1e5c4); }
.page.right { left: 50%; transform-origin: left center; transform: rotateY(-7deg); }
.page.turn { left: 50%; transform-origin: left center; opacity: 0; animation: flipPage 7.8s var(--d) infinite; }
@keyframes flipPage { 0% { transform: rotateY(-7deg); opacity: 0; } 6% { opacity: 1; } 40% { transform: rotateY(-173deg); opacity: 1; } 52%, 100% { transform: rotateY(-173deg); opacity: 0; } }
.page .txt { position: absolute; inset: 13% 13% 14%; background: repeating-linear-gradient(180deg, rgba(70,52,26,0.26) 0 2px, transparent 2px 6px); }
.page .txt::before { content: ""; position: absolute; left: 25%; right: 25%; top: 14%; bottom: 0; background: repeating-linear-gradient(180deg, rgba(40,28,12,0.62) 0 2px, transparent 2px 6px), #f8f0da; }
.page .txt::after { content: ""; position: absolute; top: 0; left: 36%; right: 36%; height: 9%; background: rgba(40,28,12,0.75); border-radius: 2px; }
.ekg { overflow: visible; }
.ekg polyline { fill: none; stroke: #ff4b3a; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(255,75,58,0.85)); animation: ekg 4.6s ease-in-out infinite; }
@keyframes ekg { 0% { stroke-dashoffset: 1; opacity: 1; } 55% { stroke-dashoffset: 0; opacity: 1; } 78%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.book-stage .ekg { position: absolute; left: 3%; top: 38%; width: 94%; height: 24%; }

/* ---------- Video cards ---------- */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.vgrid.two { grid-template-columns: repeat(2, 1fr); }
.vitem { display: flex; flex-direction: column; gap: 0.3rem; }
.vcard { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--shadow-sm); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.vcard:hover .vthumb img { transform: scale(1.05); }
.vplay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 62px; height: 62px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.35); transition: transform 0.2s; }
.vplay svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
.vcard:hover .vplay { transform: translate(-50%, -50%) scale(1.08); }
.vtitle { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; margin-top: 0.85rem; }
.vdate { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }
.section.dark .vdate, .vhero .vdate { color: rgba(255,255,255,0.6); }
.section.dark .vtitle { color: #fff; }
.valt { font-size: 0.8rem; font-weight: 600; color: var(--gold-deep); }
.valt:hover { text-decoration: underline; }

/* ---------- Endorsements ---------- */
.endorse-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.6rem 1.2rem; }
.endorse { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; background: none; border: 0; padding: 0; font: inherit; color: inherit; }
.endorse.has-video { cursor: pointer; }
.endorse .avatar { position: relative; display: block; width: 132px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #2a1d44; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--gold-soft), var(--shadow-sm); transition: box-shadow 0.25s, transform 0.25s; margin-bottom: 0.5rem; }
.endorse .avatar img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.avatar-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(21,17,31,0.45); opacity: 0; transition: opacity 0.25s; }
.avatar-play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.endorse.has-video:hover .avatar, .endorse.has-video:focus-visible .avatar { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--gold), var(--shadow); transform: translateY(-3px); }
.endorse.has-video:hover .avatar img { transform: scale(1.07); }
.endorse.has-video:hover .avatar-play, .endorse.has-video:focus-visible .avatar-play { opacity: 1; }
.endorse .name { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.2; }
.endorse .watch { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; font-weight: 700; color: var(--gold-deep); }
.endorse .watch .icon { width: 12px; height: 12px; }
.ecard-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }

/* ---------- Campaign cards (by year) ---------- */
.shelf-hero { padding-bottom: 0; overflow: hidden; }
.year-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.year-nav a { padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 0.9rem; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.year-nav a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.shelf { position: relative; margin-top: 2.8rem; height: 200px; overflow: hidden; border-bottom: 12px solid #5b3d22; box-shadow: 0 10px 18px -8px rgba(60,40,20,0.45); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.shelf-track { display: flex; align-items: flex-end; gap: 3px; width: max-content; height: 100%; animation: shelf 140s linear infinite; }
.shelf:hover .shelf-track { animation-play-state: paused; }
@keyframes shelf { to { transform: translateX(-50%); } }
.spine { position: relative; height: var(--h); display: flex; justify-content: center; padding-top: 30px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, rgba(0,0,0,0.35), transparent 18%, rgba(255,255,255,0.10) 45%, transparent 62%, rgba(0,0,0,0.32)), var(--tone); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25); }
.spine::before, .spine::after { content: ""; position: absolute; left: 4px; right: 4px; height: 3px; background: #c9a227; opacity: 0.85; }
.spine::before { top: 14px; } .spine::after { bottom: 18px; }
.spine b { writing-mode: vertical-rl; font-family: var(--font-hebrew); font-weight: 500; font-size: 0.85rem; color: #e8c766; white-space: nowrap; }
.year-group { display: grid; grid-template-columns: 170px 1fr; gap: 2rem; padding: 2.8rem 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 10px); }
.year-group:first-child { border-top: 0; padding-top: 0.5rem; }
.year-label { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.year-label .yr { display: block; font-family: var(--font-display); font-size: 5rem; line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.year-label .cnt { display: block; margin-top: 0.4rem; font-size: 0.85rem; color: var(--muted); }
.cc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; }
.cc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s; }
.cc.reveal { transform: translateY(32px) scale(0.97); }
.cc.reveal.in { transform: none; }
.cc:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cc-media { position: relative; display: block; aspect-ratio: 1 / 0.86; overflow: hidden; background: var(--plum); perspective: 900px; }
.cc-blur { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(20px) brightness(0.5) saturate(1.2); transform: scale(1.1); }
.cc-media img { position: relative; display: block; height: 86%; width: auto; max-width: 82%; margin: 7% auto 0; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 44px rgba(0,0,0,0.5); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.4s ease-out; }
.cc:hover .cc-media img { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.04); }
.cc-chip { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.65rem; border-radius: 999px; background: rgba(255,255,255,0.94); color: #1e6b3f; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.cc-chip svg { width: 11px; height: 11px; }
.cc-chip.private { color: var(--gold-deep); }
.cc-body { display: flex; flex-direction: column; gap: 0.55rem; flex: 1; padding: 1.2rem 1.3rem 1.3rem; }
.cc-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.cc-title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.12; margin: 0; }
.cc-title a:hover { color: var(--gold-deep); }
.cc-desc { position: relative; max-height: 4.9em; overflow: hidden; font-size: 0.95rem; line-height: 1.6; color: var(--ink-2); transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.cc-desc p { margin: 0; }
.cc-desc:not(.open):not(.fits)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.6em; background: linear-gradient(rgba(255,255,255,0), #fff); }
.cc-more { align-self: flex-start; border: 0; background: none; padding: 0; font-weight: 700; font-size: 0.85rem; color: var(--gold-deep); }
.cc-more[hidden] { display: none; }
.cc-actions { margin-top: auto; padding-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- About: how we began + phone ---------- */
.about-hero { background: radial-gradient(60% 80% at 92% 0%, rgba(237,213,74,0.22), transparent 60%), var(--cream); padding: clamp(3rem, 6vw, 5rem) 0; border-bottom: 1px solid var(--line); }
.about-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.phone-stage { display: flex; flex-direction: column; align-items: center; }
.phone { width: 236px; padding: 18px 16px 22px; border-radius: 34px 34px 42px 42px; background: linear-gradient(160deg, #2e2647, #141020); box-shadow: 0 40px 80px rgba(21,17,31,0.35), inset 0 1px 0 rgba(255,255,255,0.12); transform: rotate(-4deg); animation: phoneFloat 7s ease-in-out infinite alternate; }
@keyframes phoneFloat { from { transform: rotate(-4deg) translateY(0); } to { transform: rotate(-2deg) translateY(-12px); } }
.phone-speaker { width: 52px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.18); margin: 0 auto 12px; }
.phone-screen { height: 258px; display: flex; flex-direction: column; padding: 8px; border-radius: 10px; background: linear-gradient(#eef3e4, #d6e2c6); box-shadow: inset 0 2px 8px rgba(0,0,0,0.25); overflow: hidden; }
.phone-bar { display: flex; justify-content: space-between; font-size: 0.6rem; font-weight: 700; color: #3c4a33; padding-bottom: 5px; border-bottom: 1px solid rgba(0,0,0,0.15); }
.sms-thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding-top: 6px; overflow: hidden; }
.bubble { max-width: 84%; padding: 6px 9px; border-radius: 11px; font-size: 0.74rem; line-height: 1.35; animation: bubbleIn 0.35s ease both; }
.bubble.out { align-self: flex-end; background: #2e2050; color: #fff; border-bottom-right-radius: 3px; }
.bubble.in { align-self: flex-start; background: #fff; color: #1f2a18; border-bottom-left-radius: 3px; }
.bubble.typing { display: inline-flex; gap: 3px; padding: 9px 10px; }
.bubble.typing i { width: 5px; height: 5px; border-radius: 50%; background: #8a9580; animation: dotB 1s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: 0.15s; } .bubble.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px) scale(0.95); } to { opacity: 1; transform: none; } }
@keyframes dotB { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.phone-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 14px; }
.phone-keys span { height: 17px; border-radius: 9px; background: rgba(255,255,255,0.1); }
.phone-cap { margin: 1.6rem 0 0; font-size: 0.9rem; color: var(--muted); text-align: center; }

/* ---------- Timeline with years ---------- */
.tl { position: relative; max-width: 1060px; margin: 0 auto; }
.tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--line); }
.tl-progress { position: absolute; left: 50%; top: 0; width: 3px; margin-left: -1.5px; height: 0; z-index: 0; border-radius: 3px; background: linear-gradient(var(--gold-bright), var(--gold)); box-shadow: 0 0 14px rgba(201,162,39,0.6); }
.tl-year { position: relative; z-index: 1; display: flex; justify-content: center; margin: 0.5rem 0 2.2rem; }
.tl-year span { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; padding: 0.35rem 1.3rem; border-radius: 999px; background: #fff; color: var(--muted); border: 2px solid var(--line); box-shadow: 0 0 0 8px var(--cream); transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.4s; }
.tl-year.lit span { background: var(--ink); color: var(--gold-bright); border-color: var(--ink); transform: scale(1.05); }
.tl-item { position: relative; z-index: 1; width: 50%; padding: 0 3rem 2.6rem 0; }
.tl-item.right { margin-left: 50%; padding: 0 0 2.6rem 3rem; }
.tl-item::before { content: ""; position: absolute; top: 1.4rem; right: -10px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--line); box-shadow: 0 0 0 4px var(--cream); transition: border-color 0.4s, transform 0.4s; }
.tl-item.right::before { right: auto; left: -10px; }
.tl-item.lit::before { border-color: var(--gold); transform: scale(1.1); }
.tl-card { display: grid; grid-template-columns: 1fr 110px; gap: 1.1rem; align-items: start; padding: 1.3rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.tl-card.no-img { grid-template-columns: 1fr; }
.tl-card .when { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.3rem; }
.tl-card h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 0.4rem; }
.tl-card p { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 0.7rem; }
.tl-card .thumb { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }
.tl-card .thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.tl-card .thumb.square img { aspect-ratio: 1; }
.tl-card .links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; align-items: center; }
.tl-card .links button { display: inline-flex; align-items: center; gap: 0.35rem; background: none; border: 0; padding: 0; font-weight: 600; font-size: 0.92rem; color: var(--gold-deep); }
.tl-card .links .icon { width: 13px; height: 13px; }
.tl-now { position: fixed; left: 1.6rem; top: 50%; z-index: 40; font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); opacity: 0; transform: translate(-16px, -50%); transition: opacity 0.35s, transform 0.35s; pointer-events: none; }
.tl-now.show { opacity: 1; transform: translate(0, -50%); }
.tl-now.bump { animation: yearPop 0.45s ease; }
@keyframes yearPop { 0% { scale: 0.8; } 60% { scale: 1.12; } 100% { scale: 1; } }
.about-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 4rem; margin-top: 1rem; }
.astat .num { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--gold-bright); }
.astat .lbl { display: block; margin-top: 0.4rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* ---------- Videos page ---------- */
.vhero { color: #fff; background: radial-gradient(60% 60% at 80% 10%, rgba(237,213,74,0.14), transparent 60%), #110c1d; padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5rem); }
.vhero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 2rem; }
.feature { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.feature-info h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.3rem; }
.vdate-lg { color: rgba(255,255,255,0.6); margin-bottom: 1.3rem; }
.more-info { margin-top: 1.6rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.more-info summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; color: var(--ink); }
.more-info summary::-webkit-details-marker { display: none; }
.more-info summary::before { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; font-weight: 500; transition: transform 0.25s; }
.more-info[open] summary::before { transform: rotate(45deg); }
.more-info p, .more-info h4 { max-width: 760px; }
.more-info p { color: var(--ink-2); font-size: 0.97rem; margin: 0.8rem 0 0; }
.more-info h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin: 1.2rem 0 0; }
.more-info.light { border-color: rgba(255,255,255,0.15); }
.more-info.light summary { color: #fff; }
.more-info.light p { color: rgba(255,255,255,0.75); }
.more-info.light a { color: var(--gold-bright); font-weight: 600; }

/* ---------- Donate art ---------- */
.letters3d { position: relative; aspect-ratio: 5 / 4; border-radius: 24px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 40%, #3b2a63, #140f22 75%); box-shadow: var(--shadow); }
.lf { position: absolute; inset: 0; }
.lf span { position: absolute; font-family: var(--font-hebrew); font-weight: 700; line-height: 1; color: transparent; background: linear-gradient(160deg, #fff3b0, #c9a227 55%, #7a5c12); -webkit-background-clip: text; background-clip: text; opacity: calc(0.14 + var(--z) * 0.7); filter: blur(calc((1 - var(--z)) * 2.4px)); translate: calc(var(--mx, 0) * var(--z) * -70px) calc(var(--my, 0) * var(--z) * -70px); transition: translate 0.4s ease-out; animation: floatL 14s ease-in-out infinite alternate; }
@keyframes floatL { from { transform: translateY(0) rotate(-5deg); } to { transform: translateY(-28px) rotate(6deg); } }
.letters-center { position: relative; z-index: 2; text-align: center; padding: 1.4rem 2rem; border-radius: 18px; background: rgba(17,12,29,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.letters-center .he { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--gold-bright); line-height: 1.1; }
.letters-center small { display: block; margin-top: 0.4rem; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.dial-stage { display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 24px; background: radial-gradient(70% 70% at 50% 30%, var(--gold-soft), var(--cream)); }
.dialer { width: 264px; padding: 22px; border-radius: 30px; background: linear-gradient(160deg, #2e2647, #141020); box-shadow: 0 30px 60px rgba(21,17,31,0.3); }
.dial-screen { text-align: center; padding: 0.8rem 1rem; margin-bottom: 16px; border-radius: 14px; background: #0b0812; border: 1px solid rgba(237,213,74,0.25); transition: box-shadow 0.3s; }
.dialer.ringing .dial-screen { box-shadow: 0 0 0 3px rgba(237,213,74,0.4), 0 0 28px rgba(237,213,74,0.35); }
.dial-label { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.dial-num { display: block; min-height: 1.4em; font-size: 1.55rem; font-weight: 600; letter-spacing: 0.05em; color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.dial-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dial-keys span { display: grid; place-items: center; aspect-ratio: 1.45; border-radius: 14px; background: rgba(255,255,255,0.07); color: #fff; font-size: 1.2rem; font-weight: 600; transition: background 0.15s, color 0.15s, transform 0.15s; }
.dial-keys span.on { background: var(--gold); color: var(--ink); transform: scale(0.92); }

/* ---------- CTA band with heartbeat line ---------- */
.cta-band { grid-template-columns: 1fr; }
.cta-band > div { position: relative; z-index: 1; max-width: 640px; }
.cta-band .band-ekg { position: absolute; right: -2%; bottom: 14%; width: 52%; height: 38%; opacity: 0.55; }
.cta-band .band-ekg polyline { stroke: var(--gold-bright); filter: drop-shadow(0 0 6px rgba(237,213,74,0.7)); animation-duration: 5.5s; }

/* ---------- Responsive for the redesign ---------- */
@media (max-width: 1240px) {
  .tl-now { left: auto; right: 1rem; top: calc(var(--header-h) + 12px); transform: translateY(-8px); font-size: 1.3rem; padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--ink); color: var(--gold-bright); -webkit-text-stroke: 0; }
  .tl-now.show { transform: none; }
}
@media (max-width: 1100px) {
  .hstats { grid-template-columns: repeat(3, 1fr); }
  .hstat-grid { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .hstat-grid canvas { width: 60%; }
  .cc-grid { grid-template-columns: repeat(2, 1fr); }
  .endorse-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .status-split, .feature { grid-template-columns: 1fr; }
  .status-card.wide { display: block; }
  .year-group { grid-template-columns: 1fr; gap: 1rem; }
  .year-label { position: static; display: flex; align-items: baseline; gap: 1rem; }
  .year-label .yr { font-size: 3.4rem; }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .tl::before, .tl-progress { left: 11px; }
  .tl-item, .tl-item.right { width: 100%; margin-left: 0; padding: 0 0 2rem 2.6rem; }
  .tl-item::before, .tl-item.right::before { left: 1px; right: auto; }
  .tl-year { justify-content: flex-start; margin-left: -2px; }
  .tl-year span { font-size: 1.7rem; }
  .book-stage { max-width: 560px; }
}
@media (max-width: 760px) {
  .hero2 { padding-bottom: 3rem; }
  .hero2-head { padding: 3rem 0 3.4rem; }
  .ring span { font-size: 1rem; }
  .hero2-video video { aspect-ratio: 720 / 405; }
  .hero2-video-bar { position: static; flex-wrap: wrap; padding: 0.9rem 1rem 1rem; background: #1b1430; }
  .hstats { grid-template-columns: 1fr 1fr; }
  .hstat { min-height: 0; padding: 1rem 1.1rem; }
  .hstat-grid { flex-direction: column; align-items: stretch; }
  .hstat-grid canvas { width: 100%; }
  .cf-stage { height: 300px; }
  .cf-item { width: 176px; }
}
@media (max-width: 600px) {
  .cc-grid, .vgrid, .vgrid.two { grid-template-columns: 1fr; }
  .endorse-grid { grid-template-columns: repeat(2, 1fr); }
  .endorse .avatar { width: 116px; }
  .tl-card { grid-template-columns: 1fr 86px; }
  .shelf { height: 170px; }
  .notify .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .book3d, .page.turn, .ekg polyline, .phone, .lf span, .shelf-track, .status-pill i, .sample-tag i { animation: none !important; }
  .ekg polyline { stroke-dashoffset: 0; }
  .page.turn { display: none; }
}
.status-card .status-pill { justify-self: start; }
.hero2-head { padding-bottom: 5.4rem; }
@media (max-width: 760px) {
  .hstats { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .hstat { padding: 0.9rem 0.8rem; }
  .hstat .num { font-size: 1.55rem; }
  .hstat .lbl { font-size: 0.74rem; line-height: 1.3; }
  .hstat-grid { grid-column: 1 / -1; }
  .hstat-grid-cap .num { font-size: 1.4rem; }
  .ring { opacity: 0.55; }
}
.coverflow { overflow: hidden; }
.prev-wrap { min-width: 0; }
@media (max-width: 1240px) {
  .tl-now { top: auto; bottom: 1.2rem; right: 1.2rem; box-shadow: var(--shadow); }
}

/* Matching Shas set: one height, one color; only thickness varies */
.spine { height: 176px; --tone: #4e1e2c; }
@media (max-width: 600px) { .spine { height: 150px; } }
/* Shelf reads like a sefer: Brachos on the right, drifting rightward */
.shelf-track { flex-direction: row-reverse; animation-direction: reverse; }

/* ==========================================================================
   Home v3: video background hero, real logo in header, mission block
   ========================================================================== */
.brand-word { height: 38px; width: auto; }
.brand-word.light { display: none; }
.site-header.over .brand-word.dark { display: none; }
.site-header.over .brand-word.light { display: block; }
body[data-page="home"] .site-header.over .brand { opacity: 0; pointer-events: none; }
.site-header .brand { transition: opacity 0.3s; }
@media (max-width: 600px) { .brand-word { height: 30px; } }

.hero3 { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #0d0916; min-height: min(100svh, 980px); display: flex; align-items: center; padding: calc(var(--header-h) + 1rem) 0 3.5rem; }
.hero3-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.hero3-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 50% at 50% 42%, rgba(13,9,22,0.6), rgba(13,9,22,0.85) 100%), linear-gradient(180deg, rgba(13,9,22,0.65) 0%, rgba(13,9,22,0.35) 40%, rgba(13,9,22,0.92) 100%); }
.hero3-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero3-logo { position: relative; width: min(980px, 100%); padding: 80px 0 96px; display: flex; justify-content: center; }
.hero3-logo .ring { inset: 0; }
.hero3-logo-img { position: relative; z-index: 2; width: clamp(220px, 28vw, 330px); height: auto; filter: drop-shadow(0 12px 40px rgba(0,0,0,0.55)) drop-shadow(0 0 30px rgba(237,213,74,0.18)); }
.hero3-line { position: relative; z-index: 2; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.2; margin: 0 0 2.2rem; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,0.6); }
.hero3 .hstats { grid-template-columns: repeat(3, 1fr); width: min(900px, 100%); margin-top: 0; }
.hero3 .hstat { min-height: 0; padding: 1.2rem 1.3rem; align-items: center; text-align: center; background: rgba(13,9,22,0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgba(255,255,255,0.14); }

.mission-block { position: relative; overflow: hidden; background: radial-gradient(60% 70% at 50% 0%, rgba(237,213,74,0.14), transparent 65%), #fff; }
.mission-inner { position: relative; z-index: 1; }
.mission-block h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); position: relative; z-index: 2; }
.mission-block .mission-text { max-width: 720px; margin: 0 auto 1rem; font-size: 1.15rem; position: relative; z-index: 2; }
.mission-block .eyebrow { position: relative; z-index: 2; }
.book-float { position: relative; z-index: 0; width: 300px; height: 170px; margin: -0.5rem auto -1.6rem; perspective: 1400px; display: grid; place-items: center; opacity: 0.95; }
.book-float .book3d { width: 100%; }
.book-float .book3d::after { background: radial-gradient(closest-side, rgba(60,40,10,0.28), transparent); }
.mission-ekg { position: absolute; left: 0; right: 0; top: 52%; width: 100%; height: 120px; opacity: 0.18; z-index: 0; }
.mission-ekg polyline { stroke: var(--gold); filter: none; animation-duration: 6s; }

@media (max-width: 760px) {
  .hero3 { min-height: 0; padding-bottom: 2.5rem; }
  .hero3-logo { padding: 64px 0 78px; }
  .hero3 .hstats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .hero3 .hstat { padding: 0.9rem 0.5rem; }
  .book-float { width: 230px; height: 130px; }
}
@media (prefers-reduced-motion: reduce) { .hero3-bg { animation: none; } }
@media (max-width: 1024px) { .hero3 .ring span { font-size: 1.02rem; } }
@media (max-width: 760px) { .hero3 .ring span { font-size: 0.92rem; } }

/* Hero without the ring; ring orbits the open Gemara in the mission block */
.hero3-logo { padding: 40px 0 36px; }
.mission-orbit { position: relative; width: min(760px, 100%); margin: -1rem auto 0.5rem; padding: 60px 0 76px; }
.mission-orbit .ring { inset: 0; }
.mission-orbit .ring span { color: var(--gold-deep); text-shadow: none; font-size: clamp(0.8rem, 1.5vw, 1.15rem); }
.mission-orbit .book-float { position: relative; z-index: 2; margin: 0 auto; }
@media (max-width: 760px) {
  .hero3-logo { padding: 28px 0 24px; }
  .mission-orbit { padding: 44px 0 58px; }
  .mission-orbit .ring span { font-size: clamp(0.72rem, 3.2vw, 0.9rem); }
}
.book-float .ekg { position: absolute; left: -18%; top: 30%; width: 136%; height: 36%; z-index: 3; pointer-events: none; }
@media (max-width: 760px) { .book-float .ekg { left: -12%; width: 124%; } }

/* About: keep the phone compact on smaller screens */
@media (max-width: 900px) {
  .about-hero { padding: 2.5rem 0 2.75rem; }
  .about-hero .split { gap: 1.5rem; }
  .phone-stage { flex-direction: row; justify-content: center; gap: 1rem; }
  .phone { width: 168px; padding: 12px 11px 15px; border-radius: 26px 26px 30px 30px; }
  .phone-speaker { width: 38px; height: 4px; margin-bottom: 8px; }
  .phone-screen { height: 182px; padding: 6px; }
  .phone-bar { font-size: 0.5rem; }
  .bubble { font-size: 0.62rem; padding: 4px 7px; }
  .phone-keys { gap: 5px; margin-top: 9px; }
  .phone-keys span { height: 11px; }
  .phone-cap { margin: 0; max-width: 150px; text-align: left; font-size: 0.82rem; }
}

/* ---------- Shelf v3: vector Vilna Shas spines (drawn in JS) ---------- */
.spine.vs { display: block; flex: none; width: 54px; height: 216px; padding: 0; background: none; box-shadow: none; border-radius: 0; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.25)); }
.spine.vs::before, .spine.vs::after { display: none; }
@media (max-width: 600px) { .spine.vs { width: 46px; height: 184px; } }

/* About: mission opens the page, How We Began follows */
.mission-top { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.6rem, 6vw, 4.5rem); }
.mission-top h1 { margin-bottom: 0; }
.mission-lede { max-width: 760px; margin: 0 auto; font-size: clamp(1.08rem, 1.9vw, 1.3rem); line-height: 1.75; color: var(--ink-soft, #3d3654); }
.began { padding-top: clamp(3rem, 6vw, 5rem); }
@media (max-width: 900px) { .began { padding-bottom: 2.75rem; } .began .split { gap: 1.5rem; } }
/* Mission (About top), modeled on adireihatorah.com: spaced-caps label with a
   short rule, one big two-tone serif statement, then one calm paragraph */
.mt-label { display: inline-block; padding-bottom: 0.7rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--gold); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); }
.mission-top .mt-statement { max-width: 860px; margin: 0 auto; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.95rem, 4.4vw, 3.3rem); line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
.mt-statement > span { display: block; }
.mt-accent { color: var(--gold-deep); }
.mt-body { max-width: 640px; margin: 1.6rem auto 0; font-size: clamp(1.02rem, 1.6vw, 1.14rem); line-height: 1.75; color: var(--ink-2); }
.mt-body .he-inline { font-size: 1.04em; white-space: nowrap; }
.mt-btn { margin-top: 2rem; }
/* Home mission: plain context, one large statement built around ש״ס מחולק, plain closing */
.mission-block .mission-text p { margin: 0 auto; }
.hm-plain { max-width: 640px; font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.75; color: var(--ink-2); }
.hm-plain .he-inline, .hm-statement .he-inline { white-space: nowrap; }
.hm-statement { max-width: 820px; margin: 1.5rem auto !important; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3.3vw, 2.45rem); line-height: 1.22; color: var(--ink); }
.hm-statement .he-inline { color: var(--ink); font-weight: 500; }
.hm-statement .hm-key { color: var(--gold-deep); font-weight: 700; }
.hm-plain, .hm-statement, .mt-statement, .mt-body { text-wrap: balance; }
.hm-statement { margin: 1.4rem auto 0.7rem !important; }
.nowrap { white-space: nowrap; }

/* ==========================================================================
   Type system (2026-10-18): one fixed scale for the whole site.
   Two typefaces for English (serif headings, sans text). Hebrew inside a
   sentence uses the same sans as the sentence; Hebrew in a heading stays serif.
   ========================================================================== */
:root {
  --t-h1: clamp(2.5rem, 5vw, 4rem);
  --t-h2: clamp(2rem, 3.4vw, 2.75rem);
  --t-h3: clamp(1.45rem, 2.2vw, 1.75rem);
  --t-h4: 1.25rem;
  --t-lead: clamp(1.08rem, 1.4vw, 1.2rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-meta: 0.8125rem;
  --t-label: 0.75rem;
}
h1, .page-hero h1, .camp-head h1, .about-hero h1, .vhero h1, .hero2 h1 { font-size: var(--t-h1); }
h2, .mission-block h2, .shas__title h2, .mission-top .mt-statement { font-size: var(--t-h2); }
h3, .status-card h2, .feature-info h2, .cta-band h2, .hero3-line, .done-banner .txt { font-size: var(--t-h3); }
h4, .cf-name, .vtitle, .cc-title, .tl-card h3, .video-meta h3, .endorse .name, .video-facade .title, .camp-nav a b { font-size: var(--t-h4); }
.lede, .mission-text, .mission-block .mission-text, .hm-plain, .mt-body, .mission-lede { font-size: var(--t-lead); }
.section-head p, .camp-head .desc, .cta-band p, .shas__title p, .status-card p { font-size: var(--t-body); }
.cc-desc, .tl-card p, .channel p, .more-info p, .notice, .site-footer p, .small { font-size: var(--t-small); }
.vdate, .valt, .endorse .watch, .cc-more, .status-note, .hstat .lbl, .astat .lbl, .breadcrumbs, .camp-head .meta, .video-meta a.alt, .site-footer .bottom, .phone-cap { font-size: var(--t-meta); }
.eyebrow, .mt-label, .cf-kicker, .cc-kicker, .tl-card .when, .status-pill, .site-footer h4 { font-size: var(--t-label); }

/* Hebrew inside running text: same sans as the sentence, same size, same color */
.he-inline { font-family: var(--font-body); font-size: 1em; font-weight: inherit; color: inherit; }
h1 .he-inline, h2 .he-inline, h3 .he-inline, h4 .he-inline, .display .he-inline, .mt-statement .he-inline, .cf-name .he-inline, .cc-title .he-inline, .vtitle .he-inline { font-family: var(--font-hebrew); font-size: 1.04em; }
.mission-text .he-inline, .mt-body .he-inline, .hm-plain .he-inline { color: inherit; font-weight: inherit; }

/* Home mission: one paragraph; ש״ס מחולק gets a soft gold highlight, nothing else competes */
.mission-block .mission-text { max-width: 680px; }
.hm-plain { max-width: 680px; line-height: 1.8; color: var(--ink-2); }
.hm-plain .hm-key { font-weight: 600; color: var(--ink); padding: 0 0.15em; background: linear-gradient(transparent 58%, rgba(237, 213, 74, 0.55) 58%); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Campaign cards: equal heights per row, one button row aligned at the bottom */
.cc-grid { align-items: stretch; }
.cc-actions { margin-top: auto; align-items: center; gap: 0.4rem 1.1rem; }
.cc-watch { display: inline-flex; align-items: center; gap: 0.35rem; border: 0; background: none; padding: 0; font: inherit; font-size: var(--t-small); font-weight: 600; color: var(--gold-deep); cursor: pointer; }
.cc-watch svg { width: 14px; height: 14px; }
.cc-watch:hover { color: var(--ink); }
@media (min-width: 901px) { .cc-grid.four { grid-template-columns: repeat(2, 1fr); max-width: calc((100% - 2.8rem) * 2 / 3 + 1.4rem); } }
.mcard .st.done { color: var(--gold-deep); }
.mcard .st.done svg { width: 15px; height: 15px; }
.dtile .r svg { color: var(--gold-deep); }
.cc-actions { flex-wrap: nowrap; gap: 0.9rem; }
.cc-actions .btn { flex: none; }
.cc-watch { white-space: nowrap; font-size: 0.875rem; }
#browse { scroll-margin-top: calc(var(--header-h, 72px) + 12px); }
/* Ticker moves the Hebrew way (right to left reading, items enter from the left) */
.ticker__track { animation-direction: reverse; }

.shelf { height: 238px; }
@media (max-width: 600px) { .shelf { height: 204px; } }
/* Pages turn like a sefer: the left page lifts and turns over to the right */
.page.turn { left: 0; transform-origin: right center; border-radius: 10px 3px 3px 10px; background: linear-gradient(270deg, #e6d9b6, #faf3df 45%, #f1e5c4); animation-name: flipPageHe; }
@keyframes flipPageHe { 0% { transform: rotateY(7deg); opacity: 0; } 6% { opacity: 1; } 40% { transform: rotateY(173deg); opacity: 1; } 52%, 100% { transform: rotateY(173deg); opacity: 0; } }

/* ---------- Gemara page textures (own typesetting of Brachos 2a and Niddah 73a) ---------- */
/* About: the first page of Shas behind Our Mission, clear at the top and blurring away */
.mission-top { position: relative; overflow: hidden; isolation: isolate; }
.mission-top::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -2%; width: min(1100px, 150%); aspect-ratio: 1600 / 2000; transform: translateX(-50%); background: url("../assets/texture/daf-brachos.webp") top center / contain no-repeat; opacity: 0.17; pointer-events: none; }
/* Home "Watch the siyumim" and finished campaigns: the Hadran from the last page of Shas */
#watch, .done-banner { position: relative; overflow: hidden; isolation: isolate; }
#watch::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url("../assets/texture/daf-hadran-light.webp") center 92% / min(1500px, 170%) auto no-repeat; opacity: 0.11; pointer-events: none; }
.done-banner::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url("../assets/texture/daf-hadran-light.webp") center 76.5% / min(1400px, 220%) auto no-repeat; opacity: 0.1; pointer-events: none; }
@media (max-width: 600px) { .mission-top::before { opacity: 0.13; } }
/* Ordinary daf for every page; only the opening page (first flip) keeps the big "מאימתי" title block */
.page .txt::after { top: 0; left: 22%; right: 22%; height: 2.5%; background: rgba(40,28,12,0.55); }
.page .txt::before { top: 6%; }
.page.turn.first .txt::after { left: 36%; right: 36%; height: 9%; background: rgba(40,28,12,0.75); }
.page.turn.first .txt::before { top: 14%; }
/* Five pages per cycle (13s): the title page comes around once, then four ordinary dafim */
.page.turn { animation: flipPageHe5 13s var(--d) infinite; }
@keyframes flipPageHe5 { 0% { transform: rotateY(7deg); opacity: 0; } 3.6% { opacity: 1; } 24% { transform: rotateY(173deg); opacity: 1; } 31%, 100% { transform: rotateY(173deg); opacity: 0; } }
/* Mission over the daf: the daf's header and title box show on their own above the text,
   and a soft cream backing keeps the text readable over the blurred part */
.mission-top { padding-top: clamp(8.5rem, 19vw, 15.5rem); }
.mission-top .container { position: relative; }
.mission-top .container::before { content: ""; position: absolute; z-index: -1; inset: -2.5rem -6% -2rem; background: radial-gradient(closest-side, rgba(250,247,240,0.96) 62%, rgba(250,247,240,0.75) 82%, rgba(250,247,240,0)); pointer-events: none; }
.mission-top::before { opacity: 0.2; }
@media (max-width: 600px) { .mission-top { padding-top: 8.25rem; } .mission-top::before { opacity: 0.16; } .mission-top .container::before { inset: -2rem -10% -1.5rem; } }
/* Donate: the Hadran from the last page of Shas, faint behind the top section */
.donate-hero { position: relative; overflow: hidden; isolation: isolate; }
.donate-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url("../assets/texture/daf-hadran-dark.webp") center 88% / min(1500px, 200%) auto no-repeat; opacity: 0.1; pointer-events: none; }
@media (max-width: 900px) { .phone-screen { height: 222px; } .bubble { line-height: 1.28; } }
.donate-hero::before { background-size: 1500px auto; background-position: center calc(100% + 250px); opacity: 0.12; }
@media (max-width: 600px) { .donate-hero::before { background-size: 900px auto; background-position: center calc(100% + 140px); } }

/* ---------- Donate: a calm English "Tizku Lemitzvos" card with the heartbeat line ---------- */
.tizku-card { position: relative; display: grid; place-items: center; min-height: 300px; padding: 2.5rem 1.5rem; border-radius: 24px; overflow: hidden; background: radial-gradient(80% 90% at 50% 20%, #2e2050, #140f22); box-shadow: var(--shadow); }
.tizku-word { position: relative; z-index: 2; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 4.4vw, 3.4rem); color: #fff; letter-spacing: 0.01em; text-align: center; }
.tizku-ekg { position: absolute; left: -4%; top: 52%; width: 108%; height: 34%; z-index: 1; opacity: 0.85; }
.tizku-ekg polyline { stroke: var(--gold-bright); filter: drop-shadow(0 0 6px rgba(237,213,74,0.6)); }

/* ---------- Kosher flip phone (open clamshell) ---------- */
.flip { width: 214px; transform: rotate(-4deg); animation: phoneFloat 7s ease-in-out infinite alternate; filter: drop-shadow(0 34px 40px rgba(21,17,31,0.32)); }
.flip-lid { padding: 14px 13px 16px; border-radius: 28px 28px 12px 12px; background: linear-gradient(160deg, #3d3d43, #131316 70%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 -2px 0 rgba(0,0,0,0.45); }
.flip-ear { width: 38px; height: 4px; margin: 0 auto 10px; border-radius: 3px; background: #050506; box-shadow: 0 1px 0 rgba(255,255,255,0.12); }
.flip-screen { height: 226px; display: flex; flex-direction: column; padding: 6px 7px; border: 3px solid #050506; border-radius: 6px; background: linear-gradient(#eef3e4, #d4e0c3); box-shadow: inset 0 2px 6px rgba(0,0,0,0.25); overflow: hidden; }
.flip-hinge { position: relative; z-index: 1; height: 14px; margin: -3px 12px; border-radius: 7px; background: linear-gradient(#5a5a61, #1a1a1e 55%, #2d2d32); box-shadow: 0 2px 3px rgba(0,0,0,0.45); }
.flip-base { padding: 15px 13px 18px; border-radius: 12px 12px 30px 30px; background: linear-gradient(172deg, #2e2e33, #0f0f12 80%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1); }
.flip-nav { display: grid; grid-template-columns: 1fr 62px 1fr; grid-template-areas: "sl pad sr" "call pad end"; align-items: center; gap: 6px 8px; margin-bottom: 11px; }
.flip-nav i { display: block; }
.flip-nav .soft { height: 9px; border-radius: 5px; background: rgba(255,255,255,0.14); }
.flip-nav .soft.l { grid-area: sl; } .flip-nav .soft.r { grid-area: sr; }
.flip-nav .call { grid-area: call; height: 11px; border-radius: 6px; background: #2f7a4c; }
.flip-nav .end { grid-area: end; height: 11px; border-radius: 6px; background: #9c2f29; }
.flip-nav .pad { grid-area: pad; width: 62px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #55555c, #2a2a2f 70%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 1px 0 rgba(0,0,0,0.5); display: grid; place-items: center; }
.flip-nav .pad b { width: 24px; height: 17px; border-radius: 50%; background: linear-gradient(#3a3a40, #1d1d21); box-shadow: inset 0 1px 0 rgba(255,255,255,0.15); }
.flip-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.flip-keys span { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 27px; border-radius: 9px; background: linear-gradient(#3e3e44, #232328); color: #ececf1; font: 600 0.82rem/1 var(--font-body); box-shadow: inset 0 1px 0 rgba(255,255,255,0.13), 0 1px 0 rgba(0,0,0,0.55); transition: background 0.15s, color 0.15s, transform 0.15s; }
.flip-keys span small { margin-top: 1px; font-size: 0.42rem; letter-spacing: 0.08em; opacity: 0.6; }
.flip-keys span.on { background: var(--gold); color: var(--ink); transform: scale(0.94); }
.sms-date { align-self: center; margin-top: 5px; padding: 1px 7px; border-radius: 6px; background: rgba(0,0,0,0.08); font-size: 0.55rem; font-weight: 700; color: #4a5840; }
.flip .dial-screen { margin: auto 0; background: transparent; border: 0; padding: 0.4rem 0.2rem; }
.flip .dial-label { color: #4a5840; }
.flip .dial-num { color: #1e2a18; font-size: 1.4rem; }
.flip.ringing .flip-screen { box-shadow: inset 0 0 0 2px rgba(201,162,39,0.7), 0 0 22px rgba(237,213,74,0.45); }
@media (max-width: 900px) { .flip { zoom: 0.74; } .flip-screen { height: 226px; } }
.flip-screen { height: 250px; }
.flip .bubble { font-size: 0.64rem; padding: 4px 7px; line-height: 1.28; max-width: 88%; }
.flip .sms-thread { gap: 4px; padding-top: 4px; }
@media (max-width: 900px) { .flip-screen { height: 250px; } }
.flip .dial-num { white-space: nowrap; font-size: 1.15rem; }
.tizku-word.he { font-family: var(--font-hebrew); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.8rem); color: var(--gold-bright); }

/* ---------- Flip phone v2: LG Exalt VN220 look ---------- */
.flip { width: 206px; }
.flip-lid { padding: 12px 11px 0; border-radius: 22px 22px 10px 10px; background: linear-gradient(165deg, #2b2b2f, #08080a 55%, #151518); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), inset 0 0 0 1px rgba(255,255,255,0.05); }
.flip-ear { width: 34px; height: 4px; margin: 0 auto 12px; border-radius: 3px; background: #1d1d21; box-shadow: inset 0 1px 1px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.08); }
.flip-screen { height: 262px; border: 0; border-radius: 3px; box-shadow: 0 0 0 4px #050506, inset 0 2px 6px rgba(0,0,0,0.2); }
.flip-chin { height: 26px; }
.flip-hinge { height: 20px; margin: -2px 8px; border-radius: 10px; background: linear-gradient(#6b6b72, #2a2a2e 35%, #121214 60%, #3b3b40); box-shadow: 0 3px 4px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.25); }
.flip-base { padding: 14px 10px 16px; border-radius: 10px 10px 22px 22px; background: radial-gradient(rgba(255,255,255,0.05) 0.6px, transparent 0.8px) 0 0 / 3px 3px, linear-gradient(175deg, #49494f, #2a2a2e 60%, #1d1d20); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14); }
.kp { padding: 9px 7px 8px; border-radius: 12px; background: linear-gradient(#18181b, #0f0f11); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.flip-nav { grid-template-columns: 1fr 70px 1fr; grid-template-areas: "sl navring sr" "spk navring mic"; gap: 10px 6px; margin-bottom: 8px; }
.flip-nav .soft { height: 3px; margin: 0 6px; border-radius: 2px; background: #bfc1c6; }
.flip-nav .navring { grid-area: navring; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, transparent 0 36%, #0c0c0e 37% 56%, #d8dadf 57% 63%, #8d9096 66% 70%, transparent 71%), conic-gradient(from 200deg, #f1f2f4, #9a9da3, #f1f2f4, #8d9096, #f1f2f4); box-shadow: 0 1px 2px rgba(0,0,0,0.6); }
.flip-nav .navring b { width: 34%; height: 34%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f6f7f8, #a3a6ac 70%, #7d8086); box-shadow: inset 0 -1px 2px rgba(0,0,0,0.35); }
.flip-nav .ico { height: 12px; margin: 0 auto; width: 12px; opacity: 0.8; }
.flip-nav .spk { grid-area: spk; background: linear-gradient(90deg, #cfd1d5 0 35%, transparent 35%), linear-gradient(135deg, transparent 45%, #cfd1d5 46% 60%, transparent 61%); clip-path: polygon(0 30%, 40% 30%, 80% 0, 80% 100%, 40% 70%, 0 70%); }
.flip-nav .mic { grid-area: mic; width: 6px; border-radius: 3px; background: #cfd1d5; box-shadow: 0 7px 0 -2px #cfd1d5; }
.flip-fn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 4px; }
.flip-fn span { display: grid; place-items: center; height: 22px; border-radius: 5px; background: #1e1e22; box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 0 1px #050506; font: 700 0.56rem/1 var(--font-body); letter-spacing: 0.04em; color: #e9e9ee; }
.flip-fn .send { color: #3ec46d; } .flip-fn .endk { color: #ff5a4e; }
.flip-keys { gap: 4px; }
.flip-keys span { flex-direction: row; gap: 3px; justify-content: center; height: 25px; border-radius: 5px; background: #1e1e22; box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 0 0 1px #050506; }
.flip-keys span b { font: 500 0.95rem/1 var(--font-body); color: #f2f2f5; }
.flip-keys span small { margin: 0; font-size: 0.46rem; letter-spacing: 0.02em; opacity: 0.75; align-self: flex-end; padding-bottom: 6px; }
.flip-keys span.on { background: var(--gold); } .flip-keys span.on b, .flip-keys span.on small { color: var(--ink); }
@media (max-width: 900px) { .flip { zoom: 0.66; } }
/* Readable texts: big bubbles on a tall, narrow screen; no shrinking on phones */
.flip { width: 218px; }
.flip-screen { height: 318px; padding: 7px 8px; }
.flip .phone-bar { font-size: 0.72rem; }
.flip .sms-date { font-size: 0.66rem; }
.flip .bubble { font-size: 0.82rem; line-height: 1.32; padding: 6px 9px; max-width: 90%; border-radius: 12px; }
.flip .sms-thread { gap: 6px; padding-top: 6px; }
@media (max-width: 900px) {
  .flip { zoom: 1; width: 196px; }
  .flip-screen { height: 300px; }
  .flip .bubble { font-size: 0.78rem; padding: 5px 8px; }
  .flip-keys span { height: 21px; } .flip-fn span { height: 19px; }
  .flip-nav .navring { width: 58px; height: 58px; } .flip-nav { grid-template-columns: 1fr 58px 1fr; }
  .phone-stage { flex-direction: column; } .phone-cap { max-width: 260px; text-align: center; margin-top: 1rem; }
}
@media (max-width: 900px) { .flip .flip-screen { height: 336px; } }
/* Flip phone v3: slimmer, closer to the real VN220 proportions (narrow body, two near-equal halves) */
.flip { width: 172px; transform: rotate(-3deg); filter: drop-shadow(0 18px 22px rgba(21,17,31,0.22)); }
.flip-lid { padding: 7px 5px 0; border-radius: 18px 18px 7px 7px; }
.flip-ear { width: 26px; height: 3px; margin: 2px auto 7px; }
.flip .flip-screen { height: 300px; padding: 6px 6px; box-shadow: 0 0 0 2px #050506, inset 0 1px 4px rgba(0,0,0,0.18); }
.flip-chin { height: 16px; }
.flip-hinge { height: 12px; margin: -1px 5px; border-radius: 6px; }
.flip-base { padding: 9px 5px 12px; border-radius: 7px 7px 18px 18px; }
.kp { padding: 9px 6px 10px; border-radius: 10px; }
.flip-nav { grid-template-columns: 1fr 60px 1fr; gap: 10px 4px; margin-bottom: 10px; }
.flip-nav .navring { width: 60px; height: 60px; }
.flip-fn { gap: 3px; margin-bottom: 4px; }
.flip-fn span { height: 22px; font-size: 0.5rem; border-radius: 4px; }
.flip-keys { gap: 3px; }
.flip-keys span { height: 30px; border-radius: 4px; }
.flip-keys span b { font-size: 0.9rem; }
.flip .bubble { font-size: 0.78rem; padding: 5px 8px; max-width: 94%; }
.flip .phone-bar { font-size: 0.66rem; }
@media (max-width: 900px) { .flip { width: 172px; } .flip .flip-screen { height: 318px; } .flip .bubble { font-size: 0.76rem; } .flip-keys span { height: 28px; } .flip-nav .navring { width: 56px; height: 56px; } .flip-nav { grid-template-columns: 1fr 56px 1fr; } }
/* The book pages use the class "turn" so the flip-phone styles (.flip) never reach them */
.book-float.reveal { transform: none; }
