@font-face {
    font-family: "Playfair Display";
    src: url("../../fonts/playfair-display/playfair-display-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
}

:root {
    --qrm-bg: #000000;
    --qrm-text: #f5f1ea;
    --qrm-shell: min(1440px, calc(100% - 48px));
}

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

html,
body.qr-menu-page {
    overflow-x: hidden !important;
    width: 100%;
}

body.qr-menu-page {
    margin: 0;
    background: var(--qrm-bg);
    color: var(--qrm-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

body.qr-menu-page::before,
body.qr-menu-page::after {
    display: none !important;
}

.qrm-page {
    position: relative;
    background: var(--qrm-bg);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
    width: 100%;
}

.qrm-page button,
.qrm-page input,
.qrm-page textarea,
.qrm-page select {
    font: inherit;
}

.qrm-shell {
    width: var(--qrm-shell);
    max-width: 100%;
    margin: 0 auto;
}

body.qr-menu-page #navbar,
body.qr-menu-page #navbar > .container,
body.qr-menu-page .nav-wrapper,
body.qr-menu-page .qrm-page,
body.qr-menu-page .qrm-shell,
body.qr-menu-page .qrm-grid-section,
body.qr-menu-page .qrm-phone-grid {
    max-width: 100%;
}

body.qr-menu-page #navbar > .container {
    width: min(100% - 32px, 1180px);
    margin-inline: auto;
    padding-inline: 0;
}

body.qr-menu-page .nav-wrapper {
    min-height: 58px;
    padding-inline: 20px;
}

@media (max-width: 480px) {
    body.qr-menu-page #navbar {
        padding-top: 10px;
    }

    body.qr-menu-page #navbar > .container {
        width: calc(100% - 24px);
    }

    body.qr-menu-page .nav-wrapper {
        min-height: 52px;
        padding-inline: 16px;
        border-radius: 26px;
    }

    body.qr-menu-page .logo-img {
        height: 32px;
    }

    body.qr-menu-page .hamburger span {
        width: 22px;
        height: 2px;
    }
}

@media (max-width: 900px) {
    body.qr-menu-page #nav-menu {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    body.qr-menu-page .nav-wrapper {
        justify-content: flex-start;
        padding-right: 58px;
    }

    body.qr-menu-page .nav-wrapper::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 16px;
        width: 22px;
        height: 2px;
        border-radius: 999px;
        background: #ffffff;
        box-shadow:
            0 -7px 0 #ffffff,
            0 7px 0 #ffffff;
        transform: translateY(-50%);
        pointer-events: none;
        z-index: 3;
    }

    body.qr-menu-page .hamburger {
        position: absolute;
        top: 50%;
        right: 16px;
        z-index: 4;
        width: 32px;
        height: 32px;
        opacity: 0;
        display: flex !important;
        transform: translateY(-50%);
    }
}

.qrm-hero {
    position: relative;
    margin-top: 0;
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: #010505;
}

.qrm-hero::before,
.qrm-hero::after {
    display: none;
}
.qrm-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.qrm-hero__picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
}

.qrm-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.qrm-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.24) 36%, rgba(0, 0, 0, 0.24) 64%, rgba(0, 0, 0, 0.78) 100%),
        radial-gradient(120% 90% at 50% 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.5) 100%);
}

.qrm-hero__inner {
    position: relative;
    z-index: 2;
    min-height: 100%;
    display: grid;
    align-content: end;
    padding: 0 0 clamp(24px, 3vw, 48px);
}

.qrm-hero__title {
    margin: 0;
    max-width: none;
    font-family: "Outfit", system-ui, sans-serif;
    font-size: clamp(2.6rem, 4.8vw, 4.4rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-shadow: 0 18px 46px rgba(0, 0, 0, 0.58);
}

.qrm-hero__lede {
    margin: 8px 0 0;
    max-width: 34rem;
    color: rgba(245, 241, 234, 0.6);
    font-size: clamp(0.92rem, 1.5vw, 1.12rem);
    line-height: 1.75;
}

.qrm-grid-section {
    padding: clamp(90px, 10vw, 150px) 0 clamp(110px, 14vw, 180px);
}

.qrm-phone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 390px));
    justify-content: center;
    gap: clamp(18px, 2vw, 26px);
    overflow-x: hidden;
}

