/* ============================================================================ *
    Branding Assets Page Styles
   ---------------------------------------------------------------------------
    Page-specific layout and visual treatment only.
    Headings, body font, and link colors inherit from structural.css.

    TMF framework generates:
      #name-wrapper  (full viewport width)
        #name-container.section-container  (max-width constrained)
          #name  (content area)

    Full-width backgrounds go on the -wrapper level.
    Override .section-container max-width where needed.
   ============================================================================ */



/* ======================================== *
        TMF Section Overrides
        (full-width backgrounds + container resets)
 * ======================================== */

#ba-hero-wrapper,
#ba-name-wrapper,
#ba-logo-wrapper,
#ba-colors-wrapper {
    max-width: none;
}

#ba-hero-wrapper .section-container,
#ba-name-wrapper .section-container,
#ba-logo-wrapper .section-container,
#ba-type-wrapper .section-container,
#ba-colors-wrapper .section-container {
    max-width: none !important;
    padding: 0;
}

#ba-name-wrapper {
    background-color: #f5f6f8;
}

#ba-logo-wrapper {
    position: relative;
    overflow: hidden;
    background: #3c3b3e;
}

#ba-logo-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: #5B2B66;
    z-index: 0;
}

#ba-logo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: url('https://www.themodernfirm.com/wp-content/themes/the-modern-firm-24/assets/images/logo_text_bg_3x.jpg') center/cover no-repeat;
    filter: brightness(0.75) contrast(1.05);
    z-index: 0;
}

#ba-logo-wrapper .section-container,
#ba-logo-wrapper .section-container > div {
    position: relative;
    z-index: 1;
}

#ba-colors-wrapper {
    background: linear-gradient(to bottom, #EBEDF2, #C6C8CC);
}

#int-title-wrapper {
    overflow: visible;
}

#ba-intro-wrapper {
    position: relative;
    z-index: 1;
    background: linear-gradient(to bottom, #EBEDF2, #C6C8CC);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 70px), 50% 100%, 0 calc(100% - 70px));
}


/* ======================================== *
        Hero
 * ======================================== */

.ba-hero {
    text-align: center;
}

.ba-hero-title {
    padding: 60px 20px 20px;
}

.ba-hero-angled {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    margin-bottom: -200px;
}

.ba-hero-image-wrap {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.ba-hero-img {
    width: 100%;
    height: auto;
    display: block;
}


/* ======================================== *
        Intro + Download Buttons
 * ======================================== */

.ba-intro {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 230px 20px 120px;
}

.ba-intro p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.ba-intro-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ba-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.ba-btn:hover {
    opacity: 0.85;
    text-decoration: none;
}

.ba-btn-primary {
    background-color: #733681;
    color: #fff;
}

.ba-btn-primary:hover {
color: #fff;
background-color: #492252;
transition: color 0.25s ease, background-color 0.25s ease;
}

.ba-btn-outline {
    background-color: transparent;
    color: #733681;
    border: 2px solid #733681;
}

.ba-btn-outline:hover {
    color:#ffffff;
    background-color: #492252;
    border: 2px solid #492252;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;

}


/* Scroll-down chevron */
.ba-intro-scroll {
    margin-top: 75px;
    text-align: center;
}

.ba-scroll-down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(82, 45, 102, 0.35);
    background: transparent;
    cursor: pointer;
    color: #492252;
    font-size: 16px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.ba-scroll-down:hover {
    border-color: #492252;
    color: #492252;
}


/* ======================================== *
        Our Brand Voice
 * ======================================== */

.ba-voice {
    text-align: center;
    padding: 60px 20px;
}

.ba-voice > p {
    max-width: 780px;
    margin: 0 auto 50px;
    line-height: 1.7;
    color: #555;
}

.ba-voice-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.ba-voice-item {
    text-align: center;
    padding: 10px;
}

.ba-voice-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.ba-voice-icon i {
    font-size: 56px;
    color: #522D66;
}

.ba-voice-item h4 {
    font-weight: 600 !important;
}

.ba-voice-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}


/* ======================================== *
        Name Usage
 * ======================================== */

.ba-name-usage {
    padding: 70px 20px;
}

.ba-name-usage-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.ba-name-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-name-icon i {
    font-size: 56px;
    color: #522D66;
}

.ba-name-content p {
    line-height: 1.7;
    color: #555;
}


/* ======================================== *
        Our Logo
 * ======================================== */

.ba-logo-section {
    color: #fff;
    padding: 80px 20px;
}

.ba-logo-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.ba-logo-text,
.ba-logo-display {
    min-width: 0;
}

.ba-logo-text {
    padding-right: 40px;
}

.ba-logo-text h2 {
    color: #fff;
}

.ba-logo-text p {
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}

.ba-btn-light {
    background-color: transparent;
    color: #fff;
    border: 2px solid #8B5D96;
}

