/* ==========================================================================
   Time to Show – Art Direction
   Concept: il sipario che si apre. Mobile first.
   ========================================================================== */

/* Font ospitati nel sito (nessuna richiesta ai server di Google) */
@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda-latin.woff2") format("woff2"); font-style: normal; font-weight: 400 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda-latin-ext.woff2") format("woff2"); font-style: normal; font-weight: 400 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda-italic-latin.woff2") format("woff2"); font-style: italic; font-weight: 400 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda-italic-latin-ext.woff2") format("woff2"); font-style: italic; font-weight: 400 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; src: url("../assets/fonts/figtree-latin.woff2") format("woff2"); font-style: normal; font-weight: 400 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("../assets/fonts/figtree-latin-ext.woff2") format("woff2"); font-style: normal; font-weight: 400 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Brand Guidelines 2026 */
  --magenta: #BA1C5F;
  --nero: #000000;
  --bianco: #FFFFFF;
  --petrolio: #008080;
  --viola: #AD70BA;
  --oro: #C8A96A;

  --ink: #0B0B0B;
  --fumo: rgba(255, 255, 255, .62);   /* testo secondario su nero */
  --linea: rgba(255, 255, 255, .16);

  /* Titoli: Bodoni Moda (scelto al posto di Amoria) */
  --font-display: "Bodoni Moda", "Didot", serif;
  /* Alternativa web ad Avenir */
  --font-text: "Avenir Next", "Avenir", "Figtree", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--nero);
  color: var(--bianco);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  background: var(--bianco); color: var(--nero); padding: 10px 16px;
  transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.02em;
  margin: 0;
}
.display em { font-style: italic; }
.eyebrow {
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 20px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}
.lead { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.55; max-width: 34ch; }
p { margin: 0 0 1em; }

/* ---------- Pulsanti: si aprono dal centro come ali ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid currentColor;
  background: none; cursor: pointer;
  overflow: hidden;
  transition: color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill, var(--bianco));
  transform: scaleX(0); transform-origin: 50% 50%;
  transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover, .btn:focus-visible { color: var(--btn-ink, var(--nero)); }
.btn--solid { background: var(--bianco); color: var(--nero); border-color: var(--bianco); --btn-fill: var(--magenta); --btn-ink: var(--bianco); }
.btn--magenta { background: var(--magenta); color: var(--bianco); border-color: var(--magenta); --btn-fill: var(--bianco); --btn-ink: var(--magenta); }
.btn .arrow { transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.link-line {
  text-decoration: none; font-weight: 600; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 4px;
  transition: background-size .5s var(--ease);
}
.link-line:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Segnaposto contenuti ---------- */
.ph {
  position: relative;
  background:
    radial-gradient(120% 90% at 30% 0%, rgba(255,255,255,.10), transparent 60%),
    var(--ph-bg, #151515);
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.ph::after {
  content: attr(data-ph);
  position: relative;
  margin: 14px;
  padding: 6px 10px;
  font: 500 11px/1.4 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .04em;
  color: var(--bianco);
  background: rgba(0,0,0,.55);
  border-left: 2px solid var(--oro);
  max-width: calc(100% - 28px);
}
.todo {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .82em;
  background: rgba(200,169,106,.18);
  color: inherit;
  padding: 1px 6px;
  border: 1px dashed var(--oro);
  white-space: nowrap;
}

/* ==========================================================================
   Prologo: la farfalla apre le ali e si ingrandisce con lo scroll,
   mentre il sipario si apre sulla hero.
   Le variabili --wing, --zoom, --fade, --open sono aggiornate da main.js.
   ========================================================================== */
.intro { position: relative; height: 280vh; }
.intro__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.intro__stage .hero { min-height: 100%; height: 100%; }
.intro__stage .hero__media { transform: scale(calc(1.18 - .18 * var(--open, 0))); transform-origin: 50% 40%; }

.intro__curtain {
  --bf-w: min(80vw, 620px);
  --bf-h: calc(var(--bf-w) / 1.766);
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
}
/* Vignettatura circolare: luce al centro, buio ai bordi (svanisce con l'apertura) */
.intro__curtain::before {
  content: ""; position: absolute; inset: 0; z-index: 4;
  background: radial-gradient(circle at 50% 46%,
    rgba(0,0,0,0) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.6) 78%, rgba(0,0,0,.82) 100%);
  opacity: calc(1 - var(--open, 0));
  pointer-events: none;
}
/* Lama di luce calda che filtra dalla fessura del sipario */
/* Luce dorata sui bordi interni delle tende: ogni scia segue la sua tenda mentre si apre.
   Posizione del bordo = metà schermo raccolta (--gather) meno lo spostamento (--open). */
.intro__light {
  --edge: calc(50vw * var(--gather, 1) - 50.5vw * var(--open, 0));
  position: absolute; top: 0; bottom: 0; z-index: 3;
  width: clamp(100px, 15vw, 230px);
  background: radial-gradient(50% 62% at 50% 46%, rgba(255,247,228,1), rgba(255,222,160,.55) 40%, rgba(255,222,160,0) 100%);
  opacity: var(--glow, 0);
  filter: blur(8px);
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform;
}
.intro__light--l { left: 0; transform: translateX(calc(var(--edge) - 50%)); }
.intro__light--r { right: 0; transform: translateX(calc(50% - var(--edge))); }
/* Velluto: pieghe larghe con luce e ombra, una seconda trama irregolare, grana del tessuto,
   buio in alto e in basso come sotto le luci di scena */
.intro__panel {
  --pleat: clamp(54px, 7vw, 104px);
  position: absolute; top: 0; bottom: 0; width: 50%; z-index: 2;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.05) 20%, rgba(0,0,0,0) 58%, rgba(0,0,0,.38) 100%),
    repeating-linear-gradient(90deg,
      rgba(40,0,16,.42) 0,
      rgba(40,0,16,.16) calc(var(--pleat) * .18),
      rgba(255,190,215,.12) calc(var(--pleat) * .38),
      rgba(255,210,228,.26) calc(var(--pleat) * .47),
      rgba(255,190,215,.10) calc(var(--pleat) * .58),
      rgba(40,0,16,.18) calc(var(--pleat) * .8),
      rgba(40,0,16,.42) var(--pleat)),
    repeating-linear-gradient(90deg,
      rgba(0,0,0,0) 0, rgba(0,0,0,.12) calc(var(--pleat) * 1.3), rgba(0,0,0,0) calc(var(--pleat) * 2.6)),
    #c41f64;
  background-size: 160px 160px, auto, auto, auto, auto;
  will-change: transform;
  perspective: 1100px;
  overflow: hidden;   /* ogni metà di farfalla resta sulla sua tenda */
}
/* Aprendosi le tende scorrono e si raccolgono verso i lati (--gather < 1 stringe le pieghe) */
.intro__panel--l {
  left: 0; perspective-origin: 100% 46%; transform-origin: 0 50%;
  background-position: 0 0, 0 0, right top, right top, 0 0;
  transform: translateX(calc(var(--open, 0) * -101%)) scaleX(var(--gather, 1));
  box-shadow: inset -26px 0 34px -22px rgba(20,0,8,.45);
}
.intro__panel--r {
  right: 0; perspective-origin: 0 46%; transform-origin: 100% 50%;
  background-position: 0 0, 0 0, left top, left top, 0 0;
  transform: translateX(calc(var(--open, 0) * 101%)) scaleX(var(--gather, 1));
  box-shadow: inset 26px 0 34px -22px rgba(20,0,8,.45);
}
/* Le due metà della farfalla, agganciate al bordo interno di ogni tenda */
.intro__wing {
  position: absolute; top: 46%;
  width: calc(var(--bf-w) / 2); height: var(--bf-h);
  margin-top: calc(var(--bf-h) / -2);
  background: linear-gradient(160deg, #f6e8c0 0%, var(--oro) 45%, #957637 100%);
  -webkit-mask: url("../assets/brand/Pittogramma.svg") no-repeat;
          mask: url("../assets/brand/Pittogramma.svg") no-repeat;
  -webkit-mask-size: var(--bf-w) var(--bf-h);
          mask-size: var(--bf-w) var(--bf-h);
  filter: drop-shadow(0 0 var(--shine, 6px) rgba(246,232,192,.55));
  will-change: transform;
}
/* --fold: 1 = ali chiuse (ruotate in prospettiva), 0 = aperte. --bf-s: leggero ingrandimento */
.intro__wing--l {
  right: 0; -webkit-mask-position: 0 0; mask-position: 0 0; transform-origin: 100% 50%;
  transform: scale(calc(var(--bf-s, 1) / var(--gather, 1)), var(--bf-s, 1)) rotateY(calc(var(--fold, .55) * 68deg));
}
.intro__wing--r {
  left: 0; -webkit-mask-position: 100% 0; mask-position: 100% 0; transform-origin: 0 50%;
  transform: scale(calc(var(--bf-s, 1) / var(--gather, 1)), var(--bf-s, 1)) rotateY(calc(var(--fold, .55) * -68deg));
}

/* Prima dello scroll: la farfalla emerge dal buio e batte piano le ali */
.intro.is-idle .intro__wing--l { animation: bf-appear 1.4s var(--ease-out) both, bf-flutter-l 2.6s 1.2s ease-in-out infinite; }
.intro.is-idle .intro__wing--r { animation: bf-appear 1.4s var(--ease-out) both, bf-flutter-r 2.6s 1.2s ease-in-out infinite; }
@keyframes bf-appear { from { opacity: 0; filter: blur(14px) drop-shadow(0 0 0 rgba(246,232,192,0)); } }
@keyframes bf-flutter-l {
  0%, 100% { transform: rotateY(37deg); }
  40% { transform: rotateY(12deg); }
  58% { transform: rotateY(28deg); }
}
@keyframes bf-flutter-r {
  0%, 100% { transform: rotateY(-37deg); }
  40% { transform: rotateY(-12deg); }
  58% { transform: rotateY(-28deg); }
}
.intro__hint, .intro__skip { z-index: 5; }

.intro__hint {
  position: absolute; left: 0; right: 0; bottom: calc(var(--gutter) + 8px); margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  opacity: var(--hint, 1);
}
.intro__hint::after {
  content: ""; width: 1px; height: 46px;
  background: linear-gradient(var(--bianco), transparent);
  animation: hint-line 1.8s ease-in-out infinite; transform-origin: top;
}
@keyframes hint-line { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.intro__skip {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 8px);
  pointer-events: auto; opacity: var(--hint, 1);
  background: none; border: 0; border-bottom: 1px solid; padding: 4px 0;
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase; cursor: pointer;
}
.intro.is-through .intro__curtain { visibility: hidden; }

/* Già visto in questa visita, o movimento ridotto: niente prologo */
.intro--done { height: auto; }
.intro--done .intro__stage { position: relative; height: auto; overflow: visible; }
.intro--done .intro__stage .hero { min-height: 100svh; height: auto; }
.intro--done .intro__stage .hero__media { transform: none; }
.intro--done .intro__curtain, .no-js .intro__curtain { display: none; }
.no-js .intro { height: auto; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: var(--header-h);
  display: flex; align-items: stretch; justify-content: space-between;
  pointer-events: none;
}
.header > * { pointer-events: auto; }
/* Logo sempre su fondo pieno, nell'angolo; area di rispetto = 1/5 dell'altezza */
.header__logo {
  display: grid; align-items: center;
  padding: 0 calc(var(--logo-h) / 5 + 10px);
  --logo-h: 40px;
}
.header__logo img { height: var(--logo-h); width: auto; grid-area: 1 / 1; transition: opacity .35s; }
/* Header trasparente: logo bianco sulle sezioni scure, colorato su quelle chiare */
.header__logo .logo-color { opacity: 0; }
.header.is-light .header__logo .logo-white { opacity: 0; }
.header.is-light .header__logo .logo-color { opacity: 1; }
.header .menu-toggle { transition: color .35s; }
.header.is-light .menu-toggle { color: var(--ink); }
.menu-open .header .logo-white { opacity: 1; }
.menu-open .header .logo-color { opacity: 0; }
.menu-open .header .menu-toggle { color: var(--bianco); }
.header__actions {
  display: flex; align-items: center; gap: 10px;
  padding: 0 var(--gutter);
  transition: background .4s;
}
.header__cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 12px;
  background: none; border: 0; cursor: pointer; padding: 10px 0;
  font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
}
.menu-toggle__icon { width: 26px; height: 10px; position: relative; }
.menu-toggle__icon::before, .menu-toggle__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: 8px; left: 8px; }
.menu-open .menu-toggle__icon::before { top: 4px; transform: rotate(35deg); }
.menu-open .menu-toggle__icon::after { top: 4px; left: 0; transform: rotate(-35deg); }

