/* =========================================================
   SIPANI MARBLES - OUR STORY
   Based on current index.html visual language
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

.story-container {
    width: min(1400px, 84vw);
    margin: 0 auto;
}

.story-section-number {
    color: #77736b;
    text-transform: uppercase;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 3px;
}

.story-section-number.light {
    color: rgba(255,255,255,.55);
}


/* =========================================================
   HEADER ACTIVE STATE
========================================================= */

.desktop-nav .story-active {
    opacity: 1;
}

.desktop-nav .story-active::after {
    width: 100%;
}


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

.story-hero {

    position: relative;

    height: 100svh;
    min-height: 720px;

    overflow: hidden;

    isolation: isolate;

    background: #11110f;

    color: #f2eee6;

}


.story-hero-image {

    position: absolute;

    inset: 0;

    z-index: -3;

}


.story-hero-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.03);

}


.story-hero-overlay {

    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(10,10,9,.82) 0%,
            rgba(10,10,9,.54) 42%,
            rgba(10,10,9,.16) 100%
        );

}


.story-hero-content {

    position: absolute;

    left: 10vw;

    top: 50%;

    transform: translateY(-42%);

    width: min(850px, 78vw);

}


.story-eyebrow {

    display: flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 34px;

    color: rgba(255,255,255,.68);

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 3px;

}


.story-eyebrow-line {

    width: 60px;

    height: 1px;

    background: #d4af37;

}


.story-eyebrow b {

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #d4af37;

}


.story-hero-content h1 {

    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: 100px;

    font-weight: 400;

    line-height: .9;

    letter-spacing: -4px;

}


.story-hero-content h1 span,
.story-hero-content h1 em {

    display: block;

}


.story-hero-content h1 em {

    margin-top: 8px;

    font-style: italic;

    color: #e7e0d2;

}


.story-hero-content > p {

    max-width: 420px;

    margin-top: 34px;

    color: rgba(255,255,255,.68);

    font-size: 14px;

    line-height: 1.8;

}


.story-scroll {

    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-top: 42px;

    padding-bottom: 10px;

    border-bottom: 1px solid rgba(255,255,255,.4);

    color: white;

    text-decoration: none;

    text-transform: uppercase;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 2px;

}


.story-scroll i {

    color: #d4af37;

    transition: transform .35s ease;

}


.story-scroll:hover i {

    transform: translateY(4px);

}


.story-hero-meta {

    position: absolute;

    left: 5.5vw;

    bottom: 31px;

    display: flex;

    align-items: center;

    gap: 13px;

    color: rgba(255,255,255,.45);

    text-transform: uppercase;

    font-size: 7px;

    letter-spacing: 2px;

}


.story-hero-meta > span:first-child {

    color: #d4af37;

}


.story-meta-line {

    width: 30px;

    height: 1px;

    background: rgba(255,255,255,.25);

}


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

.story-intro {

    padding: 150px 0 170px;

    background: #f2eee6;

    color: #11110f;

}


.story-intro-top {

    display: grid;

    grid-template-columns: 25% 1fr;

    gap: 5vw;

    margin-bottom: 85px;

}


.story-intro-heading h2 {

    max-width: 850px;

    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(60px, 7vw, 110px);

    font-weight: 400;

    line-height: .9;

    letter-spacing: -3px;

}


.story-intro-heading h2 em {

    font-style: italic;

}


.story-intro-grid {

    display: grid;

    grid-template-columns: 1.05fr .95fr;

    gap: 8vw;

    align-items: center;

}


.story-intro-image {

    position: relative;

    overflow: hidden;

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .9s ease,
        transform 1s cubic-bezier(.16,1,.3,1);

}


.story-intro-image.story-visible {

    opacity: 1;

    transform: translateY(0);

}


.story-intro-image img {

    width: 100%;

    height: 620px;

    object-fit: cover;

    transition: transform 1.2s cubic-bezier(.16,1,.3,1);

}


.story-intro-image:hover img {

    transform: scale(1.035);

}


.story-image-caption {

    position: absolute;

    left: 24px;

    bottom: 22px;

    display: flex;

    align-items: center;

    gap: 10px;

    color: white;

    font-size: 8px;

    letter-spacing: 2px;

}


.story-image-caption span {

    width: 25px;

    height: 1px;

    background: #d4af37;

}


.story-intro-content {

    max-width: 540px;

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .9s ease .12s,
        transform 1s cubic-bezier(.16,1,.3,1) .12s;

}


.story-intro-content.story-visible {

    opacity: 1;

    transform: translateY(0);

}


.story-lead {

    margin-bottom: 30px;

    font-family: "Playfair Display", serif;

    font-size: clamp(30px, 3vw, 45px);

    line-height: 1.05;

    color: #11110f;

}


.story-intro-content p:not(.story-lead) {

    margin-bottom: 22px;

    color: #68645d;

    font-size: 13px;

    line-height: 1.95;

}


.story-button {

    display: inline-flex;

    align-items: center;

    gap: 30px;

    margin-top: 25px;

    padding: 17px 22px;

    background: #d4af37;

    color: #11110f;

    text-decoration: none;

    text-transform: uppercase;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 2px;

    transition: transform .35s ease;

}


