/* ==========================================================================
   LANDING v3 del 2° Rapporto Camst-Censis «Lo spazio e il cibo» — sulla homepage (pagina 2) dal 23/10/2026
   Grafica: Figma «Landing rapporto Censis», nodo 4308-749 (versione 4, 19/10/2026): 124 tavole da 1600×1138
   (la 3 del 15/10 più l'apertura, il capitolo 6 e l'apertura del menu disegnati; testi e foto uguali).
   Caricato da functions.php del tema figlio, solo sulla home (dal 23/10/2026; prima l'Elemento «Full dev landing – Testa»
   sulla pagina di prova /full-dev-landing/, id 124, oggi nel cestino).
   Storyboard e diario: montaggio/full-dev-landing/LEGGIMI.md nel progetto.

   DUE MODI, UNA PAGINA
   - FERMA (base di questo file): senza JavaScript, con «riduci movimento» e sotto i 768 px (provvisorio, finché non arriva
     la grafica del telefono) la landing è una pagina lunga: ogni capitolo è una sezione alta uno schermo, nel suo stato finale.
   - A TAPPE (tutto ciò che sta sotto html.camst-tappe): i capitoli stanno uno sopra l'altro in un palco fermo (sticky).
     v3.js mette su <html> le classi camst-cN-tM, una per tappa, e le lascia (sono cumulative): qui ogni classe porta il suo
     stato d'arrivo, la regola senza la classe lo stato di partenza. Il browser usa i tempi dello stato in cui ARRIVA:
     nella regola con la classe i tempi dell'andata, in quella senza i tempi del ritorno (curva speculare).
     Ricetta: direttiva «Movimento a tappe: la ricetta che ha funzionato» (home del 29-30/09/2026).

   LE MISURE: i numeri sono «px della tavola» (1600×1138). Regole di Phil del 20/10/2026 («Procedi», dopo «abbiamo un canva
   di figma a 1600px mentre noi lavoriamo su un monitor di 1920px»; supera la decisione A del 19/10):
   --u  la scala della larghezza: 1 px della tavola = larghezza/1600, al massimo 1:1 (Phil, 20/10/2026, scelta A1: «preferirei
        che la dimensione massima dei font fosse fedele a quella su figma»; prima ×1,2 a 1920). Sopra i 1600 px la tavola resta
        1:1 e si centra; foto, pannelli e fasce restano a tutto schermo.
   --v  la scala dell'altezza (altezza/1138): solo per gli SPAZI VUOTI in verticale.
   --s  la scala dei CONTENUTI di un gruppo (testi, fasce, pillole, riquadri, foto in colonna, bottoni): è --u se il gruppo ci
        sta in altezza fra la testata e il mouse (o il bordo); se non ci sta, il gruppo si rimpicciolisce tutto insieme quanto
        basta, con le sue proporzioni. Il gruppo dichiara --hc (la sua altezza nella tavola), --e (dove comincia nella tavola)
        e --giu (cosa c'è sotto: mouse, note legali o niente). --t è dove comincia sullo schermo: dov'è nella tavola (in --v),
        più su solo se serve per starci, mai sotto la testata.
   --o  il bordo sinistro della tavola sullo schermo (0 fino a 1600, poi la composizione si centra): le posizioni orizzontali
        si misurano da lì con --s, così gli allineamenti della tavola restano veri a ogni larghezza. Foto, pannelli e fasce
        restano a tutto schermo o a metà schermo.
   Le unità si calcolano 1000 volte più grandi e si dividono DOPO min() e max(): Firefox arrotonda i loro risultati ai sessantesimi
   di pixel (20/10/2026: «1 px» diventava 59/60, scena più piccola dell'1,7%).
   ========================================================================== */

/* Circular Std: i file della home (tema-figlio/landing/fonts/), letti da lì e non spostati (licenza Lineto: non si
   modificano). Le override verticali sono quelle della home: Firefox altrimenti usa le misure «typo» (titolo 5 px più su) */
/* Book (450): i paragrafi del Figma. Preso da camstgroup.com (stesso set dei tre della home: il Medium è identico al byte) il
   20/10/2026 col sì di Phil, in landing-v3/fonts/ (la cartella della home non si tocca); licenza da confermare con Camst come gli altri */
