@font-face {
    font-family: Inter;
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("assets/inter-latin-variable.woff2") format("woff2");
}

:root {
    color-scheme: dark;
    --lime: #d6f88b;
    --ink: #080a09;
    --text: #e5e6e2;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--ink);
    color: #fff;
    font-family: Inter, sans-serif;
    -webkit-text-size-adjust: 100%;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 6px;
}

.container {
    width: calc(87.3611% + 20px);
    max-width: 1278px;
    margin-inline: auto;
}

.holding {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
}

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    z-index: -2;
    inset: 0;
    pointer-events: none;
}

.hero__background picture,
.hero__background img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero__background img {
    object-fit: cover;
    object-position: 88% center;
}

.hero__background::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgb(8 10 9 / 82%) 0%, rgb(8 10 9 / 67.5%) 35.81%, rgb(8 10 9 / 54.75%) 56.3%, rgb(8 10 9 / 3.75%) 79.36%), linear-gradient(0deg, rgb(8 10 9 / 28%), transparent 30%);
    content: "";
}

.hero__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding-top: clamp(28px, 3.33vw, 48px);
}

.brand {
    width: clamp(230px, 24vw, 330px);
}

.brand__logo {
    width: 100%;
    height: auto;
}

.brand__disciplines {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 15px 0 0;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.brand__disciplines span + span {
    border-left: 1px solid rgb(214 248 139 / 65%);
    padding-left: 20px;
}

.hero__signature {
    margin: 10px 0 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: .3em;
    text-align: right;
    text-shadow: 0 1px 3px rgb(0 0 0 / 25%);
    text-transform: uppercase;
}

.hero__signature span {
    display: block;
    width: 44px;
    height: 2px;
    margin: 16px 0 0 auto;
    background: var(--lime);
}

.brand__disciplines,
.hero__signature {
    display: none;
}

.hero__body {
    display: flex;
    flex: 1;
    align-items: center;
    padding-top: clamp(48px, 5.2vw, 75px);
    padding-bottom: 112px;
}

.hero__content {
    width: 70%;
    max-width: 720px;
}

.hero__eyebrow {
    margin: 0 0 32px;
    color: var(--lime);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.hero__title {
    margin: 0 0 44px;
    font-size: clamp(74px, 7.64vw, 110px);
    font-weight: 300;
    line-height: .98;
    letter-spacing: -.05872em;
}

.hero__title strong {
    color: var(--lime);
    font-weight: 700;
}

.hero__description {
    max-width: 640px;
    margin: 0 0 44px;
    color: var(--text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.hero__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
}

.button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 240px;
    max-width: 100%;
    min-height: 55px;
    padding: 10px 22px;
    border: 1px solid var(--lime);
    border-radius: 0;
    background: var(--lime);
    color: #111;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .04em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.button::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: #e4f7a6;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 200ms ease;
    content: "";
}

.button__icon {
    flex: 0 0 20px;
    width: 20px;
    height: 16px;
    object-fit: contain;
}

.button > span {
    padding-top: 1px;
}

.button:focus-visible::before {
    transform: scaleX(1);
    transition: transform 280ms ease-out;
}

.hero__email {
    color: var(--text);
    font-size: 16px;
    line-height: 1.5;
    text-decoration-color: transparent;
    text-underline-offset: 5px;
    transition: color 180ms ease, text-decoration-color 180ms ease;
}

.hero__decoration {
    position: absolute;
    z-index: -1;
    bottom: -290px;
    left: max(-140px, calc((100% - 1558px) / 2));
    width: clamp(460px, 42vw, 680px);
    height: auto;
    opacity: .16;
    pointer-events: none;
}

.services {
    border-top: 1px solid rgb(255 255 255 / 9%);
    background: #0b0d0c;
}

.services__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 32px 0;
    margin-block: 0;
    list-style: none;
}

.services__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 4px 16px;
    text-align: center;
}

.services__item + .services__item {
    border-left: 1px solid rgb(255 255 255 / 18%);
}

.services__item img {
    width: 38px;
    height: 42px;
    object-fit: contain;
}

.services__item h2 {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: .2em;
    text-transform: uppercase;
}

@keyframes holding-reveal {
    from { opacity: 0; transform: translateY(var(--reveal-distance, 4px)); }
    to { opacity: 1; transform: none; }
}

@keyframes holding-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
    .brand,
    .hero__signature,
    .hero__eyebrow,
    .hero__title,
    .hero__description,
    .hero__contact,
    .services__item {
        animation: holding-reveal var(--reveal-duration, 420ms) cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms) backwards;
    }

    .hero__signature {
        --reveal-delay: 60ms;
        animation-name: holding-fade;
    }

    .hero__eyebrow {
        --reveal-duration: 400ms;
        --reveal-delay: 100ms;
    }

    .hero__title {
        --reveal-duration: 520ms;
        --reveal-delay: 140ms;
        --reveal-distance: 6px;
    }

    .hero__description {
        --reveal-duration: 440ms;
        --reveal-delay: 240ms;
        --reveal-distance: 6px;
    }

    .hero__contact {
        --reveal-duration: 440ms;
        --reveal-delay: 320ms;
    }

    .hero__contact:focus-within {
        opacity: 1 !important;
        transform: none !important;
    }

    .services__item {
        --reveal-duration: 400ms;
        --reveal-delay: 360ms;
    }

    .services__item:nth-child(2) {
        --reveal-delay: 400ms;
    }

    .services__item:nth-child(3) {
        --reveal-delay: 440ms;
    }

    .services__item:nth-child(4) {
        --reveal-delay: 480ms;
    }

    .hero__decoration:not([data-reveal-complete]) > [data-decor-motion] > path {
        animation: holding-fade 440ms cubic-bezier(.22, 1, .36, 1) var(--decor-delay) backwards;
    }
}

