/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--color-dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    opacity: 0;
    transform: scale(0.95);
}

.preloader-logo img {
    height: 3rem;
}

/* shared styles for maintenance + coming-soon pages */
.status-mode {
    min-height: 100vh;
    background: var(--color-dark-green);
}

.logo-bar .column:first-child img {
    height: 2.25rem;
}

.logo-bar {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}

.status-mode {
    display: flex;
    flex-flow: column;
}

.slide-show {
    flex-grow: 1;
    display: flex;
    flex-flow: column;
    padding-top: 25vh;
    height: calc(100vh - 5rem - 25vh);
}

.slide-group-top {
    position: absolute;
    height: 40%;
    width: 100%;
    z-index: 5;
}
.slide-images {
    height: calc(100% - 14.5rem);
    background: #F7F8F3;
    position: relative;
    top: 14.5rem;
}

.slide-curtain {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark-green);
    z-index: 4;
}

.slide-images::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #1F2E31;
    background:linear-gradient(
            90deg, #1F2E31 0%, rgba(31, 46, 49, 0.25) 100%);
    height: 100%;
    z-index: 3;
}


.slide-images figure {
    padding: 0;
    margin: 0;
    display: flex;
    flex-flow: column;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;

    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;

}

.slide-images figure.active {
    opacity: 1;
    z-index: 2;
}

figure.slide-image img,
figure.slide-image video {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.status-footer {
    background: #fff;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer-curtain {
    position: absolute;
    inset: 0;
    background: var(--color-dark-green);
    z-index: 1;
}

.slide-texts.holder,
.slide-navigation.holder {
    width: 90vw;
    max-width: 1060px;
}

.slide-texts.holder {
    padding-left: 6rem;
    padding-top: 3rem;
    position: relative;
}

.slide-navigation.holder {
    z-index: 5;
    position: relative;
}
.slide-images figure::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(
            180deg, rgba(31, 46, 49, 0.5) 0%, rgba(31, 46, 49, 0) 100%);
    width: 100%;
    height: 50%;
}
.progress-bar {
    width: .3rem;
    height: 30rem;
    background: rgba(255,255,255,0.3);
    position: absolute;
    min-width: 7px;
    min-height: 100%;
}

.progress-bar .status {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--color-light-green);
    transition: height 0.5s ease-in-out;
}

.slide-show .buttons {
    position: absolute;
    left: -6rem;
    top: 6rem;
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.slide-show .buttons .button {
    background-image: url(/assets/icons/icon-arrow-right-rounded.svg);
    width: 2rem;
    height: 2rem;
    cursor: not-allowed;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
}
.slide-show .buttons .button.active {
    cursor: pointer;
    opacity: 1;
}
.slide-show .buttons .button.prev {
    transform: rotate(
            180deg);
}

.slide-show .slide {
    position: absolute;
    top: 3rem;
}

/* ------------------------------------------------
   Initial states for intro animation
   GSAP will animate these in — keeps content
   accessible in markup for SEO/screen readers
   ------------------------------------------------ */
.status-mode .logo-bar {
    opacity: 0;
    transform: translateY(1rem);
}

.slide-show .slide h1 .char,
.slide-show .slide h2 .char,
.slide-show .slide p .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.6em);
    filter: blur(4px);
}

.slide-show .slide h1 .line,
.slide-show .slide h2 .line,
.slide-show .slide p .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.15em;
}

.progress-bar {
    height: 0;
}

.slide-show .buttons .button {
    opacity: 0;
}

.slide-show .buttons .button.intro-done {
    opacity: 0.5;
}

.slide-show .buttons .button.intro-done.active {
    opacity: 1;
}

/* ------------------------------------------------
   Height breakpoints
   ------------------------------------------------ */
@media (max-height: 1080px) {

    .slide-show {
        padding-top: 15vh;
        height: calc(100vh - 5rem - 15vh);
    }

}

@media (max-height: 850px) {

    .slide-show {
        padding-top: 10vh;
        height: calc(100vh - 5rem - 10vh);
        min-height: 48rem;
    }

}

