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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

/* ── Video background ─────────────────────────────────────────────────────── */

.video-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: #0a0a0a;
}

.video-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.75s ease;
}

.video-layer.is-active {
    opacity: 1;
}

/* Dark gradient vignette — keeps text readable over any video */
.video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(0,0,0,0.55) 0%,
            rgba(0,0,0,0.20) 35%,
            rgba(0,0,0,0.20) 65%,
            rgba(0,0,0,0.70) 100%
        );
}

/* ── Stage layout (CSS Grid — 3 rows keeps logo truly centered) ───────────── */

.stage {
    position: fixed;
    inset: 0;
    bottom: 52px; /* leave room for footer */
    z-index: 10;
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    text-align: center;
    padding: clamp(2rem, 5vh, 4rem) clamp(1.5rem, 5vw, 5rem) clamp(1rem, 3vh, 2.5rem);
    pointer-events: none; /* let video interact only with buttons */
}

.stage__top {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: clamp(1.5rem, 3vh, 3rem);
}

.stage__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(1.5rem, 3vh, 2.5rem);
    padding-top: clamp(1.5rem, 3vh, 3rem);
    pointer-events: all; /* re-enable for buttons */
}

/* ── Taglines ─────────────────────────────────────────────────────────────── */

.tagline {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 680px;
}

.tagline__l1 {
    font-size: clamp(0.85rem, 1.1vw, 1.1rem);
    font-weight: 400;
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.tagline__l2 {
    font-size: clamp(0.75rem, 0.95vw, 0.9rem);
    font-weight: 300;
    color: rgba(255,255,255,0.52);
    letter-spacing: 0.02em;
    line-height: 1.7;
}

/* ── Logo ─────────────────────────────────────────────────────────────────── */

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 14vw, 17rem);
    font-weight: 400;
    letter-spacing: 0.14em;
    color: #fff;
    line-height: 0.88;
    user-select: none;
    /* subtle text-shadow for depth over video */
    text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}

/* ── Split CTA ────────────────────────────────────────────────────────────── */

.split-cta {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 580px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 3px;
    overflow: hidden;
    pointer-events: all;
}

.split-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.4rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: background 0.4s ease, color 0.3s ease;
    gap: 0.75rem;
    cursor: pointer;
}

.split-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.split-btn__label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.split-btn__arrow {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.split-btn:hover .split-btn__arrow {
    transform: translate(3px, -3px);
}

.split-divider {
    width: 1px;
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
}

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

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 11;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.5rem, 5vw, 5rem);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__copy {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.28);
    letter-spacing: 0.06em;
    text-align: center;
}

.footer__nav {
    display: flex;
    gap: 2rem;
}

/* Ghost nav mirrors the real nav to keep the copyright truly centered */
.footer__nav--spacer {
    visibility: hidden;
    pointer-events: none;
}

.footer__nav a {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.28);
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: color 0.2s;
}

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

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
    .logo {
        font-size: clamp(4rem, 20vw, 8rem);
        letter-spacing: 0.1em;
    }
    .tagline__l2 {
        display: none;
    }
    .split-cta {
        flex-direction: column;
    }
    .split-divider {
        width: 100%;
        height: 1px;
    }
    .split-btn {
        padding: 1rem 1.25rem;
    }
}

@media (max-height: 600px) {
    .tagline__l2 {
        display: none;
    }
    .stage__top,
    .stage__bottom {
        padding-bottom: 0.75rem;
        padding-top: 0.75rem;
    }
}
