/* ישיבת הר עיבל — "The printed annual": one axis at 42% from the start edge, stone paper, solid fields of night and Eival blue, gold only on the action. */
:root {
  --paper: #f1f1ef;
  --surface: #e3e4e2;
  --ink: #13213a;
  --soft: #3f4859;
  --blue: #1f3c62;
  --night: #0c1420;
  --sky: #9cc0e6;
  --gold: #c9a04e;
  --gold-ink: #13213a;
  --on-dark: #f1f1ef;
  --on-dark-soft: #b7c2d3;

  --f-display: 'Livorna', 'Frank Ruhl Libre', 'David', serif;
  --f-ui: 'Assistant', 'Segoe UI', Arial, sans-serif;

  --s-small: 0.875rem;
  --s-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --s-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --s-head: clamp(2.125rem, 1.4rem + 3.2vw, 4rem);
  --s-display: clamp(3.4rem, 1.6rem + 7.4vw, 8.4rem);

  --m: clamp(20px, 2.6vw, 40px);
  --axis: 42%;
  --gap-section: clamp(96px, 11vw, 190px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

@font-face { font-family: 'Livorna'; src: url('fonts/livorna-bold.woff') format('woff'); font-weight: 100 900; font-style: normal; font-display: swap; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; direction: rtl; }
figure { margin: 0; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-ui); font-size: var(--s-body); line-height: 1.65; text-wrap: pretty;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; text-wrap: balance; }
::selection { background: var(--blue); color: var(--on-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.gutter { padding-left: max(var(--m), env(safe-area-inset-left, 0px)); padding-right: max(var(--m), env(safe-area-inset-right, 0px)); }

/* ---------- header ---------- */
.bar { position: relative; z-index: 20; background: var(--paper); }
.bar__in { display: flex; align-items: center; gap: 32px; min-height: 84px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 62px; height: auto; }
.brand span { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; line-height: 1; color: var(--blue); }
.nav { display: flex; gap: 26px; margin-inline-start: auto; font-family: var(--f-ui); font-size: 1rem; }
.nav a:not(.btn) { position: relative; text-decoration: none; padding-block: 6px; }
.nav a:not(.btn)::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-ui); font-weight: 500; font-size: 1rem; line-height: 1;
  padding: 16px 26px; border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
  background: var(--gold); color: var(--gold-ink);
  transition: transform .25s var(--ease), background-color .25s;
}
.btn:hover { background: #d8b264; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--blue); }
.menu-btn { display: none; font-family: var(--f-ui); font-size: 1rem; background: none; border: 0; color: var(--ink); padding: 10px 0; cursor: pointer; }

@media (max-width: 960px) {
  .bar__in { gap: 16px; min-height: 72px; }
  .brand img { width: 50px; }
  .brand span { font-size: 1.25rem; }
  .menu-btn { display: block; margin-inline-start: auto; }
  .bar .btn { display: none; }
  .nav { display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; gap: 0; background: var(--paper); padding: 8px max(var(--m), env(safe-area-inset-right, 0px)) 24px; font-size: 1.375rem; }
  .nav a { padding-block: 12px; }
  .bar.is-open .nav { display: flex; }
  .nav .btn { display: inline-flex; margin-top: 14px; align-self: flex-start; }
}
@media (min-width: 961px) { .nav .btn { display: none; } }

/* ---------- shared type ---------- */
.display { font-family: var(--f-display); font-weight: 700; font-size: var(--s-display); line-height: 1.02; letter-spacing: 0; }
.head { font-family: var(--f-display); font-weight: 700; font-size: var(--s-head); line-height: 1.1; }
.head--light { font-weight: 400; }
.lead { font-size: var(--s-lead); line-height: 1.45; }
.small { font-family: var(--f-ui); font-size: var(--s-small); line-height: 1.5; color: var(--soft); }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: block; }
.textlink { font-family: var(--f-ui); font-weight: 500; font-size: 1.0625rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-underline-offset .25s var(--ease), color .2s; }
.textlink:hover { text-underline-offset: 3px; color: var(--blue); }
.on-dark .textlink:hover { color: var(--sky); }

/* axis layout: headings start on the 42% line, notes live in the start zone */
.axis { display: grid; grid-template-columns: var(--axis) 1fr; }
.axis > .note { grid-column: 1; padding-inline-end: clamp(24px, 4vw, 72px); }
.axis > .main { grid-column: 2; min-width: 0; }
.cols-2 { columns: 2 34ch; column-gap: 48px; }
.cols-2 p + p { margin-top: 1em; }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 1em; }
.prose h2 { margin: 1.6em 0 .5em; }
@media (max-width: 860px) {
  .axis { grid-template-columns: 1fr; }
  .axis > .note, .axis > .main { grid-column: 1; }
  .axis > .note { padding-inline-end: 0; order: 2; margin-top: 28px; }
  .axis > .note:empty { display: none; }
}

.section { padding-block: var(--gap-section); }
.section p { max-width: 66ch; }
.field { background: var(--blue); color: var(--on-dark); }
.field--night { background: var(--night); }
.field--stone { background: var(--surface); }
.on-dark .small, .field .small { color: var(--on-dark-soft); }

