/* ================================================================
   AAUJMR — Footer
================================================================ */

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) 0 0;
    margin-top: auto;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(112, 146, 191, 0.55), transparent);
}

/* ─── Grid ───────────────────────────────────────────────────── */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: var(--space-xl);
}

/* ─── Brand column ───────────────────────────────────────────── */
.footer-brand .brand-abbr-lg {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--ink);
    background: var(--lav);
    border: 3px solid #fff;
    border-radius: 13px;
    padding: 0.38rem 0.7rem 0.42rem;
    transform: rotate(-3deg);
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.6);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
    max-width: 34ch;
}

/* ─── Link columns ───────────────────────────────────────────── */
.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links ul li a:hover { color: var(--lav); }

/* ─── Bottom bar ─────────────────────────────────────────────── */
.footer-bottom {
    border-top: 1px solid var(--ink-3);
    padding: 1.15rem 0 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.42);
}

.footer-socials { display: flex; gap: 0.6rem; }

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--ink-3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.footer-socials a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--ink);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
