.project-section {
    padding: 86px 0
}

.project-section:nth-child(odd) {
    background: var(--soft-bg)
}

.project-status-section {
    padding: 82px 0;
    background: linear-gradient(180deg, var(--soft-bg), #fff)
}

.project-status-intro {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 42px
}

.project-status-intro .section-copy {
    margin: 14px auto 0
}
.logo img {
    width: auto;
    height: 55px;
    max-width: 180px;
    object-fit: contain;
}

.project-status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.project-status-card {
    position: relative;
    display: block;
    min-height: 430px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: var(--primary-navy);
    color: #fff;
    text-align: left;
    cursor: pointer;
    isolation: isolate;
    box-shadow: 0 14px 34px rgba(5, 14, 26, .16);
    transition: transform .4s ease, box-shadow .4s ease
}

.project-status-image,
.project-status-overlay {
    position: absolute;
    inset: 0
}

.project-status-image {
    z-index: -2
}

.project-status-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease
}

.project-status-overlay {
    z-index: -1;
    background: linear-gradient(180deg, rgba(12, 28, 44, .1) 18%, rgba(12, 28, 44, .4) 48%, rgba(12, 28, 44, .94) 100%);
    transition: background .4s ease
}

.project-status-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 430px;
    padding: 28px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end
}

.project-status-number {
    position: absolute;
    top: 28px;
    left: 28px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    box-shadow: 0 5px 16px rgba(0, 0, 0, .15);
    backdrop-filter: blur(8px);
    font: 700 14px 'Playfair Display', serif
}

.project-status-label {
    font: 700 31px 'Playfair Display', serif;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .32)
}

.project-status-copy {
    max-width: 245px;
    margin-top: 8px;
    color: rgba(255, 255, 255, .84);
    font-size: 14px;
    line-height: 1.55
}

.project-status-meta {
    margin-top: 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase
}

.project-status-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase
}

.project-status-link span {
    margin-left: 9px;
    font-size: 18px;
    transition: transform .35s ease
}

.project-status-card:hover,
.project-status-card.is-active {
    transform: translateY(-6px);
    box-shadow: 0 24px 46px rgba(5, 14, 26, .28)
}

.project-status-card:hover .project-status-image img,
.project-status-card.is-active .project-status-image img {
    transform: scale(1.05)
}

.project-status-card:hover .project-status-overlay,
.project-status-card.is-active .project-status-overlay {
    background: linear-gradient(180deg, rgba(12, 28, 44, .2) 18%, rgba(12, 28, 44, .52) 48%, rgba(12, 28, 44, .96) 100%)
}

.project-status-card:hover .project-status-link span,
.project-status-card.is-active .project-status-link span {
    transform: translateX(5px)
}

.project-status-card:focus-visible {
    outline: 3px solid var(--accent-theme);
    outline-offset: 4px
}

.project-section.is-filtered-hidden {
    display: none
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px
}

.project-card .project-image {
    aspect-ratio: 4/3
}

.project-body {
    padding: 22px
}

.project-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 23px;
    margin: 10px 0 3px
}

.location {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 16px
}

.project-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--border);
    padding-top: 15px;
    font-size: 12px;
    color: var(--muted)
}

.project-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 15px 0 20px;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: #475569
}

.project-highlights li::before {
    content: "✓";
    color: var(--accent-theme);
    font-weight: 800;
    margin-right: 6px
}

.status {
    position: absolute;
    top: 15px;
    left: 15px
}

.project-image-wrap {
    position: relative
}

.see-all {
    text-align: center;
    margin-top: 30px
}

.project-card:has(.project-card-overlay) {
    position: relative;
    cursor: pointer
}

.villa-card-description {
    margin: -5px 0 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6
}

.project-card-cta {
    color: var(--primary-navy);
    font-weight: 700;
    white-space: nowrap
}

.project-card-overlay {
    position: absolute;
    z-index: 2;
    inset: 0
    
}

.project-card:has(.project-card-overlay):focus-within {
    outline: 3px solid var(--accent-theme);
    outline-offset: 4px
}

