/* ============================================================
   nouz.co — article (blog detail)
   ============================================================ */

/* Reading progress */
.art-progress {
  position: fixed;
  top: 71px;
  left: 0; right: 0;
  height: 2px;
  z-index: 50;
  background: transparent;
  pointer-events: none;
}
.art-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--color-accent-positive);
  transition: width 80ms linear;
}

/* Article header */
.article {
  position: relative;
}
.art-head {
  padding: 56px 0 32px;
  position: relative;
}
.art-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 24px;
  transition: color 180ms ease;
}
.art-back:hover { color: var(--ink); }
.art-back svg { width: 12px; height: 12px; }

.art-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  text-transform: uppercase;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.art-cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.art-dot { color: var(--fg-placeholder); }

.art-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.026em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
  max-width: 900px;
}
.art-title em { font-style: italic; font-weight: 500; }

.art-lede {
  margin: 24px 0 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-default);
  max-width: 720px;
  text-wrap: pretty;
}
.art-lede em { font-style: italic; color: var(--ink); font-weight: 500; }
.art-lede strong { color: var(--ink); font-weight: 600; }

.art-byrow {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-default);
}
.art-by {
  display: flex; align-items: center; gap: 12px;
}
.art-av {
  width: 44px; height: 44px;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-default);
  background: var(--bg-app);
}
.art-av svg { width: 44px; height: 44px; display: block; }
.art-by-t {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.art-by-t .who {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.art-by-t .role {
  font-size: 12.5px;
  color: var(--fg-muted);
}
.art-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.art-share-l {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-right: 4px;
}
.art-share-btn {
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: all 180ms var(--ease-out-quint);
}
.art-share-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.art-share-btn svg { width: 14px; height: 14px; }

/* Cover */
.art-cover {
  margin-bottom: 56px;
}
.ac-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-default);
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 30px 60px -30px rgba(23,23,26,0.14);
}
.ac-art {
  width: 100%;
  display: block;
  background: linear-gradient(160deg, #F4E9D4 0%, #D9B28A 100%);
}
.ac-art svg {
  width: 100%; height: auto;
  display: block;
}
.ac-cap {
  position: absolute;
  bottom: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(23,23,26,0.7);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(23,23,26,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Body grid (with sticky TOC) */
.art-body {
  padding-bottom: 96px;
}
.art-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
@media (max-width: 980px) {
  .art-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Sticky sidebar (TOC + CTA stacked as separate cards) */
.art-side {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 980px) { .art-side { position: static; } }

.art-toc {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 1px 2px rgba(23,23,26,0.04);
}

.toc-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.toc-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--fg-default);
  line-height: 1.35;
  transition: all 180ms ease;
}
.toc-link:hover { background: var(--bg-app); color: var(--ink); }
.toc-link.is-on {
  background: var(--ink);
  color: #fff;
}
.toc-link.is-on .toc-n { color: rgba(255,255,255,0.55); }
.toc-n {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  width: 18px;
}

/* Article main column */
.art-main {
  max-width: 720px;
}
.art-p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-default);
  text-wrap: pretty;
  letter-spacing: -0.003em;
}
.art-p em {
  font-style: italic;
  color: var(--ink);
  font-weight: 500;
}
.art-p strong {
  font-weight: 600;
  color: var(--ink);
}
.art-p-lede {
  font-size: 19px;
  color: var(--ink);
  line-height: 1.55;
  border-left: 3px solid var(--color-accent-positive);
  padding-left: 22px;
  margin-bottom: 32px;
}
.art-p-wrap {
  font-style: italic;
  color: var(--ink);
  font-size: 17px;
}

/* Section headings */
.art-h2 {
  margin: 56px 0 22px;
  font-family: var(--font-sans);
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.018em;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
  scroll-margin-top: 100px;
}
.art-h2-n {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  padding: 2px 9px;
  border-radius: 6px;
  background: var(--bg-muted);
  flex-shrink: 0;
}

/* Step lists */
.art-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.art-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--fg-default);
  padding-left: 0;
  text-wrap: pretty;
}
.art-steps li strong {
  font-weight: 600;
  color: var(--ink);
}
.art-steps li em {
  font-style: italic;
  color: var(--ink);
  font-weight: 500;
}
.as-n {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-top: 3px;
  border-radius: 999px;
  background: var(--bg-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
}

/* Callouts */
.art-callout {
  margin: 32px 0;
  padding: 22px 24px;
  background: var(--bg-muted);
  border: 1px solid var(--border-default);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.art-callout-tip {
  background: rgba(0,128,96,0.06);
  border-color: rgba(0,128,96,0.18);
}
.ac-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-positive);
  font-weight: 600;
}
.ac-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ac-list li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-default);
  position: relative;
  padding-left: 18px;
}
.ac-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 2px;
  border-radius: 1px;
  background: var(--color-accent-positive);
}
.ac-list li strong {
  font-weight: 600;
  color: var(--ink);
}
.art-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-default);
}

