:root {
  --ink: #1d2427;
  --ink-soft: #57463f;
  --muted: #6c5147;
  --line: #ddd9d0;
  --line-strong: #c8c0b4;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --blue: #59666a;
  --blue-mid: #73807d;
  --blue-soft: #ebece7;
  --aqua: #8fa19b;
  --sage: #9ba89d;
  --warm: #865f50;
  --sand: #eee7dc;
  --shadow: 0 24px 70px rgba(73, 66, 56, .075);
  --max: 1160px;
  --sans: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Crimson Pro", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(89, 102, 106, .018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(89, 102, 106, .016) 1px, transparent 1px),
    url("/assets/quzhou-city-osm.png"),
    radial-gradient(circle at 82% 12%, rgba(155, 168, 157, .18), transparent 26rem),
    radial-gradient(circle at 8% 84%, rgba(169, 134, 125, .13), transparent 24rem);
  background-position: center, center, center 48%, center, center;
  background-size: 72px 72px, 72px 72px, 118% auto, auto, auto;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(115deg, transparent 0 48%, rgba(155, 168, 157, .028) 48.1% 48.4%, transparent 48.5%);
  opacity: .58;
}

body.page-home,
body.page-interests {
  background-image:
    linear-gradient(90deg, rgba(89, 102, 106, .018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(89, 102, 106, .016) 1px, transparent 1px),
    linear-gradient(rgba(247, 244, 238, .66), rgba(247, 244, 238, .66)),
    url("/assets/quzhou-city-osm.png"),
    radial-gradient(circle at 82% 12%, rgba(155, 168, 157, .18), transparent 26rem),
    radial-gradient(circle at 8% 84%, rgba(169, 134, 125, .13), transparent 24rem);
  background-position: center, center, center, center 48%, center, center;
  background-size: 72px 72px, 72px 72px, auto, 118% auto, auto, auto;
  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed, fixed, fixed, fixed;
}

a {
  color: var(--blue-mid);
  text-decoration: none;
}

a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .2em;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: .6rem .8rem;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .78rem max(1.2rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(215, 224, 236, .72);
  background: rgba(247, 244, 238, .84);
  backdrop-filter: blur(18px);
}

.site-mark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .02em;
}

.site-mark__text {
  white-space: nowrap;
}

.site-mark:hover,
.site-nav a:hover {
  text-decoration: none;
}

.site-mark__avatar {
  display: block;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 6px 18px rgba(73, 66, 56, .08);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: .45rem .62rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.site-nav a[aria-current="page"] {
  color: var(--blue);
  background: rgba(235, 236, 231, .92);
}

main {
  width: 100%;
}

.page-inner main {
  background: rgba(247, 244, 238, .82);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

main > h1,
main > h2,
main > h3,
main > p,
main > ul,
main > ol,
main > blockquote,
main > div:not(.hero):not(.section):not(.article-page),
main > img {
  width: min(890px, calc(100% - 2.2rem));
  margin-left: auto;
  margin-right: auto;
}

main > h1:first-child,
main > p:first-child {
  margin-top: clamp(2.6rem, 6vw, 5rem);
}

main > h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}

.page-shell,
.hero,
.section,
.article-page {
  width: min(var(--max), calc(100% - 2.2rem));
  margin-inline: auto;
}

.hero {
  min-height: calc(78vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(280px, .5fr);
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
  padding: clamp(2.2rem, 4.8vw, 4.2rem) 0 clamp(1.8rem, 3.5vw, 2.8rem);
}

.eyebrow {
  margin: 0 0 .9rem;
  color: var(--warm);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 6.4vw, 5.8rem);
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  margin: 0 0 .45rem;
  font-size: 1.12rem;
}

.hero__subtitle {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.55;
}

.hero__meta {
  display: grid;
  gap: .4rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-weight: 500;
}

.link-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.45rem;
}

.text-link,
.pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1;
}

.text-link {
  padding: .64rem .78rem;
}

.pill {
  padding: .48rem .68rem;
  font-size: .86rem;
}

.text-link:hover,
.pill:hover {
  border-color: var(--sage);
  color: var(--blue);
  text-decoration: none;
  transform: translateY(-1px);
}

.hero__visual {
  display: grid;
  align-items: stretch;
  justify-self: end;
  width: min(100%, 360px);
}

.hero--quzhou {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: auto;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(2rem, 4vw, 4.2rem);
  justify-content: center;
  align-items: start;
  padding: clamp(1.5rem, 3.5vh, 2.6rem) max(1.2rem, calc((100vw - var(--max)) / 2)) clamp(2.7rem, 5vh, 4rem);
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.hero--quzhou::after {
  display: none;
}

.hero--quzhou .hero__copy {
  max-width: 47rem;
  align-self: start;
  justify-self: start;
}

.hero--quzhou .hero__visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  align-self: start;
}

.hero--quzhou .portrait-card {
  border-color: rgba(255, 255, 255, .68);
  background: rgba(247, 244, 238, .76);
  box-shadow: 0 28px 80px rgba(29, 36, 39, .18);
  backdrop-filter: blur(10px);
}

.hero-map-credit {
  position: absolute;
  right: max(1.2rem, calc((100vw - var(--max)) / 2));
  bottom: 1.15rem;
  margin: 0;
  color: rgba(56, 65, 64, .72);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hero--quzhou h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 5.2vw, 5rem);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .75);
}

.hero--quzhou .link-row {
  margin-top: 1rem;
}

.hero__places {
  position: relative;
  width: min(100%, 690px);
  margin-top: 1.05rem;
  padding: 0;
}

.hero__places::after {
  display: none;
}

.hero__places .map-stage {
  height: clamp(255px, 26vw, 310px);
}

.hero__places .academic-map-image {
  opacity: 1;
  filter:
    drop-shadow(1.4px 1.4px 0 rgba(255, 255, 255, .95))
    drop-shadow(-1.4px -1.4px 0 rgba(73, 66, 56, .42))
    drop-shadow(0 12px 9px rgba(73, 66, 56, .17))
    saturate(1.08)
    contrast(1.24)
    brightness(.96);
  mix-blend-mode: normal;
}

.hero--quzhou .hero__subtitle {
  color: rgba(29, 36, 39, .78);
}

.hero--quzhou .text-link {
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(10px);
}

.quzhou-credit {
  position: fixed;
  right: clamp(1.1rem, 3.5vw, 3.2rem);
  bottom: clamp(1rem, 2.6vw, 2.2rem);
  z-index: 8;
  margin: 0;
  color: rgba(101, 104, 83, .74);
  font-size: clamp(.76rem, .95vw, .92rem);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.quzhou-credit {
  display: none;
}

.page-home .quzhou-credit,
.page-interests .quzhou-credit {
  display: block;
}

.hero--scholar {
  position: relative;
  min-height: calc(88vh - 72px);
  grid-template-columns: minmax(0, .95fr) minmax(410px, .78fr);
  gap: clamp(2rem, 5vw, 5.2rem);
  padding-top: clamp(2.4rem, 5vw, 5rem);
  perspective: 1200px;
}

.hero--scholar::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 51%;
  width: min(46rem, 74vw);
  height: min(31rem, 54vw);
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 28%, rgba(143, 161, 155, .14) 28.2% 28.8%, transparent 29% 100%),
    repeating-linear-gradient(142deg, rgba(89, 102, 106, .055) 0 1px, transparent 1px 18px);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: .72;
  transform: translate(-50%, -50%) rotate(-2deg);
  z-index: -1;
}

.hero--scholar .hero__copy {
  align-self: center;
}

.hero--scholar h1 {
  max-width: 11ch;
}

.hero--scholar .hero__subtitle {
  max-width: 39rem;
  font-size: 1.22rem;
}

.hero__focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .72rem;
  margin-top: 1.6rem;
  max-width: 47rem;
}

