
@font-face{font-family:Lora;src:url(/assets/fonts/lora.woff2) format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Lora;src:url(/assets/fonts/lora-i.woff2) format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:Lora;src:url(/assets/fonts/lora-b.woff2) format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Lora;src:url(/assets/fonts/lora-bi.woff2) format('woff2');font-weight:700;font-style:italic;font-display:swap}
@font-face{font-family:'David Libre';src:url(/assets/fonts/david.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'David Libre';src:url(/assets/fonts/david-b.woff2) format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'Keter YG';src:url(/assets/fonts/keter.woff2) format('woff2');font-weight:400;font-display:swap}

:root{
  --ground:#03070c; --surface:#0b121c; --surface-2:#111a27;
  --line:#1d2a3a; --line-soft:#16202c;
  --ink:#c9d4e0; --ink-dim:#95a3b3; --ink-quiet:#6b7a8b; --ink-strong:#e8eef6;
  --steel:#1f7fd4; --steel-deep:#0e4c94;
  --gold:#f9cf36; --gold-hi:#ffe45b; --on-accent:#120b04;
  --pasuk-bg:#0f1b26; --trans-bg:#101822; --pasuk-ink:#e8eef6;
  --measure:54rem;
}
body.paper{
  --ground:#fcfbf9; --surface:#ffffff;
  --surface-2:#f2efe7;
  --line:#a89c80; --line-soft:#ded5c0;
  --ink:#1c1c1c; --ink-dim:#3f3f3f;
  --ink-quiet:#5f5848; --ink-strong:#0d0d0d;
  --steel:#3f6f99; --steel-deep:#2d5676; --gold:#8a6a2f; --gold-hi:#6f5422;
  --on-accent:#fff;
  --pasuk-bg:#e8e8e8; --trans-bg:#f0f0f0;
  --pasuk-ink:#000000;
}
*{box-sizing:border-box}
body{margin:0;background:var(--ground);color:var(--ink);
  font-family:Lora,Georgia,'Times New Roman',serif;font-size:18px;
  line-height:1.72;text-rendering:optimizeLegibility}
/* David Libre runs small against the Latin face at the same size. */
.heb,.heb-b{font-family:'David Libre','Frank Ruhl Libre',serif;direction:rtl;
  unicode-bidi:isolate;font-style:normal;font-size:1.07em}
.heb .heb{font-size:1em}
a{color:var(--steel)}

.masthead{border-bottom:1px solid var(--line);background:var(--surface);
  position:relative;overflow:hidden;
  /* Height tracks the VIEWPORT so the band keeps a constant aspect ratio and
     therefore a constant, predictable crop. A fixed height means a 2500px
     monitor renders the band at 12:1 against a 6.9:1 strip and throws away
     45% of the artwork vertically, while a laptop throws away none. 14.5vw is
     the strip's own ratio; the clamp stops it collapsing under the masthead's
     own content on a phone, or becoming a billboard on a very wide screen. */
  /* The floor is set by the masthead's OWN CONTENT, not by taste: the mark at
     its minimum plus the tagline, the nav and the padding needs about 187px,
     and the band has overflow:hidden, so anything less silently clips the
     navigation. 200px clears it at every width from a phone up. */
  height:clamp(200px, 16vw, 320px)}
/* The band is composited by build.py and emitted at three widths — cropping
   there rather than here because the browser would otherwise download a whole
   image to show a slice of it.

   `object-position: center` because the artwork is centred on the strip and
   fades out to either side — a narrower screen crops into the faded tail,
   which is where the picture is already going quiet. */
.masthead .band{position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center center;display:block;z-index:0}
/* The scrim. Without it the nav sits on whatever the photograph happens to be
   doing underneath — different on every crop, illegible on some. Heaviest at
   the bottom, which is where the nav is. */
.masthead::before{content:'';position:absolute;inset:0;z-index:1;
  background:
    /* Vertical: lets the picture show at the top, buries the bottom where the
       nav sits. */
    linear-gradient(180deg, rgba(2,6,14,.34) 0%, rgba(2,8,18,.62) 42%,
      rgba(3,7,12,.97) 100%),
    /* Horizontal: a darker wedge on the left so the mark and the tagline have
       a quiet ground whatever panel ends up behind them, fading out across the
       middle where the artwork is worth seeing. */
    linear-gradient(90deg, rgba(2,6,14,.70) 0%, rgba(2,6,14,.30) 34%,
      transparent 58%),
    radial-gradient(90% 130% at 88% -10%,
      rgba(249,207,54,.08) 0%, transparent 60%);
  pointer-events:none}
/* No image configured: fall back to the gradient the band used to be. */
.masthead:not(:has(.band))::before{
  background:
    radial-gradient(120% 150% at 18% -30%,
      rgba(31,127,212,.30) 0%, rgba(31,127,212,.10) 38%, transparent 68%),
    linear-gradient(180deg, #021442 0%, #0a1324 55%, var(--surface) 100%)}
/* The hairline the band sits on, in brand gold rather than a grey rule. */
.masthead::after{content:'';position:absolute;left:0;right:0;bottom:0;z-index:2;
  height:2px;background:linear-gradient(90deg,
    transparent 0%, var(--gold) 22%, var(--gold-hi) 50%,
    var(--gold) 78%, transparent 100%);opacity:.85}
.mast-in{position:relative;z-index:3}
/* On paper the photograph drops back so dark type can sit on it. */
body.paper .masthead .band{opacity:.18}
body.paper nav.nav a,body.paper .tagline{text-shadow:none}
body.paper .masthead::before{
  background:linear-gradient(180deg, rgba(252,251,249,.70) 0%,
    rgba(252,251,249,.94) 100%)}
/* An image inside a link must not pick up link colour or an underline. */
figure.hero a,figure.thumb a{display:block;line-height:0}
.mast-in{max-width:80rem;margin:0 auto;padding:1.6rem 2rem 0}
.mast-in .mark{display:block;line-height:0}
/* The mark scales with the masthead, which is itself viewport-relative. A
   fixed height left it at 66px inside a 300px band on a wide monitor — the
   site's own name smaller than its navigation, with 100px of empty space
   under it. 5.6vw tracks the band's 14.5vw so the proportion holds at any
   width; the clamp keeps it legible on a phone and stops it becoming a
   billboard on an ultrawide. */
.mast-in .mark svg{height:clamp(66px, 5.6vw, 140px);width:auto;
  max-width:100%}
.tagline{font-style:italic;color:var(--gold);
  font-size:clamp(.88rem, .62vw, 1.12rem);
  margin:.7rem 0 0;letter-spacing:.01em;
  text-shadow:0 1px 4px rgba(0,0,0,.9)}
/* Top right, against the band. Subscribe is the one thing the header is for
   besides the name, so it gets the gold; the theme toggle sits beside it as a
   quiet outline so the two do not compete. */
.mast-actions{position:absolute;top:1.5rem;right:2rem;display:flex;
  align-items:center;gap:.7rem;z-index:4}
.sub-cta{font-size:.76rem;padding:.52rem 1.15rem;letter-spacing:.09em}
.mode{font:inherit;font-size:.7rem;letter-spacing:.12em;
  text-transform:uppercase;background:rgba(3,7,12,.45);color:var(--ink-dim);
  border:1px solid rgba(255,255,255,.22);padding:.46rem .8rem;cursor:pointer;
  backdrop-filter:blur(2px)}
.mode:hover{color:var(--ink);border-color:var(--gold)}
body.paper .mode{background:rgba(255,255,255,.6);
  border-color:var(--line-soft)}
nav.nav{display:flex;flex-wrap:wrap;gap:0 1.5rem;margin:1.1rem 0 0;
  border-top:1px solid rgba(255,255,255,.10)}
nav.nav a{font-size:.82rem;letter-spacing:.07em;text-transform:uppercase;
  color:#b9c6d4;text-decoration:none;padding:.75rem 0;
  border-top:2px solid transparent;margin-top:-1px;
  text-shadow:0 1px 3px rgba(0,0,0,.85)}
nav.nav a.he{text-transform:none;letter-spacing:0;font-size:1rem;
  font-family:'David Libre',serif}
nav.nav a:hover{color:var(--ink)}
nav.nav a[aria-current]{color:var(--ink);border-top-color:var(--gold)}

main{max-width:80rem;margin:0 auto;padding:3.2rem 2rem 5rem}
.eyebrow{font-size:.73rem;letter-spacing:.15em;text-transform:uppercase;
  color:var(--steel);margin:0 0 .7rem}
h1{font-size:2.3rem;font-weight:700;line-height:1.18;margin:0 0 .6rem;
  text-wrap:balance;color:var(--ink-strong);letter-spacing:-.005em}
h2{font-size:1.3rem;font-weight:700;margin:2.2rem 0 .7rem;color:var(--ink-strong)}
h2.yearhead{display:flex;align-items:baseline;gap:.9rem;margin:3rem 0 1.2rem;
  padding-bottom:.6rem;border-bottom:1px solid var(--line);font-size:1.7rem}
h2.yearhead:first-child{margin-top:0}
h2.yearhead .yl{font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-quiet);font-weight:400}
.lede{color:var(--ink-dim);max-width:42rem;margin:.5rem 0 2.2rem;
  font-size:1.06rem}
hr.rule{height:1px;background:var(--line);border:0;margin:2.6rem 0}
.prose{max-width:50rem}
/* An RTL page flips its CONTENT, not the furniture.
   `dir` on <html> was turning the whole shell around — the masthead, the nav,
   the Subscribe button and the footer all mirrored, on a site whose chrome is
   English. Scoped to <main>, and the body text inside it still reads
   left-to-right unless it is itself Hebrew. */
main.rtl{direction:rtl}
main.rtl > *{max-width:52rem;margin-left:auto;margin-right:0}
main.rtl h1,main.rtl h2,main.rtl .lede,main.rtl .prose,
main.rtl .eyebrow{text-align:right}
main.rtl .prose{max-width:52rem}
/* A list of Hebrew titles, each with an English gloss underneath. */
ul.essays{list-style:none;margin:1.6rem 0 0;padding:0;max-width:52rem}
ul.essays li{padding:1rem 0;border-bottom:1px solid var(--line-soft)}
ul.essays .he-t{display:block;font-family:'David Libre',serif;direction:rtl;
  font-size:1.2rem;line-height:1.5;color:var(--ink-strong)}
ul.essays .he-t a{text-decoration:none}
ul.essays .he-t a:hover{text-decoration:underline;
  text-underline-offset:4px}
ul.essays .pending{color:var(--ink-quiet)}
ul.essays .pending::after{content:' · link pending';font-family:Lora,serif;
  font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;
  color:var(--ink-quiet)}
ul.essays .gl{display:block;direction:ltr;text-align:left;font-style:italic;
  font-size:.88rem;color:var(--ink-quiet);margin-top:.3rem}
.prose p{margin:0 0 .95em}
.prose blockquote{margin:1.4em 0;padding:0 0 0 1.1rem;
  border-left:2px solid var(--gold);font-style:italic;color:var(--ink-strong)}
.btn{display:inline-block;font-size:.83rem;letter-spacing:.07em;
  text-transform:uppercase;background:var(--gold);color:var(--on-accent);
  border:1px solid var(--gold);padding:.6rem 1.3rem;cursor:pointer;
  font-weight:700;text-decoration:none;font-family:inherit}
.btn.ghost{background:none;color:var(--ink);border-color:var(--line);
  font-weight:400}
.btn-row{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.6rem;
  align-items:center}
.po-note{font-size:.84rem;color:var(--ink-quiet);font-style:italic}

/* ---- the notification opt-in ----
   Set apart from the email form by a rule rather than a box, because it is a
   second offer and not a competing one.

   THE [hidden] RULE IS NOT REDUNDANT. `.btn` sets display:inline-block, which
   is a more specific declaration than the UA stylesheet's display:none for
   [hidden] and wins it — so a button carrying the attribute renders anyway.
   Without this, the install button is visible on every browser including the
   ones that cannot install anything, and the opt-in is visible on the ones
   with no push support at all. Scoped to this box rather than global: an
   `!important` on a bare [hidden] is a thing every later rule has to work
   around.

   This whole block is inside an f-string, so every literal brace is doubled —
   in the COMMENTS as well as the rules. A single opening brace is read as a
   format expression, and the first draft of this comment quoted a CSS
   declaration verbatim and took the whole build down with
   NameError: name 'display' is not defined. */
.push-box{margin-top:1.6rem;padding-top:1.2rem;
  border-top:1px solid var(--line)}
.push-box .btn-row{margin-top:0}
.push-note{font-size:.83rem;color:var(--ink-quiet);margin:.7rem 0 0;
  min-height:1.1em}
.push-box[hidden],.push-box [hidden]{display:none!important}

/* ---- the reading leaf ----
   The column was centred inside an 80rem main, which meant a wide screen put
   a quarter of the page of empty space on EACH side of the text and read as
   narrow however much the measure grew. The grid now fills the container:
   the text column takes what is left after the apparatus, with a ceiling so
   it does not run to an unreadable line on a very wide monitor. */
.leaf{display:grid;grid-template-columns:minmax(0,var(--measure)) 16rem;
  gap:0 4.5rem;justify-content:start;max-width:76rem}
figure.hero{margin:0 0 2.4rem;line-height:0}
figure.hero img{width:100%;height:auto;display:block;
  border:1px solid var(--line)}
figure.thumb{margin:0;line-height:0;grid-row:span 2}
figure.thumb img{width:100%;height:auto;display:block;aspect-ratio:16/9;
  object-fit:cover;border:1px solid var(--line)}
.leaf-body{min-width:0}
.leaf-body p{text-align:justify;hyphens:auto;margin:0 0 1.05em}
.leaf-body h3{font-size:1.22rem;font-weight:700;margin:2.2em 0 .8em;
  text-align:left;color:var(--ink-strong);letter-spacing:.005em}
.leaf-body p.divider{text-align:center;color:var(--gold);margin:1.6em 0}
.leaf-body blockquote.pasuk{font-family:'Keter YG','David Libre',serif;
  direction:rtl;text-align:right;background:var(--pasuk-bg);padding:.7rem .9rem;
  margin:1.2em 0 1.2em 1.5rem;font-size:1.22rem;line-height:1.9;
  color:var(--pasuk-ink);border-right:2px solid var(--gold)}
.leaf-body .pasuk-cite,.leaf-body .src-cite{font-family:'David Libre',serif;
  font-size:.84rem;color:var(--ink-quiet);white-space:nowrap}
.leaf-body p.bq-trans{margin:-1.2em 0 1.2em 1.5rem;padding:.55rem .9rem;
  background:var(--trans-bg);color:var(--ink-dim);font-style:italic;
  font-size:.93rem;text-align:left;hyphens:none;border-right:2px solid var(--line)}
.leaf-head{margin:0 0 2.6rem}
.leaf-head h1{margin:0 0 .7rem;line-height:1.14}
.leaf-head h1 .t1{display:block;font-size:.62em;font-weight:400;
  color:var(--steel);letter-spacing:.01em;margin-bottom:.22em}
.leaf-head h1 .t2{display:block}
.tools{margin:0 0 1.8rem}
.pdf-btn{display:inline-flex;align-items:center;gap:.55rem;
  font-size:.86rem;text-decoration:none;color:var(--ink-dim);
  border:1px solid var(--line);padding:.5rem .95rem;line-height:1}
.pdf-btn .ico{flex:none;color:var(--gold)}
.pdf-btn .sz{color:var(--ink-quiet);font-size:.78rem;
  font-variant-numeric:tabular-nums}
.pdf-btn:hover{border-color:var(--gold);color:var(--ink-strong)}
.pdf-btn:focus-visible{outline:2px solid var(--steel);outline-offset:2px}
.btn-row .pdf-btn{padding:.62rem 1.1rem}
/* The list-row version: icon plus the word, no border, so 144 rows do not
   turn into 144 buttons. */
.pdf-mini{display:inline-flex;align-items:center;gap:.3rem;margin-left:.9rem;
  font-size:.72rem;letter-spacing:.07em;text-transform:uppercase;
  color:var(--ink-quiet);text-decoration:none;vertical-align:baseline}
.pdf-mini .ico{width:13px;height:13px;color:var(--steel-deep)}
.pdf-mini .sz{display:none}
.pdf-mini:hover{color:var(--gold)}
.pdf-mini:hover .ico{color:var(--gold)}
.subtitle{font-style:italic;color:var(--ink-dim);font-size:1.02rem;
  line-height:1.55;margin:.2rem 0 0;max-width:40rem}
.feature{margin:0 0 3.2rem}
.feat-head{margin:0 0 1.6rem;max-width:56rem}
.feature figure.hero{margin:0}
.feature .btn-row{margin-top:1.5rem}
.feature h1{font-size:3.4rem;line-height:1.1;margin:.3rem 0 0}
.feature h1 a{color:inherit;text-decoration:none}
.feature h1 a:hover .t2{color:var(--steel)}
.feature h1 .t1{display:block;font-size:.5em;font-weight:400;
  color:var(--steel);margin-bottom:.25em}
.feature h1 .t2{display:block}
/* ---- the sefer block ----
   The pre-order poster and the copy it does not carry, side by side. The
   poster is the campaign's own artwork — the same sheet that prints and goes
   out on WhatsApp — so it already says the title, the haskama line and the
   date, and the column beside it is deliberately the rest: what the sefer is,
   what it costs, where to buy it.

   A FIXED 30rem, not a free half of the row. The poster is 4:3, so its width
   sets the height of the whole block, and at an even split on a wide screen
   that is a 480px-tall panel holding four lines of text — the copy ends up
   floating in the middle of its own column. 30rem is as small as it goes
   before the poster's own subtitle stops being type and starts being texture;
   the rest of the row is the reading column, capped where every other one on
   the site is. */
.preorder{border:1px solid var(--line);background:var(--surface);
  padding:1.9rem 2rem;margin:0 0 3rem;
  display:grid;grid-template-columns:minmax(0,30rem) minmax(0,1fr);
  gap:1.6rem 2.6rem;align-items:center}
.preorder h2{margin:0 0 .5rem;font-size:1.35rem}
.preorder p{margin:0;color:var(--ink-dim);max-width:40rem}
/* A hairline and a shadow, because the poster's own ground is near-black and
   so is the panel behind it — without an edge it dissolves into the card and
   stops looking like a printed thing. Gold on hover, matching the mark. */
/* max-width, not a width: inside the home page's 30rem grid column it changes
   nothing, and it is what keeps the same element from running to 50rem when
   the store drops it into a prose column. */
.po-art{display:block;line-height:0;max-width:30rem;
  border:1px solid var(--line);
  box-shadow:0 .9rem 2rem rgba(0,0,0,.45);
  transition:border-color .18s ease,transform .18s ease}
.prose .po-art{margin:1.7rem 0}
.po-art img{display:block;width:100%;height:auto}
.po-art:hover{border-color:var(--gold);transform:translateY(-2px)}
/* Specificity: `.preorder p` is (0,1,1) and would take both the margin and
   the dimmed colour off a bare `.po-price`. */
.preorder .po-price{margin:1.15rem 0 0;color:var(--gold);font-size:.92rem;
  letter-spacing:.02em}
.pager{display:flex;align-items:center;gap:1.4rem;margin:2rem 0 0;
  padding-top:1.3rem;border-top:1px solid var(--line-soft);font-size:.88rem}
.pager a{text-decoration:none}
.pager .pn{margin-left:auto;color:var(--ink-quiet);font-size:.78rem;
  letter-spacing:.1em;text-transform:uppercase}
.gate{border:1px solid var(--line);background:var(--surface);
  padding:2rem 2rem 2.2rem;margin:2.4rem 0;text-align:center}
.gate-when{font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gold);margin:0 0 .8rem}
.gate p{margin:0 auto;max-width:28rem;color:var(--ink-dim)}
.sub-inline{display:flex;gap:.6rem;max-width:26rem;margin:1.6rem auto 0;
  flex-wrap:wrap}
.sub-inline input{font:inherit;flex:1 1 12rem;padding:.6rem .7rem;
  background:var(--ground);color:var(--ink);border:1px solid var(--line)}
.subtitle .pt-dia{font-style:normal;color:var(--gold);font-size:.58em;
  margin:0 .45rem;vertical-align:.18em}
.leaf-head .dateline{font-style:italic;font-size:.84rem;color:var(--ink-quiet);
  margin:.55rem 0 0}
.points{text-align:center;font-size:.89rem;color:var(--ink-dim);
  line-height:1.55;max-width:33rem;margin:1.5rem auto 0}
.points .pt-dia{color:var(--gold);font-size:.6rem;margin:0 .5rem;
  vertical-align:.14em}
.apparatus{font-size:.82rem;line-height:1.55;border-left:1px solid var(--line);
  padding-left:1.4rem;align-self:start;position:sticky;top:1.5rem;
  max-height:calc(100vh - 3rem);overflow-y:auto;
  scrollbar-width:thin;scrollbar-color:var(--line) transparent}
/* ---- section nav ----
   Lives in the apparatus column above the glossary. Scrolls inside itself
   rather than growing the sticky block past the viewport — Vayeitzei has 41
   headings, which is taller than most screens. */
.toc-sections{margin:0 0 1.8rem;padding:0 0 1.4rem;
  border-bottom:1px solid var(--line-soft)}
.toc-sections ol{list-style:none;margin:0;padding:0;
  max-height:min(48vh,30rem);overflow-y:auto;
  scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.toc-sections li{margin:0}
.toc-sections a{display:block;padding:.3rem 0 .3rem .7rem;font-size:.82rem;
  line-height:1.4;color:var(--ink-quiet);text-decoration:none;
  border-left:2px solid var(--line-soft)}
.toc-sections a:hover{color:var(--ink);border-left-color:var(--steel)}
.toc-sections a.here{color:var(--ink-strong);border-left-color:var(--gold)}
/* Anchored headings must clear the top of the window when jumped to. */
.leaf-body h3{scroll-margin-top:1.5rem}
.apparatus h4{font-size:.68rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--steel);font-weight:400;margin:.3rem 0 1rem}
.apparatus dt{font-family:'David Libre',serif;direction:rtl;font-size:1.08rem;
  text-align:left;color:var(--ink);margin-top:1rem}
.apparatus dt:first-of-type{margin-top:0}
.apparatus dd{margin:.1rem 0 0;color:var(--ink-quiet);font-style:italic}

/* ---- lists ---- */
.sec{margin:0 0 2.6rem}
.sec > h3{font-size:.75rem;letter-spacing:.15em;text-transform:uppercase;
  color:var(--steel);font-weight:400;margin:0;padding-bottom:.6rem;
  border-bottom:1px solid var(--steel-deep)}
.sec > h3.he{font-family:'David Libre',serif;direction:rtl;
  text-transform:none;letter-spacing:0;font-size:1.04rem;text-align:right}
ul.toc{margin:0;padding:0;list-style:none}
ul.toc li{display:grid;grid-template-columns:9rem 1fr auto;gap:0 1.6rem;
  align-items:center;padding:1rem 0;border-bottom:1px solid var(--line-soft)}
ul.toc .noimg{display:block}
ul.toc .ti{display:block;font-size:1.06rem;line-height:1.4}
ul.toc .ti .sub{display:block;font-size:.84rem;color:var(--ink-quiet);
  margin-top:.25rem;line-height:1.45}
ul.toc a{text-decoration:none;color:var(--ink)}
ul.toc a:hover{color:var(--steel)}
ul.toc .dt{font-size:.78rem;color:var(--ink-quiet);white-space:nowrap;
  font-variant-numeric:tabular-nums;align-self:start;padding-top:.2rem}
.spine{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));
  border-top:1px solid var(--line-soft)}
