.project-collection,
.project-story-page {
    --pj-ink: #232923;
    --pj-muted: #6e746c;
    --pj-gold: #a8844c;
    --pj-paper: #f6f4ee;
    color: var(--pj-ink);
    background: #fff;
    overflow: hidden
}

.projects-kicker {
    display: block;
    color: var(--pj-gold);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 18px
}

.projects-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: auto;
    align-items: center;
    background: var(--pj-paper);
    overflow: hidden
}

.projects-hero-copy {
    padding: 100px 12% 80px 14%;
    align-self: center
}

.projects-hero h1,
.project-story-header h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(48px, 5.4vw, 86px);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -.035em;
    color: var(--pj-ink);
    margin: 0 0 28px
}

.projects-hero h1 p,
.projects-section-heading h2 p,
.projects-cta h2 p {
    font: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0
}

.projects-hero-description {
    max-width: 440px;
    color: var(--pj-muted);
    font-size: 15px;
    line-height: 1.9
}

.projects-hero-description p {
    font: inherit;
    color: inherit;
    line-height: inherit
}

.projects-text-link {
    display: inline-flex;
    gap: 32px;
    align-items: center;
    color: var(--pj-ink);
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid #bbb6aa;
    padding: 12px 0;
    margin-top: 20px
}

.projects-text-link:hover {
    color: var(--pj-gold)
}

.projects-hero-visual {
    position: relative;
    width: 100%;
    height: auto;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.projects-hero-visual>img {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center
}

.projects-hero-caption {
    position: absolute;
    bottom: 24px;
    left: 30px;
    right: 30px;
    color: white;
    letter-spacing: .17em;
    font-size: 10px;
    text-shadow: 0 1px 12px #000
}

.projects-cover-empty {
    height: 100%;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd7c8;
    font: 48px Georgia, serif;
    color: #666d5f
}

.projects-section,
.projects-related {
    padding: 90px 7%
}

.projects-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    padding-bottom: 28px;
    border-bottom: 1px solid #eae3d7;
    margin-bottom: 32px;
}

.projects-heading-left {
    flex: 1;
    min-width: 0;
}

.projects-heading-left .projects-kicker {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #a34c00;
    margin-bottom: 12px;
}

.projects-section-title,
.projects-section-heading h2,
.project-story-page h2,
.projects-cta h2,
.projects-related>h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(34px, 3.5vw, 52px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--pj-ink);
}

.projects-heading-divider {
    width: 44px;
    height: 2px;
    background: #bfa57a;
    margin-top: 16px;
    border-radius: 1px;
}

.projects-heading-right {
    max-width: 460px;
    flex-shrink: 0;
}

.projects-heading-desc,
.projects-section-heading>div:last-child,
.projects-section-heading>p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--pj-muted);
    letter-spacing: 0.01em;

}

.projects-heading-desc p {
    font: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    margin-top: 10px;
}

.projects-filter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    border-top: none;
    padding: 0 0 40px;
}

.projects-filter a {
    color: #000000;
    font-size: 12px;
    padding: 10px 17px;
    font-weight: 500;
    border: 1px solid #3a2415;
    border-radius: 50px;
    text-decoration: none;
}

.projects-filter a.active,
.projects-filter a:hover {
    background: var(--pj-ink);
    color: #fff;
    border-color: var(--pj-ink)
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 30px
}

.project-card-photo {
    display: block;
    position: relative;
    aspect-ratio: 1.42;
    overflow: hidden;
    background: #eceae3
}

.project-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s
}

.project-card:hover .project-card-photo img {
    transform: scale(1.035)
}

.project-card-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    background: #fffffff0;
    color: #333;
    font-size: 22px
}

.project-tour-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fffffff2;
    color: #333;
    padding: 9px 14px;
    border-radius: 30px;
    font-size: 11px;
    letter-spacing: .03em
}

.project-card-copy {
    padding-top: 24px
}

.project-card-copy .projects-kicker {
    margin-bottom: 10px;
    font-size: 10px
}

.project-card h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 31px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 10px
}

.project-card h3 a {
    color: var(--pj-ink);
    text-decoration: none
}

.project-card-copy p {
    font-size: 12px;
    line-height: 1.7;
    color: var(--pj-muted);
    margin: 0
}

.project-card-copy .project-card-summary {
    font-size: 13px;
    margin-top: 12px;
    max-width: 540px
}

.projects-pagination {
    display: flex;
    justify-content: center;
    gap: 35px;
    align-items: center;
    margin-top: 55px;
    font-size: 13px
}

.projects-pagination a {
    color: var(--pj-ink)
}

