/* =========================================================
   JEBTAM — ABOUT PAGE
   Clean complete replacement
   Matches the current page-about.php structure
   ========================================================= */


/* =========================================================
   PAGE FOUNDATION
   ========================================================= */

body .jebtam-about-page {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    color: #171c1f;
}

body .jebtam-about-page *,
body .jebtam-about-page *::before,
body .jebtam-about-page *::after {
    box-sizing: border-box;
}

body .jebtam-about-page .jebtam-about-shell {
    width: calc(100% - 48px);
    max-width: 1110px;
    margin: 0 auto;
    padding: 0;
}

body .jebtam-about-page a {
    text-decoration: none;
}

body .jebtam-about-page .jebtam-section-eyebrow {
    margin: 0 0 16px;
    color: #9a6d42;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .17em;
    text-transform: uppercase;
}

body .jebtam-about-page h2 {
    margin: 0;
    color: #171c1f;
    font-size: clamp(42px, 4.2vw, 60px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -.045em;
}

body .jebtam-about-page h2 span {
    color: #9a6d42;
}

body .jebtam-about-page .jebtam-about-lead {
    color: #20272b;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

body .jebtam-about-page .jebtam-about-copy p,
body .jebtam-about-page .jebtam-about-person-copy p {
    color: #5d676c;
    font-size: 15px;
    line-height: 1.72;
}

body .jebtam-about-page .jebtam-about-person-copy a {
    color: #8b6039 !important;
    font-weight: 700;
}

body .jebtam-about-page .jebtam-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #8b6039 !important;
    font-size: 12px;
    font-weight: 800;
    transition: gap .2s ease;
}

body .jebtam-about-page .jebtam-text-link:hover {
    gap: 15px;
}


/* =========================================================
   JOHN + ALYSSA — MATCHED PROFILE PANELS
   ========================================================= */

body .jebtam-about-page .jebtam-about-person {
    width: 100%;
}

body .jebtam-about-page .jebtam-about-person-john {
    background: #f3eee8;
}

body .jebtam-about-page .jebtam-about-person-alyssa {
    background: #ffffff;
}


/* ---------------------------------------------------------
   DESKTOP PROFILE LAYOUT
   Both people use the exact same 50/50 geometry.
   The row height follows the copy; the portrait stretches
   to exactly the same height.
   --------------------------------------------------------- */

@media (min-width: 960px) {

    body .jebtam-about-page .jebtam-about-person {
        padding: 12px 0;
        border-top: 8px solid #ffffff;
        border-bottom: 8px solid #ffffff;
    }

    body .jebtam-about-page
    .jebtam-about-person > .jebtam-about-shell {
        width: calc(100% - 48px);
        max-width: 1110px;
        margin: 0 auto;
    }

    body .jebtam-about-page
    .jebtam-about-person-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 54px;
        align-items: stretch;
        width: 100%;
    }


    /* Portrait column */

    body .jebtam-about-page
    .jebtam-about-person-photo {
        position: relative;
        width: 100%;
        min-width: 0;
        height: 100%;
        min-height: 0;
        padding: 12px;
        overflow: hidden;
        background: #ffffff;
        box-shadow: 0 18px 45px rgba(23, 28, 31, .10);
    }

    body .jebtam-about-page
    .jebtam-about-person-photo img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 100%;
        margin: 0;
        object-fit: cover;
        object-position: center top;
    }

    body .jebtam-about-page
    .jebtam-about-person-photo::after {
        content: "";
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 12px;
        height: 4px;
        background: #9a6d42;
    }


    /* Copy column */

    body .jebtam-about-page
    .jebtam-about-person-copy {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        min-width: 0;
        padding: 38px 0;
    }

    body .jebtam-about-page
    .jebtam-about-person-copy > p {
        margin: 0 0 17px;
    }

    body .jebtam-about-page
    .jebtam-about-person-copy > p:last-child {
        margin-bottom: 0;
    }


    /* Name */

    body .jebtam-about-page
    .jebtam-about-person-copy h2 {
        margin: 0;
        color: #171c1f;
        font-size: 46px;
        font-weight: 700;
        line-height: 1.05;
        letter-spacing: -.035em;
    }


    /* Bronze positioning statement */

    body .jebtam-about-page
    .jebtam-about-person-copy h2 span {
        display: block;
        width: max-content;
        max-width: none;
        margin-top: 12px;
        margin-bottom: 30px;
        color: #9a6d42;
        font-size: 23px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: -.02em;
        white-space: nowrap;
    }

    body .jebtam-about-page
    .jebtam-about-person-copy .jebtam-about-lead {
        margin-top: 0;
    }


    /* John — image left / copy right */

    body .jebtam-about-page
    .jebtam-about-person-john .jebtam-about-person-photo {
        order: 1;
    }

    body .jebtam-about-page
    .jebtam-about-person-john .jebtam-about-person-copy {
        order: 2;
    }


    /* Alyssa — copy left / image right */

    body .jebtam-about-page
    .jebtam-about-person-alyssa .jebtam-about-person-copy {
        order: 1;
    }

    body .jebtam-about-page
    .jebtam-about-person-alyssa .jebtam-about-person-photo {
        order: 2;
    }
}


