/* STUDIO MARCO CIAMPA — STUDIO / INTERACTIVE STORYTELLING
   Scope: #studio only. No changes to CMS, public data operations or other sections.
*/
.studio-story{--story-ink:#E9EDEB;--story-dark:#102532;--story-moss:#163247;--story-green:#C8B27D;--story-muted:#9FB4BE;background:var(--story-dark);color:var(--story-ink);overflow:clip;isolation:isolate}
.studio-story *, .studio-story *::before, .studio-story *::after {box-sizing:border-box}
.studio-story a{color:inherit}
.studio-story :focus-visible{outline:2px solid var(--story-green);outline-offset:5px}
.studio-story-cover{padding:clamp(90px,9vw,160px) var(--gutter) clamp(54px,6vw,92px);position:relative;background:radial-gradient(ellipse at 73% 40%,#1A3545 0,transparent 52%),#102532}
#storytelling.studio-story-cover{min-height:100svh;scroll-margin-top:-85px}
.studio-story-cover::after{content:'';position:absolute;inset:0;pointer-events:none;opacity:.19;background:linear-gradient(90deg,transparent calc(25% - .5px),rgba(228,234,236,.26) 25%,transparent calc(25% + .5px)),linear-gradient(90deg,transparent calc(50% - .5px),rgba(228,234,236,.26) 50%,transparent calc(50% + .5px)),linear-gradient(90deg,transparent calc(75% - .5px),rgba(228,234,236,.26) 75%,transparent calc(75% + .5px))}
.studio-story-topline,.studio-story-pivot-label{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-bottom:20px;border-bottom:1px solid rgba(235,229,214,.25);font:700 10px/1.5 var(--sans);letter-spacing:.15em;color:#82B6C1;position:relative;z-index:1}
.studio-story-topline b{color:var(--story-green)}
.studio-story-heading-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,.45fr);align-items:end;gap:clamp(20px,4vw,70px);padding-top:clamp(65px,8vw,125px)}
.studio-story-eyebrow,.studio-story-narrative-index{display:inline-flex;align-items:center;gap:12px;font:700 10px/1.5 var(--sans);letter-spacing:.19em;color:var(--story-green)}
.studio-story-dot{display:inline-block;height:7px;width:7px;border:1px solid currentColor;transform:rotate(45deg)}
.studio-story h2,.studio-story h3{font-weight:500;letter-spacing:-.09em;text-wrap:balance}
.studio-story-heading-copy h2{font:500 clamp(68px,8vw,160px)/.94 var(--display);letter-spacing:-.095em;max-width:1150px;margin:25px 0 0}
.studio-story-heading-copy h2 em,.studio-story-narrative-intro h3 em,.studio-story-pivot-copy h3 em,.studio-story-method-head h3 em{font:400 1.04em/.95 var(--serif);color:var(--story-green)}
.studio-story-heading-aside{padding-bottom:10px;max-width:380px;justify-self:end}
.studio-story-outline{display:block;color:#99C1C7;font:600 10px var(--sans);letter-spacing:.18em;margin-bottom:24px}
.studio-story-outline i{color:var(--story-green);font-style:normal;margin:0 10px}
.studio-story-heading-aside p{color:#B3D1D5;line-height:1.85;font-size:clamp(13px,1.1vw,16px);max-width:340px;margin-bottom:22px}
.studio-story-jump,.studio-story-pivot-cta{display:inline-flex;gap:60px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--story-green);padding:13px 0;font:700 12px var(--sans);color:var(--story-green)!important;transition:gap .25s ease}
.studio-story-jump:hover,.studio-story-pivot-cta:hover{gap:75px}
.studio-story-jump span,.studio-story-pivot-cta span{font:400 25px var(--sans)}
/* Three pre-existing 1300 x 400 studio photo collages, without external URLs */
.studio-story-film{margin:0;background:#102532;border-top:1px solid rgba(235,229,214,.12);border-bottom:1px solid rgba(235,229,214,.2)}
.studio-story-film-viewport{width:100%;aspect-ratio:1300/400;min-height:210px;max-height:570px;overflow:hidden;position:relative;isolation:isolate;background:#193141}
.studio-story-frame{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity .7s cubic-bezier(.2,.72,.2,1),visibility .7s;pointer-events:none}
.studio-story-frame.is-active{opacity:1;visibility:visible;z-index:1}
.studio-story-frame img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;filter:contrast(1.03) saturate(.82);transform:scale(1.035);transition:transform 1.25s cubic-bezier(.18,.8,.2,1)}
.studio-story-frame.is-active img{transform:scale(1)}
.studio-story-frame::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(13,24,33,.78),transparent 42%,rgba(0,0,0,.06))}
.studio-story-frame figcaption{position:absolute;left:var(--gutter);bottom:clamp(20px,3vw,50px);color:#EBE5D6;font:700 clamp(9px,.9vw,13px) var(--sans);letter-spacing:.13em;z-index:2;text-shadow:0 3px 25px rgba(0,0,0,.6)}
.studio-story-film-corner{position:absolute;right:var(--gutter);top:30px;z-index:3;background:rgba(13,24,33,.72);padding:10px 14px;font:700 9px var(--sans);letter-spacing:.14em}
.studio-story-film-controls{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(20px,5vw,90px);padding:24px var(--gutter) 26px;min-height:99px}
.studio-film-indicator{display:flex;align-items:baseline;gap:8px;white-space:nowrap}
.studio-film-indicator strong{color:var(--story-green);font:500 36px/.9 var(--display);letter-spacing:-.07em}
.studio-film-indicator span{font-size:13px;color:#569CAC}
.studio-film-indicator small{font:700 9px var(--sans);letter-spacing:.12em;color:#8199A3;margin-left:12px}
.studio-film-tabs{display:flex;align-items:center;justify-content:center;gap:clamp(14px,2.8vw,42px)}
.studio-film-tabs button{border:0;border-bottom:1px solid transparent;background:none;color:#5B9FAE;padding:10px 0;font:600 11px var(--sans);white-space:nowrap;cursor:pointer;transition:color .25s,border-color .25s}
.studio-film-tabs button span{color:var(--story-green);font-size:9px;margin-right:6px}
.studio-film-tabs button:hover,.studio-film-tabs button.is-active{color:#EBE5D6;border-color:var(--story-green)}
.studio-film-arrows{display:flex;gap:9px}
.studio-film-arrows button{border:1px solid #3B7582;background:transparent;color:var(--story-ink);width:43px;height:43px;border-radius:50%;font-size:21px;cursor:pointer;transition:background .25s,color .25s}
.studio-film-arrows button:hover{background:var(--story-green);color:#13222F;border-color:var(--story-green)}
/* Career chapter & animated chronology */
.studio-story-narrative{padding:clamp(100px,10vw,165px) var(--gutter) clamp(70px,9vw,150px);background:#E4EAEC;color:#12202D}
.studio-story-narrative-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,.48fr);gap:40px;align-items:end;padding-bottom:clamp(85px,11vw,170px)}
.studio-story-narrative-index{color:#31626D;align-self:start}
.studio-story-narrative-intro h3{font:500 clamp(56px,7.8vw,140px)/.96 var(--display);letter-spacing:-.09em;grid-column:1;margin:15px 0 0}
.studio-story-narrative-intro h3 em{color:#336772}
.studio-story-narrative-intro>p{grid-column:2;grid-row:1/3;font-size:clamp(14px,1.15vw,18px);line-height:1.9;color:#31626D;margin:0 0 8px;max-width:425px}
.studio-story-timeline-layout{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.2fr);gap:clamp(40px,8vw,170px);border-top:1px solid #99C1C7}
.studio-story-timeline-aside{position:relative;min-width:0}
.studio-story-timeline-sticky{position:sticky;top:clamp(105px,12vh,160px);padding:65px 0 45px;max-width:430px}
.studio-story-rail-label{font:700 10px var(--sans);letter-spacing:.15em;color:#3C7986}
.studio-story-timeline-sticky strong{display:block;font:500 clamp(95px,12vw,205px)/1 var(--display);color:#1A3445;letter-spacing:-.11em;margin:36px 0 25px;white-space:nowrap;max-width:100%}
.studio-story-timeline-sticky p{color:#3D7A88;font:400 clamp(15px,1.3vw,19px)/1.6 var(--serif);max-width:330px}
.studio-story-rail{width:min(280px,80%);height:2px;background:#A7C9CF;margin:40px 0 22px;overflow:hidden}
.studio-story-rail span{display:block;width:100%;height:100%;background:#356B77;transform:scaleX(.1);transform-origin:left;transition:transform .35s ease}
.studio-story-timeline-sticky small{font-size:9px;letter-spacing:.11em;color:#3C7886;font-weight:700}
.studio-story-timeline-items{margin:0!important;max-height:none!important;overflow:visible!important;padding:34px 0 30px!important;scrollbar-width:auto!important}
.studio-story-timeline-items .timeline-row{position:relative;display:grid;grid-template-columns:minmax(106px,132px) minmax(0,1fr);gap:clamp(14px,2.3vw,42px);align-items:baseline;padding:40px 15px 48px 0;border-bottom:1px solid #B2D0D4;min-height:145px;color:#1B3748;font:400 clamp(14px,1.17vw,19px)/1.7 var(--sans);opacity:.48;transition:opacity .4s,padding-left .4s,background .4s;cursor:pointer}
.studio-story-timeline-items .timeline-row time{font:600 clamp(21px,2vw,36px)/1.1 var(--display);letter-spacing:-.055em;color:#366C79;white-space:nowrap}
.studio-story-timeline-items .timeline-row span{max-width:620px}
.studio-story-timeline-items .timeline-row:hover,.studio-story-timeline-items .timeline-row.is-current{opacity:1;padding-left:14px;background:linear-gradient(90deg,rgba(58,115,128,.08),transparent 63%)}
.studio-story-timeline-items .timeline-row.is-current::before{content:'';position:absolute;top:35px;bottom:35px;left:0;width:2px;background:#39727F}
/* 2010/2016 turning point */
.studio-story-pivot{padding:clamp(95px,11vw,175px) var(--gutter);background:#162737;color:#EBE5D6;position:relative;isolation:isolate}
.studio-story-pivot::before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.25;background:radial-gradient(ellipse at 24% 50%,#3B7683,transparent 59%)}
.studio-story-pivot-label{color:#A6C9CE}
.studio-story-pivot-grid{position:relative;display:grid;grid-template-columns:minmax(200px,.72fr) minmax(0,1.28fr);gap:clamp(40px,8vw,160px);padding-top:clamp(65px,9vw,140px)}
.studio-story-pivot-number{align-self:center;font:500 clamp(110px,14vw,235px)/.87 var(--display);letter-spacing:-.12em;color:transparent;-webkit-text-stroke:1px rgba(235,229,214,.67)}
.studio-story-pivot-number span{color:var(--story-green);-webkit-text-stroke:0;font-size:.38em;vertical-align:middle;margin-left:25px;letter-spacing:0}
.studio-story-pivot-copy h3{font:500 clamp(53px,6.5vw,110px)/1.01 var(--display);margin:0 0 56px;letter-spacing:-.085em}
.studio-story-pivot-copy p{max-width:660px;color:#B3D1D5;font-size:clamp(14px,1.13vw,17px);line-height:1.92;margin:0 0 22px}
.studio-story-pivot-copy p strong{color:#EBE5D6;font-weight:700}
.studio-story-pivot-cta{margin-top:25px}
/* Method accordion */
.studio-story-method{padding:clamp(95px,10vw,166px) var(--gutter);background:#E4EAEC;color:#13222F;display:grid;grid-template-columns:minmax(0,.97fr) minmax(0,1.03fr);gap:clamp(40px,7vw,140px)}
.studio-story-method-head h3{font:500 clamp(61px,7.4vw,125px)/.97 var(--display);margin:24px 0 38px}
.studio-story-method-head h3 em{color:#366D79}
.studio-story-method-head>p{font-size:clamp(14px,1.12vw,18px);line-height:1.9;color:#31626D;max-width:610px}
.studio-story-method-list{padding-top:50px}
.studio-method-item{border-top:1px solid #A4C7CD}
.studio-method-item:last-child{border-bottom:1px solid #A4C7CD}
.studio-method-item summary{list-style:none;cursor:pointer;min-height:90px;display:grid;grid-template-columns:42px minmax(0,1fr) 30px;gap:15px;align-items:center;padding:17px 0;color:#162837}
.studio-method-item summary::-webkit-details-marker{display:none}
.studio-method-item summary span{font:600 11px var(--sans);color:#418291}
.studio-method-item summary strong{font:500 clamp(23px,2.15vw,38px)/1.1 var(--display);letter-spacing:-.05em}
.studio-method-item summary i{font:400 28px var(--display);font-style:normal;line-height:1;justify-self:end;transition:transform .25s}
.studio-method-item[open] summary i{transform:rotate(45deg)}
.studio-method-item p{padding:0 42px 26px 57px;line-height:1.75;color:#386F7C;font-size:13px;margin:0}
/* Scroll progression - no movement if user prefers reduced motion */
.studio-story .story-reveal{opacity:1;transform:none}
@media (prefers-reduced-motion:no-preference){
  .studio-story.story-enhanced .story-reveal:not(.story-visible){opacity:0;transform:translateY(36px)}
  .studio-story .story-reveal{transition:opacity .75s ease,transform .9s cubic-bezier(.2,.8,.2,1)}
}
@media(max-width:1190px){
  .studio-story-heading-grid{grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr)}
  .studio-story-heading-copy h2{font-size:clamp(65px,8vw,119px)}
  .studio-film-indicator small{display:none}
  .studio-story-timeline-layout{gap:60px}
  .studio-story-timeline-sticky strong{font-size:clamp(95px,11vw,140px)}
}
@media(max-width:900px){
  .studio-story-heading-grid{grid-template-columns:1fr;gap:40px}
  .studio-story-heading-aside{justify-self:start;max-width:610px}
  .studio-story-heading-aside p{max-width:590px}
  .studio-story-topline>span:nth-child(2),.studio-story-pivot-label>span:nth-child(2){display:none}
  .studio-story-narrative-intro{grid-template-columns:1fr;gap:25px}
  .studio-story-narrative-intro>p{grid-column:1;grid-row:auto;max-width:600px}
  .studio-story-timeline-layout{grid-template-columns:minmax(135px,.48fr) minmax(0,1fr);gap:34px}
  .studio-story-timeline-sticky strong{font-size:clamp(70px,10vw,105px)}
  .studio-story-pivot-grid{gap:45px}
  .studio-story-pivot-number{font-size:clamp(90px,13vw,125px)}
  .studio-story-method{grid-template-columns:1fr;gap:30px}
  .studio-story-method-head{max-width:800px}
  .studio-story-method-list{padding:0}
}
@media(max-width:780px){
  .studio-story-cover{padding:110px var(--gutter) 56px}
  .studio-story-topline,.studio-story-pivot-label{font-size:8px;letter-spacing:.12em;padding-bottom:17px}
  .studio-story-heading-grid{padding-top:58px}
  .studio-story-heading-copy h2{font-size:clamp(56px,11.6vw,90px);letter-spacing:-.085em}
  .studio-story-heading-aside p{font-size:14px;line-height:1.8}
  .studio-story-film-viewport{height:clamp(255px,54vw,390px);aspect-ratio:auto}
  .studio-story-frame img{object-position:45% center}
  .studio-story-frame figcaption{letter-spacing:.06em;font-size:10px;left:var(--gutter);bottom:20px;max-width:80%;line-height:1.6}
  .studio-story-film-corner{top:18px;right:var(--gutter);font-size:7px}
  .studio-story-film-controls{display:grid;grid-template-columns:1fr auto;gap:16px;padding:19px var(--gutter) 21px}
  .studio-film-indicator strong{font-size:30px}
  .studio-film-tabs{order:3;grid-column:1/-1;width:100%;justify-content:space-between;border-top:1px solid #264C64;padding-top:6px;gap:10px}
  .studio-film-tabs button{font-size:10px}
  .studio-film-arrows{justify-self:end}
  .studio-story-narrative{padding:95px var(--gutter) 90px}
  .studio-story-narrative-intro{padding-bottom:70px}
  .studio-story-narrative-intro h3{font-size:clamp(54px,11.3vw,92px)}
  .studio-story-timeline-layout{grid-template-columns:1fr;gap:20px}
  .studio-story-timeline-sticky{position:relative;top:auto;padding:33px 0 10px;max-width:none;display:grid;grid-template-columns:minmax(110px,1fr) 1fr;gap:10px 22px;align-items:center}
  .studio-story-timeline-sticky strong{grid-column:1;font-size:clamp(78px,13vw,112px);margin:5px 0}
  .studio-story-timeline-sticky p{grid-column:2;grid-row:2;font-size:16px;margin:0}
  .studio-story-rail{grid-column:1/-1;width:100%;margin:8px 0}
  .studio-story-timeline-sticky small{grid-column:1/-1;font-size:8px}
  .studio-story-timeline-items{padding-top:5px!important}
  .studio-story-timeline-items .timeline-row{min-height:105px;padding:26px 8px 29px 0;grid-template-columns:88px minmax(0,1fr);gap:14px;font-size:13px}
  .studio-story-timeline-items .timeline-row time{font-size:23px}
  .studio-story-pivot{padding:95px var(--gutter)}
  .studio-story-pivot-grid{grid-template-columns:1fr;gap:40px;padding-top:60px}
  .studio-story-pivot-number{font-size:clamp(100px,18vw,145px)}
  .studio-story-pivot-copy h3{font-size:clamp(55px,10vw,85px);margin-bottom:35px}
  .studio-story-method{padding:95px var(--gutter)}
  .studio-story-method-head h3{font-size:clamp(60px,10.6vw,91px)}
}
@media(max-width:480px){
  .studio-story-cover{padding-top:105px}
  .studio-story-topline>span:last-child{display:none}
  .studio-story-heading-copy h2{font-size:clamp(49px,12.3vw,65px);overflow-wrap:normal}
  .studio-story-eyebrow{font-size:9px;letter-spacing:.12em}
  .studio-story-film-viewport{height:300px}
  .studio-story-frame img{object-position:40% center}
  .studio-film-tabs button{font-size:9px;white-space:nowrap}
  .studio-film-tabs button span{font-size:8px;margin-right:3px}
  .studio-story-narrative-intro h3{font-size:clamp(51px,11vw,67px)}
  .studio-story-timeline-sticky{grid-template-columns:1fr 1fr}
  .studio-story-timeline-sticky strong{font-size:clamp(64px,17vw,86px)}
  .studio-story-timeline-sticky p{font-size:14px}
  .studio-story-timeline-items .timeline-row{grid-template-columns:85px minmax(0,1fr);gap:12px;font-size:12px;min-height:108px}
  .studio-story-timeline-items .timeline-row time{font-size:21px}
  .studio-story-pivot-number{font-size:clamp(90px,21vw,110px)}
  .studio-story-pivot-copy h3{font-size:clamp(52px,11vw,72px)}
  .studio-story-method-head h3{font-size:clamp(50px,12vw,68px)}
  .studio-method-item summary{min-height:75px;grid-template-columns:28px minmax(0,1fr) 20px;gap:8px}
  .studio-method-item summary strong{font-size:clamp(19px,5.4vw,27px)}
  .studio-method-item p{padding-left:36px;padding-right:20px}
}
@media(max-width:360px){
  .studio-story-heading-copy h2{font-size:clamp(43px,12.8vw,49px)}
  .studio-story-film-controls{gap:10px}
  .studio-film-tabs button{font-size:8px}
  .studio-story-timeline-sticky p{font-size:12px}
  .studio-story-timeline-items .timeline-row{grid-template-columns:76px minmax(0,1fr);font-size:11px}
  .studio-story-timeline-items .timeline-row time{font-size:19px}
}
@media(prefers-reduced-motion:reduce){
  .studio-story-frame,.studio-story-frame img,.studio-film-tabs button,.studio-film-arrows button,.studio-story-timeline-items .timeline-row,.studio-story-rail span,.studio-story .story-reveal{transition:none!important;animation:none!important;transform:none!important}
}
/* Opening headline must never disappear while entering the section via a deep link. */
.studio-story.story-enhanced .studio-story-heading-copy.story-reveal:not(.story-visible){opacity:1;transform:none}
.studio-story-timeline-items .timeline-row{opacity:.68}

/* ==============================================================
   STUDIO / LE ORIGINI — CINEMATIC SCROLL JOURNEY  · v2
   All rules scoped under #studio; no CMS/portfolio/global changes.
   ============================================================== */
#studio .studio-story-narrative{padding:0;background:#0E202C;color:#EBE5D6;overflow:clip}
#studio .story-path-prologue{position:relative;padding:clamp(100px,11vw,175px) var(--gutter) clamp(90px,9vw,155px);background:#E4EAEC;color:#152534;overflow:hidden}
#studio .story-path-prologue:after{content:'';position:absolute;inset:-40% -25% auto 49%;height:160%;background:radial-gradient(ellipse,rgba(63,127,141,.16),transparent 62%);pointer-events:none}
#studio .story-path-prologue-label{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #9BC2C8;padding-bottom:23px;gap:15px;font:700 10px/1.5 var(--sans);letter-spacing:.18em;color:#346974}
#studio .story-path-prologue-inner{position:relative;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.45fr);gap:clamp(30px,6vw,130px);align-items:end;padding-top:clamp(76px,9vw,150px)}
#studio .story-path-eyebrow{font:700 10px var(--sans);color:#366C78;letter-spacing:.22em}
#studio .story-path-prologue h3{font:500 clamp(68px,8.3vw,163px)/.94 var(--display);letter-spacing:-.105em;margin:18px 0 0;max-width:1150px}
#studio .story-path-prologue h3 em{font:400 1em/.92 var(--serif);color:#356A76;letter-spacing:-.062em}
#studio .story-path-prologue-aside{padding-bottom:6px}
#studio .story-path-prologue-aside p{font-size:clamp(14px,1.14vw,18px);color:#31626D;line-height:1.85;max-width:405px}
#studio .story-path-enter{display:inline-flex;align-items:center;justify-content:space-between;gap:36px;border-bottom:1px solid #346874;color:#274F67!important;font-size:12px;font-weight:700;padding:14px 0;min-width:200px}
#studio .story-path-enter span{font-size:22px}
#studio .story-path-scroll{position:relative;height:800svh;min-height:4500px;isolation:isolate;background:#0D1821}
#studio .story-path-stage{position:sticky;top:0;height:100svh;min-height:500px;background:#0D1821;overflow:hidden;isolation:isolate;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#studio .story-path-background{position:absolute;inset:0;background:radial-gradient(ellipse at 74% 67%,#1E3C4F 0,#152635 28%,#0E202C 70%);z-index:-1;pointer-events:none}
#studio .story-path-grid{position:absolute;inset:0;background:linear-gradient(90deg,rgba(200,178,125,.055) 1px,transparent 1px),linear-gradient(0deg,rgba(200,178,125,.045) 1px,transparent 1px);background-size:9vw 9vw;mask-image:linear-gradient(90deg,transparent 14%,#000 90%);-webkit-mask-image:linear-gradient(90deg,transparent 14%,#000 90%);pointer-events:none;z-index:0;opacity:.35}
#studio .story-path-glow{position:absolute;right:-12vw;top:10%;width:77vw;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(221,208,177,.14),transparent 62%);filter:blur(15px);pointer-events:none;z-index:0}
#studio .story-path-three{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:0;transition:opacity .8s ease;mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.15) 22%,#000 50%);-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.15) 22%,#000 50%)}
#studio .story-path-three.is-ready{opacity:1}
#studio .story-path-three canvas{display:block;width:100%!important;height:100%!important}
#studio .story-path-fallback{position:absolute;z-index:1;right:-3%;top:0;width:73%;height:100%;opacity:.72;pointer-events:none;transition:opacity .6s ease}
#studio .story-path-three.is-ready+.story-path-fallback{opacity:0}
#studio .story-route-ghost{stroke:rgba(221,208,177,.12);stroke-width:2;fill:none;stroke-dasharray:6 14}
#studio .story-route-progress{stroke:url(#story-route-grad);stroke-width:4;fill:none;stroke-linecap:round;stroke-dasharray:1300;stroke-dashoffset:calc(1300 * (1 - var(--journey-progress,0)));filter:drop-shadow(0 0 10px rgba(200,178,125,.52))}
#studio .story-path-hud{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:clamp(100px,11vh,140px) var(--gutter) 22px;z-index:4;border-bottom:1px solid rgba(235,229,214,.16);color:#99C1C7;font:700 10px/1.4 var(--sans);letter-spacing:.16em}
#studio .story-path-hud i{font-size:15px;color:#C8B27D;margin-right:12px}
#studio .story-path-beats{position:relative;min-height:0;z-index:3}
#studio .story-path-beat{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(180px,.72fr);align-items:center;gap:clamp(18px,4.8vw,95px);padding:clamp(16px,4vh,42px) var(--gutter);opacity:0;visibility:hidden;pointer-events:none;transform:translate3d(0,34px,0) scale(.985);transition:opacity .42s ease,transform .56s cubic-bezier(.19,.8,.24,1),visibility .42s}
#studio .story-path-beat.is-current{opacity:1;visibility:visible;pointer-events:auto;transform:none;z-index:2}
#studio .story-beat-copy{min-width:0;max-width:820px;position:relative;padding-top:2px}
#studio .story-beat-overline{display:flex;align-items:center;gap:12px;color:#DDD0B1;font:700 clamp(8px,.76vw,11px)/1.55 var(--sans);letter-spacing:.15em;margin:0 0 clamp(17px,3vh,34px);text-wrap:pretty}
#studio .story-beat-diamond{height:7px;width:7px;border:1px solid #C8B27D;transform:rotate(45deg);flex-shrink:0}
#studio .story-beat-year{display:block;font:500 clamp(80px,10vw,185px)/.79 var(--display);letter-spacing:-.115em;color:#EBE5D6;white-space:nowrap}
#studio .story-path-beat h4{font:500 clamp(29px,4.25vw,82px)/1.04 var(--display);letter-spacing:-.078em;margin:clamp(17px,2vh,27px) 0 22px;max-width:760px;overflow-wrap:normal}
#studio .story-beat-copy>p{font-size:clamp(13px,1.12vw,18px);line-height:1.75;color:#A0C5CA;max-width:570px;margin:0}
#studio .story-beat-location{display:inline-flex;gap:11px;align-items:center;color:#DDD0B1;margin-top:clamp(19px,4vh,40px);font:700 9px/1.5 var(--sans);letter-spacing:.13em}
#studio .story-beat-location i{font-size:14px;color:var(--acid)}
#studio .story-beat-visual{position:relative;justify-self:end;width:min(100%,410px);height:clamp(160px,24vw,330px);margin:0;transform:perspective(1000px) rotateY(-9deg);border:1px solid rgba(200,178,125,.45);box-shadow:0 30px 95px rgba(13,24,33,.48),0 0 0 6px rgba(200,178,125,.025);background:#152A37;overflow:hidden}
#studio .story-beat-visual:before{content:'';position:absolute;inset:9px;border:1px solid rgba(200,178,125,.2);z-index:1;pointer-events:none}
#studio .story-beat-visual img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.72) contrast(1.10)}
#studio .story-beat-visual figcaption{position:absolute;z-index:2;bottom:0;left:0;right:0;padding:34px 15px 17px;background:linear-gradient(transparent,rgba(13,24,33,.97));font:700 8px/1.5 var(--sans);letter-spacing:.09em;color:#EBE5D6}
#studio .story-beat-visual figcaption span{color:#C8B27D}
#studio .story-path-journey-footer{z-index:4;position:relative;padding:18px var(--gutter) clamp(27px,5vh,55px);background:linear-gradient(transparent,rgba(13,24,33,.63));border-top:1px solid rgba(235,229,214,.14)}
#studio .story-path-progress-meta{display:flex;align-items:baseline;gap:8px;white-space:nowrap}
#studio .story-path-progress-meta #story-progress-index{font:500 clamp(32px,4.2vw,58px)/1 var(--display);letter-spacing:-.07em;color:#C8B27D}
#studio .story-path-progress-split{font-size:15px;color:#ADCDD2}
#studio .story-path-progress-caption{font:700 8px/1.4 var(--sans);letter-spacing:.17em;color:#64A4B3;margin-left:22px}
#studio .story-path-dots{display:flex;align-items:flex-end;justify-content:space-between;gap:clamp(2px,1vw,15px);margin-top:19px}
#studio .story-path-dots button{position:relative;display:grid;place-items:start;gap:9px;flex:1 1 0;min-width:0;max-width:145px;background:none;border:0;color:#428492;cursor:pointer;padding:0 0 5px;font:700 8px var(--sans);text-align:left}
#studio .story-path-dots button>span{display:block;width:100%;height:2px;background:#31626D;transition:background .2s ease}
#studio .story-path-dots button[aria-current="step"]>span,#studio .story-path-dots button.is-past>span{background:#C8B27D}
#studio .story-path-dots button[aria-current="step"]{color:#EBE5D6}
#studio .story-path-dots button small{font-size:9px;letter-spacing:.02em;white-space:nowrap}
#studio .story-path-meter{height:1px;background:#31626D;position:relative;margin-top:14px;overflow:hidden}
#studio .story-path-meter span{position:absolute;inset:0;background:#C8B27D;transform:scaleX(0);transform-origin:0 50%}

/* The native gallery scroll area remains touch-scrollable, not snap-locked. */
@media(max-width:780px){
  #studio .studio-story-film-viewport{height:clamp(255px,54vw,390px);overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:none;scrollbar-width:thin;scrollbar-color:#C9B382 #18303F;cursor:grab;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}
  #studio .studio-story-film-viewport.is-dragging{cursor:grabbing;user-select:none}
  #studio .studio-story-frame{inset:0 auto 0 0;width:max(100%,1120px);max-width:none}
  #studio .studio-story-frame img{width:100%;height:100%;object-fit:fill;object-position:left center;transform:none!important}
  #studio .studio-story-frame figcaption{position:sticky;left:var(--gutter);width:max-content;max-width:min(83vw,320px);margin-top:calc(-1 * clamp(40px,7vw,70px));bottom:auto;padding:4px 8px;background:rgba(13,24,33,.75)}
  #studio .studio-story-frame::after{pointer-events:none}
  #studio .studio-story-film-corner{position:sticky;left:calc(100% - 164px);margin-left:auto;width:max-content;right:auto;top:10px;pointer-events:none;float:right}
  #studio .studio-story-film-viewport:after{content:'← SCORRI LIBERAMENTE →';position:sticky;left:var(--gutter);bottom:12px;display:block;width:max-content;margin-top:-25px;margin-left:var(--gutter);font:700 9px var(--sans);letter-spacing:.12em;color:#EBE5D6;text-shadow:0 3px 12px #0D1821}
  #studio .story-path-prologue{padding:95px var(--gutter) 75px}
  #studio .story-path-prologue-inner{grid-template-columns:1fr;padding-top:60px;gap:32px}
  #studio .story-path-prologue h3{font-size:clamp(52px,10.8vw,94px);line-height:.99}
  #studio .story-path-scroll{height:810svh;min-height:4400px}
  #studio .story-path-hud{padding:90px var(--gutter) 16px;font-size:9px}
  #studio .story-path-fallback{right:-35%;width:110%;opacity:.53}
  #studio .story-path-three{mask-image:linear-gradient(0deg,#000 10%,#000 88%,transparent);-webkit-mask-image:linear-gradient(0deg,#000 10%,#000 88%,transparent)}
  #studio .story-path-beat{grid-template-columns:1fr;grid-template-rows:auto auto;align-content:center;gap:clamp(15px,2.9vh,24px);padding:12px var(--gutter) 22px}
  #studio .story-beat-overline{font-size:8px;margin:0 0 clamp(16px,2vh,23px);max-width:100%}
  #studio .story-beat-year{font-size:clamp(66px,14vw,111px)}
  #studio .story-path-beat h4{font-size:clamp(30px,8.4vw,61px);line-height:1.04;margin:15px 0 12px;max-width:520px}
  #studio .story-beat-copy>p{font-size:clamp(12px,3.4vw,15px);line-height:1.58;max-width:560px}
  #studio .story-beat-location{font-size:8px;margin-top:12px}
  #studio .story-beat-visual{width:min(100%,390px);justify-self:start;transform:none;height:clamp(120px,24vh,210px)}
  #studio .story-beat-visual img{object-position:center}
  #studio .story-beat-visual figcaption{font-size:7px;padding:17px 10px 10px}
  #studio .story-path-journey-footer{padding:11px var(--gutter) 22px}
  #studio .story-path-dots{gap:5px;margin-top:12px}
  #studio .story-path-dots button small{font-size:8px}
  #studio .story-path-progress-caption{margin-left:auto;font-size:7px}
}
@media(max-width:480px){
  #studio .studio-story-film-viewport{height:300px}
  #studio .studio-story-frame{width:max(100%,975px)}
  #studio .studio-story-film-corner{display:none}
  #studio .story-path-prologue-label span:last-child{display:none}
  #studio .story-path-prologue h3{font-size:clamp(46px,11.8vw,60px)}
  #studio .story-path-hud>span:last-child{display:none}
  #studio .story-path-hud{padding-top:86px}
  #studio .story-path-beat{gap:11px}
  #studio .story-beat-year{font-size:clamp(59px,16vw,74px)}
  #studio .story-path-beat h4{font-size:clamp(28px,8.5vw,40px);margin-top:12px;margin-bottom:12px}
  #studio .story-beat-copy>p{font-size:12px;line-height:1.52}
  #studio .story-beat-location{margin-top:9px;font-size:7px}
  #studio .story-beat-visual{height:clamp(100px,17vh,155px)}
  #studio .story-path-dots button small{font-size:7px}
  #studio .story-path-progress-caption{font-size:7px;letter-spacing:.06em}
}
@media(max-width:350px){
  #studio .story-path-hud{padding-top:80px}
  #studio .story-beat-overline{font-size:7px}
  #studio .story-beat-year{font-size:58px}
  #studio .story-path-beat h4{font-size:29px}
  #studio .story-beat-visual{height:100px}
  #studio .story-path-progress-caption{display:none}
}
@media(max-height:680px) and (min-width:781px){
  #studio .story-path-hud{padding-top:78px}
  #studio .story-beat-year{font-size:clamp(75px,8vw,135px)}
  #studio .story-path-beat h4{font-size:clamp(29px,3.1vw,60px)}
  #studio .story-beat-visual{height:clamp(120px,19vw,230px)}
  #studio .story-path-journey-footer{padding-bottom:18px}
}
@media(max-height:720px) and (max-width:780px){
  #studio .story-path-hud{padding-top:82px}
  #studio .story-path-beat{gap:8px;padding-top:3px;padding-bottom:4px}
  #studio .story-beat-overline{margin-bottom:9px}
  #studio .story-beat-year{font-size:56px}
  #studio .story-path-beat h4{font-size:29px;margin:7px 0 8px}
  #studio .story-beat-copy>p{font-size:11px;line-height:1.45}
  #studio .story-beat-visual{height:100px}
  #studio .story-path-dots{margin-top:8px}
  #studio .story-path-journey-footer{padding-bottom:13px}
}
@media(prefers-reduced-motion:reduce){
  #studio .story-path-beat,#studio .story-path-three,#studio .story-path-fallback{transition:none!important}
  #studio .story-path-beat.is-current{transform:none!important}
}

/* Never stack words/images of adjacent journey chapters during quick scrubbing. */
#studio .story-path-beat:not(.is-current){opacity:0!important;visibility:hidden!important;transition:none!important}
#studio .story-path-beat.is-current{transition:opacity .22s ease,transform .36s cubic-bezier(.19,.8,.24,1)}
@media(max-width:780px){#studio .studio-story-frame img{object-fit:contain;background:#101C28}}


/* LE ORIGINI / STEP-TO-STEP SCROLL - shorter track; gestures auto-advance. */
html.studio-step-running {scroll-behavior:auto!important;}
#studio .story-path-scroll {height:610svh;min-height:0;}
@media (max-width:780px) {#studio .story-path-scroll {height:610svh;min-height:0;}}
#studio .story-path-progress-caption {color:#EBE5D6;}
/* Temporary archive photos are widescreen photographs, not panoramic collages. */
#studio .studio-story-frame img {object-fit:cover;object-position:center;transform:none!important;}
@media(max-width:780px){#studio .studio-story-frame img {object-fit:cover;object-position:center;}}


/* ORIGINI / UHD-CRISP PATH (visual scope: Studio only) */
#studio .story-route-progress{
  stroke-dasharray: none; /* precise path length / end point supplied in JS */
  stroke-linecap:round;stroke-linejoin:round;
  stroke-width:3;filter:drop-shadow(0 0 4px rgba(200,178,125,.43));
}
#studio .story-route-tip{filter:drop-shadow(0 0 5px rgba(200,178,125,.5));}
#studio .story-path-three canvas{image-rendering:auto;}


/* === LE ORIGINI V3 / CINEMATIC DESCENT ===
   From top to bottom: an illuminated path that unfurls in the direction
   of reading and travel. Scoped exclusively to the Studio journey. */
#studio .story-path-fallback{
  filter:drop-shadow(0 0 12px rgba(221,208,177,.08));
  overflow:visible;
}
#studio .story-route-shadow{
  fill:none;stroke:rgba(221,208,177,.08);stroke-width:18;stroke-linecap:round;
  filter:blur(12px);
}
#studio .story-route-ghost{stroke:rgba(221,208,177,.11);stroke-width:2;stroke-dasharray:none;stroke-linecap:round}
#studio .story-route-progress{stroke-width:3;stroke: url(#story-route-grad);stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 7px rgba(200,178,125,.45))}
#studio .story-route-waypoint{opacity:0;transition:opacity .5s ease}
#studio .story-route-waypoint.is-reached{opacity:.53}
#studio .story-route-waypoint.is-current{opacity:1}
#studio .story-route-waypoint.is-current circle:nth-child(2){stroke-width:2;fill:#C8B27D}
#studio .story-route-tip{filter:drop-shadow(0 0 8px rgba(200,178,125,.6))}
#studio .story-path-glow{
  transform:translate3d(0,calc(var(--journey-progress,0) * 17svh),0);
  transition:none;
}
@media (max-width:780px){
  #studio .story-path-fallback{right:-20%;width:108%;opacity:.56;transform:none}
}
/* CINEMATIC REFINEMENT V4 — centered, restrained and more fluid.
   One geometric SVG path (three rendering layers); JS reads its real length
   for the terminal glow and the eight milestones. */
@media (min-width:781px){
  #studio .story-path-fallback{
    left:52%;
    right:auto;
    top:3%;
    width:clamp(350px,39vw,610px);
    height:94%;
    opacity:.85;
    transform:translateX(-50%) scale(.965);
    transform-origin:50% 50%;
  }
  #studio .story-path-glow{
    right:8%;
    top:11%;
    width:64vw;
    opacity:.8;
  }
}
@media (min-width:781px) and (max-width:1100px){
  #studio .story-path-fallback{width:min(44vw,490px);left:52%}
}
#studio .story-route-progress{
  stroke-width:2.8;
  filter:drop-shadow(0 0 4px rgba(200,178,125,.53));
}
#studio .story-route-shadow{
  stroke-width:12;
  stroke:rgba(221,208,177,.065);
  filter:blur(10px);
}
#studio .story-route-ghost{stroke-width:1.25;stroke:rgba(221,208,177,.075)}
#studio .story-route-tip{filter:drop-shadow(0 0 6px rgba(200,178,125,.50))}

@media (prefers-reduced-motion:reduce){
  #studio .story-route-waypoint{transition:none}
}


/* 2006: one historical chapter, three distinct events. */
#studio .story-path-beat.is-year-collection .story-beat-overline{margin-bottom:clamp(10px,1.4vh,20px)}
#studio .story-path-beat.is-year-collection h4{margin:clamp(9px,1vh,18px) 0 clamp(12px,1.2vh,18px);font-size:clamp(29px,3.3vw,64px)}
#studio .story-beat-milestones{display:grid;gap:clamp(7px,1.5vh,13px);max-width:640px}
#studio .story-beat-milestones p{display:grid;grid-template-columns:minmax(100px,168px) minmax(0,1fr);gap:12px;align-items:baseline;margin:0;font-size:clamp(11px,.9vw,14px);line-height:1.42;color:#B0CFD3}
#studio .story-beat-milestones strong{font:700 clamp(8px,.68vw,10px)/1.5 var(--sans);letter-spacing:.075em;color:#C8B27D}
#studio .story-path-beat.is-year-collection .story-beat-location{margin-top:clamp(10px,2vh,22px)}
@media(max-width:780px){
 #studio .story-path-beat.is-year-collection h4{font-size:clamp(27px,7.2vw,43px);margin:8px 0 11px}
 #studio .story-beat-milestones{gap:7px}
 #studio .story-beat-milestones p{grid-template-columns:1fr;gap:1px;font-size:clamp(10px,2.9vw,12px);line-height:1.37}
 #studio .story-beat-milestones strong{font-size:9px;line-height:1.3}
 #studio .story-path-beat.is-year-collection .story-beat-visual{height:clamp(85px,13vh,130px)}
 #studio .story-path-beat.is-year-collection .story-beat-location{margin-top:8px;font-size:7px}
}
@media(max-width:480px){
 #studio .story-path-beat.is-year-collection .story-beat-overline{margin-bottom:9px}
 #studio .story-path-beat.is-year-collection .story-beat-year{font-size:clamp(52px,14vw,68px)}
 #studio .story-path-beat.is-year-collection h4{font-size:clamp(27px,7.5vw,34px)}
 #studio .story-path-beat.is-year-collection .story-beat-visual{height:clamp(70px,11vh,102px)}
}
@media(max-height:720px) and (max-width:780px){
 #studio .story-path-beat.is-year-collection{gap:6px}
 #studio .story-path-beat.is-year-collection h4{font-size:26px;margin:5px 0 7px}
 #studio .story-path-beat.is-year-collection .story-beat-visual{height:72px}
 #studio .story-beat-milestones{gap:4px}
 #studio .story-beat-milestones p{font-size:10px;line-height:1.25}
 #studio .story-path-beat.is-year-collection .story-beat-location{display:none}
}


/* === ORIGINI / SINGLE DESCENDING PATH · 30 OCT 2026 ===
   The SVG is the only visible timeline curve, including when WebGL loads.
   No 3D duplicate, ghost trail or parallel line may appear during crossfade. */
#studio .story-path-fallback,
#studio .story-path-three.is-ready + .story-path-fallback {
  opacity: .92;
  transition: none;
  visibility: visible;
}
#studio .story-route-shadow,
#studio .story-route-ghost { display: none; }
#studio .story-route-progress {
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#studio .story-path-three.is-ready { opacity: .52; }
#studio .story-path-three { transition: opacity .45s ease; }
@media(max-width:780px){
  #studio .story-path-fallback,
  #studio .story-path-three.is-ready + .story-path-fallback { opacity: .93; }
}
@media(prefers-reduced-motion:reduce){
  #studio .story-path-fallback { opacity: .92; }
}

/* === V4 / TECHNICAL DRAWING PAPER — STUDIO JOURNEY ONLY ===
   An architectural working sheet with a yacht-design study.
   All overlays are noninteractive and remain BEHIND photos, text and the SVG route. */
#studio .story-path-grid {
  opacity:.32;
  background:
    repeating-linear-gradient(0deg,transparent 0,transparent 159px,rgba(235,229,214,.16) 160px),
    repeating-linear-gradient(90deg,transparent 0,transparent 159px,rgba(235,229,214,.16) 160px);
  background-size:auto;
  mask-image:linear-gradient(90deg,rgba(0,0,0,.15),#000 54%,rgba(0,0,0,.58));
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.15),#000 54%,rgba(0,0,0,.58));
}
#studio .story-tech-paper {
  position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden;
  color:#DDD0B1; isolation:isolate;
}
#studio .story-tech-paper-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(to right,rgba(221,208,177,.087) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(221,208,177,.087) 1px,transparent 1px),
    linear-gradient(to right,rgba(235,229,214,.034) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(235,229,214,.034) 1px,transparent 1px);
  background-size:160px 160px,160px 160px,40px 40px,40px 40px;
  opacity:.78;
  transform:perspective(1300px) rotateX(14deg) scale(1.08);
  transform-origin:50% 48%;
  mask-image:linear-gradient(90deg,transparent,#000 22%,#000 90%,transparent);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 22%,#000 90%,transparent);
}
#studio .story-tech-notations {
  position:absolute; inset:0; width:100%; height:100%;
  overflow:hidden; opacity:.56;
  mask-image:linear-gradient(to bottom,#000 0%,#000 67%,transparent 82%);
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 67%,transparent 82%);
}
#studio .story-tech-note-text {opacity:.60}
#studio .story-tech-dimensions {opacity:.77}
#studio .story-tech-scan {
  position:absolute; inset:0 auto 0 0; width:22%; opacity:.48;
  background:linear-gradient(90deg,transparent,rgba(221,208,177,.035),transparent);
  mix-blend-mode:screen; transform:translateX(-150%);
  animation:studio-tech-scan 23s linear infinite;
}
@keyframes studio-tech-scan{from{transform:translateX(-150%)}to{transform:translateX(570%)}}
@media(max-width:1100px){
  #studio .story-tech-notations {opacity:.43}
  #studio .story-tech-paper-grid {opacity:.62}
}
@media(max-width:780px){
  #studio .story-path-grid {opacity:.23}
  #studio .story-tech-paper-grid {background-size:120px 120px,120px 120px,30px 30px,30px 30px;opacity:.46;transform:none}
  #studio .story-tech-notations {opacity:.22}
  #studio .story-tech-note-text {opacity:.32}
  #studio .story-tech-scan {opacity:.25;animation-duration:28s}
}
@media(prefers-reduced-motion:reduce){
  #studio .story-tech-scan {animation:none;opacity:0}
}
