.hero {
    padding-top: 60px;
}

.hero .container-flexible {
    --container-flexible-a: 0.60;
    --container-flexible-b: 0.4;
}

.hero .images {
    position: relative;
    margin-top: 120px;
}


.hero .images .suitcase {
    position: absolute;
    width: 600px;
    height: auto;
    top: 0;
    right: 20px
}

section.logos {
    padding: 0px
}

.design-services .container-flexible {
    --container-flexible-a: 0.5;
    --container-flexible-b: 0.5;
}

.seo-services .container-flexible {
    --container-flexible-a: 0.45;
    --container-flexible-b: 0.55;
}

.seo-services .property-list {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
}


.feature-split .container-flexible {
    --container-flexible-a: 0.5;
    --container-flexible-b: 0.5;
}

.design-and-built .title-small {
    color: var(--color-ink)
}

.design-and-built .title-smaller {
    margin-top: 25px;
    margin-bottom: 10px;
}

.final-cta {

    background-color: var(--color-bg3);
    color: #fff;
}

.final-cta .btn.white {
    margin-bottom: 20px;
}


.design-services .parallax-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.design-services .imac-base {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
}

.design-services .screen-top,
.design-services .screen-bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    will-change: transform, opacity;

    opacity: 0;
    transition: opacity 0.1s linear;
}

.design-services .screen-top {
    z-index: 2;
}

.design-services .screen-bottom {
    z-index: 3;
}

.design-services .services .title-h6 {
    margin: 20px 0px;
    padding: 20px 0px;
    border-top: 2px solid var(--color-soft-ink);
    border-bottom: 1px solid var(--color-soft-ink);
}

.design-services .services ul {
    padding: 0;
    list-style: none;
}

.design-services .services ul li {
    font-size: 17px;
    padding-bottom: 8px;
}




/* PORTFOLIO */
.portfolio-section {
    padding: 100px 0 160px 0;
}

.portfolio-header {
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

@media (max-width: 768px) {
    .portfolio-section {
        padding-top: 70px;
    }

    .portfolio-header {
        display: block;
        margin-bottom: 38px;
    }

    .portfolio-header h2 {
        max-width: 100%;
        margin-bottom: 24px;
        font-size: 40px;
        line-height: 1.12;
        letter-spacing: -0.015em;
    }

    .portfolio-header a {
        display: inline-block;
        max-width: 270px;
        font-size: 19px;
        line-height: 1.28;
    }
}

.accordion-gallery {
    display: flex;
    height: 600px;
    gap: 15px;
    width: 100%;
}

.acc-card {
    position: relative;
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: skewX(-5deg);
    margin: 0 5px;
}

.acc-card:first-child {
    margin-left: 0;
}

.acc-card:last-child {
    margin-right: 0;
}

.acc-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2) skewX(5deg);
    transition: all 0.6s ease;
}

.acc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(20px) skewX(5deg);
    transition: all 0.4s ease 0.1s;
}

.acc-content h3 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.acc-content .acc-cat {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.acc-btn {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
}

/* Hover States */
.acc-card:hover {
    flex: 4;
    transform: skewX(0);
    margin: 0;
    z-index: 5;
}

.acc-card:hover img {
    transform: scale(1) skewX(0);
    filter: grayscale(0%);
}

.acc-card:hover .acc-content {
    opacity: 1;
    transform: translateY(0) skewX(0);
}

/* LEGACY & SERVICES SECTIONS */
.legacy-collage-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: start;
}

.insight-wrapper {
    margin-top: 120px;
}

.insight-card {
    background: #fff;
    padding: 50px;
    box-shadow: -30px 30px 60px rgba(0, 0, 0, 0.05);
    position: relative;
    border-left: 4px solid var(--accent);
}

.insight-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 15px;
}

.legacy-visuals {
    position: relative;
    height: 600px;
    width: 100%;
}

.visual-back {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 85%;
    background-image: url(../../images/fm_halftone.jpg);
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

.visual-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 60%;
    background-image: url('../../images/fm_team_sm.jpg');
    background-size: cover;
    background-position: center;
    z-index: 2;
    border: 10px solid #fff;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    will-change: transform;
}

.hero .images {
    overflow: hidden;
}