/* Local preview: a vanilla implementation of the referenced depth-text treatment. */
[data-depth-title] {
    --depth-text-perspective: 900px;
    --depth-text-grow: 0;
    display: inline-block;
    perspective: var(--depth-text-perspective);
    perspective-origin: 50% 48%;
    isolation: isolate;
    background: none;
    -webkit-text-fill-color: currentColor;
    filter: none;
}

.depth-title__stage {
    position: relative;
    display: inline-grid;
    place-items: center;
    transform-style: preserve-3d;
    transform-origin: 50% 50%;
    will-change: transform;
}

.depth-title__layer,
.depth-title__face {
    grid-area: 1 / 1;
    display: inline-block;
    font: inherit;
    line-height: 0.86;
    letter-spacing: inherit;
    white-space: nowrap;
    user-select: none;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    font-kerning: normal;
    text-rendering: geometricPrecision;
}

.depth-title__layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.depth-title__layer--back {
    text-shadow: 0 0.18em 0.32em color-mix(in srgb, #179176 24%, rgba(0, 0, 0, 0.42));
}

.depth-title__face {
    position: relative;
    z-index: 1;
    color: var(--text-deep);
    text-shadow: 0 0.035em 0.07em rgba(0, 0, 0, 0.28);
    transform: translateZ(0.6px);
}

.depth-brand-mark {
    perspective-origin: 50% 50%;
}

@media (hover: hover) and (pointer: fine) {
    [data-depth-title] {
        cursor: default;
    }
}

@media (prefers-reduced-motion: reduce) {
    .depth-title__stage {
        will-change: auto;
    }
}