/* ---------- home hero ---------- */
.hero { display: grid; grid-template-columns: 34% 1fr; padding-top: clamp(28px, 5vw, 72px); }
.hero__talk { padding-inline-end: clamp(20px, 3vw, 48px); padding-top: clamp(8px, 3.4vw, 54px); display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero__talk .lead { max-width: 24ch; }
.hero__talk .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero h1 { padding-bottom: clamp(36px, 5vw, 72px); }
.band { position: relative; height: clamp(320px, 62svh, 720px); overflow: hidden; background: var(--night); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.band img.is-on { opacity: 1; animation: drift 9s linear both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.band__dots { position: absolute; inset-block-end: 18px; inset-inline-start: max(var(--m), env(safe-area-inset-left, 0px)); display: flex; gap: 8px; z-index: 2; }
.band__dots button { width: 34px; height: 4px; padding: 0; border: 0; background: rgba(241,241,239,.45); cursor: pointer; transition: background-color .3s; }
.band__dots button[aria-current="true"] { background: var(--paper); }
.hero-wrap { position: relative; }
.today {
  position: relative; z-index: 3; width: min(340px, 82vw); background: var(--blue); color: var(--on-dark);
  padding: 26px 28px 28px; margin-top: -84px; margin-inline-start: max(var(--m), env(safe-area-inset-right, 0px));
}
.today b { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); line-height: 1; margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
.today .small { color: var(--on-dark-soft); }
.today p { font-size: 1.0625rem; line-height: 1.4; }
.band + .today { margin-top: -84px; }
.today-row { position: relative; z-index: 3; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { order: -1; padding-bottom: 22px; font-size: 15vw; }
  .hero__talk { padding: 0 0 32px; gap: 22px; }
  .hero__talk .btn { width: 100%; }
  .band { height: auto; aspect-ratio: 4 / 3; }
  .today { width: 72%; margin-top: -56px; padding: 20px; }
}

/* ---------- facts row ---------- */
.intro-top { display: grid; grid-template-columns: 50% 1fr 300px; align-items: end; }
.intro-top p { grid-column: 3; font-family: var(--f-ui); font-size: 1rem; line-height: 1.55; }
.facts { display: flex; justify-content: space-between; gap: 32px; margin: clamp(64px, 8vw, 120px) 0 0; padding: 0; list-style: none; }
.facts li { min-width: 0; }
.facts b { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.05; }
.facts span { display: block; margin-top: 8px; }
@media (max-width: 860px) {
  .intro-top { grid-template-columns: 1fr; gap: 18px; }
  .intro-top p { grid-column: 1; }
  .facts { display: grid; grid-template-columns: 1fr 1fr; row-gap: 32px; }
}

/* ---------- drop-cap statement ---------- */
.dropcap { display: grid; grid-template-columns: 16% 1fr; gap: 0 4%; }
.dropcap__facts { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.dropcap__text p { font-size: clamp(1.3rem, 1rem + 1.1vw, 2rem); line-height: 1.38; font-weight: 300; }
.dropcap__text p + p { margin-top: 1.1em; color: var(--soft); }
.dropcap__text img { float: right; width: 3.7em; height: 3.7em; object-fit: cover; margin: .2em 0 .2em .5em; shape-outside: margin-box; }
.dropcap__text .textlink { display: inline-block; margin-top: 36px; }
@media (max-width: 860px) {
  .dropcap { grid-template-columns: 1fr; }
  .dropcap__facts { order: 2; flex-direction: row; flex-wrap: wrap; gap: 16px 24px; margin-top: 32px; }
  .dropcap__text img { width: 4.6em; height: 4.6em; }
}

/* ---------- inscription field ---------- */
.inscription { display: grid; grid-template-columns: var(--axis) 1fr; align-items: start; }
.inscription blockquote { margin: 0; grid-column: 2; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); line-height: 1.35; max-width: 30ch; }
.inscription cite { display: block; margin-top: 18px; font-style: normal; }
.inscription .note { grid-column: 1; grid-row: 1; padding-inline-end: 48px; }
.inscription .note p { font-size: var(--s-body); color: var(--on-dark-soft); max-width: 36ch; }
.inscription .note p + p { margin-top: 1em; }
@media (max-width: 860px) {
  .inscription { grid-template-columns: 1fr; gap: 32px; }
  .inscription blockquote, .inscription .note { grid-column: 1; grid-row: auto; padding: 0; }
  .inscription blockquote { font-size: 1.5rem; }
}

/* ---------- masonry ---------- */
.mason-head { display: grid; grid-template-columns: 66% 1fr; margin-bottom: 56px; }
.mason-head p { grid-column: 2; font-size: 1.375rem; line-height: 1.4; max-width: 30ch; }
.mason { columns: 6 180px; column-gap: 4px; padding-inline: 12px; }
.mason figure { break-inside: avoid; margin: 0 0 14px; }
.mason img { width: 100%; height: auto; }
.mason figcaption { font-family: var(--f-ui); font-size: .8125rem; color: var(--soft); margin-top: 6px; }
.mason a { display: block; text-decoration: none; }
.mason a img { transition: opacity .3s; }
.mason a:hover img { opacity: .86; }
.mason-more { margin-top: 40px; }
@media (max-width: 860px) {
  .mason-head { grid-template-columns: 1fr; margin-bottom: 32px; }
  .mason-head p { grid-column: 1; font-size: 1.1875rem; }
  .mason { columns: 3; padding-inline: 10px; }
}

/* ---------- cta strip ---------- */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip img, .strip video { display: block; width: 100%; height: 40svh; min-height: 220px; object-fit: cover; }
.cta-field { position: relative; min-height: 44svh; display: grid; grid-template-columns: 7fr 5fr; align-items: center; padding-block: 72px; }
.cta-field__text p:first-child { font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem); line-height: 1.3; max-width: 34ch; }
.cta-field__text p:first-child a { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 7px; text-decoration-color: var(--gold); transition: text-underline-offset .25s var(--ease); }
.cta-field__text p:first-child a:hover { text-underline-offset: 3px; }
.cta-field__text p + p { margin-top: 32px; font-family: var(--f-ui); font-size: 1rem; color: var(--on-dark-soft); max-width: 46ch; }
.cta-field__pic { justify-self: end; align-self: end; width: 200px; }
.cta-field__pic img { width: 200px; aspect-ratio: 4/3; object-fit: cover; }
.cta-field__pic span { display: block; margin-top: 8px; }
@media (max-width: 860px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip img, .strip video { height: auto; aspect-ratio: 1; min-height: 0; }
  .strip img:first-child { grid-column: 1 / -1; aspect-ratio: 4/3; }
  .cta-field { grid-template-columns: 1fr; gap: 32px; padding-block: 56px; }
  .cta-field__pic { justify-self: start; width: 150px; }
  .cta-field__pic img { width: 150px; }
}

/* ---------- contact band ---------- */
.reach { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 0 2.5%; align-items: start; }
.reach > p { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); line-height: 1.15; max-width: 22ch; }
.reach img { grid-column: 3; width: 100%; max-width: 170px; aspect-ratio: 1; object-fit: cover; }
.reach__links { grid-column: 4; display: flex; flex-direction: column; gap: 12px; }
.reach__links h3 { font-family: var(--f-ui); font-weight: 500; font-size: 1.125rem; margin-bottom: 8px; }
.reach__links a { font-family: var(--f-ui); font-size: 1.125rem; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.reach__links .small { margin-top: 10px; }
@media (max-width: 860px) {
  .reach { grid-template-columns: 96px 1fr; gap: 24px 18px; }
  .reach > p { grid-column: 1 / -1; font-size: 1.5rem; }
  .reach img { grid-column: 1; max-width: 96px; }
  .reach__links { grid-column: 2; }
}

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--on-dark); min-height: 92svh; display: grid; grid-template-rows: auto 1fr auto; padding-block: 48px 22px; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; font-family: var(--f-ui); font-size: 1rem; line-height: 1.7; }
.foot__cols ul { list-style: none; margin: 0; padding: 0; }
.foot__cols li:first-child { color: var(--on-dark); font-weight: 500; margin-bottom: 4px; }
.foot__cols li { color: var(--on-dark-soft); }
.foot__cols a { text-decoration: none; }
.foot__cols a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.foot__mark { grid-row: 3; }
.foot__mark svg { display: block; width: 100%; height: auto; }
.foot__mark text { fill: var(--on-dark); font-family: var(--f-display); font-weight: 700; }
.foot__legal { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (max-width: 860px) {
  .foot { min-height: 0; }
  .foot__cols { grid-template-columns: 1fr 1fr; row-gap: 32px; font-size: .9375rem; }
  .foot__mark { margin-top: 18svh; }
}

/* ---------- inner pages ---------- */
.mast { height: clamp(260px, 46svh, 560px); overflow: hidden; background: var(--night); }
.mast img { width: 100%; height: 100%; object-fit: cover; animation: drift 14s linear both; }
.page-title { padding-top: clamp(32px, 4.4vw, 64px); }
.page-title h1 { padding-bottom: 24px; }
.page-title .lead { max-width: 40ch; }
.side-quote { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.45; color: var(--blue); }
.side-quote cite { display: block; margin-top: 8px; font-family: var(--f-ui); font-style: normal; font-size: var(--s-small); color: var(--soft); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); }
.mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mosaic .tile { font-family: var(--f-display); background: var(--blue); color: var(--on-dark); display: flex; align-items: flex-end; padding: 22px; font-size: 1.25rem; line-height: 1.35; aspect-ratio: 1; }
.mosaic .tile--gold { background: var(--gold); color: var(--ink); }
@media (max-width: 860px) { .mosaic { grid-template-columns: 1fr 1fr; } .mosaic .tile { font-size: 1.0625rem; padding: 16px; } }
.wide-pic img { width: 100%; height: clamp(260px, 60svh, 680px); object-fit: cover; }
.wide-pic figcaption { margin-top: 10px; }