.projects-cta {
    padding: 40px 8%;
    text-align: center;
    background: var(--pj-paper)
}

.projects-cta h2 {
    font-size: clamp(45px, 4.5vw, 70px);
    margin-bottom: 30px
}

.projects-cta>div {
    /* max-width: 600px; */
    margin: 0 auto 25px;
    color: var(--pj-muted);
    line-height: 1.8
}

.projects-primary-link {
    display: inline-flex;
    gap: 45px;
    background: var(--pj-ink);
    color: #fff;
    text-decoration: none;
    padding: 18px 26px;
    font-size: 13px
}

.projects-primary-link:hover {
    background: #414a40;
    color: white
}

.projects-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px
}

.projects-empty h3 {
    font: 38px Georgia, serif
}

.projects-empty p {
    color: var(--pj-muted)
}

.project-story-header {
    /* max-width: 1100px; */
    margin: auto;
    padding: 60px 0 55px;
    text-align: center
}

.project-story-header>.projects-text-link {
    margin: 0 0 40px
}

.project-story-header h1 {
    font-size: clamp(48px, 5.5vw, 82px)
}

.project-story-header>p {
    /* max-width: 650px; */
    margin: 0 auto;
    color: var(--pj-muted);
    line-height: 1.8;
    font-size: 16px
}

.project-story-meta {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    font-size: 12px;
    color: var(--pj-muted)
}

.project-story-meta a {
    color: var(--pj-gold)
}

.project-story-cover {
    margin: 0 4%;
    height: min(75vw, 660px)
}

.project-story-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.project-story-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 12%;
    padding: 90px 10%;
    align-items: start
}

.project-prose {
    font-size: 15px;
    line-height: 1.9;
    color: var(--pj-muted);
    margin-top: 25px
}

.project-prose p {
    font: inherit;
    line-height: inherit;
    color: inherit
}

.project-prose img {
    max-width: 100%;
    height: auto
}

.project-prose table {
    width: 100%;
    border-collapse: collapse
}

.project-prose td {
    padding: 10px;
    border: 1px solid #ddd
}

.project-facts {
    margin: 0
}

.project-facts>div {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    padding: 17px 0;
    border-bottom: 1px solid #e2e3db;
    gap: 20px
}

.project-facts dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--pj-muted)
}

.project-facts dd {
    font-size: 14px;
    margin: 0
}

.project-story-chapters {
    padding: 0 10% 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px
}

.project-story-chapters h2 {
    font-size: 38px
}

.project-story-chapters ul {
    padding-left: 18px;
    color: var(--pj-muted);
    font-size: 14px;
    line-height: 2
}

.project-gallery-section,
.project-tour-section {
    padding: 70px 7%;
    background: var(--pj-paper)
}

.project-story-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px 25px
}

.project-story-gallery figure {
    margin: 0
}

.project-story-gallery figure:nth-child(3n) {
    grid-column: 1/-1
}

.project-gallery-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    position: relative;
    cursor: zoom-in;
    aspect-ratio: 1.3
}

.project-gallery-open img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.project-story-gallery figure:nth-child(3n) .project-gallery-open {
    aspect-ratio: 2
}

.project-gallery-open>span:not(.floor-plan-zoom-pill):not(.gallery-zoom-pill) {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    color: #333
}

.project-story-gallery figcaption {
    font-size: 12px;
    margin-top: 12px;
    color: var(--pj-muted)
}

.project-tour-section {
    background: #fff
}

.project-panorama {
    position: relative;
    height: 520px;
    background: #202820;
    overflow: hidden
}

.project-panorama canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    touch-action: none;
    cursor: grab;
    visibility: hidden
}

.project-panorama canvas:active {
    cursor: grabbing
}

.project-panorama.ready canvas {
    visibility: visible
}

.project-panorama-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.project-panorama.ready .project-panorama-fallback {
    visibility: hidden
}

.project-panorama-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px;
    background: linear-gradient(transparent, #000b);
    color: #fff;
    font-size: 12px
}

.project-panorama-controls button {
    border: 1px solid #ffffff70;
    border-radius: 30px;
    padding: 9px 16px;
    background: #0005;
    color: #fff;
    cursor: pointer
}

.project-hosted-tour {
    margin-top: 25px
}

.project-hosted-tour iframe {
    display: block;
    width: 100%;
    height: 520px;
    border: 0;
    background: #eee
}

.project-finishes {
    padding-top: 70px
}

.projects-related .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 35px
}

.projects-related .project-card h3 {
    font-size: 25px
}

