/* =========================================================
   SIPANI MARBLES
   LEGACY PAGE CSS
========================================================= */


/* =========================================================
   COMMON
========================================================= */

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


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


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


body.menu-open {
    overflow: hidden;
}



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

.legacy-hero {

    position: relative;

    height: 100svh;

    min-height: 720px;

    overflow: hidden;

    isolation: isolate;

    background: #11110f;

    color: #f2eee6;

}


.legacy-hero-image {

    position: absolute;

    inset: 0;

    z-index: -3;

}


.legacy-hero-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transform: scale(1.04);

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

}


.legacy-hero:hover
.legacy-hero-image img {

    transform: scale(1.075);

}


.legacy-hero-overlay {

    position: absolute;

    inset: 0;

    z-index: -2;

    background:

        linear-gradient(
            90deg,
            rgba(8,8,7,.86) 0%,
            rgba(8,8,7,.55) 43%,
            rgba(8,8,7,.14) 100%
        );

}


.legacy-hero-content {

    position: absolute;

    left: 10vw;

    top: 50%;

    transform: translateY(-42%);

    width: min(850px, 78vw);

}


.legacy-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;

}


.legacy-eyebrow-line {

    width: 60px;

    height: 1px;

    background: #d4af37;

}


.legacy-eyebrow b {

    width: 3px;

    height: 3px;

    border-radius: 50%;

    background: #d4af37;

}


.legacy-hero-content h1 {

    margin: 0;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(70px, 9vw, 130px);

    font-weight: 400;

    line-height: .88;

    letter-spacing: -5px;

}


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

    display: block;

}


.legacy-hero-content h1 em {

    margin-top: 8px;

    color: #e7e0d2;

    font-style: italic;

}


.legacy-hero-content > p {

    max-width: 430px;

    margin-top: 35px;

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

    font-size: 14px;

    line-height: 1.8;

}


.legacy-scroll {

    display: inline-flex;

    align-items: center;

    gap: 14px;

    margin-top: 40px;

    padding-bottom: 10px;

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

    color: #fff;

    text-decoration: none;

    text-transform: uppercase;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 2px;

}


.legacy-scroll i {

    color: #d4af37;

    transition:
        transform .35s ease;

}


.legacy-scroll:hover i {

    transform:
        translateY(4px);

}


.legacy-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;

}


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

    color: #d4af37;

}


.legacy-meta-line {

    width: 30px;

    height: 1px;

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

}



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

.legacy-intro {

    padding:
        150px 0 165px;

    background: #f2eee6;

    color: #11110f;

}


.legacy-intro-grid {

    display: grid;

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

    gap: 9vw;

    align-items: start;

}


.legacy-intro-heading {

    opacity: 0;

    transform:
        translateY(35px);

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

}


.legacy-intro-heading.legacy-visible {

    opacity: 1;

    transform:
        translateY(0);

}


.legacy-intro-heading h2 {

    margin:
        45px 0 0;

    font-family:
        "Playfair Display",
        serif;

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

    font-weight: 400;

    line-height: .88;

    letter-spacing: -4px;

}


.legacy-intro-heading h2 em {

    display: block;

    font-style: italic;

}


.legacy-intro-copy {

    max-width: 620px;

    padding-top: 48px;

    opacity: 0;

    transform:
        translateY(35px);

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

}


.legacy-intro-copy.legacy-visible {

    opacity: 1;

    transform:
        translateY(0);

}


.legacy-lead {

    margin:
        0 0 30px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(32px, 3.3vw, 48px);

    line-height: 1.08;

}


.legacy-intro-copy p:not(.legacy-lead) {

    margin-bottom: 22px;

    color: #68645d;

    font-size: 13px;

    line-height: 1.95;

}



/* =========================================================
   NUMBERS
========================================================= */

.legacy-numbers {

    padding:
        120px 0 140px;

    background: #11110f;

    color: #f2eee6;

}


.legacy-numbers-header {

    display: flex;

    justify-content:
        space-between;

    align-items:
        flex-end;

    gap: 50px;

    margin-bottom: 70px;

}


.legacy-numbers-header p {

    max-width: 380px;

    margin: 0;

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

    font-size: 12px;

    line-height: 1.8;

}


.legacy-stat-grid {

    display: grid;

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

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

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

}


.legacy-stat {

    min-height: 245px;

    padding:
        55px 30px 45px 0;

}


.legacy-stat:not(:last-child) {

    margin-right: 35px;

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

}


