/* Home/article reading preview: one scale, natural spacing, stronger small text. */
:is(.page-home, .page-article) {
  --text-detail: 0.8125rem;
  --text-small: 0.875rem;
  --text-summary: 1rem;
  --muted: #53616a;
  font-size: 1rem;
  letter-spacing: normal;
}
[data-theme="dark"] :is(.page-home, .page-article) { --muted: #b3bdc5; }
[data-reading="true"][data-reading-style="paper"] .page-article { --muted: #6c6357; }
[data-reading="true"][data-reading-style="paper"][data-theme="dark"] .page-article { --muted: #b7b09e; }
:is(.page-home, .page-article) .wordmark { letter-spacing: 0; font-weight: 600; }
:is(.page-home, .page-article) .desktop-nav { font-size: var(--text-small); gap: 26px; }
:is(.page-home, .page-article) .text-link { font-size: var(--text-small); }
:is(.page-home, .page-article) .section-heading h2 { font-weight: 600; letter-spacing: 0; }
:is(.page-home, .page-article) .quiet-label { font-size: var(--text-detail); }
:is(.page-home, .page-article) .pagination { font-size: var(--text-small); }
:is(.page-home, .page-article) .site-footer p,
:is(.page-home, .page-article) .footer-links { font-size: var(--text-small); }
:is(.page-home, .page-article) .site-footer > div { font-size: var(--text-detail); }
.page-home .hero h1 { font-weight: 600; letter-spacing: 0; padding-left: 0; }
.page-home .hero-subtitle { letter-spacing: .04em; opacity: 1; line-height: 1.8; }
.page-home .hero-cta { font-size: var(--text-small); letter-spacing: 0; }
.page-home .section { padding-top: 80px; }
.page-home .article-row { padding: 32px 0; column-gap: 28px; }
.page-home .row-date { padding-top: 4px; }
.page-home .row-date > span { font-size: 1rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.page-home .row-date small,
.page-home .row-copy .card-meta,
.page-home .read-time { font-size: var(--text-detail); line-height: 1.7; }
.page-home .row-copy h3 { font-size: 1.375rem; line-height: 1.55; font-weight: 600; margin: 8px 0 12px; }
.page-home .row-excerpt { font-size: var(--text-summary); line-height: 1.8; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
:is(.page-home, .page-article) .feature-copy .card-meta { font-size: var(--text-detail); color: #fffffff0; line-height: 1.7; letter-spacing: 0; }
:is(.page-home, .page-article) .feature-copy h3 { font-weight: 600; line-height: 1.5; }
.page-home .feature-excerpt { font-size: var(--text-small); line-height: 1.8; color: #fffffff0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.page-home .category-link h3 { font-weight: 500; line-height: 1.6; }
.page-home .category-link > span:last-child { font-size: var(--text-detail); line-height: 1.7; }
.page-home .about-section h2 { font-weight: 600; line-height: 1.55; }
.page-home .about-section p { font-size: var(--text-summary); line-height: 1.85; }
.page-article .article-heading > .eyebrow { font-size: var(--text-small); letter-spacing: 0; }
.page-article .article-heading h1 { font-weight: 600; letter-spacing: 0; line-height: 1.45; }
.page-article .article-summary { font-size: var(--text-summary); line-height: 1.8; }
.page-article .article-meta { font-size: var(--text-small); line-height: 1.8; gap: 10px; }
.page-article .reading-entry { font-size: var(--text-small); }
.page-article .article-layout { grid-template-columns: minmax(0,720px) 220px; gap: 56px; }
.page-article .article-layout.without-toc { max-width: 720px; }
.page-article .prose { font-size: 1.125rem; line-height: 1.85; letter-spacing: normal; }
.page-article .prose p { margin-bottom: 1.5em; }
.page-article .prose h1 { font-size: 1.8em; }
.page-article .prose h2 { font-size: 1.5em; margin: 2em 0 .85em; }
.page-article .prose h3 { font-size: 1.25em; margin: 1.8em 0 .75em; }
.page-article .prose :is(h1,h2,h3,h4,h5,h6) { font-weight: 600; line-height: 1.55; letter-spacing: 0; }
.page-article .prose li { margin: .6em 0; }
.page-article .prose figcaption { font-size: var(--text-detail); line-height: 1.8; }
.page-article .toc { font-size: var(--text-detail); line-height: 1.65; padding-left: 20px; }
.page-article .toc-heading { font-size: var(--text-small); font-weight: 500; letter-spacing: 0; }
.page-article .toc a { gap: 10px; padding: 9px 8px; }
.page-article .toc-progress { font-size: var(--text-detail); }
.page-article .post-tags a { font-size: var(--text-small); }
/* Preserve the reader's existing size controls and selected content width. */
[data-reading="true"] .page-article .article-layout { display: block; }
[data-reading="true"] .page-article .prose { font-size: var(--reader-font); }
@media(max-width:1100px) {
  :is(.page-home,.page-article) .desktop-nav { gap: 20px; }
  .page-article .article-layout { grid-template-columns: minmax(0,1fr) 190px; gap: 32px; }
}
@media(max-width:800px) {
  .page-article .article-layout { grid-template-columns: minmax(0,1fr); max-width: 720px; }
  .page-home .section { padding-top: 60px; }
}
@media(max-width:560px) {
  .page-home .hero-subtitle { letter-spacing: .02em; }
  .page-home .hero-cta { font-size: var(--text-detail); }
  .page-home .section { padding-top: 52px; }
  .page-home .section-heading h2 { font-size: 1.5rem; line-height: 1.5; }
  .page-home .section-heading .text-link { font-size: var(--text-detail); }
  .page-home .article-row { grid-template-columns: minmax(0,1fr) 80px; gap: 16px; padding: 26px 0; }
  .page-home .row-copy h3 { font-size: 1.125rem; line-height: 1.6; margin: 6px 0 10px; }
  .page-home .row-copy .card-meta,
  .page-home .read-time { font-size: var(--text-detail); }
  .page-home .row-excerpt { display: -webkit-box; font-size: .9375rem; line-height: 1.8; }
  .page-home .row-image { height: 80px; align-self: start; margin-top: 5px; }
  .page-home .row-mobile-date { display: none; }
  :is(.page-home,.page-article) .feature-copy .card-meta { font-size: .75rem; }
  :is(.page-home,.page-article) .feature-copy h3 { font-size: 1.0625rem; }
  .page-home .feature-0 h3 { font-size: 1.625rem; }
  .page-home .feature-excerpt { display: none; }
  .page-home .about-section p { font-size: .9375rem; }
  .page-article .article-heading h1 { font-size: 1.875rem; line-height: 1.55; }
  .page-article .article-summary { font-size: .9375rem; }
  .page-article .article-meta { font-size: var(--text-detail); gap: 8px; }
  .page-article .prose { font-size: 1.0625rem; line-height: 1.85; }
  .page-article .prose h2 { font-size: 1.4em; }
  .page-article .prose h3 { font-size: 1.2em; }
  :is(.page-home,.page-article) .site-footer > div { flex-wrap: wrap; justify-content: center; font-size: .75rem; }
  :is(.page-home,.page-article) .footer-links { font-size: var(--text-detail); }
}
