/* Blog · listing and article
   Tokens only, so both themes follow tokens.css without a second palette.
   .category-switch, .category-chip and .category-empty are reused from
   extras.css (globally loaded) rather than restyled here. */
.blog-catalogue{padding-top:42px}
.blog-catalogue .category-switch{margin-bottom:34px}

.blog-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}

.blog-card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-width:0;
  border:1px solid var(--line-strong);
  border-radius:18px;
  background:linear-gradient(155deg,color-mix(in srgb,var(--surface) 96%,var(--violet) 4%),var(--surface-2));
  box-shadow:var(--shadow);
  transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease;
}
.blog-card:before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0 0 auto;
  height:2px;
  background:linear-gradient(90deg,var(--violet),color-mix(in srgb,var(--violet) 72%,var(--cyan)),var(--cyan));
  opacity:.82;
}
/* One accent per taxonomy tone, so a category keeps its colour from the mega
   menu through the listing to the article. */
.blog-card--donnees-regulees:before{background:linear-gradient(90deg,var(--cyan),color-mix(in srgb,var(--cyan) 60%,var(--violet)))}
.blog-card--preuve-verifiable:before{background:linear-gradient(90deg,var(--lavender),color-mix(in srgb,var(--lavender) 60%,var(--cyan)))}
.blog-card:hover,.blog-card:focus-within{
  transform:translateY(-5px);
  border-color:color-mix(in srgb,var(--lavender) 56%,var(--line));
  box-shadow:0 30px 86px rgba(6,8,32,.42),0 0 0 1px color-mix(in srgb,var(--violet) 16%,transparent);
}
@media (prefers-reduced-motion:reduce){
  .blog-card{transition:none}
  .blog-card:hover,.blog-card:focus-within{transform:none}
}

/* The whole card is one link: a single tab stop and a single target, instead of
   a title link the pointer keeps missing. */
.blog-card-link{
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  height:100%;
  color:inherit;
  text-decoration:none;
}
.blog-card-link:focus-visible{outline:2px solid var(--cyan);outline-offset:3px;border-radius:18px}

.blog-card-image{
  aspect-ratio:16/9;
  overflow:hidden;
  border-bottom:1px solid var(--line);
  background:color-mix(in srgb,var(--ink) 34%,transparent);
}
.blog-card-image img{width:100%;height:100%;object-fit:cover;display:block}
.blog-card-image--placeholder{display:grid;place-items:center}
.blog-card-image--placeholder img{width:52px;height:52px;object-fit:contain;opacity:.34}

.blog-card-body{display:grid;gap:10px;align-content:start;padding:22px 24px 16px;min-width:0}
.blog-card-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  color:var(--silver);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.blog-tag{
  display:inline-flex;
  align-items:center;
  padding:4px 11px;
  border:1px solid color-mix(in srgb,var(--cyan) 42%,transparent);
  border-radius:999px;
  background:color-mix(in srgb,var(--cyan) 12%,transparent);
  color:var(--cyan);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
  text-decoration:none;
}
a.blog-tag:hover{background:color-mix(in srgb,var(--cyan) 20%,transparent)}
/* A keyword is a label, not a destination: it must not look clickable, because
   there is no tag archive to click through to. */
.blog-tag--keyword{
  border-color:color-mix(in srgb,var(--lavender) 34%,transparent);
  background:color-mix(in srgb,var(--violet) 10%,transparent);
  color:var(--lavender);
}
.blog-card-title{
  margin:0;
  font-family:var(--font-display);
  font-size:1.34rem;
  font-weight:700;
  line-height:1.24;
  color:var(--paper);
}
.blog-card-excerpt{
  margin:0;
  color:var(--silver);
  font-size:.93rem;
  line-height:1.6;
  display:-webkit-box;
  -webkit-line-clamp:3;
  line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.blog-card-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 24px 20px;
  border-top:1px solid var(--line);
  color:var(--silver);
  font-size:.76rem;
  font-weight:640;
}
.blog-card-read{color:var(--cyan);font-weight:760}

/* Pagination ------------------------------------------------------------- */
.blog-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin-top:38px;
  flex-wrap:wrap;
}
.blog-page-step{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 17px;
  border:1px solid var(--line-strong);
  border-radius:999px;
  color:var(--paper);
  font-size:.84rem;
  font-weight:700;
  text-decoration:none;
  transition:border-color .16s ease,background .16s ease;
}
.blog-page-step:hover{border-color:color-mix(in srgb,var(--violet) 52%,transparent);background:color-mix(in srgb,var(--violet) 12%,transparent)}
.blog-page-status{color:var(--silver);font-size:.8rem;font-weight:640}

