:root {
  --ink: #171717;
  --link: #204ecf;
  --line: #e2e2e2;
  --soft: #f7f7f7;
  --muted: #5d5d5d;
  --body-font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--body-font); font-size: 16px; line-height: 1.62; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }

.site-header { min-height: 132px; padding: 0 6%; }
.site-nav { display: flex; align-items: center; justify-content: space-between; max-width: 1080px; margin: 0 auto; padding-top: 71px; }
.site-title { color: var(--ink); font-size: 24px; font-weight: 700; line-height: 1; text-decoration: none; }
.site-nav nav { display: flex; gap: 28px; }
.site-nav nav a { color: var(--ink); font-size: 16px; text-decoration: none; }
.site-nav nav a:hover, .site-title:hover { color: var(--link); }

.content { width: min(620px, calc(100% - 48px)); margin: 20px auto 0; }
.section { margin-bottom: 42px; scroll-margin-top: 28px; }
.section h2 { margin: 0 0 26px; font-size: 16px; line-height: 1.25; font-weight: 700; }
.section h3 { margin: 0 0 27px; font-size: 16px; line-height: 1.4; font-weight: 700; }
.section p { margin: 0 0 14px; }

.about-row { display: grid; grid-template-columns: 92px 1fr; gap: 24px; align-items: start; }
.about-row p { margin-top: -4px; }
.portrait-placeholder { width: 92px; height: 92px; background: #fff; border: 1px solid #cecece; }
.contact { margin-top: 31px; }.contact p { line-height: 1.6; }

.research-entry { margin-bottom: 43px; }.research-entry h3 { margin-bottom: 25px; }
.research-figure { width: 100%; margin: 0 0 23px; }
.research-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.research-figure figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.related-work { color: var(--muted); }

.paper-list { margin: 0; padding-left: 22px; }.paper-list li { margin-bottom: 15px; padding-left: 4px; }.paper-list em { font-style: italic; }
.background-group { margin-bottom: 28px; }.background-group h3 { margin-bottom: 14px; }.background-group p { margin-bottom: 13px; }

.site-footer { display: flex; justify-content: space-between; width: min(1080px, calc(100% - 48px)); margin: 72px auto 32px; padding-top: 18px; color: #5f5f5f; border-top: 1px solid var(--line); font-size: 13px; }.site-footer a { color: #5f5f5f; }

@media (max-width: 650px) {
  body { font-size: 15px; }.site-header { min-height: 104px; padding: 0 24px; }.site-nav { padding-top: 43px; }.site-title { font-size: 22px; }.site-nav nav { gap: 16px; }.site-nav nav a { font-size: 14px; }.content { width: min(100% - 42px, 620px); margin-top: 32px; }.section { margin-bottom: 38px; }.about-row { grid-template-columns: 72px 1fr; gap: 18px; }.portrait-placeholder { width: 72px; height: 72px; }.site-footer { width: calc(100% - 42px); margin-top: 54px; }
}

@media (max-width: 430px) {
  .site-nav nav { gap: 12px; }.site-nav nav a { font-size: 13px; }.about-row { display: block; }.portrait-placeholder { margin-bottom: 18px; }
}
