@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxhTg.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAkJxhTg.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAfJthTg.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwARZthTg.ttf) format('truetype');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/jizHRFtNs2ka5fXjeivQ4LroWlx-6zATiw.ttf) format('truetype');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/jizBRFtNs2ka5fXjeivQ4LroWlx-2zI.ttf) format('truetype');
}

:root {
  --ink: #172a3e;
  --body: #505b66;
  --line: #dce2e9;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; scrollbar-gutter: stable; }
html.intro-boot, html.intro-playing { overflow: hidden; scroll-behavior: auto; }
.intro-boot body, .intro-playing body { position: fixed; inset: 0; overflow: hidden; overscroll-behavior: none; }
body { margin: 0; color: var(--ink); background: #fdfefe; font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 0% 35%, #dcecf54d, transparent 58%), radial-gradient(ellipse at 100% 80%, #dcecf54d, transparent 56%); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #20476f; outline-offset: 6px; }
::selection { background: #b1c7de; }
h1, h2, h3, h4, p { margin: 0; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 20; padding: 12px 22px; background: white; border-radius: 8px; }
.skip-link:focus { top: 15px; }

/* Navigation fades in with the existing five-second collage release. */
.site-header { position: fixed; top: 25px; right: max(36px, calc((100vw - 1180px) / 2)); z-index: 12; transition: opacity .65s ease, visibility .65s; }
.site-nav { position: relative; isolation: isolate; display: flex; align-items: center; gap: 34px; padding: 14px 24px; }
.site-nav::before { content: ''; position: absolute; z-index: -1; inset: -22px -34px; pointer-events: none; background: radial-gradient(ellipse, #e4f3fff2 9%, #cae5f9b8 37%, #c4e2f34d 59%, transparent 74%); filter: blur(9px); }
.site-nav a { color: #193f67; font-size: .9375rem; font-weight: 500; line-height: 1.5; padding: 8px 0; position: relative; white-space: nowrap; }
.site-nav a::after { content: ''; position: absolute; bottom: 2px; height: 1px; left: 0; right: 0; background: #335d83; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.intro-boot .site-header, .intro-playing .site-header { opacity: 0; visibility: hidden; pointer-events: none; }

/* Broad, soft color fields move independently on their own timelines. */
.hero { min-height: 0; height: 100svh; position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; background: linear-gradient(180deg, #b6cde5 0%, #ccdae8 52%, #eaf0f5 82%, #fdfefe 100%); }
.hero-gradient { position: absolute; z-index: -2; inset: -28% -26% -5%; pointer-events: none; background: radial-gradient(ellipse at 24% 30%, #5581aded 0%, #7299c0a6 23%, transparent 58%), radial-gradient(ellipse at 76% 55%, #7598bbcc 0%, #a2bad370 27%, transparent 60%); animation: atmosphere-drift 12s ease-in-out infinite alternate; will-change: transform, opacity; }
.hero-gradient::before, .hero-gradient::after { content: ''; position: absolute; inset: -10%; pointer-events: none; }
.hero-gradient::before { background: radial-gradient(ellipse at 65% 30%, #f6fbfff2 0%, #e6eef7c7 24%, transparent 57%); animation: atmosphere-light 9s ease-in-out infinite alternate; }
.hero-gradient::after { background: radial-gradient(ellipse at 35% 64%, #5981a9a8 0%, #8eacca66 26%, transparent 60%); animation: atmosphere-blue 15s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, transparent 48%, #fdfefe30 68%, #fdfefe 100%); pointer-events: none; }
@keyframes atmosphere-drift {
  0% { transform: translate3d(-12%, -8%, 0) scale(1.03) rotate(-8deg); opacity: .78; }
  50% { transform: translate3d(7%, 5%, 0) scale(1.1) rotate(2deg); opacity: 1; }
  100% { transform: translate3d(18%, -5%, 0) scale(1.04) rotate(10deg); opacity: .84; }
}
@keyframes atmosphere-light {
  0% { transform: translate3d(16%, -10%, 0) scale(.92); opacity: .55; }
  100% { transform: translate3d(-24%, 17%, 0) scale(1.2); opacity: 1; }
}
@keyframes atmosphere-blue {
  0% { transform: translate3d(-17%, 13%, 0) scale(1.14); opacity: .5; }
  100% { transform: translate3d(24%, -16%, 0) scale(.98); opacity: 1; }
}
.motion-paused .hero-gradient, .motion-paused .hero-gradient::before, .motion-paused .hero-gradient::after { animation-play-state: paused; }
.hero-content { text-align: center; position: relative; z-index: 2; width: 92%; isolation: isolate; }
.hero-content::before { content: ''; position: absolute; z-index: -1; inset: -95px -7%; pointer-events: none; background: radial-gradient(ellipse, #fffffff0 0%, #ffffffca 23%, #ffffff70 46%, #ffffff25 60%, transparent 74%); opacity: var(--name-halo, 0); }
.hero-collage { position: absolute; z-index: 1; inset: 0; pointer-events: none; contain: layout style; }
.project-window { position: absolute; top: 0; left: 0; margin: 0; opacity: 0; overflow: hidden; border: 1px solid #b9bec5; border-radius: 6px; background: #e5e5e5; box-shadow: 0 12px 25px -12px #1c36564d, 0 2px 5px #1c36561a; will-change: transform; transform-origin: center; }
.project-window .portrait-titlebar { height: var(--window-bar-height, 22px); padding: 0 5px 0 29px; font-size: 10px; gap: 4px; white-space: nowrap; }
.project-window .portrait-titlebar > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.project-window .window-controls { left: 6px; gap: 3px; }
.project-window .window-controls i { width: 6px; height: 6px; }
.project-window .window-chevron { font-size: 11px; }
.project-window img { width: 100%; height: calc(100% - var(--window-bar-height, 22px)); object-fit: contain; background: #fafafa; }
.intro-playing .hero-about, .intro-boot .hero-about { opacity: 0; pointer-events: none; }
.hero-about { transition: opacity .45s ease; }
.hero h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -5px; font-size: clamp(84px, 9.8vw, 160px); line-height: 1.1; }
.hero h1 em { font-weight: 400; color: #42607e; }
.hero-about { display: inline-flex; align-items: center; gap: 16px; font-size: .875rem; margin-top: 35px; padding: 10px 3px; color: #495b6e; }
.hero-about span { transition: transform .25s ease; }
.hero-about:hover span { transform: translateY(4px); }

/* A borderless cursor halo, separate from the autonomous hero gradient. */
.cursor-glow { position: fixed; top: 0; left: 0; width: 360px; height: 360px; margin: -180px 0 0 -180px; z-index: 5; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, #436d981f 0%, #517daa1a 20%, #7595b610 43%, #8ca5be07 58%, transparent 72%); opacity: 0; transition: opacity .3s ease; }
.cursor-glow.is-visible { opacity: 1; will-change: transform; }

.section-shell { max-width: 1180px; width: calc(100% - 120px); margin: 0 auto; }
.section-label { color: #5d6976; font: 500 .875rem/1.5 var(--sans); letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 30px; }
.about { padding: 100px 0 115px; display: grid; grid-template-columns: .88fr 1.12fr; gap: 115px; align-items: center; position: relative; }
.portrait-wrap { position: relative; width: 100%; max-width: 390px; margin: 0; background: #ededed; border: 1px solid #c7c7c7; border-radius: 7px; overflow: hidden; box-shadow: 0 24px 42px -15px #262c333d, 0 3px 9px #262c330d; }
.portrait-titlebar { height: 29px; display: flex; align-items: center; justify-content: center; gap: 6px; position: relative; background: linear-gradient(180deg, #f2f2f2 0%, #dedede 48%, #cbcbcb 100%); border-bottom: 1px solid #b4b4b4; box-shadow: inset 0 1px #ffffffd9; color: #272727; font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif; font-size: 12px; font-weight: 500; line-height: 1; text-shadow: 0 1px #ffffff8c; }
.window-controls { position: absolute; left: 10px; display: flex; gap: 6px; }
.window-controls i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #aeaeae; background: linear-gradient(#c2c2c2, #d1d1d1); box-shadow: 0 1px #ffffff85; }
.window-chevron { color: #828282; font-size: 14px; margin-top: -4px; }
.portrait { width: 100%; height: auto; aspect-ratio: 1918 / 2877; }
.about-copy .intro { margin-bottom: 12px; color: var(--ink); font-size: 1.3125rem; }
.about-copy>p:not(.intro) { color: var(--body); margin-top: 14px; font-size: 1rem; line-height: 1.85; }
.about-copy strong { font-weight: 500; color: #304459; }
.about-copy p a { color: #395a7c; text-decoration: underline; text-decoration-color: #a8b8c9; text-underline-offset: 4px; transition: color .2s; }
.about-copy p a:hover { color: #162a3f; }
.interest-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.interest-tags span { border: 1px solid #dbe2e9; border-radius: 30px; padding: 6px 12px; background: #edf1f544; font-size: .75rem; color: #5c6977; }
.text-link { display: inline-flex; align-items: center; gap: 25px; border-bottom: 1px solid #a9b8c8; padding: 7px 0; font-size: .875rem; font-weight: 500; color: #324d69; transition: gap .2s, border-color .2s; }
.text-link:hover { gap: 32px; border-color: #324d69; }
.about-email { margin-top: 22px; }

.research { padding: 25px 0 100px; }
.featured-paper { display: grid; grid-template-columns: .96fr 1.04fr; gap: 65px; align-items: center; }
.featured-paper + .featured-paper { margin-top: 85px; padding-top: 85px; border-top: 1px solid var(--line); }
.paper-media { min-width: 0; margin: 0; }
.paper-media img { width: 100%; height: auto; border-radius: 18px; }
.paper-media video { display: block; width: 100%; aspect-ratio: 320 / 207; object-fit: contain; background: #14212e; border: 1px solid #d4dee7; border-radius: 14px; box-shadow: 0 12px 35px #36485b10; }
.paper-media video:focus-visible { outline: 2px solid #20476f; outline-offset: 5px; }
.paper-media figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 13px; color: #5d6976; font-size: .75rem; }
.paper-media figcaption a { color: #324d69; text-decoration: underline; text-underline-offset: 4px; }
.paper-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: #5d6976; font-size: .75rem; margin-bottom: 21px; }
.publication-tag { background: #e5ebf1; color: #445d77; border-radius: 4px; font-size: .75rem; letter-spacing: 1px; padding: 4px 7px; }
.paper-detail h3, .research-note h3, .project-copy h2 { font-family: var(--serif); font-size: clamp(32px, 3.1vw, 42px); font-weight: 400; line-height: 1.13; letter-spacing: -.35px; text-wrap: balance; }
.paper-subtitle { font-size: 1.125rem; line-height: 1.5; color: #4a5968; margin-top: 9px; }
.paper-summary { color: var(--body); font-size: 1rem; line-height: 1.8; margin-top: 22px; }
.paper-authors { font-size: .8125rem; line-height: 1.8; color: #5d6976; margin-top: 20px; }
.paper-authors strong { font-weight: 600; color: #3e5266; }
.paper-venue { font-size: .75rem; line-height: 1.8; color: #5d6976; margin-top: 10px; }
.paper-detail .text-link { margin-top: 22px; }
.research-notes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 85px; padding-top: 55px; border-top: 1px solid var(--line); }
.research-note > p, .project-copy > p:not(.project-eyebrow):not(.project-exhibition) { color: var(--body); font-size: 1rem; line-height: 1.85; margin-top: 18px; }

.experience { padding: 20px 0 64px; }
.experience > .section-label { margin-bottom: 18px; }
.experience-list { display: grid; }
.experience-item { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 24px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.institution-mark { display: flex; justify-content: center; align-items: center; }
.institution-mark img { width: 56px; height: 54px; object-fit: contain; }
.experience-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 32px; }
.experience-heading h3 { font-size: 1.125rem; font-weight: 500; line-height: 1.35; }
.experience-dates { font-size: .75rem; line-height: 1.4; color: #5d6976; white-space: nowrap; }
.experience-mentor { font-size: .8125rem; line-height: 1.45; color: #5d6976; margin-top: 2px; }

.other-projects { padding: 25px 0 120px; }
.projects-page .other-projects { padding-top: 140px; }
.projects-intro { margin-bottom: 75px; }
.projects-intro .section-label { margin-bottom: 16px; }
.projects-intro h1 { font-family: var(--serif); font-size: clamp(56px, 6.5vw, 88px); font-weight: 400; line-height: 1.08; letter-spacing: -1.5px; }
.project-list { display: grid; gap: 105px; }
.project-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; }
.project-row:nth-child(even) .project-gallery { grid-column: 2; grid-row: 1; }
.project-row:nth-child(even) .project-copy { grid-column: 1; grid-row: 1; }
.project-gallery { margin: 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 15px; }
.project-gallery img { width: auto; height: auto; max-width: 100%; max-height: 550px; border-radius: 18px; box-shadow: 0 14px 36px -24px #314d6c50; }
.project-gallery.paired { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.project-gallery.paired img { width: 100%; }
.project-gallery.paired img:nth-child(2) { translate: 0 32px; }
.project-eyebrow { margin-bottom: 13px; color: #60748a; font-size: .75rem; letter-spacing: .45px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.project-tags li { font-size: .75rem; line-height: 1.5; color: #4b647a; padding: 6px 12px; background: #e6eff66b; border: 1px solid #dbe6ef; border-radius: 30px; }
.project-exhibition { color: #526e86; font-size: .75rem; line-height: 1.7; margin-top: 20px; }

.education { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.education>h3 { margin-bottom: 17px; color: #5d6976; font-size: .75rem; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.education-list { display: grid; gap: 19px; }
.education-item { display: grid; grid-template-columns: 44px 1fr; gap: 15px; align-items: start; }
.school-mark { height: 44px; width: 44px; object-fit: contain; }
.education-item h4 { margin: 0 0 3px; font-size: .875rem; line-height: 1.4; font-weight: 500; }
.education-item p { font-size: .75rem; color: #5d6976; line-height: 1.6; }
.education-item .education-dates { margin-bottom: 4px; color: #66707b; font-size: .6875rem; }
.reveal { transition: opacity .65s ease, translate .65s ease; }
.reveal.pending { opacity: 0; translate: 0 18px; }

@media (max-width: 1100px) {
  .section-shell { width: calc(100% - 80px); }
  .about { gap: 60px; }
  .featured-paper { gap: 40px; }
  .project-row { gap: 42px; }
  .experience-heading { flex-wrap: wrap; gap: 4px; }
}
@media (max-width: 850px) {
  .about { gap: 38px; }
  .featured-paper { gap: 30px; }
  .paper-detail h3 { font-size: 32px; }
  .paper-subtitle { font-size: 1rem; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 95px; }
  .site-header { top: 12px; right: 15px; }
  .site-nav { gap: 26px; padding: 9px 12px; }
  .site-nav a { font-size: .875rem; }

  .hero h1 { font-size: clamp(60px, 14.7vw, 101px); letter-spacing: -2.5px; line-height: 1.1; }
  .hero h1 em { display: inline; }
  .hero-content::before { inset: -90px -12%; }
  .project-window { border-radius: 4px; }
  .project-window .portrait-titlebar { padding: 0 3px 0 15px; font-size: 7px; gap: 2px; }
  .project-window .window-controls { left: 4px; gap: 2px; }
  .project-window .window-controls i { width: 3px; height: 3px; }
  .project-window .window-chevron { display: none; }
  .hero-about { margin-top: 26px; }
  .section-shell { width: calc(100% - 48px); }
  .section-label { margin-bottom: 24px; }
  .about { padding: 60px 0 80px; grid-template-columns: 1fr; gap: 53px; }
  .portrait-wrap { width: 86%; margin: auto; }
  .research { padding: 15px 0 65px; }
  .featured-paper { grid-template-columns: 1fr; gap: 30px; }
  .paper-detail h3, .research-note h3, .project-copy h2 { font-size: 35px; }
  .featured-paper + .featured-paper { margin-top: 55px; padding-top: 55px; }
  .research-notes { grid-template-columns: 1fr; gap: 45px; margin-top: 55px; padding-top: 45px; }
  .experience { padding-bottom: 45px; }
  .experience-item { grid-template-columns: 48px minmax(0, 1fr); gap: 0 16px; padding: 14px 0; }
  .experience-copy { display: contents; }
  .institution-mark { grid-column: 1; grid-row: 1 / span 2; }
  .institution-mark img { width: 44px; height: 44px; }
  .experience-heading, .experience-mentor { grid-column: 2; }
  .experience-heading h3 { font-size: 1rem; }
  .experience-dates { white-space: normal; }
  .other-projects { padding-top: 15px; padding-bottom: 70px; }
  .projects-page .other-projects { padding-top: 115px; }
  .projects-intro { margin-bottom: 45px; }
  .project-list { gap: 65px; }
  .project-row { grid-template-columns: 1fr; gap: 30px; }
  .project-row:nth-child(even) .project-gallery, .project-row:nth-child(even) .project-copy { grid-column: auto; grid-row: auto; }
  .project-gallery img { max-height: 490px; }
  .project-gallery.paired { gap: 12px; margin-bottom: 16px; }
  .project-gallery.paired img:nth-child(2) { translate: 0 16px; }
  .reveal.pending { translate: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-gradient { will-change: auto; }
  .cursor-glow { display: none; }
  .project-window { will-change: auto; }
  .reveal.pending { opacity: 1; translate: 0 0; }
}
