:root {
  --text: #424242;
  --heading: #1f1f1f;
  --muted: #777;
  --link: #1676b6;
  --line: #eeeeee;
  --page: #ffffff;
  --pointer-x: 70vw;
  --pointer-y: 20vh;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background-color: #fbfcfd; background-image: radial-gradient(circle at 7% 12%, rgba(88, 171, 202, .17), transparent 25rem), radial-gradient(circle at 92% 78%, rgba(226, 173, 104, .13), transparent 24rem); font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.65; }
body::before { position: fixed; z-index: -1; top: var(--pointer-y); left: var(--pointer-x); width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(44, 127, 181, .055), transparent 68%); content: ""; pointer-events: none; transform: translate(-50%, -50%); transition: top .7s ease-out, left .7s ease-out; }
body::after { position: fixed; z-index: -2; inset: 0; background-image: radial-gradient(rgba(77, 122, 145, .22) .8px, transparent .8px); background-size: 30px 30px; content: ""; opacity: .32; pointer-events: none; mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent); }
.cursor-trail-dot { position: fixed; z-index: 20; top: 0; left: 0; width: var(--trail-size); height: var(--trail-size); border-radius: 50%; background: #30bee4; box-shadow: 0 0 14px rgba(48, 190, 228, .75), 0 0 28px rgba(48, 190, 228, .24); opacity: var(--trail-opacity); pointer-events: none; transform: translate3d(-80px, -80px, 0); will-change: transform; }
a { color: var(--link); text-decoration: none; }
a:hover { color: #0b4f7e; text-decoration: underline; }
.container { width: min(960px, calc(100% - 36px)); margin: 0 auto; }

.site-nav { position: sticky; top: 0; z-index: 3; min-height: 58px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.nav-inner { width: min(960px, calc(100% - 36px)); min-height: 58px; margin: 0 auto; display: flex; align-items: center; justify-content: flex-end; }
.nav-brand { display: none; }
nav { display: flex; gap: 28px; }
nav a { color: #666; font-size: 14px; }

.page-header { position: relative; margin-top: 58px; margin-bottom: 28px; }
h1, h2 { color: var(--heading); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { margin: 0; font-size: 2.4rem; letter-spacing: -.02em; }
.cn-name { color: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: .48em; font-weight: 400; letter-spacing: .02em; vertical-align: middle; }
h2 { margin: 40px 0 20px; font-size: 1.65rem; }
h2 a { color: inherit; }
p { margin: 0 0 16px; }
ul { margin: 0; padding-left: 22px; }
li { margin-bottom: 7px; }

.intro-section { min-height: 235px; }
.profile { float: right; width: 230px; margin: 0 0 20px 44px; text-align: center; }
.profile figure { position: relative; width: 190px; height: 190px; margin: 0 auto 13px; }
.profile img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 28%; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.butterflies { position: absolute; inset: -34px; pointer-events: none; }
.butterfly { position: absolute; display: block; font-size: 19px; filter: drop-shadow(0 2px 2px rgba(51, 82, 111, .18)); transform-origin: 50% 50%; will-change: transform; }
.butterfly-one { top: 12px; left: 20px; }
.butterfly-two { top: 74px; right: -4px; font-size: 16px; }
.butterfly-three { bottom: 2px; left: 34px; font-size: 14px; }
.profile-info p { margin: 0; color: #555; font-size: 14px; line-height: 1.65; }
.bio { min-height: 220px; }
.bio p:last-child { margin-bottom: 0; }
.hobby-note { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.hobby-label { margin-right: 5px; color: var(--link); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hobby-note span:not(.hobby-label) { padding: 2px 7px; border: 1px solid #e5edf3; border-radius: 999px; background: #fbfdff; transition: color .25s ease, transform .25s ease, border-color .25s ease; }
.hobby-note span:not(.hobby-label):hover { border-color: #a9cbe1; color: var(--link); transform: translateY(-3px) rotate(-2deg); }
.hobby-note i { color: #b5c2cc; font-style: normal; }
.hobby-note b { display: inline-block; margin-left: 4px; color: #d49a42; font-size: 16px; animation: twinkle 2.8s ease-in-out infinite; }

.ambient { position: absolute; z-index: -1; width: 7px; height: 7px; border-radius: 50%; background: #4d9bd1; opacity: .45; animation: drift 6s ease-in-out infinite; }
.ambient-one { top: 180px; right: 25%; }
.ambient-two { top: 430px; left: 8%; width: 4px; height: 4px; background: #d79b4e; animation-delay: -2.5s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); opacity: .25; } 50% { transform: translate(10px, -12px); opacity: .7; } }
@keyframes twinkle { 0%, 100% { transform: scale(.8) rotate(0); opacity: .45; } 50% { transform: scale(1.25) rotate(18deg); opacity: 1; } }

section { clear: both; }
.bibliography { margin: 0; padding-left: 0; list-style: none; }
.bibliography > li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; margin-bottom: 24px; }
.publication-number { padding-top: 8px; color: var(--text); font-size: 15px; line-height: 1.4; }
.publication-row { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 24px; align-items: start; padding: 8px 10px 8px 0; border-radius: 6px; transition: background .25s ease, transform .25s ease; }
.publication-row:hover { background: linear-gradient(90deg, rgba(238, 246, 252, .7), transparent 80%); transform: translateX(4px); }
.preview-box { display: flex; align-items: center; justify-content: center; min-height: 94px; border: 1px solid #dfe6ed; border-radius: 4px; color: #2668a4; background: #f3f7fb; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-align: center; }
.figure-preview { overflow: hidden; padding: 0; background: #f3f7fb; }
.figure-preview img { display: block; width: 100%; height: 100%; min-height: 94px; object-fit: contain; object-position: center; }
.preview-muted { color: #7f8c99; background: #f8f9fa; }
.title { color: #333; font-size: 16px; line-height: 1.4; }
.author { margin-top: 4px; color: #666; font-size: 14px; }
.periodical { color: #666; font-size: 14px; }
.links { margin-top: 5px; font-size: 13px; }
.links a { margin-right: 14px; }

.social-links { margin-top: 10px; }
.education-meta { color: var(--muted); font-size: 13px; }
.awards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.awards-grid h3 { margin: 0 0 12px; color: var(--heading); font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; font-weight: 400; }
.awards-grid ul { padding-left: 20px; }
.awards-grid li { margin-bottom: 8px; }
.award-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.visitor-intro { color: var(--muted); font-size: 13px; }
.visitor-widget { display: flex; align-items: center; justify-content: center; min-height: 190px; margin-top: 18px; overflow: hidden; border: 1px solid #e2edf2; border-radius: 8px; background: rgba(247, 252, 254, .8); }
footer { width: min(960px, calc(100% - 36px)); margin: 45px auto 0; padding: 16px 0 20px; border-top: 1px solid var(--line); color: #888; font-size: 12px; }

.reveal { transform: translateY(10px); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ambient, .reveal, .hobby-note b, .butterfly, body::before { animation: none; transition: none; } }

@media (max-width: 700px) {
  .nav-inner { justify-content: center; }
  nav { gap: 18px; }
  .page-header { margin-top: 38px; }
  h1 { font-size: 2.15rem; }
  .profile { float: none; width: auto; margin: 0 auto 28px; }
  .profile figure { width: 150px; height: 150px; }
  .bio { min-height: 0; }
  .publication-row { grid-template-columns: 1fr; gap: 10px; }
  .preview-box { width: 120px; min-height: 66px; }
  .awards-grid { grid-template-columns: 1fr; gap: 26px; }
}
