:root {
    --black: #0a0a0b;
    --paper: #f5f5f7;
    --grey: #d7d7da;
    --muted: #707076
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--black);
    font-family: Arial, "Noto Sans Armenian", "DejaVu Sans", sans-serif;
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-decoration: none
}

.shell {
    max-width: 1200px;
    margin: auto;
    padding: 0 28px
}

.nav {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    font-size: 21px;
    letter-spacing: -1.4px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px
}

.brand-mark {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #050505;
    position: relative;
    overflow: hidden
}

.brand-mark:after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--paper);
    border-radius: 50%;
    top: -5px;
    left: 6px
}

.links {
    display: flex;
    gap: 30px;
    font-size: 13px;
    font-weight: 600
}

.links a {
    color: #606066
}

.links a.active,
.links a:hover {
    color: #000
}
@media screen and (max-width: 720px) {
    .links a.active,
.links a:hover {
    color: #ffffff
}
    
}
.button {
    background: #090909;
    color: #fff;
    border: 0;
    border-radius: 99px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s
}

.button:hover {
    transform: scale(1.04)
}

.menu {
    display: none
}

.page-hero {
    padding: 82px 0 100px;
    position: relative;
    overflow: hidden
}

.page-hero:after {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    border: 1px solid #d1d1d5;
    border-radius: 50%;
    right: -150px;
    top: -160px;
    box-shadow: 0 0 0 70px #ececef, 0 0 0 140px #f0f0f2
}

.kicker {
    display: block;
    font-size: 12px;
    letter-spacing: .05em;
    font-weight: 700;
    color: #77777d;
    position: relative;
    z-index: 1
}

.page-hero h1 {
    font-size: clamp(59px, 9.8vw, 130px);
    letter-spacing: -.085em;
    line-height: .9;
    margin: 20px 0 28px;
    max-width: 900px;
    position: relative;
    z-index: 1
}

.page-hero h1 span {
    color: #88888e
}

.lead {
    font-size: 17px;
    line-height: 1.55;
    color: #65656b;
    max-width: 420px;
    position: relative;
    z-index: 1
}

.filters {
    padding: 0 0 45px;
    display: flex;
    gap: 9px;
    flex-wrap: wrap
}

.filter {
    border: 1px solid #c9c9ce;
    border-radius: 99px;
    background: transparent;
    padding: 10px 15px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s
}

.filter:hover,
.filter.active {
    background: #111;
    color: #fff;
    border-color: #111
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-bottom: 132px
}

.card {
    min-height: 530px;
    border-radius: 30px;
    overflow: hidden;
    padding: 27px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    isolation: isolate;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 35px #0002
}

.card.hidden {
    display: none
}

.meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    z-index: 2
}

.meta span:last-child {
    opacity: .58
}

.card h2 {
    font-size: 23px;
    letter-spacing: -.05em;
    margin: 0;
    position: relative;
    z-index: 2
}

.finora {
    background: #d9d9dc
}

.finora .planet {
    position: absolute;
    width: 305px;
    height: 305px;
    border: 1px solid #8f8f93;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform .6s
}

.finora:hover .planet {
    transform: translate(-50%, -50%) scale(1.08) rotate(20deg)
}

.planet:before,
.planet:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: #111
}

.planet:before {
    width: 125px;
    height: 125px;
    top: 42px;
    left: 43px
}

.planet:after {
    width: 45px;
    height: 45px;
    bottom: 34px;
    right: 36px
}

.nera {
    background: #242428;
    color: #fff
}

.window {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 25%;
    height: 50%;
    border: 1px solid #ffffff40;
    border-radius: 22px;
    background: linear-gradient(140deg, #ffffff32, #ffffff06);
    backdrop-filter: blur(3px);
    overflow: hidden;
    transition: transform .5s
}

.nera:hover .window {
    transform: scale(1.04) rotate(-2deg)
}

.window:after {
    content: "NERA";
    position: absolute;
    left: 10%;
    bottom: 10%;
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 700;
    letter-spacing: -.1em
}

.atlas {
    background: #9baeb3;
    color: #071012
}

.atlas .lines {
    width: 55%;
    height: 55%;
    border-radius: 50%;
    border: 1px solid #16343c;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

.atlas .lines:before,
.atlas .lines:after {
    content: "";
    position: absolute;
    inset: 22%;
    border: 1px solid #16343c;
    border-radius: 50%
}

.atlas .lines:after {
    inset: 40%
}

.atlas:hover .lines {
    animation: spin 5s linear infinite
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg)
    }
}

.muse {
    background: #e8c9ba
}

