*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
}

.blob-container {
    background: black;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

.blob-container:after {
    content: '';
    width: 100%;
    height: 100vh;
    background: url('images/blobgrain.png');
    background-size: 200px;
    mix-blend-mode: overlay;
    position: absolute;
    top: 0;
    left: 0;
}

.blob-container .blobs {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.blob-container .blobs .blob {
    width: 50%;
    height: 50%;
    border-radius: 100%;
    position: absolute;
    background-color: #0049FF;
    mix-blend-mode: multiply;
    filter: blur(80px);
}

.blob-container .blobs .blob.a {
    background-color: #404040;
    animation: circular2 10s linear infinite;
}

.blob-container .blobs .blob.b {
    background-color: #404040;
    animation: circular 8s linear infinite;
}

.blob-container .blobs .blob.c {
    animation: circular 20s linear infinite;
}

@keyframes circular {
    0% { transform: translate(0, -150px); }
    25% { transform: translate(150px, 0); }
    50% { transform: translate(0, 150px); }
    75% { transform: translate(-150px, 0); }
    100% { transform: translate(0, -150px); }
}

@keyframes circular2 {
    0% { transform: translate(0, 150px); }
    25% { transform: translate(-150px, 0); }
    50% { transform: translate(0, -150px); }
    75% { transform: translate(150px, 0); }
    100% { transform: translate(0, 150px); }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: white;
    border-radius: 0px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

* {
    scrollbar-width: thin;
    scrollbar-color: white transparent;
}

.grain {
    position: fixed;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-position: center;
    z-index: 1;
    pointer-events: none;
}

.grain:after {
    content: "";
    background-image: url("images/grain2.jpg");
    height: 300%;
    width: 300%;
    position: fixed;
    opacity: 0.15;
    animation: animateGrain 8s steps(10) infinite;
}

@keyframes animateGrain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, -20%); }
    30% { transform: translate(-5%, -10%); }
    40% { transform: translate(-15%, -20%); }
    50% { transform: translate(-5%, -10%); }
    60% { transform: translate(-15%, -20%); }
    70% { transform: translate(-5%, -10%); }
    80% { transform: translate(-15%, -20%); }
    90% { transform: translate(-5%, -10%); }
    100% { transform: translate(-15%, -20%); }
}

:root {
    --circle-color: #f8c996;
    --circle-size: 60px;
    --text-p-size: 30px;
    --text-p-weight: 600;
}

@media (max-width: 768px) {
    :root {
        --text-p-size: 20px;
    }
}

.loader {
    width: 100vw;
    max-width: 100%;
    height: 100vh;
    max-height: 100%;
    background: white;
    position: absolute;
    top: 0;
    z-index: 999;
    animation: disappear .1s forwards;
    animation-delay: 2.9s;
}

@keyframes disappear {
    0% { opacity: 1; }
    100% { opacity: 0; pointer-events: none; display: none; background: transparent; }
}

.loader::after {
    content: '';
    width: 100%;
    height: 0%;
    background: black;
    position: absolute;
    bottom: 0;
    z-index: 1000;
    animation: 3s loader ease-in-out;
}

@keyframes loader {
    0% { height: 0%; }
    100% { height: 100%; }
}

@keyframes restore-scroll {
    0% { overflow-y: hidden; }
    100% { overflow-y: auto; }
}

.loader1, .loader2 {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    mix-blend-mode: exclusion;
    z-index: 1001;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.loader1 {
    animation: 1s loader-letter infinite;
    animation-iteration-count: 3;
}

.loader2 {
    animation: 1s loader-letter infinite;
    animation-iteration-count: 3;
    animation-delay: .5s;
}

@keyframes loader-letter {
    0% { opacity: 0; transform: translate(-50%, -100%); }
    20% { opacity: 1; transform: translate(-50%, -50%); }
    100% { opacity: 0; transform: translate(-50%, -0%); }
}

html {
    scroll-behavior: auto;
}

body {
    background: black;
    color: white;
    font-family: 'Archivo', sans-serif;
    font-size: var(--text-p-size);
    font-weight: var(--text-p-weight);
    overflow-y: hidden;
    animation: restore-scroll 0.1s forwards;
    animation-delay: 3s;
}

section {
    min-height: 600px;
    height: 100svh;
    width: 100svw;
    max-width: 100%;
    position: relative;
}

.section_one_title {
    opacity: 0;
    transform: translateY(30px);
    position: fixed;
    /* font-size: 12vw;
    font-weight: 900;
    letter-spacing: -2.1vw;*/
    mix-blend-mode: difference; 
    z-index: 10;
    transition: .5s;
    top: 50px;
    left: 30px;
    animation: .5s reveal-title forwards;
    animation-delay: 3.1s;
}

/* Logo carousel styles integrated into main class */
.section_one_title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.section_one_title img {
    /* height: 8vw; */
    width: 34vw;
    /* max-height: 120px;
    min-height: 60px; */
    transition: width 0.2s ease;
}

@keyframes reveal-title {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0px); }
}

