@charset "UTF-8";

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --text: #25272b;
  --muted: #62676f;
  --link: #2356a3;
  --line: #dedfe2;
  --section-gap: 26px;
  --entry-gap: 20px;
  --text-gap: 7px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.5;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; background: #fff; color: var(--text); font-size: .875rem; }
::selection { background: #dfeafb; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #163965; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
p { margin: 0 0 var(--text-gap); }
h1, h2, h3 { color: #191c21; font-weight: 600; line-height: 1.3; }
h1 { margin: 0 0 6px; font-size: clamp(1.5rem, 4.5vw, 1.875rem); letter-spacing: -.035em; }
h2 { margin: 0 0 14px; padding-bottom: 5px; border-bottom: 1px solid var(--line); font-size: 1.125rem; letter-spacing: -.025em; }
h3 { margin: 0; font-size: 1rem; }
header, section, article { min-width: 0; overflow-wrap: anywhere; }
strong { font-weight: 600; }
.page { width: min(1024px, calc(100% - 64px)); margin: 0 auto; padding: 24px 0 20px; }
nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 22px; font-size: .875rem; }
nav a { color: var(--muted); text-decoration: none; padding-block: 4px; }
nav a:hover { color: var(--text); text-decoration: underline; }
header { display: flow-root; margin-bottom: var(--section-gap); }
.profile-header { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: start; }
.profile-header:not(:has(.profile-photo)) { display: block; }
.profile-copy { min-width: 0; }
.profile-photo { display: block; width: 120px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; margin: 0; border-radius: 3px; }
.intro { color: var(--muted); margin-bottom: 12px; }
.contact-links, .links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .875rem; }
.contact-links a, .links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; min-height: 24px; }
.contact-links a span, .links a span { text-decoration: underline; text-underline-offset: 3px; }
.link-icon { flex: 0 0 16px; width: 16px; height: 16px; }
.contact-links { margin-top: 10px; }
.contact-links a { overflow-wrap: anywhere; }
section { margin-bottom: var(--section-gap); }
.entry-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 3px 16px; margin-bottom: 4px; }
.entry-heading p { margin: 0; }
.date, .venue { font-size: .8125rem; }
.date { color: var(--muted); }
.venue { color: #315581; }
.muted { color: var(--muted); font-size: .875rem; }
.entry, .publication { margin-bottom: var(--entry-gap); }
.entry:last-child, .publication:last-child { margin-bottom: 0; }
.has-media { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: start; }
.entry-content { min-width: 0; }
.identity.has-logo { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; }
.identity-content { min-width: 0; }
.identity-content > p:last-child { margin-bottom: 0; }
.experience .identity { align-items: start; }
.experience-body.with-media { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 18px; align-items: start; }
.experience-body > * { min-width: 0; }
.experience-body .entry-media { margin-top: 8px; }
ul.experience-details { margin: 8px 0 0; padding-left: 0; list-style: none; }
.experience-details li { position: relative; padding-left: 16px; margin-bottom: 6px; }
.experience-details li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: #969ba3; }
.experience-details li:not(:last-child)::after { content: ""; position: absolute; left: 2px; top: calc(.65em + 5px); bottom: calc(-6px - .65em); width: 1px; background: var(--line); }
.experience-details li:last-child { margin-bottom: 0; }
.highlight-logo { display: inline-block; width: 24px; height: 24px; object-fit: contain; vertical-align: middle; margin-right: 7px; }
.highlight-emphasis, .highlight-emphasis a { color: #805b16; }
.highlight-emphasis a:hover { color: #5c400d; }
.experience .links { margin-top: 8px; margin-bottom: 0; }
.organization-mark { display: block; width: 64px; height: 64px; overflow: hidden; }
.organization-logo { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--logo-scale, 1)); }
.entry-media { margin: 0; width: 100%; min-width: 0; }
.entry-media a { display: block; }
.entry-media img, .entry-media video { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; }
.entry-media video { aspect-ratio: 16 / 9; background: #171717; }
.entry-media figcaption { margin-top: 5px; font-size: .75rem; color: var(--muted); line-height: 1.4; }
.role { color: var(--muted); margin-bottom: 4px; font-size: .875rem; }
.lab { font-size: .875rem; margin-bottom: 6px; }
.paper-title { margin-bottom: 5px; font-weight: 500; }
.authors { color: var(--muted); font-size: .8125rem; line-height: 1.5; margin-bottom: 7px; }
.authors strong { color: var(--text); }
.publication .links { margin-top: 7px; margin-bottom: 0; }
ul { padding-left: 22px; margin: 7px 0 0; }
li { padding-left: 2px; margin-bottom: 4px; }
li::marker { color: #969ba3; }
.project { margin-bottom: 16px; }
.project p:last-child { margin-bottom: 0; }
footer { border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: .75rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
footer p { margin-bottom: 8px; }
footer a { color: var(--muted); }
sup { font-size: .7em; }
sup a { padding-inline: 3px; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 8px 12px; background: #fff; border: 1px solid var(--link); }
.skip-link:focus { top: 12px; }

@media (max-width: 760px) {
  .experience-body.with-media { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .experience-body .entry-media { max-width: 240px; margin-top: 0; }
  .has-media { grid-template-columns: 145px minmax(0, 1fr); gap: 16px; }
  .has-media .entry-heading { display: block; }
  .has-media .entry-heading .date, .has-media .entry-heading .venue { margin-top: 4px; }
}

@media (max-width: 600px) {
  :root { --section-gap: 22px; --entry-gap: 18px; }
  .page { width: calc(100% - 32px); padding-top: 16px; }
  .profile-header { grid-template-columns: 88px minmax(0, 1fr); gap: 0 16px; }
  .profile-header:has(.profile-photo) .profile-copy { display: contents; }
  .profile-photo { width: 88px; grid-column: 1; grid-row: 1 / 3; }
  .profile-header h1 { grid-column: 2; grid-row: 1; align-self: end; }
  .profile-header .intro { grid-column: 2; grid-row: 2; align-self: start; margin-bottom: 0; }
  .profile-description { grid-column: 1 / -1; margin-top: 12px; }
  .profile-header .contact-links { grid-column: 1 / -1; }
  nav { gap: 6px 16px; margin-bottom: 18px; }
  h2 { margin-bottom: 12px; }
  .entry-heading { display: block; }
  .identity.has-logo { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: start; }
  .organization-mark { width: 48px; height: 48px; }
  .entry-heading .date, .entry-heading .venue { margin-top: 4px; }
  .contact-links { gap: 6px 18px; }
  .contact-links a:first-child { flex-basis: 100%; }
  .has-media { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .entry-media { max-width: 320px; }
  .entry-media img { max-height: 180px; object-position: left; }
  ul { padding-left: 20px; }
}

@media print {
  :root { --text: #000; --muted: #444; --link: #000; font-size: 10pt; }
  .page { width: 100%; padding: 0; }
  nav, .skip-link, .footer-bottom a { display: none; }
  header, section { margin-bottom: 20pt; }
  h1 { font-size: 20pt; }
  h2 { font-size: 13pt; margin-bottom: 12pt; }
  h2, h3 { break-after: avoid; }
  .entry, .publication { break-inside: avoid; margin-bottom: 14pt; }
  a { text-decoration: none; }
  .entry-heading { display: flex; }
  .has-media { grid-template-columns: 130px minmax(0, 1fr); gap: 16px; }
  .entry-media video { display: none; }
}
