/* ============================================================
   Бейт Ха-Керем — стили сайта
   Палитра: иерусалимский камень, вино (керем — виноградник), золото, тхелет (синие полосы талита)
   ============================================================ */
:root {
  --ink: #16120f; --ink-2: #231c17; --ink-3: #3a2f27;
  --paper: #fbf8f2; --stone: #f3ecdf; --stone-2: #e8ddca; --stone-3: #d9cbb2;
  --wine: #7b2236; --wine-2: #9a2f47; --wine-3: #5c1828;
  --gold: #c09650; --gold-2: #dfbf7c; --gold-3: #a47c39;
  --techelet: #234a83; --olive: #66713d;
  --text: #2a221c; --muted: #6e6357; --muted-light: #b9ab97;
  --line: rgba(22, 18, 15, .12); --line-light: rgba(255, 248, 235, .16);
  --serif: 'Cormorant Garamond', 'Frank Ruhl Libre', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --he: 'Frank Ruhl Libre', 'FrankRuehl', 'David', 'Times New Roman', serif;
  --radius: 18px; --radius-s: 10px;
  --shadow: 0 18px 50px -18px rgba(40, 22, 10, .35);
  --ease: cubic-bezier(.22, .8, .2, 1); --ease-in: cubic-bezier(.7, 0, .84, 0);
  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.7 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-2); color: var(--ink); }
