html.js-startscreen-will-show,
html.js-startscreen-will-show body {
    overflow: hidden !important;
}

html.js-startscreen-will-skip #js-startscreen {
    display: none !important;
}

.js-startscreen {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: var(--js-start-bg, #fbf7ef);
    opacity: 1;
    visibility: visible;
    transition: opacity var(--js-start-fade, 650ms) cubic-bezier(.22,.61,.36,1), visibility var(--js-start-fade, 650ms) linear;
}

.js-startscreen.is-complete {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.js-startscreen__inner {
    position: relative;
    z-index: 3;
    width: min(510px, 78vw);
    text-align: center;
    transform: translateY(-1.5vh);
}

.js-startscreen__logo {
    display: block;
    width: min(430px, 100%);
    height: auto;
    margin: 0 auto;
}

.js-startscreen__progress {
    position: relative;
    width: min(310px, 78%);
    height: 2px;
    margin: 34px auto 24px;
    overflow: hidden;
    background: var(--js-start-track, #ddd3c7);
}

.js-startscreen__bar {
    display: block;
    width: 7%;
    height: 100%;
    background: var(--js-start-progress, #7b2035);
    transform-origin: left center;
    transition: width 420ms cubic-bezier(.22,.61,.36,1);
}

.js-startscreen__tagline {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 9px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: .44em;
    text-transform: uppercase;
    color: var(--js-start-text, #74675f);
}

.js-startscreen__ornament {
    position: absolute;
    z-index: 1;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    opacity: .075;
    filter: saturate(.7);
}

.js-startscreen__ornament--left {
    left: -70px;
    bottom: -30px;
    width: min(360px, 28vw);
    height: min(560px, 70vh);
    background-image: url('../images/vienna-ornament.webp');
    background-position: left bottom;
}

.js-startscreen__ornament--right {
    right: -28px;
    top: 6vh;
    width: min(410px, 30vw);
    height: min(470px, 62vh);
    background-image: url('../images/vienna-hall.png');
    background-position: right top;
    opacity: .05;
}

@media (max-width: 700px) {
    .js-startscreen__inner {
        width: min(390px, 82vw);
    }
    .js-startscreen__logo {
        width: min(340px, 100%);
    }
    .js-startscreen__progress {
        width: min(250px, 76%);
        margin-top: 28px;
    }
    .js-startscreen__tagline {
        font-size: 8px;
        letter-spacing: .36em;
    }
    .js-startscreen__ornament--left {
        left: -110px;
        width: 280px;
        opacity: .05;
    }
    .js-startscreen__ornament--right {
        right: -110px;
        width: 300px;
        opacity: .04;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js-startscreen,
    .js-startscreen__bar {
        transition-duration: 80ms !important;
    }
}
