:root {
  --accent: #b509ac;
  --hover: #b509ac;
  --text: #000;
  --muted: #828282;
  --line: rgba(0, 0, 0, 0.1);
  --paper: #f7f7f7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--hover); text-decoration: underline; }

.page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

nav { display: flex; gap: 22px; }
nav a { color: var(--muted); font-size: 0.96rem; }
nav a.active, nav a:hover { color: var(--accent); }

main { padding: 26px 0 64px; }

.about { font-size: 1rem; }
.about p:first-of-type { margin-top: 0; }
.clearfix::after { content: ""; display: table; clear: both; }

.profile {
  float: right;
  width: 255px;
  margin: -70px 0 12px 38px;
}

.profile img {
  display: block;
  width: 100%;
  height: auto;
}

.profile-info {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.about ul { padding-left: 1.3rem; }

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-top: 24px;
  font-size: 0.95rem;
}

h1 {
  margin: 0 0 24px;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.page-name {
  margin: 0 0 22px;
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.page-name strong { font-weight: 700; }

h2 {
  margin: 26px 0 20px;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h2.year {
  margin-top: 46px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.12rem;
}

.heading-link { font-size: 0.82rem; font-weight: 400; }

.news-list > div {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 18px;
  margin: 10px 0;
}

.news-list time {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.publication-list { display: grid; gap: 28px; }

.publication {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 24px;
  align-items: start;
}

.publication--text { grid-template-columns: 1fr; }

.paper-image {
  position: relative;
  height: 120px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.paper-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.venue {
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.pub-title {
  color: var(--text);
  font-size: 1.01rem;
  font-weight: 650;
  line-height: 1.38;
}

.pub-authors {
  margin-top: 5px;
  color: #4a4a4a;
  font-size: 0.88rem;
  line-height: 1.45;
}

.pub-note {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
}

.pub-links {
  margin-top: 6px;
  font-size: 0.86rem;
}

.intro { max-width: 720px; color: var(--muted); }

footer {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  .page { width: min(100% - 28px, 920px); }
  .site-header { min-height: 48px; padding: 12px 0; }
  nav { gap: 13px; }
  main { padding-top: 22px; }
  .profile { float: none; width: min(285px, 100%); margin: 0 0 28px; }
  .publication { grid-template-columns: 1fr; gap: 12px; }
  .paper-image { width: min(100%, 330px); height: 180px; }
  .news-list > div { grid-template-columns: 1fr; gap: 1px; margin-bottom: 16px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; }
}

@media (max-width: 470px) {
  nav { gap: 11px; }
}
