@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Montserrat:wght@300;400;500;600&display=swap');


/* =========================================
   ABOUT SECTION
========================================= */

/* .about-practice {
    background: #f8f7f4;
    border-top: 1px solid #e8e6e2;
    border-bottom: 1px solid #e8e6e2;
} */





/* HOME */




/* Down arrow */

/* .breadcrumb .arrow {
    color: #aaa49d;
    background-color: turquoise;
    font-size: 14px;
    line-height: 1;

    margin-left: -7px;
} */

/* =========================================
   section INTRO
========================================= */

.section-heading {
    text-align: center;
    padding: clamp(70px, 8vw, 105px)
             20px
             clamp(55px, 6vw, 75px);
}

/* .section-heading {
    text-align: center;
    background: url(/static/img/bg-con.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(70px, 8vw, 105px)
             20px
             clamp(55px, 6vw, 75px);

} */

.eyebrow {
    display: block;

    font-family: 'Montserrat', sans-serif;
    font-size: clamp(9px, 0.7vw, 12px);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.5;

    color: #b49a79;
}


.section-heading h1 {
    margin: 20px 0 20px;

    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.05;

    color: #171717;
}


.section-heading p {
    max-width: 620px;
    margin: 0 auto;

    font-family: 'Montserrat', sans-serif;
    font-size: clamp(12px, 1.1vw, 17px);
    font-weight: 300;
    line-height: 1.7;

    color: #b5aa9d;
}



/* =========================================
   MAIN CONTENT
========================================= */

.founder{
    max-width: 100%;
    background: #f9f8f5;
    border: 1px solid #dedad3;
}

.about-main {
    /* background: #f8f7f4; */
    /* background: #f9f8f5; */
    max-width: min(1170px, 86%);
    /* width: 100%; */

    margin: 0 auto;
    
    padding: clamp(40px, 5vw, 70px) 0;

    display: grid;

    grid-template-columns:
        minmax(280px, 1fr)
        minmax(280px, 1fr);

    gap: clamp(50px, 7vw, 95px);

    align-items: center;
}


/* =========================================
   IMAGE BOX
========================================= */

.about-image {

    width: 100%;

    /*
       CHANGE THIS RATIO WHEN REQUIRED

       4 / 5  = portrait
       3 / 2  = landscape
       1 / 1  = square
    */

    aspect-ratio: 4 / 5 ;

    /* overflow: hidden; */
}


.about-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center top;
}


/* -------- */

.image-frame {
    position: relative;
    display: inline-block;
    padding: 5px;
    border: 1px solid #9C7A4C;
    isolation: isolate;
}

/* .image-frame img {
    display: block;
    border: 1px solid #111;
    max-width: 100%;
} */

 .image-frame::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background: #ff5265;
    right: 16px;
    bottom: 16px;
} 

/* Red frame overlapping the corner */
.glow-frame {
    position: absolute;
    width: 120px;
    height: 120px;

    right: -8px;
    bottom: -8px;

    border: 4px solid #ff26388d;
    pointer-events: none;

    transition:
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        transform 0.4s ease;

    z-index: 10;
}

.glow-frame2 {
    position: absolute;
    width: 140px;
    height: 140px;

    right: -18px;
    bottom: -18px;

    border: 1px solid #ff26388d;
    pointer-events: none;

    transition:
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        transform 0.4s ease;

    z-index: 10;
}

/* =========================================
   CONTENT
========================================= */

.about-content {
    padding: 10px 0;
}


.about-content h2 {

    margin: 18px 0 4px;

    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 3.2vw, 50px);
    font-weight: 400;
    line-height: 1.05;

    color: #171717;
}


.heading-line {

    width: 75px;
    height: 1px;

    background: #b49a79;

    margin-bottom: clamp(28px, 3vw, 40px);
}


/* .about-text p {

    margin: 0 0 22px;

    font-family: 'Montserrat', sans-serif;
    font-size: clamp(12px, 2vw, 15px);
    font-weight: 300;
    line-height: 1.65;

    color: #807a74;
} */


/* =========================================
   BIOGRAPHY LINK
========================================= */

.bio-link {

    display: inline-block;

    margin-top: 15px;

    position: relative;

    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 400;

    letter-spacing: 0.2px;

    color: #a9a09a;

    text-decoration: none;
}


.bio-link::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -5px;

    width: 0;
    height: 1px;

    background: currentColor;

    transition: width 0.3s ease;
}


.bio-link:hover::after {
    width: 100%;
}