.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { display: grid; grid-template-columns: var(--axis) 1fr; padding-block: 36px; }
.list-plain li + li { background: none; }
.list-plain h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); line-height: 1.1; padding-inline-end: 32px; }
.list-plain li:nth-child(even) { background: var(--surface); margin-inline: calc(-1 * var(--m)); padding-inline: var(--m); }
@media (max-width: 860px) { .list-plain li { grid-template-columns: 1fr; gap: 10px; } }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; max-width: 760px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-family: var(--f-ui); font-size: .9375rem; font-weight: 500; margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-family: var(--f-ui); font-size: 1.0625rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid #b9b4a8; border-radius: 0; padding: 13px 14px;
  transition: border-color .2s;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: none; box-shadow: inset 0 0 0 1px var(--blue); }
.form .btn { justify-self: start; }
.form-msg { grid-column: 1 / -1; font-family: var(--f-ui); font-size: 1rem; color: var(--blue); min-height: 1.5em; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .form .btn { width: 100%; } }

.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.details h3 { font-family: var(--f-ui); font-weight: 500; font-size: 1.0625rem; margin-bottom: 10px; }
.details p, .details a { font-size: 1.375rem; line-height: 1.4; }
.details .small { font-size: var(--s-small); margin-top: 6px; }
@media (max-width: 860px) { .details { grid-template-columns: 1fr; gap: 28px; } }

