body {
  margin: 0 auto;
  padding: 2rem 16px 4rem;
  max-width: 56rem;
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: #111;
  background: #fff;
}

a { color: inherit; }
h1 { font-size: 1.5rem; font-weight: 600; margin: 0 0 0.25rem; }
h2 { font-size: 1rem; font-weight: 600; margin: 2.5rem 0 0.5rem; }
p { margin: 0 0 1rem; }
.quiet { color: #666; }

/* header on every page but the landing */
header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 2.5rem; }
header a { text-decoration: none; }
header .name { font-weight: 600; }
header .links { display: flex; gap: 1.25rem; }
header a:hover, header a[aria-current] { text-decoration: underline; }

/* the landing map */
.landing { margin: 0; padding: 0; max-width: none; height: 100vh; overflow: hidden; cursor: pointer; }
#intro { position: fixed; inset: 0; text-align: center; padding: 20vh 16px 0; cursor: pointer; }
#intro h1 { font-weight: normal; }
#intro p span { margin: 0 0.6rem; }
#map { position: fixed; inset: 0; cursor: pointer; }
#map svg { position: absolute; width: 100%; height: 100%; }
#map path { fill: none; stroke: #ddd; }
#map path.hot { stroke: #999; }
#map circle { fill: #bbb; }
#map a { position: absolute; left: 0; top: 0; padding: 2px 6px; text-decoration: none; white-space: nowrap; }
#map a.name { font-weight: 600; white-space: pre; text-align: center; line-height: 1.2; }
#map a.strong { font-weight: 600; letter-spacing: 0.05em; }
#map a.hot, #map a:hover, #map a:focus-visible { text-decoration: underline; }

/* the grid on the index */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 2.5rem 1.5rem; margin: 3rem 0; }
.grid a { text-decoration: none; }
.grid a:hover .title { text-decoration: underline; }
.title { display: block; margin-top: 0.6rem; }
.line { display: block; color: #666; font-size: 0.9rem; }

/* images and looping videos keep one shape everywhere */
.media { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #f2f2f2; }

/* project pages */
article, nav { max-width: 40rem; }
article .media { margin: 1.5rem 0 2rem; }
.figure { margin: 2rem 0; }
.figure img, .figure video { width: 100%; display: block; }
.figure figcaption { color: #666; font-size: 0.9rem; margin-top: 0.4rem; }
nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; }
