.brand { white-space:nowrap; }
.brand-name { display:block; }
.brand-letter { display:inline-block; }
.brand-spark { opacity:0; }

/* The complete logo is the default: no script and reduced motion stay readable. */
@media(prefers-reduced-motion:no-preference) {
  .brand-animate .brand-monogram {
    stroke-dasharray:1;
    animation:brand-draw .78s cubic-bezier(.22,1,.36,1) both;
  }
  .brand-animate .brand-monogram-second { animation-delay:.16s; }
  .brand-animate .brand-shaft {
    stroke-dasharray:1;
    animation:brand-draw .55s cubic-bezier(.22,1,.36,1) .5s both;
  }
  .brand-animate .brand-weights {
    transform-box:fill-box;
    transform-origin:center;
    animation:brand-weights-in .48s cubic-bezier(.16,1.35,.4,1) .83s both;
  }
  .brand-animate .brand-weights-end { animation-delay:.96s; }
  .brand-animate .brand-letter {
    animation:brand-word-in .62s cubic-bezier(.22,1,.36,1) both;
    animation-delay:calc(.83s + var(--brand-letter-index) * .032s);
  }
  .brand-animate .brand-tagline { animation:brand-word-in .65s cubic-bezier(.22,1,.36,1) 1.25s both; }
  .brand-animate .brand-spark {
    stroke-dasharray:.07 .93;
    animation:brand-spark-pass .65s ease-in-out 1.05s both;
  }
}

@keyframes brand-draw {
  from { stroke-dashoffset:1; opacity:0; }
  1% { opacity:1; }
  to { stroke-dashoffset:0; opacity:1; }
}
@keyframes brand-weights-in {
  from { opacity:0; transform:scale(.72); }
  to { opacity:1; transform:scale(1); }
}
@keyframes brand-word-in {
  from { opacity:0; transform:translateY(4px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes brand-spark-pass {
  0% { opacity:0; stroke-dashoffset:1; }
  30% { opacity:.8; }
  85% { opacity:.5; }
  100% { opacity:0; stroke-dashoffset:0; }
}
