/* =========================================================
   SPIRE DIMENSIONS
   LUXURY PROJECTS PAGE
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --black: #090909;
    --black-2: #111111;
    --black-3: #181818;

    --white: #ffffff;

    --ivory: #f7f5f0;
    --ivory-2: #efede7;

    --gold: #b49355;
    --gold-light: #d1b477;

    --text: #151515;
    --muted: #777777;

    --border: rgba(0,0,0,.12);

    --container: 1320px;

    --transition:
        .45s cubic-bezier(.2,.7,.2,1);

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    background: var(--ivory);

    color: var(--text);

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    overflow-x: hidden;


}


img {
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: 0 auto;

}




/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 9000;

    color: white;

    transition:
        background .4s ease,
        box-shadow .4s ease,
        backdrop-filter .4s ease;

}


.site-header.scrolled {

    background:
        rgba(9,9,9,.94);

    backdrop-filter:
        blur(18px);

    box-shadow:
        0 10px 40px rgba(0,0,0,.15);

}


.header-inner {

    width: min(
        calc(100% - 80px),
        var(--container)
    );

    height: 90px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.brand {

    display: inline-flex;

    flex-direction: column;

    line-height: 1;

    flex-shrink: 0;

}


.brand-spire {

    color: white;

    font-family:
        "Playfair Display",
        serif;

    font-size: 25px;

    letter-spacing: 4px;

}


.brand-dimensions {

    margin-top: 5px;

    color: var(--gold);

    font-family:
        "DM Sans",
        sans-serif;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: 5px;

}


.main-nav {

    display: flex;

    align-items: center;

    gap: 35px;

}


.main-nav a {

    position: relative;

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

    font-size: 12px;

    font-weight: 500;

    letter-spacing: .5px;

    transition:
        color .3s ease;

}


.main-nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 1px;

    background: var(--gold);

    transition:
        width .3s ease;

}


.main-nav a:hover,
.main-nav a.active {

    color: white;

}


.main-nav a:hover::after,
.main-nav a.active::after {

    width: 100%;

}


.header-cta {

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        12px 17px;

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

    color: white;

    font-size: 11px;

    letter-spacing: .5px;

    transition:
        background .3s ease,
        border-color .3s ease;

}


.header-cta span {

    color: var(--gold-light);

    font-size: 15px;

}


.header-cta:hover {

    background:
        rgba(180,147,85,.16);

    border-color:
        var(--gold);

}


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

.menu-toggle {

    display: none;

    width: 44px;

    height: 44px;

    border: 0;

    background: transparent;

    cursor: pointer;

}


.menu-toggle span {

    display: block;

    width: 25px;

    height: 1px;

    margin: 7px auto;

    background: white;

    transition:
        transform .3s ease;

}


.menu-toggle.open span:first-child {

    transform:
        translateY(4px)
        rotate(45deg);

}


.menu-toggle.open span:last-child {

    transform:
        translateY(-4px)
        rotate(-45deg);

}


.mobile-nav {

    display: none;

}


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

.projects-hero {

    position: relative;

    min-height: 850px;

    height: 100vh;

    max-height: 1000px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: var(--black);

}


.hero-background {

    position: absolute;

    inset: 0;

}


.hero-background img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    animation:
        heroZoom 10s ease-out forwards;

}


@keyframes heroZoom {

    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.82) 0%,
            rgba(0,0,0,.52) 45%,
            rgba(0,0,0,.20) 100%
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: auto;

    padding-top: 90px;

}


.eyebrow {

    display: block;

    margin-bottom: 25px;

    color: var(--gold-light);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 4px;

}


.hero-content h1 {

    max-width: 800px;

    color: white;

    font-family:
        "Playfair Display",
        serif;

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

    font-weight: 400;

    line-height: .98;

    letter-spacing: -3px;

}


.hero-content h1 em {

    display: block;

    color: var(--gold-light);

    font-style: italic;

}


.hero-content p {

    max-width: 570px;

    margin-top: 32px;

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

    font-size: 15px;

    line-height: 1.8;

}


.hero-button {

    display: inline-flex;

    align-items: center;

    gap: 20px;

    margin-top: 38px;

    padding: 16px 22px;

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

    color: white;

    font-size: 11px;

    letter-spacing: 1px;

    transition:
        background .3s ease,
        border-color .3s ease;

}


.hero-button span {

    color: var(--gold-light);

    font-size: 17px;

}


.hero-button:hover {

    background:
        rgba(180,147,85,.15);

    border-color:
        var(--gold);

}


.hero-bottom {

    position: absolute;

    left: 50%;

    bottom: 35px;

    z-index: 2;

    width: min(
        calc(100% - 80px),
        var(--container)
    );

    transform: translateX(-50%);

    display: flex;

    justify-content: space-between;

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

    font-size: 9px;

    letter-spacing: 3px;

}


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

.projects-intro {

    padding:
        150px 0 100px;

    background: var(--ivory);

}


.projects-intro .container {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

}


.section-label {

    display: block;

    margin-bottom: 22px;

    color: var(--gold);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3px;

}


.section-label.light {

    color:
        var(--gold-light);

}


.section-heading h2 {

    max-width: 550px;

    font-family:
        "Playfair Display",
        serif;

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

    font-weight: 400;

    line-height: 1.05;

}


.section-heading h2 span {

    color: var(--gold);

    font-style: italic;

}


.intro-text {

    display: flex;

    align-items: flex-end;

}


.intro-text p {

    max-width: 530px;

    color: #696969;

    font-size: 15px;

    line-height: 1.9;

}


/* =========================================================
   FILTER
========================================================= */

