/* Studio Tossani — laboratorio Fase 2 / concept ambientazione cyberpunk.
   Intervento VISIVO reversibile: zero modifiche alla logica R12 o al ticker R46.
   Sfondo generato appositamente, senza marchi o filigrane di terzi. */
html, body { background:#07111f; }
.experience { background: #07111f; }
.experience::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image: url("assets/intro-fase2-citta-neon-r07-live.png");
  background-size:cover;
  background-position: center center;
  background-repeat:no-repeat;
  filter:brightness(.83) saturate(.87);
}
/* Contorni e contrasto per la tuta e i robot, senza coprire l'insegna. */
.experience::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(to bottom,rgba(4,10,22,.12),transparent 32%,transparent 58%,rgba(3,12,25,.31)),
    linear-gradient(to right,rgba(6,9,24,.16),transparent 34%,transparent 65%,rgba(5,10,24,.10));
}
.experience__grain {
  background:radial-gradient(ellipse at 50% 40%,rgba(8,22,40,.03),transparent 68%);
}
.experience__signature {
  opacity:.95;
  text-shadow:0 1px 12px rgba(0,0,0,.85),0 2px 3px rgba(0,0,0,.4);
}
.experience__ticker {
  color: #f7f4ff;
  background:linear-gradient(0deg,rgba(5,17,34,.85),rgba(12,23,42,.70));
  border-top:1px solid rgba(103,225,255,.22);
  border-bottom:1px solid rgba(103,225,255,.19);
}
.experience__ticker-part {
  text-shadow:0 1px 8px rgba(0,0,0,.4);
}
.experience__actions {
  text-shadow:0 1px 9px rgba(0,0,0,.9);
}
@media(max-width:760px) {
  .experience::before {
    background-position: center center;
    filter:brightness(.69) saturate(.92);
  }
  .experience::after {
    background:
      linear-gradient(90deg,rgba(170,18,112,.26),transparent 34%,transparent 67%,rgba(0,142,187,.25)),
      linear-gradient(0deg,rgba(1,8,18,.27),transparent 45%,rgba(1,8,18,.16));
  }
  .experience__ticker {
    background:linear-gradient(0deg,rgba(5,17,34,.88),rgba(12,23,42,.76));
  }
}


/* LAB R05 — insegna *programmata* sul desktop e sullo smartphone.
   Contorni vettoriali delle TRE sole righe dal font acquistato, mai font TTF nel pacchetto.
   Unita' tipografica modulare, tutte le tre sezioni restano leggibili quando spente. */
