@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-regular.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-semibold.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-bold.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #263440;
  --muted: #64717e;
  --link: #225f9e;
  --line: #e2e9ee;
  --wash: #f4f8fb;
  --page-width: 1130px;
  --header-height: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Source Sans 3", "Segoe UI", sans-serif; font-size: 17px; line-height: 1.62; }
a { color: var(--link); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 2px; }
strong { font-weight: 600; }
p { margin: 0 0 15px; }
h1, h2, h3 { margin: 0; color: var(--ink); }
h2 { font-size: 27px; font-weight: 600; line-height: 1.25; letter-spacing: -.35px; margin-bottom: 22px; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.4; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 10; padding: 10px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.header-inner { max-width: var(--page-width); min-height: var(--header-height); margin: 0 auto; padding: 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-link { font-weight: 600; font-size: 19px; color: var(--ink); white-space: nowrap; }
.header-inner nav { display: flex; align-items: center; gap: 29px; }
.header-inner nav a { font-size: 16px; color: var(--muted); position: relative; }
.header-inner nav a[aria-current="location"] { color: var(--link); }
.header-inner nav a[aria-current="location"]::after { content: ""; position: absolute; bottom: -8px; left: 0; right: 0; height: 2px; background: var(--link); }

.page-layout { max-width: var(--page-width); margin: 48px auto 0; padding: 0 26px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 66px; align-items: start; }
.profile { position: sticky; top: 117px; }
.portrait { display: block; width: 210px; max-width: 100%; height: 252px; object-fit: cover; object-position: 50% 40%; border-radius: 5px; }
.profile h1 { margin-top: 22px; margin-bottom: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -.5px; }
.profile-role { line-height: 1.5; margin-bottom: 18px; }
.profile-affiliation { display: inline-flex; align-items: center; gap: 7px; }
.profile-affiliation img { width: 20px; height: 20px; object-fit: contain; }
.profile-interests { font-size: 16px; color: var(--muted); line-height: 1.5; margin-bottom: 21px; }
.profile-links { list-style: none; margin: 0; padding: 0; }
.profile-links li + li { margin-top: 8px; }
.profile-links a { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; }
.email-address { display: inline-block; font-size: 14px; margin-top: 21px; color: var(--muted); overflow-wrap: anywhere; }

main { min-width: 0; }
main > section { margin-bottom: 49px; scroll-margin-top: 20px; }
.about-section p { max-width: 76ch; }
blockquote { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 18px; line-height: 1.55; color: #405b70; border-left: 3px solid #bfd5e6; margin: 23px 0 0; padding: 2px 0 2px 17px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.section-heading h2 { margin-bottom: 7px; }
.section-link { font-size: 14px; white-space: nowrap; }
.section-note { font-size: 14px; color: var(--muted); margin-bottom: 21px; }

.publication { display: grid; grid-template-columns: 175px minmax(0, 1fr); gap: 22px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.publication:first-of-type { padding-top: 0; }
.publication:last-child { border-bottom: 0; padding-bottom: 0; }
.publication-figure { display: flex; align-items: center; justify-content: center; height: 126px; padding: 6px; border: 1px solid var(--line); border-radius: 4px; background: white; align-self: start; margin-top: 3px; }
.publication-figure img { display: block; max-width: 100%; width: 100%; height: 100%; object-fit: contain; }
.publication h3 { margin-bottom: 7px; font-size: 18px; line-height: 1.36; }
.publication h3 a { color: var(--ink); }
.publication h3 a:hover { color: var(--link); }
.publication h3 a[aria-disabled="true"]:hover { color: var(--ink); text-decoration: none; }
.authors { font-size: 14.5px; color: var(--muted); line-height: 1.45; margin-bottom: 7px; }
.authors strong { color: var(--ink); }
.venue { display: flex; align-items: baseline; gap: 9px; margin-bottom: 7px; font-size: 14px; color: var(--muted); }
.venue-name { font-weight: 600; color: #46677f; }
.publication-summary { font-size: 15.5px; line-height: 1.48; margin-bottom: 9px; }
.publication-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 17px; font-size: 14px; font-weight: 600; }
.publication-links a[aria-disabled="true"] { color: var(--muted); cursor: default; text-decoration: none; }
.publication-text { grid-template-columns: minmax(0, 1fr); padding-left: 197px; }

.entry { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 17px; }
.entry-logo { grid-column: 1; grid-row: 1 / span 3; width: 48px; height: 48px; object-fit: contain; align-self: start; margin-top: 2px; }
.entry-heading, .entry > p { grid-column: 2; }
.entry + .entry { margin-top: 26px; }
.entry-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.entry-heading h3 { font-size: 18px; }
.entry-date { flex-shrink: 0; font-size: 14px; color: var(--muted); margin-bottom: 3px; }
.entry-role { font-size: 16px; margin: 2px 0 4px; }
.entry > p:last-child { font-size: 15.5px; color: var(--muted); line-height: 1.55; margin-bottom: 0; }
.honors-list { list-style: none; padding: 0; margin: 0; }
.honors-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 13px; font-size: 15.5px; line-height: 1.55; }
.honors-list li + li { margin-top: 14px; }
.honor-year { color: var(--muted); }
.site-footer { margin: 58px 0 30px; padding-top: 19px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 13px; }

@media (max-width: 1000px) {
  .page-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 38px; }
  .header-inner nav { gap: 20px; }
  .publication { grid-template-columns: 145px minmax(0, 1fr); gap: 18px; }
  .publication-figure { height: 110px; }
  .publication-text { padding-left: 163px; }
  .section-heading { display: block; }
  .section-link { display: inline-block; margin-bottom: 7px; }
}

@media (max-width: 760px) {
  :root { --header-height: 62px; }
  html { scroll-padding-top: 83px; }
  .header-inner { padding: 0 20px; min-height: var(--header-height); justify-content: center; }
  .home-link { display: none; }
  .header-inner nav { width: 100%; justify-content: space-between; gap: 12px; }
  .header-inner nav a { font-size: 15px; }
  .header-inner nav a[href="#experience"] { max-width: 68px; text-align: center; line-height: 1.25; }
  .header-inner nav a[aria-current="location"]::after { bottom: -7px; }
  .page-layout { display: block; margin-top: 30px; padding: 0 24px; }
  .profile { position: static; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; margin-bottom: 41px; }
  .portrait { width: 130px; height: 165px; }
  .profile h1 { margin-top: 0; font-size: 28px; margin-bottom: 6px; }
  .profile-role { font-size: 15.5px; margin-bottom: 10px; }
  .profile-interests { display: none; }
  .profile-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .profile-links li + li { margin-top: 0; }
  .profile-links a { font-size: 14px; gap: 6px; }
  .profile-links .icon { width: 16px; height: 16px; flex-basis: 16px; }
  .email-address { margin-top: 10px; font-size: 12.5px; }
  h2 { font-size: 25px; margin-bottom: 18px; }
  main > section { margin-bottom: 40px; }
  .publication { grid-template-columns: 135px minmax(0, 1fr); gap: 18px; }
  .publication-figure { height: 106px; }
  .publication-text { padding-left: 153px; }
  .site-footer { margin-top: 40px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; line-height: 1.6; }
  .header-inner { padding: 0 17px; }
  .header-inner nav { gap: 10px; }
  .header-inner nav a { font-size: 14px; }
  .page-layout { padding: 0 20px; }
  .profile { grid-template-columns: 105px minmax(0, 1fr); gap: 19px; margin-bottom: 34px; }
  .portrait { width: 105px; height: 142px; }
  .profile h1 { font-size: 25px; }
  .profile-role { font-size: 14px; }
  .profile-links { gap: 6px 13px; }
  .profile-links a { font-size: 13px; }
  .profile-links .icon { display: none; }
  .email-address { font-size: 12px; margin-top: 8px; }
  blockquote { font-size: 17px; padding-left: 13px; }
  .publication { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 23px 0; }
  .publication-figure { width: 190px; height: 114px; margin-top: 0; }
  .publication-text { padding-left: 0; }
  .publication h3 { font-size: 18px; }
  .authors { font-size: 14px; }
  .publication-summary { font-size: 15px; }
  .entry-heading { display: block; }
  .entry { grid-template-columns: 40px minmax(0, 1fr); column-gap: 13px; }
  .entry-logo { width: 40px; height: 40px; }
  .entry-date { margin-top: 2px; }
  .entry-role, .entry > p:last-child { font-size: 15px; }
  .site-footer { flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 360px) {
  .header-inner { padding: 0 14px; }
  .header-inner nav { gap: 8px; }
  .header-inner nav a { font-size: 13px; }
}

@media print {
  .site-header, .skip-link { display: none; }
  .page-layout { margin-top: 0; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; padding: 0; }
  .profile { position: static; }
  .portrait { width: 150px; height: 180px; }
  .publication, .entry { break-inside: avoid; }
  a { color: inherit; }
  .publication-text { padding-left: 0; }
}
