* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #111111;
    --text: #f5f5f2;
    --muted: #777777;
    --accent: #e85a24;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    overflow: hidden;

    background: var(--bg);
    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.page {
    width: 100vw;
    height: 100vh;
    height: 100dvh;

    display: flex;
    flex-direction: column;

    padding: 36px 48px 30px;
}


/* HEADER */

.header {
    position: relative;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-shrink: 0;

    font-size: 12px;
}

.header-brand {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.header-status {
    color: var(--muted);

    font-size: 10px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.12em;
}


/* HERO */

.hero {
    position: relative;

    flex: 1;

    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* SCENA */

.scene {
    position: relative;

    width: min(1250px, 90vw);
    height: min(540px, 58vh);

    display: flex;
    align-items: center;
    justify-content: center;

    perspective: 1500px;
    transform-style: preserve-3d;

    will-change: transform;
}


/* TYPOGRAFIA */

.brand {
    position: relative;
    z-index: 5;

    display: flex;
    flex-direction: column;

    pointer-events: none;

    transform-style: preserve-3d;
}

.brand-main {
    font-size: clamp(80px, 12.2vw, 190px);

    font-weight: 600;

    line-height: 0.76;

    letter-spacing: -0.075em;

    white-space: nowrap;
}

.brand-sub {
    margin-top: 26px;
    margin-left: 8px;

    font-size: clamp(34px, 4.2vw, 66px);

    font-weight: 400;

    line-height: 1;

    letter-spacing: -0.055em;

    color: var(--accent);
}


/* KULKI */

.sphere {
    position: absolute;

    left: 50%;
    top: 50%;

    border-radius: 50%;

    transform-style: preserve-3d;

    will-change:
        transform,
        filter,
        opacity;
}

.sphere::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 27% 23%,
            #fff7ef 0%,
            #f7b28f 7%,
            #ef7b46 17%,
            #df5722 34%,
            #b53b14 58%,
            #78230d 78%,
            #3c1007 100%
        );

    box-shadow:
        inset -10px -12px 16px rgba(0, 0, 0, 0.45),
        inset 5px 6px 9px rgba(255, 255, 255, 0.12);
}

.sphere::after {
    content: "";

    position: absolute;

    width: 25%;
    height: 14%;

    left: 23%;
    top: 16%;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.42);

    filter: blur(3px);

    transform: rotate(-25deg);
}


/* KULKA 1 */

.sphere-1 {
    width: 58px;
    height: 58px;

    margin-left: -29px;
    margin-top: -29px;
}


/* KULKA 2 */

.sphere-2 {
    width: 34px;
    height: 34px;

    margin-left: -17px;
    margin-top: -17px;
}


/* KULKA 3 */

.sphere-3 {
    width: 78px;
    height: 78px;

    margin-left: -39px;
    margin-top: -39px;
}


/* FOOTER */

.footer {
    position: relative;
    z-index: 20;

    flex-shrink: 0;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;
}

.footer-copy {
    max-width: 430px;
}

.footer-label {
    margin-bottom: 9px;

    color: var(--text);

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-copy p {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.65;
}


/* KONTAKT */

.contact {
    display: flex;
    align-items: flex-end;

    gap: 38px;
}

.contact a {
    display: flex;
    flex-direction: column;

    gap: 7px;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.contact a:hover {
    opacity: 0.55;
    transform: translateY(-2px);
}

.contact span {
    color: var(--muted);

    font-size: 9px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.contact strong {
    font-size: 12px;
    font-weight: 500;
}


/* MOBILE */

@media (max-width: 900px) {

    body {
        overflow: auto;
    }

    .page {
        min-height: 100dvh;
        height: auto;

        padding: 25px 22px 26px;
    }

    .header-status {
        font-size: 0;
    }

    .header-status::after {
        content: "";

        display: block;

        width: 7px;
        height: 7px;

        border-radius: 50%;

        background: var(--accent);
    }

    .hero {
        min-height: 520px;

        padding: 40px 0;
    }

    .scene {
        width: 100%;
        height: 460px;
    }

    .brand-main {
        font-size: clamp(60px, 18vw, 120px);
    }

    .brand-sub {
        margin-top: 16px;

        font-size: clamp(30px, 9vw, 56px);
    }

    .footer {
        flex-direction: column;

        align-items: flex-start;

        gap: 32px;
    }

    .contact {
        width: 100%;

        flex-wrap: wrap;

        gap: 24px 36px;
    }

}


/* BARDZO MAŁE EKRANY */

@media (max-width: 500px) {

    .page {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero {
        min-height: 450px;
    }

    .scene {
        height: 400px;
    }

    .brand-main {
        font-size: 18vw;
    }

    .brand-sub {
        font-size: 9vw;
    }

    .sphere-1 {
        width: 42px;
        height: 42px;

        margin-left: -21px;
        margin-top: -21px;
    }

    .sphere-2 {
        width: 26px;
        height: 26px;

        margin-left: -13px;
        margin-top: -13px;
    }

    .sphere-3 {
        width: 58px;
        height: 58px;

        margin-left: -29px;
        margin-top: -29px;
    }

    .footer-copy p {
        font-size: 11px;
    }

    .contact {
        flex-direction: column;
        align-items: flex-start;

        gap: 16px;
    }

}