:root {
  color-scheme: light;
  --background: #f7f6f1;
  --surface: #ffffff;
  --surface-soft: #eff5f1;
  --ink: #1b302e;
  --ink-soft: #49615d;
  --muted: #5f736d;
  --accent: #126e63;
  --accent-dark: #0c514a;
  --border: #dbe4dc;
  --shadow: 0 14px 34px rgba(29, 59, 53, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

a:focus-visible {
  outline: 3px solid #8bbfb4;
  outline-offset: 4px;
  border-radius: 3px;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: -100px;
  left: 16px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
  color: #fff;
}

.site-shell {
  display: flex;
  max-width: 1500px;
  min-height: 100vh;
  margin: 0 auto;
  border-right: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex: 0 0 278px;
  flex-direction: column;
  align-self: flex-start;
  width: 278px;
  height: 100vh;
  overflow-y: auto;
  padding: 46px 28px 30px;
  background: #f0f3ec;
  border-right: 1px solid var(--border);
}

.identity {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  color: var(--ink);
  text-decoration: none;
}

.identity:hover {
  color: var(--ink);
}

.identity__portrait-frame {
  display: block;
  width: 108px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  margin-bottom: 24px;
  border: 4px solid #fff;
  border-radius: 14px;
  box-shadow: 0 9px 22px rgba(35, 70, 62, 0.13);
}

.identity__portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(3);
  transform-origin: 51% 64%;
}

.identity__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.15;
  white-space: nowrap;
}

.identity__role {
  margin-top: 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sidebar__summary {
  max-width: 200px;
  margin: 25px 0 29px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.site-nav {
  display: grid;
  gap: 5px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.site-nav a {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: #dfece5;
  color: var(--accent-dark);
}

.site-nav span {
  color: #8aa39a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.sidebar__bottom {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.sidebar__label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sidebar__bottom a {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

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

.site-main {
  flex: 1;
  min-width: 0;
  background: var(--background);
}

.page-content {
  width: min(100%, 1030px);
  margin: 0 auto;
  padding: 62px 72px 76px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 54px;
  border: 1px solid #d9e6db;
  border-radius: 18px;
  background:
    radial-gradient(circle at 95% 10%, rgba(77, 154, 136, 0.18), transparent 31%),
    linear-gradient(135deg, #fbfcf7 0%, #eaf3ec 100%);
}

.hero::after {
  position: absolute;
  right: -92px;
  bottom: -183px;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(28, 111, 95, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 47px rgba(28, 111, 95, 0.035), 0 0 0 96px rgba(28, 111, 95, 0.025);
  content: "";
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1,
.page-intro h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 68px;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.hero h1 span {
  color: #6f8279;
  font-size: 0.54em;
  font-weight: 400;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero__lead {
  max-width: 650px;
  margin: 23px 0 26px;
  color: #405b55;
  font-size: 19px;
  line-height: 1.6;
}

.hero__actions,
.focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 9px 18px;
  border: 1px solid var(--accent);
  border-radius: 7px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--accent);
  color: #fff;
}

.button--primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.hero__profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 18px;
}

.hero__profiles a {
  margin-right: 10px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.hero__profiles a:hover {
  text-decoration: underline;
}

.focus-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
  padding-top: 23px;
  border-top: 1px solid rgba(49, 112, 96, 0.16);
}

.focus-row__label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.focus-list span {
  padding: 5px 10px;
  border: 1px solid #cddfd4;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.content-section {
  margin-top: 66px;
  scroll-margin-top: 30px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 1.17;
}

.section-heading p:last-child {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.paper-list {
  display: block;
}

.paper-card + .paper-card {
  margin-top: 13px;
}

.paper-card {
  padding: 23px 26px 24px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  box-shadow: 0 3px 15px rgba(30, 61, 53, 0.025);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.paper-card:hover {
  transform: translateY(-2px);
  border-color: #adcec1;
  box-shadow: var(--shadow);
}

.paper-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.paper-card__title {
  margin: 0 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.34;
}

.paper-card__title a {
  color: var(--ink);
  text-decoration: none;
}

.paper-card__title a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.paper-card__authors,
.paper-card__details {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.paper-card__authors strong {
  color: var(--ink);
}

.paper-card__details {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.paper-card__note {
  color: var(--accent);
  font-weight: 700;
}

.section-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 23px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.section-link span {
  transition: transform 180ms ease;
}

.section-link:hover span {
  transform: translateX(3px);
}

.education-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.education-item {
  display: grid;
  grid-template-columns: minmax(100px, 150px) minmax(0, 1fr);
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.education-item__years {
  padding-top: 3px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.education-item h3 {
  margin: 0 0 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.education-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.contact-panel {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 67px;
  padding: 27px 30px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}

.contact-panel p {
  margin: 0;
  color: #b9d2c9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-panel h2 {
  margin: 2px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  letter-spacing: -0.035em;
}

.contact-panel a {
  flex: none;
  padding: 9px 15px;
  border-radius: 6px;
  background: #fff;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.contact-panel a:hover {
  background: #e9f4ed;
}

.page-intro {
  padding-bottom: 29px;
  border-bottom: 1px solid var(--border);
}

.page-intro .eyebrow {
  margin-bottom: 14px;
}

.page-intro p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.year-group {
  margin-top: 43px;
}

.year-group__title {
  display: flex;
  gap: 17px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.year-group__title::after {
  flex: 1;
  height: 1px;
  background: var(--border);
  content: "";
}

.site-footer {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  width: min(100%, 1030px);
  margin: 0 auto;
  padding: 0 72px 29px;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 1100px) {
  .page-content {
    padding-right: 40px;
    padding-left: 40px;
  }

  .hero {
    padding: 44px;
  }

  .hero h1,
  .page-intro h1 {
    font-size: 56px;
  }

  .site-footer {
    padding-right: 40px;
    padding-left: 40px;
  }
}

@media (max-width: 820px) {
  .site-shell {
    display: block;
    border: 0;
  }

  .sidebar {
    position: static;
    width: auto;
    height: auto;
    padding: 19px 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .sidebar__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .identity {
    display: grid;
    grid-template-columns: 57px auto;
    column-gap: 13px;
    align-items: center;
  }

  .identity__portrait-frame {
    grid-row: span 2;
    width: 57px;
    margin: 0;
    border-width: 2px;
    border-radius: 7px;
  }

  .identity__name {
    align-self: end;
    font-size: 24px;
  }

  .identity__role {
    align-self: start;
    margin-top: 1px;
    font-size: 10px;
  }

  .sidebar__summary,
  .sidebar__bottom {
    display: none;
  }

  .site-nav {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    margin-top: 15px;
    padding: 7px 0;
    border-bottom: 0;
    white-space: nowrap;
  }

  .site-nav a {
    gap: 5px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .site-nav span {
    display: none;
  }

  .page-content {
    padding-top: 30px;
  }

  .section-heading h2 {
    font-size: 35px;
  }
}

@media (max-width: 560px) {
  .page-content {
    padding: 18px 17px 52px;
  }

  .hero {
    padding: 32px 23px;
    border-radius: 12px;
  }

  .hero h1 span {
    display: block;
    margin-top: 7px;
    font-size: 0.42em;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero h1,
  .page-intro h1 {
    font-size: 43px;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .paper-card__title {
    font-size: 18px;
  }

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

  .paper-card {
    padding: 20px;
  }

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

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 52px;
    padding: 24px;
  }

  .site-footer {
    padding: 0 17px 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
