@import url("colour-constants.css");

.footer {
    padding: 28px 7vw 20px;
    background: var(--pink);
    color: var(--white);
}

.footer-main {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    margin-bottom: 12px;
}

.footer-logo {
    font-size: clamp(44px, 4.8vw, 72px);
    line-height: 0.9;
    letter-spacing: -0.07em;
    font-weight: 950;
}

.footer-copy {
    max-width: 380px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 760;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 850;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 11px;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.footer-credit-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex: 0 0 auto;
    display: block;
}

/* Homepage carries older inline footer defaults. The body prefix makes the
   shared compact footer authoritative there without changing markup. */
@media (min-width: 721px) {
    body .footer {
        padding: 28px 7vw 20px;
    }

    body .footer-main {
        gap: 28px;
        padding-bottom: 16px;
        margin-bottom: 12px;
    }

    body .footer-logo {
        font-size: clamp(44px, 4.8vw, 72px);
        line-height: 0.9;
        letter-spacing: -0.07em;
    }

    body .footer-copy {
        max-width: 380px;
        margin: 0;
        font-size: 13px;
        line-height: 1.45;
    }

    body .footer-links {
        gap: 7px 14px;
        margin-top: 10px;
        font-size: 12px;
        line-height: 1.3;
    }

    body .footer-bottom {
        gap: 12px;
        font-size: 11px;
    }

    body .footer-credit {
        gap: 7px;
    }

    body .footer-credit-logo {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 980px) {
    .footer-main,
    body .footer-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }
}

@media (max-width: 720px) {
    /* Approved "Very compact" mobile footer prototype. The body prefix keeps
       these shared footer rules authoritative over homepage inline defaults. */
    body .footer {
        padding: 20px 22px 16px;
    }

    body .footer-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding-bottom: 13px;
        margin-bottom: 11px;
    }

    body .footer-logo {
        font-size: 40px;
        line-height: 0.9;
        margin-bottom: 0;
    }

    body .footer-links {
        gap: 6px 15px;
        margin-top: 12px;
        font-size: 13px;
        line-height: 1.35;
    }

    body .footer-copy {
        max-width: 100%;
        margin: 0;
        font-size: 13px;
        line-height: 1.45;
    }

    body .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        font-size: 12px;
    }

    body .footer-credit {
        gap: 7px;
    }

    body .footer-credit-logo {
        width: 28px;
        height: 28px;
    }
}
