/* COMPONENT: Copy sequence — Michroma, words assemble from cells.
   The HTML line sets size and position; the canvas paints the letters. */
.zg-words {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #000;
  display: grid;
  place-items: center;
  padding: 0 6vw calc(6vh - 5px);   /* lifts the line ~3% above true centre (the optical centre), less 2.5px */
  pointer-events: none;
}
.zg-words.is-gone { display: none; }

.zg-words__line {
  max-width: 100%;
  font-family: "Michroma", "Eurostile", "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: clamp(17px, 2.975vw, 46px);   /* 15% smaller than before */
  line-height: 1.35;
  letter-spacing: 0.14em;
  margin-right: -0.14em;              /* optically centre tracked caps */
  text-align: center;
  text-wrap: balance;
  white-space: pre-line;   /* honours the stacked line breaks in the copy */
  color: transparent;   /* layout only — the canvas draws the words */
}
.zg-words__cells {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 600px) {
  .zg-words__line { font-size: clamp(15.3px, 5.27vw, 25.5px); line-height: 1.5; }
}
