@font-face {
    font-family: "PFDinTextCompPro";
    src: url("../assets/webfont/PFDinTextCompPro-Thin.woff2") format("woff2"),
         url("../assets/webfont/PFDinTextCompPro-Thin.woff") format("woff");
    font-weight: 100 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PFDinTextCompPro";
    src: url("../assets/webfont/PFDinTextCompPro-Light.woff2") format("woff2"),
         url("../assets/webfont/PFDinTextCompPro-Light.woff") format("woff");
    font-weight: 300 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PFDinTextCompPro";
    src: url("../assets/webfont/PFDinTextCompPro-Medium.woff2") format("woff2"),
         url("../assets/webfont/PFDinTextCompPro-Medium.woff") format("woff");
    font-weight: 500 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --mm-font-family: "PFDinTextCompPro", "Arial Narrow", Arial, Helvetica, sans-serif;
}

html,
body,
button,
input,
select,
textarea {
    font-family: var(--mm-font-family, "PFDinTextCompPro", "Arial Narrow", Arial, Helvetica, sans-serif);
}

:root {
    --media-v5-topnav-height: 42px;
    --topnav-height: var(--media-v5-topnav-height);
}

body {
    padding-top: var(--media-v5-topnav-height);
}

.mm-topnav {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--media-v5-topnav-height);
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #ffffff;
    z-index: 1000;
}

.mm-topnav__inner {
    width: 100%;
    height: 100%;
    padding: 0 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mm-topnav__brand {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
}

.mm-topnav__brand img {
    width: 100px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.mm-topnav__menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mm-topnav__link {
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: lowercase;
    padding: 8px 2px 9px;
    transition: color 0.22s ease;
}

.mm-topnav__link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.mm-topnav.has-selection .mm-topnav__link {
    color: rgba(255, 255, 255, 0.5);
}

.mm-topnav.has-selection .mm-topnav__link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.mm-topnav.has-selection .mm-topnav__link.is-selected {
    color: rgba(255, 255, 255, 1);
}

.mm-topnav__link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 0;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    transform: translateX(-50%);
    opacity: 0;
    transition: width 0.28s ease, opacity 0.28s ease;
}

.mm-topnav__link.is-selected::after {
    width: 100%;
    opacity: 1;
}

.mm-topnav__divider {
    color: rgba(255, 255, 255, 0.5);
}

.mm-topnav__burger {
    display: none;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

/* right sidebar */

.mm-sidebar {
    position: fixed;
    top: var(--topnav-height);
    right: -400px;
    width: 400px;
    height: calc(100vh - var(--topnav-height));
    background: #000000;
    color: #d0d0d8;
    z-index: 1100;
    transition:
        right 0.28s ease,
        width 0.28s ease;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
}

.mm-sidebar.is-wide {
    right: -50vw;
    width: 50vw;
    background: #000000;
}

.mm-sidebar.is-open {
    right: 0;
}

.mm-sidebar__close {
    position: absolute;
    top: 16px;
    right: 24px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
}

.mm-sidebar__content {
    padding: 68px 34px 40px;
}

.mm-sidebar.is-wide .mm-sidebar__content {
    padding: 76px clamp(42px, 5vw, 92px) 56px;
    max-width: 720px;
}

.mm-sidebar h4 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

.mm-sidebar p {
    color: #bcbcc8;
    line-height: 1.55;
}

.mm-sidebar a {
    color: #ffffff;
    text-decoration: none;
}

.mm-sidebar a:hover {
    text-decoration: underline;
}

.mm-sidebar__hr {
    margin: 34px 0;
    border: 0;
    border-top: 1px solid #222431;
}

.mm-sidebar__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mm-sidebar__input,
.mm-sidebar__textarea {
    width: 100%;
    border: 1px solid #555866;
    background: #050505;
    color: #eeeeee;
    border-radius: 999px;
    padding: 12px 18px;
    outline: none;
    font-size: 15px;
    letter-spacing: 0.1em;
}

.mm-sidebar__textarea {
    min-height: 130px;
    resize: vertical;
    border-radius: 22px;
    line-height: 1.45;
}

.mm-sidebar.is-wide .mm-sidebar__textarea {
    min-height: 180px;
}

.mm-password-field {
    position: relative;
    display: flex;
    width: 100%;
}

.mm-password-field .mm-sidebar__input {
    padding-right: 46px;
}

.mm-password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    cursor: pointer;
}

.mm-password-toggle:hover {
    color: #eeeeee;
}

.mm-password-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mm-password-toggle .mm-password-toggle__off {
    display: none;
}

.mm-password-toggle.is-visible .mm-password-toggle__on {
    display: none;
}

.mm-password-toggle.is-visible .mm-password-toggle__off {
    display: block;
}

#mmTurnstile {
    margin: 2px 0 4px;
}

