/* Home-style footer — shared across MSH pages (load after page CSS) */
footer {
    padding: 6rem 4rem 3rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto 6rem;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 350px;
}

.footer-column h4 {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    display: inline-block;
}

.footer-column a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-column a:hover::after {
    width: 100%;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 2rem;
}

.footer-social a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Section label used as a link (e.g. Start a Project → contact page) */
a.section-label--link {
    text-decoration: none;
    cursor: pointer;
}

a.section-label--link:hover {
    opacity: 0.88;
}

@media (max-width: 768px) {
    footer {
        padding: 4rem 2rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