/* ------------- */
.extra-bio {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.extra-bio.show {
    max-height: 1000px;
}

/* ------------- */

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .about-main {

        width: min(90%, 700px);

        gap: 45px;

        grid-template-columns:
            minmax(250px, 1fr)
            minmax(250px, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .section-heading {

        padding-top: 60px;
        padding-bottom: 50px;
    }


    .section-heading h1 {
        margin-top: 16px;
        margin-bottom: 18px;
    }


    .section-heading p {
        max-width: 500px;
    }


    .about-main {

        width: 88%;

        display: grid;

        grid-template-columns: 1fr;

        gap: 45px;

        padding-top: 35px;
        padding-bottom: 55px;
    }


    .about-image {

        /*
           Still maintains the same
           portrait ratio on mobile
        */

        aspect-ratio: 4 / 5;
    }


    .about-content {
        padding: 0;
    }


    .about-content h2 {
        margin-top: 15px;
    }


    .about-text p {
        line-height: 1.7;
    }

}


/* ===========member========== */
.team-member{
    max-width: 100%;
    padding-bottom: 4rem;
}

.team-member .container{
    margin: auto;
}

.member-row{
    /* width: min(1170px, 86%); */
    margin: auto;
}

.member-pic{
        width: 100%;

    /*
       CHANGE THIS RATIO WHEN REQUIRED

       4 / 5  = portrait
       3 / 2  = landscape
       1 / 1  = square
    */

    aspect-ratio: 1 / 1;

    overflow: hidden;

}

.member-pic img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;    
    transition: transform 0.8s ease-in-out;
}

.member:hover .member-pic img{
    transform:scale(1.1);
}

.member-content{
    padding: 2rem 0;
}

.member-content h1{
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.05;
    color: #0f0f0d;
    text-align: center;
}

.member-content span{
    /* text-transform: uppercase;
    letter-spacing: 3px;
    font-size: clamp(12px, 1.2vw, 14px);
    font-family: 'Montserrat', sans-serif; */
    display: flex;
    justify-content: center;
    /* color: #A09480; */
}

.member-content p{
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(12px, 1.1vw, 17px);
    font-weight: 300;
    line-height: 1.7;
    color: #332E26;
}

/* font-family: 'Montserrat', sans-serif; */
/* ===========member========== */


/* ---------------chatgpt */

/* ===== EXTENDED EXPERTISE SECTION ===== */

.expertise-section {
    --expertise-bg: #FEF7DD;
    --expertise-text: #292720;
    --expertise-muted: #716b61;
    --expertise-accent: #a47c43;
    --expertise-border: #ded5c6;

    /* background: var(--expertise-bg); */
    background: url(/static/img/bg5.jpg);
    color: var(--expertise-text);
    padding-bottom: clamp(65px, 8vw, 115px) ;
    overflow: hidden;
}

.expertise-container {
    width: min(1280px, 90%);
    margin: 0 auto;
}

/* Heading */

.expertise-heading {
    max-width: 950px;
    margin-bottom: 65px;
}

.eyebrow-new {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--expertise-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.eyebrow-line-new {
    display: inline-block;
    width: 55px;
    height: 1px;
    background: var(--expertise-accent);
}

.expertise-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 5.2vw, 58px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -1.8px;
    margin: 0 0 20px;
}

.expertise-heading h2 span {
    color: var(--expertise-accent);
    font-style: italic;
}

.expertise-heading > p {
    max-width: 730px;
    color: var(--expertise-muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.7;
    margin: 0;
}

/* Profile layout */

.expertise-profile {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(30px, 5vw, 75px);
    margin-bottom: 90px;
}

.expertise-profile-reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.expertise-profile-reverse .profile-image-wrap {
    grid-column: 2;
    grid-row: 1;
}

.expertise-profile-reverse .profile-content {
    grid-column: 1;
    grid-row: 1;
}

/* Portraits */

.profile-image-wrap {
    position: relative;
    min-width: 0;
    padding: 15px 15px 32px 0;
}

.profile-image-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15px;
    right: 0;
    bottom: 15px;
    border: 1px solid var(--expertise-border);
    pointer-events: none;
}

.profile-image {
    position: relative;
    display: block;
    width: 100%;
    height: clamp(380px, 48vw, 590px);
    object-fit: cover;
    object-position: center 25%;
    border: 7px solid var(--expertise-bg);
}

.image-number {
    position: absolute;
    top: 25px;
    left: 24px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--expertise-accent);
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
}