/* Pull quote */
.art-quote {
  position: relative;
  margin: 40px 0;
  padding: 24px 28px 24px 56px;
  background: #fff;
  border: 1px solid var(--border-default);
  border-left: 4px solid var(--ink);
  border-radius: 0 14px 14px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 20px -16px rgba(23,23,26,0.1);
}
.aq-mark {
  position: absolute;
  top: 6px; left: 22px;
  font-family: var(--font-sans);
  font-size: 56px;
  font-style: italic;
  color: rgba(23,23,26,0.18);
  font-weight: 600;
  line-height: 1;
}
.art-quote p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.art-quote footer {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* Inline product mock */
.art-product-mock {
  margin: 32px 0;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ink);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,0.4);
}
.apm-chrome {
  display: flex; align-items: center; gap: 12px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.25);
}
.apm-dots { display: flex; gap: 5px; }
.apm-dots i { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.18); }
.apm-url {
  flex: 1; text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}
.apm-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.apm-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.apm-row-new {
  background: rgba(76,205,163,0.1);
}
.apm-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 500;
}
.apm-pill {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 99px;
  background: rgba(76,205,163,0.2);
  color: #4CCDA3;
  font-weight: 600;
}
.apm-ven {
  color: rgba(255,255,255,0.55);
}
.apm-amt {
  color: #fff;
  font-weight: 600;
  text-align: right;
}
.apm-cap {
  display: block;
  padding: 0 18px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* Author bio */
.art-author {
  margin-top: 56px;
  padding: 28px;
  background: var(--bg-muted);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
}
.aa-av {
  width: 64px; height: 64px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border-default);
  background: #fff;
}
.aa-av svg { width: 64px; height: 64px; display: block; }
.aa-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aa-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.aa-role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
}
.aa-bio {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-default);
}
.aa-bio a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--border-default);
  text-underline-offset: 3px;
}
.aa-bio a:hover { text-decoration-color: var(--ink); }

/* Related section */
.art-related {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-default);
}
.ar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.ar-h {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.ar-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--border-default);
  text-underline-offset: 4px;
}
.ar-all:hover { text-decoration-color: var(--ink); }
.ar-all .arr {
  width: 14px; height: 14px;
  transition: transform 220ms var(--ease-out-quint);
}
.ar-all:hover .arr { transform: translateX(3px); }

/* =================================================================
   Blog generator additions (scripts/blog/templates.mjs)
   Adds CSS for the new class names the generator emits that weren't
   in the original article.html hand-coded version. Patterns mirror
   customer-stories.css and the existing article.css for consistency.
   ================================================================= */

/* ─── Post body — block helpers (h2 / h3 / lists / steps / callout / quote / stat / table / code) */
.art-main .art-p { margin: 0 0 22px; }
.art-h2 {
  margin: 48px 0 16px;
  font-size: 28px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.art-h3 {
  margin: 32px 0 12px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.art-list {
  margin: 0 0 24px;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-default);
}
.art-list li { margin: 0 0 8px; }
.art-list li strong { color: var(--ink); font-weight: 600; }
.art-list li em { color: var(--ink); font-style: italic; }
.art-list-ol { padding-left: 24px; }

.art-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.art-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  background: var(--bg-app);
  border-radius: 12px;
}
.art-steps li .n {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  padding-top: 1px;
}
.art-steps li strong {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.art-steps li p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--fg-default); }

.art-callout {
  margin: 28px 0;
  padding: 18px 22px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  background: rgba(0,128,96,0.04);
  border: 1px solid rgba(0,128,96,0.18);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.art-callout-warn { background: rgba(199,135,31,0.06); border-color: rgba(199,135,31,0.25); }
.art-callout strong { color: var(--ink); font-weight: 600; font-size: 14.5px; }
.art-callout span { color: var(--fg-default); }
.art-callout em { color: var(--ink); font-style: italic; }

.art-quote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--ink);
  background: var(--bg-app);
  border-radius: 0 12px 12px 0;
}
.art-quote p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.art-quote p em { font-style: normal; font-weight: 500; }
.art-quote footer {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.art-stat {
  margin: 28px 0;
  padding: 22px 26px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.art-stat .v {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #4CCDA3;
  font-variant-numeric: tabular-nums;
}
.art-stat .l { font-size: 13.5px; color: rgba(255,255,255,0.7); }

.art-table-wrap {
  margin: 28px 0;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  overflow: hidden;
  overflow-x: auto;
}
.art-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.art-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--bg-app);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border-default);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.art-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-default);
  color: var(--fg-default);
}
.art-table tbody tr:last-child td { border-bottom: 0; }
.art-table td strong { color: var(--ink); font-weight: 600; }

