html {
  background: var(--color-background);
  overflow-x: hidden;
  overflow-y: hidden;
}
body {
   
}
.logo-hero {
    transition: opacity .4s, transform .8s;
    opacity: 0;
    transition-delay: 0.8s;
    transform: translateY(0px);
}
#content {
    z-index: 2;
    display: none;
}
.footer {
    display: none;
}

@media screen and (min-width: 992px) {
    .logo {
        padding: 0 0 0;
    }
}

.segment-profile figcaption {
    font-family: var(--font-alt);
    font-style: italic !important;
    margin-top: 5px;
    letter-spacing: 0.05em;
    font-size: 1.1em;
}
.segment-profile figcaption strong {
    font-size: 1.2em;
    font-style: normal !important;
}

/* =====  BLOTCHES  ==================================================== */

.blotch-holder {
    position: absolute;
    width: 100%; height: 100%;
    left:0;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
}
.blotch1 {
    width: 40%;
    transform: translateX(-50%);
    transition-delay: .2s;
}
.blotch2 {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
    transform: translateX(60%);
    text-align: right;
    transition-delay: .5s;
}

@media screen and (max-width: 539px) {
    .blotch-holder {
        height: 120%;
    }
    .blotch1, .blotch2 {
        width: 100%;
    }
}

/* =====  NEW HERO  ==================================================== */

.hero-fixed {
    position: fixed;
    width: 100%;
    height: 100vh !important;
    z-index: -1; 
}
.bgimage {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(1.01);
    opacity: 0.8;
}
.bg-gradient-paper {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 140%;
    z-index: -1;
    background: #CB6F00;
    background: linear-gradient(180deg, rgba(255, 254, 246, 0), rgba(255, 254, 246, 1),rgba(255, 254, 246, 1.0));
}
.bg-gradient-paper.reverse {
    background: linear-gradient(0deg, rgba(255, 254, 246, 0), rgba(255, 254, 246, 1),rgba(255, 254, 246, 1.0));
    bottom: auto;
    top:0;
    height: 135%;
}
.hero-dummy {
    width: 100%;
    height: 200vh;
}
.hero-sticky {
    width: 100%;
    height: 50% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: sticky;
    top:0;
}
.dummy-holder {
    width: 100%;
    height: 200%;
    position: absolute;
    top:0;
    border: 0px solid red;
    mix-blend-mode:multiply;   
}
.dummy1 {
    width: 100%;
    height: 35%;
    
}
.dummy2 {
    width: 100%;
    height: 70%;
    text-align: right;
    overflow: hidden;
}
.dummy2 img {
    width: 100%;
    margin-left: auto;
    opacity: 0.8;
    /*mix-blend-mode:multiply;  */
    transform: rotate(0deg) translateY(0%) translateX(0%);
}
.hero-headers {
    height: 100%;
    position: relative;
}
.hero-headers .ttl {
    /*transition: opacity .8s, transform .8s, filter .6s;*/
    transition: opacity .8s, transform .8s;
    opacity: 0;
    /*filter: blur(12px);*/
    transform: translateY(-20px);
    
}

.hero-headers .ttl.intro {
    /*transform: none;*/
    opacity: 1;
    filter: none;
}


.hero-headers .ttl1 {
    position: absolute;
    bottom:0;
}
.hero-headers .ttl2 {
    position: absolute;
    top:10%;
}


@media screen and (max-width: 539px) {
    .bgimage {
        object-fit: cover;
        width: 280%;
        height: 100%;
        transform: translateX(-7%);
    }
    .hero-dummy {
        border: 0px solid blue;
        height: 200vh;
    }
    .dummy2 {
        height: 70%;
    }
    .dummy2 img {
        width: 250%;
        opacity: 0.8;
    }
    .hero-sticky {
        height: 50% !important;
        border: 0px solid red;
    }
    .hero-headers .ttl {
        width: calc(100% - 50px);
    }
    .hero-headers .ttl1 {
        margin-bottom: 20px;
    }
    .hero-headers .ttl2 {
        top:30%;
    }
    .timeline-box {
        padding-bottom: 10px;
    }
}


