@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;600;700&family=Nanum+Myeongjo:wght@400;700&display=swap');

:root {
  --cream: #faf6ef;
  --paper: #fffdf8;
  --ink: #3a332c;
  --muted: #8a7f6f;
  --accent: #b5652f;
  --accent-soft: #e8d5c2;
  --border: #e6ddce;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.8;
}

header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px 20px;
}

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

.site-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}

.site-subtitle {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 18px;
}

nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  padding: 6px 14px;
  border-radius: 999px;
  transition: background 0.15s;
}

nav a:hover, nav a.active {
  background: var(--accent-soft);
  color: var(--accent);
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

h1.page-title {
  font-size: 28px;
  margin: 0 0 8px;
}

.lede {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0 0 36px;
}

section + section {
  margin-top: 40px;
}

h2.section-title {
  font-size: 19px;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 18px;
}

.profile {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.profile-photo {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  background: var(--accent-soft);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 13px;
  text-align: center;
  overflow: hidden;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }

.profile-text { flex: 1; min-width: 240px; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.tag {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  padding: 4px 11px;
  border-radius: 999px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.meta {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 8px;
}

.card p { margin: 0; font-size: 15px; }

.post-list .card {
  cursor: default;
}

.post-title {
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--ink);
}

.post-excerpt {
  color: #55503f;
  font-size: 15px;
  margin-top: 10px;
}

footer {
  text-align: center;
  padding: 32px 24px 48px;
  color: var(--muted);
  font-size: 13px;
}

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

@media (max-width: 600px) {
  .profile { flex-direction: column; align-items: center; text-align: center; }
  .profile-photo { width: 120px; height: 120px; }
}
