/* =========================================================
   Mauro Carpi – stile del sito
   Atmosfera: jazz club, luce di palco, ottone e velluto
   ========================================================= */

:root {
  --nero: #0b0a09;
  --carbone: #12100e;
  --fumo: #1b1815;
  --linea: rgba(243, 234, 216, .12);
  --crema: #f3ead8;
  --crema-2: rgba(243, 234, 216, .68);
  --crema-3: rgba(243, 234, 216, .58);
  --oro: #d6a64f;
  --oro-chiaro: #f0cf8a;
  --velluto: #7d1a26;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--nero);
  color: var(--crema);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
::selection { background: var(--oro); color: var(--nero); }

/* Grana pellicola */
.grana {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grana 1.2s steps(6) infinite;
}
@keyframes grana {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Tipografia ---------- */
.occhiello {
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--oro);
  margin: 0 0 18px; display: flex; align-items: center; gap: 14px; font-weight: 600;
}
.occhiello::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.titolo {
  font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.4vw, 92px);
  line-height: .98; letter-spacing: -.01em; margin: 0 0 28px;
}
.titolo em { font-style: italic; color: var(--oro-chiaro); }
.titolo.grande { font-size: clamp(44px, 6vw, 88px); }
.titolo.piccolo { font-size: clamp(34px, 4vw, 48px); }
.nota { color: var(--crema-3); margin: 0; }
.nota a { color: var(--oro); }
.centro { text-align: center; margin-top: 40px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; text-decoration: none; font-weight: 600;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid transparent;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-oro { background: var(--oro); color: var(--nero); box-shadow: 0 10px 40px -12px rgba(214, 166, 79, .7); }
.btn-oro:hover { background: var(--oro-chiaro); }
.btn-linea { border-color: rgba(243, 234, 216, .35); background: transparent; }
.btn-linea:hover { border-color: var(--oro); color: var(--oro-chiaro); }
.btn-piccolo { padding: 11px 20px; font-size: 12px; }
.btn.pieno { width: 100%; }

/* ---------- Navigazione ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center;
  justify-content: space-between; padding: 22px var(--pad); transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.compatta { background: rgba(11, 10, 9, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; border-color: var(--linea); }
.nav-logo { font-family: var(--serif); font-size: 28px; text-decoration: none; letter-spacing: .01em; }
.nav-logo em { color: var(--oro-chiaro); }
.nav-link { display: flex; align-items: center; gap: 30px; }
.nav-link a { text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--crema-2); position: relative; transition: color .3s; }
.nav-link a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--oro); transition: right .4s var(--ease); }
.nav-link a:hover { color: var(--crema); }
.nav-link a:hover::after { right: 0; }
.nav-cta { border: 1px solid var(--oro); color: var(--oro-chiaro) !important; padding: 10px 20px; border-radius: 999px; }
.nav-cta:hover { background: var(--oro); color: var(--nero) !important; }
.nav-burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; z-index: 60; }
.nav-burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--crema); transition: transform .4s var(--ease), top .4s; }
.nav-burger span:first-child { top: 17px; }
.nav-burger span:last-child { top: 26px; }
.nav-aperta .nav-burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav-aperta .nav-burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--pad) 100px; overflow: hidden; isolation: isolate; }
.hero-foto {
  position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: 70% center;
  filter: grayscale(1) contrast(1.15) brightness(.9); transform: scale(1.08); animation: respiro 18s ease-in-out infinite alternate;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--nero) 8%, rgba(11, 10, 9, .75) 42%, rgba(11, 10, 9, .1) 75%), linear-gradient(0deg, var(--nero) 0%, transparent 35%); }
.hero-luce {
  position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -15vmax; top: -25vmax; pointer-events: none;
  background: radial-gradient(closest-side, rgba(240, 207, 138, .22), rgba(214, 166, 79, .06) 55%, transparent 70%);
  mix-blend-mode: screen; animation: faro 9s ease-in-out infinite alternate;
}
@keyframes respiro { to { transform: scale(1.0); } }
@keyframes faro { 0% { transform: translate(0, 0); opacity: .8; } 100% { transform: translate(-6vmax, 4vmax); opacity: 1; } }
.hero-testo { max-width: 760px; position: relative; }
.hero-nome { font-family: var(--serif); font-weight: 400; margin: 0 0 26px; font-size: clamp(76px, 15vw, 210px); line-height: .84; letter-spacing: -.025em; }
.hero-nome .riga { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-nome .riga > * { display: inline-block; transform: translateY(105%); animation: sali 1.3s var(--ease) forwards; }
.hero-nome .riga:nth-child(2) > * { animation-delay: .15s; padding-left: .5em; }
.hero-nome em { color: var(--oro-chiaro); }
@keyframes sali { to { transform: translateY(0); } }
.hero-slogan { font-size: clamp(18px, 1.6vw, 22px); color: var(--crema-2); max-width: 520px; margin: 0 0 38px; font-weight: 300; }
.hero-azioni { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1px solid var(--crema-3); border-radius: 20px; transform: translateX(-50%); }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--oro); border-radius: 2px; animation: rotella 2s infinite; }
@keyframes rotella { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Player audio */
.player { display: inline-flex; align-items: center; gap: 16px; background: rgba(243, 234, 216, .05); border: 1px solid var(--linea); border-radius: 999px; padding: 8px 22px 8px 8px; backdrop-filter: blur(6px); transition: border-color .3s; }
.player:hover { border-color: var(--oro); }
.player-disco { width: 48px; height: 48px; border-radius: 50%; position: relative; background: repeating-radial-gradient(circle, #1a1714 0 2px, #0c0b0a 2px 4px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.player-disco span { position: absolute; inset: 16px; border-radius: 50%; background: var(--oro); }
.player-disco span::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--nero); }
.player.suona .player-disco { animation: gira 2.2s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.player-testo { display: flex; flex-direction: column; text-align: left; font-family: var(--serif); font-size: 21px; font-style: italic; line-height: 1.1; }
.player-testo small { font-family: var(--sans); font-style: normal; font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--oro); }
.eq { display: flex; gap: 3px; align-items: flex-end; height: 18px; margin-left: 4px; }
.eq i { width: 3px; height: 4px; background: var(--oro); border-radius: 2px; transition: height .3s; }
.player.suona .eq i { animation: eq .9s ease-in-out infinite alternate; }
.player.suona .eq i:nth-child(2) { animation-delay: -.3s; } .player.suona .eq i:nth-child(3) { animation-delay: -.6s; }
.player.suona .eq i:nth-child(4) { animation-delay: -.15s; } .player.suona .eq i:nth-child(5) { animation-delay: -.45s; }
@keyframes eq { 0% { height: 3px; } 100% { height: 18px; } }

/* ---------- Nastro collaborazioni ---------- */
.nastro { border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); overflow: hidden; padding: 22px 0; background: var(--carbone); }
.nastro-traccia { display: flex; width: max-content; animation: scorri 90s linear infinite; }
.nastro:hover .nastro-traccia { animation-play-state: paused; }
.nastro-gruppo { display: flex; align-items: center; }
.nastro span { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 36px); font-style: italic; white-space: nowrap; padding: 0 26px; color: var(--crema-2); transition: color .3s; }
.nastro span:hover { color: var(--oro-chiaro); }
.nastro i { color: var(--oro); font-style: normal; font-size: 13px; }
@keyframes scorri { to { transform: translateX(-50%); } }

