:root {
  --bg: #fdfdfc;
  --fg: #1c1c1e;
  --muted: #6b6b70;
  --rule: #d9d9dc;
  --accent: #1f4e79;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141517;
    --fg: #e4e4e6;
    --muted: #9a9aa0;
    --rule: #3a3b3f;
    --accent: #9cc3f5;
  }
}
* { box-sizing: border-box; }
/* 16.5px at the default setting, but it follows the reader's font size. All rem values below refer to it. */
html { font-size: 103.125%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-kerning: normal;
}
main { max-width: 42rem; margin: 0 auto; padding: 80px 24px 56px; }
p, li { text-wrap: pretty; hyphens: manual; }
h1 { text-wrap: balance; }
.nw { white-space: nowrap; }
/* system serifs for the name and titles: no web font download */
h1, div.t { font-family: Charter, "Bitstream Charter", "Iowan Old Style", "Sitka Text", Cambria, Georgia, serif; }

a { color: inherit; text-decoration: underline; text-decoration-color: var(--muted); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .12s, text-decoration-color .12s; }
a:hover, a:focus-visible { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: color-mix(in srgb, var(--accent) 25%, var(--bg)); color: var(--fg); }

header { display: flex; gap: 28px; align-items: center; }
header img { width: 120px; height: 120px; border-radius: 50%; flex: none; object-fit: cover; box-shadow: 0 0 0 1px var(--rule); }
h1 { margin: 0; font-size: 1.75rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
.role { margin: 8px 0 10px; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .9375rem; }
.links > li { margin: 0; }

section { margin-top: 64px; }
h2 { margin: 0 0 18px; font-size: .75rem; font-weight: 600; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
h3 { margin: 36px 0 14px; font-size: 1rem; font-weight: 600; line-height: 1.4; }
h2 + h3 { margin-top: 0; }
p { margin: 0 0 1em; }
p:last-child, li:last-child { margin-bottom: 0; }

ul { list-style: none; padding: 0; margin: 0; }
li { margin-bottom: 20px; }
.rows li { display: grid; grid-template-columns: 5.25rem 1fr; gap: 0 20px; align-items: baseline; }
.news li { margin-bottom: 10px; }
.d, .m { color: var(--muted); font-size: .875rem; }
.d { font-variant-numeric: tabular-nums; }
.t { font-weight: 500; line-height: 1.3; }
div.t { font-weight: 400; font-size: 1.0625rem; }
.m { margin-top: 4px; line-height: 1.5; }
.m + .m { margin-top: 1px; }
.m.s { margin-top: 6px; }
/* the things a reader scans for stay in the text colour: own name, venue, links */
.m b { font-weight: 500; }
.m b, .m i, .m a, .role a { color: var(--fg); }
.m a:hover, .m a:focus-visible, .role a:hover, .role a:focus-visible { color: var(--accent); }

footer { margin-top: 72px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--muted); }

@media (max-width: 560px) {
  main { padding: 40px 20px 40px; }
  /* narrow screens: let glued phrases wrap so no line can exceed the column */
  .nw { white-space: normal; }
  p, li { text-wrap: wrap; }
  main { overflow-wrap: break-word; }
  header { flex-direction: column; text-align: center; gap: 16px; }
  header img { width: 104px; height: 104px; }
  .links { justify-content: center; }
  section { margin-top: 48px; }
  .rows li { grid-template-columns: 1fr; }
  .rows li, .news li { margin-bottom: 16px; }
  footer { margin-top: 56px; }
}
