@import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,72,300;0,72,500;1,72,300&display=swap');

:root {
    font-size: clamp(16px, 1.2vw, 20px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Literata', serif;
    cursor: none;
    background-color: rgb(10, 10, 10);
}

* {
    cursor: none !important;
}

.hero-container {
    width: 100vw;
    height: 100vh;
    background-color: transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 6;
}


.logo {
    position: absolute;
    left: 8px;
    top: 4px;
    color: white;
    font-size: clamp(1.25rem, 1.46vw, 1.75rem);
    font-weight: 300;
    font-style: italic;
    z-index: 10;
    mix-blend-mode: difference;
    text-decoration: none;
    font-variation-settings: "opsz" 72;
}

.button {
    position: absolute;
    right: 8px;
    top: 8px;
    padding: 4px 12px 6px 12px;
    border: 1px solid white;
    background-color: transparent;
    border-radius: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: clamp(0.875rem, 0.94vw, 1.125rem);
    font-weight: 300;
    font-style: italic;
    z-index: 10;
    text-decoration: none;
    cursor: pointer;
    mix-blend-mode: normal;
    pointer-events: auto;
    transition: background-color 320ms ease, color 320ms ease, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 320ms ease;
    will-change: transform, background-color, color;
    font-variation-settings: "opsz" 72;
    text-transform: uppercase;
    font-feature-settings: "case" 1;
}

.btn-mobile {
    display: none !important;
}

.btn-desktop {
    display: inline !important;
    font-feature-settings: "case" 1;
}

.email-at {
    position: relative;
    top: -0.1em;
    display: inline-block;
}

.button:hover {
    background-color: #ffffff !important;
    color: #000000;
    transform: translateY(-2px);
}

.hero-title {
    position: absolute;
    left: 8px;
    bottom: 8px;
    width: 63.65%;
    color: white;
    font-size: clamp(2.1rem, 9.2vw, 6.5rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.12em;
    text-transform: uppercase;
    z-index: 10;
    mix-blend-mode: difference;
    font-variation-settings: "opsz" 72;
}

.tagline {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: clamp(230px, 48vw, 360px);
    color: white;
    font-size: clamp(0.9rem, 0.95vw, 1rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    text-align: left;
    z-index: 10;
    mix-blend-mode: difference;
    font-variation-settings: "opsz" 72;
}

#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 12;
    pointer-events: none;
}

#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    pointer-events: none;
}

#fluid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 256px;
    height: 256px;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}

#cursor-indicator {
    position: fixed;
    width: 48px;
    height: 48px;
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid white;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 20;
    will-change: transform;
}

@media (max-width: 768px) {
    .hero-container {
        padding: 64px 8px 24px 8px;
        height: calc(var(--vh, 1vh) * 100);
    }

    .hero-title {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        font-size: clamp(2rem, 12vw, 4rem);
        letter-spacing: -0.09em;
    }

    .tagline {
        display: none;
    }

    .hero-title {
        position: absolute;
        left: 8px;
        bottom: calc(8px + max(var(--safe-bottom, 24px), env(safe-area-inset-bottom, 0px)));
        width: calc(100% - 16px);
    }

    #three-canvas,
    #fluid-canvas,
    #cursor-indicator {
        display: none;
    }

    #bg-canvas {
        z-index: 2;
    }

    .hero-container {
        z-index: 10;
    }

    .logo,
    .button,
    .hero-title,
    .tagline {
        mix-blend-mode: normal;
    }

    html, body {
        cursor: auto;
    }

    * {
        cursor: auto !important;
    }

    .btn-mobile {
        display: none !important;
    }

    .btn-desktop {
        display: inline !important;
    }
}

@supports (height: 100dvh) {
    @media (max-width: 768px) {
        .hero-container {
            min-height: 100dvh;
        }

        .hero-title {
            bottom: calc(8px + env(safe-area-inset-bottom));
        }
    }
}