/* ---------- Numeri ---------- */
.numeri { max-width: var(--max); margin: 0 auto; padding: 90px var(--pad) 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.numero { border-left: 1px solid var(--linea); padding-left: 24px; }
.numero strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 6vw, 84px); line-height: 1; color: var(--oro-chiaro); }
.numero span { color: var(--crema-2); font-size: 15px; }

/* ---------- Sezioni ---------- */
.sezione { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 150px) var(--pad); }
.testata { margin-bottom: 54px; }
.testata-riga { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.testata-riga .titolo { margin-bottom: 0; }

/* ---------- Biografia ---------- */
.bio { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.bio-foto { position: sticky; top: 110px; }
.bio-foto img { width: 100%; aspect-ratio: 4/5.4; object-fit: cover; filter: grayscale(1) contrast(1.1); border-radius: 4px; }
.bio-foto::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--oro); border-radius: 4px; z-index: -1; opacity: .55; }
.bio-firma { position: absolute; bottom: -26px; right: -10px; font-family: var(--serif); font-style: italic; font-size: clamp(40px, 4.5vw, 64px); color: var(--oro-chiaro); transform: rotate(-6deg); text-shadow: 0 6px 30px rgba(0, 0, 0, .9); }
.bio-corpo { color: var(--crema-2); font-size: 18px; max-height: 470px; overflow: hidden; position: relative; transition: max-height 1s var(--ease); }
.bio-corpo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--nero)); transition: opacity .5s; }
.bio-corpo.aperta { max-height: 4000px; }
.bio-corpo.aperta::after { opacity: 0; }
.bio-corpo p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 92px; line-height: .8; padding: 8px 14px 0 0; color: var(--oro-chiaro); }
.bio-testo .btn { margin-top: 24px; }

