* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;

    background: #ffffff;
    color: #111111;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

    display: grid;
    grid-template-rows:
        82px
        minmax(0, 1fr)
        68px;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* Header */

.header {
    width: 100%;
    height: 82px;

    padding:
        0 clamp(
            28px,
            5vw,
            76px
        );

    background: #111111;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
    z-index: 100;
}

.logo {
    color: #ffffff;

    text-decoration: none;

    font-size: 15px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: 4.2px;

    user-select: none;
}


/* Hamburger */

.menu-button {
    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    display: flex;
    flex-direction: column;

    align-items: flex-end;
    justify-content: center;

    gap: 5px;

    cursor: pointer;
}

.menu-button span {
    width: 20px;
    height: 1px;

    display: block;

    background: #ffffff;

    transform-origin: center;

    transition:
        transform 180ms ease,
        opacity 140ms ease;
}

.menu-button.active span:first-child {
    transform:
        translateY(6px)
        rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:last-child {
    transform:
        translateY(-6px)
        rotate(-45deg);
}


/* Menu */

.site-menu {
    position: fixed;

    top: 89px;

    right: clamp(
        28px,
        5vw,
        76px
    );

    width: 220px;

    padding: 7px;

    background: #111111;

    border: 1px solid #2a2a2a;

    border-radius: 11px;

    box-shadow:
        0 16px 36px rgba(
            0,
            0,
            0,
            0.16
        );

    z-index: 200;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
        translateY(-7px)
        scale(0.985);

    transform-origin: top right;

    transition:
        opacity 160ms ease,
        visibility 160ms ease,
        transform 160ms ease;
}

.site-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform:
        translateY(0)
        scale(1);
}

.site-menu a {
    display: block;

    padding:
        12px 13px;

    color: #ffffff;

    text-decoration: none;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.35;

    transition:
        background 140ms ease;
}

.site-menu a:hover {
    background: #1d1d1d;
}


/* Main */

.main {
    width: 100%;
    min-width: 0;

    display: flex;
    justify-content: center;
}

.services {
    width: min(
        calc(100% - 56px),
        1100px
    );

    padding:
        clamp(
            78px,
            8vw,
            118px
        )
        0
        clamp(
            80px,
            9vw,
            125px
        );
}

.services-intro {
    width: min(
        100%,
        900px
    );

    margin: 0 auto;
}

.label {
    margin-bottom: 23px;

    color: #8a8a8a;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 4px;

    line-height: 1;
}

.services-intro h1 {
    color: #050505;

    font-size: clamp(
        58px,
        7vw,
        100px
    );

    font-weight: 800;

    line-height: 0.94;

    letter-spacing: 0.1px;

    text-wrap: balance;
}

.intro-text {
    max-width: 520px;

    margin-top: 28px;

    color: #666666;

    font-size: 15px;

    line-height: 1.7;
}


/* Services */

.service-list {
    width: min(
        100%,
        900px
    );

    margin:
        clamp(
            72px,
            9vw,
            115px
        )
        auto
        0;

    border-top: 1px solid #111111;
}

.service {
    display: grid;

    grid-template-columns:
        82px
        minmax(0, 1fr);

    gap: 24px;

    padding:
        38px 0
        42px;

    border-bottom: 1px solid #e5e5e5;

    color: #111111;

    text-decoration: none;

    transition:
        padding-left 220ms ease;
}

.service:not(.service-disabled):hover {
    padding-left: 9px;
}

.service:not(.service-disabled):hover
.service-arrow {
    transform:
        translate(
            5px,
            -4px
        );
}

.service-number {
    padding-top: 6px;

    color: #999999;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}

.service-body {
    width: 100%;
    min-width: 0;
}

.service-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.service-heading h2 {
    color: #111111;

    font-size: clamp(
        30px,
        3.5vw,
        46px
    );

    font-weight: 700;

    line-height: 1;

    letter-spacing: -0.8px;
}

.service-arrow {
    flex-shrink: 0;

    color: #111111;

    font-size: 25px;

    font-weight: 400;

    line-height: 1;

    transition:
        transform 230ms cubic-bezier(
            0.2,
            0.8,
            0.2,
            1
        );
}

.service-description {
    max-width: 590px;

    margin-top: 16px;

    color: #666666;

    font-size: 15px;

    line-height: 1.65;
}

.service-meta {
    margin-top: 22px;

    color: #999999;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

    line-height: 1.3;
}

.service-disabled {
    opacity: 0.38;

    cursor: default;
}


/* Footer */

.footer {
    width: 100%;
    height: 68px;

    padding:
        0 clamp(
            28px,
            5vw,
            76px
        );

    background: #111111;

    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-status,
.footer-brand {
    color: #ffffff;

    font-size: 11px;

    line-height: 1.4;
}

.footer-status {
    font-weight: 400;
}

.footer-brand {
    font-weight: 700;

    letter-spacing: 0.9px;
}


/* Tablet */

@media (max-width: 900px) {

    .services {
        width: min(
            calc(100% - 52px),
            820px
        );
    }

    .services-intro h1 {
        font-size: clamp(
            52px,
            8vw,
            84px
        );
    }

    .service {
        grid-template-columns:
            65px
            minmax(0, 1fr);
    }

}


/* Mobile */

@media (max-width: 700px) {

    body {
        grid-template-rows:
            68px
            minmax(0, 1fr)
            60px;
    }

    .header {
        height: 68px;

        padding: 0 6%;
    }

    .logo {
        font-size: 13px;

        letter-spacing: 3.8px;
    }

    .site-menu {
        top: 74px;

        right: 6%;

        width: 195px;
    }

    .site-menu a {
        padding:
            11px 12px;

        font-size: 13px;
    }

    .services {
        width: 88%;

        padding:
            65px 0
            75px;
    }

    .services-intro h1 {
        font-size: clamp(
            43px,
            12.5vw,
            68px
        );

        line-height: 0.95;

        letter-spacing: -0.5px;
    }

    .intro-text {
        max-width: 370px;

        margin-top: 23px;

        font-size: 13px;
    }

    .service-list {
        margin-top: 68px;
    }

    .service {
        grid-template-columns:
            34px
            minmax(0, 1fr);

        gap: 12px;

        padding:
            30px 0
            34px;
    }

    .service:not(.service-disabled):hover {
        padding-left: 0;
    }

    .service-number {
        padding-top: 5px;

        font-size: 9px;
    }

    .service-heading {
        gap: 12px;
    }

    .service-heading h2 {
        font-size: 27px;

        letter-spacing: -0.5px;
    }

    .service-arrow {
        font-size: 20px;
    }

    .service-description {
        margin-top: 13px;

        font-size: 13px;
    }

    .service-meta {
        margin-top: 18px;

        font-size: 8px;

        letter-spacing: 1.5px;
    }

    .footer {
        height: 60px;

        padding: 0 6%;
    }

    .footer-status,
    .footer-brand {
        font-size: 9px;
    }

}


/* Small phones */

@media (max-width: 420px) {

    .services {
        width: 88%;

        padding-top: 55px;
    }

    .services-intro h1 {
        font-size: 41px;

        line-height: 0.96;
    }

    .intro-text {
        font-size: 12px;
    }

    .service-list {
        margin-top: 58px;
    }

    .service-heading h2 {
        font-size: 25px;
    }

    .service-description {
        font-size: 12px;
    }

    .service-meta {
        font-size: 7.5px;
    }

    .site-menu {
        width: 180px;
    }

    .footer {
        height: 56px;
    }

    .footer-status,
    .footer-brand {
        font-size: 8px;
    }

}