@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Hedvig Letters";
  src: url("assets/hedvig-letters.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #231f22;
  --muted: #5e595b;
  --burgundy: #792d43;
  --wine-hover: #562233;
  --paper: #fbfaf7;
  --rule: #dedbd6;
  --serif: "Hedvig Letters", Georgia, serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: white;
  color: var(--ink);
  font: 1rem/1.6 "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible {
  outline: 3px solid var(--burgundy);
  outline-offset: 5px;
}
.skip {
  position: absolute;
  z-index: 5;
  top: .6rem;
  left: .6rem;
  transform: translateY(-180%);
  background: white;
  padding: .5rem 1rem;
}
.skip:focus { transform: none; }
.wrap {
  width: min(69rem, calc(100% - 7rem));
  margin-inline: auto;
}
.masthead { background: var(--paper); }
.masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 4.75rem;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  gap: .72rem;
  align-items: center;
  text-decoration: none;
  font: 400 1.36rem/1.2 var(--serif);
  letter-spacing: -.04em;
}
.brand-icon { display: block; width: 2rem; height: 2rem; object-fit: contain; }
nav { display: flex; gap: clamp(1rem, 2.5vw, 2.4rem); }
nav a, .resources a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .95rem;
  font-weight: 550;
  text-decoration: none;
}
nav a:hover, .resources a:hover { color: var(--burgundy); text-decoration: underline; }
.intro { background: var(--paper); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(34%, 19.45rem);
  align-items: center;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  padding-block: 3.4rem 4.3rem;
}
.bio { min-width: 0; }
.subject, .venue, .year-range {
  margin: 0;
  color: var(--burgundy);
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: .035em;
}
.subject {
  display: flex;
  align-items: center;
  gap: .68rem;
}
.subject::before {
  content: "";
  width: 1.85rem;
  height: 2px;
  background: currentColor;
}
.signature {
  position: relative;
  width: min(100%, 32rem);
  aspect-ratio: 3.03;
  margin: .95rem 0 1.4rem;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.signature img {
  display: block;
  width: 109%;
  height: auto;
  max-width: none;
  position: absolute;
  left: -4.5%;
  top: -19%;
}
.bio-text { font-size: 1.14rem; line-height: 1.6; }
.bio-text p { margin: 0; }
.bio-text a { text-decoration-color: #baa1a7; }
.bio-text a:hover { color: var(--burgundy); }
.profile-links { display: flex; flex-wrap: wrap; gap: .68rem; margin-top: 1.6rem; }
.profile-links a {
  display: inline-flex;
  min-height: 2.75rem;
  gap: .55rem;
  align-items: center;
  padding: .48rem .95rem;
  border-radius: 5px;
  border: 1px solid #ccc6c3;
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  font-size: .94rem;
  background: transparent;
}
.profile-links svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.profile-links a.scholar { color: white; background: var(--burgundy); border-color: var(--burgundy); }
.profile-links a:hover { border-color: var(--burgundy); }
.profile-links a.scholar:hover { background: var(--wine-hover); }
.portrait {
  width: calc(100% - .7rem);
  justify-self: end;
  margin-right: .7rem;
  aspect-ratio: 5 / 5.9;
}
.portrait picture, .portrait img { display: block; width: 100%; height: 100%; }
.portrait picture { overflow: hidden; }
.portrait img {
  object-fit: cover;
  object-position: 52% 45%;
  transform: scale(1.15);
  transform-origin: right 40%;
}
.research, .news { padding-top: 2.85rem; }
.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-top: 1.5rem;
}
.direction-preview, .publication-image { position: relative; display: block; aspect-ratio: 16 / 9; background: #272526; }
.direction-preview { border-radius: .55rem; overflow: hidden; }
.direction-preview img, .publication-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.direction-preview video, .publication-image video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none; }
video.is-playing { opacity: 1; }
.direction-card h3 { margin: 1rem 0 0; }
.direction-card abbr { text-decoration: none; }
.direction-card .resources a[aria-current="true"] { text-decoration-thickness: .16em; text-underline-offset: .18em; }
.news-list { list-style: none; margin: 0; padding: .55rem 0 0; }
.news-list li {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  align-items: baseline;
  gap: 1.25rem;
  padding: .55rem 0;
}
.news-list time { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-list p { margin: 0; }
.news-list a { color: var(--burgundy); font-weight: 600; text-decoration-color: #c8acb2; }
.news-list a:hover { text-decoration-color: currentColor; }
.publications { padding-block: 2.85rem 2.8rem; }
.section-head, .footer-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.section-head { padding-bottom: 1.1rem; border-bottom: 1px solid #aaa3a2; }
h2 { margin: 0; font: 400 clamp(2rem, 3.5vw, 3rem)/1.16 var(--serif); letter-spacing: -.055em; }
.year-range { color: var(--muted); font-weight: 500; letter-spacing: .07em; font-variant-numeric: tabular-nums; }
.publication {
  display: grid;
  grid-template-columns: minmax(11rem, 26%) 1fr;
  gap: clamp(1.5rem, 3.3vw, 3rem);
  padding-block: 2rem;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.publication:last-child { border-bottom: 0; padding-bottom: 0; }
.publication-figure { margin: 0; }
h3 { margin: .4rem 0 .65rem; font: 400 clamp(1.45rem, 2vw, 1.85rem)/1.2 var(--serif); letter-spacing: -.035em; }
h3 a { text-decoration: none; }
h3 a:hover { color: var(--burgundy); }
.authors { color: var(--muted); font-size: .94rem; line-height: 1.55; margin: 0; }
.authors strong { font-weight: 700; color: var(--ink); }
.contribution { display: block; font-size: .8rem; margin-top: .12rem; }
.description { color: #49454a; margin: .75rem 0 .2rem; }
.resources { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.resources a { color: var(--burgundy); font-weight: 650; }
.education, .experience { padding-bottom: 2.8rem; }
.education-list { list-style: none; padding: 0; margin: 0; }
.education-list li {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding-block: 1.25rem;
}
.education-list li + li { border-top: 1px solid var(--rule); }
.education-logo { width: 4.25rem; height: 4rem; object-fit: contain; }
.education-list h3 { margin: 0 0 .25rem; }
.education-list p { margin: 0; }
.education-advisor, .education-details { color: var(--muted); font-size: .94rem; }
.education-details { text-align: right; }
.experience-entry { display: flex; align-items: center; gap: 1.25rem; padding-top: 1.5rem; }
.experience-logo { width: 3.5rem; height: 4rem; object-fit: contain; flex: none; }
.experience-entry h3 { margin: 0 0 .25rem; }
.experience-entry p { margin: 0; }
.experience-entry a { text-decoration-color: #baa1a7; }
.experience-entry a:hover { color: var(--burgundy); }
.experience-dates { color: var(--muted); font-size: .94rem; }
footer { background: var(--paper); border-top: 1px solid var(--rule); }
.footer-inner { align-items: center; padding-block: 2.7rem; }
.last-updated { margin: .35rem 0 0; color: var(--muted); font-size: .875rem; }
footer h2 { font-size: 2rem; }
.email { color: var(--burgundy); font-size: 1.06rem; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 4rem); }
  .intro-grid { gap: 2rem; padding-block: 2.75rem 3.3rem; }
  .publication { grid-template-columns: 26% 1fr; }
  .bio-text { font-size: 1.05rem; }
  .signature { margin-bottom: 1.2rem; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2.5rem); }
  .masthead-inner { min-height: 4.25rem; }
  .brand { gap: .4rem; font-size: 1.12rem; }
  .brand-icon { width: 1.65rem; height: 1.65rem; }
  nav { gap: .9rem; }
  nav a { font-size: .875rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 1.9rem; padding-block: 2.15rem 2.6rem; }
  .subject { font-size: .83rem; }
  .signature { max-width: 27rem; margin-block: .6rem 1.1rem; }
  .profile-links { margin-top: 1.1rem; }
  .portrait { justify-self: start; width: min(calc(90% - .5rem), 19.8rem); aspect-ratio: 1.42; margin: 0; }
  .portrait img { object-position: 50% 32%; }
  .research, .news { padding-top: 2rem; }
  .direction-grid { grid-template-columns: 1fr; padding-top: 1rem; }
  .news-list li { grid-template-columns: 4.6rem minmax(0, 1fr); gap: .6rem; }
  .publications { padding-block: 2rem; }
  .education, .experience { padding-bottom: 2rem; }
  .education-list li { grid-template-columns: 3rem minmax(0, 1fr); gap: .3rem 1rem; }
  .education-logo { width: 3rem; height: 3rem; grid-row: span 2; align-self: start; }
  .education-details { grid-column: 2; text-align: left; }
  .experience-entry { gap: 1rem; }
  .publication { grid-template-columns: 1fr; gap: 1rem; padding-block: 1.45rem; }
  .publication-figure { max-width: 25rem; }
  .footer-inner { flex-wrap: wrap; padding-block: 2rem; }
}
@media (max-width: 800px) {
  .masthead-inner { flex-wrap: wrap; gap: .25rem; padding-block: .6rem .15rem; }
  .masthead-inner nav { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 0 .5rem; }
}
@media (max-width: 410px) {
  .masthead-inner nav { display: grid; grid-template-columns: repeat(4, max-content); }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 1.75rem); }
  nav { gap: .64rem; }
}