.hero__focus-grid article {
  position: relative;
  min-height: 10.5rem;
  padding: .92rem .9rem 1rem;
  border: 1px solid rgba(200, 192, 180, .72);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(238, 231, 220, .42)),
    linear-gradient(315deg, rgba(89, 102, 106, .06), transparent 52%);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, .88),
    inset -10px -14px 24px rgba(92, 82, 76, .045),
    0 16px 34px rgba(73, 66, 56, .06);
}

.hero__focus-grid span,
.relief-card span {
  display: block;
  color: var(--warm);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.hero__focus-grid strong {
  display: block;
  margin-top: .65rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.1;
}

.hero__focus-grid p {
  margin: .55rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.42;
}

.hero--scholar .hero__visual {
  width: min(100%, 520px);
}

.relief-stage {
  position: relative;
  min-height: 560px;
  isolation: isolate;
  transform: rotateX(2deg) rotateY(-5deg);
  transform-style: preserve-3d;
}

.relief-stage::before {
  content: "";
  position: absolute;
  inset: 4% 5% 3% 0;
  border: 1px solid rgba(200, 192, 180, .86);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(238, 231, 220, .62)),
    repeating-linear-gradient(0deg, rgba(89, 102, 106, .04) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(90deg, rgba(89, 102, 106, .035) 0 1px, transparent 1px 38px);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, .84),
    inset -18px -22px 42px rgba(73, 66, 56, .07),
    0 34px 88px rgba(73, 66, 56, .14);
  transform: translateZ(-22px);
  z-index: -2;
}

.relief-stage::after {
  content: "";
  position: absolute;
  inset: 10% 9% 9% 6%;
  border: 1px solid rgba(143, 161, 155, .5);
  border-radius: 50%;
  opacity: .7;
  transform: rotate(-12deg) translateZ(8px);
  z-index: -1;
}

.portrait-card--relief {
  position: absolute;
  top: 7%;
  right: 8%;
  width: 55%;
  transform: translateZ(58px) rotateY(-7deg) rotateZ(1.5deg);
  z-index: 3;
}

.portrait-card--relief img {
  aspect-ratio: .78;
  object-position: 50% 38%;
}

.portrait-card--relief::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .34), transparent 38%),
    linear-gradient(0deg, rgba(29, 36, 39, .18), transparent 42%);
  mix-blend-mode: soft-light;
}

.relief-map {
  position: absolute;
  left: 4%;
  top: 14%;
  width: 68%;
  height: 50%;
  padding: 1.1rem;
  border: 1px solid rgba(221, 217, 208, .74);
  border-radius: 8px;
  background: rgba(255, 255, 255, .42);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, .7),
    0 18px 46px rgba(73, 66, 56, .08);
  transform: translateZ(24px) rotateZ(-4deg);
  z-index: 1;
}

.relief-map img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: .48;
  filter: grayscale(1) contrast(1.08);
}

.relief-card {
  position: absolute;
  display: grid;
  gap: .38rem;
  width: min(300px, 62%);
  padding: .86rem .94rem;
  border: 1px solid rgba(200, 192, 180, .82);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(238, 231, 220, .68)),
    linear-gradient(315deg, rgba(143, 161, 155, .09), transparent 60%);
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, .82),
    0 18px 46px rgba(73, 66, 56, .12);
  transform: translateZ(80px);
  z-index: 5;
}

.relief-card strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.08;
}

.relief-card small {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.25;
}

.relief-card--current {
  left: 7%;
  bottom: 17%;
}

.relief-card--methods {
  right: 0;
  bottom: 4%;
  width: min(330px, 66%);
  transform: translateZ(92px) rotateZ(-1.2deg);
}

.relief-caption {
  position: absolute;
  left: auto;
  right: 3%;
  top: 10%;
  bottom: auto;
  color: rgba(75, 83, 83, .72);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateZ(42px);
  z-index: 4;
}

.portrait-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(200, 192, 180, .82);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 26px 72px rgba(73, 66, 56, .13);
}

.portrait-card img {
  display: block;
  width: 100%;
  aspect-ratio: .88;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(.78) contrast(.98);
}

.portrait-cities {
  padding: .82rem 1rem .9rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .62);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.35;
  text-align: center;
}

.hero-map {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(24, 60, 115, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 60, 115, .05) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(245, 239, 228, .58));
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow);
}

.hero-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-route {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  opacity: .38;
  animation: route-flow 16s linear infinite;
}

.map-route--soft {
  stroke: var(--sage);
  stroke-width: 1.2;
  opacity: .33;
  animation-duration: 22s;
}

.map-point {
  fill: var(--panel);
  stroke: var(--blue);
  stroke-width: 1.8;
  cursor: pointer;
}

.map-point.is-active,
.map-point:hover {
  fill: var(--blue);
}

.city-path {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .35rem;
}

.city-path span {
  position: relative;
  padding: .55rem .45rem;
  border: 1px solid rgba(215, 224, 236, .86);
  border-radius: 7px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.map-label {
  position: absolute;
  width: min(280px, calc(100% - 2rem));
  padding: .78rem .85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 48px rgba(18, 42, 77, .12);
  transform: translate(-50%, -112%);
}

.map-label strong {
  display: block;
  color: var(--ink);
  line-height: 1.2;
}

.map-label span {
  display: block;
  margin-top: .15rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.35;
}

@keyframes route-flow {
  to {
    stroke-dashoffset: -180;
  }
}

.section {
  padding: clamp(2.4rem, 5vw, 4.2rem) clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(221, 217, 208, .68);
  border-radius: 8px;
  background: rgba(247, 244, 238, .76);
  box-shadow: 0 18px 54px rgba(73, 66, 56, .055);
  backdrop-filter: blur(10px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 43rem;
}

.lead {
  color: var(--ink-soft);
  font-size: 1.16rem;
  line-height: 1.64;
}

.grid-3,
.grid-2,
.project-grid,
.feature-grid {
  display: grid;
  gap: 1rem;
}

.grid-3,
.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
}

.card,
.research-card,
.project-card,
.feature-card,
.timeline-item,
.note-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 44px rgba(18, 42, 77, .045);
}

.card,
.research-card,
.timeline-item,
.note-card {
  padding: 1.15rem;
}

.card p,
.research-card p,
.timeline-item p,
.note-card p {
  margin: .45rem 0 0;
  color: var(--muted);
}

.card:hover,
.research-card:hover,
.project-card:hover,
.feature-card:hover,
.timeline-item:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  transition: transform .18s ease, border-color .18s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s ease, transform .5s ease;
}

.research-card {
  display: grid;
  gap: .55rem;
}

.research-card__type,
.project-card__type,
.date {
  color: var(--warm);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.research-card__authors {
  color: var(--muted);
  font-size: .96rem;
}

.project-card {
  position: relative;
  overflow: hidden;
}

.feature-card {
  display: grid;
  overflow: hidden;
  color: var(--ink);
}

.feature-card:hover {
  text-decoration: none;
}

.feature-card--large {
  grid-row: span 2;
}

.feature-card__image {
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #fff;
  filter: saturate(.82) contrast(1.02);
}

.feature-card--large .feature-card__image {
  aspect-ratio: 1.18;
}

.feature-card__body {
  display: grid;
  gap: .55rem;
  align-content: start;
  padding: 1.05rem;
}

.feature-card__body p {
  margin: 0;
  color: var(--muted);
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin-top: .25rem;
}

.mini-tags span {
  padding: .32rem .45rem;
  border: 1px solid rgba(215, 224, 236, .9);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
}

.project-card:hover {
  text-decoration: none;
}

.project-card__image {
  aspect-ratio: 1.35;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  filter: saturate(.82) contrast(1.02);
}

.project-card__body {
  padding: 1rem;
}

.project-card__body p {
  margin: .5rem 0 0;
  color: var(--muted);
}

.project-card::after {
  content: "View";
  position: absolute;
  right: .75rem;
  top: .75rem;
  padding: .32rem .5rem;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 999px;
  background: rgba(11, 22, 40, .72);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-4px);
  transition: .18s ease;
}

.project-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.25rem;
}

