/* The blog (2026-10-18): articles from her monthly magazine "השתקפות", laid out like a printed magazine,
   on purpose different from the landing pages. Serif for long reading, thin rules, issue labels, no buttons shouting.
   Research behind it: ../../_process/2026-10-18-blog-research-brief.md */
:root {
  --paper: #F5EEE1;
  --paper-2: #EDE3D1;
  --ink: #2B2420;
  --ink-soft: #5E534A;
  --forest: #344037;
  --leaf: #4E7D58;
  --night: #C9AE8E;
  --cream: #F4E1BC;
  --rule: rgba(43, 36, 32, 0.18);
  --serif: 'Frank Ruhl Libre', 'David Libre', serif;
  --sans: 'Assistant', sans-serif;
  --display: 'Suez One', serif;
  --hand: 'Amatic SC', 'Assistant', sans-serif;
  --measure: 66ch;
}
* { box-sizing: border-box; }
html { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 20px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.mag-wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* header: a small logo, the menu comes from nav.js */
header.top { display: flex; justify-content: center; padding: 18px 0 0; }
header.top img { width: 72px; height: auto; }

/* masthead */
.masthead { text-align: center; padding: 28px 0 18px; border-bottom: 3px double var(--rule); }
.masthead .kicker { font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: 0.18em; color: var(--ink-soft); }
.masthead .logo { width: min(420px, 80%); margin: 10px auto 6px; }
.masthead .tag { font-family: var(--serif); font-style: normal; font-size: 21px; color: var(--ink-soft); margin: 0; }
.issue-strip { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--ink-soft); padding: 10px 0; border-bottom: 1px solid var(--rule); }
.issue-strip .hand { font-family: var(--hand); font-size: 22px; color: var(--leaf); font-weight: 700; }

/* seasons as a way in: the year is the structure, not the newest-first feed */
.seasons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 26px 0 8px; font-family: var(--sans); }
.seasons button { border: 1px solid var(--rule); background: transparent; border-radius: 999px; padding: 6px 16px; font: 700 15px var(--sans); color: var(--ink); cursor: pointer; }
.seasons button[aria-pressed="true"] { background: var(--forest); color: var(--paper); border-color: var(--forest); }

/* the featured story */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.feature .pic { aspect-ratio: 4 / 5; background: var(--paper-2); border-radius: 4px; overflow: hidden; box-shadow: 0 18px 30px rgba(43, 36, 32, 0.14); }
.feature .pic img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 8px 0 14px; }
.feature .dek { font-size: 22px; color: var(--ink-soft); margin: 0 0 16px; }
.meta { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--ink-soft); display: flex; gap: 14px; flex-wrap: wrap; }
.meta .topic { color: var(--leaf); letter-spacing: 0.06em; }
.feature:hover h2, .card:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--leaf); }

/* the grid of stories */
.section-title { display: flex; align-items: center; gap: 16px; margin: 40px 0 18px; font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: 0.16em; color: var(--ink-soft); }
.section-title::before, .section-title::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.card .pic { aspect-ratio: 3 / 2; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.22, 1, .36, 1); }
.card:hover .pic img { transform: scale(1.04); }
.card h3 { font-family: var(--serif); font-weight: 700; font-size: 25px; line-height: 1.25; margin: 4px 0 0; }
.card p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }

/* a slot waiting for an article she picks */
.slot .pic { display: grid; place-items: center; border: 1.5px dashed var(--rule); background: rgba(255, 255, 255, 0.35); }
.slot .pic span { font-family: var(--hand); font-size: 28px; color: var(--ink-soft); }
.slot h3, .slot p { color: var(--ink-soft); }

