/* Haohong Ink: warm ivory, navy, serif headings and fine rules. */
:root {
  color-scheme:light;
  --bg:#FBF8F2;
  --surface:#F2F0EB;
  --ink:#001F44;
  --accent:#314E93;
  --muted:#5A6B7A;
  --line:#CBD4DD;
  --gold:#FFD74B;
  --sans:'Helvetica Neue',Arial,'Hiragino Sans GB','PingFang SC',sans-serif;
  --serif:Georgia,'Times New Roman','Songti SC',serif;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:108px;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:17px/1.7 var(--sans);
  -webkit-font-smoothing:antialiased;
}
a {
  color:var(--accent);
  text-decoration:none;
  text-underline-offset:5px;
}
a:hover {
  text-decoration:underline;
}
a:focus-visible,summary:focus-visible {
  outline:3px solid var(--ink);
  outline-offset:5px;
}
::selection {
  background:#f4dfa1;
  color:var(--ink);
}
h1,h2,h3,h4,p,figure {
  margin:0;
}
h1,h2,h3 {
  font-family:var(--serif);
  font-weight:400;
  line-height:1.2;
  letter-spacing:-.025em;
}
h4 {
  font-size:16px;
  font-weight:500;
}
em {
  font-style:normal;
  color:var(--accent);
}
.wrap {
  width:min(1180px,calc(100% - 112px));
  margin-inline:auto;
}
.mono,.eyebrow {
  font:400 12px/1.6 var(--sans);
  letter-spacing:.09em;
}
.eyebrow,.section-label>.mono,.section-heading .mono,.research-heading .mono {
  color:var(--muted);
  text-transform:uppercase;
}
.skip-link {
  position:fixed;
  top:-100px;
  left:20px;
  z-index:100;
  background:var(--ink);
  color:var(--bg);
  padding:12px 20px;
}
.skip-link:focus {
  top:12px;
}
.site-header {
  position:sticky;
  top:0;
  z-index:20;
  background:var(--bg);
  border-bottom:1px solid var(--line);
}
.nav-shell {
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.wordmark {
  font:24px/1.3 var(--serif);
  color:var(--ink);
  white-space:nowrap;
}
.wordmark-dot {
  color:var(--accent);
}
nav {
  display:flex;
  gap:26px;
}
nav a {
  font-size:13px;
  color:var(--muted);
  padding:24px 0;
  position:relative;
}
nav a[aria-current] {
  color:var(--ink);
}
nav a[aria-current]::after {
  content:'';
  position:absolute;
  bottom:16px;
  left:0;
  width:22px;
  height:3px;
  background:var(--gold);
}
.nav-contact {
  font-size:13px;
  border-bottom:1px solid var(--accent);
  padding:10px 0;
}
.nav-contact span {
  margin-left:8px;
}
.hero {
  display:grid;
  grid-template-columns:1.25fr 1fr;
  column-gap:70px;
  padding-top:84px;
}
.hero-main {
  padding-block:26px;
}
.hero-main>.eyebrow::before {
  content:'';
  display:block;
  width:48px;
  height:3px;
  background:var(--gold);
  margin-bottom:28px;
}
h1 {
  font-size:clamp(48px,5.7vw,80px);
  margin:18px 0 26px;
  line-height:1.04;
}
.name-period {
  color:var(--accent);
}
.hero-statement {
  font:clamp(27px,3vw,39px)/1.28 var(--serif);
  letter-spacing:-.025em;
}
.hero-description {
  max-width:510px;
  margin-top:24px;
  color:var(--muted);
  font-size:17px;
}
.hero-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:16px 23px;
  margin-top:32px;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:46px;
  padding:10px 19px;
  background:var(--accent);
  color:var(--bg);
  border:1px solid var(--accent);
  border-radius:3px;
  font-size:14px;
}
.button:hover {
  background:var(--ink);
  text-decoration:none;
}
.text-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  font-size:15px;
}
.hero-aside {
  min-width:0;
  align-self:center;
}
.hero-art {
  width:100%;
  height:auto;
  display:block;
  aspect-ratio:3/2;
  object-fit:contain;
  mix-blend-mode:multiply;
}
.profile-card {
  padding:24px 0 12px;
  border-top:1px solid var(--line);
  display:flex;
  gap:22px;
  align-items:flex-start;
}
.portrait-shell {
  position:relative;
  display:block;
  width:52px;
  height:52px;
  flex:none;
  border-radius:50%;
  overflow:hidden;
  background:var(--surface);
}
.portrait {
  position:absolute;
  inset:0;
  width:52px;
  height:52px;
  object-fit:cover;
}
.portrait[hidden] {
  display:none;
}
.portrait-fallback {
  display:grid;
  place-items:center;
  height:100%;
  font:22px var(--serif);
}
.affiliation {
  font-size:13px;
  line-height:1.6;
  color:var(--muted);
}
.affiliation-role {
  font-size:15px;
  color:var(--ink);
  margin-bottom:5px;
}
.location {
  margin-top:8px;
}
.spotlight {
  grid-column:1/-1;
  display:grid;
  grid-template-columns:180px 1fr auto;
  gap:32px;
  align-items:center;
  padding:26px 0;
  margin-top:42px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  color:var(--ink);
}
.spotlight:hover {
  text-decoration:none;
}
.spotlight h2 {
  font-size:29px;
  color:var(--accent);
}
.spotlight-top .eyebrow {
  display:block;
  margin-bottom:5px;
}
.spotlight>p {
  font:22px/1.35 var(--serif);
}
.spotlight-bottom {
  font-size:13px;
  color:var(--accent);
}
.hero-foot {
  grid-column:1/-1;
  display:flex;
  justify-content:space-between;
  gap:22px;
  padding:20px 0;
  color:var(--muted);
}
.hero-foot .mono {
  font-size:10px;
  letter-spacing:.05em;
}
.section {
  padding-block:96px;
}
.about {
  display:grid;
  grid-template-columns:1fr 1.2fr;
  grid-template-areas:'heading biography' 'education biography';
  gap:35px 85px;
  align-items:start;
}
.section-label {
  grid-area:heading;
}
.section-label h2 {
  font-size:38px;
  margin-top:16px;
}
.section-label h2 br {
  display:none;
}
.section-label h2 em::before {
  content:' ';
}
.about-content {
  grid-area:biography;
}
.about-content>p {
  color:var(--muted);
  margin-bottom:22px;
}
.about-content>.lead {
  font-size:20px;
  line-height:1.6;
  color:var(--ink);
}
.about-content>.text-link {
  font-size:13px;
  flex-wrap:wrap;
}
.education {
  grid-area:education;
  border-top:1px solid var(--line);
  padding-top:22px;
}
.education h3 {
  font:20px var(--serif);
  color:var(--accent);
  text-transform:none;
  letter-spacing:0;
}
.education-row {
  display:grid;
  grid-template-columns:102px 1fr;
  gap:16px;
  padding:19px 0;
  border-bottom:1px solid var(--line);
}
.education-row>.mono {
  font-size:11px;
  letter-spacing:0;
  color:var(--muted);
  padding-top:2px;
}
.education-row p {
  font-size:13px;
  line-height:1.6;
  color:var(--muted);
  margin-top:6px;
}
.cv-access {
  margin-top:27px;
  padding:22px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.cv-access h3 {
  font-size:23px;
  color:var(--accent);
}
.cv-access p {
  font-size:14px;
  color:var(--muted);
  margin:7px 0;
}
.cv-format {
  font-size:11px;
  color:var(--muted);
  letter-spacing:.03em;
}
.cv-variants {
  display:flex;
  flex-wrap:wrap;
  gap:6px 24px;
  margin-top:6px;
}
.cv-variants a {
  font-size:12px;
  padding:8px 0;
}
.research-band {
  border-block:1px solid var(--line);
  background:#F5F3EE;
}
.research-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:60px;
}
.research-heading h2 {
  font-size:42px;
  margin-top:15px;
}
.research-heading>p {
  font-size:14px;
  line-height:1.8;
  color:var(--muted);
  max-width:260px;
}
.research-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:30px;
  margin-top:50px;
}
.research-grid article {
  border-top:1px solid var(--line);
  padding-top:22px;
}
.research-index {
  font:22px var(--serif);
  color:var(--accent);
}
.research-grid h3 {
  font-size:23px;
  margin:20px 0 13px;
}
.research-grid h3 br {
  display:none;
}
.research-grid p {
  font-size:14px;
  line-height:1.75;
  color:var(--muted);
}
.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:35px;
  margin-bottom:36px;
}
.section-heading h2 {
  font-size:48px;
  margin-top:14px;
}
.section-heading>.text-link {
  font-size:14px;
  white-space:nowrap;
}
.selected-papers {
  border-top:1px solid var(--line);
}
.selected-papers>.paper {
  display:grid;
  grid-template-columns:66px 1fr;
  padding:32px 0;
  border-bottom:1px solid var(--line);
}
.paper-number {
  font:26px var(--serif);
  color:var(--muted);
  padding-top:5px;
}
.paper-body {
  min-width:0;
}
.paper-kicker {
  display:flex;
  gap:12px;
  color:var(--muted);
  font-size:11px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.paper-kicker span+span::before {
  content:' / ';
  margin-right:12px;
  color:var(--muted);
}
.paper h3 {
  font-size:25px;
  line-height:1.38;
  max-width:920px;
  margin:12px 0;
}
.paper h3 a {
  color:var(--ink);
}
.paper-arrow {
  display:inline-block;
  margin-left:10px;
  color:var(--accent);
  font:18px var(--sans);
}
.paper-authors {
  font-size:14px;
  color:var(--muted);
  line-height:1.75;
}
.me {
  color:var(--ink);
  font-weight:500;
}
.venue {
  font-style:italic;
}
.paper-keywords {
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:7px 18px;
  padding:0;
  margin:13px 0 0;
}
.paper-keywords li {
  color:var(--accent);
  font-size:12px;
  line-height:1.6;
}
.paper-keywords li::before {
  content:'';
  display:inline-block;
  width:4px;
  height:4px;
  border:1px solid var(--accent);
  border-radius:50%;
  margin-right:7px;
  vertical-align:middle;
}
.publication-archive {
  margin-top:24px;
  border:1px solid var(--line);
  border-radius:3px;
}
.publication-archive summary {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  padding:20px 24px;
  cursor:pointer;
  list-style:none;
  font-size:16px;
}
.publication-archive summary::-webkit-details-marker {
  display:none;
}
.archive-count {
  font-size:12px;
  color:var(--muted);
  margin-left:18px;
}
.expand-icon {
  position:relative;
  display:block;
  flex:0 0 28px;
  width:28px;
  height:28px;
  color:var(--accent);
  transition:transform .2s;
}
.expand-icon::before,.expand-icon::after {
  content:'';
  position:absolute;
  left:50%;
  top:50%;
  height:2px;
  width:14px;
  border-radius:1px;
  background:currentColor;
  transform:translate(-50%,-50%);
}
.expand-icon::after {
  transform:translate(-50%,-50%) rotate(90deg);
}
.publication-archive[open] .expand-icon {
  transform:rotate(45deg);
}
.archive-content {
  padding:0 24px;
}
.archive-year {
  display:grid;
  grid-template-columns:70px 1fr;
  gap:24px;
  border-top:1px solid var(--line);
}
.archive-year>h3 {
  font-size:23px;
  padding-top:24px;
  color:var(--accent);
}
.archive-year .paper {
  padding:23px 0;
  border-bottom:1px solid var(--line);
}
.archive-year .paper:last-child {
  border-bottom:0;
}
.archive-year .paper h3 {
  font-size:20px;
}
.projects {
  padding-top:0;
}
.project-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0 36px;
}
.project {
  display:flex;
  flex-direction:column;
  padding:30px 0;
  border-top:1px solid var(--line);
  color:var(--ink);
}
.project:hover {
  text-decoration:none;
}
.project-top {
  display:flex;
  align-items:center;
  gap:18px;
  color:var(--muted);
}
.project-icon {
  display:block;
  width:64px;
  height:64px;
  flex:none;
  object-fit:contain;
}
.project-top .mono {
  font-size:11px;
  letter-spacing:.035em;
  max-width:150px;
}
.project h3 {
  font-size:29px;
  margin-top:20px;
  overflow-wrap:anywhere;
}
.project>p {
  font-size:15px;
  line-height:1.75;
  color:var(--muted);
  margin:14px 0 20px;
}
.project-bottom {
  margin-top:auto;
  color:var(--accent);
  font-size:13px;
  text-decoration:underline;
  text-underline-offset:5px;
}
.project:hover h3 {
  color:var(--accent);
}
.footer {
  background:#EFEEE8;
  border-top:1px solid var(--line);
  padding-top:60px;
}
.footer-main {
  display:flex;
  justify-content:space-between;
  gap:45px;
  padding-bottom:55px;
}
.footer .mono {
  color:var(--muted);
}
.footer h2 {
  font-size:44px;
  margin:16px 0 22px;
}
.email-link {
  font-size:19px;
}
.footer-links {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-content:center;
  gap:14px 30px;
  font-size:14px;
}
.footer-bottom {
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  padding:19px 0 24px;
  color:var(--muted);
  font-size:11px;
}
@media(max-width:1050px) {
  .wrap {
    width:calc(100% - 64px);
  }
  .hero {
    gap:32px;
    padding-top:55px;
  }
  .hero-statement {
    font-size:30px;
  }
  .hero-description {
    font-size:16px;
  }
  .hero-actions {
    gap:10px 16px;
  }
  .about {
    gap:30px 45px;
  }
  .research-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:30px;
  }
  .research-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:22px;
  }
  .research-heading>p {
    max-width:100%;
  }
  .research-heading>p br {
    display:none;
  }
  .project-grid {
    gap:0 26px;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .nav-contact {
    display:none;
  }
}
@media(max-width:720px) {
  html {
    scroll-padding-top:115px;
  }
  .wrap {
    width:calc(100% - 40px);
  }
  .nav-shell {
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding-top:15px;
    min-height:96px;
  }
  .wordmark {
    font-size:23px;
  }
  nav {
    width:100%;
    justify-content:space-between;
    gap:15px;
  }
  nav a {
    padding:10px 0 13px;
    min-height:44px;
  }
  nav a[aria-current]::after {
    bottom:5px;
  }
  .hero {
    grid-template-columns:1fr;
    gap:0;
    padding-top:35px;
  }
  .hero-main {
    padding-block:12px;
  }
  .hero-main>.eyebrow {
    font-size:11px;
  }
  .hero-main>.eyebrow::before {
    margin-bottom:24px;
  }
  h1 {
    font-size:clamp(44px,10.9vw,68px);
    margin-block:17px 23px;
  }
  .hero-statement {
    font-size:31px;
  }
  .hero-description {
    font-size:16px;
  }
  .hero-actions {
    gap:12px 18px;
    margin-top:25px;
  }
  .hero-actions .text-link {
    font-size:14px;
  }
  .hero-aside {
    margin-top:25px;
    display:flex;
    flex-direction:column;
  }
  .hero-art {
    max-height:230px;
    object-fit:cover;
    object-position:bottom;
  }
  .profile-card {
    padding-top:20px;
    gap:18px;
  }
  .affiliation {
    font-size:13px;
  }
  .spotlight {
    grid-template-columns:1fr;
    gap:12px;
    margin-top:28px;
    padding:23px 0;
  }
  .spotlight>p {
    font-size:22px;
  }
  .spotlight-bottom {
    margin-top:4px;
  }
  .hero-foot {
    padding:17px 0;
  }
  .hero-foot>a {
    display:none;
  }
  .section {
    padding-block:60px;
  }
  .about {
    grid-template-columns:1fr;
    grid-template-areas:'heading' 'biography' 'education';
    gap:28px;
  }
  .section-label h2 {
    font-size:34px;
    max-width:500px;
  }
  .about-content>.lead {
    font-size:19px;
  }
  .about-content>p {
    font-size:16px;
  }
  .education-row {
    grid-template-columns:94px 1fr;
    gap:14px;
  }
  .cv-variants {
    gap:0 22px;
  }
  .research-heading h2 {
    font-size:34px;
  }
  .research-heading h2 br {
    display:none;
  }
  .research-grid {
    grid-template-columns:1fr 1fr;
    gap:30px 22px;
    margin-top:30px;
  }
  .research-grid h3 {
    font-size:23px;
  }
  .research-grid p {
    font-size:14px;
  }
  .section-heading {
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
    margin-bottom:25px;
  }
  .section-heading h2 {
    font-size:39px;
  }
  .selected-papers>.paper {
    grid-template-columns:30px 1fr;
    gap:12px;
    padding-block:25px;
  }
  .paper-number {
    font-size:19px;
  }
  .paper h3 {
    font-size:22px;
  }
  .paper-authors {
    font-size:13px;
  }
  .paper-keywords {
    gap:7px 13px;
  }
  .paper-keywords li {
    font-size:11px;
  }
  .publication-archive summary {
    padding:18px;
  }
  .archive-count {
    display:block;
    margin:3px 0 0;
  }
  .archive-content {
    padding-inline:18px;
  }
  .archive-year {
    grid-template-columns:1fr;
    gap:0;
  }
  .archive-year>h3 {
    padding-top:20px;
  }
  .archive-year .paper h3 {
    font-size:20px;
  }
  .project-grid {
    grid-template-columns:1fr;
    gap:0;
  }
  .project {
    padding-block:25px;
  }
  .project h3 {
    font-size:29px;
  }
  .projects {
    padding-top:0;
  }
  .footer {
    padding-top:42px;
  }
  .footer-main {
    flex-direction:column;
    gap:30px;
    padding-bottom:35px;
  }
  .footer h2 {
    font-size:37px;
  }
  .footer-links {
    justify-content:start;
    gap:12px 32px;
  }
  .footer-bottom {
    flex-wrap:wrap;
    gap:8px 20px;
  }
  .footer-bottom>a {
    margin-left:auto;
  }
}
@media(max-width:380px) {
  .research-grid {
    grid-template-columns:1fr;
  }
  .education-row {
    grid-template-columns:1fr;
    gap:4px;
  }
  .hero-actions {
    gap:10px 14px;
  }
  .button {
    font-size:13px;
    padding-inline:14px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
  }
}
@media(forced-colors:active) {
  .button,.publication-archive {
    border:1px solid ButtonText;
  }
  .project-icon {
    forced-color-adjust:none;
  }
  .expand-icon {
    color:ButtonText;
  }
  nav a[aria-current] {
    text-decoration:underline;
  }
}
@media print {
  body {
    background:white;
    font-size:10pt;
  }
  .wrap {
    width:100%;
  }
  .site-header,.hero-art,.hero-actions,.hero-foot,.spotlight,.cv-access,.footer-links {
    display:none;
  }
  .hero,.about {
    display:block;
    padding:0;
  }
  .hero-aside {
    margin-top:20px;
  }
  .hero-main {
    padding:0;
  }
  h1 {
    font-size:32pt;
  }
  .section {
    padding-block:25px;
  }
  .research-grid,.project-grid {
    grid-template-columns:1fr 1fr;
  }
  .section-heading h2,.research-heading h2,.section-label h2 {
    font-size:24pt;
  }
  .paper,.project {
    break-inside:avoid;
  }
  .footer {
    background:white;
    padding-top:20px;
  }
}
