:root {
  color-scheme: dark;
  --background: #09090b;
  --surface: #111114;
  --tint: #151419;
  --heading: #f1f0f4;
  --text: #c6c3ce;
  --muted: #a29daa;
  --accent: #c1a4ef;
  --accent-hover: #d7c1f6;
  --on-accent: #1b1425;
  --line: #2b2832;
  --focus: #d7b4ff;
  --sans: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "Consolas", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--sans); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 5px; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { color: var(--heading); }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); font-weight: 550; letter-spacing: -.035em; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.wrap { width: min(1160px, calc(100% - 4rem)); margin-inline: auto; }
.section { padding-block: 2.75rem; border-bottom: 1px solid var(--line); }
.section-tint { background: var(--background); }
.eyebrow, .label, .highlight-label { color: var(--accent); font-family: var(--mono); font-size: .68rem; font-weight: 400; letter-spacing: .09em; line-height: 1.5; text-transform: uppercase; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 2; padding: .8rem 1rem; background: var(--accent); color: var(--on-accent); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); color: var(--on-accent); }
.site-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; color: var(--heading); font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
nav a:last-child { color: var(--accent); }
nav a span { margin-left: .35rem; }
.hero { padding-block: 3rem 2rem; }
.hero .eyebrow { border-left: 2px solid var(--accent); padding: .6rem 0 .6rem .8rem; margin-bottom: 1.4rem; }
.hero h1 { max-width: 100%; font-size: clamp(3rem, 7vw, 5.7rem); font-weight: 500; letter-spacing: -.06em; line-height: 1.03; }
.hero h1 span { display: block; color: var(--accent); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2.5rem; margin-top: 1.7rem; }
.hero-intro { max-width: 57ch; font-size: 1.02rem; line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 46px; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 2px; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .025em; line-height: 1.5; text-transform: uppercase; text-decoration: none; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.button-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.button-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.button-secondary { color: var(--heading); background: transparent; }
.button-secondary:not(:disabled):hover { background: var(--surface); border-color: var(--accent); }
.button:disabled { color: var(--muted); background: var(--surface); cursor: not-allowed; }
.hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 1rem; color: var(--muted); font-size: .76rem; }
.hero-links a { display: inline-flex; align-items: center; min-height: 44px; gap: .4rem; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--surface); padding: 1.3rem 1.5rem; gap: 2rem; }
.highlights > div + div { border-left: 1px solid var(--line); padding-left: 2rem; }
.highlights p { color: var(--heading); font-size: 1.02rem; font-weight: 500; margin-top: .3rem; }
.highlights > div > span:last-child { display: block; color: var(--muted); font-size: .78rem; margin-top: .15rem; }
.about-layout, .section-layout { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); gap: 3rem; }
.about-copy { max-width: 68ch; }
.about-copy p + p { margin-top: 1rem; }
.experience-list { min-width: 0; display: grid; gap: 1rem; }
.experience-details { padding-left: 1.15rem; margin: .8rem 0 0; font-size: .9rem; }
.experience-details li + li { margin-top: .5rem; }
.experience-role { margin-top: 1rem; }
.experience-role + .experience-role { border-top: 1px solid var(--line); padding-top: 1rem; }
.experience-role h4 { font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
.experience-role p { margin-top: .65rem; font-size: .9rem; }
.experience-role .role-meta { color: var(--muted); font-size: .78rem; margin-top: .35rem; }
.section-intro > p:last-child { max-width: 29ch; margin-top: .7rem; color: var(--muted); font-size: .86rem; }
.experience-entry { padding: 1.5rem; border: 1px solid var(--line); background: var(--surface); }
.entry-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.location { color: var(--muted); font-size: .74rem; }
.experience-entry h3 { font-size: 1.5rem; }
.organization { color: var(--heading); font-size: .95rem; font-weight: 500; margin-top: .35rem; }
.experience-entry > p:not(.organization) { margin-top: .8rem; font-size: .9rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-family: var(--mono); font-size: .75rem; font-weight: 400; text-transform: uppercase; letter-spacing: .025em; }
.experience-entry .text-link { margin-top: .7rem; }
.section-heading { display: flex; justify-content: space-between; align-items: start; gap: 2rem; margin-bottom: 1.4rem; }
.section-heading > p { max-width: 45ch; color: var(--muted); font-size: .86rem; }
.research-paper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .4fr); border: 1px solid var(--line); background: var(--surface); }
.paper-meta { padding: 1.5rem; border-left: 1px solid var(--line); }
.paper-meta .conference-name { color: var(--heading); font-size: 1.6rem; font-weight: 600; line-height: 1.3; margin-top: .7rem; }
.paper-meta p { font-size: .84rem; margin-top: .5rem; }
.paper-meta p + p { color: var(--muted); }
.paper-meta .button { margin-top: 1.2rem; }
.paper-content { padding: 1.5rem 1.75rem; }
.paper-content h3 { max-width: 50ch; font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.35; }
.paper-content > p { margin-top: .8rem; font-size: .9rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 1rem 0; list-style: none; }
.tags li { padding: .2rem .55rem; border: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: .65rem; }
.paper-authors { padding-top: .9rem; border-top: 1px solid var(--line); }
.paper-authors p { font-size: .76rem; margin-top: .4rem; }
.paper-content .doi { font-size: .7rem; color: var(--muted); overflow-wrap: anywhere; }
.education-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.education-entry + .education-entry { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.education-entry.education-secondary { grid-column: 1 / -1; padding: 1.25rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
.education-entry h3 { margin-top: .65rem; font-size: 1.2rem; }
.education-entry .organization { font-size: .88rem; color: var(--text); }
.education-entry > p:not(.organization) { margin-top: .65rem; font-size: .83rem; }
.award { display: inline-flex; padding: .2rem .6rem; border: 1px solid #59456f; color: var(--accent); font-family: var(--mono); font-size: .65rem; text-transform: uppercase; }
.leadership { color: var(--muted); }
.featured-credential { padding: 1.15rem 1.4rem; border: 1px solid var(--line); border-left: 2px solid var(--accent); background: var(--surface); }
.featured-credential h3 { margin-top: .5rem; font-size: 1.12rem; }
.featured-credential p { margin-top: .4rem; color: var(--muted); font-size: .78rem; }
.credential-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.75rem; }
.credential-list li { font-size: .83rem; line-height: 1.5; }
.credential-list small { display: block; margin-top: .3rem; color: var(--muted); font-size: .72rem; }
.contact-section { padding-block: 2.5rem; border-bottom: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; }
.contact-layout > div > p:last-child { max-width: 43ch; margin-top: .75rem; color: var(--muted); font-size: .9rem; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; justify-self: end; gap: .25rem; }
.contact-email { display: inline-flex; align-items: center; min-height: 44px; gap: .8rem; font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 500; letter-spacing: -.02em; overflow-wrap: anywhere; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; font-size: .75rem; color: var(--muted); }
.site-footer p { color: var(--heading); }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 1023px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 1.2rem; }
  .about-layout, .section-layout { grid-template-columns: minmax(0, .38fr) minmax(0, 1fr); gap: 2rem; }
  .education-list { grid-template-columns: 1fr; }
  .education-entry + .education-entry { border-left: 0; border-top: 1px solid var(--line); padding: 1.5rem 0 0; }
}
@media (max-width: 767px) {
  .wrap { width: min(100% - 2.5rem, 600px); }
  .site-header { flex-direction: column; align-items: flex-start; gap: 0; padding-block: .65rem .35rem; }
  .wordmark { min-height: 44px; }
  nav { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: .2rem .75rem; }
  nav a { font-size: .72rem; }
  .hero { padding-block: 2.2rem 1.5rem; }
  .hero h1 { font-size: clamp(2.25rem, 7.5vw, 3.5rem); letter-spacing: -.045em; line-height: 1.1; }
  .hero h1 span { margin-top: .1rem; }
  .hero-intro { font-size: .95rem; }
  .hero-bottom { margin-top: 1.2rem; gap: 1.1rem; }
  .hero-links { margin-top: .7rem; }
  .highlights { grid-template-columns: 1fr; gap: 1rem; padding: 1.1rem 1.2rem; }
  .highlights > div + div { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
  .section { padding-block: 2rem; }
  .about-layout, .section-layout, .contact-layout, .research-paper { grid-template-columns: 1fr; gap: 1.25rem; }
  .section-intro > p:last-child { max-width: 55ch; }
  .section-heading { display: block; }
  .section-heading > p { max-width: 55ch; margin-top: .75rem; }
  .research-paper { gap: 0; }
  .paper-meta { border-left: 0; border-top: 1px solid var(--line); }
  .paper-meta, .paper-content, .experience-entry { padding: 1.25rem; }
  .contact-links { justify-self: start; }
  .contact-section { padding-block: 2rem; }
  .site-footer { flex-wrap: wrap; justify-content: flex-start; gap: .1rem 1.5rem; padding-block: 1rem; }
  .site-footer p { width: 100%; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 2rem); }
  .hero .eyebrow { font-size: .6rem; }
  .actions { gap: .5rem; }
  .button { padding-inline: .7rem; }
  .credential-list { grid-template-columns: 1fr; }
  .contact-email { gap: .4rem; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
