:root {
    --deep-plum: #4C2D43;
    --warm-cream: #EBDACA;
    --muted-mauve: #8D6882;
    
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', Calibri, sans-serif;
}

/* --- Base Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--deep-plum);
    color: var(--warm-cream);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- Split Layout --- */
.split-layout {
    display: flex;
    min-height: 100vh;
    flex-direction: column; 
}

@media (min-width: 900px) {
    .split-layout {
        flex-direction: row-reverse; /* Puts content on the LEFT, image on the RIGHT */
    }
}

/* --- Image Panel --- */
.image-panel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: #3b2234;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: contrast(1.1) brightness(0.9);
}

/* --- Content Panel --- */
.content-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 10%;
}

.content-wrapper {
    max-width: 500px;
}

.brand-logo {
    max-width: 280px;
    margin-bottom: 4rem;
    display: block;
    margin-left: -40px; 
}

/* --- Typography --- */
.headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 3rem;
    color: var(--warm-cream);
}

/* --- Minimal Form --- */
.minimal-form {
    width: 100%;
    margin-top: 2rem;
}

.input-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px; /* Provides fixed spacing between input and button */
    border-bottom: 1px solid var(--muted-mauve);
    padding-bottom: 0.5rem;
    transition: border-color 0.4s ease;
}

.input-group:focus-within {
    border-bottom-color: var(--warm-cream);
}

input[type="email"] {
    flex: 1;
    min-width: 0; /* Ensures the input shrinks on mobile without pushing the button */
    background: transparent;
    border: none;
    color: var(--warm-cream);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    font-weight: 300;
    text-overflow: ellipsis;
}

input[type="email"]::placeholder {
    color: var(--muted-mauve);
    opacity: 0.8;
}

.submit-btn {
    /* --- Solid Brand Colors --- */
    background-color: var(--warm-cream);
    color: var(--deep-plum);
    
    /* --- Simple, Sharp Shape --- */
    border: none;
    border-radius: 0; 
    padding: 0.7rem 1.5rem;
    margin-left: 0; 
    
    /* --- Clean Typography --- */
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    white-space: nowrap; /* Prevents the text from dropping to a second line on mobile */
    
    /* Smooth transition for hover */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--muted-mauve);
    color: var(--warm-cream);
}

.form-message {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--warm-cream);
    letter-spacing: 1px;
}

.hidden {
    display: none;
    opacity: 0;
}

/* --- Footer & Social Links --- */
.footer-links {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.link-item {
    color: var(--muted-mauve);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.link-item:hover {
    color: var(--warm-cream);
    transform: translateY(-2px);
}

.link-separator {
    width: 30px;
    height: 1px;
    background-color: var(--muted-mauve);
    opacity: 0.5;
}

/* --- Mobile Spacing Adjustments --- */
@media (max-width: 899px) {
    .image-panel {
        display: none; 
    }
    
    .content-panel {
        padding: 3rem 1.5rem; 
        min-height: 100vh;
        justify-content: center;
    }
    
    .brand-logo {
        max-width: 220px; 
        margin-bottom: 3rem;
        margin-left: -30px; 
    }

    /* Shrinks the input and placeholder text so it fits on one line */
    input[type="email"] {
        font-size: 0.8rem; 
    }

    /* Scales down the button slightly to give the text even more room */
    .submit-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .footer-links {
        margin-top: 4rem;
        gap: 1.2rem;
    }
}
