/* A restrained, single-column personal site. */
:root { color-scheme: light; --ink: #242424; --muted: #626262; --link: #245582; --rule: #dedede; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { max-width: 820px; margin: 0 auto; padding: 0 28px; color: var(--ink); background: #fff; font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
h1, h2, h3 { line-height: 1.3; color: #171717; }
h1 { font-size: 1.9rem; font-weight: 650; margin: 0 0 .55rem; }
h2 { font-size: 1.3rem; margin: 0 0 1rem; font-weight: 650; }
h3 { font-size: 1rem; margin: 1.2rem 0 .25rem; }
p { margin: .45rem 0 1rem; }
section { margin-top: 2.5rem; }
ul, ol { padding-left: 1.3rem; }
li { padding-left: .15rem; margin-bottom: .55rem; }
img { max-width: 100%; height: auto; }
.site-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; margin-bottom: 2.2rem; border-bottom: 1px solid var(--rule); }
.site-name { color: var(--ink); text-decoration: none; font-weight: 650; }
nav { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .93rem; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.profile { display: flex; align-items: flex-start; gap: 1.5rem; }
.profile img { width: 112px; height: 132px; object-fit: cover; flex: 0 0 auto; }
.profile h1 { margin-top: -.15rem; }
.role { color: var(--muted); margin: 0 0 .8rem; }
.contact-links { font-size: .92rem; }
.publication-list { padding-left: 0; list-style: none; }
.publication-list li { margin: 0 0 1.65rem; padding: 0; }
.publication-list p { margin: .2rem 0; }
.publication-title { font-weight: 600; }
.authors, .detail, .paper-links { font-size: .88rem; }
.authors, .detail { color: var(--muted); }
.authors strong { font-weight: 600; color: var(--ink); }
.paper-links { margin-top: .35rem !important; }
.writing-list, .project-list { list-style: none; padding: 0; }
.writing-list li, .project-list li { padding: 0; margin-bottom: 1.25rem; }
.writing-list p, .project-list p { margin: .35rem 0; }
.archive-note { padding-left: .9rem; border-left: 2px solid var(--rule); font-size: .94rem; }
footer { margin-top: 3.5rem; padding: 1.3rem 0 2rem; border-top: 1px solid var(--rule); font-size: .8rem; color: var(--muted); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; display: inline-block; padding: .5rem 0; }
[id] { scroll-margin-top: 1rem; }
.post-content { overflow-wrap: anywhere; }
.post-content h2, .post-content h3 { margin-top: 2rem; }
pre { overflow-x: auto; padding: 1rem; background: #f5f5f5; border: 1px solid var(--rule); }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }
blockquote { margin-left: 0; padding-left: 1rem; border-left: 2px solid var(--rule); color: var(--muted); }
table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
th, td { padding: .4rem .65rem; border-bottom: 1px solid var(--rule); text-align: left; }
@media (max-width: 560px) {
  body { padding: 0 20px; font-size: 15px; }
  .site-header { flex-wrap: wrap; gap: .55rem; margin-bottom: 1.7rem; }
  nav { gap: 1rem; }
  .profile { flex-direction: column; gap: 1rem; }
  .profile img { width: 92px; height: 108px; }
  h1 { font-size: 1.7rem; }
  .publication-title, .authors, .contact-links { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, footer, .skip-link { display: none; } body { max-width: none; padding: 0; font-size: 11pt; } section { break-inside: avoid; } }
