/* ============================================================
   BASIC RESET
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: white;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 30px 5vw;

    z-index: 100;
}

.site-logo {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.site-nav {
    display: flex;
    gap: 35px;

    font-size: 0.8rem;
    font-weight: bold;

    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.site-nav a {
    opacity: 0.8;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.site-nav a:hover {
    opacity: 1;
    transform: translateY(-2px);
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 650px;

    overflow: hidden;

    display: flex;
    align-items: center;
}


/* ------------------------------------------------------------
   HERO IMAGE STACK
   ------------------------------------------------------------ */

.hero-images {
    position: absolute;
    inset: 0;

    z-index: 0;
}

.hero-image {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
       The photos have the stage slightly above center.
       Adjust this if the crop doesn't look right on your screen.
    */
    object-position: center center;

    opacity: 0;

    /*
       All three images run the same animation,
       but begin at different times.
    */
    animation:
        heroCrossfade 18s infinite ease-in-out,
        heroZoom 18s infinite ease-in-out;
}


.hero-image-1 {
    animation-delay: 0s;
}


.hero-image-2 {
    animation-delay: 6s;
}


.hero-image-3 {
    animation-delay: 12s;
}

.hero-image-4 {
    animation-delay: 18s;
}

.hero-image-5 {
    animation-delay: 24s;
}

.hero-image-6 {
    animation-delay: 30s;
}


/*
   Each image:
       fades in
       stays visible
       fades out

   Because they're overlapping, one image fades into another.
*/

@keyframes heroCrossfade {

    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    41% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }

}


/*
   Very subtle movement.

   It should feel almost like a camera slowly pushing
   toward the stage rather than an obvious zoom.
*/

@keyframes heroZoom {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1.08);
    }

}


/* ------------------------------------------------------------
   HERO DARK OVERLAY
   ------------------------------------------------------------ */

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    /*
       Left side is darker because that's where our
       headline is located.
    */

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.45) 45%,
            rgba(0, 0, 0, 0.20) 100%
        );
}


/* ------------------------------------------------------------
   HERO CONTENT
   ------------------------------------------------------------ */

.hero-content {
    position: relative;

    z-index: 2;

    width: min(900px, 90%);

    margin-left: 5vw;

    padding-top: 60px;
}

.hero-eyebrow {
    margin-bottom: 20px;

    font-size: 0.75rem;
    font-weight: bold;

    letter-spacing: 0.25em;
}

.hero-content h1 {
    font-size: clamp(4rem, 9vw, 9rem);

    line-height: 0.82;

    letter-spacing: -0.055em;

    font-weight: 900;

    text-transform: uppercase;
}

.hero-description {
    max-width: 600px;

    margin-top: 35px;

    font-size: clamp(1rem, 1.4vw, 1.3rem);

    line-height: 1.5;

    color: rgba(255, 255, 255, 0.85);
}


/* ============================================================
   BUTTONS
   ============================================================ */

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;

    margin-top: 35px;
}

.button {
    display: inline-block;

    padding: 16px 26px;

    border: 2px solid white;

    font-size: 0.8rem;
    font-weight: 900;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: white;
    color: black;
}

.button-primary:hover {
    background: transparent;
    color: white;
}

.button-secondary {
    background: transparent;
    color: white;
}

.button-secondary:hover {
    background: white;
    color: black;
}


/* ============================================================
   SCROLL INDICATOR
   ============================================================ */

.scroll-indicator {
    position: absolute;

    bottom: 30px;
    right: 5vw;

    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 5px;

    font-size: 0.65rem;
    font-weight: bold;

    letter-spacing: 0.2em;
}

.scroll-arrow {
    font-size: 1.5rem;

    animation: arrowBounce 1.5s infinite;
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }

}


/* ============================================================
   GENERAL SECTION STYLES
   ============================================================ */

.section-label {
    font-size: 0.7rem;
    font-weight: bold;

    letter-spacing: 0.25em;

    color: rgba(255, 255, 255, 0.55);

    margin-bottom: 40px;
}


/* ============================================================
   INTRO
   ============================================================ */

.intro {
    min-height: 100vh;

    padding: 120px 8vw;

    display: grid;

    grid-template-columns: 1.2fr 1fr;

    align-content: center;

    column-gap: 8vw;

    background: #080808;
}

.intro .section-label {
    grid-column: 1 / -1;
}