/* the magazine signup, on dark blue paper */
.letterbox { margin: 56px 0 30px; padding: 40px 28px; border-radius: 6px; background: var(--forest) url('../assets/texture-green.jpg') center / cover; color: #ECE9E0; text-align: center; }
.letterbox h2 { font-family: var(--serif); font-weight: 900; font-size: 34px; margin: 0 0 8px; }
.letterbox p { margin: 0 auto 18px; max-width: 34em; }
.letterbox a { display: inline-block; padding: 12px 26px; border-radius: 999px; background: var(--cream); color: var(--forest); font: 700 18px var(--sans); text-decoration: none; }

/* ---------- the article page ---------- */
.progress { position: fixed; top: 0; right: 0; left: 0; height: 4px; background: var(--leaf); transform-origin: 100% 50%; transform: scaleX(0); z-index: 50; }
@supports (animation-timeline: scroll()) {
  .progress { animation: read-progress linear both; animation-timeline: scroll(root); }
  @keyframes read-progress { to { transform: scaleX(1); } }
}
.article-head { max-width: 820px; margin: 30px auto 0; text-align: center; }
.article-head .meta { justify-content: center; }
.article-head h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(38px, 6vw, 64px); line-height: 1.08; margin: 14px 0; }
.article-head .dek { font-size: 23px; color: var(--ink-soft); margin: 0 auto; max-width: 34em; }
.article-hero { max-width: 980px; margin: 34px auto; border-radius: 4px; overflow: hidden; box-shadow: 0 18px 30px rgba(43, 36, 32, 0.12); }
.article-hero.slot { aspect-ratio: 16 / 8; display: grid; place-items: center; border: 1.5px dashed var(--rule); box-shadow: none; }
.article-hero.slot span { font-family: var(--hand); font-size: 30px; color: var(--ink-soft); }
.prose { max-width: var(--measure); margin: 0 auto; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 900; font-size: 32px; line-height: 1.25; margin: 1.6em 0 0.5em; }
.prose .lead { font-size: 24px; line-height: 1.7; }
.prose .lead::first-line { font-weight: 700; }
.prose blockquote { margin: 1.6em -2ch; padding: 0.4em 2ch; border-right: 4px solid var(--leaf); font-size: 28px; line-height: 1.45; font-weight: 700; color: var(--forest); }
.prose hr { border: 0; text-align: center; margin: 2em 0; }
.prose hr::after { content: '✦ ✦ ✦'; color: var(--leaf); letter-spacing: 0.6em; font-size: 16px; }
.placeholder { background: rgba(255, 224, 92, 0.35); padding: 0 4px; border-radius: 3px; font-family: var(--sans); font-weight: 700; }
.reflect { max-width: var(--measure); margin: 2.4em auto; padding: 26px 28px; border: 1px solid var(--rule); border-radius: 6px; background: rgba(255, 255, 255, 0.4); }
.reflect h2 { font-family: var(--hand); font-size: 34px; margin: 0 0 6px; color: var(--leaf); }
.reflect ol { margin: 0; padding-inline-start: 1.2em; }
.reflect .permission { margin: 12px 0 0; font-size: 17px; color: var(--ink-soft); }
.signoff { max-width: var(--measure); margin: 0 auto; font-family: var(--hand); font-size: 32px; color: var(--forest); }
.more-stories { border-top: 3px double var(--rule); margin-top: 50px; }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature .pic { aspect-ratio: 4 / 3; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 19px; }
  .grid { grid-template-columns: 1fr; }
  .prose blockquote { margin-inline: 0; font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .card .pic img { transition: none; } }
[hidden] { display: none !important; }

/* real articles (2026-10-18): her drawings sit on soft paper in the picture frames */
.pic.art, .article-hero.art { display: grid; place-items: center; background: #FBF6EC; box-shadow: inset 0 0 0 1px var(--rule); }
.pic.art img { width: 62%; height: 80%; object-fit: contain; }
.feature .pic.art img { width: 70%; height: 75%; }
.article-hero.art { max-width: 820px; aspect-ratio: 16 / 7; box-shadow: inset 0 0 0 1px var(--rule); }
.article-hero.art img { height: 82%; width: auto; }
.mast-title { font-family: var(--serif); font-weight: 900; font-size: clamp(64px, 12vw, 120px); line-height: 1; margin: 6px 0 10px; color: var(--forest); }
.prose a, .reflect a { color: var(--leaf); text-decoration-thickness: 1.5px; text-underline-offset: 4px; font-weight: 700; }
.prose blockquote a { color: inherit; }
.card h3 { color: var(--ink); }
/* key sentences underlined with her single hand-drawn stroke */
.prose .u1 { background: url('../assets/art/line-single.png') no-repeat right bottom / 100% 0.3em; padding-bottom: 0.16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* drawings always fit whole inside their frame, on every browser (her note: they were cut) */
.pic.art, .article-hero.art { position: relative; }
.pic.art img, .article-hero.art img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; transform: none; }
.card:hover .pic.art img { transform: scale(1.04); }

/* her newspaper frame around every card picture, and the newspaper butterfly by the title (Canva "ציורים לקלוד" 1-2) */
.mast-row { display: flex; justify-content: center; align-items: center; gap: 16px; }
.news-bf { width: 110px; height: auto; transform-origin: 50% 60%; animation: newsbf-float 6s ease-in-out infinite, newsbf-flap 1.8s ease-in-out infinite alternate; }
@keyframes newsbf-float { 0%, 100% { translate: 0 0; rotate: -6deg; } 50% { translate: 0 -10px; rotate: 4deg; } }
@keyframes newsbf-flap { from { scale: 1 1; } to { scale: 0.82 1; } }
.card .pic.art, .feature .pic.art { aspect-ratio: 625 / 884; background: #FBF6EC; box-shadow: none; border-radius: 0; overflow: visible; }
.card .pic.art::after, .feature .pic.art::after { content: ''; position: absolute; inset: 0; background: url('../assets/art/news-frame.webp') center / 100% 100% no-repeat; pointer-events: none; }
.card .pic.art img, .feature .pic.art img { inset: 24% 22% 20%; width: 56%; height: 56%; }
.feature .pic.art { max-width: 420px; justify-self: center; width: 100%; }
@media (max-width: 560px) { .news-bf { width: 72px; } }
@media (prefers-reduced-motion: reduce) { .news-bf { animation: none; } }
@media (max-width: 560px) { .card .pic.art { max-width: 300px; width: 100%; margin-inline: auto; } }
/* the newspaper frames with soft rounded corners (her note) */
.card .pic.art, .feature .pic.art { border-radius: 26px; overflow: hidden; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose strong.green { color: var(--leaf); }
