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

:root {
  color-scheme: light;
  --ink: #2C2416;
  --muted: #6B5D49;
  --soft: #8A7B63;
  --line: #E8DCC8;
  --paper: #FDF8F0;
  --surface: #FFFDF8;
  --surface-alt: #F7EEDF;
  --accent: #8B6914;
  --accent-2: #A8842A;
  --clay: #A8842A;
  --deep: #2C2416;
  --warm: #F7EEDF;
  --shadow: 0 20px 50px rgba(139, 105, 20, 0.10);
  --serif: "Nanum Myeongjo", Batang, Georgia, serif;
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 248, 240, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar-inner,
.page-hero,
main,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: .5px;
  text-decoration: none;
  color: var(--deep);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  padding: 9px 15px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}

.nav a:hover,
.button:hover {
  background: var(--surface-alt);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button.primary,
.nav a[aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fffdf8;
}

.button.primary:hover {
  background: var(--accent-2);
  color: #fff;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(52px, 8vw, 96px) 0 clamp(36px, 6vw, 68px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.2px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  color: var(--deep);
  letter-spacing: -0.3px;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.1rem, 4.8vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: clamp(1.18rem, 2.3vw, 1.55rem);
}

.lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-card,
.note-card,
.article-card,
.proof-card,
.profile-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(150deg, var(--warm), var(--surface) 54%, var(--surface-alt));
}

.hero-stat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.hero-stat div {
  border: 1px solid rgba(139, 105, 20, 0.18);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.7);
  padding: 14px;
}

.hero-stat strong {
  display: block;
  font-family: var(--serif);
  color: var(--accent);
  font-size: 1.6rem;
  line-height: 1.1;
}

.hero-stat span,
.note-card p,
.article-card p,
.proof-card p,
.profile-card p,
.section-head p,
.callout p {
  color: var(--muted);
}

.band {
  padding: clamp(42px, 7vw, 82px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 860px;
  margin-bottom: 26px;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
}

.section-head p {
  margin: 14px 0 0;
  font-size: 1.04rem;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 14px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-card,
.proof-card,
.note-card,
.article-card {
  padding: clamp(18px, 2.6vw, 28px);
}

.profile-card small,
.proof-card small,
.article-card small,
.note-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: .5px;
}

.article-list {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.article-card {
  border-left: 4px solid var(--accent);
  box-shadow: 0 14px 34px rgba(139, 105, 20, 0.07);
}

.article-card p {
  margin: 12px 0 0;
}

.reader-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.reader-split div,
.callout {
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--surface-alt);
  padding: 14px;
}

.reader-split strong {
  color: var(--deep);
}

.timeline {
  display: grid;
  gap: 12px;
  counter-reset: item;
}

.timeline p {
  position: relative;
  margin: 0;
  padding: 16px 18px 16px 54px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
}

.timeline p::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 16px;
  top: 15px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-weight: 800;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
}

.footer-inner {
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .topbar-inner,
  .page-hero,
  main,
  .footer-inner {
    width: min(100% - 32px, 1120px);
  }

  .topbar-inner {
    display: grid;
    align-items: stretch;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .nav a,
  .button {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .page-hero,
  .grid-2,
  .grid-3,
  .reader-split,
  .hero-stat {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.2rem;
  }

  .hero-actions,
  .button-row {
    display: grid;
  }
}
