:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #171614;
  --muted: #77736c;
  font-family: serif;
  font-size: 16px;
}

* { box-sizing: border-box; }

html,
body {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.crow {
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: auto;
  height: clamp(3.1rem, 5.2vw, 4.5rem);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.home,
.page {
  position: relative;
  z-index: 2;
}

.home {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
}

.intro {
  position: absolute;
  top: 44%;
  left: 50vw;
  width: min(calc(100vw - 2rem), 60rem);
  text-align: center;
  transform: translate(-50%, -50%);
}

.name {
  display: block;
  width: 100%;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: inherit;
  text-align: center;
}

.tagline {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.4rem;
}

.separator {
  color: var(--muted);
  user-select: none;
}

.page {
  width: min(100% - 3rem, 58rem);
  min-height: 100vh;
  margin: 0;
  padding: 2.5rem 0 5rem 3rem;
}

.page > div {
  max-width: 550px;
}

.crumbs { margin: 0 0 1.75rem; }
.lede { margin: 0 0 0.5rem; }

.empty-list {
  min-height: 3.4rem;
  margin: 0;
  padding-left: 2rem;
  line-height: 1.15;
}

.empty-list li {
  min-height: 1.15rem;
  margin: 0;
}

.empty-list a,
.article-page a {
  color: #0000ee;
}

.article-page {
  width: min(calc(100% - 3rem), 604px);
}

.article-page .crumbs {
  margin-bottom: 0.75rem;
}

.article-date {
  margin: 0 0 1rem;
}

.article-content h2 {
  margin: 1.2rem 0 0.45rem;
  font-family: inherit;
  font-size: inherit;
  font-weight: bold;
  line-height: inherit;
}

.article-content p {
  margin: 0 0 0.75rem;
}

.article-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 620px) {
  :root { font-size: 16px; }

  .intro {
    top: 46%;
  }

  .page {
    width: calc(100% - 2.5rem);
    padding: 2rem 0 4rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .crow {
    top: 1.25rem;
    right: 1.25rem;
    left: auto;
    transform: none !important;
  }
}
