/* ============================================================
   INTRO SVG BACKGROUND
   ============================================================ */


.intro-background {
    position: absolute;
    inset: 0;
    width: 100%;
    overflow: hidden;
}

.intro-background img {
    display: block;
    width: 100%;
    height: auto;
}



/* =========================================================
   PAGE-WIDE BACKGROUND ARTWORK
   ========================================================= */

.page {
    position: relative;
    width: 100%;
    overflow: hidden;
}


/* ---------------------------------------------------------
   BACKGROUND CANVAS
   --------------------------------------------------------- */

.page-background {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    position: absolute;
}


/* ---------------------------------------------------------
   CONTINUOUS SVG ARTWORK
   --------------------------------------------------------- */

.page-background-svg {
    position: absolute;

    top: -250px;
    left: -5%;

    width: 110%;
    height: 18300px;

    transform:
        translateY(var(--page-parallax-y, 0px))
        rotate(-7deg)
        scale(1.04);

    transform-origin: center top;
}


/* All SVG artwork */

.page-background-svg path {
    fill: none;
    vector-effect: non-scaling-stroke;
}


/* Main contour lines */

.background-line {
    stroke: var(--warm-grey);
    stroke-width: 2;
    opacity: .75;
}


/* Secondary lighter lines */

.background-line-light {
    stroke: var(--light-greenish);
    stroke-width: 1.5;
    opacity: .55;
}


/* Main highlighted route */

.background-route {
    stroke: var(--sage-dark);
    stroke-width: 5;
    opacity: .7;
}


/* Secondary highlighted route */

.background-route-secondary {
    stroke: var(--orange-brownish);
    stroke-width: 3;
    opacity: .65;
}



/* ---------------------------------------------------------
   LARGE ORGANIC SHAPES
   --------------------------------------------------------- */

.background-shape {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    contain: paint;
}


/* Top right */

.background-shape-one {
    width: 45vw;
    height: 45vw;

    min-width: 480px;
    min-height: 480px;

    right: -14vw;
    top: 1vh;

    background: var(--sage);
    opacity: .42;
}


/* Upper left */

.background-shape-two {
    width: 28vw;
    height: 28vw;

    min-width: 320px;
    min-height: 320px;

    left: -11vw;
    top: 17vh;

    background: var(--pale-yellow);
    opacity: .25;
}


/* Small upper-right accent */

.background-shape-three {
    width: 13vw;
    height: 13vw;

    min-width: 150px;
    min-height: 150px;

    right: 17vw;
    top: 29vh;

    background: var(--orange-brownish);
    opacity: .12;
}


/* Left / middle */

.background-shape-four {
    width: 36vw;
    height: 36vw;

    left: -17vw;
    top: 52vh;

    background: var(--sage);
    opacity: .18;
}


/* Right / middle */

.background-shape-five {
    width: 24vw;
    height: 24vw;

    right: -8vw;
    top: 68vh;

    background: var(--pale-yellow);
    opacity: .2;
}


/* Small central accent */

.background-shape-six {
    width: 16vw;
    height: 16vw;

    left: 28vw;
    top: 84vh;

    background: var(--orange-brownish);
    opacity: .11;
}


/* Lower right */

.background-shape-seven {
    width: 32vw;
    height: 32vw;

    right: -13vw;
    top: 104vh;

    background: var(--sage);
    opacity: .2;
}


/* Small left accent */

.background-shape-eight {
    width: 19vw;
    height: 19vw;

    left: 12vw;
    top: 121vh;

    background: var(--orange-brownish);
    opacity: .12;
}


/* Large lower left */

.background-shape-nine {
    width: 42vw;
    height: 42vw;

    left: -21vw;
    top: 145vh;

    background: var(--pale-yellow);
    opacity: .18;
}


/* Lower right */

.background-shape-ten {
    width: 22vw;
    height: 22vw;

    right: 14vw;
    top: 168vh;

    background: var(--sage);
    opacity: .17;
}

 /* Lower middle-left */

.background-shape-eleven {
    width: 34vw;
    height: 34vw;

    left: 18vw;
    top: 190vh;

    background: var(--sage);
    opacity: .16;
}


/* Lower far right */

.background-shape-twelve {
    width: 40vw;
    height: 40vw;

    right: -18vw;
    top: 215vh;

    background: var(--pale-yellow);
    opacity: .19;
}


/* Small lower-left accent */

.background-shape-thirteen {
    width: 15vw;
    height: 15vw;

    left: -5vw;
    top: 242vh;

    background: var(--orange-brownish);
    opacity: .11;
}


/* Large lower-right */

