:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #20211e;
  --muted: #85857e;
  --line: #deddd6;
  --accent: #536d5c;
  --serif: 'Songti SC', 'STSong', 'Noto Serif CJK SC', serif;
  --sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --mono: 'SFMono-Regular', Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.topbar, .footer { display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin: 0 auto; padding: 28px 32px; }
.topbar { border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: .1em; }
.wordmark span { color: var(--muted); font: 10px var(--mono); letter-spacing: .13em; }
nav { display: flex; gap: 30px; color: #65665f; font-size: 13px; }
nav a:hover, .text-link:hover { color: var(--accent); }
main { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.intro { min-height: 510px; padding: 113px 0 96px; }
.eyebrow { margin: 0 0 20px; color: var(--muted); font: 10px var(--mono); letter-spacing: .17em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 27px; font-family: var(--serif); font-size: clamp(43px, 6.2vw, 72px); font-weight: 400; letter-spacing: .045em; line-height: 1.47; }
h1 em { color: var(--accent); font-style: normal; }
.intro-copy { color: #70716a; font-size: 14px; line-height: 2.1; }
.text-link { display: inline-flex; gap: 13px; align-items: center; margin-top: 27px; color: var(--ink); font-size: 12px; }
.library { padding: 70px 0 100px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: .12em; }
.muted { margin: 0 0 4px; color: var(--muted); font: 11px var(--mono); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 34px 0 13px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.search-box { display: flex; align-items: center; gap: 9px; min-width: 190px; color: var(--muted); }
.search-box svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: 12px var(--sans); }
.search-box input::placeholder { color: #999991; }
.filters { display: flex; flex-wrap: wrap; justify-content: end; gap: 7px; }
.filter { border: 1px solid transparent; border-radius: 999px; padding: 7px 11px; background: transparent; color: #777871; cursor: pointer; font: 11px var(--sans); }
.filter:hover, .filter[aria-pressed="true"] { border-color: #d4d7d0; background: #eef0eb; color: var(--accent); }
.article-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 54px; }
.article-card { display: block; min-height: 170px; padding: 27px 0 25px; border-bottom: 1px solid var(--line); }
.article-card:hover h3 { color: var(--accent); }
.article-meta { display: flex; gap: 13px; margin-bottom: 12px; color: var(--muted); font: 10px var(--mono); }
.article-meta .category { color: var(--accent); }
h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: .02em; transition: color .2s; }
.article-card p { max-width: 480px; margin-bottom: 0; color: #777871; font-size: 12px; line-height: 1.9; }
.empty { grid-column: 1 / -1; padding: 66px 0; color: var(--muted); text-align: center; font-family: var(--serif); font-size: 16px; letter-spacing: .05em; }
.about { display: grid; grid-template-columns: 1fr 2fr; align-items: start; padding: 47px 0 78px; border-top: 1px solid var(--line); }
.about .eyebrow { padding-top: 8px; }
.about-line { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 2; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer .wordmark { color: var(--ink); font-size: 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 680px) {
  .topbar, .footer { padding: 21px 22px; }
  main { padding: 0 22px; }
  .topbar nav { gap: 19px; }
  .intro { min-height: 430px; padding: 92px 0 72px; }
  h1 { font-size: clamp(39px, 11vw, 58px); }
  .desktop-only { display: none; }
  .library { padding: 56px 0 75px; }
  .toolbar { align-items: flex-start; flex-direction: column; gap: 17px; }
  .filters { justify-content: flex-start; }
  .article-list { grid-template-columns: 1fr; }
  .article-card { min-height: 0; padding: 23px 0; }
  .about { grid-template-columns: 1fr; gap: 15px; padding-bottom: 56px; }
}
