/* ==========================================================================
   Major City — site layer on top of the Velux template styles
   (public/css/velux.css). Only additions / Laravel-specific pieces live here.
   ========================================================================== */

/* ---------------------------------------------------------------- header -- */
.site-nav.is-solid {
    background: rgba(17, 32, 27, .96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.site-nav .brand-logo {
    display: block;
    height: 42px;
    width: auto;
}

.site-nav .brand-logo-dark {
    display: none;
}

.site-nav .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.site-nav .brand-text strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .02em;
    color: #f5f1e8;
}

.site-nav .brand-text small {
    font-size: 8.5px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--champagne);
}

.site-nav .nav-links a.is-active {
    color: var(--champagne);
}

.site-nav .nav-cta span {
    color: var(--champagne);
}

.site-nav .nav-phone {
    display: none;
}

@media (min-width: 1100px) {
    .site-nav .nav-phone {
        display: inline-flex;
    }
}

/* mobile drop-down links */
@media (max-width: 900px) {
    .site-nav .nav-links {
        position: fixed;
        inset: 86px 0 auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 14px 30px 26px;
        background: rgba(13, 26, 22, .98);
        border-bottom: 1px solid rgba(255, 255, 255, .09);
        backdrop-filter: blur(18px);
    }

    .site-nav .nav-links.nav-open {
        display: flex;
    }

    .site-nav .nav-links a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        font-size: 14px;
    }

    .site-nav .nav-links a:last-child {
        border-bottom: 0;
    }
}

/* ------------------------------------------------------- inner page hero -- */
.inner-banner {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 430px;
    padding: 150px 0 74px;
    color: var(--cream);
    overflow: hidden;
}

.inner-banner .inner-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-size: cover;
    background-position: center;
}

.inner-banner:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(9, 20, 17, .92), rgba(12, 23, 19, .55) 58%, rgba(9, 20, 17, .2)),
        linear-gradient(0deg, rgba(9, 20, 17, .65), transparent 60%);
}

.inner-banner h1 {
    margin: 18px 0 0;
    font-size: clamp(48px, 6vw, 86px);
    line-height: .9;
    color: var(--cream);
}

.inner-banner .banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 34px;
    margin-top: 28px;
    color: rgba(245, 241, 232, .62);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.inner-banner .banner-meta a {
    color: rgba(245, 241, 232, .62);
}

.inner-banner .banner-meta a:hover {
    color: var(--champagne);
}

.inner-banner .banner-meta .sep {
    color: var(--champagne);
}

/* --------------------------------------------------------------- search -- */
.search-section .search-card {
    box-shadow: 0 40px 90px rgba(22, 36, 32, .08);
}

.search-card .search-heading h2 {
    font-size: clamp(42px, 5vw, 68px);
}

.property-search-form label {
    color: #5d7167;
}

.property-search-form select {
    font-family: "DM Sans", sans-serif;
    color: var(--ink);
}

/* ----------------------------------------------------- collection cards -- */
.project-grid.three-up {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 26px;
}

.project-grid.four-up {
    grid-template-columns: repeat(4, 1fr);
    gap: 38px 22px;
}

.project-card {
    display: flex;
    flex-direction: column;
}

.project-card .project-link-area {
    display: block;
    color: inherit;
}

.project-card .project-image-wrap {
    aspect-ratio: 1.18;
}

.project-card.four-up-card .project-image-wrap {
    aspect-ratio: 1 / 1.05;
}

.project-card .project-status.status-sale {
    border-color: rgba(201, 168, 121, .75);
    color: var(--champagne);
}

.project-card .project-status.status-rent {
    border-color: rgba(145, 168, 147, .7);
    color: #d7e3d7;
}

.project-card .project-status.status-featured {
    background: rgba(201, 168, 121, .9);
    border-color: transparent;
    color: #14211d;
}

.project-card .project-info {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 19px;
}

