:root {
  --ink: #1d2420;
  --muted: #58625d;
  --paper: #ffffff;
  --soft: #f5f7f5;
  --line: #d7ddd8;
  --green: #29665a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 14px clamp(18px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 15px;
}

.main-nav a {
  text-decoration: none;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1120px;
  padding: 72px clamp(18px, 6vw, 76px) 64px;
  margin: 0 auto;
}

.intro-role {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.intro-section h1 {
  margin: 0;
  font-size: 64px;
  line-height: 1;
}

.intro-affiliation {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.quick-links,
.paper-links,
.contact-links,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links {
  margin-top: 28px;
}

.quick-links a,
.paper-links a,
.contact-links a,
.link-row a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.intro-portrait {
  width: min(100%, 340px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  justify-self: end;
  border-radius: 8px;
}

.intro-summary {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section {
  display: grid;
  grid-template-columns: minmax(120px, 220px) minmax(0, 860px);
  gap: clamp(18px, 5vw, 64px);
  padding: 52px clamp(18px, 6vw, 76px);
  border-top: 1px solid var(--line);
}

.section-label {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-body h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.16;
}

.section-body p,
.section-body address {
  max-width: 780px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
}

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

.paper:first-child {
  padding-top: 0;
  border-top: 0;
}

.paper-meta {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.authors {
  color: var(--ink) !important;
  font-weight: 700;
}

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

.link-row {
  align-items: flex-start;
}

.contact-body {
  display: grid;
  gap: 14px;
}

.contact-title {
  margin-bottom: 0 !important;
  color: var(--ink) !important;
  font-size: 24px !important;
  font-weight: 700;
}

.section-body address {
  font-style: normal;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .intro-section {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .intro-section h1 {
    font-size: 48px;
  }

  .intro-affiliation {
    font-size: 18px;
  }

  .intro-portrait {
    justify-self: start;
    width: min(100%, 300px);
  }

  .section {
    grid-template-columns: 1fr;
    padding-top: 44px;
    padding-bottom: 44px;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro-section h1 {
    font-size: 38px;
  }

  .section-body h2 {
    font-size: 26px;
  }

  .section-body p,
  .section-body address,
  .intro-affiliation {
    font-size: 17px;
  }

  .site-footer {
    display: grid;
  }
}
