/* Headings reveal once, word by word, when they enter the viewport. */
.ah-heading-reveal .ah-heading-word {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    opacity: 0;
    transform: translate3d(0, .55em, 0);
    transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--ah-word-delay, 0ms);
}
.ah-heading-visible .ah-heading-word {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
/* Let the word animation replace Grand's previous whole-title entrance. */
.ag-hero #grand-title.ah-heading-reveal,
.ag-hero #grand-title.ah-heading-reveal .ag-title-line,
.ag-hero #grand-title.ah-heading-reveal em {
    animation: none;
}
.ag-hero #grand-title.ah-heading-reveal em {
    background-image: none;
    color: #e5c576;
}
.ah-reduce-motion .ah-heading-reveal .ah-heading-word {
    opacity: 1;
    transform: none;
    transition: none;
}
@media (prefers-reduced-motion: reduce) {
    .ah-heading-reveal .ah-heading-word {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
