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

:root {
  --cream: #f7f2e9;
  --warm-white: #fdfaf5;
  --ink: #1a1208;
  --brown: #5c3d1e;
  --terracotta: #c4622d;
  --gold: #c9963a;
  --muted: #8a7560;
  --border: #ddd5c4;
  --card-bg: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
}

/* ── HEADER ── */
header {
  background-color: var(--ink);
  color: var(--cream);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--terracotta);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
}

nav { display: flex; gap: 2rem; align-items: center; }

nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--border);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover { color: var(--terracotta); }

/* ── HERO ── */
.hero {
  background-color: var(--ink);
  color: var(--cream);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 30rem;
  color: rgba(255,255,255,0.03);
  position: absolute;
  top: -8rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  pointer-events: none;
}

.hero-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

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

.hero p {
  font-family: 'Source Serif 4', serif;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.hero-scroll {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.7rem 2rem;
  text-decoration: none;
  transition: all 0.2s;
}

.hero-scroll:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ── DIVIDER ── */
.section-divider {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-divider span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── FEATURED POST ── */
.featured-section {
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 0 2rem;
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.featured-card:hover {
  box-shadow: 8px 8px 0 var(--terracotta);
}

.featured-image {
  background: linear-gradient(135deg, var(--brown) 0%, var(--ink) 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
  overflow: hidden;
}

.featured-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.02) 10px,
    rgba(255,255,255,0.02) 11px
  );
}

.featured-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.featured-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--ink);
}

.featured-body p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.post-meta .dot { color: var(--border); }

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brown);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.read-link:hover { color: var(--terracotta); }

/* ── POST GRID ── */
.posts-grid {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.post-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
}

.post-card:hover {
  border-color: var(--terracotta);
  transform: translateY(-4px);
  box-shadow: 4px 4px 0 var(--terracotta);
}

.post-card-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  display: block;
}

.post-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.post-card p {
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.post-card .post-meta {
  margin-bottom: 0;
  font-size: 0.75rem;
}

/* ── QUOTE STRIP ── */
.quote-strip {
  background: var(--terracotta);
  color: var(--cream);
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.quote-strip blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.quote-strip cite {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: var(--muted);
  padding: 3rem 2rem;
  text-align: center;
  border-top: 3px solid var(--terracotta);
}

footer .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

footer p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

footer a { color: var(--gold); text-decoration: none; }
footer a:hover { color: var(--terracotta); }

/* ── POST PAGE ── */
.post-header {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.post-header .post-tag { border-color: var(--gold); color: var(--gold); }

.post-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  max-width: 750px;
  margin: 1rem auto;
  line-height: 1.15;
}

.post-header .post-meta { justify-content: center; color: var(--muted); }

.post-content {
  max-width: 700px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.post-content p { margin-bottom: 1.5rem; font-weight: 300; }

.post-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  color: var(--brown);
}

.post-content blockquote {
  border-left: 4px solid var(--terracotta);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--warm-white);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brown);
}

.post-content .wisdom-box {
  background: var(--ink);
  color: var(--cream);
  padding: 2rem;
  margin: 2.5rem 0;
  border-left: 5px solid var(--gold);
}

.post-content .wisdom-box p { color: var(--cream); margin-bottom: 0; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--brown);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 2rem;
}

.back-link:hover { color: var(--terracotta); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-image { min-height: 200px; }
  .posts-grid { grid-template-columns: 1fr; }
  nav { display: none; }
  .header-inner { justify-content: center; }
}
