/* =========================================================
   ADMITH LEGACY
   DESIGN & EXPERIENCE — DEDICATED SERVICE PAGE

   FILE:
   css/pages/design-experience.css

   PURPOSE:
   Premium standalone Design & Experience service page
========================================================= */


/* =========================================================
   01. PAGE FOUNDATION
========================================================= */

.design-experience-page {

    position: relative;

    overflow: hidden;

    background:
        #ffffff;

}


/* =========================================================
   02. SERVICE HERO
========================================================= */

.design-hero {

    position: relative;

    min-height: 88vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    isolation: isolate;

    padding:
        8rem
        0
        6rem;

    background:

        radial-gradient(
            circle at 75% 25%,
            rgba(
                91,
                183,
                128,
                0.14
            ),
            transparent 32%
        ),

        radial-gradient(
            circle at 10% 85%,
            rgba(
                150,
                20,
                20,
                0.035
            ),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #f7faf8 0%,
            #ffffff 55%,
            #f8faf9 100%
        );

}


/* =========================================================
   HERO GRID
========================================================= */

.design-hero-grid {

    position: absolute;

    inset: 0;

    z-index: -1;

    opacity: 0.32;

    background-image:

        linear-gradient(
            rgba(
                20,
                35,
                27,
                0.04
            )
            1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(
                20,
                35,
                27,
                0.04
            )
            1px,
            transparent 1px
        );

    background-size:
        72px
        72px;

    mask-image:

        linear-gradient(
            to bottom,
            black,
            black 65%,
            transparent
        );

}


/* =========================================================
   HERO ORBITS
========================================================= */

.design-hero-orbit {

    position: absolute;

    border:
        1px
        solid
        rgba(
            61,
            152,
            101,
            0.12
        );

    border-radius:
        50%;

    pointer-events:
        none;

}


.design-hero-orbit-one {

    width:
        620px;

    height:
        620px;

    right:
        -220px;

    top:
        -120px;

}


.design-hero-orbit-two {

    width:
        430px;

    height:
        430px;

    right:
        -80px;

    top:
        -20px;

    border-color:
        rgba(
            91,
            183,
            128,
            0.10
        );

}


/* =========================================================
   HERO CONTENT
========================================================= */

.design-hero .container {

    position:
        relative;

    z-index:
        2;

}


.design-hero-content {

    max-width:
        850px;

}


.service-page-label {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    margin-bottom:
        1.5rem;

    color:
        #3d9865;

    font-size:
        0.72rem;

    font-weight:
        800;

    letter-spacing:
        0.18em;

    text-transform:
        uppercase;

}


.service-page-label::before {

    content:
        "";

    width:
        8px;

    height:
        8px;

    border-radius:
        50%;

    background:
        #5bb780;

    box-shadow:
        0
        0
        0
        5px
        rgba(
            91,
            183,
            128,
            0.12
        );

}


.design-hero h1 {

    max-width:
        850px;

    margin:
        0;

    color:
        #111412;

    font-size:
        clamp(
            3.2rem,
            7vw,
            6.8rem
        );

    font-weight:
        700;

    line-height:
        0.98;

    letter-spacing:
        -0.065em;

}


.design-hero h1::after {

    content:
        "";

    display:
        block;

    width:
        90px;

    height:
        4px;

    margin-top:
        2rem;

    border-radius:
        999px;

    background:
        linear-gradient(
            90deg,
            #3d9865,
            #5bb780
        );

}


.design-hero-content > p {

    max-width:
        650px;

    margin:
        2rem
        0
        0;

    color:
        #5f6b64;

    font-size:
        1.08rem;

    line-height:
        1.85;

}


/* =========================================================
   HERO ACTIONS
========================================================= */

.design-hero-actions {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        14px;

    margin-top:
        2.25rem;

}


/* =========================================================
   HERO META
========================================================= */

.design-hero-meta {

    display:
        flex;

    align-items:
        center;

    gap:
        22px;

    margin-top:
        5rem;

}


.hero-meta-item {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

}


.hero-meta-item span {

    color:
        #3d9865;

    font-size:
        0.72rem;

    font-weight:
        800;

    letter-spacing:
        0.12em;

}


.hero-meta-item p {

    margin:
        0;

    color:
        #252b27;

    font-size:
        0.82rem;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;

}