.section_one_title.scrolled {
    /* font-size: 6vw;
    transition: .5s;
    letter-spacing: -1vw;
    top: 0px; */
}

/* Logo carousel scrolled state */
.section_one_title.scrolled img {
    width: 20vw;
    /* height: 4vw; */
    /* max-height: 60px;
    min-height: 30px; */
}

@media (max-width: 768px) {
    @keyframes reveal-title-mobile {
        0% { opacity: 0; transform: translate(-50%, 30px); }
        100% { opacity: 1; transform: translate(-50%, 0px); }
    }

    .section_one_title {
        /* width: 100%;
        display: flex;
        gap: 10px;
        justify-content: center;
        letter-spacing: -3vw;
        font-size: 18vw; */
        top: 20px;
        left: 50%;
        transform: translate(-50%, 30px);
        animation: .5s reveal-title-mobile forwards;
        animation-delay: 3.1s;
    }

    .section_one_title > span {
        /* transform: translatex(-12px); */
    }

    .section_one_title.scrolled {
        /* letter-spacing: -2.5vw;
        font-size: 13vw; */
        transform: translate(-50%, 0px);
    }

    /* Mobile logo carousel styles */
    .section_one_title {
        justify-content: center;
    }

    .section_one_title img {
        width: 48vw;
        /* height: 12vw; */
        /* max-height: 80px;
        min-height: 40px; */
    }

    .section_one_title.scrolled img {
        width: 30vw;
        /* height: 8vw; */
        /* max-height: 50px;
        min-height: 25px; */
    }
}

@keyframes animate-type {
    0% { font-variation-settings: "wght" 900, "slnt" 0; }
    80% { font-variation-settings: "wght" 900, "slnt" 0; }
    100% { font-variation-settings: "wght" 100, "slnt" 0; }
}

.section_one_title span {
    font-family: 'Archivo', sans-serif;
    animation: animate-type 2s infinite alternate ease-in-out;
    display: inline-block;
}

.section_one_title span:nth-child(1) { animation-delay: 0s; }
.section_one_title span:nth-child(2) { animation-delay: 0.2s; }
.section_one_title span:nth-child(3) { animation-delay: 0.5s; }
.section_one_title span:nth-child(4) { animation-delay: 0.7s; }
.section_one_title span:nth-child(5) { animation-delay: 0.9s; }

.nav {
    overflow: hidden;
    position: fixed;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 20px;
    width: 250px;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, -10px);
    z-index: 9;
    animation: .5s reveal-nav forwards;
    animation-delay: 4.1s;
    opacity: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

@keyframes reveal-nav {
    0% { opacity: 0; transform: translate(-50%, -10px); }
    100% { opacity: 1; transform: translate(-50%, 0px); }
}