.timeline-item h3 {
  margin-bottom: .15rem;
}

.city-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.city {
  display: grid;
  align-content: start;
  min-height: 11rem;
  padding: 1.05rem;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(111, 143, 122, .07), transparent 55%),
    var(--panel);
}

.city:last-child {
  border-right: 0;
}

.school-mark,
.city strong,
.city span:not(.school-mark) {
  display: block;
}

.school-mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  margin-bottom: .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, .68);
  color: var(--warm);
  font-family: var(--serif);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}

.city strong {
  font-size: 1rem;
  line-height: 1.18;
}

.city span:not(.school-mark) {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .92rem;
}

.journey-map {
  position: relative;
  display: block;
}

.section--places {
  position: relative;
  isolation: isolate;
}

.section--places::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(1120px, 96vw);
  height: min(520px, 48vw);
  pointer-events: none;
  background:
    radial-gradient(circle at 68% 22%, rgba(203, 215, 218, .28), transparent 34%),
    radial-gradient(circle at 42% 42%, rgba(216, 190, 194, .22), transparent 36%),
    radial-gradient(circle at 55% 72%, rgba(205, 213, 200, .2), transparent 40%);
  filter: blur(12px);
  opacity: .72;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.map-stage {
  position: relative;
  height: clamp(520px, 48vw, 620px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
}

.academic-map-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: .88;
  filter:
    drop-shadow(0 20px 16px rgba(73, 66, 56, .075))
    drop-shadow(0 2px 1px rgba(255, 255, 255, .72))
    saturate(.9)
    contrast(1.03);
  mix-blend-mode: multiply;
}

.map-place {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 4;
}

.map-place__dot {
  position: absolute;
  left: 0;
  top: 0;
  width: .7rem;
  height: .7rem;
  border: 2px solid rgba(169, 134, 125, .92);
  border-radius: 50%;
  background: rgba(247, 244, 238, .96);
  box-shadow:
    0 0 0 3px rgba(247, 244, 238, .7),
    0 4px 12px rgba(73, 66, 56, .18);
  transform: translate(-50%, -50%);
}

.map-place__dot::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: rgba(169, 134, 125, .82);
}

.map-place__label {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: max-content;
  max-width: 13.5rem;
  transform: translate(var(--label-x), var(--label-y));
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .98),
    0 0 5px rgba(247, 244, 238, .98),
    0 0 10px rgba(247, 244, 238, .9);
}

.map-place__label strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.05;
}

.map-place__label > span {
  display: block;
  margin-top: .16rem;
  color: var(--ink-soft);
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .01em;
  line-height: 1.12;
}

.map-place--shenzhen .map-place__label > span + span {
  margin-top: .08rem;
}

.article-page {
  padding: clamp(2.6rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(221, 217, 208, .68);
  border-radius: 8px;
  background: rgba(247, 244, 238, .78);
  box-shadow: 0 18px 54px rgba(73, 66, 56, .055);
  backdrop-filter: blur(10px);
}

.article-hero {
  display: grid;
  gap: .9rem;
  max-width: 820px;
  margin-bottom: 2rem;
}

.article-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}

.content-prose {
  max-width: 890px;
}

.content-prose h2 {
  margin-top: 2.4rem;
  font-size: 2rem;
}

.content-prose img {
  display: block;
  width: min(100%, 900px);
  max-height: 680px;
  object-fit: contain;
  margin: 1rem auto 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.content-prose ul {
  padding-left: 1.15rem;
}

.content-prose li {
  margin: .4rem 0;
}

.signature-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
}

.signature-figure {
  display: grid;
  align-content: start;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 44px rgba(18, 42, 77, .045);
}

.signature-figure img {
  display: block;
  width: 100%;
  aspect-ratio: .88;
  object-fit: contain;
  background: #fff;
}

.signature-figure figcaption {
  padding: .85rem 1rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.signature-figure figcaption strong {
  color: var(--ink);
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-weight: 700;
}

.interest-placeholder {
  display: grid;
  min-height: 16rem;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(24, 60, 115, .04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 60, 115, .04) 1px, transparent 1px),
    rgba(255, 255, 255, .58);
  background-size: 28px 28px;
  color: var(--muted);
  text-align: center;
}

#publications,
#manuscripts,
#projects,
#experience {
  scroll-margin-top: 5.5rem;
}

.section--places {
  padding-top: clamp(2rem, 4vw, 3.2rem);
  padding-bottom: clamp(1.7rem, 3vw, 2.7rem);
}

.section--places .map-stage {
  height: clamp(350px, 37vw, 460px);
}

.section--research .research-card {
  border-left: 3px solid rgba(143, 161, 155, .72);
}

.publication-card {
  max-width: none;
}

.section-head--simple {
  display: block;
}

.section-head--simple h2 {
  margin-bottom: 0;
}

.publication-thumbnail {
  margin: 0;
}

.publication-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.research-work-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.page-home .research-work-row {
  display: grid;
  grid-template-columns: minmax(235px, 315px) minmax(0, 1fr);
  gap: clamp(1.15rem, 2.4vw, 1.8rem);
  align-items: center;
  min-height: 0;
  padding: .8rem 0 1rem;
  border: 0 !important;
  border-bottom: 1px solid rgba(122, 129, 125, .34) !important;
  background: transparent;
  box-shadow: none;
}

.page-home .research-work-row:first-child {
  padding-top: .2rem;
}

.page-home .research-work-row__content {
  display: grid;
  gap: .22rem;
  align-content: center;
  min-width: 0;
  padding: 0;
}

.page-home .research-work-row__content h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.25;
}

.page-home .research-work-row__content p {
  margin: .14rem 0 0;
  font-size: .9rem;
  line-height: 1.35;
}

.page-home .research-work-row__content .research-card__authors {
  font-size: .9rem;
  line-height: 1.35;
}

.page-home .research-work-row__content .link-row {
  margin-top: .35rem;
}

.research-work-row__visual,
.publication-thumbnail {
  display: grid;
  width: 100%;
  min-height: 125px;
  place-items: center;
  margin: 0;
  padding: .34rem;
  border: 1px solid rgba(200, 192, 180, .72);
  border-radius: 7px;
  background: rgba(255, 255, 255, .96);
  box-shadow:
    0 11px 25px rgba(73, 66, 56, .13),
    inset 1px 1px 0 rgba(255, 255, 255, .98),
    inset -1px -1px 0 rgba(169, 134, 125, .12);
  transform: translateY(-1px);
}

.research-work-row__visual img,
.publication-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 170px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}

.research-work-row__visual--logo img {
  width: min(78%, 205px);
  max-height: 72px;
  background: transparent;
}

.research-work-row__visual--fill {
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.research-work-row__visual--fill img {
  width: 100%;
  max-width: 100%;
  max-height: none;
}

.publication-thumbnail {
  min-height: 0;
  padding: 0;
}

.publication-thumbnail img {
  width: 100%;
  max-width: 100%;
  max-height: none;
}

.project-card--static::after {
  display: none;
}

.project-card--static:hover {
  border-color: var(--line);
  transform: none;
}

.manuscripts-grid {
  align-items: stretch;
}

.manuscript-card {
  min-height: 14rem;
  align-content: start;
}

.manuscript-note {
  padding-top: .35rem;
  border-top: 1px solid var(--line);
  font-size: .94rem;
}

/* The homepage content shares one continuous fixed map background. */
.page-home .section {
  padding: clamp(1.65rem, 3vw, 2.35rem) 0;
  border: 0;
  border-top: 1px solid rgba(122, 129, 125, .28);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.page-home .section-head {
  margin-bottom: 1rem;
}

.page-home .section-head--simple h2,
.page-home .section--compact-research h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  text-align: left;
}

.page-home .section--compact-research .research-card,
.page-home .section--compact-research .project-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-home .section--compact-research .research-card:hover,
.page-home .section--compact-research .project-card:hover {
  border-color: transparent;
  transform: none;
}

.page-home .manuscripts-grid {
  gap: 0;
}

.page-home .manuscript-card {
  min-height: 0;
}

.page-home .manuscript-card h3 {
  margin-bottom: .15rem;
}

.page-home .manuscript-card p {
  margin-top: .25rem;
}

.page-home .manuscript-note {
  padding-top: .25rem;
  border-top: 0;
}

.page-home .project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.7rem);
}

