/* =========================================================
   SUISUTA LUXURY FOOTER
========================================================= */

.suisuta-footer {
    position: relative;
    overflow: hidden;
    background: #0b1f17;
    color: #fafaf3;
    padding: 90px 48px 0;
    border-top: 1px solid rgba(250, 250, 243, 0.15);
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.5fr;
    gap: 60px;
    max-width: 1600px;
    margin: 0 auto;
}


/* =========================================================
   BRAND
========================================================= */

.footer-logo {
    display: inline-block;
    color: #fafaf3;
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: opacity 0.4s ease;
}

.footer-logo:hover {
    opacity: 0.6;
}

.footer-tagline {
    margin-top: 28px;
    color: rgba(250, 250, 243, 0.55);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 300;
}


/* =========================================================
   LABELS
========================================================= */

.footer-label {
    display: block;
    margin-bottom: 24px;
    color: rgba(250, 250, 243, 0.45);
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
}


/* =========================================================
   LINKS
========================================================= */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    position: relative;
    width: fit-content;
    color: #fafaf3;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    text-decoration: none;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: #fafaf3;
    transition: width 0.35s ease;
}

.footer-links a:hover {
    opacity: 0.7;
    transform: translateX(5px);
}

.footer-links a:hover::after {
    width: 100%;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.footer-newsletter h3 {
    margin: 0 0 30px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 2.5vw, 42px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.footer-subscribe {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 420px;
    border-bottom: 1px solid rgba(250, 250, 243, 0.45);
}

.footer-subscribe input {
    flex: 1;
    min-width: 0;
    padding: 14px 0;
    border: none;
    outline: none;
    background: transparent;
    color: #fafaf3;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
}

.footer-subscribe input::placeholder {
    color: rgba(250, 250, 243, 0.4);
}

.footer-subscribe button {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: #fafaf3;
    font-size: 20px;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.footer-subscribe button:hover {
    transform: translateX(5px);
    opacity: 0.6;
}


/* =========================================================
   MIDDLE
========================================================= */

.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 90px auto 0;
    padding: 22px 0;
    border-top: 1px solid rgba(250, 250, 243, 0.12);
}

.footer-social {
    display: flex;
    gap: 25px;
}

.footer-social a {
    color: rgba(250, 250, 243, 0.65);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #fafaf3;
}

.footer-location {
    color: rgba(250, 250, 243, 0.4);
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.15em;
}


/* =========================================================
   THREAD ANIMATION
========================================================= */

.footer-thread {
    position: relative;

    width: 100%;

    max-width: 1600px;

    margin: 70px auto 0;

    padding: 90px 0 80px;

    overflow: hidden;

    text-align: center;
}


/* =========================================================
   THREAD LINE
========================================================= */

.thread-line {
    position: relative;

    width: 100%;

    height: 1px;

    background: rgba(250, 250, 243, 0.18);

    transform-origin: left center;

    animation: threadDraw 2s cubic-bezier(.22,.61,.36,1) forwards;
}


/* Moving thread */

.thread-line::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 35%;

    height: 1px;

    background: #fafaf3;

    opacity: 0.75;

    animation: threadMove 5s ease-in-out infinite;
}


/* =========================================================
   THREAD DOT
========================================================= */

.thread-dot {
    position: absolute;

    top: 50%;

    left: 35%;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #fafaf3;

    transform: translate(-50%, -50%);

    box-shadow:
        0 0 0 5px rgba(250,250,243,0.05),
        0 0 18px rgba(250,250,243,0.2);

    animation: threadDotMove 5s ease-in-out infinite;
}


/* =========================================================
   NEEDLE
========================================================= */

.thread-needle {
    position: absolute;

    top: 50%;

    left: 35%;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    color: #fafaf3;

    font-family: 'Inter', sans-serif;

    font-size: 18px;

    transform:
        translate(-50%, -50%)
        rotate(-15deg);

    opacity: 0.8;

    animation: needleMove 5s ease-in-out infinite;
}


/* =========================================================
   BRAND
========================================================= */

.thread-brand {
    margin-top: 65px;

    color: #fafaf3;

    font-family: 'Playfair Display', serif;

    font-size: clamp(38px, 5vw, 75px);

    font-weight: 400;

    letter-spacing: 0.18em;

    opacity: 0;

    transform: translateY(20px);

    animation: threadBrandReveal 1.5s 0.8s ease forwards;
}


/* =========================================================
   CAPTION
========================================================= */

.thread-caption {
    margin-top: 18px;

    color: rgba(250,250,243,0.4);

    font-family: 'Inter', sans-serif;

    font-size: 9px;

    letter-spacing: 0.28em;

    opacity: 0;

    animation: threadCaptionReveal 1.2s 1.2s ease forwards;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes threadDraw {

    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }

}


@keyframes threadMove {

    0% {
        left: -35%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: -35%;
    }

}


@keyframes threadDotMove {

    0% {
        left: 0;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 0;
    }

}


@keyframes needleMove {

    0% {
        left: 0;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 0;
    }

}


@keyframes threadBrandReveal {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes threadCaptionReveal {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .footer-thread {

        margin-top: 50px;

        padding: 60px 0 60px;

    }

    .thread-brand {

        font-size: 32px;

        letter-spacing: 0.12em;

    }

    .thread-caption {

        font-size: 8px;

        letter-spacing: 0.2em;

    }

}

/* =========================================================
   BOTTOM
========================================================= */

.footer-bottom {
    position: relative;
    z-index: 5;

    display: flex;
    justify-content: space-between;
    align-items: center;

    max-width: 1600px;
    margin: 0 auto;

    padding: 24px 0 28px;

    color: rgba(250, 250, 243, 0.4);

    font-family: 'Inter', sans-serif;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #fafaf3;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .suisuta-footer {
        padding: 70px 25px 0;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 50px 30px;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
    }

    .footer-middle {
        margin-top: 60px;
    }

}


@media (max-width: 600px) {

    .suisuta-footer {
        padding: 55px 20px 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-newsletter {
        grid-column: auto;
    }

    .footer-middle {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .footer-social {
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .footer-marquee-track span {
        font-size: 100px;
    }

}