:root {
    --bg: #f6f1e8;
    --surface: #ffffff;
    --ink: #171717;
    --muted: #6d675d;
    --line: #ded8cd;
    --gold: #9b7a3c;
    --deep: #1d2a2f;
    --olive: #53604c;
    --radius: 8px;
    --font-body: "Inter", Arial, sans-serif;
    --font-display: "Playfair Display", Georgia, serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--font-body);
    line-height: 1.55;
}

body.has-property-lightbox {
    overflow: hidden;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 24px;
    align-items: center;
    min-height: 76px;
    padding: 0 clamp(16px, 4vw, 48px);
    background: rgba(246, 241, 232, 0.94);
    border-bottom: 1px solid rgba(222, 216, 205, 0.78);
    backdrop-filter: blur(12px);
}

.language-dropdown {
    position: relative;
    justify-self: end;
    z-index: 30;
}

.language-dropdown__button {
    display: inline-grid;
    grid-template-columns: 20px auto 7px;
    gap: 7px;
    align-items: center;
    height: 34px;
    padding: 0 9px;
    color: var(--deep);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(22, 25, 28, 0.07);
}

.language-dropdown__button:focus-visible,
.language-dropdown__link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.language-dropdown__chevron {
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translateY(-2px);
}

.language-dropdown.is-open .language-dropdown__chevron {
    transform: rotate(225deg) translate(-1px, -1px);
}

.language-dropdown__list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    display: grid;
    gap: 2px;
    min-width: 156px;
    margin: 0;
    padding: 5px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 22px 44px rgba(22, 25, 28, 0.16);
    list-style: none;
}

.language-dropdown__list[hidden] {
    display: none;
}

.language-dropdown__link {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 9px;
    align-items: center;
    min-height: 32px;
    padding: 0 9px;
    color: var(--deep);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.language-dropdown__link.is-active,
.language-dropdown__link:hover {
    background: #eee6d8;
}

.language-dropdown__flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border: 1px solid rgba(17, 23, 25, 0.18);
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.language-dropdown__code {
    min-width: 18px;
}

.site-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: var(--ink);
    text-decoration: none;
}

.site-brand span {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
}

.site-brand small {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.site-nav__list {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__list a {
    color: var(--deep);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.site-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.site-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: var(--deep);
}

.hero {
    position: relative;
    min-height: 76vh;
    display: grid;
    align-items: end;
    padding: clamp(80px, 12vw, 150px) clamp(16px, 6vw, 72px) 54px;
    overflow: hidden;
    color: #ffffff;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(16, 20, 22, 0.78), rgba(16, 20, 22, 0.36) 48%, rgba(16, 20, 22, 0.16)),
        var(--hero-image, url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2200&q=80")) center/cover;
}

.hero__content {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.editorial-band h2,
.market-strip h2,
.property-single h1 {
    margin: 0;
    font-family: var(--font-display);
    line-height: 0.95;
    letter-spacing: 0;
}

.hero h1 {
    font-size: clamp(56px, 12vw, 138px);
}

.hero p:not(.eyebrow) {
    width: min(620px, 100%);
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(18px, 2vw, 24px);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button,
.contact-chip {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
}

.button-primary {
    color: #ffffff;
    background: var(--gold);
}

.button-secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.home-search-band {
    margin-top: -48px;
    position: relative;
    z-index: 2;
}

.market-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    width: min(1180px, calc(100% - 32px));
    margin: 80px auto;
    background: var(--line);
    border: 1px solid var(--line);
}

.market-strip > div {
    min-height: 250px;
    padding: clamp(22px, 4vw, 40px);
    background: var(--surface);
}

.market-strip span {
    color: var(--gold);
    font-weight: 800;
}

.market-strip h2 {
    margin-top: 34px;
    font-size: clamp(32px, 5vw, 58px);
}

.market-strip p,
.editorial-band p,
.content-page__body,
.page-hero p {
    color: var(--muted);
}

.editorial-band {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 48px;
    align-items: start;
    width: min(1180px, calc(100% - 32px));
    margin: 80px auto;
    padding: clamp(30px, 6vw, 70px);
    color: #ffffff;
    background: var(--deep);
}

.editorial-band > * {
    min-width: 0;
}

.editorial-band h2 {
    font-size: clamp(34px, 6vw, 72px);
    overflow-wrap: anywhere;
    hyphens: auto;
}

.editorial-band p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
}

.editorial-band__aside {
    display: grid;
    align-content: start;
    gap: 22px;
    padding-top: 8px;
}

.editorial-band__aside p {
    margin: 0;
}

.editorial-band__logo {
    justify-self: center;
    width: min(430px, 100%);
    height: auto;
}

.page-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 80px 0 24px;
}

.page-hero.compact h1 {
    font-size: clamp(42px, 7vw, 82px);
}

.property-single {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 56px 0 80px;
}

.property-single__head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: end;
}

.property-single__head h1 {
    font-size: clamp(42px, 7vw, 82px);
}

.property-single__head strong {
    color: var(--gold);
    font-size: clamp(24px, 3vw, 40px);
}

.property-media-viewer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 156px;
    gap: 12px;
    margin: 34px 0;
}

