/* ==========================================================
   JT MAISON — Founder Widget
   ========================================================== */

.jtm-founder {
    padding: 120px 0;
    background: var(--jtm-white);
    width: 100%;
    box-sizing: border-box;
}

.jtm-founder__inner {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
        "header image"
        "button content";
    gap: 80px 100px; /* row gap, column gap */
}

/* LEFT COLUMN - TOP */
.jtm-founder__header {
    grid-area: header;
    align-self: center; /* Center vertically with respect to the image */
}

.jtm-founder__headline {
    font-family: var(--jtm-font-ui);
    font-size: clamp(40px, 4.5vw, 56px);
    font-weight: 600;
    color: var(--jtm-dark);
    line-height: 1.2;
    margin: 0 0 32px 0;
}

.jtm-founder__subheadline {
    font-family: var(--jtm-font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(0,0,0,0.6);
    text-transform: uppercase;
    margin: 0;
}

/* LEFT COLUMN - BOTTOM */
.jtm-founder__button-wrap {
    grid-area: button;
    align-self: center; /* Center vertically with respect to the text */
    padding-bottom: 0; 
}

.jtm-founder__button {
    display: inline-block;
    font-family: var(--jtm-font-ui);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--jtm-dark);
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--jtm-dark);
    padding: 16px 32px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.jtm-founder__button:hover {
    background: var(--jtm-dark);
    color: var(--jtm-white);
}

/* RIGHT COLUMN - TOP */
.jtm-founder__image {
    grid-area: image;
    display: flex;
    justify-content: flex-end;
}

.jtm-founder__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-left: auto;
}

/* RIGHT COLUMN - BOTTOM */
.jtm-founder__content {
    grid-area: content;
}

.jtm-founder__content-title {
    font-family: var(--jtm-font-ui);
    font-size: 24px;
    font-weight: 700;
    color: var(--jtm-dark);
    line-height: 1.4;
    margin: 0 0 32px 0;
}

.jtm-founder__content-text {
    font-family: var(--jtm-font-ui);
    font-size: 15px;
    color: rgba(0,0,0,0.7);
    line-height: 1.7;
}

.jtm-founder__content-text p {
    margin-bottom: 24px;
}

.jtm-founder__content-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================================
   RESPONSIVE MOBILE
   ========================================================== */
@media (max-width: 768px) {
    .jtm-founder {
        padding: 60px 24px;
    }
    
    .jtm-founder__inner {
        /* Switch from Grid to Flex to leverage source order naturally */
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .jtm-founder__header {
        padding-top: 0;
        margin-bottom: 48px;
    }
    
    .jtm-founder__headline {
        font-size: 32px;
        margin-bottom: 16px;
    }
    
    .jtm-founder__image {
        margin-bottom: 48px;
        width: calc(100% + 48px); /* Full bleed image trick */
        margin-left: -24px;
    }
    
    .jtm-founder__content {
        margin-bottom: 48px;
    }
    
    .jtm-founder__button-wrap {
        padding-bottom: 0;
        width: 100%;
    }
    
    .jtm-founder__button {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
}
