:root {
  --text: #181818;
  --muted: #5f5f5f;
  --line: #dedede;
  --link: #326a9c;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Lato, Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.46;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-container { width: min(1000px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 22px; }
.page-section { margin-bottom: 30px; }
.page-section h2 {
  margin: 0 0 14px;
  padding: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
}

.about-grid { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 28px; align-items: start; }
.profile-figure { width: 155px; margin: 0; }
.profile-photo {
  width: 155px;
  height: 190px;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 1px solid #d8d8d8;
}
.profile-figure figcaption {
  margin-top: 7px;
  color: #777;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
}
.about-copy h1 { margin: 0 0 9px; font-size: 24px; line-height: 1.2; font-weight: 600; }
.about-copy p { margin: 0 0 9px; }
.about-copy strong { font-weight: 600; }
.bio-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.bio-links a { white-space: nowrap; }

.news-year { display: grid; grid-template-columns: 52px 1fr; gap: 12px; margin: 0; }
.news-year time { color: var(--muted); white-space: nowrap; }
.news-year-items p { margin: 0 0 3px; }
.star-badge { display: inline-flex; vertical-align: -4px; margin: 0 2px; line-height: 1; }
.star-badge:hover { text-decoration: none; }
.star-badge img { display: block; width: auto; height: 18px; }

.publication-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: -2px 0 16px; }
.publication-filter button {
  margin: 0;
  padding: 4px 10px;
  border: 1px solid #d4d4d4;
  border-radius: 3px;
  background: #f8f8f8;
  color: #444;
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
}
.publication-filter button:hover { background: #ededed; }
.publication-filter button.active { border-color: var(--link); background: var(--link); color: #fff; }
.publication-filter button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.publication { margin-bottom: 16px; }
.publication[hidden] { display: none; }
.publication-type-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 17px 0 12px;
  color: #777;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.publication-type-heading:first-child { margin-top: 0; }
.publication-type-heading::after { content: ""; flex: 1; height: 1px; background: #e5e5e5; }
.publication h4 { margin: 0 0 2px; font-size: 14px; line-height: 1.35; font-weight: 600; }
.publication p { margin: 1px 0; font-size: 13px; line-height: 1.42; }
.authors { color: #333; }
.publication-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; }
.venue { color: var(--muted); }
.venue strong { color: var(--text); }
.award, .venue .award { color: #c62828; font-weight: 700; }
.paper-links { display: inline-flex; align-items: center; gap: 6px; }
.paper-links .star-badge { margin: 0; }

footer { padding-top: 11px; border-top: 1px solid var(--line); color: #888; font-size: 11px; }

@media (max-width: 680px) {
  .site-container { width: calc(100% - 28px); padding-top: 24px; }
  .page-section { margin-bottom: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 16px; }
  .profile-figure, .profile-photo { width: 130px; }
  .profile-photo { height: 160px; }
  .about-copy h1 { margin-top: 0; font-size: 22px; }
  .news-year { grid-template-columns: 46px 1fr; gap: 8px; }
  .publication { margin-bottom: 16px; }
}
