:root {
  --surface: #fbfaf7;
  --surface-muted: #f1eee7;
  --card: #fff;
  --text: #272724;
  --body: #514f4a;
  --muted: #7d7971;
  --line: #dedbd4;
  --accent: #785c3f;
  --sans: "Source Sans 3", sans-serif;
  --serif: "Crimson Pro", Georgia, serif;
  --display: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--surface);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-underline-offset: 3px;
}

.container {
  width: min(calc(100% - 48px), 900px);
  margin-inline: auto;
}

.preview-header {
  padding-block: 22px;
}

.preview-header nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-family: var(--sans);
  font-size: 14px;
}

.preview-header a {
  color: var(--muted);
  text-decoration: none;
}

.preview-header a:hover,
.preview-header a.active {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  padding-block: 62px 90px;
}

.portrait {
  width: 230px;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.kicker {
  margin: 0 0 7px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bio h1,
.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-weight: 600;
  line-height: 1;
}

.bio h1 {
  margin-bottom: 13px;
  font-size: clamp(2.65rem, 5vw, 3.5rem);
}

.role-list {
  display: grid;
  gap: 5px;
  margin: 0 0 24px;
  padding-left: 14px;
  border-left: 2px solid #c7b39b;
  font-family: var(--sans);
}

.role-list p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.role-list strong {
  color: var(--text);
  font-weight: 600;
}

.role-list span {
  color: var(--muted);
}

.role-list span::before {
  content: "· ";
}

.bio > p:not(.kicker) {
  margin: 0 0 18px;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
  font-family: var(--sans);
  font-size: 14px;
}

.profile-actions a {
  color: var(--muted);
  text-decoration: none;
}

.profile-actions a:hover {
  color: var(--text);
}

.interests {
  padding-block: 72px 82px;
  border-top: 1px solid var(--line);
}

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

.interest-grid article {
  position: relative;
  padding: 24px 16px 28px 0;
  border-top: 1px solid var(--line);
}

.interest-grid article > span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.interest-grid h3 {
  max-width: 340px;
  margin: 0 0 9px;
  color: var(--text);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
}

.interest-grid p {
  max-width: 370px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.48;
}

.experience {
  padding-block: 76px 88px;
  border-top: 1px solid var(--line);
}

.timeline {
  position: relative;
  margin-left: 9px;
  border-left: 1px solid #cfc7ba;
}

.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 28px 29px;
}

.timeline article:last-child {
  padding-bottom: 0;
}

.timeline article::before {
  position: absolute;
  top: 7px;
  left: -4px;
  width: 7px;
  height: 7px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 50%;
  content: "";
}

.timeline time {
  padding-top: 2px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.timeline h3 {
  margin: 0 0 3px;
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.highlights {
  padding-block: 78px 92px;
  background:
    linear-gradient(to bottom, var(--surface), transparent 10%),
    linear-gradient(to top, var(--surface), transparent 10%),
    var(--surface-muted);
}

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

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

.section-heading h2 {
  font-size: 2.35rem;
}

.section-heading > p {
  max-width: 380px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 16px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.highlight-card {
  overflow: hidden;
  color: inherit;
  background: var(--card);
  border: 1px solid rgba(70, 60, 48, 0.08);
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(49, 42, 34, 0.025);
  text-decoration: none;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.highlight-card:hover {
  box-shadow: 0 12px 28px rgba(49, 42, 34, 0.08);
  transform: translateY(-3px);
}

.highlight-image {
  aspect-ratio: 1 / 0.88;
  display: grid;
  padding: 12px;
  place-items: center;
  background: #f7f6f2;
}

.highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.highlight-copy {
  padding: 17px 17px 20px;
}

.venue {
  margin: 0 0 5px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.highlight-copy h3 {
  margin: 0 0 9px;
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.highlight-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.news,
.publications {
  padding-block: 84px;
}

.news {
  border-bottom: 1px solid var(--line);
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-list article {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.news-list time,
.news-list a,
.all-papers {
  font-family: var(--sans);
  font-size: 13px;
}

.news-list time {
  color: var(--muted);
}

.news-list p {
  margin: 0;
}

.news-list a,
.all-papers {
  color: var(--accent);
}

.all-papers {
  margin-bottom: 7px;
}

.author-note {
  margin: -22px 0 16px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
}

.paper {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 30px;
  padding-block: 27px;
  border-top: 1px solid var(--line);
}

.paper:last-of-type {
  border-bottom: 1px solid var(--line);
}

.paper-image {
  height: 120px;
  display: grid;
  padding: 9px;
  place-items: center;
  background: var(--surface-muted);
  border-radius: 4px;
}

.paper-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.paper-image--label {
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent 48%),
    var(--surface-muted);
}

.paper-image--label span {
  color: rgba(39, 39, 36, 0.73);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-align: center;
}

.paper-image--rose {
  background-color: #eadbd8;
}

.paper-image--ink {
  background-color: #d9dfe2;
}

.paper-image--sage {
  background-color: #dce2d8;
}

.paper-image--sand {
  background-color: #e8dfcf;
}

.paper h3 {
  max-width: 620px;
  margin: 0 0 6px;
  color: var(--text);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
}

.paper p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.paper strong {
  color: var(--body);
  font-weight: 600;
}

.paper-links {
  display: flex;
  gap: 14px;
  margin-top: 7px !important;
  font-family: var(--sans);
  font-size: 13px !important;
}

.paper-links a {
  color: var(--accent);
}

footer {
  display: flex;
  justify-content: space-between;
  padding-block: 30px 45px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 12px;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--muted);
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 28px;
  }

  .portrait {
    width: 190px;
    height: 215px;
  }

  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 600px) {
  body {
    font-size: 17px;
  }

  .container {
    width: min(calc(100% - 32px), 900px);
  }

  .preview-header nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 36px 65px;
  }

  .portrait {
    width: 190px;
    height: 210px;
  }

  .bio h1 {
    font-size: 2.65rem;
  }

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

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

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

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

  .interest-grid article {
    padding-right: 0;
  }

  .highlight-image {
    aspect-ratio: 1.65 / 1;
  }

  .news-list article {
    grid-template-columns: 78px 1fr;
    gap: 14px;
  }

  .news-list article a {
    grid-column: 2;
  }

  .paper {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .paper-image {
    width: 220px;
  }
}
