:root {
    --hedo17-time:1.2s;
    --hedo17-ease:cubic-bezier(.2, .7, .1, 1);
}

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

:is([data-b6a6e6], [data-dbf460] > *, [data-ef60f1]) img {
    scale:var(--hedo17-rest, 1);
}

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
    html:not(.hedo17-off) :is([data-b6a6e6], [data-dbf460] > *):not(.hedo17-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(.hedo17-off) :is([data-b6a6e6], [data-dbf460] > *):not(.hedo17-in) {
        animation:hedo17-open 1ms linear 4.5s forwards;
    }
    html:not(.hedo17-off) :is([data-b6a6e6='fall'], [data-dbf460='fall'] > *):not(.hedo17-done) {
        -webkit-mask-position:50% 0%;
        mask-position:50% 0%;
    }
    html:not(.hedo17-off) :is([data-b6a6e6='left'], [data-dbf460='left'] > *):not(.hedo17-done) {
        -webkit-mask-position:0% 50%;
        mask-position:0% 50%;
        -webkit-mask-size:0% 100%;
        mask-size:0% 100%;
    }
    html:not(.hedo17-off) :is([data-b6a6e6='right'], [data-dbf460='right'] > *):not(.hedo17-done) {
        -webkit-mask-position:100% 50%;

        mask-position:100% 50%;
        -webkit-mask-size:0% 100%;
        mask-size:0% 100%;
    }
    html:not(.hedo17-off) :is([data-b6a6e6='split'], [data-dbf460='split'] > *):not(.hedo17-done) {
        -webkit-mask-position:50% 50%;
        mask-position:50% 50%;
        -webkit-mask-size:0% 100%;
        mask-size:0% 100%;
    }
    html:not(.hedo17-off) :is([data-b6a6e6='iris'], [data-dbf460='iris'] > *):not(.hedo17-done) {
        -webkit-mask-position:50% 50%;
        mask-position:50% 50%;
        -webkit-mask-size:46% 46%;
        mask-size:46% 46%;
    }
    html:not(.hedo17-off) :is([data-b6a6e6], [data-dbf460] > *).hedo17-set:not(.hedo17-in) {
        animation:none;
    }
    html:not(.hedo17-off) :is([data-b6a6e6], [data-dbf460] > *):not(.hedo17-in) img {
        scale:calc(var(--hedo17-rest, 1) * var(--hedo17-zoom, 1.14));
    }
    html:not(.hedo17-off) :is([data-b6a6e6], [data-dbf460] > *).hedo17-in:not(.hedo17-done) {
        -webkit-mask-size:100% 100%;
        mask-size:100% 100%;
        transition:
            -webkit-mask-size var(--hedo17-time, 1.1s) var(--hedo17-ease, cubic-bezier(.2, .7, .1, 1)),
            mask-size var(--hedo17-time, 1.1s) var(--hedo17-ease, cubic-bezier(.2, .7, .1, 1));
    }
    html:not(.hedo17-off) :is([data-b6a6e6], [data-dbf460] > *).hedo17-in img {
        transition:scale calc(var(--hedo17-time, 1.1s) * 1.5) var(--hedo17-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(.hedo17-off) :is([data-b6a6e6], [data-dbf460] > *).hedo17-quick.hedo17-in:not(.hedo17-done) {
        transition-duration:.42s;
    }
    html:not(.hedo17-off) :is([data-b6a6e6], [data-dbf460] > *).hedo17-quick.hedo17-in img {
        transition-duration:.6s;
    }

    /* A picture that travels a little inside its frame as the page moves. */
    [data-ef60f1] { --hedo17-rest: 1.16; }
    [data-ef60f1] img {
        translate:0 var(--hedo17-shift, 0px);
        will-change:translate;
    }
    [data-6b5929] > :nth-child(2) {
        translate:0 var(--hedo17-shift, 0px);
    }
}

html.hedo17-rest :is([data-b6a6e6], [data-dbf460] > *),
html.hedo17-rest :is([data-b6a6e6], [data-dbf460] > *) img {
    transition:none !important;
}

[data-ef60f1] { overflow: hidden; }

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

[data-6b5929] {
    position:relative;
    display:grid;
    grid-template-columns:repeat(12, minmax(0, 1fr));
    align-items:end;
    padding-block-end:10%;
    isolation:isolate;
}

[data-6b5929] > * {
    grid-row:1;
    margin:0;
    min-width:0;
    overflow:hidden;
}
[data-6b5929] > :first-child {
    grid-column:1 / span 9;
    align-self:start;
    aspect-ratio:4 / 5;
}
[data-6b5929] > :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(--hedo17-ground, transparent);
}
[data-6b5929='left'] > :first-child { grid-column: 4 / span 9; }
[data-6b5929='left'] > :nth-child(2) { grid-column: 1 / span 6; }
[data-6b5929] > :nth-child(n + 3) {
    grid-row:2;
    grid-column:1 / -1;
    overflow:visible;
}
[data-6b5929] > :nth-child(-n + 2) :is(picture, img) {

    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

[data-985c6c] { overflow: hidden; }
[data-985c6c] :is(picture, img) {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
[data-985c6c='arch'] { border-radius: 999px 999px 0 0; }
[data-985c6c='leaf'] { border-radius: clamp(28px, 8vw, 120px) 0; }

@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(.hedo17-off) .hedo17-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(--hedo17-fill, 1) * 100%) 100%, 100% 100%;
            -webkit-background-clip:text;
            background-clip:text;
            -webkit-text-fill-color:transparent;
        }
    }
}

[data-22a4d3] { font-variant-numeric: lining-nums tabular-nums; }

@media print {
    :is([data-b6a6e6], [data-dbf460] > *) {
        -webkit-mask-image:none !important;
        mask-image:none !important;
        animation:none !important;
    }
    [data-ebfa3c] { clip-path: none !important; }
    :is([data-b6a6e6], [data-dbf460] > *, [data-ef60f1]) img {
        scale:1 !important;
        translate:none !important;
    }
    .hedo17-ink {
        background:none !important;
        -webkit-text-fill-color:currentColor !important;
    }
}