.hero-meta-line {

    width:
        50px;

    height:
        1px;

    background:
        rgba(
            25,
            40,
            31,
            0.18
        );

}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.design-scroll-indicator {

    position:
        absolute;

    left:
        50%;

    bottom:
        28px;

    transform:
        translateX(-50%);

}


.scroll-mouse {

    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        center;

    width:
        25px;

    height:
        40px;

    padding-top:
        7px;

    border:
        1px
        solid
        rgba(
            25,
            40,
            31,
            0.35
        );

    border-radius:
        999px;

}


.scroll-mouse span {

    width:
        4px;

    height:
        7px;

    border-radius:
        999px;

    background:
        #3d9865;

    animation:
        scrollBounce
        1.8s
        ease-in-out
        infinite;

}


@keyframes scrollBounce {

    0%,
    100% {

        transform:
            translateY(0);

        opacity:
            0.4;

    }

    50% {

        transform:
            translateY(10px);

        opacity:
            1;

    }

}


/* =========================================================
   03. DESIGN PHILOSOPHY
========================================================= */

.design-philosophy {

    padding:
        clamp(
            6rem,
            10vw,
            9rem
        )
        0;

    background:
        #ffffff;

}


.design-philosophy-grid {

    display:
        grid;

    grid-template-columns:
        minmax(
            0,
            0.9fr
        )
        minmax(
            0,
            1.1fr
        );

    gap:
        clamp(
            3rem,
            7vw,
            8rem
        );

    align-items:
        start;

}


.design-philosophy-heading h2 {

    max-width:
        600px;

    margin:
        1.2rem
        0
        0;

    color:
        #111412;

    font-size:
        clamp(
            2.4rem,
            5vw,
            4.5rem
        );

    line-height:
        1.02;

    letter-spacing:
        -0.055em;

}


.design-philosophy-content {

    padding-top:
        0.5rem;

}


.design-philosophy-content p {

    margin:
        0;

    color:
        #657069;

    font-size:
        1rem;

    line-height:
        1.85;

}


.design-philosophy-lead {

    margin-bottom:
        1.5rem !important;

    color:
        #252b27 !important;

    font-size:
        1.2rem !important;

    line-height:
        1.75 !important;

}


/* =========================================================
   PHILOSOPHY PILLARS
========================================================= */

.philosophy-pillars {

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap:
        20px;

    margin-top:
        5rem;

}


.philosophy-pillar {

    padding:
        2rem;

    border-top:
        1px
        solid
        rgba(
            25,
            40,
            31,
            0.15
        );

}


.pillar-number {

    color:
        #3d9865;

    font-size:
        0.72rem;

    font-weight:
        800;

    letter-spacing:
        0.12em;

}


.philosophy-pillar h3 {

    margin:
        1.2rem
        0
        0.75rem;

    color:
        #171a18;

    font-size:
        1.4rem;

}


.philosophy-pillar p {

    margin:
        0;

    color:
        #657069;

    line-height:
        1.7;

}


/* =========================================================
   04. CAPABILITIES
========================================================= */

.design-capabilities {

    padding:
        clamp(
            6rem,
            10vw,
            9rem
        )
        0;

    background:

        linear-gradient(
            145deg,
            #f6faf7,
            #ffffff
        );

}


.design-capabilities .section-heading {

    max-width:
        760px;

    margin:
        0
        auto
        4rem;

    text-align:
        center;

}


.design-capabilities .section-title {

    margin:
        1rem
        0
        0;

    color:
        #111412;

    font-size:
        clamp(
            2.4rem,
            5vw,
            4.5rem
        );

    line-height:
        1.03;

    letter-spacing:
        -0.055em;

}


.design-capabilities .section-description {

    max-width:
        650px;

    margin:
        1.5rem
        auto
        0;

    color:
        #657069;

    line-height:
        1.8;

}


/* =========================================================
   CAPABILITY GRID
========================================================= */

.capability-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );

    gap:
        20px;

}


