/* Proposte della prima schermata (03/12/2026): un video a tutto schermo, in loop avanti e indietro, col testo sopra.
   Usato solo da proposta-1.html, proposta-2.html e proposta-3.html. */
.prima { grid-template-columns: minmax(0, 1fr); overflow: hidden; background: #000; }
.prima__fondo { position: absolute; inset: 0; z-index: 0; }
.prima__fondo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.prima__fondo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 32%, rgba(0, 0, 0, 0.08) 64%, rgba(0, 0, 0, 0) 100%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 74%, rgba(7, 8, 15, 0.9) 100%); }
.prima .apertura__testo { max-width: 46rem; }
.prima .apertura__sopra, .prima .apertura__sotto { color: rgba(239, 232, 216, 0.9); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.8); }
.prima .gigante { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6); }
.prima__luogo { position: absolute; right: var(--bordo); bottom: clamp(26px, 5vh, 46px); z-index: 2; margin: 0; font-family: var(--stretto); font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--avorio); text-shadow: 0 1px 8px #000; }
.prima__luogo::before { content: ""; display: inline-block; width: 22px; height: 1px; margin-right: 0.8em; background: var(--oro); vertical-align: 0.3em; }
/* proposta 2: testo al centro, il cielo tutto intorno */
.prima--centro { justify-items: center; text-align: center; }
.prima--centro .apertura__testo { max-width: 52rem; }
.prima--centro .apertura__sotto { margin-left: auto; margin-right: auto; }
.prima--centro .apertura__bottoni { justify-content: center; }
.prima--centro .prima__fondo::after { background: radial-gradient(60% 55% at 50% 52%, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.12) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 74%, rgba(7, 8, 15, 0.9) 100%); }
/* proposta 3: i ventagli stanno in basso, il testo sta piu' in alto nel buio */
.prima--basso { align-items: start; padding-top: clamp(150px, 21vh, 210px); }
.prima--basso .prima__fondo video { object-position: 50% 100%; }
.prima--basso .prima__fondo::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.35) 46%, rgba(0, 0, 0, 0) 70%, rgba(7, 8, 15, 0.55) 100%); }
/* proposta 5: il telefono di oggi a destra, sopra il video a tutto schermo (il video e' quello che il telefono comanda) */
.prima--telefono { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
.prima--telefono .apertura__scena { z-index: 2; --l: clamp(236px, 19vw, 280px); min-height: calc(var(--l) * 2.2); padding: 0; display: grid; place-items: center; }
.prima--telefono .telefono { position: relative; left: auto; bottom: auto; rotate: 5deg; box-shadow: inset 0 0 0 1px rgba(239, 232, 216, 0.3), 0 50px 110px -10px rgba(0, 0, 0, 0.9), 0 0 90px rgba(241, 208, 140, 0.18); }
.prima__nascosto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 899px) {
  .prima--telefono { grid-template-columns: minmax(0, 1fr); }
  .prima--telefono .apertura__scena { --l: clamp(220px, 62vw, 280px); }
  .prima--telefono .telefono { margin: 0 auto; }
}
@media (max-width: 899px) {
  .prima { min-height: 100svh; padding-top: 128px; align-content: start; }
  .prima__fondo { bottom: auto; height: 62svh; }
  .prima__fondo::after, .prima--centro .prima__fondo::after, .prima--basso .prima__fondo::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.75) 80%, #000 100%); }
  .prima .apertura__testo { padding-top: 33svh; }
  .prima--centro { text-align: left; justify-items: stretch; }
  .prima__luogo { top: 104px; bottom: auto; font-size: 0.7rem; }
}
