/* Chi siamo — stili isolati della pagina. Base statica (senza JS, reduced-motion, WebGL assente); html.cs-live attiva la scena sticky. */
.cs-signature{position:relative;background:#0c2a1d}
.cs-stage{position:relative;padding:130px var(--s) 70px;overflow:hidden;display:flex;flex-direction:column}.cs-heading{order:-1}
.cs-fallback{display:block;width:100%;height:auto;aspect-ratio:1440/900;object-fit:cover;border-radius:14px;margin-top:40px;box-shadow:0 30px 70px #0007}
.cs-stage canvas,.cs-shade,.cs-readout,.cs-progress{display:none}
.cs-heading{max-width:780px}
.cs-heading h1{font-size:clamp(52px,7.4vw,118px);line-height:.98;letter-spacing:-.055em}
.cs-heading p:not(.eyebrow){font-size:clamp(16px,1.35vw,20px);line-height:1.6;margin:28px 0 0;max-width:560px}
.cs-stations{list-style:none;padding:0;margin:50px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 32px;counter-reset:st}
.cs-stations li{counter-increment:st;border-top:1px solid #f0ebdd40;padding-top:16px}
.cs-stations li b{display:block;font-size:20px;margin:8px 0}
.cs-stations li b::before{content:counter(st,decimal-leading-zero) " / ";font:11px var(--space-mono);color:#a8d65b;letter-spacing:.08em;vertical-align:middle}
.cs-stations small{font-size:14px;line-height:1.55;opacity:.82}
.cs-dot{display:none}
.cs-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:40px;font:11px/1.7 var(--space-mono);letter-spacing:.06em}
.cs-bottom{display:none}

/* —— scena viva —— */
.cs-live .cs-signature{height:470svh}
.cs-live .cs-stage{position:sticky;top:0;height:100svh;padding:0;background:#16301f}
.cs-live .cs-fallback{position:absolute;inset:0;width:100%;height:100%;margin:0;border-radius:0;box-shadow:none;opacity:.5;transition:opacity .6s}
.cs-live .webgl-ready .cs-fallback{opacity:0}
.cs-live .cs-stage canvas{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:1}
.cs-live .cs-shade{display:block;position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,#071a10cc,transparent 55%),linear-gradient(0deg,#071a10b5,transparent 30%),linear-gradient(180deg,#071a1099,transparent 22%);transition:opacity .8s}
.cs-live .cs-run .cs-shade{opacity:.6}.cs-live .cs-finale .cs-shade{opacity:.7}
.cs-live .cs-heading{position:absolute;z-index:4;left:var(--s);top:19%;max-width:600px;text-shadow:0 2px 24px #071a10}
.cs-live .cs-heading h1{font-size:clamp(60px,7.2vw,108px)}
.cs-live .cs-stations{position:absolute;inset:0;margin:0;display:block;z-index:5;pointer-events:none}
.cs-live .cs-stations li{position:absolute;left:0;top:0;border:0;padding:0;opacity:0;transition:opacity .45s;will-change:transform}
.cs-live .cs-stations li.on{opacity:1}
.cs-live .cs-stations li>*{position:absolute;left:0;bottom:0}
.cs-live .cs-stations b{white-space:nowrap;translate:-50% calc(-100% - 18px);margin:0;font:700 12px/1 var(--space-mono);letter-spacing:.08em;text-transform:uppercase;color:#0c2a1d;background:#f0ebdd;padding:8px 12px;border-radius:30px;box-shadow:0 6px 22px #0007;transition:background .35s,color .35s,scale .35s}
.cs-live .cs-stations b::before{content:counter(st,decimal-leading-zero) "  ";color:#2f6b3f;font-size:11px}
.cs-live .cs-stations li.now b{background:#a8d65b;scale:1.12;box-shadow:0 0 0 4px #a8d65b40,0 0 34px #a8d65b88}
.cs-live .cs-stations small{display:none}
.cs-live .cs-dot{display:block;width:10px;height:10px;translate:-50% 50%;border-radius:50%;background:#e2ffb0;box-shadow:0 0 0 4px #a8d65b44,0 0 18px #c3ff79}
.cs-live .cs-dot::after{content:'';position:absolute;left:50%;bottom:100%;width:1px;height:12px;background:linear-gradient(#f0ebdd00,#f0ebdd);translate:-50% 0}
.cs-live .cs-readout{display:grid;gap:8px;position:absolute;z-index:4;right:var(--s);top:118px;text-align:right;max-width:380px;padding:14px 18px;border-radius:14px;background:#0c2a1dcc;border:1px solid #a8d65b33;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 18px 40px #0005}
.cs-readout span,.cs-readout small{font:11px/1.7 var(--space-mono);letter-spacing:.06em}
.cs-readout span{color:#a8d65b}
.cs-readout strong{font-size:clamp(24px,2.4vw,36px);letter-spacing:-.02em}
.cs-readout small{color:#d5dfd0}
.cs-live .cs-bottom{display:flex;position:absolute;z-index:5;left:var(--s);right:var(--s);bottom:22px;margin:0;align-items:center}
.cs-live .cs-bottom a,.cs-live .cs-bottom button{min-height:44px;display:inline-flex;align-items:center}
.cs-live .cs-bottom button{color:inherit;background:#0c2a1d99;border:1px solid #b7c8a777;border-radius:30px;padding:7px 16px;cursor:pointer;font:inherit}
.cs-live .cs-progress{display:block;position:absolute;bottom:0;left:0;height:3px;z-index:6;background:#a8d65b;box-shadow:0 0 20px #a8d65b;width:calc(var(--cs-p,0)*100%)}

/* —— frase grande —— */
.cs-big{font-size:clamp(40px,6vw,96px);max-width:1250px}

/* —— discipline —— */
.cs-disc{background:radial-gradient(ellipse at 30% 0%,#24472e,#0c2a1d 70%)}
.cs-head{display:grid;grid-template-columns:1.6fr 1fr;gap:8vw;align-items:end;margin-bottom:65px}
.cs-head>p{font-size:19px;line-height:1.6;max-width:400px}
.cs-disc-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;perspective:1300px}
.cs-disc-card{position:relative;display:flex;flex-direction:column;min-height:240px;padding:26px 22px;text-decoration:none;border-radius:16px;background:linear-gradient(160deg,#1d4430,#0f2c1f);border:1px solid #a8d65b2e;box-shadow:0 24px 50px #0006;transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .3s,border-color .3s,background .3s;overflow:hidden}
.cs-disc-card::after{content:'';position:absolute;inset:auto -30% -60% -30%;height:80%;background:radial-gradient(ellipse,#a8d65b33,transparent 65%);opacity:0;transition:opacity .4s}
.cs-disc-card:hover,.cs-disc-card:focus-visible{border-color:#a8d65b99}
.cs-disc-card:hover::after,.cs-disc-card:focus-visible::after{opacity:1}
.cs-disc-card span{font:12px var(--space-mono);color:#a8d65b;letter-spacing:.08em}
.cs-disc-card h3{font-size:clamp(24px,2vw,30px);line-height:1.1;margin:auto 0 14px;padding-top:36px}
.cs-disc-card p{font-size:15px;line-height:1.55;opacity:.85}
.motion-ready .cs-disc-grid .reveal{transform:translateY(60px) rotateX(18deg);transition:opacity .8s,transform .9s cubic-bezier(.2,.8,.2,1)}
.motion-ready .cs-disc-grid .reveal.seen{transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg))}
.cs-disc-grid .reveal:nth-child(2){transition-delay:.06s}.cs-disc-grid .reveal:nth-child(3){transition-delay:.12s}.cs-disc-grid .reveal:nth-child(4){transition-delay:.18s}.cs-disc-grid .reveal:nth-child(5){transition-delay:.24s}

/* —— metodo prima / durante / dopo —— */
.cs-method{height:190svh;background:#0c2a1d}
.cs-method-stage{position:sticky;top:0;min-height:100svh;padding:120px var(--s) 60px;display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.cs-method-head .display{font-size:clamp(44px,6.4vw,100px)}
.cs-steps{list-style:none;padding:0;margin:70px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:40px;position:relative}
.cs-steps::before{content:'';position:absolute;left:0;right:0;top:0;height:2px;background:#f0ebdd30}
.cs-steps::after{content:'';position:absolute;left:0;top:-1px;height:4px;width:100%;background:linear-gradient(90deg,#a8d65b,#e2ffb0);box-shadow:0 0 18px #bbff69;transform:scaleX(var(--m-p,0));transform-origin:left}
.cs-steps li{padding-top:30px;opacity:.38;transition:opacity .5s}
.cs-steps li.lit{opacity:1}
.cs-steps li span{font:12px var(--space-mono);letter-spacing:.08em;color:#a8d65b}
.cs-steps h3{font-size:clamp(24px,2.3vw,34px);line-height:1.15;margin:18px 0 14px}
.cs-steps p{font-size:17px;line-height:1.6;max-width:380px;opacity:.88}

/* —— strumenti —— */
.cs-tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;perspective:1200px}
.cs-tool{display:flex;flex-direction:column;gap:10px;padding:24px 22px;border-radius:14px;text-decoration:none;background:#e6e0cf;border:1px solid #0c2a1d1f;box-shadow:0 14px 30px #0c2a1d14;transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .3s,background .3s}
.cs-tool:hover,.cs-tool:focus-visible{background:#dde8c8}
.cs-tool small{color:#2f6b3f}
.cs-tool h3{font-size:22px;line-height:1.2}
.cs-tool p{font-size:15px;line-height:1.55;flex:1}
.cs-tool span{font:12px var(--space-mono);letter-spacing:.04em;padding-top:12px;border-top:1px solid #0c2a1d26}
.cs-screens{display:grid;grid-template-columns:1.55fr 1fr;gap:40px;align-items:end;margin-top:90px;perspective:1600px}
.cs-screen{margin:0}
.cs-device{padding:10px;background:linear-gradient(130deg,#9baca1,#1c3026 35%,#09150f);border-radius:15px;box-shadow:18px 30px 50px #0c2a1d40;transform:rotateY(8deg) rotateX(3deg);transform-origin:right}
.cs-screen-small .cs-device{transform:rotateY(-10deg) rotateX(3deg);transform-origin:left}
.cs-device img{display:block;width:100%;height:auto;border-radius:6px;background:#04110a}
.cs-screen figcaption{margin-top:18px;font:11px/1.6 var(--space-mono);letter-spacing:.06em}

/* —— referenze —— */
.cs-refs{background:radial-gradient(ellipse at 80% 100%,#2b5135,#0c2a1d 65%)}
.cs-refs .lead-copy{margin-bottom:10px}

/* —— telefono —— */
@media(max-width:767px){
 .cs-stage{padding:100px var(--s) 50px}
 .cs-stations{grid-template-columns:1fr;gap:18px}
 .cs-live .cs-signature{height:430svh}
 .cs-live .cs-heading{top:16%;right:var(--s)}
 .cs-live .cs-heading h1{font-size:56px}
 .cs-heading p:not(.eyebrow){font-size:16px}
 .cs-live .cs-shade{background:linear-gradient(180deg,#071a10d0,transparent 50%),linear-gradient(0deg,#071a10d9,transparent 38%)}
 .cs-live .cs-stations b{font-size:0;padding:5px 8px;letter-spacing:0}
 .cs-live .cs-stations b::before{content:counter(st,decimal-leading-zero);font-size:10px;color:#0c2a1d}
 .cs-live .cs-stations li.now b{font-size:10px;letter-spacing:.06em}
 .cs-live .cs-stations li.now b::before{content:counter(st,decimal-leading-zero) "  ";color:#2f6b3f}
 .cs-live .cs-readout{left:var(--s);right:var(--s);top:auto;bottom:86px;text-align:left;padding:0;background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;text-shadow:0 2px 18px #071a10}
 .cs-readout strong{font-size:22px}
 .cs-readout small{font-size:10px}
 .cs-live .cs-bottom{bottom:14px;font-size:9px;gap:12px}
 .cs-live .cs-bottom a{max-width:200px}
 .cs-live .cs-bottom button{white-space:nowrap;font-size:10px}
 .cs-head{grid-template-columns:1fr;gap:26px;margin-bottom:40px}
 .cs-head>p{font-size:16px}
 .cs-disc-grid{grid-template-columns:1fr;gap:14px}
 .cs-disc-card{min-height:0;padding:22px 20px}
 .cs-disc-card h3{padding-top:26px;font-size:26px}
 .cs-method{height:200svh}
 .cs-method-stage{padding:90px var(--s) 40px}
 .cs-method-head .display{font-size:46px}
 .cs-steps{grid-template-columns:1fr;gap:26px;margin-top:40px;padding-left:22px}
 .cs-steps::before{left:0;right:auto;top:0;bottom:0;width:2px;height:auto}
 .cs-steps::after{left:-1px;top:0;width:4px;height:100%;transform:scaleY(var(--m-p,0));transform-origin:top}
 .cs-steps li{padding-top:0}
 .cs-steps h3{font-size:22px;margin:10px 0 8px}
 .cs-steps p{font-size:15px}
 .cs-tool-grid{grid-template-columns:1fr;gap:12px}
 .cs-screens{grid-template-columns:1fr;gap:40px;margin-top:60px}
 .cs-device,.cs-screen-small .cs-device{transform:none;padding:6px}
 .cs-screen figcaption{font-size:9px}
}
@media(min-width:768px) and (max-width:1100px){.cs-disc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cs-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Telefono in orizzontale: testata compatta, niente sovrapposizioni; etichette solo numero tranne la postazione corrente. */
@media(orientation:landscape) and (max-height:540px){
 .cs-live .cs-stations b{font-size:0;padding:5px 8px;letter-spacing:0}
 .cs-live .cs-stations b::before{content:counter(st,decimal-leading-zero);font-size:10px;color:#0c2a1d}
 .cs-live .cs-stations li.now b{font-size:10px;letter-spacing:.06em}
 .cs-live .cs-stations li.now b::before{content:counter(st,decimal-leading-zero) "  ";color:#2f6b3f}
 .cs-live .cs-heading{top:76px;max-width:56%}
 .cs-live .cs-heading .eyebrow{margin-bottom:8px;font-size:10px}
 .cs-live .cs-heading h1{font-size:38px}
 .cs-live .cs-heading p:not(.eyebrow){font-size:13px;line-height:1.45;margin-top:10px}
 .cs-live .cs-heading .pill{margin-top:12px;padding:10px 18px;min-height:44px;align-items:center;font-size:14px}
 .cs-live .cs-readout{left:auto;right:var(--s);top:auto;bottom:62px;text-align:right;max-width:46%;padding:10px 14px}
 .cs-readout strong{font-size:18px}
 .cs-live .cs-readout small{display:none}
 .cs-live .cs-bottom{bottom:6px}
 .cs-method{height:auto}.cs-method-stage{position:relative;min-height:0}
}
@media(prefers-reduced-motion:reduce){
 .cs-method{height:auto}.cs-method-stage{position:relative;min-height:0}
 .cs-steps::after{transform:none}.cs-steps li{opacity:1}
 .cs-disc-card,.cs-tool,.cs-device,.cs-screen-small .cs-device{transform:none!important;transition:none}
}
.cs-live .cs-signature:not(.cs-run) .cs-readout{opacity:0;visibility:hidden}.cs-live .cs-readout{transition:opacity .5s,visibility .5s}
.cs-tool .cs-more{display:flex;align-items:center;justify-content:space-between;color:#0c2a1d;font-weight:700;text-transform:uppercase}
.cs-tool .cs-more i{font-style:normal;display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#0c2a1d;color:#A8D65B;transition:transform .3s}
.cs-tool:hover .cs-more i,.cs-tool:focus-visible .cs-more i{transform:translateX(4px)}
