/* One continuous scene: navigation, typography, light and portrait. */
.hero-shell{position:relative;isolation:isolate;margin-top:-107px;padding-top:107px;overflow:hidden;background:var(--navy);color:var(--white)}
.hero-shell::before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(115deg,#00233d 12%,#10334f 100%)}
.hero-shell::after{content:"";position:absolute;z-index:2;left:0;right:0;bottom:-1px;height:27%;pointer-events:none;background:linear-gradient(to bottom,rgba(0,35,61,0),#00233d 94%)}
.hero-shell .home-hero{position:relative;display:block;height:clamp(640px,calc(100svh - 106px),850px);min-height:0;max-height:none;margin-bottom:0}
.hero-shell .hero-copy{position:relative;z-index:3;width:57%;min-height:100%;padding:30px 0 100px;justify-content:center;text-align:left}
.hero-shell .hero-copy h1{font-size:clamp(6.5rem,12.2vw,12rem);line-height:.9;letter-spacing:-.025em;margin-bottom:42px}
.hero-shell .hero-copy h1 span,.hero-shell .hero-copy h1 em{padding-left:0;margin-left:0;transform-origin:left center}
.hero-shell .hero-copy h1 em{margin-top:10px}
.hero-shell .hero-subtitle{font-size:clamp(1.125rem,1.5vw,1.5rem);line-height:1.55;max-width:400px}
.hero-shell .hero-portrait{position:absolute;z-index:1;top:0;bottom:0;right:-7%;left:auto;width:65%;height:auto;aspect-ratio:auto;overflow:visible;background:transparent;pointer-events:none;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 72%,rgba(0,0,0,.88) 83%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 72%,rgba(0,0,0,.88) 83%,transparent 100%)}
.hero-shell .hero-portrait img{position:absolute;bottom:-27%;left:50%;height:125%;max-height:1381px;width:auto;max-width:1139px;object-fit:contain;object-position:center bottom;transform:translate3d(-50%,var(--portrait-shift,0px),0);filter:none;-webkit-mask-image:url("/assets/federico-marsili-maschera-v18.svg");mask-image:url("/assets/federico-marsili-maschera-v18.svg");mask-mode:alpha;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
@keyframes hero-title-enter{from{opacity:0;transform:translate3d(0,22px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes hero-portrait-enter{from{opacity:0;transform:translate3d(12px,14px,0)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){.hero-copy h1 span{animation:hero-title-enter .85s cubic-bezier(.2,.7,.2,1) both}.hero-copy h1 em{animation:hero-title-enter .9s .12s cubic-bezier(.2,.7,.2,1) both}.hero-subtitle{animation:hero-title-enter .85s .24s cubic-bezier(.2,.7,.2,1) both}.hero-shell .hero-portrait{animation:hero-portrait-enter 1.1s .08s cubic-bezier(.2,.7,.2,1) both}}
@media(min-width:961px) and (max-width:1100px){.hero-shell .home-hero{height:660px}.hero-shell .hero-copy{width:58%}.hero-shell .hero-copy h1{font-size:11.7vw}.hero-shell .hero-portrait{right:-10%;width:68%}.hero-shell .hero-portrait img{height:117%;bottom:-19%}}
@media(max-width:960px){.hero-shell{margin-top:-83px;padding-top:83px}.hero-shell::before{background:linear-gradient(135deg,#00233d,#10334f)}.hero-shell::after{height:21%}.hero-shell .home-hero{height:auto;min-height:0}.hero-shell .hero-copy{width:100%;min-height:0;padding:38px 0 10px}.hero-shell .hero-copy h1{font-size:clamp(5.5rem,19.5vw,9.5rem);line-height:.92;margin-bottom:25px}.hero-shell .hero-copy h1 em{margin-top:5px}.hero-shell .hero-subtitle{font-size:1.125rem}.hero-shell .hero-portrait{position:relative;inset:auto;left:-24px;width:calc(100% + 48px);height:clamp(390px,112vw,650px);margin-top:6px;aspect-ratio:auto;overflow:visible}.hero-shell .hero-portrait img{height:112%;bottom:-14%;left:53%}}
@media(prefers-reduced-motion:reduce){.hero-shell .hero-portrait img{transform:translateX(-50%)}.hero-shell .hero-copy h1 span,.hero-shell .hero-copy h1 em,.hero-shell .hero-subtitle,.hero-shell .hero-portrait{animation:none!important;opacity:1;transform:none}}