/* Shared project-card rules in global.css keep the Projects and Home cards visually identical. */
@media(max-width:960px) {
    .project-status-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:760px) {
    .project-status-grid {
        grid-template-columns: 1fr
    }

    .project-status-card,
    .project-status-content {
        min-height: 360px
    }

    .project-section {
        padding: 62px 0
    }
}

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

    .project-status-card,
    .project-status-image img,
    .project-status-overlay,
    .project-status-link span {
        transition-duration: .01ms !important
    }
}

/* =========================================
   ABOUT CTA - FINAL DESIGN
========================================= */

.about-cta {
    width: 100%;
    padding: 62px 0;
    background: linear-gradient(115deg, #0b1b2b, #153451);
    color: #fff;
}

/* CTA container */
.about-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
    max-width: 1550px;
    margin: 0 auto;
}

/* Left content */
.about-cta .container > div {
    flex: 1;
    min-width: 0;
}

/* Eyebrow */
.about-cta .eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    color: #d8e0e8 !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1;
    text-transform: uppercase;
}

/* Small line before eyebrow */
.about-cta .eyebrow::before {
    content: "";
    display: block;
    width: 46px;
    height: 1px;
    flex: 0 0 46px;
    background: #d8e0e8;
}

/* CTA Heading */
.about-cta h2 {
    margin: 0 0 22px;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 3.35vw, 40px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

/* CTA Paragraph */
.about-cta p {
    max-width: 980px;
    margin: 0;
    color: #d8e0e8;
    font-size: 15px;
    line-height: 1.2;
}

/* Button */
.about-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 218px;
    min-height: 72px;
    padding: 15px 30px;
    background: #fff;
    color: #0c1c2c;
    border: 0;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        box-shadow .25s ease;
}

/* Button hover */
.about-cta .btn:hover {
    background: #f1f4f7;
    color: #0c1c2c;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
}


/* =========================================
   LARGE LAPTOP
========================================= */

@media (max-width: 1400px) {

    .about-cta {
        padding: 58px 0;
    }

    .about-cta .container {
        max-width: 1200px;
        gap: 40px;
    }

    .about-cta h2 {
        font-size: clamp(36px, 3.3vw, 52px);
    }

    .about-cta p {
        max-width: 850px;
        font-size: 16px;
    }

    .about-cta .btn {
        min-width: 205px;
        min-height: 68px;
    }
}


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

@media (max-width: 1100px) {

    .about-cta {
        padding: 55px 0;
    }

    .about-cta .container {
        gap: 30px;
    }

    .about-cta h2 {
        font-size: 42px;
        white-space: normal;
    }

    .about-cta p {
        font-size: 15px;
        line-height: 1.75;
    }

    .about-cta .btn {
        min-width: 190px;
        min-height: 62px;
        padding: 14px 25px;
    }
}


/* =========================================
   MOBILE / SMALL TABLET
========================================= */

@media (max-width: 800px) {

    .about-cta {
        padding: 55px 0;
    }

    .about-cta .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .about-cta .container > div {
        width: 100%;
    }

    .about-cta .eyebrow {
        margin-bottom: 18px;
    }

    .about-cta h2 {
        font-size: clamp(34px, 7vw, 44px);
        line-height: 1.12;
        white-space: normal;
        margin-bottom: 18px;
    }

    .about-cta p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.75;
    }

    .about-cta .btn {
        align-self: center;
        min-width: 210px;
        min-height: 60px;
        margin-top: 0;
    }
}


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

@media (max-width: 600px) {

    .about-cta {
        padding: 48px 0;
    }

    .about-cta .container {
        gap: 25px;
    }

    .about-cta .eyebrow {
        gap: 10px;
        font-size: 10px;
        letter-spacing: .12em;
    }

    .about-cta .eyebrow::before {
        width: 32px;
        flex-basis: 32px;
    }

    .about-cta h2 {
        font-size: 32px;
        line-height: 1.15;
        letter-spacing: -.025em;
    }

    .about-cta p {
        font-size: 14px;
        line-height: 1.7;
    }

    .about-cta .btn {
        width: auto;
        min-width: 195px;
        min-height: 56px;
        padding: 14px 24px;
        font-size: 15px;
    }
}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .about-cta {
        padding: 42px 0;
    }

    .about-cta h2 {
        font-size: 29px;
    }

    .about-cta p {
        font-size: 13.5px;
    }

    .about-cta .btn {
        min-width: 185px;
        min-height: 54px;
    }
}