/* Antropotech — the page over the world. Tokens first; every part after, in the order
   it is met going down. Only transforms and opacity move. */
:root {
  --rosa: #EFDDDA; --pietra: #E6CFC6; --lilla: #B8A9CC; --carta: #F0EDEA;
  --ink: #212121; --grigio: #424242; --menta: #B3F5A0; --pesca: #F2B8A0; --abisso: #0B0B0D;
  --testo: var(--ink); --fondo: #fff;
  --strato: 120 90 140;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --molla: cubic-bezier(.2, .8, .2, 1);
  --bordo: clamp(16px, 2.1vw, 32px);
}
html.scuro { --testo: #F3EEF7; --fondo: #17141f; --strato: 150 170 255; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--rosa); -webkit-text-size-adjust: 100%; scrollbar-width: none; }
/* the page never reloads under the finger: no pull to refresh, no rubber band at its ends (the journey is driven by
   its own scroll, main.js) */
html, body { overscroll-behavior: none; }
/* the page that is not there (404.html): only the mark, the title and the 404 rising from the sea; nothing of the
   journey's furniture (the bar below, the button, the language, the menu) */
html.introvabile :is(.barra > .rotta, .barra > .novita, .barra-cosmo, .testa-nav, .sez:not(.s-index), .tappa) { display: none !important; }
/* as soon as it scrolls, the line over the title and the word «scroll» go up in smoke with the title */
html.introvabile .s-index :is(.s-index-occhiello, .s-index-via) { transition: opacity 1.1s ease, filter 1.3s ease, translate 1.6s cubic-bezier(.2, .8, .2, 1); }
html.introvabile.scorre404 .s-index :is(.s-index-occhiello, .s-index-via) { opacity: 0 !important; filter: blur(12px); translate: 0 -28px; }
/* its way back: the first page's button, where that button stands, rising once the title has gone */
.via404 { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(var(--bordo) + 58px + 3.4rem); display: flex; justify-content: center; perspective: 900px;
  opacity: 0; translate: 0 26px; pointer-events: none; transition: opacity .9s ease, translate 1.1s var(--molla); }
html.vedi-torna .via404 { opacity: 1; translate: 0 0; }
html.vedi-torna .via404 .viaggio { pointer-events: auto; }
html:not(.vedi-torna) #sito .via404 .viaggio { pointer-events: none; }   /* hidden, it cannot be pressed */
/* a tap never shows its box, and a long press on a control opens no menu: on a phone the site is touched as it is
   pointed at with a mouse (ui/dito.js) */
html { -webkit-tap-highlight-color: transparent; }
a, button, [role="button"], .bottone-4d, label, .lingua { -webkit-touch-callout: none; touch-action: manipulation; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; font-family: var(--sans); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
#mondo { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
#pagina { position: relative; width: 1px; pointer-events: none; }
#sito { position: fixed; inset: 0; z-index: 2; pointer-events: none; color: var(--testo); transition: color .7s; opacity: 0; visibility: hidden; }
html.dentro #sito { opacity: 1; visibility: visible; transition: color .7s, opacity 1.2s .2s; }
/* the page drawn again in another language stands at once as it was: no section or word rises again (main.js) */
html.lingua-nuova #sito, html.lingua-nuova #sito *:not(.lingua-goccia, .lingua-voce) { transition: none !important; }
#sito a, #sito button, #sito input, #sito textarea, #sito select, .scheda { pointer-events: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; padding: 0; font-weight: inherit; }
ol, ul { list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--menta); outline-offset: 3px; border-radius: 6px; }
html.con-cursore, html.con-cursore a, html.con-cursore button, html.con-cursore .scheda { cursor: none; }
.frase { display: block; }
.freccia { width: .72em; height: .72em; flex: none; }

/* words rise out of their masks */
.riga { display: block; }
.par { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .04em .16em; margin: -.06em -.04em -.16em; }
.par i { display: inline-block; font-style: inherit; transform: translateY(125%); transition: transform 1s var(--molla); transition-delay: calc(var(--i, 0) * 42ms); }
.dentro .par i { transform: none; }
.occhiello { text-transform: uppercase; letter-spacing: .08em; font-size: clamp(.7rem, .92vw, .98rem); font-weight: 500; }

/* liquid words: upright at rest, italic serif under the hand */
.pl { position: relative; display: inline-block; }
.pl-b { position: absolute; left: 50%; top: 50%; translate: -50% -52%; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.14em; white-space: nowrap; opacity: 0; }
.pl.corsivo .pl-a { opacity: 0; }
.pl.corsivo .pl-b { opacity: 1; }
/* a calm word: the two shapes cross-fade, nothing tears */
.pl.calma .pl-a, .pl.calma .pl-b { transition: opacity .45s cubic-bezier(.4, 0, .2, 1); }

/* glass */
.vetro {
  position: relative; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .6);
  background: linear-gradient(150deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 0 rgba(120, 90, 140, .18), 0 2px 0 rgba(120, 90, 140, .13), 0 3px 0 rgba(120, 90, 140, .08), 0 26px 50px -22px rgba(70, 40, 90, .45);
}
html.scuro .vetro, .vetro.scuro {
  border-color: rgba(205, 220, 255, .26);
  background: linear-gradient(150deg, rgba(120, 140, 210, .3), rgba(10, 12, 30, .74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 0 rgba(150, 170, 255, .2), 0 2px 0 rgba(150, 170, 255, .13), 0 3px 0 rgba(150, 170, 255, .07), 0 30px 70px -26px rgba(0, 0, 0, .7);
}
.q4d-luce { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.q4d-luce i { position: absolute; left: -60%; top: -60%; width: 220%; height: 220%; opacity: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 30%); }

/* pills */
.pill {
  --ox: 50%; --oy: 50%;
  position: relative; isolation: isolate; display: inline-flex; overflow: hidden; border: 0; border-radius: 999px;
  padding: .82em 1.5em; background: #fff; color: var(--ink); font-size: clamp(.95rem, 1.05vw, 1.1rem); font-weight: 500; line-height: 1.25;
  box-shadow: 0 1px 0 rgba(var(--strato) / .3), 0 2px 0 rgba(var(--strato) / .22), 0 3px 0 rgba(var(--strato) / .14), 0 14px 26px -12px rgba(60, 30, 70, .4);
  transition: color .35s;
}
.pill::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--ink); clip-path: circle(0% at var(--ox) var(--oy)); transition: clip-path .55s var(--molla); }
.pill:is(:hover, .dito), .pill:focus-visible { color: #fff; }
.pill:is(:hover, .dito)::before, .pill:focus-visible::before { clip-path: circle(160% at var(--ox) var(--oy)); }
.pill-dentro { position: relative; display: block; overflow: hidden; }
.pill-t { display: flex; align-items: center; gap: .55em; transition: transform .55s var(--molla); white-space: nowrap; }
.pill-t2 { position: absolute; left: 0; top: 0; transform: translateY(110%); }
.pill:is(:hover, .dito) .pill-t, .pill:focus-visible .pill-t { transform: translateY(-110%); }
.pill:is(:hover, .dito) .pill-t2, .pill:focus-visible .pill-t2 { transform: none; }
.pill .freccia { transition: transform .55s var(--molla); }
.pill:is(:hover, .dito) .freccia { transform: translate(.18em, .12em); }

/* ── top bar ── */
.testa { position: absolute; z-index: 30; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; padding: var(--bordo); }
.marchio { display: flex; align-items: center; gap: .6em; font-size: clamp(1.05rem, 1.35vw, 1.4rem); font-weight: 500; letter-spacing: .16em; }
/* the mark: its name always in capitals */
.marchio-nome { text-transform: uppercase; }
.marchio-segno { width: 1.55em; height: 1.55em; transition: transform 1.2s var(--molla); }
.marchio:is(:hover, .dito) .marchio-segno { transform: rotate(360deg); }
.testa-nav { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.7rem); font-size: clamp(.95rem, 1.12vw, 1.18rem); }
/* the menu: a white pill that reads «Menu», as tall as the language beside it, the same open or closed */
.menu-bottone { position: relative; height: 44px; padding: 0 1.3rem; border: 0; border-radius: 999px; background: none; display: grid; place-items: center; margin-left: .2rem; }
.mb-fondo { position: absolute; inset: 0; border-radius: 999px; background: #fff; transition: transform .5s var(--molla), background .4s; box-shadow: 0 1px 0 rgba(var(--strato) / .3), 0 2px 0 rgba(var(--strato) / .2), 0 10px 20px -10px rgba(60, 30, 70, .45); }
.menu-bottone:is(:hover, .dito) .mb-fondo { transform: scale(1.06); }
.mb-t { position: relative; color: var(--ink); font-size: .92rem; font-weight: 500; letter-spacing: .02em; line-height: 1; transition: color .4s; }

/* ── the parts of the journey ── */
.sezioni { position: absolute; inset: 0; }
.sez { position: absolute; inset: 0; perspective: 1300px; visibility: hidden; opacity: 0; transition: opacity .55s, visibility 0s .55s; }
.sez.dentro { visibility: visible; opacity: 1; transition: opacity .7s; }
.blocco4d { transform-style: preserve-3d; }
.profondo { transform: translateZ(46px); }
.grande, .enorme {
  text-shadow: 0 8px 28px rgba(20, 8, 44, .32);
}
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* index */
.s-index-occhiello { position: absolute; left: 0; right: 0; top: 33.5%; text-align: center; translate: 0 -100%; }
/* «Inizia il viaggio» stands at the foot of the first page, above the navbar, where the hint was; the hint is over it.
   It never moves by itself: only toward the hand, a little, when the hand comes near (sito.js) */
.s-index-via { position: absolute; left: 0; right: 0; bottom: calc(var(--bordo) + 58px + 3.4rem); display: flex; flex-direction: column; align-items: center; gap: .85rem; opacity: 0; transition: opacity .8s .5s; }
.s-index.dentro .s-index-via { opacity: 1; }
.s-index-via .scorri { position: static; gap: .45rem; font-size: .62rem; }
.s-index-via .scorri i { height: 24px; }
/* its look is the one of every big button (bottone4d.css): here only its ring of light and its reach */
.viaggio { position: relative; }
/* the target is wider than the look: the hand never has to aim */
.viaggio::after { content: ""; position: absolute; inset: -14px -24px; border-radius: 999px; }
/* the invitation: a ring of light that leaves it, slowly, while nobody touches it */
.viaggio::before { content: ""; position: absolute; inset: -1px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .7); pointer-events: none; animation: viaggio-alone 2.8s var(--molla) infinite; }
.viaggio:is(:hover, .dito)::before, .viaggio.premuto::before, .viaggio.b4-vivo::before { animation: none; opacity: 0; }
@keyframes viaggio-alone { 0% { transform: scale(1); opacity: .75; } 70%, 100% { transform: scale(1.16, 1.42); opacity: 0; } }
.scorri { position: absolute; left: 0; right: 0; bottom: calc(var(--bordo) + 4.6rem); display: flex; flex-direction: column; align-items: center; gap: .7rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.scorri i { width: 1px; height: 34px; background: currentColor; transform-origin: top; animation: scorri 2.2s var(--molla) infinite; }
@keyframes scorri { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1) translateY(100%); opacity: 0; } }

/* manifesto */
.s-manifesto { display: flex; align-items: flex-end; padding: 0 var(--bordo) calc(var(--bordo) + 5.4rem); }
.s-manifesto .blocco4d { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 4rem; width: 100%; flex-wrap: wrap; transform-origin: 20% 80%; padding-right: clamp(.5rem, 2vw, 2.4rem); }
.grande { font-family: var(--serif); font-size: clamp(2.5rem, 6.3vw, 6.6rem); line-height: .97; letter-spacing: -.02em; font-weight: 400; }
.grande .gruppo { display: block; }
.grande .gruppo:first-child { font-style: italic; }
.grande .gruppo:last-child { font-family: var(--sans); font-weight: 500; letter-spacing: -.045em; font-size: .9em; line-height: 1.02; margin-top: .12em; }
.grande em { font-size: 1.12em; }
.testo { max-width: 33ch; font-size: clamp(1rem, 1.3vw, 1.3rem); line-height: 1.38; opacity: 0; translate: 0 24px; transition: opacity .8s .5s, translate 1s var(--molla) .5s; padding-bottom: .6rem; }
.testo .frase + .frase { margin-top: .7em; }
.dentro .testo { opacity: 1; translate: 0 0; }

/* three pillars */

