/* Blog v2 - editorial magazine (index cover + long-read). Shared by /blog/ and /he/blog/. Mobile first.
   Pairs: ink/paper, mute/paper, champ/paper, ink/greige, white/red. All >= 4.5:1. */
:root { --ink: #2F2C28; --mute: #5F5A52; --paper: #FAF8F4; --card: #F1EDE5; --greige: #A39E92; --hair: #D9D4CB; --champ: #7A6650; --red: #C8372D; --red-dark: #A82E26;
  --g: 20px; --serif: "Bodoni Moda", Georgia, serif; --disp: "Cormorant Garamond", Georgia, serif; --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif; --label: "Jost", "DM Sans", Arial, sans-serif; color-scheme: light; }
@media (min-width: 700px) { :root { --g: 40px; } }
@media (min-width: 1100px) { :root { --g: max(64px, calc((100vw - 1240px) / 2)); } }
:root:lang(he) { --serif: "Frank Ruhl Libre", Georgia, serif; --disp: "Frank Ruhl Libre", Georgia, serif; --sans: "Heebo", Arial, sans-serif; --label: "Heebo", Arial, sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 300 17px/1.75 var(--sans); }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; } p, li, blockquote { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
bdi { unicode-bidi: isolate; }
em { font-style: italic; }
:lang(he) em { font-style: normal; }

/* top bar */
main { display: grid; gap: 0; padding-bottom: 88px; }
.bl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--g); border-bottom: 1px solid var(--hair); }
.back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 500 12px var(--label); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.back:hover { text-decoration: underline; }
.lang-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 999px; font: 500 12px var(--sans); letter-spacing: .1em; text-decoration: none; }
.lang-pill:hover { background: var(--ink); color: var(--paper); }
:lang(he) .back { font-size: 15px; letter-spacing: 0; text-transform: none; }

/* shared labels */
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1.4 var(--label); letter-spacing: .26em; text-transform: uppercase; color: var(--champ); }
.kicker:before { content: ""; width: 28px; height: 1px; background: currentColor; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font: 400 13px/1.5 var(--sans); letter-spacing: .04em; color: var(--mute); }
.meta > * + *:before { content: ""; display: inline-block; width: 4px; height: 4px; margin-inline-end: 14px; border-radius: 50%; background: var(--hair); vertical-align: middle; }
:lang(he) .kicker { font-size: 15px; letter-spacing: 0; text-transform: none; }
:lang(he) .meta { font-size: 15px; letter-spacing: 0; }

/* ---------- index: masthead ---------- */
.bl-mast { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 56px var(--g) 40px; }
.bl-mast h1 { font: 400 clamp(46px, 11vw, 120px)/1 var(--disp); letter-spacing: -.01em; }
.bl-mast h1 em { color: var(--champ); }
.bl-mast .kicker:after { content: ""; width: 28px; height: 1px; background: currentColor; }
:lang(he) .bl-mast h1 { font-weight: 300; letter-spacing: 0; }

/* ---------- index: story grid. Add a post = copy one <li class="story"> ---------- */
.stories { display: grid; gap: 56px; padding: 0 var(--g); }
.story article { position: relative; display: grid; gap: 18px; }
.story-fig { position: relative; overflow: hidden; background: var(--card); aspect-ratio: 4 / 5; }
.story-fig img { width: 100%; height: 100%; object-fit: cover; }
.story-body { display: grid; gap: 12px; align-content: start; }
.story h2 { font: 400 clamp(26px, 3vw, 34px)/1.15 var(--serif); }
.story h2 a { text-decoration: none; }
.story h2 a:after { content: ""; position: absolute; inset: 0; } /* whole card clickable, one link */
.story:hover h2 a { text-decoration: underline; text-decoration-thickness: 1px; }
.story .dek { color: var(--mute); }
.story .read { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 500 12px var(--label); letter-spacing: .2em; text-transform: uppercase; }
.story .read:after { content: ""; width: 36px; height: 1px; background: currentColor; }
:lang(he) .story h2 { font-weight: 300; }
:lang(he) .story .read { font-size: 15px; letter-spacing: 0; text-transform: none; }
.story--lead { padding-bottom: 56px; border-bottom: 1px solid var(--ink); }
.story--lead h2 { font-size: clamp(34px, 7vw, 68px); line-height: 1.05; }
.story--lead .dek { font: 400 clamp(20px, 2vw, 24px)/1.5 var(--disp); color: var(--ink); }
:lang(he) .story--lead .dek { font-weight: 300; }
@media (min-width: 700px) {
  .stories { grid-template-columns: repeat(2, 1fr); gap: 64px 40px; }
  .story--lead { grid-column: 1 / -1; }
  .story--lead article { grid-template-columns: 6fr 5fr; gap: 48px; align-items: center; }
  .story--lead .story-fig { aspect-ratio: 4 / 5; }
}
@media (min-width: 1100px) {
  .stories { grid-template-columns: repeat(3, 1fr); }
  .story--lead article { grid-template-columns: 7fr 5fr; gap: 72px; }
  .story--lead .story-fig { aspect-ratio: 5 / 4; }
  .story--lead .story-fig img { object-position: 50% 30%; }
}
.story-fig img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.story:hover .story-fig img { transform: scale(1.025); }