.project-preview-notice {
    padding: 12px;
    text-align: center;
    background: #fffbeb;
    color: #7a5019;
    font-size: 13px
}

.project-preview-notice a {
    color: inherit
}

.project-lightbox {
    border: 0;
    background: #182019;
    color: white;
    max-width: none;
    max-height: none;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    padding: 50px;
    box-sizing: border-box
}

.project-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px
}

.project-lightbox::backdrop {
    background: #000d
}

.project-lightbox figure {
    margin: 0;
    max-width: 85vw;
    max-height: 90vh;
    text-align: center
}

.project-lightbox img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    margin: auto
}

.project-lightbox figcaption {
    font-size: 13px;
    padding: 16px;
    max-width: 700px;
    margin: auto
}

.project-lightbox button {
    background: transparent;
    color: white;
    border: 1px solid #ffffff55;
    border-radius: 50%;
    min-width: 42px;
    height: 42px;
    font-size: 22px;
    cursor: pointer
}

.project-lightbox [data-gallery-close] {
    position: absolute;
    right: 22px;
    top: 20px
}

@media(max-width:850px) {
    .projects-hero {
        grid-template-columns: 1fr
    }

    .projects-hero-copy {
        padding: 65px 8%
    }

    .projects-hero-visual {
        min-height: auto
    }

    .projects-section,
    .projects-related {
        padding: 60px 7%
    }

    .projects-section-heading {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-bottom: 24px;
        margin-bottom: 28px;
    }

    .projects-heading-right {
        max-width: 100%;
    }

    .project-story-intro {
        gap: 40px;
        padding: 60px 7%
    }

    .project-story-chapters {
        gap: 35px;
        padding: 0 7% 60px
    }

    .project-panorama,
    .project-hosted-tour iframe {
        height: 400px
    }

    .projects-related .projects-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:580px) {

    .projects-grid,
    .project-story-intro,
    .project-story-chapters,
    .project-story-gallery,
    .projects-related .projects-grid {
        grid-template-columns: 1fr
    }

    .projects-hero-visual {
        min-height: auto
    }

    .projects-grid {
        gap: 35px
    }

    .project-story-header {
        padding: 40px 7%
    }

    .project-story-cover {
        margin: 0;
        height: 400px
    }

    .project-story-intro {
        padding: 45px 7%
    }

    .project-story-chapters {
        padding: 0 7% 50px
    }

    .project-gallery-section,
    .project-tour-section {
        padding: 50px 6%
    }

    .project-story-gallery figure:nth-child(3n) {
        grid-column: auto
    }

    .project-story-gallery figure:nth-child(3n) .project-gallery-open {
        aspect-ratio: 1.3
    }

    .project-lightbox {
        padding: 50px 10px;
        gap: 6px
    }

    .project-lightbox button {
        min-width: 32px;
        height: 32px
    }

    .project-panorama-controls {
        flex-wrap: wrap
    }

    .project-panorama,
    .project-hosted-tour iframe {
        height: 340px
    }

    .projects-cta {
        padding: 45px 7%
    }
}

.project-prose {
    overflow-wrap: anywhere;
    overflow-x: auto
}

.project-summary {
    max-width: 750px;
    margin: 24px auto;
    color: var(--pj-muted);
    line-height: 1.8
}

.project-prose img {
    max-width: 100%;
    height: auto
}

.project-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0
}

.project-prose th,
.project-prose td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left
}

.project-prose blockquote {
    border-left: 3px solid var(--pj-gold);
    padding-left: 20px;
    margin: 20px 0
}

.project-prose pre {
    white-space: pre-wrap;
    background: #f6f4ee;
    padding: 16px
}

.project-prose li[data-list="bullet"] {
    list-style-type: disc
}

.project-prose li[data-list="ordered"] {
    list-style-type: decimal
}

/* ============================================================
   PORTFOLIO DETAIL COMPLETE LUXURY REFINEMENT & RESPONSIVE SUITE
   ============================================================ */

/* Breadcrumbs */
.project-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #8c8275;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.project-breadcrumb a {
    color: #8c8275;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.project-breadcrumb a:hover {
    color: #9a6f2c;
}

.project-breadcrumb .sep {
    color: #d1c7bc;
    font-size: 11px;
}

.project-breadcrumb span:last-child {
    color: #1f2421;
    font-weight: 600;
}

/* Hero Badge & Header */
.project-story-header {
    /* max-width: 1100px; */
    margin: 0 auto;
    padding: 60px 8% 50px;
    text-align: center;
}

