:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --ink: #1e2528;
  --muted: #657177;
  --line: #ded8cc;
  --teal: #1f7a78;
  --teal-dark: #14514f;
  --gold: #ad7b24;
  --coral: #b8533d;
  --shadow: 0 18px 45px rgba(31, 37, 40, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(31, 122, 120, 0.08), transparent 320px),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(222, 216, 204, 0.78);
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  color: #394447;
}

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

.page {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: center;
  gap: 48px;
  min-height: 0;
  padding: 56px 0 40px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: #111719;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.04;
  font-weight: 850;
  letter-spacing: 0;
}

h1 span {
  display: inline-block;
  color: var(--teal);
  font-weight: 700;
}

.lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: #394447;
  font-size: 17px;
  line-height: 1.58;
}

.advisor-line {
  max-width: 720px;
  margin: 8px 0 0;
  color: #394447;
  font-size: 16px;
  line-height: 1.55;
}

.advisor-line a {
  font-weight: 800;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  min-width: 0;
}

.contact-row a,
.links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(31, 37, 40, 0.04);
}

.contact-row a:hover,
.links a:hover {
  border-color: rgba(184, 83, 61, 0.35);
  color: var(--coral);
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  min-width: 0;
}

.quick-facts span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(31, 122, 120, 0.1);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 750;
}

.profile {
  margin: 0;
}

.profile img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.profile figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: baseline;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

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

.interest-grid article,
.metric,
.publication,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.interest-grid article {
  padding: 20px;
}

.interest-grid h3,
.publication h3,
.timeline h3 {
  margin: 0;
  line-height: 1.28;
}

.interest-grid p,
.publication p,
.timeline p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.metric {
  padding: 18px 20px;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--teal-dark);
  font-size: 18px;
}

.metric span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.publication-list {
  display: grid;
  gap: 18px;
}

.publication {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  align-items: start;
  overflow: hidden;
}

.pub-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #efe4d2;
  color: #6a4a16;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.pub-image {
  display: grid;
  place-items: center;
  width: 150px;
  height: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.pub-image img {
  display: block;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  min-height: 0;
  object-fit: contain;
}

.publication h3 {
  font-size: 20px;
}

.authors {
  color: #394447;
  font-size: 15px;
}

.venue {
  color: var(--coral);
  font-weight: 850;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.links a {
  min-height: 34px;
  padding: 6px 12px;
}

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

.two-column .section-heading {
  display: block;
  margin-bottom: 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-list li {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: #394447;
  font-weight: 750;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
}

.timeline-item span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 850;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
  }

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

  .hero {
    min-height: auto;
    padding: 34px 0 26px;
  }

  .profile {
    width: min(220px, 64%);
    margin-top: 10px;
  }

  .interest-grid,
  .highlights,
  .service-list {
    grid-template-columns: 1fr;
  }

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

  .pub-image {
    width: 150px;
    height: 96px;
  }

  .pub-image img {
    max-height: none;
  }
}

@media (max-width: 520px) {
  .page,
  .footer {
    width: min(362px, calc(100% - 28px));
    margin-left: 14px;
    margin-right: auto;
  }

  .nav {
    padding-inline: 14px;
    gap: 14px;
    font-size: 13px;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 16px;
    line-height: 1.5;
  }

  .contact-row a {
    min-width: 0;
    padding-inline: 8px;
  }

  .contact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding: 28px 0 22px;
  }

  .section {
    padding: 26px 0;
  }

  .interest-grid article {
    padding: 16px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer {
    flex-direction: column;
  }
}
