body{
    margin: 0;
}

html{
    scroll-behavior: smooth;
}


a:link{
    text-decoration: none!important;
    -webkit-tap-highlight-color: transparent;
}

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

.hidden {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(48px) scale(0.96);
    transition: opacity 0.9s cubic-bezier(.16,.84,.44,1), filter 0.9s cubic-bezier(.16,.84,.44,1), transform 0.9s cubic-bezier(.16,.84,.44,1);
}

.show {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0) scale(1);
}

.logo:nth-child(1) {
    transition-delay: 0ms ;
}

.logo:nth-child(2) {
    transition-delay: 150ms ;
}

.logo:nth-child(3) {
    transition-delay: 300ms ;
}

.logo:nth-child(4) {
    transition-delay: 450ms ;
}

.logo:nth-child(5) {
    transition-delay: 600ms ;
}


/*DESKTOP VIEW ONLY*/
.desktop{
    width: 100%;
    background-color: #ffffff;

    .top-blur{
        width: 100%;
        height: 300px;
        background-color: rgb(255, 255, 255);
        position: fixed;
        z-index: 5;
        -webkit-backdrop-filter: blur(15px);
        transition: background-color 0.5s ease;

        /* Mask controls the visibility of the blur effect layer */
        mask-image: linear-gradient(to bottom, transparent 0%, black 100%);

        -webkit-mask-image: linear-gradient(to top, transparent 0%, black 100%);
    }

    .nav-bar{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: end;
        z-index: 10;

        .item-container{
            width: 90%;
            height: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;

            .logo{
                width: auto;
                height: 14px;
                object-fit: contain;
            }

            .text-container{
                display: flex;
                gap: 30px;
                text-decoration: none;

                .nav-title{
                    color: rgb(0, 0, 0);
                    font-family: inter;
                    font-size: 13px;
                    transition: color 0.5s ease;
                }
            }

            .schedule-btn{
                background-color: rgb(0, 0, 0);
                box-sizing: border-box;
                padding-left: 26px;
                padding-right: 26px;
                height: 34px;
                display: flex;
                justify-content: center;
                align-items: center;

                color: rgb(255, 255, 255);
                font-family: inter;
                font-size: 13px;
                border-radius: 4px;
                font-weight: 500;
                transition: background-color 0.5s ease, color 0.5s ease;
            }
        }
    }

    /*SIDE SCROLL PROGRESS DOTS*/
    .scroll-dots{
        position: fixed;
        top: 50%;
        right: 32px;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 16px;
        z-index: 15;

        a{
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: rgba(128, 128, 128, 0.2);
            border: 1px solid rgba(128, 128, 128, 0.5);
            -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
            transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
        }

        a.active{
            background-color: rgb(0, 0, 0);
            border-color: rgb(0, 0, 0);
            transform: scale(1.3);
        }
    }

    /*SCROLL STORY PANELS*/
    .panel{
        width: 100%;
        min-height: 100vh;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: hidden;
        padding: 0 24px;
        background-color: rgb(255, 255, 255);
        color: rgb(0, 0, 0);
    }

    .numeral{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-family: inter;
        font-weight: 800;
        font-size: clamp(180px, 32vw, 440px);
        color: currentColor;
        opacity: 0.06;
        pointer-events: none;
        user-select: none;
        z-index: 0;
        white-space: nowrap;
    }

    .panel-content{
        position: relative;
        z-index: 1;
        max-width: 780px;
        text-align: center;
        display: grid;
        justify-items: center;
    }

    .eyebrow{
        font-family: inter;
        font-weight: 600;
        font-size: 13px;
        letter-spacing: 2px;
        text-transform: uppercase;
        opacity: 0.5;
        margin-bottom: 24px;
    }

    .statement{
        font-family: inter;
        font-weight: 600;
        font-size: clamp(26px, 4vw, 46px);
        line-height: 1.35;
        letter-spacing: -0.5px;
    }

    .accent{
        text-decoration: underline;
        text-underline-offset: 6px;
        text-decoration-thickness: 2px;
    }

    /*HERO PANEL*/
    .hero{
        .hero-title{
            display: grid;
            gap: 4px;

            .line{
                font-family: inter;
                font-weight: 700;
                font-size: clamp(48px, 9vw, 116px);
                line-height: 1.05;
                letter-spacing: -2px;
            }
        }

        .hero-sub{
            font-family: inter;
            font-weight: 300;
            font-size: 18px;
            color: #A6A6A5;
            margin-top: 28px;
            max-width: 520px;
        }
    }

    .scroll-cue{
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0.7;
        color: rgb(0, 0, 0);
        font-size: 28px;
        animation: bounce 1.8s ease-in-out infinite;
        z-index: 1;
    }

    @keyframes bounce {
        0%, 100%{
            transform: translate(-50%, 0);
        }
        50%{
            transform: translate(-50%, 10px);
        }
    }

    /*CLOSING PANEL*/
    .closing{
        .closing-title{
            font-family: inter;
            font-weight: 700;
            font-size: clamp(32px, 6vw, 60px);
            letter-spacing: -1px;
        }

        .btn-flex{
            display: flex;
            gap: 16px;
            margin-top: 36px;

            .btn-1{
                width: 200px;
                height: fit-content;
                background-color: rgb(0, 0, 0);
                box-sizing: border-box;
                padding-left: 42px;
                padding-right: 42px;
                padding-top: 8px;
                padding-bottom: 8px;
                border-radius: 4px;
                display: flex;
                justify-content: center;
                align-items: center;

                font-family: inter;
                color: rgb(255, 255, 255);
                font-size: 14px;
                font-weight: 500;
            }

            .btn-2{
                width: 200px;
                height: fit-content;
                background-color: transparent;
                border: 1px solid #E5E5E7;
                box-sizing: border-box;
                padding-left: 42px;
                padding-right: 42px;
                padding-top: 8px;
                padding-bottom: 8px;
                border-radius: 4px;
                display: flex;
                justify-content: center;
                align-items: center;

                font-family: inter;
                color: rgb(0, 0, 0);
                font-size: 14px;
                font-weight: 500;
            }
        }
    }

    .bottom-content{
        width: 100%;
        box-sizing: border-box;
        padding: 64px 0 40px;
        background-color: #FAFAFA;
        border-top: 1px solid #E5E5E7;
        display: flex;
        flex-direction: column;
        align-items: center;

        .footer-top{
            width: 90%;
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 56px;

            .footer-logo{
                height: 16px;
                width: auto;
                object-fit: contain;
            }

            .footer-tagline{
                font-family: inter;
                font-weight: 400;
                font-size: 12px;
                color: #ADADAD;
                padding-left: 16px;
                border-left: 1px solid #E5E5E7;
            }
        }

        .flex-box{
            width: 90%;
            height: auto;
            box-sizing: border-box;
            padding-top: 0;
            display: flex;
            gap: 72px;

            .text-container{
                width: auto;
                height: auto;
                flex: 1;

                .title{
                    font-family: inter;
                    font-weight: 600;
                    font-size: 11px;
                    letter-spacing: 0.08em;
                    text-transform: uppercase;
                    color: #8A8A8A;
                }

                .divider{
                    width: 28px;
                    height: 2px;
                    border-radius: 1px;
                    background-color: #1A1A1A;
                    margin-top: 14px;
                    margin-bottom: 22px;
                }

                .title2{
                    font-family: inter;
                    font-weight: 400;
                    font-size: 12px;
                    color: #ADADAD;
                }

                .grid-box{
                    display: grid;
                    gap: 16px;

                    .link{
                        display: grid;
                        gap: 2px;

                        .details{
                            font-family: inter;
                            font-weight: 400;
                            font-size: 12px;
                            margin-top: 6px;
                            color: black;
                            transition: color 0.2s ease;
                        }

                        .title3{
                            font-family: inter;
                            font-weight: 400;
                            font-size: 12px;
                            color: #000000;
                            text-decoration: solid underline;
                        }
                    }

                    a:hover .details{
                        color: #757575;
                        text-decoration: underline;
                    }
                }

                .footer-nav{
                    display: grid;
                    gap: 14px;

                    .footer-link{
                        font-family: inter;
                        font-weight: 400;
                        font-size: 12px;
                        color: #757575;
                        transition: color 0.2s ease, transform 0.2s ease;
                    }

                    .footer-link:hover{
                        color: #000000;
                        transform: translateX(4px);
                    }
                }
            }
        }

        .bottom-bar{
            width: 90%;
            margin-top: 48px;

            .bottom-divider{
                width: 100%;
                height: 1px;
                background-color: #E5E5E7;
                margin-bottom: 24px;
            }

            .copyright{
                font-family: inter;
                font-weight: 400;
                font-size: 12px;
                color: #ADADAD;
                text-align: center;
            }
        }
    }
}