.story-button:hover {

    transform: translateY(-3px);

}


.story-button i {

    font-size: 14px;

}


/* =========================================================
   JOURNEY
========================================================= */

.story-journey {

    padding: 160px 0;

    background: #11110f;

    color: #f2eee6;

}


.story-journey-grid {

    display: grid;

    grid-template-columns: .85fr 1.15fr;

    gap: 8vw;

    align-items: center;

}


.story-journey-content {

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .9s ease,
        transform 1s cubic-bezier(.16,1,.3,1);

}


.story-journey-content.story-visible {

    opacity: 1;

    transform: translateY(0);

}


.story-journey-content h2 {

    margin: 45px 0 50px;

    font-family: "Playfair Display", serif;

    font-size: clamp(52px, 5.4vw, 85px);

    font-weight: 400;

    line-height: .91;

    letter-spacing: -3px;

}


.story-journey-content h2 em {

    font-style: italic;

}


.story-year {

    display: flex;

    align-items: baseline;

    gap: 15px;

    margin-bottom: 35px;

}


.story-year strong {

    color: #d4af37;

    font-family: "Playfair Display", serif;

    font-size: 55px;

    font-weight: 400;

}


.story-year span {

    color: rgba(255,255,255,.4);

    font-size: 8px;

    letter-spacing: 3px;

}


.story-journey-content p {

    max-width: 460px;

    margin-bottom: 20px;

    color: rgba(255,255,255,.62);

    font-size: 13px;

    line-height: 1.9;

}


.story-journey-visual {

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .9s ease .15s,
        transform 1s cubic-bezier(.16,1,.3,1) .15s;

}


.story-journey-visual.story-visible {

    opacity: 1;

    transform: translateY(0);

}


.story-journey-image {

    position: relative;

    overflow: hidden;

}


.story-journey-image img {

    width: 100%;

    height: 650px;

    object-fit: cover;

    transition: transform 1.3s cubic-bezier(.16,1,.3,1);

}


.story-journey-image:hover img {

    transform: scale(1.04);

}


.story-journey-caption {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-bottom: 1px solid rgba(255,255,255,.15);

}


.story-journey-caption span {

    padding: 17px 0;

    color: rgba(255,255,255,.45);

    font-size: 8px;

    letter-spacing: 2px;

}


.story-journey-caption span:not(:last-child) {

    border-right: 1px solid rgba(255,255,255,.12);

}


/* =========================================================
   SELECTION
========================================================= */

.story-selection {

    position: relative;

    min-height: 760px;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: white;

}


.story-selection-image {

    position: absolute;

    inset: 0;

}


.story-selection-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 1.5s cubic-bezier(.16,1,.3,1);

}


.story-selection:hover .story-selection-image img {

    transform: scale(1.035);

}


.story-selection-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10,10,9,.82),
            rgba(10,10,9,.42),
            rgba(10,10,9,.15)
        );

}


.story-selection-content {

    position: relative;

    z-index: 2;

    width: min(650px, 84vw);

    margin-left: 10vw;

}


.story-selection-content h2 {

    margin: 40px 0 35px;

    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 6.5vw, 105px);

    font-weight: 400;

    line-height: .9;

    letter-spacing: -3px;

}


.story-selection-content h2 em {

    display: block;

    font-style: italic;

}


.story-selection-content p {

    max-width: 430px;

    color: rgba(255,255,255,.65);

    font-size: 13px;

    line-height: 1.8;

}


.story-outline-button {

    display: inline-flex;

    align-items: center;

    gap: 30px;

    margin-top: 45px;

    padding: 17px 22px;

    border: 1px solid rgba(255,255,255,.45);

    color: white;

    text-decoration: none;

    text-transform: uppercase;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 2px;

    transition:
        background .35s ease,
        color .35s ease;

}


.story-outline-button i {

    color: #d4af37;

}


.story-outline-button:hover {

    background: #f2eee6;

    color: #11110f;

}


/* =========================================================
   VALUES
========================================================= */

.story-values {

    padding: 150px 0 170px;

    background: #f2eee6;

    color: #11110f;

}


.story-values-heading {

    display: grid;

    grid-template-columns: 25% 1fr;

    gap: 5vw;

    margin-bottom: 90px;

}


.story-values-heading h2 {

    max-width: 850px;

    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 6.5vw, 100px);

    font-weight: 400;

    line-height: .9;

    letter-spacing: -3px;

}


.story-values-heading h2 em {

    font-style: italic;

}


.story-values-grid {

    border-top: 1px solid rgba(17,17,15,.15);

}


.story-value {

    display: grid;

    grid-template-columns: 90px 1fr;

    gap: 40px;

    padding: 60px 0;

    border-bottom: 1px solid rgba(17,17,15,.15);

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity .8s ease,
        transform .9s cubic-bezier(.16,1,.3,1);

}


.story-value.story-visible {

    opacity: 1;

    transform: translateY(0);

}


