.solutions-section {
    display: grid;
    grid-template:
        ". studio" minmax(0, 1fr)
        "intro studio" auto
        "services studio" auto
        ". studio" minmax(0, 1fr) / minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: clamp(32px, 5vw, 84px);
    border-bottom: 1px solid var(--line);
}

.solutions-intro {
    grid-area: intro;
    max-width: 36rem;
    margin-bottom: 26px;
}

.solutions-intro h2 {
    font-size: clamp(2rem, 3.6vw, 3.75rem);
    line-height: 1.06;
    text-wrap: balance;
}

.solutions-intro > p:last-child {
    margin: 24px 0 0;
    color: #363636;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.7;
}

.solutions-services {
    grid-area: services;
    align-self: start;
}

.solutions-capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.solutions-capabilities li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: #2e3632;
    font-size: .875rem;
    font-weight: 700;
}

.solutions-capabilities li::before {
    content: "";
    flex: 0 0 6px;
    height: 6px;
    border: 1px solid #167b56;
    background: var(--green);
    transform: translateY(-.1em) rotate(45deg);
}

.app-build {
    --build-dark: #101a17;
    --build-mint: #8af2c5;
    --build-line: #87c5ad;
    position: relative;
    grid-area: studio;
    align-self: center;
    min-width: 0;
    margin: 0;
    scroll-margin-top: 100px;
    overflow: hidden;
    border: 1px solid #263a33;
    border-radius: 12px;
    color: #f2f8f4;
    background: var(--build-dark);
}

.app-build-stage {
    container-type: inline-size;
}

