/* instrument-serif-latin-ext-400-normal */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/instrument-serif-latin-ext-400-normal-C2je3j2s.woff2) format('woff2'), url(/assets/instrument-serif-latin-ext-400-normal-CFCUzsTy.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* instrument-serif-latin-400-normal */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/instrument-serif-latin-400-normal-DnYpCC2O.woff2) format('woff2'), url(/assets/instrument-serif-latin-400-normal-BVbkICAY.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* instrument-serif-latin-ext-400-italic */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/instrument-serif-latin-ext-400-italic-C9HzH3YL.woff2) format('woff2'), url(/assets/instrument-serif-latin-ext-400-italic-D7-lnxEk.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* instrument-serif-latin-400-italic */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/instrument-serif-latin-400-italic-DKMiL14s.woff2) format('woff2'), url(/assets/instrument-serif-latin-400-italic-u__WvvIK.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* inter-tight-cyrillic-ext-400-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-tight-cyrillic-ext-400-normal-CKO3cWyd.woff2) format('woff2'), url(/assets/inter-tight-cyrillic-ext-400-normal-DiHHcP5k.woff) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* inter-tight-cyrillic-400-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-tight-cyrillic-400-normal-G7BuwYWK.woff2) format('woff2'), url(/assets/inter-tight-cyrillic-400-normal-DPRou3KO.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* inter-tight-greek-ext-400-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-tight-greek-ext-400-normal-C3GMUg_S.woff2) format('woff2'), url(/assets/inter-tight-greek-ext-400-normal-DMqR5RoS.woff) format('woff');
  unicode-range: U+1F00-1FFF;
}

