@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,700&family=Work+Sans:wght@300;400;500;600&display=swap");

:root {
  --bg: #f4efe8;
  --bg-alt: #f8f2eb;
  --ink: #2c2a27;
  --muted: #6e6157;
  --accent: #c45a3c;
  --accent-dark: #9a3f2a;
  --card: #fff7ef;
  --line: #e5d7c6;
  --shadow: 0 12px 30px rgba(44, 42, 39, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Work Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 10%, #fff8f0 0%, transparent 55%),
    radial-gradient(circle at 90% 20%, #f2e3d6 0%, transparent 50%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 60%);
  min-height: 100vh;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 56px;
  animation: fade-in 700ms ease-out;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-title {
  font-family: "Fraunces", serif;
  font-size: 24px;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--ink);
}


.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 180ms ease;
}

.nav-link:hover {
  background: rgba(196, 90, 60, 0.12);
}

.main {
  margin-top: 40px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-family: "Fraunces", serif;
  font-size: 40px;
  margin: 0 0 20px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 150ms ease, background 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.button.ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}


.hero-media img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-media figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}


.section-head h1 {
  font-family: "Fraunces", serif;
  font-size: 32px;
}

.section-intro {
  color: var(--muted);
  max-width: 680px;
}

.post-list {
  margin-top: 28px;
  display: grid;
  gap: 20px;
}

.post-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: fade-up 600ms ease-out;
}

.post-card:nth-child(2) { animation-delay: 60ms; }
.post-card:nth-child(3) { animation-delay: 120ms; }
.post-card:nth-child(4) { animation-delay: 180ms; }

.post-card h2 {
  margin: 8px 0 6px;
  font-family: "Fraunces", serif;
}

.post-card p {
  color: var(--muted);
}

.post-link {
  text-decoration: none;
  font-weight: 600;
  color: var(--accent-dark);
}

.post {
  max-width: 760px;
  margin: 0 auto;
}

.post-header h1 {
  font-family: "Fraunces", serif;
  font-size: 36px;
}

.post-meta {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.post-tags span {
  margin-left: 6px;
}

.post-body {
  margin-top: 24px;
  line-height: 1.7;
}

.post-body a {
  color: var(--accent-dark);
}

.about-image {
  margin: 0 auto 18px;
  text-align: center;
}

.about-image img {
  width: min(420px, 100%);
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.about-image figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: center;
  column-gap: 16px;
  row-gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.footer-break {
  flex-basis: 100%;
  height: 0;
}

.rss-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rss-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}


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

  .hero-text h1 {
    font-size: 32px;
  }

  .post-header h1 {
    font-size: 28px;
  }
}