.project-card .project-info small {
    color: var(--champagne);
    font-size: 13px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.project-card .project-info h3 {
    margin: 7px 0 0;
    font-size: clamp(26px, 2.2vw, 34px);
    line-height: 1.05;
}

.project-card .project-price {
    align-self: end;
    flex-shrink: 0;
    color: rgba(234, 239, 227, .78);
    font-size: 14px;
    letter-spacing: .04em;
    text-align: right;
}

.project-card .project-price strong {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--cream);
    letter-spacing: 0;
}

.project-card .project-details {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: rgba(234, 239, 227, .5);
    font-size: 12.5px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.project-card .project-details span + span {
    padding-left: 14px;
    border-left: 1px solid var(--line);
}

/* light surfaces (creamy listing pages) */
.listing-light .project-card .project-info h3,
.listing-light .project-card .project-info h3 a {
    color: var(--ink);
}

.listing-light .project-card .project-info small {
    color: #7c8f83;
}

.listing-light .project-card .project-price {
    color: #71847a;
}

.listing-light .project-card .project-price strong {
    color: var(--ink);
}

.listing-light .project-card .project-details {
    border-top-color: var(--line-dark);
    color: #81958a;
}

.listing-light .project-card .project-details span + span {
    border-left-color: var(--line-dark);
}

.listing-light .project-card .project-status {
    color: var(--ink);
    border-color: rgba(22, 36, 32, .22);
    background: rgba(243, 239, 230, .82);
}

.listing-light .project-card .project-status.status-sale,
.listing-light .project-card .project-status.status-rent {
    color: #14211d;
}

.listing-light .project-card .project-status.status-featured {
    background: var(--champagne);
    color: #fff;
}

.project-card .round-action {
    font-size: 16px;
    line-height: 1;
}

.project-card .card-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.project-card .card-actions a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid rgba(245, 241, 232, .28);
    color: rgba(245, 241, 232, .86);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: all .25s ease;
}

.project-card .card-actions a:hover {
    background: var(--champagne);
    border-color: var(--champagne);
    color: #14211d;
}

.listing-light .project-card .card-actions a {
    border-color: rgba(22, 36, 32, .22);
    color: var(--ink);
}

.listing-light .project-card .card-actions a:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

/* --------------------------------------------------------- listing page -- */
.listing-section {
    background: var(--cream);
}

.listing-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 46px;
}

.listing-head h2 {
    margin: 12px 0 0;
    font-size: clamp(42px, 5vw, 66px);
}

.listing-head p {
    margin: 14px 0 0;
    color: #71847a;
    font-size: 16px;
    max-width: 520px;
}

.listing-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.filter-panel {
    position: sticky;
    top: 112px;
}

.filter-block {
    padding: 26px 0;
    border-top: 1px solid var(--line-dark);
}

.filter-block:last-child {
    border-bottom: 1px solid var(--line-dark);
}

.filter-block .filter-title {
    display: block;
    margin-bottom: 18px;
    color: #718079;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.filter-block .chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-block .chip-list a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid rgba(22, 36, 32, .16);
    color: #43584d;
    font-size: 12px;
    letter-spacing: .06em;
    transition: all .2s ease;
}

.filter-block .chip-list a:hover,
.filter-block .chip-list a.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

.filter-block .chip-list a span {
    color: var(--champagne);
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.filter-field:last-child {
    margin-bottom: 0;
}

.filter-field label {
    color: #718079;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.filter-field select,
.filter-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(22, 36, 32, .16);
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    outline: none;
    transition: border-color .2s ease;
}

.filter-field select:focus,
.filter-field input:focus {
    border-color: var(--champagne);
}

.filter-field option {
    color: var(--ink);
    background: var(--cream);
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.filter-actions .button {
    width: 100%;
}

.filter-actions .filter-reset {
    color: #71847a;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.filter-actions .filter-reset:hover {
    color: var(--ink);
}

.listing-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-dark);
}

.listing-toolbar .result-count {
    color: #71847a;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.listing-toolbar .result-count strong {
    color: var(--ink);
}

