/* ==========================================================================
   BASE SETUP & NORMALIZATION
   ========================================================================== */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #111111;
}

/* ==========================================================================
   SPLIT LAYOUT FRAMEWORK
   ========================================================================== */
.split-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    flex-wrap: wrap; 
}

.split-half {
    position: relative;
    width: 50%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
}

.split-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.2); 
}

.content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   LEFT SIDE: PRECISE TOP-ANCHORED SPACING
   ========================================================================== */
.split-left {
    justify-content: flex-start; 
}

.split-left .content-wrapper {
    padding: 20px 40px 40px 40px; 
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 20px; 
}

.site-tagline {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    margin: 0; 
}

/* ==========================================================================
   RIGHT SIDE: VERTICAL CENTERING
   ========================================================================== */
.split-right {
    justify-content: center; 
}

.split-right .content-wrapper {
    padding: 40px;
    height: 100%;
    justify-content: center;
}

.bio-container {
    margin-bottom: auto; 
    margin-top: auto;
}

.legal-footer {
    margin-top: 40px;
    text-align: center;
}

/* ==========================================================================
   MOBILE RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 768px) {
    .split-half {
        width: 100%;
        min-height: 50vh; 
    }
    
    /* Forces the content to reach out to exactly 2px from the screen edge */
    .split-left .content-wrapper {
        padding: 20px 2px 40px 2px !important; 
    }
    
    .split-right .content-wrapper {
        padding: 40px 20px;
    }
}