/* The clock-hand logo: a stage as big as the window, an SVG the script fills with three hands, their orbits and the
   name. Minimal: a warm white ground, one ink, a pale grey for the construction and one accent for the last hand. */
:root {
  --ground: #f3f0e8;        /* the background */
  --ink: #141414;           /* the hands, the monogram and the name */
  --accent: #2b3cf0;        /* the last hand to stop, the one that ticks like a second hand */
  --trace: #d3cdc0;         /* the thin circles the hands sweep */
  --hint: #9b968b;          /* the crosses on the pivots and the small text */
  --screen: 100vh;
}
@supports (height: 100lvh) {
  :root { --screen: 100lvh; }
}

* { box-sizing: border-box; }
html,
body {
  margin: 0;
  height: 100%;
}
body {
  background: var(--ground);
  overflow: hidden;
}

.scena {
  position: relative;
  height: var(--screen);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

/* the name is set in this face: the script reads it to measure the letters */
.palco {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  font-family: 'Archivo Variable', 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
}

.lancetta {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
}
.lancetta--ultima { stroke: var(--accent); }
.tratto {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: butt;
}
.tratto--ultimo { stroke: var(--accent); }
.orbita {
  fill: none;
  stroke: var(--trace);
  stroke-linecap: butt;
}
.perno {
  stroke: var(--hint);
  stroke-linecap: butt;
}
.lettera {
  fill: var(--ink);
  font-kerning: none;
}

.nota {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(18px, env(safe-area-inset-bottom));
  margin: 0;
  font-family: 'Archivo Variable', 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--hint);
  pointer-events: none;
}