/* ---------- Menu "Scaletta" ---------- */
.programme {
  position: fixed; inset: 0; z-index: 80;
  background: var(--magenta);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 50% 0 50%);
  visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
  overflow-y: auto;
}
.menu-open .programme {
  clip-path: inset(0 0 0 0); visibility: visible;
  transition: clip-path .8s var(--ease), visibility 0s;
}
.programme__label { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; margin: 0 0 18px; }
.programme ol { list-style: none; margin: 0; padding: 0; }
.programme li { border-top: 1px solid rgba(255,255,255,.3); }
.programme li:last-child { border-bottom: 1px solid rgba(255,255,255,.3); }
.programme ol a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 12px 0; text-decoration: none;
}
.programme ol a span:first-child {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; min-width: 72px; opacity: .85;
}
.programme ol a span:last-child {
  font-family: var(--font-display); font-size: clamp(32px, 7vw, 76px); line-height: 1.05;
  transition: transform .5s var(--ease-out), font-style 0s;
}
.programme ol a:hover span:last-child, .programme ol a:focus-visible span:last-child { transform: translateX(14px); font-style: italic; }
.programme__foot {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; font-size: 15px;
}
.programme__foot a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media .ph, .hero__media video, .hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__img { object-position: 50% 62%; }
.hero__media .ph { --ph-bg: #050505; align-items: flex-start; justify-content: flex-end; padding-top: var(--header-h); }
/* Luci di scena in movimento finché non arriva lo showreel */
.spot {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  filter: blur(40px); opacity: .55; mix-blend-mode: screen;
  animation: sweep 14s var(--ease) infinite alternate;
}
.spot--1 { background: radial-gradient(circle, rgba(186,28,95,.9), transparent 62%); left: -20vmax; top: -10vmax; }
.spot--2 { background: radial-gradient(circle, rgba(200,169,106,.55), transparent 60%); right: -30vmax; bottom: -30vmax; animation-delay: -7s; animation-duration: 18s; }
@keyframes sweep {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18vw, 12vh) scale(1.15); }
  100% { transform: translate(-6vw, 22vh) scale(.9); }
}
.hero__shade {
  position: absolute; inset: 0;
  /* Velo scuro: uniforme su tutta la foto + più denso dove ci sono i testi (in basso a sinistra) */
  background:
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.45) 30%, rgba(0,0,0,.7) 60%, rgba(0,0,0,.92) 100%);
}
.hero__title, .hero__payoff, .hero__claim { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero__body {
  position: relative; z-index: 1;
  align-self: end;
  padding: 48px var(--gutter) 36px;
  max-width: var(--max);
}
.hero__title {
  font-size: clamp(54px, 13.5vw, 196px);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .indent { padding-left: 12vw; }
.hero__title em { color: var(--oro); }
.hero__payoff {
  margin: 28px 0 32px; max-width: 30ch; font-size: clamp(17px, 1.8vw, 21px);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }

/* Locandina: la scaletta della serata */
.playbill {
  position: relative; z-index: 1;
  border-top: 1px solid var(--linea);
  display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
  background: rgba(0,0,0,.6);
}
.playbill::-webkit-scrollbar { display: none; }
.playbill a {
  flex: 1 0 auto;
  padding: 16px var(--gutter);
  text-decoration: none; font-size: 13px; white-space: nowrap;
  border-right: 1px solid var(--linea);
  transition: background .3s;
}
.playbill a b { font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; color: var(--oro); margin-right: 10px; }
.playbill a:hover { background: var(--magenta); }
.playbill a:hover b { color: var(--bianco); }

/* ==========================================================================
   Struttura sezioni / Atti
   ========================================================================== */
.act { position: relative; padding: clamp(80px, 12vw, 180px) var(--gutter); }
.act__inner { max-width: var(--max); margin: 0 auto; }
.act__head { display: grid; gap: 24px; margin-bottom: clamp(40px, 6vw, 88px); }
.act__num {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(20px, 2vw, 26px); color: var(--oro);
}
.act__title { font-size: clamp(46px, 9vw, 132px); }

/* Divisorio a farfalla: le due ali si aprono quando entra in scena */
.wings {
  display: flex; justify-content: center; align-items: center; gap: 0;
  padding: 0 var(--gutter); height: 64px;
  color: var(--oro);
}
.wings::before, .wings::after {
  content: ""; flex: 1; height: 1px; background: currentColor; opacity: .5;
  transform: scaleX(0); transition: transform 1.2s var(--ease) .2s;
}
.wings::before { transform-origin: 100% 50%; }
.wings::after { transform-origin: 0 50%; }
.wings__mark {
  width: 56px; height: 32px; margin: 0 18px;
  background: currentColor;
  -webkit-mask: url("../assets/brand/Pittogramma.svg") center / contain no-repeat;
          mask: url("../assets/brand/Pittogramma.svg") center / contain no-repeat;
  transform: scaleX(.15); opacity: 0;
  transition: transform 1s var(--ease-out), opacity .6s;
}
.wings.is-in::before, .wings.is-in::after { transform: scaleX(1); }
.wings.is-in .wings__mark { transform: scaleX(1); opacity: 1; }

/* ---------- Atto I · Chi siamo ---------- */
.about { background: var(--bianco); color: var(--ink); }
.about .act__num { color: var(--magenta); }
.about__grid { display: grid; gap: 48px; }
.about__title { font-size: clamp(44px, 8vw, 120px); color: var(--magenta); }
.about__copy { max-width: 46ch; }
.about__copy .lead { color: var(--petrolio); font-weight: 500; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 36px 0; }
.founder .ph { aspect-ratio: 3 / 4; }
.founder:nth-child(2) { margin-top: 48px; }
.founder h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px); line-height: 1.05; margin: 14px 0 4px;
}
.founder p { font-size: 14px; color: #555; margin: 0; }
.emblem {
  border-top: 1px solid #ddd; padding-top: 28px; margin-top: 12px;
  display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center;
}
.emblem img { width: 96px; height: auto; }
.emblem p { margin: 0; font-size: 15px; }

/* ---------- Atto II · Format (scorrimento orizzontale) ---------- */
.formats { padding-left: 0; padding-right: 0; }
.formats .act__head { padding: 0 var(--gutter); max-width: var(--max); margin-left: auto; margin-right: auto; }
.formats__track {
  display: flex; gap: 0;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--oro) transparent;
  padding-bottom: 6px;
}
.tableau {
  --c: var(--magenta); --ink-c: var(--bianco); --accent: var(--oro);
  flex: 0 0 86vw;
  scroll-snap-align: start;
  background: var(--c); color: var(--ink-c);
  display: flex; flex-direction: column;
  min-height: 560px;
  text-decoration: none;
  position: relative;
}
.tableau .ph { --ph-bg: rgba(0,0,0,.35); flex: 1 1 auto; min-height: 260px; }
.tableau__body { padding: 28px 24px 32px; display: grid; gap: 12px; }
.tableau__n { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.tableau__t { font-family: var(--font-display); font-size: clamp(36px, 4.4vw, 60px); line-height: .95; margin: 0; }
.tableau__d { font-size: 15px; margin: 0; max-width: 34ch; opacity: .9; }
.tableau__go { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; margin-top: 6px; }
.tableau__go::after { content: " →"; display: inline-block; transition: transform .4s var(--ease-out); }
.tableau:hover .tableau__go::after { transform: translateX(6px); }
/* Atmosfere per format */
.t-matrimoni   { --c: #0d0b07; --ink-c: var(--bianco); --accent: var(--oro); border-top: 3px solid var(--oro); }
.t-matrimoni .tableau__t { color: var(--oro); }
.t-tema        { --c: var(--petrolio); --accent: var(--bianco); }
.t-aziendali   { --c: var(--bianco); --ink-c: var(--ink); --accent: #8a6f35; }
.t-discoteca   { --c: var(--magenta); --accent: var(--bianco); }
.t-dinner      { --c: #3a1f40; --accent: var(--oro); border-top: 3px solid var(--viola); }
.t-dinner .tableau__t { color: var(--viola); }
.formats__hint {
  padding: 18px var(--gutter) 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--fumo);
  max-width: var(--max); margin: 0 auto;
}

/* ---------- Atto III · Perché noi ---------- */
.why__grid { display: grid; gap: 40px; }
.why__intro { max-width: 34ch; }
.why__intro p { color: var(--fumo); }
.virtues { list-style: none; margin: 0; padding: 0; counter-reset: v; }
.virtue {
  border-top: 1px solid var(--linea);
  padding: 22px 0 26px;
  display: grid; grid-template-columns: 40px 1fr; column-gap: 12px;
  opacity: .28;
  transition: opacity .7s var(--ease-out);
}
.virtue:last-child { border-bottom: 1px solid var(--linea); }
.virtue::before {
  counter-increment: v; content: counter(v, upper-roman);
  font-family: var(--font-display); font-style: italic; color: var(--oro); padding-top: .6em;
}
.virtue__w {
  font-family: var(--font-display); font-size: clamp(40px, 8.5vw, 118px); line-height: 1; margin: 0;
  transition: transform .9s var(--ease-out);
  transform-origin: 0 50%;
}
.virtue__d { grid-column: 2; margin: 10px 0 0; max-width: 46ch; color: var(--fumo); font-size: 16px; }
.virtue.is-lit { opacity: 1; }
.virtue.is-lit .virtue__w { font-style: italic; }
.virtue:nth-child(even) .virtue__w { padding-left: 8vw; }

/* ---------- Atto IV · Laboratorio ---------- */
.atelier { background: var(--magenta); overflow: hidden; }
.atelier .act__num { color: var(--bianco); }
.atelier__grid { display: grid; gap: 40px; }
.atelier__media { position: relative; }
.atelier__media .frame:first-child { aspect-ratio: 4 / 5; }
.atelier__media .frame:last-child {
  position: absolute; width: 46%; aspect-ratio: 1; right: -6%; bottom: -8%;
  --ph-bg: #2a0716; border: 6px solid var(--magenta);
}
.atelier__title { font-size: clamp(44px, 8vw, 112px); }
.steps { list-style: none; margin: 36px 0 36px; padding: 0; display: grid; gap: 0; }
.steps li {
  display: grid; grid-template-columns: 112px 1fr; gap: 14px;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.35);
}
.steps b { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; padding-top: 4px; }
.steps span { font-size: 16px; }

/* ---------- Atto V · Galleria ---------- */
.gallery__grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
.gallery__grid .frame { aspect-ratio: 4 / 5; }
/* Colonne sfalsate, come un montaggio */
.gallery__grid .frame:nth-child(even) { transform: translateY(40px); }
.gallery__foot { margin-top: 36px; display: flex; justify-content: flex-end; }

/* ---------- Applausi ---------- */
.applause { background: #0d0b07; }
.applause .act__title { color: var(--oro); }
.reviews { display: grid; gap: 56px; }
.review { margin: 0; max-width: 40ch; }
.review:nth-child(2) { justify-self: end; }
.review blockquote {
  margin: 0 0 18px;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(24px, 3vw, 38px); line-height: 1.2;
}
.review blockquote::before { content: "“"; color: var(--oro); }
.review blockquote::after { content: "”"; color: var(--oro); }
.review figcaption { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--fumo); }

/* ---------- Gran finale ---------- */
.finale { background: var(--bianco); color: var(--ink); }
.finale .act__num { color: var(--magenta); }
.finale__title { font-size: clamp(50px, 11vw, 168px); color: var(--magenta); }
.finale__title em { color: var(--ink); }
.finale__row { display: grid; gap: 40px; margin-top: 48px; }
.finale .lead { color: var(--petrolio); }
.contacts { display: grid; gap: 0; }
.contact {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  padding: 18px 0; border-top: 1px solid #ddd;
}
.contact:last-child { border-bottom: 1px solid #ddd; }
.contact__who { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; }
.contact__who small { display: block; font-family: var(--font-text); font-size: 14px; color: #555; margin-top: 4px; }
.contact__links { display: flex; gap: 8px; }
.contact__links a {
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; padding: 10px 12px; border: 1px solid var(--ink);
  transition: background .3s, color .3s;
}
.contact__links a:hover { background: var(--magenta); border-color: var(--magenta); color: var(--bianco); }
.finale .btn { --btn-fill: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding: 56px var(--gutter) 110px; border-top: 1px solid var(--linea); }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 36px; }
.footer__logo { display: inline-block; justify-self: start; }
.footer__logo img { height: 64px; width: auto; }
.footer h2 { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--oro); margin: 0 0 12px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--oro); }
.footer__legal { font-size: 13px; color: var(--fumo); border-top: 1px solid var(--linea); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ==========================================================================
   WhatsApp fisso + scelta della socia
   ========================================================================== */
.wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 70;
}
.wa__btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--magenta); border: 2px solid var(--bianco);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.wa__btn svg { width: 28px; height: 28px; }
.wa__menu {
  position: absolute; right: 0; bottom: 70px; width: 250px;
  background: var(--bianco); color: var(--ink);
  padding: 8px 0;
  transform-origin: 100% 100%;
  transform: scale(.9); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease-out), opacity .25s, visibility 0s .3s;
}
.wa.is-open .wa__menu { transform: none; opacity: 1; visibility: visible; transition: transform .3s var(--ease-out), opacity .25s; }
.wa__menu p { margin: 6px 16px 8px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #555; }
.wa__menu a { display: block; padding: 10px 16px; text-decoration: none; font-weight: 600; }
.wa__menu a small { display: block; font-weight: 400; color: #555; font-size: 13px; }
.wa__menu a:hover { background: #f5eef7; color: var(--magenta); }

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95;
  background: var(--bianco); color: var(--ink);
  padding: 18px 18px 16px; max-width: 460px;
  border-top: 4px solid var(--magenta);
  font-size: 14px;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 12px; }
.cookie a { color: var(--magenta); }
.cookie__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie__btns button {
  padding: 10px 16px; border: 1px solid var(--ink); background: none; cursor: pointer;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.cookie__btns button.primary { background: var(--ink); color: var(--bianco); }

/* ==========================================================================
   Coreografia allo scroll
   ========================================================================== */
.js [data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="curtain"] {
  opacity: 1; transform: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.3s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* ==========================================================================
   Breakpoint
   ========================================================================== */
@media (min-width: 720px) {
  .tableau { flex-basis: 44vw; }
  .tableau:nth-child(odd) { flex-basis: 52vw; }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); padding-bottom: 80px; }
  .gallery__grid .frame:nth-child(even) { transform: none; }
  .gallery__grid .frame:nth-child(4n+2), .gallery__grid .frame:nth-child(4n+4) { transform: translateY(80px); }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer__legal { grid-column: 1 / -1; }
  .cookie { left: 16px; right: auto; bottom: 16px; }
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  .header__logo { --logo-h: 46px; }
  .header__cta { display: inline-flex; padding: 12px 20px; font-size: 12px; }
  .hero__body { padding-bottom: 56px; }
  .act__head { grid-template-columns: 220px 1fr; align-items: end; }
  .about__grid { grid-template-columns: 5fr 6fr; align-items: start; gap: 80px; }
  .about__grid > :first-child { position: sticky; top: calc(var(--header-h) + 40px); }
  .founders { margin-top: 0; }
  .tableau { flex-basis: 30vw; min-height: 640px; }
  .tableau:nth-child(odd) { flex-basis: 38vw; }
  .tableau:nth-child(3n) { flex-basis: 26vw; }
  .why__grid { grid-template-columns: 4fr 8fr; gap: 64px; }
  .why__intro { position: sticky; top: calc(var(--header-h) + 60px); align-self: start; }
  .atelier__grid { grid-template-columns: 6fr 5fr; gap: 96px; align-items: center; }
  .reviews { grid-template-columns: repeat(12, 1fr); gap: 40px; }
  .review:nth-child(1) { grid-column: 1 / 7; }
  .review:nth-child(2) { grid-column: 6 / 12; justify-self: start; margin-top: 140px; }
  .review:nth-child(3) { grid-column: 2 / 8; margin-top: 20px; }
  .finale__row { grid-template-columns: 5fr 6fr; gap: 96px; }
  .wa { display: none; }   /* fisso solo su mobile */
  .footer { padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="curtain"], .js .hero__title .line > span { opacity: 1; transform: none; clip-path: none; }
  .virtue { opacity: 1; }
}

/* Titoli nelle colonne strette */
@media (min-width: 1024px) {
  .why__intro .act__title { font-size: clamp(46px, 6vw, 96px); }
}

/* Le colonne delle griglie possono restringersi sotto il loro contenuto minimo */
.about__grid > *, .why__grid > *, .atelier__grid > *, .finale__row > *,
.founders > *, .footer__inner > * { min-width: 0; }
html { overflow-x: clip; }
.contact__who small, .footer a, .programme__foot a { overflow-wrap: anywhere; }
.founder p.founder__role {
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--magenta); margin: 0 0 8px;
}
.founder p { line-height: 1.5; }
.atelier__lead { margin: 24px 0 0; max-width: 40ch; font-size: 17px; }
.founder { margin: 0; }
.hero__claim { color: var(--oro); }

/* ==========================================================================
   Pagine interne
   ========================================================================== */
.programme ol a[aria-current="page"] span:last-child { font-style: italic; }
.programme ol a[aria-current="page"] span:first-child::after { content: " ●"; color: var(--oro); }

.page-hero {
  min-height: 92svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 64px) var(--gutter) clamp(48px, 7vw, 96px);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; width: 90vmax; height: 90vmax; right: -40vmax; top: -45vmax;
  background: radial-gradient(circle, rgba(186,28,95,.55), transparent 62%);
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: var(--max); margin: 0 auto; width: 100%; }
.page-hero__title { font-size: clamp(60px, 15vw, 220px); margin-top: 16px; }
.page-hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.page-hero__title .line > span { display: inline-block; }
.page-hero__title .indent { padding-left: 10vw; }
.page-hero__title em { color: var(--oro); }
.js .page-hero__title .line > span { transform: translateY(105%); transition: transform 1.2s var(--ease-out); }
.js .is-ready .page-hero__title .line > span { transform: none; }
.js .is-ready .page-hero__title .line:nth-child(2) > span { transition-delay: .14s; }
.page-hero__foot { display: grid; gap: 32px; margin-top: 40px; align-items: end; }
.since {
  margin: 0; font-family: var(--font-display); line-height: .8;
  font-size: clamp(88px, 16vw, 200px);
  color: transparent; -webkit-text-stroke: 1px var(--oro);
}
.since span {
  display: block; font-family: var(--font-text); font-size: 12px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--oro); -webkit-text-stroke: 0; margin-bottom: 14px; line-height: 1;
}

