@font-face { font-family: Lato; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/lato-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: Lato; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: Lato; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lato-latin-700-normal.woff2") format("woff2"); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: #212121;
  font: 400 14.67px/1.38 Lato, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
a { color: #212121; text-decoration: underline; }
a:hover { color: #000; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

.site-header { background: #000; color: #fff; position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; min-height: 56px; padding: 6px 24px; }
.brand { display: flex; align-items: center; gap: 20px; color: #fff; text-decoration: none; }
.brand .logo { height: 28px; width: auto; }
.brand-name { font-size: 18.67px; font-weight: 400; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.nav li { position: relative; }
.nav a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 300; display: inline-block; padding: 8px 0; }
.nav a[aria-current="page"] { font-weight: 700; }
.nav a:hover { color: #fff; opacity: .8; }
.nav .has-sub > a::after { content: " \25BE"; font-size: 11px; }
.nav .sub { display: none; position: absolute; left: -12px; top: 100%; min-width: 160px; margin: 0; padding: 6px 0; list-style: none; background: #000; }
.nav .sub a { padding: 6px 12px; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: block; }

main { max-width: 1020px; margin: 0 auto; padding: 40px 16px 48px; }
h1 { font-size: 38.67px; font-weight: 300; color: #37474f; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 18.67px; font-weight: 400; margin: 28px 0 6px; }
h3 { font-size: 16px; font-weight: 400; margin: 20px 0 6px; }
p { margin: 0 0 10px; }

.profile { display: grid; grid-template-columns: 230px 1fr; gap: 24px 48px; }
.profile-side { display: flex; flex-direction: column; gap: 28px; }
.profile-side p { margin: 0; text-align: center; }
.profile-side img { display: block; margin: 0 auto 6px; }
.icons { list-style: none; margin: 6px 0 14px; padding: 0; display: flex; gap: 10px; align-items: center; }
.icons img { display: block; }

main table { width: 100%; border-collapse: collapse; }
main thead { display: none; }
main td { padding: 3px 0; vertical-align: top; }
main td:first-child { white-space: nowrap; padding-right: 16px; width: 1%; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; align-items: center; margin: 36px 0; }
.row h2, .row p { margin: 0; }

.page-collaborations ul { list-style: none; margin: 0 0 10px; padding: 0; }
.page-collaborations li { padding: 1px 0; }

.pubs { padding-left: 2.6em; margin: 0 0 16px; }
.pubs li { margin-bottom: 6px; }
.page-publications h2 { text-decoration: underline; }

.img-missing { display: flex; align-items: center; justify-content: center; min-height: 120px; width: 100%; border: 1px dashed #bdbdbd; color: #9e9e9e; font-size: 12px; }
.brand .img-missing { min-height: 28px; width: 60px; border-color: #555; color: #888; font-size: 10px; }

.site-footer { border-top: 1px solid #e0e0e0; padding: 20px 0 32px; text-align: center; }
.site-footer .icons { justify-content: center; }
.funders { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 32px; }
.funders img { height: 48px; width: auto; display: block; }

@media (max-width: 720px) {
  .header-row { padding: 6px 16px; }
  .profile, .row { grid-template-columns: 1fr; }
  .profile-side { max-width: 260px; margin: 0 auto; }
  h1 { font-size: 30px; }
  main td:first-child { white-space: normal; width: 28%; }
}

.title-icon { display: inline; height: 1em; width: auto; vertical-align: -0.12em; margin-right: 0.35em; }
.screenshot { display: block; border: 1px solid #e0e0e0; border-radius: 4px; margin: 16px 0 8px; }
.nav .sub { min-width: 200px; }
.nav .sub a { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav-icon { flex: none; border-radius: 3px; }
.page-projects .row img { border: 1px solid #e0e0e0; border-radius: 4px; }
.page-projects .row .title-icon { border: 0; border-radius: 0; }
.nav .has-sub:last-child .sub { left: auto; right: -12px; }
