/* Tamburo di voci */
:root {
  --sfondo: #eef3ef;
  --testo: #07201f;
  --spento: 0.14;             /* opacità delle voci lontane dal centro */
}

* { box-sizing: border-box; }
html,
body {
  margin: 0;
}
body {
  background: var(--sfondo);
  color: var(--testo);
  font-family: 'Mona Sans Variable', system-ui, sans-serif;
}

.corsa {
  height: 420vh;               /* più è alta, più lenta scorre la lista */
}
.palco {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: center;
  gap: 4vw;
  padding: 0 6vw;
  overflow: hidden;
}
@supports (height: 100svh) {
  .palco { height: 100svh; }
}
.lato {
  display: grid;
  gap: 20px;
  align-content: center;
}
.rombo {
  width: 54px;
  height: 54px;
}
.titolo {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 620;
  font-stretch: 108%;
  letter-spacing: -0.01em;
}

/* la maschera: chiara solo nella fascia centrale, sfuma sopra e sotto */
.tamburo {
  position: relative;
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 38%, #000 62%, transparent 100%);
}
.voci {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  will-change: transform;
}
.voce {
  font-size: clamp(40px, 6.4vw, 108px);
  font-weight: 680;
  font-stretch: 112%;
  letter-spacing: -0.045em;
  line-height: 1.12;
  white-space: nowrap;
  opacity: var(--spento);
}

@media (max-width: 760px) {
  .palco {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    padding-top: 12vh;
  }
  .lato {
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
  }
  .rombo {
    width: 36px;
    height: 36px;
  }
  .voce {
    font-size: clamp(34px, 10vw, 56px);
  }
}
