/* =========================================================
   DAIGO MUSIC SCHOOL · SITO (sistema Locandina)
   Il sito è il muro dei manifesti della scuola: ogni percorso finisce su una locandina.
   Prima parte: la home approvata (concept/locandina). Seconda parte: menu, pagine interne, footer.
   Nero caldo e carta, griglia a vista, foto in bianco e nero, il colore arriva a spruzzo
   e a pennarello, mai come campitura. Il giallo Daigo è la vernice principale e ogni invito all'azione.
   ========================================================= */
:root {
  --black: #191714;
  --black-2: #23201C;
  --paper: #F6EFE3;
  --ink: #191714;
  --cream: #F6EFE3;
  --sun: #FFD60A;
  --pink: #FF4FC8;
  --cyan: #29C9FF;
  --line-dark: rgba(246, 239, 227, .1);
  --line-paper: rgba(25, 23, 20, .12);
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --text: "Heebo", system-ui, sans-serif;
  --g: 18px;
  --max: 1360px;
  --cols: 4;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
  /* i colori dei corsi (dalla struttura delle pagine) diventano le tre vernici */
  --c-ballata: var(--pink); --c-inedito: var(--pink);
  --c-groove: var(--sun); --c-coro: var(--sun);
  --c-riff: var(--cyan); --c-armonia: var(--cyan);
}
@media (min-width: 1080px) { :root { --header-h: 108px; } }
@media (min-width: 900px) { :root { --g: 40px; --cols: 8; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--cream); font-family: var(--text); font-size: 1.05rem; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.skip { position: fixed; top: -80px; left: 12px; z-index: 99; background: var(--sun); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
.defs { position: absolute; width: 0; height: 0; }

/* grana di carta stampata su tutto */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { position: relative; z-index: 2; max-width: calc(var(--max) + 2 * var(--g)); margin: 0 auto; padding: 0 var(--g); }
section { position: relative; overflow: hidden; padding: clamp(80px, 11vw, 170px) 0; }
.dark { background: var(--black); color: var(--cream); --line: var(--line-dark); }
.paper { background: var(--paper); color: var(--ink); --line: var(--line-paper); }
/* la griglia a vista: le colonne del manifesto */
.lines::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none; top: 0; bottom: 0;
  left: max(var(--g), calc(50% - var(--max) / 2)); right: max(var(--g), calc(50% - var(--max) / 2));
  background: linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / calc(100% / var(--cols)) 100%;
  border-right: 1px solid var(--line);
}

/* ---------- tipografia ---------- */
.label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mega, .mega-2, .stack-title, .poster h3, .flyer strong, .fact h3, .ticket h3, .voce strong, .marquee span {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: -.005em; line-height: .88;
}
.mega { font-size: clamp(5.2rem, 19vw, 19rem); }
.mega span { display: block; }
.mega-2 { font-size: clamp(3.2rem, 9vw, 8.4rem); max-width: 14ch; }
.mega em, .mega-2 em { font-style: normal; color: var(--sun); }
.paper .mega-2 em { color: var(--ink); -webkit-text-stroke: .025em var(--ink); color: transparent; }
.lead, .sec-lead { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.5; max-width: 46ch; }
.sec-lead { margin-top: 24px; }
.dark .sec-lead, .dark .lead { color: rgba(246, 239, 227, .82); }

/* ---------- bottoni ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; text-align: center; transition: transform .4s var(--ease), background .3s, color .3s; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { transform: translateY(-3px) rotate(-1deg); }
.btn-line { border: 1.5px solid currentColor; }
.btn-line:hover { background: var(--cream); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .78rem; }
.btn-xl { min-height: 64px; padding: 14px 32px; font-size: 1rem; }
.link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; color: var(--sun); }

/* ---------- vernice: spruzzi e pennarello (disegnati da locandina.js) ---------- */
.spray { position: absolute; z-index: 0; pointer-events: none; left: var(--x, 0); top: var(--y, 0); width: var(--w, 100%); height: var(--h, 100%); opacity: var(--o, 1); }
.spray canvas, .scribble svg { width: 100%; height: 100%; overflow: visible; display: block; }
.js .spray { opacity: 0; transform: scale(.92); transition: opacity 1.4s var(--ease), transform 2s var(--ease); }
.js .spray.is-in { opacity: var(--o, 1); transform: none; }
.scribble { position: absolute; z-index: 3; pointer-events: none; left: var(--x, 0); top: var(--y, 0); width: var(--w, 100%); height: var(--h, 40%); }
.scribble path { fill: none; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .scribble path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s cubic-bezier(.6, 0, .2, 1) .3s; }
.js .scribble.is-in path { stroke-dashoffset: 0; }

/* foto come fotocopie su un manifesto */
.poster-photo { position: relative; z-index: 2; }
.poster-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.18) brightness(1.04); }

