@font-face {
  font-family: 'Noto Serif Hebrew';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/NotoSerifHebrew-hebrew-400.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Noto Serif Hebrew';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/NotoSerifHebrew-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Serif Hebrew';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/NotoSerifHebrew-hebrew-600.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Noto Serif Hebrew';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/NotoSerifHebrew-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Serif Hebrew';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/NotoSerifHebrew-hebrew-700.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Noto Serif Hebrew';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/NotoSerifHebrew-latin-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Cormorant-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Cormorant-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/Cormorant-latin-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Lora-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Lora-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Lora-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{--maroon:#6b1f3a;--maroon-d:#4e1529;--maroon-dd:#3a0f1e;--gold:#c9a24a;--gold-l:#e6cf8f;--gold-d:#a8832e;--cream:#fbf7ef;--paper:#fffdf8;--ink:#2a1a1f;--muted:#6d5a60;
--he:'Noto Serif Hebrew','Frank Ruhl Libre','Times New Roman',serif;--display:'Cormorant Garamond','Noto Serif Hebrew',Georgia,serif;--body:'Lora','Noto Serif Hebrew',Georgia,serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.6;overflow-x:hidden}
html[lang=he] body{font-family:var(--he)}
html[lang=en] .he, html[lang=he] .en{display:none !important}
img{max-width:100%;height:auto;display:block}
a{color:var(--maroon)}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-999px;top:0;background:var(--gold);color:var(--maroon-dd);padding:8px 14px;z-index:10}
.skip:focus{left:8px;top:8px}
.he-font{font-family:var(--he)}