/* Storia */
.story { background: var(--bianco); color: var(--ink); }
.story .act__num { color: var(--magenta); }
.story__grid { display: grid; gap: 48px; }
.story__media .ph, .story__media .frame { aspect-ratio: 4 / 5; }
.story__title { font-size: clamp(44px, 7vw, 104px); color: var(--magenta); margin-bottom: 32px; }
.story__copy p { max-width: 50ch; }
.audiences { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.audiences li {
  border: 1px solid var(--petrolio); color: var(--petrolio);
  padding: 8px 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em;
}

/* Le figure */
.person { display: grid; gap: 32px; margin-bottom: clamp(72px, 10vw, 160px); }
.person:last-child { margin-bottom: 0; }
.person__media .ph { aspect-ratio: 4 / 5; }
.person__n { font-family: var(--font-display); font-style: italic; color: var(--oro); font-size: 22px; margin: 0 0 8px; }
.person__name { font-size: clamp(52px, 8vw, 120px); margin-bottom: 18px; }
.person__name em { color: var(--magenta); }
.person--reverse .person__name em { color: var(--viola); }
.person__role {
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--oro); margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--linea);
}
.person__lead { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; }
.person__body p:not(.person__lead):not(.person__role):not(.person__n) { color: var(--fumo); max-width: 52ch; }
.person .link-line { display: inline-block; margin-top: 12px; }

