/*==================================================
MAISON CINNAMONN
HOME
==================================================*/


/*==================================================
OPENING EXPERIENCE
==================================================*/

.intro {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #111111;

    /* IMPORTANT:
       BEGIN must appear above the header */
    z-index: 100000;

    transition:
        opacity 0.9s ease,
        visibility 0.9s ease;
}


/*==================================================
HEADER HIDDEN DURING INTRO
==================================================*/

body.intro-active .site-header {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}



.intro.hidden {
    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}


.intro-inner {
    width: min(760px, 90%);

    max-width: 100%;

    margin: auto;

    text-align: center;

    box-sizing: border-box;
}


.intro-maison {
    display: block;

    margin-bottom: 18px;

    font-family: var(--font-sans);

    font-size: 0.72rem;

    letter-spacing: 0.55em;

    text-transform: uppercase;

    color: #BFA98A;

    opacity: 0;

    animation: fadeUp 1s ease forwards;
}


.intro-cinnamonn {
    display: block;

    width: 100%;

    max-width: 100%;

    margin: 0;

    box-sizing: border-box;

    color: #FFFFFF;

    font-family: var(--font-serif);

    font-size: clamp(3.5rem, 8vw, 7rem);

    font-weight: 400;

    line-height: 0.95;

    letter-spacing: 0;

    white-space: nowrap;

    opacity: 0;

    animation: fadeUp 1s ease 0.6s forwards;
}


.intro-tagline {
    margin: 34px auto 60px;

    max-width: 520px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 1rem;

    line-height: 2;

    opacity: 0;

    animation: fadeUp 1s ease 1.2s forwards;
}


.begin-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 18px 46px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    background: transparent;

    color: #FFFFFF;

    font-family: var(--font-sans);

    font-size: 0.72rem;

    letter-spacing: 0.35em;

    text-transform: uppercase;

    cursor: pointer;

    opacity: 0;

    animation: fadeUp 1s ease 1.8s forwards;

    transition:
        background 0.35s ease,
        color 0.35s ease;
}


.begin-btn:hover {
    background: #FFFFFF;

    color: #111111;
}


/*==================================================
HERO
==================================================*/

.hero {
    position: relative;

    width: 100%;

    height: 100vh;

    min-height: 900px;

    overflow: hidden;

    background: #000000;
}


.hero-video {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transform: scale(1.02);
}


.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.18),
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.38)
        );

    z-index: 1;
}


.hero-content {
    position: relative;

    z-index: 2;

    width: min(1700px, 92%);

    height: 100%;

    margin: auto;

    display: flex;

    align-items: flex-end;

    padding-bottom: 130px;
}


.hero-text {
    max-width: 560px;

    opacity: 0;

    transform: translateY(30px);

    transition: 1.2s ease;
}


.hero-text.visible {
    opacity: 1;

    transform: none;
}


.hero-text h2 {
    color: #FFFFFF;

    font-size: clamp(2.5rem, 4vw, 4.5rem);

    line-height: 1.15;

    margin-bottom: 28px;
}


.hero-text p {
    color: rgba(255, 255, 255, 0.88);

    letter-spacing: 0.25em;

    text-transform: uppercase;

    font-size: 0.78rem;
}


.scroll-indicator {
    position: absolute;

    left: 50%;

    bottom: 42px;

    transform: translateX(-50%);

    z-index: 3;

    opacity: 0;

    transition: opacity 1s ease;
}


.scroll-indicator.visible {
    opacity: 1;
}


.scroll-arrow {
    display: block;

    color: #FFFFFF;

    font-family: var(--font-serif);

    font-size: 1.8rem;

    line-height: 1;

    animation: scrollFloat 2.6s ease-in-out infinite;
}


.sound-toggle {
    position: absolute;

    right: 60px;

    bottom: 42px;

    z-index: 3;

    border: none;

    background: none;

    color: #FFFFFF;

    cursor: pointer;

    font-family: var(--font-sans);

    font-size: 0.70rem;

    letter-spacing: 0.30em;

    text-transform: uppercase;
}


/*==================================================
ANIMATIONS
==================================================*/