@font-face { font-family: "Circular Std"; src: url("fonts/CircularStd-Book.woff") format("woff"); font-weight: 450; font-style: normal; font-display: swap; ascent-override: 99.7%; descent-override: 26.8%; line-gap-override: 0%; }
@font-face { font-family: "Circular Std"; src: url("../landing/fonts/CircularStd-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; ascent-override: 99.7%; descent-override: 26.8%; line-gap-override: 0%; }
@font-face { font-family: "Circular Std"; src: url("../landing/fonts/CircularStd-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; ascent-override: 99.7%; descent-override: 26.8%; line-gap-override: 0%; }
@font-face { font-family: "Circular Std"; src: url("../landing/fonts/CircularStd-Black.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; ascent-override: 99.7%; descent-override: 26.8%; line-gap-override: 0%; }

/* le fasi del capitolo 1 (copiate dalla home): numeri animabili, valore di partenza 1 = stato finale */
@property --k-vista   { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --k-zoom    { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --k-sale    { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --k-stringe { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --k-titolo  { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --k-sotto   { syntax: "<number>"; inherits: true; initial-value: 1; }

:root {
	--rosso: #e64242;
	--arancio: #f09200;
	--blu: #004e6c;
	--blu-scuro: #002e5a;
	--crema: #fbf9f5;
	--scuro: rgb(0 0 0 / .2);              /* i riquadri dei dati: nero al 20% sul colore (misurato dai pixel delle tavole) */
	/* la testata: negativo (bianca) sulle foto e sui colori, positivo sul crema. v3.js non c'entra: le classi delle tappe */
	--logo-lettere: #fff;
	--logo-punto-1: #fff;
	--logo-punto-2: #fff;
	--logo-censis: #fff;
	--logo-linea: #fff;
	--tono: #fff;                          /* mouse, posto del menu, note legali */
	--ritmo: 1;                            /* v3.js lo abbassa per le tappe in coda: vanno più rapide */
	--e-entra: cubic-bezier(.22, 1, .36, 1);       /* esce veloce e si posa piano */
	--e-entra-r: cubic-bezier(.64, 0, .78, 0);     /* la sua speculare, per il ritorno */
	--e-sale: cubic-bezier(.33, 1, .68, 1);        /* la scena nuova che sale (la curva del rosso che sale della home) */
	--e-sale-r: cubic-bezier(.32, 0, .67, 0);
	--e-dolce: cubic-bezier(.65, 0, .35, 1);       /* dolce ai due capi: è speculare di sé stessa */
	--e-foto: cubic-bezier(.4, 0, .2, 1);          /* parte subito e si posa piano: la foto del capitolo 2 in un movimento solo (11/11/2026) */
	--e-foto-r: cubic-bezier(.8, 0, .6, 1);        /* la sua speculare, per il ritorno */
}

html:has(.camst-v3) { scrollbar-width: none; background: var(--crema); }
html:has(.camst-v3)::-webkit-scrollbar { display: none; }
body:has(.camst-v3) { background: var(--crema); }

/* il contenitore di GeneratePress intorno alla pagina: niente margini né spazi (la pagina è a tutta larghezza per
   l'Elemento Layout; qui si azzerano solo gli spazi interni che il tema lascia anche così) */
body:has(.camst-v3) :is(.site-content, .site-main, .inside-article, .entry-content) { margin: 0; padding: 0; }
body:has(.camst-v3) .entry-content > .camst-v3 { margin: 0; }

.camst-v3 {
	--u: calc(min(1000px, 62.5vw) / 1000);
	--v: calc(min(62.5vw, 87.873462svh) / 1000);
	--x: var(--u);
	/* le riserve in verticale: sopra la testata (logo alto 66 a y 53) più uno spazio; sotto il mouse (alto 84 a 53 dal fondo),
	   le note legali (in basso a destra), o solo un margine */
	--sopra: calc(83 * var(--v) + 66 * var(--u));
	--giu-mouse: calc(73 * var(--v) + 84 * var(--u));
	--giu-destra: calc(99 * var(--v) + 18 * var(--u));
	--giu-bordo: calc(40 * var(--v));
	position: relative;
	font-family: "Circular Std", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-weight: 500;
	color: #fff;
	-webkit-font-smoothing: antialiased;
}
.camst-v3 :is(h1, h2, h3, p, figure) { margin: 0; padding: 0; font-family: inherit; letter-spacing: 0; text-transform: none; }
.camst-v3 :is(h1, h2, h3) { text-wrap: balance; }
.camst-v3 figure.wp-block-image { margin: 0; }
.camst-v3 .camst-foto img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.camst-v3 .camst-foto { position: absolute; inset: 0; }
.camst-v3 mark { background: none; color: inherit; }

/* per chi legge con lo schermo: il titolo del capitolo 4, che nella tavola non c'è */
.camst-v3 .camst-nascosto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ogni capitolo: uno schermo */
.camst-cap {
	position: relative;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
	overflow: clip;                        /* clip: il fuoco su un link non fa scorrere la sezione */
	isolation: isolate;
}
/* la scala e la posizione di ogni gruppo (vedi LE MISURE in cima) */
.camst-v3 :is(.camst-cap, .camst-c7-schermo, .camst-dati) {
	--s: calc(min(1000 * var(--u), (100svh - var(--sopra) - var(--giu, var(--giu-mouse))) * 1000 / var(--hc, 1)) / 1000);
	--o: calc(50vw - var(--mezza, 800) * var(--s));   /* --mezza: metà della larghezza della tavola (1600 o 402) */
	--t: max(var(--sopra), min(calc(var(--e, 0) * var(--v)), calc(100svh - var(--giu, var(--giu-mouse)) - var(--hc, 1) * var(--s))));
}
/* DESKTOP: altezza (--hc) e inizio (--e) dei gruppi nella tavola 1600×1138 */
@media (min-width: 1024px) and (orientation: landscape) {
	.camst-cap--2 { --hc: 594; --e: 277;
		/* eccezione (Phil, 20/10/2026): qui il gruppo alto è la foto in colonna; i testi restano alla scala piena (--st, --ot) e solo
		   la foto si rimpicciolisce quando non sta fra testata e mouse */
		--st: var(--u); --ot: calc(50vw - 800 * var(--u)); }
	.camst-cap--3 { --hc: 520; --e: 254; }
	.camst-cap--4 { --hc: 758; --e: 221; }
	.camst-cap--5 { --hc: 643; --e: 260; --giu: var(--giu-bordo); --a: 578; --dyb: 362; }
	.camst-cap--6 { --hc: 646; --e: 260; --giu: var(--giu-bordo); --a: 626; --dyb: 365; }
	.camst-c7-schermo--a { --hc: 606; --e: 260; --giu: var(--giu-bordo); --a: 510; --dyb: 379; }
	.camst-c7-schermo--b { --hc: 618; --e: 271; --giu: var(--giu-destra); }
	.camst-c7-schermo--c { --hc: 414; --e: 358; --giu: var(--giu-destra); }
	.camst-cap--8 { --hc: 614; --e: 274; --giu: var(--giu-bordo); }
	.camst-c5-dati { --hc: 550; --e: 336; --giu: var(--giu-destra); }
	.camst-c6-dati { --hc: 838; --e: 183; --giu: var(--giu-destra); }
	.camst-c8-dati { --hc: 292; --e: 492; --giu: var(--giu-destra); }
	/* 9 e 10: il titolo resta lontano dai loghi quanto nella tavola (104 sotto il logo, in --v) anche quando il gruppo non ci sta
	   e si rimpicciolisce (Phil 20/10/2026: «teniamo questi due titoli un po' più lontani dai loghi»; prima saliva a 30) */
	.camst-cap--9 { --hc: 713; --e: 223; --sopra: calc(157 * var(--v) + 66 * var(--u)); }
	.camst-cap--10 { --hc: 735; --e: 223; --sopra: calc(157 * var(--v) + 66 * var(--u)); }
	/* 11: sotto il gruppo, oltre al mouse, 60 px della tavola in --v (Phil 22/10/2026: «Sintesi dei risultati» un po' più lontano
	   dal fondo; a 1916×910 il bottone finiva a 33 px dal mouse, ora 67). Cambia solo nelle finestre basse: a 1600×1138 e
	   1920×1080 il gruppo sta già dove lo mette la tavola. Sopra, come nel 9 e nel 10, il titolo non sale oltre i 104 px dal logo
	   (in --v): nelle finestre più basse (1366×657) il gruppo si rimpicciolisce invece di andare a toccare i loghi */
	.camst-cap--11 { --hc: 479; --e: 343; --giu: calc(var(--giu-mouse) + 60 * var(--v)); --sopra: calc(157 * var(--v) + 66 * var(--u)); }
}

/* la fonte in basso a sinistra (23/10/2026): i gruppi dei capitoli 5, 6, 7a e 8 possono scendere fino al bordo e i loro testi, a
   sinistra, arriverebbero sopra la fonte (misurato a 1366×657). Fino a 1839 px di larghezza (1759 prima che la fonte si spostasse a destra
   della freccia, 06/11/2026) il gruppo si ferma sopra di lei; più largo, la tavola centrata tiene i testi a destra della fonte (bordo
   sinistro dei testi = 50vw − 569 px, la fonte finisce a 336) e niente cambia */
@media (min-width: 1024px) and (max-width: 1839px) and (orientation: landscape) {
	:is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a, .camst-cap--8) { --giu: calc(69 * var(--v) + 25px); }
}

/* ---------- elementi comuni ---------- */
.camst-v3 .camst-testo { font-size: calc(18 * var(--s)); font-weight: 450; line-height: 1.5; }
.camst-v3 .camst-testo + .camst-testo { margin-top: calc(18 * var(--s)); }   /* 18 fra i paragrafi: le caselle di testo della tavola (8 righe da 27 + 18) */
.camst-v3 strong { font-weight: 700; }
.camst-v3 .camst-sottotitolo3 { font-size: calc(36 * var(--s)); font-weight: 700; line-height: 1; text-wrap: wrap; }   /* gli a capo della tavola: niente balance */

/* i bottoni: pillola con la freccia nel cerchio (l'icona è nel CSS: il testo resta un blocco semplice) */
.camst-v3 .camst-bottone {
	display: inline-flex;
	align-items: center;
	gap: max(10px, calc(14 * var(--s)));
	padding: max(7px, calc(9 * var(--s))) max(7px, calc(9 * var(--s))) max(7px, calc(9 * var(--s))) max(20px, calc(26 * var(--s)));
	border-radius: 999px;
	background: var(--arancio);
	color: #fff;
	font-size: max(16px, calc(22 * var(--s)));
	font-weight: 900;
	line-height: 1.32;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s ease;
}
.camst-v3 .camst-bottone::after {
	content: "";
	flex: none;
	width: max(36px, calc(51 * var(--s)));
	height: max(36px, calc(51 * var(--s)));
	border-radius: 50%;
	background: rgb(255 255 255 / .3) url("img/freccia-download.svg") center / max(12px, calc(17 * var(--s))) auto no-repeat;
}
.camst-v3 .camst-bottone--rosso { background: var(--rosso); }
.camst-v3 .camst-bottone:is(:hover, :focus-visible) { background: #d98400; color: #fff; }
.camst-v3 .camst-bottone--rosso:is(:hover, :focus-visible) { background: #cf3434; }
.camst-v3 .camst-bottone:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* i dati: numero grande con il % piccolo, testo sotto, su un riquadro scuro */
.camst-v3 .camst-dato { background: var(--scuro); padding: calc(13 * var(--s)) calc(31 * var(--s)) calc(20 * var(--s)); box-sizing: border-box;
	display: flex; flex-direction: column; justify-content: center; }   /* il contenuto centrato in altezza, come nelle tavole (misurato il 20/10: cap. 7 era 37 sopra e 61 sotto, la tavola 54/48) */
/* cifre a 160 px, «%» e «MIN» a metà: misurate sulle tavole 53 e 74 (la scheda dice 120, il corpo dello stile base del testo;
   il riquadro di 144 px = 160 × 0,9). Tutto ciò che sta DENTRO un riquadro (numero, testo, spazi, a capo) va in --uv, il minore fra
   larghezza e altezza: il riquadro è alto quanto la tavola in proporzione allo schermo (261 = 13 + 144 + 20 + 54 di testo + 30)
   e il suo contenuto scala con lui, con le proporzioni della tavola a ogni finestra (Phil, 19/10/2026: i riquadri non devono
   toccarsi; «se il problema è lo spazio riduci il font dei numeri in %, e dappertutto»; «non possiamo sbagliare le proporzioni») */
.camst-v3 .camst-dato__numero { font-size: calc(160 * var(--s)); font-weight: 700; line-height: .9; white-space: nowrap; }
.camst-v3 .camst-dato__numero :is(.camst-pc, .camst-min) { font-size: .5em; }
.camst-v3 .camst-dato__numero .camst-min { text-transform: uppercase; }
.camst-v3 .camst-dato__testo { margin-top: calc(20 * var(--s)); max-width: calc(343 * var(--s)); font-size: calc(18 * var(--s)); font-weight: 700; line-height: 1.5; }

/* DESKTOP: coppie, testo dei capitoli 5–8, pannello */
@media (min-width: 1024px) and (orientation: landscape) {
	/* le coppie di parole sulle bande (capitoli 5–8): Privato/Pubblico, Digitale/Fisico, Casa/Lavoro */
	.camst-v3 .camst-coppia {
		position: absolute;
		z-index: 2;
		left: 0;
		top: var(--t);
		width: 50%;
		display: grid;
		row-gap: calc(25 * var(--s));
		font-size: calc(90 * var(--s));
		font-weight: 700;
		line-height: .9;
	}
	.camst-coppia > span {
		display: flex;
		align-items: center;
		height: calc(139 * var(--s));
		box-sizing: border-box;
		background: color-mix(in srgb, var(--colore-cap) 70%, transparent);   /* trasparenti al 70%: misurato sulle tavole 46, 58, 66 */
	}
	.camst-coppia__a { width: calc(var(--o) + var(--a, 578) * var(--s)); padding-left: calc(var(--o) + 224 * var(--s)); border-radius: 0 999px 999px 0; }
	.camst-coppia__b { margin-left: calc(var(--o) + 159 * var(--s)); padding-left: calc(66 * var(--s)); border-radius: 999px 0 0 999px; }

	.camst-blocco { position: absolute; z-index: 2; left: calc(var(--o) + 231 * var(--s)); top: calc(var(--t) + var(--dyb, 362) * var(--s)); width: calc(473 * var(--s)); }
	.camst-blocco .camst-sottotitolo3 { margin-bottom: calc(29 * var(--s)); }

	.camst-cap-pannello { position: absolute; inset: 0 0 0 50%; z-index: 1; background: var(--colore-cap); }
	.camst-cap-foto { right: 50% !important; }
	/* capitoli 5, 6, 7: la foto a tutto schermo dell'inizio (pubblico, digitale, casa) c'è solo nel movimento; ferma si vede
	   la foto della metà sinistra (privato, fisico, lavoro), come nell'ultima tavola del capitolo */
	.camst-v3 .camst-cap-intera { display: none; }
}
/* il velo delle foto a schermo: nero al 50%, come nell'apertura (misurato sulle tavole 01, 23, 50, 51, 71, 85, 98).
   Le foto di metà schermo dei capitoli 5 e 6 sono più scure: 70% (tavole 48 e 60), quella del 7 al 55% (tavola 68): misurate
   il 19/10/2026 pixel per pixel contro la stessa inquadratura sul sito */
.camst-v3 :is(.camst-cap-foto, .camst-cap-intera, .camst-c3-foto, .camst-c10-foto)::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .5); }
.camst-v3 :is(.camst-cap--5, .camst-cap--6) .camst-cap-foto::after { background: rgb(0 0 0 / .7); }
.camst-v3 .camst-c7-schermo--a .camst-cap-foto::after { background: rgb(0 0 0 / .55); }
/* LA FONTE dei dati (cliente, 23/10/2026: «fonte Rapporto Camst-Censis 2026» in basso a sinistra ovunque ci siano percentuali):
   capitoli 5, 6, 7, 8, 9, 10. Desktop: a specchio delle note legali (stessa riga, stessa distanza dal bordo), un po' più piccola;
   sul crema del 9 in blu come i testi (il rosso delle note a 14 px non basterebbe al contrasto). Nel movimento compare con i dati e
   sta a destra della freccia «Vai ai Rapporti» (06/11/2026: più sotto, nei blocchi a tappe) */
.camst-v3 .camst-fonte { position: absolute; z-index: 5; left: max(20px, calc(53 * min(62.5vw, 87.873462vh) / 1000)); bottom: calc(53 * min(62.5vw, 87.873462vh) / 1000 - 7px);
	padding: 7px 0; color: #fff; font-size: 14px; font-weight: 450; line-height: 18px; }
.camst-v3 .camst-cap--9 .camst-fonte { color: var(--blu); }
/* L'AVVISO SULL'INTELLIGENZA ARTIFICIALE (Phil 26/10/2026: nell'ultima sezione, in basso a sinistra): è una fonte del capitolo 11,
   stesso posto e stesso carattere; al desktop su due righe, così resta lontano dal mouse al centro */
.camst-v3 .camst-ia { max-width: min(520px, calc(50vw - max(20px, calc(53 * min(62.5vw, 87.873462vh) / 1000)) - 60px)); }
.camst-v3 .camst-unito { white-space: nowrap; }   /* «Camst-Censis 2026» non va a capo dopo il trattino (telefono) */
/* i video dei capitoli 5, 6, 7 (Phil 22/10/2026: al posto delle foto di sfondo, in loop, senza audio): solo nel movimento, dove
   prendono il posto delle due foto (v3.js li fa partire nel loro capitolo). Pagina ferma («riduci movimento», telefono girato,
   senza JavaScript) e browser che non li fa partire (camst-senza-video): le foto di prima, e il video non si scarica */
.camst-v3 .camst-video { display: none; position: absolute; inset: 0; margin: 0; background: #000; }
.camst-v3 .camst-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.camst-v3 .camst-video::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .5); }

/* ==========================================================================
   I CAPITOLI, FERMI (stato finale = l'ultima tavola del capitolo)
   ========================================================================== */

/* 1 — Apertura (tavola 01): la home di oggi, più il bottone verso il PDF sotto il sottotitolo */
.camst-cap--1 { --zoom: pow(90, calc(1 - var(--k-zoom))); display: grid; place-items: center; }
.camst-velo { position: absolute; inset: 0; background: rgb(0 0 0 / .5); }
.camst-pannello { display: none; }
.camst-c1-titoli { position: relative; top: calc(2 * var(--v));   /* misurato a 1600×1138: riquadro rosso a y 530 come la tavola 01 */ z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.camst-v3 .camst-occhiello { margin-bottom: calc(38 * var(--v)); font-size: calc(45 * var(--u)); font-weight: 500; line-height: 1.27; white-space: nowrap; }
.camst-occhiello span { display: inline-block; opacity: var(--k-vista); transform: scale(var(--zoom)); }
.camst-v3 .camst-titolo { padding: 0 .175em .1em; overflow: hidden; background: var(--rosso); color: #fff; font-size: calc(100 * var(--u)); font-weight: 700; line-height: .99; white-space: nowrap; }
.camst-titolo__testo { display: block; transform: translateY(calc((1 - var(--k-titolo)) * 110%)); }
.camst-sottotitolo-finestra { overflow: hidden; margin-top: calc(-3 * var(--u)); }
.camst-v3 .camst-sottotitolo { font-size: calc(56 * var(--u)); font-weight: 500; line-height: 1.27; white-space: nowrap; transform: translateY(calc((var(--k-sotto) - 1) * 100%)); }
/* il bottone verso il Rapporto (Phil, 06/11/2026: arrivare prima ai risultati; nel Figma non c'è). Fuori dal flusso, appeso al gruppo:
   il gruppo resta alto com'era e il riquadro rosso non si sposta */
.camst-c1-azione { position: absolute; top: calc(100% + 40 * var(--v)); left: 50%; translate: -50% 0; }

/* DESKTOP: i capitoli 2–11 fermi */
@media (min-width: 1024px) and (orientation: landscape) {
	/* 2 — I due Rapporti (tavola 12; ferma: anche le due frasi, che nel movimento passano e vanno) */
	.camst-cap--2 { height: auto; min-height: 100svh; background: var(--crema); color: var(--blu); display: grid; grid-template-columns: 41.3125% 1fr; grid-template-rows: 100svh auto; }
	.camst-c2-sinistra { display: flex; align-items: center; }
	.camst-c2-intro { margin-left: calc(var(--ot) + 231 * var(--st)); width: calc(384 * var(--st)); margin-top: calc(10 * var(--st)); }
	.camst-v3 .camst-c2-titolo { margin-bottom: calc(38 * var(--st)); color: var(--rosso); font-size: calc(36 * var(--st)); font-weight: 700; line-height: .9; }
	.camst-v3 .camst-c2-testo { font-size: calc(18 * var(--st)); font-weight: 450; line-height: 1.5; }
	.camst-v3 .camst-c2-testo + .camst-c2-testo { margin-top: calc(18 * var(--st)); }
	.camst-c2-aerea, .camst-c2-foto--cuoca, .camst-c2-foto--picnic { display: none; }
	/* il bottone dell'apertura è alto 69: nelle finestre larghe e basse, se fra i titoli e il mouse non ci sta con 40 sopra e 40 sotto, si
	   rimpicciolisce quanto basta (LE MISURE). 201,135 = metà del gruppo dei titoli + il mouse; 154 = gli spazi in verticale */
	.camst-c1-azione { --s: calc(min(1000 * var(--u), (50svh - 201.135 * var(--u) - 154 * var(--v)) * 1000 / 69) / 1000); }
	.camst-c2-colonna { position: relative; align-self: center; width: calc(707 * var(--s)); height: calc(594 * var(--s)); overflow: hidden; overflow: clip; }
	.camst-c2-azione { position: absolute; left: 0; right: 0; bottom: calc(53 / 594 * 100%); display: flex; justify-content: center; z-index: 2; }
	.camst-c2-azione { --s: var(--st); }
	.camst-v3 .camst-c2-azione .camst-bottone { font-size: max(16px, calc(24 * var(--st))); }
	.camst-c2-destra { grid-column: 1 / -1; display: flex; justify-content: center; gap: calc(160 * var(--st)); padding: 0 calc(var(--ot) + 231 * var(--st)) calc(140 * var(--v)); }
	.camst-v3 .camst-c2-frase { font-size: calc(51 * var(--st)); font-weight: 700; line-height: .9; }
	.camst-c2-frase mark { display: inline-block; margin-left: -.2em; padding: .06em .2em .2em; background: var(--arancio); color: #fff; }   /* tavole 16 e 18: il riquadro (59 = 1,16 em) parte dove parte la riga e sporge di 10 px a sinistra */   /* il riquadro sporge a sinistra, il testo resta in colonna */

	/* 3 — Il titolo (tavola 23) */
	.camst-c3-pannello { position: absolute; inset: 0 50% 0 0; z-index: 1; background: var(--arancio); }
	.camst-c3-testata { position: absolute; z-index: 2; left: 0; right: 0; top: var(--t); text-align: center; }
	.camst-v3 .camst-c3-titolo { font-size: calc(140 * var(--s)); font-weight: 700; line-height: 1.265; white-space: nowrap; }
	.camst-v3 .camst-c3-domanda { font-size: calc(45 * var(--s)); font-weight: 700; line-height: 1.265; }
	/* sotto la domanda qualunque sia l'altezza: 254 (la testata) + 286 (titolo 177, domanda 57, spazio 52) = 540 della tavola */
	.camst-c3-testo { position: absolute; z-index: 2; left: calc(var(--o) + 231 * var(--s)); top: calc(var(--t) + 286 * var(--s)); width: calc(473 * var(--s)); color: var(--blu); }

	/* 4 — Le tre coppie (tavola 32) */
	.camst-cap--4 { background: var(--crema); }
	.camst-c4-riga { position: absolute; left: 0; right: 0; height: calc(224 * var(--s)); display: grid; grid-template-columns: 786fr 785fr; column-gap: calc(29 * var(--s)); }
	.camst-c4-riga:nth-of-type(1) { top: var(--t); --colore-cap: var(--rosso); }
	.camst-c4-riga:nth-of-type(2) { top: calc(var(--t) + 267 * var(--s)); --colore-cap: var(--blu); }
	.camst-c4-riga:nth-of-type(3) { top: calc(var(--t) + 534 * var(--s)); --colore-cap: var(--arancio); }
	.camst-pillola { position: relative; overflow: hidden; display: flex; align-items: center; isolation: isolate; }
	/* tavola 41, regressione sui pixel: ogni punto della pillola = 0,25 × foto + 0,5 × colore, cioè foto col velo nero al 50% e
	   sopra il colore al 50%. Privato e Casa sono inquadrate più in alto (34% invece del centro), misurato sulla stessa tavola */
	.camst-pillola::after { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--colore-cap); opacity: .5; }
	.camst-v3 .camst-pillola .camst-foto::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .5); }
	.camst-v3 :is(.camst-pillola--privato, .camst-pillola--casa) .camst-foto img { object-position: 50% 34%; }
	.camst-pillola--sinistra { border-radius: 0 999px 999px 0; justify-content: flex-end; padding-right: calc(82 * var(--s)); }
	.camst-pillola--destra { border-radius: 999px 0 0 999px; padding-left: calc(80 * var(--s)); }
	.camst-v3 .camst-pillola__parola { position: relative; z-index: 1; font-size: calc(100 * var(--s)); font-weight: 700; line-height: 1.265; }

	/* 5, 6, 8 — la ricetta: foto a sinistra, pannello del colore a destra, parole, testo, dati (tavole 44, 49, 71) */
	.camst-cap--5 { --colore-cap: var(--rosso); }
	.camst-cap--6 { --colore-cap: var(--blu); }
	.camst-cap--7 { --colore-cap: var(--arancio); }
	.camst-cap--8 { --colore-cap: var(--rosso); }
	/* altezza minima, non fissa: in verticale lo schermo si stringe (--v), i caratteri no (--u); misurato a 1920×1080, il testo toccava il fondo */
	.camst-dati .camst-dato { position: absolute; z-index: 2; right: 0; left: calc(var(--o) + var(--l) * var(--s)); top: calc(var(--t) + var(--dy, 0) * var(--s)); min-height: calc(261 * var(--s)); padding-bottom: calc(30 * var(--s)); }
	.camst-c5-dati .camst-dato--1 { --l: 902; }
	.camst-c5-dati .camst-dato--2 { --l: 1005; --dy: 289; }
	.camst-c6-dati .camst-dato--1 { --l: 912; }
	.camst-c6-dati .camst-dato--2 { --l: 934; --dy: 289; }
	.camst-c6-dati .camst-dato--3 { --l: 902; --dy: 577; }
	/* larghezze dei testi dei dati come nella tavola: così vanno a capo negli stessi punti */
	.camst-c5-dati .camst-dato--1 .camst-dato__testo { max-width: calc(275 * var(--s)); }
	.camst-c6-dati .camst-dato--1 .camst-dato__testo { max-width: calc(438 * var(--s)); }
	.camst-c6-dati .camst-dato--2 .camst-dato__testo { max-width: calc(499 * var(--s)); }
	.camst-c6-dati .camst-dato--3 .camst-dato__testo { max-width: calc(390 * var(--s)); }
	.camst-cap--6 .camst-blocco .camst-sottotitolo3 { max-width: calc(400 * var(--s)); }

	/* 7 — Casa/Lavoro: fermo in tre schermi (versione 4: tavole 69, 78, 82) */
	.camst-cap--7 { height: auto; }
	.camst-c7-schermo { position: relative; height: 100svh; overflow: hidden; overflow: clip; }
	.camst-c7-schermo--b { background: var(--arancio); }
	.camst-c7-schermo--b::before, .camst-c7-schermo--c::before { content: ""; position: absolute; inset: 0 0 0 50%; background: var(--scuro); }
	.camst-c7-schermo--c { background: var(--arancio); }
	.camst-c7-gruppo { position: absolute; top: var(--t); width: 50%; }
	.camst-c7-gruppo--presenza { left: 0; }
	.camst-c7-gruppo--smart { left: 50%; }
	.camst-v3 .camst-c7-etichetta { margin-left: calc(var(--o) + 231 * var(--s)); margin-bottom: calc(32 * var(--s)); font-size: calc(40 * var(--s)); font-weight: 700; line-height: .9; text-transform: uppercase; }   /* maiuscole nella tavola 72 */
	.camst-c7-gruppo--smart .camst-c7-etichetta { margin-left: calc(160 * var(--s)); }
	/* a filo del bordo dello schermo (tavole 72 e 74): a sinistra nello stato fermo, a destra quando arrivano (v3.css, 7.5) */
	.camst-c7-gruppo--presenza .camst-dato--1 { margin-left: calc(-46 * var(--s)); width: calc(var(--o) + 684 * var(--s)); padding-left: calc(var(--o) + 303 * var(--s)); }
	.camst-c7-gruppo--presenza .camst-dato--2 { margin-left: calc(-76 * var(--s)); width: calc(var(--o) + 595 * var(--s)); padding-left: calc(var(--o) + 189 * var(--s)); margin-top: calc(28 * var(--s)); }
	.camst-c7-gruppo--smart .camst-dato { margin-left: calc(174 * var(--s)); width: calc(100% - 174 * var(--s)); padding-left: calc(51 * var(--s)); background: var(--arancio); }
	.camst-c7-gruppo--smart .camst-dato--2 { margin-top: calc(28 * var(--s)); }
	.camst-c7-gruppo .camst-dato { min-height: calc(261 * var(--s)); padding-bottom: calc(28 * var(--s)); }   /* tavola 74: contenuto 51 sopra e 51 sotto in media */
	.camst-c7-schermo--c .camst-dato { position: absolute; top: var(--t); width: calc(436 * var(--s)); background: none; padding: 0; }
	.camst-c7-schermo--c .camst-dato--1 { left: calc(var(--o) + 231 * var(--s)); }
	.camst-c7-schermo--c .camst-dato--2 { left: calc(var(--o) + 927 * var(--s)); }
	.camst-c7-schermo--c .camst-dato__testo { max-width: none; }

	/* 8 — Molto più di uno spazio dove mangiare (tavola 71) */
	.camst-c8-sinistra { position: absolute; z-index: 2; left: calc(var(--o) + 96 * var(--s)); top: var(--t); display: flex; flex-direction: column; gap: calc(53 * var(--s)); }
	.camst-v3 .camst-c8-titolo { font-size: calc(88 * var(--s)); font-weight: 700; line-height: .9; }
	.camst-cap--8 .camst-blocco { position: relative; left: calc(135 * var(--s)); top: auto; }
	.camst-c8-dati .camst-dato--1 { --l: 902; min-height: calc(292 * var(--s)); }
	.camst-cap--8 .camst-blocco .camst-sottotitolo3 { text-wrap: balance; }   /* nella tavola «persone» resta da sola: direttiva «Titoli senza parole sole» */
	.camst-c8-dati .camst-dato__testo { max-width: calc(381 * var(--s)); }

	/* 9 — Cosa conta in uno spazio di ristorazione? (tavola 80) */
	.camst-cap--9 { background: var(--crema); color: var(--blu); }
	.camst-v3 .camst-c9-titolo { position: absolute; left: 0; right: 0; top: var(--t); text-align: center; color: var(--rosso); font-size: calc(60 * var(--s)); font-weight: 700; line-height: .9; }
	.camst-c9-schede { position: absolute; left: calc(var(--o) + 135 * var(--s)); right: calc(var(--o) + 136 * var(--s)); top: calc(var(--t) + 150 * var(--s)); height: calc(382 * var(--s)); display: grid; grid-template-columns: repeat(5, 1fr); column-gap: calc(53 * var(--s)); align-items: end; }
	.camst-c9-scheda { position: relative; }
	.camst-c9-scheda .camst-foto { position: relative; height: calc(var(--h) * var(--s)); }
	.camst-c9-scheda--cibo { --h: 382; } .camst-c9-scheda--atmosfera { --h: 362; } .camst-c9-scheda--servizio { --h: 382; }
	.camst-c9-scheda--menu { --h: 341; } .camst-c9-scheda--accesso { --h: 308; }
	/* le inquadrature della tavola 100 (somiglianza 0,96–1,00 con l'originale): il menu è ingrandito 1,1 e appoggiato in basso */
	.camst-c9-scheda .camst-foto { overflow: hidden; }
	.camst-v3 .camst-c9-scheda--cibo .camst-foto img { object-position: 38% 50%; }
	.camst-v3 .camst-c9-scheda--atmosfera .camst-foto img { object-position: 96% 50%; }
	.camst-v3 .camst-c9-scheda--accesso .camst-foto img { object-position: 43% 50%; }
	.camst-v3 .camst-c9-scheda--menu .camst-foto img { object-position: 50% 100%; scale: 1.1; transform-origin: 50% 100%; }
	.camst-v3 :is(.camst-c9-numero, .camst-c9-etichetta) { position: absolute; left: 0; right: 0; }
	.camst-v3 .camst-c9-numero { top: calc(100% + 4 * var(--s)); color: var(--arancio); font-size: calc(90 * var(--s)); font-weight: 700; line-height: .9; white-space: nowrap; }
	.camst-v3 .camst-c9-numero .camst-pc { font-size: .45em; }
	.camst-v3 .camst-c9-etichetta { top: calc(100% + 110 * var(--s));   /* sotto il numero (81 = 90 × 0,9, più 29) */ font-size: calc(22 * var(--s)); font-weight: 700; line-height: 1; }

	/* 10 — Uno spazio, molti effetti (tavola 85): le barre sono lunghe quanto il loro dato */
	.camst-c10-testata { position: absolute; z-index: 2; left: 0; right: 0; top: var(--t); text-align: center; }
	.camst-v3 .camst-c10-titolo { font-size: calc(60 * var(--s)); font-weight: 700; line-height: .9; }
	.camst-v3 .camst-c10-sotto { margin-top: calc(33 * var(--s)); font-size: calc(18 * var(--s)); font-weight: 450; line-height: 1.5; }
	.camst-c10-barre { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--t) + 188 * var(--s)); display: grid; row-gap: calc(36 * var(--s)); }
	.camst-c10-barra { position: relative; display: flex; align-items: center; justify-content: flex-end; height: calc(81 * var(--s)); padding-right: calc(26 * var(--s)); box-sizing: border-box; background: #fff; width: calc(var(--o) + var(--w) * var(--s)); }
	.camst-c10-barra--1 { --w: 1106; } .camst-c10-barra--2 { --w: 1048; } .camst-c10-barra--3 { --w: 1034; } .camst-c10-barra--4 { --w: 1024; } .camst-c10-barra--5 { --w: 960; }
	.camst-v3 .camst-c10-etichetta { color: var(--rosso); font-size: calc(26 * var(--s)); font-weight: 700; line-height: 1; text-align: right; }
	.camst-v3 .camst-c10-numero { position: absolute; left: calc(100% + 18 * var(--s)); font-size: calc(110 * var(--s));   /* tavola 107: cifre alte 74 px = 110, % alto 39 = 60 */ font-weight: 700; line-height: .9; white-space: nowrap; }
	.camst-v3 .camst-c10-numero .camst-pc { font-size: .545em; }

	/* 11 — Chiusura (tavola 98) */
	.camst-cap--11 { --colore-cap: var(--blu); }
	.camst-c11-colonna { position: absolute; z-index: 2; top: var(--t); width: calc(473 * var(--s)); display: flex; flex-direction: column; align-items: flex-start; }
	.camst-c11-colonna--2026 { left: calc(var(--o) + 230 * var(--s)); }
	.camst-c11-colonna--2025 { left: calc(var(--o) + 906 * var(--s)); }
	.camst-v3 .camst-c11-titolo { margin-bottom: calc(45 * var(--s)); font-size: calc(56 * var(--s)); font-weight: 700; line-height: .9; }
	/* «2026» e «Lo spazio e il cibo» sono due righe vere: nel movimento ognuna si centra e si ingrandisce per conto suo */
	.camst-v3 .camst-c11-titolo:has(.camst-c11-riga) { display: flex; flex-direction: column; align-items: flex-start; }
	.camst-c11-riga { display: block; }
	.camst-c11-colonna--2026 .camst-sottotitolo3 { margin: calc(93 * var(--s)) 0 calc(13 * var(--s)); }
	.camst-c11-colonna .camst-testo + .camst-bottone { margin-top: calc(27 * var(--s)); }
	/* due bottoni uno sotto l'altro (2025: «Scarica la sintesi del Rapporto 2025», Phil 22/10/2026; nella tavola non c'è): 18 fra loro */
	.camst-c11-colonna .camst-bottone + .camst-bottone { margin-top: calc(18 * var(--s)); }
}

/* ==========================================================================
   LA CORNICE (Elemento «Full dev landing – Cornice»): loghi, posto del menu, mouse; note legali in fondo
   ========================================================================== */
.camst-cornice { position: absolute; z-index: 20; top: 0; left: 0; right: 0; pointer-events: none; font-family: "Circular Std", system-ui, sans-serif; }
.camst-cornice a, .camst-cornice button { pointer-events: auto; }
.camst-marchi { --u: calc(min(1000px, 62.5vw) / 1000); --x: var(--u); --v: calc(min(62.5vw, 87.873462svh) / 1000);
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: calc(100 * var(--u)); padding-top: calc(53 * var(--v)); }
.camst-marchio { display: block; padding-block: 10px; margin-block: -10px; color: var(--logo-lettere); }
.camst-marchio:first-child { justify-self: end; }
.camst-marchio:last-child { justify-self: start; color: var(--logo-censis); }
.camst-marchio:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
/* il tema dà a tutti i link a:hover, a:focus, a:active { color: #000 }: sul logo Camst vinceva (Censis si salvava col :last-child) e
   il logo diventava nero al passaggio del mouse e, dopo il clic, finché aveva il fuoco (cliente, 23/10/2026). Il colore resta quello
   del capitolo; al passaggio solo un filo di trasparenza */
.camst-marchio:is(:hover, :focus, :active) { color: var(--logo-lettere); }
.camst-marchio:last-child:is(:hover, :focus, :active) { color: var(--logo-censis); }
.camst-marchio:hover { opacity: .8; }
.camst-marchio svg { display: block; height: auto; }
.camst-marchio:first-child svg { width: calc(191 * var(--u)); }
.camst-marchio:last-child svg { width: calc(180 * var(--u)); }
.camst-marchio .camst-punto-1 { fill: var(--logo-punto-1); }
.camst-marchio .camst-punto-2 { fill: var(--logo-punto-2); }
.camst-marchi__linea { width: 2px; height: calc(66 * var(--u)); background: var(--logo-linea); }
.camst-marchio, .camst-marchio path, .camst-marchi__linea { transition: color .4s ease, fill .4s ease, background-color .4s ease; }

/* il mouse «scorri»: un bottone vero (clic o Invio = tappa successiva); c'è solo con le tappe */
.camst-v3-mouse { display: none; }
.camst-legali { display: flex; justify-content: flex-end; gap: 24px; padding: 24px 20px; background: var(--blu); font-family: "Circular Std", system-ui, sans-serif; font-size: 16px; font-weight: 500; line-height: 18px; }
.camst-legali a { display: block; padding: 7px 0; color: #fff; text-decoration: none; }
.camst-legali a:is(:hover, :focus-visible) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.camst-legali a:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }

/* IL MENU (tavola 124 del Figma versione 4; decisione di Phil del 16/10/2026: le voci portano ai capitoli). Bottone ad
   hamburger in alto a destra (tre righe 43×2 a x 1496, y 80/86/92), che diventa la X; pannello rosso a tutto schermo che si
   apre come un cerchio dall'angolo in alto a destra (tavole 121–123). C'è solo con JavaScript (classe camst-viva): senza,
   un bottone che non apre niente sarebbe un errore. */
.camst-cornice { --u: calc(min(1000px, 62.5vw) / 1000); --x: var(--u); --v: calc(min(62.5vw, 87.873462svh) / 1000);
	--sm: calc(min(1000 * var(--u), (100svh - 119 * var(--v)) * 1000 / 1019) / 1000); }   /* il menu: le voci (1019 px nella tavola 124) stanno sempre nello schermo */
.camst-menu-bottone, .camst-menu { display: none; }
html.camst-viva .camst-menu-bottone {
	display: block;
	position: absolute;
	z-index: 1;
	top: calc(87 * var(--v));
	right: calc(61 * var(--x) - (44px - 43 * var(--u)) / 2);
	translate: 0 -50%;
	width: max(44px, calc(43 * var(--u)));
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: none;
	color: var(--tono);
	cursor: pointer;
	pointer-events: auto;
	transition: color .4s ease calc(var(--r-tono, .8s) * var(--ritmo));
}
.camst-menu-bottone:is(:hover, :focus, :active) { background: none; color: var(--tono); }
.camst-menu-bottone:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.camst-menu-bottone span { position: absolute; left: 50%; top: 50%; width: calc(43 * var(--u)); height: 2px; margin: -1px 0 0 calc(-21.5 * var(--u)); background: currentColor; transition: translate .35s ease, rotate .35s ease, opacity .2s linear; }
.camst-menu-bottone span:nth-child(1) { translate: 0 calc(-6 * var(--u)); }
.camst-menu-bottone span:nth-child(3) { translate: 0 calc(6 * var(--u)); }
html.camst-menu-aperto .camst-menu-bottone span:nth-child(1) { translate: 0 0; rotate: 45deg; }
html.camst-menu-aperto .camst-menu-bottone span:nth-child(2) { opacity: 0; }
html.camst-menu-aperto .camst-menu-bottone span:nth-child(3) { translate: 0 0; rotate: -45deg; }

/* TORNA ALL'INIZIO (cliente, 23/10/2026: «chi arriva in fondo non deve scorrere di nuovo tutto il sito o andare sul menu»): in alto a
   sinistra, a specchio dell'hamburger (stessa altezza, stessa distanza dal bordo, stesso colore), dal capitolo 2 in poi. Solo nel
   movimento: nella pagina ferma la cornice non resta sullo schermo e si torna su come in ogni pagina */
.camst-su { display: none; }
html.camst-viva.camst-tappe .camst-su {
	display: block;
	position: absolute;
	z-index: 1;
	top: calc(87 * var(--v));
	left: calc(61 * var(--x) - (44px - 20 * var(--u)) / 2);
	translate: 0 -50%;
	width: max(44px, calc(20 * var(--u)));
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: none;
	color: var(--tono);
	cursor: pointer;
	pointer-events: auto;
	opacity: 0;
	visibility: hidden;
	transition: color .4s ease calc(var(--r-tono, .8s) * var(--ritmo)), opacity .4s ease, visibility 0s linear .4s;
}
html.camst-viva.camst-tappe.camst-c2-t1 .camst-su { opacity: 1; visibility: visible; transition-delay: calc(var(--r-tono, .8s) * var(--ritmo)), 0s, 0s; }
html.camst-viva.camst-tappe.camst-menu-aperto .camst-su { opacity: 0; visibility: hidden; transition-delay: 0s; }   /* pesa quanto la regola sopra e viene dopo */
.camst-su:is(:hover, :focus, :active) { background: none; color: var(--tono); }
.camst-su:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
:is(.camst-su, .camst-giu) svg { display: block; width: calc(20 * var(--u)); height: auto; margin: 0 auto; overflow: visible; }

/* VAI AI RAPPORTI (Phil, 06/11/2026: arrivare prima ai risultati): in basso a sinistra, la freccia del tastino capovolta, sullo stesso
   asse (stessi left e width) e dello stesso colore. Sulla riga del mouse: il fondo della freccia a 53 dal bordo, come mouse e fonte.
   C'è dall'apertura e sparisce entrando nel capitolo 11, dove quell'angolo è dell'avviso sull'IA. Solo nel movimento, come il mouse */
.camst-giu { display: none; }
html.camst-viva.camst-tappe .camst-giu {
	display: grid;
	align-items: center;
	position: fixed;
	z-index: 1;
	left: calc(61 * var(--x) - (44px - 20 * var(--u)) / 2);
	bottom: calc(53 * min(62.5vw, 87.873462vh) / 1000 - (44px - 25 * var(--u)) / 2);
	width: max(44px, calc(20 * var(--u)));
	height: 44px;
	border-radius: 8px;
	color: var(--tono);
	transition: color .4s ease calc(var(--r-tono, .8s) * var(--ritmo)), opacity .4s ease, visibility 0s linear;
}
html.camst-viva.camst-tappe:is(.camst-c11-t1, .camst-menu-aperto) .camst-giu { opacity: 0; visibility: hidden; transition-delay: 0s, 0s, .4s; }
.camst-giu:is(:hover, :focus, :active) { color: var(--tono); }
.camst-giu:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }

html.camst-viva .camst-menu {
	display: flex;
	position: fixed;
	z-index: -1;                           /* nella cornice: sotto i loghi e la X, sopra tutta la pagina */
	inset: 0;
	align-items: center;
	justify-content: center;
	padding: calc(120 * var(--v)) 20px 0;
	background: var(--rosso);
	pointer-events: auto;
	visibility: hidden;
	/* tavole 121–124: il cerchio è trasparente e si fa pieno mentre cresce (raggio 13, 43, 69, 100% della diagonale; opacità
	   misurata 0,3 · 0,5 · 0,7 · 1): opacità 0,2 + 0,8 × raggio, cioè le due transizioni con la stessa curva, e il raggio
	   arriva giusto all'angolo opposto (prima 150vmax: il cerchio finiva di coprire a tre quarti del tempo, partendo da 0,7) */
	opacity: .2;
	clip-path: circle(0 at 100% 0);
	transition: clip-path .7s cubic-bezier(.65, 0, .35, 1), opacity .7s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .7s;
}
html.camst-menu-aperto .camst-menu { visibility: visible; opacity: 1; clip-path: circle(150vmax at 100% 0); clip-path: circle(hypot(100vw, 100vh) at 100% 0); transition-delay: 0s; }
.camst-menu ul { margin: 0; padding: 0; list-style: none; text-align: center; }
.camst-menu a { display: inline-block; color: #fff; text-decoration: none; text-underline-offset: .15em; text-decoration-thickness: 2px; }
.camst-menu a:is(:hover, :focus-visible) { color: #fff; text-decoration-line: underline; }
.camst-menu a:focus { color: #fff; }   /* il fuoco che v3.js dà alla prima voce: senza, vinceva il colore scuro del tema */
.camst-menu a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.camst-menu__voce { font-size: calc(60 * var(--sm)); font-weight: 700; line-height: 1.5; }
.camst-menu__voce ul { margin: calc(-8 * var(--v)) 0 calc(4 * var(--v)); }
.camst-menu__voce li { font-size: calc(36 * var(--sm)); font-weight: 450; line-height: 1.667; }
.camst-menu li { opacity: 0; translate: 0 calc(20 * var(--v)); transition: opacity .3s linear, translate .3s ease; }
/* voci e X arrivano a cerchio quasi pieno: nelle tavole 121–123 ci sono solo il cerchio e l'hamburger (prima le voci partivano
   a metà, sopra i titoli della scena ancora visibili) */
html.camst-menu-aperto .camst-menu li { opacity: 1; translate: 0 0; transition: opacity .4s linear .6s, translate .6s var(--e-entra) .6s; }
html.camst-menu-aperto .camst-menu-bottone span { transition-delay: .45s; }
/* con il menu aperto la pagina non scorre: overflow sul <body>, non sulla <html>. Il tema dà al body overflow-x: hidden; con
   la <html> in hidden il body diventava lui l'area che scorre, il palco (sticky) si staccava dallo schermo e risaliva di quanto
   si era scorso, scoprendo il crema sotto («il layer bianco», Phil 20/10/2026) */
html.camst-viva.camst-menu-aperto body { overflow: hidden; }
html.camst-viva.camst-menu-aperto { --logo-lettere: #fff; --logo-punto-1: #fff; --logo-punto-2: #fff; --logo-censis: #fff; --logo-linea: #fff; --tono: #fff; --r-tono: 0s; }
html.camst-menu-aperto :is(.camst-v3-mouse, .camst-legali) { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
	html.camst-viva .camst-menu, .camst-menu li, .camst-menu-bottone span { transition: none !important; }
}

/* ==========================================================================
   A TAPPE (senza «riduci movimento», con JavaScript: classe camst-tappe sulla <html>, messa nel <head>): sullo schermo
   orizzontale dai 1024 px (desktop) e su quello verticale (telefono e tablet). Sotto, le parti comuni alle due composizioni;
   le tappe dei capitoli più avanti, una serie per composizione (stessi nomi delle classi, ognuna nella sua media query)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) and (orientation: landscape), (prefers-reduced-motion: no-preference) and (orientation: portrait) {
	/* la corsa: v3.js la calcola dal numero delle tappe (una ogni 16% di schermo) */
	html.camst-tappe .camst-v3 { height: calc(100vh + var(--corsa, 0) * 1vh); }
	html.camst-tappe .camst-palco { position: sticky; top: 0; height: 100vh; overflow: hidden; overflow: clip; }
	/* capitoli 5, 6, 7: il video al posto delle foto (vedi sopra, «i video») */
	html.camst-tappe .camst-cap:not(.camst-senza-video) .camst-video { display: block; }
	html.camst-tappe .camst-cap:not(.camst-senza-video):is(.camst-cap--5, .camst-cap--6, .camst-cap--7) :is(.camst-cap-intera, .camst-cap-foto) { display: none; }
	/* la fonte compare con i dati del suo capitolo (desktop e telefono: le tappe hanno gli stessi nomi) e resta fino alla fine del capitolo */
	html.camst-tappe .camst-fonte { opacity: 0; transition: opacity calc(.4s * var(--ritmo)) linear; }
	html.camst-c5-t5 .camst-cap--5 .camst-fonte, html.camst-c6-t5 .camst-cap--6 .camst-fonte, html.camst-c7-t5 .camst-cap--7 .camst-fonte,
	html.camst-c8-t5 .camst-cap--8 .camst-fonte, html.camst-c9-t3 .camst-cap--9 .camst-fonte, html.camst-c10-t3 .camst-cap--10 .camst-fonte,
	html.camst-c11-t2 .camst-cap--11 .camst-ia {
		opacity: 1; transition-delay: calc(.5s * var(--ritmo)); }
	html.camst-tappe .camst-cap {
		position: absolute;
		inset: 0;
		height: auto;
		min-height: 0;
		--r-vis: 0s;
		transition-property: transform, visibility;
		transition-duration: calc(1.2s * var(--ritmo)), 0s;
		transition-delay: 0s, var(--r-vis);
		transition-timing-function: var(--e-sale-r), linear;
	}
	html.camst-tappe .camst-cap:where(:nth-child(n+3)) { transform: translateY(100%); }   /* :where: stesso peso dell'arrivo, che viene dopo e vince */

	/* la cornice ferma sopra il palco; i colori seguono il capitolo */
	html.camst-tappe .camst-cornice { position: fixed; }
	html.camst-tappe .camst-v3-mouse {
		--aria: 8px;
		display: block;
		position: fixed;
		z-index: 21;
		left: 50%;
		bottom: calc(53 * min(62.5vw, 87.873462vh) / 1000 - var(--aria));
		translate: -50% 0;
		margin: 0;
		padding: var(--aria) max(var(--aria), (44px - 30 * min(1000px, 62.5vw) / 1000) / 2);
		border: 0;
		border-radius: 12px;
		background: none;
		color: var(--tono);
		cursor: pointer;
		transition: opacity .4s ease, visibility 0s linear, color .4s ease;
	}
	html.camst-tappe .camst-v3-mouse:is(:hover, :focus, :active) { background: none; color: var(--tono); }
	html.camst-tappe .camst-v3-mouse:focus-visible { outline: 3px solid currentColor; outline-offset: 0; }
	html.camst-tappe .camst-v3-mouse svg { display: block; width: calc(30 * min(1000px, 62.5vw) / 1000); height: auto; animation: camst-scorri 1.6s ease-in-out infinite; }
	html.camst-tappe .camst-v3-mouse:is(:hover, :focus-visible) svg { animation-play-state: paused; }
	@keyframes camst-scorri { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(calc(100% / 7)); } }
	html.camst-tappe.camst-fine .camst-v3-mouse { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .4s ease, visibility 0s linear .4s; }

	html.camst-tappe .camst-legali { position: fixed; z-index: 21; right: max(20px, calc(53 * min(62.5vw, 87.873462vh) / 1000)); bottom: calc(53 * min(62.5vw, 87.873462vh) / 1000 - 7px); padding: 0; background: none; }
	html.camst-tappe .camst-legali a { color: var(--tono); transition: color .4s ease; }

	/* i toni della testata, capitolo per capitolo (le classi restano: vince l'ultima regola presente). Cambiano quando la
	   scena nuova è quasi arrivata sotto la testata */
	html.camst-tappe :is(.camst-marchio, .camst-marchio path, .camst-marchi__linea, .camst-v3-mouse, .camst-legali a) { transition-delay: calc(var(--r-tono, .8s) * var(--ritmo)); }
	html.camst-c2-t1 { --logo-lettere: var(--rosso); --logo-punto-1: var(--arancio); --logo-punto-2: var(--blu); --logo-censis: var(--blu-scuro); --logo-linea: rgb(0 46 90 / .25); --tono: var(--rosso); --r-tono: .9s; }
	html.camst-c3-t1 { --logo-lettere: #fff; --logo-punto-1: #fff; --logo-punto-2: #fff; --logo-censis: #fff; --logo-linea: #fff; --tono: #fff; }
	html.camst-c4-t1 { --logo-lettere: var(--rosso); --logo-punto-1: var(--arancio); --logo-punto-2: var(--blu); --logo-censis: var(--blu-scuro); --logo-linea: rgb(0 46 90 / .25); --tono: var(--rosso); }
	html.camst-c5-t1 { --logo-lettere: #fff; --logo-punto-1: #fff; --logo-punto-2: #fff; --logo-censis: #fff; --logo-linea: #fff; --tono: #fff; }
	html.camst-c9-t1 { --logo-lettere: var(--rosso); --logo-punto-1: var(--arancio); --logo-punto-2: var(--blu); --logo-censis: var(--blu-scuro); --logo-linea: rgb(0 46 90 / .25); --tono: var(--rosso); }
	html.camst-c10-t1 { --logo-lettere: #fff; --logo-punto-1: #fff; --logo-punto-2: #fff; --logo-censis: #fff; --logo-linea: #fff; --tono: #fff; }

	/* ---------- «sale»: la scena nuova copre la precedente dal basso (capitoli 3–11; 1,2 s) ---------- */
	html.camst-c3-t1 .camst-cap--3, html.camst-c4-t1 .camst-cap--4, html.camst-c5-t1 .camst-cap--5, html.camst-c6-t1 .camst-cap--6,
	html.camst-c7-t1 .camst-cap--7, html.camst-c8-t1 .camst-cap--8, html.camst-c9-t1 .camst-cap--9, html.camst-c10-t1 .camst-cap--10,
	html.camst-c11-t1 .camst-cap--11 { transform: none; transition-timing-function: var(--e-sale), linear; }
	/* la scena coperta del tutto si spegne (il browser non la disegna più); tornando su si riaccende subito */
	html.camst-tappe.camst-c3-t1 .camst-cap--2, html.camst-tappe.camst-c4-t1 .camst-cap--3, html.camst-tappe.camst-c5-t1 .camst-cap--4,
	html.camst-tappe.camst-c6-t1 .camst-cap--5, html.camst-tappe.camst-c7-t1 .camst-cap--6, html.camst-tappe.camst-c8-t1 .camst-cap--7,
	html.camst-tappe.camst-c9-t1 .camst-cap--8, html.camst-tappe.camst-c10-t1 .camst-cap--9, html.camst-tappe.camst-c11-t1 .camst-cap--10 { visibility: hidden; --r-vis: calc(1.2s * var(--ritmo)); }


	/* ---------- capitolo 1: la sequenza della home (fasi --k-*, tempi copiati da landing.css del 01/10/2026) ---------- */
	html.camst-tappe .camst-cap--1 {
		--k-vista: 0; --k-zoom: 0; --k-sale: 0; --k-stringe: 0; --k-titolo: 0; --k-sotto: 0;
		--r-vista: 1.25s; --r-sale: 1.75s; --r-stringe: 1.05s; --r-titolo: 0s; --d-sale: .85s; --d-stringe: .85s;
		transition-property: --k-vista, --k-zoom, --k-sale, --k-stringe, --k-titolo, --k-sotto, visibility;
		transition-duration: calc(.35s * var(--ritmo)), calc(1.6s * var(--ritmo)), calc(var(--d-sale) * var(--ritmo)), calc(var(--d-stringe) * var(--ritmo)),
			calc(1.1s * var(--ritmo)), calc(1.2s * var(--ritmo)), 0s;
		transition-delay: calc(var(--r-vista) * var(--ritmo)), 0s, calc(var(--r-sale) * var(--ritmo)), calc(var(--r-stringe) * var(--ritmo)),
			calc(var(--r-titolo) * var(--ritmo)), 0s, var(--r-vis);
		transition-timing-function: linear, cubic-bezier(.45, 0, .2, 1), cubic-bezier(.33, 1, .68, 1), cubic-bezier(.65, 0, .35, 1),
			cubic-bezier(.22, 1, .36, 1), cubic-bezier(.22, 1, .36, 1), linear;
	}
	html.camst-c1-t1 .camst-cap--1 { --k-vista: 1; --k-zoom: 1; --r-vista: 0s; }
	html.camst-c1-t2 .camst-cap--1 { --k-sale: 1; --k-stringe: 1; --k-titolo: 1; --r-sale: 0s; --r-stringe: .55s; --r-titolo: 1.2s; --d-sale: .7s; --d-stringe: .7s; }
	html.camst-c1-t3 .camst-cap--1 { --k-sotto: 1; }
	/* il bottone entra col sottotitolo (la stessa fase) e alla 2.1 sfuma coi titoli. Si clicca solo fra la 1.3 e la 2.1; col Tab si
	   raggiunge come i bottoni degli altri capitoli (v3.js porta alla fine del capitolo) */
	html.camst-tappe .camst-c1-azione { opacity: var(--k-sotto); translate: -50% calc((1 - var(--k-sotto)) * 50%); pointer-events: none; }
	html.camst-c1-t3 .camst-c1-azione { pointer-events: auto; }
	html.camst-c2-t1 .camst-c1-azione { pointer-events: none; }
	html.camst-tappe .camst-pannello {
		display: block; position: absolute; inset: 0; z-index: 1; background: var(--rosso);
		clip-path: inset(calc(100% - (100% - var(--bt, 0px)) * var(--k-sale)) calc(var(--br, 0px) * var(--k-stringe)) calc(var(--bb, 0px) * var(--k-stringe)) calc(var(--bl, 0px) * var(--k-stringe)));
	}
	html.camst-tappe .camst-cap--1 .camst-titolo { background: transparent; }
	/* capitolo 2, tappa 1: i titoli, il velo e il rosso sfumano (0,35 s), poi il capitolo 1 si spegne sotto il 2 */
	html.camst-tappe .camst-cap--1 :is(.camst-velo, .camst-pannello, .camst-c1-titoli) { transition: opacity calc(.35s * var(--ritmo)) linear calc(1.7s * var(--ritmo)); }
	html.camst-c2-t1 .camst-cap--1 :is(.camst-velo, .camst-pannello, .camst-c1-titoli) { opacity: 0; transition-delay: 0s; }
	html.camst-c2-t1 .camst-cap--1 { visibility: hidden; --r-vis: calc(2.05s * var(--ritmo)); }

	/* salti senza animazione (Tab su un link, ritorno con «indietro», «riduci movimento» spento): vince su tutto */
	html.camst-subito .camst-v3 *, html.camst-subito .camst-v3 *::before, html.camst-subito .camst-v3 *::after, html.camst-subito .camst-v3, html.camst-subito .camst-cornice * { transition: none !important; }
}

/* DESKTOP, a tappe: i capitoli 2–11 (tavole 1600×1138) */
@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) and (orientation: landscape) {
	/* la fonte a destra della freccia «Vai ai Rapporti», sempre a 16 px (l'avviso sull'IA no: lì la freccia non c'è più) */
	html.camst-tappe .camst-fonte:not(.camst-ia) { left: calc(81 * var(--u) + 16px); }

	/* ---------- capitolo 2: i due Rapporti (tavole 02–12) ---------- */
	html.camst-tappe .camst-cap--2 { display: block; visibility: hidden; --r-vis: calc(1.7s * var(--ritmo));
		/* la colonna (Phil, 20/10/2026: «l'immagine rimpicciolirla in altezza, perché troppo vicina a logo e icona del mouse»):
		   larga come i testi (al massimo 1:1); gli spazi sopra (158 dal logo) e sotto (130 dal mouse) seguono l'altezza dello schermo come
		   tutti gli spazi vuoti, la foto prende l'altezza che resta (al massimo 594, come la tavola). --ct dove comincia, --ch quanto è alta */
		--cv: calc(100svh - 394 * var(--v) - 150 * var(--u));
		--ch: min(calc(594 * var(--u)), var(--cv));
		--ct: calc(211 * var(--v) + 66 * var(--u) + (var(--cv) - var(--ch)) / 2); }
	html.camst-c2-t1 .camst-cap--2 { visibility: visible; --r-vis: calc(.35s * var(--ritmo)); }
	html.camst-tappe :is(.camst-c2-sinistra, .camst-c2-destra) { position: absolute; top: 0; bottom: 0; overflow: hidden; overflow: clip; display: flex; align-items: center; padding: 0; }
	html.camst-tappe .camst-c2-sinistra { left: 0; width: calc(50vw - 139 * var(--u)); align-items: flex-start; }
	html.camst-tappe .camst-c2-destra { left: calc(50vw + 139 * var(--u)); right: 0; justify-content: flex-start; }
	html.camst-tappe .camst-c2-intro { margin-top: calc(var(--ct) + var(--ch) / 2 - 168 * var(--st)); }   /* tavola: il testo (336) centrato sulla colonna */
	/* tavole 16 e 18: testo a x 984; le righe (4 e 3 da 46 = 0,9 × 51) centrate a y 574, il riquadro arancio sporge sotto */
	html.camst-tappe .camst-c2-frase { position: absolute; left: calc(45 * var(--st)); top: calc(var(--ct) + var(--ch) / 2); translate: 0 calc(-91.8 * var(--st)); }
	html.camst-tappe .camst-c2-frase--secondo { translate: 0 calc(-68.85 * var(--st)); }
	html.camst-tappe .camst-c2-aerea, html.camst-tappe .camst-c2-foto--cuoca, html.camst-tappe .camst-c2-foto--picnic { display: block; }

	/* 2.1 la foto va dalla pagina intera alla colonna 278×594 in UN movimento da 1,7 s, dopo che i titoli sono sfumati (0,35 s).
	   Fino all'11/11/2026 erano due fasi da 0,85 s (tavole 11–12: prima il riquadro 1204×856, poi la colonna) e la foto si fermava sul
	   riquadro; il cliente, via Phil: «fa uno scatto in cui si ferma prima di ridursi al centro» → Phil: «Procedi».
	   Restano i due elementi: il riquadro esterno va a 1204×856 e quello interno (ritagliato dentro di lui) alla colonna, NELLO STESSO
	   TEMPO e con la stessa curva: la somma dei due è una corsa sola e diritta dalla pagina alla colonna. L'immagine, «cover», si adatta.
	   Curva --e-foto: con --e-dolce su 1,7 s nel primo mezzo secondo la foto farebbe l'11% della strada e sembrerebbe ferma.
	   Al ritorno lo specchio (--e-foto-r): la foto torna intera (0–1,7 s), poi i titoli dell'apertura (1,7–2,05 s) */
	html.camst-tappe .camst-c2-aerea { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
		transition: top calc(1.7s * var(--ritmo)) var(--e-foto-r), left calc(1.7s * var(--ritmo)) var(--e-foto-r),
			width calc(1.7s * var(--ritmo)) var(--e-foto-r), height calc(1.7s * var(--ritmo)) var(--e-foto-r); }
	html.camst-tappe .camst-c2-aerea .camst-foto { inset: 0; transition: inset calc(1.7s * var(--ritmo)) var(--e-foto-r) 0s; }
	/* il riquadro 1204×856 sta 136 px sopra la colonna e 198 dal bordo della tavola; la colonna 278×594 dentro di lui */
	html.camst-c2-t1 .camst-c2-aerea { top: calc(var(--ct) - 136 * var(--v)); left: calc(50vw - 602 * var(--u)); width: calc(1204 * var(--u)); height: calc(var(--ch) + 262 * var(--v));
		transition-delay: calc(.35s * var(--ritmo)); transition-timing-function: var(--e-foto); }
	html.camst-c2-t1 .camst-c2-aerea .camst-foto { inset: calc(136 * var(--v)) calc(463 * var(--u)) calc(126 * var(--v));
		transition-delay: calc(.35s * var(--ritmo)); transition-timing-function: var(--e-foto); }

	html.camst-tappe .camst-c2-colonna { position: absolute; z-index: 2; left: calc(50vw - 139 * var(--u)); top: var(--ct); width: calc(707 * var(--u)); height: var(--ch); align-self: auto;
		clip-path: inset(0 calc(429 / 707 * 100%) 0 0); transition: clip-path calc(1.6s * var(--ritmo)) var(--e-entra-r); }
	html.camst-tappe .camst-c2-foto { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); transition: clip-path calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-tappe :is(.camst-c2-foto--cuoca, .camst-c2-foto--picnic) { right: calc(429 / 707 * 100%); }

	/* 2.2 il testo esce da dietro la colonna verso sinistra (1,2 s; il secondo paragrafo un po' dopo) */
	html.camst-tappe .camst-c2-intro > * { translate: calc(430 * var(--u)) 0;   /* da dietro la colonna */ transition: translate calc(1.05s * var(--ritmo)) var(--e-entra-r) 0s; }
	html.camst-c2-t2 .camst-c2-intro > * { translate: 0 0; transition-timing-function: var(--e-entra); }
	html.camst-c2-t2 .camst-c2-intro > :nth-child(2) { transition-delay: calc(.08s * var(--ritmo)); }
	html.camst-c2-t2 .camst-c2-intro > :nth-child(3) { transition-delay: calc(.15s * var(--ritmo)); }

	/* 2.3 la cuoca entra da sinistra nella colonna; «Il primo Rapporto…» esce da dietro la colonna a destra (1,2 s) */
	html.camst-c2-t3 .camst-c2-foto--cuoca { clip-path: inset(0); transition-timing-function: var(--e-entra); }
	html.camst-tappe .camst-c2-frase { --via: calc(-100% - 45 * var(--st) - 12px); transform: translateX(var(--via)); transition: transform calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c2-t3 .camst-c2-frase--primo { --via: 0px; transition-timing-function: var(--e-entra); }
	/* 2.4 il picnic; «Il primo…» esce a destra, «Il secondo…» entra (1,6 s) */
	html.camst-c2-t4 .camst-c2-foto--picnic { clip-path: inset(0); transition-duration: calc(1.6s * var(--ritmo)); transition-timing-function: var(--e-entra); }
	html.camst-c2-t4 .camst-c2-frase--primo { --via: max(calc(700 * var(--st)), calc(50vw - 184 * var(--u) + 20px)); transition-duration: calc(1.6s * var(--ritmo)); transition-timing-function: var(--e-entra); }   /* la stessa andatura della frase che entra: tavola 17 */
	html.camst-c2-t4 .camst-c2-frase--secondo { --via: 0px; transition-duration: calc(1.6s * var(--ritmo)); transition-timing-function: var(--e-entra); }
	/* 2.5 la colonna si allarga a 707 px con gli amici, «Il secondo…» esce a destra (1,6 s) */
	html.camst-c2-t5 .camst-c2-colonna { clip-path: inset(0); transition-timing-function: var(--e-entra); }
	html.camst-c2-t5 .camst-c2-foto--amici { clip-path: inset(0); transition-duration: calc(1.6s * var(--ritmo)); transition-timing-function: var(--e-entra); }
	html.camst-c2-t5 .camst-c2-frase--secondo { --via: max(calc(700 * var(--st)), calc(50vw - 184 * var(--u) + 20px)); transition-duration: calc(1.6s * var(--ritmo)); transition-timing-function: var(--e-entra); }   /* la stessa andatura della frase che entra: tavola 17 */
	/* 2.6 il bottone sale dal bordo basso della foto (1,7 s, la curva dei bottoni della home) */
	html.camst-tappe .camst-c2-azione .camst-bottone { translate: 0 calc(180% + 53 * var(--v)); transition: translate calc(1.7s * var(--ritmo)) cubic-bezier(.4, 0, .68, .06), background-color .2s ease; }
	html.camst-c2-t6 .camst-c2-azione .camst-bottone { translate: 0 0; transition-timing-function: var(--e-entra), ease; }
	/* da tastiera il bottone non deve prendere il fuoco finché è nascosto: v3.js porta alla fine del capitolo */

	/* ==================== FASE 2 (19/10/2026, Figma versione 4): le tappe interne dei capitoli 3–11 ====================
	   Ogni pezzo: la regola senza la classe è lo stato di partenza (con i tempi del ritorno, curva speculare), quella con la
	   classe lo stato d'arrivo (tempi dell'andata). Le durate sono quelle della tabella TAPPE di v3.js. Storyboard: LEGGIMI.md */

	/* ---------- 3 — Lo spazio e il cibo (tavole 22–33) ---------- */
	/* 3.2 il titolo arriva enorme (2000 px, tavola 24) e si posa a 200 px al centro dello schermo (tavola 26): come l'occhiello
	   dell'apertura. 228 = da dove sta alla fine (centro a y 342) al centro della tavola 26 (y 570) */
	html.camst-tappe .camst-c3-titolo {
		opacity: 0; scale: 14.3; translate: 0 calc(50svh - var(--t) - 87 * var(--s));   /* il centro del titolo al centro dello schermo (tavola 26) */
		transition: opacity calc(.35s * var(--ritmo)) linear calc(1.25s * var(--ritmo)), scale calc(1.6s * var(--ritmo)) cubic-bezier(.7, 0, .84, 0), translate 0s;
	}
	html.camst-c3-t2 .camst-c3-titolo {
		opacity: 1; scale: 1.366;   /* tavola 26: 1545 px di larghezza contro i 1131 del titolo finale (misurati dai pixel) */
		transition: opacity calc(.35s * var(--ritmo)) linear, scale calc(1.6s * var(--ritmo)) cubic-bezier(.16, 1, .3, 1), translate 0s;
	}
	/* 3.3 il pannello arancio entra da sinistra fino a metà; il titolo sparisce (tavole 27–28) */
	html.camst-c3-t3 .camst-c3-titolo {
		opacity: 0; scale: 1; translate: 0 100svh;
		transition: opacity calc(.3s * var(--ritmo)) linear, scale 0s linear calc(.3s * var(--ritmo)), translate 0s linear calc(.3s * var(--ritmo));
	}
	html.camst-tappe .camst-c3-pannello { translate: -100% 0; transition: translate calc(.85s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c3-t3 .camst-c3-pannello { translate: 0 0; transition-timing-function: var(--e-entra); }
	/* 3.4 il titolo (140 px) sale dal fondo al suo posto, la domanda lo segue (tavole 29–31) */
	html.camst-c3-t4 .camst-c3-titolo {
		opacity: 1; translate: 0 0;
		transition: opacity calc(.2s * var(--ritmo)) linear, scale 0s, translate calc(1.2s * var(--ritmo)) var(--e-entra);
	}
	html.camst-tappe :is(.camst-c3-domanda, .camst-c3-testo) { translate: 0 100svh; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c3-t4 .camst-c3-domanda { translate: 0 0; transition: translate calc(1s * var(--ritmo)) var(--e-entra) calc(.2s * var(--ritmo)); }
	/* 3.5 il testo sale dal fondo (tavole 31–33) */
	html.camst-c3-t5 .camst-c3-testo { translate: 0 0; transition-timing-function: var(--e-entra); }

	/* ---------- 4 — Le tre coppie (tavole 34–41): le pillole entrano dai lati, una riga per tappa ---------- */
	html.camst-tappe .camst-c4-riga .camst-pillola { transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-tappe .camst-c4-riga .camst-pillola--sinistra { translate: -100% 0; }
	html.camst-tappe .camst-c4-riga .camst-pillola--destra { translate: 100% 0; }
	html.camst-c4-t2 .camst-c4-riga--rosso .camst-pillola, html.camst-c4-t3 .camst-c4-riga--blu .camst-pillola,
	html.camst-c4-t4 .camst-c4-riga--arancio .camst-pillola { translate: 0 0; transition-timing-function: var(--e-entra); }

	/* ---------- 5, 6, 7 — la ricetta (tavole 43–53, 55–63, 64–72): una regola sola, cambiano colore e misure ----------
	   N.2 le pillole grandi entrano dai lati sulla foto intera; N.3 il pannello entra da destra fino a metà, le pillole si
	   rimpiccioliscono e salgono, a sinistra arriva la seconda foto; N.4 il testo esce da dietro il pannello; N.5 i dati da destra.
	   Pillole grandi (tavole 46, 58, 66): righe di 214 px a y 336 e 588, parole a 140 px; piccole (48, 60, 68): 139 px a y 260
	   e 424, parole a 90 px. Le misure per capitolo: --a/--a-g larghezza della prima, --p-g dove comincia la sua parola, --m-g
	   dove comincia la seconda (piccola / grande). --g 1 = grandi, --f 1 = fuori dallo schermo. */
	html.camst-tappe .camst-cap--5 { --a-g: 1117; --p-g: 539; --m-g: 473; }
	html.camst-tappe .camst-cap--6 { --a-g: 1171; --p-g: 559; --m-g: 433; }
	html.camst-tappe .camst-c7-schermo--a { --a-g: 1085; --p-g: 639; --m-g: 513; }
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a) .camst-cap-intera { display: block; }
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a) .camst-cap-foto { opacity: 0; transition: opacity calc(.85s * var(--ritmo)) linear; }
	html.camst-c5-t3 .camst-cap--5 .camst-cap-foto, html.camst-c6-t3 .camst-cap--6 .camst-cap-foto,
	html.camst-c7-t3 .camst-c7-schermo--a .camst-cap-foto { opacity: 1; transition-delay: calc(.85s * var(--ritmo)); }
	/* il video (al posto delle due foto): a tutto schermo, in N.3 si stringe nella metà sinistra insieme al pannello (come la foto
	   dei capitoli 8 e 11) e il velo si fa quello della foto di metà schermo (70% nel 5 e nel 6, 55% nel 7) */
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a) .camst-video { right: 0; transition: right calc(1.7s * var(--ritmo)) var(--e-dolce); }
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a) .camst-video::after { transition: background-color calc(1.7s * var(--ritmo)) linear; }
	html.camst-c5-t3 .camst-cap--5 .camst-video, html.camst-c6-t3 .camst-cap--6 .camst-video, html.camst-c7-t3 .camst-c7-schermo--a .camst-video { right: 50%; }
	html.camst-c5-t3 .camst-cap--5 .camst-video::after, html.camst-c6-t3 .camst-cap--6 .camst-video::after { background: rgb(0 0 0 / .7); }
	html.camst-c7-t3 .camst-c7-schermo--a .camst-video::after { background: rgb(0 0 0 / .55); }

	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a, .camst-cap--8, .camst-cap--11) .camst-cap-pannello {
		z-index: 2; translate: 100% 0; transition: translate calc(1.7s * var(--ritmo)) var(--e-dolce); }
	html.camst-c5-t3 .camst-cap--5 .camst-cap-pannello, html.camst-c6-t3 .camst-cap--6 .camst-cap-pannello,
	html.camst-c7-t3 .camst-c7-schermo--a .camst-cap-pannello, html.camst-c8-t3 .camst-cap--8 .camst-cap-pannello,
	html.camst-c11-t5 .camst-cap--11 .camst-cap-pannello { translate: 0 0; }

	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a) .camst-coppia {
		--g: 1; --f: 1; --curva: var(--e-entra-r);
		z-index: 3;
		top: calc(var(--t) + 76 * var(--g) * var(--s));
		width: calc(50% + 50% * var(--g));
		row-gap: calc((25 + 13 * var(--g)) * var(--s));
		font-size: calc((90 + 50 * var(--g)) * var(--s));
		transition-property: top, width, row-gap, font-size;
		transition-duration: calc(1.7s * var(--ritmo));
		transition-timing-function: var(--e-dolce);
	}
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a) .camst-coppia > span {
		height: calc((139 + 75 * var(--g)) * var(--s));
		transition-property: height, width, margin-left, padding-left, translate;
		transition-duration: calc(1.7s * var(--ritmo)), calc(1.7s * var(--ritmo)), calc(1.7s * var(--ritmo)), calc(1.7s * var(--ritmo)), calc(1.2s * var(--ritmo));
		transition-timing-function: var(--e-dolce), var(--e-dolce), var(--e-dolce), var(--e-dolce), var(--curva);
	}
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a) .camst-coppia__a {
		width: calc(var(--o) + (var(--a) + (var(--a-g) - var(--a)) * var(--g)) * var(--s));
		padding-left: calc(var(--o) + (224 + (var(--p-g) - 224) * var(--g)) * var(--s));
		translate: calc(-100% * var(--f)) 0;
	}
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a) .camst-coppia__b {
		margin-left: calc(var(--o) + (159 + (var(--m-g) - 159) * var(--g)) * var(--s));
		padding-left: calc((66 + 60 * var(--g)) * var(--s));
		translate: calc(100% * var(--f)) 0;
	}
	html.camst-c5-t2 .camst-cap--5 .camst-coppia, html.camst-c6-t2 .camst-cap--6 .camst-coppia,
	html.camst-c7-t2 .camst-c7-schermo--a .camst-coppia { --f: 0; --curva: var(--e-entra); }
	html.camst-c5-t3 .camst-cap--5 .camst-coppia, html.camst-c6-t3 .camst-cap--6 .camst-coppia,
	html.camst-c7-t3 .camst-c7-schermo--a .camst-coppia { --g: 0; }

	/* N.4 il testo esce da dietro il pannello verso sinistra (tavole 49, 60, 68, e 89 del capitolo 8): sta sotto il pannello */
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a, .camst-cap--8) .camst-blocco {
		z-index: 1; visibility: hidden; transition: visibility 0s linear calc(1.2s * var(--ritmo)); }
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a, .camst-cap--8) .camst-blocco > * {
		--da: 340; translate: calc(var(--da) * var(--s)) 0; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a, .camst-cap--8) .camst-blocco > :nth-child(n+2) { --da: 460; }
	html.camst-c5-t4 .camst-cap--5 .camst-blocco, html.camst-c6-t4 .camst-cap--6 .camst-blocco,
	html.camst-c7-t4 .camst-c7-schermo--a .camst-blocco, html.camst-c8-t4 .camst-cap--8 .camst-blocco { visibility: visible; transition-delay: 0s; }
	html.camst-c5-t4 .camst-cap--5 .camst-blocco > *, html.camst-c6-t4 .camst-cap--6 .camst-blocco > *,
	html.camst-c7-t4 .camst-c7-schermo--a .camst-blocco > *, html.camst-c8-t4 .camst-cap--8 .camst-blocco > * { translate: 0 0; transition-timing-function: var(--e-entra); }
	html.camst-tappe .camst-blocco > :nth-child(2) { transition-delay: calc(.08s * var(--ritmo)); }
	html.camst-tappe .camst-blocco > :nth-child(3) { transition-delay: calc(.15s * var(--ritmo)); }

	/* N.5 i riquadri dei dati entrano da destra, i numeri con loro (tavole 51–53, 62–63, 90–92; dal 10/11/2026 i numeri non aspettano
	   più i riquadri, 0,1 s invece di 0,45: Figma del 10/11, tavole 27 e 33) */
	html.camst-tappe :is(.camst-c5-dati, .camst-c6-dati, .camst-c8-dati) .camst-dato {
		z-index: 3; translate: 100% 0; transition: translate calc(1.1s * var(--ritmo)) var(--e-entra-r) calc(.2s * var(--ritmo)); }
	html.camst-tappe :is(.camst-c5-dati, .camst-c6-dati, .camst-c8-dati) .camst-dato > * {
		opacity: 0; translate: calc(80 * var(--s)) 0; transition: opacity calc(.3s * var(--ritmo)) linear, translate calc(.4s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c5-t5 .camst-c5-dati .camst-dato, html.camst-c6-t5 .camst-c6-dati .camst-dato, html.camst-c8-t5 .camst-c8-dati .camst-dato {
		translate: 0 0; transition: translate calc(1.1s * var(--ritmo)) var(--e-entra) calc(var(--i, 0) * .12s * var(--ritmo)); }
	html.camst-c5-t5 .camst-c5-dati .camst-dato > *, html.camst-c6-t5 .camst-c6-dati .camst-dato > *, html.camst-c8-t5 .camst-c8-dati .camst-dato > * {
		opacity: 1; translate: 0 0;
		transition: opacity calc(.5s * var(--ritmo)) linear calc((.1s + var(--i, 0) * .12s) * var(--ritmo)), translate calc(1s * var(--ritmo)) var(--e-entra) calc((.1s + var(--i, 0) * .12s) * var(--ritmo)); }
	html.camst-tappe .camst-dati .camst-dato--2 { --i: 1; }
	html.camst-tappe .camst-dati .camst-dato--3 { --i: 2; }

	/* ---------- 7 — Casa/Lavoro, dopo la ricetta (tavole 70–82) ----------
	   Lo schermo b (fondo arancio) fa da pannello: ritagliato sulla metà destra arriva con «In presenza» (7.5), poi copre tutto
	   e «In presenza» passa a sinistra (7.6); la metà scura e «In smart working» da destra (7.7); i due gruppi escono ai lati e
	   salgono 60,1% e 58,5% dello schermo c (7.8). */
	html.camst-tappe .camst-cap--7 .camst-c7-schermo { position: absolute; inset: 0; height: auto; }
	/* ogni schermo è un livello suo: altrimenti pannello, pillole e testo dello schermo a (z-index 1–3) salgono sopra il b */
	html.camst-tappe .camst-c7-schermo--a { z-index: 1; }
	html.camst-tappe .camst-c7-schermo--b { z-index: 2; }
	html.camst-tappe .camst-c7-schermo--c { z-index: 3; }
	html.camst-tappe .camst-c7-schermo--b {
		--f: 1; --d: 1; --curva: var(--e-entra-r);
		visibility: hidden; clip-path: inset(0 0 0 50%);
		transition: clip-path calc(1.2s * var(--ritmo)) var(--e-dolce), visibility 0s linear calc(1.2s * var(--ritmo));
	}
	html.camst-c7-t5 .camst-c7-schermo--b { --f: 0; --curva: var(--e-entra); visibility: visible; transition-delay: 0s; }
	html.camst-c7-t6 .camst-c7-schermo--b { --d: 0; --curva: var(--e-dolce); clip-path: inset(0); }
	/* «In presenza»: tavola 72 (a destra, i riquadri a filo dello schermo) → tavola 74 (a sinistra, il posto dello schermo fermo) */
	html.camst-tappe .camst-c7-gruppo--presenza > * { transition: translate calc(1.2s * var(--ritmo)) var(--curva); }
	html.camst-tappe .camst-c7-gruppo--presenza > .camst-c7-etichetta { translate: calc(874 * var(--d) * var(--s) + 100vw * var(--f)) 0; }
	html.camst-tappe .camst-c7-gruppo--presenza > .camst-dato--1 { translate: calc((962 * var(--s) + var(--o)) * var(--d) + 100vw * var(--f)) 0; transition-delay: calc(.08s * var(--ritmo)); }
	html.camst-tappe .camst-c7-gruppo--presenza > .camst-dato--2 { translate: calc((1128 * var(--s) + var(--o)) * var(--d) + 100vw * var(--f)) 0; transition-delay: calc(.16s * var(--ritmo)); }
	html.camst-tappe .camst-c7-gruppo--presenza .camst-dato > * { transition: translate calc(1.2s * var(--ritmo)) var(--curva); }
	html.camst-tappe .camst-c7-gruppo--presenza .camst-dato--1 > * { translate: calc(-1 * (274 * var(--s) + var(--o)) * var(--d)) 0; }
	html.camst-tappe .camst-c7-gruppo--presenza .camst-dato--2 > * { translate: calc(-1 * (155 * var(--s) + var(--o)) * var(--d)) 0; }
	/* 7.7 la metà scura e «In smart working» da destra */
	html.camst-tappe .camst-c7-schermo--b::before { translate: 100% 0; transition: translate calc(.85s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c7-t7 .camst-c7-schermo--b::before { translate: 0 0; transition-timing-function: var(--e-entra); }
	html.camst-tappe .camst-c7-gruppo--smart { translate: 100vw 0; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c7-t7 .camst-c7-gruppo--smart { translate: 0 0; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra) calc(.3s * var(--ritmo)); }
	/* 7.8 i gruppi escono ai lati, salgono i due dati grandi */
	html.camst-tappe .camst-c7-gruppo--presenza { transition: translate calc(.85s * var(--ritmo)) var(--e-entra) calc(.3s * var(--ritmo)); }   /* al ritorno, dopo che i dati grandi sono sfumati */
	html.camst-c7-t8 .camst-c7-gruppo--presenza { translate: -100vw 0; transition-timing-function: var(--e-entra-r); }
	html.camst-c7-t8 .camst-c7-gruppo--smart { translate: 100vw 0; transition: translate calc(.85s * var(--ritmo)) var(--e-entra-r); }
	html.camst-tappe .camst-c7-schermo--c { visibility: hidden; opacity: 0; background: none; transition: opacity calc(.35s * var(--ritmo)) linear, visibility 0s linear calc(1.2s * var(--ritmo)); }
	html.camst-tappe .camst-c7-schermo--c::before { display: none; }
	html.camst-tappe .camst-c7-schermo--c .camst-dato { translate: 0 100svh; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c7-t8 .camst-c7-schermo--c { visibility: visible; opacity: 1; transition: opacity 0s, visibility 0s; }
	html.camst-c7-t8 .camst-c7-schermo--c .camst-dato { translate: 0 0; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra) calc(.5s * var(--ritmo)); }
	html.camst-c7-t8 .camst-c7-schermo--c .camst-dato--2 { transition-delay: calc(.6s * var(--ritmo)); }

	/* ---------- 8 — Molto più di uno spazio dove mangiare (tavole 83–92) ---------- */
	/* la foto a tutto schermo si stringe con il pannello (tavole 87–88); lo stesso nella chiusura (116–118) */
	html.camst-tappe :is(.camst-cap--8, .camst-cap--11) .camst-cap-foto { right: 0 !important; transition: right calc(1.7s * var(--ritmo)) var(--e-dolce); }
	html.camst-c8-t3 .camst-cap--8 .camst-cap-foto, html.camst-c11-t5 .camst-cap--11 .camst-cap-foto { right: 50% !important; }
	html.camst-tappe .camst-c8-sinistra { z-index: 1; }
	/* 8.2 il titolo sale dal fondo, grande (140 px a x 231, y 382: tavole 85–86); 8.3 si rimpicciolisce a 88 px in alto a sinistra */
	html.camst-tappe .camst-c8-titolo {
		--g: 1; transform-origin: 0 0;
		translate: calc(135 * var(--s) * var(--g)) calc(108 * var(--s) * var(--g) + 100svh);
		scale: calc(1 + .591 * var(--g));
		transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r), scale calc(1.7s * var(--ritmo)) var(--e-dolce);
	}
	html.camst-c8-t2 .camst-c8-titolo { translate: calc(135 * var(--s) * var(--g)) calc(108 * var(--s) * var(--g)); transition-timing-function: var(--e-entra), var(--e-dolce); }
	html.camst-c8-t3 .camst-c8-titolo { --g: 0; transition: translate calc(1.7s * var(--ritmo)) var(--e-dolce), scale calc(1.7s * var(--ritmo)) var(--e-dolce); }

	/* ---------- 9 — Cosa conta in uno spazio di ristorazione? (tavole 94–100) ---------- */
	/* 9.2 il titolo e le 5 foto, che crescono in altezza dalla loro linea di base (tavole 96–97) */
	html.camst-tappe .camst-c9-titolo { opacity: 0; translate: 0 calc(40 * var(--v)); transition: opacity calc(.5s * var(--ritmo)) linear, translate calc(.8s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c9-t2 .camst-c9-titolo { opacity: 1; translate: 0 0; transition-timing-function: linear, var(--e-entra); }
	html.camst-tappe .camst-c9-scheda .camst-foto { clip-path: inset(100% 0 0 0); transition: clip-path calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c9-t2 .camst-c9-scheda .camst-foto { clip-path: inset(0); transition: clip-path calc(1.2s * var(--ritmo)) var(--e-entra) calc((.15s + var(--i, 0) * .06s) * var(--ritmo)); }
	/* 9.3 le percentuali salgono dal fondo, 9.4 le etichette (tavole 98–100) */
	html.camst-tappe :is(.camst-c9-numero, .camst-c9-etichetta) { translate: 0 100svh; transition: translate calc(1.1s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c9-t3 .camst-c9-numero, html.camst-c9-t4 .camst-c9-etichetta { translate: 0 0; transition: translate calc(1.1s * var(--ritmo)) var(--e-entra) calc(var(--i, 0) * .06s * var(--ritmo)); }
	html.camst-tappe .camst-c9-scheda:nth-child(2) { --i: 1; } html.camst-tappe .camst-c9-scheda:nth-child(3) { --i: 2; }
	html.camst-tappe .camst-c9-scheda:nth-child(4) { --i: 3; } html.camst-tappe .camst-c9-scheda:nth-child(5) { --i: 4; }

	/* ---------- 10 — Uno spazio, molti effetti (tavole 101–107) ---------- */
	/* 10.2 titolo e sottotitolo; 10.3 le barre bianche entrano da sinistra una dopo l'altra, con etichette e numeri (dal 10/11/2026:
	   0,2 s dopo la loro barra invece di 0,8; Figma del 10/11, tavola 58) */
	html.camst-tappe .camst-c10-testata { opacity: 0; translate: 0 calc(40 * var(--v)); transition: opacity calc(.5s * var(--ritmo)) linear, translate calc(.8s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c10-t2 .camst-c10-testata { opacity: 1; translate: 0 0; transition-timing-function: linear, var(--e-entra); }
	html.camst-tappe .camst-c10-barra { translate: -100% 0; transition: translate calc(1s * var(--ritmo)) var(--e-entra-r); }
	html.camst-tappe .camst-c10-barra > * { opacity: 0; transition: opacity calc(.3s * var(--ritmo)) linear; }
	html.camst-c10-t3 .camst-c10-barra { translate: 0 0; transition: translate calc(1.1s * var(--ritmo)) var(--e-entra) calc(var(--i, 0) * .2s * var(--ritmo)); }
	html.camst-c10-t3 .camst-c10-barra > * { opacity: 1; transition: opacity calc(.5s * var(--ritmo)) linear calc((.2s + var(--i, 0) * .2s) * var(--ritmo)); }
	html.camst-tappe .camst-c10-barra--2 { --i: 1; } html.camst-tappe .camst-c10-barra--3 { --i: 2; }
	html.camst-tappe .camst-c10-barra--4 { --i: 3; } html.camst-tappe .camst-c10-barra--5 { --i: 4; }

	/* ---------- 11 — Chiusura (tavole 108–120) ----------
	   La colonna 2026 prima sta al centro dello schermo, col titolo a 88 px (tavole 112–115): ogni pezzo si sposta del necessario
	   per avere il centro a metà schermo (800 − 230 = 570 px della tavola, meno metà della sua larghezza). 11.2 il titolo sale,
	   11.3 il primo bottone, 11.4 «Sintesi», il testo e il secondo bottone; 11.5 tutto va a sinistra e il pannello blu entra da
	   destra (116–118); 11.6 la colonna 2025 da destra (119–120). --cx 1 = al centro, --sotto 1 = sotto lo schermo. */
	html.camst-tappe .camst-c11-colonna--2026 { --cx: 1; --durata: 1.2s; --curva: var(--e-entra-r); }
	html.camst-tappe .camst-c11-colonna--2026 > * { --sotto: 1; }
	html.camst-tappe .camst-c11-colonna--2026 > :not(.camst-c11-titolo) { translate: calc(var(--cx) * (570 * var(--s) - 50%)) calc(var(--sotto) * 100svh); }
	html.camst-tappe .camst-c11-colonna--2026 > .camst-c11-titolo { translate: 0 calc(var(--sotto) * 100svh); }
	html.camst-tappe .camst-c11-colonna--2026 .camst-c11-riga { transform-origin: 50% 100%; translate: calc(var(--cx) * (570 * var(--s) - 50%)) 0; scale: calc(1 + .5714 * var(--cx)); }
	html.camst-tappe .camst-c11-colonna--2026 .camst-c11-riga--anno { translate: calc(var(--cx) * (570 * var(--s) - 50%)) calc(var(--cx) * -.514em); }
	html.camst-tappe .camst-c11-colonna--2026 > *, html.camst-tappe .camst-c11-colonna--2026 .camst-c11-riga { transition: translate calc(var(--durata) * var(--ritmo)) var(--curva), scale calc(var(--durata) * var(--ritmo)) var(--curva), background-color .2s ease; }
	html.camst-tappe .camst-c11-colonna--2026 > :nth-child(4) { transition-delay: calc(.1s * var(--ritmo)); }
	html.camst-tappe .camst-c11-colonna--2026 > :nth-child(5) { transition-delay: calc(.2s * var(--ritmo)); }
	html.camst-c11-t2 .camst-c11-colonna--2026, html.camst-c11-t3 .camst-c11-colonna--2026, html.camst-c11-t4 .camst-c11-colonna--2026 { --curva: var(--e-entra); }
	html.camst-c11-t2 .camst-c11-colonna--2026 > .camst-c11-titolo,
	html.camst-c11-t3 .camst-c11-colonna--2026 > :nth-child(2),
	html.camst-c11-t4 .camst-c11-colonna--2026 > :nth-child(n+3) { --sotto: 0; }
	html.camst-c11-t5 .camst-c11-colonna--2026 { --cx: 0; --durata: 1.7s; --curva: var(--e-dolce); }
	html.camst-tappe .camst-c11-colonna--2025 { visibility: hidden; transition: visibility 0s linear calc(1.2s * var(--ritmo)); }
	html.camst-tappe .camst-c11-colonna--2025 > * { translate: calc(700 * var(--s)) 0; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r), background-color .2s ease; }
	html.camst-c11-t6 .camst-c11-colonna--2025 { visibility: visible; transition-delay: 0s; }
	html.camst-c11-t6 .camst-c11-colonna--2025 > * { translate: 0 0; transition-timing-function: var(--e-entra), ease; }
	html.camst-c11-t6 .camst-c11-colonna--2025 > :nth-child(2) { transition-delay: calc(.12s * var(--ritmo)), 0s; }
	html.camst-c11-t6 .camst-c11-colonna--2025 > :nth-child(3) { transition-delay: calc(.24s * var(--ritmo)), 0s; }
	html.camst-c11-t6 .camst-c11-colonna--2025 > :nth-child(4) { transition-delay: calc(.36s * var(--ritmo)), 0s; }

}


/* IL PUNTO D'INCONTRO in orizzontale fra 1024 e 1365 px (tablet girati, portatili piccoli; Phil 20/10/2026, «B ok»): la tavola
   del desktop, ma i testi piccoli non scendono sotto le misure del telefono (a 1024 px i paragrafi sarebbero di 11,5) */
@media (min-width: 1024px) and (max-width: 1365px) and (orientation: landscape) {
	.camst-v3 :is(.camst-testo, .camst-c10-sotto) { font-size: max(15px, calc(18 * var(--s))); }
	.camst-v3 .camst-c2-testo { font-size: max(15px, calc(18 * var(--st))); }
	.camst-v3 :is(.camst-dato__testo, .camst-c9-etichetta) { font-size: max(14px, calc(18 * var(--s))); }
	.camst-v3 .camst-c9-etichetta { font-size: max(14px, calc(22 * var(--s))); }
}

/* ==========================================================================
   IL TELEFONO (Figma 4375-749: 27 tavole da 402×777) e ogni schermo verticale, tablet compresi; sotto i 1024 px anche in
   orizzontale (il telefono girato), dove però la pagina è ferma (Phil, 20/10/2026: «A1», «B ok»).
   LE MISURE come il desktop, sulla tavola 402×777 («px della tavola»):
   --u  larghezza/402, al massimo 1:1 sul telefono; sul tablet in verticale la scala del lato più stretto (larghezza/402 o
        altezza/777, la minore), al massimo 1,35: la colonna resta al centro, foto, fasce e pannelli a tutto schermo.
   --v  min(larghezza/402, altezza/777): gli spazi vuoti in verticale. --s, --o, --t: i gruppi, come il desktop.
   --alto  quanto è alto uno schermo: a tappe lo schermo vero; fermo la tavola alla scala --u (777 × --u), uno sotto l'altro.
   --sc    lo spostamento di uno schermo nella pagina ferma (i capitoli con più tavole, uno schermo per tavola); a tappe 0.
   ========================================================================== */
@media (max-width: 1023px), (orientation: portrait) {
	:root {
		--tel-u: calc(min(1350px, max(min(1000px, 248.756vw), min(248.756vw, 128.700svh))) / 1000);
		--tel-v: calc(min(248.756vw, 128.700svh) / 1000);
	}
	.camst-v3, .camst-cornice, .camst-cornice .camst-marchi {
		--u: var(--tel-u);
		--x: var(--u);
		--v: var(--u);
		--alto: calc(777 * var(--u));
		--sc: var(--alto);
		/* la testata: loghi alti 29 a y 30, più 30; il mouse: alto 48 a 20 dal fondo, più 30 */
		--sopra: calc(60 * var(--v) + 29 * var(--u));
		--giu-mouse: calc(50 * var(--v) + 48 * var(--u));
		--giu-bordo: calc(20 * var(--v));
	}
	.camst-v3 :is(.camst-cap, .camst-c7-schermo, .camst-dati, .camst-c11-colonna) {
		--s: calc(min(1000 * var(--u), (var(--alto) - var(--sopra) - var(--giu, var(--giu-mouse))) * 1000 / var(--hc, 1)) / 1000);
		--o: calc(50vw - 201 * var(--s));
		--t: max(var(--sopra), min(calc(var(--e, 0) * var(--v)), calc(var(--alto) - var(--giu, var(--giu-mouse)) - var(--hc, 1) * var(--s))));
	}
	.camst-cap { height: var(--alto); }

	/* ---------- comuni (tavole del telefono: paragrafi 15/21, titoletti 30/27, dati 90 con % a metà, bottoni 16 alti 50) ---------- */
	.camst-v3 .camst-testo { font-size: calc(15 * var(--s)); line-height: 1.4; }
	.camst-v3 .camst-testo + .camst-testo { margin-top: calc(18 * var(--s)); }
	/* gli a capo come le tavole (a riga piena), ma senza una parola sola in fondo: pretty (direttiva «Titoli senza parole sole») */
	.camst-v3 .camst-sottotitolo3 { font-size: calc(30 * var(--s)); line-height: .9; text-wrap: pretty; }
	.camst-v3 .camst-bottone { gap: calc(9 * var(--s)); padding: calc(7.5 * var(--s)) calc(7.5 * var(--s)) calc(7.5 * var(--s)) calc(16 * var(--s)); font-size: calc(16 * var(--s)); }
	.camst-v3 .camst-bottone::after { width: calc(35 * var(--s)); height: calc(35 * var(--s)); background-size: calc(12 * var(--s)) auto; }
	.camst-v3 .camst-dato { padding: calc(10 * var(--s)) calc(10 * var(--s)) calc(10 * var(--s)) calc(var(--px, 24) * var(--s)); }
	.camst-v3 .camst-dato__numero { font-size: calc(90 * var(--s)); }
	.camst-v3 .camst-dato__testo { margin-top: calc(6 * var(--s)); max-width: calc(270 * var(--s)); font-size: calc(15 * var(--s)); line-height: 1.4; }
	.camst-v3 .camst-cap-foto { display: none; }      /* 5, 6, 7: sul telefono c'è solo la foto intera */
	/* la fonte: in basso a sinistra, sulla riga del mouse, su due righe (su una arriverebbe al mouse) */
	.camst-v3 .camst-fonte { left: calc(20 * var(--u)); bottom: calc(20 * var(--v)); padding: 0; max-width: calc(125 * var(--u)); font-size: max(10px, calc(11 * var(--u))); line-height: 1.25; }
	.camst-v3 .camst-ia { right: calc(20 * var(--u)); max-width: none; }   /* l'avviso è lungo: tutta la larghezza */
	.camst-cap--5 { --colore-cap: var(--rosso); }
	.camst-cap--6 { --colore-cap: var(--blu); }
	.camst-cap--7 { --colore-cap: var(--arancio); }
	.camst-cap--8 { --colore-cap: var(--rosso); }
	.camst-cap--11 { --colore-cap: var(--blu); }
	/* i pannelli del colore coprono tutto lo schermo (tavole 11, 14, 22, 26): fermi, sono lo schermo dopo */
	.camst-cap-pannello { position: absolute; z-index: 3; left: 0; right: 0; top: var(--sc); height: var(--alto); background: var(--colore-cap); }
	.camst-c7-schermo--a .camst-cap-pannello { display: none; }   /* nel 7 il colore è lo schermo b */

	/* ---------- 1 — apertura (tavola 1): occhiello 19, titolo 39 nel riquadro 343×47, sottotitolo 22, al centro ---------- */
	.camst-c1-titoli { top: 0; }
	.camst-v3 .camst-occhiello { margin-bottom: calc(14 * var(--u)); font-size: calc(19 * var(--u)); line-height: 1.263; }
	.camst-v3 .camst-titolo { padding: .06em .31em .17em; font-size: calc(39 * var(--u)); }   /* riquadro 343×47 */
	.camst-sottotitolo-finestra { margin-top: calc(3 * var(--u)); }
	.camst-v3 .camst-sottotitolo { font-size: calc(22 * var(--u)); }
	.camst-c1-azione { top: calc(100% + 24 * var(--v)); }

	/* ---------- 2 — i due Rapporti (tavole 2–5, uno schermo per tavola; il gruppo va da y 120 a 640) ---------- */
	.camst-cap--2 { --hc: 520; --e: 120; height: calc(var(--alto) + 3 * var(--sc)); background: var(--crema); color: var(--blu); }
	.camst-c2-sinistra, .camst-c2-destra { display: contents; }
	.camst-c2-intro { position: absolute; z-index: 2; top: var(--t); left: calc(var(--o) + 25 * var(--s)); width: calc(352 * var(--s)); }
	.camst-v3 .camst-c2-titolo { margin-bottom: calc(19 * var(--s)); color: var(--rosso); font-size: calc(30 * var(--s)); font-weight: 700; line-height: .9; text-wrap: pretty; }
	.camst-v3 .camst-c2-testo { font-size: calc(15 * var(--s)); font-weight: 450; line-height: 1.4; }
	.camst-v3 .camst-c2-testo + .camst-c2-testo { margin-top: calc(18 * var(--s)); }
	/* le finestre delle foto: l'aerea 352×260 a y 380 (tavola 2); poi cuoca (298, alta 342), picnic (299, 341), amici (121, 442) */
	.camst-c2-aerea { position: absolute; z-index: 1; top: calc(var(--t) + 260 * var(--s)); left: calc(var(--o) + 25 * var(--s)); width: calc(352 * var(--s)); height: calc(260 * var(--s)); overflow: hidden; }
	.camst-v3 .camst-c2-aerea .camst-foto::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .5); }   /* tavola 2: la foto resta col velo (luminosità 0,50 dell'originale) */
	.camst-c2-colonna { position: absolute; z-index: 2; inset: 0; }
	.camst-v3 .camst-c2-foto { position: absolute; inset: auto; left: calc(var(--o) + 25 * var(--s)); width: calc(352 * var(--s)); }
	.camst-v3 .camst-c2-foto--cuoca { top: calc(var(--sc) + var(--t) + 178 * var(--s)); height: calc(342 * var(--s)); }
	.camst-v3 .camst-c2-foto--cuoca img { object-position: 50% 28%; }   /* tavola 3: inquadratura per correlazione (0,99) */
	.camst-v3 .camst-c2-foto--picnic { top: calc(2 * var(--sc) + var(--t) + 179 * var(--s)); height: calc(341 * var(--s)); }
	.camst-v3 .camst-c2-foto--amici { top: calc(3 * var(--sc) + var(--t) + 1 * var(--s)); height: calc(442 * var(--s)); }
	/* il bottone largo come la colonna, testo a sinistra e freccia a destra, 27 sotto la foto (tavola 5) */
	.camst-c2-azione { position: absolute; z-index: 2; top: calc(3 * var(--sc) + var(--t) + 470 * var(--s)); bottom: auto; left: calc(var(--o) + 25 * var(--s)); width: calc(352 * var(--s)); }
	.camst-v3 .camst-c2-azione .camst-bottone { display: flex; justify-content: space-between; width: 100%; box-sizing: border-box; font-size: calc(16 * var(--s)); }
	.camst-c2-frase { position: absolute; z-index: 2; left: calc(var(--o) + 25 * var(--s)); }
	.camst-v3 .camst-c2-frase { font-size: calc(40 * var(--s)); font-weight: 700; line-height: .9; }
	.camst-c2-frase--primo { top: calc(var(--sc) + var(--t)); }
	.camst-c2-frase--secondo { top: calc(2 * var(--sc) + var(--t) + 71 * var(--s)); }
	.camst-c2-frase--secondo br:first-of-type { display: none; }   /* tavola 4: «Il secondo indaga / lo spazio.» su due righe */
	/* tavole 3 e 4: il riquadro arancio (alto 42) sporge di 8 px a sinistra della riga */
	.camst-c2-frase mark { display: inline-block; margin-left: -.2em; padding: .03em .2em .13em; background: var(--arancio); color: #fff; }

	/* ---------- 3 — il titolo (tavole 6–7): pannello arancio in alto, la foto scesa sotto ---------- */
	.camst-cap--3 { --hc: 362; --e: 102; }
	.camst-c3-pannello { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: calc(var(--t) + 420 * var(--s)); background: var(--arancio); }
	.camst-v3 .camst-c3-foto { translate: 0 calc(var(--t) + 187 * var(--s)); }   /* tavola 7: la foto parte da y 289 */
	.camst-c3-testata { position: absolute; z-index: 2; left: 0; right: 0; top: var(--t); text-align: center; }
	.camst-v3 .camst-c3-titolo { font-size: calc(43 * var(--s)); font-weight: 700; line-height: 1.256; white-space: nowrap; }
	.camst-v3 .camst-c3-domanda { margin-top: calc(16 * var(--s)); padding: 0 calc(var(--o) + 25 * var(--s)); text-align: left; font-size: calc(30 * var(--s)); font-weight: 700; line-height: .9; text-wrap: pretty; }
	.camst-c3-testo { position: absolute; z-index: 2; left: calc(var(--o) + 25 * var(--s)); top: calc(var(--t) + 176 * var(--s)); width: calc(352 * var(--s)); color: var(--blu); }

	/* ---------- 4 — le tre coppie (tavola 8): pillole a tinta piena, 281×62, la seconda di ogni riga 70 più giù ---------- */
	.camst-cap--4 { --hc: 476; --e: 147; background: var(--crema); }
	.camst-c4-riga { position: absolute; left: 0; right: 0; height: calc(132 * var(--s)); }
	.camst-c4-riga--rosso { top: var(--t); --colore-cap: var(--rosso); }
	.camst-c4-riga--blu { top: calc(var(--t) + 172 * var(--s)); --colore-cap: var(--blu); }
	.camst-c4-riga--arancio { top: calc(var(--t) + 344 * var(--s)); --colore-cap: var(--arancio); }
	.camst-pillola { position: absolute; display: flex; align-items: center; height: calc(62 * var(--s)); background: var(--colore-cap); }
	.camst-pillola .camst-foto, .camst-pillola::after { display: none; }
	.camst-pillola--sinistra { left: 0; top: 0; width: calc(var(--o) + 281 * var(--s)); box-sizing: border-box; justify-content: flex-end; padding-right: calc(23 * var(--s)); border-radius: 0 999px 999px 0; }
	.camst-pillola--destra { right: 0; top: calc(70 * var(--s)); left: calc(var(--o) + 121 * var(--s)); padding-left: calc(22 * var(--s)); border-radius: 999px 0 0 999px; }
	.camst-v3 .camst-pillola__parola { font-size: calc(40 * var(--s)); font-weight: 700; line-height: 1.265; }

	/* ---------- 5, 6, 7a — la ricetta: foto intera, pillole piccole in alto, titoletto e testo (tavole 10, 13, 16) ----------
	   --g 1 = pillole grandi (tavole 9, 12, 15: alte 78, parole a 52, al centro dello schermo); 0 = piccole (62, parole a 40, in alto) */
	:is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a) { --hc: 505; --e: 102; --g: 0; }
	:is(.camst-cap--5, .camst-cap--6) { height: calc(var(--alto) + var(--sc)); }   /* fermi: lo schermo dei dati sotto */
	.camst-v3 :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a) .camst-cap-intera { display: block; }
	.camst-v3 .camst-coppia {
		position: absolute; z-index: 2; left: 0; right: 0;
		top: calc(var(--t) * (1 - var(--g)) + (var(--alto) / 2 - 83.5 * var(--s)) * var(--g));
		display: grid; row-gap: calc((8 + 3 * var(--g)) * var(--s));
		font-size: calc((40 + 12 * var(--g)) * var(--s)); font-weight: 700; line-height: .9;
	}
	.camst-coppia > span { display: flex; align-items: center; height: calc((62 + 16 * var(--g)) * var(--s)); box-sizing: border-box; background: color-mix(in srgb, var(--colore-cap) 70%, transparent); }
	.camst-coppia__a { width: calc(var(--o) + 281 * var(--s)); justify-content: flex-end; padding-right: calc(23 * var(--s)); border-radius: 0 999px 999px 0; }
	.camst-coppia__b { margin-left: calc(var(--o) + 121 * var(--s)); padding-left: calc(22 * var(--s)); border-radius: 999px 0 0 999px; }
	.camst-blocco { position: absolute; z-index: 2; left: calc(var(--o) + 25 * var(--s)); top: calc(var(--t) + 234 * var(--s)); width: calc(352 * var(--s)); }
	.camst-blocco .camst-sottotitolo3 { margin-bottom: calc(var(--dt, 25) * var(--s)); }   /* tavole 10, 13, 16: 25, 32, 30 */
	.camst-cap--6 .camst-blocco { --dt: 32; }
	.camst-c7-schermo--a .camst-blocco { --dt: 30; }

	/* i dati: lo schermo dopo, sul colore (tavole 11, 14, 22); riquadri dal bordo sinistro indicato fino al bordo destro */
	.camst-dati { position: absolute; z-index: 4; inset: var(--sc) 0 auto; height: var(--alto); }
	.camst-dati .camst-dato { position: absolute; left: calc(var(--o) + var(--l) * var(--s)); right: 0; top: calc(var(--t) + var(--dy, 0) * var(--s)); min-height: calc(var(--h) * var(--s)); }
	.camst-c5-dati { --hc: 359; --e: 205; }
	.camst-c5-dati .camst-dato--1 { --l: 25; --h: 170; }
	.camst-c5-dati .camst-dato--2 { --l: 81; --h: 170; --dy: 189; }
	.camst-c6-dati { --hc: 584; --e: 95; }
	.camst-c6-dati .camst-dato--1 { --l: 35; --h: 186; --px: 27; }
	.camst-c6-dati .camst-dato--2 { --l: 57; --h: 191; --px: 28; --dy: 205; }
	.camst-c6-dati .camst-dato--3 { --l: 25; --h: 168; --px: 25; --dy: 416; }
	.camst-c8-dati { --hc: 210; --e: 284; }
	.camst-c8-dati .camst-dato--1 { --l: 25; --h: 210; }

	/* ---------- 7 — casa/lavoro dopo la ricetta: «In presenza» (tavola 17), «In smart working» (18), i due dati grandi (19) ---------- */
	.camst-cap--7 { height: auto; }
	.camst-c7-schermo { position: relative; height: var(--alto); overflow: hidden; overflow: clip; }
	.camst-c7-schermo--b { --hc: 429; --e: 170; height: calc(var(--alto) + var(--sc)); background: var(--arancio); }
	.camst-c7-schermo--b::before { content: ""; position: absolute; z-index: 0; left: 0; right: 0; top: var(--sc); height: var(--alto); background: var(--scuro); }
	.camst-c7-gruppo { position: absolute; z-index: 1; left: 0; right: 0; top: var(--t); }
	.camst-c7-gruppo--smart { top: calc(var(--sc) + var(--t)); }
	.camst-v3 .camst-c7-etichetta { margin: 0 0 calc(43 * var(--s)); text-align: center; font-size: calc(30 * var(--s)); font-weight: 700; line-height: .9; text-transform: uppercase; }
	.camst-c7-gruppo .camst-dato { min-height: calc(170 * var(--s)); }
	.camst-c7-gruppo .camst-dato--1 { margin-left: calc(var(--o) + 25 * var(--s)); }
	.camst-c7-gruppo .camst-dato--2 { margin: calc(19 * var(--s)) 0 0 calc(var(--o) + 81 * var(--s)); }
	.camst-c7-gruppo--smart .camst-dato { background: var(--arancio); }
	.camst-c7-schermo--c { --hc: 525; --e: 109; background: var(--arancio); }
	.camst-c7-schermo--c::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--t) + 303 * var(--s)); background: var(--scuro); }   /* tavola 19: da y 412 in giù */
	.camst-c7-schermo--c .camst-dato { position: absolute; left: calc(var(--o) + 25 * var(--s)); top: var(--t); width: calc(352 * var(--s)); padding: 0; background: none; }
	.camst-c7-schermo--c .camst-dato--2 { top: calc(var(--t) + 338 * var(--s)); }
	.camst-c7-schermo--c .camst-dato__testo { max-width: none; margin-top: calc(22 * var(--s)); }

	/* ---------- 8 — molto più di uno spazio (tavola 21; il titolo grande della 20 solo nel movimento) ---------- */
	.camst-cap--8 { --hc: 421; --e: 178; height: calc(var(--alto) + var(--sc)); }
	.camst-v3 :is(.camst-cap--8, .camst-cap--11) > .camst-cap-foto { display: block; }   /* qui la foto è quella del capitolo */
	.camst-c8-sinistra { position: absolute; z-index: 2; left: calc(var(--o) + 26 * var(--s)); top: var(--t); width: calc(351 * var(--s)); }
	.camst-v3 .camst-c8-titolo { font-size: calc(40 * var(--s)); font-weight: 700; line-height: .9; }
	.camst-cap--8 .camst-blocco { position: relative; left: calc(-1 * var(--s)); top: auto; margin-top: calc(37 * var(--s)); width: calc(352 * var(--s)); }
	.camst-cap--8 .camst-blocco .camst-sottotitolo3 { margin-bottom: calc(30 * var(--s)); }

	/* ---------- 9 — cosa conta (tavola 23): riquadri arancio scuro a scala, senza le foto ---------- */
	.camst-cap--9 { --hc: 554; --e: 117; background: var(--crema); color: var(--blu); }
	.camst-v3 .camst-c9-titolo { position: absolute; left: calc(var(--o) + 26 * var(--s)); top: var(--t); width: calc(351 * var(--s)); color: var(--rosso); font-size: calc(30 * var(--s)); font-weight: 700; line-height: .9; text-wrap: pretty; }
	.camst-c9-schede { position: absolute; inset: 0; }
	.camst-c9-scheda { position: absolute; left: calc(var(--o) + var(--l) * var(--s)); right: 0; top: calc(var(--t) + var(--dy) * var(--s)); min-height: calc(var(--h, 83) * var(--s));
		box-sizing: border-box; padding: calc(5 * var(--s)) calc(10 * var(--s)) calc(5 * var(--s)) calc(16 * var(--s)); background: rgb(204 124 1); color: #fff; }   /* l'arancio scurito del 15%, dai pixel */
	.camst-c9-scheda .camst-foto { display: none; }
	.camst-c9-scheda--cibo { --l: 25; --dy: 87; } .camst-c9-scheda--atmosfera { --l: 52; --dy: 177; } .camst-c9-scheda--servizio { --l: 25; --dy: 267; }
	.camst-c9-scheda--menu { --l: 79; --dy: 358; } .camst-c9-scheda--accesso { --l: 124; --dy: 449; --h: 105; }
	.camst-v3 :is(.camst-c9-numero, .camst-c9-etichetta) { position: static; }
	.camst-v3 .camst-c9-numero { color: #fff; font-size: calc(50 * var(--s)); font-weight: 700; line-height: .9; white-space: nowrap; }
	.camst-v3 .camst-c9-numero .camst-pc { font-size: .5em; }
	.camst-v3 .camst-c9-etichetta { margin-top: calc(5 * var(--s)); font-size: calc(15 * var(--s)); font-weight: 700; line-height: 1.2; }
	.camst-v3 .camst-c9-scheda--accesso .camst-c9-etichetta { max-width: calc(228 * var(--s)); }   /* l'unica su due righe nella tavola 23 */

	/* ---------- 10 — molti effetti (tavola 24): barre bianche dal bordo sinistro, numero ed etichetta dentro, a destra ---------- */
	.camst-cap--10 { --hc: 553; --e: 117; }
	.camst-c10-testata { position: absolute; z-index: 2; left: calc(var(--o) + 26 * var(--s)); top: var(--t); width: calc(351 * var(--s)); text-align: left; }
	.camst-v3 .camst-c10-titolo { font-size: calc(30 * var(--s)); font-weight: 700; line-height: .9; }
	.camst-v3 .camst-c10-sotto { margin-top: calc(18 * var(--s)); font-size: calc(15 * var(--s)); font-weight: 450; line-height: 1.4; }
	.camst-c10-barre { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--t) + 111 * var(--s)); display: grid; row-gap: calc(8 * var(--s)); }
	.camst-c10-barra { display: flex; flex-direction: column; align-items: flex-end; height: calc(82 * var(--s)); box-sizing: border-box; padding: calc(5 * var(--s)) calc(14 * var(--s)) 0 0; background: #fff; width: calc(var(--o) + var(--w) * var(--s)); }
	.camst-c10-barra--1 { --w: 377; } .camst-c10-barra--2 { --w: 348; } .camst-c10-barra--3 { --w: 341; } .camst-c10-barra--4 { --w: 336; } .camst-c10-barra--5 { --w: 305; }
	.camst-v3 .camst-c10-numero { position: static; order: -1; color: var(--rosso); font-size: calc(50 * var(--s)); font-weight: 700; line-height: .9; white-space: nowrap; }
	.camst-v3 .camst-c10-numero .camst-pc { font-size: .5em; }
	.camst-v3 .camst-c10-etichetta { margin-top: calc(5 * var(--s)); color: var(--rosso); font-size: calc(15 * var(--s)); font-weight: 700; line-height: 1.2; text-align: right; }

	/* ---------- 11 — chiusura (tavole 25 e 26): colonne al centro; il blu è lo schermo dopo ---------- */
	.camst-cap--11 { height: calc(var(--alto) + var(--sc)); }
	.camst-c11-colonna { position: absolute; z-index: 2; left: calc(var(--o) + 25 * var(--s)); top: var(--t); width: calc(352 * var(--s)); display: flex; flex-direction: column; align-items: center; text-align: center; }
	.camst-c11-colonna--2026 { --hc: 443; --e: 170; }
	.camst-c11-colonna--2025 { --hc: 449; --e: 188;   /* 381 della tavola 26, più il secondo bottone (18 + 50) */
		 z-index: 4; top: calc(var(--sc) + var(--t)); }
	/* «Lo spazio / e il cibo», «Il tempo / e il cibo»: la riga larga al massimo 240, come le tavole 25 e 26 (222 e 196) */
	.camst-v3 .camst-c11-titolo { max-width: calc(240 * var(--s)); font-size: calc(51 * var(--s)); font-weight: 700; line-height: .9; text-wrap: wrap; }
	.camst-v3 .camst-c11-titolo:has(.camst-c11-riga) { display: flex; flex-direction: column; align-items: center; }
	.camst-c11-colonna--2026 .camst-c11-titolo { margin-bottom: calc(41 * var(--s)); }
	.camst-c11-colonna--2026 .camst-sottotitolo3 { margin: calc(59 * var(--s)) 0 calc(18 * var(--s)); }
	.camst-c11-colonna--2026 .camst-testo { max-width: calc(282 * var(--s)); }
	.camst-c11-colonna--2026 .camst-testo + .camst-bottone { margin-top: calc(18 * var(--s)); }
	.camst-c11-colonna--2025 .camst-c11-titolo { max-width: calc(205 * var(--s)); margin-bottom: calc(44 * var(--s)); }
	.camst-c11-colonna--2025 .camst-testo + .camst-bottone { margin-top: calc(44 * var(--s)); }
	.camst-c11-colonna--2025 .camst-bottone + .camst-bottone { margin-top: calc(18 * var(--s)); }   /* il secondo bottone (22/10/2026) */

	/* ---------- la cornice: loghi 87 e 82 a y 30, linea alta 30 al centro, hamburger 24 a 19 dal bordo, menu (tavola 27) ---------- */
	.camst-cornice .camst-marchi { column-gap: calc(16 * var(--u)); padding-top: calc(30 * var(--v)); }
	.camst-cornice .camst-marchio:first-child svg { width: calc(87 * var(--u)); }
	.camst-cornice .camst-marchio:last-child svg { width: calc(82 * var(--u)); }
	.camst-cornice .camst-marchi__linea { width: 1.5px; height: calc(30 * var(--u)); }
	.camst-cornice { --sm: var(--u); }
	html.camst-viva .camst-menu-bottone { top: calc(44.6 * var(--v)); right: calc(19 * var(--u) - (44px - 24 * var(--u)) / 2); width: 44px; height: 44px; }
	html.camst-viva.camst-tappe .camst-su { top: calc(44.6 * var(--v)); left: calc(19 * var(--u) - (44px - 12 * var(--u)) / 2); width: 44px; }   /* a specchio dell'hamburger */
	html.camst-viva.camst-tappe .camst-giu { bottom: calc(20 * var(--v) - (44px - 15 * var(--u)) / 2); left: calc(19 * var(--u) - (44px - 12 * var(--u)) / 2); width: 44px; }   /* sullo stesso asse del tastino, sulla riga del mouse */
	:is(.camst-su, .camst-giu) svg { width: calc(12 * var(--u)); }
	:is(.camst-su, .camst-giu) path { stroke-width: 1.5; }
	.camst-menu-bottone span { width: calc(24 * var(--u)); height: 1.5px; margin: -.75px 0 0 calc(-12 * var(--u)); }
	.camst-menu-bottone span:nth-child(1) { translate: 0 calc(-3.4 * var(--u)); }
	.camst-menu-bottone span:nth-child(3) { translate: 0 calc(3.4 * var(--u)); }
	html.camst-viva .camst-menu { padding: 0 calc(20 * var(--u)); }   /* tavola 27: le voci al centro dello schermo */
	.camst-menu__voce { font-size: calc(30 * var(--sm)); line-height: 1; }
	.camst-menu__voce + .camst-menu__voce { margin-top: calc(18 * var(--sm)); }
	.camst-menu__voce ul { margin: calc(12 * var(--sm)) 0 calc(-4 * var(--sm)); }
	.camst-menu__voce li { font-size: calc(18 * var(--sm)); line-height: 2.17; }
	.camst-legali { justify-content: center; font-size: 14px; }
}

/* IL TELEFONO A TAPPE: lo schermo vero, un capitolo sopra l'altro come il desktop */
@media (prefers-reduced-motion: no-preference) and (orientation: portrait) {
	html.camst-tappe :is(.camst-v3, .camst-cornice, .camst-cornice .camst-marchi) { --alto: 100svh; --sc: 0px; --v: var(--tel-v); }
	html.camst-tappe .camst-v3-mouse { bottom: calc(20 * var(--tel-v) - var(--aria)); padding: var(--aria) max(var(--aria), (44px - 18 * var(--tel-u)) / 2); }
	html.camst-tappe .camst-v3-mouse svg { width: calc(18 * var(--tel-u)); }
	/* le note legali: nelle tavole del telefono non c'è posto; arrivano alla fine, al posto del mouse */
	/* la fonte a destra della freccia «Vai ai Rapporti», sempre a 18 px: fra lei e il mouse resta lo spazio (misurato fino a 360 px di larghezza) */
	html.camst-tappe .camst-fonte:not(.camst-ia) { left: calc(31 * var(--u) + 18px); }
	html.camst-tappe .camst-legali { left: 0; right: 0; bottom: calc(20 * var(--tel-v) - 7px); justify-content: center; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
	html.camst-tappe.camst-fine .camst-legali { opacity: 1; visibility: visible; transition-delay: .4s, 0s; }
	/* l'avviso sull'IA: accanto al mouse non ci sta; arriva alla fine con le note legali, sopra di loro */
	html.camst-tappe .camst-cap--11 .camst-ia { bottom: calc(20 * var(--tel-v) + 32px); }
	html.camst-tappe:not(.camst-fine) .camst-cap--11 .camst-ia { opacity: 0; transition-delay: 0s; }
	html.camst-tappe.camst-fine .camst-cap--11 .camst-ia { transition-delay: .4s; }
	html.camst-tappe :is(.camst-cap--2, .camst-cap--5, .camst-cap--6, .camst-cap--8, .camst-cap--11, .camst-c7-schermo--b) { height: auto; }

	/* ---------- 2 — i due Rapporti ---------- */
	/* il velo dell'apertura resta: la foto aerea della tavola 2 lo tiene (al ritorno non c'è un lampo di foto chiara) */
	html.camst-c2-t1 .camst-cap--1 .camst-velo { opacity: 1; }
	html.camst-tappe .camst-cap--2 { visibility: hidden; --r-vis: calc(1.6s * var(--ritmo)); }
	html.camst-c2-t1 .camst-cap--2 { visibility: visible; --r-vis: calc(.35s * var(--ritmo)); }   /* dopo che i titoli dell'apertura sono sfumati */
	/* 2.1 la foto dell'apertura si rimpicciolisce nel riquadro della tavola 2 (dopo che i titoli sono sfumati) */
	html.camst-tappe .camst-c2-aerea { top: 0; left: 0; width: 100%; height: 100%;
		transition: top calc(1.2s * var(--ritmo)) var(--e-dolce), left calc(1.2s * var(--ritmo)) var(--e-dolce), width calc(1.2s * var(--ritmo)) var(--e-dolce), height calc(1.2s * var(--ritmo)) var(--e-dolce); }
	html.camst-c2-t1 .camst-c2-aerea { top: calc(var(--t) + 260 * var(--s)); left: calc(var(--o) + 25 * var(--s)); width: calc(352 * var(--s)); height: calc(260 * var(--s)); transition-delay: calc(.35s * var(--ritmo)); }
	html.camst-c2-t3 .camst-c2-aerea { top: calc(var(--t) + 178 * var(--s)); height: calc(342 * var(--s)); }
	html.camst-c2-t4 .camst-c2-aerea { visibility: hidden; }   /* coperta dalle foto dopo: non deve spuntare sotto la finestra degli amici */
	/* 2.2 il testo sale; 2.3 esce a sinistra */
	html.camst-tappe .camst-c2-intro > * { opacity: 0; translate: 0 calc(60 * var(--v)); transition: opacity calc(.5s * var(--ritmo)) linear, translate calc(1.05s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c2-t2 .camst-c2-intro > * { opacity: 1; translate: 0 0; transition-timing-function: linear, var(--e-entra); }
	html.camst-c2-t2 .camst-c2-intro > :nth-child(2) { transition-delay: calc(.08s * var(--ritmo)); }
	html.camst-c2-t2 .camst-c2-intro > :nth-child(3) { transition-delay: calc(.15s * var(--ritmo)); }
	html.camst-c2-t3 .camst-c2-intro > * { opacity: 0; translate: -50vw 0; transition: opacity calc(.4s * var(--ritmo)) linear, translate calc(.7s * var(--ritmo)) var(--e-entra); }   /* esce subito: la frase entra dopo */
	/* la finestra delle foto: cuoca e picnic (298, 342), poi gli amici (121, 442); le foto entrano da destra */
	html.camst-tappe .camst-c2-colonna { inset: auto 0 auto 0; top: calc(var(--t) + 178 * var(--s)); height: calc(342 * var(--s)); transition: top calc(1.6s * var(--ritmo)) var(--e-entra-r), height calc(1.6s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c2-t5 .camst-c2-colonna { top: calc(var(--t) + 1 * var(--s)); height: calc(442 * var(--s)); transition-timing-function: var(--e-entra); }
	html.camst-tappe .camst-v3 .camst-c2-foto { top: 0; height: 100%; clip-path: inset(0 0 0 100%); transition: clip-path calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c2-t3 .camst-v3 .camst-c2-foto--cuoca, html.camst-c2-t4 .camst-v3 .camst-c2-foto--picnic, html.camst-c2-t5 .camst-v3 .camst-c2-foto--amici { clip-path: inset(0); transition-timing-function: var(--e-entra); }
	html.camst-c2-t4 .camst-v3 .camst-c2-foto--picnic, html.camst-c2-t5 .camst-v3 .camst-c2-foto--amici { transition-duration: calc(1.6s * var(--ritmo)); }
	/* le frasi: entrano da destra, escono a sinistra */
	html.camst-tappe .camst-c2-frase { top: var(--t); translate: 100vw 0; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-tappe .camst-c2-frase--secondo { top: calc(var(--t) + 71 * var(--s)); }
	html.camst-c2-t3 .camst-c2-frase--primo, html.camst-c2-t4 .camst-c2-frase--secondo { translate: 0 0; transition-timing-function: var(--e-entra); }
	html.camst-c2-t3 .camst-c2-frase--primo { transition-delay: calc(.3s * var(--ritmo)); }
	html.camst-c2-t4 .camst-c2-frase--primo, html.camst-c2-t5 .camst-c2-frase--secondo { translate: -100vw 0; transition-duration: calc(1.6s * var(--ritmo)); transition-timing-function: var(--e-entra); }
	/* 2.6 il bottone sale dal fondo */
	html.camst-tappe .camst-c2-azione { top: calc(100% + 27 * var(--s)); }   /* dentro la finestra degli amici: 27 sotto la foto */
	html.camst-tappe .camst-c2-azione .camst-bottone { translate: 0 100svh; transition: translate calc(1.7s * var(--ritmo)) cubic-bezier(.4, 0, .68, .06), background-color .2s ease; }
	html.camst-c2-t6 .camst-c2-azione .camst-bottone { translate: 0 0; transition-timing-function: var(--e-entra), ease; }

	/* ---------- 3 — lo spazio e il cibo ---------- */
	/* 3.2 il titolo arriva enorme e si posa al centro dello schermo (tavola 6); 3.3 sale in cima, il pannello scende, la foto scende di 289 */
	html.camst-tappe .camst-c3-titolo {
		opacity: 0; scale: 14.3; translate: 0 calc(var(--alto) / 2 - var(--t) - 27 * var(--s));
		transition: opacity calc(.35s * var(--ritmo)) linear calc(1.25s * var(--ritmo)), scale calc(1.6s * var(--ritmo)) cubic-bezier(.7, 0, .84, 0), translate calc(1.2s * var(--ritmo)) var(--e-dolce);
	}
	html.camst-c3-t2 .camst-c3-titolo { opacity: 1; scale: 1; transition: opacity calc(.35s * var(--ritmo)) linear, scale calc(1.6s * var(--ritmo)) cubic-bezier(.16, 1, .3, 1), translate calc(1.2s * var(--ritmo)) var(--e-dolce); }
	html.camst-c3-t3 .camst-c3-titolo { translate: 0 0; }
	html.camst-tappe .camst-c3-pannello { translate: 0 -100%; transition: translate calc(1.2s * var(--ritmo)) var(--e-dolce); }
	html.camst-c3-t3 .camst-c3-pannello { translate: 0 0; }
	html.camst-tappe .camst-v3 .camst-c3-foto { translate: 0 0; transition: translate calc(1.2s * var(--ritmo)) var(--e-dolce); }
	html.camst-c3-t3 .camst-v3 .camst-c3-foto { translate: 0 calc(var(--t) + 187 * var(--s)); }
	html.camst-tappe :is(.camst-c3-domanda, .camst-c3-testo) { translate: 0 100svh; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c3-t4 .camst-c3-domanda, html.camst-c3-t5 .camst-c3-testo { translate: 0 0; transition-timing-function: var(--e-entra); }

	/* ---------- 4 — le pillole entrano dai lati, una riga per tappa ---------- */
	html.camst-tappe .camst-c4-riga .camst-pillola { transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-tappe .camst-c4-riga .camst-pillola--sinistra { translate: -100% 0; }
	html.camst-tappe .camst-c4-riga .camst-pillola--destra { translate: 100% 0; }
	html.camst-c4-t2 .camst-c4-riga--rosso .camst-pillola, html.camst-c4-t3 .camst-c4-riga--blu .camst-pillola,
	html.camst-c4-t4 .camst-c4-riga--arancio .camst-pillola { translate: 0 0; transition-timing-function: var(--e-entra); }

	/* ---------- 5, 6, 7a — N.2 pillole grandi dai lati, N.3 si rimpiccioliscono e salgono, N.4 il testo, N.5 il colore e i dati ---------- */
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a) .camst-coppia {
		--g: 1; --f: 1; --curva: var(--e-entra-r);
		transition-property: top, row-gap, font-size; transition-duration: calc(1.2s * var(--ritmo)); transition-timing-function: var(--e-dolce);
	}
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a) .camst-coppia > span {
		transition-property: height, translate; transition-duration: calc(1.2s * var(--ritmo)); transition-timing-function: var(--e-dolce), var(--curva); }
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a) .camst-coppia__a { translate: calc(-100% * var(--f)) 0; }
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a) .camst-coppia__b { translate: calc(100% * var(--f)) 0; }
	html.camst-c5-t2 .camst-cap--5 .camst-coppia, html.camst-c6-t2 .camst-cap--6 .camst-coppia, html.camst-c7-t2 .camst-c7-schermo--a .camst-coppia { --f: 0; --curva: var(--e-entra); }
	html.camst-c5-t3 .camst-cap--5 .camst-coppia, html.camst-c6-t3 .camst-cap--6 .camst-coppia, html.camst-c7-t3 .camst-c7-schermo--a .camst-coppia { --g: 0; }
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-c7-schermo--a, .camst-cap--8) .camst-blocco > * { translate: 0 100svh; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c5-t4 .camst-cap--5 .camst-blocco > *, html.camst-c6-t4 .camst-cap--6 .camst-blocco > *,
	html.camst-c7-t4 .camst-c7-schermo--a .camst-blocco > *, html.camst-c8-t4 .camst-cap--8 .camst-blocco > * { translate: 0 0; transition-timing-function: var(--e-entra); }
	html.camst-tappe .camst-blocco > :nth-child(2) { transition-delay: calc(.08s * var(--ritmo)); }
	html.camst-tappe .camst-blocco > :nth-child(3) { transition-delay: calc(.15s * var(--ritmo)); }
	/* N.5: il pannello del colore copre tutto da destra, poi i riquadri coi numeri (come il desktop; dal 10/11/2026 i numeri 0,1 s dopo
	   i riquadri invece di 0,45) */
	html.camst-tappe :is(.camst-cap--5, .camst-cap--6, .camst-cap--8, .camst-cap--11) .camst-cap-pannello { translate: 100% 0; transition: translate calc(1.2s * var(--ritmo)) var(--e-dolce); }
	html.camst-c5-t5 .camst-cap--5 .camst-cap-pannello, html.camst-c6-t5 .camst-cap--6 .camst-cap-pannello,
	html.camst-c8-t5 .camst-cap--8 .camst-cap-pannello, html.camst-c11-t5 .camst-cap--11 .camst-cap-pannello { translate: 0 0; }
	html.camst-tappe :is(.camst-c5-dati, .camst-c6-dati, .camst-c8-dati) .camst-dato {
		translate: 100vw 0; transition: translate calc(1.1s * var(--ritmo)) var(--e-entra-r); }
	html.camst-tappe :is(.camst-c5-dati, .camst-c6-dati, .camst-c8-dati) .camst-dato > * {
		opacity: 0; translate: calc(60 * var(--s)) 0; transition: opacity calc(.3s * var(--ritmo)) linear, translate calc(.4s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c5-t5 .camst-c5-dati .camst-dato, html.camst-c6-t5 .camst-c6-dati .camst-dato, html.camst-c8-t5 .camst-c8-dati .camst-dato {
		translate: 0 0; transition: translate calc(1.1s * var(--ritmo)) var(--e-entra) calc((.5s + var(--i, 0) * .12s) * var(--ritmo)); }
	html.camst-c5-t5 .camst-c5-dati .camst-dato > *, html.camst-c6-t5 .camst-c6-dati .camst-dato > *, html.camst-c8-t5 .camst-c8-dati .camst-dato > * {
		opacity: 1; translate: 0 0;
		transition: opacity calc(.5s * var(--ritmo)) linear calc((.6s + var(--i, 0) * .12s) * var(--ritmo)), translate calc(1s * var(--ritmo)) var(--e-entra) calc((.6s + var(--i, 0) * .12s) * var(--ritmo)); }
	html.camst-tappe .camst-dati .camst-dato--2 { --i: 1; }
	html.camst-tappe .camst-dati .camst-dato--3 { --i: 2; }

	/* ---------- 7 — dopo la ricetta: 7.5 l'arancio da destra con «In presenza»; 7.6 il fondo scuro e «In smart working» da destra,
	   «In presenza» esce a sinistra; 7.7 «In smart working» esce, i due dati grandi salgono ---------- */
	html.camst-tappe .camst-cap--7 .camst-c7-schermo { position: absolute; inset: 0; height: auto; }
	html.camst-tappe .camst-c7-schermo--a { z-index: 1; }
	html.camst-tappe .camst-c7-schermo--b { z-index: 2; translate: 100% 0; transition: translate calc(1.2s * var(--ritmo)) var(--e-dolce); }
	html.camst-tappe .camst-c7-schermo--c { z-index: 3; }
	html.camst-c7-t5 .camst-c7-schermo--b { translate: 0 0; }
	html.camst-tappe .camst-c7-schermo--b::before { translate: 100% 0; transition: translate calc(1.2s * var(--ritmo)) var(--e-dolce); }
	html.camst-c7-t6 .camst-c7-schermo--b::before { translate: 0 0; }
	html.camst-tappe .camst-c7-gruppo--presenza > * { translate: 30vw 0; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c7-t5 .camst-c7-gruppo--presenza > * { translate: 0 0; transition-timing-function: var(--e-entra); transition-delay: calc(.2s * var(--ritmo)); }
	html.camst-c7-t5 .camst-c7-gruppo--presenza > :nth-child(3) { transition-delay: calc(.3s * var(--ritmo)); }
	html.camst-c7-t6 .camst-c7-gruppo--presenza > * { translate: -100vw 0; transition-duration: calc(.9s * var(--ritmo)); transition-delay: 0s; }   /* esce subito */
	html.camst-tappe .camst-c7-gruppo--smart > * { translate: 100vw 0; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c7-t6 .camst-c7-gruppo--smart > * { translate: 0 0; transition-timing-function: var(--e-entra); transition-delay: calc(.45s * var(--ritmo)); }
	html.camst-c7-t6 .camst-c7-gruppo--smart > :nth-child(3) { transition-delay: calc(.55s * var(--ritmo)); }
	html.camst-c7-t7 .camst-c7-gruppo--smart > * { translate: -100vw 0; transition-duration: calc(.9s * var(--ritmo)); transition-delay: 0s; }   /* esce subito */
	html.camst-tappe .camst-c7-schermo--c { visibility: hidden; opacity: 0; transition: opacity calc(.35s * var(--ritmo)) linear, visibility 0s linear calc(.35s * var(--ritmo)); }
	html.camst-c7-t7 .camst-c7-schermo--c { visibility: visible; opacity: 1; transition: opacity calc(.35s * var(--ritmo)) linear calc(.6s * var(--ritmo)), visibility 0s; }
	html.camst-tappe .camst-c7-schermo--c .camst-dato { translate: 0 100svh; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c7-t7 .camst-c7-schermo--c .camst-dato { translate: 0 0; transition: translate calc(1.1s * var(--ritmo)) var(--e-entra) calc(.6s * var(--ritmo)); }
	html.camst-c7-t7 .camst-c7-schermo--c .camst-dato--2 { transition-delay: calc(.7s * var(--ritmo)); }

	/* ---------- 8 — 8.2 il titolo grande (51, a y 320: tavola 20) sale dal fondo; 8.3 si rimpicciolisce e sale (40, a y 178) ---------- */
	html.camst-tappe .camst-c8-titolo {
		--g: 1; transform-origin: 0 0;
		translate: 0 calc(142 * var(--s) * var(--g) + 100svh); scale: calc(1 + .275 * var(--g));
		transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r), scale calc(1.2s * var(--ritmo)) var(--e-dolce);
	}
	html.camst-c8-t2 .camst-c8-titolo { translate: 0 calc(142 * var(--s) * var(--g)); transition-timing-function: var(--e-entra), var(--e-dolce); }
	html.camst-c8-t3 .camst-c8-titolo { --g: 0; transition: translate calc(1.2s * var(--ritmo)) var(--e-dolce), scale calc(1.2s * var(--ritmo)) var(--e-dolce); }

	/* ---------- 9 — 9.2 il titolo, 9.3 i riquadri da destra con le percentuali, 9.4 le etichette ---------- */
	html.camst-tappe .camst-c9-titolo { opacity: 0; translate: 0 calc(40 * var(--v)); transition: opacity calc(.5s * var(--ritmo)) linear, translate calc(.8s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c9-t2 .camst-c9-titolo { opacity: 1; translate: 0 0; transition-timing-function: linear, var(--e-entra); }
	html.camst-tappe .camst-c9-scheda { translate: 100vw 0; transition: translate calc(1.1s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c9-t3 .camst-c9-scheda { translate: 0 0; transition: translate calc(1.1s * var(--ritmo)) var(--e-entra) calc(var(--i, 0) * .1s * var(--ritmo)); }
	html.camst-tappe .camst-c9-etichetta { opacity: 0; transition: opacity calc(.3s * var(--ritmo)) linear; }
	html.camst-c9-t4 .camst-c9-etichetta { opacity: 1; transition: opacity calc(.6s * var(--ritmo)) linear calc(var(--i, 0) * .08s * var(--ritmo)); }
	html.camst-tappe .camst-c9-scheda:nth-child(2) { --i: 1; } html.camst-tappe .camst-c9-scheda:nth-child(3) { --i: 2; }
	html.camst-tappe .camst-c9-scheda:nth-child(4) { --i: 3; } html.camst-tappe .camst-c9-scheda:nth-child(5) { --i: 4; }

	/* ---------- 10 — 10.2 titolo e sottotitolo; 10.3 le barre da sinistra una dopo l'altra, con numeri ed etichette ---------- */
	html.camst-tappe .camst-c10-testata { opacity: 0; translate: 0 calc(40 * var(--v)); transition: opacity calc(.5s * var(--ritmo)) linear, translate calc(.8s * var(--ritmo)) var(--e-entra-r); }
	html.camst-c10-t2 .camst-c10-testata { opacity: 1; translate: 0 0; transition-timing-function: linear, var(--e-entra); }
	html.camst-tappe .camst-c10-barra { translate: -100% 0; transition: translate calc(1s * var(--ritmo)) var(--e-entra-r); }
	html.camst-tappe .camst-c10-barra > * { opacity: 0; transition: opacity calc(.3s * var(--ritmo)) linear; }
	html.camst-c10-t3 .camst-c10-barra { translate: 0 0; transition: translate calc(1.1s * var(--ritmo)) var(--e-entra) calc(var(--i, 0) * .2s * var(--ritmo)); }
	html.camst-c10-t3 .camst-c10-barra > * { opacity: 1; transition: opacity calc(.5s * var(--ritmo)) linear calc((.2s + var(--i, 0) * .2s) * var(--ritmo)); }
	html.camst-tappe .camst-c10-barra--2 { --i: 1; } html.camst-tappe .camst-c10-barra--3 { --i: 2; }
	html.camst-tappe .camst-c10-barra--4 { --i: 3; } html.camst-tappe .camst-c10-barra--5 { --i: 4; }

	/* ---------- 11 — 11.2 il titolo, 11.3 il primo bottone, 11.4 «Sintesi», testo e secondo bottone (dal fondo); 11.5 il blu da
	   destra; 11.6 la colonna 2025 da destra ---------- */
	html.camst-tappe .camst-c11-colonna--2026 > * { translate: 0 100svh; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r), background-color .2s ease; }
	html.camst-c11-t2 .camst-c11-colonna--2026 > .camst-c11-titolo,
	html.camst-c11-t3 .camst-c11-colonna--2026 > :nth-child(2),
	html.camst-c11-t4 .camst-c11-colonna--2026 > :nth-child(n+3) { translate: 0 0; transition-timing-function: var(--e-entra), ease; }
	html.camst-c11-t4 .camst-c11-colonna--2026 > :nth-child(4) { transition-delay: calc(.1s * var(--ritmo)), 0s; }
	html.camst-c11-t4 .camst-c11-colonna--2026 > :nth-child(5) { transition-delay: calc(.2s * var(--ritmo)), 0s; }
	html.camst-tappe .camst-c11-colonna--2025 { visibility: hidden; transition: visibility 0s linear calc(1.2s * var(--ritmo)); }
	html.camst-tappe .camst-c11-colonna--2025 > * { translate: 100vw 0; transition: translate calc(1.2s * var(--ritmo)) var(--e-entra-r), background-color .2s ease; }
	html.camst-c11-t6 .camst-c11-colonna--2025 { visibility: visible; transition-delay: 0s; }
	html.camst-c11-t6 .camst-c11-colonna--2025 > * { translate: 0 0; transition-timing-function: var(--e-entra), ease; }
	html.camst-c11-t6 .camst-c11-colonna--2025 > :nth-child(2) { transition-delay: calc(.12s * var(--ritmo)), 0s; }
	html.camst-c11-t6 .camst-c11-colonna--2025 > :nth-child(3) { transition-delay: calc(.24s * var(--ritmo)), 0s; }
	html.camst-c11-t6 .camst-c11-colonna--2025 > :nth-child(4) { transition-delay: calc(.36s * var(--ritmo)), 0s; }
}