.listing-toolbar .toolbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sort-select {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #71847a;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sort-select select {
    border: 1px solid rgba(22, 36, 32, .16);
    background: transparent;
    color: var(--ink);
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
}

.view-toggle {
    display: flex;
    gap: 6px;
}

.view-toggle button {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border: 1px solid rgba(22, 36, 32, .16);
    color: #71847a;
    transition: all .2s ease;
}

.view-toggle button.is-active,
.view-toggle button:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.active-filters .filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(201, 168, 121, .16);
    border: 1px solid rgba(201, 168, 121, .4);
    color: #5f5033;
    font-size: 11.5px;
    letter-spacing: .05em;
}

.active-filters .filter-chip button {
    color: inherit;
    font-size: 13px;
    line-height: 1;
}

.empty-state {
    padding: 56px 30px;
    border: 1px dashed rgba(22, 36, 32, .24);
    text-align: center;
    color: #71847a;
}

.empty-state h3 {
    margin: 16px 0 8px;
    font-size: 34px;
    color: var(--ink);
}

.empty-state p {
    margin: 0 auto 22px;
    max-width: 380px;
    font-size: 15px;
    line-height: 1.7;
}

/* list view */
.project-grid.is-list {
    grid-template-columns: 1fr;
    gap: 26px;
}

.project-grid.is-list .project-card {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 0 30px;
    align-items: center;
}

.project-grid.is-list .project-card .project-link-area {
    grid-row: span 3;
}

.project-grid.is-list .project-card .project-image-wrap {
    aspect-ratio: 1.35;
}

.project-grid.is-list .project-card .project-details {
    margin-top: 6px;
}

/* ----------------------------------------------------------- pagination -- */
.mc-pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 50px;
    padding-top: 26px;
    border-top: 1px solid var(--line-dark);
}

.mc-pagination a,
.mc-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(22, 36, 32, .16);
    color: #43584d;
    font-size: 12.5px;
    letter-spacing: .06em;
    transition: all .2s ease;
}

.mc-pagination a:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.mc-pagination .is-current {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
}

.mc-pagination .is-disabled {
    opacity: .35;
    pointer-events: none;
}

/* -------------------------------------------------------------- services -- */
.service-row.service-link {
    text-decoration: none;
    color: inherit;
}

.service-row .service-cta {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(201, 168, 121, .5);
    border-radius: 50%;
    color: #21362f;
    justify-self: end;
    transition: all .3s var(--ease-out);
}

.service-row:hover .service-cta {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--cream);
    transform: rotate(45deg);
}

