@font-face {
    font-family: Jost;
    src: url('../../fonts/jost/static/Jost-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Jost;
    src: url('../../fonts/jost/static/Jost-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Jost;
    src: url('../../fonts/jost/static/Jost-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: TTNeoris;
    src:
        url("../../fonts/TTNeoris/woff2/TT_Neoris_Regular.woff2") format("woff2"),
        url("../../fonts/TTNeoris/woff/TT_Neoris_Regular.woff") format("woff");
    font-style: normal;
}

@font-face {
    font-family: kontrabanda;
    src:
        url("../../fonts/kontrabanda/Kontrabanda.ttf") format("truetype");
    font-style: normal;
}

@font-face {
    font-family: Inter;
    src:
        url("../../fonts/Inter/static/Inter_18pt-Regular.ttf") format("truetype");
    font-style: normal;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background: #f7f7f7;
}

body {
    min-height: 100vh;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #f7f7f7;
    color: #fff;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 24px 160px;
}

.hero-logo {
    display: block;
    width: clamp(44px, 12vh, 120px);
    height: auto;
    margin-bottom: clamp(20px, 1.9vw, 36px);
}

.hero-title {
    font-family: Jost;
    font-weight: 500;
    font-size: clamp(38px, 3.8vw, 73px);
    line-height: 123%;
    letter-spacing: -0.03em;
    vertical-align: middle;
    text-transform: uppercase;
    color: #000822;
    margin-bottom: clamp(24px, 2vw, 39px);
}

.hero-sub {
    color: #000822;
    font-family: Jost;
    font-weight: 400;
    font-size: clamp(15px, 1.2vw, 23px);
    line-height: 119%;
    letter-spacing: 0;
    text-align: center;
    max-width: clamp(420px, 33.7vw, 647px);
}

.hero-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 32px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-btn {
    border: none;
    outline: 0;
    cursor: pointer;
    font-family: Inter;
    font-weight: 800;
    font-size: clamp(15px, 1.04vw, 20px);
    line-height: 123%;
    letter-spacing: -0.03em;
    vertical-align: middle;
    color: #6A6A6A;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 16px clamp(24px, 1.9vw, 36px) 0 clamp(24px, 1.9vw, 36px);
    -webkit-tap-highlight-color: transparent;
    transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
    background: none;
}

.hero-btn:hover {
    color: #111;
    transform: translateY(-2px);
}

.hero-btn:active {
    transform: scale(0.98);
}

.hero-arrow {
    width: clamp(34px, 2.3vw, 44px);
    height: clamp(34px, 2.3vw, 44px);
    border: 0;
    outline: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.hero-arrow svg {
    width: 24px;
    height: 24px;
    display: block;
    animation: heroBounce 1.8s ease-in-out infinite;
}

.hero-sound {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 3;
    width: clamp(40px, 2.5vw, 48px);
    height: clamp(40px, 2.5vw, 48px);
    border: 0;
    outline: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000822;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    -webkit-tap-highlight-color: transparent;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero-sound:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.06);
}

.hero-sound:active {
    transform: scale(0.96);
}

.hero-sound svg {
    width: 24px;
    height: 24px;
    display: block;
}

.hero-sound .ic-on {
    display: none;
}

.hero-sound.on .ic-on {
    display: block;
}

.hero-sound.on .ic-off {
    display: none;
}

.hero-anim {
    opacity: 0;
    transform: translateY(24px);
    animation: heroIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes heroIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroBounce {

    0%,
    100% {
        transform: translateY(-3px);
        opacity: 0.7;
    }

    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}

.main {
    display: grid;
    grid-template-columns: minmax(0, 1920px) minmax(max(20vw, 350px), 1fr);
    align-items: start;
}

.page {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 1920px;
    margin: 0;
    overflow: hidden;
}

.frame {
    position: relative;
    width: 100%;
    line-height: 0;
}

.frame .bg {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    pointer-events: none;
}

.zoom {
    position: relative;
    z-index: 1;
    width: 100%;
}

.zoom-in {
    position: relative;
    width: 100%;
    transform-origin: 50% 50%;
    will-change: transform;
    backface-visibility: hidden;
}

.ov {
    position: absolute;
    display: block;
    height: auto;
    max-width: none;
    user-select: none;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transform: translateY(8px) scale(0.985);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.ov.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.backdrop {
    display: none;
}

.side {
    position: sticky;
    top: 0;
    align-self: start;
    width: auto;
    min-width: 0;
    height: 100vh;
    height: 100dvh;
    background: #FFFFFF;
    padding: clamp(16px, 1.35vw, 26px) 10px 10px 10px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #000000;
}

.side-inner {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.35vw, 26px);
    height: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    overflow: auto;
}

.side-inner.show {
    opacity: 1;
    transform: translateY(0);
}

.side-card {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.35vw, 26px);
    width: fit-content;
    max-width: 100%;
    align-self: center;
    flex-shrink: 0;
    padding: 0 20px;

}

.side-card:has(.side-pic.empty) {
    width: 100%;
}

.side-pic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 11px;
    flex-shrink: 0;
}

.side-pic img {
    max-width: 100%;
    max-height: 42vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.side-pic.empty img {
    display: none;
}

.side-title {
    width: 0;
    min-width: 100%;
    font-family: Kontrabanda;
    font-weight: 400;
    font-size: clamp(28px, 2.4vw, 46px);
    line-height: 90%;
    letter-spacing: -0.08em;
    text-align: center;
    color: #484644;
}

.side-text {
    width: 0;
    min-width: 100%;
    font-family: TTNeoris;
    font-weight: 400;
    font-size: clamp(14px, 1vw, 19px);
    line-height: 115%;
    letter-spacing: 0%;
    color: #000000;
}

.to-top {
    position: fixed;
    bottom: 28px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    z-index: 60;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease;
}

.to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.to-top:hover {
    background: rgba(255, 105, 0, 0.9);
}

.to-top svg {
    width: 26px;
    height: 26px;
}

@media (max-width: 900px) {
    .to-top {
        bottom: 110px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
}

.side-text p+p {
    margin-top: clamp(8px, 0.63vw, 12px);
}

.side-counter {
    margin-top: auto;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
}

.side-btn {
    display: none;
    width: 100%;
    border: 0;
    outline: 0;
    cursor: pointer;
    color: #FFFFFF;
    background: #FF6900;
    border-radius: 78px;
    padding: 12px 20px;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s ease, background 0.2s ease;
    font-family: Kontrabanda;
    font-weight: 400;
    font-style: Regular;
    font-size: clamp(20px, 1.46vw, 28px);
    leading-trim: CAP_HEIGHT;
    line-height: 119%;
    letter-spacing: -8%;
    text-align: center;
    max-width: clamp(170px, 11.6vw, 223px);
    width: 100%;
}

.side-btn:active {
    transform: scale(0.98);
    background: #333;
}


#f1 .ov1 {
    left: 11.5%;
    top: -1%;
    width: 26%;
}

#f1 .ov2 {
    right: 12.5%;
    bottom: -1%;
    width: 29%;
}

#f1 .ov3 {
    right: 10%;
    top: 39.5%;
    width: 33%;
}

#f2 .ov1 {
    left: -4.2%;
    top: 6%;
    width: 117%;
}

