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

html,
body.page-template-tpl-landing,
body.page-template-tpl-landing-php {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

body.page-template-tpl-landing .landing-wrap,
body.page-template-tpl-landing-php .landing-wrap {
    width: 100%;
}

.landing-wrap {
    --landing-scale: 1;
    --landing-mobile-scale: 1;
    --landing-content-shift: 0px;
    --landing-font: "Bricolage Grotesque", sans-serif;
    --landing-text-color: #1a1a1a;
    --landing-button-text: #ffffff;
    --landing-button-primary: #9e8460;
    --landing-button-secondary: #9e84607a;
    --landing-button-hover: #c38e45;
    --landing-icon-hover-filter: brightness(0) saturate(100%) invert(53%) sepia(14%) saturate(607%) hue-rotate(355deg) brightness(91%) contrast(89%);
    --landing-shadow: 0 4px 4px #00000040;

    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 !important;
    background: #f5f1e8;
}

.landing-stage {
    position: relative;
    width: calc(1920px * var(--landing-scale));
    height: calc(1080px * var(--landing-scale));
    flex: 0 0 auto;
}

.landing-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 1920px;
    height: 1080px;
    transform: scale(var(--landing-scale));
    transform-origin: top left;
    font-family: var(--landing-font);
    color: var(--landing-text-color);
}

.landing-primary-bg {
    position: absolute;
    left: 0;
    top: -2px;
    width: 1019px;
    height: 1080px;
    z-index: 2;
    pointer-events: none;
    user-select: none;
    display: block;
    max-width: none;
}

.landing-primary-bg__image {
    width: 100%;
    height: 100%;
    display: block;
}

.landing-left-content {
    position: absolute;
    inset: 0;
    z-index: 5;
    transform: translateX(var(--landing-content-shift));
}

.landing-headline {
    position: absolute;
    left: 258px;
    top: 238px;
    width: 420.1916198730469px;
    height: 90.31380462646484px;
    margin: 0;
    display: block;
    object-fit: contain;
}

.landing-headline img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.landing-subtitle {
    position: absolute;
    margin: 0;
    font-family: var(--landing-font);
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0;
    text-align: center;
    color: var(--landing-text-color);
}

.landing-subtitle--line-1 {
    left: 317px;
    top: 366px;
    width: 288px;
    min-height: 29px;
}

.landing-subtitle--line-2 {
    left: 283px;
    top: 404px;
    width: 360px;
    min-height: 29px;
    white-space: nowrap;
}

.landing-btn {
    position: absolute;
    left: 305px;
    width: 314px;
    height: 47px;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--landing-shadow);
    font-family: var(--landing-font);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    color: var(--landing-button-text);
    transition: background-color 220ms ease, box-shadow 220ms ease, transform 180ms ease;
}

.landing-btn--website {
    top: 499px;
}

.landing-btn--shop {
    top: 583px;
}

.landing-btn--primary {
    background: var(--landing-button-primary);
}

.landing-btn--secondary {
    background: var(--landing-button-secondary);
}

.landing-btn.is-disabled {
    pointer-events: auto;
    cursor: not-allowed;
    opacity: 0.48;
}