/* Tappe */
.tappe { overflow-x: auto; scrollbar-width: none; padding: 0 var(--pad) 40px; }
.tappe::-webkit-scrollbar { display: none; }
.tappe-traccia { display: flex; max-width: var(--max); margin: 0 auto; position: relative; min-width: max-content; }
.tappe-traccia::before { content: ""; position: absolute; left: 0; right: 0; top: 52px; height: 1px; background: linear-gradient(90deg, transparent, var(--oro), transparent); }
.tappa { width: 190px; padding-right: 26px; flex: none; }
.tappa-anno { font-family: var(--serif); font-size: 38px; color: var(--crema); display: block; line-height: 1.1; }
.tappa-punto { display: block; width: 11px; height: 11px; border-radius: 50%; background: var(--nero); border: 2px solid var(--oro); margin: 6px 0 14px; position: relative; z-index: 1; }
.tappa p { margin: 0; font-size: 14px; color: var(--crema-2); line-height: 1.5; }

/* ---------- Muro di foto ---------- */
.muro { position: relative; height: min(92vh, 860px); overflow: hidden; margin-top: 80px; }
.muro-griglia { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); gap: 6px; }
.muro-cella { margin: 0; position: relative; overflow: hidden; background: var(--fumo); }
.muro-cella img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) brightness(.75); opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 6s ease-out; }
.muro-cella img.vis { opacity: 1; transform: scale(1); }
.c0 { grid-area: 1 / 1 / 3 / 3; } .c1 { grid-area: 1 / 3 / 2 / 4; } .c2 { grid-area: 1 / 4 / 3 / 5; }
.c3 { grid-area: 1 / 5 / 2 / 7; } .c4 { grid-area: 2 / 3 / 5 / 4; } .c5 { grid-area: 2 / 5 / 4 / 7; }
.c6 { grid-area: 3 / 1 / 5 / 3; } .c7 { grid-area: 3 / 4 / 5 / 5; } .c8 { grid-area: 4 / 5 / 5 / 7; }
.muro-titolo { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(ellipse at center, rgba(11, 10, 9, .9) 0%, rgba(11, 10, 9, .55) 45%, rgba(11, 10, 9, .15) 80%); padding: 0 var(--pad); }
.muro-titolo .occhiello::after { content: ""; width: 34px; height: 1px; background: currentColor; }

/* ---------- Video ---------- */
.video-griglia { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-card { position: relative; display: block; border: 0; padding: 0; background: var(--fumo); border-radius: 6px; overflow: hidden; aspect-ratio: 16/10; text-align: left; isolation: isolate; }
.video-grande { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 420px; }
.video-img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(.6) brightness(.6); transition: transform 1s var(--ease), filter .6s; z-index: -1; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 10, 9, .92), transparent 65%); z-index: -1; }
.video-card:hover .video-img { transform: scale(1.06); filter: grayscale(0) brightness(.75); }
.video-play { position: absolute; top: 20px; right: 20px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(243, 234, 216, .1); backdrop-filter: blur(8px); border: 1px solid rgba(243, 234, 216, .3); transition: background .3s, transform .5s var(--ease); }
.video-grande .video-play { width: 86px; height: 86px; top: 50%; left: 50%; right: auto; transform: translate(-50%, -60%); }
.video-play svg { width: 22px; fill: var(--crema); margin-left: 3px; }
.video-grande .video-play svg { width: 32px; }
.video-card:hover .video-play { background: var(--oro); border-color: var(--oro); }
.video-card:hover .video-play svg { fill: var(--nero); }
.video-info { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; flex-direction: column; }
.video-info strong { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; }
.video-grande .video-info strong { font-size: clamp(30px, 3.4vw, 46px); }
.video-info small { color: var(--oro); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }

