:root {
  color-scheme: light;
  --ink: #222326;
  --muted: #61646b;
  --subtle: #f5f3ef;
  --paper: #fffdfa;
  --line: #ded9cf;
  --accent: #2e6f73;
  --accent-dark: #184d51;
  --accent-soft: #dcebec;
  --link: #1f5fbf;
  --link-hover: #174a95;
  --warm: #9b5d35;
  --shadow: 0 18px 45px rgba(47, 43, 37, 0.08);
  font-family: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.62;
}

a {
  color: var(--link);
  font-weight: 600;
  text-decoration-color: rgba(27, 95, 184, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition:
    color 150ms ease,
    text-decoration-color 150ms ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  padding: 0 7vw;
  border-bottom: 1px solid rgba(222, 217, 207, 0.84);
  background: rgba(255, 253, 250, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
}

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

.nav a:hover {
  color: var(--accent-dark);
}

main {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(250px, 330px) 1fr;
  gap: 52px;
  align-items: start;
  padding: 58px 0 34px;
}

.profile-panel {
  padding: 0;
}

.portrait-wrap {
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--subtle);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  line-height: 1.18;
}

h3 {
  margin-bottom: 4px;
  font-size: 1.03rem;
  line-height: 1.35;
}

.role {
  margin-bottom: 16px;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.98rem;
  line-height: 1.45;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 4px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.86rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid rgba(49, 95, 104, 0.2);
  border-radius: 6px;
  background: #fff;
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(47, 43, 37, 0.04);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.icon-link:hover {
  border-color: rgba(31, 95, 191, 0.38);
  color: var(--link);
  box-shadow: 0 4px 12px rgba(31, 95, 191, 0.1);
  transform: translateY(-1px);
}

.link-icon {
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.intro-copy {
  max-width: 720px;
}

.intro-copy p {
  max-width: 720px;
  color: #3d3f43;
  font-size: 1.08rem;
}

.intro-copy .link-row {
  margin-top: 18px;
}

.content-flow {
  display: grid;
  gap: 36px;
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 0 70px;
}

.section-block {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.section-block p:last-child,
.plain-list:last-child,
.news-list:last-child {
  margin-bottom: 0;
}

.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.small-link {
  flex: 0 0 auto;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.86rem;
}

.plain-list,
.news-list {
  margin: 0;
  padding-left: 1.15rem;
}

.plain-list li,
.news-list li {
  margin: 0 0 10px;
}

.publication {
  padding: 20px 0;
  border-top: 1px solid rgba(222, 217, 207, 0.82);
}

.publication:first-of-type {
  border-top: 0;
}

.publication h3 a {
  color: var(--ink);
}

.authors,
.venue,
.pub-links {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.venue {
  color: var(--warm);
  font-style: italic;
}

.pub-links {
  margin-top: 6px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.86rem;
}

.pub-links a + a {
  margin-left: 10px;
}

.date,
.news-list time {
  color: var(--accent-dark);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

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

.news-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid rgba(222, 217, 207, 0.72);
}

.news-list li:first-child {
  border-top: 0;
  padding-top: 2px;
}

.news-list li > span {
  min-width: 0;
  line-height: 1.55;
}

.news-venue {
  text-decoration: underline;
  text-decoration-color: rgba(31, 95, 191, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.news-list time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  width: 58px;
  height: 26px;
  padding: 2px 8px;
  border: 1px solid rgba(46, 111, 115, 0.22);
  border-radius: 999px;
  background: rgba(220, 235, 236, 0.56);
}

.footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.86rem;
}

.footer p {
  margin: 0;
}

.not-found {
  min-height: 100vh;
  display: grid;
  align-content: center;
  max-width: 680px;
  padding: 48px 0;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
  }

  .nav {
    justify-content: flex-start;
  }

  .intro-section,
  .content-flow {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .intro-section {
    min-height: auto;
    padding-top: 36px;
  }

  .portrait-wrap {
    width: min(68vw, 240px);
  }

}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  main,
  .footer {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    gap: 7px 14px;
    font-size: 0.84rem;
  }

  .section-title-row {
    display: block;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .news-list time {
    justify-self: start;
  }

}
