@font-face{font-family:"Inter";src:url("/fonts/Inter-latin-var.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
/* v2.2 type scale (Inter). Roles/proportions follow the X page (h1 > h2 > small UI text; two-tone headings;
   nav/buttons/card titles 500, body 400, numbers #999) with every size scaled up for legibility:
   h1 clamp(40,5vw,72)/1.04 · h2 clamp(30,3.2vw,40)/1.12 · tile title 22 · stat number 40
   small text 15/22 · meta/eyebrow/numbers 14/20 · copyright 12/14 */
:root{
  --ink:#000; --ink2:rgba(0,0,0,.6); --ink3:rgba(0,0,0,.35); --n400:#999;
  --panel:#F4F4F4; --line:#E5E5E5; --bg:#fff;
  --font:"Inter","Helvetica Neue",Helvetica,Arial,"Liberation Sans",ui-sans-serif,system-ui,sans-serif;
  --side:272px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:32px}
body{font-family:var(--font);background:var(--bg);color:var(--ink);font-size:15px;line-height:22px;font-weight:400;letter-spacing:0;-webkit-font-smoothing:antialiased;overflow-x:hidden;font-kerning:normal}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
ul{list-style:none}
button{font-family:inherit}
.muted{color:var(--ink2)}
/* shared role: UI text 15/22 500 */
.logo,.nav a,.btn-out,.menu-btn,.pill,.float a,.tile .more,.skills li,.fcols h4{font-size:15px;line-height:22px;font-weight:500;letter-spacing:0}
/* shared role: meta 14/20 */
.idx,.group-head,.tile .meta,.skills li i{font-size:14px;line-height:20px}
/* SIDEBAR */
.side{position:fixed;inset:0 auto 0 0;width:var(--side);padding:28px 32px 32px 36px;display:flex;flex-direction:column;background:var(--bg);z-index:40}
.logo{display:flex;align-items:center;gap:12px;margin-bottom:32px;white-space:nowrap}
.logo .mark{width:32px;height:32px;border:1px solid var(--ink);border-radius:8px;display:grid;place-items:center;font-size:12px;line-height:1;font-weight:600;letter-spacing:0;flex:none}
.logo-img-svg{display:block;height:64px;width:auto}
.menu-btn{display:none}
.nav{overflow-y:auto;min-height:0;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}
.nav a{display:block;color:var(--ink2);padding:7px 0;transition:color .2s;white-space:nowrap}
.nav a:hover{color:var(--ink)}
.nav a.active{color:var(--ink);font-weight:600}
.nav ul.sub{margin:2px 0 8px 1px;border-left:1px solid var(--line);padding-left:14px}
.nav ul.sub a{padding:5px 0;font-size:14px;line-height:20px}
.btn-out{margin-top:auto;align-self:flex-start;border:1px solid var(--line);border-radius:999px;padding:7px 20px;background:#fff;transition:border-color .2s}
.btn-out:hover{border-color:var(--ink)}
/* MAIN */
main,footer{margin-left:var(--side)}
.col{width:min(1000px,100% - 2*clamp(24px,5vw,64px));margin-inline:auto}
section{padding-block:clamp(64px,9vw,136px) 0}
h1{font-weight:500;font-size:clamp(40px,5vw,72px);line-height:1.04;letter-spacing:-.035em}
h2{font-weight:500;font-size:clamp(30px,3.2vw,40px);line-height:1.12;letter-spacing:-.03em;text-wrap:balance}
h2 span{display:block;color:var(--ink2)}
h1 .muted,h1 span{color:var(--ink2)}
.hero{padding-top:clamp(40px,6vw,76px);padding-bottom:clamp(8px,1.5vw,20px)}
.hero p.lead{margin-top:clamp(24px,3vw,36px);font-size:14px;line-height:20px;font-weight:500;color:var(--ink);max-width:34ch}
.hr{border:0;border-top:1px solid var(--line)}
/* ABOUT */
.about-grid{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(24px,5vw,64px);margin-top:clamp(32px,4vw,52px);align-items:start}
.about-grid p{font-size:15px;line-height:23px;font-weight:400;letter-spacing:0;color:var(--ink);max-width:46ch}
@media (min-width:861px){.about-grid{column-gap:48px;align-items:center}.about-grid p{max-width:none}}
.about-grid p.muted{color:var(--ink2)}
.about-grid p+p{margin-top:14px}
.pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:28px}
.pill{display:inline-flex;align-items:center;padding:7px 18px;border-radius:999px;background:var(--ink);color:#fff;white-space:nowrap}
.pill.soft{background:var(--panel);color:var(--ink)}
.pill:hover{opacity:.85}
/* STATS */
/* SKILLS */
.skills{display:grid;grid-template-columns:repeat(3,1fr);gap:0 clamp(16px,3vw,40px);margin-top:clamp(32px,4vw,52px)}
.skills li{border-top:1px solid var(--line);padding:16px 0 40px;display:flex;gap:14px}
.skills li i{font-style:normal;font-weight:500;color:var(--n400);min-width:24px;padding-top:1px}
.skills li i.ico{display:flex;padding-top:0;color:var(--n600,#536471);min-width:26px}
/* PROJECTS */
.group{margin-top:clamp(44px,6vw,84px)}
.group-head{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--line);padding-top:16px;margin-bottom:clamp(22px,3vw,34px);font-weight:500}
.group-head span{color:var(--ink2);font-weight:400}
.tiles{align-items:stretch;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,4vw,52px) clamp(16px,2.4vw,32px)}
.tile{display:flex;flex-direction:column}
.tile .img{overflow:hidden;background:var(--panel)}
.tile .img img{width:100%;height:100%;object-fit:contain;transition:transform 1s cubic-bezier(.2,.8,.2,1)}
.tile:hover .img img{transform:scale(1.04)}
.tile .txt{padding-top:18px;display:flex;flex-direction:column;gap:4px;flex:1}
.idx{color:var(--n400);font-weight:500}
.tile h3{font-weight:500;font-size:22px;line-height:28px;letter-spacing:-.02em;color:var(--ink)}
.tile .meta{font-weight:500;color:var(--ink2);letter-spacing:0}
.tile .more{margin-top:auto;padding-top:10px}
.tile:hover .more{text-decoration:underline}
/* FOOTER */
footer{margin-top:clamp(72px,10vw,140px);padding-bottom:0;overflow:hidden}
.fcols{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;padding-top:34px;border-top:1px solid var(--line)}
.fcols h4{margin-bottom:12px;line-height:18px}
.fcols a,.fcols p{display:block;font-size:15px;line-height:22px;font-weight:400;letter-spacing:0;color:var(--ink2);padding:4px 0;word-break:break-word}
.fcols a:hover{color:var(--ink)}
.copy{font-size:12px;line-height:14px;font-weight:400;letter-spacing:.01em;color:var(--ink3);margin-top:40px}
.wordmark{display:block;width:100%;height:auto;overflow:visible;margin-top:calc(clamp(28px,5vw,64px) - .445%);margin-bottom:-1px}
.wordmark path{fill:none;stroke:#0A0A0A;stroke-width:1.2;stroke-linejoin:round;vector-effect:non-scaling-stroke}
/* FLOATING BAR */
.float{position:fixed;left:calc(50% + var(--side)/2);bottom:20px;transform:translateX(-50%);z-index:45;display:flex;gap:4px;padding:5px;background:rgba(255,255,255,.85);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:999px;box-shadow:0 6px 28px rgba(0,0,0,.12),0 0 0 1px rgba(0,0,0,.04)}
.float a{padding:9px 22px;border-radius:999px;white-space:nowrap}
.float .b{background:var(--ink);color:#fff}
.float .w{background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.14)}
.float a:hover{opacity:.85}
/* REVEAL */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.8,.2,1)}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  .tile .img img{transition:none}.tile:hover .img img{transform:none}
}
/* MEDIUM: narrower desktop windows */
@media (max-width:1100px) and (min-width:861px){
  .skills{grid-template-columns:repeat(2,1fr)}
}
/* MOBILE */
@media (max-width:860px){
  :root{--side:0px}
  .side{position:sticky;top:0;inset:auto;width:100%;height:auto;padding:12px 20px;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;background:rgba(255,255,255,.9);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
  .logo{margin:0}
  .logo-img-svg{height:40px}
  .menu-btn{display:inline-block;border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 18px;color:var(--ink);cursor:pointer}
  .nav{display:none;width:100%;padding:12px 0 8px}
  .side.open .nav{display:block}
  .nav a{font-size:22px;line-height:30px;letter-spacing:-.01em;padding:7px 0}
  .nav ul.sub a{font-size:16px;line-height:24px;padding:5px 0}
  .side .contact{display:none}
  .side.open .contact{display:block;margin:10px 0 6px}
  .pill,.float a{font-size:16px;padding:8px 20px}
  main,footer{margin-left:0}
  .col{width:calc(100% - 40px)}
  .float{left:50%;bottom:calc(14px + env(safe-area-inset-bottom));padding:4px}
  .float a{padding:9px 22px}
  h1{letter-spacing:-.03em}
  .about-grid{grid-template-columns:1fr;margin-top:22px}
  .about-grid>div:empty{display:none}
  .tiles{grid-template-columns:1fr}
  .tile h3{font-size:22px;line-height:28px}
  .skills{grid-template-columns:1fr}
  .skills li{padding-bottom:20px}
  .fcols{grid-template-columns:1fr 1fr}
  .fcols>div:nth-child(3){grid-column:1/-1}
}
/* ===== v1 multi-page additions ===== */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.nav a.parent{color:var(--ink);font-weight:600}
.nav ul.sub a{white-space:normal}
.nav ul.sub a.active{color:var(--ink);font-weight:600}
.pills.center{justify-content:center}
:root{--body:rgba(0,0,0,.72)}
/* detail page header */
.dhead{padding-top:clamp(40px,6vw,76px)}
.dhead h1{font-size:clamp(32px,4.2vw,48px);line-height:1.08;letter-spacing:-.03em;font-weight:500}
.dhead h1 span{display:block}
.hero-panel{margin-top:clamp(28px,4vw,48px);background:var(--panel);display:flex;justify-content:center;align-items:center}
.hero-panel img{display:block;width:auto;height:auto;max-width:100%;max-height:min(640px,74vh)}
.hero-panel.wide img{width:100%;max-height:none}
.dstats{display:grid;grid-template-columns:repeat(var(--n,3),1fr);margin-top:clamp(28px,4vw,48px);border-bottom:1px solid var(--line)}
.dstats>div{padding:clamp(20px,3vw,36px) clamp(12px,2vw,28px);text-align:center;border-left:1px solid var(--line)}
.dstats>div:first-child{border-left:0}
.dstats b{display:block;font-weight:500;font-size:clamp(26px,3vw,32px);line-height:1.15;letter-spacing:-.03em}
.dstats span{display:block;margin-top:6px;font-size:14px;line-height:20px;color:var(--ink2)}
.dlead-wrap{padding-top:clamp(40px,6vw,72px)}
.dlead{max-width:780px;margin:0 auto;text-align:center;font-size:clamp(19px,2.1vw,24px);line-height:1.32;letter-spacing:-.015em;font-weight:400;text-wrap:pretty}
.dlead a,.dtext a,.pintro a,.pbody a:not(.pill){text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.dlead-wrap .hr{margin-top:clamp(44px,6vw,70px)}
.dlead-wrap .pills{margin-top:28px}
.dbody{padding-top:clamp(56px,7vw,88px)}
.detail section.dbody,.detail section.dlead-wrap{padding-bottom:0}
.drow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);margin-bottom:clamp(48px,7vw,96px);align-items:start}
.drow.solo{grid-template-columns:minmax(0,1fr)}
.drow.solo .dtext{max-width:none}
.drow.mediaonly .dmedia{grid-column:2}
.drow.fullrow{display:block}
.dh{font-weight:500;font-size:clamp(20px,2.1vw,24px);line-height:1.25;letter-spacing:-.02em;color:var(--ink2);margin-bottom:18px;text-wrap:balance}
.fullrow .dh{margin-bottom:22px}
.dtext p,.dtext li{overflow-wrap:anywhere;font-size:16px;line-height:26px;color:var(--body);letter-spacing:-.003em}
.dtext p+p,.dtext p+ul,.dtext ul+p{margin-top:16px}
.dtext ul{list-style:disc;padding-left:20px}
.dtext ul li{margin-top:6px}
.dtext .pills{margin-top:22px}
.dtext p strong,.dtext li strong{color:var(--ink);font-weight:600}
.dmedia{display:flex;flex-direction:column;gap:20px;min-width:0}
.mpanel{display:flex;align-items:center;justify-content:center}
.mpanel img,.mpanel video{display:block;max-width:100%;height:auto;width:100%;max-height:80vh;object-fit:contain}
.mcard figcaption,.mfull figcaption{margin-top:10px;font-size:13px;line-height:19px;color:var(--ink2)}
.vpanel{padding:0}
.vwrap{position:relative;width:100%;aspect-ratio:16/9;background:#000}
.vwrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.mfull .mpanel{margin-inline:auto}
.mgal{gap:clamp(10px,1.6vw,20px);align-items:center}
.mgal>div{min-width:0}
.mfull .mpanel img{width:100%}
.mfull{margin-bottom:clamp(8px,1vw,12px)}
.drow.fullrow+.drow.fullrow{margin-top:calc(-1*clamp(24px,4vw,56px))}
.drow:last-child{margin-bottom:0}
.more{padding-top:clamp(64px,9vw,120px)}
.more h2{font-size:clamp(24px,2.6vw,32px)}
.mgrid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,2.4vw,32px);margin-top:28px}
.mproj{display:flex;flex-direction:column;gap:4px;min-width:0}
.mproj .mimg{background:var(--panel);aspect-ratio:1/1;margin-bottom:14px;overflow:hidden}
.mproj .mimg img{width:100%;height:100%;object-fit:contain;transition:transform 1s cubic-bezier(.2,.8,.2,1)}
.mproj:hover .mimg img{transform:scale(1.04)}
.mproj h3{font-weight:500;font-size:20px;line-height:26px;letter-spacing:-.02em}
.mproj .meta{font-size:14px;line-height:20px;font-weight:500;color:var(--ink2)}
.cta{text-align:center;padding-top:clamp(72px,10vw,128px)}
.cta-art{display:block;width:min(420px,80%);height:auto;margin:0 auto 20px}
.cta h2{font-size:clamp(28px,3.4vw,40px)}
.cta .pills{justify-content:center;margin-top:26px}
/* listing (projects / publications / personal) */
.listing section{padding-top:clamp(40px,6vw,72px)}
.prow{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(20px,4vw,56px);padding:clamp(28px,4vw,44px) 0;border-top:1px solid var(--line);align-items:start}
.prow:first-child{border-top:0;padding-top:0}
.pimg{background:var(--panel);display:flex;justify-content:center;align-items:center}
.pimg img{width:auto;max-width:100%;height:auto;max-height:420px}
.ptxt h2{font-size:clamp(22px,2.4vw,28px);line-height:1.18;letter-spacing:-.025em}
.ptxt h2 a:hover{text-decoration:underline;text-underline-offset:4px}
.pmeta{margin-top:10px;font-size:14px;line-height:20px;font-weight:500;color:var(--ink2)}
.ptxt p:not(.pmeta){margin-top:14px;font-size:16px;line-height:26px;color:var(--body)}
.ptxt .pill{margin-top:22px}
.pub{display:grid;grid-template-columns:90px minmax(0,1fr);gap:clamp(12px,3vw,40px);padding:clamp(28px,4vw,44px) 0;border-top:1px solid var(--line)}
.pub:first-child{border-top:0;padding-top:0}
.pnum{font-size:15px;line-height:22px;font-weight:500;color:var(--n400);padding-top:6px}
.pub h2{font-size:clamp(22px,2.4vw,28px);line-height:1.2;letter-spacing:-.025em;text-wrap:wrap}
.pub p{font-size:16px;line-height:26px;color:var(--body);margin-top:14px}
.pub .pvenue{color:var(--ink2);font-size:15px;line-height:23px}
.pub .pauth{color:var(--ink)}
.pub .pauth strong{font-weight:600}
.pub .abs{font-size:15px;line-height:24px}
.pub .pills{margin-top:22px}
.kskills{columns:1}
.explist{gap:0}
.exp{display:grid;grid-template-columns:72px minmax(0,1fr);gap:20px;padding:22px 0;border-top:1px solid var(--line)}
.exp:first-child{border-top:0;padding-top:0}
.exp .logo-img img{width:72px;height:72px;object-fit:contain}
.exp p{font-size:16px;line-height:26px;color:var(--body)}
.exp p:first-child{color:var(--ink);font-weight:500}
.exp p+p{margin-top:6px}
.pers .sect{margin-top:clamp(48px,6vw,80px);font-size:clamp(26px,3vw,36px);color:var(--ink);letter-spacing:-.03em}
.pers .sect:first-child{margin-top:0}
.pintro{max-width:680px;font-size:16px;line-height:26px;color:var(--body);margin-bottom:12px}
.photos{columns:3 280px;column-gap:clamp(12px,1.6vw,20px);margin-top:28px}
.ph{break-inside:avoid;margin:0 0 clamp(12px,1.6vw,20px)}
.ph a{display:block;background:var(--panel);cursor:zoom-in}
.ph img{width:100%;height:auto}
.ph figcaption{margin-top:8px;font-size:13px;line-height:19px;color:var(--ink2)}
.lb{position:fixed;inset:0;z-index:100;background:rgba(255,255,255,.97);display:flex;align-items:center;justify-content:center;padding:56px 64px}
.lb[hidden]{display:none}
.lb figure{max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;gap:12px}
.lb img{max-width:100%;max-height:calc(100vh - 150px);width:auto;height:auto}
.lb figcaption{font-size:14px;color:var(--ink2);text-align:center}
.lb button{position:absolute;border:1px solid var(--line);background:#fff;border-radius:999px;width:44px;height:44px;font-size:26px;line-height:1;cursor:pointer;color:var(--ink)}
.lbx{top:16px;right:16px}.lbp{left:12px;top:50%;transform:translateY(-50%)}.lbn{right:12px;top:50%;transform:translateY(-50%)}
.lb button:hover{border-color:var(--ink)}
@media (max-width:860px){
  .drow,.drow.solo{grid-template-columns:minmax(0,1fr)}
  .drow.solo .dtext{max-width:none}
  .drow.mediaonly .dmedia{grid-column:auto}
  .hero-panel img{max-height:min(520px,70vh)}
  .dstats{grid-template-columns:1fr}
  .dstats>div{border-left:0;border-top:1px solid var(--line)}
  .dstats>div:first-child{border-top:0}
  .mgrid{grid-template-columns:1fr}
  .prow{grid-template-columns:1fr}
  .pub{grid-template-columns:1fr;gap:4px}
  .pimg img{max-height:360px}
  .lb{padding:56px 12px}
  .mgal{flex-direction:column}
  .mgal>div{flex:none!important;width:100%}
}
@media (max-width:860px){.dh{font-size:22px}}
.drow.solo{margin-bottom:clamp(24px,3vw,40px)}
.drow.solo:last-child{margin-bottom:0}
.toolslabel{font-size:16px;line-height:26px;color:var(--body);margin-bottom:-8px}
/* floating actions auto-hide */
.float{transition:opacity .3s ease,transform .3s ease,visibility 0s linear 0s}
.float.is-hidden{opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-50%) translateY(16px);transition:opacity .3s ease,transform .3s ease,visibility 0s linear .3s}
@media (prefers-reduced-motion: reduce){.float,.float.is-hidden{transition:none;transform:translateX(-50%)}}
/* footer wordmark stress lens */
footer .wordmark{touch-action:none;cursor:crosshair}
.wm-lens{position:fixed;left:0;top:0;width:180px;height:180px;margin:-90px 0 0 -90px;border-radius:50%;pointer-events:none;z-index:60;background-color:#fff;background-repeat:no-repeat;border:1px solid #0f1419;box-shadow:0 0 0 3px #fff,0 8px 28px rgba(0,0,0,.22);opacity:0;transition:opacity .15s ease}
.wm-lens.on{opacity:1}
@media (prefers-reduced-motion:reduce){.wm-lens{transition:none}}
/* Experience: timeline + cards */
.xtl-wrap{position:relative}
.xtl-wrap:after{content:'';position:absolute;top:0;right:0;bottom:0;width:56px;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,0),#fff);opacity:0;transition:opacity .2s}
.xtl-wrap.can-scroll:after{opacity:1}
.xtl-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:clamp(24px,3vw,40px)}
.xtl{position:relative;height:300px;min-width:860px;margin-right:4px}
.xtl-ax{position:absolute;top:140px;left:0;right:0;height:1px;background:var(--line)}
.xtl-bar{position:absolute;top:135px;height:10px;border-radius:5px;background:var(--ink);min-width:8px}
.xtl-bar.soft{opacity:.4}
.xtl-yr{position:absolute;top:158px;transform:translateX(-50%);font-size:13px;color:var(--ink3);font-variant-numeric:tabular-nums}
.xtl-lb{position:absolute;width:300px;display:flex;flex-direction:column;gap:2px;font-size:13px;line-height:18px;color:var(--ink2)}
.xtl-lb b{font-size:16px;line-height:22px;font-weight:600;color:var(--ink)}
.xtl-lb.up{top:0;height:122px;justify-content:flex-end}
.xtl-lb.dn{top:190px}
.xcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.xcard{background:var(--panel);border-radius:20px;padding:24px}
.xlogo img{width:44px;height:44px;object-fit:contain;display:block;margin-bottom:18px}
.xcard h3{font-size:17px;line-height:22px;font-weight:600;letter-spacing:-.01em;min-height:44px;margin-bottom:8px}
.xrole{padding:10px 0;border-top:1px solid var(--line)}
.xrole b{display:block;font-weight:500;font-size:15px;line-height:21px}
.xrole span{font-size:13px;line-height:19px;color:var(--ink2)}
@media (max-width:560px){.xcards{grid-template-columns:1fr}.xcard h3{min-height:0}.xtl{min-width:780px}}
.c-tsl{background:#E51837}.c-rvn{background:#FFB100}.c-isol{background:#1F3A6E}.c-vesl{background:#8EC5EA}
.xlogo img{margin-left:0}
.xlogo{width:56px;height:48px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.xlogo a{display:flex}.xlogo img{margin:0!important;object-fit:contain}
.xlogo .lg-tsl{width:40px;height:40px}.xlogo .lg-rvn{width:43px;height:42px}.xlogo .lg-vesl{width:40px;height:40px}.xlogo .lg-isol{width:52px;height:27px}
/* Technical Skills: two panels */
.skw{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.skp{background:var(--panel);border-radius:20px;padding:32px}
.skl{font-size:13px;line-height:18px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#536471;margin-bottom:12px}
.kslist{list-style:none;margin:0;padding:0}
.kslist li{display:flex;align-items:center;gap:16px;padding:14px 0;border-top:1px solid var(--line);font-size:17px;line-height:24px;color:var(--ink)}
.kslist li:first-child{border-top:0}
.kslist svg{flex:none;color:#536471;stroke-width:1.5}
.tgrp+.tgrp{margin-top:24px}
.tgrp h4{font-size:14px;font-weight:400;color:var(--ink2);margin-bottom:10px}
.trow{display:flex;flex-wrap:wrap;gap:10px}
.tchip{background:#fff;border-radius:14px;height:64px;padding:0 18px;display:flex;align-items:center;justify-content:center}
.tchip img{width:auto;max-width:none;display:block}
@media (max-width:860px){.skw{grid-template-columns:1fr}.skp{padding:24px}}
@media (max-width:420px){.tchip{height:56px;padding:0 14px}.tchip img{transform:scale(.9)}}
.dlead .pron{color:var(--ink3);font-weight:300}
.contact{margin-top:auto;align-self:flex-start;position:relative}
.contact .btn-out{margin-top:0;font:inherit;font-size:15px;line-height:22px;font-weight:500;color:inherit;cursor:pointer}
.cmenu{position:absolute;left:0;bottom:calc(100% + 8px);z-index:60;min-width:160px;display:flex;flex-direction:column;padding:6px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 10px 30px rgba(15,20,25,.12)}
.cmenu[hidden]{display:none}
.cmenu a{padding:8px 14px;border-radius:10px;font-size:15px;line-height:22px;font-weight:500;color:var(--ink)}
.cmenu a:hover,.cmenu a:focus-visible{background:var(--panel);outline:none}
@media (max-width:860px){.cmenu{bottom:auto;top:calc(100% + 8px)}}
/* YouTube facade (option 2) */
.drow.ytrow{margin-top:8px}
.ytv{margin:0}
.ytf{position:relative;display:block;width:100%;aspect-ratio:16/9;border-radius:24px;overflow:hidden;background:#111;cursor:pointer;border:0;padding:0}
.ytf img,.ytf iframe{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;border:0}
.ytf img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.ytf:hover img{transform:scale(1.02)}
.ytf .pb{position:absolute;left:50%;top:50%;width:72px;height:72px;margin:-36px 0 0 -36px;border-radius:50%;background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 8px 30px rgba(0,0,0,.25);display:grid;place-items:center;transition:transform .3s}
.ytf:hover .pb{transform:scale(1.08)}
.ytf .pb:after{content:"";margin-left:5px;border-style:solid;border-width:11px 0 11px 18px;border-color:transparent transparent transparent #0A0A0A}
.ytf:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.ytf.on{cursor:auto}
.ytcap{display:grid;grid-template-columns:1fr auto;gap:24px;margin-top:18px;font-size:14px;line-height:22px;color:var(--ink2)}
.ytcap b{display:block;color:var(--ink);font-weight:600;font-size:20px;line-height:28px;letter-spacing:-.015em;margin-bottom:2px}
.ytv noscript a{display:inline-block;margin-top:10px;text-decoration:underline}
@media (max-width:860px){.ytv{margin-inline:0}.ytf{border-radius:16px}.ytcap{grid-template-columns:1fr;gap:4px;padding:0 20px}.ytcap b{font-size:17px;line-height:24px}}
/* portrait card: 3D tilt + glare */
.pcard-stage{perspective:900px}
.pcard{position:relative;max-width:300px;margin:0;padding:12px 12px 0;background:var(--panel,#F4F4F4);border-radius:31px;overflow:hidden;transform-style:preserve-3d;transition:transform .5s cubic-bezier(.2,.7,.2,1),box-shadow .5s;will-change:transform}
.pcard.tilt{transition:transform .12s ease-out,box-shadow .3s;box-shadow:18px 26px 50px rgba(0,0,0,.16)}
.pcard-img{aspect-ratio:1/1;border-radius:19px;overflow:hidden;background:#ddd}
.pcard-img img{display:block;width:100%;height:100%;object-fit:cover}
.pcard-glare{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .4s;background:radial-gradient(circle at var(--gx,30%) var(--gy,20%),rgba(255,255,255,.5),transparent 55%)}
.pcard.tilt .pcard-glare{opacity:1}
.pcard figcaption{display:flex;justify-content:space-between;gap:8px;padding:11px 4px 13px;font-size:13px;line-height:18px}
.pcard figcaption span{color:var(--ink2)}
@media(max-width:820px){.pcard{max-width:172px;padding:8px 8px 0;border-radius:16px}.pcard-img{border-radius:11px}.pcard figcaption{flex-direction:column;gap:0;padding:8px 2px 10px;font-size:12px;line-height:16px}}
@media(max-width:860px){.pcard{max-width:min(100%,360px);padding:12px 12px 0;border-radius:31px}.pcard-img{border-radius:19px}.pcard figcaption{flex-direction:row;justify-content:space-between;gap:8px;padding:11px 4px 13px;font-size:13px;line-height:18px}}
@media(prefers-reduced-motion:reduce){.pcard,.pcard.tilt{transition:none;transform:none!important}.pcard-glare{display:none}}
.pchips{display:flex;flex-wrap:wrap;gap:10px;margin-top:clamp(28px,4vw,44px)}.pchips a{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 14px;border:1px solid var(--line);border-radius:999px;color:inherit;text-decoration:none;font-size:15px;transition:background .2s}.pchips a:hover{background:var(--panel)}.pchips img{width:18px;height:18px;object-fit:contain}.pchips i{width:10px;height:10px;border-radius:50%;background:#9AA3AB}.pchips em{font-style:normal;font-size:13px;background:var(--panel);border-radius:999px;min-width:26px;height:26px;display:grid;place-items:center;font-weight:500}
html{scroll-behavior:smooth}.group{scroll-margin-top:24px}
.mpanel.r169{aspect-ratio:16/9;overflow:hidden;background:var(--panel)}.mpanel.r169 img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:50% 50%}
.mpanel.r169.fit{background:#fff}.mpanel.r169.fit img{object-fit:contain}
.ytf.lvf{cursor:auto}.ytf.lvf video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.lvm{position:absolute;right:16px;bottom:16px;border:0;border-radius:999px;padding:8px 14px;font:500 13px/18px inherit;font-family:inherit;color:#0A0A0A;background:rgba(255,255,255,.85);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer}
.lvm:focus-visible{outline:2px solid #fff;outline-offset:3px;box-shadow:0 0 0 5px var(--ink)}
.pill,.pill:hover,.pill:focus,.pill:focus-visible,.pill:active{text-decoration:none!important}
.pill:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.eqp{margin-top:18px;background:#F4F4F4;border-radius:16px;padding:clamp(14px,2vw,22px) clamp(16px,2.4vw,28px);overflow-x:auto;-webkit-overflow-scrolling:touch;color:var(--ink)}.eqp .katex-display{margin:0}.eqp .katex{font-size:1.18em;color:var(--ink)}
.pchips img.jlr{width:16px;height:14px}
.mpanel.r169:not(.fit){background:transparent;padding:0}.mpanel.r169:not(.fit) img{display:block}
.mcard figcaption a,.mfull figcaption a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.hero-panel{aspect-ratio:16/9;overflow:hidden;background:none}.hero-panel img,.hero-panel.wide img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:50% 50%}
/* Home About: option 2 */
@media (min-width:861px){.about-grid{align-items:start}.about-grid>.reveal:last-child{max-width:520px}.about-grid p:not(.muted){font-size:23px;line-height:31px;font-weight:500;letter-spacing:-.02em}.about-grid p.muted{font-size:15px;line-height:23px;margin-top:18px;max-width:460px}.about-grid .pills{margin-top:28px}}
/* body videos: keep rounded corners */
.vpanel,.vpanel video{border-radius:16px;overflow:hidden}
/* mobile swipe hint for experience timeline */
.xtl-hint{display:none}
@media (max-width:860px){.xtl-hint{display:inline-flex;align-items:center;gap:6px;position:absolute;right:12px;top:8px;z-index:2;padding:6px 12px;border-radius:999px;background:rgba(10,10,10,.82);color:#fff;font-size:12px;line-height:16px;font-weight:500;pointer-events:none;transition:opacity .35s}.xtl-hint i{display:inline-block;font-style:normal;animation:xtlNudge 1.2s ease-in-out infinite}.xtl-hint.off{opacity:0}}
@keyframes xtlNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}
@media (prefers-reduced-motion:reduce){.xtl-hint i{animation:none}}
/* footer wordmark: one-time magnifier guide demo */
.wm-guide{position:fixed;left:0;top:0;z-index:61;pointer-events:none;opacity:0;filter:drop-shadow(0 2px 4px rgba(0,0,0,.25))}
.wm-guide svg{display:block}
footer .wordmark{margin-bottom:calc(28px - .445%)}
@media (max-width:860px){.wm-lens{width:120px;height:120px;margin:-60px 0 0 -60px}footer .wordmark{margin-bottom:calc(34px - .445%)}}
@media (prefers-reduced-motion:reduce){.wm-guide{display:none}}

/* discourage long-press save on images (mobile) */
img,picture{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