body.menu-open{
    overflow: hidden;
}

.mobile{
    display: none;

    .mobile-nav{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 64px;
        box-sizing: border-box;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.85);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid #E5E5E7;
        z-index: 20;

        .mobile-logo{
            .img{
                width: auto;
                height: 14px;
                object-fit: contain;
            }
        }

        .menu{
            width: 28px;
            height: 28px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: black;
            cursor: pointer;

            .icon-close{
                display: none;
            }
        }

        .menu.active{
            .icon-menu{
                display: none;
            }

            .icon-close{
                display: block;
            }
        }
    }

    .dropdown{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        box-sizing: border-box;
        padding: 100px 24px 40px;
        list-style: none;
        background-color: rgba(0, 0, 0, 0.97);
        display: flex;
        flex-direction: column;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.35s ease, transform 0.35s ease;
        z-index: 15;

        li a{
            display: block;
            box-sizing: border-box;
            padding: 16px 4px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.12);
            font-family: inter;
            font-size: 20px;
            font-weight: 500;
            color: white;
        }

        .dropdown-cta{
            margin-top: 24px;
            border-bottom: none;
            background-color: white;
            color: black;
            border-radius: 4px;
            text-align: center;
            font-weight: 600;
        }
    }

    .dropdown.open{
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-panel{
        box-sizing: border-box;
        padding: 100px 24px 56px;
        text-align: center;
        display: grid;
        justify-items: center;
    }

    .mobile-hero{
        padding-top: 140px;
        padding-bottom: 72px;

        .mobile-hero-title{
            font-family: inter;
            font-weight: 700;
            font-size: 40px;
            line-height: 1.15;
            letter-spacing: -1px;
            margin-top: 16px;
        }

        .mobile-hero-sub{
            font-family: inter;
            font-weight: 300;
            font-size: 15px;
            color: #A6A6A5;
            margin-top: 20px;
        }
    }

    .mobile-eyebrow{
        font-family: inter;
        font-weight: 600;
        font-size: 12px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        opacity: 0.5;
    }

    .mobile-statement{
        font-family: inter;
        font-weight: 600;
        font-size: 22px;
        line-height: 1.4;
        letter-spacing: -0.3px;
        margin-top: 16px;
    }

    .mobile-accent{
        text-decoration: underline;
        text-underline-offset: 4px;
        text-decoration-thickness: 2px;
    }

    .mobile-closing{
        .mobile-closing-title{
            font-family: inter;
            font-weight: 700;
            font-size: 28px;
            letter-spacing: -0.5px;
        }

        .mobile-btn-flex{
            display: grid;
            gap: 12px;
            width: 100%;
            margin-top: 28px;

            .mobile-btn-1{
                width: 100%;
                box-sizing: border-box;
                padding: 14px 0;
                background-color: black;
                color: white;
                border-radius: 4px;
                text-align: center;
                font-family: inter;
                font-size: 14px;
                font-weight: 500;
            }

            .mobile-btn-2{
                width: 100%;
                box-sizing: border-box;
                padding: 14px 0;
                background-color: transparent;
                border: 1px solid #E5E5E7;
                color: black;
                border-radius: 4px;
                text-align: center;
                font-family: inter;
                font-size: 14px;
                font-weight: 500;
            }
        }
    }

    .mobile-footer{
        width: 100%;
        box-sizing: border-box;
        padding: 56px 24px 36px;
        background-color: #FAFAFA;
        border-top: 1px solid #E5E5E7;

        .mobile-footer-top{
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 40px;

            .mobile-footer-logo{
                height: 14px;
                width: auto;
                object-fit: contain;
            }

            .mobile-footer-tagline{
                font-family: inter;
                font-weight: 400;
                font-size: 11px;
                color: #ADADAD;
                padding-left: 12px;
                border-left: 1px solid #E5E5E7;
            }
        }

        .mobile-footer-section{
            margin-bottom: 32px;

            .mobile-footer-title{
                font-family: inter;
                font-weight: 600;
                font-size: 12px;
                letter-spacing: 0.06em;
                text-transform: uppercase;
                color: #8A8A8A;
            }
        }

        .mobile-footer-divider{
            width: 24px;
            height: 2px;
            border-radius: 1px;
            background-color: #1A1A1A;
            margin-top: 10px;
            margin-bottom: 16px;
        }

        .mobile-footer-nav{
            display: grid;
            gap: 12px;

            .mobile-footer-link{
                font-family: inter;
                font-weight: 400;
                font-size: 13px;
                color: #757575;
            }
        }

        .mobile-footer-link-block{
            display: grid;
            gap: 4px;
            margin-bottom: 14px;

            .mobile-footer-label{
                font-family: inter;
                font-weight: 400;
                font-size: 11px;
                color: #ADADAD;
            }

            .mobile-footer-detail{
                font-family: inter;
                font-weight: 400;
                font-size: 13px;
                color: black;
            }
        }

        .mobile-bottom-bar{
            margin-top: 8px;

            .mobile-copyright{
                font-family: inter;
                font-weight: 400;
                font-size: 11px;
                color: #ADADAD;
                text-align: center;
            }
        }
    }
}


@media (prefers-reduced-motion: reduce) {
    .hidden, .show{
        transition: none !important;
    }

    .scroll-cue{
        animation: none !important;
    }
}


@media only screen and (max-width:900px) {
    .desktop .scroll-dots{
        display: none;
    }
}


@media only screen and (max-width:750px) {
    .desktop{
        display: none;
    }

    /*MOBILE VIEW ONLY*/
    .mobile{
        display: block;
    }
}
