/* Humyn Labs wordmark as a construction drawing: the letters shown as outlines with their anchor
   points marked, fine construction lines running through the type lines and stems, clear-space
   zones measured in X and a centre line. The orange image underneath is hidden once the outline
   is drawn (if the script can't run, the image stays). */
.wordmark-grid { pointer-events: none; overflow: visible; }
.wordmark-grid .wg-frame { fill: none; stroke: #c4c4c4; stroke-width: .75; }
.wordmark-grid .wg-guide { stroke: #cfcfcf; stroke-width: .6; }
.wordmark-grid .wg-center { stroke: #ff6c40; stroke-width: .75; stroke-dasharray: 10 4 2 4; }
.wordmark-grid .wg-logo path { fill: #efefef; stroke: #262626; stroke-linejoin: round; }
.wordmark-grid .wg-points circle { fill: #fff; stroke: #3a3a3a; stroke-width: .6; }
.wordmark-grid text {
  font: 400 10px/1 "Neue Montreal", "Helvetica Neue", Arial, sans-serif;
  fill: #4d4d4d;
  text-anchor: middle;
  dominant-baseline: middle;
  letter-spacing: .02em;
}
.wordmark-grid:not(.is-drawn) .wg-logo, .wordmark-grid:not(.is-drawn) .wg-points { display: none; }
img.wordmark-replaced { visibility: hidden; }

/* Draw-in: construction lines sweep across / drop down, then the outline traces itself, then the
   anchor points pop on and the labels fade up. */
.wordmark-grid.is-armed .wg-guides line { transform-box: fill-box; transform: scaleX(0); transform-origin: left center; }
.wordmark-grid.is-armed .wg-guides .is-v { transform: scaleY(0); transform-origin: center top; }
.wordmark-grid.is-armed .wg-labels, .wordmark-grid.is-armed .wg-frame, .wordmark-grid.is-armed .wg-points { opacity: 0; }
.wordmark-grid.is-armed .wg-logo path { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); fill-opacity: 0; }
.wordmark-grid.is-in .wg-guides line, .wordmark-grid.is-in .wg-guides .is-v { transform: none; transition: transform .8s cubic-bezier(.65, 0, .25, 1) var(--d, 0s); }
.wordmark-grid.is-in .wg-logo path { stroke-dashoffset: 0; fill-opacity: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.45, 0, .2, 1) .5s, fill-opacity .6s ease 1.9s; }
.wordmark-grid.is-in .wg-points { opacity: 1; transition: opacity .5s ease 2s; }
.wordmark-grid.is-in .wg-labels { opacity: 1; transition: opacity .6s ease 1.2s; }
.wordmark-grid.is-in .wg-frame { opacity: 1; transition: opacity .6s ease; }
@media (prefers-reduced-motion: reduce) {
  .wordmark-grid.is-armed .wg-guides line { transform: none; }
  .wordmark-grid.is-armed .wg-labels, .wordmark-grid.is-armed .wg-frame, .wordmark-grid.is-armed .wg-points { opacity: 1; }
  .wordmark-grid.is-armed .wg-logo path { stroke-dasharray: none; fill-opacity: 1; }
}