.qrm-phone-card {
    position: relative;
    display: grid;
    gap: 10px;
    padding: clamp(12px, 1.4vw, 16px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.018);
    box-shadow: none;
    backdrop-filter: none;
    overflow: hidden;
    overflow-y: clip;
    overscroll-behavior: auto;
    -webkit-overflow-scrolling: auto;
    touch-action: pan-y;
}

.qrm-phone-card::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.qrm-phone-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
}

.qrm-phone-card__meta {
    display: grid;
    gap: 3px;
}

.qrm-phone-card__title {
    margin: 0;
    color: #f5f1ea;
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: clamp(1.25rem, 1.75vw, 1.72rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.qrm-gallery-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.qrm-gallery-switch__btn {
    flex: 1 1 auto;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(245, 241, 234, 0.74);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.qrm-gallery-switch__btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.qrm-gallery-switch__btn.is-active {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.qrm-theme-switch {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.qrm-theme-switch__btn {
    min-height: 24px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(245, 241, 234, 0.74);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.qrm-theme-switch__btn.is-active {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.qrm-phone-card__ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 108px;
    height: 108px;
    overflow: hidden;
    pointer-events: none;
    z-index: 4;
}

.qrm-phone-card__ribbon-label {
    position: absolute;
    top: 16px;
    right: -40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 168px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 0, 0, 0.98);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.qrm-phone-card__device-wrap {
    position: relative;
    display: grid;
    place-items: center;
    padding: 12px 0 56px;
    overflow: hidden;
    overscroll-behavior: none;
    pointer-events: none;
    touch-action: pan-y;
}
.qrm-phone-mockup__shot {
    display: block;
    width: 100%;
    max-width: min(340px, 100%);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
    transition: none !important;
    touch-action: pan-y;
}

.qrm-phone-card__cta {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.9);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.26s ease, background-color 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.34);
    cursor: pointer;
}

.qrm-phone-card__cta-icon {
    font-size: 0.92rem;
    line-height: 1;
}

.qrm-phone-card__cta-text {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    opacity: 0;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(9, 9, 9, 0.9);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: none;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.qrm-phone-card__cta:hover,
.qrm-phone-card__cta:focus-visible {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.38);
    outline: none;
}

.qrm-phone-card__cta:hover .qrm-phone-card__cta-text,
.qrm-phone-card__cta:focus-visible .qrm-phone-card__cta-text {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.qrm-phone-card__cta.is-disabled {
    opacity: 0.52;
    cursor: not-allowed;
}

.qrm-phone-card__cta.is-disabled .qrm-phone-card__cta-text {
    opacity: 0;
}

.qrm-capabilities {
    padding: clamp(96px, 11vw, 170px) 0 clamp(80px, 9vw, 130px);
}

.qrm-capabilities__inner {
    display: grid;
    gap: clamp(48px, 6vw, 88px);
}

.qrm-capabilities__head {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    column-gap: clamp(40px, 6vw, 96px);
    row-gap: 24px;
}

.qrm-capabilities__title {
    margin: 0;
    font-family: "Outfit", system-ui, sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-weight: 200;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #faf7f1;
}

.qrm-capabilities__intro {
    margin: 0 0 6px;
    max-width: 46ch;
    color: rgba(245, 241, 234, 0.78);
    font-size: clamp(1rem, 1.25vw, 1.14rem);
    line-height: 1.74;
}

.qrm-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 1.6vw, 24px);
}

.qrm-capability-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: clamp(210px, 22vw, 264px);
    padding: clamp(26px, 2.4vw, 38px);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.028);
    box-shadow: inset 0 0 0 1px rgba(245, 241, 234, 0.07);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.45s ease,
                box-shadow 0.45s ease;
}

.qrm-capability-item:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 1px rgba(224, 184, 120, 0.32);
}

