:root {
  --bg: #f4e9cf;
  --paper: #fdf6e3;
  --ink: #2b3a20;
  --ink-soft: #56613f;
  --ink-faint: #8b8c73;
  --sage: #6b8e47;
  --sage-deep: #4d6533;
  --terracotta: #b85f42;
  --terracotta-soft: #e5a487;
  --line: #e2d2b0;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.65;
}
a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── header ── */
.blog-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1080px; margin: 0 auto; padding: 22px clamp(20px, 4vw, 40px);
}
.blog-brand { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 26px; color: var(--ink); letter-spacing: -0.01em; }
.blog-brand:hover { text-decoration: none; }
.brand-heart { color: var(--terracotta); font-size: 0.8em; margin-left: 1px; }
.blog-nav { display: flex; align-items: center; gap: 22px; }
.blog-nav a { color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.blog-nav .nav-cta {
  background: var(--sage-deep); color: var(--paper); padding: 9px 16px; border-radius: 999px; font-weight: 600;
}
.blog-nav .nav-cta:hover { background: var(--sage); text-decoration: none; }

/* ── breadcrumb ── */
.breadcrumb { max-width: 760px; margin: 8px auto 0; padding: 0 clamp(20px, 4vw, 40px); font-size: 13.5px; color: var(--ink-faint); }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--sage-deep); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ── article ── */
.article { max-width: 760px; margin: 0 auto; padding: 8px clamp(20px, 4vw, 40px) 40px; }
.article-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13px; color: var(--sage-deep); text-transform: uppercase; letter-spacing: 0.06em; }
.article h1 {
  font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; margin: 14px 0 12px;
}
.article-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: var(--ink-faint); font-size: 14px; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.article-body { font-size: 17.5px; }
.article-body > *:first-child { margin-top: 0; }
.article-body h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(1.45rem, 3vw, 1.9rem); line-height: 1.2; margin: 2.2em 0 0.6em; letter-spacing: -0.01em; }
.article-body h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.25rem; margin: 1.7em 0 0.4em; color: var(--sage-deep); }
.article-body p { margin: 0 0 1.1em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.article-body li { margin: 0.35em 0; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--terracotta); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

/* tables */
.article-body .table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: 14px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--paper); }
.article-body th, .article-body td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body thead th { background: rgba(107, 142, 71, 0.14); color: var(--sage-deep); font-weight: 600; font-family: "Fraunces", Georgia, serif; }
.article-body tbody tr:last-child td { border-bottom: none; }
.article-body tbody tr:nth-child(even) { background: rgba(226, 210, 176, 0.18); }

/* CTA blockquote (mid-article) */
.article-body blockquote {
  margin: 1.6em 0; padding: 20px 22px; background: var(--paper);
  border: 1px solid var(--line); border-left: 4px solid var(--terracotta);
  border-radius: 14px; color: var(--ink); font-size: 16.5px;
}
.article-body blockquote p { margin: 0; }
.article-body blockquote a { color: var(--terracotta); font-weight: 600; }

/* ── end CTA card ── */
.cta-card {
  max-width: 760px; margin: 8px auto 0; padding: 0 clamp(20px, 4vw, 40px);
}
.cta-card-inner {
  background: linear-gradient(160deg, #fdf6e3, #f6ead0);
  border: 1px solid var(--line); border-radius: 20px; padding: 30px clamp(22px, 4vw, 40px);
  text-align: center; box-shadow: 0 18px 40px -30px rgba(77, 101, 51, 0.5);
}
.cta-card-inner h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.6rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.cta-card-inner p { color: var(--ink-soft); margin: 0 0 18px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 9px; background: var(--sage-deep); color: var(--paper);
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 16px;
}
.cta-btn:hover { background: var(--sage); text-decoration: none; }
.cta-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 12px; }

/* ── blog index / theme hero ── */
.blog-hero { max-width: 900px; margin: 0 auto; padding: 24px clamp(20px, 4vw, 40px) 8px; text-align: center; }
.blog-hero .eyebrow { font-family: "Caveat", cursive; font-size: 26px; color: var(--terracotta); }
.blog-hero h1 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.05; margin: 4px 0 10px; letter-spacing: -0.02em; }
.blog-hero p { color: var(--ink-soft); font-size: 18px; max-width: 620px; margin: 0 auto; }

.theme-section { max-width: 1080px; margin: 0 auto; padding: 36px clamp(20px, 4vw, 40px) 0; }
.theme-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.theme-head .emoji { font-size: 26px; }
.theme-head h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.7rem; margin: 0; letter-spacing: -0.01em; }
.theme-head a { margin-left: auto; font-size: 14px; color: var(--sage-deep); font-weight: 600; }
.theme-blurb { color: var(--ink-faint); margin: 0 0 20px; font-size: 15.5px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.post-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px 22px 20px; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--terracotta-soft); box-shadow: 0 20px 40px -28px rgba(77, 101, 51, 0.55); text-decoration: none; }
.post-card .kw { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sage-deep); }
.post-card h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.22rem; line-height: 1.2; margin: 8px 0 8px; color: var(--ink); }
.post-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 16px; flex: 1; }
.post-card .read { color: var(--terracotta); font-weight: 600; font-size: 14.5px; }
.theme-empty { color: var(--ink-faint); font-style: italic; background: rgba(253, 246, 227, 0.6); border: 1px dashed var(--line); border-radius: 16px; padding: 20px; }

/* ── footer ── */
.blog-footer { max-width: 1080px; margin: 56px auto 0; padding: 26px clamp(20px, 4vw, 40px) 44px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 13.5px; }
.blog-footer p { margin: 6px 0; }
.blog-footer a { color: var(--ink-soft); }
.blog-footer-studio { margin-top: 12px; }
.blog-footer-studio a { color: var(--sage-deep); font-weight: 600; }

@media (max-width: 560px) {
  .blog-nav { gap: 14px; }
  .blog-nav a:not(.nav-cta) { display: none; }
}
