:root {
  --green: #5cb85c;
  --green-dark: #3a7d3a;
  --green-light: #e8f5e8;
  --ink: #0f1117;
  --text: #374151;
  --muted: #6b7280;
  --line: #d1d5db;
  --surface: #f3f4f6;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.7;
}

a { color: inherit; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(92, 184, 92, 0.18);
  backdrop-filter: blur(12px);
}

.site-logo {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo span { color: var(--green); }

.site-links {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.site-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-links a:hover,
.site-links a[aria-current="page"] { color: var(--green-dark); }

.nav-contact {
  padding: 10px 18px;
  border-radius: 9px;
  background: var(--green);
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(92, 184, 92, 0.3);
}

.blog-hero {
  padding: 88px 5% 72px;
  background:
    radial-gradient(circle at 85% 20%, rgba(92,184,92,.18), transparent 28%),
    linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
}

.blog-hero-inner,
.blog-main,
.article-shell,
.site-footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.blog-hero h1,
.article-header h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Fraunces", serif;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.blog-hero p:last-child {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.blog-main { padding: 64px 5% 92px; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(15, 17, 23, 0.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(92,184,92,.55);
  box-shadow: 0 18px 48px rgba(58, 125, 58, 0.12);
}

.post-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--green-light);
}

.post-cover-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  color: var(--green-dark);
  background: linear-gradient(135deg, var(--green-light), #d1fae5);
  font-family: "Fraunces", serif;
  font-size: 34px;
  font-weight: 700;
}

.post-card-body {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.post-meta {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.post-card h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: "Fraunces", serif;
  font-size: 25px;
  line-height: 1.25;
}

.post-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.post-link {
  margin-top: auto;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.post-link:hover { text-decoration: underline; }

.empty-state {
  padding: 56px;
  text-align: center;
  border: 1px dashed rgba(92,184,92,.55);
  border-radius: 18px;
  background: var(--green-light);
}

.empty-state h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Fraunces", serif;
}

.empty-state p { margin: 0; color: var(--muted); }

.article-header {
  padding: 76px 5% 48px;
  background: linear-gradient(135deg, #f8fff8, var(--green-light));
}

.article-header h1 {
  max-width: 900px;
  font-size: clamp(36px, 5vw, 62px);
}

.article-deck {
  max-width: 740px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.article-cover {
  width: 100%;
  max-height: 580px;
  margin-top: 36px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(15,17,23,.12);
}

.article-main { padding: 58px 5% 92px; }

.article-content {
  max-width: 760px;
  color: var(--text);
  font-size: 17px;
}

.article-content h2,
.article-content h3 {
  color: var(--ink);
  font-family: "Fraunces", serif;
  line-height: 1.25;
}

.article-content h2 { margin: 2.2em 0 .6em; font-size: 32px; }
.article-content h3 { margin: 1.8em 0 .5em; font-size: 24px; }
.article-content p { margin: 0 0 1.3em; }
.article-content img { max-width: 100%; height: auto; border-radius: 14px; }
.article-content blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 22px;
  color: var(--muted);
  border-left: 4px solid var(--green);
}

.back-link {
  display: inline-flex;
  margin-top: 42px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  padding: 36px 5%;
  color: rgba(255,255,255,.72);
  background: #0f1117;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer a { color: var(--green); text-decoration: none; }

@media (max-width: 850px) {
  .site-nav { padding: 0 4%; }
  .site-links li:not(.keep-mobile) { display: none; }
  .site-links { gap: 8px; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .blog-hero { padding-top: 64px; }
  .posts-grid { grid-template-columns: 1fr; }
  .post-card { min-height: 0; }
  .empty-state { padding: 36px 22px; }
  .site-footer-inner { align-items: flex-start; flex-direction: column; }
}

