/* ==========================================================================
   Essayist — a text-first restyle of Attila
   Structure:
   1. Tokens & themes
   2. Reset & base
   3. Site header & navigation
   4. Slide-over menu panel
   5. Homepage hero & topics
   6. Post list
   7. Pagination
   8. Archive (tag/author) heroes
   9. Post page header
   10. Reading typography (.post-content)
   11. Editor cards (koenig) refinements
   12. Code & syntax highlighting
   13. Post footer, share, tags, post-nav
   14. Subscribe CTA
   15. Site footer
   16. Progress bar
   17. Utilities, focus, motion, responsive
   ========================================================================== */

/* 1. Tokens & themes
   ========================================================================== */

:root {
	/* Base colors come from Ghost Admin > Design (see default.hbs).
	   These are fallbacks; muted, line and soft are derived so that any
	   background/text pairing stays harmonious. */
	--paper: #FBFAF7;
	--ink: #201E1A;
	--muted: color-mix(in srgb, var(--ink) 66%, var(--paper));
	--line: color-mix(in srgb, var(--ink) 12%, var(--paper));
	--soft: color-mix(in srgb, var(--ink) 5%, var(--paper));
	--accent: var(--ghost-accent-color, #7D2A20);
	/* Base of the page: the subscribe band and footer are tones of the background.
	   Adjust in Code Injection: <style>:root { --band-step: 8%; --footer-step: 12%; }</style> */
	--band-step: 6%;
	--footer-step: 10%;
	--band: color-mix(in srgb, var(--ink) var(--band-step), var(--paper));
	--footer-tone: color-mix(in srgb, var(--ink) var(--footer-step), var(--paper));

	--font-serif: var(--gh-font-body, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif);
	--font-serif-heading: var(--gh-font-heading, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif);
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--content-width: 42rem;
	--wide-width: 54rem;
	--frame-width: calc(var(--wide-width) - 3rem); /* header, footer, list text and images share this */
	--site-width: 74rem;

	--body-size: 1.3125rem;
	--body-leading: 1.72;
}

.theme-dark:root {
	--paper: #1E1C19;
	--ink: #EAE7E0;
}

@media (prefers-color-scheme: dark) {
	html:not(.theme-light):root {
		--paper: #1E1C19;
		--ink: #EAE7E0;
	}
}

/* 2. Reset & base
   ========================================================================== */

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-text, var(--font-serif));
	font-size: var(--body-size);
	line-height: var(--body-leading);
	font-feature-settings: "kern" 1, "liga" 1;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img, video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--accent);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 3rem auto;
	width: 100%;
}

::selection {
	background: var(--accent);
	color: var(--paper);
}

.icon svg {
	display: block;
	width: 1.15em;
	height: 1.15em;
	fill: currentColor;
}

.icon-menu svg,
.icon-search svg,
.icon-sun svg,
.icon-moon svg,
.icon-close svg {
	fill: none;
	width: 1.3em;
	height: 1.3em;
}

/* 3. Site header & navigation
   ========================================================================== */

.site-header {
	border-bottom: 1px solid var(--line);
	background: var(--paper);
}

.site-header-inner {
	/* Header, footer, essay list and wide images share one width;
	   the reading text sits inside it. */
	max-width: var(--wide-width);
	margin: 0 auto;
	padding: 0 1.5rem;
	min-height: 4.75rem;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
}

.site-brand {
	justify-self: start;
	min-width: 0;
}

.site-brand-link {
	display: inline-flex;
	align-items: center;
	color: var(--ink);
}

.site-brand-link:hover {
	text-decoration: none;
}

.site-brand-link:hover .site-name {
	box-shadow: 0 1px 0 0 var(--accent);
}

.site-logo {
	max-height: 2.1rem;
	width: auto;
}

.site-name {
	font-family: var(--font-serif-heading);
	font-size: 1.55rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.site-nav {
	justify-self: center;
}

.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.75rem;
}

.site-nav li a {
	font-family: var(--font-serif-heading);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--muted);
	letter-spacing: 0.01em;
}

.site-nav li a:hover,
.site-nav li.active a {
	text-decoration: none;
	box-shadow: 0 1px 0 0 var(--accent);
}

.site-nav li.active a {
	color: var(--ink);
}

.site-actions {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.action-search,
.action-menu,
.action-theme {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	color: var(--muted);
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	font-size: 1rem;
}

.action-search:hover,
.action-menu:hover,
.action-theme:hover {
	color: var(--ink);
	text-decoration: none;
}

.action-subscribe {
	font-family: var(--font-serif);
	font-size: 0.98rem;
	font-weight: 600;
	color: var(--paper);
	background: var(--ink);
	padding: 0.5rem 1rem;
	border-radius: 2px;
	white-space: nowrap;
}

.action-subscribe:hover {
	background: var(--accent);
	text-decoration: none;
}

/* 4. Drop-down menu panel (opens from beneath the header bar)
   ========================================================================== */

.site-header {
	position: relative;
	z-index: 40;
}

.menu-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--paper);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	clip-path: inset(0 0 100% 0);
	visibility: hidden;
	transition: clip-path 0.28s ease, visibility 0s linear 0.28s;
	z-index: 40;
}

.menu-active .menu-panel {
	clip-path: inset(0 0 0 0);
	visibility: visible;
	transition: clip-path 0.28s ease, visibility 0s;
}

.menu-panel-inner {
	max-width: var(--wide-width);
	margin: 0 auto;
	padding: 1.5rem 1.5rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.nav-close {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.28s ease;
	z-index: 30;
	cursor: pointer;
}

.menu-active .nav-close {
	opacity: 1;
	pointer-events: auto;
}

.menu-active {
	overflow: hidden;
}

/* Appearance toggle: shown on laptops only; the icon shows the mode you would switch to */
.action-theme {
	display: none;
}

.theme-toggle .icon-moon,
.theme-dark .theme-toggle .icon-sun {
	display: block;
}

.theme-toggle .icon-sun,
.theme-dark .theme-toggle .icon-moon {
	display: none;
}

@media (prefers-color-scheme: dark) {
	html:not(.theme-light) .theme-toggle .icon-sun { display: block; }
	html:not(.theme-light) .theme-toggle .icon-moon { display: none; }
}

@media (min-width: 901px) {
	.action-theme {
		display: inline-flex;
	}

	.action-menu {
		display: none;
	}
}

/* Hamburger becomes a close mark while the menu is open */
.action-menu .icon-close {
	display: none;
}

.menu-active .action-menu .icon-menu {
	display: none;
}

.menu-active .action-menu .icon-close {
	display: block;
}

.menu-panel nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.menu-panel .menu-panel-nav ul {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 2rem;
}

.menu-panel .menu-panel-secondary ul {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 1.5rem;
}

.menu-panel-nav li a {
	font-family: var(--font-serif-heading);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--ink);
}

.menu-panel-nav li.active a,
.menu-panel-nav li a:hover {
	color: var(--accent);
	text-decoration: none;
}


.menu-panel-secondary li a {
	font-family: var(--font-serif);
	font-size: 1.1rem;
	color: var(--muted);
}

.menu-panel-secondary li a:hover {
	color: var(--ink);
	text-decoration: none;
}










.menu-subscribe {
	font-family: var(--font-serif);
	font-variant-caps: small-caps;
	text-transform: lowercase;
	font-feature-settings: "smcp" 1, "kern" 1;
	letter-spacing: 0.07em;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--paper);
	background: var(--ink);
	padding: 0.7rem 1.5rem;
	border-radius: 2px;
}

.menu-subscribe:hover {
	background: var(--accent);
	text-decoration: none;
}

.menu-panel-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
}

.menu-theme {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	color: var(--muted);
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	font-size: 1rem;
}

.menu-theme:hover {
	color: var(--ink);
}

/* 5. Homepage hero & topics
   ========================================================================== */

.home-hero {
	padding: 5.5rem 1.5rem 1.5rem;
	text-align: center;
}

.home-hero-inner {
	max-width: var(--wide-width);
	margin: 0 auto;
}

.home-hero {
	/* Heading size: chosen in Design > Homepage; override precisely in Code Injection with
	   <style>.home-hero { --home-title-size: 3.5rem; }</style> */
	--home-title-size: clamp(1.8rem, 3.6vw, 2.4rem);
}