.property-media-viewer__stage {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: #101010;
    border-radius: var(--radius);
}

.property-media-viewer__item {
    display: none;
    width: 100%;
    height: 100%;
    margin: 0;
}

.property-media-viewer__item.is-active {
    display: block;
}

.property-media-viewer__item button,
.property-media-viewer__item img,
.property-media-viewer__video,
.property-media-viewer__video iframe,
.property-media-viewer__video video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    border: 0;
}

.property-media-viewer__item button {
    padding: 0;
    background: transparent;
    border: 0;
    cursor: zoom-in;
}

.property-media-viewer__item img {
    object-fit: cover;
}

.property-media-viewer__video iframe,
.property-media-viewer__video video {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.property-media-viewer__rail {
    display: grid;
    gap: 10px;
    max-height: 520px;
    overflow: auto;
    padding-right: 3px;
    scrollbar-width: thin;
}

.property-media-viewer__thumb {
    position: relative;
    min-height: 96px;
    overflow: hidden;
    padding: 0;
    color: #ffffff;
    background: #1d2a2f;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
}

.property-media-viewer__thumb.is-active {
    border-color: var(--gold);
}

.property-media-viewer__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-media-viewer__thumb span {
    display: grid;
    min-height: 96px;
    place-items: center;
    font-weight: 800;
}

.property-media-viewer__arrow,
.property-media-viewer__expand,
.property-media-lightbox__close,
.property-media-lightbox__arrow {
    position: absolute;
    z-index: 3;
    display: inline-grid;
    place-items: center;
    color: #ffffff;
    background: rgba(23, 23, 23, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.28);
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.property-media-viewer__arrow {
    top: 50%;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    --arrow-size: 18px;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    overflow: hidden;
    font-size: 0;
    line-height: 1;
    transform: translateY(-50%);
}

.property-media-viewer__arrow::before,
.property-media-lightbox__arrow::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--arrow-size);
    height: var(--arrow-size);
    margin: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.property-media-viewer__arrow.is-prev::before,
.property-media-lightbox__arrow.is-prev::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2024%2024'%3E%3Cpath d='M15%2018%209%2012%2015%206' fill='none' stroke='%23ffffff' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.property-media-viewer__arrow.is-next::before,
.property-media-lightbox__arrow.is-next::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2024%2024'%3E%3Cpath d='M9%206%2015%2012%209%2018' fill='none' stroke='%23ffffff' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.property-media-viewer__arrow.is-prev {
    left: 14px;
}

.property-media-viewer__arrow.is-next {
    right: 14px;
}

.property-media-viewer__expand {
    right: 14px;
    bottom: 14px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
}

.property-media-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 70px;
    gap: 18px;
    align-items: center;
    padding: 28px;
    background: rgba(8, 9, 10, 0.92);
}

.property-media-lightbox[hidden] {
    display: none;
}

.property-media-lightbox__frame {
    display: grid;
    max-height: calc(100vh - 56px);
    place-items: center;
}

.property-media-lightbox__frame img,
.property-media-lightbox__frame video,
.property-media-lightbox__frame iframe {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 56px);
    border: 0;
    border-radius: 8px;
}

.property-media-lightbox__frame img {
    object-fit: contain;
}

.property-media-lightbox__frame video,
.property-media-lightbox__frame iframe {
    width: min(1180px, 100%);
    aspect-ratio: 16 / 9;
    background: #000000;
}

.property-media-lightbox__close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
}

.property-media-lightbox__arrow {
    position: relative;
    width: 52px;
    height: 52px;
    justify-self: center;
    border-radius: 50%;
    --arrow-size: 22px;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    overflow: hidden;
    font-size: 0;
    line-height: 1;
}

.property-single__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.property-single__content,
.property-contact,
.content-page__body {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.property-single__content {
    padding: clamp(22px, 4vw, 44px);
}

.property-single__content > section + section {
    margin-top: clamp(30px, 4vw, 46px);
    padding-top: clamp(24px, 3vw, 36px);
    border-top: 1px solid var(--line);
}

.property-single__content p {
    margin: 0 0 16px;
}

.property-single__content img.emoji,
.property-single__content img.wp-smiley,
.property-single__content img[src*="static.xx.fbcdn.net/images/emoji.php"] {
    display: inline !important;
    width: 1em !important;
    height: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
}

.property-single__content > section > *:last-child {
    margin-bottom: 0;
}

.property-single__content h2,
.property-contact h2 {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: 34px;
    line-height: 1.05;
}

.property-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.property-details .property-detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    gap: 16px;
    align-items: center;
    min-height: 80px;
    padding: 14px;
    background: #fbfaf7;
    border: 1px solid var(--line);
    border-radius: 6px;
}

.property-details dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.property-details dd {
    margin: 6px 0 0;
    font-weight: 800;
}

