:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #202e30;
  --muted: #596563;
  --accent: #21645c;
  --line: #dcded5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
::selection { background: #d6e6dc; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #113e37; text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
p { margin: 0 0 16px; }
.wrap { max-width: 1080px; margin-inline: auto; padding-inline: 40px; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding-top: 27px; padding-bottom: 27px; border-bottom: 1px solid var(--line); }
.wordmark { font-family: Georgia, "Times New Roman", serif; font-size: 22px; font-weight: normal; letter-spacing: -.4px; color: var(--ink); text-decoration: none; }
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); font-size: 15px; text-decoration: none; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 65px; padding-block: 75px 65px; align-items: start; }
.eyebrow { color: var(--accent); font-size: 13px; letter-spacing: 1px; font-weight: 650; text-transform: uppercase; margin-bottom: 14px; }
h1 { margin: 0 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 5vw, 54px); line-height: 1.12; font-weight: normal; letter-spacing: -1.5px; }
.lead { font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.4; letter-spacing: -.3px; margin-bottom: 25px; }
.intro-copy > p:not(.eyebrow):not(.lead) { font-size: 17px; color: var(--muted); }
.contact a { overflow-wrap: anywhere; }
.intro-copy p a { text-decoration: none; }
.intro-copy p a:hover { text-decoration: underline; }
.portrait { margin: 31px 0 0; }
.portrait img { display: block; width: 100%; height: auto; max-height: 325px; object-fit: contain; border-radius: 3px; background: #eeede6; }
.portrait figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; letter-spacing: .5px; margin-top: 13px; }
.location-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.profile-links { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 9px; }
.profile-links a { font-size: 15px; font-weight: 650; text-decoration: none; border-bottom: 1px solid #a8bcb0; padding-bottom: 3px; }
.profile-links span { padding-left: 8px; }
.section { padding-top: 29px; margin-bottom: 48px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: normal; line-height: 1.3; letter-spacing: -.6px; }
.section-note { font-size: 13px; color: var(--muted); letter-spacing: .3px; }
.research-note { color: var(--muted); font-size: 16px; margin-top: 10px; }
.paper { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; padding-block: 32px; border-bottom: 1px solid var(--line); }
.paper-teaser { display: block; position: relative; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 5px; text-decoration: none; }
.paper-teaser img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; padding: 8px; }
.paper-teaser span { display: block; padding: 5px 10px; border-top: 1px solid #eeeee8; font-size: 12px; text-align: right; color: var(--accent); }
.paper-teaser:hover { border-color: var(--accent); text-decoration: none; }
.paper:last-child { border-bottom: 0; padding-bottom: 0; }
.paper-label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 12px; }
.venue { display: inline-block; color: var(--accent); background: #e7ede5; font-size: 13px; font-weight: 700; letter-spacing: .5px; padding: 3px 9px; border-radius: 3px; }
.venue.review { color: #6d624a; background: #efece3; }
.paper-topic { font-size: 13px; color: var(--muted); line-height: 1.6; }
h3 { margin: 0 0 9px; font-size: 19px; font-weight: 650; line-height: 1.5; letter-spacing: -.15px; }
h3 a { color: inherit; text-decoration: none; }
.authors { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 10px; }
.authors strong { color: var(--ink); font-weight: 650; }
.abstract { font-size: 16px; color: var(--muted); margin-bottom: 10px; line-height: 1.8; }
.paper-links { display: flex; flex-wrap: wrap; gap: 20px; }
.paper-links a { font-size: 15px; font-weight: 600; text-decoration: none; }
.paper-links a:hover { text-decoration: underline; }
.paper-links span { font-size: 11px; margin-left: 3px; }
.timeline-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0; margin-top: 28px; }
.dates { color: var(--muted); font-size: 14px; padding-top: 4px; }
.dates span { display: block; font-size: 13px; margin-top: 5px; }
.timeline-item h3 { margin-bottom: 2px; }
.timeline-item p:not(.dates) { font-size: 16px; color: var(--muted); margin-bottom: 6px; }
.timeline-item p.role { color: var(--ink); font-weight: 500; }
.timeline-item p.detail { font-size: 14px; font-style: italic; }
.site-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 23px 35px; font-size: 13px; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.skip-link { position: absolute; top: -100px; left: 20px; background: var(--paper); padding: 10px 15px; z-index: 10; }
.skip-link:focus { top: 10px; }
@media (max-width: 760px) {
  .wrap { padding-inline: 26px; }
  .intro { gap: 30px; grid-template-columns: minmax(0, 1fr) 155px; padding-block: 48px; }
  .eyebrow { letter-spacing: .6px; }
  .lead { font-size: 21px; }
  .paper { grid-template-columns: 1fr; gap: 20px; }
  .paper-teaser { width: 100%; max-width: 520px; justify-self: center; }
  .paper-teaser img { aspect-ratio: 2 / 1; }
  .timeline-item { grid-template-columns: 175px minmax(0, 1fr); }
  .section-note { max-width: 160px; text-align: right; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 22px; }
  .site-header { padding-block: 18px; flex-direction: column; align-items: flex-start; gap: 12px; }
  nav { gap: 17px; }
  nav a { font-size: 14px; }
  .intro { grid-template-columns: 1fr; gap: 25px; padding-top: 35px; }
  .portrait { grid-row: 1; margin: 0; width: 115px; }
  .portrait img { max-height: 150px; }
  .portrait figcaption { font-size: 12px; margin-top: 8px; }
  h1 { font-size: 42px; }
  .section-heading { align-items: start; }
  h2 { font-size: 27px; }
  .section-note { max-width: 120px; }
  .paper { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
  .paper-label { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
  .paper-topic { display: inline; margin: 0; max-width: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .dates { margin-bottom: 0; }
  .dates span { display: inline; margin-left: 9px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Project page ---- */
.project { max-width: 880px; padding-block: 55px 45px; }
.project .eyebrow { margin-bottom: 10px; }
.project h1 { font-size: clamp(30px, 4.2vw, 42px); letter-spacing: -1px; margin: 0 0 16px; }
.project .authors { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 18px; }
.project .authors strong { color: var(--ink); font-weight: 650; }
.project-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 6px; }
.project-links { display: flex; flex-wrap: wrap; gap: 18px; }
.project-links a { font-size: 15px; font-weight: 650; text-decoration: none; border-bottom: 1px solid #a8bcb0; padding-bottom: 3px; }
.project-links span { font-size: 11px; margin-left: 3px; color: var(--muted); }
.project figure { margin: 28px 0 6px; }
.project figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 5px; background: white; padding: 8px; box-sizing: border-box; }
.project figure figcaption { color: var(--muted); font-size: 13px; text-align: center; margin-top: 10px; line-height: 1.6; }
.project h2 { font-size: 24px; letter-spacing: -.4px; margin: 44px 0 12px; }
.project p { font-size: 16.5px; line-height: 1.8; margin-bottom: 14px; }
.project p a { text-decoration: none; }
.project p a:hover { text-decoration: underline; }
.embed { position: relative; padding-top: 56.25%; margin: 16px 0 8px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: white; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
pre.bibtex { background: #efeee8; border: 1px solid var(--line); border-radius: 5px; padding: 14px 18px; font-size: 13px; line-height: 1.6; overflow-x: auto; }
.project .back { margin-top: 42px; font-size: 15px; }
.project .back a { text-decoration: none; font-weight: 600; }
@media (max-width: 560px) {
  .project { padding-block: 38px 35px; }
  .project-badges { gap: 10px 16px; }
}
@media print {
  body { background: white; font-size: 11pt; }
  .wrap { max-width: none; padding-inline: 0; }
  nav, .skip-link, .site-footer a { display: none; }
  .intro { padding-block: 25px; }
  .paper, .timeline-item { break-inside: avoid; }
  a { color: inherit; }
}
