
@font-face {
  font-family: 'Berkeley Mono';
  src: url('/BerkeleyMono-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Berkeley Mono';
  src: url('/BerkeleyMono-Oblique.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Berkeley Mono';
  src: url('/BerkeleyMono-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Berkeley Mono';
  src: url('/BerkeleyMono-Bold-Oblique.woff2') format('woff2');
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Berkeley Mono';
  src: url('/BerkeleyMono-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Berkeley Mono';
  src: url('/BerkeleyMono-Black-Oblique.woff2') format('woff2');
  font-weight: 900; font-style: italic; font-display: swap;
}
/* Evergarden Summer */
:root {
  --fg: #2b3034; --muted: #829084; --link: #f57f82; --bg: #f5efe6;
  --surface: #e6e1d3; --border: #ceccbd;
}
* { box-sizing: border-box; }
body {
  font-family: 'Berkeley Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  line-height: 1.65; color: var(--fg); background: var(--bg);
  margin: 0; padding: 0;
}
main { max-width: 42rem; margin: 0 auto; padding: 3rem 1.25rem 6rem; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; font-weight: 900; }
h1 { margin-top: 0; }
.nav a { color: var(--muted); font-size: 0.9rem; }
ul.posts { list-style: none; padding: 0; }
ul.posts li { margin: 0.4rem 0; font-size: 1.05rem; }
.post-date { color: var(--muted); font-size: 0.9em; margin-left: 0.4rem; }
code {
  font-family: 'Berkeley Mono', ui-monospace, Menlo, monospace; font-size: 0.9em;
  background: var(--surface); padding: 0.1em 0.3em; border-radius: 3px;
}
pre {
  background: var(--surface); padding: 1rem; border-radius: 6px;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
pre code { background: none; padding: 0; }
blockquote {
  border-left: 3px solid var(--border); margin-left: 0; padding-left: 1rem; color: var(--muted);
}
img { max-width: 100%; height: auto; display: block; }
figure { width: fit-content; max-width: 100%; margin: 1.5rem auto; }
figure img { margin: 0 auto; border-radius: 3px; }
figcaption { color: var(--muted); font-size: 0.85rem; text-align: center; margin-top: 0.5rem; }
svg.math { vertical-align: middle; }
.math-display {
  overflow-x: auto; overflow-y: hidden; text-align: center; padding: 0.5rem 0;
}
.accred {
  position: fixed; bottom: 0.6rem; right: 0.75rem;
  font-size: 0.72rem; color: var(--muted);
}
.accred a { color: var(--muted); }