#f2 .ov2 {
    right: 7%;
    top: 30.5%;
    width: 30%;
}


#f4 .ov1 {
    left: 6.3%;
    bottom: 10.7%;
    width: 43%;
}

#f4 .ov2 {
    left: 36.5%;
    top: 30%;
    width: 25%;
}

#f4 .ov3 {
    right: 17%;
    bottom: 2%;
    width: 27%;
}


#f6 .ov1 {
    left: -4.5%;
    top: 21%;
    width: 60%;
}

#f6 .ov2 {
    right: 12.2%;
    bottom: 3.3%;
    width: 17%;
}

#f6 .ov3 {
    right: 4.5%;
    top: 8%;
    width: 45%;
}



#f7 .ov1 {
    left: 12%;
    bottom: 2.5%;
    width: 39%;
}

#f7 .ov2 {
    left: 16.5%;
    top: 11%;
    width: 17%;
}

#f7 .ov3 {

    right: -4.5%;
    top: 23.3%;
    width: 71%;
}

#f9 .ov1 {
    left: 20%;
    bottom: 28%;
    width: 41%;
}

#f9 .ov2 {
    right: 13.6%;
    bottom: 1%;
    width: 21%;
}

#f9 .ov3 {
    right: 32.5%;
    top: 10.5%;
    width: 18%;
}