.nav:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav a {
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.nav a img {
    width: 24px;
    height: 24px;
    pointer-events: none;
    transition: .3s;
    filter: brightness(0) invert(1);
}

.nav a.active img {
    filter: brightness(0);
    transition: .3s;
}

.nav a:hover img {
    filter: brightness(0) !important;
    transition: .3s;
}

.nav:hover .nav a.active:not(:hover) img {
    filter: brightness(0) invert(1) !important;
    transition: .3s;
}

.circle {
    position: absolute;
    top: 50%;
    left: 0;
    width: 68px;
    height: var(--circle-size);
    background: white;
    border-radius: 0;
    transform: translate(0, -50%);
    transition: all 0.3s ease;
    z-index: 1;
}

.section_one_video {
    width: 55svh;
    height: 70svh;
    z-index: 0;
    animation: .5s reveal-video forwards;
    animation-delay: 3.7s;
    opacity: 0;
    top: 50%;
    position: absolute;
    transform: translate(-45%, -50%);
    right: 0;
    overflow: hidden;
}

.section_one_video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes reveal-video {
    0% { opacity: 0; transform: translate(-45%, -50%); }
    100% { opacity: 1; transform: translate(-50%, -50%); }
}

@media (max-width: 768px) {
    .section_one_video {
        width: 75svw;
        height: 65svh;
    }

    @keyframes reveal-video {
        0% { opacity: 0; transform: translate(-5%, -55%); }
        100% { opacity: 1; transform: translate(-5%, -50%); }
    }
}

.section_one_subtitle {
    left: 40%;
    top: 45%;
    position: absolute;
    transform: translateY(-45%);
    animation: .5s reveal-sub forwards;
    animation-delay: 3.4s;
    opacity: 0;
    z-index: 1;
}

@media (max-width: 768px) {
    .section_one_subtitle {
        left: 10%;
    }
}

@keyframes reveal-sub {
    0% { opacity: 0; transform: translateY(-45%); }
    100% { opacity: 1; transform: translateY(-50%); }
}

.word {
    position: relative;
}

.line-mask {
    position: absolute;
    top: 0;
    right: 0;
    background-color: black;
    opacity: 0.8;
    height: 100%;
    width: 100%;
    z-index: 0;
}

.split-word {
    font-size: var(--text-p-size);
}



.scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 0;
    opacity: 0;
    animation: fadeInArrow 1s ease-in-out forwards;
    animation-delay: 4s;
}

.scroll-arrow img {
    width: 24px;
    height: auto;
    filter: brightness(0) invert(1);
    animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes fadeInArrow {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes fadeInButton {
    0% { opacity: 0; transform: translateY(20px) rotate(-5deg); }
    100% { opacity: 1; transform: translateY(0) rotate(-5deg); }
}

.listen-button {
    display: flex
    ;
        justify-content: center;
        align-items: center;
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
    opacity: 0;
    animation: fadeInButton 1s ease-in-out forwards;
    animation-delay: 4.5s;
    background: white;
    color: black;
    
    /* padding: 12px 24px;*/
    height: 80px;
    width: 80px;
    border-radius: 100%;
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    /* font-weight: 600; */
    /* text-transform: uppercase; */
    /* letter-spacing: 1px; */
    cursor: pointer;
    transition: all 0.3s ease;
    /* border-radius: 0; */
    text-decoration: none;
    /* display: inline-block; */
}

.listen-button:hover {
    background: black;
    color: white;
    border: 1px solid white;
    /* transform: translateY(-2px); */
}

.listen-button:active {
    /* transform: translateY(0); */
}


@media (max-width: 768px) {
    .scroll-arrow {
        display: none;
    }
    
    .listen-button {
        bottom: 130px;
        right: 20px;
        /* padding: 10px 20px; */
        font-size: 12px;
    }
}

@media (min-width: 1920px) {
    .listen-button {
        height: 140px;
        width: 140px;
        font-size: 18px;
    }
}

#bio {
    padding: 50px 0;
    height: unset;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

#bio .container .row .split-word + .split-word {
    margin-top: 50px;
}

#bio .container .row div span {
    color: #0049FF;
}

.bio-hidden {
    display: none;
}

.read-more-btn {
    margin-top: 50px;
    cursor: pointer;
    background: transparent;
    color: white;
    font-size: 20px;
    opacity: .8;
}

@media (max-width: 768px) {
    .read-more-btn { font-size: 18px; }
    
    #bio .container .row .split-word:nth-child(even) {
        text-align: right;
    }
}

.read-more-btn:hover {
    opacity: 1;
}

.read-more-btn:active {
    transform: translateY(0);
}

#bio .split-word:not(.bio-hidden) {
    opacity: 0;
    transform: translateY(-40px);
    transition: all 0.6s ease-in-out;
}

#bio .split-word:not(.bio-hidden).visible {
    opacity: 1;
    transform: translateY(0);
}




@keyframes animate-btn {
    0% { font-variation-settings: "wght" 400, "slnt" 0; }
    50% { font-variation-settings: "wght" 900, "slnt" 0; }
    100% { font-variation-settings: "wght" 400, "slnt" 0; }
}



.gallery-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    top: 50%;
    transform: translateY(-50%);
    /* margin-bottom: 150px; */
}

.gallery-container .img-container {
    position: absolute;
    width: 20vw;
    height: auto;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.gallery-container .img-container.visible {
    opacity: 1;
}

.gallery-container .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    will-change: transform;
}