.home-hero.hero-title-s { --home-title-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.home-hero.hero-title-m { --home-title-size: clamp(1.55rem, 3vw, 2rem); }
.home-hero.hero-title-xl { --home-title-size: clamp(2.1rem, 4.4vw, 3rem); }

.home-title {
	font-family: var(--font-serif-heading);
	font-size: var(--home-title-size);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.1;
	margin: 0 0 1rem;
}

.home-description {
	font-size: 1.35rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--ink) 78%, var(--paper));
	max-width: 36rem;
	margin: 0 auto;
	font-style: italic;
}

.home-topics {
	max-width: var(--wide-width);
	margin: 0 auto;
	padding: 0 1.125rem 1rem;
	text-align: center;
}

.home-topics-label {
	display: block;
	font-family: var(--font-serif);
	font-variant-caps: small-caps;
	text-transform: lowercase;
	font-feature-settings: "smcp" 1, "kern" 1;
	font-size: 1rem;
	letter-spacing: 0.08em;
	color: var(--muted);
	margin-bottom: 0.6rem;
}

.home-topics-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.125rem;
}

.home-topics-list a {
	font-family: var(--font-serif);
	font-size: 1.3rem;
	font-weight: 500;
	font-style: italic;
	color: var(--ink);
}

.home-topics-list a:hover {
	color: var(--accent);
	text-decoration: none;
}

.home-topics-all a {
	color: var(--ink);
	font-style: italic;
}

/* 6. Post list
   ========================================================================== */

#index .content {
	max-width: var(--wide-width);
	margin: 0 auto;
	padding: 1.5rem 1.5rem 1rem;
}

.post-list {
	border-top: 1px solid var(--line);
}

.post-item {
	border-bottom: 1px solid var(--line);
}

.post-item-link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	column-gap: 2rem;
	padding: 2.25rem 0;
	color: inherit;
}

.post-item-text {
	grid-column: 1;
	grid-row: 1;
}

.post-item-meta {
	grid-column: 1;
	grid-row: 2;
	margin-top: 0.8rem;
}

/* Laptop: the picture spans both rows, down to the bottom of the date */
.post-item-thumb {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.post-item-link:hover {
	text-decoration: none;
}

.post-item-text {
	flex: 1;
	min-width: 0;
}

.post-item-topline {
	display: flex;
	gap: 1.25rem;
	align-items: baseline;
	margin-bottom: 0.5rem;
}

.post-item-tag {
	font-family: var(--font-serif);
	font-variant-caps: small-caps;
	text-transform: lowercase;
	font-feature-settings: "smcp" 1, "kern" 1;
	font-size: 1.08rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--accent);
}

.post-item-featured {
	font-family: var(--font-serif);
	font-variant-caps: small-caps;
	text-transform: lowercase;
	font-feature-settings: "smcp" 1, "kern" 1;
	font-size: 1rem;
	letter-spacing: 0.06em;
	color: var(--muted);
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.post-item-featured .icon svg {
	width: 0.85em;
	height: 0.85em;
}

.post-item-title {
	font-family: var(--font-serif-heading);
	font-size: 1.85rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.22;
	margin: 0 0 0.6rem;
	color: var(--ink);
	transition: color 0.15s ease;
}

.post-item-link:hover .post-item-title {
	color: var(--accent);
}

.post-item-excerpt {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-item-meta {
	font-family: var(--font-serif);
	font-feature-settings: "lnum" 1, "kern" 1;
	font-size: 1.02rem;
	color: var(--muted);
}

.post-item-thumb {
	width: 10rem;
	min-height: 7rem;
	align-self: stretch;
	overflow: hidden;
	border-radius: 3px;
}

.post-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.92);
}

/* 7. Pagination
   ========================================================================== */

.pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 2rem 0 0;
	font-family: var(--font-serif);
	font-size: 0.98rem;
}

.pagination a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--muted);
}

.pagination a:hover {
	color: var(--accent);
	text-decoration: none;
}

.pagination-info {
	color: var(--muted);
}

/* 8. Archive (tag/author) heroes
   ========================================================================== */

.archive-hero {
	padding: 4.5rem 1.5rem 1.5rem;
	text-align: center;
}

.archive-hero-inner {
	max-width: var(--content-width);
	margin: 0 auto;
}

.archive-kicker {
	font-family: var(--font-serif);
	font-variant-caps: small-caps;
	text-transform: lowercase;
	font-feature-settings: "smcp" 1, "kern" 1;
	font-size: 1rem;
	letter-spacing: 0.08em;
	color: var(--muted);
	display: block;
	margin-bottom: 0.75rem;
}

.archive-title {
	font-family: var(--font-serif-heading);
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.12;
	margin: 0 0 0.9rem;
}

.archive-description {
	font-size: 1.15rem;
	line-height: 1.6;
	color: var(--muted);
	margin: 0 0 0.9rem;
}

.archive-count {
	font-feature-settings: "lnum" 1, "kern" 1;
	font-family: var(--font-serif);
	font-size: 0.98rem;
	color: var(--muted);
}

.archive-avatar {
	margin: 0 auto 1.25rem;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 50%;
	overflow: hidden;
}

.archive-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.archive-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.25rem;
	margin-top: 1.25rem;
}

.archive-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: var(--font-serif);
	font-size: 0.98rem;
	color: var(--muted);
}

.archive-links a:hover {
	color: var(--accent);
	text-decoration: none;
}

/* 9. Post page header
   ========================================================================== */

.post-header {
	padding: 5rem 1.5rem 0;
}

.post-header-inner {
	max-width: var(--frame-width);
	margin: 0 auto;
	text-align: center;
}

.post-tag-link {
	font-family: var(--font-serif);
	font-variant-caps: small-caps;
	text-transform: lowercase;
	font-feature-settings: "smcp" 1, "kern" 1;
	font-size: 1.15rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--accent);
}

.post-title {
	font-family: var(--font-serif-heading);
	font-size: clamp(2.4rem, 6vw, 3.6rem);
	font-weight: 600;
	letter-spacing: -0.018em;
	line-height: 1.12;
	margin: 0.9rem 0 0;
	text-wrap: balance;
}

.post-subtitle {
	font-size: 1.3rem;
	line-height: 1.55;
	color: var(--muted);
	font-style: italic;
	max-width: 38rem;
	margin: 1.4rem auto 0;
	text-wrap: balance;
}

.post-meta {
	font-family: var(--font-serif);
	font-feature-settings: "lnum" 1, "kern" 1;
	font-size: 1.05rem;
	color: var(--muted);
	margin-top: 1.6rem;
}

.post-header-rule {
	display: block;
	width: 3.5rem;
	height: 1px;
	background: var(--line);
	margin: 2.25rem auto 0;
}

.post-feature {
	max-width: var(--frame-width);
	margin: 3rem auto 0;
}

.post-feature img {
	display: block;
	width: 100%;
	border-radius: 3px;
}

.post-feature figcaption {
	font-family: var(--font-serif);
	font-size: 0.98rem;
	color: var(--muted);
	text-align: center;
	margin-top: 0.75rem;
}

.post-feature figcaption a {
	color: inherit;
	text-decoration: underline;
}

/* 10. Reading typography (.post-content)
   ========================================================================== */

