/* =========================================================================
   DocTalk — redesign prototype
   Aesthetic direction: "The Editorial Darkroom"
   A film-journal look for documentary-cinema criticism.
   Warm paper · near-black ink · single vermilion accent · literary Hebrew
   serif (Frank Ruhl Libre) · cinematic timecode + contact-sheet motifs.
   Evergreen criticism = full & glossy.  Archive = monochrome index.
   ========================================================================= */

/* ---------- Tokens ---------------------------------------------------- */
:root {
  /* gallery-neutral palette */
  --paper:    #f5f4f0;
  --paper-2:  #eceae3;
  --card:     #ffffff;
  --ink:      #15140f;
  --ink-2:    #46433b;
  --ink-3:    #6b6659;
  --accent:   #b5301d;   /* oxblood red */
  --accent-2: #93261a;
  --gold:     #a9802f;   /* archive ochre (secondary) */
  --line:     rgba(21,20,15,0.14);
  --line-2:   rgba(21,20,15,0.06);
  --shadow:   0 1px 0 rgba(21,20,15,0.03), 0 18px 40px -28px rgba(21,20,15,0.40);

  --display: "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --serif:   "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --sans:    "Assistant", "Heebo", "Helvetica Neue", Arial, sans-serif;
  --mono:    "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  --measure: 64ch;
  --pad: clamp(1.1rem, 4vw, 4rem);
  --maxw: 1320px;
}

[data-theme="dark"] {
  /* cooler neutral 'cinema' dark, matched to the gallery direction */
  --paper:    #111110;
  --paper-2:  #171614;
  --card:     #1b1a17;
  --ink:      #f1efe9;
  --ink-2:    #c7c3b8;
  --ink-3:    #9d978a;
  --accent:   #df4026;
  --accent-2: #ff6244;
  --gold:     #d3a046;
  --line:     rgba(241,239,233,0.16);
  --line-2:   rgba(241,239,233,0.06);
  --shadow:   0 1px 0 rgba(0,0,0,0.4), 0 22px 50px -30px rgba(0,0,0,0.8);
}

/* ---------- Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; padding: 0; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* film-grain atmosphere over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] body::after { mix-blend-mode: screen; opacity: .06; }

/* ---------- Helpers --------------------------------------------------- */
.mono { font-family: var(--mono); direction: ltr; unicode-bidi: isolate; letter-spacing: .02em; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.kicker {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
}
.rule { height: 1px; background: var(--line); border: 0; }

/* Hebrew names/labels in meta rows: readable sans, never Space Mono */
.byline .name { font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--ink-2); }

/* ---------- Category colour-coding ------------------------------------ */
/* ביקורת = vermilion · פסטיבל/פריוויו = ochre · essays/other = ink */
[data-cat] { color: var(--ink-2); border-color: var(--line); }
[data-cat="ביקורת"] { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 45%, transparent); }
[data-cat="פסטיבל"], [data-cat="פריוויו"] { color: var(--gold); border-color: color-mix(in oklab, var(--gold) 55%, transparent); }
.section .kicker.k-fest { color: var(--gold); }
.section .kicker.k-fest::before { background: var(--gold); }
.section .kicker.k-ink { color: var(--ink-2); }
.section .kicker.k-ink::before { background: var(--ink-2); }

/* alternating band section for vertical rhythm */
.section.band { background: var(--paper-2); border-block: 1px solid var(--line); }
[data-theme="dark"] .section.band { background: #0d0d0c; }
.section.band .row:hover { background: var(--card); }

/* ---------- Reading progress bar (posts) ------------------------------ */
#progress {
  position: fixed; top: 0; inset-inline-start: 0;
  height: 3px; width: 0;
  background: var(--accent);
  z-index: 200;
  transition: width .1s linear;
}

/* ---------- Scroll reveals --------------------------------------------- */
.io-pre { opacity: 0; transform: translateY(18px); }
.io-in  { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }

