/* One narrow column, like a contents page. Type only, no images, one rule. */
:root {
  --paper: #ffffff;
  --ink: #1a1a1a;
  --quiet: #74716c;
  --rule: #e4e2de;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--serif);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
main { max-width: 36rem; margin: 0 auto; padding-block: 4.5rem 5rem; }
a { color: inherit; text-decoration: none; }
a:hover h2, a:focus-visible h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.name { font-size: 1.05rem; }
nav { display: flex; gap: 1.25rem; color: var(--quiet); font-size: .9rem; }
nav a:hover { color: var(--ink); }

ol { list-style: none; margin: 4rem 0 0; padding: 0; display: grid; gap: 2.5rem; }
h2 { font-size: 1.5rem; line-height: 1.25; font-weight: 400; margin: 0; text-wrap: balance; }
.by { margin: .5rem 0 0; font-size: .9rem; }
.work { margin: .5rem 0 0; color: var(--quiet); font-size: .9rem; line-height: 1.5; }
.work i, .author { color: var(--ink); }

footer { margin-top: 5rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--quiet); font-size: .85rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Article */
.essay { margin-top: 4rem; }
.essay h1 { font-size: 2.25rem; line-height: 1.15; font-weight: 400; margin: 0; text-wrap: balance; }
.essay .work { margin-top: .75rem; font-size: 1.05rem; line-height: 1.5; }
.essay .body { margin-top: 2.5rem; font-size: 1.125rem; line-height: 1.7; }
.essay .body p { margin: 0 0 1.25em; }
.essay .body h2 { font-size: 1.25rem; margin: 2.5rem 0 1rem; }
.essay blockquote { margin: 0 0 1.25em; padding-left: 1.25rem; border-left: 1px solid var(--rule); color: var(--quiet); }

figure { margin: 2.5rem 0; }
figure img { display: block; width: 100%; height: auto; }
figcaption { margin-top: .75rem; color: var(--quiet); font-size: .85rem; line-height: 1.5; }
figcaption span { color: var(--ink); }


/* About */
.about { margin-top: 4rem; }
.lede { margin: 0; font-size: 1.5rem; line-height: 1.35; text-wrap: balance; }
.about h2 { margin: 4rem 0 0; font-size: .9rem; color: var(--quiet); }
.people { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 3rem; }
.people li { display: grid; gap: 1rem; }
.people img { display: block; width: 12rem; height: 12rem; object-fit: cover; object-position: 50% 25%; filter: grayscale(1); }
.people p { margin: 0; color: var(--quiet); font-size: .95rem; }
.people .person { margin-bottom: .25rem; color: var(--ink); font-size: 1.05rem; }
.people .person span { margin-left: .5rem; color: var(--quiet); font-size: .9rem; }
