:root {
  --ink:        #1A2926;
  --ink-soft:   #3D4F4C;
  --ink-faint:  #6B7F7C;
  --bg:         #F4F1EC;
  --bg-card:    #FDFAF6;
  --sage:       #6E9B83;
  --sage-dark:  #4A7A63;
  --sage-light: #D6E9DE;
  --sage-pale:  #EBF4EF;
  --amber:      #C9845A;
  --amber-pale: #F5E8DF;
  --slate:      #7B8FA0;
  --rule:       #DDD8D0;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;
  --shadow:     0 2px 16px rgba(26,41,38,0.07);
  --shadow-lg:  0 8px 40px rgba(26,41,38,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--sage); }

img { max-width: 100%; height: auto; border-radius: var(--r-md); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(244,241,236,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(221,216,208,0.6);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; max-width: 1120px; margin: 0 auto; padding: 0 40px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none;
}
.nav-logo span { color: var(--sage); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink-soft);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--sage); }

/* ── LAYOUT ── */
main {
  padding-top: 100px;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 80px;
}

/* ── BLOG LIST ── */
.page-header {
  margin-bottom: 60px;
}
.page-header .eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--sage);
  margin-bottom: 16px;
}
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.page-header p {
  font-size: 18px; color: var(--ink-soft); line-height: 1.8;
  max-width: 540px;
}

.post-list {
  display: flex; flex-direction: column; gap: 0;
}
.post-item {
  display: block;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none; color: inherit;
  transition: background 0.2s;
}
.post-item:first-child { border-top: 1px solid var(--rule); }
.post-item:hover { color: inherit; }
.post-item:hover .post-title { color: var(--sage); }

.post-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
}
.post-date {
  font-size: 13px; color: var(--slate);
  font-family: 'DM Mono', monospace;
}
.post-tag {
  font-size: 11px; font-weight: 500;
  padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--sage-pale); color: var(--sage);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.post-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 600;
  line-height: 1.3; letter-spacing: -0.02em;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.post-excerpt {
  font-size: 15px; color: var(--ink-soft); line-height: 1.7;
}

/* ── BLOG POST ── */
.post-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.post-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.post-header .post-meta {
  margin-bottom: 0;
}

.post-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.post-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 600;
  color: var(--ink);
  margin: 48px 0 16px;
  letter-spacing: -0.02em;
}
.post-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 600;
  color: var(--ink);
  margin: 36px 0 12px;
}
.post-content p {
  margin-bottom: 24px;
}
.post-content ul, .post-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.post-content li {
  margin-bottom: 8px;
}
.post-content blockquote {
  border-left: 3px solid var(--sage);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--sage-pale);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink);
  font-style: italic;
}
.post-content code {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--sage-dark);
}
.post-content pre {
  background: var(--ink);
  color: #e0e0e0;
  padding: 24px;
  border-radius: var(--r-md);
  overflow-x: auto;
  margin: 32px 0;
}
.post-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: 14px;
}
.post-content a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-content a:hover {
  color: var(--sage);
}
.post-content img {
  margin: 32px 0;
  border: 1px solid var(--rule);
}
.post-content strong {
  color: var(--ink);
  font-weight: 500;
}

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  color: var(--sage); text-decoration: none;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--sage-dark); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--rule);
  padding: 48px 40px;
  text-align: center;
}
footer p {
  font-size: 13px; color: var(--slate);
}
footer .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  color: var(--ink); display: block;
  margin-bottom: 6px;
}
footer .footer-logo span { color: var(--sage); }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  main { padding-left: 20px; padding-right: 20px; }
}
