:root {
  --bg: #f6f2ea;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #1f2430;
  --muted: #6a6f7b;
  --line: rgba(31, 36, 48, 0.12);
  --accent: #23463f;
  --accent-soft: #dfe9e5;
  --shadow: 0 16px 50px rgba(28, 34, 44, 0.08);
  --content-width: 760px;
  --page-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  background:
    radial-gradient(circle at top left, rgba(35, 70, 63, 0.12), transparent 28%),
    linear-gradient(180deg, #f3ede4 0%, #f8f6f2 30%, #f7f7f4 100%);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.shell {
  width: min(calc(100% - 2rem), var(--page-width));
  margin: 0 auto;
}

.site-header {
  padding: 2rem 0 1.5rem;
}

.site-header__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.site-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.site-tagline {
  color: var(--muted);
  margin: 0.4rem 0 0;
  max-width: 40rem;
  line-height: 1.7;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.hero {
  padding: 1.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card {
  padding: 2rem;
}

.hero-card h2,
.section-title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.hero-card p,
.article-summary,
.meta,
.archive-list {
  line-height: 1.8;
  color: var(--muted);
}

.hero-illustration {
  min-height: 100%;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-illustration::before {
  content: "";
  position: absolute;
  inset: 1.5rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 75% 25%, rgba(226, 120, 73, 0.35), transparent 18%),
    radial-gradient(circle at 25% 80%, rgba(35, 70, 63, 0.18), transparent 25%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(240, 245, 243, 0.95));
}

.hero-illustration__line,
.hero-illustration__bird {
  position: relative;
  z-index: 1;
}

.hero-illustration__line {
  width: 100%;
  height: 2px;
  margin-top: 4rem;
  border-top: 2px dashed rgba(35, 70, 63, 0.4);
  transform: rotate(-8deg);
}

.hero-illustration__bird {
  margin: 4rem 0 0 auto;
  width: 4.8rem;
  aspect-ratio: 1.4;
  background: linear-gradient(135deg, #2f4d45, #dd7d4f);
  clip-path: polygon(0 60%, 36% 44%, 58% 0, 72% 43%, 100% 54%, 66% 64%, 48% 100%, 34% 66%);
}

.section {
  padding: 1rem 0 2rem;
}

.post-list {
  display: grid;
  gap: 1rem;
}

.post-card {
  padding: 1.4rem 1.5rem;
  display: grid;
  gap: 0.65rem;
}

.post-card__cover {
  display: block;
  margin: -0.3rem -0.4rem 0.2rem;
}

.post-card__cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.post-card__title {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.meta {
  font-size: 0.95rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-pill {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  text-decoration: none;
}

.content-shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.article {
  padding: 1rem 0 4rem;
}

.article h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin: 1rem 0;
  font-weight: 500;
}

.article-body {
  font-size: 1.06rem;
  line-height: 1.95;
}

.article-body h2,
.article-body h3 {
  margin-top: 2.2rem;
  line-height: 1.2;
}

.article-body pre,
.article-body blockquote {
  border-radius: 18px;
  padding: 1rem 1.2rem;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  overflow-x: auto;
}

.article-body img {
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin: 1.5rem 0;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.archive-group {
  padding: 1.2rem 1.4rem;
  margin-top: 1rem;
}

.archive-group h2 {
  margin: 0 0 0.75rem;
}

.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .site-header__row,
  .article-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