.spine a{border-bottom:1px solid var(--line-soft);padding:1.1rem 2rem 1.1rem 0;
  display:flex;gap:1rem;align-items:baseline;text-decoration:none;color:inherit}
.spine .n{font-size:.77rem;color:var(--steel);min-width:1.6rem;
  font-variant-numeric:tabular-nums}
.spine .ct{font-size:.77rem;color:var(--ink-quiet);margin-top:.15rem}
/* The front-page news bar. One line above the week's drasha, and gone
   entirely when there is nothing — build.news_bar() emits no element, so
   there is no empty rule holding space open. Quiet on purpose: it sits above
   the thing most readers came for and must not outshout it. */
.newsbar{margin:0 0 1.6rem;padding:.7rem .95rem;border-radius:3px;
  background:var(--paper-sunk,rgba(0,0,0,.035));
  border-inline-start:3px solid var(--gold);font-size:.9rem}
.newsbar a{color:inherit;text-decoration:none}
.newsbar a:hover strong{color:var(--steel)}
.newsbar strong{color:var(--ink-strong)}
.note{border-bottom:1px solid var(--line-soft);padding:1.9rem 0;max-width:52rem}
.note h3{font-size:1.22rem;margin:0 0 .4rem;color:var(--ink-strong);
  line-height:1.35}
