/* Metodo Levriero · la landing di metodolevriero.com
   Nata da quella di Giulio Raselli FX (stessi colori, stesso lettore, stessa chat), ma da pista: titoli Anton
   maiuscoli e inclinati, scie, il levriero che corre, le gabbie di partenza. Telefono prima: centrato, schede due a due. */

/* 0 · Font (caricati dal sito, niente Google) */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url(font/anton-400.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(font/figtree-400-800.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(font/ibm-plex-mono-600.woff2) format('woff2'); }

/* 1 · Variabili */
:root {
  --arancio: #FF5B14;
  --arancio-chiaro: #FF8D52;
  --arancio-tenue: #FFE4D6;
  --inchiostro: #16120F;
  --inchiostro-2: #221C18;
  --carta: #F6F4F1;
  --bianco: #FFFFFF;
  --grigio: #6B6560;
  --grigio-scuro: #A69E97;
  --linea: #E4DFDA;
  --candela-su: #18B26B;
  --candela-giu: #E5484D;
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --testo: 'Figtree', 'Segoe UI', Arial, sans-serif;
  --mono: 'IBM Plex Mono', Consolas, 'Courier New', monospace;
  --raggio: 22px;
  --molla: cubic-bezier(.2, .9, .25, 1.15);
  --dolce: cubic-bezier(.22, 1, .36, 1);
  --inclina: -7deg;
  color-scheme: light;
  font-synthesis: none;
}

/* 2 · Base: su Safari (iOS 26) le barre prendono il fondo del body, quindi body e html scuri e la carta su main */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--inchiostro); }
main { display: block; background: var(--carta); }
body { margin: 0; background: var(--inchiostro); color: var(--inchiostro); font-family: var(--testo); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
/* immagini e video non si trascinano e non si salvano (Zago, 2026-10-10): niente trascinamento, niente pressione lunga
   sul telefono (il menu "Salva immagine"); il tasto destro lo blocca main.js */
img, video, .storico-schermo, .vsl { -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
a { color: inherit; }
b, strong { font-weight: 700; }
.salta { position: absolute; left: -9999px; top: 8px; background: var(--inchiostro); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 50; }
.salta:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--inchiostro); outline-offset: 3px; }
.scura :focus-visible, .hero :focus-visible, .piede :focus-visible, .barra-fissa :focus-visible { outline-color: var(--bianco); }
.contenitore { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.contenitore.stretto { max-width: 760px; }
/* il levriero: una maschera, prende il colore del testo */
.cane { display: block; background: currentColor; -webkit-mask: url(img/levriero.svg) center / contain no-repeat; mask: url(img/levriero.svg) center / contain no-repeat; aspect-ratio: 1000 / 355; }

/* 3 · Elementi comuni */
.sezione { position: relative; padding-block: 84px; overflow: hidden; }
.sezione.chiara { background: var(--carta); }
.sezione.scura { background: var(--inchiostro); color: var(--bianco); }
.sezione.arancio { background: var(--arancio); color: var(--inchiostro); }
.occhiello { font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--arancio); margin: 0 0 14px; text-align: center; }
.chiara .occhiello { color: #C2410C; }
.arancio .occhiello { color: var(--inchiostro); }
.titolo { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 8.4vw, 76px); line-height: 1; letter-spacing: .005em; text-transform: uppercase; margin: 0 auto 22px; text-align: center; max-width: 18ch; text-wrap: balance; }
.titolo.grande { font-size: clamp(44px, 9.6vw, 92px); }
.titolo.enorme { font-size: clamp(64px, 17vw, 170px); max-width: none; line-height: .92; }
.titolo em { font-style: normal; color: var(--arancio); display: inline-block; transform: skewX(var(--inclina)); }
.arancio .titolo em, .titolo .scuro { color: var(--bianco); }
.arancio .titolo .scuro { color: var(--bianco); }
.sottotitolo { font-size: clamp(17px, 2.1vw, 20px); line-height: 1.55; max-width: 60ch; margin: 0 auto 36px; text-align: center; text-wrap: pretty; }
.scura .sottotitolo { color: #E8E2DC; }
.scura .sottotitolo b { color: var(--bianco); }

/* bottoni (quelli di Giulio, col testo in Anton) */
.bottone { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 62px; padding: 0 34px; border-radius: 999px; font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; position: relative; isolation: isolate; transition: transform .25s var(--molla), box-shadow .25s; }
.bottone::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid currentColor; opacity: 0; z-index: -1; animation: anello 2.4s ease-out infinite; }
.bottone:hover { transform: translateY(-2px) scale(1.02); }
.bottone:active { transform: scale(.98); }
.bottone-scuro { background: var(--inchiostro); color: var(--bianco); box-shadow: 0 10px 0 rgba(22, 18, 15, .22), 0 18px 40px rgba(22, 18, 15, .25); }
.bottone-scuro::after { border-color: var(--inchiostro); }
.bottone-arancio { background: var(--arancio); color: var(--inchiostro); box-shadow: 0 10px 30px rgba(255, 91, 20, .4); }
.bottone-arancio::after { border-color: var(--arancio); }
.bottone-icona { width: 26px; height: 26px; display: inline-grid; place-items: center; }
.bottone-icona svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes anello { 0% { opacity: .55; transform: scale(.94); } 70%, 100% { opacity: 0; transform: scale(1.12); } }
.bottone-nota { margin: 12px 0 0; font-size: 16px; font-weight: 700; }
.bottone-cta { min-height: 78px; padding: 10px 28px 10px 12px; gap: 14px; text-align: left; animation: richiamo 4s ease-in-out infinite; }
.bottone-cta .bottone-icona { width: 54px; height: 54px; border-radius: 50%; padding: 13px; flex: 0 0 auto; }
.bottone-scuro.bottone-cta .bottone-icona { background: var(--arancio); color: var(--inchiostro); }
.bottone-arancio.bottone-cta .bottone-icona { background: var(--inchiostro); color: var(--arancio); }
.bottone-testi { display: flex; flex-direction: column; line-height: 1; }
.bottone-t1 { font-size: 30px; letter-spacing: .04em; }
.bottone-t2 { font-family: var(--testo); font-weight: 700; font-size: 13.5px; letter-spacing: 0; text-transform: none; margin-top: 4px; }
.bottone-scuro .bottone-t2 { color: var(--arancio); }
.bottone-freccia { width: 26px; height: 26px; margin-left: 2px; flex: 0 0 auto; animation: spinge 1.5s ease-in-out infinite; }
.bottone-freccia svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bottone-luce { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.bottone-luce::before { content: ""; position: absolute; top: -30%; bottom: -30%; left: -50%; width: 36%; background: linear-gradient(105deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0)); transform: skewX(-18deg); animation: luce 3.6s ease-in-out infinite; }
.bottone-cta > :not(.bottone-luce) { position: relative; }
@keyframes spinge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes luce { 0%, 50% { left: -50%; } 80%, 100% { left: 120%; } }
@keyframes richiamo { 0%, 84%, 100% { scale: 1; } 89% { scale: 1.06; } 94% { scale: .985; } }
@media (max-width: 520px) {
  .bottone-cta { width: 100%; max-width: 380px; justify-content: flex-start; padding-right: 22px; }
  .bottone-freccia { margin-left: auto; }
}

/* comparsa allo scorrimento: solo se il JS c'e', cosi' senza JS si vede tutto */
.js .rivela { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--dolce), transform .8s var(--dolce); transition-delay: calc(var(--i, 0) * 110ms); }
.js .rivela.visto { opacity: 1; transform: none; }

