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

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

:root {
  --bg: #FAF8F5;
  --text: #2C2C2A;
  --muted: #8E7E6E;
  --accent: #7A5C3E;
  --accent-light: #C4A882;
  --border: #E2D8CC;
  --white: #FFFFFF;
  --max-width: 680px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
}

html { font-size: 17px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── HEADER / NAV ── */
header {
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
}
.site-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.site-title:hover { text-decoration: none; }
nav { display: flex; gap: 1.8rem; }
nav a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
nav a:hover, nav a.active { color: var(--accent); text-decoration: none; }

/* ── MAIN ── */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ── HERO (index only) ── */
.hero {
  text-align: center;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 1rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 1.8rem;
  font-size: 1rem;
}
.hero-cta {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--accent-light);
  border-radius: 2px;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.hero-cta:hover { background: var(--accent); color: var(--white); text-decoration: none; }

/* ── SECTION LABEL ── */
.section-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

/* ── POST LIST (blog index + homepage) ── */
.post-list { list-style: none; }
.post-list li {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}
.post-list li:last-child { border-bottom: none; }
.post-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}
.post-list h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.post-list h2 a { color: var(--text); }
.post-list h2 a:hover { color: var(--accent); text-decoration: none; }
.post-excerpt { color: var(--muted); font-size: 0.93rem; line-height: 1.65; }
.read-more {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* ── SINGLE POST ── */
.post-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.post-header .post-meta { margin-bottom: 0.8rem; }
.post-header h1 {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}
.post-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.8rem; }
.tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  background: var(--border);
  border-radius: 2px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.post-body { font-size: 1rem; line-height: 1.85; }
.post-body p { margin-bottom: 1.4rem; }
.post-body h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2rem 0 0.8rem;
}
.post-body h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 1.5rem 0 0.5rem;
}
.post-body ul, .post-body ol {
  margin: 0 0 1.4rem 1.4rem;
}
.post-body li { margin-bottom: 0.4rem; }
.post-body strong { font-weight: 500; }
.post-body em { font-style: italic; }
.post-body blockquote {
  border-left: 3px solid var(--accent-light);
  padding: 0.5rem 1rem;
  margin: 1.5rem 0;
  color: var(--muted);
  font-style: italic;
}

.post-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}
.back-link { color: var(--accent); font-size: 0.85rem; }

/* ── ABOUT PAGE ── */
.about-intro {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--border);
}
.about-body h1 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.about-text p { margin-bottom: 1.2rem; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.8rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  html { font-size: 16px; }
  .hero h1 { font-size: 2rem; }
  .about-intro { flex-direction: column; }
  .about-avatar { width: 90px; height: 90px; }
  nav { gap: 1.2rem; }
}
