:root {
  --ink: #2f2f2f;
  --muted: #666666;
  --line: #d8d8d8;
  --soft-accent: #eeeeee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px clamp(20px, 5vw, 72px) 10px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(47, 47, 47, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  width: clamp(68px, 8vw, 104px);
  max-height: 72px;
  height: auto;
  object-fit: contain;
}

.brand span {
  font-size: clamp(0.7rem, 1.4vw, 1.08rem);
  line-height: 1.15;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.top-nav a {
  min-height: 55px;
  padding: 14px 18px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 1.24rem;
  font-weight: 700;
  text-decoration: none;
}

.top-nav a:hover,
.top-nav a.active {
  color: var(--ink);
  background: var(--soft-accent);
}

main {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(20px, 3vw, 38px) 0 64px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  padding: clamp(8px, 2vw, 20px) 0;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 24px;
  align-items: start;
}

h1,
h2 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  letter-spacing: 0;
}

h2 {
  font-size: 1.45rem;
}

.overview-figure {
  margin: 8px 0 0;
}

.overview-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #ffffff;
}

.overview-figure figcaption {
  width: 100%;
  max-width: none;
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  font-weight: 700;
}

.keywords-line {
  width: 100%;
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  font-weight: 400;
}

.keywords-line span {
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  font-weight: 700;
}

.events-panel {
  min-height: 420px;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--line);
}

.events-panel h2 {
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
}

.events-list {
  margin: 28px 0 0;
  padding-left: 0;
  color: var(--muted);
  font-size: 1rem;
  list-style: none;
}

.events-list li {
  margin-bottom: 12px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.text-box {
  min-height: 280px;
}

.research-content {
  --research-image-width: 364px;
  --research-column-width: 382px;
  --research-offset: max(0px, calc((var(--research-column-width) - var(--research-image-width)) / 2));
  max-width: 960px;
  margin-left: var(--research-offset);
  color: var(--ink);
  font-size: 1.08rem;
}

.research-content p {
  margin: 0 0 20px;
}

.research-gallery {
  display: grid;
  grid-template-columns: repeat(3, 382px);
  justify-content: start;
  gap: 0;
  margin-top: 34px;
}

.research-gallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.research-gallery figure + figure {
  border-left: 1px solid var(--line);
}

.research-gallery img {
  width: 100%;
  max-width: 364px;
  height: 247px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.research-gallery figcaption {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}

.people-layout {
  display: grid;
  justify-items: center;
  gap: 26px;
}

.person-feature {
  display: grid;
  grid-template-columns: 210px minmax(280px, 620px);
  justify-content: center;
  align-items: start;
  gap: 34px;
  width: 100%;
  text-align: left;
}

.person-feature img {
  width: 210px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0;
}

.person-feature p {
  max-width: 820px;
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 1.08rem;
}

.person-feature .email-address {
  margin: -22px 0 22px;
  color: var(--muted);
}

.selected-distinctions {
  max-width: 720px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.98rem;
}

.selected-distinctions h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.08rem;
}

.selected-distinctions h4 {
  margin: 14px 0 6px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 400;
  text-decoration: underline;
}

.selected-distinctions ul {
  margin: 0 0 8px;
  padding-left: 20px;
}

.selected-distinctions li {
  margin-bottom: 4px;
}

.download-link,
.scholar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--soft-accent);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.download-link:hover,
.scholar-link:hover {
  background: var(--line);
}

.member-reserve {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.member-slot {
  min-height: 170px;
}

.publication-heading {
  align-items: center;
}

.section-heading .citation-summary {
  margin: 0;
  color: #000000;
  font-size: 1.05rem;
}

.publication-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 30px;
}

.publication-list li {
  padding: 0 0 14px 16px;
  background: transparent;
  border-left: 4px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.links-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 30px;
  color: var(--ink);
  font-size: 1.08rem;
}

.reserved-panel {
  min-height: 420px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
  }

  .top-nav {
    justify-content: center;
  }

  .home-grid,
  .research-grid,
  .research-gallery,
  .member-reserve {
    grid-template-columns: 1fr;
  }

  .research-gallery figure {
    padding: 20px 0;
  }

  .research-content {
    margin-left: 0;
  }

  .research-gallery figure + figure {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .person-feature {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

}

@media (max-width: 560px) {
  main {
    width: min(100% - 28px, 1320px);
  }

  .site-header {
    padding: 12px 14px;
  }

  .top-nav a {
    min-height: 46px;
    padding: 10px 11px;
    font-size: 1rem;
  }

  .brand img {
    width: clamp(54px, 18vw, 78px);
    max-height: 58px;
  }

  .brand {
    gap: 10px;
  }

  .brand span {
    font-size: clamp(0.7rem, 2.8vw, 0.85rem);
  }

  .tab-panel.active {
    padding: 0;
  }

  .events-panel {
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .overview-figure img {
    height: auto;
  }

  .section-heading,
  .publication-heading {
    display: block;
  }

  .scholar-link {
    margin-top: 16px;
  }
}
