/* =========================================================
   S.A.L.E.? — Siamo Arte Luogo Esperimento
   Colori del logo: bianco / blu / giallo / nero.
   Solo la sezione 05 (contatti) mantiene la palette della
   presentazione (crema, rosso, verde acqua, senape).
   ========================================================= */

:root {
  --white: #FFFFFF;
  --paper: #F7F3EA;        /* carta calda di fondo */
  --ink: #151412;
  --ink-2: #3A3732;
  --blue: #0059AB;
  --blue-soft: #E8F0F9;
  --yellow: #FFE100;
  --yellow-ink: #F2C200;   /* giallo un filo più profondo per testo su bianco */

  /* solo sezione 05 */
  --cream: #EFE4C9;
  --red: #E0402F;
  --teal: #7DC2A6;
  --mustard: #E6B23A;

  --f-display: 'Anton', 'Impact', 'Arial Narrow Bold', sans-serif;
  --f-text: 'Oswald', 'Arial Narrow', 'Helvetica Neue', sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --topbar: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topbar); -webkit-text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background-color: var(--paper);
  /* texture: carta da disegno tecnico con griglia blu leggera */
  background-image:
    linear-gradient(color-mix(in srgb, var(--blue) 9%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--blue) 9%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--blue) 4.5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--blue) 4.5%, transparent) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.45;
  overflow-x: clip;
}
html { overflow-x: clip; }
/* grana della carta sopra tutto, molto leggera */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27200%27 height=%27200%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.9%27 numOctaves=%272%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .32 0 0 0 .22 0%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
mark { background: var(--ink); color: inherit; padding: 0 .12em; }
hr { border: 0; border-top: 2px solid currentColor; margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* scia di particelle */
.trail { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 95; }

/* ---------- elementi ricorrenti ---------- */
.secnum {
  display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto;
  column-gap: 10px; align-items: end; justify-content: start;
  font-family: var(--f-display); line-height: .9; margin-bottom: 22px;
}
.secnum span { grid-row: 1 / 3; font-size: 40px; }
.secnum small { font-family: var(--f-text); font-size: 10px; letter-spacing: .2em; font-weight: 500; }
.secnum strong { font-weight: 400; font-size: 17px; text-transform: uppercase; border-bottom: 3px solid currentColor; padding-bottom: 3px; }

.kicker, .eyebrow { font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.plan-hint { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.hint-touch { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-touch { display: inline; } }

.js [data-reveal] { opacity: 0; transform: translate(-24px, 14px) skewX(-6deg); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- TOPBAR ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40; height: var(--topbar);
  display: flex; align-items: center; gap: 20px; padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(6px);
}
.topbar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-size: 21px; color: var(--blue); }
.topbar__brand img { width: 40px; height: auto; }
/* scritta SALE? al centro della barra */
.topbar__word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: block; line-height: 0; }
.topbar__word img { height: 40px; width: auto; transition: transform .3s var(--ease-out); }
.topbar__word:hover img { transform: rotate(-3deg) scale(1.05); }
@media (max-width: 760px) {
  .topbar__word { left: 50%; }
  .topbar__word img { height: 32px; }
}
.topbar__menu {
  margin-left: auto; display: flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--f-display); font-size: 16px; text-transform: uppercase; letter-spacing: .06em;
  padding: 6px 10px; transition: background .2s;
}
.topbar__menu svg { width: 30px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: miter; }
.topbar__menu:hover { background: var(--yellow); }
.lang { display: flex; align-items: center; gap: 4px; font-family: var(--f-display); font-size: 16px; }
.lang button { background: none; border: 0; padding: 6px; cursor: pointer; opacity: .45; }
.lang button[aria-pressed="true"] { opacity: 1; background: var(--blue); color: var(--yellow); }

/* =========================================================
   PRIMA PAGINA — bianca, metà logo a lato, pianta al centro
   ========================================================= */
.hero {
  --hero-h: max(480px, calc(100svh - var(--topbar)));
  --burst-h: calc(var(--hero-h) * .84);
  --burst-w: calc(var(--burst-h) * .3786);          /* proporzioni della raggiera (318 × 840) */
  position: relative; overflow: hidden; background: transparent;
  height: calc(100svh - var(--topbar)); min-height: 480px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "acro plan" "facts facts";
  column-gap: clamp(16px, 3vw, 48px);
  padding: 18px calc(var(--burst-w) + 24px) 0 var(--gutter);
}

