:root{--paper:#faf6f0;--ink:#242722;--line:#e2d7cb;--green:#ffd2ae}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #a2542d;outline-offset:5px}header{height:100px;display:flex;align-items:center;justify-content:space-between;padding:0 6%;border-bottom:1px solid var(--line)}.brand{font-size:40px;font-weight:700;letter-spacing:-4px}.brand span{font-size:13px;vertical-align:top;letter-spacing:0}nav{display:flex;gap:35px;font-size:14px}.contact{font-size:14px}.contact span{padding-left:20px}.hero{padding:70px 6% 25px;position:relative}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:600}.dot{display:inline-block;width:8px;height:8px;background:#bb6534;border-radius:50%;margin-right:8px}h1,h2,h3{font-family:'Space Grotesk',sans-serif;font-weight:500;letter-spacing:-2px;margin:0}h1{font-size:clamp(62px,7.9vw,124px);line-height:1.02;margin:35px 0 45px}em{font-style:normal;color:#a65b33}.asterisk{display:inline-block;color:#d78a55;font-size:130px;position:absolute;right:9%;top:152px;transform:rotate(-10deg)}.hero-bottom{display:flex;justify-content:space-between;align-items:center}.hero-bottom p{font-size:17px;line-height:1.7;color:#66695e}.round-link{font-size:14px;display:flex;align-items:center;gap:25px}.round-link span{border:1px solid #9ca18e;border-radius:50%;padding:15px 20px;font-size:24px}.hero-foot{display:flex;justify-content:space-between;margin-top:55px;padding-top:22px;border-top:1px solid var(--line);font-size:11px;color:#717568}.hero-foot strong{color:var(--ink)}section.work,section.writing,section.about{padding:85px 6%}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:35px}.section-heading h2,.about h2{font-size:48px;line-height:1.15;margin-top:18px}.section-heading p{font-size:14px;line-height:1.7;color:#6d7064}.projects{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.project{padding:30px;display:block;border-radius:3px;transition:transform .25s}.project:hover{transform:translateY(-5px)}.featured{background:#262d27;color:#f5f6ea}.merchant{background:#f3e7da}.project-top{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1px}.project-top>span:last-child{font-size:24px}.chart{height:205px;position:relative;margin-top:28px}.chart svg{width:100%;height:135px;position:absolute;bottom:5px}.chart path{stroke:var(--green);stroke-width:2;fill:none}.chart>span{font-size:15px;color:#bcc1af;position:absolute;bottom:20px}.chart strong{position:absolute;right:0;font-family:'Space Grotesk';font-size:70px;font-weight:400;color:var(--green);letter-spacing:-4px}.chart strong span{font-size:28px}.project h3{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:20px 0 12px}.project p{font-size:14px;line-height:1.7;max-width:420px;opacity:.7}.project-link{display:block;font-size:12px;margin-top:28px}.architecture{height:233px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:10px;letter-spacing:1px}.architecture>div{border:1px solid #d6b79b;padding:12px 25px}.architecture .nodes{display:flex;border:0;gap:12px;padding:0}.nodes b{background:#edccb0;border:1px solid #d6b79b;padding:14px 18px;font-weight:400}.lab{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:25px;border:1px solid var(--line);padding:30px}.lab h3{font-size:25px;letter-spacing:-.8px;margin-top:13px}.lab p{font-size:12px;color:#73786c}.lab-control label{display:flex;justify-content:space-between;font-size:12px}.lab-control output{font-weight:700}.lab-control input{width:100%;accent-color:#bd6d3e;margin:18px 0}#cells{display:grid;grid-template-columns:repeat(50,1fr);gap:3px}#cells i{height:10px;background:#d58e58}#cells i.bad{background:#874e3f}.writing{background:#f5ece3}.text-link{font-size:13px;border-bottom:1px solid #9ba38c;padding-bottom:6px}.filters{display:flex;justify-content:space-between;gap:20px;padding:15px 0 25px;border-bottom:1px solid #cbd0c1}.filters button{background:none;border:1px solid transparent;border-radius:25px;font-size:12px;padding:9px 14px;cursor:pointer}.filters button.active{background:#563b2d;color:white}.filters input{background:transparent;border:0;border-bottom:1px solid #bac1ad;padding:8px;width:210px;border-radius:0}.post{display:grid;grid-template-columns:100px 1fr 130px 32px;align-items:center;gap:20px;padding:27px 0;border-bottom:1px solid #cbd0c1;cursor:pointer}.post:hover h3{color:#a2542d}.post .date{font-size:11px;color:#77806a}.post h3{font-size:23px;letter-spacing:-.8px;line-height:1.3}.post .topic{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#6b745d}.post button{border:0;background:transparent;cursor:pointer;font-size:23px}.about{display:grid;grid-template-columns:1.2fr 1fr;gap:12%}.about-intro>p{font-size:15px;line-height:1.8;max-width:480px;color:#68705e}.about-intro>.text-link{display:inline-block;margin-top:15px}.personal-note{font-family:monospace;font-size:12px;line-height:1.8;color:#7b836a;margin-top:35px}.journey>div{border-bottom:1px solid var(--line);padding:19px 0}.journey>div>span{font-size:10px;letter-spacing:1px;color:#7c826f}.journey h3{font-size:24px;letter-spacing:-1px;margin:7px 0}.journey p{font-size:12px;margin:0;color:#707762}.outro{background:var(--green);padding:65px 6%;position:relative}.outro h2{font-size:70px;line-height:1.05;margin:25px 0}.outro em{color:#9a4f29}.outro>a{display:inline-block;border-bottom:1px solid #b2744c;padding-bottom:8px;margin-top:15px}footer{padding:30px 6%;display:flex;justify-content:space-between;font-size:11px}footer div{display:flex;gap:25px}dialog{border:0;background:var(--paper);color:var(--ink);width:min(850px,94vw);max-height:90vh;padding:45px;box-shadow:0 20px 80px #0004}dialog::backdrop{background:#242722aa;backdrop-filter:blur(5px)}#close-reader{float:right;position:sticky;top:0;background:#563b2d;color:white;padding:9px 15px;border:0;cursor:pointer}#article{clear:both;padding-top:25px}#article h1{font-size:42px;line-height:1.15;margin:15px 0 30px}#article h2{font-size:27px;margin:30px 0 15px}#article h3{font-size:22px;margin-top:25px}#article p,#article li{font-size:16px;line-height:1.8}#article a{text-decoration:underline}#article img{max-width:100%;height:auto}#article pre{overflow:auto;background:#e0e4d5;padding:20px;font-size:13px}#article table{display:block;overflow:auto}.skip{position:absolute;top:-50px}.skip:focus{top:0;z-index:4;background:white;padding:10px}@media(max-width:750px){header{height:80px}.brand{font-size:32px}nav{gap:18px;font-size:12px}.contact{font-size:12px}.contact span{padding-left:3px}.hero{padding-top:45px}h1{font-size:60px;letter-spacing:-3px}.asterisk{font-size:60px;top:190px;right:6%}.hero-bottom{display:block}.hero-bottom p{font-size:15px}.round-link{margin-top:25px}.hero-foot{gap:20px;font-size:9px}.section-heading{display:block}.section-heading h2,.about h2{font-size:37px}.section-heading .text-link{display:inline-block;margin-top:25px}section.work,section.writing,section.about{padding:55px 6%}.projects,.lab,.about{grid-template-columns:1fr}.project{padding:25px}.lab{gap:20px;padding:24px}.filters{display:block}.filters input{margin-top:15px;width:100%}.filters button{padding:8px 10px}.post{grid-template-columns:65px 1fr 25px;gap:12px}.post h3{font-size:19px}.post .topic{display:none}.post .date{font-size:10px}.journey{margin-top:20px}.outro h2{font-size:48px}footer{flex-wrap:wrap;gap:20px}dialog{padding:25px}#article h1{font-size:32px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Article reader: controls stay outside the scrolling reading surface. */
#reader{padding:0;width:min(960px,calc(100vw - 64px));height:min(880px,calc(100dvh - 64px));max-height:none;overflow:hidden;border:1px solid #ffffff80;border-radius:18px;box-shadow:0 30px 100px #14201755;background:#f8f8f2}#reader[open]{display:flex;flex-direction:column}#reader::backdrop{background:#19221bc2;backdrop-filter:blur(8px)}.reader-bar{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:17px 25px;border-bottom:1px solid #dfe2d5;background:#f8f8f2;z-index:1}.reader-bar>span{font-size:11px;letter-spacing:1.4px;font-weight:600}.reader-divider{margin:0 15px;color:#abb399}#close-reader{float:none;position:static;display:flex;align-items:center;gap:14px;border:1px solid #d7dccb;border-radius:30px;background:#edf0e4;color:#30392a;padding:8px 15px;font-size:21px;line-height:1;transition:background .15s}#close-reader>span{font-size:12px}#close-reader:hover{background:#dce6c2}.reader-scroll{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bec8a8 transparent;flex:1;min-height:0}#article{padding:48px 64px 20px;max-width:850px;margin:auto;clear:none}#article>.eyebrow{color:#778164;font-size:10px}#article h1{font-size:clamp(30px,3.3vw,44px);line-height:1.17;letter-spacing:-1.5px;margin:20px 0 32px;overflow-wrap:break-word}#article h2{font-size:28px;line-height:1.3;letter-spacing:-.6px;margin:36px 0 15px}#article h3{font-size:22px;line-height:1.35;letter-spacing:-.3px;margin:30px 0 14px}#article p,#article li{font-size:16px;line-height:1.85;color:#464f40}#article li{margin-bottom:9px}#article ul,#article ol{padding-left:25px}#article a{color:#5a6f2c;text-underline-offset:3px}#article img{display:block;margin:25px auto;border-radius:7px;border:1px solid #d9dfd0;max-width:100%;height:auto}#article pre{border:1px solid #d6ddc8;border-radius:9px;background:#edf0e5;padding:22px;line-height:1.65;font-size:13px}#article :not(pre)>code{background:#e9eddf;padding:2px 5px;border-radius:4px;font-size:.9em}#article blockquote{margin:24px 0;border-left:3px solid #91a25c;padding:6px 22px;background:#eef1e6}#article table{max-width:100%}#article hr{border:0;border-top:1px solid #dce1d2;margin:30px 0}.reader-end{max-width:722px;margin:20px auto 0;padding:25px 0 40px;border-top:1px solid #dce1d2;font-family:'Space Grotesk',sans-serif;font-size:22px}.reader-end span{display:block;font-family:'DM Sans',sans-serif;font-size:12px;color:#78816c;margin-top:10px}body:has(#reader[open]){overflow:hidden}@media(max-width:750px){#reader{width:calc(100vw - 20px);height:calc(100dvh - 24px);border-radius:13px}.reader-bar{padding:13px 18px}#article{padding:30px 24px 15px}#article h1{font-size:32px}#article h2{font-size:25px}#article p,#article li{font-size:15px;line-height:1.8}.reader-end{margin:20px 24px 0;padding-bottom:30px}}
.company-heading{display:flex;align-items:center;gap:12px}.company-mark{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #dfe3d5;border-radius:11px;flex-shrink:0}.company-mark img{object-fit:contain;width:28px;height:28px}.journey h3.company-heading{margin:10px 0}.current-company,.project-company,.early-company{display:inline-flex;align-items:center;gap:7px}.current-company img,.project-company img,.early-company img{object-fit:contain;border-radius:3px}.project-company img{background:white;padding:3px;width:25px;height:25px;border-radius:5px}.early-company{vertical-align:middle}

/* Warm apricot palette and a quiet sunset wash. */
.outro{isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 85% 12%,#fff5e8 0%,transparent 52%),radial-gradient(ellipse at 8% 95%,#edb48980 0%,transparent 58%),linear-gradient(115deg,#ffdfc4,#fbd4b6 62%,#f5c69f)}.outro::before{content:"";position:absolute;width:500px;height:500px;right:-150px;top:-200px;border:1px solid #ffffff70;border-radius:50%;box-shadow:0 0 0 65px #ffffff15,0 0 0 130px #ffffff10;z-index:-1;pointer-events:none}.outro>a{border-radius:30px;background:#ffffff70;border:1px solid #bc805555;padding:13px 22px;transition:background .2s,transform .2s}.outro>a:hover{background:#fff5e8;transform:translateY(-2px)}.merchant .architecture{color:#694d39}.about-education{padding:15px 0;margin-top:20px;border-top:1px solid #e2d7cb;max-width:480px}.about-education p{font-size:13px;line-height:1.7;color:#75685c}.writing .post{border-color:#dfd1c3}.text-link{border-color:#c7a88d}.personal-note{color:#8d725e}.lab{border-color:#e2d7cb}.journey>div{border-color:#e2d7cb}#article a{color:#a2542d}#close-reader{background:#f5e9dd;border-color:#e4cbb5;color:#63452f}#close-reader:hover{background:#efd2b7}#reader{background:#fcf8f3}.reader-bar{background:#fcf8f3;border-color:#e6dacd}.reader-scroll{scrollbar-color:#d8b89b transparent}#article pre{background:#f2e9df;border-color:#e4d5c4}#article :not(pre)>code{background:#f1e2d3}#article blockquote{background:#f6e9dc;border-color:#cb936b}@media(prefers-reduced-motion:reduce){.outro>a:hover{transform:none}}

.journey p.career-note{margin-top:12px;max-width:390px;font-size:13px;line-height:1.75;color:#75685c}

.company-mark{border:0;background:transparent;border-radius:0;width:34px;height:38px}.company-heading{gap:10px}
.company-mark{background:#fff;border:0;border-radius:11px;width:44px;height:44px}.company-heading{gap:12px}
.company-mark{width:44px;height:44px;min-width:44px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:0;overflow:hidden}.company-mark img{width:28px;height:28px;object-fit:contain;display:block;border-radius:0}.company-mark img[src*="alphasense"]{width:34px;height:34px}.company-mark img[src*="razorpay"]{width:34px;height:34px}.company-mark img[src*="swiggy"]{width:29px;height:29px}.current-company img{width:20px;height:20px;object-fit:contain;background:#fff;border-radius:4px}.project-company img{width:25px;height:25px;object-fit:contain;background:#fff;padding:2px;border-radius:5px}
.earlier-experience{padding-top:24px!important}.earlier-experience>.eyebrow{font-size:10px!important;color:#918477!important}.earlier-experience dl{margin:17px 0 0}.earlier-experience dl>div{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:16px 0}.earlier-experience dt{font-size:14px;font-weight:500;color:#645e55}.earlier-experience dt span{display:block;font-size:11px;font-weight:400;color:#8b8175;margin-top:4px}.earlier-experience dd{margin:0;font-size:10px;color:#8b8175;white-space:nowrap}
.company-mark img[src*="roku"]{width:34px;height:28px}.company-mark img[src*="zeta"]{width:30px;height:30px}
.hero-foot>span:first-child{display:flex;align-items:center;gap:7px;flex-wrap:wrap;line-height:1.5}.current-company{display:inline-flex;align-items:center;gap:7px;line-height:1.5;white-space:nowrap}.current-company img{flex:0 0 20px;vertical-align:middle}.hero-foot{align-items:center;gap:20px}.article-page{padding:45px 6% 80px;max-width:1000px;margin:auto}.article-page #article{padding:35px 0 0}
.architecture.monorepo{height:233px;gap:0;letter-spacing:.5px;align-items:stretch;padding:24px 0 12px}.monorepo>div{border:0;padding:0}.monorepo .repo-label{font-size:9px;text-align:center;color:#8d684b;margin-bottom:20px}.repo-apps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.repo-apps b{font-size:10px;font-weight:500;text-align:center;background:#fff6ed;border:1px solid #d6b79b;border-radius:5px;padding:13px 4px;letter-spacing:0}.monorepo .repo-connectors{display:grid;grid-template-columns:repeat(3,1fr);height:22px;gap:8px}.repo-connectors i{width:1px;background:#bd9473;justify-self:center}.monorepo .repo-shared{padding:13px 10px;background:#edccb080;border:1px solid #d6b79b;border-radius:6px;text-align:center}.repo-shared>span{font-size:8px;letter-spacing:1.5px;color:#89654a}.repo-shared>div{display:flex;justify-content:center;gap:12px;margin-top:10px}.repo-shared b{font-size:10px;font-weight:500;letter-spacing:0}.monorepo .repo-caption{font-size:10px;letter-spacing:0;text-align:center;color:#8d684b;padding-top:14px}@media(max-width:400px){.repo-apps b,.repo-shared b{font-size:9px}.repo-shared>div{gap:7px}}
/* Mobile hero uses natural document flow, with room for long words. */
@media(max-width:750px){header{padding:0 6%;gap:16px}.hero{padding-top:36px}.hero>.eyebrow{font-size:9px;letter-spacing:1.2px;line-height:1.7;max-width:100%}.hero h1{font-size:clamp(39px,9.2vw,66px);line-height:1.08;letter-spacing:-2px;margin:25px 0 27px;padding:0;position:relative}.hero h1 em{white-space:nowrap}.hero .asterisk{position:static;font-size:34px;line-height:1;vertical-align:middle;margin-left:12px;transform:rotate(-10deg)}.hero-bottom p{font-size:14px;line-height:1.75;margin:0;max-width:440px}.hero-bottom .desktop{display:none}.round-link{margin-top:22px;gap:18px}.round-link span{padding:10px 16px;font-size:21px}.hero-foot{margin-top:32px;padding-top:18px;align-items:flex-start;flex-direction:column;gap:12px;font-size:10px}.hero-foot>span:first-child{gap:6px;flex-wrap:wrap}.hero-foot>span:last-child{font-size:8px;letter-spacing:1px}.current-company{gap:6px}.current-company img{width:18px;height:18px;flex-basis:18px}}
@media(max-width:380px){header{gap:10px}nav{gap:12px;font-size:11px}.contact{font-size:11px}.brand{font-size:29px}.hero .asterisk{font-size:25px;margin-left:7px}.hero h1{font-size:39px;letter-spacing:-2px}}
@media(max-width:750px){.about{gap:36px}.journey{margin-top:0}}

.about h1{font-size:48px;line-height:1.15;margin:18px 0 0;letter-spacing:-2px}@media(max-width:750px){.about h1{font-size:37px}}
