:root {
  color-scheme: dark;
  --ink: #0b1018;
  --raised: #111925;
  --paper: #f1f3f3;
  --text: #ecf1f5;
  --muted: #a1afc0;
  --line: #ffffff20;
  --cyan: #8cdde5;
  --violet: #a59ce5;
  --body: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(24px, 5.5vw, 100px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; background: var(--ink); }
body { font-family: var(--body); color: var(--text); background: var(--ink); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
canvas { display: block; width: 100%; height: 100%; }
::selection { color: var(--ink); background: var(--cyan); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip-link { position: fixed; top: 12px; left: 16px; padding: 10px 20px; background: var(--paper); color: var(--ink); z-index: 200; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter); border-bottom: 1px solid transparent;
  background: #0b1018e8; transition: padding .25s, border-color .25s;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.site-header.scrolled { padding-block: 14px; border-color: var(--line); }
.site-header::after { content: ""; position: absolute; inset: auto 0 -1px; height: 1px; background: var(--cyan); opacity: .65; transform: scaleX(var(--reading-progress, 0)); transform-origin: left; pointer-events: none; }
.monogram { display: inline-flex; align-items: center; gap: 9px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.08em; }
.monogram i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.site-header nav { display: flex; gap: clamp(18px, 3vw, 42px); }
.site-header nav a, .header-contact { padding: 6px 0; font-size: .875rem; font-weight: 500; color: #c0cad6; }
.site-header nav a { position: relative; display: inline-flex; align-items: center; min-height: 40px; }
.site-header nav a::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.site-header nav a:hover::after, .site-header nav a[aria-current]::after { transform: scaleX(1); }
.header-contact span { margin-left: 8px; color: var(--cyan); }
a:hover { color: var(--cyan); }
/* In-flow columns keep the name, description and field aligned at every screen height. */
.hero {
  position: relative; isolation: isolate; display: grid; align-items: center;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  column-gap: clamp(16px, 3vw, 56px);
  min-height: min(900px, 100svh); padding: 152px var(--gutter) 110px;
  background: radial-gradient(ellipse at 76% 46%, #2032434d, transparent 47%);
}
.hero-grid { position: absolute; z-index: -1; inset: 0; pointer-events: none; background-image: linear-gradient(#ffffff04 1px, transparent 1px), linear-gradient(90deg, #ffffff04 1px, transparent 1px); background-size: 84px 84px; mask-image: linear-gradient(transparent, black 35%, transparent); }
.hero-identity { width: 100%; max-width: 620px; justify-self: end; }
.hero-kicker { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .75rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.status-dot { flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px #8cdde510; }
.hero-title-wrap { margin-top: 32px; }
.hero h1 { font-size: clamp(5rem, 7.7vw, 8.4rem); font-weight: 500; line-height: .99; letter-spacing: -.075em; }
.hero h1 > span { display: block; }
.name-period { color: var(--cyan); }
.hero-copy { max-width: 430px; margin-top: 32px; }
.hero-copy p { color: var(--muted); line-height: 1.6; }
.hero-copy .hero-role { font-size: .875rem; color: var(--text); font-weight: 600; margin-bottom: 14px; }
.hero-focus + .hero-focus { margin-top: 14px; }
.hero-focus h2 { margin-bottom: 5px; font-family: var(--mono); font-size: .75rem; line-height: 1.4; font-weight: 400; letter-spacing: .055em; text-transform: uppercase; color: var(--cyan); }
.hero-focus-ai h2 { color: #b3aae7; }
.hero-copy em { color: var(--text); font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 24px; margin-top: 32px; }
.hero-actions > a { font-size: .8125rem; padding-block: 9px; }
.hero-actions > .button { flex-basis: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 11px 22px; border: 1px solid var(--line); border-radius: 4px; font-size: .875rem; transition: background .2s, color .2s, border-color .2s; }
.button-primary { color: #11202a; background: #deedf1; border-color: #deedf1; }
.button-primary:hover { color: #11202a; background: var(--cyan); border-color: var(--cyan); }
.button-ghost:hover { border-color: currentColor; }
.spin-lab { min-width: 0; width: 100%; max-width: 670px; align-self: center; justify-self: start; position: relative; }
#spin-canvas { aspect-ratio: 1.1; height: auto; }
.field-caption { max-width: 470px; margin: 4px auto 0; text-align: center; font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.hero-bottom { position: absolute; bottom: 24px; left: var(--gutter); right: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.text-link, .motion-toggle { font-size: .75rem; color: var(--muted); }
.text-link span { margin-left: 14px; color: var(--cyan); }
.motion-toggle { min-height: 32px; padding: 4px 0 4px 8px; border: 0; background: none; }
.motion-toggle span { display: inline-block; width: 15px; margin-left: 12px; }
.ticker { border-block: 1px solid var(--line); background: #0e1520; }
.ticker-track { max-width: 1440px; margin: auto; padding: 22px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; font-family: var(--mono); font-size: .75rem; color: #afbdcd; }
.ticker-track i { color: #586678; font-style: normal; }
.section-pad { padding: clamp(80px, 8vw, 132px) max(var(--gutter), calc((100vw - 1320px) / 2)); }
.section-index { font-family: var(--mono); font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: #90a1b5; }
.intro { background: var(--paper); color: #152031; color-scheme: light; }
.intro .section-index, .publications .section-index { color: #53657a; }
.intro-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 7vw, 110px); align-items: start; margin-top: 40px; }
.display-title { font-size: clamp(2.65rem, 4.5vw, 4.9rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.11; }
.display-title span { font-family: var(--serif); font-size: 1.23em; font-weight: 400; font-style: italic; letter-spacing: -.035em; color: #52657e; }
.intro-body { color: #536173; }
.intro-body .lead { font-size: clamp(1.125rem, 1.55vw, 1.5rem); line-height: 1.65; color: #202d40; }
.intro-body a { text-decoration: underline; text-decoration-color: #9daab7; text-underline-offset: 4px; }
.intro-body a:hover { color: #346782; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; margin-bottom: 42px; align-items: end; }
.section-heading .section-index { grid-column: 1 / -1; margin-bottom: 7px; }
.section-heading h2, .publications-head h2 { font-size: clamp(2.3rem, 3.5vw, 3.7rem); font-weight: 500; line-height: 1.15; letter-spacing: -.045em; }
.section-heading > p { max-width: 350px; justify-self: end; color: var(--muted); }
.research-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.research-card { display: flex; flex-direction: column; min-width: 0; border-top: 1px solid #ffffff38; padding: 0 0 24px; background: linear-gradient(#11192575, #11192500); transition: border-color .25s; }
@media (hover: hover) { .research-card:hover { border-top-color: var(--cyan); } }
.card-visual { width: 100%; position: relative; aspect-ratio: 1.45; margin-bottom: 26px; border-bottom: 1px solid var(--line); overflow: hidden; }
.card-visual > canvas { position: absolute; inset: 0; }
.card-visual > span { position: absolute; top: 16px; left: 0; font-family: var(--mono); font-size: .75rem; color: #91a4b9; }
.card-number { display: none; }
.research-card h3 { padding-right: 16px; font-size: clamp(1.4rem, 1.7vw, 1.75rem); font-weight: 500; line-height: 1.3; letter-spacing: -.03em; margin-bottom: 16px; }
.research-card > p { color: var(--muted); margin-bottom: 26px; }
.research-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; list-style: none; }
.research-card li, .skill-cloud span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 3px; font-size: .75rem; color: #b4c2d2; }
.publications { color: #172335; background: var(--paper); color-scheme: light; }
.publications-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 45px; }
.publications-head .section-index { margin-bottom: 26px; }
.publications-intro { max-width: 520px; margin-top: 17px; color: #58687a; }
.publications .button-ghost { border-color: #17233540; }
.publications .button-ghost:hover { color: #346782; }
.publication-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding-bottom: 18px; margin-bottom: 38px; border-bottom: 1px solid #17233529; }
.publication-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.publication-filters button { display: inline-flex; align-items: center; justify-content: space-between; gap: 13px; min-height: 46px; padding: 11px 14px; border: 0; border-bottom: 2px solid transparent; border-radius: 3px 3px 0 0; color: #58687a; background: transparent; font-size: .875rem; transition: color .2s, background .2s, border-color .2s; }
.publication-filters button:hover { color: #213d54; background: #dce6eb70; }
.publication-filters button[aria-pressed="true"] { color: #213d54; background: #dce6eb; border-bottom-color: #366e86; }
.publication-filters button span { font-family: var(--mono); font-size: .75rem; opacity: .75; }
.publication-updated { color: #58687a; font-family: var(--mono); font-size: .75rem; white-space: nowrap; }
.publication-updated time { margin-left: 5px; }
.publication-group + .publication-group { margin-top: 64px; }
.publication-group-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 20px; }
.publication-group-heading h3 { font-size: 1.3rem; line-height: 1.4; letter-spacing: -.025em; font-weight: 600; }
.publication-group-heading > span { color: #617187; font-family: var(--mono); font-size: .75rem; white-space: nowrap; }
.publication { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) 44px; gap: 24px; align-items: start; padding: 30px 0; border-top: 1px solid #17233529; }
.publication:last-child { border-bottom: 1px solid #17233529; }
.pub-year { font-family: var(--mono); font-size: .8125rem; padding-top: 4px; color: #617187; }
.pub-tags { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-bottom: 10px; color: #56697f; }
.pub-tags span { font-size: .75rem; font-weight: 500; }
.pub-tags span + span { padding-left: 14px; border-left: 1px solid #17233535; }
.pub-main h4 { font-size: clamp(1.2rem, 1.6vw, 1.55rem); font-weight: 600; line-height: 1.45; letter-spacing: -.025em; margin-bottom: 11px; }
.pub-main h4 a { transition: color .2s; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pub-main h4 a:hover { color: #286a83; text-decoration-line: underline; }
.pub-tags .review-tag { color: #725b83; }
.pub-main > p { color: #58687a; font-size: .875rem; line-height: 1.7; }
.pub-main > p strong { color: #26394e; font-weight: 600; }
.pub-meta { margin-top: 3px; }
.pub-link { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #17233535; border-radius: 50%; font-size: 1.125rem; transition: background .2s, color .2s; }
.pub-link:hover { background: #d6e4e9; color: #172335; border-color: #839aa7; }
.featured-publication { padding: 32px; margin-bottom: 20px; border: 1px solid #b7c8d6; border-radius: 6px; background: #e6edf2; }
.featured-publication .pub-tags span:last-child { color: #366078; }
.thesis-publication .pub-tags span:last-child { color: #735c89; }
.experience .section-heading { grid-template-columns: 1fr; }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 1fr 2fr; gap: 44px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.timeline-date { padding-top: 8px; font-family: var(--mono); font-size: .8125rem; color: var(--muted); }
.timeline-copy > span { display: inline-block; padding: 2px 9px; border: 1px solid #8cdde544; border-radius: 3px; color: var(--cyan); font-size: .75rem; margin-bottom: 12px; }
.timeline-copy h3 { font-size: clamp(1.6rem, 2.4vw, 2.4rem); font-weight: 500; line-height: 1.25; letter-spacing: -.04em; margin-bottom: 10px; }
.timeline-copy p { color: var(--muted); }
.timeline-copy p + p { margin-top: 6px; font-size: .875rem; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px 72px; margin-top: 76px; }
.detail-block .section-index { margin-bottom: 25px; }
.detail-block ul { list-style: none; }
.detail-block li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); color: #acbbce; font-size: .875rem; }
.detail-block li b { font-family: var(--mono); font-weight: 400; font-size: .75rem; color: #8f9fb4; padding-top: 2px; }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-cloud span { padding: 8px 12px; font-size: .875rem; }
.contact { position: relative; padding: 90px var(--gutter) 100px; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 75% 30%, #233d532e, transparent 55%), #111925; text-align: center; }
.contact .section-index { margin-bottom: 42px; }
.contact-eyebrow { color: var(--muted); font-size: .875rem; margin-bottom: 22px; }
.contact h2 { font-size: clamp(3.1rem, 6.5vw, 6.5rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.05; }
.contact h2 span { font-family: var(--serif); font-size: 1.23em; font-style: italic; color: var(--cyan); }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 700px; margin: 46px auto 0; padding-block: 22px; border-block: 1px solid var(--line); font-size: clamp(1.05rem, 2vw, 1.75rem); letter-spacing: -.03em; }
.contact-email i { color: var(--cyan); font-style: normal; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin-top: 28px; font-size: .8125rem; color: #b7c7d8; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 26px var(--gutter); border-top: 1px solid var(--line); font-size: .75rem; color: #99aabd; }
/* Readable even when scripts or animation APIs are unavailable. */
.reveal { opacity: 1; }
@media (min-width: 1800px) {
  .hero { padding-inline: max(var(--gutter), calc((100vw - 1500px) / 2)); min-height: min(980px, 100svh); }
}
@media (max-width: 1100px) {
  .hero { column-gap: 24px; padding-top: 130px; }
  .hero-actions { gap: 12px 20px; }
  .hero-actions .button { flex-basis: 100%; width: max-content; flex-grow: 0; }
  .hero h1 { font-size: clamp(4.7rem, 8.5vw, 6.9rem); }
  .research-grid { gap: 22px; }
}
@media (min-width: 801px) and (max-height: 850px) {
  .hero { padding-top: 110px; padding-bottom: 90px; }
  .hero-title-wrap { margin-top: 26px; }
  .hero h1 { font-size: clamp(4.5rem, 7.3vw, 7.5rem); }
  .hero-copy, .hero-actions { margin-top: 24px; }
  #spin-canvas { aspect-ratio: 1.35; }
}
@media (min-width: 801px) and (max-height: 700px) {
  .hero { padding-top: 94px; padding-bottom: 82px; }
  .hero-title-wrap { margin-top: 18px; }
  .hero h1 { font-size: clamp(3.75rem, 6vw, 5.9rem); }
  .hero-copy { margin-top: 18px; }
  .hero-copy p { line-height: 1.5; }
  .hero-actions { margin-top: 20px; }
  #spin-canvas { aspect-ratio: 1.45; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 4.9rem; }
  .research-grid { grid-template-columns: 1fr; gap: 42px; }
  .research-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px 26px; padding-top: 20px; }
  .card-visual { grid-row: 1 / 4; margin: 0; aspect-ratio: 1; border-bottom: 0; }
  .research-card h3, .research-card > p { margin-bottom: 0; }
  .research-card ul { margin: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .section-heading > p { justify-self: start; max-width: 450px; }
  .intro-layout { grid-template-columns: 1fr; gap: 36px; }
  .intro-body { max-width: 650px; }
  .detail-grid { gap: 42px 30px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 80px; }
  .site-header { padding: 16px 20px; gap: 12px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: .75rem; }
  .header-contact { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 24px; padding: 112px 24px 98px; }
  .hero-identity { max-width: none; }
  .hero-title-wrap { margin-top: 25px; }
  .hero h1 { font-size: clamp(4.5rem, 18vw, 6.1rem); }
  .hero h1 > span { display: inline; }
  .hero h1 > span:last-child { display: block; }
  .hero-copy { margin-top: 23px; }
  .hero-actions { margin-top: 25px; gap: 14px 22px; }
  .hero-actions .button { flex-basis: 100%; justify-content: space-between; }
  .spin-lab { max-width: 410px; justify-self: center; }
  #spin-canvas { aspect-ratio: 1.35; }
  .hero-bottom { left: 24px; right: 24px; bottom: 20px; }
  .ticker-track { justify-content: center; gap: 9px 16px; padding: 20px 24px; }
  .ticker-track i { display: none; }
  .ticker-track span { flex-basis: calc(50% - 16px); text-align: center; font-size: .75rem; }
  .section-pad { padding: 74px 24px; }
  .section-heading h2, .publications-head h2 { font-size: 2.25rem; }
  .display-title { font-size: 2.8rem; }
  .research-card { display: flex; gap: 0; padding-top: 0; }
  .card-visual { aspect-ratio: 1.6; margin-bottom: 22px; }
  .research-card h3 { font-size: 1.6rem; margin-bottom: 14px; }
  .research-card > p { margin-bottom: 22px; }
  .publications-head { display: block; }
  .publications-head .button { margin-top: 24px; }
  .publication-tools { gap: 14px; margin-bottom: 30px; }
  .publication-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 6px; }
  .publication-updated { margin-left: auto; }
  .publication-group + .publication-group { margin-top: 48px; }
  .publication-group-heading { align-items: start; gap: 12px; }
  .publication-group-heading h3 { font-size: 1.1rem; }
  .publication-group-heading > span { padding-top: 3px; }
  .publication { grid-template-columns: minmax(0, 1fr) 40px; gap: 10px 15px; }
  .pub-year { grid-column: 1; }
  .pub-main { grid-column: 1 / -1; }
  .pub-link { grid-column: 2; grid-row: 1; width: 40px; height: 40px; }
  .pub-main h4 { font-size: 1.1875rem; }
  .featured-publication { padding: 24px 20px; }
  .timeline-item { grid-template-columns: 1fr; gap: 14px; padding-block: 28px; }
  .timeline-copy h3 { font-size: 1.75rem; }
  .detail-grid { grid-template-columns: 1fr; gap: 38px; margin-top: 52px; }
  .contact { padding: 70px 24px; }
  .contact .section-index { margin-bottom: 32px; }
  .contact h2 { font-size: 3.3rem; }
  .contact-email { font-size: 1.1rem; margin-top: 34px; }
  .contact-links { gap: 14px 23px; }
  footer { display: block; padding: 24px; }
  footer p + p { margin-block: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
