/* ==========================================================================
   pds-cta — closing panel (light)

   The panel sits on paper: white surface, ink type. Everything inside is
   tuned for contrast on white — no white-on-white, no faint grey copy.
   ========================================================================== */

.pds-cta {
    position: relative;
    padding-block: var(--pds-section-y);
    background: var(--pds-bone);
}

.pds-cta__panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
    padding: clamp(2.5rem, 5.5vw, 5rem);
    border: 1px solid var(--pds-line);
    border-radius: var(--pds-r-xl);
    overflow: hidden;
    isolation: isolate;
    background: var(--pds-paper);
    color: var(--pds-body);
    box-shadow: var(--pds-shadow-lg);
}

/* --- Background --------------------------------------------------------------- */

.pds-cta__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .22;
}

.pds-cta__bg img,
.pds-cta__bg video {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    display: block;
}

/* Keeps the type readable whatever the footage does, from either edge —
   now washing the image out towards white instead of towards ink. */
.pds-cta__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, var(--pds-paper) 12%, rgba(255, 255, 255, .8) 58%, rgba(255, 255, 255, .92));
}

/* Overlay blending goes invisible on a white surface, so the grain multiplies
   instead — a whisper of texture, not a grey film over the copy. */
.pds-cta__grain {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.pds-cta__grain::before {
    mix-blend-mode: multiply;
    opacity: .1;
}

/* --- Copy ---------------------------------------------------------------------- */

.pds-cta__copy {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
}

.pds-cta__title {
    font-family: var(--pds-display);
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.04em;
    color: var(--pds-title);
    margin: 0;
    max-inline-size: 16ch;
    text-wrap: balance;
}

.pds-cta__text {
    color: var(--pds-body);
    max-inline-size: 50ch;
}

.pds-cta__copy .pds__actions {
    margin-block-start: .5rem;
}

/* --- Contact --------------------------------------------------------------------- */

.pds-cta__contact {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pds-cta__contact ul {
    display: flex;
    flex-direction: column;
    gap: .625rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pds-cta__contact-link {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: 1rem 1.125rem;
    border: 1px solid var(--pds-line);
    border-radius: var(--pds-r);
    background: var(--pds-bone);
    text-decoration: none;
    transition: background-color .4s var(--pds-ease), border-color .4s var(--pds-ease),
                box-shadow .4s var(--pds-ease), transform .45s var(--pds-ease-out);
}

.pds-cta__contact-link:hover {
    background: var(--pds-paper);
    border-color: var(--pds-purple);
    box-shadow: var(--pds-shadow-sm);
    transform: translateX(4px);
}

.pds-cta__icon {
    display: grid;
    place-items: center;
    flex: none;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    border-radius: 12px;
    background: var(--pds-orange-wash);
    color: var(--pds-orange-ink);
    transition: background-color .4s var(--pds-ease), color .4s var(--pds-ease);
}

.pds-cta__contact-link:hover .pds-cta__icon {
    background: var(--pds-orange);
    color: #fff;
}

.pds-cta__contact-body {
    display: flex;
    flex-direction: column;
    gap: .0625rem;
    min-inline-size: 0;
}

.pds-cta__contact-label {
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--pds-muted);
}

.pds-cta__contact-body strong {
    font-family: var(--pds-display);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--pds-title);
}

.pds-cta__contact-go {
    margin-inline-start: auto;
    color: var(--pds-muted);
    transition: color .4s var(--pds-ease), transform .4s var(--pds-ease);
}

.pds-cta__contact-link:hover .pds-cta__contact-go {
    color: var(--pds-purple);
    transform: translate(2px, -2px);
}

/* --- Note ------------------------------------------------------------------------- */

.pds-cta__note {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-size: var(--pds-fs-eyebrow);
    color: var(--pds-muted);
}

/* --- Responsive --------------------------------------------------------------------- */

@media (max-width: 899px) {

    .pds-cta__panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .pds-cta__title {
        max-inline-size: none;
    }
}

@media (max-width: 599px) {

    .pds-cta__panel {
        border-radius: var(--pds-r-lg);
        padding: 1.75rem 1.375rem;
    }
}
