:root {
  --paper: #f4efe4;
  --surface: #fffaf0;
  --ink: #17251d;
  --muted: #6e746b;
  --line: #c9c0ad;
  --accent: #d95f2b;
  --moss: #54705f;
  --max: 1460px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 6%, rgba(217, 95, 43, .05), transparent 26rem),
    var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 99;
  background: var(--ink);
  color: white;
  padding: .65rem 1rem;
}
.skip-link:focus { top: 1rem; }
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.8rem 1.5rem 1.2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}
.brand {
  display: inline-flex;
  gap: .8rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.55rem;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  letter-spacing: .08em;
  font-weight: 800;
}
.brand-copy small {
  margin-top: .25rem;
  color: var(--moss);
  font-size: .64rem;
  letter-spacing: .24em;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .35rem 1.4rem;
  font-size: .86rem;
}
.site-nav a {
  padding: .35rem 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { border-color: var(--accent); }
.menu-button { display: none; }
.site-frame {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) 15rem;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: start;
}
.category-rail {
  position: sticky;
  top: 1rem;
  display: grid;
  border-top: 1px solid var(--ink);
}
.rail-title,
.eyebrow,
.card-kicker,
.article-meta,
.section-number,
.footer-label {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .69rem;
  font-weight: 700;
}
.rail-title { margin: 0; padding: .75rem 0; color: var(--muted); }
.category-rail a {
  display: flex;
  gap: .7rem;
  padding: .75rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-size: .88rem;
}
.category-rail a[aria-current="page"],
.category-rail a:hover { color: var(--accent); }
.category-rail a span { color: var(--muted); font-size: .66rem; }
.lead-story {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 0;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 4rem;
}
.lead-copy {
  padding: 1.4rem 2rem 2.2rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.eyebrow { color: var(--accent); margin: 0 0 .7rem; }
.lead-copy h1,
.category-header h1,
.article-header h1,
.about-hero h1 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.16;
}
.lead-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 4.4rem);
}
.lead-dek { margin: 0 0 1.7rem; color: #4c544d; font-size: 1rem; }
.button-link {
  margin-top: auto;
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  padding: .75rem 0;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.lead-image { position: relative; align-self: stretch; display: block; min-height: 25rem; overflow: hidden; }
.lead-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04); }
.lead-image span {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--accent);
  color: white;
  padding: .55rem .9rem;
  font-size: .66rem;
  letter-spacing: .15em;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  border-top: 3px solid var(--ink);
  padding: 1rem 0 1.6rem;
}
.section-heading h2 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}
.section-heading > p { max-width: 22rem; margin: 0; color: var(--muted); font-size: .83rem; }
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem 1.2rem;
}
.story-card { min-width: 0; }
.card-image { position: relative; display: block; overflow: hidden; background: #d9d2c4; aspect-ratio: 4 / 3; }
.card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.76); transition: transform .45s ease, filter .45s ease; }
.story-card:hover .card-image img { transform: scale(1.025); filter: saturate(.95); }
.card-image span {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--paper);
  padding: .2rem .45rem;
  font-size: .63rem;
  letter-spacing: .08em;
}
.card-copy { padding-top: .9rem; }
.card-kicker { margin: 0 0 .45rem; color: var(--accent); }
.card-copy h3 {
  margin: 0 0 .6rem;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.22rem;
  line-height: 1.42;
}
.card-copy h3 a { text-decoration: none; }
.card-copy h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.card-copy > p:not(.card-kicker) { margin: 0 0 .8rem; color: #596158; font-size: .83rem; line-height: 1.65; }
.card-copy time { color: var(--muted); font-size: .7rem; }
.field-notes {
  position: sticky;
  top: 1rem;
  padding: 1.2rem;
  background: var(--ink);
  color: var(--paper);
}
.field-notes .eyebrow { color: #e98b61; }
.field-notes h2 {
  margin: 0 0 1rem;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.6rem;
}
.field-notes > p { color: #d7d4c9; font-size: .86rem; }
.note-rule { height: 1px; background: #667168; margin: 1.4rem 0; }
.field-notes ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.field-notes li { padding: .65rem 0; border-bottom: 1px solid #35433a; font-size: .81rem; }
.field-notes li span { color: #e98b61; margin-right: .6rem; font-size: .62rem; }
.text-link { color: var(--paper); font-size: .78rem; }
.manifesto {
  margin-top: 5rem;
  padding: 3.5rem;
  border: 1px solid var(--ink);
  background: var(--surface);
}
.manifesto > p:last-child {
  max-width: 47rem;
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.55;
}
.category-header {
  padding: 2.5rem 0 3rem;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 2.5rem;
}
.category-header h1 { margin: .5rem 0; font-size: clamp(3rem, 7vw, 6.5rem); }
.category-header > p:last-child { max-width: 38rem; color: #505950; }
.category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer {
  background: var(--ink);
  color: #ebe7dc;
  padding: 4.5rem 1.5rem 1.5rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr .7fr .7fr 1fr;
  gap: 3rem;
}
.footer-brand {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  margin: 0 0 1rem;
  line-height: 1;
}
.footer-grid p { color: #bfc3ba; font-size: .82rem; }
.footer-grid a { display: block; color: #ebe7dc; font-size: .83rem; margin: .5rem 0; text-decoration: none; }
.footer-label { color: #e98b61 !important; }
.footer-bottom {
  max-width: var(--max);
  margin: 3rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #435048;
  font-size: .68rem;
  color: #909a91;
}
.article-wrap { max-width: 1180px; margin: 0 auto; padding: 2rem 1.5rem 5rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; color: var(--muted); font-size: .74rem; }
.article-header { max-width: 960px; padding: 3.5rem 0 2.5rem; }
.article-header h1 { font-size: clamp(2.3rem, 6vw, 5.3rem); margin: .5rem 0 1.4rem; }
.article-dek { max-width: 760px; color: #4b554d; font-size: clamp(1rem, 2vw, 1.25rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; color: var(--muted); margin-top: 1.7rem; }
.article-hero { margin: 0 0 3.5rem; }
.article-hero img { width: 100%; aspect-ratio: 3 / 1.45; object-fit: cover; filter: saturate(.8); }
.article-layout { display: grid; grid-template-columns: 12rem minmax(0, 720px); gap: clamp(2rem, 7vw, 7rem); justify-content: center; align-items: start; }
.article-toc { position: sticky; top: 1rem; display: grid; border-top: 1px solid var(--ink); }
.article-toc > p { margin: 0; padding: .7rem 0; color: var(--muted); font-size: .69rem; letter-spacing: .13em; }
.article-toc a { display: flex; gap: .6rem; padding: .62rem 0; border-top: 1px solid var(--line); text-decoration: none; font-size: .76rem; line-height: 1.4; }
.article-toc a span { color: var(--accent); font-size: .62rem; }
.article-toc .back-link { margin-top: 1.2rem; color: var(--muted); }
.article-content { min-width: 0; }
.article-section { padding: 0 0 2.2rem; }
.article-section .section-number { color: var(--accent); margin: 0 0 .5rem; }
.article-section h2 {
  margin: 0 0 1.15rem;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.35;
}
.article-content p {
  margin: 0 0 1.25rem;
  font-size: 1.04rem;
  line-height: 2;
  color: #2b352e;
}
.article-note { margin: 2.5rem 0 0; padding: 2rem; background: var(--ink); color: var(--paper); }
.article-note .eyebrow { color: #e98b61; }
.article-note p:last-child { margin: 0; color: var(--paper); font-family: "Noto Serif SC", "Songti SC", serif; font-size: 1.3rem; line-height: 1.75; }
.related { margin-top: 5rem; }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-page { max-width: 1180px; margin: 0 auto; padding: 4rem 1.5rem 6rem; }
.about-hero { max-width: 900px; padding-bottom: 4rem; border-bottom: 1px solid var(--ink); }
.about-hero h1 { font-size: clamp(3rem, 8vw, 7rem); margin: .5rem 0 1.5rem; }
.about-hero > p:last-child { max-width: 680px; color: var(--muted); font-size: 1.15rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-top: 4rem; }
.about-grid section { border-top: 1px solid var(--line); }
.about-grid h2 { margin: .8rem 0 1.2rem; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 2rem; }
.about-grid p { line-height: 1.95; color: #3f4a42; }

@media (max-width: 1100px) {
  .site-frame { grid-template-columns: 9rem minmax(0, 1fr); }
  .field-notes { display: none; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-copy h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
}

@media (max-width: 760px) {
  .site-header { padding: 1.1rem 1rem .8rem; align-items: center; }
  .brand-mark { width: 2.2rem; height: 2.2rem; }
  .brand-copy strong { font-size: 1.55rem; }
  .brand-copy small { font-size: .53rem; }
  .menu-button {
    display: block;
    border: 1px solid var(--ink);
    background: transparent;
    padding: .45rem .75rem;
    color: var(--ink);
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 4.6rem;
    left: 1rem;
    right: 1rem;
    z-index: 20;
    padding: 1rem;
    background: var(--ink);
    color: var(--paper);
    justify-content: start;
  }
  .site-nav.is-open { display: flex; }
  .site-frame { display: block; padding: 1rem 1rem 3.5rem; }
  .category-rail { display: none; }
  .lead-story { display: flex; flex-direction: column-reverse; margin-bottom: 2.8rem; }
  .lead-copy { padding: 1.4rem 0 1.8rem; }
  .lead-copy h1 { font-size: clamp(2.15rem, 10vw, 3.1rem); }
  .lead-image { min-height: 0; aspect-ratio: 4 / 3; }
  .section-heading { align-items: start; flex-direction: column; gap: .5rem; }
  .story-grid,
  .category-grid,
  .related-grid { grid-template-columns: 1fr; }
  .story-card { padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
  .card-copy h3 { font-size: 1.32rem; }
  .manifesto { padding: 1.5rem; margin-top: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .article-wrap { padding: 1rem 1rem 3.5rem; }
  .article-header { padding: 2rem 0 1.5rem; }
  .article-header h1 { font-size: 2.2rem; }
  .article-hero { margin-bottom: 2rem; }
  .article-hero img { aspect-ratio: 4 / 3; }
  .article-layout { display: block; }
  .article-toc { position: static; margin-bottom: 2.8rem; }
  .article-toc a { padding: .5rem 0; }
  .article-content p { font-size: 1rem; line-height: 1.95; }
  .article-note { padding: 1.4rem; }
  .about-page { padding: 2.5rem 1rem 4rem; }
  .about-hero h1 { font-size: 3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
