/*
 * Site footer. One light block on every page, replacing the old three-part
 * ending (logo strip, legal bar, and on the shop page a near-black 80vh
 * "tagline" panel). Links are left-aligned and stacked in two short columns;
 * on a phone the columns stack into one list.
 *
 * Deliberately self-contained: the product and legal pages do not all load the
 * same stylesheets, so this relies only on the --color-* tokens, with fallbacks.
 */
.site-footer {
    background: #F6F4F1;
    color: #111111;
    border-top: 1px solid var(--color-border, #EBEBEB);
    padding: clamp(2.5rem, 5vw, 4rem) 5% clamp(2rem, 4vw, 3rem);
    font-family: var(--font-body, 'DM Sans', sans-serif);
    text-align: left;
}

.site-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* Centred on its own; the link columns below stay left-aligned. */
.site-footer-logo {
    display: block;
    width: fit-content;
    margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
}

.site-footer-logo img {
    width: min(150px, 38vw);
    height: auto;
    display: block;
}

.site-footer-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 14rem));
    gap: 2rem clamp(2rem, 8vw, 6rem);
}

.site-footer-heading {
    margin: 0 0 0.9rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5A5A5A;
}

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

.site-footer-list li { margin: 0; }

/* 44px-high rows: these are the tap targets on a phone. */
.site-footer-list a {
    display: block;
    padding: 0.55rem 0;
    font-size: 0.95rem;
    line-height: 1.3;
    color: #111111;
    text-decoration: none;
}

.site-footer-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer-list a:focus-visible { outline: 2px solid #111111; outline-offset: 2px; }

.site-footer-notice {
    max-width: 40rem;
    margin: clamp(2rem, 4vw, 2.75rem) 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid #DEDAD4;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #5A5A5A;
}

.site-footer-notice a { color: #5A5A5A; text-underline-offset: 3px; }

@media (max-width: 560px) {
    .site-footer-cols { grid-template-columns: 1fr; gap: 1.75rem; }
}
