*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #1A2B4A; --navy-dk: #13203A; --gold: #B8972A; --gold-lt: #D4AF50;
  --parchment: #F7F3EC; --cream: #FAF6EE; --ink: #1C1C1C; --muted: #6B6455; --rule: rgba(184,151,42,.28);
}
html { scroll-behavior: smooth; }
body { font-family: 'EB Garamond', Georgia, serif; background: var(--cream); color: var(--ink); line-height: 1.7; font-size: 18px; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 500; line-height: 1.15; }
h2 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 36px; color: var(--navy); }
section { padding: 110px 8vw; }
.eyebrow { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 18px; }
.eyebrow.dark { color: var(--gold); }
.he, .he-sm, .he-in { font-family: 'Noto Serif Hebrew', serif; direction: rtl; }
.small { font-size: 15px; color: var(--muted); }
.lead { font-size: 21px; max-width: 720px; font-style: italic; }

/* nav */
nav { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; justify-content: space-between; align-items: center;
  padding: 16px 5vw; background: rgba(250,246,238,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--navy); text-decoration: none; font-weight: 600; }
.nav-logo span { font-family: 'Noto Serif Hebrew', serif; color: var(--gold); margin-right: 6px; font-weight: 500; }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 16px; }
.nav-links a { text-decoration: none; color: var(--navy); }
.nav-links a:hover { color: var(--gold); }
.nav-cta, .btn { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; padding: 12px 24px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: 'EB Garamond', serif; transition: all .2s; display: inline-block; }
.nav-cta { background: var(--navy); color: var(--parchment) !important; }
.nav-cta:hover { background: var(--gold); }
.btn-gold { background: var(--gold); color: var(--navy-dk); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-ghost { border-color: rgba(247,243,236,.45); color: var(--parchment); }
.btn-ghost:hover { border-color: var(--gold-lt); color: var(--gold-lt); }

/* hero */
.hero { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 140px 6vw 90px; background: var(--navy); position: relative; overflow: hidden; }
.hero::before { content: 'מִפִּיהֶם'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: 'Noto Serif Hebrew', serif; font-size: clamp(140px, 22vw, 300px); color: rgba(255,255,255,.035); white-space: nowrap; pointer-events: none; }
.hero h1 { font-size: clamp(48px, 7vw, 92px); color: var(--parchment); max-width: 900px; margin-bottom: 26px; }
.hero h1 em { color: var(--gold-lt); }
.hero-sub { font-size: clamp(19px, 2.2vw, 23px); color: rgba(247,243,236,.78); max-width: 640px; margin-bottom: 48px; font-style: italic; }
.hero-doors { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; position: relative; }

/* mesorah */
.mesorah { text-align: center; background: var(--parchment); padding: 80px 8vw; border-bottom: 1px solid var(--rule); }
.mesorah .he { font-size: clamp(24px, 3vw, 34px); color: var(--navy); }
.mesorah .cite { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 8px 0 22px; }
.mesorah .lead { margin: 0 auto; color: var(--muted); }

/* doors */
.door-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1250px) and (min-width: 981px) { .door-grid { grid-template-columns: 1fr 1fr; } }
.door { background: #fff; border: 1px solid var(--rule); padding: 40px 34px; display: flex; flex-direction: column; }
.door.featured { background: var(--navy); color: var(--parchment); border-color: var(--navy); }
.door.featured h3 { color: var(--gold-lt); }
.door-label { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.door h3 { font-size: 32px; color: var(--navy); margin-bottom: 16px; }
.door p { margin-bottom: 18px; }
.door ul { list-style: none; margin-bottom: 26px; flex: 1; }
.door li { padding: 6px 0 6px 22px; position: relative; font-size: 16.5px; border-top: 1px solid var(--rule); }
.door li::before { content: '·'; position: absolute; left: 6px; color: var(--gold); font-weight: 700; }
.door-cta { color: var(--gold); text-decoration: none; letter-spacing: .06em; font-size: 17px; }
.door.featured .door-cta { color: var(--gold-lt); }

/* check */
.check { background: var(--navy); color: var(--parchment); }
.check h2 { color: var(--parchment); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 70px; }
.principles .num { font-family: 'Cormorant Garamond', serif; font-size: 44px; color: var(--gold-lt); }
.principles h3 { font-size: 27px; margin: 4px 0 10px; }
.principles p { color: rgba(247,243,236,.78); }
.worked { background: var(--cream); color: var(--ink); padding: 40px; }
.worked-title { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.worked-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.worked-grid > div { padding: 0 22px; border-left: 1px solid var(--rule); }
.worked-grid > div:first-child { border-left: 0; padding-left: 0; }
.worked-grid .final { background: #fff; padding: 18px 22px; border: 1px solid var(--gold); }
.wk { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.he-sm { font-size: 20px; color: var(--navy); line-height: 1.6; text-align: right; margin-bottom: 6px; }
.worked-note { margin-top: 26px; font-style: italic; color: var(--muted); max-width: 780px; }

/* journey */
.journey { background: var(--parchment); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: s; margin-bottom: 40px; }
.steps li { padding: 0 18px; border-left: 1px solid var(--rule); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps span { font-family: 'Cormorant Garamond', serif; font-size: 40px; color: var(--gold); }
.steps h4 { font-size: 23px; color: var(--navy); margin: 2px 0 8px; }
.steps p { font-size: 16px; color: var(--muted); }
.journey-note { font-size: 21px; font-style: italic; max-width: 760px; margin-bottom: 60px; }
.smaller-h { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.smaller-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.smaller-grid > div { border-top: 2px solid var(--navy); padding-top: 14px; }
.smaller-grid h4 { font-size: 24px; color: var(--navy); margin-bottom: 6px; }
.smaller-grid p { font-size: 16.5px; color: var(--muted); }

/* proof */
.proof { background: var(--navy-dk); color: var(--parchment); }
.proof h2 { color: var(--parchment); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 60px; }
.stats b { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 64px; color: var(--gold-lt); line-height: 1; margin-bottom: 8px; }
.stats span { font-size: 16.5px; color: rgba(247,243,236,.75); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 60px; }
.cases article { border: 1px solid rgba(212,175,80,.3); padding: 30px; }
.case-genre { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 8px; }
.cases h4 { font-size: 25px; margin-bottom: 10px; }
.cases p { font-size: 16.5px; color: rgba(247,243,236,.78); }
.testimonial { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 3.6vw, 44px); font-style: italic; text-align: center; max-width: 820px; margin: 0 auto; }
.testimonial cite { display: block; font-family: 'EB Garamond', serif; font-size: 16px; font-style: normal; color: var(--gold-lt); margin-top: 14px; letter-spacing: .06em; }
.pending { color: #e08a6a; }

/* faq */
.faq details { border-top: 1px solid var(--rule); padding: 20px 0; max-width: 860px; }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { font-family: 'Cormorant Garamond', serif; font-size: 25px; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::after { content: '+'; float: right; color: var(--gold); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 760px; }

/* contact */
.contact { background: var(--navy); color: var(--parchment); text-align: center; }
.contact .he { font-size: 26px; color: var(--gold-lt); margin-bottom: 10px; }
.contact h2 { color: var(--parchment); }
.lead.light { color: rgba(247,243,236,.78); margin: -14px auto 36px; }
.lead.light a { color: var(--gold-lt); }
.form { display: grid; gap: 14px; max-width: 560px; margin: 0 auto; }
.form input, .form select, .form textarea { font: inherit; font-size: 17px; padding: 13px 16px; background: rgba(255,255,255,.06); color: var(--parchment); border: 1px solid rgba(212,175,80,.35); }
.form select option { color: var(--ink); }
footer { text-align: center; padding: 40px 8vw; background: var(--navy-dk); color: rgba(247,243,236,.6); font-size: 15px; }
footer .small { color: rgba(247,243,236,.45); font-style: italic; margin-top: 6px; }

/* reading page */
.page-hero { min-height: 70vh; }
.panel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.reader { background: #fff; border: 1px solid var(--rule); padding: 26px; }
.reader h4 { font-size: 23px; color: var(--navy); margin-bottom: 6px; }
.reader .q { font-style: italic; color: var(--muted); font-size: 16.5px; }
.reader.optional { background: transparent; border-style: dashed; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.two-col h3 { font-size: 30px; color: var(--navy); margin-bottom: 14px; }
.two-col ul { list-style: none; }
.two-col li { padding: 9px 0; border-top: 1px solid var(--rule); }
.sample { background: #fff; border: 1px solid var(--rule); padding: 36px; box-shadow: 0 18px 40px rgba(26,43,74,.08); }
.sample-h { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 18px; }
.verdicts { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 26px; }
.verdicts div { text-align: center; padding: 12px 6px; border: 1px solid var(--rule); font-size: 14px; }
.verdicts b { display: block; font-family: 'Cormorant Garamond', serif; font-size: 19px; }
.v-yes b { color: #3d7a4f; } .v-ny b { color: var(--gold); } .v-no b { color: #9a3b2e; }
.ctable { width: 100%; border-collapse: collapse; font-size: 16px; }
.ctable th { text-align: left; font-weight: 400; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--rule); }
.ctable td { padding: 12px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.redact { background: var(--ink); color: var(--ink); border-radius: 2px; padding: 0 4px; }
.note-box { border-left: 3px solid var(--gold); padding: 14px 20px; background: var(--parchment); font-style: italic; color: var(--muted); margin-top: 30px; }

@media (max-width: 980px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .door-grid, .principles, .cases, .smaller-grid, .two-col { grid-template-columns: 1fr; }
  .stats, .panel-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .worked-grid { grid-template-columns: 1fr; gap: 20px; }
  .worked-grid > div { border-left: 0; padding: 0; }
  .verdicts { grid-template-columns: repeat(4, 1fr); }
  section { padding: 80px 6vw; }
}

/* ═════ multi-page site additions ═════ */
nav.site-nav { position: sticky; top: 0; background: var(--cream); backdrop-filter: none; }
.nav-links > a.active, .nav-group > a.active { color: var(--gold); }
.nav-group { position: relative; }
.nav-drop { position: absolute; top: 100%; left: -24px; min-width: 300px; background: #fff; border: 1px solid var(--rule);
  box-shadow: 0 18px 40px rgba(26,43,74,.12); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s; }
.nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop { opacity: 1; visibility: visible; transform: none; }
.nav-drop a { display: block; padding: 10px 24px; text-decoration: none; }
.nav-drop a:hover { background: var(--parchment); }
.nav-drop b { display: block; font-weight: 500; color: var(--navy); }
.nav-drop span { font-size: 14px; color: var(--muted); font-style: italic; }
.menu-toggle, .menu-icon { display: none; }

/* interior page header */
.page-head { background: var(--navy); color: var(--parchment); padding: 110px 8vw 80px; position: relative; overflow: hidden; }
.page-head::before { content: 'מִפִּיהֶם'; position: absolute; right: -2vw; bottom: -60px; font-family: 'Noto Serif Hebrew', serif;
  font-size: clamp(120px, 18vw, 240px); color: rgba(255,255,255,.035); pointer-events: none; }
.page-head h1 { font-size: clamp(44px, 6vw, 76px); max-width: 920px; margin-bottom: 20px; }
.page-head h1 em { color: var(--gold-lt); }
.page-head .hero-sub { margin-bottom: 0; max-width: 720px; }
.page-head .hero-doors { justify-content: flex-start; margin-top: 36px; }

/* prose + misc */
.prose { max-width: 760px; }
.prose p { margin-bottom: 18px; }
.prose h3 { font-size: 30px; color: var(--navy); margin: 36px 0 12px; }
.alt { background: var(--parchment); }
.process { list-style: none; counter-reset: p; max-width: 880px; }
.process li { display: grid; grid-template-columns: 80px 1fr; gap: 10px 24px; padding: 26px 0; border-top: 1px solid var(--rule); }
.process li::before { counter-increment: p; content: counter(p, upper-roman); font-family: 'Cormorant Garamond', serif; font-size: 40px; color: var(--gold); line-height: 1; }
.process h3 { font-size: 27px; color: var(--navy); margin-bottom: 6px; }
.process p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--rule); padding: 32px; }
.card h3 { font-size: 27px; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 17px; }
.card .facts { list-style: none; margin-top: 14px; font-size: 16px; }
.card .facts li { padding: 7px 0; border-top: 1px solid var(--rule); }
.card .facts b { font-weight: 500; color: var(--navy); }
.card blockquote { margin-top: 16px; font-family: 'Cormorant Garamond', serif; font-size: 22px; font-style: italic; color: var(--navy); }
.never { list-style: none; columns: 2; column-gap: 50px; max-width: 900px; }
.never li { break-inside: avoid; padding: 10px 0 10px 28px; position: relative; border-top: 1px solid var(--rule); }
.never li::before { content: '✕'; position: absolute; left: 0; color: var(--gold); font-size: 15px; top: 13px; }
.cta-band { background: var(--navy-dk); color: var(--parchment); text-align: center; padding: 90px 8vw; }
.cta-band h2 { color: var(--parchment); margin-bottom: 18px; }
.cta-band p { color: rgba(247,243,236,.75); font-style: italic; font-size: 20px; margin-bottom: 30px; }
.faq-group { margin-bottom: 50px; }
.faq-group > h3 { font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-family: 'EB Garamond', serif; margin-bottom: 8px; }
.pending { color: #c0573a; font-style: normal; font-size: .75em; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; text-align: left; }
.contact-grid .form { margin: 0; }
.contact-grid h3 { font-size: 26px; color: var(--gold-lt); margin-bottom: 8px; }
.contact-grid .send-list li { padding: 10px 0; border-top: 1px solid rgba(212,175,80,.25); list-style: none; color: rgba(247,243,236,.8); }

/* footer */
.site-footer { background: var(--navy-dk); color: rgba(247,243,236,.7); padding: 70px 8vw 34px; font-size: 16px; text-align: left; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer .nav-logo { color: var(--parchment); margin-bottom: 12px; }
.foot-mission { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-style: italic; color: var(--gold-lt); margin-bottom: 8px; }
.site-footer .small { color: rgba(247,243,236,.5); font-style: normal; margin: 0; }
.foot-h { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 12px; }
.site-footer a { display: block; text-decoration: none; padding: 3px 0; color: rgba(247,243,236,.75); }
.site-footer a:hover { color: var(--gold-lt); }
.foot-legal { border-top: 1px solid rgba(212,175,80,.2); padding-top: 22px; font-size: 14px; color: rgba(247,243,236,.45); }

@media (max-width: 980px) {
  .menu-icon { display: block; width: 30px; height: 22px; position: relative; cursor: pointer; }
  .menu-icon span, .menu-icon span::before, .menu-icon span::after { position: absolute; left: 0; width: 30px; height: 2px; background: var(--navy); content: ''; }
  .menu-icon span { top: 10px; } .menu-icon span::before { top: -8px; } .menu-icon span::after { top: 8px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 6vw 24px; border-bottom: 1px solid var(--rule); }
  .menu-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a:not(.nav-cta) { display: block; padding: 12px 0; border-top: 1px solid var(--rule); }
  .nav-links .nav-cta { margin-top: 14px; text-align: center; }
  .nav-drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; background: transparent; }
  .nav-drop span { display: none; }
  .cards, .cards.three, .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .never { columns: 1; }
  .page-head { padding: 80px 6vw 60px; }
}

/* Our work: one-line case boxes, and reactions from rabbanim (2026-10-12) */
.caseboxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.casebox { background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--gold); padding: 20px 22px; }
.casebox .k { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.casebox h3 { font-size: 21px; color: var(--navy); margin-bottom: 6px; line-height: 1.2; }
.casebox p { color: var(--muted); font-size: 16px; line-height: 1.45; }
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.voice { border-top: 1px solid rgba(247,243,236,.25); padding-top: 18px; }
.voice q { display: block; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 23px; line-height: 1.3; color: var(--parchment); quotes: none; }
.voice cite { display: block; margin-top: 10px; font-style: normal; font-size: 14.5px; letter-spacing: .04em; color: var(--gold-lt); }
.voices.light .voice { border-top-color: var(--rule); }
.voices.light .voice q { color: var(--navy); }
.voices.light .voice cite { color: var(--gold); }
@media (max-width: 900px) { .caseboxes, .voices { grid-template-columns: 1fr; } }

.stats.six { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
@media (max-width: 900px) { .stats.six { grid-template-columns: repeat(2, 1fr); } }

/* languages (2026-10-12) */
.lang-switch { display: flex; gap: 14px; align-items: center; font-size: 14px; margin-inline-start: 18px; }
.lang-switch a { color: var(--muted); text-decoration: none; }
.lang-switch a.on { color: var(--gold); font-weight: 500; }
.lang-switch a:hover { color: var(--navy); }
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] .hero-sub, [dir="rtl"] .lead,
[dir="rtl"] .voice q, [dir="rtl"] .testimonial, [dir="rtl"] .card blockquote, [dir="rtl"] .stats b { font-family: 'Noto Serif Hebrew', 'Frank Ruhl Libre', serif; font-style: normal; }
[dir="rtl"] em, [dir="rtl"] i, [dir="rtl"] q, [dir="rtl"] cite { font-style: normal; }
[dir="rtl"] .eyebrow, [dir="rtl"] .door-label, [dir="rtl"] .foot-h, [dir="rtl"] .btn, [dir="rtl"] .casebox .k, [dir="rtl"] .cite { letter-spacing: 0; }
[dir="rtl"] .casebox { border-left: 1px solid var(--rule); border-right: 3px solid var(--gold); }
[dir="rtl"] .stats b { font-family: 'Cormorant Garamond', serif; }
@media (max-width: 900px) { .lang-switch { margin: 12px 0 0; flex-wrap: wrap; } }
