/* Haven Blog — shared styles. Embedded inline in each post. */
:root {
  --obsidian: #0A0A09;
  --espresso: #1A1816;
  --gold:     #C5A059;
  --sand:     #E5D9C6;
  --clay:     #8C6A4C;
  --linen:    #FFFFFF;
  --max-w:    680px;
}

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

html { font-size: 18px; scroll-behavior: smooth; }

body {
  background: var(--obsidian);
  color: var(--sand);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,9,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197,160,89,0.12);
  padding: 0 1.5rem;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--linen);
  border-radius: 34%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark span {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700; font-size: 1rem;
  color: var(--obsidian); line-height: 1;
}
.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.18em; color: var(--linen);
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.08em;
  color: rgba(229,217,198,0.5); text-decoration: none;
  text-transform: uppercase;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--obsidian) !important;
  padding: 0.4rem 1rem; border-radius: 999px;
  font-weight: 700 !important; letter-spacing: 0.1em !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--linen) !important; }

/* ── Article shell ───────────────────────────────────────────────────────── */
.article-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 6rem;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.post-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(197,160,89,0.35);
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  margin-bottom: 1.2rem;
}

h1.post-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 700; line-height: 1.2;
  color: var(--linen);
  margin-bottom: 1rem;
}

.post-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.06em;
  color: rgba(229,217,198,0.35);
  display: flex; gap: 1.2rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.post-meta span::before { content: '·'; margin-right: 1.2rem; }
.post-meta span:first-child::before { content: ''; margin-right: 0; }

.post-lede {
  font-size: 1.15rem; line-height: 1.65;
  color: rgba(229,217,198,0.72);
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
}

/* ── Divider ─────────────────────────────────────────────────────────────── */
.post-divider {
  border: none;
  border-top: 1px solid rgba(197,160,89,0.12);
  margin: 2.5rem 0;
}

/* ── Body typography ─────────────────────────────────────────────────────── */
.post-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem; font-weight: 700;
  color: var(--linen);
  margin: 2.5rem 0 0.8rem;
  line-height: 1.3;
}

.post-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  margin: 2rem 0 0.6rem;
}

.post-body p { margin-bottom: 1.4rem; }

.post-body a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(197,160,89,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
.post-body a:hover { text-decoration-color: var(--gold); }

.post-body strong { color: var(--linen); font-weight: 600; }

.post-body ul, .post-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}
.post-body li { margin-bottom: 0.5rem; }

.post-body blockquote {
  background: rgba(197,160,89,0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.8rem 0;
  color: rgba(229,217,198,0.8);
  font-style: italic;
}
.post-body blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-style: normal;
  color: rgba(229,217,198,0.4);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
}

.callout {
  background: rgba(26,24,22,0.8);
  border: 1px solid rgba(197,160,89,0.2);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.callout-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.callout p { margin-bottom: 0; color: rgba(229,217,198,0.75); font-size: 0.95rem; }

.comparison-table {
  width: 100%; border-collapse: collapse;
  margin: 1.8rem 0; font-size: 0.88rem;
  font-family: 'Outfit', sans-serif;
}
.comparison-table th {
  background: var(--espresso);
  color: var(--gold);
  font-weight: 700; letter-spacing: 0.08em;
  text-align: left; padding: 0.7rem 1rem;
  font-size: 0.72rem; text-transform: uppercase;
}
.comparison-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(197,160,89,0.08);
  color: var(--sand);
  vertical-align: top;
}
.comparison-table tr:hover td { background: rgba(197,160,89,0.04); }
.check { color: #5cb85c; }
.cross { color: #d9534f; }
.partial { color: var(--gold); }

/* ── CTA box ──────────────────────────────────────────────────────────────── */
.post-cta {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, rgba(26,24,22,0.9), rgba(10,10,9,0.95));
  border: 1px solid rgba(197,160,89,0.25);
  border-radius: 16px;
  padding: 2rem 2rem;
  text-align: center;
}
.post-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--linen);
  margin-bottom: 0.6rem;
}
.post-cta p {
  font-size: 0.9rem; color: rgba(229,217,198,0.55);
  margin-bottom: 1.3rem;
}
.cta-btn {
  display: inline-block;
  background: var(--gold); color: var(--obsidian);
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem; border-radius: 999px;
  transition: background 0.15s;
}
.cta-btn:hover { background: var(--linen); }

/* ── Blog index ───────────────────────────────────────────────────────────── */
.blog-index { max-width: 860px; margin: 0 auto; padding: 4rem 1.5rem 6rem; }
.blog-index-header { margin-bottom: 3rem; }
.blog-index-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--linen); margin-bottom: 0.6rem;
}
.blog-index-header p {
  color: rgba(229,217,198,0.5); font-size: 1rem;
}
.post-card {
  display: block;
  border: 1px solid rgba(197,160,89,0.1);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
  background: rgba(26,24,22,0.4);
  transition: border-color 0.15s, background 0.15s;
}
.post-card:hover {
  border-color: rgba(197,160,89,0.35);
  background: rgba(26,24,22,0.7);
}
.post-card-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.post-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; color: var(--linen);
  line-height: 1.3; margin-bottom: 0.5rem;
}
.post-card p {
  color: rgba(229,217,198,0.5);
  font-size: 0.9rem; line-height: 1.55;
  margin-bottom: 0.8rem;
}
.post-card-meta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.05em;
  color: rgba(229,217,198,0.25);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(197,160,89,0.1);
  padding: 2rem 1.5rem;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.06em;
  color: rgba(229,217,198,0.25);
}
.site-footer a { color: var(--gold); text-decoration: none; }

@media (max-width: 600px) {
  .nav-links { display: none; }
  .article-wrap { padding: 2.5rem 1.2rem 4rem; }
}
