/* ===== SLATE — Warm Editorial Persona Template ===== */
:root {
  --brand: #5B4BDB;
  --brand-light: #F4F2FF;
  --brand-dark: #241B3A;
  --accent: #ea580c;
  --accent-light: #fff7ed;
  --text: #1c1917;
  --text-muted: #78716c;
  --text-light: #a8a29e;
  --bg: #faf9f7;
  --bg-soft: #f5f2ed;
  --bg-card: #ffffff;
  --border: #e8e4df;
  --border-soft: #f0ece7;
  --shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --max-width: 1280px;
  --pad: clamp(20px, 6vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ──────────────────────────────────────────────────── */
.site-nav {
  background: #ffffff;
  border-bottom: 1px solid #e5e0da;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--brand); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--bg-soft); }

/* ── WRAP ─────────────────────────────────────────────────── */
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--pad); }

/* ── HERO ─────────────────────────────────────────────────── */
.section-hero {
  background: var(--bg);
  padding: 112px var(--pad) 0;
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.section-hero-inner { max-width: var(--max-width); margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-light);
  border: 1px solid rgba(26,107,74,0.2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 28px;
  color: var(--brand);
}
.hero-h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.08;
  font-weight: 400;
  margin-bottom: 24px;
  max-width: 820px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-h1 em { font-style: italic; color: var(--brand); }
.hero-p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── STATS ROW ────────────────────────────────────────────── */
.stats-row {
  display: flex;
  margin-top: 96px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.stat-item { flex: 1; padding: 36px 44px; text-align: left; }
.stat-item + .stat-item { border-left: 1px solid var(--border); }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: #ea580c;
  line-height: 1;
  margin-bottom: 6px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.stat-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.section-row { padding: 96px var(--pad); width: 100%; }
.section-row--soft { background: var(--bg-soft); }
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 52px;
  line-height: 1.65;
  max-width: 560px;
}

/* ── DIVIDER ──────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 72px 0; }

/* ── TOPICS GRID ──────────────────────────────────────────── */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
  box-shadow: var(--shadow);
}
.topic-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.topic-card .icon { font-size: 24px; }
.topic-card .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
/* chip fallback */
.topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.18s;
  box-shadow: var(--shadow);
}
.topic-chip:hover { border-color: var(--brand); color: var(--brand); }

