@font-face {
  font-family: HindibaSerif;
  src: local('Georgia');
  font-display: swap;
}

/* The original Hindiba indigo, violet and cyan palette, on quiet glass. */
:root {
  --paper: #070a1a;
  --ink: #eef0ff;
  --text: #d6dcf2;
  --muted: #aeb4d6;
  --line: rgba(201, 210, 255, .15);
  --line-bright: rgba(207, 216, 255, .28);
  --soft: rgba(162, 175, 255, .075);
  --accent: #a5b4fc;
  --accent-soft: rgba(165, 180, 252, .13);
  --card: rgba(20, 25, 55, .86);
  --panel: rgba(18, 22, 52, .84);
  --field: rgba(9, 13, 33, .62);
  --reader: rgba(14, 19, 43, .92);
  --rim: rgba(237, 241, 255, .13);
  --glass-light: rgba(226, 233, 255, .055);
  --shadow: 0 16px 44px -22px rgba(0, 0, 0, .72);
  --large-shadow: 0 30px 80px -42px rgba(0, 0, 0, .85);
  --button-bg: #a5b4fc;
  --button-text: #0c1027;
  --glow-indigo: rgba(99, 102, 241, .18);
  --glow-violet: rgba(217, 70, 239, .105);
  --glow-cyan: rgba(34, 211, 238, .075);
  --reading: 1.12rem;
  color-scheme: dark;
}

[data-theme=light] {
  --paper: #e9edfc;
  --ink: #161c3a;
  --text: #283153;
  --muted: #515d80;
  --line: rgba(54, 69, 128, .17);
  --line-bright: rgba(67, 56, 202, .28);
  --soft: rgba(93, 103, 177, .065);
  --accent: #4338ca;
  --accent-soft: rgba(67, 56, 202, .09);
  --card: rgba(250, 251, 255, .79);
  --panel: rgba(249, 250, 255, .79);
  --field: rgba(255, 255, 255, .62);
  --reader: rgba(251, 252, 255, .91);
  --rim: rgba(255, 255, 255, .94);
  --glass-light: rgba(255, 255, 255, .45);
  --shadow: 0 16px 44px -25px rgba(54, 60, 127, .27);
  --large-shadow: 0 30px 80px -42px rgba(70, 74, 149, .36);
  --button-bg: #4338ca;
  --button-text: #fff;
  --glow-indigo: rgba(99, 102, 241, .14);
  --glow-violet: rgba(217, 70, 239, .09);
  --glow-cyan: rgba(34, 211, 238, .10);
  color-scheme: light;
}

/* Foundations */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  background-image:
    radial-gradient(ellipse 58% 560px at 5% 0, var(--glow-indigo), transparent 72%),
    radial-gradient(ellipse 46% 560px at 100% 18%, var(--glow-violet), transparent 73%),
    radial-gradient(ellipse 50% 540px at 18% 77%, var(--glow-cyan), transparent 75%);
  color: var(--text);
  font: 15px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; background: none; }
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--ink);
  font-family: HindibaSerif, Georgia, 'Times New Roman', serif;
  font-weight: 400;
}
h1 { line-height: 1.12; letter-spacing: -2.7px; }
h2 { line-height: 1.2; letter-spacing: -1px; }
h3 { line-height: 1.25; letter-spacing: -.5px; }
::selection { background: var(--accent); color: var(--paper); }
[hidden] { display: none !important; }

/* Refracted edges stay visible even without backdrop-filter support. */
.header-inner, .hero, .page-intro, .author-card, .category-list,
.margin-note, #continue-reading, .about-layout > .prose, .site-footer {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--glass-light), transparent 52%), var(--panel);
  box-shadow: inset 0 1px 0 var(--rim), var(--shadow);
}
.site-header { position: relative; z-index: 8; padding: 18px 40px 0; }
.header-inner {
  max-width: 1160px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  margin: auto;
  gap: 25px;
  border-radius: 24px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font: 40px/1 Georgia, serif;
  letter-spacing: -2px;
}
.brand svg { width: 34px; height: 40px; color: var(--accent); }
.brand-period { color: var(--accent); }
.brand-subtitle {
  font: 12px/1.5 Georgia, serif;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 24px;
  max-width: 164px;
}
.header-inner nav { margin-left: auto; display: flex; gap: 10px; font-size: 12px; }
.header-inner nav a { position: relative; padding: 9px 14px; border-radius: 12px; }
.header-inner nav a:hover, .header-inner nav a[aria-current] {
  color: var(--ink);
  background: var(--accent-soft);
}
.header-inner nav a[aria-current] { box-shadow: inset 0 1px 0 var(--rim); }
.theme-toggle {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  font-size: 21px;
  width: 38px;
  height: 38px;
  padding: 0;
  line-height: 1;
}
.theme-toggle:hover { background: var(--accent-soft); }
.site-main { max-width: 1240px; margin: auto; padding: 0 40px; }

