:root {
  --green-900: #234636;
  --green-700: #3f6d55;
  --green-500: #6d987d;
  --green-200: #d9e9dc;
  --green-100: #edf5ed;
  --green-050: #f7faf7;
  --ink: #27312c;
  --muted: #667169;
  --line: #dce4dd;
  --white: #ffffff;
  --header-bg: rgba(255, 255, 255, .96);
  --notice-text: #425047;
  --orcid-mark: #ffffff;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", Arial, sans-serif;
  --page: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
img { display: block; max-width: 100%; }
::selection { background: var(--green-200); }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 10;
  padding: .6rem .9rem;
  color: white;
  background: var(--green-900);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  border-top: 5px solid var(--green-500);
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
}
.header-inner {
  width: min(calc(100% - 3rem), var(--page));
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-name {
  color: var(--green-900);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
}
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
nav a:hover { color: var(--green-700); text-decoration: underline; }

main, footer {
  width: min(calc(100% - 3rem), var(--page));
  margin-inline: auto;
}
.profile {
  padding: 4.5rem 0 4rem;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 6.5rem);
  align-items: start;
}
.profile-card { font-size: .9rem; }
.portrait {
  width: 100%;
  height: auto;
  border-radius: 3px;
}
.profile-card h1 {
  margin: 1.3rem 0 0;
  color: var(--green-900);
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1.2;
}
.degree { margin: .2rem 0 1rem; color: var(--muted); }
.position { margin: 0 0 1.2rem; line-height: 1.5; }
.contact-list { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.contact-list div + div { margin-top: .85rem; }
.contact-list dt { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.contact-list dd { margin: .12rem 0 0; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.profile-links {
  margin-top: .4rem !important;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .65rem;
}
.profile-links a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--green-700);
  font-size: .8rem;
}
.profile-links svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: currentColor;
}
.profile-links .orcid-icon circle { fill: currentColor; }
.profile-links .orcid-icon text {
  fill: var(--orcid-mark);
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
}

.profile-content { max-width: 720px; }
.section-label {
  margin: 0 0 .55rem;
  color: var(--green-500);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
h2 {
  margin: 0 0 1.5rem;
  color: var(--green-900);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.profile-content > p:not(.section-label) { margin: 0 0 1rem; }
.profile-content cite { font-style: italic; }
.notice {
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--green-500);
  background: var(--green-100);
  color: var(--notice-text);
  font-size: .92rem;
}

.content-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}
.section-title { margin-bottom: 2rem; }
.section-title h2 { margin-bottom: 0; }
.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.interest-grid article {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--green-200);
  border-radius: 3px;
  background: var(--green-050);
}
.interest-grid h3 {
  margin: 0 0 .45rem;
  color: var(--green-900);
  font-family: var(--serif);
  font-size: 1.2rem;
}
.interest-grid p { margin: 0; color: var(--muted); font-size: .9rem; }

.news-list { max-width: 820px; }
.news-list article {
  padding: .8rem 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.news-list article:first-child { border-top: 1px solid var(--line); }
.news-list time { color: var(--green-700); font-size: .83rem; font-weight: 600; }
.news-list p { margin: 0; font-size: .94rem; }

.publication-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}
.all-publications { margin-bottom: .35rem; font-size: .88rem; white-space: nowrap; }
.publication-list { max-width: 960px; }
.publication {
  padding: 1.75rem 0;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.publication:first-child { border-top: 1px solid var(--line); }
.publication-image {
  align-self: start;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--green-050);
}
.publication-image img { width: 100%; height: 100%; object-fit: cover; }
.venue {
  margin: 0 0 .25rem;
  color: var(--green-500);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.publication h3 {
  margin: 0 0 .45rem;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.32;
}
.publication h3 a { color: var(--ink); text-decoration: none; }
.publication h3 a:hover { color: var(--green-700); text-decoration: underline; }
.authors { margin: 0 0 .4rem; color: var(--muted); font-size: .85rem; }
.authors strong { color: var(--ink); font-weight: 600; }
.publication-links { margin: 0; display: flex; gap: 1rem; font-size: .83rem; }

footer {
  margin-top: 2rem;
  padding: 1.75rem 0 2.5rem;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}
footer p { margin: 0; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --green-900: #d4ead9;
    --green-700: #9bc7a8;
    --green-500: #78aa87;
    --green-200: #365346;
    --green-100: #22372e;
    --green-050: #192721;
    --ink: #e5ece7;
    --muted: #a8b7ae;
    --line: #344a3f;
    --white: #111a16;
    --header-bg: rgba(17, 26, 22, .96);
    --notice-text: #c5d2ca;
    --orcid-mark: #111a16;
  }

  .portrait,
  .publication-image img {
    filter: brightness(.88) saturate(.9);
  }
}

@media (max-width: 760px) {
  .header-inner { padding: 1rem 0; align-items: flex-start; flex-direction: column; gap: .65rem; }
  nav { gap: .45rem 1rem; }
  nav a { font-size: .84rem; }
  .profile { padding-top: 3rem; grid-template-columns: 1fr; gap: 2.75rem; }
  .profile-card { display: grid; grid-template-columns: 145px 1fr; gap: 0 1.4rem; }
  .portrait { grid-row: 1 / 6; }
  .profile-card h1 { margin-top: .15rem; }
  .contact-list { margin-top: .2rem; }
  .interest-grid { grid-template-columns: 1fr; }
  .publication-title { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .publication { grid-template-columns: 140px minmax(0, 1fr); gap: 1.2rem; }
}

@media (max-width: 520px) {
  main, footer, .header-inner { width: min(calc(100% - 2rem), var(--page)); }
  .profile-card { grid-template-columns: 110px 1fr; }
  .profile-card h1 { font-size: 1.5rem; }
  .position { font-size: .82rem; }
  .contact-list { grid-column: 1 / -1; margin-top: 1rem; }
  .news-list article { grid-template-columns: 1fr; gap: .15rem; }
  .publication { grid-template-columns: 1fr; }
  .publication-image { width: 190px; }
  footer { flex-direction: column; }
}
