@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --green-deep:   #1a2e1a;
  --green-mid:    #2d5a27;
  --green-bright: #4a8c3f;
  --green-light:  #7bc67a;
  --green-pale:   #d4edcc;
  --cream:        #f9f5ec;
  --warm-white:   #fefcf7;
  --gold:         #c8943a;
  --text-dark:    #1a2e1a;
  --text-mid:     #3d5c38;
  --text-light:   #6b8c65;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--warm-white); color: var(--text-dark); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(249,245,236,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(75,140,63,0.15);
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--green-deep); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.nav-logo span { color: var(--green-bright); font-style: italic; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { font-size: 0.83rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--green-bright); }
.nav-cta { background: var(--green-deep) !important; color: var(--cream) !important; padding: 0.45rem 1.1rem; border-radius: 100px; }
.nav-cta:hover { background: var(--green-mid) !important; }

/* BLOG HERO */
.blog-hero {
  padding: 8rem 3rem 4rem;
  background: var(--cream);
  max-width: 820px;
  margin: 0 auto;
}
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 1.2rem; flex-wrap: wrap; }
.blog-cat {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 100px;
  background: var(--green-pale); color: var(--green-mid);
  border: 1px solid rgba(74,140,63,0.2); text-decoration: none;
}
.blog-cat:hover { background: var(--green-bright); color: white; }
.blog-date { font-size: 0.8rem; color: var(--text-light); }
.blog-read { font-size: 0.8rem; color: var(--text-light); }

.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green-deep);
  margin-bottom: 1rem;
}
.blog-hero .lead {
  font-size: 1.1rem; font-weight: 300; line-height: 1.7;
  color: var(--text-mid); max-width: 680px;
}

/* ARTICLE BODY */
.blog-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 3rem 5rem;
}
.blog-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem; font-weight: 700;
  color: var(--green-deep);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}
.blog-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--green-mid);
  margin: 2rem 0 0.7rem;
}
.blog-body p { font-size: 1rem; font-weight: 300; line-height: 1.85; color: var(--text-dark); margin-bottom: 1.2rem; }
.blog-body ul, .blog-body ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.blog-body li { font-size: 1rem; font-weight: 300; line-height: 1.8; color: var(--text-dark); margin-bottom: 0.4rem; }
.blog-body strong { font-weight: 500; color: var(--green-deep); }
.blog-body a { color: var(--green-bright); text-decoration: underline; text-decoration-color: rgba(74,140,63,0.3); transition: text-decoration-color 0.2s; }
.blog-body a:hover { text-decoration-color: var(--green-bright); }

.blog-body .callout {
  background: var(--green-pale);
  border-left: 3px solid var(--green-bright);
  border-radius: 0 12px 12px 0;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.blog-body .callout strong { color: var(--green-mid); }

/* RELATED POSTS */
.related-posts {
  max-width: 820px; margin: 0 auto;
  padding: 2rem 3rem;
  border-top: 1px solid rgba(74,140,63,0.15);
}
.related-posts h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700;
  color: var(--text-light); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.related-card {
  background: var(--cream); border-radius: 12px;
  padding: 1.2rem; text-decoration: none;
  border: 1px solid rgba(74,140,63,0.12);
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}
.related-card:hover { border-color: var(--green-bright); transform: translateY(-2px); }
.related-card .rc-cat { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-bright); margin-bottom: 0.4rem; }
.related-card h5 { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; color: var(--green-deep); line-height: 1.4; }

/* WAITLIST CTA */
.waitlist-cta {
  background: var(--green-deep);
  margin: 0; padding: 4rem 3rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.waitlist-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(74,140,63,0.3) 0%, transparent 70%);
}
.waitlist-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--cream);
  margin-bottom: 0.7rem; position: relative;
}
.waitlist-cta h3 em { font-style: italic; color: var(--green-light); }
.waitlist-cta p { font-size: 0.95rem; font-weight: 300; color: rgba(212,237,204,0.75); max-width: 400px; margin: 0 auto 2rem; line-height: 1.7; position: relative; }
.waitlist-form {
  display: flex; max-width: 420px; margin: 0 auto;
  background: rgba(255,255,255,0.08);
  border-radius: 100px; border: 1px solid rgba(123,198,122,0.3);
  padding: 5px; position: relative;
  transition: border-color 0.3s;
}
.waitlist-form:focus-within { border-color: var(--green-light); }
.waitlist-form input {
  flex: 1; border: none; outline: none;
  padding: 0.7rem 1.1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  color: var(--cream); background: transparent;
}
.waitlist-form input::placeholder { color: rgba(212,237,204,0.45); }
.waitlist-form button {
  background: var(--green-bright); color: white;
  border: none; border-radius: 100px;
  padding: 0.7rem 1.4rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 500;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.waitlist-form button:hover { background: var(--green-light); transform: scale(1.02); }

/* FOOTER */
footer {
  background: var(--green-deep);
  border-top: 1px solid rgba(123,198,122,0.12);
  padding: 4rem 3rem 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; font-style: italic;
  color: var(--cream); margin-bottom: 0.8rem; display: block;
  text-decoration: none;
}
.footer-brand p { font-size: 0.85rem; font-weight: 300; color: rgba(212,237,204,0.6); line-height: 1.7; max-width: 260px; }
.footer-col h5 {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-light);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block; font-size: 0.85rem; font-weight: 300;
  color: rgba(212,237,204,0.65); text-decoration: none;
  margin-bottom: 0.6rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--green-light); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(123,198,122,0.1);
  padding-top: 1.5rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(212,237,204,0.4); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.75rem; color: rgba(212,237,204,0.4); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--green-light); }

/* BLOG INDEX */
.blog-index { padding: 8rem 3rem 5rem; max-width: 1100px; margin: 0 auto; }
.blog-index-hero { margin-bottom: 3rem; }
.blog-index-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 700; color: var(--green-deep); margin-bottom: 0.7rem; }
.blog-index-hero p { font-size: 1rem; font-weight: 300; color: var(--text-mid); }
.cat-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cat-btn {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35rem 1rem; border-radius: 100px;
  border: 1px solid rgba(74,140,63,0.25); color: var(--text-mid);
  background: transparent; cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.cat-btn:hover, .cat-btn.active { background: var(--green-bright); color: white; border-color: var(--green-bright); }
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.post-card {
  background: var(--cream); border-radius: 16px;
  border: 1px solid rgba(74,140,63,0.1);
  padding: 1.8rem; text-decoration: none; display: block;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.post-card:hover { border-color: var(--green-bright); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(74,140,63,0.1); }
.post-card .pc-cat { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-bright); margin-bottom: 0.6rem; }
.post-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--green-deep); line-height: 1.4; margin-bottom: 0.7rem; }
.post-card p { font-size: 0.85rem; font-weight: 300; color: var(--text-mid); line-height: 1.65; margin-bottom: 1rem; }
.post-card .pc-meta { font-size: 0.75rem; color: var(--text-light); }

/* TOAST */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--green-deep); color: var(--cream);
  padding: 0.75rem 1.6rem; border-radius: 100px;
  font-size: 0.88rem; box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s;
  opacity: 0; z-index: 999; border: 1px solid rgba(123,198,122,0.3);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

@media(max-width:768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .blog-hero, .blog-body, .related-posts, .waitlist-cta { padding-left: 1.5rem; padding-right: 1.5rem; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .blog-index { padding: 7rem 1.5rem 3rem; }
}
