/* Firma premium: i livelli del materiale. --velo scurisce il materiale dove serve leggere testo piccolo. */
.con-materiale { isolation: isolate; }
.mat-luce, .mat-velo { position: absolute; inset: 0; z-index: -1; pointer-events: none; display: block; }
.mat-luce { background-repeat: repeat; background-size: min(72vw, 1024px) auto; background-position: center top; }
.mat-luce + .mat-luce { opacity: 0; will-change: opacity; }
.mat-velo { background: radial-gradient(120% 90% at 50% 45%, rgba(6, 4, 3, var(--velo, .2)) 40%, rgba(5, 3, 2, calc(var(--velo, .2) + .35)) 100%); }
@media (max-width: 820px) {
  .mat-luce { background-size: 150vw auto; }
}
/* Materiali disegnati che non si ripetono (marmo_procedurale.py): un'immagine sola, stesa su tutta la sezione */
.con-materiale[data-intero] > .mat-luce { background-repeat: no-repeat; background-size: cover; background-position: center; }
@media (prefers-reduced-motion: reduce) {
  .mat-luce + .mat-luce { display: none; }
}