/* 4 · Premessa: la striscia in alto, arancio come il nastro, in Anton, col levriero che ci sfreccia sopra
   (Zago, 2026-10-10: "rendila più scattante e in linea con la landing anche graficamente") */
.premessa { position: relative; overflow: hidden; background: var(--arancio); color: var(--inchiostro); display: flex; justify-content: center; align-items: center; min-height: 46px; padding: 8px 14px; text-align: center;
  font-family: var(--display); font-size: clamp(13px, 3.85vw, 20px); line-height: 1.1; letter-spacing: .025em; text-transform: uppercase; border-bottom: 3px solid var(--inchiostro); }
.premessa p { margin: 0; white-space: nowrap; position: relative; z-index: 1; animation: scatta-dentro .55s cubic-bezier(.2, 1.3, .3, 1) .1s both; }
.premessa em { font-style: normal; }
.premessa span { color: var(--bianco); display: inline-block; transform: skewX(var(--inclina)); }
.premessa-lunga { display: none; }
.premessa .premessa-chi { display: inline-block; margin-right: 8px; padding: 3px 9px 2px; border-radius: 6px; background: var(--inchiostro); color: var(--arancio); font-weight: 400; transform: skewX(var(--inclina)); }
.premessa-cane { position: absolute; left: 0; top: 50%; width: 64px; margin-top: -12px; color: var(--inchiostro); opacity: 0; z-index: 0; animation: sfreccia-striscia 7s linear 1.2s infinite; transform: translateX(-160px); }
.premessa-cane::before { content: ""; position: absolute; right: 96%; top: 40%; width: 60px; height: 3px; border-radius: 99px; background: var(--inchiostro); box-shadow: 14px 9px 0 var(--inchiostro); opacity: .6; }
@keyframes sfreccia-striscia { 0% { transform: translateX(-160px); opacity: .9; } 16% { transform: translateX(calc(100vw + 200px)); opacity: .9; } 16.1%, 100% { transform: translateX(-160px); opacity: 0; } }
@keyframes scatta-dentro { from { opacity: 0; transform: translateX(-30px) skewX(-14deg); } to { opacity: 1; transform: none; } }
@media (min-width: 700px) { .premessa-lunga { display: inline; } }

