/* Holland Works — slot-machine wordmark (see wordflip.js) */
.wf {
  position: absolute; left: 0; top: 0;
  font-family: "apotek", sans-serif; font-weight: 700; font-style: normal;
  line-height: var(--line); white-space: pre; color: currentColor;
  text-transform: none; pointer-events: none; opacity: 0;
}
.is-slotting > svg { opacity: 0; }
.is-slotting .wf { opacity: 1; }

.wf-and { position: absolute; left: var(--and-x); top: var(--cap-top); }

/* Each reel is a window cut exactly to the logo's cap height: nothing (neighbouring words,
   motion blur) is ever visible above or below where HOLLAND WORKS sits. The blur lives on an
   inner "lens" so the clip cuts it off cleanly. */
.wf-reel {
  position: absolute;
  top: 0;
  height: var(--window);
  width: 10em;
  overflow: hidden;
}
.wf-lens { position: absolute; inset: 0; perspective: calc(var(--window) * 16); }
.wf-reel--l { right: calc(100% - var(--and-x)); }
.wf-reel--r { left: calc(var(--and-x) + var(--and-w) + var(--r-shift, 0px)); }
/* vanishing point sits on the words (not the reel box) so letters don't lean as they roll */
.wf-reel--l .wf-lens { perspective-origin: calc(100% - 2.2em) 50%; }
.wf-reel--r .wf-lens { perspective-origin: 2.2em 50%; }
.wf-drum { position: absolute; inset: 0; transform-style: preserve-3d; }
.wf-face {
  position: absolute;
  top: calc(50% - var(--window) / 2 + var(--cap-top));
  transform-origin: 50% calc(var(--window) / 2 - var(--cap-top));
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.wf-reel--l .wf-face { right: 0; }
.wf-reel--r .wf-face { left: 0; }

/* Logo artwork pieces (HOLL / AND / WORKS): cap-height tall, ink placed exactly where the static
   logo has it, so resting on HOLLAND WORKS is pixel-identical to the logo. */
.wf-frag { display: block; height: var(--window); fill: currentColor; overflow: visible;
  margin-top: calc(-1 * var(--cap-top)); }
.wf-frag--l { width: var(--frag-l-w); margin-right: var(--frag-l-gap); }
.wf-frag--a { width: var(--frag-a-w); margin-left: var(--frag-a-pad); }
.wf-frag--r { width: var(--frag-r-w); margin-left: var(--frag-r-pad); }