.future-sign{
  display:block;
  position:absolute;
  z-index:3;
  width:min(49vw,750px);
  top:1.5%;
  left:50%;
  transform:translateX(-50%);
  pointer-events:none;
  color:white;
  filter:drop-shadow(0 3px 8px rgba(0,0,0,.68));
  isolation:isolate;
}
.future-sign__face{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:clamp(2px,.5vh,6px);
  position:relative;
  width:100%;
  padding:clamp(11px,1.2vw,18px) clamp(11px,1.9vw,28px);
  border-radius:10px;
  background:linear-gradient(142deg,rgba(5,9,28,.91),rgba(10,14,38,.78) 58%,rgba(7,10,34,.94));
  box-shadow:inset 0 0 34px rgba(225,57,255,.12),0 0 23px rgba(4,8,27,.45);
  overflow:visible;
}
.future-sign__frame{
  position:absolute;
  inset:0;
  border:3px solid #ffb4ff;
  border-bottom-color:transparent;
  border-radius:10px 10px 2px 2px;
  box-shadow:inset 0 0 8px #e123ff,0 0 5px #fb85ff,0 0 16px #dd12fc,0 0 29px #9a0bc9;
  animation:st-neon-border 11s linear infinite;
}
.future-sign__frame-bottom{
  position:absolute;
  bottom:0;
  width:20%;
  height:3px;
  background:#ffb4ff;
  box-shadow:0 0 7px 2px #f345ff,0 0 18px #cb19f2;
  animation:st-neon-border 11s linear infinite;
}
.future-sign__frame-bottom--left{left:0}
.future-sign__frame-bottom--right{right:0}
.future-sign__stripe{
  display:block;
  position:relative;
  width:100%;
  opacity:1;
  --neon-core:#bcfdff;
  --neon-glow:#00dfff;
  animation:st-neon-row-welcome 11s linear infinite;
}
.future-sign__svg{
  display:block;
  width:100%;
  height:auto;
  overflow:visible;
}
.future-sign__neon-shape{
  fill:rgba(0,240,255,.055);
  stroke:var(--neon-core);
  stroke-width:28;
  stroke-linejoin:round;
  stroke-linecap:round;
  paint-order:stroke;
  filter:drop-shadow(0 0 24px var(--neon-glow)) drop-shadow(0 0 54px var(--neon-glow));
}
.future-sign__stripe--welcome{width:85%;--neon-core:#fff2a2;--neon-glow:#ffc51a;animation-name:st-neon-row-welcome}
.future-sign__stripe--welcome .future-sign__neon-shape{fill:rgba(255,191,38,.095);filter:drop-shadow(0 0 17px #ffd748) drop-shadow(0 0 37px #ffb71b)}
.future-sign__stripe--future{width:93%;--neon-core:#b5fcff;--neon-glow:#05d9ff;animation-name:st-neon-row-future}
.future-sign__stripe--graphic{width:100%;--neon-core:#ffc7f8;--neon-glow:#f729e4;animation-name:st-neon-row-graphic}
/* V48R48: insegna ACCESA fin dal primo frame. Brevi micro-sfarfallii distinti
   sulle tre righe, mai un intervallo iniziale simultaneamente spento. */
@keyframes st-neon-row-welcome {
  0%,25.8%,26.2%,72.8%,73.2%,100%{opacity:1}26%{opacity:.57}73%{opacity:.72}
}
@keyframes st-neon-row-future {
  0%,39.8%,40.2%,83.8%,84.2%,100%{opacity:1}40%{opacity:.58}84%{opacity:.74}
}
@keyframes st-neon-row-graphic {
  0%,52.8%,53.2%,92.8%,93.2%,100%{opacity:1}53%{opacity:.54}93%{opacity:.72}
}
@keyframes st-neon-border{0%,2%,89%,100%{opacity:1}2.5%{opacity:.48}3%,95%{opacity:1}95.2%{opacity:.68}96%{opacity:1}}
/* Riduciamo esclusivamente la figura (7 pose sempre uguali, mai ridisegnate)
   per creare il posto reale sopra i capelli come nel concept R04. */
@media(min-width:761px){
  .portrait__frame,.portrait__frame--left,.portrait__frame--right,.portrait__frame--front,
  .portrait__frame--mid-left,.portrait__frame--mid-right,.portrait__frame--up-left,.portrait__frame--up-right{
    height:76%;
  }
  .visiting-card{top:73%;width:clamp(96px,9.1vw,156px);left:calc(50% - clamp(96px,9.1vw,156px) / 2)}
}
@media(max-width:760px){
  .experience::before {background-position:46% center}
  .future-sign{top:4.4%;width:clamp(190px,68vw,325px)}
  .future-sign__face{gap:5px;padding:clamp(10px,2.4vw,14px) clamp(10px,2.8vw,15px);border-radius:9px}
  .future-sign__frame{border-width:2.3px;border-radius:9px 9px 0 0}
  .future-sign__frame-bottom{height:2.3px}
  .future-sign__stripe--welcome{width:91%}
  .future-sign__stripe--future{width:97%}
  .future-sign__stripe--graphic{width:100%}
}
@media(max-width:760px) and (max-height:690px){
  .future-sign{top:3.5%;width:clamp(180px,64vw,290px)}
  .future-sign__face{gap:3px;padding:7px 10px}
}
@media(prefers-reduced-motion:reduce){
  .future-sign__frame,.future-sign__frame-bottom,.future-sign__stripe{animation:none!important;opacity:1!important}
}


/* R05: firma separata dall'insegna centrale, senza sovrapposizioni. */
@media(min-width:761px){
 .experience__signature{
   left:2.2%;top:2.3%;width:20.5%;max-width:20.5%;
   font-size:clamp(9px,.8vw,12px);line-height:1.35;letter-spacing:.13em;
   white-space:normal;word-break:normal;overflow-wrap:normal;
 }
 .experience__signature span{
   display:block;margin-top:7px;max-width:100%;
   font-size:clamp(8px,.63vw,11px);line-height:1.45;
   font-weight:500;letter-spacing:.025em;
 }
}
@media(max-width:760px){
 .experience__signature{left:4%;top:2.5%;width:auto;max-width:90%;white-space:nowrap}
}

/* V48R48 — Non affidare l'effetto glow al solo CSS filter sui path SVG:
   ogni riga dispone anche di un filtro SVG nativo inline per maggiore
   compatibilita' Chrome / Firefox / Safari. */
.future-sign__stripe{opacity:1}

/* V48R49 — smartphone: lighter asset and fewer compositing filters.
   Same approved city, same typography and SVG neon strokes.
   Glow remains in native SVG filter of the three lines. */
@media (max-width:760px) {
  .experience::before {
    background-image:url("assets/mobile/intro-fase2-citta-neon-r07-mobile.webp");
    filter:none; /* brightness and saturation already baked into the mobile picture */
  }
  .future-sign__neon-shape,
  .future-sign__stripe--welcome .future-sign__neon-shape {
    filter:none!important; /* avoid redundant CSS blur on top of native SVG glow */
  }
}
