:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-muted: #eef5f2;
  --ink: #17201b;
  --muted: #58635d;
  --line: #d9ded8;
  --teal: #176b5d;
  --blue: #315f9b;
  --gold: #b5792b;
  --soft-gold: #f3e0bd;
  --shadow: 0 18px 50px rgba(23, 32, 27, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 48px;
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.9rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.text-link:hover {
  color: var(--teal);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 72px 48px 84px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  line-height: 0.98;
  font-weight: 700;
}

h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
  line-height: 1.12;
  font-weight: 700;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.lead {
  max-width: 720px;
  margin-bottom: 18px;
  color: #26332d;
  font-size: 1.35rem;
  line-height: 1.45;
}

.summary {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(23, 32, 27, 0.06);
}

.button:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

.button.primary:hover {
  background: #0f5b4f;
  color: #ffffff;
}

.profile-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.portrait {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-muted);
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.profile-facts {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
}

.profile-facts div {
  display: grid;
  gap: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.profile-facts dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-facts dd {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.section {
  padding: 84px 48px;
}

.section.band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.timeline-date {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card p,
.timeline p,
.education-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 54px;
}

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

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.card:nth-child(3n + 1) {
  border-top: 4px solid var(--teal);
}

.card:nth-child(3n + 2) {
  border-top: 4px solid var(--blue);
}

.card:nth-child(3n) {
  border-top: 4px solid var(--gold);
}

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

.section-heading h2 {
  margin-bottom: 0;
}

.text-link {
  color: var(--teal);
  font-weight: 800;
  white-space: nowrap;
}

.publication-group + .publication-group {
  margin-top: 34px;
}

.publication-group h3 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 1.15rem;
}

.publication-group-summary {
  max-width: 820px;
  margin: -4px 0 16px;
  color: var(--muted);
}

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

.publication-list li {
  padding: 18px 20px 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.publication-list strong {
  display: block;
  margin-bottom: 4px;
  line-height: 1.35;
}

.publication-list em {
  color: var(--teal);
  font-style: normal;
  font-weight: 800;
}

.author-highlight {
  color: var(--teal);
  font-weight: 900;
}

.publication-note {
  margin: 14px 0 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.publication-note sup,
.publication-list sup {
  color: var(--gold);
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article,
.education-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.experience-meta {
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

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

.education-list {
  display: grid;
  gap: 14px;
}

.awards-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.awards-list li {
  padding-left: 4px;
  color: var(--ink);
  font-weight: 700;
}

.awards-list li::marker {
  color: var(--teal);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 48px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 28px;
  }

  .hero,
  .two-column,
  .cv-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding: 56px 28px 72px;
  }

  .profile-panel {
    max-width: 520px;
  }

  .section {
    padding: 70px 28px;
  }

  .research-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }

  .nav {
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .hero {
    gap: 36px;
    padding: 46px 20px 64px;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.15rem;
  }

  .section {
    padding: 58px 20px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .text-link {
    white-space: normal;
  }

  .publication-list {
    padding-left: 20px;
  }

  .publication-list li {
    padding: 16px;
  }

  .site-footer {
    flex-direction: column;
    padding: 32px 20px;
  }
}