.page-home #projects {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(0, 680px);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.page-home #projects .section-head {
  grid-column: 1;
  margin: 0;
}

.page-home #projects .project-grid {
  grid-column: 2;
  width: 100%;
  justify-self: end;
}

.page-home .project-card {
  overflow: visible;
}

.page-home .project-card__image {
  aspect-ratio: 1.75;
  border: 1px solid rgba(200, 192, 180, .7);
  border-radius: 5px;
  box-shadow: 0 9px 24px rgba(73, 66, 56, .09);
}

.page-home .project-card__image--natural {
  display: block;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
}

.page-home .project-card__body {
  padding: .65rem 0 0;
}

.page-home .project-card__body h3 {
  margin-bottom: .18rem;
  font-size: 1.03rem;
}

.page-home .project-card__title--single-line {
  font-size: .96rem;
  white-space: nowrap;
}

.interests-preview {
  width: min(1060px, calc(100% - 1.5rem));
  margin-inline: auto;
  padding: clamp(1.8rem, 4vw, 3.2rem) 0 clamp(2.8rem, 6vw, 5rem);
}

.interests-scene {
  position: relative;
  min-height: clamp(760px, 78vw, 860px);
  overflow: hidden;
  isolation: isolate;
  perspective: 900px;
  background: transparent;
}

.interests-ropes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.interests-rope-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: .98;
}

.art-rope {
  position: absolute;
  left: -8%;
  width: 116%;
  height: var(--rope-sag);
  border-bottom: 2px solid rgba(105, 76, 58, .62);
  border-radius: 0 0 50% 50%;
  filter: drop-shadow(0 1px 0 rgba(247, 244, 238, .5));
  transform: rotate(var(--rope-turn));
  transform-origin: center top;
  will-change: transform;
  transition: opacity .2s ease;
}

.interests-scene.has-rope-canvas .art-rope {
  opacity: 0;
}

.art-rope::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1px;
  border-bottom: 1px dashed rgba(151, 113, 83, .34);
  border-radius: inherit;
  content: "";
}

.art-rope--1 {
  top: 1.5%;
  --rope-sag: 100px;
  --rope-turn: -1.2deg;
  --rope-delay: 0s;
}

.art-rope--2 {
  top: 29%;
  left: -10%;
  width: 120%;
  --rope-sag: 84px;
  --rope-turn: 1deg;
  --rope-delay: .12s;
}

.art-rope--3 {
  top: 57%;
  left: -7%;
  width: 114%;
  --rope-sag: 124px;
  --rope-turn: -.65deg;
  --rope-delay: .24s;
}

.interests-art-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.art-piece {
  position: absolute;
  box-sizing: border-box;
  width: var(--art-size);
  margin: 0;
  transform: none;
}

.art-piece::before {
  position: absolute;
  top: -17px;
  left: 50%;
  z-index: 4;
  width: clamp(8px, 1vw, 11px);
  height: clamp(21px, 2.5vw, 27px);
  border: 1px solid rgba(101, 73, 51, .42);
  border-radius: 2px 2px 4px 3px;
  background:
    linear-gradient(90deg, rgba(92, 61, 40, .28), transparent 22% 74%, rgba(92, 61, 40, .23)),
    linear-gradient(90deg, #917057 0 18%, #c6a47e 20% 58%, #9f785b 60% 100%);
  box-shadow: 1px 3px 5px rgba(70, 50, 37, .2);
  content: "";
  transform: translateX(-50%) rotate(var(--clip-turn, -2deg));
}

.art-piece::after {
  position: absolute;
  top: -9px;
  left: 50%;
  z-index: 5;
  width: 4px;
  height: 4px;
  border: 1px solid rgba(67, 51, 42, .55);
  border-radius: 50%;
  background: #c9ad8d;
  content: "";
  transform: translateX(-50%);
}

.art-piece__button {
  position: relative;
  display: block;
  width: 100%;
  padding: clamp(4px, .5vw, 6px) clamp(4px, .5vw, 6px) clamp(23px, 2.45vw, 30px);
  overflow: hidden;
  appearance: none;
  border: 1px solid rgba(192, 184, 168, .48);
  border-radius: 2px 5px 3px 6px / 4px 2px 6px 3px;
  clip-path: polygon(.8% .5%, 98.7% 0, 100% 97.4%, 98.2% 100%, 1.1% 99.2%, 0 2.1%);
  color: inherit;
  cursor: zoom-in;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .7), transparent 22%),
    radial-gradient(circle at 78% 70%, rgba(174, 154, 121, .08), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 252, .91), rgba(237, 232, 216, .78));
  box-shadow:
    5px 17px 28px rgba(63, 54, 47, .12),
    1px 4px 8px rgba(63, 54, 47, .08),
    inset 0 0 13px rgba(255, 255, 255, .36);
  font: inherit;
  transform:
    perspective(620px)
    translate3d(var(--wind-x, 0px), var(--wind-y, 0px), 0)
    rotate(calc(var(--tilt, 0deg) + var(--wind-turn, 0deg)))
    rotateX(var(--paper-curl-x, 0deg))
    rotateY(var(--paper-curl-y, 0deg))
    skewX(var(--paper-flex, 0deg));
  transform-origin: 50% 0;
  transition: transform .68s cubic-bezier(.18, .76, .2, 1), box-shadow .5s ease, filter .5s ease;
  will-change: transform;
}

.art-piece__button::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle, rgba(103, 79, 48, .08) 0 .45px, transparent .65px),
    radial-gradient(circle, rgba(255, 255, 255, .22) 0 .4px, transparent .6px);
  background-position: 0 0, 2px 3px;
  background-size: 5px 7px, 7px 9px;
  content: "";
  mix-blend-mode: multiply;
  pointer-events: none;
}

.art-piece__button::after {
  position: absolute;
  right: 6px;
  bottom: clamp(4px, .5vw, 6px);
  left: 6px;
  z-index: 3;
  color: rgba(78, 66, 57, .72);
  content: attr(data-time) "\A" attr(data-place);
  font-family: var(--serif);
  font-size: clamp(.54rem, .82vw, .7rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.08;
  text-align: left;
  white-space: pre-line;
  pointer-events: none;
}

.art-piece__button img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px 1px 3px 1px;
  filter: saturate(.94) contrast(.985);
  box-shadow: 0 1px 2px rgba(73, 58, 45, .08);
}

.art-piece--kraft .art-piece__button {
  border-color: rgba(153, 124, 86, .42);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 245, 217, .32), transparent 20%),
    radial-gradient(circle at 74% 68%, rgba(91, 62, 35, .08), transparent 30%),
    linear-gradient(145deg, rgba(217, 190, 147, .88), rgba(187, 151, 103, .78));
}

.art-piece--kraft .art-piece__button::after {
  color: rgba(71, 49, 32, .78);
}

.art-piece:hover,
.art-piece:focus-within {
  z-index: 8;
}

.art-piece:hover .art-piece__button,
.art-piece:focus-within .art-piece__button {
  box-shadow:
    7px 22px 40px rgba(63, 54, 47, .16),
    1px 5px 10px rgba(63, 54, 47, .09);
  transform: perspective(620px) translate3d(0, -4px, 14px) rotate(var(--tilt, 0deg)) rotateX(0deg) rotateY(0deg) skewX(0deg) scale(1.025);
}

.art-piece__button:focus-visible {
  outline: 2px solid rgba(134, 95, 80, .78);
  outline-offset: 5px;
}

.art-piece--hero {
  z-index: 3;
  padding-bottom: clamp(9px, 1.1vw, 14px);
}

