:root {
  --bg: #fbf3e7;
  --surface: #fffdf8;
  --text: #4a3226;
  --muted: #a8785a;
  --accent: #e0729c;
  --border: #ecd9bd;
  --radius: 16px;
  --font-heading: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.site-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.landing {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 4rem 1rem 3rem;
}

.landing h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 2rem;
  margin: 0 0 1.25rem;
}

.landing-bio {
  color: var(--muted);
  margin-bottom: 2rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.social-link {
  border: 1px solid var(--border);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--surface);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-weight: 700;
}

.cta:hover {
  opacity: 0.9;
}

h1, h2 {
  font-family: var(--font-heading);
}

.site-header nav a {
  margin-left: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-header nav a:hover { color: var(--text); }

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 60vh;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.card img, .card-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f3e6d0;
}

.card-body {
  padding: 1rem;
}

.card-body h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.card-body time, .post time {
  color: var(--muted);
  font-size: 0.85rem;
}

.empty { color: var(--muted); }

.post-image {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.tags {
  margin: 0.75rem 0;
}

.tag {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.8rem;
  margin-right: 0.4rem;
}

.post-body { margin-top: 1.5rem; }
.post-body img { max-width: 100%; border-radius: var(--radius); }

.about-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 2rem;
  border-top: 1px solid var(--border);
}
