@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  src: local("Lato Italic"), local("Lato-Italic"),
    url("https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2")
      format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  src: local("Lato Italic"), local("Lato-Italic"),
    url("https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2")
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191-2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 700;
  src: local("Lato Bold Italic"), local("Lato-BoldItalic"),
    url("https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2")
      format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 700;
  src: local("Lato Bold Italic"), local("Lato-BoldItalic"),
    url("https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2")
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191-2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: local("Lato Regular"), local("Lato-Regular"),
    url("https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2")
      format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: local("Lato Regular"), local("Lato-Regular"),
    url("https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2")
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191-2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  src: local("Lato Bold"), local("Lato-Bold"),
    url("https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2")
      format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  src: local("Lato Bold"), local("Lato-Bold"),
    url("https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2")
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191-2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: swap;
}

:root {
  --accent: #1772d0;
  --accent-hover: #f09228;
  --text: #202124;
  --muted: #60646c;
  --line: #e5e7eb;
  --highlight: #ffffd0;
  --soft: #f7f8fa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Lato", Verdana, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--accent-hover);
}

p {
  margin: 0 0 0.85rem;
}

h1,
h2,
h3 {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.1rem;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

h1 span {
  color: var(--muted);
  font-size: 1.15rem;
  white-space: nowrap;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: 22px;
  font-weight: 400;
}

h3 {
  margin: 1rem 0 0.65rem;
  font-size: 1rem;
}

.page {
  width: min(100% - 32px, 800px);
  margin: 0 auto;
}

section {
  padding: 16px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 63fr) minmax(180px, 37fr);
  align-items: center;
  gap: 0;
  padding-top: 20px;
}

.intro-copy,
.portrait-wrap {
  padding: 2.5%;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  margin-top: 1.1rem;
  text-align: center;
}

.profile-links span {
  color: #a0a4aa;
}

.portrait-wrap {
  padding: 2.5%;
}

.portrait {
  display: block;
  width: 100%;
  max-width: 245px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.news-list {
  margin: 0;
  padding-left: 1.25rem;
}

.news-list li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 4px;
  margin-bottom: 0.45rem;
}

.news-list time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.section-heading p {
  color: var(--muted);
  font-size: 0.85rem;
}

.publication-list {
  display: grid;
  gap: 0;
}

.publication {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 0;
}

.pub-year {
  display: none;
}

.publication > div:last-child {
  padding: 10px 16px;
}

.paper-title {
  font-family: "Lato", Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
}

.authors,
.venue,
.paper-links {
  margin: 0.12rem 0 0;
}

.authors {
  color: #34373c;
}

.venue {
  color: var(--muted);
  font-style: italic;
}

.paper-links {
  font-size: 0.9rem;
}

.award {
  display: inline-block;
  margin-left: 0.55em;
  color: #bf3b3b;
  font-style: normal;
  font-weight: 700;
}

.award::before {
  content: "· ";
}

.timeline {
  display: grid;
  gap: 3px;
}

.timeline article {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 20px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.timeline article:last-child {
  border-bottom: 0;
}

.timeline time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.timeline h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.timeline.compact article {
  padding: 8px 0;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.two-column ul {
  margin: 0;
  padding-left: 1.2rem;
}

.two-column li {
  margin-bottom: 0.4rem;
}

footer {
  margin-top: 18px;
  padding: 24px 16px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

footer p {
  margin: 0;
}

.cv-page {
  background: var(--soft);
}

.cv {
  width: min(100% - 32px, 900px);
  margin: 24px auto;
  padding: 30px 42px;
  background: #fff;
  box-shadow: 0 8px 32px rgb(15 23 42 / 8%);
}

.cv-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 16px 20px;
  border-bottom: 2px solid var(--text);
}

.cv-header h1 {
  margin-bottom: 0.3rem;
  text-align: left;
}

.cv-header p {
  color: var(--muted);
}

.cv-header nav {
  text-align: right;
}

.cv section {
  padding-top: 20px;
  padding-bottom: 6px;
}

.cv section h2 {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.cv-entry {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 0.75rem;
}

.cv-entry time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.cv-entry p {
  margin: 0;
}

.cv-publications {
  margin: 0;
  padding-left: 2rem;
}

.cv-publications li {
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}

@media (max-width: 680px) {
  .page {
    width: min(100% - 20px, 800px);
  }

  section {
    padding-right: 8px;
    padding-left: 8px;
  }

  .intro {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .intro-copy {
    order: 2;
  }

  .portrait-wrap {
    order: 1;
  }

  .portrait {
    max-width: 180px;
  }

  .section-heading {
    display: block;
  }

  .news-list li {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .publication {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cv {
    width: 100%;
    margin: 0;
    padding: 20px 12px;
    box-shadow: none;
  }

  .cv-header {
    display: block;
  }

  .cv-header nav {
    margin-top: 1rem;
    text-align: left;
  }

  .cv-entry {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media print {
  body {
    font-size: 11pt;
  }

  .page {
    width: 100%;
  }

  a {
    color: inherit;
  }

  .publication {
    break-inside: avoid;
  }

  .cv-page {
    background: #fff;
  }

  .cv {
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }

  .cv footer {
    display: none;
  }
}
