:root {
    --bg-black: #000;
    --text-white: #fff;
    --text-muted: #aaa;
    --border-dark: #222;
    --text-sub: #EEE;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}


body {
    background: var(--bg-black);
    color: var(--text-white);
}

.page {
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
}

.logo {
    align-self: center;
    margin-top: 40px;
    width: 69px;
}

.centered-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.centered-content h1 {
    font-size: clamp(30px, 6vw, 52px);
    font-weight: 100;
    margin-bottom: 5px;
}

.nowrap {
    white-space: nowrap;
}

.centered-content h2 {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 100;
    margin-bottom: 80px;
    color: var(--text-muted);
    opacity: 60%;
}

.key-shot {
    max-width: 640px;
    padding: 0 40px;
}

/* Hero (first page) two-column layout */
.hero-row {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
}

.hero-image-wrap {
    position: relative;
    flex: 1;
    overflow: hidden;
}

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

.hero-fade {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(to right, rgba(0,0,0,0.80) 15%, transparent 65%),
        linear-gradient(to top, rgba(0,0,0,0.70) 0%, transparent 35%);
    pointer-events: none;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: start;
    padding: 0 clamp(24px, 5vw, 80px);
}

.hero-headline {
    font-size: clamp(24px, 2.2vw, 42px);
    font-weight: 300;
    letter-spacing: 0.05em;
    font-family: 'Geist';
    background: linear-gradient(to right, #878787, #5D5D5F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(22px, 2.2vw, 42px);
    font-weight: 200;
    line-height: 1.25;
    margin-bottom: 36px;
    color: var(--text-sub);
}

.hero-divider {
    width: 80%;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 0 28px 0;
}

.hero-brand {
    font-size: clamp(40px, 2.4vw, 84px);
    font-weight: 600;
    letter-spacing: 10px;
    background: linear-gradient(
            to right,
            #999999 0%,
            #EAEAEA 25%,
            #FFFFFF 50%,
            #EAEAEA 75%,
            #999999 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#first {
    position: relative;
}

#first::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to top, transparent, rgba(0,0,0,0.97));
    pointer-events: none;
    z-index: 1;
}


.hero-footer {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: clamp(12px, 2.2vw, 23px);
    padding: 14px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(
            to right,
            #888888 0%,
            #BBBBBB 50%,
            #888888 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#first {
    position: relative;
}

#first::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.97));
    pointer-events: none;
    z-index: 1;
}
#second {
    position: relative;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    max-height: 100vh;
    img {
        height: 100vh;
        display: block;
    }
    .content {
        height: 100vh;
    }
    .text {
        position: absolute;
        right: 20%;
        bottom: 20%;
        justify-content: center;
        align-items: flex-start;
        align-content: center;
        max-width: 35%;
        z-index: 2; /* ensures overlap */
        p {
            font-size: clamp(16px, 1.25vw, 20px);
            font-weight: 100;
            width: fit-content;
        }
        .info {
            opacity: 0.7;
            margin-bottom: 40px;
        }
    }
    .cta-join {
        padding: clamp(8px, 1vw, 16px) clamp(12px, 2vw, 32px);
        background: #FDFDFD;
        color: #0A0C11;
        border: none;
        font-size: clamp(16px, 1vw, 16px);
        cursor: pointer;
        margin-top: 15%;
        border-radius: 100px;
    }
}
.label-heading {
    margin-bottom: 4px;
    padding-left: 8px;
}

.site-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    padding: 12px 0;
}


