/* ═══════════════════════════════════════════════
   Studio Allegory – Custom Footer
   Corporate Design Guideline v1.0
   ═══════════════════════════════════════════════ */

/* -- Reset & Base -- */
.sa-footer {
    background-color: #005555;
    font-family: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;    /* Guideline: caption/meta 14–16px */
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.sa-footer *,
.sa-footer *::before,
.sa-footer *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.sa-footer__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

/* -- Top Row: Logo + Social -- */
.sa-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 40px;
}

.sa-footer__brand {
    display: flex;
    flex-direction: column;
}

.sa-footer__logo svg {
    display: block;
    height: 40px;
    width: auto;
    color: #ffffff;
}

.sa-footer__tagline {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    margin-top: 2px;
    /* Indent to align with wordmark text (icon ~55px wide at 40px height) */
    margin-left: 55px;
}

/* Social Icons */
.sa-footer__social {
    display: flex;
    gap: 8px;
}

.sa-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.sa-footer__social-link:hover,
.sa-footer__social-link:focus {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.sa-footer__social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
}

/* Instagram uses stroke, not fill */
.sa-footer__social-link svg[data-icon="instagram"] {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

/* -- Divider -- */
.sa-footer__divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    margin-bottom: 0;
}

/* -- Main Grid -- */
.sa-footer__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 24px 0 32px;
}

.sa-footer__info {
    display: flex;
    gap: 48px;
}

.sa-footer__col {
    flex: 1;
}

/* -- Labels (section headers) -- */
.sa-footer__label {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.sa-footer__label--center {
    text-align: center;
}

/* -- Text blocks -- */
.sa-footer__text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.8;
}

/* -- Subtle links (rental, maps) -- */
.sa-footer__subtle-link {
    display: inline-block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s;
}

.sa-footer__subtle-link:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* -- Sender.net Form Overrides -- */

/* -- Newsletter Form -- */
.sa-footer__newsletter {
    display: flex;
    margin-bottom: 8px;
}

.sa-footer__email-input {
    flex: 1;
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid #249ea0 !important;
    border-right: none !important;
    border-radius: 6px 0 0 6px !important;
    background-color: #007070 !important;
    color: #fff !important;
    outline: none;
    transition: border-color 0.2s;
}

.sa-footer__email-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.sa-footer__email-input:focus {
    border-color: #ffffff;
}

.sa-footer__email-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 0 6px 6px 0;
    background-color: #fd5901;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.sa-footer__email-btn:hover {
    background-color: #f78104;
}

.sa-footer__email-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.sa-footer__email-btn svg {
    display: block;
}

/* Newsletter feedback messages */
.sa-footer__newsletter-msg {
    font-size: 13px;
    margin-bottom: 12px;
}

.sa-footer__newsletter-msg--ok {
    color: #a3e6d2;
}

.sa-footer__newsletter-msg--err {
    color: #ff8899;
}

/* -- Navigation links (inline with dots) -- */
.sa-footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    line-height: 1.8;
}

.sa-footer__nav a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.15s;
}

.sa-footer__nav a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.sa-footer__dot {
    color: rgba(255, 255, 255, 0.12);
    margin: 0 8px;
    font-size: 12px;
    user-select: none;
}

/* -- Land Acknowledgement -- */
.sa-footer__ack {
    background-color: rgba(0, 0, 0, 0.18);
    border-radius: 6px;
    padding: 24px 32px;
    margin-bottom: 28px;
}

.sa-footer__ack-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    font-style: italic;
    max-width: 720px;
    margin: 0 auto;
}

/* Indigenous names highlighted */
.sa-footer__ack-text strong {
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
    font-weight: 600;
}

/* -- Copyright Bar -- */
.sa-footer__copyright-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sa-footer__copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0;
}

.sa-footer__copyright p {
    color: rgba(255, 255, 255, 0.25);
    font-size: 12px;
}

.sa-footer__legal {
    display: flex;
    gap: 16px;
}

.sa-footer__legal a {
    color: rgba(255, 255, 255, 0.25);
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s;
}

.sa-footer__legal a:hover {
    color: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 768px) {
    .sa-footer__inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Center everything on mobile */
    .sa-footer__top {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .sa-footer__brand {
        align-items: center;
    }

    .sa-footer__tagline {
        margin-left: 0;
        text-align: center;
    }

    .sa-footer__social {
        justify-content: center;
    }

    .sa-footer__main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sa-footer__info {
        flex-direction: column;
        gap: 24px;
    }

    .sa-footer__col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sa-footer__label {
        text-align: center;
    }

    .sa-footer__right {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Scale up text in info blocks + nav ~115% */
    .sa-footer__text {
        font-size: 16px;
        line-height: 1.65;
    }

    .sa-footer__subtle-link {
        font-size: 16px;
    }

    .sa-footer__nav {
        justify-content: center;
        font-size: 16px;
        line-height: 1.65;
    }

    .sa-footer__nav a {
        font-size: 16px;
    }

    .sa-footer__newsletter {
        justify-content: center;
        max-width: 320px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 32px;
    }

    .sa-footer__email-input {
        font-size: 16.8px;
    }

    .sa-footer__email-input::placeholder {
        font-size: 16.8px;
    }

    .sa-footer__ack {
        padding: 20px;
    }

    .sa-footer__copyright {
        flex-direction: column;
        text-align: center;
    }

    .sa-footer__legal {
        justify-content: center;
    }
}
