/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Cosmic background treatment. The warm foreground palette remains unchanged. */
.sliding-background {
  inset: -110px 0;
  background-image: url('images/cosmic-background.webp');
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(0.9) contrast(1.03);
  animation: cosmic-background-breathe 28s ease-in-out infinite alternate;
}

.sliding-background::before {
  opacity: 1;
  background:
    linear-gradient(to bottom, rgba(3, 7, 14, 0.2), rgba(5, 10, 19, 0.38)),
    radial-gradient(circle at center, rgba(6, 12, 22, 0.08), rgba(3, 7, 14, 0.5));
  mask-image: none;
  -webkit-mask-image: none;
}

.sliding-ribbon {
  display: none;
}

@keyframes cosmic-background-breathe {
  from { background-position: 48% 50%; }
  to { background-position: 52% 45%; }
}

body {
  background: #070d17;
}

.profile-section,
.content-section {
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.91);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px) saturate(0.92);
  -webkit-backdrop-filter: blur(14px) saturate(0.92);
}

.profile-section {
  margin-bottom: 18px;
  padding: 36px 34px 40px;
}

.content-section {
  margin: 18px 0;
  padding: 32px 30px 38px;
}

.mountain-footer {
  margin-top: 34px;
  background: #070d17;
}

.mountain-stage::before {
  background: linear-gradient(
    to bottom,
    rgba(7, 13, 23, 1) 0%,
    rgba(7, 13, 23, 0.78) 13%,
    rgba(7, 13, 23, 0.28) 42%,
    rgba(7, 13, 23, 0.08) 72%,
    rgba(7, 13, 23, 0) 100%
  );
}

.mountain-stage .mountain-img {
  object-position: center bottom;
  filter: saturate(0.94) contrast(1.04) brightness(0.9);
}

.mountain-cta {
  color: #6e3519;
  box-shadow: 0 7px 26px rgba(0, 0, 0, 0.32);
}

.mountain-cta:hover {
  color: #6e3519;
}

@media (max-width: 760px) {
  .profile-section {
    padding: 30px 22px 34px;
  }

  .content-section {
    margin: 14px 0;
    padding: 28px 18px 32px;
  }

  .sliding-background {
    background-position: 58% bottom;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sliding-background {
    animation: none;
  }
}

@media print {
  body {
    background: #fff;
  }

  .profile-section,
  .content-section {
    border: 0;
    background: #fff;
    box-shadow: none;
  }
}

/* Warm sliding background layer; all foreground styling remains unchanged. */
.sliding-background {
  position: fixed;
  inset: -180px 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
}

.sliding-background::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background-image: radial-gradient(rgba(110, 75, 35, 0.13) 0.5px, transparent 0.5px);
  background-size: 8px 8px;
  mask-image: linear-gradient(to bottom, #000 5%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 5%, transparent 92%);
}

.sliding-ribbon {
  position: absolute;
  display: block;
  width: 58vw;
  min-width: 620px;
  height: 190px;
  opacity: 0.14;
  border-radius: 48% 52% 46% 54%;
  filter: blur(0.2px);
  clip-path: polygon(0 39%, 78% 0, 100% 38%, 23% 100%);
  animation: warm-ribbon-slide 20s ease-in-out infinite alternate;
}

.sliding-ribbon-one {
  top: 7%;
  right: -24%;
  background: linear-gradient(100deg, rgba(251, 165, 36, 0), #efae55 40%, #b97955 100%);
}

.sliding-ribbon-two {
  top: 46%;
  left: -29%;
  width: 51vw;
  background: linear-gradient(100deg, #bc8058, #ddab6b 52%, rgba(173, 112, 32, 0));
  animation-delay: -7s;
}

.sliding-ribbon-three {
  right: -27%;
  bottom: 2%;
  width: 64vw;
  background: linear-gradient(100deg, rgba(173, 112, 32, 0), #c78a4c 48%, #98706d);
  animation-delay: -13s;
}

@keyframes warm-ribbon-slide {
  0% {
    transform: translate3d(-3%, -8px, 0) rotate(-18deg) scale(1);
  }
  55% {
    transform: translate3d(2%, 7px, 0) rotate(-15deg) scale(1.03);
  }
  100% {
    transform: translate3d(5%, -2px, 0) rotate(-12deg) scale(1.01);
  }
}

.homepage-shell {
  position: relative;
  z-index: 1;
}

.mountain-footer {
  z-index: 1;
}

@media (max-width: 760px) {
  .sliding-ribbon {
    min-width: 500px;
    opacity: 0.1;
  }

  .sliding-ribbon-one {
    right: -82%;
  }

  .sliding-ribbon-two {
    left: -88%;
  }

  .sliding-ribbon-three {
    right: -92%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sliding-background {
    transform: none !important;
  }

  .sliding-ribbon {
    animation: none;
  }
}

@media print {
  .sliding-background {
    display: none !important;
  }
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

a {
  color: #f49300;
  text-decoration: none;
}
b {
  color: #ff0000;
  text-decoration: none;
}
c {
  color: #000000;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #6e3519;
  text-decoration: none;
}

a.a1 { color:rgb(222, 113, 255);}
a.a1:focus,
a.a1:hover { color:rgb(95, 23, 110);
  text-decoration: none;}

.contact-links {
  text-align: left;
}

.contact-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  line-height: 1.8;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.contact-links .email-link {
  gap: 6px;
  max-width: 100%;
}

.contact-links .email-link .contact-sub {
  display: inline-block;
  max-width: 230px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.82;
  letter-spacing: 0;
}

.contact-links .email-link:hover .contact-sub,
.contact-links .email-link:focus .contact-sub {
  color: #6b7280;
}

.contact-links svg {
  width: 14px;
  height: 14px;
  color: currentColor;
  flex-shrink: 0;
  vertical-align: -2px;
}



body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

html {
  scroll-behavior: smooth;
}

.page-section {
  scroll-margin-top: 24px;
}

.section-drip-nav {
  position: fixed;
  top: 50%;
  right: 377px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.section-drip-nav.is-footer-visible {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.section-drip-nav::before {
  content: '';
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 11px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(229, 231, 235, 0), #d1d5db 12%, #d1d5db 88%, rgba(229, 231, 235, 0));
}

.section-drip-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  color: #555;
  text-decoration: none;
  outline: none;
}

.section-drip-nav a::before {
  content: '';
  width: 11px;
  height: 15px;
  margin: 0 12px 0 6px;
  border: 1px solid #d1d5db;
  border-radius: 999px 999px 999px 2px;
  background: #fffdf7;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transform: rotate(-45deg);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.section-drip-nav span {
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  color: #444;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0.72;
  transition: opacity 0.18s ease, color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.section-drip-nav a:hover::before,
.section-drip-nav a:focus::before {
  border-color: #fba524;
  background: #fff7df;
  transform: rotate(-45deg) scale(1.12);
}

.section-drip-nav a:hover span,
.section-drip-nav a:focus span {
  opacity: 1;
  color: #111;
  border-color: #e5e7eb;
  background: rgba(255, 255, 255, 0.95);
}

#awards {
  scroll-margin-top: 96px;
  scroll-margin-bottom: 220px;
}


strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
}

heading {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 25px;
  /*color: #313164;*/
  text-decoration: underline;
  text-decoration-style: solid;
  -webkit-text-decoration-color: #ad7020;
  text-decoration-color: #fba524; /* #ac715b; */
}

/* News Timeline */
.news-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  position: relative;
}
/* vertical connecting line */
.news-list::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(to bottom, #f3d008, #fba524);
  border-radius: 1px;
  opacity: 0.35;
}
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 12px 10px 0;
  margin-bottom: 2px;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
  line-height: 1.65;
  position: relative;
  animation: newsSlideIn 0.4s ease both;
}
.news-item:nth-child(1) { animation-delay: 0s; }
.news-item:nth-child(2) { animation-delay: 0.08s; }
.news-item:nth-child(3) { animation-delay: 0.08s; }
.news-item:nth-child(4) { animation-delay: 0.16s; }
.news-item:nth-child(5) { animation-delay: 0.24s; }
@keyframes newsSlideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}
.news-item:hover {
  background: rgba(251, 165, 36, 0.06);
  transform: translateX(3px);
}
/* Collapse: hide items after 5th */
.news-list:not(.expanded) .news-item:nth-child(n+6) {
  display: none;
}
.news-dot {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f3d008;
  margin-top: 7px;
  box-shadow: 0 0 0 3px rgba(243, 208, 8, 0.18);
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-item:hover .news-dot {
  transform: scale(1.35);
  box-shadow: 0 0 0 5px rgba(243, 208, 8, 0.25);
}
.news-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.news-date {
  font-size: 12px;
  font-weight: 700;
  color: #b0a070;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}
.news-date-badge {
  display: inline-block;
  margin-right: 5px;
  padding: 0 5px 1px;
  border: 1px solid #555;
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(251, 165, 36, 0.1), rgba(243, 208, 8, 0.08));
  color: #111;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.news-entry {
  list-style: none;
  line-height: 1.35;
}
#news p {
  margin: 3px 0;
}
#news p.news-first-entry {
  margin-top: 1em;
}
#news {
  margin-bottom: 24px;
}
.news-highlight {
  text-decoration: underline;
  text-decoration-style: solid;
  -webkit-text-decoration-color: #ad7020;
  text-decoration-color: #fba524;
}
.news-text {
  font-size: 14px;
  color: #333;
}
.news-text .venue {
  font-weight: 700;
  color: #b47a00;
  background: linear-gradient(135deg, rgba(251, 165, 36, 0.12), rgba(243, 208, 8, 0.12));
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
/* Show more / less toggle */
.news-toggle {
  display: none;
  background: none;
  border: none;
  color: #b47a00;
  font-size: 13px;
  cursor: pointer;
  padding: 6px 0 2px 23px;
  font-family: inherit;
  transition: color 0.2s;
}
.news-toggle:hover {
  color: #8a5c00;
}
.news-toggle.visible {
  display: block;
}

heading2 {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 25px;
  /*color: #313164;*/
  -webkit-text-decoration-color: #ad7020;
  text-decoration-color: #fba524; /* #ac715b; */
}

papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700
}

.publication-authors-shell {
  position: relative;
  padding-right: 24px;
  line-height: 1.5;
}

.publication-authors-shell:not(.expanded) .publication-authors {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
}

.publication-authors-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6e3519;
  font-size: 11px;
  line-height: 22px;
  text-align: center;
  cursor: url('images/icon/cursor-pointer.png'), pointer;
}

