/* latin-ext */
@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;
}
/* latin */
@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, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@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;
}
/* latin */
@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, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@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;
}
/* latin */
@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, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@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;
}
/* latin */
@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, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

h2 {
  margin: 0;
  font-weight: normal;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
}

.papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.name {
  padding-top: 20px;
  margin: 0;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
}

.one {
  position: relative;
  max-width: 230px;
}

.two {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.one img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 40px 16px;
  background: radial-gradient(circle at top left, #e0f2fe 0, #f9fafb 50%, #e5e7eb 100%);
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

body > table {
  background: #ffffff;
  border-radius: 18px;
  box-shadow:
    0 20px 55px rgba(148, 163, 184, 0.45),
    0 0 0 1px rgba(209, 213, 219, 0.7);
  padding: 28px 32px;
}

@media (max-width: 768px) {
  body {
    padding: 20px 12px;
  }

  body > table {
    padding: 20px 16px;
  }
}

p {
  line-height: 1.7;
  color: #4b5563;
}

h2 {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 4px;
}

#news h2,
#publications h2 {
  font-size: 18px;
}

h2::after {
  content: "";
  display: block;
  margin-top: 10px;
  width: 52px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #a855f7, #f97316);
}

.name {
  font-size: 34px;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #111827;
}

.tagline {
  margin: 6px 0 18px;
  text-align: center;
  font-size: 15px;
  color: #6b7280;
}

.links {
  margin-top: 18px;
}

.papertitle {
  font-size: 16px;
  line-height: 1.5;
  color: #111827;
}

td {
  vertical-align: top;
}

tr.pub-row {
  transition:
    background-color 0.18s ease-out,
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

tr.pub-row:hover {
  background: rgba(249, 250, 251, 0.96);
  transform: translateY(-2px);
  box-shadow:
    0 16px 35px rgba(148, 163, 184, 0.45),
    0 0 0 1px rgba(191, 219, 254, 0.7);
}

.pub-body .venue {
  color: #6b7280;
}

/* keep "[Project page]" etc. from breaking mid-label, but never the title */
.pub-body > a {
  white-space: nowrap;
}

.pub-body .papertitle {
  white-space: normal;
}

img[alt="profile photo"] {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.8);
  box-shadow:
    0 18px 38px rgba(148, 163, 184, 0.65),
    0 0 0 1px rgba(148, 163, 184, 0.55);
}

/* top nav */
.site-header {
  max-width: 800px;
  margin: 0 auto 16px;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-title {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  color: #6b7280;
}

.site-nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.site-nav a {
  font-size: 15px;
  color: #4b5563;
}

.site-nav a:hover {
  color: #f09228;
}

@media (max-width: 600px) {
  .site-header-inner {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .site-nav {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
}

.news-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #4b5563;
}

.news-list li {
  margin-bottom: 4px;
}

.news-date {
  font-weight: 600;
  color: #111827;
  margin-right: 6px;
}

@media (max-width: 768px) {
  .bio-cell,
  .photo-cell,
  .pub-thumb,
  .pub-body {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* stack the intro with the photo on top */
  .about-row {
    display: flex;
    flex-direction: column;
  }

  .photo-cell {
    order: -1;
  }

  .pub-thumb {
    padding-bottom: 0 !important;
  }

  .one {
    margin: 0 auto;
  }

  .name {
    font-size: 26px;
  }

  img[alt="profile photo"] {
    max-width: 200px;
    margin: 0 auto;
  }
}