:root {
  --bg: #f7f1e8;
  --bg-accent: #eadfce;
  --surface: rgba(255, 250, 244, 0.82);
  --surface-strong: #fffaf4;
  --border: rgba(67, 48, 25, 0.14);
  --text: #24170f;
  --muted: #71563d;
  --accent: #9d4a1a;
  --accent-soft: #f0dccd;
  --shadow: 0 24px 60px rgba(53, 35, 18, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 116, 56, 0.22), transparent 34%),
    radial-gradient(circle at top right, rgba(141, 93, 45, 0.16), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #f4ecdf 100%);
}

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

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header,
.site-footer,
.hero,
.intro-card,
.quote-card,
.post-card,
.topic-card,
.article-shell {
  backdrop-filter: blur(12px);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
}

.brand {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.site-nav a:hover,
.site-footer a:hover,
.post-card h3 a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 52px;
  border-radius: var(--radius-lg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(157, 74, 26, 0.18), rgba(255, 255, 255, 0.08));
}

.eyebrow,
.card-label,
.post-meta {
  margin: 0 0 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1,
.article-shell h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.04;
  max-width: 11ch;
}

.hero-copy,
.lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--text);
  color: #fff7ef;
}

.button.secondary {
  background: var(--accent-soft);
  color: var(--accent);
}

.section-grid,
.post-list,
.topics {
  display: grid;
  gap: 20px;
}

.section-grid {
  grid-template-columns: 1.25fr 0.75fr;
  margin-top: 22px;
}

.intro-card,
.quote-card,
.post-card,
.topic-card,
.article-shell {
  border-radius: var(--radius-md);
}

.intro-card,
.quote-card {
  padding: 28px;
}

.intro-card h2,
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
}

.intro-card p:last-child,
.topic-card p,
.post-card p,
.article-body p,
.article-body li {
  color: var(--muted);
  line-height: 1.85;
}

.quote-card {
  display: flex;
  align-items: end;
  background: linear-gradient(180deg, rgba(157, 74, 26, 0.9), rgba(112, 55, 24, 0.94));
  color: #fff7ef;
}

.quote-card p {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 1.55rem;
  line-height: 1.45;
}

.section-heading {
  margin: 52px 0 18px;
}

.post-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card,
.topic-card {
  padding: 24px;
}

.post-card h3,
.topic-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 1.45rem;
}

.topics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-shell {
  padding: 40px;
}

.article-body {
  margin-top: 24px;
}

.article-body ul {
  padding-left: 20px;
}

.site-footer {
  margin-top: 30px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  color: var(--muted);
}

@media (max-width: 900px) {
  .section-grid,
  .post-list,
  .topics {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 32px 24px;
  }

  .article-shell {
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 14px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero h1,
  .article-shell h1 {
    max-width: none;
    font-size: 2.35rem;
  }
}
