/* SECTION  */
.hero .container-flexible {
    --container-flexible-a: 0.52;
    --container-flexible-b: 0.48;
}

.hero .image {
    margin-top: -100px;
}



.design-services {
    padding: var(--section-padding) 0px
}

.design-services .property-list>div {
    position: relative;
    padding-left: 100px;
    font-size: 16px;
    color: var(--color-ink-soft)
}

.design-services .property-list>div strong {
    display: block;
    font-size: 20px;
    color: #fff;
}

.design-services .property-list img {

    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.86;
    position: absolute;
    left: 0;
    top: 30px
}

section.rating {
    padding: 0;
}

.sample-work {
    padding-top: var(--section-padding)
}

.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;
    }
}

.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;
}



/* OTHER SITE */

.cine-image-col {
    height: 100vh;
    position: sticky;
    top: 0;
    right: 0;
    overflow: hidden;
    background: #111;
    z-index: 1;
}

@media (max-width: 1299px) {

    .portfolio .mini-card.cine-block.active,
    .portfolio .mini-card.cine-block {
        border: none !important;
        padding: 20px 0;
        opacity: 1;
        transform: translateX(0);
        min-height: unset
    }
}


/* --- GRAPHIC DESIGN TICKER + VERDE REFINEMENT --- */


/* 2. THE CINEMATIC SPLIT WRAPPER */
.cinematic-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    /* Full bleed break-out */
    margin-top: 80px;
    border-top: 1px solid #E5E5E5;
    /* IMPORTANT: 'overflow: hidden' REMOVED to allow sticky to work */
}

.cinematic-container {
    display: grid;
    /* REBALANCED: Text 55% (Wider), Image 45% (Narrower) */
    grid-template-columns: 55% 45%;
    width: 100%;
    position: relative;
    min-height: 100vh;
}

/* LEFT: Narrative Scroll */
.cine-text-col {
    padding-left: max(40px, calc((100vw - 1300px) / 2 + 40px));
    padding-right: 60px;
    padding-bottom: 20vh;
    padding-top: 15vh;
    /* Start lower to align with sticky image */
    background: #fff;
    z-index: 2;
}

.cine-block {
    min-height: 90vh;
    /* Give plenty of scroll space per item */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 40px;
    border-left: 2px solid transparent;
    opacity: 0.1;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, border-color 0.6s ease;
}

section .cine-block a {
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px
}

section .cine-block .title-smaller {
    font-size: 14px;
    border-top: 1px solid var(--accent);
    padding-top: 20px;
    text-transform: none;
    margin-top: 10px;
    letter-spacing: 0;
    color: var(--color-ink2);
}

.cine-block.active {
    opacity: 1;
    transform: translateX(0);
    border-left-color: var(--accent);
}

.cine-num {
    font-size: 14px;
    font-weight: 700;
    color: #999;
    margin-bottom: 20px;
    display: block;
    letter-spacing: 1px;
}

.cine-block.active .cine-num {
    color: var(--accent);
}

.cine-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 30px;
    color: #111;
    letter-spacing: -0.015em;
}

.cine-desc {
    font-size: 18px;
    line-height: 1.7;
    color: #666;
    max-width: 450px;
}

.cine-desc a {
    color: #111;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    transition: 0.2s;
}

.cine-desc a:hover {
    background: var(--accent);
    color: #fff;
}

/* RIGHT: Image Stage (Sticky) */
.cine-image-col {
    height: 100vh;
    position: sticky;
    top: 0;
    right: 0;
    overflow: hidden;
    background: #111;
    z-index: 1;
}

.cine-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* DEFAULT STATE: Hidden, zoomed in, and Black & White */
    opacity: 0;
    transform: scale(1.1);
    filter: grayscale(100%);

    /* THE FIX: Added 'filter' to the transition list */
    /* Opacity is fast (0.6s), Color is slow (1.5s) = "Developing" effect */
    transition: opacity 0.6s ease-out,
        transform 1.5s ease-out,
        filter 1.5s ease-in-out;
}

.cine-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;

    /* THE FIX: Actually turn the color on */
    filter: grayscale(0%);
}


/* 3. STICKY FLOAT BUTTON */
.sticky-float-btn {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 20;
    background: #fff;
    color: #111;
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    cursor: pointer;
    text-decoration: none;
}

.sticky-float-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(0) scale(1.05);
}

@media (min-width: 1300px) {
    .sticky-float-btn {
        opacity: 1;
        transform: translateY(0);
    }
}


.graphic-rating-row {
    margin-top: -28px;
    display: inline-block;
}

section.graphic-service-ticker {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin: 0;
    overflow: hidden;
    padding: 80px 0;
}

.graphic-service-ticker-track {
    display: flex;
    width: max-content;
    animation: graphicServiceTicker 48s linear infinite;
    will-change: transform;
}

.graphic-service-ticker:hover .graphic-service-ticker-track {
    animation-play-state: paused;
}

.graphic-service-inline {
    width: max-content;
    margin: 0;
    padding: 18px 18px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0 13px;
    color: #858585;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: lowercase;
    white-space: nowrap;
}

