* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --cream: #f2ede3;
    --black: #111111;
    --blue: #527da3;
    --muted: #716d66;
    --line: rgba(17, 17, 17, 0.14);
}

body {
    min-height: 100vh;

    background: var(--cream);
    color: var(--black);

    font-family: Arial, Helvetica, sans-serif;

    overflow: hidden;
}

.page {
    position: relative;

    width: 100%;
    height: 100vh;

    border: 1px solid var(--line);
}


/* =========================
   TOP BAR
========================= */

.top-bar,
.bottom-bar {
    position: fixed;

    left: 0;
    right: 0;

    display: flex;
    justify-content: space-between;

    padding: 18px 24px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;

    z-index: 20;
}

.top-bar {
    top: 0;

    border-bottom: 1px solid var(--line);
}

.bottom-bar {
    bottom: 0;

    border-top: 1px solid var(--line);

    color: rgba(17, 17, 17, 0.4);
}


/* =========================
   SCREEN
========================= */

.screen {
    position: absolute;

    inset: 0;

    display: flex;
    align-items: center;

    padding: 100px 9%;

    opacity: 0;
    visibility: hidden;

    transform: translateY(35px);

    transition:
        opacity 0.5s ease,
        transform 0.6s cubic-bezier(.2, .8, .2, 1),
        visibility 0.5s ease;
}

.screen.active {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* =========================
   NUMBER
========================= */

.screen-number {
    position: absolute;

    top: 50%;
    right: 8%;

    transform: translateY(-50%);

    font-size: clamp(120px, 22vw, 320px);

    font-weight: 900;

    line-height: 1;

    letter-spacing: -15px;

    color: rgba(17, 17, 17, 0.035);

    pointer-events: none;
}


/* =========================
   CONTENT
========================= */

.content {
    position: relative;

    width: min(850px, 100%);

    z-index: 2;
}

.eyebrow {
    margin-bottom: 24px;

    color: var(--blue);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}

h1,
h2 {
    max-width: 760px;

    font-weight: 800;

    letter-spacing: -3px;

    line-height: 0.9;
}

h1 {
    font-size: clamp(70px, 12vw, 150px);
}

h2 {
    font-size: clamp(54px, 8vw, 105px);
}

.description {
    max-width: 520px;

    margin-top: 35px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.7;
}


/* =========================
   BUTTON
========================= */

button {
    margin-top: 38px;

    padding: 13px 19px;

    border: 1px solid var(--black);
    border-radius: 999px;

    background: transparent;

    color: var(--black);

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

button span {
    display: inline-block;

    margin-left: 8px;

    font-size: 16px;
}

button:hover {
    background: var(--black);

    color: var(--cream);

    transform: translateY(-3px);
}

button:active {
    transform: translateY(0);
}


/* =========================
   JOKE
========================= */

.joke {
    color: var(--black);

    font-weight: 700;
}


/* =========================
   SIGNATURE
========================= */

.signature {
    margin-top: 28px;

    font-size: 14px;

    font-weight: 700;
}


/* =========================
   DECORATIVE LINE
========================= */

.page::before {
    content: "";

    position: fixed;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 1px;

    background: var(--line);

    pointer-events: none;
}


/* =========================
   MOBILE
========================= */
@media (max-width: 700px) {

    .page::before {
        left: 88%;
    }

    .top-bar,
    .bottom-bar {
        padding: 16px 18px;
        font-size: 8px;
        letter-spacing: 1.8px;
    }

    .screen {
        padding: 100px 24px 115px;
        align-items: center;
    }

    .content {
        width: 100%;
        max-width: 300px;
    }

    .eyebrow {
        margin-bottom: 18px;

        font-size: 9px;
        letter-spacing: 3px;
    }

    h1,
    h2 {
        max-width: 320px;

        letter-spacing: -1.8px;
        line-height: 1.02;
    }

    h1 {
        font-size: 48px;
        line-height: 1;
        letter-spacing: -1.5px;
    }

    h2 {
        font-size: 30px;
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .description {
        max-width: 290px;

        margin-top: 22px;

        font-size: 14px;
        line-height: 1.6;
    }

    button {
        margin-top: 26px;

        padding: 11px 17px;

        font-size: 12px;
    }

    .screen-number {
        top: 50%;
        right: -5px;

        font-size: 135px;

        letter-spacing: -5px;

        opacity: 0.7;
    }

}

.closing-content::after {
    content: "";

    display: block;

    width: 42px;
    height: 2px;

    margin-top: 32px;

    background: var(--blue);

    animation: closingLine 1.8s ease-in-out infinite;
}

@keyframes closingLine {

    0%,
    100% {
        opacity: 0.25;
        transform: scaleX(0.55);
        transform-origin: left;
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
        transform-origin: left;
    }

}

.opening-line {
    width: 42px;
    height: 2px;

    margin-top: 30px;

    background: var(--blue);

    animation: openingLine 1.8s ease-in-out infinite;
}

@keyframes openingLine {

    0%,
    100% {
        opacity: 0.25;
        transform: scaleX(0.55);
        transform-origin: left;
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
        transform-origin: left;
    }

}