.capability-card {

    position:
        relative;

    min-height:
        320px;

    padding:
        2rem;

    overflow:
        hidden;

    border:
        1px
        solid
        rgba(
            25,
            40,
            31,
            0.09
        );

    border-radius:
        24px;

    background:
        rgba(
            255,
            255,
            255,
            0.85
        );

    box-shadow:
        0
        12px
        35px
        rgba(
            20,
            35,
            27,
            0.045
        );

    transition:
        transform
        0.4s
        ease,

        box-shadow
        0.4s
        ease,

        border-color
        0.4s
        ease;

}


.capability-card:hover {

    transform:
        translateY(
            -8px
        );

    border-color:
        rgba(
            91,
            183,
            128,
            0.3
        );

    box-shadow:
        0
        25px
        55px
        rgba(
            20,
            35,
            27,
            0.1
        );

}


.capability-number {

    position:
        absolute;

    top:
        1.5rem;

    right:
        1.75rem;

    color:
        rgba(
            61,
            152,
            101,
            0.35
        );

    font-size:
        0.7rem;

    font-weight:
        800;

    letter-spacing:
        0.1em;

}


.capability-icon {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        60px;

    height:
        60px;

    margin-bottom:
        2rem;

    border:
        1px
        solid
        rgba(
            61,
            152,
            101,
            0.2
        );

    border-radius:
        17px;

    background:
        rgba(
            91,
            183,
            128,
            0.1
        );

}


.capability-icon img {

    width:
        30px;

    height:
        30px;

    object-fit:
        contain;

    filter:

        brightness(
            0
        )

        saturate(
            100%
        )

        invert(
            53%
        )

        sepia(
            35%
        )

        saturate(
            650%
        )

        hue-rotate(
            92deg
        )

        brightness(
            88%
        )

        contrast(
            88%
        );

}


.capability-card h3 {

    margin:
        0
        0
        0.9rem;

    color:
        #171a18;

    font-size:
        1.25rem;

    line-height:
        1.25;

}


.capability-card p {

    margin:
        0;

    color:
        #657069;

    line-height:
        1.75;

}


/* =========================================================
   05. PROCESS
========================================================= */

.design-process {

    padding:
        clamp(
            6rem,
            10vw,
            9rem
        )
        0;

    background:
        #111412;

    color:
        #ffffff;

}


.design-process-header {

    display:
        grid;

    grid-template-columns:
        1fr
        0.8fr;

    gap:
        5rem;

    align-items:
        end;

    margin-bottom:
        5rem;

}


.design-process-header h2 {

    max-width:
        650px;

    margin:
        1rem
        0
        0;

    color:
        #ffffff;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.5rem
        );

    line-height:
        1;

    letter-spacing:
        -0.055em;

}


.design-process-header > p {

    margin:
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.62
        );

    line-height:
        1.8;

}


.design-process .section-label {

    color:
        #5bb780;

}


/* =========================================================
   PROCESS TRACK
========================================================= */

.design-process-track {

    display:
        grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap:
        20px;

}


.design-process-step {

    position:
        relative;

    padding:
        2rem
        0;

    border-top:
        1px
        solid
        rgba(
            255,
            255,
            255,
            0.2
        );

}


.process-step-number {

    color:
        #5bb780;

    font-size:
        0.72rem;

    font-weight:
        800;

    letter-spacing:
        0.12em;

}


.process-step-line {

    width:
        35px;

    height:
        2px;

    margin:
        2rem
        0;

    background:
        #5bb780;

}


.design-process-step h3 {

    margin:
        0
        0
        0.8rem;

    color:
        #ffffff;

    font-size:
        1.4rem;

}


.design-process-step p {

    margin:
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.58
        );

    line-height:
        1.7;

}


/* =========================================================
   06. DELIVERABLES
========================================================= */

.design-deliverables {

    padding:
        clamp(
            6rem,
            10vw,
            9rem
        )
        0;

    background:
        #ffffff;

}


.deliverables-grid {

    display:
        grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap:
        clamp(
            4rem,
            8vw,
            9rem
        );

}


.deliverables-content h2 {

    max-width:
        600px;

    margin:
        1rem
        0
        1.5rem;

    color:
        #111412;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.5rem
        );

    line-height:
        1.02;

    letter-spacing:
        -0.055em;

}


.deliverables-content > p {

    max-width:
        580px;

    margin:
        0;

    color:
        #657069;

    line-height:
        1.8;

}


