/* Font and encoded-glyph montage. The original title remains the sole layout-sized layer. */
h1[data-title-montage] { position: relative; }
h1[data-title-montage] > .drylab-title-base { display: inline; }
h1[data-title-montage] > .drylab-title-montage {
    display: none; position: absolute; left: 0; top: 0;
    width: 0; height: 0; overflow: visible; pointer-events: none;
    font-size: inherit; line-height: inherit; letter-spacing: inherit;
    z-index: 4;
}
h1[data-title-montage] .drylab-title-montage__text {
    position: absolute; left: 0; top: 0; display: inline-block;
    white-space: nowrap; font-size: 1em; line-height: inherit;
    letter-spacing: inherit; transform-origin: 0 0;
    color: inherit; -webkit-text-fill-color: inherit;
}
h1[data-title-montage].is-title-montage-running { pointer-events: none; }
h1[data-title-montage].is-title-montage-running .model-title-letter { transform: none !important; }
h1[data-title-montage].is-title-montage-running > .drylab-title-montage { display: block; }
h1[data-title-montage].is-title-montage-running > .model-title-base,
h1[data-title-montage].is-title-montage-running > .drylab-title-base,
h1[data-title-montage].is-title-montage-running > .model-binary-matrix { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) {
    h1[data-title-montage] > .drylab-title-montage { display: none !important; }
    h1[data-title-montage] > .model-title-base,
    h1[data-title-montage] > .drylab-title-base { opacity: 1 !important; }
}
/* Fixed-slot decoding; no animation after completion. */
h1[data-title-montage] { cursor: text; }

h1[data-title-montage] .drylab-title-montage__slot {
    display: inline-block; position: relative; white-space: nowrap;
    text-align: center; vertical-align: baseline;
}
h1[data-title-montage] .drylab-title-montage__slot-ink {
    display: inline-block; transform-origin: center;
}
