/* =========================================
   Booking
========================================= */

.booking {
    height: 285vh;
    position: relative;
    background-color: var(--bg-dark);
}
.booking__stage {
    width: 100%;
    height: 100svh;
    position: sticky;
    top: 0;
    overflow: hidden;
}

/* -----------------------------------------
   Image
----------------------------------------- */
.booking__image {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* -----------------------------------------
   Overlay
----------------------------------------- */
.booking__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: #000;
    opacity: 0;
    pointer-events: none;
}

/* -----------------------------------------
   Headline
----------------------------------------- */

.booking__headline {
    width: calc(100% - 3rem);
    max-width: 90rem;
    position: absolute;
    top: clamp(5.5rem, 10vh, 7rem);
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
    text-align: center;
    opacity: 1;
    clip-path: inset(-0.25em 100% -0.25em 0);
}
.booking__title {
    width: 100%;
    max-width: 18ch;
    margin: 0 auto;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.035em;
    color: var(--text-light);
}

/* -----------------------------------------
   Final content
----------------------------------------- */

.booking__final {
    width: calc(100% - 2rem);
    max-width: 36rem;

    position: absolute;
    top: 68%;
    left: 50%;
    z-index: 2;

    transform: translate(-50%, -50%);
    text-align: center;
}

.booking__text {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-light);
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 100% 0 0);
}

/* -----------------------------------------
   Button
----------------------------------------- */

.booking__button {
    margin-top: 2rem;
    padding: 0.9rem 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 100rem;
    opacity: 0;
    visibility: hidden;
    
}

.booking__button:hover {
    color: #101010;
    background-color: var(--mauve);
    border-color: var(--mauve);
}

.booking__end-anchor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1px;
    height: 1px;
}

@media only screen and (max-width: 47.99rem) {

    .booking__title {
        line-height: 1.1;
        padding-bottom: 0.2em;
    }

}

/* =========================================
   Short / Landscape Booking
========================================= */

@media only screen
    and (max-height: 31rem)
    and (orientation: landscape) {

    /* -----------------------------------------
       Headline
    ----------------------------------------- */

    .booking__headline {
        width: 46%;
        max-width: 28rem;

        top: 50%;
        left: 2.5rem;

        transform: translateY(-50%);

        text-align: left;
    }

    .booking__title {
        width: 100%;
        max-width: 10ch;

        margin: 0;

        font-size: clamp(2.25rem, 10vh, 3rem);
        line-height: 1;

        text-align: left;
    }


    /* -----------------------------------------
       Final content
    ----------------------------------------- */

    .booking__final {
        width: 40%;
        max-width: 22rem;

        top: 50%;
        left: auto;
        right: 2.5rem;

        transform: translateY(-50%);

        text-align: right;
    }

    .booking__text {
        max-width: 18rem;

        margin: 0 0 0 auto;

        font-size: clamp(1.25rem, 5vh, 1.6rem);
        line-height: 1.15;
    }


    /* -----------------------------------------
       Button
    ----------------------------------------- */

    .booking__button {
        margin-top: 1.25rem;

        padding: 0.75rem 1.25rem;

        font-size: 0.65rem;
    }
}