/* ========================================================================
   EDITORIAL FOOTER — THE BOOK FLOW CLUB
   Part of the "Archive & Ink" Design System.
   Focus: Structural clarity, hierarchical spacing, and clear legibility.
   ======================================================================== */

.tf-footer {
    --f-bg: var(--tf-bg-mid);
    --f-border: var(--tf-border);
    --f-text: var(--tf-text);
    --f-text-soft: var(--tf-text-soft);
    --f-accent: var(--tf-accent);

    background: var(--f-bg);
    border-top: 1px solid var(--f-border);
    padding: 100px 60px 40px;

}

.tf-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--f-border);
    margin-bottom: 40px;
}

.tf-footer-aside {
    max-width: 320px;
}

.tf-footer-brand {
    margin-bottom: 24px;
}

.tf-footer-logo {
    font-family: var(--tf-font-head, "Newsreader");
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--f-text);
}

.tf-footer-tagline {
    font-family: var(--tf-font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--f-text-soft);
}

/* Navigation Grid */
.tf-footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.tf-footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tf-footer-nav-title {
    font-family: var(--tf-font-body);
    font-weight: 800;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--f-accent);
    margin-bottom: 12px;
}

.tf-footer-nav-col a {
    font-family: var(--tf-font-body);
    font-size: 0.9rem;
    color: var(--f-text-soft);
    text-decoration: none;
    transition: all var(--tf-t) var(--tf-ease);
}

.tf-footer-nav-col a:hover {
    color: var(--f-text);
    transform: translateX(4px);
}

/* Social Support */
.tf-footer-social {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.tf-footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tf-bg-card);
    border: 1px solid var(--f-border);
    color: var(--f-text-soft);
    text-decoration: none;
    transition: all var(--tf-t) var(--tf-ease);
    font-size: 1.2rem;
}

.tf-footer-social a:hover {
    background: var(--f-text);
    color: var(--f-bg);
}

/* Legal Bottom Row */
.tf-footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
}

.tf-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--tf-font-body);
    font-size: 0.8rem;
    color: var(--f-text-dim);
}

.tf-footer-copy {
    margin: 0;
}

.tf-footer-contact {
    margin: 0;
}

.tf-footer-contact a {
    color: var(--f-text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* Responsive Sync */
@media (max-width: 1024px) {
    .tf-footer-container {
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
    }
    .tf-footer-social {
        grid-column: span 2;
        justify-content: center;
        border-top: 1px solid var(--f-border);
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .tf-footer {
        padding: 60px 40px 40px;
    }
    .tf-footer-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .tf-footer-nav {
        grid-template-columns: 1fr;
    }
    .tf-footer-bottom-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