/* =========================================================
   FINAL CTA
   ========================================================= */

body .jebtam-about-page .jebtam-final-cta {
    padding: 96px 0 102px;
    background:
        radial-gradient(
            circle at 82% 15%,
            rgba(154, 109, 66, .18),
            transparent 29%
        ),
        linear-gradient(
            135deg,
            #111719,
            #182023 60%,
            #101517
        );
}

body .jebtam-about-page .jebtam-final-cta-inner {
    max-width: 930px;
}

body .jebtam-about-page .jebtam-final-cta-eyebrow {
    margin: 0 0 18px;
    color: #c79564;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
}

body .jebtam-about-page .jebtam-final-cta h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(46px, 4.8vw, 68px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.045em;
}

body .jebtam-about-page .jebtam-final-cta h2 span {
    color: #c79564;
}

body .jebtam-about-page .jebtam-final-cta-copy {
    max-width: 700px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, .70);
    font-size: 18px;
    line-height: 1.7;
}

body .jebtam-about-page .jebtam-final-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding: 15px 22px;
    border: 1px solid #b47f4e;
    background: #9a6d42;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    transition: gap .2s ease, transform .2s ease;
}

body .jebtam-about-page .jebtam-final-cta-link:hover {
    gap: 17px;
    transform: translateY(-2px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 959px) {

    body .jebtam-about-page .jebtam-about-shell {
        width: calc(100% - 40px);
    }

    body .jebtam-about-page .jebtam-about-person {
        padding: 55px 0;
        border-top: 8px solid #ffffff;
        border-bottom: 8px solid #ffffff;
    }

    body .jebtam-about-page .jebtam-about-person-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 34px;
    }

    /*
     * On tablet/mobile, portrait first for both people.
     */
    body .jebtam-about-page
    .jebtam-about-person-grid-reverse .jebtam-about-person-photo,
    body .jebtam-about-page
    .jebtam-about-person-grid-reverse .jebtam-about-person-copy {
        order: initial;
    }

    body .jebtam-about-page .jebtam-about-person-photo {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
        padding: 10px;
        background: #ffffff;
        box-shadow: 0 18px 45px rgba(23, 28, 31, .10);
    }

    body .jebtam-about-page .jebtam-about-person-photo::after {
        content: "";
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 10px;
        height: 4px;
        background: #9a6d42;
    }

    body .jebtam-about-page .jebtam-about-person-photo img {
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
    }

    body .jebtam-about-page .jebtam-about-person-copy {
        padding: 0;
    }

    body .jebtam-about-page .jebtam-about-person-copy h2 {
        font-size: clamp(39px, 7vw, 48px);
    }

    body .jebtam-about-page
    .jebtam-about-person-copy h2 span {
        display: block;
        width: auto;
        max-width: 100%;
        margin-top: 10px;
        margin-bottom: 25px;
        font-size: 22px;
        line-height: 1.25;
        white-space: normal;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body .jebtam-about-page .jebtam-about-shell {
        width: calc(100% - 32px);
    }

    body .jebtam-about-page .jebtam-about-person {
        padding: 42px 0;
    }

    body .jebtam-about-page .jebtam-about-person-grid {
        gap: 28px;
    }

    body .jebtam-about-page .jebtam-about-person-copy h2 {
        font-size: 38px;
    }

    body .jebtam-about-page
    .jebtam-about-person-copy h2 span {
        font-size: 20px;
        margin-bottom: 23px;
    }

    body .jebtam-about-page .jebtam-about-lead {
        font-size: 16px;
    }

    body .jebtam-about-page .jebtam-about-person-copy p,
    body .jebtam-about-page .jebtam-about-copy p {
        font-size: 15px;
    }

    body .jebtam-about-page h2 {
        font-size: clamp(37px, 10.5vw, 48px);
    }

    body .jebtam-about-page .jebtam-final-cta {
        padding: 70px 0 76px;
    }

    body .jebtam-about-page .jebtam-final-cta h2 {
        font-size: clamp(39px, 10.8vw, 50px);
    }

    body .jebtam-about-page .jebtam-final-cta-link {
        width: 100%;
        justify-content: space-between;
    }
}


/* =========================================================
   ABOUT — WHAT JEBTAM MEANS
   ========================================================= */

body .jebtam-about-page .jebtam-about-name-story {
    position: relative;
    padding: 92px 0 98px;
    background:
        radial-gradient(circle at 88% 10%, rgba(154,109,66,.08), transparent 30%),
        #f3eee8;
}

body .jebtam-about-page .jebtam-about-name-story-copy {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

body .jebtam-about-page .jebtam-about-name-story-copy .jebtam-section-eyebrow {
    margin: 0 0 18px;
}

body .jebtam-about-page .jebtam-about-name-story-copy h2 {
    margin: 0 0 30px;
    color: #171c1f;
    font-size: clamp(44px,4.4vw,62px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.045em;
}

body .jebtam-about-page .jebtam-about-name-story-copy h2 span {
    color: #9a6d42;
}

body .jebtam-about-page .jebtam-about-name-story-copy .jebtam-about-lead {
    max-width: 720px;
    margin: 0 0 24px;
    color: #20272b;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.55;
}

body .jebtam-about-page .jebtam-about-name-story-copy p:not(.jebtam-section-eyebrow):not(.jebtam-about-lead) {
    max-width: 800px;
    margin: 0 0 18px;
    color: #5d676c;
    font-size: 15.5px;
    line-height: 1.75;
}

body .jebtam-about-page .jebtam-about-name-story-copy::after {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    margin-top: 32px;
    background: #9a6d42;
}


/* =========================================================
   MOBILE / TABLET PROFILE INTRO
   Name -> portrait -> biography
   ========================================================= */

body .jebtam-about-page .jebtam-about-mobile-intro {
    display: none;
}

@media (max-width: 959px) {

    body .jebtam-about-page .jebtam-about-mobile-intro {
        display: block;
        order: 1;
        width: 100%;
    }

    body .jebtam-about-page .jebtam-about-mobile-intro h2 {
        margin: 0;
        color: #171c1f;
        font-size: 40px;
        font-weight: 700;
        line-height: 1.05;
        letter-spacing: -.035em;
    }

    body .jebtam-about-page .jebtam-about-mobile-intro h2 span {
        display: block;
        margin-top: 9px;
        color: #9a6d42;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -.02em;
    }

    body .jebtam-about-page .jebtam-about-person-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    body .jebtam-about-page .jebtam-about-person-photo {
        order: 2 !important;
        position: relative;
        width: 100% !important;
        max-width: 560px !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 10px !important;
        background: #fff !important;
        box-shadow: 0 18px 45px rgba(23,28,31,.10) !important;
    }

    body .jebtam-about-page .jebtam-about-person-photo img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        object-fit: contain !important;
    }

    body .jebtam-about-page .jebtam-about-person-copy {
        order: 3 !important;
        height: auto !important;
        padding: 0 !important;
    }

    body .jebtam-about-page .jebtam-about-person-copy > .jebtam-section-eyebrow,
    body .jebtam-about-page .jebtam-about-person-copy > h2 {
        display: none !important;
    }

    body .jebtam-about-page .jebtam-about-name-story {
        padding: 75px 0 80px;
    }
}

@media (max-width: 600px) {

    body .jebtam-about-page .jebtam-about-mobile-intro h2 {
        font-size: 36px;
    }

    body .jebtam-about-page .jebtam-about-mobile-intro h2 span {
        font-size: 19px;
    }

    body .jebtam-about-page .jebtam-about-name-story {
        padding: 65px 0 70px;
    }

    body .jebtam-about-page .jebtam-about-name-story-copy h2 {
        font-size: 38px;
    }

    body .jebtam-about-page .jebtam-about-name-story-copy .jebtam-about-lead {
        font-size: 17px;
    }
}

/* =========================================================
   ABOUT — COMPANY / GEO INTRO
   ========================================================= */

body .jebtam-about-page .jebtam-about-intro {
    position: relative;
    width: 100%;
    padding: 92px 0 96px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(154, 109, 66, .18),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #111719,
            #182023 60%,
            #101517
        );
}

body .jebtam-about-page .jebtam-about-intro-inner {
    width: 100%;
    max-width: 940px;
}

/* Eyebrow */

body .jebtam-about-page
.jebtam-about-intro .jebtam-section-eyebrow {
    margin: 0 0 18px;
    color: #c79564;
}

/* Main About heading */

body .jebtam-about-page .jebtam-about-intro h1 {
    max-width: 900px;
    margin: 0 0 32px;

    color: #ffffff;

    font-size: clamp(48px, 5vw, 70px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.045em;
}

body .jebtam-about-page .jebtam-about-intro h1 span {
    display: block;
    margin-top: 6px;
    color: #c79564;
}

/* Lead company definition */

body .jebtam-about-page
.jebtam-about-intro .jebtam-about-lead {
    max-width: 860px;
    margin: 0 0 22px;

    color: rgba(255, 255, 255, .94);

    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
}

/* Supporting copy */

body .jebtam-about-page
.jebtam-about-intro-inner > p:not(.jebtam-section-eyebrow):not(.jebtam-about-lead):not(.jebtam-about-positioning) {
    max-width: 820px;
    margin: 0 0 18px;

    color: rgba(255, 255, 255, .72);

    font-size: 16px;
    line-height: 1.75;
}

/* Positioning statement */

body .jebtam-about-page .jebtam-about-positioning {
    position: relative;

    max-width: 820px;
    margin: 34px 0 0;
    padding: 22px 0 0 24px;

    border-top: 1px solid rgba(199, 149, 100, .38);
}

body .jebtam-about-page .jebtam-about-positioning::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;

    width: 4px;
    height: calc(100% - 22px);

    background: #c79564;
}

body .jebtam-about-page .jebtam-about-positioning strong {
    display: block;

    color: #ffffff;

    font-size: 19px;
    font-weight: 700;
    line-height: 1.55;
}


/* =========================================================
   ABOUT INTRO — TABLET
   ========================================================= */

@media (max-width: 959px) {

    body .jebtam-about-page .jebtam-about-intro {
        padding: 74px 0 78px;
    }

    body .jebtam-about-page .jebtam-about-intro h1 {
        max-width: 760px;
        font-size: clamp(44px, 7.5vw, 60px);
    }

    body .jebtam-about-page
    .jebtam-about-intro .jebtam-about-lead {
        font-size: 18px;
    }

}


/* =========================================================
   ABOUT INTRO — MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body .jebtam-about-page .jebtam-about-intro {
        padding: 58px 0 62px;
    }

    body .jebtam-about-page .jebtam-about-intro h1 {
        margin-bottom: 26px;

        font-size: clamp(39px, 11vw, 48px);
        line-height: 1.04;
    }

    body .jebtam-about-page .jebtam-about-intro h1 span {
        margin-top: 8px;
    }

    body .jebtam-about-page
    .jebtam-about-intro .jebtam-about-lead {
        font-size: 17px;
        line-height: 1.6;
    }

    body .jebtam-about-page
    .jebtam-about-intro-inner > p:not(.jebtam-section-eyebrow):not(.jebtam-about-lead):not(.jebtam-about-positioning) {
        font-size: 15px;
        line-height: 1.72;
    }

    body .jebtam-about-page .jebtam-about-positioning {
        margin-top: 28px;
        padding-top: 20px;
        padding-left: 20px;
    }

    body .jebtam-about-page .jebtam-about-positioning::before {
        top: 20px;
        height: calc(100% - 20px);
    }

    body .jebtam-about-page .jebtam-about-positioning strong {
        font-size: 17px;
        line-height: 1.55;
    }

}