#f10 .ov1 {
    left: -4%;
    top: 30%;
    width: 64%;
}

#f10 .ov2 {
    right: 9%;
    bottom: 4%;
    width: 22%;
}

#f10 .ov3 {
    right: -2%;
    top: 8%;
    width: 47%;
}


#f11 .ov1 {
    left: 9%;
    bottom: 3%;
    width: 33%;
}


#f11 .ov3 {

    left: 10.4%;
    top: 13%;
    width: 18%;
}

#f11 .ov4 {

    right: -1.8%;
    top: 15.5%;
    width: 62%;
}

#f12 .ov1 {

    left: 18.5%;
    bottom: 22.5%;
    width: 18%;
}

#f12 .ov2 {
    right: 9%;
    bottom: 11.5%;
    width: 22%;
}

#f12 .ov3 {
    right: -5%;
    top: 7%;
    width: 75%;
}

#f12 .ov4 {
    left: 30%;
    width: 21%;
    bottom: 39.5%;
}


#f13 .ov1 {
    right: 9%;
    bottom: 24.5%;
    width: 18%;
}

#f13 .ov2 {
    right: 37%;
    bottom: 2%;
    width: 20%;
}

#f13 .ov3 {
    left: -6%;
    top: -1%;
    width: 63%;
}

#f14 .ov1 {
    left: 13%;
    bottom: 30.5%;
    width: 37%;
}

#f14 .ov2 {
    right: 7.4%;
    bottom: 15.5%;
    width: 23.6%;
}


#f14 .ov3 {

    left: -1.7%;
    top: -0.1%;
    width: 106%;
}

#f15 .ov1 {

    right: 13%;
    top: 5%;
    width: 56%;
}

#f15 .ov2 {
    left: 12.5%;
    bottom: -1%;
    width: 21.5%;
}

#f16 .ov1 {
    right: 3.7%;
    bottom: -2%;
    width: 93%;
}

#f17 .ov1 {
    left: 16%;
    bottom: 3%;
    width: 62%;
}


#f18 .ov1 {
    left: 17%;
    top: 16%;
    width: 61%;
}

#f19 {
    display: none;
}

