:root {
  --paper: #faf8f4;
  --paper-alt: #f3efe7;
  --ink: #1d1b18;
  --ink-soft: #4a463f;
  --muted: #8b857c;
  --line: #e3ded4;
  --accent: #a0562f;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap { width: min(1120px, 100% - 48px); margin: 0 auto; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: baseline; gap: 10px; }
.brand .cn {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.brand .en {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right 0.25s ease;
}
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav a.active { color: var(--ink); font-weight: 600; }

/* ===== 首屏 ===== */
.hero { padding: 88px 0 64px; border-bottom: 1px solid var(--line); }
.hero .kicker {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.3;
  font-weight: 600;
  margin: 20px 0 24px;
  letter-spacing: 0.01em;
}
.hero p {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0;
}
.hero .meta {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ===== 精选 ===== */
.featured { padding: 64px 0 24px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.04em;
}
.section-head .more { font-size: 14px; color: var(--muted); }

.feature-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(29, 27, 24, 0.09);
}
.feature-card .thumb { height: 100%; min-height: 320px; overflow: hidden; }
.feature-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature-card .body { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
  border: 1px solid rgba(160, 86, 47, 0.35);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 18px;
  width: fit-content;
}
.feature-card h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.45;
  font-weight: 600;
  margin: 0 0 14px;
}
.feature-card p { margin: 0 0 24px; color: var(--ink-soft); font-size: 15.5px; }
.byline { font-size: 13.5px; color: var(--muted); }

/* ===== 文章列表 ===== */
.posts { padding: 40px 0 72px; }
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(29, 27, 24, 0.08);
}
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-alt); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .thumb.plain {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #efe8dc 0%, #e6ddcd 100%);
}
.post-card .thumb.plain span {
  font-family: var(--serif);
  font-size: 34px;
  color: rgba(160, 86, 47, 0.42);
  letter-spacing: 0.2em;
}
.post-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; letter-spacing: 0.04em; }
.post-card h3 {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  font-weight: 600;
  margin: 0 0 10px;
}
.post-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 18px; flex: 1; }
.post-card .read { font-size: 13.5px; color: var(--accent); }

/* ===== 关于条 ===== */
.about-strip { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 0; }
.about-strip .inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.about-strip h2 { font-family: var(--serif); font-size: 26px; margin: 0 0 12px; font-weight: 600; }
.about-strip .lead { color: var(--muted); font-size: 14px; margin: 0; letter-spacing: 0.06em; }
.about-strip p { margin: 0 0 16px; color: var(--ink-soft); }
.link-arrow { color: var(--accent); font-size: 15px; border-bottom: 1px solid rgba(160, 86, 47, 0.4); padding-bottom: 2px; }

/* ===== 页脚 ===== */
.site-footer { padding: 56px 0 48px; }
.site-footer .inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.site-footer .cn { font-family: var(--serif); font-size: 18px; }
.site-footer .small { font-size: 13px; color: var(--muted); margin-top: 6px; }
.site-footer .links { display: flex; gap: 22px; font-size: 13.5px; color: var(--ink-soft); }

/* ===== 文章页 ===== */
.article { padding: 56px 0 40px; }
.article .head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.article .head h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.45;
  font-weight: 600;
  margin: 18px 0 18px;
}
.article .head .byline { font-size: 13.5px; color: var(--muted); }
.article .cover {
  max-width: 1000px;
  margin: 0 auto 48px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.article .cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article .content { max-width: 680px; margin: 0 auto; font-size: 17.5px; line-height: 1.95; color: #2a2723; }
.article .content p { margin: 0 0 26px; }
.article .content h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 46px 0 18px;
  letter-spacing: 0.03em;
}
.article .content blockquote {
  margin: 40px 0;
  padding: 6px 0 6px 24px;
  border-left: 3px solid var(--accent);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.article .content ul { padding-left: 22px; margin: 0 0 26px; }
.article .content li { margin-bottom: 12px; }
.article .end {
  max-width: 680px;
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

/* ===== 关于页 ===== */
.page { padding: 80px 0 64px; }
.page .head { max-width: 720px; }
.page .head h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 600; margin: 14px 0 22px; line-height: 1.35; }
.page .body { max-width: 720px; margin-top: 40px; font-size: 17px; line-height: 1.95; color: #2a2723; }
.page .body p { margin: 0 0 24px; }
.page .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 48px 0 8px; max-width: 860px; }
.page .facts .item { border-top: 2px solid var(--ink); padding-top: 16px; }
.page .facts .num { font-family: var(--serif); font-size: 26px; display: block; margin-bottom: 4px; }
.page .facts .label { font-size: 13.5px; color: var(--muted); }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-card .thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .feature-card .body { padding: 30px 28px 34px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about-strip .inner { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 64px 0 48px; }
  .page .facts { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .site-header .wrap { height: 60px; }
  .brand .cn { font-size: 20px; }
  .brand .en { display: none; }
  .nav { gap: 18px; }
  .nav a { font-size: 13.5px; }
  .post-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .article .content { font-size: 16.5px; }
  .site-footer .inner { flex-direction: column; align-items: flex-start; }
}
