/* ============================================================
   MULCH CALCULATOR — GLOBAL STYLES
   Aesthetic: Organic / earthy / woodsy — natural textures,
   deep forest greens, warm bark browns, crisp white space
   ============================================================ */

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

:root {
  --bark:       #3b2a1a;
  --bark-mid:   #5c3d22;
  --bark-light: #8b5e3c;
  --moss:       #2d4a2d;
  --moss-mid:   #3d6b3d;
  --moss-light: #5a8a5a;
  --leaf:       #7ab648;
  --leaf-light: #a8d472;
  --soil:       #6b4c2a;
  --cream:      #faf6ef;
  --cream-dark: #f0e8d8;
  --cream-mid:  #e8d9c0;
  --white:      #ffffff;
  --ink:        #1e1408;
  --ink-mid:    #4a3520;
  --ink-soft:   #7a6248;
  --border:     #d8c8a8;
  --shadow-sm:  0 2px 12px rgba(59,42,26,0.10);
  --shadow-md:  0 6px 28px rgba(59,42,26,0.14);
  --shadow-lg:  0 16px 56px rgba(59,42,26,0.18);
  --radius:     18px;
  --radius-sm:  10px;
  --max:        1120px;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Nunito', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--moss-mid); text-decoration: none; }
a:hover { color: var(--leaf); text-decoration: underline; }

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.6;
}

/* ── CONTAINER ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250,246,239,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--bark);
  font-weight: 700;
  text-decoration: none;
}

.nav-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--moss);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--leaf);
  border-radius: 2px;
  transition: width 0.25s;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--moss); text-decoration: none; }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--moss);
  overflow: hidden;
  padding: 90px 40px 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(122,182,72,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(59,42,26,0.5) 0%, transparent 60%);
}

/* Decorative rings */
.hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 60px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--leaf-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: fit-content;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.02em;
  max-width: 640px;
}

.hero h1 em {
  font-style: italic;
  color: var(--leaf-light);
}

.hero-desc {
  max-width: 520px;
  color: rgba(255,255,255,0.68);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 12px;
  text-decoration: none;
}

.hero-scroll:hover { color: var(--leaf-light); text-decoration: none; }

/* ─────────────────────────────────────────────
   CALCULATOR SECTION
───────────────────────────────────────────── */
.calc-section {
  padding: 72px 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.calc-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; }
}

/* Input Panel */
.calc-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 88px;
}

.panel-title {
  font-family: var(--font-head);
  font-size: 1.55rem;
  color: var(--bark);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--cream-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-title-icon {
  width: 38px;
  height: 38px;
  background: var(--cream-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

/* Shape tabs */
.shape-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.shape-tab {
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-mid);
}

.shape-tab:hover { border-color: var(--moss-light); color: var(--moss); }
.shape-tab.active {
  border-color: var(--moss);
  background: var(--moss);
  color: white;
}

.shape-tab .tab-icon { display: block; font-size: 1.3rem; margin-bottom: 4px; }

/* Fields */
.field-group { margin-bottom: 4px; }

.field-group-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-mid);
  margin-bottom: 7px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap input,
.input-wrap select,
.field select {
  width: 100%;
  padding: 11px 16px;
  padding-right: 52px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
}

.field select {
  padding-right: 16px;
  cursor: pointer;
}

.input-wrap input:focus,
.input-wrap select:focus,
.field select:focus {
  outline: none;
  border-color: var(--moss-mid);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(61,107,61,0.12);
}

.input-unit {
  position: absolute;
  right: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
  pointer-events: none;
  letter-spacing: 0.04em;
}

/* Depth preset buttons */
.depth-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.depth-btn {
  padding: 6px 12px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all 0.2s;
}

.depth-btn:hover {
  border-color: var(--leaf);
  color: var(--moss);
  background: var(--cream-dark);
}

.depth-btn.active {
  background: var(--leaf);
  border-color: var(--leaf);
  color: white;
}

/* Add area button */
.add-area-btn {
  width: 100%;
  padding: 11px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.add-area-btn:hover {
  border-color: var(--moss-mid);
  color: var(--moss-mid);
  background: var(--cream-dark);
}

/* Area list */
.area-list { margin-bottom: 16px; }

.area-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--ink-mid);
  animation: slideIn 0.2s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.area-item .area-label { flex: 1; font-weight: 600; }
.area-item .area-sqft { color: var(--ink-soft); }

.remove-area {
  background: none;
  border: none;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 1rem;
  padding: 2px 4px;
  border-radius: 4px;
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}

.remove-area:hover { color: #c0392b; background: #fdf0f0; }

/* Calculate button */
.calc-btn {
  width: 100%;
  margin-top: 8px;
  padding: 17px;
  background: linear-gradient(135deg, var(--moss) 0%, var(--moss-mid) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(45,74,45,0.35);
  transition: transform 0.15s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,74,45,0.42);
}

.calc-btn:active { transform: translateY(0); }

/* ─────────────────────────────────────────────
   RESULTS PANEL
───────────────────────────────────────────── */
.results-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Hero result card */
.result-hero-card {
  background: linear-gradient(135deg, var(--bark) 0%, var(--bark-mid) 100%);
  border-radius: var(--radius);
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.result-hero-card::before {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,0.06);
}

.result-hero-card::after {
  content: '';
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 20px solid rgba(255,255,255,0.06);
}

.result-hero-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}

.result-hero-value {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  color: white;
  margin-bottom: 4px;
}

.result-hero-unit {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.result-hero-equiv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

/* Secondary result cards */
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.result-card-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.result-card-value {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bark);
  line-height: 1.1;
}

.result-card-sub {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 3px;
}

/* Mulch type breakdown */
.breakdown-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.breakdown-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--bark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mulch-type-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.9rem;
}