/* ---------- Discografia ---------- */
.dischi-sez { padding-right: 0; max-width: none; padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.dischi-sez .testata { padding-right: var(--pad); max-width: calc(var(--max) - var(--pad)); }
.frecce { display: flex; gap: 10px; }
.freccia { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--linea); background: transparent; font-size: 18px; transition: border-color .3s, background .3s, color .3s; }
.freccia:hover { border-color: var(--oro); background: var(--oro); color: var(--nero); }
.dischi { display: flex; gap: 34px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px var(--pad) 30px 0; scrollbar-width: none; }
.dischi::-webkit-scrollbar { display: none; }
.disco { margin: 0; flex: none; width: clamp(210px, 22vw, 280px); scroll-snap-align: start; }
.disco-busta { position: relative; aspect-ratio: 1; margin-right: 22%; }
.disco-busta img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .9); }
.vinile { position: absolute; top: 4%; bottom: 4%; left: 8%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--oro) 0 14%, #111 14.5% 16%, transparent 16.5%), repeating-radial-gradient(circle, #151311 0 1px, #0a0908 1px 3px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .05); transition: transform .9s var(--ease); transform: translateX(20%); }
.disco:hover .vinile { transform: translateX(36%) rotate(200deg); }
.disco figcaption { margin-top: 18px; display: flex; flex-direction: column; }
.disco figcaption strong { font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.15; }
.disco figcaption span { color: var(--oro); font-size: 13px; letter-spacing: .2em; margin-top: 4px; }

/* ---------- Stampa ---------- */
.stampa { text-align: center; }
.stampa .occhiello { justify-content: center; }
.stampa .occhiello::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.citazioni { display: grid; max-width: 1050px; margin: 0 auto; }
.citazione { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(20px); transition: opacity .8s, transform .8s var(--ease); pointer-events: none; }
.citazione.attiva { opacity: 1; transform: none; pointer-events: auto; }
.citazione p { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 52px); line-height: 1.15; margin: 0 0 30px; }
.citazione footer { display: flex; flex-direction: column; gap: 4px; }
.citazione footer strong { color: var(--oro-chiaro); font-weight: 500; }
.citazione footer span { color: var(--crema-3); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.citazioni-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 40px; }
.cit-contatore { font-family: var(--serif); font-size: 20px; color: var(--crema-3); min-width: 70px; }
.cit-contatore b { color: var(--crema); font-weight: 400; }
.ritagli { margin-top: 80px; }
.ritagli-titolo { color: var(--crema-3); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.ritagli-traccia { display: flex; gap: 14px; overflow-x: auto; padding: 10px 0 20px; scrollbar-width: thin; scrollbar-color: var(--oro) transparent; justify-content: safe center; }
.ritaglio { flex: none; width: 110px; height: 150px; padding: 0; border: 1px solid var(--linea); background: #e9e1d0; border-radius: 3px; overflow: hidden; transform: rotate(-2deg); transition: transform .4s var(--ease); }
.ritaglio:nth-child(even) { transform: rotate(2deg); }
.ritaglio:hover { transform: rotate(0) translateY(-6px) scale(1.05); }
.ritaglio img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.35); }

