:root { --bg: #fff; --surface: #f5f6f8; --ink: #202124; --muted: #60656c; --faint: #626870; --accent: #ad4300; --maxw: 840px; --ui-zoom: 1.125; --serif: "Fraunces","Newsreader",Iowan Old Style,Palatino,Georgia,serif; --sans: "Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 13.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; zoom: var(--ui-zoom); overflow-wrap: break-word; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 52px calc(24px + env(safe-area-inset-right, 0px)) 96px calc(24px + env(safe-area-inset-left, 0px)); }
html, body { overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1.5px; }
.tagline a strong, .intro a strong { color: var(--ink); }
.tagline strong, .intro strong { font-weight: 600; }
header { margin-bottom: 8px; }
.header-row { display: flex; gap: 14px; align-items: center; }
.header-text { flex: 0 1 auto; min-width: 0; }
.header-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; margin: 0; }
.headshot { object-fit: cover; width: 180px; height: 180px; }
.links-icons { margin-top: 11px; justify-content: center; }
.links-icons svg { transition: transform 150ms ease-out; }
.links-icons a:focus-visible svg { transform: scale(1.12); }
@media (hover: hover) {
  .links-icons a:hover svg { transform: scale(1.12); }
  .news-toggle:hover, .section-control:hover { transform: translateY(-1px); }
}
.name { font: 600 40px/1.05 var(--serif); letter-spacing: -0.01em; margin: 0; cursor: pointer; display: inline-block; position: relative; }
.name .layer { display: inline-block; transition: opacity .28s ease, transform .28s ease; }
.name[data-anim="1"] .layer { opacity: 0; transform: translateY(-4px); }
.name .lang-hint { font: 400 12px/1 var(--sans); color: var(--faint); margin-left: 3px; opacity: 0; position: absolute; top: 0; left: 100%; transition: opacity .25s; letter-spacing: .04em; }
.name:hover .lang-hint { opacity: .85; }
.tagline { font-size: 13.5px; line-height: 1.6; color: var(--ink); margin: 2px 0 0; max-width: 40rem; }
.tagline em { color: var(--ink); font-style: normal; font-weight: 600; }
.links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.links a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.links a:hover { color: var(--accent); text-decoration: none; }
.links svg { width: 15px; height: 15px; }
.intro { color: var(--ink); margin: 12px 0 0; }
.intro p { font-size: 13.5px; line-height: 1.6; max-width: 40rem; }
h2 { font: 600 21px/1.3 var(--sans); margin: 28px 0 8px; display: flex; align-items: center; gap: 14px; }
.tabs { display: flex; gap: 18px; margin: -4px 0 8px; }
.tab { font: 600 12px/1 var(--sans); cursor: pointer; transition: color 150ms ease; padding: 7px 0; border: 0; border-bottom: 1px solid transparent; border-radius: 0; background: none; color: var(--muted); }
.tabpanel[hidden] { display: none; }
.updates { list-style: none; padding: 0 10px 0 0; margin: 0; }
.updates.collapsed li:nth-child(n+4) { display: none; }
.updates li { display: flex; gap: 12px; padding: 8px 0; align-items: center; }
.news-toggle { margin: 0; text-transform: none; letter-spacing: normal; }
.updates .when { flex: 0 0 72px; color: var(--faint); font-variant-numeric: tabular-nums; font-size: 12px; }
.updates .what { flex: 1; color: var(--ink); font-size: 13.5px; }
.updates .what a { color: var(--ink); }
.updates .what a:hover,
.updates .what a:focus,
.updates .what a:active { color: #000; }
.pub, .proj { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 20px; padding: 18px 0; align-items: start; }
.pub .viz, .proj .viz { position: relative; width: 268px; aspect-ratio: 16/10; overflow: hidden; background: var(--surface); }
.viz img, .viz video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pub .viz[data-paper="spatialtracegen"] { aspect-ratio: 1400/614; background: #fff; }
.pub .viz[data-paper="beam-grpo"] { aspect-ratio: 1400/520; background: #fff; }
.pub .viz[data-paper="continual"] { aspect-ratio: 1398/636; background: #fff; }
.pub .viz[data-paper="beam-grpo"] img,
.pub .viz[data-paper="continual"] img { object-fit: contain; padding: 5px; }
.pub .viz[data-paper="neverwhere"] { aspect-ratio: 16/9; }
.viz[data-paper="slam"] { background: #000; }
.viz[data-paper="slam"] video { object-fit: contain; }
.pub .ttl { font: 600 15px/1.35 var(--sans); margin: 0 0 3px; }
.pub .ttl a { color: var(--ink); }
.pub .ttl a:hover { color: var(--accent); }
.pub .authors { font-size: 13px; line-height: 1.45; color: var(--muted); margin: 0 0 6px; }
.pub .authors .me { color: var(--ink); white-space: nowrap; font-weight: 700; }
.pub .authors a { color: inherit; text-decoration: none; }
.pub .authors a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.pub .authors sup { color: var(--accent); font-weight: 600; font-size: .72em; }
.pub .meta { font-size: 12.5px; color: var(--faint); display: flex; flex-wrap: wrap; align-items: center; margin: 6px 0; gap: 4px 10px; }
.venue { display: inline-block; font: 600 13px/1.45 var(--sans); color: var(--ink); }
.venue.soft { color: var(--muted); font-weight: 500; }
.pub .desc { font-size: 13px; color: var(--ink); margin: 6px 0 0; max-width: 54ch; }
.pub .pubnote { flex-basis: 100%; font-size: 11px; color: var(--faint); margin: 0; }
.projects { display: grid; gap: 0; }
.proj .pt { font: 600 14.5px/1.35 var(--sans); margin: 0 0 3px; }
.proj .pd { color: var(--ink); font-size: 13px; margin: 4px 0 0; max-width: 54ch; }
.proj .award { display: table; margin: 9px 0 0; font: 600 11.5px/1.4 var(--sans); color: var(--accent); }
.proj .award + .reslinks { margin-top: 6px; }
.proj .reslinks { margin: 9px 0 0; font-size: 12.5px; }
.service { list-style: none; padding: 0; margin: 0; }
.service li { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ink); padding: 8px 0; border: 0; font-size: 13.5px; }
.service .slogo { flex: 0 0 22px; width: 22px; height: 22px; object-fit: contain; opacity: .9; }
.misc p { color: var(--muted); font-size: 12.5px; margin: 0 0 6px; }
footer { color: var(--faint); font-size: 12.5px; border: 0; margin-top: 24px; padding-top: 0; }

header + .news-heading { margin-top: 20px; }
.phd-status { display: table; max-width: 100%; margin: 10px 0 0; padding: 4px 8px; border: 1px solid #aeb9c8; border-radius: 0; background: #fff; color: var(--ink); font: 400 11.5px/1.5 var(--sans); text-wrap: pretty; }
.phd-status strong { font-weight: 600; }
.phd-status a { text-decoration: underline; text-underline-offset: 3px; }
.header-text .tagline, .header-text .intro p { text-wrap: pretty; }
.header-text .intro > p { display: inline; margin: 0; }
.background-details { display: inline; }
.background-details summary { display: inline-flex; align-items: center; gap: 2px; vertical-align: baseline; list-style: none; cursor: pointer; padding: 3px 0; margin-left: 0; color: var(--muted); font: 400 11.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; }
.background-details summary::-webkit-details-marker { display: none; }
.background-details summary:hover { color: var(--accent); }
.background-details summary:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.background-label { display: inline-grid; overflow: hidden; }
.background-label > span { grid-area: 1 / 1; transition: opacity 180ms ease, transform 180ms ease, visibility 180ms; }
.background-less { opacity: 0; visibility: hidden; transform: translateY(5px); }
.background-details[open]:not(.is-closing) .background-more { opacity: 0; visibility: hidden; transform: translateY(-5px); }
.background-details[open]:not(.is-closing) .background-less { opacity: 1; visibility: visible; transform: translateY(0); }
.disclosure-bracket { transition: transform 150ms ease; }
.background-details summary:is(:hover, :focus-visible) .disclosure-bracket:first-child { transform: translateX(-2px); }
.background-details summary:is(:hover, :focus-visible) .disclosure-bracket:last-child { transform: translateX(2px); }
.intro .background-copy p { padding-top: 5px; margin: 0; color: var(--muted); font-size: 13px; }
.news-heading .news-toggle,
.section-control { transition: transform 150ms ease-out, color 150ms ease-out; margin-left: auto; color: var(--muted); font: 400 11.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 3px 0; min-height: 26px; border: 0; border-radius: 0; background: none; cursor: pointer; }
.news-heading .news-toggle:hover,
.section-control:hover { color: var(--accent); }
:where(a, button, [tabindex]):focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.service strong { font-weight: 600; }
.pub .meta > .venue { flex-basis: 100%; }
.pub .body, .proj .body { min-width: 0; }

.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.tab:hover { color: var(--accent); border-bottom-color: var(--accent); }
.tabs.has-indicator { position: relative; }
.tabs.has-indicator .tab[aria-selected="true"] { border-bottom-color: transparent; }
.tab-indicator { position: absolute; left: 0; bottom: 0; height: 1px; background: var(--ink); pointer-events: none; transition: transform 240ms cubic-bezier(.2,.7,.2,1), width 240ms cubic-bezier(.2,.7,.2,1); }
.works-panels { overflow: clip; }
.pub .reslinks,
.proj .reslinks { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; }
.reslinks a { display: inline-flex; align-items: baseline; gap: 2px; padding: 1px 0; min-height: 24px; white-space: nowrap; font: 400 12px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-decoration: none; }
.reslinks .bracket { color: var(--muted); transition: transform 150ms ease-out, color 150ms ease-out; }
.reslinks a:hover,
.reslinks a:focus-visible { text-decoration: none; }
.reslinks a:hover .link-label,
.reslinks a:focus-visible .link-label { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.reslinks a:hover .bracket:first-child,
.reslinks a:focus-visible .bracket:first-child { transform: translateX(-2px); color: var(--accent); }
.reslinks a:hover .bracket:last-child,
.reslinks a:focus-visible .bracket:last-child { transform: translateX(2px); color: var(--accent); }
.reslinks a:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.reslinks a:active { transform: translateY(1px); }
.video-expand { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; padding: 8px; background: transparent; cursor: zoom-in; display: flex; align-items: flex-end; justify-content: flex-end; }
.video-expand span { padding: 3px 6px; background: #fff; color: var(--ink); font: 400 11.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; opacity: 0; transition: opacity 140ms ease; }
.video-expand:hover span, .video-expand:focus-visible span { opacity: 1; }
.video-expand:focus-visible { outline-offset: -3px; outline-width: 2px; }
html.video-expanded { overflow: hidden; }
#video-lightbox { width: min(960px, 84vw); max-width: calc(100% - 32px); max-height: 88dvh; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); overflow: visible; }
#video-lightbox::backdrop { background: rgb(255 255 255 / 94%); animation: backdrop-reveal 280ms ease-out; }
#video-lightbox.is-closing::backdrop { animation: backdrop-hide 220ms ease-in forwards; }
.video-lightbox-heading { display: flex; align-items: flex-start; gap: 20px; padding: 0 0 12px; }
#video-lightbox-title { margin: 3px 0 0; font: 600 14px/1.4 var(--sans); }
#video-lightbox-close { flex-shrink: 0; }
#expanded-video { display: block; width: 100%; height: auto; max-height: 68dvh; object-fit: contain; background: #fff; transform-origin: top left; }
@keyframes backdrop-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes backdrop-hide {
  from { opacity: 1; }
  to { opacity: 0; }
}

.preview-video { opacity: 0; }
.preview-video.is-ready { opacity: 1; }

.name-row { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }

@media (max-width: 1040px) {
  :root { --ui-zoom: 1.06; }
}
@media (max-width: 960px) {
  :root { --ui-zoom: 1; }
}
@media (min-width: 461px) {
  .header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; align-items: start; }
  .header-text { display: contents; }
  .header-text .name-row { grid-column: 1; grid-row: 1; width: fit-content; }
  .header-text .tagline { grid-column: 1; grid-row: 2; margin-top: 0; }
  .header-text .intro { grid-column: 1; grid-row: 3; }
  .header-text .phd-status { grid-column: 1; grid-row: 4; width: fit-content; }
  .header-side { grid-column: 2; grid-row: 2 / 5; align-self: start; }
}
@media (max-width: 600px) {
  .wrap { padding: 36px calc(20px + env(safe-area-inset-right, 0px)) 80px calc(20px + env(safe-area-inset-left, 0px)); }
  .name { font-size: 33px; }
  .pub, .proj { grid-template-columns: 1fr; gap: 12px; padding: 16px 0; }
  .pub .viz, .proj .viz { width: 100%; }
  .headshot { width: 112px; height: 112px; }
  #video-lightbox { width: 92vw; }
}
@media (max-width: 460px) {
  .header-row { flex-direction: column-reverse; }
  .header-text { width: 100%; }
  .name-row { justify-content: center; }
  .name { font-size: 30px; }
  .tagline, .intro p { font-size: 14px; }
  .updates .what { font-size: 14px; }
  .updates li { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 0; }
  .updates .when { flex: none; }
  .updates { padding-right: 0; }
  h2 { margin: 24px 0 8px; }
  .links-icons { width: 116px; gap: 0; justify-content: space-between; }
  .links-icons svg { width: 20px; height: 20px; }
  .tabs { flex-wrap: wrap; }
  .service li { align-items: flex-start; gap: 10px; }
  .headshot { width: 124px; height: 124px; }
}
@media (pointer: coarse) {
  .background-details summary { min-height: 44px; }
  .video-expand span { opacity: 1; }
  .reslinks a { min-height: 44px; align-items: center; }
  .tab, .section-control, .news-heading .news-toggle { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .news-toggle, .section-control, .links-icons svg, .name .layer, .tab-indicator, .video-expand span, .reslinks .bracket,
  .background-label > span, .disclosure-bracket { transition: none; }
  #video-lightbox::backdrop, #video-lightbox.is-closing::backdrop { animation: none; }
  .reslinks a:hover .bracket,
  .reslinks a:focus-visible .bracket,
  .news-toggle:hover, .section-control:hover, .reslinks a:active, .links-icons a:hover svg, .links-icons a:focus-visible svg { transform: none; }
}