.mulch-type-row:last-child { border-bottom: none; }

.mulch-type-name {
  font-weight: 600;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mulch-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mulch-type-vals {
  display: flex;
  gap: 20px;
  text-align: right;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.mulch-type-val strong { color: var(--bark); font-size: 0.97rem; display: block; }

/* Tips card */
.tips-card {
  background: linear-gradient(135deg, #f0f7eb 0%, #e8f4e8 100%);
  border: 1px solid #c5dfc5;
  border-radius: var(--radius);
  padding: 28px;
}

.tips-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--moss);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tips-list li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--moss);
  line-height: 1.55;
}

.tips-list li::before {
  content: '🌿';
  flex-shrink: 0;
  margin-top: 1px;
}

/* Placeholder state */
.result-placeholder {
  background: var(--cream-dark);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
  color: var(--ink-soft);
}

.result-placeholder-icon { font-size: 3.5rem; margin-bottom: 16px; }
.result-placeholder h3 { font-family: var(--font-head); font-size: 1.3rem; color: var(--bark-light); margin-bottom: 8px; }
.result-placeholder p { font-size: 0.9rem; max-width: 300px; margin: 0 auto; }

/* ─────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────── */
.how-section {
  background: var(--bark);
  padding: 88px 28px;
  position: relative;
  overflow: hidden;
}

.how-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 90% 20%, rgba(122,182,72,0.12) 0%, transparent 60%);
}

.how-section .container { position: relative; z-index: 2; }

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 14px;
}

.how-section h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 48px;
  max-width: 500px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.how-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: background 0.25s;
}

.how-card:hover { background: rgba(255,255,255,0.1); }

.how-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-style: italic;
  color: rgba(122,182,72,0.35);
  line-height: 1;
  margin-bottom: 14px;
}

.how-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: white;
  margin-bottom: 10px;
}

.how-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
}

.how-cta {
  margin-top: 48px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
}

.how-cta a { color: var(--leaf-light); font-weight: 600; }
.how-cta a:hover { color: white; text-decoration: none; }

/* ─────────────────────────────────────────────
   FAQ
───────────────────────────────────────────── */
.faq-section {
  padding: 88px 28px;
  background: var(--cream);
}

.faq-section h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--bark);
  margin-bottom: 48px;
}

.faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
}

@media (max-width: 700px) {
  .faq-cols { grid-template-columns: 1fr; }
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--bark);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--moss-light);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.75;
}

/* ─────────────────────────────────────────────
   BLOG CTA BANNER
───────────────────────────────────────────── */
.blog-cta-wrap {
  padding: 0 28px 88px;
}

.blog-cta-card {
  max-width: var(--max);
  margin: 0 auto;
  background: linear-gradient(135deg, var(--moss) 0%, var(--moss-mid) 100%);
  border-radius: 24px;
  padding: 60px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.blog-cta-card::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 50px solid rgba(255,255,255,0.06);
}

@media (max-width: 700px) {
  .blog-cta-card { flex-direction: column; text-align: center; padding: 44px 28px; }
}

.blog-cta-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: white;
  margin-bottom: 12px;
}

.blog-cta-text p { color: rgba(255,255,255,0.65); max-width: 440px; margin-bottom: 24px; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  background: white;
  color: var(--moss) !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
  text-decoration: none !important;
}

.blog-cta-deco { font-size: 5.5rem; flex-shrink: 0; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer {
  background: var(--bark);
  color: rgba(255,255,255,0.5);
  padding: 44px 28px;
  text-align: center;
  border-top: 3px solid var(--bark-mid);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 12px;
}

.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.88rem; font-weight: 600; }
.footer-links a:hover { color: var(--leaf-light); text-decoration: none; }