/* header */
.top{background:radial-gradient(120% 90% at 50% 0%,#7d2747 0%,var(--maroon) 45%,var(--maroon-d) 100%);color:#fff;position:relative;border-bottom:4px solid var(--gold)}
.top::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(45deg,rgba(230,207,143,.045) 0 2px,transparent 2px 14px);pointer-events:none}
.bar{position:relative;display:flex;justify-content:space-between;align-items:center;padding:12px 16px 0;max-width:960px;margin:0 auto}
.mini{color:var(--gold-l);font-size:15px;opacity:.9}
.lang{font:600 15px/1 var(--he);color:var(--maroon-dd);background:var(--gold-l);border:1px solid var(--gold);border-radius:999px;padding:9px 16px;cursor:pointer;min-height:40px}
.lang:hover{background:#f1dfa9}
.hero{position:relative;text-align:center;padding:10px 20px 22px;max-width:960px;margin:0 auto}
.seal{width:168px;height:168px;margin:0 auto 14px;border-radius:50%;background:#fff;padding:8px;box-shadow:0 0 0 4px var(--gold),0 0 0 9px rgba(201,162,74,.28),0 12px 30px rgba(0,0,0,.35);overflow:hidden}
.seal img{width:100%;height:100%;object-fit:cover;border-radius:50%}
h1{margin:0;display:flex;flex-direction:column;align-items:center;gap:2px}
.he-name{font-family:var(--he);font-weight:700;font-size:clamp(30px,8.6vw,46px);line-height:1.2;letter-spacing:.2px}
.he-sub{font-family:var(--he);font-weight:600;font-size:clamp(22px,6.2vw,32px);color:var(--gold-l);line-height:1.25}
.en-name{font-family:var(--display);font-weight:600;font-size:clamp(21px,5.6vw,30px);letter-spacing:.06em;margin-top:6px;color:#fff;opacity:.95}
.nesius{font-family:var(--he);color:var(--gold);font-weight:600;font-size:clamp(16px,4.4vw,20px);margin:12px auto 4px;display:inline-block;padding:4px 16px;border-top:1px solid rgba(201,162,74,.55);border-bottom:1px solid rgba(201,162,74,.55)}
.addr-line{margin:8px 0 0;font-size:15px;color:#f1e3e8;font-family:var(--body)}
.hero-cta{display:flex;gap:10px;justify-content:center;margin-top:16px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 22px;border-radius:999px;font-weight:600;text-decoration:none;font-size:16px;transition:transform .15s,background .15s;font-family:inherit}
.btn:active{transform:scale(.98)}
.btn.gold{background:linear-gradient(180deg,#e3c473,var(--gold));color:var(--maroon-dd);box-shadow:0 3px 0 var(--gold-d)}
.btn.gold:hover{background:linear-gradient(180deg,#ecd187,#d1ab55)}
.btn.ghost{color:#fff;border:1.5px solid rgba(230,207,143,.75)}
.btn.ghost:hover{background:rgba(255,255,255,.08)}
.btn.maroon{background:var(--maroon);color:#fff}
.btn.maroon:hover{background:var(--maroon-d)}
.btn.big{font-size:18px;padding:14px 34px;min-height:54px}
.nav{position:relative;display:flex;justify-content:center;gap:4px;overflow-x:auto;padding:0 10px 10px;scrollbar-width:none;max-width:960px;margin:0 auto}
.nav::-webkit-scrollbar{display:none}
.nav a{color:var(--gold-l);text-decoration:none;font-size:15px;padding:8px 11px;border-radius:8px;white-space:nowrap}
.nav a:hover{background:rgba(255,255,255,.08);color:#fff}

/* cards */
main{max-width:760px;margin:0 auto;padding:22px 14px 10px}
.card{background:var(--paper);border:1px solid #eadfca;border-radius:18px;padding:22px 20px;margin:0 0 18px;box-shadow:0 1px 0 #fff inset,0 6px 20px rgba(74,20,40,.06);position:relative;scroll-margin-top:12px}
h2{margin:0 0 4px;text-align:center;color:var(--maroon);font-family:var(--display);font-weight:700;font-size:30px;line-height:1.2}
html[lang=he] h2{font-family:var(--he);font-size:27px}
h2::after{content:"";display:block;width:64px;height:2px;margin:10px auto 0;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
.sub{text-align:center;color:var(--muted);margin:8px 0 14px;font-size:15px}

/* zmanim */
.zmanim{border-top:5px solid var(--gold)}
.tefillah{display:grid;grid-template-columns:118px 1fr;align-items:center;gap:6px 14px;padding:16px 4px;border-top:1px solid #efe5d3}
.tefillah:first-of-type{border-top:0}
.t-name{display:flex;flex-direction:column;line-height:1.15}
.t-he{font-family:var(--he);font-weight:700;font-size:25px;color:var(--maroon)}
.t-en{font-family:var(--display);font-weight:600;font-size:17px;color:var(--muted);letter-spacing:.04em}
html[lang=he] .t-en{font-size:16px}
.times{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px;direction:ltr;justify-content:flex-start}
html[lang=he] .times{justify-content:flex-end}
.times li{font-family:var(--body);font-weight:600;font-size:20px;color:var(--maroon-dd);background:#f7eedb;border:1px solid #e6d3a8;border-radius:10px;padding:6px 12px;font-variant-numeric:tabular-nums;min-width:66px;text-align:center}
.t-note{grid-column:2;margin:2px 0 0;font-size:15px;color:var(--muted)}
.t-note b{color:var(--maroon)}
.t-note.week{display:inline-block;justify-self:start;background:var(--maroon);color:var(--gold-l);border-radius:999px;padding:3px 12px;font-size:14px}
html[lang=he] .t-note.week{justify-self:start}

/* dayan */
.dayan{margin:2px auto 0;display:flex;flex-direction:column;align-items:center;gap:1px}
.d-he{font-family:var(--he);color:#f6ead0;font-weight:600;font-size:clamp(15px,4.1vw,18px)}
.d-en{font-family:var(--body);color:#e9d6dc;font-size:14px;font-style:italic}
/* shiurim */
.shiur-list{list-style:none;margin:12px 0 0;padding:0}
.shiur{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;align-items:baseline;padding:14px 4px;border-top:1px solid #efe5d3}
.shiur:first-child{border-top:0}
.s-time{font-weight:600;color:var(--maroon);font-size:19px;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:110px}
.s-what{font-size:17px;line-height:1.45}
html[lang=he] .s-what{font-size:18px}
@media (max-width:380px){.shiur{grid-template-columns:1fr}.s-time{min-width:0}}

/* shabbos */
.candles{text-align:center;margin:0 0 6px;font-size:16px;color:var(--muted)}
.candles b{color:var(--maroon);font-size:19px;margin-inline-start:6px;font-variant-numeric:tabular-nums}
.auto-note{margin:10px 0 0;text-align:center;font-size:13px;color:var(--muted)}
.donate .g-title{color:var(--gold-l)}
.donate .g-title::before{background:linear-gradient(90deg,transparent,var(--gold-l))}
.donate .g-title::after{background:linear-gradient(90deg,var(--gold-l),transparent)}
.donate .g-grid a{background:rgba(255,255,255,.08)}
.shabbos .tefillah{grid-template-columns:minmax(150px,auto) 1fr}
.shabbos .t-he{font-size:22px;white-space:nowrap}
.shabbos .t-en{white-space:nowrap}
.shabbos .t-note{grid-column:1/-1}
.times li.word{font-size:17px;white-space:nowrap}
@media (max-width:480px){.shiur{grid-template-columns:1fr;gap:2px}.s-time{min-width:0}}
.building-gallery{margin-top:24px}
@media (min-width:760px){.g-grid.g-four{grid-template-columns:repeat(4,1fr)}.g-grid.g-four .g-hero a{aspect-ratio:2.2/1}}

/* mikveh */
.mikveh{background:linear-gradient(180deg,#fffdf8,#f8f3ff00),var(--paper);text-align:center}
.mikveh::before{content:"";position:absolute;inset:0;border-radius:18px;background:radial-gradient(60% 50% at 50% 0%,rgba(201,162,74,.12),transparent 70%);pointer-events:none}
.lead{font-size:18px;margin:12px 0 14px;font-style:italic;color:var(--ink)}
html[lang=he] .lead{font-style:normal}
.hours{display:inline-flex;flex-direction:column;gap:2px;border:1.5px solid var(--gold);border-radius:14px;padding:12px 24px;background:#fffaf0}
.h-label{color:var(--muted);font-size:15px}
.h-time{font-weight:600;font-size:23px;color:var(--maroon);font-variant-numeric:tabular-nums}

/* mikveh gallery */
.gallery{margin:22px 0 0;text-align:center}
.g-title{margin:0 0 12px;font-family:var(--display);font-weight:700;font-size:23px;color:var(--maroon);display:flex;align-items:center;gap:12px}
html[lang=he] .g-title{font-family:var(--he);font-size:21px}
.g-title::before,.g-title::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--gold))}
.g-title::after{background:linear-gradient(90deg,var(--gold),transparent)}
.g-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.g-grid li{margin:0}
.g-grid a{display:block;position:relative;border-radius:12px;overflow:hidden;background:#efe6d6;aspect-ratio:4/3;box-shadow:0 2px 8px rgba(74,20,40,.10)}
.g-grid .g-hero{grid-column:1/-1}
.g-grid .g-hero a{aspect-ratio:16/10}
.g-grid img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.g-grid a:hover img{transform:scale(1.04)}
.g-grid a:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.g-hint{margin:10px 0 0;font-size:14px;color:var(--muted)}
@media (min-width:760px){
  .g-grid{grid-template-columns:repeat(3,1fr);gap:10px}
  .g-grid .g-hero a{aspect-ratio:2/1}
}
/* lightbox */
.lb{position:fixed;inset:0;z-index:100;background:rgba(20,8,12,.94);display:flex;align-items:center;justify-content:center;padding:56px 12px;touch-action:pan-y}
.lb[hidden]{display:none}
.lb-fig{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center}
.lb-img{max-width:min(100%,1600px);max-height:calc(100vh - 140px);max-height:calc(100dvh - 140px);width:auto;height:auto;border-radius:8px;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.lb-cap{color:var(--gold-l);margin-top:10px;font-size:16px;text-align:center}
.lb-btn{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;width:46px;height:46px;border-radius:50%;font-size:30px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;font-family:Georgia,serif}
.lb-btn:hover{background:rgba(201,162,74,.45)}
.lb-close{top:max(10px,env(safe-area-inset-top));inset-inline-end:10px}
.lb-prev{inset-inline-start:8px;top:50%;transform:translateY(-50%)}
.lb-next{inset-inline-end:8px;top:50%;transform:translateY(-50%)}
body.lb-open{overflow:hidden}

/* about */
.about p{margin:14px 0 0;font-size:17px;text-align:center}
html[lang=he] .about p{font-size:18px;line-height:1.75}

/* location */
.map{display:block;border-radius:14px;overflow:hidden;border:1px solid #e6d8bd;margin:16px 0 14px}
.map img{width:100%;aspect-ratio:1100/560;object-fit:cover}
address{font-style:normal;text-align:center;font-weight:600;font-size:19px;color:var(--maroon-dd);line-height:1.45}
.near{text-align:center;color:var(--muted);margin:4px 0 14px;font-size:15px}
.map-btns{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.map-btns .btn{padding:10px 8px;font-size:15px;border-radius:12px}
.attrib{text-align:center;font-size:12px;color:#9a8a8f;margin:12px 0 0}
.attrib a{color:#9a8a8f}

/* donate */
.donate{text-align:center;background:linear-gradient(160deg,var(--maroon) 0%,var(--maroon-d) 100%);color:#fff;border:0;border-bottom:4px solid var(--gold)}
.donate h2{color:var(--gold-l)}
.donate p{margin:14px auto 18px;max-width:30em;color:#f3e6ea}

/* contact */
.contact{text-align:center}
.contact p{margin:12px 0 0}
.soon{color:var(--muted);font-style:italic}

.foot{text-align:center;padding:24px 16px calc(28px + env(safe-area-inset-bottom));color:var(--muted);font-size:14px}
.foot img{width:64px;height:64px;border-radius:50%;margin:0 auto 8px;border:2px solid var(--gold);background:#fff}
.foot p{margin:2px 0}
.f-he{font-family:var(--he);font-weight:600;color:var(--maroon);font-size:16px}

@media (min-width:720px){
  .seal{width:200px;height:200px}
  main{padding-top:30px}
  .card{padding:28px 34px}
  .tefillah{grid-template-columns:150px 1fr}
  .times li{font-size:22px;min-width:76px}
}
@media (max-width:360px){
  .tefillah{grid-template-columns:96px 1fr}
  .times li{min-width:58px;font-size:18px;padding:5px 9px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.email{margin-top:16px !important}.email .btn{font-family:var(--body);letter-spacing:.01em;word-break:break-all}

.building{position:relative;margin:4px auto 0;max-width:720px;padding:0 14px 16px}
.building img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:60% 45%;border-radius:16px;border:3px solid var(--gold);box-shadow:0 14px 34px rgba(0,0,0,.35)}
.building figcaption{position:absolute;left:28px;right:28px;bottom:28px;text-align:center;font-size:14px;color:#fff;background:rgba(58,15,30,.72);border:1px solid rgba(230,207,143,.6);border-radius:999px;padding:5px 12px;width:max-content;max-width:calc(100% - 56px);margin:0 auto}
.he-sub{order:0}
.don-img{width:100%;max-width:420px;margin:0 auto 18px;border-radius:12px;border:2px solid var(--gold);aspect-ratio:16/10;object-fit:cover;object-position:60% 40%}
@media (min-width:720px){.building img{aspect-ratio:16/9}}
@media (max-width:719px){.seal{width:128px;height:128px;padding:6px}}

@media (max-width:560px){
  .nav{flex-wrap:wrap;overflow:visible;gap:2px 0;padding:0 6px 10px}
  .nav a{padding:7px 9px;font-size:14.5px}
  .tefillah{grid-template-columns:1fr;gap:10px;padding:16px 2px}
  .t-name{flex-direction:row;align-items:baseline;gap:10px}
  html[lang=he] .t-name{justify-content:flex-start}
  .t-note{grid-column:1}
  .times{gap:8px}
  .times li{flex:1 1 0;min-width:0;max-width:110px;font-size:21px;padding:7px 6px}
  html[lang=he] .times{flex-direction:row-reverse;justify-content:flex-start}
  .map-btns .btn{padding:10px 4px;font-size:14px;white-space:nowrap}
}
@media (min-width:720px){.building img{object-position:60% 30%}}
.skip{left:8px !important;right:auto;transform:translateY(-300%)}.skip:focus{transform:none;top:8px}
.shabbos .t-name{flex-direction:column;align-items:flex-start;gap:0}

/* chesed kitchen — Motty's Kuch */
.kitchen{text-align:center}
.kitchen::before{content:"";position:absolute;inset:0;border-radius:18px;background:radial-gradient(60% 50% at 50% 0%,rgba(201,162,74,.12),transparent 70%);pointer-events:none}
.k-photo{margin:14px 0 4px}.k-photo img{width:100%;border-radius:14px;border:2px solid var(--gold);aspect-ratio:3/2;object-fit:cover}
.k-book{display:inline-flex;flex-direction:column;align-items:center;gap:10px;border:1.5px solid var(--gold);border-radius:14px;padding:14px 20px 16px;background:#fffaf0;max-width:100%;position:relative}
.k-book p{margin:0}
.k-label{color:var(--muted);font-size:16px}
html[lang=he] .k-label{font-size:17px}
.k-call .btn{gap:8px;font-variant-numeric:tabular-nums;white-space:nowrap;font-family:var(--body)}
.k-ico{font-size:20px;line-height:1}
.k-donate{margin:16px 0 0}
@media (max-width:360px){.k-call .btn{padding:12px 20px;font-size:17px}}
