:root {
  --paper: #f7f8fa;
  --white: #ffffff;
  --ink: #17263d;
  --muted: #56657b;
  --accent: #2859cb;
  --pale: #eaf0fc;
  --line: #dce3ec;
  --dark: #12223b;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: #cbdaf8; color: var(--ink); }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, pre:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
p + p { margin-top: 16px; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; background: var(--ink); color: white; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: #f7f8faf5; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { font-size: 30px; font-weight: 700; letter-spacing: -1.5px; }
.wordmark span { color: var(--accent); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--muted); }
.site-header nav a:hover { color: var(--accent); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: center; gap: 85px; padding-block: 78px 70px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 1.3px; color: var(--accent); line-height: 1.65; }
.hero .eyebrow { display: flex; gap: 10px; align-items: center; }
.status-dot { display: inline-block; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #2859cb12; }
h1 { font-size: clamp(78px, 7.5vw, 106px); line-height: .99; letter-spacing: -6px; font-weight: 500; margin: 22px 0 28px; }
h1 em { font-family: var(--serif); font-weight: 400; font-size: 1.18em; letter-spacing: -4px; color: var(--accent); }
.hero-role { font-size: 19px; font-weight: 500; letter-spacing: -.35px; }
.hero-role a { white-space: nowrap; border-bottom: 1px solid #b6c6e6; }
.hero-role a:hover { color: var(--accent); }
.hero-role span { font-size: 16px; }
.hero-summary { max-width: 525px; color: var(--muted); margin-top: 16px; font-size: 18px; line-height: 1.8; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; padding: 12px 20px; min-height: 48px; font-size: 15px; font-weight: 500; border-radius: 5px; transition: background .18s; }
.button.primary { background: var(--accent); color: white; }
.button.primary:hover { background: #1947b2; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; font-weight: 500; }
.text-link:hover { color: var(--accent); }
.previous-role { color: var(--muted); font-size: 15px; margin-top: 23px; }
.portrait-block { min-width: 0; width: 100%; max-width: 240px; justify-self: center; }
.portrait-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.portrait-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center; }
.latest-work { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; align-items: center; gap: 24px; border-block: 1px solid #cbd7ec; background: #eef3fd; padding: 22px 25px; transition: background .18s; }
.latest-work:hover { background: #e3ecfc; }
.latest-label { font-size: 14px; letter-spacing: 1px; font-weight: 700; color: var(--accent); }
.latest-work strong { font-weight: 700; margin-right: 14px; }
.latest-detail { color: var(--muted); font-size: 15px; }
.latest-venue { font-size: 13px; font-weight: 500; white-space: nowrap; }
.latest-venue span { margin-left: 20px; }
.section { padding-block: 96px; }
.section-heading .eyebrow { margin-bottom: 20px; }
h2 { font-size: clamp(37px, 4vw, 51px); line-height: 1.15; font-weight: 500; letter-spacing: -1.8px; }
h2 em { font-family: var(--serif); font-size: 1.16em; font-weight: 400; color: var(--accent); }
h3 { font-weight: 700; line-height: 1.45; }
#research { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 85px; row-gap: 42px; }
.research-intro { color: var(--muted); }
.research-intro a { color: var(--ink); border-bottom: 1px solid #b9c8e2; }
.research-intro a:hover { color: var(--accent); }
.research-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.research-grid article { padding-top: 24px; border-top: 1px solid #bbcbe6; }
.topic-number { color: #7f92b1; font-size: 13px; }
.research-grid h3 { font-size: 19px; letter-spacing: -.4px; margin-block: 18px 10px; }
.research-grid p { color: var(--muted); font-size: 16px; }
.research-grid .topic-tags { font-size: 12px; line-height: 1.8; color: var(--accent); }
.publications-section { background: var(--white); border-block: 1px solid var(--line); }
.horizontal { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 38px; }
.pub { display: flex; gap: 35px; padding-block: 32px; border-bottom: 1px solid var(--line); }
.pub-index { color: #8b9ab2; font-size: 15px; padding-top: 2px; min-width: 25px; }
.pub-content { min-width: 0; }
.pub h3 { font-size: 23px; font-weight: 500; letter-spacing: -.6px; margin-bottom: 12px; }
.pub .authors { color: var(--muted); font-size: 14px; }
.pub .authors strong { font-weight: 700; color: var(--ink); }
.pub .venue { margin-top: 8px; color: var(--accent); font-size: 14px; }
.pub .summary { font-size: 16px; color: var(--muted); max-width: 900px; margin-top: 14px; }
.pub-lead { display: block; padding: 34px; background: #f4f7fd; border: 1px solid #c9d7ef; border-radius: 12px; margin-bottom: 12px; }
.pub-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.venue-tag { border: 1px solid #b7caef; padding: 4px 10px; background: var(--white); color: var(--accent); border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: .4px; }
.pub-year { font-size: 11px; color: #617a9d; letter-spacing: 1px; }
.pub-lead h3 { font-size: 30px; letter-spacing: -.8px; }
.pub-figure { display: block; margin-block: 24px; background: var(--white); border-radius: 6px; border: 1px solid var(--line); padding: 15px; }
.pub-figure img { width: 100%; }
.pub-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
.pub-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #c0cee2; color: var(--ink); border-radius: 4px; background: white; padding: 8px 15px; font-size: 14px; line-height: 1.5; transition: background .18s, border-color .18s; }
.pub-links a:hover { background: var(--pale); border-color: var(--accent); color: var(--accent); }
.pub-lead .pub-links a[href="https://causalvlm.github.io/"] { color: white; background: var(--accent); border-color: var(--accent); }
.pub-lead .pub-links a[href="https://causalvlm.github.io/"]:hover { background: #1947b2; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 22px; cursor: pointer; list-style: none; min-height: 56px; padding-block: 16px; font-size: 16px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary span { font-weight: 400; font-size: 24px; color: #8293ae; transition: transform .18s; }
details[open] > summary span { transform: rotate(45deg); }
.other-papers { margin-top: 18px; }
.pub-list { margin: 10px 0 25px; padding-left: 24px; color: var(--muted); }
.pub-list li { padding-left: 9px; margin-bottom: 20px; font-size: 15px; }
.pub-list strong { color: var(--ink); font-weight: 500; }
.pub-list a { color: var(--accent); border-bottom: 1px solid #b9c8e2; }
.citation pre { max-width: 100%; overflow-x: auto; background: #13243d; color: #dce6f9; border-radius: 6px; padding: 24px; font-size: 13px; line-height: 1.8; margin: 12px 0 24px; }
.background-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 85px; }
.experience { display: grid; grid-template-columns: 1fr; gap: 12px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.experience:first-child { padding-top: 0; }
.experience-date { display: flex; align-items: center; gap: 11px; font-size: 12px; letter-spacing: .9px; color: var(--muted); }
.experience.current .experience-date { color: var(--accent); }
.experience h3 { font-size: 20px; font-weight: 500; margin-bottom: 5px; }
.experience-org { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; color: var(--accent); min-height: 40px; }
.experience-org:hover { text-decoration: underline; }
.experience p { font-size: 15px; color: var(--muted); margin-top: 8px; }
.faq-section { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 85px; padding-top: 65px; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list p { font-size: 16px; color: var(--muted); padding-block: 4px 24px; }
.faq-list a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.contact-section { background: var(--dark); color: #edf2fc; padding-block: 75px; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .65fr); gap: 140px; align-items: start; }
.contact-section .eyebrow { color: #aabfed; margin-bottom: 23px; }
.contact-section h2 em { color: #afc7fc; }
.contact-email { display: inline-flex; align-items: center; gap: 20px; font-size: 18px; margin-top: 25px; border-bottom: 1px solid #6e83a9; padding-block: 6px; overflow-wrap: anywhere; }
.contact-email:hover { color: #afc7fc; }
.profile-links { display: flex; flex-direction: column; padding-top: 10px; }
.profile-links a { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 48px; padding-block: 10px; border-bottom: 1px solid #31445f; color: #b8c8e5; font-size: 16px; }
.profile-links a:hover { color: #fff; }
.site-footer { min-height: 98px; display: flex; justify-content: space-between; align-items: center; gap: 22px; font-size: 13px; color: var(--muted); }
.footer-name { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-name span { color: #8ca0be; }
.site-footer a { min-height: 44px; align-content: center; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 45px; padding-block: 60px; grid-template-columns: minmax(0, 1fr) 240px; }
  h1 { font-size: 82px; }
  .hero-role { font-size: 17px; }
  .hero-summary { font-size: 17px; }
  .hero-links { gap: 12px 20px; }
  .latest-work { grid-template-columns: minmax(0, 1fr) auto; gap: 7px 20px; }
  .latest-label { grid-column: 1 / -1; }
  .section { padding-block: 75px; }
  #research, .background-section, .faq-section { column-gap: 50px; }
  .research-grid { gap: 26px; }
  .contact-inner { gap: 65px; }
}
@media (max-width: 760px) {
  body { font-size: 1.25rem; line-height: 1.65; --muted: #435269; }
  html { scroll-padding-top: 96px; }
  .header-inner { min-height: 74px; gap: 14px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 1.125rem; }
  .hero { gap: 30px; grid-template-columns: minmax(0, 1fr) 190px; align-items: start; }
  h1 { font-size: 72px; letter-spacing: -4px; }
  .hero-role { font-size: 1.375rem; }
  .hero-summary { font-size: 1.25rem; line-height: 1.65; }
  .portrait-block { margin-top: 55px; }
  .button, .text-link { font-size: 1.125rem; }
  .hero-links { gap: 12px; }
  .previous-role { font-size: 1.125rem; }
  .latest-work { padding: 20px; }
  .latest-detail { display: block; font-size: 1.125rem; margin-top: 3px; }
  .latest-venue { font-size: 1.125rem; }
  .eyebrow, .latest-label { font-size: 1rem; letter-spacing: .7px; }
  .latest-work strong { margin: 0; }
  .section { padding-block: 62px; }
  h2 { font-size: 39px; }
  #research, .background-section, .faq-section { grid-template-columns: 1fr; gap: 30px; }
  .research-intro { max-width: 650px; }
  .research-grid { grid-template-columns: 1fr; gap: 25px; }
  .research-grid h3 { font-size: 1.4375rem; }
  .research-grid p { font-size: 1.25rem; }
  .research-grid .topic-tags { font-size: 1.125rem; }
  .horizontal { align-items: flex-start; }
  .horizontal > .text-link { margin-top: 37px; max-width: 200px; }
  .pub-lead { padding: 25px; }
  .pub-figure { padding: 9px; }
  .pub { gap: 20px; }
  .pub h3 { font-size: 1.625rem; }
  .pub .authors, .pub .venue, .pub-links a { font-size: 1.125rem; }
  .pub .summary { font-size: 1.25rem; }
  .venue-tag, .pub-year, .pub-index, .topic-number { font-size: 1rem; }
  .pub-list li, summary, .faq-list p, .experience p { font-size: 1.25rem; }
  .citation pre { font-size: 1rem; }
  .experience h3 { font-size: 1.5rem; }
  .experience-org, .profile-links a { font-size: 1.125rem; }
  .experience { grid-template-columns: 160px minmax(0, 1fr); gap: 25px; }
  .experience-date { align-items: flex-start; font-size: 1rem; }
  .experience-date .status-dot { margin-top: 6px; }
  .contact-inner { grid-template-columns: minmax(0, 1fr) 160px; gap: 40px; }
  .contact-email { font-size: 1.125rem; gap: 12px; }
  .site-footer { font-size: 1.125rem; }
  .contact-section { padding-block: 60px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  html { scroll-padding-top: 170px; }
  .header-inner { display: block; min-height: 0; padding-block: 10px 5px; }
  .wordmark { display: inline-block; font-size: 24px; line-height: 1.25; }
  .site-header nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 4px; }
  .site-header nav a { min-height: 44px; }
  .site-header nav a:last-child span { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 40px; gap: 32px; }
  .hero-copy { max-width: 480px; }
  h1 { font-size: clamp(56px, 21vw, 86px); line-height: .98; margin-block: 22px 25px; }
  .hero h1 br { display: none; }
  .hero h1 em { display: block; }
  .hero-role { max-width: 390px; line-height: 1.6; }
  .hero-summary { margin-top: 17px; }
  .previous-role { max-width: 360px; }
  .hero-links { gap: 18px; }
  .portrait-block { width: 176px; max-width: 65%; margin: 0 auto; }
  .latest-work { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .latest-venue { color: var(--accent); }
  .latest-venue span { float: right; }
  .latest-detail { margin-top: 5px; }
  .section { padding-block: 55px; }
  h2 { font-size: 35px; letter-spacing: -1.2px; }
  .section-heading .eyebrow { margin-bottom: 16px; }
  .research-grid { grid-template-columns: 1fr; gap: 22px; }
  .research-grid article { padding-top: 20px; }
  .topic-number { display: block; margin-bottom: 10px; }
  .research-grid h3 { margin-block: 0 8px; }
  .research-grid .topic-tags { margin-top: 12px; }
  .horizontal { flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .horizontal > .text-link { margin-top: 0; max-width: none; }
  .pub-lead { padding: 20px 17px; }
  .pub-heading { gap: 8px; margin-bottom: 16px; }
  .pub h3 { letter-spacing: -.4px; }
  .pub-links { gap: 8px; margin-top: 17px; }
  .pub-links a { padding-inline: 12px; min-height: 48px; }
  .pub-figure { margin-block: 20px; padding: 5px; }
  .pub:not(.pub-lead) { display: block; }
  .pub-index { display: block; margin-bottom: 10px; }
  .pub-list { padding-left: 17px; }
  .pub-list li { padding-left: 3px; }
  .citation pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 17px; }
  .experience { grid-template-columns: 1fr; gap: 12px; }
  .contact-inner { grid-template-columns: 1fr; gap: 30px; }
  .contact-email { max-width: 100%; }
  .profile-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
  .site-footer { min-height: 110px; align-items: flex-start; flex-direction: column; gap: 0; justify-content: center; padding-block: 15px; }
  .footer-name { gap: 11px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { align-items: center; gap: 12px; }
  .site-header nav { column-gap: 16px; }
  .hero-links { gap: 8px; }
  .pub-year { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.pub h3 a:hover, .pub-list strong a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
