.as-promo-open {
    overflow: hidden;
}

.as-promo-dialog {
    padding: 0;
    border: 1px solid var(--line, #d0cdc2);
    border-radius: 3px;
    width: min(940px, calc(100vw - 40px));
    max-width: none;
    max-height: calc(100dvh - 40px);
    margin: auto;
    overflow-y: auto;
    color: var(--text, #29352f);
    background: var(--surface, #fbf9f5);
    box-shadow: 0 24px 90px #0005;
    font-family: var(--sans, Arial, sans-serif);
}

.as-promo-dialog::backdrop {
    background: #101612b8;
}

.as-promo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.as-promo-layout--text {
    grid-template-columns: 1fr;
}

.as-promo-photo {
    background: var(--soft, #eae6dc);
    display: flex;
    align-items: center;
}

.as-promo-photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 660px;
    object-fit: contain;
}

.as-promo-copy {
    padding: 66px 42px 36px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.as-promo-eyebrow {
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--accent, #62664e);
    font-weight: 700;
    margin: 0 0 20px;
}

.as-promo-copy h2 {
    font-family: var(--sans, Arial, sans-serif);
    font-size: clamp(30px, 3.2vw, 43px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.045em;
    margin: 0 0 24px;
}

#as-promo-body {
    color: var(--muted, #535b50);
    font-size: 16px;
    line-height: 1.7;
}

#as-promo-body p {
    margin: 0 0 18px;
}

.as-promo-cta,
.as-promo-launcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 48px;
    padding: 14px 20px;
    color: var(--button-text, #faf8f2);
    background: var(--button, #29352f);
    border: 1px solid var(--button, #29352f);
    border-radius: 2px;
    font: 600 13px/1.5 var(--sans, Arial, sans-serif);
    text-decoration: none;
    cursor: pointer;
}

.as-promo-cta {
    margin-top: 8px;
    text-align: center;
    width: 100%;
}

.as-promo-close,
.as-promo-dismiss {
    color: var(--text, #29352f);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.as-promo-close {
    position: absolute;
    inset: 10px 10px auto auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface, #fbf9f5);
    font: 30px/1 Arial, sans-serif;
}

.as-promo-dismiss {
    align-self: center;
    min-height: 44px;
    margin-top: 12px;
    padding: 8px 18px;
    text-decoration: underline;
    text-underline-offset: 4px;
    font: 13px/1.5 var(--sans, Arial, sans-serif);
}

.as-promo-launcher {
    position: fixed;
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 40;
    box-shadow: 0 4px 20px #0002;
}

.as-promo-launcher--right {
    right: max(18px, env(safe-area-inset-right));
}

.as-promo-launcher--left {
    left: max(18px, env(safe-area-inset-left));
}

.as-promo-launcher[hidden] {
    display: none;
}

#as-promotion :focus-visible {
    outline: 3px solid var(--focus, #5e6040);
    outline-offset: 4px;
}

@media (max-width: 640px) {
    .as-promo-dialog {
        width: calc(100vw - 28px);
        max-height: calc(100dvh - 28px);
    }

    .as-promo-layout {
        grid-template-columns: 1fr;
    }

    .as-promo-photo img {
        height: 200px;
    }

    .as-promo-copy {
        padding: 28px 24px 18px;
    }

    .as-promo-layout--text .as-promo-copy {
        padding-top: 64px;
    }

    .as-promo-eyebrow {
        margin-bottom: 12px;
    }

    .as-promo-copy h2 {
        font-size: 32px;
        margin-bottom: 18px;
    }

    .as-promo-launcher {
        padding: 12px 16px;
        max-width: calc(100vw - 36px);
    }
}
