:root {
  --bg: #fcfcfa;
  --ink: #1c2422;
  --muted: #5a6562;
  --rule: #dfe3df;
  --link: #1d4238;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 6rem) 1.5rem;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.95 'Noto Serif TC', 'Songti TC', 'PMingLiU', serif;
}

h1, h2, p, ul { margin: 0; padding: 0; }

ul { list-style: none; }

a { color: var(--link); text-underline-offset: .25em; text-decoration-thickness: 1px; }

:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

header { display: flex; align-items: center; gap: 1.25rem; }

.photo { flex: none; border-radius: 50%; }

h1 { font-size: 2rem; font-weight: 700; line-height: 1.4; }

.role { margin-top: .5rem; color: var(--muted); line-height: 1.8; }

section { margin-top: 3.5rem; }

h2 { margin-bottom: 1rem; font-size: 1.0625rem; font-weight: 700; }

section > p + p { margin-top: 1rem; }

.works li + li { margin-top: 1.25rem; }

.title { line-height: 1.75; }

.meta { font-size: .9375rem; color: var(--muted); line-height: 1.75; }

.rows li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  line-height: 1.75;
  padding-block: .3rem;
}

.when { flex: none; color: var(--muted); font-size: .9375rem; }
