html.pass-modal-lock {
    overflow: hidden;
}

.pass-modal {
    width: min(520px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--navy);
    overflow: visible;
}

.pass-modal::backdrop {
    background:
        radial-gradient(80% 60% at 50% 40%, #76080c55, transparent 70%),
        #0c1428cc;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pass-modal[open] {
    animation: pass-modal-in .32s cubic-bezier(.2, .7, .3, 1);
}

.pass-modal[open]::backdrop {
    animation: pass-modal-fade .32s ease;
}

.pass-modal.is-closing {
    animation: pass-modal-out .22s ease forwards;
}

.pass-modal.is-closing::backdrop {
    animation: pass-modal-fade .22s ease reverse forwards;
}

@keyframes pass-modal-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.97);
    }
}

@keyframes pass-modal-out {
    to {
        opacity: 0;
        transform: translateY(12px) scale(.98);
    }
}

@keyframes pass-modal-fade {
    from {
        opacity: 0;
    }
}

.pass-modal__card {
    position: relative;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 44px 40px 36px;
    border-radius: 22px;
    background: #f3eadc;
    text-align: center;
    box-shadow: 0 30px 70px #0c142880, 0 0 0 1px var(--gold-md);
}

/* inner gold frame */
.pass-modal__card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid var(--panel-rule-gold);
    border-radius: 15px;
    pointer-events: none;
}

.pass-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--panel-rule);
    border-radius: 50%;
    background: transparent;
    color: var(--navy);
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .3s ease;
}

.pass-modal__close:hover {
    background: var(--navy);
    color: var(--gold-lt);
    transform: rotate(90deg);
}

.pass-modal__close:focus-visible {
    outline: 2px solid var(--maroon);
    outline-offset: 3px;
}

.pass-modal__close svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.pass-modal__lotus {
    width: 56px;
    margin: 0 auto 10px;
}

.pass-modal__eyebrow {
    margin: 0 0 8px;
    color: var(--maroon);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.pass-modal__title {
    margin: 0;
    color: var(--navy);
    font-family: var(--title);
    font-size: clamp(26px, 6vw, 34px);
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.1;
}

.pass-modal__rule {
    display: block;
    width: 90px;
    height: 2px;
    margin: 16px auto 26px;
    border-radius: 2px;
    background: var(--foil);
}

.pass-modal__option {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--panel-rule);
    border-radius: 14px;
    background: #fffaf099;
    text-align: left;
}

.pass-modal__icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #8e0f1a12;
    color: var(--maroon);
}

.pass-modal__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pass-modal__option h3 {
    margin: 2px 0 6px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.35;
}

.pass-modal__option address {
    margin: 0 0 10px;
    color: var(--panel-body);
    font-size: 14px;
    font-style: normal;
    line-height: 1.55;
}

.pass-modal__option address span {
    display: block;
}

.pass-modal__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--gold-md);
    color: var(--maroon);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: color .2s ease, border-color .2s ease;
}

.pass-modal__link:hover {
    color: var(--navy);
    border-color: var(--navy);
}

.pass-modal__link svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pass-modal__phone {
    color: #17233f;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: color .2s ease;
}

.pass-modal__phone:hover {
    color: var(--maroon);
}

.pass-modal__or {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0;
    color: var(--gold-md);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.pass-modal__or::before,
.pass-modal__or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--panel-rule-gold);
}

.pass-modal__cta {
    justify-content: center;
    min-width: 200px;
    margin-top: 26px;
    padding: 7px 26px;
    font-size: 12px;
}

@media (max-width: 560px) {
    .pass-modal__card {
        padding: 60px 20px 26px;
    }

    .pass-modal__option {
        padding: 14px;
        gap: 12px;
    }

    .pass-modal__icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .pass-modal__phone {
        font-size: 19px;
    }

    .pass-modal__option address {
        font-size: 13px;
        text-wrap: pretty;
    }

    .pass-modal__option address span {
        display: inline;
    }

    .pass-modal__cta {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .pass-modal[open],
    .pass-modal.is-closing,
    .pass-modal[open]::backdrop {
        animation: none;
    }
}
