@font-face {
  font-family: "EB Garamond";
  src: url("/assets/eb-garamond.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  font: 400 clamp(1.125rem, 1rem + 0.44vw, 1.3125rem) / 1.55 "EB Garamond", Georgia, serif;
}

body {
  width: min(38rem, calc(100% - 3rem));
  margin: clamp(2.25rem, 8vw, 5.5rem) auto;
}

h1, h2 { line-height: 1.15; }
h1 { font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.5rem); }
h2 { font-size: 1.5rem; }
p { margin-block: 1rem; }

a { text-underline-offset: 0.15em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

#blog { margin-top: 2.25rem; }
.posts { list-style: none; margin: 0; padding: 0; }
.posts time { display: block; }
time, .home-link { font-size: 0.9em; }
.post-meta { margin-top: -0.5rem; }
article footer { margin-top: 1.75rem; }