.post .inner,
.page .inner {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.post-content {
	padding: 3.25rem 0 1rem;
}

.post-content > * {
	margin-top: 0;
	margin-bottom: 1.7rem;
}

.post-content p {
	letter-spacing: 0.002em;
	/* Calmer ragged edge: browsers that support it avoid lone short words
	   on the last line and balance breaks within the paragraph. */
	text-wrap: pretty;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
	font-family: var(--font-serif-heading);
	font-weight: 600;
	letter-spacing: -0.012em;
	line-height: 1.25;
	margin-top: 3rem;
	margin-bottom: 1.1rem;
	text-wrap: balance;
}

.post-content h1 { font-size: 2.1rem; }
.post-content h2 { font-size: 1.8rem; }
.post-content h3 { font-size: 1.45rem; }
.post-content h4 { font-size: 1.2rem; }
.post-content h5,
.post-content h6 { font-size: 1.05rem; }

.post-content a {
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
	text-underline-offset: 0.16em;
	text-decoration-thickness: 1px;
}

.post-content a:hover {
	text-decoration-color: var(--accent);
}

.post-content strong {
	font-weight: 650;
}

.post-content ul,
.post-content ol {
	padding-left: 1.6rem;
}

.post-content li {
	margin-bottom: 0.55rem;
}

.post-content li::marker {
	color: var(--muted);
}

.post-content blockquote {
	margin: 2.4rem 0;
	padding: 0 0 0 1.6rem;
	border-left: 2px solid var(--accent);
	font-style: italic;
	font-size: 1.35rem;
	line-height: 1.6;
	color: var(--ink);
}

.post-content blockquote em {
	font-style: normal;
}

.post-content .kg-blockquote-alt {
	border: 0;
	padding: 0;
	text-align: center;
	font-size: 1.6rem;
	line-height: 1.5;
	font-style: italic;
	color: var(--ink);
	margin: 3rem auto;
	max-width: 34rem;
}

.post-content figure {
	margin-left: 0;
	margin-right: 0;
}

.post-content figcaption {
	font-family: var(--font-serif);
	font-size: 0.98rem;
	color: var(--muted);
	text-align: center;
	margin-top: 0.75rem;
}

.post-content img {
	border-radius: 3px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.post-content hr {
	position: relative;
	width: 80%;
	height: 1px;
	border: 0;
	margin: 3.5rem auto;
	overflow: visible;
	background: linear-gradient(90deg,
		transparent 0%,
		color-mix(in srgb, var(--ink) 32%, var(--paper)) 18%,
		color-mix(in srgb, var(--ink) 32%, var(--paper)) 82%,
		transparent 100%);
}

.post-content hr::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 7px;
	height: 7px;
	transform: translate(-50%, -50%) rotate(45deg);
	background: var(--paper);
	border: 1px solid var(--accent);
}

/* Drop cap on the opening paragraph of a post.
   Fallback (Firefox): a floated letter, tuned so its baseline lands near the
   third line's baseline. Where the browser supports initial-letter (Safari,
   Chrome, Edge), the letter is sized and aligned exactly: cap height on the
   first line, baseline on the third. */
.post .post-content > p:first-child::first-letter {
	font-family: var(--font-serif-heading);
	font-weight: 600;
	color: var(--accent);
	float: left;
	/* Plain floated fallback (no negative margins: Firefox lays those out
	   differently and lets text overlap the letter). Tuned for a three-line cap. */
	font-size: 5.95em;
	line-height: 0.78;
	margin-top: 0.04em;
	margin-right: 0.09em;
	position: relative;
	top: 0;
}

.type-cormorant .post .post-content > p:first-child::first-letter {
	font-size: 6.18em;
	line-height: 0.78;
	margin-top: 0;
	margin-right: 0.08em;
}

.type-cormorant-headings .post .post-content > p:first-child::first-letter {
	font-size: 6.6em;
	line-height: 0.78;
	margin-top: 0.02em;
	margin-right: 0.08em;
}

@supports (initial-letter: 3) or (-webkit-initial-letter: 3) {
	.post .post-content > p:first-child::first-letter,
	.type-cormorant .post .post-content > p:first-child::first-letter,
	.type-cormorant-headings .post .post-content > p:first-child::first-letter,
	.type-eb-body.type-eb-headings .post .post-content > p:first-child::first-letter,
	.type-eb-body.type-cormorant-headings .post .post-content > p:first-child::first-letter,
	.type-charter-body.type-cormorant-headings .post .post-content > p:first-child::first-letter,
	.type-ss-body.type-cormorant-headings .post .post-content > p:first-child::first-letter {
		float: none;
		font-size: inherit;
		line-height: inherit;
		margin-top: 0;
		margin-right: 0.1em;
		position: static;
		-webkit-initial-letter: 3;
		initial-letter: 3;
	}
}

/* Firefox only: keep the floated construction even if a future or
   experimental build reports initial-letter support, since its
   implementation is unfinished. */
@supports (-moz-appearance: none) {
	/* Calibrated from measurement in Firefox (14 Sep 2026): the letter's box
	   ends at its own baseline (line-height 0.637 = its baseline offset), and
	   margin-top places that baseline on the third line's baseline. */
	.post .post-content > p:first-child::first-letter {
		float: left;
		initial-letter: normal;
		position: relative;
		font-size: 5.95em;
		line-height: 0.637;
		margin-top: 0.188em;
		margin-right: 0.09em;
	}

	.type-cormorant .post .post-content > p:first-child::first-letter {
		font-size: 6.18em;
		line-height: 0.637;
		margin-top: 0.148em;
		margin-right: 0.08em;
	}

	.type-cormorant-headings .post .post-content > p:first-child::first-letter {
		font-size: 6.6em;
		line-height: 0.637;
		margin-top: 0.168em;
		margin-right: 0.08em;
	}

	.type-eb-body.type-eb-headings .post .post-content > p:first-child::first-letter {
		font-size: 6.08em;
		line-height: 0.637;
		margin-top: 0.141em;
	}

	.type-eb-body.type-cormorant-headings .post .post-content > p:first-child::first-letter {
		font-size: 6.32em;
		line-height: 0.637;
		margin-top: 0.148em;
	}

	.type-charter-body.type-cormorant-headings .post .post-content > p:first-child::first-letter {
		font-size: 6.03em;
		line-height: 0.637;
		margin-top: 0.145em;
	}

	.type-ss-body.type-cormorant-headings .post .post-content > p:first-child::first-letter {
		font-size: 6.19em;
		line-height: 0.637;
		margin-top: 0.144em;
	}
}

/* 11. Editor cards (koenig) refinements
   ========================================================================== */

.kg-width-wide {
	position: relative;
	width: calc(100% + 12rem);
	max-width: min(var(--frame-width), calc(100vw - 3rem));
	margin-left: 50%;
	transform: translateX(-50%);
}

.kg-width-full {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
}

.kg-width-full img {
	border-radius: 0;
}

.kg-callout-card {
	border-radius: 4px;
	font-size: 1.05rem;
	line-height: 1.6;
	font-family: var(--font-serif);
}

.kg-button-card .kg-btn,
.kg-btn-accent {
	border-radius: 2rem;
	font-family: var(--font-serif);
	font-weight: 500;
}

.kg-bookmark-card,
.kg-bookmark-container {
	border-radius: 4px;
}

.kg-bookmark-container {
	border: 1px solid var(--line);
	box-shadow: none;
	background: var(--paper);
	color: var(--ink);
}

.kg-bookmark-title,
.kg-bookmark-description,
.kg-bookmark-metadata {
	font-family: var(--font-serif);
	color: inherit;
}

.kg-bookmark-description {
	color: var(--muted);
}

.kg-card figcaption {
	font-family: var(--font-serif);
	font-size: 0.98rem;
	color: var(--muted);
}

.kg-toggle-card {
	background: var(--soft);
	border-radius: 4px;
}

.kg-toggle-heading-text {
	font-family: var(--font-serif-heading);
}

.kg-header-card h2,
.kg-header-card h3 {
	font-family: var(--font-serif-heading);
}

.kg-product-card-container {
	border: 1px solid var(--line);
	border-radius: 4px;
	box-shadow: none;
}

.kg-file-card-container {
	border: 1px solid var(--line);
	border-radius: 4px;
}

/* 12. Code & syntax highlighting
   ========================================================================== */

.post-content code {
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	font-size: 0.82em;
	background: var(--soft);
	border-radius: 3px;
	padding: 0.15em 0.4em;
}

.post-content pre {
	position: relative;
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 1.2rem 1.4rem;
	overflow-x: auto;
	font-size: 0.85rem;
	line-height: 1.6;
}

.post-content pre code {
	background: none;
	padding: 0;
	font-size: inherit;
}


/* 13. End of an essay: share, author and topics, what to read next
   ========================================================================== */

.post-end {
	margin-top: 1.5rem;
}

.post-end > * + * {
	border-top: 1px solid var(--line);
	margin-top: 2.5rem;
	padding-top: 2.25rem;
}

/* 1. The essay closes with the same short rule that follows its title;
   the share button sits after that pause */
.post-share {
	text-align: center;
	padding-top: 3rem;
	position: relative;
}

.post-share::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 3.5rem;
	height: 1px;
	background: var(--line);
	transform: translateX(-50%);
}

.post-share-button {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: none;
	border: 1px solid var(--ink);
	border-radius: 2px;
	padding: 0.75rem 1.6rem;
	cursor: pointer;
	color: var(--ink);
}

.post-share-button .icon svg {
	width: 1.1em;
	height: 1.1em;
}

.post-share-button:hover,
.post-share-button.is-copied {
	border-color: var(--accent);
	color: var(--accent);
}

/* 2. Author and topics as one block */
.author-box {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
}

.author-box-avatar img {
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.author-box-body {
	min-width: 0;
}

.author-box-label {
	display: block;
	color: var(--muted);
	margin-bottom: 0.15rem;
}

.author-box-name {
	font-family: var(--font-serif-heading);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--ink);
}

.author-box-name:hover {
	color: var(--accent);
	text-decoration: none;
}

.author-box-bio {
	font-size: 1.02rem;
	line-height: 1.55;
	color: var(--muted);
	margin: 0.4rem 0 0;
}

