:root { --bg: #fff; --fg: #222; --dim: #777; --link: #0645ad; --line: #ddd; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #111; --fg: #ddd; --dim: #888; --link: #8ab4f8; --line: #333; }
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg);
  font: 14px/1.65 ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
}
main { flex: 1; width: 100%; max-width: 42rem; margin: 0 auto; padding: 1.5rem 16px 2rem; }
h1 { font-size: 1em; margin: 0 0 1.5rem; font-weight: 400; }
h2 { font-size: 1.05rem; margin: 1.6rem 0 .2rem; }
a { color: var(--link); }
.comma-list { list-style: none; padding: 0; margin: 0; }
.comma-list li { display: inline; }
.comma-list li:not(:last-child)::after { content: ", "; }
footer { padding: 1.5rem 16px; text-align: center; color: var(--dim); font-size: .85rem; }
.me { border-radius: 22px; object-fit: cover; flex: none; }
.me.side { float: right; margin: .3rem 0 .5rem 1.5rem; }
.comma-list { clear: both; }
.centered { text-align: center; }
header { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
header p { margin: 0; }
header p { line-height: 1.4; }
header .prompt { color: var(--dim); }
header .prompt:not(:first-child) { margin-top: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cv { padding-top: 1.5rem; font-size: 13px; line-height: 1.4; }
.cv .nav { display: flex; justify-content: space-between; margin: 0 0 1.75rem; font-size: .9em; }
.cv .nav a { color: var(--dim); text-decoration: none; }
.cv .nav a:hover { color: var(--link); text-decoration: underline; }
.cv h2 { font-size: .8rem; font-weight: 400; margin: 1.9rem 0 .6rem; padding-bottom: .2rem; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.cv h2:first-of-type { margin-top: 0; }
.cv .head { display: flex; justify-content: space-between; align-items: baseline; gap: 0 1rem; flex-wrap: wrap; margin: 1.1rem 0 .1rem; }
.cv h3 { font-size: 1em; font-weight: 400; margin: 0; }
.cv .deg { display: inline-block; min-width: 2.6em; font-weight: 600; }
.cv .meta { margin: 0 0 0 auto; color: var(--dim); font-size: .92em; }
.cv p { margin: .3rem 0; }
.cv ul { margin: .3rem 0; padding-left: 1.1rem; }
.cv li { margin: .15rem 0; }
.cv li em { font-style: normal; }
.cv .by { color: var(--dim); }
.cv.projects { font-size: inherit; line-height: inherit; }
.cv.projects .head { margin: 1.2rem 0 0; }
.cv.projects .head + p { margin-top: 0; }
