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

:root {
  --text: #161616;
  --muted: #666;
  --line: #e9e3d9;
  --cream: #fbf6ea;
  --soft: #f7f2e8;
  --accent: #d77a18;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Noto Sans KR', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
  word-break: keep-all;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 28px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  gap: 26px;
  font-size: 15px;
  color: #333;
}

.nav a:hover { color: var(--accent); }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 28px 110px;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 1.08;
  letter-spacing: -0.07em;
}

.hero-text {
  max-width: 620px;
  margin-top: 32px;
  font-size: 20px;
  color: #444;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 28px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2,
.publisher h2,
.contact h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.book {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.book-right {
  grid-template-columns: 1.1fr 0.9fr;
}

.book-right .book-cover { order: 2; }
.book-right .book-info { order: 1; }

.book-cover {
  background: var(--soft);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

.book-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.book-category {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.book h3 {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.book-byline {
  margin: 12px 0 24px;
  color: var(--muted);
}

.book-info p {
  font-size: 18px;
}

.meta {
  display: grid;
  gap: 8px;
  margin: 28px 0;
  padding: 0;
}

.meta div {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.meta dt {
  min-width: 74px;
  color: var(--muted);
  font-weight: 700;
}

.meta dd { margin: 0; }

.buy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.buy-links a,
.email,
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--text);
  border-radius: 999px;
  font-weight: 700;
  transition: all .18s ease;
}

.buy-links a:hover,
.email:hover,
.social a:hover {
  background: var(--text);
  color: #fff;
}

.pale {
  max-width: none;
  background: var(--cream);
}

.pale > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card {
  background: #fff;
  padding: 38px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.card h3 {
  margin-top: 0;
  font-size: 28px;
}

.publisher {
  text-align: center;
  max-width: 860px;
}

.publisher p {
  font-size: 22px;
  color: #444;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-list article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.news-list time {
  color: var(--accent);
  font-weight: 700;
}

.news-list h3 {
  margin: 8px 0;
  font-size: 22px;
}

.contact {
  text-align: center;
  background: var(--cream);
  max-width: none;
}

.contact > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.contact p { color: #444; }

.email { margin-top: 16px; background: #fff; }

.social {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social a { background: #fff; }

.footer {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

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

  .nav {
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 14px;
  }

  .hero {
    padding-top: 80px;
    min-height: 460px;
  }

  .hero-text {
    font-size: 17px;
  }

  .book,
  .book-right {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .book-right .book-cover,
  .book-right .book-info {
    order: initial;
  }

  .book h3 {
    font-size: 31px;
  }

  .book-info p {
    font-size: 16px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 22px;
  }

  .social {
    flex-direction: column;
    align-items: center;
  }
}
