:root{
    --color-black-background: #1E1E1E;
    --color-black: #000000;
    --color-white: #FFFFFF;

    --block-margin: 4.8rem;
    --page-padding: 1.6rem;
    --container-width: 100%;
    --wide-width: calc(var(--container-width) - (var(--page-padding) * 2));
    --full-width: calc(100% - (var(--page-padding) * 2));
    --header-height: 10rem;
}

@media (min-width: 768px){
    :root{
        --container-width: 72rem;
    }
}

@media (min-width: 992px){
    :root{
        --block-margin: 9.6rem;
        --container-width: 96rem;
    }
}

@media (min-width: 1200px){
    :root{
        --container-width: 117rem;        
    }
}

/* STYLES */
html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body{
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
	letter-spacing: 0.02em;
    line-height: 1.4;
    font-weight: 300;
    color: var(--color-white);
    background-color: var(--color-black-background);
}

img{
    max-width: 100%;
    height: auto;
}

svg{
    display: block;
    max-width: 100%;
    height: auto;
}

a{
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--color-white);
}

a:is(:hover, :focus, :active){
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.75;
}

p,
ul,
ol,
blockquote,
dl{
    margin-bottom: calc(1em * var(--primary-line-height));
}

dt{
    font: var(--font-headline-6);
    letter-spacing: var(--primary-letter-spacing);
    color: var(--title-color);
}

dd{
    margin-bottom: 0;
}

.hidden{
    display: none;
}

.sr-only{
	position: absolute;
    color: var(--text-color);
    background-color: var(--background-color);
    padding: 0;
}

.sr-only:not(:focus){
	width: 0;
	height: 0;
	overflow: hidden;
	opacity: 0;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, 
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
    margin: 0;
}

[data-animation]{
    opacity: 0;
}

.button{
    padding: 1.5rem 2.3rem;
    border: 0.1rem solid;
    border-radius: 10rem;
    font-size: 1.8rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
    display: inline-block;
    margin: 0;
    background: transparent;
    appearance: none;
    cursor: pointer;
}


@media (min-width: 768px){
    .button{
        font-size: 2.4rem;
    }
}


/* HEADER */
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.3s ease;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, #1E1E1E 75%);
    z-index: 100;
}

.header-inner{
    width: var(--full-width);
    padding: 2.7rem 0;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    row-gap: 1.6rem;
}

.header .logo img{
    width: 5.7rem;
    height: auto;
}