.post-topics-line {
	margin: 1.25rem 0 0;
	font-size: 1.05rem;
	color: var(--muted);
}

.post-topics-line .post-info-label {
	margin-right: 0.6rem;
}

.post-topics-line a {
	color: var(--ink);
}

.post-topics-line a:hover {
	color: var(--accent);
	text-decoration: none;
}

.post-info-label {
	color: var(--muted);
}

.post-comments {
	max-width: var(--content-width);
	margin: 3rem auto 0;
}

.post-comments-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.5rem;
	margin: 0 0 1rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid var(--line);
}

.post-comments-title {
	font-family: var(--font-serif-heading);
	font-size: 1.6rem;
	font-weight: 600;
	margin: 0;
}

.post-comments-count {
	font-family: var(--font-serif);
	font-feature-settings: "lnum" 1, "kern" 1;
	font-size: 1.05rem;
	color: var(--muted);
	white-space: nowrap;
}

/* 3. Previous (older) on the left, next (newer) on the right */
.post-nav {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 2rem;
}

.post-nav a {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	max-width: 48%;
	color: var(--ink);
}

.post-nav a:hover {
	text-decoration: none;
}

.post-nav-next {
	margin-left: auto;
	text-align: right;
	align-items: flex-end;
}

.post-nav-label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--muted);
}

.post-nav-title {
	font-family: var(--font-serif-heading);
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.3;
	transition: color 0.15s ease;
}

.post-nav a:hover .post-nav-title {
	color: var(--accent);
}

/* 14. Subscribe CTA
   ========================================================================== */

.subscribe-cta {
	background: var(--band);
	padding: 4rem 1.5rem 4.25rem;
	margin-top: 2rem;
}

/* Under an essay the band breaks out of the reading column to full width */
.subscribe-cta-post {
	width: 100vw;
	max-width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
	margin-top: 3.5rem;
	margin-bottom: 3.5rem;
}

.subscribe-cta-inner {
	max-width: var(--content-width);
	margin: 0 auto;
	text-align: center;
}

.subscribe-cta .subscribe-input {
	background: var(--paper);
}

.subscribe-cta-title {
	font-family: var(--font-serif-heading);
	font-size: 1.7rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	margin: 0 0 0.7rem;
}

.subscribe-cta-text {
	color: var(--muted);
	font-size: 1.05rem;
	margin: 0 auto 1.5rem;
	max-width: 30rem;
}

.subscribe-cta-button {
	display: inline-block;
	font-family: var(--font-serif);
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--paper);
	background: var(--ink);
	padding: 0.75rem 1.75rem;
	border-radius: 2px;
}

.subscribe-cta-button:hover {
	background: var(--accent);
	text-decoration: none;
}

/* 15. Site footer
   ========================================================================== */

.site-footer {
	background: var(--footer-tone);
	border-top: 1px solid var(--line);
	margin-top: 0;
}

.site-footer-inner {
	max-width: var(--wide-width);
	margin: 0 auto;
	padding: 2rem 1.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.9rem 2rem;
	font-family: var(--font-serif);
	font-size: 0.98rem;
	color: var(--muted);
}

.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.footer-nav a,
.footer-meta a,
.footer-account {
	color: var(--muted);
}

.footer-nav a:hover,
.footer-meta a:hover {
	color: var(--ink);
	text-decoration: none;
}

.footer-meta {
	display: inline-flex;
	align-items: center;
	gap: 1.5rem;
}

.footer-rss {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

/* Elsewhere: social profiles as a quiet row of text links */
.footer-social {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
}

.footer-social[hidden] {
	display: none;
}

.footer-social-label {
	font-family: var(--font-serif);
	font-variant-caps: small-caps;
	text-transform: lowercase;
	font-feature-settings: "smcp" 1, "kern" 1;
	letter-spacing: 0.07em;
	font-size: 1rem;
	font-weight: 500;
	color: var(--muted);
}

.footer-social-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
}

.footer-social-list a {
	font-family: var(--font-serif);
	font-variant-caps: small-caps;
	text-transform: lowercase;
	font-feature-settings: "smcp" 1, "kern" 1;
	letter-spacing: 0.07em;
	font-size: 1rem;
	font-weight: 500;
	color: var(--muted);
}

.footer-social-list a:hover {
	color: var(--ink);
	text-decoration: none;
}

/* Share row under the share button */
.post-share-list {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem 1.5rem;
}

.post-share-list a {
	font-family: var(--font-serif);
	font-variant-caps: small-caps;
	text-transform: lowercase;
	font-feature-settings: "smcp" 1, "kern" 1;
	letter-spacing: 0.07em;
	font-size: 1rem;
	font-weight: 500;
	color: var(--muted);
}

.post-share-list a:hover {
	color: var(--accent);
	text-decoration: none;
}

/* 16. Progress bar
   ========================================================================== */

.progress-container {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	z-index: 70;
	pointer-events: none;
}

.progress-bar {
	display: block;
	height: 100%;
	width: 0;
	background: var(--accent);
	transition: opacity 0.3s ease;
}

.progress-container.complete .progress-bar {
	opacity: 0;
}

/* 17. Utilities, focus, motion, responsive
   ========================================================================== */

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-radius: 2px;
}

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

@media (max-width: 900px) {
	.site-header {
		position: sticky;
		top: 0;
		z-index: 40;
		transition: transform 0.28s ease;
	}

	.site-header.is-hidden {
		transform: translateY(-100%);
	}

	/* When the bar floats over content, let it be slightly translucent with a
	   blur of what passes beneath. Solid paper where blur is unsupported. */
	@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
		.site-header {
			background: color-mix(in srgb, var(--paper) 86%, transparent);
			-webkit-backdrop-filter: blur(14px) saturate(120%);
			backdrop-filter: blur(14px) saturate(120%);
		}
	}

	.site-nav {
		display: none;
	}

	.site-header-inner {
		grid-template-columns: 1fr auto;
	}

	.kg-width-wide {
		width: 100%;
		margin-left: 0;
		transform: none;
	}
}

@media (max-width: 640px) {
	:root {
		--body-size: 1.1875rem;
	}

	.home-hero {
		padding-top: 3.5rem;
		padding-bottom: 1rem;
	}


	.post-header {
		padding-top: 3rem;
	}

	.action-subscribe {
		display: none;
	}

	.post-item-link {
		column-gap: 1rem;
		padding: 1.75rem 0;
	}

	.post-item-title {
		font-size: 1.5rem;
	}

	.post-item-thumb {
		width: 7.5rem;
		min-height: 6rem;
		aspect-ratio: auto;
		grid-row: 1;
		align-self: stretch;
	}

	.post-item-excerpt {
		font-size: 1rem;
		-webkit-line-clamp: 3;
	}

	.post-nav {
		gap: 1.25rem;
	}

	.post-nav-title {
		font-size: 1.05rem;
	}

	.site-footer-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.footer-social {
		justify-content: center;
	}
}

/* 18. Homepage hero layouts (Design settings > Homepage)
   ========================================================================== */

.home-hero-inner {
	position: relative;
}

.home-hero-figure {
	margin: 0;
}

.home-hero-figure img {
	display: block;
	width: 100%;
	border-radius: 3px;
}

/* Hero images: tuned for cut-out figures as well as photographs. A slight
   desaturation ties the image to the palette; contrast is adjusted per mode
   so pale marble holds on paper and doesn't glare on near-black. */
.home-hero-figure img,
.home-hero-bg {
	filter: saturate(0.85) contrast(1.06) brightness(0.97);
}

.theme-dark .home-hero-figure img,
.theme-dark .home-hero-bg {
	filter: saturate(0.8) contrast(1.02) brightness(1.02);
}

@media (prefers-color-scheme: dark) {
	html:not(.theme-light) .home-hero-figure img,
	html:not(.theme-light) .home-hero-bg {
		filter: saturate(0.8) contrast(1.02) brightness(1.02);
	}
}

.home-hero-figure img {
	max-height: 18rem;
	width: auto;
	max-width: 100%;
	margin: 0 auto;
	object-fit: contain;
}

/* Image only: the picture alone, centered, close under the menu.
   Fine-tune in Code Injection: <style>.home-hero.hero-image-only { --hero-image-top: 1rem; }</style> */
.home-hero {
	--hero-image-top: 2rem;
}

.home-hero.hero-image-only.has-image {
	padding-top: var(--hero-image-top);
	padding-bottom: 2rem;
}

/* Side-by-side layouts sit close under the menu as well; same dial:
   <style>.home-hero.hero-split { --hero-image-top: 1rem; }</style> */