.project-filter-section {

    padding-bottom: 60px;

    background: var(--ivory);

}


.project-filters {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    padding-bottom: 20px;

    border-bottom:
        1px solid var(--border);

}


.filter-btn {

    padding:
        12px 19px;

    border:
        1px solid #d4d1ca;

    background:
        transparent;

    color: #6b6b6b;

    cursor: pointer;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition:
        all .3s ease;

}


.filter-btn:hover,
.filter-btn.active {

    border-color:
        var(--black);

    background:
        var(--black);

    color: white;

}


/* =========================================================
   PROJECT GRID
========================================================= */

.projects-section {

    padding-bottom: 150px;

    background: var(--ivory);

}


.projects-grid {

    display: grid;

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

    gap:
        80px 35px;

}


.project-card {

    min-width: 0;

    width: 100%;

}


.project-card.project-large,
.project-card.project-wide {

    grid-column:
        span 2;

}


/* =========================================================
   PROJECT IMAGE
========================================================= */

.project-image {

    position: relative;

    width: 100%;

    height: 490px;

    overflow: hidden;

    background: #171717;

}


.project-large .project-image {

    height: 650px;

}


.project-wide .project-image {

    height: 540px;

}


.project-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    opacity: 0;

    transform: scale(1.01);

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

}


.project-image img.image-loaded {

    opacity: 1;

}


.project-card:hover
.project-image img {

    transform: scale(1.06);

}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.image-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.78) 0%,
            rgba(0,0,0,.18) 42%,
            rgba(0,0,0,.02) 100%
        );

    pointer-events: none;

}


/* =========================================================
   PROJECT TOP
========================================================= */

.project-top {

    position: absolute;

    top: 25px;

    left: 25px;

    right: 25px;

    z-index: 3;

    display: flex;

    justify-content: space-between;

    align-items: center;

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

    font-size: 10px;

    letter-spacing: 2px;

}


.project-arrow {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

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

    border-radius: 50%;

    color: white;

    font-size: 20px;

    transform:
        translateY(10px);

    opacity: 0;

    transition:
        opacity .4s ease,
        transform .4s ease,
        background .4s ease;

}


.project-card:hover
.project-arrow {

    opacity: 1;

    transform:
        translateY(0);

}


.project-arrow:hover {

    background:
        var(--gold);

}


/* =========================================================
   PROJECT TAG
========================================================= */

.project-tag {

    position: absolute;

    left: 28px;

    bottom: 28px;

    z-index: 3;

    color: white;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;

}


/* =========================================================
   PROJECT INFO
========================================================= */

.project-info {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 30px;

    padding-top: 25px;

}


.project-index {

    display: block;

    margin-bottom: 9px;

    color: var(--gold);

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 2px;

}


.project-info h3 {

    color: #171717;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(24px, 2.4vw, 35px);

    font-weight: 400;

    line-height: 1.15;

}


.project-location {

    padding-top: 20px;

    color: #777;

    white-space: nowrap;

    font-size: 11px;

    letter-spacing: .5px;

}


/* =========================================================
   FILTER ANIMATION
========================================================= */

.project-card.filter-hidden {

    opacity: 0;

    transform:
        scale(.96);

    transition:
        opacity .3s ease,
        transform .3s ease;

}


