/* ════════════════════════════════════════════════════════════
   Journal — archive + single
   Extracted from pages/V2/Journal.html and JournalPost.html
   ════════════════════════════════════════════════════════════ */

/* ── ARCHIVE HERO ── */
.jr-hero { padding: clamp(64px, 8vw, 120px) var(--pad-x); border-bottom: 1px solid var(--rule); }
.jr-hero .eyebrow { margin-bottom: clamp(28px, 4vw, 56px); }
.jr-hero h1 { margin: 0 0 24px; max-width: 14ch; }
.jr-hero p { margin: 0; max-width: 56ch; font-size: 17.5px; color: var(--ink-soft); line-height: 1.6; }

/* ── FILTER BAR ── */
.jr-filter {
  display: flex; align-items: center; gap: clamp(8px, 1.4vw, 20px);
  padding: 28px var(--pad-x);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 70px; z-index: 40;
  backdrop-filter: blur(8px); flex-wrap: wrap;
}
.jr-filter .label {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); margin-right: auto;
}

/* ── FEATURE ROW ── */
.feature-row {
  padding: clamp(56px, 7vw, 100px) var(--pad-x);
  border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center; cursor: pointer;
  transition: background .35s ease;
  text-decoration: none;
}
.feature-row:hover { background: var(--paper-2); }
.feature-row .img { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-3); }
.feature-row .img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(0.97) saturate(0.88);
  transition: transform 1.2s cubic-bezier(.16, .84, .3, 1);
}
.feature-row:hover .img img { transform: scale(1.04); }
.feature-row .body { display: flex; flex-direction: column; gap: 18px; }
.feature-row .meta {
  display: flex; gap: 18px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute);
}
.feature-row .meta .cat { color: var(--accent); }
.feature-row h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(32px, 4.4vw, 64px); line-height: 1.05;
  letter-spacing: -0.012em; color: var(--ink); margin: 0; text-wrap: balance;
}
.feature-row h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.feature-row p { margin: 0; font-size: 17px; color: var(--ink-soft); line-height: 1.65; max-width: 50ch; }
.feature-row .read {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--ink);
  padding-bottom: 4px; display: inline-flex; gap: 10px; width: max-content;
}

/* ── ARTICLE GRID ── */
.jr-grid-section { padding: clamp(72px, 9vw, 120px) var(--pad-x); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.article {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 22px; border-top: 1px solid var(--rule);
  cursor: pointer; transition: opacity .25s ease;
  text-decoration: none;
}
.article[hidden] { display: none; }
.article .img { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-3); }
.article .img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(0.97) saturate(0.88);
  transition: transform 1.4s cubic-bezier(.16, .84, .3, 1);
}
.article:hover .img img { transform: scale(1.04); }
.article .meta {
  display: flex; gap: 16px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute);
}
.article .meta .cat { color: var(--accent); }
.article h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15;
  color: var(--ink); margin: 0; text-wrap: balance;
}
.article h3 em { font-style: italic; font-weight: 300; }
.article p { margin: 0; font-size: 14.5px; color: var(--ink-soft); max-width: 42ch; }

/* ── READING PROGRESS ── */
.progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--accent); z-index: 100; width: 0;
  transition: width .1s ease;
}

/* ── POST HEAD ── */
.article-head {
  padding: clamp(56px, 7vw, 100px) var(--pad-x) clamp(28px, 4vw, 56px);
  max-width: 880px; margin: 0 auto;
}
.article-head .meta-row {
  display: flex; gap: 18px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 32px; flex-wrap: wrap;
}
.article-head .meta-row .cat { color: var(--accent); }
.article-head h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6.5vw, 108px); line-height: 0.98;
  letter-spacing: -0.015em; margin: 0 0 32px; text-wrap: balance;
}
.article-head h1 em { font-style: italic; color: var(--accent); font-weight: 300; }
.article-head .byline {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); flex-wrap: wrap; gap: 14px;
}
.article-head .byline strong { color: var(--ink); }

/* ── POST HERO FIGURE ── */
.hero-fig { padding: 0 var(--pad-x); margin-bottom: 56px; }
.hero-fig .wrap { max-width: 1440px; margin: 0 auto; }
.hero-fig img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: var(--paper-3); filter: contrast(0.97) saturate(0.88); display: block;
}
.hero-fig figcaption {
  max-width: 720px; margin: 18px auto 0;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute);
}

/* ── POST BODY ── */
.article-body {
  padding: 0 var(--pad-x) clamp(64px, 8vw, 120px);
  max-width: 720px; margin: 0 auto;
  font-size: 18px; line-height: 1.8; color: var(--ink);
}
.article-body p { margin: 0 0 1.4em; }
.article-body p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 400;
  font-size: 5em; float: left; line-height: 0.86;
  margin: 8px 14px 0 0; color: var(--accent);
}
.article-body p strong { color: var(--ink); font-weight: 500; }
.article-body h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1;
  margin: 56px 0 24px; color: var(--ink); letter-spacing: -0.012em;
}
.article-body h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
/* The sd/pullquote block runs narrower inside an article column. */
.article-body .sd-pullquote { margin: 48px 0; max-width: 30ch; font-size: clamp(26px, 3.6vw, 44px); }

/* ── RELATED ── */
.related-section {
  padding: clamp(64px, 8vw, 120px) var(--pad-x);
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.related-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: clamp(36px, 4vw, 56px); gap: 24px; flex-wrap: wrap;
}
.related-head h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(32px, 4vw, 56px); line-height: 1.05; margin: 0;
}
.related-head h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); }
.related-item { display: flex; flex-direction: column; gap: 16px; cursor: pointer; }
.related-item .img { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-3); }
.related-item .img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(0.97) saturate(0.88);
  transition: transform 1.2s cubic-bezier(.16, .84, .3, 1);
}
.related-item:hover .img img { transform: scale(1.04); }
.related-item .meta {
  display: flex; gap: 14px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute);
}
.related-item .meta .cat { color: var(--accent); }
.related-item h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1;
  color: var(--ink); margin: 0;
}
.related-item h3 em { font-style: italic; font-weight: 300; }

@media (max-width: 1024px) {
  .feature-row { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
