/* One shared visual system across writing, projects, about and contact. */
:root{--paper:#f2f4f6;--ink:#172536;--muted:#617083;--accent:#24496c;--line:#d9e1e8;--soft:#eef3f7}body{background:var(--paper)}.site{max-width:1168px;padding:0 40px}.site-header{height:96px;border:0;gap:24px}.wordmark{font-size:25px;letter-spacing:-.7px;font-weight:600}.wordmark-dot{color:#426a8d}.site-header nav{font-size:14px;gap:30px}.site-header nav a{color:#526172;padding:9px 0}.site-header nav a[aria-current]{color:#172536;box-shadow:0 2px 0 #24496c}.site-header nav a:hover{color:#172536}.site-footer{font-size:12px;color:#657486;margin-top:56px;padding:28px 0 34px;border-color:#d5dfe7}.site-footer nav{gap:22px}.site-footer a{line-height:1.6}.eyebrow{font-size:12px;letter-spacing:.08em;font-weight:500;color:#657587}.article-layout{max-width:880px;margin:8px auto 0;padding:34px 54px 38px;background:#fff;border:1px solid #dfe6ec;border-radius:14px}.back-link{display:inline-flex;align-items:center;min-height:40px;font-size:14px;color:#47647e;margin:0 0 24px}.article-meta{font-size:13px;gap:10px;color:#69798b;margin-bottom:18px}.article-header h1{font-size:42px;line-height:1.18;letter-spacing:-1.1px;margin-bottom:23px}.article-topics{font-size:13px;gap:10px}.article-topics a{padding:6px 10px;background:#edf3f7;border-radius:5px;color:#3f607d;line-height:1.4}.article-topics a:hover{background:#e2edf4;text-decoration:none}.article-header{margin-bottom:32px;padding-bottom:28px}.contents{font-size:14px;line-height:1.6;padding-bottom:21px;margin:-10px 0 30px}.contents summary{min-height:32px;display:list-item;align-content:center;padding:5px 0}.contents ol{margin-top:13px}.contents li{margin:9px 0}.prose{color:#233244;font-size:18px;line-height:1.85}.prose h2,.prose h3,.prose h4{color:#1c334a}.prose h2{font-size:25px;line-height:1.35}.prose h3{font-size:21px;line-height:1.4}.prose pre{font-size:13px;line-height:1.75;tab-size:4;border-color:#dae4ec;background:#f0f4f7;border-radius:7px;padding:20px 22px}.prose code{background:#eef3f7}.prose a{color:#2c577b;text-decoration-color:#a8bed0}.prose table{font-family:var(--sans);font-size:14px;line-height:1.65}.prose th{background:#ecf2f6}.prose td,.prose th{padding:12px;border-color:#dbe4eb}.prose img.math-inline{display:inline-block;width:auto;height:1.1em;max-width:none;margin:0 .08em;vertical-align:-.18em;border-radius:0}.prose img.math-display{display:block;width:auto;height:auto;max-width:100%;margin:1.5rem auto}.prose .MathJax_SVG_Display{padding:12px 0}.article-end{font-size:14px;gap:30px;padding-top:26px;margin-top:45px;align-items:start}.next-post span{font-size:12px;letter-spacing:.05em;margin-bottom:7px}.standard-page,.topics-page{padding:38px 42px 45px;background:#fff;border:1px solid #dfe6ec;border-radius:14px;margin-top:8px;min-height:58vh}.page-heading{margin-bottom:32px}.page-heading h1{font-size:40px;line-height:1.2;margin-bottom:0}.page-heading .eyebrow{margin-bottom:12px}.page-columns{grid-template-columns:minmax(0,1fr) 208px;gap:52px}.about-portrait{width:208px;filter:none;border-radius:8px}.about-page .prose>hr:first-child{display:none}.about-page .prose h3{font-size:21px}.projects-page .page-columns{display:block}.projects-page .prose{font-size:16px;line-height:1.7;max-width:850px}.projects-page li{display:block;position:relative;padding:19px 0 19px 42px;min-height:60px}.projects-page li:before{position:absolute;left:0;top:20px;font-size:12px;line-height:1.9;color:#788798}.projects-page .prose p{font-size:14px;line-height:1.7}.projects-page .prose li>a{line-height:1.65}.contact-grid{gap:70px;padding-top:6px}.contact-label{font-size:12px;letter-spacing:.08em;color:#62768a}.email-link{font-size:25px}.contact-links{font-size:16px}.contact-links a{padding:16px 0}.tag-index{font-size:14px;gap:12px 14px;padding-bottom:25px;margin-bottom:36px}.tag-index>a{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;background:#eff4f8;border-radius:6px}.tag-index span{font-size:12px;margin:0;color:#6b7f92}.tag-index a:hover{background:#e2edf5}.topic-section>h2{font-size:18px;padding-bottom:14px}.topic-section .post-row{grid-template-columns:110px minmax(0,1fr) 16px;gap:20px}.topic-section .post-row>time{font-size:12px;line-height:1.6}.topic-section .post-row h3{font-size:23px}.topic-section .post-row p{font-size:15px;line-height:1.65}.topic-section .row-topic{font-size:12px}.home-design .identity-description,.home-design .card-content>p{font-size:16px}.home-design .card-content>p{line-height:1.65}.home-design .featured-card .card-content>p{font-size:16px}.home-design .card-bottom>.card-read-more{font-size:14px}.home-design .project-card p{font-size:15px}.home-design .writing-card{scroll-margin-top:24px}.home-design .search-status{min-height:24px}.home-design .writing-card:focus-within{outline:2px solid #345a7c;outline-offset:4px}.home-design .card-content h3 a:focus-visible{outline:0}.home-design .card-bottom>.card-read-more{position:static}.home-design .home-search input{min-height:40px}.home-design .featured-card[hidden]~.writing-card:first-of-type{grid-column:auto}@media(min-width:1500px){.site{max-width:1200px}}@media(max-width:900px){.site{padding:0 28px}.article-layout{padding:30px 38px 34px}.standard-page,.topics-page{padding:32px}.page-columns{grid-template-columns:minmax(0,1fr) 170px;gap:34px}.about-portrait{width:170px}.contact-grid{gap:34px}.email-link{font-size:23px}}@media(max-width:680px){.site{padding:0 20px}.site-header{height:auto;min-height:92px;gap:18px}.wordmark{font-size:23px}.site-header nav{font-size:13px;gap:18px}.article-layout{padding:25px 25px 30px}.article-header h1{font-size:35px;line-height:1.18;letter-spacing:-.7px}.prose{font-size:17px;line-height:1.8}.prose pre{font-size:12px;padding:17px;line-height:1.75}.prose h2{font-size:23px}.prose h3{font-size:20px}.standard-page,.topics-page{padding:28px}.page-heading h1{font-size:35px}.page-columns{grid-template-columns:minmax(0,1fr) 138px;gap:27px}.about-portrait{width:138px}.contact-grid{grid-template-columns:1fr;gap:34px}.contact-grid>section:last-child{max-width:none}.topic-section .post-row{grid-template-columns:89px minmax(0,1fr) 14px;gap:15px}.topic-section .post-row h3{font-size:21px}.topic-section .post-row p{font-size:14px}.site-footer{flex-wrap:wrap;gap:20px}.site-footer nav{gap:17px}.contents ol{columns:1}.home-design .card-content>p,.home-design .featured-card .card-content>p{font-size:15px}}@media(max-width:480px){.site{padding:0 16px}.site-header{display:block;padding:22px 4px 17px;min-height:0}.wordmark{display:inline-block;font-size:24px;margin-bottom:18px}.site-header nav{font-size:14px;justify-content:space-between;gap:20px}.site-header nav a{padding:5px 0 8px}.article-layout{padding:23px 20px 26px;border-radius:11px;margin-top:4px}.back-link{font-size:14px;min-height:36px;margin-bottom:18px}.article-meta{font-size:12px;gap:8px;flex-wrap:wrap;margin-bottom:15px}.article-header h1{font-size:31px;line-height:1.2;letter-spacing:-.65px;margin-bottom:20px;overflow-wrap:break-word}.article-header{padding-bottom:24px;margin-bottom:27px}.article-topics{font-size:12px;gap:8px}.article-topics a{padding:6px 9px}.prose{font-size:17px;line-height:1.8}.prose h2{font-size:23px}.prose h3{font-size:20px}.prose pre{font-size:12px;padding:15px 13px;border-radius:5px}.prose table{font-size:13px}.prose th,.prose td{padding:9px;min-width:100px}.prose img.math-inline{height:1.08em}.contents{font-size:13px;margin-top:-7px;margin-bottom:25px}.contents summary{font-size:14px;padding:6px 0}.article-end{font-size:13px;gap:23px;margin-top:36px}.next-post{max-width:64%;line-height:1.5}.next-post span{font-size:12px}.standard-page,.topics-page{padding:25px 21px 30px;border-radius:11px;margin-top:4px}.page-heading{margin-bottom:27px}.page-heading h1{font-size:33px}.eyebrow{font-size:12px;letter-spacing:.06em}.page-columns{display:flex;flex-direction:column;gap:25px}.about-portrait{width:134px;order:-1}.projects-page .prose{font-size:15px}.projects-page .prose p{font-size:14px}.projects-page .prose h2{font-size:23px}.projects-page li{padding-left:33px}.projects-page li:before{font-size:12px}.email-link{font-size:23px;line-height:1.5;overflow-wrap:anywhere}.contact-label{font-size:12px}.contact-links{font-size:16px}.tag-index{font-size:13px;gap:10px;padding-bottom:22px}.tag-index>a{padding:7px 9px}.topic-section .post-row{display:grid;grid-template-columns:minmax(0,1fr) 14px;gap:8px}.topic-section .post-row>time{font-size:12px;grid-column:1;padding:0}.topic-section .post-row>div{grid-column:1}.topic-section .row-arrow{grid-column:2;grid-row:2}.topic-section .post-row h3{font-size:22px}.topic-section .post-row p{font-size:14px}.topic-section .row-topic{font-size:12px}.site-footer{margin-top:43px;font-size:12px;padding:25px 3px 30px}.site-footer>span{flex-basis:100%}.site-footer>a{margin-left:0}.site-footer nav{flex-wrap:wrap;gap:17px}.home-design .identity-copy h1{padding-right:0;max-width:222px}.home-design .identity-portrait{top:27px}.home-design .card-meta{font-size:12px}.home-design .card-bottom>.card-read-more{font-size:13px}.home-design .project-card p{font-size:15px}}@media(max-width:360px){.article-layout{padding:21px 16px 25px}.article-header h1{font-size:29px}.standard-page,.topics-page{padding:23px 17px 28px}.home-design .identity-copy h1{max-width:192px}.email-link{font-size:21px}}@media print{.article-layout,.standard-page,.topics-page{border:0;background:white;padding:0}.site{padding:0;max-width:none}.site-header,.site-footer{display:none}body{background:white}.prose img.math-inline{display:inline-block}}

/* Curated projects and research. These styles do not alter article layouts. */
.project-content>section>h2,.publications-heading h2{font-size:25px;line-height:1.35;margin:0 0 24px;color:var(--ink)}
.portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.portfolio-card{min-width:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.project-shot{aspect-ratio:16/10;background:#edf2f5;overflow:hidden;border-bottom:1px solid var(--line)}
.project-shot img{display:block;width:100%;height:100%;object-fit:cover}
.project-shot.nepaliarchives img{object-position:center top}
.project-shot[class~="10-maara"]{background:#0c3b31}.project-shot[class~="10-maara"] img{object-fit:contain}
.portfolio-card-copy{display:flex;flex-direction:column;flex:1;padding:22px}
.project-kind{font-size:11px;line-height:1.5;letter-spacing:.07em;text-transform:uppercase;color:#617083;margin:0 0 12px}
.portfolio-card h3{font:400 27px/1.25 var(--serif);letter-spacing:-.5px;margin:0 0 12px}
.project-summary{font-size:15px;line-height:1.7;color:#526477;margin:0 0 20px}
.project-action{font-size:14px;font-weight:500;color:#24496c;line-height:1.6;margin-top:auto;padding:5px 0;align-self:flex-start}
.project-action:hover,.publication-links a:hover,.publications-heading>a:hover{text-decoration:underline;text-underline-offset:4px}
.publications-section{margin-top:56px}.publications-heading{display:flex;align-items:baseline;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line)}
.publications-heading h2{margin-bottom:18px}.publications-heading>a{font-size:13px;color:var(--accent);line-height:1.6;padding:6px 0}
.projects-page .publication-list{list-style:none;margin:0;padding:0;counter-reset:none}
.projects-page .publication-item{padding:27px 0;border-bottom:1px solid var(--line);min-height:0;display:block}
.projects-page .publication-item:before{display:none}.publication-meta{display:flex;gap:13px;font-size:12px;line-height:1.5;color:#617083;margin-bottom:10px}
.publication-item h3{font:400 24px/1.4 var(--serif);letter-spacing:-.3px;margin:0 0 10px;max-width:870px}.publication-item h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.publication-authors,.publication-venue{font-size:14px;line-height:1.7;color:#526477;margin:0 0 7px;max-width:860px}.publication-venue{font-style:italic}
.publication-links{display:flex;gap:22px;flex-wrap:wrap;margin-top:11px;font-size:13px;color:var(--accent)}.publication-links a{padding:6px 0;line-height:1.5}
@media(max-width:900px){.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-card-copy{padding:20px}}
@media(max-width:680px){.portfolio-grid{grid-template-columns:1fr;gap:22px}.project-shot{aspect-ratio:16/9}.portfolio-card-copy{padding:23px}.portfolio-card h3{font-size:27px}.project-summary{font-size:15px}.publications-section{margin-top:42px}.publication-item h3{font-size:23px}.publications-heading{flex-wrap:wrap;gap:0}.publications-heading>a{margin-bottom:17px}.publications-heading h2{margin-right:22px}.home-design .project-destination{overflow-wrap:anywhere}}