.ba-btn-light:hover {
    color: #fff;
    border: 2px solid #492252;
    background-color: #492252;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.ba-logo-display {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 70px;
    padding: 40px 60px;
    background: #5B2B66;
}

.ba-logo-variant {
    text-align: center;
    width: 100%;
}

.ba-logo-variant-label {
    display: none !important;
}

.ba-logo-variant img,
.ba-logo-img {
    height: auto;
    display: block;
    margin: 0 auto;
    filter: brightness(1.08) contrast(1.04);
}

.ba-logo-variant:nth-child(1) img,
.ba-logo-variant:nth-child(1) .ba-logo-img {
    max-width: 420px;
}

.ba-logo-variant:nth-child(2) img,
.ba-logo-variant:nth-child(2) .ba-logo-img {
    max-width: 260px;
}

.ba-logo-variant:nth-child(3) img,
.ba-logo-variant:nth-child(3) .ba-logo-img {
    max-width: 180px;
}


/* ======================================== *
        Our Typography
 * ======================================== */

.ba-typography {
    text-align: center;
    padding: 80px 20px;
}

.ba-type-toggle {
    display: inline-flex;
    position: relative;
    background: #eeecf0;
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 36px;
    border: 1px solid #e0dde4;
}

.ba-type-toggle-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: #733681;
    border-radius: 50px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

.ba-type-toggle button {
    position: relative;
    z-index: 1;
    padding: 9px 28px;
    border: none;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #404247;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.ba-type-toggle button.is-active {
    color: #fff;
    font-weight: 600;
}

.ba-type-versions-wrap {
    display: grid;
}

.ba-type-version {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}

.ba-type-version.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.55s ease, visibility 0s linear 0s;
}

[data-version="primary"] .ba-type-panel {
    background-color: #404247;
}

[data-version="alt"] .ba-type-panel {
    background-color: #70737A;
}

.ba-type-panel {
    border-radius: 0;
    padding: 44px 50px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    color: #fff;
}

.ba-type-panel-header h3 {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.ba-type-panel-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin: 0;
}

.ba-type-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 30px 0;
}

.ba-type-font-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 28px 0;
}

.ba-type-font-row + .ba-type-font-row {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ba-type-font-info {
    flex: 0 0 200px;
}

.ba-font-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    font-family: 'Montserrat', sans-serif;
}

.ba-font-role {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.ba-type-font-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    margin: 0;
}

.ba-type-charsets {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ba-charset-label {
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ba-charset-chars {
    font-size: clamp(12px, 1.2vw, 16px);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.4px;
}

.ba-charset-col.is-light .ba-charset-label,
.ba-charset-col.is-light .ba-charset-chars {
    font-weight: 300;
}

.ba-charset-col.is-bold .ba-charset-label,
.ba-charset-col.is-bold .ba-charset-chars {
    font-weight: 700;
}

.ba-font-montserrat .ba-charset-chars {
    font-family: 'Montserrat', sans-serif;
}

.ba-font-lato .ba-charset-chars {
    font-family: 'Lato', sans-serif;
}

.ba-font-arial .ba-charset-chars {
    font-family: Arial, sans-serif;
}

.ba-font-helvetica .ba-charset-chars {
    font-family: Helvetica, Arial, sans-serif;
}

.ba-charset-label {
    font-size: clamp(11px, 1vw, 13px);
}

.ba-font-name {
    font-size: clamp(16px, 1.4vw, 20px);
}

.ba-type-font-info p {
    font-size: clamp(13px, 1.2vw, 15px);
}


/* ======================================== *
        Our Color Palette
 * ======================================== */

.ba-colors {
    padding: 80px 20px;
    text-align: center;
}

.ba-colors > p {
    max-width: 820px;
    margin: 0 auto 50px;
    line-height: 1.7;
    color: #555;
}

.ba-color-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.ba-color-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ba-color-group h4 {
    font-weight: 600;
    margin-bottom: 20px;
}

.ba-swatch-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.ba-swatch-row:hover {
    opacity: 0.75;
}

.ba-swatch {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.08);
}

.ba-swatch-info {
    text-align: left;
}

.ba-swatch-hex {
    font-size: 13px;
    font-weight: 600;
    font-family: monospace;
}

.ba-swatch-label {
    font-size: 11px;
    color: #888;
}


/* ======================================== *
        Responsive — matches TMF breakpoints
 * ======================================== */

@media screen and (max-width: 950px) {
    .ba-voice-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ba-logo-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ba-logo-text {
        padding-right: 0;
        text-align: center;
    }

    .ba-logo-display {
        grid-column: 1;
        padding: 30px 20px;
        gap: 50px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        background: #5B2B66;
    }

    #ba-logo-wrapper {
        background: #3c3b3e;
    }

    #ba-logo-wrapper::before {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
    }

    #ba-logo-wrapper::after {
        width: 100%;
        height: 50%;
        top: 0;
        left: 0;
    }

    .ba-logo-variant:nth-child(1) img,
    .ba-logo-variant:nth-child(1) .ba-logo-img {
        max-width: 320px;
    }

    .ba-logo-variant:nth-child(2) img,
    .ba-logo-variant:nth-child(2) .ba-logo-img {
        max-width: 220px;
    }

    .ba-logo-variant:nth-child(3) img,
    .ba-logo-variant:nth-child(3) .ba-logo-img {
        max-width: 150px;
    }

    .ba-type-font-row {
        flex-direction: column;
        gap: 20px;
    }

    .ba-type-font-info {
        flex: 0 0 auto;
    }

    .ba-type-charsets {
        grid-template-columns: repeat(3, 1fr);
    }

    .ba-color-groups {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .ba-charset-chars {
        font-size: 14px;
    }
}