/* donate */
.sum { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ways > div { background: var(--surface); padding: 32px 28px 36px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ways h3 { font-size: 1.5rem; }
.ways p { font-family: var(--f-ui); font-size: 1rem; line-height: 1.55; }
.ways .btn { margin-top: auto; }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }

/* gallery page */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { font-family: var(--f-ui); font-size: 1rem; padding: 10px 18px; border: 0; border-radius: 0; background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
.filters button:hover { background: #dcd6ca; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.mason figure[hidden] { display: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 12, 20, .94); }
.lightbox__in { width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 16px 16px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; }
.lightbox p { color: var(--on-dark); font-family: var(--f-ui); font-size: 1rem; padding-top: 12px; }
.lightbox__x, .lightbox__nav { position: fixed; background: none; border: 0; color: var(--on-dark); font-family: var(--f-ui); font-size: 1.0625rem; cursor: pointer; padding: 14px; }
.lightbox__x { top: 8px; left: 8px; }
.lightbox__prev { top: 50%; right: 8px; }
.lightbox__next { top: 50%; left: 8px; }

/* video */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--night); color: var(--on-dark-soft); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; font-family: var(--f-ui); }

/* ---------- motion ---------- */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .rise.is-in { opacity: 1; transform: none; }
.js .line > span { transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .is-in .line > span, .js .line.is-in > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .line > span { opacity: 1; transform: none; transition: none; }
  .band img.is-on, .mast img { animation: none; }
  .band img { transition: none; }
}

/* then and now */
.then-now { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 48px calc(-1 * var(--m)) 56px; }
.then-now img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.then-now figcaption { padding: 10px var(--m) 0; }
@media (max-width: 860px) { .then-now { grid-template-columns: 1fr; gap: 18px; } }

/* =========================================================
   v3 — night mountain, stones, motion
   ========================================================= */
:root { --gap-section: clamp(64px, 7vw, 112px); --f-pasuk: 'Frank Ruhl Libre', 'David', serif; }

/* pesukim: always Frank Ruhl with nikud, citation inline in parentheses */
.pasuk { font-family: var(--f-pasuk); font-weight: 500; line-height: 1.55; }
.pasuk cite { font-family: var(--f-ui); font-style: normal; font-weight: 400; font-size: .62em; color: var(--gold); white-space: nowrap; margin-inline-start: .35em; letter-spacing: .01em; }
.pasuk--side { font-size: 1.375rem; color: var(--blue); }
.side-quote { font-family: var(--f-pasuk); font-weight: 500; line-height: 1.6; }
.side-quote cite { display: inline; margin: 0 .35em 0 0; color: var(--gold); }
.inscription blockquote { font-family: var(--f-pasuk); font-weight: 500; }
.inscription blockquote p { font-size: inherit; }
.inscription cite { display: inline; color: var(--gold); margin-inline-start: .4em; font-size: .55em; }

/* header over the night hero */
.bar { position: sticky; top: 0; transition: background-color .4s, color .4s, box-shadow .4s; }
.bar--over { position: fixed; inset: 0 0 auto 0; background: transparent; color: var(--on-dark); }
.bar--over .brand span { color: var(--on-dark); }
.bar--over .nav a:not(.btn)::after { background: var(--on-dark); }
.bar--over .menu-btn { color: var(--on-dark); }
.bar--over .brand img { filter: brightness(0) invert(1); }
.bar--over.is-solid { background: rgba(11, 18, 32, .92); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
@media (max-width: 960px) { .bar--over .nav { background: var(--night); } .bar--over.is-open { background: var(--night); } }
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; background: var(--gold); transform: scaleX(0); transform-origin: 100% 50%; pointer-events: none; }

.btn--ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(241,241,239,.7); }
.btn--ghost:hover { background: rgba(241,241,239,.12); }