/* Article ---------------------------------------------------------------- */
.article-header .lead{max-width:70ch}
/* The eyebrow becomes a link pair back up the hierarchy. It stays the same
   inline pill as everywhere else — `display` is restated because this rule
   loads after base.css and would otherwise win with a stray block value. */
.article-eyebrow{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0}
.article-eyebrow a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,var(--cyan) 45%,transparent)}
.article-eyebrow a:hover{color:var(--paper);text-decoration-color:currentColor}
.article-meta dd a{color:var(--paper);text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--cyan) 40%,transparent)}
.article-meta dd a:hover{color:var(--cyan)}
.article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:14px 34px;
  margin:26px 0 0;
  padding-top:20px;
  border-top:1px solid var(--line);
}
.article-meta>div{display:grid;gap:4px}
.article-meta dt{
  color:var(--silver);
  font-size:.68rem;
  font-weight:760;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.article-meta dd{margin:0;color:var(--paper);font-size:.92rem;font-weight:640}

.article-image{
  margin:34px 0 0;
  overflow:hidden;
  border:1px solid var(--line-strong);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.article-image img{width:100%;height:auto;display:block}

.article-body-section{padding-top:34px}

/* Three-column reading layout.
   Outline left, text centre, context right — the widths are fixed on the rails
   and fluid in the middle so the measure never depends on how long a heading
   is. `minmax(0,1fr)` rather than `1fr`: a wide <pre> or table inside the body
   must scroll inside its own box instead of stretching the whole grid. */
.article-grid{
  display:grid;
  grid-template-columns:190px minmax(0,1fr) 286px;
  gap:26px;
  align-items:start;
}
.article-main{min-width:0}
.article-rail{display:grid;gap:16px;align-content:start;min-width:0}
/* Only the outline sticks. The right rail is taller than most viewports, so
   pinning it would trap its lower cards off-screen for the whole article. */
.article-rail--left{position:sticky;top:96px;max-height:calc(100vh - 124px);overflow-y:auto;overscroll-behavior:contain}

/* Table of contents ------------------------------------------------------- */
.article-toc{
  padding:16px 16px 18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:color-mix(in srgb,var(--surface) 88%,transparent);
}
.article-toc-title{
  margin:0 0 10px;
  padding-bottom:9px;
  border-bottom:1px solid var(--line);
  color:var(--silver);
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.article-toc-list{margin:0;padding:0;list-style:none;counter-reset:toc-entry;display:grid;gap:3px}
.article-toc-link{
  display:flex;
  gap:9px;
  padding:7px 9px;
  border-radius:9px;
  border-left:2px solid transparent;
  color:var(--silver);
  font-size:.81rem;
  line-height:1.4;
  text-decoration:none;
  transition:color .16s ease,background .16s ease,border-color .16s ease;
}
.article-toc-link:before{
  content:counter(toc-entry);
  counter-increment:toc-entry;
  flex:0 0 auto;
  color:color-mix(in srgb,var(--cyan) 70%,var(--silver));
  font-size:.7rem;
  font-weight:800;
  font-variant-numeric:tabular-nums;
}
.article-toc-link:hover{color:var(--paper);background:color-mix(in srgb,var(--paper) 6%,transparent)}
/* Set by blog.js from the heading currently under the header. */
.article-toc-link.is-active{
  color:var(--paper);
  border-left-color:var(--cyan);
  background:color-mix(in srgb,var(--cyan) 10%,transparent);
}
.article-toc-link:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}

/* Below the three-column breakpoint the same outline collapses into a native
   <details>: no second markup tree, no script, and it stays usable if JS is
   blocked entirely. */
.article-toc-mobile{display:none;margin:0 0 26px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2)}
.article-toc-mobile>summary{
  padding:13px 16px;
  color:var(--paper);
  font-size:.84rem;
  font-weight:700;
  cursor:pointer;
}
.article-toc-mobile>summary:focus-visible{outline:2px solid var(--cyan);outline-offset:-2px;border-radius:14px}
.article-toc-mobile .article-toc{border:0;border-top:1px solid var(--line);border-radius:0;background:none}
.article-toc-mobile .article-toc-title{display:none}

/* Rail cards -------------------------------------------------------------- */
.rail-card{
  padding:18px 18px 20px;
  border:1px solid var(--line);
  border-radius:16px;
  background:color-mix(in srgb,var(--surface) 90%,transparent);
}
.rail-card-title{
  margin:0 0 12px;
  color:var(--silver);
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.rail-card-text{margin:0 0 14px;color:color-mix(in srgb,var(--paper) 86%,var(--silver));font-size:.86rem;line-height:1.55}
.rail-card--cta{
  border-color:color-mix(in srgb,var(--violet) 40%,var(--line-strong));
  background:linear-gradient(155deg,color-mix(in srgb,var(--violet) 15%,var(--surface)),var(--surface-2));
}
.rail-card--cta .button{width:100%;justify-content:center}
.rail-card-secondary{
  display:block;
  margin-top:10px;
  color:var(--cyan);
  font-size:.78rem;
  font-weight:700;
  text-decoration:none;
}
.rail-card-secondary:hover{text-decoration:underline;text-underline-offset:3px}

.rail-facts{display:grid;gap:11px;margin:0}
.rail-facts>div{display:grid;gap:3px}
.rail-facts dt{color:var(--silver);font-size:.64rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.rail-facts dd{margin:0;color:var(--paper);font-size:.85rem;font-weight:640}
.rail-facts dd a{color:var(--cyan);text-decoration:none}
.rail-facts dd a:hover{text-decoration:underline;text-underline-offset:3px}

.rail-signature-avatar{
  display:block;
  width:56px;
  height:56px;
  margin-bottom:12px;
  border:1px solid color-mix(in srgb,var(--violet) 42%,transparent);
  border-radius:50%;
  object-fit:cover;
}
.rail-signature-name{margin:0;color:var(--paper);font-family:var(--font-display);font-size:1.05rem;font-weight:700}
.rail-signature-name a{color:inherit;text-decoration:none}
.rail-signature-name a:hover{color:var(--cyan)}
.rail-signature-role{margin:4px 0 14px;color:var(--silver);font-size:.78rem;line-height:1.5}
.rail-signature-bio{margin:0 0 14px;color:var(--silver);font-size:.78rem;line-height:1.6}
.rail-signature-social{display:flex;flex-wrap:wrap;gap:14px;margin:14px 0 0;padding-top:12px;border-top:1px solid var(--line)}
.rail-signature-social a{color:var(--cyan);font-size:.78rem;font-weight:700;text-decoration:none}
.rail-signature-social a:hover{text-decoration:underline;text-underline-offset:3px}

/* Mesh links -------------------------------------------------------------- */
/* One list shape for capabilities, next steps, the signature card and the
   toolbox, so a link never changes meaning by changing appearance. */
.mesh-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.mesh-list--dense{gap:2px}
.mesh-link{
  display:grid;
  gap:4px;
  padding:11px 13px;
  border:1px solid var(--line);
  border-radius:11px;
  background:color-mix(in srgb,var(--ink) 16%,transparent);
  text-decoration:none;
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.mesh-list--dense .mesh-link{padding:8px 11px;border-color:transparent;background:none}
.mesh-link:hover{
  border-color:color-mix(in srgb,var(--cyan) 46%,transparent);
  background:color-mix(in srgb,var(--cyan) 9%,transparent);
}
.mesh-link:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.mesh-link-label{color:var(--paper);font-size:.86rem;font-weight:700;line-height:1.35}
.mesh-link-note{color:var(--silver);font-size:.78rem;line-height:1.5}
/* One accent per kind, matching the taxonomy tones already used by the cards. */
.mesh-item--offer .mesh-link{border-left:2px solid color-mix(in srgb,var(--violet) 62%,transparent)}
.mesh-item--programme .mesh-link{border-left:2px solid color-mix(in srgb,var(--cyan) 62%,transparent)}
.mesh-item--evidence .mesh-link{border-left:2px solid color-mix(in srgb,var(--lavender) 62%,transparent)}
.mesh-item--tool .mesh-link,.mesh-item--author .mesh-link{border-left:2px solid color-mix(in srgb,var(--silver) 34%,transparent)}
.mesh-list--dense .mesh-item .mesh-link{border-left-width:2px}

/* See also, and the chain to the neighbouring articles --------------------- */
.article-block{margin-top:44px;padding-top:26px;border-top:1px solid var(--line)}
.article-block>h2{
  margin:0 0 16px;
  font-family:var(--font-display);
  font-size:1.28rem;
  font-weight:700;
}
.article-see-also .mesh-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}

/* A series is an ordered argument, so the numbering carries meaning and the
   current instalment is marked rather than linked. */
.article-series-list{margin:14px 0 0;padding-left:1.35em;display:grid;gap:8px}
.article-series-list li{color:var(--silver);font-size:.88rem;line-height:1.55}
.article-series-list a{color:var(--cyan);text-decoration:none}
.article-series-list a:hover{text-decoration:underline;text-underline-offset:3px}
.article-series-list li[aria-current] span{color:var(--paper);font-weight:700}

.article-sequence{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-top:26px}
.article-sequence-step{
  display:grid;
  gap:6px;
  padding:15px 18px;
  border:1px solid var(--line-strong);
  border-radius:14px;
  background:var(--surface-2);
  text-decoration:none;
  transition:border-color .16s ease,transform .16s ease;
}
.article-sequence-step:hover{border-color:color-mix(in srgb,var(--violet) 50%,transparent);transform:translateY(-2px)}
.article-sequence-step:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.article-sequence-step--next{text-align:right}
.article-sequence-label{color:var(--cyan);font-size:.66rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.article-sequence-title{color:var(--paper);font-size:.94rem;font-weight:700;line-height:1.4}
@media (prefers-reduced-motion:reduce){.article-sequence-step:hover{transform:none}}

/* Author-supplied HTML: every element it can emit needs a rule here, because
   nothing else in the cascade claims these bare tags inside .article-content. */
.article-content{max-width:74ch;color:var(--paper);font-size:1.02rem;line-height:1.75}
.article-content>*+*{margin-top:1.15em}
.article-content h2{
  margin-top:1.9em;
  /* Anchors from the outline must not land under the sticky header. */
  scroll-margin-top:96px;
  font-family:var(--font-display);
  font-size:1.72rem;
  font-weight:700;
  line-height:1.24;
}
.article-content h3{margin-top:1.6em;font-size:1.22rem;font-weight:760;line-height:1.3}
.article-content p{color:color-mix(in srgb,var(--paper) 88%,var(--silver))}
.article-content a{color:var(--cyan);text-underline-offset:3px}
.article-content ul,.article-content ol{padding-left:1.35em;display:grid;gap:.5em}
.article-content li{color:color-mix(in srgb,var(--paper) 88%,var(--silver))}
.article-content blockquote{
  margin-left:0;
  margin-right:0;
  padding:16px 22px;
  border-left:3px solid var(--cyan);
  border-radius:0 14px 14px 0;
  background:color-mix(in srgb,var(--surface) 82%,transparent);
  color:var(--silver);
  font-style:italic;
}
.article-content code{
  padding:2px 6px;
  border-radius:6px;
  background:color-mix(in srgb,var(--ink) 42%,transparent);
  font-size:.88em;
}
.article-content pre{
  overflow-x:auto;
  padding:18px 20px;
  border:1px solid var(--line);
  border-radius:14px;
  background:color-mix(in srgb,var(--ink) 46%,transparent);
  font-size:.86rem;
  line-height:1.6;
}
.article-content pre code{padding:0;background:none}
.article-content img{max-width:100%;height:auto;border-radius:14px}
.article-content table{width:100%;border-collapse:collapse;font-size:.92rem;display:block;overflow-x:auto}
.article-content th,.article-content td{padding:10px 14px;border:1px solid var(--line);text-align:left}
.article-content th{color:var(--paper);font-weight:760}

.article-footer{
  display:grid;
  gap:12px;
  margin-top:44px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.article-footer-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.article-footer-label{
  color:var(--silver);
  font-size:.68rem;
  font-weight:760;
  letter-spacing:.11em;
  text-transform:uppercase;
}

/* Sourced figure citation — a study result the article leans on, always with
   its own attribution and DOI rather than a bare inline claim. */
.figure-cite{
  margin:0;
  padding:22px 24px;
  border:1px solid var(--line-strong);
  border-radius:16px;
  background:color-mix(in srgb,var(--surface) 88%,var(--cyan) 3%);
}
.figure-cite-index{
  display:inline-flex;
  align-items:center;
  padding:3px 10px;
  border-radius:999px;
  background:color-mix(in srgb,var(--cyan) 16%,transparent);
  color:var(--cyan);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.figure-cite-media{margin:14px 0 0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}
.figure-cite-media img{display:block;width:100%;height:auto}
.figure-cite-credit{
  display:block;
  padding:8px 12px;
  border-top:1px solid var(--line);
  background:var(--surface-2);
  color:var(--silver);
  font-size:.72rem;
  line-height:1.5;
}
.figure-cite-credit a{color:var(--cyan)}
.figure-cite-caption{margin:12px 0 0;color:var(--paper);font-size:.98rem;font-style:italic;line-height:1.6}
.figure-cite-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px 20px;margin:16px 0 0;padding-top:14px;border-top:1px solid var(--line)}
.figure-cite-meta dt{color:var(--silver);font-size:.66rem;font-weight:760;letter-spacing:.1em;text-transform:uppercase}
.figure-cite-meta dd{margin:2px 0 0;color:var(--paper);font-size:.86rem;line-height:1.45}
.figure-cite-note{margin:14px 0 0;padding-top:14px;border-top:1px solid var(--line);color:color-mix(in srgb,var(--paper) 88%,var(--silver));font-size:.92rem;line-height:1.6}
.figure-cite-note strong{color:var(--paper)}
/* The single loop figure reuses figure-cite's boxed treatment without an
   image: a flow-steps list stands in for the media block. */
.figure-cite .flow-steps{margin:14px 0 0}

/* Do / avoid callouts, for the anti-pattern vs. correct-pattern pairs the
   article uses to state what a control tower must never compute. */
.callout-pair{display:grid;gap:12px}
@media (min-width:640px){.callout-pair{grid-template-columns:1fr 1fr}}
.callout{margin:0;padding:16px 20px;border-radius:14px;border:1px solid var(--line-strong)}
.callout-label{display:block;margin-bottom:6px;font-size:.68rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.callout-avoid{background:color-mix(in srgb,var(--surface) 90%,transparent)}
.callout-avoid .callout-label{color:color-mix(in srgb,var(--paper) 55%,var(--silver))}
.callout-do{border-color:color-mix(in srgb,var(--cyan) 46%,var(--line-strong));background:color-mix(in srgb,var(--cyan) 9%,var(--surface))}
.callout-do .callout-label{color:var(--cyan)}
.callout code{white-space:pre-wrap;word-break:break-word}

/* Sourced signals from the field (X / Twitter) — self-hosted citation cards
   quoting the real post text (fetched read-only via X's own oEmbed API, never
   a fabricated screenshot or a loaded third-party widget script), with a link
   back to the original for verification. */
.social-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:18px 0 0}
.social-cite{
  display:grid;
  gap:10px;
  align-content:start;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface-2);
  text-decoration:none;
}
.social-cite-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px}
.social-cite-name{color:var(--paper);font-weight:760;font-size:.92rem}
.social-cite-handle{color:var(--silver);font-size:.8rem}
.social-cite-quote{
  margin:0;
  padding:0 0 0 12px;
  border-left:2px solid color-mix(in srgb,var(--cyan) 46%,transparent);
  color:var(--paper);
  font-size:.9rem;
  font-style:italic;
  line-height:1.55;
}
.social-cite-note{margin:0;color:color-mix(in srgb,var(--paper) 82%,var(--silver));font-size:.82rem;line-height:1.55}
.social-cite-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--silver);font-size:.76rem}
.social-cite-link{color:var(--cyan);font-weight:700}
.social-cite:hover,.social-cite:focus-visible{border-color:color-mix(in srgb,var(--cyan) 46%,var(--line-strong))}

/* Verification pipeline, rendered as a numbered chip flow instead of a
   diagram library the page never loads. */
.flow-steps{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0;list-style:none}
.flow-steps li{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border:1px solid var(--line-strong);
  border-radius:999px;
  background:var(--surface-2);
  color:var(--paper);
  font-size:.84rem;
  font-weight:640;
}
.flow-steps li::before{
  content:counter(flow-step);
  counter-increment:flow-step;
  display:grid;
  place-items:center;
  width:18px;
  height:18px;
  border-radius:50%;
  background:var(--cyan);
  color:var(--ink);
  font-size:.66rem;
  font-weight:800;
}
.flow-steps{counter-reset:flow-step}
.flow-steps li:after{content:"→";margin-left:2px;color:var(--silver)}
.flow-steps li:last-child:after{content:""}

/* Three synchronised clocks, closing the article. */
.clock-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:18px 0 0}
.clock-card{padding:18px 20px;border:1px solid var(--line-strong);border-radius:14px;background:var(--surface-2)}
.clock-card dt{color:var(--cyan);font-size:.72rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.clock-card dd{margin:6px 0 0;color:var(--paper);font-size:.92rem;line-height:1.5}

.related-articles h2{margin:0 0 24px;font-family:var(--font-display);font-size:1.6rem;font-weight:700}

/* Topic navbox — the whole taxonomy, closing every article -----------------
   Tightened at the top because it reads as the second half of "read next"
   rather than as a new section: the full 72px would break them apart. */
.article-navbox{padding-top:24px}
.article-navbox h2{margin:0 0 24px;font-family:var(--font-display);font-size:1.6rem;font-weight:700}
.navbox-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.navbox-group{
  padding:20px 22px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--surface-2);
}
/* The category the reader is already in is marked, not hidden: removing it
   would make the same block render differently on every article. */