.postcard--wiesbaden-one {
  top: 10.5%;
  left: 12%;
  --art-size: clamp(58px, 7vw, 74px);
  --tilt: -4deg;
  --clip-turn: 3deg;
  --duration: 7.8s;
  --delay: -.8s;
  --drift-x: 2px;
  --drift-turn: .8deg;
  --settle-turn: 2.9deg;
}

.postcard--cities {
  top: 15.8%;
  left: 39%;
  --art-size: clamp(108px, 12.8vw, 134px);
  --tilt: 1.2deg;
  --clip-turn: -2deg;
  --duration: 8.6s;
  --delay: -3.1s;
  --drift-x: -2px;
  --drift-turn: -.65deg;
  --settle-turn: -.85deg;
}

.postcard--wiesbaden-two {
  top: 13%;
  left: 78%;
  --art-size: clamp(56px, 6.8vw, 72px);
  --tilt: 3.3deg;
  --clip-turn: -4deg;
  --duration: 6.9s;
  --delay: -1.7s;
  --drift-x: -2px;
  --drift-turn: -.7deg;
  --settle-turn: -2.4deg;
}

.postcard--shenzhen-april {
  top: 14.2%;
  left: 61%;
  --art-size: clamp(70px, 8.5vw, 90px);
  --tilt: -2deg;
  --clip-turn: 3deg;
  --duration: 8.1s;
  --delay: -3.8s;
  --drift-x: 2px;
  --drift-turn: .6deg;
  --settle-turn: 1.4deg;
}

.postcard--arch {
  top: 39%;
  left: 5.5%;
  --art-size: clamp(66px, 7.8vw, 82px);
  --tilt: -2.6deg;
  --clip-turn: 2deg;
  --duration: 7.2s;
  --delay: -4.2s;
  --drift-x: 1px;
  --drift-turn: .55deg;
  --settle-turn: 1.9deg;
}

.postcard--shadow {
  top: 39%;
  left: 25%;
  --art-size: clamp(102px, 12vw, 126px);
  --tilt: 2.1deg;
  --clip-turn: -3deg;
  --duration: 9.2s;
  --delay: -2.5s;
  --drift-x: -3px;
  --drift-turn: -.8deg;
  --settle-turn: -1.5deg;
}

.postcard--bridge {
  top: 41%;
  left: 60%;
  --art-size: clamp(64px, 7.6vw, 80px);
  --tilt: -3.4deg;
  --clip-turn: 4deg;
  --duration: 7.5s;
  --delay: -5.1s;
  --drift-x: 2px;
  --drift-turn: .65deg;
  --settle-turn: 2.4deg;
}

.postcard--shenzhen-may {
  top: 41.5%;
  left: 45%;
  --art-size: clamp(66px, 8vw, 84px);
  --tilt: 2.7deg;
  --clip-turn: -3deg;
  --duration: 7.7s;
  --delay: -4.4s;
  --drift-x: -2px;
  --drift-turn: -.65deg;
  --settle-turn: -1.9deg;
}

.postcard--wall {
  top: 40%;
  left: 79%;
  --art-size: clamp(106px, 12.5vw, 132px);
  --tilt: 1.7deg;
  --clip-turn: -2deg;
  --duration: 8.9s;
  --delay: -1.2s;
  --drift-x: -2px;
  --drift-turn: -.7deg;
  --settle-turn: -1.2deg;
}

.postcard--guitar {
  top: 74%;
  left: 11%;
  --art-size: clamp(116px, 13.5vw, 142px);
  --tilt: -2.2deg;
  --clip-turn: 3deg;
  --duration: 9.5s;
  --delay: -4.6s;
  --drift-x: 3px;
  --drift-turn: .75deg;
  --settle-turn: 1.6deg;
}

.postcard--wiesbaden-three {
  top: 71%;
  left: 49%;
  --art-size: clamp(62px, 7.4vw, 78px);
  --tilt: 3.5deg;
  --clip-turn: -3deg;
  --duration: 7.1s;
  --delay: -2.9s;
  --drift-x: -2px;
  --drift-turn: -.6deg;
  --settle-turn: -2.5deg;
}

.postcard--munich {
  top: 71%;
  left: 78%;
  --art-size: clamp(68px, 8vw, 84px);
  --tilt: -3deg;
  --clip-turn: 2deg;
  --duration: 8s;
  --delay: -6.1s;
  --drift-x: 2px;
  --drift-turn: .7deg;
  --settle-turn: 2.1deg;
}

.postcard--hangzhou {
  top: 72.5%;
  left: 30%;
  --art-size: clamp(82px, 9.8vw, 104px);
  --tilt: 1.8deg;
  --clip-turn: -2deg;
  --duration: 8.8s;
  --delay: -5.5s;
  --drift-x: -2px;
  --drift-turn: -.7deg;
  --settle-turn: -1.3deg;
}

.postcard--quzhou-august {
  top: 71.5%;
  left: 58.5%;
  --art-size: clamp(112px, 13.2vw, 138px);
  --tilt: -1.4deg;
  --clip-turn: 2.5deg;
  --duration: 9.1s;
  --delay: -3.6s;
  --drift-x: 2px;
  --drift-turn: .65deg;
  --settle-turn: 1.2deg;
}

.interests-coming {
  position: absolute;
  top: 3.8%;
  left: 50%;
  z-index: 5;
  margin: 0;
  color: var(--warm);
  font-family: var(--serif);
  font-size: clamp(.76rem, 1.25vw, .94rem);
  font-style: italic;
  white-space: nowrap;
  transform: translateX(-50%);
}

.art-lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  width: min(82vw, 760px);
  max-width: none;
  height: min(76vh, 680px);
  max-height: none;
  margin: auto;
  padding: clamp(2.7rem, 4vw, 3.6rem) clamp(3.2rem, 6vw, 5rem) clamp(1.2rem, 2vw, 1.7rem);
  border: 1px solid rgba(221, 217, 208, .78);
  border-radius: 10px;
  background: rgba(247, 244, 238, .96);
  box-shadow: 0 30px 100px rgba(50, 43, 38, .27);
  color: var(--ink);
}

.art-lightbox[open] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.65rem, 2vw, 1.5rem);
  animation: lightbox-arrive .24s ease-out both;
}

.art-lightbox::backdrop {
  background: rgba(29, 36, 39, .48);
  backdrop-filter: blur(5px);
}

.art-lightbox__figure {
  display: grid;
  min-width: 0;
  max-height: 100%;
  margin: 0;
  place-items: center;
}

.art-lightbox__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(76vh - 7.5rem);
  border: 7px solid rgba(255, 255, 255, .95);
  background: #fff;
  box-shadow: 0 18px 50px rgba(63, 54, 47, .2);
  object-fit: contain;
}

.art-lightbox__caption {
  margin-top: .8rem;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(.92rem, 1.4vw, 1.05rem);
  letter-spacing: .015em;
  text-align: center;
}

.art-lightbox__close,
.art-lightbox__nav {
  border: 1px solid rgba(200, 192, 180, .82);
  border-radius: 999px;
  color: var(--ink-soft);
  cursor: pointer;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 6px 20px rgba(63, 54, 47, .1);
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.art-lightbox__close:hover,
.art-lightbox__nav:hover {
  color: var(--ink);
  background: #fff;
  transform: translateY(-1px);
}

.art-lightbox__close:focus-visible,
.art-lightbox__nav:focus-visible {
  outline: 2px solid rgba(134, 95, 80, .78);
  outline-offset: 3px;
}

.art-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0 0 .15rem;
  font-size: 1.55rem;
  line-height: 1;
}

.art-lightbox__nav {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  font-size: 1.25rem;
}

body.has-art-lightbox {
  overflow: hidden;
}

