@charset "UTF-8";
:root {
  color-scheme: light;
  --paper: #f7f6f0;
  --panel: #efeee6;
  --ink: #293c32;
  --text: #39473e;
  --muted: #69746a;
  --line: #d9ddd3;
  --accent: #b24f32;
  --card: #fcfbf7;
  --serif:
    Georgia, "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", SimSun,
    serif;
  --sans:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #1b241f;
    --panel: #253129;
    --ink: #eceee3;
    --text: #d2d9cd;
    --muted: #adb8aa;
    --line: #3a493d;
    --accent: #e49879;
    --card: #202c23;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1b241f;
  --panel: #253129;
  --ink: #eceee3;
  --text: #d2d9cd;
  --muted: #adb8aa;
  --line: #3a493d;
  --accent: #e49879;
  --card: #202c23;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a,
button {
  touch-action: manipulation;
}
a:hover {
  color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button,
input {
  color: inherit;
}
[hidden] {
  display: none !important;
}
img {
  max-width: 100%;
  display: block;
}
::selection {
  background: #c8d7b4;
  color: #233225;
}
.wrap {
  max-width: 1160px;
  margin: auto;
  padding-inline: 40px;
}
.site-header {
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  font-weight: 600;
  font-size: 18px;
}
.monogram {
  width: 45px;
  height: 45px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font: italic 34px/39px Georgia;
  text-align: center;
  letter-spacing: -4px;
  padding-right: 4px;
}
.brand small {
  font-size: 9px;
  letter-spacing: 2.1px;
  display: block;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}
.site-header nav > a {
  padding: 9px 0;
  position: relative;
}
.site-header nav > a[aria-current]::after {
  content: "";
  height: 2px;
  background: var(--accent);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.theme-toggle {
  border: 1px solid var(--line);
  background: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  padding: 0;
  font-size: 21px;
  line-height: 1;
}
.intro {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  align-items: center;
  padding: 72px 0 80px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #758563;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  color: var(--ink);
}
.intro h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.1vw, 53px);
  line-height: 1.5;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 22px;
}
.accent {
  color: var(--accent);
}
.intro-copy {
  font-size: 15px;
  color: var(--muted);
  line-height: 2.1;
  margin-bottom: 26px;
}
.text-link {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.margin-note {
  background: var(--panel);
  padding: 24px 25px 17px;
  border: 1px solid var(--line);
  transform: rotate(3deg);
  position: relative;
}
.margin-note::before {
  content: "";
  display: block;
  position: absolute;
  top: -12px;
  left: 101px;
  width: 66px;
  height: 26px;
  transform: rotate(-8deg);
  background: #d6d9c6aa;
}
.note-index {
  font: 10px var(--sans);
  letter-spacing: 1.5px;
  color: var(--muted);
}
.margin-note > p {
  font: 24px/1.8 var(--serif);
  margin: 31px 0 30px;
  letter-spacing: 2px;
  color: var(--ink);
}
.note-bottom {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.note-bottom > span:first-child {
  font: italic 24px Georgia;
  color: var(--ink);
}
.section-title {
  border-top: 1px solid var(--line);
  padding: 25px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.section-title h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0;
  display: flex;
  gap: 13px;
  align-items: center;
}
.count {
  font: 11px var(--sans);
  letter-spacing: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 3px 7px;
  border-radius: 20px;
}
.search {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 5px 0;
}
.search > span:first-child {
  font-size: 24px;
  line-height: 1;
}
.search input {
  width: 190px;
  background: none;
  border: 0;
  outline-offset: 2px;
  font-size: 12px;
  padding: 6px;
}
.search input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.collection-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
}
.filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.filters button {
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 14px;
  font-size: 12px;
  min-height: 35px;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.filters button:hover {
  border-color: var(--ink);
}
.result-count {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}
.post-card {
  min-width: 0;
}
.cover-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--panel);
}
.cover-link img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.4s;
}
.post-card:hover .cover-link img {
  transform: scale(1.025);
}
.cover-number {
  position: absolute;
  left: 15px;
  bottom: 15px;
  background: var(--paper);
  color: var(--ink);
  font: italic 14px Georgia;
  padding: 3px 10px;
  border: 1px solid var(--line);
}
.cover-placeholder {
  height: 260px;
  display: grid;
  place-items: center;
  font: italic 32px var(--serif);
  color: var(--muted);
}
.post-details {
  padding: 21px 0 0;
}
.post-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.3px;
}
.post-meta > * + *::before {
  content: "·";
  margin-right: 16px;
}
.post-details h3 {
  font-size: 24px;
  line-height: 1.6;
  font-family: var(--serif);
  font-weight: 500;
  margin: 10px 0 11px;
  letter-spacing: 0.3px;
}
.post-details > p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
  margin-bottom: 22px;
}
.post-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.tags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.tag {
  font-size: 11px;
  color: var(--muted);
}
.tag::before {
  content: "#";
  margin-right: 4px;
  color: var(--accent);
}
.read-link {
  border: 1px solid var(--line);
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 19px;
}
.closing-note {
  display: flex;
  gap: 24px;
  align-items: center;
  border-block: 1px solid var(--line);
  margin-top: 70px;
  padding: 34px 0;
}
.asterisk {
  font-size: 37px;
  color: var(--accent);
}
.closing-note h2 {
  font: 500 20px/1.5 var(--serif);
  margin: 0 0 8px;
}
.closing-note p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.closing-note > .text-link {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 36px 40px;
  gap: 24px;
  font-size: 11px;
  color: var(--muted);
}
.site-footer p {
  margin: 0;
}
.site-footer p > span {
  margin-left: 20px;
}
.site-footer > div {
  display: flex;
  gap: 24px;
}
.empty-state {
  padding: 60px 16px;
  text-align: center;
  border: 1px dashed var(--line);
}
.empty-state > p {
  font: 24px var(--serif);
  margin-bottom: 14px;
}
.empty-state > span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.reset-search {
  margin-top: 20px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 9px 17px;
  border-radius: 4px;
}
.article-top {
  padding-top: 35px;
}
.article-header {
  max-width: 790px;
  padding: 42px 0 42px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 45px;
}
.article-header h1 {
  font: 500 clamp(30px, 3.6vw, 43px) / 1.55 var(--serif);
  margin: 17px 0 20px;
  overflow-wrap: anywhere;
}
.article-description {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 730px;
  margin-bottom: 25px;
}
.reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 740px) 220px;
  gap: 70px;
}
.prose {
  font-size: 16px;
  line-height: 2.05;
  min-width: 0;
  overflow-wrap: anywhere;
}
.prose p {
  margin-bottom: 24px;
}
.prose h2 {
  font: 600 26px/1.7 var(--serif);
  margin: 44px 0 20px;
}
.prose h3 {
  font-size: 20px;
  margin: 32px 0 18px;
}
.prose a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
  color: var(--accent);
}
.prose blockquote {
  margin: 25px 0;
  padding: 15px 23px;
  border-left: 3px solid var(--accent);
  background: var(--panel);
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}
.prose ul,
.prose ol {
  padding-left: 1.5em;
  margin-bottom: 24px;
}
.prose li {
  margin: 8px 0;
}
.prose img {
  margin: 25px auto;
  border-radius: 3px;
  max-height: 720px;
}
.prose pre {
  background: var(--panel);
  padding: 20px;
  overflow: auto;
  line-height: 1.6;
  font-size: 13px;
}
.prose code {
  background: var(--panel);
  padding: 2px 4px;
  border-radius: 3px;
}
.prose pre code {
  padding: 0;
}
.prose table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
  font-size: 14px;
  margin-block: 25px;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 9px 14px;
  min-width: 120px;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 35px 0;
}
.toc {
  align-self: start;
  position: sticky;
  top: 32px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.toc summary {
  font-size: 12px;
  cursor: pointer;
  color: var(--ink);
  margin-bottom: 15px;
}
.toc nav {
  display: grid;
  gap: 12px;
}
.toc a {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.toc a:hover {
  color: var(--accent);
}
.article-end {
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding: 35px 0;
}
.article-end > span {
  font-size: 27px;
  color: var(--accent);
}
.article-end p {
  font-family: var(--serif);
  margin: 4px 0;
}
.article-end a {
  font-size: 12px;
}
.next-post {
  display: grid;
  grid-template-columns: 90px 1fr 30px;
  gap: 20px;
  align-items: center;
  border-block: 1px solid var(--line);
  padding: 30px 0;
  margin: 25px 0;
}
.next-post > span:first-child {
  font-size: 12px;
  color: var(--muted);
}
.next-post h2 {
  font: 500 21px/1.6 var(--serif);
  margin: 0;
}
.next-post > span:last-child {
  font-size: 24px;
}
.page-heading {
  padding: 70px 0 55px;
}
.page-heading h1 {
  font: 500 clamp(32px, 4vw, 48px) / 1.5 var(--serif);
  margin: 0 0 20px;
}
.page-heading > p:not(.eyebrow) {
  color: var(--muted);
}
.archive-year {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding: 30px 0 60px;
}
.archive-year > h2 {
  font: italic 30px Georgia;
  margin: 14px 0;
}
.archive-row {
  display: flex;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.archive-row time {
  font-size: 12px;
  white-space: nowrap;
  color: var(--muted);
}
.archive-row h3 {
  font: 500 20px/1.7 var(--serif);
  margin: 0;
}
.archive-row > span {
  margin-left: auto;
}
.about-prose {
  max-width: 740px;
  margin-bottom: 60px;
}
.about-prose h2:first-child {
  margin-top: 0;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  background: var(--ink);
  color: var(--paper);
  padding: 9px 18px;
  z-index: 20;
}
.skip-link:focus {
  top: 15px;
}
@media (min-width: 1500px) {
  .intro {
    padding-block: 92px;
  }
  .cover-link img,
  .cover-placeholder {
    height: 290px;
  }
}
@media (max-width: 960px) {
  .intro {
    gap: 35px;
    grid-template-columns: 1fr 240px;
  }
  .reading-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    position: static;
    grid-row: 1;
    border-left: 0;
    border-block: 1px solid var(--line);
    padding: 16px 0;
  }
  .toc nav {
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
  }
  .reading-layout {
    gap: 20px;
  }
  .article-header {
    margin-bottom: 25px;
  }
  .cover-link img,
  .cover-placeholder {
    height: 215px;
  }
  .closing-note > .text-link {
    display: none;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding-inline: 23px;
  }
  .site-header {
    height: 92px;
    gap: 10px;
  }
  .brand {
    font-size: 15px;
    gap: 9px;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .monogram {
    width: 36px;
    height: 36px;
    font-size: 28px;
    line-height: 30px;
  }
  .site-header nav {
    gap: 15px;
    font-size: 12px;
  }
  .theme-toggle {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .intro {
    grid-template-columns: 1fr;
    padding: 43px 0 45px;
    gap: 0;
  }
  .intro h1 {
    font-size: 36px;
    letter-spacing: 0.2px;
  }
  .intro-copy {
    font-size: 14px;
  }
  .intro .eyebrow {
    margin-bottom: 19px;
  }
  .margin-note {
    display: none;
  }
  .section-title {
    padding-block: 22px 17px;
  }
  .section-title h2 {
    font-size: 22px;
    white-space: nowrap;
  }
  .search input {
    width: 151px;
    font-size: 11px;
  }
  .search {
    gap: 4px;
  }
  .collection-tools {
    align-items: start;
    gap: 10px;
    margin-bottom: 23px;
  }
  .filters {
    gap: 7px;
  }
  .filters button {
    padding: 5px 10px;
    font-size: 11px;
  }
  .result-count {
    padding-top: 7px;
  }
  .post-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .cover-link img,
  .cover-placeholder {
    height: 220px;
  }
  .post-details h3 {
    font-size: 23px;
  }
  .post-details > p {
    font-size: 13px;
  }
  .closing-note {
    margin-top: 44px;
    gap: 17px;
    padding-block: 25px;
  }
  .closing-note h2 {
    font-size: 18px;
  }
  .closing-note p {
    font-size: 11px;
  }
  .asterisk {
    font-size: 29px;
  }
  .site-footer {
    align-items: flex-start;
    padding-block: 28px;
    gap: 14px;
  }
  .site-footer p > span {
    display: block;
    margin: 3px 0 0;
  }
  .site-footer > div {
    flex-direction: column;
    gap: 7px;
    text-align: right;
  }
  .article-top {
    padding-top: 25px;
  }
  .article-header {
    padding-top: 30px;
    padding-bottom: 27px;
  }
  .article-header h1 {
    font-size: 31px;
  }
  .article-description {
    font-size: 14px;
  }
  .article-header .post-meta {
    gap: 8px;
  }
  .article-header .post-meta > * + *::before {
    margin-right: 8px;
  }
  .prose {
    font-size: 15px;
    line-height: 2;
  }
  .prose h2 {
    font-size: 23px;
  }
  .toc nav {
    grid-template-columns: 1fr;
  }
  .next-post {
    grid-template-columns: 1fr 25px;
    gap: 10px;
  }
  .next-post > span:first-child {
    grid-column: 1/-1;
  }
  .next-post h2 {
    font-size: 19px;
  }
  .page-heading {
    padding-block: 45px 35px;
  }
  .archive-year {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 15px;
  }
  .archive-row {
    gap: 16px;
  }
  .archive-row h3 {
    font-size: 18px;
  }
}
@media (max-width: 370px) {
  .wrap {
    padding-inline: 16px;
  }
  .site-header nav {
    gap: 10px;
  }
  .brand small {
    display: none;
  }
  .intro h1 {
    font-size: 32px;
  }
  .search input {
    width: 125px;
  }
  .result-count {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .toc,
  .next-post,
  .article-top,
  .article-end,
  .theme-toggle {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
  .wrap {
    max-width: none;
    padding: 0;
  }
  .reading-layout {
    display: block;
  }
  .article-header {
    padding-top: 0;
  }
  .prose {
    font-size: 12pt;
  }
  .prose a {
    color: inherit;
  }
}