/* Valori */
.values { padding-top: clamp(48px, 8vw, 120px); }
.values__list { list-style: none; margin: 0; padding: 0; }
.values__list li {
  font-family: var(--font-display); font-size: clamp(46px, 10vw, 150px); line-height: 1.02;
  border-bottom: 1px solid var(--linea); padding: 8px 0 14px;
}
.values__list li:nth-child(even) { text-align: right; }
.values__list em { color: var(--oro); }
.values__note { margin-top: 28px; color: var(--fumo); }

/* Metodo */
.method { background: var(--petrolio); }
.method .act__num { color: var(--bianco); }
.method__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.method__steps li { border-top: 1px solid rgba(255,255,255,.4); padding: 24px 0 28px; }
.method__n { font-family: var(--font-display); font-style: italic; font-size: 44px; line-height: 1; color: var(--bianco); opacity: .8; }
.method__steps h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3vw, 42px); margin: 10px 0 8px; }
.method__steps p { margin: 0; max-width: 32ch; }

/* Il segno */
.sign__grid { display: grid; gap: 48px; align-items: center; }
.sign__plate { background: none; padding: clamp(8px, 3vw, 40px) 0; }
.sign__plate img { width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.sign__title { font-size: clamp(40px, 6vw, 88px); margin-bottom: 24px; }
.sign__title em { color: var(--viola); }
.sign p { max-width: 46ch; color: var(--fumo); }

/* Missione */
.mission { background: var(--magenta); }
.mission .act__num { color: var(--bianco); }
.mission__quote { font-size: clamp(34px, 5.6vw, 84px); line-height: 1.04; max-width: 20ch; }
.mission__text { margin-top: 40px; max-width: 46ch; font-size: clamp(18px, 1.8vw, 21px); margin-left: auto; }

@media (min-width: 720px) {
  .method__steps { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
}
@media (min-width: 1024px) {
  .page-hero__foot { grid-template-columns: 1fr auto; }
  .story__grid { grid-template-columns: 5fr 6fr; gap: 96px; align-items: center; }
  .person { grid-template-columns: 5fr 6fr; gap: 96px; align-items: center; }
  .person--reverse .person__media { order: 2; }
  .method__steps { grid-template-columns: repeat(4, 1fr); }
  .sign__grid { grid-template-columns: 1fr 1fr; gap: 96px; }
}
.story__grid > *, .person > *, .sign__grid > * { min-width: 0; }
/* Sulle sezioni magenta il pulsante dell'header diventa bianco */
.header.is-magenta .header__cta { background: var(--bianco); color: var(--magenta); border-color: var(--bianco); }
.header { transition: transform .5s var(--ease); }
.header.is-hidden { transform: translateY(-100%); }
.header:focus-within { transform: none; }

/* Sfumatura dietro l'header: prende il colore della sezione sottostante
   così i testi della pagina svaniscono prima di toccare logo e Scaletta */
.header { --hdr: 0, 0, 0; }
.header.is-light { --hdr: 255, 255, 255; }
.header.is-magenta { --hdr: 186, 28, 95; }
.header::before {
  content: ""; position: absolute; z-index: -1;
  left: 0; right: 0; top: 0; height: calc(100% + 56px);
  background: linear-gradient(180deg,
    rgba(var(--hdr), 1) 0%,
    rgba(var(--hdr), 1) 58%,
    rgba(var(--hdr), .6) 78%,
    rgba(var(--hdr), 0) 100%);
  pointer-events: none;
  opacity: 0; transition: opacity .4s;
}
.header.is-scrolled::before { opacity: 1; }
.menu-open .header::before { opacity: 0; }

/* ---------- Foto ---------- */
.frame { position: relative; display: block; overflow: hidden; background: #141414; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
a.frame:hover img, button.frame:hover img { transform: scale(1.04); }
.tableau .frame { flex: 1 1 auto; min-height: 260px; transition: flex-basis .6s var(--ease); }
.tableau .frame img { position: absolute; inset: 0; }
.tableau:hover .frame img { transform: scale(1.04); }
.gallery__grid { padding-bottom: 40px; }

/* ==========================================================================
   Galleria
   ========================================================================== */
.page-hero--short { min-height: 70svh; }
.reel { padding-top: 0; }
.reel__ph { aspect-ratio: 16 / 9; --ph-bg: #0d0b07; border-top: 3px solid var(--magenta); }
.shots { padding-top: 0; }
.shots__bar {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--linea);
}
.shots__title { font-size: clamp(40px, 6vw, 84px); }
.shots__title em { color: var(--oro); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  background: none; border: 1px solid var(--linea); cursor: pointer;
  padding: 10px 16px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  transition: background .3s, border-color .3s, color .3s;
}
.filter sup { color: var(--oro); font-size: 10px; margin-left: 2px; }
.filter:hover { border-color: var(--bianco); }
.filter[aria-pressed="true"] { background: var(--magenta); border-color: var(--magenta); }
.filter[aria-pressed="true"] sup { color: var(--bianco); }
.shots__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr);
}
.shot[hidden] { display: none; }
.shot__btn { width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; cursor: zoom-in; }
.shot__cap { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--fumo); }
.shots__credit { margin-top: 40px; font-size: 13px; color: var(--fumo); }
@media (min-width: 720px) { .shots__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) {
  .shots__grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  /* ritmo irregolare: ogni tanto una foto più grande */
  .shot:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
  .shot:nth-child(7n+1) .shot__btn { height: 100%; aspect-ratio: auto; }
}

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 56px 12px 72px; border: 0;
  background: rgba(0,0,0,.95); color: var(--bianco);
}
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__cap { margin: 12px 0 0; font-size: 13px; color: var(--fumo); text-align: center; max-width: 60ch; }
.lightbox__btn {
  position: absolute; background: none; border: 1px solid rgba(255,255,255,.4); color: var(--bianco);
  cursor: pointer; padding: 10px 16px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
}
.lightbox__btn:hover { background: var(--magenta); border-color: var(--magenta); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { bottom: 16px; left: 12px; }
.lightbox__next { bottom: 16px; right: 12px; }
@media (min-width: 1024px) {
  .lightbox__prev, .lightbox__next { bottom: auto; top: 50%; transform: translateY(-50%); }
  .lightbox__prev { left: 24px; } .lightbox__next { right: 24px; }
}

/* Showreel verticale */
.reel { padding-top: 0; }
.reel__grid { display: grid; gap: 40px; align-items: center; }
/* Palco del video: sfondo sfocato dello stesso video + video verticale con bordi sfumati.
   --rp (da -1 a 1) arriva da galleria.js e segue la posizione della sezione nello schermo */
.reel__stage {
  --rp: 0;
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; max-height: 86vh; width: 100%;
  display: grid; place-items: center;
  background: #050505;
}
.reel__ambient {
  position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover;
  filter: blur(38px) saturate(1.3) brightness(.55);
  transform: scale(calc(1.15 + .08 * var(--rp)));
  pointer-events: none;
}
.reel__stage::after {   /* vignetta: il fondo sfuma nel nero della pagina */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 50%, transparent 40%, rgba(0,0,0,.85) 100%);
}
.reel__screen {
  position: absolute; z-index: 1; left: 50%; top: 6%;
  height: 88%; width: auto; aspect-ratio: 464 / 848;
  transform: translateX(-50%) translateY(calc(var(--rp) * -24px)) scale(calc(1 - .1 * var(--rp) * var(--rp)));
  will-change: transform;
}
.reel__video {
  width: 100%; height: 100%; object-fit: cover; display: block; background: #000;
  /* bordi sfumati nello sfondo */
  -webkit-mask: radial-gradient(120% 100% at 50% 50%, #000 62%, transparent 100%);
          mask: radial-gradient(120% 100% at 50% 50%, #000 62%, transparent 100%);
}
.reel__sound {
  position: absolute; right: 12px; bottom: 16px; z-index: 2; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bianco); cursor: pointer;
  transition: background .3s, border-color .3s;
}
.reel__sound:hover { border-color: var(--bianco); }
.reel__sound[aria-pressed="true"] { background: var(--magenta); border-color: var(--magenta); }
.reel__sound-ico { width: 14px; height: 12px; position: relative; }
.reel__sound-ico::before {   /* altoparlante */
  content: ""; position: absolute; left: 0; top: 3px; width: 5px; height: 6px; background: currentColor;
  clip-path: polygon(0 20%, 40% 20%, 100% -40%, 100% 140%, 40% 80%, 0 80%);
}
.reel__sound-ico::after {    /* barra "muto" che sparisce quando l'audio è attivo */
  content: ""; position: absolute; left: 7px; top: 5px; width: 7px; height: 1.5px; background: currentColor; transform: rotate(-45deg);
}
.reel__sound[aria-pressed="true"] .reel__sound-ico::after { width: 5px; height: 8px; top: 2px; left: 8px; background: none; border: 1.5px solid currentColor; border-left: 0; border-radius: 0 8px 8px 0; transform: none; }
.reel__title { font-size: clamp(48px, 6vw, 96px); margin-bottom: 24px; }
.reel__title em { color: var(--oro); }
.reel__copy p { max-width: 42ch; color: var(--fumo); }
.reel__note { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--oro) !important; }
@media (min-width: 1024px) {
  .reel__grid { grid-template-columns: 6fr 5fr; gap: 80px; }
}