@keyframes lightbox-arrive {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.page-home .project-card__body p {
  margin-top: .3rem;
  font-size: .92rem;
  line-height: 1.42;
}

.page-home .section--experience .card,
.page-home .section--experience .timeline-item {
  border: 0;
  border-top: 1px solid rgba(122, 129, 125, .36);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-home .section--experience .card:hover,
.page-home .section--experience .timeline-item:hover {
  border-color: rgba(122, 129, 125, .36);
  transform: none;
}

.section--experience {
  display: grid;
  gap: 2.2rem;
}

.section--experience > .section-head {
  margin-bottom: 0;
}

.experience-group {
  display: grid;
  gap: 1rem;
}

.experience-group > h3 {
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.55rem;
}

.research-experience-list {
  display: grid;
}

.research-experience-row {
  display: grid;
  grid-template-columns: 3.7rem minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(122, 129, 125, .3);
}

.research-experience-row:first-child {
  padding-top: 0;
}

.research-experience-row img {
  display: block;
  width: 3.45rem;
  height: 2.45rem;
  object-fit: contain;
  object-position: left center;
}

.research-experience-row p {
  display: flex;
  align-items: baseline;
  gap: .48rem;
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.3;
  white-space: nowrap;
}

.research-experience-row__date {
  flex: 0 0 8.4rem;
  color: var(--warm);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.research-experience-row strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: .95rem;
}

.education-list {
  display: grid;
}

.education-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: .7rem;
  align-items: center;
  padding: .66rem 0;
  border-bottom: 1px solid rgba(122, 129, 125, .28);
}

.education-row:first-child {
  padding-top: 0;
}

.education-row img {
  display: block;
  width: 2.8rem;
  height: 2.05rem;
  object-fit: contain;
  object-position: left center;
}

.education-row p {
  display: flex;
  align-items: baseline;
  gap: .44rem;
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.3;
  white-space: nowrap;
}

.education-row__date {
  flex: 0 0 4.35rem;
  color: var(--warm);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.education-row strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.3;
}

.education-row p > span:last-child {
  min-width: 0;
  white-space: normal;
}

.education-row p > .education-row__institution--single-line {
  white-space: nowrap;
}

.experience-columns {
  display: grid;
  grid-template-columns: minmax(320px, .76fr) minmax(0, 1.24fr);
  gap: 1.2rem;
  align-items: stretch;
}

.experience-columns > .experience-group {
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  min-width: 0;
}

.experience-columns > .experience-group > .timeline,
.experience-columns > .experience-group > .education-list {
  height: 100%;
}

.experience-columns > .experience-group:first-child .timeline {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.experience-columns > .experience-group:last-child .education-list {
  grid-template-rows: repeat(4, minmax(0, 1fr));
}

.section--experience .timeline-item {
  grid-template-columns: 6.4rem minmax(0, 1fr);
  align-items: center;
  width: 100%;
  padding: .55rem 0;
}

.section--experience h4 {
  margin: 0;
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.3;
}

.section--experience .timeline-item .date {
  font-size: .76rem;
  letter-spacing: .07em;
}

.section--experience .timeline-item p {
  margin-top: .3rem;
  font-size: .92rem;
  line-height: 1.3;
}

.redirect-page {
  display: grid;
  align-content: center;
  width: min(820px, calc(100% - 2.2rem));
  min-height: calc(70vh - 72px);
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 7rem) 0;
}

.redirect-page h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.site-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  width: min(var(--max), calc(100% - 2.2rem));
  margin: 0 auto;
  padding: 2.2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    gap: .7rem;
    padding-bottom: .7rem;
  }

  .site-nav {
    width: auto;
    justify-content: flex-end;
    overflow-x: auto;
    padding-bottom: .1rem;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .section-head,
  .grid-2,
  .grid-3,
  .project-grid,
  .feature-grid,
  .signature-figures {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2.2rem;
  }

  .hero--quzhou {
    min-height: auto;
    gap: 2rem;
    padding-top: 1.6rem;
  }

  .hero--quzhou .hero__visual {
    justify-self: center;
    width: min(100%, 340px);
  }

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

  .experience-columns > .experience-group {
    grid-template-rows: auto;
  }

  .experience-columns > .experience-group > .timeline,
  .experience-columns > .experience-group > .education-list {
    height: auto;
  }

  .experience-columns > .experience-group:first-child .timeline {
    grid-template-rows: repeat(2, auto);
  }

  .experience-columns > .experience-group:last-child .education-list {
    grid-template-rows: repeat(4, auto);
  }

  .education-row p {
    display: grid;
    grid-template-columns: 4.35rem minmax(0, 1fr);
    gap: .12rem .44rem;
    white-space: normal;
  }

  .education-row p > span:last-child {
    grid-column: 1 / -1;
  }

  .research-experience-row p {
    display: block;
    white-space: normal;
  }

  .research-experience-row__date,
  .research-experience-row strong {
    display: inline-block;
    margin-right: .42rem;
  }

  .research-experience-row__date {
    min-width: 7.6rem;
  }

  .hero--scholar {
    gap: 1.8rem;
  }

  .hero__focus-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 420px;
    margin-inline: auto;
  }

  .hero--scholar .hero__visual {
    max-width: 560px;
  }

  .relief-stage {
    min-height: 520px;
    transform: none;
  }

  .hero-map {
    min-height: 360px;
  }

  .feature-card--large {
    grid-row: auto;
  }

  .feature-card--large .feature-card__image,
  .feature-card__image {
    aspect-ratio: 1.55;
  }

  .city-strip {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .map-stage {
    height: clamp(480px, 70vw, 620px);
  }

  .academic-map-image {
    inset: 0;
    width: 100%;
    height: 100%;
  }

}