.header nav ul{
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header nav ul li{
    display: block;
    list-style: none;
}

.header nav ul li a{
    display: block;
    padding: 1rem 2rem;
    text-transform: uppercase;
    font-weight: 500;
}

.header .social-media{
    padding: 0;
    margin: 0;
    display: flex;    
}

.header .social-media li{
    display: block;
    list-style: none;
}

.header .social-media li a{
    display: block;
    padding: 1rem 1.6rem;
}

@media (max-width: 767px){
    .header-inner{
        flex-wrap: wrap;
    }

    .header-inner nav ul li a{
        padding: 1rem;
    }

    .header .social-media li a{
        padding: 0.7rem 1rem 1.3rem;
    }
}


/* HERO */
.hero{
    background: linear-gradient(0deg, #1E1E1E 0%, rgba(0, 0, 0, 0.00) 62.85%), linear-gradient(0deg, rgba(30, 30, 30, 0.50) 0%, rgba(30, 30, 30, 0.50) 100%), url('../img/hero-background.jpg'), lightgray 50% / cover no-repeat;
    background-size: cover;
    background-position: 20% top;
}

.hero-inner{
    width: var(--wide-width);
    margin: 0 auto;
    padding: calc(var(--header-height) + 5rem) 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-inner h1{
    line-height: 1;
    letter-spacing: -0.01em;
    margin-bottom: 6.4rem;
}

.hero-inner h1 small{
    font-weight: 400;
    line-height: 1;
    font-size: 1.8rem;
    display: block;
    margin-bottom: 1em;
}

.hero-inner h1 small.animate__animated{
    animation-name: fadeIn;
    animation-duration: 1.5s;
    animation-delay: 0.4s;
}

.hero-inner h1 span{
    text-transform: uppercase;
    font-weight: 800;
    font-size: 6.5rem;
    display: block;
}

.hero-inner h1 span.animate__animated{
    animation-name: fadeIn;
    animation-duration: 2s;
    animation-delay: 1s;
}

.hero-inner p{
    font-size: 1.8rem;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-inner p.animate__animated{
    animation-name: fadeInUp;
    animation-delay: 2s;
}

.hero-icons{
    border-top: 0.1rem solid var(--color-white);
    text-align: center;
}

.hero-icons ul{
    width: var(--wide-width);
    padding: 5rem 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    row-gap: 4rem;
    column-gap: 4rem;
}

.hero-icons ul li{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    row-gap: 1rem;
    width: 100%;
    position: relative;
}

.hero-icons ul li.animate__animated{
    animation-name: fadeInUp;
}

.hero-icons ul li:not(:first-child)::before{
    content: '';
    display: block;
    position: absolute;
    top: -2rem;
    left: 0;
    width: 100%;
    height: 0.1rem;
    background-color: var(--color-white);
}

.hero-icons ul li span{
    font-weight: 500;
    font-size: 1.8rem;
}

@media (min-width: 768px){
    .hero-inner{
        min-height: 100vh;
    }

    .hero-inner h1 small{
        font-size: 2.6rem;
    }

    .hero-inner h1 span{
        font-size: 12rem;
    }

    .hero-icons ul{
        padding: 10rem 0;
    }

    .hero-icons ul li{
        width: calc(50% - 2rem);
    }

    .hero-icons ul li:not(:first-child)::before{
        top: 0;
        left: -2rem;
        width: 0.1rem;
        height: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1199px){
    .hero-icons ul li:nth-child(2n + 1)::before{
        display: none;
    }
}

@media (min-width: 1200px){
    .hero-icons ul{
        flex-wrap: nowrap;
    }

}


/* INTRO TEXT */
.intro-text{
    width: var(--wide-width);
    margin: 6.5rem auto 17.5rem;
    text-align: center;
}

.intro-text.animate__animated{
    animation-name: fadeInUp;
}

.intro-text-inner{
    opacity: 0.7;
}

.intro-text p{
    max-width: 64rem;
    margin: 0 auto 2.4rem;
    font-size: 2.4rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

@media (min-width: 768px){
    .intro-text p{
        font-size: 3.2rem;
    }
}


/* ICONS */
.icons-list{
    width: var(--wide-width);
    margin: 16rem auto;
}

.icons-list ul{
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 5rem;
    row-gap: 4rem;
}

.icons-list ul li{
    display: block;
    list-style: none;
    flex-shrink: 0;
    max-width: calc(50% - 5rem);
}

.icons-list ul li.animate__animated{
    animation-name: fadeInUp;
}

@media (min-width: 768px){
    .icons-list ul{
        column-gap: 9.8rem;
    }
}


/* STORY */
.story{
    overflow: hidden;
    margin: 18rem 0;
}

.story-inner{
    margin: 0 auto;
    width: var(--wide-width);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 8rem;
    row-gap: 4rem;
    align-items: center;
}

.story-image.animate__animated{
    animation-name: fadeInLeft;
}

.story-image img{
    display: block;
    width: 50rem;
    margin: 0 auto;
}

.story-carousel.animate__animated{
    animation-name: fadeInRight;
}

.story-slide > *:last-child{
    margin-bottom: 0;
}

.story-slide{
    align-self: center;
}

.story-slide h2{
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2.4rem;
}

.story-slide p{
    font-size: 1.8rem;
    margin-bottom: 2.4rem;
}

.story-carousel-navigation.animate__animated{
    animation-name: fadeIn;
}

.story-carousel-navigation{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 4rem;
    row-gap: 4rem;
}

.story-carousel-navigation button{
    all: unset;
    cursor: pointer;
    width: 6.4rem;
    transition: all 0.3s ease;
}

.story-carousel-navigation button:is(:hover, :focus, :active){
    opacity: 0.7;
}

@media (min-width: 768px){
    .story-slide h2{
        font-size: 8rem;
    }
}

@media (min-width: 1200px){
    .story-inner{
        grid-template-columns: repeat(2, minmax(0, 1fr)) 6.5rem;
    }

    .story-carousel-navigation.animate__animated{
        animation-delay: 0.5s;
    }
}


/* RECENT WORK */
.recent-work{
    margin: 18rem auto;
    width: var(--wide-width);
    text-align: center;
}

.recent-work-title.animate__animated{
    animation-name: fadeIn;
    animation-delay: 0.2s;
}

.recent-work-title h2{
    text-transform: uppercase;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
}

.recent-work-title h3{
    text-transform: uppercase;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 5rem;
}

.recent-work-slide{
    position: sticky;
    top: var(--header-height);
    border-radius: 2.4rem;
    aspect-ratio: 2.1;
    overflow: hidden;
    margin-bottom: 5rem;
}

.recent-work-slide img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-work-description-wrapper{
    margin-top: 10rem;
}

.recent-work-description-wrapper.animate__animated{
    animation-name: fadeIn;
    animation-delay: 0.2s;
}

.recent-work-description{
    opacity: 0.7;
    max-width: 71rem;
    margin: 0 auto;
}

.recent-work-description h2{
    font-size: 2.6rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
    font-weight: 300;
    margin-bottom: 4rem;
}

.recent-work-description p{
    margin-bottom: 2rem;
}

@media (min-width: 768px){
    .recent-work-title h2{
        font-size: 2.6rem;
    }

    .recent-work-title h3{
        font-size: 12rem;
    }

    .recent-work-description h2{
        font-size: 5.2rem;
    }

    .recent-work-description-wrapper{
        margin-top: 18rem;
    }
}


/* EXPERIENCE HIGHLIGHTS */
.experience-highlights{
    margin: 8rem auto;
    width: var(--wide-width);
}

.experience-highlights.animate__animated{
    animation-name: fadeIn;
    animation-delay: 0.2s;
}

.experience-highlights h2{
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 4rem;
}

.experience-highlights-slide{
    width: auto;
    opacity: 0.7;
    max-width: 70vw;
}

.experience-highlights-slide:not(:last-child){
    border-right: 0.1rem solid;
}

.experience-highlights-slide:last-child{
    margin-right: auto;
}

.experience-highlights-slide.swiper-slide-active{
    opacity: 1;
}

.experience-highlights-slide button{
    all: unset;
    cursor: pointer;
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
    column-gap: 1.2rem;
}

.experience-highlights-selector-number{
    font-size: 4rem;
    line-height: 1.2;
}

.experience-highlights-selector-text{
    font-weight: 700;
    line-height: 1.2;
}

.experience-highlights-navigation-prev,
.experience-highlights-navigation-next{
    all: unset;
    cursor: pointer;
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 1;
}

.experience-highlights-navigation-prev{
    left: 0;
    padding: 0 2rem 0 0;
    background: linear-gradient(270deg, rgba(0,0,0,0) 0, var(--color-black-background) 50%);
}

.experience-highlights-navigation-next{
    right: 0;
    padding: 0 0 0 2rem;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0, var(--color-black-background) 50%);
}

:is(.experience-highlights-navigation-prev, .experience-highlights-navigation-next) img{
    transition: all 0.3s ease;
}

:is(.experience-highlights-navigation-prev, .experience-highlights-navigation-next):is(:hover, :focus, :active){
    outline: none;
}

:is(.experience-highlights-navigation-prev, .experience-highlights-navigation-next):is(:hover, :focus, :active) img{
    opacity: 0.7;
}

.experience-highlights-content-wrapper{
    margin-top: 4rem;
}

.experience-highlights-content-item{
    display: none;
    border: 0.1rem solid var(--color-white);
    border-radius: 2.2rem;
    padding: 4rem 1.6rem;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 8rem;
    row-gap: 4rem;
}

.experience-highlights-content-item.active{
    display: grid;
}

.experience-highlights-content-item-image img {
    border-radius: 2.2rem;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

.experience-highlights-content-item-content h3{
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 4rem;
}

.experience-highlights-content-item-content h3 small{
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.01em;
    display: block;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.experience-highlights-content-item-content :is(p, ul){
    margin-bottom: 2rem;
}

.experience-highlights-content-item-content h4{
    text-transform: uppercase;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
}

@media (min-width: 768px){
    .experience-highlights{
        margin: 18rem auto;
    }

    .experience-highlights h2{
        font-size: 3.5rem;
    }

    .experience-highlights-slide button{
        padding: 2rem 6rem;
    }
    
    .experience-highlights-navigation-prev{
        padding: 0 4rem 0 0;
    }

    .experience-highlights-navigation-next{
        padding: 0 0 0 4rem;
    }

    .experience-highlights-content-item{
        padding: 4rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .experience-highlights-content-item-image{
        order: 2;
    }

    .experience-highlights-content-item-content h3{
        font-size: 4rem;
        margin-bottom: 8rem;
    }
}


/* INSIGHTS + PERSPECTIVES */
.insights{
    margin: 8rem auto;
    width: var(--wide-width);
}

.insights.animate__animated{
    animation-name: fadeInUp;
}

.insights h2{
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 4rem;
}

.insights-list{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 4.8rem;
    row-gap: 4rem;
}

.insights-list-item{
    display: flex;
    flex-direction: column;
    border: 0.1rem solid var(--color-white);
    padding: 1.6rem 1.6rem 2.4rem;
    border-radius: 2.4rem;
}

.insights-list-item img{
    aspect-ratio: 1.5;
    border-radius: 1.6rem;
    margin-bottom: 3.2rem;
}

.insights-list-item h3{
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 3.2rem;
}

.insights-list-item .read-more{
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.insights-list-item .read-more::after{
    content: '';
    display: block;
    width: 2.4rem;
    height: 2.4rem;
    background-image: url('../img/icon-chevron-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 0.4rem;
}

@media (min-width: 768px){
    .insights h2{
        font-size: 3.5rem;
        margin-bottom: 8rem;
    }

    .insights-list{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .insights-list-item{
        padding: 2.4rem;
    }
}


/* CONTACT */
.contact{
    margin: 9rem auto 9rem;
    width: var(--wide-width);
    text-align: center;
}

.contact.animate__animated{
    animation-name: fadeIn;
    animation-delay: 0.2s;
}

.contact-inner{
    max-width: 64rem;
    margin: 0 auto;
}

.contact h2{
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    opacity: 0.7;
    margin-bottom: 4rem;
}

.contact p{
    font-size: 2.4rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.contact .agency{
    margin-top: 4.5rem;
    margin-bottom: 0;
    font-size: 1.6rem;
}

.contact .agency a{
    text-decoration: underline;
}

@media (min-width: 768px){
    .contact{
        margin: 18rem auto 9rem;
    }

    .contact h2{
        font-size: 3.2rem;
        margin-bottom: 8rem;
    }
    
    .contact p{
        font-size: 2.8rem;
    }

    .contact .agency{
        margin-top: 9rem;
    }
}