/* ============================================================
   Editorial layer — "Weekender" style overlay (SmartDataAI)
   Additive only: loaded AFTER legacy.css. Touches typography,
   rhythm and figures on article pages. Never layout grids,
   never components, never the tools or the game.
   Brand tokens (--accent etc.) inherited from tokens.css.
   ============================================================ */

/* ---- headline: heavy grotesque, tight leading ---- */
.article-main h1,
.tool-hero h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

/* ---- eyebrow: italic small caps above the headline ---- */
.eyebrow {
  font-style: italic;
  letter-spacing: 0.14em;
}

/* ---- dek: the grey standfirst under the headline ---- */
.ed-dek {
  font-size: 1.27rem;
  line-height: 1.55;
  font-weight: 400;
  color: #565a55;
  max-width: 46rem;
  margin: 0.4rem 0 1.1rem;
}

/* ---- meta line: a touch more air ---- */
.article-meta { margin-bottom: 1.6rem; }

/* ---- figures ---- */
.ed-figure { margin: 0 0 2rem; }
.ed-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.ed-figure figcaption {
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--faint, #64748b);
  text-align: center;
  margin-top: 0.65rem;
}

/* ---- article body: reading rhythm ---- */
.article-main p,
.article-main li,
.content-sec p,
.content-sec li {
  font-size: 1.135rem;
  line-height: 1.8;
}
.article-main h2,
.content-sec h2 {
  font-family: var(--font-body);
  font-weight: 750;
  font-size: 1.62rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.article-main .ed-figure + p::first-letter {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 640;
  font-size: 3.1em;
  line-height: 0.85;
  float: left;
  padding: 0.06em 0.14em 0 0;
  color: var(--accent-deep, #1d4ed8);
}
.article-main blockquote,
.content-sec blockquote {
  border-left: 3px solid var(--accent, #2563eb);
  padding-left: 1.25rem;
  margin: 2rem 0;
  font-style: italic;
}

@media (max-width: 640px) {
  .ed-dek { font-size: 1.13rem; }
  .article-main p,
  .article-main li,
  .content-sec p,
  .content-sec li { font-size: 1.06rem; line-height: 1.74; }
  .article-main .ed-figure + p::first-letter { font-size: 2.7em; }
}