@media (max-width: 700px) {
  .page-home .research-work-row {
    grid-template-columns: 1fr;
    gap: .75rem;
    padding: .85rem 0 1.1rem;
  }

  .research-work-row__visual,
  .publication-thumbnail {
    justify-items: start;
    width: min(100%, 360px);
    min-height: 0;
  }

  .research-work-row__visual img,
  .publication-thumbnail img {
    max-height: 210px;
  }

  .research-work-row__visual--logo img {
    width: min(68%, 210px);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.65rem);
  }

  .site-header {
    position: static;
    align-items: flex-start;
    gap: .55rem;
    padding: .72rem 1rem .62rem;
  }

  .site-mark__text {
    display: none;
  }

  .site-nav {
    gap: .2rem;
    margin-inline: -1rem;
    width: calc(100% + 2rem);
    padding-inline: 1rem;
  }

  .site-nav a {
    flex: 0 0 auto;
    padding: .38rem .54rem;
    font-size: .88rem;
  }

  .hero,
  .section,
  .article-page {
    width: min(var(--max), calc(100% - 2rem));
  }

  .hero--quzhou {
    width: 100%;
    padding: 1.25rem 1rem 3.1rem;
    background-position: center, center;
    background-size: auto, auto;
  }

  .hero-map-credit {
    right: 1rem;
    bottom: .8rem;
    max-width: calc(100% - 2rem);
    font-size: .62rem;
    text-align: right;
  }

  .quzhou-credit {
    right: 1rem;
    bottom: .95rem;
    max-width: calc(100% - 2rem);
    line-height: 1.25;
    text-align: right;
  }

  .hero {
    gap: 1.65rem;
    padding-top: 1.95rem;
  }

  .hero--scholar::after {
    opacity: .35;
  }

  .hero__focus-grid article {
    min-height: auto;
  }

  .hero__subtitle {
    font-size: 1.08rem;
  }

  .link-row,
  .tag-row {
    gap: .5rem;
    margin-top: 1.15rem;
  }

  .text-link {
    padding: .62rem .75rem;
  }

  .pill {
    padding: .43rem .55rem;
    font-size: .82rem;
  }

  .portrait-card img {
    aspect-ratio: .88;
    object-position: 50% 42%;
  }

  .hero__places {
    margin-top: .8rem;
  }

  .hero__places .map-stage {
    height: 260px;
  }

  .section--places .map-stage {
    height: 300px;
  }

  .map-place__dot {
    width: .62rem;
    height: .62rem;
    box-shadow:
      0 0 0 2px rgba(247, 244, 238, .76),
      0 3px 9px rgba(73, 66, 56, .16);
  }

  .map-place__label {
    max-width: 9.4rem;
  }

  .map-place__label strong {
    font-size: .74rem;
  }

  .map-place__label > span {
    font-size: .59rem;
    line-height: 1.08;
  }

  .map-place--boston .map-place__label {
    transform: translate(-5.5rem, -2.8rem);
  }

  .map-place--lisbon .map-place__label {
    transform: translate(-8.3rem, 3.9rem);
  }

  .map-place--stockholm .map-place__label {
    transform: translate(.7rem, -2.25rem);
  }

  .map-place--darmstadt .map-place__label {
    transform: translate(.75rem, .55rem);
  }

  .map-place--shenzhen .map-place__label {
    transform: translate(-9.2rem, -.5rem);
  }

  .section--experience .timeline-item {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .relief-stage {
    min-height: 465px;
  }

  .relief-stage::before {
    inset: 2% 0 0;
  }

  .relief-stage::after {
    inset: 11% 5% 17%;
  }

  .portrait-card--relief {
    top: 5%;
    right: 5%;
    width: 58%;
    transform: translateZ(40px) rotateZ(1deg);
  }

  .portrait-card--relief img {
    aspect-ratio: .82;
  }

  .relief-map {
    left: 3%;
    top: 18%;
    width: 68%;
    height: 38%;
    padding: .72rem;
  }

  .relief-card {
    width: auto;
    padding: .72rem .78rem;
  }

  .relief-card strong {
    font-size: 1.02rem;
  }

  .relief-card--current {
    left: 5%;
    right: 20%;
    bottom: 20%;
  }

  .relief-card--methods {
    left: 18%;
    right: 4%;
    bottom: 5%;
  }

  .relief-caption {
    left: 6%;
    right: auto;
    top: 59%;
    bottom: auto;
    max-width: 48%;
    font-size: .68rem;
    line-height: 1.35;
    writing-mode: horizontal-tb;
  }

  .map-stage {
    height: 430px;
  }

  .academic-map-image {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .profile-notes {
    grid-template-columns: 1fr;
  }

  .hero-map {
    min-height: 285px;
  }

  .map-label {
    min-width: 140px;
  }

  .city-path {
    grid-template-columns: 1fr 1fr;
  }

  .city-path span:last-child {
    grid-column: 1 / -1;
  }

  .section-head {
    gap: 1rem;
  }

  .feature-card__body,
  .project-card__body {
    padding: .9rem;
  }

  .city-strip {
    grid-template-columns: 1fr;
  }

  .city {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .city:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 900px) {
  .page-home #projects {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  .page-home #projects .section-head,
  .page-home #projects .project-grid {
    grid-column: 1;
  }

  .page-home #projects .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 680px);
    justify-self: start;
  }
}

@media (max-width: 650px) {
  .page-home #projects .project-grid {
    grid-template-columns: 1fr;
  }

  .page-home .project-card__title--single-line {
    white-space: normal;
  }

  .interests-art-grid {
    inset-inline: .15rem;
  }

  .interests-scene {
    min-height: 900px;
  }

  .art-rope--1 {
    top: 1%;
    --rope-sag: 84px;
  }

  .art-rope--2 {
    top: 31%;
    --rope-sag: 88px;
  }

  .art-rope--3 {
    top: 62%;
    --rope-sag: 96px;
  }

  .postcard--wiesbaden-one { top: 9.5%; left: 4%; --art-size: 46px; }
  .postcard--cities { top: 14.5%; left: 35%; --art-size: 78px; }
  .postcard--shenzhen-april { top: 13%; left: 61%; --art-size: 56px; }
  .postcard--wiesbaden-two { top: 10.5%; left: 78%; --art-size: 46px; }

  .postcard--arch { top: 39%; left: 2%; --art-size: 50px; }
  .postcard--shadow { top: 44%; left: 21%; --art-size: 76px; }
  .postcard--shenzhen-may { top: 42%; left: 45%; --art-size: 38px; }
  .postcard--bridge { top: 40%; left: 57%; --art-size: 50px; }
  .postcard--wall { top: 43%; left: 75%; --art-size: 76px; }

  .postcard--guitar { top: 73%; left: 3%; --art-size: 82px; }
  .postcard--hangzhou { top: 74%; left: 30%; --art-size: 42px; }
  .postcard--wiesbaden-three { top: 76%; left: 44%; --art-size: 50px; }
  .postcard--quzhou-august { top: 72%; left: 60%; --art-size: 78px; }
  .postcard--munich { top: 71%; left: 76%; --art-size: 52px; }

  .art-lightbox {
    width: calc(100vw - 1.25rem);
    height: min(76dvh, 640px);
    padding: 3.4rem .85rem 4.2rem;
    border-radius: 8px;
  }

  .art-lightbox[open] {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .art-lightbox__image {
    max-height: calc(76dvh - 9rem);
    border-width: 5px;
  }

  .art-lightbox__nav {
    position: absolute;
    bottom: .85rem;
  }

  .art-lightbox__nav--previous {
    right: calc(50% + .35rem);
  }

  .art-lightbox__nav--next {
    left: calc(50% + .35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .art-lightbox[open] {
    animation: none;
  }

  .art-piece__button {
    transition-duration: .01ms;
  }
}

/* Interests: bilingual paper */
.interests-writing {
  width: min(940px, calc(100% - 1rem));
  margin: clamp(1rem, 3vw, 2rem) auto 0;
}

.interests-writing > .eyebrow {
  text-align: center;
}

.paper-entry {
  display: flex;
  width: min(320px, 100%);
  margin: .55rem auto 0;
  padding: .65rem .7rem .85rem;
  flex-direction: column;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 254, 248, .34);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.paper-entry:hover,
.paper-entry:focus-visible {
  color: var(--ink);
  text-decoration: none;
  border-color: rgba(176, 158, 139, .48);
  box-shadow: 0 14px 36px rgba(63, 54, 47, .09);
  transform: translateY(-2px);
}

.paper-entry:focus-visible {
  outline: 3px solid rgba(134, 95, 80, .32);
  outline-offset: 5px;
}

.paper-entry__image-wrap {
  display: block;
  width: clamp(132px, 14vw, 150px);
  aspect-ratio: 526 / 699;
  overflow: hidden;
  border: 1px solid rgba(176, 158, 139, .5);
  border-radius: 4px;
  background: #f8f2e7;
  box-shadow: 0 9px 24px rgba(63, 54, 47, .11);
}

.paper-entry__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  filter: saturate(.92) contrast(1.015);
  transition: transform .45s ease;
}

.paper-entry:hover .paper-entry__image {
  transform: scale(1.018);
}

.paper-entry__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .65rem 0 0;
  text-align: center;
}

.paper-entry__title,
.paper-entry__title-en {
  display: block;
  font-family: var(--serif);
}

.paper-entry__title {
  max-width: 19rem;
  font-size: clamp(.84rem, 1.25vw, .96rem);
  font-weight: 700;
  line-height: 1.32;
}

.paper-entry__title-en {
  max-width: 19rem;
  margin-top: .35rem;
  color: var(--ink-soft);
  font-size: clamp(.68rem, .9vw, .76rem);
  line-height: 1.34;
}

.paper-entry__cta {
  margin-top: .55rem;
  color: var(--warm);
  font-size: .74rem;
  font-weight: 700;
}

.bilingual-paper {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 5.2rem) 0 clamp(3rem, 7vw, 6rem);
}

body.page-vanished-voices {
  background-color: #d2cec6;
  background-image:
    linear-gradient(rgba(247, 244, 238, .34), rgba(247, 244, 238, .34)),
    url("/assets/vanished-voices-newspaper-bg.jpg");
  background-position: center, center top;
  background-size: auto, cover;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}

body.page-vanished-voices::before {
  background: rgba(247, 244, 238, .2);
  opacity: 1;
}

