/*
 * Viola Beauty Art. The colours are the centre's: the lavender of its mark
 * (#AA91C3), a deeper violet for what must be read on white, the dark plum
 * of the night, the teal of its cabins' walls, and the gold of the pansy's
 * eye, only as a spark. Bodoni Moda as the letters of "VIOLA" in the mark,
 * Jost for the text.
 */
@font-face { font-family: "Bodoni Moda"; src: url(../fonts/BodoniModa-latin.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Bodoni Moda"; src: url(../fonts/BodoniModa-latin-ext.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Bodoni Moda"; src: url(../fonts/BodoniModa-Italic-latin.woff2) format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; 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; }
@font-face { font-family: "Bodoni Moda"; src: url(../fonts/BodoniModa-Italic-latin-ext.woff2) format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; 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; }
@font-face { font-family: "Jost"; src: url(../fonts/Jost-latin.woff2) format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Jost"; src: url(../fonts/Jost-latin-ext.woff2) format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; 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; }

:root {
	--lilla: #AA91C3;
	--lilla-2: #CDB9DE;
	--nebbia: #F1EAF6;
	--crema: #FBF8FC;
	--viola: #6B4E8C;
	--viola-2: #573C77;
	--prugna: #2A1D38;
	--notte: #1B1224;
	--petrolio: #1F4A55;
	--oro: #E2B954;
	--ink: #2E2236;
	--grigio: #6E6377;
	--linea: #E4DAEC;
	--serif: "Bodoni Moda", "Didot", Georgia, serif;
	--sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
	--r: 22px;
	--ombra: 0 24px 60px -24px rgba(42, 29, 56, .35);
	--hdr: 76px;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; font: 400 17px/1.65 var(--sans); color: var(--ink); background: var(--crema); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
em { font-style: italic; font-family: var(--serif); color: var(--viola); }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.salta { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--prugna); color: #fff; padding: 10px 16px; border-radius: 999px; }
.salta:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--viola); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1220px, 100% - 48px); margin-inline: auto; }
.kicker { font: 500 12.5px/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--viola); margin: 0 0 14px; }
.h1 { font: 400 clamp(40px, 6.4vw, 84px)/1.02 var(--serif); letter-spacing: -.01em; }
.h2 { font: 400 clamp(32px, 4.4vw, 58px)/1.06 var(--serif); letter-spacing: -.01em; margin-bottom: 22px; }
.h3 { font: 400 clamp(23px, 2.2vw, 30px)/1.15 var(--serif); margin-bottom: 10px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 999px; font: 500 15px/1 var(--sans); letter-spacing: .04em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s; position: relative; overflow: hidden; isolation: isolate; }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn--pieno { background: var(--viola); color: #fff; box-shadow: 0 14px 30px -14px rgba(107, 78, 140, .9); }
.btn--pieno::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--pieno:hover::after { transform: translateX(120%); }
.btn--vuoto { border-color: currentColor; color: var(--viola); background: transparent; }
.btn--vuoto:hover { background: var(--viola); color: #fff; border-color: var(--viola); }
.btn--chiaro { background: #fff; color: var(--prugna); }
.btn--vetro { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.btn--vetro:hover { background: rgba(255, 255, 255, .2); }
.btn--piccolo { padding: 11px 18px; font-size: 14px; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--viola); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover .ico { transform: translateX(3px); }
.link .ico { transition: transform .3s var(--ease); }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); transition: background .4s, box-shadow .4s, height .4s; }
.hdr.is-giu { background: rgba(251, 248, 252, .86); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--linea); --hdr: 64px; height: 64px; }
.hdr__in { height: 100%; width: min(1320px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.hdr__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.hdr__marchio { width: 46px; height: auto; transition: width .4s var(--ease); }
.hdr.is-giu .hdr__marchio { width: 40px; }
.hdr__nome { font: 500 19px/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--prugna); }
.hdr__nome i { font: 400 10.5px/1 var(--sans); letter-spacing: .5em; display: block; margin-top: 5px; color: var(--grigio); font-style: normal; }
.hdr__nav { display: flex; gap: 26px; }
.hdr__nav a { text-decoration: none; font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--viola); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.hdr__menu { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--linea); background: #fff; cursor: pointer; place-items: center; }
.hdr__menu-l, .hdr__menu-l::before { display: block; width: 18px; height: 1.6px; background: var(--prugna); position: relative; transition: transform .35s var(--ease); }
.hdr__menu-l::before { content: ""; position: absolute; top: 6px; }
.hdr__menu-l { transform: translateY(-3px); }
.hdr__menu[aria-expanded="true"] .hdr__menu-l { transform: rotate(45deg); }
.hdr__menu[aria-expanded="true"] .hdr__menu-l::before { transform: translateY(-6px) rotate(-90deg); }
.menu { position: fixed; inset: 0; z-index: 40; background: var(--prugna); color: #fff; padding: calc(var(--hdr) + 30px) 28px 32px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 4px; }
.menu__link { font: 400 clamp(32px, 9vw, 44px)/1.2 var(--serif); text-decoration: none; display: flex; align-items: baseline; gap: 14px; opacity: 0; transform: translateY(16px); animation: entra .6s var(--ease) forwards; }
.menu__link:nth-child(2) { animation-delay: .04s; } .menu__link:nth-child(3) { animation-delay: .08s; } .menu__link:nth-child(4) { animation-delay: .12s; } .menu__link:nth-child(5) { animation-delay: .16s; } .menu__link:nth-child(6) { animation-delay: .2s; } .menu__link:nth-child(7) { animation-delay: .24s; }
.menu__link span { font: 400 12px var(--sans); color: var(--lilla); letter-spacing: .2em; }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px; }
.menu__foot .btn--vuoto { color: #fff; }
@keyframes entra { to { opacity: 1; transform: none; } }

/* ---------- The opening ---------- */
.apertura { position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--hdr) + 20px) 0 70px; overflow: hidden; background:
	radial-gradient(60% 70% at 78% 45%, #EADDF4 0%, rgba(234, 221, 244, 0) 70%),
	radial-gradient(50% 60% at 10% 90%, #F4EEF8 0%, rgba(244, 238, 248, 0) 70%), var(--crema); }
.apertura__petali { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.apertura__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.apertura__titolo { font: 400 clamp(54px, 9.2vw, 132px)/.95 var(--serif); letter-spacing: -.02em; color: var(--prugna); margin-bottom: 26px; }
.apertura__titolo .riga { display: block; overflow: hidden; padding-bottom: .08em; }
.apertura__titolo .riga > span { display: inline-block; }
.apertura__titolo em { color: var(--viola); }
.apertura__sotto { font-size: clamp(17px, 1.5vw, 20px); color: var(--grigio); max-width: 34em; margin-bottom: 34px; }
.apertura__azioni { display: flex; flex-wrap: wrap; gap: 14px; }
.apertura__fiore { position: relative; aspect-ratio: 1; width: min(100%, 560px); justify-self: center; }
.apertura__firma { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); font: 500 15px/1 var(--serif); letter-spacing: .5em; text-transform: uppercase; color: var(--viola); white-space: nowrap; margin: 0; }
.apertura__firma i { font: 400 10px var(--sans); letter-spacing: .6em; font-style: normal; color: var(--grigio); margin-left: .6em; }
.apertura__giu { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 1.5px solid var(--lilla); border-radius: 20px; transform: translateX(-50%); }
.apertura__giu span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--viola); animation: rotella 1.8s infinite; }
@keyframes rotella { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

.fiore { width: 100%; height: 100%; overflow: visible; }
.fiore__anello { fill: none; stroke: var(--lilla); stroke-width: 1.6; stroke-dasharray: .86 .14; stroke-dashoffset: .93; transform: rotate(-90deg); transform-origin: 200px 200px; }
.fiore__anello--fine { stroke-width: .8; stroke: var(--lilla-2); stroke-dasharray: 1 0; }
.petalo { transform-origin: 0 0; }
.fiore__righe, .fiore__occhio { transform-origin: 0 0; }
.js .petalo { transform: scale(0) rotate(-30deg); animation: sboccia 1.9s var(--ease) var(--d, 0s) forwards; }
.js .fiore__righe, .js .fiore__occhio { opacity: 0; transform: scale(.4); animation: occhio 1s var(--ease) 1.4s forwards; }
.js .fiore__anello { stroke-dashoffset: 1; animation: anello 2.6s var(--ease) .2s forwards; }
.js .fiore__anello--fine { stroke-dasharray: 1; stroke-dashoffset: -1; animation: anello-fine 2.8s var(--ease) .5s forwards; }
@keyframes sboccia { 60% { transform: scale(1.06) rotate(3deg); } to { transform: scale(1) rotate(0); } }
@keyframes occhio { to { opacity: 1; transform: none; } }
@keyframes anello { to { stroke-dashoffset: .93; } }
@keyframes anello-fine { to { stroke-dashoffset: 0; } }
/* After blooming it breathes, following the mouse (sito.js sets --mx and --my). */
.apertura__fiore .fiore { transform: rotate(calc(var(--mx, 0) * 6deg)) translate(calc(var(--mx, 0) * 10px), calc(var(--my, 0) * 10px)); transition: transform 1.2s var(--ease); }
.js .apertura__fiore.is-aperto .fiore > g { animation: respiro 7s ease-in-out infinite; transform-origin: 200px 214px; }
@keyframes respiro { 50% { transform: scale(1.025) rotate(1.2deg); } }
.js .apertura__titolo .riga > span { transform: translateY(105%); animation: su 1.1s var(--ease) forwards; }
.js .apertura__titolo .riga + .riga > span { animation-delay: .14s; }
.js .apertura__kicker, .js .apertura__sotto, .js .apertura__azioni, .js .apertura__firma { opacity: 0; animation: appare 1s var(--ease) forwards; }
.js .apertura__kicker { animation-delay: .1s; } .js .apertura__sotto { animation-delay: .45s; } .js .apertura__azioni { animation-delay: .6s; } .js .apertura__firma { animation-delay: 1.8s; }
@keyframes su { to { transform: none; } }
@keyframes appare { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.apertura__firma { animation-name: appare-firma !important; }
@keyframes appare-firma { from { opacity: 0; letter-spacing: 1em; } to { opacity: 1; letter-spacing: .5em; } }

/* ---------- Pieces that appear on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rv, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- Welcome ---------- */
.benvenuti { padding: clamp(80px, 12vw, 160px) 0; }
.benvenuti__in { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.arco { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--ombra); position: relative; }
.arco::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px 999px 14px 14px; pointer-events: none; }
.arco img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.08); transition: transform 2s var(--ease); }
.benvenuti__foto.is-in .arco img { transform: none; }
.benvenuti__foto figcaption { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--grigio); margin-top: 16px; text-align: center; }
.benvenuti__foto { margin: 0; }
.titoli { list-style: none; padding: 0; margin: 6px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.titoli li { padding: 7px 14px; border: 1px solid var(--lilla-2); border-radius: 999px; font-size: 14px; color: var(--viola-2); background: #fff; }
.benvenuti__testo > p { color: var(--grigio); font-size: 18px; }
[data-parole] .parola { display: inline-block; opacity: .14; transition: opacity .3s; }
[data-parole] .parola.is-on { opacity: 1; }

/* ---------- The ritual: a stage that stays while five steps go by ---------- */
.rituale { position: relative; height: calc(var(--n) * 85vh + 100vh); background: var(--prugna); color: #fff; }
.rituale__palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.rituale__palco::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 55%, rgba(170, 145, 195, .22), transparent 70%); }
.rituale__in { position: relative; display: grid; grid-template-columns: 1fr minmax(280px, 520px) 1fr; grid-template-rows: auto 1fr; gap: 0 48px; align-items: center; height: 100%; padding: calc(var(--hdr) + 10px) 0 40px; }
.rituale__testa { grid-column: 1 / -1; text-align: center; }
.rituale__testa .kicker { color: var(--lilla); }
.rituale__testa .h2 { color: #fff; margin: 0; }
.rituale__cerchio { grid-column: 2; position: relative; aspect-ratio: 1; width: 100%; }
.rituale__anello { position: absolute; inset: -4%; width: 108%; height: 108%; transform: rotate(-90deg); }
.rituale__anello circle { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: .8; }
.rituale__anello .rituale__avanza { stroke: var(--lilla); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); stroke-linecap: round; }
.rituale__foto { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; clip-path: circle(calc(var(--o, 0) * 71%) at 50% 50%); will-change: clip-path; }
.rituale__foto:first-of-type { --o: 1; }
.rituale__foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - var(--o, 0) * .18)); }
.rituale__passi { grid-column: 3; list-style: none; margin: 0; padding: 0; display: grid; }
.rituale__passo { grid-area: 1 / 1; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.rituale__passo.is-on { opacity: 1; transform: none; pointer-events: auto; }
.rituale__n { font: 400 clamp(64px, 7vw, 110px)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--lilla); display: block; margin-bottom: 8px; }
.rituale__passo .h3 { color: #fff; font-size: clamp(30px, 3vw, 44px); }
.rituale__passo p { color: rgba(255, 255, 255, .78); }
.rituale__passo .link { color: var(--lilla-2); }
.rituale__punti { grid-column: 1; grid-row: 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; justify-self: start; }
.rituale__punti li { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--lilla); transition: background .4s, transform .4s; }
.rituale__punti li.is-on { background: var(--lilla); transform: scale(1.4); }