.landing-btn:not(.is-disabled):hover {
    background: var(--landing-button-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.landing-btn:focus-visible,
.landing-social-link:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

.landing-social-heading {
    position: absolute;
    top: 702px;
    left: 227px;
    width: 470px;
    margin: 0;
    font-family: var(--landing-font);
    font-size: 24px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0;
    text-align: center;
    color: var(--landing-text-color);
}

.landing-social-list {
    position: absolute;
    top: 752px;
    left: 311px;
    width: 302px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.landing-social-link {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.2s ease;
}

.landing-social-link:hover {
    filter: var(--landing-icon-hover-filter);
}

.landing-social-link img {
    width: 56px;
    height: 56px;
    display: block;
}

.landing-layer {
    position: absolute;
    display: block;
}

.landing-layer__image {
    width: 100%;
    height: 100%;
    display: block;
}

.landing-layer--tiger {
    top: 0;
    left: auto;
    right: -2px;
    width: 1009px;
    height: 1080px;
    z-index: 1;
}

.landing-layer--tiger .landing-layer__image {
    object-fit: cover;
}

.landing-layer--torn {
    top: -409px;
    left: 646.97px;
    width: 484.76513671875px;
    height: 1639.9998779296875px;
    object-fit: contain;
    pointer-events: none;
    z-index: 6;
}

.landing-wrap.is-min-scale {
    overflow-y: auto;
    overflow-x: hidden;
    align-items: flex-start;
}

.landing-wrap.is-min-scale .landing-stage {
    margin: 0 auto;
}

@media (max-width: 1024px) {
    html,
    body.page-template-tpl-landing,
    body.page-template-tpl-landing-php {
        height: auto;
        min-height: 100vh;
        min-height: 100svh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .landing-wrap {
        background: #fcf6e7;
        height: auto;
        min-height: 100vh;
        min-height: 100svh;
        align-items: stretch;
        justify-content: flex-start;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .landing-stage {
        width: 100%;
        height: auto;
        min-height: 100vh;
        min-height: 100svh;
    }

    .landing-canvas {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        min-height: 100vh;
        min-height: 100svh;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #fcf6e7;
    }

    .landing-left-content {
        position: relative;
        inset: auto;
        order: 1;
        width: 100%;
        z-index: 3;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding:
            calc(260px * var(--landing-mobile-scale))
            calc(84px * var(--landing-mobile-scale))
            calc(140px * var(--landing-mobile-scale));
        min-height: calc(1707px * var(--landing-mobile-scale));
        background: transparent;
        margin-bottom: calc(-1 * clamp(100px, 12vw, 110px));
    }

    .landing-headline {
        position: relative;
        left: auto;
        top: auto;
        width: min(100%, calc(753px * var(--landing-mobile-scale)));
        height: auto;
        margin-top: calc(-18px * var(--landing-mobile-scale));
        margin-bottom: calc(78px * var(--landing-mobile-scale));
    }

    .landing-subtitle {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        min-height: 0;
        font-size: clamp(18px, calc(48px * var(--landing-mobile-scale)), 48px);
        line-height: 1.08;
    }

    .landing-subtitle--line-1 {
        margin-bottom: calc(16px * var(--landing-mobile-scale));
    }

    .landing-subtitle--line-2 {
        white-space: nowrap;
        margin-bottom: calc(92px * var(--landing-mobile-scale));
    }

    .landing-btn {
        position: relative;
        left: auto;
        top: auto;
        width: min(100%, calc(607px * var(--landing-mobile-scale)));
        height: clamp(48px, calc(123px * var(--landing-mobile-scale)), 123px);
        border-radius: 999px;
        padding: 0 calc(28px * var(--landing-mobile-scale));
        font-size: clamp(16px, calc(40px * var(--landing-mobile-scale)), 40px);
        line-height: 1.05;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    }

    .landing-btn + .landing-btn {
        margin-top: calc(60px * var(--landing-mobile-scale));
    }

    .landing-btn--secondary {
        background: rgba(158, 132, 96, 0.48);
    }

    .landing-social-heading {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        margin-top: calc(124px * var(--landing-mobile-scale));
        font-size: clamp(18px, calc(48px * var(--landing-mobile-scale)), 48px);
        line-height: 1.1;
    }

    .landing-social-list {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        gap: calc(92px * var(--landing-mobile-scale));
        margin-top: calc(44px * var(--landing-mobile-scale));
        padding: 0;
    }

    .landing-social-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .landing-social-item--instagram .landing-social-link,
    .landing-social-item--deviantart .landing-social-link,
    .landing-social-item--telegram .landing-social-link {
        width: clamp(36px, calc(114px * var(--landing-mobile-scale)), 114px);
        height: clamp(36px, calc(114px * var(--landing-mobile-scale)), 114px);
    }

    .landing-social-link {
        transition: filter 0.2s ease;
    }

    .landing-social-link:hover {
        filter: var(--landing-icon-hover-filter);
    }

    .landing-social-link img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .landing-layer--tiger {
        position: relative;
        order: 2;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        height: calc(1480px * var(--landing-mobile-scale));
        min-height: clamp(300px, calc(900px * var(--landing-mobile-scale)), 900px);
        z-index: 1;
        margin-top: 0;
    }

    .landing-layer--tiger .landing-layer__image {
        object-fit: cover;
        object-position: center top;
    }

    .landing-primary-bg {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 2;
        pointer-events: none;
    }

    .landing-primary-bg__image {
        width: 100%;
        height: auto;
    }
}