.graphic-service-inline .ticker-sep {
    color: #d9d9d9;
}

@keyframes graphicServiceTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.graphic-systems-section .graphic-catalogue-image {
    margin-left: calc((100vw - 1300px) / -2 - 80px);
}

.graphic-systems-section .graphic-catalogue-image img {
    width: min(864px, 60vw);
}

.graphic-systems-section .graphic-catalogue-copy {
    margin-left: -70px;
}

@media (max-width: 1299px) {
    .graphic-rating-row {
        margin-top: 0;
    }

    .graphic-service-ticker {
        margin-top: 46px;
    }

    .graphic-service-inline {
        padding: 15px 16px;
        font-size: 14px;
    }

    .graphic-systems-section .graphic-catalogue-image {
        margin-left: 0;
    }

    .graphic-systems-section .graphic-catalogue-image img {
        width: 100%;
    }

    .graphic-systems-section .graphic-catalogue-copy {
        margin-left: 0;
    }
}

/* --- GRAPHIC DESIGN TICKER + SCROLL INTRO REFINEMENT --- */
.graphic-service-ticker:hover .graphic-service-ticker-track {
    animation-play-state: running;
}

.graphic-systems-section {
    padding-top: 82px;
}

.graphic-scroll-intro {
    padding: 76px 0 20px;
    background: #fff;
}

.graphic-scroll-intro .container {
    max-width: 940px;
}

.graphic-scroll-intro h2 {
    font-size: clamp(34px, 3.8vw, 52px);
    line-height: 1;
    letter-spacing: -0.015em;
    margin: 18px 0 24px;
}

.graphic-scroll-intro p {
    color: #666;
    font-size: 20px;
    line-height: 1.6;
    max-width: 860px;
}

.cinematic-wrapper {
    margin-top: 40px;
}

@media (max-width: 1299px) {
    .graphic-systems-section {
        padding-top: 58px;
    }

    .graphic-scroll-intro {
        padding: 58px 0 0;
    }

    .graphic-scroll-intro p {
        font-size: 18px;
    }
}



/* --- GRAPHIC DESIGN REBALANCE --- */
.graphic-services-section {
    background: #101010;
    color: #fff;
}

.graphic-services-section .web-method-label {
    color: #ff4f00;
}

.graphic-services-copy h2,
.graphic-services-list strong {
    color: #fff;
}

.graphic-services-copy p,
.graphic-services-list span {
    color: #b8b8b8;
}

.graphic-services-list {
    border-top-color: rgba(255, 255, 255, 0.16);
}

.graphic-services-list div {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    border-bottom-color: rgba(255, 255, 255, 0.16);
}

.graphic-services-list img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.86;
}

.graphic-services-list strong {
    display: block;
    margin-bottom: 7px;
}

.graphic-services-section .seo-text-link,
.graphic-services-list a {
    color: #ff4f00;
}

.graphic-examples-section {
    padding: 110px 0 115px;
    background: #fff;
}

.graphic-example-grid {
    display: none;
}

.graphic-example-marquee {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
}

.graphic-example-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: graphicExampleMarquee 62s linear infinite;
    will-change: transform;
}

.graphic-example-marquee:hover .graphic-example-track {
    animation-play-state: paused;
}

.graphic-example-track img {
    flex: 0 0 auto;
    width: clamp(230px, 22vw, 340px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

@keyframes graphicExampleMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 12px));
    }
}

.graphic-catalogue-section {
    background: #fff;
    color: #111;
}

.graphic-catalogue-copy h2 {
    color: #111;
}

.graphic-catalogue-copy p {
    color: #666;
}

.graphic-catalogue-copy .web-method-label {
    color: #ff4f00;
}

@media (max-width: 1299px) {
    .graphic-services-list div {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .graphic-services-list img {
        width: 44px;
        height: 44px;
    }

    .graphic-example-track {
        gap: 16px;
        animation-duration: 48s;
    }

    .graphic-example-track img {
        width: 230px;
    }
}



/* --- GRAPHIC EXAMPLES CONTROLS + MODAL --- */
.graphic-example-track {
    gap: 14px;
}

.graphic-example-track img:not([aria-hidden="true"]) {
    cursor: zoom-in;
}

.graphic-example-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 28px 0 0;
}

.graphic-example-control {
    width: 36px;
    height: 36px;
    border: 1px solid #d6d6d6;
    border-radius: 999px;
    background: transparent;
    color: #9a9a9a;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.graphic-example-control:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.graphic-image-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(22px, 4vw, 70px);
    background: rgba(17, 17, 17, 0.86);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.graphic-image-modal[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.graphic-image-modal img {
    max-width: min(92vw, 1180px);
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
}

.graphic-image-modal-close {
    position: fixed;
    top: 22px;
    right: 26px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    line-height: 36px;
}

body.graphic-modal-open {
    overflow: hidden;
}

@media (max-width: 1299px) {
    .graphic-example-track {
        gap: 10px;
    }
}