/* ═══════════════════════════════════════════════════════════════════
   WANDR — Shared site footer component
   Self-contained. Injected by footer.js into <div id="site-footer">.
   Namespaced under .wfoot-* so it never collides with page styles
   (e.g. a page-level `footer {}` element rule). Single source of truth.
   ═══════════════════════════════════════════════════════════════════ */
:root {
    --wfoot-bg: #FAFAF7;
    --wfoot-ink: #0A0A0A;
    --wfoot-teal: #0DB89E;
}

.wfoot {
    display: block;                 /* neutralise any page `footer{}` flex */
    padding: 80px 48px 60px;
    background: var(--wfoot-ink);
    color: var(--wfoot-bg);
    border-top: 1.5px solid var(--wfoot-ink);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    text-transform: none;
    letter-spacing: normal;
}
.wfoot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1.5px solid rgba(250, 250, 247, 0.22);
    align-items: start;
}
.wfoot-mark {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    justify-self: start;
}
.wfoot-mark img { height: 28px; width: auto; }
.wfoot-mark p {
    font-size: 14px;
    line-height: 1.55;
    opacity: 0.72;
    max-width: 34ch;
    color: var(--wfoot-bg);
    margin: 0;
}
.wfoot-col h5 {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wfoot-teal);
    margin: 0 0 18px;
    font-weight: 700;
}
.wfoot-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wfoot-col a {
    font-size: 14px;
    color: rgba(250, 250, 247, 0.88);
    text-decoration: none;
    transition: color 0.2s ease;
}
.wfoot-col a:hover { color: var(--wfoot-teal); }
.wfoot-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(250, 250, 247, 0.55);
}
.wfoot-bottom span { margin: 0; }

@media (max-width: 1100px) {
    .wfoot { padding: 60px 22px 40px; }
    .wfoot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .wfoot-mark { grid-column: 1 / -1; }
    .wfoot-bottom { flex-direction: column; gap: 12px; }
}
