@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #20252a;
  --muted: #555c61;
  --line: #dbe6f0;
  --blue: #24486b;
  --wash: #f3f8fd;
  --font: "Instrument Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 5.25rem; }
body { margin: 0; color: var(--ink); background: white; font: 1rem/1.65 var(--font); }
img { display: block; width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .21em; }
a:hover { color: #153351; }
a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #4579a9; outline-offset: 4px; }
p { margin: 0 0 .9rem; }
h1, h2, h3 { margin: 0; line-height: 1.18; }
h1, h2 { font-family: var(--font); font-weight: 550; letter-spacing: -.026em; }
h1 { font-size: clamp(2.28rem, 4.7vw, 3.44rem); }
h2 { font-size: clamp(1.7rem, 2.7vw, 2.12rem); }
h3 { font-size: 1.18rem; }
.wrap { width: min(66rem, calc(100% - 3.5rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .75rem; background: white; padding: .5rem; transform: translateY(-180%); z-index: 2; }
.skip:focus { transform: none; }
.header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: white;
  border-top: 1px solid rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(61, 72, 84, .09);
  box-shadow: 0 3px 10px rgba(31, 42, 55, .09), inset 0 1px 0 white;
}
@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
  .header {
    background: linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .69) 42%, rgba(255, 255, 255, .83));
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    backdrop-filter: blur(20px) saturate(145%);
  }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .65rem 2rem; }