/* --------------------------------------------------------------- numbers -- */
.counter-grid strong {
    font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------- testimonials -- */
.testimonial-section .testimonial-controls button {
    font-size: 15px;
}

/* ------------------------------------------------------------- amenities -- */
.amenities-grid.amenity-grid-eight {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.amenities-section .amenity-tile {
    border: 1px solid rgba(234, 239, 227, .13);
    background: rgba(255, 255, 255, .055);
}

.amenities-section .amenity-tile:hover {
    border-color: rgba(201, 168, 121, .6);
    background: rgba(255, 255, 255, .09);
}

.amenity-tile .amenity-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border: 1px solid rgba(201, 168, 121, .4);
    border-radius: 50%;
    color: var(--champagne);
    background: rgba(201, 168, 121, .1);
    font-size: 20px;
}

.amenity-tile h3 {
    margin-bottom: 0;
}

.amenities-section .amenity-tile p {
    margin: 10px 0 0;
    color: rgba(234, 239, 227, .58);
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .amenities-grid.amenity-grid-eight {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .amenities-grid.amenity-grid-eight {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------------- forms -- */
.form-error {
    color: #a4442f;
    font-size: 12px;
    letter-spacing: .02em;
    text-transform: none;
    margin-top: -4px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    margin: 4px 0 0;
    padding: 12px 16px;
    background: rgba(145, 168, 147, .18);
    border: 1px solid rgba(80, 116, 89, .35);
    color: #2f5340;
    font-size: 14px;
}

.form-success.show,
.form-success.is-visible {
    display: flex;
}

.contact-form-wrap .button {
    cursor: pointer;
}

/* --------------------------------------------------------------- footer -- */
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1.4fr;
    gap: 48px;
    padding: 78px 0 54px;
}

.site-footer .footer-brand .brand-mark {
    margin-bottom: 22px;
}

.site-footer .footer-brand p {
    max-width: 320px;
    color: rgba(234, 239, 227, .58);
    font-size: 14px;
    line-height: 1.8;
}

.site-footer .footer-title {
    margin: 4px 0 20px;
    color: var(--champagne);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.site-footer .footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    color: rgba(234, 239, 227, .6);
    font-size: 14px;
}

.site-footer .footer-list a {
    color: rgba(234, 239, 227, .6);
    transition: color .2s ease;
}

.site-footer .footer-list a:hover {
    color: var(--champagne);
}

.site-footer .footer-news input {
    width: 100%;
    padding: 11px 0;
    border: 0;
    border-bottom: 1px solid rgba(234, 239, 227, .22);
    background: transparent;
    color: var(--cream);
    font-size: 14px;
    outline: none;
}

.site-footer .footer-news input:focus {
    border-bottom-color: var(--champagne);
}

.site-footer .footer-news input::placeholder {
    color: rgba(234, 239, 227, .4);
}

.site-footer .footer-news button {
    margin-top: 18px;
    min-height: 44px;
    padding: 0 20px;
    background: var(--champagne);
    color: #14211d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition: background .2s ease;
}

.site-footer .footer-news button:hover {
    background: var(--cream);
}

.site-footer .footer-social {
    display: flex;
    gap: 14px;
    margin-top: 22px;
    color: rgba(234, 239, 227, .6);
}

.site-footer .footer-social a {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border: 1px solid rgba(234, 239, 227, .18);
    border-radius: 50%;
    font-size: 13px;
    transition: all .25s ease;
}

.site-footer .footer-social a:hover {
    background: var(--champagne);
    border-color: var(--champagne);
    color: #14211d;
}

/* ---------------------------------------------------------- about page --- */
.about-rich p {
    color: #5d7167;
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-media-figure {
    position: relative;
}

.about-media-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-media-figure figcaption {
    position: absolute;
    left: 24px;
    bottom: 22px;
    padding: 14px 20px;
    background: rgba(16, 33, 29, .86);
    color: var(--cream);
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    line-height: 1.15;
    backdrop-filter: blur(6px);
}

.value-card {
    height: 100%;
    padding: 34px 30px;
    border: 1px solid rgba(22, 36, 32, .13);
    background: rgba(255, 255, 255, .28);
}

.value-card .value-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border: 1px solid rgba(201, 168, 121, .55);
    border-radius: 50%;
    color: #6d5a36;
    font-size: 19px;
}

.value-card h3 {
    margin: 0 0 12px;
    font-size: 30px;
}

.value-card p {
    margin: 0;
    color: #71847a;
    font-size: 14.5px;
    line-height: 1.75;
}

.credential-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-dark);
}

.credential-row:last-child {
    border-bottom: 0;
}

.credential-row i {
    color: var(--champagne);
    font-size: 17px;
    margin-top: 4px;
}

.credential-row h4 {
    margin: 0 0 4px;
    font-family: "Cormorant Garamond", serif;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.credential-row p {
    margin: 0;
    color: #71847a;
    font-size: 14px;
    line-height: 1.7;
}

/* ------------------------------------------------------------ contact ---- */
.contact-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.contact-tile {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    height: 100%;
    padding: 26px 24px;
    border: 1px solid rgba(22, 36, 32, .13);
    background: rgba(255, 255, 255, .28);
}

.contact-tile .tile-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(201, 168, 121, .5);
    border-radius: 50%;
    color: #6d5a36;
    font-size: 15px;
}

.contact-tile h4 {
    margin: 0 0 5px;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #71847a;
}

.contact-tile p,
.contact-tile a {
    margin: 0;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.6;
}

.contact-tile a:hover {
    color: #8f6f3e;
}

/* ---------------------------------------------------- service detail ----- */
.service-aside {
    position: sticky;
    top: 112px;
    padding: 32px 30px;
    border: 1px solid rgba(22, 36, 32, .13);
    background: rgba(255, 255, 255, .3);
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 11px;
    padding: 10px 0;
    color: #5d7167;
    font-size: 14px;
    line-height: 1.65;
}

.check-list li i {
    margin-top: 4px;
    color: var(--champagne);
    font-size: 12px;
}

/* -------------------------------------------------------------- helpers -- */
.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0 !important;
}

