:root {
  --ink: #080b12;
  --ink-2: #0e1420;
  --ink-3: #151d2b;
  --parchment: #eee2c4;
  --parchment-soft: #f7efd9;
  --gold: #d6ad58;
  --gold-bright: #f2ce79;
  --copper: #9e673f;
  --blue: #6fc8d4;
  --blue-deep: #173c4b;
  --stone: #a89b82;
  --white: #fffdf8;
  --muted: #aab1bc;
  --line: rgba(255,255,255,.12);
  --line-gold: rgba(214,173,88,.28);
  --shadow: 0 24px 70px rgba(0,0,0,.35);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --shell: min(1180px, calc(100vw - 40px));
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 5%, rgba(52,119,126,.18), transparent 29rem),
    radial-gradient(circle at 5% 35%, rgba(166,111,54,.12), transparent 25rem),
    var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img, svg { max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
main { min-height: 60vh; }
section { position: relative; }

.site-notice { background: linear-gradient(90deg, #8a5b2b, #c49743 45%, #8a5b2b); color: #171008; font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.site-notice__inner { min-height: 35px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.site-notice a { text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 80; backdrop-filter: blur(20px); background: rgba(8,11,18,.85); border-bottom: 1px solid var(--line); }
.site-header__inner { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-gold); border-radius: 50%; background: radial-gradient(circle, rgba(214,173,88,.15), transparent 65%); box-shadow: inset 0 0 20px rgba(214,173,88,.08); }
.brand__mark svg { width: 29px; height: 29px; fill: none; stroke: var(--gold-bright); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.brand__mark circle { fill: var(--gold-bright); stroke: none; }
.brand__text { display: grid; line-height: 1.05; }
.brand__hebrew { color: var(--gold-bright); font-family: var(--font-serif); font-size: .9rem; letter-spacing: .08em; }
.brand__english { text-transform: uppercase; letter-spacing: .17em; font-size: .82rem; font-weight: 800; margin-top: 5px; }
.brand--compact .brand__mark { width: 39px; height: 39px; }
.desktop-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 12px; border-radius: 999px; color: #d7dce3; background: none; border: 0; cursor: pointer; font-size: .88rem; font-weight: 650; transition: .2s ease; white-space: nowrap; }
.nav-link:hover, .nav-link.is-active, .nav-item.is-open > .nav-link { color: var(--white); background: rgba(255,255,255,.07); }
.nav-link--accent { color: var(--gold-bright); }
.nav-link--button { border: 1px solid var(--gold); color: #191108; background: linear-gradient(135deg, var(--gold-bright), #bb8735); padding-inline: 17px; box-shadow: 0 8px 24px rgba(214,173,88,.15); }
.nav-link--button:hover { color: #191108; background: linear-gradient(135deg, #f9dc93, #cc9a42); transform: translateY(-1px); }
.chevron { font-size: 1rem; transition: transform .2s ease; }
.nav-item.is-open .chevron { transform: rotate(180deg); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff5d5d; box-shadow: 0 0 0 5px rgba(255,93,93,.12); animation: pulse 1.8s infinite; }
.nav-dropdown { position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px); width: 320px; padding: 10px; border: 1px solid var(--line-gold); border-radius: 16px; background: rgba(13,18,28,.98); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s ease; }
.nav-item.is-open .nav-dropdown { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.nav-dropdown__item { display: grid; gap: 2px; padding: 11px 13px; border-radius: 10px; }
.nav-dropdown__item:hover, .nav-dropdown__item.is-active { background: rgba(214,173,88,.1); }
.nav-dropdown__item span { font-weight: 750; }
.nav-dropdown__item small { color: var(--muted); font-size: .75rem; }
.menu-toggle { display: none; width: 43px; height: 43px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 18px; height: 1px; background: var(--white); }
.mobile-menu { display: none; border-top: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .3s ease; background: rgba(8,11,18,.98); }
.mobile-menu__inner { width: var(--shell); margin: 0 auto; padding: 18px 0 28px; display: grid; gap: 4px; }
.mobile-menu a, .mobile-menu summary { display: block; padding: 11px 5px; font-weight: 700; cursor: pointer; }
.mobile-menu details div { padding: 0 0 8px 16px; display: grid; }
.mobile-menu details a { display: grid; gap: 1px; }
.mobile-menu small { color: var(--muted); font-weight: 400; }
.mobile-menu__link--button { color: var(--gold-bright); }

.hero { min-height: 760px; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: "שמע"; position: absolute; right: -2vw; top: 3%; font-family: var(--font-serif); font-size: clamp(14rem, 32vw, 34rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(214,173,88,.08); opacity: .75; direction: rtl; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,11,18,.96) 0%, rgba(8,11,18,.82) 46%, rgba(8,11,18,.2) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 28%); pointer-events: none; }
.hero__scroll { position: absolute; width: 48%; max-width: 690px; min-width: 470px; height: 570px; right: -6%; top: 52%; transform: translateY(-50%) rotate(-7deg); border-radius: 49% 12% 48% 14%; background: linear-gradient(100deg, #7e5f39 0%, #d9bd7d 10%, #f2e2b8 27%, #c49a5c 75%, #6e4b29 100%); box-shadow: -30px 40px 100px rgba(0,0,0,.55), inset 0 0 70px rgba(73,41,13,.55); opacity: .34; filter: saturate(.75); }
.hero__scroll::before { content: "שמע ישראל יהוה אלהינו יהוה אחד תורה מצוה אור דרך אמת חיים"; position: absolute; inset: 70px 80px; color: rgba(67,42,18,.68); font-family: var(--font-serif); font-size: 2rem; line-height: 2.15; direction: rtl; text-align: justify; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; padding: 95px 0 120px; }
.hero__content { width: min(730px, 100%); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-bright); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 850; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero h1, .page-hero h1 { margin: 18px 0 22px; font-family: var(--font-serif); font-size: clamp(3.7rem, 8vw, 7.3rem); line-height: .93; font-weight: 500; letter-spacing: -.055em; }
.hero h1 em { display: block; color: var(--gold-bright); font-style: normal; }
.hero__lead, .page-hero__lead { color: #c6ccd5; max-width: 660px; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero__actions, .button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 19px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--white); font-weight: 800; cursor: pointer; transition: .2s ease; }
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.3); }
.button--gold { color: #171006; background: linear-gradient(135deg, #f4d589, #c4933e); border-color: transparent; box-shadow: 0 15px 40px rgba(214,173,88,.18); }
.button--secondary { background: transparent; border-color: var(--line-gold); color: var(--gold-bright); }
.button--small { min-height: 40px; padding-inline: 15px; font-size: .86rem; }
.hero__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(620px, 100%); margin-top: 58px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero__meta div { padding: 18px 18px 18px 0; }
.hero__meta div + div { border-left: 1px solid var(--line); padding-left: 18px; }
.hero__meta span { display: block; color: var(--muted); font-size: .71rem; text-transform: uppercase; letter-spacing: .13em; }
.hero__meta strong { display: block; margin-top: 3px; font-family: var(--font-serif); font-size: 1.05rem; font-weight: 500; }

.section { padding: 110px 0; }
.section--tight { padding: 75px 0; }
.section--border { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--parchment { color: #21190f; background: var(--parchment); overflow: hidden; }
.section--parchment::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(83,56,23,.12) .7px, transparent .7px), linear-gradient(90deg, rgba(106,69,27,.05), transparent 20%, transparent 80%, rgba(106,69,27,.05)); background-size: 9px 9px, auto; opacity: .75; }
.section--stone { background: linear-gradient(140deg, #807560, #aa9f88 48%, #625a4c); color: #17130d; overflow: hidden; }
.section__heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 42px; }
.section__heading > div { max-width: 760px; }
.section__heading h2 { margin: 12px 0 0; font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; font-weight: 500; letter-spacing: -.045em; }
.section__heading p { color: var(--muted); max-width: 560px; }
.section--parchment .section__heading p, .section--stone .section__heading p { color: #514534; }
.section--parchment .eyebrow, .section--stone .eyebrow { color: #77511f; }
.section--parchment .eyebrow::before, .section--stone .eyebrow::before { background: #8f652a; }

.weekly-feature { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 24px; }
.weekly-card { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 55px); border: 1px solid rgba(81,52,18,.22); border-radius: var(--radius-lg); background: rgba(255,250,235,.54); box-shadow: 0 24px 60px rgba(74,49,18,.15); }
.weekly-card::after { content: "א"; position: absolute; right: -15px; bottom: -80px; color: rgba(80,50,18,.08); font-family: var(--font-serif); font-size: 17rem; }
.weekly-card__top { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.status-pill { border: 1px solid rgba(80,50,18,.25); border-radius: 999px; padding: 7px 12px; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.weekly-card h3 { margin: 24px 0 0; font-family: var(--font-serif); font-size: clamp(3rem, 7vw, 6.4rem); line-height: .92; font-weight: 500; letter-spacing: -.055em; }
.weekly-card__hebrew { display: block; margin-top: 10px; direction: rtl; text-align: left; color: #6f4d1c; font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.3rem); }
.weekly-card__summary { max-width: 720px; margin: 28px 0; font-size: 1.05rem; }
.reading-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.reading-box { min-height: 116px; padding: 20px; border: 1px solid rgba(79,51,18,.18); border-radius: 14px; background: rgba(255,255,255,.32); }
.reading-box span { display: block; color: #7c5b2b; font-size: .68rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 850; }
.reading-box strong { display: block; margin-top: 7px; font-family: var(--font-serif); font-size: 1.24rem; line-height: 1.3; }
.weekly-side { display: grid; gap: 16px; }
.info-panel { padding: 25px; border-radius: var(--radius); border: 1px solid rgba(82,55,21,.2); background: rgba(255,250,235,.46); }
.info-panel h3 { margin: 8px 0 10px; font-family: var(--font-serif); font-size: 1.75rem; line-height: 1.05; }
.info-panel p { margin: 0; }
.focus-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.focus-meta span { padding: 5px 10px; border-radius: 999px; background: rgba(72,48,18,.1); font-size: .8rem; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.topic-chip { display: inline-flex; border: 1px solid rgba(83,55,20,.24); border-radius: 999px; padding: 7px 11px; font-size: .77rem; font-weight: 750; }

.return-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.return-card, .path-card { position: relative; overflow: hidden; min-height: 260px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, rgba(255,255,255,.065), rgba(255,255,255,.018)); transition: .25s ease; }
.return-card::before, .path-card::before { content: ""; position: absolute; width: 220px; height: 220px; left: calc(var(--x, 50%) - 110px); top: calc(var(--y, 50%) - 110px); background: radial-gradient(circle, rgba(214,173,88,.16), transparent 68%); opacity: 0; transition: opacity .2s; pointer-events: none; }
.return-card:hover, .path-card:hover { border-color: var(--line-gold); transform: translateY(-5px); }
.return-card:hover::before, .path-card:hover::before { opacity: 1; }
.return-card__number { display: block; color: var(--gold); font-family: var(--font-serif); font-size: 1.2rem; }
.return-card h3, .path-card h3 { margin: 48px 0 10px; font-family: var(--font-serif); font-size: 1.65rem; font-weight: 500; }
.return-card p, .path-card p { color: var(--muted); margin: 0; font-size: .92rem; }
.return-card__arrow { position: absolute; right: 22px; bottom: 20px; color: var(--gold-bright); font-size: 1.4rem; }

.live-band { padding: 80px 0; background: linear-gradient(130deg, #111927, #0e2229 60%, #24180d); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.live-band__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 45px; align-items: center; }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 30px; }
.countdown div { padding: 17px 8px; text-align: center; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.035); }
.countdown strong { display: block; color: var(--gold-bright); font-family: var(--font-serif); font-size: 2rem; line-height: 1; }
.countdown span { display: block; color: var(--muted); margin-top: 6px; font-size: .67rem; text-transform: uppercase; letter-spacing: .12em; }
.live-screen { position: relative; min-height: 390px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line-gold); border-radius: 25px; background: radial-gradient(circle at 50% 35%, rgba(68,145,153,.23), transparent 28%), #080c13; box-shadow: var(--shadow); }
.live-screen::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 17px; }
.live-screen__center { text-align: center; max-width: 430px; padding: 40px; z-index: 2; }
.live-screen__icon { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #170d08; background: linear-gradient(135deg, #ff7b68, #e13f48); box-shadow: 0 0 0 13px rgba(234,75,77,.1); font-size: 1.3rem; }

.kids-preview { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; }
.kids-orbit { position: relative; min-height: 530px; display: grid; place-items: center; }
.kids-orbit__center { width: 230px; height: 230px; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 30px; background: #1a2130; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 30px 70px rgba(22,16,9,.28); color: var(--white); }
.kids-orbit__center strong { font-family: var(--font-serif); font-size: 2rem; line-height: 1; }
.orbit-item { position: absolute; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; padding: 16px; text-align: center; color: #24180e; background: rgba(255,250,235,.7); border: 1px solid rgba(70,46,19,.22); box-shadow: 0 16px 35px rgba(63,42,17,.17); font-weight: 800; font-size: .86rem; }
.orbit-item:nth-child(2) { top: 4%; left: 15%; }
.orbit-item:nth-child(3) { top: 8%; right: 12%; }
.orbit-item:nth-child(4) { bottom: 8%; right: 8%; }
.orbit-item:nth-child(5) { bottom: 3%; left: 13%; }
.kids-copy h2 { margin: 14px 0 20px; font-family: var(--font-serif); font-size: clamp(2.8rem, 5vw, 5rem); line-height: .96; font-weight: 500; }
.kids-copy p { color: #4e432f; font-size: 1.05rem; }

.testimony-strip { display: grid; grid-template-columns: .65fr 1.35fr; gap: 45px; align-items: center; }
.testimony-quote { position: relative; padding: 45px; border: 1px solid var(--line-gold); border-radius: var(--radius-lg); background: linear-gradient(140deg, rgba(214,173,88,.08), rgba(255,255,255,.02)); }
.testimony-quote::before { content: "“"; position: absolute; top: -25px; left: 25px; color: var(--gold); font-family: var(--font-serif); font-size: 7rem; line-height: 1; opacity: .45; }
.testimony-quote p { position: relative; margin: 0; font-family: var(--font-serif); font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.35; }
.testimony-quote small { display: block; margin-top: 20px; color: var(--muted); }

.page-hero { min-height: 470px; display: grid; align-items: end; padding: 100px 0 75px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before { content: attr(data-hebrew); position: absolute; right: 2%; top: 10%; color: transparent; -webkit-text-stroke: 1px rgba(214,173,88,.1); font-family: var(--font-serif); font-size: clamp(8rem, 23vw, 20rem); direction: rtl; line-height: 1; }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(3.5rem, 8vw, 6.5rem); max-width: 920px; }
.breadcrumbs { display: flex; gap: 8px; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.breadcrumbs a:hover { color: var(--gold-bright); }

.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.four-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.content-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.035); }
.content-card h3 { margin: 10px 0; font-family: var(--font-serif); font-size: 1.7rem; font-weight: 500; line-height: 1.1; }
.content-card p { color: var(--muted); }
.icon-box { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid var(--line-gold); border-radius: 13px; color: var(--gold-bright); background: rgba(214,173,88,.06); }
.large-copy { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.35; color: #e8e1d4; }
.prose { max-width: 780px; }
.prose h2 { margin: 55px 0 15px; font-family: var(--font-serif); font-size: 2.5rem; font-weight: 500; }
.prose p, .prose li { color: #c8ced6; }
.prose strong { color: var(--white); }
.rule-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rule-row { display: grid; grid-template-columns: 75px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.rule-row > span { color: var(--gold); font-family: var(--font-serif); font-size: 1.2rem; }
.rule-row h3 { margin: 0 0 6px; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; }
.rule-row p { margin: 0; color: var(--muted); }

.weekly-dashboard { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; }
.scripture-panel { padding: 35px; border: 1px solid var(--line-gold); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(214,173,88,.09), rgba(255,255,255,.025)); }
.scripture-panel__head { display: flex; justify-content: space-between; gap: 15px; }
.scripture-panel h2 { margin: 18px 0 0; font-family: var(--font-serif); font-size: clamp(3.2rem, 6vw, 5.6rem); line-height: .95; font-weight: 500; }
.scripture-panel__hebrew { color: var(--gold-bright); font-family: var(--font-serif); font-size: 1.7rem; direction: rtl; text-align: left; }
.scripture-panel__readings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 30px; }
.dark-reading { padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: rgba(0,0,0,.18); }
.dark-reading span { color: var(--muted); font-size: .69rem; text-transform: uppercase; letter-spacing: .12em; }
.dark-reading strong { display: block; margin-top: 6px; font-family: var(--font-serif); font-size: 1.25rem; }
.weekly-sidebar { display: grid; gap: 14px; }
.weekly-sidebar .content-card { min-height: 150px; }
.weekly-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 35px 0 20px; }
.weekly-tab { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); cursor: pointer; }
.weekly-tab:hover { border-color: var(--line-gold); }

.age-selector { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.age-button { padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.035); cursor: pointer; font-weight: 800; }
.age-button.is-selected { color: #1d1308; background: var(--gold-bright); border-color: transparent; }
.lesson-shell { padding: clamp(22px, 4vw, 45px); border: 1px solid var(--line-gold); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(214,173,88,.09), rgba(111,200,212,.04)); }
.lesson-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.lesson-header h2 { margin: 9px 0 0; font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4.3rem); line-height: 1; font-weight: 500; }
.lesson-badge { padding: 7px 11px; border-radius: 999px; color: var(--blue); border: 1px solid rgba(111,200,212,.3); font-size: .72rem; font-weight: 800; }
.lesson-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.lesson-card { min-height: 220px; padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); }
.lesson-card--gold { color: #1d150b; background: var(--parchment); }
.lesson-card > span { color: var(--gold); font-family: var(--font-serif); font-size: 1.2rem; }
.lesson-card--gold > span { color: #7c5525; }
.lesson-card h3 { margin: 36px 0 8px; font-family: var(--font-serif); font-size: 1.55rem; font-weight: 500; }
.lesson-card p { color: var(--muted); }
.lesson-card--gold p { color: #4f412d; }
.lesson-card strong { font-size: .86rem; color: #e4d8c4; }
.lesson-card--gold strong { color: #302517; }
.teacher-strip { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 14px; padding: 25px; border: 1px solid var(--line); border-radius: 16px; }
.teacher-strip h3 { margin: 7px 0 5px; font-family: var(--font-serif); font-size: 1.65rem; font-weight: 500; }
.teacher-strip p { margin: 0; color: var(--muted); }

.wall-section { overflow: hidden; }
.wall-stage { position: relative; min-height: 580px; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.15); background: #978b73; box-shadow: var(--shadow); }
.wall-stage::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 85px, rgba(47,39,29,.42) 86px 90px), repeating-linear-gradient(90deg, transparent 0 165px, rgba(47,39,29,.38) 166px 171px); filter: url(#rough); }
.wall-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.24), transparent 30%, rgba(35,27,19,.28)), radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 18%); box-shadow: inset 0 0 100px rgba(40,28,15,.52); }
.wall-slot { position: absolute; left: 50%; top: 46%; z-index: 4; width: 140px; height: 8px; transform: translate(-50%, -50%) rotate(-2deg); border-radius: 50%; background: #292219; box-shadow: 0 4px 5px rgba(255,255,255,.08), inset 0 2px 4px #090806; }
.wall-message { position: absolute; left: 50%; top: 11%; z-index: 4; transform: translateX(-50%); width: min(620px, calc(100% - 30px)); text-align: center; color: #1e180f; }
.wall-message h2 { margin: 12px 0; font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .98; font-weight: 500; }
.wall-message p { max-width: 570px; margin: 0 auto; }
.prayer-form-card { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 5; width: min(800px, calc(100% - 30px)); padding: 22px; border-radius: 18px; background: rgba(16,19,24,.94); color: var(--white); box-shadow: 0 18px 60px rgba(0,0,0,.42); backdrop-filter: blur(16px); }
.form-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 10px; }
.field { display: grid; gap: 6px; }
.field label { color: #cfd4dc; font-size: .76rem; font-weight: 750; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 12px 13px; color: var(--white); background: rgba(255,255,255,.055); outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,173,88,.1); }
.field textarea { min-height: 105px; resize: vertical; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; }
.form-status { color: var(--muted); font-size: .8rem; }
.flying-note { position: absolute; z-index: 8; left: 50%; bottom: 230px; width: 240px; min-height: 145px; transform: translateX(-50%); padding: 24px; color: #302418; background: #f4e8c8; box-shadow: 0 15px 35px rgba(0,0,0,.3); transition: all .65s cubic-bezier(.22,.8,.25,1); }
.flying-note::before, .flying-note::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(94,63,26,.22); transition: .6s ease; }
.flying-note.is-folding { width: 125px; min-height: 78px; transform: translateX(-50%) rotate(4deg) scale(.78); }
.flying-note.is-folding span { opacity: .2; }
.flying-note.is-placed { left: 50%; bottom: 52%; opacity: 0; transform: translate(-50%, 50%) rotate(-3deg) scale(.28); }
.prayer-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prayer-card { min-height: 220px; padding: 24px; color: #302316; background: #efe2c2; border-radius: 4px 14px 4px 13px; box-shadow: 0 15px 35px rgba(0,0,0,.18); transform: rotate(var(--tilt, -1deg)); }
.prayer-card:nth-child(2n) { --tilt: 1deg; }
.prayer-card:nth-child(3n) { --tilt: -.5deg; }
.prayer-card__top { display: flex; justify-content: space-between; gap: 10px; color: #6e5534; font-size: .76rem; }
.prayer-card p { min-height: 92px; font-family: var(--font-serif); font-size: 1.12rem; line-height: 1.45; }
.pray-button { border: 0; border-top: 1px solid rgba(76,50,23,.18); padding: 12px 0 0; background: transparent; color: #64491f; cursor: pointer; font-weight: 800; }
.pray-button.is-prayed { color: #2e6d64; }
.empty-state { grid-column: 1/-1; padding: 35px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

.live-room { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 18px; }
.live-frame { min-height: 620px; border: 1px solid var(--line-gold); border-radius: var(--radius-lg); overflow: hidden; background: #030508; box-shadow: var(--shadow); }
.live-frame iframe { width: 100%; height: 620px; border: 0; }
.live-placeholder { min-height: 620px; display: grid; align-content: center; justify-items: center; text-align: center; padding: 45px; background: radial-gradient(circle at 50% 38%, rgba(111,200,212,.12), transparent 24%); }
.live-placeholder h2 { margin: 10px 0; font-family: var(--font-serif); font-size: clamp(2.6rem, 5vw, 4.3rem); line-height: 1; font-weight: 500; }
.live-placeholder p { color: var(--muted); max-width: 550px; }
.live-ring { width: 90px; height: 90px; display: grid; place-items: center; border: 1px solid rgba(255,93,93,.4); border-radius: 50%; box-shadow: 0 0 0 12px rgba(255,93,93,.06), 0 0 0 25px rgba(255,93,93,.025); }
.live-ring i { width: 18px; height: 18px; background: #ff5d5d; border-radius: 50%; animation: pulse 1.5s infinite; }
.live-tools { display: grid; gap: 12px; }
.live-tool { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); }
.live-tool h3 { margin: 6px 0; font-family: var(--font-serif); font-size: 1.45rem; font-weight: 500; }
.live-tool p { margin: 0; color: var(--muted); font-size: .87rem; }

.word-card { padding: clamp(30px, 6vw, 60px); border-radius: var(--radius-lg); color: #1f170d; background: var(--parchment); display: grid; grid-template-columns: .6fr 1.4fr; gap: 45px; align-items: center; box-shadow: var(--shadow); }
.word-card__hebrew { text-align: center; font-family: var(--font-serif); font-size: clamp(5rem, 12vw, 10rem); line-height: .9; direction: rtl; color: #77501d; }
.word-card h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; line-height: 1; }
.word-card p { color: #50422f; }
.connection-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.connection-controls button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.035); cursor: pointer; }
.connection-controls button.is-selected { color: #1a1208; background: var(--gold-bright); border-color: transparent; }
.connection-output { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.connection-node { position: relative; min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; padding: 17px; border: 1px solid var(--line-gold); border-radius: 14px; background: rgba(214,173,88,.05); }
.connection-node:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; z-index: 3; color: var(--gold); }
.connection-node span { color: var(--gold); font-family: var(--font-serif); }
.connection-node strong { font-family: var(--font-serif); font-weight: 500; }

.calendar-list { display: grid; gap: 7px; }
.calendar-row { display: grid; grid-template-columns: 100px 1fr auto; gap: 20px; align-items: center; padding: 17px 20px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.028); }
.calendar-row time { color: var(--gold-bright); font-family: var(--font-serif); }
.calendar-row div { display: grid; }
.calendar-row div span { color: var(--muted); font-size: .82rem; }
.calendar-type { padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .7rem; text-transform: uppercase; }

.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.path-card { min-height: 230px; }
.path-card h3 { margin-top: 35px; }
.path-icon { color: var(--gold-bright); font-size: 1.45rem; }
.library-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.library-toolbar input, .library-toolbar select { min-height: 45px; padding: 0 14px; color: var(--white); background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 999px; }
.library-toolbar input { flex: 1 1 280px; }
.media-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.035); }
.media-card__visual { min-height: 190px; display: grid; place-items: center; color: var(--gold-bright); background: radial-gradient(circle, rgba(214,173,88,.17), transparent 28%), linear-gradient(135deg, #17202e, #0c111a); font-size: 2rem; }
.media-card__body { padding: 22px; }
.media-card__body h3 { margin: 5px 0 10px; font-family: var(--font-serif); font-size: 1.55rem; font-weight: 500; }
.media-card__body p { color: var(--muted); font-size: .88rem; }

.cta-panel { position: relative; overflow: hidden; padding: clamp(35px, 7vw, 80px); border: 1px solid var(--line-gold); border-radius: var(--radius-lg); background: linear-gradient(130deg, rgba(214,173,88,.12), rgba(111,200,212,.06), rgba(255,255,255,.02)); }
.cta-panel::after { content: "אחד"; position: absolute; right: -25px; bottom: -60px; color: transparent; -webkit-text-stroke: 1px rgba(214,173,88,.1); font-family: var(--font-serif); font-size: 11rem; direction: rtl; }
.cta-panel h2 { position: relative; z-index: 2; margin: 12px 0; max-width: 830px; font-family: var(--font-serif); font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: .95; font-weight: 500; }
.cta-panel p, .cta-panel .button-row { position: relative; z-index: 2; }
.cta-panel p { max-width: 650px; color: var(--muted); }

.site-footer { position: relative; padding: 80px 0 25px; border-top: 1px solid var(--line); background: #06080d; overflow: hidden; }
.site-footer__glow { position: absolute; width: 700px; height: 300px; left: -200px; bottom: -180px; background: radial-gradient(ellipse, rgba(214,173,88,.13), transparent 65%); }
.site-footer__grid { position: relative; display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 35px; }
.site-footer__identity p { max-width: 290px; color: var(--muted); }
.footer-scripture { color: var(--gold-bright); font-family: var(--font-serif); }
.footer-column { display: flex; flex-direction: column; gap: 9px; }
.footer-column h3 { margin: 0 0 6px; color: var(--gold-bright); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; }
.footer-column a, .footer-column p { margin: 0; color: var(--muted); font-size: .88rem; }
.footer-column a:hover { color: var(--white); }
.site-footer__bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--line); color: #7f8792; font-size: .72rem; }
.hebcal-credit { text-align: right; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.74); opacity: .65; } }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { display: block; }
  .menu-open .mobile-menu { max-height: 80vh; overflow-y: auto; }
  .return-grid, .four-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .site-footer__identity { grid-row: span 2; }
  .connection-output { grid-template-columns: repeat(3, 1fr); }
  .connection-node:nth-child(3)::after { display: none; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .site-notice__inner { justify-content: flex-start; overflow: auto; white-space: nowrap; }
  .hero { min-height: 700px; }
  .hero__scroll { right: -45%; opacity: .22; }
  .hero__meta { grid-template-columns: 1fr; }
  .hero__meta div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .weekly-feature, .weekly-dashboard, .live-band__grid, .kids-preview, .testimony-strip, .two-column, .live-room, .word-card { grid-template-columns: 1fr; }
  .weekly-card h3 { font-size: clamp(3rem, 14vw, 5.5rem); }
  .three-grid, .path-grid, .lesson-grid, .prayer-list { grid-template-columns: repeat(2, 1fr); }
  .live-room { gap: 14px; }
  .live-frame, .live-placeholder { min-height: 480px; }
  .live-frame iframe { height: 480px; }
  .word-card__hebrew { text-align: left; }
  .connection-output { grid-template-columns: repeat(2, 1fr); }
  .connection-node:nth-child(3)::after { display: block; }
  .connection-node:nth-child(2n)::after { display: none; }
  .wall-stage { min-height: 700px; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__identity { grid-column: 1 / -1; grid-row: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .hebcal-credit { text-align: left; }
}

@media (max-width: 560px) {
  .site-header__inner { min-height: 72px; }
  .brand__mark { width: 39px; height: 39px; }
  .brand__english { font-size: .72rem; }
  .hero__inner { padding: 70px 0 90px; }
  .hero h1, .page-hero h1 { font-size: clamp(3.25rem, 18vw, 5rem); }
  .section { padding: 78px 0; }
  .section__heading { align-items: flex-start; flex-direction: column; }
  .return-grid, .four-grid, .three-grid, .path-grid, .lesson-grid, .prayer-list { grid-template-columns: 1fr; }
  .reading-grid, .scripture-panel__readings { grid-template-columns: 1fr; }
  .return-card { min-height: 220px; }
  .kids-orbit { min-height: 440px; transform: scale(.87); margin-inline: -35px; }
  .lesson-header, .teacher-strip, .form-actions { align-items: flex-start; flex-direction: column; }
  .prayer-form-card { bottom: 14px; padding: 15px; }
  .wall-message { top: 7%; }
  .wall-slot { top: 38%; }
  .flying-note { bottom: 280px; }
  .calendar-row { grid-template-columns: 75px 1fr; }
  .calendar-type { display: none; }
  .connection-output { grid-template-columns: 1fr; }
  .connection-node::after { display: none !important; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media print {
  [data-site-header], [data-site-footer], .page-hero, .age-selector, .teacher-strip .button, .site-notice { display: none !important; }
  body { color: #111; background: #fff; }
  .section { padding: 20px 0; }
  .lesson-shell { border: 0; padding: 0; }
  .lesson-grid { grid-template-columns: repeat(2, 1fr); }
  .lesson-card { color: #111; background: #fff; border-color: #bbb; break-inside: avoid; }
  .lesson-card p, .lesson-card strong { color: #333; }
}