.header-inner { min-height: 3.5rem; }
.brand { font-size: .98rem; font-weight: 650; color: var(--ink); white-space: nowrap; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem clamp(.65rem, 1.6vw, 1.4rem); }
nav a { color: var(--muted); font-size: .9rem; font-weight: 400; text-decoration: none; padding: .28rem .7rem; border-radius: 999px; }
nav a:hover, nav .home-tab { color: var(--blue); background: #e4effb; }
.homepage { padding-block: clamp(1.4rem, 3.2vw, 2.5rem) 3rem; }
mark { padding: .04em .17em; border-radius: .17em; background: transparent; font-weight: 670; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.section-heading a { font-size: .91rem; font-weight: 650; }
.home-section { margin-top: clamp(1.6rem, 3vw, 2.25rem); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem; border-bottom: 1px solid var(--line); padding-bottom: .65rem; }
.news-list { list-style: none; margin: 0; padding: .4rem 0 0; }
.news-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .35rem 1rem; padding-block: .46rem; }
.news-list time { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.news-list a { color: var(--ink); font-weight: 500; text-decoration-color: #a8bfd5; }
.research-meta { display: flex; flex-wrap: wrap; gap: .3rem .85rem; align-items: baseline; font-size: .88rem; }
.research-meta span { color: var(--muted); font-weight: 650; }
.award { width: fit-content; max-width: 100%; margin: .4rem 0 0; padding: .13rem .48rem; border: 1px solid #eccbd1; border-radius: .3rem; background: #faeef0; color: #8c2e43; font-size: .83rem; font-weight: 650; }
.footer { border-top: 1px solid var(--line); padding-block: 1.15rem; color: var(--muted); font-size: .875rem; }
.footer-legal { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: .25rem .55rem; margin-block: 0; text-align: center; }
.footer-policy-links { display: inline-flex; align-items: baseline; gap: .55rem; }
@media (max-width: 530px) {
  .footer-policy-links > span:first-child { display: none; }
}

.section { padding-block: clamp(2.6rem, 6vw, 5rem); }
.kicker { font-size: .875rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; color: var(--blue); margin-bottom: .6rem; }
.text-link { font-weight: 650; }
.archive { max-width: 62rem; }
.archive-intro { margin-bottom: 2rem; }
.archive-intro p:not(.kicker) { margin-top: .8rem; color: var(--muted); }
.filters { display: grid; grid-template-columns: minmax(0, 1fr) 10rem; gap: .5rem 1rem; padding: 1.1rem; background: var(--wash); border: 1px solid var(--line); border-radius: .4rem; }
.filters label { display: grid; gap: .25rem; font-size: .9rem; font-weight: 650; }
.filters input, .filters select { width: 100%; background: white; border: 1px solid #9eabc0; border-radius: .25rem; padding: .5rem; font: inherit; color: var(--ink); }
.filters p { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: var(--muted); }
.year-group { margin-top: 2.3rem; }
.year-group h2 { border-bottom: 2px solid var(--blue); padding-bottom: .55rem; }
.paper { display: flex; align-items: start; gap: 1rem; padding: 1.1rem .25rem; border-bottom: 1px solid var(--line); }
.paper:target { background: #eaf3fc; }
.paper-image { flex: 0 0 7.5rem; background: var(--wash); border: 1px solid var(--line); }
.paper-image img { aspect-ratio: 16 / 10; object-fit: cover; }
.paper-venue { color: var(--blue); font-size: .86rem; font-weight: 650; margin-bottom: .3rem; }
.authors { color: var(--muted); margin: .4rem 0 .25rem; font-size: .94rem; }
.authors strong { color: var(--ink); }
.paper-links { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .5rem; }
.paper-links a { background: var(--wash); border: 1px solid var(--line); border-radius: .22rem; padding: .05rem .45rem; font-size: .875rem; font-weight: 650; text-decoration: none; }
.paper-links a:hover { text-decoration: underline; }

@media (max-width: 750px) {
  .header-inner { flex-wrap: wrap; padding-block: .64rem; }
}
@media (max-width: 570px) {
  .wrap { width: calc(100% - 2rem); }
  nav { gap: .1rem .85rem; }
  nav a { font-size: .85rem; }
  .news-list li { grid-template-columns: 4.5rem 1fr; gap: .5rem; }
  .paper-image { flex-basis: 4.4rem; }
  .paper { gap: .65rem; }
  .filters { grid-template-columns: minmax(0, 1fr) 6.3rem; }
}

.news-panel { padding: 1rem 1.15rem; background: var(--wash); border: 1px solid var(--line); border-radius: .75rem; }
.news-panel h2 { font: 650 1rem/1.35 var(--font); letter-spacing: 0; }
.news-panel .section-heading a { font-size: .78rem; font-weight: 550; }
.news-list li { grid-template-columns: 4.7rem 1fr; gap: .65rem; font-size: .9rem; line-height: 1.48; }
.news-list time { font-size: .79rem; padding-top: .14rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.theme-text > h3 { font-family: var(--font); font-size: 1.36rem; color: var(--blue); }
.theme-papers { padding: 0; margin: .45rem 0 0; list-style: none; }
.theme-papers li { display: grid; grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr); gap: clamp(.85rem, 2.6vw, 1.65rem); padding: .6rem 0; border-bottom: 1px solid var(--line); }
.theme-papers li:last-child { border-bottom: 0; padding-bottom: 0; }
.theme-papers h4 { margin: 0; font-size: .98rem; line-height: 1.42; font-weight: 650; }
.research-authors { color: var(--muted); font-size: .84rem; margin: .2rem 0; }
.research-meta { font-size: .81rem; }
.research-meta span { font-weight: 500; }
@media (max-width: 570px) {
  html { scroll-padding-top: 7.8rem; }
  .header-inner { gap: .2rem; }
  nav { gap: .15rem; }
  nav a { padding-inline: .45rem; }
}
.older-updates { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .55rem; font-size: .84rem; }
.older-updates summary { color: var(--blue); font-weight: 600; cursor: pointer; }

.external-icon { display: inline-block; vertical-align: -.14em; margin-inline-start: .16em; }
.news-panel { background: transparent; border: 0; border-radius: 0; padding: 0; }
.news-panel h2 { font: 600 clamp(1.7rem, 2.7vw, 2.12rem)/1.18 var(--font); letter-spacing: -.024em; }
.news-list li { grid-template-columns: 5.5rem minmax(0, 1fr); }
.research-theme { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.publication-visual { margin: 0; }
.publication-visual img { aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--line); border-radius: .45rem; background: var(--wash); }
.funding-list dt { font-weight: 600; }
.funding-list dd { margin: .12rem 0 .65rem; color: var(--muted); }
@media (max-width: 570px) {

  .theme-papers li { grid-template-columns: minmax(5.4rem, 27%) minmax(0, 1fr); }
  .news-list li { grid-template-columns: 4.5rem minmax(0, 1fr); }
}


.academic-list dt { font-weight: 600; }
.academic-list dd { margin: .12rem 0 .65rem; color: var(--muted); }
.writing-article { max-width: 47rem; }
.writing-article h1 { margin: .65rem 0 .35rem; font-size: clamp(2rem, 4.6vw, 3rem); overflow-wrap: anywhere; }
.writing-article time { color: var(--muted); font-size: .9rem; }
.article-body { margin-top: 1.4rem; }
.article-body figure { margin: 1.1rem 0; }
.article-body figcaption { margin-top: .35rem; color: var(--muted); font-size: .9rem; }
.article-body img { width: auto; max-width: 100%; }
.article-body a { overflow-wrap: anywhere; }


.paper-abstract { margin-top: .42rem; }
.paper-abstract summary { color: var(--blue); cursor: pointer; width: fit-content; font-size: .86rem; font-weight: 550; }
.paper-abstract[open] { border-left: 2px solid var(--line); padding-left: .75rem; }
.paper-abstract p { color: var(--muted); margin: .42rem 0 .3rem; font-size: .91rem; line-height: 1.62; }
.overview {
  display: grid;
  grid-template-columns: minmax(12rem, 15rem) minmax(0, 1fr);
  gap: clamp(1.6rem, 3.6vw, 2.65rem);
  align-items: start;
  padding: .35rem 0 .9rem;
}
.profile { text-align: center; }
.portrait { width: clamp(7.75rem, 15vw, 9.75rem); margin: 0 auto .7rem; }
.portrait img { aspect-ratio: 1; object-fit: cover; border-radius: .7rem; border: 1px solid var(--line); }
.profile h1 { font-size: clamp(1.45rem, 2.5vw, 1.78rem); letter-spacing: -.025em; }
.position { color: var(--muted); font-size: .93rem; line-height: 1.5; margin: .45rem 0 0; }
.position a { font-weight: 550; }
.profile-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .22rem .8rem;
  margin: .72rem auto 0;
  max-width: 14rem;
}
.profile-links a, .pending-cv {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 1.9rem;
  text-decoration: none;
  font-size: .85rem;
}
.profile-links a:hover { text-decoration: underline; }
.pending-cv { color: var(--muted); }
.profile-links svg { width: 1rem; height: 1rem; flex: none; }
.profile-about { align-self: start; }
.profile-about h2 { margin: 0 0 .55rem; font-size: 1.3rem; line-height: 1; letter-spacing: -.01em; }
.intro { max-width: 66ch; font-size: clamp(1.03rem, 1.6vw, 1.14rem); line-height: 1.55; }
.bio { max-width: 75ch; color: var(--muted); line-height: 1.65; }
.overview mark { padding: 0 .06em; background: linear-gradient(transparent 69%, #e1effd 69%); color: var(--ink); font-weight: 550; }
@media (max-width: 700px) {
  .overview { grid-template-columns: 1fr; gap: 1.5rem; }
  .profile-about { border-top: 1px solid var(--line); padding: 1.05rem 0 0; }
}

.writing-page { max-width: 55rem; }
.writing-list { margin: 1.4rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.writing-list li { border-bottom: 1px solid var(--line); }
.media-post { display: grid; grid-template-columns: clamp(7rem, 24vw, 12.5rem) minmax(0, 1fr); align-items: center; gap: clamp(.85rem, 3vw, 1.6rem); padding: .95rem .1rem; text-decoration: none; color: var(--ink); }
.media-post-image { aspect-ratio: 16 / 10; object-fit: cover; border-radius: .45rem; background: var(--wash); border: 1px solid var(--line); }
.media-post-copy h3 { font-size: clamp(1.02rem, 2.3vw, 1.35rem); letter-spacing: -.015em; line-height: 1.26; }
.media-post-copy h3 a { color: var(--ink); text-decoration: none; }
.media-post-copy h3 a:hover { color: var(--blue); text-decoration: underline; }
.media-post-meta { color: var(--muted); font-size: .87rem; margin-bottom: .24rem; }
.media-post-meta span { margin-inline: .12rem; }
@media (max-width: 480px) {
  .media-post { grid-template-columns: minmax(5.6rem, 30%) minmax(0, 1fr); }
  .media-post-meta { font-size: .8rem; }
}



.profile-lab-logo { display: block; width: min(10rem, 100%); margin: .95rem auto 0; }
.course-term { color: var(--muted); font-size: .88rem; font-weight: 550; margin: 0 0 .25rem; }
.media-post-summary { color: var(--muted); margin: .45rem 0 0; font-size: .94rem; }
.media-coverage { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .6rem; font-size: .82rem; margin: .55rem 0 0; }
.media-coverage strong { font-weight: 600; color: var(--muted); }
.media-outlet { display: inline-flex; gap: .3rem; align-items: center; }
.media-outlet img { width: 1rem; height: 1rem; object-fit: contain; border-radius: .16rem; flex: none; }
.writing-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.writing-cards li { border: 1px solid var(--line); border-radius: .6rem; overflow: hidden; }
.writing-cards .media-post { display: block; padding: 0; }
.writing-cards .media-post-image { border-radius: 0; border: 0; }
.writing-cards .media-post-copy { padding: .85rem; }
.article-cover { margin-top: 1rem; width: 100%; height: auto; border-radius: .55rem; }
@media (max-width: 720px) {
  .writing-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 490px) {
  .writing-cards { grid-template-columns: 1fr; }
  .writing-list .media-post { align-items: start; }
}


.about-actions { display: flex; flex-wrap: wrap; gap: .55rem .7rem; margin-top: 1.05rem; }
.about-actions a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .65rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--wash); font-size: .9rem; font-weight: 550; text-decoration: none; }
.about-actions a:hover { border-color: #a7bdd2; background: #e8f2fc; }
.about-actions svg { flex: none; }
.about-actions .external-icon { margin: 0; }
