:root {
  --ink: #17212b;
  --muted: #5f6f7a;
  --paper: #fbfaf7;
  --line: #dfe6e3;
  --blue: #245a8d;
  --green: #0f6b5d;
  --gold: #b88216;
  --clay: #8a3f2f;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 33, 43, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--green);
  border-color: var(--green);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

main {
  overflow: clip;
}

section {
  width: min(var(--max), calc(100% - 10vw));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.hero {
  min-height: auto;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 4.25rem;
}

.profile-panel {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.4rem;
  align-items: start;
}

.portrait {
  width: 150px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 4.1vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.03rem;
  line-height: 1.32;
}

.name-native {
  margin-bottom: 1.2rem;
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
  line-height: 1.6;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.link-row a,
.filter-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.52rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.link-row a:hover,
.link-row a:focus-visible,
.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.feature-figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: contain;
  background: var(--white);
}

.feature-figure figcaption {
  padding: 1rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.intro,
.teaching,
.contact {
  border-top: 1px solid var(--line);
}

.copy-stack {
  font-size: 1.05rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 1.8rem;
}

.section-heading p,
.section-intro {
  color: var(--muted);
  font-size: 1.04rem;
}

.news {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.news-list article {
  min-height: 190px;
  padding: 1.35rem;
  background: var(--white);
}

.news-list time {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-weight: 760;
}

.news-list p {
  margin-bottom: 0;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.theme-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--white);
  border: 1px solid var(--line);
}

.theme-card img {
  width: 100%;
  aspect-ratio: 4 / 2.25;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.theme-card div {
  padding: 1.15rem;
}

.theme-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.filter-button {
  cursor: pointer;
  font: inherit;
}

.publication-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.publication-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.15rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.publication-list li.is-hidden {
  display: none;
}

.pub-year {
  color: var(--clay);
  font-weight: 760;
}

.publication-list h3 {
  margin-bottom: 0.25rem;
}

.publication-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-list,
.opening-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.split-list article,
.opening-grid article {
  padding: 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.split-list ul {
  padding-left: 1.1rem;
  margin: 0;
}

.split-list li + li {
  margin-top: 0.55rem;
}

.openings {
  background: #edf4ef;
  border: 1px solid #d6e4dc;
  padding: 3rem;
}

.contact address {
  font-style: normal;
  font-size: 1.05rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 10vw));
  margin: 0 auto;
  padding: 2.4rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .section-grid,
  .split-list,
  .opening-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .news-list,
  .theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 64px 5vw auto 5vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0.6rem;
  }

  section {
    width: min(100% - 2rem, var(--max));
    padding: 3.8rem 0;
  }

  .profile-panel {
    grid-template-columns: 96px 1fr;
    gap: 1rem;
  }

  .portrait {
    width: 96px;
  }

  .lead {
    font-size: 1.02rem;
  }

  .news-list,
  .theme-grid {
    grid-template-columns: 1fr;
  }

  .news-list article {
    min-height: auto;
  }

  .publication-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .openings {
    width: calc(100% - 2rem);
    padding: 2rem 1.2rem;
  }

  .site-footer {
    width: calc(100% - 2rem);
    flex-direction: column;
  }
}
