/* Small refinements to the approved design. */
.header .personal-mark{display:flex;align-items:center;gap:11px;flex-shrink:0}.header .personal-mark>.brand-name{padding:0;color:var(--text)}.portfolio-mark{display:block;flex-shrink:0;object-fit:contain;filter:none}.header .portfolio-mark{width:40px;height:34px}.footer-brand{display:inline-flex;align-items:center;gap:11px}[data-theme=light] .portfolio-mark{filter:invert(1)}
html{scroll-padding-top:115px}
.header.wrap{position:sticky;top:14px;z-index:60;height:68px;width:min(1128px,calc(100% - 48px));margin:16px auto 0;padding:0 24px;gap:24px;border:1px solid var(--border);border-radius:17px;background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 5px 22px #0000000b;transition:box-shadow .22s ease,border-color .22s ease}
.header.is-scrolled{box-shadow:0 9px 35px #00000026;border-color:color-mix(in srgb,var(--text) 18%,var(--border))}
.personal-mark{font-size:14px;letter-spacing:-.3px;white-space:nowrap;line-height:1.2}.header nav{gap:24px}.header nav a{padding:8px 0;position:relative}.header nav a:after{content:'';position:absolute;bottom:2px;left:0;height:1px;width:100%;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .2s ease}.header nav a:hover:after{transform:scaleX(1)}
/* Preserve the complete source screenshot: no decorative canvas, crops, or zoom. */
.work-card .work-screen,.featured-work .work-screen,.work-grid .work-card .work-screen,.work-grid .work-card:last-child .work-screen{display:block;background:none;padding:0;margin-top:auto;height:auto;min-height:0;max-height:none;overflow:visible;align-self:center;width:100%}
.work-card .work-screen>img,.featured-work .work-screen>img,.work-grid .work-card .work-screen>img{position:static;width:100%;height:auto;max-width:100%;max-height:none;object-fit:contain;object-position:center;border-radius:0;box-shadow:none;filter:none;transform:none!important;transition:none}
.featured-work{align-items:center}.featured-work .work-screen{margin:0}.case-image img{height:auto;object-fit:contain;filter:none;box-shadow:none}
.personal-photo>img{width:100%;max-width:244px;height:auto;aspect-ratio:1;object-fit:cover;object-position:50% 28%;border-radius:50%;padding:6px;background:var(--surface);border:1px solid var(--border);filter:none;box-shadow:0 12px 32px #00000014}.photo-caption{gap:13px}.photo-caption>span:first-child{font-size:11px;max-width:130px}
.brand-iic{width:100px;background:linear-gradient(140deg,#fff,#e9edf5);border-radius:12px}.brand-iic>img,.community-card .brand-iic>img{width:90px;height:45px;object-fit:contain}.brand-sih>img{height:35px;width:34px;object-fit:contain}.brand-oneplus{background:linear-gradient(140deg,#9c3535,#572020 60%,#352224)}.brand-oneplus>.mono{filter:invert(1)}
.work-links a,.case-links a,.subtle-button,.profile-links a[download],.learning-link>a,.work-status>a{border:1px solid var(--border);border-radius:8px;padding:8px 12px;background:var(--surface2);line-height:1.4;box-shadow:inset 0 1px 0 #ffffff08;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.work-links a:first-child,.case-links a:first-child{background:var(--text);color:var(--bg);border-color:var(--text)}.work-links a:first-child>span:last-child{color:inherit}.work-links{gap:8px}.work-grid .work-links{gap:8px}.work-links a:hover{text-decoration:none}.case-links{gap:10px}.profile-links{gap:20px}.profile-links a{transition:color .2s ease,transform .2s ease}.theme-toggle{transition:transform .2s ease,background .2s ease,box-shadow .2s ease}.theme-toggle svg{transition:transform .25s ease}.theme-toggle:hover svg{transform:rotate(18deg)}
.sarvam-highlight{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6;color:var(--muted);border-left:2px solid #be8864;padding:6px 0 6px 12px;margin-top:20px}.sarvam-highlight img{width:24px;height:24px;object-fit:contain;border-radius:5px}.sarvam-highlight strong{color:var(--text);font-weight:500}.case-hero .sarvam-highlight{max-width:430px;margin-top:28px}
.community-impact{padding:25px 0 0;margin-top:25px;border-top:1px solid var(--border)}.community-impact h3{font-size:17px;font-weight:500;margin:0 0 12px;letter-spacing:-.3px}.community-impact p{font-size:14px;color:var(--muted);max-width:900px;line-height:1.9;margin:0 0 10px}.community-impact p:last-child{font-size:12px;margin-top:14px}.community-impact strong{color:var(--text);font-weight:500}
.certificate-description{font-size:14px;color:var(--muted);max-width:650px;margin:10px 0 20px}.certificate-preview{display:block;width:min(510px,100%);margin:20px 0}.certificate-preview img{display:block;width:100%;height:auto;border:1px solid var(--border);border-radius:4px}.certificate-actions{display:flex;flex-wrap:wrap;gap:10px}.subtle-button{font-size:12px}.recognition-certificate{padding-block:32px}.certificate-preview:hover{outline:1px solid var(--subtle);outline-offset:4px;border-radius:4px}
.role-card,.community-card,.education-card,.learning-link{transition:border-color .25s ease,box-shadow .25s ease,background .25s ease}.brand-tile{transition:transform .25s ease,box-shadow .25s ease}.work-card{transition:border-color .25s ease,box-shadow .25s ease}.theme-crossfade,.theme-crossfade body,.theme-crossfade .header,.theme-crossfade .role-card,.theme-crossfade .work-card,.theme-crossfade .community-card,.theme-crossfade .education-card{transition:background-color .25s ease,color .25s ease,border-color .25s ease}
html.theme-reveal::view-transition-old(root),html.theme-reveal::view-transition-new(root){animation:none;mix-blend-mode:normal}html.theme-reveal::view-transition-new(root){z-index:2}html.theme-reveal::view-transition-old(root){z-index:1}
@media(hover:hover) and (pointer:fine){.work-links a:hover,.case-links a:hover,.subtle-button:hover,.profile-links a[download]:hover,.learning-link>a:hover,.work-status>a:hover{transform:translateY(-2px);box-shadow:0 5px 13px #0000001a;border-color:var(--subtle)}.work-links a:active,.subtle-button:active{transform:translateY(0)}.work-card:hover,.role-card:hover,.community-card:hover,.education-card:hover{border-color:color-mix(in srgb,var(--text) 24%,var(--border));box-shadow:0 9px 30px #00000013}.community-card:hover .brand-tile,.role-card:hover .brand-tile,.tool-grid>div:hover .brand-tile{transform:translateY(-3px);box-shadow:inset 0 1px 0 #ffffff18,0 7px 15px #00000020}.profile-links a:not([download]):hover{transform:translateY(-1px)}}
@media(max-width:1000px){.header.wrap{gap:20px}.header nav{gap:19px}.work-grid .work-info{padding:20px}.work-links a{padding:7px 10px}}
@media(max-width:760px){.header.wrap{width:calc(100% - 28px);height:65px;padding:0 17px;gap:17px}.personal-mark{font-size:13px}.header nav{gap:16px}.header nav a{font-size:12px}.featured-work{grid-template-columns:1fr 1fr}.work-grid .work-card:last-child .work-screen{height:auto}.profile-links{gap:16px}.profile{padding-top:50px}}
@media(max-width:640px){.header nav{display:none;position:absolute;z-index:70;top:75px;left:0;right:0;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px;flex-wrap:wrap;gap:25px;margin:0;box-shadow:0 10px 25px #0002}.header nav.open{display:flex}.theme-toggle{margin-left:auto}.menu-toggle{display:block;border:0;background:none;color:var(--text);font-size:12px;padding:8px 0}}
@media(max-width:540px){.header.wrap{top:10px;margin-top:10px;height:62px;gap:14px;border-radius:14px;padding:0 14px}.header .personal-mark{font-size:13px;white-space:normal;max-width:145px;line-height:1.35}.header:has(.back-home){gap:10px}.header:has(.back-home) .personal-mark{font-size:12px;max-width:116px}.header .back-home{font-size:0}.header .back-home:before{content:'← Back';font-size:11px;white-space:nowrap}.header:has(.back-home) .resume-nav{font-size:11px}.header:has(.back-home) .theme-toggle{margin-left:0}.profile{padding-top:28px}.personal-photo>img{width:104px;height:104px;border-radius:50%;aspect-ratio:1;padding:4px}.photo-caption>span:first-child{max-width:150px}.featured-work{display:flex}.work-grid .work-links{gap:8px}.work-grid .work-links a{font-size:12px;padding:8px 12px}.work-card .work-screen,.featured-work .work-screen,.work-grid .work-card:last-child .work-screen{height:auto;min-height:0;padding:0}.community-card .brand-iic{width:100px;height:48px}.community-impact p{font-size:14px}.community-impact h3{font-size:16px}.contact-bottom .profile-links{gap:16px}.certificate-description{font-size:13px}.recognition-certificate>div:first-of-type{min-width:0}.certificate-actions{gap:8px}.subtle-button{font-size:11px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}.personal-photo{transform:none!important}}
@media(max-width:760px){.header .portfolio-mark{width:32px;height:28px}.header .personal-mark{gap:8px}.header.wrap{gap:16px}.header nav{gap:13px}}
@media(max-width:540px){.header .personal-mark{max-width:154px;gap:8px}.header .personal-mark>.brand-name{max-width:114px}.header:has(.back-home) .personal-mark{max-width:124px;font-size:11px}.header:has(.back-home) .portfolio-mark{width:27px;height:24px}.header:has(.back-home) .personal-mark>.brand-name{max-width:89px}.header:has(.back-home){gap:9px}.footer-brand{gap:8px}}
@media(max-width:380px){.header:has(.back-home){gap:7px}.header:has(.back-home) .personal-mark{max-width:116px}.header:has(.back-home) .resume-nav{white-space:nowrap;font-size:10px}.header:has(.back-home) .back-home:before{font-size:10px}}
