.nastro {
  display: block;
  height: 40px;
  padding: 8px 0;
  background: var(--notte);
  color: var(--bianco);
  overflow: hidden;
}
.nastro-lista {
  display: flex;
  gap: 160px;
  width: max-content;
  list-style: none;
}
.nastro-lista li {
  font: 400 16px/24px var(--mono);
  letter-spacing: -0.32px;
  text-transform: uppercase;
  white-space: nowrap;
}
.lav > .nastro:first-child {
  background: var(--arancio);
}

.lav {
  background: var(--notte);
  color: var(--bianco);
}

.lav-pezzo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  padding: 0 var(--margine);
  overflow: hidden;
}

.lav-sfondo {
  position: absolute;
  inset: -10% 0;
}
.lav-sfondo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.lav-pezzo:hover .lav-sfondo img {
  transform: scale(1.04);
}

.lav-scheda {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 800px;
  max-width: 100%;
  padding: var(--stacco);
  background: rgba(10, 10, 10, 0.5);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.lav-sx {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.lav-nome {
  font: 400 16px/24px var(--helv);
  font-weight: 400;
  letter-spacing: -0.32px;
}
.lav-cosa {
  font: 400 12px/16px var(--mono);
  text-transform: uppercase;
  opacity: 0.7;
}

.lav-anteprima {
  flex: none;
  width: 256px;
  height: 192px;
  object-fit: cover;
}

.lav-voci {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  list-style: none;
  font: 400 12px/16px var(--mono);
  text-transform: uppercase;
}

@media (max-width: 809px) {
  /* misure prese da Blux al telefono (390 px), 20/11/2026: ogni lavoro occupa uno schermo,
     la scheda sta al centro con nome, anteprima e voci a destra */
  .lav-pezzo {
    height: 100vh;
    height: 100svh;
    min-height: 560px;
  }
  .lav-scheda {
    width: 100%;
    background: rgba(10, 10, 10, 0.72);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    flex-direction: column;
    gap: var(--stacco);
  }
  .lav-cosa {
    display: none;
  }
  .lav-nome {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.54px;
    text-transform: uppercase;
  }
  .lav-anteprima {
    width: 100%;
    height: 302px;
  }
  .lav-voci {
    gap: 4px;
    font: 400 14px/20px var(--mono-r);
    letter-spacing: -0.28px;
  }
  .nastro {
    height: 40px;
    padding: 8px 0;
  }
  .nastro-lista {
    gap: 24px;
  }
  .nastro-lista li {
    font-size: 14px;
    line-height: 24px;
  }
}