/* linee sottili di sfondo su tutta la prima pagina */
/* la rete copre tutta la pagina: <main> è il suo contenitore */
main { position: relative; }
.hero__lines { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.hero__lines .l-net { fill: none; stroke: var(--blue); stroke-width: 1.1; stroke-linecap: round; opacity: .9; }
.hero__lines .l-plus { fill: none; stroke: var(--blue); stroke-width: 1.2; opacity: .8; }
.hero__lines circle { fill: var(--paper); stroke: var(--blue); stroke-width: 1.4; }

/* raggiera ferma, tagliata dal bordo destro, centrata in altezza */
.hero__burst { position: absolute; z-index: 1; right: 0; top: calc(var(--hero-h) * .08); height: var(--burst-h); width: auto; aspect-ratio: 318 / 840; pointer-events: none; overflow: hidden; }
.b-wedge polygon { fill: var(--blue); }
.b-text text { font-family: var(--f-text); font-weight: 400; fill: var(--blue); letter-spacing: .01em; }
.b-thin { fill: none; stroke: var(--blue); stroke-width: 1; opacity: .55; }
.b-dot circle { fill: var(--white); stroke: var(--blue); stroke-width: 1.6; }
.b-plus { fill: none; stroke: var(--ink); stroke-width: 1.1; opacity: .7; }

/* pianta: occupa tutto lo spazio tra la scritta e la raggiera */
/* su desktop main.js la centra sulla pagina (left/top/width/height) */
.hero__plan { position: absolute; z-index: 1; left: 50%; top: 10%; width: 40%; height: 60%; }
.plan { width: 100%; height: 100%; display: block; }

/* acronimo come nella reference */
/* acronimo grande: occupa quasi tutta l'altezza a sinistra, come nella reference */
.hero__acro { grid-area: acro; position: relative; z-index: 2; align-self: end; padding-bottom: 10px; }
.acro { margin: 0; font-weight: 400; }
.acro__svg { display: block; height: calc((var(--hero-h) - 110px) * .86); width: auto; max-width: 34vw; overflow: visible; }
.acro__svg text { font-family: var(--f-text); font-weight: 600; fill: var(--blue); paint-order: stroke; stroke: var(--paper); stroke-width: 10px; stroke-linejoin: round; }
.acro__svg .ini { fill: var(--yellow-ink); }
.a-v { font-size: 77px; } .a-1 { font-size: 67px; } .a-2 { font-size: 81px; } .a-3 { font-size: 127px; }
.acro__en { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-top: 8px; color: var(--blue); }
.acro__en:empty { display: none; }

.facts {
  grid-area: facts; position: relative; z-index: 1;
  margin: 0; padding: 10px 0 22px;
  display: flex; flex-wrap: nowrap; gap: 12px clamp(16px, 3vw, 40px); justify-content: space-between;
}
.facts div { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 0 1 auto; }
.facts dt { font-family: var(--f-display); color: var(--yellow-ink); font-size: 19px; line-height: .92; text-transform: uppercase; display: flex; flex-direction: column; }
.facts dt span { display: block; }
.facts dt, .facts dd { text-shadow: 0 0 3px var(--paper), 0 0 6px var(--paper), 0 0 10px var(--paper); }
.facts dd { margin: 0; font-family: var(--f-display); font-size: clamp(13px, 1.25vw, 17px); letter-spacing: .01em; line-height: 1.15; }

/* --- pianta: superfici --- */
.floor { fill: var(--white); }
.area.terrace { fill: url(#hatch); }
.hatch-line { stroke: var(--ink); stroke-width: .9; opacity: .3; }
.area.service { fill: color-mix(in srgb, var(--ink) 6%, var(--white)); }

.room { cursor: pointer; outline: none; }
.room-fill { fill: var(--white); transition: fill .35s var(--ease-out); }
.room-shadow { fill: var(--ink); opacity: 0; transition: transform .4s var(--ease-out), opacity .25s; }
.room-speed { fill: url(#speed); opacity: 0; transition: opacity .35s; pointer-events: none; }
.speed-line { fill: var(--ink); opacity: .16; }

.room[data-sala="voces"]  { --c: var(--blue); }
.room[data-sala="sala-2"] { --c: var(--yellow); }
.room[data-sala="sala-3"] { --c: var(--ink); }
.room[data-sala="sala-3"] .room-shadow { fill: var(--blue); }

.room:hover .room-fill, .room.is-hot .room-fill, .room:focus-visible .room-fill { fill: var(--c); }
/* la geometria è ruotata di -90°: (-6,5) diventa un'ombra in basso a destra */
.room:hover .room-shadow, .room.is-hot .room-shadow, .room:focus-visible .room-shadow { opacity: 1; transform: translate(-6px, 5px); }
.room:hover .room-speed, .room.is-hot .room-speed, .room:focus-visible .room-speed { opacity: 1; }
.room:focus-visible .room-fill { stroke: var(--yellow-ink); stroke-width: 3px; stroke-dasharray: 6 4; }

.fixtures, .walls, .labels, .room-labels { pointer-events: none; }
/* dentro il gruppo allungato i tratti non si deformano: spessore = unità × --u (px per unità) */
.rot .dash, .rot .stairs, .rot .shaft, .rot .wall, .room-fill { vector-effect: non-scaling-stroke; }
.dash { fill: none; stroke: var(--ink); stroke-width: calc(var(--u, 1.5) * .9px); stroke-dasharray: calc(var(--u, 1.5) * 4px) calc(var(--u, 1.5) * 3px); opacity: .5; }
.stairs { fill: none; stroke: var(--ink); stroke-width: calc(var(--u, 1.5) * .8px); opacity: .7; }
.spiral circle, .spiral path { fill: none; stroke: var(--ink); stroke-width: .8; opacity: .7; }
.shaft { fill: none; stroke: var(--ink); stroke-width: calc(var(--u, 1.5) * 1.6px); }
.column { fill: var(--ink); }
.wall { fill: none; stroke: var(--ink); stroke-width: calc(var(--u, 1.5) * 2.4px); stroke-linecap: square; }
.wall--thick { stroke-width: calc(var(--u, 1.5) * 7px); }
.wall--outer { stroke-width: calc(var(--u, 1.5) * 4.6px); }

.lbl {
  font-family: var(--f-text); font-size: 6.6px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; fill: var(--ink-2);
  paint-order: stroke; stroke: var(--white); stroke-width: 2.4px; stroke-linejoin: round;
}
.lbl--soft { opacity: .65; font-size: 6px; }
.lbl--out { opacity: .6; font-size: 7.4px; letter-spacing: .3em; }

.rl-num { font-family: var(--f-display); font-size: 12px; fill: var(--ink); transition: fill .3s; }
.rl-name { font-family: var(--f-display); font-size: 46px; fill: var(--ink); transition: fill .3s; }
.rl-name--s { font-size: 25px; }
.rl-name--two { font-size: 30px; }
.rl-cta { font-family: var(--f-text); font-size: 7.4px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; fill: var(--ink); opacity: 0; transition: opacity .3s; }
.rl.is-hot .rl-cta { opacity: 1; }
.rl[data-for="voces"].is-hot text { fill: var(--white); }
.rl[data-for="sala-3"].is-hot text { fill: var(--yellow); }

/* perimetro in movimento */
.perimeter { pointer-events: none; }
.perim-path { fill: none; }
.perim-text { font-family: var(--f-display); font-size: 8.2px; letter-spacing: .16em; fill: var(--blue); dominant-baseline: middle; }
.comet { fill: none; stroke-width: 4.8; stroke-dasharray: 46 954; animation: comet 11s linear infinite; }
.comet--a { stroke: var(--blue); }
.comet--b { stroke: var(--yellow); stroke-dasharray: 26 974; animation-delay: -5.5s; }
@keyframes comet { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }

/* --- elenco sale --- */
.sala-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sala-list button {
  width: 100%; display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 2px solid var(--ink); padding: 12px 14px; cursor: pointer; text-align: left;
  transition: background .25s, color .25s, transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.sala-list .chip { width: 14px; height: 14px; flex: none; clip-path: polygon(0 0, 100% 30%, 70% 100%); }
.chip--blue { background: var(--blue); } .chip--yellow { background: var(--yellow-ink); } .chip--ink { background: var(--ink); }
.sala-list .n { font-family: var(--f-display); font-size: 13px; opacity: .6; }
.sala-list .t { font-family: var(--f-display); font-size: 22px; line-height: 1; }
.sala-list .a { margin-left: auto; font-family: var(--f-display); transition: transform .25s var(--ease-out); }
.sala-list button.is-hot, .sala-list button:hover { background: var(--ink); color: var(--white); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--blue); }
.sala-list li:nth-child(2) button.is-hot, .sala-list li:nth-child(2) button:hover { box-shadow: 4px 4px 0 var(--yellow-ink); }
.sala-list button.is-hot .a, .sala-list button:hover .a { transform: translateX(4px); }
.sala-list--hero { display: none; grid-area: list; position: relative; z-index: 2; }

/* ---------- banda ---------- */
.band { overflow: hidden; white-space: nowrap; transform: rotate(-1.4deg); margin: 0 -2%; position: relative; z-index: 2; background: var(--blue); color: var(--yellow); }
.band__track { display: inline-block; padding: 10px 0; font-family: var(--f-display); font-size: clamp(18px, 2.2vw, 26px); text-transform: uppercase; letter-spacing: .04em; animation: band 30s linear infinite; }
@keyframes band { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   MENU A CASA + RIQUADRO DELLE SEZIONI
   ========================================================= */
.menu { padding: clamp(40px, 5vw, 64px) var(--gutter) clamp(48px, 6vw, 80px); background: transparent; }
.menu__grid { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 4vw, 44px); }

/* casa al centro, sezioni sotto (solo dopo il clic) */
/* riga: omino ARTISTI · casa · spazio (la casa resta al centro) */
.menu__row { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; column-gap: clamp(16px, 4vw, 56px); }
.menu__row .house-wrap { grid-column: 2; }
.menu__spacer { grid-column: 3; }

.artist-fig {
  grid-column: 1; justify-self: end; position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: none; border: 0; padding: 0 0 34px; cursor: pointer; color: var(--ink);
}
.artist-fig svg { width: clamp(78px, 8vw, 112px); height: auto; overflow: visible; transition: transform .35s var(--ease-out); }
.artist-fig__body { fill: var(--white); stroke: var(--ink); stroke-width: 3.2; stroke-linejoin: round; transition: fill .3s; }
.artist-fig__line { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; transition: stroke .3s; }
.artist-fig__label { font-family: var(--f-display); font-size: 24px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; transition: color .3s; }
.artist-fig:hover .artist-fig__body, .artist-fig:focus-visible .artist-fig__body, .artist-fig.is-active .artist-fig__body { fill: var(--blue); }
.artist-fig:hover .artist-fig__line, .artist-fig:focus-visible .artist-fig__line, .artist-fig.is-active .artist-fig__line { stroke: var(--white); }
.artist-fig:hover .artist-fig__label, .artist-fig.is-active .artist-fig__label { color: var(--blue); }
.artist-fig:hover svg { transform: rotate(-3deg) translateY(-3px); }
.artist-fig:focus-visible { outline: 3px dashed var(--yellow-ink); outline-offset: 6px; }

.house-wrap { position: relative; z-index: 1; width: min(100%, 340px); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.house__hint { color: var(--blue); text-align: center; }
.stage { position: relative; z-index: 1; width: 100%; }
.stage[hidden] { display: none; }
.house { width: 100%; height: auto; display: block; overflow: visible; }
.house__outline { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linejoin: miter; stroke-linecap: square; pointer-events: none; }
.house__lines { fill: none; stroke: var(--ink); stroke-width: 3; pointer-events: none; }
.house__ground { font-family: var(--f-display); font-size: 12px; letter-spacing: .3em; fill: var(--blue); }
.smoke circle { fill: none; stroke: var(--ink); stroke-width: 1.5; animation: smoke 3.2s ease-in infinite; transform-box: fill-box; transform-origin: center; }
.smoke circle:nth-child(2) { animation-delay: -1.1s; } .smoke circle:nth-child(3) { animation-delay: -2.2s; }
@keyframes smoke { 0% { opacity: 0; transform: translate(0, 14px) scale(.6); } 30% { opacity: .9; } 100% { opacity: 0; transform: translate(8px, -18px) scale(1.5); } }

.hcell { cursor: pointer; outline: none; }
.hcell__fill { fill: var(--white); transition: fill .3s var(--ease-out); }
.hcell text { pointer-events: none; transition: fill .3s; fill: var(--ink); }
.hcell__num { font-family: var(--f-display); font-size: 14px; }
.hcell__name { font-family: var(--f-display); font-size: 26px; text-transform: uppercase; letter-spacing: .02em; }
.hcell[data-tab="sale"]      { --c: var(--yellow); --t: var(--ink); }
.hcell[data-tab="progetto"]  { --c: var(--blue);   --t: var(--white); }
.hcell[data-tab="quartiere"] { --c: var(--yellow); --t: var(--ink); }
.hcell[data-tab="persone"]   { --c: var(--ink);    --t: var(--yellow); }
.hcell[data-tab="info"]      { --c: var(--blue);   --t: var(--white); }
.hcell:hover .hcell__fill, .hcell.is-active .hcell__fill { fill: var(--c); }
.hcell:hover text, .hcell.is-active text { fill: var(--t); }
.hcell:not(.is-active):hover .hcell__fill { fill: color-mix(in srgb, var(--c) 55%, var(--white)); }
.hcell:not(.is-active):hover text { fill: var(--ink); }
.hcell:focus-visible .hcell__fill { stroke: var(--yellow-ink); stroke-width: 4; stroke-dasharray: 6 4; }

/* riquadro */
.tab {
  --pad: clamp(20px, 3vw, 40px);
  position: relative; overflow: hidden;
  padding: var(--pad);
  border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink);
  background: var(--white); font-size: 15px;
}
.tab[hidden] { display: none; }
.tab.is-entering { animation: tab-in .6s var(--ease-out); }
@keyframes tab-in { from { opacity: 0; clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); } to { opacity: 1; clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); } }

/* ARTISTI — divisi per sala */
.tab--artisti { background: var(--white); }
.artists { display: block; }
/* lista artisti a colonne: nome + freccetta, clic = descrizione */
.artists__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; align-items: start; }
@media (max-width: 760px) { .artists__list { grid-template-columns: minmax(0, 1fr); } .artists__col + .artists__col .artist:first-child { border-top: 0; } }
.artist { break-inside: avoid; margin: 0; border-bottom: 2px solid var(--ink); }
.artist:first-child { border-top: 2px solid var(--ink); }
.artist__name { list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 12px; padding: 12px 2px; font-family: var(--f-display); font-weight: 400; font-size: 24px; line-height: 1.05; text-transform: uppercase; transition: color .2s; }
.artist__name::-webkit-details-marker { display: none; }
.artist__n { font-size: 13px; opacity: .55; min-width: 20px; }
.artist__t { flex: 1; }
.artist__t small { display: block; margin-top: 4px; font-family: var(--f-text); font-size: 12px; letter-spacing: .14em; font-weight: 500; opacity: .7; }
.artist__arrow { color: var(--blue); font-size: 22px; transition: transform .3s var(--ease-out); }
.artist__name:hover, .artist__name:focus-visible { color: var(--blue); }
.artist__name:hover .artist__arrow { transform: translateX(4px); }
.artist[open] .artist__arrow { transform: rotate(90deg); }
.artist[open] .artist__name { color: var(--blue); }
.artist__name:focus-visible { outline: 3px dashed var(--yellow-ink); outline-offset: 2px; }
.artist__bio { padding: 0 2px 16px 32px; font-size: 15px; line-height: 1.5; }
.artist__bio p { margin: 0 0 10px; }
.artist__bio p:last-child { margin-bottom: 0; }
.artists__head { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--f-display); font-weight: 400; font-size: 28px; text-transform: uppercase; border-bottom: 3px solid var(--ink); padding-bottom: 6px; }
.artists__head span { font-size: 15px; opacity: .6; }
.artists__head .chip { width: 18px; height: 18px; clip-path: polygon(0 0, 100% 30%, 70% 100%); }
.artists__room[data-sala="voces"] .chip { background: var(--blue); }
.artists__room[data-sala="sala-2"] .chip { background: var(--yellow-ink); }
.artists__room[data-sala="sala-3"] .chip { background: var(--ink); }
.artists__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.artist { margin: 0; }
.artist__photo { margin: 0 0 10px; aspect-ratio: 4 / 5; border: 2px solid var(--ink); background: var(--blue-soft); overflow: hidden; position: relative; }
.artist__photo img { width: 100%; height: 100%; object-fit: cover; }
.artist__ph { position: absolute; inset: 0; display: grid; place-items: center; }
.artist__ph svg { width: 34%; height: auto; }
.artist__ph svg path { fill: none; stroke: var(--blue); stroke-width: 4; opacity: .55; }
.artist__ph em { position: absolute; left: 8px; bottom: 6px; font-style: normal; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.artist__name { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.artist__bio { margin-top: 4px; font-size: 14px; }
.artist__empty { font-size: 14px; opacity: .7; }

@media (max-width: 760px) {
  .menu__row { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; }
  .menu__row .house-wrap { width: 100%; }
  .menu__spacer { display: none; }
  .artist-fig { justify-self: start; padding-bottom: 40px; }
  .artist-fig svg { width: 62px; }
  .artist-fig__label { font-size: 17px; }
  .artist__name { font-size: 21px; }
  .artist__bio { padding-left: 0; font-size: 14px; }
}

/* PIANTA 3D (desktop): sostituisce la pianta 2D nello stesso riquadro */
.hero.is-3d .plan { display: none; }
.plan3d { position: absolute; inset: 0; }
.plan3d[hidden] { display: none; }
.plan3d canvas { display: block; cursor: grab; }
.plan3d canvas:active { cursor: grabbing; }
.plan3d__labels { position: absolute; inset: 0; pointer-events: none; }
.p3-room {
  font-family: var(--f-display); font-size: 19px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink);
  background: var(--white); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 1px 9px; white-space: nowrap;
  transition: transform .2s var(--ease-out), background .2s, color .2s;
}
.p3-room small { font-family: var(--f-text); font-size: 10px; letter-spacing: .14em; margin-right: 6px; opacity: .65; }
.p3-room.is-hot { transform: scale(1.12) rotate(-3deg); }
.p3-room[data-id="voces"].is-hot { background: var(--blue); color: var(--white); }
.p3-room[data-id="sala-2"].is-hot { background: var(--yellow); }
.p3-room[data-id="sala-3"].is-hot { background: var(--ink); color: var(--yellow); }

/* 01 le sale */
.tab__lead { font-size: 17px; max-width: 520px; margin-bottom: 20px; }
.sala-list--tab { max-width: 520px; }
.tab__back { display: inline-block; margin-top: 18px; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .04em; color: var(--blue); text-decoration: none; }
.tab__back:hover { text-decoration: underline; }

/* 02 progetto — blu */
.tab--progetto { background: var(--blue); color: var(--white); }
.vee { position: relative; }
.vee__svg { width: 100%; height: auto; display: block; overflow: visible; }
.vee__a { font-family: var(--f-display); font-size: 112px; fill: var(--white); }
.vee__svg rect { fill: var(--ink); }
.vee__b { font-family: var(--f-display); font-size: 104px; fill: var(--yellow); }
.vee__svg circle { fill: var(--yellow); stroke: var(--ink); stroke-width: 5; }
.vee__c { font-family: var(--f-display); font-size: 40px; fill: var(--ink); }
.vee__top { position: absolute; left: 50%; top: 0; transform: translateX(-50%); text-align: center; font-family: var(--f-display); text-transform: uppercase; line-height: 1.05; }
.vee__top span { display: block; font-size: clamp(16px, 1.8vw, 22px); }
.vee__top small { font-family: var(--f-text); font-weight: 600; font-size: 11px; letter-spacing: .14em; }
.vee__what { position: absolute; left: 50%; top: 27%; width: min(34%, 300px); transform: translateX(-50%); text-align: center; }
.vee__what h3, .cols3 h3 { font-family: var(--f-display); font-weight: 400; font-size: 20px; text-transform: uppercase; margin-bottom: 4px; }
.vee__what p { font-size: 13.5px; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); margin-top: 28px; align-items: start; }
.cols3 p { font-size: 14px; }
.research .eyebrow { margin-bottom: 6px; }
.research h3 { font-size: 24px; line-height: 1.2; }
.research mark { color: var(--yellow); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ai__big { font-size: 44px !important; line-height: .9 !important; color: var(--yellow); }

/* 03 quartiere — giallo */
.tab--quartiere { background: var(--yellow); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); }
.hood__left { display: flex; flex-direction: column; gap: 4px; }
.hood__want { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.hood__want img { width: clamp(130px, 12vw, 170px); height: auto; transform: rotate(-6deg); vertical-align: middle; margin: 4px 0 14px 6px; }
.hood__l1, .hood__l3 { font-family: var(--f-display); text-transform: uppercase; font-size: 30px; line-height: 1; }
.hood__l2 { font-family: var(--f-display); text-transform: uppercase; color: var(--blue); font-size: clamp(32px, 3.4vw, 46px); line-height: .95; }
.hood__l3 { font-size: 22px; padding-left: 1em; margin-top: 10px; }
.hood__l4 span { display: inline-block; background: var(--ink); color: var(--yellow); font-family: var(--f-display); text-transform: uppercase; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.05; padding: 0 .2em; }
.hood__l5 { font-family: var(--f-display); text-transform: uppercase; color: var(--blue); font-size: 18px; transform: rotate(-5deg); padding-left: 4.6em; }
.hood__left hr { margin: 20px 0 10px; max-width: 440px; }
.hood__body { max-width: 440px; font-size: 14px; }
.hood__right { display: flex; justify-content: flex-end; gap: 16px; min-height: 380px; }
.verbs {
  list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; flex: 1; max-width: 260px;
  display: flex; flex-direction: column; justify-content: space-around;
  font-family: var(--f-display); text-transform: uppercase; font-size: 28px; line-height: 1;
}
.verbs::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 6px; width: 3px; background: var(--ink); }
.verbs::after { content: ""; position: absolute; left: -2px; top: 0; border: 9px solid transparent; border-bottom: 18px solid var(--ink); border-top: 0; }
.verbs li { transform-origin: left center; }
.verbs .v1 { transform: rotate(-9deg); }
.verbs .v2 { color: var(--blue); transform: rotate(-4deg); font-size: 1.12em; }
.verbs .v3 { transform: rotate(6deg); font-size: .86em; }
.verbs .v4 span { display: inline-block; background: var(--ink); color: var(--yellow); padding: .05em .25em; transform: rotate(-8deg); }
.hood__vertical { writing-mode: vertical-rl; font-family: var(--f-display); text-transform: uppercase; color: var(--blue); font-size: clamp(64px, 7vw, 96px); line-height: .82; }

/* 04 persone — bianco */
.people__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.people__names { display: flex; flex-direction: column; gap: 18px; }
.person h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 3vw, 36px); line-height: 1; }
.person.p1 h3, .person__bar { transform: rotate(-4deg); transform-origin: left; }
.person__bar { margin: 6px 0 0 calc(var(--pad) * -1); padding: 8px var(--pad); background: var(--ink); color: var(--yellow); font-family: var(--f-display); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; width: calc(100% + var(--pad)); }
.person.p2 h3, .person__role { transform: rotate(-3deg); transform-origin: left; }
.person__role { font-size: 17px; letter-spacing: .34em; text-transform: uppercase; font-weight: 300; margin-top: 4px; color: var(--blue); }
.people__names hr { max-width: 360px; }
.person__small { font-family: var(--f-display); font-size: 15px; text-transform: uppercase; color: var(--blue); }
.person.p3 h3 { font-size: 26px; }
.people__side { display: flex; flex-direction: column; gap: 22px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ph { margin: 0; aspect-ratio: 3 / 4; position: relative; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--blue-soft); }
.ph span { font-family: var(--f-display); font-size: 34px; color: var(--blue); }
.ph figcaption { position: absolute; left: 6px; bottom: 5px; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.ph--1 { transform: rotate(-3deg); } .ph--2 { transform: rotate(2deg) translateY(10px); background: color-mix(in srgb, var(--yellow) 35%, var(--white)); } .ph--3 { transform: rotate(-1deg); }
.ph::after { content: ""; position: absolute; width: 38%; height: 10px; top: -6px; left: 31%; background: color-mix(in srgb, var(--yellow) 70%, transparent); transform: rotate(-4deg); }
.people__text { font-size: 15px; }

/* 05 info — colori originali della presentazione */
.tab--info { background: var(--ink); color: var(--cream); }
.info__rows { margin: 0; }
.info__rows div { display: grid; grid-template-columns: minmax(120px, 1fr) 2.6fr; gap: 18px; align-items: baseline; padding: 14px 0; border-top: 1px solid color-mix(in srgb, var(--cream) 35%, transparent); }
.info__rows dt { font-family: var(--f-display); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; color: var(--yellow); line-height: 1; }
.info__rows div:nth-child(2) dt { color: var(--white); }
.info__rows div:nth-child(3) dt { color: var(--teal); }
.info__rows div:nth-child(4) dt { color: var(--mustard); }
.info__rows dd { margin: 0; font-size: 17px; }

/* footer */
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding: 28px var(--gutter) 36px; font-size: 13px; letter-spacing: .06em; border-top: 2px solid var(--ink); }
.footer img { width: 120px; height: auto; }
.footer strong { font-family: var(--f-display); font-weight: 400; font-size: 17px; color: var(--blue); }