/* ---------- Recensioni ---------- */
.rec-media { display: flex; align-items: center; gap: 18px; }
.rec-media strong { font-family: var(--serif); font-size: 76px; font-weight: 400; line-height: 1; color: var(--oro-chiaro); }
.rec-media div { display: flex; flex-direction: column; gap: 6px; }
.rec-media div span:last-child { color: var(--crema-3); font-size: 14px; }
.rec-vuoto { color: var(--crema-2); font-family: var(--serif); font-style: italic; font-size: 24px; }
.stelle { display: inline-flex; gap: 3px; }
.stelle svg { width: 17px; height: 17px; }
.stelle .piena { fill: var(--oro); }
.stelle .vuota { fill: rgba(243, 234, 216, .15); }
.rec-nastro { margin: 0 calc(-1 * var(--pad)); display: flex; flex-direction: column; gap: 18px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rec-riga { overflow: hidden; }
.rec-traccia { display: flex; gap: 18px; width: max-content; animation: scorri 70s linear infinite; }
.rec-riga.inversa .rec-traccia { animation-direction: reverse; animation-duration: 80s; }
.rec-riga:hover .rec-traccia { animation-play-state: paused; }
.rec-card { width: 380px; flex: none; background: linear-gradient(160deg, var(--fumo), var(--carbone)); border: 1px solid var(--linea); border-radius: 14px; padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 12px; }
.rec-card h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.15; }
.rec-card p { margin: 0; color: var(--crema-2); font-size: 15.5px; flex: 1; }
.rec-card footer { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.rec-card footer span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.rec-card footer strong { font-weight: 600; font-size: 15px; }
.rec-card footer small { color: var(--crema-3); font-size: 13px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--velluto); color: var(--oro-chiaro); font-family: var(--serif); font-size: 20px; flex: none; }
.rec-azioni { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 50px; }
.rec-tutte { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; margin-top: 50px; }
.rec-tutte .rec-card { width: auto; }
.rec-risposta { margin-top: 8px; padding: 14px 16px; border-left: 2px solid var(--oro); background: rgba(214, 166, 79, .06); border-radius: 0 8px 8px 0; font-size: 14px; }
.rec-risposta strong { color: var(--oro-chiaro); font-weight: 600; font-size: 13px; }
.rec-risposta p { margin-top: 4px; font-size: 14px; }

/* ---------- Concerti ---------- */
.date { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); }
.data { display: grid; grid-template-columns: 200px 1fr auto; gap: 30px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--linea); transition: padding .4s var(--ease), background .4s; }
.data:hover { padding-left: 18px; background: linear-gradient(90deg, rgba(214, 166, 79, .07), transparent); }
.data-giorno { display: flex; align-items: baseline; gap: 12px; }
.data-giorno b { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1; color: var(--oro-chiaro); }
.data-giorno span { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--crema-2); }
.data-luogo { display: flex; flex-direction: column; }
.data-luogo strong { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; }
.data-luogo small { color: var(--crema-2); font-size: 15px; }
.passati { margin-top: 40px; }
.passati summary { cursor: pointer; color: var(--oro); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin-bottom: 20px; }
.passati .data-giorno b { font-size: 40px; color: var(--crema-2); }

/* ---------- Galleria ---------- */
.masonry { columns: 4 260px; column-gap: 14px; }
.m-foto { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: var(--fumo); border-radius: 4px; overflow: hidden; break-inside: avoid; position: relative; }
.m-foto img { width: 100%; height: auto; transition: transform .9s var(--ease), filter .6s; filter: grayscale(.25); }
.m-foto:hover img { transform: scale(1.05); filter: grayscale(0); }
.m-foto span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: 13px; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); opacity: 0; transition: opacity .4s; }
.m-foto:hover span { opacity: 1; }
.m-foto.nascosta { display: none; }

