/* Photographic campus-to-cosmos sequence; all section surfaces remain translucent. */
:root { --paper: #080e19; --paper-dark: #0a1321; --ink: #f1f3f5; --muted: #b4bec9; --accent: #ddc49b; --line: #ffffff26; }
body { background: #080e19; color: var(--ink); isolation: isolate; }
.cosmic-backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #070d17; pointer-events: none; }
.cosmic-scene { position: absolute; inset: -2px; opacity: 0; transform: scale(1.15); transform-origin: 52% 48%; will-change: transform, opacity; }
.cosmic-scene:first-child { opacity: 1; }
.cosmic-scene img { width: 100%; height: 100%; object-fit: cover; }
.scene-princeton img { object-position: 58% 50%; }
.scene-forest img { height: 170%; transform: translateY(-41%); object-position: 50% 100%; }
.scene-continent, .scene-earth { background: #000; transform-origin: 52% 38%; }
.scene-continent img, .scene-earth img { object-fit: contain; }
.scene-galaxy img { object-position: 56% 48%; }
.cosmic-scrim { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(3,9,13,.84) 0%,rgba(3,9,13,.57) 45%,rgba(3,9,13,.18) 100%),linear-gradient(0deg,rgba(3,9,13,.4),transparent 40%); transition: background 1s ease; }
.beyond-campus .cosmic-scrim { background: linear-gradient(90deg,rgba(3,9,18,.82),rgba(3,9,18,.72)),linear-gradient(0deg,rgba(3,9,18,.25),transparent 55%); }
.in-cosmos .cosmic-scrim { background: rgba(3,8,17,.76); }
.site-header, .site-header.scrolled { background: rgba(6,12,20,.57); border-color: #ffffff24; box-shadow: none; backdrop-filter: blur(20px) saturate(130%); }
nav a, .header-contact, .brand { color: #e5e9ec; }
nav a.current, nav a:hover, .brand:hover, .header-contact:hover { color: #e8c990; }
.brand-mark { width: 36px; height: 40px; object-fit: contain; flex: none; }
.site-footer .brand-mark { width: 30px; height: 33px; }
.hero { min-height: calc(100svh - 76px); padding-block: 90px 100px; grid-template-columns: 1.35fr .75fr; gap: 70px; }
.hero::before { display: none; }
.hero .eyebrow { color: #e0d6c3; }
h1 { font-size: 102px; text-shadow: 0 3px 32px #0003; }
h1 em { color: #ded1b7; }
.hero-role { color: #fff; }
.hero-description { color: #d2d8dc; }
.hero-visual { align-self: end; max-width: 315px; justify-self: end; margin-bottom: 6px; }
.hero-photo-frame { border-radius: 22px; box-shadow: 0 18px 70px #0007,0 0 0 1px #ffffff59; }
.hero-visual figcaption { color: #ecedeb; }
.photo-note { color: #d8dcd9; }
.hero-affiliation p, .hero-affiliation a { color: #d3d9db; }
.affiliation-mark { color: #e2d1af; background: #ffffff0b; border-color: #ffffff42; }
.status-dot { background: #dfc291; }
.button-dark { background: #e0c496; color: #17212a; box-shadow: 0 8px 24px #0002; }
.button-dark:hover { background: #f0d7ad; color: #12202a; }
.text-link, .inline-links a, .intro-copy p a, .publication-links a, .advisor a, .conference-list p a { color: #e0c79e; }
.hero .text-link { color: #eee6d9; }
.intro-section, .research-section, .education-section, .experience-section, .awards-section, .site-footer { background: transparent; }
.intro-section { padding-block: 72px 80px; }
.intro-copy > p, .intro-copy .lead, .section-aside, .section-label > p, .research-topic p, .experience-place, .experience-list article p:not(.experience-place), .education-entry > p:not(.degree), .location, .awards-list p { color: var(--muted); }
.intro-copy .lead, .education-entry .degree { color: #eef0f2; }
.section-label > span, .section-heading .eyebrow, .education-top .eyebrow, .experience-date { color: #d8c29f; }
h2 em, h3 em { color: #dfc89f; }
.research-topic { padding: 20px 24px 24px 0; border-color: #ffffff26; }
.research-topic h3, .experience-list h3, .education-entry h3, .awards-list h3 { color: #f0f3f5; }
.topic-icon { color: #dbc59e; }
.topic-number, .topic-keywords { color: #aab7c5; }
.featured-paper { border: 1px solid #ffffff2c; background: linear-gradient(120deg,#ffffff0c,#ffffff03); box-shadow: 0 20px 50px #0002; backdrop-filter: blur(12px); }
.feature-copy .eyebrow { color: #d8c6a8; }
.feature-copy p:not(.eyebrow), .feature-index { color: #bdc8d2; }
.feature-copy > a { border-color: #c6ad8088; color: #ead6b3; }
.feature-orbit span { border-color: #c2ccd866; }
.feature-orbit span:nth-child(2) { border-color: #e1d0ad99; }
.feature-orbit span:nth-child(3) { border-color: #b5996c; background: #a48c62; }
.feature-orbit span:nth-child(4) { background: #e6d8b9; }
.publications-section, .conferences-section { background: rgba(4,10,20,.37); border-color: #ffffff26; backdrop-filter: blur(3px); }
.publication-toolbar, .publication, .experience-list article, .methods-strip, .conference-list article, .awards-list article { border-color: #ffffff26; }
.filter-tabs { background: #ffffff0b; border-color: #ffffff21; }
.filter-tab { color: #bcc7d0; }
.filter-tab.active { background: #ffffff24; color: #f4e8d2; box-shadow: none; }
.filter-tab:not(.active):hover { color: #f4e8d2; }
.search-field { color: #c4cdd6; border-color: #ffffff49; }
.search-field input { color: #edf0f3; }
.search-field input::placeholder { color: #b0bac4; }
.publication-tools select { background: #0c1623; color: #ccd4db; border-color: #ffffff32; }
.result-count, .sort-note, .publication-year, .publication-year > span { color: #b1bfca; }
.publication-meta { color: #d4bf9d; }
.publication-tag { background: #d5bd8b1a; border-color: #d6bb864d; color: #e8d7b7; }
.preprint-tag { background: #ffffff0c; border-color: #ffffff38; color: #c6d2dd; }
.authors, .journal-details { color: #b7c3ce; }
.authors strong { color: #f0f3f5; }
.cite-button { color: #b8c3ce; border-color: #ffffff38; }
.paper-arrow { color: #d9c5a3; }
.publication-note, .thumbnail-caption { color: #a4b4c4; }
/* Native compositing removes white paper backgrounds without generative changes to scientific plots. */
.figure-filter-definitions { position: absolute; pointer-events: none; }
.publication-thumbnail .thumbnail-frame { background: transparent; border-color: #ffffff14; box-shadow: none; padding: 4px; }
.publication-thumbnail img { filter: url('#paper-on-space'); }
.publication-thumbnail:hover .thumbnail-frame { background: #ffffff05; border-color: #cdb38b66; box-shadow: 0 0 28px #d7c08a0a; }
.timeline { border-color: #ffffff3d; }
.timeline-dot { background: #111b26; border-color: #cdb78f; }
.methods-strip > span, .methods-strip p, .conference-date, .conference-list p, .talk-type.poster { color: #b6c4cf; }
.methods-strip i { color: #7f95a7; }
.conference-date span { color: #e1e6eb; }
.talk-type { color: #dec79f; }
.award-mark { color: #e0c79a; }
.contact-section { background: #06101c33; border-color: #ffffff26; backdrop-filter: none; }
.contact-grid .eyebrow { color: #d9c5a2; }
.contact-email { color: #e9d7b5; border-color: #c4ae7e88; }
.contact-details { color: #bdc8d3; border-color: #ffffff35; }
.contact-details a, .contact-details .social-links a { color: #d9c9ab; }
.contact-details span { color: #9fb0be; }
.contact-details .social-links a:hover { color: #f7e4bf; background: #ffffff11; }
.site-footer .brand, .site-footer p, .site-footer p em { color: #a9b7c5; }
.footer-actions { display: flex; align-items: center; gap: 26px; font-size: 10px; color: #a9b7c5; }
.credits-button { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.image-credits { background: #101b28; border-color: #ffffff30; color: #e7ebef; max-height: 85svh; overflow-y: auto; }
.credits-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.credits-heading button { background: none; border: 0; color: #d9e1e6; font-size: 29px; }
.image-credits p, .image-credits li { color: #b7c5d1; font-size: 12px; line-height: 1.8; }
.image-credits ul { padding-left: 20px; }
.image-credits li { margin: 15px 0; }
.image-credits a { color: #e6d1ab; text-decoration: underline; text-underline-offset: 3px; }
.toast { background: #142334e8; border-color: #ffffff35; color: #e5edf3; }
#citation-dialog { background: #111e2b; border-color: #ffffff30; }
#citation-dialog p { color: #b5c3d0; }
#citation-dialog textarea { background: #0a1420; color: #e8edf2; border-color: #ffffff30; }
@media(max-width:1000px) { .hero { gap: 45px; } h1 { font-size: 84px; } .hero-visual { max-width: 270px; } }
@media(max-width:900px) { nav { background: #0c1623ed; border-color: #ffffff25; } .menu-toggle { color: #e6ecf0; } .hero { padding-block: 80px 100px; min-height: calc(100svh - 70px); } h1 { font-size: 73px; } .hero-visual { max-width: 250px; } .hero-photo-frame { aspect-ratio: 4/5; } .contact-details { border-color: #ffffff35; } }
@media(max-width:650px) {
  .hero { min-height: calc(100svh - 65px); padding-top: 42px; padding-bottom: 80px; gap: 24px; grid-template-columns: 1fr; }
  .hero h1 { font-size: 75px; margin-block: 24px 18px; }
  .hero-description { font-size: 13px; max-width: 95%; }
  .hero-role { font-size: 14px; }
  .hero-affiliation { margin-top: 24px; }
  .hero-visual { width: 180px; max-width: 52%; margin-top: 3px; margin-bottom: 0; justify-self: end; }
  .hero-photo-frame { aspect-ratio: 4/4.4; border-radius: 18px; }
  .hero-visual figcaption { font-size: 8px; padding-top: 10px; }
  .photo-note { display: none; }
  .brand-mark { width: 32px; height: 35px; }
  .scene-princeton img { object-position: 73% center; }
  .cosmic-scrim { background: linear-gradient(90deg,#03090dce,#03090d67),linear-gradient(0deg,#03090d6e,transparent); }
  .contact-details { border-color: #ffffff35; }
  .footer-actions { width: 100%; justify-content: space-between; gap: 25px; font-size: 10px; }
  .research-topic, .research-topic:last-child { border-color: #ffffff26; }
}
@media(prefers-reduced-motion:reduce) { .cosmic-scene { will-change: auto; } }
@media print {
  .cosmic-backdrop, .footer-actions { display: none !important; }
  body { color: #222; background: white; }
  .hero { min-height: 0; }
  .publication-thumbnail img { filter: none; }
  .publications-section, .conferences-section { background: white; }
}