/* A literary first page, with the old site's cool light palette. */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
  min-height: 444px;
  align-items: center;
  margin-top: 28px;
  padding: 47px 46px 55px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 var(--rim), var(--large-shadow);
}
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 75% at 100% 0, var(--glow-violet), transparent 75%),
    radial-gradient(ellipse 45% 75% at 65% 100%, var(--glow-indigo), transparent 80%);
  pointer-events: none;
}
.eyebrow {
  font: 10px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 1.8px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
}
.small-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 13px rgba(165, 180, 252, .55);
  margin-right: 7px;
  vertical-align: middle;
}
.hero h1 { font-size: clamp(50px, 5.6vw, 72px); margin: 0 0 24px; }
.hero h1 em {
  color: var(--accent);
  background: linear-gradient(110deg, #c7d2fe 5%, #e5b4ff 65%, #99e5f2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}
[data-theme=light] .hero h1 em { background-image: linear-gradient(110deg, #4338ca, #9333a7 65%, #0e7490); }
.hero-copy { min-width: 0; }
.hero-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 26px; }
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--accent-soft);
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  padding: 11px 18px;
  box-shadow: inset 0 1px 0 var(--rim);
}
.hero-link:hover { border-color: var(--accent); }
.hero-link span { font-size: 18px; }
.hero-art {
  height: 305px;
  min-width: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent);
}
.hero-art::before {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, var(--glow-indigo), transparent 72%);
  box-shadow: inset 0 1px 0 var(--rim);
}
.botanical { height: 100%; max-width: 100%; transform: rotate(-8deg); width: 320px; position: relative; }
.hero-art > span { position: absolute; bottom: 10px; right: -8px; transform: rotate(-5deg); font: italic 14px Georgia, serif; color: var(--muted); }
.hero-footnote { position: absolute; bottom: 21px; right: 29px; font-size: 8px; color: var(--muted); letter-spacing: 1.7px; }

/* Browsing and search */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 34px; padding: 46px 0 60px; }
.writing, .sidebar, .archive { min-width: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 4px 26px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { font-size: 33px; margin: 0; }
.post-count { font-size: 11px; color: var(--muted); white-space: nowrap; margin-bottom: 5px; }
.category-tabs {
  display: flex;
  gap: 6px;
  font-size: 12px;
  white-space: nowrap;
  overflow-x: auto;
  padding: 6px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--field);
  scrollbar-width: thin;
}
.category-tabs a { padding: 9px 12px; border-radius: 12px; }
.category-tabs a.active { color: var(--ink); background: var(--accent-soft); font-weight: 600; box-shadow: inset 0 1px 0 var(--rim); }
.category-tabs a span { font-weight: 400; color: var(--muted); margin-left: 4px; font-size: 10px; }
.search-form { margin-bottom: 19px; }
.search-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-bright);
  gap: 9px;
  padding: 9px 12px;
  min-height: 50px;
  border-radius: 17px;
  background: var(--field);
  box-shadow: inset 0 1px 0 var(--rim);
}
.search-field > span { font-size: 25px; line-height: 1; color: var(--accent); }
.search-field input { border: none; background: transparent; width: 100%; min-width: 0; font-size: 12px; outline: none; padding: 3px 0; }
.search-field input::placeholder { color: var(--muted); opacity: .92; }
.search-field input:focus-visible { outline: 0; }
.search-field:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.search-field button { color: var(--accent); padding: 3px 8px; border-radius: 10px; background: var(--soft); }
.filter-row { display: flex; gap: 10px; align-items: center; padding: 11px 4px 0; font-size: 10px; color: var(--muted); flex-wrap: wrap; }
.filter-row select { border: 0; background: transparent; font-size: 10px; max-width: 135px; padding: 5px 17px 5px 0; }
.filter-row option { background: var(--paper); color: var(--text); }
.filter-row button { font-size: 10px; padding: 3px 0; border-bottom: 1px solid var(--line); }
#saved-filter { font-size: 10px; white-space: nowrap; }
.search-shortcut { margin-left: auto; font-size: 9px; }
kbd { font: 10px monospace; border: 1px solid var(--line); padding: 2px 5px; border-radius: 5px; background: var(--soft); }