/* .gallery-container .img-container:nth-child(1) { --ty: -38%; left: 7%; top: 50%; transform: translateY(var(--ty)); z-index: 1; } */
.gallery-container .img-container:nth-child(1) { --ty: -50%; left: 19%; top: 50%; transform: translateY(var(--ty)); z-index: 2; }
.gallery-container .img-container:nth-child(2) { --ty: -59%; left: 34%; top: 50%; transform: translateY(var(--ty)); z-index: 1; }
.gallery-container .img-container:nth-child(3) { --ty: -28%; right: 33%; top: 50%; transform: translateY(var(--ty)); z-index: 3; }
.gallery-container .img-container:nth-child(4) { --ty: -54%; right: 20%; top: 50%; transform: translateY(var(--ty)); z-index: 2; }
/* .gallery-container .img-container:nth-child(6) { --ty: -65%; right: 6%; top: 50%; transform: translateY(var(--ty)); z-index: 1; } */

@media (max-width: 768px) {
    .gallery-container .img-container {
        width: 60vw;
    }

    /* .gallery-container .img-container:nth-child(1) { --ty: -81%; left: 2%; top: 50%; transform: translateY(var(--ty)); z-index: 1; } */
    .gallery-container .img-container:nth-child(1) { --ty: -11%; left: 10%; top: 50%; transform: translateY(var(--ty)); z-index: 2; }
    .gallery-container .img-container:nth-child(2) { --ty: -65%; left: 37%; top: 50%; transform: translateY(var(--ty)); z-index: 1; }
    .gallery-container .img-container:nth-child(3) { --ty: -50%; right: 22%; top: 50%; transform: translateY(var(--ty)); z-index: 3; }
    .gallery-container .img-container:nth-child(4) { --ty: -24%; right: 10%; top: 50%; transform: translateY(var(--ty)); z-index: 2; }
    /* .gallery-container .img-container:nth-child(6) { --ty: -87%; right: 6%; top: 50%; transform: translateY(var(--ty)); z-index: 1; } */
}

@media (hover: hover) and (pointer: fine) {
    .social:hover li:not(:hover) {
        opacity: 0.5;
    }
}


#latest {
    display: flex;
    align-items: center;
    justify-content: center;
    /* min-height: 100vh;
    height: 100vh; */
}

#latest .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1920px) {
    #latest .container {
        max-width: 1600px;
    }
}

@media (max-width: 768px) {
    #latest{
        margin-top: 100px;
    }
}

.latest-title {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0;
    text-align: center;
    color: white;
    
}

.latest-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.latest-image:hover {
    transform: scale(1.05);
}

.latest-video {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Larger sizes for big screens */
@media (min-width: 1200px) {
    .latest-image {
        max-width: 500px;
    }
    
    .latest-video {
        max-width: 600px;
        height: 500px;
    }
    
    .latest-video iframe {
        height: 100%;
    }
}

@media (min-width: 1920px) {
    .latest-image {
        max-width: 600px;
    }
    
    .latest-video {
        max-width: 700px;
        height: 600px;
    }
    
    .latest-video iframe {
        height: 100%;
    }
}

.latest-video iframe {
    /* border-radius: 8px; */
}

@media (max-width: 768px) {
    .latest-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .latest-image {
        max-width: 250px;
    }
    
    .latest-video {
        max-width: 100%;
    }
}



#links {
    position: relative;
}

ul.social {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    width: 50%;
}

ul.social li {
    opacity: 0;
    transition: .5s;
    position: relative;
    transform: translateY(20px);
}

ul.social li.visible {
    transition: .5s ease-in-out;
    transform: translateY(0px);
    opacity: 1;
}

ul.social a {
    display: inline-block;
    padding: 0 40px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

ul.social a:hover {
    cursor: crosshair;
}

.copyright {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Archivo', Arial, sans-serif;
    font-weight: 400;
    z-index: 1000;
    pointer-events: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.copyright a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    pointer-events: auto;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.privacy-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.privacy-content {
    background-color: #000;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* border-radius: 10px; */
    width: 80%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.privacy-close {
    color: rgba(255, 255, 255, 0.6);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.privacy-close:hover {
    color: rgba(255, 255, 255, 0.9);
}

.privacy-content h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    font-family: 'Archivo', sans-serif;
    font-size: 24px;
}

.privacy-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
}

.privacy-content a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.privacy-content a:hover {
    color: #fff;
}