/* Ritratti */
.founder .frame, .person__media .frame { aspect-ratio: 4 / 5; }
.portrait img { object-position: 50% 15%; }
.portrait--a img { object-position: 50% 30%; }
/* Foto matrimonio: molto cielo in alto, inquadro più in basso */
.shot[data-cat="matrimoni"] img, img[src*="matrimoni-sm"] { object-position: 50% 62%; }
.tableau .frame img.img-center { object-position: 50% 55%; }

/* ==========================================================================
   Richiedi il tuo show
   ========================================================================== */
.page-hero--request::before { background: radial-gradient(circle, rgba(200,169,106,.35), transparent 62%); }

.request { background: var(--bianco); color: var(--ink); padding: clamp(56px, 8vw, 120px) var(--gutter); }
.request__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; }
.request__inner > * { min-width: 0; }
.request__title { font-size: clamp(40px, 6vw, 84px); color: var(--magenta); margin-bottom: 28px; }
.request__title em { color: var(--ink); }
.request__note { font-size: 14px; color: #555; max-width: 32ch; margin-top: 28px; }

.steps-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; }
.steps-nav li {
  flex: 1 0 auto; padding: 10px 12px; border-top: 3px solid #ddd;
  font-size: 13px; color: #777; cursor: pointer; white-space: nowrap;
  transition: border-color .3s, color .3s;
}
.steps-nav li span { display: block; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 2px; }
.steps-nav li.is-done { border-color: var(--oro); color: var(--ink); }
.steps-nav li.is-current { border-color: var(--magenta); color: var(--magenta); font-weight: 600; }
.no-js .steps-nav { display: none; }