/* ---------- Ten in one: a dial that turns as you scroll ---------- */
.dieci { height: 260vh; position: relative; background: linear-gradient(180deg, var(--prugna) 0%, var(--petrolio) 100%); color: #fff; }
.dieci__palco { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.dieci__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; padding-top: var(--hdr); }
.dieci__testo .kicker { color: var(--lilla-2); }
.dieci__testo .h2 { color: #fff; }
.dieci__testo .h2 em { color: var(--lilla-2); }
.dieci__testo > p { color: rgba(255, 255, 255, .75); }
.dieci__ora { margin: 30px 0; padding: 22px 26px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r); background: rgba(255, 255, 255, .05); min-height: 140px; }
.dieci__num { font: 400 15px var(--sans); letter-spacing: .3em; color: var(--oro); display: block; margin-bottom: 6px; }
.dieci__ora strong { font: 400 32px/1.15 var(--serif); display: block; margin-bottom: 6px; }
.dieci__ora span:last-child { color: rgba(255, 255, 255, .75); }
.dieci .link { color: var(--lilla-2); }
.quadrante { position: relative; aspect-ratio: 1; width: min(100%, 620px); justify-self: center; }
.quadrante__ruota { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .22); transform: rotate(calc(var(--g, 0) * -1deg)); }
.quadrante { container-type: inline-size; }
/* Each name sits on the rim, turned with its spoke: the wheel carries them. */
.quadrante__voce { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(calc(var(--i) * 36deg)) translateY(-45cqw); white-space: nowrap; font: 400 clamp(10px, 1.1vw, 13.5px)/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .42); text-align: center; transition: color .4s; }
.quadrante__voce b { display: block; font-weight: 400; color: var(--lilla); letter-spacing: .2em; margin-bottom: 3px; transition: color .4s, transform .4s; }
.quadrante__voce.is-on { color: #fff; }
.quadrante__voce.is-on b { color: var(--oro); transform: scale(1.4); }
.quadrante__centro { position: absolute; inset: 24%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 30px 80px -20px rgba(0, 0, 0, .6); }
.quadrante__centro img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- The eight kinds ---------- */
.carte { padding: clamp(90px, 12vw, 160px) 0; }
.carte__griglia { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 46px; perspective: 1200px; }
.carta { position: relative; display: block; aspect-ratio: 3 / 4.2; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; box-shadow: var(--ombra); transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .5s var(--ease), box-shadow .5s; transform-style: preserve-3d; }
.carta:nth-child(4n+2) { --rv: .08s; } .carta:nth-child(4n+3) { --rv: .16s; } .carta:nth-child(4n+4) { --rv: .24s; }
.carta__foto { position: absolute; inset: 0; }
.carta__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.carta:hover .carta__foto img { transform: scale(1.08); }
.carta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(27, 18, 36, 0) 35%, rgba(27, 18, 36, .88) 100%); }
.carta::after { content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(400px circle at var(--lx, 50%) var(--ly, 0%), rgba(255, 255, 255, .22), transparent 40%); opacity: 0; transition: opacity .4s; }
.carta:hover::after { opacity: 1; }
.carta__testo { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 6px; transform: translateZ(30px); }
.carta__testo small { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--lilla-2); }
.carta__testo strong { font: 400 27px/1.1 var(--serif); }
.carta__testo > span { font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .82); max-height: 0; overflow: hidden; transition: max-height .6s var(--ease); }
.carta:hover .carta__testo > span, .carta:focus-visible .carta__testo > span { max-height: 6em; }
.carta__freccia { position: absolute; z-index: 3; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); display: grid; place-items: center; transform: rotate(-45deg); transition: transform .5s var(--ease), background .4s; }
.carta:hover .carta__freccia { transform: none; background: var(--viola); }