.page-vanished-voices main {
  padding: clamp(.8rem, 2vw, 1.6rem) 0 clamp(2rem, 5vw, 4rem);
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.page-vanished-voices .bilingual-paper {
  padding: clamp(2.2rem, 5vw, 4.6rem) clamp(1.4rem, 4.5vw, 3.8rem) clamp(3rem, 7vw, 6rem);
  border: 1px solid rgba(219, 211, 199, .62);
  border-radius: 14px;
  background: rgba(247, 244, 238, .6);
  box-shadow: 0 28px 80px rgba(35, 31, 28, .16);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}

.paper-back {
  display: inline-flex;
  margin-bottom: 2rem;
  font-size: .93rem;
  font-weight: 700;
}

.paper-hero {
  max-width: 880px;
  padding-bottom: clamp(1.6rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line-strong);
}

.paper-hero h1 {
  max-width: 24em;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.2;
}

.paper-hero__english {
  max-width: 44rem;
  margin: .85rem 0 0;
  color: var(--ink-soft);
  font-family: "Cormorant Garamond", var(--serif);
  font-size: clamp(1rem, 1.55vw, 1.24rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.38;
}

.paper-hero__date {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .025em;
}

.paper-toc {
  margin: clamp(2rem, 5vw, 3.5rem) 0;
  padding: 1.25rem clamp(1rem, 3vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .58);
}

.paper-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1.25rem;
  margin: 0;
  padding-left: 1.35rem;
}

.page-vanished-voices .paper-toc {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.page-vanished-voices .paper-toc ol {
  counter-reset: paper-section;
  padding-left: 0;
  list-style: none;
}

.page-vanished-voices .paper-toc li {
  position: relative;
  min-height: 1.8rem;
  padding-left: 3.25rem;
  counter-increment: paper-section;
}

.page-vanished-voices .paper-toc li::before {
  content: "🪶 " counter(paper-section) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--warm);
  font-size: .92rem;
  line-height: 1.68;
  white-space: nowrap;
}

.page-vanished-voices .paper-toc :is(a, span) {
  color: var(--ink-soft);
  font-family: "Cormorant Garamond", var(--serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: .018em;
  line-height: 1.42;
}

.page-vanished-voices .paper-keywords {
  padding-top: 0;
  border-top: 0;
  font-family: "Cormorant Garamond", var(--serif);
  font-size: .98rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: .012em;
}

.page-vanished-voices .paper-contact {
  max-width: 34rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

.page-vanished-voices .paper-contact p {
  margin: 0 0 .75rem;
  font-family: "Cormorant Garamond", var(--serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.45;
}

.page-vanished-voices .paper-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: .55rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(247, 244, 238, .35);
  color: var(--warm);
  font-size: .88rem;
  font-weight: 700;
}

.page-vanished-voices .paper-contact a:hover,
.page-vanished-voices .paper-contact a:focus-visible {
  border-color: var(--warm);
  background: rgba(247, 244, 238, .58);
}

.page-vanished-voices .paper-table {
  width: 100%;
}

.page-vanished-voices .bilingual-pair--abstract {
  border-color: rgba(200, 192, 180, .56);
  background: rgba(255, 255, 255, .15);
}

.page-vanished-voices .paper-body blockquote {
  background: rgba(238, 231, 220, .2);
}

.page-vanished-voices .paper-table__scroll {
  background: rgba(255, 255, 255, .22);
  box-shadow: 0 10px 28px rgba(63, 54, 47, .045);
}

.page-vanished-voices .paper-table th {
  background: rgba(238, 231, 220, .36);
}

.paper-toc a span,
.paper-toc a small {
  display: block;
}

.paper-toc a small {
  margin-top: .12rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.35;
}

.paper-body {
  max-width: 860px;
}

.paper-section {
  padding-top: 1rem;
}

.bilingual-pair {
  margin: 0 0 1.7rem;
}

.bilingual-pair__zh,
.bilingual-pair__en {
  margin: 0;
}

.bilingual-pair__zh {
  color: var(--ink);
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: 1.03rem;
  line-height: 1.88;
}

.bilingual-pair__en {
  margin-top: .5rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(134, 95, 80, .24);
  color: var(--muted);
  font-family: var(--serif);
  font-size: .98rem;
  line-height: 1.68;
}

.bilingual-pair--abstract {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, .6);
}

.paper-keywords {
  margin: 1rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--serif);
  font-size: .9rem;
  line-height: 1.55;
}

.bilingual-pair--heading {
  margin-top: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 1.2rem;
}

.bilingual-pair--heading .bilingual-pair__zh {
  font-family: var(--serif);
  line-height: 1.2;
}

.bilingual-pair--heading h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.bilingual-pair--heading h3 {
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
}

.bilingual-pair--heading h4 {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.bilingual-pair--heading .bilingual-pair__en {
  border-left: 0;
  padding-left: 0;
  font-size: .96rem;
  font-weight: 600;
}

.bilingual-pair--table-note {
  margin-top: -.65rem;
  color: var(--muted);
  font-size: .88rem;
}

.paper-body blockquote {
  margin: 1.6rem 0;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid rgba(134, 95, 80, .55);
  background: rgba(238, 231, 220, .58);
}

.paper-body sup a {
  padding: 0 .08em;
  color: var(--warm);
  font-weight: 700;
}

.paper-table {
  width: min(100vw - 2rem, 1080px);
  margin: 2.4rem 0 2.8rem;
}

.paper-table figcaption {
  font-weight: 700;
}

.paper-table__scroll {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 34px rgba(63, 54, 47, .06);
}

.paper-table__scroll:focus-visible {
  outline: 2px solid rgba(134, 95, 80, .68);
  outline-offset: 3px;
}

.paper-table table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: .84rem;
}

#table-3 table,
#table-4 table {
  min-width: 1480px;
}

.paper-table th,
.paper-table td {
  padding: .58rem .65rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.paper-table th {
  background: rgba(238, 231, 220, .66);
  color: var(--ink);
}

.paper-table tr:last-child > * {
  border-bottom: 0;
}

.paper-table tr > *:last-child {
  border-right: 0;
}

.paper-table th span,
.paper-table th small,
.paper-table td span,
.paper-table td small {
  display: block;
}

.paper-table small[lang="en"] {
  margin-top: .22rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.3;
}

.paper-notes {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.paper-notes h2 {
  font-size: 2rem;
}

.paper-notes ol {
  padding-left: 1.5rem;
}

.paper-notes li {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: .86rem;
  line-height: 1.55;
}

.paper-notes li > span {
  display: block;
}

.paper-notes li > span[lang="en"] {
  margin-top: .2rem;
  color: var(--muted);
  font-family: var(--serif);
}

.footnote-back {
  display: inline-block;
  margin-top: .15rem;
  color: var(--warm);
}

.paper-back--footer {
  margin-top: 2.5rem;
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .interests-writing {
    width: min(100%, calc(100% - .5rem));
  }

  .paper-entry {
    width: min(286px, 100%);
    padding-inline: .6rem;
  }

  .paper-entry__image-wrap {
    width: clamp(126px, 38vw, 146px);
  }

  .paper-entry__body {
    padding: .85rem 0 0;
  }

  .paper-toc ol {
    grid-template-columns: 1fr;
  }

  .bilingual-paper {
    width: min(100% - 1.25rem, 980px);
  }

  .page-vanished-voices main {
    padding: .4rem 0 1.5rem;
  }

  .page-vanished-voices .bilingual-paper {
    width: min(100% - .7rem, 980px);
    padding: 1.4rem .9rem 3rem;
    border-radius: 8px;
    background: rgba(247, 244, 238, .62);
    box-shadow: 0 14px 38px rgba(35, 31, 28, .13);
  }

  .page-vanished-voices .paper-toc li {
    padding-left: 3rem;
  }

  .bilingual-pair__en {
    padding-left: .75rem;
  }

  .paper-table {
    width: calc(100vw - 1.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .paper-entry,
  .paper-entry__image {
    transition-duration: .01ms;
  }
}
