:root {
  --bg: #faf9f6;
  --fg: #1f1e1b;
  --muted: #8a8780;
  --line: #e8e5de;
  --accent: #c25e3c;
  --card: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 10;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { font-size: 20px; font-weight: 700; color: var(--fg); text-decoration: none; letter-spacing: 0.08em; }
.nav a {
  margin-left: 28px; color: var(--muted); text-decoration: none; font-size: 15px;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--fg); }

/* Hero */
.hero { padding: 64px 0 64px; }
.hero-media { margin-bottom: 40px; }
.hero-media img {
  width: 100%; border-radius: 18px; display: block;
  aspect-ratio: 16 / 9; object-fit: cover;
}
.hero-kicker { color: var(--accent); font-size: 14px; letter-spacing: 0.2em; margin-bottom: 20px; }
.hero-title {
  font-size: clamp(34px, 6vw, 52px); font-weight: 700; line-height: 1.2;
  letter-spacing: 0.02em; margin-bottom: 24px;
}
.hero-desc { color: var(--muted); font-size: 17px; }

/* Section */
.section-title {
  font-size: 15px; color: var(--muted); letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 28px; font-weight: 600;
}

/* Post list */
.post-list { padding: 24px 0 80px; }
.posts { display: flex; flex-direction: column; gap: 0; }
.post-card {
  display: block; padding: 28px 0; text-decoration: none;
  border-bottom: 1px solid var(--line); transition: transform .2s;
}
.post-card:last-child { border-bottom: none; }
.post-card:hover { transform: translateX(4px); }
.post-card:hover .post-title { color: var(--accent); }
.post-meta {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
  font-size: 13px; color: var(--muted);
}
.post-tag {
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px;
  padding: 2px 12px; font-size: 12px; color: var(--muted);
}
.post-title { font-size: 22px; font-weight: 700; color: var(--fg); margin-bottom: 8px; transition: color .2s; }
.post-excerpt { color: var(--muted); font-size: 15px; }

/* Article */
.article { padding: 72px 0 80px; }
.article-header { margin-bottom: 40px; }
.article-title { font-size: clamp(28px, 5vw, 40px); font-weight: 700; line-height: 1.25; margin: 16px 0 20px; }
.article-body { font-size: 17px; color: #33322f; }
.article-body p { margin-bottom: 24px; }
.article-body h2 { font-size: 22px; font-weight: 700; margin: 40px 0 16px; }
.article-body blockquote {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 20px;
  margin: 0 0 24px; color: var(--muted); font-style: italic;
}
.back-link { display: inline-block; margin-bottom: 32px; color: var(--muted); text-decoration: none; font-size: 14px; }
.back-link:hover { color: var(--fg); }

/* About */
.about { padding: 72px 0 80px; }
.about h1 { font-size: 32px; font-weight: 700; margin-bottom: 24px; }
.about p { color: #33322f; font-size: 17px; margin-bottom: 20px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; font-size: 13px; color: var(--muted);
}
