@font-face {
    src: url('../fonts/FormaDJR-Regular.woff2') format("woff2");
    font-family: 'FormaDJR';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'FormaDJR', Helvetica, Arial, sans-serif;
    background-color: #000;
    font-size: 16px;
    margin: 0;
    padding: 0;
    color: #fff;
    cursor: none;
}

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

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    pointer-events: none;
    filter: invert(100%);
    -webkit-filter: invert(100%);
}

header {
    width: 100%;
    height: 33.33vh;
    height: 33.33svh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    position: fixed;
    top: 0;
    left: 0;
    padding: 2.5cqw 0;
    z-index: 10;
}

header .logo {
    width: 15vw;
    float: right;
    margin-left: auto;
}

@media (min-width: 320px) and (max-width: 480px) {

    header {
        height: 25vh;
        height: 25svh;
        background-color: #000;
    }

    header .logo {
        width: 100%;
    }

}

header .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right;
}

main {
    margin-right: auto;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

section {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    align-content: flex-end;
    justify-content: flex-start;
    row-gap: 5rem;
    padding: 2.5cqw 0;
    max-width: 100%;
    width: 70vw;
    height: 100vh;
    height: 100svh;

    container-type: inline-size;

    /* Scroll Snap */
    scroll-snap-align: center;
}

@media (min-width: 320px) and (max-width: 480px) {

    section {
        width: 100vw;
    }

}

h1,
h2 {
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin: 0;
}

sup {
    font-size: 2cqw;
    vertical-align: super;
}

#cursor {
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    pointer-events: none;
    will-change: transform;
    mix-blend-mode: difference;
}

@media (hover: hover) and (pointer: fine) {
    .cursor__circle {
        width: 64px;
        height: 64px;
        margin-top: -50%;
        margin-left: -50%;
        border-radius: 50%;
        border: solid 1px rgba(227, 222, 193, 0.64);
        transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
            background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
            border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
            width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
            height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    }

    #cursor.arrow .cursor__circle {
        width: 128px;
        height: 128px;
        background-color: #073099;
        border-color: #073099;
    }

    #cursor.subtle .cursor__circle {
        opacity: 0.16;
    }

    #cursor.overlay .cursor__circle {
        width: 48px;
        height: 48px;
        background-color: rgba(227, 222, 193, 0.16);
        border-color: transparent;
    }
}

.entry h1 {
    font-size: 9cqw;
}

.contacts h2 {
    font-size: 6.5cqw;
}

.contacts i {
    font-family: Arial;
    font-style: normal;
}

.o-title {
    margin: 0;
    perspective: 600px;
    -webkit-perspective: 600px;
}

.o-title.is-inview .o-title_line {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
}

.o-title_line {
    display: block;
    font-size: inherit;
    opacity: 0;
    -webkit-transform: translateY(100%) rotateX(-80deg);
    transform: translateY(100%) rotateX(-80deg);
    -webkit-transform-origin: center top;
    transform-origin: center top;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: opacity 1s cubic-bezier(.215, .61, .355, 1), -webkit-transform 1s cubic-bezier(.215, .61, .355, 1);
    transition: opacity 1s cubic-bezier(.215, .61, .355, 1), -webkit-transform 1s cubic-bezier(.215, .61, .355, 1);
    transition: opacity 1s cubic-bezier(.215, .61, .355, 1), transform 1s cubic-bezier(.215, .61, .355, 1);
    transition: opacity 1s cubic-bezier(.215, .61, .355, 1), transform 1s cubic-bezier(.215, .61, .355, 1), -webkit-transform 1s cubic-bezier(.215, .61, .355, 1);
}

.o-title.is-inview .o-title_line:first-child {
    transition-delay: .4s
}

.o-title.is-inview .o-title_line:nth-child(2) {
    transition-delay: .5s
}

.o-title.is-inview .o-title_line:nth-child(3) {
    transition-delay: .6s
}

.o-title.is-inview .o-title_line:nth-child(4) {
    transition-delay: .7s
}

.o-title_line span {
    display: inline-block;
    font-size: inherit;
    min-width: 0.05em;
}


.container {
    padding-left: 2.5cqw;
    padding-right: 2.5cqw;
}

@media (min-width: 320px) and (max-width: 480px) {

    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

}

.underline {
    position: relative;
    text-decoration: none;
    transition: color 0.5s;
}

.underline:hover:before {
    left: 0;
    width: 100%;
    transition: 0.5s;
}

.underline:before {
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    content: "";
    transition: 0.5s;
    background-color: #EEE;
}

@keyframes noise {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scaleX(-2);
    }

    50% {
        transform: scale(-1);
    }

    75% {
        transform: scaleY(-1);
    }
}

.noise {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: .25;
    pointer-events: none;
    background: transparent url('../images/noise.png') repeat 0 0;
    background-size: 200px 200px;
    background-repeat: repeat;
    animation: noise .2s steps(1) infinite;
    transform-origin: 50% 50%;
    overflow: hidden;
    z-index: 9998;
}

.contacts__wrap {
    display: flex;
    flex-wrap: wrap;
    row-gap: 2.5rem;
}

.contacts__block:first-child {
    margin-right: 8cqw;
}

.contacts__block address {
    font-size: 4cqw;
    font-style: normal;
    text-transform: uppercase;
    color: white;
}

.contacts__block address p {
    margin-bottom: 1.5rem;
}