/* =========================================================
   PANNELLO SALA
   ========================================================= */
.sala-panel {
  position: fixed; inset: 0; z-index: 80;
  background: var(--sala-bg, var(--blue)); color: var(--sala-fg, var(--white));
  clip-path: inset(50% 50% 50% 50%);
  transition: clip-path .75s var(--ease);
  will-change: clip-path;
}
.sala-panel[hidden] { display: none; }
.sala-panel__speed { position: absolute; inset: -20%; background: repeating-linear-gradient(-28deg, transparent 0 22px, color-mix(in srgb, currentColor 10%, transparent) 22px 26px); animation: speed 1.6s linear infinite; pointer-events: none; }
@keyframes speed { to { transform: translate(-26px, 14px); } }
.sala-panel__scroll { position: relative; height: 100%; overflow-y: auto; padding: clamp(76px, 8vw, 100px) var(--gutter) 44px; }
.sala-close {
  position: absolute; z-index: 2; top: 16px; right: var(--gutter);
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--white); border: 0; padding: 10px 16px; cursor: pointer;
  font-family: var(--f-display); font-size: 17px; text-transform: uppercase; letter-spacing: .04em;
  transition: transform .25s var(--ease-out);
}
.sala-close:hover { transform: rotate(-3deg) scale(1.04); }
.sala-panel[data-sala="sala-3"] .sala-close { background: var(--yellow); color: var(--ink); }
.sala-panel :focus-visible { outline-color: var(--yellow); }
.sala-panel[data-sala="sala-2"] :focus-visible { outline-color: var(--blue); }