/* ---------- article ---------- */
.art-head { display: grid; gap: 36px; padding: 40px var(--g) 48px; }
.art-title { display: grid; gap: 20px; align-content: center; }
.art-title h1 { font: 400 clamp(42px, 9vw, 92px)/1.02 var(--serif); letter-spacing: -.01em; }
.art-title h1 em { display: block; font-family: var(--disp); color: var(--champ); }
:lang(he) .art-title h1 { font-weight: 300; letter-spacing: 0; line-height: 1.1; }
.art-title .dek { max-width: 34ch; font: 400 clamp(21px, 2.2vw, 26px)/1.45 var(--disp); }
:lang(he) .art-title .dek { font-weight: 300; }
.byline { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--hair); }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.byline-txt { display: grid; gap: 2px; }
.byline-name { font: 500 15px/1.3 var(--sans); }
.art-fig { display: grid; gap: 12px; }
.art-fig .frame { padding: 10px; border: 1px solid var(--hair); background: var(--card); }
.art-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
figcaption { display: flex; gap: 12px; font: 400 13px/1.5 var(--sans); color: var(--mute); }
figcaption:before { content: ""; flex: none; width: 24px; height: 1px; margin-top: .75em; background: var(--champ); }
:lang(he) figcaption { font-size: 15px; }
@media (min-width: 900px) {
  .art-head { grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; padding-block: 64px 80px; }
}

.prose { display: grid; gap: 26px; width: 100%; max-width: calc(65ch + 2 * var(--g)); margin-inline: auto; padding: 0 var(--g); font-size: 18px; line-height: 1.8; }
.prose > p:first-child { font-size: 21px; line-height: 1.7; }
:lang(en) .prose > p:first-child::first-letter { float: left; margin: 10px 12px 0 0; font: 400 86px/.8 var(--serif); color: var(--champ); }
.prose h2 { margin-top: 22px; font: 400 clamp(26px, 3.4vw, 34px)/1.2 var(--serif); }
.prose h2:before { content: ""; display: block; width: 40px; height: 1px; margin-bottom: 22px; background: var(--ink); }
:lang(he) .prose h2 { font-weight: 300; }
.prose a { text-decoration-color: var(--champ); text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 400; }
.prose a:hover { text-decoration-color: var(--ink); text-decoration-thickness: 2px; }
.pull { margin: 20px 0; padding: 32px 0; border-block: 1px solid var(--ink); font: 400 clamp(26px, 4vw, 36px)/1.3 var(--disp); font-style: italic; text-align: center; }
.pull:before { content: "\201C"; display: block; height: 40px; font: 400 72px/1 var(--serif); color: var(--champ); }
:lang(he) .pull { font-style: normal; font-weight: 300; }

/* end of article */
.art-end { display: grid; gap: 64px; width: 100%; max-width: calc(65ch + 2 * var(--g)); margin: 72px auto 0; padding: 0 var(--g); }
.author-card { display: grid; gap: 20px; justify-items: start; padding: 32px 24px; background: var(--greige); color: var(--ink); }
.author-card .who { display: flex; align-items: center; gap: 16px; }
.author-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 1px solid var(--ink); }
.author-card .lbl { font: 500 12px var(--label); letter-spacing: .24em; text-transform: uppercase; }
.author-card .nm { font: 400 26px/1.2 var(--serif); }
.author-card p { font-size: 16px; line-height: 1.7; }
:lang(he) .author-card .lbl { font-size: 14px; letter-spacing: 0; text-transform: none; }
:lang(he) .author-card .nm { font-weight: 300; }
@media (min-width: 700px) { .author-card { padding: 44px; } }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 16px 34px; background: var(--red); color: #fff; font: 500 13px var(--label); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.cta:hover { background: var(--red-dark); }
:lang(he) .cta { font-size: 16px; letter-spacing: 0; text-transform: none; }

.related { display: grid; gap: 20px; }
.related h2 { font: 500 12px var(--label); letter-spacing: .26em; text-transform: uppercase; color: var(--champ); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
:lang(he) .related h2 { font-size: 15px; letter-spacing: 0; text-transform: none; }
.related ul { display: grid; gap: 24px; }
.related li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; }
.related img { width: 96px; height: 120px; object-fit: cover; }
.related a { font: 400 22px/1.25 var(--serif); text-decoration: none; }
.related a:after { content: ""; position: absolute; inset: 0; }
.related li:hover a { text-decoration: underline; text-decoration-thickness: 1px; }
:lang(he) .related a { font-weight: 300; }
@media (min-width: 700px) { .related ul { grid-template-columns: 1fr 1fr; } }
.all-link { justify-self: center; }

/* footer */
.site-foot { display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 24px var(--g) 48px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--mute); }
.site-foot span, .site-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mute); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .story:hover .story-fig img { transform: none; } }