.service-text-link {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    margin-top:
        2rem;

    color:
        #3d9865;

    font-weight:
        800;

    text-decoration:
        none;

}


.service-text-link span {

    transition:
        transform
        0.3s
        ease;

}


.service-text-link:hover span {

    transform:
        translateX(
            5px
        );

}


.deliverables-list {

    border-top:
        1px
        solid
        rgba(
            25,
            40,
            31,
            0.14
        );

}


.deliverable-item {

    display:
        grid;

    grid-template-columns:
        60px
        1fr;

    align-items:
        center;

    gap:
        20px;

    padding:
        1.4rem
        0;

    border-bottom:
        1px
        solid
        rgba(
            25,
            40,
            31,
            0.1
        );

}


.deliverable-item span {

    color:
        #3d9865;

    font-size:
        0.72rem;

    font-weight:
        800;

}


.deliverable-item p {

    margin:
        0;

    color:
        #252b27;

    font-size:
        1rem;

    font-weight:
        600;

}


/* =========================================================
   07. SELECTED WORK
========================================================= */

.design-work {

    padding:
        clamp(
            6rem,
            10vw,
            9rem
        )
        0;

    background:
        #f6faf7;

}


.design-work .section-heading {

    max-width:
        760px;

    margin:
        0
        auto
        4rem;

    text-align:
        center;

}


.design-work .section-title {

    margin:
        1rem
        0
        0;

    color:
        #111412;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.5rem
        );

    line-height:
        1.02;

    letter-spacing:
        -0.055em;

}


.design-work .section-description {

    max-width:
        620px;

    margin:
        1.5rem
        auto
        0;

    color:
        #657069;

    line-height:
        1.8;

}


.design-work-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap:
        20px;

}


.design-work-card {

    position:
        relative;

    min-height:
        420px;

    display:
        flex;

    align-items:
        flex-end;

    padding:
        2rem;

    overflow:
        hidden;

    border-radius:
        24px;

    text-decoration:
        none;

    background:
        #1c211e;

}


.design-work-card::before {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:

        linear-gradient(
            to top,
            rgba(
                0,
                0,
                0,
                0.78
            ),
            transparent 65%
        );

    z-index:
        1;

}


.work-nnobae {

    background:

        linear-gradient(
            145deg,
            #1d4d35,
            #09130d
        );

}


.work-africart {

    background:

        linear-gradient(
            145deg,
            #542b2b,
            #120b0b
        );

}


.work-yensom {

    background:

        linear-gradient(
            145deg,
            #263d4a,
            #0b1115
        );

}


.work-card-overlay {

    position:
        relative;

    z-index:
        2;

}


.work-card-overlay span {

    color:
        #5bb780;

    font-size:
        0.7rem;

    font-weight:
        800;

    letter-spacing:
        0.12em;

    text-transform:
        uppercase;

}


.work-card-overlay h3 {

    margin:
        0.6rem
        0
        0.35rem;

    color:
        #ffffff;

    font-size:
        1.8rem;

}


.work-card-overlay p {

    margin:
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );

}


.work-card-arrow {

    position:
        absolute;

    top:
        1.5rem;

    right:
        1.5rem;

    z-index:
        2;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        44px;

    height:
        44px;

    border:
        1px
        solid
        rgba(
            255,
            255,
            255,
            0.25
        );

    border-radius:
        50%;

    color:
        #ffffff;

    transition:
        transform
        0.3s
        ease,

        background
        0.3s
        ease;

}


.design-work-card:hover
.work-card-arrow {

    transform:
        rotate(
            45deg
        );

    background:
        rgba(
            91,
            183,
            128,
            0.2
        );

}


/* =========================================================
   08. FINAL CTA
========================================================= */

.design-cta {

    position:
        relative;

    overflow:
        hidden;

    padding:
        clamp(
            6rem,
            10vw,
            9rem
        )
        0;

    background:
        #111412;

    text-align:
        center;

}


.design-cta-glow {

    position:
        absolute;

    width:
        600px;

    height:
        600px;

    top:
        50%;

    left:
        50%;

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

    border-radius:
        50%;

    background:

        radial-gradient(
            circle,
            rgba(
                91,
                183,
                128,
                0.15
            ),
            transparent
            68%
        );

    pointer-events:
        none;

}