.w-100 {
    width: 100%;
}

[wire\:loading] {
    opacity: .6;
}

.listing-section .button[disabled] {
    opacity: .6;
    pointer-events: none;
}

/* Hide jQuery-era legacy bits if any view still emits them */
.preloader,
.scroll-top-vertical {
    display: none !important;
}

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 1100px) {
    .listing-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .filter-panel {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 30px;
        padding: 10px 0;
    }

    .filter-block {
        padding: 18px 0;
    }

    .project-grid.four-up {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .contact-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .project-grid,
    .project-grid.three-up,
    .project-grid.four-up {
        grid-template-columns: repeat(2, 1fr);
        gap: 34px 20px;
    }

    .project-grid.is-list .project-card {
        grid-template-columns: 1fr;
    }

    .project-grid.is-list .project-card .project-link-area {
        grid-row: auto;
    }

    .inner-banner {
        min-height: 360px;
        padding: 130px 0 56px;
    }
}

@media (max-width: 640px) {
    .project-grid,
    .project-grid.three-up,
    .project-grid.four-up {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .filter-panel {
        grid-template-columns: 1fr;
    }

    .contact-tiles {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 56px 0 36px;
    }

    .listing-head {
        margin-bottom: 30px;
    }

    .site-nav .nav-inner {
        height: 74px;
    }

    .inner-banner {
        border-bottom: 0;
    }

    .project-card .project-info h3 {
        font-size: 27px;
    }
}

/* ---------------------------------------------------- late additions ----- */
.site-nav .brand-logo {
    height: 52px;
}

.site-footer .brand-logo {
    height: 64px;
    width: auto;
}

.image-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: linear-gradient(135deg, #dcd5c6, #cfc6b3);
    color: rgba(22, 36, 32, .32);
    font-size: 42px;
}

.listing-light .heading-side p {
    color: #71847a;
}

.inner-banner .eyebrow {
    color: rgba(234, 239, 227, .74);
}

.inner-banner .button {
    margin-top: 30px;
}

@media (max-width: 1280px) {
    .site-nav .nav-cta.nav-phone {
        display: none;
    }
}

@media (max-width: 900px) {
    .site-nav .brand-logo {
        height: 44px;
    }
}

@media (max-width: 640px) {
    .site-nav .nav-cta {
        display: none;
    }
}

.listing-cta {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 900px) {
    .listing-cta {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

/* ---------------------------------------------------- intro orbit fix ---- */
.intro-art {
    min-height: 310px;
}

.intro-art .art-caption {
    max-width: 190px;
}

.intro-art .art-orbit {
    left: 14%;
}

/* ------------------------------------------------------------- map fix ---- */
.map-frame {
    background: linear-gradient(135deg, #e9e5db, #dcd7ca);
}

/* ---------------------------------------------- listings card tightening -- */
.listing-section .project-card .project-info {
    flex-direction: column;
    gap: 2px;
}

.listing-section .project-card .project-info h3 {
    font-size: clamp(25px, 2vw, 30px);
    line-height: 1.08;
}

.listing-section .project-card .project-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    align-self: flex-start;
    text-align: left;
    margin-top: 6px;
}

.listing-section .project-card .project-price strong {
    font-size: 22px;
}

.listing-section .project-card .project-status.status-featured {
    right: 16px !important;
}

@media (max-width: 900px) {
    .listing-section .project-card .project-info h3 {
        font-size: 26px;
    }
}

.listing-section .project-card .project-status {
    padding: 7px 11px;
    font-size: 10px;
    letter-spacing: .14em;
}

/* ---------------------------------------------- film modal + player ----- */
.video-modal-inner video {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: contain;
}

.video-modal-inner > button {
    cursor: pointer;
    background: none;
    border: 0;
    line-height: 1;
}

.video-inner .video-play {
    cursor: pointer;
    background: transparent;
}

.video-inner .video-play:focus-visible {
    outline: 2px solid var(--champagne);
    outline-offset: 4px;
}

/* ---------------------------------------------------------- legal pages -- */
.legal-section {
    padding-top: 96px;
    padding-bottom: 120px;
}

.legal-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 780px);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
    justify-content: space-between;
}

.legal-aside {
    position: sticky;
    top: 122px;
}

.legal-toc {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(22, 36, 32, .16);
}

.legal-toc-title {
    padding: 16px 0 12px;
    color: #7a8b82;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.legal-toc a {
    position: relative;
    padding: 8px 0 8px 18px;
    border-top: 1px solid rgba(22, 36, 32, .09);
    color: #3f5349;
    font-size: 13px;
    line-height: 1.45;
    transition: color .2s ease, padding-left .2s ease;
}

.legal-toc a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
    border-radius: 50%;
    background: rgba(201, 168, 121, .55);
    transition: background .2s ease, transform .2s ease;
}

.legal-toc a:hover {
    padding-left: 22px;
    color: var(--ink);
}

.legal-toc a:hover::before {
    background: var(--champagne);
    transform: scale(1.3);
}

.legal-lead {
    max-width: 720px;
    margin: 0 0 46px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(22, 36, 32, .14);
    color: #33473d;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(23px, 2.4vw, 30px);
    line-height: 1.45;
}

.legal-content {
    counter-reset: legal-section;
}

.legal-content h2 {
    position: relative;
    margin: 54px 0 16px;
    padding-top: 22px;
    border-top: 1px solid rgba(22, 36, 32, .1);
    color: var(--ink);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(30px, 3.2vw, 40px);
    line-height: 1.05;
    scroll-margin-top: 120px;
    counter-increment: legal-section;
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.legal-content h2::before {
    display: block;
    margin-bottom: 6px;
    color: #b08a54;
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    content: counter(legal-section, decimal-leading-zero);
}

.legal-content h3 {
    margin: 30px 0 10px;
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.legal-content p {
    margin: 0 0 18px;
    color: #54675d;
    font-size: 16px;
    line-height: 1.85;
}

.legal-content ul {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.legal-content li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 22px;
    color: #54675d;
    font-size: 15.5px;
    line-height: 1.8;
}

.legal-content li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 2px;
    width: 6px;
    height: 6px;
    border: 1px solid #c9a879;
    border-radius: 50%;
}

.legal-content a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: rgba(201, 168, 121, .7);
    text-underline-offset: 3px;
}

.legal-content a:hover {
    color: #9b7843;
}

.legal-content strong {
    color: var(--ink);
    font-weight: 600;
}

.legal-related {
    margin-top: 42px !important;
    padding-top: 26px;
    border-top: 1px solid rgba(22, 36, 32, .14);
    color: #71847a !important;
    font-size: 13px !important;
    letter-spacing: .04em;
}

.legal-help {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    margin-top: 64px;
    padding: clamp(30px, 4vw, 48px);
    background: var(--ink);
    color: var(--cream);
}

.legal-help h2 {
    margin: 14px 0 0;
    color: var(--cream);
    font-size: clamp(34px, 4vw, 48px);
    line-height: .95;
}

.legal-help p {
    margin-bottom: 0;
    color: rgba(243, 239, 230, .66);
    font-size: 15px;
    line-height: 1.75;
}

.legal-help .legal-help-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 18px;
}