.property-detail__icon {
    justify-self: end;
    width: 46px;
    height: 46px;
    object-fit: contain;
    opacity: 0.78;
}

.property-detail__icon.is-svg {
    display: inline-grid;
    place-items: center;
}

.property-detail__icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.property-contact {
    position: sticky;
    top: 96px;
    padding: 20px;
}

.property-contact__chips,
.site-footer__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.contact-chip {
    gap: 7px;
    min-height: 38px;
    color: var(--deep);
    background: #eee6d8;
    font-size: 13px;
}

.contact-chip svg {
    width: 1.35em;
    height: 1.35em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.property-archive-list {
    margin-bottom: clamp(56px, 8vw, 96px);
}

.content-page {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto 70px;
}

.content-page__body {
    padding: clamp(24px, 4vw, 48px);
}

.content-page__body img.emoji,
.content-page__body img.wp-smiley,
.content-page__body img[src*="static.xx.fbcdn.net/images/emoji.php"] {
    display: inline-block !important;
    float: none !important;
    width: 1em !important;
    min-width: 1em !important;
    max-width: 1em !important;
    height: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
}

.post-hero-image {
    margin: 0 0 34px;
}

.post-hero-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.about-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 80px;
}

.about-intro {
    width: 100%;
}

.founder-profile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: clamp(24px, 5vw, 54px);
    align-items: stretch;
    padding: clamp(22px, 4vw, 44px);
    background: #8b8882;
    border-radius: 8px;
}

.founder-profile__content {
    display: grid;
    align-content: center;
    gap: 22px;
    color: #ffffff;
}

.founder-profile .eyebrow {
    color: #ffffff;
}

.founder-profile__content h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.95;
}

.founder-profile__lead {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
}

.founder-facts {
    display: grid;
    gap: 10px;
    margin-top: 8px;
    color: var(--ink);
}

.founder-fact {
    display: grid;
    grid-template-columns: minmax(130px, 0.38fr) 1fr;
    gap: 16px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 6px;
}

.founder-fact span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.founder-fact strong {
    font-size: 16px;
    line-height: 1.45;
}

.founder-profile__media {
    justify-self: end;
    margin: 0;
    overflow: hidden;
    background: #f8f5ef;
    border-radius: 8px;
}

.founder-profile__media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: right center;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: min(1180px, calc(100% - 32px));
    margin: 24px auto 80px;
}

.post-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.post-card a {
    text-decoration: none;
}

.post-card img {
    width: 100%;
    aspect-ratio: 1.4;
    object-fit: cover;
}

.post-card div {
    padding: 18px;
}

.post-card span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.post-card h2 {
    margin: 8px 0;
    font-size: 24px;
    line-height: 1.15;
}

.site-footer {
    padding: 44px clamp(16px, 5vw, 64px) 26px;
    color: #ffffff;
    background: #111719;
}

.site-footer__main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: start;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer strong {
    font-family: var(--font-display);
    font-size: 32px;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.66);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 22px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
}

.site-footer__bottom nav {
    display: flex;
    gap: 18px;
}

.site-footer__bottom a {
    text-decoration: none;
}

@media (max-width: 900px) {
    .site-nav {
        display: none;
        grid-column: 1 / -1;
    }

    .language-dropdown {
        justify-self: end;
    }

    .site-header.is-open .site-nav {
        display: block;
    }

    .site-nav__list {
        display: grid;
        justify-content: stretch;
        gap: 0;
        padding: 10px 0 18px;
    }

    .site-nav__list a {
        display: block;
        padding: 12px 0;
    }

    .site-menu-toggle {
        display: block;
    }

    .market-strip,
    .editorial-band,
    .founder-profile,
    .property-media-viewer,
    .property-single__layout,
    .site-footer__main {
        grid-template-columns: 1fr;
    }

    .property-media-viewer__stage {
        min-height: 420px;
    }

    .property-media-viewer__item button,
    .property-media-viewer__item img,
    .property-media-viewer__video,
    .property-media-viewer__video iframe,
    .property-media-viewer__video video {
        min-height: 420px;
    }

    .property-media-viewer__rail {
        grid-auto-flow: column;
        grid-auto-columns: minmax(118px, 1fr);
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 0 4px;
    }

    .property-contact {
        position: static;
    }

    .editorial-band__aside {
        padding-top: 0;
    }

    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 70vh;
    }

    .property-single__head,
    .property-details,
    .founder-fact,
    .post-grid,
    .site-footer__bottom {
        grid-template-columns: 1fr;
    }

    .property-media-viewer__stage {
        min-height: 300px;
    }

    .property-media-viewer__item button,
    .property-media-viewer__item img,
    .property-media-viewer__video,
    .property-media-viewer__video iframe,
    .property-media-viewer__video video {
        min-height: 300px;
    }

    .property-media-lightbox {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        gap: 8px;
        padding: 14px;
    }

    .property-media-lightbox__arrow {
        width: 42px;
        height: 42px;
    }

    .founder-profile__media img {
        min-height: 0;
    }

    .site-footer__bottom {
        display: grid;
    }
}
