:root {
  --ink: #201711;
  --ink-soft: #473427;
  --paper: #efe2c4;
  --paper-deep: #dcc79c;
  --gold: #b58a3b;
  --red: #8d2f27;
  --brown: #3a2418;
  --line: rgba(48, 32, 22, .18);
  --shadow: 0 18px 50px rgba(30, 20, 12, .22);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at top left, rgba(181,138,59,.12), transparent 35%), linear-gradient(180deg, #f4e8cc 0%, #e4d0a6 100%);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "Microsoft YaHei", serif;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.top-strip { height: 8px; background: repeating-linear-gradient(90deg, var(--brown) 0 24px, var(--gold) 24px 34px, var(--red) 34px 46px); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(32,23,17,.94); color: var(--paper); box-shadow: 0 10px 30px rgba(0,0,0,.25); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 48px; height: 48px; border: 2px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: var(--gold); background: rgba(255,255,255,.04); }
.brand strong { display: block; font-size: 22px; letter-spacing: .08em; }
.brand em { display: block; font-size: 12px; font-style: normal; color: #d8c190; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { padding: 8px 12px; border-radius: 999px; font-size: 14px; color: #f2e4c5; }
.site-nav a:hover, .site-nav a.active { background: rgba(181,138,59,.24); color: #fff; }
.nav-toggle { display: none; background: transparent; color: var(--paper); border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 8px 12px; font-size: 22px; }
.hero { padding: 72px 0 58px; }
.archive-hero { background: linear-gradient(135deg, rgba(32,23,17,.95), rgba(58,36,24,.88)), url('/assets/images/paper-grain.svg'); color: #f6e9cb; }
.hero-grid, .sub-hero-grid, .split, .image-text-grid, .search-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 800; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 16px; color: inherit; }
h1 { font-size: clamp(38px, 7vw, 72px); letter-spacing: .05em; }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 14px; }
.lead { font-size: 19px; max-width: 680px; color: inherit; opacity: .93; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 12px 22px; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.primary { background: var(--gold); color: #1f150d; }
.btn.ghost { border-color: rgba(246,233,203,.45); color: #f6e9cb; }
.domain-card { display: inline-flex; flex-direction: column; gap: 2px; padding: 12px 18px; border: 1px dashed rgba(246,233,203,.42); border-radius: 16px; background: rgba(0,0,0,.16); }
.domain-card span { color: #d8c190; font-size: 13px; }
.domain-card strong { font-size: 18px; word-break: break-all; }
.hero-art { margin: 0; padding: 18px; background: rgba(239,226,196,.08); border: 1px solid rgba(239,226,196,.22); border-radius: var(--radius); box-shadow: var(--shadow); }
.section { padding: 74px 0; }
.paper-section { background: rgba(239,226,196,.58); background-image: linear-gradient(rgba(58,36,24,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(58,36,24,.04) 1px, transparent 1px); background-size: 28px 28px; }
.section-head { max-width: 850px; margin-bottom: 28px; }
.section-head p { color: var(--ink-soft); }
.section-head.light p, .dark-section .section-head p { color: #decaa0; }
.timeline-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline-strip a { position: relative; min-height: 130px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,248,230,.62); box-shadow: 0 10px 26px rgba(58,36,24,.08); overflow: hidden; }
.timeline-strip a:before { content: ""; position: absolute; inset: auto 20px 18px 20px; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold)); border-radius: 999px; }
.timeline-strip span { display: block; color: var(--red); font-weight: 800; }
.timeline-strip b { display: block; font-size: 24px; margin-top: 10px; }
.card-grid { display: grid; gap: 22px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.archive-card, .mini-card, .content-panel, .filter-board > div, .people-grid article, .article-list article, .video-grid article, .contact-grid article, .faq-list details { background: rgba(255,248,230,.78); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(58,36,24,.10); }
.archive-card { overflow: hidden; }
.archive-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #2a1c13; }
.card-body { padding: 22px; }
.tag { display: inline-flex; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(181,138,59,.18); color: var(--brown); font-size: 12px; font-weight: 900; }
.tag.red { background: rgba(141,47,39,.14); color: var(--red); }
.tag.gold { background: rgba(181,138,59,.24); }
.archive-card a, .article-list a { color: var(--red); font-weight: 900; }
.dark-section { background: linear-gradient(135deg, #211711, #41291b); color: #f6e9cb; }
.feature-list { padding-left: 20px; margin: 20px 0 28px; }
.feature-list li { margin-bottom: 8px; }
.framed-img { padding: 18px; border: 1px solid rgba(239,226,196,.24); border-radius: var(--radius); background: rgba(239,226,196,.07); box-shadow: var(--shadow); }
.index-table { display: grid; gap: 12px; }
.index-table div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,248,230,.68); }
.index-table strong { color: var(--red); }
.search-panel { background: rgba(255,248,230,.62); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.fake-search { display: grid; gap: 12px; }
.fake-search label { font-weight: 900; color: var(--brown); }
.fake-search select, .fake-search input { width: 100%; border: 1px solid var(--line); background: #fff7e2; color: var(--ink); border-radius: 12px; padding: 12px 14px; font: inherit; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.topic-grid a { display: block; padding: 20px; border: 1px solid rgba(239,226,196,.22); border-radius: var(--radius); background: rgba(239,226,196,.08); }
.topic-grid img { height: 160px; width: 100%; object-fit: contain; margin-bottom: 16px; }
.topic-grid strong, .topic-grid span { display: block; }
.topic-grid strong { font-size: 22px; }
.topic-grid span { color: #decaa0; }
.note-list { display: grid; gap: 16px; }
.note-list article { display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 24px; border-top: 1px solid var(--line); }
.note-list span { grid-row: span 2; width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 900; }
.faq-list { display: grid; gap: 14px; }
.faq-list details { padding: 18px 22px; }
.faq-list summary { cursor: pointer; font-weight: 900; font-size: 18px; }
.contact-cta { background: rgba(141,47,39,.08); }
.split.compact { grid-template-columns: 1fr auto; }
.sub-hero { padding: 64px 0; background: linear-gradient(135deg, rgba(32,23,17,.96), rgba(81,50,32,.88)); color: #f6e9cb; }
.sub-hero img { max-height: 330px; justify-self: center; }
.content-panel { padding: 30px; }
.method-grid, .filter-board, .people-grid, .video-grid, .contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.method-grid article { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,248,230,.7); }
.stamp { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brown); color: var(--gold); font-weight: 900; margin-bottom: 16px; }
.filter-board > div, .people-grid article, .video-grid article, .contact-grid article { padding: 24px; }
.table-wrap { overflow-x: auto; }
.archive-table { width: 100%; border-collapse: collapse; background: rgba(255,248,230,.78); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 34px rgba(58,36,24,.10); }
.archive-table th, .archive-table td { border-bottom: 1px solid var(--line); padding: 16px; text-align: left; }
.archive-table th { background: var(--brown); color: var(--paper); }
.archive-table tr:last-child td { border-bottom: 0; }
.mini-card { padding: 26px; background: rgba(239,226,196,.08); color: #f6e9cb; border-color: rgba(239,226,196,.22); }
.vertical-timeline { position: relative; display: grid; gap: 22px; }
.vertical-timeline:before { content: ""; position: absolute; left: 20px; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--red), var(--gold)); }
.vertical-timeline article { position: relative; padding: 24px 24px 24px 66px; background: rgba(255,248,230,.74); border: 1px solid var(--line); border-radius: var(--radius); }
.vertical-timeline article span { position: absolute; left: 9px; top: 30px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); border: 4px solid var(--paper); }
.people-grid img, .video-poster img { width: 100%; height: 160px; object-fit: contain; margin-bottom: 16px; }
.article-list { display: grid; gap: 18px; }
.article-list article { padding: 24px; }
.article-list span { color: var(--red); font-weight: 900; }
.video-poster { border-radius: 16px; background: #2b1d14; padding: 14px; margin-bottom: 14px; }
.domain-display { display: block; margin: 12px 0; padding: 14px; border-radius: 12px; border: 1px dashed var(--red); word-break: break-all; background: rgba(141,47,39,.08); }
.site-footer { background: #1d140f; color: #ead9b2; padding: 42px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 26px; }
.footer-grid p { color: #cbb890; }
.footer-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(239,226,196,.16); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #cbb890; }
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; padding-bottom: 16px; justify-content: flex-start; }
  .site-nav.open { display: flex; }
  .nav-wrap { flex-wrap: wrap; }
  .hero-grid, .sub-hero-grid, .split, .image-text-grid, .search-panel, .split.compact { grid-template-columns: 1fr; }
  .timeline-strip, .card-grid.three, .topic-grid, .method-grid, .filter-board, .people-grid, .video-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 22px, 1160px); }
  h1 { font-size: 36px; }
  .lead { font-size: 17px; }
  .index-table div, .note-list article { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
}
