/* =========================================================
   SITE FOOTER (shared across all pages)
   Includes the brand mark, since the footer logo reuses it.
   Uses var(--token, fallback) so this works even on pages
   that don't define the site's --token custom properties.
========================================================= */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: #111111;
    color: #ffffff;
    font-family: var(--serif, "Instrument Serif", Georgia, serif);
    font-size: 23px;

    border: none;
    border-radius: 0;
}

.brand-text {
    display: flex;
    align-items: baseline;
    gap: 4px;

    letter-spacing: .08em;
    font-size: 13px;
}

.brand-text strong {
    font-weight: 700;
}

.brand-text small {
    font-size: 10px;
    color: var(--accent, #7a1f30);
}

.footer {
    background: var(--black, #191410);
    color: var(--white, #ffffff);

    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;

    padding-bottom: 70px;
}

.footer-logo .brand-mark {
    border-color: var(--white, #ffffff);
}

.footer-brand > p {
    margin-top: 25px;

    color: rgba(255,255,255,.5);

    font-size: 13px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links span {
    margin-bottom: 8px;

    color: rgba(255,255,255,.4);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-links a {
    color: rgba(255,255,255,.8);

    font-size: 13px;

    transition: color var(--transition, 260ms cubic-bezier(.2,.7,.2,1));
}

.footer-links a:hover {
    color: var(--accent-soft, #a5445a);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,.15);

    color: rgba(255,255,255,.35);

    font-size: 10px;
}

.footer-legal-links a {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    transition: color var(--transition, 260ms cubic-bezier(.2,.7,.2,1));
}

.footer-legal-links a:hover {
    color: var(--accent-soft, #a5445a);
}

.footer-legal-links span {
    margin: 0 6px;
    color: rgba(255,255,255,.25);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 760px) {

    .footer-top {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

}

@media (max-width: 420px) {

    .footer-links {
        grid-template-columns: 1fr;
    }

}