@font-face {
  font-family: Inter;
  src: url('626efb1a12ae83162739e58c/627adfcbae29a8863a8a2c11_Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('626efb1a12ae83162739e58c/627adfcb501ded78018edbee_Inter-Medium.ttf') format('truetype');
  font-weight: 500 700;
  font-display: swap;
}
* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 36px; }
body { margin: 0; color: #000; background: #fff; font: 400 15px/1.8 Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #000; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration: underline; text-underline-offset: 6px; }
a:focus-visible { outline: 2px solid #000; outline-offset: 5px; }
h1,h2,p,figure { margin: 0; }
h1,h2 { font-weight: 500; }
.masthead { max-width: 888px; padding: 28px 36px 24px; margin: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.identity { font-size: 13px; text-decoration: none; font-weight: 500; }
.masthead nav { display: flex; gap: 24px; font-size: 11px; }
.masthead nav a { text-decoration: none; }
main { max-width: 888px; padding: 0 36px; margin: auto; }
.intro { display: block; text-align: left; border-top: 1px solid #000; padding: 56px 0 0; scroll-margin-top: 110px; }
.profile-photo { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; margin-bottom: 28px; }
.profile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.14; letter-spacing: -.055em; }
.role { font-size: 13px; margin-top: 12px; }
.hero-statement { max-width: 650px; margin-top: 32px; font-size: clamp(21px, 2.2vw, 25px); line-height: 1.5; letter-spacing: -.025em; }
.intro-details { max-width: 650px; margin-top: 24px; }
.intro-details > p + p { margin-top: 15px; }
.qualification { font-size: 12px; margin-top: 6px; }
.intro-details .location { font-size: 11px; margin-top: 5px; }
.location img { vertical-align: middle; margin-right: 8px; }
.content-section { padding-top: 30px; margin-top: 54px; border-top: 1px solid #d9d9d9; }
h2 { font-size: 14px; line-height: 1.4; letter-spacing: .015em; margin-bottom: 28px; }
.publications-list { margin: 0; padding: 0; list-style: none; max-width: 700px; }
.publications-list > li + li { margin-top: 32px; padding-top: 28px; border-top: 1px solid #d9d9d9; }
.publication-meta { font-size: 11px; margin-bottom: 6px; }
.paper-title { font-size: 18px; line-height: 1.55; letter-spacing: -.015em; font-weight: 500; }
.paper-title a { text-decoration: none; }
.paper-title a:hover { text-decoration: underline; }
.authors { font-size: 13px; margin-top: 14px; }
.venue { font-size: 12px; margin-bottom: 12px; }
.doi { display: inline-block; font-size: 11px; overflow-wrap: anywhere; }
.citation-divider { margin: 0 8px; }
.section-intro, .approach, .contact > p { max-width: 650px; }
.interest-list { margin: 0; padding-left: 18px; max-width: 650px; font-size: 14px; }
.interest-list > li + li { margin-top: 12px; }
.approach { margin-top: 28px; font-size: 14px; }
.contact p + p { margin-top: 18px; }
.email { display: inline-block; font-size: 17px; margin-top: 24px; }
.social-links { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 22px; font-size: 11px; }
.social-links a { text-decoration: none; }
.site-footer { max-width: 888px; margin: 64px auto 0; padding: 24px 36px 32px; display: flex; justify-content: space-between; gap: 20px; font-size: 10px; }
.site-footer a { text-decoration: none; }
.skip { position: fixed; z-index: 10; top: -80px; left: 20px; padding: 12px; background: #fff; }
.skip:focus { top: 12px; }
@media(max-width:600px) {
  .masthead { padding: 24px 24px 20px; gap: 15px; }
  .identity { font-size: 12px; white-space: nowrap; }
  .masthead nav { gap: 14px; font-size: 10px; }
  .masthead nav a[href="#publications"] { display: none; }
  main { padding: 0 24px; }
  .intro { padding-top: 36px; }
  .profile-photo { width: 88px; height: 88px; margin-bottom: 24px; }
  .role { font-size: 12px; }
  .hero-statement { margin-top: 26px; font-size: 22px; }
  .intro-details { font-size: 14px; margin-top: 20px; }
  .content-section { margin-top: 42px; padding-top: 26px; }
  .paper-title { font-size: 17px; }
  .site-footer { padding: 22px 24px; margin-top: 44px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
.entries p:not([class]) { font-size: 14px; margin-top: 8px; }
.entries .authors { margin-top: 8px; }
.section-intro { margin-bottom: 24px; font-size: 14px; }
.masthead nav a[href="#what-i-do"] { }
@media(max-width:600px) { .masthead nav a[href="#what-i-do"], .masthead nav a[href="#work"] { display: none; } }
.tools { margin-top: 28px; }
.tools-label { display: block; font-size: 14px; margin-bottom: 12px; }
.tools ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.tools li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #d9d9d9; border-radius: 999px; font-size: 13px; line-height: 1; }
.tools img { display: block; width: 20px; height: 20px; }
.tools small { font-size: 11px; opacity: .6; margin-left: 4px; }
/* ---- Work cards (Figma-like) ---- */
.work-cards { display: grid; gap: 28px; margin-top: 8px; }
.fcard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.fcard-head h3 { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -.015em; }
.fcard-head span { font-size: 11px; opacity: .6; }
.fcard-canvas { position: relative; height: 340px; background: #F5F5F5; border-radius: 14px; overflow: hidden; cursor: pointer; border: 1px solid #ececec; }
.fcard-canvas:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.fcard-stage { position: absolute; left: 32px; top: 32px; transform-origin: 0 0; transition: transform .5s ease; }
.fcard-canvas:hover .fcard-stage { transform: translateX(-12px); }
.fr { position: absolute; margin: 0; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.05); border-radius: 2px; }
.fr img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.fr figcaption { position: absolute; left: 0; bottom: 100%; padding-bottom: 6px; font-size: 11px; line-height: 1; color: #777; white-space: nowrap; }
.max-btn { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: #000; display: grid; place-items: center; cursor: pointer; transition: transform .15s ease; }
.fcard-canvas:hover .max-btn { transform: scale(1.08); }
.max-btn:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
/* ---- Viewer ---- */
.fv { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: #1e1e1e; font-size: 13px; line-height: 1.4; }
.fv-bar { display: flex; align-items: center; gap: 16px; height: 48px; padding: 0 12px 0 16px; background: #2c2c2c; color: #fff; flex: none; }
.fv-title { font-weight: 500; white-space: nowrap; }
.fv-tabs { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.fv-tab { font: inherit; color: #bbb; background: transparent; border: 0; border-radius: 6px; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.fv-tab small { margin-left: 6px; opacity: .6; font-size: 11px; }
.fv-tab:hover { background: #3a3a3a; color: #fff; }
.fv-tab.on { background: #fff; color: #000; }
.fv-zoom { display: flex; align-items: center; gap: 4px; }
.fv-zoom button, .fv-close { font: inherit; color: #fff; background: #3a3a3a; border: 0; border-radius: 6px; min-width: 30px; height: 30px; padding: 0 8px; cursor: pointer; }
.fv-zoom button:hover, .fv-close:hover { background: #555; }
.zv { min-width: 44px; text-align: center; font-size: 12px; }
.fv-main { flex: 1; display: flex; min-height: 0; }
.fv-layers { width: 220px; flex: none; background: #fff; border-right: 1px solid #e3e3e3; overflow-y: auto; }
.fv-lh { padding: 12px 14px; font-weight: 500; border-bottom: 1px solid #eee; }
.fv-layers ul { list-style: none; margin: 0; padding: 6px; }
.fv-layers li button { display: flex; align-items: center; gap: 8px; width: 100%; font: inherit; font-size: 12px; text-align: left; background: none; border: 0; padding: 6px 8px; border-radius: 5px; cursor: pointer; color: #222; }
.fv-layers li button:hover { background: #f0f0f0; }
.fv-layers .ic { width: 10px; height: 10px; flex: none; border: 1.5px solid #888; border-radius: 1px; }
.fv-vp { position: relative; flex: 1; overflow: hidden; cursor: grab; touch-action: none; background: #1e1e1e; background-image: radial-gradient(#3a3a3a 1px, transparent 1px); background-size: 20px 20px; }
.fv-vp.grab { cursor: grabbing; }
.fv-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.fv-world .fr figcaption { font-size: 13px; padding-bottom: 8px; }
.fv-sec { position: absolute; font-size: 15px; font-weight: 500; color: #eee; white-space: nowrap; }
.fv-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 7px 12px; border-radius: 8px; background: rgba(0,0,0,.8); color: #fff; font-size: 11px; pointer-events: none; }
@media(max-width:700px) {
  .fcard-canvas { height: 260px; }
  .fv-layers { display: none; }
  .fv-title { display: none; }
  .fv-zoom span, .fv-zoom [data-z=fit] { display: none; }
}
.fr figcaption { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.fv-world .fr { box-shadow: 0 4px 24px rgba(0,0,0,.5); }
.fv-world .fr figcaption { color: #aaa; }
.fv-tab:not(.on):not(.seen) { position: relative; box-shadow: inset 0 0 0 1px #6b9bff; animation: tabpulse 1.6s ease-in-out infinite; }
.fv-tab:not(.on):not(.seen)::after { content: ''; position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: #6b9bff; animation: dotping 1.6s ease-out infinite; }
@keyframes tabpulse { 0%,100% { background: transparent; } 50% { background: rgba(107,155,255,.28); } }
@keyframes dotping { 0% { box-shadow: 0 0 0 0 rgba(107,155,255,.8); } 100% { box-shadow: 0 0 0 9px rgba(107,155,255,0); } }
.fv-nudge { position: absolute; z-index: 5; top: 54px; left: 120px; padding: 8px 12px; border-radius: 8px; background: #6b9bff; color: #000; font-size: 12px; font-weight: 500; box-shadow: 0 6px 20px rgba(0,0,0,.4); pointer-events: none; transition: opacity .3s; }
.fv-nudge::before { content: ''; position: absolute; top: -5px; left: 40px; width: 10px; height: 10px; background: #6b9bff; transform: rotate(45deg); }
.fv-nudge .ar { display: inline-block; animation: bob .9s ease-in-out infinite; }
.fv-nudge.gone { opacity: 0; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.pg { font-weight: 500; color: #fff; background: #000; border-radius: 999px; padding: 3px 9px; margin-left: 8px; opacity: 1; animation: pgpulse 1.8s ease-in-out infinite; }
@keyframes pgpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,0,0,.35); } 50% { box-shadow: 0 0 0 6px rgba(0,0,0,0); } }
.fcard-head span { opacity: 1; color: #666; }
@media(prefers-reduced-motion:reduce) { .fv-tab, .fv-tab::after, .fv-nudge .ar, .pg { animation: none !important; } }
@media(max-width:700px) { .fv-nudge { left: 16px; } }
.fr img { border-radius: inherit; }
.see-more { font: inherit; font-size: 13px; font-weight: 500; color: #000; background: none; border: 0; border-bottom: 1px solid #000; padding: 0; margin-left: 6px; cursor: pointer; }
.see-more:hover { opacity: .6; }
.see-more:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
