:root {
  --paper: #f3f0e8;
  --ink: #202622;
  --muted: #77786f;
  --line: #cbc8bc;
  --accent: #315b4b;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--paper); }
body { min-height: 100vh; margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--paper); }
.site-shell { width: min(1180px, calc(100% - 56px)); margin: 0 auto; }
.masthead { padding-top: 34px; border-bottom: 1px solid var(--ink); }
.brand-row { padding: 36px 0 25px; border-top: 1px solid var(--line); }
.brand { display: inline-block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 8vw, 108px); font-weight: 400; line-height: .76; letter-spacing: -.075em; }
.brand::after { color: var(--accent); content: "."; }
.main-nav { display: flex; border-top: 1px solid var(--line); }
.main-nav span, .main-nav a { position: relative; padding: 13px 0 12px; font-size: 13px; font-weight: 700; }
.main-nav .active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: var(--accent); content: ""; }
.articles-page { width: min(760px, 100%); min-height: 520px; margin: 0 auto; padding: 92px 0 120px; }
.article-index { border-top: 1px solid var(--ink); }
.section-label { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .22em; }
.article-entry { display: grid; grid-template-columns: 54px 1fr auto; gap: 28px; align-items: center; padding: 38px 0 42px; border-bottom: 1px solid var(--line); transition: color .18s ease; }
.article-entry:hover { color: var(--accent); }
.entry-number { color: var(--muted); font-family: Georgia, serif; font-size: 14px; }
.entry-copy { display: grid; gap: 9px; }
.entry-copy strong { font-family: "Songti SC", STSong, "Noto Serif CJK SC", serif; font-size: clamp(30px, 4vw, 42px); font-weight: 600; line-height: 1; }
.entry-copy > span { color: var(--muted); font-family: "Songti SC", STSong, serif; font-size: 14px; }
.entry-arrow { font-family: Georgia, serif; font-size: 25px; transition: transform .18s ease; }
.article-entry:hover .entry-arrow { transform: translateX(5px); }
.article-page { width: min(760px, 100%); margin: 0 auto; padding: 72px 0 120px; }
.back-link { display: inline-block; margin-bottom: 66px; padding-bottom: 3px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; }
.back-link:hover { color: var(--accent); border-color: var(--accent); }
.article-header { padding-bottom: 34px; border-bottom: 1px solid var(--ink); }
.article-header p { margin: 0 0 18px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .22em; }
.article-header h1 { margin: 0; font-family: "Songti SC", STSong, "Noto Serif CJK SC", serif; font-size: clamp(48px, 7vw, 72px); font-weight: 600; line-height: 1; }
.epigraph { margin: 50px 0 58px; padding: 0 0 0 22px; border-left: 3px solid var(--accent); color: var(--muted); font-family: Georgia, "Times New Roman", "Songti SC", serif; font-size: 15px; line-height: 1.8; }
.epigraph p { margin: 0; }
.article-body { font-family: "Songti SC", STSong, "Noto Serif CJK SC", serif; font-size: 19px; line-height: 2.05; letter-spacing: .02em; }
.article-body p { margin: 0 0 1.65em; }
.article-body .chant { margin-bottom: .35em; font-size: 21px; letter-spacing: .08em; }
.article-body .closing-line { margin-top: 2.6em; color: var(--accent); font-size: 23px; font-weight: 400; }
.site-footer { display: flex; justify-content: space-between; padding: 22px 0 34px; border-top: 1px solid var(--ink); color: var(--muted); font-size: 10px; }
.site-footer a { border-bottom: 1px solid var(--line); }
.site-footer a:hover { color: var(--accent); }
@media (max-width: 780px) {
  .site-shell { width: min(100% - 36px, 620px); }
  .masthead { padding-top: 22px; }
  .brand-row { padding: 30px 0 20px; }
  .brand { font-size: 65px; }
  .articles-page { min-height: 440px; padding: 62px 0 88px; }
  .article-entry { grid-template-columns: 34px 1fr auto; gap: 15px; padding: 30px 0 34px; }
  .entry-copy strong { font-size: 32px; }
  .entry-copy > span { font-size: 13px; }
  .article-page { padding: 52px 0 88px; }
  .back-link { margin-bottom: 48px; }
  .article-header h1 { font-size: 52px; }
  .epigraph { margin: 38px 0 44px; font-size: 14px; }
  .article-body { font-size: 17px; line-height: 2; }
  .site-footer { display: grid; gap: 8px; }
}
