/* =========================================================================
   PITITTO'S · SITO 1, A FILM (2/12/2026)
   Tre colori: crema #FFF4DE (fondo, il tondo del logo), rosso Pititto's #B72925 e il suo scuro #8E1F1C (inchiostro), giallo #FFEA4F per UNA cosa: il bottone dell'ordine.
   Dove c'e' ripresa a tutto schermo le battute sono crema. Niente nero pieno, niente oro.
   Due caratteri: Abril Fatface (titoli e battute, graziato nero da insegna) e Archivo (testo). Il corsivo DM Serif solo per le parole in siciliano.
   Il motore: #film e' la pista alta, #palco la scena che resta ferma (sticky). Ogni capitolo e' uno strato; le misure che dipendono dallo schermo le scrive film.js.
   ========================================================================= */
@font-face { font-family: 'Abril Fatface'; src: url(font/AbrilFatface.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url(font/Archivo.woff2) format('woff2'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Serif Display'; src: url(font/DMSerifDisplay-Italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --crema: #FFF4DE; --rosso: #B72925; --scuro: #8E1F1C; --fondo-scuro: #6E1714; --giallo: #FFEA4F; --bianco: #fff;
  --titoli: 'Abril Fatface', 'Bodoni MT', Georgia, serif;
  --testo: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --corsivo: 'DM Serif Display', Georgia, serif;
  /* per le pagine legali */
  --carta: #FFF4DE; --inchiostro: #4A1210; --fondo: #B72925; --serif: var(--testo); --bastone: var(--testo); --brace: #B72925; --nero: #4A1210; --neon: #B72925;
  --T: 2250; --lato: 5vw;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--crema); overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--crema); color: var(--scuro); font-family: var(--testo); font-weight: 500; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, video, canvas, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salta { position: fixed; left: 12px; top: -60px; z-index: 500; background: var(--scuro); color: var(--crema); padding: 10px 16px; font-weight: 700; }
.salta:focus { top: 12px; }
.occhiello { font-family: var(--testo); font-weight: 800; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; line-height: 1.3; }
.bottone { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px; border: 2px solid var(--scuro); border-radius: 999px;
  font-weight: 800; font-size: 16px; letter-spacing: .02em; text-decoration: none; line-height: 1.1; color: var(--scuro); transition: background .2s, color .2s, transform .2s; }
.bottone:hover { background: var(--scuro); color: var(--crema); }
.bottone.giallo { background: var(--giallo); border-color: var(--giallo); color: #4A1210; }
.bottone.giallo:hover { background: #fff3a0; border-color: #fff3a0; color: #4A1210; transform: translateY(-2px); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--scuro); outline-offset: 3px; }

/* ---------- 0 · il caricamento a quattro riquadri ---------- */
#carica { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.ca-q { position: relative; overflow: hidden; background: var(--fondo-scuro); }
.ca-q img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; }
.ca-q.on img { opacity: 1; }
/* il logo vero dove nel reel sta LOADING: la scritta gialla nel suo tondo rosso, come l'insegna */
.ca-logo { position: absolute; left: 50%; top: 50%; width: min(64vw, 400px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--rosso); display: flex; align-items: center; justify-content: center; }
.ca-logo img { width: 78%; height: auto; }
.ca-rot { position: absolute; left: 50%; top: 50%; width: min(70vw, 440px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 5px solid rgba(255, 244, 222, .25); border-top-color: var(--giallo); animation: ca-gira .9s linear infinite; }
@keyframes ca-gira { to { transform: translate(-50%, -50%) rotate(360deg); } }
#carica.via { display: none; }
html:not(.js) #carica { display: none; }

/* ---------- il bottone dell'ordine: l'unico giallo del sito ---------- */
.ordina { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 999px; pointer-events: auto;
  background: var(--giallo); color: #4A1210; font-family: var(--testo); font-weight: 800; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap; transition: opacity .25s, transform .2s; }
.ordina:hover { transform: translateY(-2px); }
.ordina.via { opacity: 0; pointer-events: none; }

/* ---------- la pista e il palco ---------- */
#film { position: relative; height: calc(var(--T) * 1vh); height: calc(var(--T) * 1svh); background: var(--crema); }
#palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--crema); }
.strato { position: absolute; inset: 0; visibility: hidden; pointer-events: none; }
.strato.vivo { visibility: visible; }
#gl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 20; pointer-events: none; }
#viaggio { z-index: 22; } #nome { z-index: 24; } #mani { z-index: 14; } .gi-fondo { z-index: 16; } #mani-su { z-index: 30; } #girato { z-index: 32; }
#abba { z-index: 40; } #vetrina { z-index: 44; } #box { z-index: 46; } #posti { z-index: 48; } #vivi { z-index: 52; }
.gi-fondo { position: absolute; inset: 0; background: var(--fondo-scuro); opacity: 0; pointer-events: none; }

/* le battute: crema, grandi e ferme, una alla volta. La vecchia esce in 0,2 s, la nuova entra dopo 0,3 s */
.batt { opacity: 0; transform: translateY(18px); transition: opacity .2s linear, transform .2s ease-in; color: var(--crema); font-family: var(--titoli); font-weight: 400; letter-spacing: -.005em; line-height: .98;
  text-shadow: 0 2px 26px rgba(40, 8, 6, .8), 0 0 3px rgba(40, 8, 6, .55); }
.batt.su { opacity: 1; transform: none; transition: opacity .3s ease-out .3s, transform .3s cubic-bezier(.2, .7, .2, 1) .3s; }
.batt.via { transform: translateY(-14px); }
.batt.rossa { color: var(--rosso); text-shadow: 0 0 22px rgba(255, 255, 255, .95), 0 0 6px rgba(255, 255, 255, .9); }

/* ---------- la testata piccola (dorme sull'apertura) ---------- */
#testa { position: fixed; left: 0; right: 0; top: 0; z-index: 210; display: flex; align-items: center; gap: 22px; padding: 0 max(12px, 2.2vw); height: 70px; pointer-events: none; }
#testa::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--crema); border-bottom: 1px solid rgba(142, 31, 28, .16); opacity: 0; transition: opacity .3s; }
#testa.sveglia::before { opacity: .97; }
.te-logo, .te-tel { opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
#testa.sveglia .te-logo, #testa.sveglia .te-tel { opacity: 1; visibility: visible; pointer-events: auto; }
.te-logo img { height: 30px; width: auto; }
.te-logo { margin-right: auto; }
.te-tel { font-weight: 800; font-size: 19px; letter-spacing: .01em; text-decoration: none; color: var(--scuro); }

/* ---------- 1 · il viaggio ---------- */
.vg-testa { position: absolute; left: var(--lato); right: var(--lato); bottom: 5vh; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; transition: opacity .25s; }
#viaggio.mosso .vg-testa { opacity: 0; }
#viaggio h1 { font-family: var(--testo); font-weight: 800; font-size: clamp(16px, 1.4vw, 22px); line-height: 1.15; letter-spacing: .01em; max-width: 22em; color: var(--crema); text-shadow: 0 1px 14px rgba(40, 8, 6, .95); }
.vg-scorri { font-weight: 800; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--crema); text-shadow: 0 1px 14px rgba(40, 8, 6, .95); }
.vg-scr { position: absolute; left: 5vw; right: 5vw; top: 13vh; text-align: center; font-size: clamp(54px, 8.6vw, 150px); }
/* il tondo crema e la scritta vera a pezzi */
.no-tondo { position: absolute; left: 50%; top: 50%; border-radius: 50%; background: var(--crema); will-change: transform; }
.no-scritta { position: absolute; }
.no-scritta img { position: absolute; top: 0; height: 100%; transform-origin: 50% 100%; visibility: hidden; will-change: transform; }
.no-scritta img.su { visibility: inherit; }
.no-motto { position: absolute; height: auto; opacity: 0; transition: opacity .25s; }
.no-motto.su { opacity: 1; }

/* ---------- 2 · u facemu chi manu: una pagina crema, l'arancina che scende ---------- */
#mani { background: var(--crema); color: var(--scuro); }
.mn-pagina { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.mn-a, .mn-b, .mn-c { position: relative; height: 100vh; height: 100svh; }
.mn-titolo { position: absolute; left: 6vw; top: 19vh; font-family: var(--titoli); font-weight: 400; font-size: clamp(56px, 9.4vw, 172px); line-height: .92; letter-spacing: -.012em; color: var(--rosso); }
.mn-corsivo { position: absolute; left: 6.4vw; top: calc(19vh + clamp(56px, 9.4vw, 172px) * 1.98); font-family: var(--corsivo); font-style: italic; font-size: clamp(26px, 3.2vw, 56px); line-height: 1; color: var(--scuro); }
.mn-a .mn-titolo, .mn-a .mn-corsivo { opacity: var(--k, 1); transform: translateY(calc((1 - var(--k, 1)) * 30px)); }
.mn-passo { position: absolute; font-family: var(--titoli); font-size: clamp(40px, 6.4vw, 118px); line-height: .95; color: var(--rosso); }
.mn-passo b, .mn-c .mn-titolo b { display: block; font-family: var(--testo); font-weight: 800; font-size: clamp(14px, 1.1vw, 18px); letter-spacing: .22em; color: var(--scuro); margin-bottom: .7em; }
.mn-passo.uno { left: 6vw; top: 14vh; } .mn-passo.due { right: 6vw; top: 58vh; text-align: right; }
.mn-col { position: absolute; font-size: clamp(15px, 1.15vw, 19px); line-height: 1.4; font-weight: 600; max-width: 16em; padding-top: 12px; border-top: 2px solid var(--scuro); }
.mn-b .mn-col.s { left: 6vw; top: 74vh; }
.mn-c .mn-titolo { top: 20vh; font-size: clamp(48px, 7.2vw, 132px); }
.mn-c .mn-col.s { left: 6vw; top: 70vh; } .mn-c .mn-col.d { left: calc(6vw + 20em); top: 70vh; }
.mn-cruda, .mn-dorata { position: absolute; left: 0; top: 0; height: auto; will-change: transform; visibility: hidden; }

/* ---------- 3 · il loro girato ---------- */
.gi-scr { position: absolute; left: 5vw; right: 5vw; bottom: 5vh; text-align: center; font-size: clamp(36px, 5.2vw, 92px); }
.gi-scr.alto { bottom: auto; top: 12vh; }

/* ---------- 4 · l'abbanniata, carosello a tempo ---------- */
#abba { background: none; }
.ab-invito { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5vh; background: var(--rosso); will-change: transform; }
.ab-invito h2 { text-align: center; font-family: var(--titoli); font-weight: 400; color: var(--crema); font-size: clamp(44px, 7.4vw, 132px); line-height: .98; }
.ab-linea { display: block; width: min(52vw, 520px); height: 6px; border-radius: 3px; background: var(--crema); transform-origin: 50% 50%; transform: scaleX(.18); transition: transform .16s ease-out; }
.ab-linea.giu { transform: scaleX(1); }
.ab-pista { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
#abba.gira .ab-pista { visibility: inherit; }
.ab-c { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 5vw; padding: 80px 6vw 40px; background: var(--crema); color: var(--rosso); visibility: hidden; will-change: transform; }
.ab-c:nth-child(even) { background: var(--rosso); color: var(--crema); flex-direction: row-reverse; }
.ab-c img { flex: none; width: min(48vh, 34vw, 520px); height: min(48vh, 34vw, 520px); border-radius: 26px; object-fit: cover; }
.ab-c p { max-width: 9.5em; font-family: var(--titoli); font-size: clamp(44px, 6.4vw, 116px); line-height: .96; }
.ab-c b { display: block; font-weight: 400; }
.ab-c i { display: block; margin-top: .3em; font-family: var(--corsivo); font-style: italic; font-size: .5em; line-height: 1.05; color: var(--scuro); }
.ab-c:nth-child(even) i { color: var(--giallo); color: #FFE9B8; }
.ab-riga { position: absolute; left: 4vw; right: 4vw; bottom: 5vh; text-align: center; font-family: var(--corsivo); font-style: italic; font-size: clamp(22px, 2.6vw, 44px); line-height: 1.1; color: var(--crema); opacity: 0; transition: opacity .3s; }
.ab-riga.su { opacity: 1; }

/* ---------- 5 · la vetrina che si accende ---------- */
#vetrina { background: none; }
.gr-tessere { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.gr-t { position: absolute; overflow: hidden; border-radius: 12px; background: #F6D2BE; visibility: hidden; }
.gr-t.su { visibility: inherit; }
.gr-t img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gr-t .col { visibility: hidden; } .gr-t.acceso .col { visibility: inherit; }
.gr-scena { position: absolute; inset: 0; visibility: hidden; }
.gr-carta { position: absolute; overflow: hidden; border-radius: 12px; background: #F6D2BE; }
.gr-carta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; will-change: transform; }
.gr-carta img.su { visibility: inherit; }
.gr-nome { position: absolute; left: 4vw; right: 4vw; text-align: center; font-size: clamp(30px, 4.2vw, 72px); color: var(--rosso); text-shadow: none; }
.gr-nome .gn { position: absolute; left: 0; right: 0; top: 0; visibility: hidden; } .gr-nome .gn.on { visibility: inherit; }

/* ---------- 6 · la Pititto's Box ---------- */
#box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3.2vh; padding: 84px var(--lato) 3vh; color: var(--scuro); will-change: transform; }
.bx-titolo { font-family: var(--titoli); font-weight: 400; font-size: clamp(40px, 5.6vw, 96px); line-height: .95; color: var(--rosso); }
.bx-due { margin-top: 3.5vh; display: flex; gap: clamp(18px, 4vw, 70px); align-items: stretch; justify-content: center; width: 100%; }
.bx-s { flex: 0 1 min(560px, 58vh); min-width: 0; display: grid; grid-template-columns: auto 1fr; grid-template-areas: 'sc sc' 'pr li'; gap: 1.6vh 18px; align-items: center; }
/* la scatola vista dall'alto: cartone, il tondo rosso sul coperchio, i tre pezzi che ci cadono dentro */
.bx-scatola { grid-area: sc; position: relative; aspect-ratio: 2.75; width: 100%; border-radius: 14px; background: #D9B88C; box-shadow: inset 0 0 0 10px #C9A676, inset 0 0 0 12px rgba(74, 18, 16, .18); display: flex; align-items: center; justify-content: space-evenly; padding: 0 3.5%; }
.bx-tondo { position: absolute; left: 0; top: 0; width: 19%; aspect-ratio: 1; transform: translate(-30%, -46%) rotate(-9deg); border-radius: 50%; background: var(--rosso); display: flex; align-items: center; justify-content: center; z-index: 2; }
.bx-tondo img { width: 80%; height: auto; }
.bx-p { width: 30%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; opacity: 0; transform: translateY(-46px) scale(1.12); transition: opacity .2s, transform .34s cubic-bezier(.3, 1.4, .5, 1); }
.bx-p img { width: 100%; height: 100%; object-fit: cover; }
.bx-p.su { opacity: 1; transform: none; }
.bx-prezzo { grid-area: pr; font-family: var(--titoli); font-size: clamp(54px, 6vw, 104px); line-height: .9; color: var(--rosso); white-space: nowrap; opacity: 0; transform: scale(.7); transform-origin: 0 60%; transition: opacity .2s, transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.bx-prezzo.su { opacity: 1; transform: none; }
.bx-s ul { grid-area: li; }
.bx-s li { font-weight: 700; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.3; padding: 5px 0; border-bottom: 1.5px solid rgba(142, 31, 28, .25); opacity: .25; transition: opacity .25s; }
.bx-s li.su { opacity: 1; }
.bx-fine { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; justify-content: center; opacity: 0; transition: opacity .3s; }
.bx-fine.su { opacity: 1; }
#box.vivo .bx-fine.su .bottone { pointer-events: auto; }
.bx-fine small { font-size: 14px; font-weight: 700; letter-spacing: .04em; }

/* ---------- 7 · ci trovi in due posti: le fasce ---------- */
#posti { background: var(--fondo-scuro); display: flex; flex-direction: column; gap: 4px; }
.po-f { position: relative; flex: 1 1 0; min-height: 0; overflow: hidden; background: #5A120F; color: var(--crema); display: flex; align-items: center; }
.po-f > * { visibility: hidden; }
.po-f.on > * { visibility: inherit; }
.po-f.casella img { flex: 0 0 52%; width: 52%; height: 100%; object-fit: cover; object-position: 30% 34%; }
.po-f.casella.on { background: var(--scuro); }
.po-f.casella > div { padding: 70px 5vw 0; }
.po-f.piazza.on { background: var(--rosso); }
.po-f.piazza > div { margin: 0 auto; text-align: center; padding: 0 5vw; }
.po-dove { font-family: var(--titoli); font-size: clamp(44px, 6.6vw, 120px); line-height: .95; }
.po-quando { font-weight: 800; font-size: clamp(14px, 1.2vw, 19px); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.2vh; }
.po-riga { margin-top: 1.2vh; font-weight: 700; font-size: clamp(16px, 1.45vw, 23px); line-height: 1.3; }

/* ---------- 8 · Alessandro e Rebecca: i nove riquadri vivi ---------- */
#vivi { background: var(--fondo-scuro); }
.vi-g { position: absolute; }
.vi-t { position: absolute; overflow: hidden; background: #5A120F; visibility: hidden; }
.vi-t.su { visibility: inherit; }
.vi-t img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.vi-t img.su { visibility: inherit; }
.vi-parole { position: absolute; background: var(--rosso); color: var(--crema); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; gap: 1.2vh; visibility: hidden; }
.vi-parole.su { visibility: inherit; }
.vi-parole h2 { font-family: var(--titoli); font-weight: 400; font-size: clamp(19px, 3.1vw, 58px); line-height: 1; }
.vi-parole p { font-weight: 700; font-size: clamp(14px, 1.25vw, 21px); line-height: 1.3; }

/* ---------- 9 · l'ordine, le domande, la chiusura ---------- */
#chiusura { position: relative; z-index: 5; background: var(--crema); color: var(--scuro); padding: 9vh var(--lato) 0; overflow: hidden; overflow: clip; }
.ordina-sez { display: grid; grid-template-columns: 1fr auto; gap: 5vw; align-items: center; max-width: 1180px; margin: 0 auto 9vh; scroll-margin-top: 80px; }
.or-testo h2 { font-family: var(--titoli); font-weight: 400; font-size: clamp(50px, 7.4vw, 128px); line-height: .92; color: var(--rosso); }
.or-testo p { margin-top: 2.4vh; font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; line-height: 1.4; max-width: 24em; }
.or-testo .or-entro { font-family: var(--corsivo); font-style: italic; font-weight: 400; font-size: clamp(24px, 2.4vw, 38px); color: var(--rosso); }
.domande { max-width: 1180px; margin: 0 auto; }
.domande h2 { font-family: var(--titoli); font-weight: 400; line-height: 1; font-size: clamp(40px, 5vw, 80px); margin-bottom: 22px; color: var(--rosso); }
.domande details { border-top: 1.5px solid rgba(142, 31, 28, .3); }
.domande details:last-child { border-bottom: 1.5px solid rgba(142, 31, 28, .3); }
.domande summary { list-style: none; cursor: pointer; padding: 15px 44px 15px 0; position: relative; font-size: clamp(18px, 1.5vw, 22px); font-weight: 800; line-height: 1.25; }
.domande summary::-webkit-details-marker { display: none; }
.domande summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 500; line-height: 1; }
.domande details[open] summary::after { content: '–'; }
.domande details p { padding: 0 44px 20px 0; font-size: 17px; line-height: 1.5; max-width: 46em; }
.ch-motto { max-width: 1180px; margin: 10vh auto 0; font-family: var(--titoli); font-size: clamp(46px, 7.5vw, 128px); line-height: .92; color: var(--rosso); }
.ch-griglia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5vw; max-width: 1180px; margin: 5vh auto 0; }
.ch-griglia .occhiello { margin-bottom: 14px; color: var(--rosso); }
.ch-griglia p { font-size: 18px; line-height: 1.45; margin-bottom: 14px; font-weight: 600; }
.ch-numero { font-family: var(--titoli); font-weight: 400 !important; font-size: clamp(34px, 3.8vw, 60px) !important; line-height: 1 !important; color: var(--rosso); white-space: nowrap; }
.ch-numero a { text-decoration: none; }
/* il nome enorme sale dal basso: chiaro, poi pieno di colpo (RISE) */
.ch-nome { margin: 7vh 0 0; height: calc(90vw * 413 / 2075 + 3vh); overflow: hidden; }
.ch-nome img { width: 100%; height: auto; opacity: .2; will-change: transform; }
.ch-nome.pieno img { opacity: 1; }
.piede-film { position: relative; z-index: 5; background: var(--crema); color: var(--scuro); padding: 3vh var(--lato) 3vh; font-size: 14px; line-height: 1.6; font-weight: 600; }
.piede-film p { margin-bottom: 10px; }
.pf-legale { display: flex; gap: 8px 26px; flex-wrap: wrap; }
.pf-legale a, .pf-legale button { font-size: 14px; text-decoration: underline; text-underline-offset: 4px; padding: 8px 0; font-weight: 600; }
.pf-nota { opacity: .85; max-width: 60em; }
#lg-banner { background: var(--rosso) !important; }

/* ---------- telefono ---------- */
@media (max-width: 759px) {
  :root { --lato: 6vw; }
  .ordina { height: 42px; padding: 0 16px; font-size: 15px; }
  #testa { height: 60px; padding: 0 10px 0 12px; gap: 10px; }
  .te-logo img { height: 24px; } .te-tel { display: none; }
  .vg-testa { bottom: 4vh; } .vg-scorri { display: none; }
  #viaggio h1 { font-size: 16px; }
  .vg-scr { font-size: clamp(40px, 12.4vw, 58px); top: 12vh; left: 3vw; right: 3vw; }
  .mn-titolo { left: 6vw; top: 12vh; font-size: clamp(50px, 16.4vw, 80px); }
  .mn-corsivo { left: 6.5vw; top: calc(12vh + clamp(50px, 16.4vw, 80px) * 2.02); font-size: clamp(26px, 7.6vw, 36px); }
  .mn-passo { font-size: clamp(40px, 12.4vw, 60px); }
  .mn-passo.uno { top: 12vh; } .mn-passo.due { top: 72vh; }
  .mn-b .mn-col.s { display: none; }
  .mn-c .mn-titolo { top: 12vh; font-size: clamp(44px, 13.6vw, 66px); }
  .mn-c .mn-col.s { left: 6vw; right: 6vw; top: auto; bottom: 4vh; max-width: none; } .mn-c .mn-col.d { display: none; }
  .gi-scr { font-size: clamp(32px, 9.6vw, 46px); bottom: 4vh; } .gi-scr.alto { top: 10vh; }
  .ab-invito h2 { font-size: clamp(40px, 12.6vw, 60px); padding: 0 4vw; }
  .ab-c, .ab-c:nth-child(even) { flex-direction: column; gap: 3vh; padding: 70px 6vw 9vh; text-align: center; }
  .ab-c img { width: min(38vh, 78vw); height: min(38vh, 78vw); }
  .ab-c p { font-size: clamp(38px, 11.6vw, 54px); max-width: none; }
  .ab-riga { font-size: 22px; bottom: 3vh; }
  .gr-nome { font-size: clamp(26px, 8vw, 38px); }
  #box { padding: 64px 5vw 1.5vh; gap: 1.4vh; justify-content: flex-start; }
  .bx-titolo { font-size: clamp(32px, 9.6vw, 44px); margin-bottom: 2.2vh; }
  .bx-due { margin-top: 2vh; flex-direction: column; gap: 4.4vh; align-items: center; }
  .bx-s { flex: none; width: 100%; max-width: 420px; gap: .8vh 14px; }
  .bx-scatola { aspect-ratio: 2.9; }
  .bx-prezzo { font-size: clamp(40px, 12vw, 54px); }
  .bx-s li { font-size: 14px; padding: 2px 0; line-height: 1.25; }
  .bx-fine { gap: 6px 14px; } .bx-fine .bottone { min-height: 46px; padding: 8px 22px; }
  .po-f.casella { flex-direction: column; align-items: stretch; }
  .po-f.casella img { flex: 1 1 0; width: 100%; height: auto; min-height: 0; object-position: 20% 36%; }
  .po-f.casella > div { padding: 1.6vh 6vw 1.8vh; flex: none; }
  .po-f.piazza > div { padding: 0 6vw; }
  .po-dove { font-size: clamp(38px, 11.6vw, 54px); }
  .po-riga { font-size: 15px; margin-top: .7vh; } .po-quando { font-size: 13px; margin-bottom: .6vh; }
  .vi-parole { padding: 6px; }
  .vi-parole h2 { font-size: clamp(18px, 5.4vw, 24px); }
  .vi-parole p { font-size: 14px; line-height: 1.22; }
  #chiusura { padding-top: 6vh; }
  .ordina-sez { grid-template-columns: 1fr; gap: 3vh; margin-bottom: 6vh; }
  .or-testo h2 { font-size: clamp(46px, 14vw, 64px); }
  .domande h2 { margin-bottom: 12px; }
  .domande summary { padding: 12px 40px 12px 0; font-size: 17px; }
  .ch-motto { margin-top: 6vh; font-size: clamp(42px, 13vw, 60px); }
  .ch-griglia { grid-template-columns: 1fr; gap: 2vh; margin-top: 3vh; }
  .ch-griglia p { font-size: 16.5px; margin-bottom: 8px; }
  .ch-griglia .occhiello { margin-bottom: 8px; }
  .ch-nome { margin-top: 4vh; }
}
@media (max-width: 759px) and (max-height: 700px) {
  .bx-scatola { aspect-ratio: auto; height: 13.5vh; } .bx-p { width: auto; height: 90%; } .bx-due { gap: 3.4vh; } .bx-titolo { margin-bottom: 1.6vh; font-size: 30px; }
  .bx-fine small { font-size: 12px; } .vi-parole p { font-size: 12.5px; }
}
@media (orientation: landscape) and (max-height: 560px) {
  .mn-titolo { font-size: 17vh; top: 18vh; } .mn-corsivo { top: 56vh; font-size: 8vh; } .vg-scr, .gi-scr { font-size: 14vh; } .ab-invito h2 { font-size: 15vh; }
  .ab-c p { font-size: 12vh; } .mn-passo { font-size: 13vh; } .mn-c .mn-titolo { font-size: 14vh; } .po-dove { font-size: 12vh; } .bx-titolo { font-size: 9vh; } .bx-scatola { max-height: 22vh; }
}
@media (prefers-reduced-motion: reduce) { .batt, .batt.su { transition-duration: .01s; transition-delay: 0s; } .ca-rot { animation: none; } }
/* la penna (?regia): i testi del palco si lasciano cliccare solo a penna accesa */
body.penna-on .strato.vivo [data-pn]:not(.batt), body.penna-on .strato.vivo .batt.su[data-pn] { pointer-events: auto; }
#lg-banner .lg-marchio img { width: 168px; height: auto; margin: 0 auto 12px; padding: 14px 20px; background: var(--rosso); border-radius: 999px; }
/* il pannello dei cookie coi caratteri e il rosso di Pititto's */
#lg-banner .lg-carta, #lg-banner .lg-carta p, #lg-banner .lg-carta li { font-family: var(--testo); font-weight: 500; color: #4A1210; }
#lg-banner .lg-tit, #lg-doc .lg-testa h2 { font-family: var(--titoli) !important; font-weight: 400 !important; letter-spacing: -.005em !important; color: var(--rosso) !important; }
#lg-banner .lg-bottoni button, #lg-banner #lg-salva { font-family: var(--testo) !important; font-weight: 800 !important; font-size: 13px !important; letter-spacing: .06em !important; border-radius: 999px !important; border-color: var(--rosso) !important; }
#lg-banner #lg-tutti, #lg-banner #lg-salva { background: var(--rosso) !important; color: var(--crema) !important; }
#lg-banner #lg-necessari, #lg-banner .lg-bottoni button:not(#lg-tutti) { background: none !important; color: var(--rosso) !important; }
#lg-banner .lg-apri { font-family: var(--testo) !important; font-weight: 600; color: var(--scuro); }
