:root {
  --bg: #fcfbf8;
  --text: #1e1b18;
  --muted: #655f58;
  --line: #e6e0d8;
  --link: #214e8b;
  --max-width: 900px;
  --body-font: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display-font: "Newsreader", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--link);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.14em;
}

a:hover {
  color: #173f74;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  width: min(var(--max-width), calc(100% - 44px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.brand {
  min-width: 0;
}

.brand-link {
  color: inherit;
  text-decoration: none;
}

.brand-link:hover {
  color: inherit;
  text-decoration: none;
}

h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(3.75rem, 8vw, 5.4rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-optical-sizing: auto;
}

.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

main {
  padding-top: 28px;
}

section {
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}

section:last-of-type {
  border-bottom: 0;
}

h2 {
  margin: 0 0 20px;
  font-family: var(--display-font);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  font-optical-sizing: auto;
}

p {
  margin: 0 0 16px;
  max-width: 38rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 164px;
  gap: 34px;
  align-items: start;
}

.portrait {
  width: 164px;
}

.portrait img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.link-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.link-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--muted);
  text-decoration: none;
}

.link-row a:hover {
  color: var(--text);
  text-decoration: none;
}

.link-row svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-note {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 6px;
}

.section-footnote {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: italic;
}

.news-list,
.paper-list {
  margin: 0;
  padding-left: 18px;
}

.paper-list {
  list-style: none;
  padding-left: 0;
}

.paper-list li {
  margin-bottom: 28px;
}

.news-list li {
  margin-bottom: 14px;
  max-width: 44rem;
}

.paper-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.paper-title {
  font-family: var(--display-font);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.paper-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.48rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.paper-authors,
.paper-links {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.paper-authors {
  margin-top: 2px;
}

.paper-author-self {
  color: var(--text);
  font-weight: 700;
}

.paper-note-mark {
  color: var(--link);
  font-size: 0.72em;
  font-weight: 700;
  line-height: 0;
  vertical-align: super;
}

.paper-note-mark:not(.paper-note-mark-key) {
  margin-left: 0.08em;
}

.paper-note-mark-key {
  margin-right: 0.2em;
}

.paper-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 9px;
}

.paper-venue,
.paper-year {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.paper-venue {
  padding: 0.34rem 0.82rem;
  background: rgba(33, 78, 139, 0.08);
  border: 1px solid rgba(33, 78, 139, 0.14);
  color: var(--link);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}

.paper-year {
  padding: 0.34rem 0.7rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.paper-links {
  margin-top: 3px;
}

.paper-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.paper-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
  text-decoration: none;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.paper-links a:hover {
  color: var(--text);
  border-color: #d1c7bb;
  background: #ffffff;
  text-decoration: none;
}

.paper-links svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.date {
  color: var(--muted);
  font-weight: 600;
}

.footer {
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

@media (max-width: 680px) {
  .page {
    width: min(var(--max-width), calc(100% - 28px));
    padding-top: 28px;
    padding-bottom: 56px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portrait {
    order: -1;
    width: 124px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .nav {
    font-size: 0.76rem;
  }

  h2 {
    font-size: clamp(1.45rem, 8vw, 1.9rem);
  }

  .paper-title {
    font-size: 1.16rem;
  }

  .paper-meta {
    gap: 8px;
  }

  .paper-venue,
  .paper-year {
    min-height: 30px;
  }
}