.design-cta-inner {

    position:
        relative;

    z-index:
        2;

    max-width:
        800px;

    margin:
        0
        auto;

}


.design-cta .section-label {

    color:
        #5bb780;

}


.design-cta h2 {

    margin:
        1rem
        0
        1.5rem;

    color:
        #ffffff;

    font-size:
        clamp(
            2.8rem,
            6vw,
            5.5rem
        );

    line-height:
        1;

    letter-spacing:
        -0.06em;

}


.design-cta p {

    max-width:
        600px;

    margin:
        0
        auto;

    color:
        rgba(
            255,
            255,
            255,
            0.62
        );

    line-height:
        1.8;

}


.design-cta .btn {

    margin-top:
        2rem;

}


/* =========================================================
   09. TABLET
========================================================= */

@media (max-width: 1000px) {


    .design-hero {

        min-height:
            80vh;

    }


    .design-philosophy-grid,
    .deliverables-grid {

        grid-template-columns:
            1fr;

        gap:
            3rem;

    }


    .capability-grid {

        grid-template-columns:
            repeat(
                2,
                1fr
            );

    }


    .design-process-header {

        grid-template-columns:
            1fr;

        gap:
            2rem;

    }


    .design-process-track {

        grid-template-columns:
            repeat(
                2,
                1fr
            );

    }


    .design-work-grid {

        grid-template-columns:
            1fr;

    }


    .design-work-card {

        min-height:
            360px;

    }

}


/* =========================================================
   10. MOBILE
========================================================= */

@media (max-width: 700px) {


    .design-hero {

        min-height:
            auto;

        padding:
            7rem
            0
            6rem;

    }


    .design-hero h1 {

        font-size:
            clamp(
                2.8rem,
                12vw,
                4.5rem
            );

    }


    .design-hero-content > p {

        font-size:
            1rem;

    }


    .design-hero-actions {

        flex-direction:
            column;

        align-items:
            stretch;

    }


    .design-hero-actions .btn {

        width:
            100%;

        text-align:
            center;

    }


    .design-hero-meta {

        flex-wrap:
            wrap;

        gap:
            14px;

        margin-top:
            4rem;

    }


    .hero-meta-line {

        width:
            25px;

    }


    .philosophy-pillars {

        grid-template-columns:
            1fr;

        margin-top:
            3rem;

    }


    .capability-grid {

        grid-template-columns:
            1fr;

    }


    .capability-card {

        min-height:
            auto;

    }


    .design-process-track {

        grid-template-columns:
            1fr;

    }


    .design-process-step {

        padding:
            1.5rem
            0;

    }


    .design-work-grid {

        grid-template-columns:
            1fr;

    }


    .design-work-card {

        min-height:
            320px;

    }


    .design-cta h2 {

        font-size:
            clamp(
                2.5rem,
                12vw,
                4rem
            );

    }


}


/* =========================================================
   11. SMALL MOBILE
========================================================= */

@media (max-width: 480px) {


    .design-hero {

        padding:
            6rem
            0
            5rem;

    }


    .design-hero-meta {

        display:
            grid;

        grid-template-columns:
            1fr;

    }


    .hero-meta-line {

        display:
            none;

    }


    .deliverable-item {

        grid-template-columns:
            45px
            1fr;

    }


    .design-work-card {

        min-height:
            280px;

        padding:
            1.5rem;

    }


}


/* =========================================================
   12. REDUCED MOTION
========================================================= */

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


    .design-hero *,
    .capability-card,
    .design-work-card,
    .work-card-arrow,
    .scroll-mouse span {

        animation:
            none;

        transition:
            none;

    }


    .capability-card:hover {

        transform:
            none;

    }


}


/* =========================================================
   04. DESIGN SHOWCASE
   Full-width responsive visual carousel
========================================================= */

.design-showcase {

    position: relative;

    isolation: isolate;

    overflow: hidden;

    padding:
        clamp(5rem, 9vw, 8rem)
        0;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7faf8 50%,
            #ffffff 100%
        );

}


/* =========================================================
   BACKGROUND AMBIENCE
========================================================= */

