@font-face {
    font-family: 'nb';
    src: url(../fonts/NBInternationalProBoo.woff2);
    font-display: swap;
}

@font-face {
    font-family: 'rj';
    src: url(../fonts/Rejouice-Headline.woff2);
    font-display: swap;
}

:root {
    --bg-dark: #060A14;
    --surface-dark: #0F172A;
    --bg-light: #F2F4F8;
    --ink: #0B1120;
    --muted: #52607A;
    --accent: #2563EB;
    --volt: #C4F82A;
    --border-light: #CBD5E1;
    --border-dark: rgba(242, 244, 248, 0.14);
}

::selection {
    background: #2563EB;
    color: #F2F4F8;
}

#main {
    overflow: hidden;
    background-color: var(--bg-light);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "nb", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html,
body {
    min-height: 100vh;
    width: 100vw;
    background-color: var(--bg-light);
    color: var(--ink);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--ink);
    transition: color 0.25s ease;
}

a:hover {
    color: var(--accent);
}

#page1 {
    height: 100vh;
    width: 100vw;
    position: relative;
    background: var(--bg-dark);
    color: var(--bg-light);
    overflow: hidden;
}

#playreel {
    height: 130px;
    width: 130px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--bg-light);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.42);
    position: absolute;
    z-index: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    cursor: default;
    transform: translate(-50%, -50%) scale(0);
}

#playreel h3 {
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--bg-light);
}

#nav {
    height: 10vh;
    width: 100vw;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3.2vw 2.8vw;
    z-index: 3;
}

#nav #logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

#nav #logo svg {
    display: block;
    height: 24px;
    width: auto;
    flex-shrink: 0;
}

#nav #logo .logo-dot,
#nav .volt-dot {
    color: var(--volt);
    fill: var(--volt);
}

#nav h3 {
    font-family: "nb", sans-serif;
    font-weight: 400;
    font-size: 1.3vw;
    color: var(--bg-light);
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
}

#nav #menu {
    cursor: pointer;
}

#nav #menu:hover h3 {
    color: var(--volt);
}

#video {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    background-color: var(--bg-dark);
}

#video video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: relative;
}

#video img#hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.68);
    animation: heroBreath 18s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes heroBreath {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.07);
    }
}

#company-name {
    height: auto;
    position: absolute;
    top: auto;
    bottom: 5vh;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.2vw;
    width: 100%;
    padding: 0 1.6vw;
    pointer-events: none;
}

#company-name span {
    text-transform: uppercase;
    z-index: 2;
    color: var(--bg-light);
    overflow: hidden;
    display: inline-block;
}

#company-name span h1 {
    font-family: "rj", "nb", sans-serif;
    font-size: 18vw;
    line-height: 0.9;
    padding-bottom: 0.04em;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--bg-light);
}

@media (max-width: 768px) {
    #nav {
        padding: 24px 18px;
    }

    #nav h3 {
        font-size: 16px;
    }

    #playreel {
        display: none;
    }

    #company-name span h1 {
        font-size: 20vw;
    }
}
