.article-header { position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); }
.article-header nav { justify-self: center; }
.article-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.article-hero { padding: clamp(76px, 12vw, 150px) 0 clamp(60px, 9vw, 110px); border-bottom: 1px solid var(--line); }
.article-kicker { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-bottom: 32px; font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.article-kicker span:first-child { color: var(--accent); }
.article-hero h1 { max-width: 1000px; margin: 0; font: 500 clamp(48px, 7.5vw, 108px)/.98 var(--display); letter-spacing: -.055em; }
.article-hero h1 em { color: var(--accent); font-style: normal; }
.article-deck { max-width: 760px; margin: 38px 0 0 auto; font-size: clamp(19px, 2vw, 26px); line-height: 1.55; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); justify-content: space-between; gap: 70px; padding: clamp(60px, 9vw, 110px) 0; }
.article-toc { position: sticky; top: 120px; align-self: start; display: grid; gap: 14px; font: 400 11px/1.5 var(--mono); color: var(--muted); }
.article-toc strong { margin-bottom: 7px; color: var(--ink); text-transform: uppercase; letter-spacing: .1em; }
.article-toc a:hover { color: var(--accent); }
.article-body { min-width: 0; }
.article-body section { scroll-margin-top: 120px; margin-bottom: 76px; }
.article-body h2 { margin: 0 0 24px; font: 500 clamp(30px, 4vw, 48px)/1.1 var(--display); letter-spacing: -.035em; }
.article-body h3 { margin: 34px 0 14px; font-size: 21px; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.85; color: var(--muted); }
.article-body p { margin: 0 0 22px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin-bottom: 11px; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.architecture { margin: 34px 0; padding: 28px; border: 1px solid var(--divider); border-radius: 18px; background: var(--surface-raised); overflow-x: auto; }
.architecture pre { margin: 0; font: 400 12px/1.8 var(--mono); color: var(--ink); white-space: pre; }
.callout { margin: 34px 0; padding: 24px 26px; border-inline-start: 3px solid var(--accent); background: var(--surface); }
.callout p { margin: 0; color: var(--ink); }
.article-checklist { list-style: none; padding: 0 !important; }
.article-checklist li { position: relative; padding-left: 30px; }
.article-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }
.author-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; margin-top: 90px; padding-top: 32px; border-top: 1px solid var(--divider); }
.author-monogram { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--accent); border-radius: 16px; font: 500 18px var(--mono); color: var(--accent); }
.author-card h2 { margin-bottom: 7px; font-size: 24px; }
.author-card p { margin-bottom: 10px; }
.article-footer { width: 100%; }
.insights-hero { padding-bottom: clamp(48px, 7vw, 80px); }
.insights-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding: clamp(50px, 8vw, 90px) 0 clamp(80px, 11vw, 140px); }
.insight-card { display: flex; flex-direction: column; min-height: 420px; padding: clamp(26px, 4vw, 44px); border: 1px solid var(--divider); border-radius: 22px; background: var(--surface-raised); transition: transform .25s ease, border-color .25s ease; }
.insight-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.insight-card .article-kicker { margin-bottom: 70px; }
.insight-card h2 { margin: 0 0 22px; font: 500 clamp(27px, 3vw, 42px)/1.08 var(--display); letter-spacing: -.035em; }
.insight-card p { margin: 0 0 32px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.insight-card > span { margin-top: auto; color: var(--accent); font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 800px) {
  .article-header { grid-template-columns: 1fr auto; }
  .article-header nav { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .article-toc { position: static; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
  .article-deck { margin-left: 0; }
  .insights-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .article-shell { width: min(100% - 40px, 1120px); }
  .article-hero h1 { font-size: clamp(42px, 13vw, 64px); }
  .article-layout { gap: 48px; }
  .architecture { margin-left: -4px; margin-right: -4px; padding: 18px; }
}