.rform { min-width: 0; }
.rstep { border: 0; margin: 0 0 32px; padding: 0; min-width: 0; }
.rstep__legend {
  font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1;
  margin: 0 0 28px; padding: 0;
}
.rstep__legend span {
  display: block; font-family: var(--font-text); font-size: 11px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--magenta); margin-bottom: 10px;
}
.rstep__error { color: var(--magenta); font-weight: 600; font-size: 14px; min-height: 1.4em; margin: 16px 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 14px 20px; border: 1px solid #cfcfcf;
  font-family: var(--font-display); font-size: clamp(19px, 2vw, 24px); line-height: 1;
  transition: background .3s, border-color .3s, color .3s;
}
.chips--small .chip span { font-family: var(--font-text); font-size: 15px; padding: 11px 16px; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--magenta); border-color: var(--magenta); color: var(--bianco); }
.chip input:focus-visible + span { outline: 2px solid var(--oro); outline-offset: 2px; }

.rfield__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #444; margin: 0 0 10px; }
.rfield__label small { text-transform: none; letter-spacing: 0; font-weight: 400; color: #777; }
.rgrid { display: grid; gap: 24px; }
.rfield { display: block; }
.rfield input, .rfield select, .rfield textarea {
  width: 100%; font: inherit; font-size: 18px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid #bbb; border-radius: 0;
  padding: 10px 0; appearance: none; -webkit-appearance: none;
}
.rfield select { background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 6px center / 7px 7px no-repeat; padding-right: 24px; }
.rfield textarea { resize: vertical; border: 1px solid #bbb; padding: 12px; }
.rfield input:focus, .rfield select:focus, .rfield textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 1px 0 var(--magenta); }
.rfield input:disabled { opacity: .4; }
.rcheck { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; align-self: end; }
.rcheck input { width: 20px; height: 20px; accent-color: var(--magenta); margin: 2px 0 0; flex: none; }
.rcheck--privacy { margin-top: 28px; font-size: 14px; color: #444; }
.rcheck a { color: var(--magenta); }

.rnav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid #ddd; padding-top: 24px; }
.rnav__count { margin-left: auto; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #777; }
.no-js .rnav__count, .no-js #r-next { display: none; }
.no-js #r-submit { display: inline-flex !important; }
.link-back { background: none; border: 0; padding: 8px 0; cursor: pointer; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.link-back:hover { color: var(--magenta); }
.btn--ink { background: var(--ink); color: var(--bianco); border-color: var(--ink); --btn-fill: var(--magenta); --btn-ink: var(--bianco); }

.rdone:focus { outline: none; }
.rdone__summary {
  white-space: pre-wrap; font: 15px/1.6 var(--font-text); background: #f6f1f3;
  border-left: 3px solid var(--magenta); padding: 20px 22px; margin: 0 0 20px;
}
.rdone__hint { font-size: 14px; color: #555; }
.rdone__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 16px; }

/* Contatti diretti */
.direct__grid { display: grid; gap: 40px; }
.direct__grid > * { min-width: 0; }
.dcard { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; }
.dcard__img { width: 120px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.dcard__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; margin: 0 0 8px; }
.dcard__role { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--oro); margin-bottom: 12px; }
.dcard__why { color: var(--fumo); font-size: 15px; margin-bottom: 8px; }
.dcard__tel a { text-decoration: none; font-size: 18px; }
.dcard__links { display: flex; gap: 8px; margin-top: 10px; }
.dcard__links a {
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 10px 14px; border: 1px solid var(--linea); transition: background .3s, border-color .3s;
}
.dcard__links a:hover { background: var(--magenta); border-color: var(--magenta); }
.dlist p { margin: 0 0 20px; font-size: 16px; }
.dlist a { text-decoration: none; overflow-wrap: anywhere; }
.dlist a:hover { color: var(--oro); }
.dlist__label { font-size: 11px !important; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--oro); margin-bottom: 6px !important; }

/* Zona servita */
.tour { background: var(--petrolio); }
.tour .act__num { color: var(--bianco); }
.tour__grid { display: grid; gap: 48px; align-items: center; }
.tour__grid > * { min-width: 0; }
.tour__text { max-width: 44ch; margin-top: 24px; }
.tour__list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.tour__list li { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); }
.tour__list li.is-home { color: var(--oro); font-style: italic; }
.tour__list li:not(:last-child)::after { content: " ·"; color: rgba(255,255,255,.5); }
.tour__map { aspect-ratio: 4 / 3; background: rgba(0,0,0,.25); }
.tour__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.tour__ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; }
.tour__ph p { font-family: var(--font-display); font-size: 26px; margin: 0; }
.tour__ph small { font-size: 12px; opacity: .75; }

