:root { color-scheme: light; --ink: #202b36; --muted: #566373; --accent: #225b79; --line: #dfe5e9; --soft: #f4f7f8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #4582a4; outline-offset: 5px; border-radius: 2px; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 16px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.2; letter-spacing: -.025em; }
h1 { font-size: clamp(38px, 5vw, 54px); margin: 0 0 20px; }
h2 { font-size: 31px; margin: 0 0 30px; }
h3 { font-size: 18px; line-height: 1.45; margin: 0 0 10px; }
.container { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: #fffffffa; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; }
.site-name { font-size: 18px; font-weight: 650; color: var(--ink); text-decoration: none; white-space: nowrap; }
nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; padding-block: 9px; }
nav a:hover { color: var(--accent); text-decoration: underline; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 20; padding: 12px 18px; background: #fff; }
.skip-link:focus { top: 12px; }
.section { position: relative; padding: 56px 0; border-bottom: 1px solid var(--line); }
.about { display: grid; grid-template-columns: 1fr 220px; gap: 56px; align-items: start; padding-top: 64px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.intro { font-size: 21px; line-height: 1.5; margin-bottom: 20px; }
.portrait { width: 220px; height: 240px; object-fit: cover; object-position: center; border-radius: 3px; margin-top: 8px; }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; font-size: 14px; }
.email { overflow-wrap: anywhere; }
.button { display: inline-flex; align-items: center; gap: 14px; padding: 10px 16px; border: 1px solid var(--accent); border-radius: 3px; text-decoration: none; font-weight: 600; }
.button:hover { background: var(--soft); }
.file-type { font-size: 10px; font-weight: 500; letter-spacing: .08em; }
.subheading { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin: 30px 0 16px; }
.publication { margin-bottom: 26px; max-width: 920px; }
.publication p { margin-bottom: 5px; }
.publication-title { font-size: 18px; line-height: 1.5; font-weight: 600; }
.publication strong { font-weight: 600; }
.publication p:not(.publication-title) { font-size: 14px; }
.venue, .date, .role, .project-meta { color: var(--muted); }
.resource-links { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 5px; }
.submitted { border-left: 3px solid #a7b8c2; padding-left: 18px; }
.status { display: inline-block; margin-left: 8px; padding: 0 7px; background: var(--soft); color: var(--muted); font-size: 11px; border-radius: 3px; }
.compact .publication-title { font-size: 16px; }
.compact:last-child { margin-bottom: 0; }
.experience-item { margin-bottom: 30px; max-width: 920px; }
.entry-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.entry-heading h3 { margin-bottom: 4px; }
.date { font-size: 13px; white-space: nowrap; margin-bottom: 4px; }
.role { font-size: 14px; margin-bottom: 10px; }
.experience-item > a { font-size: 14px; }
.industry-heading { padding-top: 12px; }
.last-entry { margin-bottom: 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.project-card { text-decoration: none; color: var(--ink); }
.project-card img { width: 100%; aspect-ratio: 1.6; object-fit: contain; background: var(--soft); margin-bottom: 20px; border: 1px solid var(--line); }
.project-card h3 { font-size: 20px; margin-bottom: 5px; }
.project-card p { font-size: 14px; margin-bottom: 10px; }
.project-card .project-meta { font-size: 12px; }
.project-link { color: var(--accent); font-size: 14px; }
.project-card:hover h3, .project-card:hover .project-link { text-decoration: underline; text-underline-offset: 4px; }
.activity-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; font-size: 14px; }
.activity-grid h3 { font-size: 16px; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { margin-bottom: 16px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 28px; color: var(--muted); font-size: 12px; }
.anchor-alias { position: absolute; top: 0; scroll-margin-top: 100px; }
.article { max-width: 840px; padding-top: 48px; padding-bottom: 56px; }
.breadcrumb { font-size: 13px; margin-bottom: 32px; }
.article h1 { font-size: clamp(32px, 4vw, 44px); max-width: 800px; }
.article h2 { font-size: 27px; margin: 40px 0 18px; }
.article h3 { margin-top: 26px; }
.article .hero-image { width: 100%; max-height: 440px; object-fit: contain; background: var(--soft); margin: 32px 0; border: 1px solid var(--line); }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article figure { margin: 26px 0; }
.article figure img { max-height: 600px; margin: auto; object-fit: contain; }
figcaption { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 10px; }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.article .image-pair figure { margin: 12px 0; }
.article .image-pair img { width: 100%; max-height: 420px; object-fit: contain; }
.research-note { padding: 18px 22px; background: var(--soft); border-left: 3px solid #a7b8c2; }
.research-note p:last-child { margin-bottom: 0; }
.back-link { display: inline-block; margin-top: 36px; }
@media (max-width: 800px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 14px 8px; gap: 4px; }
  nav { gap: 4px 20px; }
  .about { grid-template-columns: 1fr 160px; gap: 30px; }
  .portrait { width: 160px; height: 180px; }
  .project-grid { gap: 20px; }
  .activity-grid { gap: 32px; }
  html { scroll-padding-top: 130px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 40px); }
  .site-header { position: static; }
  .header-inner { padding-block: 16px 10px; }
  nav { gap: 0 17px; }
  nav a { font-size: 12px; padding-block: 8px; }
  .section { padding-block: 38px; }
  .about { display: flex; flex-direction: column-reverse; gap: 24px; }
  .portrait { width: 104px; height: 112px; margin-top: 0; }
  .intro { font-size: 19px; }
  h2 { font-size: 28px; margin-bottom: 24px; }
  .contact-links { gap: 16px; }
  .entry-heading { display: block; }
  .date { margin-bottom: 7px; }
  .project-grid, .activity-grid, .image-pair { grid-template-columns: 1fr; gap: 32px; }
  .project-card img { aspect-ratio: 1.8; }
  .publication-title { font-size: 17px; }
  .status { margin-left: 0; }
  .article { padding-top: 28px; }
  .anchor-alias { scroll-margin-top: 20px; }
  html { scroll-padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  .container { width: 100%; }
  .section { padding-block: 20px; }
  .publication, .experience-item, .project-card { break-inside: avoid; }
}
