:root {
  color-scheme: light;
  --page: #f6f5f1;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --muted: #898781;
  --rule: #e1e0d9;
  --head: #002d5d;
  --link: #1f63b8;
  --sans: "Avenir Next", "Avenir", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #0b121c; --ink: #eef1f5; --ink-2: #b6bfca; --muted: #808b9a;
    --rule: #1e2936; --head: #dbe6f4; --link: #6aa6ef;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0b121c; --ink: #eef1f5; --ink-2: #b6bfca; --muted: #808b9a;
  --rule: #1e2936; --head: #dbe6f4; --link: #6aa6ef;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }

/* header */
.intro { padding: 72px 0 40px; display: flex; gap: 32px; align-items: center; }
.intro > div { flex: 1; min-width: 0; }
.photo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; flex: none; }
h1 { margin: 0; color: var(--head); font-size: 2.3rem; line-height: 1.1; font-weight: 700; letter-spacing: -.01em; }
.role { margin: 8px 0 0; color: var(--ink-2); }
.links { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; font-weight: 500; }
@media (max-width: 600px) {
  .intro { padding-top: 40px; flex-direction: column-reverse; align-items: flex-start; gap: 20px; }
  .photo { width: 104px; height: 104px; }
  h1 { font-size: 1.9rem; }
}

/* sections */
section { border-top: 1px solid var(--rule); padding: 36px 0; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; font-weight: 500; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; font-weight: 700; color: var(--ink); }
.meta { margin: 2px 0 8px; font-size: 15px; color: var(--muted); }
.entry + .entry { margin-top: 28px; }
.entry p { color: var(--ink-2); }
.more { font-size: 15px; font-weight: 500; }

/* lists of citations, talks, awards */
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 12px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.list li:first-child { border-top: 0; padding-top: 0; }
.list li:last-child { padding-bottom: 0; }
.list .t { color: var(--ink); }
.list b { color: var(--ink); font-weight: 600; }
.list .when { display: block; font-size: 15px; color: var(--muted); }
.sub { font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 24px 0 8px; }
.sub:first-of-type { margin-top: 0; }

footer { padding: 0 0 56px; font-size: 14px; color: var(--muted); }
footer .wrap > div { border-top: 1px solid var(--rule); padding-top: 28px; }
