/* Justice for Agunot — palette from the EXHIBITA Charities & Causes record: #02022F ink, #F47F46 accent, #2DAA7F, warm paper. */
:root {
  --paper: #F7F4EF;
  --paper-2: #EFEAE1;
  --ink: #02022F;
  --ink-2: #3c3c5c;
  --muted: #5d5d78;
  --rule: rgba(2, 2, 47, .14);
  --accent: #F47F46;
  --accent-ink: #b5461a;      /* accent dark enough for text on paper (4.6:1) */
  --ok: #1f7d5c;
  --hero-bg: #02022F;
  --hero-fg: #F7F4EF;
  --card: #fffdf9;
  --serif: "Newsreader", Georgia, serif;
  --he: "Frank Ruhl Libre", "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #07072a; --paper-2: #0d0d38; --ink: #F2EFE7; --ink-2: #cfcbe0; --muted: #a3a0bd;
    --rule: rgba(247, 244, 239, .16); --accent-ink: #F47F46; --ok: #2DAA7F; --card: #0b0b33;
    --hero-bg: #000016; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #07072a; --paper-2: #0d0d38; --ink: #F2EFE7; --ink-2: #cfcbe0; --muted: #a3a0bd;
  --rule: rgba(247, 244, 239, .16); --accent-ink: #F47F46; --ok: #2DAA7F; --card: #0b0b33;
  --hero-bg: #000016; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--serif); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--accent-ink); }
[lang="he"] { font-family: var(--he); }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; }
.skip { position: absolute; inset-inline-start: -999px; top: 0; background: var(--accent); color: #000; padding: 8px 12px; z-index: 99; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* bar */
.bar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter); background: color-mix(in srgb, var(--hero-bg) 92%, transparent);
  color: var(--hero-fg); backdrop-filter: blur(10px);
}
.mark { font-weight: 600; font-size: 1.15rem; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.mark span { color: var(--accent); margin-inline-start: .15em; font-weight: 400; font-style: italic; }
.bar nav { display: flex; gap: clamp(10px, 2vw, 28px); overflow-x: auto; scrollbar-width: none; }
.bar nav a { font-family: var(--mono); font-size: .76rem; text-decoration: none; white-space: nowrap; opacity: .82; }
.bar nav a:hover { opacity: 1; color: var(--accent); }

/* hero */
.hero { background: var(--hero-bg); color: var(--hero-fg); padding: clamp(56px, 11vh, 140px) var(--gutter) clamp(56px, 9vh, 110px); }
.hero-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hero-grid > * { min-width: 0; }
.now { background: rgba(247,244,239,.04); border: 1px solid rgba(247,244,239,.12); border-radius: 10px; padding: 18px 18px 6px; max-height: min(78vh, 760px); overflow-y: auto; scrollbar-width: thin; }
.now-head { display: flex; justify-content: space-between; align-items: baseline; position: sticky; top: -18px; background: var(--hero-bg); margin: -18px -18px 0; padding: 18px 18px 10px; z-index: 1; border-radius: 10px 10px 0 0; }
.now-head h2 { margin: 0; font-size: 1.5rem; font-weight: 500; }
.now-head h2::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-inline-end: 10px; vertical-align: middle; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.now-head a { color: var(--accent); text-decoration: none; }
.now-list { list-style: none; margin: 0; padding: 0; }
.now .item { border-top-color: rgba(247,244,239,.14); padding: 14px 0; display: grid; grid-template-columns: 112px 1fr; column-gap: 14px; }
.now .item .pic { grid-row: span 3; margin: 0; aspect-ratio: 1; }
.now .item .meta { color: #a3a0bd; margin-bottom: 4px; }
.now .item .net { color: var(--accent); }
.now .item h4 { font-size: 1rem; }
.now .item p { color: #cfcbe0; font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; }

/* ORA band */
.ora { background: var(--accent); color: #140700; padding: clamp(36px, 5vw, 64px) var(--gutter); }
.ora-in { max-width: 1240px; margin: 0 auto; }
.ora-k { margin: 0 0 6px; }
.ora h2 { margin: 0 0 10px; font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.ora h2 a { text-decoration: none; color: inherit; }
.ora h2 span { display: block; font-size: clamp(1.05rem, 1.8vw, 1.4rem); font-weight: 400; letter-spacing: 0; margin-top: 8px; }
.ora-what { max-width: 56ch; font-size: 1.1rem; margin: 0 0 22px; }
.ora-act { display: flex; flex-wrap: wrap; gap: 10px; }
.ora .door-link { background: var(--hero-bg); color: #F7F4EF; }
.ora .door-link:hover { background: #000; color: #fff; }
.ora .door-link.ghost-ink { background: transparent; color: #140700; box-shadow: inset 0 0 0 1.5px rgba(20,7,0,.55); }
.ora .door-link.ghost-ink:hover { box-shadow: inset 0 0 0 1.5px #140700; }
.kicker a { color: var(--accent); text-decoration: none; font-size: .82rem; }
[lang="he"] .kicker a { font-family: var(--he); font-size: 1rem; }
.hero-line { margin: .25em 0 .7em; text-wrap: balance; }
.hero-line.he { font-family: var(--he); font-weight: 500; line-height: 1.22; font-size: clamp(2.1rem, 5.2vw, 5.2rem); }
.hero-line.en { font-family: var(--serif); font-weight: 300; line-height: 1.08; letter-spacing: -.02em; font-size: clamp(2.1rem, 4.6vw, 4.6rem); max-width: 18ch; }
.hero-line.en::before { content: "“"; color: var(--accent); }
.hero-line.en::after { content: "”"; color: var(--accent); }
.hero-lede { max-width: 58ch; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #cfcbe0; margin: 0 0 2em; }
.hero-doors { display: flex; flex-wrap: wrap; gap: 12px; }
.door-link {
  display: inline-block; padding: 14px 22px; background: var(--accent); color: #140700; font-weight: 600;
  text-decoration: none; border-radius: 999px; font-size: 1rem;
}
.door-link:hover { color: #000; background: #ff9461; }
.door-link.ghost { background: transparent; color: var(--hero-fg); box-shadow: inset 0 0 0 1.5px rgba(247,244,239,.4); }
.door-link.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }

/* sections */
.sec { padding: clamp(56px, 9vw, 120px) var(--gutter); max-width: 1240px; margin: 0 auto; }
.sec.dark { max-width: none; background: var(--hero-bg); color: var(--hero-fg); }
.sec.dark > * { max-width: 1240px; margin-inline: auto; }
.sec-head { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: baseline; margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head .num { color: var(--accent-ink); grid-row: span 2; margin: 0; }
.sec.dark .sec-head .num { color: var(--accent); }
.sec-head h2 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.02; }
.sec-lede { grid-column: 2; max-width: 62ch; color: var(--ink-2); margin: .9em 0 0; }
.sec.dark .sec-lede { color: #cfcbe0; }
.sec-lede [lang="he"] { font-size: 1.12em; }

/* doors */
.doors { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.doors button, .chips button {
  font: 500 .95rem var(--serif); color: var(--ink); background: transparent; border: 1.5px solid var(--rule);
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
}
.doors button[aria-selected="true"], .chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.doors button:hover, .chips button:hover { border-color: var(--accent); }
.panel { max-width: 820px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-block: 0 18px; padding-inline: 52px 0; border-inline-start: 1.5px solid var(--rule); margin-inline-start: 14px; }
.steps li:last-child { border-inline-start-color: transparent; }
.steps li::before {
  content: counter(s); position: absolute; inset-inline-start: -15px; top: -2px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--accent); color: var(--accent-ink);
  font: 500 .78rem/26px var(--mono); text-align: center;
}
.steps b { font-weight: 600; }
.see { font-family: var(--mono); font-size: .78rem; color: var(--muted); margin: 8px 0 0; }

/* directory */
.dir { margin-top: clamp(48px, 7vw, 88px); }
.dir-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; border-top: 1.5px solid var(--ink); padding-top: 18px; margin-bottom: 8px; }
.dir-head h3 { margin: 0; font-size: 1.6rem; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { font-size: .85rem; padding: 6px 12px; }
.orgs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.org { border-bottom: 1px solid var(--rule); padding-block: 22px; padding-inline: 0 24px; }
.org h4 { margin: 0 0 2px; font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.org h4 a { text-decoration: none; }
.org h4 a:hover { text-decoration: underline; }
.org .he-name { font-family: var(--he); color: var(--muted); font-weight: 400; margin-inline-start: .4em; font-size: .95em; }
.org .where { font-family: var(--mono); font-size: .74rem; color: var(--accent-ink); margin: 0 0 8px; }
.org p { margin: 0 0 8px; color: var(--ink-2); font-size: .98rem; }
.org .contact { font-family: var(--mono); font-size: .76rem; color: var(--ink); word-break: break-word; }
.org .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.org .tags span { font: .7rem var(--mono); border: 1px solid var(--rule); border-radius: 4px; padding: 1px 6px; color: var(--muted); }

/* sources */
.group { margin-bottom: clamp(48px, 7vw, 96px); }
.group > h3 { font-size: .8rem; font-family: var(--mono); font-weight: 500; text-transform: none; color: var(--accent-ink); border-top: 1.5px solid var(--ink); padding-top: 14px; margin: 0 0 8px; }
.group > h3 b { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--ink); display: block; margin-top: 4px; }
.src { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 12px clamp(24px, 4vw, 64px); padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--rule); }
.src:target { background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 9%, transparent) 30%, transparent); }
.src-q { grid-column: 1 / -1; margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.95rem); font-weight: 400; line-height: 1.2; letter-spacing: -.01em; max-width: 30ch; }
.src-cite { grid-column: 1 / -1; font-family: var(--mono); font-size: .76rem; color: var(--muted); margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.src-cite [lang="he"] { font-size: .95rem; color: var(--ink); }
.src-text.he { font-family: var(--he); font-size: clamp(1.15rem, 1.7vw, 1.38rem); line-height: 1.75; margin: 6px 0 0; text-align: justify; }
.src-text.he small { font-size: .86em; color: var(--ink-2); }
.src-text.he big, .src-text.he strong { font-size: 1em; font-weight: 700; }
.src-gloss { margin: 6px 0 0; }
.src-gloss .lbl { display: block; font-family: var(--mono); font-size: .72rem; color: var(--accent-ink); margin-bottom: 6px; }
.src-gloss p { margin: 0; font-size: 1.04rem; }
.src details { grid-column: 1 / -1; border-top: 1px dashed var(--rule); padding-top: 10px; }
.src summary { cursor: pointer; font-family: var(--mono); font-size: .78rem; color: var(--ink-2); list-style: none; }
.src summary::before { content: "+ "; color: var(--accent-ink); }
.src details[open] summary::before { content: "− "; }
.src .credit { font-family: var(--mono); font-size: .7rem; color: var(--muted); grid-column: 1 / -1; margin: 0; }

/* record */
.ledger-wrap { overflow-x: auto; border-top: 1.5px solid var(--hero-fg); }
.ledger { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 760px; }
.ledger th { text-align: start; font: 500 .72rem var(--mono); color: var(--accent); padding: 12px 12px 10px 0; border-bottom: 1px solid rgba(247,244,239,.2); }
.ledger td { padding: 14px 12px 14px 0; border-bottom: 1px solid rgba(247,244,239,.12); vertical-align: top; }
.ledger .st { font: .72rem var(--mono); padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.ledger .st.waiting { color: var(--accent); }
.ledger .st.freed { color: #2DAA7F; }
.ledger .empty { color: #cfcbe0; padding: 28px 0; font-size: 1.05rem; }
.tip { margin-top: 32px; max-width: 720px; }
.tip summary { cursor: pointer; display: inline-block; padding: 12px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); font-weight: 600; list-style: none; }
.tip form { margin-top: 20px; display: grid; gap: 14px; }
.tip p { margin: 0; color: #cfcbe0; }
.tip label { display: grid; gap: 4px; font: .78rem var(--mono); color: #cfcbe0; }
.tip input, .tip textarea { font: 1rem var(--serif); padding: 10px 12px; border-radius: 6px; border: 1px solid rgba(247,244,239,.25); background: rgba(247,244,239,.06); color: var(--hero-fg); }
.tip button { justify-self: start; font: 600 1rem var(--serif); padding: 12px 26px; border-radius: 999px; border: 0; background: var(--accent); color: #140700; cursor: pointer; }
.hp { position: absolute; inset-inline-start: -9999px; }

/* law */
.law { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 0 40px; }
.law article { border-top: 1.5px solid var(--ink); padding: 16px 0 28px; }
.law .ctry { font: 500 .74rem var(--mono); color: var(--accent-ink); margin: 0 0 4px; }
.law h4 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.law p { margin: 0 0 8px; color: var(--ink-2); }
.law .cite { font: .74rem var(--mono); color: var(--muted); }

/* feed */
#feed-filter { margin-bottom: 18px; }
.feed { list-style: none; padding: 0; margin: 0; columns: 3 300px; column-gap: 32px; }
.item { break-inside: avoid; border-top: 1px solid var(--rule); padding: 16px 0 20px; }
.item .pic { position: relative; display: block; aspect-ratio: 3 / 2; margin: 0 0 12px; border-radius: 6px; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--accent) 55%, var(--hero-bg)) 0%, var(--hero-bg) 70%); }
.item .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.item:hover .pic img { transform: scale(1.03); }
.item .meta { font: .72rem var(--mono); color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 6px; }
.item .net { color: var(--accent-ink); }
.item h4 { margin: 0; font-size: 1.12rem; font-weight: 500; line-height: 1.3; }
.item h4 a { text-decoration: none; }
.item h4 a:hover { text-decoration: underline; }
.item p { margin: 6px 0 0; font-size: .96rem; color: var(--ink-2); white-space: pre-line; overflow-wrap: anywhere; }
.item p a { text-decoration: none; }
.item[dir="rtl"] h4, .item[dir="rtl"] p { font-family: var(--he); }
.feed-more { text-align: center; margin-top: 24px; }
.feed-more button { font: 500 1rem var(--serif); padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }

/* footer */
.foot { background: var(--hero-bg); color: #cfcbe0; padding: 56px var(--gutter) 64px; }
.foot > * { max-width: 1240px; margin: 0 auto 10px; }
.foot-mark { font-size: 2.2rem; color: var(--hero-fg); }
.foot-mark span { color: var(--accent); font-style: italic; }

/* motion: reveal on scroll where supported */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .src, .org, .law article, .item { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  }
  .hero-line { animation: fadein 1.1s ease-out both; }
  @keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .now { max-height: none; overflow: visible; }
  .now-list { max-width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .now .item { display: block; scroll-snap-align: start; border-top: 0; }
  .now .item .pic { aspect-ratio: 3 / 2; margin-bottom: 10px; }
  .now-head { position: static; }
}
@media (max-width: 860px) {
  .src { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .num, .sec-lede { grid-column: 1; grid-row: auto; }
}
@media (max-width: 520px) {
  .bar { flex-direction: column; align-items: flex-start; gap: 6px; padding-block: 10px; }
  .bar nav { width: 100%; }
  html { scroll-padding-top: 90px; }
  .doors button { flex: 1 1 100%; text-align: start; }
}

.org .caution { font-size: .86rem; color: var(--accent-ink); border-inline-start: 2px solid var(--accent); padding-inline-start: 10px; }
.prenups { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.prenups li { border-top: 1px solid var(--rule); padding-top: 12px; }
.prenups b { display: block; font-weight: 600; }
.prenups .where { font: .74rem var(--mono); color: var(--accent-ink); }
.prenups p { margin: 4px 0; color: var(--ink-2); font-size: .96rem; }

/* record */
.rec-tabs { margin-bottom: 22px; }
.sec.dark .chips button { color: var(--hero-fg); border-color: rgba(247,244,239,.25); }
.sec.dark .chips button[aria-pressed="true"] { background: var(--accent); color: #140700; border-color: var(--accent); }
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 0 40px; }
.case { border-top: 1.5px solid rgba(247,244,239,.5); padding: 18px 0 30px; }
.case .where { color: var(--accent); margin: 0 0 4px; }
.case h3 { margin: 0 0 8px; font-size: 1.6rem; font-weight: 500; line-height: 1.15; }
.case h4 { font: 500 .72rem var(--mono); color: #a3a0bd; margin: 18px 0 6px; }
.st { font: .72rem var(--mono); padding: 2px 9px; border-radius: 999px; border: 1px solid currentColor; display: inline-block; }
.st.waiting { color: var(--accent); }
.st.freed { color: #2DAA7F; }
.parties { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 12px 0 0; color: #cfcbe0; font-size: .95rem; }
.tl { list-style: none; padding: 0; margin: 0; }
.tl li { padding-block: 6px; padding-inline: 14px 0; border-inline-start: 2px solid rgba(247,244,239,.18); color: #e6e1f0; font-size: .97rem; }
.tl.warn li { border-inline-start-color: var(--accent); }
.tl .mono { color: #a3a0bd; margin-inline-end: 4px; }
.sref { color: var(--accent); text-decoration: none; font: .75rem var(--mono); }
.srcs { margin-top: 14px; }
.srcs summary { cursor: pointer; font: .76rem var(--mono); color: #cfcbe0; }
.srcs ol { padding-inline-start: 20px; margin: 10px 0 0; font-size: .9rem; color: #cfcbe0; }
.srcs li { margin-bottom: 8px; }
.srcs q { display: block; font-style: italic; color: #a3a0bd; margin-top: 2px; }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.who h3 { margin: 0 0 10px; font-size: 1.3rem; font-weight: 500; border-top: 1.5px solid #2DAA7F; padding-top: 12px; }
.who .warn h3 { border-top-color: var(--accent); }
.who ul { list-style: none; padding: 0; margin: 0; }
.who li { border-bottom: 1px solid rgba(247,244,239,.12); padding: 10px 0; }
.who li p { margin: 4px 0 0; color: #cfcbe0; font-size: .95rem; }
.who li .mono { color: #a3a0bd; }
.rec-note { color: #a3a0bd; font-size: .9rem; max-width: 70ch; margin-top: 26px; }
.empty { color: #cfcbe0; }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } }

/* ---- language */
.lang { font: 500 .85rem var(--he); color: var(--hero-fg); background: transparent; border: 1.5px solid rgba(247,244,239,.35);
  border-radius: 999px; padding: 5px 14px; cursor: pointer; white-space: nowrap; }
.lang:hover { border-color: var(--accent); color: var(--accent); }
.lang .l-he { font-family: var(--serif); }
html[lang="he"] .l-en, html:not([lang="he"]) .l-he { display: none; }
html[lang="he"] .l-en-only { display: none; }
.bar { gap: 14px; }
.bar nav { margin-inline-start: auto; }

html[lang="he"] body { font-family: var(--he); font-size: 1.1rem; }
html[lang="he"] .sec-head h2, html[lang="he"] .ora h2 span, html[lang="he"] .src-q, html[lang="he"] .group > h3 b,
html[lang="he"] .dir-head h3, html[lang="he"] .case h3, html[lang="he"] .who h3, html[lang="he"] .now-head h2,
html[lang="he"] .foot-mark, html[lang="he"] .mark, html[lang="he"] .doors button, html[lang="he"] .chips button,
html[lang="he"] .door-link, html[lang="he"] .tip button, html[lang="he"] .feed-more button { font-family: var(--he); letter-spacing: 0; }
html[lang="he"] .mark span, html[lang="he"] .foot-mark span { font-style: normal; }
html[lang="he"] .bar nav a, html[lang="he"] .see, html[lang="he"] .src-gloss .lbl, html[lang="he"] .src summary,
html[lang="he"] .group > h3, html[lang="he"] .ora-k, html[lang="he"] .now-head a, html[lang="he"] .case h4,
html[lang="he"] .tip label, html[lang="he"] .srcs summary { font-family: var(--he); font-size: .92rem; letter-spacing: 0; }
html[lang="he"] .hero-lede, html[lang="he"] .sec-lede { font-size: 1.15rem; }

.src-text.en { font-size: 1.04rem; line-height: 1.65; margin: 6px 0 0; }
.src-text.en.clamp { max-height: 13.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.more-btn { grid-column: 1; justify-self: start; font: .76rem var(--mono); color: var(--accent-ink); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.src .full { margin-top: 12px; font-size: 1.08rem; }
.src .credit { grid-column: 1 / -1; }
.src > .src-text { grid-column: 1; grid-row: 3; }
.src > .more-btn { grid-column: 1; grid-row: 4; }
.src > .src-gloss { grid-column: 2; grid-row: 3 / span 2; align-self: start; }
@media (max-width: 860px) { .src > .src-text, .src > .more-btn, .src > .src-gloss { grid-column: 1; grid-row: auto; } }
.q-he { font-family: var(--he); font-size: 1.12em; }
.org .alt-name { display: block; font: .74rem var(--mono); color: var(--muted); font-weight: 400; margin-top: 2px; }
.case .summary { margin: 0 0 10px; color: #cfcbe0; font-size: 1rem; }
.st.unknown { color: #a3a0bd; }
.src.letter .src-text.he { white-space: pre-line; text-align: start; }
.src.no-en > .src-gloss { grid-column: 1 / -1; grid-row: 3; max-width: 70ch; }
.src.no-en details[open] .src-text.he { font-size: 1.12rem; }

/* no picture of its own: the card is text only, shorter than its neighbours */
.item .pic { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.now .item .pic { background: rgba(247,244,239,.06); }
.now .item.nopic { display: block; }

/* richer cards: the publisher's own summary */
.item .blurb { margin: 8px 0 0; padding-inline-start: 12px; border-inline-start: 2px solid var(--accent); color: var(--ink-2); font-size: .95rem; line-height: 1.5; font-style: italic; }
.item .blurb[dir="rtl"] { font-style: normal; font-family: var(--he); }
.item .by::before { content: "· "; }
.item.enrich .pic:empty { background: linear-gradient(100deg, color-mix(in srgb, var(--ink) 5%, transparent) 40%, color-mix(in srgb, var(--ink) 10%, transparent) 50%, color-mix(in srgb, var(--ink) 5%, transparent) 60%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.now .item .blurb { color: #cfcbe0; border-color: var(--accent); -webkit-line-clamp: 4; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.now .item p { -webkit-line-clamp: 5; }
/* the lead story on the landing */
.now .item.lead { display: block; padding-top: 6px; }
.now .item.lead .pic { aspect-ratio: 16 / 9; margin-bottom: 12px; }
.now .item.lead h4 { font-size: 1.35rem; line-height: 1.25; }
.now .item.lead .blurb { -webkit-line-clamp: 6; font-size: 1rem; }

/* ---- the record at a glance */
:root { --st-waiting: #C8551F; --st-freed: #1F7D5C; --st-unknown: #7C7CA6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --st-waiting: #E0652C; --st-freed: #27A07A; --st-unknown: #8A8AB4; } }
.glance { background: var(--paper-2); padding: clamp(40px, 6vw, 80px) var(--gutter); }
.glance-in { max-width: 1240px; margin: 0 auto; }
.glance-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.glance-head h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 400; letter-spacing: -.02em; }
.glance-head a { color: var(--accent-ink); text-decoration: none; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.tile { background: var(--paper); padding: 18px 18px 16px; display: grid; gap: 4px; }
.tile b { font: 400 clamp(2.2rem, 4.5vw, 3.4rem)/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.tile span { color: var(--muted); font-size: .92rem; line-height: 1.3; }
.tile.t-waiting b { color: var(--st-waiting); } .tile.t-freed b { color: var(--st-freed); }
html[lang="he"] .tile b { font-family: var(--serif); }
.statusbar { margin: 22px 0 0; }
.sb { display: flex; gap: 2px; height: 34px; }
.sb .seg { display: grid; place-items: center; min-width: 28px; color: #fff; font: 500 .8rem var(--mono); }
.sb .seg:first-child { border-start-start-radius: 4px; border-end-start-radius: 4px; }
.sb .seg:last-child { border-start-end-radius: 4px; border-end-end-radius: 4px; }
.s-waiting { background: var(--st-waiting); } .s-freed { background: var(--st-freed); } .s-unknown { background: var(--st-unknown); }
.sb-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; font-size: .92rem; color: var(--ink-2); }
.sb-legend b { color: var(--ink); font-weight: 600; margin-inline-start: 4px; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 7px; vertical-align: baseline; }
.mapfig { margin: 26px 0 0; }
#map { height: clamp(320px, 46vw, 520px); border-radius: 10px; border: 1px solid var(--rule); background: var(--paper); z-index: 0; }
.map-note { color: var(--muted); margin-top: 8px; }
.map-pop { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow: auto; font: .9rem var(--serif); }
.map-pop li { padding: 4px 0; border-bottom: 1px solid #eee; }
.map-pop li span { color: #777; font-size: .8rem; }
html[lang="he"] .map-pop { font-family: var(--he); }

/* section art (Midjourney renders dropped into /img/art/; absent file = no block) */
.sec-art { display: block; width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: 10px; margin: 0 0 clamp(28px, 4vw, 48px); }
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/img/art/hero.jpg) center / cover no-repeat; opacity: .28; mix-blend-mode: luminosity; }

/* our own two-to-three-sentence summary of the story */
.item .brief { margin: 10px 0 0; padding: 10px 12px; background: color-mix(in srgb, var(--accent) 7%, transparent); border-radius: 6px; }
.item .brief .lbl { display: block; font: 500 .68rem var(--mono); color: var(--accent-ink); margin-bottom: 4px; }
.item .brief p { margin: 0; color: var(--ink); font-size: .96rem; line-height: 1.5; }
html[lang="he"] .item .brief .lbl { font-family: var(--he); font-size: .85rem; }
.now .item .brief { background: rgba(247,244,239,.07); }
.now .item .brief p { color: #e6e1f0; }
.now .item .brief .lbl { color: var(--accent); }

.item .brief.solo { background: none; padding: 0; margin-top: 4px; }
.item .brief.solo p { font-size: 1.05rem; line-height: 1.45; color: var(--ink); }
.item .brief.solo .other { display: inline-block; margin-top: 6px; font: .76rem var(--mono); color: var(--accent-ink); text-decoration: none; }
html[lang="he"] .item .brief.solo .other { font-family: var(--he); font-size: .9rem; }
.now .item .brief.solo p { color: #e6e1f0; }
.now .item .brief.solo .other { color: var(--accent); }

/* crops: frame the upper part of a photo, where faces and headlines sit */
.item .pic img { object-position: 50% 22%; }
.now .item .pic { aspect-ratio: 4 / 3; }
.now .item { grid-template-columns: 128px 1fr; }
.now .item.lead .pic { aspect-ratio: 16 / 9; }
/* our summaries are short by design: show them whole on the landing */
.now .item .brief p { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* ---- the feed is the landing */
.helpstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 10px var(--gutter); background: var(--accent); color: #140700; font-size: .98rem; }
.helpstrip > span { font-weight: 600; }
.helpstrip a { color: #140700; text-decoration: none; font-weight: 500; }
.helpstrip a:hover { text-decoration: underline; }
.helpstrip .go { margin-inline-start: auto; background: var(--hero-bg); color: #F7F4EF; padding: 6px 14px; border-radius: 999px; }
.feed-landing { padding-top: clamp(28px, 4vw, 52px); max-width: 1320px; }
.feed-landing .sec-head h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.feed { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 32px; align-items: start; }
.item.lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px 36px; padding-bottom: 28px; }
.item.lead .pic { grid-row: span 6; margin: 0; aspect-ratio: 16 / 10; }
.item.lead h4 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.15; letter-spacing: -.01em; }
.item.lead .brief p, .item.lead .brief.solo p { font-size: 1.12rem; }
.item.lead.nopic { display: block; }
.item.lead.nopic h4 { max-width: 30ch; }
@media (max-width: 760px) { .item.lead { grid-template-columns: 1fr; } .item.lead .pic { grid-row: auto; } }
.hero { padding-top: clamp(48px, 8vh, 96px); }

/* ---- still withholding the get */
.pressure .wall { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); border-top: 1px solid rgba(247,244,239,.18); }
.pressure .wall li { padding: 16px 0 18px; border-bottom: 1px solid rgba(247,244,239,.18); padding-inline-end: 20px; display: grid; gap: 4px; min-width: 0; }
.pressure .w-name { color: var(--hero-fg); font-size: 1.32rem; font-weight: 500; text-decoration: none; line-height: 1.2; }
.pressure .w-name:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.pressure .w-since { color: #cfcbe0; }
.pressure .w-since b { color: var(--accent); font-weight: 600; font-size: 1.1rem; }
.pressure .w-meta { color: #a9a5bd; font-size: .8rem; }
.pressure .w-meta .sref, .pressure .backers .sref { color: #a9a5bd; }
.pressure .backers h3 { margin: 0 0 6px; font-size: 1.3rem; font-weight: 500; border-top: 1.5px solid var(--accent); padding-top: 12px; }
.pressure .backers ul { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 0 36px; }
.pressure .backers li { padding: 14px 0; border-bottom: 1px solid rgba(247,244,239,.14); min-width: 0; }
.pressure .backers li b { font-size: 1.1rem; font-weight: 600; }
.pressure .backers li p { margin: 4px 0 0; color: #cfcbe0; }
.pressure .backers a { color: var(--hero-fg); }
.pressure .community { border-inline-start: 3px solid var(--accent); padding-inline-start: 18px; max-width: 70ch; }
.pressure .community p { font-size: 1.12rem; margin: 0 0 16px; }
.pressure .community p a { color: var(--accent); }
.community-act { display: flex; flex-wrap: wrap; gap: 10px; }
.pressure .wall-last h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 500; color: #cfcbe0; }
.pressure .wall.small .w-name { font-size: 1.08rem; }
.pressure .campaigns h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 500; }
.pressure .campaigns ul { list-style: none; padding: 0; margin: 0 0 18px; }
.pressure .campaigns li { padding: 6px 0; }
.pressure .campaigns a { color: var(--accent); font-weight: 600; margin-inline-end: 6px; }
.pressure .campaigns span { color: #cfcbe0; }
.item .also { font-size: .78rem; color: var(--muted, #6b6b80); margin-top: 6px; }
.item .also a { color: inherit; }
.group .grp-note { max-width: 70ch; font-size: 1.05rem; margin: 0 0 18px; color: var(--ink-2, inherit); }

/* ---- density (his ruling 2026-10-13): no large empty bands; space only where it separates */
.sec { padding: clamp(28px, 3.6vw, 52px) var(--gutter); }
.sec-head { margin-bottom: clamp(14px, 1.8vw, 24px); }
.sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.08; }
.sec-lede { margin-top: .5em; }
.group { margin-bottom: clamp(24px, 3vw, 40px); }
.src { padding: clamp(16px, 2.2vw, 28px) 0; }
.sec-art { margin-bottom: clamp(16px, 2vw, 26px); aspect-ratio: 21 / 6; }
.hero { padding: clamp(32px, 5vh, 64px) var(--gutter) clamp(28px, 4.5vh, 56px); }
.hero-line { margin: .15em 0 .45em; }
.hero-lede { margin-bottom: 1.2em; }
.ora { padding: clamp(22px, 2.6vw, 36px) var(--gutter); }
.glance { padding: clamp(24px, 3vw, 44px) var(--gutter); }
.glance-head { margin-bottom: 14px; }
.foot { padding: 36px var(--gutter) 40px; }
.pressure .wall { margin-bottom: 26px; }
.pressure .backers ul { margin-bottom: 24px; }

/* the landing heading: one thin row, the filters at its end */
.sec.feed-landing { padding-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: end; }
.feed-landing > .feed, .feed-landing > .feed-more { grid-column: 1 / -1; }
.feed-landing .sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin: 0 0 10px; }
.feed-landing .sec-head .num { font-size: .78rem; }
.feed-landing .sec-head h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -.01em; }
.feed-landing .sec-lede { flex: 1 1 380px; margin: 0; font-size: .92rem; max-width: none; }
.feed-landing #feed-filter { margin-bottom: 10px; }
@media (max-width: 760px) { .sec.feed-landing { grid-template-columns: 1fr; } .feed-landing #feed-filter { margin-bottom: 4px; } }

/* the feed packs like a newspaper column set: rows are 4px, each card spans its own height (set in app.js) */
.feed-landing .feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); grid-auto-rows: 4px; gap: 0 28px; align-items: start; }
.feed-landing .feed > .item { margin: 0; }
.item.lead.nopic { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 6px 36px; align-items: start; }
.item.lead.nopic > .meta, .item.lead.nopic > .also { grid-column: 1 / -1; }
.item.lead.nopic > h4 { grid-column: 1; max-width: none; margin: 0; }
.item.lead.nopic > .brief { grid-column: 2; grid-row: 2 / span 3; margin: 0; }
@media (max-width: 760px) { .item.lead.nopic { display: block; } }

/* ---- captions (the publisher's own) and pictures too small for their slot */
.item .cap { margin: -6px 0 10px; font-size: .78rem; line-height: 1.35; color: var(--muted); }
.item.small-pic > .pic { float: inline-start; width: 92px; height: 92px; aspect-ratio: auto; margin: 4px 14px 6px 0; margin-inline: 0 14px; }
.item.small-pic > .pic img { object-position: 50% 30%; }
.item.small-pic .cap { margin: 2px 0 8px; }
.item.small-pic::after { content: ""; display: block; clear: both; }
.item.lead.small-pic { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.25fr); gap: 6px 24px; }
.item.lead.small-pic > .pic { grid-column: 1; grid-row: 1 / span 4; float: none; width: 120px; height: 120px; margin: 0; }
.item.lead.small-pic > .meta, .item.lead.small-pic > h4, .item.lead.small-pic > .cap, .item.lead.small-pic > .blurb { grid-column: 2; }
.item.lead.small-pic > .brief { grid-column: 3; grid-row: 1 / span 4; margin: 0; }
@media (max-width: 760px) { .item.lead.small-pic { display: block; } .item.lead.small-pic > .pic { float: inline-start; width: 92px; height: 92px; margin-inline: 0 14px; } }

/* ---- the men's panel: reported cost and the disputed figures */
.agun-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 36px; margin-top: 18px; }
.agun-more h4 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 600; }
.agun-list { list-style: none; padding: 0; margin: 0; }
.agun-list li { padding: 9px 0; border-top: 1px solid var(--rule); }
.agun-list p { margin: 2px 0; }
.agun-list .mono { font-size: .76rem; color: var(--muted); }
.agun-list b { font-size: 1.05rem; }
.agun-list .disp { font-size: .9rem; color: var(--ink-2); }
.agun-list .disp span { font-weight: 600; }
.agun-list .sref { font-size: .78rem; margin-inline-start: 4px; }
@media (max-width: 760px) { .agun-more { grid-template-columns: 1fr; } }