.navbox-group.is-current{border-color:color-mix(in srgb,var(--cyan) 44%,transparent);background:color-mix(in srgb,var(--cyan) 7%,var(--surface-2))}
.navbox-group-title{
  display:inline-block;
  color:var(--paper);
  font-family:var(--font-display);
  font-size:1.06rem;
  font-weight:700;
  line-height:1.3;
  text-decoration:none;
}
.navbox-group-title:hover{color:var(--cyan)}
.navbox-group-blurb{margin:8px 0 14px;color:var(--silver);font-size:.82rem;line-height:1.55}
.navbox-links{display:grid;gap:7px;margin:0;padding:0 0 0 14px;list-style:none;border-left:1px solid var(--line)}
.navbox-links a{color:color-mix(in srgb,var(--paper) 84%,var(--silver));font-size:.84rem;line-height:1.45;text-decoration:none}
.navbox-links a:hover{color:var(--cyan)}
.navbox-empty{margin:0;color:var(--silver);font-size:.82rem;font-style:italic}

/* Closing call to action -------------------------------------------------- */
.blog-cta-panel{
  display:grid;
  gap:14px;
  justify-items:start;
  padding:34px 38px;
  border:1px solid var(--line-strong);
  border-radius:var(--radius);
  background:linear-gradient(150deg,color-mix(in srgb,var(--violet) 16%,var(--surface)),var(--surface-2));
  box-shadow:var(--shadow);
}
.blog-cta-panel h2{margin:0;font-family:var(--font-display);font-size:1.62rem;font-weight:700;line-height:1.22}
.blog-cta-panel p{margin:0;max-width:68ch;color:var(--silver);line-height:1.65}
.blog-cta-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}