.image-caption {
    position: absolute;
    bottom: 0;
    right: 15px;
    background: var(--expertise-bg);
    color: var(--expertise-accent);
    padding: 10px 15px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Profile text */

.profile-content {
    min-width: 0;
}

.profile-label {
    color: var(--expertise-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.profile-content h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 3.7vw, 49px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -1px;
    margin: 12px 0 8px;
    overflow-wrap: anywhere;
}

.profile-role {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-style: italic;
    color: var(--expertise-muted);
    margin: 0;
}

.small-rule {
    width: 52px;
    height: 2px;
    background: var(--expertise-accent);
    margin: 25px 0;
}

.profile-description {
    color: var(--expertise-muted);
    font-size: 14px;
    line-height: 1.95;
    margin: 0 0 28px;
}

/* Legal practice tags */

.practice-heading {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--expertise-accent);
    margin: 0 0 16px;
}

.practice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.practice-list span {
    display: inline-block;
    border: 1px solid var(--expertise-border);
    padding: 9px 12px;
    color: var(--expertise-text);
    font-size: 12px;
    line-height: 1.4;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.practice-list span:hover {
    background: #eee5d7;
    border-color: var(--expertise-accent);
}

.profile-note {
    border-left: 2px solid var(--expertise-accent);
    padding-left: 15px;
    margin: 27px 0 0;
    color: var(--expertise-muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-style: italic;
    line-height: 1.8;
}

/* Real-estate highlights */

.support-highlight {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border-top: 1px solid var(--expertise-border);
    padding: 19px 0;
}

.highlight-mark {
    flex: 0 0 35px;
    color: var(--expertise-accent);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
}

.support-highlight h4 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 400;
    margin: 0 0 6px;
}

.support-highlight p {
    color: var(--expertise-muted);
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

/* Closing statement */

.expertise-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    margin-top: -10px;
}

.expertise-footer p {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: clamp(14px, 2vw, 19px);
    color: var(--expertise-muted);
    margin: 0;
}

.footer-line {
    width: clamp(20px, 5vw, 65px);
    height: 1px;
    background: var(--expertise-accent);
}

/* ===== TABLETS ===== */

@media (max-width: 900px) {
    .expertise-profile,
    .expertise-profile-reverse {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 28px;
        margin-bottom: 70px;
    }

    .profile-image {
        height: 440px;
    }

    .profile-content h3 {
        font-size: 34px;
    }

    .profile-description {
        font-size: 13px;
        line-height: 1.85;
    }

    .practice-list span {
        font-size: 11px;
        padding: 8px 10px;
    }
}

/* ===== MOBILE ===== */

@media (max-width: 600px) {
    .expertise-section {
        padding: 60px 0;
    }

    .expertise-container {
        width: 90%;
    }

    .expertise-heading {
        margin-bottom: 40px;
    }

    /* .eyebrow {
        gap: 10px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    .eyebrow-line {
        width: 30px;
    } */

    .expertise-heading h2 {
        font-size: clamp(34px, 9vw, 45px);
        letter-spacing: -1px;
    }

    .expertise-heading > p {
        font-size: 16px;
        line-height: 1.7;
    }

    .expertise-profile,
    .expertise-profile-reverse {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
        margin-bottom: 65px;
    }

    .expertise-profile-reverse .profile-image-wrap {
        order: 0;
    }

    .expertise-profile-reverse .profile-content {
        order: 1;
    }

    .profile-image-wrap {
        padding: 12px 12px 25px 0;
    }

    .profile-image-wrap::before {
        left: 12px;
        bottom: 12px;
    }

    .profile-image {
        height: auto;
        aspect-ratio: 4 / 5;
        max-height: 540px;
        object-position: center 25%;
        border-width: 5px;
    }

    .image-number {
        top: 22px;
        left: 20px;
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .image-caption {
        right: 12px;
        font-size: 8px;
    }

    .profile-content h3 {
        font-size: clamp(33px, 9vw, 43px);
    }

    .profile-description {
        font-size: 14px;
        line-height: 1.9;
    }

    .profile-role {
        font-size: 18px;
    }

    .practice-list {
        gap: 8px;
    }

    .practice-list span {
        font-size: 11px;
    }

    .expertise-footer {
        gap: 10px;
    }
}

/* ===== SMALL PHONES ===== */

@media (max-width: 360px) {
    .expertise-container {
        width: 92%;
    }

    .expertise-heading h2 {
        font-size: 32px;
    }

    .profile-content h3 {
        font-size: 31px;
    }

    .practice-list span {
        padding: 7px 8px;
        font-size: 10px;
    }
}