/* Writing stays on the page, separated by quiet rules rather than cards. */
.post-card {
  display: flex;
  position: relative;
  gap: 18px;
  padding: 29px 0 28px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: border-color .2s ease;
}
.post-card:first-child { padding-top: 17px; }
.post-card:hover { border-bottom-color: var(--line-bright); }
.post-index { font: 11px Georgia, serif; color: var(--muted); padding-top: 3px; width: 18px; flex-shrink: 0; }
.post-card-copy { flex: 1; min-width: 0; }
.post-meta { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; font-size: 10px; line-height: 1.5; letter-spacing: .1px; color: var(--muted); margin-bottom: 10px; }
.post-meta a { color: var(--accent); }
.post-card h3 { font-size: 28px; margin: 0 0 10px; overflow-wrap: anywhere; }
.post-card p { font: 13px/1.9 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--muted); margin-bottom: 17px; overflow-wrap: anywhere; }
.post-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: var(--muted); gap: 12px; }
.read-link { color: var(--ink); font-size: 11px; display: inline-flex; gap: 16px; align-items: center; }
.read-link > span { font-size: 17px; }
.card-cover { width: 126px; align-self: center; flex-shrink: 0; }
.card-cover img { aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); border-radius: 16px; }
.sidebar { font-size: 12px; }
.sidebar > section { margin-bottom: 21px; }
.author-card, .category-list, .margin-note, #continue-reading { border-radius: 24px; padding: 22px 20px; }
.author-card .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
.author-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.author-heading img { border: 1px solid var(--line-bright); border-radius: 50%; width: 50px; height: 50px; object-fit: cover; }
.author-heading h3 { font-size: 20px; margin: 0 0 3px; }
.author-heading span { font-size: 9px; color: var(--muted); }
.author-card > p:not(.eyebrow) { font-size: 11px; line-height: 1.9; color: var(--muted); margin-bottom: 18px; }
.text-link { font-size: 10px; display: flex; gap: 16px; align-items: center; color: var(--ink); }
.text-link > span { font-size: 16px; }
.category-list .eyebrow { margin-bottom: 9px; font-size: 9px; }
.category-list > a { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: 11px 0; color: var(--text); font-size: 12px; }
.category-list > a:last-child { border-bottom: 0; padding-bottom: 0; }
.category-list > a > span + span { font: 11px Georgia, serif; color: var(--muted); }
.margin-note { background: linear-gradient(140deg, var(--accent-soft), transparent 75%), var(--card); }
.note-star { color: var(--accent); font-size: 27px; }
.margin-note > p { font: italic 22px/1.55 Georgia, serif; color: var(--ink); margin: 13px 0 25px; }
.margin-note > .eyebrow { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 0; }
.rss-link { color: var(--muted); font-size: 10px; display: inline-flex; gap: 15px; border-bottom: 1px solid var(--line); padding-bottom: 5px; margin: 3px 4px; }
.pagination { display: flex; align-items: center; gap: 8px; margin-top: 25px; }
.pagination a { border: 1px solid var(--line); border-radius: 11px; padding: 7px 13px; font-size: 11px; background: var(--field); }
.pagination a[aria-current] { color: var(--button-text); background: var(--button-bg); border-color: transparent; }
.pagination > span { margin-left: auto; font-size: 10px; color: var(--muted); }
.writing-end { display: flex; justify-content: space-between; margin: 26px 4px 0; gap: 12px; font-size: 10px; color: var(--muted); }
.writing-end > span { font-family: Georgia, serif; font-style: italic; }
.writing-end > a { color: var(--ink); }

