/* Public reading system, November 2026. Functional primitives live in site.css. */
:root {
  --paper: #fff;
  --surface: #fff;
  --ink: #171a24;
  --muted: #535b6b;
  --line: #d9dde7;
  --brand: #244bea;
  --brand-soft: #edf2ff;
  --container: 1440px;
  --article-size: 20px;
  --shadow: 0 12px 36px #17204712;
  --gutter: 40px;
  color-scheme: light;
}

html { scroll-padding-top: 112px; }
body { background: #fff; font-size: 18px; line-height: 1.65; }
h1, h2, h3, h4 { color: inherit; letter-spacing: -.04em; overflow-wrap: break-word; }
h1, h2 { font-weight: 800; }
a, button, input, select, textarea, summary { touch-action: manipulation; }
button, input, select, textarea { font-size: 16px; }
img { max-width: 100%; }
.container { width: calc(100% - var(--gutter) * 2); max-width: var(--container); }
.icon { width: 22px; height: 22px; }
.button { min-height: 48px; padding: 13px 20px; font-size: 16px; border-radius: 9px; gap: 16px; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--brand); }
.button-outline { border-color: #838b9c; background: #fff; color: var(--ink); }
.icon-button, .round-link { width: 48px; height: 48px; min-width: 48px; min-height: 48px; }
.icon-button { border-color: var(--line); background: #fff; }
.icon-button:hover, .round-link:hover { background: var(--brand); color: #fff; }
.text-link { font-size: 16px; min-height: 44px; color: var(--brand); border-color: currentColor; }
.text-button { font-size: 16px; min-height: 44px; }
.eyebrow { font-size: 13px; letter-spacing: .055em; }
.category-label { font-size: 14px; line-height: 1.5; letter-spacing: .015em; font-weight: 750; color: var(--tone-strong, var(--brand)); }
.meta, .reading-time, .source-count { font-size: 14px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
::selection { background: #c8f54a; color: #171a24; }

.theme-violet { --tone: #7040ed; --tone-soft: #f2edff; --tone-strong: #5926bf; --tone-on: #fff; }
.theme-lime { --tone: #c8f54a; --tone-soft: #f2fbdc; --tone-strong: #3e5c05; --tone-on: #171a24; }
.theme-blue { --tone: #244bea; --tone-soft: #edf2ff; --tone-strong: #2344c7; --tone-on: #fff; }
.theme-amber { --tone: #ffd43b; --tone-soft: #fff7d5; --tone-strong: #785400; --tone-on: #171a24; }
.theme-coral { --tone: #ff765d; --tone-soft: #fff0eb; --tone-strong: #a32c1c; --tone-on: #171a24; }

/* A readable masthead, with navigation moving to its own row on tablets. */
.edition-bar { background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; }
.edition-bar .container { min-height: 32px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { width: calc(100% - var(--gutter) * 2); max-width: var(--container); min-height: 88px; gap: 28px; }
.brand { gap: 12px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; background: var(--brand); color: #fff; border-radius: 9px; }
.brand-name { font-size: 34px; letter-spacing: -.06em; }
.brand-dot { color: var(--brand); }
.desktop-nav { gap: 25px; margin-left: auto; }
.desktop-nav>a, .nav-more summary, .desktop-nav .nav-more a { font-size: 16px; font-weight: 650; min-height: 44px; }
.desktop-nav>a { display: inline-flex; align-items: center; }
.desktop-nav>a[aria-current] { color: var(--brand); }
.desktop-nav>a::after { background: var(--brand); }
.nav-more>div { min-width: 230px; background: #fff; }
.header-actions { gap: 12px; }
.header-actions>[data-open-search] { display: grid; }
.kids-link { background: #ffd43b; color: #171a24; font-size: 16px; min-height: 48px; padding: 10px 16px; border: 0; }
.kids-link .tiny-dot { background: #171a24; }
.mobile-nav { background: #fff; padding: 12px var(--gutter) 24px; border-top: 1px solid var(--line); }
.mobile-nav a { font-size: 19px; min-height: 50px; padding: 12px 0; }

/* Homepage: open editorial feature, then color-led subjects and story columns. */
.home-heading { display: block; padding-top: 44px; padding-bottom: 34px; }
.home-heading h1 { font-size: clamp(48px, 5.5vw, 82px); line-height: 1.03; letter-spacing: -.06em; max-width: 19ch; }
.home-heading>p { max-width: 66ch; margin-top: 20px; font-size: 20px; line-height: 1.55; color: var(--muted); }
.home-feature { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(280px, 1fr); gap: 32px; align-items: start; }
.lead-story { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 24px; background: #fff; border: 0; border-top: 8px solid var(--brand); border-radius: 0; overflow: visible; min-height: 0; }
.lead-copy { order: 1; padding: 28px 0 12px; min-width: 0; }
.lead-art { order: 2; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-top: 24px; height: auto; min-height: 0; align-self: center; overflow: hidden; }
.lead-art>a { display: block; height: auto; }
.lead-art img, .lead-art img.cover-diagram { width: 100%; height: auto; min-height: 0; object-fit: contain; }
.lead-art .category-art { width: 100%; height: auto; }
.lead-eyebrow { align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.lead-eyebrow .category-label { padding: 5px 10px; background: var(--tone-soft); color: var(--tone-strong); border-radius: 5px; }
.lead-copy h2 { font-size: clamp(31px, 2.8vw, 43px); line-height: 1.13; letter-spacing: -.045em; font-weight: 800; }
.lead-copy>p { font-size: 18px; line-height: 1.6; margin: 20px 0 26px; color: var(--muted); }
.feature-sidebar { background: #fff; padding: 0 0 0 26px; border: 0; border-left: 1px solid var(--line); border-radius: 0; }
.sidebar-heading { margin-bottom: 4px; padding: 12px 15px; background: #ffd43b; border-radius: 8px; gap: 10px; }
.sidebar-heading .eyebrow { font-size: 18px; font-weight: 800; text-transform: none; letter-spacing: -.02em; }
.compact-story { grid-template-columns: 1fr 24px; gap: 10px; padding: 22px 0; border-color: var(--line); }
.compact-story .story-index { display: none; }
.compact-story .eyebrow { font-size: 13px; color: var(--brand); margin-bottom: 8px; letter-spacing: .02em; }
.compact-story h3 { font-size: 23px; line-height: 1.24; font-weight: 750; }
.compact-story .meta { display: block; font-size: 14px; margin-top: 10px; }
.compact-story-arrow { min-height: 44px; align-self: center; }
.sidebar-all { min-height: 48px; font-size: 16px; padding: 14px 0; }
.sidebar-intro { padding: 24px 0; }
.sidebar-intro p { font-size: 17px; }
.section-heading { align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { font-size: clamp(32px, 3.2vw, 48px); line-height: 1.12; max-width: 26ch; }
.section-heading .eyebrow { margin-bottom: 10px; }
.topic-section { padding-top: 64px; padding-bottom: 52px; }
.topic-section .section-heading { border-top: 3px solid var(--ink); padding-top: 25px; }
.topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.topic-card { min-width: 0; min-height: 190px; padding: 22px; background: var(--tone); color: var(--tone-on); border: 0; border-radius: 10px; display: flex; align-items: flex-start; gap: 18px; }
.topic-card:last-child:nth-child(4n + 3) { grid-column: span 2; }
.topic-card>div { min-width: 0; flex: 1; padding-right: 0; }
.topic-card .topic-icon { color: inherit; background: transparent; width: 34px; height: 34px; margin: 0; flex-shrink: 0; }
.topic-card .topic-icon .icon { width: 32px; height: 32px; }
.topic-card h3 { color: inherit; font-size: 22px; line-height: 1.2; margin-bottom: 10px; padding-right: 0; overflow-wrap: break-word; }
.topic-card p { color: inherit; opacity: 1; font-size: 16px; line-height: 1.55; max-width: none; }
.topic-arrow { position: static; inset: auto; color: inherit; background: transparent; align-self: flex-end; flex-shrink: 0; width: 24px; height: 24px; }
.topic-card:hover { background: var(--tone); color: var(--tone-on); transform: translateY(-3px); box-shadow: var(--shadow); }
.latest-section { padding-top: 30px; padding-bottom: 64px; }
.story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 30px; }
.story-card { min-width: 0; background: #fff; display: flex; flex-direction: column; grid-template-columns: none; gap: 0; }
.story-cover { height: auto; aspect-ratio: 3 / 2; border: 1px solid var(--line); border-top: 5px solid var(--tone); border-radius: 10px; background: #fff; }
.story-cover img, .story-cover .cover-diagram { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.story-cover .category-art { width: 100%; height: 100%; background: var(--tone-soft); }
.cover-arrow { background: #fff; color: var(--ink); width: 42px; height: 42px; box-shadow: 0 2px 10px #171a2410; }
.story-copy { padding-top: 18px; }
.story-copy h3 { font-size: 27px; line-height: 1.2; margin-top: 10px; font-weight: 750; display: block; overflow: visible; -webkit-line-clamp: unset; }
.story-copy>p { font-size: 17px; line-height: 1.65; color: var(--muted); margin-top: 14px; display: block; overflow: visible; -webkit-line-clamp: unset; }
.story-meta, .story-meta .source-count { font-size: 14px; line-height: 1.5; gap: 12px; margin-top: 18px; color: var(--muted); }
.story-meta .source-count { margin-top: 0; }
.story-meta .icon { width: 16px; height: 16px; }
.editorial-band { background: var(--brand); color: #fff; padding-block: 52px; }
.editorial-band-inner { grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.editorial-band h2 { font-size: clamp(36px, 4vw, 58px); line-height: 1.1; color: #fff; }
.editorial-band .eyebrow, .editorial-band-copy p, .editorial-band-copy .text-link { color: #fff; }
.editorial-band-copy p { font-size: 19px; line-height: 1.65; }
.editorial-band-copy .text-link { font-size: 16px; border-color: #fff; margin-top: 20px; }
.kids-preview { background: #fff; border: 2px solid #7040ed; border-radius: 16px; margin-block: 64px; padding: 44px; }
.kids-preview h2 { font-size: clamp(34px, 4vw, 58px); }
.kids-preview h2 span { color: #5926bf; }
.kids-preview p { font-size: 19px; line-height: 1.65; }
.kids-preview-art { background: #ffd43b; border-radius: 16px; }
.kids-preview-note { font-size: 14px; color: var(--muted); }

/* Collections keep their context and controls readable at every width. */
.listing-header { padding-top: 34px; padding-bottom: 30px; }
.back-link, .breadcrumbs { font-size: 15px; line-height: 1.5; min-height: 44px; }
.listing-title { align-items: center; gap: 28px; margin-block: 24px 28px; }
.listing-title h1 { font-size: clamp(42px, 4.8vw, 70px); }
.listing-title p { font-size: 19px; line-height: 1.6; max-width: 65ch; }
.listing-icon { background: var(--tone); color: var(--tone-on); border-radius: 14px; transform: none; }
.search-form { min-height: 66px; padding: 8px 10px 8px 18px; border: 1px solid #9da6ba; background: #fff; }
.search-form input { font-size: 18px; min-height: 46px; }
.listing-content { padding-bottom: 72px; }
.listing-tools { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 30px; padding-top: 10px; }
.listing-tools>p, .collection-count { font-size: 16px; color: var(--muted); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; overflow: visible; max-width: 100%; }
.filter-pill { min-height: 44px; padding: 10px 15px; font-size: 15px; background: #fff; border: 1px solid #c1c7d5; border-radius: 8px; white-space: normal; }
.filter-pill.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination { gap: 24px; }
.pagination-summary, .pagination-page, .pagination-direction { font-size: 15px; }
.pagination-page.is-current { background: var(--brand); color: #fff; }

/* Reading: bounded prose measure, conspicuous controls and full-size figures. */
.reading-progress { top: 88px; height: 4px; }
.reading-progress span { background: var(--brand); }
.article-page, .article-page.layout-split { display: block; width: 100%; max-width: none; }
.article-heading, .layout-split .article-heading { width: calc(100% - var(--gutter) * 2); max-width: 1160px; margin-inline: auto; padding-top: 24px; padding-bottom: 30px; }
.breadcrumbs { margin-bottom: 22px; gap: 10px; flex-wrap: wrap; }
.breadcrumbs .icon { width: 15px; height: 15px; }
.article-head-grid, .layout-split .article-head-grid { display: block; }
.article-title-block h1, .layout-split .article-title-block h1, .layout-field-notes .article-title-block h1 { font-size: clamp(38px, 4.1vw, 64px); line-height: 1.1; max-width: 27ch; }
.article-dek { font-size: 21px; line-height: 1.6; max-width: 70ch; margin-top: 22px; }
.article-byline { font-size: 14px; gap: 12px; margin-top: 20px; }
.article-byline .reading-time, .article-byline .source-count { font-size: 14px; }
.byline-avatar { width: 32px; height: 32px; font-size: 15px; }
.article-head-note, .layout-split .article-head-note { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 24px 0 0; margin-top: 22px; border-top: 1px solid var(--line); }
.reading-toggle { width: auto; max-width: 100%; gap: 6px; padding: 0; background: #fff; border: 0; border-radius: 0; }
.reading-toggle button { min-height: 48px; padding: 12px 18px; gap: 9px; font-size: 16px; border: 1px solid #aeb6c7; background: #fff; border-radius: 8px; }
.reading-toggle button .icon { width: 20px; height: 20px; }
.reading-toggle button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: none; }
.article-head-note>p { order: 3; flex-basis: 100%; font-size: 15px; margin: 0; color: var(--muted); }
.reader-tools, .layout-split .reader-tools { display: flex; max-width: none; gap: 8px; padding: 0; margin: 0; border: 0; }
.reader-tools .text-button { min-width: 48px; min-height: 48px; justify-content: center; padding: 10px 14px; font-size: 16px; border: 1px solid #aeb6c7; border-radius: 8px; background: #fff; }
.reader-tools .share-button { margin-left: 8px; }
.reader-tools .icon { width: 20px; height: 20px; }
.share-status { font-size: 14px; margin: 0; min-height: 0; }
.article-main, .layout-split .article-main { width: calc(100% - var(--gutter) * 2); max-width: 1160px; grid-template-columns: 250px minmax(0, 760px); gap: 56px; justify-content: center; margin-inline: auto; padding-top: 10px; padding-bottom: 64px; }
.article-toc { top: 112px; padding-top: 0; max-height: calc(100vh - 136px); overflow: auto; scrollbar-width: thin; }
.article-toc summary { min-height: 44px; padding: 10px 0 16px; font-size: 18px; }
.article-toc nav { gap: 4px; }
.article-toc nav a { padding: 10px 12px; font-size: 15px; line-height: 1.5; min-height: 44px; border-radius: 6px; color: #535b6b; }
.article-toc nav a span { font-size: 13px; color: #667086; }
.article-toc nav a.is-current { background: var(--brand-soft); color: #2344c7; }
.article-toc nav a.is-current::before { left: 0; top: 11px; width: 3px; height: calc(100% - 22px); background: var(--brand); }
.toc-note { color: var(--muted); }
.toc-note p { font-size: 14px; }
.article-body, .article-large .article-body, .article-largest .article-body, .article-small .article-body { --article-size: inherit; font-size: calc(var(--article-size) * var(--font-scale, 1)); line-height: 1.75; letter-spacing: 0; }
.article-large { --article-size: 23px; }
.article-largest { --article-size: 26px; }
.article-small { --article-size: 18px; }
.article-body p { max-width: 68ch; overflow-wrap: break-word; }
.article-body p+p { margin-top: 22px; }
.article-body h2 { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.22; margin-bottom: 22px; max-width: 38ch; }
.article-section { margin-bottom: 48px; scroll-margin-top: 115px; }
.article-section>.section-number { font-size: 14px; margin-bottom: 12px; }
.article-section.section-callout { padding: 26px 28px; }
.article-section.section-callout p, .article-body .section-items { font-size: calc(var(--article-size) * var(--font-scale, 1)); }
.section-comparison { padding: 26px 28px; }
.takeaway-box { background: var(--tone-soft, var(--brand-soft)); border: 0; border-left: 5px solid var(--tone, var(--brand)); border-radius: 0 12px 12px 0; padding: 26px 28px; margin-bottom: 40px; }
.takeaway-box h2 { font-size: 28px; }
.takeaway-box li { font-size: 18px; line-height: 1.65; gap: 12px; }
.takeaway-box>.eyebrow { font-size: 13px; }
.takeaway-box li .icon { width: 20px; height: 20px; margin-top: 4px; }
.article-figure, .article-hero .hero-figure { margin: 32px 0; }
.article-figure img, .hero-figure img, .layout-split .hero-figure img { width: 100%; height: auto; aspect-ratio: auto; max-height: none; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.article-figure figcaption { font-size: 15px; line-height: 1.65; color: var(--muted); margin-top: 12px; overflow-wrap: anywhere; }
.image-license { font-size: 13px; color: var(--muted); margin: 6px 0 0; display: block; }
.article-figure figcaption .icon { width: 14px; height: 14px; }
.figure-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.figure-enlarge { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; font-size: 15px; font-weight: 650; color: var(--brand); background: #fff; border: 1px solid #aeb6c7; border-radius: 8px; }
.figure-enlarge:hover { background: var(--brand-soft); border-color: var(--brand); }
.figure-enlarge .icon { width: 18px; height: 18px; }
.article-sources>p, .article-sources li { font-size: 17px; line-height: 1.7; }
.article-sources li>div, .article-sources .review-date, .article-sources li::marker { font-size: 14px; color: var(--muted); }
.article-sources li, .article-sources a { overflow-wrap: anywhere; }
.article-sources>.eyebrow { font-size: 13px; }
.editorial-disclosure { font-size: 16px; line-height: 1.7; padding: 24px; }
.article-feedback { gap: 22px; }
.article-feedback h3 { font-size: 23px; }
.article-feedback p, .article-feedback>.text-link { font-size: 16px; }
.article-feedback>.text-link { max-width: 230px; }
.related-section { padding-top: 40px; padding-bottom: 64px; }
.layout-magazine .article-title-block h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(42px, 4.5vw, 68px); }
.layout-magazine .takeaway-box { background: #171a24; color: #fff; border-color: var(--tone); }
.layout-magazine .takeaway-box .eyebrow, .layout-magazine .takeaway-box .icon { color: #c8f54a; }
.layout-field-notes .article-heading { border-bottom: 2px solid var(--tone); margin-bottom: 20px; }
.layout-field-notes .section-number { background: var(--tone-soft); color: var(--tone-strong); padding: 4px 9px; }
.layout-field-notes .article-section { padding-top: 24px; border-top: 1px dashed #aeb6c7; }
.layout-split .article-title-block { padding-left: 24px; border-left: 8px solid var(--tone); }

/* Image inspection stays in the current page, including in the Kids area. */
.figure-dialog { width: min(1500px, calc(100vw - 32px)); max-width: none; height: calc(100dvh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 20px; border: 1px solid #aeb6c7; border-radius: 12px; background: #fff; color: var(--ink); overflow: hidden; }
.figure-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.figure-dialog::backdrop { background: #171a24bb; }
.figure-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.figure-dialog h2 { font-size: 24px; line-height: 1.2; }
.figure-dialog-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.figure-dialog-controls button { min-height: 44px; min-width: 44px; padding: 10px 14px; font-size: 15px; border: 1px solid #9da6ba; border-radius: 8px; background: #fff; }
.figure-dialog-controls [aria-pressed="true"] { color: #fff; background: var(--brand); border-color: var(--brand); }
.figure-viewport { width: 100%; height: 100%; min-height: 0; overflow: auto; overscroll-behavior: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.figure-viewport img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; margin: 0 auto; }
.figure-viewport.is-zoomed img { width: var(--figure-natural-width, 1440px); height: auto; }
.figure-dialog-caption { font-size: 14px; line-height: 1.5; margin-top: 12px; max-width: 95ch; max-height: 84px; overflow: auto; }

/* Supporting pages, forms and dialogs share the readable scale. */
.policy-page { max-width: 1000px; padding-block: 48px 72px; }
.policy-page h1 { font-size: clamp(38px, 4.6vw, 64px); }
.policy-body, .policy-body p { font-size: 20px; line-height: 1.75; }
.contact-page { grid-template-columns: .95fr 1.05fr; gap: 56px; padding-block: 48px 72px; }
.contact-intro>p { font-size: 19px; }
.contact-form { background: #fff; border: 1px solid var(--line); padding: 32px; border-radius: 12px; }
.contact-form label, .form-field label { font-size: 16px; }
.contact-form .checkbox-label { font-size: 16px; }
.contact-form .form-small { font-size: 14px; line-height: 1.65; color: var(--muted); }
.contact-form input, .contact-form textarea, .contact-form select { font-size: 17px; min-height: 48px; }
.form-help, .form-note, .form-notice, .contact-note { font-size: 15px; line-height: 1.6; }
.contact-method, .contact-method p { font-size: 16px; }
.search-dialog, .consent-dialog, .kids-exit-dialog { background: #fff; color: var(--ink); max-width: calc(100vw - 32px); }
.search-dialog input { font-size: 18px; min-height: 48px; }
.dialog-close { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
.dialog-actions .button { min-height: 48px; }
.toast { background: #171a24; color: #fff; font-size: 16px; line-height: 1.5; max-width: calc(100vw - 32px); }
.empty-state { background: #fff; padding: 64px 24px; }
.empty-state p { font-size: 18px; }
.not-found p { font-size: 19px; }
.site-footer { background: #fff; color: var(--ink); border-top: 3px solid var(--ink); padding-top: 48px; }
.footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 44px; }
.footer-brand p { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 40ch; }
.footer-column h3 { font-size: 19px; }
.footer-column>a { font-size: 16px; line-height: 1.5; min-height: 44px; padding-block: 8px; color: var(--muted); }
.footer-note { background: #c8f54a; padding: 24px; border-radius: 12px; color: #171a24; }
.footer-note .eyebrow { font-size: 14px; color: #171a24; }
.footer-note h3 { font-size: 28px; }
.footer-note .round-link { background: #171a24; color: #fff; }
.footer-bottom, .footer-bottom nav a, .footer-bottom .text-button { font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer-bottom nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* Wide laptops and monitors: use the canvas without widening prose. */
@media (min-width: 1600px) {
  :root { --container: 1680px; --gutter: 56px; }
  .header-inner { min-height: 96px; }
  .home-heading h1 { font-size: 88px; max-width: 21ch; }
  .home-heading>p { font-size: 22px; }
  .home-feature { grid-template-columns: minmax(0, 2.5fr) minmax(340px, 1fr); gap: 40px; }
  .lead-copy h2 { font-size: 46px; }
  .lead-copy>p { font-size: 20px; }
  .topic-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .topic-card { flex-direction: column; min-height: 240px; padding: 22px; }
  .topic-card:last-child:nth-child(4n + 3) { grid-column: auto; }
  .topic-arrow { margin-top: auto; }
  .story-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 32px; }
  .latest-section .story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-copy h3 { font-size: 28px; }
  .reading-progress { top: 96px; }
  .article-toc { top: 120px; }
}

/* Compact laptops: wider lead story, supporting stories below it. */
@media (min-width: 1024px) and (max-width: 1199px) {
  :root { --gutter: 32px; }
  .header-inner { gap: 20px; }
  .desktop-nav { gap: 18px; }
  .desktop-nav>a { font-size: 15px; }
  .home-feature { display: block; }
  .lead-story { grid-template-columns: 1.08fr 1fr; gap: 36px; }
  .lead-copy h2 { font-size: 39px; }
  .feature-sidebar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border: 0; border-top: 1px solid var(--line); margin-top: 30px; padding: 24px 0 0; }
  .sidebar-heading { grid-column: 1/-1; width: max-content; }
  .compact-story { padding: 12px 0; }
  .compact-story h3 { font-size: 23px; }
  .sidebar-all { grid-column: 1/-1; }
  .topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topic-card:last-child:nth-child(4n + 3) { grid-column: auto; }
  .topic-card:last-child:nth-child(3n + 1) { grid-column: 1/-1; min-height: 120px; }
  .article-main, .layout-split .article-main { grid-template-columns: 210px minmax(0, 1fr); gap: 36px; }
}

/* Tablets: two editorial columns, a compact masthead and an inline contents list. */
@media (min-width: 600px) and (max-width: 1023px) {
  :root { --gutter: 28px; }
  .header-inner { min-height: 84px; flex-wrap: wrap; gap: 0; padding-block: 18px 10px; }
  .brand-name { font-size: 32px; }
  .header-actions { margin-left: auto; }
  .desktop-nav { display: flex; order: 3; width: 100%; justify-content: flex-start; margin: 10px 0 0; gap: 28px; border-top: 1px solid var(--line); overflow: visible; }
  .desktop-nav>a { font-size: 16px; }
  .mobile-menu-button { display: none; }
  .home-heading { padding-top: 34px; padding-bottom: 30px; }
  .home-heading h1 { font-size: clamp(47px, 6.3vw, 64px); }
  .home-heading>p { font-size: 19px; }
  .home-feature { display: block; }
  .lead-story { grid-template-columns: 1.1fr 1fr; gap: 26px; }
  .lead-copy h2 { font-size: clamp(29px, 3.8vw, 38px); }
  .lead-copy>p { font-size: 18px; }
  .feature-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; padding: 24px 0 0; margin-top: 30px; border: 0; border-top: 1px solid var(--line); }
  .sidebar-heading, .sidebar-all { grid-column: 1/-1; }
  .sidebar-heading { width: max-content; }
  .compact-story { padding: 12px 0 20px; }
  .compact-story:last-of-type { grid-column: 1/-1; }
  .compact-story h3 { font-size: 24px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-card:last-child { grid-column: 1/-1; min-height: 130px; }
  .topic-card { padding: 24px; }
  .story-grid, .latest-section .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 26px; }
  .story-copy h3 { font-size: 26px; }
  .editorial-band-inner { grid-template-columns: 1fr; gap: 26px; }
  .editorial-band h2 br { display: none; }
  .kids-preview { padding: 32px; gap: 24px; }
  .kids-preview-art { min-height: 270px; }
  .article-main, .layout-split .article-main { display: block; max-width: 800px; }
  .article-heading, .layout-split .article-heading { max-width: 900px; }
  .article-title-block h1, .layout-split .article-title-block h1, .layout-field-notes .article-title-block h1 { font-size: clamp(38px, 5.2vw, 54px); }
  .article-toc { position: static; max-height: none; overflow: visible; margin-bottom: 28px; padding: 0; }
  .article-toc details { background: #fff; border: 1px solid #aeb6c7; border-radius: 10px; padding: 0 18px; }
  .article-toc summary { font-size: 17px; min-height: 52px; border: 0; padding-block: 12px; }
  .article-toc summary .icon { display: block; width: 18px; height: 18px; }
  .article-toc nav { padding-bottom: 14px; }
  .toc-note { display: none; }
  .reading-progress { top: 138px; }
  .contact-page { grid-template-columns: 1fr; gap: 36px; }
  .contact-intro { max-width: 70ch; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
  .footer-note { grid-column: 1/-1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
  .footer-note .eyebrow { width: 100%; }
  .footer-note h3 br { display: none; }
  .footer-note .round-link { margin: 0 0 0 auto; }
}

/* Phones: full stories and generous controls, never a miniature desktop. */
@media (max-width: 599px) {
  :root { --gutter: 20px; --article-size: 19px; }
  html { scroll-padding-top: 88px; }
  body { font-size: 18px; }
  .edition-bar { display: none; }
  .header-inner { min-height: 76px; padding-block: 10px; gap: 12px; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 7px; }
  .brand-name { font-size: 29px; }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; gap: 8px; }
  .header-actions .kids-link { display: none; }
  .header-actions .icon-button { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .header-actions>[data-open-search] { display: grid; }
  .mobile-menu-button { display: grid; }
  .mobile-nav { max-height: calc(100dvh - 76px); overflow: auto; }
  .home-heading { padding-top: 30px; padding-bottom: 26px; }
  .home-heading h1 { font-size: clamp(39px, 10.2vw, 54px); line-height: 1.06; max-width: 18ch; white-space: normal; }
  .home-heading>p { font-size: 18px; line-height: 1.6; margin-top: 18px; }
  .home-feature { display: block; }
  .lead-story { display: flex; flex-direction: column; gap: 0; border-top-width: 6px; }
  .lead-copy { width: 100%; padding-top: 22px; }
  .lead-art { width: 100%; margin-top: 18px; }
  .lead-eyebrow { gap: 10px; margin-bottom: 15px; }
  .lead-eyebrow .reading-time { font-size: 14px; }
  .lead-copy h2 { font-size: clamp(29px, 8vw, 38px); line-height: 1.16; }
  .lead-copy>p { font-size: 18px; line-height: 1.65; margin-block: 18px 22px; }
  .lead-copy .button { width: 100%; justify-content: space-between; }
  .feature-sidebar { margin-top: 30px; padding: 0; border: 0; }
  .sidebar-heading { padding: 12px 14px; }
  .sidebar-heading .eyebrow { font-size: 19px; }
  .compact-story { padding: 22px 0; gap: 14px; }
  .compact-story h3 { font-size: 24px; line-height: 1.25; }
  .compact-story .eyebrow { font-size: 13px; }
  .compact-story .meta { font-size: 14px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 24px; }
  .section-heading h2 { font-size: 34px; line-height: 1.16; }
  .section-heading .text-link { align-self: flex-start; }
  .topic-section { padding-block: 44px 24px; }
  .topic-grid { grid-template-columns: 1fr; gap: 10px; }
  .topic-card, .topic-card:last-child:nth-child(4n + 3) { grid-column: auto; min-height: 0; padding: 22px; align-items: flex-start; gap: 18px; }
  .topic-card h3 { font-size: 23px; }
  .topic-card p { font-size: 16px; line-height: 1.6; }
  .topic-card .topic-icon { width: 32px; }
  .topic-arrow { margin-left: auto; }
  .latest-section { padding-block: 30px 44px; }
  .story-grid, .latest-section .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-cover { border-radius: 10px; width: 100%; aspect-ratio: 3/2; }
  .story-copy { padding-top: 18px; }
  .story-copy h3 { font-size: 28px; line-height: 1.22; margin-top: 10px; }
  .story-copy>p { font-size: 18px; line-height: 1.65; margin-top: 14px; }
  .story-meta, .story-meta .source-count { font-size: 14px; }
  .editorial-band { padding-block: 36px; }
  .editorial-band-inner { display: block; }
  .editorial-band h2 { font-size: 39px; line-height: 1.13; }
  .editorial-band-copy { margin-top: 24px; }
  .editorial-band-copy p { font-size: 18px; line-height: 1.65; }
  .kids-preview { display: block; margin-block: 40px; padding: 26px; }
  .kids-preview h2 { font-size: 39px; }
  .kids-preview p { font-size: 18px; }
  .kids-preview-art { min-height: 240px; margin-top: 26px; }
  .kids-preview-note { font-size: 14px; }
  .listing-header { padding-top: 24px; padding-bottom: 22px; }
  .listing-title { margin-block: 18px 24px; gap: 16px; align-items: flex-start; }
  .listing-title h1 { font-size: 42px; line-height: 1.1; }
  .listing-title p { font-size: 18px; line-height: 1.6; }
  .listing-icon { display: none; }
  .search-form { flex-wrap: wrap; gap: 8px; padding: 10px; }
  .search-form input { width: calc(100% - 38px); flex: 1; font-size: 17px; }
  .search-form .button { width: 100%; }
  .listing-tools { gap: 16px; }
  .filter-pill { font-size: 14px; padding: 10px 12px; }
  .pagination { margin-top: 32px; padding-top: 24px; }
  .pagination-summary, .pagination-page, .pagination-direction { font-size: 14px; }
  .article-heading, .layout-split .article-heading { width: calc(100% - var(--gutter) * 2); padding-top: 18px; padding-bottom: 24px; }
  .breadcrumbs { margin-bottom: 20px; font-size: 14px; }
  .article-title-block>.category-label { margin-bottom: 14px; }
  .article-title-block h1, .layout-split .article-title-block h1, .layout-field-notes .article-title-block h1 { font-size: clamp(34px, 8.7vw, 44px); line-height: 1.13; letter-spacing: -.04em; }
  .layout-magazine .article-title-block h1 { font-size: clamp(37px, 9.2vw, 47px); }
  .article-dek { font-size: 20px; line-height: 1.6; margin-top: 20px; }
  .article-byline { font-size: 14px; gap: 10px; margin-top: 18px; }
  .article-byline .reading-time, .article-byline .source-count { font-size: 14px; }
  .article-head-note, .layout-split .article-head-note { display: flex; padding-top: 20px; gap: 12px; margin-top: 20px; }
  .reading-toggle { width: 100%; }
  .reading-toggle button { flex: 1; min-width: 0; padding: 12px 10px; font-size: 15px; min-height: 48px; gap: 7px; }
  .reader-tools { width: 100%; }
  .reader-tools .text-button { min-height: 46px; min-width: 48px; font-size: 16px; }
  .reader-tools .share-button { margin-left: auto; }
  .article-head-note>p { font-size: 15px; }
  .article-main, .layout-split .article-main { display: block; width: calc(100% - var(--gutter) * 2); padding-top: 0; padding-bottom: 40px; }
  .article-toc { position: static; max-height: none; overflow: visible; padding: 0; margin-bottom: 26px; }
  .article-toc details { background: #fff; padding: 0 16px; border: 1px solid #aeb6c7; border-radius: 8px; }
  .article-toc summary { font-size: 17px; min-height: 52px; border: 0; padding-block: 12px; }
  .article-toc summary .icon { display: block; width: 18px; height: 18px; }
  .article-toc nav { padding-bottom: 14px; }
  .article-toc nav a { font-size: 16px; }
  .toc-note { display: none; }
  .reading-progress { top: 76px; }
  .article-body, .article-large .article-body, .article-largest .article-body, .article-small .article-body { font-size: calc(var(--article-size) * var(--font-scale, 1)); line-height: 1.75; }
  .article-large { --article-size: 22px; }
  .article-largest { --article-size: 25px; }
  .article-small { --article-size: 18px; }
  .article-body h2 { font-size: 29px; line-height: 1.25; margin-bottom: 20px; }
  .article-section { margin-bottom: 38px; scroll-margin-top: 96px; }
  .article-section.section-callout, .section-comparison { padding: 20px; }
  .takeaway-box { padding: 22px 20px; margin-bottom: 32px; }
  .takeaway-box h2 { font-size: 27px; }
  .takeaway-box li { font-size: 18px; line-height: 1.65; }
  .takeaway-box>.eyebrow { font-size: 13px; }
  .article-figure, .article-hero .hero-figure { margin-block: 28px; width: 100%; }
  .article-figure figcaption { font-size: 15px; line-height: 1.6; }
  .image-license { font-size: 13px; }
  .figure-actions { justify-content: stretch; }
  .figure-enlarge { width: 100%; justify-content: center; font-size: 15px; }
  .article-gallery { grid-template-columns: 1fr; }
  .article-sources { padding-top: 26px; margin-top: 34px; }
  .article-sources>p, .article-sources li { font-size: 17px; }
  .article-sources li>div, .article-sources .review-date { font-size: 14px; }
  .editorial-disclosure { padding: 20px; font-size: 16px; gap: 12px; }
  .article-feedback { display: block; }
  .article-feedback>.text-link { margin-top: 18px; max-width: none; font-size: 16px; }
  .layout-split .article-title-block { padding-left: 16px; border-left-width: 5px; }
  .figure-dialog { width: calc(100vw - 16px); height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); padding: 14px; border-radius: 10px; }
  .figure-dialog-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .figure-dialog h2 { font-size: 23px; }
  .figure-dialog-controls { width: 100%; gap: 6px; }
  .figure-dialog-controls button { font-size: 14px; padding: 10px 12px; }
  .figure-dialog-controls [data-close-figure] { margin-left: auto; }
  .figure-dialog-caption { font-size: 14px; max-height: 80px; overflow: auto; }
  .contact-page { display: block; padding-block: 30px 44px; }
  .contact-intro h1 { font-size: 42px; }
  .contact-intro>p { font-size: 18px; }
  .contact-form { padding: 24px 20px; margin-top: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .policy-page { padding-block: 30px 44px; }
  .policy-page h1 { font-size: 39px; }
  .policy-body, .policy-body p { font-size: 19px; line-height: 1.75; }
  .site-footer { padding-top: 34px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-bottom: 30px; }
  .footer-brand, .footer-note { grid-column: 1/-1; }
  .footer-brand p { font-size: 17px; }
  .footer-column h3 { font-size: 19px; }
  .footer-column>a { font-size: 15px; line-height: 1.55; }
  .footer-note { padding: 24px; }
  .footer-note h3 { font-size: 30px; }
  .footer-bottom { display: flex; align-items: flex-start; flex-direction: column; gap: 14px; padding-block: 22px; }
  .footer-bottom nav { flex-wrap: wrap; gap: 18px; }
  .footer-bottom, .footer-bottom nav a, .footer-bottom .text-button { font-size: 14px; }
}

/* Large phones gain a compact second topic column; very narrow phones retain space. */
@media (min-width: 430px) and (max-width: 599px) {
  :root { --gutter: 24px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-card { flex-direction: column; padding: 20px; gap: 12px; }
  .topic-card h3 { font-size: 22px; }
  .topic-card:last-child:nth-child(4n + 3) { grid-column: 1/-1; flex-direction: row; }
  .topic-arrow { margin-top: auto; }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; --article-size: 18px; }
  .header-inner { gap: 8px; }
  .brand-name { font-size: 26px; }
  .brand-mark { width: 30px; height: 30px; }
  .header-actions { gap: 4px; }
  .home-heading h1 { font-size: 37px; }
  .lead-copy h2 { font-size: 29px; }
  .section-heading h2 { font-size: 31px; }
  .reading-toggle button { padding-inline: 8px; font-size: 14px; }
  .reading-toggle button .icon { width: 17px; height: 17px; }
  .article-title-block h1, .layout-split .article-title-block h1, .layout-field-notes .article-title-block h1 { font-size: 33px; }
  .article-dek { font-size: 19px; }
  .takeaway-box, .article-section.section-callout, .section-comparison { padding: 18px; }
  .article-body h2 { font-size: 27px; }
  .figure-dialog-controls button { font-size: 13px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .figure-actions, .figure-dialog { display: none !important; }
  .article-main, .layout-split .article-main { display: block; width: 100%; }
  .article-body { font-size: 11pt; line-height: 1.5; }
}