/* =====  HERO  ==================================================== */


.hero-arr-more {
    position: absolute;
    z-index: 9999;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    color: white;
    
    display: flex; justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: transform .6s, opacity .4s;
    opacity: 0;
    transition-delay: 1.0s;
    margin-left: -4px;
}
.arr-more-line {
    width: 1px;
    background: white;
    height: 100%;
    position: absolute;
    left: 50%;
    display: none;
}
.cover-buffer {
    width: 100%;
    aspect-ratio: 16/5;
    border: 0px solid red;
}
@media all and (min-width: 768px) {
    .cover-buffer {
        width: 60%;
        aspect-ratio: 16/9;
        border: 0px solid blue;
    }
}
@media all and (min-width: 992px) {
    .hero-arr-more {
        bottom: 10%;
        margin-left: 0px;
    }
}

/* =====  HEADLINE ================================================= */



/* =====  INTRO ==================================================== */


.gallery-item .type-image {
    position: relative;
}
.img-alt {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 9;
    display: none;
}
.img-alt img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loader-holder {
    position: fixed;
    top:0;
    width:100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 999999;
    opacity: 0;
    transition: opacity .3s;
}
.loader-ico {
    width: 50px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 1px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(0deg, #999, #ddd) border-box;
}

.loader-ico.spin {
    animation:spin 1s linear infinite;
}
@keyframes spin { 
    100% { 
        transform:rotate(360deg); 
    } 
}


/* =====  TESTIMONIALS  ==================================================== */


.testi-holder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.testi-holder .quote-holder {
    position: absolute;
    width: 80%; 
}
.testi-holder .quote-holder .quote-box {
    height: 100%;
}
.testi-holder .testi-img {
    position: absolute;
    width: 100%; aspect-ratio: 1/1;
    transform: rotate(0deg);
    /*animation: spin 5s linear infinite;*/
}
.testi-holder .testi-img .img-img {
    position: absolute;
    width: 145%; 
    top: 50%; left: 50%;
    transform: translate(-58%, -50%);
}
.testi-holder .testi-img .img-img img {
    filter: blur(1px);
}
.testi-dots {
    position: absolute;
    top: 100%; left: 50%;
    transform: translate(-50%, 0%);
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 50%; 
}
.testi-dots .flickity-page-dots {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    width: 30%;
    transform: translateX(40px);
    bottom: 40px;
}
.testi-dots .flickity-page-dots .dot {
    background: var(--color-teal);
    aspect-ratio: 1/1;
}
.testi-holder .testi-base {
    width: 100%;
    aspect-ratio: 1/1;
}



@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@media screen and (min-width: 540px) {
    .testi-holder .testi-img .img-img {
        width: 120%; 
        transform: translate(-58%, -50%);
    }
}
@media screen and (min-width: 768px) {
    .testi-holder .quote-holder {
        width: 80%;
    }
    .testi-holder .testi-img .img-img {
        width: 140%;
        transform: translate(-58%, -50%);
    }
    .testi-dots {
        width: 120%;
    }
    .testi-dots .flickity-page-dots {
        transform: translateX(50px);
        bottom: 70px;
    }
}
@media screen and (min-width: 1400px) {
    .testi-holder .testi-img .img-img {
        width: 140%;
        transform: translate(-58%, -50%);
        max-width: 800px;
    }
    .testi-dots {
        width: 140%;
    }
    .testi-holder .quote-holder {
        width: 90%;
    }
    .testi-dots .flickity-page-dots {
        transform: translateX(60px);
        bottom: 65px;
    }
}
@media screen and (min-width: 1920px) {
    .testi-holder .quote-box {
        padding: 0 5%;
    }
}

.quote-holder-left .quote-box {
    padding-right: 30%;
    filter: blur(2px);
    opacity: 0.8;
}
.quote-holder-right .quote-box {
    padding-left: 30%;
    filter: blur(2px);
    opacity: 0.8;
}