.sala-head, .sala-grid, .sala-nav { max-width: 1200px; margin-left: auto; margin-right: auto; }
.sala-kicker { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.sala-title {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(80px, 15vw, 230px); line-height: .82;
  transform: rotate(-5deg); transform-origin: left bottom; margin: .14em 0 .2em -.03em;
  text-shadow: .045em .045em 0 var(--ink);
}
.sala-panel[data-sala="sala-2"] .sala-title, .sala-panel[data-sala="sala-3"] .sala-title { text-shadow: .045em .045em 0 var(--blue); }
.sala-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.sala-soon { font-family: var(--f-display); font-size: clamp(26px, 2.8vw, 40px); text-transform: uppercase; line-height: 1; }
.sala-soon-sub { font-size: 17px; max-width: 520px; margin-top: 10px; }
.sala-desc { font-size: 17px; max-width: 620px; }
.sala-desc p + p { margin-top: 1em; }
.sala-facts { margin: 28px 0 0; max-width: 520px; }
.sala-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 2px solid currentColor; }
.sala-facts dt { font-family: var(--f-display); font-size: 20px; text-transform: uppercase; }
.sala-facts dd { margin: 0; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }

.sala-locator { margin: 0; background: var(--white); color: var(--ink); padding: 12px; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); transform: rotate(1.5deg); }
.sala-panel[data-sala="sala-3"] .sala-locator { box-shadow: 10px 10px 0 var(--blue); }
.sala-locator svg { width: 100%; height: auto; display: block; }
.sala-locator figcaption { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; margin-top: 6px; }
.sala-locator .room { cursor: default; }
.sala-locator .room-speed, .sala-locator .room-shadow, .sala-locator .rl-cta { display: none; }
.sala-locator .room.is-here .room-fill { fill: var(--c); }
.sala-locator .rl[data-for="voces"].is-here text { fill: var(--white); }
.sala-locator .rl[data-for="sala-3"].is-here text { fill: var(--yellow); }

