/*FONTS*/
@font-face {
    font-family: 'Barlow';
    src: url('https://studioanrk.com/home/fonts/Barlow-Thin-100.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow';
    src: url('https://studioanrk.com/home/fonts/barlow-v13-latin-200.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow';
    src: url('https://studioanrk.com/home/fonts/Barlow-Light-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow';
    src: url('https://studioanrk.com/home/fonts/Barlow-Regular-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow';
    src: url('https://studioanrk.com/home/fonts/barlow-v13-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow';
    src: url('https://studioanrk.com/home/fonts/Barlow-SemiBold-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Barlow';
    src: url('https://studioanrk.com/home/fonts/Barlow-Bold-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Share Tech';
    src: url('https://studioanrk.com/home/fonts/ShareTech-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/*GENERAL*/
html, body{
    margin: 0;
    padding: 0;
    font-size: 1em;
    font-size: 16px;
    font-family: 'Barlow', sans-serif;
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

body{
    background: #191919;
    color: #F7F7F7;
    transition: 0.5s ease;
}

body.light{
    color: #191919;
    background: #F7F7F7;
}

p, h1, h2, h3, h4, h5{
    padding: 0;
    margin: 0;
}

a{
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.light a::after {
    content: "";
    display: block;
    border-bottom: 1px solid #000000;
    width: 0%;
    transition: .3s;
}

a::after {
    content: "";
    display: block;
    width: 0%;
    border-bottom: 1px solid #FFFFFF;
    transition: .3s;
}

a:hover::after
{
    width: 100%;
}

header, section, details{
    width: calc(100% - 100px);
    padding: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

#scroller{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

#scrollerTarget{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
}



/*HEADER*/
header{
    position: fixed;
    max-width: 100%;
    z-index: 100;
    padding: 20px 50px;
}

header .main-logo{
    width: 77px;
    position: fixed;
    left: 29px;
    top: 26px;
    transition: .3s;
}

.main-logo a::after{
    display: none;
}

header .main-logo img{
    width: 100%;
    height: 73px;
    margin-top: 3px;
    transition: .3s;
}

.light .hero-header #menuToggle span{
    background: #FFF;
}



.lateral-menu{
    position: fixed;
    width: 400px;
    background: #101010;
    height: 100vh;
    opacity: 0.75;
    top: 0;
    right: 0;
    transition: .5s;
    display: flex;
    justify-content: center;
}

.lateral-menu nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 35px;
}

.lateral-menu h2{
    color: #FFF !important;
}

.lateral-menu.hided{
    right: -400px;
}

.lateral-menu ul, .lateral-menu li{
    padding: 0;
    margin: 0;
    list-style: none;
}

.lateral-menu ul{
    margin-bottom: 70px;
}

.lateral-menu li{
    margin-bottom: 15px;
}

.lateral-menu h2{
    margin-bottom: 15px;
    font-weight: 500;
}

.lateral-menu a{
    color: #FFF;
    text-decoration: none;
}

.light .lateral-menu a::after {

}

.light .lateral-menu a::after {
    content: "";
    display: block;
    width: 0%;
    border-bottom: 1px solid #FFFFFF;
    transition: .3s;
}

.lateral-menu a::after {
    content: "";
    display: block;
    width: 0%;
    border-bottom: 1px solid #FFFFFF;
    transition: .3s;
}

.lateral-menu a:hover::after
{
    width: 100%;
}

.shadow{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .6);
    transition: opacity .5s;
}

.shadow.hided{
    opacity: 0;
    visibility: hidden;
    left: -20000px;
}

/*MENU*/

#menuToggle
{
    display: block;
    position: fixed;
    top: 26px;
    right: 26px;
    z-index: 5;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle input
{
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

#menuToggle span
{
    display: block;
    width: 33px;
    height: 2px;
    margin-bottom: 7px;
    position: relative;
    background: #FFF;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    width 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    height 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    margin-top 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
}

.light #menuToggle span{
    background: #000;
}

#menuToggle span:first-child
{
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
    transform-origin: 0% 100%;
}

#menuToggle span:nth-last-child(1)
{

}

#menuToggle input:checked ~ span
{
    transform: rotate(45deg) translate(-10.5px, -19.5px);
    width: 38px;
    height: 2px;
}

.light #menuToggle input:checked ~ span{
    background: #FFF;
}

#menuToggle input:checked ~ span:nth-last-child(3)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
    transform: rotate(-45deg) translate(-2.5px, 13px);
    width: 38px;
    height: 2px;
    margin-top: 9px;
}

/*CONTENT*/
section{
    margin-bottom: 150px;
}

.image, .image-section {
    margin-bottom: 0;
}

.hero{
    position: relative;
    z-index: 20;
    height: 100vh;
    max-width: 100%;
    width: 100vw;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    opacity: 0;
}

.hero h1{
    font-family: 'Share Tech', sans-serif;
    font-size: 150px;
    margin-bottom: 80px;
    opacity: 0;
    display: none;
}

.light .hero h1{
    color: #F7F7F7;
}

.hero .text-aside{
    opacity: 0;
    position: relative;
}

#h1js{
    font-family: 'Share Tech', sans-serif;
    font-size: 150px;
    margin-bottom: 80px;
    color: #FFFFFF;
    position: relative;
    width: 100%;
    opacity: 0;
    overflow: hidden;
}

.letter{
    /*position: absolute;*/
    font-weight: normal;
    display: inline-block;
    transform-origin: left;
    /*bottom: -200px;*/
    letter-spacing: 0.25em;
}

.light .hero .letter{
    color: #F7F7F7;
}

.text-aside{
    font-size: 22px;
    color: #FFFFFF;
}

.light .hero .text-aside{
    color: #F7F7F7;
}

.logos{
    margin-top: 150px;
    text-align: center;
    opacity: 0;
}

.logos .text-aside{
    font-size: 30px;
    margin-bottom: 30px;
}

.logos ul{
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.summary h2{
    font-family: 'Share Tech', sans-serif;
    font-size: 62px;
    text-align: left;
    font-weight: 400;
    margin: 0 auto 100px auto;
    width:80%;
}

.quote h2{
    font-family: 'Share Tech', sans-serif;
    font-size: 47px;
    text-align: left;
    font-weight: 400;
    margin: 0 auto 100px auto;
    width:80%;
}


.signed{
    display: block;
    text-align: right;
    padding-right: 50px;
    margin-top: 50px;
}

.summary .text-summary{
    color: rgba(255, 255, 255, .6);
    max-width: 60%;
    font-size: 30px;
    line-height: 40px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.light .summary .text-summary{
    color: rgba(0, 0, 0, .6);
}

.video .video-cover{
    width: 100%;
    position: absolute;
}

.video .video-iframe{
    width: 80%;
    margin: 0 auto;
}

.video iframe{
    width: 100%;
}

.image {
    position: relative;
}

.img{
    width:80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.img img{
    width:100%;
}

.text-summary{
    font-size: 30px;
    line-height: 40px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.animated-text {
    overflow: hidden;
}

.animated-text__center {
    position: absolute;
    top: 28%;
    right: 20%;
}

.animated-text__center2 {
    position: absolute;
    top: 50%;
    right: 23%;
    font-size: 26px;
    max-width: 700px;
}

.animated-text__center2 span,
.animated-text__right2 span {
    display: block;
    max-width: 700px;
}

.animated-text__right {
    position: absolute;
    top: 30%;
    right: 0;
}

.animated-text__right2 {
    position: absolute;
    top: 55%;
    right: 13%;
    font-size: 26px;
    max-width: 700px;
}

.img-right {
    margin-left: 0;
}

.img-gif {
    width: 30%;
    margin-left: 200px;
}

.line {
    overflow: hidden;
}

.slider-img ,
.slider-text{
    width: 100%;
    flex-shrink: 0;
}

.carousel .slides{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    margin-bottom: 50px;

}

.carousel .slides ul{
    padding: 0;
    margin: 0;
    display: flex;
    transition: transform 0.7s ease-out;
}

.carousel .slides li{
    padding: 0;
    margin: 0;
    display: block;
    float: left;
    list-style: none;
}

.car-container{
    position: relative;
}

.carousel .controls{
    position: absolute;
    height: 100%;
    width: 80%;
    top: 0;
    left: 0;
    margin-left: 10%;
}


.carousel .controls .left-arrow{
    position: absolute;
    background: url('../img/arrow-left.png') no-repeat center center;
    background-size: 25px;
    height: 100%;
    top: 0;
    left: 0;
    width: 50px;
    cursor: pointer;
    filter: drop-shadow(1px 1px 3px rgba(0,0,0, .5));
}

.carousel .controls .right-arrow{
    position: absolute;
    background: url('../img/arrow-right.png') no-repeat center center;
    height: 100%;
    top: 0;
    right: 0;
    width: 50px;
    background-size: 25px;
    cursor: pointer;
    filter: drop-shadow(1px 1px 3px rgba(0,0,0, .5));
}

.pagination {
    position: absolute;
    z-index: 20;
    bottom: 5%;
    right: 0;
    height: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-btn {
    border: 1px solid #ffffff;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    margin-right: 8px;
    background-color: transparent;
    transition: 0.3s ease;
    cursor: pointer;
}

.pagination-btn:last-child {
    margin: 0;
}

.pagination-active {
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid #ffffff;
    transition: 0.3s ease;
}

.team{
    max-width: 1600px;
    margin-top: 150px;
}

.team ul{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.team li{
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    flex-basis: calc(33% - 60px);
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 60px;
}

.team .team-img{
    flex-basis: 30%;
}

.team .team-info{
    flex-basis: 60%;
    padding-left: 40px;
}

.team .team-img img{
    width: 100%;
}

.team .team-text{
    font-size: 14px;
    line-height: 22px;
    color: rgba(255,255,255,.6);
    margin-bottom: 30px;
}

.light .team .team-text{
    color: rgba(0, 0, 0, .6);
}

.team .team-name{
    font-size: 20px;
    font-weight: 300;
}

.team .team-title{
    font-size: 14px;
}

.credits{
    text-align: center;
}

.credits h3{
    font-size: 22px;
    font-weight: 300;
}

.credits p{
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 24px;
}

.scrolldefContainer{
    perspective: 500px;
}

.scrolldef{
    transition: .3s;
}

.black {
    background: #000!important;
}

.min-margin {
    margin-bottom: 150px;
}

@media(max-width: 1500px){
    .team li{
        flex-basis: calc(50% - 60px);
    }
}

@media(max-width: 1300px){

    .hero h1{
        font-size: 130px;
        margin-bottom: 60px;
    }

    #h1js{
        font-size: 130px;
        margin-bottom: 60px;
    }

    .text-aside{
        font-size: 20px;
    }

    .logos .text-aside{
        font-size: 24px;
        margin-bottom: 30px;
    }

    .summary h2{
        font-size: 47px;
        /* margin-bottom: 100px; */
        margin: 0 auto 100px auto;
        width:80%;
    }

    .quote h2{
        font-size: 46px;
        margin-bottom: 100px;
    }


    .text-summary{
        font-size: 24px;
        line-height: 38px;
    }

    .summary .text-summary{
        font-size: 20px;
        line-height: 32px;
    }

    .credits h3{
        font-size: 20px;
    }

    .credits p{
        font-size: 16px;
        margin-bottom: 30px;
        line-height: 24px;
    }
    .animated-text__right {
        right: 5%;
    }
}

@media(max-width: 1100px){
    .team li{
        flex-basis: calc(100% - 60px);
    }
    #h1js {
        font-size: 120px;
    }
}

@media(max-width: 1024px) {
    .animated-text__center,
    .animated-text__right {
        top: 20%;
    }
    #h1js {
        font-size: 90px;
    }
    section,
    .logos {
        margin-bottom: 80px;
    }
    .logos {
        margin-top: 80px;
    }
    .team {
        margin-top: 80px;
    }

}

@media(max-width: 900px) {
    .animated-text__center,
    .animated-text__right {
        position: static;
    }
    .img,
    .carousel .slides {
        margin-bottom: 50px;
    }
    .img-right {
        margin-left: auto;
    }
}

@media(max-width: 800px){

    header .main-logo{
        width: 58px;
        left: 22px;
        top: 16px;

    }
    header .main-logo img{
        margin-top: 3px;
        height: 54px;
    }
}

@media(max-width: 768px){
    .video .video-iframe {
        width: 100%;
        margin: 0 auto;
        height: 600px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .summary h2 {
        width: 100%;
    }
    .quote h2{
        width:100%;
    }
    .lateral-menu{
        width: 100vw;
        padding: 0;
        text-align: center;
    }

    .lateral-menu ul {
        margin-bottom: 50px;
    }

    .lateral-menu li {
        margin-bottom: 10px;
    }

    .lateral-menu nav{
        left: 50%;
        transform: translate(-50%, -50%);
        margin-top: 25px;
    }

    .lateral-menu.hided{
        right: -100vw;
    }

    .hero{
        height: 60vh;
    }

    .team {
        margin-top: 50px;
    }

    .team li {
        flex-direction: column;
    }

    .team .team-img{
        text-align: center;
        margin-bottom: 20px;
    }

    .team .team-info{
        padding: 0;
        text-align: center;
    }

    .team .team-img img{
        width: 60%;
        max-width: 200px;
    }

    header, section, details{
        width: calc(100% - 60px);
        padding: 30px;
    }

    .video .video-cover {
        width: 100%;
    }

    .img {
        width: 100%;
        margin-bottom: 50px;
    }

    .carousel .slides {
        width: 100%;
        margin-bottom: 50px;

    }

    .carousel .controls{
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        margin-left: 0%;
    }

    .hero h1{
        font-size: 60px;
        letter-spacing: 0.15em;
        margin-bottom: 30px;
    }

    #h1js{
        font-size: 60px;
        letter-spacing: 0.15em;
        margin-bottom: 30px;
    }

    .text-aside{
        font-size: 18px;
    }

    .logos .text-aside{
        font-size: 22px;
        margin-bottom: 30px;
    }

    .summary h2{
        font-size: 30px;
        margin-bottom: 50px;
    }

    .quote h2{
        font-size: 30px;
        margin-bottom: 100px;
    }


    .text-summary{
        font-size: 16px;
        line-height: 30px;
        max-width: 100%;
        width: 100%;
    }

    .summary .text-summary{
        font-size: 16px;
        line-height: 30px;
        max-width: 100%;
        width: 100%;
    }

    section,
    .logos {
        margin-bottom: 50px;
    }
    .logos {
        margin-top: 50px;
    }
    .carousel .controls .right-arrow,
    .carousel .controls .left-arrow{
        background-size: 15px;
    }

}

@media(max-width: 600px) {
    .text-aside {
        font-size: 16px;
        margin-bottom: -70px;
        margin-top: 70px;
    }
}

@media(max-width: 505px){
    .video .video-iframe{
        height: 320px;
    }
    .logos ul {
        flex-direction: column;
    }
    #h1js {
        font-size: 46px;
    }
    .img {
        margin-bottom: 25px;
    }
}



@media (max-width: 400px) {

    .hero h1{
        font-size: 40px;
        letter-spacing: 0.1em;
    }

    #h1js{
        font-size: 40px;
        letter-spacing: 0.1em;
    }

}

/*SUBSTACK*/

.custom-substack-widget {
    border: none !important;
    display: flex;
    height: auto;
    width: 100%;
    max-width: 100% !important;
    flex-direction: column !important;
    flex-wrap: wrap;
    overflow: hidden;
    border-radius: 0;
    border-width: 0;
    padding: 0;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 24px;
    justify-content: center !important;
    align-items: center !important;
}

.custom-substack-widget input {
    width: 376px !important;
    background: #373737 !important;
    color: rgba(255,255,255,.6) !important;
    display: block !important;
    flex: none !important;
    margin-bottom: 10px !important;
    margin-top: 10px;
    font-size: 14px !important;
    font-weight: 300 !important;
}

.custom-substack-widget button {
    width: 400px !important;
    display: block !important;
    padding: 14px !important;
    border: none !important;
    border-radius: 50px !important;
    margin-bottom: 5px !important;
    font-size: 14px !important;
    font-weight: 300 !important;
}

@media (max-width: 760px){
    .custom-substack-widget input {
        width: 276px !important;
    }

    .custom-substack-widget button {
        width: 300px !important;
    }
}

/*COOKIES*/

.cookies-advise{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, .7);
    z-index: 10;
    top: 0;
    left: 0;
    transition: .5s;
    cursor: pointer;
}

.hideCookies{

    opacity: 0;
    visibility: hidden;

}

.cookies-text {
    position: absolute;
    width: calc(90% - 60px);
    max-width: 400px;
    color: #FFF;
    bottom: 30px;
    left: 30px;
    padding: 30px;
    /*border: 10px solid #FFF;*/
    background: #000;
}

.cookies-advise .text{
    display: inline-block;
    width: 80%;
}

.cookies-advise .close{
    display: inline-block;
    width: calc(20% - 60px);
    position: relative;
    vertical-align: top;
}

.cookies-advise .close::after {
    content:"";
    position: absolute;
    top: 20px;
    left: calc(50% + 10px);
    transform: rotate(-45deg) translate(-2.5px, 13px);
    width: 38px;
    height: 1px;
    background: #FFF;
    z-index: 1;
    transform-origin: 4px 0px;
}
.cookies-advise .close::before {
    content:"";
    position: absolute;
    top: 30.5px;
    left: calc(50% + 12px);
    transform: rotate(45deg) translate(-10.5px, -19.5px);
    width: 38px;
    height: 1px;
    background: #FFF;
    z-index: 1;
    transform-origin: 4px 0px;
}

@media (max-width: 640px) {

    .cookies-text {
        left: 50%;
        transform: translateX(-50%);
    }

}

/*.wrap {*/
/*    width: 100%;*/
/*    height: auto;*/
/*    max-width: 768px;*/
/*    background-color: transparent;*/
/*    margin: 0 auto;*/
/*    padding: 20px;*/
/*    padding-top: 60px;*/
/*}*/

/*.quote {*/
/*    margin-top: 0px;*/
/*    font-family: 'Libre Baskerville', serif;*/
/*    font-size: 60px;*/
/*    color: #4f5664;*/
/*    line-height: 76px;*/
/*    text-align: center;*/
/*    overflow: hidden;*/
/*    height: 100vh;*/
/*}*/

/*.split-line {*/
/*    overflow: hidden;*/
/*}*/

.bw-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 19;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    opacity: 0;
    transition: 0.5s ease;
}

.switcher-on {
    transition: 0.5s ease-in;
    opacity: 1;
}

/* Sun shows in light mode, moon in dark mode (same as the homepage). The SVGs
   draw in black, so dark mode inverts them to white. They cross-fade with a
   slight turn on switch. */
.bw-icon {
    position: absolute;
    inset: 4px;
    width: 32px;
    height: 32px;
    display: block;
    transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}

body:not(.light) .bw-icon {
    filter: invert(1);
}

.light .bw-icon-moon,
body:not(.light) .bw-icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
}

.logos {
   margin: 0 auto;
}

.text-wrapper {
    width: 100%;
    height: 50px;

}
.text-wrapper ul {
    padding: 0;
    margin: 0;
}

.text-wrapper div {
    width: 100%;
}

.list li {
    width: 100%;
    max-width: 600px;
    height: 50px;
    display: flex;
    margin: 0 auto;
    position: absolute;
    z-index: -1;
    opacity: 0.4;
    font-size: 30px;
    font-weight: 400;
    padding: 0;
}

.light .list li{
    color: #000000;
}

.list li{
    color: #FFFFFF;
}


.light .list-mask {
    background: #f7f7f7;
    transition: 0.5s ease;

}

.list-mask {
    width: 100%;
    height: 50px;
    transition: 0.5s ease;
    background-color: #191919;
}


.animated-item {
    animation: slideIn 3s forwards cubic-bezier(0.1, 0.67, 0.29, 0.98);
    transition: 1s ease;
}

@keyframes slideIn {
    0% {
        transform: translate3d(0, 110%, 0);
        opacity: 0;
    }
    20% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    80% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
    100% {
        transform: translate3d(0, -110%, 0);
        opacity: 1;
    }
}


@media(max-width: 1024px) {
       .list li {
        justify-content: center;
        font-size: 35px;
    }
}



@media (max-width: 768px) {

    .list li {
        justify-content: center;
        font-size: 25px;
    }

    .text-wrapper {
        height: 30px;
    }
    .list-mask {
        height: 40px;
    }

    @keyframes slideIn {
        0% {
            transform: translate3d(0, 110%, 0);
            opacity: 0;
        }
        20% {
            transform: translate3d(0, 0, 0);
            opacity: 1;
        }
        80% {
            transform: translate3d(0, 0, 0);
            opacity: 1;
        }
        100% {
            transform: translate3d(0, -80%, 0);
            opacity: 1;
        }
    }
}


@media (max-width: 600px) {
    .pagination-btn {
        height: 9px;
        width: 9px;
    }
}

@media(max-width: 505px) {
    .list li {
        justify-content: center;
        font-size: 20px;
    }
}

@media(max-width:425px){
    .pagination-btn {
        height: 7px;
        width: 7px;
    }
}

/* Body images and video embeds: 5px rounded corners (header and team credits are not affected) */
.img.animation-img img,
.slides.animation-img,
.slider-img img,
.image-item img,
.video-iframe iframe,
.video-item video {
    border-radius: 5px;
}

/* Footer: "Jump to" heading (Share Tech) in place of the bio */
.footer-item p.footer-jump {
    margin: 0;
    font-family: 'Share Tech', sans-serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
    .footer-item p.footer-jump {
        font-size: 44px;
    }
}

@media (max-width: 600px) {
    .footer-item p.footer-jump {
        font-size: 36px;
    }
}

/* About menu: large centred bio lead, then a small line of links and copyright (consistent on every page) */
.new-content-container .new-content .new-content-item h3 { font-family:'Share Tech',sans-serif; font-size:clamp(26px,3.2vw,44px); font-weight:400; line-height:1.15; text-align:center; margin-bottom:10px; }
.new-content-container .new-content .new-content__inner { margin-bottom:25px; }
.new-content-container .new-content .new-content-bottom { margin-top:60px; }
.new-content-container .new-content-links-inner { display:none; }
@media (max-width:1024px){ .new-content-container .new-content .new-content__inner{margin-bottom:20px;} .new-content-container .new-content .new-content-bottom{margin-top:40px;} }
@media (max-width:768px){ .new-content-container .new-content .new-content__inner{margin-bottom:15px;} .new-content-container .new-content .new-content-bottom{margin-top:30px;} }
@media (max-width:480px){ .new-content-container .new-content .new-content__inner{margin-bottom:15px;} .new-content-container .new-content .new-content-bottom{margin-top:20px;} }

/* Header title: three sizes by title length (class set in js/anrk.js):
   5 characters or fewer = large, 6 to 10 = medium, over 10 = small.
   Words never break mid-word; long titles wrap between words. */
.hero #h1js.title-l { font-size: clamp(40px, calc(19.4px + 7.33vw), 125px); }
.hero #h1js.title-m { font-size: clamp(34px, calc(14.3px + 6.48vw), 108px); }
.hero #h1js.title-s { font-size: clamp(28px, calc(9.7px + 5.71vw), 92px); }
.hero #h1js .h1-word { display: inline-block; white-space: nowrap; }

/* Compact gallery pages (Tonae, Black Diamond): all copy at the top, images follow with tighter spacing */
.compact-gallery .summary { margin-bottom: 50px; }
.compact-gallery .summary .text-summary + .text-summary { margin-top: 24px; }
.compact-gallery .summary .text-summary.awards { margin-top: 40px; }
.compact-gallery section.image,
.compact-gallery section.carousel { padding-top: 0; padding-bottom: 0; margin-top: 0; margin-bottom: 60px; }
.compact-gallery section.image .img { margin-top: 0; margin-bottom: 0; }
.compact-gallery section.team { margin-top: 100px; }
@media (max-width: 768px) {
    .compact-gallery .summary { margin-bottom: 30px; }
    .compact-gallery .summary .text-summary + .text-summary { margin-top: 18px; }
    .compact-gallery section.image,
    .compact-gallery section.carousel { margin-bottom: 30px; }
    .compact-gallery section.team { margin-top: 60px; }
}

/* Compact gallery: video embeds and paired-image rows use the same tight spacing */
.compact-gallery section.video,
.compact-gallery section.video-section,
.compact-gallery section.image-section { padding-top: 0; padding-bottom: 0; margin-top: 0; margin-bottom: 60px; }
@media (max-width: 768px) {
    .compact-gallery section.video,
    .compact-gallery section.video-section,
    .compact-gallery section.image-section { margin-bottom: 30px; }
}
@media (max-width: 768px) {
    /* these blocks carry ~20px of their own bottom padding on phones */
    .compact-gallery section.carousel,
    .compact-gallery section.video-section,
    .compact-gallery section.image-section { margin-bottom: 10px; }
}

/* Compact gallery: every visual block matches the width of a single image (80% column).
   Paired videos/images share that width together; js/anrk.js sizes each by its aspect ratio so heights match. */
.compact-gallery section.image .img img { width: 100%; height: auto; display: block; }
.compact-gallery .video-container,
.compact-gallery .image-container { width: 80%; margin-left: auto; margin-right: auto; display: flex; justify-content: center; align-items: flex-start; gap: 40px; }
.compact-gallery .video-item,
.compact-gallery .image-item { flex: 1 1 0; min-width: 0; padding: 0; width: auto; }
.compact-gallery .video-item video,
.compact-gallery .image-item img { display: block; width: 100%; height: auto; }
@media (max-width: 768px) {
    .compact-gallery .video-container,
    .compact-gallery .image-container { width: 100%; flex-direction: column; gap: 30px; }
    .compact-gallery .video-item,
    .compact-gallery .image-item { flex: none !important; width: 100%; }
}

/* Single portrait image or video on its own: capped at half the column width on larger screens (class set in js/anrk.js) */
@media (min-width: 769px) {
    /* same width as one item in a side-by-side pair: (column - gap) / 2 */
    .compact-gallery .image-container.portrait-single,
    .compact-gallery .video-container.portrait-single,
    .compact-gallery section.image .img.portrait-single { width: calc((80% - 40px) / 2); }
}

/* Header subtitle sits above a header video (the video is positioned, so it otherwise covers the text) */
.hero .text-aside { position: relative; z-index: 1; }

/* Tighter gap between the big intro text and the small text below it */
.summary h2 { margin-bottom: 60px; }
@media (max-width: 768px) {
    .summary h2 { margin-bottom: 30px; }
}

/* Credits without bios: name and role sit level with the middle of the photo */
@media (min-width: 769px) {
    .team .team-info { align-self: center; }
}
