/* Teeya Productions — footer (ice blue chrome) */
@font-face {
    font-family: "TERMINAL";
    src: url("/fonts/TERMINAL.woff2") format("woff2"),
         url("/fonts/TERMINAL.woff") format("woff"),
         url("/fonts/TERMINAL.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 1080px;
}

.footer-brand { order: 1; }
.footer-contact { order: 2; }
.footer-nav { order: 3; }


.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 0 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-logo {
    font-family: "TERMINAL", var(--font-sans), ui-monospace, monospace;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    width: 100%;
}

.footer-logo span {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #00E5FF;
    color: #00E5FF !important;
    text-shadow: 0 0 14px rgba(0, 229, 255, 0.35);
}

.footer-logo img {
    height: 28px;
    width: auto;
    vertical-align: middle;
}

.footer-contact {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-items: center;
    align-items: start;
    gap: 1.25rem 1.15rem;
    width: 100%;
    padding: 1.35rem 0 0.15rem;
    border-bottom: none;
    box-sizing: border-box;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    color: #00E5FF;
    text-decoration: none;
    font-family: "TERMINAL", var(--font-sans), ui-monospace, monospace;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    line-height: 1.35;
    text-align: center;
    max-width: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.footer-meta i {
    font-size: 1.4rem;
    color: #00E5FF;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

.footer-meta:hover,
.footer-meta:hover i {
    color: #7FEFFF;
}

.footer-meta span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-meta--address {
    max-width: none;
}

.footer-contact-rule {
    display: none;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.85rem 1.65rem;
    width: 100%;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-nav a {
    color: #00E5FF;
    text-decoration: none;
    font-family: "TERMINAL", var(--font-sans), ui-monospace, monospace;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: #00E5FF;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
}

.footer-main,
.footer-col,
.footer-legal,
.footer-link,
.footer-address,
.footer-social,
.footer-tagline,
.footer-pillars,
.footer-copy,
.footer-disclaimer {
    /* legacy selectors neutralized when old CSS remains inline */
}

@media (max-width: 900px) {
    .footer-contact {
        grid-template-columns: 1fr;
        width: min(22.5rem, 100%);
        margin: 0 auto;
        gap: 0.95rem;
        padding: 1.2rem 0.35rem;
    }

    .footer-meta {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        max-width: none;
        font-size: 0.8rem;
        gap: 0.8rem;
    }

    .footer-meta i {
        width: 1.25rem;
        flex: 0 0 1.25rem;
        font-size: 1.05rem;
        margin-top: 0.12rem;
        text-align: center;
    }

    .footer-meta span {
        min-width: 0;
        line-height: 1.4;
    }

    .footer-logo {
        font-size: 0.95rem;
        letter-spacing: 0.1em;
    }

    .footer-logo img {
        height: 24px;
    }

    .footer-contact-rule {
        display: none;
    }

    .footer-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
        width: min(22.5rem, 100%);
        margin: 0 auto;
        padding: 1.1rem 0.35rem 0.25rem;
    }

    .footer-nav a {
        font-size: 0.8rem;
    }

    footer {
        padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
    }
}