/* =========================================================
   FEATURED PROJECT
========================================================= */

.featured-project {

    position: relative;

    min-height: 720px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: var(--black);

}


.featured-image {

    position: absolute;

    inset: 0;

}


.featured-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

}


.featured-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.88) 0%,
            rgba(0,0,0,.62) 45%,
            rgba(0,0,0,.20) 100%
        );

}


.featured-container {

    position: relative;

    z-index: 2;

}


.featured-content {

    max-width: 720px;

}


.featured-content h2 {

    color: white;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(48px, 6vw, 88px);

    font-weight: 400;

    line-height: 1;

}


.featured-content h2 em {

    color:
        var(--gold-light);

    font-style: italic;

}


.featured-content p {

    max-width: 520px;

    margin-top: 30px;

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

    font-size: 15px;

    line-height: 1.8;

}


.featured-number {

    position: absolute;

    right: 0;

    bottom: -20px;

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

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(180px, 25vw, 380px);

    line-height: .8;

}


/* =========================================================
   BUTTONS
========================================================= */

.gold-button {

    display: inline-flex;

    align-items: center;

    gap: 20px;

    margin-top: 35px;

    padding:
        16px 23px;

    background: var(--gold);

    color: white;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1px;

    transition:
        background .3s ease,
        transform .3s ease;

}


.gold-button:hover {

    background:
        var(--gold-light);

    transform:
        translateY(-3px);

}


.gold-button span {

    font-size: 16px;

}


/* =========================================================
   CTA
========================================================= */

.projects-cta {

    padding:
        150px 0;

    background: var(--ivory-2);

}


.cta-inner {

    text-align: center;

    max-width: 900px;

    margin: auto;

}


.cta-inner h2 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(45px, 6vw, 80px);

    font-weight: 400;

    line-height: 1.05;

}


.cta-inner h2 span {

    display: block;

    color: var(--gold);

    font-style: italic;

}


.cta-inner p {

    max-width: 600px;

    margin:
        30px auto 0;

    color: #707070;

    font-size: 14px;

    line-height: 1.8;

}


.cta-buttons {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

}


.outline-button {

    display: inline-flex;

    align-items: center;

    gap: 18px;

    margin-top: 35px;

    padding:
        15px 22px;

    border:
        1px solid #aaa;

    color: #222;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1px;

    transition:
        all .3s ease;

}


.outline-button:hover {

    border-color:
        var(--gold);

    color:
        var(--gold);

}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    padding:
        90px 0 30px;

    background:
        var(--black);

    color: white;

}


.footer-top {

    display: grid;

    grid-template-columns:
        1.6fr
        1fr
        1fr
        1.4fr;

    gap: 60px;

    padding-bottom: 70px;

}


.footer-logo {

    margin-bottom: 20px;

}


.footer-brand > p:first-of-type {

    color:
        var(--gold-light);

    font-size: 10px;

    letter-spacing: 2px;

}


.footer-description {

    max-width: 300px;

    margin-top: 20px;

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

    font-size: 12px;

    line-height: 1.8;

}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.footer-column h4 {

    margin-bottom: 12px;

    color:
        var(--gold-light);

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.footer-column a {

    width: fit-content;

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

    font-size: 12px;

    transition:
        color .3s ease;

}


.footer-column a:hover {

    color: white;

}


.footer-contact p {

    max-width: 230px;

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

    font-size: 11px;

    line-height: 1.7;

}


.footer-whatsapp {

    display: inline-flex !important;

    align-items: center;

    gap: 8px;

    margin-top: 10px;

    color:
        var(--gold-light) !important;

}


.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 25px;

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

}


.footer-bottom p {

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

    font-size: 10px;

}


.footer-social {

    display: flex;

    gap: 10px;

}


.footer-social a {

    width: 35px;

    height: 35px;

    display: flex;

    align-items: center;

    justify-content: center;

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

    border-radius: 50%;

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

    transition:
        all .3s ease;

}


.footer-social a:hover {

    border-color:
        var(--gold);

    color:
        var(--gold);

}


/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.floating-whatsapp {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 8000;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        13px 18px;

    border-radius: 50px;

    background:
        #161616;

    color: white;

    box-shadow:
        0 10px 35px
        rgba(0,0,0,.25);

    font-size: 10px;

    letter-spacing: .5px;

    transition:
        transform .3s ease,
        background .3s ease;

}


