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

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f7f6f3;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

/* ── Animation phase ───────────────────────────────────────── */

#animation-wrapper {
    position: fixed;
    inset: 0;
    background: #f73c1f;
    transition: opacity 0.35s ease;
}

#lottie-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* ── Content ─────────────────────────────────────────────── */

#content-wrapper {
    position: fixed;
    inset: 0;
    background: #f7f6f3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

#content-wrapper.visible {
    opacity: 1;
    pointer-events: auto;
}

.logo-center {
    position: absolute;
    top: 43.5%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-mark {
    width: clamp(300px, 20vw, 500px);
    height: auto;
}

/* ── Footer ────────────────────────────────────────────── */

.footer {
    position: absolute;
    bottom: 52px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(32px, 9.5vw, 182px);
    font-size: 14px;
    font-weight: 600;
    color: #464e01;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.footer-link {
    color: #464e01;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.footer-link:hover {
    opacity: 0.6;
}

/* ── Mobile version ────────────────────────────────────────────── */

@media (max-width: 767px) {
    .logo-center {
        top: 44%;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .logo-mark {
        width: 83vw;
        height: auto;
    }

    .footer {
        bottom: 38px;
        flex-direction: column;
        gap: 14px;
    }

    .copyright {
        order: 2;
    }
}