@keyframes fadeUp {

    from {
        opacity: 0;

        transform: translateY(30px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


@keyframes scrollFloat {

    0% {
        transform: translateY(0);

        opacity: 0.55;
    }

    50% {
        transform: translateY(8px);

        opacity: 1;
    }

    100% {
        transform: translateY(0);

        opacity: 0.55;
    }

}


/*==================================================
PHILOSOPHY
==================================================*/

.philosophy {
    padding: 220px 0;

    background: #FBF8F2;
}


.container-sm {
    width: min(920px, 90%);

    margin: auto;

    text-align: center;
}


.section-label {
    display: block;

    margin-bottom: 24px;

    font-family: var(--font-sans);

    font-size: 0.72rem;

    letter-spacing: 0.45em;

    text-transform: uppercase;

    color: #BFA98A;
}


.section-title {
    max-width: 820px;

    margin: 0 auto;
}


.section-text {
    max-width: 600px;

    margin: 42px auto 0;

    line-height: 2;
}


.philosophy-image {
    width: min(1700px, 95%);

    margin: 150px auto 0;

    overflow: hidden;
}


.philosophy-image img {
    width: 100%;

    height: 760px;

    object-fit: cover;

    transition: transform 2.5s ease;
}


.philosophy:hover .philosophy-image img {
    transform: scale(1.02);
}


/*==================================================
DESTINATIONS
==================================================*/

.destinations {
    padding: 220px 0;

    background: #F5EFE6;
}


.destination-grid {
    width: min(1450px, 92%);

    margin: 120px auto 0;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 80px;
}


.destination {
    padding-top: 24px;

    border-top: 1px solid var(--color-border);
}


.destination h3 {
    margin-bottom: 20px;
}


.destination p {
    max-width: 280px;

    line-height: 1.9;
}


/*==================================================
COLLECTIONS
==================================================*/

.collections {
    padding: 220px 0;

    background: #FBF8F2;
}


.collections-intro {
    width: min(900px, 90%);

    margin: 0 auto 140px;

    text-align: center;
}


.collection {
    width: min(1700px, 94%);

    margin: auto;
}


.collection-image {
    overflow: hidden;
}


.collection-image img {
    width: 100%;

    height: 760px;

    object-fit: cover;

    transition: transform 2s ease;
}


.collection:hover .collection-image img {
    transform: scale(1.02);
}


.collection-content {
    width: min(560px, 90%);

    margin: 90px auto 0;

    text-align: center;
}


.chapter-number {
    display: block;

    margin-bottom: 18px;

    font-family: var(--font-sans);

    font-size: 0.72rem;

    letter-spacing: 0.45em;

    text-transform: uppercase;

    color: #BFA98A;
}


.collection-content h3 {
    margin-bottom: 28px;

    font-size: clamp(2rem, 3vw, 3rem);
}


.collection-content p {
    max-width: 440px;

    margin: 0 auto 40px;

    line-height: 1.9;
}


.collection-content a {
    display: inline-block;

    padding-bottom: 8px;

    border-bottom: 1px solid var(--color-border);

    font-family: var(--font-sans);

    font-size: 0.72rem;

    letter-spacing: 0.30em;

    text-transform: uppercase;
}


/*==================================================
THE MAISON
==================================================*/

#maison {
    padding: 240px 0;

    background: #F5EFE6;
}


#maison .container-sm {
    text-align: center;
}


#maison .section-title {
    margin-bottom: 35px;
}


#maison .section-text {
    max-width: 600px;

    margin: 0 auto 60px;
}


/*==================================================
CONSULTATION
==================================================*/

.consultation {
    padding: 240px 0;

    background: #FBF8F2;
}


.consultation .container-sm {
    text-align: center;
}


.consultation .section-title {
    margin-bottom: 35px;
}


.consultation .section-text {
    max-width: 600px;

    margin: 0 auto 60px;
}


.consultation-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 18px 48px;

    border: 1px solid var(--color-border);

    transition:
        background 0.35s ease,
        color 0.35s ease;
}


.consultation-button:hover {
    background: #111111;

    color: #FFFFFF;
}


