:root {
  --cream: #f7f1e6;
  --cream-2: #efe7d6;
  --ink: #1d1b17;
  --ink-2: #4a463e;
  --brick: #c0492a;
  --note: #f5d96b;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brick); }
a:hover { text-decoration: underline; }

/* Header */
.blog-header {
  border-bottom: 1.5px solid var(--ink);
  background: var(--cream);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.blog-header .brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-header .brand-mark {
  width: 32px; height: 32px;
  background: var(--brick); color: var(--cream);
  display: grid; place-items: center;
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 4px;
  transform: rotate(-6deg);
}
.blog-header nav { display: flex; gap: 18px; align-items: center; font-size: 14px; }
.blog-header nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.blog-header .phone-cta {
  background: var(--note);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 14px;
}

/* Article */
article.post {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--brick); }
article h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.lede {
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 18px;
}
.post-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 32px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--ink-2);
}
.body h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 40px 0 12px;
}
.body h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 21px;
  margin: 28px 0 10px;
}
.body p, .body ul, .body ol {
  margin: 0 0 18px;
}
.body ul, .body ol { padding-left: 24px; }
.body li { margin-bottom: 8px; }
.body strong { font-weight: 600; }

/* Callout box */
.callout {
  background: var(--cream-2);
  border-left: 4px solid var(--brick);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 16px;
  border-radius: 2px;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 8px; }

/* CTA section */
.post-cta {
  margin-top: 56px;
  padding: 32px 28px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 8px;
}
.post-cta h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 10px;
  color: var(--cream);
  letter-spacing: -.01em;
}
.post-cta p { color: rgba(247,241,230,.85); margin: 0 0 20px; font-size: 16px; }
.post-cta .btn {
  display: inline-block;
  background: var(--brick);
  color: var(--cream);
  padding: 14px 22px;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Bricolage Grotesque', sans-serif;
  border-radius: 4px;
  border: 1.5px solid var(--cream);
  font-size: 16px;
  box-shadow: 4px 4px 0 var(--note);
}

/* Related posts */
.related-posts {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1.5px solid var(--ink-2);
}
.related-posts h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 16px;
}
.related-posts ul { list-style: none; padding: 0; margin: 0; }
.related-posts li { margin-bottom: 10px; font-size: 16px; }
.related-posts a { font-weight: 500; }

/* Blog index */
.blog-index {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.blog-index .index-hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -.02em;
  margin: 0 0 14px;
}
.blog-index .index-hero p {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 40px;
}
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.post-card {
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  padding: 22px 24px;
  box-shadow: 3px 3px 0 var(--ink);
}
.post-card a { text-decoration: none; color: inherit; display: block; }
.post-card .cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--brick);
  font-weight: 600;
  margin-bottom: 8px;
}
.post-card h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.post-card p {
  margin: 0 0 6px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
.post-card .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 8px;
}

/* Footer */
.blog-footer {
  border-top: 1.5px solid var(--ink);
  padding: 32px 28px;
  font-size: 14px;
  color: var(--ink-2);
  text-align: center;
}
.blog-footer a { color: var(--ink-2); text-decoration: none; }
.blog-footer a:hover { color: var(--brick); }
.blog-footer p { margin: 6px 0; }

/* Mobile call bar */
.m-call-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  display: none;
  align-items: center; justify-content: center; gap: 10px;
  padding: 14px 16px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
  background: var(--brick);
  color: var(--cream);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border-top: 1.5px solid var(--ink);
  box-shadow: 0 -2px 0 var(--ink);
}
@media (max-width: 760px) {
  .m-call-bar { display: flex; }
  body { padding-bottom: 68px; }
  .blog-header { padding: 12px 16px; }
  .blog-header nav a:not(.phone-cta) { display: none; }
  .blog-header .phone-cta { padding: 7px 11px; font-size: 13px; box-shadow: 1.5px 1.5px 0 var(--ink); }
  article.post { padding: 32px 16px 64px; }
  .blog-index { padding: 40px 16px 64px; }
  .body h2 { font-size: 24px; }
}