.publication-authors-toggle:hover,
.publication-authors-toggle:focus-visible {
  color: #f49300;
  outline: none;
}

name {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 28px;
}

abs {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  color: #EB6400;
}
.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

.yellow-background {
  background-color: lightyellow;
}

/* Tag Cloud Styles */
#tagcloud-container {
  width: 100%;
  max-width: 800px;
  height: 300px;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  /* background: #fcfcfc; */
  /* border: 1px solid #eee; */
  border-radius: 8px;
}

.tagcloud-item {
  position: absolute;
  top: 0;
  left: 0;
  text-decoration: none;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  transform-origin: 50% 50%;
  transition: color 0.2s;
  cursor: pointer;
  will-change: transform, opacity, filter;
}

.tagcloud-item:hover {
  color: #ff0000 !important;
  z-index: 1000 !important;
}

/* Screenshot Projects */
.screenshot-projects {
  width: 100%;
  margin: 8px auto 22px;
  overflow: hidden;
}

.screenshot-projects-track {
  box-sizing: border-box;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: hidden;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
}

.screenshot-projects.is-scrollable .screenshot-projects-track {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.screenshot-project-card {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  min-width: 0;
  text-align: center;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  cursor: url('images/icon/cursor-pointer.png'), pointer;
  scroll-snap-align: start;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.screenshot-project-card:hover,
.screenshot-project-card:focus-visible {
  border-color: rgba(251, 165, 36, 0.55);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.screenshot-project-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  background: #f7f7f7;
}

.screenshot-project-card span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.project-online-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

.screenshot-project-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.screenshot-project-modal.active {
  display: flex;
}

.screenshot-project-dialog {
  position: relative;
  width: min(620px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 10px;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.26);
  padding: 26px 26px 24px;
}

.screenshot-project-dialog > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  background: #f7f7f7;
}

.screenshot-project-dialog h3 {
  margin: 0 36px 12px 0;
  color: #222;
  font-size: 20px;
  line-height: 1.35;
}

.screenshot-project-dialog p {
  margin: 0 0 18px;
  color: #444;
  font-size: 14px;
  line-height: 1.65;
}

.screenshot-project-dialog a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 6px;
  background: #fba524;
  color: #fff;
  font-weight: 700;
}

.screenshot-project-dialog a:hover {
  background: #d98700;
  color: #fff;
}

.screenshot-project-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #666;
  font-size: 24px;
  line-height: 1;
  cursor: url('images/icon/cursor-pointer.png'), pointer;
}

.screenshot-project-close:hover,
.screenshot-project-close:focus-visible {
  background: rgba(0, 0, 0, 0.08);
  color: #222;
  outline: none;
}

@media (max-width: 680px) {
  .screenshot-projects-track {
    grid-auto-columns: calc((100% - 16px) / 3);
    gap: 8px;
  }

  .screenshot-project-card {
    padding: 7px;
  }

  .screenshot-project-dialog {
    padding: 22px 20px 20px;
  }
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  width: 44px;
  height: 44px;
  border: none;
  outline: none;
  background: rgba(60, 60, 60, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s, background 0.2s;
}
#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#backToTop:hover {
  background: rgba(40, 40, 40, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
#backToTop:active {
  transform: translateY(0);
}
#backToTop svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}
#backToTop:hover svg {
  transform: translateY(-2px);
}

/* Mountain footer */
.mountain-footer {
  position: relative;
  width: 100%;
  margin-top: 18px;
  overflow: hidden;
}

.mountain-stage {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
}

.mountain-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.92) 8%, rgba(255,255,255,0.72) 22%, rgba(255,255,255,0.42) 42%, rgba(255,255,255,0.18) 65%, rgba(255,255,255,0.05) 82%, rgba(255,255,255,0) 100%);
}

.mountain-stage .mountain-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mountain-stage picture {
  display: block;
}

.mountain-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,#cfe1f5 0%,#aecbe9 18%,#8aa9cf 38%,#5f7da3 60%,#3d5577 78%,#243349 100%);
}

.mountain-fallback::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 65%;
  background: radial-gradient(ellipse 60% 50% at 30% 100%, rgba(255,255,255,0.55), transparent 70%), radial-gradient(ellipse 70% 60% at 75% 100%, rgba(255,255,255,0.65), transparent 70%), linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.25) 60%, rgba(255,255,255,0.55) 100%);
  clip-path: polygon(0% 100%,0% 55%,12% 38%,22% 50%,33% 22%,45% 45%,55% 30%,68% 10%,78% 38%,88% 25%,100% 50%,100% 100%);
}

.mountain-content {
  position: relative;
  z-index: 3;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 70px 24px 82px;
  text-align: center;
}