@media (hover: hover) and (pointer: fine) {
    .button:hover::before {
        transform: scaleX(1);
        transition: transform 280ms ease-out;
    }

    .hero__email:hover {
        color: var(--lime);
        text-decoration-color: currentColor;
    }
}

@media (min-width: 769px) {
    .hero__title {
        white-space: nowrap;
    }

    .hero__title br {
        display: none;
    }
}

@media (max-width: 1100px) {
    .container {
        width: 100%;
        padding-inline: 28px;
    }

}

@media (max-width: 951px) {
    .container {
        padding-inline: 20px;
    }

    .hero__title {
        font-size: 82px;
    }
}

@media (min-width: 769px) and (max-height: 1020px) {
    .hero__header {
        padding-top: 28px;
    }

    .brand {
        width: 280px;
    }

    .hero__body {
        padding-top: 44px;
        padding-bottom: 96px;
    }

    .hero__eyebrow {
        margin-bottom: 28px;
    }

    .hero__title {
        font-size: clamp(74px, 6.67vw, 96px);
    }

    .hero__description {
        margin-bottom: 36px;
    }

    .services__list {
        padding-block: 24px;
    }

    .services__item {
        gap: 16px;
    }

    .services__item img {
        height: 38px;
    }
}

@media (min-width: 769px) and (max-height: 880px) {
    .hero__header {
        padding-top: 24px;
    }

    .brand {
        width: 240px;
    }

    .hero__body {
        padding-top: 28px;
        padding-bottom: 88px;
    }

    .hero__eyebrow {
        margin-bottom: 24px;
    }

    .hero__title {
        margin-bottom: 32px;
        font-size: clamp(70px, 5.84vw, 84px);
    }

    .hero__description {
        margin-bottom: 32px;
    }

    .services__list {
        padding-block: 20px;
    }

    .services__item {
        gap: 12px;
    }

    .services__item img {
        height: 32px;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .hero__decoration {
        width: clamp(520px, 64vw, 680px);
        bottom: -240px;
        left: -140px;
    }
}

@media (max-width: 768px) {
    .hero__header {
        padding-top: 24px;
    }

    .brand {
        width: 220px;
        max-width: 100%;
    }

    .brand__disciplines {
        gap: 8px;
        margin-top: 12px;
        font-size: 8px;
    }

    .brand__disciplines span + span {
        padding-left: 15px;
    }

    .hero__signature {
        display: none;
    }

    .hero__background img {
        object-position: 83% top;
    }

    .hero__background::after {
        background: linear-gradient(180deg, rgb(8 10 9 / 45%) 0%, rgb(8 10 9 / 30%) 22%, rgb(8 10 9 / 82%) 45%, rgb(8 10 9 / 97%) 78%, var(--ink) 100%);
    }

    .hero__body {
        padding-top: clamp(48px, 9svh, 88px);
        padding-bottom: 72px;
    }

    .hero__content {
        width: 100%;
        max-width: 520px;
    }

    .hero__title {
        margin-bottom: 20px;
        font-size: clamp(60px, 13.8vw, 78px);
    }

    .hero__eyebrow {
        margin-bottom: 14px;
        font-size: 12px;
        letter-spacing: .18em;
    }

    .hero__description {
        margin-bottom: 22px;
        font-size: 15px;
        line-height: 1.6;
    }

    .hero__contact {
        gap: 12px;
    }

    .hero__email {
        font-size: 15px;
    }

    .hero__decoration {
        width: clamp(400px, 110vw, 560px);
        max-width: none;
        bottom: -220px;
        left: -120px;
        right: auto;
    }

    .services__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-block: 8px;
    }

    .services__item {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 12px 8px;
        text-align: left;
    }

    .services__item img {
        flex: 0 0 24px;
        width: 24px;
        height: 28px;
    }

    .services__item h2 {
        font-size: 9.5px;
        line-height: 1.6;
        letter-spacing: .1em;
    }

    .services__item:nth-child(3) {
        border-left: 0;
    }

    .services__item:nth-child(n + 3) {
        border-top: 1px solid rgb(255 255 255 / 18%);
    }
}

@media (max-width: 389px) {
    .container {
        padding-inline: 16px;
    }

    .hero__eyebrow {
        font-size: 12px;
        letter-spacing: .18em;
    }

    .hero__title {
        font-size: 58px;
    }

    .services__item h2 {
        font-size: 9px;
        letter-spacing: .08em;
    }
}

@media (max-width: 768px) and (max-height: 760px) {
    .hero__header {
        padding-top: 18px;
    }

    .brand {
        width: 200px;
    }

    .brand__disciplines {
        margin-top: 10px;
    }

    .hero__body {
        padding-top: 24px;
        padding-bottom: 64px;
    }

    .hero__eyebrow {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .hero__title {
        margin-bottom: 18px;
        font-size: 56px;
    }

    .hero__description {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.55;
    }

    .hero__contact {
        gap: 10px;
    }

    .button {
        min-height: 46px;
        padding-block: 10px;
    }

    .hero__email {
        font-size: 14px;
    }

    .services__item {
        padding-block: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

}