/* night hero */
.night-hero { position: relative; min-height: max(640px, 100svh); background: var(--night); color: var(--on-dark); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.night-hero__media { position: absolute; inset: 0; }
.night-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.8s ease; transform-origin: 50% 60%; }
.night-hero__media img.is-on { opacity: 1; animation: drift 10s linear both; }
.night-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,13,22,.55) 0%, rgba(8,13,22,.05) 30%, rgba(8,13,22,.25) 55%, rgba(8,13,22,.92) 100%); }
.night-hero__in { position: relative; z-index: 2; padding-bottom: clamp(28px, 4vw, 56px); }
.night-hero__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(3.6rem, 1.2rem + 9vw, 10rem); line-height: .98; color: #fff; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.pasuk--hero { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.4rem); color: #f3e7c9; margin-top: 18px; }
.night-hero__sub { max-width: 44ch; font-size: var(--s-lead); line-height: 1.45; color: #dfe5ee; margin-top: 10px; }
.night-hero__acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.night-hero__foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding-block: 14px 22px; font-family: var(--f-ui); font-size: .875rem; color: #b9c4d6; border-top: 1px solid rgba(241,241,239,.16); }
.night-hero__dots { display: flex; gap: 8px; }
.night-hero__dots button { width: 30px; height: 3px; padding: 0; border: 0; background: rgba(241,241,239,.35); cursor: pointer; }
.night-hero__dots button[aria-current="true"] { background: var(--gold); }

/* renewal sentence */
.renew { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: end; padding-block: clamp(56px, 6vw, 96px) clamp(40px, 4vw, 64px); }
.renew__big { font-family: var(--f-display); font-size: clamp(2rem, 1.2rem + 3vw, 4.25rem); line-height: 1.12; max-width: 20ch; }
.renew__big em { font-style: normal; color: var(--blue); }
.renew__side p { font-size: 1.0625rem; line-height: 1.6; margin-bottom: 14px; }
@media (max-width: 860px) { .renew { grid-template-columns: 1fr; gap: 24px; } }

/* compare slider */
.compare-wrap { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; background: var(--surface); }
.compare { --pos: 50%; position: relative; aspect-ratio: 16 / 10; overflow: hidden; cursor: ew-resize; touch-action: pan-y; user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__then { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); }
.compare__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; color: var(--ink); font-family: var(--f-ui); font-size: .875rem; font-weight: 600; padding: 10px 14px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.25); white-space: nowrap; }
.compare__tag { position: absolute; top: 16px; font-family: var(--f-ui); font-size: .9375rem; font-weight: 600; color: #fff; background: rgba(11,18,32,.7); padding: 6px 12px; }
.compare__tag--then { right: 16px; }
.compare__tag--now { left: 16px; }
.compare:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.compare-text { padding-block: 40px; }
.compare-text p { margin-top: 14px; max-width: 46ch; }
@media (max-width: 960px) { .compare-wrap { grid-template-columns: 1fr; } }

/* timeline */
.time { position: relative; background: var(--night); color: var(--on-dark); }
.time__sticky { padding-block: clamp(48px, 5vw, 80px); overflow: hidden; }
.time__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.time__hint { color: var(--on-dark-soft); }
.time__track { list-style: none; margin: 0; padding: 0 max(var(--m), env(safe-area-inset-right, 0px)); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.time__track::-webkit-scrollbar { display: none; }
.time__card { flex: 0 0 min(380px, 80vw); scroll-snap-align: start; background: #131d2e; display: flex; flex-direction: column; }
.time__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.time__card > :not(img) { margin-inline: 24px; }
.time__when { display: block; font-family: var(--f-ui); font-weight: 600; font-size: .9375rem; color: var(--gold); margin-top: 22px; }
.time__card h3 { font-size: 1.75rem; line-height: 1.15; margin-top: 6px; }
.time__card p { margin-top: 10px; color: #d6dde8; font-size: 1.0625rem; line-height: 1.55; }
.time__card cite { font-family: var(--f-ui); font-style: normal; font-size: .875rem; color: var(--gold); margin-top: 10px; margin-bottom: 24px; }
.time__card p:last-child { margin-bottom: 26px; }
.time__card--stone { background: #d9cdb6 url(../img/stone.jpg) center / cover; color: var(--ink); justify-content: flex-end; min-height: 420px; }
.time__card--stone p { color: var(--ink); }
.time__card--now { background: var(--blue); }
.js .time.is-pinned { height: var(--time-h, 300vh); }
.js .time.is-pinned .time__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.js .time.is-pinned .time__track { overflow: visible; scroll-snap-type: none; will-change: transform; }

/* stones: the verse is written as you scroll */
.stones { position: relative; background: #d8ccb3 url(../img/stone.jpg) center / cover; color: #2a2014; }
.stones__sticky { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 64px max(var(--m), env(safe-area-inset-right, 0px)); }
.stones__verse { font-size: clamp(2rem, 1rem + 3.6vw, 4.6rem); line-height: 1.5; max-width: 18ch; font-weight: 700; color: #2b2116; text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.stones__verse .g { opacity: .1; transition: opacity .25s linear; }
.stones__verse .g.on { opacity: 1; }
.stones__cite cite { font-family: var(--f-ui); font-style: normal; font-weight: 600; font-size: 1.125rem; color: #7a5a22; }
.stones__note { margin-top: 18px; font-size: var(--s-lead); max-width: 34ch; color: #3a2e1e; }
.js .stones.is-pinned { height: 260vh; }
.js .stones.is-pinned .stones__sticky { position: sticky; top: 0; height: 100svh; }
.stones__cite, .stones__note { transition: opacity .6s, transform .6s var(--ease); }
.js .stones.is-pinned:not(.is-done) .stones__cite, .js .stones.is-pinned:not(.is-done) .stones__note { opacity: 0; transform: translateY(12px); }

/* beit midrash split */
.midrash { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: var(--gap-section); }
.midrash__pic { overflow: hidden; aspect-ratio: 4 / 3; }
.midrash__pic img { width: 100%; height: 115%; object-fit: cover; }
.midrash__text p { margin-top: 16px; }
.tags { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-family: var(--f-ui); font-size: .9375rem; background: var(--surface); padding: 7px 14px; transition: background-color .2s, color .2s; }
.tags li:hover { background: var(--blue); color: var(--on-dark); }
.pasuk--side { margin-top: 26px; }
@media (max-width: 860px) { .midrash { grid-template-columns: 1fr; } }

/* view from the top */
.view { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--blue); color: var(--on-dark); }
.view__video { width: 100%; height: 100%; min-height: 420px; max-height: 640px; object-fit: cover; }
.view__text { align-self: center; padding-block: 48px; }
.view__text p { margin-top: 14px; max-width: 40ch; font-size: var(--s-lead); line-height: 1.45; color: #dbe6f3; }
@media (max-width: 860px) { .view { grid-template-columns: 1fr; } .view__video { min-height: 0; aspect-ratio: 1; } }

/* shiurim cards */
.shiurim-row { padding-block: var(--gap-section) 40px; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.cards { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--blue) transparent; cursor: grab; }
.cards.is-drag { cursor: grabbing; scroll-snap-type: none; }
.vcard { flex: 0 0 min(320px, 78vw); scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.vcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s var(--ease); }
.vcard:hover img { transform: scale(1.04); }
.vcard { overflow: hidden; }
.vcard b { font-family: var(--f-ui); font-weight: 600; font-size: 1.125rem; line-height: 1.35; margin-top: 8px; }
.vcard span { font-family: var(--f-ui); font-size: .9375rem; color: var(--soft); }

/* moving photo rows */
.flow { padding-block: 24px var(--gap-section); overflow: hidden; }
.flow__row { display: flex; gap: 6px; width: max-content; animation: flow 60s linear infinite; margin-bottom: 6px; }
.flow__row--back { animation-direction: reverse; animation-duration: 70s; }
.flow__row img { height: clamp(150px, 18vw, 260px); width: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.flow:hover .flow__row { animation-play-state: paused; }
@keyframes flow { from { transform: translateX(0); } to { transform: translateX(50%); } }
.flow__more { margin-top: 26px; }

/* come for a week */
.come { position: relative; display: grid; grid-template-columns: 420px 1fr; background: var(--night); color: var(--on-dark); }
.come__video { width: 100%; height: 100%; max-height: 640px; object-fit: cover; }
.come__text { align-self: center; padding-block: 56px; }
.come__text p { margin-top: 14px; max-width: 44ch; font-size: var(--s-lead); color: #dbe2ec; line-height: 1.45; }
.come__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.come .textlink:hover { color: var(--sky); }
@media (max-width: 860px) { .come { grid-template-columns: 1fr; } .come__video { aspect-ratio: 4 / 5; max-height: 70svh; } }

@media (prefers-reduced-motion: reduce) {
  .night-hero__media img.is-on { animation: none; }
  .flow__row { animation: none; }
  .stones__verse .g { opacity: 1; }
}

/* v3: inner pages tighter, no empty start column */
:root { --axis: 30%; }
.axis:has(> .note:empty) { grid-template-columns: 1fr; }
.axis:has(> .note:empty) > .main { grid-column: 1; }
.page-title { padding-top: clamp(24px, 3vw, 44px); }
.page-title h1 { padding-bottom: 14px; }
.mast { height: clamp(240px, 52svh, 600px); position: relative; }
.mast::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,13,22,.35), rgba(8,13,22,0) 40%); pointer-events: none; }
.section { padding-block: var(--gap-section); }
.list-plain li { padding-block: 26px; }
.inscription blockquote { max-width: 26ch; }
.renew__big { max-width: none; font-size: clamp(2.1rem, 1rem + 3.6vw, 4.6rem); line-height: 1.08; }
.renew__after { font-family: var(--f-display); font-size: clamp(1.5rem, 1rem + 1.4vw, 2.3rem); color: var(--blue); margin-top: 10px; }
.pasuk cite, .side-quote cite, .inscription cite { color: #85601d; }
.on-dark .pasuk cite, .field .pasuk cite, .night-hero .pasuk cite, .on-dark cite, .field cite, .time cite { color: var(--gold); }
.night-hero__foot { border-top: 0; }
.js .stones.is-pinned { height: 190vh; }
.stones__verse { text-shadow: none; }
.night-hero__title { text-shadow: none; }
.compare__handle span { box-shadow: none; outline: 2px solid rgba(11,18,32,.25); }

[id] { scroll-margin-top: 90px; }

/* footer: smaller name with the colour logo */
.foot { min-height: 0; grid-template-rows: auto auto; gap: 48px; padding-block: 56px 22px; }
.foot__mark { grid-row: 2; margin-top: 0; }
.foot__brand { display: flex; align-items: center; gap: 20px; text-decoration: none; color: var(--on-dark); }
.foot__logo { flex: none; width: 112px; height: 112px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); display: grid; place-items: center; transition: transform .5s var(--ease); }
.foot__logo img { width: 78%; height: auto; }
.foot__brand:hover .foot__logo { transform: rotate(-6deg) scale(1.04); }
.foot__name { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1; }
.foot__legal { margin-top: 22px; padding-top: 16px; }
@media (max-width: 860px) { .foot__mark { margin-top: 0; } .foot__logo { width: 84px; height: 84px; } .foot__brand { gap: 14px; } }

/* ---------- About v4 (web-motion-recipes test): statement that inks with scroll, stacking deck, clip reveals ---------- */
.statement { padding-block: clamp(56px, 7vw, 120px) clamp(40px, 5vw, 80px); }
.statement__text { margin: 0; max-width: 30ch; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 1rem + 1.7vw, 2.25rem); line-height: 1.4; color: var(--ink); }
.statement__text .w { transition: opacity .35s linear; }
.js .statement__text[data-ink] .w { opacity: var(--o, .22); }

.deck { position: relative; padding-bottom: clamp(48px, 6vw, 96px); }
.deck__slot + .deck__slot { margin-top: 20px; }
.card { display: grid; grid-template-columns: 1fr; color: var(--ink); overflow: hidden; }
.card--stone { background: var(--surface); }
.card--paper { background: #fbfbfa; }
.card--night { background: var(--night); color: var(--on-dark); }
.card--blue { background: var(--blue); color: var(--on-dark); }
.card__pic { overflow: hidden; background: var(--night); }
.card__pic img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card--stone .card__pic img { object-position: 50% 30%; }
.card__text { padding: clamp(28px, 3.4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.card__text p { margin: 0; max-width: 52ch; }
.card__head { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); line-height: 1.08; margin-bottom: 6px; }
.card__pasuk { font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); margin-top: 8px !important; }
.card--stone .card__pasuk, .card--paper .card__pasuk { color: var(--blue); }
.card--stone .pasuk cite, .card--paper cite { color: #85601d; }
.card--blue .card__pasuk { color: var(--on-dark); }
.card__quote { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3rem); line-height: 1.2; }
.card__quote p { margin: 0; max-width: 18ch; }
.card__quote cite { display: block; margin-top: 14px; font-family: var(--f-ui); font-weight: 400; font-style: normal; font-size: var(--s-small); color: var(--gold); }
.card__quote-s { font-family: var(--f-pasuk); font-weight: 500; font-size: 1.125rem; line-height: 1.6; color: var(--blue); margin-top: 8px !important; }
.card__quote-s cite { display: block; font-family: var(--f-ui); font-style: normal; font-size: var(--s-small); margin-top: 4px; }
.on-dark .card__text p:not(.pasuk) { color: var(--on-dark); }

@media (min-width: 861px) {
  .deck__slot { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: flex-start; padding-top: clamp(84px, 11vh, 120px); }
  .deck__slot + .deck__slot { margin-top: 0; }
  .card { position: relative; top: calc(var(--i) * 18px); width: 100%; height: min(calc(100svh - 150px), 700px); grid-template-columns: 44% 1fr; transform-origin: top center; will-change: transform; }
  .card__pic img { aspect-ratio: auto; }
  .card__text { overflow: hidden; }
}

/* clip-path reveal for pictures (bottom-up, like a print being pulled) */
.js .rise.clip { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.77, 0, .175, 1); transition-delay: var(--d, 0ms); }
.js .rise.clip.is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .js .rise.clip { clip-path: none; transition: none; }
  .js .statement__text[data-ink] .w { opacity: 1; }
}
.card--night .card__pic img { object-position: 50% 80%; }
.page-about .mast { height: clamp(240px, 38svh, 460px); }
.card__quote { font-size: clamp(1.375rem, 1rem + 1.2vw, 2.125rem); }
.card__quote p { max-width: 22ch; }
.card .pasuk cite { font-size: .8125rem; }
.statement__text { max-width: 34ch; }
@media (min-width: 861px) { .deck__slot { height: 88vh; height: 88svh; } }
.card__pic video { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 861px) { .card__pic video { aspect-ratio: auto; } }
.card--night .card__pic video { object-position: 50% 88%; }

/* ---------- Home v5: the yeshiva first (17.11) ---------- */
/* split hero: the beit midrash on the left, the name on the night field on the right */
.night-hero--split { justify-content: flex-end; }
.night-hero--split .night-hero__media img { opacity: 1; transition: none; clip-path: inset(0 0 0 100%); }
.night-hero--split .night-hero__media img.was { clip-path: inset(0); z-index: 1; animation: none; }
.night-hero--split .night-hero__media img.is-on { clip-path: inset(0); z-index: 2; transition: clip-path 1.5s cubic-bezier(.77, 0, .175, 1); animation: drift 12s linear both; }
.night-hero--split .night-hero__title { font-size: clamp(3.4rem, 1.4rem + 7vw, 8.6rem); line-height: .95; }
.night-hero__lead { margin-top: 18px; font-family: var(--f-ui); font-size: 1.0625rem; line-height: 1.6; color: var(--on-dark-soft); }
.night-hero--split .night-hero__sub { color: var(--on-dark); max-width: 30ch; }
.night-hero__foot span[data-hero-cap] { color: var(--on-dark); }
@media (min-width: 861px) {
  .night-hero--split .night-hero__media { inset: 0 auto 0 0; width: 56%; }
  .night-hero--split .night-hero__media::after { background: linear-gradient(90deg, rgba(12,20,32,0) 72%, var(--night) 100%), linear-gradient(180deg, rgba(12,20,32,.45) 0%, rgba(12,20,32,0) 22%); }
  .night-hero--split .night-hero__in { width: 44%; margin-inline-start: 0; padding-bottom: clamp(56px, 9vh, 120px); }
  .night-hero--split .night-hero__foot { position: absolute; inset: auto auto 0 0; width: 56%; z-index: 3; padding-bottom: 18px; }
}
@media (max-width: 860px) {
  .night-hero--split { min-height: 0; padding-top: 0; }
  .night-hero--split .night-hero__media { position: relative; height: 58svh; }
  .night-hero--split .night-hero__media::after { background: linear-gradient(180deg, rgba(12,20,32,.55) 0%, rgba(12,20,32,0) 26%, rgba(12,20,32,0) 70%, var(--night) 100%); }
  .night-hero--split .night-hero__in { padding-top: 8px; padding-bottom: 28px; }
  .night-hero--split .night-hero__foot { position: absolute; top: calc(58svh - 44px); inset-inline: 0; }
}

/* the bar of the yeshiva: four ways in, on Eival blue */
.ybar { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--blue); color: var(--on-dark); }
.ybar a { display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 2.6vw, 36px) var(--m); text-decoration: none; transition: background-color .25s var(--ease); }
.ybar a:nth-child(even) { background: #24456f; }
.ybar b { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.25rem); line-height: 1.05; display: inline-flex; align-items: baseline; gap: 10px; }
.ybar b::after { content: "←"; font-family: var(--f-ui); font-weight: 400; font-size: .6em; color: var(--gold); transition: transform .3s var(--ease); }
.ybar span { font-family: var(--f-ui); font-size: 1rem; color: var(--on-dark-soft); }
@media (hover: hover) { .ybar a:hover { background: var(--night); } .ybar a:hover b::after { transform: translateX(-6px); } }
.ybar a:active { transform: scale(.98); }
@media (max-width: 860px) { .ybar { grid-template-columns: 1fr 1fr; } }

/* a day in the yeshiva */
.day { padding-block: 0 var(--gap-section); }
.day__row { display: grid; grid-template-columns: 1.3fr 1.3fr .8fr 1.3fr; gap: 12px; margin-top: 28px; }
.day__row figure { margin: 0; }
.day__row img { width: 100%; height: clamp(220px, 26vw, 380px); object-fit: cover; display: block; }
.day__row figcaption { margin-top: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.375rem; }
.draft { margin-top: 26px; display: inline-block; background: #f3e6c4; color: #5b4310; font-family: var(--f-ui); font-size: 1rem; padding: 12px 18px; }
@media (max-width: 860px) { .day__row { grid-template-columns: 1fr 1fr; } .day__row img { height: 44vw; } }

.renew--har { background: var(--surface); padding-block: clamp(64px, 7vw, 112px); margin-top: 0; }
.renew--har .renew__side p { font-size: 1.125rem; }

.give { background: var(--blue); padding-block: clamp(64px, 7vw, 112px); display: grid; grid-template-columns: 1fr 1fr auto; gap: 32px; align-items: end; }
.give p { margin: 0; max-width: 40ch; color: var(--on-dark); font-size: var(--s-lead); line-height: 1.45; }
@media (max-width: 860px) { .give { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .night-hero--split .night-hero__media img.is-on { transition: none; animation: none; } }
@media (min-width: 861px) { .night-hero--split { min-height: max(600px, calc(100svh - 104px)); } }
.give .head { color: var(--on-dark); }
@media (min-width: 861px) { .night-hero--split .night-hero__foot { inset: 84px auto auto 0; padding-top: 10px; } }
@media (max-width: 860px) { .night-hero--split [data-hero-cap] { visibility: hidden; } .day { padding-top: 24px; } .midrash { padding-bottom: 72px; } }
#midrash { padding-top: clamp(24px, 3vw, 56px); }
.in-pasuk { font-family: var(--f-pasuk); font-weight: 500; }
.contact-sh { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.contact-sh .head { color: var(--on-dark); }
.contact-sh .lead { margin-top: 14px; color: var(--on-dark); }
.phone-big { display: inline-block; margin-top: 10px; font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1; color: var(--gold); text-decoration: none; }
.contact-sh__acts { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 860px) { .contact-sh { grid-template-columns: 1fr; } }
.row-links { display: flex; flex-wrap: wrap; gap: 22px; }
.day { padding-bottom: clamp(48px, 5vw, 80px); }
