@font-face {
  font-family: "Lato";
  src: url("fonts/lato-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("fonts/lato-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --text: #222;
  --muted: #666;
  --accent: #245782;
}

* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
  font-family:
    "Lato",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
}
a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.container {
  width: min(800px, calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  background: #fff;
  padding: 12px;
}
.skip-link:focus {
  top: 8px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 28px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}
nav a {
  color: var(--muted);
}
nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}
main {
  flex: 1;
  padding-block: 40px 48px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 10px;
  font-weight: 600;
}
h2 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 14px;
}
p {
  margin-bottom: 16px;
}
strong,
b {
  font-weight: 600;
}
.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.about {
  display: flow-root;
}
.profile {
  float: right;
  width: 180px;
  max-width: 28%;
  margin: 0 0 24px 30px;
}
.profile img {
  display: block;
  width: 100%;
  height: auto;
}
.about h2:not(:first-of-type) {
  margin-top: 28px;
}
.about ul {
  padding-left: 22px;
  margin-bottom: 20px;
}
.about li {
  margin-bottom: 7px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 20px;
  font-size: 14px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  white-space: nowrap;
}
.social-links a:hover {
  color: var(--accent);
}
.contact-icon {
  display: block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.page-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
}
.page-heading h1 {
  margin-bottom: 8px;
}
.publication-note {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 32px;
}
.publication-year {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.year {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}
.paper-list {
  display: grid;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.paper {
  min-width: 0;
}
.paper h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 6px;
}
.paper h3 a {
  color: var(--text);
}
.paper h3 a:hover {
  color: var(--accent);
}
.authors {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}
.authors strong {
  color: var(--text);
  font-weight: 600;
}
sup {
  line-height: 0;
}
.paper-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  margin-top: 8px;
}
.paper-meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.paper-meta > span {
  display: inline-block;
}
.paper-meta > span + span::before {
  content: "·";
  margin-inline: 3px 7px;
}
.paper-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  font-size: 13px;
}
.paper-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  white-space: nowrap;
}
.resource-icon {
  display: block;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.site-footer {
  padding-block: 16px 28px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.site-footer p {
  margin: 0;
}
@media (max-width: 650px) {
  .container {
    width: calc(100% - 32px);
  }
  .header-inner {
    padding-block: 14px;
  }
  nav {
    gap: 20px;
  }
  main {
    padding-block: 32px 44px;
  }
  .profile {
    width: 150px;
    max-width: 32%;
    margin-left: 20px;
  }
  .publication-year {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }
  .paper-list {
    gap: 26px;
  }
}
@media (max-width: 420px) {
  .social-links {
    column-gap: 16px;
  }
  .profile {
    float: none;
    width: 120px;
    max-width: none;
    margin: 0 0 24px;
  }
}
@media print {
  .site-header,
  .site-footer,
  .skip-link {
    display: none;
  }
  .container {
    width: 100%;
  }
  main {
    padding: 0;
  }
  .paper {
    break-inside: avoid;
  }
}