.sala-nav { margin-top: 40px; display: flex; justify-content: space-between; gap: 12px; }
.sala-nav button { background: transparent; border: 2px solid currentColor; padding: 10px 16px; cursor: pointer; font-family: var(--f-display); font-size: 18px; text-transform: uppercase; letter-spacing: .04em; transition: background .2s, color .2s; }
.sala-nav button:hover { background: var(--sala-fg); color: var(--sala-bg); }

.sala-head, .sala-grid, .sala-nav { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease-out), transform .7s var(--ease-out); }
.sala-panel.is-open .sala-head { opacity: 1; transform: none; transition-delay: .32s; }
.sala-panel.is-open .sala-grid { opacity: 1; transform: none; transition-delay: .44s; }
.sala-panel.is-open .sala-nav { opacity: 1; transform: none; transition-delay: .54s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .tab--quartiere { grid-template-columns: 1fr; }
  .hood__right { min-height: 0; justify-content: space-between; }
  .verbs { gap: 22px; padding-top: 26px; max-width: none; }
  .people__grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .menu__grid { grid-template-columns: 1fr; }
  .house-wrap { position: static; max-width: 340px; width: 100%; margin: 0 auto 8px; }
  .sala-grid { grid-template-columns: 1fr; }
  .sala-locator { max-width: 460px; }
}