.note h3 a{color:inherit;text-decoration:none}
.note h3 a:hover{color:var(--steel)}
.note .when{font-size:.78rem;color:var(--ink-quiet);margin:0 0 .7rem}
.note p{margin:0}
.note .more{white-space:nowrap;font-size:.85rem;text-decoration:none;
  border-bottom:1px solid var(--steel-deep)}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));
  gap:1px;background:var(--line-soft);border:1px solid var(--line-soft);
  margin:1.5rem 0}
.cards .card{background:var(--ground);padding:0 0 1.1rem}
.cards .card img{display:block;width:100%;height:auto;aspect-ratio:4/3;
  object-fit:cover;margin:0 0 .9rem}
.cards .cn,.cards .cb{padding:0 1.1rem}
.cards .cn{font-size:1.02rem;color:var(--ink-strong)}
.cards .cn a{text-decoration:none}
.cards .cb{font-size:.84rem;color:var(--ink-quiet);margin-top:.3rem}
.cards .dt{font-size:.72rem;color:var(--ink-quiet);font-style:italic}
/* A sefer: cover at its true proportions, beside the title and the blurb. */
.sefer{display:flex;flex-wrap:wrap;gap:1.6rem;align-items:flex-start;
  margin:1.6rem 0;max-width:52rem}