/* reveal */
.js .rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- apertura ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 40px) 0 56px; }
.hero-in { width: 100%; display: grid; grid-template-columns: 1fr; gap: 26px; }
.hero .label { color: var(--sun); }
.hero .mega { position: relative; z-index: 3; }
.hero-photo { aspect-ratio: 4 / 3; width: 88%; justify-self: end; margin-top: -9vw; rotate: 3deg; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.hero-copy { position: relative; z-index: 3; display: grid; gap: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
@media (min-width: 900px) {
  .hero-in { grid-template-columns: repeat(8, 1fr); align-items: end; }
  .hero .label { grid-column: 1 / -1; }
  .hero .mega { grid-column: 1 / -1; grid-row: 2; }
  .hero-photo { grid-column: 5 / 9; grid-row: 2 / 4; width: 100%; margin-top: 0; align-self: start; rotate: 4deg; translate: 0 16%; z-index: 2; }
  .hero-copy { grid-column: 1 / 5; grid-row: 3; }
}

/* ---------- manifesto ---------- */
.mani-grid { display: grid; gap: 36px; margin-top: 48px; }
.big-text { font-size: clamp(1.3rem, 2.3vw, 2rem); font-weight: 500; line-height: 1.35; max-width: 34ch; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.tags li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 900px) { .mani-grid { grid-template-columns: 5fr 3fr; } }

/* ---------- manifesti impilati ---------- */
.stack-sec { padding: 0; height: 300vh; overflow: visible; }
.stack-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.stack-title { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--g); font-size: clamp(5rem, 17vw, 17rem); color: var(--ink); white-space: nowrap; }
@media (max-width: 899px) { .stack-title { flex-direction: column; justify-content: center; gap: 46vh; font-size: 23vw; } }
.stack { position: relative; z-index: 2; width: min(560px, 84vw); aspect-ratio: 4 / 5; }
.poster {
  position: absolute; inset: 0; overflow: hidden; padding: clamp(26px, 4vw, 44px); background: var(--black); color: var(--cream);
  display: flex; flex-direction: column; gap: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0) rotate(var(--r, 0deg)); will-change: transform;
}
.poster > * { position: relative; z-index: 2; }
.poster > .spray { position: absolute; z-index: 0; }
.poster > .scribble { position: absolute; z-index: 1; }
.poster h3 { font-size: clamp(2.1rem, 3.4vw, 3rem); }
.poster p { font-size: 1.05rem; color: rgba(246, 239, 227, .86); max-width: 34ch; }
.poster .btn, .poster .link { margin-top: auto; align-self: flex-start; }
.p1 { --r: -3deg; } .p2 { --r: 4deg; } .p3 { --r: -1.5deg; }

/* ---------- corsi: volantini ---------- */
.corsi .sec-head { display: grid; gap: 10px; }
.flyers { margin-top: clamp(44px, 6vw, 80px); display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--g) * -1); padding-inline: var(--g); scrollbar-width: none; }
.flyers::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .flyers { grid-auto-columns: 44%; } }
@media (min-width: 1100px) { .flyers { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; } }
.flyer {
  scroll-snap-align: start; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 4.2; padding: 22px; background: var(--black-2); outline: 1px solid var(--line-dark); outline-offset: -1px;
  transition: opacity 1s var(--ease), transform 1.2s var(--ease), rotate .6s var(--ease), translate .6s var(--ease);
}
.flyer:nth-child(odd) { rotate: -1deg; } .flyer:nth-child(even) { rotate: 1.2deg; }
.flyer:hover { rotate: 0deg; translate: 0 -8px; }
.flyer figure { position: absolute; inset: 0 0 38% 0; }
.flyer figure img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2); }
.flyer figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, var(--black-2)); }
.flyer > * { position: relative; z-index: 2; }
.flyer > .spray { position: absolute; left: -12%; top: 36%; width: 124%; height: 72%; z-index: 1; }
.flyer > figure { position: absolute; z-index: 0; }
.fl-line { font-size: .86rem; font-weight: 500; line-height: 1.4; color: var(--ink); margin-bottom: 14px; max-width: 30ch; }
.flyer strong { font-size: clamp(2.2rem, 3vw, 3rem); color: var(--ink); }
.flyer em { font-style: normal; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-top: 6px; }

/* ---------- genitori ---------- */
.gen-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .gen-grid { grid-template-columns: 3fr 5fr; gap: 64px; align-items: start; } .gen-grid header { position: sticky; top: 110px; } }
.facts { display: grid; gap: 14px; }
@media (min-width: 700px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { border: 1.5px solid var(--ink); padding: 26px 24px 28px; background: var(--paper); }
.fact h3 { font-size: clamp(2rem, 3vw, 2.6rem); }
.fact p { margin-top: 12px; font-size: 1.02rem; }
.fact:nth-child(1) { box-shadow: 8px 8px 0 var(--sun); } .fact:nth-child(4) { box-shadow: 8px 8px 0 var(--sun); }

/* ---------- palco ---------- */
.palco-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .palco-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.palco-photo { aspect-ratio: 4 / 3.2; rotate: -2.5deg; }
.palco-photo > .spray { z-index: -1; left: 38%; top: 40%; }
.ticket { margin-top: 32px; padding: 24px 26px; border: 1.5px dashed rgba(246, 239, 227, .5); max-width: 440px; rotate: 1deg; }
.ticket .label { color: var(--sun); }
.ticket h3 { font-size: 2.4rem; margin-top: 10px; }
.ticket p { margin-top: 8px; color: rgba(246, 239, 227, .82); }
/* i talent come un'insegna luminosa: dritta, nera, nomi crema e stelle gialle */
.marquee { position: relative; z-index: 2; margin-top: clamp(60px, 8vw, 110px); background: var(--black); color: var(--cream); border-block: 1.5px solid var(--sun); padding: 18px 0; overflow: hidden; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: run 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; font-size: clamp(1.6rem, 3vw, 2.6rem); white-space: nowrap; }
.marquee span::after { content: "\2605"; font-family: var(--text); font-size: .42em; color: var(--sun); -webkit-text-stroke: 0; margin: 0 1.1em; }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--cream); }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------- voci ---------- */
.voci-row { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-auto-flow: column; grid-auto-columns: 58%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--g) * -1); padding: 10px var(--g) 20px; scrollbar-width: none; }
@media (min-width: 900px) { .voci-row { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; } }
.voce { scroll-snap-align: start; position: relative; aspect-ratio: 9 / 15; overflow: hidden; background: var(--black); display: flex; align-items: flex-end; padding: 16px; transition: opacity 1s var(--ease), transform 1.2s var(--ease), rotate .5s var(--ease), scale .5s var(--ease); }
.voce:nth-child(odd) { rotate: -1.5deg; } .voce:nth-child(even) { rotate: 1.5deg; translate: 0 24px; }
.voce:hover { rotate: 0deg; scale: 1.03; }
.voce img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2); }
.voce > .spray { left: -30%; top: 50%; width: 160%; height: 70%; z-index: 1; --o: .9; }
.voce strong { position: relative; z-index: 2; font-size: 1.7rem; color: var(--ink); }
.play { position: absolute; z-index: 2; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; background: var(--sun); }
.play::after { content: ""; position: absolute; left: 18px; top: 14px; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }

/* ---------- studio ---------- */
.studio-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .studio-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.studio-photo { aspect-ratio: 4 / 4.6; rotate: 2deg; }
.studio-photo > .spray { z-index: -1; left: -26%; top: 48%; width: 80%; height: 66%; }

/* ---------- contatto ---------- */
.chiusura { padding-bottom: clamp(100px, 12vw, 180px); }
.close-grid { display: grid; gap: 44px; }
@media (min-width: 1000px) { .close-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.contact { margin-top: 26px; font-weight: 600; }
.contact a { color: var(--sun); }
.form { background: var(--paper); color: var(--ink); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 18px; rotate: -1deg; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
.form > label, .form legend { display: grid; gap: 6px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.form input[type=text], .form input[type=tel] { font: inherit; font-size: 1.1rem; text-transform: none; letter-spacing: 0; font-weight: 400; min-height: 50px; border: 0; border-bottom: 2px solid var(--ink); background: transparent; color: var(--ink); padding: 6px 0; }
.form input:focus { outline: none; border-color: var(--pink); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-flex; min-height: 42px; align-items: center; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: .9rem; font-weight: 600; cursor: pointer; }
.chips input:checked + span { background: var(--ink); color: var(--sun); }
.chips input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; }
.form > label.check { display: flex; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .9rem; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; margin-top: 2px; }
.form .btn { justify-self: start; }
.done { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv, .js .spray { opacity: 1; transform: none; }
  .js .scribble path { stroke-dashoffset: 0; }
  .stack-sec { height: auto; }
  .stack-pin { position: relative; height: auto; padding: 90px 0; }
  .stack { aspect-ratio: auto; display: grid; gap: 20px; }
  .poster { position: relative; transform: none; }
}
.form [hidden], .quiz [hidden] { display: none !important; }
@media (max-width: 899px) {
  .hero-photo .scribble { top: auto; bottom: -14%; left: 4%; }
  .hero > .spray[data-c="pink"] { top: auto; bottom: 0; left: 10%; width: 110%; height: 20%; }
}

/* ---------- quiz: ogni risposta lascia vernice sul muro ---------- */
.quiz { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.quiz > .wrap { width: 100%; }
.quiz-wall { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.quiz-intro { display: grid; gap: 26px; }
.quiz-intro .label { color: var(--sun); }
.quiz-title { font-size: clamp(4.4rem, 15vw, 15rem); }
.quiz-intro-copy { display: grid; gap: 24px; justify-items: start; }
@media (min-width: 900px) {
  .quiz-intro { grid-template-columns: repeat(8, 1fr); align-items: end; }
  .quiz-intro .label, .quiz-title { grid-column: 1 / -1; }
  .quiz-intro-copy { grid-column: 5 / 9; grid-row: 3; }
  .quiz-fan { grid-column: 1 / 5; grid-row: 3; }
}
/* tre manifesti d'esempio: il premio che aspetta alla fine */
.quiz-fan { position: relative; height: clamp(230px, 24vw, 330px); }
.fan-card {
  position: absolute; bottom: 0; left: var(--l); width: clamp(138px, 15vw, 220px); aspect-ratio: 4 / 5; overflow: hidden; display: flex; flex-direction: column;
  padding: 8px 8px 0; background: var(--paper); rotate: var(--r); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); transition: rotate .5s var(--ease), translate .5s var(--ease);
}
.fan-card img { width: 100%; aspect-ratio: 1 / .9; object-fit: cover; filter: grayscale(1) contrast(1.18); }
.fan-card > .spray { left: -24%; top: 62%; width: 148%; height: 46%; z-index: 1; }
.fan-card b { position: relative; z-index: 2; margin-top: 6px; padding-left: 4px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.7rem, 2.4vw, 2.5rem); line-height: 1; color: var(--ink); }
.quiz-fan:hover .fan-card:nth-child(1) { translate: -10px -6px; rotate: -10deg; }
.quiz-fan:hover .fan-card:nth-child(3) { translate: 10px -6px; rotate: 12deg; }
.quiz-top { display: flex; align-items: center; gap: 18px; }
.quiz-back { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; padding: 0 18px 0 12px; border: 1.5px solid rgba(246, 239, 227, .5); border-radius: 999px; background: var(--black); color: var(--cream); font: inherit; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s; }
.quiz-back:hover { background: var(--cream); color: var(--ink); }
.quiz-back svg { width: 18px; height: 18px; }
.quiz-progress { flex: 1; height: 6px; border-radius: 3px; background: rgba(246, 239, 227, .16); overflow: hidden; }
.quiz-progress .bar { display: block; width: 3%; height: 100%; background: var(--sun); transition: width .6s var(--ease); }
.quiz-count { flex: none; min-width: 12ch; text-align: right; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
@media (max-width: 599px) { .quiz-count { display: none; } }
.quiz-q { margin-top: clamp(40px, 6vw, 72px); transition: opacity .38s var(--ease), translate .38s var(--ease); }
.quiz-q.is-out { opacity: 0; translate: -40px 0; }
.quiz-q.is-pre { opacity: 0; translate: 40px 0; transition: none; }
.quiz-note { margin-bottom: 12px; font-weight: 600; color: var(--sun); }
.quiz-question { max-width: 15ch; outline: none; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .92; font-size: clamp(2.8rem, 7vw, 6.4rem); }
.quiz-answers { margin-top: clamp(30px, 4vw, 54px); display: grid; gap: 16px; }
@media (min-width: 760px) { .answer { min-height: 86px; padding: 18px 24px; } .quiz-answers { grid-template-columns: 1fr 1fr; gap: 20px 22px; } .quiz-answers.answers-3 { grid-template-columns: repeat(3, 1fr); } }
.answer {
  position: relative; display: flex; align-items: center; min-height: 70px; padding: 16px 22px; border: 0; background: var(--paper); color: var(--ink);
  font: inherit; font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.3; text-align: left; cursor: pointer;
  box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .85); transition: rotate .4s var(--ease), translate .4s var(--ease), background .25s;
}
.answer:nth-child(odd) { rotate: -.8deg; } .answer:nth-child(even) { rotate: .9deg; }
.answer:hover, .answer[aria-pressed="true"], .answer.is-picked { rotate: 0deg; translate: 0 -4px; background: var(--sun); }
.answer .ring { position: absolute; inset: -14px -12px; pointer-events: none; }
.answer .ring svg { width: 100%; height: 100%; overflow: visible; display: block; }
.answer .ring path { fill: none; stroke: var(--pink); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .45s cubic-bezier(.6, 0, .2, 1); }
.answer.is-picked .ring path { stroke-dashoffset: 0; }

/* il risultato: il tuo manifesto */
.quiz-result { display: grid; gap: 44px; align-items: start; padding-block: 20px; }
@media (min-width: 1000px) { .quiz-result { grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; } }
.res-poster { --pad: clamp(24px, 3.4vw, 40px); position: relative; overflow: hidden; display: grid; gap: 14px; padding: var(--pad); background: var(--paper); color: var(--ink); rotate: -1.5deg; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75); }
.res-photo { aspect-ratio: 16 / 10; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 8px; }
.res-poster > .spray { left: -18%; top: 50%; width: 136%; height: 40%; z-index: 1; }
.res-poster > *:not(.res-photo):not(.spray) { position: relative; z-index: 2; }
.res-title { outline: none; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .86; }
.res-pre { display: block; font-size: clamp(2rem, 4vw, 3.2rem); }
.res-word { display: block; font-size: clamp(4.4rem, 9vw, 8rem); overflow-wrap: anywhere; }
.res-text { max-width: 36ch; font-size: 1.1rem; font-weight: 500; }
.res-side { display: grid; gap: 22px; justify-items: start; min-width: 0; padding: clamp(24px, 3vw, 38px); background: var(--black); outline: 1px solid var(--line-dark); rotate: .6deg; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75); }
.res-side .label { color: var(--sun); }
.res-courses { display: grid; gap: 8px; }
.res-courses a { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.02; transition: color .3s; }
.res-courses a:hover { color: var(--sun); }
.res-porta { max-width: 520px; padding: 20px 22px; border: 1.5px dashed rgba(246, 239, 227, .5); }
.res-porta h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; line-height: 1; color: var(--sun); }
.res-porta p { margin-top: 8px; color: rgba(246, 239, 227, .84); }
.res-porta .res-child { color: var(--cream); font-weight: 600; }
.res-video { width: 100%; max-width: 360px; }
.res-video:empty { display: none; }
.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.yt.is-short { aspect-ratio: 9 / 16; max-width: 200px; }
.yt-btn { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.yt-btn img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-cap { margin-top: 8px; font-size: .9rem; color: rgba(246, 239, 227, .7); }
.res-links { display: flex; flex-wrap: wrap; gap: 0 26px; }
button.link { padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }
.link-cream { color: var(--cream); }
.form-from { justify-self: start; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--sun); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* =========================================================
   MENU: barra in alto, pannello Corsi, menu mobile a fisarmonica
   ========================================================= */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--black); color: var(--cream); box-shadow: 0 1px 0 var(--line-dark); }