.mountain-content h2 {
  margin: 0 0 12px;
  color: #fff;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 2px 14px rgba(20,40,70,0.35), 0 1px 2px rgba(20,40,70,0.2);
}

.mountain-content .mountain-sub {
  max-width: 680px;
  margin: 0 auto 26px;
  color: rgba(255,255,255,0.96);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(20,40,70,0.35);
}

.mountain-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 999px;
  background: #fff;
  color: #1d4ed8;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(20,40,70,0.22), 0 2px 6px rgba(20,40,70,0.15);
  animation: mountain-cta-blink 1.8s ease-in-out infinite;
  transition: transform 0.18s ease;
}

.mountain-cta:hover {
  color: #1d4ed8;
  transform: translateY(-2px) scale(1.02);
  animation-play-state: paused;
}

.mountain-cta svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.mountain-footnote {
  max-width: 620px;
  margin: 38px auto 0;
  color: rgba(255,255,255,0.86);
  font-size: 13px;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(20,40,70,0.35);
}

.mountain-footnote > span {
  display: block;
}

.mountain-template {
  margin-top: 8px;
}

.mountain-updated {
  margin-top: 6px;
  color: rgba(255,255,255,0.78);
}

.mountain-template img {
  width: 66px;
  height: auto;
  margin-right: 6px;
  vertical-align: -3px;
}

.mountain-template a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.55);
  text-underline-offset: 3px;
}

.mountain-template a:hover {
  color: #fef3c7;
  text-decoration-color: #fef3c7;
}

@keyframes mountain-cta-blink {
  0%,100% { opacity:1; box-shadow:0 6px 22px rgba(20,40,70,0.22), 0 2px 6px rgba(20,40,70,0.15), 0 0 0 0 rgba(255,255,255,0.55); }
  50% { opacity:0.78; box-shadow:0 6px 22px rgba(20,40,70,0.22), 0 2px 6px rgba(20,40,70,0.15), 0 0 0 12px rgba(255,255,255,0); }
}

/* Cursor glow + ripples (disabled)
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at center, rgba(255,182,92,0.16) 0%, rgba(255,200,128,0.10) 32%, rgba(255,224,176,0.04) 56%, rgba(255,255,255,0) 72%);
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity 0.4s ease;
  will-change: transform;
}

.cursor-ripple {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 59;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 1.5px solid rgba(255,176,80,0.32);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--x,-9999px), var(--y,-9999px), 0) scale(0.3);
  will-change: transform, opacity;
}

.cursor-ripple.go {
  animation: cursor-ripple-spread 0.8s ease-out forwards;
}

@keyframes cursor-ripple-spread {
  0% { opacity: 0.45; transform: translate3d(var(--x), var(--y), 0) scale(0.3); }
  100% { opacity: 0; transform: translate3d(var(--x), var(--y), 0) scale(2.3); }
}
*/

@media (max-width: 1500px), (max-height: 560px) {
  .section-drip-nav {
    display: none;
  }
}

@media (max-width: 680px) {
  .mountain-stage,
  .mountain-content {
    min-height: 440px;
  }

  .mountain-content {
    padding: 58px 18px 66px;
  }

  .mountain-content h2 {
    font-size: 34px;
  }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  /* Cursor effects are currently disabled.
  #cursor-glow,
  .cursor-ripple {
    display: none;
  }
  */

  .mountain-cta {
    animation: none;
  }
}

