@import url("https://fonts.googleapis.com/css2?family=Spectral:wght@300;400;600&family=Space+Grotesk:wght@400;600&display=swap");

:root {
  --bg: #f8f4ec;
  --ink: #1b1a17;
  --muted: #6b5f54;
  --accent: #d77a61;
  --card: #ffffff;
  --border: #eadfce;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Spectral", Georgia, serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff9f1 0%, var(--bg) 55%, #efe7d8 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(960px, 90vw);
  margin: 0 auto;
}

.site-header {
  padding: 32px 0 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(248, 244, 236, 0.75);
  backdrop-filter: blur(8px);
}

.site-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-main {
  padding: 48px 0 64px;
}

.hero {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 20px 40px rgba(27, 26, 23, 0.08);
}

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  margin: 0 0 12px;
}

.hero-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.latest {
  margin-top: 36px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
  font-size: 1.4rem;
}

.all-posts {
  font-size: 0.9rem;
  color: var(--muted);
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.post-list li {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.post-list a {
  font-weight: 600;
}

.post-date {
  font-size: 0.85rem;
  color: var(--muted);
}

.post {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 16px 32px rgba(27, 26, 23, 0.08);
}

.post-header h1 {
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 6px;
}

.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 24px;
}

.post-body {
  line-height: 1.7;
}

.post-body img {
  max-width: 100%;
  border-radius: 12px;
}

.empty-state {
  color: var(--muted);
  margin-top: 12px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}
