/* Mindsle Finds — minimal editorial aesthetic */
:root {
  --cream: #f7f3ee;
  --cream-dark: #efe8df;
  --ink: #2c2825;
  --ink-soft: #5a534c;
  --accent: #8b6f5c;
  --accent-hover: #6f5646;
  --border: #e0d6cb;
  --white: #fffcf8;
  --max: 720px;
  --max-wide: 960px;
  --font: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.logo span { color: var(--accent); font-weight: 400; }

.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; font-family: var(--sans); font-size: 0.85rem; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--accent); }

main { flex: 1; padding: 2.5rem 1.5rem 4rem; }

.wrap { max-width: var(--max); margin: 0 auto; }
.wrap-wide { max-width: var(--max-wide); margin: 0 auto; }

.hero {
  text-align: center;
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero p {
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 36em;
  font-size: 1.05rem;
}

.post-list { list-style: none; padding: 0; margin: 0; }

.post-card {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.post-card:last-child { border-bottom: none; }

.post-meta {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.post-card h2 {
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.post-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.post-card h2 a:hover { color: var(--accent); }

.post-excerpt {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.98rem;
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 500;
  margin: 0.5rem 0 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 2.25rem 0 0.75rem;
}

.article-body h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 1.75rem 0 0.5rem;
}

.article-body p { margin: 0 0 1.15rem; }

.article-body ul, .article-body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

.article-body li { margin-bottom: 0.4rem; }

.article-body blockquote {
  margin: 1.5rem 0;
  padding: 0.75rem 0 0.75rem 1.25rem;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  font-style: italic;
}

.cta-box {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--sans);
  font-size: 0.9rem;
}

.cta-box strong { display: block; margin-bottom: 0.35rem; color: var(--ink); }

.disclosure {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.9rem 1.1rem;
  margin: 2rem 0 0;
  border-radius: 4px;
}

.page-title {
  font-size: 1.85rem;
  font-weight: 500;
  margin: 0 0 1.5rem;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

.tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--cream-dark);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  margin-right: 0.5rem;
}

@media (max-width: 600px) {
  html { font-size: 16px; }
  .site-header { padding: 1rem; }
  main { padding: 1.5rem 1rem 3rem; }
  .hero { padding: 1rem 0 2rem; }
}