.legacy-stat-value {

    display: flex;

    align-items: baseline;

}


.legacy-stat strong {

    font-family:
        "Playfair Display",
        serif;

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

    font-weight: 400;

    line-height: .9;

    letter-spacing: -2px;

    color: #d4af37;

}


.legacy-stat-value > span {

    margin-left: 4px;

    color: #d4af37;

    font-family:
        "Playfair Display",
        serif;

    font-size: 26px;

}


.legacy-stat p {

    max-width: 170px;

    margin:
        30px 0 0;

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

    font-size: 9px;

    line-height: 1.6;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}



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

.legacy-journey {

    padding:
        155px 0 170px;

    background: #f2eee6;

    color: #11110f;

}


.legacy-journey-heading {

    display: grid;

    grid-template-columns:
        25% 1fr;

    gap: 5vw;

    margin-bottom: 100px;

}


.legacy-journey-heading h2 {

    max-width: 850px;

    margin: 0;

    font-family:
        "Playfair Display",
        serif;

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

    font-weight: 400;

    line-height: .9;

    letter-spacing: -3px;

}


.legacy-journey-heading h2 em {

    display: block;

    font-style: italic;

}


.legacy-timeline {

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

}


.legacy-timeline-item {

    display: grid;

    grid-template-columns:
        70px 150px 1fr;

    gap: 35px;

    padding:
        65px 0;

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

    opacity: 0;

    transform:
        translateY(30px);

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

}


.legacy-timeline-item.legacy-visible {

    opacity: 1;

    transform:
        translateY(0);

}


.legacy-timeline-item:nth-child(2) {

    transition-delay: .1s;

}


.legacy-timeline-item:nth-child(3) {

    transition-delay: .2s;

}


.legacy-timeline-marker span {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 36px;

    height: 36px;

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

    border-radius: 50%;

    color: #9c8b62;

    font-size: 8px;

    letter-spacing: 1px;

}


.legacy-timeline-year {

    padding-top: 8px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 27px;

}


.legacy-timeline-content > span {

    color: #9c8b62;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 3px;

}


.legacy-timeline-content h3 {

    margin:
        18px 0 23px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(40px, 4.2vw, 65px);

    font-weight: 400;

    line-height: .95;

}


.legacy-timeline-content h3 em {

    font-style: italic;
    color: #c9a55b;

}


.legacy-timeline-content p {

    max-width: 610px;

    margin: 0;

    color: #68645d;

    font-size: 13px;

    line-height: 1.9;

}



/* =========================================================
   ETHOS
========================================================= */

.legacy-ethos {

    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: white;

}


.legacy-ethos-image {

    position: absolute;

    inset: 0;

}


.legacy-ethos-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.legacy-ethos-overlay {

    position: absolute;

    inset: 0;

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

}


.legacy-ethos-content {

    position: relative;

    z-index: 2;

}


.legacy-ethos-content h2 {

    max-width: 1000px;

    margin:
        55px 0 30px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(65px, 9vw, 135px);

    font-weight: 400;

    line-height: .82;

    letter-spacing: -5px;

}


.legacy-ethos-content h2 em {

    font-style: italic;

}


.legacy-ethos-content p {

    max-width: 500px;

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

    font-size: 13px;

    line-height: 1.9;

}



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

.legacy-closing {

    padding:
        155px 0 170px;

    background: #f2eee6;

    color: #11110f;

}


.legacy-closing-grid {

    display: grid;

    grid-template-columns:
        1fr .8fr;

    gap: 9vw;

    align-items: end;

    opacity: 0;

    transform:
        translateY(30px);

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

}


.legacy-closing-grid.legacy-visible {

    opacity: 1;

    transform:
        translateY(0);

}


.legacy-closing-heading h2 {

    margin:
        45px 0 0;

    font-family:
        "Playfair Display",
        serif;

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

    font-weight: 400;

    line-height: .87;

    letter-spacing: -4px;

}


.legacy-closing-heading h2 em {

    display: block;

    font-style: italic;

}


.legacy-closing-copy p {

    max-width: 500px;

    color: #68645d;

    font-size: 13px;

    line-height: 1.95;

}


.legacy-button {

    display: inline-flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 35px;

    min-width: 240px;

    margin-top: 35px;

    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;

}


.legacy-button:hover {

    transform:
        translateY(-3px);

}


.legacy-button i {

    font-size: 14px;

}



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

