/* Minimal, clean blog styles */
/* Typeface: Century Expanded body + headings, Goudy Initialen drop caps */

@import url('https://fonts.cdnfonts.com/css/goudy-initialen');

@font-face {
  font-family: "Century Expanded";
  src: url("../Century Expanded Regular/Century Expanded Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg: #e8dfd0;
  --text: #3a332b;
  --muted: #6d6355;
  --accent: #3a332b;
  --link: #3a332b;
  --border: #cdc4b4;
  --code-bg: #f0ead9;
  --vermillion: #8b2500;
  --gold: #c9a84c;
  --manuscript-blue: #1a3a5c;
  --font-serif: "Century Expanded", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-drop-cap: "Goudy Initialen", serif;
}

html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  line-height:1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page{
  max-width: 600px;
  margin: 80px auto 64px;
  padding: 0 32px;
}

.title{
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 16px 0;
}

h2{
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 500;
  margin: 24px 0 8px 0;
}

.meta{
  color: var(--muted);
  font-size: 20px;
  margin-bottom: 32px;
}

strong, b{
  font-weight: 600;
}

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

a{
  color: var(--link);
  text-decoration: none;
  transition: color 150ms ease;
}

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

ul,ol{
  padding-left: 20px;
}

.list-tight{
  list-style-type: disc;
}

.list-tight li{
  margin: 12px 0;
}

code, pre, kbd{
  font-family: "Monaco", "Menlo", "Ubuntu Mono", "Consolas", "Liberation Mono", monospace;
}

code{
  background: var(--code-bg);
  padding: 0 4px;
  border-radius: 4px;
}

pre{
  background: var(--code-bg);
  padding: 16px;
  border-radius: 8px;
  overflow:auto;
  border: 1px solid var(--border);
}

.nav{
  display:flex;
  gap:16px;
  align-items:center;
  margin-bottom:32px;
}

.nav a{
  color: var(--text);
  text-decoration:none;
}

.nav a:hover{
  color: var(--vermillion);
}

.back-btn{
  font-size: 24px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 16px;
  display: inline-block;
}

.back-btn:hover{
  text-decoration: none;
}

.muted{color:var(--muted)}

.toc{
  border:1px solid var(--border);
  border-radius:8px;
  padding:12px 16px;
  background:transparent;
}

.toc h2{
  display: none;
}

.toc-section-number{
  display: none;
}

.footer{
  margin-top:64px;
  color:var(--muted);
  font-size:16px;
  text-align:center;
}


