
:root{--bg:#07090c;--text:#f5f7f8;--muted:#a6afb8;--accent:#91f39c;--line:rgba(255,255,255,.09);--mx:50vw;--my:50vh;--gutter:clamp(24px,2.6vw,50px);--timeline-space:250px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
html,body{margin:0;min-height:100%;width:100%}
body{background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}
a{color:inherit;text-decoration:none}button{font:inherit}
canvas{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.noise{position:fixed;inset:0;z-index:1;pointer-events:none;opacity:.022;background-image:repeating-radial-gradient(circle at 0 0,transparent 0,rgba(255,255,255,.35) 1px,transparent 1.3px);background-size:5px 5px;mix-blend-mode:soft-light}
.page-shell{position:relative;z-index:2;width:100%;padding:30px var(--gutter) 80px}
.topbar{display:flex;align-items:center;justify-content:flex-end;gap:24px}
.status,.eyebrow,.section-label,.project-kicker,.project-tags,.project-links,.media-toolbar,.career-timeline,.back-link{font-family:"SFMono-Regular",Consolas,monospace;text-transform:uppercase;letter-spacing:.08em}
.status{display:flex;align-items:center;gap:9px;color:#929ca6;font-size:.67rem}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 14px rgba(145,243,156,.4)}
main{padding-inline:var(--timeline-space)}
.hero{min-height:50svh;display:flex;flex-direction:column;justify-content:center;width:min(100%,1180px);padding:clamp(58px,7vh,92px) 0 clamp(34px,4vh,54px)}
.eyebrow{font-size:.7rem;color:var(--accent);margin-bottom:22px}
.hero h1{margin:0;max-width:10.4ch;font-size:clamp(5rem,8.4vw,10.5rem);line-height:.88;letter-spacing:-.07em;text-wrap:balance}
.hero p{margin:28px 0 0;max-width:760px;color:#a6afb8;font-size:clamp(1rem,1.1vw,1.28rem);line-height:1.65;text-wrap:pretty}
.section-label{margin:0 0 10px;color:#78838d;font-size:.65rem}
.projects{position:relative;display:flex;flex-direction:column;gap:0;border-top:1px solid var(--line);padding:0 0 24px}
.project-scene{position:relative;min-height:0!important;margin:0!important;padding:0!important}
.project-card{position:relative;isolation:isolate;overflow:hidden;width:100%;min-height:clamp(300px,34svh,360px);border:0;border-bottom:1px solid rgba(255,255,255,.085);background:#080b0e;box-shadow:0 10px 34px rgba(0,0,0,.12);overflow-anchor:auto;transition:min-height .82s cubic-bezier(.22,.61,.36,1),border-color .52s ease,box-shadow .62s ease,background-color .62s ease,filter .52s ease}
.project-card.is-focused{min-height:clamp(620px,68svh,720px);border-color:rgba(145,243,156,.2);box-shadow:0 28px 78px rgba(0,0,0,.3);background:#090c0f;z-index:2;filter:brightness(1.02)}
.project-card.is-unfocusing{filter:brightness(.96)}
.project-backdrop{position:absolute;inset:0;z-index:-2;overflow:hidden;opacity:.58;transition:opacity .72s cubic-bezier(.22,.61,.36,1);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 4%,#000 96%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 4%,#000 96%,transparent 100%)}
.project-card.is-focused .project-backdrop{opacity:.76}
.backdrop-layer{position:absolute;inset:-3%;background-size:cover;background-position:50% 50%;opacity:0;transform:scale(1);filter:saturate(1.06) contrast(1.025) brightness(1.06);transition:opacity 1.3s cubic-bezier(.22,.61,.36,1),transform .8s ease}
.backdrop-layer.is-visible{opacity:1}
.project-card.is-focused .backdrop-layer.is-visible{animation:focusedBackdropDrift 9s ease-in-out infinite alternate;will-change:transform}
@keyframes focusedBackdropDrift{0%{transform:scale(1.035) translate3d(var(--pan-x-a,-.8%),var(--pan-y-a,.4%),0)}100%{transform:scale(1.085) translate3d(var(--pan-x-b,.9%),var(--pan-y-b,-.55%),0)}}
.project-card::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(7,9,12,.93) 0%,rgba(7,9,12,.78) 30%,rgba(7,9,12,.48) 62%,rgba(7,9,12,.28) 82%,rgba(7,9,12,.5) 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 3%,#000 97%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 3%,#000 97%,transparent 100%)}
.project-header{position:relative;z-index:2;width:100%;min-height:clamp(300px,34svh,360px);border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;padding:34px clamp(30px,2.8vw,54px);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;overflow-anchor:auto;transition:min-height .8s cubic-bezier(.22,.61,.36,1),padding .68s cubic-bezier(.22,.61,.36,1),opacity .42s ease,transform .58s cubic-bezier(.22,.61,.36,1)}
.project-card.is-focused .project-header{min-height:128px;padding-top:28px;padding-bottom:22px;transform:translateY(0)}
.project-card.is-unfocusing .project-header{opacity:.9;transform:translateY(4px)}
.project-heading{min-width:0}.project-kicker{display:flex;flex-wrap:wrap;gap:8px 15px;margin-bottom:12px;color:var(--accent);font-size:clamp(.66rem,.67vw,.8rem)}.project-title{display:block;font-size:clamp(2.25rem,2.7vw,3.35rem);font-weight:750;line-height:1.04;letter-spacing:-.04em;color:#eef1f3}.project-toggle{width:42px;height:42px;border:1px solid rgba(255,255,255,.17);border-radius:50%;display:grid;place-items:center;color:#a1abb4;background:rgba(7,9,12,.55);transition:transform .68s cubic-bezier(.22,.61,.36,1),color .35s,border-color .35s}.project-card.is-focused .project-toggle{transform:rotate(45deg);color:var(--accent);border-color:rgba(145,243,156,.45)}
.project-content{position:relative;z-index:2;display:grid;grid-template-columns:minmax(300px,.82fr) minmax(480px,1.18fr);gap:clamp(30px,3vw,58px);align-items:start;padding:0 clamp(30px,2.8vw,54px);max-height:0;opacity:0;visibility:hidden;overflow:hidden;overflow-anchor:none;transform:translateY(-22px) scale(.992);pointer-events:none;transition:max-height .78s cubic-bezier(.22,.61,.36,1),opacity .34s ease,transform .62s cubic-bezier(.22,.61,.36,1),padding .7s cubic-bezier(.22,.61,.36,1),visibility 0s linear .78s}
.project-card.is-focused .project-content{max-height:520px;opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto;padding:0 clamp(30px,2.8vw,54px) 36px;transition:max-height .82s cubic-bezier(.22,.61,.36,1),opacity .46s .12s ease,transform .7s .06s cubic-bezier(.22,.61,.36,1),padding .72s cubic-bezier(.22,.61,.36,1),visibility 0s}
.project-card.is-unfocusing .project-content{opacity:0;transform:translateY(-16px) scale(.994)}
.project-copy{font-size:clamp(.93rem,.88vw,1.06rem);line-height:1.6;color:#c3cad0;text-shadow:0 2px 14px rgba(0,0,0,.55)}.project-copy p{margin:0 0 14px}.project-role{color:#f1f3f4;font-weight:700}.project-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}.project-tags span{border:1px solid rgba(255,255,255,.13);padding:5px 8px;font-size:.57rem;color:#a9b2ba;background:rgba(7,9,12,.42)}.project-links{display:flex;gap:15px;margin-top:20px}.project-links a{font-size:.64rem;color:var(--accent)}
.media-carousel{width:min(100%,720px);justify-self:end;min-width:0;opacity:.98;transform:translateY(0);transition:opacity .45s .18s ease,transform .6s .1s cubic-bezier(.22,.61,.36,1)}.project-card:not(.is-focused) .media-carousel{opacity:.86;transform:translateY(8px)}
.media-stage{position:relative;width:100%;aspect-ratio:16/9;background:#020304;border:1px solid rgba(255,255,255,.12);overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.34)}.media-slide{position:absolute;inset:0;display:none}.media-slide.active{display:block}.media-slide iframe{display:block;width:100%;height:100%;border:0}.media-placeholder{width:100%;height:100%;display:grid;place-items:center;color:#75808a;background:#020304;font-family:"SFMono-Regular",Consolas,monospace;font-size:.63rem;letter-spacing:.08em;text-transform:uppercase}.media-toolbar{min-height:34px;margin-top:7px;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;color:#89939c;font-size:.58rem}.media-controls{display:flex;gap:6px}.media-controls button{width:30px;height:30px;border:1px solid rgba(255,255,255,.12);background:rgba(7,9,12,.64);color:#a5afb8;cursor:pointer}.media-controls button:hover{color:var(--accent);border-color:rgba(145,243,156,.45)}.media-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-count{color:#707b84;white-space:nowrap}
.career-timeline{--timeline-progress:0;position:fixed;z-index:20;right:28px;top:18vh;bottom:16vh;width:205px;opacity:0;pointer-events:none;transition:opacity .3s ease}.career-timeline.is-visible{opacity:1;pointer-events:auto}.timeline-track{position:absolute;right:8px;top:0;bottom:0;width:1px;background:rgba(255,255,255,.15)}.timeline-fill{position:absolute;right:0;top:0;width:1px;height:calc(var(--timeline-progress)*100%);background:var(--accent);box-shadow:0 0 14px rgba(145,243,156,.38)}.timeline-nodes{position:relative;width:100%;height:100%}.timeline-node{position:absolute;right:0;transform:translateY(-50%);width:100%;padding:8px 28px 8px 0;border:0;background:none;color:#75818b;cursor:pointer;text-align:right;font-family:"SFMono-Regular",Consolas,monospace;text-transform:uppercase;letter-spacing:.06em;line-height:1.15}.timeline-node::after{content:"";position:absolute;right:3px;top:50%;width:10px;height:10px;border:1px solid #4a545d;border-radius:50%;background:#090c0f;transform:translateY(-50%);transition:all .25s ease}.timeline-company{display:block;font-size:.76rem;color:#77838c}.timeline-project{display:block;margin-top:3px;font-size:1rem;font-weight:700;color:#aeb7be}.timeline-node small{display:block;margin-top:4px;font-size:.72rem;color:#66727b}.timeline-node.is-active .timeline-company{color:#a6b8a9}.timeline-node.is-active .timeline-project{color:#f2f6f3}.timeline-node.is-active small{color:var(--accent)}.timeline-node.is-active::after{width:13px;height:13px;right:1px;background:var(--accent);border-color:var(--accent);box-shadow:0 0 18px rgba(145,243,156,.45)}
.back-link{display:inline-block;margin-top:18px;color:#a6afb8;font-size:.7rem}.back-link:hover{color:#fff}
@media(max-width:1320px){:root{--timeline-space:0}.career-timeline{display:none}main{padding-inline:0}.projects{padding-bottom:24px}.project-card,.project-header{min-height:260px}.project-card.is-focused{min-height:auto}.project-content{grid-template-columns:1fr}.project-card.is-focused .project-content{max-height:1200px}.media-carousel{justify-self:stretch;width:100%}.hero{min-height:46svh}}
@media(max-width:720px){.page-shell{padding:24px 22px 60px}.topbar{justify-content:flex-end}.hero{min-height:44svh;padding:52px 0 30px}.hero h1{font-size:clamp(3.7rem,17vw,6rem);max-width:9ch}.project-card,.project-header{min-height:220px}.project-card.is-focused{min-height:auto}.project-header{padding:24px 18px}.project-content,.project-card.is-focused .project-content{padding-left:18px;padding-right:18px}.project-title{font-size:clamp(1.8rem,8vw,2.6rem)}.project-kicker{font-size:.58rem}.media-count{display:none}}

/* Mobile is a first-class layout, not a squeezed desktop composition. */
@media(max-width:720px){
  html,body{overflow-x:hidden!important}
  body.professional-page{--gutter:0!important}
  body.professional-page .page-shell{padding:calc(16px + env(safe-area-inset-top)) 16px calc(44px + env(safe-area-inset-bottom))!important}
  body.professional-page .topbar{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;align-items:start!important;justify-items:stretch!important;min-height:0!important;margin:0 0 28px!important}
  body.professional-page .topbar .site-nav{position:static!important;inset:auto!important;transform:none!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 14px!important;width:100%!important;max-width:none!important;overflow:visible!important;padding:0!important;white-space:normal!important;font-size:.68rem!important;line-height:1.25!important}
  body.professional-page .topbar .site-nav a{display:block!important;min-width:0!important;padding:7px 0!important;white-space:normal!important;overflow-wrap:anywhere!important}
  body.professional-page .topbar .status{justify-self:start!important;max-width:24ch!important;font-size:.58rem!important;line-height:1.4!important;letter-spacing:.075em!important;margin-top:2px!important}
  body.professional-page main{padding-inline:0!important}
  body.professional-page .hero{min-height:0!important;padding:18px 0 34px!important;width:100%!important}
  body.professional-page .hero h1{font-size:clamp(3rem,15.5vw,4.55rem)!important;line-height:.9!important;letter-spacing:-.06em!important;max-width:7.5ch!important;text-wrap:balance!important}
  body.professional-page .hero p{margin-top:20px!important;max-width:34ch!important;font-size:1rem!important;line-height:1.55!important}
  body.professional-page .section-label{font-size:.59rem!important;line-height:1.5!important;margin-bottom:10px!important}
  body.professional-page .projects{width:100%!important}
  body.professional-page .project-card,
  body.professional-page .project-card:not(.is-focused),
  body.professional-page .project-card.is-focused{min-height:0!important;height:auto!important}
  body.professional-page .project-header,
  body.professional-page .project-card:not(.is-focused) .project-header{min-height:190px!important;height:auto!important;padding:22px 18px!important;display:flex!important;align-items:center!important}
  body.professional-page .project-card.is-focused .project-header{min-height:0!important;padding:24px 18px 18px!important}
  body.professional-page .project-heading{width:100%!important}
  body.professional-page .project-kicker{gap:6px 9px!important;font-size:.55rem!important;line-height:1.35!important;margin-bottom:11px!important}
  body.professional-page .project-title{font-size:clamp(2rem,9vw,2.8rem)!important;line-height:1!important;letter-spacing:-.045em!important;overflow-wrap:anywhere!important}
  body.professional-page .project-card::after{background:linear-gradient(180deg,rgba(7,9,12,.5) 0%,rgba(7,9,12,.72) 48%,rgba(7,9,12,.94) 100%)!important;-webkit-mask-image:none!important;mask-image:none!important}
  body.professional-page .project-backdrop{-webkit-mask-image:none!important;mask-image:none!important;opacity:.55!important}
  body.professional-page .project-card.is-focused .project-content{display:grid!important;grid-template-columns:1fr!important;max-height:none!important;overflow:visible!important;padding:0 18px 28px!important;gap:22px!important}
  body.professional-page .project-copy{font-size:.98rem!important;line-height:1.58!important}
  body.professional-page .project-role{font-size:1rem!important;line-height:1.45!important}
  body.professional-page .project-tags{gap:7px!important;margin-top:16px!important}
  body.professional-page .project-tags span{font-size:.54rem!important;padding:6px 7px!important}
  body.professional-page .project-links{flex-wrap:wrap!important;gap:10px 16px!important}
  body.professional-page .media-carousel{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;justify-self:stretch!important;transform:none!important;margin-top:2px!important}
  body.professional-page .media-stage{width:100%!important;aspect-ratio:16/9!important}
  body.professional-page .media-toolbar{grid-template-columns:auto minmax(0,1fr)!important;gap:10px!important;font-size:.54rem!important}
  body.professional-page .media-count{display:none!important}
  body.professional-page .back-link{margin-top:26px!important}
}

@media(max-width:420px){
  body.professional-page .page-shell{padding-left:14px!important;padding-right:14px!important}
  body.professional-page .topbar .site-nav{grid-template-columns:1fr 1fr!important;gap:5px 12px!important;font-size:.64rem!important}
  body.professional-page .hero h1{font-size:clamp(2.85rem,15vw,4rem)!important}
  body.professional-page .hero p{font-size:.96rem!important}
  body.professional-page .project-header,
  body.professional-page .project-card:not(.is-focused) .project-header{min-height:176px!important;padding-left:15px!important;padding-right:15px!important}
  body.professional-page .project-card.is-focused .project-header,
  body.professional-page .project-card.is-focused .project-content{padding-left:15px!important;padding-right:15px!important}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.project-card,.project-header,.project-content,.project-toggle,.project-backdrop,.backdrop-layer,.career-timeline,.timeline-node::after,.media-carousel{transition:none!important;animation:none!important}}