.story-value:nth-child(2) {

    transition-delay: .12s;

}


.story-value-number {

    color: #9c8b62;

    font-size: 9px;

    letter-spacing: 2px;

}


.story-value-content > span {

    color: #9c8b62;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 3px;

}


.story-value-content h3 {

    margin: 20px 0 25px;

    font-family: "Playfair Display", serif;

    font-size: clamp(45px, 5vw, 75px);

    font-weight: 400;

    line-height: .95;

}


.story-value-content h3 em {

    font-style: italic;
    color: #c9a55b;

}


.story-value-content p {

    max-width: 650px;

    color: #68645d;

    font-size: 13px;

    line-height: 1.9;

}


/* =========================================================
   CLOSING
========================================================= */

.story-closing {

    position: relative;

    min-height: 720px;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: white;

}


.story-closing-image {

    position: absolute;

    inset: 0;

}


.story-closing-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.story-closing-overlay {

    position: absolute;

    inset: 0;

    background: rgba(8,8,7,.63);

}


.story-closing-content {

    position: relative;

    z-index: 2;

    width: min(850px, 84vw);

    margin-left: 10vw;

}


.story-closing-content h2 {

    margin-top: 40px;

    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 7vw, 110px);

    font-weight: 400;

    line-height: .88;

    letter-spacing: -3px;

}


.story-closing-content h2 em {

    font-style: italic;

}


.story-closing-button {

    margin-top: 50px;

}


/* =========================================================
   BODY MENU LOCK
========================================================= */

body.menu-open {

    overflow: hidden;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .story-container {

        width: calc(100% - 48px);

    }


    .story-hero-content {

        left: 24px;

        width: calc(100% - 48px);

    }


    .story-intro-top,
    .story-values-heading {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .story-intro-grid,
    .story-journey-grid {

        grid-template-columns: 1fr;

        gap: 60px;

    }


    .story-intro-image img,
    .story-journey-image img {

        height: 520px;

    }


    .story-selection-content,
    .story-closing-content {

        margin-left: 24px;

        width: calc(100% - 48px);

    }

}


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

@media (max-width: 600px) {


    .story-container {

        width: calc(100% - 48px);

    }


    /* HERO */

    .story-hero {

        min-height: 680px;

    }


    .story-hero-content {

        top: 48%;

        transform: translateY(-35%);

    }


    .story-eyebrow {

        margin-bottom: 25px;

        font-size: 7px;

        letter-spacing: 2px;

    }


    .story-eyebrow-line {

        width: 35px;

    }


    .story-hero-content h1 {

        font-size: clamp(52px, 15vw, 80px);

        letter-spacing: -3px;

    }


    .story-hero-content > p {

        max-width: 300px;

        margin-top: 28px;

        font-size: 11px;

    }


    .story-scroll {

        margin-top: 30px;

        font-size: 8px;

    }


    .story-hero-meta {

        display: none;

    }


    /* INTRO */

    .story-intro {

        padding: 90px 0 100px;

    }


    .story-intro-top {

        margin-bottom: 55px;

    }


    .story-section-number {

        font-size: 7px;

        letter-spacing: 2px;

    }


    .story-intro-heading h2 {

        font-size: 55px;

        letter-spacing: -2px;

    }


    .story-intro-grid {

        gap: 45px;

    }


    .story-intro-image img {

        height: 430px;

    }


    .story-lead {

        font-size: 31px;

    }


    .story-intro-content p:not(.story-lead) {

        font-size: 12px;

    }


    /* JOURNEY */

    .story-journey {

        padding: 95px 0 110px;

    }


    .story-journey-content h2 {

        margin: 35px 0 40px;

        font-size: 51px;

        letter-spacing: -2px;

    }


    .story-year strong {

        font-size: 45px;

    }


    .story-journey-content p {

        font-size: 12px;

    }


    .story-journey-image img {

        height: 430px;

    }


    .story-journey-caption span {

        font-size: 6px;

        letter-spacing: 1px;

    }


    /* SELECTION */

    .story-selection {

        min-height: 650px;

    }


    .story-selection-content,
    .story-closing-content {

        margin-left: 24px;

        width: calc(100% - 48px);

    }


    .story-selection-content h2 {

        font-size: 54px;

        letter-spacing: -2px;

    }


    .story-selection-content p {

        font-size: 11px;

    }


    /* VALUES */

    .story-values {

        padding: 90px 0 100px;

    }


    .story-values-heading {

        margin-bottom: 55px;

    }


    .story-values-heading h2 {

        font-size: 54px;

        letter-spacing: -2px;

    }


    .story-value {

        grid-template-columns: 35px 1fr;

        gap: 15px;

        padding: 45px 0;

    }


    .story-value-content h3 {

        font-size: 40px;

    }


    .story-value-content p {

        font-size: 12px;

    }


    /* CLOSING */

    .story-closing {

        min-height: 650px;

    }


    .story-closing-content h2 {

        font-size: 54px;

        letter-spacing: -2px;

    }


    .story-closing-button {

        width: 100%;

        justify-content: space-between;

        margin-top: 35px;

    }

}