.design-showcase-background {

    position: absolute;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:

        radial-gradient(
            circle at 12% 30%,
            rgba(
                91,
                183,
                128,
                0.10
            ),
            transparent 32%
        ),

        radial-gradient(
            circle at 88% 70%,
            rgba(
                150,
                20,
                20,
                0.035
            ),
            transparent 30%
        );

}


/* =========================================================
   SHOWCASE HEADING
========================================================= */

.design-showcase-heading {

    max-width:
        760px;

    margin:
        0
        auto
        clamp(
            3rem,
            6vw,
            5rem
        );

    text-align:
        center;

}


.design-showcase-heading .section-label {

    display:
        inline-flex;

    align-items:
        center;

    margin-bottom:
        1.25rem;

    color:
        #3d9865;

    font-size:
        0.72rem;

    font-weight:
        800;

    letter-spacing:
        0.18em;

    text-transform:
        uppercase;

}


.design-showcase-heading h2 {

    max-width:
        700px;

    margin:
        0
        auto;

    color:
        #111412;

    font-size:
        clamp(
            2.3rem,
            5vw,
            4.5rem
        );

    font-weight:
        700;

    line-height:
        1.05;

    letter-spacing:
        -0.055em;

}


.design-showcase-heading p {

    max-width:
        650px;

    margin:
        1.5rem
        auto
        0;

    color:
        #657069;

    font-size:
        1rem;

    line-height:
        1.8;

}



/* =========================================================
   CAROUSEL
========================================================= */

.design-showcase-carousel {

    position:
        relative;

    width:
        100%;

}


.design-showcase-viewport {

    position:
        relative;

    width:
        100%;

    min-height:
        clamp(
            360px,
            55vw,
            680px
        );

    overflow:
        hidden;

    border:
        1px
        solid
        rgba(
            20,
            35,
            27,
            0.10
        );

    border-radius:
        clamp(
            20px,
            3vw,
            36px
        );

    background:
        #101512;

    box-shadow:

        0
        30px
        80px
        rgba(
            20,
            35,
            27,
            0.14
        );

}


/* =========================================================
   SLIDES
========================================================= */

.design-showcase-slide {

    position:
        absolute;

    inset:
        0;

    display:
        flex;

    flex-direction:
        column;

    opacity:
        0;

    visibility:
        hidden;

    transform:
        scale(
            1.025
        );

    transition:

        opacity
        0.8s
        ease,

        transform
        1s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        ),

        visibility
        0.8s
        ease;

}


.design-showcase-slide.is-active {

    opacity:
        1;

    visibility:
        visible;

    transform:
        scale(
            1
        );

}


/* =========================================================
   BROWSER / DEVICE FRAME
========================================================= */

.design-showcase-frame {

    position:
        relative;

    display:
        flex;

    flex-direction:
        column;

    flex:
        1;

    min-height:
        0;

    margin:
        clamp(
            14px,
            2vw,
            24px
        );

    overflow:
        hidden;

    border:
        1px
        solid
        rgba(
            255,
            255,
            255,
            0.10
        );

    border-radius:
        clamp(
            12px,
            2vw,
            22px
        );

    background:
        #ffffff;

    box-shadow:

        0
        20px
        50px
        rgba(
            0,
            0,
            0,
            0.25
        );

}


/* =========================================================
   BROWSER BAR
========================================================= */

.showcase-browser-bar {

    display:
        flex;

    align-items:
        center;

    gap:
        7px;

    height:
        38px;

    flex-shrink:
        0;

    padding:
        0
        16px;

    background:
        #171c19;

    border-bottom:
        1px
        solid
        rgba(
            255,
            255,
            255,
            0.08
        );

}


.showcase-browser-bar span {

    width:
        8px;

    height:
        8px;

    border-radius:
        50%;

    background:
        rgba(
            255,
            255,
            255,
            0.35
        );

}


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

.showcase-image-wrap {

    position:
        relative;

    flex:
        1;

    min-height:
        0;

    overflow:
        hidden;

    background:
        #ffffff;

}


.showcase-image-wrap::after {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    pointer-events:
        none;

    background:

        linear-gradient(
            120deg,
            rgba(
                255,
                255,
                255,
                0.05
            ),
            transparent 40%,
            rgba(
                91,
                183,
                128,
                0.04
            )
        );

}


.showcase-image-wrap img {

    display:
        block;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position:
        top center;

    transition:
        transform
        1.2s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );

}