/* ---------- The spa for two ---------- */
.coppia { padding: clamp(90px, 12vw, 160px) 0; background: var(--nebbia); overflow: hidden; }
.coppia__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.coppia__cerchi { position: relative; aspect-ratio: 1.25; }
.coppia__cerchio { position: absolute; top: 8%; width: 62%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: var(--ombra); transition: transform .1s linear; }
.coppia__cerchio img { width: 100%; height: 100%; object-fit: cover; }
.coppia__cerchio--a { left: 0; transform: translateX(calc((1 - var(--c, 1)) * -40%)); }
.coppia__cerchio--b { right: 0; top: 22%; transform: translateX(calc((1 - var(--c, 1)) * 40%)); }
.coppia__e { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%) scale(calc(.4 + var(--c, 1) * .6)); width: 84px; height: 84px; border-radius: 50%; background: var(--viola); color: #fff; display: grid; place-items: center; font: italic 400 40px/1 var(--serif); box-shadow: 0 0 0 10px rgba(255, 255, 255, .7); opacity: var(--c, 1); z-index: 2; }
.menu-spa { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 0; }
.menu-spa li { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--lilla-2); flex-wrap: wrap; }
.menu-spa strong { font: 400 20px/1.25 var(--serif); }
.menu-spa span { color: var(--viola); font-weight: 500; }
.coppia__azioni { display: flex; flex-wrap: wrap; gap: 14px; }
.coppia__testo > p { color: var(--grigio); font-size: 18px; }

