/* ============================================================
   Jules About Section – Elementor Widget Stylesheet
   jules-about.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400;1,600&family=Dancing+Script:wght@600&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
.jules-about {
    --ja-teal:    #2a8080;
    --ja-gold:    #c9a227;
    --ja-name:    #1e2a4a;
    --ja-body:    #4a5568;
    --ja-divider: #d8d0c4;
}

/* ── Outer wrapper: full-width split ── */
.jules-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    background-color: #f5f3ee;
    overflow: hidden;
    font-family: 'Raleway', sans-serif;
    box-sizing: border-box;
}

/* Photo on left variant */
.jules-about.ja-photo-left .ja-left  { order: 2; }
.jules-about.ja-photo-left .ja-right { order: 1; }

/* ── LEFT COLUMN ── */
.ja-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 80px 80px 80px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* ── Badge ── */
.ja-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ja-teal);
    margin-bottom: 20px;
}

.ja-badge-line {
    display: block;
    width: 36px;
    height: 1px;
    background: var(--ja-gold);
    opacity: 0.8;
}

/* ── Name ── */
.ja-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 300;
    color: var(--ja-name);
    line-height: 1.0;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.ja-name-line {
    display: block;
}

/* ── Pillars ── */
.ja-pillars {
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ja-teal);
    margin: 0 0 16px;
}

/* ── Script tagline ── */
.ja-script-tagline {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(22px, 2.5vw, 32px);
    color: var(--ja-gold);
    margin: 0 0 32px;
    line-height: 1.3;
}

/* ── Bio ── */
.ja-bio {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.85;
    color: var(--ja-body);
    margin: 0 0 36px;
    max-width: 460px;
}

/* ── Stats ── */
.ja-stats-wrap {
    margin-bottom: 44px;
}

.ja-stats-divider {
    height: 1px;
    background: var(--ja-divider);
    margin: 0 0 24px;
    max-width: 480px;
}

.ja-stats-divider + .ja-stats + .ja-stats-divider,
.ja-stats-wrap .ja-stats-divider:last-child {
    margin: 24px 0 0;
}

.ja-stats {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

.ja-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.ja-stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 400;
    color: var(--ja-gold);
    line-height: 1;
    letter-spacing: -0.01em;
}

.ja-stat-label {
    font-family: 'Raleway', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ja-body);
    line-height: 1.4;
    max-width: 80px;
}

/* ── Buttons ── */
.ja-buttons {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.ja-btn {
    display: inline-block;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.ja-btn--primary {
    background-color: var(--ja-gold);
    color: #fff;
    border: 2px solid var(--ja-gold);
    padding: 16px 32px;
    border-radius: 3px;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3);
}

.ja-btn--primary:hover {
    background-color: transparent;
    color: var(--ja-gold);
    box-shadow: none;
    text-decoration: none;
}

.ja-btn--secondary {
    background: transparent;
    color: var(--ja-name);
    border: none;
    padding: 0;
    position: relative;
}

.ja-btn--secondary::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--ja-name);
    transition: width 0.3s ease;
}

.ja-btn--secondary:hover::after {
    width: 100%;
}

.ja-btn--secondary:hover {
    text-decoration: none;
    color: var(--ja-name);
}

/* ── RIGHT COLUMN: Portrait ── */
.ja-right {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.ja-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.ja-portrait-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ddd8d0, #c8c0b8);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
}

.ja-portrait-placeholder span {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    color: #8a7a6a;
    letter-spacing: 0.1em;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .ja-left {
        padding: 60px 48px;
    }
    .ja-name {
        font-size: clamp(48px, 6vw, 80px);
    }
}

@media (max-width: 900px) {
    .jules-about {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .jules-about.ja-photo-left .ja-left  { order: 2; }
    .jules-about.ja-photo-left .ja-right { order: 1; }

    .ja-right {
        min-height: 60vw;
        max-height: 520px;
    }

    .ja-portrait {
        position: relative;
        height: 100%;
        max-height: 520px;
    }

    .ja-portrait-placeholder {
        position: relative;
        height: 60vw;
        max-height: 520px;
    }

    .ja-left {
        padding: 60px 40px;
    }

    .ja-bio {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .ja-left {
        padding: 48px 24px;
    }

    .ja-name {
        font-size: 52px;
    }

    .ja-stats {
        gap: 20px;
    }

    .ja-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ja-btn--primary {
        width: 100%;
        text-align: center;
    }
}
