/* Match the flavour introduction; keep the completed hero wordmark in place. */
.hero-writing { height: auto; overflow: visible; }
.hero-writing__drawing { display: none; }
.hero-writing__glow { display: inline; opacity: 0; pointer-events: none; }
.hero-writing__final { display: inline; }
/* Once the background lands, let the ink itself provide the entrance. */
html.dcs-entered:not(.dcs-ingredients-entering) #dcsHero .hero-writing {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}
@media (prefers-reduced-motion: no-preference) {
  html.dcs-js:not(.dcs-js-failed) .hero-writing:not(.is-written) .hero-writing__drawing { display: inline; }
  html.dcs-js:not(.dcs-js-failed) .hero-writing:not(.is-written) .hero-writing__final { display: none; }
  .hero-writing__stroke {
    opacity: 0;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
  }
  .hero-writing.is-writing:not(.is-written) .hero-writing__stroke {
    animation: hero-ink-write var(--draw-time) linear var(--draw-delay) forwards;
  }
  .hero-writing.is-written.is-glowing .hero-writing__glow {
    animation: hero-ink-glow 360ms var(--ease-out, ease-out) forwards;
  }
}
@keyframes hero-ink-write {
  from { opacity: 1; stroke-dashoffset: 100; }
  to { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes hero-ink-glow {
  0% { opacity: 0; }
  60% { opacity: .7; }
  100% { opacity: .3; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-writing__glow { display: none; }
}