.topbar { display: none; border-bottom: 1px solid var(--line-dark); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 36px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 239, 227, .7); }
.topbar ul { display: flex; gap: 24px; }
.topbar a { transition: color .25s; }
.topbar a:hover { color: var(--sun); }
.topbar-contact { display: flex; align-items: center; gap: 24px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact svg { width: 15px; height: 15px; }
.header-inner { display: flex; align-items: center; gap: 14px; height: 72px; }
.site-header .brand { margin-right: auto; flex: none; }
.site-header .brand img { height: 34px; width: auto; }
.pnav { display: none; }
.pnav-list { display: flex; align-items: center; gap: 2px; }
.pnav-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 13px; border: 0; border-radius: 999px; background: none; color: var(--cream); font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s; }
.pnav-link svg { width: 14px; height: 14px; transition: rotate .3s var(--ease); }
.pnav-link:hover, .pnav-toggle[aria-expanded="true"] { background: var(--cream); color: var(--ink); }
.pnav-toggle[aria-expanded="true"] svg { rotate: 180deg; }
.pnav-link[aria-current="page"] { color: var(--sun); }
.pnav-link[aria-current="page"]:hover { color: var(--ink); }
.vr-mark { opacity: .6; }
.btn-cta { min-height: 44px; padding: 0 18px; font-size: .76rem; flex: none; }
@media (max-width: 420px) { .btn-cta { padding: 0 13px; font-size: .7rem; } }
.site-header .burger { display: inline-grid; place-content: center; gap: 7px; flex: none; width: 48px; height: 48px; padding: 0; border: 1.5px solid var(--cream); border-radius: 50%; background: transparent; color: var(--cream); cursor: pointer; }
.site-header .burger span { display: block; width: 18px; height: 2px; background: currentColor; }
@media (min-width: 1080px) {
  .topbar { display: block; }
  .pnav { display: block; }
  .site-header .burger { display: none; }
  .site-header .brand { margin-right: 10px; }
  .pnav { margin-right: auto; }
}
@media (min-width: 1080px) and (max-width: 1240px) { .pnav-link { padding: 0 9px; letter-spacing: .08em; } .vr-mark { display: none; } }