.home-hero.hero-split.has-image {
	padding-top: var(--hero-image-top);
}

.home-hero.hero-image-only.has-image .home-hero-figure img {
	max-height: 60vh;
}

/* Split layouts: text beside image */
.home-hero.hero-split.has-image .home-hero-inner {
	/* Exactly the essay list's text column below (its width minus its inner padding) */
	max-width: calc(var(--wide-width) - 3rem);
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 3rem;
	align-items: center;
	text-align: left;
}

.home-hero.hero-image-left.has-image .home-hero-inner {
	grid-template-columns: 2fr 3fr;
}

.home-hero.hero-split.has-image .home-description {
	margin-left: 0;
}

.home-hero.hero-image-left.has-image .home-hero-figure {
	order: 0;
}

.home-hero.hero-image-left.has-image .home-hero-text {
	order: 1;
}

/* Full-image layout: image fills the section, text sits on top */
/* Height and focal point of the full-image section. Defaults live on the
   single-class selector so a simple Code Injection override always wins:
   <style>.home-hero.hero-full { --hero-full-height: 22rem; --hero-full-focus: 50% 30%; }</style> */
.home-hero {
	--hero-full-height: clamp(15rem, 36vh, 24rem);
	--hero-full-focus: 50% 20%;
	/* Wide screens: the band takes the picture's own proportions (width / height)
	   so the whole image is always shown, never cropped. Set it to your image:
	   <style>.home-hero.hero-full { --hero-full-ratio: 2.4; }</style> */
	--hero-full-ratio: 2.4;
}

@media (min-width: 901px) {
	.home-hero.hero-full.has-image {
		min-height: 0;
		aspect-ratio: var(--hero-full-ratio);
		max-height: 36rem;
	}

	.home-hero.hero-full.has-image .home-hero-bg {
		object-fit: contain;
	}
}

.home-hero.hero-full.has-image {
	position: relative;
	padding: 3.5rem 1.5rem;
	overflow: hidden;
	min-height: var(--hero-full-height);
	display: flex;
	align-items: center;
	justify-content: center;
}

.home-hero.hero-full.has-image .home-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--hero-full-focus);
	z-index: 0;
}

.home-hero.hero-full.has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55));
	z-index: 1;
}

.home-hero.hero-full.has-image .home-hero-inner {
	z-index: 2;
}

.home-hero.hero-full.has-image .home-title,
.home-hero.hero-full.has-image .home-description {
	color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

/* Cut-out images (detected by the theme script): no veil, normal text colors */
.home-hero.hero-full.has-image.is-cutout::after {
	display: none;
}

.home-hero.hero-full.has-image.is-cutout .home-title {
	color: var(--ink);
	text-shadow: none;
}

.home-hero.hero-full.has-image.is-cutout .home-description {
	color: var(--muted);
	text-shadow: none;
}

@media (max-width: 760px) {
	.home-hero.hero-split.has-image .home-hero-inner,
	.home-hero.hero-image-left.has-image .home-hero-inner {
		grid-template-columns: 1fr;
		gap: var(--hero-image-top);
		text-align: center;
	}

	.home-hero-figure img {
		max-height: 13rem;
	}

	.home-hero.hero-split.has-image .home-description {
		margin-left: auto;
	}

	.home-hero.hero-image-left.has-image .home-hero-figure,
	.home-hero.hero-image-right.has-image .home-hero-figure {
		order: 0;
	}

	.home-hero.hero-split.has-image .home-hero-text {
		order: 1;
	}

	.home-hero {
		--hero-full-height: clamp(10rem, 24vh, 14rem);
		--hero-image-top: 1.25rem;
	}

	.home-hero.hero-full.has-image {
		padding: 2.5rem 1.5rem;
	}
}

/* 19. Archive page
   ========================================================================== */

.archive-page {
	max-width: var(--site-width);
	margin: 0 auto;
	padding: 4.5rem 1.5rem 5rem;
}

.archive-page-head {
	max-width: var(--wide-width);
	margin-bottom: 3rem;
}

.archive-page-title {
	font-family: var(--font-serif-heading);
	font-size: clamp(2.4rem, 5vw, 3.4rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.1;
	margin: 0 0 0.75rem;
}

.archive-page-intro {
	font-size: 1.2rem;
	line-height: 1.6;
	color: var(--muted);
	font-style: italic;
	margin: 0;
	max-width: 36rem;
}

.archive-page-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 15rem;
	gap: 4rem;
	align-items: start;
}

.archive-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.archive-row {
	border-bottom: 1px solid var(--line);
}

.archive-row[hidden] {
	display: none;
}

.archive-row-link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 2rem;
	padding: 0.95rem 0;
	color: var(--ink);
}

.archive-row-link:hover {
	text-decoration: none;
}

.archive-row-title {
	font-family: var(--font-serif-heading);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.35;
	transition: color 0.15s ease;
}

.archive-row-link:hover .archive-row-title {
	color: var(--accent);
}

.archive-row-date {
	flex-shrink: 0;
	font-family: var(--font-serif);
	font-feature-settings: "tnum" 1, "kern" 1;
	font-size: 1rem;
	color: var(--muted);
}

.archive-empty {
	font-family: var(--font-serif);
	font-size: 0.95rem;
	color: var(--muted);
	padding: 2rem 0;
	margin: 0;
}

.archive-topics {
	position: sticky;
	top: 2rem;
}

.archive-list-title,
.archive-topics-title {
	font-family: var(--font-serif-heading);
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 0.9rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid var(--line);
}

.archive-topics-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.archive-topic {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	background: none;
	border: 0;
	padding: 0.35rem 0;
	text-align: left;
	cursor: pointer;
	font-family: var(--font-serif);
	font-size: 0.95rem;
	color: var(--muted);
}

.archive-topic:hover {
	color: var(--ink);
}

.archive-topic.is-active {
	color: var(--accent);
	font-weight: 500;
}