@media (max-width: 768px) {
    .logo {
        width: 52px;
    }

    .key-shot {
        max-width: 290px;
        padding: 0 40px;
    }

    .page {
        flex-direction: column;
    }

    /* Hero mobile: text → image → footer */
    #first .hero-row {
        flex-direction: column;
    }

    #first .hero-text {
        order: 1;
        flex: 0 0 auto;
        align-items: center;
        padding: 32px 28px 20px;
        text-align: center;
    }

    #first .hero-headline {
        font-size: 23px;
    }

    #first .hero-sub {
        font-size: 23px;
    }

    #first .hero-divider {
        width: 60%;
        height: 1px;
        background: rgba(255, 255, 255, 0.25);
    }

    #first .hero-brand {
        font-size: 36px;
    }

    #first .hero-image-wrap {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60vh;
        flex: unset;
        order: unset;
        margin-bottom: 24px;

    }

    #first .hero-img {
        object-position: center bottom;
    }

    #first .hero-fade {
        background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, transparent 45%);
    }

    #first .hero-footer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 3;
        padding: 18px 0;
       font-size: clamp(12px, 2vw, 12px);
    }

    #second {
        max-height: 100vh;
        height: 100vh;
    }

    #second {
        position: relative;
        max-height: 90vh;
        max-width: 100vw;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    /* CONTENT AREA */
    #second .content {
        position: relative;
        flex: 1; /* takes full available height */
        overflow: hidden;
        align-items: center;
    }

    /* IMAGE — bottom aligned */
    #second .image {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1;
        img {
            width: 85%;
            height: auto;
            /*max-height: 519px;*/
            object-fit: inherit;
            display: block;
        }
    }

    /* OVERLAY TEXT + CTA */
    #second .text {
        position: absolute;
        inset: 0; /* top:0 right:0 bottom:0 left:0 */
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* 🔑 top & bottom */
        align-items: center;
        align-content: center;
        padding: clamp(3rem, 8vh, 6rem) clamp(1.5rem, 5vw, 4rem);
        z-index: 2;
        text-align: center;
        .info {
            max-width: 100%;
            font-weight: 100;
            font-size: 16px;
            padding: 0 40px;
            margin-bottom: 20px; 
        }
    }
    /* CTA */
    #second .cta-join {
        margin-top: auto;
        pointer-events: auto;
        padding: 12px 40px;
    }

    /* FOOTER */
    #second .site-footer {
        text-align: center;
        padding: 1rem;
        font-size: 0.7rem;
    }
}


/* ===== Right Section (Form) ===== */
.form-wrapper {
    max-width: 420px;
    width: 100%;
}

.form-wrapper h2 {
    margin-bottom: 24px;
    font-size: 1.5rem;
}


/* Modal overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    padding: 10px;
    /* small padding for mobile */
    overflow: auto;
    /* allow scrolling if content exceeds modal height */
}

/* Modal content */
.modal-content {
    background-color: #000;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
    border-radius: 40px;
    color: var(--text-white);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-dark);
}

/* Scrollbar styling for modern browsers */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}


#modal {
    align-items: center;
    justify-content: center;
}

.modal-content .close {
    position: absolute;
    top: 16px;
    right: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px;
    font-weight: 100;
    cursor: pointer;
}

.close:hover {
    color: #ffffff;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-dark);
    color: var(--text-white);
    border-radius: 40px 40px;
    font-size: 0.8rem;
}

.modal-content input::placeholder {
    color: #666;
}

.modal-content button {
    width: 100%;
    padding: 14px;
    background: #FDFDFD;
    color: #0A0C11;
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 100px;
}

.modal-content button:hover {
    opacity: 0.9;
}

.modal-content h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 100;
}

.select-group {
    margin-bottom: 16px;
}

.select-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.radio-selector {
    border-radius: 40px 40px;
}

.segmented {
    display: flex;
    border: 1px solid var(--border-dark);
    border-radius: 40px;
    padding: 2px;              /* 🔑 creates breathing room */
    background: rgba(255, 255, 255, 0.08);
}

.segmented input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

.segmented label {
    flex: 1;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    background: transparent;
    color: var(--text-white);
    transition: background 0.2s ease, color 0.2s ease;
    border-radius: 40px;       /* 🔑 full pill */
}

.segmented label:last-child {
    border-right: none;
}

.segmented input:checked + label {
    background: #fff;
    color: #000;
}
.segmented label {
    border: none;
}

form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-dark);
    color: var(--text-white);
    border-radius: 40px 40px;
    font-size: 0.8rem;
    resize: vertical;
    min-height: 120px;
}