.skip { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { clip-path: none; width: auto; height: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding: clamp(72px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: #efe6d6; }
.section--wine { background: radial-gradient(120% 140% at 10% 0%, var(--wine-2), var(--wine-3) 70%); color: #f8eee2; }
.section--dark .muted, .section--wine .muted { color: var(--muted-light); }

/* ---------- типографика ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; color: inherit; }
h1 { font-size: clamp(48px, 8.6vw, 128px); }
h2 { font-size: clamp(38px, 5.4vw, 76px); }
h3 { font-size: clamp(26px, 2.6vw, 36px); }
h4 { font-size: 24px; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.6; color: var(--muted); max-width: 46em; }
.section--dark .lead, .section--wine .lead { color: #d9ccb8; }
.muted { color: var(--muted); }
.he { font-family: var(--he); direction: rtl; unicode-bidi: isolate; }
.italic { font-style: italic; }
.gold { color: var(--gold); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font: 600 12.5px/1 var(--sans); text-transform: uppercase; letter-spacing: .22em; color: var(--gold-3);
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.eyebrow .he { font: 500 17px/1 var(--he); letter-spacing: 0; text-transform: none; color: var(--wine); }
.section--dark .eyebrow, .section--wine .eyebrow { color: var(--gold-2); }
.section--dark .eyebrow .he, .section--wine .eyebrow .he { color: var(--gold-2); opacity: .85; }
.title-xl em, h2 em, h1 em { font-style: italic; color: var(--wine); font-weight: 500; }
.section--dark h2 em, .section--wine h2 em, .hero h1 em { color: var(--gold-2); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- кнопки ---------- */
.btn {
  --bg: var(--wine); --fg: #fff6ea;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); font: 600 15.5px/1 var(--sans); letter-spacing: .02em;
  overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .4s, color .3s;
  box-shadow: 0 12px 30px -14px rgba(123, 34, 54, .7); will-change: transform;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ink);
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn--gold { --bg: var(--gold); --fg: var(--ink); box-shadow: 0 12px 30px -14px rgba(160, 120, 50, .8); }
.btn--gold:hover { color: #fff6ea; }
.btn--light { --bg: #fff8ec; --fg: var(--ink); box-shadow: none; }
.btn--light::before { background: var(--gold); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { color: #fff6ea; }
.btn--ghost-light { --bg: transparent; --fg: #fff6ea; box-shadow: inset 0 0 0 1.5px rgba(255, 246, 234, .55); }
.btn--ghost-light::before { background: #fff6ea; }
.btn--ghost-light:hover { color: var(--ink); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap .35s var(--ease), color .3s; }
.link-arrow::after { content: '→'; }
.link-arrow:hover { gap: 16px; color: var(--wine); }
.section--dark .link-arrow:hover, .section--wine .link-arrow:hover, .footer .link-arrow:hover { color: var(--gold-2); }

/* ---------- шапка ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); color: #fff8ec;
  transition: transform .6s var(--ease), background .5s, color .4s, height .4s, box-shadow .4s;
}
.site-header__bar { height: 100%; display: flex; align-items: center; gap: 28px; }
.site-header.is-solid { background: rgba(251, 248, 242, .88); color: var(--ink); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); --header-h: 70px; }
.site-header.is-hidden { transform: translateY(-105%); }
body.light-top .site-header:not(.is-solid) { color: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark { width: 44px; height: 44px; color: var(--gold-2); transition: transform .8s var(--ease); }
.site-header.is-solid .logo__mark, body.light-top .site-header .logo__mark { color: var(--wine); }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.06); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__ru { font: 700 22px/1 var(--serif); letter-spacing: .01em; }
.logo__he { font: 500 14px/1.2 var(--he); opacity: .75; margin-top: 4px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: block; padding: 10px 12px; font: 600 14.5px/1 var(--sans); letter-spacing: .01em; opacity: .9; }
.nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--gold-2); }
.site-header.is-solid .nav a[aria-current="page"], body.light-top .site-header .nav a[aria-current="page"] { color: var(--wine); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 27px; }
body.menu-open .burger span:first-child { top: 23px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 23px; transform: rotate(-45deg); }
body.menu-open .site-header { color: #fff8ec; background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-open .site-header .logo__mark { color: var(--gold-2); }

.menu { position: fixed; inset: 0; z-index: 55; pointer-events: none; color: #fff6ea; }
.menu__bg { position: absolute; inset: 0; background: var(--ink); clip-path: circle(0% at calc(100% - 50px) 42px); transition: clip-path .9s var(--ease); }
body.menu-open .menu { pointer-events: auto; }
body.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 50px) 42px); }
.menu__inner { position: relative; height: 100%; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; padding-top: var(--header-h); overflow-y: auto; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list a { display: inline-block; font: 600 clamp(32px, 5vw, 58px)/1.16 var(--serif); opacity: 0; transform: translateY(40px); transition: opacity .5s, transform .7s var(--ease), color .3s; }
.menu__list a:hover, .menu__list a[aria-current="page"] { color: var(--gold-2); font-style: italic; }
body.menu-open .menu__list a { opacity: 1; transform: none; }
.menu__side { opacity: 0; transform: translateY(20px); transition: opacity .6s .4s, transform .8s .4s var(--ease); color: #d8cab6; }
body.menu-open .menu__side { opacity: 1; transform: none; }
.menu__he { font: 500 44px/1 var(--he); color: var(--gold-2); direction: rtl; text-align: left; margin-bottom: 24px; }

/* ---------- прелоадер, шторка, прогресс, курсор ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--gold-2); display: none; place-items: center; }
.first-visit .preloader { display: grid; }
.preloader.is-done { animation: preOut 1s var(--ease) forwards; }
.preloader__inner { text-align: center; }
.preloader__logo { width: 92px; height: 92px; margin: 0 auto 26px; }
.preloader__logo .lm-ring { stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw 1.4s var(--ease) .1s forwards; }
.preloader__logo .lm-grapes circle { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .5s var(--ease) forwards; }
.preloader__logo .lm-grapes circle:nth-child(n) { animation-delay: calc(.35s + var(--i, 0) * .05s); }
.preloader__logo .lm-leaf, .preloader__logo .lm-stem, .preloader__logo .lm-tendril { opacity: 0; animation: fadeIn .6s .9s forwards; }
.preloader__he { font: 500 34px/1.2 var(--he); opacity: 0; animation: rise .9s .6s var(--ease) forwards; }
.preloader__ru { font: 600 12px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: #cbb999; margin-top: 12px; opacity: 0; animation: rise .9s .8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { transform: scale(1); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes preOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

.curtain { position: fixed; inset: 0; z-index: 150; background: var(--ink); pointer-events: none; transform: translateY(100%); }
.curtain.is-in { transition: transform .55s var(--ease-in); transform: translateY(0); }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 70; background: linear-gradient(90deg, var(--gold), var(--wine-2)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 300; mix-blend-mode: difference; }
  .cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
  .cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255, 255, 255, .7); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s; }
  .cursor.is-hover .cursor__ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(255, 255, 255, .12); }
}

/* ---------- переходы между страницами (View Transitions) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .45s var(--ease-in) both; }
::view-transition-new(root) { animation: vtIn .75s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-24px) scale(.985); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(36px); } }
.site-header { view-transition-name: header; }
::view-transition-old(header), ::view-transition-new(header) { animation: none; }

/* ---------- появление при прокрутке ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* фото «проявляется» снизу вверх: обрезается сама картинка, а не рамка (иначе IntersectionObserver не видит элемент) */
.js [data-reveal="img"] { opacity: 1; transform: none; transition: background .6s, box-shadow .8s; }
.js [data-reveal="img"]:not(.in) { background: transparent; box-shadow: none; }
.js [data-reveal="img"] img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: clip-path 1.3s var(--ease), transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="img"].in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .04em .14em; margin: -.16em -.04em -.14em; }
.split .w > span { display: inline-block; transform: translateY(calc(105% + .32em)); transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i) * 55ms); }
.split.in .w > span { transform: none; }
.no-js .split .w > span { transform: none; }

/* ---------- главный экран ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff8ec; overflow: hidden; background: var(--ink); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: -4%; opacity: 0; transition: opacity 2s ease; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
.hero__slide:nth-child(even).is-active img { animation-name: kenburns2; }
@keyframes kenburns { from { transform: scale(1.14) translate(1.5%, 1%); } to { transform: scale(1.02) translate(-1%, -1%); } }
@keyframes kenburns2 { from { transform: scale(1.02) translate(-1.5%, 0); } to { transform: scale(1.14) translate(1%, -1.5%); } }
.hero::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(22, 18, 15, .55) 0%, rgba(22, 18, 15, .05) 30%, rgba(22, 18, 15, .25) 55%, rgba(22, 18, 15, .92) 100%),
  radial-gradient(80% 60% at 20% 90%, rgba(92, 24, 40, .55), transparent 70%); }
.hero__content { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 9vh, 110px); padding-top: 140px; }
.hero__he { font: 500 clamp(24px, 3vw, 38px)/1 var(--he); color: var(--gold-2); margin-bottom: 18px; direction: rtl; display: inline-block; }
.hero h1 { margin-bottom: 18px; text-shadow: 0 4px 40px rgba(0, 0, 0, .35); }
.hero__lead { font-size: clamp(18px, 1.9vw, 24px); max-width: 640px; color: #efe3cf; line-height: 1.55; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.next-chip {
  display: flex; align-items: center; gap: 16px; padding: 16px 22px 16px 16px; border-radius: 22px; max-width: 420px;
  background: rgba(22, 18, 15, .45); border: 1px solid rgba(255, 248, 235, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.next-chip__date { flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px; background: var(--gold); color: var(--ink); display: grid; place-items: center; text-align: center; line-height: 1; }
.next-chip__date b { display: block; font: 700 26px/1 var(--serif); }
.next-chip__date small { font: 700 10.5px/1 var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.next-chip__k { font: 600 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
.next-chip__t { font: 600 19px/1.2 var(--serif); }
.next-chip__c { font-size: 13.5px; color: #d6c8b2; margin-top: 4px; font-variant-numeric: tabular-nums; }
.hero__dots { position: absolute; z-index: 3; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255, 248, 235, .7); background: transparent; padding: 0; cursor: pointer; transition: background .3s, transform .3s; }
.hero__dots button.is-active { background: var(--gold-2); border-color: var(--gold-2); transform: scale(1.3); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 26px; height: 42px; border: 1.5px solid rgba(255, 248, 235, .6); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--gold-2); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* внутренние страницы */
.page-hero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; color: #fff8ec; overflow: hidden; background: var(--ink); }
.page-hero__img { position: absolute; inset: -8% 0; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 18, 15, .5), rgba(22, 18, 15, .15) 40%, rgba(22, 18, 15, .88)); }
.page-hero__content { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(40px, 8vh, 90px); padding-top: 140px; }
.page-hero h1 { font-size: clamp(46px, 7.4vw, 108px); margin-bottom: 14px; }
.page-hero .lead { color: #e9dcc7; }
.page-hero h1 em, .page-hero h2 em { color: var(--gold-2); }
.page-hero--short { min-height: 52svh; }
.crumb { font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 20px; display: flex; gap: 14px; align-items: center; }
.crumb .he { font: 500 18px/1 var(--he); letter-spacing: 0; }

/* ---------- сетки и блоки ---------- */
.grid { display: grid; gap: clamp(20px, 2.6vw, 34px); }
.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-block { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.split-block--rev > :first-child { order: 2; }
.frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--stone-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--sq { aspect-ratio: 1; }
.collage { position: relative; min-height: 560px; }
.collage .frame { position: absolute; }
.collage .c1 { width: 62%; aspect-ratio: 4/5; left: 0; top: 0; }
.collage .c2 { width: 48%; aspect-ratio: 1; right: 0; top: 18%; z-index: 2; border: 8px solid var(--paper); }
.collage .c3 { width: 44%; aspect-ratio: 4/3; left: 18%; bottom: 0; z-index: 3; border: 8px solid var(--paper); }
.section--stone .collage .c2, .section--stone .collage .c3 { border-color: var(--stone); }
.badge-round {
  position: absolute; z-index: 4; right: 6%; bottom: 8%; width: 132px; height: 132px; border-radius: 50%;
  background: var(--wine); color: var(--gold-2); display: grid; place-items: center; text-align: center; box-shadow: var(--shadow);
}
.badge-round svg { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.badge-round b { font: 500 30px/1 var(--he); }
@keyframes spin { to { transform: rotate(360deg); } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 38px 34px 36px 0; border-right: 1px solid var(--line); }
.feature + .feature { padding-left: 34px; }
.feature:last-child { border-right: 0; }
.feature__n { font: 600 15px/1 var(--serif); color: var(--gold-3); margin-bottom: 18px; display: block; letter-spacing: .1em; }
.feature h3 { font-size: 28px; }
.feature p { color: var(--muted); margin: 0; }
.section--dark .feature, .section--dark .features { border-color: var(--line-light); }
.section--dark .feature p { color: var(--muted-light); }

/* карточки с фото */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 30px); }
.card { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.07); }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { font-size: 27px; margin: 0; }
.card__body p { color: var(--muted); margin: 0; font-size: 16px; }
.card__he { font: 500 16px/1 var(--he); color: var(--wine); }
.card--overlay { min-height: 460px; color: #fff8ec; background: var(--ink); }
.card--overlay .card__img { position: absolute; inset: 0; aspect-ratio: auto; }
.card--overlay::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(22, 18, 15, .9)); }
.card--overlay .card__body { position: relative; z-index: 2; margin-top: auto; flex: 0 0 auto; }
.card--overlay .card__body p { color: #e0d3bf; }
.card--overlay .card__he { color: var(--gold-2); }

/* шаги «как проходит суббота» */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; }
.step__img { aspect-ratio: 3 / 4; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; margin-bottom: 20px; background: var(--ink-2); }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover .step__img img { transform: scale(1.06); }
.step__n { font: 600 13px/1 var(--sans); letter-spacing: .2em; color: var(--gold-2); text-transform: uppercase; }
.step h3 { font-size: 26px; margin: 10px 0 8px; }
.step p { font-size: 15.5px; color: var(--muted-light); margin: 0; }

/* расписание */
.sched { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sched__item { position: relative; padding: 34px 32px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s; }
.sched__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sched__item::before { content: attr(data-he); position: absolute; right: 20px; top: 12px; font: 500 64px/1 var(--he); color: var(--stone-2); pointer-events: none; }
.sched__day { font: 600 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3); }
.sched__time { font: 600 clamp(54px, 6vw, 80px)/1 var(--serif); color: var(--wine); margin: 14px 0 8px; letter-spacing: -.02em; }
.sched__item h3 { font-size: 28px; margin-bottom: 10px; position: relative; }
.sched__item p { color: var(--muted); font-size: 16px; margin: 0; position: relative; }
.sched__item--dark { background: var(--ink); color: #f2e8d8; border-color: transparent; }
.sched__item--dark::before { color: rgba(255, 248, 235, .06); }
.sched__item--dark .sched__time { color: var(--gold-2); }
.sched__item--dark p { color: var(--muted-light); }

/* события */
.events { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: center; padding: 26px 4px; border-bottom: 1px solid var(--line); transition: background .4s, padding .5s var(--ease); }
.event:hover { background: rgba(192, 150, 80, .07); padding-left: 16px; }
.event__date { text-align: center; line-height: 1; }
.event__date b { display: block; font: 600 52px/1 var(--serif); color: var(--wine); }
.event__date span { font: 700 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.event__kind { display: inline-flex; gap: 8px; align-items: center; font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 8px; }
.event__kind .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.event--holiday .event__kind { color: var(--techelet); }
.event--event .event__kind { color: var(--wine); }
.event h3 { font-size: 28px; margin: 0 0 4px; }
.event h3 .he { font-size: 19px; color: var(--muted); margin-left: 10px; }
.event p { margin: 0; color: var(--muted); font-size: 15.5px; }
.event__meta { font-size: 14px; color: var(--muted); margin-top: 6px; }
.event--cancelled h3 { text-decoration: line-through; opacity: .6; }
.event__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.event__count { font-size: 13px; color: var(--muted); }
.rsvp { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
.rsvp.is-on { --bg: var(--olive); }
.section--dark .event, .section--dark .events { border-color: var(--line-light); }
.section--dark .event p, .section--dark .event__meta, .section--dark .event__date span, .section--dark .event__count { color: var(--muted-light); }
.section--dark .event__date b { color: var(--gold-2); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; cursor: pointer; font: 600 14px/1 var(--sans); transition: all .3s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on, .chip input:checked + span { background: var(--ink); color: #fff8ec; border-color: var(--ink); }
label.chip { position: relative; }
label.chip input { position: absolute; opacity: 0; pointer-events: none; }
label.chip:has(input:checked) { background: var(--ink); color: #fff8ec; border-color: var(--ink); }

/* новости */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { display: flex; flex-direction: column; gap: 16px; }
.news-card__img { aspect-ratio: 3/2; border-radius: var(--radius); overflow: hidden; background: var(--stone-2); }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.06); }
.news-card__date { font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); }
.news-card h3 { font-size: 28px; margin: 0; transition: color .3s; }
.news-card:hover h3 { color: var(--wine); }
.news-card p { color: var(--muted); font-size: 16px; margin: 0; }
.news--wide .news-card:first-child { grid-column: span 2; grid-row: span 2; }
.news--wide .news-card:first-child .news-card__img { aspect-ratio: 16/10; }
.news--wide .news-card:first-child h3 { font-size: 40px; }

/* цитата */
.verse { position: relative; text-align: center; max-width: 1000px; margin: 0 auto; }
.verse__he { font: 500 clamp(26px, 3.4vw, 44px)/1.4 var(--he); color: var(--gold-2); direction: rtl; margin-bottom: 26px; }
.verse__ru { font: 500 clamp(28px, 3.6vw, 52px)/1.22 var(--serif); font-style: italic; }
.verse__ref { margin-top: 26px; font: 600 12.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); }
.ornament { width: 90px; height: 24px; margin: 0 auto 34px; color: var(--gold); }

/* полосы талита */
.tallit { height: 34px; background:
  linear-gradient(180deg, transparent 0 8px, var(--techelet) 8px 12px, transparent 12px 16px, var(--techelet) 16px 18px, transparent 18px 22px, var(--techelet) 22px 26px, transparent 26px);
  background-color: #f6efe2; }
.section--dark + .tallit, .tallit--dark { background-color: var(--ink-2); }

/* бегущая лента фото */
.marquee { overflow: hidden; padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: clamp(200px, 26vw, 340px); width: auto; border-radius: var(--radius-s); object-fit: cover; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 85s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* цифры */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat b { display: block; font: 600 clamp(54px, 6vw, 88px)/1 var(--serif); color: var(--gold-2); }
.stat span { color: var(--muted-light); font-size: 15px; }

/* вопросы */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; background: none; border: 0; cursor: pointer; text-align: left; font: 600 clamp(21px, 2vw, 27px)/1.3 var(--serif); }
.faq__q::after { content: '+'; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font: 400 24px/1 var(--sans); transition: transform .5s var(--ease), background .3s, color .3s; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); background: var(--wine); color: #fff; border-color: var(--wine); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); max-width: 54em; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div > :last-child { margin-bottom: 26px; }

/* призыв */
.cta { position: relative; border-radius: calc(var(--radius) * 1.6); overflow: hidden; padding: clamp(48px, 8vw, 110px); color: #fff8ec; background: var(--ink); isolation: isolate; }
.cta__img { position: absolute; inset: 0; z-index: -2; }
.cta__img img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(92, 24, 40, .94) 0%, rgba(22, 18, 15, .78) 55%, rgba(22, 18, 15, .35)); }
.cta h2 { max-width: 13em; }
.cta h2 em { color: var(--gold-2); }
.cta .eyebrow { color: var(--gold-2); }
.cta .eyebrow .he { color: var(--gold-2); }
.cta p { max-width: 36em; color: #ead9c4; font-size: 19px; }

/* формы */
.form { display: grid; gap: 18px; }
.form--2 { grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--stone-3); background: #fff;
  font-size: 16px; transition: border-color .3s, box-shadow .3s; outline: none;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(192, 150, 80, .18); }
.section--dark .field input, .section--dark .field select, .section--dark .field textarea, .section--wine .field input, .section--wine .field select, .section--wine .field textarea { background: rgba(255, 248, 235, .06); border-color: rgba(255, 248, 235, .2); color: #fff8ec; }
.section--dark .field select option, .section--wine .field select option { color: var(--ink); }
.section--dark .field label, .section--wine .field label, .section--dark .field .label, .section--wine .field .label { color: var(--muted-light); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.field label.chip, .field .chip { font: 600 14px/1.25 var(--sans); letter-spacing: 0; text-transform: none; color: inherit; padding-top: 8px; padding-bottom: 8px; }
.section--dark .chip, .section--wine .chip { border-color: rgba(255, 248, 235, .25); }
.section--dark label.chip:has(input:checked), .section--wine label.chip:has(input:checked) { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.form__note { font-size: 14px; color: var(--muted); }
.form__msg { min-height: 1.4em; font-weight: 600; }
.form__msg.ok { color: var(--olive); } .form__msg.err { color: var(--wine-2); }
.section--dark .form__msg.ok, .section--wine .form__msg.ok { color: var(--gold-2); }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.2); padding: clamp(26px, 4vw, 52px); box-shadow: 0 30px 80px -50px rgba(40, 22, 10, .45); }
.tabs { display: inline-flex; padding: 6px; background: var(--stone); border-radius: 999px; margin-bottom: 30px; }
.tabs button { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 700; font-size: 14.5px; transition: background .3s, color .3s; }
.tabs button.is-on { background: var(--ink); color: #fff8ec; }

/* галерея */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 30px); }
.album { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--ink); color: #fff8ec; cursor: pointer; text-align: left; border: 0; padding: 0; }
.album:nth-child(3n+2) { transform: translateY(46px); }
.album img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .6s; }
.album:hover img { transform: scale(1.07); }
.album::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 18, 15, .1) 30%, rgba(22, 18, 15, .9)); }
.album__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 28px; }
.album__he { font: 500 18px/1 var(--he); color: var(--gold-2); }
.album h3 { font-size: 32px; margin: 10px 0 6px; }
.album__meta { font-size: 14px; color: #d8cab4; }
.album__count { position: absolute; z-index: 2; top: 18px; right: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(22, 18, 15, .55); backdrop-filter: blur(8px); font: 700 12.5px/1 var(--sans); }
.album__joint { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 8px 14px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 700 11.5px/1 var(--sans); letter-spacing: .06em; }
.album-view__head .he { text-align: left; }
.album-view__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.masonry { columns: 4 260px; column-gap: 14px; }
.masonry a { display: block; margin-bottom: 14px; border-radius: 12px; overflow: hidden; break-inside: avoid; background: var(--stone-2); position: relative; }
.masonry img { width: 100%; height: auto; transition: transform 1s var(--ease), opacity .8s; }
.masonry a:hover img { transform: scale(1.04); }
.js .masonry a img { opacity: 0; }
.js .masonry a img.loaded { opacity: 1; }

/* лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 180; background: rgba(14, 11, 9, .96); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; pointer-events: none; transition: opacity .45s; color: #f1e6d4; touch-action: pan-y; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__top, .lightbox__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px var(--gutter); }
.lightbox__stage { position: relative; display: grid; place-items: center; overflow: hidden; padding: 0 70px; }
.lightbox__stage img { max-width: 100%; max-height: calc(100svh - 150px); object-fit: contain; border-radius: 6px; transition: opacity .35s, transform .5s var(--ease); }
.lightbox__stage img.is-loading { opacity: .25; transform: scale(.97); }
.lightbox__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 248, 235, .25); background: rgba(255, 248, 235, .06); color: inherit; cursor: pointer; display: grid; place-items: center; font-size: 22px; transition: background .3s, transform .3s; }
.lightbox__btn:hover { background: rgba(255, 248, 235, .16); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 12px; } .lightbox__next { right: 12px; }
.lightbox__cap { font: 500 20px/1.3 var(--serif); }
.lightbox__count { font: 600 13px/1 var(--sans); letter-spacing: .12em; color: var(--muted-light); }

/* видео */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-card { display: flex; flex-direction: column; gap: 14px; }
.yt { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--ink); cursor: pointer; border: 0; padding: 0; width: 100%; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; opacity: .9; }
.yt:hover img { transform: scale(1.05); opacity: 1; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: rgba(123, 34, 54, .92); display: grid; place-items: center; transition: transform .5s var(--ease); box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.yt__play::after { content: ''; margin-left: 5px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt__play { transform: scale(1.12); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__len { position: absolute; right: 12px; bottom: 12px; padding: 5px 9px; border-radius: 8px; background: rgba(0, 0, 0, .7); color: #fff; font: 700 12.5px/1 var(--sans); }
.video-card h3 { font-size: 24px; margin: 0; }
.video-card p { margin: 0; color: var(--muted); font-size: 15px; }
.video-feature { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; }
.video-feature .yt { border-radius: calc(var(--radius) * 1.3); box-shadow: var(--shadow); }

/* хроника */
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 34px; border-left: 1.5px solid var(--stone-3); }
.timeline li { position: relative; padding: 0 0 38px 20px; }
.timeline li::before { content: ''; position: absolute; left: -42px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 3px solid var(--wine); }
.timeline time { font: 700 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); }
.timeline h3 { font-size: 27px; margin: 8px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }

/* кабинет */
.dash { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; align-items: start; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mini-list li b { font: 600 22px/1 var(--serif); color: var(--wine); min-width: 92px; }
.empty { color: var(--muted); font-style: italic; }
.hello { font: 600 clamp(34px, 4vw, 54px)/1.1 var(--serif); }

/* админка */
.admin-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font: 700 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.admin-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--stone); font-size: 12.5px; font-weight: 700; }
.tag--wine { background: var(--wine); color: #fff; } .tag--gold { background: var(--gold); color: var(--ink); } .tag--olive { background: var(--olive); color: #fff; }

/* подвал */
.footer { background: var(--ink); color: #cfc1ab; }
.footer .tallit { background-color: var(--ink-2); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 80px; padding-bottom: 60px; }
.footer__h { font: 700 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 22px; }
.footer__list, .footer__links { list-style: none; margin: 0 0 20px; padding: 0; }
.footer__list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.footer__list b { color: #f3e7d4; font-weight: 600; white-space: nowrap; }
.footer__links li { padding: 5px 0; } .footer__links a { transition: color .3s; } .footer__links a:hover { color: var(--gold-2); }
.logo--footer { color: #fff6ea; margin-bottom: 26px; }
.logo--footer .logo__mark { color: var(--gold-2); width: 54px; height: 54px; }
.footer__verse { font: 500 22px/1.4 var(--serif); font-style: italic; color: #e9dcc6; max-width: 26em; }
.footer__verse span { display: block; margin-top: 12px; font: 700 11.5px/1 var(--sans); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 34px; border-top: 1px solid var(--line-light); font-size: 14px; }
.footer__he { font: 500 18px/1 var(--he); color: var(--gold-2); direction: rtl; }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 250; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; padding: 16px 26px; border-radius: 999px; background: var(--ink); color: #fff8ec; box-shadow: var(--shadow); font-weight: 600; transition: transform .6s var(--ease), visibility 0s linear .6s; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transition: transform .6s var(--ease), visibility 0s; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/11; background: var(--stone-2); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.9); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 14px 26px; margin: 0; }
.kv dt { font: 700 12px/1.9 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); }
.kv dd { margin: 0; }
.big-he { font: 500 clamp(80px, 16vw, 240px)/0.9 var(--he); color: var(--stone-2); position: absolute; right: -2vw; top: 40px; pointer-events: none; direction: rtl; user-select: none; }
.big-he { z-index: 0; }
.section > .container { position: relative; z-index: 1; }
.section--dark .big-he { color: rgba(255, 248, 235, .04); }
.section--wine .big-he { color: rgba(255, 248, 235, .06); }
.rel { position: relative; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-l { margin-top: 60px; } .mb-l { margin-bottom: 60px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.head-row h2 { margin: 0; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; }
.values li { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 20px; }
.values li b { font: 600 44px/1 var(--serif); color: var(--gold); }
.values h3 { font-size: 27px; margin-bottom: 8px; }
.values p { margin: 0; color: var(--muted); }
.section--dark .values li { border-color: var(--line-light); }
.section--dark .values p { color: var(--muted-light); }
.glossary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.glossary div { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.glossary b { display: flex; justify-content: space-between; align-items: baseline; font: 600 25px/1.1 var(--serif); margin-bottom: 8px; }
.glossary b .he { font-size: 20px; color: var(--wine); }
.glossary p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .header-actions { margin-left: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .grid--3, .grid--4, .cards, .news, .videos, .albums, .sched, .glossary { grid-template-columns: repeat(2, 1fr); }
  .split-block, .video-feature, .dash { grid-template-columns: 1fr; }
  .split-block--rev > :first-child { order: 0; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .news--wide .news-card:first-child { grid-column: 1 / -1; grid-row: auto; }
  .album:nth-child(3n+2) { transform: none; }
  .menu__inner { grid-template-columns: 1fr; align-content: start; padding-top: calc(var(--header-h) + 20px); padding-bottom: 40px; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  :root { --header-h: 70px; }
  .logo__mark { width: 38px; height: 38px; } .logo__ru { font-size: 19px; } .logo__he { font-size: 12.5px; }
  .header-actions .btn { display: none; }
  .grid--2, .grid--3, .grid--4, .cards, .news, .videos, .albums, .sched, .glossary { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps .step:last-child { grid-column: 1 / -1; }
  .collage { min-height: 420px; }
  .event { grid-template-columns: 70px 1fr; gap: 16px; }
  .event__aside { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .event__date b { font-size: 40px; }
  .event h3 { font-size: 23px; }
  .form--2 { grid-template-columns: 1fr; }
  .hero__dots { display: none; }
  .next-chip { max-width: 100%; }
  .lightbox__stage { padding: 0 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: -62px; transform: none; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .masonry a { margin-bottom: 10px; }
  .card--overlay { min-height: 380px; }
  .footer__grid { grid-template-columns: 1fr; }
  .head-row { margin-bottom: 30px; }
  .tabs { display: flex; width: 100%; } .tabs button { flex: 1; padding: 0 10px; }
  .admin-table { font-size: 14px; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .split .w > span { transform: none; }
  @view-transition { navigation: none; }
}

/* ============================================================
   Вкладки (с «бегущим» подчёркиванием) и вкладки-фильтры
   ============================================================ */
.tabs-ui__list { position: relative; display: flex; gap: 4px; padding: 6px; margin: 0 0 clamp(28px, 4vw, 48px); border-radius: 999px; background: var(--stone); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs-ui__list::-webkit-scrollbar { display: none; }
.section--stone .tabs-ui__list { background: #fff; }
.section--dark .tabs-ui__list { background: rgba(255, 248, 235, .07); }
.tabs-ui--center .tabs-ui__list { margin-left: auto; margin-right: auto; }
.tabs-ui__list button { position: relative; z-index: 1; flex-shrink: 0; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font: 700 14.5px/1 var(--sans); white-space: nowrap; color: var(--muted); transition: color .4s var(--ease); }
.tabs-ui__list button:hover { color: var(--ink); }
.tabs-ui__list button.is-on { color: #fff8ec; }
.section--dark .tabs-ui__list button { color: var(--muted-light); }
.section--dark .tabs-ui__list button.is-on { color: var(--ink); }
.tabs-ui__ink { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--ink); box-shadow: 0 8px 22px -10px rgba(22, 18, 15, .6); transition: transform .55s var(--ease), width .55s var(--ease); }
.section--dark .tabs-ui__ink { background: var(--gold); }
.tabs-ui__panel { display: none; }
.tabs-ui__panel.is-active { display: block; animation: panelIn .7s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(22px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.is-filtered-out { display: none !important; }
.is-filtered-in { animation: cardIn .6s var(--ease) both; animation-delay: var(--fd, 0s); }
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
.sched__time--word { font-size: clamp(40px, 4.4vw, 58px); }

/* ============================================================
   Переключатель языков
   ============================================================ */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; cursor: pointer; font: 700 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: inherit; }
.lang__btn svg { width: 16px; height: 16px; }
.lang__list { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 200px; list-style: none; margin: 0; padding: 8px; border-radius: 16px; background: #fffaf2; color: var(--ink); box-shadow: 0 24px 60px -20px rgba(22, 18, 15, .45); opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); z-index: 80; }
.lang.is-open .lang__list { opacity: 1; transform: none; pointer-events: auto; }
.lang__list a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 10px; font: 600 15px/1 var(--sans); transition: background .25s; }
.lang__list a:hover { background: var(--stone); }
.lang__list a[aria-current="true"] { background: var(--ink); color: #fff8ec; }
.lang__list a small { font: 700 11px/1 var(--sans); letter-spacing: .1em; opacity: .55; }
.menu__langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.menu__langs a { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 248, 235, .25); font: 700 13px/1 var(--sans); }
.menu__langs a[aria-current="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer__addr-he { color: var(--gold-2); }
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   Иврит: справа налево, свои шрифты
   ============================================================ */
html[lang="he"] { --serif: 'Frank Ruhl Libre', 'David', Georgia, serif; --sans: 'Heebo', 'Assistant', 'Segoe UI', Arial, sans-serif; }
html[lang="he"] body { letter-spacing: 0; }
html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3, html[lang="he"] h4 { letter-spacing: 0; font-weight: 700; line-height: 1.15; }
html[lang="he"] .eyebrow, html[lang="he"] .crumb, html[lang="he"] .sched__day, html[lang="he"] .step__n, html[lang="he"] .event__kind, html[lang="he"] .news-card__date, html[lang="he"] .verse__ref, html[lang="he"] .field label, html[lang="he"] .field .label, html[lang="he"] .footer__h, html[lang="he"] .next-chip__k, html[lang="he"] .timeline time, html[lang="he"] .kv dt { letter-spacing: .04em; }
[dir="rtl"] .arr, [dir="rtl"] .link-arrow::after { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(5px); }
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .nav a::after { transform-origin: left; }
[dir="rtl"] .nav a:hover::after, [dir="rtl"] .nav a[aria-current="page"]::after { transform-origin: right; }
[dir="rtl"] .header-actions { margin-left: 0; }
@media (max-width: 1180px) { [dir="rtl"] .header-actions { margin-left: 0; margin-right: auto; } }
[dir="rtl"] .menu__bg { clip-path: circle(0% at 50px 42px); }
body.menu-open[dir="rtl"] .menu__bg, [dir="rtl"] body.menu-open .menu__bg { clip-path: circle(150% at 50px 42px); }
[dir="rtl"] .hero__dots { right: auto; left: var(--gutter); }
[dir="rtl"] .big-he { right: auto; left: -2vw; }
[dir="rtl"] .collage .c1 { left: auto; right: 0; }
[dir="rtl"] .collage .c2 { right: auto; left: 0; }
[dir="rtl"] .collage .c3 { left: auto; right: 18%; }
[dir="rtl"] .badge-round { right: auto; left: 6%; }
[dir="rtl"] .timeline { padding: 0 34px 0 0; border-left: 0; border-right: 1.5px solid var(--stone-3); }
[dir="rtl"] .timeline li { padding: 0 20px 38px 0; }
[dir="rtl"] .timeline li::before { left: auto; right: -42px; }
[dir="rtl"] .feature { padding: 38px 0 36px 34px; border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .feature + .feature { padding-left: 34px; padding-right: 34px; }
[dir="rtl"] .feature:last-child { border-left: 0; }
[dir="rtl"] .event:hover { padding-left: 4px; padding-right: 16px; }
[dir="rtl"] .event__aside { align-items: flex-start; }
[dir="rtl"] .event h3 .he { margin-left: 0; margin-right: 10px; }
[dir="rtl"] .faq__q { text-align: right; }
[dir="rtl"] .album { text-align: right; }
[dir="rtl"] .album__count { right: auto; left: 18px; }
[dir="rtl"] .album__joint { left: auto; right: 18px; }
[dir="rtl"] .sched__item::before { right: auto; left: 20px; }
[dir="rtl"] .yt__len { right: auto; left: 12px; }
[dir="rtl"] .lightbox__prev { left: auto; right: 12px; }
[dir="rtl"] .lightbox__next { right: auto; left: 12px; }
[dir="rtl"] .marquee__track { animation-direction: reverse; }
[dir="rtl"] .marquee--rev .marquee__track { animation-direction: normal; }
[dir="rtl"] .cta::before { background: linear-gradient(260deg, rgba(92, 24, 40, .94) 0%, rgba(22, 18, 15, .78) 55%, rgba(22, 18, 15, .35)); }
[dir="rtl"] .lang__list { transform-origin: top left; }
[dir="rtl"] .footer__he, [dir="rtl"] .menu__he { text-align: right; }
@media (max-width: 980px) { [dir="rtl"] .feature, [dir="rtl"] .feature + .feature { padding: 30px 0; border-left: 0; } }

/* ============================================================
   Экраны: планшеты, ноутбуки, большие мониторы, телефоны
   ============================================================ */
@media (min-width: 1600px) {
  :root { --gutter: 56px; }
  .container { max-width: 1440px; }
  body { font-size: 18px; }
}
@media (min-width: 681px) and (max-width: 1024px) {
  .hero__content { padding-bottom: 70px; }
  .collage { min-height: 520px; max-width: 620px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .card--overlay { min-height: 400px; }
  .masonry { columns: 3 200px; }
}
@media (max-width: 680px) {
  .tabs-ui__list { width: 100%; border-radius: 18px; }
  .tabs-ui__list button { padding: 0 16px; font-size: 14px; min-height: 42px; }
  .lang__btn { min-height: 40px; padding: 0 11px; }
  .lang__btn span { display: none; }
  .header-actions { gap: 8px; }
  .hero h1 { font-size: clamp(42px, 12vw, 64px); }
  .page-hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .verse__ru { font-size: clamp(25px, 7vw, 34px); }
  .section { padding: 72px 0; }
  .split-block { gap: 36px; }
  .kv { grid-template-columns: 1fr; gap: 4px 0; }
  .kv dd { margin-bottom: 14px; }
}
@media (max-width: 380px) { .logo__text { display: none; } }
@media (hover: none) { .card:hover { transform: none; box-shadow: 0 1px 0 var(--line); } }
html { scroll-behavior: smooth; }

/* ============================================================
   3D: частицы света (WebGL), кольцо праздников, наклон карточек
   ============================================================ */
.hero__gl { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: .9; }
.hero__content { z-index: 2; }
.card, .album, .sched__item, .news-card__img, .frame { transform-style: preserve-3d; will-change: transform; }
.card.is-tilt, .album.is-tilt, .sched__item.is-tilt, .news-card__img.is-tilt { transition: transform .12s linear, box-shadow .4s; }
.card::before, .album::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 244, 220, .22), transparent 45%); }
.card.is-tilt::before, .album.is-tilt::before { opacity: 1; }

.ring3d { position: relative; height: clamp(420px, 52vw, 560px); perspective: 1500px; perspective-origin: 50% 40%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; margin-top: 10px; }
.ring3d.is-drag { cursor: grabbing; }
.ring3d__stage { position: absolute; inset: 0; transform-style: preserve-3d; display: grid; place-items: center; }
.ring3d__ring { --r: 420px; position: relative; width: clamp(220px, 26vw, 290px); height: clamp(320px, 36vw, 400px); transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1)); }
.ring3d__card { position: absolute; inset: 0; transform: rotateY(var(--a)) translateZ(var(--r)); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; gap: 10px; color: #f6ecdc; overflow: hidden;
  background: radial-gradient(130% 90% at 20% 0%, rgba(223, 191, 124, .22), transparent 60%), linear-gradient(160deg, #3a1520, #1d1512 70%);
  border: 1px solid rgba(223, 191, 124, .28); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); transition: border-color .4s, box-shadow .4s; }
.ring3d__card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background: linear-gradient(180deg, transparent 0 3px, var(--techelet) 3px 5px, transparent 5px 7px, var(--techelet) 7px 8px, transparent 8px); opacity: .9; }
.ring3d__card.is-front { border-color: var(--gold-2); box-shadow: 0 40px 90px -30px rgba(192, 150, 80, .55); }
.ring3d__he { font: 700 clamp(40px, 5vw, 58px)/1 var(--he); color: var(--gold-2); direction: rtl; text-align: right; }
.ring3d__card h3 { font-size: clamp(24px, 2.4vw, 30px); margin: 6px 0 0; color: #fff8ec; }
.ring3d__date { font: 700 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.ring3d__card p { margin: 4px 0 0; font-size: 15px; line-height: 1.55; color: #d9ccb8; }
.ring3d__hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font: 700 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light); display: flex; gap: 12px; align-items: center; }
.ring3d__hint::before, .ring3d__hint::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .6; }
@media (max-width: 680px) { .ring3d { height: 470px; perspective: 1100px; } .ring3d__ring { width: 236px; height: 340px; } .ring3d__card { padding: 24px 20px; } }
@media (prefers-reduced-motion: reduce) { .hero__gl { display: none; } }

/* Метка «Совместное служение · друзья из Акко и Хайфы» на фото гостей */
.card__img, .frame, .news-card__img { position: relative; }
.joint-tag { position: absolute; z-index: 4; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 24px);
  padding: 8px 12px; border-radius: 999px; background: rgba(22, 18, 15, .72); color: #fff3df; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 700 11.5px/1.25 var(--sans); letter-spacing: .02em; box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .6); pointer-events: none; }
.joint-tag::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 3px rgba(223, 191, 124, .25); }
.card--overlay .joint-tag { bottom: auto; top: 14px; }
[dir="rtl"] .joint-tag { left: auto; right: 12px; }
.joint-banner { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; margin: 0 0 30px; border-radius: 16px; background: var(--stone); border: 1px solid var(--stone-3); font-size: 15.5px; }
.joint-banner::before { content: ''; flex-shrink: 0; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(192, 150, 80, .2); }

/* 3D-эмблема (three.js) */
.emblem-split { grid-template-columns: .95fr 1.05fr; }
.emblem3d { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin: 0 auto; }
.emblem3d img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 1s var(--ease); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }
.emblem3d.is-3d img { opacity: 0; }
.emblem3d__canvas { position: absolute; inset: -6%; width: 112% !important; height: 112% !important; opacity: 0; transition: opacity 1.2s var(--ease); }
.emblem3d.is-3d .emblem3d__canvas { opacity: 1; }
.emblem3d::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(223, 191, 124, .28), transparent 65%); filter: blur(30px); }
.verse--side { text-align: left; }
.verse--side .ornament { margin-left: 0; }
[dir="rtl"] .verse--side { text-align: right; }
[dir="rtl"] .verse--side .ornament { margin-left: auto; margin-right: 0; }
@media (max-width: 980px) { .verse--side, [dir="rtl"] .verse--side { text-align: center; } .verse--side .ornament { margin: 0 auto 34px; } .emblem3d { max-width: 420px; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* метка «совместное служение» в коллаже — сверху: низ первого фото перекрывают соседние кадры */
.collage .joint-tag { top: 12px; bottom: auto; }
.ring3d__hint { white-space: nowrap; }
@media (max-width: 520px) { .ring3d__hint { letter-spacing: .12em; font-size: 11px; gap: 8px; } .ring3d__hint::before, .ring3d__hint::after { width: 18px; } }
/* меню: пункты всегда в одну строку; на ноутбуках компактнее */
.nav a { white-space: nowrap; }
@media (max-width: 1500px) { .nav ul { gap: 0; } .nav a { padding: 10px 9px; font-size: 14px; } .nav a::after { left: 9px; right: 9px; } }
/* телефон: текст главной поверх светлых участков фото — плотнее затемнение снизу */
@media (max-width: 760px) {
  .hero::after { background:
    linear-gradient(180deg, rgba(22, 18, 15, .55) 0%, rgba(22, 18, 15, .12) 22%, rgba(22, 18, 15, .55) 42%, rgba(22, 18, 15, .86) 62%, rgba(22, 18, 15, .96) 100%),
    radial-gradient(90% 50% at 20% 85%, rgba(92, 24, 40, .45), transparent 70%); }
  .hero__content p { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
}
/* шапка: кнопки не переносятся; если меню не влезло (html.nav-tight, считает site.js) — бургер, как на планшете */
.header-actions > * { white-space: nowrap; }
html.nav-tight .nav { display: none; }
html.nav-tight .burger { display: inline-block; }
html.nav-tight .header-actions { margin-left: auto; }
html.nav-tight[dir="rtl"] .header-actions { margin-left: 0; margin-right: auto; }
/* цифры на главной: карточек стало 3 (убрано «300+ записей») — сетка сама подстраивается */
.stats { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
/* заметка о проповеди на странице «Видео» */
.sermon { margin-top: clamp(48px, 7vw, 90px); display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.sermon__head { grid-column: 1 / -1; max-width: 46em; }
.sermon__head .lead { margin-top: 14px; }
.sermon h4 { font: 700 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3); margin: 0 0 18px; }
.sermon__points ol { margin: 0; padding: 0; list-style: none; counter-reset: sp; }
.sermon__points li { counter-increment: sp; position: relative; padding: 14px 0 14px 46px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.55; }
.sermon__points li::before { content: counter(sp); position: absolute; left: 0; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--sans); color: var(--wine); background: rgba(223, 191, 124, .22); }
[dir="rtl"] .sermon__points li { padding: 14px 46px 14px 0; }
[dir="rtl"] .sermon__points li::before { left: auto; right: 0; }
.sermon__q { margin: 0 0 18px; padding: 20px 24px; border-radius: 16px; background: var(--stone, #f3ece1); border-left: 3px solid var(--gold-2); }
[dir="rtl"] .sermon__q { border-left: 0; border-right: 3px solid var(--gold-2); }
.sermon__q blockquote { margin: 0 0 10px; font: italic 500 clamp(19px, 1.7vw, 23px)/1.45 var(--serif); }
.sermon__q figcaption { font-size: 14px; color: var(--muted, #6d6258); }
.sermon__q figcaption a { color: var(--wine); font-weight: 600; text-decoration: none; }
.sermon__q figcaption a:hover { text-decoration: underline; }
.sermon__note, .sermon__refs { font-size: 14px; color: var(--muted, #6d6258); margin: 6px 0 0; }
.sermon__refs { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 980px) { .sermon { grid-template-columns: 1fr; } }
