@font-face {
  font-family: "Source Sans 3";
  src: url("assets/source-sans-3-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #24212a;
  --muted: #615b65;
  --plum: #543868;
  --rule: #dedbe0;
  --wash: #f8f7f9;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: white;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 17px; line-height: 1.5; }
[hidden] { display: none !important; }
a { color: var(--plum); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: #321144; text-decoration: underline; }
:focus-visible { outline: 3px solid #785090; outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { text-wrap: pretty; line-height: 1.18; }
h2 { font-size: 32px; font-weight: 650; letter-spacing: -.035em; }
h3 { font-size: 24px; letter-spacing: -.022em; font-weight: 630; }
.wrap { width: min(864px, calc(100% - 64px)); margin-inline: auto; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { clip-path: none; background: white; width: auto; height: auto; padding: 8px; top: 10px; left: 10px; z-index: 2; }
.navigation { display: flex; gap: 26px; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.navigation a { text-decoration: none; font-size: 15px; font-weight: 580; color: var(--muted); }
.navigation a:hover { color: var(--plum); text-decoration: underline; }
.intro { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 42px; padding-block: 44px 48px; }
.profile { display: grid; justify-items: center; gap: 10px; }
.portrait { width: 200px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; transform: scale(1.75); transform-origin: 50% 42%; }
.contact { position: relative; display: flex; align-items: center; justify-content: center; gap: 3px; }
.contact a, .contact button { width: 41px; height: 44px; display: grid; place-items: center; color: #666; background: transparent; padding: 0; border: 0; text-decoration: none; border-radius: 4px; }
.contact :is(a, button):is(:hover, :focus-visible) { color: var(--plum); }
.contact svg { width: 24px; height: 24px; fill: currentColor; }
.contact a span { font: 700 22px/1 Arial, sans-serif; }
.email-feedback { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); z-index: 1; font-size: 14px; white-space: nowrap; }
.email-feedback:not(:empty) { background: var(--plum); color: white; padding: 4px 10px; border-radius: 4px; }
h1 { font-size: clamp(47px, 5vw, 61px); font-weight: 640; letter-spacing: -.06em; line-height: 1.04; }
.bio p { margin-top: 16px; }
.bio a { font-weight: 650; text-decoration: none; }
.bio .advisor { white-space: nowrap; }
.papers { border-top: 1px solid var(--rule); padding-block: 30px 65px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.filters button { padding: 5px 14px; border: 1px solid #d7d2da; border-radius: 20px; background: white; color: var(--muted); font-size: 15px; line-height: 1.45; }
.filters button:hover { border-color: #795a88; color: var(--plum); }
.filters [aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: white; }
.filters [aria-pressed="true"]:hover { color: white; }
.publication-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 13px; }
.publication-list li { min-width: 0; padding: 18px 22px; border: 1px solid var(--rule); border-radius: 6px; }
.paper-overview { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,28%); column-gap: 24px; align-items: center; }
.paper-figure { display: grid; justify-items: center; align-content: center; gap: 10px; min-width: 0; }
.paper-figure a { display: flex; justify-content: center; max-width: 100%; cursor: zoom-in; }
.paper-figure img { width: auto; height: auto; max-height: 160px; object-fit: contain; }
.publication-list h3 { font-size: 21px; }
.publication-list h3 a { color: var(--ink); text-decoration: none; }
.publication-list h3 a:hover { color: var(--plum); text-decoration: underline; }
.authors { margin-top: 5px; color: var(--muted); line-height: 1.4; font-size: 16px; }
.authors strong { color: #4f265e; font-weight: 700; }
.venue { font-style: italic; font-size: 15.5px; margin-top: 5px; }
.pub-date { font-size: 14px; color: var(--muted); }
.paper-tools { display: flow-root; margin-top: 10px; }
.paper-links { display: flex; flex-wrap: wrap; align-items: baseline; float: left; gap: 8px; margin-right: 8px; }
.paper-links a, .citation summary, .citation-toolbar button { display: inline-block; padding: 2px 9px; border: 1px solid #a393ac; border-radius: 3px; background: white; color: var(--plum); line-height: 1.45; font-size: 13px; text-decoration: none; font-weight: 600; cursor: pointer; }
.paper-links a:hover, .citation summary:hover, .citation-toolbar button:hover { background: #f4eff6; }
.citation { line-height: 1; }
.citation summary { vertical-align: top; list-style: none; }
.citation summary::-webkit-details-marker { display: none; }
.citation[open] summary { color: white; background: var(--plum); }
.citation-box { clear: both; margin-top: 8px; padding: 12px 14px; background: var(--wash); border: 1px solid var(--rule); border-radius: 4px; }
.citation-box pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.5; }
.citation-toolbar { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-bottom: 6px; color: var(--muted); font-size: 13px; line-height: 1.4; }
@media (max-width: 760px) {
  .intro { grid-template-columns: 175px minmax(0,1fr); gap: 26px; }
  .portrait { width: 170px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 38px); }
  .navigation { padding-block: 12px; gap: 22px; }
  .intro { grid-template-columns: 1fr; gap: 16px; padding-block: 26px 30px; }
  .profile { gap: 4px; }
  .portrait { width: 155px; }
  h2 { font-size: 29px; }
  .publication-list li { padding: 15px; }
  .paper-overview { grid-template-columns: minmax(0,1fr) 30%; grid-template-areas: "title title" "meta image"; gap: 7px 12px; }
  .paper-description { display: contents; }
  .paper-description h3 { grid-area: title; }
  .paper-meta { grid-area: meta; }
  .paper-meta .authors { margin-top: 0; }
  .paper-figure { grid-area: image; }
  .papers { padding-block: 26px 36px; }
}
