/* Portfolio in motion — second direction */
.hero-object{width:65%;right:-2%;bottom:1%;padding:0;background:none;box-shadow:none;transform:rotate(12deg);animation:object-float 7s ease-in-out infinite}
.hero-object img{aspect-ratio:1.34;object-fit:contain;filter:drop-shadow(0 22px 14px #17192340)}
.hero-object span{position:absolute;right:12%;bottom:12%;font-size:12px;background:var(--blue);color:white;padding:8px 12px}
.hero-visual{perspective:1000px}.hero-art{transform:rotate(-9deg) rotateY(10deg);width:87%}.year-stamp{font-size:44px;right:0;top:0;line-height:1;letter-spacing:-.05em}.year-stamp i{font-family:var(--sans);font-size:12px;letter-spacing:.1em;display:block;margin:6px 0}
.journey-index span{font-size:22px;min-width:100px}.contact-link{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid;padding:22px 0;font-size:clamp(17px,2vw,27px);overflow-wrap:anywhere;margin-top:24px}
@keyframes object-float{0%,100%{transform:translateY(0) rotate(12deg)}50%{transform:translateY(-24px) rotate(7deg)}}
@media(max-width:800px){.hero-object{width:75%;max-width:none;right:-2%;bottom:-4%}.hero-visual{height:420px}.year-stamp{font-size:35px}.journey-index span{font-size:18px;min-width:0}footer{flex-wrap:wrap;gap:20px}.hero-object span{bottom:4%}}
@media(max-width:420px){.hero-visual{height:330px}.hero-object{bottom:-4%;width:80%}.hero-object span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.hero-object{animation:none}}

#scroll-progress{height:3px;position:fixed;top:0;left:0;right:0;background:var(--blue);z-index:40;transform-origin:left;transform:scaleX(0);pointer-events:none}
.year-stamp{display:flex;flex-direction:column;gap:5px}.year-stamp br{display:none}.year-stamp i{line-height:1.2;margin:0 0 6px}.hero-object{max-width:none}
.hanger-interaction{background:#dce0ed;perspective:1100px}.hanger-interaction img{filter:drop-shadow(15px 18px 10px #20263b25)}
.bike-experience{display:grid;grid-template-columns:34% 66%;min-height:600px;background:#dce0ed;overflow:hidden;position:relative}.bike-compact{margin:50px 4% 80px}.bike-intro{padding:55px 0 55px 12%;position:relative;z-index:2;pointer-events:none}.bike-intro a{pointer-events:auto}.bike-intro h2{font-size:clamp(44px,5vw,82px);font-weight:400;letter-spacing:-.06em;line-height:1.02;margin:30px 0}.bike-intro em{font-family:var(--serif);font-weight:400}.bike-intro p{font-size:17px;line-height:1.6}.photo-table{position:relative;min-height:600px;isolation:isolate;overflow:hidden}.photo-pile{position:absolute;inset:0;display:grid;place-items:center;perspective:1200px}.pile-stat{position:absolute;inset:8% 3% auto;text-align:center;font-size:clamp(120px,17vw,300px);line-height:1;font-weight:700;letter-spacing:-.09em;color:#bcc4dc;z-index:-1}.thrown-photo{position:absolute;margin:0;width:min(84%,600px);padding:0;background:none;transform:translate(var(--offset-x),var(--offset-y)) rotate(var(--rotation));will-change:transform,filter}.thrown-photo img{display:block;width:100%;height:auto;max-height:440px;object-fit:contain}.motion-toggle{z-index:2}.motion-toggle{position:absolute;bottom:22px;right:5%;border:1px solid #596172;background:#e1e6f3;padding:10px 22px;cursor:pointer;min-width:80px;font-size:14px}.journey-index a.current{color:#d4df74}.journey-index a.current span{transform:translateX(7px)}.journey-index span{transition:transform .3s}
.scroll-enter{opacity:0;transform:translateY(36px);transition:opacity .8s,transform .8s}.scroll-enter.entered{opacity:1;transform:none}.project-card{transition:transform .35s}.project-card:hover{transform:translateY(-7px)}.project-card[href="#progetto/gruccia"] .project-image{background:#dce0ed;padding:8%}.project-card[href="#progetto/gruccia"] .project-image img{filter:drop-shadow(0 10px 8px #0002);transform:rotate(-9deg);object-fit:contain}.project-card[href="#progetto/gruccia"]:hover img{transform:rotate(0) scale(1.05)}.detail-cover-gruccia{background:#dce0ed;padding:5% 15%}.detail-cover-gruccia>img{max-height:440px;filter:drop-shadow(0 18px 15px #0003)}
.moka-section{position:relative;background:#ece6d9;padding:40px 3%;overflow:hidden}.moka-heading h2{font-size:clamp(50px,6vw,92px)}.moka-workbench{grid-template-columns:40% 60%;margin-top:0;position:relative}.vector-reference{margin:0;z-index:2;transform:none;perspective:1100px;align-self:stretch;display:flex;flex-direction:column;justify-content:center}.vector-plane{height:550px;transform:rotateY(19deg) rotateZ(-5deg);transform-style:preserve-3d;animation:vector-hover 8s ease-in-out infinite;filter:drop-shadow(18px 25px 1px #695d3d13)}.moka-vector{height:100%;width:100%;opacity:0;transition:opacity .7s}.moka-vector.ready{opacity:1}.moka-vector svg{width:100%;height:100%;overflow:visible}.vector-reference figcaption{font-size:12px;line-height:1.8;padding-left:20px}.vector-reference figcaption a,.vector-reference figcaption button{font:inherit;background:none;border:0;border-bottom:1px solid;padding:0;color:inherit;cursor:pointer}.moka-stage{height:640px}.moka-parts{left:auto;right:0;bottom:90px;font-size:11px}.moka-controls{position:relative;z-index:3}.viewer-tag{top:14px}.moka-controls input{accent-color:var(--blue)}
@keyframes vector-hover{0%,100%{transform:rotateY(19deg) rotateZ(-5deg) translateY(0)}50%{transform:rotateY(9deg) rotateZ(-2deg) translateY(-12px)}}
.sketch-sequence{display:grid;grid-template-columns:38% 62%;background:#23251f;color:#eeeee6;min-height:670px;margin:30px 0 85px;overflow:hidden}.sequence-copy{padding:75px 12%;position:relative;z-index:2}.sequence-copy h2{font-size:clamp(36px,4.7vw,74px);font-weight:400;line-height:1.04;letter-spacing:-.055em;margin:30px 0}.sequence-copy h2 em{font-family:var(--serif);font-weight:400}.sequence-copy p{font-size:16px;line-height:1.6;color:#c1c5b7}.sequence-controls{display:flex;gap:7px;flex-wrap:wrap;margin-top:40px}.sequence-controls button{color:#eeeee6;border:1px solid #737a65;background:transparent;padding:10px 17px;cursor:pointer;font-size:14px}.sequence-count{font-size:12px!important;letter-spacing:.12em;margin-top:25px}.sequence-view{min-width:0;position:relative;display:flex;align-items:center;justify-content:center;perspective:1400px;padding:45px 40px 65px;background:#30342b}.sequence-sheet{padding:0;background:transparent;border:0;width:100%;height:550px;cursor:zoom-in;transform:rotate(-2deg)}.sequence-sheet img{height:100%;object-fit:contain;filter:drop-shadow(0 15px 10px #0005)}.sequence-ticks{position:absolute;bottom:27px;left:8%;right:8%;display:flex;gap:4px}.sequence-ticks button{flex:1;height:22px;background:transparent;border:0;border-bottom:3px solid #59634c;cursor:pointer;padding:0;min-width:0}.sequence-ticks button.active{border-color:#d4df74}.gallery-caffe .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 28px;background:#e5dfd2;padding:35px 28px 70px}.gallery-caffe .gallery-grid button{background:transparent;padding:10px 5px}.gallery-caffe .gallery-grid img{height:340px;filter:drop-shadow(2px 6px 4px #47351620)}.gallery-caffe .gallery-grid figure:nth-child(3n+2){margin-top:35px}.gallery-caffe .gallery-grid figcaption{font-size:12px;min-height:54px}
.product-lab{background:#dce0e5;position:relative;overflow:hidden;padding:35px 35px 25px}.product-lab-head{position:absolute;top:40px;left:40px;z-index:2;pointer-events:none;max-width:30%}.product-lab-head h2{font-weight:400;letter-spacing:-.04em;font-size:clamp(30px,3.8vw,61px);line-height:1.05;margin:20px 0}.product-lab-head em{font-family:var(--serif)}.product-lab-head p{font-size:14px;max-width:240px;color:#535d64}.product-viewport{position:relative;height:650px}.product-viewport canvas{width:100%;height:100%;display:block;touch-action:none}.product-status{position:absolute;top:50%;left:30%;right:10%;text-align:center}.product-view-label{position:absolute;right:0;top:7px;font-size:11px;letter-spacing:.07em;pointer-events:none}.product-options{display:flex;justify-content:space-between;gap:20px;position:relative;z-index:2;padding-top:20px;border-top:1px solid #b0b8c1;flex-wrap:wrap}.material-options,.product-actions{display:flex;gap:8px;flex-wrap:wrap}.product-options button{display:inline-flex;align-items:center;gap:8px;background:transparent;border:1px solid #89939c;padding:9px 13px;font-size:14px;cursor:pointer}.product-options button.active{background:#20262c;color:white;border-color:#20262c}.swatch{width:15px;height:15px;border-radius:50%;box-shadow:0 0 0 1px #9995;display:inline-block}.swatch-black{background:#343a41}.swatch-warm{background:linear-gradient(135deg,#ffcc19 0% 33%,#ff7900 33% 66%,#ff261e 66% 100%)}.swatch-chalk{background:#e8e6df}.swatch-red{background:#ff261e}.swatch-walnut{background:#785037}.swatch-oak{background:#c59c65}.chair-lab{background:#e3ded4}.chair-lab .product-options{border-color:#b5aa99}.model-note{line-height:1.6}.related-project{background:#293fe6;color:white;padding:35px;display:flex;flex-direction:column;gap:15px;margin-bottom:60px}.related-project span,.related-project small{font-size:12px}.related-project strong{font-size:clamp(25px,3vw,44px);font-weight:400;letter-spacing:-.04em}
.wardrobe-story{background:#d6dd80;display:grid;grid-template-columns:45% 55%;padding:6%}.wardrobe-stat{font-size:clamp(80px,10vw,160px);line-height:.9;letter-spacing:-.07em;align-self:start;position:sticky;top:40px}.wardrobe-stat span{display:block;font-size:13px;letter-spacing:.05em;margin-top:22px}.wardrobe-stages article{border-bottom:1px solid #a4af51;padding:15px 0 35px;margin-bottom:35px}.wardrobe-stages article:last-child{border:0;margin:0;padding-bottom:0}.wardrobe-stages article>span{font-size:12px}.wardrobe-stages h2{font-size:clamp(32px,4vw,64px);font-weight:400;letter-spacing:-.05em;line-height:1.02;margin:22px 0}.wardrobe-stages em{font-family:var(--serif)}.wardrobe-stages p{max-width:400px;font-size:16px}.portrait-frame{margin:40px 0 0;max-width:390px;transform:rotate(-3deg);position:relative}.portrait-frame img{aspect-ratio:3/4;object-fit:cover;filter:saturate(.78)}.portrait-frame figcaption{font-size:12px;padding:12px 0;letter-spacing:.07em}.about{background:#dce0ed}.about h2{font-size:clamp(45px,5vw,80px)}.contact-link:hover{color:var(--blue)}
@media(max-width:1000px){.bike-experience{grid-template-columns:36% 64%;min-height:500px}.photo-table{min-height:500px}.bike-intro{padding:40px 0 40px 12%}.bike-intro h2{font-size:55px}.thrown-photo{width:84%}.thrown-photo img{max-height:370px}.moka-stage{height:540px}.vector-plane{height:450px}.moka-parts{display:none}.product-viewport{height:580px}.product-lab-head{max-width:35%}.gallery-caffe .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-caffe .gallery-grid figure:nth-child(3n+2){margin-top:0}.sequence-copy{padding:50px 10%}.sequence-sheet{height:460px}.sketch-sequence{min-height:570px}.product-lab-head h2{font-size:38px}}
@media(max-width:700px){.bike-experience{display:block}.bike-compact{margin:25px 5% 50px}.bike-intro{padding:30px 7% 0}.bike-intro h2{font-size:45px;margin:20px 0}.bike-intro h2 br{display:none}.bike-intro p{font-size:16px;margin-bottom:0}.bike-intro .text-link{margin-top:10px}.photo-table{min-height:420px}.pile-stat{font-size:140px;top:4%}.thrown-photo{width:84%}.thrown-photo img{max-height:300px}.motion-toggle{bottom:16px;font-size:13px}.moka-section{padding:25px 5%}.moka-workbench{display:grid;grid-template-columns:35% 65%;margin:15px -10px 0}.vector-reference{display:flex;flex-direction:column;align-items:stretch;gap:0;transform:none;width:auto}.vector-plane{height:350px}.vector-reference figcaption{padding-left:10px;font-size:10px;margin:0;max-width:135px}.moka-stage{height:450px}.moka-heading h2{font-size:48px}.viewer-tag{display:none}.viewer-hint{bottom:4px;font-size:10px;max-width:170px}.moka-controls{margin-top:20px}.sketch-sequence{display:block;margin-bottom:50px}.sequence-copy{padding:30px 7%}.sequence-copy h2{font-size:42px;margin:18px 0}.sequence-copy h2 br{display:none}.sequence-copy p{font-size:15px}.sequence-controls{margin-top:20px}.sequence-count{position:absolute;right:7%;bottom:31px}.sequence-view{padding:25px 20px 65px}.sequence-sheet{height:450px}.gallery-caffe .gallery-grid{padding:20px 14px 45px;gap:28px 15px}.gallery-caffe .gallery-grid img{height:270px}.product-lab{padding:25px 5%}.product-lab-head{position:relative;top:auto;left:auto;max-width:none}.product-lab-head h2{font-size:38px;margin:15px 0}.product-lab-head h2 br{display:none}.product-lab-head p{max-width:none}.product-viewport{height:450px}.product-view-label{font-size:10px;top:2px;left:0;right:auto}.product-status{left:10%;right:10%}.product-options{gap:12px}.product-options button{font-size:12px;padding:9px 10px}.product-actions{width:100%}.product-actions button{flex:1;justify-content:center}.wardrobe-story{display:block;padding:35px 7%}.wardrobe-stat{position:static;font-size:100px;margin-bottom:45px}.wardrobe-stages h2{font-size:45px}.wardrobe-stages article{padding-bottom:25px;margin-bottom:25px}.portrait-frame{max-width:300px;margin-bottom:45px}.related-project{padding:25px}.journey-index a{font-size:11px}.journey-index span{font-size:17px}}
@media(max-width:430px){.photo-table{min-height:360px}.thrown-photo{width:84%}.thrown-photo img{max-height:270px}.moka-workbench{grid-template-columns:36% 64%;gap:0}.vector-plane{height:300px}.moka-stage{height:380px}.moka-controls button{font-size:12px}.gallery-caffe .gallery-grid{grid-template-columns:1fr}.gallery-caffe .gallery-grid img{height:auto;max-height:440px}.sequence-sheet{height:380px}.sequence-count{position:static;margin:16px 0 0}.sequence-view{padding-top:0}.product-viewport{height:390px}.product-lab-head h2{font-size:35px}.hero-object span{font-size:10px}.contact-link{font-size:16px}}
@media(prefers-reduced-motion:reduce){.scroll-enter{opacity:1;transform:none;transition:none}.vector-plane{animation:none;transform:rotateY(12deg)}.project-card{transition:none}.project-card:hover{transform:none}}
