:root {
  --fondo: #e7eaee;
  --fondo-basso: #d8dde3;
  --inchiostro: #1c2127;
  --secondario: #6c7480;
  --pioggia: 72, 84, 100;
  --tela: #8e2b23;
  --tela-chiara: #b8473a;
  --tela-scura: #4e1410;
  --legno: #7b4a2b;
  --legno-chiaro: #b07a4f;
  --metallo: #3b4048;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, var(--fondo), var(--fondo-basso));
  color: var(--inchiostro);
  font-family: "Mona Sans Variable", "Mona Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.stage {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  cursor: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.tela {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* the headline is drawn on the canvas, so the drops can sit on its letters; the HTML stays for screen readers */
.titolo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  margin: 0;
}

.marchio,
.sotto,
.aiuto {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  pointer-events: none;
}

.marchio {
  top: clamp(14px, 6vh, 44px);
  font-size: clamp(10px, min(2.6vw, 2.6vh), 13px);
  font-weight: 620;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.marchio span {
  font-weight: 450;
  color: var(--secondario);
  margin-left: 0.5em;
}

.sotto {
  top: var(--sotto, 70%);
  font-size: clamp(11px, min(3.4vw, 3vh), 17px);
  font-weight: 430;
  color: var(--secondario);
}

.aiuto {
  bottom: clamp(10px, 4vh, 30px);
  font-size: clamp(9px, min(2.4vw, 2.2vh), 11px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondario);
  opacity: 0.75;
}

@media (hover: none) {
  .stage { cursor: auto; }
}
