:root {
  --dark: #0f2318;
  --forest: #1a3a2a;
  --mid: #2d6a4f;
  --accent: #52b788;
  --gold: #c9a84c;
  --white: #ffffff;
  --muted: #7a9e8a;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--dark);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #6dcfa0; }

.blog-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(15, 35, 24, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(82, 183, 136, 0.1);
}

.blog-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--white);
  text-decoration: none;
}

.blog-logo span { color: var(--accent); }
.blog-logo:hover { color: var(--white); }

.blog-main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}

.blog-main--post { max-width: 680px; }

.blog-header { margin-bottom: 56px; }

.blog-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.blog-eyebrow a { color: var(--accent); }
.blog-eyebrow a:hover { color: #6dcfa0; }

.blog-page-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.blog-page-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
}

.post-list { list-style: none; display: flex; flex-direction: column; gap: 0; }

.post-item {
  padding: 36px 0;
  border-top: 1px solid rgba(82, 183, 136, 0.12);
}

.post-item:last-child { border-bottom: 1px solid rgba(82, 183, 136, 0.12); }

.post-date {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.post-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.post-title a { color: var(--white); }
.post-title a:hover { color: var(--accent); }

.post-excerpt {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.post-read {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

.blog-empty { color: var(--muted); font-weight: 300; }

.post-header { margin-bottom: 40px; }

.post-page-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}

.post-body {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(240, 247, 242, 0.92);
}

.post-body p { margin-bottom: 1.35em; }

.post-body h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 2em 0 0.75em;
  letter-spacing: -0.5px;
}

.post-body h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin: 1.75em 0 0.6em;
}

.post-body strong { font-weight: 500; color: var(--white); }

.post-body a { text-decoration: underline; text-underline-offset: 3px; }

.post-body ul, .post-body ol {
  margin: 0 0 1.35em 1.25em;
}

.post-body li { margin-bottom: 0.45em; }

.post-body blockquote {
  margin: 1.5em 0;
  padding: 12px 0 12px 20px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-style: italic;
}

.post-body code {
  font-size: 0.9em;
  background: rgba(82, 183, 136, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.post-body pre {
  background: var(--forest);
  border: 1px solid rgba(82, 183, 136, 0.15);
  border-radius: 10px;
  padding: 16px 18px;
  overflow-x: auto;
  margin-bottom: 1.5em;
}

.post-body pre code { background: none; padding: 0; }

.post-back {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(82, 183, 136, 0.12);
  font-size: 14px;
}

.blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 48px;
  background: var(--forest);
  border-top: 1px solid rgba(82, 183, 136, 0.1);
  font-size: 13px;
  color: rgba(122, 158, 138, 0.7);
}

.blog-footer a { color: var(--muted); }
.blog-footer a:hover { color: var(--white); }

@media (max-width: 900px) {
  .blog-nav { padding: 16px 24px; }
  .blog-main { padding: 56px 20px 72px; }
  .blog-footer { padding: 24px 20px; }
}
