@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@400;500;600&display=swap');

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

:root {
  --ink:       #1a1207;
  --ink-light: #4a3f2f;
  --ink-muted: #8b7355;
  --cream:     #faf7f2;
  --cream-2:   #f3ede3;
  --gold:      #c9922a;
  --gold-light:#f0d9a8;
  --green:     #2d5a3d;
  --border:    #e5ddd0;
  --max:       760px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
}

/* ── Nav ─────────────────────────────────────────────── */
.site-nav {
  background: var(--ink);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-family: 'Lora', serif;
  color: var(--gold-light);
  font-size: 1.1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: white; }
.nav-cta {
  background: var(--gold) !important;
  color: white !important;
  padding: 6px 16px;
  border-radius: 6px;
}

/* ── Blog post layout ────────────────────────────────── */
.post-hero {
  background: var(--ink);
  padding: 64px 24px 56px;
  position: relative;
  overflow: hidden;
}
.post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,146,42,0.12) 0%, transparent 60%);
}
.post-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.post-tag {
  display: inline-block;
  background: rgba(201,146,42,0.2);
  color: var(--gold-light);
  border: 1px solid rgba(201,146,42,0.3);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.post-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: white;
  line-height: 1.25;
  margin-bottom: 16px;
}
.post-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.post-meta-dot { width: 3px; height: 3px; background: rgba(255,255,255,0.3); border-radius: 50%; }

/* ── Article body ────────────────────────────────────── */
.post-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 52px 24px 80px;
}

.post-body h2 {
  font-family: 'Lora', serif;
  font-size: 1.45rem;
  color: var(--ink);
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-light);
}
.post-body h3 {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 28px 0 10px;
}
.post-body p {
  font-size: 1.02rem;
  color: var(--ink-light);
  margin-bottom: 20px;
}
.post-body ul, .post-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.post-body li {
  color: var(--ink-light);
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body em { font-style: italic; color: var(--ink-muted); }

.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  margin: 28px 0;
  background: var(--cream-2);
  border-radius: 0 8px 8px 0;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-light);
}

.callout {
  background: var(--green);
  color: white;
  padding: 24px 28px;
  border-radius: 12px;
  margin: 36px 0;
}
.callout h3 { color: white; font-family: 'Lora', serif; margin-bottom: 8px; }
.callout p  { color: rgba(255,255,255,0.85); margin: 0 0 16px; font-size: 0.95rem; }
.callout a  {
  display: inline-block;
  background: white;
  color: var(--green);
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.15s;
}
.callout a:hover { opacity: 0.9; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 32px 24px;
  font-size: 13px;
}
.site-footer a { color: var(--gold-light); text-decoration: none; }

/* ── Blog index cards ────────────────────────────────── */
.blog-hero {
  background: var(--ink);
  padding: 64px 24px;
  text-align: center;
}
.blog-hero h1 {
  font-family: 'Lora', serif;
  color: white;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
}
.blog-hero p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.blog-grid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 52px 24px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.blog-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.blog-card-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #e8a83a);
}
.blog-card-body { padding: 24px; flex: 1; }
.blog-card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.blog-card-title {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-card-excerpt {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card-meta {
  font-size: 12px;
  color: var(--ink-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.blog-read-more {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  margin-top: 4px;
}
