:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --ink: #171713;
  --muted: #62625a;
  --line: #d3d2c9;
  --serif: "Noto Serif KR", "Batang", serif;
  --sans: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--sans); word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, blockquote { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
.shell { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; top: 8px; left: 8px; padding: 8px 16px; background: var(--ink); color: var(--paper); z-index: 10; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.masthead { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--ink); }
.brand { display: inline-flex; gap: 16px; align-items: center; font: 700 24px/1.3 var(--serif); }
.brand-rule { width: 40px; height: 1px; background: var(--ink); }
.masthead nav { display: flex; gap: 32px; }
.masthead nav a { padding: 16px 0; font-size: 15px; }
.opening { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 64px; padding: 64px 0 64px; }
.eyebrow { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
h1 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.4; letter-spacing: -.03em; }
.opening blockquote { max-width: 470px; margin-top: 24px; }
.opening blockquote p { font-size: 16px; line-height: 1.8; }
.opening cite { display: block; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 8px; }
.question-index { border-top: 1px solid var(--ink); }
.question-index a { min-height: 80px; display: grid; grid-template-columns: 24px 1fr 16px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.question-index a:hover { text-decoration: none; }
.question-index a:hover > span:nth-child(2) { text-decoration: underline; text-underline-offset: 5px; }
.index-number { color: var(--muted); font: 400 14px/1.5 var(--sans); align-self: start; padding-top: 4px; }
.question-index a > span:nth-child(2) { font-family: var(--serif); font-size: 18px; line-height: 1.6; font-weight: 700; }
.down { font-size: 18px; }
.topic-section { border-top: 1px solid var(--ink); padding: 64px 0 80px; scroll-margin-top: 32px; }
.section-heading { display: grid; grid-template-columns: 112px 1fr; gap: 32px; align-items: baseline; margin-bottom: 40px; }
.section-index { font-size: 15px; white-space: nowrap; }
.section-index span { color: var(--muted); margin-left: 8px; }
h2 { font-size: clamp(28px, 2.7vw, 36px); line-height: 1.5; letter-spacing: -.02em; }
.topic-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; }
.reading-list { border-top: 1px solid var(--line); }
.post-card { padding: 24px 0 32px; border-bottom: 1px solid var(--line); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; color: var(--muted); font-size: 13px; line-height: 1.7; }
.meta > span:first-child { color: var(--ink); }
.post-card h3 { font-size: 24px; line-height: 1.5; margin-top: 16px; font-weight: 700; }
.arrow { white-space: nowrap; font-family: var(--sans); font-size: .7em; font-weight: 400; }
.post-card .arrow { display: inline-block; margin-left: 8px; }
.excerpt { margin-top: 16px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin-top: 16px; border-bottom: 1px solid var(--line); }
.text-link:hover { text-decoration: none; border-color: var(--ink); }
.visual-list { display: flex; flex-direction: column; gap: 32px; }
.video-image { display: block; position: relative; background: #e8e7df; overflow: hidden; aspect-ratio: 16 / 9; }
.video-image img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; bottom: 16px; left: 16px; width: 40px; height: 40px; display: grid; place-items: center; padding-left: 2px; font-size: 15px; color: var(--paper); background: var(--ink); border: 1px solid var(--paper); }
.duration { position: absolute; right: 8px; bottom: 8px; background: var(--ink); color: var(--paper); padding: 0 8px; font-size: 13px; }
.video-card > .meta { margin-top: 16px; }
.video-card h3 { font-size: 19px; line-height: 1.6; font-weight: 700; margin-top: 8px; }
.book-card { display: grid; grid-template-columns: 112px 1fr; align-items: start; gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.book-cover img { width: 112px; height: 168px; object-fit: contain; object-position: top center; }
.book-text h3 { font: 700 18px/1.65 var(--serif); margin-top: 8px; }
.book-text p { margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.book-text .meta { gap: 4px 8px; }
.book-text .text-link { margin-top: 8px; }
.recommendations { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.recommendations a { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.site-footer { display: grid; grid-template-columns: 1fr 2fr auto; gap: 32px; padding: 32px 0 48px; border-top: 1px solid var(--ink); align-items: start; }
.footer-title { font: 700 24px/1.5 var(--serif); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); }
.back-top { font-size: 14px; white-space: nowrap; }
.error-page { padding-top: 96px; }
@media (min-width: 1440px) { h1 { font-size: 48px; } }
@media (max-width: 1050px) {
 .shell { width: calc(100% - 64px); }
 .opening { gap: 32px; grid-template-columns: 1.2fr 1fr; padding-block: 48px; }
 h1 { font-size: 36px; }
 .question-index a { min-height: 88px; }
 .question-index a > span:nth-child(2) { font-size: 17px; }
 .topic-grid { gap: 40px; }
 .section-heading { grid-template-columns: 96px 1fr; gap: 24px; }
 .book-card { grid-template-columns: 88px 1fr; gap: 16px; }
 .book-cover img { width: 88px; height: 136px; }
}
@media (max-width: 720px) {
 .shell { width: calc(100% - 40px); }
 .masthead { min-height: 72px; gap: 16px; }
 .brand { font-size: 20px; gap: 8px; }
 .brand-rule { width: 16px; }
 .masthead nav { gap: 16px; }
 .masthead nav a { font-size: 14px; }
 .opening { grid-template-columns: 1fr; gap: 32px; padding-block: 32px 40px; }
 .eyebrow { display: none; }
 h1 { font-size: clamp(28px, 6.6vw, 42px); line-height: 1.5; letter-spacing: -.02em; }
 .opening blockquote { margin-top: 16px; }
 .opening blockquote p { font-size: 16px; }
 .question-index a { min-height: 64px; padding: 16px 0; gap: 8px; grid-template-columns: 24px 1fr 16px; }
 .question-index a > span:nth-child(2) { font-size: 16px; }
 .topic-section { padding-block: 40px 48px; }
 .section-heading { display: block; margin-bottom: 24px; }
 .section-index { margin-bottom: 16px; font-size: 14px; }
 h2 { font-size: 28px; line-height: 1.5; }
 .topic-grid { grid-template-columns: 1fr; gap: 32px; }
 .post-card { padding-block: 24px; }
 .post-card h3 { font-size: 22px; }
 .visual-list { gap: 24px; }
 .video-card h3 { font-size: 20px; }
 .book-card { grid-template-columns: 104px 1fr; gap: 24px; padding-top: 24px; }
 .book-cover img { width: 104px; height: 160px; }
 .book-text h3 { font-size: 18px; }
 .site-footer { grid-template-columns: 1fr auto; padding-block: 24px 32px; gap: 24px; }
 .site-footer nav { grid-column: 1/-1; grid-row: 2; flex-direction: column; gap: 16px; }
 .back-top { grid-column: 2; grid-row: 1; }
 .recommendations a { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
