:root {
  --bg: #f7f5f0;
  --fg: #1f1d1a;
  --muted: #6f6a63;
  --rule: #e3dfd7;
  --accent: #b4553d;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #191816; --fg: #e9e6e0; --muted: #9c968d; --rule: #2e2b27; --accent: #d98b72; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 4rem 1rem 5rem;
  background: var(--bg);
  color: var(--fg);
  font: 18px/1.6 "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Charter, Georgia, serif;
}
main { max-width: 700px; margin: 0 auto; }
h1 { font-size: 1.6rem; font-weight: 400; margin: 0 0 .3rem; letter-spacing: -.01em; line-height: 1.25; }
h2 {
  font: 600 .74rem/1.4 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
  margin: 3rem 0 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--rule);
}
h3 { font-size: 1.15rem; font-weight: 600; margin: 2rem 0 .6rem; }
p { margin: 0 0 1.1rem; }
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--rule); }
a:hover { text-decoration-color: var(--accent); color: var(--accent); }
.sans { font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; }
.head { display: flex; gap: 1.25rem; align-items: flex-start; margin-bottom: 2.25rem; }
.head img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; margin-top: .2rem; }
.sub { color: var(--muted); margin-bottom: .8rem; }
.affil { margin: 1.6rem 0 0; }
.affil .row { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.affil .set { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.7rem; }
.affil .lbl { flex: none; width: 6.5rem; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.affil img { display: block; }
.affil .dark-only { display: none; }
@media (prefers-color-scheme: dark) {
  .affil .light-only { display: none; }
  .affil .dark-only { display: block; }
  .affil img.inv { filter: invert(1) hue-rotate(180deg); }
  .affil img.wht { filter: invert(1); }
  .affil img.sil { filter: brightness(0) invert(1) opacity(.85); }
}
.links { font-size: .9rem; }
.links a { margin-right: 1.1rem; }
ol, ul { padding: 0; margin: 0; list-style: none; }
li { margin: 0 0 1.5rem; }
.pub { display: flex; gap: 1.1rem; align-items: flex-start; }
.pub .media { flex: none; width: 272px; aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; background: var(--rule); margin-top: .35rem; }
.pub .media video, .pub .media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pub .t { display: block; }
.pub .g { display: block; color: var(--muted); font-size: .95rem; margin: .1rem 0 .25rem; }
.pub .m { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.pub .m a { margin-right: .7rem; }
.post-list li { display: flex; gap: 1rem; align-items: baseline; margin-bottom: .75rem; }
.post-list .d { flex: none; width: 6.5rem; color: var(--muted); font-size: .82rem; }
.proj b { font-weight: 600; }
.proj span { color: var(--muted); }
.wide { width: 100%; aspect-ratio: 16 / 9; border-radius: 3px; overflow: hidden; background: var(--rule); margin: 0 0 1rem; }
.wide video, .wide img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { margin: 1.75rem 0; }
figcaption { color: var(--muted); font-size: .82rem; line-height: 1.5; margin-top: .5rem; }
.crumb { font-size: .85rem; color: var(--muted); margin-bottom: 2.5rem; }
.date { color: var(--muted); font-size: .85rem; margin-bottom: 2rem; }
.post h1 { font-size: 2rem; margin-bottom: .5rem; }
.post p { margin-bottom: 1.25rem; }
blockquote { margin: 1.5rem 0; padding: 0 0 0 1rem; border-left: 2px solid var(--accent); color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: .82rem; margin: 1.25rem 0 1.5rem; }
th, td { text-align: left; padding: .4rem .5rem .4rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; color: var(--muted); }
td.n, th.n { text-align: right; }
footer { margin-top: 4rem; color: var(--muted); font-size: .82rem; }
@media (max-width: 640px) {
  body { font-size: 17px; }
  .affil .row { flex-direction: column; align-items: flex-start; gap: .7rem; }
  .pub { flex-direction: column; gap: .5rem; }
  .pub .media { width: 100%; }
  .post-list li { flex-direction: column; gap: .1rem; }
}