.archive-topic-count {
	font-size: 0.8rem;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

@media (max-width: 800px) {
	.archive-page-body {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.archive-topics {
		position: static;
		order: -1;
	}

	.archive-topics-list {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.4rem 0.9rem;
	}

	.archive-topic {
		width: auto;
		gap: 0.35rem;
	}

	.archive-row-link {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
	}
}

/* 20b. Typeface: Charter (Design settings)
   Bitstream Charter, distributed by Matthew Butterick; used unmodified,
   license notice in assets/fonts/LICENSE-Charter.txt. Body copy only:
   labels, tagline and topics stay in EB Garamond (real small caps, italics).
   ========================================================================== */

@font-face {
	font-family: "Charter";
	src: url("../fonts/charter-regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Charter";
	src: url("../fonts/charter-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Charter";
	src: url("../fonts/charter-bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Charter";
	src: url("../fonts/charter-bold-italic.woff2") format("woff2");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

.type-charter-body {
	--font-text: "Charter", "Iowan Old Style", Palatino, Georgia, serif;
	--font-serif: "EB Garamond", "Iowan Old Style", Palatino, Georgia, serif;
	--body-size: 1.3125rem;
	--body-leading: 1.55;
}

.type-charter-body .post-content strong,
.type-charter-body .post-content b {
	font-weight: 700;
}

.type-charter-body .post-content blockquote {
	font-size: 1.3rem;
}

.type-charter-body .post-item-excerpt,
.type-charter-body .archive-description,
.type-charter-body .subscribe-cta-text {
	font-size: 1.08rem;
}

.type-charter-body .post-subtitle {
	font-size: 1.25rem;
}

/* Tagline and topics keep EB Garamond's sizes */
.type-charter-body .home-description {
	font-size: 1.4rem;
}

@media (max-width: 640px) {
	.type-charter-body {
		--body-size: 1.2rem;
	}
}

/* Drop-cap fallback (Firefox) for a Cormorant letter on Charter text:
   Charter ascent 0.98, descent 0.236, cap height 0.671, leading 1.62 */
.type-charter-body.type-cormorant-headings .post .post-content > p:first-child::first-letter {
	font-size: 6.03em;
	line-height: 0.78;
	margin-top: 0.000em;
	margin-right: 0.08em;
}

/* 20c. Typeface: Source Serif 4 (Design settings)
   Self-hosted variable fonts (weight and optical-size axes, SIL Open Font
   License, see assets/fonts), subset to Latin and Greek. Body copy only:
   labels, tagline and topics stay in EB Garamond.
   ========================================================================== */

@font-face {
	font-family: "Source Serif 4";
	src: url("../fonts/source-serif-4.woff") format("woff");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Source Serif 4";
	src: url("../fonts/source-serif-4-italic.woff") format("woff");
	font-weight: 200 900;
	font-style: italic;
	font-display: swap;
}

.type-ss-body {
	--font-text: "Source Serif 4", "Iowan Old Style", Palatino, Georgia, serif;
	--font-serif: "EB Garamond", "Iowan Old Style", Palatino, Georgia, serif;
	--body-size: 1.3125rem;
	--body-leading: 1.6;
	font-optical-sizing: auto;
}

.type-ss-body .post-content strong,
.type-ss-body .post-content b {
	font-weight: 700;
}

.type-ss-body .post-content blockquote {
	font-size: 1.3rem;
}

.type-ss-body .post-item-excerpt,
.type-ss-body .archive-description,
.type-ss-body .subscribe-cta-text {
	font-size: 1.08rem;
}

.type-ss-body .post-subtitle {
	font-size: 1.25rem;
}

.type-ss-body .home-description {
	font-size: 1.4rem;
}

/* Light-on-dark text reads thinner than dark-on-light; the variable weight
   axis lets dark mode compensate slightly without touching light mode. */
.theme-dark .type-ss-body {
	font-weight: 440;
}

@media (prefers-color-scheme: dark) {
	html:not(.theme-light) .type-ss-body {
		font-weight: 440;
	}
}

@media (max-width: 640px) {
	.type-ss-body {
		--body-size: 1.2rem;
	}
}

/* Drop-cap fallback for a Cormorant letter on Source Serif text:
   ascent 1.036, descent 0.335, cap height 0.67, leading 1.6 */
.type-ss-body.type-cormorant-headings .post .post-content > p:first-child::first-letter {
	font-size: 6.19em;
	line-height: 0.78;
	margin-top: 0.000em;
	margin-right: 0.08em;
}

/* 20a. Typeface: EB Garamond (Design settings)
   Self-hosted variable fonts (SIL Open Font License, see assets/fonts),
   subset to Latin and Greek. Only downloaded when a mode uses it.
   ========================================================================== */

@font-face {
	font-family: "EB Garamond";
	src: url("../fonts/eb-garamond.woff") format("woff");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "EB Garamond";
	src: url("../fonts/eb-garamond-italic.woff") format("woff");
	font-weight: 400 800;
	font-style: italic;
	font-display: swap;
}

/* EB Garamond as the text face: sturdier than Cormorant at reading sizes,
   still a small x-height, so it gets a little extra size. */
.type-eb-body {
	--font-serif: "EB Garamond", "Iowan Old Style", Palatino, Georgia, serif;
	--body-size: 1.375rem;
	--body-leading: 1.65;
}

.type-eb-body .post-content strong,
.type-eb-body .post-content b {
	font-weight: 700;
}

.type-eb-body .post-content blockquote {
	font-size: 1.5rem;
}

.type-eb-body .post-item-excerpt,
.type-eb-body .archive-description,
.type-eb-body .subscribe-cta-text {
	font-size: 1.15rem;
}

.type-eb-body .home-description {
	font-size: 1.4rem;
}

.type-eb-body .post-subtitle {
	font-size: 1.4rem;
}

/* EB Garamond everywhere: headings in the same face */
.type-eb-headings {
	--font-serif-heading: "EB Garamond", "Iowan Old Style", Palatino, Georgia, serif;
}

.type-eb-headings .post-content h1 { font-size: 2.3rem; }
.type-eb-headings .post-content h2 { font-size: 1.95rem; }
.type-eb-headings .post-content h3 { font-size: 1.6rem; }
.type-eb-headings .post-content h4 { font-size: 1.3rem; }

.type-eb-headings .post-title {
	font-size: clamp(2.6rem, 6.5vw, 3.9rem);
}

.type-eb-headings .post-item-title {
	font-size: 1.95rem;
}

.type-eb-headings .site-name {
	font-size: 1.5rem;
}

.type-eb-headings .site-nav li a {
	font-size: 1.15rem;
}

.type-eb-headings .archive-row-title {
	font-size: 1.35rem;
}

@media (max-width: 640px) {
	.type-eb-body {
		--body-size: 1.25rem;
	}
}

/* Drop-cap fallback values for the EB Garamond modes (Firefox), computed from
   its metrics: ascent 1.007, descent 0.298, cap height 0.65, leading 1.65 */
.type-eb-body.type-eb-headings .post .post-content > p:first-child::first-letter {
	font-size: 6.08em;
	line-height: 0.78;
	margin-top: -0.007em;
	margin-right: 0.08em;
}

.type-eb-body.type-cormorant-headings .post .post-content > p:first-child::first-letter {
	font-size: 6.32em;
	line-height: 0.78;
	margin-top: 0;
	margin-right: 0.08em;
}

/* 20. Typeface: Cormorant Garamond (Design settings)
   Self-hosted variable fonts (SIL Open Font License, see assets/fonts).
   Browsers only download these when the typeface is selected, because
   nothing references the family until the body carries a type-cormorant class.
   ========================================================================== */

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond.woff") format("woff");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Cormorant Garamond";
	src: url("../fonts/cormorant-garamond-italic.woff") format("woff");
	font-weight: 300 700;
	font-style: italic;
	font-display: swap;
}

/* Cormorant Garamond contains no Greek alphabet. For Greek passages, borrow a
   local serif and scale it so its x-height matches Cormorant's, so Greek words
   sit naturally inside Cormorant text instead of looking oversized. */
@font-face {
	font-family: "Cormorant Garamond";
	src: local("Palatino"), local("Palatino Linotype"), local("Book Antiqua"), local("Georgia"), local("Times New Roman");
	unicode-range: U+0386-03FF, U+1F00-1FFF;
	size-adjust: 86%;
	font-weight: 300 700;
	font-style: normal;
}

@font-face {
	font-family: "Cormorant Garamond";
	src: local("Palatino Italic"), local("Palatino-Italic"), local("Palatino Linotype Italic"), local("Book Antiqua Italic"), local("Georgia Italic"), local("Georgia-Italic"), local("Times New Roman Italic");
	unicode-range: U+0386-03FF, U+1F00-1FFF;
	size-adjust: 86%;
	font-weight: 300 700;
	font-style: italic;
}

.type-cormorant,
.type-cormorant-headings {
	--font-serif-heading: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
}

.type-cormorant {
	--font-serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
	--body-size: 1.5rem;
	--body-leading: 1.62;
	font-weight: 500;
	font-optical-sizing: auto;
}

.type-cormorant .post-content strong,
.type-cormorant .post-content b {
	font-weight: 700;
}

.type-cormorant .post-content blockquote {
	font-size: 1.6rem;
}

.type-cormorant .post-content h1 { font-size: 2.5rem; }
.type-cormorant .post-content h2 { font-size: 2.15rem; }
.type-cormorant .post-content h3 { font-size: 1.75rem; }
.type-cormorant .post-content h4 { font-size: 1.45rem; }

.type-cormorant .post-item-excerpt,
.type-cormorant .archive-description,
.type-cormorant .subscribe-cta-text {
	font-size: 1.25rem;
}

.type-cormorant .home-description {
	font-size: 1.5rem;
}

.type-cormorant .home-topics-list a {
	font-size: 1.45rem;
}

.type-cormorant .post-subtitle {
	font-size: 1.55rem;
}

.type-cormorant .post-title,
.type-cormorant-headings .post-title {
	font-size: clamp(2.8rem, 7vw, 4.2rem);
	font-weight: 600;
}

.type-cormorant .home-hero,
.type-cormorant-headings .home-hero {
	--home-title-size: clamp(2.05rem, 4.2vw, 2.8rem);
}

.type-cormorant .home-hero.hero-title-s,
.type-cormorant-headings .home-hero.hero-title-s { --home-title-size: clamp(1.55rem, 3vw, 2rem); }
.type-cormorant .home-hero.hero-title-m,
.type-cormorant-headings .home-hero.hero-title-m { --home-title-size: clamp(1.8rem, 3.5vw, 2.3rem); }
.type-cormorant .home-hero.hero-title-xl,
.type-cormorant-headings .home-hero.hero-title-xl { --home-title-size: clamp(2.4rem, 5vw, 3.5rem); }

.type-cormorant .post-item-title,
.type-cormorant-headings .post-item-title {
	font-size: 2.1rem;
}

.type-cormorant .site-name,
.type-cormorant-headings .site-name {
	font-size: 1.9rem;
}

.type-cormorant .site-nav li a,
.type-cormorant-headings .site-nav li a {
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: 0.015em;
}

.type-cormorant .archive-row-title,
.type-cormorant-headings .archive-row-title {
	font-size: 1.45rem;
}

@media (max-width: 640px) {
	.type-cormorant {
		--body-size: 1.35rem;
	}
}

/* 21. Accessibility: skip link
   ========================================================================== */

.skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 100;
	padding: 0.6rem 1rem;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-serif);
	font-size: 0.98rem;
	border-radius: 2px;
}

.skip-link:focus {
	top: 1rem;
	text-decoration: none;
}

/* 22. Inline subscribe form (Ghost members script handles submission)
   ========================================================================== */

.subscribe-form {
	max-width: 30rem;
	margin: 0 auto;
}

.subscribe-form-row {
	display: flex;
	gap: 0.5rem;
}

.subscribe-input {
	flex: 1;
	min-width: 0;
	font-family: var(--font-serif);
	font-size: 0.95rem;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid color-mix(in srgb, var(--ink) 30%, var(--paper));
	border-radius: 2px;
	padding: 0.7rem 0.9rem;
}

.subscribe-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent);
}

.subscribe-input::placeholder {
	color: var(--muted);
}

.subscribe-button {
	font-family: var(--font-serif);
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--paper);
	background: var(--ink);
	border: 0;
	border-radius: 2px;
	padding: 0.7rem 1.4rem;
	cursor: pointer;
	white-space: nowrap;
}

