.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: clip;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
    font-family: "Space Mono", monospace;
    height: 800vh;
    background-color: #e3e3db;
}

p {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    clip-path: polygon(0% 45%, 0% 45%, 0% 55%, 0% 55%);
    will-change: clip-path;
}

.hero-section {
    padding: 0;
    margin: 0;
}

.progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 25vw;
    padding: 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cdfcff;
}

.video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100svh;
    background-color: black;
    clip-path: polygon(20% 20%, 80% 20%, 80% 80%, 20% 80%);
    will-change: transform, clip-path;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

nav{
    width: 100vw;
    padding: 1.5em 2em;
    display: flex;
    justify-content: space-between;
    gap: 1em;
    color: #fff;
    mix-blend-mode: difference;
    z-index: 2;
}

.links{
    width: 100vw;
    display: flex;
    justify-content: flex-end;
    gap: 1em;
    color: #fff;
    mix-blend-mode: difference;
    z-index: 2;
    transform: translateX(-50%);
    will-change: transform;
    z-index: 2;
}


.header {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header p {
    font-size: 1vw;
}

.header h1 {
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-size: 7vw;
    line-height: 0.85;
    font-weight: 900;
    letter-spacing: -.075rem;
    color: #ffffffc9;
    
}

.header p {
    margin-top: 1em;
    font-family: monospace;
    color: #7da1b3;
}


.logo {
    position: absolute;
    top: 0;
    padding: 1em 2em;
    left: 50%;
    display: flex;
    transform: translateX(-50%);
    will-change: transform;
    color: #fff;
    mix-blend-mode: difference;
    z-index: 2;
}

.char.anim-out h1 {
    position: relative;
    will-change: transform;
}

.links a {
    text-decoration: none;
    color: white;
    font-weight: 100;
}

.header h1,
.header p,
.char.anim-out {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.header span {
    position: relative;
    display: block;
    transform: translateY(100%);
    will-change: transform;
}


img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 0;
    background-color: #000;
    overflow: hidden;
}

.gallery-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 160vw;
    height: 100vh;
    display: flex;
    gap: 4em;
}

.col {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 4em;
    will-change: transform;
}

.img {
    flex: 1;
    overflow: hidden;
    background-color: white;
}

.img.main {
    position: relative;
    overflow: hidden;
}

.img.main img {
    position: relative;
    transform: scale(2);
    will-change: transform;
}

.image-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    opacity: 0;
    z-index: 2;
    width: 100%;
    padding: 0 2rem;
    pointer-events: auto; /* Ensures clicks go through */
}

.image-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: Impact, sans-serif;
}

.image-content p {
    font-size: .5rem;
    margin-bottom: 2rem;
    max-width: 400px;
    margin: 0 auto 2rem;
    /* font-family: Impact, sans-serif; */
    letter-spacing: -.5px;
    font-weight: 100;
}

.explore-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 0.25rem .75rem;
    border: 1px solid white;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: .75rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.explore-link:hover {
    background: white;
    color: black;
}

.container {
    width: 100%;
    height: 100%;
}

section {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: #e1dedc;
    padding: 2em;
}

.intro {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    padding: 4em 0;
    background-color: #e1dedc;
    color: #05364c;
}

.intro p {
    padding: 1em;
}

.tagline {
    padding: 20em;
}

.divider {
    width: 1.5px;
    height: 30%;
    background-color: #05364c;
}

section.ws{
    width: 100vw;
    height: 600vh;
    background-color: transparent;
}

.ws {
    pointer-events: none;
}

.outro {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #e1dedc;
    color: #05364c;
}

.outro p {
    padding: 1em 20em;
}

.outro a {
    text-decoration: none;
    color: #05364c;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.word {
    display: inline-block;
    position: relative;
    will-change: transform;
    cursor: default;
    transition: color 0.3s ease;
}

.word:hover {
    color: #000;
}

.intro-text, .outro-text {
    perspective: 1000px;
}

@media(max-width: 900px) {
    p {
        font-size: 13px;
    }

    .progress-bar {
        justify-content: flex-end;
    }

    .progress-bar p:nth-child(1) {
        display: none;
    }
    .header h1 {
        font-size: 20vw;
    }
    .header p {
        font-size: 5vw;
    }
}