/* ---------- Partner ---------- */
.partner { text-align: center; padding-top: 40px; }
.partner .occhiello { justify-content: center; }
.partner .occhiello::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.loghi { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 20px; }
.logo { width: 190px; height: 110px; display: grid; place-items: center; padding: 18px; background: #f5efe2; border-radius: 10px; filter: grayscale(1); opacity: .78; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.logo:hover { filter: none; opacity: 1; transform: translateY(-4px); }
.logo img { max-height: 74px; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- Contatti ---------- */
.contatti { position: relative; display: grid; grid-template-columns: 5fr 7fr; min-height: 90vh; background: var(--carbone); border-top: 1px solid var(--linea); }
.contatti-foto { background-size: cover; background-position: center top; filter: grayscale(1) contrast(1.1); position: relative; min-height: 420px; }
.contatti-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, var(--carbone)); }
.contatti-testo { padding: clamp(70px, 9vw, 130px) var(--pad); align-self: center; }
.contatti-intro { color: var(--crema-2); font-size: 19px; max-width: 560px; margin: 0 0 44px; }
.canali { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 680px; }
.canale { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border: 1px solid var(--linea); border-radius: 12px; text-decoration: none; transition: border-color .3s, background .3s, transform .4s var(--ease); overflow-wrap: anywhere; }
.canale:hover { border-color: var(--oro); background: rgba(214, 166, 79, .07); transform: translateY(-3px); }
.canale small { color: var(--oro); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
.canale strong { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.social { display: flex; gap: 22px; margin-top: 30px; }
.social a { color: var(--crema-2); text-decoration: none; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--oro); padding-bottom: 3px; }

.piede { text-align: center; padding: 60px var(--pad) 50px; border-top: 1px solid var(--linea); color: var(--crema-3); font-size: 14px; }
.piede-nome { font-family: var(--serif); font-size: clamp(54px, 10vw, 140px); color: var(--crema); line-height: 1; margin: 0 0 20px; }
.piede-nome em { color: var(--oro-chiaro); }
.piede a { color: var(--oro); text-decoration: none; }

/* ---------- Finestre modali ---------- */
.modale { position: fixed; inset: 0; z-index: 200; background: rgba(6, 5, 4, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 60px 20px; animation: appari .3s ease; }
.modale[hidden] { display: none; }
@keyframes appari { from { opacity: 0; } }
.modale-chiudi { position: absolute; top: 16px; right: 18px; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--linea); background: rgba(0, 0, 0, .4); font-size: 28px; line-height: 1; z-index: 3; }
.modale-chiudi:hover { border-color: var(--oro); color: var(--oro); }
.lb-figura { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-figura img { max-height: calc(100vh - 160px); width: auto; border-radius: 4px; box-shadow: 0 40px 100px rgba(0, 0, 0, .8); }
.lb-figura figcaption { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--crema-2); min-height: 1em; }
.lb-freccia { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; border: 1px solid var(--linea); background: rgba(0, 0, 0, .5); font-size: 20px; z-index: 2; }
.lb-freccia:hover { background: var(--oro); color: var(--nero); }
.lb-freccia.sx { left: 18px; } .lb-freccia.dx { right: 18px; }
.video-cornice { width: min(1200px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 6px; overflow: hidden; }
.video-cornice iframe, .video-cornice video { width: 100%; height: 100%; border: 0; display: block; }

.rec-form-box { position: relative; width: min(560px, 100%); max-height: 100%; overflow: auto; background: var(--carbone); border: 1px solid var(--linea); border-radius: 18px; padding: 40px 36px 30px; }
.rec-form-box .modale-chiudi { top: 12px; right: 12px; width: 42px; height: 42px; font-size: 24px; }
.scegli-stelle { display: inline-flex; flex-direction: row-reverse; gap: 6px; margin: 4px 0 22px; }
.scegli-stelle input { position: absolute; opacity: 0; pointer-events: none; }
.scegli-stelle label { cursor: pointer; }
.scegli-stelle svg { width: 40px; height: 40px; fill: rgba(243, 234, 216, .15); transition: fill .2s, transform .2s; }
.scegli-stelle label:hover svg, .scegli-stelle label:hover ~ label svg, .scegli-stelle input:checked ~ label svg { fill: var(--oro); }
.scegli-stelle label:hover svg { transform: scale(1.15); }
.scegli-stelle input:focus-visible + label svg { outline: 2px solid var(--oro); outline-offset: 3px; border-radius: 4px; }
.campo { display: block; margin-bottom: 16px; }
.campo span { display: block; font-size: 13px; color: var(--crema-2); margin-bottom: 6px; font-weight: 500; }
.campo small { color: var(--crema-3); font-weight: 400; }
.campo input, .campo textarea { width: 100%; background: var(--nero); border: 1px solid var(--linea); border-radius: 10px; padding: 13px 15px; color: var(--crema); font: inherit; font-size: 16px; transition: border-color .3s; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--oro); }
.campo textarea { resize: vertical; }
.trappola { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consenso { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--crema-2); margin: 4px 0 22px; line-height: 1.5; }
.consenso input { margin-top: 3px; accent-color: var(--oro); }
.form-esito { margin: 16px 0 0; min-height: 1.4em; font-size: 15px; text-align: center; }
.form-esito.ok { color: #9fd49a; } .form-esito.ko { color: #f0a08a; }

/* ---------- Animazioni di comparsa ---------- */
.js .rivela { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rivela.vista { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-link { gap: 20px; }
  .video-griglia { grid-template-columns: 1fr 1fr; }
  .video-grande { grid-column: span 2; grid-row: auto; min-height: 380px; }
}
@media (max-width: 1080px) {
  .nav-burger { display: block; }
  .nav-link { position: fixed; inset: 0; height: 100vh; height: 100dvh; flex-direction: column; justify-content: center; gap: 22px; background: rgba(11, 10, 9, .98); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; overflow-y: auto; padding: 80px 20px 40px; }
  .nav-link a { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: clamp(30px, 8vw, 40px); color: var(--crema); }
  .nav-link a:not(.nav-cta)::after { display: none; }
  .nav-aperta .nav-link { opacity: 1; visibility: visible; }
  /* il blur della barra creerebbe un "contenitore" che schiaccia il menu a tutto schermo: lo togliamo quando il menu è aperto */
  .nav-aperta .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; }
  .nav-cta { font-family: var(--sans) !important; font-size: 15px !important; letter-spacing: .14em !important; text-transform: uppercase !important; padding: 14px 30px; margin-top: 10px; }
  .grana { animation: none; }
}
@media (max-width: 920px) {
  .numeri { grid-template-columns: 1fr 1fr; padding-top: 70px; }
  .bio { grid-template-columns: 1fr; }
  .bio-foto { position: relative; top: 0; max-width: 460px; }
  .contatti { grid-template-columns: 1fr; }
  .contatti-foto { min-height: 55vh; }
  .contatti-foto::after { background: linear-gradient(0deg, var(--carbone), transparent 50%); }
  .muro-griglia { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); }
  .c0 { grid-area: 1 / 1 / 3 / 3; } .c1 { grid-area: 1 / 3 / 2 / 5; } .c2 { grid-area: 2 / 3 / 3 / 4; }
  .c3 { grid-area: 2 / 4 / 3 / 5; } .c4 { grid-area: 3 / 1 / 4 / 2; } .c5 { grid-area: 3 / 2 / 5 / 4; }
  .c6 { grid-area: 4 / 1 / 5 / 2; } .c7 { grid-area: 3 / 4 / 4 / 5; } .c8 { grid-area: 4 / 4 / 5 / 5; }
  .data { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { align-items: flex-end; padding-bottom: 90px; }
  .hero-foto { background-position: 72% center; }
  .hero::after { background: linear-gradient(0deg, var(--nero) 15%, rgba(11, 10, 9, .6) 55%, rgba(11, 10, 9, .2) 100%); }
  .hero-nome .riga:nth-child(2) > * { padding-left: .3em; }
  .hero-azioni .btn { flex: 1 1 100%; }
  .numeri { gap: 34px 20px; }
  .numero { padding-left: 16px; }
  .video-griglia { grid-template-columns: 1fr; }
  .video-grande { grid-column: auto; min-height: 0; aspect-ratio: 4/3.4; }
  .rec-card { width: 300px; padding: 22px; }
  .rec-tutte { grid-template-columns: 1fr; }
  .canali { grid-template-columns: 1fr; }
  .canale strong { font-size: 23px; }
  .masonry { columns: 2; column-gap: 8px; }
  .m-foto { margin-bottom: 8px; }
  .lb-freccia { top: auto; bottom: 18px; margin-top: 0; }
  .rec-form-box { padding: 34px 22px 24px; }
  .logo { width: calc(50% - 8px); height: 96px; }
  .tappa { width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .nastro-traccia, .rec-traccia { animation: none; }
}

/* Ringraziamento dopo l'invio della recensione */
.rec-grazie { text-align: center; padding: 30px 6px 10px; }
.rec-grazie[hidden] { display: none; }
.rec-grazie-stella { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: rgba(214, 166, 79, .14); color: var(--oro); font-size: 36px; margin-bottom: 18px; }
.rec-grazie p { color: var(--crema-2); margin: 0 0 26px; }