.legal-help .legal-help-links a {
    color: var(--champagne);
    font-size: 14px;
    letter-spacing: .03em;
}

.legal-help .legal-help-links .text-link {
    margin-top: 8px;
    color: var(--cream);
}

.legal-help .legal-help-links .text-link span {
    color: var(--champagne);
}

.form-consent {
    margin: 14px 0 0;
    color: #7a8b82;
    font-size: 11.5px;
    line-height: 1.6;
}

.form-consent a {
    color: #4f635a;
    text-decoration: underline;
    text-decoration-color: rgba(201, 168, 121, .7);
    text-underline-offset: 2px;
}

.form-consent a:hover {
    color: var(--ink);
}

@media (max-width: 900px) {
    .legal-section {
        padding-top: 64px;
        padding-bottom: 90px;
    }

    .legal-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .legal-aside {
        position: static;
    }

    .legal-toc {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        border-top: 0;
    }

    .legal-toc-title {
        width: 100%;
        padding: 0 0 4px;
    }

    .legal-toc a {
        padding: 7px 11px;
        border: 1px solid rgba(22, 36, 32, .14);
        font-size: 11px;
        letter-spacing: .04em;
    }

    .legal-toc a::before {
        display: none;
    }

    .legal-toc a:hover {
        padding-left: 11px;
        border-color: rgba(201, 168, 121, .6);
    }

    .legal-help {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 48px;
    }
}