.background-shape-fourteen {
    width: 38vw;
    height: 38vw;

    right: 12vw;
    top: 268vh;

    background: var(--sage);
    opacity: .18;
}


/* Lower central */

.background-shape-fifteen {
    width: 25vw;
    height: 25vw;

    left: 38vw;
    top: 295vh;

    background: var(--pale-yellow);
    opacity: .17;
}


/* Far lower-left */

.background-shape-sixteen {
    width: 43vw;
    height: 43vw;

    left: -20vw;
    top: 325vh;

    background: var(--sage);
    opacity: .17;
}


/* Small lower-right accent */

.background-shape-seventeen {
    width: 17vw;
    height: 17vw;

    right: 22vw;
    top: 355vh;

    background: var(--orange-brownish);
    opacity: .11;
}


/* Large lower-middle */

.background-shape-eighteen {
    width: 36vw;
    height: 36vw;

    left: 24vw;
    top: 385vh;

    background: var(--pale-yellow);
    opacity: .18;
}


/* Far lower-right */

.background-shape-nineteen {
    width: 45vw;
    height: 45vw;

    right: -21vw;
    top: 420vh;

    background: var(--sage);
    opacity: .18;
}


/* Very lower-left */

.background-shape-twenty {
    width: 30vw;
    height: 30vw;

    left: 5vw;
    top: 460vh;

    background: var(--orange-brownish);
    opacity: .10;
}

/* Lower-left */

.background-shape-twenty-one {
    width: 38vw;
    height: 38vw;

    left: -16vw;
    top: 495vh;

    background: var(--sage);
    opacity: .17;
}


/* Lower-right */

.background-shape-twenty-two {
    width: 34vw;
    height: 34vw;

    right: 8vw;
    top: 530vh;

    background: var(--pale-yellow);
    opacity: .18;
}


/* Small central accent */

.background-shape-twenty-three {
    width: 14vw;
    height: 14vw;

    left: 47vw;
    top: 565vh;

    background: var(--orange-brownish);
    opacity: .11;
}


/* Large lower-left */

.background-shape-twenty-four {
    width: 42vw;
    height: 42vw;

    left: -19vw;
    top: 600vh;

    background: var(--pale-yellow);
    opacity: .17;
}


/* Lower-right */

.background-shape-twenty-five {
    width: 29vw;
    height: 29vw;

    right: -7vw;
    top: 640vh;

    background: var(--sage);
    opacity: .18;
}


/* Lower-middle */

.background-shape-twenty-six {
    width: 35vw;
    height: 35vw;

    left: 30vw;
    top: 680vh;

    background: var(--orange-brownish);
    opacity: .10;
}


/* Far lower-left */

.background-shape-twenty-seven {
    width: 25vw;
    height: 25vw;

    left: 6vw;
    top: 720vh;

    background: var(--sage);
    opacity: .16;
}


/* Large lower-right */

.background-shape-twenty-eight {
    width: 44vw;
    height: 44vw;

    right: -17vw;
    top: 760vh;

    background: var(--pale-yellow);
    opacity: .18;
}


/* Small lower-centre accent */

.background-shape-twenty-nine {
    width: 16vw;
    height: 16vw;

    left: 42vw;
    top: 805vh;

    background: var(--orange-brownish);
    opacity: .11;
}


/* Very bottom left */

.background-shape-thirty {
    width: 40vw;
    height: 40vw;

    left: -18vw;
    top: 850vh;

    background: var(--sage);
    opacity: .18;
}


/* ---------------------------------------------------------
   INTRO
   --------------------------------------------------------- */

.intro-scroll-space {
    position: relative;

    height: 120vh;

    z-index: 2;
}


.intro {
    position: sticky;

    top: 0;

    width: 100%;
    height: 100svh;

    min-height: 620px;

    overflow: hidden;

    background: transparent;

    isolation: isolate;
}


/* ---------------------------------------------------------
   INTRO CONTENT
   --------------------------------------------------------- */

.intro-content {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding:
        clamp(30px, 5vw, 80px)
        clamp(24px, 5vw, 80px)
        clamp(30px, 4vw, 60px);

    pointer-events: none;

    will-change: transform;
}


/* ---------------------------------------------------------
   INTRO SMALL HEADING
   --------------------------------------------------------- */

.intro-small-text {
    margin: 0;

    font-family: var(--secondary-font);

    font-size: clamp(.7rem, .8vw, .85rem);

    font-weight: 400;

    letter-spacing: .08em;

    text-transform: uppercase;

    color: var(--charcoal);
}


/* ---------------------------------------------------------
   INTRO MAIN TITLE
   --------------------------------------------------------- */

