* { box-sizing: border-box; }
:root {
  --bg: #f4efe8;
  --paper: #fffdf8;
  --ink: #1e1b18;
  --muted: #625a52;
  --line: #dccfbe;
  --accent: #0d6b53;
  --accent-soft: #e4f1ec;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(13, 107, 83, 0.08), transparent 34%),
    linear-gradient(180deg, #f7f3ed 0%, var(--bg) 100%);
  font-family: "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  line-height: 1.75;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.site-header, .site-footer { background: rgba(255, 253, 248, 0.92); backdrop-filter: blur(8px); }
.site-header { border-bottom: 1px solid var(--line); }
.header-shell, .footer-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.brand-block { display: grid; gap: 6px; }
.brand { color: var(--ink); font-size: 28px; font-weight: 700; letter-spacing: 0; }
.brand-block p, .footer-shell p { margin: 0; color: var(--muted); font-size: 14px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 15px; }
.main-nav a { color: #33423a; }
.hero-band { padding: 34px 0 12px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr); gap: 22px; align-items: stretch; }
.hero-copy, .hero-feature, .article-item, .page-head, .article-head, .prose, .sidebar-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(73, 54, 29, 0.06);
}
.hero-copy { padding: 34px; }
.hero-copy h1 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 60px); line-height: 1.06; }
.hero-copy p { margin: 0; color: var(--muted); max-width: 700px; }
.hero-actions { margin-top: 18px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.button:hover { text-decoration: none; background: #0a5945; }
.hero-feature { padding: 28px; display: grid; align-content: start; gap: 14px; }
.hero-feature h2 { margin: 0; font-size: 30px; line-height: 1.18; }
.hero-feature p { margin: 0; color: var(--muted); }
.badge, .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.home-section, .page-shell { padding: 18px 0 52px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h1, .section-heading h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.page-head, .article-head { padding: 28px; margin-bottom: 18px; }
.page-head h1, .article-head h1 { margin: 10px 0 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.14; }
.page-head p, .article-head p { margin: 0; color: var(--muted); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--muted); }
.article-list { display: grid; gap: 16px; }
.article-item { padding: 22px; }
.article-item h2 { margin: 10px 0; font-size: 24px; line-height: 1.26; }
.article-item p { margin: 0; color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f0ebe3;
  color: #524941;
  font-size: 13px;
}
.prose { padding: 28px; font-size: 18px; }
.prose img { max-width: 100%; height: auto; display: block; margin: 20px auto; border-radius: 6px; }
.prose h2, .prose h3, .prose h4 { line-height: 1.3; margin-top: 28px; }
.sidebar { display: grid; gap: 16px; }
.sidebar-card { padding: 20px; }
.sidebar-card h2 { margin: 0 0 14px; font-size: 20px; }
.simple-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.simple-list li { border-top: 1px solid #ede3d5; padding-top: 12px; }
.simple-list li:first-child { border-top: 0; padding-top: 0; }
.related-strip { margin-top: 22px; }
.pager { margin-top: 24px; display: flex; justify-content: center; gap: 18px; align-items: center; }
.site-footer { border-top: 1px solid var(--line); }
@media (max-width: 960px) {
  .hero-grid, .page-grid, .header-shell, .footer-shell { grid-template-columns: 1fr; display: grid; }
  .main-nav { gap: 12px; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 24px, 1160px); }
  .hero-copy, .hero-feature, .page-head, .article-head, .article-item, .prose, .sidebar-card { padding: 20px; }
  .article-item h2 { font-size: 21px; }
  .prose { font-size: 17px; }
}