/* Supporting pages */
.page-intro { padding: 42px 44px; margin-top: 28px; border-radius: 28px; }
.page-intro h1 { font-size: 58px; margin-bottom: 20px; }
.page-intro > .eyebrow { margin-bottom: 20px; }
.intro-desc { font: 16px/1.8 Georgia, serif; color: var(--muted); margin: 0; }
.archive > section { padding: 12px 0 0; margin-bottom: 33px; }
.archive-year { display: flex; align-items: center; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 3px; }
.archive-year h2 { font-size: 37px; margin: 0; }
.archive-year span { font-size: 11px; color: var(--muted); }
.archive section > a { display: flex; gap: 17px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: center; }
.archive section > a:last-child { border-bottom: 0; }
.archive time { width: 48px; font-size: 11px; color: var(--muted); flex-shrink: 0; }
.archive a > span:not(:last-child) { font: 21px Georgia, serif; overflow-wrap: anywhere; }
.archive small { margin-left: auto; font-size: 10px; color: var(--accent); }
.about-layout { display: grid; grid-template-columns: .8fr 1fr; gap: 42px; padding: 42px 0 65px; align-items: start; }
.about-layout > img { width: 100%; max-height: 550px; object-fit: cover; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--large-shadow); }
.about-layout > .prose { padding: 32px; border-radius: 28px; }
.about-layout .prose h2 { font-size: 42px; margin-top: 0; }
.about-layout .prose p { font-size: 17px; }
.social-links { display: flex; flex-wrap: wrap; gap: 18px; font: 12px -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; margin: 30px 0; }
.social-links a { padding-bottom: 5px; border-bottom: 1px solid var(--line-bright); }
.button { display: inline-flex; align-items: center; background: var(--button-bg); color: var(--button-text); padding: 12px 20px; border-radius: 999px; font: 12px -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.button:hover { color: var(--button-text); box-shadow: 0 0 0 4px var(--accent-soft); }

/* Comfortable line lengths and open margins make the text the reading surface. */
.article-layout { display: grid; grid-template-columns: minmax(0, 740px) 1fr; gap: 64px; padding: 40px 0 50px; max-width: 1060px; margin: auto; }
.article { min-width: 0; max-width: 740px; width: 100%; padding: 14px 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.back-link { font-size: 11px; color: var(--muted); display: inline-block; margin-bottom: 31px; }
.article > .post-meta { font-size: 11px; margin-bottom: 19px; }
.article h1 { font-size: clamp(38px, 4.5vw, 58px); line-height: 1.15; margin-bottom: 25px; overflow-wrap: anywhere; }
.article-byline { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); padding-bottom: 25px; border-bottom: 1px solid var(--line); margin-bottom: 31px; flex-wrap: wrap; }
.article-byline > img { border: 1px solid var(--line); border-radius: 50%; width: 30px; height: 30px; object-fit: cover; }
.reading-actions { margin-left: auto; display: flex; gap: 5px; }
.reading-actions button { padding: 4px 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); font: 12px Georgia, serif; }
.reading-actions button[aria-pressed=true] { color: var(--accent); border-color: var(--accent); }
.article-margin { padding: 112px 4px 0; color: var(--muted); font: italic 14px Georgia, serif; }
.article-margin .eyebrow { font-size: 8px; letter-spacing: 1px; }
.margin-line { width: 35px; height: 1px; background: var(--line-bright); display: block; margin: 22px 0; }
.prose { font: var(--reading)/1.95 Georgia, 'Times New Roman', serif; color: var(--text); overflow-wrap: anywhere; }
.prose p { margin-bottom: 1.6em; white-space: normal; }
.prose h2 { font-size: 32px; margin: 1.6em 0 .8em; }
.prose h3 { font-size: 25px; margin: 1.4em 0 .6em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.prose blockquote { border-left: 2px solid var(--accent); margin: 2em 0; padding: 9px 18px 9px 23px; color: var(--ink); font-style: italic; background: var(--soft); border-radius: 0 15px 15px 0; }
.prose blockquote p { margin-bottom: 0; }
.prose img { margin: 25px auto 10px; border-radius: 16px; max-height: 900px; object-fit: contain; }
.prose figure { margin: 2em 0; }
.prose figcaption, .prose .image-caption { font: 12px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-align: center; color: var(--muted); margin: 8px 0 24px; }
.prose .image-caption { display: block; }
.prose pre { overflow-x: auto; background: var(--field); border: 1px solid var(--line); border-radius: 15px; padding: 20px; font: 13px/1.7 monospace; }
.prose code { background: var(--soft); font-size: .85em; padding: 2px 5px; border-radius: 5px; }
.prose pre code { padding: 0; background: transparent; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font: 14px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.prose td, .prose th { border: 1px solid var(--line); padding: 10px; }
.article-cover { margin: 0 0 31px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.article-cover img { width: 100%; max-height: 540px; object-fit: cover; }
.article-tags { display: flex; gap: 9px; margin-top: 35px; flex-wrap: wrap; font-size: 11px; color: var(--accent); }
.article-tags a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: var(--soft); }
.article-end { border-top: 1px solid var(--line); margin-top: 30px; padding: 25px 0; display: flex; align-items: center; gap: 15px; }
.brand-flower svg { width: 25px; height: 35px; color: var(--accent); }
.article-end p { font: italic 13px Georgia, serif; color: var(--muted); margin: 0; }
.article-end button { margin-left: auto; font-size: 10px; }
.related { max-width: 1060px; margin: auto; padding: 0 0 50px; }
.related .section-heading { display: block; }
.related .section-heading h2 { font-size: 35px; }
.related-grid { display: grid; grid-template-columns: 1fr; max-width: 740px; }
.related-grid > article { min-width: 0; padding: 25px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.related-grid article:last-child { border-bottom: 1px solid var(--line); }
.related-grid h3 { font-size: 28px; margin-bottom: 12px; overflow-wrap: anywhere; }
.related-grid p { font-size: 12px; color: var(--muted); line-height: 1.9; }
.comments { margin-top: 30px; }
.comments h2 { font-size: 28px; }
.comments h2 span { font: 12px sans-serif; color: var(--muted); }
.comments article { padding: 20px 0; border-top: 1px solid var(--line); }
.comments article > p { white-space: pre-wrap; }
#toc { border: 1px solid var(--line); border-radius: 18px; padding: 18px 23px; margin-bottom: 31px; font-size: 12px; background: var(--soft); box-shadow: inset 0 1px 0 var(--rim); }
#toc strong { display: block; margin-bottom: 10px; font-size: 10px; letter-spacing: 1px; }
#toc a { display: block; padding: 5px 0; color: var(--muted); }
.preview-banner { background: var(--card); border: 1px solid var(--line); border-radius: 15px; padding: 12px 18px; font-size: 12px; margin-top: 20px; }
.empty-state { padding: 40px 24px; background: var(--soft); border: 1px solid var(--line); border-radius: 20px; }
.empty-state h3 { font-size: 24px; }
.empty-state p { font-size: 13px; color: var(--muted); }
.empty-state a { font-size: 12px; color: var(--accent); }

/* Footer and small interface elements */
.site-footer { max-width: 1160px; margin: 0 auto 24px; border-radius: 24px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; padding: 29px 27px; gap: 25px; }
.footer-top .brand { font-size: 31px; }
.footer-top .brand svg { width: 25px; height: 33px; }
.footer-top p { font: italic 14px Georgia, serif; color: var(--muted); margin: 0; }
.footer-top > a:last-child { font-size: 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 17px 27px 21px; border-top: 1px solid var(--line); font-size: 9px; color: var(--muted); gap: 18px; }
.footer-bottom small { font-size: 9px; }
.footer-bottom > div { display: flex; gap: 23px; }
#reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 20; background: linear-gradient(90deg, #22d3ee, #818cf8, #e4a4ef); }
#toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 30px); background: var(--panel); color: var(--ink); border: 1px solid var(--line-bright); border-radius: 15px; padding: 12px 22px; font-size: 12px; z-index: 20; box-shadow: var(--large-shadow); }
#toast:empty { display: none; }
.skip-link { position: fixed; top: 8px; left: 15px; transform: translateY(-150%); z-index: 30; background: var(--button-bg); color: var(--button-text); padding: 10px 20px; border-radius: 12px; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header-inner, .hero, .page-intro, .author-card, .margin-note,
  .about-layout > .prose, .site-footer, #toast {
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
  }
}

@media (min-width: 1440px) {
  .hero { min-height: 465px; }
  .hero h1 { font-size: 76px; }
}
@media (max-width: 1000px) {
  .content-layout { gap: 25px; grid-template-columns: minmax(0, 1fr) 235px; }
  .header-inner { gap: 18px; }
  .brand-subtitle { padding-left: 18px; }
  .hero { padding: 40px 32px 53px; grid-template-columns: 1.4fr 1fr; }
  .hero h1 { font-size: 59px; }
  .hero-art { height: 275px; }
  .hero-art > span { font-size: 12px; }
  .site-footer { margin-left: 40px; margin-right: 40px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 100px; gap: 40px; }
  .post-card h3 { font-size: 26px; }
  .card-cover { width: 104px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 25px; }
  .site-header { padding: 14px 24px 0; }
  .header-inner { padding: 16px 19px; gap: 17px; flex-wrap: wrap; border-radius: 22px; }
  .brand { font-size: 35px; }
  .brand svg { height: 36px; width: 28px; }
  .brand-subtitle { display: none; }
  .header-inner nav { gap: 3px; font-size: 12px; }
  .header-inner nav a { padding: 8px 10px; }
  .theme-toggle { width: 34px; height: 34px; font-size: 19px; }
  .site-main { padding: 0 24px; }
  .hero { min-height: 390px; grid-template-columns: 1.7fr .75fr; gap: 0; margin-top: 22px; padding: 37px 30px 50px; border-radius: 26px; }
  .hero h1 { font-size: 52px; letter-spacing: -2px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
  .hero-copy > p:not(.eyebrow) { font-size: 12px; }
  .hero-art { height: 230px; opacity: .8; }
  .hero-art::before { width: 170px; height: 170px; }
  .hero-art > span { font-size: 10px; bottom: 0; right: -5px; }
  .hero-footnote { font-size: 7px; letter-spacing: 1px; }
  .content-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 34px; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .sidebar > section { margin-bottom: 0; }
  .author-card { grid-row: span 2; }
  .margin-note { display: none; }
  .rss-link { align-self: start; justify-self: start; }
  .section-heading h2 { font-size: 31px; }
  .post-card h3 { font-size: 28px; }
  .site-footer { margin: 0 24px 22px; }
  .footer-top { flex-wrap: wrap; gap: 18px; }
  .footer-top p { font-size: 12px; }
  .footer-top > a:last-child { margin-left: auto; }
  .footer-bottom, .footer-bottom small { font-size: 8px; }
  .page-intro { padding: 32px; }
  .page-intro h1 { font-size: 47px; }
  .about-layout { gap: 25px; grid-template-columns: .8fr 1fr; padding: 32px 0 45px; }
  .about-layout > .prose { padding: 25px; }
  .about-layout .prose h2 { font-size: 34px; }
  .about-layout .prose p { font-size: 15px; }
  .article-layout { grid-template-columns: 1fr; padding-top: 24px; }
  .article-margin { display: none; }
  .article { padding: 14px 0 0; }
  .article h1 { font-size: 45px; letter-spacing: -1.5px; }
  .related-grid > article { padding: 23px 0; }
  .related-grid h3 { font-size: 27px; }
  .prose { font-size: calc(var(--reading) * .96); }
}
@media (max-width: 480px) {
  .site-header { padding: 12px 16px 0; }
  .header-inner { padding: 14px 16px 10px; gap: 12px; border-radius: 22px; }
  .header-inner .brand { margin-right: auto; font-size: 33px; gap: 7px; }
  .brand svg { width: 24px; }
  .header-inner nav { order: 3; flex-basis: 100%; margin-left: 0; justify-content: space-between; gap: 5px; font-size: 12px; padding-top: 4px; border-top: 1px solid var(--line); }
  .header-inner nav a { flex: 1; text-align: center; padding: 8px 10px; }
  .theme-toggle { width: 34px; height: 34px; }
  .site-main { padding: 0 16px; }
  .hero { display: block; min-height: 390px; margin-top: 18px; padding: 35px 23px 54px; border-radius: 25px; }
  .hero-copy { position: relative; z-index: 1; }
  .hero h1 { font-size: clamp(40px, 11.4vw, 52px); letter-spacing: -1.7px; max-width: 335px; }
  .hero-copy > p:not(.eyebrow) { max-width: 255px; font-size: 12px; line-height: 1.9; }
  .hero-art { position: absolute; right: -49px; top: 40px; width: 205px; height: 265px; opacity: .13; pointer-events: none; transform: rotate(12deg); }
  .hero-art > span { display: none; }
  .hero-footnote { bottom: 21px; left: 24px; right: auto; font-size: 6px; }
  .hero .eyebrow { font-size: 7px; letter-spacing: 1px; }
  .hero-link { font-size: 11px; gap: 25px; padding: 10px 15px; }
  .content-layout { padding-top: 30px; }
  .section-heading { gap: 10px; margin-bottom: 22px; }
  .section-heading h2 { font-size: 28px; letter-spacing: -.8px; }
  .section-heading .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  .category-tabs { gap: 3px; font-size: 10px; padding: 5px; }
  .category-tabs a { padding: 8px 11px; }
  .filter-row { column-gap: 12px; row-gap: 6px; }
  .post-index { font-size: 9px; width: 12px; }
  .post-card { gap: 12px; padding: 25px 0; }
  .post-card h3 { font-size: 25px; }
  .post-card p { font-size: 12px; line-height: 1.85; }
  .post-meta { font-size: 9px; gap: 7px; }
  .post-bottom { font-size: 9px; }
  .read-link { font-size: 10px; gap: 10px; }
  .card-cover { width: 69px; }
  .card-cover img { border-radius: 12px; }
  .sidebar { display: block; }
  .sidebar > section { margin-bottom: 20px; }
  .author-card { padding: 23px; }
  .author-heading h3 { font-size: 23px; }
  .author-heading img { width: 55px; height: 55px; }
  .author-heading span { font-size: 10px; }
  .author-card > p:not(.eyebrow) { font-size: 12px; }
  .category-list { display: none; }
  .margin-note { display: block; }
  .margin-note > p { font-size: 22px; }
  .writing-end { font-size: 9px; }
  .search-shortcut { display: none; }
  .site-footer { margin: 0 16px 18px; border-radius: 22px; }
  .footer-top { padding: 23px 21px; }
  .footer-top .brand { font-size: 29px; }
  .footer-top p { order: 3; flex-basis: 100%; margin-top: 0; }
  .footer-bottom { align-items: start; gap: 12px; padding: 16px 21px 20px; }
  .footer-bottom > div { gap: 15px; }
  .page-intro { padding: 31px 24px; margin-top: 18px; border-radius: 24px; }
  .page-intro h1 { font-size: 39px; letter-spacing: -1.5px; }
  .page-intro .eyebrow { font-size: 8px; }
  .intro-desc { font-size: 15px; }
  .archive > section { padding-top: 10px; }
  .archive section > a { gap: 12px; }
  .archive a > span:not(:last-child) { font-size: 19px; }
  .archive small { display: none; }
  .about-layout { grid-template-columns: 1fr; gap: 24px; }
  .about-layout > img { max-height: 390px; width: 100%; object-position: 50% 40%; }
  .about-layout .prose h2 { font-size: 37px; }
  .article { padding-top: 10px; }
  .article h1 { font-size: 37px; line-height: 1.2; }
  .article-byline { gap: 7px; font-size: 10px; }
  .reading-actions { margin-left: 0; width: 100%; padding-top: 7px; }
  .back-link { margin-bottom: 26px; }
  .prose { line-height: 1.9; }
  .prose blockquote { padding-left: 17px; margin-left: 0; margin-right: 0; }
  .prose pre { padding: 15px; font-size: 12px; }
  .article-end { flex-wrap: wrap; gap: 12px; }
  .article-end button { margin: 10px 0 0 40px; }
  .related-grid > article { padding: 23px 0; }
  .related-grid h3 { font-size: 26px; margin-bottom: 10px; }
  .related-grid p { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  :root, [data-theme=light], [data-theme=dark] {
    --paper: #fff; --ink: #000; --text: #000; --muted: #444;
    --line: #ccc; --soft: #fff; --accent: #333;
  }
  .site-header, .site-footer, .article-margin, .reading-actions,
  .back-link, .related, .article-end, #toc { display: none; }
  .site-main { padding: 0; }
  .article-layout { display: block; padding: 0; }
  .article { padding: 0; border: 0; background: transparent; box-shadow: none; }
  .prose { font-size: 12pt; color: #000; }
  .article h1 { font-size: 28pt; }
  body { background: #fff; color: #000; }
}