.intro h1 {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 100%;

    margin: 0;

    transform:
        translate(-50%, -55%);

    font-family: var(--primary-font);

    font-size: clamp(5rem, 15vw, 15rem);

    font-weight: 500;

    line-height: .78;

    letter-spacing: -.035em;

    text-align: center;

    color: var(--charcoal);
}


.intro h1 span {
    display: block;

    margin-left: 11vw;
}


/* ---------------------------------------------------------
   INTRO LOWER CONTENT
   --------------------------------------------------------- */

.intro-bottom {
    width: 100%;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;
}


/* Description */

.intro-bottom > p {
    max-width: 390px;

    margin: 0;

    font-family: var(--secondary-font);

    font-size: clamp(.8rem, 1vw, 1rem);

    line-height: 1.6;

    color: var(--charcoal);
}


/* Scroll prompt */

.intro-scroll {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 8px;

    font-family: var(--secondary-font);

    font-size: .7rem;

    letter-spacing: .08em;

    text-transform: uppercase;

    color: var(--charcoal);

    will-change: opacity;
}


.intro-arrow {
    font-size: 1.4rem;

    line-height: 1;
}


/* ---------------------------------------------------------
   SITE CONTENT
   --------------------------------------------------------- */

.site-content {
    position: relative;

    z-index: 5;

    width: 94%;
    max-width: 1400px;

    margin-left: 3%;
    margin-right: auto;

    background: transparent;
}
.intro-scroll {
    cursor: pointer;
    pointer-events: auto;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 699px) {

    


    .page-background-svg {
        top: -100px;
        left: -25%;

        width: 150%;
        height: 18100px;

        transform:
            translateY(var(--page-parallax-y, 0px))
            rotate(-10deg)
            scale(1.05);
    }


    .background-line {
        stroke-width: 1.5;
        opacity: .55;
    }


    .background-line-light {
        stroke-width: 1.25;
        opacity: .4;
    }


    .background-route {
        stroke-width: 4;
        opacity: .6;
    }


    .background-route-secondary {
        stroke-width: 2.5;
        opacity: .55;
    }


    /* ---------------------------------------------
       Mobile background shapes
       --------------------------------------------- */

    .background-shape-one {
        width: 75vw;
        height: 75vw;

        min-width: 0;
        min-height: 0;

        right: -30vw;
        top: 2vh;
    }


    .background-shape-two {
        width: 55vw;
        height: 55vw;

        min-width: 0;
        min-height: 0;

        left: -30vw;
        top: 18vh;
    }


    .background-shape-three {
        width: 28vw;
        height: 28vw;

        min-width: 0;
        min-height: 0;

        right: 12vw;
        top: 30vh;
    }


    .background-shape-four {
        width: 65vw;
        height: 65vw;

        left: -35vw;
        top: 55vh;
    }


    .background-shape-five {
        width: 45vw;
        height: 45vw;

        right: -20vw;
        top: 70vh;
    }


    .background-shape-six {
        width: 28vw;
        height: 28vw;

        left: 25vw;
        top: 85vh;
    }


    .background-shape-seven {
        width: 55vw;
        height: 55vw;

        right: -25vw;
        top: 105vh;
    }


    .background-shape-eight {
        width: 35vw;
        height: 35vw;

        left: 8vw;
        top: 122vh;
    }


    .background-shape-nine {
        width: 70vw;
        height: 70vw;

        left: -35vw;
        top: 145vh;
    }


    .background-shape-ten {
        width: 42vw;
        height: 42vw;

        right: 8vw;
        top: 168vh;
    }


    /* ---------------------------------------------
       Mobile intro
       --------------------------------------------- */

    .intro-scroll-space {
        height: 70vh;
    }


    .intro {
        min-height: 600px;
    }


    .intro-content {
        padding:
            24px
            20px
            30px;
    }


    .intro h1 {
        font-size: clamp(3.8rem, 18vw, 8rem);
        line-height: .82;

        letter-spacing: -.035em;
    }


    .intro h1 span {
        margin-left: 12vw;
    }


    .intro-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }


    .intro-bottom > p {
        max-width: 280px;

        font-size: .78rem;
    }


    .intro-scroll {
        align-items: flex-start;
    }

}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .intro {
        position: relative;
    }


    .intro-scroll-space {
        height: 100svh;
    }


    .page-background-svg {
        transform:
            rotate(-7deg)
            scale(1.04);
    }

}
@media (prefers-color-scheme: dark) {

    .intro-small-text,
    .intro h1,
    .intro-bottom > p,
    .intro-scroll {
        color: var(--pale-nothing);
    }

}
