/* ============================================================
   FOOTER — full-bleed ink, brand + 3 link cols + newsletter,
   with a giant outlined ASYLUM wordmark across the bottom.
============================================================ */
.footer {
    background: var(--ink);
    color: var(--cream);
    padding: 56px var(--pad-x) 28px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}
.footer__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid oklch(96.9% 0.015 88 / 0.12);
}
.footer__brand img {
    height: 56px;
    filter: invert(1);
    margin-bottom: 12px;
}
.footer__brand p {
    font-size: 13px;
    color: oklch(96.9% 0.015 88 / 0.65);
    max-width: 32ch;
    margin: 0;
}
.footer__cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
.footer__cols h5,
.footer__signup h5 {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin: 0 0 12px;
    color: var(--pink);
}
.footer__cols a {
    display: block;
    padding: 4px 0;
    color: oklch(96.9% 0.015 88 / 0.78);
    font-size: 13px;
    transition: color 0.2s;
}
.footer__cols a:hover { color: var(--cream); }

.footer__signup p {
    font-size: 13px;
    color: oklch(96.9% 0.015 88 / 0.65);
    margin: 0 0 14px;
}
.footer__form {
    display: flex;
    gap: 0;
    background: oklch(96.9% 0.015 88 / 0.08);
    border-radius: 999px;
    padding: 4px;
}
.footer__form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 14px;
    color: var(--cream);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    min-width: 0;
}
.footer__form input::placeholder { color: oklch(96.9% 0.015 88 / 0.4); }
.footer__form button {
    background: var(--pink);
    color: var(--cream);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    transition: background 0.2s;
    flex-shrink: 0;
}
.footer__form button:hover { background: var(--pink-deep); }

.footer__bottom {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 12px;
    color: oklch(96.9% 0.015 88 / 0.5);
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
    text-align: center;
}
.footer__social,
.footer__legal {
    display: flex;
    gap: 16px;
    justify-content: center;
}
.footer__social a,
.footer__legal a { transition: color 0.2s; }
.footer__social a:hover,
.footer__legal a:hover { color: var(--pink); }

.footer__powered {
    display: inline-flex;
    justify-content: center;
}
.footer__powered img {
    display: block;
    width: auto;
    height: 48px;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.footer__powered:hover img { opacity: 1; }

@media (min-width: 640px) {
    .footer__cols {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

@media (min-width: 960px) {
    .footer { padding: 90px var(--pad-x) 32px; }
    .footer__top {
        grid-template-columns: 1.2fr 2fr 1.5fr;
        gap: 56px;
    }
    .footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding-top: 28px;
    }
    .footer__social,
    .footer__legal {
        gap: 18px;
        justify-content: flex-start;
    }
}
