:root {
  --text: #1a1a1a;
  --muted: #555;
  --rule: #d9d2c5;
  --accent: #7a1f23;
  --bg: #fdfcf9;
  --link: #7a1f23;
  --max: 820px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Iowan Old Style", "Charter", "Palatino Linotype", Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; border-bottom: 1px solid rgba(122,31,35,0.25); }
a:hover { border-bottom-color: var(--link); }

h1, h2, h3 { font-weight: 600; line-height: 1.2; }
h1 { font-size: 2.2rem; margin: 0 0 0.4rem 0; }
h2 { font-size: 1.5rem; margin: 2.2rem 0 0.6rem; padding-bottom: 0.3rem; border-bottom: 1px solid var(--rule); }
h3 { font-size: 1.1rem; margin: 1.6rem 0 0.4rem; color: var(--muted); }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 1rem;
}

.hero-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.portrait {
  width: 160px;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0;
}

.hero-text { flex: 1; min-width: 280px; }

.title { font-size: 1.15rem; color: var(--accent); margin: 0 0 0.2rem; font-style: italic; }
.subtitle { color: var(--muted); margin: 0 0 1rem; }

.contact {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}
.contact li { margin: 0.15rem 0; }
.contact .lbl {
  display: inline-block;
  width: 5rem;
  color: var(--muted);
  font-variant: small-caps;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.address {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.anchor-nav {
  margin: 2rem 0 0;
  padding: 0.6rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.2rem;
  font-size: 0.95rem;
}
.anchor-nav a {
  border-bottom: none;
  color: var(--muted);
}
.anchor-nav a:hover { color: var(--link); }

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
}

section { margin-top: 1.5rem; }

ul, ol { padding-left: 1.4rem; }
li { margin: 0.3rem 0; }

.lede { color: var(--muted); font-size: 0.95rem; }

.pubs { padding-left: 1.6rem; }
.pubs li { margin: 0.7rem 0; font-size: 0.95rem; }
.pubs .ptitle { font-weight: 600; }
.pubs .kind {
  display: inline-block;
  font-size: 0.7rem;
  font-variant: small-caps;
  letter-spacing: 0.05em;
  padding: 0.05rem 0.4rem;
  margin-right: 0.4rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--muted);
  vertical-align: 1px;
}
.pubs .kind.journal { background: #f1ecde; }
.pubs .kind.conference { background: #fdfcf9; }
.pubs .doi {
  font-size: 0.8rem;
  font-variant: small-caps;
  margin-left: 0.3rem;
}

.students { list-style: none; padding-left: 0; }
.students li {
  padding: 0.5rem 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 0.95rem;
}
.students li:last-child { border-bottom: none; }
.students .note { color: var(--muted); font-size: 0.85rem; }
.students .now { color: var(--muted); font-size: 0.88rem; margin-top: 0.15rem; }

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--rule);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.uw-logo { max-width: 220px; height: auto; opacity: 0.85; margin-bottom: 0.6rem; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .portrait { width: 120px; }
  h1 { font-size: 1.8rem; }
  .contact .lbl { width: 4.2rem; }
}