/* inter-tight-greek-400-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-tight-greek-400-normal-Br_GQm5W.woff2) format('woff2'), url(/assets/inter-tight-greek-400-normal-BLLSFQTx.woff) format('woff');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* inter-tight-vietnamese-400-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-tight-vietnamese-400-normal-CqzIqjuX.woff2) format('woff2'), url(/assets/inter-tight-vietnamese-400-normal-kSDs3Vd1.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* inter-tight-latin-ext-400-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-tight-latin-ext-400-normal-DN7wyBvd.woff2) format('woff2'), url(/assets/inter-tight-latin-ext-400-normal-BQQeeQrv.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* inter-tight-latin-400-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inter-tight-latin-400-normal-iW8qmuJY.woff2) format('woff2'), url(/assets/inter-tight-latin-400-normal-BLrFJfvD.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* inter-tight-cyrillic-ext-500-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/inter-tight-cyrillic-ext-500-normal-BZAF-_VI.woff2) format('woff2'), url(/assets/inter-tight-cyrillic-ext-500-normal-Dy1ZB9JY.woff) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* inter-tight-cyrillic-500-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/inter-tight-cyrillic-500-normal-5ykfyGeh.woff2) format('woff2'), url(/assets/inter-tight-cyrillic-500-normal-CRXauZSq.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* inter-tight-greek-ext-500-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/inter-tight-greek-ext-500-normal-Be7hKmpC.woff2) format('woff2'), url(/assets/inter-tight-greek-ext-500-normal-BEGGcu3x.woff) format('woff');
  unicode-range: U+1F00-1FFF;
}

/* inter-tight-greek-500-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/inter-tight-greek-500-normal-kave9HZE.woff2) format('woff2'), url(/assets/inter-tight-greek-500-normal-Ca-cFdRH.woff) format('woff');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* inter-tight-vietnamese-500-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/inter-tight-vietnamese-500-normal-C7jl9LDK.woff2) format('woff2'), url(/assets/inter-tight-vietnamese-500-normal-CO4EMNTO.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* inter-tight-latin-ext-500-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/inter-tight-latin-ext-500-normal-D3akd6m-.woff2) format('woff2'), url(/assets/inter-tight-latin-ext-500-normal-_hLDZz_3.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* inter-tight-latin-500-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/inter-tight-latin-500-normal-BFXNXuvF.woff2) format('woff2'), url(/assets/inter-tight-latin-500-normal-pobXraBK.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* inter-tight-cyrillic-ext-600-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/inter-tight-cyrillic-ext-600-normal-B4SKDMEv.woff2) format('woff2'), url(/assets/inter-tight-cyrillic-ext-600-normal-_3ga77Eo.woff) format('woff');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* inter-tight-cyrillic-600-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/inter-tight-cyrillic-600-normal-BERwQ0yl.woff2) format('woff2'), url(/assets/inter-tight-cyrillic-600-normal-BeTasGgk.woff) format('woff');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* inter-tight-greek-ext-600-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/inter-tight-greek-ext-600-normal-CiDI6ET5.woff2) format('woff2'), url(/assets/inter-tight-greek-ext-600-normal-5gKW7MDU.woff) format('woff');
  unicode-range: U+1F00-1FFF;
}

/* inter-tight-greek-600-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/inter-tight-greek-600-normal-BIqmcc-q.woff2) format('woff2'), url(/assets/inter-tight-greek-600-normal-67HAlfW-.woff) format('woff');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* inter-tight-vietnamese-600-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/inter-tight-vietnamese-600-normal-FGgebaLI.woff2) format('woff2'), url(/assets/inter-tight-vietnamese-600-normal-BCXZ1BbA.woff) format('woff');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* inter-tight-latin-ext-600-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/inter-tight-latin-ext-600-normal-BgMgWFts.woff2) format('woff2'), url(/assets/inter-tight-latin-ext-600-normal-BvYdOF2O.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* inter-tight-latin-600-normal */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/inter-tight-latin-600-normal-BgSTtRxb.woff2) format('woff2'), url(/assets/inter-tight-latin-600-normal-D7bG6gX1.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/* The language switch (ui/lingua.js): two letters in a pill of glass beside the navigation, as tall as the buttons
   next to it; a drop of white light sits under the language of the page and runs to the other one when it is chosen */
.lingua {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; height: 44px; padding: 3px; border-radius: 999px;
  isolation: isolate; pointer-events: auto;
  background: linear-gradient(115deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08));
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .42), 0 12px 26px -14px rgba(30, 14, 60, .6);
}
.lingua-voce {
  position: relative; z-index: 1; display: grid; place-items: center; min-width: 48px; height: 38px; border-radius: 999px;
  color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-indent: .16em; text-decoration: none;
  transition: color .5s var(--molla);
}
.lingua[data-su="it"] .lingua-voce[data-lingua="it"], .lingua[data-su="en"] .lingua-voce[data-lingua="en"] { color: var(--ink); }
.lingua-voce:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lingua-goccia {
  position: absolute; z-index: 0; left: 3px; top: 3px; bottom: 3px; width: calc(50% - 3px); border-radius: 999px; background: #fff;
  box-shadow: 0 1px 0 rgba(150, 170, 255, .3), 0 6px 14px -6px rgba(60, 30, 70, .5);
  transition: translate .7s var(--molla), scale .45s var(--molla);
}
.lingua[data-su="en"] .lingua-goccia { translate: 100% 0; }
/* under the hand the drop stretches a little toward the other language */
@media (hover: hover) {
  .lingua[data-su="it"]:is(:hover, .dito) .lingua-goccia { translate: 7% 0; scale: 1.08 1; }
  .lingua[data-su="en"]:is(:hover, .dito) .lingua-goccia { translate: 93% 0; scale: 1.08 1; }
}
.testa-nav .lingua { margin-left: .2rem; }
/* on the threshold it waits in the top corner, above the evening */
.soglia > .lingua { position: absolute; z-index: 6; top: var(--bordo); right: var(--bordo); }
@media (prefers-reduced-motion: reduce) { .lingua-goccia, .lingua-voce { transition: none; } }

