/* Compatibility layer that restores the live reference site's layout rules. */

:root {
    --logo-door-size: min(72vw, 55vh, 600px);
}

#landing-overlay {
    display: flex !important;
    overflow: hidden;
}

.logo-door-split {
    width: var(--logo-door-size);
    height: var(--logo-door-size);
}

.logo-half {
    width: calc(var(--logo-door-size) / 2);
    height: var(--logo-door-size);
}

.logo-img-half {
    width: var(--logo-door-size);
    height: var(--logo-door-size);
}

.left-half .logo-img-half {
    clip-path: inset(0 calc(var(--logo-door-size) / 2) 0 0);
}

.right-half .logo-img-half {
    left: calc(var(--logo-door-size) / -2);
    clip-path: inset(0 0 0 calc(var(--logo-door-size) / 2));
}

.logo {
    display: flex;
    align-items: center;
    min-width: 0;
}

.logo h1 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .logo h1 {
        font-size: 1.15rem;
    }

    .navbar-logo {
        height: 32px !important;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
    }

    .navbar {
        padding: 0.9rem 0;
    }

    .logo h1 {
        font-size: 0.95rem;
    }

    .navbar-logo {
        height: 28px !important;
        margin-right: 8px !important;
    }

    .cta-section {
        padding: 3.5rem 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }
}