.qrm-capability-item__title {
    position: relative;
    margin: 0;
    color: #faf7f1;
    font-family: "Outfit", system-ui, sans-serif;
    font-size: clamp(1.28rem, 1.7vw, 1.62rem);
    font-weight: 200;
    letter-spacing: -0.01em;
    line-height: 1.18;
}

.qrm-capability-item__text {
    position: relative;
    margin: auto 0 0;
    padding-top: 16px;
    color: rgba(245, 241, 234, 0.68);
    font-size: 0.94rem;
    line-height: 1.66;
}

.qrm-phone-reveal {
    position: relative;
    height: clamp(520px, 64vw, 900px);
    margin-top: clamp(-42px, -3vw, -20px);
    overflow: visible;
    pointer-events: none;
}

.qrm-phone-reveal__stage {
    position: absolute;
    inset: 0;
}

.qrm-phone-reveal__image {
    position: absolute;
    z-index: 1;
    right: clamp(-112px, -5vw, -36px);
    bottom: clamp(-56px, -3vw, -20px);
    display: block;
    width: clamp(360px, 40vw, 620px);
    height: auto;
    max-width: none;
    filter: drop-shadow(-32px 26px 48px rgba(0, 0, 0, 0.5));
    transform-origin: right bottom;
    will-change: transform, opacity;
}

.qrm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 700px));
    justify-content: center;
    gap: clamp(20px, 2.8vw, 28px);
}

.qrm-card {
    position: relative;
}

.qr-menu-page .sa-footer {
    background: #000;
}

@media (max-width: 860px) {
    :root {
        --qrm-shell: min(calc(100% - 28px), 720px);
    }

    .qrm-hero {
        height: 100svh;
        min-height: 100svh;
    }

    .qrm-hero__inner {
        padding: 0 0 20px;
    }

    .qrm-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .qrm-phone-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 380px));
        justify-content: center;
    }

    .qrm-capabilities__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qrm-capabilities__head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .qrm-capabilities__intro {
        margin-bottom: 0;
    }
}

@media (max-width: 860px) {
    .qrm-grid-section {
        padding-top: clamp(64px, 16vw, 96px);
    }

    .qrm-phone-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .qrm-phone-card,
    .qrm-phone-card * {
        pointer-events: none !important;
        transition: none !important;
        animation: none !important;
    }

    .qrm-phone-card__cta,
    .qrm-phone-card__cta *,
    .qrm-theme-switch,
    .qrm-theme-switch *,
    .qrm-gallery-switch,
    .qrm-gallery-switch * {
        pointer-events: auto !important;
    }

    .qrm-theme-switch__btn,
    .qrm-gallery-switch__btn {
        touch-action: manipulation;
    }

    .qrm-phone-card,
    .qrm-phone-card__device-wrap,
    .qrm-phone-mockup__shot {
        touch-action: pan-y !important;
        overscroll-behavior: auto !important;
    }

    .qrm-phone-mockup__shot {
        max-width: min(300px, 76vw);
    }

    .qrm-capabilities__grid {
        grid-template-columns: 1fr;
    }

    .qrm-phone-reveal {
        height: clamp(400px, 112vw, 610px);
        margin-top: -20px;
    }

    .qrm-phone-reveal__image {
        right: clamp(-76px, -12vw, -34px);
        bottom: clamp(-48px, -7vw, -24px);
        width: clamp(300px, 82vw, 500px);
        filter: drop-shadow(-20px 20px 34px rgba(0, 0, 0, 0.46));
    }
}

@media (max-width: 480px) {
    .qrm-phone-reveal {
        height: min(118vw, 500px);
    }

    .qrm-phone-reveal__image {
        right: -16vw;
        bottom: -8vw;
        width: 88vw;
    }
}
.qrm-hero__title,
.qrm-hero__title * {
    font-family: "Outfit", system-ui, sans-serif;
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.03em;
    text-transform: none;
}

.qrm-hero__title {
    font-size: clamp(3.4rem, 7.2vw, 7rem);
    line-height: 1;
    max-width: none;
}
