/* ============================================================
   KORREX · blog.css — article template styles (layered on brand.css)
   ============================================================ */

/* ===== article header ===== */
.art-head { padding: 96px 0 56px; }
.art-head .k { color: var(--ink-3); }
.art-head h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.1;
  color: var(--ink); font-size: clamp(34px, 4.6vw, 52px); text-wrap: balance;
  margin-top: 28px; max-width: 26ch;
  text-shadow: 0 1px 0 rgba(46,28,8,.35);
}
.art-head .deck { margin-top: 22px; max-width: 60ch; font-size: 19px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

/* byline */
.byline { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--hairline); display: flex; align-items: baseline; gap: 14px 28px; flex-wrap: wrap; }
.byline .by-name { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.byline .by-name a { border-bottom: 1px solid var(--hairline); }
.byline .by-name a:hover { color: var(--accent); border-color: var(--accent); }
.byline .by-cred { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

/* ===== article body ===== */
.art-body { padding: 0 0 80px; }
.art-col { max-width: 720px; }
.art-col > * + * { margin-top: 24px; }
.art-col p { font-size: 17.5px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.art-col p b, .art-col p strong, .art-col li b, .art-col li strong { font-weight: 600; color: var(--ink); }
.art-col a { border-bottom: 1px solid var(--hairline); transition: color .12s, border-color .12s; }
.art-col a:hover { color: var(--accent); border-color: var(--accent); }
.art-col h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; line-height: 1.2;
  color: var(--ink); font-size: clamp(25px, 3vw, 31px); text-wrap: balance;
  margin-top: 64px;
}
.art-col h3 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.25;
  color: var(--ink); font-size: 22px; margin-top: 44px;
}
.art-col ul, .art-col ol { padding-left: 22px; }
.art-col li { font-size: 17px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.art-col li + li { margin-top: 12px; }
.art-col em { color: var(--bronze); }

/* lede — first paragraph, the article's one-line thesis expanded */
.art-col .lede { font-size: 19px; line-height: 1.62; color: var(--ink); }

/* pull quote */
.pull {
  margin-top: 48px; margin-bottom: 48px;
  padding: 28px 0;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(21px, 2.6vw, 26px); line-height: 1.42; letter-spacing: -.01em;
  color: var(--bronze); text-wrap: balance;
}
.pull b { font-style: normal; font-weight: 400; color: var(--ink); }

/* table of contents */
.toc { margin-top: 40px; padding: 22px 26px; border: 1px solid var(--hairline); max-width: 720px; }
.toc .toc-h { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { margin-top: 14px; padding-left: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; font-size: 15.5px; padding: 6px 0; }
.toc li + li { border-top: 1px solid var(--hairline-soft); margin-top: 0; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-right: 14px; }
.toc a { border-bottom: 0; color: var(--ink-2); }
.toc a:hover { color: var(--accent); }

/* comparison table */
.art-table { margin-top: 36px; width: 100%; border-collapse: collapse; }
.art-table th {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); text-align: left; padding: 0 20px 12px 0; border-bottom: 1px solid var(--hairline);
}
.art-table td { padding: 14px 20px 14px 0; border-bottom: 1px solid var(--hairline-soft); font-size: 16px; line-height: 1.55; color: var(--ink-2); vertical-align: top; }
.art-table td b { font-weight: 600; color: var(--ink); }

/* key takeaways — system artifact */
.takeaways { margin-top: 64px; border: 1px solid var(--hairline); padding: 26px 30px 10px; }
.takeaways .tk-h {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3); display: flex; align-items: center; gap: 9px;
  padding-bottom: 16px; border-bottom: 1px solid var(--hairline);
}
.takeaways .tk-h::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); }
.takeaways ul { list-style: none; padding: 0; margin-top: 0; }
.takeaways li { padding: 15px 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.takeaways li + li { border-top: 1px solid var(--hairline-soft); margin-top: 0; }
.takeaways li b { font-weight: 600; color: var(--ink); }

/* end CTA — parchment band */
.art-cta { padding: 84px 0; }
.art-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.012em; line-height: 1.14; color: var(--ink); max-width: 22ch; text-wrap: balance; margin-top: 24px; }
.art-cta p { margin-top: 18px; max-width: 54ch; font-size: 16.5px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.art-cta .cta { margin-top: 32px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.art-cta .btn-accent { background: var(--ink); color: #E8C39A; }
.art-cta .btn-accent:hover { background: #100b04; }
.art-cta .btn-quiet { color: var(--ink); }

/* related */
.related { padding: 64px 0 84px; }
.related .rel-h { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.related .rel-list { margin-top: 20px; display: flex; flex-direction: column; }
.related .rel-list a { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--hairline-soft); font-family: var(--serif); font-size: 19px; color: var(--ink); transition: color .12s; }
.related .rel-list a:hover { color: var(--accent); }
.related .rel-list a::before { content: '→'; font-family: var(--mono); font-size: 14px; color: var(--bronze); }

/* ===== blog index ===== */
.blog-hero { padding: 100px 0 30px; }
.blog-hero h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.08;
  color: var(--ink); font-size: clamp(38px, 5vw, 58px); text-wrap: balance;
  margin-top: 28px; max-width: 18ch;
  text-shadow: 0 1px 0 rgba(46,28,8,.35);
}
.blog-hero .thesis { margin-top: 24px; max-width: 56ch; font-size: 18px; color: var(--ink-2); text-wrap: pretty; }

.post-group { padding: 56px 0 20px; }
.post-group:last-of-type { padding-bottom: 90px; }
.post-list { margin-top: 36px; }
.post-card { display: block; padding: 34px 0; border-top: 1px solid var(--hairline-soft); }
.post-card:hover h2 { color: var(--accent); }
.post-card h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; line-height: 1.22; color: var(--ink); font-size: clamp(23px, 2.8vw, 29px); max-width: 30ch; text-wrap: balance; transition: color .12s; }
.post-card .pc-deck { margin-top: 12px; max-width: 62ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.post-card .pc-by { margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.post-card .pc-by b { color: var(--bronze); font-weight: 500; }