/* pannello Corsi */
.mega-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-top: 1px solid var(--line-dark); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .25s var(--ease), translate .35s var(--ease), visibility 0s .35s; }
.mega-panel.is-open { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .25s var(--ease), translate .35s var(--ease); }
.mega-inner { padding-top: 34px; padding-bottom: 30px; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.mega-head { padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line-dark); font-family: var(--display); font-size: 1.7rem; line-height: 1; text-transform: uppercase; color: var(--sun); }
.mega-list a { display: grid; grid-template-columns: 12px 1fr; column-gap: 12px; padding: 10px 0; }
.mega-dot { display: inline-block; flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--dot, var(--sun)); }
.mega-name { font-weight: 700; color: var(--cream); transition: color .25s; }
.mega-list a:hover .mega-name, .mega-list a[aria-current="page"] .mega-name { color: var(--sun); }
.mega-desc { grid-column: 2; font-size: .86rem; color: rgba(246, 239, 227, .6); }
.mega-ext { width: 13px; height: 13px; margin-left: 6px; vertical-align: -1px; }
.mega-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-dark); color: rgba(246, 239, 227, .75); }
.mega-foot p a { color: var(--sun); font-weight: 700; }

/* menu mobile */
.mobile-menu { position: fixed; inset: 0; z-index: 60; overflow-x: hidden; overflow-y: auto; background: var(--black); color: var(--cream); padding-bottom: 40px; }
.mobile-menu[hidden] { display: none; }
.mm-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 var(--g); background: var(--black); }
.mm-top img { height: 34px; width: auto; }
.mm-close { width: 48px; height: 48px; border: 1.5px solid var(--cream); border-radius: 50%; background: none; color: var(--cream); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.pmm-cta { padding: 10px var(--g) 22px; }
.pmm-cta .btn { width: 100%; }
.pmm-list { padding: 0 var(--g); border-top: 1px solid var(--line-dark); margin: 0 var(--g); padding: 0; }
.pmm-list > li { border-bottom: 1px solid var(--line-dark); }
.pmm-toggle, .pmm-link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 66px; padding: 0; border: 0; background: none; color: var(--cream); font-family: var(--display); font-size: clamp(2.2rem, 10vw, 3rem); line-height: 1; text-transform: uppercase; text-align: left; cursor: pointer; }
.pmm-link[aria-current="page"] { color: var(--sun); }
.pmm-toggle svg { width: 28px; height: 28px; transition: rotate .3s var(--ease); }
.pmm-toggle[aria-expanded="true"] svg { rotate: 180deg; }
.pmm-panel { padding: 0 0 22px; }
.pmm-panel[hidden] { display: none; }
.pmm-group p { margin: 16px 0 4px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.pmm-group a { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; font-size: 1.05rem; }
.pmm-group a[aria-current="page"] { color: var(--sun); }
.pmm-group .mega-dot { margin-top: 0; }
.pmm-panel > .link-arrow { margin-top: 16px; }
.pmm-small { display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 24px var(--g) 10px; }
.pmm-small a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 239, 227, .8); }
.pmm-contact { padding: 10px var(--g) 0; }
.pmm-contact .btn { width: 100%; }
.menu-open, .menu-open body { overflow: hidden; }

/* =========================================================
   ELEMENTI COMUNI DELLE PAGINE INTERNE
   ========================================================= */
.btn-ghost { border: 1.5px solid currentColor; }
.btn-ghost:hover { background: var(--cream); color: var(--ink); }
.paper .btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn svg { width: 16px; height: 16px; margin-left: 8px; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
.paper .link-arrow { color: var(--ink); }
.link-arrow svg { width: 20px; height: 20px; flex: none; transition: translate .35s var(--ease); }
.link-arrow:hover svg { translate: 5px 0; }
.inline-link { font-weight: 800; color: var(--sun); }
.paper .inline-link { color: var(--ink); background: var(--sun); padding: 0 .2em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.paper .kicker { color: var(--ink); }
.lit { color: var(--sun); }
.paper .lit { color: transparent; -webkit-text-stroke: .025em var(--ink); }
.todo { display: inline-block; margin-top: 10px; padding: 5px 10px; border: 1px dashed currentColor; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ai-off .todo, .ai-off .ai-tag { display: none; }
.ai-slot { position: relative; }
.ai-slot img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.18) brightness(1.04); }
.ai-tag { position: absolute; z-index: 3; left: 12px; top: 12px; padding: 4px 9px; border-radius: 999px; background: var(--ink); color: var(--sun); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.js .reveal { opacity: 0; translate: 0 34px; transition: opacity 1s var(--ease) var(--d, 0s), translate 1.2s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* apertura delle pagine */
.phero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(40px, 6vw, 90px)) 0 clamp(70px, 9vw, 130px); }
.phero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .phero-grid { grid-template-columns: 1.08fr .92fr; gap: 64px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 239, 227, .62); }
.crumbs a:hover { color: var(--sun); }
.crumbs [aria-current] { color: var(--cream); }
.phero-title { margin-top: 14px; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .88; font-size: clamp(3.4rem, 8.2vw, 7.6rem); }
.phero .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; }
.cobrand { margin-top: 22px; font-size: .92rem; color: rgba(246, 239, 227, .72); }
.phero-copy { position: relative; z-index: 2; }
.phero-copy .todo { display: table; margin-top: 18px; }
.phero-media-wrap { position: relative; z-index: 1; }
.phero-media-wrap > .spray { left: 8%; top: 24%; width: 124%; height: 116%; }
.phero-media { z-index: 1; aspect-ratio: 4 / 3; rotate: 2.5deg; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75); }
.phero > .spray { z-index: 0; }
@media (max-width: 999px) { .phero > .spray.solo { left: -10%; top: auto; bottom: 0; width: 120%; height: 22%; } }