.art-code {
  margin: 24px 0;
  padding: 18px 20px;
  background: var(--ink);
  color: #F4F3EE;
  border-radius: 10px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  white-space: pre;
}

/* Inline anchor links in body text */
.art-main a:not(.toc-link):not(.aac-more):not(.art-related-c) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(23,23,26,0.25);
  text-underline-offset: 3px;
  transition: text-decoration-color 160ms;
}
.art-main a:not(.toc-link):not(.aac-more):not(.art-related-c):hover {
  text-decoration-color: var(--ink);
}

/* ─── Cover height — keep it blog-shaped, not poster-shaped */
.ac-art svg { max-height: 360px; object-fit: cover; }

/* ─── TOC "Get started" CTA — mirrors the customer-stories .csa-side-cta
   one-row grid: eyebrow + main text on the left, arrow on the right. */
.toc-cta {
  display: grid;
  grid-template-columns: 1fr 18px;
  gap: 8px;
  align-items: center;
  padding: 18px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 200ms, box-shadow 200ms;
  box-shadow: 0 12px 30px -16px rgba(23,23,26,0.4);
}
.toc-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -16px rgba(23,23,26,0.5); }
.toc-cta-eb {
  grid-column: 1;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.toc-cta-t {
  grid-column: 1;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: #fff;
  margin-top: 4px;
}
.toc-cta-t em { font-style: italic; font-weight: 500; color: #4CCDA3; }
.toc-cta-arr {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: #fff;
  display: grid;
  place-items: center;
}
.toc-cta-arr svg { width: 16px; height: 16px; }

/* ─── FAQ ─── */
.art-faq {
  margin: 24px 0 32px;
  border: 1px solid var(--border-default);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.art-faq-item {
  border-bottom: 1px solid var(--border-default);
}
.art-faq-item:last-child { border-bottom: 0; }
.art-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 150ms;
}
.art-faq-item summary::-webkit-details-marker { display: none; }
.art-faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--fg-muted);
  flex-shrink: 0;
  transition: transform 200ms;
}
.art-faq-item[open] summary::after { content: '−'; }
.art-faq-item summary:hover { background: var(--bg-app); }
.art-faq-a {
  padding: 0 24px 22px;
}
.art-faq-a p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-default);
}

/* ─── Author footer card ─── */
.art-author-card {
  margin: 48px 0 0;
  padding: 28px 32px;
  background: #f4f3ee;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  align-items: start;
}
.aac-av { display: block; line-height: 0; }
.aac-av svg, .aac-av img {
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 50%;
}
.aac-t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.aac-who {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.014em;
  color: var(--ink);
  line-height: 1.2;
}
.aac-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  line-height: 1.4;
}
.aac-bio {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-default);
  max-width: 64ch;
}
.aac-bio a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(23,23,26,0.3); text-underline-offset: 3px; }

/* ─── Related posts grid ─── */
.art-related {
  margin: 56px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--border-default);
}
.art-related-h {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}
.art-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 720px) { .art-related-grid { grid-template-columns: 1fr; } }
.art-related-c {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: all 200ms ease;
}
.art-related-c:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -20px rgba(23,23,26,0.16);
}
.arc-cat {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--bg-app);
  color: var(--ink);
}
.art-related-c h4 {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
  color: var(--ink);
}
.art-related-c p {
  margin: 0;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.arc-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
}
.arc-av { display: inline-block; }
.arc-av svg { width: 18px; height: 18px; display: block; }

/* ─── Hub pagination ─── */
.rg-pager {
  margin: 48px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rg-prev, .rg-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--border-default);
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: all 180ms ease;
  background: #fff;
}
.rg-prev:hover, .rg-next:hover { border-color: var(--ink); background: var(--bg-app); }
.rg-prev.is-off, .rg-next.is-off {
  color: var(--fg-placeholder);
  cursor: default;
  background: transparent;
}
.rg-nums { display: inline-flex; gap: 4px; }
.rg-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: all 150ms ease;
}
.rg-page:hover { color: var(--ink); background: var(--bg-app); }
.rg-page.is-on { color: #fff; background: var(--ink); font-weight: 600; }

/* ─── Category landing — full author card under the hero ───
   Renders the same .art-author-card design used in post footers,
   pulled out into its own section so the category page reads:
   hero → author card → grid of posts. */
.res-cat-author-section {
  padding: 8px 0 32px;
}
.res-cat-author-section .art-author-card { margin: 0; }

/* ─── Reduce body content max-width — blog readability target */
.art-main { max-width: 720px; }