@media (max-width: 640px) {
    .legal-lead {
        margin-bottom: 34px;
        padding-bottom: 26px;
        font-size: 22px;
    }

    .legal-content h2 {
        margin-top: 42px;
    }

    .legal-content p {
        font-size: 15.5px;
    }

    .legal-content li {
        font-size: 15px;
    }
}

.footer-links .footer-links-sep {
    color: rgba(201, 168, 121, .45);
    font-size: 12px;
    align-self: center;
}

/* ---------------------------------------------------------------- map -- */
.map-canvas {
    width: 100%;
    height: 100%;
    min-height: 420px;
    background:
        radial-gradient(circle at 62% 46%, rgba(201, 168, 121, .22), transparent 42%),
        linear-gradient(135deg, #e9e5db, #dcd7ca);
}

.map-canvas.leaflet-container {
    font-family: "DM Sans", sans-serif;
    background: linear-gradient(135deg, #e9e5db, #dcd7ca);
}

.map-canvas .leaflet-tile-pane {
    filter: grayscale(.9) sepia(.16) hue-rotate(85deg) saturate(.7);
}

.map-canvas .leaflet-control-zoom {
    margin: 18px 0 0 18px;
    border: 0;
    border-radius: 0;
    box-shadow: 0 10px 26px rgba(9, 20, 17, .18);
}

.map-canvas .leaflet-control-zoom a {
    width: 34px;
    height: 34px;
    border: 0;
    border-bottom: 1px solid rgba(22, 36, 32, .1);
    color: var(--ink);
    background: rgba(243, 239, 230, .94);
    font: 400 18px/34px "DM Sans", sans-serif;
}

.map-canvas .leaflet-control-zoom a:hover {
    color: #9b7843;
    background: #f3efe6;
}

.map-canvas .leaflet-control-attribution {
    padding: 4px 8px;
    color: #6d7d74;
    background: rgba(243, 239, 230, .86);
    font-size: 9.5px;
    letter-spacing: .02em;
}

.map-canvas .leaflet-control-attribution a {
    color: #4f635a;
    text-decoration: underline;
    text-decoration-color: rgba(201, 168, 121, .7);
}

.map-marker-wrap {
    background: none;
    border: 0;
}

.map-marker {
    position: relative;
    display: block;
    width: 34px;
    height: 34px;
    border: 1px solid #c9a879;
    border-radius: 50%;
    background: rgba(16, 33, 29, .9);
    box-shadow: 0 8px 22px rgba(9, 20, 17, .35);
}

.map-marker::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(243, 239, 230, .35);
    border-radius: 50%;
}

.map-marker span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: var(--champagne);
    box-shadow: 0 0 0 4px rgba(201, 168, 121, .22);
}