/* Haojie Zhang homepage customizations */
:root {
  --accent: #ad7020;
  --accent-bright: #f49300;
  --ink: #252525;
  --muted: #6b7280;
  --line: #e8e0d4;
  --paper: #fffdfa;
  --highlight: #fff9df;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body,
td,
th,
tr,
p,
a,
strong,
.section-title,
heading2,
papertitle,
name,
h1,
h2,
h3,
button {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.homepage-shell {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 36px;
}

.section-drip-nav {
  right: max(24px, calc(50% - 570px));
}

.profile-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  gap: 48px;
  align-items: center;
  padding: 24px 16px 46px;
}

.profile-copy h1 {
  margin: 7px 0 22px;
  font-size: clamp(31px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.name-divider {
  color: #c9b99f;
  font-weight: 400;
}

.profile-copy p {
  margin: 0 0 13px;
  font-size: 15px;
}

.profile-kicker {
  color: var(--accent);
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.profile-rule {
  width: 100%;
  height: 1px;
  margin: 20px 0 15px;
  background: linear-gradient(to right, transparent, #d8cdbd 8%, #d8cdbd 92%, transparent);
}

.profile-photo-wrap {
  text-align: center;
}

.profile-photo {
  display: block;
  width: 220px;
  aspect-ratio: 1;
  margin: 0 auto;
  border: 5px solid #fff;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 20px 45px rgba(75, 49, 17, 0.17);
}

.profile-location {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.content-section {
  padding: 30px 16px 38px;
}

.content-section > .section-title {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: #fba524;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.section-note {
  margin: 9px 0 20px;
  color: var(--muted);
}

.news-list {
  margin-top: 22px;
}

.news-body {
  display: flex;
  gap: 13px;
  align-items: baseline;
}

.news-text {
  flex: 1;
}

.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 26px;
}

.tag-btn {
  padding: 7px 14px;
  border: 1px solid rgba(110, 53, 25, 0.22);
  border-radius: 999px;
  color: #6e3519;
  background: rgba(251, 165, 36, 0.06);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: 0.18s ease;
}

.tag-btn:hover,
.tag-btn:focus-visible {
  border-color: var(--accent);
  background: #fff7df;
  outline: none;
}

.tag-btn.active {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(173, 112, 32, 0.2);
}

.tag-count {
  display: inline-grid;
  min-width: 19px;
  height: 19px;
  margin-left: 4px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  font-size: 10px;
}

.publication-list {
  display: grid;
  gap: 18px;
}

.publication-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 7px 24px rgba(67, 44, 15, 0.045);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.publication-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(67, 44, 15, 0.09);
}

.publication-card.featured {
  background: linear-gradient(135deg, #fffef4, #fff9df);
}

.publication-media {
  display: grid;
  min-height: 136px;
  overflow: hidden;
  place-items: center;
  border-radius: 10px;
  background: #f0ece5;
}

.publication-media img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.paper-placeholder {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 24% 25%, rgba(255, 199, 92, 0.95), transparent 25%),
    radial-gradient(circle at 75% 72%, rgba(241, 142, 49, 0.65), transparent 28%),
    linear-gradient(135deg, #1f2937, #754515 70%, #ad7020);
}

.paper-placeholder::before,
.paper-placeholder::after {
  content: '';
  position: absolute;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.33);
  border-radius: 14px;
  transform: rotate(22deg);
}

.paper-placeholder::before {
  top: 14px;
  right: 22px;
}

.paper-placeholder::after {
  bottom: 8px;
  left: 16px;
}

.paper-placeholder span {
  position: relative;
  z-index: 1;
  padding: 18px;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-align: center;
}

.paper-placeholder b {
  color: #ffd98d;
  font-size: inherit;
}

.publication-copy h2 {
  margin: 5px 0 7px;
  color: #1f2937;
  font-size: 17px;
  line-height: 1.32;
}

.publication-copy p {
  margin: 6px 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.48;
}

.publication-copy .publication-authors {
  color: #252525;
}

.publication-venue {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px !important;
}

.publication-links a {
  padding: 3px 9px;
  border: 1px solid #e0c89d;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 23px;
}

.experience-column {
  padding: 24px 25px 9px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.experience-column > h2 {
  margin: 0 0 22px;
  font-size: 18px;
}

.timeline-item {
  position: relative;
  margin-left: 5px;
  padding: 0 0 23px 19px;
  border-left: 1px solid #dfd2bd;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 4px;
  left: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--paper);
}

.timeline-item span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.timeline-item h3 {
  margin: 2px 0 3px;
  font-size: 14px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.project-card:hover {
  border-color: #d2a95f;
  color: var(--ink);
  transform: translateY(-2px);
}

.project-card strong {
  color: var(--accent);
  font-size: 15px;
}

.project-card span {
  color: var(--muted);
  font-size: 12px;
}

.mountain-template a {
  color: inherit;
  text-decoration: underline;
}

.toast-message.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 760px) {
  .homepage-shell {
    width: min(100% - 24px, 900px);
    padding-top: 22px;
  }

  .profile-section {
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: left;
  }

  .profile-photo-wrap {
    grid-row: 1;
  }

  .profile-photo {
    width: 175px;
  }

  .publication-card {
    grid-template-columns: 1fr;
  }

  .publication-media img {
    height: auto;
    max-height: 250px;
    object-fit: contain;
  }

  .experience-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .news-body {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media print {
  .section-drip-nav,
  #backToTop,
  .mountain-footer,
  .tag-filter {
    display: none !important;
  }

  .publication-card {
    break-inside: avoid;
    box-shadow: none;
  }
}

@media not all {
/* Archived visual experiment — intentionally disabled. */
/* 2026 visual refresh — Lato, soft cards, and ambient research ribbons */
:root {
  --accent: #1769aa;
  --accent-dark: #124c79;
  --accent-soft: #eaf3fb;
  --ink: #20252b;
  --muted: #66727e;
  --line: #e3e8ee;
  --paper: #f4f6f9;
  --card: rgba(255, 255, 255, 0.94);
  --highlight: #f2f7fc;
}

body,
td,
th,
tr,
p,
a,
strong,
.section-title,
heading2,
papertitle,
name,
h1,
h2,
h3,
button {
  font-family: "Lato", "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  position: relative;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(112, 174, 220, 0.11), transparent 30rem),
    radial-gradient(circle at 92% 34%, rgba(218, 130, 113, 0.08), transparent 28rem),
    #f4f6f9;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image: radial-gradient(rgba(38, 56, 72, 0.12) 0.55px, transparent 0.55px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

a {
  color: var(--accent);
}

a:hover,
a:focus {
  color: var(--accent-dark);
}

.ambient-ribbons {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ribbon {
  position: absolute;
  display: block;
  width: 52vw;
  height: 180px;
  opacity: 0.19;
  filter: blur(0.2px);
  transform: rotate(-18deg);
  clip-path: polygon(0 36%, 82% 0, 100% 42%, 19% 100%);
  animation: ribbon-drift 18s ease-in-out infinite alternate;
}

.ribbon-one {
  top: 4%;
  right: -18%;
  background: linear-gradient(100deg, rgba(59, 130, 246, 0), #73a9d5 42%, #cc7b78 100%);
}

.ribbon-two {
  top: 43%;
  left: -23%;
  width: 45vw;
  background: linear-gradient(100deg, #5ca6a6, #7b8fc4 54%, rgba(112, 92, 163, 0));
  animation-delay: -6s;
}

.ribbon-three {
  right: -19%;
  bottom: 4%;
  width: 58vw;
  background: linear-gradient(100deg, rgba(238, 174, 99, 0), #dfa268 50%, #8aa6cc);
  animation-delay: -11s;
}

@keyframes ribbon-drift {
  from { transform: rotate(-18deg) translate3d(-1.5%, -4px, 0); }
  to { transform: rotate(-15deg) translate3d(2%, 8px, 0); }
}

.homepage-shell,
.site-footer {
  position: relative;
  z-index: 1;
}

.section-drip-nav {
  position: sticky;
  top: 14px;
  right: auto;
  z-index: 60;
  width: min(960px, calc(100% - 40px));
  min-height: 58px;
  margin: 14px auto 0;
  padding: 8px 13px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  border: 1px solid rgba(211, 219, 227, 0.86);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 7px 26px rgba(29, 49, 67, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: none;
}

.section-drip-nav::before,
.section-drip-nav a::before {
  display: none;
}

.section-drip-nav a {
  min-height: 38px;
  padding: 0 7px;
  border-radius: 8px;
}

.section-drip-nav span,
.section-drip-nav a:hover span,
.section-drip-nav a:focus span {
  padding: 0;
  border: 0;
  color: #53606c;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  opacity: 1;
}

.section-drip-nav a:hover,
.section-drip-nav a:focus {
  background: var(--accent-soft);
}

.section-drip-nav .nav-brand {
  margin-right: auto;
  padding: 0 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.section-drip-nav .nav-brand:hover,
.section-drip-nav .nav-brand:focus {
  color: var(--accent);
  background: transparent;
}

.homepage-shell {
  width: min(960px, calc(100% - 40px));
  padding: 28px 0 54px;
}

.profile-section,
.content-section {
  border: 1px solid rgba(222, 228, 234, 0.95);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 8px 28px rgba(32, 49, 64, 0.07);
}

.profile-section {
  grid-template-columns: minmax(0, 1fr) 226px;
  gap: 54px;
  padding: 48px 54px;
}

.content-section {
  margin-top: 22px;
  padding: 34px 40px 38px;
}

.profile-kicker {
  color: var(--accent);
  font-size: 11px !important;
  letter-spacing: 0.16em;
}

.profile-copy h1 {
  margin-top: 9px;
  color: #192027;
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.name-divider {
  color: #a9b5bf;
}

.profile-copy p {
  color: #333b43;
  font-size: 15px;
  line-height: 1.68;
}

.profile-photo {
  width: 210px;
  border: 4px solid #fff;
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(28, 49, 68, 0.15), 0 0 0 1px #dce3e9;
}

.profile-location {
  color: #7b8792;
  letter-spacing: 0.04em;
}

.profile-rule {
  background: #e4e9ee;
}

.contact-line {
  gap: 8px;
}

.contact-line > span[aria-hidden="true"] {
  display: none;
}

.contact-links a {
  min-height: 33px;
  padding: 5px 11px;
  border: 1px solid #dde5eb;
  border-radius: 999px;
  color: #344554;
  background: #f7f9fb;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(31, 50, 67, 0.04);
  transition: transform 0.16s ease, color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.contact-links a:hover,
.contact-links a:focus {
  border-color: #9fc0dc;
  color: var(--accent);
  background: #fff;
  transform: translateY(-1px);
}

.contact-links .email-link .contact-sub,
.contact-links .email-link:hover .contact-sub,
.contact-links .email-link:focus .contact-sub {
  color: #788591;
}

.content-section > .section-title {
  color: #20272e;
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.content-section > .section-title::after {
  content: '';
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #72a7d1);
}

.section-note {
  color: var(--muted);
}

.news-list::before {
  background: linear-gradient(to bottom, #b8d3e8, #e5edf3);
}

.news-dot {
  border-color: #fff;
  background: var(--accent);
  box-shadow: 0 0 0 1px #9fc3df;
}

.news-date-badge {
  border-color: #cddce8;
  color: var(--accent-dark);
  background: #f2f7fb;
}

.tag-btn {
  border-color: #d8e2ea;
  color: #435463;
  background: #f7f9fb;
}

.tag-btn:hover,
.tag-btn:focus-visible {
  border-color: #8fb6d4;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.tag-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(23, 105, 170, 0.2);
}

.publication-list {
  gap: 0;
  overflow: hidden;
  border: 1px solid #e1e7ec;
  border-radius: 12px;
}

.publication-card,
.publication-card.featured {
  border: 0;
  border-bottom: 1px solid #e1e7ec;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.publication-card:last-child {
  border-bottom: 0;
}

.publication-card.featured {
  box-shadow: inset 3px 0 0 #75a9d2;
  background: linear-gradient(90deg, rgba(237, 246, 253, 0.75), rgba(255, 255, 255, 0.82) 28%);
}

.publication-card:hover {
  transform: none;
  background: #fff;
  box-shadow: inset 3px 0 0 var(--accent);
}

.publication-media {
  background: #eef2f5;
}

.publication-venue,
.project-card strong,
.timeline-item span {
  color: var(--accent);
}

.publication-links a {
  border-color: #ceddea;
  color: var(--accent);
  background: #f7fbfe;
}

.experience-column {
  border-color: #e1e7ec;
  background: #f8fafc;
}

.timeline-item {
  border-left-color: #cbdce9;
}

.timeline-item::before {
  border-color: var(--accent);
  background: #fff;
}

.project-card {
  border-color: #e0e6eb;
  background: #f9fafb;
  box-shadow: 0 2px 8px rgba(31, 50, 67, 0.035);
}

.project-card:hover {
  border-color: #9fc0dc;
}

#backToTop {
  background: rgba(36, 76, 110, 0.84);
}

.site-footer {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 8px 42px;
  color: #66727e;
  text-align: right;
}

.site-footer p {
  margin: 2px 0;
  font-size: 13px;
}

.site-footer strong {
  color: #34414c;
}

.site-footer .footer-meta {
  color: #87919a;
  font-size: 11px;
}

@media (max-width: 1500px), (max-height: 560px) {
  .section-drip-nav {
    display: flex;
  }
}

@media (max-width: 760px) {
  .section-drip-nav {
    top: 8px;
    width: calc(100% - 20px);
    min-height: 50px;
    margin-top: 8px;
    padding: 6px 8px;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .section-drip-nav::-webkit-scrollbar {
    display: none;
  }

  .section-drip-nav .nav-brand {
    display: none;
  }

  .section-drip-nav a {
    flex: 0 0 auto;
    min-height: 36px;
  }

  .homepage-shell {
    width: calc(100% - 20px);
    padding-top: 14px;
  }

  .profile-section {
    padding: 30px 24px 32px;
  }

  .content-section {
    margin-top: 14px;
    padding: 28px 20px 30px;
  }

  .profile-photo {
    width: 168px;
  }

  .profile-copy h1 {
    font-size: 34px;
  }

  .contact-line {
    gap: 7px;
  }

  .contact-links a {
    min-height: 31px;
    padding: 4px 9px;
  }

  .publication-list {
    border-radius: 10px;
  }

  .publication-card {
    padding: 15px;
  }

  .site-footer {
    width: calc(100% - 28px);
    text-align: left;
  }

  .ribbon {
    width: 105vw;
    opacity: 0.13;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ribbon {
    animation: none;
  }
}

@media print {
  .ambient-ribbons,
  .section-drip-nav,
  .site-footer {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
}

/* Cosmic background — final active overrides */
body {
  background: #070d17;
}

.sliding-background {
  position: fixed;
  inset: -110px 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
  background-image: url('images/cosmic-background.webp');
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(.9) contrast(1.03);
  animation: cosmic-background-breathe 28s ease-in-out infinite alternate;
}

.sliding-background::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    linear-gradient(to bottom, rgba(3, 7, 14, .20), rgba(5, 10, 19, .38)),
    radial-gradient(circle at center, rgba(6, 12, 22, .08), rgba(3, 7, 14, .50));
  mask-image: none;
  -webkit-mask-image: none;
}

.sliding-ribbon {
  display: none;
}

@keyframes cosmic-background-breathe {
  from { background-position: 48% 50%; }
  to { background-position: 52% 45%; }
}

.homepage-shell {
  position: relative;
  z-index: 1;
}

.profile-section,
.content-section {
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 18px;
  background: rgba(255, 253, 250, .91);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
  backdrop-filter: blur(14px) saturate(.92);
  -webkit-backdrop-filter: blur(14px) saturate(.92);
}

.profile-section {
  margin-bottom: 18px;
  padding: 36px 34px 40px;
}

.content-section {
  margin: 18px 0;
  padding: 32px 30px 38px;
}

.mountain-footer {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  background: #070d17;
}

.mountain-stage::before {
  background: linear-gradient(
    to bottom,
    rgba(7, 13, 23, 1) 0%,
    rgba(7, 13, 23, .78) 13%,
    rgba(7, 13, 23, .28) 42%,
    rgba(7, 13, 23, .08) 72%,
    rgba(7, 13, 23, 0) 100%
  );
}

.mountain-stage .mountain-img {
  object-position: center bottom;
  filter: saturate(.94) contrast(1.04) brightness(.9);
}

.mountain-cta,
.mountain-cta:hover {
  color: #6e3519;
}

.mountain-cta {
  box-shadow: 0 7px 26px rgba(0, 0, 0, .32);
}

@media (max-width: 760px) {
  .profile-section {
    padding: 30px 22px 34px;
  }

  .content-section {
    margin: 14px 0;
    padding: 28px 18px 32px;
  }

  .sliding-background {
    background-position: 58% bottom;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sliding-background {
    animation: none;
    transform: none !important;
  }
}

@media print {
  body {
    background: #fff;
  }

  .sliding-background {
    display: none;
  }

  .profile-section,
  .content-section {
    border: 0;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
  }
}

/* Light editorial theme — final active overrides */
:root {
  --ink: #252a2f;
  --muted: #68737c;
  --line: #e3e7e9;
  --paper: #ffffff;
}

body,
td,
th,
tr,
p,
a,
strong,
.section-title,
heading2,
papertitle,
name,
h1,
h2,
h3,
button {
  font-family: "Lato", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  color: var(--ink);
  background: #f3f5f6;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p,
a,
strong {
  font-size: inherit;
}

h1,
h2,
h3,
.section-title {
  font-weight: 700;
}

.sliding-background {
  position: fixed;
  inset: -100px 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 8% 18%, rgba(210, 220, 223, .72), transparent 29%),
    radial-gradient(ellipse at 92% 36%, rgba(231, 216, 193, .66), transparent 30%),
    linear-gradient(180deg, #f7f8f8 0%, #f1f4f5 56%, #f6f4f0 100%);
  filter: none;
  animation: none;
  will-change: transform;
}

.sliding-background::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: radial-gradient(rgba(83, 97, 105, .18) .45px, transparent .45px);
  background-size: 9px 9px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.sliding-ribbon {
  position: absolute;
  display: block;
  min-width: 0;
  border-radius: 0;
  filter: none;
  opacity: .2;
  animation: quiet-geometry-drift 26s ease-in-out infinite alternate;
}

.sliding-ribbon-one {
  top: 13%;
  right: -10%;
  width: 43vw;
  height: 165px;
  background: linear-gradient(110deg, rgba(211, 221, 224, 0), #bdcdd1 48%, #d8bd99);
  clip-path: polygon(12% 55%, 73% 7%, 100% 53%, 55% 92%);
}

.sliding-ribbon-two {
  top: 48%;
  left: -12%;
  width: 39vw;
  height: 190px;
  background: linear-gradient(105deg, #d8c79e, #c8d3d1 60%, rgba(200, 211, 209, 0));
  clip-path: polygon(0 35%, 64% 4%, 100% 48%, 28% 92%);
  animation-delay: -8s;
}

.sliding-ribbon-three {
  right: -13%;
  bottom: 4%;
  width: 48vw;
  height: 190px;
  background: linear-gradient(110deg, rgba(196, 209, 214, 0), #c4d1d6 46%, #dfc9a7);
  clip-path: polygon(4% 52%, 68% 4%, 100% 39%, 42% 94%);
  animation-delay: -15s;
}

@keyframes quiet-geometry-drift {
  from { transform: translate3d(-1.5%, -4px, 0) rotate(-3deg); }
  to { transform: translate3d(2%, 5px, 0) rotate(1deg); }
}

.profile-section,
.content-section {
  border: 1px solid rgba(218, 224, 227, .9);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 32px rgba(47, 58, 65, .07);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.profile-copy h1 {
  letter-spacing: -.025em;
}

.profile-copy p {
  font-size: 16px;
  line-height: 1.7;
}

.profile-kicker {
  font-size: 12px !important;
  letter-spacing: .11em;
}

.content-section > .section-title {
  font-size: 27px;
  letter-spacing: -.015em;
}

.publication-copy p,
.news-text,
.timeline-item p,
.project-card span {
  line-height: 1.62;
}

.mountain-footer {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  background: #edf1f2;
}

.mountain-stage {
  min-height: 390px;
  background: linear-gradient(180deg, #f6f8f8 0%, #edf2f3 58%, #e1e9ea 100%);
}

.mountain-stage::before {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .92) 0 8%, rgba(255, 255, 255, 0) 34%),
    linear-gradient(to bottom, rgba(246, 248, 248, 1), rgba(246, 248, 248, .68) 35%, rgba(246, 248, 248, 0) 76%);
}

.footer-landscape {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.footer-hill {
  position: absolute;
  left: -5%;
  bottom: -1px;
  width: 110%;
  transform-origin: center bottom;
}

.footer-hill-far {
  height: 54%;
  background: #cbd8da;
  clip-path: polygon(0 100%, 0 72%, 13% 48%, 25% 66%, 39% 35%, 52% 61%, 67% 28%, 82% 56%, 100% 38%, 100% 100%);
  opacity: .58;
}

.footer-hill-mid {
  height: 43%;
  background: linear-gradient(90deg, #c8d4d3, #d8c6a8 68%, #c7d4d6);
  clip-path: polygon(0 100%, 0 66%, 16% 39%, 29% 72%, 45% 43%, 61% 69%, 76% 31%, 89% 58%, 100% 49%, 100% 100%);
  opacity: .72;
}

.footer-hill-near {
  height: 27%;
  background: linear-gradient(90deg, #aebfc1, #c2ccc9 47%, #c9b48f 100%);
  clip-path: polygon(0 100%, 0 64%, 18% 35%, 36% 71%, 56% 29%, 73% 66%, 89% 42%, 100% 58%, 100% 100%);
  opacity: .8;
}

.mountain-content {
  min-height: 390px;
  justify-content: center;
  padding: 54px 24px 44px;
}

.mountain-content h2 {
  color: #2b343a;
  font-size: clamp(30px, 4.5vw, 48px);
  letter-spacing: -.025em;
  text-shadow: none;
}

.mountain-content .mountain-sub {
  color: #58656d;
  text-shadow: none;
}

.mountain-cta,
.mountain-cta:hover {
  border-color: rgba(153, 111, 52, .38);
  background: rgba(255, 255, 255, .92);
  color: #765326;
  box-shadow: 0 6px 18px rgba(67, 73, 75, .11);
  animation: none;
}

.mountain-footnote,
.mountain-updated {
  color: #647078;
  text-shadow: none;
}

.mountain-template a,
.mountain-template a:hover {
  color: #765326;
  text-decoration-color: rgba(118, 83, 38, .36);
}

@media (max-width: 760px) {
  .profile-copy p {
    font-size: 15px;
  }

  .sliding-ribbon {
    width: 78vw;
    opacity: .14;
  }

  .sliding-ribbon-one,
  .sliding-ribbon-three {
    right: -38%;
  }

  .sliding-ribbon-two {
    left: -42%;
  }

  .mountain-stage,
  .mountain-content {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sliding-ribbon {
    animation: none;
  }
}

/* Wider, flatter academic layout */
.homepage-shell {
  width: min(1140px, calc(100% - 48px));
  padding-top: 42px;
}

.profile-section,
.content-section {
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(47, 58, 65, .055);
}

.profile-section {
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 64px;
  padding: 44px 48px 46px;
}

.content-section {
  padding: 36px 44px 42px;
}

.profile-photo {
  width: 232px;
  border-width: 4px;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(47, 58, 65, .11);
}

.publication-card {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 26px;
  padding: 20px;
  border-radius: 7px;
  box-shadow: none;
}

.publication-card:hover {
  box-shadow: 0 7px 20px rgba(47, 58, 65, .075);
}

.publication-media,
.publication-media img,
.project-card,
.timeline-item {
  border-radius: 6px;
}

@media (max-width: 900px) {
  .homepage-shell {
    width: min(100% - 30px, 760px);
  }

  .profile-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 36px 30px 38px;
  }

  .content-section {
    padding: 32px 28px 36px;
  }

  .publication-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .homepage-shell {
    width: calc(100% - 20px);
  }

  .profile-section,
  .content-section {
    border-radius: 6px;
  }

  .profile-section {
    padding: 30px 20px 32px;
  }

  .content-section {
    padding: 28px 18px 32px;
  }

  .publication-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 15px;
  }
}

@media not all {
/* Archived editorial flattening experiment — intentionally disabled. */
body {
  background: #f4f6f7;
}

.sliding-ribbon {
  opacity: .11;
}

.section-drip-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 68px;
  padding: 0 max(28px, calc((100% - 1140px) / 2));
  border-bottom: 1px solid #e5e8ea;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 10px rgba(42, 52, 58, .045);
  transform: none;
}

.section-drip-nav::before,
.section-drip-nav a::before {
  display: none;
}

.section-drip-nav.is-footer-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.section-drip-nav a {
  min-height: auto;
  color: #697179;
  font-size: 14px;
  font-weight: 400;
}

.section-drip-nav a:hover,
.section-drip-nav a:focus,
.section-drip-nav a.active {
  color: #22282c;
}

.section-drip-nav span {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  line-height: 1;
  opacity: 1;
}

.section-drip-nav .nav-brand {
  display: block;
  margin-right: auto;
  color: #22282c;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.homepage-shell {
  width: min(1140px, calc(100% - 48px));
  margin: 96px auto 52px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e1e5e7;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(47, 58, 65, .07);
}

.profile-section,
.content-section {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #e8ebed;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.profile-section {
  padding: 52px 56px 54px;
}

.content-section {
  padding: 42px 56px 48px;
}

#projects {
  border-bottom: 0;
}

.content-section > .section-title {
  display: block;
  margin: 0 0 24px;
  color: #252b2f;
  font-size: 23px;
  letter-spacing: -.015em;
  text-decoration: none;
}

.section-note {
  margin: -15px 0 23px;
  font-size: 13px;
}

.profile-rule {
  background: #e7eaec;
}

.profile-photo {
  border-radius: 4px;
  box-shadow: 0 5px 18px rgba(47, 58, 65, .1);
}

.news-list {
  margin-top: 0;
}

.news-list::before {
  display: none;
}

.news-item {
  gap: 12px;
  margin: 0;
  padding: 7px 0;
  animation: none;
}

.news-item:hover {
  background: transparent;
  transform: none;
}

.news-dot {
  width: 6px;
  height: 6px;
  margin-top: 10px;
  background: #b48b55;
  box-shadow: none;
}

.news-item:hover .news-dot {
  transform: none;
  box-shadow: none;
}

.news-date-badge {
  min-width: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7a838a;
  font-size: 12px;
}

.tag-filter {
  margin: 14px 0 16px;
}

.tag-btn {
  padding: 6px 11px;
  border-color: #dce1e3;
  border-radius: 4px;
  color: #59636a;
  background: #fafbfb;
}

.tag-btn.active {
  border-color: #9b7440;
  background: #9b7440;
  box-shadow: none;
}

.publication-list {
  gap: 0;
  border-top: 1px solid #e7eaec;
}

.publication-card,
.publication-card.featured {
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 28px;
  margin: 0;
  padding: 25px 0;
  border: 0;
  border-bottom: 1px solid #e7eaec;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background .16s ease;
}

.publication-card:last-child {
  border-bottom: 0;
}

.publication-card:hover {
  background: #fafbfb;
  box-shadow: none;
  transform: none;
}

.publication-media,
.publication-media img {
  border-radius: 3px;
}

.publication-copy h2 {
  margin: 4px 0 7px;
  font-size: 18px;
  line-height: 1.35;
}

.publication-copy p {
  font-size: 13.5px;
  line-height: 1.55;
}

.publication-links a {
  padding: 2px 7px;
  border-radius: 3px;
  background: transparent;
}

.experience-grid {
  gap: 62px;
  margin-top: 0;
}

.experience-column {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.experience-column > h2 {
  margin: 0 0 20px;
  font-size: 18px;
}

.timeline-item {
  margin-left: 3px;
  padding: 0 0 22px 17px;
  border-radius: 0;
}

.timeline-item h3 {
  font-size: 15px;
}

.timeline-item p {
  font-size: 13px;
}

.project-grid {
  gap: 10px;
}

.project-card {
  min-height: 78px;
  padding: 15px 17px;
  border-radius: 4px;
  background: #fafbfb;
}

.project-card:hover {
  transform: none;
}

@media (max-width: 900px) {
  .section-drip-nav {
    gap: 16px;
    padding: 0 20px;
  }

  .homepage-shell {
    width: min(100% - 30px, 760px);
  }

  .profile-section,
  .content-section {
    padding-right: 34px;
    padding-left: 34px;
  }

  .publication-card,
  .publication-card.featured {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .section-drip-nav {
    min-height: 58px;
  }

  .section-drip-nav a:not(.nav-brand):nth-of-type(3),
  .section-drip-nav a:not(.nav-brand):nth-of-type(5),
  .section-drip-nav a:not(.nav-brand):nth-of-type(6) {
    display: none;
  }

  .section-drip-nav .nav-brand {
    font-size: 18px;
  }

  .homepage-shell {
    width: calc(100% - 20px);
    margin-top: 76px;
    padding-top: 0;
    border-radius: 3px;
  }

  .profile-section,
  .content-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .publication-card,
  .publication-card.featured {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .experience-grid {
    gap: 34px;
  }
}
}

/* Template-aligned typography and palette */
:root {
  --accent: #f49300;
  --accent-bright: #fba524;
  --ink: #252525;
  --muted: #6b7280;
  --line: #e5e7eb;
  --paper: #fffdf7;
  --highlight: #fffde7;
}

body,
td,
th,
tr,
p,
a,
strong,
.section-title,
heading2,
papertitle,
name,
h1,
h2,
h3,
button {
  font-family: "Lato", Verdana, Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

p,
a,
strong {
  font-size: inherit;
}

a {
  color: #f49300;
}

a:hover,
a:focus {
  color: #6e3519;
}

h1,
h2,
h3,
.section-title {
  font-weight: 700;
}

.profile-copy h1 {
  font-size: clamp(32px, 4.2vw, 40px);
  letter-spacing: 0;
}

.profile-copy p {
  font-size: 15px;
  line-height: 1.68;
}

.profile-kicker {
  color: #b47a00;
  font-size: 12px !important;
}

.content-section > .section-title {
  font-size: 25px;
  letter-spacing: 0;
  text-decoration-color: #fba524;
}

.profile-section,
.content-section {
  border-color: rgba(229, 231, 235, .96);
  background: rgba(255, 255, 255, .97);
}

.profile-rule {
  background: linear-gradient(to right, transparent, #d1d5db 20%, #d1d5db 80%, transparent);
}

.news-list::before {
  background: linear-gradient(to bottom, #f3d008, #fba524);
}

.news-dot {
  background: #f3d008;
  box-shadow: 0 0 0 3px rgba(243, 208, 8, .18);
}

.news-text {
  color: #333;
  font-size: 14px;
}

.news-date-badge {
  border-color: #8b7358;
  background: linear-gradient(135deg, rgba(251, 165, 36, .1), rgba(243, 208, 8, .08));
  color: #333;
}

.tag-btn {
  border-color: rgba(244, 147, 0, .26);
  color: #8a5c00;
  background: rgba(251, 165, 36, .06);
}

.tag-btn:hover,
.tag-btn:focus-visible {
  border-color: #fba524;
  background: #fff7df;
}

.tag-btn.active {
  border-color: #ad7020;
  background: #ad7020;
}

.publication-card {
  border-color: #e5e7eb;
  background: rgba(255, 255, 255, .9);
}

.publication-card.featured {
  background: linear-gradient(135deg, #fffef4, #fffde7);
}

.publication-copy h2 {
  color: #252525;
  font-size: 16px;
  line-height: 1.35;
}

.publication-copy p {
  color: #4b5563;
  font-size: 13.5px;
  line-height: 1.52;
}

.publication-copy .publication-authors {
  color: #252525;
}

.publication-venue,
.timeline-item span,
.project-card strong {
  color: #b47a00;
}

.publication-links a {
  border-color: #e0c89d;
  color: #8a5c00;
  background: rgba(255, 255, 255, .78);
}

.experience-column,
.project-card {
  border-color: #e5e7eb;
  background: rgba(255, 255, 255, .9);
}

.timeline-item {
  border-left-color: #dfd2bd;
}

.timeline-item::before {
  border-color: #f49300;
  background: #fffdf7;
}

.mountain-cta,
.mountain-cta:hover,
.mountain-template a,
.mountain-template a:hover {
  color: #6e3519;
}

@media (max-width: 760px) {
  .profile-copy p {
    font-size: 14px;
  }
}

@media not all {
/* Archived blue-black refinement — intentionally disabled. */
:root {
  --accent: #1f5d85;
  --accent-bright: #3b82ad;
  --ink: #1f2933;
  --muted: #647381;
  --line: #dbe4ea;
  --paper: #f4f7f9;
  --highlight: #edf5fa;
}

body {
  color: var(--ink);
  background: #eef3f6;
  font-size: 15px;
  line-height: 1.5;
}

a {
  color: #21658f;
}

a:hover,
a:focus {
  color: #0d344e;
}

.homepage-shell {
  width: min(1060px, calc(100% - 44px));
  padding-top: 38px;
}

.section-drip-nav {
  right: max(20px, calc(50% - 550px));
}

.sliding-background {
  background:
    radial-gradient(ellipse at 8% 18%, rgba(184, 205, 216, .7), transparent 29%),
    radial-gradient(ellipse at 92% 36%, rgba(198, 213, 223, .64), transparent 30%),
    linear-gradient(180deg, #f5f8fa 0%, #edf3f6 56%, #f2f5f7 100%);
}

.sliding-ribbon-one {
  background: linear-gradient(110deg, rgba(172, 198, 212, 0), #9ebaca 48%, #718fa4);
}

.sliding-ribbon-two {
  background: linear-gradient(105deg, #829daf, #b7cad4 60%, rgba(183, 202, 212, 0));
}

.sliding-ribbon-three {
  background: linear-gradient(110deg, rgba(172, 193, 205, 0), #9ab4c3 46%, #657f93);
}

.profile-section,
.content-section {
  border-color: rgba(211, 223, 231, .98);
  background: rgba(250, 252, 253, .97);
  box-shadow: 0 4px 18px rgba(28, 51, 68, .06);
}

.profile-section {
  gap: 54px;
  padding: 38px 40px 40px;
}

.content-section {
  padding: 30px 36px 34px;
}

.profile-copy h1 {
  color: #192630;
  font-size: clamp(34px, 4.2vw, 41px);
  line-height: 1.06;
}

.name-divider {
  color: #8ea5b4;
}

.profile-copy p {
  font-size: 16px;
  line-height: 1.55;
}

.profile-kicker {
  color: #2b6689;
  font-size: 12.5px !important;
}

.profile-rule {
  margin: 17px 0 13px;
  background: linear-gradient(to right, transparent, #b9cbd6 20%, #b9cbd6 80%, transparent);
}

.content-section > .section-title {
  margin-bottom: 12px;
  color: #1c2a34;
  font-size: 26px;
  line-height: 1.18;
  text-decoration-color: #4f8fb4;
}

.section-note {
  margin-top: 7px;
  color: #6b7985;
}

.section-drip-nav::before {
  background: linear-gradient(to bottom, rgba(180, 198, 210, 0), #b4c6d2 12%, #b4c6d2 88%, rgba(180, 198, 210, 0));
}

.section-drip-nav a::before {
  border-color: #b8cad6;
  background: #f5f9fb;
}

.section-drip-nav a:hover::before,
.section-drip-nav a:focus::before {
  border-color: #3b82ad;
  background: #e9f3f8;
}

.news-list::before {
  background: linear-gradient(to bottom, #7aa9c4, #2d719a);
}

.news-dot {
  background: #4f8fb4;
  box-shadow: 0 0 0 3px rgba(79, 143, 180, .16);
}

.news-item:hover {
  background: rgba(79, 143, 180, .055);
}

.news-item:hover .news-dot {
  box-shadow: 0 0 0 5px rgba(79, 143, 180, .2);
}

.news-text {
  color: #293640;
  font-size: 15px;
  line-height: 1.48;
}

.news-date-badge {
  border-color: #91aabd;
  background: linear-gradient(135deg, rgba(79, 143, 180, .11), rgba(164, 196, 214, .12));
  color: #304b5e;
  font-size: 11.5px;
}

.tag-filter {
  margin: 15px 0 21px;
}

.tag-btn {
  border-color: rgba(47, 111, 151, .26);
  color: #2d6384;
  background: rgba(76, 143, 181, .06);
}

.tag-btn:hover,
.tag-btn:focus-visible {
  border-color: #4f8fb4;
  background: #eaf3f8;
}

.tag-btn.active {
  border-color: #285f80;
  background: #285f80;
}

.publication-list {
  gap: 15px;
}

.publication-card {
  gap: 23px;
  padding: 18px;
  border-color: #d9e3e9;
  background: rgba(252, 253, 254, .94);
}

.publication-card.featured {
  background: linear-gradient(135deg, #fbfdfe, #edf5fa);
}

.publication-copy h2 {
  color: #1f2d37;
  font-size: 17px;
  line-height: 1.28;
}

.publication-copy p {
  color: #52616d;
  font-size: 14px;
  line-height: 1.45;
}

.publication-copy .publication-authors {
  color: #26343e;
}

.publication-venue,
.timeline-item span,
.project-card strong {
  color: #28678d;
}

.publication-links a {
  border-color: #bfd1dc;
  color: #245f82;
  background: #f7fbfd;
}

.paper-placeholder {
  background:
    radial-gradient(circle at 24% 25%, rgba(119, 173, 203, .92), transparent 25%),
    radial-gradient(circle at 75% 72%, rgba(75, 123, 153, .68), transparent 28%),
    linear-gradient(135deg, #172733, #244f69 70%, #347ba5);
}

.paper-placeholder b {
  color: #c8e2f0;
}

.experience-grid {
  gap: 26px;
  margin-top: 18px;
}

.experience-column,
.project-card {
  border-color: #d9e3e9;
  background: rgba(249, 251, 252, .94);
}

.project-card:hover {
  border-color: #8fb0c2;
}

.experience-column {
  padding: 21px 22px 7px;
}

.experience-column > h2 {
  margin-bottom: 18px;
}

.timeline-item {
  padding-bottom: 20px;
  border-left-color: #bfd0da;
}

.timeline-item::before {
  border-color: #3b82ad;
  background: #f7fafc;
}

.timeline-item h3 {
  font-size: 15px;
}

.timeline-item p,
.project-card span {
  font-size: 13px;
  line-height: 1.45;
}

.project-grid {
  margin-top: 16px;
}

.mountain-cta,
.mountain-cta:hover,
.mountain-template a,
.mountain-template a:hover {
  color: #174a68;
}

.mountain-cta,
.mountain-cta:hover {
  border-color: rgba(61, 113, 145, .42);
  background: rgba(248, 252, 254, .94);
}

.footer-hill-mid {
  background: linear-gradient(90deg, #b7c9d2, #9eb8c7 68%, #b8cbd4);
}

.footer-hill-near {
  background: linear-gradient(90deg, #819eae, #9eb4bf 47%, #718d9f 100%);
}

#backToTop {
  background: rgba(30, 67, 91, .82);
}

@media (max-width: 900px) {
  .homepage-shell {
    width: min(100% - 30px, 760px);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  .homepage-shell {
    width: calc(100% - 20px);
  }

  .profile-section {
    padding: 30px 22px 32px;
  }

  .content-section {
    padding: 27px 20px 30px;
  }

  .profile-copy p,
  .news-text {
    font-size: 14.5px;
  }
}
}

/* Compact sizing with the restored warm template palette */
body {
  font-size: 15px;
  line-height: 1.5;
}

.homepage-shell {
  width: min(1060px, calc(100% - 44px));
  padding-top: 38px;
}

.section-drip-nav {
  right: max(20px, calc(50% - 550px));
}

.profile-section {
  gap: 54px;
  padding: 38px 40px 40px;
}

.content-section {
  padding: 30px 36px 34px;
}

.profile-copy h1 {
  font-size: clamp(34px, 4.2vw, 41px);
  line-height: 1.06;
}

.profile-copy p {
  font-size: 16px;
  line-height: 1.55;
}

.profile-kicker {
  font-size: 12.5px !important;
}

.profile-rule {
  margin: 17px 0 13px;
}

.content-section > .section-title {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.18;
}

.section-note {
  margin-top: 7px;
}

.news-text {
  font-size: 15px;
  line-height: 1.48;
}

.news-date-badge {
  font-size: 11.5px;
}

.tag-filter {
  margin: 15px 0 21px;
}

.publication-list {
  gap: 15px;
}

.publication-card {
  gap: 23px;
  padding: 18px;
}

.publication-copy h2 {
  font-size: 17px;
  line-height: 1.28;
}

.publication-copy p {
  font-size: 14px;
  line-height: 1.45;
}

.experience-grid {
  gap: 26px;
  margin-top: 18px;
}

.experience-column {
  padding: 21px 22px 7px;
}

.experience-column > h2 {
  margin-bottom: 18px;
}

.timeline-item {
  padding-bottom: 20px;
}

.timeline-item h3 {
  font-size: 15px;
}

.timeline-item p,
.project-card span {
  font-size: 13px;
  line-height: 1.45;
}

.project-grid {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .homepage-shell {
    width: min(100% - 30px, 760px);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  .homepage-shell {
    width: calc(100% - 20px);
  }

  .profile-section {
    padding: 30px 22px 32px;
  }

  .content-section {
    padding: 27px 20px 30px;
  }

  .profile-copy p,
  .news-text {
    font-size: 14.5px;
  }
}