.floating-whatsapp i {

    color:
        #25d366;

    font-size: 18px;

}


.floating-whatsapp:hover {

    transform:
        translateY(-4px);

    background:
        #222;

}


/* =========================================================
   REVEAL
========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(35px);

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

}


.reveal.visible {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   RESPONSIVE - 1100
========================================================= */

@media (max-width: 1100px) {

    .header-inner,
    .hero-content,
    .hero-bottom {

        width:
            calc(100% - 50px);

    }


    .main-nav {

        gap: 20px;

    }


    .header-cta {

        display: none;

    }


    .footer-top {

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

    }

}


/* =========================================================
   RESPONSIVE - 900
========================================================= */

@media (max-width: 900px) {

    .main-nav {

        display: none;

    }


    .menu-toggle {

        display: block;

    }


    .mobile-nav {

        position: absolute;

        top: 90px;

        left: 0;

        width: 100%;

        display: flex;

        flex-direction: column;

        padding:
            20px 25px 30px;

        background:
            rgba(9,9,9,.98);

        backdrop-filter:
            blur(20px);

        transform:
            translateY(-20px);

        opacity: 0;

        visibility: hidden;

        transition:
            all .35s ease;

    }


    .mobile-nav.open {

        transform:
            translateY(0);

        opacity: 1;

        visibility: visible;

    }


    .mobile-nav a {

        padding:
            16px 0;

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

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

        font-size: 13px;

    }


    .mobile-nav a.active {

        color:
            var(--gold-light);

    }


    .mobile-nav .mobile-cta {

        margin-top: 15px;

        padding:
            14px 18px;

        border:
            1px solid var(--gold);

        color:
            var(--gold-light);

        text-align: center;

    }


    .projects-intro .container {

        grid-template-columns: 1fr;

        gap: 35px;

    }


    .projects-grid {

        grid-template-columns: 1fr;

    }


    .project-card.project-large,
    .project-card.project-wide {

        grid-column: span 1;

    }


    .project-large .project-image,
    .project-wide .project-image,
    .project-image {

        height: 480px;

    }

}


/* =========================================================
   RESPONSIVE - 650
========================================================= */

@media (max-width: 650px) {

    .container {

        width:
            calc(100% - 36px);

    }


    .header-inner {

        width:
            calc(100% - 36px);

        height: 78px;

    }


    .mobile-nav {

        top: 78px;

    }


    .brand-spire {

        font-size: 21px;

    }


    .brand-dimensions {

        font-size: 7px;

        letter-spacing: 4px;

    }


    .projects-hero {

        min-height: 720px;

    }


    .hero-content {

        width:
            calc(100% - 36px);

        padding-top: 70px;

    }


    .hero-content h1 {

        font-size:
            clamp(47px, 14vw, 72px);

        letter-spacing: -2px;

    }


    .hero-content p {

        font-size: 13px;

    }


    .hero-bottom {

        width:
            calc(100% - 36px);

        bottom: 20px;

    }


    .projects-intro {

        padding:
            90px 0 70px;

    }


    .project-filter-section {

        padding-bottom: 35px;

    }


    .project-filters {

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 15px;

        scrollbar-width: none;

    }


    .project-filters::-webkit-scrollbar {

        display: none;

    }


    .filter-btn {

        flex-shrink: 0;

    }


    .projects-section {

        padding-bottom: 90px;

    }


    .projects-grid {

        gap: 55px;

    }


    .project-large .project-image,
    .project-wide .project-image,
    .project-image {

        height: 360px;

    }


    .project-info {

        flex-direction: column;

        gap: 12px;

    }


    .project-location {

        padding-top: 0;

        white-space: normal;

    }


    .project-arrow {

        opacity: 1;

        transform: none;

    }


    .featured-project {

        min-height: 650px;

    }


    .featured-content h2 {

        font-size:
            clamp(44px, 12vw, 65px);

    }


    .featured-number {

        right: -10px;

        font-size: 220px;

    }


    .projects-cta {

        padding:
            90px 0;

    }


    .footer-top {

        grid-template-columns: 1fr;

        gap: 45px;

        padding-bottom: 50px;

    }


    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

    }


    .floating-whatsapp {

        right: 15px;

        bottom: 15px;

        width: 48px;

        height: 48px;

        padding: 0;

        justify-content: center;

    }


    .floating-whatsapp span {

        display: none;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;

    }

}