.map-frame .map-pin {
    top: auto;
    bottom: 20px;
    left: 20px;
    z-index: 800;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: auto;
    height: auto;
    padding: 12px 18px 12px 15px;
    border: 1px solid rgba(201, 168, 121, .55);
    border-left: 2px solid var(--champagne);
    border-radius: 0;
    color: var(--cream);
    background: rgba(16, 33, 29, .92);
    box-shadow: 0 14px 34px rgba(9, 20, 17, .3);
    font-size: 8.5px;
    line-height: 1.3;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-align: left;
    pointer-events: none;
}

.map-frame .map-pin small {
    color: #c9a879;
    font-size: 7px;
    letter-spacing: .14em;
}

@media (max-width: 900px) {
    .map-canvas,
    .map-frame .map-canvas {
        min-height: 360px;
    }

    .map-frame .map-pin {
        bottom: 14px;
        left: 14px;
        padding: 9px 13px 9px 11px;
        font-size: 8px;
    }

    .map-frame .map-pin small {
        font-size: 6.5px;
    }
}

.map-noscript {
    position: absolute;
    inset: 0;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 30px;
    color: #54675d;
    background:
        radial-gradient(circle at 62% 46%, rgba(201, 168, 121, .22), transparent 42%),
        linear-gradient(135deg, #e9e5db, #dcd7ca);
    font-size: 12px;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
}

.map-noscript a {
    color: var(--ink);
    font-size: 11px;
    text-decoration: underline;
    text-decoration-color: rgba(201, 168, 121, .8);
    text-underline-offset: 3px;
}

/* ------------------------------------------------------- floating contact -- */
.contact-fab {
    position: fixed;
    right: 22px;
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.contact-fab > * {
    pointer-events: auto;
}

.contact-fab-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.contact-fab.is-open .contact-fab-actions {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.contact-fab-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 9px;
    border: 1px solid rgba(22, 36, 32, .08);
    border-radius: 999px;
    background: #fff;
    color: #162420;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
    transition: transform .15s ease, box-shadow .15s ease;
}

.contact-fab-action:hover,
.contact-fab-action:focus {
    color: #162420;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .24);
}

.contact-fab-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #162420;
    color: #f5f1e8;
    font-size: 15px;
}

.contact-fab-action.is-whatsapp .contact-fab-action-icon {
    background: #25d366;
    color: #fff;
}

.contact-fab-action.is-email .contact-fab-action-icon {
    background: #b08d57;
    color: #fff;
}

.contact-fab-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #162420;
    color: #f5f1e8;
    font-size: 23px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .3);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.contact-fab-toggle:hover,
.contact-fab-toggle:focus {
    background: #22362f;
    color: #f5f1e8;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, .36);
}

.contact-fab-toggle:focus-visible {
    outline: 3px solid #b08d57;
    outline-offset: 3px;
}

.contact-fab-toggle::after {
    content: "";
    position: absolute;
    inset: -6px;
    border: 2px solid rgba(37, 211, 102, .5);
    border-radius: inherit;
    animation: contact-fab-pulse 2.4s ease-out infinite;
}

.contact-fab.is-open .contact-fab-toggle::after {
    display: none;
}

.contact-fab .contact-fab-icon-close,
.contact-fab.is-open .contact-fab-icon-open {
    display: none;
}

.contact-fab.is-open .contact-fab-icon-close {
    display: inline-block;
}

@keyframes contact-fab-pulse {
    0% {
        opacity: .8;
        transform: scale(.9);
    }

    70%,
    100% {
        opacity: 0;
        transform: scale(1.18);
    }
}

@media (max-width: 767px) {
    .contact-fab {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .contact-fab-toggle {
        width: 56px;
        height: 56px;
        font-size: 21px;
    }

    .contact-fab-action {
        padding: 7px 15px 7px 8px;
        font-size: 13px;
    }

    .contact-fab-action-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-fab-toggle::after {
        animation: none;
    }

    .contact-fab-actions,
    .contact-fab-action,
    .contact-fab-toggle {
        transition: none;
    }
}
