/* HERO — graphic-print / web-design template */
.hero .container-flexible {
    --container-flexible-a: 0.52;
    --container-flexible-b: 0.48;
}

.hero .image {
    margin-top: -100px;
}

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

.hero .title-smaller {
    margin-top: 40px;
}


/* BRANDING SERVICES — dark icon list (design-services template) */
.brand-services {
    padding: var(--section-padding) 0;
}

.brand-services .property-list>div {
    position: relative;
    padding-left: 100px;
    font-size: 16px;
    color: var(--color-ink-soft);
}

.brand-services .property-list>div strong {
    display: block;
    font-size: 20px;
    color: #fff;
}

.brand-services .property-list img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.86;
    position: absolute;
    left: 0;
    top: 30px;
}

.google-rating {
    box-shadow: 0px 7px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.google-rating img {
    width: 200px;
    display: block;
    margin: auto;
    margin: 20px auto;
}

/* SPLIT — strong visual direction template */
.strong-visual-direction .container-flexible {
    --container-flexible-a: 0.50;
    --container-flexible-b: 0.50;
}

section.strong-visual-direction .img {
    margin-top: calc(-1 * var(--section-padding));
}

@media (max-width: 1299px) {
    .strong-visual-direction .container-flexible .img {
        order: 3;
        padding-top: 20px;
    }
}


.brand-process-intro .container-flexible {
    position: relative;
    align-items: flex-start;
}

.brand-process-intro .container-flexible .container-fraction {
    padding: 80px 0;
}

.brand-process-intro .container-flexible>div.image {
    position: absolute;
    top: 0;
    right: 0;
    width: calc((100% - var(--gap-x)) * var(--container-flexible-b));
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.brand-process-intro .container-flexible>div.image .animate {
    flex: 1;
    display: flex;
    min-height: 0;
}

.brand-process-intro .container-flexible>div.image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    /* overrides flex default for images */
    object-fit: contain;
    display: block;
    object-position: left center;
}

/* IN-PRACTICE + GROWTH (graphic-print template) */
.design-in-practice {
    text-align: center;
    background-color: var(--color-bg2);
    padding: var(--section-padding) 0;
}

.design-growth {
    text-align: center;
}

.design-growth p {
    padding-top: 20px;
}

.design-growth .btn {
    margin-top: 20px;
}


/* GOOGLE RATING + QUOTE (web-design template) */
section.google-rating {
    padding: calc(var(--section-padding) / 2) 0;
}


/* PROCESS TIMELINE (Scroll Scrub) — web-design template */
.web-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    margin-top: 60px;
}

.web-process-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #E5E5E5;
    z-index: 0;
}

.process-fill-line {
    position: absolute;
    top: 24px;
    left: 0;
    height: 1px;
    background: var(--accent);
    z-index: 1;
    width: 0%;
}

.process-step {
    position: relative;
    z-index: 2;
}

.process-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: #ccc;
    margin-bottom: 25px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.process-step.active .process-num {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
    transform: scale(1.2);
    box-shadow: 0 10px 20px rgba(255, 82, 0, 0.3);
}

.process-step h4 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #111;
    transition: color 0.3s;
}

.process-step.active h4 {
    color: var(--accent);
}

.process-step p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

@media (max-width: 1024px) {
    .web-process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .web-process-grid::before {
        display: none;
    }

    .process-fill-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .web-process-grid {
        grid-template-columns: 1fr;
    }
}


/* CASE STUDY */

.brand-case-study .images .row {
    --gap-x: 8px;
    margin-top: 8px;
}

.brand-case-study .images img {
    border-radius: 10px
}

.brand-case-study .big {
    display: flex
}

.brand-case-study .big img {
    object-fit: cover;
}

.case-study-outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.case-study-outcomes strong {
    display: block;
    margin-bottom: 10px;
}

.case-study-outcomes img {
    height: 100px;
    float: left;
    margin: 0 10px 10px 0
}

@media (max-width: 1024px) {
    .case-study-gallery {
        grid-template-columns: 1fr;
    }

    .case-study-outcomes {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}


/* BRAND IN CANADA — fixed background band */
.brand-in-canada {
    position: relative;
    height: 85vh;
    padding: 0;
    color: #fff;
    background-image: url('../../images/branding-canada.webp');
    background-size: cover;
    background-position: center var(--header-height);
    background-repeat: no-repeat;
    background-attachment: fixed;
}