/* ---------- Prev / next post navigation -------------------------------- */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
  margin-top: 3rem;
}
.post-nav a {
  background: var(--paper);
  padding: 1.4rem var(--pad);
  display: flex; flex-direction: column; gap: .45rem;
  transition: background .2s;
}
.post-nav a:hover { background: var(--card); }
.post-nav .lbl {
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.post-nav .t { font-family: var(--serif); font-weight: 700; font-size: 1.08rem; line-height: 1.3; color: var(--ink); }
.post-nav a.empty { pointer-events: none; background: var(--paper); opacity: .4; }
.post-nav .newer { text-align: start; }
.post-nav .older { text-align: end; align-items: flex-end; }
@media (max-width: 680px) { .post-nav { grid-template-columns: 1fr; } .post-nav .older { text-align: start; align-items: flex-start; } }

/* keyboard hint chip */
kbd.hint {
  font-family: var(--mono); font-size: .68rem;
  border: 1px solid var(--line); border-bottom-width: 2px;
  padding: .1rem .4rem; color: var(--ink-3);
  margin-inline-start: auto;
}

/* theme toggle */
#theme-toggle { margin-top: .2rem; }
#theme-toggle .sun { display: none; }
[data-theme="dark"] #theme-toggle .sun { display: block; }
[data-theme="dark"] #theme-toggle .moon { display: none; }

/* tinted "film still" plates used in place of photography in the proto */
.plate {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 140% at 80% 0%, rgba(255,255,255,.16), transparent 55%),
    linear-gradient(155deg, var(--p1, #5b4b3a), var(--p2, #20160f));
  border: 1px solid var(--line);
  overflow: hidden;
  filter: saturate(1.05);
}
.plate.scope { aspect-ratio: 2.39 / 1; }
.plate.academy { aspect-ratio: 4 / 3; }   /* "old film" framing */
/* real photography: image under a legibility wash; grain (::before) sits on top */
.plate.photo {
  background-image:
    linear-gradient(165deg, rgba(18,11,7,.06) 35%, rgba(18,11,7,.52)),
    var(--img);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.plate::before { /* grain on plate */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: .5;
}
.plate .cap {
  position: absolute;
  inset-block-end: 0; inset-inline-start: 0;
  margin: .55rem;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .12em;
  color: rgba(255,255,255,.82);
  background: rgba(0,0,0,.35);
  padding: .15rem .45rem;
  backdrop-filter: blur(2px);
}
.plate .fig {
  position: absolute;
  inset-block-start: 0; inset-inline-end: 0;
  margin: .55rem;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .14em;
  color: rgba(255,255,255,.7);
}

/* ---------- Layout: right sidebar + main column ----------------------- */
.layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; }
.main { min-width: 0; }

.side {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.2rem 1.8rem;
  border-inline-end: 1px solid var(--line);
  background: var(--paper-2);
}
[data-theme="dark"] .side { background: #0d0d0c; }

/* ---------- Brand (sidebar) ------------------------------------------- */
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.brand-words { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.brand .word {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 3rem;
  letter-spacing: -.01em;
  line-height: 1.02;
  color: var(--ink);
}
.brand .lat-word { font-size: 2.7rem; letter-spacing: -.015em; }
.brand .brand-sep { color: var(--ink-3); font-size: 2.2rem; font-weight: 400; line-height: 1; }
.brand .dot { color: var(--accent); }
.brand .brand-sub {
  font-family: var(--sans); font-weight: 700; font-size: 1.28rem; color: var(--ink);
  margin-top: .5rem; line-height: 1.25;
}
.brand .brand-tag {
  font-family: var(--sans); font-weight: 700; font-size: 1.05rem; color: var(--accent);
  line-height: 1.35;
}

/* ---------- Nav (vertical) -------------------------------------------- */
.nav { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; width: 100%; }
.nav a {
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink-2);
  position: relative;
  width: 100%;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line-2);
  transition: color .2s, padding-inline-start .2s;
}
.nav a::before {
  content: "";
  position: absolute; inset-inline-start: -1.8rem; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
  transform: scaleY(0); transform-origin: center;
  transition: transform .22s cubic-bezier(.2,.7,.2,1);
}
.nav a:hover, .nav a[aria-current] { color: var(--ink); padding-inline-start: .35rem; }
.nav a:hover::before, .nav a[aria-current]::before { transform: scaleY(1); }
.nav a[aria-current] { color: var(--accent); font-weight: 700; }

/* ---------- Social + search (sidebar) --------------------------------- */
.social { display: flex; gap: .7rem; }
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.icon-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-family: var(--mono); font-size: .8rem; letter-spacing: .06em;
  transition: background .2s, color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Responsive: sidebar collapses to a top bar ---------------- */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .side {
    position: static; height: auto; overflow: visible;
    flex-direction: column; gap: 1.1rem;
    border-inline-end: 0; border-bottom: 1px solid var(--line);
    padding: 1.4rem var(--pad);
  }
  .nav { flex-direction: row; flex-wrap: wrap; gap: .2rem 1.1rem; }
  .nav a { width: auto; border-bottom: 0; padding: .25rem 0; }
  .nav a::before { display: none; }
  .nav a:hover, .nav a[aria-current] { padding-inline-start: 0; }
}

/* ---------- Hero ------------------------------------------------------ */
.hero { padding-block: clamp(2.2rem, 5vw, 4.4rem) clamp(2rem, 4vw, 3.4rem); }
.hero .lead {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: center;
}
.hero .copy { animation: rise .8s .05s both; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin-block: 1rem 1.1rem;
  text-wrap: balance;
}
.hero h1 .em { color: var(--accent); font-style: italic; }
.hero .dek {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--ink-2);
  max-width: 46ch;
  line-height: 1.55;
}
.hero .byline {
  margin-top: 1.6rem;
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--ink-3);
}
.hero .byline .pill {
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0;
  padding: .2rem .6rem;
}
.hero .art { position: relative; animation: rise .8s .18s both; }
.hero .art .plate { box-shadow: var(--shadow); --p1:#7a2f22; --p2:#1d100c; }
.hero .art .tag {
  position: absolute;
  inset-block-start: -14px; inset-inline-start: -14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .18em;
  padding: .35rem .7rem;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

/* leader countdown chip in the hero kicker */
.leader {
  display: inline-grid; place-items: center;
  width: 1.4em; height: 1.4em;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-size: .8em;
}

/* ---------- Section scaffold ----------------------------------------- */
.section { padding-block: clamp(2.4rem, 5vw, 4.2rem); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -.01em;
  line-height: 1.05;
}
.section-head .more {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.section-head .more:hover { color: var(--accent); border-color: var(--accent); }
.section-sub { color: var(--ink-3); max-width: 52ch; margin-top: .35rem; font-size: .95rem; }

/* ---------- Evergreen grid (glossy) ----------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2vw, 1.8rem);
}
.card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.card:hover { transform: translateY(-4px); }
.card .plate { aspect-ratio: 3 / 2; }
.card .plate img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 1.1rem 1.15rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card .idx {
  font-family: var(--mono);
  font-size: .7rem; letter-spacing: .14em;
  color: var(--accent);
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .55rem;
}
.card .idx .cat { color: var(--ink-3); }
.card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.18;
  letter-spacing: -.005em;
}
.card h3 a { background: linear-gradient(var(--accent),var(--accent)) no-repeat right bottom / 0 2px; transition: background-size .3s; padding-bottom: 2px; }
.card:hover h3 a { background-size: 100% 2px; }
.card .ex { color: var(--ink-2); font-size: .94rem; margin-top: .55rem; line-height: 1.55; }
.card .meta { margin-top: auto; padding-top: 1rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; color: var(--ink-3); display: flex; gap: .8rem; }

/* feature card spanning */
.card.feature { grid-column: span 1; }

/* ---------- Archive band (monochrome index = "more archived") --------- */
.archive {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}
[data-theme="dark"] .archive { background: #0d0d0c; }
.archive .filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.chip {
  font-family: var(--mono);
  font-size: .72rem; letter-spacing: .08em;
  padding: .4rem .8rem;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink-2);
  transition: all .2s;
}
.chip:hover, .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.index { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: .95rem .4rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  transition: background .2s, color .2s, padding .25s;
  filter: grayscale(1);
}
.row:hover { background: var(--card); color: var(--ink); padding-inline-start: 1rem; filter: grayscale(0); }
.row .tc { font-family: var(--mono); font-size: .76rem; color: var(--ink-3); }
.row:hover .tc { color: var(--accent); }
.row .ttl { font-family: var(--serif); font-size: 1.12rem; font-weight: 500; line-height: 1.25; }
.row .fest {
  font-family: var(--mono);
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line);
  padding: .2rem .5rem; border-radius: 0;
  white-space: nowrap;
}

/* index rows with a post thumbnail (chronological list + homepage rubrics) */
.index.with-thumbs .row { grid-template-columns: 4.4rem 4rem 1fr auto; }
.row-thumb {
  width: 4.4rem; height: 2.8rem; align-self: center;
  background-image: var(--img); background-size: cover; background-position: center;
  border: 1px solid var(--line); border-radius: 0;
}
.row-thumb.empty {
  background: linear-gradient(155deg, var(--paper-2), var(--card));
}
@media (max-width: 680px) {
  .index.with-thumbs .row { grid-template-columns: 3.6rem 1fr; }
  .index.with-thumbs .row .tc, .index.with-thumbs .row .fest { display: none; }
}

/* year groupings on archive page */
.year-head {
  display: flex; align-items: baseline; gap: 1rem;
  margin-top: 2.6rem; margin-bottom: .4rem;
}
.year-head .y { font-family: var(--serif); font-weight: 900; font-size: 2.4rem; letter-spacing: -.02em; }
.year-head .n { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); letter-spacing: .1em; }

/* ---------- Topics ---------------------------------------------------- */
.topics { display: flex; gap: .7rem; flex-wrap: wrap; }
.topic {
  font-family: var(--serif);
  font-size: 1.05rem;
  padding: .55rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  transition: all .25s;
}
.topic:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.topic .c { font-family: var(--mono); font-size: .7rem; color: var(--ink-3); margin-inline-start: .4rem; }
.topic:hover .c { color: rgba(255,255,255,.8); }

/* ---------- About strip ---------------------------------------------- */
.about { display: grid; grid-template-columns: .4fr 1fr; gap: clamp(1.4rem,3vw,3rem); align-items: center; }
.about .portrait {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg,#2a2018,#0f0a07);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}
.about .portrait .lab { position:absolute; inset-block-end:.6rem; inset-inline-start:.6rem; font-family:var(--mono); font-size:.6rem; letter-spacing:.14em; color:rgba(255,255,255,.7); }
.about h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem,2.6vw,2.1rem); line-height: 1.1; }
.about p { color: var(--ink-2); margin-top: .9rem; max-width: 60ch; }
.about-text p { color: var(--ink-2); margin-top: .9rem; max-width: 62ch; line-height: 1.7; }
.about-text a {
  color: var(--accent); font-weight: 600;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat right bottom / 100% 1px;
  padding-bottom: 1px; transition: opacity .2s;
}
.about-text a:hover { opacity: .7; }
.about-text h2 { font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.1; margin-top: .5rem; }
.about-text .kicker { font-size: .98rem; letter-spacing: .08em; font-weight: 700; }
.about-grid { display: block; }
.about-grid.with-portrait { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1.6rem, 3vw, 3rem); align-items: start; }
.about-portrait { margin: 0; }
.about-portrait img {
  width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; object-fit: cover;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (max-width: 640px) {
  .about-grid.with-portrait { grid-template-columns: 1fr; }
  .about-portrait { max-width: 220px; }
}

/* Hebrew text is never italicised (faux-italic looks bad) — emphasise with weight */
.prose em, .prose i, .prose cite { font-style: normal; font-weight: 700; }
.prose blockquote { font-style: normal; }
.about .creds { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.2rem; }
.about .creds div { }
.about .creds .k { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.about .creds .v { font-family: var(--serif); font-size: 1.05rem; }

/* ---------- Footer ---------------------------------------------------- */
.foot { border-top: 1px solid var(--line); padding-block: 2.4rem; margin-top: 1rem; }
.foot .grid-f { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.foot .word { font-family: var(--sans); font-weight: 900; font-size: 1.5rem; }
.foot .small { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--ink-3); line-height: 1.9; }
.foot nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot nav a { color: var(--ink-2); font-size: .92rem; }
.foot nav a:hover { color: var(--accent); }

/* ---------- Article page --------------------------------------------- */
.crumb { font-family: var(--sans); font-size: .8rem; color: var(--ink-2); padding-block: 1.2rem .4rem; display: flex; align-items: center; flex-wrap: wrap; gap: .2rem; }
.crumb a { color: var(--ink-2); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.crumb .sep { color: var(--ink-3); margin-inline: .3rem; }
.crumb .crumb-current { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40ch; }

.article { padding-block: 1.2rem 3rem; }
.article .head { max-width: 52rem; margin-inline: auto; text-align: start; }
.article .head .kicker { margin-bottom: 1rem; }
.article h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.article .standfirst { font-family: var(--serif); font-size: 1.3rem; color: var(--ink-2); margin-top: 1rem; line-height: 1.5; }
.article .meta-row {
  display: flex; gap: 1.4rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .82rem; letter-spacing: .04em; color: var(--ink-2);
  margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
}
.article .hero-fig { margin-block: 2.2rem; }
.article .hero-fig .plate { --p1:#5a4a2c; --p2:#15110a; box-shadow: var(--shadow); }
.article .hero-fig figcaption { font-family: var(--mono); font-size: .7rem; color: var(--ink-3); margin-top: .6rem; }

.prose { max-width: 40rem; margin-inline: auto; font-family: var(--serif); font-size: 1.18rem; line-height: 1.85; color: var(--ink); }
.prose p { margin-top: 1.4rem; }
.prose p:first-of-type::first-letter {
  font-weight: 800; font-size: 3.6rem; line-height: .8;
  float: inline-start; margin-inline-end: .6rem; margin-top: .35rem;
  color: var(--accent);
}
.prose blockquote {
  margin: 2.2rem 0;
  padding-inline-start: 1.4rem;
  border-inline-start: 3px solid var(--accent);
  font-size: 1.5rem; line-height: 1.4; color: var(--ink-2);
  font-style: italic;
}
.prose h2 { font-size: 1.7rem; font-weight: 700; margin-top: 2.4rem; }
.prose .note { font-family: var(--sans); font-size: .82rem; color: var(--ink-3); background: var(--card); border: 1px dashed var(--line); padding: .7rem 1rem; margin-top: 2rem; }

.endmark { text-align: center; color: var(--accent); font-family: var(--mono); margin-top: 2.4rem; letter-spacing: .3em; }

/* ---------- Animations ------------------------------------------------ */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
[data-reveal] { animation: rise .7s both; }
/* cards reveal on scroll via IntersectionObserver (site.js) — .io-pre/.io-in */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* ---------- Responsive ------------------------------------------------ */
@media (max-width: 940px) {
  .hero .lead { grid-template-columns: 1fr; }
  .hero .art { order: -1; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about .portrait { max-width: 280px; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  .grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 5.2rem 1fr; }
  .row .fest { display: none; }
  .brand .lat { display: none; }
}

/* ---------- Display face on large headings (wordmark stays sans) ------ */
.hero h1,
.section-head h2,
.about h2,
.year-head .y,
.article h1 { font-family: var(--display); font-weight: 900; }
.hero h1 .em { font-style: normal; }

/* ---------- Full-bleed cinematic hero ---------------------------------- */
.cine {
  position: relative;
  min-height: clamp(420px, 58vh, 640px);
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 28%;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
  isolation: isolate;
}
.cine::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(10,8,6,.86) 6%, rgba(10,8,6,.30) 52%, rgba(10,8,6,.5));
}
.cine .bar { position: absolute; inset-inline: 0; height: 30px; background: #0a0806; }
.cine .bar.t { top: 0; }
.cine .bar.b { bottom: 0; }
.cine .inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding: 0 var(--pad) clamp(2rem, 5vw, 3.6rem);
  color: #fff; animation: rise .8s .05s both;
}
.cine .kicker { color: #f3c6a9; }
.cine .kicker::before { background: #f3c6a9; }
.cine .leader { border-color: #f3c6a9; }
.cine h1 {
  font-family: var(--display); font-weight: 900; color: #fff;
  font-size: clamp(2.2rem, 5.2vw, 4.4rem); line-height: 1.04;
  letter-spacing: -.01em; text-wrap: balance;
  margin: .7rem 0 .2rem; max-width: 20ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.45);
}
.cine h1 a { color: inherit; }
.cine h1 .em { color: #ff8a5c; }
.cine .dek {
  color: rgba(255,255,255,.88); max-width: 48ch; margin-top: 1rem;
  font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.5;
}
.cine .byline {
  margin-top: 1.4rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; color: rgba(255,255,255,.72);
}
.cine .byline .pill { color: #ffb38f; border: 1px solid #ffb38f; border-radius: 0; padding: .2rem .6rem; }
.cine .now {
  position: absolute; top: calc(30px + 1.1rem); inset-inline-start: var(--pad);
  background: var(--accent); color: #fff; font-family: var(--mono);
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; padding: .35rem .7rem;
}
.cine-article { min-height: clamp(380px, 50vh, 560px); }
@media (max-width: 680px) { .cine .now { inset-inline-start: 1.1rem; } }

/* ====================== Article lede (hero) variants ================== */
.post-title { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.015em; text-wrap: balance; margin-top: .8rem; }
.post-dek { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--ink-2); margin-top: 1rem; max-width: 50ch; line-height: 1.5; }

/* shared framed plate (poster / in-body) */
.platefig { margin: 0; border: 1px solid var(--line); background: #000; box-shadow: var(--shadow); }
.platefig img { width: 100%; display: block; }
.platefig figcaption { font-family: var(--mono); font-size: .64rem; color: var(--ink-3); padding: .5rem .7rem; background: var(--card); border-top: 1px solid var(--line); display: flex; justify-content: space-between; }

/* 1 · typographic */
.lede-type { padding-block: clamp(1.4rem, 3vw, 2.4rem) 0; }
.lede-type .post-title { max-width: 20ch; }
.inbody { margin: 2rem auto; max-width: 46rem; }

/* 2 · editorial split / poster */
.lede-split { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(1.4rem, 3vw, 3rem); align-items: center; padding-block: clamp(1.4rem, 3vw, 2.4rem); }

/* 3 · letterbox cinemascope band */
.band { position: relative; width: 100%; aspect-ratio: 2.39 / 1; background: #000; overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band .bar { display: none; }
.band .cap { position: absolute; bottom: 34px; inset-inline-start: 1rem; font-family: var(--mono); font-size: .62rem; color: rgba(255,255,255,.82); background: rgba(0,0,0,.4); padding: .15rem .45rem; }
.post-below { padding-block: clamp(1.6rem, 3vw, 2.4rem) 0; }
.post-below .post-title { max-width: 24ch; }

/* 4 · duotone full-bleed */
.lede-duo { position: relative; min-height: clamp(360px, 48vh, 540px); display: flex; align-items: flex-end; overflow: hidden; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.lede-duo img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.66) contrast(1.06); }
.lede-duo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(181,48,29,.5), rgba(18,13,10,.78)); mix-blend-mode: multiply; }
.lede-duo .veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(8,6,5,.8), transparent 55%); }
.lede-duo .inner { position: relative; z-index: 2; color: #fff; padding: 0 var(--pad) clamp(1.8rem, 4vw, 2.6rem); max-width: var(--maxw); margin-inline: auto; width: 100%; }
.lede-duo .inner .post-title { color: #fff; max-width: 20ch; }
.lede-duo .inner .kicker { color: #f3c6a9; }
.lede-duo .inner .kicker::before { background: #f3c6a9; }

@media (max-width: 820px) { .lede-split { grid-template-columns: 1fr; } }

/* homepage featured latest post — first thing on opening the site */
.featured {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: center;
  padding-block: clamp(2rem, 4vw, 3.4rem) clamp(1.4rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--line);
}
/* letterboxed featured still — cinemascope crop between black bars */
.featured-fig {
  display: block; background: #000;
  padding-block: clamp(10px, 1.4vw, 16px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.featured-fig img { width: 100%; height: auto; display: block; aspect-ratio: 2.39 / 1; object-fit: cover; }
.featured-copy .post-title { margin-top: .8rem; }
.featured-copy .byline {
  margin-top: 1rem; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .85rem; color: var(--ink-2);
}
.featured-copy .byline .sep { color: var(--ink-3); }
.featured-excerpt { color: var(--ink-2); margin-top: 1rem; line-height: 1.7; max-width: 52ch; }
.featured-copy .more {
  display: inline-block; margin-top: 1.2rem;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 2px;
}
@media (max-width: 820px) { .featured { grid-template-columns: 1fr; } .featured-fig { order: -1; } }

/* homepage masthead — site identity, leads into the list of relevant posts */
.home-masthead { padding-block: clamp(2.4rem, 5vw, 4rem) clamp(1rem, 2vw, 1.6rem); }
.home-masthead .post-title { max-width: 22ch; margin-top: .8rem; }
.home-masthead .post-dek { max-width: 52ch; }

/* letterbox-band hero — title accent + byline (homepage) */
.post-title .em { color: var(--accent); font-style: normal; }
.post-below .byline { margin-top: 1.3rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; color: var(--ink-3); }
.post-below .byline .pill { color: var(--accent); border: 1px solid var(--accent); border-radius: 0; padding: .2rem .6rem; }

/* YouTube / video embeds — full prose width */
.video-wrap { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; margin: 2.5rem 0; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Star ratings */
.rating { text-align: center; margin: 2rem 0 1.6rem; }
.rating .stars { font-size: 1.4rem; letter-spacing: .18em; color: var(--accent); font-family: var(--sans); }

/* Post images and captions */
.prose img { width: 100%; max-width: 100%; height: auto; display: block; margin: 1.5rem auto; }
.prose figure { margin: 2rem 0; }
.prose figcaption { font-family: var(--sans); font-size: .92rem; color: var(--ink-2); text-align: center; margin-top: .6rem; line-height: 1.5; }

/* Topics grid */
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 940px) { .topics-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .topics-grid { grid-template-columns: 1fr; } }

/* Per-post lead: centered film-still with the title directly beneath it */
.lede-centered {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-block: clamp(2rem, 4vw, 3.4rem) clamp(1rem, 2.5vw, 1.8rem);
}
.lede-centered .lede-copy { max-width: 52rem; }
.post-below .kicker { font-size: .98rem; letter-spacing: .08em; font-weight: 700; }
.post-below .kicker::before { display: none; }
.lede-centered .post-title { margin-top: 1rem; }
.lede-centered .byline {
  margin-top: 1.2rem; display: flex; align-items: center; justify-content: center; gap: .8rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .9rem; letter-spacing: .04em; color: var(--ink-2);
}
.lede-centered .byline .sep { color: var(--ink-3); }
/* Option 1 — white mat / darkroom print */
.lead-fig {
  margin: 0 0 clamp(1.4rem, 3vw, 2.2rem);
  width: 100%; max-width: 46rem;
  background: var(--card);
  padding: clamp(12px, 1.6vw, 18px);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 1px 3px rgba(21,20,15,.12), 0 26px 54px -28px rgba(21,20,15,.5);
}
.lead-fig img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16 / 9; object-fit: cover;
  border: 1px solid var(--line);
}
.lead-fig figcaption {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2);
  padding: .8rem .2rem;
}
.lead-fig figcaption .film {
  color: var(--accent);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 72%; min-width: 0;
}
.lead-fig figcaption .mono { flex-shrink: 0; }
.topic-head { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }

/* ── Search overlay ───────────────────────────────────────────────────── */
#search-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,14,10,.7);
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column; align-items: center;
  padding-top: clamp(4rem, 10vh, 8rem);
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease;
}
#search-overlay.open { opacity: 1; pointer-events: all; }

.search-box {
  width: min(640px, 92vw);
  display: flex; align-items: center; gap: .75rem;
  background: var(--paper);
  border: 2px solid var(--accent);
  border-radius: 0;
  padding: .6rem 1rem;
}
.search-box svg { flex-shrink: 0; color: var(--accent); }
#search-input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: var(--sans); font-size: 1.15rem; color: var(--ink);
  direction: rtl; text-align: right;
}
#search-input::placeholder { color: var(--ink-3); }
#search-close {
  background: none; border: none; cursor: pointer;
  color: var(--ink-3); padding: .2rem; line-height: 1;
  font-size: 1.3rem; flex-shrink: 0;
}
#search-close:hover { color: var(--ink); }

#search-results {
  width: min(640px, 92vw);
  margin-top: .75rem;
  background: var(--paper);
  border-radius: 0;
  overflow: hidden;
  max-height: 60vh; overflow-y: auto;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
}

.sr-msg {
  padding: 1.2rem 1.4rem;
  font-family: var(--sans); font-size: .9rem;
  color: var(--ink-3); margin: 0;
}

.sr-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: .9rem 1.2rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: background .1s;
}
.sr-item:last-child { border-bottom: none; }
.sr-item:hover, .sr-item.active { background: var(--card); }

.sr-thumb {
  width: 72px; height: 48px; object-fit: cover;
  border-radius: 0; flex-shrink: 0; display: block;
}
.sr-thumb-empty {
  background: var(--line);
}

.sr-body { flex: 1; min-width: 0; }
.sr-title {
  font-family: var(--sans); font-size: .95rem;
  font-weight: 700; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sr-title mark { background: none; color: var(--accent); font-weight: 800; }
.sr-meta {
  display: flex; align-items: center; gap: .6rem;
  margin-top: .25rem;
}
.sr-pill {
  font-family: var(--mono); font-size: .65rem; letter-spacing: .06em;
  color: var(--accent); border: 1px solid var(--accent);
  border-radius: 0; padding: .1rem .5rem;
}
.sr-date { font-family: var(--mono); font-size: .7rem; color: var(--ink-3); }
.sr-excerpt {
  font-family: var(--sans); font-size: .8rem; color: var(--ink-2);
  margin-top: .3rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.sr-excerpt mark { background: none; color: var(--accent); font-weight: 700; }
