/* A small, self-contained stylesheet. No framework or remote fonts required. */
:root {
  --paper: #faf9f6;
  --ink: #252c35;
  --muted: #677078;
  --accent: #315e80;
  --line: #e3e4df;
  --tint: #edf1f2;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.8 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
  border-radius: 2px;
}
::selection {
  background: #d5e3e9;
}
p {
  margin: 0 0 18px;
}
h1,
h2,
h3,
h4 {
  line-height: 1.3;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h2 {
  font-size: 30px;
  letter-spacing: -0.7px;
  margin: 0;
}
h3 {
  margin: 30px 0 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--muted);
}
b,
strong {
  font-weight: 600;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  padding: 10px 20px;
  background: var(--ink);
  color: white;
  z-index: 20;
}
.skip-link:focus {
  top: 8px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 249, 246, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1100px;
  margin: auto;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.wordmark {
  color: var(--ink);
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.wordmark span {
  color: var(--accent);
}
.header-inner nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}
.header-inner nav a {
  color: var(--muted);
}
.header-inner nav a:hover,
.header-inner nav a[aria-current] {
  color: var(--accent);
}
.page {
  max-width: 1100px;
  margin: auto;
  padding: 0 40px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 240px;
  align-items: center;
  gap: 70px;
  padding: 40px 0 35px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 650;
  color: var(--muted);
}
.hero .eyebrow {
  color: var(--accent);
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(44px, 5.4vw, 64px);
  letter-spacing: -2.8px;
  margin: 0 0 18px;
}
h1 span {
  color: var(--accent);
}
.hero-description {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.4;
  letter-spacing: -0.4px;
  margin-bottom: 20px;
  color: #4c555d;
}
.affiliation {
  font-size: 12px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  font-size: 12px;
}
.button {
  display: inline-flex;
  gap: 25px;
  padding: 11px 19px;
  background: var(--accent);
  color: white;
  border-radius: 4px;
  transition: background 0.2s;
}
.button:hover {
  background: #244b68;
  text-decoration: none;
}
.text-link {
  font-weight: 550;
}
.text-link span {
  margin-left: 9px;
}
.portrait {
  margin: 0;
  transform: rotate(2deg);
}
.portrait img {
  display: block;
  width: 240px;
  height: 270px;
  object-fit: cover;
  border-radius: 7px;
  background: var(--tint);
  filter: saturate(0.8);
}
.portrait figcaption {
  margin-top: 15px;
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  transform: rotate(-2deg);
}
.location-dot {
  display: inline-block;
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #76907a;
  vertical-align: middle;
  margin-right: 6px;
}
.content-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 60px;
  padding-top: 30px;
}
.sidebar {
  position: sticky;
  top: 116px;
  align-self: start;
  font-size: 12px;
}
.sidebar .eyebrow {
  margin-bottom: 16px;
}
.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.social-links img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.social-links a:hover {
  background: var(--tint);
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background 0.2s;
}
.page-index {
  display: grid;
  gap: 8px;
  margin-top: 0;
  padding-top: 0;
}
.page-index .eyebrow {
  margin-bottom: 4px;
}
.page-index a {
  color: var(--muted);
  border-left: 2px solid transparent;
  padding-left: 12px;
  margin-left: -13px;
}
.page-index a[aria-current],
.page-index a:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}
.main-content {
  min-width: 0;
  font-size: 14px;
}
.content-section {
  padding-bottom: 45px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 26px;
}
.section-number {
  font-size: 10px;
  color: #8b969c;
  font-variant-numeric: tabular-nums;
}
#aboutme p {
  line-height: 1.95;
}
.research-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.research-topics span {
  font-size: 10px;
  color: #536976;
  border: 1px solid #dae3e7;
  padding: 3px 10px;
  border-radius: 3px;
}
/* Year labels and a continuous vertical rail keep news easy to scan. */
.news-year {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
}
#news .news-year h3 {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.5px;
  margin: 0;
  padding-top: 1px;
  line-height: 1.7;
  font-variant-numeric: tabular-nums;
}
#news ul {
  list-style: none;
  padding: 0 0 12px;
  margin: 0;
  border-left: 1px solid #d6e0e6;
}
#news li {
  position: relative;
  padding: 0 0 10px 18px;
  font-size: 12px;
  line-height: 1.7;
}
#news li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #8ca5b5;
  border-radius: 50%;
  position: absolute;
  left: -3px;
  top: 7px;
  box-shadow: 0 0 0 3px var(--paper);
}
.news-archive {
  margin-top: 0;
}
.news-archive summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 11px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-left: 64px;
  padding: 4px 0;
}
.news-archive summary::-webkit-details-marker {
  display: none;
}
.news-toggle {
  font-size: 16px;
  transition: transform 0.2s;
}
.news-archive[open] .news-toggle {
  transform: rotate(45deg);
}
.news-hide,
.news-archive[open] .news-show {
  display: none;
}
.news-archive[open] .news-hide {
  display: inline;
}
.news-archive > .news-timeline {
  padding-top: 18px;
}
@media (max-width: 440px) {
  .news-year {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }
  #news li {
    padding-left: 14px;
  }
  .news-archive summary {
    margin-left: 50px;
  }
}
.publication {
  margin-bottom: 28px;
  padding-left: 17px;
  border-left: 2px solid #dce4e8;
}
.publication h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin: 0 0 8px;
}
.publication .authors {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 5px;
  color: var(--muted);
}
.authors u {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.publication .venue {
  font-size: 12px;
  margin-bottom: 9px;
}
.venue i {
  font-style: normal;
}
.resources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.resources a {
  border: 1px solid #d9e2e7;
  border-radius: 3px;
  font-size: 10px;
  padding: 1px 8px;
  transition: background 0.2s;
}
.resources a:hover {
  background: #e5edf1;
  text-decoration: none;
}
.resource-note {
  font-size: 10px;
  color: var(--muted);
  margin-left: 3px;
}
.contact-section {
  padding: 10px 0 65px;
}
.contact-section .eyebrow {
  color: var(--accent);
}
.contact-section h2 {
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.contact-section > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
}
.contact-email {
  font-size: 17px;
  display: inline-block;
  margin: 5px 0 15px;
  overflow-wrap: anywhere;
}
.contact-email span {
  margin-left: 12px;
}
.secondary-email {
  font-size: 11px !important;
}
.site-footer {
  max-width: 1020px;
  border-top: 1px solid var(--line);
  padding: 23px 0 32px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
.site-footer a {
  color: var(--muted);
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 4%;
    padding-bottom: 35px;
  }
}
@media (max-width: 850px) {
  .header-inner,
  .page {
    padding-left: 28px;
    padding-right: 28px;
  }
  .hero {
    grid-template-columns: 1fr 190px;
    gap: 36px;
    padding-top: 55px;
    padding-bottom: 50px;
  }
  .portrait img {
    width: 190px;
    height: 225px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .content-layout {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 32px;
  }
  .header-inner nav {
    gap: 18px;
  }
  .site-footer {
    margin-left: 28px;
    margin-right: 28px;
  }
}
@media (max-width: 620px) {
  html {
    scroll-padding-top: 115px;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 22px;
  }
  .wordmark {
    font-size: 15px;
  }
  .header-inner nav {
    width: 100%;
    justify-content: space-between;
    font-size: 11px;
    gap: 12px;
  }
  .page {
    padding: 0 22px;
  }
  .hero {
    position: relative;
    display: block;
    padding: 35px 0;
  }
  .hero-copy {
    padding-top: 5px;
  }
  .hero .eyebrow {
    max-width: calc(100% - 100px);
    font-size: 8px;
    line-height: 1.9;
    min-height: 34px;
    margin-bottom: 18px;
  }
  h1 {
    font-size: clamp(33px, 8vw, 48px);
    letter-spacing: -1.5px;
    max-width: calc(100% - 75px);
    margin-bottom: 23px;
  }
  .hero-description {
    font-size: 24px;
  }
  .affiliation {
    font-size: 10px;
  }
  .hero-actions {
    gap: 22px;
    margin-top: 23px;
  }
  .portrait {
    position: absolute;
    top: 34px;
    right: 0;
  }
  .portrait img {
    width: 82px;
    height: 100px;
    border-radius: 4px;
  }
  .portrait figcaption {
    display: none;
  }
  .content-layout {
    display: flex;
    flex-direction: column;
    padding-top: 23px;
    gap: 32px;
  }
  .sidebar {
    display: none;
  }
  .sidebar > .eyebrow,
  .page-index {
    display: none;
  }
  .main-content {
    width: 100%;
    font-size: 13px;
  }
  h2 {
    font-size: 27px;
  }
  .section-heading {
    margin-bottom: 22px;
    gap: 11px;
  }
  .content-section {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
  .publication {
    padding-left: 13px;
  }
  .publication h4 {
    font-size: 15px;
  }
  .contact-section h2 {
    font-size: 31px;
  }
  .contact-email {
    font-size: 15px;
  }
  .site-footer {
    margin-left: 22px;
    margin-right: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
@media print {
  .site-header,
  .sidebar,
  .hero-actions,
  .site-footer,
  .skip-link {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
  .page {
    max-width: none;
    padding: 0;
  }
  .hero {
    padding: 15px 0 30px;
  }
  .content-layout {
    display: block;
  }
  .publication {
    break-inside: avoid;
  }
  .news-archive:not([open]) {
    display: none;
  }
}

/* Research showcase: clickable figures, project previews, and a compact archive. */
.section-intro {
  color: var(--muted);
  font-size: 13px;
  margin: -9px 0 30px;
}
.about-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0 0;
  font-size: 12px;
}
.publication-featured {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 23px;
  align-items: start;
  border-left: 0;
  padding: 0;
  margin-bottom: 32px;
}
.publication-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 8 / 5;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.publication-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.publication-image:hover {
  border-color: #a6bbc9;
  box-shadow: 0 3px 14px #315e8010;
}
.paper-label {
  color: var(--accent);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.65px;
  font-weight: 600;
  margin: 0 0 7px;
}
.publication-copy .paper-title {
  margin: 0 0 8px;
  font-size: 15px;
  text-transform: none;
  letter-spacing: -0.2px;
  line-height: 1.5;
  font-weight: 600;
}
.paper-title a {
  color: var(--ink);
}
.publication-featured .authors {
  font-size: 11px;
  line-height: 1.7;
}
.publication-featured .venue {
  font-size: 11px;
}
.publication-archive {
  margin-top: 15px;
}
.publication-archive summary {
  display: flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  color: var(--accent);
  font-size: 12px;
  cursor: pointer;
  list-style: none;
}
.publication-archive summary::-webkit-details-marker {
  display: none;
}
.archive-count {
  font-size: 10px;
  border: 1px solid var(--line);
  padding: 0 7px;
  border-radius: 10px;
  color: var(--muted);
}
.publication-archive summary > span:last-child {
  font-size: 18px;
  transition: transform 0.2s;
}
.publication-archive[open] summary > span:last-child {
  transform: rotate(45deg);
}
.archive-content {
  padding-top: 28px;
}
.archive-content .publication h4 {
  font-size: 14px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 22px;
}
.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fdfcf9;
}
.project-image {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: #f0f2ef;
  border-bottom: 1px solid var(--line);
}
.project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s;
}
.project-image:hover img {
  transform: scale(1.025);
}
.project-card:first-child .project-image {
  background: #d8d5cb;
}
.project-card:nth-child(2) .project-image {
  background: #243c4d;
}
.project-card:nth-child(3) .project-image {
  background: #fff;
}
.project-card:nth-child(4) .project-image {
  background: #efefeb;
}
.image-arrow {
  position: absolute;
  bottom: 11px;
  right: 11px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #faf9f6ed;
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 1px 6px #252c3514;
}
.project-copy {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-label {
  font-size: 8px;
  color: var(--accent);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.project-copy h3 {
  font-size: 17px;
  letter-spacing: -0.35px;
  line-height: 1.4;
  text-transform: none;
  font-weight: 600;
  margin: 0 0 11px;
}
.project-copy h3 a {
  color: var(--ink);
}
.project-copy > p:not(.project-label) {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  font-size: 10px;
  margin-top: auto;
  padding-top: 5px;
}
.all-projects {
  display: inline-block;
  font-size: 12px;
  margin-top: 25px;
}
.all-projects span {
  margin-left: 10px;
}
.talk {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  margin: 0 0 25px;
}
.talk-date {
  font-size: 11px;
  color: var(--muted);
  padding-top: 2px;
}
.talk h3 {
  font-size: 15px;
  text-transform: none;
  letter-spacing: -0.2px;
  color: var(--ink);
  margin: 0 0 5px;
}
.talk div > p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}
.talk a {
  font-size: 11px;
}
@media (min-width: 621px) and (max-width: 850px) {
  .publication-featured {
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 17px;
  }
  .project-grid {
    gap: 18px 15px;
  }
  .project-copy {
    padding: 14px;
  }
}
@media (max-width: 620px) {
  .header-inner nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5px 18px;
  }
  .publication-featured {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 15px;
  }
  .publication-copy .paper-title {
    font-size: 13px;
  }
  .publication-featured .authors,
  .publication-featured .venue {
    font-size: 10px;
  }
  .paper-label {
    font-size: 8px;
    letter-spacing: 0.3px;
  }
  .project-grid {
    gap: 20px;
  }
  .project-copy {
    padding: 14px;
  }
  .project-copy h3 {
    font-size: 15px;
  }
  .project-copy > p:not(.project-label) {
    font-size: 11px;
  }
  .talk {
    grid-template-columns: 85px minmax(0, 1fr);
    gap: 14px;
  }
}
@media (max-width: 440px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-image {
    aspect-ratio: 16 / 9;
  }
  .project-copy {
    padding: 18px;
  }
  .project-copy h3 {
    font-size: 17px;
  }
  .project-copy > p:not(.project-label) {
    font-size: 12px;
  }
  .publication-featured {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .publication-image {
    max-width: 240px;
  }
  .publication-copy .paper-title {
    font-size: 15px;
  }
  .publication-featured .authors,
  .publication-featured .venue {
    font-size: 11px;
  }
}
@media print {
  .publication-featured,
  .project-card,
  .talk {
    break-inside: avoid;
  }
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
  .publication-archive:not([open]) {
    display: none;
  }
}