.sefer .cover{flex:0 0 12rem;max-width:12rem}
.sefer .cover img{display:block;width:100%;height:auto;
  border:1px solid var(--line-soft)}
.sefer .meta{flex:1 1 18rem;min-width:0}
/* rtl so the letters order correctly, but aligned left with the gloss and the
   blurb beneath it — right-aligned it drifts to the far edge of the column. */
.sefer .he-t{display:block;font-family:'David Libre',serif;direction:rtl;
  text-align:left;font-size:1.35rem;line-height:1.5;color:var(--ink-strong)}
.sefer .he-t a{text-decoration:none}
.sefer .he-t a:hover{text-decoration:underline;text-underline-offset:4px}
.sefer .pending{color:var(--ink-quiet)}
.sefer .pending::after{content:' · coming soon';font-family:Lora,serif;
  font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;
  color:var(--ink-quiet)}
.sefer .gl{display:block;direction:ltr;text-align:left;font-style:italic;
  font-size:.88rem;color:var(--ink-quiet);margin-top:.3rem}
.sefer .cb{font-size:.9rem;line-height:1.65;margin:.9rem 0 1.1rem}

footer.site{border-top:1px solid var(--line);margin-top:4rem;
  padding:2rem 1.75rem 3.5rem;font-size:.8rem;color:var(--ink-quiet);
  max-width:80rem;margin-left:auto;margin-right:auto;display:flex;
  flex-wrap:wrap;gap:.4rem 1.2rem}
