
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #f7f7f5; --panel: #ffffff;
  --line: rgba(0,0,0,0.08); --line-lt: rgba(0,0,0,0.04);
  --text: #2a2a2a; --text-lt: #888888;
  --ink: #1a1a1a; --accent: #b44444;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Outfit', -apple-system, sans-serif; font-weight: 300; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,247,245,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
nav .brand { font-size: 0.85rem; font-weight: 300; letter-spacing: 0.12em; color: var(--ink); text-decoration: none; }
.nav-links { display: flex; gap: 1.3rem; align-items: center; }
.nav-links a {
  font-size: 0.74rem; letter-spacing: 0.1em;
  color: var(--text-lt); text-decoration: none;
  padding: 0.3rem 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--ink); }

article {
  max-width: 680px; margin: 0 auto; padding: 3rem 2rem 4rem;
  font-family: 'EB Garamond', 'Iowan Old Style', Georgia, serif;
  font-size: 1.12rem; line-height: 1.7; color: var(--text);
}
article a.back {
  display: inline-block; margin-bottom: 1.5rem;
  font-family: 'Outfit', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.12em; color: var(--text-lt); text-decoration: none;
}
article a.back:hover { color: var(--ink); }
article h1 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500; font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  color: var(--ink); margin: 0.5rem 0 0.4rem; line-height: 1.2;
}
article h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500; font-size: 1.3rem;
  color: var(--ink); margin: 2rem 0 0.6rem; letter-spacing: 0.01em;
}
article h3 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500; font-size: 1.05rem;
  color: var(--ink); margin: 1.5rem 0 0.4rem;
}
article p { margin: 0 0 1rem; }
article p > em:only-child {
  display: block; text-align: center; margin: 1.5rem auto; max-width: 80%;
}
article blockquote {
  border-left: 2px solid var(--text-lt);
  padding: 0.2rem 0 0.2rem 1.2rem;
  margin: 1rem 0; color: var(--text-lt); font-style: italic;
}
article hr.rule {
  border: none; border-top: 1px solid var(--line); margin: 2.5rem 0 1.5rem;
}
article ul, article ol { margin: 0 0 1rem 1.5rem; }
article li { margin-bottom: 0.4rem; }
article strong { color: var(--ink); font-weight: 500; }
article code {
  font-family: ui-monospace, monospace; font-size: 0.94em;
  background: rgba(0,0,0,0.04); padding: 0.05em 0.3em; border-radius: 2px;
}
article table {
  width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem;
  font-family: 'Outfit', sans-serif; font-weight: 300;
}
article th, article td {
  text-align: left; padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--line);
}
article th { font-weight: 400; color: var(--ink); }
.index-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.index-list li {
  border-top: 1px solid var(--line); padding: 1.4rem 0;
}
.index-list li:last-child { border-bottom: 1px solid var(--line); }
.index-list .num {
  display: inline-block; width: 3.2rem; font-family: 'Outfit', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.16em; color: var(--text-lt); vertical-align: top;
}
.index-list a { color: var(--ink); text-decoration: none; }
.index-list a:hover .title { text-decoration: underline; }
.index-list .title {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic; font-size: 1.15rem;
}
.index-list .subj {
  display: block; margin: 0.3rem 0 0 3.2rem; font-size: 0.95rem; color: var(--text);
  font-family: 'Outfit', sans-serif; font-weight: 300;
}
footer {
  max-width: 680px; margin: 0 auto; padding: 2rem;
  border-top: 1px solid var(--line-lt);
  font-size: 0.78rem; color: var(--text-lt); text-align: center;
}