.intro h2 {
    font-size: clamp(5rem, 11vw, 11rem);

    line-height: 0.78;

    letter-spacing: -0.07em;

    font-weight: 900;
}

.intro-copy {
    align-self: end;

    max-width: 550px;

    font-size: clamp(1.1rem, 1.7vw, 1.5rem);

    line-height: 1.6;
}

.intro-copy p {
    margin-top: 25px;
}


/* ============================================================
   FIREWORKS SECTION
   ============================================================ */

.future {
    position: relative;

    min-height: 110vh;

    overflow: hidden;

    display: flex;
    align-items: center;
}

/* ============================================================
   FUTURE IMAGE CROSSFADE
   ============================================================ */

.future-images {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    z-index: 0;
}

.future-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0;

    animation: futureCrossfade 24s infinite ease-in-out;
}


/* Fireworks */

.future-image-1 {
    animation-delay: 0s;
}


/* Heart Hands */

.future-image-2 {
    animation-delay: 8s;
}


/* Spiral */

.future-image-3 {
    animation-delay: 16s;
}


@keyframes futureCrossfade {

    0% {
        opacity: 0;
        transform: scale(1);
    }

    8% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    41% {
        opacity: 0;
        transform: scale(1.04);
    }

    100% {
        opacity: 0;
        transform: scale(1.04);
    }

}

.future-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.18)
        );
}

.future-content {
    position: relative;

    z-index: 2;

    padding: 100px 8vw;
}

.future-content h2 {
    font-size: clamp(4rem, 10vw, 10rem);

    line-height: 0.82;

    letter-spacing: -0.06em;

    font-weight: 900;
}

.future-content h2 span {
    /*
       The fireworks provide the color.
       Keeping the text white prevents things
       from becoming excessively neon.
    */

    color: white;
}


/* ============================================================
   BUILD SECTION
   ============================================================ */

.build {
    min-height: 100vh;

    padding: 120px 8vw;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: #080808;
}

.build h2 {
    font-size: clamp(4.5rem, 10vw, 10rem);

    line-height: 0.82;

    letter-spacing: -0.06em;

    font-weight: 900;
}

.build-callout {
    margin-top: 35px;

    font-size: clamp(2rem, 4vw, 4rem);

    font-weight: 900;
}

.build-description {
    max-width: 600px;

    margin-top: 25px;

    font-size: 1.2rem;

    line-height: 1.6;

    color: rgba(255, 255, 255, 0.7);
}

.build .button {
    align-self: flex-start;

    margin-top: 35px;
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    padding: 60px 8vw;

    border-top:
        1px solid rgba(255, 255, 255, 0.15);

    display: flex;

    justify-content: space-between;

    gap: 30px;

    font-size: 0.7rem;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}

.photo-note {
    max-width: 500px;

    text-align: right;

    color: rgba(255, 255, 255, 0.45);
}


/* ============================================================
   ACCESSIBILITY

   If the visitor has requested reduced motion,
   stop all of our moving/zooming elements.
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .hero-image {
        animation: none;
    }

    .hero-image-1 {
        opacity: 1;
    }

    .hero-image-2,
    .hero-image-3 {
        display: none;
    }

    .scroll-arrow {
        animation: none;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 750px) {

    .site-header {
        padding: 25px;
    }

    .site-nav {
        gap: 15px;

        font-size: 0.65rem;
    }

    .hero {
        min-height: 700px;
    }

    .hero-content {
        margin-left: 25px;
        margin-right: 25px;

        width: auto;
    }

    .hero-content h1 {
        font-size: clamp(3.5rem, 18vw, 6rem);
    }

    .hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.85) 0%,
                rgba(0, 0, 0, 0.25) 100%
            );
    }

    .scroll-indicator {
        display: none;
    }


    /* INTRO */

    .intro {
        display: block;

        padding:
            100px 25px;
    }

    .intro h2 {
        font-size: clamp(4rem, 22vw, 7rem);
    }

    .intro-copy {
        margin-top: 60px;
    }


    /* FIREWORKS */

    .future-background {
        /*
           Fixed backgrounds can behave strangely
           on mobile browsers.
        */

        background-attachment: scroll;
    }

    .future-content {
        padding:
            100px 25px;
    }


    /* BUILD */

    .build {
        padding:
            100px 25px;
    }


    /* FOOTER */

    .site-footer {
        flex-direction: column;

        padding:
            50px 25px;
    }

    .photo-note {
        text-align: left;
    }

}