

:root {
  --ink:   #1a1a1a;
  --muted: #666;
  --rule:  #e8e4df;
  --bg:    #faf9f7;
  --max:   680px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  padding: 0 1.5rem;
}

.site-wrap { max-width: var(--max); margin: 0 auto; }

/* Header */
header {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 3rem;
}
.site-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.site-tagline {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: italic;
}

/* Index list */
.post-list { list-style: none; }
.post-list li { padding: 1.8rem 0; border-bottom: 1px solid var(--rule); }
.post-list li:first-child { padding-top: 0; }
.post-list .post-date { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.4rem; }
.post-list .post-title { font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; font-weight: 400; line-height: 1.35; }
.post-list .post-title a { color: var(--ink); text-decoration: none; }
.post-list .post-title a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-list .post-meta { margin-top: 0.35rem; font-size: 0.78rem; color: var(--muted); font-style: italic; }

/* Post page */
.post-header { padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); margin-bottom: 2.2rem; }
.post-header .post-date { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.6rem; }
.post-header h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 600; font-size: 2rem; line-height: 1.25; letter-spacing: -0.02em; }
.post-header .post-meta { margin-top: 0.6rem; font-size: 0.78rem; color: var(--muted); font-style: italic; }

/* Post body */
.post-body p     { margin-bottom: 1.3rem; }
.post-body h2    { font-family: Georgia, 'Times New Roman', serif; font-size: 1.3rem; font-weight: 600; margin: 2rem 0 0.7rem; }
.post-body h3    { font-family: Georgia, 'Times New Roman', serif; font-size: 1.1rem; font-weight: 400; font-style: italic; margin: 1.6rem 0 0.5rem; }
.post-body a     { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.post-body blockquote { border-left: 2px solid var(--ink); margin: 1.5rem 0; padding-left: 1.2rem; color: #555; font-style: italic; }
.post-body pre   { background: #f0eeeb; border-radius: 3px; padding: 1rem 1.2rem; overflow-x: auto; font-size: 0.82rem; margin-bottom: 1.3rem; }
.post-body code  { font-family: 'Menlo', 'Consolas', monospace; font-size: 0.85em; background: #f0eeeb; padding: 0.1em 0.35em; border-radius: 2px; }
.post-body pre code { background: none; padding: 0; }
.post-body table, main table { width: 100%; border-collapse: collapse; margin-bottom: 1.3rem; font-size: 0.9rem; display: block; overflow-x: auto; }
.post-body th, .post-body td, main th, main td { border-bottom: 1px solid var(--rule); padding: 0.5rem 0.6rem; text-align: left; }
.post-body th, main th { font-weight: 600; }

/* Back link */
.back-link { display: inline-block; margin-top: 3rem; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 0.15rem; }
.back-link:hover { color: var(--ink); border-color: var(--ink); }

/* Footer */
footer { margin-top: 4rem; padding: 1.5rem 0 2.5rem; border-top: 1px solid var(--rule); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; }