.muse .muse-word {
    position: absolute;
    left: 7%;
    bottom: 16%;
    font-size: clamp(67px, 11vw, 125px);
    letter-spacing: -.12em;
    font-weight: 700;
    color: #432c28;
    transition: letter-spacing .5s
}

.muse:hover .muse-word {
    letter-spacing: -.04em
}

.muse .disc {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #432c28;
    top: 25%;
    right: 18%;
    box-shadow: 20px 20px 0 #f4e5dd
}

.luma {
    background: #f2f2f2
}

.luma .luma-shape {
    position: absolute;
    width: 330px;
    height: 210px;
    border-radius: 110px;
    background: #101010;
    top: 31%;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    transition: width .55s
}

.luma:hover .luma-shape {
    width: 390px
}

.luma-shape:after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: #efeb56;
    left: 56px;
    top: -20px
}

.kram {
    background: #121212;
    color: #fff
}

.kram .square {
    position: absolute;
    width: 51%;
    aspect-ratio: 1;
    background: #fb572d;
    top: 24%;
    left: 24%;
    transition: transform .6s
}

.kram:hover .square {
    transform: rotate(45deg) scale(.88)
}

.cta {
    background: #e1e1e4;
    border-radius: 38px 38px 0 0;
    padding: 105px 0 48px;
    text-align: center
}

.cta h2 {
    font-size: clamp(43px, 6vw, 78px);
    letter-spacing: -.08em;
    line-height: .95;
    margin: 13px auto 27px;
    max-width: 750px
}

.cta p {
    color: #68686e;
    font-size: 16px;
    margin: 0 auto 25px;
    max-width: 380px;
    line-height: 1.5
}

.footer {
    max-width: 1200px;
    margin: 86px auto 0;
    padding: 20px 28px 0;
    border-top: 1px solid #c2c2c7;
    display: flex;
    justify-content: space-between;
    color: #74747a;
    font-size: 12px
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .75s, transform .75s
}

.reveal.on {
    opacity: 1;
    transform: none
}

.case-modal {
    width: min(900px, calc(100% - 32px));
    max-height: 88vh;
    border: 0;
    border-radius: 28px;
    padding: 0;
    background: #f6f6f8;
    color: #0a0a0b;
    box-shadow: 0 30px 90px #0008;
    overflow: hidden
}

.case-modal::backdrop {
    background: #000a;
    backdrop-filter: blur(8px)
}

.modal-inner {
    padding: 28px;
    position: relative
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 38px;
    height: 38px;
    border: 1px solid #bcbcc1;
    border-radius: 50%;
    background: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 3
}

.modal-art {
    height: 265px;
    border-radius: 18px;
    margin-bottom: 34px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
}

.modal-art:after {
    content: "";
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: #fff8;
    box-shadow: 0 0 0 55px #fff3, 0 0 0 110px #fff1
}

.modal-art.dark {
    background: #25252a
}

.modal-art.blue {
    background: #9baeb3
}

.modal-art.rose {
    background: #e8c9ba
}

.modal-art.lime {
    background: #202020
}

.modal-art.orange {
    background: #fb572d
}

.modal-art.grey {
    background: #d9d9dc
}

.modal-type {
    font-size: 12px;
    font-weight: 700;
    color: #727278
}

.modal-title {
    font-size: clamp(38px, 6vw, 69px);
    letter-spacing: -.08em;
    line-height: .95;
    margin: 12px 0 28px
}

.modal-details {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    border-top: 1px solid #cfcfd4;
    padding-top: 22px
}

.modal-description {
    font-size: 18px;
    line-height: 1.48;
    margin: 0
}

.modal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #66666c;
    font-size: 14px;
    line-height: 2
}

.modal-cta {
    display: inline-block;
    margin-top: 30px
}

@media(max-width:720px) {
    .shell {
        padding: 0 20px
    }

    .links,
    .nav .button {
        display: none
    }

    .menu {
        display: block;
        border: 0;
        background: transparent;
        font-size: 22px
    }

    .page-hero {
        padding: 66px 0 70px
    }

    .page-hero h1 {
        font-size: 58px
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-bottom: 80px
    }

    .card {
        min-height: 400px;
        border-radius: 23px
    }

    .case-modal {
        width: calc(100% - 20px);
        max-height: 92vh
    }

    .modal-inner {
        padding: 18px
    }

    .modal-art {
        height: 190px;
        margin-bottom: 25px
    }

    .modal-details {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .cta {
        border-radius: 28px 28px 0 0;
        padding: 80px 0 35px
    }

    .footer {
        margin-top: 60px;
        padding: 17px 20px 0;
        display: block;
        line-height: 2
    }

    .page-hero:after {
        transform: scale(.65);
        right: -225px;
        top: -185px
    }
}