.project-hero-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 999px;
    background: #fbf7f0;
    border: 1px solid #ebdcc9;
    color: #9a6f2c;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.project-story-header h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(38px, 4.8vw, 68px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: #1a1e1b;
    margin: 0 0 22px;
}

.project-story-header .project-summary {
    /* max-width: 720px; */
    margin: 0 auto;
    color: #4b544b;
    font-size: 16px;
    line-height: 1.8;
}

/* Meta Pills */
.project-story-meta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.project-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e4ddd2;
    color: #2b322c;
    font-size: 13.5px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.project-meta-pill i {
    color: #a8844c;
    font-size: 13px;
}

.project-meta-pill-360 {
    background: #fdfaf3;
    border-color: #dcc8a8;
    color: #8c6020;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.project-meta-pill-360:hover {
    background: #a8844c;
    color: #ffffff;
    border-color: #a8844c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 132, 76, 0.25);
}

.project-meta-pill-360:hover i {
    color: #ffffff;
}

/* Cover Frame */
.project-story-cover {
    max-width: 1240px;
    margin: 0 auto 20px;
    padding: 0 6%;
    height: clamp(340px, 48vw, 660px);
    box-sizing: border-box;
}

.project-story-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.09);
    border: 1px solid #ede8e0;
}

/* Section: Project Concept & Facts */
.project-story-intro {
    max-width: 1240px;
    margin: 0 auto;
    padding: 30px 6%;
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 60px;
    align-items: start;
    box-sizing: border-box;
}

.project-story-intro h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(32px, 3.2vw, 44px);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #1a1e1b;
    margin: 0 0 24px;
}

.project-story-intro .project-prose {
    font-size: 15.5px;
    line-height: 1.9;
    color: #3f473f;
}

/* Facts Card */
.project-facts {
    background: #faf8f5;
    border: 1px solid #eee8e0;
    border-radius: 16px;
    padding: 34px 30px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.project-facts>div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 12px;
    border-bottom: 1px solid #ede8e0;
    font-size: 13.5px;
    gap: 16px;
}

.project-facts>div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-facts dt {
    color: #6e766c;
    font-weight: 500;
    white-space: nowrap;
}

.project-facts dd {
    margin: 0;
    font-weight: 600;
    color: #1a1e1b;
    text-align: right;
}

/* Section Headings */
.projects-section-heading {
    max-width: 1240px;
    margin: 0 auto 36px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.projects-section-heading h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(32px, 3.2vw, 44px);
    font-weight: 500;
    line-height: 1.15;
    color: #1a1e1b;
    margin: 0;
}

.projects-section-heading p {
    color: #616a5f;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
    max-width: 480px;
}

/* Narrative Cards */
.project-narrative-section {
    padding: 30px 6%;
    background: #ffffff;
    max-width: 1240px;
    margin: 0 auto;
    box-sizing: border-box;
}

.project-narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.narrative-card {
    background: #faf8f5;
    border: 1px solid #eee8e0;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.narrative-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee8e0;
}

.narrative-number {
    font-size: 24px;
    font-weight: 700;
    color: #a8844c;
    font-family: 'Cormorant Garamond', Georgia, serif;
    line-height: 1;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #ebdcc9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(168, 132, 76, 0.12);
}

.narrative-kicker {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #a8844c;
    margin-bottom: 4px;
}

.narrative-card-header h3 {
    font-size: 21px;
    font-weight: 600;
    color: #1a1e1b;
    margin: 0;
    font-family: inherit;
    line-height: 1.3;
}

.narrative-prose {
    font-size: 15px;
    line-height: 1.9;
    color: #3f473f;
}

.narrative-prose p {
    margin: 0 0 16px;
}

.narrative-prose p:last-child {
    margin: 0;
}

/* ============================================================
   GALLERY SECTION WITH HIGH-CONTRAST CAPTIONS & ZOOM HOVER
   ============================================================ */
.project-gallery-section {
    padding: 85px 6%;
    background: #fdfcfb;
    border-top: 1px solid #eee8e0;
    border-bottom: 1px solid #eee8e0;
    box-sizing: border-box;
}

.project-story-gallery {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.gallery-card {
    background: #ffffff;
    border: 1px solid #e8e2d8;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.09);
    border-color: #d8cebf;
}

.gallery-card.featured-span {
    grid-column: 1 / -1;
}

.gallery-media-btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #181d19;
    cursor: zoom-in;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.gallery-card.featured-span .gallery-media-btn {
    aspect-ratio: 2.1 / 1;
}

.gallery-media-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}

.gallery-card:hover .gallery-media-btn img {
    transform: scale(1.04);
}

