:root {
  --bg: #fdfcfa;
  --ink: #1c2431;
  --muted: #5b6472;
  --accent: #14586e;
  --accent-soft: #eaf2f5;
  --rule: #d9d5cd;
  --card: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181f;
    --ink: #e8e6e1;
    --muted: #9aa3b0;
    --accent: #6db3c9;
    --accent-soft: #1d2833;
    --rule: #2c3440;
    --card: #1a1f28;
  }
}
* { box-sizing: border-box; }
html { color-scheme: light dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 Charter, "Bitstream Charter", Georgia, Cambria, serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem 4rem; }
header.site {
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
}
header.site .wrap {
  padding-top: 1.4rem; padding-bottom: 1.1rem;
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem 1.5rem;
}
.brand { font-weight: bold; font-size: 1.05rem; letter-spacing: 0.01em; color: var(--ink); }
nav a {
  margin-left: 1.1rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted);
}
nav a.here { color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
nav a:hover { color: var(--accent); text-decoration: none; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 0.4rem; }
h2 {
  font-size: 1.16rem; margin: 2.4rem 0 0.7rem;
  padding-bottom: 0.3rem; border-bottom: 1px solid var(--rule);
}
h3 { font-size: 1rem; margin: 1.4rem 0 0.3rem; }
p { margin: 0.65rem 0; }
.lede { font-size: 1.02em; }
.muted { color: var(--muted); }
.sans { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.92em; }
.hero { display: flex; gap: 2rem; align-items: flex-start; }
.hero .text { flex: 1 1 24rem; }
.portrait {
  width: 150px; height: 150px; border-radius: 50%;
  object-fit: cover; flex: 0 0 auto;
  border: 1px solid var(--rule);
}
.role { color: var(--muted); margin: 0 0 1rem; font-size: 0.98rem; }
ul.plain { list-style: none; padding: 0; margin: 0.5rem 0; }
ul.plain li { margin: 0.55rem 0; padding-left: 1.1rem; text-indent: -1.1rem; }
ul.news li { margin: 0.7rem 0; }
.date {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.8rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-right: 0.5rem; white-space: nowrap;
}
.links { margin-top: 1.2rem; }
.links a {
  display: inline-block; margin: 0 0.9rem 0.4rem 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.88rem;
}
.paper {
  background: var(--card); border: 1px solid var(--rule);
  border-radius: 8px; padding: 1rem 1.2rem; margin: 1rem 0;
}
.paper .title { font-weight: bold; }
.paper .meta { color: var(--muted); font-size: 0.92em; margin-top: 0.15rem; }
.paper p { margin: 0.5rem 0 0; font-size: 0.96em; }
.pub { margin: 0.8rem 0; padding-left: 1.4rem; text-indent: -1.4rem; }
.pub .venue { font-style: italic; }
.course { margin: 0.8rem 0; }
.course b { }
footer {
  border-top: 1px solid var(--rule); margin-top: 3rem; padding-top: 1rem;
  color: var(--muted); font-size: 0.85rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (max-width: 40rem) {
  .hero { flex-direction: column-reverse; }
  .portrait { width: 120px; height: 120px; }
}