/* ── CARD GRID ────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--brand); }
.post-card-inner { padding: 32px 32px 20px; flex: 1; display: flex; flex-direction: column; }
.post-card-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ea580c;
  margin-bottom: 12px;
}
.post-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.post-card p { font-size: 14px; color: var(--text-muted); margin: 0 0 18px; flex: 1; line-height: 1.65; }
.post-card-meta { font-size: 11px; color: var(--text-light); display: flex; gap: 14px; flex-wrap: wrap; }
.post-card-footer {
  border-top: 1px solid var(--border-soft);
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── FEATURED CARD ────────────────────────────────────────── */
.post-card-featured {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.18s, transform 0.18s;
}
.post-card-featured:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.1); transform: translateY(-2px); }
.post-card-featured-header {
  background: linear-gradient(160deg, #241B3A 0%, #5B4BDB 55%, #8B5CF6 100%);
  padding: 22px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.post-card-featured-header span { font-size: 12px; color: rgba(255,255,255,0.65); font-weight: 500; }
.featured-read-cta { font-size: 12px; font-weight: 700; color: #6D5CE7; white-space: nowrap; letter-spacing: 0.05em; text-transform: uppercase; }
.featured-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.post-card-featured-body { padding: 44px 44px 48px; }
.post-card-featured h3 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.22;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.post-card-featured p { font-size: 15px; color: var(--text-muted); margin: 0 0 22px; line-height: 1.7; }
.post-card-meta { font-size: 12px; color: var(--text-light); display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* ── ABOUT PREVIEW ────────────────────────────────────────── */
.about-preview-grid { display: grid; grid-template-columns: 55% 1fr; gap: 80px; align-items: center; }
.about-preview-copy p { font-size: 16px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.75; }
.author-card-home {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.author-card-home-header {
  background: linear-gradient(160deg, #241B3A 0%, #5B4BDB 55%, #8B5CF6 100%);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.author-card-home-header .author-avatar {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-card-home-header .author-name { font-family: 'DM Serif Display', serif; font-size: 1.05rem; color: #fff; font-weight: 400; }
.author-card-home-header .author-title { font-size: 11px; color: rgba(255,255,255,0.65); margin-top: 3px; font-weight: 500; letter-spacing: 0.03em; }
.author-card-home-body { padding: 26px 32px 30px; }
.author-card-home-body p { font-size: 14px; color: var(--text-muted); margin: 0 0 14px; line-height: 1.65; }

/* ── NEWSLETTER ───────────────────────────────────────────── */
.newsletter-box {
  background: linear-gradient(160deg, #241B3A 0%, #5B4BDB 55%, #8B5CF6 100%);
  border-radius: var(--radius-xl);
  padding: 80px 72px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.newsletter-box h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 14px;
  position: relative;
  letter-spacing: -0.02em;
}
.newsletter-box p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 36px; position: relative; }
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; position: relative; }
.newsletter-form input {
  flex: 1;
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  background: rgba(0,0,0,0.2);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.5); }
.newsletter-note { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 18px; position: relative; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.cta-btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 13px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.12s;
}
.cta-btn:hover { background: #145a3c; transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.15s;
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* ── TAGS ─────────────────────────────────────────────────── */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.tag {
  background: var(--brand-light);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(26,107,74,0.2);
  letter-spacing: 0.04em;
}

/* ── AUTHOR BOX ───────────────────────────────────────────── */
.author-box {
  display: flex;
  gap: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 52px 0 32px;
}
.author-avatar {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-name { font-family: 'DM Serif Display', serif; font-size: 1rem; color: var(--text); font-weight: 400; }
.author-title { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.author-bio { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ── CTA BOX ──────────────────────────────────────────────── */
.cta-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  margin: 48px 0;
}
.cta-box h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-box p { color: var(--text-muted); font-size: 15px; margin-bottom: 28px; }

/* ── ARTICLE COMPONENTS ───────────────────────────────────── */
.content-wrap { max-width: 800px; margin: 0 auto; padding: 64px var(--pad) 56px; }

.quick-verdict {
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 28px;
  margin: 40px 0;
}
.quick-verdict strong { color: var(--brand-dark); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; }
.quick-verdict p { margin-top: 8px; font-size: 15px; color: #24203A; }

.pro-tip {
  display: flex;
  gap: 14px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0;
}
.pro-tip-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.pro-tip strong { display: block; color: #92400e; margin-bottom: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.pro-tip p { color: #78350f; margin: 0; font-size: 14px; }

.warning-box {
  display: flex;
  gap: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 24px 0;
}
.warning-box-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.warning-box strong { display: block; color: #991b1b; margin-bottom: 4px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.warning-box p { color: #7f1d1d; margin: 0; font-size: 14px; }

.method-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 16px 0;
  box-shadow: var(--shadow);
}
.method-card.urgent { border-left-color: #ea580c; }
.method-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.method-card.urgent .method-number { background: #ea580c; }
.method-title { font-family: 'DM Serif Display', serif; font-size: 1.1rem; font-weight: 400; color: var(--text); margin: 0 0 10px; letter-spacing: -0.01em; }
.speed-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; margin-left: 10px; vertical-align: middle; }
.speed-fast { background: var(--brand-light); color: var(--brand); }
.speed-medium { background: #fff7ed; color: #c2410c; }
.speed-slow { background: #fef2f2; color: #b91c1c; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 32px 0; }
.stat-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.stat-number { font-family: 'DM Serif Display', serif; font-size: 2.4rem; color: #ea580c; line-height: 1; margin-bottom: 6px; font-weight: 400; letter-spacing: -0.02em; }
.stat-label { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

.checklist { background: var(--brand-light); border: 1px solid rgba(26,107,74,0.2); border-radius: var(--radius-lg); padding: 28px 32px; margin: 32px 0; }
.checklist-title { font-size: 10px; font-weight: 700; color: var(--brand); margin: 0 0 16px; text-transform: uppercase; letter-spacing: 0.1em; }
.checklist ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--brand-dark); }
.checklist li::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; flex-shrink: 0; margin-top: 2px; }

.toc { background: var(--bg-soft); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--radius); padding: 22px 26px; margin: 32px 0; }
.toc-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 12px; }
.toc ol { list-style: decimal; padding-left: 20px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--brand); text-decoration: none; font-size: 14px; }
.toc a:hover { text-decoration: underline; }

.comparison-table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 14px; overflow-x: auto; display: block; }
.comparison-table th { background: var(--bg-soft); color: var(--text-muted); padding: 12px 16px; text-align: left; font-size: 11px; font-weight: 700; border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.comparison-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-soft); color: var(--text-muted); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .yes { color: var(--brand); font-weight: 600; }
.comparison-table .no { color: #dc2626; }
.comparison-table .partial { color: #ea580c; }

h2.section-heading { font-family: 'DM Serif Display', serif; font-size: 1.9rem; font-weight: 400; color: var(--text); margin: 64px 0 20px; line-height: 1.2; scroll-margin-top: 24px; letter-spacing: -0.02em; }
h3.sub-heading { font-size: 1.05rem; font-weight: 600; color: var(--text); margin: 36px 0 12px; }
p { margin-bottom: 16px; }

.silo-breadcrumb { font-size: 12px; color: var(--text-light); margin-bottom: 20px; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
.silo-breadcrumb a { color: var(--brand); text-decoration: none; }
.silo-related { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 32px 0; }
.silo-related h3 { font-family: 'DM Serif Display', serif; font-size: 1rem; font-weight: 400; margin-bottom: 12px; color: var(--text); }
.silo-related ul { list-style: none; }
.silo-related li { margin-bottom: 8px; }
.silo-related a { color: var(--brand); text-decoration: none; font-size: 13px; }

blockquote.pull {
  border-left: 3px solid var(--brand);
  padding: 24px 32px;
  margin: 44px 0;
  background: var(--brand-light);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--brand-dark);
  font-style: italic;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(160deg, #241B3A 0%, #5B4BDB 55%, #8B5CF6 100%);
  color: #fff;
  padding: 96px var(--pad) 88px;
  width: 100%;
}
.about-hero-inner { max-width: var(--max-width); margin: 0 auto; display: flex; gap: 48px; align-items: flex-start; }
.about-avatar-lg {
  width: 96px; height: 96px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-hero-text { flex: 1; }
.about-hero-name { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 400; margin: 12px 0 6px; line-height: 1.1; letter-spacing: -0.02em; }
.about-hero-role { font-size: 13px; opacity: 0.65; margin-bottom: 20px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.about-hero-bio { font-size: 16px; line-height: 1.75; opacity: 0.85; max-width: 580px; margin-bottom: 20px; }
.credential-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.credential { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; font-size: 10px; font-weight: 600; padding: 4px 14px; color: rgba(255,255,255,0.85); letter-spacing: 0.06em; text-transform: uppercase; }

.about-content { max-width: var(--max-width); margin: 0 auto; padding: 72px var(--pad); }
.stat-row-about { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-top: 3px solid var(--brand); border-radius: var(--radius-lg); overflow: hidden; background: var(--border); }
.stat-about { background: var(--bg-card); padding: 36px 20px; text-align: center; }
.stat-about .num { font-family: 'DM Serif Display', serif; font-size: 2.2rem; color: #ea580c; font-weight: 400; line-height: 1; margin-bottom: 6px; letter-spacing: -0.02em; }
.stat-about .lbl { font-size: 10px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; }

.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.expertise-card { background: var(--bg-card); border: 1px solid var(--border); border-top: 3px solid var(--brand); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.expertise-icon-wrap { font-size: 26px; margin-bottom: 16px; }
.expertise-card h4 { font-family: 'DM Serif Display', serif; font-size: 1rem; font-weight: 400; color: var(--text); margin-bottom: 8px; }
.expertise-card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.65; }

.cert-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.cert-badge { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; font-size: 12px; font-weight: 600; padding: 7px 16px; color: var(--text-muted); }

.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 1px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 44px; }
.timeline-dot { position: absolute; left: -37px; width: 22px; height: 22px; border-radius: 999px; background: var(--brand-light); border: 2px solid var(--brand); display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; z-index: 1; }
.timeline-year { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.timeline-content h4 { font-family: 'DM Serif Display', serif; font-size: 1rem; font-weight: 400; color: var(--text); margin-bottom: 8px; }
.timeline-content p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.65; }

.pub-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pub-list li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.pub-icon { font-size: 20px; flex-shrink: 0; }
.pub-list strong { font-size: 14px; color: var(--text); font-weight: 600; display: block; margin-bottom: 3px; }
.pub-list span { font-size: 13px; color: var(--text-muted); }

.philosophy-box { background: var(--brand-light); border: 1px solid rgba(26,107,74,0.2); border-radius: var(--radius-lg); padding: 32px 36px; }
.philosophy-box strong { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); display: block; margin-bottom: 12px; }
.philosophy-box p { font-size: 15px; color: var(--brand-dark); margin: 0; line-height: 1.7; }

/* ── BLOG PAGE ────────────────────────────────────────────── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.filter-btn { padding: 8px 18px; border: 1.5px solid var(--border); background: var(--bg-card); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all 0.15s; font-family: 'DM Sans', sans-serif; }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-btn:hover:not(.active) { border-color: var(--brand); color: var(--brand); }

.two-col { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; }
.post-list { display: flex; flex-direction: column; }
.post-row { display: flex; gap: 20px; align-items: flex-start; padding: 28px 0; border-bottom: 1px solid var(--border-soft); text-decoration: none; color: inherit; transition: opacity 0.15s; }
.post-row:last-child { border-bottom: none; }
.post-row:hover h2 { color: var(--brand); }
.post-row-num { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--border); font-weight: 400; min-width: 48px; line-height: 1; margin-top: 4px; flex-shrink: 0; letter-spacing: -0.02em; }
.post-row-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #ea580c; margin-bottom: 6px; }
.post-row h2 { font-family: 'DM Serif Display', serif; font-size: 1.1rem; font-weight: 400; color: var(--text); margin-bottom: 8px; line-height: 1.35; transition: color 0.15s; letter-spacing: -0.01em; }
.post-row p { font-size: 14px; color: var(--text-muted); margin: 0 0 10px; line-height: 1.6; }
.post-row-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; color: var(--text-light); align-items: center; }
.badge-featured { background: var(--brand-light); color: var(--brand); border: 1px solid rgba(26,107,74,0.2); font-size: 10px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.badge-new { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; font-size: 10px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }

.sidebar-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; margin-bottom: 16px; box-shadow: var(--shadow); }
.sidebar-box h4 { font-family: 'DM Serif Display', serif; font-size: 0.95rem; font-weight: 400; color: var(--text); margin-bottom: 14px; }
.sidebar-link { display: block; font-size: 13.5px; color: var(--text-muted); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--border-soft); transition: color 0.15s; }
.sidebar-link:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-link:hover { color: var(--brand); }

/* ── CONTACT PAGE ─────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-form-wrap { background: var(--bg-card); border: 1px solid var(--border); border-top: 3px solid var(--brand); border-radius: var(--radius-xl); padding: 48px; box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 11px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); background: var(--bg); outline: none; transition: border-color 0.15s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--brand); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.faq-mini { margin: 80px 0 0; }
.faq-mini h3 { font-family: 'DM Serif Display', serif; font-size: 2rem; font-weight: 400; color: var(--text); margin-bottom: 40px; letter-spacing: -0.02em; }
.faq-mini-item { padding: 24px 0; border-bottom: 1px solid var(--border-soft); }
.faq-mini-item:last-child { border-bottom: none; }
.faq-mini-item h4 { font-family: 'DM Serif Display', serif; font-size: 1rem; font-weight: 400; color: var(--text); margin-bottom: 8px; }
.faq-mini-item p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer { background: #f5f2ed; border-top: 1px solid var(--border); padding: 72px var(--pad) 0; width: 100%; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2.5fr 1fr 1fr; gap: 56px; padding-bottom: 56px; }
.footer-brand { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--text); margin-bottom: 12px; font-weight: 400; }
.footer-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; max-width: 380px; }
.footer-col h4 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-light); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); text-decoration: none; margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { max-width: var(--max-width); margin: 0 auto; padding: 20px 0 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-light); flex-wrap: wrap; gap: 8px; }

/* ── HERO (article pages) ─────────────────────────────────── */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--border); color: var(--text); padding: 72px var(--pad) 64px; width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--brand-light); border: 1px solid rgba(26,107,74,0.2); border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; margin-bottom: 20px; color: var(--brand); }
.hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(1.9rem, 3.5vw, 2.7rem); line-height: 1.18; font-weight: 400; margin-bottom: 18px; color: var(--text); letter-spacing: -0.02em; }
.hero-sub { font-size: 16px; color: var(--text-muted); max-width: 560px; line-height: 1.65; margin-bottom: 28px; }
.hero-meta { display: flex; gap: 24px; flex-wrap: wrap; font-size: 12px; color: var(--text-light); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .two-col, .about-preview-grid, .contact-grid { grid-template-columns: 1fr; }
  .stat-row-about { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section-row { padding: 64px var(--pad); }
  .stats-row { flex-direction: column; }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--border); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
  .checklist ul { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .newsletter-box { padding: 52px 24px; }
  .newsletter-form { flex-direction: column; }
  .post-card-featured-body { padding: 28px; }
  .about-hero-inner { flex-direction: column; }
}


/* Featured image (article hero) -- added for AI-generated per-article images.
   Shadow tint pulls from --brand, which persona_generator.py overrides
   per-persona -- the image frame automatically matches each persona's own
   color, not a fixed template default. */
.article-featured-image { margin: 4px 0 28px; }
.article-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 16px 40px -14px color-mix(in srgb, var(--brand, #1a6b4a) 50%, transparent),
              0 4px 14px rgba(0, 0, 0, .10);
}

/* Local NAP block */
.local-nap{display:inline-flex;align-items:center;gap:6px;margin:10px 0 16px;padding:5px 14px;background:rgba(255,255,255,0.12);border:1px solid rgba(255,255,255,0.22);border-radius:100px;font-size:12px;font-weight:500;color:rgba(255,255,255,0.88);letter-spacing:0.02em;}
.local-nap-pin{font-size:13px;}
