:root {
    --ledo86-time: 1.2s;
    --ledo86-ease: cubic-bezier(.16, 1, .3, 1);
}

@keyframes ledo86-open {
    to { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
}

:is([data-667411], [data-58a33f] > *, [data-567fcc]) img { scale: var(--ledo86-rest, 1); }

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
    html:not(.ledo86-off) :is([data-667411], [data-58a33f] > *):not(.ledo86-done) {
        -webkit-mask-image: linear-gradient(#000, #000);
        mask-image: linear-gradient(#000, #000);
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: 50% 100%;
        mask-position: 50% 100%;
        -webkit-mask-size: 100% 0%;
        mask-size: 100% 0%;
    }
    html:not(.ledo86-off) :is([data-667411], [data-58a33f] > *):not(.ledo86-in) { animation: ledo86-open 1ms linear 4.5s forwards; }
    html:not(.ledo86-off) :is([data-667411="fall"], [data-58a33f="fall"] > *):not(.ledo86-done) {
        -webkit-mask-position: 50% 0%;
        mask-position: 50% 0%;
    }
    html:not(.ledo86-off) :is([data-667411="left"], [data-58a33f="left"] > *):not(.ledo86-done) {
        -webkit-mask-position: 0% 50%;
        mask-position: 0% 50%;
        -webkit-mask-size: 0% 100%;

        mask-size: 0% 100%;
    }
    html:not(.ledo86-off) :is([data-667411="right"], [data-58a33f="right"] > *):not(.ledo86-done) {
        -webkit-mask-position: 100% 50%;
        mask-position: 100% 50%;
        -webkit-mask-size: 0% 100%;
        mask-size: 0% 100%;
    }
    html:not(.ledo86-off) :is([data-667411="split"], [data-58a33f="split"] > *):not(.ledo86-done) {
        -webkit-mask-position: 50% 50%;
        mask-position: 50% 50%;
        -webkit-mask-size: 0% 100%;
        mask-size: 0% 100%;
    }
    html:not(.ledo86-off) :is([data-667411="iris"], [data-58a33f="iris"] > *):not(.ledo86-done) {
        -webkit-mask-position: 50% 50%;
        mask-position: 50% 50%;
        -webkit-mask-size: 46% 46%;
        mask-size: 46% 46%;
    }
    html:not(.ledo86-off) :is([data-667411], [data-58a33f] > *).ledo86-set:not(.ledo86-in) { animation: none; }
    html:not(.ledo86-off) :is([data-667411], [data-58a33f] > *):not(.ledo86-in) img { scale: calc(var(--ledo86-rest, 1) * var(--ledo86-zoom, 1.14)); }
    html:not(.ledo86-off) :is([data-667411], [data-58a33f] > *).ledo86-in:not(.ledo86-done) {
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        transition:
            -webkit-mask-size var(--ledo86-time, 1.1s) var(--ledo86-ease, cubic-bezier(.2, .7, .1, 1)),
            mask-size var(--ledo86-time, 1.1s) var(--ledo86-ease, cubic-bezier(.2, .7, .1, 1));
    }
    html:not(.ledo86-off) :is([data-667411], [data-58a33f] > *).ledo86-in img { transition: scale calc(var(--ledo86-time, 1.1s) * 1.5) var(--ledo86-ease, cubic-bezier(.2, .7, .1, 1)); }
    /* Scrolled to in a hurry: it opens at once rather than making the
        visitor wait in front of an empty frame. */
    html:not(.ledo86-off) :is([data-667411], [data-58a33f] > *).ledo86-quick.ledo86-in:not(.ledo86-done) { transition-duration: .42s; }
    html:not(.ledo86-off) :is([data-667411], [data-58a33f] > *).ledo86-quick.ledo86-in img { transition-duration: .6s; }

    [data-567fcc] { --ledo86-rest: 1.16; }
    [data-567fcc] img {
        translate: 0 var(--ledo86-shift, 0px);
        will-change: translate;
    }
    [data-cd1198] > :nth-child(2) { translate: 0 var(--ledo86-shift, 0px); }
}

html.ledo86-rest :is([data-667411], [data-58a33f] > *),
html.ledo86-rest :is([data-667411], [data-58a33f] > *) img { transition: none !important; }

[data-567fcc] { overflow: hidden; }

/* A band that opens from a plate to the full width of the page. */
[data-0fba45] { clip-path: inset(
        calc((1 - var(--ledo86-open, 1)) * 5vh)
        calc((1 - var(--ledo86-open, 1)) * 7vw)
        round calc((1 - var(--ledo86-open, 1)) * 26px)); }

/* Two photographs, one laid over the corner of the other. */
[data-cd1198] {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
    padding-block-end: 10%;
    isolation: isolate;
}
[data-cd1198] > * {
    grid-row: 1;
    margin: 0;
    min-width: 0;
    overflow: hidden;
}
[data-cd1198] > :first-child {
    grid-column: 1 / span 9;

    align-self: start;
    aspect-ratio: 4 / 5;
}
[data-cd1198] > :nth-child(2) {
    grid-column: 7 / span 6;
    aspect-ratio: 1 / 1;
    z-index: 1;
    margin-block-end: -12%;
    box-sizing: border-box;
    border: clamp(6px, .9vw, 12px) solid var(--ledo86-ground, transparent);
}
[data-cd1198="left"] > :first-child { grid-column: 4 / span 9; }
[data-cd1198="left"] > :nth-child(2) { grid-column: 1 / span 6; }
[data-cd1198] > :nth-child(n + 3) {
    grid-row: 2;
    grid-column: 1 / -1;
    overflow: visible;
}
[data-cd1198] > :nth-child(-n + 2) :is(picture, img) {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[data-9b9de8] { overflow: hidden; }
[data-9b9de8] :is(picture, img) {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[data-9b9de8="arch"] { border-radius: 999px 999px 0 0; }
[data-9b9de8="leaf"] { border-radius: clamp(28px, 8vw, 120px) 0; }

/* A statement that takes its ink as it is read. */
@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red 50%, blue)) {
    @media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
        html:not(.ledo86-off) .ledo86-ink {
            background-image:
                linear-gradient(currentColor, currentColor),
                linear-gradient(color-mix(in srgb, currentColor 24%, transparent), color-mix(in srgb, currentColor 24%, transparent));
            background-repeat: no-repeat;
            background-size: calc(var(--ledo86-fill, 1) * 100%) 100%, 100% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
    }
}

[data-36a037] { font-variant-numeric: lining-nums tabular-nums; }

@media print {
    :is([data-667411], [data-58a33f] > *) {
        -webkit-mask-image: none !important;
        mask-image: none !important;
        animation: none !important;
    }
    [data-0fba45] { clip-path: none !important; }
    :is([data-667411], [data-58a33f] > *, [data-567fcc]) img {
        scale: 1 !important;
        translate: none !important;
    }
    .ledo86-ink {
        background: none !important;
        -webkit-text-fill-color: currentColor !important;
    }
}