@media screen and (max-width: 650px) {
    .ba-voice-grid {
        grid-template-columns: 1fr;
    }

    .ba-name-usage-inner {
        flex-direction: column;
    }

    .ba-type-panel {
        padding: 32px 18px;
    }

    .ba-type-charsets {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ba-intro-buttons {
        flex-direction: column;
        align-items: center;
    }

    .ba-hero-title {
        padding: 40px 15px 20px;
    }

    .ba-hero-angled {
        padding: 30px 15px 50px;
    }

    .ba-logo-section {
        padding: 60px 20px;
    }

    .ba-logo-display {
        gap: 40px;
        padding: 24px 16px;
    }

    .ba-logo-variant:nth-child(1) img,
    .ba-logo-variant:nth-child(1) .ba-logo-img {
        max-width: 260px;
    }

    .ba-logo-variant:nth-child(2) img,
    .ba-logo-variant:nth-child(2) .ba-logo-img {
        max-width: 200px;
    }

    .ba-logo-variant:nth-child(3) img,
    .ba-logo-variant:nth-child(3) .ba-logo-img {
        max-width: 130px;
    }

    .ba-typography,
    .ba-colors {
        padding: 50px 15px;
    }

    .ba-type-font-row {
        gap: 24px;
    }

    .ba-charset-col {
        padding: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        background: rgba(255,255,255,0.03);
        border-radius: 8px;
    }

    .ba-charset-chars {
        font-size: 15px;
        line-height: 2;
        letter-spacing: 0.5px;
    }
}

.page-id-25259 #int-bottom-section-wrapper {
    display: none;
}


/* ======================================== *
   Subtle Animations Library
 * ======================================== */

.fx-fade-in,
.fx-fade-up,
.fx-fade-down,
.fx-fade-left,
.fx-fade-right,
.fx-zoom-in,
.fx-zoom-out {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

.fx-fade-in.is-visible {
    opacity: 1;
}

.fx-fade-up {
    transform: translateY(30px);
}

.fx-fade-up.is-visible {
    opacity: 1 !important;
    transform: none !important;
}

.fx-fade-down {
    transform: translateY(-30px);
}

.fx-fade-down.is-visible {
    opacity: 1;
    transform: none;
}

.fx-fade-left {
    transform: translateX(-30px);
}

.fx-fade-left.is-visible {
    opacity: 1;
    transform: none;
}

.fx-fade-right {
    transform: translateX(30px);
}

.fx-fade-right.is-visible {
    opacity: 1;
    transform: none;
}

.fx-zoom-in {
    transform: scale(0.9);
}

.fx-zoom-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

.fx-zoom-out {
    transform: scale(1.1);
}

.fx-zoom-out.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.fx-delay-1 { transition-delay: 0.1s; }
.fx-delay-2 { transition-delay: 0.2s; }
.fx-delay-3 { transition-delay: 0.3s; }
.fx-delay-4 { transition-delay: 0.4s; }
.fx-delay-5 { transition-delay: 0.5s; }
.fx-delay-6 { transition-delay: 0.6s; }
.fx-delay-7 { transition-delay: 0.7s; }
.fx-delay-8 { transition-delay: 0.8s; }




/* ======================================== *
   Integrations CSS
 * ======================================== */

.tmf-integration-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tmf-integration-logo-grid .logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: #F5F6F8;
    height: 170px;
    border: 1px solid #eeeeee30;
}

.tmf-integration-logo-grid img {
    max-width: 175px;
    width: 100%;
    height: auto;
    opacity: .85;
    transition: opacity .2s ease, transform .2s ease;
}

.tmf-integration-logo-grid img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .tmf-integration-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .tmf-integration-logo-grid {
        grid-template-columns: 1fr;
    }
}





@media (max-width: 1250px) {
.ba-logo-text {
    margin-top:15%;
}
    
.ba-logo-display {
    gap: 100px;
    height: 0%;  
    margin-top:30%;
}
}