@font-face {
    font-family: "Source Serif 4";
    src: url("../fonts/source-serif-4-roman-var.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}
@font-face {
    font-family: "Source Serif 4";
    src: url("../fonts/source-serif-4-italic-var.woff2") format("woff2");
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
}

:root {
    --gh-font-heading: "Source Serif 4", Georgia, "Times New Roman", serif;
    --gh-font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
    --paper: #fff;
    --ink: #111;
    --muted: #626262;
    --rule: #d7d7d2;
    --soft: #f5f5f1;
    --wide: 1160px;
    --measure: 740px;
    --header-height: 76px;
    --font-serif: var(--gh-font-body);
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
    overflow-wrap: break-word;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-serif);
    font-optical-sizing: auto;
    font-kerning: normal;
    font-size: 18px;
    line-height: 1.72;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
.site-frame { max-width: 100%; overflow-x: clip; }
body.menu-open { overflow: hidden; }
body.dialog-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
::selection { background: #ddd; color: #000; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 0; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-optical-sizing: auto;
    font-weight: 500;
    line-height: 1.14;
    text-wrap: balance;
}
h1 { margin: 0; font-size: clamp(2.7rem, 7vw, 5.5rem); letter-spacing: -.035em; line-height: .98; }
h2, h3 { letter-spacing: -.012em; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 9px 14px;
    transform: translateY(-160%);
    background: var(--ink);
    color: #fff;
}
.skip-link:focus { transform: none; }
.page, .page-wide { width: min(calc(100% - 48px), var(--wide)); margin-inline: auto; }
.page { padding-block: clamp(48px, 7vw, 88px) 96px; }
.page-narrow { width: min(calc(100% - 48px), var(--measure)); margin-inline: auto; }
.eyebrow, .kicker {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1.3;
    text-decoration: none;
    text-transform: uppercase;
}
.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid var(--ink);
    border-radius: 0;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    font-size: .9rem;
    line-height: 1.2;
    text-decoration: none;
}
.button:hover { background: #333; }
.button--secondary { background: var(--paper); color: var(--ink); }
.button--secondary:hover { background: var(--soft); }
.button--small { min-height: 38px; padding: 7px 14px; }
.icon-button {
    display: inline-grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

/* Header and navigation */
.site-header {
    position: sticky;
    z-index: 30;
    top: 0;
    width: min(calc(100% - 48px), var(--wide));
    min-height: var(--header-height);
    margin-inline: auto;
    border-bottom: 1px solid var(--ink);
    transition: transform .24s ease, min-height .2s ease, border-color .2s ease, color .2s ease;
    will-change: transform;
}
.site-header::before { content: ""; position: absolute; z-index: -1; inset: 0; background: transparent; pointer-events: none; transition: background-color .2s ease; }
.site-header.is-scrolled { min-height: 60px; border-bottom-color: var(--rule); }
.site-header.is-scrolled::before { background: rgba(255, 255, 255, .98); box-shadow: 0 0 0 100vmax rgba(255, 255, 255, .98); clip-path: inset(0 -100vmax); }
.site-header.is-hidden { transform: translateY(calc(-100% - 2px)); }
.site-header__inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; transition: min-height .2s ease; }
.site-header.is-scrolled .site-header__inner { min-height: 60px; }
.site-brand { flex: 0 1 auto; font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; line-height: 1; text-decoration: none; }
.site-brand__logo { width: auto; max-width: 210px; max-height: 42px; }
.site-menu { display: flex; min-width: 0; align-items: center; gap: 28px; }
.site-navigation .nav { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 24px; margin: 0; padding: 0; list-style: none; }
.site-navigation a, .account-link { font-size: .9rem; text-decoration: none; }
.account-link--button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.site-navigation a:hover, .account-link:hover { text-decoration: underline; }
.site-navigation .nav-current a { text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }
.menu-toggle span { width: 21px; height: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle { align-content: center; gap: 5px; }
.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); }

/* Shared page elements */
.page-header { max-width: 820px; margin-bottom: 58px; }
.page-header > p:last-child { max-width: 700px; margin: 23px 0 0; color: var(--muted); font-size: 1.12rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.section-heading h2 { margin: 0; font-size: .98rem; font-weight: 600; font-variant: small-caps; letter-spacing: .08em; }
.section-heading span { color: var(--muted); font-size: .82rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 5px 0; color: var(--muted); font-size: .82rem; }
.post-meta > * { display: inline; }
.post-meta > *:not(:last-child)::after { content: "·"; padding-inline: 14px; color: #999; }
.post-meta a { text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }

/* Home */
.home-intro { max-width: 900px; margin-bottom: clamp(58px, 8vw, 96px); }
.home-intro h1 { max-width: 880px; }
.home-intro > p:last-child { max-width: 680px; margin: 27px 0 0; color: var(--muted); font-size: 1.15rem; }
.home-feature { margin-bottom: 76px; }
.home-feature--latest { margin-bottom: 64px; }
.home-feature--featured { margin-top: 88px; margin-bottom: 82px; }
.home-feature--featured .featured-story { grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); }
.home-feature--featured .featured-story h2 { font-size: clamp(2.35rem, 4.4vw, 4.1rem); }
.home-feature--featured .featured-story__media { min-height: 450px; }
.featured-story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 42px; padding-block: 32px 44px; border-bottom: 1px solid var(--rule); }
.featured-story > * { min-width: 0; }
.featured-story--no-image { grid-template-columns: minmax(0, 780px); }
.featured-story__media { min-height: 400px; overflow: hidden; background: var(--soft); }
.featured-story__image { width: 100%; height: 100%; object-fit: cover; }
.featured-story__content { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.featured-story h2 { margin: 0 0 16px; font-size: clamp(2rem, 3.6vw, 3.45rem); line-height: 1.03; }
.featured-story h2 a { text-decoration: none; }
.featured-story__content > p { margin: 0 0 20px; color: var(--muted); }
.latest-posts { margin-bottom: 80px; }
.bibliography-list { margin: 0; padding: 0; list-style: none; }
.bibliography-item { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto 126px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.bibliography-item__number { align-self: start; padding-top: 4px; color: var(--muted); font-size: .78rem; }
.bibliography-item h3 { margin: 0 0 7px; font-size: clamp(1.3rem, 2.1vw, 1.65rem); }
.bibliography-item h3 a { text-decoration: none; }
.bibliography-item__body > p { max-width: 720px; margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.bibliography-item__body .kicker { margin-bottom: 7px; }
.bibliography-item__thumb { width: 126px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.bibliography-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bibliography-item__meta { display: flex; min-width: 110px; flex-direction: column; align-items: flex-end; color: var(--muted); font-size: .78rem; }
.bibliography-item--simple { grid-template-columns: 46px minmax(0, 1fr) 126px; }
.bibliography-item--simple .bibliography-item__body h3 { margin-bottom: 0; }
.home-page-header { margin-bottom: 46px; }
.home-editorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 50px; margin: 82px 0; }
.home-topic__header { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.home-topic__header h2 { margin: 0; font-size: .98rem; font-weight: 600; font-variant: small-caps; letter-spacing: .08em; }
.home-topic__header h2 a, .home-topic__header > a { text-decoration: none; }
.home-topic__header > a { color: var(--muted); font-size: .8rem; }
.home-topic__posts { margin-top: 0; }
.home-topic-entry { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 25px; align-items: start; padding: 25px 0; border-bottom: 1px solid var(--rule); }
.home-topic-entry > span, .home-topic-entry > time { padding-top: 3px; color: var(--muted); font-size: .76rem; }
.home-topic-entry h3 { margin: 0 0 7px; font-size: 1.45rem; line-height: 1.14; }
.home-topic-entry h3 a { text-decoration: none; }
.home-topic-entry p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.48; }
.home-topic--notes .home-topic__posts { display: grid; gap: 18px; padding-top: 0; }
.home-topic--notes .home-topic-entry { display: block; padding: 24px; border: 1px solid var(--rule); background: var(--soft); }
.home-topic--notes .home-topic-entry > span, .home-topic--notes .home-topic-entry > time { display: none; }
.home-topic--notes .home-topic-entry h3 { font-size: 1.02rem; font-weight: 600; }
.topics { margin-bottom: 80px; }
.topic-index__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.topic-index__item h3 { margin: 0; font-size: 1.3rem; }
.topic-index__item h3 a { text-decoration: none; }
.topic-index__item p { max-width: 650px; margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.topic-index__item > span { color: var(--muted); font-size: .8rem; }

/* Cards and feeds */
.post-feed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 42px; border-top: 1px solid var(--ink); }
.post-feed--ruled { grid-template-columns: 1fr; }
.post-card { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.post-feed:not(.post-feed--ruled) .post-card { grid-template-columns: 1fr; }
.post-card__image { grid-column: 2; grid-row: 1; overflow: hidden; background: var(--soft); }
.post-feed:not(.post-feed--ruled) .post-card__image { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 10; }
.post-card__img { width: 100%; height: 100%; object-fit: cover; }
.post-card__title { margin: 0 0 9px; font-size: 1.52rem; }
.post-card__title a { text-decoration: none; }
.post-card__excerpt { margin: 0 0 15px; color: var(--muted); font-size: .94rem; line-height: 1.52; }
.post-card .kicker { margin-bottom: 8px; }

/* Pagination */
.pagination { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--ink); font-size: .88rem; }
.pagination > div:last-child { text-align: right; }
.pagination__status { color: var(--muted); }

/* Post headers and feature images */
.post-page { padding-bottom: 96px; }
.post-header { max-width: 980px; padding-block: clamp(54px, 8vw, 96px) 40px; border-bottom: 1px solid var(--ink); }
.post-header h1 { max-width: 960px; }
.post-header__deck { max-width: 800px; margin: 24px 0; color: var(--muted); font-size: 1.2rem; line-height: 1.5; }
.post-header .post-meta { margin-top: 25px; }
.post-feature { width: min(calc(100% - 48px), 920px); margin-top: 34px; overflow: hidden; }
.post-feature img { width: 100%; max-height: min(56vh, 520px); object-fit: cover; }
.post-feature figcaption, .page-feature figcaption, .hero-caption { margin-top: 9px; color: var(--muted); font-size: .8rem; line-height: 1.45; text-align: right; }
.post-feature figcaption a, .page-feature figcaption a, .hero-caption a { color: inherit; }
.article-layout { display: grid; grid-template-columns: minmax(0, var(--measure)) 210px; justify-content: space-between; gap: clamp(48px, 7vw, 100px); align-items: start; padding-top: 60px; }
.article-layout--single { grid-template-columns: minmax(0, var(--measure)); justify-content: center; }
.article-content { min-width: 0; font-size: 1.04rem; line-height: 1.76; }
.abstract { margin: 0 0 44px; padding: 23px 27px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--soft); font-size: .96rem; }
.abstract strong { font-variant: small-caps; letter-spacing: .04em; }

/* Article typography */
.gh-content > *:first-child { margin-top: 0; }
.gh-content p { margin: 0 0 1.35em; }
.gh-content h1 { margin: 2em 0 .65em; font-size: 2.35rem; line-height: 1.08; }
.gh-content h2 { margin: 2.2em 0 .7em; font-size: 1.85rem; line-height: 1.12; scroll-margin-top: 30px; }
.gh-content h3 { margin: 1.9em 0 .65em; font-size: 1.35rem; font-style: italic; scroll-margin-top: 30px; }
.gh-content h4 { margin: 1.7em 0 .55em; font-size: 1.08rem; font-variant: small-caps; letter-spacing: .04em; }
.gh-content ul, .gh-content ol { margin: 0 0 1.45em; padding-left: 1.45em; }
.gh-content li + li { margin-top: .4em; }
.gh-content li > ul, .gh-content li > ol { margin-top: .4em; margin-bottom: .4em; }
.gh-content blockquote { margin: 2em 0; padding: .1em 0 .1em 26px; border-left: 2px solid var(--ink); font-size: 1.1rem; }
.gh-content blockquote p:last-child { margin-bottom: 0; }
.gh-content blockquote.kg-blockquote-alt { padding: 1.4em 0; border-block: 1px solid var(--ink); border-left: 0; font-size: 1.55rem; font-style: italic; line-height: 1.45; text-align: center; }
.gh-content a { text-decoration-thickness: 1px; }
.gh-content hr { width: 100%; margin: 3.2em 0; border: 0; border-top: 1px solid var(--ink); }
.gh-content code { padding: .08em .28em; background: var(--soft); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .84em; overflow-wrap: anywhere; }
.gh-content pre { max-width: 100%; margin: 2em 0; padding: 20px 22px; overflow: auto; border: 1px solid var(--rule); background: #161616; color: #f3f3f3; font-size: .82rem; line-height: 1.58; tab-size: 4; }
.gh-content pre code { padding: 0; background: transparent; color: inherit; overflow-wrap: normal; }
.gh-content sup, .gh-content sub { font-size: .72em; line-height: 0; }
.gh-content table { display: block; width: 100%; max-width: 100%; margin: 2em 0; overflow-x: auto; border-collapse: collapse; font-size: .9rem; white-space: nowrap; }
.gh-content th, .gh-content td { padding: 9px 12px; border-bottom: 1px solid var(--rule); text-align: left; }
.gh-content thead th { border-top: 1px solid var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.gh-content tbody tr:last-child td { border-bottom-color: var(--ink); }
.gh-content .footnotes { margin-top: 3.5em; padding-top: 20px; border-top: 1px solid var(--ink); font-size: .85rem; }

/* Koenig cards */
.kg-card { margin: 2.3em 0; }
.kg-card figcaption { margin: 9px auto 0; color: var(--muted); font-size: .8rem; line-height: 1.45; text-align: center; }
.kg-card figcaption a { color: inherit; }
.kg-image-card img { width: 100%; }
.kg-width-wide { width: min(960px, calc(100vw - 48px)); margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.kg-width-full img { width: 100%; }
.kg-gallery-container { display: flex; flex-direction: column; gap: 8px; }
.kg-gallery-row { display: flex; gap: 8px; }
.kg-gallery-image { min-width: 0; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.kg-video-card video, .kg-audio-card audio { width: 100%; }
.kg-video-container { position: relative; }
.kg-video-container video { width: 100%; }
.kg-embed-card > :where(iframe, .twitter-tweet), .kg-embed-card iframe { width: 100%; max-width: 100%; margin-inline: auto; }
.kg-embed-card iframe[src*="youtube"], .kg-embed-card iframe[src*="vimeo"] { aspect-ratio: 16 / 9; height: auto; }
.kg-embed-card iframe[src*="spotify"], .kg-embed-card iframe[src*="soundcloud"] { min-height: 152px; }
.kg-bookmark-card a.kg-bookmark-container { display: grid; grid-template-columns: minmax(0, 1fr) 190px; min-height: 150px; overflow: hidden; border: 1px solid var(--rule); color: inherit; text-decoration: none; }
.kg-bookmark-content { display: flex; min-width: 0; flex-direction: column; padding: 20px; }
.kg-bookmark-title { font-weight: 600; line-height: 1.35; }
.kg-bookmark-description { display: -webkit-box; margin-top: 7px; overflow: hidden; color: var(--muted); font-size: .86rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.kg-bookmark-metadata { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; font-size: .75rem; }
.kg-bookmark-icon { width: 20px; height: 20px; }
.kg-bookmark-thumbnail { grid-column: 2; grid-row: 1; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.kg-callout-card { display: flex; gap: 16px; padding: 20px 22px; border: 1px solid var(--ink); border-radius: 0; background: var(--soft); }
.kg-callout-card div.kg-callout-emoji { flex: 0 0 auto; font-size: 1.35rem; line-height: 1.5; }
.kg-callout-text { min-width: 0; }
.kg-button-card { display: flex; justify-content: center; }
.kg-button-card .kg-btn { min-height: 44px; padding: 10px 18px; border-radius: 0; background: var(--ink); color: #fff; font-family: var(--font-serif); font-size: .9rem; text-decoration: none; }
.kg-file-card-container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 22px; border: 1px solid var(--rule); color: inherit; text-decoration: none; }
.kg-file-card-title { font-weight: 600; }
.kg-file-card-caption, .kg-file-card-metadata { color: var(--muted); font-size: .82rem; }
.kg-file-card-icon { width: 42px; }
.kg-toggle-card { padding: 0; border: 0; border-top: 1px solid var(--rule); border-radius: 0; box-shadow: none; }
.kg-toggle-card + .kg-toggle-card { margin-top: -2.3em; }
.kg-toggle-heading { padding: 15px 0; cursor: pointer; }
.kg-toggle-heading-text { font-size: 1.05rem; font-weight: 600; }
.kg-toggle-card-icon { width: 20px; height: 20px; }
.kg-toggle-content { padding: 0 0 16px; }
.kg-product-card-container { padding: 24px; border: 1px solid var(--rule); border-radius: 0; box-shadow: none; }
.kg-product-card-image { max-height: 500px; object-fit: contain; }
.kg-product-card-title { font-family: var(--font-serif); font-size: 1.45rem; }
.kg-product-card-button { border-radius: 0; background: var(--ink); font-family: var(--font-serif); }
.kg-header-card { width: 100vw; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
.kg-header-card-content { padding-inline: max(24px, calc((100vw - var(--wide)) / 2)); }
.kg-header-card h2.kg-header-card-header { font-family: var(--font-serif); }
.kg-signup-card { width: 100vw; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
.kg-signup-card-content { padding-inline: max(24px, calc((100vw - var(--wide)) / 2)); }
.kg-signup-card h2.kg-signup-card-heading { font-family: var(--font-serif); }
.kg-signup-card-button, .kg-signup-card-fields { border-radius: 0; }
.kg-audio-card { padding: 18px; border: 1px solid var(--rule); border-radius: 0; box-shadow: none; }
.kg-audio-title { font-family: var(--font-serif); }

/* Strong overrides for Ghost's card stylesheet, which loads after theme CSS */
.gh-content .kg-bookmark-card a.kg-bookmark-container {
    overflow: hidden;
    border: 0;
    border-block: 1px solid var(--rule);
    border-radius: 0;
    background: var(--paper);
    box-shadow: none;
    color: var(--ink);
}
.gh-content .kg-bookmark-card .kg-bookmark-content { padding: 22px; }
.gh-content .kg-bookmark-card .kg-bookmark-title { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; line-height: 1.35; }
.gh-content .kg-bookmark-card .kg-bookmark-description { color: var(--muted); font-family: var(--font-serif); font-size: .86rem; line-height: 1.48; }
.gh-content .kg-bookmark-card .kg-bookmark-metadata { color: var(--muted); font-family: var(--font-serif); }
.gh-content .kg-bookmark-card .kg-bookmark-author::after { content: "·"; padding-inline: 7px; }
.gh-content .kg-callout-card { border: 1px solid var(--ink); border-radius: 0; background: var(--soft); box-shadow: none; font-family: var(--font-serif); }
.gh-content .kg-button-card .kg-btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 9px 18px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); box-shadow: none; color: #fff; font-family: var(--font-serif); font-size: .9rem; font-weight: 600; line-height: 1.35; }
.gh-content .kg-button-card .kg-btn:hover { background: var(--paper); color: var(--ink); }
.gh-content .kg-cta-card { margin-block: 2.6em; border: 0; border-block: 1px solid var(--ink); border-radius: 0; background: var(--paper); box-shadow: none; color: var(--ink); font-family: var(--font-serif); }
.gh-content .kg-cta-card.kg-cta-bg-grey,
.gh-content .kg-cta-card.kg-cta-bg-white,
.gh-content .kg-cta-card.kg-cta-bg-blue,
.gh-content .kg-cta-card.kg-cta-bg-green,
.gh-content .kg-cta-card.kg-cta-bg-yellow,
.gh-content .kg-cta-card.kg-cta-bg-red,
.gh-content .kg-cta-card.kg-cta-bg-pink,
.gh-content .kg-cta-card.kg-cta-bg-purple,
.gh-content .kg-cta-card.kg-cta-bg-none { background: var(--paper); box-shadow: none; }
.gh-content .kg-cta-card .kg-cta-sponsor-label-wrapper { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.gh-content .kg-cta-card .kg-cta-sponsor-label { color: var(--muted); font-family: var(--font-serif); font-size: .72rem; font-variant: small-caps; font-weight: 600; letter-spacing: .09em; text-transform: none; }
.gh-content .kg-cta-card .kg-cta-content { padding: 24px 0; gap: 22px; border: 0; }
.gh-content .kg-cta-card .kg-cta-content-inner { width: 100%; gap: 18px; }
.gh-content .kg-cta-card .kg-cta-image-container img { border-radius: 0; }
.gh-content .kg-cta-card .kg-cta-text { font-family: var(--font-serif); font-size: 1rem; line-height: 1.55; }
.gh-content .kg-cta-card .kg-cta-text p { margin: 0; line-height: inherit; }
.gh-content .kg-cta-card a.kg-cta-button { display: inline-flex; width: fit-content; min-height: 44px; height: auto; align-items: center; justify-content: center; padding: 9px 18px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink) !important; box-shadow: none; color: #fff !important; font-family: var(--font-serif); font-size: .9rem; font-weight: 600; line-height: 1.35; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.gh-content .kg-cta-card a.kg-cta-button:hover { background: var(--paper) !important; color: var(--ink) !important; opacity: 1; }
.gh-content .kg-cta-card.kg-cta-immersive.kg-cta-has-img a.kg-cta-button { width: fit-content; }
.gh-content .kg-file-card .kg-file-card-container,
.gh-content .kg-product-card .kg-product-card-container,
.gh-content .kg-audio-card { border: 1px solid var(--ink); border-radius: 0; background: var(--paper); box-shadow: none; font-family: var(--font-serif); }
.gh-content .kg-toggle-card { border-radius: 0; box-shadow: none; font-family: var(--font-serif); }
.gh-content .kg-signup-card { border-block: 1px solid var(--ink); border-radius: 0; box-shadow: none; }
.gh-content .kg-signup-card .kg-signup-card-content { font-family: var(--font-serif); }
.gh-content .kg-signup-card h2.kg-signup-card-heading { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.02em; }
.gh-content .kg-signup-card .kg-signup-card-subheading { font-family: var(--font-serif); line-height: 1.55; }
.gh-content .kg-signup-card .kg-signup-card-fields { overflow: hidden; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); box-shadow: none; }
.gh-content .kg-signup-card .kg-signup-card-input { border: 0; border-radius: 0; background: var(--paper); color: var(--ink); font-family: var(--font-serif); }
.gh-content .kg-signup-card .kg-signup-card-button { border-left: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: #fff; font-family: var(--font-serif); font-weight: 500; }
.gh-content .kg-header-card { border-radius: 0; box-shadow: none; }
.gh-content .kg-header-card h2.kg-header-card-header { font-family: var(--font-serif); font-weight: 500; }

/* TOC */
.toc { position: sticky; top: 24px; min-width: 0; font-size: .8rem; }
.toc__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 9px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: inherit; cursor: pointer; font-variant: small-caps; letter-spacing: .08em; text-align: left; }
.toc__toggle span:last-child { display: none; }
.toc__nav { padding-top: 9px; }
.toc__nav a { display: block; padding: 5px 0; color: var(--muted); line-height: 1.4; text-decoration: none; transition: color .15s ease, transform .15s ease; }
.toc__nav a[data-level="3"] { padding-left: 13px; font-size: .94em; }
.toc__nav a:hover, .toc__nav a.is-active { color: var(--ink); transform: translateX(3px); }

/* Post footer, authors and related */
.post-taxonomy { margin-top: 58px; padding-top: 20px; border-top: 1px solid var(--ink); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { padding: 4px 10px; border: 1px solid var(--rule); font-size: .78rem; text-decoration: none; }
.tag-list a:hover { border-color: var(--ink); }
.author-box { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 38px; }
.author-box__avatar { display: grid; width: 80px; height: 80px; overflow: hidden; place-items: center; border: 1px solid var(--rule); border-radius: 50%; background: var(--soft); }
.author-box__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box__body .eyebrow { margin-bottom: 3px; }
.author-box h2 { margin: 0 0 4px; font-size: 1.25rem; }
.author-box h2 a { text-decoration: none; }
.author-box p:last-child { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.related-posts { margin-top: 88px; }
.related-posts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.related-posts__grid .post-card { grid-template-columns: 1fr; }
.related-posts__grid .post-card__image { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 10; }
.comments { margin-top: 90px; }
.comments-collapsible { margin-top: 72px; }
.comments-toggle { min-width: 160px; }
.comments-panel { margin-top: 24px; }
.comments-panel[hidden] { display: none; }
.comments__header { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.comments__header--collapsible { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 0; }
.comments__header .eyebrow { margin-bottom: 5px; }
.comments__header h2 { margin: 0; font-size: 1.65rem; }
.comments__header > p:last-child { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }
.comments__embed { min-height: 160px; padding-top: 4px; }
.comments__embed iframe { width: 100%; border: 0; background: var(--paper); color-scheme: light; }
.comment-gate { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 72px; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.comment-gate p { margin: 0; font-size: .94rem; }
.comment-gate .button { flex: 0 0 auto; }

/* Newsletter and members */
.newsletter-block { display: grid; width: min(calc(100% - 48px), var(--wide)); grid-template-columns: minmax(0, 1fr) minmax(320px, auto); gap: 48px; align-items: center; margin: 84px auto 0; padding: 38px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.newsletter-block h2 { margin: 0 0 6px; font-size: 1.65rem; }
.newsletter-block p { margin: 0; color: var(--muted); font-size: .94rem; }
.newsletter-form__row { display: flex; }
.input { min-width: 260px; min-height: 44px; padding: 9px 12px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); }
.newsletter-form .button { min-width: 104px; }
.button__loading, .form-message { display: none; }
.newsletter-form.loading .button__default { display: none; }
.newsletter-form.loading .button__loading { display: inline; }
.newsletter-form.success .newsletter-form__row { display: none; }
.newsletter-form.success .form-message--success, .newsletter-form.error .form-message--error { display: block; margin-top: 10px; font-size: .84rem; }
.form-message--error { color: #8d1e1e; }
.form-note { color: var(--muted); font-size: .88rem; }
.content-cta { margin: 3em 0; padding: 34px 26px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--soft); text-align: center; }
.content-cta h2 { margin: 0 0 10px; font-size: 1.55rem; }
.content-cta p { max-width: 550px; margin: 0 auto 20px; color: var(--muted); }
.content-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.membership-page { max-width: 800px; margin-inline: auto; }
.membership-page__header { margin-bottom: 42px; text-align: center; }
.membership-page__header > p:last-child { max-width: 620px; margin: 22px auto 0; color: var(--muted); font-size: 1.1rem; }
.membership-signup, .member-status, .paid-membership { margin-top: 34px; padding: 30px; border: 1px solid var(--ink); text-align: center; }
.membership-signup h2, .member-status h2, .paid-membership h2 { margin: 0 0 8px; font-size: 1.6rem; }
.membership-signup > p, .member-status > p, .paid-membership > p { color: var(--muted); }
.membership-signup .newsletter-form__row { justify-content: center; }
.signin-note { margin: 15px 0 0; font-size: .86rem; }
.paid-membership { margin-top: 52px; padding: 0; border: 0; text-align: left; }
.text-button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }

/* Custom Ghost Members authentication dialog */
.auth-dialog { width: min(calc(100% - 32px), 520px); max-height: min(88vh, 700px); padding: 0; overflow: auto; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); box-shadow: none; }
.auth-dialog::backdrop { background: rgba(0, 0, 0, .58); }
.auth-dialog__paper { position: relative; padding: clamp(28px, 5vw, 46px); }
.auth-dialog__close { position: absolute; top: 13px; right: 13px; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.6rem; line-height: 1; }
.auth-dialog h2 { margin: 0; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.05; }
.auth-dialog__intro { margin: 13px 0 26px; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 26px; border-bottom: 1px solid var(--rule); }
.auth-tabs button { min-height: 44px; padding: 8px 4px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; }
.auth-tabs button[aria-selected="true"] { border-bottom-color: var(--ink); color: var(--ink); }
.auth-form { display: grid; gap: 10px; }
.auth-form label { margin-top: 5px; font-size: .82rem; font-weight: 600; }
.auth-form label span { color: var(--muted); font-weight: 400; }
.auth-form .input { width: 100%; }
.auth-form .button { width: 100%; margin-top: 8px; }
.auth-form__message { display: none; margin: 7px 0 0; font-size: .84rem; line-height: 1.45; }
.auth-form.loading .button__default { display: none; }
.auth-form.loading .button__loading { display: inline; }
.auth-form.success > :not(.auth-form__message--success) { display: none; }
.auth-form.success .auth-form__message--success { display: block; padding-block: 20px; border-block: 1px solid var(--ink); }
.auth-form.error .auth-form__message--error { display: block; color: #8d1e1e; }

/* Custom paid tier selector */
.pricing-dialog { width: min(calc(100% - 32px), 940px); max-height: min(90vh, 820px); padding: 0; overflow: auto; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); box-shadow: none; }
.pricing-dialog::backdrop { background: rgba(0, 0, 0, .58); }
.pricing-dialog__paper { position: relative; padding: clamp(28px, 5vw, 52px); }
.pricing-dialog__close { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.6rem; line-height: 1; }
.pricing__header { max-width: 620px; }
.pricing__header .eyebrow { margin-bottom: 7px; }
.pricing__header h2 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; }
.pricing__header > p:last-child { margin: 12px 0 0; color: var(--muted); }
.pricing-cycle { display: inline-flex; margin: 28px 0 22px; border: 1px solid var(--ink); }
.pricing-cycle button { min-height: 40px; padding: 7px 16px; border: 0; background: var(--paper); color: var(--muted); cursor: pointer; }
.pricing-cycle button + button { border-left: 1px solid var(--ink); }
.pricing-cycle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pricing-card { display: flex; min-width: 0; flex-direction: column; padding: 26px; border: 1px solid var(--ink); }
.pricing-card h3 { margin: 0; font-size: 1.45rem; }
.pricing-card__description { margin: 7px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.pricing-card__price { display: flex; align-items: baseline; gap: 6px; margin: 24px 0 18px; }
.pricing-card__price[hidden], .pricing-card__actions [data-plan-cycle][hidden] { display: none; }
.pricing-card__price strong { font-size: 2rem; font-weight: 500; line-height: 1; }
.pricing-card__price span { color: var(--muted); font-size: .82rem; }
.pricing-card__benefits { flex: 1; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--rule); list-style: none; }
.pricing-card__benefits li { position: relative; padding-left: 18px; font-size: .88rem; line-height: 1.45; }
.pricing-card__benefits li + li { margin-top: 8px; }
.pricing-card__benefits li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }
.pricing-card__actions .button { width: 100%; }
.pricing__note { margin: 17px 0 0; color: var(--muted); font-size: .78rem; }

/* Full hero */
.has-full-hero .site-header { position: fixed; top: 0; right: 0; left: 0; width: min(calc(100% - 48px), var(--wide)); color: #fff; border-bottom-color: rgba(255,255,255,.65); }
.has-full-hero .site-header.is-scrolled { color: var(--ink); border-bottom-color: var(--rule); }
.hero-post { position: relative; display: flex; min-height: 100svh; align-items: flex-end; overflow: hidden; background: #202020; color: #fff; }
.hero-post--no-image { min-height: 72vh; background: #171717; }
.hero-post__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-post__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.52); }
.hero-overlay--light .hero-post__overlay { background: rgba(0,0,0,.35); }
.hero-overlay--strong .hero-post__overlay { background: rgba(0,0,0,.68); }
.hero-post__content { position: relative; z-index: 1; padding-block: 180px 72px; }
.hero-post__content .eyebrow, .hero-post__content .post-meta { color: rgba(255,255,255,.83); }
.hero-post__content h1 { max-width: 980px; color: #fff; font-size: clamp(3.2rem, 8vw, 7rem); line-height: .93; }
.hero-post__content > p { max-width: 740px; margin: 24px 0; color: rgba(255,255,255,.9); font-size: 1.2rem; line-height: 1.48; }
.hero-post__content a { color: inherit; }
.hero-post__scroll { position: absolute; z-index: 2; right: 25px; bottom: 32px; color: rgba(255,255,255,.72); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-caption { margin-bottom: 0; }
.hero-article__body { padding-top: 58px; }

/* Taxonomy and author */
.taxonomy-header { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 820px; gap: 46px; margin-bottom: 62px; }
.taxonomy-header--with-image { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); align-items: end; }
.taxonomy-header h1 { margin-bottom: 22px; }
.taxonomy-header p { max-width: 650px; color: var(--muted); font-size: 1.1rem; }
.taxonomy-header__count { color: var(--muted); font-size: .84rem; }
.taxonomy-header figure { max-height: 360px; overflow: hidden; }
.taxonomy-header figure img { width: 100%; height: 100%; object-fit: cover; }
.author-profile { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 46px; align-items: start; max-width: 900px; margin-bottom: 70px; }
.author-profile__portrait { display: grid; aspect-ratio: 1; overflow: hidden; place-items: center; border: 1px solid var(--rule); background: var(--soft); }
.author-profile__portrait img { width: 100%; height: 100%; object-fit: cover; }
.author-profile h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
.author-profile__bio { max-width: 650px; color: var(--muted); font-size: 1.08rem; }
.author-profile__details { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 22px 0; }
.author-profile__details div { display: flex; gap: 7px; }
.author-profile__details dt { color: var(--muted); }
.author-profile__details dt, .author-profile__details dd { margin: 0; font-size: .84rem; }
.author-profile__social { display: flex; flex-wrap: wrap; gap: 18px; font-size: .86rem; }

/* Pages, archive, search and errors */
.page--document { width: min(calc(100% - 48px), var(--measure)); }
.page-article .page-header { margin-bottom: 42px; }
.page-feature { margin: 0 0 45px; }
.page-feature img { width: 100%; }
.archive-intro { max-width: var(--measure); margin-bottom: 45px; }
.archive__fallback { margin-bottom: 12px; }
.archive-year { margin-top: 52px; }
.archive-year:first-child { margin-top: 0; }
.archive-year > h2 { margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 1.25rem; }
.archive-month { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 25px; border-bottom: 1px solid var(--rule); }
.archive-month > h3 { margin: 18px 0; color: var(--muted); font-size: .86rem; font-weight: 500; }
.archive-month__rows .archive-row:last-child { border-bottom: 0; }
.archive-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 20px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.archive-row > time, .archive-row > span { color: var(--muted); font-size: .8rem; }
.archive-row h3 { display: inline; margin: 0; font-size: 1.05rem; font-weight: 500; }
.archive-row h3 a { text-decoration: none; }
.archive-row__tag { margin-left: 12px; color: var(--muted); font-size: .72rem; text-decoration: none; text-transform: uppercase; }
.search-page { max-width: 760px; margin-inline: auto; }
.search-launcher { margin-top: 45px; padding-block: 25px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.search-launcher h2 { margin: 0 0 7px; font-size: 1.45rem; }
.search-launcher > p { color: var(--muted); }
.search-launcher__button { display: flex; width: 100%; min-height: 58px; align-items: center; gap: 13px; padding: 13px 15px; border: 1px solid var(--ink); background: var(--paper); color: var(--muted); cursor: pointer; text-align: left; }
.search-launcher__button span { flex: 1; }
kbd { padding: 1px 6px; border: 1px solid var(--rule); background: var(--soft); font-family: var(--font-serif); font-size: .75em; }
.theme-search { width: min(calc(100% - 32px), 780px); max-height: min(88vh, 820px); padding: 0; overflow: auto; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); box-shadow: none; }
.theme-search::backdrop { background: rgba(0, 0, 0, .58); }
.theme-search__paper { padding: clamp(24px, 5vw, 46px); }
.theme-search__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.theme-search__header .eyebrow { margin-bottom: 5px; }
.theme-search__header h2 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.7rem); line-height: 1.05; }
.theme-search__close { display: grid; width: 44px; height: 44px; flex: 0 0 auto; padding: 0; place-items: center; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: 1.6rem; line-height: 1; }
.theme-search__form { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 22px; padding: 11px 14px; border: 1px solid var(--ink); }
.theme-search__form input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: var(--font-serif); font-size: 1.08rem; }
.theme-search__form input::placeholder { color: #8a8a8a; opacity: 1; }
.theme-search__form:focus-within { border-color: #777; }
.theme-search__status { min-height: 28px; padding: 14px 0 10px; color: var(--muted); font-size: .82rem; }
.theme-search__status.is-error { color: #8d1e1e; }
.theme-search__results { margin: 0; padding: 0; border-top: 1px solid var(--rule); list-style: none; }
.theme-search-result { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 19px 0; border-bottom: 1px solid var(--rule); }
.theme-search-result__number { padding-top: 3px; color: var(--muted); font-size: .75rem; }
.theme-search-result h3 { margin: 0 0 5px; font-size: 1.3rem; line-height: 1.16; }
.theme-search-result h3 a { text-decoration: none; }
.theme-search-result h3 a:hover { text-decoration: underline; }
.theme-search-result__excerpt { display: -webkit-box; margin: 0; overflow: hidden; color: var(--muted); font-size: .87rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.theme-search-result__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; color: var(--muted); font-size: .73rem; white-space: nowrap; }
.error-page { max-width: 760px; min-height: 62vh; }
.error-page > p:not(.eyebrow) { color: var(--muted); }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 9px; }

/* Footer */
.site-footer { display: grid; width: min(calc(100% - 48px), var(--wide)); grid-template-columns: minmax(0, 1fr) auto; gap: 26px 50px; margin: 96px auto 0; padding: 28px 0 38px; border-top: 1px solid var(--ink); color: var(--muted); font-size: .82rem; }
.site-footer__title { color: var(--ink); font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.site-footer__intro p { max-width: 480px; margin: 5px 0 0; }
.site-footer__navigation .nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__link { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; }
.site-footer__link:hover { text-decoration: underline; }
.site-footer__meta { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 8px 18px; padding-top: 18px; border-top: 1px solid var(--rule); }

@media (max-width: 1024px) {
    .site-navigation .nav { gap-inline: 16px; }
    .article-layout { grid-template-columns: minmax(0, var(--measure)) 180px; gap: 45px; }
    .featured-story { grid-template-columns: 1.12fr .88fr; }
    .related-posts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .related-posts__grid .post-card:last-child { display: none; }
}

@media (max-width: 820px) {
    :root { --header-height: 68px; }
    body { font-size: 17px; }
    .page, .page-wide, .page-narrow, .newsletter-block, .site-footer { width: min(calc(100% - 30px), var(--wide)); }
    .site-header { width: min(calc(100% - 30px), var(--wide)); }
    .menu-toggle { display: grid; margin-left: auto; }
    .site-menu { position: fixed; inset: var(--header-height) 0 auto; display: none; max-height: calc(100svh - var(--header-height)); flex-direction: column; align-items: stretch; gap: 28px; overflow-y: auto; padding: 28px 24px 34px; border-bottom: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
    .site-header.is-scrolled .site-menu { top: 60px; max-height: calc(100svh - 60px); }
    .site-menu.is-open { display: flex; }
    .site-navigation .nav { flex-direction: column; align-items: stretch; gap: 0; }
    .site-navigation a { display: block; min-height: 48px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 1.18rem; }
    .header-actions { justify-content: flex-start; }
    .has-full-hero .site-header { width: min(calc(100% - 30px), var(--wide)); }
    .has-full-hero .site-menu { background: #171717; color: #fff; }
    .has-full-hero .site-navigation a { border-bottom-color: rgba(255,255,255,.25); }
    .has-full-hero .site-header.is-scrolled .site-menu { background: var(--paper); color: var(--ink); }
    .has-full-hero .site-header.is-scrolled .site-navigation a { border-bottom-color: var(--rule); }
    .featured-story, .taxonomy-header--with-image { grid-template-columns: 1fr; }
    .home-feature--featured .featured-story { grid-template-columns: 1fr; }
    .featured-story__media,
    .home-feature--featured .featured-story__media { min-width: 0; min-height: 0; aspect-ratio: 16 / 10; }
    .bibliography-item { grid-template-columns: 38px minmax(0, 1fr) 100px; gap: 17px; }
    .bibliography-item__thumb { grid-column: 3; grid-row: 1; width: 100px; }
    .bibliography-item__meta { grid-column: 2 / -1; grid-row: 2; min-width: 0; flex-direction: row; gap: 13px; align-items: start; }
    .bibliography-item--simple { grid-template-columns: 38px minmax(0, 1fr) 100px; }
    .bibliography-item--simple .bibliography-item__meta { grid-column: 3; grid-row: 1; flex-direction: column; align-items: flex-end; }
    .home-editorial-grid { grid-template-columns: 1fr; gap: 54px; }
    .post-feed { grid-template-columns: 1fr; }
    .article-layout { display: flex; flex-direction: column; padding-top: 42px; }
    .article-content { width: min(100%, var(--measure)); margin-inline: auto; }
    .toc { position: static; order: -1; width: min(100%, var(--measure)); margin-inline: auto; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
    .toc__toggle span:last-child { display: inline; }
    .toc__nav { display: none; padding-bottom: 12px; }
    .toc.is-open .toc__nav { display: block; }
    .toc.is-open .toc__toggle span:last-child { transform: rotate(45deg); }
    .kg-width-wide, .kg-width-full, .kg-header-card, .kg-signup-card { width: 100vw; }
    .related-posts__grid { grid-template-columns: 1fr; }
    .related-posts__grid .post-card:last-child { display: grid; }
    .newsletter-block { grid-template-columns: 1fr; gap: 24px; }
    .author-profile { grid-template-columns: 140px minmax(0, 1fr); gap: 28px; }
    .archive-month { grid-template-columns: 90px minmax(0, 1fr); }
}

@media (max-width: 600px) {
    h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
    .page { padding-top: 45px; }
    .page-header { margin-bottom: 42px; }
    .post-header { padding-top: 48px; }
    .post-header__deck { font-size: 1.05rem; }
    .featured-story { gap: 25px; padding-top: 24px; }
    .bibliography-item { grid-template-columns: 30px minmax(0, 1fr) 84px; gap: 13px; }
    .bibliography-item__thumb { width: 84px; }
    .bibliography-item__body > p { display: none; }
    .bibliography-item--simple { grid-template-columns: 30px minmax(0, 1fr) auto; }
    .bibliography-item--simple .bibliography-item__meta span { display: none; }
    .home-topic-entry { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 13px; }
    .home-topic-entry h3 { font-size: 1.28rem; }
    .post-card { grid-template-columns: minmax(0, 1fr) 110px; gap: 18px; }
    .post-feed:not(.post-feed--ruled) .post-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); }
    .post-feed:not(.post-feed--ruled) .post-card__image { grid-column: 1; grid-row: 1; height: 90px; }
    .post-feed:not(.post-feed--ruled) .post-card__content { grid-column: 2; }
    .post-feed:not(.post-feed--ruled) .post-card__excerpt { display: none; }
    .post-card__title { font-size: 1.25rem; }
    .post-meta > *:not(:last-child)::after { padding-inline: 8px; }
    .post-feature { width: 100%; margin-top: 0; aspect-ratio: 16 / 10; }
    .post-feature img { height: 100%; max-height: none; object-fit: cover; }
    .post-feature figcaption { padding-inline: 15px; }
    .gh-content h2 { font-size: 1.65rem; }
    .gh-content h3 { font-size: 1.25rem; }
    .kg-bookmark-card a.kg-bookmark-container { grid-template-columns: 1fr; }
    .kg-bookmark-thumbnail { grid-column: 1; grid-row: 1; height: 170px; }
    .gh-content .kg-signup-card .kg-signup-card-fields { display: grid; border: 0; background: transparent; }
    .gh-content .kg-signup-card .kg-signup-card-input { min-height: 44px; border: 1px solid var(--ink); }
    .gh-content .kg-signup-card .kg-signup-card-button { min-height: 44px; margin-top: 8px; border: 1px solid var(--ink); }
    .gh-content .kg-cta-card .kg-cta-content { flex-direction: column; gap: 18px; padding: 20px 0; }
    .gh-content .kg-cta-card .kg-cta-image-container img,
    .gh-content .kg-cta-card.kg-cta-minimal .kg-cta-image-container img { width: 100%; height: auto; max-height: 280px; object-fit: cover; }
    .gh-content .kg-cta-card a.kg-cta-button,
    .gh-content .kg-cta-card.kg-cta-immersive.kg-cta-has-img a.kg-cta-button { width: 100%; }
    .kg-gallery-row { gap: 4px; }
    .newsletter-form__row { flex-direction: column; gap: 8px; }
    .comment-gate { align-items: stretch; flex-direction: column; gap: 13px; }
    .comment-gate .button { width: 100%; }
    .comments__header--collapsible { align-items: stretch; flex-direction: column; gap: 14px; }
    .comments__header--collapsible .comments-toggle { width: 100%; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card { padding: 22px; }
    .theme-search { width: calc(100% - 20px); max-height: calc(100svh - 20px); }
    .theme-search__paper { padding: 22px 17px 28px; }
    .theme-search__header { gap: 12px; }
    .theme-search__form { grid-template-columns: auto minmax(0, 1fr); }
    .theme-search__form kbd { display: none; }
    .theme-search-result { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
    .theme-search-result__meta { grid-column: 2; flex-direction: row; align-items: flex-start; gap: 10px; }
    .input { width: 100%; min-width: 0; }
    .hero-post { min-height: 88svh; }
    .hero-post__content { padding-block: 145px 48px; }
    .hero-post__content h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
    .hero-post__content > p { font-size: 1.02rem; }
    .hero-post__scroll { display: none; }
    .author-profile { grid-template-columns: 1fr; }
    .author-profile__portrait { width: 130px; }
    .archive-month { grid-template-columns: 1fr; gap: 0; }
    .archive-month > h3 { margin-bottom: 0; }
    .archive-row { grid-template-columns: 62px minmax(0, 1fr); }
    .archive-row > span { display: none; }
    .archive-row__tag { display: block; margin: 4px 0 0; }
    .pagination { grid-template-columns: 1fr 1fr; }
    .pagination__status { grid-column: 1 / -1; grid-row: 1; text-align: center; }
    .site-footer { grid-template-columns: 1fr; }
    .site-footer__navigation .nav { justify-content: flex-start; }
}

@media (max-width: 390px) {
    body { font-size: 16.5px; }
    .page, .page-wide, .page-narrow, .newsletter-block, .site-header, .site-footer, .has-full-hero .site-header { width: calc(100% - 24px); }
    .site-brand { max-width: calc(100vw - 92px); font-size: 1.08rem; }
    .bibliography-item { grid-template-columns: 26px minmax(0, 1fr); }
    .bibliography-item__thumb { display: none; }
    .bibliography-item__meta { grid-column: 2; }
    .bibliography-item--simple { grid-template-columns: 26px minmax(0, 1fr); }
    .bibliography-item--simple .bibliography-item__meta { grid-column: 2; grid-row: 2; flex-direction: row; align-items: flex-start; }
    .post-feed--ruled .post-card { grid-template-columns: 1fr; }
    .post-feed--ruled .post-card__image { display: none; }
    .author-box { grid-template-columns: 62px minmax(0, 1fr); }
    .author-box__avatar { width: 62px; height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto; transition-duration: .01ms; animation-duration: .01ms; animation-iteration-count: 1; }
}