.footer-copy { font-size: 0.82rem; }
.footer-disclaimer { font-size: 0.74rem; color: rgba(255,255,255,0.28); margin-top: 6px; }

/* ─────────────────────────────────────────────
   BLOG LIST PAGE
───────────────────────────────────────────── */
.blog-hero {
  background: linear-gradient(135deg, var(--moss) 0%, #1e3a1e 100%);
  padding: 80px 40px 64px;
  position: relative;
  overflow: hidden;
}

.blog-hero::after {
  content: '🌿';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  opacity: 0.12;
}

.blog-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
}

.blog-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.blog-hero h1 em { font-style: italic; color: var(--leaf-light); }

.blog-hero p { color: rgba(255,255,255,0.62); max-width: 500px; }

.blog-main { padding: 64px 28px; max-width: var(--max); margin: 0 auto; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 64px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s;
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--ink);
}

.blog-card-thumb {
  height: 195px;
  background: linear-gradient(135deg, var(--cream-dark), var(--cream-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  position: relative;
  overflow: hidden;
}

.blog-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59,42,26,0.15) 0%, transparent 60%);
}

.blog-card-body { padding: 28px 26px; }

.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  background: rgba(61,107,61,0.1);
  border: 1px solid rgba(61,107,61,0.2);
  padding: 4px 11px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.blog-card h2,
.blog-card-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--bark);
  margin-bottom: 10px;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* placeholder card */
.blog-card-ghost {
  opacity: 0.42;
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   BLOG POST PAGE
───────────────────────────────────────────── */
.post-hero {
  background: linear-gradient(135deg, var(--bark) 0%, var(--bark-mid) 100%);
  padding: 80px 40px 64px;
  position: relative;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 85% 40%, rgba(122,182,72,0.15) 0%, transparent 60%);
}

.post-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.post-breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.post-breadcrumb a { color: rgba(255,255,255,0.65); }
.post-breadcrumb a:hover { color: var(--leaf-light); text-decoration: none; }

.post-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.post-hero h1 em { font-style: italic; color: var(--leaf-light); }

.post-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.48);
}

.post-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 68px 28px;
}

.post-body h2 {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--bark);
  margin: 52px 0 16px;
  line-height: 1.25;
}

.post-body h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--bark-mid);
  margin: 36px 0 12px;
}

.post-body p {
  font-size: 1.02rem;
  color: var(--ink-mid);
  line-height: 1.88;
  margin-bottom: 22px;
}

.post-body ul, .post-body ol {
  margin: 0 0 22px 26px;
  color: var(--ink-mid);
  line-height: 1.85;
}

.post-body li { margin-bottom: 8px; font-size: 1rem; }

.post-body a { color: var(--moss-mid); font-weight: 600; }
.post-body a:hover { color: var(--leaf); }

.post-body blockquote {
  border-left: 4px solid var(--leaf);
  padding: 18px 28px;
  background: linear-gradient(to right, rgba(122,182,72,0.08), transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 32px 0;
  font-style: italic;
  color: var(--moss);
  font-size: 1.05rem;
}

/* Placeholder blocks */
.placeholder-block {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 26px 28px;
  margin: 28px 0;
  background: var(--cream-dark);
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.75;
  position: relative;
}

.placeholder-block::before {
  content: '✏️ PLACEHOLDER';
  display: block;
  font-style: normal;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--bark-light);
  margin-bottom: 8px;
}

/* In-post CTA */
.post-cta-box {
  background: linear-gradient(135deg, var(--moss) 0%, var(--moss-mid) 100%);
  border-radius: var(--radius);
  padding: 38px 44px;
  margin: 48px 0;
  text-align: center;
  color: white;
  box-shadow: var(--shadow-md);
}

.post-cta-box h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: white;
  margin-bottom: 10px;
}

.post-cta-box p { color: rgba(255,255,255,0.65); margin-bottom: 22px; font-size: 0.97rem; }

/* Post footer nav */
.post-nav {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.post-nav a { font-size: 0.88rem; font-weight: 700; color: var(--ink-soft); }
.post-nav a:hover { color: var(--moss); text-decoration: none; }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav { padding: 0 20px; }
  .hero { padding: 60px 20px 52px; }
  .calc-section { padding: 48px 16px; }
  .calc-panel { padding: 26px 20px; }
  .result-hero-card { padding: 28px 24px; }
  .how-section { padding: 60px 20px; }
  .blog-cta-card { padding: 36px 22px; }
  .result-grid { grid-template-columns: 1fr; }
  .post-hero { padding: 56px 20px 44px; }
  .post-wrap { padding: 44px 20px; }
  .post-cta-box { padding: 28px 24px; }
}