/* 5 · Hero: scuro, da pista */
.hero { position: relative; background: radial-gradient(120% 70% at 50% 0%, #2A1D15 0%, var(--inchiostro) 60%); color: var(--bianco); padding-block: 22px 52px; overflow: hidden; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, transparent 0 86px, rgba(255, 255, 255, .05) 86px 88px); }
.hero-scie { position: absolute; inset: 0; pointer-events: none; }
.hero-scie i { position: absolute; right: -40%; height: 3px; width: 34%; border-radius: 99px; background: linear-gradient(90deg, rgba(255, 91, 20, 0), rgba(255, 91, 20, .55)); animation: scia 2.6s linear infinite; }
.hero-scie i:nth-child(1) { top: 12%; animation-delay: -.4s; } .hero-scie i:nth-child(2) { top: 26%; width: 22%; animation-delay: -1.7s; animation-duration: 2.1s; }
.hero-scie i:nth-child(3) { top: 47%; width: 28%; animation-delay: -1s; } .hero-scie i:nth-child(4) { top: 63%; width: 18%; animation-delay: -2.2s; animation-duration: 1.9s; }
.hero-scie i:nth-child(5) { top: 78%; width: 30%; animation-delay: -.2s; animation-duration: 2.9s; } .hero-scie i:nth-child(6) { top: 90%; width: 20%; animation-delay: -1.3s; }
@keyframes scia { from { transform: translateX(0); } to { transform: translateX(-420%); } }
.hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 124px; height: auto; margin: 0 0 12px; animation: sale .8s var(--dolce) both; }
.hero-titolo { font-family: var(--display); font-weight: 400; text-transform: uppercase; margin: 0 0 14px; line-height: .98; letter-spacing: .005em; }
.hero-titolo .riga { display: block; animation: entra .9s var(--molla) both; }
/* sul telefono: "I soldi non si portano a passeggio." su due righe e "Si fanno correre." su una (Zago, 2026-10-10: "troppo grande") */
.riga-1 { font-size: clamp(25px, 8vw, 70px); max-width: none; margin: 0 auto; text-wrap: balance; animation-delay: .15s !important; }
.riga-2 { position: relative; font-size: clamp(38px, 12.2vw, 118px); color: var(--arancio); margin-top: 4px; white-space: nowrap; animation: none !important; }
/* il levriero attraversa la riga e la scritta compare dietro di lui */
.riga-2 .corsa { clip-path: inset(-10% 100% -10% 0); animation: svela .62s linear .78s forwards; }
@keyframes svela { to { clip-path: inset(-10% -4% -10% 0); } }
.sfreccia { position: absolute; left: 50%; top: 50%; width: .95em; margin: -.2em 0 0 -.5em; color: var(--bianco); transform: translateX(-62vw); opacity: 0; animation: sfreccia 1.1s cubic-bezier(.45, .1, .55, .9) .55s forwards; pointer-events: none; }
.sfreccia::before { content: ""; position: absolute; right: 92%; top: 30%; width: 1.4em; height: .05em; border-radius: 99px; background: var(--arancio); box-shadow: -.25em .16em 0 var(--arancio), .1em .32em 0 var(--arancio); }
@keyframes sfreccia { 0% { transform: translateX(-62vw); opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(62vw); opacity: 0; } }
.corsa { display: inline-block; position: relative; transform: skewX(var(--inclina)); }
.corsa::before { content: ""; position: absolute; right: 100%; top: 28%; width: .9em; height: .06em; margin-right: .12em; border-radius: 99px; background: var(--arancio); box-shadow: -.18em .2em 0 -.005em var(--arancio), .05em .4em 0 0 var(--arancio); opacity: .9; transform-origin: right; animation: scatto 1.2s var(--dolce) 1s both; }
@media (max-width: 767px) { .corsa::before { display: none; } }
@keyframes scatto { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: .9; } }
@keyframes entra { from { opacity: 0; transform: translateX(-40px) skewX(-12deg); } to { opacity: 1; transform: none; } }
@keyframes sale { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-desc { font-size: clamp(17px, 2.2vw, 21px); font-weight: 600; line-height: 1.45; max-width: 34ch; margin: 0 0 22px; color: #EDE7E1; animation: sale .9s var(--dolce) .6s both; }
.hero-desc b { white-space: nowrap; background: var(--arancio); color: var(--inchiostro); padding: 0 6px; border-radius: 6px; }

/* VSL: la copertina e' una pista col levriero che corre sul posto, finche' il video non c'e' */
.vsl { position: relative; width: 100%; max-width: 760px; aspect-ratio: 16 / 9; border-radius: 20px; background: var(--inchiostro-2); box-shadow: 0 0 0 3px var(--arancio), 0 24px 60px rgba(0, 0, 0, .5); overflow: hidden; animation: sale 1s var(--dolce) .75s both; }
.vsl-copertina { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; overflow: hidden; background: radial-gradient(circle at 70% 60%, rgba(255, 91, 20, .35), transparent 55%), #1B1511; }
.vsl-copertina:focus-visible { outline: 3px solid var(--arancio); outline-offset: -7px; border-radius: 20px; }
.vsl-pista { position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(#2A201A, #120E0B); }
.vsl-pista i { position: absolute; left: 0; width: 200%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 30px, transparent 30px 60px); animation: corsia .6s linear infinite; }
.vsl-pista i:nth-child(1) { top: 0; height: 3px; background: rgba(255, 91, 20, .7); animation: none; width: 100%; }
.vsl-pista i:nth-child(2) { top: 30%; } .vsl-pista i:nth-child(3) { top: 60%; } .vsl-pista i:nth-child(4) { top: 88%; }
@keyframes corsia { to { transform: translateX(-60px); } }
.vsl-cane { position: absolute; right: 7%; bottom: 30%; width: 46%; color: var(--arancio); animation: galoppo .42s ease-in-out infinite alternate; }
.vsl-cane::before { content: ""; position: absolute; right: 96%; top: 30%; width: 50%; height: 3px; border-radius: 99px; background: var(--arancio); box-shadow: 10px 16px 0 var(--arancio), -14px 34px 0 var(--arancio); opacity: .8; animation: scie-cane .5s linear infinite; }
@keyframes galoppo { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-6%) rotate(1.5deg); } }
@keyframes scie-cane { 0% { transform: translateX(10%); opacity: .2; } 50% { opacity: .9; } 100% { transform: translateX(-30%); opacity: 0; } }
.vsl.in-arrivo .vsl-play { animation: none; }
.vsl.in-arrivo .vsl-chip i { animation: none; opacity: .5; }
.vsl-chip { position: absolute; left: 4%; top: 7%; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-weight: 600; font-size: clamp(10px, 1.6vw, 13px); letter-spacing: .1em; text-transform: uppercase; color: var(--bianco); background: rgba(255, 255, 255, .12); padding: 6px 12px; border-radius: 99px; }
.vsl-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--arancio); animation: lampeggia 1.2s infinite; }
@keyframes lampeggia { 50% { opacity: .25; } }
.vsl-play { position: absolute; left: 22%; top: 46%; width: clamp(60px, 13vw, 96px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--arancio); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255, 91, 20, .6); animation: pulsa 1.8s infinite; transition: transform .3s var(--molla); }
.vsl-play svg { width: 42%; fill: var(--inchiostro); margin-left: 6%; }
.vsl-copertina:hover .vsl-play { transform: translate(-50%, -50%) scale(1.1); }
@keyframes pulsa { 0% { box-shadow: 0 0 0 0 rgba(255, 91, 20, .6); } 70% { box-shadow: 0 0 0 24px rgba(255, 91, 20, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 91, 20, 0); } }
.vsl-sottotitolo { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); white-space: nowrap; font-weight: 700; font-size: clamp(12px, 2.3vw, 19px); color: var(--bianco); background: rgba(22, 18, 15, .82); padding: 4px 12px; border-radius: 8px; }
.vsl-avviso:empty { display: none; }
.vsl-avviso { position: absolute; inset: auto 0 0 0; margin: 0; padding: 10px; background: var(--arancio); color: var(--inchiostro); font-weight: 700; font-size: 15px; z-index: 6; }
.vsl iframe, .vsl video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsl-sotto { margin: 20px 0 14px; font-size: 17px; font-weight: 700; color: #EDE7E1; }
.vsl-sotto b { color: var(--arancio); }
.hero .bottone-nota { color: #EDE7E1; }

/* il lettore della VSL, come VTurb (uguale a Giulio) */
.vsl.lettore { cursor: default; }
.vsl-video { object-fit: cover; background: var(--inchiostro); }
.vsl-audio { all: unset; position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; cursor: pointer; background: rgba(22, 18, 15, .22); -webkit-tap-highlight-color: transparent; }
.vsl-audio-box { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: clamp(12px, 2.6vw, 20px) clamp(18px, 4vw, 32px); border-radius: 18px; background: var(--arancio); color: var(--inchiostro); text-align: center; box-shadow: 0 0 0 4px var(--inchiostro), 0 18px 44px rgba(22, 18, 15, .5); animation: invita 1.4s ease-in-out infinite; }
.vsl-audio-box svg { width: clamp(34px, 6vw, 50px); height: auto; margin-bottom: 2px; }
.vsl-audio-box svg .onda { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; animation: onde 1.4s ease-in-out infinite; }
.vsl-audio-box svg .o2 { animation-delay: .2s; }
.vsl-audio-box b { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 3.4vw, 28px); line-height: 1.05; text-transform: uppercase; }
.vsl-audio-box span { font-weight: 700; font-size: clamp(13px, 2.2vw, 17px); }
@keyframes invita { 50% { transform: scale(1.05); } }
@keyframes onde { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.vsl-pausa { all: unset; position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vsl-pausa i { width: clamp(64px, 13vw, 96px); aspect-ratio: 1; border-radius: 50%; background: var(--arancio); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: opacity .2s, transform .25s var(--molla); }
.vsl-pausa svg { width: 42%; fill: var(--inchiostro); margin-left: 6%; }
.vsl.in-pausa .vsl-pausa i { opacity: 1; transform: none; }
.vsl-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 3; background: rgba(255, 255, 255, .2); transition: opacity .3s; }
.vsl-barra i { display: block; height: 100%; width: 0; background: var(--arancio); }
.vsl.muto .vsl-barra { opacity: 0; }
.vsl-fine { position: absolute; inset: 0; z-index: 5; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(22, 18, 15, .84); }
.vsl.finito .vsl-fine { display: flex; }
.vsl-rivedi { all: unset; cursor: pointer; color: var(--bianco); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }

/* 6 · Nastro: arancio, inclinato, col levriero fra le parole. La sezione sopra si allunga sotto la fascia (padding in
   piu' e margine negativo della fascia): inclinata, scopriva lo sfondo chiaro di main a un lato (Zago, 2026-10-10) */
.hero { padding-bottom: 86px; }
.sezione.guinzaglio-sez { padding-bottom: 124px; }
@media (min-width: 768px) { .sezione.guinzaglio-sez { padding-bottom: 156px; } }
.nastro { background: var(--arancio); color: var(--inchiostro); overflow: hidden; padding: 14px 0; transform: skewY(-1.6deg); margin-top: -34px; margin-bottom: -10px; position: relative; z-index: 2; box-shadow: 0 6px 0 var(--inchiostro); }
.nastro-scorre { display: flex; align-items: center; gap: 22px; padding-right: 22px; width: max-content; animation: nastro 24s linear infinite; font-family: var(--display); font-size: 26px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.nastro-scorre .cane { width: 54px; color: var(--inchiostro); }
@keyframes nastro { to { transform: translateX(-50%); } }

/* 7 · Soldi a cuccia */
.due { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 34px; }
.carta-grande { background: var(--bianco); border-radius: var(--raggio); padding: 14px 12px 18px; text-align: center; box-shadow: 0 1px 0 var(--linea); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.carta-grande h3 { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.05; text-transform: uppercase; margin: 8px 0 0; }
.carta-grande p { margin: 0; font-size: 14.5px; color: var(--grigio); line-height: 1.4; text-wrap: balance; }
.scena { position: relative; width: 100%; height: 120px; border-radius: 16px; background: var(--arancio-tenue); display: grid; place-items: center; overflow: hidden; }
.scena-cuccia svg { width: 120px; height: 84px; }
.scena-cuccia .casetta { fill: var(--inchiostro); }
.scena-cuccia .porta { fill: #3B2F28; }
.scena-cuccia .salvadanaio ellipse { fill: var(--arancio); }
.scena-cuccia .salvadanaio circle { fill: var(--inchiostro); }
.scena-cuccia .salvadanaio rect { fill: var(--inchiostro); }
.visto .scena-cuccia .salvadanaio { animation: respira 2.4s ease-in-out infinite; transform-origin: 80px 100px; }
@keyframes respira { 50% { transform: scale(1.05, .95); } }
.zzz { position: absolute; left: 62%; top: 12%; font-family: var(--display); color: var(--inchiostro); }
.zzz i { position: absolute; font-style: normal; opacity: 0; font-size: 18px; animation: zzz 3s ease-in infinite; }
.zzz i:nth-child(2) { animation-delay: 1s; font-size: 22px; } .zzz i:nth-child(3) { animation-delay: 2s; font-size: 26px; }
@keyframes zzz { 0% { opacity: 0; transform: translate(0, 18px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(26px, -20px); } }
.scena-grafici { grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
.schermo { width: 100%; aspect-ratio: 16 / 11; border-radius: 8px; background: var(--inchiostro); border: 2px solid #3A312B; display: flex; align-items: center; justify-content: space-around; padding: 6px; overflow: hidden; }
.schermo i { width: 10%; height: 34%; border-radius: 2px; background: var(--candela-su); animation: impazzisce 1.1s ease-in-out infinite alternate; }
.schermo i:nth-child(even) { background: var(--candela-giu); animation-duration: .8s; }
.schermo i:nth-child(3n) { animation-duration: 1.4s; }
.schermo + .schermo i { animation-delay: -.5s; }
@keyframes impazzisce { 0% { transform: translateY(-40%) scaleY(.6); } 100% { transform: translateY(45%) scaleY(1.5); } }
.orologio { position: absolute; right: 8px; top: 8px; width: 38px; height: 38px; border-radius: 50%; background: var(--arancio); border: 3px solid var(--inchiostro); }
.orologio span { position: absolute; left: 50%; top: 50%; width: 3px; height: 11px; background: var(--inchiostro); border-radius: 2px; transform-origin: 50% 0; transform: translateX(-50%) rotate(180deg); }
.orologio .lancetta { height: 13px; animation: gira 1.2s linear infinite; }
@keyframes gira { from { transform: translateX(-50%) rotate(0); } to { transform: translateX(-50%) rotate(360deg); } }
.sentenza { font-family: var(--display); font-size: clamp(30px, 6vw, 56px); line-height: 1.04; text-transform: uppercase; text-align: center; max-width: 20ch; margin: 0 auto; text-wrap: balance; }
.sentenza em { font-style: normal; color: var(--arancio); display: inline-block; transform: skewX(var(--inclina)); }

/* 8 · Il levriero: la pista con la lepre e il levriero che la insegue */
.levriero-sez { padding-bottom: 96px; }
.pista { position: relative; height: 150px; margin: 10px 0 30px; background: linear-gradient(#211913, #120E0B); border-block: 3px solid var(--arancio); overflow: hidden; }
.corsia i { position: absolute; left: 0; width: 200%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 40px, transparent 40px 80px); animation: corsia-lunga 1s linear infinite; }
.corsia i:nth-child(1) { top: 33%; } .corsia i:nth-child(2) { top: 66%; } .corsia i:nth-child(3) { top: 92%; animation-duration: .8s; }
@keyframes corsia-lunga { to { transform: translateX(-80px); } }
.corridori { position: absolute; inset: 0; animation: insegue 5s linear infinite; }
.lepre { position: absolute; left: 0; bottom: 30%; width: 64px; fill: var(--bianco); animation: saltella .3s ease-in-out infinite alternate; }
.levriero { position: absolute; left: 0; bottom: 14%; width: 230px; color: var(--arancio); }
.levriero .cane { width: 100%; animation: galoppo .38s ease-in-out infinite alternate; }
.levriero .scie i { position: absolute; right: 92%; height: 3px; border-radius: 99px; background: linear-gradient(90deg, rgba(255, 91, 20, 0), var(--arancio)); animation: scie-cane .45s linear infinite; }
.levriero .scie i:nth-child(1) { top: 18%; width: 70px; } .levriero .scie i:nth-child(2) { top: 42%; width: 110px; animation-delay: -.2s; } .levriero .scie i:nth-child(3) { top: 70%; width: 60px; animation-delay: -.1s; }
/* la lepre davanti, il levriero dietro che guadagna: tutti e due attraversano la pista */
@keyframes insegue { from { transform: translateX(-300px); } to { transform: translateX(calc(100vw + 60px)); } }
.lepre { left: 250px; }
@keyframes saltella { from { translate: 0 0; } to { translate: 0 -8px; } }
.tre-no { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tre-no li { font-family: var(--display); font-size: clamp(22px, 4.6vw, 36px); text-transform: uppercase; line-height: 1; padding: 10px 16px 9px; border: 2px solid rgba(255, 255, 255, .25); border-radius: 12px; transform: skewX(var(--inclina)); }
.timbro { display: block; width: max-content; margin: 0 auto 28px; font-family: var(--display); font-size: clamp(54px, 13vw, 120px); line-height: 1; text-transform: uppercase; color: var(--inchiostro); background: var(--arancio); padding: 6px 30px 4px; border-radius: 14px; }
.js .timbro.rivela { transform: scale(1.8) rotate(-8deg); }
.js .timbro.rivela.visto { transform: rotate(-3deg) skewX(var(--inclina)); transition-timing-function: var(--molla); transition-delay: .7s; }
/* come vede la lepre: l'AI con le tre cose insieme, tre schede scure col numero arancio */
.ai-blocco { margin: 0 auto 34px; max-width: 980px; }
.ai-domanda { font-family: var(--display); font-size: clamp(30px, 6vw, 48px); line-height: 1; text-transform: uppercase; text-align: center; margin: 0 0 18px; color: var(--arancio); transform: skewX(var(--inclina)); }
.ai-tre { display: grid; gap: 10px; counter-reset: ai; }
.ai-pezzo { position: relative; background: var(--inchiostro-2); border-radius: 18px; padding: 16px 18px 16px 64px; text-align: left; border: 1px solid rgba(255, 91, 20, .25); }
.ai-pezzo::before { counter-increment: ai; content: counter(ai); position: absolute; left: 16px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--arancio); color: var(--inchiostro); font-family: var(--display); font-size: 19px; display: grid; place-items: center; }
.ai-pezzo b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.05; text-transform: uppercase; margin-bottom: 4px; }
.ai-pezzo span { display: block; font-size: 15px; line-height: 1.4; color: #E8E2DC; text-wrap: pretty; }
@media (min-width: 768px) { .ai-tre { grid-template-columns: repeat(3, 1fr); gap: 16px; } .ai-pezzo { padding: 64px 20px 20px; text-align: center; } .ai-pezzo::before { left: 50%; top: 18px; margin: 0 0 0 -17px; } }
.sistema-griglia { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 6px; }
.scheda { border-radius: var(--raggio); padding: 22px; }
.giulio { background: var(--inchiostro-2); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; justify-content: center; }
.giulio img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--arancio); }
.giulio-dice { margin: 0; font-size: 19px; line-height: 1.4; color: #E8E2DC; max-width: 24ch; text-wrap: balance; }
.giulio-forte { margin: 0; font-family: var(--display); font-size: 34px; line-height: 1; text-transform: uppercase; color: var(--arancio); transform: skewX(var(--inclina)); }
.console { background: #0B0907; border: 1px solid rgba(255, 255, 255, .08); color: var(--bianco); display: flex; flex-direction: column; gap: 14px; }
.console-testa { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.stato { display: inline-flex; align-items: center; gap: 8px; color: var(--arancio); background: rgba(255, 91, 20, .14); padding: 5px 12px; border-radius: 99px; }
.stato i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: lampeggia 1.2s infinite; }
.passi { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.passi li { font-size: 14px; font-weight: 700; text-align: center; padding: 9px 6px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--grigio-scuro); transition: background .35s, color .35s, transform .35s var(--molla); }
.passi li.acceso { background: var(--arancio); color: var(--inchiostro); transform: scale(1.04); }
.passi li.fatto { color: #E8E2DC; background: rgba(255, 91, 20, .16); }
.console-piede { margin: 0; text-align: center; font-size: 15px; color: #E8E2DC; text-wrap: balance; }
.console-piede b { color: var(--arancio); }
.flusso { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 36px auto 0; max-width: 760px; }
.flusso-passo { background: var(--inchiostro-2); color: var(--bianco); border-radius: 18px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; font-size: 17px; line-height: 1.35; width: 100%; max-width: 420px; justify-content: flex-start; text-align: left; text-wrap: pretty; }
.flusso-num { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--arancio); color: var(--inchiostro); font-family: var(--display); display: grid; place-items: center; }
.flusso-freccia { width: 4px; height: 36px; border-radius: 2px; background: rgba(255, 255, 255, .15); position: relative; overflow: hidden; }
.flusso-freccia i { position: absolute; left: 0; right: 0; top: 0; height: 40%; background: var(--arancio); animation: scende 1.2s linear infinite; }
@keyframes scende { from { transform: translateY(-100%); } to { transform: translateY(250%); } }
.mentre { font-family: var(--display); font-size: clamp(32px, 6vw, 52px); text-transform: uppercase; text-align: center; margin: 34px 0 0; }
.ruota { display: inline-block; color: var(--arancio); transition: opacity .3s, transform .3s var(--molla); }
.ruota.esce { opacity: 0; transform: translateY(-40%) rotate(-3deg); }

/* la console a fasi (come su senzamani.com e su Giulio): niente cifre */
.console-grafico.cc { position: relative; width: 100%; aspect-ratio: 240 / 100; overflow: hidden; border-radius: 12px;
  background: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 100% 25%, linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 12.5% 100%, #0E0B09; }
.cc-svg { position: absolute; inset: 8px 10px; width: calc(100% - 20px); height: calc(100% - 16px); overflow: visible; }
.cc-c line { stroke-width: 1.2; }
.cc-c.su line, .cc-c.su rect { stroke: var(--candela-su); fill: var(--candela-su); }
.cc-c.giu line, .cc-c.giu rect { stroke: var(--candela-giu); fill: var(--candela-giu); }
.cc-c { transform-box: fill-box; transform-origin: 50% 50%; }
.cc.anima .cc-c { opacity: 0; transform: translateY(4px) scaleY(.3); }
.cc.anima .cc-c.vista { opacity: 1; transform: none; transition: opacity .25s ease, transform .38s cubic-bezier(.2, .8, .3, 1); }
.cc-c.ultima rect { transform-box: fill-box; transform-origin: 50% 50%; animation: cc-forma .55s ease-in-out infinite alternate; }
@keyframes cc-forma { from { transform: scaleY(.8); } to { transform: scaleY(1.12); } }
.cc.fine .cc-c { opacity: 0 !important; transition: opacity .5s ease; }
.cc-in, .cc-sl, .cc-tp, .cc-pin { opacity: 0; transition: opacity .4s ease; }
.cc.entrata .cc-in, .cc.entrata .cc-sl, .cc.entrata .cc-tp, .cc.entrata .cc-pin-in, .cc.uscita .cc-pin-out { opacity: 1; }
.cc.chiusa .cc-in, .cc.chiusa .cc-sl, .cc.chiusa .cc-tp, .cc.chiusa .cc-pin { opacity: 0; }
.cc-in-l { stroke: var(--arancio); stroke-width: 1.2; stroke-dasharray: 3 3; }
.cc-tp-l { stroke: var(--candela-su); stroke-width: 1.3; stroke-dasharray: 4 3; transition: stroke-width .3s ease; }
.cc.uscita .cc-tp-l { stroke-width: 2.2; filter: drop-shadow(0 0 4px rgba(24, 178, 107, .85)); }
.cc-sl { transition: opacity .4s ease, transform .9s cubic-bezier(.3, .7, .2, 1); }
.cc.be .cc-sl { transform: translateY(var(--be)); }
.cc-sl-l { stroke: var(--candela-giu); stroke-width: 1.3; stroke-dasharray: 4 3; transition: stroke .6s ease; }
.cc.be .cc-sl-l { stroke: var(--arancio-chiaro); }
.cc-tag { font-family: var(--mono); font-weight: 600; font-size: 8px; letter-spacing: .02em; transition: opacity .4s ease; }
.cc-tag-in { fill: var(--arancio); } .cc-tag-tp { fill: var(--candela-su); } .cc-tag-sl { fill: var(--candela-giu); }
.cc-tag-be { fill: var(--arancio-chiaro); opacity: 0; }
.cc.be .cc-tag-sl, .cc.be .cc-tag-in { opacity: 0; }
.cc.be .cc-tag-be { opacity: 1; }
.cc-punto { fill: var(--bianco); stroke: var(--arancio); stroke-width: 1.6; }
.cc-pin-out .cc-punto { stroke: var(--candela-su); }
.cc-onda { fill: none; stroke: var(--arancio); stroke-width: 1.2; transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; }
.cc-pin-out .cc-onda { stroke: var(--candela-su); }
.cc.entrata .cc-pin-in .cc-onda, .cc.uscita .cc-pin-out .cc-onda { animation: cc-onda 1.3s ease-out infinite; }
@keyframes cc-onda { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.cc-chiusa { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%) scale(.9); opacity: 0; padding: 7px 14px; border-radius: 999px; background: rgba(22, 18, 15, .92); border: 1px solid rgba(255, 255, 255, .25);
  font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #E8E2DC; white-space: nowrap; transition: opacity .3s ease, transform .4s var(--molla); }
.cc.chiusa .cc-chiusa { opacity: 1; transform: translate(-50%, -50%); }
.cc.fine .cc-chiusa { opacity: 0; }

/* 9 · I risultati: card che scorrono da sole, sempre, anche col mouse sopra (Zago, 2026-10-10); col dito si possono
   trascinare. Niente ombra sotto le card (stonava). Niente titoletti, frecce o contatore (Zago, 2026-10-10). Il riquadro arancio sulla riga del profitto
   lo calcola l'OCR (strumenti/storici-galleria.py) */
.guarda-sez { padding-bottom: 70px; }
.guarda-sez .titolo { max-width: 16ch; margin-bottom: 30px; }
.galleria { position: relative; }
.galleria-binario { display: flex; gap: 16px; overflow-x: auto; padding: 8px 20px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.galleria-binario::-webkit-scrollbar { display: none; }
.galleria-binario:focus-visible { outline: 3px solid var(--inchiostro); outline-offset: -3px; }
.storico { flex: 0 0 min(70vw, 270px); margin: 0; }
.storico-schermo { position: relative; border-radius: 20px; border: 5px solid var(--inchiostro); background: var(--inchiostro); overflow: hidden; transform: rotate(-1.2deg); }
.storico:nth-child(even) .storico-schermo { transform: rotate(1.2deg); }
.storico-schermo img { width: 100%; border-radius: 14px; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.cerchio { position: absolute; border: 3px solid var(--arancio); border-radius: 9px; box-shadow: 0 0 0 3px rgba(255, 91, 20, .28); animation: cerchio 1.6s ease-in-out infinite; }
@keyframes cerchio { 50% { box-shadow: 0 0 0 7px rgba(255, 91, 20, .16); } }
@media (min-width: 768px) { .storico { flex-basis: 280px; } .galleria-binario { gap: 22px; } }

/* 10 · Non e' un cagnolino da salotto */
/* la riga che barra "cagnolino da salotto": DAVANTI al testo (Zago, 2026-10-10), una per ogni riga del titolo; compare
   quando il titolo entra nello schermo */
.barra-via { text-decoration: line-through; text-decoration-thickness: .11em; text-decoration-color: transparent; text-decoration-skip-ink: none; transition: text-decoration-color .5s ease .7s; }
.visto .barra-via, html:not(.js) .barra-via { text-decoration-color: var(--arancio); }
.levriero-grande { margin-bottom: 18px; }
.tag-corsa { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tag-corsa li { font-family: var(--display); font-size: clamp(22px, 4.6vw, 36px); text-transform: uppercase; line-height: 1; padding: 10px 16px 9px; background: var(--inchiostro); color: var(--bianco); border-radius: 12px; transform: skewX(var(--inclina)); }
.tag-corsa li:nth-child(3) { background: var(--arancio); color: var(--inchiostro); }
.visto.tag-corsa li, .tag-corsa li.visto { animation: strattone 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * .3s + 1s); }
@keyframes strattone { 0%, 70%, 100% { translate: 0 0; } 76% { translate: 6px 0; } 82% { translate: -4px 0; } 88% { translate: 2px 0; } }
.nervoso { max-width: 760px; height: 110px; margin: 0 auto 26px; }
.nervoso svg { width: 100%; height: 100%; overflow: visible; }
.nervoso path { fill: none; stroke: var(--inchiostro); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.nervoso.visto path { animation: disegna 2.4s var(--dolce) .3s forwards; }
@keyframes disegna { to { stroke-dashoffset: 0; } }
.cagnolino-sez .sottotitolo b { display: block; margin-top: 4px; }
.colonne { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.colonna { background: var(--bianco); border-radius: var(--raggio); padding: 24px 22px; box-shadow: 0 1px 0 var(--linea); }
.colonna h3 { font-family: var(--display); font-weight: 400; font-size: 28px; text-transform: uppercase; margin: 0 0 14px; text-align: center; }
.colonna ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.colonna li { position: relative; padding-left: 34px; line-height: 1.4; text-wrap: pretty; }
.colonna li::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--arancio) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2316120F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.colonna.no { background: var(--inchiostro); color: var(--bianco); box-shadow: none; }
.colonna.no li::before { background: #4A3F38 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%23A69E97' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 60% no-repeat; }

/* 11 · Il guinzaglio: schede due a due */
.guinzaglio-sez { text-align: center; }
.griglia-quattro { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.carta { background: var(--bianco); border-radius: var(--raggio); padding: 16px 12px 18px; text-align: center; display: grid; grid-row: span 3; grid-template-rows: subgrid; justify-items: center; align-content: start; gap: 6px; box-shadow: 0 1px 0 var(--linea); }
.carta.scura { background: var(--inchiostro-2); color: var(--bianco); box-shadow: none; }
.carta h3 { font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.05; text-transform: uppercase; margin: 6px 0 0; text-wrap: balance; }
.carta p { margin: 0; font-size: 14px; color: var(--grigio); line-height: 1.4; text-wrap: balance; }
.carta.scura p { color: var(--grigio-scuro); }
.carta-scena { width: 100%; height: 92px; border-radius: 16px; background: var(--arancio-tenue); display: grid; place-items: center; overflow: hidden; position: relative; }
.carta.scura .carta-scena { background: rgba(255, 91, 20, .12); }
.tessera { width: 112px; height: 66px; border-radius: 10px; background: var(--inchiostro); color: var(--arancio); padding: 10px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; box-shadow: 0 8px 18px rgba(22, 18, 15, .25); }
.tessera i { width: 20px; height: 14px; border-radius: 3px; background: var(--arancio); opacity: .8; }
.tessera span { font-family: var(--mono); font-weight: 600; font-size: 10px; letter-spacing: .06em; }
.tessera.chiara { background: var(--bianco); color: var(--inchiostro); }
.visto .tessera { animation: tessera 4s var(--dolce) infinite; }
@keyframes tessera { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(3deg) translateY(-3px); } }
.scena-prelievi .cassa { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.scena-prelievi .cassa i { width: 54px; height: 10px; border-radius: 4px; background: var(--arancio); }
.visto .scena-prelievi .cassa i { animation: esce 2.6s var(--dolce) infinite; }
.scena-prelievi .cassa i:nth-child(2) { animation-delay: .25s; } .scena-prelievi .cassa i:nth-child(3) { animation-delay: .5s; }
@keyframes esce { 0%, 20% { transform: none; opacity: 1; } 60% { transform: translateX(70px); opacity: 0; } 61% { transform: translateX(-70px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.scena-chiave svg { width: 110px; height: 74px; }
.scena-chiave .chiave { fill: none; stroke: var(--bianco); stroke-width: 6; stroke-linecap: round; }
.scena-chiave .divieto { fill: none; stroke: var(--arancio); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.visto .scena-chiave .divieto { animation: disegna .7s var(--dolce) .6s forwards; }
.scena-richiamo .cuccetta { position: absolute; right: 16%; bottom: 14px; width: 58px; height: 48px; }
.scena-richiamo .cuccetta path { fill: var(--bianco); }
.scena-richiamo .cuccetta .buco { fill: var(--inchiostro-2); }
.scena-richiamo .cane { position: absolute; left: 6%; bottom: 18px; width: 70px; color: var(--arancio); }
.visto .scena-richiamo .cane { animation: torna 3.2s var(--dolce) infinite; }
@keyframes torna { 0%, 15% { transform: translateX(0) scale(1); opacity: 1; } 60% { transform: translateX(150%) scale(.5); opacity: 0; } 61%, 75% { transform: translateX(0) scale(1); opacity: 0; } 100% { opacity: 1; } }
.rilancio { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.rilancio p { margin: 0; font-size: 18px; color: #E8E2DC; text-align: center; }
.rilancio b { color: var(--bianco); }

/* 11b · La fascia col grido: inclinata al contrario del nastro, scorre al contrario */
.grido-fascia { background: var(--arancio); color: var(--inchiostro); overflow: hidden; padding: 12px 0; transform: skewY(1.6deg); margin-top: -40px; margin-bottom: -12px; position: relative; z-index: 2; box-shadow: 0 -6px 0 var(--inchiostro); }
.grido-scorre { display: flex; align-items: center; gap: 24px; padding-right: 24px; width: max-content; animation: grido-scorre 20s linear infinite; font-family: var(--display); font-size: clamp(44px, 9vw, 76px); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.grido-scorre span { transform: skewX(var(--inclina)); }
.grido-scorre .pieno { color: var(--bianco); }
.grido-scorre .cane { width: clamp(70px, 13vw, 110px); color: var(--inchiostro); }
@keyframes grido-scorre { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* 12 · Apri le gabbie: le tre gabbie di partenza, col colore della casacca, si aprono una alla volta */
.via { position: relative; height: clamp(84px, 18vw, 130px); margin: 0 0 10px; font-family: var(--display); font-size: clamp(80px, 18vw, 130px); line-height: 1; text-transform: uppercase; }
.via span { position: absolute; left: 0; right: 0; top: 0; text-align: center; opacity: 0; }
.via .go { color: var(--arancio); }
html:not(.js) .via .go { opacity: 1; }
.via.visto span { animation: conta .62s cubic-bezier(.2, 1.2, .3, 1) both; }
.via.visto span:nth-child(2) { animation-delay: .62s; }
.via.visto span:nth-child(3) { animation-delay: 1.24s; }
.via.visto .go { animation: go .7s cubic-bezier(.2, 1.4, .3, 1) 1.86s both; }
@keyframes conta { 0% { opacity: 0; transform: scale(2.2); } 22% { opacity: 1; transform: scale(1); } 75% { opacity: 1; transform: scale(.96); } 100% { opacity: 0; transform: scale(.7); } }
@keyframes go { 0% { opacity: 0; transform: scale(2.6) skewX(var(--inclina)); } 60% { opacity: 1; transform: scale(.94) skewX(var(--inclina)); } 100% { opacity: 1; transform: scale(1) skewX(var(--inclina)); } }
.gabbie { list-style: none; margin: 10px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gabbia { text-align: center; display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 6px; justify-items: center; align-content: start; }
.gabbia h3 { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.05; text-transform: uppercase; margin: 8px 0 0; text-wrap: balance; }
.gabbia p { margin: 0; font-size: 14px; color: var(--grigio); line-height: 1.4; text-wrap: balance; }
.box { position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: 14px 14px 6px 6px; background: var(--inchiostro); border: 4px solid var(--inchiostro); overflow: hidden; }
.box .num { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 26%; display: grid; place-items: center; font-family: var(--display); font-size: clamp(26px, 7vw, 44px); background: var(--colore); color: var(--bianco); }
.gabbia:nth-child(3) .num { color: var(--inchiostro); }
.box .dentro { position: absolute; inset: 26% 0 0 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 70%, #3A2C22, #1B1511); }
.box .dentro .tessera { transform: scale(.72); }
.box .dentro .telefono { transform: scale(.85); }
.box .dentro .cane { width: 92%; color: var(--arancio); }
.box .cancello { position: absolute; inset: 26% 0 0 0; z-index: 2; background: repeating-linear-gradient(90deg, #5B4D44 0 4px, transparent 4px 13px), linear-gradient(rgba(22, 18, 15, .55), rgba(22, 18, 15, .55)); border-top: 4px solid #5B4D44; transition: transform .7s cubic-bezier(.6, 0, .2, 1); transition-delay: calc(var(--i, 0) * 220ms + 2150ms); }
.gabbia.visto .cancello { transform: translateY(-104%); }
.gabbia.visto .dentro .cane { animation: esce-gabbia 2.8s var(--dolce) infinite; animation-delay: 3.2s; }
@keyframes esce-gabbia { 0%, 45% { transform: translateX(0); } 68% { transform: translateX(130%); } 69% { transform: translateX(-130%); } 88%, 100% { transform: translateX(0); } }
.telefono { width: 58px; height: 84px; border-radius: 12px; border: 3px solid var(--bianco); background: var(--bianco); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--inchiostro); }
.telefono small { font-size: 9px; font-weight: 700; }
.interruttore { width: 34px; height: 20px; border-radius: 99px; background: var(--linea); position: relative; }
.interruttore i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--bianco); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.visto .interruttore { animation: acceso 3.2s infinite; } .visto .interruttore i { animation: pallino 3.2s var(--molla) infinite; }
@keyframes acceso { 0%, 25% { background: var(--linea); } 35%, 85% { background: var(--arancio); } 95%, 100% { background: var(--linea); } }
@keyframes pallino { 0%, 25% { transform: none; } 35%, 85% { transform: translateX(14px); } 95%, 100% { transform: none; } }
.timbri { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 30px; }
.timbri span { font-family: var(--display); font-size: clamp(24px, 5vw, 40px); text-transform: uppercase; line-height: 1; background: var(--arancio); color: var(--inchiostro); padding: 10px 18px 8px; border-radius: 12px; transform: rotate(-2deg) skewX(var(--inclina)); }
.timbri span + span { background: var(--inchiostro); color: var(--bianco); transform: rotate(2deg) skewX(var(--inclina)); }
.citazione { margin: 0 auto; max-width: 620px; display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; text-align: left; background: var(--inchiostro); color: var(--bianco); padding: 18px 22px; border-radius: var(--raggio); }
.citazione img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--arancio); }
.citazione p { margin: 0; font-weight: 700; font-size: 20px; line-height: 1.3; text-wrap: pretty; }
.citazione b { color: var(--arancio); }

/* 13 · Entrare in pista: il biglietto e le due lampade */
.accesso { text-align: center; }
.domanda { display: inline-block; margin: 0 0 22px; background: var(--bianco); color: var(--inchiostro); font-weight: 700; font-size: 18px; padding: 12px 18px; border-radius: 20px 20px 20px 6px; }
.biglietto { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; width: min(100%, 560px); margin: 0 auto 30px; padding: 26px 24px 30px; background: var(--carta); border-radius: 18px; box-shadow: 0 18px 40px rgba(22, 18, 15, .25);
  -webkit-mask: radial-gradient(circle 16px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 16px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 16px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.biglietto::before { content: none; }
.biglietto-tit { font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--grigio); }
.biglietto-grande { font-family: var(--display); font-size: clamp(44px, 12vw, 84px); line-height: .95; text-transform: uppercase; text-align: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 2px dashed var(--linea); align-self: stretch; }
.biglietto-timbro { font-family: var(--display); font-size: clamp(20px, 4vw, 30px); text-transform: uppercase; color: var(--arancio); border: 3px solid var(--arancio); padding: 6px 14px 4px; border-radius: 10px; transform: rotate(-4deg); }
.js .biglietto.rivela .biglietto-timbro { transform: scale(1.8) rotate(-12deg); opacity: 0; transition: transform .5s var(--molla) 1s, opacity .3s 1s; }
.js .biglietto.rivela.visto .biglietto-timbro { transform: rotate(-4deg); opacity: 1; }
.lampade { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; margin: 0 auto; }
.lampada { background: var(--bianco); border-radius: var(--raggio); padding: 22px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lampada h3 { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.05; text-transform: uppercase; margin: 4px 0 0; }
.lampada p { margin: 0; font-size: 15px; color: var(--grigio); text-wrap: balance; }
.lampadina { width: 46px; height: 46px; border-radius: 50%; background: var(--linea); position: relative; margin-bottom: 12px; }
.lampadina::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 22px; height: 12px; border-radius: 0 0 6px 6px; background: var(--inchiostro); transform: translateX(-50%); }
.accesa .lampadina { background: var(--arancio); animation: pulsa 2s infinite; }

/* 14 · Domande */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--bianco); border-radius: 18px; box-shadow: 0 1px 0 var(--linea); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; line-height: 1.3; padding: 18px 54px 18px 20px; font-weight: 800; font-size: 18px; position: relative; text-wrap: balance; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--arancio); color: var(--inchiostro); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform .3s var(--molla); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--grigio); }

/* 15 · Chiusura */
.chiusura-griglia { display: grid; gap: 38px; justify-items: center; }
.chiusura-testo { text-align: center; display: flex; flex-direction: column; align-items: center; }
.in-diretta { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; background: var(--inchiostro); color: var(--bianco); font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 16px; border-radius: 99px; }
.in-diretta i { width: 9px; height: 9px; border-radius: 50%; background: var(--candela-giu); animation: lampeggia 1s infinite; }
.arancio .sottotitolo { font-weight: 600; }
.grido { margin: 30px 0 0; font-family: var(--display); font-size: clamp(44px, 10vw, 84px); line-height: .95; text-transform: uppercase; transform: skewX(var(--inclina)); }
.grido span { display: block; color: var(--bianco); }
.chat { width: min(100%, 380px); border-radius: 30px; border: 6px solid var(--inchiostro); box-shadow: 0 30px 60px rgba(22, 18, 15, .35); overflow: hidden; }
.chat-testa { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--bianco); }
.chat-testa img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.chat-testa div { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.chat-corpo { display: flex; flex-direction: column; }
.msg { margin: 0; text-align: left; }
.js .msg { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .35s, transform .45s var(--molla); }
.js .msg.dentro { opacity: 1; transform: none; }
.scrive { align-self: flex-start; display: inline-flex; gap: 4px; }
.scrive i { width: 7px; height: 7px; border-radius: 50%; background: var(--grigio-scuro); animation: punti 1s infinite; }
.scrive i:nth-child(2) { animation-delay: .15s; } .scrive i:nth-child(3) { animation-delay: .3s; }
@keyframes punti { 50% { transform: translateY(-4px); background: var(--inchiostro); } }
/* come WhatsApp (il verde qui e' voluto, come sulla pagina di Giulio) */
.chat.wa { background: var(--inchiostro); }
.wa .chat-testa { background: #008069; gap: 10px; padding: 10px 12px; }
.wa .chat-testa small { color: #D9FDD3; }
.wa .chat-testa div { flex: 1; }
.wa-indietro { width: 20px; height: 20px; fill: none; stroke: var(--bianco); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.wa-icone { display: inline-flex; gap: 14px; }
.wa-icone svg { width: 20px; height: 20px; fill: none; stroke: var(--bianco); stroke-width: 1.8; stroke-linejoin: round; }
.wa .chat-corpo { min-height: 330px; gap: 6px; padding: 12px 12px 14px; background-color: #EFEAE2; background-image: radial-gradient(rgba(84, 101, 111, .1) 1.2px, transparent 1.4px), radial-gradient(rgba(84, 101, 111, .07) 1px, transparent 1.2px); background-size: 22px 22px, 34px 34px; background-position: 0 0, 11px 17px; }
.wa-giorno { align-self: center; margin: 0 0 4px; padding: 3px 10px; border-radius: 8px; background: var(--bianco); color: #54656F; font-size: 12px; font-weight: 600; }
.wa .msg { position: relative; max-width: 80%; padding: 7px 10px 8px; font-size: 14.5px; line-height: 1.35; color: #111B21; border-radius: 10px; box-shadow: 0 1px 0 rgba(11, 20, 26, .1); }
.wa .msg.mio { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 0; }
.wa .msg.suo { align-self: flex-start; background: var(--bianco); border-top-left-radius: 0; }
.wa .msg::before { content: ""; position: absolute; top: 0; width: 9px; height: 12px; }
.wa .msg.mio::before { right: -8px; background: #D9FDD3; clip-path: polygon(0 0, 100% 0, 0 100%); }
.wa .msg.suo::before { left: -8px; background: var(--bianco); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.wa .msg.suo + .msg.suo { border-top-left-radius: 10px; }
.wa .msg.suo + .msg.suo::before { display: none; }
.wa-ora { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 7px 0 -4px 10px; font-size: 11px; color: #667781; line-height: 1; }
.wa-spunte { width: 16px; height: 10px; fill: none; stroke: #8696A0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.wa .msg.letto .wa-spunte { stroke: #53BDEB; }
.wa .scrive { background: var(--bianco); border-radius: 0 10px 10px 10px; padding: 11px 13px; }
.wa-barra { display: flex; align-items: center; gap: 8px; padding: 8px 8px 10px; background: #F0F2F5; }
.wa-campo { flex: 1; padding: 9px 14px; border-radius: 20px; background: var(--bianco); color: #8696A0; font-size: 14px; text-align: left; }
.wa-mic { width: 40px; height: 40px; border-radius: 50%; background: #00A884; display: grid; place-items: center; flex: 0 0 auto; }
.wa-mic svg { width: 20px; height: 20px; fill: none; stroke: var(--bianco); stroke-width: 2; stroke-linecap: round; }

/* 16 · Piede: il marchio, Giulio, l'avvertenza, i social e le pagine legali */
.piede { background: var(--inchiostro); color: var(--grigio-scuro); padding-block: 48px calc(88px + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: 13px; }
.piede-logo { width: 190px; margin: 0 auto 6px; }
.piede-con { margin: 0 0 18px; font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bianco); }
.avvertenza { max-width: 70ch; margin: 0 auto 16px; line-height: 1.5; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; margin: 0 0 14px; }
.social a { display: inline-flex; align-items: center; gap: 8px; color: var(--bianco); font-weight: 700; text-decoration: none; }
.social a:hover { color: var(--arancio); }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social svg .pieno { fill: currentColor; stroke: none; }
.legali { margin: 0 0 8px; font-size: 14px; }
.legali a { color: var(--bianco); }
.copy { margin: 10px 0 0; }

/* 17 · Barra fissa del telefono */
.barra-fissa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(22, 18, 15, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translateY(110%); transition: transform .45s var(--dolce); display: flex; justify-content: center; }
.barra-fissa.su { transform: none; }
.barra-fissa .bottone { width: 100%; max-width: 420px; min-height: 54px; font-size: 24px; }
.barra-fissa .bottone::after { display: none; }

/* fuori schermo le animazioni si fermano: meno batteria sul telefono */
.fermo *, .fermo *::before, .fermo *::after { animation-play-state: paused !important; }

/* 18 · Computer */
@media (min-width: 768px) {
  .sezione { padding-block: 116px; }
  .premessa { font-size: 16px; }
  .hero { padding-block: 26px 104px; }
  .hero-logo { width: 140px; margin-bottom: 12px; }
  .riga-1 { max-width: none; font-size: clamp(40px, 3.9vw, 54px); }
  .riga-2 { font-size: clamp(60px, 6.2vw, 86px); margin-top: 0; }
  .hero-desc { max-width: 52ch; margin-bottom: 18px; }
  .vsl { max-width: 600px; }
  .due { gap: 18px; max-width: 860px; margin-inline: auto; }
  .carta-grande { padding: 18px 18px 24px; }
  .carta-grande h3 { font-size: 28px; }
  .carta-grande p { font-size: 16px; }
  .scena { height: 170px; }
  .scena-cuccia svg { width: 170px; height: 118px; }
  .pista { height: 200px; }
  .levriero { width: 340px; }
  .lepre { width: 84px; left: 360px; }
  @keyframes insegue { from { transform: translateX(-460px); } to { transform: translateX(calc(100vw + 60px)); } }
  .sistema-griglia { grid-template-columns: .8fr 1.2fr; align-items: stretch; }
  .flusso { flex-direction: row; align-items: stretch; }
  .flusso-freccia { flex: none; width: 60px; height: 4px; align-self: center; }
  .flusso-freccia i { top: 0; bottom: 0; left: 0; right: auto; height: auto; width: 40%; animation: destra 1.2s linear infinite; }
  @keyframes destra { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
  .storici { grid-template-columns: 1fr 1fr; max-width: 820px; margin-inline: auto; gap: 34px; }
  .colonne { grid-template-columns: 1fr 1fr; }
  .griglia-quattro { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .carta { padding: 20px 16px 24px; }
  .carta h3 { font-size: 24px; }
  .carta p { font-size: 15px; }
  .carta-scena { height: 120px; }
  .gabbie { gap: 22px; max-width: 760px; margin-inline: auto; }
  .gabbia h3 { font-size: 28px; }
  .gabbia p { font-size: 16px; }
  .lampade { gap: 18px; }
  .lampada { padding: 30px 24px; }
  .lampada h3 { font-size: 28px; }
  .chiusura-griglia { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .chiusura-testo { text-align: left; align-items: flex-start; }
  .chiusura-testo .titolo, .chiusura-testo .sottotitolo { text-align: left; margin-left: 0; }
  .chiusura-testo .titolo { font-size: clamp(44px, 5vw, 70px); }
  .barra-fissa { display: none; }
  .piede { padding-bottom: 56px; }
}

/* 19 · Meno movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .rivela, .js .timbro.rivela { opacity: 1; transform: none; }
  .corridori { animation: none; transform: translateX(30vw); }
  .gabbia .cancello { transform: translateY(-104%); }
  .riga-2 .corsa { clip-path: none; }
  .sfreccia, .premessa-cane { display: none; }
  .via span { display: none; } .via .go { display: block; opacity: 1; }
}
