body {
    background: radial-gradient(ellipse at 70% 27%, #211957 0, transparent 52%), #090d23;
}
.nav {
    background: #090d23;
}
.home-work {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 26px;
    align-items: start;
}
.home-work .section {
    padding: 0;
}
.home-work h2 {
    margin-top: 0;
}
.quick-estimate {
    border: 1px solid #a9a0e3;
    border-radius: 16px;
    background: linear-gradient(145deg, #12183a, #0a1029);
    padding: 20px;
}
.quick-estimate h2, .quick-estimate p {
    margin: 0 0 9px;
}
.quick-estimate .form {
    border: 0;
    padding: 0;
    margin: 16px 0 0;
    background: transparent;
    gap: 12px;
}
.quick-estimate .form select {
    padding: 9px;
}
.calculator-extras {
    min-width: 0;
    border: 0;
    padding: 0;
    margin: 0;
}
.calculator-extras legend {
    font-weight: 700;
    padding: 0;
    margin-bottom: 7px;
}
.calculator-extras .check {
    margin-bottom: 5px;
}
.quick-estimate .estimate {
    padding: 13px;
    background: linear-gradient(135deg, #5127bd, #26224e);
    border: 1px solid #a59bdc;
}
.brand, .nav nav a {
    white-space: nowrap;
}
.mark {
    box-shadow: inset -4px -4px 10px #471bc77a, 0 3px 14px #3559ff45;
}
.hero {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    min-height: 0;
    gap: clamp(24px, 4vw, 64px);
    padding-block: clamp(30px, 5vw, 76px);
    background: radial-gradient(ellipse at 78% 63%, #27195e, transparent 65%), #0b1027;
}
.hero h1 {
    font-size: clamp(34px, 4.6vw, 72px);
    letter-spacing: -.055em;
}
.eyebrow {
    text-transform: uppercase;
    font-weight: 700;
}
.hero-preview img, .mobile-example img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}
.hero-preview img {
    border: 1px solid #5570bf4f;
    box-shadow: 0 24px 65px #040615a8;
}
.actions .button, .solution .button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.services {
    padding-block: 24px 12px;
}
.service-grid, .solution-grid, .process ol {
    display: grid;
    gap: 14px;
}
.service-grid, .process ol {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
}
.service, .solution {
    color: #10152e;
    border: 1px solid #dcdcf6;
    border-radius: 14px;
    background: linear-gradient(150deg, #fff, #e8e7fa);
}
.service {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 17px;
}
.service span {
    color: #5723ed;
    font-size: 23px;
    font-weight: 750;
}
.service h2 {
    font-size: 1rem;
}
.service h2, .solution h2, .service p {
    margin: 0;
}
.service p {
    margin-top: 5px;
    font-size: .9rem;
}
.solution {
    padding: 24px;
}
.solution h2 {
    font-size: clamp(22px, 2.5vw, 30px);
}
.solution-featured {
    background: radial-gradient(ellipse at 90% 100%, #4334a7, transparent 65%), linear-gradient(130deg, #4c18d3, #18133d);
    border-color: #9d8aff;
    color: white;
}
.solution-featured .button {
    background: white;
    color: #4520cb;
}
.mobile-example {
    display: none;
}
.process {
    padding-top: 15px;
}
.process ol {
    padding: 0;
    list-style: none;
    counter-reset: step;
}
.process li {
    counter-increment: step;
    border-top: 1px solid #7d78b35c;
    padding: 17px 10px 0 0;
}
.process li::before {
    content: counter(step);
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin-right: 8px;
    border-radius: 50%;
    background: #e9e5ff;
    color: #251952;
    font-weight: 750;
}
.process p, .mobile-example figcaption {
    color: #c3c9df;
}
footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: #090d23;
}
:focus-visible {
    outline: 3px solid #8db6ff;
    outline-offset: 4px;
}
@media (max-width: 900px) {
    .home-work .cards {
        grid-template-columns: 1fr;
    }
    .service-grid, .process ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 700px) {
    .hero, .solution-grid, .home-work {
        grid-template-columns: 1fr;
    }
    .nav nav a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
    .hero .actions .button {
        flex: 1 1 100%;
    }
    .mobile-example {
        display: block;
        margin: 0;
        padding-block: 0 28px;
    }
    .mobile-example figcaption {
        margin-top: 8px;
        font-size: .9rem;
    }
}
@media (max-width: 380px) {
    .service-grid, .process ol {
        grid-template-columns: 1fr;
    }
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.example-card {
    overflow: hidden;
    background: linear-gradient(150deg, #fff, #e8e7fa);
    color: #10152e;
    border: 1px solid #e6e4fa;
    border-radius: 12px;
}
.example-photo {
    background-image: url('design-reference.png');
    background-repeat: no-repeat;
}
.example-label { padding: 10px; }
.example-label h3, .example-label p { margin: 0; }
.example-label p { margin-top: 4px; font-size: .85rem; }
.section .examples-note { color: #c3c9df; margin-top: -.55rem; }
.home-work .process { margin-top: 30px; }
.hero h1, .service h2, .solution h2, .section h2 { font-weight: 750; }
.hero h1 em { display: block; }
.service > div { min-width: 0; overflow-wrap: anywhere; }
.service { padding: 14px; gap: 9px; }
@media (max-width: 1050px) {
    .example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .home-work { padding-block: 30px; }
    .mobile-example { padding-top: 6px; }
}
.example-nordic { aspect-ratio: 149 / 66; background-size: 1030.8725% 1551.5152%; background-position: 2.8118% 73.6952%; }
.example-yoga { aspect-ratio: 142 / 66; background-size: 1081.6901% 1551.5152%; background-position: 14.5624% 73.6952%; }
.example-auto { aspect-ratio: 136 / 66; background-size: 1129.4118% 1551.5152%; background-position: 25.6429% 73.6952%; }
.example-garden { aspect-ratio: 140 / 66; background-size: 1097.1429% 1551.5152%; background-position: 36.5330% 73.6952%; }


.hero {
    position: relative;
    isolation: isolate;
    gap: 18px clamp(24px, 4vw, 64px);
    padding-block: clamp(30px, 4vw, 60px) 18px;
}
.desktop-preview, .solution-preview {
    background-image: url('design-reference.png');
    background-repeat: no-repeat;
}
.desktop-preview {
    aspect-ratio: 463 / 255; background-size: 331.7495% 401.5686%; background-position: 38.3038% 22.3667%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 63% 100%, 63% 93%, 0 93%);
    border-radius: 12px;
    box-shadow: 0 18px 55px #080b27;
}
.hero-preview, .solution-preview {
    display: none;
}
.hero-details {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .9rem;
}
.hero-details li::before, .solution-custom li::before {
    content: '✓';
    margin-right: 7px;
    font-weight: 800;
}
.hero-details li::before {
    color: #aaacff;
}
.solution-custom ul {
    margin: 0;
    padding: 12px;
    border-radius: 10px;
    background: #fff8;
    list-style: none;
    font-size: .86rem;
    line-height: 1.7;
}
.solution-custom li::before {
    color: #5422eb;
}
.solution-custom {
    display: grid;
    gap: 14px;
}
.quick-estimate {
    scroll-margin-top: 18px;
}
.mobile-work-link {
    display: none;
}
@media (min-width: 1051px) {
    .solution-featured, .solution-custom {
        display: grid;
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        align-items: center;
    }
    .solution-preview {
        display: block;
        aspect-ratio: 138 / 110; background-size: 1113.0435% 930.9091%; background-position: 17.6681% 58.4245%;
        clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%, 0 64%, 24% 64%);
        border-radius: 10px;
    }
}
@media (max-width: 700px) {
    .desktop-preview {
        display: none;
        background-image: none;
    }
    .hero-preview {
        display: block;
    }
    .hero-details {
        gap: 8px 14px;
    }
    .nav {
        gap: 8px;
        padding-block: 12px 3px;
    }
    .nav nav {
        max-width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 16px;
        font-size: .82rem;
        scrollbar-width: thin;
    }
    .nav nav a {
        flex: none;
    }
    .hero {
        justify-items: center;
        padding-top: 32px;
        background: radial-gradient(ellipse at 50% 36%, #1f2448, transparent 70%), #0b1020;
    }
    .hero-copy {
        max-width: 480px;
        text-align: center;
    }
    .hero h1 {
        font-size: clamp(34px, 8vw, 52px);
        font-weight: 800;
    }
    .hero p {
        font-size: 1rem;
        line-height: 1.5;
    }
    .hero .actions {
        justify-content: center;
        gap: 10px;
        margin-top: 18px;
    }
    .hero .actions .button {
        flex: 0 1 auto;
        border-radius: 999px;
    }
    .mobile-work-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 44px;
        flex-basis: 100%;
        color: #d2d9f5;
        font-size: .9rem;
    }
    .hero-preview {
        width: min(100%, 260px);
    }
    .hero-details {
        justify-content: center;
        font-size: .8rem;
    }
    .portfolio {
        min-width: 0;
        scroll-margin-top: 18px;
    }
    .home-work .portfolio .cards, .portfolio .example-grid {
        display: grid;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: min(76%, 255px);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        padding: 4px 4px 12px;
    }
    .portfolio .cards > article, .portfolio .example-grid > article {
        scroll-snap-align: start;
    }
}