/* pressed, the pill sinks a little, as «Send» does */
.lingua { transition: scale .3s var(--molla); }
.lingua.premuto { scale: .95; }
/* A button of three blocks (ui/bottone4d.js): the body, the words, the arrow. --h (0 at rest, 1 risen) and
   --mx --my (where the hand is on it) are eased in JS and written once a frame; here only what they mean.
   Under the hand the blocks rise apart, the arrow highest, each standing out in fixed layers of violet as the
   cards' numbers do, and the whole leans toward the hand. */
.bottone-4d {
  --h: 0; --mx: 0; --my: 0; --ox: 50%; --oy: 50%;
  position: relative; display: inline-block; margin: 0; padding: 0; border: 0; background: none; color: #3B2A5C;
  font: inherit; text-decoration: none; cursor: pointer; perspective: 620px; -webkit-tap-highlight-color: transparent; pointer-events: auto;
}
.bottone-4d:focus-visible { outline: none; }
.bottone-4d:disabled { cursor: default; }
.b4 {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .9rem; height: 56px; padding: 0 1.8rem;
  font-size: clamp(1rem, 1.1vw, 1.12rem); font-weight: 500; line-height: 1; white-space: nowrap; transform-style: preserve-3d;
  transform: rotateX(calc(var(--my) * var(--h) * 11deg)) rotateY(calc(var(--mx) * var(--h) * -15deg)) translateZ(calc(var(--h) * 6px));
  transition: scale .22s var(--molla);
}
/* the body: the white pill on its layers of violet, which open further as it rises */
.b4-fondo {
  position: absolute; inset: 0; border-radius: 999px; overflow: hidden; background: #fff;
  box-shadow:
    calc(-2px - var(--h) * 2px) calc(3px + var(--h) * 3px) 0 rgba(222, 186, 240, .95),
    calc(-4px - var(--h) * 4px) calc(6px + var(--h) * 6px) 0 rgba(170, 120, 214, .85),
    calc(-6px - var(--h) * 6px) calc(9px + var(--h) * 9px) 0 rgba(110, 68, 166, .7),
    0 calc(24px + var(--h) * 16px) calc(44px + var(--h) * 16px) -16px rgba(40, 14, 70, .7);
}
/* the evening's colours flow in from where the hand comes in */
.b4-inchiostro { position: absolute; inset: -1px; border-radius: inherit; background: linear-gradient(115deg, #FFC4D6 0%, #E9A0FF 52%, #9F8BFF 100%); clip-path: circle(0% at var(--ox) var(--oy)); transition: clip-path .6s var(--molla); }
.bottone-4d:is(:is(:hover, .dito), :focus-visible, .premuto):not(:disabled) .b4-inchiostro { clip-path: circle(150% at var(--ox) var(--oy)); }
/* the words, a block of their own above the body */
.b4-t {
  position: relative; transform: translateZ(calc(var(--h) * 22px));
  text-shadow: 0 calc(var(--h) * 8px) calc(var(--h) * 16px) rgba(40, 14, 70, .3);
}
/* the arrow, highest: it turns to point the way as it rises */
.b4-freccia {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #3B2A5C; color: #fff;
  transform: translateZ(calc(var(--h) * 40px)) rotate(calc(var(--h) * -45deg));
  box-shadow: calc(var(--h) * -2px) calc(var(--h) * 3px) 0 rgba(222, 186, 240, .95), calc(var(--h) * -4px) calc(var(--h) * 6px) 0 rgba(170, 120, 214, .85), calc(var(--h) * -6px) calc(var(--h) * 9px) 0 rgba(110, 68, 166, .7), 0 calc(var(--h) * 16px) calc(var(--h) * 24px) -8px rgba(40, 14, 70, .6);
  transition: background .35s, color .35s;
}
.bottone-4d:is(:is(:hover, .dito), :focus-visible, .premuto):not(:disabled) .b4-freccia { background: #fff; color: #3B2A5C; }
.b4-freccia .freccia { width: 14px; height: 14px; }
/* only while it moves does it keep layers of its own: risen and still, it is drawn again sharp */
.bottone-4d.b4-vivo :is(.b4, .b4-t, .b4-freccia) { will-change: transform; }
.bottone-4d:focus-visible .b4-fondo { outline: 2px solid #fff; outline-offset: 4px; }
/* pressed, it sinks into its thickness */
.bottone-4d.premuto .b4 { scale: .96; }
@media (prefers-reduced-motion: reduce) {
  .b4 { transform: none; }
  .b4-inchiostro { transition: none; }
}

/* ── every other button of the site, in the same four dimensions (ui/bottone4d.js, strati) ──
   The body stands out in the same fixed layers of violet as the button in three blocks, and they open as it rises
   under the hand (--h). --s4d-strati is worked out on the button itself, so a body that is a child (the menu's) takes
   the layers of its own button */
.s4d {
  --h: 0; --mx: 0; --my: 0;
  --s4d-strati: calc(-2px - var(--h) * 2px) calc(3px + var(--h) * 3px) 0 rgba(222, 186, 240, .95), calc(-4px - var(--h) * 4px) calc(6px + var(--h) * 6px) 0 rgba(170, 120, 214, .85), calc(-6px - var(--h) * 6px) calc(9px + var(--h) * 9px) 0 rgba(110, 68, 166, .7);
}
.s4d.s4d-inclina { transform: perspective(620px) rotateX(calc(var(--my) * var(--h) * 11deg)) rotateY(calc(var(--mx) * var(--h) * -15deg)) translateZ(calc(var(--h) * 6px)); }
.menu-bottone.s4d .mb-fondo { box-shadow: var(--s4d-strati), 0 calc(18px + var(--h) * 12px) calc(30px + var(--h) * 12px) -14px rgba(40, 14, 70, .6); }
.pill.s4d { box-shadow: var(--s4d-strati), 0 calc(18px + var(--h) * 12px) calc(32px + var(--h) * 12px) -14px rgba(40, 14, 70, .55); }
.lettore.s4d { box-shadow: inset 0 0 0 1.6px rgba(255, 255, 255, .9), var(--s4d-strati), 0 12px 24px -12px rgba(30, 14, 60, .6); }
.lettore.s4d.acceso { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), var(--s4d-strati), 0 14px 28px -12px rgba(120, 60, 170, .7); }
.pannello-chiudi.s4d, .pn-porta.s4d { box-shadow: var(--s4d-strati); }
.tappa-azione.s4d, .ap-visita.s4d, .ap-chiudi.s4d, .piede-icona.s4d, .piede-su.s4d { box-shadow: var(--s4d-strati), 0 14px 26px -12px rgba(40, 14, 70, .5); }
.lg-documenti a.s4d { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), var(--s4d-strati); }
/* the language switch: a white body on its layers, like the button in three blocks; the drop under the chosen language
   is the evening's ink, standing out in a small layer of its own */
.lingua.s4d { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--s4d-strati), 0 calc(16px + var(--h) * 12px) calc(30px + var(--h) * 12px) -14px rgba(30, 14, 60, .6); }
.lingua.s4d .lingua-voce { color: rgba(59, 42, 92, .5); }
.lingua.s4d[data-su="it"] .lingua-voce[data-lingua="it"], .lingua.s4d[data-su="en"] .lingua-voce[data-lingua="en"] { color: #3B2A5C; }
.lingua.s4d .lingua-voce:focus-visible { outline-color: #3B2A5C; }
.lingua.s4d .lingua-goccia { background: linear-gradient(115deg, #FFC4D6 0%, #E9A0FF 52%, #9F8BFF 100%); box-shadow: -1px 1.5px 0 rgba(170, 120, 214, .7), -2px 3px 0 rgba(110, 68, 166, .5), 0 6px 14px -6px rgba(60, 30, 70, .5); }
/* every button with a white body: under the hand the evening's ink flows in from where the hand comes in, as on the
   button in three blocks, and the words stay in ink (strati, corpo) */
.s4d-corpo { position: relative; isolation: isolate; overflow: hidden; }
.s4d-corpo::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, #FFC4D6 0%, #E9A0FF 52%, #9F8BFF 100%); clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%)); transition: clip-path .6s cubic-bezier(.2, .8, .2, 1); }
.s4d-corpo:is(:is(:hover, .dito), :focus-visible, .premuto)::before { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); }
.s4d-corpo:is(:is(:hover, .dito), :focus-visible, .premuto) { color: #3B2A5C; }
.s4d.s4d-inclina:is(:is(:hover, .dito), :focus-visible) { transform: perspective(620px) rotateX(calc(var(--my) * var(--h) * 11deg)) rotateY(calc(var(--mx) * var(--h) * -15deg)) translateZ(calc(var(--h) * 6px)); }
/* its layers of violet are drawn by its body (.mb-fondo): the button itself does not cut them */
.menu-bottone.s4d { overflow: visible; }
.menu-bottone.s4d .mb-fondo { overflow: hidden; isolation: isolate; }
.menu-bottone.s4d .mb-fondo::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(115deg, #FFC4D6 0%, #E9A0FF 52%, #9F8BFF 100%); clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%)); transition: clip-path .6s cubic-bezier(.2, .8, .2, 1); }
.menu-bottone.s4d:is(:is(:hover, .dito), :focus-visible, .premuto) .mb-fondo::before { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); }
.menu-bottone.s4d:is(:hover, .dito) .mb-fondo { transform: none; }
/* the same white body everywhere */
.pannello-chiudi.s4d, .ap-visita.s4d, .lg-documenti a.s4d { background: #fff; color: #3B2A5C; border-color: transparent; text-shadow: none; }
.pannello-chiudi.s4d:is(:hover, .dito), .ap-visita.s4d:is(:is(:hover, .dito), :focus-visible) { background: #fff; background-image: none; color: #3B2A5C; }
.lg-documenti a.s4d[aria-current="page"] { background: linear-gradient(115deg, #FFC4D6 0%, #E9A0FF 52%, #9F8BFF 100%); color: #3B2A5C; }
.pn-porta.s4d-corpo:is(:is(:hover, .dito), :focus-visible) span { opacity: 1; }

/* The cookie notice (ui/biscotto.js): a card of the way, a prism (cammino.css, .tappa--prisma), rising from the bottom
   corner. Corners cut like a worked stone, a clear face, its thickness solid only round it (an SVG masked by the face),
   its title in an inner block with the same cut corners. It is built as those cards are: two lights run from the top
   middle and draw its outline, the glass pours up behind them, the title's block shows and its letters come out of the
   depth, its words are written from the left, its buttons rise. Its moves use translate, rotate and scale: the hand's
   lean (segui) owns its transform. Words with one soft shade under them, never a doubled copy. */
.biscotto {
  --k: 22px; --ki: 10px; --bc-molla: cubic-bezier(.2, .8, .2, 1);
  position: fixed; z-index: 60; right: var(--bordo, 24px); bottom: calc(var(--bordo, 24px) + var(--basso, 0px) + env(safe-area-inset-bottom, 0px)); transition: bottom .9s cubic-bezier(.2, .8, .2, 1);
  width: min(25.5rem, calc(100vw - 2 * var(--bordo, 24px))); perspective: 1100px; pointer-events: none;
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif; color: #fff; -webkit-font-smoothing: antialiased;
}
.biscotto.bc-su { pointer-events: auto; }
.bc-carta {
  position: relative; isolation: isolate; padding: 1.35rem 1.45rem 1.25rem; transform-style: preserve-3d;
  opacity: 0; translate: 0 52px; rotate: x -18deg; transform-origin: 50% 100%;
  transform: rotateX(calc(var(--krx, 0) * 1deg)) rotateY(calc(var(--kry, 0) * 1deg)) translateZ(calc(var(--klo, 0) * 12px));
  transition: opacity .7s ease, translate 1.2s var(--bc-molla), rotate 1.3s var(--bc-molla);
}
.bc-su .bc-carta { opacity: 1; translate: 0 0; rotate: x 0deg; }
.bc-via .bc-carta { opacity: 0; translate: 0 70px; rotate: x 22deg; transition: opacity .7s ease .1s, translate .9s cubic-bezier(.5, 0, .7, .4), rotate .9s cubic-bezier(.5, 0, .7, .4); }

/* its thickness: three copies of its cut shape, each further toward the side the turn shows (--kex --key, segui), seen
   only round the face; it comes once the glass has poured */
.bc-spessore { position: absolute; left: 0; top: 0; z-index: -2; overflow: visible; pointer-events: none; opacity: 0; transition: opacity .7s ease 1.1s; }
.bc-su .bc-spessore { opacity: 1; }
.bc-via .bc-spessore { opacity: 0; transition-delay: 0s; transition-duration: .3s; }
.bc-spessore .s1 { fill: #DEBAF0; transform: translate(calc(var(--kex, -.4) * 4px), calc(var(--key, 1) * 4px)); }
.bc-spessore .s2 { fill: #AA78D6; transform: translate(calc(var(--kex, -.4) * 8px), calc(var(--key, 1) * 8px)); }
.bc-spessore .s3 { fill: #6E44A6; transform: translate(calc(var(--kex, -.4) * 12px), calc(var(--key, 1) * 12px)); }
/* the face: clear glass cut like a stone, poured up from the bottom behind the two lights (its cut shape grows from the
   bottom edge to the whole: the same eight corners, moved); dense enough for its words to read over the brightest sky */
.bc-vetro { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  clip-path: polygon(var(--k) 100%, calc(100% - var(--k)) 100%, 100% 100%, 100% 100%, calc(100% - var(--k)) 100%, var(--k) 100%, 0 100%, 0 100%);
  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(76, 44, 128, .46), rgba(52, 26, 98, .6));
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  transition: clip-path 1.25s cubic-bezier(.3, .7, .2, 1) .35s; }
.bc-su .bc-vetro { 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)); }
.bc-via .bc-vetro { transition: clip-path .7s cubic-bezier(.5, 0, .7, .4); }
/* the hand's light over the glass */
.bc-luce { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: var(--klo, 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(42% 60% at var(--klx, 50%) var(--kly, 50%), rgba(255, 236, 246, .2), transparent 70%); }

/* the outline: a line of light drawn from the top middle down both sides, two lights running ahead of it */
.bc-orlo { position: absolute; left: 0; top: 0; z-index: 0; overflow: visible; pointer-events: none; }
.bc-orlo path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s cubic-bezier(.45, 0, .2, 1) .15s; }
.bc-orlo .alone path { stroke: #FFC4D6; stroke-width: 7; opacity: .26; }
.bc-orlo .luce path { stroke: rgba(255, 255, 255, .8); stroke-width: 1.15; }
.bc-su .bc-orlo path { stroke-dashoffset: 0; }
.bc-via .bc-orlo path { stroke-dashoffset: 1; transition-duration: .6s; transition-delay: 0s; }
.bc-cometa { position: absolute; left: 0; top: 0; z-index: 1; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; pointer-events: none; opacity: 0;
  offset-rotate: 0deg; offset-distance: 0%; background: radial-gradient(circle, #fff 0 30%, rgba(255, 214, 230, .7) 55%, transparent 72%); }
.bc-su .bc-cometa { animation: bc-cometa 1.5s cubic-bezier(.45, 0, .2, 1) .15s both; }
@keyframes bc-cometa { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

/* the words, each a layer of its own in depth, with one soft shade under them */
.bc-dentro { position: relative; z-index: 1; transform-style: preserve-3d; }
.bc-kick { margin: 0 0 .5rem; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #FFC4D6; translate: 0 0 8px;
  opacity: 0; transition: opacity .6s .45s; }
/* the title in an inner block with the same cut corners, as a card's name */
.bc-titolo { position: relative; isolation: isolate; width: fit-content; max-width: 100%; margin: 0 0 .7rem; padding: .48rem .8rem .55rem;
  font-family: "Instrument Serif", "Times New Roman", serif; font-weight: 400; font-size: 1.62rem; line-height: 1.04; letter-spacing: -.01em;
  translate: 0 0 18px; perspective: 600px; text-shadow: 0 6px 18px rgba(20, 8, 44, .45); }
.bc-titolo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgba(255, 255, 255, .11); opacity: 0; scale: .9;
  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));
  transition: opacity .7s ease .75s, scale .9s var(--bc-molla) .75s; }
.bc-su .bc-titolo::before { opacity: 1; scale: 1; }
.bc-titolo .bc-parola { display: inline-block; white-space: nowrap; }
.bc-titolo i { display: inline-block; font-style: normal; opacity: 0; translate: 0 .55em; rotate: x -70deg; filter: blur(3px); transform-origin: 50% 80%; }
.bc-su .bc-kick { opacity: 1; }
.bc-su .bc-titolo i { animation: bc-lettera .7s cubic-bezier(.2, .9, .3, 1) calc(.6s + var(--l) * 24ms) both; }
@keyframes bc-lettera { from { opacity: 0; translate: 0 .55em; rotate: x -70deg; filter: blur(3px); } to { opacity: 1; translate: 0 0; rotate: x 0deg; filter: none; } }
.bc-testo { margin: 0 0 1.05rem; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .92); translate: 0 0 12px; text-shadow: 0 1px 10px rgba(20, 8, 44, .4);
  opacity: 0; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 0%); mask-image: linear-gradient(90deg, #000 0%, transparent 0%); }
.bc-su .bc-testo { animation: bc-scrivi 1.1s cubic-bezier(.3, .7, .2, 1) 1s both; }
@property --bc-x { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@keyframes bc-scrivi { from { opacity: 1; --bc-x: 0%; } to { opacity: 1; --bc-x: 125%; } }
.bc-su .bc-testo { -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--bc-x) - 25%), transparent var(--bc-x)); mask-image: linear-gradient(90deg, #000 calc(var(--bc-x) - 25%), transparent var(--bc-x)); }

/* the answer: two of the site's buttons, alike, rising after the words */
.bc-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .7rem; translate: 0 14px 26px; opacity: 0; transition: opacity .6s 1.25s, translate .9s var(--bc-molla) 1.25s; transform-style: preserve-3d; }
.bc-su .bc-fila { opacity: 1; translate: 0 0 26px; }
.bc-fila .b4 { height: 44px; gap: .65rem; padding: 0 1.3rem; font-size: .9rem; }
.bc-link { display: inline-block; margin-top: .85rem; font-size: .76rem; color: rgba(255, 255, 255, .8); text-decoration: underline; text-decoration-color: rgba(255, 196, 214, .6); text-underline-offset: .22em; translate: 0 0 10px;
  opacity: 0; transition: opacity .6s 1.45s, color .3s, text-decoration-color .3s, translate .5s var(--bc-molla); }
.bc-su .bc-link { opacity: 1; }
.bc-link:is(:hover, .dito), .bc-link:focus-visible { color: #fff; text-decoration-color: #fff; translate: 0 -1px 18px; outline: none; }

@media (max-width: 700px) {
  .biscotto { left: 12px; right: 12px; width: auto; bottom: calc(12px + var(--basso, 0px) + env(safe-area-inset-bottom, 0px)); }
  .bc-carta { padding: 1.15rem 1.1rem 1.05rem; }
  .bc-titolo { font-size: 1.38rem; }
  .bc-testo { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bc-carta, .bc-spessore, .bc-orlo path, .bc-kick, .bc-fila, .bc-link, .bc-titolo::before { transition-duration: .01s; transition-delay: 0s; }
  .bc-vetro { transition-duration: .01s; transition-delay: 0s; }
  .bc-su .bc-titolo i, .bc-su .bc-testo, .bc-su .bc-cometa { animation-duration: .01s; animation-delay: 0s; }
}
