/* One dark material across pages, with restrained blue signals. */
:root{--sheet:#080e17;--night:#080e17;--navy:#edf4fc;--soft:#a7bbcc;--line:#294151;--blue:#46baff;--ink:#edf4fc;--muted:#b6c7d7;color-scheme:dark}
.full-site,.paper-section,.light-entry,.dark-entry,.technology-section,.opensource-section,.page-intro,.contact-entry,.method-playground,.goals-section{background:#080e17;color:#edf4fc}
.inner-page .site-header,.site-header[data-tone=paper],.site-header[data-tone=dark],.site-header[data-tone=scene]{color:#edf4fc;background:#080e17f0}
.full-site h1 span,.full-site h2 span{color:#91aabd}.hero-title span{color:#46c3ff}
.page-lead,.section-lead,.kicker,.contact-guide,.method-outcome,.method-outcome span,.logo-wall figcaption,.protocol-name{color:#a7bbcc}
.contact-address,.text-link,.map-detail a{color:#5bc6ff}.action{color:#edf4fc}.action .arrow{border-color:#446174}.back-link{color:#b4c8d8}
.wallpaper-surface{position:relative;isolation:isolate}
.stage.wallpaper-surface{position:sticky}
.wallpaper-surface::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background-image:radial-gradient(circle at 1px 1px,#7ba6c326 1px,transparent 1.2px);background-size:24px 24px;mask-image:radial-gradient(ellipse at 65% 35%,#000b,transparent 80%)}
.wallpaper-surface>.wrap,.wallpaper-surface>.footer-top,.wallpaper-surface>.footer-middle,.wallpaper-surface>.footer-end,.wallpaper-surface>.demo-note{position:relative;z-index:1}
.wallpaper-surface>.signal-field{z-index:0}.stage.wallpaper-surface>.signal-field{z-index:2}
.stage.wallpaper-surface::before{z-index:1}.copy-layer,.journey-ui{z-index:3}
.capability-map,.map-sticky{background:#080e17;color:#edf4fc}.map-heading h1 span{color:#91aabd}.map-intro,.map-node-index,.map-node-tools,.map-instruction{color:#a5bdcf}
.map-area{color:#edf4fc}.map-area:hover .map-node-title,.map-area[aria-pressed=true] .map-node-title,.map-area.is-related .map-node-title,.map-area.is-related .map-node-index{color:#5bc6ff}
.map-hub::before{background:linear-gradient(135deg,#173349,#0a1825);box-shadow:0 14px 50px #0004,inset 0 0 0 1px #355b76}.map-hub-ring{border-color:#27628b}
.map-detail{background:#0c1d2b;border-color:#294a61}.map-detail p{color:#bfd1df}.map-detail a{border-color:#34709a}.map-track{stroke:#567e9b}.map-current{stroke:#229ef4}.map-relation{stroke:#3faef8;opacity:.25}.map-relation.is-active{opacity:.9}
.connection-art{background:radial-gradient(ellipse at center,#14334a,#080e17 80%)}.connection-caption{color:#adc6d8}
.solutions-visual,.service-hero-art,.web-art{background:#080e17}.compact-service .service-hero-art{border-color:#294151;box-shadow:0 20px 55px #0003}
.logo-wall figure>img,.logo-pair{background:#dce8ee;border-radius:7px;padding:5px}.logo-pair img{padding:0}.stack-accent .logo-wall figure:hover{background:none}
/* The goals remain in one place: choose, understand, get in touch. */
.home-solutions{padding:100px 0 65px}.home-solutions .section-heading{margin-bottom:15px}.goals-section{padding-bottom:70px}.goals-section .goal-canvas{margin-top:-20px}
.goal-canvas{height:490px;position:relative;max-width:1180px;margin:0 auto;isolation:isolate}
.goal-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.goal-route{stroke:#28658c;stroke-width:1.2;opacity:.6;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1s ease,stroke .25s,opacity .25s}
.is-entered .goal-route{stroke-dashoffset:0}.goal-route.is-active{stroke:#4fc1ff;stroke-width:2;opacity:1}
.goal-preview{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);width:44%;height:285px;border:1px solid #294758;border-radius:22px;overflow:hidden;background:#080e17;z-index:1;box-shadow:0 18px 45px #0005}
.goal-visual{position:absolute;inset:0;opacity:0;visibility:hidden}.goal-visual.is-active{opacity:1;visibility:visible;animation:goal-enter .45s ease both}
.goal-visual>.scene-image{object-fit:contain;object-position:center}.goal-visual>.web-art{height:100%;padding:20px 35px}.goal-visual .web-art-content{min-height:190px}.goal-visual .web-art strong{font-size:43px;margin-top:15px}.goal-visual .web-art-bottom{font-size:7px;bottom:15px}.goal-visual .browser-bar{height:23px}.goal-visual .infra-art{padding:25px 20px;gap:18px}.goal-visual .infra-access,.goal-visual .infra-cluster{padding:9px;font-size:15px}.goal-visual .infra-art>span,.goal-visual .infra-monitor{display:none}.goal-visual .infra-nodes>div{font-size:9px;padding:12px 5px}.goal-visual .infra-nodes b{font-size:8px}.goal-visual .connection-caption{display:none}
.goal-preview-caption{position:absolute;left:20px;bottom:13px;font-size:8px;letter-spacing:.1em;text-transform:uppercase;color:#9eb8cb;z-index:2;padding:5px 8px;background:#080e17e8;border-radius:10px}
.goal-node{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:220px;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:8px 10px;border:0;background:#080e17d9;color:#e7f1f8;z-index:2;cursor:pointer;text-align:center;border-radius:12px}
.goal-node>span{font-size:9px;color:#87a9c0;letter-spacing:.1em}.goal-node strong{font-size:21px;font-weight:450;letter-spacing:-.035em;line-height:1.15}.goal-node[aria-pressed=true] strong,.goal-node:hover strong{color:#5bc6ff}.goal-node[aria-pressed=true]::after{content:'';width:5px;height:5px;border-radius:50%;background:#46baff;position:absolute;bottom:-1px}
.goal-detail{max-width:970px;min-height:134px;margin:28px auto 0;padding:24px 28px;display:grid;grid-template-columns:1fr auto;gap:25px;align-items:center;border:1px solid #2c4b61;border-radius:16px;background:#0c1c28;scroll-margin-top:110px}
.goal-detail :is(h2,h3){font-size:24px;margin-bottom:10px}.goal-detail p{font-size:15px;line-height:1.6;color:#b8cbd9;max-width:600px}.goal-detail .action{font-size:13px;white-space:nowrap}.goal-static{color:#b8cbd9;line-height:1.8}.goal-node:focus-visible{outline-offset:3px}
@keyframes goal-enter{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
/* Method: one connected route, four phases, one explanation at a time. */
.method-intro{padding-bottom:30px}.method-playground{padding-bottom:70px}.process-map{height:140px;position:relative;margin-bottom:25px}
.process-map>svg{position:absolute;left:0;top:19px;width:100%;height:20px;fill:none;overflow:visible}.process-track{stroke:#2c4b60;stroke-width:1}.process-route{stroke:#3bb6ff;stroke-width:2;stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--process-progress,0));transition:stroke-dashoffset .65s ease}
.process-nodes{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;position:relative}
.process-node{background:none;border:0;color:#adc3d3;display:flex;flex-direction:column;align-items:center;gap:23px;cursor:pointer;padding:10px 5px;min-height:110px}
.process-node>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid #365a73;background:#0c1a27;color:#91afc6;font-size:10px;transition:background .25s,border-color .25s,color .25s}.process-node strong{font-weight:450;font-size:24px;letter-spacing:-.035em}
.process-node[aria-pressed=true]{color:#edf4fc}.process-node[aria-pressed=true]>span{border-color:#55bdff;background:#0c3854;color:#a6deff;box-shadow:0 0 25px #149dea20}
.method-phase{display:grid;grid-template-columns:1.3fr .7fr;gap:7vw;padding:40px;border:1px solid #2b4b60;border-radius:20px;background:linear-gradient(135deg,#102638e8,#0a1722e8);scroll-margin:110px;outline-offset:5px;margin-bottom:18px}
.method-phase.is-active{animation:goal-enter .4s ease both}.method-phase h2{font-size:clamp(35px,4vw,57px)}.method-description{font-size:17px;line-height:1.75;color:#b6cbd9;margin-top:24px;max-width:650px}.method-phase .kicker{font-size:10px;margin-bottom:20px}.method-result{border-left:1px solid #315570;padding-left:28px;align-self:center;font-size:20px;line-height:1.6;color:#c6dbe9}.method-result>span{display:block;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#73a6c8;margin-bottom:20px}
@media(max-width:1000px) and (min-width:701px){.goal-node{width:180px}.goal-node strong{font-size:18px}.goal-preview{width:43%;height:235px}.goal-detail{padding:22px}.goal-detail p{font-size:14px}}
@media(max-width:700px){
 .home-solutions{padding-top:85px}.home-solutions .section-heading{margin-bottom:24px}.home-solutions .section-lead{font-size:15px;max-width:330px;margin-left:0}
 .goal-canvas{height:540px;margin-inline:calc(-1 * var(--gutter));max-width:none}.goal-node{width:45%;min-height:65px;padding:8px 5px}.goal-node strong{font-size:18px;max-width:145px}.goal-node>span{font-size:8px}
 .goal-node[data-goal=applicazioni]{left:25%;top:7%}.goal-node[data-goal=siti-web]{left:75%;top:7%}.goal-node[data-goal=software-aziendale]{left:25%;top:24%}.goal-node[data-goal=integrazioni]{left:75%;top:24%}.goal-node[data-goal=automazione-industriale]{left:25%;top:77%}.goal-node[data-goal=firmware]{left:75%;top:77%}.goal-node[data-goal=infrastrutture]{left:50%;top:95%;width:70%;min-height:60px}.goal-node[data-goal=infrastrutture] strong{max-width:none}
 .goal-preview{width:73%;height:205px;top:50%;border-radius:17px}.goal-preview-caption{left:11px;bottom:7px;font-size:7px}.goal-visual>.web-art{padding:14px 25px}.goal-visual .web-art-content{min-height:150px;padding:15px}.goal-visual .web-art strong{font-size:35px;margin-top:15px}.goal-visual .web-art-bottom{display:none}.goal-visual .mini-label{font-size:5px}.goal-visual .infra-art{padding:16px 12px;gap:15px}.goal-visual .infra-access,.goal-visual .infra-cluster{font-size:13px;padding:7px}.goal-visual .infra-access i,.goal-visual .infra-cluster i{font-size:6px}.goal-visual .infra-nodes{gap:5px}.goal-visual .infra-nodes>div{font-size:8px;padding:9px 3px}.goal-visual .infra-nodes b{font-size:6px}
 .goal-detail{grid-template-columns:1fr;gap:10px;padding:22px 20px;margin-top:24px;min-height:0}.goal-detail :is(h2,h3){font-size:23px}.goal-detail p{font-size:14px}.goal-detail .action{justify-self:start;white-space:normal;gap:20px;font-size:13px}.goals-section .goal-canvas{margin-top:0}.goals-section{padding-bottom:40px}
 .method-intro{padding-bottom:25px}.method-playground{padding-bottom:35px}.process-map{height:110px;margin-bottom:16px}.process-nodes{gap:0}.process-node{gap:17px;padding-inline:0;min-height:100px}.process-node strong{font-size:16px}.process-node>span{width:34px;height:34px}.process-map>svg{top:17px}
 .method-phase{grid-template-columns:1fr;gap:25px;padding:25px 20px;border-radius:16px}.method-phase h2{font-size:34px}.method-description{font-size:15px;margin-top:20px;line-height:1.7}.method-result{font-size:16px;padding-left:18px}.method-result>span{font-size:9px;margin-bottom:10px}
}
@media(prefers-reduced-motion:reduce){.goal-visual.is-active,.method-phase.is-active{animation:none}.goal-route,.process-route{transition:none}.goal-route{stroke-dashoffset:0}}

/* Scroll advances the method; short windows retain a readable document flow. */
.method-story{position:relative;--method-top:100px;--method-nav-top:82px;--method-nav-height:140px}
.method-scene{position:relative;z-index:1}
.method-story .process-map{position:sticky;top:var(--method-nav-top);z-index:2;background:#080e17}
.method-story .method-phase{scroll-margin-top:calc(var(--method-nav-top) + var(--method-nav-height) + 20px);animation:none}
.method-story.is-scroll-driven{height:calc(var(--method-travel) + var(--method-height))}
.is-scroll-driven .method-scene{position:sticky;top:var(--method-top)}
.is-scroll-driven .process-map{position:relative;top:auto}
.is-scroll-driven .method-panels{display:grid}
.is-scroll-driven .method-phase{grid-area:1/1;margin-bottom:0}
.is-scroll-driven .method-phase:not(.is-active){visibility:hidden;opacity:0;pointer-events:none}
.is-scroll-driven .method-phase.is-active{animation:goal-enter .4s ease both}
@media(prefers-reduced-motion:reduce){.is-scroll-driven .method-phase.is-active{animation:none}}

.process-nodes{grid-template-columns:repeat(4,minmax(0,1fr))}.process-node{min-width:0}
@media(max-width:700px){.process-node strong{font-size:clamp(12px,3.6vw,16px)}}

@media(max-height:460px){.method-story .process-map{height:82px;margin-bottom:18px}.process-node{min-height:80px;gap:10px}.process-node>span{width:28px;height:28px}.process-node strong{font-size:14px}.process-map>svg{top:14px}}

.map-ready .map-node-tools{opacity:1}

/* Scroll controls the story; each gesture has a readable destination. */
.homepage.enhanced:not(.static-mode) .journey{height:600svh;min-height:0}
.journey .chapter-stop{left:0;width:1px;height:1px;scroll-snap-align:none;scroll-snap-stop:normal}
.journey-ui{display:flex;align-items:center;justify-content:space-between;gap:18px}
@media(max-width:700px){.journey-ui{display:grid;grid-template-columns:1fr;gap:9px}.journey-ui .chapter-label{grid-column:1;grid-row:1;min-width:0;font-size:10px;gap:8px}.journey-ui .steps{grid-column:1;grid-row:2;max-width:none;width:100%;gap:0;justify-content:space-between}.journey-ui .steps a{width:44px;min-width:44px;flex:0 0 44px;height:44px}}

/* One stable centre for the loading mark and ring, including first paint. */
.page-loader .loader-mark{position:absolute;left:50%;top:50%;width:128px;height:128px;transform:translate(-50%,-50%);display:grid;place-items:center}
.page-loader .loader-ring{inset:0;width:auto;height:auto}
.page-loader .loader-mark svg{display:block;width:88px;height:57px;margin:0;padding:0}
.menu-toggle:not([hidden]){width:44px;height:44px;padding:10px;justify-content:center;border:1px solid #294151;border-radius:50%}
.menu-icon{position:relative;width:21px;height:16px;display:block}
.menu-icon i{position:absolute;left:0;width:21px;height:1.5px;background:currentColor;transition:transform .2s ease,opacity .2s ease;transform-origin:center}
.menu-icon i:nth-child(1){top:0}.menu-icon i:nth-child(2){top:7px}.menu-icon i:nth-child(3){top:14px}
.menu-toggle[aria-expanded=true] .menu-icon i:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle[aria-expanded=true] .menu-icon i:nth-child(2){opacity:0}
.menu-toggle[aria-expanded=true] .menu-icon i:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media(prefers-reduced-motion:reduce){.menu-icon i{transition:none}}

/* The selected goal is the centre of the map; decorative mockups are removed. */
.goal-canvas{height:620px;margin-top:0}
.goal-choice,.goal-nodes{display:contents}
.goal-node .goal-arrow{display:none}
.goal-detail{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%);width:43%;max-width:520px;min-height:0;margin:0;padding:30px;display:flex;flex-direction:column;align-items:flex-start;gap:23px;z-index:3;border-radius:20px;background:#0c1c28}
.goal-detail :is(h2,h3){font-size:27px;line-height:1.15;margin-bottom:16px}
.goal-detail p{font-size:15px;line-height:1.65}
.goal-detail .action{white-space:normal;font-size:12px;gap:15px}
.goal-detail .arrow{width:36px;height:36px;flex-shrink:0}
@media(min-width:961px) and (max-width:1000px){.goal-detail{padding:23px}.goal-detail :is(h2,h3){font-size:24px}.goal-detail p{font-size:14px}}
@media(max-width:960px){
 .home-solutions{padding:64px 0 45px}.goals-section{padding-bottom:45px}.goals-section .goal-canvas{margin-top:0}
 .goal-canvas{height:auto;max-width:none;margin:0;isolation:auto}
 .goal-lines{display:none}.goal-nodes{display:block}.goal-choice{display:block;border-top:1px solid #294151}.goal-choice:last-child{border-bottom:1px solid #294151}
 .goal-node,.goal-node[data-goal]{position:static;left:auto;top:auto;transform:none;width:100%;min-height:76px;padding:19px 0;display:grid;grid-template-columns:25px minmax(0,1fr) 22px;gap:13px;text-align:left;align-items:center;background:none;border-radius:0}
 .goal-node>span.goal-index{font-size:10px;letter-spacing:.04em}.goal-node strong{max-width:none;font-size:21px;line-height:1.25}.goal-node .goal-arrow{display:block;font-size:21px;text-align:right}
 .goal-node[aria-pressed=true]::after{display:none}.goal-node[aria-pressed=true] .goal-arrow{transform:rotate(90deg);color:#5bc6ff}
 .goal-detail{position:static;left:auto;top:auto;transform:none;width:100%;max-width:none;margin:0 0 22px;padding:22px;gap:20px;border-radius:12px;scroll-margin-top:100px}
 .goal-detail :is(h2,h3){font-size:23px;margin-bottom:12px}.goal-detail p{font-size:15px;line-height:1.65}.goal-detail .action{font-size:12px}
 .goal-node:focus-visible{outline-offset:-2px}
}

@media(max-width:700px){
 .homepage .stage .episode:not(.hero){bottom:140px}
 .homepage .stage .world{top:100px;bottom:245px}
 .homepage .stage[data-phase="0"] .world{top:clamp(295px,42svh,380px);bottom:150px}
}

@media(max-width:960px){.goal-canvas{overflow-anchor:none}}

/* Quiet light on the established wallpaper; no travelling marks. */
.wallpaper-surface::before{animation:wallpaper-light 16s ease-in-out infinite}
@keyframes wallpaper-light{0%,100%{opacity:1}50%{opacity:.78}}
.menu-open .wallpaper-surface::before{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.wallpaper-surface::before{animation:none}}

/* One connected system, visible and alive before any selection. */
.map-lines{pointer-events:none}
.capability-map:not(.map-ready) .map-lines{visibility:hidden}
.map-orbit,.map-signal{display:none}
.map-hub{display:grid;place-items:center;gap:0}
.map-hub img{position:absolute;left:50%;top:50%;width:75px;height:auto;transform:translate(-50%,-50%)!important;filter:none}
.map-hub>span{position:absolute;top:calc(100% + 21px);left:50%;transform:translateX(-50%);white-space:nowrap;color:#a7bbcc;font-size:11px}
.map-hub-ring{inset:-10px;transform:none;border-color:#285775}
.map-area{transform:translate(-50%,-50%)!important;transition:opacity .35s}
.map-area:hover .map-node-title,.map-area[aria-pressed=true] .map-node-title{transform:none}
.map-node-dot{display:none}
.map-branch{opacity:1;transition:opacity .35s}
.map-track{opacity:.5!important;stroke:#31586f;stroke-width:1}
.map-current{stroke:#3d9bc9;stroke-width:1.3;stroke-dasharray:none;stroke-dashoffset:0!important;opacity:.65}
.map-packet{display:block;fill:#b2eaff;pointer-events:none;transition:opacity .35s}
.map-port{fill:#4aa6ce;transition:opacity .35s}
.capability-map.has-selection .map-area:not([aria-pressed=true]){opacity:.38!important}
.capability-map.has-selection .map-branch:not(.is-active){opacity:.25}
.capability-map.has-selection .map-packet:not(.is-active){fill-opacity:.25}
.capability-map.has-selection .map-packet:not(.is-active),.capability-map.has-selection .map-port:not(.is-active){opacity:.25}
.capability-map .map-area[aria-pressed=true]{opacity:1!important}
.map-branch.is-active .map-current{stroke:#91d9ff;stroke-width:2;opacity:1}
.map-reset{border:0;background:none;color:#5bc6ff;font:inherit;font-size:12px;padding:8px 12px;min-height:44px;cursor:pointer}
.map-reset[hidden]{display:none}
.map-bottom{min-height:120px;align-items:center}
.map-scroll-note{display:none}
@media(min-width:961px){.map-canvas{height:440px;margin-top:28px;margin-bottom:22px}.map-area{width:210px}.map-hub{width:124px;height:124px}}
@media(max-width:960px){
 .map-heading{display:block}.map-intro{margin-top:17px;max-width:100%}
 .map-canvas{width:100%;height:600px;margin-top:12px}
 .map-hub{left:50%;top:50%;width:96px;height:96px}
 .map-hub img{width:60px}
 .map-area{width:39%;min-height:80px;padding:8px 4px;gap:6px}
 .map-node-title{font-size:19px}.map-node-tools{font-size:11px;line-height:1.5;white-space:normal;max-width:170px}
 .map-area[data-map-area=web]{left:22%;top:9%}
 .map-area[data-map-area=backend]{left:78%;top:9%}
 .map-area[data-map-area=mobile]{left:22%;top:30%}
 .map-area[data-map-area=dati]{left:78%;top:30%}
 .map-area[data-map-area=infrastruttura]{left:22%;top:70%}
 .map-area[data-map-area=industria]{left:78%;top:70%}
 .map-area[data-map-area=embedded]{left:22%;top:91%}
 .map-area[data-map-area=connessi]{left:78%;top:91%}
 .map-area[data-map-area=industria] .map-node-title{font-size:17px;max-width:170px}
 .map-lines{overflow:hidden}
 .map-bottom{display:flex;flex-direction:column;align-items:center;gap:15px;padding-top:14px;padding-bottom:25px}
 .map-instruction{order:2}.map-detail{width:100%}
}
.footer-choices{display:flex;flex-wrap:wrap;gap:12px 28px;padding:0 0 30px;max-width:840px}
.footer-choices a{display:flex;gap:12px;font-size:13px;color:#a7bbcc;padding:9px 0;border-bottom:1px solid #294151}
.footer-choices a:hover{color:#8dd7ff}.footer-choices a:focus-visible{outline:1px solid #8dd7ff;outline-offset:5px}
.footer-choices span{color:#4ba8d6}
@media(prefers-reduced-motion:reduce){.map-area,.map-branch,.map-packet,.map-port{transition:none}.map-packet{display:none}}

/* Expertise is a single screen: overview, selection and explanation together. */
.expertise-page .capability-map{height:calc(100svh - 45px);min-height:580px}
.expertise-page .map-sticky{height:100%;padding:96px 0 12px;display:grid;grid-template-rows:auto minmax(180px,1fr) 208px;gap:10px;overflow:visible}
.expertise-page .map-heading{padding-top:0;display:block}
.expertise-page .map-heading .kicker{display:none}
.expertise-page .map-heading h1{font-size:34px;line-height:1.08}
.expertise-page .map-heading h1 br{display:none}
.expertise-page .map-heading h1 span{margin-left:9px}
.expertise-page .map-intro{display:none}
.expertise-page .map-canvas{width:min(1100px,96vw);height:100%;max-height:360px;min-height:180px;margin:0 auto;align-self:center}
.expertise-page .map-hub{width:90px;height:90px;left:50%;top:50%}
.expertise-page .map-hub img{width:56px}
.expertise-page .map-area{width:190px;min-height:44px;padding:5px 3px;gap:5px}
.expertise-page .map-node-title{font-size:20px}
.expertise-page .map-node-index,.expertise-page .map-node-tools{display:none}
.expertise-page .map-area[data-map-area=web]{left:20%;top:12%}
.expertise-page .map-area[data-map-area=backend]{left:50%;top:9%}
.expertise-page .map-area[data-map-area=mobile]{left:80%;top:12%}
.expertise-page .map-area[data-map-area=dati]{left:87%;top:50%}
.expertise-page .map-area[data-map-area=infrastruttura]{left:80%;top:88%}
.expertise-page .map-area[data-map-area=industria]{left:50%;top:91%}
.expertise-page .map-area[data-map-area=embedded]{left:20%;top:88%}
.expertise-page .map-area[data-map-area=connessi]{left:13%;top:50%}
.expertise-page .map-bottom{height:208px;min-height:0;padding:0;display:block;margin:0 auto;width:min(720px,calc(100% - 2 * var(--gutter)))}
.expertise-page .map-instruction{display:none}
.expertise-page .map-detail{height:100%;min-height:0;padding:16px 20px;display:flex;align-items:flex-start;text-align:left;justify-content:center;gap:7px}
.expertise-page .map-detail h2{font-size:21px;line-height:1.1;letter-spacing:-.035em;margin:0;padding-right:75px;color:#edf4fc}
.expertise-page .map-detail-tools{font-size:12px;color:#79c6ed;line-height:1.4;min-height:17px}
.expertise-page .map-description{font-size:14px;line-height:1.45;max-width:none;margin:0}
.expertise-page .map-detail a{align-self:flex-start;min-height:44px;margin-top:0}
.expertise-page .map-reset{position:absolute;top:7px;right:7px;min-height:44px;font-size:11px;padding:8px}
.expertise-page .expertise-footer,.home-fallback-footer{padding:0 var(--gutter);margin:0}
.compact-bar{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #294151;color:#91aabd;font-size:11px}
.compact-bar nav{display:flex;gap:20px;align-items:center}
.compact-bar a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:960px){
 .expertise-page .capability-map{min-height:0}
 .expertise-page .map-sticky{padding:85px 0 8px;gap:8px;grid-template-rows:auto minmax(180px,1fr) 208px}
 .expertise-page .map-heading h1{font-size:26px;line-height:1.12}
 .expertise-page .map-heading h1 br{display:block}
 .expertise-page .map-heading h1 span{margin-left:0;font-size:21px}
 .expertise-page .map-canvas{width:100%;max-height:300px}
 .expertise-page .map-hub{width:58px;height:58px}
 .expertise-page .map-hub img{width:37px}
 .expertise-page .map-area{width:29%;min-height:44px;padding:2px;gap:0}
 .expertise-page .map-node-title,.expertise-page .map-area[data-map-area=industria] .map-node-title{font-size:16px;line-height:1.16;max-width:none}
 .expertise-page .map-area[data-map-area=web]{left:17%;top:11%}
 .expertise-page .map-area[data-map-area=backend]{left:50%;top:9%}
 .expertise-page .map-area[data-map-area=mobile]{left:83%;top:11%}
 .expertise-page .map-area[data-map-area=dati]{left:84%;top:50%}
 .expertise-page .map-area[data-map-area=infrastruttura]{left:83%;top:89%}
 .expertise-page .map-area[data-map-area=industria]{left:50%;top:91%}
 .expertise-page .map-area[data-map-area=embedded]{left:17%;top:89%}
 .expertise-page .map-area[data-map-area=connessi]{left:16%;top:50%}
 .expertise-page .map-detail{padding:13px 15px;gap:5px}
 .expertise-page .map-detail h2{font-size:19px}
 .expertise-page .map-description{font-size:13px;line-height:1.4}
 .expertise-page .map-detail-tools{font-size:11px}
 .expertise-page .map-reset{font-size:10px}
 .expertise-page .compact-bar{font-size:10px}.compact-bar nav{gap:13px}
}
@media(max-width:360px){.expertise-page .map-node-title,.expertise-page .map-area[data-map-area=industria] .map-node-title{font-size:14px}.expertise-page .map-hub{width:48px;height:48px}.expertise-page .map-hub img{width:31px}.expertise-page .map-description{font-size:12px}}
@media(max-height:620px){.expertise-page .map-sticky{padding-top:80px;grid-template-rows:auto minmax(164px,1fr) 190px}.expertise-page .map-bottom{height:190px}.expertise-page .map-heading h1{font-size:23px}.expertise-page .map-heading h1 span{font-size:19px}}
@media(max-height:480px){.expertise-page .capability-map{height:auto;min-height:550px}.expertise-page .map-sticky{min-height:550px;grid-template-rows:auto 200px 190px}}

/* The last chapter contains the contact, and its bottom bar becomes the footer. */
.static-contact{padding:90px var(--gutter) 45px;display:grid;gap:25px;max-width:1100px;margin:auto}
.homepage.enhanced:not(.static-mode) .static-contact,.homepage.enhanced:not(.static-mode)>.home-fallback-footer{display:none}
.homepage .journey-ui{inset:0 var(--pad);pointer-events:none;display:block}
.homepage .journey-ui .chapter-label{position:absolute;bottom:16px;left:0;font-size:10px}
.homepage .journey-ui .steps{position:absolute;right:-25px;top:50%;transform:translateY(-50%);width:32px;display:flex;flex-direction:column;gap:0;pointer-events:auto}
.homepage .journey-ui .steps a{width:32px;min-width:32px;height:44px;flex:0 0 44px;border:0;border-radius:0;padding:0}
.homepage .journey-ui .steps span{width:2px;height:12px;border-radius:2px;transform:none;background:#68859a;opacity:.45}
.homepage .journey-ui .steps a[aria-current] span{height:24px;background:#68ccff;opacity:1}
.homepage .journey-ui .compact-bar{display:none;pointer-events:auto;position:absolute;bottom:0;left:0;right:0}
.homepage .stage[data-phase="5"] .journey-ui .compact-bar{display:flex}
.homepage .stage[data-phase="5"] .journey-ui :is(.chapter-label,.steps){display:none}
.homepage .stage[data-phase="5"] .world{opacity:.06;transition:opacity .4s}
.homepage .stage .episode.ending{top:110px;bottom:65px;left:var(--pad);right:var(--pad);max-width:none;text-align:left;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr auto;gap:24px 7vw;background:transparent;align-content:center}
.ending-intro{align-self:center}
.full-site .episode.ending h2{font-size:clamp(38px,4.2vw,64px);line-height:1.05;max-width:500px}
.ending-intro>p:last-child{font-size:18px;margin-top:18px;color:#a7bbcc}
.project-form{display:flex;flex-direction:column;gap:15px;pointer-events:auto;min-width:0;align-self:center;grid-column:2;grid-row:1/3}
.project-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#b6c7d7;min-width:0}
.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.project-form input,.project-form textarea{width:100%;border:1px solid #35556b;border-radius:7px;background:#0b1925e8;color:#edf4fc;padding:10px 12px;font:inherit;font-size:16px;min-height:44px;outline-offset:3px}
.project-form textarea{height:130px;resize:vertical;max-height:230px}
.project-form :is(input,textarea):focus-visible{outline:1px solid #7bd4ff;border-color:#7bd4ff}
.form-action{display:flex;align-items:center;justify-content:space-between;gap:12px}
.project-form button{border:1px solid #5cbcea;background:#102e43;border-radius:6px;color:#edf4fc;font:inherit;font-size:13px;min-height:44px;padding:10px 16px;cursor:pointer}
.project-form button span{margin-left:15px}
.form-note,.form-status{font-size:11px;line-height:1.4;color:#91aabd}
.form-status a{color:#75ceff}
.ending-links{display:flex;flex-wrap:wrap;gap:7px 18px;pointer-events:auto;max-width:490px;align-content:end}
.ending-links a{font-size:12px;min-height:36px;display:inline-flex;gap:10px;align-items:center;border-bottom:1px solid #294151;color:#b6c7d7}
.ending-links a span{color:#68c7f3}
.ending-links a:hover{color:#8dddff}
@media(max-width:900px){
 .homepage .stage .episode.ending{top:92px;bottom:55px;display:flex;flex-direction:column;gap:14px;justify-content:center;align-items:stretch}
 .ending-intro{align-self:stretch}.ending-intro .eyebrow{display:none}
 .full-site .episode.ending h2{font-size:32px;max-width:none}
 .ending-intro>p:last-child{font-size:14px;margin-top:7px}
 .project-form{align-self:stretch;gap:12px}.project-form label{font-size:11px;gap:5px}
 .project-form textarea{height:96px;resize:none}
 .form-pair{gap:10px}.project-form input{padding:9px 10px}
 .ending-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:none;gap:0 9px}
 .ending-links a{font-size:10px;line-height:1.2;min-height:44px;gap:4px;justify-content:space-between}
 .ending-links a span{font-size:10px}
 .homepage .journey-ui .steps{right:-16px;width:28px}
 .homepage .journey-ui .steps a{width:28px;min-width:28px}
 .homepage .journey-ui .compact-bar{font-size:10px}.homepage .journey-ui .compact-bar nav{gap:13px}
}
@media(max-height:680px){
 .homepage .stage .episode.ending{top:83px;bottom:48px;gap:9px}
 .full-site .episode.ending h2{font-size:27px}
 .ending-intro>p:last-child{display:none}
 .project-form{gap:8px}.project-form textarea{height:68px;min-height:68px}
 .project-form label{gap:4px}.project-form input{height:44px}
 .form-note{font-size:10px}.project-form button{font-size:12px;padding:8px 10px}
}
@media(prefers-reduced-motion:reduce){.homepage .stage[data-phase="5"] .world{transition:none}}

/* Mail invitation replaces the temporary form in the final chapter. */
.scroll-progress{display:none}
.homepage .stage .episode.ending{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:28px;align-content:center;justify-items:start}
.ending-intro{align-self:start}
.full-site .episode.ending h2{max-width:800px}
.ending-mail{display:flex;flex-direction:column;gap:12px;font-size:13px;color:#a7bbcc;pointer-events:auto}
.ending-mail>span{display:inline-flex;align-items:center;gap:28px;font-size:clamp(26px,3.5vw,44px);letter-spacing:-.04em;color:#70ceff;border-bottom:1px solid #365f78;padding-bottom:12px}
.ending-mail b{font-size:.65em;font-weight:400}
.homepage .stage .episode.ending .ending-links{margin-top:14px;max-width:760px}
.static-contact .ending-mail{align-self:start}
.homepage .journey-ui .steps span{position:relative;overflow:hidden;transition:height .45s ease,width .3s,opacity .3s,background .3s}
.homepage .journey-ui .steps a[aria-current] span{width:3px;box-shadow:0 0 14px #45baff30}
.homepage .journey-ui .steps a[aria-current] span::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent,#e2f8ff,transparent);animation:chapter-flow 2.8s ease-in-out infinite}
@keyframes chapter-flow{0%{transform:translateY(-110%)}75%,100%{transform:translateY(110%)}}
.menu-open .steps span::after{animation-play-state:paused!important}
/* Cloud joins the same compact map; no extra page or vertical section. */
.expertise-page .map-area[data-map-area=web]{left:20%;top:9%}
.expertise-page .map-area[data-map-area=backend]{left:50%;top:9%}
.expertise-page .map-area[data-map-area=mobile]{left:80%;top:9%}
.expertise-page .map-area[data-map-area=cloud]{left:13%;top:37%}
.expertise-page .map-area[data-map-area=connessi]{left:13%;top:65%}
.expertise-page .map-area[data-map-area=dati]{left:87%;top:37%}
.expertise-page .map-area[data-map-area=infrastruttura]{left:87%;top:65%}
.expertise-page .map-area[data-map-area=embedded]{left:31%;top:92%}
.expertise-page .map-area[data-map-area=industria]{left:69%;top:92%}
@media(max-width:960px){
 .expertise-page .map-area[data-map-area=web]{left:17%;top:9%}
 .expertise-page .map-area[data-map-area=mobile]{left:83%;top:9%}
 .expertise-page .map-area[data-map-area=cloud],.expertise-page .map-area[data-map-area=connessi]{left:15%}
 .expertise-page .map-area[data-map-area=dati],.expertise-page .map-area[data-map-area=infrastruttura]{left:85%}
 .expertise-page .map-area[data-map-area=embedded]{left:28%}
 .expertise-page .map-area[data-map-area=industria]{left:72%}
 .homepage .stage .episode.ending{gap:24px;justify-content:center;align-items:stretch}
 .ending-intro>p:last-child{display:block}
 .ending-mail{gap:10px}
 .ending-mail>span{font-size:clamp(23px,6.2vw,32px);gap:15px;padding-bottom:10px}
 .homepage .stage .episode.ending .ending-links{margin-top:8px}
}
@media(prefers-reduced-motion:reduce){.homepage .journey-ui .steps span{transition:none}.homepage .journey-ui .steps span::after{animation:none!important}}
@media(max-width:960px){.expertise-page .map-area[data-map-area=cloud],.expertise-page .map-area[data-map-area=dati]{width:20%}}
.homepage .stage .episode.ending>.ending-mail{display:flex;align-items:flex-start;margin:0;color:#a7bbcc}

/* Pointer feedback belongs to the wallpaper, beneath all foreground artwork. */
.stage.wallpaper-surface::before{z-index:0}
.stage.wallpaper-surface>.signal-field{z-index:1}
.stage.wallpaper-surface>.world{z-index:2;background:transparent}
.wallpaper-surface:not(.stage)>:not(.signal-field){position:relative;z-index:1}