/* sezioni */
.sec { padding: clamp(80px, 10vw, 150px) 0; }
.sec-tight { padding: clamp(64px, 8vw, 120px) 0; }
.ptitle { max-width: 16ch; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .9; font-size: clamp(2.6rem, 6vw, 5.4rem); }
.ptext { display: grid; gap: 26px; align-items: start; }
@media (min-width: 1000px) { .ptext { grid-template-columns: 1fr 1fr; gap: 64px; } }
.prose p { max-width: 60ch; font-size: 1.1rem; line-height: 1.62; }
.prose p + p { margin-top: 14px; }
.dark .prose p { color: rgba(246, 239, 227, .86); }
.come.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.come.facts li { padding: 8px 16px; border: 1.5px solid currentColor; border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

/* schede */
.pcards { display: grid; gap: 20px; margin-top: clamp(36px, 4.4vw, 60px); }
@media (min-width: 700px) { .pcards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pcards.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .pcards.four { grid-template-columns: repeat(4, 1fr); } }
.pcard { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px 24px 28px; border: 1.5px solid currentColor; background: inherit; box-shadow: 8px 8px 0 var(--card, var(--sun)); }
.dark .pcard { background: var(--black); }
.paper .pcard { background: var(--paper); }
.dark .pcard.is-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: none; }
.paper .pcard.is-paper { background: var(--black); color: var(--cream); border-color: var(--black); box-shadow: none; }
.paper .pcard.is-paper .link-arrow { color: var(--sun); }
.dark .pcard.is-paper .link-arrow { color: var(--ink); }
.pcard h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 2.4vw, 2.3rem); line-height: .95; }
.pcard p { font-size: 1rem; }
.pcard p a { font-weight: 700; }
.pcard .tag { padding: 5px 11px; border-radius: 999px; background: var(--card, var(--sun)); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pcard.is-paper .tag { background: var(--sun); }
.pcard .link-arrow { margin-top: auto; }
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid .pcard p a { overflow-wrap: anywhere; }

/* elenco dei corsi */
.tracklist { margin-top: 18px; border-top: 1px solid var(--line); }
.track { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.tracklist > li:first-child .track { border-top: 0; }
.track-main { display: grid; gap: 6px; min-width: 0; }
.track-name { font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: .95; transition: translate .4s var(--ease); }
.track-name em { font-family: var(--text); font-style: normal; font-weight: 600; font-size: .3em; letter-spacing: .08em; vertical-align: middle; opacity: .75; }
.track-line { font-size: .98rem; opacity: .72; }
.track-arrow { position: relative; flex: none; width: 56px; height: 56px; border: 1.5px solid currentColor; border-radius: 50%; transition: background .3s, border-color .3s, translate .4s var(--ease); }
.track-arrow::before { content: ""; position: absolute; left: 17px; top: 26.5px; width: 20px; height: 2px; background: currentColor; }
.track-arrow::after { content: ""; position: absolute; left: 26px; top: 21px; width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; rotate: 45deg; }
.track:hover .track-name { translate: 10px 0; }
.track:hover .track-arrow { background: var(--hue, var(--sun)); border-color: var(--hue, var(--sun)); color: var(--ink); translate: 4px 0; }

/* percorso negli anni */
.ppath { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; margin-top: 40px; }
.ppath li { display: flex; align-items: center; }
.ppath li + li::before { content: ""; width: 26px; height: 2px; margin: 0 8px; background: currentColor; opacity: .5; }
.ppath a, .ppath .is-here { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid currentColor; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .25s, color .25s; }
.ppath .is-here { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.dark .ppath a:hover { background: var(--cream); color: var(--ink); }
.paper .ppath a:hover { background: var(--ink); color: var(--cream); }

/* elenchi di link (blog) */
.plinks { margin-top: 28px; border-top: 1px solid var(--line); }
.plinks a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.1rem; line-height: 1.35; }
.plinks svg { width: 22px; height: 22px; flex: none; transition: translate .35s var(--ease); }
.plinks a:hover svg { translate: 6px 0; }
.plinks a:hover { color: var(--sun); }
.paper .plinks a:hover { color: var(--ink); }
.paper .plinks a:hover svg { color: var(--pink); }
.reveal > .kicker + .plinks, .reveal > .kicker + .tracklist { margin-top: 14px; }

/* competenze (canto) */
.skills { display: grid; gap: 16px; margin-top: 44px; }
@media (min-width: 700px) { .skills { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .skills { grid-template-columns: repeat(3, 1fr); } }
.skill { padding: 24px 22px; border-top: 4px solid var(--pink); background: rgba(246, 239, 227, .04); }
.paper .skill { background: rgba(25, 23, 20, .04); }
.skill h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.skill p { margin-top: 8px; }

/* foto con testo */
.psplit { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .psplit { grid-template-columns: 1fr 1fr; gap: 72px; } }
.psplit-media, .portrait { position: relative; z-index: 1; }
.portrait { width: 100%; max-width: 480px; }
@media (min-width: 900px) { .persona.flip .portrait { justify-self: end; } }
.psplit-media img { aspect-ratio: 4 / 3; }
.psplit-media { rotate: -2deg; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.psplit-media > .spray, .portrait > .spray { z-index: -1; left: 40%; top: 42%; width: 80%; height: 78%; }
.psplit .prose { margin-top: 22px; }
.persona { display: grid; gap: 30px; align-items: center; margin-top: 50px; }
@media (min-width: 900px) { .persona { grid-template-columns: .85fr 1.15fr; gap: 64px; } .persona.flip > :first-child { order: 2; } }
.portrait-frame { overflow: hidden; aspect-ratio: 1; rotate: -2deg; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.persona.flip .portrait-frame { rotate: 2deg; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); }
.persona h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: .95; }
.persona-role { margin-top: 14px; max-width: 52ch; font-size: 1.1rem; }
.docenti { margin-top: 56px; padding: 28px 30px; border: 1.5px dashed currentColor; max-width: 720px; rotate: -.6deg; }
.docenti h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2.2rem; line-height: 1; }
.docenti p { margin-top: 10px; }

/* manifesto (chi siamo) */
.mani-title { max-width: 14ch; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .88; font-size: clamp(3.2rem, 8.6vw, 8rem); }
.mani-body { margin-top: 44px; }
.mani-text p { max-width: 34ch; font-size: clamp(1.25rem, 2.1vw, 1.8rem); font-weight: 500; line-height: 1.38; }
.mani-text p + p { margin-top: 18px; }
@media (min-width: 1000px) { .mani-body { margin-left: 37.5%; } }

/* video */
.guarda-head { display: grid; gap: 16px; }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 230px); gap: 16px; margin-top: 34px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll > div { scroll-snap-align: start; }
.row-scroll.wide { grid-auto-columns: minmax(260px, 380px); }
.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.yt.is-short { aspect-ratio: 9 / 16; }
.yt-btn { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.yt-btn img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); transition: scale .6s var(--ease); }
.yt-btn:hover img { scale: 1.05; }
.yt-play { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sun); color: var(--ink); }
.yt-play svg { width: 18px; height: 18px; margin-left: 3px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-out { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: .72rem; font-weight: 700; }
.vid-cap { margin-top: 10px; font-size: .92rem; opacity: .82; }
.tv-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1000px) { .tv-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
.tv-text { margin-top: 22px; max-width: 52ch; font-size: 1.1rem; }

/* fascia Vocalrise */
.vr-band { position: relative; overflow: hidden; display: grid; gap: 26px; align-items: center; padding: clamp(30px, 5vw, 64px); background: var(--black); color: var(--cream); }
.dark .vr-band { background: var(--paper); color: var(--ink); }
.vr-band > * { position: relative; z-index: 2; }
.vr-band > .spray { position: absolute; z-index: 0; left: 52%; top: -20%; width: 70%; height: 140%; }
.vr-band h2 { max-width: 16ch; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: .92; }
.vr-band p { margin-top: 14px; max-width: 54ch; }
@media (min-width: 900px) { .vr-band { grid-template-columns: 1fr auto; } }

/* domande */
.faq-grid { display: grid; gap: 30px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; } .faq-grid > header { position: sticky; top: calc(var(--header-h) + 30px); } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 16px 0; font-weight: 600; font-size: 1.12rem; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; flex: none; width: 32px; height: 32px; border: 1.5px solid currentColor; border-radius: 50%; transition: rotate .35s var(--ease), background .25s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; }
.pm::after { rotate: 90deg; transition: rotate .35s var(--ease); }
.faq details[open] .pm { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.faq details[open] .pm::after { rotate: 0deg; }
.ans { max-width: 62ch; padding: 0 0 24px; font-size: 1.04rem; opacity: .88; }
.faq-foot { margin-top: 22px; }
.faq-group + .faq-group { margin-top: 50px; }
.faq-group h2 { margin-bottom: 16px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; }

/* eventi */
.event-wide { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1000px) { .event-wide { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.event-wide > figure img { aspect-ratio: 16 / 10; filter: none; }
.event-wide > figure { rotate: -1.5deg; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.event { padding: 30px 30px 32px; border: 1.5px dashed currentColor; rotate: 1deg; }
.event p + p { margin-top: 10px; }
.event-date { display: flex; align-items: flex-end; gap: 14px; margin-top: 14px; }
.event-date b { font-family: var(--display); font-weight: 400; font-size: 6rem; line-height: .8; color: var(--sun); }
.paper .event-date b { color: var(--ink); }
.event-date span { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.year { display: grid; gap: 20px; margin-top: 44px; }
@media (min-width: 900px) { .year { grid-template-columns: repeat(3, 1fr); } }
.year-item { padding: 26px 24px 28px; border: 1.5px solid currentColor; }
.year-item:nth-child(1) { box-shadow: 8px 8px 0 var(--sun); } .year-item:nth-child(2) { box-shadow: 8px 8px 0 var(--pink); } .year-item:nth-child(3) { box-shadow: 8px 8px 0 var(--cyan); }
.when { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.year-item h3 { margin: 8px 0 10px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2.2rem; line-height: .95; }
/* home, al palco: gli allievi in TV come istantanee appese al muro, stesso bianco e nero delle altre foto */
.talent { margin-top: clamp(56px, 7vw, 96px); }
.talent-head { display: grid; gap: 10px; max-width: 62ch; }
.talent-head .label { color: var(--sun); }
.talent-head p:not(.label) { color: rgba(246, 239, 227, .82); }
.talent-wall { position: relative; display: flex; align-items: flex-start; margin-top: 36px; padding: 18px 4px 12px; overflow-x: auto; scrollbar-width: none; }
.talent-wall::-webkit-scrollbar { display: none; }
.talent-wall > .spray { z-index: 0; }
.palco .talent + .marquee { margin-top: clamp(36px, 5vw, 64px); }
.snap { position: relative; z-index: 2; flex: 0 0 auto; width: clamp(150px, 15.5vw, 196px); margin: 0 0 0 -10px; padding: 7px 7px 10px; background: var(--paper); color: var(--ink); rotate: var(--r); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); transition: rotate .5s var(--ease), translate .5s var(--ease); }
.snap:first-of-type { margin-left: 0; }
.snap:nth-of-type(even) { margin-top: 22px; }
.snap img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.18) brightness(1.04); }
.snap figcaption { display: grid; gap: 2px; margin-top: 8px; padding: 0 2px; }
.snap b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.15rem; line-height: 1; }
.snap span { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a6d00; }
.snap:hover { z-index: 3; rotate: 0deg; translate: 0 -8px; }
@media (min-width: 1000px) { .talent-wall { justify-content: center; overflow: visible; } }
/* Daigo Drum Academy: logo su carta e liste dei livelli */
.academy-logo { width: min(100%, 540px); height: auto; }
.livello ul { margin: 16px 0 0; display: grid; gap: 6px; }
.livello li { position: relative; padding-left: 18px; font-size: .98rem; line-height: 1.45; }
.livello li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--sun); }
.livello .obiettivo { margin-top: 18px; padding-top: 14px; border-top: 1px dashed currentColor; font-size: .95rem; }
.pcard .when { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sec .marquee { margin-top: clamp(40px, 6vw, 80px); }

/* studio: equalizzatore */
.eq { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin-top: 50px; }
.eq i { flex: 1; height: 30%; background: var(--sun); animation: eq 1.3s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.17s); }
.eq i:nth-child(3n) { background: var(--pink); } .eq i:nth-child(4n) { background: var(--cyan); }
@keyframes eq { from { height: 14%; } to { height: 100%; } }

