@charset "UTF-8";

/* Publication tokens: the same editorial system in dark and light. */
:root {
    --sidebar-width: 295px;
    color-scheme: light;
    --paper: #0c0e13;
    --surface: #151922;
    --surface-raised: #1b202b;
    --ink: #f3f4f8;
    --muted: #a1a6b5;
    --subtle: #747c8e;
    --line: #292e3b;
    --accent: #a88bff;
    --accent-bright: #8b5cf6;
    --cyan: #22d3ee;
    --accent-soft: #8b5cf61a;
    --gradient: #8b5cf6;
    --sans: "Poppins", "Segoe UI", Arial, sans-serif;
    --radius: 6px;
    --space-control: 8px;
    --space-content: 12px;
    --space-section: 16px;
    --shadow: 0 16px 45px #0005;
    --card-shadow: 0 5px 18px #00000026;
    --card-hover-shadow: 0 8px 24px #8b5cf626;
}

.publication[data-theme="light"] {
    color-scheme: light;
    --paper: #f7f8fb;
    --surface: #ffffff;
    --surface-raised: #f0f2f7;
    --ink: #171b27;
    --muted: #626a7c;
    --subtle: #778094;
    --line: #dfe3ec;
    --accent: #6d35d7;
    --accent-soft: #8b5cf60c;
    --shadow: 0 16px 45px #171b2714;
    --card-shadow: 0 5px 18px #5a3fa90d;
    --card-hover-shadow: 0 8px 24px #8b5cf621;
}

