:root {
  color-scheme: light;
  --paper: #f6f4ef;
  --ink: #30382f;
  --muted: #6f7469;
  --line: #dcded3;
  --accent: #53634b;
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #dce3d0; color: #25331e; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 12px; background: var(--paper); z-index: 2; }
.skip-link:focus { top: 12px; }
.page { width: min(100% - 48px, 840px); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px 23px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--serif); font-size: 19px; letter-spacing: .13em; }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #85917b; border-radius: 50%; font-size: 15px; letter-spacing: 0; }
nav { display: flex; gap: 24px; font-size: 13px; color: var(--muted); }
nav a { text-decoration: none; }
nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
nav a:hover { color: var(--ink); text-decoration: underline; }
.intro { padding-block: 74px 48px; }
.eyebrow { margin: 0 0 20px; font-size: 11px; letter-spacing: .18em; color: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 23px; font-family: var(--serif); font-size: clamp(34px, 6vw, 50px); font-weight: 400; line-height: 1.4; letter-spacing: .06em; }
.intro-copy { max-width: 580px; margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 2; }
.margin-note { display: flex; align-items: center; gap: 12px; margin: 32px 0 0; color: var(--accent); font-family: var(--serif); font-size: 14px; }
.margin-note::before { content: ""; width: 28px; height: 1px; background: #9aa48d; flex-shrink: 0; }
.section-label { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-block: 17px; border-block: 1px solid var(--line); }
.section-label h2 { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: .12em; }
.section-label span { color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.contents { margin: 0 0 61px; padding: 0; list-style: none; }
.contents li { border-bottom: 1px solid var(--line); }
.contents a { display: grid; grid-template-columns: 34px 1fr 20px; gap: 13px; align-items: center; padding-block: 22px; text-decoration: none; }
.contents a:hover .entry-title { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.number { align-self: start; padding-top: 4px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.entry-title { display: block; margin-bottom: 7px; font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.5; }
.entry-desc { display: block; color: var(--muted); font-size: 12px; line-height: 1.8; }
.arrow { color: #7b886d; font-size: 17px; }
.reading { max-width: 660px; margin-inline: auto; }
article { padding-block: 8px 41px; margin-bottom: 37px; border-bottom: 1px solid var(--line); scroll-margin-top: 15px; }
.article-meta { margin-bottom: 13px; color: var(--muted); font-size: 11px; letter-spacing: .1em; }
article h2 { margin-bottom: 25px; font-family: var(--serif); font-size: clamp(24px, 4.5vw, 29px); line-height: 1.6; font-weight: 400; }
article p { margin-bottom: 19px; font-size: 15px; line-height: 2.15; overflow-wrap: anywhere; }
article p:last-child { margin-bottom: 0; }
blockquote { margin: 27px 0; padding: 4px 0 4px 21px; border-left: 2px solid #a3af93; color: var(--accent); font-family: var(--serif); }
blockquote p { font-size: 17px; line-height: 1.95; }
.about { max-width: 660px; margin: 0 auto 64px; padding: 25px 28px; border: 1px solid var(--line); border-radius: 3px; background: #eeeee5; }
.about h2 { font-size: 13px; font-weight: 500; margin-bottom: 12px; letter-spacing: .1em; }
.about p { margin-bottom: 0; font-size: 13px; line-height: 2; color: #626958; }
.related { padding-top: 8px; color: var(--muted); font-size: 13px; }
article .related { font-size: 13px; }
.about p + p { margin-top: 14px; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
@media (max-width: 520px) {
  .page { width: calc(100% - 40px); }
  .masthead { padding-block: 24px 20px; flex-wrap: wrap; gap: 16px; }
  .brand { font-size: 17px; gap: 8px; }
  nav { gap: 17px; font-size: 12px; }
  .intro { padding-block: 49px 36px; }
  .intro-copy { font-size: 14px; }
  .contents { margin-bottom: 43px; }
  .contents a { grid-template-columns: 24px 1fr 14px; gap: 9px; padding-block: 20px; }
  .entry-title { font-size: 18px; }
  article p { font-size: 15px; line-height: 2.05; }
  .about { padding: 21px; margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; color: black; }
  .page { width: 100%; }
  nav, .contents, .section-label, .skip-link, footer a { display: none; }
  .intro { padding-block: 30px; }
  article { break-inside: avoid; }
  .about { background: none; }
}