.pin {
    position: absolute;
    z-index: 3;
    width: clamp(44px, 3.2vw, 62px);
    height: clamp(52px, 3.85vw, 74px);
    pointer-events: none;
    transform: translate(-50%, -100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pin.active {
    opacity: 1;
}

.pin svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
    animation: pinSwing 1.6s ease-in-out infinite;
}

@keyframes pinSwing {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@media (max-width: 900px) {
    #f19 {
        display: block;
    }

    .hero-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 36px;
    }

    .hero-title {
        font-weight: 500;
        font-size: 39.24px;
        line-height: 123%;
        letter-spacing: -1.18px;
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 39px;
    }

    .hero-sub {
        font-weight: 400;
        font-size: 12px;
        line-height: 119%;
        text-align: center;
        max-width: 647px;
    }

    .hero-btn {
        font-weight: 800;
        font-size: 14px;
        line-height: 123%;
        letter-spacing: -0.42px;
        padding: 16px 16px 5px 16px;
    }

    .hero-arrow {
        width: 16px;
        height: 16px;
    }

    .hero-sound {
        width: 48px;
        height: 48px;
    }

    .main {
        display: block;
        padding-bottom: calc(max(10vh, 150px) + 0px);
    }

    .page {
        max-width: 1920px;
    }

    .backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 90;
        background: #50505080;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.45s ease;
    }

    .backdrop.show {
        opacity: 1;
        pointer-events: auto;
    }

    .side {
        position: fixed;
        top: auto;
        left: 24px;
        right: 24px;
        bottom: -4px;
        width: auto;
        min-width: 0;
        height: 26vh;
        min-height: 150px;
        border-radius: 28px 28px 0 0;
        cursor: pointer;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
        transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        padding:14px 5px 24px 10px;
    }

    .side.away {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .side.open {
        height: 90vh;
        height: 90dvh;
        cursor: default;
    }

    .side-inner {
        gap: 16px;
        overflow: hidden;
        justify-content: space-between;
        /* padding-right: 10px; */

    }

    .side.open .side-inner {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .side-pic {
        display: none;
    }

    .side.open .side-pic {
        display: flex;
    }

    .side-pic img {
        max-height: 50vh;
    }

    .side-title {
        flex-shrink: 0;
        width: 100%;
        font-weight: 400;
        font-size: 27.95px;
        line-height: 119%;
        letter-spacing: -2.24px;
        text-align: center;
    }

    .side-card {
        gap: 14px;
        padding: 0 15px 0 10px;
    }

    .side:not(.open) .side-title,
    .side:not(.open) .side-card {
        width: 100%;
        text-align: left;
        gap: 8px;
    }

    .side-text {
        font-weight: 400;
        font-size: 13px;
        line-height: 115%;
        letter-spacing: 0;
        overflow: hidden;
        flex-shrink: 0;
    }

    .side-text p+p {
        margin-top: 12px;
    }

    .side-text p:first-child {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .side.open .side-text {
        overflow: visible;
    }

    .side.open .side-text p:first-child {
        display: block;
        overflow: visible;
    }

    .side-counter {
        display: none;
    }

    .side-btn {
        font-size: 28px;
        max-width: 223px;
    }

    .side.open .side-btn {
        display: block;
        margin: 28px auto 0;
        flex-shrink: 0;
    }

    .hero-content {
        padding-bottom: 170px;
    }

    .pin {
        width: 28px;
        height: 31px;
    }
}

.preloader {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.is-loading .preloader {
    display: flex;
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

html.is-loading,
html.is-loading body {
    overflow: hidden;
}

.is-loading .hero-anim {
    animation-play-state: paused;
}

.pl-wrap {
    position: relative;
    width: clamp(150px, 14vw, 220px);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pl-ring {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    border: 1.5px dashed rgba(0, 8, 34, 0.18);
}

.pl-orbit {
    position: absolute;
    inset: 0;
    animation: plSpin 3.2s linear infinite;
}

.pl-gull {
    position: absolute;
    left: 50%;
    top: 0;
    width: 64px;
    height: 32px;
    overflow: visible;
    transform: translateX(-50%) rotate(90deg);
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.18));
}

.pl-wing {
    transform-box: view-box;
    animation: plFlapL 0.9s ease-in-out infinite;
}

.pl-wing-l {
    transform-origin: 56px 32px;
}

.pl-wing-r {
    transform-origin: 64px 32px;
    animation-name: plFlapR;
}

.pl-percent {
    position: relative;
    font-family: Kontrabanda, Jost, sans-serif;
    font-size: clamp(22px, 1.9vw, 34px);
    letter-spacing: -0.06em;
    color: #484644;
}

@keyframes plSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes plFlapL {

    0%,
    100% {
        transform: rotate(-20deg) scaleX(0.92);
    }

    50% {
        transform: rotate(14deg) scaleX(1);
    }
}

@keyframes plFlapR {

    0%,
    100% {
        transform: rotate(20deg) scaleX(0.92);
    }

    50% {
        transform: rotate(-14deg) scaleX(1);
    }
}