:root {
  --bg: #f4f1ea; /* paper */
  --bg-soft: #ebe7df;
  --text: #1c1c1c; /* ink */
  --text-muted: #6a6a6a;
  --border: #d9d4cc;
  --accent: #2f4f6f; /* ink blue */
  --accent-2: #a03c2f; /* muted red */
  --font-serif: "Cormorant Garamond", "EB Garamond", serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

em {
  font-style: italic;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.75;
}

.container {
  max-width: 960px;
  margin-left: 70px;
  padding: 60px 24px 120px;
}

.layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
}

.sidebar nav {
  display: flex;
  position: fixed;
  flex-direction: column;
  gap: 10px;
}

.sidebar a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 120ms ease;
}

.sidebar a:hover,
.sidebar a.active {
  color: var(--text);
}

h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.6rem;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.7rem;
}

.diagram {
  background: var(--bg-soft);
  padding: 16px;
  border: 1px solid var(--border);
}

.entry {
  margin-bottom: 40px;
}

.entry-year {
  color: var(--text-muted);
  font-size: 0.9rem;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 60px 0;
}

a {
  color: var(--text);
  text-decoration: underline;
}

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

@media (max-width: 800px) {
  .container {
    margin-left: 0;
    padding: 24px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    margin-bottom: 0px;
  }
  .sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
}

/*# sourceMappingURL=styles.css.map */