@media (max-width: 760px) {
  :root { --topbar: 54px; }
  .topbar__brand span { display: none; }
  .topbar__menu span { display: none; }

  .hero {
    height: auto; min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    grid-template-areas: "plan" "list" "acro" "facts";
    row-gap: 16px; padding: 14px var(--gutter) 0;
  }
  .hero__burst { position: relative; top: auto; right: auto; grid-area: acro; justify-self: end; align-self: center; height: 300px; margin-right: calc(var(--gutter) * -1); }
  .hero__plan { position: relative; left: auto; top: auto; width: auto; height: auto; grid-area: plan; }
  .plan { height: auto; }
  .sala-list--hero { display: grid; }
  .hero__acro { align-self: center; justify-self: start; padding: 6px 0; }
  .acro__svg { width: min(58vw, 230px); height: auto; max-width: none; }
  .facts { flex-direction: column; gap: 10px; }
  .facts dt { min-width: 30px; }
  .lbl--out { display: none; }

  .tab { box-shadow: 6px 6px 0 var(--ink); }
  .vee { display: flex; flex-direction: column; gap: 14px; }
  .vee__top, .vee__what { position: static; transform: none; width: auto; text-align: left; }
  .vee__svg { order: 2; }
  .vee__what { order: 3; }
  .cols3 { grid-template-columns: 1fr; gap: 24px; }
  .verbs { font-size: 26px; }
  .info__rows div { grid-template-columns: 1fr; gap: 2px; }
  .sala-title { font-size: clamp(68px, 22vw, 140px); margin-top: .32em; }
  .sala-nav button { font-size: 15px; padding: 9px 12px; }
}

