@font-face {
  font-family: "Playfair Display";
  src: url("playfair-display-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Social Icons";
  src: url("fontawesome-webfont.woff2") format("woff2");
  font-style: normal;
  font-weight: normal;
  font-display: block;
}
:root {
  color-scheme: light;
  --ink: #494e52;
  --blue: #2980b9;
  --rule: #f2f3f3;
  --muted: #767b7e;
  --body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: #fff; font-size: 16px; scroll-behavior: auto; }
body { margin: 0; color: var(--ink); font-family: var(--body-font); line-height: 1.5; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #1d618d; }
a:focus-visible, [role="link"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; border-radius: 2px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 20; background: #fff; padding: 10px 16px; }
.skip-link:focus { top: 10px; }
.layout { max-width: 925px; margin: 0 auto; padding: 80px 16px 0; display: grid; grid-template-columns: 23.72881356% minmax(0, 1fr); column-gap: 5.93220339%; align-items: start; }
.sidebar { position: sticky; top: 80px; max-height: calc(100dvh - 96px); overflow-y: auto; scrollbar-width: thin; }
.name { margin: 0; font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.563rem; line-height: 1.3; }
.alternate-name { white-space: nowrap; }
.portrait { display: block; width: 100%; max-width: 232px; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--rule); margin-bottom: 20px; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; transform: scale(1.6); transform-origin: 55% 75%; }
.social-links { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; color: #555; min-width: 29px; min-height: 32px; font-size: 1.8rem; line-height: 1; }
.social-link:hover { color: #000; }
.icon { font-family: "Social Icons"; font-style: normal; font-weight: normal; speak: never; }
.unavailable { cursor: default; }
.cv-row { margin-top: 15px; }
.cv-link { display: inline-flex; gap: 8px; align-items: center; font-size: .875rem; color: var(--ink); min-height: 30px; }
.cv-link .icon { font-size: 1rem; }
.cv-link.unavailable { color: var(--muted); }
.section-nav { margin-top: 25px; }
.section-nav ul { margin: 0; padding: 0; list-style: none; }
.section-nav li { margin-bottom: 8px; }
.section-nav a { display: flex; align-items: center; color: var(--ink); padding: .3em 0; min-height: 34px; transition: color .2s ease; }
.nav-indicator { width: 16px; height: 2px; flex: 0 0 auto; background: #ccc; margin-right: 12px; transition: width .2s ease, background-color .2s ease; }
.section-nav a.active, .section-nav a:hover { color: var(--blue); }
.section-nav a.active { font-weight: 600; }
.section-nav a.active .nav-indicator, .section-nav a:hover .nav-indicator { background: var(--blue); width: 24px; }
.content { min-width: 0; padding-right: 12.04819277%; }
.section { min-height: 360px; padding: 0 0 48px; scroll-margin-top: 24px; }
.section:focus { outline: none; }
.section h2 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 22px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); font-weight: 700; }
.section h3 { font-size: 1rem; font-weight: 600; margin: 0 0 12px; }
.about-section { min-height: 400px; }
.introduction { min-height: 48px; font-size: 1.0625rem; line-height: 1.7; }
.prose.introduction p { margin-bottom: 24px; }
.introduction p:last-child { margin-bottom: 0; }
.introduction a:hover { text-decoration: underline; text-underline-offset: 3px; }
.experience-group { margin-top: 28px; min-height: 70px; }
.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose img { max-width: 100%; height: auto; }
.prose a, .entry a { overflow-wrap: anywhere; }
.entry { margin: 0 0 30px; }
.entry.with-image { display: grid; grid-template-columns: 27% minmax(0, 1fr); gap: 16px; }
.entry img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.entry h3 { margin: 0 0 6px; font-weight: 700; }
.entry p { margin: 0 0 6px; }
.entry .entry-meta { font-size: .875rem; color: var(--muted); }
.entry-links { display: flex; flex-wrap: wrap; gap: 0 6px; }
.project-list .entry { margin: 0; padding-bottom: 24px; }
.project-list .entry + .entry { border-top: 1px solid var(--rule); padding-top: 24px; }
.project-list .entry h3 { font-size: 1.125rem; line-height: 1.5; margin-bottom: 10px; }
.project-list .entry p { line-height: 1.7; margin-bottom: 12px; }
.project-list .entry .project-technologies { font-size: .875rem; color: var(--muted); margin-bottom: 10px; }
.project-list .entry-links { gap: 8px 14px; }
.award-list { padding-left: 24px; margin-top: 0; }
.award-list li { margin-bottom: 12px; }
.career-list { list-style: none; padding: 0; margin: 0; }
.career-entry { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--rule); }
.career-entry:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.career-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: baseline; }
.section .career-heading h3 { margin: 0; font-size: 1rem; line-height: 1.5; font-weight: 700; }
.career-date { white-space: nowrap; font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.career-organization { margin: 5px 0 0; font-size: .9375rem; line-height: 1.6; }
.career-summary { margin: 8px 0 0; font-size: .9375rem; line-height: 1.65; }
.awards-section { min-height: calc(100dvh - 64px); }
.footer { color: var(--muted); font-size: .8125rem; padding: 20px 0 26px; }
.publication-list .entry h3 { font-size: 1.125rem; line-height: 1.5; margin-bottom: 8px; }
.publication-list .entry.with-image { grid-template-columns: 32% minmax(0, 1fr); gap: 24px; align-items: stretch; }
.publication-list .entry-image { display: block; position: relative; min-height: 0; margin: 0; padding: 0; overflow: hidden; border: 1px solid #e4e8ea; border-radius: 2px; background: #fff; }
.publication-list .entry-image:hover { border-color: #9bbdd3; }
.publication-list .entry-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border: 0; }
.publication-list .entry h3 a { overflow-wrap: normal; }
.publication-list .entry-meta { color: var(--ink); }
.publication-list .entry-links { margin-top: 12px; gap: 8px 14px; }
.paper-shell { max-width: 1040px; margin: 0 auto; padding: 36px 32px 24px; }
.paper-breadcrumb, .paper-footer { display: flex; justify-content: space-between; gap: 20px; font-size: .875rem; }
.paper-breadcrumb { padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.paper-header { max-width: 900px; margin: 56px auto 48px; text-align: center; }
.paper-status { color: var(--blue); font-size: .875rem; margin: 0 0 18px; }
.paper-header h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.3; font-weight: 700; text-wrap: balance; margin: 0 0 24px; }
.paper-authors { font-size: 1.125rem; margin: 0 0 24px; }
.paper-short-title { white-space: nowrap; }
.paper-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.paper-actions a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding: 8px 20px; border: 1px solid #b8d4e7; border-radius: 4px; }
.paper-actions a:hover { background: #f1f7fb; }
.paper-abstract { max-width: 780px; margin: 0 auto 48px; }
.paper-page h2 { font-size: 1.25rem; margin: 0 0 20px; }
.paper-abstract .prose { font-size: 1.0625rem; line-height: 1.75; text-align: justify; text-align-last: left; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; }
.paper-abstract .prose p:last-child { margin-bottom: 0; }
.paper-overview { margin: 0 0 36px; }
.paper-overview figure { margin: 0; }
.paper-overview img { display: block; width: 100%; height: auto; }
.paper-overview figcaption, .paper-note { font-size: .875rem; line-height: 1.6; color: var(--muted); }
.paper-overview figcaption { margin-top: 18px; }
.paper-note { max-width: 780px; margin: 0 auto 40px; }
.paper-footer { border-top: 1px solid var(--rule); padding-top: 24px; color: var(--muted); }
@media (max-width: 600px) {
  .career-heading { grid-template-columns: 1fr; gap: 3px; }
  .publication-list .entry.with-image { grid-template-columns: 1fr; gap: 18px; }
  .publication-list .entry-image { width: 100%; max-width: 360px; aspect-ratio: 6 / 5; }
  .paper-shell { padding: 24px 20px; }
  .paper-header { margin: 36px auto; }
  .paper-authors { font-size: 1rem; }
  .paper-abstract .prose { font-size: 1rem; line-height: 1.7; }
  .paper-footer { flex-wrap: wrap; }
}
@media (min-width: 1280px) { .layout { max-width: 1280px; } }
@media (max-width: 925px) {
  .layout { display: block; max-width: 760px; padding: 40px 24px 0; }
  .sidebar { position: static; max-height: none; overflow: visible; margin-bottom: 48px; }
  .name { font-size: 1.75rem; }
  .portrait { width: 160px; }
  .social-links { margin-top: 16px; gap: 16px; }
  .social-link { min-height: 44px; min-width: 32px; }
  .cv-row { margin-top: 6px; }
  .cv-link { min-height: 44px; }
  .section-nav { margin-top: 20px; }
  .section-nav ul { display: flex; flex-wrap: wrap; gap: 2px 24px; }
  .section-nav li { margin: 0; }
  .section-nav a { min-height: 44px; }
  .content { padding-right: 0; }
  .section { min-height: 300px; scroll-margin-top: 20px; }
  .about-section { min-height: 360px; }
  .awards-section { min-height: calc(100dvh - 64px); }
}
@media (max-width: 420px) {
  .layout { padding: 32px 20px 0; }
  .name { font-size: 1.563rem; }
  .section-nav ul { gap: 2px 20px; }
  .entry.with-image { grid-template-columns: 1fr; }
  .entry-image { max-width: 240px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .layout { display: block; padding: 0; }
  .sidebar { position: static; max-height: none; overflow: visible; }
  .section-nav, .skip-link { display: none; }
  .content { padding: 30px 0 0; }
  .section, .about-section, .awards-section { min-height: 0; }
}