.subscribe-button:hover {
	background: var(--accent);
}

.subscribe-form.loading .subscribe-button {
	opacity: 0.6;
	pointer-events: none;
}

.subscribe-message {
	display: none;
	font-family: var(--font-serif);
	font-size: 0.98rem;
	margin: 0.9rem 0 0;
}

.subscribe-form.success .subscribe-form-row {
	display: none;
}

.subscribe-form.success .subscribe-message-success {
	display: block;
	color: var(--ink);
}

.subscribe-form.error .subscribe-message-error {
	display: block;
	color: var(--accent);
}

.subscribe-cta-note {
	font-family: var(--font-serif);
	font-size: 0.98rem;
	color: var(--muted);
	margin: 1rem 0 0;
}

.subscribe-cta-note a {
	color: var(--muted);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.subscribe-cta-note a:hover {
	color: var(--accent);
}

/* 23. Subscribe page
   ========================================================================== */

.subscribe-page,
.start-page,
.series-page {
	max-width: var(--wide-width);
	margin: 0 auto;
	padding: 4.5rem 1.5rem 4rem;
}

.subscribe-page-head,
.start-page-head,
.series-page-head {
	text-align: center;
	max-width: var(--content-width);
	margin: 0 auto 2.5rem;
}

.subscribe-page-title,
.start-page-title,
.series-page-title {
	font-family: var(--font-serif-heading);
	font-size: clamp(2.4rem, 5vw, 3.4rem);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.1;
	margin: 0 0 0.9rem;
}

.subscribe-page-intro,
.start-page-intro,
.series-page-intro {
	font-size: 1.2rem;
	line-height: 1.6;
	color: var(--muted);
	font-style: italic;
	margin: 0;
}

.subscribe-page-content,
.start-page-content,
.series-page-content {
	max-width: var(--content-width);
	margin: 0 auto 2.5rem;
	padding: 0;
}

.subscribe-member {
	max-width: var(--content-width);
	margin: 0 auto 2.5rem;
	text-align: center;
	border: 1px solid var(--line);
	border-radius: 3px;
	padding: 1.75rem 1.5rem;
}

.subscribe-options {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: 1.5rem;
	align-items: start;
}

.subscribe-option {
	border: 1px solid var(--line);
	border-radius: 3px;
	padding: 1.75rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.subscribe-option-paid {
	border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
}

.subscribe-option-title {
	font-family: var(--font-serif-heading);
	font-size: 1.6rem;
	font-weight: 600;
	margin: 0;
}

.subscribe-option-text {
	font-size: 1.02rem;
	line-height: 1.55;
	color: var(--muted);
	margin: 0;
}

.subscribe-option .subscribe-form {
	margin: 0.25rem 0 0;
	max-width: none;
}

.subscribe-option .subscribe-form-row {
	flex-direction: column;
}

.subscribe-benefits {
	margin: 0;
	padding-left: 1.2rem;
	font-size: 0.98rem;
	line-height: 1.5;
}

.subscribe-benefits li {
	margin-bottom: 0.3rem;
}

.subscribe-prices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6rem;
	margin-top: auto;
}

.subscribe-price {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
	padding: 0.8rem 0.6rem;
	border: 1px solid var(--line);
	border-radius: 2px;
	color: var(--ink);
	text-align: center;
}

.subscribe-price:hover {
	text-decoration: none;
	border-color: var(--accent);
	color: var(--accent);
}

.subscribe-price-amount {
	font-family: var(--font-serif-heading);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.1;
}

.subscribe-price-period {
	font-family: var(--font-serif);
	font-size: 0.98rem;
	color: var(--muted);
}

.subscribe-option-button,
.subscribe-option-link {
	display: inline-block;
	align-self: flex-start;
	margin-top: auto;
	font-family: var(--font-serif);
	font-size: 0.95rem;
	font-weight: 500;
	padding: 0.7rem 1.4rem;
	border-radius: 2px;
	border: 1px solid var(--ink);
	color: var(--ink);
}

.subscribe-option-button:hover,
.subscribe-option-link:hover {
	text-decoration: none;
	border-color: var(--accent);
	color: var(--accent);
}

.subscribe-member .subscribe-option-link {
	align-self: center;
	margin-top: 0.5rem;
}

/* 24. Start here & Series pages (numbered reading lists)
   ========================================================================== */

.start-list,
.series-list {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: var(--content-width);
	border-top: 1px solid var(--line);
}

.start-item,
.series-item {
	border-bottom: 1px solid var(--line);
}

.start-item-link,
.series-item-link {
	display: flex;
	gap: 1.5rem;
	padding: 1.6rem 0;
	color: var(--ink);
}

.start-item-link:hover,
.series-item-link:hover {
	text-decoration: none;
}

.start-item-number,
.series-item-number {
	flex-shrink: 0;
	width: 2.2rem;
	font-family: var(--font-serif-heading);
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 1.15;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}

.start-item-body,
.series-item-body {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	min-width: 0;
}

.start-item-title,
.series-item-title {
	font-family: var(--font-serif-heading);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.25;
	transition: color 0.15s ease;
}

.start-item-link:hover .start-item-title,
.series-item-link:hover .series-item-title {
	color: var(--accent);
}

.start-item-excerpt,
.series-item-excerpt {
	font-size: 1.02rem;
	line-height: 1.55;
	color: var(--muted);
}

.start-item-meta,
.series-item-meta {
	font-family: var(--font-serif);
	font-size: 0.98rem;
	color: var(--muted);
}

.start-empty,
.series-empty {
	text-align: center;
	font-family: var(--font-serif);
	font-size: 0.95rem;
	color: var(--muted);
}

.series-page-kicker {
	display: block;
	font-family: var(--font-serif);
	font-variant-caps: small-caps;
	text-transform: lowercase;
	font-feature-settings: "smcp" 1, "kern" 1;
	font-size: 1rem;
	letter-spacing: 0.08em;
	color: var(--muted);
	margin-bottom: 0.75rem;
}

/* 25. Series box inside a post
   ========================================================================== */

.series-box {
	border: 1px solid var(--line);
	border-left: 2px solid var(--accent);
	border-radius: 0 3px 3px 0;
	padding: 1rem 1.25rem;
	margin: 2.5rem 0 0;
	font-family: var(--font-serif);
	font-size: 0.98rem;
	color: var(--muted);
}

.series-box + .series-box {
	margin-top: 0.75rem;
}

.series-box-label {
	margin: 0;
}

.series-box-link {
	color: var(--ink);
	font-family: var(--font-serif-heading);
	font-size: 1.05rem;
	font-style: italic;
}

.series-box-link:hover {
	color: var(--accent);
	text-decoration: none;
}

.series-box-details {
	margin-top: 0.6rem;
}

.series-box-details summary {
	cursor: pointer;
	font-size: 0.85rem;
	color: var(--muted);
}

.series-box-list {
	margin: 0.6rem 0 0;
	padding-left: 1.4rem;
	line-height: 1.5;
}

.series-box-list li {
	margin-bottom: 0.3rem;
}

.series-box-list a {
	color: var(--ink);
}

.series-box-list a:hover {
	color: var(--accent);
	text-decoration: none;
}

.series-box-list li.is-current a {
	color: var(--accent);
	font-weight: 500;
}

/* 26. Table of contents
   ========================================================================== */

.post-toc {
	margin: 2.5rem 0 0;
	font-family: var(--font-serif);
	font-size: 0.98rem;
}

.post-toc[hidden] {
	display: none;
}

.post-toc-details {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 0.9rem 0;
}

.post-toc-title {
	cursor: pointer;
	font-family: var(--font-serif-heading);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--ink);
	list-style: none;
}

