:root{color-scheme:light;--bg:#fff;--fg:#242424;--muted:#6d6d72;--line:#e8e8ea;--soft:#f6f6f7;--surface:#fff;--highlight:#edf0e8;--shadow:0 16px 50px #0000000b;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;background:var(--bg);color:var(--fg)}
:root[data-theme=dark]{color-scheme:dark;--bg:#141414;--fg:#ededed;--muted:#aaa9ae;--line:#333336;--soft:#202022;--surface:#1c1c1e;--highlight:#34392e;--shadow:0 16px 50px #0003}
*{box-sizing:border-box}body{margin:0;min-width:320px}a{color:inherit}button,input{font:inherit}button{color:inherit}button,a,label,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,figure:focus-visible{outline:2px solid var(--fg);outline-offset:6px}::selection{background:#dce4cc;color:#242424}h1,h2,h3,p,figure{margin:0}svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:22px;height:22px;flex:none}.page-shell{max-width:600px;margin:auto;padding:0 24px}.topbar{display:flex;justify-content:space-between;align-items:center;padding:42px 0 0}.monogram{font-family:Georgia,serif;font-size:28px;font-style:italic;letter-spacing:-2px}.monogram span{font-size:16px;padding-left:6px}.topbar-right{display:flex;align-items:center;gap:22px}.location{font-size:12px;color:var(--muted);letter-spacing:.01em}.icon-button{display:grid;place-items:center;border:1px solid var(--line);background:var(--bg);height:40px;width:40px;border-radius:50%;transition:background .18s,border-color .18s}.icon-button:hover{background:var(--soft);border-color:var(--muted)}.intro{padding:84px 0 0}.profile{display:flex;align-items:center;gap:24px;margin-bottom:40px}.portrait-placeholder{width:88px;height:96px;border:1px dashed #b7b7bc;border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:var(--soft);color:var(--muted);transform:rotate(-3deg)}.portrait-placeholder .icon{width:25px;height:25px}.portrait-placeholder span{font-size:10px}h1{font-size:29px;letter-spacing:-1.1px;line-height:1.3;font-weight:550}.role{margin-top:5px;color:var(--muted);font-size:16px}.bio{font-size:27px;line-height:1.65;letter-spacing:-.6px;color:var(--muted);max-width:840px}.bio strong{font-weight:500;color:var(--fg)}.bio-secondary{margin-top:23px;font-size:23px;line-height:1.7;letter-spacing:-.45px}.inline-icon{width:25px;height:25px;vertical-align:-4px;color:var(--fg);margin:0 2px}.text-highlight{color:var(--fg);background:var(--highlight);border-radius:5px;box-shadow:4px 0 var(--highlight),-4px 0 var(--highlight)}.contact-line{margin-top:32px;display:flex;align-items:center;flex-wrap:wrap;gap:16px}.copy-email{border:0;padding:4px 0;background:none;display:inline-flex;align-items:center;gap:9px;font-size:14px;color:var(--muted)}.copy-email:hover{color:var(--fg)}kbd{display:inline-grid;place-items:center;font:12px inherit;color:var(--fg);width:30px;height:31px;background:var(--soft);border:1px solid var(--line);box-shadow:0 2px 0 var(--line);border-radius:7px}.copy-email .icon{width:16px;height:16px;margin-left:4px}.email-address{font-size:12px;color:var(--muted);border-left:1px solid var(--line);padding-left:16px}.section{margin-top:104px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}h2{font-size:12px;letter-spacing:1.5px;font-weight:500;text-transform:uppercase;color:var(--muted)}.section-note{font-size:11px;color:var(--muted);letter-spacing:.4px}.section-icon{width:17px;height:17px;color:var(--muted)}.project-card{display:block;text-decoration:none;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface);transition:border-color .2s,box-shadow .2s}.project-card:hover{border-color:var(--muted);box-shadow:var(--shadow)}.project-image{position:relative;aspect-ratio:1.95;overflow:hidden;background:#213426}.project-image img{display:block;object-fit:cover;object-position:center 48%;height:100%;width:100%;transition:transform .5s}.project-card:hover img{transform:scale(1.025)}.project-badge{position:absolute;bottom:22px;left:26px;font-size:10px;font-weight:500;letter-spacing:.2px;color:#fff;background:#ffffff20;border:1px solid #ffffff4d;padding:8px 11px;border-radius:20px;backdrop-filter:blur(10px)}.project-info{padding:28px 30px 26px}.project-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.project-title-row h3{font-size:31px;letter-spacing:-1.3px;font-weight:550}.project-arrow{width:25px;height:25px;transition:transform .2s}.project-card:hover .project-arrow{transform:translate(2px,-2px)}.project-tagline{font-size:19px;line-height:1.45;letter-spacing:-.4px;max-width:570px}.project-description{font-size:14px;line-height:1.8;color:var(--muted);margin-top:9px;max-width:620px}.project-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:10px;color:var(--muted);margin-top:22px}.project-meta>span+span:before{content:'·';margin-right:16px}.project-meta .case-language{margin-left:auto}.experience-item{display:flex;align-items:flex-start;gap:20px;padding:25px 0;border-bottom:1px solid var(--line)}.experience-item:first-child{padding-top:3px}.experience-item:last-child{border-bottom:0;padding-bottom:0}.company-mark{height:42px;width:42px;flex:none;display:grid;place-items:center;border:1px solid var(--line);background:var(--soft);border-radius:12px;font-size:18px;font-weight:650;letter-spacing:-1px}.company-mark.tractian{font-style:italic}.experience-copy{flex:1}.experience-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.experience-copy h3{font-size:16px;font-weight:550;line-height:1.5}.current-label{font-size:11px;color:var(--muted);padding:4px 9px;border:1px solid var(--line);border-radius:20px}.experience-copy .job-role{font-size:13px;color:var(--fg);margin-top:3px}.experience-copy p{font-size:13px;color:var(--muted);line-height:1.7;margin-top:9px;max-width:590px}.highlights-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px 40px}.highlight{display:flex;gap:14px}.highlight>.icon{width:19px;height:19px;color:var(--muted);margin-top:2px}.highlight h3{font-size:14px;font-weight:500;line-height:1.5}.highlight p{font-size:12px;line-height:1.75;color:var(--muted);margin-top:5px;max-width:280px}.section-description{font-size:13px;color:var(--muted);line-height:1.75;margin:-13px 0 23px}.gallery{display:flex;flex-direction:column;gap:16px}.gallery-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gallery-tile{position:relative;aspect-ratio:1;overflow:hidden;border:1px solid var(--line);border-radius:10px;isolation:isolate}.gallery-art{height:100%;display:flex;align-items:center;justify-content:center;position:relative;background:var(--soft);color:var(--muted)}.tile-number{position:absolute;top:14px;left:14px;font:9px ui-monospace,monospace;opacity:.8}.placeholder-label{position:absolute;bottom:16px;font-size:9px;letter-spacing:.2px}.gallery-tile.row-2 .gallery-art{background:color-mix(in srgb,var(--soft) 80%,#bfcaad 20%)}.gallery-tile.row-3 .gallery-art{background:color-mix(in srgb,var(--soft) 84%,#c5c1d7 16%)}.mini-mobile,.mini-desktop,.mini-detail{position:relative;display:flex;flex-direction:column;gap:7px;padding:13px 9px;border:1px solid color-mix(in srgb,var(--muted) 28%,transparent);border-radius:12px;background:var(--surface);box-shadow:0 8px 18px #00000006;transform:rotate(-6deg);width:34%;height:61%}.mini-mobile:before{content:'';display:block;width:40%;height:3px;margin:0 auto 5px;border-radius:3px;background:var(--line)}.gallery-art i{display:block;height:7px;width:55%;border-radius:3px;background:var(--line)}.gallery-art b{display:block;flex:1;min-height:20px;border:1px dashed var(--line);border-radius:5px;background:var(--soft)}.gallery-art span:not(.tile-number,.placeholder-label){height:4px;width:80%;border-radius:2px;background:var(--line)}.gallery-art span:last-child:not(.placeholder-label){width:55%}.mini-desktop{width:76%;height:48%;transform:rotate(4deg);border-radius:7px;display:grid;grid-template-columns:1fr 2fr;padding:15px;gap:7px}.mini-desktop:before{content:'•••';position:absolute;top:1px;left:7px;font-size:9px;color:var(--muted)}.mini-desktop i{grid-column:1/-1}.mini-desktop b{grid-row:2/5;min-height:50px}.mini-detail{width:61%;height:48%;transform:rotate(-4deg);padding:17px;gap:10px}.mini-detail b{border-radius:30px}.gallery-tile figcaption{position:absolute;inset:auto 0 0;display:flex;flex-direction:column;gap:5px;padding:45px 17px 17px;background:linear-gradient(transparent,#151515ef 38%);color:white;transform:translateY(100%);transition:transform .22s;pointer-events:none}.gallery-tile figcaption strong{font-size:13px;font-weight:550}.gallery-tile figcaption span{font-size:10px;line-height:1.5;color:#dedede}.gallery-tile:hover figcaption,.gallery-tile:focus figcaption,.gallery-tile.is-revealed figcaption{transform:translateY(0)}.personal-section{margin-top:108px}.collage{height:410px;position:relative;margin:35px 0 0}.collage-card{position:absolute;border:1px solid #c8c8cd;background:var(--soft);box-shadow:0 6px 10px #00000004;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}.collage-card .icon{width:34px;height:34px;stroke-width:1}.collage-photo{width:23%;height:65%;border-radius:3px}.photo-one{left:3%;top:15%;transform:rotate(-11deg);border:9px solid var(--surface);outline:1px solid var(--line);justify-content:flex-end;padding:24px}.photo-one:before{content:'';position:absolute;inset:14px 9px 53px;border:1px dashed #bfc0c4;background:linear-gradient(140deg,transparent 48.8%,#c8c8cd 49%,transparent 49.5%),linear-gradient(40deg,transparent 48.8%,#c8c8cd 49%,transparent 49.5%)}.collage-card span{font-size:11px;text-align:center}.photo-one .icon{display:none}.photo-two{width:26%;height:68%;right:7%;top:4%;transform:rotate(9deg);border:9px solid var(--surface);outline:1px solid var(--line)}.collage-ticket{left:25%;top:0;width:22%;height:54%;transform:rotate(7deg);border-radius:7px;align-items:flex-start;padding:20px;gap:18px;background:var(--surface)}.collage-ticket small{font:8px ui-monospace,monospace;letter-spacing:1px}.collage-ticket strong{font-size:28px;font-weight:500;letter-spacing:-1px}.collage-ticket span{border-top:1px dashed var(--line);padding-top:13px;width:100%;text-align:left}.collage-note{left:20%;bottom:4%;width:22%;height:34%;transform:rotate(-6deg);background:var(--highlight);border-color:var(--line);align-items:flex-start;padding:15px}.collage-note .icon{position:absolute;right:12px;top:12px;width:20px}.collage-note span{font-family:Georgia,serif;font-style:italic;font-size:24px;text-align:left}.collage-portrait{left:42%;top:23%;width:23%;height:65%;border-radius:50%;background:var(--surface);border:1px dashed #b7b7bc;transform:rotate(-5deg);z-index:2}.ticket-two{left:auto;right:0;top:46%;width:20%;height:47%;transform:rotate(6deg);z-index:2}.ticket-two strong{font-size:24px}.collage-object{right:19%;bottom:4%;width:19%;height:31%;transform:rotate(12deg);border-radius:5px;background:var(--surface);z-index:3}.collage-object .icon{width:42px;height:42px}.collage-spark{position:absolute;right:29%;top:0;width:32px;height:32px;color:var(--muted);transform:rotate(10deg)}.collage-caption{font-size:11px;color:var(--muted);text-align:center;margin-top:24px;line-height:1.6}footer{margin-top:85px;padding:26px 0 32px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted)}footer>div{display:flex;gap:22px}footer a{display:flex;align-items:center;gap:7px;text-decoration:none}footer a:hover{color:var(--fg)}footer .icon{width:15px;height:15px}footer .external-arrow{width:11px;height:11px}.skip-link{position:fixed;top:10px;left:10px;transform:translateY(-150%);z-index:5;padding:12px;background:var(--fg);color:var(--bg)}.skip-link:focus{transform:none}
dialog{background:var(--bg);color:var(--fg);width:510px;max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);border:1px solid var(--line);border-radius:20px;padding:30px;box-shadow:0 24px 100px #0003;overflow:auto}dialog::backdrop{background:#0005;backdrop-filter:blur(5px)}body:has(dialog[open]){overflow:hidden}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.eyebrow{color:var(--muted);font-size:10px;letter-spacing:1px;text-transform:uppercase;display:block;margin-bottom:8px}dialog h2{font-size:24px;text-transform:none;letter-spacing:-.8px;color:var(--fg)}.settings-description{font-size:13px;color:var(--muted);line-height:1.7;margin:18px 0 30px}fieldset{border:0;padding:0;margin:0 0 25px;min-width:0}legend{font-size:13px;font-weight:550;margin-bottom:13px;padding:0}.theme-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.theme-options label,.language-options label{position:relative;cursor:pointer}.theme-options input,.language-options input{position:absolute;opacity:0;width:1px;height:1px;top:50%;left:50%}.theme-choice{display:flex;flex-direction:column;gap:10px;padding:10px;border:1px solid var(--line);border-radius:10px;font-size:12px;align-items:center}.theme-preview{height:65px;width:100%;border:1px solid #ddd;border-radius:5px;background:#fff;display:block;position:relative;overflow:hidden}.theme-preview:before{content:'';position:absolute;top:0;left:0;bottom:0;width:22%;border-right:1px solid #e3e3e3;background:#f4f4f4}.theme-preview i,.theme-preview b,.theme-preview em{position:absolute;display:block;border-radius:2px;background:#c4c4c4;height:4px;left:33%;width:49%;top:18px}.theme-preview b{top:29px;width:34%;background:#e3e3e3}.theme-preview em{top:41px;height:13px;background:#efefef}.preview-dark{background:#202022;border-color:#444}.preview-dark:before{background:#161616;border-color:#444}.preview-dark i{background:#c0c0c0}.preview-dark b{background:#6a6a6a}.preview-dark em{background:#424242}.preview-system{background:linear-gradient(90deg,#fff 50%,#202022 50%)}.preview-system em{background:linear-gradient(90deg,#eee 35%,#444 35%)}input:checked+.theme-choice,input:checked+span{border-color:var(--fg)}input:focus-visible+.theme-choice,input:focus-visible+span{outline:2px solid var(--fg);outline-offset:4px}.language-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.language-options label>span{display:flex;justify-content:space-between;gap:12px;border:1px solid var(--line);padding:15px;border-radius:10px;font-size:12px}.language-options small{color:var(--muted);font-size:10px}.settings-footnote{font-size:11px;line-height:1.7;color:var(--muted);border-top:1px solid var(--line);padding-top:18px}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:var(--fg);color:var(--bg);padding:13px 20px;border-radius:12px;font-size:13px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:10;max-width:calc(100% - 32px);text-align:center;line-height:1.5}.toast.visible{opacity:1;transform:translate(-50%,0)}

@media(max-width:600px){.page-shell{padding:0 24px}.topbar{padding-top:24px}.intro{padding-top:54px}.profile{gap:18px;margin-bottom:30px}.portrait-placeholder{width:74px;height:82px;border-radius:20px}h1{font-size:24px;letter-spacing:-.7px}.role{font-size:14px}.bio{font-size:22px;line-height:1.65;letter-spacing:-.4px}.bio-secondary{font-size:19px}.inline-icon{width:20px;height:20px;vertical-align:-3px}.contact-line{gap:10px;margin-top:26px}.email-address{border:0;padding:0;width:100%;font-size:11px}.copy-email{font-size:12px}.section{margin-top:72px}.section-heading{margin-bottom:22px}.section-note{font-size:9px}.project-image{aspect-ratio:1.4}.project-badge{left:16px;bottom:16px;font-size:9px}.project-info{padding:22px}.project-title-row h3{font-size:27px}.project-tagline{font-size:18px}.project-description{font-size:13px}.project-meta{gap:8px 12px}.project-meta>span+span:before{margin-right:12px}.project-meta .case-language{margin-left:0;flex-basis:100%}.project-meta .case-language:before{content:none}.experience-item{gap:15px}.highlights-grid{grid-template-columns:1fr;gap:27px}.highlight p{max-width:none}.gallery,.gallery-row{gap:8px}.gallery-tile{border-radius:6px;aspect-ratio:.8}.tile-number{top:8px;left:7px;font-size:7px}.placeholder-label{font-size:6px;bottom:10px}.mini-mobile{width:46%;height:58%;border-radius:6px;padding:8px 4px;gap:4px}.mini-mobile:before{height:2px;margin:0 0 2px}.gallery-art i{height:4px}.gallery-art span:not(.tile-number,.placeholder-label){height:2px}.mini-desktop{padding:12px 6px 6px;gap:3px;width:85%;height:41%}.mini-desktop b{min-height:20px}.mini-detail{width:70%;padding:9px;gap:6px;height:44%}.gallery-art b{min-height:10px}.gallery-tile figcaption{padding:25px 7px 8px;gap:3px}.gallery-tile figcaption strong{font-size:9px}.gallery-tile figcaption span{font-size:8px;line-height:1.4}.collage{height:280px;margin:25px -8px 0}.collage-ticket{padding:10px;gap:10px}.collage-ticket strong{font-size:19px}.collage-ticket small{font-size:6px;letter-spacing:0}.collage-card span{font-size:8px}.collage-card .icon{width:24px;height:24px}.collage-ticket span{padding-top:10px}.photo-one{padding:13px 3px;border-width:5px}.photo-one:before{inset:7px 4px 40px}.photo-two{border-width:5px}.collage-note{padding:8px}.collage-note span{font-size:17px}.collage-note .icon{width:14px;height:14px;top:7px;right:7px}.ticket-two{padding:9px}.ticket-two strong{font-size:17px}.collage-object{padding:5px;gap:6px}.collage-spark{width:23px;height:23px}.collage-caption{font-size:10px}footer{margin-top:55px;align-items:flex-start;flex-direction:column;gap:18px}.settings-description{margin-bottom:23px}dialog{padding:23px}.theme-choice{padding:7px;font-size:11px}.theme-options{gap:8px}}
@media(hover:none){.gallery-tile figcaption{position:relative;transform:none;padding:10px 6px;background:var(--surface);color:var(--fg);min-height:65px}.gallery-tile figcaption span{color:var(--muted)}.gallery-tile{aspect-ratio:auto}.gallery-art{aspect-ratio:.8;height:auto}.placeholder-label{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
/* The gallery extends beyond the reading column; one row = one project. */
.gallery-section{width:min(1200px,max(100%,calc(100vw - 80px)));position:relative;left:50%;transform:translateX(-50%)}
@media(max-width:600px){.gallery-section{width:100%;left:auto;transform:none}}
.language-options input:checked+span{border-color:var(--fg);background:var(--soft)}
@media(max-width:600px){.gallery-tile figcaption strong{font-size:11px}.gallery-tile figcaption span{font-size:10px}}
/* Reading scale and experience rhythm adapted from the supplied reference. */
:root{font-family:"Geist",sans-serif;--fg:#1a1a1a;--muted:#666}
:root[data-theme=dark]{--fg:#fff;--muted:#999}
/* 600 px container, including 24 px padding on each side, as in Mukund’s CSS. */
.topbar{padding-top:32px}
.intro{padding-top:52px}
.profile{gap:20px;margin-bottom:28px}
.portrait-placeholder{width:64px;height:68px;border-radius:16px;transform:none;gap:6px}
.portrait-placeholder .icon{width:21px;height:21px}
.portrait-placeholder span{font-size:9px}
h1{font-size:23px;letter-spacing:-.6px;font-weight:500}
.role{font-size:14px}
.bio,.bio-secondary{font-size:18px;line-height:1.65;letter-spacing:-.2px;max-width:100%}
.bio-secondary{margin-top:22px}
.bio strong{font-weight:400}
.inline-icon{width:19px;height:19px;vertical-align:-3px}
.text-highlight,.inline-highlight{color:var(--fg);background:none;box-shadow:none;border-radius:0;text-decoration:none}
.contact-line{margin-top:24px}
.copy-email{font-size:13px}
kbd{width:25px;height:25px;font-family:inherit;font-size:11px;transition:transform .14s ease-out,box-shadow .14s ease-out,background .14s ease-out}
@media(hover:hover){.copy-email:hover kbd{transform:translateY(2px);box-shadow:0 0 0 var(--line);background:color-mix(in srgb,var(--soft) 70%,var(--line))}}
.copy-email:active kbd,kbd.pressed{transform:translateY(2px) scale(.96);background:var(--line);box-shadow:none}
.email-address{font-size:11px}
.section{margin-top:80px}
h2{font-size:11px;letter-spacing:1.1px}
.project-title-row h3{font-size:26px}
.project-tagline{font-size:17px}
.project-description{font-size:14px;line-height:1.6}
.experience-list{display:grid;gap:36px}
.experience-item,.experience-item:first-child,.experience-item:last-child{display:grid;grid-template-columns:160px minmax(0,1fr);gap:16px;padding:0;border:0}
.experience-period{font-size:12px;line-height:24px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted)}
.experience-title-line{display:block}
.experience-copy h3{font-size:15px;line-height:1.6;font-weight:500}
.company-at{color:var(--muted);font-weight:400}
.experience-copy p{font-size:15px;line-height:1.6;margin-top:8px}
.experience-copy .work-location{font-size:12px;color:var(--muted);margin-top:4px;margin-bottom:12px}
.highlights-grid{gap:30px}
.collage{height:350px}
.collage-ticket strong{font-size:24px}
.ticket-two strong{font-size:21px}
@media(max-width:600px){
  .intro{padding-top:40px}
  .profile{gap:16px}
  h1{font-size:21px}
  .bio,.bio-secondary{font-size:16px;line-height:1.65;letter-spacing:0}
  .inline-icon{width:17px;height:17px}
  .section{margin-top:64px}
  .experience-item,.experience-item:first-child,.experience-item:last-child{grid-template-columns:1fr;gap:8px}
  .experience-list{gap:32px}
  .experience-period{font-size:11px;line-height:1.5}
  .collage{height:280px}
  .collage-ticket strong{font-size:19px}
  .ticket-two strong{font-size:17px}
}
/* Lucide settings icon and hover motion from the supplied reference. */
#open-settings{width:36px;height:36px;padding:8px;border:0;border-radius:8px;background:transparent;color:#949494;transition:background-color .3s,color .3s}
#open-settings .icon{width:20px;height:20px;stroke-width:2;transition:transform .3s cubic-bezier(.4,0,.2,1)}
#open-settings:hover,#open-settings:focus-visible{color:var(--fg);background:rgba(0,0,0,.08)}
#open-settings:hover .icon,#open-settings:focus-visible .icon{transform:rotate(90deg)}
:root[data-theme=dark] #open-settings:hover,:root[data-theme=dark] #open-settings:focus-visible{background:rgba(255,255,255,.05)}
@media(prefers-reduced-motion:reduce){#open-settings .icon{transform:none!important}}
/* Match the reference's reading size and leading. */
.bio,.bio-secondary{font-size:16px;line-height:1.6;letter-spacing:0}
/* Selected projects: compact rows, one linked case and two reserved slots. */
.project-list{list-style:none;margin:0;padding:0}
.project-list>li{border-bottom:1px solid var(--line)}
.project-list-row{display:flex;align-items:center;gap:16px;padding:22px 24px 22px 14px;min-width:0}
.project-list-link{text-decoration:none;border-radius:8px;transition:background .2s}
.project-list-link:hover{background:var(--soft)}
.project-list-icon{width:44px;height:44px;object-fit:cover;border-radius:10px;flex:none}
.project-list-copy{flex:1;min-width:0}
.project-list-copy h3{font-size:16px;font-weight:500;letter-spacing:-.2px;line-height:1.5}
.project-list-copy p{font-size:15px;color:var(--muted);line-height:1.6;margin-top:3px}
.project-list-arrow{width:18px;height:18px;color:var(--muted);transition:transform .2s,color .2s}
.project-list-link:hover .project-list-arrow{color:var(--fg);transform:translate(2px,-2px)}
.placeholder-icon{display:grid;place-items:center;border:1px dashed var(--line);background:var(--soft);color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.project-placeholder h3{color:var(--muted);font-weight:400}
@media(max-width:600px){.project-list-row{padding:20px 24px 20px 4px;gap:13px}.project-list-copy p{font-size:14px}.project-list-icon{width:40px;height:40px}}
#close-settings{width:36px;height:36px;padding:8px;border:0;border-radius:8px;background:transparent;color:#949494;transition:none}
#close-settings .icon{width:20px;height:20px;stroke-width:2;transition:none;transform:none}
#close-settings:hover,#close-settings:focus-visible{color:var(--fg);background:rgba(0,0,0,.08)}
:root[data-theme=dark] #close-settings:hover,:root[data-theme=dark] #close-settings:focus-visible{background:rgba(255,255,255,.05)}
.dialog-top{align-items:flex-start}
#settings-title{font-size:20px;line-height:1.4;letter-spacing:-.4px;font-weight:500;padding-top:4px}
.settings-description{font-size:14px;line-height:1.6;margin:0 0 30px}

/* Intro: small portrait above the name, followed by the introduction. */
.profile{flex-direction:column;align-items:flex-start;gap:36px;margin-bottom:14px}
.portrait-placeholder{width:40px;height:40px;border-radius:6px;gap:0;flex:none}
.portrait-placeholder .icon{width:18px;height:18px}
.profile-photo{width:40px;height:40px;flex:none;border-radius:6px;overflow:hidden;position:relative;background:var(--soft)}
.profile-photo img{display:block;position:absolute;width:80px;height:107px;max-width:none;object-fit:cover;left:-32px;top:-44px}
.company-inline{white-space:nowrap}
.company-favicon{display:inline-block;width:18px;height:18px;vertical-align:-3px;margin-right:4px;object-fit:contain}
@media(max-width:600px){.profile{gap:26px;margin-bottom:12px}}

/* Typography scale. Shared roles keep the same size at every breakpoint. */
.bio,.bio-secondary,.project-list-copy p,.experience-copy p:not(.work-location),.section-description{
  font-size:var(--text-body);
  line-height:var(--text-body-leading);
  letter-spacing:0;
  font-weight:400;
}
.highlight p,.experience-copy .work-location,.email-address,.copy-email,.settings-footnote,.collage-caption{
  font-size:var(--text-body-small);
  line-height:var(--text-body-small-leading);
  letter-spacing:0;
  font-weight:400;
}
.project-list-copy h3,.experience-copy h3,.highlight h3{
  font-size:var(--text-label-small);
  font-weight:500;
  line-height:1.5;
  letter-spacing:0;
}
.section-heading h2,.intro h1{
  font-size:var(--text-body);
  line-height:var(--text-body-leading);
  font-weight:400;
  letter-spacing:0;
  text-transform:none;
  color:var(--text-section-color);
}
#settings-title{font-size:var(--text-title)}

/* Inline app icons follow the same size and spacing as company favicons. */
.app-favicon{border-radius:4px}
.case-project-icon{display:grid;place-items:center;background:var(--soft);border:1px solid var(--line);color:var(--muted)}

/* Recognition links retain the shared Label Small style. */
.highlight{position:relative}
.highlight-action{font:inherit;color:inherit;text-align:left;border:0;padding:0;background:none;text-decoration:none}
.highlight-action::after{content:"";position:absolute;inset:-8px;border-radius:8px}
.highlight-action:focus-visible{outline:none}
.highlight-action:focus-visible::after{outline:2px solid var(--fg);outline-offset:2px}

/* Publications use the existing native dialog and typography tokens. */
#publications-dialog,#honor-dialog{width:600px}
#wwdc-dialog{width:800px}
#publications-title,#honor-title,#wwdc-title{font-size:var(--text-title);line-height:1.4;letter-spacing:-.4px;font-weight:500;padding-top:4px}
#close-publications,#close-honor,#close-wwdc{width:36px;height:36px;flex:none;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--muted);transition:none}
#close-publications .icon,#close-honor .icon,#close-wwdc .icon{width:20px;height:20px;stroke-width:2}
#close-publications:hover,#close-publications:focus-visible,#close-honor:hover,#close-honor:focus-visible,#close-wwdc:hover,#close-wwdc:focus-visible{color:var(--fg);background:var(--soft)}
.publications-list{margin-top:28px}
.publication+.publication{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}
.publication h3{font-size:var(--text-label-small);line-height:1.5;font-weight:500;letter-spacing:0}
.publication-meta,.publication-page{font-size:var(--text-body-small);line-height:var(--text-body-small-leading);color:var(--muted)}
.publication-meta{margin-top:8px}
.publication-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}
.publication-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:var(--text-body-small);line-height:var(--text-body-small-leading);text-decoration:none}
.publication-link .icon{width:16px;height:16px}
.embedded-post{display:block;width:100%;height:min(680px,calc(100dvh - 220px));min-height:180px;margin-top:24px;border:1px solid var(--line);border-radius:8px;background:#fff}
.embedded-video{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:8px;margin-top:24px;background:#000}
.honor-footer{display:flex;justify-content:flex-end;margin-top:8px}
