/* Blog-specific components. Layered on /landing/tokens.css + /landing/_shared/base.css.
   Reuses .nav, .section, .eyebrow, the FAQ accordion, .cta-card, .footer, and the
   .reveal animations from the landing system. Only the blog index cards + the
   article reading layout live here. No em-dashes anywhere in rendered copy. */

/* ── Index header ─────────────────────────────────────────────── */
.blog-head { padding-top: clamp(28px, 5vw, 60px); padding-bottom: clamp(20px, 3vw, 34px); }
.blog-head__eyebrow { color: var(--accent); }
.blog-head h1 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.04; margin-top: 14px;
}
.blog-head__dek { color: var(--ink-2); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.6; margin-top: 16px; max-width: 620px; }

/* ── Post grid (index) ────────────────────────────────────────── */
/* Editorial cards: the post's hero art on top, then a small-caps
   date + read-time line, title, dek, and a quiet "Read article" cue.
   No category pills, no accent blocks; the artwork carries the color. */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--raised); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--hairline-2); }
.post-card__media { overflow: hidden; aspect-ratio: 2 / 1; border-bottom: 1px solid var(--hairline); }
.post-card__media img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.post-card:hover .post-card__media img { transform: scale(1.035); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 22px; }
.post-card__meta {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
}
.post-card__meta .ph { font-size: 13px; color: var(--ink-4); }
.post-card__sep { color: var(--ink-4); }
.post-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.22; letter-spacing: -0.01em; margin-top: 12px; }
.post-card__dek { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin-top: 9px; flex: 1; }
.post-card__go {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  color: var(--ink); font-weight: 600; font-size: 13.5px;
}
.post-card__go .ph { transition: transform .18s var(--ease); }
.post-card:hover .post-card__go .ph { transform: translateX(3px); }

/* ── Article ──────────────────────────────────────────────────── */
/* Editorial layout: category, one big title, a thin rule, a byline,
   then plain flowing prose. No deks, no breadcrumbs, no section h2s. */
.article { padding-top: clamp(28px, 5vw, 64px); }
.article__wrap { max-width: 720px; }
.article__cat { font-weight: 650; font-size: 15px; color: var(--accent-2); }
.article__h1 {
  font-family: var(--font-display); font-weight: 650; letter-spacing: -0.02em;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.08; margin-top: 18px;
}
.article__rule { border-top: 1px solid #d3dcb6; margin: 34px 0 22px; }
.article__byline { font-size: 16px; color: var(--ink-3); }
.article__author { color: var(--accent-2); font-weight: 650; }
.article__sep { color: var(--ink-4); }

.article__hero {
  display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover;
  border-radius: var(--r-md); margin: 28px 0 8px;
}

/* Article body prose */
.article__body { margin-top: 10px; }
.article__body p { color: var(--ink-2); font-size: 1.08rem; line-height: 1.78; margin: 0 0 22px; }

/* ── In-article figure (inline SVG chart), plain and editorial ── */
.article__figure { margin: 34px 0 32px; }
.figure__title { font-weight: 650; font-size: 15px; color: var(--ink); }
.figure__sub { color: var(--ink-3); font-size: 13.5px; line-height: 1.5; margin-top: 3px; }
.article__figure svg { display: block; width: 100%; height: auto; margin-top: 14px; font-family: var(--font-body); }
.figure__src { margin-top: 8px; color: var(--ink-4); font-size: 12.5px; }
.figure__src a { color: var(--ink-4); border-bottom: 1px solid var(--hairline-2); }
.figure__src a:hover { color: var(--ink-2); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 860px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
}
