:root {
  --paper: #fbf8f2;
  --ink: #273342;
  --muted: #647084;
  --accent: #456887;
  --line: #e6e1d7;
  --heading: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
  --body: 'Segoe UI', Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); background-image: radial-gradient(ellipse at 4% 0, #f7e5d98c, transparent 35rem), radial-gradient(ellipse at 96% 3%, #e8eee180, transparent 32rem); background-repeat: no-repeat; color: var(--ink); font: 19px/1.8 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: underline; text-decoration-color: #bacbdc; text-underline-offset: 3px; }
a:hover { color: #193b5b; text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); }
.page { width: min(1120px, calc(100% - 64px)); margin: 34px auto 0; }
.page > main { min-width: 0; }
.skip-link { position: absolute; top: -100px; left: 20px; background: white; padding: 8px 12px; z-index: 10; }
.skip-link:focus { top: 8px; }

.profile-header { padding: 32px 34px 0; background: linear-gradient(145deg, #f6f8f0, #fffaf3 72%); border: 1px solid #e7e4d9; border-radius: 24px; box-shadow: 0 9px 28px #75664b0a; }
.profile-summary { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-bottom: 28px; }
.profile-text { min-width: 0; }
.profile-header h1 { color: #22354c; font-size: 48px; font-weight: 650; line-height: 1.2; letter-spacing: -1.2px; }
.profile-focus { font-size: 21px; font-weight: 500; color: var(--accent); margin-top: 9px; }
.profile-specialties { color: #60758b; font-size: 16px; margin-top: 7px; line-height: 1.8; }
.affiliation { font-size: 17px; color: var(--muted); line-height: 1.8; margin-top: 15px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 11px; align-items: baseline; margin-top: 15px; font-size: 17px; }
.profile-links > span { color: #a3adba; }
.profile-portrait { position: relative; width: 244px; max-width: 100%; margin: 0; flex: 0 0 auto; padding: 9px 9px 12px; background: #fffefa; border: 1px solid #e8e2d8; border-radius: 12px; box-shadow: 0 12px 25px #66543c1a, 0 2px 4px #66543c08; transform: rotate(-1.5deg); }
.profile-photo { display: block; width: 100%; height: auto; border-radius: 7px; }
.profile-portrait figcaption { margin-top: 9px; color: #697a76; text-align: center; font-size: 14px; line-height: 1.5; letter-spacing: .2px; }
.portrait-sparkle { position: absolute; right: -12px; top: 8px; display: grid; place-items: center; width: 38px; height: 38px; background: #f4d7b8; color: #876337; border: 3px solid #fffdf8; border-radius: 50%; font-size: 23px; line-height: 1; transform: rotate(14deg); }
.section-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid #e1e5da; padding: 16px 0; font-size: 17px; }
.section-nav a { text-decoration: none; color: #4e6279; }
.section-nav a:hover { color: #203e5c; text-decoration: underline; }
.introduction { max-width: 900px; margin: 30px 0 0; color: #4e5b6b; font-size: 19px; line-height: 1.9; }
.intro-label { color: #6b829b; font-size: 14px; font-weight: 650; letter-spacing: 1.7px; margin-bottom: 12px; }
.intro-lead { color: #2c445d; font-size: 23px; line-height: 1.65; font-weight: 500; }
.introduction p + p { margin-top: 15px; }
.opportunity-note { font-size: 18px; padding-left: 15px; border-left: 3px solid #a9bfd3; }
.introduction strong { color: #35485e; font-weight: 600; }
.page main > section:not(.introduction) { margin-top: 44px; padding-top: 31px; border-top: 1px solid var(--line); }
.page h2 { color: #283e55; font-size: 31px; line-height: 1.45; font-weight: 600; letter-spacing: -.5px; margin-bottom: 23px; }
.page h3 { font-size: 24px; line-height: 1.5; font-weight: 600; color: #293c50; letter-spacing: -.2px; }
.section-intro { color: var(--muted); font-size: 18px; margin-top: -12px; margin-bottom: 27px; max-width: 850px; }

.project-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.project { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 26px 28px; border: 1px solid #e8e4dc; border-radius: 20px; background: #fffefa; box-shadow: 0 5px 22px #78674c08; }
.project-featured { background: linear-gradient(140deg, #fffefa, #f7faf3); }
.project-kicker { color: #53789b; font-size: 14px; font-weight: 650; letter-spacing: .6px; margin-bottom: 11px; }
.featured-details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.featured-details h4 { margin-top: 0; }
.featured-details .project-overview { margin-top: 9px; }
.featured-details .contributions { margin-bottom: 0; }
.project-featured > .engineering-value { margin-top: 22px; }
.project > .resource-links { padding-top: 15px; margin-top: auto; }
.system-model { margin: 20px 0 6px; min-width: 0; }
.model-image-link { display: block; border-radius: 18px; overflow: hidden; background: #fbefe2; text-decoration: none; }
.model-image-link img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.result-figure .model-image-link img { aspect-ratio: auto; }
.model-image-link:hover { outline: 1px solid #bfd0e0; outline-offset: 2px; }
.system-model figcaption { margin-top: 9px; }
.model-caption-row { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: 5px 15px; font-size: 15px; line-height: 1.65; }
.model-label { font-weight: 600; color: #607991; }
.model-caption-row a { font-size: 15px; }
.model-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.system-model .model-provenance { margin-top: 4px; font-size: 14px; line-height: 1.7; color: #667487; }
.project .model-image-link { max-width: 1000px; margin-inline: auto; }
.publication-list .system-model { margin-top: 18px; margin-bottom: 12px; }
.publication-list .model-image-link { max-width: 1000px; margin-inline: auto; }
.publication-list .model-provenance { font-size: 14px; color: #667487; }
.project:first-of-type { border-top: 3px solid #b0c4a2; padding-top: 24px; }
.project:last-child { margin-bottom: 0; }
.entry-context { font-size: 16px; color: var(--muted); margin-top: 7px; }
.project-overview { font-size: 18px; line-height: 1.85; color: #536173; margin-top: 16px; }
.project h4 { font-size: 17px; font-weight: 650; color: #3d5b77; margin-top: 19px; }
.contributions { padding-left: 22px; margin: 10px 0 16px; font-size: 18px; line-height: 1.85; }
.contributions li { padding-left: 3px; margin: 7px 0; }
.contributions li::marker { color: #8c9bad; }
.engineering-value { font-size: 17px; color: #455c72; line-height: 1.85; background: #f3f6ef; border-left: 2px solid #b8c9ac; padding: 12px 15px; margin-bottom: 16px; border-radius: 0 10px 10px 0; }
.engineering-value strong { font-weight: 600; }
.project-topics { color: #53677c; font-size: 16px; line-height: 1.8; }
.project-topics strong { font-weight: 600; }
.project-note { font-size: 16px; color: #65768a; margin-top: 8px; }
.resource-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-top: 12px; font-size: 16px; }
.resource-placeholder { color: #768190; cursor: default; }
.project-result { color: #768190; margin-left: 3px; }
.publication-list { padding-left: 24px; margin: 0; }
.publication-list > li { padding-left: 9px; margin-bottom: 28px; }
.publication-list > li:last-child { margin-bottom: 0; }
.publication-list > li::marker { color: #8492a2; font-size: 17px; }
.page .publication-list h3 { font-size: 20px; line-height: 1.65; }
.publication-list p { font-size: 17px; margin-top: 6px; color: #586575; line-height: 1.8; }
.publication-list .publication-summary { color: #4e647b; font-size: 17px; padding-left: 12px; border-left: 2px solid #dce6f0; margin-top: 9px; }
.publication-list strong { font-weight: 650; color: #344a61; }
.publication-list .publication-venue { color: #61748a; }
.publication-status { font-style: italic; }
.publication-list .resource-links { margin-top: 8px; }
.research-results { margin: 24px 0 20px; padding-top: 20px; border-top: 1px solid #dfe8ec; }
.page .research-results h4 { margin: 0 0 13px; color: #3c5f70; font-size: 18px; font-weight: 600; line-height: 1.6; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.metric-card { padding: 15px 16px; border: 1px solid #e1e8d9; border-radius: 14px; background: #f1f6ed; min-width: 0; }
.metric-value { display: block; color: #2d6654; font-size: 30px; line-height: 1.25; font-weight: 650; letter-spacing: -.6px; }
.metric-label { display: block; margin-top: 8px; font-size: 15px; color: #526e63; line-height: 1.65; }
.research-results .metric-context, .publication-list .research-results .metric-context { color: #627078; margin-top: 13px; font-size: 15px; line-height: 1.85; }
.metric-source { display: inline-block; font-size: 15px; margin-top: 9px; }
.research-results + .research-results { margin-top: 20px; }
.publication-list h3 a { color: #2b4966; text-decoration: none; }
.publication-list h3 a:hover { color: #1e628f; text-decoration: underline; text-decoration-color: #a0bfd8; }
.paper-link { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; font-weight: 550; }
.submission-status { color: #866642; font-size: 16px; }
.publication-status { color: #866642; font-size: 16px; }
.scholar-link { display: inline-flex; gap: 6px; align-items: center; margin-left: 7px; white-space: nowrap; }

@media (min-width: 900px) {
  .featured-details { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; }
}
@media (min-width: 1280px) {
  .page { display: grid; grid-template-columns: 300px minmax(0, 1fr); width: min(1540px, calc(100% - 80px)); column-gap: 44px; row-gap: 24px; align-items: start; margin-top: 30px; }
  .profile-header { grid-column: 1; grid-row: 1 / span 2; padding: 24px 22px 0; border-radius: 24px; }
  .profile-summary { flex-direction: column-reverse; align-items: flex-start; gap: 20px; padding-bottom: 20px; }
  .profile-portrait { width: 232px; align-self: center; }
  .profile-header h1 { font-size: 40px; letter-spacing: -.8px; }
  .profile-focus { font-size: 20px; line-height: 1.55; }
  .profile-specialties { display: none; }
  .affiliation { font-size: 16px; line-height: 1.7; }
  .profile-links { gap: 6px 15px; font-size: 16px; }
  .profile-links > span { display: none; }
  .profile-links > a:first-child { flex-basis: 100%; }
  .section-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 17px 0; font-size: 16px; }
  .section-nav a { border: 1px solid #e0e5d8; border-radius: 12px; background: #fffefa; padding: 6px 8px; text-align: center; }
  .section-nav a:hover { background: #f1f5ea; border-color: #b3c3a8; text-decoration: none; }
  .page > main { grid-column: 2; grid-row: 1; }
  .introduction { margin-top: 0; max-width: none; }
  .introduction > p { max-width: 900px; }
  .intro-lead { font-size: 29px; line-height: 1.6; max-width: 930px; }
  .opportunity-note { background: #edf2e7; padding: 11px 16px; border-radius: 0 12px 12px 0; border-color: #b3c4a5; }
  .page h2 { font-size: 32px; }
  .project { padding: 25px 25px; }
  .page .project h3 { font-size: 24px; }
  .page .project-featured h3 { font-size: 28px; }
  .publication-list { padding: 0; list-style: none; counter-reset: publications 6; }
  .publication-list > li { position: relative; counter-increment: publications -1; padding: 23px 25px 23px 58px; margin-bottom: 20px; background: #fffefa; border: 1px solid #e8e4dc; border-radius: 20px; }
  .publication-list > li::before { content: counter(publications, decimal-leading-zero); position: absolute; top: 27px; left: 19px; color: #8b9cb0; font-size: 14px; font-weight: 600; }
  .site-footer { grid-column: 2; grid-row: 2; margin-top: 12px; }
}
@media (min-width: 1700px) {
  .page { grid-template-columns: 320px minmax(0, 1fr); column-gap: 54px; }
  .profile-header { padding-inline: 25px; }
  .profile-portrait { width: 248px; }
  .project { padding: 28px 29px; }
}
@media (min-width: 1280px) and (max-height: 760px) {
  .profile-summary { gap: 15px; padding-bottom: 17px; }
  .profile-header h1 { font-size: 36px; }
  .profile-focus { font-size: 18px; }
  .affiliation { font-size: 15px; margin-top: 11px; }
  .profile-links { font-size: 15px; margin-top: 12px; }
  .section-nav { padding-block: 13px; }
}

.skills-list { display: grid; grid-template-columns: 195px minmax(0, 1fr); gap: 17px 28px; margin: 0; font-size: 18px; }
.skills-list dt { color: #344b63; font-weight: 600; }
.skills-list dd { margin: 0; color: #536173; }
.education-entry { margin-bottom: 25px; }
.education-entry:last-child { margin-bottom: 0; }
.entry-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 25px; }
.page .education-entry h3 { font-size: 20px; }
.entry-date { font-size: 16px; white-space: nowrap; color: var(--muted); }
.education-entry > p { margin-top: 7px; font-size: 18px; }
.education-entry > .entry-context { font-size: 17px; }
.awards-list { padding-left: 22px; margin: 0 0 17px; font-size: 18px; }
.awards-list li + li { margin-top: 5px; }
.awards-list + p { font-size: 18px; color: #536173; }
#contact > p { font-size: 19px; color: #536173; max-width: 880px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 15px 28px; margin-top: 18px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 23px 0 32px; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }

@media (max-width: 640px) {
  .page { width: calc(100% - 36px); margin-top: 22px; }
  .profile-header { padding: 23px 20px 0; border-radius: 20px; }
  .profile-summary { flex-direction: column-reverse; align-items: flex-start; gap: 26px; padding-bottom: 20px; }
  .profile-header h1 { font-size: 40px; letter-spacing: -.8px; }
  .profile-focus { font-size: 18px; margin-top: 8px; }
  .profile-specialties { font-size: 15px; }
  .affiliation { font-size: 16px; margin-top: 12px; }
  .profile-links { font-size: 16px; gap: 8px; margin-top: 12px; }
  .profile-portrait { width: clamp(184px, 45vw, 216px); align-self: center; }
  .section-nav { gap: 10px 22px; font-size: 16px; padding-block: 13px; }
  .introduction { margin-top: 24px; font-size: 18px; }
  .intro-lead { font-size: 21px; }
  .opportunity-note { font-size: 17px; }
  .page main > section:not(.introduction) { margin-top: 34px; padding-top: 25px; }
  .page h2 { font-size: 28px; margin-bottom: 22px; }
  .page h3 { font-size: 22px; }
  .section-intro { font-size: 17px; margin-bottom: 23px; }
  .project { padding: 22px 20px; border-radius: 18px; }
  .project:first-of-type { padding-top: 20px; }
  .project-overview, .contributions { font-size: 18px; }
  .engineering-value { padding: 11px 13px; font-size: 17px; }
  .entry-heading { display: block; }
  .skills-list { grid-template-columns: 1fr; gap: 4px; }
  .skills-list dd + dt { margin-top: 9px; }
  .publication-list { padding-left: 19px; }
  .publication-list > li { padding-left: 3px; }
  .page .publication-list h3 { font-size: 19px; }
  .page .education-entry h3 { font-size: 19px; }
}
@media (max-width: 480px) {
  .metric-grid, .project:not(.project-featured) .metric-grid { grid-template-columns: 1fr; }
  .profile-header h1 { font-size: 36px; }
}
@media (min-width: 481px) and (max-width: 760px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .profile-header { padding-inline: 16px; }
  .profile-portrait { width: 176px; }
  .profile-header h1 { font-size: 34px; }
  .section-nav { gap: 9px 15px; }
}
@media print {
  body { background: white; }
  .page { display: block; width: 100%; margin: 0; }
  .profile-header { position: static; padding: 0; border: 0; background: white; box-shadow: none; }
  .section-nav, .skip-link, .site-footer { display: none; }
  .profile-portrait { width: 100px; transform: none; box-shadow: none; }
  .profile-portrait figcaption, .portrait-sparkle { display: none; }
  .project { box-shadow: none; }
  .system-model { break-inside: avoid; }
  .model-caption-row a { display: none; }
  .project-grid, .featured-details { display: block; }
  .project { margin-bottom: 20px; }
  .project, .publication-list > li, .education-entry { break-inside: avoid; }
  .page h2 { break-after: avoid; }
}