/* ---------- The work: a ribbon of photos ---------- */
.smalti { padding: 70px 0; background: var(--crema); overflow: hidden; }
.smalti__nastro { display: flex; gap: 18px; width: max-content; animation: nastro 50s linear infinite; }
.smalti:hover .smalti__nastro { animation-play-state: paused; }
.smalti__foto { width: clamp(200px, 22vw, 300px); aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; flex: none; transform: rotate(var(--t, 0deg)); }
.smalti__foto:nth-child(odd) { --t: -2deg; margin-top: 26px; } .smalti__foto:nth-child(even) { --t: 2deg; }
.smalti__foto img { width: 100%; height: 100%; object-fit: cover; }
.smalti__scritta { margin: 40px 0 0; white-space: nowrap; font: italic 400 clamp(40px, 7vw, 96px)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--lilla); display: flex; width: max-content; animation: nastro 40s linear infinite reverse; }
@keyframes nastro { to { transform: translateX(-50%); } }

/* ---------- The app ---------- */
.app { padding: clamp(90px, 12vw, 160px) 0; background: radial-gradient(70% 90% at 80% 40%, #3F2B57 0%, var(--prugna) 60%, var(--notte) 100%); color: #fff; overflow: hidden; }
.app__in { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.app .kicker { color: var(--lilla); }
.app .h2 em { color: var(--lilla-2); }
.app__testo > p { color: rgba(255, 255, 255, .78); font-size: 18px; }
.app__punti { list-style: none; padding: 0; margin: 24px 0 34px; display: grid; gap: 12px; }
.app__punti li { display: flex; align-items: center; gap: 12px; }
.app__punti .ico { color: var(--oro); width: 22px; height: 22px; }
.store { display: flex; flex-wrap: wrap; gap: 12px; }
.store__btn { display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px 11px 16px; border-radius: 14px; background: #fff; color: var(--notte); text-decoration: none; font: 500 17px/1.1 var(--sans); transition: transform .35s var(--ease), box-shadow .35s; }
.store__btn small { display: block; font-size: 11px; font-weight: 400; letter-spacing: .06em; color: var(--grigio); }
.store__btn .ico { width: 26px; height: 26px; }
.store__btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); }
.store__btn[data-app="prenota"] { background: var(--viola); color: #fff; }
.store__btn[data-app="prenota"] small { color: var(--lilla-2); }
.telefoni { position: relative; height: clamp(420px, 46vw, 620px); }
.tel { position: absolute; margin: 0; width: 40%; aspect-ratio: 390 / 844; border-radius: 34px; padding: 8px; background: #120C18; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .12); transform: translateY(calc(var(--y, 0) * 1px)) rotate(var(--rot)); }
.tel img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; }
.tel--0 { left: 30%; top: 0; z-index: 2; --rot: 0deg; }
.tel--1 { left: 0; top: 12%; --rot: -8deg; opacity: .92; }
.tel--2 { right: 0; top: 14%; --rot: 8deg; opacity: .92; }

/* ---------- Come and see us ---------- */
.vieni { padding: clamp(90px, 12vw, 150px) 0; }
.vieni__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; }
.biglietto { background: linear-gradient(150deg, var(--viola) 0%, var(--prugna) 100%); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 46px); position: relative; overflow: hidden; box-shadow: var(--ombra); }
.biglietto::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -140px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 0 0 30px rgba(255, 255, 255, .04), 0 0 0 60px rgba(255, 255, 255, .03); }
.biglietto__logo { width: 92px; margin-bottom: 18px; }
.biglietto .h3 { color: #fff; }
.biglietto__riga { display: flex; gap: 14px; align-items: flex-start; margin: 16px 0; }
.biglietto__riga .ico { color: var(--lilla-2); margin-top: 4px; }
.biglietto a:not(.btn) { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
.orari { display: grid; grid-template-columns: auto auto; gap: 2px 18px; margin: 0; }
.orari dd { margin: 0; }
.biglietto__azioni { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 22px; }
.biglietto__regola { font-size: 13.5px; color: rgba(255, 255, 255, .7); border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 16px; margin: 0; }
.modulo { background: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 46px); box-shadow: 0 1px 0 var(--linea), var(--ombra); }
.modulo__argomenti { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 20px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--linea); font-size: 14.5px; transition: background .3s, color .3s, border-color .3s; }
.chip input:checked + span { background: var(--viola); color: #fff; border-color: var(--viola); }
.chip input:focus-visible + span { outline: 2px solid var(--viola); outline-offset: 2px; }
.campo { display: grid; gap: 6px; margin-bottom: 16px; }
.campo span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--grigio); }
.campo span i { text-transform: none; letter-spacing: 0; font-style: normal; }
.campo input, .campo textarea { font: inherit; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--linea); background: var(--crema); color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--lilla); box-shadow: 0 0 0 4px rgba(170, 145, 195, .22); }
.campo.is-errato input, .campo.is-errato textarea { border-color: #B3415C; }
.campo--nascosto { position: absolute; left: -9999px; }
.modulo__due { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.spunta { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--grigio); margin: 6px 0 18px; }
.spunta input { margin-top: 5px; accent-color: var(--viola); width: 18px; height: 18px; }
.modulo__esito { min-height: 1.4em; font-size: 15px; color: var(--viola); }
.modulo__esito.is-errore { color: #B3415C; }

/* ---------- Windows ---------- */
.finestra { border: 0; border-radius: 26px; padding: 34px; width: min(480px, calc(100% - 32px)); box-shadow: 0 40px 100px -20px rgba(27, 18, 36, .6); color: var(--ink); background: var(--crema); }
.finestra::backdrop { background: rgba(27, 18, 36, .55); backdrop-filter: blur(6px); }
.finestra[open] { animation: finestra .5s var(--ease); }
@keyframes finestra { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.finestra__riepilogo { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 18px 0; font-size: 15px; }
.finestra__riepilogo dt { color: var(--grigio); }
.finestra__riepilogo dd { margin: 0; overflow-wrap: anywhere; }
.finestra__nota { font-size: 14px; color: var(--grigio); }
.finestra__azioni { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.finestra__chiudi { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linea); background: #fff; display: grid; place-items: center; cursor: pointer; }
.finestra--app { position: fixed; }

/* ---------- The floating "Prenota" on phones ---------- */
.flottante { display: none; }

/* ---------- Inner pages ---------- */
.testa { position: relative; min-height: 78vh; display: grid; align-items: end; color: #fff; overflow: hidden; padding: calc(var(--hdr) + 60px) 0 70px; }
.testa--breve { min-height: 56vh; }
.testa__foto { position: absolute; inset: -8% 0 0; transform: translateY(calc(var(--s, 0) * 1px)); }
.testa__foto img { width: 100%; height: 100%; object-fit: cover; }
.testa::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(27, 18, 36, .25) 0%, rgba(27, 18, 36, .1) 40%, rgba(42, 29, 56, .88) 100%); }
.testa__in { position: relative; z-index: 2; }
.testa .kicker { color: var(--lilla-2); }
.testa .h1 { margin-bottom: 28px; max-width: 14em; }
.js .testa .h1 { animation: appare 1.1s var(--ease) both; }
.briciole { font-size: 14px; margin-bottom: 18px; color: rgba(255, 255, 255, .8); }
.briciole a { color: inherit; }
.briciole span { margin: 0 6px; }
.pagina--testo .briciole { color: var(--grigio); }
.pagina { padding: clamp(60px, 9vw, 110px) 0; }
.pagina--testo { padding-top: calc(var(--hdr) + 60px); max-width: 820px; }
.pagina--testo .h1 { color: var(--prugna); margin-bottom: 30px; }
.pagina__intro { max-width: 760px; margin: 0 auto 50px; font: 400 clamp(20px, 2vw, 25px)/1.5 var(--serif); color: var(--prugna); text-align: center; }
.gruppo { margin-top: 60px; }
.gruppo__testa { display: grid; grid-template-columns: 84px 1fr auto; gap: 22px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--linea); margin-bottom: 8px; }
.gruppo__testa .h2 { margin: 0 0 4px; font-size: clamp(28px, 3vw, 40px); }
.gruppo__testa p { margin: 0; color: var(--grigio); }
.gruppo__foto { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; }
.gruppo__foto img { width: 100%; height: 100%; object-fit: cover; }
.lista { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 46px; }
.lista__voce { padding: 26px 0; border-bottom: 1px solid var(--linea); display: grid; align-content: start; gap: 8px; }
.lista__testa { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.lista__nome { font: 400 23px/1.25 var(--serif); }
.lista__prezzo { color: var(--viola); font-weight: 500; white-space: nowrap; }
.lista__nota { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--grigio); white-space: nowrap; }
.lista__voce p { margin: 0; color: var(--grigio); font-size: 16px; }
.lista__azione { justify-self: start; display: inline-flex; gap: 8px; align-items: center; color: var(--viola); font-weight: 500; text-decoration: none; margin-top: 4px; }
.lista__azione:hover .ico { transform: translateX(3px); }
.lista__azione .ico { transition: transform .3s var(--ease); }
.dieci-lista { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.dieci-lista li { padding: 20px; background: #fff; border-radius: var(--r); border: 1px solid var(--linea); display: grid; gap: 4px; }
.dieci-lista b { font: 400 13px var(--sans); letter-spacing: .2em; color: var(--lilla); }
.dieci-lista strong { font: 400 20px/1.2 var(--serif); }
.dieci-lista span { font-size: 14px; color: var(--grigio); }
.nota { margin-top: 30px; padding: 20px 24px; border-radius: var(--r); background: var(--nebbia); color: var(--viola-2); }
.testo-libero { margin-top: 40px; }
.testo-libero h2 { margin-top: 1.4em; }
.vuoto { text-align: center; }
.vuoto .apertura__azioni { justify-content: center; }
.fiore--piccolo { width: 180px; height: 180px; margin: 0 auto 20px; }

/* ---------- Footer ---------- */
.ftr { background: var(--notte); color: rgba(255, 255, 255, .78); padding: 80px 0 30px; font-size: 15.5px; }
.ftr__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.ftr__logo { width: 120px; }
.ftr__motto { font: italic 400 22px/1.3 var(--serif); color: var(--lilla-2); margin-top: 16px; }
.ftr__h { font: 500 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--lilla); margin-bottom: 18px; }
.ftr a:not(.btn) { color: inherit; text-decoration: none; }
.ftr a:not(.btn):hover { color: #fff; }
.ftr address { font-style: normal; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr__social a { display: inline-flex; gap: 10px; align-items: center; }
.ftr__social { margin-bottom: 22px !important; }
.ftr__orari { margin-top: 14px; }
.ftr__fine { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 56px; padding-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.ftr__fine p { margin: 0; }
.ftr__fine a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); }

/* ---------- Narrow screens ---------- */
@media (max-width: 1080px) {
	.hdr__nav { display: none; }
	.hdr__menu { display: grid; }
	.carte__griglia { grid-template-columns: repeat(2, 1fr); }
	.ftr__in { grid-template-columns: 1fr 1fr; }
	.dieci-lista { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
	:root { --hdr: 66px; }
	body { font-size: 16.5px; }
	.hdr__prenota { display: none; }
	.hdr__nome { font-size: 16px; }
	.apertura { padding-top: calc(var(--hdr) + 6px); padding-bottom: 80px; }
	.apertura__in { grid-template-columns: 1fr; gap: 0; }
	.apertura__fiore { order: -1; width: min(52vw, 34svh, 300px); margin-bottom: 10px; }
	.apertura__firma { display: none; }
	.apertura__titolo { margin-bottom: 18px; }
	.apertura__sotto { margin-bottom: 26px; }
	.benvenuti__in, .coppia__in, .app__in, .vieni__in, .dieci__in { grid-template-columns: 1fr; }
	.benvenuti__foto { max-width: 340px; margin-inline: auto; }
	.rituale { height: calc(var(--n) * 75vh + 100vh); }
	.rituale__in { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; gap: 22px; align-content: start; padding-top: calc(var(--hdr) + 16px); }
	.rituale__cerchio { grid-column: 1; width: min(66vw, 46svh); justify-self: center; }
	.rituale__passi { grid-column: 1; text-align: center; align-self: start; }
	.rituale__n { font-size: 46px; margin-bottom: 2px; }
	.rituale__passo .h3 { font-size: 28px; }
	.rituale__passo p { font-size: 15.5px; }
	.rituale__punti { display: none; }
	.dieci { height: 300vh; }
	.dieci__in { gap: 10px; align-content: center; }
	.dieci__testo .h2 { font-size: 30px; margin-bottom: 8px; }
	.dieci__testo > p { display: none; }
	.dieci__ora { margin: 14px 0; padding: 16px 18px; min-height: 116px; }
	.dieci__ora strong { font-size: 25px; }
	.quadrante { width: min(84vw, 44svh); order: -1; }
	.quadrante__voce { font-size: 8.5px; letter-spacing: .04em; }
	.carte__griglia { gap: 12px; }
	.carta { aspect-ratio: 3 / 4; }
	.carta__testo { left: 14px; right: 14px; bottom: 14px; }
	.carta__testo strong { font-size: 20px; }
	.carta__testo > span { display: none; }
	.carta__freccia { width: 34px; height: 34px; top: 10px; right: 10px; }
	.coppia__cerchi { max-width: 440px; width: 100%; margin-inline: auto; }
	.telefoni { height: 120vw; max-height: 560px; }
	.tel { width: 46%; border-radius: 26px; padding: 6px; }
	.tel img { border-radius: 21px; }
	.tel--0 { left: 27%; }
	.modulo__due { grid-template-columns: 1fr; }
	.lista { grid-template-columns: 1fr; }
	.gruppo__testa { grid-template-columns: 60px 1fr; }
	.gruppo__testa .link { grid-column: 2; justify-self: start; }
	.gruppo__foto { width: 60px; height: 60px; }
	.ftr__in { grid-template-columns: 1fr; }
	/* Room under the last line for the floating «Prenota», or it covers the signature. */
	.ftr { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
	.testa { min-height: 70svh; }
	.flottante { position: fixed; z-index: 30; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--viola); color: #fff; text-decoration: none; font-weight: 500; box-shadow: 0 16px 34px -12px rgba(42, 29, 56, .7); transform: translateY(140%); transition: transform .5s var(--ease); }
	.flottante.is-su { transform: none; }
}

/* Asked for less movement, or no script: everything already complete and still. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
	.smalti__nastro, .smalti__scritta { animation: none !important; }
	.smalti { overflow-x: auto; }
	.js .rv { opacity: 1; transform: none; }
}

/* Over the photo of an inner page, until it scrolls away, the header is light. */
body:has(.testa) .hdr:not(.is-giu) .hdr__nav a, body:has(.testa) .hdr:not(.is-giu) .hdr__nome, body:has(.testa) .hdr:not(.is-giu) .hdr__nome i { color: #fff; }
body:has(.testa) .hdr:not(.is-giu) .hdr__nav a::after { background: #fff; }
.hdr__marchio--bianco { display: none; }
body:has(.testa) .hdr:not(.is-giu) .hdr__marchio { display: none; }
body:has(.testa) .hdr:not(.is-giu) .hdr__marchio--bianco { display: block; }
body:has(.testa) .hdr:not(.is-giu) .hdr__menu { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); }
body:has(.testa) .hdr:not(.is-giu) .hdr__menu-l, body:has(.testa) .hdr:not(.is-giu) .hdr__menu-l::before { background: #fff; }
body:has(.testa) .hdr:not(.is-giu) { background: linear-gradient(180deg, rgba(27, 18, 36, .45), rgba(27, 18, 36, 0)); }

/* The studio's signature: the panda in the footer's ink, the blue and teal
   cheeks its own. The pieces fly in once (sito.js adds is-built). */
.pd-sign { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .06em; color: rgba(255, 255, 255, .55); text-decoration: none !important; }
.pd-sign b { font-weight: 500; color: #fff; }
.pd-sign__panda { width: 26px; height: 26px; overflow: visible; }
.pd-sign__panda .pd-ink { fill: #fff; }
.pd-sign:hover b { color: var(--lilla-2); }
.pd-sign.is-built path { transform-box: fill-box; transform-origin: 50% 50%; animation: pd-snap .58s cubic-bezier(.17, .78, .3, 1) both; animation-delay: var(--d); }
@keyframes pd-snap {
	0% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(.72); }
	40% { opacity: 1; }
	74% { opacity: 1; transform: translate(calc(var(--x) * -.045), calc(var(--y) * -.045)) rotate(calc(var(--r) * -.09)) scale(1.035); }
	100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .pd-sign path { opacity: 1 !important; animation: none !important; } }