footer.site a{color:var(--ink-quiet)}
.motto{font-style:italic;color:var(--gold)}

@media (max-width:900px){
  .leaf{grid-template-columns:1fr;gap:2rem}
  /* One column, poster first — the order the flyer itself reads in. Capped
     at 26rem so it does not become a full-width billboard on a tablet; on a
     phone the cap is wider than the screen and it simply fills it. */
  .preorder{grid-template-columns:1fr;gap:1.7rem}
  .po-art{max-width:26rem}
  /* Below the text on a narrow screen, so it stops being navigation and
     becomes an index. The headings list collapses; a 41-item list between the
     drasha and the footer is worse than no list. */
  .apparatus{position:static;border-left:0;border-top:1px solid var(--line);
    padding:1.3rem 0 0;max-height:none;overflow:visible}
  .toc-sections ol{max-height:none}
  .apparatus dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr))}
}
/* Mobile. The reading column is the whole width, the apparatus moves below the
   text, and the nav scrolls sideways instead of stacking into five ragged rows
   that push the content off the first screen. */
@media (max-width:620px){
  body{font-size:17px;line-height:1.68;-webkit-text-size-adjust:100%}
  main{padding:2rem 1.1rem 3.5rem}
  .mast-in{padding:1.6rem 1.1rem 0}
  .masthead{height:auto;min-height:0}
  nav.nav{flex-wrap:nowrap;overflow-x:auto;gap:0 1.3rem;
    scrollbar-width:none;-webkit-overflow-scrolling:touch;
    margin-right:-1.1rem;padding-right:1.1rem}
  nav.nav::-webkit-scrollbar{display:none}
  nav.nav a{white-space:nowrap;padding:.8rem 0}
  .tagline{font-size:.88rem;max-width:58%}
  /* Keep Subscribe pinned top-right on a phone; it is the point of the header.
     The theme toggle drops away — nobody switches reading grounds on a 390px
     screen, and it would crowd the one control that matters. */
  .mast-actions{top:1.4rem;right:1.1rem;gap:.5rem}
  .mast-actions .mode{display:none}
  .sub-cta{font-size:.7rem;padding:.46rem .85rem}
  figure.hero img{border-left:0;border-right:0}
  .leaf-body p{text-align:left;hyphens:none}
  .gate{padding:1.4rem 1.1rem 1.6rem}
  .sub-inline{flex-direction:column}
  .sub-inline input,.sub-inline .btn{width:100%}
  .cards{grid-template-columns:1fr 1fr}
  .sefer{gap:1.1rem}
  .sefer .cover{flex-basis:8.5rem;max-width:8.5rem}
  .pager{font-size:.84rem;gap:.9rem}
  .mast-in .mark svg{height:52px}
  .feature h1{font-size:1.95rem}
  .leaf-head h1{font-size:1.75rem}
  .preorder{padding:1.4rem 1.2rem}
  .mode{position:static;margin-top:.9rem}
  ul.toc li{grid-template-columns:5rem 1fr;gap:0 .9rem;row-gap:.25rem;
    padding:.85rem 0}
  ul.toc .ti{font-size:1rem}
  ul.toc .dt{grid-column:2;padding-top:0;font-size:.72rem}
  .pdf-mini{margin-left:0}
  .leaf-body blockquote.pasuk,.leaf-body p.bq-trans{margin-left:0}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