.mm-login-gate {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 8px 0 18px;
}

.mm-login-form[hidden] {
    display: none;
}

.mm-sidebar__terms-button {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mm-sidebar__terms-button:hover {
    color: rgba(255, 255, 255, 0.9);
}

.mm-sidebar__terms-button svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: square;
    stroke-linejoin: miter;
}

.mm-sidebar__button {
    align-self: flex-start;
    border: 1px solid #696c78;
    background: #000000;
    color: #eeeeee;
    border-radius: 999px;
    padding: 11px 26px;
    cursor: pointer;
    font-weight: 700;
    min-width: 110px;
}

.mm-sidebar__button:hover {
    border-color: #ffffff;
    color: #ffffff;
}

body.landing-modal-is-open {
    overflow: hidden;
}

.landing-modal[hidden] {
    display: none;
}

.landing-modal {
    position: fixed;
    z-index: 2200;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.landing-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
}

.landing-modal__panel {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100vw - 42px));
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: #080808;
    padding: 38px 42px 42px;
    color: #eeeeee;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
    outline: none;
}

.landing-modal__panel h2 {
    margin: 0 40px 20px 0;
    color: #ffffff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.1em;
}

.landing-modal__panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.45;
    letter-spacing: 0.1em;
}

.landing-modal__body {
    color: rgba(255, 255, 255, 0.72);
}

.terms-text {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: inherit;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: 0.1em;
}

.landing-modal__close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 32px;
    line-height: 1;
}

.landing-modal__close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.mm-sidebar__tabs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mm-sidebar__tab {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    padding-bottom: 4px;
}

.mm-sidebar__tab:hover {
    color: rgba(255, 255, 255, 0.8);
}

.mm-sidebar__tab.is-active {
    color: #ffffff;
}

.mm-sidebar__tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
}

.mm-sidebar__feedback {
    margin-top: 12px;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #bcbcc8;
}

.mm-form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mm-sidebar__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #bcbcc8;
    font-size: 14px;
    line-height: 1.45;
}

.mm-sidebar__checkbox input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #ffffff;
}

.mm-inline-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #ffffff;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.mm-sidebar__text-link {
    border: 0;
    padding: 0;
    margin-top: 18px;
    background: transparent;
    color: #bcbcc8;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.mm-sidebar__text-link:hover {
    color: #ffffff;
}

.mm-sidebar__button:disabled {
    cursor: wait;
    opacity: 0.55;
}

/* Contact address + map */

.mm-contact-address {
    margin-top: 20px;
    color: #bcbcc8;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: 0.1em;
}

.mm-contact-address strong {
    color: #ffffff;
    font-weight: 800;
}

.mm-contact-map {
    width: 100%;
    margin-top: 24px;
    aspect-ratio: 16 / 10;
    background: #050505;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #222431;
}

.mm-contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 900px) {
    .mm-sidebar.is-wide {
        right: -100%;
        width: 100%;
    }

    .mm-sidebar.is-wide.is-open {
        right: 0;
    }

    .mm-sidebar.is-wide .mm-sidebar__content {
        max-width: none;
        padding: 68px 34px 40px;
    }
}

@media (max-width: 700px) {
    :root {
        --topnav-height: var(--media-v5-topnav-height);
    }

    .mm-topnav__inner {
        padding: 0 22px;
    }

    .mm-topnav__burger {
        display: block;
    }

    .mm-topnav__menu {
        position: fixed;
        top: var(--media-v5-topnav-height);
        left: 0;
        right: 0;
        height: 52px;
        background: rgba(0, 0, 0, 0.94);
        display: none;
        align-items: center;
        justify-content: center;
    }

    .mm-topnav__menu.is-open {
        display: flex;
    }

    .mm-sidebar,
    .mm-sidebar.is-wide {
        width: 100%;
        right: -100%;
    }

    .mm-sidebar.is-open,
    .mm-sidebar.is-wide.is-open {
        right: 0;
    }

    .mm-sidebar__content,
    .mm-sidebar.is-wide .mm-sidebar__content {
        padding: 68px 28px 40px;
    }

    .mm-contact-map {
        aspect-ratio: 1 / 1;
        border-radius: 14px;
    }
}
