:root {
  --paper: #f3f2ee;
  --paper-bright: #faf9f6;
  --ink: #1d1d1b;
  --muted: #77756f;
  --soft: #a5a29a;
  --rule: #d7d4cc;
  --deep-rule: #a9a69d;
  --accent: #344047;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.site-shell { width: min(100%, 1160px); margin: 0 auto; padding: 24px 36px 34px; }
.site-header { display: flex; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.brand, .brand > span:last-child { display: flex; align-items: center; }
.brand { gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; gap: 3px; padding: 5px 7px; border: 1px solid var(--ink); border-radius: 50%; }
.brand-mark span { display: block; width: 12px; height: 1px; background: var(--ink); }
.brand-mark span:nth-child(2) { width: 8px; margin-left: -4px; }
.brand > span:last-child { flex-direction: column; align-items: flex-start; gap: 2px; }
.brand strong { font-size: 14px; font-weight: 700; letter-spacing: -0.04em; }
.brand small { color: var(--muted); font-size: 9px; letter-spacing: -0.02em; }
.banner-section { position: sticky; top: 0; z-index: 20; padding: 18px 0 0; border-bottom: 1px solid var(--deep-rule); background: var(--paper); }
.banner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.page-banner { padding: 14px 36px 12px; }
.page-banner .banner-grid { width: min(100%, 1088px); margin: 0 auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.page-banner .banner-placeholder { gap: 2px; }
.page-banner .banner-placeholder span, .page-banner .banner-placeholder small { font-size: 8px; }
.page-banner .banner-placeholder strong { font-size: 18px; }
.banner-slot { display: grid; aspect-ratio: 16 / 9; place-items: center; border: 1px dashed var(--deep-rule); background: var(--paper-bright); }
.banner-slot:hover { border-color: var(--ink); background: #eceae4; }
.banner-placeholder { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--muted); }
.banner-placeholder span, .banner-placeholder small { font-size: 10px; letter-spacing: -0.04em; }
.banner-placeholder strong { color: var(--ink); font-size: 29px; font-weight: 400; letter-spacing: 0.02em; }
.banner-placeholder small { color: var(--soft); }
.article-archive { padding: 44px 0 58px; }
.archive-heading { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--deep-rule); }
.eyebrow, .archive-count, .article-meta, .article-number, .back-top, .article-open, .article-date, .post-meta, .post-back, .post-label, .post-footer { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace; }
.eyebrow { margin: 0 0 11px; color: var(--muted); font-size: 10px; letter-spacing: 0.1em; }
.archive-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 500; letter-spacing: -0.09em; line-height: 1; }
.archive-count { padding-bottom: 4px; color: var(--soft); font-size: 10px; letter-spacing: 0.04em; }
.article-list { border-top: 1px solid var(--deep-rule); }
.article-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 22px; padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.article-row-link { color: inherit; transition: background 160ms ease; }
.article-row-link:hover { background: var(--paper-bright); }
.article-row-link:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.article-number { padding-top: 3px; color: var(--soft); font-size: 11px; }
.article-meta { display: flex; gap: 15px; margin-bottom: 9px; color: var(--muted); font-size: 9px; letter-spacing: 0.03em; }
.article-meta span:first-child { color: var(--accent); }
.article-main h2 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -0.075em; line-height: 1.32; }
.article-side { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: 56px; }
.article-open, .article-date { color: var(--muted); font-size: 9px; letter-spacing: 0.03em; white-space: nowrap; }
.article-date { color: var(--soft); letter-spacing: 0.02em; }
.site-footer { display: flex; align-items: flex-end; justify-content: space-between; padding-top: 25px; border-top: 1px solid var(--deep-rule); }
.site-footer strong { font-size: 12px; font-weight: 700; letter-spacing: -0.05em; }
.site-footer p { margin: 7px 0 0; color: var(--muted); font-size: 10px; letter-spacing: -0.04em; }
.back-top { color: var(--muted); font-size: 9px; letter-spacing: 0.08em; }
.post-page { width: min(100%, 860px); margin: 0 auto; padding: 28px 36px 58px; }
.post-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--deep-rule); }
.post-back, .post-label, .post-meta, .post-footer { color: var(--muted); font-size: 10px; letter-spacing: 0.04em; }
.post-back:hover, .post-footer a:hover { color: var(--ink); }
.post-article { padding: 70px 0 82px; }
.post-meta { display: flex; gap: 15px; margin-bottom: 18px; }
.post-meta span:first-child { color: var(--accent); }
.post-article h1 { max-width: 720px; margin: 0; font-size: clamp(30px, 5vw, 52px); font-weight: 500; letter-spacing: -0.09em; line-height: 1.18; }
.post-content { margin-top: 52px; color: var(--ink); font-size: 16px; line-height: 2; letter-spacing: -0.035em; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; }
.post-footer { padding-top: 20px; border-top: 1px solid var(--deep-rule); }
@media (max-width: 800px) {
  .site-shell, .post-page { padding-left: 22px; padding-right: 22px; }
  .banner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .page-banner { padding: 12px 22px 10px; }
  .page-banner .banner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .page-banner .banner-placeholder strong { font-size: 16px; }
  .page-banner .banner-placeholder span, .page-banner .banner-placeholder small { font-size: 7px; }
  .article-archive { padding: 34px 0 46px; }
  .article-row { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 18px 0 20px; }
  .article-side { grid-column: 2; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: auto; padding-top: 5px; }
  .article-main h2 { font-size: 18px; }
  .post-article { padding: 55px 0 65px; }
  .post-content { margin-top: 38px; font-size: 15px; line-height: 1.9; }
}
@media (max-width: 500px) {
  .brand small { display: none; }
  .archive-heading, .post-top { align-items: flex-start; flex-direction: column; gap: 12px; }
  .banner-placeholder strong { font-size: 24px; }
  .banner-placeholder span, .banner-placeholder small { font-size: 9px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 19px; }
  .post-article h1 { font-size: 32px; }
  .post-content { font-size: 14px; line-height: 1.85; }
}