/* =========================================================
   ANIMAZIONI D'INGRESSO DELLA HOME (una volta sola, ~2,5 s)
   ========================================================= */
.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; }

/* rete: si stende dalla raggiera verso sinistra */
.js .hero__lines:not(.net-ready) { visibility: hidden; }
.hero__lines circle { transition: transform .35s var(--ease-out); }
.hero__lines .l-cursor { fill: none; stroke: var(--blue); stroke-width: 1.1; stroke-dasharray: 3 4; opacity: .9; }
.l-edge { stroke-dasharray: 1 1; animation: net-draw .9s var(--ease-out) both; }
@keyframes net-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.l-dot-in { animation: dot-pop .5s var(--ease-out) both; }
@keyframes dot-pop { from { opacity: 0; stroke-width: 6; } to { opacity: 1; } }
.l-fade-in { animation: fade-in .8s 1.6s both; }
@keyframes fade-in { from { opacity: 0; } }

/* pianta: i muri si disegnano come a penna, poi le sale e le scritte */
/* si anima la lunghezza del tratto (0 → pieno): alla fine il muro è sempre continuo */
.walls .wall { animation: wall-draw 1.5s var(--ease) both; }
.walls .wall--outer { animation-duration: 1.2s; }
.walls .wall:not(.wall--outer) { animation-delay: .5s; }
@keyframes wall-draw { from { stroke-dasharray: 0 1; } to { stroke-dasharray: 1 0; } }
.plan .areas, .plan .fixtures, .plan .spiral, .plan .labels { animation: fade-in .6s 1.3s both; }
.plan .room-fill { animation: fade-in .5s .9s both; }
.plan .room-labels .rl { animation: label-in .55s var(--ease-out) both; }
.plan .room-labels .rl[data-for="sala-2"] { animation-delay: 1.45s; }
.plan .room-labels .rl[data-for="sala-3"] { animation-delay: 1.6s; }
.plan .room-labels .rl[data-for="voces"] { animation-delay: 1.75s; }
@keyframes label-in { from { opacity: 0; transform: translateY(8px); } }
.plan .comet { animation: comet 11s linear infinite, fade-in .6s 2s both; }
.plan .comet--b { animation-delay: -5.5s, 2s; }

/* raggiera: i cunei entrano di scatto dal bordo destro, le parole seguono */
.b-wedge polygon { animation: wedge-in .7s var(--ease-out) both; }
.b-wedge polygon:nth-child(1) { animation-delay: .15s; } .b-wedge polygon:nth-child(2) { animation-delay: .22s; }
.b-wedge polygon:nth-child(3) { animation-delay: .29s; } .b-wedge polygon:nth-child(4) { animation-delay: .36s; }
.b-wedge polygon:nth-child(5) { animation-delay: .43s; } .b-wedge polygon:nth-child(6) { animation-delay: .5s; }
.b-wedge polygon:nth-child(7) { animation-delay: .57s; } .b-wedge polygon:nth-child(8) { animation-delay: .64s; }
.b-wedge polygon:nth-child(9) { animation-delay: .71s; } .b-wedge polygon:nth-child(10) { animation-delay: .78s; }
.b-wedge polygon:nth-child(11) { animation-delay: .85s; }
@keyframes wedge-in { from { transform: translateX(160px); opacity: 0; } 60% { opacity: 1; } }
.b-text text { animation: fade-in .6s both; }
.b-text text:nth-child(1) { animation-delay: .6s; } .b-text text:nth-child(2) { animation-delay: .7s; }
.b-text text:nth-child(3) { animation-delay: .8s; } .b-text text:nth-child(4) { animation-delay: .9s; }
.b-text text:nth-child(5) { animation-delay: 1s; } .b-text text:nth-child(6) { animation-delay: 1.1s; }
.b-text text:nth-child(7) { animation-delay: 1.2s; } .b-text text:nth-child(8) { animation-delay: 1.3s; }
.b-thin, .b-dot, .b-plus { animation: fade-in .8s 1.2s both; }

/* acronimo: SPERIMENTAZIONI sale dal basso, poi le righe a scalare; le iniziali si accendono */
.a-in { animation: acro-row .8s var(--ease-out) both; }
.a-in--v { animation-name: acro-up; animation-delay: .2s; }
.a-in--1 { animation-delay: .65s; } .a-in--2 { animation-delay: .8s; } .a-in--3 { animation-delay: .95s; }
@keyframes acro-up { from { transform: translateY(120px); opacity: 0; } }
@keyframes acro-row { from { transform: translateX(-60px); opacity: 0; } }
.acro__svg .ini { animation: ini-on .5s both; }
.a-in--v .ini { animation-delay: .9s; } .a-in--1 .ini { animation-delay: 1.3s; }
.a-in--2 .ini { animation-delay: 1.45s; } .a-in--3 .ini { animation-delay: 1.6s; }
@keyframes ini-on { from { fill: var(--blue); } }