.gallery-media-btn .gallery-zoom-pill {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    color: #1a1e1b;
    border: 1px solid #dcd5ca;
    padding: 7px 16px;
    border-radius: 999px !important;
    width: auto !important;
    height: auto !important;
    white-space: nowrap !important;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.gallery-card:hover .gallery-zoom-pill {
    background: #a8844c;
    color: #ffffff;
    border-color: #a8844c;
}

/* Gallery Caption - Clear, high contrast typography */
.gallery-caption-box {
    padding: 18px 22px 20px;
    background: #ffffff;
    border-top: 1px solid #f0eae1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.gallery-caption-box i {
    color: #a8844c;
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
}

.gallery-caption-text {
    font-size: 14px;
    font-weight: 500;
    color: #242b25;
    line-height: 1.55;
    margin: 0;
}

/* ============================================================
   SPECIFICATIONS & FINISHES (MATERIALS & SERVICES)
   ============================================================ */
.project-specs-section {
    padding: 85px 6%;
    background: #faf8f5;
    border-top: 1px solid #eee8e0;
    border-bottom: 1px solid #eee8e0;
    box-sizing: border-box;
}

.project-specs-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.project-spec-card {
    background: #ffffff;
    border: 1px solid #e8e2d8;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.spec-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0eae1;
}

.spec-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fdfaf3;
    border: 1px solid #ebdcc9;
    color: #a8844c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(168, 132, 76, 0.1);
}

.spec-card-kicker {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #a8844c;
    margin-bottom: 4px;
}

.spec-card-header h3 {
    font-size: 21px;
    font-weight: 600;
    color: #1a1e1b;
    margin: 0;
    font-family: inherit;
}

.spec-pill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fbf9f6;
    border: 1px solid #e4ddd2;
    border-radius: 8px;
    padding: 9px 15px;
    font-size: 13.5px;
    font-weight: 500;
    color: #242c25;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.spec-pill i {
    color: #a8844c;
    font-size: 11.5px;
}

.spec-pill:hover {
    border-color: #a8844c;
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   CALL TO ACTION SECTION & LUXURY BUTTONS
   ============================================================ */
.projects-cta {
    padding: 90px 6%;
    background: #faf8f5;
    text-align: center;
    box-sizing: border-box;
}

.projects-cta-box {
    /* max-width: 820px; */
    margin: 0 auto;
}

.projects-cta h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: #1a1e1b;
    margin: 0 0 18px;
    text-wrap: balance;
}

.projects-cta p.cta-desc {
    color: #555e54;
    font-size: 15.5px;
    line-height: 1.8;
    margin: 0 auto 36px;
    max-width: 620px;
}

.portfolio-cta-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.portfolio-btn-primary {
    height: 54px;
    padding: 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    background: #1a1e1b;
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none !important;
    border: 1.5px solid #1a1e1b;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.portfolio-btn-primary:hover {
    background: #a8844c;
    border-color: #a8844c;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 132, 76, 0.3);
}

.portfolio-btn-whatsapp {
    height: 54px;
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    background: #ffffff;
    color: #15803d !important;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none !important;
    border: 1.5px solid #22c55e;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.1);
    transition: all 0.25s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.portfolio-btn-whatsapp i {
    font-size: 19px;
    color: #22c55e;
    transition: color 0.25s ease;
}

.portfolio-btn-whatsapp:hover {
    background: #22c55e;
    color: #ffffff !important;
    border-color: #22c55e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.portfolio-btn-whatsapp:hover i {
    color: #ffffff;
}

/* ============================================================
   RESPONSIVE LAYOUT OPTIMIZATIONS
   ============================================================ */
@media (max-width: 991px) {
    .project-story-intro {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 6%;
    }

    .project-narrative-grid,
    .project-specs-grid,
    .project-story-gallery {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .gallery-card.featured-span {
        grid-column: auto;
    }

    .gallery-card.featured-span .gallery-media-btn {
        aspect-ratio: 16 / 10;
    }

    .projects-cta {
        padding: 65px 6%;
    }
}

@media (max-width: 640px) {
    .project-story-header {
        padding: 40px 5% 35px;
    }

    .project-story-cover {
        padding: 0 4%;
        height: 60vw;
    }

    .project-story-meta {
        gap: 8px;
    }

    .project-meta-pill {
        padding: 6px 13px;
        font-size: 12px;
    }

    .narrative-card,
    .project-spec-card {
        padding: 26px 20px;
    }

    .portfolio-cta-btn-group {
        flex-direction: column;
        width: 100%;
    }

    .portfolio-btn-primary,
    .portfolio-btn-whatsapp {
        width: 100%;
    }
}