:root {
  --bg: #ffffff;
  --text: #2f2b27;
  --muted: #66625d;
  --soft: #9a938c;
  --line: #dfd9d2;
  --accent: #c95d52;
  --accent-soft: #fbefed;
  --button-text: #5b534b;
  --content-width: 860px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.page-shell {
  width: min(calc(100% - 30px), var(--content-width));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 4px;
  color: #3f3a36;
  font-size: 0.97rem;
  line-height: 1;
}

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

.nav-link.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}

.hero {
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: 28px;
  align-items: start;
  padding-top: 14px;
}

.hero-photo-wrap {
  width: 215px;
  height: 217px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef1f5;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  margin: 0 0 14px;
  color: #2a2b38;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 2.08rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-email {
  margin: -2px 0 12px;
  color: #6c645c;
  font-size: 0.98rem;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.03rem;
  line-height: 1.55;
}

.hero-description p {
  margin: 0 0 10px;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

.hero-description strong {
  font-weight: 700;
  color: var(--accent);
}

.hero-description em {
  color: #c78635;
  font-style: italic;
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--button-text);
  font-size: 0.95rem;
  line-height: 1;
}

.contact-button:hover {
  text-decoration: none;
  background: #faf8f6;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #635a52;
  font-size: 0.9rem;
  width: 14px;
  height: 14px;
}

.contact-icon-svg svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.content-section {
  margin-top: 28px;
}

.section-title {
  position: relative;
  display: inline-block;
  margin: 0 0 16px;
  padding-bottom: 6px;
  color: #232732;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--accent);
}

.news-list {
  display: grid;
  gap: 6px;
}

.news-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.98rem;
  line-height: 1.55;
}

.news-date {
  color: #72685e;
}

.news-content {
  color: var(--text);
}

.news-content strong {
  font-weight: 700;
  color: var(--accent);
}

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

.publication-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.publication-thumb {
  width: 160px;
  height: 96px;
  overflow: hidden;
  border-radius: 2px;
  background: #f3f1ee;
}

.publication-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.publication-meta {
  min-width: 0;
}

.publication-title {
  margin: 0 0 3px;
  color: #2d2a26;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}

.publication-authors {
  margin: 0 0 3px;
  color: #6d655c;
  font-size: 0.88rem;
  line-height: 1.4;
}

.publication-authors strong {
  color: #2f2b27;
  font-weight: 700;
}

.publication-venue {
  margin: 0 0 8px;
  color: #7e776e;
  font-size: 0.87rem;
  font-style: italic;
}

.publication-summary {
  display: none;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fbfbfb;
  color: #5f564f;
  font-size: 0.86rem;
  line-height: 1;
}

.chip-link:hover {
  text-decoration: none;
  background: #f8f6f4;
}

.empty-note {
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hover-preview {
  position: fixed;
  z-index: 50;
  width: 184px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(46, 35, 28, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  pointer-events: none;
}

.hover-preview.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hover-preview-image {
  display: block;
  width: 168px;
  height: 204px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
}

.entry-list {
  display: grid;
  gap: 10px;
}

.entry-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: start;
}

.entry-item.has-logo {
  grid-template-columns: 124px 76px 1fr;
}

.entry-date {
  color: #72685e;
  font-size: 0.96rem;
  line-height: 1.5;
}

.entry-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 54px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.entry-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.entry-body {
  color: var(--text);
}

.entry-title {
  margin-bottom: 2px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.entry-description {
  color: #5f574f;
  font-size: 0.98rem;
  line-height: 1.55;
}

.entry-description strong {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-photo-wrap {
    width: min(215px, 100%);
  }

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

  .publication-thumb {
    width: min(240px, 100%);
    height: auto;
    aspect-ratio: 5 / 3;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: calc(100% - 18px);
    padding-top: 10px;
  }

  .nav {
    gap: 8px;
  }

  .nav-link {
    padding: 7px 10px;
    font-size: 0.92rem;
  }

  .hero-title {
    font-size: 1.72rem;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .entry-item {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .entry-item.has-logo {
    grid-template-columns: 56px 1fr;
    gap: 6px 10px;
  }

  .entry-item.has-logo .entry-date {
    grid-column: 1 / -1;
  }

  .entry-logo {
    width: 54px;
    height: 44px;
    padding: 6px;
  }

  .hover-preview {
    display: none;
  }
}