/* =========================================================
   COSA — piccola e compatta, saliera in alto a destra
   ========================================================= */
.cosa { padding: 8px var(--gutter) clamp(56px, 7vw, 96px); display: flex; justify-content: center; }
.cosa__card {
  position: relative; z-index: 1; width: min(100%, 470px);
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px;
  padding: 26px 22px 64px 20px;
  background: var(--white); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--ink);
}
.cosa__label {
  margin: 0; font-family: var(--f-display); font-weight: 400; color: var(--yellow-ink);
  font-size: 30px; line-height: .92; text-transform: uppercase; display: flex; flex-direction: column; align-self: start;
}
.cosa__label span { display: block; }
.cosa__text { font-family: var(--f-text); font-weight: 500; font-size: 15px; line-height: 1.32; color: var(--ink); text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.cosa__text p + p { margin-top: 1em; }
.cosa__lead { font-weight: 600; color: var(--blue); margin-bottom: .2em; }
.salt-w { display: inline-block; white-space: nowrap; }
.salt-l { display: inline-block; transition: transform .7s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.cosa__text.is-waiting .salt-l { opacity: 0; }

/* saliera */
.shaker { position: absolute; z-index: 2; width: 150px; height: auto; right: -46px; top: -74px; overflow: visible; pointer-events: none; transform-origin: 70% 40%; }
.sh-back, .sh-side { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; }
.sh-shade { fill: #8E8E8E; opacity: .85; }
.sh-shade--2 { opacity: .45; }
.sh-cap { fill: var(--white); stroke: var(--ink); stroke-width: 3.2; }
.sh-holes circle { fill: var(--ink); }
.shaker.is-pouring { animation: shake .26s ease-in-out infinite alternate; }
@keyframes shake { from { transform: rotate(-4deg) translate(0, -2px); } to { transform: rotate(5deg) translate(-3px, 3px); } }

/* granelli che escono durante il versamento */
.shaker-grains { position: absolute; z-index: 1; width: 0; height: 0; pointer-events: none; }
.shaker-grains::before, .shaker-grains::after { content: ""; position: absolute; left: -10px; top: 0; width: 22px; height: 60px; opacity: 0;
  background-image: radial-gradient(circle, #9A958B 1.2px, transparent 1.6px), radial-gradient(circle, #B8B3A9 1px, transparent 1.4px);
  background-size: 9px 11px, 7px 13px; background-position: 0 0, 4px 5px; }
.shaker-grains.is-pouring::before { animation: grains .5s linear infinite; }
.shaker-grains.is-pouring::after { animation: grains .5s .25s linear infinite; left: -4px; }
@keyframes grains { 0% { opacity: 0; transform: translateY(-6px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(46px); } }

/* mucchietto */
.salt-pile { position: absolute; right: 18px; bottom: 10px; width: 130px; height: auto; pointer-events: none; }
.sp-out { fill: none; stroke: #9A958B; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 5 3 9 2; }
.sp-dots circle { fill: #9A958B; }
.sp-crumbs { stroke: #6F6A62; stroke-width: 3; stroke-linecap: round; }

@media (max-width: 760px) {
  .cosa__card { padding: 22px 16px 58px 14px; box-shadow: 6px 6px 0 var(--ink); }
  .shaker { width: 118px; right: -14px; top: -62px; }
  .cosa__text { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .acro__v[data-reveal] { transform: rotate(180deg); }
}

/* ---------- Sala 01: programma di performance e talk ---------- */
.prog__lead { margin: 0 0 18px; font-size: 17px; }
.prog { list-style: none; margin: 0; padding: 0; max-width: 640px; }
.prog__item { padding: 14px 0 16px; border-top: 2px solid currentColor; }
.prog__item:last-child { border-bottom: 2px solid currentColor; }
.prog__when { margin: 0; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--yellow); }
.prog__title { margin: 4px 0 6px; font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.02; text-transform: uppercase; }
.prog__text { margin: 0; font-size: 15px; line-height: 1.45; opacity: .92; }
.prog__link { display: inline-flex; gap: 8px; margin-top: 10px; padding: 6px 12px; font-family: var(--f-display); font-size: 16px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.prog__link:hover, .prog__link:focus-visible { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }

/* ---------- Sale 2 e 3: cartellino quando la pianta si avvicina ---------- */
.sala-chip { position: absolute; z-index: 6; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 14px; background: #fff; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); font-family: var(--f-text); animation: chipIn .35s var(--ease-out); }
.sala-chip[hidden] { display: none; }
.sala-chip__n { font-size: 12px; letter-spacing: .14em; font-weight: 600; opacity: .6; }
.sala-chip__name { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1; text-transform: uppercase; }
.sala-chip__facts { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.sala-chip__x { border: 0; background: var(--ink); color: #fff; font-family: var(--f-display); font-size: 14px; padding: 4px 8px; cursor: pointer; }
.sala-chip[data-sala="sala-2"] { border-left: 10px solid var(--yellow-ink); }
.sala-chip[data-sala="sala-3"] { border-left: 10px solid var(--ink); }
@keyframes chipIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .sala-chip { left: 8px; right: 8px; bottom: 8px; flex-wrap: wrap; gap: 4px 10px; }
  .sala-chip__name { font-size: 22px; }
  .sala-chip__x { margin-left: auto; }
}

/* sale senza scheda: niente "entra" sulla pianta */
.rl[data-for="sala-2"] .rl-cta, .rl[data-for="sala-3"] .rl-cta { display: none; }

/* info: orari dettagliati e contatti cliccabili */
.info__when { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.info__when b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.info__contacts { display: flex; flex-direction: column; gap: 4px; }
.info__contacts a, .footer__contacts a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.info__contacts a:hover, .footer__contacts a:hover { color: var(--yellow); }
.footer__contacts { margin: 0; font-size: 14px; }