.build-scene {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 1.36;
    font-family: system-ui, sans-serif;
    background:
        radial-gradient(ellipse at 61% 65%, #29463b 0%, transparent 62%),
        linear-gradient(145deg, #131f1b 24%, #0c1411 85%);
}

.build-scene::before,
.build-scene::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.build-scene::before {
    inset: 0;
    background:
        linear-gradient(#b0eed51b 1px, transparent 1px),
        linear-gradient(90deg, #b0eed51b 1px, transparent 1px);
    background-size: 4.5cqw 4.5cqw;
    mask-image: linear-gradient(#000 15%, #0009 63%, transparent 92%);
}

.build-scene::after {
    z-index: -1;
    inset: 54% -25% -46%;
    background:
        linear-gradient(#b0eed531 1px, transparent 1px),
        linear-gradient(90deg, #b0eed531 1px, transparent 1px);
    background-size: 6cqw 6cqw;
    transform: perspective(36cqw) rotateX(57deg);
    mask-image: radial-gradient(ellipse, #000 15%, transparent 68%);
}

.build-measure {
    position: absolute;
    color: var(--build-line);
    opacity: .44;
}

.build-measure::before,
.build-measure::after {
    content: "";
    position: absolute;
    border: solid currentColor;
}

.build-measure-height {
    top: 18%;
    bottom: 24%;
    left: 77%;
    width: 2.4%;
    border-inline-start: 1px dashed currentColor;
}

.build-measure-height::before,
.build-measure-height::after {
    left: -1.2cqw;
    width: 2.4cqw;
    border-width: 1px 0 0;
}

.build-measure-height::after {
    bottom: 0;
}

.build-measure-width {
    inset: auto 21% 7.5% 31%;
    border-top: 1px dashed currentColor;
}

.build-measure-width::before,
.build-measure-width::after {
    top: -1.15cqw;
    height: 2.3cqw;
    border-width: 0 0 0 1px;
}

.build-measure-width::after {
    right: 0;
}

.build-foundation {
    position: absolute;
    inset: auto 18% 9.7% 23%;
    height: 21%;
    filter: drop-shadow(0 2.1cqw 1.3cqw #0009);
}

.build-platform {
    position: absolute;
    inset: 0;
}

.build-platform-base {
    background: linear-gradient(90deg, #172c24, #3c6250 70%, #254237);
    clip-path: polygon(21% 0, 84% 0, 100% 58%, 100% 77%, 79% 100%, 0 100%, 0 80%);
}

.build-platform-top {
    bottom: 20%;
    background:
        linear-gradient(110deg, #6d9e8b35, transparent 58%),
        repeating-linear-gradient(90deg, #8cc8ae20 0 1px, transparent 1px 4.5cqw),
        repeating-linear-gradient(0deg, #8cc8ae20 0 1px, transparent 1px 2.4cqw),
        linear-gradient(155deg, #416353, #20372e 62%, #345a49);
    clip-path: polygon(21% 0, 84% 0, 100% 72%, 79% 100%, 0 100%);
}

.build-platform-base::after {
    content: "";
    position: absolute;
    inset: 80% 21% auto 0;
    height: 1px;
    background: linear-gradient(90deg, #6e9c86, #92d7b4 45%, #6e9c86);
}

.build-device,
.build-outline {
    position: absolute;
    left: 54%;
    bottom: 18.8%;
    width: 25.5%;
    aspect-ratio: .555;
    border-radius: 4.1cqw;
    transform: translateX(-50%) rotate(-8deg) skewY(3deg);
}

.build-outline {
    border: 1px dashed var(--build-line);
    opacity: 0;
}

.build-outline::after {
    content: "";
    position: absolute;
    inset: 5%;
    border-radius: inherit;
    background:
        linear-gradient(transparent 49.7%, #adecd18c 50%, transparent 50.3%),
        linear-gradient(90deg, transparent 49.6%, #adecd18c 50%, transparent 50.4%);
}

.build-crane {
    position: absolute;
    z-index: 2;
    top: 7.5%;
    left: 25%;
    right: 9%;
    height: 2.5cqw;
    border-block: 1px solid #ccad70;
    color: #ffd183;
    background:
        repeating-linear-gradient(41deg, transparent 0 1.1cqw, #caa765a6 1.15cqw 1.28cqw, transparent 1.33cqw 2.7cqw),
        #584b30;
    box-shadow: 0 .6cqw 1.3cqw #090f0bb3;
    opacity: 0;
}

.build-crane::after {
    content: "";
    position: absolute;
    inset: 100% 2% auto auto;
    width: 1.4cqw;
    height: 42cqw;
    border-inline: 1px solid #877957;
    background: repeating-linear-gradient(55deg, transparent 0 .9cqw, #9b8350b0 1cqw 1.12cqw, transparent 1.2cqw 2cqw);
    mask-image: linear-gradient(#000, #0000);
}

.build-trolley {
    position: absolute;
    top: 70%;
    left: 42%;
    width: 3.2cqw;
    height: 1.15cqw;
    border-radius: .2cqw;
    background: currentColor;
}

.build-cable {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 1px;
    height: 8cqw;
    background: currentColor;
    transform-origin: top;
}

.build-cable::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -.12cqw;
    width: .95cqw;
    height: .95cqw;
    border: 1px solid currentColor;
    border-top-color: transparent;
    border-radius: 0 0 75% 75%;
}

.build-device {
    z-index: 3;
    color: #101e18;
}

.build-case,
.build-screen {
    position: absolute;
    border-radius: inherit;
}

.build-case {
    inset: 0 -.65cqw -.85cqw 0;
    border: 1px solid #b4d9c3;
    background: linear-gradient(130deg, #b4cabe, #344a41 32%, #5f8072 66%, #14221c);
    box-shadow: inset -.6cqw -.5cqw 0 #14231d, .55cqw .8cqw 0 #0b1611, 2.65cqw 3cqw 3cqw #07110dd9;
}

.build-case::after {
    content: "";
    position: absolute;
    top: 24%;
    right: -.2cqw;
    width: .35cqw;
    height: 12%;
    border-radius: .2cqw;
    background: #a9c8b7;
}

.build-screen {
    inset: .65cqw .35cqw .08cqw .6cqw;
    border: .65cqw solid #101814;
    border-radius: 3.45cqw;
    background: linear-gradient(160deg, #f3fbf5, #d7e9df 92%);
    box-shadow: 0 0 2.5cqw #c9ffe148;
}

.build-screen::before {
    content: "";
    position: absolute;
    top: .95cqw;
    left: 50%;
    width: 4.5cqw;
    height: .85cqw;
    border-radius: 1cqw;
    background: #101814;
    transform: translateX(-50%);
}

.build-interface {
    position: absolute;
    inset: 10% 10.2% 6.6% 10.8%;
    display: grid;
    grid-template-rows: 1.15fr 3.5fr 1.9fr .9fr;
    gap: .85cqw;
}

.build-app-header {
    --entry-x: -16cqw;
    --entry-y: -9cqw;
    --entry-rotate: -19deg;
    --entry-delay: 1.88s;
    display: flex;
    align-items: center;
    gap: .85cqw;
    white-space: nowrap;
    font-size: 1.9cqw;
    font-weight: 800;
}

.build-brand-icon {
    width: 2.65cqw;
    aspect-ratio: 1;
    border-radius: .62cqw;
    background:
        radial-gradient(circle at 68% 31%, #8af2c5 0 11%, transparent 13%),
        conic-gradient(from 30deg, #154235, #0f3428 30%, #21a573 54%, #154235 79%);
}

.build-avatar {
    width: 2.55cqw;
    aspect-ratio: 1;
    margin-left: auto;
    border: 1px solid #a4c6b7;
    border-radius: 50%;
    background: #d5eadf;
}

.build-brand-card {
    --entry-x: 30cqw;
    --entry-y: -7cqw;
    --entry-rotate: 19deg;
    --entry-delay: 2.12s;
    position: relative;
    display: grid;
    align-items: end;
    overflow: hidden;
    padding: 1.4cqw;
    border-radius: 1.35cqw;
    color: #f4fff8;
    background:
        radial-gradient(ellipse at 93% 0%, #2e815c, transparent 73%),
        linear-gradient(130deg, #113c2e, #091f19 80%);
    box-shadow: 0 .5cqw .9cqw #21433429;
}

.build-brand-card strong {
    position: relative;
    font-size: 2.65cqw;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.build-brand-art {
    position: absolute;
    top: -16%;
    right: -9%;
    width: 72%;
    aspect-ratio: 1.03;
    border-radius: 46% 29% 46% 31%;
    background:
        radial-gradient(ellipse at 28% 14%, #d9ffe5, transparent 60%),
        repeating-linear-gradient(138deg, #77f9af 0 2px, #247553 3px 4px, #46c992 5px 7px);
    box-shadow: inset 0 -.8cqw 2cqw #071c16, 0 1cqw 2.2cqw #0a241b;
    transform: rotate(-23deg);
}

.build-brand-art::after {
    content: "";
    position: absolute;
    inset: 19% 19% 24% 21%;
    border-radius: inherit;
    background: radial-gradient(ellipse at 58% 75%, #256c4c, #0c3024 77%);
    box-shadow: inset 0 .9cqw 1.5cqw #103225;
}

.build-widget {
    --entry-x: -27cqw;
    --entry-y: 3cqw;
    --entry-rotate: -24deg;
    --entry-delay: 2.6s;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: .5cqw;
    padding: .8cqw 1cqw;
    border: 1px solid #d6e7dd;
    border-radius: 1.1cqw;
    background: #fcfffd;
    font-size: 1.25cqw;
    font-weight: 700;
}

.build-chart {
    display: flex;
    align-items: end;
    gap: .5cqw;
}

.build-chart i {
    flex: 1;
    height: 32%;
    border-radius: .25cqw .25cqw 0 0;
    background: #72be9c;
    transform-origin: bottom;
}

.build-chart i:nth-child(3n + 2) { height: 47%; }
.build-chart i:nth-child(3n) { height: 61%; }
.build-chart i:nth-child(4) { height: 55%; }
.build-chart i:nth-child(7) { height: 75%; }
.build-chart i:nth-child(8) { height: 66%; }
.build-chart i:last-child { height: 100%; background: #136c4a; }

.build-app-nav {
    --entry-x: 19cqw;
    --entry-y: 9cqw;
    --entry-rotate: 15deg;
    --entry-delay: 3.06s;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border-radius: .8cqw;
    background: #cce3d6;
}

.build-app-nav i {
    width: 1.35cqw;
    aspect-ratio: 1;
    border: .2cqw solid #49826c;
    border-radius: .35cqw;
}

.build-app-nav i:first-child { background: #176345; }
.build-app-nav i:last-child { border-radius: 50%; }

.build-activation {
    position: absolute;
    z-index: 4;
    inset: 4% 14% 13% 21%;
    pointer-events: none;
    background: radial-gradient(ellipse at 55% 58%, #dfffeb91, transparent 70%);
    opacity: 0;
}

.app-build-replay {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #426155;
    border-radius: 50%;
    color: var(--build-mint);
    background: var(--build-dark);
    cursor: pointer;
    font: 1.5rem/1 system-ui, sans-serif;
}

.app-build-replay[hidden] { display: none; }

.app-build-replay:hover {
    background: #20352d;
}

.app-build-replay:focus-visible {
    outline: 2px solid var(--build-mint);
    outline-offset: 2px;
}

.app-build.is-assembling .build-foundation {
    animation: build-foundation .85s cubic-bezier(.24, .74, .36, 1) both;
}

.app-build.is-assembling .build-outline {
    animation: build-outline 2.5s ease both;
}

.app-build.is-assembling .build-crane {
    animation: build-crane 2.65s ease both;
}

.app-build.is-assembling .build-trolley {
    animation: build-trolley 1.55s .15s ease both;
}

.app-build.is-assembling .build-cable {
    animation: build-cable 1.92s .12s ease-in-out both;
}

.app-build.is-assembling .build-case {
    animation: build-case 1.03s .62s cubic-bezier(.44, .08, .42, 1) both;
}

.app-build.is-assembling .build-screen {
    animation: build-screen .88s 1.28s cubic-bezier(.3, .76, .39, 1) both;
}

.app-build.is-assembling .build-piece {
    animation: build-piece .88s var(--entry-delay) cubic-bezier(.24, .64, .38, 1) both;
}

.app-build.is-assembling .build-chart i {
    animation: build-chart .6s 3.7s cubic-bezier(.2, .7, .28, 1) both;
}

.app-build.is-assembling .build-activation {
    animation: build-activation 4.65s ease-out both;
}

.app-build.is-waiting .build-scene * {
    animation-play-state: paused;
}

@keyframes build-foundation {
    0% { opacity: .15; transform: translateY(8cqw) scale(.92); }
    80% { opacity: 1; transform: translateY(-.65cqw); }
    100% { transform: none; }
}

@keyframes build-outline {
    0% { opacity: .42; }
    24%, 55% { opacity: .9; }
    100% { opacity: 0; }
}

@keyframes build-crane {
    0% { opacity: .38; transform: translateY(-2cqw); }
    17%, 72% { opacity: 1; transform: none; }
    100% { opacity: 0; transform: translateY(-2cqw); }
}

@keyframes build-trolley {
    0% { transform: translateX(17cqw); }
    48% { transform: translateX(-.75cqw); }
    63%, 100% { transform: none; }
}

@keyframes build-cable {
    0%, 33% { transform: scaleY(.08); }
    74%, 79% { transform: scaleY(.78); }
    100% { transform: scaleY(.08); }
}

@keyframes build-case {
    0% { opacity: 0; transform: translate(13cqw, -17cqw) rotate(12deg) scale(.88); }
    27% { opacity: 1; transform: translate(4cqw, -12cqw) rotate(7deg) scale(.94); }
    74% { transform: translateY(.8cqw) rotate(-1.7deg); }
    88% { transform: translateY(-.3cqw) rotate(.8deg); }
    100% { transform: none; }
}

@keyframes build-screen {
    0% { opacity: 0; transform: translate(22cqw, -7cqw) rotate(14deg) scale(.83); }
    25% { opacity: .92; }
    83% { transform: translateX(-.4cqw) rotate(-.8deg); }
    100% { opacity: 1; transform: none; }
}

@keyframes build-piece {
    0% { opacity: 0; transform: translate(var(--entry-x), var(--entry-y)) rotate(var(--entry-rotate)) scale(1.22); }
    22% { opacity: 1; }
    78% { transform: translateY(.5cqw) scale(.95); }
    91% { transform: translateY(-.23cqw) scale(1.017); }
    100% { transform: none; }
}

@keyframes build-chart {
    0% { transform: scaleY(.18); }
    100% { transform: none; }
}

@keyframes build-activation {
    0%, 78%, 100% { opacity: 0; }
    86% { opacity: .88; }
}

@media (max-width: 860px) {
    .solutions-section {
        grid-template: "intro" "studio" "services" / minmax(0, 1fr);
        row-gap: 26px;
    }

    .solutions-intro {
        margin-bottom: 0;
    }
}

@media (max-width: 760px) {
    .app-build {
        scroll-margin-top: 210px;
    }
}

@media (max-width: 540px) {
    .build-scene {
        aspect-ratio: 1.13;
    }

    .build-device,
    .build-outline {
        left: 57%;
        width: 32%;
        border-radius: 5.2cqw;
    }

    .build-screen {
        border-radius: 4.55cqw;
    }

    .build-app-header { font-size: 2.55cqw; }
    .build-brand-card { padding: 1.85cqw; }
    .build-brand-card strong { font-size: 3.45cqw; }
    .build-widget { font-size: 1.8cqw; }
    .build-measure-height { left: 82%; }
    .build-trolley { left: 46%; }
}

@media (prefers-reduced-motion: reduce) {
    .app-build.is-assembling .build-scene * {
        animation: none;
    }
}
