/* =========================================================
   YXE WEB STUDIOS
   BRANDING PORTFOLIO
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

.brand-page {
    position: relative;
    z-index: 2;
    width: 100%;
}


/* =========================================================
   BRANDING INTRO
   ========================================================= */

.brand-intro {
    position: relative;
    padding: 150px 0 70px;
}

.brand-intro .container {
    position: relative;
    z-index: 2;
}

.brand-intro-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.brand-intro .eyebrow {
    color: rgba(96, 165, 250, .85);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.brand-intro-count {
    color: rgba(234, 244, 255, .35);
    font-size: 11px;
    letter-spacing: .16em;
    white-space: nowrap;
}

.brand-intro-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: end;
    gap: 80px;
}

.brand-intro-row h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(55px, 7vw, 110px);
    line-height: .88;
    font-weight: 700;
    letter-spacing: -.055em;
}

.brand-intro-row h1 span {
    color: #3b82ff;
}

.brand-intro-row p {
    max-width: 360px;
    margin: 0 0 8px;
    color: rgba(234, 244, 255, .58);
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   WORK AREA
   ========================================================= */

.brand-work {
    position: relative;
    padding: 20px 0 120px;
}

.brand-work .container {
    position: relative;
}


/* =========================================================
   ACCORDION
   ========================================================= */

.brand-accordion {
    width: 100%;
    border-top: 1px solid rgba(96, 165, 250, .16);
}


/* =========================================================
   BRAND CARD
   ========================================================= */

.brand-card {
    position: relative;
    width: 100%;
    border-bottom: 1px solid rgba(96, 165, 250, .16);
}


/* =========================================================
   CARD TOGGLE
   ========================================================= */

.brand-card-toggle {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr 50px;
    align-items: center;
    width: 100%;
    min-height: 92px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
}

.brand-card-number {
    color: rgba(96, 165, 250, .42);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
}

.brand-card-label {
    color: rgba(234, 244, 255, .68);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -.01em;
    transition:
        color .35s ease,
        transform .35s ease;
}

.brand-card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(96, 165, 250, .22);
    border-radius: 50%;
    color: rgba(234, 244, 255, .65);
    font-size: 16px;
    transition:
        border-color .35s ease,
        background .35s ease,
        color .35s ease,
        transform .45s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.brand-card-toggle:hover .brand-card-label {
    color: #ffffff;
    transform: translateX(5px);
}

.brand-card-toggle:hover .brand-card-arrow {
    border-color: rgba(96, 165, 250, .65);
    color: #ffffff;
}


/* =========================================================
   ACTIVE
   ========================================================= */

.brand-card.is-active .brand-card-label {
    color: #ffffff;
}

.brand-card.is-active .brand-card-arrow {
    border-color: rgba(96, 165, 250, .75);
    background: rgba(37, 99, 235, .12);
    color: #ffffff;
    transform: rotate(90deg);
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.brand-card-content {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
    gap: 70px;
    align-items: center;

    max-height: 0;
    overflow: hidden;

    opacity: 0;
    transform: translateY(-15px);

    transition:
        max-height .7s cubic-bezier(.22, 1, .36, 1),
        opacity .45s ease,
        transform .7s cubic-bezier(.22, 1, .36, 1);

    pointer-events: none;
}


/* =========================================================
   ACTIVE CONTENT
   ========================================================= */

.brand-card.is-active .brand-card-content {
    max-height: 900px;
    padding: 25px 0 75px;

    opacity: 1;
    transform: translateY(0);

    pointer-events: auto;
}


/* =========================================================
   IMPORTANT
   IMAGE CONTAINER
   =========================================================
   
   NO WHITE BACKGROUND.
   NO CARD.
   NO WHITE PADDING.
   NO BOX.
   ========================================================= */

.brand-card-image {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 300px;

    padding: 0;
    margin: 0;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    overflow: visible;
}


/* =========================================================
   IMAGE
   ========================================================= */

.brand-card-image img {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 560px;

    margin: 0 auto;

    object-fit: contain;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    transition:
        transform .6s cubic-bezier(.22, 1, .36, 1),
        filter .6s ease;
}


/* =========================================================
   IMAGE HOVER
   ========================================================= */

.brand-card:hover .brand-card-image img {
    transform: scale(1.025);
}


/* =========================================================
   LIGHT IMAGE COMPATIBILITY
   ========================================================= */

.brand-card-image-light {
    background: transparent !important;
    box-shadow: none !important;
}


/* =========================================================
   INFO
   ========================================================= */

.brand-card-info {
    position: relative;
    padding: 10px 0;
}

.brand-card-category {
    display: block;
    margin-bottom: 25px;

    color: rgba(96, 165, 250, .72);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1.5;
    text-transform: uppercase;
}

.brand-card-info h2 {
    margin: 0 0 35px;

    color: #ffffff;

    font-size: clamp(40px, 4vw, 68px);
    font-weight: 700;
    line-height: .94;
    letter-spacing: -.045em;
}

.brand-card-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition:
        color .3s ease,
        gap .3s ease;
}

.brand-card-link strong {
    font-size: 18px;
    font-weight: 400;
}

.brand-card-link:hover {
    color: #60a5fa;
    gap: 20px;
}


/* =========================================================
   IMAGE GLOW
   ---------------------------------------------------------
   Very subtle glow behind artwork.
   This is NOT a white box.
   ========================================================= */

.brand-card-image::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 65%;
    height: 55%;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            ellipse,
            rgba(37, 99, 235, .13) 0%,
            rgba(37, 99, 235, .05) 35%,
            transparent 72%
        );

    filter: blur(45px);

    opacity: .65;

    pointer-events: none;

    z-index: -1;
}


