@font-face{font-family:Manrope;src:url('/static/manrope.e310b55a7fd9.woff2') format('woff2');font-style:normal;font-weight:400 800;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('/static/jetbrains-mono.1e06740a02a4.woff2') format('woff2');font-weight:100 800;font-display:swap}
:root{--ink:#17191e;--muted:#626c7c;--accent:#2456d3;--accent-hover:#183e9e;--accent-soft:#f2f5fb;--secondary:#f2f5fb;--border:#dde3ec;--warm:#f8f5ed;--sans:Manrope,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--mono:'JetBrains Mono',monospace;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--space-12:48px;--space-16:64px;--space-24:96px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:104px}body{margin:0;background:#fcfcfb;color:var(--ink);font:16px/1.65 var(--sans);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none;transition:color .15s,background-color .15s,box-shadow .15s}a:hover{color:var(--accent)}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:5px}button{font:inherit}h1,h2,h3,h4,p,figure{margin:0}h1,h2,h3,h4{font-weight:600;line-height:1.25}p{color:var(--muted)}img{display:block;max-width:100%;height:auto}figure{min-width:0}figcaption,.caption{font-size:12px;line-height:1.65;color:var(--muted);margin-top:12px}section{scroll-margin-top:0}.container,.nav-container,.footer-inner{width:min(1180px,calc(100% - 80px));margin-inline:auto}.reading-content{max-width:760px}.reading-content>p{margin-block:20px}.reading-content>section{margin-block:42px}.eyebrow{font:12px/1.6 var(--mono);text-transform:uppercase;letter-spacing:1.2px;color:var(--muted)}
.site-header{height:88px;position:sticky;top:0;z-index:10;background:#fcfcfb;border-bottom:1px solid var(--border)}.nav-container{height:100%;display:flex;align-items:center;justify-content:space-between;gap:32px}.identity{display:flex;align-items:center;gap:12px;font-size:15px;letter-spacing:-.4px;font-weight:600;white-space:nowrap}.monogram{font:14px var(--mono);letter-spacing:-1px;border-bottom:2px solid var(--accent);padding-block:6px}.primary-nav{display:flex;align-items:center;gap:26px;height:100%}.primary-nav>a{display:flex;align-items:center;min-height:44px;font-size:13px;position:relative;color:var(--muted)}.primary-nav>a[aria-current]{color:var(--accent)}.primary-nav>a[aria-current]::after{content:'';position:absolute;left:0;right:0;bottom:0;border-bottom:2px solid var(--accent)}.primary-nav .nav-resume{margin-left:4px;color:var(--ink);text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--border)}.menu-toggle{display:none}.skip-link{position:fixed;top:-80px;left:16px;background:var(--ink);color:white;padding:12px 18px;z-index:20}.skip-link:focus{top:12px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:72px;align-items:start;padding-top:64px;margin-bottom:64px}.hero h1{font-size:clamp(40px,5.5vw,68px);letter-spacing:-3.2px;line-height:1.08;margin:24px 0}.headline{font-size:23px;line-height:1.45;letter-spacing:-.6px;color:var(--ink);max-width:630px}.hero-description{font-size:16px;line-height:1.65;max-width:610px;margin-top:20px}.hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:28px}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:46px;padding:12px 20px;background:var(--accent);color:#fff;border:1px solid var(--accent);border-radius:8px;font-size:14px;font-weight:550;line-height:1.5}.button:hover{background:var(--accent-hover);color:#fff}.text-link,.small-link,.project-action,.inline-links>a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px;font-weight:500;color:var(--accent);text-decoration:underline;text-decoration-color:#a9bce9;text-underline-offset:5px}.text-link:hover,.small-link:hover,.project-action:hover,.inline-links>a:hover{text-decoration-color:currentColor;color:var(--accent-hover)}.hero-actions>.text-link{color:var(--ink);font-size:13px}.social-links{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:12px}.social-links a{display:inline-flex;gap:6px;align-items:center;min-height:44px;font-size:13px;color:var(--muted)}.social-links a:hover{color:var(--accent)}
.education-badge{display:flex;align-items:center;gap:12px;width:fit-content;max-width:100%;margin-top:24px;font-size:13px;min-height:44px}.education-badge img{width:36px;height:36px;object-fit:contain;flex:none}.education-badge>span:first-of-type{display:grid;gap:2px;min-width:0}.education-badge strong{font-size:13px;font-weight:550}.education-badge small{font-size:12px;color:var(--muted);line-height:1.6}.education-badge>span:last-child{color:var(--muted);margin-left:4px}.education-badge:hover strong{text-decoration:underline;text-underline-offset:4px}.hero-aside{padding-top:8px}.current-status{border-left:2px solid var(--accent);padding-left:20px;margin-bottom:32px}.current-status>p:last-child{font-size:15px;color:var(--ink);margin-top:10px;line-height:1.6}.current-status a{text-decoration:underline;text-underline-offset:4px;text-decoration-color:#a9bce9}.hero-aside figure{border-top:1px solid var(--border);padding-top:24px}.hero-aside img{border:1px solid var(--border);border-radius:8px;width:100%}.hero-aside figcaption{max-width:310px}
.home>section{margin-top:70px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}.section-heading h2{font-size:30px;letter-spacing:-1px;padding-left:16px;border-left:2px solid var(--accent)}.section-number{display:none}.small-link{font-size:13px;white-space:nowrap}.featured-project{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:48px;align-items:center;padding-block:16px 40px;border-bottom:1px solid var(--border)}.featured-project h3{font-size:40px;letter-spacing:-1.4px;margin:16px 0}.featured-project-copy>p:not(.eyebrow):not(.caption){font-size:17px;line-height:1.65}.featured-project figure img{width:100%;border:1px solid var(--border);border-radius:10px}.featured-project .project-action{margin-top:20px}.evidence-chips{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 12px}.evidence-chips li{padding:6px 10px;border:1px solid var(--border);border-radius:6px;font-size:12px;background:#fff}.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.tags span{font-size:12px;color:var(--muted)}.tags span+span::before{content:'/';margin-right:8px;color:#a3adbb}.compact-projects{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:40px}.project-card{min-width:0}.project-preview{display:block;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--accent-soft)}.project-preview:hover{border-color:var(--accent)}.project-preview img{width:100%;aspect-ratio:2.4;object-fit:contain}.project-card-copy{padding:24px 0 0}.project-card :is(h2,h3){font-size:25px;letter-spacing:-.7px;margin:12px 0}.project-card-copy>p:not(.eyebrow){font-size:16px;line-height:1.65}.project-action{margin-top:16px}.research-feature{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px;align-items:center;padding:32px;background:var(--warm);border-radius:10px}.research-feature :is(h2,h3){font-size:32px;letter-spacing:-1px;margin:14px 0}.research-feature>div>p:not(.eyebrow):not(.caption){font-size:16px;line-height:1.65}.research-feature figure img{border-radius:8px;border:1px solid #e2dfd7;width:100%}.research-facts{display:flex;flex-wrap:wrap;gap:20px;margin:24px 0 12px}.research-facts dt{font-size:12px;color:var(--muted)}.research-facts dd{font-size:14px;font-weight:550;margin:4px 0 0}.home-background{max-width:760px}.home-background>p{font-size:18px;line-height:1.7}.home-background>.text-link{margin-top:16px}.contact-strip{border-top:1px solid var(--border);padding-top:40px;margin-bottom:72px}.contact-strip h2{font-size:30px;letter-spacing:-.8px;max-width:760px;margin:16px 0 20px}.contact-strip>.text-link{font-size:18px}
.inner-page{padding-block:56px 80px;min-height:calc(100vh - 300px)}.page-intro{max-width:820px;margin-bottom:48px}.page-intro h1{font-size:56px;letter-spacing:-2.4px;margin:20px 0}.lede{font-size:18px;line-height:1.65;max-width:760px}.inner-page>section{margin-top:48px}.reading-layout{max-width:760px}.reading-layout section{margin-bottom:48px}.body-copy{font-size:17px;line-height:1.7;margin-top:24px}.inline-links{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:24px}.skills-list{margin:24px 0}.skills-list>div{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;padding-block:20px;border-bottom:1px solid var(--border);font-size:15px}.skills-list dt{color:var(--muted)}.skills-list dd{margin:0}.timeline{max-width:950px}.timeline article{display:grid;grid-template-columns:190px minmax(0,1fr);gap:32px;padding-bottom:48px}.timeline article>div:last-child{border-left:1px solid var(--border);padding-left:32px}.timeline-date{font:12px/1.8 var(--mono);color:var(--muted)}.timeline h2{font-size:25px;letter-spacing:-.5px}.organization{font-size:16px;margin-top:8px;color:var(--muted)}.timeline p,.timeline ul{font-size:16px;line-height:1.7;margin-top:16px;color:var(--muted)}.timeline ul{padding-left:20px}.endnote{border-top:1px solid var(--border);padding-top:24px;margin-top:32px}.project-index{display:grid;grid-template-columns:1fr 1fr;gap:56px 40px}.project-index .project-preview img{aspect-ratio:1.64}.project-detail-visual{max-width:900px;margin-block:40px}.project-detail-visual img{width:100%;border:1px solid var(--border);border-radius:10px}.method-list{padding-left:24px;color:var(--muted)}.method-list li{margin-top:16px}.method-list strong{color:var(--ink)}.research-overview{max-width:760px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--muted);margin-bottom:32px}.breadcrumbs a{display:inline-flex;align-items:center;min-height:44px;color:var(--accent)}.breadcrumbs>span{align-self:center}
.resume-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-bottom:40px}.metadata{font-size:12px;line-height:1.65;color:var(--muted)}.resume-actions>.metadata{margin-left:auto}.resume-paper{max-width:850px;border:1px solid var(--border);border-radius:10px;background:#fff;padding:48px;margin-inline:auto}.resume-paper-head{border-bottom:1px solid var(--border);padding-bottom:24px}.resume-paper-head h2{font-size:28px;letter-spacing:-.7px}.resume-paper-head p{font-size:14px;margin:10px 0}.resume-paper-head>a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:var(--accent);text-decoration:underline;text-underline-offset:4px}.resume-section{margin-top:32px}.resume-section h3{font:12px var(--mono);letter-spacing:1px;text-transform:uppercase;margin-bottom:16px}.resume-section h4{font-size:15px;margin-bottom:8px}.resume-section p{font-size:15px;line-height:1.7}.resume-job{margin-bottom:24px}.resume-job p{margin-top:8px}.resume-paper+.caption{text-align:center}.contact-main{padding-block:20px 40px;border-bottom:1px solid var(--border)}.email-link{display:inline-flex;align-items:center;gap:24px;min-height:44px;font-size:clamp(18px,3vw,34px);letter-spacing:-.7px;margin-top:20px;color:var(--accent)}.email-link:hover{text-decoration:underline;text-underline-offset:8px}.profile-list>a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;border-bottom:1px solid var(--border);color:var(--accent)}.profile-list>a>span{font-size:13px;color:var(--muted)}
.site-footer{border-top:1px solid var(--border);padding-block:32px}.footer-inner{display:grid;grid-template-columns:1fr auto;gap:24px}.footer-inner>div:first-child{display:flex;align-items:center;gap:16px}.footer-monogram{font:12px var(--mono);color:var(--muted);border-right:1px solid var(--border);padding-right:16px}.footer-name{font-size:14px;font-weight:550}.footer-links{display:flex;align-items:center;gap:24px}.footer-links a{min-height:44px;display:inline-flex;align-items:center;gap:5px;font-size:13px;color:var(--muted)}.footer-meta{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}.footer-meta>a{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:1100px){.hero-grid{gap:40px}.primary-nav{gap:20px}.hero h1{font-size:58px}.headline{font-size:21px}.featured-project,.research-feature{gap:32px}}
@media(max-width:900px){.container,.nav-container,.footer-inner{width:calc(100% - 48px)}.site-header{height:76px}.menu-toggle{display:flex;align-items:center;gap:12px;border:0;background:none;padding:10px 0;color:var(--ink);min-height:44px;font-size:13px}.menu-lines{width:18px;height:10px;border-block:1px solid var(--ink)}.primary-nav{display:none;position:absolute;top:75px;left:0;right:0;height:auto;grid-template-columns:1fr 1fr;gap:0 24px;padding:16px 24px 24px;background:#fcfcfb;border-bottom:1px solid var(--border)}.primary-nav.is-open{display:grid}.primary-nav>a{min-height:48px}.primary-nav .nav-resume{margin-left:0}.hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,.75fr);gap:32px;padding-top:56px}.hero h1{font-size:52px}.headline{font-size:20px}.hero-aside{padding-top:0}.current-status{padding-left:16px}.current-status>p:last-child{font-size:14px}.hero-actions{gap:8px 20px}.featured-project{gap:24px}.featured-project h3{font-size:34px}.research-feature{padding:24px;gap:24px}.research-facts{gap:16px}.section-heading h2{font-size:28px}.project-card :is(h2,h3){font-size:23px}.page-intro h1{font-size:48px}.timeline article{grid-template-columns:160px minmax(0,1fr);gap:24px}}
@media(max-width:700px){.hero-grid{grid-template-columns:1fr;gap:40px;padding-top:42px;margin-bottom:56px}.hero h1{font-size:clamp(40px,8.5vw,58px);letter-spacing:-2px;max-width:620px}.hero-description{max-width:590px}.hero-aside{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px;align-items:start}.current-status{margin-bottom:0}.hero-aside figure{border-top:0;padding-top:0}.hero-aside figcaption{font-size:11px}.featured-project{grid-template-columns:1fr;gap:28px}.featured-project figure{grid-row:1}.research-feature{grid-template-columns:1fr;gap:24px}.research-feature figure{grid-row:1}.compact-projects{gap:24px}.project-card-copy>p:not(.eyebrow){font-size:15px}.project-card :is(h2,h3){font-size:21px}.project-index{gap:40px 24px}.home>section{margin-top:56px}.contact-strip h2{font-size:28px}.timeline article{grid-template-columns:1fr;gap:12px}.timeline article>div:last-child{padding-left:20px}.timeline-date{padding-left:20px}.skills-list>div{grid-template-columns:1fr;gap:8px}.resume-actions>.metadata{margin-left:0;width:100%}.resume-paper{padding:32px}.footer-inner{grid-template-columns:1fr}.footer-meta{grid-column:auto}.footer-inner>div:first-child{flex-wrap:wrap}}
@media(max-width:480px){.container,.nav-container,.footer-inner{width:calc(100% - 40px)}.identity{font-size:13px;gap:9px}.monogram{font-size:12px}.eyebrow{font-size:11px;letter-spacing:.8px}.hero h1{font-size:42px;letter-spacing:-1.9px;margin:20px 0}.headline{font-size:20px;line-height:1.5}.hero-description{font-size:16px}.hero-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:24px}.hero-actions .button{width:100%}.hero-actions .text-link{justify-self:start}.social-links{gap:24px;margin-top:4px}.education-badge{gap:10px;margin-top:20px}.education-badge small{font-size:11px}.education-badge strong{font-size:12px}.education-badge img{width:32px;height:32px}.hero-aside{grid-template-columns:1fr;gap:24px}.hero-aside figure{max-width:380px}.hero-aside figure img{width:100%}.hero-aside figcaption{font-size:12px;max-width:none}.section-heading{gap:12px;align-items:flex-start;margin-bottom:24px}.section-heading h2{font-size:26px;letter-spacing:-.9px;padding-left:12px}.small-link{font-size:12px;min-height:34px}.featured-project h3{font-size:34px;margin-top:12px}.featured-project .eyebrow{font-size:10px}.evidence-chips{gap:6px}.evidence-chips li{font-size:11px}.compact-projects,.project-index{grid-template-columns:1fr;gap:36px}.project-card :is(h2,h3){font-size:24px}.project-card-copy{padding-top:20px}.project-card-copy>p:not(.eyebrow){font-size:16px}.research-feature{padding:20px}.research-feature :is(h2,h3){font-size:28px}.research-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px}.research-facts dd{font-size:13px}.research-feature figure{margin:-20px -20px 0}.research-feature figure img{border-radius:10px 10px 0 0}.research-feature figcaption{padding-inline:20px}.home-background>p{font-size:17px}.contact-strip h2{font-size:26px}.contact-strip>.text-link{font-size:16px;overflow-wrap:anywhere}.page-intro h1{font-size:40px;letter-spacing:-1.8px}.lede{font-size:17px}.inner-page{padding-top:32px;padding-bottom:64px}.page-intro{margin-bottom:36px}.timeline h2{font-size:22px}.body-copy{font-size:16px}.resume-paper{padding:24px 20px}.resume-paper-head h2{font-size:25px}.resume-paper-head p{font-size:13px}.resume-paper-head>a{font-size:12px}.profile-list>a{font-size:15px}.profile-list>a>span{font-size:11px}.email-link{font-size:clamp(16px,5vw,22px);gap:12px;letter-spacing:-.5px}.footer-name{font-size:12px}.footer-links{gap:24px}.footer-meta{font-size:11px}.footer-monogram{font-size:11px}.breadcrumbs{gap:8px;font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* A decorative project watermark never competes with the content or links. */
.research-feature { position: relative; isolation: isolate; overflow: hidden; display: block; background: #eef4ff; border: 1px solid #cfddf5; border-left: 4px solid #0754d1; padding: 40px; }
.research-feature>div { position: relative; z-index: 1; max-width: 68%; }
.research-feature :is(h2,h3) { color: #05245e; }
.research-feature .research-watermark { position: absolute; z-index: 0; pointer-events: none; right: 16px; top: 50%; transform: translateY(-50%); width: 40%; max-width: 440px; margin: 0; opacity: .12; }
.research-feature .research-brand-logo { width: 100%; max-width: none; aspect-ratio: 1; object-fit: contain; border: 0; border-radius: 0; }
.research-actions { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 24px; }
.research-actions .button, .project-button { background: #0754d1; border-color: #0754d1; }
.research-actions .button:hover, .project-button:hover { background: #003ca5; border-color: #003ca5; }
.project-button { margin-top: 20px; max-width: 100%; }
@media(max-width:900px) { .research-feature { padding: 28px; } .research-feature>div { max-width: 76%; } }
@media(max-width:700px) { .research-feature>div { max-width: 100%; } .research-feature .research-watermark { width: 400px; max-width: none; right: -120px; top: 46%; opacity: .055; } }
@media(max-width:480px) { .research-feature { padding: 24px 20px; } .research-actions { gap: 8px; } .research-actions .button { width: 100%; padding-inline: 12px; font-size: 13px; } .research-actions .text-link { font-size: 13px; } .project-button { width: 100%; padding-inline: 12px; font-size: 13px; } }

/* Reuse the supplied geometric symbol with the current text wordmark. */
.samlingo-symbol { position: relative; display: block; aspect-ratio: 910 / 790; overflow: hidden; }
.samlingo-symbol img { position: absolute; width: 137.81%; max-width: none; height: auto; left: -18.68%; top: -18.35%; border: 0; border-radius: 0; }
.samlingo-wordmark { display: block; font-size: clamp(30px,3vw,46px); font-weight: 750; line-height: 1.2; letter-spacing: -1.8px; color: #05245e; text-align: center; }
.samlingo-card-logo { max-width: 330px; padding: 20px 24px; margin-inline: auto; }
.project-preview .samlingo-symbol img { aspect-ratio: auto; object-fit: initial; }
.project-card .model-link { display: flex; width: fit-content; margin-top: 8px; }
.research-feature .research-watermark { max-width: 360px; right: 32px; }
.research-feature .research-watermark .samlingo-symbol img { width: 137.81%; max-width: none; height: auto; border: 0; border-radius: 0; }
@media(max-width:700px) { .research-feature .research-watermark { right: -80px; } }
@media(max-width:480px) { .research-feature :is(h2,h3) { font-size: 25px; line-height: 1.35; } .research-watermark .samlingo-wordmark { font-size: 38px; } }

/* Put the content and next action first on phones. */
@media(max-width:700px) {
 .site-header { height: 64px; }
 .primary-nav { top: 63px; }
 html { scroll-padding-top: 80px; }
 section { scroll-margin-top: 0; }
 .menu-toggle { border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; gap: 8px; }
 .hero-grid { padding-top: 28px; margin-bottom: 36px; }
 .hero-aside { display: none; }
 .home>section { margin-top: 42px; }
 .featured-project figure { grid-row: auto; }
 .section-heading { flex-wrap: wrap; }
 .small-link { min-height: 44px; }
 .button, .project-button, .research-actions .button { min-height: 48px; font-size: 15px; }
 .research-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 10px; }
 .research-actions .button { grid-column: 1/-1; }
 .research-actions .text-link { min-height: 44px; padding: 10px; border: 1px solid #c1d2ef; border-radius: 8px; background: #fff; justify-content: center; text-align: center; text-decoration: none; }
}
@media(max-width:480px) {
 .container,.nav-container,.footer-inner { width: calc(100% - 32px); }
 .identity { font-size: 13px; }
 .menu-toggle { font-size: 12px; }
 .hero h1 { font-size: clamp(36px,9vw,42px); margin-block: 16px; }
 .hero .headline { font-size: 19px; }
 .section-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
 .research-facts dd { font-size: 15px; }
 .research-facts>div:last-child { grid-column: 1/-1; }
 .research-actions .text-link { font-size: 13px; }
 .education-badge small, .education-badge strong { font-size: 12px; }
}

/* A single clean family keeps headings, copy and controls consistent. */
h1, h2, h3 { font-family: var(--sans); }
.hero h1 { font-size: clamp(44px,5.2vw,68px); font-weight: 700; line-height: 1.1; letter-spacing: -.05em; }
.page-intro h1, .case-hero h1 { font-weight: 700; letter-spacing: -.04em; }
.section-heading h2 { font-weight: 650; letter-spacing: -.035em; }
.identity>span:last-child { font-size: 15px; font-weight: 700; letter-spacing: -.035em; }
.button { font-weight: 650; }
@media(max-width:1100px) { .hero h1 { font-size: 58px; } }
@media(max-width:700px) { .hero h1 { font-size: clamp(40px,8.6vw,58px); } }
@media(max-width:480px) {
 .hero h1 { font-size: clamp(36px,9.4vw,44px); }
 .identity>span:last-child { font-size: 13px; }
}

/* Quiet navigation feedback and a clearer personal wordmark. */
.primary-nav { gap: 8px; }
.primary-nav>a { padding: 8px 12px; border-radius: 8px; transition: background-color 160ms ease, color 160ms ease; }
.primary-nav>a:hover, .primary-nav>a:focus-visible, .primary-nav>a[aria-current] { color: var(--accent); }
.primary-nav>a::after, .primary-nav>a[aria-current]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border: 0; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 160ms ease; }
.primary-nav>a:is(:hover,:focus-visible,[aria-current])::after { transform: scaleX(1); }
.primary-nav .nav-resume { text-decoration: none; margin-left: 0; }
.identity { gap: 10px; }
.identity .monogram { display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--accent); }
.identity .monogram svg { display: block; width: 32px; height: 32px; }
.identity:hover .monogram { color: var(--accent-hover); }
.identity .identity-name { font-size: 14px; font-weight: 550; letter-spacing: -.03em; }
.identity-name strong { font-weight: 750; }
.hero h1.personal-name { font-size: clamp(64px,5.3vw,76px); line-height: 1.07; letter-spacing: -.045em; text-wrap: balance; }
.name-first { font-weight: 650; white-space: nowrap; }
.name-last { display: inline-block; color: var(--accent); font-weight: 750; white-space: nowrap; }
.name-dot { font-size: .75em; }
.site-header { view-transition-name: site-header; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 140ms; animation-timing-function: ease-out; }
::view-transition-group(site-header), ::view-transition-old(site-header), ::view-transition-new(site-header) { animation-duration: 0s; }
@keyframes nav-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:1100px) { .hero h1.personal-name { font-size: 66px; } }
@media(max-width:900px) { .primary-nav.is-open { animation: nav-reveal 160ms ease-out both; } .primary-nav>a { padding: 12px 14px; } }
@media(max-width:700px) { .hero h1.personal-name { font-size: clamp(40px,10vw,64px); } }
@media(max-width:480px) { .hero h1.personal-name { font-size: clamp(38px,10.5vw,46px); } .identity .identity-name { font-size: 13px; } }
@media(prefers-reduced-motion:reduce) {
 @view-transition { navigation: none; }
 .primary-nav.is-open { animation: none; }
 ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
}

/* Make the diagram and the case-study reading path useful navigation. */
.hero-case-link { display: block; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--accent-soft); transition: border-color 160ms ease; }
.hero-case-link img { border: 0; border-radius: 0; }
.hero-case-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; color: var(--accent); font-size: 13px; font-weight: 650; border-top: 1px solid var(--border); }
.hero-case-link:is(:hover,:focus-visible) { border-color: var(--accent); }
.project-path { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 24px; }
.project-path a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; min-height: 48px; border: 1px solid var(--border); border-radius: 8px; color: var(--ink); background: #fff; font-size: 14px; font-weight: 650; transition: background-color 160ms ease, border-color 160ms ease; }
.project-path a>span { color: var(--accent); font: 11px var(--mono); }
.project-path a:not(:last-child)::after { content: '→'; color: var(--muted); margin-left: auto; }
.project-path a:is(:hover,:focus-visible) { background: var(--accent-soft); border-color: var(--accent); }
.case-index { margin-top: 12px; font-size: 13px; color: var(--muted); }
.case-index a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
@media(max-width:700px) { .project-path { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; } .project-path a { font-size: 13px; padding: 12px; gap: 8px; } .project-path a::after { display: none; } }
@media(prefers-reduced-motion:reduce) { .hero-case-link:is(:hover,:focus-visible) { transform: none; } }

/* Homepage refinements retain the existing type, palette and document-first identity. */
.home>section { margin-top: var(--space-24); }
.home .headline { font-size: 26px; line-height: 1.45; }
.home .hero-description { font-size: 18px; line-height: 1.7; margin-top: var(--space-6); }
.home .hero-actions { gap: var(--space-6); margin-top: var(--space-8); }
.home .hero-actions .button { min-height: 52px; }
.home .hero-aside figcaption { max-width: none; }
.home .featured-project { gap: var(--space-12); padding-bottom: var(--space-12); }
.home .featured-project h3 { font-size: 44px; font-weight: 700; margin-block: var(--space-4); }
.home .evidence-chips { margin-block: var(--space-6) var(--space-3); }
.home .evidence-chips li { display: inline-flex; align-items: center; min-height: 36px; padding: 7px 12px; font-size: 12px; line-height: 1.5; }
.home .featured-project .project-action { margin-top: var(--space-4); }
.home .compact-projects { gap: var(--space-8); margin-top: var(--space-8); align-items: stretch; }
.home .compact-projects .project-card { display: grid; grid-template-rows: auto 1fr; }
.home .compact-projects .project-preview { background: #fff; transition: border-color 160ms ease; }
.home .compact-projects .project-preview img { aspect-ratio: 12 / 7; }
.home .compact-projects .project-card-copy { display: grid; grid-template-rows: 20px 34px minmax(54px,1fr) 24px 52px; gap: var(--space-3); padding-top: var(--space-6); }
.home .compact-projects .project-card-copy>:is(h3,.tags,.project-action) { margin: 0; }
.home .compact-projects .project-card-copy>.project-action { align-self: end; }
.home>#background { max-width: 760px; margin-top: 80px; }
.home-background>p { font-size: 19px; }
.home>.contact-strip { margin-top: var(--space-16); margin-bottom: 56px; padding-top: var(--space-8); }
.home .contact-strip h2 { max-width: 780px; margin-block: var(--space-4); font-size: 32px; }
.home .contact-description { max-width: 760px; font-size: 17px; }
.home .contact-strip>.text-link { margin-top: var(--space-4); text-decoration-color: var(--accent); text-decoration-thickness: 1px; }
.home .contact-strip>.text-link:is(:hover,:focus-visible) { text-decoration-thickness: 2px; color: var(--accent-hover); }
.research-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 32px; margin-block: 24px 16px; }
.research-facts .metric-primary { grid-column: 1/-1; display: flex; flex-direction: column; gap: 4px; }
.research-facts .metric-primary dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; order: -1; margin: 0; color: #05245e; }
.research-facts .metric-primary strong { font-size: clamp(30px,4vw,48px); font-weight: 750; letter-spacing: -.045em; line-height: 1.15; white-space: nowrap; }
.research-facts .metric-primary dd>span { font-size: 14px; font-weight: 650; }
.research-facts dd { font-size: 17px; font-weight: 650; }
.research-feature .research-watermark { opacity: .18; }
@media(max-width:1100px) { .home .headline { font-size: 25px; } .home .hero-grid { gap: var(--space-16); } .home .featured-project h3 { font-size: 40px; } }
@media(min-width:701px) and (max-width:900px) {
 .home .hero-grid { grid-template-columns: 1fr; gap: var(--space-8); }
 .home .hero-aside { display: grid; grid-template-columns: minmax(0,.55fr) minmax(0,1fr); gap: var(--space-8); }
 .home .hero-aside figure { border-top: 0; padding-top: 0; }
 .home .hero-aside img { width: 100%; }
 .home .hero h1.personal-name { font-size: 66px; }
}
@media(max-width:700px) {
 .home>section { margin-top: var(--space-16); }
 .home .hero-grid { padding-top: 40px; gap: var(--space-8); margin-bottom: var(--space-12); }
 .home .hero-aside { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
 .home .hero-aside figure { max-width: 460px; }
 .home .headline { font-size: 22px; }
 .home .hero-description { font-size: 17px; }
 .home .featured-project { gap: var(--space-6); }
 .home .featured-project h3 { font-size: 36px; }
 .home .compact-projects { grid-template-columns: 1fr; }
 .home .compact-projects .project-card-copy { grid-template-rows: auto; gap: var(--space-3); }
 .home .compact-projects .project-card-copy>.project-action { margin-top: var(--space-2); }
 .home>#background { margin-top: var(--space-16); }
 .home-background>p { font-size: 18px; }
 .home>.contact-strip { margin-top: var(--space-12); margin-bottom: var(--space-12); }
 .home .contact-strip h2 { font-size: 28px; }
 .research-facts { gap: 16px; }
 .research-facts>div:last-child { grid-column: auto; }
 .research-feature .research-watermark { opacity: .075; }
}
@media(max-width:480px) { .home .headline { font-size: 21px; } .home .contact-strip h2 { font-size: 26px; } .research-facts dd { font-size: 15px; } }

@media(max-width:700px) { .project-index .project-preview picture img { aspect-ratio: auto; } }

/* Editorial system: restrained color, two type families, and consistent rules. */
:root{--ink:#171b22;--muted:#566273;--accent:#24528b;--accent-hover:#193d6b;--accent-soft:#edf3fa;--secondary:#f0f5fb;--border:#d9e4ef;--warm:#f2f6fa;--serif:Georgia,'Times New Roman',serif;--mono:var(--sans)}
body,.site-header{background:#fff}
.eyebrow,.timeline-date,.workflow-number{font-weight:650;letter-spacing:.1em}
.hero h1.personal-name,.page-intro h1,.case-hero h1{font-family:var(--serif);font-weight:400;letter-spacing:-.045em}
.hero h1.personal-name{font-size:clamp(58px,5.6vw,78px);line-height:1.03}
.name-first,.name-last{font-weight:400;color:var(--ink)}
.name-dot{color:var(--accent)}
.page-intro h1{font-size:clamp(44px,5vw,68px);line-height:1.05}
.section-heading{border-top:1px solid var(--ink);padding-top:18px}
.section-heading h2{border:0;padding:0;font-size:clamp(26px,2.5vw,32px);letter-spacing:-.04em}
.button,.research-actions .button,.project-button{background:var(--accent);border-color:var(--accent);border-radius:3px}
.button:hover,.research-actions .button:hover,.project-button:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.project-preview,.featured-project figure img,.hero-case-link,.hero-aside img,.project-detail-visual img,.resume-paper{border-radius:3px}
.text-link,.small-link,.project-action,.inline-links>a{min-height:44px;text-decoration-color:#9aa6b8}
.project-preview{background:#f3f4f4;transition:border-color 180ms ease,transform 180ms ease}
.project-preview:hover{transform:translateY(-3px)}
.featured-project{align-items:start}
.featured-project-copy{padding-top:12px}
.featured-project h3,.home .featured-project h3{font-family:var(--serif);font-weight:400;font-size:clamp(38px,4vw,52px);letter-spacing:-.035em}
.evidence-chips li{border-radius:2px;background:transparent}
.research-feature{background:#f1f2ef;border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:3px}
.research-feature :is(h2,h3),.research-facts .metric-primary dd{color:var(--ink)}
.research-feature .research-watermark{opacity:.12}
.research-feature .research-actions{gap:8px 22px}
.experience-rows{border-top:1px solid var(--border)}
.experience-rows article{display:grid;grid-template-columns:190px minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;padding:22px 0;border-bottom:1px solid var(--border)}
.experience-rows h3{font-size:18px;letter-spacing:-.02em}
.experience-rows p,.experience-rows span{font-size:14px;color:var(--muted)}
.experience-rows .experience-period{font-size:12px;letter-spacing:.04em}
.experience-rows span{text-align:right}
.timeline article>div:last-child{border-color:var(--accent)}
.project-index .project-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px;align-items:center;border-bottom:1px solid var(--border);padding-bottom:48px}
.project-index .project-card:first-child .project-card-copy{grid-column:1;grid-row:1;padding:0}
.project-index .project-card:first-child .project-preview{grid-column:2;grid-row:1}
.project-index .project-card:first-child h2{font:400 clamp(38px,4vw,52px)/1.1 var(--serif);letter-spacing:-.035em}
.contact-strip h2{font-family:var(--serif);font-weight:400;line-height:1.2}
.footer-links{flex-wrap:wrap}
@media(max-width:900px){.primary-nav{background:#fff}.home .hero h1.personal-name{font-size:clamp(48px,8vw,72px)}}
@media(max-width:700px){
 .project-index .project-card:first-child{grid-column:auto;grid-template-columns:1fr;gap:24px;padding-bottom:32px}
 .project-index .project-card:first-child .project-card-copy,.project-index .project-card:first-child .project-preview{grid-column:auto;grid-row:auto}
 .project-index .project-card:first-child .project-preview{grid-row:1}
 .experience-rows article{grid-template-columns:1fr 1.4fr;gap:8px 16px}
 .experience-rows article>span{grid-column:2;text-align:left}
 .home .hero h1.personal-name{font-size:clamp(43px,10vw,66px)}
}
@media(max-width:480px){
 .home .hero h1.personal-name{font-size:clamp(39px,10.2vw,50px)}
 .research-feature{padding:24px 20px}
 .research-feature .research-watermark{opacity:.045}
 .experience-rows article{grid-template-columns:1fr;gap:5px}
 .experience-rows article>span{grid-column:auto}
 .small-link{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.project-preview:hover{transform:none}}
.case-pagination{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px solid var(--ink);margin-top:64px;padding-top:16px}
.case-pagination a{display:grid;gap:6px;align-content:start;min-height:60px;padding:8px 0}
.case-pagination a:last-child{text-align:right}
.case-pagination span{font-size:12px;color:var(--muted)}
.case-pagination strong{font-size:16px;line-height:1.4}
@media(max-width:480px){.case-pagination{gap:16px;margin-top:48px}.case-pagination strong{font-size:14px}}
.case-pagination a{min-width:0;overflow-wrap:anywhere}
@media(max-width:480px){.nav-container{gap:8px}}

/* Selected work: editorial project surfaces and restrained motion. */
.home .featured-project{grid-template-columns:minmax(0,.82fr) minmax(0,1fr);align-items:center;gap:clamp(32px,4vw,60px);padding:8px 0 48px}
.home .featured-project-copy{padding:0}
.home .featured-project h3{font-size:clamp(46px,5vw,66px);line-height:1.05;margin:18px 0}
.home .featured-project-copy>p:not(.eyebrow):not(.caption){max-width:440px;font-size:18px;line-height:1.65}
.home .featured-project .tags{margin-top:22px}
.home .evidence-chips{gap:6px;margin:24px 0 10px}
.home .evidence-chips li{min-height:0;padding:5px 8px;font-size:11px;color:var(--accent);border-color:#d5dce1}
.home .featured-project .caption{max-width:390px}
.project-feature-action{margin-top:24px}
.featured-visual{display:block;overflow:hidden;background:#e9edf0}
.home .featured-project figure img{display:block;width:100%;border:0;border-radius:0}
.home .featured-project figcaption{margin-top:10px}
.home .compact-projects{gap:40px;margin-top:44px}
.home .compact-projects .project-preview,.project-index .project-preview{border:0;background:#edf0ed;overflow:hidden}
.home .compact-projects .project-preview img,.project-index .project-card:not(:first-child) .project-preview>picture img{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:cover}
.home .compact-projects .project-card-copy{display:flex;flex-direction:column;gap:0;padding-top:24px}
.home .compact-projects .project-card-copy h3{font:400 clamp(28px,2.6vw,36px)/1.14 var(--serif);letter-spacing:-.035em;margin:12px 0}
.home .compact-projects .project-card-copy>p:not(.eyebrow){max-width:480px;min-height:3.3em}
.home .compact-projects .project-card-copy .tags{margin-top:16px}
.home .compact-projects .project-card-copy .project-action{align-self:flex-start;margin-top:16px}
.featured-visual img,.project-preview img{transition:transform 240ms ease}
.featured-visual:hover img,.project-preview:hover img{transform:scale(1.02)}
.project-preview:hover{transform:none}
#selected-projects .project-action{text-decoration-color:transparent;transition:text-decoration-color 180ms ease,color 180ms ease}
#selected-projects .project-action:is(:hover,:focus-visible){text-decoration-color:currentColor}
@media(max-width:1100px){.home .compact-projects .project-preview img,.project-index .project-card:not(:first-child) .project-preview>picture img{aspect-ratio:6/5}}
@media(max-width:900px){.home .compact-projects{grid-template-columns:1fr;gap:40px}.home .compact-projects .project-card-copy>p:not(.eyebrow){min-height:0}}
@media(max-width:700px){.home .featured-project{grid-template-columns:1fr;gap:28px;padding-bottom:36px}.home .featured-project figure{grid-row:auto}.home .featured-project h3{font-size:46px}.home .compact-projects{margin-top:36px}.home .compact-projects .project-card-copy h3{font-size:30px}}
@media(prefers-reduced-motion:reduce){.featured-visual img,.project-preview img,#selected-projects .project-action{transition:none}.featured-visual:hover img,.project-preview:hover img{transform:none}}

/* SamLingo research: an open editorial layout with source-backed evidence. */
.research-showcase{display:block;overflow:visible;padding:0;background:transparent;border:0;border-radius:0}
.research-showcase>div{position:static;max-width:none}
.research-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:4px 0 32px;border-bottom:1px solid var(--border)}
.research-showcase .research-intro :is(h2,h3){font:400 clamp(46px,5vw,66px)/1.05 var(--serif);letter-spacing:-.045em;margin:16px 0 8px;color:var(--ink)}
.research-showcase .research-subtitle{font-size:17px;line-height:1.5;color:var(--ink)}
.research-brand{flex:0 0 74px;width:74px}
.research-brand img{border:0;border-radius:0}
.research-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1fr);gap:clamp(40px,6vw,88px);padding:36px 0 40px}
.research-context>p{max-width:410px;font-size:17px;line-height:1.7}
.research-stats{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:36px 0 32px}
.research-stats>div{border-top:1px solid var(--border);padding-top:14px}
.research-stats dt{font-size:12px;color:var(--muted);line-height:1.4}
.research-stats dd{margin:8px 0 0;font:400 32px/1.1 var(--serif);color:var(--ink)}
.research-stats dd span{display:block;margin-top:5px;font:13px/1.4 var(--sans);color:var(--muted)}
.research-primary{min-height:48px}
.research-evidence{min-width:0}
.research-showcase .research-chart{margin:0;padding:26px 28px;background:#f0f3f3;border:0}
.research-chart figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 14px;padding:0}
.research-chart figcaption .eyebrow{width:100%;margin-bottom:8px}
.research-chart figcaption strong{font:400 29px/1.2 var(--serif);color:var(--ink)}
.research-chart figcaption>span:last-child{font-size:12px;color:var(--muted)}
.benchmark-plot{margin-top:26px}
.benchmark-row{display:grid;grid-template-columns:30px minmax(0,1fr) 54px;gap:10px;align-items:center;margin-bottom:14px;font-size:13px;color:var(--ink)}
.benchmark-row strong{font-size:15px;text-align:right;font-weight:650;font-variant-numeric:tabular-nums}
.benchmark-track{height:25px;background:repeating-linear-gradient(to right,transparent 0,transparent calc(25% - 1px),#cbd6d9 calc(25% - 1px),#cbd6d9 25%);border-left:1px solid #b7c5ca}
.benchmark-bar{display:block;height:100%}.benchmark-bar.baseline{background:#a5b1b6}.benchmark-bar.current{background:#253c66}
.benchmark-axis{display:flex;justify-content:space-between;margin:3px 64px 0 40px;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.research-chart .caption{margin-top:18px;max-width:470px}
.language-path{padding:24px 0 0}
.language-pair{display:flex;align-items:center;gap:24px;margin:17px 0 12px}
.language-pair>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.language-pair>div>span{font-size:12px;color:var(--muted)}
.language-pair strong{font:400 23px/1.2 var(--serif);color:var(--ink)}
.language-pair code,.language-pair small{font-size:12px;color:var(--muted)}
.language-arrow{color:var(--accent);font-size:20px}
.language-path>p:last-child{font-size:13px;line-height:1.55;color:var(--muted);max-width:480px}
.research-resources{display:flex;align-items:baseline;gap:36px;padding:22px 0 0;border-top:1px solid var(--border)}
.research-resources>span{flex:none}
.research-resources>div{display:flex;flex-wrap:wrap;gap:4px 24px}
.research-resources a{display:inline-flex;align-items:center;gap:7px;min-height:44px;color:var(--accent);font-size:13px;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:5px;transition:text-decoration-color 180ms ease,color 180ms ease}
.research-resources a:is(:hover,:focus-visible){color:var(--accent-hover);text-decoration-color:currentColor}
@media(max-width:700px){.research-showcase{padding:0}.research-showcase .research-intro :is(h2,h3){font-size:46px}.research-intro{padding-bottom:24px}.research-brand{flex-basis:56px;width:56px}.research-layout{grid-template-columns:1fr;gap:32px;padding:28px 0 32px}.research-stats{margin:26px 0}.research-showcase .research-chart{margin:0;padding:22px 20px}.research-resources{display:block}.research-resources>div{margin-top:8px;gap:0 20px}}
@media(max-width:380px){.research-intro{gap:12px}.research-showcase .research-subtitle{font-size:16px}.research-stats dd{font-size:28px}.language-pair{gap:16px}.language-pair strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){.research-resources a{transition:none}}

/* Full, uncropped sample workspace in the flagship feature. */
.home .featured-project{grid-template-columns:minmax(0,43fr) minmax(0,57fr)}
.home .featured-visual{background:transparent;border:1px solid var(--border)}
.home .featured-project figure img{height:auto;object-fit:contain}
.home .featured-visual:hover img{transform:none}
@media(max-width:900px){.home .featured-project{grid-template-columns:1fr}.home .featured-project figure{grid-row:auto}}

/* Homepage introduction, experience, and skills. */
.home .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,5vw,72px);align-items:start;padding-top:64px}
.home .hero h1.personal-name{font-size:clamp(54px,5vw,72px);line-height:1.04}
.home .hero .name-first,.home .hero .name-last{display:block}
.hero-profile{min-width:0;padding-top:5px}
.hero-profile-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hero-profile-heading h2{font:650 12px/1.5 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--ink)}
.hero-profile-heading h2 span{color:var(--muted)}
.hero-profile-heading a{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--accent);font-size:12px;white-space:nowrap;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px}
.hero-profile-heading a:is(:hover,:focus-visible){text-decoration-color:currentColor}
.hero-timeline{position:relative;list-style:none;padding:0;margin:10px 0 0}
.hero-timeline::before{content:'';position:absolute;left:4px;top:12px;bottom:30px;border-left:1px dashed #c2c9ce}
.hero-timeline li{position:relative;display:grid;grid-template-columns:10px minmax(83px,auto) minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px 0 12px}
.hero-timeline-marker{position:relative;width:9px;height:9px;margin-top:7px;border-radius:50%;background:#b7c1c7;border:2px solid #fafaf8;box-shadow:0 0 0 1px #b7c1c7}
.hero-timeline li:first-child .hero-timeline-marker{background:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.hero-timeline-date{font-size:11px;line-height:1.55;color:var(--muted);padding-top:3px;white-space:nowrap}
.hero-timeline-role{min-width:0;display:grid;gap:2px;font-size:13px;line-height:1.45}
.hero-timeline-role strong{color:var(--ink);font-weight:700}
.hero-timeline-role>span{color:var(--muted)}
.hero-specialty{display:inline-block;max-width:145px;padding:5px 8px;border-radius:3px;font-size:10px;line-height:1.35;color:#4f5b64;background:#eff1f1}
.hero-specialty.tone-blue{color:#28466d;background:#eaf0f6}.hero-specialty.tone-purple{color:#62546e;background:#f2eff4}.hero-specialty.tone-green{color:#49665b;background:#edf3ef}
.hero-skills{border-top:1px solid var(--border);padding-top:20px;margin-top:16px}
.hero-skill-grid{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 0;padding:0}
.hero-skill{display:flex;align-items:center;gap:9px;min-width:0;min-height:58px;padding:10px;border:1px solid #e1e5e5;border-radius:4px;background:#f8f9f8;font-size:12px;font-weight:600;line-height:1.4;color:var(--ink)}
.hero-skill svg{width:19px;height:19px;flex:none;color:#526d8a}.hero-skill.tone-purple svg{color:#74627d}.hero-skill.tone-amber svg{color:#96794b}.hero-skill.tone-teal svg{color:#537e7b}.hero-skill.tone-rose svg{color:#8d6c70}
.hero-skill-summary{font-size:12px;letter-spacing:.02em;margin-top:16px;color:var(--muted)}
@media(max-width:1279px) and (min-width:1024px){.home .hero-grid{gap:36px}.home .hero h1.personal-name{font-size:clamp(50px,5vw,62px)}.hero-timeline li{grid-template-columns:10px minmax(75px,auto) minmax(0,1fr) auto;gap:7px}.hero-specialty{max-width:115px}.hero-skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1023px){.home .hero-grid{grid-template-columns:1fr;gap:40px}.hero-profile{padding-top:0}.hero-timeline li{grid-template-columns:10px 118px minmax(0,1fr) auto;gap:14px}.hero-specialty{max-width:none}.hero-skill-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.home .hero-grid{gap:36px;padding-top:40px}.home .hero h1.personal-name{font-size:clamp(43px,10vw,66px)}.hero-timeline li{grid-template-columns:10px 95px minmax(0,1fr);gap:10px}.hero-specialty{grid-column:3;justify-self:start;margin-top:1px}.hero-skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.home .hero h1.personal-name{font-size:clamp(39px,10.2vw,50px)}.hero-timeline li{grid-template-columns:10px minmax(0,1fr);gap:4px 10px;padding:10px 0 16px}.hero-timeline-date,.hero-timeline-role,.hero-specialty{grid-column:2}.hero-timeline-marker{grid-row:1 / span 3}.hero-skill{padding:9px;gap:7px;font-size:11px}}

.social-links svg{width:17px;height:17px;flex:none}
@media(max-width:480px){.social-links{gap:16px}}

/* Enhanced home project artwork keeps its complete composition. */
.home .compact-projects .project-preview{display:flex;align-items:center;justify-content:center;aspect-ratio:896/485;background:#f1f3f2}
.home .compact-projects .project-preview img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;transition:transform 200ms ease}
.home .compact-projects .project-preview:hover img{transform:scale(1.015)}
.home .compact-projects .project-card-copy>.visual-note{min-height:0;max-width:none;margin:0 0 18px;font-size:12px;line-height:1.5;color:var(--muted)}
.home .compact-projects .project-card-copy .project-action{margin-top:auto;padding-top:16px}
@media(max-width:900px){.home .compact-projects .project-card-copy .project-action{margin-top:16px;padding-top:0}}
@media(prefers-reduced-motion:reduce){.home .compact-projects .project-preview img{transition:none}.home .compact-projects .project-preview:hover img{transform:none}}

.home .compact-projects .visual-full-size{display:inline-flex;align-items:center;gap:5px;min-height:44px;color:var(--accent);text-decoration:underline;text-underline-offset:4px;text-decoration-color:#aab5c4}
.home .compact-projects .visual-full-size:hover{color:var(--accent-hover);text-decoration-color:currentColor}

/* SamLingo: two-column research identity and benchmark presentation. */
#selected-research>.section-heading h2{padding-left:16px;border-left:3px solid #2456d3}
.research-showcase .research-layout{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:clamp(36px,5vw,68px);padding:12px 0 40px}
.research-showcase .research-context{min-width:0}
.research-showcase .research-intro{display:flex;align-items:center;gap:16px;padding:0;border:0}
.research-showcase .research-intro>div{min-width:0}
.research-showcase .research-intro :is(h2,h3){font-size:clamp(52px,5vw,70px);margin:16px 0 12px}
.research-showcase .research-subtitle{font-size:16px;line-height:1.5}
.research-showcase .research-brand{position:static;width:90px;height:auto;flex:0 0 90px;max-width:90px;object-fit:contain;border:0}
.research-showcase .research-description{margin-top:24px;font-size:16px;line-height:1.7}
.research-showcase .research-stats{gap:0;margin:28px 0 30px;padding-top:24px;border-top:1px solid var(--border)}
.research-showcase .research-stats>div{display:flex;align-items:start;gap:14px;min-width:0;padding:0 14px 0 0;border:0}
.research-showcase .research-stats>div+div{padding:0 0 0 18px;border-left:1px solid #cdd6df}
.research-stats svg{flex:none;width:42px;height:42px;padding:10px;color:#244777;background:#eef2f5;border:1px solid #e2e8ed;border-radius:5px}
.research-showcase .research-stats dt{font-size:12px}
.research-showcase .research-stats dd{font-size:32px}
.research-showcase .research-evidence{display:grid;gap:12px}
.research-showcase .research-chart,.research-showcase .language-path{position:relative;overflow:hidden;background:#f2f5f7;border:1px solid #e0e7ec;border-radius:7px;padding:26px 28px}
.research-showcase .research-chart::before,.research-showcase .language-path::before{content:'';position:absolute;top:0;right:0;width:185px;height:24px;background:url('/assets/sambalpuri-geometry.svg') repeat-x right top / 72px 18px;opacity:.12;pointer-events:none}
.research-chart figcaption strong{font-size:32px}
.benchmark-track{background:repeating-linear-gradient(to right,transparent 0,transparent calc(25% - 1px),#d2dce3 calc(25% - 1px),#d2dce3 25%)}
.research-showcase .language-path-content{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;align-items:center;margin-top:18px}
.research-showcase .language-pair{margin:0;gap:18px}
.research-showcase .language-pair code,.research-showcase .language-pair small{display:inline-block;width:fit-content;margin-top:4px;padding:2px 8px;border:1px solid #dfe7ec;border-radius:20px;background:#f4f7f9;white-space:nowrap}
.research-showcase .language-pair small code{display:inline;margin:0;padding:0;border:0;background:none}
.research-showcase .language-path-content>p{padding-left:24px;border-left:1px solid #d4dee5;font-size:13px;line-height:1.55;color:var(--muted)}
@media(max-width:1023px){.research-showcase .research-layout{grid-template-columns:1fr;gap:32px}.research-showcase .research-context{max-width:720px}.research-showcase .research-intro{justify-content:space-between}}
@media(max-width:700px){.research-showcase .research-layout{padding:4px 0 32px}.research-showcase .research-intro :is(h2,h3){font-size:46px}.research-showcase .research-brand{width:70px;max-width:70px;flex-basis:70px}.research-showcase .research-chart,.research-showcase .language-path{padding:22px 20px}.research-showcase .language-path-content{grid-template-columns:1fr;gap:16px}.research-showcase .language-path-content>p{padding:0;border:0}.research-showcase .research-stats>div{gap:8px}.research-stats svg{width:36px;height:36px;padding:8px}.research-showcase .research-stats>div+div{padding-left:12px}}
@media(max-width:380px){.research-showcase .research-brand{width:58px;max-width:58px;flex-basis:58px}.research-showcase .research-subtitle{font-size:15px}.research-showcase .research-stats dd{font-size:27px}.research-showcase .language-pair{gap:12px}.research-showcase .language-pair strong{font-size:21px}}

/* Subtle blue accents across the existing editorial theme. */
.hero-skill{background:#f3f7fc;border-color:#dce7f2}
.home .evidence-chips li{background:#f1f6fc;border-color:#d4e3f3}
.research-showcase .research-chart,.research-showcase .language-path{background:#eff5fb;border-color:#d9e6f2}
.research-stats svg{background:#eaf2fb;border-color:#d9e6f2;color:var(--accent)}
.benchmark-bar.current{background:var(--accent)}
.section-heading{border-top-color:#aebfd2}
.hero-timeline-marker{border-color:#fff}


/* Research overview */
.research-page-subtitle{margin-top:-28px;color:var(--muted);line-height:1.6}
.research-page-nav{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:28px;padding-bottom:20px;border-bottom:1px solid var(--border);font-size:14px}
.research-page-nav a,.research-collaboration a{color:var(--accent)}
.research-interest-grid,.research-investigations,.research-report-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.research-interest-grid article,.research-investigations article,.research-report-list article{border:1px solid var(--border);padding:24px;min-width:0}
.research-interest-grid h3,.research-investigations h3,.research-report-list h3{font:400 24px/1.2 var(--serif);margin:0 0 12px}
.research-interest-grid p,.research-investigations p,.research-report-list p,.research-section-intro,.research-collaboration p,#academic>p{line-height:1.7;color:var(--muted)}
.research-investigations p+p{margin-top:12px}.research-investigations a,.research-report-list a{margin-top:16px}
.research-report-list .eyebrow{margin-bottom:10px}.research-detail{max-width:900px}.research-collaboration{padding-bottom:20px}
@media(max-width:700px){.research-interest-grid,.research-investigations,.research-report-list{grid-template-columns:1fr}.research-page-subtitle{margin-top:-16px}}

/* Stories */
.blog-index{max-width:800px}.blog-index article{border-top:1px solid var(--border);padding:28px 0}.blog-index h2{font:400 clamp(30px,4vw,44px)/1.15 var(--serif);margin:14px 0}.blog-index p:not(.eyebrow){max-width:650px;line-height:1.7;color:var(--muted)}.blog-index .text-link{margin-top:20px}
.blog-article{max-width:900px;margin:0 auto}.blog-hero{max-width:850px;padding:12px 0 48px;border-bottom:1px solid var(--border)}.blog-hero h1{font:400 clamp(40px,5.5vw,68px)/1.08 var(--serif);letter-spacing:-.035em;margin:20px 0}.blog-deck{font-size:clamp(18px,2vw,22px);line-height:1.55;color:var(--muted);max-width:720px}.blog-byline{margin-top:24px;font-size:14px;color:var(--muted)}.blog-byline a,.blog-body a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.blog-body{max-width:720px;margin:0 auto;padding-top:36px}.blog-body>p{font-size:18px;line-height:1.85;margin:0 0 22px}.blog-body .blog-lead{font-size:21px;line-height:1.7}.blog-body h2{font:400 clamp(29px,3vw,36px)/1.2 var(--serif);letter-spacing:-.02em;margin:56px 0 18px}.blog-data{margin:36px 0;padding:26px;background:#f4f7fa;border:1px solid var(--border)}.blog-data figcaption{display:grid;gap:5px;margin-bottom:22px}.blog-data figcaption strong{font-size:17px}.blog-data figcaption span{font-size:13px;color:var(--muted)}.blog-composition{display:flex;height:20px}.blog-composition span:nth-child(1){background:#284a7f}.blog-composition span:nth-child(2){background:#7092bb}.blog-composition span:nth-child(3){background:#bbcde0}.blog-data ul{display:flex;flex-wrap:wrap;gap:8px 22px;list-style:none;padding:0;margin:16px 0 0;font-size:13px}.blog-bars>div{display:grid;grid-template-columns:30px 1fr 48px;gap:12px;align-items:center;margin:12px 0;font-size:14px}.blog-bars i{height:15px;background:#e0e7ef}.blog-bars i b{display:block;height:100%;background:#345c98}.blog-bars>div:first-child i b{background:#9ba9b8}.blog-data .caption{margin-top:18px}.blog-endnote{border-top:1px solid var(--border);padding:28px 0;margin:56px 0}.blog-endnote p{line-height:1.7}.blog-endnote .text-link{margin-top:16px}@media(max-width:700px){.blog-hero{padding-bottom:32px}.blog-body>p{font-size:17px}.blog-body .blog-lead{font-size:19px}.blog-data{padding:20px}.blog-body h2{margin-top:44px}}

.private-shell{max-width:760px;margin:0 auto}.private-header{padding:20px 0 32px;border-bottom:1px solid var(--border)}.private-header h1{font:400 clamp(40px,5vw,60px)/1.1 var(--serif);margin:18px 0}.private-header>p:last-child{color:var(--muted);line-height:1.7}.private-unlock{padding:32px 0}.private-unlock label{display:block;font-weight:600;margin-bottom:12px}.private-unlock>div{display:flex;gap:12px;flex-wrap:wrap}.private-unlock input{border:1px solid var(--border);padding:12px;font:inherit;min-width:0}.private-unlock #access-message{color:#9c3030;margin-top:12px}.private-reminder{padding:18px;background:#f4f7fa;border-left:3px solid var(--accent);line-height:1.6}.private-notes section{margin:48px 0}.private-notes h2{font:400 30px/1.2 var(--serif);margin-bottom:16px}.private-notes section p{font-size:17px;line-height:1.8;margin:0 0 18px}.private-notes a{color:var(--accent);text-decoration:underline}.private-notes[hidden],.private-unlock[hidden]{display:none}

/* Accessible editorial diagrams for the SamLingo story. */
.story-visual{margin:36px 0;padding:26px;border:1px solid var(--border);background:#f7f9fb}.story-visual figcaption{display:grid;gap:6px;margin-bottom:24px}.story-visual figcaption>strong{font:400 25px/1.2 var(--serif)}.story-visual figcaption>span:last-child{font-size:13px;color:var(--muted)}.story-timeline,.story-flow{list-style:none;padding:0;margin:0}.story-timeline{border-left:1px solid #a9bbd0;margin-left:7px}.story-timeline li{position:relative;display:grid;grid-template-columns:80px 1fr;gap:16px;padding:0 0 22px 22px;font-size:14px;line-height:1.55}.story-timeline li:last-child{padding-bottom:0}.story-timeline li:before{content:'';position:absolute;left:-5px;top:6px;width:9px;height:9px;border-radius:50%;background:#345c98}.story-timeline li>b{color:var(--accent)}.story-timeline li span{color:var(--muted)}.story-timeline li strong,.story-flow strong{display:block;color:var(--ink);margin-bottom:3px}.story-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.story-flow li{padding:15px 12px;border:1px solid #d8e1eb;background:#fff;font-size:13px;line-height:1.5;min-width:0}.story-flow li>b{display:block;font:12px var(--mono);color:var(--accent);margin-bottom:12px}.story-flow li span{color:var(--muted)}.story-visual .caption{margin-top:18px}.private-opening{font-size:19px;line-height:1.7;margin-top:30px}.private-notes .blog-data{margin:36px 0}.private-notes .blog-data ul{margin-top:16px}@media(max-width:700px){.story-visual{padding:20px}.story-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.story-timeline li{grid-template-columns:72px minmax(0,1fr);gap:10px}}@media(max-width:360px){.story-flow{grid-template-columns:1fr}}
.private-notes .tutorial-section h3{font:400 23px/1.3 var(--serif);margin:32px 0 12px}.private-notes code{font:0.9em var(--mono);overflow-wrap:anywhere}.tutorial-table-wrap{overflow-x:auto;margin:24px 0;border:1px solid var(--border)}.tutorial-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;line-height:1.6}.tutorial-table th,.tutorial-table td{padding:12px 14px;border-bottom:1px solid var(--border);vertical-align:top}.tutorial-table th{background:#f4f7fa}.tutorial-table tr:last-child td{border-bottom:0}.tutorial-table td:first-child{font-weight:600}.tutorial-note{padding:22px;border-left:3px solid var(--accent);background:#f4f7fa;margin-top:32px}.private-notes .tutorial-note p{font-size:15px;margin:8px 0 0}