/* Foundation and accessible controls. */
*, *::before, *::after { box-sizing: border-box; border-radius: var(--radius) !important; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img { display: block; max-width: 100%; }
svg { display: block; width: 21px; height: 21px; flex-shrink: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.22; }
h1, h2, h3, h4, h5, h6, b, strong { font-weight: 600; }
::selection { background: #8b5cf6; color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:focus-visible, input:focus-visible { outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.skip-link { position: fixed; left: 20px; top: -90px; z-index: 100; padding: 12px 20px; background: #8b5cf6; color: #fff; font-size: 13px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.site-container { width: min(1320px, calc(100% - 80px)); margin-inline: auto; }
.site-shell { min-height: 100vh; }
.muted { color: var(--muted); }
.text-nowrap { white-space: nowrap; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 10px; font-weight: 700; line-height: 1.6; letter-spacing: 1.7px; text-transform: uppercase; }
.status-dot { display: inline-block; width: 5px; height: 5px; background: var(--cyan); box-shadow: 0 0 9px #22d3ee66; flex: 0 0 auto; }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; border: 1px solid var(--line); padding: 11px 19px; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.5; transition: border-color .2s, background .2s, color .2s, transform .2s; }
.button:hover { border-color: var(--accent); background: var(--surface-raised); transform: translateY(-2px); }
.button-primary { background: var(--gradient); background-size: 150% 100%; border-color: transparent; color: #fff; }
.button-primary:hover { background: var(--gradient); background-size: 200% 100%; background-position: 100% 50%; border-color: transparent; color: #fff; }
.button-quiet { background: transparent; }
.button-small { min-height: 37px; padding: 8px 13px; font-size: 11px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 8px; border: 1px solid var(--line); background: transparent; color: var(--ink); transition: color .2s, border-color .2s, background .2s; }
.icon-button:hover { color: #fff; border-color: #7c3aed; background: #7c3aed; }
.icon-button svg { width: 19px; height: 19px; }
.read-link { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 11px; font-weight: 700; line-height: 1.5; }
.read-link > span[aria-hidden] { color: var(--accent); font-size: 17px; line-height: 1; transition: transform .2s; }
.read-link:hover { color: var(--accent); }
.read-link:hover > span[aria-hidden] { transform: translate(2px, -2px); }
.back-link { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 25px; color: var(--muted); font-size: 11px; font-weight: 600; }
.back-link:hover { color: var(--accent); }

/* Masthead: a compact utility strip, clear navigation, sharp accents. */
.header-bar { position: relative; background: #080a0f; color: #a5aaba; border-bottom: 2px solid #f6cf46; font-size: 10px; }
.header-bar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 2px; }
.utility-note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 10px; letter-spacing: .15px; }
.utility-links { display: flex; align-items: center; gap: 20px; }
.utility-links a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.brand-mark { display: inline-flex; justify-content: center; align-items: center; gap: 3px; min-width: 58px; height: 44px; font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: -2px; }
.brand-mark > span { align-self: flex-start; margin-top: 9px; color: var(--cyan); font-size: 19px; line-height: .7; letter-spacing: -1px; }
.brand-name { font-size: 16px; line-height: 1.25; font-weight: 700; letter-spacing: -.55px; }
.brand-name > small { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; }
.main-navigation { align-self: stretch; display: flex; flex: 1 1 0; min-width: 0; align-items: center; justify-content: space-evenly; gap: 27px; font-size: 12px; font-weight: 600; }
.main-navigation > .nav-link, .main-navigation > .nav-dropdown { flex: 1 1 0; height: 100%; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.nav-link, .nav-dropdown > summary { position: relative; transition: color .2s; }
.main-navigation > .nav-link::after, .main-navigation > .nav-dropdown::after { content: ""; position: absolute; height: 3px; inset: auto 0 -1px; transform: scaleX(0); transform-origin: left; background: var(--gradient); transition: transform .25s; }
.main-navigation > .nav-dropdown { position: relative; }
.main-navigation > .nav-link:hover::after, .main-navigation > .nav-link.is-current::after, .main-navigation > .nav-dropdown:hover::after, .main-navigation > .nav-dropdown[open]::after { transform: scaleX(1); }
.nav-link:hover, .nav-link.is-current, .nav-dropdown > summary:hover, .nav-dropdown[open] > summary { color: var(--accent); }
.nav-dropdown > summary { display: flex; align-items: center; justify-content: space-between; gap: 7px; cursor: pointer; list-style: none; padding-block: 10px; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary > span { color: var(--subtle); font-size: 12px; line-height: 1; transition: transform .2s; }
.nav-dropdown[open] > summary > span { transform: rotate(180deg); }
.nav-dropdown-panel { position: absolute; top: 100%; right: 0; z-index: 35; width: 240px; max-width: calc(100vw - 40px); padding: 8px; border: 1px solid var(--line); border-top: 2px solid var(--accent); background: var(--surface); box-shadow: var(--shadow); font-size: 12px; line-height: 1.5; }
.nav-dropdown-panel > a, .nav-dropdown-panel > .nav-dropdown > summary { display: flex; align-items: center; padding: 11px 13px; transition: color .2s, background .2s; }
.nav-dropdown-panel > a:hover, .nav-dropdown-panel > .nav-dropdown > summary:hover { color: var(--accent); background: var(--accent-soft); }
.nav-dropdown-panel .nav-dropdown { display: block; }
.nav-dropdown-panel .nav-dropdown-panel { position: static; width: auto; max-width: none; margin: 0 6px 6px 13px; padding: 0 0 0 7px; background: transparent; border: 0; border-left: 1px solid var(--line); box-shadow: none; }
.header-actions { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; }
.menu-toggle > span { height: 1px; width: 18px; background: currentColor; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-6px) rotate(-45deg); }
.theme-toggle .theme-icon-light, [data-theme="light"] .theme-toggle .theme-icon-dark { display: none; }
[data-theme="light"] .theme-toggle .theme-icon-light { display: block; }

/* The home page lead: dense, image-led and deliberately asymmetrical. */
.latest-strip { display: flex; align-items: center; gap: 8px; min-height: 53px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 11px; }
html .publication .latest-strip .latest-label { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; }
.latest-label .status-dot { background: var(--accent-bright); box-shadow: 0 0 9px #8b5cf666; }
html .publication .latest-strip .latest-link { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; font-weight: 500; }
.latest-link:hover { color: var(--accent); }
html .publication .latest-strip .latest-date { flex: 0 0 auto; margin-left: auto; color: var(--subtle); font-size: 11px; }
.hero-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) var(--sidebar-width); gap: 18px; min-height: 502px; }
.hero-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; min-width: 0; }
.cover-story { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; overflow: hidden; background: var(--surface-raised); color: #fff; }
.cover-story::after { content: none; }
.cover-story > img, .cover-story-image, .cover-story > a > img { position: absolute; inset: 0; z-index: -2; height: 100%; width: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.65,.3,1), filter .4s; }
.cover-story:hover > img, .cover-story:hover .cover-story-image, .cover-story:hover > a > img { transform: scale(1.045); filter: saturate(1.12); }
.cover-story-link { position: absolute; inset: 0; z-index: 1; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; }
.cover-story-link::after { content: ""; position: absolute; z-index: 0; inset: 0; background: #090b108c; pointer-events: none; }
.cover-story-content { position: relative; z-index: 2; padding: 26px 29px; }
.cover-story-content a { pointer-events: auto; }
.cover-story .post-meta { color: #c7c8d0; font-size: 9px; gap: 8px; margin: 0 0 13px; }
.cover-story .post-meta a { display: inline-block; padding: 3px 7px; background: var(--gradient); color: #fff; font-size: 8px; font-weight: 700; letter-spacing: .65px; text-transform: uppercase; }
.cover-story h2 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -1.2px; }
.cover-story h2 a { background: none; transition: background-size .3s; }
.cover-story:hover h2 a { background-size: 100% 1px; }
.cover-story-lead h2 { max-width: 560px; font-size: clamp(31px, 3.1vw, 45px); }
.cover-story-small .cover-story-content { padding: 19px 19px 20px; }
.cover-story-small h2 { font-size: 20px; line-height: 1.2; letter-spacing: -.45px; }
.cover-story-small .post-meta { margin-bottom: 9px; font-size: 8px; }
.cover-story-small .post-meta .meta-dot, .cover-story-small .post-meta time { display: none; }
.story-category { display: inline-block; padding: 4px 8px; margin-bottom: 14px; background: var(--gradient); color: #fff; font-size: 8px; font-weight: 700; line-height: 1.5; letter-spacing: .7px; text-transform: uppercase; }
.cover-story-small .story-category { padding: 3px 6px; margin-bottom: 9px; font-size: 7px; }
.story-excerpt { max-width: 510px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 16px 0 0; color: #ced0da; font-size: 12px; line-height: 1.7; }
.story-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 19px; color: #c3c7d2; font-size: 9px; line-height: 1.5; }
.story-meta .meta-dot { color: #8c93a3; }
.cover-story-small .story-meta { gap: 6px; margin-top: 11px; font-size: 8px; }
.cover-story-small .story-meta > :nth-child(n + 2) { display: none; }
.story-arrow { position: absolute; z-index: 2; top: 18px; right: 18px; display: flex; align-items: center; justify-content: center; height: 33px; width: 33px; border: 1px solid #ffffff55; background: #090b1026; color: #fff; font-size: 19px; line-height: 1; transition: background .2s, border-color .2s; }
.cover-story:hover .story-arrow { border-color: transparent; background: var(--gradient); }
.cover-story-small .story-arrow { top: 12px; right: 12px; height: 27px; width: 27px; font-size: 16px; }
.cover-story-placeholder { background: #242e48; }
.hero-grid:not(:has(.hero-reading)) { grid-template-columns: 280px minmax(0, 1fr); }
.hero-grid:not(:has(.hero-stack)) { grid-template-columns: minmax(0, 1fr); }
.cover-story-excerpt { max-width: 510px; margin: 16px 0 0; color: #ced0da; font-size: 12px; line-height: 1.7; }
.cover-story-bottom { display: flex; align-items: center; gap: 15px; margin-top: 19px; color: #bbc0ce; font-size: 10px; }
.cover-story-bottom > span:last-child { margin-left: auto; color: #fff; font-size: 20px; }
.hero-reading { padding: 12px 12px 8px; border: 1px solid var(--line); background: var(--surface); }
.hero-reading > .eyebrow { font-size: 8px; letter-spacing: 1.5px; }
.hero-reading > h2 { margin: 7px 0 8px; font-size: 23px; letter-spacing: -.65px; }
.reading-list { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.reading-item { display: flex; align-items: flex-start; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.reading-item:last-child { padding-bottom: 0; }
.reading-index { flex: 0 0 26px; margin-top: 2px; color: var(--subtle); font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: -1.5px; }
.reading-item:hover .reading-index { background: none; color: var(--accent); }
.reading-item .eyebrow, .reading-category { display: inline; color: var(--accent); font-size: 8px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.reading-item h3 { margin: 5px 0 9px; font-size: 13px; font-weight: 700; line-height: 1.45; letter-spacing: -.15px; }
.reading-item h3 a:hover { color: var(--accent); }
.reading-item time, .reading-time { display: block; color: var(--subtle); font-size: 9px; }
.hero-reading > .read-link { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 12px; font-size: 10px; }

/* Filters and reusable editorial cards. */
.category-tabs, .category-pills { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.category-tabs { padding: 12px 0; margin: 7px 0 12px; border-bottom: 1px solid var(--line); }
.category-tabs > .eyebrow, .category-tabs-label { margin-right: 12px; color: var(--subtle); font-size: 9px; font-weight: 600; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 6px 13px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 10px; font-weight: 600; line-height: 1.5; white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.pill:hover, .pill.active, .pill.is-active { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }
.pill.active, .pill.is-active { background: var(--gradient); border-color: transparent; color: #fff; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar-width); gap: 36px; align-items: start; }
.content-main { min-width: 0; }
.section-heading { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 39px; padding-bottom: 8px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.section-heading::after { content: ""; position: absolute; inset: auto auto -1px 0; width: 44px; height: 3px; background: var(--gradient); }
.section-heading h2 { margin: 0 0; display: flex; align-items: center; gap: 8px; font-size: 24px; letter-spacing: -.65px; }
.section-heading h2 > span { color: var(--muted); font: inherit; letter-spacing: inherit; }
.section-heading h2 > .count-label { min-width: 24px; height: 22px; margin-left: 1px; color: var(--subtle); font-size: 9px; font-weight: 500; letter-spacing: 0; }
.section-heading > a { color: var(--muted); font-size: 10px; font-weight: 600; white-space: nowrap; }
.section-heading > a:hover { color: var(--accent); }
.section-heading > a > span { margin-left: 7px; color: var(--accent); }
.section-note { color: var(--subtle); font-size: 10px; }
.count-label { display: inline-flex; justify-content: center; align-items: center; min-width: 26px; height: 24px; padding: 5px 8px; margin-left: 10px; border: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1; font-weight: 500; vertical-align: middle; }
.post-grid, .topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.post-card { min-width: 0; position: relative; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.post-cover { display: block; position: relative; aspect-ratio: 1.64; overflow: hidden; margin-bottom: 8px; background: var(--surface); }
.cover-story, .post-cover, .hero-reading, .sidebar-block { box-shadow: var(--card-shadow); transition: box-shadow .22s; }
.cover-story:hover, .post-card:hover .post-cover { box-shadow: var(--card-hover-shadow); }
.post-cover::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--gradient); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.post-cover > img { height: 100%; width: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.65,.3,1), filter .4s; }
.post-card:hover .post-cover > img { transform: scale(1.045); filter: saturate(1.1); }
.post-card:hover .post-cover::after { transform: scaleX(1); }
.cover-arrow { position: absolute; display: flex; align-items: center; justify-content: center; right: 12px; bottom: 12px; width: 29px; height: 29px; background: #0c0e139e; border: 1px solid #ffffff36; color: #fff; font-size: 17px; line-height: 1; opacity: 0; transform: translateY(5px); transition: opacity .25s, transform .25s; }
.post-card:hover .cover-arrow { opacity: 1; transform: translateY(0); }
.post-cover-placeholder { display: flex; align-items: center; justify-content: center; background: #242e48; }
.post-cover-placeholder > span:first-child { display: flex; align-items: center; gap: 8px; color: #e1dded; font-size: 21px; font-weight: 700; letter-spacing: -.5px; }
.post-cover-placeholder > span:first-child > span { color: var(--cyan); }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; color: var(--subtle); font-size: 9px; line-height: 1.5; }
.post-meta > a { color: var(--accent); font-weight: 700; }
.post-meta > a:hover { color: var(--accent); }
.meta-dot { color: var(--subtle); }
.post-card h2 { margin: 0 0 8px; font-size: 23px; line-height: 1.3; font-weight: 700; letter-spacing: -.55px; }
.post-card h2 a { background: none; transition: color .2s, background-size .3s; }
.post-card h2 a:hover { color: var(--accent); background-size: 100% 1px; }
.post-card > p { margin-bottom: 8px; color: var(--muted); font-size: 12px; line-height: 1.8; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.post-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 10px; font-weight: 500; }
.post-card-footer .read-link { flex-shrink: 0; font-size: 9px; gap: 7px; color: var(--subtle); font-weight: 500; }
.topic-sections { margin-top: var(--space-section); }
.topic-section { margin-top: var(--space-section); }
.topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topic-grid .post-card h2 { font-size: 21px; }
.topic-grid .post-card > p { -webkit-line-clamp: 2; }
.writing-section { margin-top: 16px; }
.content-main .writing-section, .content-layout > .writing-section { margin-top: 0; }
.writing-section > .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-main > .post-grid, .content-main .writing-section > .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Category archives keep three cards per desktop row in every layout mode. */
html .publication .category-listing .category-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; margin-top: 12px; }
html .publication .category-listing .category-post-grid .post-card { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px; border: 1px solid var(--line); background: var(--surface); }
html .publication .category-listing .category-post-grid .post-card > * { order: 0; }
html .publication .category-listing .category-post-grid .post-card .post-cover { align-self: stretch; width: 100%; height: auto; aspect-ratio: 1.64; margin: 0 0 10px; }
html .publication .category-listing .category-post-grid .post-card .post-meta { margin: 0 0 8px; font-size: 9px; gap: 5px; }
html .publication .category-listing .category-post-grid .post-card > h2 { margin: 0 0 8px; font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; }
html .publication .category-listing .category-post-grid .post-card > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0 0 12px; font-size: 11px; line-height: 1.7; }
html .publication .category-listing .category-post-grid .post-card .post-card-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px 8px; margin-top: auto; padding: 0; }
html .publication .category-listing .category-post-grid .post-card .card-author { display: block; order: 0; margin: 0; font-size: 9px; }
html .publication .category-listing .category-post-grid .post-card .read-link { order: 0; font-size: 9px; }
@media (max-width: 1050px) {
    html .publication .category-listing .category-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    html .publication .category-listing .category-post-grid { grid-template-columns: minmax(0, 1fr); }
}

/* The sidebar adds useful structure without competing with the stories. */
.editorial-sidebar { display: flex; flex-direction: column; gap: 16px; padding-top: 3px; }
.sidebar-block { border: 1px solid var(--line); background: var(--surface); padding: 12px; }
.sidebar-title { position: relative; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; letter-spacing: -.25px; }
.sidebar-title::after { content: ""; position: absolute; bottom: -1px; left: 0; height: 2px; width: 28px; background: var(--gradient); }
.sidebar-title > span { float: right; color: var(--subtle); font-size: 17px; }
.category-directory { margin: 0 0; padding: 0 0; list-style: none; }
.category-directory > li { border-bottom: 1px solid var(--line); }
.category-directory > li:last-child { border: 0; }
.category-directory a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; font-size: 12px; font-weight: 600; }
.category-directory a:hover { color: var(--accent); }
.category-directory a > span:last-child { min-width: 22px; padding: 1px 4px; border: 1px solid var(--line); color: var(--subtle); font-size: 9px; font-weight: 500; line-height: 1.7; text-align: center; }
.category-directory ul { list-style: none; margin: 0 0 6px; padding: 0 0 0 12px; border-left: 1px solid var(--line); }
.category-directory ul a { font-size: 11px; font-weight: 500; padding: 6px 0 6px 7px; color: var(--muted); }
.author-block { position: relative; overflow: hidden; padding: 12px 12px; background: var(--surface); }
.author-block::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--gradient); }
.author-monogram { display: flex; align-items: center; justify-content: center; width: 47px; height: 47px; margin-bottom: 12px; background: var(--gradient); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -.7px; }
.author-monogram > span { align-self: flex-start; font-size: 11px; margin-top: 9px; margin-left: 2px; }
.author-block .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
.author-block h2, .author-block h3 { margin: 8px 0 8px; font-size: 22px; letter-spacing: -.65px; }
.author-block p { margin-bottom: 8px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.author-block .social-links { justify-content: flex-start; gap: 8px; font-size: 9px; }
.archive-block { background: transparent; }
.archive-block h2, .archive-block h3 { font-size: 21px; line-height: 1.35; letter-spacing: -.5px; margin: 9px 0 11px; }
.archive-block p { margin-bottom: 8px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.archive-block .button { width: 100%; justify-content: space-between; font-size: 11px; }

/* Search, archives and pagination. */
.listing-header { padding: var(--space-control) 0 var(--space-content); border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.listing-header > .eyebrow { margin-bottom: 8px; }
.listing-header h1 { margin: 0 0 8px; font-size: clamp(34px, 4vw, 51px); line-height: 1.13; font-weight: 700; letter-spacing: -1.5px; }
.listing-header > p { margin: 0 0; max-width: 740px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.listing-header .back-link { margin-bottom: 12px; }
.category-pills { margin: 0 0 12px; }
.public-search { display: flex; align-items: stretch; max-width: 720px; gap: 10px; margin: 12px 0 5px; }
.public-search input { min-width: 0; flex: 1; padding: 8px 17px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); outline: none; font-size: 13px; }
.public-search input::placeholder { color: var(--subtle); }
.public-search input:focus { border-color: var(--accent); }
.public-search .button { padding-inline: 24px; }
.empty-public { width: 100%; min-height: 140px; padding: 28px 16px; margin: 8px 0 16px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.empty-symbol { display: block; margin-bottom: 17px; color: var(--accent); font-size: 38px; line-height: 1; }
.empty-public h2, .empty-public h3 { margin-bottom: 8px; font-size: 27px; letter-spacing: -.7px; }
.empty-public p { color: var(--muted); font-size: 12px; }
.pagination-wrap { margin-top: 16px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 10px; }
.pagination-numbers { display: flex; gap: 4px; }
.pagination-number, .pagination-ellipsis { display: inline-flex; justify-content: center; align-items: center; min-width: 35px; min-height: 36px; padding: 6px; border: 1px solid var(--line); font-size: 11px; }
.pagination-number:hover { color: var(--ink); border-color: var(--accent); }
.pagination-number.active { color: #fff; background: var(--gradient); border-color: transparent; }
.pagination-ellipsis { border-color: transparent; }
.pagination-arrow { padding: 8px 0; font-size: 10px; font-weight: 600; }
.pagination-arrow:not(.disabled):hover { color: var(--accent); }
.pagination-arrow.disabled { color: var(--subtle); opacity: .6; }

/* A calm, generous reading experience within the same visual language. */
.article-page { margin: var(--space-content) auto 0; }
.article-header { max-width: 1020px; }
.article-page > .back-link { margin-left: 0; }
.article-header .post-meta { margin-bottom: 12px; font-size: 10px; gap: 9px; }
.article-header h1 { margin: 0 0 var(--space-control); font-size: clamp(35px, 4.3vw, 57px); font-weight: 700; line-height: 1.12; letter-spacing: -1.8px; overflow-wrap: anywhere; }
.article-lead { margin: 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; letter-spacing: -.15px; }
.author-line { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--ink); font-size: 11px; font-weight: 600; }
.author-avatar { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; background: var(--gradient); color: #fff; font-size: 12px; font-weight: 700; }
.author-line small { display: block; margin-top: 2px; color: var(--subtle); font-size: 9px; font-weight: 500; }
.article-byline { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.article-byline .author-line { margin-top: 0; }
.article-byline > .button { min-height: 38px; padding: 9px 13px; font-size: 10px; }
.article-cover { margin: var(--space-content) 0; background: var(--surface); }
.article-cover img { width: 100%; height: auto; max-height: 640px; object-fit: cover; }
.article-body { max-width: 780px; margin: var(--space-section) auto 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar-width); align-items: start; gap: 32px; margin-top: var(--space-section); }
.article-main { min-width: 0; }
.article-main .article-body { max-width: 850px; margin: 0 0; }
.article-main .article-footer { max-width: 850px; margin-inline: 0; }
.article-sidebar { padding-top: 0; }
.static-page .article-layout { margin-top: var(--space-section); }
.prose { color: var(--ink); font-size: 17px; line-height: 1.95; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p { margin-bottom: 12px; }
.prose h2 { margin: var(--space-section) 0 var(--space-control); font-size: 29px; line-height: 1.3; font-weight: 700; letter-spacing: -.75px; }
.prose h3 { margin: 16px 0 8px; font-size: 23px; font-weight: 700; letter-spacing: -.45px; }
.prose h4 { margin: 12px 0 8px; font-size: 19px; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.prose a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.prose ul, .prose ol { padding-left: 25px; margin-bottom: 12px; }
.prose li { margin: 8px 0; padding-left: 3px; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 16px 0; padding: 8px 25px; border-left: 3px solid var(--accent-bright); background: var(--accent-soft); font-size: 21px; font-weight: 500; line-height: 1.65; letter-spacing: -.35px; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { height: 1px; margin: 20px 0; border: 0; background: var(--line); }
.prose code { padding: 3px 6px; background: var(--surface-raised); border: 1px solid var(--line); color: var(--accent); font-family: var(--sans); font-size: .82em; }
.prose pre { overflow-x: auto; padding: 12px 23px; margin: 16px 0; background: var(--surface); border: 1px solid var(--line); font-family: var(--sans); font-size: 13px; line-height: 1.8; }
.prose pre code { padding: 0 0; background: transparent; border: 0; color: var(--ink); font-size: inherit; }
.prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 13px; margin: 12px 0; }
.prose th, .prose td { padding: 8px 16px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface); font-weight: 700; }
.prose img { height: auto; margin: 16px auto; }
.prose figure { margin: 16px 0; }
.prose figcaption { margin-top: 10px; color: var(--subtle); font-size: 11px; text-align: center; }
.article-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 780px; margin: var(--space-section) auto 0; padding-top: var(--space-content); border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.article-footer .button { font-size: 10px; }
.related-section { margin-top: var(--space-section); }

/* Footer. */
.site-footer { position: relative; margin-top: 32px; border-top: 1px solid var(--line); background: var(--surface); }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--gradient); opacity: .7; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding-block: 20px 16px; }
.footer-brand { display: inline-flex; align-items: center; gap: 5px; font-size: 22px; font-weight: 700; letter-spacing: -.65px; line-height: 1.3; }
.footer-brand > span { color: var(--cyan); }
.site-footer p { max-width: 440px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.footer-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; color: var(--muted); font-size: 10px; font-weight: 600; }
.footer-navigation .nav-dropdown { position: relative; }
.footer-navigation .nav-dropdown > summary { padding: 0 0; }
.footer-navigation .nav-dropdown-panel { top: auto; bottom: calc(100% + 10px); right: auto; left: 0; }
.footer-navigation .nav-dropdown-panel .nav-dropdown-panel { position: static; margin-top: 0; }
.footer-meta { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 11px; color: var(--subtle); font-size: 10px; text-align: right; }
.footer-meta > a { color: var(--muted); }
.footer-meta a:hover { color: var(--accent); }
.footer-meta a > span { color: var(--accent); margin-left: 6px; }
.social-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; color: var(--muted); font-size: 10px; }

/* Narrow desktops and tablets. */
@media (min-width: 641px) {
    .topic-grid:has(> .post-card:only-child) { grid-template-columns: minmax(0, 1fr); }
    .topic-grid:has(> .post-card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1500px) {
    .hero-grid { min-height: 528px; }
}
@media (max-width: 1240px) {
    :root { --sidebar-width: 260px; }
    .site-container { width: min(1320px, calc(100% - 56px)); }
    .masthead { gap: 22px; }
    .main-navigation { gap: 21px; font-size: 11px; }
    .brand-name { font-size: 14px; }
    .brand-name > small { font-size: 8px; }
    .hero-grid { grid-template-columns: 215px minmax(0, 1fr) var(--sidebar-width); gap: 15px; min-height: 484px; }
    .hero-stack { gap: 15px; }
    .cover-story-lead h2 { font-size: 35px; }
    .cover-story-content { padding: 23px; }
    .cover-story-small .cover-story-content { padding: 17px; }
    .cover-story-small h2 { font-size: 18px; }
    .hero-reading { padding: 12px 8px; }
    .hero-reading > h2 { font-size: 22px; }
    .reading-item { gap: 11px; padding: 8px 0; }
    .reading-item h3 { font-size: 12px; }
    .reading-index { font-size: 25px; flex-basis: 22px; }
    .content-layout { grid-template-columns: minmax(0, 1fr) var(--sidebar-width); gap: 28px; }
    .post-card h2 { font-size: 21px; }
    .sidebar-block { padding: 12px; }
}
@media (max-width: 1050px) {
    :root { --sidebar-width: 240px; }
    .masthead { min-height: 78px; gap: 18px; }
    .main-navigation { gap: 17px; font-size: 10px; }
    .brand-mark { min-width: 51px; font-size: 25px; }
    .brand { gap: 9px; }
    .brand-name { font-size: 12px; }
    .brand-name > small { max-width: 170px; font-size: 7px; letter-spacing: .65px; }
    .header-actions { gap: 5px; }
    .icon-button { width: 33px; height: 33px; padding: 6px; }
    .hero-grid { grid-template-columns: 225px minmax(0, 1fr); min-height: 480px; }
    .hero-reading { grid-column: 1 / -1; display: grid; grid-template-columns: 155px minmax(0, 1fr); align-items: start; gap: 7px 12px; padding: 12px; }
    .hero-reading > .eyebrow { grid-column: 1; margin: 2px 0 0; }
    .hero-reading > h2 { grid-column: 1; font-size: 24px; margin: 0 0; }
    .hero-reading > .reading-list { grid-column: 2; grid-row: 1 / 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .hero-reading > .read-link { grid-column: 1 / -1; margin-top: 10px; padding-top: 8px; }
    .reading-item { padding: 0 0 0 18px; border-top: 0; border-left: 1px solid var(--line); gap: 9px; }
    .reading-index { flex-basis: 19px; font-size: 22px; }
    .reading-item h3 { font-size: 11px; margin-top: 4px; margin-bottom: 7px; }
    .reading-item time { font-size: 8px; }
    .content-layout { grid-template-columns: minmax(0, 1fr) var(--sidebar-width); gap: 25px; }
    .article-layout { grid-template-columns: minmax(0, 1fr) var(--sidebar-width); gap: 16px; }
    .post-grid { column-gap: 12px; }
    .post-card h2 { font-size: 20px; }
    .topic-grid .post-card h2 { font-size: 19px; }
    .sidebar-block { padding: 12px; }
    .author-block h2, .author-block h3 { font-size: 20px; }
    .section-heading h2 { font-size: 23px; }
}
@media (max-width: 850px) {
    .site-container { width: calc(100% - 44px); }
    .masthead { min-height: 76px; }
    .brand-name { font-size: 14px; }
    .brand-name > small { font-size: 8px; max-width: 240px; }
    .header-actions { margin-left: auto; }
    .menu-toggle { display: inline-flex; }
    .main-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 100px); overflow-y: auto; padding: 15px 22px 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; }
    .main-navigation.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .main-navigation > .nav-link, .main-navigation > .nav-dropdown { flex: none; display: block; height: auto; border-bottom: 1px solid var(--line); }
    .main-navigation > .nav-link { padding: 13px 0; }
    .main-navigation > .nav-dropdown > summary { padding: 13px 0; }
    .main-navigation > .nav-link::after, .main-navigation > .nav-dropdown::after { display: none; }
    .main-navigation .nav-dropdown-panel { position: static; width: auto; max-width: none; margin: 0 0 12px; padding: 5px; border: 0; border-left: 2px solid var(--accent-bright); background: var(--paper); box-shadow: none; }
    .main-navigation .nav-dropdown-panel .nav-dropdown-panel { background: transparent; margin: 0 8px 5px 12px; border-left: 1px solid var(--line); }
    .content-layout { grid-template-columns: minmax(0, 1fr); }
    .editorial-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
    .editorial-sidebar > :last-child { grid-column: 1 / -1; }
    .archive-block { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; }
    .archive-block .eyebrow { grid-column: 1; }
    .archive-block h2, .archive-block h3 { margin-bottom: 6px; grid-column: 1; }
    .archive-block p { margin-bottom: 0; grid-column: 1; }
    .archive-block .button { grid-column: 2; grid-row: 1 / 4; }
    .post-card h2 { font-size: 23px; }
    .topic-grid { gap: 12px 12px; }
    .topic-grid .post-card h2 { font-size: 18px; }
    .topic-grid .post-card > p { font-size: 11px; }
    .hero-grid { grid-template-columns: 220px minmax(0, 1fr); }
    .hero-stack { min-height: 450px; }
    .cover-story-lead h2 { font-size: 34px; }
    .hero-reading { grid-template-columns: 120px minmax(0, 1fr); gap: 5px 8px; }
    .hero-reading > h2 { font-size: 21px; }
    .hero-reading > .reading-list { gap: 8px; }
    .reading-item { padding-left: 12px; }
    .reading-index { display: none; }
    .article-header h1 { font-size: 44px; }
    .article-lead { font-size: 16px; }
    .article-layout { grid-template-columns: minmax(0, 1fr); }
    .article-sidebar { margin-top: 10px; }
    .footer-grid { gap: 16px; }
}

/* Mobile keeps the magazine hierarchy while giving every control room. */
@media (max-width: 640px) {
    html { scroll-padding-top: 88px; }
    .site-container { width: calc(100% - 36px); }
    .header-bar-inner { min-height: 35px; }
    .utility-note { font-size: 8px; letter-spacing: .1px; }
    .utility-links { gap: 12px; font-size: 8px; }
    .utility-links > :nth-child(n + 2) { display: none; }
    .masthead { min-height: 73px; gap: 12px; }
    .brand { gap: 8px; }
    .brand-mark { min-width: 48px; height: 36px; font-size: 24px; }
    .brand-mark > span { font-size: 16px; margin-top: 8px; }
    .brand-name { font-size: 12px; letter-spacing: -.35px; }
    .brand-name > small { max-width: 155px; font-size: 6px; letter-spacing: .75px; margin-top: 4px; }
    .header-actions { gap: 5px; }
    .icon-button { width: 31px; height: 32px; padding: 6px; }
    .icon-button svg { width: 17px; height: 17px; }
    .main-navigation { padding-inline: 18px; }
    .latest-strip { min-height: 48px; gap: 11px; margin-bottom: 8px; }
    html .publication .latest-strip .latest-label { font-size: 8px; letter-spacing: .8px; gap: 5px; }
    .latest-label .status-dot { height: 4px; width: 4px; }
    html .publication .latest-strip .latest-link { font-size: 11px; }
    .latest-date { display: none; }
    .hero-grid { display: flex; flex-direction: column; gap: 12px; }
    .cover-story-lead { order: -1; min-height: 420px; }
    .cover-story-lead h2 { max-width: 470px; font-size: clamp(30px, 7.5vw, 43px); letter-spacing: -.9px; }
    .cover-story-content { padding: 25px 22px; }
    .story-category { font-size: 7px; margin-bottom: 12px; }
    .story-excerpt { margin-top: 14px; font-size: 11px; line-height: 1.75; }
    .story-meta { font-size: 8px; gap: 7px; margin-top: 16px; }
    .cover-story-excerpt { margin-top: 14px; font-size: 11px; line-height: 1.75; }
    .cover-story-bottom { font-size: 9px; margin-top: 16px; }
    .hero-stack { min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr; gap: 12px; }
    .cover-story-small { min-height: 225px; }
    .cover-story-small .cover-story-content { padding: 15px 13px; }
    .cover-story-small h2 { font-size: 16px; line-height: 1.28; letter-spacing: -.35px; }
    .cover-story-small .post-meta { margin-bottom: 7px; }
    .cover-story-small .post-meta a { font-size: 6px; padding: 3px 5px; letter-spacing: .5px; }
    .cover-story-small .story-category { font-size: 6px; margin-bottom: 8px; padding: 3px 5px; }
    .cover-story-small .story-meta { font-size: 7px; margin-top: 9px; }
    .hero-reading { display: block; margin-top: 4px; padding: 12px 12px; }
    .hero-reading > .eyebrow { font-size: 7px; margin-bottom: 5px; }
    .hero-reading > h2 { margin: 0 0 8px; font-size: 24px; }
    .hero-reading > .reading-list { display: flex; gap: 0; }
    .reading-item { padding: 8px 0; border-left: 0; border-top: 1px solid var(--line); gap: 8px; }
    .reading-index { display: block; flex-basis: 26px; font-size: 28px; }
    .reading-item h3 { margin: 4px 0 7px; font-size: 13px; line-height: 1.45; }
    .reading-item time { font-size: 9px; }
    .reading-item .eyebrow, .reading-category { font-size: 7px; }
    .category-tabs { flex-wrap: nowrap; overflow-x: auto; padding: 12px 0; margin: 0 0 12px; gap: 7px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
    .category-tabs > .eyebrow, .category-tabs-label { display: none; }
    .pill { flex-shrink: 0; padding: 7px 12px; font-size: 9px; }
    .section-heading { gap: 8px; margin-bottom: 12px; padding-bottom: 8px; }
    .section-heading h2 { font-size: 23px; letter-spacing: -.6px; }
    .section-heading h2 > .count-label { font-size: 9px; }
    .section-heading > a { font-size: 9px; }
    .section-note { font-size: 9px; }
    .post-grid, .topic-grid, .writing-section > .post-grid, .content-main > .post-grid, .content-main .writing-section > .post-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .post-cover { margin-bottom: 8px; aspect-ratio: 1.65; }
    .post-meta { font-size: 9px; gap: 7px; margin-bottom: 10px; }
    .post-card { padding-bottom: 12px; }
    .post-card h2, .topic-grid .post-card h2 { font-size: 25px; line-height: 1.27; letter-spacing: -.65px; margin-bottom: 8px; }
    .post-card > p, .topic-grid .post-card > p { font-size: 12px; line-height: 1.85; margin-bottom: 8px; -webkit-line-clamp: 3; }
    .read-link { font-size: 10px; }
    .editorial-sidebar { grid-template-columns: minmax(0, 1fr); margin-top: 9px; gap: 12px; }
    .sidebar-block { padding: 12px; }
    .sidebar-title { font-size: 16px; }
    .category-directory a { padding-block: 8px; font-size: 12px; }
    .author-block { padding: 12px; }
    .author-monogram { margin-bottom: 12px; }
    .author-block h2, .author-block h3 { font-size: 25px; }
    .author-block p { font-size: 12px; }
    .archive-block { display: block; }
    .archive-block h2, .archive-block h3 { font-size: 23px; margin-bottom: 11px; }
    .archive-block p { font-size: 12px; margin-bottom: 12px; }
    .topic-sections { margin-top: var(--space-section); }
    .topic-section { margin-top: 16px; }
    .listing-header { padding: var(--space-control) 0 var(--space-content); margin-bottom: var(--space-content); }
    .listing-header > .eyebrow { font-size: 8px; margin-bottom: 8px; }
    .listing-header h1 { font-size: 36px; letter-spacing: -1.1px; line-height: 1.15; }
    .listing-header > p { font-size: 12px; }
    .listing-header .back-link { margin-bottom: 12px; }
    .back-link { font-size: 10px; }
    .public-search { margin-top: 12px; gap: 7px; }
    .public-search input { padding: 8px 13px; font-size: 12px; }
    .public-search .button { padding-inline: 17px; font-size: 11px; }
    .writing-section { margin-top: 12px; }
    .empty-public { padding: 20px 12px; min-height: 120px; }
    .empty-public h2, .empty-public h3 { font-size: 25px; }
    .empty-public p { font-size: 11px; }
    .pagination { gap: 8px; font-size: 9px; }
    .pagination-numbers { gap: 3px; }
    .pagination-number, .pagination-ellipsis { min-width: 28px; min-height: 31px; font-size: 10px; }
    .pagination-arrow { font-size: 9px; }
    .pagination-wrap { margin-top: 12px; }
    .article-page { margin-top: 12px; }
    .article-page > .back-link { margin-bottom: 12px; }
    .article-header h1 { font-size: 35px; line-height: 1.14; letter-spacing: -1.1px; margin-bottom: 8px; }
    .article-header .post-meta { font-size: 9px; gap: 7px; margin-bottom: 8px; }
    .article-lead { font-size: 15px; line-height: 1.8; }
    .author-line { margin-top: 12px; font-size: 10px; }
    .article-byline { margin-top: 12px; gap: 8px; }
    .article-byline > .button { font-size: 8px; min-height: 35px; padding: 8px 9px; gap: 7px; }
    .author-avatar { width: 35px; height: 35px; font-size: 11px; }
    .article-cover { margin: 12px -18px 16px; }
    .article-body { margin-top: 16px; }
    .prose { font-size: 16px; line-height: 1.95; }
    .prose p { margin-bottom: 12px; }
    .prose h2 { font-size: 25px; letter-spacing: -.5px; margin-top: 16px; }
    .prose h3 { font-size: 21px; margin-top: 16px; }
    .prose blockquote { font-size: 19px; padding: 8px 19px; }
    .prose pre { padding: 8px 18px; font-size: 12px; }
    .article-footer { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 16px; padding-top: 12px; font-size: 10px; }
    .related-section { margin-top: var(--space-section); }
    .site-footer { margin-top: 24px; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 16px 16px; }
    .footer-brand { font-size: 23px; }
    .site-footer p { font-size: 11px; }
    .footer-navigation { gap: 12px; margin-top: 8px; }
    .footer-meta { align-items: flex-start; text-align: left; gap: 10px; font-size: 9px; padding-top: 12px; border-top: 1px solid var(--line); }
    .social-links { justify-content: flex-start; gap: 17px; font-size: 9px; }
}
@media (max-width: 380px) {
    .site-container { width: calc(100% - 28px); }
    .brand-name { font-size: 11px; }
    .brand-name > small { font-size: 5.5px; max-width: 130px; }
    .brand-mark { min-width: 44px; font-size: 22px; }
    .brand { gap: 6px; }
    .header-actions { gap: 4px; }
    .icon-button { width: 28px; height: 30px; padding: 5px; }
    .cover-story-lead { min-height: 400px; }
    .cover-story-small { min-height: 218px; }
    .cover-story-small h2 { font-size: 15px; }
    .cover-story-content { padding: 23px 19px; }
    .cover-story-small .cover-story-content { padding: 14px 11px; }
    .section-heading h2 { font-size: 21px; }
    .post-card h2, .topic-grid .post-card h2 { font-size: 23px; }
    .article-header h1 { font-size: 32px; }
    .article-cover { margin-inline: -14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* Compact shared metadata rows; the same spacing at every viewport. */
.article-toolbar, .listing-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-control) var(--space-section); margin-bottom: var(--space-control); }
.article-toolbar .back-link, .listing-toolbar .back-link, .article-toolbar .post-meta { margin: 0; }
.article-toolbar .post-meta { flex: 1; }
.article-toolbar .article-copy { min-height: 32px; padding: 6px 10px; margin-left: auto; font-size: 10px; white-space: nowrap; }
.article-toolbar .eyebrow, .listing-toolbar .eyebrow { margin: 0; }
.article-footer .author-line { margin: 0; gap: 8px; }
.article-footer .author-avatar { width: 32px; height: 32px; }
@media (max-width: 640px) {
    .article-toolbar, .listing-toolbar { gap: 8px 12px; }
    .article-toolbar .back-link { order: 1; }
    .article-toolbar .article-copy { order: 2; }
    .article-toolbar .post-meta { order: 3; flex-basis: 100%; }
    .article-footer { flex-direction: row; align-items: center; flex-wrap: wrap; }
}

@media print {
    :root { --paper: #fff; --surface: #fff; --ink: #111; --muted: #555; --line: #ccc; }
    body { background: #fff; color: #111; }
    .site-container { width: 100%; }
    .header-bar, .site-header, .site-footer, .back-link, .article-footer, .related-section, .editorial-sidebar { display: none !important; }
    .article-page { max-width: 100%; margin: 0 0; }
    .article-header h1 { font-size: 32px; }
    .article-cover { max-width: 600px; margin-inline: auto; }
    .prose { color: #111; font-size: 11pt; line-height: 1.7; }
}


@media (min-width: 851px) {
    .main-navigation > .nav-dropdown > .nav-dropdown-panel { left: 0; right: auto; }
    .main-navigation .nav-dropdown-panel .nav-dropdown { position: relative; }
    .main-navigation .nav-dropdown-panel .nav-dropdown-panel { position: absolute; top: -10px; left: 100%; right: auto; width: 240px; max-width: calc(100vw - 40px); margin: 0; padding: 8px; border: 1px solid var(--line); border-top: 2px solid var(--accent); background: var(--surface); box-shadow: var(--shadow); }
    .main-navigation .nav-dropdown-panel .nav-dropdown > summary > span { transform: rotate(-90deg); }
    .main-navigation .nav-dropdown.opens-left > .nav-dropdown-panel { left: auto; right: 100%; }
    .main-navigation .nav-dropdown.opens-left > summary > span { transform: rotate(90deg); }
}


/* PDF reference wordmark */
.brand-logo { width: 244px; height: auto; }
.brand-logo--light { display: none; }
[data-theme="light"] .brand-logo--light { display: block; }
[data-theme="light"] .brand-logo--dark { display: none; }
.footer-brand { display: inline-flex; align-items: center; }
.footer-brand .brand-logo { width: 200px; }
@media (max-width: 1050px) { .brand-logo { width: 214px; } }
@media (max-width: 640px) { .brand-logo { width: 180px; } }
@media (max-width: 380px) { .brand-logo { width: 160px; } }

.cover-story h2 a:hover, .post-card h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
