:root { color-scheme: light; --bg: #f7f5ef; --ink: #272b26; --muted: #65695f; --line: #d5d7cc; --visited: #4a6144; --hover: #11170e; --code-bg: #eceee5; --quote: #7b866f; --selection: #dce4ce; --selection-ink: #20261c; font-synthesis: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; --bg: #101110; --ink: #e8e7df; --muted: #adb0a7; --line: #41443d; --visited: #c2c9b6; --hover: #fff; --code-bg: #1b1e19; --quote: #818977; --selection: #525d46; --selection-ink: #fff; } }
:root[data-theme="dark"] { color-scheme: dark; --bg: #101110; --ink: #e8e7df; --muted: #adb0a7; --line: #41443d; --visited: #c2c9b6; --hover: #fff; --code-bg: #1b1e19; --quote: #818977; --selection: #525d46; --selection-ink: #fff; }
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); }
body { margin: 0; padding: 0 max(22px, env(safe-area-inset-left)) 80px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.125rem, 1.04rem + .35vw, 1.25rem); line-height: 1.8; }
.site-nav, main { max-width: 42rem; margin-inline: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding-top: max(24px, env(safe-area-inset-top)); font: .875rem/1.5 Arial, Helvetica, sans-serif; }
.site-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.site-nav > a { color: var(--ink); letter-spacing: -.02em; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }
.site-nav a:active, .theme-toggle:active { opacity: .65; }
.reading-controls { display: flex; align-items: center; gap: 16px; }
.theme-toggle { display: grid; place-items: center; font: inherit; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; flex-shrink: 0; padding: 0; cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { color: var(--ink); border-color: var(--muted); }
main { padding-top: clamp(48px, 9vw, 100px); }
h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; font-weight: 400; line-height: 1.25; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.8rem, 1.25rem + 2vw, 2.7rem); letter-spacing: -.035em; margin: 0; text-wrap: balance; }
h2 { font-size: 1.45em; letter-spacing: -.025em; margin: 2.1em 0 .7em; }
h3 { font-size: 1.2em; margin: 1.8em 0 .65em; }
h4, h5, h6 { font-size: 1em; font-weight: 600; margin: 1.8em 0 .65em; }
.article-header { margin-bottom: 2.8em; }
.article-languages { display: flex; gap: 18px; align-items: center; margin-top: 12px; font: .875rem/1.5 Arial, Helvetica, sans-serif; color: var(--muted); }
.article-languages a, .article-languages span { display: inline-flex; align-items: center; min-height: 44px; }
.article-languages span { color: var(--ink); }
.essays a.essay-translation { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; letter-spacing: 0; color: var(--muted); }
time { display: block; color: var(--muted); font: .875rem/1.6 Arial, Helvetica, sans-serif; margin-top: 18px; }
p { margin: 0 0 1.3em; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:visited { color: var(--visited); }
a:hover { color: var(--hover); }
a:focus-visible, button:focus-visible, .table-scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
blockquote { margin: 1.7em 0; padding: .15em 0 .15em 1.15em; border-left: 2px solid var(--quote); }
blockquote p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.45em; margin: 0 0 1.4em; }
li { padding-left: .2em; margin-bottom: .45em; overflow-wrap: anywhere; }
li > p { margin-bottom: .65em; }
li ul, li ol { margin-block: .5em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.footnotes { font-size: .85em; line-height: 1.7; }
.footnotes hr { margin-top: 1.8em; }
.footnote-ref { line-height: 0; }
.footnote-ref a { padding-inline: .15em; }
.footnote-backref { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; text-decoration: none; }
code { font: .86em/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; }
pre { overflow-x: auto; padding: 18px; background: var(--code-bg); margin: 1.5em 0; }
pre code { white-space: pre; overflow-wrap: normal; }
img { display: block; max-width: 100%; height: auto; margin: 1.6em auto; }
.table-scroll { overflow-x: auto; margin: 1.5em 0; }
table { border-collapse: collapse; font-size: .9em; width: 100%; }
th, td { text-align: left; padding: .55em .8em; border-bottom: 1px solid var(--line); }
.writing-index { font-family: Arial, Helvetica, sans-serif; }
.essays { list-style: none; padding: 0; margin: 52px 0 0; }
.essays li { padding: 0; margin: 0 0 40px; }
.essays a { font-size: clamp(1.2rem, 1.07rem + .7vw, 1.65rem); line-height: 1.4; letter-spacing: -.025em; text-decoration: none; }
.essays a:hover, .essays a:focus-visible { text-decoration: underline; }
.essays time { margin-top: 10px; }
.empty { color: var(--muted); font-size: 1rem; margin-top: 40px; }
.writing-note { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 64px; font-size: .875rem; line-height: 1.8; color: var(--muted); }
.writing-note p { margin: 0; }
.applications-intro { color: var(--muted); margin-top: 28px; }
.applications { list-style: none; padding: 0; margin: 48px 0 0; }
.applications li { padding: 0 0 36px; margin: 0 0 36px; border-bottom: 1px solid var(--line); }
.applications li:last-child { border-bottom: 0; margin-bottom: 0; }
.applications h2 { margin: 0 0 14px; font-size: 1.5rem; }
.applications p { margin-bottom: 16px; }
.application-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font: .875rem/1.5 Arial, Helvetica, sans-serif; }
.application-links a { display: inline-flex; align-items: center; min-height: 44px; }
.skip { position: absolute; top: -100px; left: 22px; background: var(--bg); padding: 10px; font: 1rem/1.5 Arial, Helvetica, sans-serif; }
.skip:focus { top: 8px; }
::selection { background: var(--selection); color: var(--selection-ink); }
@media (max-width: 500px) { .article-header { margin-bottom: 2.2em; } blockquote { padding-left: .9em; } }
@media print { :root, :root[data-theme] { color-scheme: light; --bg: white; --ink: black; --muted: #444; --line: #ccc; --code-bg: #f4f4f4; } body { padding: 0; font-size: 12pt; } .site-nav, .skip { display: none; } main { padding-top: 0; } a, a:visited { color: black; } h2, h3 { break-after: avoid; } }
