:root {
  --bg: #f6f3ee;
  --paper: #fffdfa;
  --paper-2: #f2ede6;
  --ink: #171411;
  --muted: #6f655c;
  --line: rgba(23, 20, 17, 0.09);
  --accent: #9a3412;
  --accent-soft: rgba(154, 52, 18, 0.1);
  --accent-2: #7c2d12;
  --max: 1120px;
  --shadow: 0 20px 50px rgba(34, 28, 22, 0.07);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(154,52,18,.06), transparent 32%),
    linear-gradient(180deg, #f8f5f1 0%, #f6f3ee 100%);
  color: var(--ink);
  line-height: 1.75;
  overflow-x: clip;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.site-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 14px 80px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 900;
  border: 1px solid rgba(154,52,18,.16);
}
.brand-copy {
  min-width: 0;
}
.brand-copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.1;
}
.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}
.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-nav a {
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.65);
  font-size: 14px;
  color: #443b34;
}
.hero {
  background: linear-gradient(180deg, rgba(255,253,250,.96), rgba(255,251,246,.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(154,52,18,.12), transparent 70%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1,
.article-hero h1,
.section-title,
.post-card h2,
.post-body h2,
.post-body h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.03em;
}
.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.08;
}
.hero p {
  max-width: 760px;
  margin: 16px 0 0;
  font-size: 17px;
  color: var(--muted);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.6);
  color: #4b4037;
  font-size: 14px;
}
.section {
  margin-top: 22px;
}
.section-title {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.2;
}
.section-sub {
  margin: 0 0 18px;
  color: var(--muted);
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.post-card .meta,
.article-meta,
.fact-box small,
.source-list li,
.footer {
  color: var(--muted);
}
.post-card .meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
}
.post-card h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
}
.post-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.post-title-link:hover h2 {
  color: var(--accent-2);
}
.post-card p {
  margin: 0;
  color: #463d35;
}
.post-card a.more,
.article-nav a,
.source-list a,
.back-link {
  color: var(--accent-2);
  text-decoration: none;
}
.post-card a.more {
  margin-top: auto;
  font-weight: 700;
}
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 280px);
  gap: 18px;
  align-items: start;
}
.article-main,
.article-side {
  min-width: 0;
}
.article-hero {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow);
}
.article-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.07;
}
.dek {
  margin: 16px 0 0;
  color: #4f453d;
  font-size: 20px;
  line-height: 1.55;
  max-width: 760px;
}
.article-body {
  margin-top: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow);
}
.post-body {
  font-size: 18px;
}
.post-body p {
  margin: 0 0 18px;
}
.post-body h2 {
  margin: 36px 0 14px;
  font-size: 34px;
  line-height: 1.15;
}
.post-body h3 {
  margin: 28px 0 10px;
  font-size: 25px;
}
.post-body ul,
.post-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.post-body blockquote {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: #faf6f0;
  border-radius: 0 16px 16px 0;
  color: #433730;
}
.post-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}
.fact-box,
.side-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.fact-box {
  margin-bottom: 18px;
}
.fact-box h3,
.side-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.3;
}
.fact-box ul,
.side-card ul {
  margin: 0;
  padding-left: 18px;
}
.fact-box li,
.side-card li {
  margin: 8px 0;
}
.sticky {
  position: sticky;
  top: 16px;
}
.source-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}
.source-list li {
  margin: 10px 0;
  font-size: 14px;
}
.footer {
  margin-top: 34px;
  text-align: center;
  font-size: 13px;
}
.notice {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f8f3eb;
  border: 1px solid rgba(154,52,18,.1);
  color: #5e5045;
  font-size: 14px;
}
.list-tight li { margin: 6px 0; }
@media (max-width: 980px) {
  .post-grid,
  .article-shell {
    grid-template-columns: 1fr;
  }
  .sticky {
    position: static;
  }
}
@media (max-width: 720px) {
  .site-wrap {
    padding: 14px 10px 56px;
  }
  .hero,
  .post-card,
  .article-hero,
  .article-body,
  .fact-box,
  .side-card {
    padding: 18px;
    border-radius: 22px;
  }
  .hero h1,
  .article-hero h1 {
    font-size: 34px;
  }
  .post-body {
    font-size: 17px;
  }
  .post-body h2 {
    font-size: 28px;
  }
  .post-card h2 {
    font-size: 30px;
  }
}