/* =========================================================
   BOTTOM CTA
   ========================================================= */

.brand-bottom {
    position: relative;
    padding: 80px 0 120px;
}

.brand-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    padding: 55px 0;

    border-top: 1px solid rgba(96, 165, 250, .15);
    border-bottom: 1px solid rgba(96, 165, 250, .15);
}

.brand-bottom .eyebrow {
    display: block;
    margin-bottom: 15px;

    color: rgba(96, 165, 250, .72);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.brand-bottom h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(36px, 5vw, 70px);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.045em;
}

.brand-bottom h2 span {
    color: #3b82ff;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.brand-bottom .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 26px;

    border: 1px solid rgba(96, 165, 250, .45);
    border-radius: 999px;

    background:
        rgba(37, 99, 235, .12);

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    white-space: nowrap;

    backdrop-filter: blur(12px);

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.brand-bottom .btn-primary:hover {
    background:
        rgba(37, 99, 235, .24);

    border-color:
        rgba(96, 165, 250, .75);

    transform:
        translateY(-2px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .brand-intro {
        padding-top: 120px;
    }

    .brand-intro-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .brand-intro-row p {
        max-width: 520px;
    }

    .brand-card-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .brand-card-info {
        padding: 0;
    }

    .brand-card-image {
        min-height: 250px;
    }

    .brand-card-image img {
        max-height: 480px;
    }

    .brand-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .brand-intro {
        padding: 105px 0 55px;
    }

    .brand-intro-top {
        margin-bottom: 28px;
    }

    .brand-intro-row h1 {
        font-size: clamp(48px, 14vw, 72px);
    }

    .brand-intro-row p {
        font-size: 14px;
    }

    .brand-card-toggle {
        grid-template-columns: 45px 1fr 42px;
        min-height: 76px;
    }

    .brand-card-label {
        font-size: 16px;
    }

    .brand-card-number {
        font-size: 10px;
    }

    .brand-card-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .brand-card.is-active .brand-card-content {
        padding-bottom: 55px;
    }

    .brand-card-image {
        min-height: 180px;
    }

    .brand-card-image img {
        width: 100%;
        max-width: 100%;
        max-height: 350px;
    }

    .brand-card-info h2 {
        font-size: 42px;
    }

    .brand-card-category {
        margin-bottom: 18px;
        font-size: 9px;
    }

    .brand-card-link {
        font-size: 13px;
    }

    .brand-bottom {
        padding: 60px 0 80px;
    }

    .brand-bottom-inner {
        padding: 45px 0;
    }

    .brand-bottom h2 {
        font-size: 43px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .brand-intro-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .brand-card-content {
        gap: 30px;
    }

    .brand-card-image {
        min-height: 140px;
    }

    .brand-card-image img {
        max-height: 280px;
    }

    .brand-card-info h2 {
        font-size: 36px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .brand-card-content,
    .brand-card-label,
    .brand-card-arrow,
    .brand-card-image img,
    .brand-card-link,
    .brand-bottom .btn-primary {
        transition: none !important;
    }

}