:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #eef3f6;
  --ink: #20242d;
  --muted: #646b78;
  --line: #dce3ea;
  --teal: #0f766e;
  --coral: #c64f31;
  --blue: #3858e9;
  --shadow: 0 18px 45px rgba(32, 36, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 251, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-links a {
  color: var(--muted);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: var(--surface-soft);
}

.band {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 34%),
    linear-gradient(315deg, rgba(198, 79, 49, 0.08), transparent 38%),
    var(--bg);
}

.hero {
  padding: 78px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 56px;
  align-items: center;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  color: #363d49;
  font-size: 20px;
  line-height: 1.55;
}

.hero-copy p:not(.eyebrow) {
  max-width: 780px;
}

.hero-actions,
.pub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 14px;
  color: var(--ink);
  background: var(--surface);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(32, 36, 45, 0.06);
}

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

.button:hover,
.button:focus-visible {
  border-color: var(--coral);
  color: var(--ink);
  background: #ffffff;
}

.button.primary:hover,
.button.primary:focus-visible {
  color: #ffffff;
  background: var(--coral);
}

.button svg,
.contact-links svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

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

.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  object-fit: cover;
  object-position: 32% center;
  background: var(--surface-soft);
}

.profile-meta {
  display: grid;
  gap: 3px;
  margin-top: 16px;
}

.profile-meta strong {
  font-size: 18px;
}

.profile-meta span {
  color: var(--muted);
}

.section {
  padding: 76px 0;
}

.alt-band {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.section-grid,
.split-section,
.contact-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.section-heading {
  margin-bottom: 28px;
}

.timeline {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.timeline time,
.experience-list time {
  color: var(--teal);
  font-weight: 750;
}

.timeline p,
.experience-list p,
.focus-item p,
.publication p,
.contact-grid p {
  color: var(--muted);
}

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

.focus-item,
.publication,
.experience-list article,
.contact-links {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.focus-item {
  padding: 22px;
}

.focus-marker {
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 18px;
}

.focus-marker.teal {
  background: var(--teal);
}

.focus-marker.coral {
  background: var(--coral);
}

.focus-marker.blue {
  background: var(--blue);
}

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

.publication {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
}

.pub-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: contain;
  background: #ffffff;
}

.pub-body h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

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

.pub-links {
  margin-top: 14px;
}

.pub-links a {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.pub-links a:hover,
.pub-links a:focus-visible {
  border-color: var(--teal);
  color: var(--teal);
}

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

.experience-list article {
  padding: 20px;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(56, 88, 233, 0.08), transparent 35%),
    var(--bg);
}

.contact-links {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.contact-links a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

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

.footer-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-grid,
  .section-grid,
  .split-section,
  .contact-grid,
  .publication {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 18px;
  }

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

  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .pub-media {
    max-height: 260px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .nav-links a {
    padding: 6px 8px;
  }

  .hero,
  .section {
    padding-block: 48px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  .profile-panel,
  .publication,
  .focus-item,
  .experience-list article,
  .contact-links {
    padding: 14px;
  }
}