.design-showcase-slide.is-active
.showcase-image-wrap img {

    transform:
        scale(
            1.015
        );

}


/* =========================================================
   SLIDE LABEL
========================================================= */

.showcase-device-label {

    position:
        absolute;

    left:
        clamp(
            28px,
            4vw,
            56px
        );

    right:
        clamp(
            28px,
            4vw,
            56px
        );

    bottom:
        clamp(
            28px,
            4vw,
            52px
        );

    z-index:
        3;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    pointer-events:
        none;

}


.showcase-category,
.showcase-device {

    display:
        inline-flex;

    align-items:
        center;

    padding:
        9px
        14px;

    border:
        1px
        solid
        rgba(
            255,
            255,
            255,
            0.18
        );

    border-radius:
        999px;

    background:
        rgba(
            15,
            21,
            18,
            0.72
        );

    backdrop-filter:
        blur(
            12px
        );

    color:
        #ffffff;

    font-size:
        0.72rem;

    font-weight:
        700;

    letter-spacing:
        0.08em;

    text-transform:
        uppercase;

}


/* =========================================================
   CAROUSEL CONTROLS
========================================================= */

.design-showcase-controls {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        24px;

    margin-top:
        28px;

}


/* =========================================================
   ARROWS
========================================================= */

.showcase-arrow {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        48px;

    height:
        48px;

    padding:
        0;

    border:
        1px
        solid
        rgba(
            20,
            35,
            27,
            0.12
        );

    border-radius:
        50%;

    background:
        #ffffff;

    color:
        #171a18;

    font-size:
        1.1rem;

    cursor:
        pointer;

    transition:

        transform
        0.3s
        ease,

        background
        0.3s
        ease,

        color
        0.3s
        ease,

        border-color
        0.3s
        ease;

}


.showcase-arrow:hover {

    transform:
        translateY(
            -3px
        );

    border-color:
        #5bb780;

    background:
        #5bb780;

    color:
        #ffffff;

}


/* =========================================================
   PROGRESS DOTS
========================================================= */

.showcase-progress {

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

}


.showcase-dot {

    width:
        7px;

    height:
        7px;

    padding:
        0;

    border:
        0;

    border-radius:
        50%;

    background:
        rgba(
            20,
            35,
            27,
            0.22
        );

    cursor:
        pointer;

    transition:

        width
        0.3s
        ease,

        background
        0.3s
        ease;

}


.showcase-dot.is-active {

    width:
        28px;

    border-radius:
        999px;

    background:
        #5bb780;

}


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

@media (max-width: 900px) {

    .design-showcase-viewport {

        min-height:
            520px;

    }


    .design-showcase-frame {

        margin:
            16px;

    }

}


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

@media (max-width: 700px) {

    .design-showcase {

        padding:
            5rem
            0;

    }


    .design-showcase-heading {

        margin-bottom:
            2.75rem;

    }


    .design-showcase-heading h2 {

        font-size:
            clamp(
                2.2rem,
                10vw,
                3.5rem
            );

    }


    .design-showcase-viewport {

        min-height:
            430px;

        border-radius:
            22px;

    }


    .design-showcase-frame {

        margin:
            12px;

        border-radius:
            14px;

    }


    .showcase-browser-bar {

        height:
            32px;

        padding:
            0
            12px;

    }


    .showcase-browser-bar span {

        width:
            6px;

        height:
            6px;

    }


    .showcase-device-label {

        left:
            24px;

        right:
            24px;

        bottom:
            24px;

    }


    .showcase-category,
    .showcase-device {

        padding:
            7px
            10px;

        font-size:
            0.62rem;

    }


    .design-showcase-controls {

        gap:
            16px;

    }


    .showcase-arrow {

        width:
            42px;

        height:
            42px;

    }

}


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

@media (max-width: 480px) {

    .design-showcase-viewport {

        min-height:
            360px;

    }


    .showcase-device-label {

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            8px;

    }

}


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

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

    .design-showcase-slide,
    .showcase-image-wrap img,
    .showcase-arrow,
    .showcase-dot {

        transition:
            none;

    }


    .design-showcase-slide.is-active
    .showcase-image-wrap img {

        transform:
            none;

    }

}


