@font-face {
  font-family: "Besley";
  src: url("/assets/besley.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson";
  src: url("/assets/atkinson.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --sky: #10181e;
  --ink: #f3efe4;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--sky); }
body {
  min-height: 100dvh;
  background: var(--sky);
  color: var(--ink);
  font-family: Atkinson, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.45;
}
body.home {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
body.home .air { flex: 1 0 12vh; }
body.home main { width: 100%; max-width: 46rem; }
main { min-width: 0; width: 100%; padding: 0 1.25rem 2.5rem; box-sizing: border-box; }
.reading {
  font-family: Besley, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  font-weight: 520;
  font-synthesis: none;
  line-height: 1.22;
  letter-spacing: -0.018em;
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.reading.short { font-size: clamp(1.7rem, 7vw, 3.35rem); }
.reading.mid { font-size: clamp(1.45rem, 5.2vw, 2.35rem); }
.reading.long { font-size: clamp(1.25rem, 4.2vw, 1.85rem); }
@media (min-width: 800px) {
  .reading.short { max-width: 14em; }
  .reading.mid { max-width: 20em; }
  .reading.long { max-width: 28em; }
  main { padding: 0 8vw 8vh; }
  body.sheet main { padding: 10vh 8vw 12vh; }
}
.when, .note, .more { margin: 0.85rem 0 0; max-width: 38rem; }
.note { margin-top: 0.3rem; }
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
body.sheet main {
  padding: 3.5rem 1.25rem 4rem;
  max-width: 46rem;
}
body.sheet h1 {
  font-family: Besley, "Iowan Old Style", Palatino, serif;
  font-weight: 520;
  font-synthesis: none;
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.6rem;
}
.prose p { max-width: 38rem; font-size: 1.15rem; line-height: 1.55; }
.log { list-style: none; margin: 0; padding: 0; }
.log li { margin: 0 0 2.4rem; }
.entry {
  font-family: Besley, "Iowan Old Style", Palatino, serif;
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  margin: 0;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
@media (max-width: 640px) {
  .prose p, .entry, .when { max-width: 100%; }
}
@media (min-width: 800px) {
  body.sheet main { padding: 10vh 8vw 12vh; }
}
@media (forced-colors: active) {
  html, body { background: Canvas; color: CanvasText; }
}