/*==================================================
RESPONSIVE — TABLET
==================================================*/

@media (max-width: 960px) {

    .hero {
        min-height: 760px;
    }


    .hero-content {
        padding-bottom: 100px;
    }


    .destination-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .philosophy,
    .destinations,
    .collections,
    .consultation {
        padding: 160px 0;
    }


    .philosophy-image,
    .collection-image {
        width: 92%;
    }


    .philosophy-image img,
    .collection-image img {
        height: 560px;
    }


    .sound-toggle {
        right: 30px;

        bottom: 30px;
    }


    .scroll-indicator {
        bottom: 30px;
    }

}


/*==================================================
RESPONSIVE — MOBILE
==================================================*/

@media (max-width: 600px) {

    /*----------------------------------------------
    INTRO
    ----------------------------------------------*/

    .intro {
        width: 100%;

        max-width: 100%;

        overflow: hidden;
    }


    .intro-inner {
        width: 100%;

        max-width: 100%;

        padding: 0 24px;

        box-sizing: border-box;

        text-align: center;
    }


    .intro-maison {
        margin-bottom: 16px;

        font-size: 0.58rem;

        letter-spacing: 0.32em;
    }


    .intro-cinnamonn {
        display: block;

        width: 100%;

        max-width: 100%;

        margin: 0 auto;

        box-sizing: border-box;

        font-size: 2.5rem !important;

        line-height: 0.95;

        letter-spacing: 0 !important;

        white-space: nowrap;

        overflow: visible;
    }


    .intro-tagline {
        width: 100%;

        max-width: 320px;

        margin: 26px auto 42px;

        font-size: 0.88rem;

        line-height: 1.8;
    }


    .begin-btn {
        padding: 15px 30px;

        max-width: 100%;

        box-sizing: border-box;

        font-size: 0.65rem;
    }


    /*----------------------------------------------
    HERO
    ----------------------------------------------*/

    .hero {
        min-height: 700px;
    }


    .hero-content {
        width: 88%;

        padding-bottom: 90px;
    }


    .hero-text {
        max-width: 100%;
    }


    .hero-text h2 {
        font-size: 2.4rem;
    }


    .hero-text p {
        font-size: 0.68rem;

        letter-spacing: 0.18em;
    }


    /*----------------------------------------------
    SOUND
    ----------------------------------------------*/

    .sound-toggle {
        right: 20px;

        bottom: 22px;

        font-size: 0.62rem;

        letter-spacing: 0.20em;
    }


    /*----------------------------------------------
    SCROLL
    ----------------------------------------------*/

    .scroll-indicator {
        bottom: 22px;
    }


    /*----------------------------------------------
    SECTIONS
    ----------------------------------------------*/

    .philosophy,
    .destinations,
    .collections,
    .consultation {
        padding: 120px 0;
    }


    /*----------------------------------------------
    PHILOSOPHY IMAGE
    ----------------------------------------------*/

    .philosophy-image {
        width: 92%;

        margin-top: 90px;
    }


    .philosophy-image img {
        height: 420px;
    }


    /*----------------------------------------------
    COLLECTIONS
    ----------------------------------------------*/

    .collections-intro {
        width: 90%;

        margin-bottom: 90px;
    }


    .collection {
        width: 92%;
    }


    .collection-image {
        width: 100%;
    }


    .collection-image img {
        height: 420px;
    }


    .collection-content {
        width: 90%;

        margin-top: 60px;
    }


    /*----------------------------------------------
    THE MAISON
    ----------------------------------------------*/

    #maison {
        padding: 140px 0;
    }


    /*----------------------------------------------
    DESTINATIONS
    ----------------------------------------------*/

    .destination-grid {
        width: 88%;

        gap: 45px;
    }

}


/*==================================================
VERY SMALL MOBILE
==================================================*/

@media (max-width: 380px) {

    .intro-inner {
        padding-left: 18px;

        padding-right: 18px;
    }


    .intro-cinnamonn {
        font-size: 2.15rem !important;
    }


    .intro-tagline {
        max-width: 290px;

        font-size: 0.82rem;
    }


    .begin-btn {
        padding: 14px 26px;
    }

}