:root {
  --bg: #f7f5f0;
  --surface: #fffdf8;
  --text: #20201d;
  --muted: #6f6d66;
  --line: #dedbd2;
  --accent: #1f5d50;
  --max: 860px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header { border-bottom: 1px solid var(--line); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--text); font-weight: 700; text-decoration: none; letter-spacing: -0.02em; }
nav { display: flex; gap: 18px; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }

.intro { padding: 96px 0 72px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 500; }
.lede { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: 1.2rem; }

.posts { padding: 64px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.9rem; font-weight: 500; }
.post-card { padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.meta { margin: 0 0 12px; color: var(--muted); font-size: 0.86rem; }
h3 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; font-weight: 500; }
h3 a { color: var(--text); text-decoration: none; }
.post-card p:not(.meta) { max-width: 690px; color: var(--muted); }
.read-more { display: inline-block; margin-top: 6px; font-weight: 650; text-decoration: none; }

.about { padding: 56px 0 80px; border-top: 1px solid var(--line); }
.about p { max-width: 670px; color: var(--muted); }

.article { max-width: 720px; padding: 76px 0 96px; }
.article .back { display: inline-block; margin-bottom: 42px; color: var(--muted); text-decoration: none; }
.article h1 { font-size: clamp(2.6rem, 8vw, 4.7rem); }
.article .article-meta { margin: 22px 0 44px; color: var(--muted); }
.article h2 { margin-top: 42px; margin-bottom: 12px; font-size: 1.65rem; }
.article p, .article li { font-size: 1.08rem; }
.article ul { padding-left: 24px; }
.article .contact-box { margin-top: 52px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.article .contact-box p:last-child { margin-bottom: 0; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 640px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 64px; }
  nav { gap: 12px; }
  .intro { padding: 64px 0 52px; }
  .posts { padding: 46px 0; }
  .post-card { padding: 24px; }
  .footer-inner { padding: 24px 0; align-items: flex-start; flex-direction: column; justify-content: center; }
}