/* mappa */
.map-ph { display: grid; place-items: center; min-height: 260px; margin-top: 28px; padding: 24px; border: 1.5px dashed currentColor; font-size: .86rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; transition: background .3s, color .3s; }
.map-ph:hover { background: var(--ink); color: var(--cream); }
.dark .map-ph:hover { background: var(--cream); color: var(--ink); }

/* chiusura con modulo */
.close-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .9; font-size: clamp(3.2rem, 7.4vw, 6.6rem); max-width: 12ch; }
.close-title span { display: block; }
.close-title span + span { color: var(--sun); }
.chiusura .lead { margin-top: 24px; color: rgba(246, 239, 227, .84); }
.contact-lines { display: grid; gap: 12px; margin-top: 28px; color: rgba(246, 239, 227, .84); }
.contact-lines a { color: var(--sun); font-weight: 600; }
address { font-style: normal; }
.close-card { position: relative; z-index: 2; padding: clamp(24px, 3.4vw, 40px); background: var(--paper); color: var(--ink); rotate: -1deg; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
.close-grid > div { position: relative; z-index: 2; }
.lead-form { display: grid; gap: 20px; }
.lead-form[hidden], .form-done[hidden], .field-error[hidden] { display: none !important; }
.field { display: grid; gap: 6px; }
.field label, .fieldset legend { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.field input, .field textarea { font: inherit; font-size: 1.1rem; min-height: 50px; padding: 6px 0; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B0136E; }
.field textarea { resize: vertical; line-height: 1.5; }
.field-error { font-size: .86rem; font-weight: 600; color: #B0136E; }
.fieldset { margin: 0; padding: 0; border: 0; }
.lead-form .check { position: relative; display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; cursor: pointer; }
.lead-form .check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check .box { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 1px; border: 2px solid var(--ink); background: var(--paper); }
.check .box svg { width: 15px; height: 15px; opacity: 0; color: var(--ink); }
.check input:checked + .box { background: var(--sun); }
.check input:checked + .box svg { opacity: 1; }
.check input:focus-visible + .box { outline: 3px solid var(--pink); outline-offset: 2px; }
.form-done { font-weight: 600; font-size: 1.1rem; outline: none; }

/* =========================================================
   FOOTER E ELEMENTI FISSI
   ========================================================= */
.site-footer { position: relative; padding: clamp(70px, 8vw, 110px) 0 40px; }
.site-footer .wrap { position: relative; z-index: 2; }
.pfoot-grid { display: grid; gap: 40px; }
@media (min-width: 700px) { .pfoot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pfoot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-logo { height: 56px; width: auto; margin-bottom: 18px; }
.pfoot-brand p, .pfoot-brand address { margin-top: 6px; }
.pfoot-brand a { font-weight: 600; }
.pfoot-grid h2 { margin-bottom: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pfoot-grid ul a { display: inline-flex; align-items: center; min-height: 38px; font-weight: 600; transition: translate .3s var(--ease); }
.pfoot-grid ul a:hover { translate: 4px 0; }
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social a { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid currentColor; border-radius: 50%; transition: background .25s, color .25s; }
.foot-social a:hover { background: var(--ink); color: var(--sun); }
.foot-social svg { width: 20px; height: 20px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-paper); font-size: .85rem; opacity: .75; }
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--sun); color: var(--ink); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6); transition: scale .3s var(--ease); }
.wa-fab:hover { scale: 1.08; }
.wa-fab svg { width: 28px; height: 28px; }
.ai-toggle { position: fixed; left: 14px; bottom: 14px; z-index: 45; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; border: 1px solid rgba(246, 239, 227, .5); border-radius: 999px; background: var(--black); color: var(--cream); font: inherit; font-size: .7rem; font-weight: 700; letter-spacing: .1em; cursor: pointer; }
.ai-toggle .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
.ai-toggle[aria-pressed="false"] .dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--cream); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; translate: none; }
  .eq i { height: 60%; }
}
/* l'insegna dei talent tra due sezioni: sta in riga, non attraversa il bordo */
main { overflow-x: clip; }
main > .marquee { margin-top: 0; }
/* foto scattate al buio: più luce, stesso bianco e nero */
img.is-bright { filter: grayscale(1) brightness(1.6) contrast(1.02); }

.btn:disabled { opacity: .6; cursor: wait; }