@media (min-width: 720px) {
  .rgrid { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .rfield--wide { grid-column: 1 / -1; }
  .dcard { grid-template-columns: 150px 1fr; }
  .dcard__img { width: 150px; }
}
@media (min-width: 1024px) {
  .request__inner { grid-template-columns: 4fr 8fr; gap: 96px; }
  .request__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  .steps-nav { flex-direction: column; gap: 0; }
  .steps-nav li { border-top: 0; border-left: 3px solid #ddd; padding: 12px 16px; }
  .direct__grid { grid-template-columns: 1fr 1fr 0.8fr; gap: 48px; }
  .dcard { grid-template-columns: 1fr; }
  .dcard__img { width: 100%; max-width: 260px; }
  .tour__grid { grid-template-columns: 1fr 1fr; gap: 96px; }
}
.rstep__legend .rdone__title { display: inline; margin: 0; font: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.rdone__status { font-size: 16px; padding: 14px 18px; border: 1px solid #ddd; margin: 0 0 20px; }
.rdone__status.is-ok { border-color: var(--petrolio); color: var(--petrolio); background: rgba(0,128,128,.06); font-weight: 600; }
.rdone__status.is-error { border-color: var(--magenta); color: var(--magenta); background: rgba(186,28,95,.05); }

/* Repertorio: la locandina degli eventi */
.bill { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(200,169,106,.35); }
.bill__row {
  display: grid; grid-template-columns: 1fr 72px; gap: 8px 16px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid rgba(200,169,106,.35);
}
.bill__year { grid-column: 1 / -1; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--oro); }
.bill__t { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 4.6vw, 64px); line-height: 1; margin: 0 0 10px; }
.bill__t em { color: var(--oro); font-size: .55em; }
.bill__body p { margin: 0; color: var(--fumo); max-width: 52ch; font-size: 16px; }
.bill__img { width: 72px; aspect-ratio: 4 / 5; height: auto; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.bill__row:hover .bill__img { filter: none; }
.bill__foot { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; margin-top: 32px; color: var(--fumo); }
.bill__foot p { margin: 0; }
.bill__since { font-family: var(--font-display); font-style: italic; font-size: 24px; color: var(--bianco); }
@media (min-width: 1024px) {
  .bill__row { grid-template-columns: 140px 1fr 120px; gap: 40px; padding: 32px 0; }
  .bill__year { grid-column: auto; font-family: var(--font-display); font-size: 44px; letter-spacing: 0; text-transform: none; font-weight: 400; font-style: italic; }
  .bill__img { width: 120px; }
}

/* Durante il prologo l'header resta fuori scena */
.header { transition: transform .5s var(--ease), opacity .5s, visibility 0s; }
.intro-active .header {
  opacity: 0; visibility: hidden; transform: translateY(-24px);
  transition: transform .4s var(--ease), opacity .3s, visibility 0s .4s;
}
.intro-active .wa { opacity: 0; visibility: hidden; }
.wa { transition: opacity .4s, visibility 0s; }

/* Quadri dei format: stessa altezza per tutti, foto tutte uguali, testo allineato in alto */
.formats__track { align-items: stretch; }
.tableau .ph, .tableau .frame {
  flex: 0 0 auto; height: clamp(260px, 46vh, 420px); min-height: 0;
}
.tableau__body { flex: 1 1 auto; align-content: start; }
.tableau__go { align-self: end; margin-top: 10px; }

/* WhatsApp fisso: nascosto nella prima schermata, entra dalla seconda sezione */
.wa { opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .4s, transform .4s var(--ease-out), visibility 0s .4s; }
.wa-visible .wa { opacity: 1; visibility: visible; transform: none; transition: opacity .4s, transform .4s var(--ease-out), visibility 0s; }

/* Profondità allo scroll (--hp da 0 a 1 mentre si lascia la prima schermata):
   la foto scende più lenta e si ingrandisce, i testi salgono e sfumano, tutto si scurisce */
.hero__img { transform: translate3d(0, calc(var(--hp, 0) * 28%), 0) scale(calc(1 + var(--hp, 0) * .1)); will-change: transform; }
.hero__body { transform: translate3d(0, calc(var(--hp, 0) * -90px), 0); opacity: calc(1 - var(--hp, 0) * 1.6); will-change: transform, opacity; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; background: #000;
  opacity: calc(var(--hp, 0) * .6); pointer-events: none;
}

/* ==========================================================================
   Entrata in scena della prima schermata della Home (a ogni apertura)
   ========================================================================== */
@keyframes in-fade   { from { opacity: 0; } to { opacity: 1; } }
@keyframes in-rise   { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes in-drop   { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: none; } }
@keyframes in-line   { from { transform: translateY(105%); } to { transform: none; } }
@keyframes in-photo  { from { opacity: 0; transform: scale(1.14); } to { opacity: 1; transform: none; } }
@keyframes in-stroke { from { transform: scaleX(0); } to { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* prima che parta lo spettacolo gli elementi restano nascosti */
  .js body:has(#intro) .header__logo,
  .js body:has(#intro) .header__actions > *,
  .js .hero__media,
  .js .hero__claim,
  .js .hero__payoff,
  .js .hero__ctas > *,
  .js .playbill a { opacity: 0; }
  .js .hero__title .line > span { transform: translateY(105%); }

  .js .is-ready .hero__media { animation: in-photo 1.8s cubic-bezier(.2,.7,.2,1) both; }
  .js body.is-ready:has(#intro) .header__logo { animation: in-drop .9s .3s var(--ease-out) both; }
  .js body.is-ready:has(#intro) .header__actions > * { animation: in-drop .9s var(--ease-out) both; }
  .js body.is-ready:has(#intro) .header__actions > :nth-child(1) { animation-delay: .4s; }
  .js body.is-ready:has(#intro) .header__actions > :nth-child(2) { animation-delay: .5s; }
  .js .is-ready .hero__claim { animation: in-fade .8s .5s ease-out both; }
  .js .is-ready .hero__claim::before { transform-origin: 0 50%; animation: in-stroke .9s .55s var(--ease) both; }
  .js .is-ready .hero__title .line > span { animation: in-line 1.1s .6s var(--ease-out) both; }
  .js .is-ready .hero__title .line:nth-child(2) > span { animation-delay: .72s; }
  .js .is-ready .hero__title .line:nth-child(3) > span { animation-delay: .84s; }
  .js .is-ready .hero__payoff { animation: in-rise .9s 1.1s var(--ease-out) both; }
  .js .is-ready .hero__ctas > * { animation: in-rise .9s 1.25s var(--ease-out) both; }
  .js .is-ready .hero__ctas > :nth-child(2) { animation-delay: 1.35s; }
  .js .is-ready .playbill a { animation: in-rise .8s var(--ease-out) both; }
  .js .is-ready .playbill a:nth-child(1) { animation-delay: 1.4s; }
  .js .is-ready .playbill a:nth-child(2) { animation-delay: 1.48s; }
  .js .is-ready .playbill a:nth-child(3) { animation-delay: 1.56s; }
  .js .is-ready .playbill a:nth-child(4) { animation-delay: 1.64s; }
  .js .is-ready .playbill a:nth-child(5) { animation-delay: 1.72s; }
}

/* Telefono: link sotto la galleria allineato a sinistra, più piccolo e più vicino alle foto */
@media (max-width: 719px) {
  .gallery__grid { padding-bottom: 40px; }
  .gallery__foot { justify-content: flex-start; margin-top: 16px; }
  .gallery__foot .link-line { font-size: 12px; letter-spacing: .12em; }
  .gallery { padding-bottom: 72px; }
}

/* Atto II del form: schede per il tipo di spettacolo */
.choices { display: grid; gap: 10px; margin-bottom: 28px; }
.choice {
  position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px;
  padding: 16px 18px; border: 1px solid #cfcfcf; cursor: pointer;
  transition: border-color .3s, background .3s, color .3s;
}
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__n { grid-row: span 2; font-family: var(--font-display); font-style: italic; font-size: 26px; line-height: 1; color: var(--oro); padding-top: 2px; }
.choice b { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.1; }
.choice small { font-size: 14px; color: #666; line-height: 1.45; }
.choice:hover { border-color: var(--ink); }
.choice:has(input:checked) { background: var(--magenta); border-color: var(--magenta); color: var(--bianco); }
.choice:has(input:checked) small { color: rgba(255,255,255,.85); }
.choice:has(input:checked) .choice__n { color: var(--bianco); }
.choice:has(input:focus-visible) { outline: 2px solid var(--oro); outline-offset: 2px; }
.rfield--inline { margin: -12px 0 28px; max-width: 420px; }
.rfield--theme { margin-bottom: 14px; }
@media (min-width: 720px) { .choices { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Privacy & cookie
   ========================================================================== */
.legal { background: var(--bianco); color: var(--ink); padding: clamp(56px, 8vw, 120px) var(--gutter); }
.legal__inner { max-width: 1100px; margin: 0 auto; display: grid; gap: 40px; }
.legal__inner > * { min-width: 0; }
.legal__toc-t { font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--magenta); margin-bottom: 12px; }
.legal__toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.legal__toc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid #ddd; }
.legal__toc a:hover { color: var(--magenta); border-color: var(--magenta); }
.legal__date { font-size: 13px; color: #777; margin-top: 20px; }
.legal__body { max-width: 68ch; font-size: 16px; line-height: 1.7; }
.legal__intro { font-size: 18px; color: var(--petrolio); }
.legal__body h2 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3vw, 36px); line-height: 1.15;
  margin: 48px 0 16px; padding-top: 20px; border-top: 1px solid #e6e6e6; scroll-margin-top: calc(var(--header-h) + 20px);
}
.legal__body h2 span { font-style: italic; color: var(--oro); margin-right: 10px; }
.legal__body ul { padding-left: 20px; margin: 0 0 1em; }
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: var(--magenta); }
.legal__table { border: 1px solid #e3e3e3; margin: 16px 0 20px; font-size: 14px; }
.legal__row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 12px 14px; border-top: 1px solid #eee; }
.legal__row--head { display: none; }
.legal__row span:first-child { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--magenta); }
@media (min-width: 720px) {
  .legal__row { grid-template-columns: 130px 1fr 170px; gap: 16px; }
  .legal__row--head { display: grid; background: #f6f1f3; border-top: 0; font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
  .legal__row--head span:first-child { font-family: inherit; font-size: inherit; color: inherit; }
}
@media (min-width: 1024px) {
  .legal__inner { grid-template-columns: 240px 1fr; gap: 80px; }
  .legal__toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* "Perché noi": le parole giganti restano sempre dentro lo schermo */
.virtue__w { font-size: clamp(30px, 8vw, 104px); }
.virtue:nth-child(even) .virtue__w { padding-left: 5vw; }
@media (min-width: 1024px) {
  .virtue__w { font-size: min(6vw, 104px); }
  .virtue:nth-child(even) .virtue__w { padding-left: 3vw; }
}
