:root{--ink:#0b1115;--film:#090d12;--white:#eff3f1;--teal:#b7f1d9;--muted:#a8b3b3;--line:rgba(255,255,255,.17)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--film);color:var(--white);font-family:'DM Sans',sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}em{font-style:normal;color:var(--teal)}.skip{position:fixed;top:-100px;left:12px;padding:12px 18px;background:#fff;color:#000;z-index:999}.skip:focus{top:12px}.container{width:min(1240px,calc(100% - 100px));margin:auto}
.site-nav{position:fixed;z-index:90;top:0;left:0;right:0;height:88px;transition:background .3s,backdrop-filter .3s}.site-nav.is-scrolled{background:rgba(5,10,13,.84);backdrop-filter:blur(22px);border-bottom:1px solid rgba(255,255,255,.09)}.nav-inner{width:min(1440px,calc(100% - 88px));height:100%;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:24px}.wordmark{display:flex;align-items:center;gap:14px;min-width:220px}.symbol{font-family:Manrope,sans-serif;font-weight:800;font-size:26px;letter-spacing:-.1em}.symbol-dot{color:#b6f3d7}.wordmark-text{font-size:10px;letter-spacing:.16em;font-weight:700;line-height:1.3}.wordmark-text small{display:block;font-size:9px;letter-spacing:.14em;color:#bed0cd;margin-top:3px}.nav-links{display:flex;gap:34px;font-size:12px;color:#d9e2df;letter-spacing:.02em}.nav-links a:hover,.nav-cv:hover{color:#b6f3d7}.nav-cv{border:1px solid rgba(255,255,255,.4);padding:11px 18px;border-radius:999px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;white-space:nowrap}
.reel-scroll{height:490svh;position:relative}.reel-sticky{height:100svh;min-height:460px;position:sticky;top:0;overflow:hidden;background:#090d12;isolation:isolate}.film{position:absolute;inset:0;overflow:hidden;background:#0c151b}.film-fallback,.film-video,.film-shade,.film-grain{position:absolute;inset:0;width:100%;height:100%}.film-fallback{background:linear-gradient(90deg,rgba(0,0,0,.5),transparent 70%),url('assets/studio-backview.webp') center center / cover no-repeat}.film-video{object-fit:cover;object-position:center 48%;filter:saturate(.83) contrast(1.045);pointer-events:none;will-change:opacity}.film-video-one{opacity:1}.film-video-two{opacity:0}.film-shade{pointer-events:none;background:linear-gradient(90deg,rgba(3,8,12,.88) 0%,rgba(3,8,12,.54) 33%,rgba(3,8,12,.04) 79%),linear-gradient(0deg,rgba(3,8,12,.62) 0%,transparent 37%,rgba(3,8,12,.23) 100%)}.film-grain{opacity:.17;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");mix-blend-mode:soft-light}.reel-stage{position:relative;z-index:2;height:100%;padding:128px max(60px,calc((100vw - 1280px)/2)) 50px;display:flex;flex-direction:column;justify-content:space-between}.reel-rail,.reel-footer{display:flex;align-items:center;justify-content:space-between;gap:24px}.reel-rail{font-size:10px;font-weight:700;letter-spacing:.18em;color:#d8e3df}.rail-live{display:inline-flex;align-items:center;gap:12px}.rail-live i{width:7px;height:7px;border-radius:50%;background:#b7f1d9;box-shadow:0 0 18px #b7f1d9}.rail-take{opacity:.8}.copy-stack{position:relative;width:min(750px,70%);min-height:360px;display:flex;align-items:center}.reel-copy{position:absolute;inset:0;display:none;flex-direction:column;justify-content:center;opacity:0;visibility:hidden;transform:translateY(24px);pointer-events:none}.reel-copy.is-current{display:flex;opacity:1;visibility:visible;transform:translateY(0);animation:copyReveal .45s ease both}@keyframes copyReveal{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.eyebrow{font-size:11px;letter-spacing:.21em;font-weight:700;color:#beeadc;text-transform:uppercase}.reel-copy h1,.reel-copy h2{font:800 clamp(55px,6.8vw,113px)/.98 Manrope,sans-serif;letter-spacing:-.065em;max-width:10ch;margin:23px 0}.reel-copy h2{font-size:clamp(50px,5.6vw,85px);max-width:12ch}.reel-copy p{max-width:480px;color:#e1e9e5;font-size:clamp(17px,1.5vw,21px);line-height:1.55;margin:0}.reel-footer{font-size:10px;letter-spacing:.13em;font-weight:700}.scroll-note{display:flex;align-items:center;gap:11px;white-space:nowrap}.scroll-icon{height:35px;width:22px;border:1px solid #d8eee5;border-radius:14px;display:grid;place-items:start center;padding-top:7px}.scroll-icon i{height:8px;width:2px;background:#d8eee5;border-radius:2px;animation:scrollCue 1.6s infinite}@keyframes scrollCue{0%{transform:translateY(0);opacity:1}100%{transform:translateY(9px);opacity:.1}}.timeline{position:relative;height:2px;background:rgba(255,255,255,.28);flex:1;max-width:260px}.timeline i{position:absolute;inset:0 auto 0 0;width:0;background:#b7f1d9}.skip-reel{border:0;background:none;padding:12px 0;color:#eef4f1;font-size:10px;letter-spacing:.13em;text-transform:uppercase;white-space:nowrap}.skip-reel:hover{color:#b7f1d9}
.statement{background:#e8e9e4;color:var(--ink);padding:150px 0 165px}.statement-grid{display:grid;grid-template-columns:240px 1fr;gap:50px}.section-index{font-size:10px;font-weight:700;letter-spacing:.17em;display:flex;align-items:center;gap:12px;white-space:nowrap}.index-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.kicker-dark{font-size:11px;letter-spacing:.19em;font-weight:700;color:#5d7470;margin:0 0 35px}.statement h2{font:800 clamp(45px,5vw,78px)/1.07 Manrope,sans-serif;letter-spacing:-.055em;margin:0 0 60px;max-width:16ch}.statement h2 em{color:#77978b}.statement-bottom{display:grid;grid-template-columns:1.3fr .7fr;gap:40px;align-items:end}.statement-bottom p{font-size:clamp(17px,1.45vw,21px);line-height:1.7;color:#374346;margin:0}.statement-bottom strong{color:#10181b}.text-link{font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:700;border-bottom:1px solid #27373a;padding-bottom:13px;display:flex;align-items:center;justify-content:space-between;gap:20px;white-space:nowrap}.text-link:hover{color:#567c71}
.expertise{padding:132px 0 145px;background:#0e1518}.section-top{display:flex;align-items:center;justify-content:space-between;color:#b2c8c0}.section-top p{font-size:10px;letter-spacing:.2em;font-weight:700}.section-title{font:800 clamp(48px,5.5vw,86px)/1.06 Manrope,sans-serif;letter-spacing:-.06em;margin:45px 0 72px}.discipline-list{border-top:1px solid rgba(255,255,255,.25)}.discipline{display:grid;grid-template-columns:82px minmax(260px,1fr) minmax(280px,.9fr) 40px;align-items:center;gap:24px;padding:32px 0;border-bottom:1px solid rgba(255,255,255,.18)}.discipline-index{font-size:12px;color:#a9b7b4}.discipline h3{font:700 clamp(24px,2.2vw,38px)/1.2 Manrope,sans-serif;letter-spacing:-.035em;margin:0}.discipline p{font-size:15px;line-height:1.65;color:#afbbb7;margin:0}.discipline-arrow{font-size:23px;text-align:right;color:#b7f1d9}
.work{padding:125px 0 140px;background:#e8e9e4;color:#121b1c}.work .section-top{color:#536d65}.work-intro{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:end}.work-intro .section-title{margin-bottom:55px}.work-intro .section-title em{color:#739688}.work-intro>p{font-size:18px;line-height:1.6;color:#53605f;margin:0 0 62px}.work-list{border-top:1px solid #a8b2ad}.work-row{display:grid;grid-template-columns:76px minmax(0,1fr) 210px;gap:18px;padding:43px 0 49px;border-bottom:1px solid #abb7b0}.work-number{font-size:12px;font-weight:700;color:#58786d}.work-row h3{font:700 clamp(29px,3vw,46px)/1.08 Manrope,sans-serif;letter-spacing:-.05em;margin:0 0 13px}.work-row p{color:#5a6865;max-width:750px;font-size:16px;line-height:1.7;margin:0 0 20px}.work-label{text-align:right;font-size:10px;letter-spacing:.13em;font-weight:700;color:#5e7770}.tags{display:flex;gap:8px;flex-wrap:wrap}.tags span{border:1px solid #a8b8b0;border-radius:999px;padding:8px 12px;font-size:11px;letter-spacing:.02em;color:#4a635b}
.contact{background:radial-gradient(circle at 80% 26%,rgba(44,105,98,.22),transparent 33%),#071014;padding:115px 0 30px;min-height:85svh}.contact-top{display:flex;justify-content:space-between;gap:28px;font-size:10px;letter-spacing:.12em;color:#bbd5cd}.contact h2{font:800 clamp(64px,9.2vw,145px)/.99 Manrope,sans-serif;letter-spacing:-.07em;margin:112px 0 32px}.contact>div>p{font-size:18px;color:#b1c9be;max-width:620px;line-height:1.7}.contact-links{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin:44px 0 110px}.contact-links>a{border-bottom:1px solid rgba(255,255,255,.5);padding:19px 0;font-size:13px;letter-spacing:.04em;font-weight:700}.contact-links .contact-primary{background:#b7f1d9;color:#0b1514;border-radius:2px;padding:20px 30px;border:none;min-width:200px;display:flex;align-items:center;justify-content:space-between;margin-right:14px}.contact footer{border-top:1px solid rgba(255,255,255,.13);display:flex;justify-content:space-between;color:#849d94;padding-top:22px;font-size:11px}
@media(max-width:980px){.container{width:calc(100% - 64px)}.nav-inner{width:calc(100% - 48px)}.nav-links{gap:18px}.reel-stage{padding:118px 40px 44px}.copy-stack{width:80%}.statement-grid{grid-template-columns:1fr;gap:32px}.statement-bottom{grid-template-columns:1fr}.discipline{grid-template-columns:50px 1fr 1fr 30px}.work-row{grid-template-columns:48px 1fr 140px}}
@media(max-width:680px){.container{width:calc(100% - 40px)}.site-nav{height:72px}.nav-inner{width:calc(100% - 40px)}.wordmark{min-width:0}.symbol{font-size:24px}.wordmark-text{font-size:9px}.wordmark-text small{font-size:8px}.nav-links{display:none}.nav-cv{padding:10px 14px;font-size:9px}.reel-scroll{height:365svh}.reel-sticky{min-height:0}.reel-stage{padding:95px 22px 30px;justify-content:space-between}.reel-rail{font-size:9px;letter-spacing:.1em}.film{height:58%;inset:0 0 auto}.film-video{object-fit:cover;object-position:64% center}.film-fallback{background:linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.1)),url('assets/studio-backview.webp') center center / cover no-repeat}.film-shade{background:linear-gradient(0deg,#090d12 0%,rgba(9,13,18,.1) 55%,rgba(9,13,18,.04) 100%)}.film-grain{display:none}.reel-sticky{background:linear-gradient(180deg,#090d12 0%,#090d12 65%,#091418 100%)}.copy-stack{width:100%;min-height:0;position:absolute;inset:auto 22px 78px;height:calc(42svh - 10px);align-items:flex-start}.reel-copy{justify-content:start;inset:auto 0 0;min-height:100%;padding-top:6px}.reel-copy h1,.reel-copy h2{font-size:clamp(38px,10.1vw,56px);margin:13px 0;max-width:13ch;line-height:1.04}.reel-copy p{font-size:15px;line-height:1.55;max-width:37ch}.eyebrow{font-size:9px;letter-spacing:.16em}.reel-footer{position:absolute;left:22px;right:22px;bottom:27px}.timeline{max-width:100px}.scroll-note{font-size:8px;gap:8px}.scroll-icon{width:17px;height:27px}.skip-reel{display:none}.statement{padding:80px 0}.statement-grid{gap:20px}.statement h2{font-size:clamp(36px,10vw,57px);margin-bottom:26px}.statement-bottom p{font-size:17px}.kicker-dark{font-size:9px;margin-bottom:20px}.expertise{padding:85px 0}.section-title{font-size:clamp(37px,10vw,61px);margin:34px 0 42px}.discipline{grid-template-columns:32px 1fr 24px;gap:14px;padding:23px 0}.discipline h3{font-size:24px}.discipline p{grid-column:2/3;font-size:14px}.discipline-arrow{grid-column:3/4;grid-row:1/2;font-size:20px}.work{padding:86px 0}.work-intro{display:block}.work-intro>p{margin:-20px 0 36px;font-size:16px}.work-row{grid-template-columns:32px 1fr;gap:12px;padding:30px 0}.work-number{font-size:11px}.work-row h3{font-size:29px}.work-row p{font-size:15px}.work-label{display:none}.contact{padding:90px 0 26px;min-height:0}.contact-top>span:last-child{display:none}.contact h2{font-size:clamp(54px,14vw,82px);margin:72px 0 20px}.contact>div>p{font-size:16px}.contact-links{margin:38px 0 74px;gap:24px}.contact footer{font-size:10px;gap:20px}}
@media(max-width:360px){.reel-copy h1,.reel-copy h2{font-size:37px}.reel-copy p{font-size:14px}.rail-take{display:none}.timeline{max-width:60px}.nav-cv{font-size:8px;padding:9px 10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reel-copy{animation:none}.scroll-icon i{animation:none}.film-video{transition:none}}
/* V15 — Career timeline and animated capabilities. The cinematic reel above is unchanged. */
.experience{padding:128px 0 142px;background:#e8e9e4;color:#13211e;border-top:1px solid rgba(30,54,46,.12)}
.experience .section-top{color:#4e6f64}.experience .section-title{margin:0;font-size:clamp(48px,5.6vw,84px);line-height:1.07}.experience .section-title em{color:#78998a}
.history-intro{display:grid;grid-template-columns:1.23fr .77fr;gap:64px;align-items:end;margin:55px 0 87px}.history-intro p{font-size:clamp(16px,1.5vw,19px);line-height:1.7;color:#465b54;max-width:440px;margin:0 0 7px}.history-intro strong{color:#182b23}
.history-layout{display:grid;grid-template-columns:minmax(190px,260px) minmax(0,1fr);gap:8%}.history-aside{min-width:0}.history-sticky{position:sticky;top:125px;padding:22px 18px 30px 0;border-top:1px solid rgba(26,58,45,.4)}.history-overline{font-size:10px;font-weight:800;letter-spacing:.19em;color:#4d7166}.history-sticky>strong{display:block;font:800 clamp(70px,8.4vw,125px)/.9 Manrope,sans-serif;letter-spacing:-.095em;color:#142924;margin:22px 0 10px}.history-sticky>strong span{color:#709c88}.history-sticky>p{color:#405b51;line-height:1.5;font-size:15px;margin:0}.history-counts{display:grid;gap:17px;margin:40px 0 22px;padding-top:24px;border-top:1px solid rgba(26,58,45,.19)}.history-counts>span{display:flex;gap:14px;align-items:baseline;font:800 23px/1 Manrope,sans-serif}.history-counts small{font:600 12px/1.3 'DM Sans',sans-serif;color:#61746a}.history-sticky .history-aside-note{font-size:13px;line-height:1.6;color:#6d8076;max-width:210px}
.history-group-heading{padding:0 0 28px;margin:0 0 16px}.history-group-heading>span{font-size:10px;letter-spacing:.18em;font-weight:800;color:#527a6b}.history-group-heading h3{font:800 clamp(30px,3.2vw,47px)/1.08 Manrope,sans-serif;letter-spacing:-.052em;margin:14px 0 13px}.history-group-heading p{font-size:15px;color:#6d7a72;line-height:1.65;max-width:560px;margin:0}.history-project-heading{margin-top:84px;padding-top:60px;border-top:1px solid #b2bfb6}
.history-track{--track-pct:0%;position:relative;padding:8px 0 0 0;isolation:isolate}.history-line{position:absolute;top:0;bottom:0;left:13px;width:2px;background:rgba(59,103,82,.17);overflow:hidden;border-radius:999px;z-index:0}.history-line>span{display:block;position:absolute;left:0;top:0;width:100%;height:var(--track-pct);background:linear-gradient(180deg,#678d7a,#2a6655 85%,#154e3d);box-shadow:0 0 10px rgba(21,100,74,.2)}
.history-item{display:grid;grid-template-columns:minmax(125px,174px) minmax(0,1fr);gap:22px;position:relative;padding:4px 0 28px 52px;z-index:1;min-width:0;outline-offset:5px}.history-node{position:absolute;left:5px;top:31px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#e8e9e4;border:2px solid #adc3b7;transition:border-color .25s ease,background .25s ease,transform .35s ease}.history-node i{width:5px;height:5px;border-radius:50%;background:#85aa94;transition:background .25s}.history-item.is-visible .history-node,.history-item:hover .history-node,.history-item:focus-visible .history-node{background:#246c54;border-color:#246c54;transform:scale(1.13)}.history-item.is-visible .history-node i{background:#c1f4d9}.history-date{font-size:11px;letter-spacing:.10em;font-weight:800;line-height:1.6;color:#536c60;padding-top:28px}.history-card{background:rgba(255,255,255,.59);border:1px solid rgba(48,90,68,.14);padding:27px 30px 28px;border-radius:17px;box-shadow:0 9px 28px rgba(19,36,28,.035);transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease}.history-item:hover .history-card,.history-item:focus-visible .history-card{transform:translateY(-3px);border-color:rgba(36,108,84,.42);box-shadow:0 14px 40px rgba(19,36,28,.075)}.history-card-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.history-card h4{font:800 clamp(22px,2.35vw,34px)/1.1 Manrope,sans-serif;letter-spacing:-.05em;margin:0}.history-card-number{font-size:12px;letter-spacing:.16em;color:#a2b1a7;font-weight:800}.history-role{font-size:13px;line-height:1.5;font-weight:700;color:#3d7460;margin:11px 0 18px}.history-description{font-size:14px;line-height:1.73;color:#51615a;margin:0}.history-note{border-left:2px solid #6b9e85;padding:0 0 0 12px;margin:15px 0 0;color:#577b69;font-size:12px;line-height:1.6}.history-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:20px}.history-tags span{font-size:10px;line-height:1.4;border:1px solid rgba(53,100,75,.22);padding:7px 10px;border-radius:999px;color:#416b59;background:rgba(198,220,202,.2)}
.skills{background:radial-gradient(ellipse at 90% 12%,rgba(72,136,113,.13),transparent 32%),#0d1518;color:#eff3f1;padding:128px 0 144px}.skills .section-top{color:#a7c9b8}.skills-intro{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:end;margin:48px 0 56px}.skills-intro .section-title{font-size:clamp(45px,5.7vw,82px);margin:0}.skills-intro>p{font-size:clamp(16px,1.45vw,19px);line-height:1.7;color:#aebdb8;max-width:470px;margin:0 0 7px}.skills-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.skill-card{min-width:0;position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:510px;border:1px solid rgba(188,242,216,.14);border-radius:18px;background:linear-gradient(151deg,#172329 0%,#101a1e 55%,#101719 100%);transition:transform .4s ease,border-color .4s ease,box-shadow .4s ease}.skill-card:hover{transform:translateY(-4px);border-color:rgba(183,241,217,.36);box-shadow:0 20px 64px rgba(0,0,0,.17)}.skill-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:24px 27px 0;color:#9ac2b0;font-size:10px;letter-spacing:.16em;font-weight:800}.skill-card-symbol{font-size:26px;font-weight:400;line-height:1;color:#b7f1d9}.skill-content{padding:15px 27px 27px;margin-top:auto}.skill-content h3{font:800 clamp(25px,2.7vw,38px)/1.1 Manrope,sans-serif;letter-spacing:-.05em;margin:0 0 11px}.skill-content>p{font-size:14px;line-height:1.65;color:#adbfba;margin:0 0 17px;min-height:45px}.skill-tags{display:flex;flex-wrap:wrap;gap:7px}.skill-tags span{border:1px solid rgba(188,241,215,.19);border-radius:999px;padding:7px 10px;color:#c4d7cf;font-size:10px;letter-spacing:.008em;transition:border-color .3s,background .3s}.skill-card:hover .skill-tags span{border-color:rgba(188,241,215,.28)}.skills-footnote{font-size:12px;color:#7c9a8f;margin:28px 0 0}
.skill-art{position:relative;flex:0 0 198px;overflow:hidden;margin:13px 27px 12px;border-radius:12px;border:1px solid rgba(178,248,215,.08);background:radial-gradient(circle at 50% 55%,rgba(102,197,166,.13),transparent 64%),#111e23}
.skill-art-agents .art-node{position:absolute;width:90px;height:62px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;border-radius:13px;background:rgba(28,51,53,.96);border:1px solid rgba(175,247,218,.28);box-shadow:0 7px 23px rgba(0,0,0,.15);color:#e8fff3;font-size:10px;font-weight:800;letter-spacing:.10em;z-index:2}.art-node i{width:12px;height:12px;background:#aef0d4;border-radius:50%;box-shadow:0 0 15px rgba(174,240,212,.4)}.node-user{left:9%;top:50%;transform:translateY(-50%)}.node-agent{left:50%;top:50%;transform:translate(-50%,-50%);border-color:rgba(151,255,214,.55)!important}.node-tools{right:9%;top:50%;transform:translateY(-50%)}.agent-track{height:2px;position:absolute;top:50%;left:24%;width:28%;background:linear-gradient(90deg,rgba(183,241,217,.25),#b7f1d9,rgba(183,241,217,.25));transform-origin:left;animation:agentFlow 2.6s ease-in-out infinite}.agent-track-b{left:51%;animation-delay:.55s}.agent-halo{width:180px;height:180px;border-radius:50%;position:absolute;top:50%;left:50%;border:1px solid rgba(150,243,204,.15);transform:translate(-50%,-50%);box-shadow:0 0 35px rgba(74,161,129,.10);animation:haloBreath 5s ease-in-out infinite}
.skill-art-backend{display:grid;place-items:center}.arch-stack{z-index:2;transform:rotate(-7deg);width:min(75%,290px);display:grid;gap:10px}.arch-stack div{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-radius:10px;background:linear-gradient(110deg,rgba(34,74,66,.92),rgba(21,39,42,.96));border:1px solid rgba(177,244,212,.22);color:#c9eada;box-shadow:0 12px 30px rgba(0,0,0,.16);font-size:10px;letter-spacing:.14em;font-weight:800}.arch-stack div:nth-child(2){margin-left:20px}.arch-stack div:nth-child(3){margin-left:40px}.arch-stack i{width:22px;height:4px;border-radius:2px;background:#b1e8cd;box-shadow:0 0 12px rgba(177,232,205,.32)}.skill-card.is-visible .arch-stack>div{animation:archStep 3.7s ease-in-out infinite}.skill-card.is-visible .arch-stack>div:nth-child(2){animation-delay:.22s}.skill-card.is-visible .arch-stack>div:nth-child(3){animation-delay:.44s}.arch-orbit{width:250px;height:250px;border:1px dashed rgba(132,226,188,.12);border-radius:50%;position:absolute;transform:rotate(-12deg)}
.skill-art-front{display:grid;place-items:center}.art-browser{width:min(86%,365px);height:155px;border-radius:12px;overflow:hidden;border:1px solid rgba(179,244,216,.23);background:rgba(13,26,31,.97);box-shadow:0 18px 32px rgba(0,0,0,.28);transform:rotate(-4deg)}.browser-top{height:23px;border-bottom:1px solid rgba(160,228,196,.13);display:flex;gap:5px;align-items:center;padding:0 10px}.browser-top i{width:5px;height:5px;background:#a1ddbd;border-radius:50%;opacity:.6}.browser-layout{display:grid;grid-template-columns:28% 1fr;gap:9px;padding:10px;height:calc(100% - 23px)}.browser-side{border-radius:5px;background:rgba(130,226,194,.05);padding:10px 8px;display:grid;gap:7px;align-content:start}.browser-side i{height:5px;border-radius:5px;background:rgba(169,233,204,.27)}.browser-side i:nth-child(2){width:65%}.browser-side i:nth-child(3){width:83%}.browser-side i:nth-child(4){width:51%}.browser-main{display:grid;gap:9px;grid-template-rows:17px 1fr 8px}.browser-main>span{width:64%;height:14px;border-radius:5px;background:rgba(169,233,204,.32)}.browser-main>div{display:grid;grid-template-columns:1.2fr .8fr;gap:7px}.browser-main>div i{border-radius:5px;background:linear-gradient(135deg,rgba(141,220,185,.35),rgba(95,156,145,.08))}.browser-main>b{width:80%;height:7px;border-radius:5px;background:rgba(169,233,204,.18)}.browser-cursor{position:absolute;left:65%;top:50%;width:17px;height:20px;clip-path:polygon(0 0,0 100%,35% 75%,55% 100%,75% 90%,54% 64%,100% 58%);background:#c9ffe2;filter:drop-shadow(0 0 7px #d7ffe9);animation:cursorDrift 5s ease-in-out infinite}
.skill-art-quality{display:flex;align-items:center;justify-content:space-evenly;padding:0 16px;gap:6px}.quality-path{position:absolute;height:2px;left:13%;right:13%;top:53%;background:rgba(154,234,194,.23)}.quality-stage{z-index:1;width:27%;max-width:104px;height:76px;border-radius:12px;background:#1c3435;border:1px solid rgba(172,240,208,.29);display:grid;place-items:center;gap:6px;color:#d0f2df;font-size:11px;font-weight:800;letter-spacing:.12em}.quality-stage i{height:5px;width:22px;background:#a8e4c7;border-radius:4px}.quality-stage:nth-of-type(3){border-color:rgba(172,240,208,.5)}.quality-beam{position:absolute;top:52%;left:12%;width:18%;height:3px;background:linear-gradient(90deg,transparent,#aaf4ce,transparent);box-shadow:0 0 15px rgba(120,244,194,.6);animation:qualityMove 4s ease-in-out infinite}
@keyframes agentFlow{0%{transform:scaleX(.12);opacity:.18}48%{transform:scaleX(1);opacity:.95}100%{transform:scaleX(.12);opacity:.18}}@keyframes haloBreath{0%,100%{opacity:.45;transform:translate(-50%,-50%) scale(.9)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.05)}}@keyframes archStep{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes cursorDrift{0%,100%{transform:translate(0,0)}45%{transform:translate(-40px,13px)}60%{transform:translate(-21px,-9px)}}@keyframes qualityMove{0%{left:12%;opacity:0}20%{opacity:1}85%{opacity:1}100%{left:75%;opacity:0}}
.motion-ready [data-reveal]{opacity:1;transform:translate3d(0,14px,0);transition:transform .55s cubic-bezier(.16,1,.3,1)}.motion-ready [data-reveal].is-visible{opacity:1;transform:translate3d(0,0,0)}
@media(max-width:1140px){.history-layout{grid-template-columns:190px 1fr;gap:35px}.history-item{grid-template-columns:130px minmax(0,1fr);gap:12px;padding-left:43px}.history-card{padding:24px}.history-sticky>strong{font-size:75px}.skill-card{min-height:530px}}
@media(max-width:900px){.history-layout{display:block}.history-aside{display:none}.history-intro{gap:28px}.history-item{grid-template-columns:145px minmax(0,1fr);padding-left:43px}.history-track{max-width:100%}.skills-intro{gap:28px}.skills-grid{gap:12px}.skill-top{padding:22px 20px 0}.skill-content{padding:15px 20px 22px}.skill-art{margin:12px 20px}}
@media(max-width:680px){.experience{padding:80px 0 95px}.history-intro{display:block;margin:36px 0 52px}.history-intro p{font-size:16px;margin-top:22px}.history-group-heading h3{font-size:31px}.history-group-heading p{font-size:14px}.history-project-heading{margin-top:55px;padding-top:42px}.history-item{display:block;padding:7px 0 20px 37px}.history-line{left:8px}.history-node{left:0;top:24px}.history-date{padding:0;margin-bottom:11px;font-size:10px}.history-card{padding:20px 18px;border-radius:13px}.history-card h4{font-size:25px}.history-role{font-size:12px;margin:7px 0 12px}.history-description{font-size:13px;line-height:1.69}.history-tags{margin-top:15px}.history-tags span{font-size:9px;padding:6px 8px}.skills{padding:82px 0 88px}.skills-intro{display:block;margin:32px 0 34px}.skills-intro>p{margin-top:20px;font-size:16px}.skills-grid{grid-template-columns:1fr;gap:13px}.skill-card{min-height:0}.skill-art{flex-basis:160px}.skill-content h3{font-size:27px}.skill-content>p{min-height:0}.skill-tags span{font-size:10px}.skill-art-agents .art-node{width:70px;height:57px;font-size:8px}.agent-track-a{left:24%}.agent-track-b{left:51%}.skill-art-backend .arch-stack{width:75%}}
@media(max-width:360px){.history-item{padding-left:32px}.skill-art-agents .art-node{width:64px}.skill-art{margin:12px 16px}}
@media(prefers-reduced-motion:reduce){.motion-ready [data-reveal]{opacity:1!important;transform:none!important;transition:none!important}.agent-halo,.agent-track,.arch-stack>div,.browser-cursor,.quality-beam{animation:none!important}.skill-card,.history-card,.history-node{transition:none!important}}

/* V16: Genya is the current product. Highlight it without changing the video chapter. */
#progetti{scroll-margin-top:100px}
.history-item-featured{padding-bottom:38px}
.history-item-featured .history-card{background:linear-gradient(145deg,#fafffc 0%,#e3f0e7 100%);border-color:#a6c8b4;box-shadow:0 14px 42px rgba(34,80,57,.12)}
.history-item-featured .history-node{background:#247b5a;border-color:#247b5a;box-shadow:0 0 0 7px rgba(38,126,86,.1)}
.history-item-featured .history-node i{background:#eaffef}
.history-item-featured .history-date{color:#195b43}
.current-pill{display:inline-flex;gap:6px;align-items:center;margin-top:10px;background:#ddf4e5;border:1px solid rgba(38,120,85,.2);padding:5px 8px;color:#145a3b;border-radius:999px;font-size:9px;letter-spacing:.09em;font-weight:800;white-space:nowrap}
.pulse-dot{width:6px;height:6px;border-radius:50%;background:#258b61;box-shadow:0 0 0 0 rgba(37,139,97,.23);animation:genyaPulse 2.8s ease-out infinite}
.genya-eyebrow{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;letter-spacing:.15em;color:#1c6549;font-weight:800;margin-bottom:16px}
.genya-project-number{color:#739a87}
.genya-card .history-card-head h4{font-size:clamp(27px,3vw,42px)}
.genya-card .history-card-head small{font-family:'DM Sans',sans-serif;font-size:clamp(13px,1.3vw,18px);font-weight:600;letter-spacing:0;color:#547d68}
.genya-card .history-description strong{color:#183f2a}
.genya-flow{margin-top:24px;padding:18px 20px;border-radius:13px;background:#0b211b;color:#e7f7ee;overflow:hidden}
.genya-flow-heading{display:flex;justify-content:space-between;gap:14px;font-size:9px;letter-spacing:.13em;font-weight:800;color:#a3d6bd;margin-bottom:16px}
.genya-flow-heading span:last-child{color:#6aab88}
.genya-flow-steps{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0}
.genya-flow-steps span{white-space:nowrap;font-size:10px;letter-spacing:.04em;font-weight:800;display:inline-flex;align-items:center;gap:6px}
.genya-flow-steps b{width:25px;height:25px;border-radius:7px;display:grid;place-items:center;background:rgba(162,239,194,.14);border:1px solid rgba(175,239,196,.25);font-size:9px;color:#b0f2cc}
.genya-flow-steps i{height:1px;flex:1;min-width:10px;background:linear-gradient(90deg,#366a52,#b7e9cc,#366a52);position:relative;overflow:hidden}
.history-item-featured.is-visible .genya-flow-steps i:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,#baffd9,transparent);animation:genyaFlow 3.6s linear infinite}
.genya-external{display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:#155d42;font-size:12px;font-weight:800;border-bottom:1px solid rgba(21,93,66,.35);padding-bottom:3px}
.genya-external:hover{color:#083c28;border-bottom-color:#083c28}
@keyframes genyaFlow{0%{transform:translateX(-140%)}100%{transform:translateX(160%)}}
@keyframes genyaPulse{0%,100%{box-shadow:0 0 0 0 rgba(37,139,97,.25)}50%{box-shadow:0 0 0 6px rgba(37,139,97,0)}}
@media(max-width:1140px){.genya-flow-steps span{font-size:9px}.genya-flow-steps b{width:21px;height:21px}}
@media(max-width:680px){#progetti{scroll-margin-top:70px}.genya-card{padding:23px 18px}.genya-eyebrow{font-size:9px;letter-spacing:.11em}.genya-card .history-card-head small{display:block;margin-top:5px}.genya-flow{padding:16px 13px}.genya-flow-heading{font-size:8px}.genya-flow-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.genya-flow-steps i{display:none}.genya-flow-steps span{display:flex;flex-direction:column;gap:8px;font-size:8px;align-items:center;text-align:center}.genya-flow-steps b{width:28px;height:28px}.history-item-featured{padding-bottom:30px}}
@media(prefers-reduced-motion:reduce){.pulse-dot,.history-item-featured.is-visible .genya-flow-steps i:after{animation:none!important}}


/* V17 — video chapter snapping and editorial horizontal project journey */
html{scroll-snap-type:y proximity;scroll-padding-top:0}
.reel{scroll-snap-align:start}
.reel-scroll,.reel-scroll{height:auto!important}
.reel-snap-stop{height:100svh;scroll-snap-align:start;scroll-snap-stop:normal;pointer-events:none}
.reel-sticky{z-index:3}
.reel-chapter-nav{position:absolute;z-index:4;top:50%;right:max(32px,calc((100vw - 1360px)/2));transform:translateY(-50%);display:grid;gap:9px;pointer-events:auto}
.reel-chapter-nav button{border:1px solid rgba(240,255,250,.13);background:rgba(5,11,15,.58);color:#c0cec9;border-radius:999px;padding:7px 14px;display:flex;align-items:center;gap:10px;min-width:137px;cursor:pointer;backdrop-filter:blur(7px);transition:background .25s,border-color .25s;white-space:nowrap}
.reel-chapter-nav button[aria-current="step"]{background:rgba(183,241,217,.16);border-color:rgba(183,241,217,.65);color:#f1fff8}
.reel-chapter-nav button span{font-size:11px;font-weight:800;color:#b7f1d9}.reel-chapter-nav button small{font:700 10px 'DM Sans',sans-serif;letter-spacing:.02em}
.reel-chapter-nav button:focus-visible,.journey-controls button:focus-visible{outline:2px solid #72d1ac;outline-offset:3px}
.experience-horizontal{padding:0!important;background:#e9ebe6;color:#172420;overflow:clip}
.journey-opening{padding:118px 0 94px}
.journey-opening .section-title{margin:0;font-size:clamp(48px,5.6vw,85px);line-height:1.06}
.journey-opening-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;margin-top:42px;align-items:end}
.journey-opening-grid p{max-width:570px;font-size:18px;line-height:1.65;color:#465c53;margin:0 0 17px}
.journey-opening-grid p strong{color:#203c30}
.journey-opening-grid .journey-accuracy{font-size:13px;line-height:1.6;color:#687b72;margin-bottom:0;border-left:2px solid #96bbaa;padding-left:15px}
.horizontal-journey{position:relative;min-height:100svh;--journey-progress:0}
.journey-sticky{height:100svh;min-height:630px;position:sticky;top:0;background:radial-gradient(circle at 96% 10%,rgba(107,176,143,.13),transparent 35%),linear-gradient(180deg,#192d28 0%,#10221d 100%);color:#edf7f0;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;padding-top:110px}
.journey-sticky::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.17),transparent 35%)}
.journey-top{width:min(1240px,calc(100% - 100px));display:flex;justify-content:space-between;align-items:center;gap:20px;flex:none}
.journey-overline{display:flex;align-items:center;gap:11px;font-size:11px;letter-spacing:.18em;color:#b2d2bc;font-weight:800}
.journey-pulse{width:7px;height:7px;border-radius:50%;background:#b3f0cb;box-shadow:0 0 18px #92d3aa}
.journey-count{display:flex;gap:6px;font:800 21px Manrope,sans-serif;letter-spacing:-.04em}.journey-count #journeyIndex{color:#b7f1d9}.journey-counter-slash{color:#607b6e}
.journey-ruler{width:min(1240px,calc(100% - 100px));padding-top:18px;flex:none}
.journey-ruler-track{height:3px;border-radius:999px;background:rgba(191,226,203,.15);position:relative;overflow:hidden}
.journey-ruler-track>i{position:absolute;left:0;top:0;height:100%;width:0;background:linear-gradient(90deg,#a3d8b9,#baf8d9);border-radius:999px}
.journey-division{position:absolute;top:0;bottom:0;width:3px;background:#759883;z-index:2}
.journey-ruler-labels{display:flex;justify-content:space-between;margin-top:10px;font-size:10px;letter-spacing:.15em;color:#8aaf9b;font-weight:800}
.journey-viewport{margin-top:22px;position:relative;flex:1;min-height:0;width:100%;overflow:hidden;display:flex;align-items:stretch;outline-offset:-3px}
.journey-track{display:flex;align-items:stretch;gap:20px;padding:3px max(50px,calc((100vw - 1240px)/2)) 10px;will-change:transform;transform:translate3d(0,0,0)}
.journey-card{flex:0 0 clamp(390px,37vw,535px);height:100%;max-height:690px;min-height:470px;display:flex;flex-direction:column;min-width:0;border-radius:16px;background:#f3f5ee;color:#1c2b25;padding:24px 26px 22px;position:relative;border:1px solid rgba(186,230,198,.17);box-shadow:0 28px 50px rgba(3,13,9,.22);transition:border-color .4s, box-shadow .4s}
.journey-card.is-current-card{border-color:rgba(179,240,201,.65);box-shadow:0 28px 54px rgba(0,0,0,.24),0 0 0 2px rgba(190,251,218,.14)}
.journey-card-current{background:linear-gradient(150deg,#fff 0%,#e8f4e8 100%)}
.journey-card-work{background:linear-gradient(155deg,#e8efeb,#f5f7f0)}
.journey-card-meta{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#5a7666;font-size:10px;font-weight:800;letter-spacing:.17em}
.journey-card-index{color:#94a79b}
.journey-card-title{margin:20px 0 8px}.journey-client{font:800 14px 'DM Sans',sans-serif;color:#547566;letter-spacing:.03em}.journey-card-title h3{font:800 clamp(28px,2.55vw,39px)/1.06 Manrope,sans-serif;letter-spacing:-.055em;margin:10px 0}.journey-date{font-size:11px;letter-spacing:.11em;font-weight:800;color:#698273}
.journey-now{display:inline-flex;margin-left:10px;color:#1d6747;background:#d0f0dd;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:800;align-items:center;gap:5px}.journey-now i{width:6px;height:6px;border-radius:50%;background:#279363}
.journey-scope{font:700 12px 'DM Sans',sans-serif;color:#315f4c;margin:9px 0 10px}
.journey-desc{font-size:14px;line-height:1.61;color:#4d6157;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}
.journey-visual{margin-top:auto;background:linear-gradient(145deg,#0c211a,#193529);color:#e6f6ed;padding:17px 16px 16px;border-radius:11px;overflow:hidden;position:relative;border:1px solid rgba(104,157,119,.17)}
.journey-visual-heading{display:flex;justify-content:space-between;gap:10px;font-size:9px;letter-spacing:.12em;font-weight:800;color:#96c9ab;white-space:nowrap;overflow:hidden}.journey-visual-heading span:last-child{max-width:40%;overflow:hidden;text-overflow:ellipsis}
.journey-flow{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:18px 0 16px}.flow-step{min-width:0;flex:1;text-align:center;padding:10px 5px;border-radius:7px;background:rgba(152,230,183,.12);border:1px solid rgba(169,239,197,.2);font:800 9px 'DM Sans',sans-serif;letter-spacing:.025em;color:#d7f5df;overflow-wrap:anywhere;position:relative}.flow-step+.flow-step:before{content:'→';position:absolute;left:-9px;top:50%;transform:translateY(-50%);color:#b7f1d9;z-index:2;background:#1a3429;border-radius:3px;padding:1px 2px;font-size:10px}
.journey-visual-line{height:2px;border-radius:999px;background:rgba(160,227,184,.15);overflow:hidden}.journey-visual-line i{display:block;height:100%;background:linear-gradient(90deg,#79e7a1,#b9f8d3);width:40%;transform:translateX(-120%)}
.journey-card.is-current-card .journey-visual-line i{animation:journeyBeam 3.2s ease-in-out infinite}
@keyframes journeyBeam{0%{transform:translateX(-120%)}100%{transform:translateX(360%)}}
.journey-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px;max-height:73px;overflow:hidden}.journey-tags span{font-size:10px;line-height:1.2;padding:7px 8px;border:1px solid rgba(66,111,78,.2);border-radius:999px;color:#4c6d59;white-space:nowrap}
.journey-bottom{width:min(1240px,calc(100% - 100px));display:flex;align-items:center;justify-content:space-between;flex:none;gap:20px;padding-top:12px;padding-bottom:22px}
.journey-bottom p{margin:0;color:#a5c9b4;font-size:10px;font-weight:800;letter-spacing:.16em}
.journey-controls{display:flex;gap:8px}.journey-controls button{width:42px;height:42px;border-radius:50%;border:1px solid rgba(179,240,202,.38);background:rgba(255,255,255,.05);color:#d6ffe9;cursor:pointer;font-size:19px}.journey-controls button:hover:not(:disabled){background:rgba(190,250,219,.16)}.journey-controls button:disabled{opacity:.3;cursor:default}
.journey-anchor{display:block;height:0}
@media(max-width:1160px){.journey-card{flex-basis:clamp(370px,47vw,510px)}.journey-desc{font-size:13.5px}.reel-chapter-nav{right:18px}}
@media(max-width:900px){.journey-opening{padding:90px 0 70px}.journey-opening-grid{gap:24px}.journey-card{flex-basis:465px}.reel-chapter-nav{display:none}}
@media(max-width:680px){
  html{scroll-snap-type:y proximity}
  .reel-scroll{height:auto!important}.reel-snap-stop{height:72svh}
  .journey-opening{padding:78px 0 54px}.journey-opening-grid{display:block;margin-top:32px}.journey-opening-grid>div{margin-top:27px}.journey-opening-grid p{font-size:16px}.journey-opening-grid .journey-accuracy{font-size:12px}
  .horizontal-journey{height:auto!important;min-height:0}.journey-sticky{height:auto;min-height:0;position:relative;padding-top:26px;padding-bottom:10px}
  .journey-top,.journey-ruler,.journey-bottom{width:calc(100% - 40px)}.journey-overline{font-size:9px;letter-spacing:.1em}.journey-count{font-size:17px}.journey-ruler{padding-top:12px}.journey-ruler-labels{font-size:8px}.journey-viewport{width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;touch-action:pan-x;scroll-snap-type:x mandatory;scroll-padding-inline:20px;scrollbar-width:none;align-items:stretch;margin-top:18px;scroll-behavior:smooth}
  .journey-viewport::-webkit-scrollbar{display:none}.journey-track{gap:12px;padding:0 20px 14px;transform:none!important;will-change:auto;align-items:stretch}
  .journey-card{scroll-snap-align:start;flex:0 0 min(calc(100vw - 52px),440px);height:auto;min-height:525px;max-height:none;padding:20px 19px 19px;box-shadow:0 12px 24px rgba(0,0,0,.13)}
  .journey-card-title{margin:17px 0 6px}.journey-card-title h3{font-size:clamp(26px,7.5vw,33px)}.journey-desc{font-size:13.5px;-webkit-line-clamp:unset;overflow:visible;display:block}.journey-visual{margin-top:25px;padding:14px}.journey-flow{margin:15px 0}.flow-step{font-size:8.5px;padding:9px 4px}.journey-tags{margin-top:14px}.journey-bottom{padding-bottom:20px}.journey-bottom p{font-size:9px;letter-spacing:.08em}
  .journey-viewport:focus-visible{outline:2px solid #93e7bc;outline-offset:-3px}
}
@media(max-width:380px){.journey-card{min-height:550px;padding:18px 16px}.journey-visual{padding:12px 10px}.journey-visual-heading{font-size:8px}.journey-desc{font-size:12.9px;line-height:1.57}.journey-bottom p{max-width:185px}}
@media(prefers-reduced-motion:reduce){html{scroll-snap-type:none!important}.reel-snap-stop{scroll-snap-align:none}.journey-card.is-current-card .journey-visual-line i{animation:none}.journey-track{transition:none!important}.journey-viewport{scroll-behavior:auto}}

@media(max-width:680px){.journey-viewport{touch-action:auto;-webkit-overflow-scrolling:touch}}

/* V17.4 — separate editorial vertical employment history from horizontal projects. */
.work-history-section{padding:112px 0 124px;background:#e8e9e4;color:#15251d}
.work-history-section .history-intro{margin-bottom:70px}
.work-history-section .history-content{min-width:0}
.history-employer{font:800 clamp(24px,2.4vw,34px)/1.12 Manrope,sans-serif;letter-spacing:-.045em;margin:0}
.history-next-link{display:inline-flex;margin-top:25px;color:#22624b;font-weight:800;font-size:13px;gap:9px;border-bottom:1px solid rgba(34,98,75,.32);padding-bottom:7px}
.job-banner{margin-top:24px;padding:20px 20px 18px;background:linear-gradient(145deg,#0c211a,#193529);color:#dcefe4;border:1px solid rgba(142,214,169,.12);border-radius:12px;overflow:hidden}
.job-banner-label{display:flex;justify-content:space-between;align-items:center;gap:14px;color:#b1d7bf;font-size:10px;font-weight:800;letter-spacing:.11em;line-height:1.5}
.job-banner-label span:last-child{max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.job-flow{margin:18px 0 16px;display:flex;align-items:stretch;gap:7px}
.job-flow-step{flex:1;min-width:0;position:relative;padding:12px 6px;background:rgba(146,228,181,.12);border:1px solid rgba(169,239,197,.18);text-align:center;border-radius:7px;font-size:10px;font-weight:800;letter-spacing:.02em;overflow-wrap:anywhere;display:grid;place-items:center}
.job-flow-step+.job-flow-step::before{content:'→';position:absolute;left:-10px;top:50%;transform:translateY(-50%);color:#d0ffe1;background:#183127;border-radius:3px;padding:2px;font-size:9px;z-index:1}
.job-banner-progress{height:2px;border-radius:3px;background:rgba(153,229,184,.15);overflow:hidden}
.job-banner-progress i{display:block;width:45%;height:100%;transform:translateX(-120%);background:linear-gradient(90deg,#58b984,#c0ffdb)}
.history-item.is-visible .job-banner-progress i{animation:journeyBeam 3.5s ease-in-out infinite}
.projects-horizontal{padding:0!important;overflow:clip;background:#e9ebe6}
.projects-horizontal .journey-opening{padding:105px 0 84px}
.projects-horizontal .journey-opening .section-top{color:#4e6f64}
.projects-horizontal .journey-opening .section-title em{color:#668e78}
.projects-horizontal .journey-ruler-labels{color:#98c7aa}
#esperienze,#progetti{scroll-margin-top:0}
@media(max-width:900px){.work-history-section{padding:90px 0 80px}.work-history-section .history-intro{margin-bottom:48px}.projects-horizontal .journey-opening{padding:80px 0 62px}}
@media(max-width:680px){.work-history-section{padding:74px 0 76px}.work-history-section .history-intro{margin:34px 0 38px}.history-employer{font-size:clamp(24px,6.5vw,31px)}.job-banner{margin-top:19px;padding:16px 12px}.job-banner-label{font-size:8px;letter-spacing:.07em}.job-flow{gap:4px;margin:14px 0 14px}.job-flow-step{padding:11px 3px;font-size:8px}.job-flow-step+.job-flow-step::before{left:-7px;font-size:8px}.projects-horizontal .journey-opening{padding:68px 0 50px}}
@media(prefers-reduced-motion:reduce){.history-item.is-visible .job-banner-progress i{animation:none;transform:none}}

/* V18 — cinematic chapters + unified project-card grid. */
/* The desktop hero stays as clean as V16: no right-hand chapter tags. */
.reel-chapter-nav{display:none!important}
/* Four stops: the first is the top of the reel, the remaining three are native scroll anchors. */
.reel-snap-stop{height:100svh!important;scroll-snap-align:start;scroll-snap-stop:always}
.reel{scroll-snap-align:start;scroll-snap-stop:always}
html.video-chapters-active{scroll-snap-type:y mandatory;scroll-padding-top:0}
/* Let users leave the film naturally into the reading sections. */
#profilo{scroll-snap-align:start}
@media (prefers-reduced-motion:reduce){html.video-chapters-active{scroll-snap-type:none!important}}
/* Every project card starts and ends on the same lines; banners and tags align. */
.journey-track{align-items:stretch;min-height:0}
.journey-card{height:100%;max-height:none;min-height:0;align-self:stretch}
.journey-card-meta{flex:0 0 auto;min-height:18px}
.journey-card-title{flex:0 0 auto;min-height:153px;margin:17px 0 5px}
.journey-scope{flex:0 0 auto;min-height:31px;margin:0 0 8px}
.journey-desc{flex:1 1 auto;min-height:0;display:block;-webkit-line-clamp:unset;overflow:visible;font-size:13.4px;line-height:1.55}
.journey-visual{flex:0 0 auto;margin-top:10px;padding:14px 14px 13px}
.journey-flow{margin:12px 0}
.journey-tags{flex:0 0 auto;margin-top:10px;min-height:40px;max-height:none;align-content:start}
@media (min-width:681px) and (max-height:850px){
  .journey-sticky{padding-top:90px}
  .journey-viewport{margin-top:14px}
  .journey-ruler{padding-top:10px}
  .journey-bottom{padding-top:6px;padding-bottom:12px}
  .journey-card{padding:16px 20px 14px}
  .journey-card-title{min-height:128px;margin:12px 0 4px}
  .journey-card-title h3{font-size:clamp(24px,2.2vw,32px);margin:6px 0}
  .journey-scope{min-height:24px;margin:0 0 5px}
  .journey-desc{font-size:12.5px;line-height:1.47}
  .journey-visual{padding:10px 13px 10px;margin-top:7px}
  .journey-flow{margin:8px 0}
  .journey-tags{min-height:28px;margin-top:7px}
  .journey-tags span{padding:5px 7px;font-size:9px}
}
@media (max-width:680px){
  html.video-chapters-active{scroll-snap-type:y proximity}
  .journey-track{align-items:stretch}
  .journey-card{height:auto;align-self:stretch;min-height:0;padding:20px 18px;overflow:visible}
  .journey-card-title{min-height:140px;margin:17px 0 6px}
  .journey-scope{min-height:38px;margin:0 0 8px}
  .journey-desc{min-height:100px;font-size:13.5px;line-height:1.57}
  .journey-visual{margin-top:16px;padding:14px;min-height:114px}
  .journey-tags{margin-top:12px;min-height:48px}
}
@media (max-width:380px){
  .journey-card-title{min-height:147px}
  .journey-desc{min-height:120px;font-size:12.9px}
}
/* Fixed space for one- and two-row technology tags: banners align even when
   the number of pills differs from one project to another. */
.journey-tags{height:56px;flex:0 0 56px;min-height:0;max-height:none;align-content:start;overflow:visible}
@media(max-width:680px){.journey-tags{height:68px;flex:0 0 68px;min-height:0}}
@media(max-width:380px){.journey-tags{height:72px;flex:0 0 72px}}

/* V20 — stable native film playback; no snap traps, no forced seeking */
html,html.video-chapters-active{scroll-snap-type:none!important}
.reel{scroll-snap-align:none!important}
.reel-scroll{height:430svh!important}
.reel-snap-stop{display:none!important}
.film-video-desktop{z-index:1;opacity:1;object-position:center 48%}
.film-video-one,.film-video-two{z-index:0;opacity:0}
.film-shade,.film-grain{z-index:4}
body.desktop-video-fallback .film-video-desktop{display:none}
body.desktop-video-fallback .film-video-one{z-index:2;opacity:1}
body.desktop-video-fallback .film-video-two{z-index:2;opacity:0}
/* Increased local contrast behind the film's HTML, without extra panels */
.film-shade{background:linear-gradient(90deg,rgba(3,8,12,.86) 0%,rgba(3,8,12,.57) 38%,rgba(3,8,12,.09) 76%),linear-gradient(0deg,rgba(3,8,12,.66),transparent 31%,rgba(3,8,12,.22) 100%)}
@media(max-width:680px){
 .reel-scroll{height:365svh!important}
 .film-video-desktop{display:none!important}
 .film-video-one,.film-video-two{z-index:2}
 .film-video-one{opacity:1}.film-video-two{opacity:0}
 .film-shade{background:linear-gradient(0deg,#090d12 0%,rgba(9,13,18,.1) 55%,rgba(9,13,18,.04) 100%)}
}
/* Layer fix: the dark film overlay must NEVER tint or cover the HTML copy. */
.film{z-index:0;isolation:isolate}
.reel-stage{z-index:5}

/* V20 clean rebuild: desktop cards are shorter, spaced further apart */
@media(min-width:901px) and (hover:hover) and (pointer:fine){
.journey-sticky{height:clamp(570px,77svh,690px)!important;min-height:570px!important;padding-top:70px!important}
.journey-viewport{margin-top:13px!important}
.journey-track{gap:58px!important}
.journey-card{flex:0 0 clamp(340px,31vw,455px)!important;padding:14px 19px!important}
.journey-card-title{min-height:0!important;margin:8px 0 4px!important}
.journey-card-title h3{font-size:clamp(23px,2.05vw,30px)!important;margin:5px 0!important}
.journey-scope{min-height:0!important;margin-bottom:5px!important}
.journey-desc{flex:0 1 auto!important;min-height:0!important;font-size:12.2px!important;line-height:1.4!important}
.journey-visual{margin-top:auto!important;padding:10px 12px!important}
.journey-tags{min-height:0!important;margin-top:7px!important}
.journey-flow{margin:7px 0!important}
}
.contact{min-height:0!important;padding:62px 0 24px!important}
.contact h2{margin:38px 0 20px!important}
.contact-links{margin:24px 0 34px!important}
.contact footer{padding-top:16px!important}
@media(max-width:900px),(hover:none) and (pointer:coarse){
html,html.video-chapters-active{scroll-snap-type:none!important}
.horizontal-journey{height:auto!important;min-height:0!important}
.journey-sticky{height:auto!important;min-height:0!important;position:relative!important;padding:28px 0 10px!important;overflow:visible!important}
.journey-viewport{height:auto!important;min-height:0!important;flex:none!important;display:block!important;overflow-x:auto!important;overflow-y:hidden!important;touch-action:pan-x pan-y!important;overscroll-behavior:auto!important;-webkit-overflow-scrolling:touch!important;scroll-snap-type:x proximity!important}
.journey-track{gap:15px!important;padding:0 20px 14px!important;transform:none!important;will-change:auto!important}
.journey-card{flex:0 0 min(calc(100vw - 52px),440px)!important;height:auto!important;min-height:0!important;max-height:none!important;padding:18px!important}
.journey-card-title,.journey-scope,.journey-desc,.journey-tags{min-height:0!important;height:auto!important}
.journey-desc{flex:0 0 auto!important}
.journey-visual{margin-top:16px!important}
.contact{padding:55px 0 20px!important}
.contact h2{margin:30px 0 15px!important}
.contact-links{margin:20px 0 28px!important}
}
@media(max-width:680px){
.film-video-desktop{display:block!important;z-index:3!important;opacity:1!important}
.film-video-one,.film-video-two{display:none!important}
}
body.desktop-video-error .film-video-desktop{display:none!important}
body.desktop-video-error .film-video-one,body.desktop-video-error .film-video-two{display:none!important}

@media(max-width:900px),(hover:none) and (pointer:coarse){
html,html.video-chapters-active{scroll-snap-type:none!important}
.horizontal-journey{min-height:0!important;overflow:visible!important;position:relative!important}
.journey-sticky{position:sticky!important;top:0!important;height:100svh!important;min-height:0!important;max-height:100svh!important;overflow:hidden!important;padding-top:clamp(18px,4svh,36px)!important;padding-bottom:12px!important}
.journey-viewport{display:flex!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;touch-action:pan-y!important;scroll-snap-type:none!important;scroll-behavior:auto!important}
.journey-track{display:flex!important;will-change:transform!important;touch-action:pan-y!important;gap:15px!important;padding:0 20px 12px!important}
.journey-card{flex:0 0 min(calc(100vw - 52px),440px)!important;min-height:0!important;height:auto!important;max-height:100%!important;overflow-y:auto!important;overscroll-behavior:auto!important;scroll-snap-align:none!important;padding:18px!important}
}

/* Natural-height cards, centered within the full-height pinned stage. */
.horizontal-journey{background:#10221d!important}
.journey-sticky{height:100dvh!important;min-height:0!important;max-height:100dvh!important;box-sizing:border-box!important}
.journey-viewport{align-items:center!important;min-height:0!important;overflow:hidden!important}
.journey-track{align-items:center!important;min-height:0!important;gap:clamp(110px,14vw,240px)!important;padding-top:12px!important;padding-bottom:12px!important;padding-left:max(24px,calc(50vw - 220px))!important;padding-right:max(24px,calc(50vw - 220px))!important}
.journey-card{height:auto!important;min-height:0!important;max-height:min(650px,calc(100dvh - 205px))!important;align-self:center!important;flex:0 0 clamp(350px,31vw,440px)!important;overflow:hidden!important;padding:18px 22px!important}
.journey-card-title{min-height:0!important;height:auto!important;margin:12px 0 6px!important}
.journey-scope{min-height:0!important;height:auto!important}
.journey-desc{flex:0 0 auto!important;min-height:0!important;max-height:none!important;line-height:1.4!important}
.journey-visual{margin-top:16px!important}
.journey-tags{height:auto!important;flex:0 0 auto!important;min-height:0!important;margin-top:12px!important}
.journey-bottom{flex:0 0 auto!important;padding-bottom:10px!important}
@media(max-width:900px),(hover:none) and (pointer:coarse){
.journey-sticky{height:100dvh!important;max-height:100dvh!important;min-height:0!important}
.journey-viewport{align-items:center!important;flex:1 1 auto!important;min-height:0!important}
.journey-track{align-items:center!important;gap:clamp(65px,18vw,110px)!important;padding-left:26px!important;padding-right:26px!important}
.journey-card{flex:0 0 min(calc(100vw - 52px),440px)!important;align-self:center!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 185px)!important;overflow-y:auto!important;padding:17px 18px!important}
.journey-card-title,.journey-scope,.journey-desc{min-height:0!important}
.journey-tags{height:auto!important;flex:0 0 auto!important}
}

/* Desktop-only enlargement: natural-height project cards, original sticky timeline preserved. */
@media(min-width:901px) and (hover:hover) and (pointer:fine){
.journey-track{gap:clamp(130px,12vw,220px)!important;padding-left:max(28px,calc(50vw - 290px))!important;padding-right:max(28px,calc(50vw - 290px))!important}
.journey-card{flex:0 0 clamp(480px,43vw,580px)!important;width:clamp(480px,43vw,580px)!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 165px)!important;align-self:center!important;padding:26px 30px!important}
.journey-card-title{margin:15px 0 10px!important}
.journey-card-title h3{font-size:clamp(30px,2.65vw,40px)!important;line-height:1.12!important}
.journey-desc{font-size:clamp(14px,1.08vw,16px)!important;line-height:1.5!important}
.journey-visual{padding:18px 20px!important;margin-top:20px!important}
.journey-tags{margin-top:15px!important}
}

/* Keep project heading and progress visible beneath fixed navigation. */
@media(min-width:901px) and (hover:hover) and (pointer:fine){
.journey-sticky{padding-top:clamp(115px,10.5vh,148px)!important;padding-bottom:24px!important}
.journey-top{position:relative!important;z-index:4!important;flex:0 0 auto!important;margin-top:0!important;transform:none!important}
.journey-viewport{flex:1 1 auto!important;min-height:0!important;align-items:center!important}
.journey-bottom{flex:0 0 auto!important;padding-bottom:8px!important}
.journey-card{max-height:calc(100dvh - 260px)!important}
}
@media(max-width:900px),(hover:none) and (pointer:coarse){
.journey-sticky{padding-top:clamp(110px,13svh,145px)!important;padding-bottom:16px!important}
.journey-top{position:relative!important;z-index:4!important;flex:0 0 auto!important;margin-top:0!important;transform:none!important}
.journey-viewport{flex:1 1 auto!important;min-height:0!important;align-items:center!important}
.journey-bottom{flex:0 0 auto!important;padding-bottom:8px!important}
.journey-card{max-height:calc(100dvh - 255px)!important}
}

/* V22: larger desktop cards, taller mobile cards; preserve sticky horizontal scroll. */
@media(min-width:901px) and (hover:hover) and (pointer:fine){
.journey-track{gap:clamp(160px,14vw,260px)!important;padding-left:max(28px,calc(50vw - 340px))!important;padding-right:max(28px,calc(50vw - 340px))!important}
.journey-card{flex:0 0 clamp(570px,51vw,680px)!important;width:clamp(570px,51vw,680px)!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 250px)!important;align-self:center!important;padding:28px 34px!important}
.journey-card-title h3{font-size:clamp(34px,2.9vw,44px)!important}
.journey-desc{font-size:clamp(15px,1.14vw,17px)!important}
.journey-visual{padding:20px 22px!important}
}
@media(max-width:900px),(hover:none) and (pointer:coarse){
.journey-card{height:auto!important;min-height:min(62svh,610px)!important;max-height:calc(100dvh - 255px)!important;align-self:center!important;display:flex!important;flex-direction:column!important;padding:20px!important}
.journey-card .journey-visual{margin-top:auto!important}
.journey-card .journey-tags{margin-top:14px!important}
}

/* V23: desktop project cards taller and uniform, no changes to mobile */
@media(min-width:901px) and (hover:hover) and (pointer:fine){
.journey-card{
 height:min(72dvh,760px,calc(100dvh - 245px))!important;
 min-height:0!important;
 max-height:none!important;
 flex:0 0 clamp(570px,51vw,680px)!important;
 align-self:center!important;
 display:flex!important;
 flex-direction:column!important;
 overflow-y:auto!important;
 box-sizing:border-box!important;
}
.journey-card .journey-visual{margin-top:auto!important;flex-shrink:0!important}
.journey-card .journey-tags{flex-shrink:0!important}
.journey-card .journey-desc{flex-shrink:0!important}
}
