.properties-site {
    --property-ink: #18302e;
    --property-pine: #164f46;
    --property-deep: #103c36;
    --property-sage: #dce8df;
    --property-cream: #f4f0e7;
    --property-gold: #b8873c;
    --property-muted: #687571;
    background: #fff;
    color: var(--property-ink);
}
.properties-site #page { max-width: calc(100% - 32px); }
.properties-site .properties-main { margin: 28px auto 110px; }
.properties-site .property-eyebrow {
    color: var(--property-gold);
    font-family: "p22-underground", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .16em;
    margin: 0 0 9px;
    text-transform: uppercase;
}

.property-hero {
    align-items: end;
    background: var(--property-deep);
    border-radius: 3px;
    color: white;
    display: grid;
    gap: 50px;
    grid-template-columns: minmax(0, 1fr) 190px;
    min-height: 420px;
    overflow: hidden;
    padding: 68px;
    position: relative;
}
.property-hero:after {
    background: radial-gradient(circle, rgba(255,255,255,.12) 0 2px, transparent 3px);
    background-size: 24px 24px;
    content: "";
    height: 260px;
    opacity: .35;
    position: absolute;
    right: -35px;
    top: -25px;
    transform: rotate(8deg);
    width: 330px;
}
.property-hero-copy { max-width: 680px; position: relative; z-index: 1; }
.property-hero h1 {
    color: #fff;
    font-family: "ff-tisa-web-pro", Georgia, serif;
    font-size: clamp(48px, 7vw, 78px);
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: .98;
    margin: 0 0 25px;
}
.property-hero-copy > p:last-child { color: rgba(255,255,255,.76); font-family: "ff-tisa-web-pro", Georgia, serif; font-size: 19px; line-height: 1.55; margin: 0; max-width: 610px; }
.property-hero-aside { border-left: 1px solid rgba(255,255,255,.3); padding-left: 28px; position: relative; z-index: 1; }
.property-hero-aside strong, .property-hero-aside span { display: block; }
.property-hero-aside strong { color: #fff; font-family: "ff-tisa-web-pro", Georgia, serif; font-size: 58px; font-weight: 400; line-height: 1; }
.property-hero-aside span { color: rgba(255,255,255,.7); font-size: 12px; font-weight: 700; letter-spacing: .09em; line-height: 1.45; margin-top: 8px; text-transform: uppercase; }

.property-filters { border-bottom: 1px solid #daddd6; display: flex; gap: 4px; margin: 34px 0 65px; overflow-x: auto; padding-bottom: 14px; }
.property-filters button { background: transparent; border: 0; border-radius: 999px; color: var(--property-muted); cursor: pointer; flex: 0 0 auto; font-family: "p22-underground", sans-serif; font-size: 12px; font-weight: 700; padding: 10px 14px; }
.property-filters button.is-active { background: var(--property-sage); color: var(--property-deep); }

.property-section { margin-bottom: 78px; }
.property-section[hidden] { display: none; }
.property-section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 26px; }
.property-section-heading h2 { color: var(--property-ink); font-family: "ff-tisa-web-pro", Georgia, serif; font-size: 38px; font-weight: 400; line-height: 1.1; margin: 0; }
.property-section-heading > span { color: var(--property-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.property-card-grid { display: grid; gap: 25px 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.property-card { background: #fff; border: 1px solid #dfe1db; box-shadow: 0 12px 30px rgba(24,48,46,.06); min-width: 0; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.property-card:hover { box-shadow: 0 20px 38px rgba(24,48,46,.12); transform: translateY(-3px); }
.property-card-image { background: #e9ebe6; display: block; overflow: hidden; position: relative; }
.property-card-image img { aspect-ratio: 4 / 3; display: block; height: auto; object-fit: cover; transition: transform .35s ease; width: 100%; }
.property-card:hover .property-card-image img { transform: scale(1.025); }
.property-card-category { background: rgba(16,60,54,.9); bottom: 12px; color: white; font-size: 10px; font-weight: 700; left: 12px; letter-spacing: .07em; padding: 7px 9px; position: absolute; text-transform: uppercase; }
.property-no-photo { align-items: center; aspect-ratio: 4 / 3; color: var(--property-muted); display: flex; justify-content: center; }
.property-card-body { padding: 20px; }
.property-card-body h3 { font-family: "ff-tisa-web-pro", Georgia, serif; font-size: 24px; font-weight: 400; line-height: 1.2; margin: 0 0 5px; }
.property-card-body h3 a { color: var(--property-ink); }
.property-card-body h3 a:hover { text-decoration: none; }
.property-card-body p { color: var(--property-muted); margin: 0; }
.property-price { color: var(--property-pine); display: block; font-size: 17px; margin-top: 18px; }
.property-card-link { border-top: 1px solid #e3e3dd; color: var(--property-pine) !important; display: flex; font-size: 12px; font-weight: 800; justify-content: space-between; letter-spacing: .06em; margin-top: 19px; padding-top: 14px; text-transform: uppercase; }
.property-card-link:hover { text-decoration: none; }

.property-contact-strip { align-items: center; background: var(--property-cream); display: flex; justify-content: space-between; margin-top: 90px; padding: 44px 50px; }
.property-contact-strip h2 { color: var(--property-ink); font-family: "ff-tisa-web-pro", Georgia, serif; font-size: 34px; font-weight: 400; margin: 0 0 6px; }
.property-contact-strip p:last-child { color: var(--property-muted); margin: 0; }
.property-contact-strip > a, .detail-contact-card > a { background: var(--property-pine); color: white !important; display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 16px 20px; text-transform: uppercase; }
.property-contact-strip > a:hover, .detail-contact-card > a:hover { background: var(--property-deep); text-decoration: none; }

.property-breadcrumb { color: var(--property-muted); display: flex; font-size: 12px; gap: 8px; margin: 44px 0 34px; }
.property-breadcrumb a { color: var(--property-pine); font-weight: 700; }
.detail-header { align-items: end; display: flex; justify-content: space-between; margin-bottom: 32px; }
.detail-header h1 { color: var(--property-ink); font-family: "ff-tisa-web-pro", Georgia, serif; font-size: clamp(48px, 7vw, 74px); font-weight: 400; letter-spacing: -.04em; line-height: 1; margin: 0; }
.detail-address { color: var(--property-muted); font-size: 17px; margin: 12px 0 0; }
.detail-price-block { border-left: 1px solid #d4d8d1; min-width: 175px; padding-left: 25px; text-align: right; }
.detail-price-block strong, .detail-price-block span { display: block; }
.detail-price-block strong { color: var(--property-pine); font-size: 24px; }
.detail-price-block span { color: var(--property-muted); font-size: 11px; letter-spacing: .08em; margin-top: 5px; text-transform: uppercase; }

.detail-gallery { display: grid; gap: 8px; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 210px); margin-bottom: 58px; overflow: hidden; }
.detail-photo { background: #e7e9e3; border: 0; cursor: pointer; min-height: 0; overflow: hidden; padding: 0; position: relative; }
.detail-photo:nth-child(n+4) { display: none; }
.detail-photo-featured { grid-row: 1 / 3; }
.detail-photo img { height: 100%; object-fit: cover; transition: transform .25s ease; width: 100%; }
.detail-photo:hover img { transform: scale(1.02); }
.detail-photo span { background: rgba(16,60,54,.9); bottom: 15px; color: #fff; font-size: 11px; font-weight: 800; left: 15px; letter-spacing: .07em; padding: 9px 12px; position: absolute; text-transform: uppercase; }
.detail-gallery-single { display: block; }
.detail-gallery-single .detail-photo { display: block; height: min(620px, 62vw); width: 100%; }

.detail-layout { align-items: start; display: grid; gap: 80px; grid-template-columns: minmax(0, 1fr) 320px; }
.detail-copy { padding: 20px 0; }
.detail-copy h2 { color: var(--property-ink); font-family: "ff-tisa-web-pro", Georgia, serif; font-size: 38px; font-weight: 400; line-height: 1.15; margin: 0 0 24px; }
.detail-copy > p:last-child { color: #52615e; font-family: "ff-tisa-web-pro", Georgia, serif; font-size: 17px; line-height: 1.85; margin: 0; }
.detail-contact-card { background: var(--property-deep); color: white; padding: 34px; }
.detail-contact-card h2 { color: white; font-family: "ff-tisa-web-pro", Georgia, serif; font-size: 30px; font-weight: 400; line-height: 1.15; margin: 0 0 16px; }
.detail-contact-card > p:not(.property-eyebrow) { color: rgba(255,255,255,.72); line-height: 1.65; margin-bottom: 24px; }
.detail-contact-card > a { background: var(--property-gold); text-align: center; width: 100%; }
.detail-contact-card > span { color: rgba(255,255,255,.65); display: block; font-size: 12px; letter-spacing: .1em; margin-top: 17px; text-align: center; }
.back-to-properties { border-top: 1px solid #daddd6; color: var(--property-pine) !important; display: block; font-size: 12px; font-weight: 800; letter-spacing: .07em; margin-top: 70px; padding-top: 22px; text-transform: uppercase; }

.property-lightbox { background: transparent; border: 0; height: 100vh; max-height: none; max-width: none; padding: 50px 80px; width: 100vw; }
.property-lightbox::backdrop { background: rgba(6,20,18,.93); }
.property-lightbox img { height: 100%; object-fit: contain; width: 100%; }
.lightbox-close, .lightbox-arrow { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: white; cursor: pointer; height: 44px; position: absolute; width: 44px; z-index: 2; }
.lightbox-close { font-size: 25px; right: 18px; top: 18px; }
.lightbox-arrow { font-size: 34px; top: calc(50% - 22px); }
.lightbox-previous { left: 18px; }
.lightbox-next { right: 18px; }

@media (max-width: 760px) {
    .properties-site #page { width: calc(100% - 24px); }
    .properties-site #page > a img { height: auto; max-width: 68%; }
    .property-hero { display: block; min-height: 0; padding: 42px 28px; }
    .property-hero-aside { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); margin-top: 35px; padding: 24px 0 0; }
    .property-hero-aside strong { font-size: 42px; }
    .property-card-grid { grid-template-columns: 1fr; }
    .property-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .property-contact-strip { align-items: flex-start; flex-direction: column; gap: 25px; padding: 34px 26px; }
    .detail-header { align-items: flex-start; flex-direction: column; gap: 24px; }
    .detail-price-block { border-left: 0; border-top: 1px solid #d4d8d1; padding: 18px 0 0; text-align: left; width: 100%; }
    .detail-gallery { display: block; }
    .detail-photo { display: none; height: 68vw; width: 100%; }
    .detail-photo-featured { display: block; }
    .detail-layout { grid-template-columns: 1fr; gap: 38px; }
    .property-lightbox { padding: 60px 12px; }
}