/* ecosystem */
.filtri { position: absolute; z-index: 4; left: 0; right: 0; width: max-content; margin-inline: auto; top: calc(var(--bordo) + 4.2rem); display: flex; gap: .3rem; padding: .32rem; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 0 rgba(150, 170, 255, .3), 0 2px 0 rgba(150, 170, 255, .2), 0 16px 30px -14px rgba(0, 0, 0, .55); opacity: 0; transition: opacity .6s .3s; max-width: calc(100vw - 2 * var(--bordo)); overflow-x: auto; scrollbar-width: none; }
.dentro .filtri { opacity: 1; }
.filtro { flex: none; border: 1px solid rgba(0, 0, 0, .12); border-radius: 999px; padding: .42em .95em; background: transparent; color: var(--ink); font-size: clamp(.82rem, .95vw, .98rem); transition: background .3s, color .3s, border-color .3s; }
.filtro sup { font-size: .62em; margin-left: .25em; }
.filtro:is(:hover, .dito):not(.attivo) { background: #CACACA; border-color: #CACACA; }
.filtro.attivo { background: transparent; color: #fff; border-color: transparent; }
/* the filters in 4D: each choice lifts toward the hand, its count leaps a little; the chosen one sits on a dark drop
   that slides from choice to choice with a soft spring */
.filtri { perspective: 640px; transform-style: preserve-3d; }
.filtri .filtro { position: relative; z-index: 1; transform: translateZ(0); transition: background .3s, color .35s, border-color .3s, transform .5s var(--molla), box-shadow .5s var(--molla); }
.filtri .filtro:is(:hover, .dito), .filtri .filtro:focus-visible { transform: translateZ(24px) translateY(-2px) scale(1.06); box-shadow: -2px 3px 0 rgba(196, 150, 236, .55), -4px 6px 0 rgba(134, 88, 194, .35); outline: none; }
.filtri .filtro.attivo:is(:hover, .dito) { box-shadow: none; }
.filtri .filtro sup { display: inline-block; transition: transform .5s var(--molla); }
.filtri .filtro:is(:hover, .dito) sup { transform: translate(1px, -3px) scale(1.15); }
.filtri-goccia { position: absolute; z-index: 0; top: .32rem; bottom: .32rem; left: 0; width: var(--gw, 0); translate: var(--gx, 0) 0; border-radius: 999px; background: var(--ink); pointer-events: none;
  box-shadow: 0 6px 16px -6px rgba(20, 8, 44, .55); transition: translate .6s var(--molla), width .6s var(--molla); }
/* on a wide screen the filters stand in the header's own row, level with its words */
@media (min-width: 1360px) { .filtri { top: calc(var(--bordo) + 22px); translate: 0 -50%; } }
/* on a phone the five kinds stand whole in the bar, none hidden past its edge */
@media (max-width: 520px) { .filtri { gap: .08rem; padding: .26rem; } .filtro { font-size: clamp(.56rem, 2.6vw, .76rem); padding: .44em .5em; } .filtro sup { margin-left: .12em; } .filtri-goccia { top: .26rem; bottom: .26rem; } }
@media (prefers-reduced-motion: reduce) { .filtri-goccia, .filtri .filtro { transition: none; } }
.eco-finestra { position: absolute; inset: calc(var(--bordo) + 7.6rem) 0 0; perspective: 1300px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 9%, #000 84%, transparent); }
.eco-griglia { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.8rem) clamp(1.2rem, 2.6vw, 2.6rem); width: min(100% - 2 * var(--bordo), 1160px); margin: 0 auto; padding-top: 9vh; transform-origin: 50% 35%; will-change: transform; }
.scheda { opacity: 0; translate: 0 70px; transition: opacity .7s, translate 1s var(--molla); transition-delay: calc(var(--n, 0) * 70ms); cursor: pointer; }
.s-eco.dentro .scheda { opacity: 1; translate: 0 0; }
.scheda.via { display: none; }
.scheda-vetro { aspect-ratio: 16 / 8.6; border-radius: 16px; overflow: hidden; }
.scheda-num { position: absolute; left: 1.1rem; bottom: .2rem; font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 8vw, 8rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(235, 240, 255, .75); transition: color .5s; }
.scheda:is(:hover, .dito) .scheda-num, .scheda:focus-visible .scheda-num { color: var(--menta); -webkit-text-stroke-color: var(--menta); }
.scheda-tag { position: absolute; right: .9rem; top: .9rem; padding: .3em .8em; border: 1px solid rgba(235, 240, 255, .5); border-radius: 999px; font-size: .74rem; letter-spacing: .04em; }
.scheda-nome { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: .85rem .15rem .7rem; }
.scheda-nome h3 { font-size: clamp(1.02rem, 1.25vw, 1.3rem); font-weight: 600; letter-spacing: -.02em; }
.scheda-nome p { font-size: clamp(.98rem, 1.2vw, 1.25rem); opacity: .82; }
.scheda-nome .freccia { margin-bottom: .35rem; transition: transform .55s var(--molla); }
.scheda:is(:hover, .dito) .scheda-nome .freccia { transform: translate(.3em, .3em); }
.scheda-linea { position: relative; display: block; height: 1px; background: rgba(235, 240, 255, .4); }
.scheda-linea::after { content: ""; position: absolute; inset: -1px 0 0; background: linear-gradient(90deg, var(--menta), var(--pesca), var(--lilla)); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--molla); }
.scheda:is(:hover, .dito) .scheda-linea::after, .scheda:focus-visible .scheda-linea::after { transform: none; }

/* the closing line, in the dark */
.s-chiusura { display: grid; place-items: center; text-align: center; padding: 0 var(--bordo); }
.enorme { font-family: var(--sans); font-weight: 500; font-size: clamp(2.6rem, 8.4vw, 9.4rem); line-height: .94; letter-spacing: -.045em; }
.enorme em { font-size: 1.1em; }
.s-chiusura .riga:first-child { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.08em; }

/* cosmos */
.s-cosmo .occhiello { position: absolute; left: 0; right: 0; top: calc(var(--bordo) + 4.6rem); text-align: center; letter-spacing: .3em; }
.cosmo-invito { position: absolute; left: 0; right: 0; top: calc(var(--bordo) + 6.6rem); display: flex; flex-direction: column-reverse; align-items: center; gap: .6rem; font-size: clamp(.82rem, 1vw, 1rem); opacity: .82; }
.cosmo-invito i { width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; animation: polso 2.4s ease-in-out infinite; }
@keyframes polso { 0%, 100% { transform: scale(.6); opacity: .3; } 50% { transform: scale(1); opacity: 1; } }
.pianeti { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pianeta { position: absolute; left: 0; top: 0; width: clamp(104px, 11vw, 150px); aspect-ratio: 1; border: 0; border-radius: 50%; background: none; color: #F3EEF7; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; opacity: 0; pointer-events: none !important; transition: opacity .6s; will-change: transform; }
.pianeta.si { opacity: 1; pointer-events: auto !important; }
.pianeta b { position: absolute; left: 50%; top: calc(50% + 3rem); translate: -50% 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.05rem, 1.5vw, 1.5rem); line-height: 1.1; white-space: nowrap; transition: translate .5s var(--molla), letter-spacing .5s var(--molla); text-shadow: -1px 1px 2.4px rgba(150, 170, 255, 0.32), -2px 2px 4.8px rgba(150, 170, 255, 0.18); }
.pianeta small { position: absolute; left: 50%; top: calc(50% + 3rem + clamp(1.4rem, 1.9vw, 1.9rem)); translate: -50% 0; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--menta); white-space: nowrap; }
.pianeta:is(:hover, .dito) b, .pianeta:focus-visible b { font-style: italic; letter-spacing: .02em; translate: -50% .25rem; }

/* the end */
.s-fine { display: flex; align-items: flex-end; padding: 0 var(--bordo) calc(var(--bordo) + 4.8rem); }
.fine { width: 100%; transform-origin: 50% 100%; }
.fine .enorme { font-size: clamp(2.4rem, 7vw, 7.6rem); }
.fine .enorme .riga:last-child { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.fine-su { margin: 1.4rem 0 2.2rem; transform: translateZ(40px); }
.fine-griglia { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.2rem 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(235, 240, 255, .28); font-size: clamp(.9rem, 1.05vw, 1.08rem); transform: translateZ(22px); }
.fine-griglia div { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.fine-griglia small { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; opacity: .6; margin-bottom: .3rem; }
.fine-email { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 2.3rem); line-height: 1.1; }
.fine-email .pl-b { font-size: 1em; }

/* ── the panel ── */
.pannello { position: absolute; z-index: 12; top: 0; right: 0; bottom: 0; width: min(47vw, 640px); padding: calc(var(--bordo) + 3.9rem) var(--bordo) calc(var(--bordo) + 4.2rem) 0; perspective: 1400px; visibility: hidden; transition: visibility 0s .7s; color: #F3EEF7; }
.pannello.aperto { visibility: visible; transition: none; }
.pannello-vetro { height: 100%; display: flex; flex-direction: column; border-radius: 26px; opacity: 0; translate: 70px 0; transition: opacity .55s, translate .9s var(--molla); -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15); pointer-events: none; }
.pannello.aperto .pannello-vetro { opacity: 1; translate: 0 0; pointer-events: auto; }
.pannello-chiudi { align-self: flex-start; margin: 1.1rem 1.3rem .2rem; padding: .5em 1.1em; border: 1px solid rgba(235, 240, 255, .4); border-radius: 999px; background: none; font-size: .86rem; letter-spacing: .02em; transition: background .3s, color .3s; }
.pannello-chiudi span { display: inline-block; transition: transform .5s var(--molla); }
.pannello-chiudi:is(:hover, .dito) { background: #F3EEF7; color: var(--ink); }
.pannello-chiudi:is(:hover, .dito) span { transform: translateX(-.3em); }
/* no bar at the side: the open card is laid out to stand in its sheet, and if a little is left it still glides under
   the wheel or the finger */
.pannello-corpo { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1rem clamp(1.2rem, 2.4vw, 2.2rem) 1.4rem; scrollbar-width: none; }
.pannello-corpo::-webkit-scrollbar { display: none; }
.pannello-corpo .occhiello { font-size: .66rem; letter-spacing: .2em; color: var(--menta); }
.pannello-corpo .occhiello span { color: #F3EEF7; opacity: .6; }
.pannello-titolo { font-family: var(--serif); font-size: clamp(2.1rem, 3.5vw, 3.6rem); line-height: 1; margin: .45rem 0 .7rem; letter-spacing: -.01em; }
/* ── the card in four dimensions ──
   Untouched it already stands turned toward the middle of the screen (quattrod riposo), its pieces apart. As the
   hand moves over it the pieces part (--vx --vy, sito.js): the light and the orbit behind go one way, the title,
   the words and the button the other, each by its own depth. The title stands out in layers of violet toward the
   side the card turns away from (--vex --vey). Opening, a sheet of the evening's colours sweeps across carrying the
   card's name, the orbit switches on with a flicker, the eyebrow is written, the title rises word by word, the
   words and the button slide in. */
.pannello-vetro { position: relative; isolation: isolate; overflow: hidden; }
.pv-luce { position: absolute; z-index: -1; left: -90px; bottom: -110px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 186, 214, .34), rgba(233, 160, 255, .12) 55%, rgba(233, 160, 255, 0)); pointer-events: none;
  translate: calc(var(--vx, 0) * -28px) calc(var(--vy, 0) * -20px); transition: translate .9s var(--molla); }
.pv-orbita { position: absolute; z-index: -1; right: 22px; top: 18px; width: 116px; height: 116px; opacity: 0; pointer-events: none;
  translate: calc(var(--vx, 0) * -16px) calc(var(--vy, 0) * -11px); transition: translate .75s var(--molla); }
.pv-orbita svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 7px #E9A0FF) drop-shadow(0 0 16px rgba(255, 150, 200, .8)); }
.pv-orbita circle { fill: none; stroke: #FBEFFF; stroke-width: 2.2; }
.pv-orbita circle + circle { stroke-width: 1.4; opacity: .7; }
.pv-orbita .pv-punto, .pv-orbita .pv-cuore { fill: #FBEFFF; stroke: none; opacity: 1; }
.pannello.aperto .pv-orbita { animation: pv-neon 1.1s ease .6s forwards; }
@keyframes pv-neon { 0% { opacity: 0; } 100% { opacity: .9; } }
.pannello-chiudi { position: relative; z-index: 3; opacity: 0; transition: opacity .3s, background .3s, color .3s; box-shadow: -1.5px 2px 0 rgba(170, 120, 214, .55), -3px 4px 0 rgba(110, 68, 166, .45); }
.pannello.aperto .pannello-chiudi { opacity: 1; transition-delay: .7s, 0s, 0s; }
.pannello-corpo .occhiello { clip-path: inset(-30% 100% -30% 0); translate: calc(var(--vx, 0) * 6px) calc(var(--vy, 0) * 4px); transition: translate .7s var(--molla); }
.pannello.aperto .pannello-corpo .occhiello { clip-path: inset(-30% -5% -30% 0); transition: clip-path .7s cubic-bezier(.4, 0, .2, 1) .82s, translate .7s var(--molla); }
.pannello-titolo { translate: calc(var(--vx, 0) * 14px) calc(var(--vy, 0) * 10px); transition: translate .65s var(--molla); }
.pannello-titolo .par { padding: .06em .14em .22em .1em; margin: -.06em -.14em -.22em -.1em; }
.pannello-titolo .par i { transition: transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.86s + var(--i, 0) * 60ms);
  text-shadow: 0 6px 20px rgba(20, 8, 44, .4); }
/* the page is .dentro, which lifts every word: the card's title waits for its own opening */
.pannello:not(.aperto) .pannello-titolo .par i { transform: translateY(125%); transition: none; }
.pannello-intro, .pannello-corpo .voce { clip-path: inset(0 100% 0 0); }
.pannello-intro { translate: calc(var(--vx, 0) * 7px) calc(var(--vy, 0) * 5px); transition: translate .75s var(--molla); }
.pannello-corpo .voce { translate: calc(var(--vx, 0) * 4px) calc(var(--vy, 0) * 3px); transition: translate .8s var(--molla); }
.pannello.aperto .pannello-intro { clip-path: inset(0 0 0 0); transition: clip-path .8s cubic-bezier(.65, 0, .35, 1) 1.05s, translate .75s var(--molla); }
.pannello.aperto .pannello-corpo .voce { clip-path: inset(0 0 0 0); transition: clip-path .9s cubic-bezier(.65, 0, .35, 1) 1.15s, translate .8s var(--molla); }
/* the button slides in from behind a mask that cuts only on the left, so in 4D it can come forward and show its
   thickness; under the hand the evening's colours fill it */
.pannello-azioni { margin: .8rem -1rem 0; padding: 1rem 1rem 1.2rem; translate: calc(var(--vx, 0) * 11px) calc(var(--vy, 0) * 8px); transition: translate .65s var(--molla); }
.pannello-azioni .pill { translate: -140% 0; transition: translate .4s var(--molla), color .35s;
  box-shadow: -2px 3px 0 rgba(222, 186, 240, .95), -4px 6px 0 rgba(170, 120, 214, .8), -6px 9px 0 rgba(110, 68, 166, .6), 0 20px 34px -14px rgba(20, 8, 40, .7); }
.pannello.aperto .pannello-azioni .pill { translate: 0 0; transition: translate .75s cubic-bezier(.16, 1, .3, 1) 1.25s, color .35s; }
.pannello-azioni .pill::before { background: linear-gradient(115deg, #FFC4D6 0%, #E9A0FF 52%, #9F8BFF 100%); }
.pannello-azioni .pill:is(:hover, .dito), .pannello-azioni .pill:focus-visible { color: #3B2A5C; }
/* the sheet of the evening crossing the card with its name */
.pv-cartello { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; overflow: hidden; border-radius: inherit; pointer-events: none; clip-path: inset(0 0 0 100%);
  background: linear-gradient(115deg, #FFC4D6 0%, #E9A0FF 50%, #9F8BFF 100%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8); }
.pv-cartello-t { padding-left: 1.4rem; font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 6vw, 6rem); line-height: .9; white-space: nowrap; color: #fff;
  text-shadow: 0 4px 18px rgba(122, 72, 180, .45); }
.pannello.aperto .pv-cartello { animation: pv-passa .84s cubic-bezier(.7, 0, .25, 1) .12s forwards; }
.pannello.aperto .pv-cartello-t { animation: pv-scorre .84s cubic-bezier(.3, 0, .2, 1) .12s forwards; }
@keyframes pv-passa { 0% { clip-path: inset(0 0 0 100%); } 42% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes pv-scorre { from { transform: translateX(30%); } to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) {
  .pannello.aperto .pv-cartello { animation: none; }
  .pannello.aperto .pv-orbita { animation: none; opacity: .9; }
  .pannello-corpo .occhiello, .pannello-intro, .pannello-corpo .voce { clip-path: none; }
  .pannello-azioni .pill, .pannello-titolo .par i { translate: none; transform: none; }
}
.pannello-intro { font-size: clamp(1.02rem, 1.25vw, 1.22rem); line-height: 1.38; }
.pannello-corpo blockquote { margin: 1.5rem 0; padding-left: 1.1rem; border-left: 2px solid var(--menta); font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.9vw, 1.8rem); line-height: 1.2; color: #FFE1D3; }
.voce { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid rgba(235, 240, 255, .18); }
.voce h4 { font-family: var(--serif); font-size: clamp(1.3rem, 1.7vw, 1.65rem); line-height: 1.1; margin-bottom: .45rem; }
.voce h4 sup { font-family: var(--sans); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; margin-left: .7em; padding: .3em .7em; border: 1px solid var(--menta); border-radius: 999px; color: var(--menta); vertical-align: middle; }
.voce p { font-size: clamp(.94rem, 1.05vw, 1.04rem); line-height: 1.42; opacity: .85; }
.persona { display: grid; grid-template-columns: minmax(96px, 150px) 1fr; gap: 1.1rem; margin-top: 1.6rem; align-items: start; }
.persona img { width: 100%; height: auto; border-radius: 14px; display: block; }
.persona b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.persona small { display: block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--menta); margin: .3rem 0 .6rem; }
.persona p { font-size: .94rem; line-height: 1.4; opacity: .85; }
.pannello-azioni { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; perspective: 900px; }
.modulo { margin-top: 1.4rem; display: grid; gap: .8rem; }
.due { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.campo { display: block; position: relative; }
.campo span { display: block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin-bottom: .35rem; }
.campo input, .campo textarea, .campo select { width: 100%; border: 1px solid rgba(235, 240, 255, .24); border-radius: 12px; background: rgba(235, 240, 255, .07); color: inherit; font: inherit; font-size: 1rem; padding: .68em .8em; transition: border-color .3s, background .3s; box-shadow: 0 1px 0 rgba(150, 170, 255, .16), 0 2px 0 rgba(150, 170, 255, .08); }
.campo select option { color: #111; }
.campo textarea { resize: vertical; min-height: 5.2em; }
.campo input:focus, .campo textarea:focus, .campo select:focus { outline: none; border-color: var(--menta); background: rgba(235, 240, 255, .12); }
.campo.male input, .campo.male textarea { border-color: #FF9C8A; animation: scossa .4s; }
@keyframes scossa { 25% { translate: -5px 0; } 60% { translate: 4px 0; } }
.modulo-errore { min-height: 1.2em; font-size: .86rem; color: #FFB6A6; }
.modulo-invia { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; perspective: 900px; }
.modulo-invia small { font-size: .78rem; opacity: .65; }
.modulo-piede { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .86rem; opacity: .75; margin-top: .6rem; }

/* ── menu ── */
.menu { position: absolute; z-index: 20; inset: 0; visibility: hidden; transition: visibility 0s .8s; }
.menu.aperto { visibility: visible; transition: none; }
.menu-velo { position: absolute; inset: 0; background: rgba(22, 16, 34, .3); opacity: 0; transition: opacity .6s; pointer-events: auto; }
.menu.aperto .menu-velo { opacity: 1; }
.menu-foglio { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, max(50vw, 540px)); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(5.6rem, 13vh, 8rem) clamp(1.4rem, 5vw, 5.4rem) clamp(1.4rem, 3vw, 2.6rem); background: var(--carta); color: var(--ink); transform: translateX(103%); transition: transform .85s var(--molla); pointer-events: auto; overflow-y: auto; }
.menu.aperto .menu-foglio { transform: none; }
.menu-foglio ol { display: grid; gap: .1rem; perspective: 1000px; }
.menu-foglio ol li { translate: 60px 0; opacity: 0; transition: translate .9s var(--molla), opacity .6s; transition-delay: calc(.12s + var(--i) * 60ms); }
.menu.aperto ol li { translate: 0 0; opacity: 1; }
.menu-foglio ol li a { display: inline-flex; align-items: flex-start; gap: .7rem; font-family: var(--serif); font-size: clamp(3rem, min(7vw, 11.5vh), 7rem); line-height: 1.04; letter-spacing: -.015em;
  position: relative; padding: .02em .3em .08em; margin-left: -.3em; border-radius: .3em; isolation: isolate; transition: color .4s; }
/* under the hand a voice stands out of the sheet: a white body rises behind it and its layers of violet open (--h,
   ui/bottone4d.js, strati), as on every button */
.menu-foglio ol li a::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: #fff; opacity: var(--h);
  box-shadow: var(--s4d-strati), 0 calc(18px + var(--h) * 12px) calc(30px + var(--h) * 12px) -14px rgba(40, 14, 70, calc(var(--h) * .5)); }
.menu-foglio ol li a:is(:hover, .dito), .menu-foglio ol li a:focus-visible { color: #3B2A5C; }
.menu-foglio sup { font-family: var(--sans); font-size: clamp(.8rem, 1vw, 1.05rem); margin-top: 1.1em; letter-spacing: 0; }
.menu-foglio .pl-a { font-family: var(--serif); }
.menu-foglio .pl-b { font-size: 1em; translate: -50% -50%; }
.menu-foglio a.qui { color: #D6D6D6; pointer-events: none !important; }
.menu-foglio a.qui .pl-a { font-family: var(--sans); font-weight: 400; letter-spacing: -.04em; text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .1em; }
/* the foot of the sheet: one block, its mail and number and under them the social marks, all on the same left edge as
   the voices above */
.menu-piede { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; font-size: clamp(.86rem, 1vw, 1.02rem); }
.menu-piede div { display: grid; gap: .3rem; }
/* the social links: their marks, large and clear, each a white body on its layers of violet */
.menu-social { display: flex; gap: .9rem; }
.menu-social .piede-icona { width: 54px; height: 54px; }
.menu-social .piede-icona svg { width: 25px; height: 25px; stroke-width: 1.8; }
.menu-email { display: inline-block; }
/* a phone upright: the voices large, as wide as the sheet allows («Antropotech Music» on one line) and as tall as the
   screen lets all seven stand with the mail and the marks */
@media (max-width: 600px) and (orientation: portrait) {
  .menu .menu-foglio ol li a { font-size: min(12vw, 6.4vh); }
}
/* a low screen (a phone on its side): the voices smaller, so the mail and the social links stand in the sheet too */
@media (orientation: landscape) and (max-height: 520px) {
  .menu .menu-foglio { padding-top: 4.6rem; padding-bottom: 1rem; gap: 1rem; }
  .menu .menu-foglio ol li a { font-size: 7.2vh; }
  .menu-foglio sup { margin-top: .7em; }
  .menu-social .piede-icona { width: 44px; height: 44px; }
  .menu-social .piede-icona svg { width: 21px; height: 21px; }
  /* little height: the marks stand beside the mail, still from the voices' left edge */
  .menu .menu-piede { flex-direction: row; align-items: center; gap: 1.6rem; }
}
.menu-piede a:is(:hover, .dito) { font-style: italic; }

/* ── bottom bar ── */
.barra { position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(10px, 1.1vw, 16px); padding: var(--bordo); pointer-events: none; }
/* three blocks, the way exactly in the middle: the sound on the left, the novelty on the right */
.barra > .lettore { justify-self: start; }
.barra > .rotta { grid-column: 2; }
.barra > .novita { grid-column: 3; justify-self: end; }
/* the sound switch: a speech bubble with four bars that move with what really comes out. Off, the bars lie low and
   a line crosses them; on, it fills with the rose and violet of the first page. It leans in depth (quattrod). */
.lettore { position: relative; flex: none; display: flex; align-items: center; justify-content: center; gap: 3px; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50% 50% 50% 0; cursor: pointer;
  color: #fff; background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1.6px rgba(255, 255, 255, .9), -2px 2px 0 rgba(150, 110, 200, .45), -4px 4px 0 rgba(110, 74, 168, .3), 0 12px 24px -12px rgba(30, 14, 60, .6);
  transition: background .5s, box-shadow .5s, color .4s; }
.lettore i { width: 3px; height: 17px; border-radius: 2px; background: currentColor; transform: scaleY(.28); transform-origin: 50% 50%; will-change: transform; }
.lettore::after { content: ""; position: absolute; left: 50%; top: 50%; width: 27px; height: 2.4px; margin: -1.2px 0 0 -13.5px; border-radius: 2px; background: currentColor; transform: rotate(-45deg); box-shadow: 0 0 0 1.5px rgba(60, 34, 104, .35); transition: opacity .3s, transform .45s var(--molla); }
.lettore.acceso { background: linear-gradient(135deg, #FFC4D6 0%, #E9A0FF 48%, #9F8BFF 100%); color: #3B2A5C; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), -2px 2px 0 rgba(176, 96, 200, .55), -4px 4px 0 rgba(122, 62, 168, .4), 0 14px 28px -12px rgba(120, 60, 170, .7); }
.lettore.acceso::after { opacity: 0; transform: rotate(-45deg) scaleX(.2); }
.lettore:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* with the music it breathes: a slight swell and a soft halo (--batte, written each frame by sito.js) */
.lettore { scale: calc(1 + var(--batte, 0) * .04); }
.lettore::before { content: ""; position: absolute; inset: -3px; border-radius: inherit; pointer-events: none; opacity: calc(var(--batte, 0) * .55);
  box-shadow: 0 0 0 calc(var(--batte, 0) * 4px) rgba(233, 160, 255, .2), 0 0 calc(var(--batte, 0) * 18px) rgba(255, 196, 214, .5); }
@media (prefers-reduced-motion: reduce) { .lettore { scale: 1; } .lettore::before { display: none; } }
@keyframes gira { to { transform: rotate(360deg); } }
.novita { height: 46px; padding: 0 1.25rem; border: 1px solid currentColor; border-radius: 999px; background: none; font-size: clamp(.86rem, 1vw, 1.02rem); white-space: nowrap; max-width: calc(50vw - 150px); overflow: hidden; transition: margin .5s var(--molla); }
.novita .pl { max-width: 100%; }
.barra-cosmo { grid-column: 2; display: flex; align-items: center; gap: .7rem; font-size: .74rem; letter-spacing: .08em; }
.globo { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--testo); color: var(--fondo); transition: background .7s, color .7s, transform .6s var(--molla); }
.globo svg { width: 22px; height: 22px; }
.barra-cosmo:is(:hover, .dito) .globo { transform: rotate(180deg) scale(1.1); }
.barra a, .barra button { pointer-events: auto; }
html.con-pannello .rotta, html.con-pannello .barra-cosmo { opacity: 0; pointer-events: none; transition: opacity .4s; }

/* ── the navbar: the way round the planet ──
   A slim bubble of the evening's violet, with its thickness, the same object over every world. Inside, nothing boxed:
   the count of the worlds with its orbit, then the seven signs on the way, joined by stretches that fill as the planet
   turns, a small light running along them. The sign of the world you are in is lit; those behind you are brighter
   than those ahead. A world's name is not written at rest: under the hand (or the focus, or a finger) it rises over
   its sign letter by letter, in depth, leaning with the pointer, and leaves as softly. The novelty is one more sign
   at the end, its title rising the same way. The bubble leans back and faces you as the pointer comes down to it
   (sito.js inclina); only its turn moves. */
.rotta { width: min(1080px, calc(100vw - 2 * var(--bordo) - 2 * 200px)); min-width: 0; display: flex; align-items: center; gap: clamp(12px, 1.4vw, 22px); height: 54px; padding: 0 clamp(14px, 1.4vw, 22px) 0 clamp(10px, 1vw, 16px); border-radius: 999px; color: #fff; pointer-events: auto;
  background: linear-gradient(115deg, rgba(92, 60, 140, .62), rgba(46, 27, 80, .74) 58%, rgba(74, 42, 108, .7));
  -webkit-backdrop-filter: blur(12px) saturate(1.25); backdrop-filter: blur(12px) saturate(1.25);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .24), inset 0 1px 0 rgba(255, 255, 255, .32), -3px 4px 0 rgba(156, 110, 210, .55), -6px 8px 0 rgba(100, 62, 156, .5), 0 26px 50px -22px rgba(20, 8, 40, .8);
  transform-origin: 50% 100%; will-change: transform; transition: opacity .4s; }
/* the count: the orbit of the seven worlds, its point beating, and where you are; a hairline parts it from the way */
.rotta-conta { flex: none; position: relative; display: flex; align-items: center; gap: .5rem; padding-right: clamp(12px, 1.4vw, 22px); font-size: .74rem; letter-spacing: .16em; white-space: nowrap; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .72); }
.rotta-conta::after { content: ""; position: absolute; right: 0; top: 50%; width: 1px; height: 22px; margin-top: -11px; background: rgba(255, 255, 255, .22); }
.rotta-conta .orbita-segno { display: block; width: 30px; height: 30px; color: #fff; }
.rotta-conta .orbita-segno svg { width: 100%; height: 100%; overflow: visible; }
.orbita-punto { transform-origin: 24px 24px; }
.rotta-conta .orbita-punto circle { fill: #FFC4D6; filter: drop-shadow(0 0 4px #FFC4D6); animation: rotta-batte 1.6s ease-in-out infinite; }
@keyframes rotta-batte { 50% { opacity: .35; } }
.rotta-n b { font-weight: 700; color: #fff; }
/* the way: the signs spread over it, the stretches between them */
.rotta-linea { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; justify-content: space-between; align-items: center; }
.rotta-tratto { position: absolute; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; pointer-events: none; background-image: radial-gradient(circle, rgba(255, 255, 255, .42) 1px, transparent 1.4px); background-size: 6px 2px; }
.rotta-pieno { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #FFC4D6, #E9A0FF 55%, #9F8BFF); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 8px rgba(255, 190, 235, .55); }
.rotta-testa { position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #fff; pointer-events: none; box-shadow: 0 0 0 2px rgba(255, 196, 214, .55), 0 0 12px 3px rgba(233, 160, 255, .7); }
.rotta-tacca { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: rgba(255, 255, 255, .5); transition: color .35s; -webkit-tap-highlight-color: transparent; }
.rotta-tacca .segno { position: relative; z-index: 1; width: 21px; height: 21px; transition: transform .5s var(--molla), filter .4s; }
.rotta-tacca.fatta { color: rgba(255, 255, 255, .8); }
/* the world you are in: the sign lit, a soft light of the evening behind it */
.rotta-tacca::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(.6);
  background: radial-gradient(closest-side, rgba(255, 196, 214, .55), rgba(233, 160, 255, .28) 55%, rgba(159, 139, 255, 0)); transition: opacity .5s, transform .6s var(--molla); }
.rotta-tacca[aria-current] { color: #fff; }
.rotta-tacca[aria-current]::before { opacity: 1; transform: none; }
.rotta-tacca[aria-current] .segno { transform: scale(1.18); filter: drop-shadow(0 0 5px rgba(255, 210, 230, .8)); }
.rotta-tacca:is(:hover, .dito), .rotta-tacca:focus-visible, .rotta-tacca.su { color: #FFE4F0; }
.rotta-tacca:is(:hover, .dito) .segno, .rotta-tacca:focus-visible .segno, .rotta-tacca.su .segno { transform: translateY(-2px) scale(1.22) rotate(-6deg); filter: drop-shadow(0 0 6px rgba(255, 196, 214, .9)); }
.rotta-tacca:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* the name over the sign: letters that stand up out of the depth one after the other, the whole name leaning with the
   pointer (--vx --vy), a hairline of the evening drawn under it */
.rotta-voce { position: absolute; left: 50%; bottom: calc(100% + 14px); z-index: 3; display: block; white-space: nowrap; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.35vw, 1.4rem); line-height: 1; color: #fff; letter-spacing: .005em;
  transform: translateX(-50%) perspective(520px) rotateX(calc(var(--vy, 0) * -16deg)) rotateY(calc(var(--vx, 0) * 22deg)); transform-style: preserve-3d;
  text-shadow: 0 4px 16px rgba(30, 12, 60, .6); }
.rotta-voce::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -8px; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 196, 214, 0), #FFC4D6, #E9A0FF, rgba(159, 139, 255, 0));
  transform: scaleX(0); transition: transform .45s var(--molla); }
.rotta-voce i { display: inline-block; font-style: inherit; opacity: 0; filter: blur(3px); transform: translate3d(0, .6em, -36px) rotateX(-78deg); transform-origin: 50% 100%;
  transition: transform .45s cubic-bezier(.5, 0, .75, 0) calc(var(--k) * 10ms), opacity .3s calc(var(--k) * 10ms), filter .3s calc(var(--k) * 10ms); }
:is(.rotta-tacca, .barra > .novita):is(:is(:hover, .dito), :focus-visible, .su) .rotta-voce i { opacity: 1; filter: none; transform: none;
  transition: transform .75s cubic-bezier(.16, 1, .3, 1) calc(var(--k) * 26ms), opacity .45s calc(var(--k) * 26ms), filter .5s calc(var(--k) * 26ms); }
:is(.rotta-tacca, .barra > .novita):is(:is(:hover, .dito), :focus-visible, .su) .rotta-voce::after { transform: scaleX(1); transition: transform .7s var(--molla) .18s; }
/* the novelty: a block of its own on the right, the same matter as the way. Its sign lives: the great star turns and
   breathes, the small one twinkles after it, a soft light beats behind; its title rises like the worlds' names */
.barra > .novita { position: relative; display: flex; align-items: center; gap: .55rem; height: 54px; max-width: none; margin: 0; padding: 0 1.25rem 0 1rem; border: 0; border-radius: 999px; overflow: visible;
  color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; pointer-events: auto;
  background: linear-gradient(115deg, rgba(92, 60, 140, .62), rgba(46, 27, 80, .74) 58%, rgba(74, 42, 108, .7));
  -webkit-backdrop-filter: blur(12px) saturate(1.25); backdrop-filter: blur(12px) saturate(1.25);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .24), inset 0 1px 0 rgba(255, 255, 255, .32), -3px 4px 0 rgba(156, 110, 210, .55), -6px 8px 0 rgba(100, 62, 156, .5), 0 26px 50px -22px rgba(20, 8, 40, .8);
  transition: background .4s; }
.barra > .novita:is(:hover, .dito), .barra > .novita:focus-visible { background: linear-gradient(115deg, rgba(120, 74, 170, .72), rgba(64, 36, 104, .8) 58%, rgba(96, 54, 138, .78)); outline: none; }
.barra > .novita:focus-visible { box-shadow: 0 0 0 2px #fff, -3px 4px 0 rgba(156, 110, 210, .55), -6px 8px 0 rgba(100, 62, 156, .5); }
.barra > .novita .segno { position: relative; width: 22px; height: 22px; color: #FFC4D6; overflow: visible; filter: drop-shadow(0 0 4px rgba(255, 196, 214, .7)); }
.barra > .novita .segno path { transform-box: fill-box; transform-origin: 50% 50%; }
.barra > .novita .segno path:first-child { animation: nv-stella 3.2s cubic-bezier(.45, 0, .25, 1) infinite; }
.barra > .novita .segno path:last-child { animation: nv-luccica 3.2s ease-in-out infinite; }
.barra > .novita::before { content: ""; position: absolute; left: .55rem; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 196, 214, .55), rgba(233, 160, 255, .18) 60%, transparent); animation: nv-luce 3.2s ease-in-out infinite; }
@keyframes nv-stella { 0% { transform: rotate(0deg) scale(1); } 40% { transform: rotate(45deg) scale(1.16); } 100% { transform: rotate(90deg) scale(1); } }
@keyframes nv-luccica { 0%, 30% { transform: scale(.4); opacity: .2; } 50% { transform: scale(1.25); opacity: 1; } 70%, 100% { transform: scale(.7); opacity: .55; } }
@keyframes nv-luce { 0%, 100% { transform: scale(.7); opacity: .35; } 45% { transform: scale(1.1); opacity: .9; } }
.barra > .novita .rotta-voce { left: auto; right: 0; transform: perspective(520px) rotateX(calc(var(--vy, 0) * -16deg)) rotateY(calc(var(--vx, 0) * 22deg)); text-transform: none; letter-spacing: .005em; font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .barra > .novita .segno path, .barra > .novita::before { animation: none; } }
/* the novelty in three blocks, as «Inizia il viaggio» (ui/bottone4d.js): the glass body, which fills with the ink of
   the evening from where the hand comes in; the word; the star in its disc, highest, turning as it rises. The button
   itself carries nothing: its matter is in its body */
.barra > .novita.bottone-4d, .barra > .novita.bottone-4d:is(:is(:hover, .dito), :focus-visible) { padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.barra > .novita.bottone-4d::before { display: none; }
.novita .b4 { height: 54px; gap: .7rem; padding: 0 1.3rem 0 .45rem; font-size: .74rem; font-weight: 600; letter-spacing: .14em; }
/* its word in ink on the white body, so it reads */
.barra > .novita .b4, .barra > .novita .b4-t { color: #3B2A5C; }
.novita .b4-freccia { width: 42px; height: 42px; background: #3B2A5C; color: #FFC4D6; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), calc(var(--h) * -2px) calc(var(--h) * 3px) 0 rgba(222, 186, 240, .9), calc(var(--h) * -4px) calc(var(--h) * 6px) 0 rgba(170, 120, 214, .8), 0 calc(var(--h) * 14px) calc(var(--h) * 22px) -8px rgba(40, 14, 70, .6); }
.novita.bottone-4d:is(:is(:hover, .dito), :focus-visible, .premuto) .b4-freccia { background: #fff; color: #8A5AD0; }
.novita .b4-freccia .segno { width: 22px; height: 22px; }
.novita.bottone-4d:is(:is(:hover, .dito), :focus-visible, .premuto) .b4-freccia .segno { color: #8A5AD0; filter: drop-shadow(0 0 3px rgba(167, 123, 255, .45)); }
/* the soft light that beats behind the star, now inside its disc */
.novita .b4-freccia::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 196, 214, .55), rgba(233, 160, 255, .18) 60%, transparent); animation: nv-luce 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .novita .b4-freccia::before { animation: none; } }
@media (max-width: 1080px) {
  .rotta { height: 50px; gap: 8px; padding: 0 10px 0 8px; }
  .rotta-conta { gap: .3rem; padding-right: 8px; font-size: .66rem; letter-spacing: .08em; }
  .rotta-conta .orbita-segno { width: 22px; height: 22px; }
  .barra { grid-template-columns: auto minmax(0, 1fr); }
  .barra > .rotta { width: auto; }
  .barra > .novita { display: none; }
  .rotta-tacca { width: 26px; height: 34px; }
  .rotta-tacca .segno { width: 17px; height: 17px; }
  .rotta-voce { font-size: 1.12rem; bottom: calc(100% + 12px); }
  /* at the edges the name opens toward the middle of the screen, so it is never cut */
  .rotta-tacca:first-of-type .rotta-voce { left: -6px; transform: perspective(520px); }
  .rotta-tacca:last-of-type .rotta-voce { left: auto; right: -6px; transform: perspective(520px); }
}
@media (prefers-reduced-motion: reduce) {
  .rotta-voce i, :is(.rotta-tacca, .barra > .novita):is(:is(:hover, .dito), :focus-visible, .su) .rotta-voce i { transition: opacity .2s; transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) { .rotta-conta .orbita-punto circle, .viaggio::before { animation: none; } }

/* ── pointer ── */
.cursore { position: fixed; z-index: 100; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .3s; color: var(--testo); }
html.con-menu .cursore, html.soglia-su .cursore { color: var(--ink); }
@media (max-width: 760px) { .testa .marchio { transition: color .5s .15s; } html.con-menu .testa .marchio { color: var(--ink); } }
.cursore.visto { opacity: 1; }
.cu-anello { position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; border: 1.3px solid currentColor; border-radius: 50%; transition: transform .45s var(--molla), opacity .3s, background .3s; }
.cu-punto { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; transition: opacity .3s; box-shadow: 0 0 10px 3px rgba(255, 255, 255, .55); }
.cursore[data-modo="via"] .cu-anello { transform: scale(0); opacity: 0; }
/* over a button: a bright core in a still ring of the evening's colours; nothing turns, nothing pulses */
.cu-punto { transition: opacity .3s, scale .45s var(--molla), background .3s, box-shadow .3s; }
.cursore[data-modo="via"] .cu-punto { scale: 2.6; background: linear-gradient(135deg, #FFC4D6, #9F8BFF); box-shadow: 0 0 0 .6px #fff, 0 0 10px 2px rgba(233, 160, 255, .7); }
/* the action mark turns and breathes all the time, hidden: shown, it never starts again from the beginning */
.cu-azione { position: absolute; left: 0; top: 0; opacity: 0; scale: .45; transition: opacity .3s, scale .5s var(--molla); }
.cursore[data-modo="via"] .cu-azione { opacity: 1; scale: 1; }
.cu-orbita { position: absolute; left: -21px; top: -21px; width: 42px; height: 42px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 196, 214, 0) 0deg, #FFC4D6 70deg, #E9A0FF 170deg, #9F8BFF 250deg, rgba(159, 139, 255, 0) 330deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.4px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2.4px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 1px rgba(59, 42, 92, .45)); transition: scale .5s var(--molla); }
.cu-onda { position: absolute; left: -21px; top: -21px; width: 42px; height: 42px; border-radius: 50%; border: 1.4px solid rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(59, 42, 92, .25); opacity: 0; pointer-events: none; display: none; }
/* pressed: the orbit gathers round the core */
.cursore.giu[data-modo="via"] .cu-orbita { scale: .72; }
.cursore.giu[data-modo="via"] .cu-punto { scale: 1.8; }
@keyframes cu-gira { to { rotate: 360deg; } }
@keyframes cu-onda { 0% { scale: .55; opacity: .85; } 100% { scale: 1.75; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cu-orbita, .cu-onda { animation: none; } }
.cursore[data-modo="tieni"] .cu-anello { transform: scale(2); opacity: .5; }
.cursore.giu .cu-anello { transform: scale(.7); }
.cu-tieni { position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; transform: rotate(-90deg); opacity: 0; transition: opacity .3s; }
.cu-tieni circle { fill: none; stroke: var(--menta); stroke-width: 2.4; stroke-linecap: round; }
.cursore.tiene .cu-tieni { opacity: 1; }
/* over a thing that can be held: the hint, in a small pill beside the ring */
.cu-avviso { position: absolute; left: 30px; top: -12px; padding: .42em .85em; border-radius: 999px; white-space: nowrap; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #3B2A5C; background: rgba(255, 255, 255, .92); box-shadow: 0 10px 24px -12px rgba(30, 14, 60, .7); opacity: 0; transform: translate3d(-6px, 0, 0) scale(.9); transform-origin: 0 50%; transition: opacity .35s, transform .5s var(--molla); }
.cursore[data-modo="tieni"]:not(.tiene) .cu-avviso { opacity: 1; transform: none; }

/* ── phone: the same site, the same moves, sized for the hand ── */
@media (max-width: 820px) {
  .testa .marchio { letter-spacing: .06em; font-size: .98rem; gap: .45em; }
  .s-manifesto .blocco4d { flex-direction: column; align-items: flex-start; }
  .eco-griglia { grid-template-columns: 1fr; }
  .fine-griglia { grid-template-columns: 1fr 1fr; }
  .pannello { top: auto; left: 0; width: auto; height: min(66vh, 620px); padding: 0 .5rem calc(var(--bordo) + 3.6rem); }
  .pannello-vetro { translate: 0 80px; }
  .pv-orbita { width: 78px; height: 78px; right: 14px; top: 12px; }
  .due { grid-template-columns: 1fr; }
  .barra-cosmo span { display: none; }
  .novita .pl-b { display: none; }
  .novita .pl.corsivo .pl-a { opacity: 1; font-style: italic; }
}
@media (max-width: 520px) {
  .grande { font-size: clamp(2.2rem, 11.5vw, 3.4rem); }
}
/* a small phone (360 wide): the mark, the language and the menu stand side by side without touching */
@media (max-width: 400px) {
  .testa .marchio { font-size: .84rem; letter-spacing: .03em; gap: .35em; }
  .testa-nav { gap: .45rem; }
  .testa .lingua-voce { min-width: 40px; }
  .menu-bottone { padding: 0 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .par i { transform: none; transition: none; }
  .sez, .scheda, .testo { transition: opacity .3s; translate: none; }
  .scorri i, .cosmo-invito i { animation: none; }
}

/* ══ the worlds of the planet ══ */
.s-mondo { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; padding: calc(var(--bordo) + 4.2rem) var(--bordo) calc(var(--bordo) + 5.2rem); }
.mondo-blocco { max-width: min(44rem, 47vw); margin-left: clamp(.3rem, 1.4vw, 1.6rem); transform-origin: 20% 30%; }
.lato-dx .mondo-blocco { align-self: flex-end; margin-left: 0; margin-right: clamp(.3rem, 1.4vw, 1.6rem); transform-origin: 80% 30%; }
.mondo-blocco .occhiello { font-size: .66rem; letter-spacing: .22em; color: var(--menta); }
.mondo-blocco .occhiello b { color: var(--testo); font-weight: 500; }
.mondo-titolo { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5.4vw, 5.6rem); line-height: .98; letter-spacing: -.015em; margin: .45rem 0 .9rem; transform: translateZ(30px); text-shadow: 0 6px 22px rgba(20, 8, 44, .4); }
.mondo-intro { max-width: 37ch; padding-bottom: 0; }
.s-mondo .testo, .s-mondo .occhiello, .mondo-chi, .scheda-nome, .piede { text-shadow: 0 1px 14px rgba(6, 5, 14, .75), 0 0 3px rgba(6, 5, 14, .5); }
.s-mondo blockquote { margin: 1.1rem 0 0; padding-left: 1rem; border-left: 2px solid var(--menta); font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.7vw, 1.7rem); line-height: 1.18; color: #FFE7C4; opacity: 0; translate: 0 20px; transition: opacity .8s .7s, translate 1s var(--molla) .7s; }
.mondo-chi { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.1rem; opacity: 0; transition: opacity .8s .8s; }
.mondo-chi li { padding: .32em .85em; border: 1px solid rgba(235, 240, 255, .4); border-radius: 999px; font-size: clamp(.74rem, .88vw, .9rem); }
/* the rise is written in transform, not translate: the minifier folds a translate standing beside a transform into it */
/* a chapter sold out: the same button, standing there, that leads nowhere */
.mondo-azioni .esaurito { cursor: default; }
.mondo-azioni { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; transform: translateZ(46px) translateY(20px); opacity: 0; transition: opacity .8s .9s, transform 1s var(--molla) .9s; }
.dentro .mondo-azioni { transform: translateZ(46px); }
.dentro blockquote, .dentro .mondo-chi, .dentro .mondo-azioni { opacity: 1; translate: 0 0; }
.mondo-carte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 1.2vw, 1.3rem); width: min(100%, 1120px); perspective: 1400px; }
.lato-sx .mondo-carte { margin-left: auto; }
.carta { padding: 1.15rem 1.3rem 1.45rem; opacity: 0; translate: 0 50px; transition: opacity .7s, translate 1s var(--molla); transition-delay: calc(.25s + var(--i, 0) * 110ms); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); }
.dentro .carta { opacity: 1; translate: 0 0; }
.carta .num { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 2.8vw, 2.8rem); line-height: 1; opacity: .75; }
.carta h3 { margin: .8rem 0 .45rem; font-size: clamp(1.08rem, 1.4vw, 1.42rem); font-weight: 600; letter-spacing: -.02em; }
.carta h3 sup { margin-left: .6em; padding: .3em .7em; border: 1px solid var(--menta); border-radius: 999px; color: var(--menta); font-size: .56rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; }
.carta p { font-size: clamp(.88rem, .98vw, 1rem); line-height: 1.4; opacity: .88; }
.s-mondo .persona { position: absolute; left: var(--bordo); top: calc(var(--bordo) + 4.6rem); width: min(27rem, 36vw); display: grid; grid-template-columns: minmax(84px, 118px) 1fr; gap: 1rem; margin: 0; padding: .9rem; align-items: start; }
.s-mondo .persona img { border-radius: 12px; }
.s-mondo .persona b { font-size: 1.4rem; }
.s-mondo .persona p { font-size: .88rem; }
.s-contatti .modulo { position: absolute; right: var(--bordo); top: calc(var(--bordo) + 4.4rem); width: min(35rem, 46vw); margin: 0; gap: .6rem; padding: 1.1rem 1.2rem 1.2rem; max-height: calc(100vh - 2 * var(--bordo) - 13rem); overflow-y: auto; scrollbar-width: thin; }
.s-contatti .campo input, .s-contatti .campo textarea, .s-contatti .campo select { padding: .55em .7em; font-size: .95rem; }
/* the footer: the mail on the left, the way round again on the right, and in the middle everything else, centred;
   under it the signature */
.piede { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .5rem 2rem; padding-top: .9rem; border-top: 1px solid rgba(235, 240, 255, .26); font-size: clamp(.84rem, .98vw, 1rem); opacity: 0; transition: opacity .9s .6s; }
.dentro .piede { opacity: 1; }
.piede-voci { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 2rem; text-align: center; }
.piede nav { display: flex; justify-content: center; gap: 1.1rem; }
/* the social links: three small round buttons with their icon, white on their layers of violet (bottone4d.js, strati) */
.piede-social { gap: .75rem !important; }
.piede-icona { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #3B2A5C; text-shadow: none; }
.piede-icona svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.piede-icona:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.piede-email { justify-self: start; }
.piede-firma { grid-column: 1 / -1; justify-self: center; margin: .1rem 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(.95rem, 1.05vw, 1.1rem); opacity: .86; text-align: center; }
.piede-firma a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: .2em; transition: text-decoration-color .3s; }
.piede-firma a:is(:hover, .dito), .piede-firma a:focus-visible { text-decoration-color: #fff; outline: none; }
.piede-email { font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 2rem); }
.piede-email .pl-b { font-size: 1em; }
.piede-su { justify-self: end; padding: .5em 1.1em; border: 1px solid currentColor; border-radius: 999px; white-space: nowrap; }
.piede-su.s4d { border-color: transparent; background: #fff; color: #3B2A5C; text-shadow: none; }
/* the orbit: where you are on the way round */
.menu-foglio ol li a { font-size: clamp(2.2rem, min(5.2vw, 8.4vh), 5.2rem); }
.menu-foglio { padding-top: clamp(5rem, 11vh, 7rem); }
@media (max-width: 820px) {
  .s-mondo { justify-content: flex-start; gap: .8rem; padding-top: calc(var(--bordo) + 3.8rem); }
  .mondo-blocco, .lato-dx .mondo-blocco { max-width: 100%; align-self: stretch; }
  .mondo-titolo { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .mondo-carte { display: flex; width: auto; margin: auto calc(var(--bordo) * -1) 0 !important; padding: 0 var(--bordo) .5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; pointer-events: auto; }
  .mondo-carte .carta { flex: 0 0 76vw; scroll-snap-align: center; }
  .s-mondo .persona { position: static; width: auto; grid-template-columns: 78px 1fr; }
  .s-mondo .persona p { display: none; }
  .s-contatti .modulo { position: static; width: auto; max-height: 48vh; pointer-events: auto; padding: .8rem .9rem .9rem; gap: .45rem; }
  .s-contatti .due { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .s-contatti .campo span { font-size: .54rem; margin-bottom: .2rem; }
  .s-contatti .modulo-invia small { display: none; }
  .s-contatti .mondo-intro { display: none; }
  .piede { margin-top: auto; font-size: .8rem; gap: .35rem 1rem; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .piede-email, .piede-su { justify-self: center; }
  .piede-voci { gap: .3rem 1rem; }
  .piede nav { gap: .8rem; }
  .piede-firma { font-size: .86rem; }
}

/* the world is touched, not read like a page: dragging over it never selects text (the form's fields and the footer
   keep their text selectable), and a long press on the world opens no menu of the phone */
html.dentro :is(.sezioni, .cammino, .barra, .testa) { -webkit-user-select: none; user-select: none; }
html.dentro :is(input, textarea, footer) { -webkit-user-select: text; user-select: text; }
#mondo { -webkit-touch-callout: none; }

/* ── the ecosystem's panel, built as the cards of the way (sito.js apriScheda) ──
   Its points stand in a glass outline that two lights draw from the top middle to the bottom while the glass pours
   down behind them; each point has its large italic number outside, in layers of violet, flying in from the depth;
   each line is written from the left. The call to act is a button in 4D with room all round, so its rise is never
   cut. Below, the other doors of the same family, small cards in 4D. The whole sheet keeps leaning to the hand. */
.pannello-corpo { padding-left: clamp(4.4rem, 6vw, 5.4rem); }
.pannello-corpo :is(.occhiello, .pannello-titolo, .pannello-intro) { margin-left: calc(-1 * clamp(2.6rem, 3.8vw, 3.4rem)); }
.pn-carta { position: relative; margin-top: 1.15rem; translate: calc(var(--vx, 0) * 5px) calc(var(--vy, 0) * 4px); transition: translate .75s var(--molla); }
.pn-carta::before { content: ""; position: absolute; inset: 0; border-radius: 1.7rem; pointer-events: none;
  background: linear-gradient(180deg, rgba(60, 34, 104, .26), rgba(40, 20, 78, .36)); box-shadow: 0 30px 50px -30px rgba(20, 8, 44, .7), inset 0 1px 0 rgba(255, 255, 255, .16);
  clip-path: inset(0 0 100% 0 round 1.7rem); }
.pannello.aperto .pn-carta::before { animation: pn-versa .9s cubic-bezier(.33, 1, .68, 1) 1.15s forwards; }
@keyframes pn-versa { to { clip-path: inset(0 0 0 0 round 1.7rem); } }
.pn-traccia { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.pn-traccia path { fill: none; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.pn-traccia .alone path { stroke: #FFC4D6; stroke-width: 7; opacity: .3; }
.pn-traccia .luce path { stroke: rgba(255, 255, 255, .78); stroke-width: 1.15; }
.pannello.aperto .pn-traccia path { animation: pn-traccia 1.05s cubic-bezier(.65, 0, .35, 1) .95s forwards; }
@keyframes pn-traccia { to { stroke-dashoffset: 0; } }
.pn-cometa { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; pointer-events: none; opacity: 0; offset-rotate: 0deg; offset-distance: 0%;
  background: radial-gradient(closest-side, #fff, rgba(255, 214, 230, .85) 35%, rgba(233, 160, 255, .35) 62%, rgba(233, 160, 255, 0)); }
.pannello.aperto .pn-cometa { animation: pn-corre 1.05s cubic-bezier(.65, 0, .35, 1) .95s forwards; }
@keyframes pn-corre { 0% { offset-distance: 0%; opacity: 1; } 90% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.pn-carta ol { position: relative; list-style: none; margin: 0; padding: 0; }
.pn-carta li { position: relative; padding: 1rem 1.4rem .9rem; border-radius: 1.2rem; transition: background .4s, box-shadow .5s var(--molla); }
/* a row under the hand stands out of the glass: lit, with its own layers of violet under it */
.pn-carta li:is(:hover, .dito) { background: linear-gradient(180deg, rgba(255, 220, 236, .12), rgba(233, 160, 255, .06)); box-shadow: -2px 3px 0 rgba(222, 186, 240, .45), -4px 6px 0 rgba(170, 120, 214, .32), -6px 9px 0 rgba(110, 68, 166, .22), 0 18px 30px -16px rgba(20, 8, 44, .6); }
.pn-carta li + li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; transform: scaleX(0);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55) 18%, rgba(255, 255, 255, .55) 82%, transparent); }
.pannello.aperto .pn-carta li + li::before { animation: pn-linea .8s var(--molla) calc(1.9s + var(--k) * .12s) forwards; }
@keyframes pn-linea { to { transform: scaleX(1); } }
.pn-carta li p { margin: 0; font-size: clamp(1rem, 1.12vw, 1.1rem); line-height: 1.4; clip-path: inset(-.4em 100% -.4em -.4em); translate: calc(var(--vx, 0) * 4px) calc(var(--vy, 0) * 3px); }
.pannello.aperto .pn-carta li p { animation: pn-scrive .9s cubic-bezier(.33, 1, .68, 1) calc(1.6s + var(--k) * .16s) forwards; }
@keyframes pn-scrive { to { clip-path: inset(-.4em -.4em -.4em -.4em); } }
.pn-carta .nodo { position: absolute; left: auto; right: calc(100% + .55rem); top: 50%; width: max-content; scale: 1; filter: none; transition: none; translate: calc(var(--vx, 0) * 10px) calc(-50% + var(--vy, 0) * 8px);
  color: #fff; font-family: var(--serif); font-style: italic; font-size: clamp(2.6rem, 3.6vw, 3.3rem); line-height: .8; letter-spacing: -.02em;
  text-shadow: -1px 1.4px 3.4px rgba(226, 192, 244, 0.76), -2px 2.8px 6.7px rgba(182, 134, 226, 0.68), -3px 4.2px 10.1px rgba(134, 88, 194, 0.60), -4px 5.6px 13.4px rgba(92, 56, 154, 0.52), 0 14px 30px rgba(20, 8, 44, .6);
  opacity: 0; transform: translate3d(-240px, -90px, -900px) rotateY(-75deg); }
.pannello.aperto .pn-carta .nodo { animation: pn-numero 1.1s cubic-bezier(.16, 1, .3, 1) calc(1.45s + var(--k) * .16s) forwards; }
/* under the hand a row's number comes forward out of the card, never cut */
.pn-carta li .nodo { transition: scale .7s cubic-bezier(.16, 1, .3, 1), filter .6s; }
.pn-carta li:is(:hover, .dito) .nodo { scale: 1.18; filter: drop-shadow(0 0 14px rgba(233, 160, 255, .55)); }
@keyframes pn-numero { 0% { opacity: 0; transform: translate3d(-240px, -90px, -900px) rotateY(-75deg); } 30% { opacity: 1; } 60% { transform: translate3d(-60px, 30px, -120px) rotateY(-14deg); } 100% { opacity: 1; transform: none; } }
/* the call to act: its own room, so its rise and its violet layers are never cut */
.pannello-azioni .bottone-4d { opacity: 0; translate: -40px 0; }
.pannello.aperto .pannello-azioni .bottone-4d { animation: pn-entra .8s cubic-bezier(.16, 1, .3, 1) 2.15s forwards; }
@keyframes pn-entra { to { opacity: 1; translate: 0 0; } }
/* the other doors of the same family */
.pn-famiglia { margin: .6rem 0 1rem; }
.pn-famiglia .occhiello { margin-bottom: .8rem; }
.pn-famiglia ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); gap: .65rem; }
.pn-famiglia li { opacity: 0; translate: 0 18px; }
.pannello.aperto .pn-famiglia li { animation: pn-entra .8s cubic-bezier(.16, 1, .3, 1) calc(2.35s + var(--k) * .12s) forwards; }
.pn-porta { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .15rem 1rem; width: 100%; height: 100%; padding: .8rem 1.05rem; border: 1px solid rgba(235, 240, 255, .32); border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); color: inherit; font: inherit; text-align: left; cursor: pointer;
  box-shadow: -2px 3px 0 rgba(170, 120, 214, .35), -4px 6px 0 rgba(110, 68, 166, .25); transition: background .35s, border-color .35s; }
.pn-porta b { font-weight: 500; font-size: 1.02rem; }
.pn-porta span { grid-column: 1; font-family: var(--serif); font-style: italic; font-size: 1rem; opacity: .85; }
.pn-porta .freccia { grid-column: 2; grid-row: 1 / span 2; width: 14px; height: 14px; transition: transform .5s var(--molla); }
.pn-porta:is(:hover, .dito), .pn-porta:focus-visible { background: linear-gradient(180deg, rgba(255, 220, 236, .16), rgba(233, 160, 255, .08)); border-color: rgba(255, 255, 255, .7); outline: none; }
.pn-porta:is(:hover, .dito) .freccia { transform: translate(3px, 3px); }
@media (max-width: 820px) {
  .pannello-corpo { padding-left: 3.4rem; }
  .pannello-corpo :is(.occhiello, .pannello-titolo, .pannello-intro) { margin-left: -2rem; }
  .pn-carta .nodo { font-size: 2.2rem; right: calc(100% + .35rem); }
  .pn-carta li { padding: 1.1rem 1.1rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pannello.aperto .pn-carta::before, .pannello.aperto .pn-carta li + li::before, .pannello.aperto :is(.pn-traccia path, .pn-cometa, .pn-carta li p, .pn-carta .nodo, .pannello-azioni .bottone-4d, .pn-famiglia li) { animation-duration: .01s; animation-delay: 0s; }
}

/* while typing, the hand's sign steps aside (ui/cursore.js): only the caret of the field stays */
.cursore.cu-tace { opacity: 0 !important; transition: opacity .25s; }

/* a phone held sideways, low and wide: the words of a world a size smaller, so they stand whole above the bar beside
   their cards (ui/cammino.js keeps the cards beside them) */
@media (max-height: 520px) and (orientation: landscape) {
  .s-mondo { padding-top: calc(var(--bordo) + 3.4rem); padding-bottom: calc(var(--bordo) + 4.4rem); gap: .4rem; }
  .mondo-blocco, .lato-dx .mondo-blocco { max-width: min(26rem, 42vw); }
  .mondo-titolo { font-size: clamp(1.5rem, 8vh, 2.4rem); margin: .15rem 0 .4rem; }
  .s-mondo .testo { font-size: .74rem; line-height: 1.25; padding-bottom: .1rem; }
  .s-mondo .testo .frase + .frase { margin-top: .3em; }
  .s-mondo blockquote { font-size: .8rem; line-height: 1.12; margin-top: .35rem; }
  .mondo-chi { margin-top: .45rem; }
  .mondo-azioni { margin-top: .55rem; }
}
/* The threshold: the evening and the sea of the first page (ui/fondale.js draws them), the words in white over it.
   Until the real evening has come there is no painted sky and no line of a horizon: only the haze of its own colours
   (measured on the real one), without a shape, out of which the real evening comes into sight */
.soglia {
  position: fixed; inset: 0; z-index: 50; overflow: hidden; color: #fff;
  /* every gesture on the threshold is its own (the letters are taken and thrown): the page under it never pans, and a
     finger pulling down never makes the browser reload it */
  touch-action: none;
  background: radial-gradient(130% 90% at 50% 56%, #A89A9F 0%, #918491 45%, #7A6E7D 100%) #8E818B;
}
.soglia::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 50%, rgba(28, 16, 54, .4) 100%); }
.sg-fondale { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s cubic-bezier(.4, 0, .2, 1); }
.sg-fondale.pronto { opacity: 1; }
/* the name, a body in the sea: its own canvas over the backdrop, under the words */
.sg-segno { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
/* the backdrop draws the title itself, liquid as the first page's: the page's own stays for reading machines and for layout */
.soglia.con-titolo .sg-titolo, .soglia.con-titolo .sg-frase { opacity: 0; }

/* the block: every piece at its own depth */
/* the name stands where it always stood; everything under it stands lower: the block is pushed down by as much as the
   gap under the name grows (padding-top and the name's margin-bottom, the same), so only what is under the name moves */
/* the depth is the scene's own: the language pill in the corner stands outside it and leans as it does in the site */
.sg-scena { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; perspective: 1100px; padding: 8vh var(--bordo) 0; }
.sg-blocco { display: flex; flex-direction: column; align-items: center; text-align: center; transform-style: preserve-3d; width: min(100%, 860px); }
.sg-marchio { width: min(92vw, 1180px); aspect-ratio: 9.4; margin-bottom: 8vh; }   /* only the place kept for the name: the letters are drawn in the sea (marchio3d.js) */
.sg-marchio canvas { width: 100%; height: 100%; display: block; max-width: none; }
/* the mark is there from the start, in the haze, filling with water as the worlds are built (main.js); the name
   comes up over it once they are */
.sg-carica { display: flex; align-items: center; gap: .7rem; margin: .2rem 0 1.5rem; transform: translateZ(62px); animation: sg-appare 1s var(--molla) .3s both; }
@keyframes sg-appare { from { scale: 0; opacity: 0; } to { scale: 1; opacity: 1; } }
.sg-cerchio { position: relative; width: 46px; height: 46px; border: 2px solid #fff; border-radius: 50%; overflow: hidden; background: rgba(255, 255, 255, .16); box-shadow: 0 6px 22px -6px rgba(30, 14, 60, .55); }
.sg-cerchio svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sg-acqua { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform: translate3d(0, 100%, 0); }
.sg-acqua::before { content: ""; position: absolute; left: -75%; top: -8%; width: 250%; aspect-ratio: 1; border-radius: 42%; background: linear-gradient(#FFE1C8, #F0A9C6 55%, #9A86D6); animation: gira 5s linear infinite; }
.sg-perc { font-size: .78rem; font-variant-numeric: tabular-nums; letter-spacing: .08em; min-width: 3ch; max-width: 5ch; overflow: hidden; text-align: left; transition: opacity .6s, max-width .8s var(--molla), min-width .8s var(--molla), margin .8s var(--molla); }
/* ready: the number leaves and its room closes, so the mark stands in the middle under the name */
.pronta .sg-perc { opacity: 0; max-width: 0; min-width: 0; margin-left: -.7rem; }
/* the mark is a thing to touch: it glows under the hand and turns once with the letters */
.sg-cerchio { cursor: pointer; pointer-events: auto; transition: box-shadow .4s, background .4s; }
.sg-cerchio:is(:hover, .dito), .sg-cerchio:focus-visible { background: rgba(255, 255, 255, .3); box-shadow: 0 0 0 6px rgba(255, 255, 255, .14), 0 8px 26px -6px rgba(30, 14, 60, .6); outline: none; }
.sg-cerchio.gira svg { animation: sg-gira 1.6s cubic-bezier(.65, 0, .35, 1); }
@keyframes sg-gira { to { transform: rotate(360deg); } }
.pronta .sg-cerchio { animation: batte 2.4s ease-in-out infinite; }
@keyframes batte { 50% { scale: 1.1; } }

.sg-titolo { transform: translateZ(40px); transform-style: preserve-3d; line-height: .92; text-shadow: 0 6px 26px rgba(40, 20, 80, .45); }
.sg-entra-parola { font-size: clamp(1rem, 1.5vw, 1.5rem); font-weight: 600; letter-spacing: .5em; text-transform: uppercase; margin-bottom: .7em; padding-left: .5em; }
.sg-dove { font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 8.6vw, 8.6rem); letter-spacing: -.02em; }
.sg-frase { transform: translateZ(22px); margin-top: 1.3rem; font-size: clamp(.98rem, 1.25vw, 1.25rem); text-shadow: 0 1px 14px rgba(30, 14, 60, .7); }
.sg-perc, .sg-cuffie { text-shadow: 0 1px 10px rgba(30, 14, 60, .75); }
.soglia .par { padding-left: .12em; padding-right: .12em; margin-left: -.12em; margin-right: -.12em; transition: scale .5s var(--molla), filter .4s; }
.soglia .par i { transform: translateY(150%); transition-delay: calc(.9s + var(--i, 0) * 70ms); }
.soglia.via .par i { transform: none; }
.soglia .par.avanti { scale: 1.07; }
.sg-vie { display: flex; flex-direction: column; align-items: center; gap: 1.15rem; margin-top: 2rem; transform: translateZ(74px); transform-style: preserve-3d; }
.sg-con { scale: 0; transition: scale .9s var(--molla); }
.pronta .sg-con { scale: 1; }
.sg-cuffie { display: flex; align-items: center; gap: .5rem; margin-top: 2.5rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateZ(10px); transition: opacity 1s 1.8s; }
.sg-cuffie svg { width: 1.3em; height: 1.3em; }
.via .sg-cuffie { opacity: .7; }

/* the way in: a drop falls, its wave takes the screen, the world is under it */
.sg-cade { position: absolute; left: 50%; top: 38%; width: 16px; height: 16px; margin: -8px; border-radius: 50% 50% 50% 50% / 62% 62% 40% 40%; background: #fff; opacity: 0; box-shadow: inset -2px -3px 5px rgba(150, 120, 200, .5); }
.sg-onda { position: absolute; inset: 0; z-index: 3; background: radial-gradient(circle at 50% 56%, #fff 0%, #F6E7E2 50%, #EAD3DA 100%); clip-path: circle(0% at 50% 56%); pointer-events: none; }
.esce .sg-cade { animation: cade .34s cubic-bezier(.5, 0, .9, .4) forwards; }
.esce .sg-onda { animation: onda .85s cubic-bezier(.3, 0, .2, 1) .34s forwards; }
.esce .sg-blocco { transition: opacity .5s .2s; opacity: 0; }
@keyframes cade { 0% { opacity: 1; translate: 0 -40px; scale: .6; } 100% { opacity: 1; translate: 0 18vh; scale: 1.2; } }
@keyframes onda { to { clip-path: circle(150% at 50% 56%); } }
.vuota { background: none; pointer-events: none; }
.vuota::after, .vuota .sg-fondale, .vuota .sg-scena, .vuota .sg-cade { display: none; }
.vuota .sg-onda { clip-path: none; animation: svela 1s ease forwards; }
@keyframes svela { to { opacity: 0; } }

@media (max-width: 700px) {
  .sg-marchio { width: 80vw; }   /* the letters lean in perspective: the row keeps clear of the edges */
  .sg-dove { font-size: clamp(2.6rem, 13vw, 4.4rem); }
}
/* a phone held sideways: the name, the words and the way in all stand within the height */
@media (max-height: 520px) and (orientation: landscape) {
  .sg-marchio { width: min(70vw, 150vh); margin-bottom: 3vh; }
  .sg-carica { margin: 0 0 .5rem; }
  .sg-entra-parola { font-size: .82rem; margin-bottom: .4em; }
  .sg-dove { font-size: clamp(2rem, 13vh, 3.6rem); }
  .sg-frase { margin-top: .5rem; font-size: .86rem; }
  .sg-vie { margin-top: .9rem; }
  .sg-cuffie { margin-top: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .soglia .par i { transform: none; transition: none; }
}

/* the way in through the glow: the words sink back while the water rises */
.soglia.buia .sg-blocco { transition: opacity .45s, scale .6s cubic-bezier(.3, 0, .2, 1); opacity: 0; scale: .96; }
.soglia.buia .sg-vie { pointer-events: none; }
/* the dive: the words leave at once; the name stays in the air above as the eye goes down to the water */
.soglia.tuffo .sg-blocco { transition: opacity .3s, scale .5s cubic-bezier(.3, 0, .2, 1); opacity: 0; scale: 1.04; }
.soglia.tuffo .sg-vie { pointer-events: none; }
.sg-segno { transition: opacity .3s; }
.soglia.in-acqua .sg-segno { opacity: 0; }
/* The cards of the way (ui/cammino.js): a name under a thing of the world, and under the name a thin
   outline whose rows light one after the other, each with its large number standing outside the outline.
   In four dimensions: the card tilts, rises and catches a light under the hand (quattrod), and its pieces stand at
   their own depths and part as the hand moves (--vx --vy, eased in cammino.js): the name behind, the rows, the
   numbers in front, standing out in fixed layers of violet. Every piece moves on a layer of its own, so its words
   are never drawn again while it moves. They are placed and sized
   every frame by where their thing is; here is only how they look and how they open. */
.cammino { position: absolute; inset: 0; z-index: 3; pointer-events: none; perspective: 1200px; overflow: hidden; }
/* what the world draws over its cards (the hands of the hall, in front of the pillars) */
.sopra-carte { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; display: block; pointer-events: none; }
.tappa {
  position: absolute; left: 0; top: 0; width: min(21.5rem, 82vw); transform-origin: 50% 0; visibility: hidden; opacity: 0;
  color: #fff; text-align: center; transform-style: preserve-3d;
}
.tappa.vista { visibility: visible; }
.tappa-nome { translate: calc(var(--vx, 0) * -5px) calc(var(--vy, 0) * -4px); font-size: 1.62rem; font-weight: 500; line-height: 1.08; letter-spacing: -.015em; text-shadow: 0 1px 2px rgba(30, 14, 60, .55), 0 2px 22px rgba(30, 14, 60, .7); }
.tappa-nome sup { display: inline-block; margin-left: .5em; padding: .2em .6em; border: 1px solid currentColor; border-radius: 999px; font-size: .36em; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; translate: 0 -.3em; }
.tappa-sotto { margin-top: .35rem; font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.15; opacity: .92; text-shadow: 0 1px 14px rgba(30, 14, 60, .8); }

/* the outline: it opens downwards, as if drawn */
.tappa-carta {
  position: relative; margin-top: 1.55rem; border: 1px solid rgba(255, 255, 255, .62); border-radius: 1.7rem; pointer-events: auto;
  background: linear-gradient(180deg, rgba(60, 34, 104, .2), rgba(40, 20, 78, .3)); box-shadow: 0 30px 50px -30px rgba(20, 8, 44, .7), inset 0 1px 0 rgba(255, 255, 255, .16);
  clip-path: inset(0 0 100% 0 round 1.7rem); opacity: 0; transition: clip-path 1.1s var(--molla), opacity .5s, border-color .4s, background .4s;
}
/* open, the clip reaches out round it for the numbers that stand outside and come forward under the hand: they are
   never cut */
.tappa.aperta .tappa-carta { clip-path: inset(-3rem -2rem -3rem -9rem round 1.7rem); opacity: 1; }
.tappa-carta[role="button"] { cursor: pointer; }
.tappa-carta[role="button"]:is(:hover, .dito), .tappa-carta[role="button"]:focus-visible { border-color: #fff; background: linear-gradient(180deg, rgba(76, 44, 128, .42), rgba(52, 26, 98, .55)); outline: none; }
/* the rows unfold from the top of the outline, as a sheet that falls open */
.tappa-carta ol { translate: calc(var(--vx, 0) * 4px) calc(var(--vy, 0) * 3px); list-style: none; margin: 0; padding: 0; transform-origin: 50% 0; transform: perspective(900px) rotateX(-32deg) translateY(-12px); opacity: .2; transition: transform 1.2s var(--molla), opacity .8s; transform-style: preserve-3d; }
.tappa.aperta .tappa-carta ol { transform: none; opacity: 1; }
.tappa-carta li { position: relative; padding: 1.2rem 1.4rem 1.05rem; }
/* the line between two rows is drawn from the middle outwards when the row lights */
.tappa-carta li + li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55) 18%, rgba(255, 255, 255, .55) 82%, transparent); transform: scaleX(0); transition: transform 1s var(--molla); }
.tappa-carta li.accesa::before { transform: scaleX(1); }
.tappa-carta li p { font-size: 1.02rem; line-height: 1.34; opacity: 0; translate: 0 16px; filter: blur(6px); clip-path: inset(0 0 100% 0); transition: opacity .8s, translate 1s var(--molla), filter .9s, clip-path 1s var(--molla); text-shadow: 0 1px 12px rgba(30, 14, 60, .7); }
.tappa-carta li.accesa p { opacity: 1; translate: 0 0; filter: none; clip-path: inset(-.4em -.4em -.4em -.4em); }
/* a row under the hand comes forward */
.tappa-carta li { transform-style: preserve-3d; transition: background .4s; border-radius: .9rem; }
.tappa-carta li > p { transition: opacity .8s, translate 1s var(--molla), filter .9s, clip-path 1s var(--molla), transform .5s var(--molla); }
.tappa-carta li.accesa:is(:hover, .dito) > p { transform: translateZ(22px) scale(1.03); }
.tappa-carta li.accesa:is(:hover, .dito) { background: radial-gradient(80% 120% at 50% 40%, rgba(255, 220, 236, .14), transparent 70%); }
/* under the hand the number comes out of the card toward the eye, in depth, and catches the light */
.tappa-carta li.accesa:is(:hover, .dito) .nodo { scale: 1.32; translate: calc(-100% + var(--vx, 0) * 10px - .6rem) calc(-50% + var(--vy, 0) * 8px) 64px; filter: drop-shadow(0 0 16px rgba(233, 160, 255, .65)); }
.tappa--costruita .tappa-carta, .tappa--costruita .tappa-carta ol { transform-style: preserve-3d; }
/* the number of a row: large, outside the outline on its left, in the italic of the names, standing out in fixed
   layers of violet toward the lower left; it rises out of the depth as its row lights, and comes forward under the hand */
.nodo {
  position: absolute; left: -.5rem; top: 50%; translate: calc(-100% + var(--vx, 0) * 10px) calc(-50% + var(--vy, 0) * 8px);
  display: block; color: #fff; font-family: var(--serif); font-style: italic; font-size: 3.3rem; font-weight: 400; line-height: .8; letter-spacing: -.02em;
  text-shadow: -1px 1.4px 3.4px rgba(226, 192, 244, 0.76), -2px 2.8px 6.7px rgba(182, 134, 226, 0.68), -3px 4.2px 10.1px rgba(134, 88, 194, 0.60), -4px 5.6px 13.4px rgba(92, 56, 154, 0.52), 0 14px 30px rgba(20, 8, 44, .6);
  opacity: 0; scale: .55; filter: blur(8px); transform-origin: 100% 50%;
  transition: opacity .6s, scale .95s cubic-bezier(.16, 1, .3, 1), filter .7s, translate .7s cubic-bezier(.16, 1, .3, 1);
}
.tappa-carta li.accesa .nodo { scale: 1; opacity: 1; filter: none; }
.tappa-azione { display: inline-flex; align-items: center; gap: .5em; margin: 0 0 1.2rem; padding: .5em 1.1em; border-radius: 999px; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 500; }
.tappa-apri { position: absolute; right: 1.1rem; bottom: .95rem; opacity: .8; transition: transform .5s var(--molla); }
.tappa-carta:is(:hover, .dito) .tappa-apri { transform: translate(3px, 3px); }
.tappa:not([data-f]) .tappa-apri { display: none; }

/* the founder: her portrait in the card, her words, the way to her own site */
.tappa-persona { width: min(30rem, 90vw); }
/* a card that is a door of the hall (cammino.js, porta): the arch of the doorway, laid on its four corners in
   perspective. Its type is in em, so the page sizes it all at once to the door on the screen. The name stands in the
   arch; the rows fill the doorway under it, each large number over its row; everything parts in depth under the hand */
.tappa.tappa-porta { width: 20em; height: 35.7em; font-size: 14px; }
.tappa-porta .tappa-carta { position: absolute; inset: 0; margin: 0; border-radius: 9999px 9999px 0 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 1.6em 2.2em; }
.tappa-porta .tappa-vetro { border-radius: 9999px 9999px 0 0; background: linear-gradient(180deg, rgba(74, 44, 124, .5), rgba(40, 20, 78, .66)); -webkit-backdrop-filter: blur(12px) saturate(1.15); backdrop-filter: blur(12px) saturate(1.15); }
.tappa-porta .tappa-nome { position: absolute; z-index: 2; left: 1.8em; right: 1.8em; top: 12%; font-size: 2.2em; line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.tappa-porta .tappa-carta ol { height: 66%; display: flex; flex-direction: column; justify-content: space-evenly; }
.tappa-porta .tappa-carta li { display: flex; flex-direction: column; align-items: center; gap: .5em; padding: .9em .3em; text-align: center; border-radius: 1.3em; }
.tappa-porta .tappa-carta li + li::before { left: 10%; right: 10%; }
.tappa-porta .nodo { position: relative; left: auto; top: auto; translate: calc(var(--vx, 0) * 12px) calc(var(--vy, 0) * 9px); font-size: 3.8em; transform-origin: 50% 60%; }
.tappa-porta .tappa-carta li.accesa:is(:hover, .dito) .nodo { scale: 1.16; translate: calc(var(--vx, 0) * 12px) calc(var(--vy, 0) * 9px) 44px; }
.tappa-porta .tappa-carta li p { font-size: 1.2em; line-height: 1.36; }
.tappa-persona .persona { display: grid; grid-template-columns: 9.4rem 1fr; gap: 1.2rem; align-items: center; margin: 0; padding: 1.15rem 1.3rem 1.15rem 1.15rem; text-align: left; }
.tappa-persona .persona img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1.05rem; display: block; }
.tappa-persona .persona small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-bottom: .55rem; }
.tappa-persona .persona p { font-size: .95rem; line-height: 1.36; margin-bottom: .9rem; }
.tappa-persona .persona .frase { display: block; }
.tappa-persona .pill { font-size: .88rem; padding: .62em 1.15em; }
.tappa-persona ol:empty { display: none; }

/* while a card that wants the middle is near, the world's own words step back */
.s-mondo .mondo-blocco { transition: opacity .6s; }
html.carta-sola .s-mondo .mondo-blocco { opacity: 0; pointer-events: none; }

html.tiene-cosa, html.tiene-cosa * { user-select: none; -webkit-user-select: none; }
/* a card built as it rises out of the sea (cammino.js, costruisci): every piece's place, clip and light is written
   there, a pure function of how near the card is; here is how the pieces look, and how they are at rest */
.tappa--costruita .tappa-nome { perspective: 640px; transform-style: preserve-3d; }
.tappa--costruita .parola, .tappa--costruita .tappa-nome sup { display: inline-block; white-space: nowrap; transform-style: preserve-3d; transform-origin: 50% 100%; }
.tappa--costruita .lettera { display: inline-block; transform-origin: 50% 80%; }
.tappa--costruita .tappa-carta { clip-path: none; opacity: 1; transition: none; border-color: transparent; background: none; box-shadow: none; transform-origin: 50% 0; }
/* the glass: poured down behind the two lights */
.tappa-vetro { position: absolute; inset: 0; border-radius: 1.7rem; pointer-events: none; transition: background .4s;
  background: linear-gradient(180deg, rgba(60, 34, 104, .2), rgba(40, 20, 78, .3)); box-shadow: 0 30px 50px -30px rgba(20, 8, 44, .7), inset 0 1px 0 rgba(255, 255, 255, .16); }
.tappa--costruita .tappa-carta[role="button"]:is(:is(:hover, .dito), :focus-visible) { border-color: transparent; background: none; }
.tappa--costruita .tappa-carta[role="button"]:is(:is(:hover, .dito), :focus-visible) .tappa-vetro { background: linear-gradient(180deg, rgba(76, 44, 128, .42), rgba(52, 26, 98, .55)); }
/* the outline is a line of light, drawn by two comets from the top to the bottom */
.tappa-traccia { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.tappa-traccia path { fill: none; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.tappa-traccia .alone path { stroke: #FFC4D6; stroke-width: 7; opacity: .28; }
.tappa-traccia .luce path { stroke: rgba(255, 255, 255, .78); stroke-width: 1.15; transition: stroke .4s; }
.tappa--costruita .tappa-carta[role="button"]:is(:is(:hover, .dito), :focus-visible) .tappa-traccia .luce path { stroke: #fff; }
.tappa-cometa { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, #fff, rgba(255, 214, 230, .85) 35%, rgba(233, 160, 255, .35) 62%, rgba(233, 160, 255, 0)); }
.tappa--costruita .tappa-carta ol { position: relative; transform: none; opacity: 1; transition: none; }
.tappa--costruita .tappa-carta li + li::before { transform: scaleX(var(--filo, 0)); transition: none; }
.tappa--costruita .tappa-carta li p { opacity: 1; translate: none; filter: none; clip-path: none; transition: transform .5s var(--molla); }
.tappa--costruita .nodo { opacity: 1; scale: 1; filter: none; transition: scale .5s var(--molla); }
/* the rings on the water where the card breaks through */
.tappa-onda { position: absolute; left: 50%; top: 100%; width: 17rem; height: 2.6rem; border-radius: 50%; opacity: 0; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .55); box-shadow: 0 0 18px rgba(255, 214, 230, .35), inset 0 0 12px rgba(255, 214, 230, .25); }

@media (max-width: 700px) {
  .tappa { width: min(21.5rem, 74vw); }
  .nodo { font-size: 2.4rem; left: -.25rem; }
  .tappa-nome { font-size: 1.4rem; }
  .tappa-carta li { padding: 1.25rem 1.15rem 1.1rem; }
  .tappa-carta li p { font-size: .98rem; }
  .tappa-persona .persona { grid-template-columns: 6.6rem 1fr; gap: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tappa-carta, .tappa-carta li p, .nodo { transition: none; animation: none; }
}

/* ── the prism: every card of the way (cammino.js, prisma). Corners cut like a worked stone; the name in an inner block
   with the same cut corners, inside on top; the numbers inside, on the left of their rows. Alive to the pointer
   wherever it is (--krx --kry), its thickness in three layers of violet on the side the turn shows (--kex --key), a
   light over its face (--klx --kly --klo), its words standing in layers of violet the same way ── */
.tappa--prisma { --k: 22px; --ki: 10px; }
.tappa--prisma .tappa-carta { margin-top: 0; padding-left: 1.3rem; padding-right: 1.3rem; padding-bottom: 1.1rem; transform-origin: 50% 50%;
  transform: perspective(900px) rotateX(calc(var(--krx, 0) * 1deg)) rotateY(calc(var(--kry, 0) * 1deg)) translateZ(calc(var(--klo, 0) * 12px)); }
.tappa--prisma > .tappa-nome { position: absolute; z-index: 3; left: 1.3rem; top: 1.25rem; width: fit-content; max-width: calc(100% - 2.6rem); margin: 0; padding: .5rem .85rem .58rem;
  font-size: 1.3rem; text-align: left; isolation: isolate;
  text-shadow: 0 4px 16px rgba(20, 8, 44, .45); }   /* one soft shade, never a doubled copy of the letters */
.tappa--prisma > .tappa-nome::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgba(255, 255, 255, .11);
  opacity: clamp(0, calc((var(--e, 1) - .25) * 3), 1); scale: clamp(.9, calc(.9 + (var(--e, 1) - .25) * .3), 1);
  clip-path: polygon(var(--ki) 0, calc(100% - var(--ki)) 0, 100% var(--ki), 100% calc(100% - var(--ki)), calc(100% - var(--ki)) 100%, var(--ki) 100%, 0 calc(100% - var(--ki)), 0 var(--ki)); }
.tappa--prisma > .tappa-sotto { position: absolute; z-index: 3; left: 1.3rem; right: 1.3rem; margin: 0; text-align: left; }
/* the glass: a clear face cut like a stone, as the cards always were; its thickness, solid, only round it (the SVG
   drawn in cammino.js, masked by the face's shape): three layers, each further toward the side the turn shows */
.tappa--prisma .tappa-vetro { background: none; box-shadow: none; border-radius: 0; }
.tappa--prisma .tappa-vetro b { position: absolute; inset: 0;
  clip-path: polygon(var(--k) 0, calc(100% - var(--k)) 0, 100% var(--k), 100% calc(100% - var(--k)), calc(100% - var(--k)) 100%, var(--k) 100%, 0 calc(100% - var(--k)), 0 var(--k));
  background: radial-gradient(45% 55% at var(--klx, 50%) var(--kly, 50%), rgba(255, 236, 246, calc(var(--klo, 0) * .16)), transparent 70%), linear-gradient(180deg, rgba(60, 34, 104, .2), rgba(40, 20, 78, .3)); }
.tappa-spessore { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.tappa-spessore .s1 { fill: #DEBAF0; transform: translate(calc(var(--kex, -.4) * 4px), calc(var(--key, 1) * 4px)); }
.tappa-spessore .s2 { fill: #AA78D6; transform: translate(calc(var(--kex, -.4) * 8px), calc(var(--key, 1) * 8px)); }
.tappa-spessore .s3 { fill: #6E44A6; transform: translate(calc(var(--kex, -.4) * 12px), calc(var(--key, 1) * 12px)); }
.tappa--prisma .tappa-carta[role="button"]:is(:is(:hover, .dito), :focus-visible) .tappa-vetro { background: none; }
/* under the hand the glass deepens and lights, and as the hand leaves it clears again: a fade both ways, never a jump
   (a gradient does not move from one to another, so the deeper glass is a layer of its own that comes and goes) */
.tappa--prisma .tappa-vetro b::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s cubic-bezier(.2, .8, .2, 1);
  background: radial-gradient(45% 55% at var(--klx, 50%) var(--kly, 50%), rgba(255, 236, 246, .2), transparent 70%), linear-gradient(180deg, rgba(76, 44, 128, .42), rgba(52, 26, 98, .55)); }
.tappa--prisma .tappa-carta[role="button"]:is(:is(:hover, .dito), :focus-visible) .tappa-vetro b::after { opacity: 1; }
/* the rows: the number inside on the left, its words beside it */
.tappa--prisma .tappa-carta li { display: grid; grid-template-columns: 3.1rem minmax(0, 1fr); align-items: center; gap: .85rem; padding: .95rem .15rem; text-align: left; }
.tappa--prisma .nodo { position: relative; left: auto; top: auto; font-size: 2.85rem; text-align: right; transform-origin: 100% 50%; translate: calc(var(--vx, 0) * 10px) calc(var(--vy, 0) * 8px);
  text-shadow: calc(var(--kex, -.4) * 1.4px) calc(var(--key, 1) * 1.4px) 0 #DEBAF0, calc(var(--kex, -.4) * 2.8px) calc(var(--key, 1) * 2.8px) 0 #AA78D6, calc(var(--kex, -.4) * 4.2px) calc(var(--key, 1) * 4.2px) 0 #6E44A6; }
.tappa--prisma .tappa-carta li.accesa:is(:hover, .dito) .nodo { scale: 1.14; translate: calc(var(--vx, 0) * 10px) calc(var(--vy, 0) * 8px) 30px; filter: drop-shadow(0 0 12px rgba(233, 160, 255, .55)); }
.tappa--prisma .tappa-azione { margin: .4rem 0 1rem 4rem; }
@media (max-width: 700px) {
  .tappa--prisma > .tappa-nome { font-size: 1.15rem; left: 1.05rem; top: 1rem; }
  .tappa--prisma .tappa-carta { padding-left: 1.05rem; padding-right: 1.05rem; }
  .tappa--prisma .tappa-carta li { grid-template-columns: 2.5rem minmax(0, 1fr); gap: .7rem; }
  .tappa--prisma .nodo { font-size: 2.3rem; }
}

/* What only the world «centro» needs on the page. */
/* What only the world «ecosistema» needs on the page. */
/* What only the world «evolution» needs on the page. */
/* What only the world «music» needs on the page. */
/* a record on the right of the way passes where this world's words stand: they step back while it does (music.js) */
html.music-disco-dx .s-mondo[data-luogo="music"] .mondo-blocco { opacity: .08; pointer-events: none; transition: opacity .5s; }
/* What only the world «antropotech» needs on the page: its small marks take the warm gold of its hoops,
   in the evening of the first page, instead of the site's mint. */
.s-mondo[data-luogo="antropotech"] .mondo-blocco .occhiello { color: #FFD9B0; }
.s-mondo[data-luogo="antropotech"] blockquote { border-left-color: #FFD3A6; }
/* What only the world «chi» needs on the page. */
/* the founder's card stands in the middle of the way, inside her ring: a little narrower than the plain one,
   and the words of this world keep to their side, so the two never run into each other */
.tappa-persona { width: min(25.5rem, 88vw); }
.tappa-persona .tappa-nome { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; letter-spacing: -.01em; }
.tappa-persona .tappa-carta { margin-top: 1.1rem; background: linear-gradient(180deg, rgba(58, 30, 100, .46), rgba(38, 18, 74, .6)); }
.tappa-persona .persona { grid-template-columns: 8rem 1fr; gap: 1.05rem; }
.tappa-persona .persona small { color: #FFD9E6; }
.tappa-persona .persona p { font-size: .9rem; }
.s-mondo[data-luogo="chi"] .mondo-blocco { max-width: min(23rem, 29vw); }
.s-mondo[data-luogo="chi"] .mondo-titolo { font-size: clamp(2.4rem, 4.2vw, 4.4rem); }
@media (max-width: 700px) {
  .s-mondo[data-luogo="chi"] .mondo-blocco { max-width: 100%; }
  .s-mondo[data-luogo="chi"] .mondo-titolo { font-size: clamp(2.2rem, 10vw, 3.1rem); }
  /* on a phone this card is never drawn larger than life (cammino.js) and is pulled to the middle: it may take the width */
  .tappa-persona { width: 88vw; }
  .tappa-persona .tappa-nome { font-size: 1.7rem; }
  .tappa-persona .persona { grid-template-columns: 5.6rem minmax(0, 1fr); gap: .85rem; padding: .9rem; }
  .tappa-persona .pill { max-width: 100%; font-size: .8rem; padding: .55em .9em; }
  .tappa-persona .persona p { font-size: .86rem; margin-bottom: .7rem; }
}
/* What only the world «contatti» needs on the page: the form in the middle, light and deep, with the
   lighthouse beside it; fields that rise to the hand; the caret and the letters of light that
   ui/modulo4d.js puts in them. */

/* ── the form: a sheet of evening glass in the middle of the picture ── */
.s-contatti .modulo {
  position: absolute; inset: 0 0 4.6rem 0; margin: auto; width: min(32rem, calc(100vw - 2 * var(--bordo))); height: fit-content;
  max-height: none; overflow: visible; gap: .85rem; padding: 1.55rem 1.6rem 1.45rem; border-radius: 1.75rem;
  border-color: rgba(255, 255, 255, .5); color: #fff; transform-style: preserve-3d;
  background: linear-gradient(180deg, rgba(64, 36, 108, .36), rgba(38, 20, 76, .54));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 44px 70px -42px rgba(18, 8, 42, .8);
}
.s-contatti .due { gap: .85rem; transform-style: preserve-3d; }
.s-contatti .campo { transform-style: preserve-3d; position: relative; border-radius: 16px; }
/* each field is a tile in depth, as the cards of the way are: its name behind, the field, a ring of light in front.
   Under the hand they part, each on its own layer (ui/modulo4d.js eases --vx --vy once a frame) while the tile leans
   and lifts (quattrod); nothing here is a transition restarted by the hand */
.s-contatti .campo > span { transform: translateZ(-8px); translate: calc(var(--vx, 0) * -5px) calc(var(--vy, 0) * -4px); }
.s-contatti .campo :is(input, textarea, .tnd-campo) { translate: calc(var(--vx, 0) * 3px) calc(var(--vy, 0) * 2px); }
.m4-orlo {
  position: absolute; left: 0; right: 0; top: 0; height: 0; border-radius: 14px; pointer-events: none; overflow: hidden; opacity: 0;
  transform: translateZ(14px); translate: calc(var(--vx, 0) * 8px) calc(var(--vy, 0) * 6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 22px -2px rgba(255, 210, 228, .35);
  transition: opacity .5s, transform .7s var(--molla);
}
/* a glint inside the ring, on the side of the hand */
.m4-orlo b {
  position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .26), rgba(255, 228, 240, .08) 55%, rgba(255, 255, 255, 0));
  translate: calc(var(--vx, 0) * 120%) calc(var(--vy, 0) * 60%);
}
.s-contatti .campo:is(:hover, .dito) .m4-orlo { opacity: .85; }
.s-contatti .campo:focus-within .m4-orlo { opacity: 1; transform: translateZ(30px); }
.s-contatti .campo span { opacity: .78; transition: opacity .4s, letter-spacing .6s var(--molla), color .4s; text-shadow: 0 1px 10px rgba(30, 14, 60, .6); }
.s-contatti .campo:focus-within span { opacity: 1; letter-spacing: .2em; color: #FFE4D2; }
.s-contatti .campo input, .s-contatti .campo textarea, .s-contatti .campo select {
  padding: .68em .85em; font-size: 1rem; border-radius: 14px; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 0 rgba(255, 214, 190, 0);
  transition: border-color .45s, background .45s, box-shadow .6s var(--molla), transform .7s var(--molla);
}
.s-contatti .campo textarea { min-height: 5.6em; resize: none; }
.s-contatti .campo input:is(:hover, .dito), .s-contatti .campo textarea:is(:hover, .dito), .s-contatti .campo select:is(:hover, .dito) { border-color: rgba(255, 255, 255, .5); }
/* the field that is written in comes towards you, and a soft light gathers round it */
.s-contatti .campo input:focus, .s-contatti .campo textarea:focus, .s-contatti .campo select:focus {
  border-color: #fff; background: rgba(255, 255, 255, .14); transform: translateZ(26px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 4px rgba(255, 214, 190, .16), 0 22px 34px -20px rgba(18, 8, 42, .85);
}
.s-contatti .campo input:focus-visible, .s-contatti .campo textarea:focus-visible, .s-contatti .campo select:focus-visible { outline: 2px solid rgba(255, 255, 255, .9); outline-offset: 3px; }
.s-contatti .campo.male input, .s-contatti .campo.male textarea { border-color: #FFB3A1; box-shadow: 0 0 0 4px rgba(255, 150, 130, .18); animation: none; }
.s-contatti .modulo-errore { min-height: 0; color: #FFD0C4; text-shadow: 0 1px 10px rgba(30, 14, 60, .7); perspective: 600px; }

/* ── the checks, in depth (ui/modulo4d.js): one field after the other (--k) ── */
/* the field says no softly, turning a little in depth and settling, never a jolt */
.s-contatti .campo.avvisa :is(input, textarea) { animation: m4-no 1s cubic-bezier(.3, 0, .2, 1) calc(var(--k, 0) * 90ms) both; }
@keyframes m4-no { 0% { rotate: y 0deg; } 22% { rotate: y -8deg; } 48% { rotate: y 5deg; } 72% { rotate: y -2deg; } 100% { rotate: y 0deg; } }
/* its ring turns coral, stands forward and sends a wave out */
.s-contatti .campo.male .m4-orlo { opacity: 1; transform: translateZ(30px); box-shadow: inset 0 0 0 1.5px rgba(255, 176, 160, .95), 0 0 24px -2px rgba(255, 150, 130, .55); }
.s-contatti .campo.avvisa .m4-orlo { animation: m4-onda 1.1s cubic-bezier(.2, .7, .2, 1) calc(var(--k, 0) * 90ms + 120ms) both; overflow: visible; }
@keyframes m4-onda {
  0% { box-shadow: inset 0 0 0 1.5px rgba(255, 176, 160, .95), 0 0 0 0 rgba(255, 168, 150, .75), 0 0 24px -2px rgba(255, 150, 130, .55); }
  100% { box-shadow: inset 0 0 0 1.5px rgba(255, 176, 160, .95), 0 0 0 18px rgba(255, 168, 150, 0), 0 0 24px -2px rgba(255, 150, 130, .55); }
}
/* the tag: a small pill of layers, rising out of the field in front of it, its letters coming up one by one; it
   breathes in depth while the field waits, and dives back once it is put right */
.m4-avviso {
  position: absolute; right: 12px; margin-top: -12px; z-index: 3; pointer-events: none; opacity: 0;
  padding: .36em .8em .34em; border-radius: 999px; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: #3B2A5C;
  background: linear-gradient(115deg, #FFD9CC 0%, #FFB4C9 55%, #E9A0FF 100%);
  box-shadow: -1px 1px 0 rgba(176, 96, 200, .6), -2px 2px 0 rgba(150, 80, 190, .5), -3px 3px 0 rgba(122, 62, 168, .4), 0 12px 22px -10px rgba(40, 14, 70, .8);
  transform-origin: 50% 100%; transform: translateZ(-40px) rotateX(-80deg) scale(.6);
}
.s-contatti .campo.male .m4-avviso { opacity: 1; transform: translateZ(46px); }
.s-contatti .campo.avvisa .m4-avviso { animation: m4-sale .9s cubic-bezier(.2, 1.4, .3, 1) calc(var(--k, 0) * 90ms + 160ms) both, m4-respiro 2.8s ease-in-out calc(var(--k, 0) * 90ms + 1.1s) infinite; }
@keyframes m4-sale { 0% { opacity: 0; transform: translateZ(-40px) rotateX(-80deg) scale(.6); } 60% { opacity: 1; } 100% { opacity: 1; transform: translateZ(46px) rotateX(0) scale(1); } }
@keyframes m4-respiro { 0%, 100% { transform: translateZ(46px) rotateX(0); } 50% { transform: translateZ(54px) rotateX(-6deg); } }
.m4-avviso-t { display: inline-flex; }
/* the tag keeps its own ink: the field's name styles every span in the label, these are not names */
.s-contatti .campo .m4-avviso span, .s-contatti .campo:focus-within .m4-avviso span { opacity: 1; color: inherit; letter-spacing: inherit; text-shadow: none; transition: none; }
.m4-avviso-t i, .m4-errore-t i { display: inline-block; font-style: normal; }
.s-contatti .campo.avvisa .m4-avviso-t i { animation: m4-lettera .55s cubic-bezier(.2, .9, .3, 1) calc(var(--k, 0) * 90ms + 300ms + var(--l) * 22ms) both; }
@keyframes m4-lettera { 0% { opacity: 0; transform: translate3d(0, .7em, -30px) rotateX(-75deg); filter: blur(2px); } 100% { opacity: 1; transform: none; filter: none; } }
.s-contatti .campo.rimesso .m4-avviso { animation: m4-tuffo .5s cubic-bezier(.5, 0, .7, .4) both; }
@keyframes m4-tuffo { 0% { opacity: 1; transform: translateZ(46px); } 100% { opacity: 0; transform: translateZ(-40px) rotateX(80deg) scale(.6); } }
/* the line under the form: written from the depth, letter by letter; it sinks back when all is right */
.m4-errore-t { display: inline-block; transform-style: preserve-3d; }
.s-contatti .modulo-errore.scrive .m4-errore-t i { animation: m4-lettera .6s cubic-bezier(.2, .9, .3, 1) calc(var(--l) * 24ms) both; }
.s-contatti .modulo-errore.via { opacity: 0; translate: 0 6px; transition: opacity .45s, translate .5s var(--molla); }
.s-contatti .modulo-errore:empty { margin-top: -.85rem; }
.s-contatti .modulo-invia small { opacity: .8; }
.modulo-esito { min-height: 0; margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.08rem; opacity: 0; translate: 0 8px; transition: opacity .8s, translate 1s var(--molla); }
.modulo-esito:empty { margin-top: -.85rem; }
.modulo-esito.detto { opacity: 1; translate: 0 0; }

/* the message has left: a ring of light runs out from the sheet */
.s-contatti .modulo.inviato { animation: m4-inviato 1.8s cubic-bezier(.2, .8, .2, 1) 1; }
@keyframes m4-inviato {
  0% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 44px 70px -42px rgba(18, 8, 42, .8), 0 0 0 0 rgba(255, 224, 204, .75); }
  100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 44px 70px -42px rgba(18, 8, 42, .8), 0 0 0 54px rgba(255, 224, 204, 0); }
}

/* the words of the world stay to the left of the form, never under it */
.s-contatti .mondo-blocco { max-width: min(22rem, calc(50vw - 16rem - 2 * var(--bordo))); }
.s-contatti .piede { margin-top: auto; }

/* ── the caret: a blade of light with a back close behind it, that breathes and nods to the hand; the same in every field ── */
.s-contatti.con-cursore4d .campo input, .s-contatti.con-cursore4d .campo textarea { caret-color: transparent; }
.m4-cursore {
  position: absolute; left: 0; top: 0; width: 3px; border-radius: 2px; pointer-events: none; opacity: 0; transform-style: preserve-3d; will-change: transform;
  background: linear-gradient(180deg, #fff, #FFD9C4); box-shadow: 0 0 9px 2px rgba(255, 220, 200, .85), 0 0 26px 7px rgba(255, 168, 138, .4);
  transition: opacity .25s, height .2s;
}
.m4-cursore.acceso { opacity: 1; }
.m4-cursore i { position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: m4-respira 1.7s ease-in-out infinite; }
/* its back: the same blade a little behind, so that leaning it shows its thickness */
.m4-cursore::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #FFB79C; opacity: .45; transform: translateZ(-3px); }
.m4-cursore::after { content: ""; position: absolute; left: -7px; right: -7px; bottom: -3px; height: 5px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 190, .75), rgba(255, 214, 190, 0)); }
.m4-cursore.scrive i { animation: none; }
@keyframes m4-respira { 0%, 100% { opacity: 1; scale: 1 1; } 50% { opacity: .62; scale: 1 .9; } }

/* ── the letters of light: each lands turning where it was typed, or falls when it is taken away ── */
.m4-strato { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; perspective: 520px; transform-style: preserve-3d; }
.m4-segno {
  position: absolute; left: 0; top: 0; white-space: pre; pointer-events: none; opacity: 0; color: #fff; will-change: transform, opacity;
  text-shadow: 0 0 10px rgba(255, 226, 208, .95), 0 0 26px rgba(255, 170, 140, .6); transform-origin: 50% 60%; backface-visibility: visible;
}

/* ── the pointer over a field: a small upright bar instead of the ring ── */
html.con-cursore .s-contatti .campo input, html.con-cursore .s-contatti .campo textarea, html.con-cursore .s-contatti .campo select { cursor: none; }
.cursore[data-modo="scrivi"] .cu-anello { transform: scaleX(.14) scaleY(1.05); border-radius: 12px; background: currentColor; opacity: .95; box-shadow: 0 0 16px 3px rgba(255, 220, 200, .6); }
.cursore[data-modo="scrivi"] .cu-punto { opacity: 0; }

/* a narrow window: the words go above, the form under them */
@media (max-width: 1040px) {
  .s-contatti .mondo-blocco { max-width: 100%; }
  .s-contatti .mondo-intro { display: none; }
  .s-contatti .modulo { inset: 8.6rem 0 4.6rem 0; }
}
/* a low window: the form keeps to what is there and scrolls inside itself */
@media (max-height: 740px) {
  .s-contatti .modulo { max-height: calc(100vh - 2 * var(--bordo) - 12.5rem); overflow-y: auto; scrollbar-width: thin; transform-style: flat; }
}
/* a phone: the lantern shows between the words and the form */
@media (max-width: 700px) {
  .s-contatti .modulo { position: static; inset: auto; margin: auto 0 0; width: auto; height: auto; max-height: 46vh; overflow-y: auto; scrollbar-width: thin; padding: .95rem 1rem 1rem; gap: .55rem; border-radius: 1.3rem; transform-style: flat; }
  .s-contatti .due { gap: .55rem; }
  .s-contatti .campo input, .s-contatti .campo textarea, .s-contatti .campo select { padding: .55em .7em; font-size: 16px; }
  .s-contatti .campo input:focus, .s-contatti .campo textarea:focus, .s-contatti .campo select:focus { transform: none; }
  .s-contatti .campo textarea { min-height: 3.4em; }
  .s-contatti .piede { margin-top: .7rem; }
  /* the whole form, «Invia» too, stands in its room on a phone: tighter rows, a little more room */
  .s-contatti .modulo { max-height: 52vh; gap: .42rem; padding: .8rem .9rem .9rem; }
  .s-contatti .campo input, .s-contatti .campo select { padding: .46em .66em; }
}
/* a phone held sideways: the words and the footer on the left, the form on the right as tall as there is room */
@media (max-height: 520px) and (orientation: landscape) {
  .s-contatti .mondo-blocco { max-width: 36vw; }
  .s-contatti .modulo { position: absolute; inset: calc(var(--bordo) + 3rem) var(--bordo) calc(var(--bordo) + 4.9rem) auto; width: min(56vw, 34rem); height: auto; max-height: none; margin: 0;
    overflow-y: auto; scrollbar-width: thin; padding: .7rem .85rem .8rem; gap: .4rem; transform-style: flat; }
  /* three fields a row, the message across, «Invia» under it: all of it within the height */
  .s-contatti .modulo { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: .45rem; }
  .s-contatti .due { display: contents; }
  .s-contatti .campo:has(textarea), .s-contatti .modulo-errore, .s-contatti .modulo-invia, .s-contatti .modulo-esito { grid-column: 1 / -1; }
  .s-contatti .modulo-errore:empty { display: none; }
  .s-contatti .modulo { gap: .3rem; padding: .55rem .75rem .6rem; }
  .s-contatti .campo span { font-size: .56rem; margin-bottom: .1rem; }
  .s-contatti .campo input, .s-contatti .campo textarea, .s-contatti .campo select { padding: .3em .55em; font-size: 16px; }
  .s-contatti .campo textarea { min-height: 0; height: 2.3em; }
  .s-contatti .modulo-invia .bottone-4d { scale: .9; transform-origin: 0 50%; }
  .s-contatti .piede { position: absolute; left: var(--bordo); bottom: calc(var(--bordo) + 4.4rem); width: calc(40vw - 2 * var(--bordo)); margin: 0;
    grid-template-columns: 1fr; justify-items: start; gap: .35rem; padding-top: .5rem; font-size: .76rem; }
  .s-contatti .piede-voci { justify-content: flex-start; gap: .3rem .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .m4-cursore i { animation: none; }
  .s-contatti .campo.avvisa :is(input, textarea), .s-contatti .campo.avvisa .m4-orlo, .s-contatti .campo.avvisa .m4-avviso, .s-contatti .campo.avvisa .m4-avviso-t i,
  .s-contatti .modulo-errore.scrive .m4-errore-t i, .s-contatti .campo.rimesso .m4-avviso { animation: none; }
  .m4-orlo { transition: opacity .2s; }
  .s-contatti .campo input, .s-contatti .campo textarea, .s-contatti .campo select { transition: border-color .2s, background .2s; }
  .s-contatti .campo input:focus, .s-contatti .campo textarea:focus, .s-contatti .campo select:focus { transform: none; }
}
/* The form's dropdown (ui/tendina.js): the field in the form's glass, a sheet that unfolds like water. */
.tnd-nativa { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; padding: 0 !important; border: 0 !important; }
.tendina { position: relative; z-index: 2; }
.tendina.aperta { z-index: 30; }
.tnd-campo {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .5em; text-align: left; cursor: pointer;
  border: 1px solid rgba(235, 240, 255, .24); border-radius: 12px; background: rgba(235, 240, 255, .07); color: inherit; font: inherit; font-size: .95rem; padding: .55em .7em;
  transition: border-color .3s, background .3s, box-shadow .4s;
}
.tnd-campo:is(:hover, .dito), .tnd-campo:focus-visible, .tendina.aperta .tnd-campo { outline: none; border-color: rgba(255, 214, 228, .7); background: rgba(235, 240, 255, .12); box-shadow: 0 0 0 4px rgba(255, 196, 218, .12); }
.tnd-valore { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
.tnd-freccia { flex: none; width: .95em; height: .95em; opacity: .85; transition: transform .55s var(--molla); }
.tendina.aperta .tnd-freccia { transform: rotate(180deg); }

/* the sheet: it opens from the field like a film of water running down, the rows arriving one by one */
.tnd-foglio {
  position: absolute; left: 0; right: 0; top: calc(100% + .45rem); max-height: min(19rem, 52vh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  border-radius: 16px; padding: .35rem; color: #fff;
  background: linear-gradient(180deg, rgba(70, 40, 112, .9), rgba(44, 22, 82, .94)); border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 26px 50px -18px rgba(18, 6, 40, .75), inset 0 1px 0 rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  transform-origin: 50% 0; clip-path: inset(0 0 100% 0 round 16px); opacity: 0; transform: translate3d(0, -8px, 0) scaleY(.94); pointer-events: none;
  transition: clip-path .62s var(--molla), opacity .35s, transform .62s var(--molla);
}
.tendina.su .tnd-foglio { top: auto; bottom: calc(100% + .45rem); transform-origin: 50% 100%; clip-path: inset(100% 0 0 0 round 16px); transform: translate3d(0, 8px, 0) scaleY(.94); }
.tendina.aperta .tnd-foglio { clip-path: inset(-2px -2px -2px -2px round 16px); opacity: 1; transform: none; pointer-events: auto; }
.tnd-lista { list-style: none; margin: 0; padding: 0; position: relative; outline: none; }
.tnd-lista li { position: relative; z-index: 1; padding: .62em .8em; border-radius: 11px; font-size: .95rem; cursor: pointer; opacity: 0; transform: translate3d(0, -6px, 0); filter: blur(4px);
  transition: opacity .45s, transform .6s var(--molla), filter .5s, letter-spacing .5s var(--molla); }
.tendina.aperta .tnd-lista li { opacity: .82; transform: none; filter: none; transition-delay: calc(.06s + var(--i) * 38ms); }
.tendina.aperta .tnd-lista li.attiva { opacity: 1; letter-spacing: .01em; }
.tnd-lista li[aria-selected="true"]::after { content: ""; position: absolute; right: .9em; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #FFD6E4; box-shadow: 0 0 10px 2px rgba(255, 196, 218, .6); }
/* the lens under the row the hand is on */
.tnd-lente { position: absolute; z-index: 0; left: .35rem; right: .35rem; top: .35rem; height: 2.4em; border-radius: 11px; pointer-events: none;
  background: radial-gradient(120% 140% at 30% 0%, rgba(255, 255, 255, .26), rgba(255, 214, 228, .12) 60%, rgba(255, 255, 255, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 16px -8px rgba(10, 0, 30, .6); opacity: 0; transition: transform .38s var(--molla), height .3s, opacity .3s; }
.tendina.aperta .tnd-lente { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .tnd-foglio, .tnd-lista li, .tnd-lente { transition: none; }
}
/* the form styles every span of a field as its small label: not these */
.campo .tendina span { display: inline-block !important; font-size: inherit !important; letter-spacing: normal !important; text-transform: none !important; opacity: 1 !important; margin: 0 !important; text-shadow: none !important; color: inherit !important; }

/* while open it stands in front of the whole form (the fields are in depth: it is lifted, not only stacked) */
.s-contatti .due:has(.tendina.aperta), .s-contatti .campo:has(.tendina.aperta) { position: relative; z-index: 60; transform: translateZ(60px) !important; }
.tendina { transform-style: preserve-3d; }
.tnd-foglio { background: linear-gradient(180deg, rgba(76, 44, 120, .97), rgba(48, 24, 88, .98)); }
/* once open, the rows answer the hand at once */
.tendina.pronta .tnd-lista li { transition-delay: 0s !important; transition-duration: .18s, .25s, .2s, .3s; }
/* the lens is moved by ui/tendina.js, once a frame: from row to row it follows with a little delay and leans as it
   travels; only its light comes and goes here */
.tnd-lente { transition: opacity .25s; will-change: transform; transform-origin: 50% 50%; }