/* Responsive -------------------------------------------------------------- */
/* Below the three-column width the sticky outline is dropped and the collapsed
   one at the top of the text takes over. Same content, one rendering at a
   time — never both. */
@media (max-width:1179px){
  .article-grid{grid-template-columns:minmax(0,1fr) 280px}
  .article-rail--left{display:none}
  .article-toc-mobile{display:block}
}
@media (max-width:1024px){
  .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:920px){
  /* The right rail stops being a rail and becomes a band of cards under the
     text: still after the article, still in the same order of importance. */
  .article-grid{grid-template-columns:minmax(0,1fr);gap:34px}
  .article-rail--right{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}
  .article-content{max-width:none}
}
@media (max-width:768px){
  .article-sequence-step--next{text-align:left}
  .rail-card{padding:16px 16px 18px}
  .navbox-group{padding:18px 18px}
  .blog-grid{grid-template-columns:minmax(0,1fr)}
  .blog-catalogue{padding-top:30px}
  .article-meta{gap:12px 24px}
  .blog-cta-panel{padding:26px 22px}
  .article-content{font-size:.98rem}
  .article-content h2{font-size:1.46rem}
  .figure-cite{padding:18px 18px}
  .flow-steps li{font-size:.78rem;padding:7px 12px}
}
@media (max-width:480px){
  .blog-card-body{padding:18px 18px 14px}
  .blog-card-footer{padding:12px 18px 16px;font-size:.72rem}
  .blog-card-title{font-size:1.18rem}
  .blog-pagination{gap:12px}
  .blog-cta-actions{width:100%}
  .blog-cta-actions .button{flex:1 1 100%;justify-content:center}
}