@media (max-width: 900px) {

    .legacy-container {

        width:
            calc(100% - 48px);

    }


    .legacy-hero-content {

        left: 24px;

        width:
            calc(100% - 48px);

    }


    .legacy-intro-grid,
    .legacy-journey-heading,
    .legacy-closing-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .legacy-intro-copy {

        padding-top: 0;

    }


    .legacy-stat-grid {

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

    }


    .legacy-stat:nth-child(2) {

        border-right: none;

    }


    .legacy-stat:nth-child(3),
    .legacy-stat:nth-child(4) {

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

    }

}



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

@media (max-width: 600px) {


    .legacy-container {

        width:
            calc(100% - 48px);

    }


    /* HERO */

    .legacy-hero {

        min-height: 680px;

    }


    .legacy-hero-content {

        top: 48%;

        transform:
            translateY(-35%);

    }


    .legacy-eyebrow {

        margin-bottom: 25px;

        font-size: 7px;

        letter-spacing: 2px;

    }


    .legacy-eyebrow-line {

        width: 35px;

    }


    .legacy-hero-content h1 {

        font-size: 56px;

        letter-spacing: -3px;

    }


    .legacy-hero-content > p {

        max-width: 300px;

        margin-top: 27px;

        font-size: 11px;

    }


    .legacy-hero-meta {

        display: none;

    }



    /* INTRO */

    .legacy-intro {

        padding:
            90px 0 100px;

    }


    .legacy-intro-heading h2 {

        margin-top: 35px;

        font-size: 56px;

        letter-spacing: -2px;

    }


    .legacy-lead {

        font-size: 31px;

    }


    .legacy-intro-copy p:not(.legacy-lead) {

        font-size: 12px;

    }



    /* NUMBERS */

    .legacy-numbers {

        padding:
            90px 0 100px;

    }


    .legacy-numbers-header {

        display: block;

        margin-bottom: 50px;

    }


    .legacy-numbers-header p {

        margin-top: 25px;

        font-size: 11px;

    }


    .legacy-stat-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .legacy-stat {

        min-height: 190px;

        padding:
            38px 15px 35px 0;

    }


    .legacy-stat:nth-child(odd) {

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

    }


    .legacy-stat:nth-child(even) {

        padding-left: 18px;

        border-right: none;

    }


    .legacy-stat:nth-child(3),
    .legacy-stat:nth-child(4) {

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

    }


    .legacy-stat strong {

        font-size: 43px;

    }


    .legacy-stat-value > span {

        font-size: 18px;

    }


    .legacy-stat p {

        max-width: 135px;

        margin-top: 22px;

        font-size: 7px;

    }



    /* JOURNEY */

    .legacy-journey {

        padding:
            90px 0 100px;

    }


    .legacy-journey-heading {

        margin-bottom: 55px;

    }


    .legacy-journey-heading h2 {

        font-size: 49px;

        letter-spacing: -2px;

    }


    .legacy-timeline-item {

        grid-template-columns:
            45px 75px 1fr;

        gap: 14px;

        padding:
            45px 0;

    }


    .legacy-timeline-year {

        font-size: 13px;

    }


    .legacy-timeline-content h3 {

        font-size: 30px;

        letter-spacing: -1px;

    }


    .legacy-timeline-content p {

        font-size: 11px;

    }



    /* ETHOS */

    .legacy-ethos {

        min-height: 560px;

    }


    .legacy-ethos-content h2 {

        margin-top: 40px;

        font-size: 50px;

        letter-spacing: -3px;

    }


    .legacy-ethos-content p {

        font-size: 11px;

    }



    /* CLOSING */

    .legacy-closing {

        padding:
            90px 0 100px;

    }


    .legacy-closing-heading h2 {

        margin-top: 35px;

        font-size: 54px;

        letter-spacing: -2px;

    }


    .legacy-closing-copy p {

        font-size: 11px;

    }


    .legacy-button {

        width: 100%;

    }

}

/* =========================================
   LEGACY TIMELINE - LABEL SPACING
   ========================================= */

.legacy-timeline-item .legacy-timeline-year {
    margin-bottom: 18px;
}

.legacy-timeline-item .legacy-timeline-content > span {
    display: block;
    margin-top: 4px;
}
@media (max-width: 767px) {

    .legacy-timeline-item .legacy-timeline-year {
        margin-bottom: 20px;
    }

    .legacy-timeline-item .legacy-timeline-content > span {
        display: block;
        margin-top: 0;
        margin-bottom: 10px;
    }

}