.site-footer {
    background-color: #0b0c0e;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.8rem;
    line-height: 1.4;
    padding: 4rem 1.5rem 2.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-main);
    margin-top: auto;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 2rem 0;
}

/* --- TIER 1: Newsletter Callout --- */
.footer-tier-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 0.5rem;
}

.footer-callout-text h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.footer-callout-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 580px;
}

/* --- TIER 2: Footnotes --- */
.footer-tier-2 {
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.45);
}

.footer-footnotes {
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* --- TIER 3: Sitemap Grid --- */
.footer-tier-3 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.footer-col-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    width: 100%;
    text-align: left;
    padding: 0 0 0.75rem 0;
    cursor: default;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.footer-col-toggle .chevron-icon {
    display: none;
}

.footer-col-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col-list a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.footer-col-list a:hover {
    color: #ffffff;
}

/* --- TIER 4: Bottom Bar --- */
.footer-tier-4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

.footer-legal-links .dot-sep {
    opacity: 0.3;
}

.footer-region {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-email-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.footer-email-btn .email-text,
.footer-email-btn .copied-text {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-email-btn .copied-text {
    position: absolute;
    left: 0;
    opacity: 0;
    pointer-events: none;
    color: #10b981;
    font-weight: 600;
    transform: translateY(4px);
}

.footer-email-btn.is-copied .email-text {
    opacity: 0;
    transform: translateY(-4px);
}

.footer-email-btn.is-copied .copied-text {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Cookie Consent Pill */
.cookie-pill {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 16px 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    z-index: 998;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-pill.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-pill-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-pill-content p {
    font-size: 12px;
    line-height: 1.45;
    color: #515154;
    margin: 0;
}

.cookie-pill-content a {
    color: #1d1d1f;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-pill-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.btn-cookie-decline,
.btn-cookie-accept {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-cookie-decline {
    background: transparent;
    color: #86868b;
}

.btn-cookie-decline:hover {
    color: #1d1d1f;
    background: rgba(0, 0, 0, 0.04);
}

.btn-cookie-accept {
    background: #1d1d1f;
    color: #ffffff;
}

.btn-cookie-accept:hover {
    opacity: 0.85;
}

@media (max-width: 480px) {
    .cookie-pill {
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: none;
    }
}

/* ==========================================
   BREAKPOINT ADJUSTMENTS
   ========================================== */
@media (max-width: 734px) {
        .site-footer {
        padding: 3rem 1.25rem 2rem 1.25rem;
    }

    .footer-tier-1 {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer-tier-3 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-col-toggle {
        cursor: pointer;
        padding: 0.9rem 0;
    }

    .footer-col-toggle .chevron-icon {
        display: block;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .footer-col.is-open .chevron-icon {
        transform: rotate(180deg);
    }

    .footer-col-list {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        padding-bottom: 0;
    }

    .footer-col.is-open .footer-col-list {
        max-height: 320px;
        opacity: 1;
        padding-bottom: 1rem;
    }

    .footer-tier-4 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}