:root {
  --bg: #f8f7f3;
  --paper: #ffffff;
  --ink: #202326;
  --muted: #626a70;
  --line: #d9d8d1;
  --teal: #226d68;
  --teal-dark: #174d49;
  --gold: #b6842a;
  --coral: #b95d45;
  --shadow: 0 18px 48px rgba(32, 35, 38, 0.08);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
}

a:hover {
  color: var(--coral);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(248, 247, 243, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 216, 209, 0.72);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
}

.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 24px 80px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 190px);
  padding-bottom: 28px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
}

h1 {
  font-size: clamp(48px, 7vw, 86px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  font-size: 19px;
}

.lead {
  margin: 24px 0 0;
  max-width: 670px;
  color: #3e454a;
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 1px 0 rgba(32, 35, 38, 0.04);
}

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

.button:hover {
  transform: translateY(-1px);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(32, 35, 38, 0.1);
}

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

.profile-panel {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.profile-details {
  display: grid;
  gap: 0;
  padding: 8px 22px 20px;
}

.profile-details p {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #eeece6;
  color: var(--muted);
  font-size: 14px;
}

.profile-details p:last-child {
  border-bottom: 0;
}

.profile-details strong {
  color: var(--ink);
}

.section-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 50px;
  padding: 70px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  position: sticky;
  top: 96px;
  align-self: start;
}

.timeline,
.publication-list,
.project-list,
.compact-list {
  display: grid;
  gap: 18px;
}

.timeline article,
.publication,
.project-list article,
.interest-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.visitor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.visitor-copy {
  max-width: 430px;
}

.visitor-copy p {
  margin: 8px 0 0;
  color: var(--muted);
}

.visitor-map {
  display: grid;
  min-width: 260px;
  min-height: 170px;
  place-items: center;
  padding: 14px;
  background: #f1f4f1;
  border: 1px solid #dce3dd;
  border-radius: 8px;
}

.visitor-map a,
.visitor-map canvas,
.visitor-map img,
.visitor-map iframe,
.visitor-map svg {
  max-width: 100%;
}

.map-placeholder {
  max-width: 220px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.timeline article {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
}

.timeline time,
.venue {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.timeline p,
.publication p,
.project-list p,
.interest-card p,
.compact-list p,
.contact-band p {
  margin: 8px 0 0;
  color: var(--muted);
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.publication {
  border-left: 4px solid var(--teal);
}

.publication h3,
.project-list h3,
.interest-card h3 {
  margin-top: 8px;
}

.pub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 20px;
  padding: 36px;
  background: #e8eee9;
  border: 1px solid #cbdad1;
  border-radius: 8px;
}

.contact-band div {
  max-width: 650px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 880px) {
  .site-header,
  .hero,
  .section-grid,
  .visitor-card,
  .contact-band,
  .site-footer {
    display: block;
  }

  .nav-links {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .hero {
    min-height: auto;
  }

  .profile-panel {
    margin-top: 36px;
  }

  .section-grid {
    padding: 52px 0;
  }

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

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

  .contact-band .button {
    margin-top: 24px;
  }

  .visitor-map {
    margin-top: 20px;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}

@media (max-width: 560px) {
  main {
    padding-top: 28px;
  }

  .site-header {
    padding: 14px 18px;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .timeline article,
  .profile-details p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .timeline article,
  .publication,
  .project-list article,
  .interest-card,
  .contact-band {
    padding: 20px;
  }
}