.post-toc-title::-webkit-details-marker {
	display: none;
}

.post-toc-title::after {
	content: "+";
	float: right;
	color: var(--muted);
	font-weight: 400;
}

.post-toc-details[open] .post-toc-title::after {
	content: "\2212";
}

.post-toc-list,
.post-toc-list ol {
	margin: 0.75rem 0 0;
	padding-left: 1.3rem;
	line-height: 1.55;
}

.post-toc-list ol {
	margin-top: 0.3rem;
	font-size: 0.88rem;
}

.post-toc-list li {
	margin-bottom: 0.35rem;
}

.post-toc-list li::marker {
	color: var(--muted);
}

.post-toc-list a {
	color: var(--ink);
}

.post-toc-list a:hover {
	color: var(--accent);
	text-decoration: none;
}

.post-content h2,
.post-content h3 {
	scroll-margin-top: 5rem;
}

/* 27. Author note & related essays
   ========================================================================== */

.related {
	margin: 0;
}

.related-title {
	font-family: var(--font-serif-heading);
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 0.75rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid var(--line);
}

.related-title a {
	color: var(--accent);
	font-style: italic;
}

.related-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.related-item {
	border-bottom: 1px solid var(--line);
}

.related-link {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1.5rem;
	padding: 0.85rem 0;
	color: var(--ink);
}

.related-link:hover {
	text-decoration: none;
}

.related-item-title {
	font-family: var(--font-serif-heading);
	font-size: 1.15rem;
	font-weight: 500;
	line-height: 1.35;
	transition: color 0.15s ease;
}

.related-link:hover .related-item-title {
	color: var(--accent);
}

.related-item-meta {
	flex-shrink: 0;
	font-family: var(--font-serif);
	font-feature-settings: "lnum" 1, "kern" 1;
	font-size: 0.98rem;
	color: var(--muted);
}

.related-more {
	margin: 0.9rem 0 0;
	font-family: var(--font-serif);
	font-size: 0.98rem;
}

.related-more a {
	color: var(--muted);
}

.related-more a:hover {
	color: var(--accent);
	text-decoration: none;
}


/* 28. Menu panel extras & error page
   ========================================================================== */

.error-page {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 7rem 1.5rem 6rem;
	text-align: center;
}

.error-code {
	display: block;
	font-family: var(--font-serif-heading);
	font-size: clamp(4rem, 12vw, 7rem);
	font-weight: 600;
	line-height: 1;
	color: var(--accent);
	margin-bottom: 1rem;
}

.error-title {
	font-family: var(--font-serif-heading);
	font-size: 2rem;
	font-weight: 600;
	margin: 0 0 0.75rem;
}

.error-text {
	color: var(--muted);
	font-size: 1.1rem;
	margin: 0 0 2rem;
}

.error-actions {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	font-family: var(--font-serif);
	font-size: 0.95rem;
}

.error-link {
	color: var(--ink);
	cursor: pointer;
	border-bottom: 1px solid var(--accent);
}

.error-link:hover {
	color: var(--accent);
	text-decoration: none;
}

/* 29. Print
   ========================================================================== */

@media print {
	.site-header, .site-footer, .menu-panel, .nav-close, .progress-container,
	.subscribe-cta, .related, .post-nav, .post-share, .post-comments,
	.series-box-details, .post-toc, .skip-link {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
		font-size: 11.5pt;
		line-height: 1.5;
	}

	.post .inner, .page .inner {
		max-width: none;
		padding: 0;
	}

	.post-content a {
		color: #000;
		text-decoration: underline;
	}

	.post .post-content > p:first-child::first-letter {
		color: #000;
	}
}

/* 30. One voice: controls and notes in the serif, roles shown by treatment
   ========================================================================== */

/* Buttons and action labels: letter-spaced small capitals */
.action-subscribe,
.menu-subscribe,
.subscribe-button,
.subscribe-cta-button,
.subscribe-option-button,
.subscribe-option-link,
.subscribe-price-period,
.post-share a,
.post-share-button,
.post-nav-label,
.post-info-label,
.author-box-label,
.footer-nav a,
.footer-meta a,
.error-link,
.kg-button-card .kg-btn {
	font-family: var(--font-serif);
	font-variant-caps: small-caps;
	text-transform: lowercase;
	font-feature-settings: "smcp" 1, "kern" 1;
	letter-spacing: 0.07em;
	font-weight: 500;
}

.action-subscribe,
.menu-subscribe,
.subscribe-button,
.subscribe-cta-button,
.subscribe-option-button,
.subscribe-option-link {
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.2;
}

.post-share a,
.post-share-button,
.post-nav-label,
.post-info-label,
.author-box-label,
.footer-nav a,
.footer-meta a {
	font-size: 1rem;
}

/* Pagination, footer, meta: quiet serif with old-style figures */
.pagination,
.pagination-info,
.site-footer-inner,
.footer-copy,
.archive-links a,
.archive-topic,
.archive-topic-count,
.series-box,
.series-box-details summary,
.post-toc,
.post-toc-list a,
.related-more,
.subscribe-cta-note,
.subscribe-message,
.menu-panel-secondary li a,
.subscribe-benefits {
	font-family: var(--font-serif);
	font-feature-settings: "lnum" 1, "kern" 1;
}

.pagination {
	font-size: 1.02rem;
}

.site-footer-inner {
	font-size: 0.98rem;
}

.menu-panel-secondary li a,
.archive-topic {
	font-size: 1.05rem;
}

/* Marginal notes: italic */
.subscribe-cta-note,
.related-more,
.archive-empty,
.start-empty,
.series-empty,
.post-feature figcaption,
.post-content figcaption,
.kg-card figcaption {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 1rem;
}

.subscribe-cta-note a {
	font-style: italic;
}

/* Form field: the serif for placeholder and typed text alike */
.subscribe-input {
	font-family: var(--font-serif);
	font-size: 1.1rem;
}

/* Editor cards that carried the sans */
.kg-callout-card,
.kg-bookmark-title,
.kg-bookmark-description,
.kg-bookmark-metadata {
	font-family: var(--font-serif);
}

.kg-callout-card {
	font-size: 1.1rem;
}

.archive-count {
	font-feature-settings: "lnum" 1, "kern" 1;
}

/* 31. Per-post switch: the internal tag #no-dropcap turns the opening letter off
   ========================================================================== */

.post.no-dropcap .post-content > p:first-child::first-letter {
	float: none;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0;
	position: static;
	-webkit-initial-letter: normal;
	initial-letter: normal;
}

/* 32. Drop cap as a real element (script-inserted where initial-letter is unsupported)
   Geometry: float box top = first line top; baseline offset in box =
   (line-height - ascent - descent)/2 + ascent; sizes computed per typeface pair.
   ========================================================================== */

.post .post-content > p.has-dropcap-span::first-letter {
	float: none !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	color: inherit !important;
	margin: 0 !important;
	position: static !important;
	initial-letter: normal !important;
}

.post .post-content .dropcap {
	float: left;
	font-family: var(--font-serif-heading);
	font-weight: 600;
	color: var(--accent);
	/* The box ends exactly at the letter's baseline (line-height equals the
	   baseline offset), so it never intrudes on the fourth line; margin-top
	   then places that baseline on the third line's baseline. */
	line-height: 0.637;
	margin-right: 0.08em;
	/* book serif on book serif */
	font-size: 5.95em;
	margin-top: 0.145em;
}

.type-cormorant .post .post-content .dropcap { font-size: 6.18em; margin-top: 0.07em; }
.type-cormorant-headings .post .post-content .dropcap { font-size: 6.6em; margin-top: 0.068em; }
.type-eb-body.type-eb-headings .post .post-content .dropcap { font-size: 6.08em; margin-top: 0.1em; }
.type-eb-body.type-cormorant-headings .post .post-content .dropcap { font-size: 6.32em; margin-top: 0.072em; }
.type-charter-body.type-cormorant-headings .post .post-content .dropcap { font-size: 6.03em; margin-top: 0.067em; }
.type-ss-body.type-cormorant-headings .post .post-content .dropcap { font-size: 6.19em; margin-top: 0.066em; }
