/*
Theme Name: Farrah
Theme URI: https://example.com/
Author: Alee
Description: A custom starter theme for Farrah.
Version: 1.0.0
Text Domain: farah
*/

@import url("https://api.fontshare.com/v2/css?f[]=satoshi@400,500,600,700&display=swap");

:root {
    --farah-black: #ffffff;
    --farah-surface: #f8f9fb;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #e2e8f0;
    --farah-pink: #d85a8a;
    --farah-pink-light: #e47ea5;
    --farah-white: #18181b;
    --farah-muted: #52525b;
    --farah-border: rgba(0, 0, 0, 0.08);
    --farah-display: "Satoshi", "Plus Jakarta Sans", sans-serif;
    --farah-sans: "Satoshi", "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* Strict Global Typographic Hierarchy Tokens */
    --farah-h1-size: 64px;
    --farah-h2-size: 48px;
    --farah-h3-size: clamp(20px, 2.5vw, 24px);
    --farah-h4-size: 20px;
    --farah-h5-size: 18px;
    --farah-h6-size: 16px;
    --farah-eyebrow-size: clamp(13px, 1.5vw, 14px);
    --farah-body-size: 16px;
    --farah-body-small-size: 14px;
    --farah-card-body-size: 16px;
    --farah-body-line: 1.6;
    /* Global Button Design Tokens */
    --farah-button-bg: #d85a8a;
    --farah-button-text: #ffffff;
    --farah-button-font-size: 11px;
    --farah-button-font-weight: 700;
    --farah-button-radius: 0px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--farah-black);
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: var(--farah-body-size);
    line-height: var(--farah-body-line);
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--farah-pink);
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--farah-display);
    margin-top: 0;
    text-transform: capitalize;
}

h1 {
    font-size: var(--farah-h1-size, 64px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    text-transform: capitalize;
}

h2 {
    font-size: var(--farah-h2-size, 48px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-transform: capitalize;
}

h3 {
    font-size: var(--farah-h3-size);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-transform: capitalize;
}

h4 {
    font-family: var(--farah-sans);
    font-size: var(--farah-h4-size, 20px);
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.4;
    text-transform: capitalize;
}

h5,
h6 {
    font-size: var(--farah-h5-size, 18px);
    font-weight: 600;
    line-height: 1.3;
    text-transform: capitalize;
}

h6 {
    font-size: var(--farah-h6-size, 16px);
    text-transform: capitalize;
}

p {
    font-family: var(--farah-sans);
    font-size: var(--farah-paragraph-size, var(--farah-body-size));
    line-height: var(--farah-body-line);
}

.eyebrow {
    font-family: var(--farah-sans);
    font-size: var(--farah-eyebrow-size);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--farah-pink);
    margin-bottom: 8px;
}

.site-header {
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(8, 8, 8, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.home .site-header {
    background: rgba(8, 8, 8, 0.08);
}

.site-header__inner {
    width: min(1400px, calc(100% - 96px));
    min-height: 84px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.site-brand {
    display: inline-flex;
    flex-direction: column;
    flex: 0 0 auto;
    line-height: 1;
}

.site-brand__logo {
    display: block;
    width: 220px;
    height: 88px;
    object-fit: contain;
    object-position: left center;
}

/* ==========================================================================
   Desktop Navigation
   ========================================================================== */
.desktop-navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: clamp(16px, 2.2vw, 32px);
}

.desktop-navigation__list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: clamp(14px, 1.8vw, 26px);
}

.desktop-navigation__item {
    position: relative;
}

.desktop-navigation__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 12px 0;
    font-family: var(--farah-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease;
    cursor: pointer;
}

.desktop-navigation__arrow {
    width: 10px;
    height: 10px;
    color: rgba(255, 255, 255, 0.45);
    transition: transform 200ms ease, color 180ms ease;
}

.desktop-navigation__link:hover,
.desktop-navigation__link:focus-visible,
.desktop-navigation__item:hover > .desktop-navigation__link,
.desktop-navigation__item:focus-within > .desktop-navigation__link {
    color: #ffffff;
}

.desktop-navigation__item:hover .desktop-navigation__arrow,
.desktop-navigation__item:focus-within .desktop-navigation__arrow {
    transform: rotate(180deg);
    color: var(--farah-pink);
}

/* Dropdown Menu */
.desktop-navigation__dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: -12px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    min-width: 220px;
    padding: 8px;
    background: rgba(12, 12, 14, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.desktop-navigation__dropdown::before {
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
    content: "";
}

.desktop-navigation__item:hover .desktop-navigation__dropdown,
.desktop-navigation__item:focus-within .desktop-navigation__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.desktop-navigation__dropdown a {
    display: block;
    width: 100%;
    padding: 9px 12px;
    font-family: var(--farah-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background 150ms ease, color 150ms ease, padding-left 150ms ease;
}

.desktop-navigation__dropdown a:hover,
.desktop-navigation__dropdown a:focus-visible {
    background: rgba(216, 90, 138, 0.14);
    color: var(--farah-pink);
    padding-left: 15px;
}

/* Light Mode Overrides for Desktop Navigation */
[data-theme="light"] .desktop-navigation__link {
    color: #4a4a50;
}

[data-theme="light"] .desktop-navigation__arrow {
    color: #71717a;
}

[data-theme="light"] .desktop-navigation__link:hover,
[data-theme="light"] .desktop-navigation__link:focus-visible,
[data-theme="light"] .desktop-navigation__item:hover > .desktop-navigation__link,
[data-theme="light"] .desktop-navigation__item:focus-within > .desktop-navigation__link {
    color: #18181b;
}

[data-theme="light"] .desktop-navigation__dropdown {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.09);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .desktop-navigation__dropdown a {
    color: #3f3f46;
}

[data-theme="light"] .desktop-navigation__dropdown a:hover,
[data-theme="light"] .desktop-navigation__dropdown a:focus-visible {
    background: #fdf2f6;
    color: var(--farah-pink);
}

/* Mobile & Tablet Toggle (Hidden on Desktop >= 1024px) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(8, 8, 8, 0.4);
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 200ms ease;
}

@media screen and (max-width: 1023px) {
    .desktop-navigation {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: inline-flex !important;
    }
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
    border-color: var(--farah-pink);
    background: rgba(8, 8, 8, 0.7);
    color: var(--farah-pink);
}

.mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 0;
    background: currentColor;
    border-radius: 2px;
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), opacity 180ms ease;
}

.mobile-menu-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.property-quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}

.property-quick-filters a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 9999px;
    color: #fff;
    font: 500 13px/1 var(--farah-sans);
    text-decoration: none;
    transition: all 180ms ease;
}

.property-quick-filters a:hover,
.property-quick-filters a:focus-visible { 
    border-color: var(--farah-pink); 
    color: var(--farah-pink); 
}

.property-quick-filters a.is-active,
.property-quick-filters a[aria-current="page"] {
    background: var(--farah-pink);
    border-color: var(--farah-pink);
    color: #ffffff !important;
    font-weight: 600;
}

.property-quick-filter--custom .quick-filter-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    font-size: 11px;
    line-height: 1;
    margin-left: 2px;
}

.rets-card-details { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; padding-top:22px; align-items:start; }
.rets-card-details__left { min-width:0; }
.rets-card-details__right { text-align:right; white-space:nowrap; }
.rets-card-details .rets-card-location { margin:0 0 8px; color:rgba(255,255,255,.58); font-size:11px; font-weight:400; letter-spacing:.02em; text-transform:none; }
.rets-card-details h4 { margin:0 0 10px; }
.rets-card-details .rets-price { margin:0 0 10px; font-size:20px; font-weight:600; }
.rets-card-details .rets-card-mls { display:block; text-transform:uppercase; }
.rets-photo-fallback { position:absolute; inset:0; display:none; align-items:center; justify-content:center; color:rgba(255,255,255,.62); font:500 12px/1 var(--farah-sans); }
.rets-gallery img[hidden],
.property-gallery__slide[hidden] { display:none !important; }
.rets-gallery.has-error .rets-photo-fallback { display:flex; }
.rets-gallery--empty,
.rets-gallery.has-error {
    background-color: #111;
    background-image: linear-gradient(rgba(8,8,8,.58), rgba(8,8,8,.58)), url("assets/images/farrah-in-the-city-logo-header.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto, min(72%, 300px) auto;
}
.rets-gallery--empty > span:first-child,
.rets-gallery.has-error .rets-photo-fallback { padding-top: 105px; }
.rets-gallery.is-loading::before { position:absolute; inset:0; z-index:2; content:""; background:linear-gradient(90deg,#181818 25%,#242424 50%,#181818 75%); background-size:200% 100%; animation:rets-photo-loading 1.2s linear infinite; }

.evaluation-progress { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:0 0 18px; padding:0; list-style:none; }
.evaluation-progress li { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--farah-border); background:var(--farah-surface); color:var(--farah-muted); font:500 12px/1.3 var(--farah-sans); }
.evaluation-progress li span { display:grid; width:28px; height:28px; flex-shrink:0; place-items:center; border:1px solid var(--farah-border); background:var(--farah-black); color:var(--farah-muted); font-size:12px; font-weight:700; }
.evaluation-progress li.is-active,.evaluation-progress li.is-complete { border-color:var(--farah-pink); color:var(--farah-white); }
.evaluation-progress li.is-active span,.evaluation-progress li.is-complete span { border-color:var(--farah-pink); background:var(--farah-pink); color:#ffffff; }
.evaluation-step { display:flex; flex-direction:column; gap:14px; margin:0; padding:0; border:0; }
.evaluation-step legend, .evaluation-step legend,
.evaluation-step__legend {
    display: block;
    margin: 0 0 4px;
    padding: 0;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}
.evaluation-step__intro {
    margin: 0 0 4px;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 13.5px;
    line-height: 1.5;
}
.evaluation-actions { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:8px; padding-top:16px; border-top:1px solid var(--farah-border); }
.evaluation-review { margin:4px 0 8px; padding:16px 18px; background:var(--farah-surface); border:1px solid rgba(216,90,138,0.25); }
.evaluation-review h3 { margin:0 0 10px; color:var(--farah-white); font-family:var(--farah-display); font-size:16px; }
.evaluation-review p { display:flex; justify-content:space-between; gap:16px; margin:0; padding:6px 0; border-bottom:1px solid var(--farah-border); font-family:var(--farah-sans); font-size:13px; }
.evaluation-review p:last-child { border:0; }
.evaluation-review span { color:var(--farah-muted); }
.evaluation-review strong { color:var(--farah-white); font-weight:600; }
.area-community-search { margin:0 0 48px; }
.area-community-search>label { display:block; margin-bottom:10px; color:#fff; font:600 18px/1.2 var(--farah-display); }
.area-community-search>div { display:flex; gap:10px; }
.area-community-search input { flex:1; min-height:52px; padding:0 16px; border:1px solid rgba(255,255,255,.2); background:#121212; color:#fff; }
.popular-communities { margin-bottom:48px; }
.popular-communities h2 { margin-bottom:20px; }
.popular-communities>div { display:flex; flex-wrap:wrap; gap:10px; }
.popular-communities a { padding:10px 14px; border:1px solid rgba(255,255,255,.16); color:#fff; text-decoration:none; }
.popular-communities a:hover,.popular-communities a:focus-visible { border-color:var(--farah-pink); color:var(--farah-pink); }
@keyframes rets-photo-loading { to { background-position:-200% 0; } }
@media (max-width:640px) { .site-brand__logo{width:138px;height:58px}.rets-card-details{grid-template-columns:1fr}.rets-card-details__right{text-align:left}.property-quick-filters a{flex:1 1 calc(50% - 10px);text-align:center}.evaluation-progress{grid-template-columns:1fr}.evaluation-progress li{padding:8px 0}.evaluation-actions{flex-direction:column-reverse}.evaluation-actions .button{width:100%}.evaluation-review p{display:block}.evaluation-review strong{display:block;margin-top:5px}.area-community-search>div{display:block}.area-community-search .button{width:100%;margin-top:10px} }

.site-brand__name {
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.site-brand__name em {
    color: var(--farah-pink-light);
    font-size: 0.82em;
    font-weight: 500;
    text-transform: none;
}

/* ==========================================================================
   Header Actions & Button Styling
   ========================================================================== */
.site-header__actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: 0;
    flex: 0 0 auto;
}

.site-header__inquire-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 4px;
    background: var(--farah-pink);
    color: #ffffff !important;
    text-decoration: none;
    transition: all 180ms ease;
}

.site-header__inquire-btn:hover,
.site-header__inquire-btn:focus-visible {
    background: #ffffff;
    color: #080808 !important;
    transform: translateY(-1px);
}

[data-theme="light"] .site-header__inquire-btn:hover,
[data-theme="light"] .site-header__inquire-btn:focus-visible {
    background: #080808;
    color: #ffffff !important;
}

/* Body scroll lock when mobile menu is active */
html.mobile-menu-is-open,
body.mobile-menu-is-open {
    overflow: hidden !important;
    height: 100% !important;
    touch-action: none !important;
}

/* ==========================================================================
   Fullscreen Luxury Navigation Overlay
   ========================================================================== */
.fullscreen-menu {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1), visibility 280ms;
}

.fullscreen-menu.is-mobile-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: flex !important;
}

.fullscreen-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 10, 0.96);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    backdrop-filter: blur(28px) saturate(180%);
    cursor: pointer;
}

[data-theme="light"] .fullscreen-menu__backdrop {
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    backdrop-filter: blur(28px) saturate(180%);
}

.fullscreen-menu__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.fullscreen-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1400px, calc(100% - 96px));
    min-height: 84px;
    margin: 0 auto;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    box-sizing: border-box;
}

[data-theme="light"] .fullscreen-menu__header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.fullscreen-menu__brand {
    display: inline-flex;
    flex-direction: column;
    flex: 0 0 auto;
    line-height: 1;
}

.fullscreen-menu__logo {
    display: block;
    width: 220px;
    height: 88px;
    object-fit: contain;
    object-position: left center;
}

[data-theme="light"] .fullscreen-menu__logo {
    filter: invert(1) hue-rotate(180deg) brightness(0.2);
}

.fullscreen-menu__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 0px !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(8, 8, 8, 0.4);
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 200ms ease;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.fullscreen-menu__close:hover,
.fullscreen-menu__close:focus-visible {
    border-color: var(--farah-pink);
    background: rgba(8, 8, 8, 0.7);
    color: var(--farah-pink);
    transform: none;
}

[data-theme="light"] .fullscreen-menu__close {
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.04);
    color: #18181b;
}

[data-theme="light"] .fullscreen-menu__close:hover,
[data-theme="light"] .fullscreen-menu__close:focus-visible {
    border-color: var(--farah-pink);
    background: rgba(216, 90, 138, 0.1);
    color: var(--farah-pink);
}

.fullscreen-menu__body {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 360px);
    gap: clamp(24px, 4vw, 64px);
    padding-top: clamp(20px, 3vw, 36px);
    padding-bottom: 24px;
    align-items: stretch;
    flex: 1 1 auto;
    width: min(1400px, calc(100% - 96px));
    margin: 0 auto;
}

.fullscreen-menu__nav-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.fullscreen-menu__section {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 !important;
    transition: border-color 200ms ease, background 200ms ease;
    overflow: hidden;
}

.fullscreen-menu__section.is-open {
    border-color: rgba(234, 102, 173, 0.35);
    background: rgba(234, 102, 173, 0.04);
}

[data-theme="light"] .fullscreen-menu__section {
    border: 1px solid rgba(0, 0, 0, 0.07);
    background: #ffffff;
}

[data-theme="light"] .fullscreen-menu__section.is-open {
    border-color: rgba(234, 102, 173, 0.4);
    background: #fffbfe;
}

.fullscreen-menu__section-header {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
    padding: 16px 18px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    user-select: none;
    transition: color 180ms ease, background 180ms ease;
}

.fullscreen-menu__section-header:hover,
.fullscreen-menu__section-header:focus-visible {
    background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .fullscreen-menu__section-header:hover,
[data-theme="light"] .fullscreen-menu__section-header:focus-visible {
    background: rgba(234, 102, 173, 0.04);
}

.fullscreen-menu__section-title {
    font-family: var(--farah-sans, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.2;
    margin: 0;
    padding: 0;
    text-align: left;
    transition: color 180ms ease, transform 180ms ease;
}

[data-theme="light"] .fullscreen-menu__section-title {
    color: #18181b;
}

.fullscreen-menu__section-header:hover .fullscreen-menu__section-title,
.fullscreen-menu__section-header:focus-visible .fullscreen-menu__section-title,
.fullscreen-menu__section.is-open .fullscreen-menu__section-title {
    color: var(--farah-pink);
}

.fullscreen-menu__arrow {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 220ms ease, color 180ms ease;
}

[data-theme="light"] .fullscreen-menu__arrow {
    color: #71717a;
}

.fullscreen-menu__section-header:hover .fullscreen-menu__arrow,
.fullscreen-menu__section-header:focus-visible .fullscreen-menu__arrow,
.fullscreen-menu__section.is-open .fullscreen-menu__arrow {
    transform: rotate(180deg);
    color: var(--farah-pink);
}

.fullscreen-menu__submenu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 6px 12px 14px 12px;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .fullscreen-menu__submenu {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.fullscreen-menu__section.is-open .fullscreen-menu__submenu {
    display: flex;
}

.fullscreen-menu__submenu a {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 14px;
    font-family: var(--farah-sans, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    box-sizing: border-box;
    border-radius: 0 !important;
    background: transparent;
    transition: background 160ms ease, color 160ms ease, padding-left 160ms ease;
}

[data-theme="light"] .fullscreen-menu__submenu a {
    color: #3f3f46;
}

.fullscreen-menu__submenu a:hover,
.fullscreen-menu__submenu a:focus-visible {
    background: rgba(216, 90, 138, 0.14);
    color: var(--farah-pink);
    padding-left: 18px;
}

[data-theme="light"] .fullscreen-menu__submenu a:hover,
[data-theme="light"] .fullscreen-menu__submenu a:focus-visible {
    background: #fdf2f6;
    color: var(--farah-pink);
    padding-left: 18px;
}

.fullscreen-menu__aside {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-self: end;
    width: 100%;
    padding: clamp(20px, 2.4vw, 28px);
    border-radius: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(25, 25, 28, 0.9), rgba(14, 14, 16, 0.9));
    min-width: 0;
}

[data-theme="light"] .fullscreen-menu__aside {
    border-color: rgba(0, 0, 0, 0.08);
    background: linear-gradient(145deg, #ffffff, #f8f9fb);
}

.fullscreen-menu__cta-box {
    display: flex;
    flex-direction: column;
}

.fullscreen-menu__cta-subtitle {
    margin: 0 0 4px;
    font-family: var(--farah-sans, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--farah-pink);
    text-transform: uppercase;
}

.fullscreen-menu__cta-title {
    margin: 0 0 6px;
    font-family: var(--farah-display, Outfit, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 600;
    color: var(--farah-white);
    letter-spacing: -0.02em;
}

[data-theme="light"] .fullscreen-menu__cta-title {
    color: #18181b;
}

.fullscreen-menu__cta-desc {
    margin: 0 0 14px;
    font-family: var(--farah-sans, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.68);
}

[data-theme="light"] .fullscreen-menu__cta-desc {
    color: #52525b;
}

.fullscreen-menu__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    font-family: var(--farah-sans, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .fullscreen-menu__container {
        padding: 16px 16px 20px;
    }

    .fullscreen-menu__header {
        padding-bottom: 12px;
    }

    .fullscreen-menu__logo {
        max-height: 42px;
    }

    .fullscreen-menu__close {
        width: 38px;
        height: 38px;
    }

    .fullscreen-menu__body {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 16px;
        flex: 1 1 auto;
        padding-top: 12px;
        padding-bottom: 8px;
    }

    .fullscreen-menu__nav-grid {
        width: 100%;
        gap: 6px;
    }

    .fullscreen-menu__section-header {
        padding: 14px 16px;
    }

    .fullscreen-menu__section-title {
        font-size: 12px;
    }

    .fullscreen-menu__aside {
        width: 100%;
        margin-top: auto;
        align-self: stretch;
        padding: 16px 16px;
        border-radius: 0 !important;
    }

    .fullscreen-menu__cta-subtitle {
        font-size: 9px;
        margin-bottom: 3px;
    }

    .fullscreen-menu__cta-title {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .fullscreen-menu__cta-desc {
        font-size: 12px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .fullscreen-menu__cta-btn {
        min-height: 38px;
        font-size: 10.5px;
    }

    .fullscreen-menu__submenu {
        padding: 4px 8px 10px 8px;
        gap: 2px;
    }

    .fullscreen-menu__submenu a {
        font-size: 12px;
        padding: 8px 12px;
    }
}

.site-header__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 11px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.site-header__phone span:first-child {
    color: var(--farah-pink-light);
    font-size: 15px;
}

.site-header__phone-icon {
    display: inline-flex;
    width: 17px;
    height: 17px;
    color: var(--farah-pink-light);
}

.site-header__phone-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header__phone span:last-child {
    display: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    border: 1px solid transparent;
    font-size: var(--farah-button-font-size, 11px);
    font-family: var(--farah-sans);
    font-weight: var(--farah-button-font-weight, 700);
    border-radius: var(--farah-button-radius, 0px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
    box-sizing: border-box;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button--accent {
    background: var(--farah-button-bg, var(--farah-pink));
    color: #ffffff !important;
    border-color: transparent;
}

.button--accent:hover,
.button--accent:focus-visible {
    background: var(--farah-pink-light);
    color: #ffffff !important;
    border-color: transparent;
    transform: translateY(-1px);
}

.site-main {
    min-height: calc(100vh - 93px);
}

@media (max-width: 1180px) {
    .site-header__inner {
        width: min(100% - 48px, 980px);
        min-height: 76px;
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .site-header__inner {
        width: min(100% - 32px, 480px);
        min-height: 64px;
        gap: 10px;
    }

    .site-brand__name {
        font-size: 23px;
    }

    .site-header__phone {
        display: none;
    }
}

.container {
    width: min(100% - 96px, 1400px);
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--farah-pink-light);
    font-family: var(--farah-sans);
    font-size: var(--farah-eyebrow-size, 14px);
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero-section {
    position: relative;
    min-height: calc(100vh - 120px);
    max-height: 900px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0d0d0d;
    padding: 60px 0 40px;
}

.hero-section__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

.hero-section__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 55%, rgba(0, 0, 0, 0.38) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
}

.hero-section__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 112px 0 64px;
    box-sizing: border-box;
}

.hero-section h1 {
    max-width: 780px;
    margin: 0;
    color: #ffffff;
    font-family: var(--farah-sans);
    font-size: var(--farah-h1-size, 64px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-transform: capitalize;
}

.hero-section__copy {
    position: relative;
    z-index: 1;
    max-width: 570px;
    justify-self: start;
    text-align: left;
}

.hero-section__copy .eyebrow {
    color: #e6b649;
}

h1 em,
h2 em {
    color: var(--farah-pink-light);
    font-style: normal;
}

.hero-section__intro {
    max-width: 440px;
    margin: 34px 0 0;
    color: var(--farah-muted);
    font-size: var(--farah-body-size);
    line-height: var(--farah-body-line);
}

.hero-section__visual {
    position: relative;
    z-index: 1;
    justify-self: start;
    width: min(100%, 520px);
    filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.32));
    transition: transform 500ms ease, filter 500ms ease;
}

.hero-section__visual:hover {
    filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.42));
    transform: translateY(-6px);
}

.hero-section__visual::before {
    position: absolute;
    inset: 16px -16px -16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    content: "";
}

.hero-section__visual-image {
    position: relative;
    min-height: min(570px, 62svh);
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: url("assets/images/2151263561.webp") center / cover no-repeat;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
}

.hero-section__visual:hover .hero-section__visual-image {
    transform: scale(1.035);
}

.hero-section__actions,
.contact-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
    justify-content: flex-start;
}

.button--outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--farah-white);
}

.button--outline:hover,
.button--outline:focus-visible {
    border-color: var(--farah-pink-light);
    color: var(--farah-pink-light);
}

.hero-section__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.hero-section__scroll span {
    width: 30px;
    height: 1px;
    background: var(--farah-pink-light);
}

.metrics-section {
    background: var(--farah-black);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.metrics-grid--4,
.about-page__principles .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.metric {
    min-height: 166px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 18px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.075);
    text-align: center;
}

.metric:last-child {
    border-right: 0;
}

.metric strong {
    color: var(--farah-pink);
    font-family: var(--farah-display);
    font-size: clamp(38px, 4vw, 52px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
}

.metric strong span {
    color: var(--farah-pink-light);
}

.metric > span {
    max-width: none;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--farah-sans);
    font-size: 11px;
    letter-spacing: 0.24em;
    line-height: 1.5;
    white-space: nowrap;
    text-transform: uppercase;
}

.section {
    padding: 132px 0;
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    padding: 180px 0 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(90deg, rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0.58)),
        url("assets/images/14696.webp") center / cover no-repeat;
}

.page-hero::after {
    position: absolute;
    right: 8%;
    bottom: -140px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(234, 102, 173, 0.16);
    content: "";
    filter: blur(70px);
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

/* Inner-page heroes stay intentionally clean: eyebrow, title, and breadcrumb only. */
.page-hero__inner > p:not(.eyebrow) {
    display: none;
}

.page-hero h1 {
    max-width: 900px;
    margin: 0 auto;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: var(--farah-h1-size, 64px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.05;
    text-transform: capitalize;
    text-align: center;
}

.page-hero h1 em {
    color: var(--farah-pink);
    font-weight: 500;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 0;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.breadcrumb a {
    color: inherit;
    transition: color 150ms ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
    color: var(--farah-pink);
}

.breadcrumb span[aria-hidden="true"] {
    opacity: 0.6;
    font-size: 11px;
}

.blog-archive {
    background: var(--farah-black);
}

.blog-archive__intro {
    max-width: 620px;
    margin-bottom: 68px;
}

.blog-archive__intro h2 {
    margin: 0 0 22px;
    color: var(--farah-white);
}

.blog-archive__intro h2 em {
    color: var(--farah-pink);
}

.blog-archive__intro > p:last-child {
    max-width: 520px;
    margin: 0;
    color: var(--farah-muted);
    font-family: var(--farah-display);
    font-size: var(--farah-body-size);
    line-height: var(--farah-body-line);
}

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

.blog-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--farah-surface);
    transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.blog-card:hover {
    border-color: rgba(234, 102, 173, 0.55);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
    transform: translateY(-7px);
}

.blog-card__image {
    position: relative;
    display: block;
    min-height: 250px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
}

.blog-card__image > img {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__image:hover,
.blog-card:focus-within .blog-card__image {
    transform: scale(1.04);
}

.blog-card__image::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(8, 8, 8, 0.08), rgba(8, 8, 8, 0.72));
    content: "";
    z-index: 1;
    transition: background-color 240ms ease;
}

.blog-card__image::after {
    position: absolute;
    right: -20%;
    bottom: -50%;
    width: 75%;
    height: 90%;
    border-radius: 50%;
    background: rgba(234, 102, 173, 0.24);
    content: "";
    filter: blur(30px);
    z-index: 1;
}

/* Distinct local fallback artwork for blog and journal cards. */
.blog-card__image--1 { background-image: url("assets/images/blog_selling_tips.jpg"); }
.blog-card__image--2 { background-image: url("assets/images/blog_homebuyer_guide.jpg"); }
.blog-card__image--3 { background-image: url("assets/images/blog_market_insights.jpg"); }
.blog-card__image--4 { background-image: url("assets/images/blog_calgary_navigating.jpg"); }
.blog-card__image--5 { background-image: url("assets/images/blog_experience_matters.jpg"); }
.blog-card__image--6 { background-image: url("assets/images/blog_long_term_rel.jpg"); }

.blog-card__image > span {
    position: absolute;
    right: 20px;
    bottom: 18px;
    z-index: 1;
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-card__body {
    padding: 25px 25px 28px;
}

.blog-card__body .eyebrow {
    display: inline-block;
    margin: 0;
    color: var(--farah-pink);
}

.blog-card__date {
    float: right;
    margin: 0;
    color: rgba(255, 255, 255, 0.42);
    font-family: var(--farah-sans);
    font-size: 10px;
    letter-spacing: 0.04em;
}

.blog-card h4 {
    clear: both;
    min-height: 76px;
    margin: 28px 0 16px;
    color: var(--farah-white);
    font-size: var(--farah-h3-size);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.blog-card h4 a:hover,
.blog-card h4 a:focus-visible {
    color: var(--farah-pink);
}

.blog-card__body > p:not(.eyebrow):not(.blog-card__date) {
    display: -webkit-box;
    min-height: 0;
    overflow: hidden;
    margin: 0 0 22px;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: var(--farah-card-body-size);
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

.neighbourhood-page__hero {
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.88), rgba(8, 8, 8, 0.5)), url("assets/images/14696.webp") center / cover;
}

.neighbourhood-page__lede {
    max-width: 620px;
    margin: 30px 0 0;
    color: var(--farah-muted);
    font-size: 20px;
    line-height: 1.55;
}

.neighbourhood-intro,
.neighbourhood-quadrants {
    background: var(--farah-surface);
}

.neighbourhood-intro__inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 8vw, 130px);
    align-items: start;
}

.neighbourhood-intro h2,
.neighbourhood-contact-banner h2 {
    max-width: 560px;
    margin: 0;
}

.neighbourhood-intro__copy {
    max-width: 620px;
    color: var(--farah-muted);
    font-size: var(--farah-body-size);
    line-height: var(--farah-body-line);
}

.neighbourhood-intro__copy p {
    margin: 0 0 20px;
}

.neighbourhood-intro__copy p:last-child {
    margin-bottom: 0;
}

.neighbourhood-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.neighbourhood-category-card {
    position: relative;
    display: flex;
    min-height: 280px;
    padding: 30px;
    flex-direction: column;
    background: var(--farah-black);
    transition: background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.neighbourhood-category-card:hover,
.neighbourhood-category-card:focus-visible {
    z-index: 1;
    background: rgba(234, 102, 173, 0.08);
    transform: translateY(-5px);
}

.neighbourhood-category-card__number,
.neighbourhood-featured-card__number {
    color: var(--farah-pink);
    font-family: var(--farah-sans);
    font-size: 11px;
    letter-spacing: 0.16em;
}

.neighbourhood-category-card h4,
.neighbourhood-featured-card h4 {
    max-width: 290px;
    margin: 44px 0 14px;
    color: var(--farah-white);
    font-size: var(--farah-h3-size);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.neighbourhood-category-card p,
.neighbourhood-featured-card p,
.neighbourhood-quadrant-card p {
    margin: 0;
    color: var(--farah-muted);
    font-size: var(--farah-card-body-size);
    line-height: 1.6;
}

.neighbourhood-category-card .text-link,
.neighbourhood-featured-card .text-link {
    margin-top: auto;
    padding-top: 28px;
}

.neighbourhood-quadrant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.neighbourhood-quadrant-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--farah-black);
    transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.neighbourhood-quadrant-card:hover {
    border-color: rgba(234, 102, 173, 0.6);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
    transform: translateY(-6px);
}

.neighbourhood-quadrant-card__image {
    position: relative;
    min-height: 260px;
    background-position: center;
    background-size: cover;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
}

.neighbourhood-quadrant-card:hover .neighbourhood-quadrant-card__image,
.neighbourhood-quadrant-card:focus-within .neighbourhood-quadrant-card__image {
    transform: scale(1.04);
}

.neighbourhood-quadrant-card__image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(8, 8, 8, 0.82));
    content: "";
}

.neighbourhood-quadrant-card__image span {
    position: absolute;
    right: 24px;
    bottom: 20px;
    z-index: 1;
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.neighbourhood-quadrant-card__body {
    padding: 28px;
}

.neighbourhood-quadrant-card h4 {
    margin: 0 0 12px;
    color: var(--farah-white);
    font-size: var(--farah-h3-size);
    font-weight: 500;
}

.neighbourhood-quadrant-card .text-link {
    display: inline-flex;
    margin-top: 24px;
}

.neighbourhood-featured {
    background: var(--farah-black);
}

.neighbourhood-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    border: 0;
}

.neighbourhood-featured-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 28px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    background: transparent;
    transition: background-color 220ms ease, transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.neighbourhood-featured-card:hover,
.neighbourhood-featured-card:focus-visible,
.neighbourhood-featured-card:focus-within {
    background: rgba(234, 102, 173, 0.07);
    transform: translateY(-4px);
}

.neighbourhood-featured-card__excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    min-height: 3.2em;
}

.neighbourhood-featured-card h4,
.neighbourhood-featured-card p {
    position: relative;
}

.neighbourhood-featured-card h4 {
    margin-top: 36px;
    margin-bottom: 12px;
    transition: color 180ms ease;
}

.neighbourhood-featured-card h4 a {
    color: inherit;
    text-decoration: none;
}

.neighbourhood-featured-card h4 a:hover,
.neighbourhood-featured-card h4 a:focus-visible {
    color: var(--farah-pink);
}

.neighbourhood-contact-banner {
    background: var(--farah-pink);
    color: var(--farah-black);
}

.neighbourhood-contact-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.neighbourhood-contact-banner .eyebrow,
.neighbourhood-contact-banner h2 {
    color: var(--farah-black);
}

.neighbourhood-contact-banner .button--accent {
    border-color: var(--farah-black);
    background: var(--farah-black);
    color: var(--farah-white);
}

/* --------------------------------------------------------------------------
   Mortgage Payment & Financial Calculators
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Mortgage Payment & Financial Calculators
   -------------------------------------------------------------------------- */
.mortgage-calculator-page__hero {
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0.54)), url("assets/images/14696.webp") center / cover;
}

.mortgage-calculator {
    background: var(--farah-surface);
}

.mortgage-calculator__inner {
    width: min(100% - 64px, 1400px);
}

.mortgage-calculator__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
}

.mortgage-calculator__intro {
    max-width: 780px;
}

.mortgage-calculator__intro h2 {
    margin: 0 0 20px;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: var(--farah-h2-size);
    font-weight: 500;
    line-height: 1.05;
}

.mortgage-calculator__intro h2 em {
    color: var(--farah-pink);
    font-style: italic;
}

.mortgage-calculator__intro > p:not(.eyebrow) {
    margin: 0;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 16px;
    line-height: 1.65;
}

/* Tab Switcher: Centered / Luxury segmented bar matching site aesthetics */
.mortgage-tabs {
    display: inline-flex;
    gap: 6px;
    margin-top: 36px;
    padding: 6px;
    border: 1px solid var(--farah-border);
    background: var(--farah-black);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.mortgage-tab {
    min-height: 44px;
    padding: 0 28px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--farah-muted);
    cursor: pointer;
    font-family: var(--farah-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mortgage-tab:hover,
.mortgage-tab:focus-visible {
    color: var(--farah-pink);
    background: rgba(216, 90, 138, 0.08);
}

.mortgage-tab.is-active {
    border-color: var(--farah-pink);
    background: var(--farah-pink);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(216, 90, 138, 0.25);
}

.mortgage-panel[hidden] {
    display: none !important;
}

.mortgage-panel.is-active {
    animation: mortgage-panel-in 260ms cubic-bezier(0.2, 0, 0.2, 1) both;
}

@keyframes mortgage-panel-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Layout */
.mortgage-form {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 420px);
    gap: clamp(32px, 4vw, 54px);
    align-items: start;
}

.mortgage-form__card {
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--farah-border);
    background: var(--farah-black);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.mortgage-form__section {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--farah-border);
}

.mortgage-form__section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.mortgage-form__section-header {
    margin-bottom: 22px;
}

.mortgage-form__section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 6px;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
}

.mortgage-form__section-title small {
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mortgage-form__section-desc {
    margin: 0;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 13.5px;
    line-height: 1.5;
}

.mortgage-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.mortgage-form__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Form Fields & Controls */
.mortgage-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mortgage-form-field--full {
    grid-column: 1 / -1;
}

.mortgage-form-field--inline {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.mortgage-form-field__label {
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mortgage-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.mortgage-input-affix {
    position: absolute;
    color: var(--farah-pink);
    font-family: var(--farah-sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.mortgage-input-wrapper--prefix .mortgage-input-affix {
    left: 16px;
}

.mortgage-input-wrapper--prefix input {
    padding-left: 32px !important;
}

.mortgage-input-wrapper--suffix .mortgage-input-affix {
    right: 16px;
}

.mortgage-input-wrapper--suffix input {
    padding-right: 36px !important;
}

.mortgage-form input[type="text"],
.mortgage-form input[type="number"],
.mortgage-form select,
.mortgage-analysis select,
.mortgage-analysis input[type="number"],
.affordability-details input[type="number"],
.affordability-details select {
    width: 100%;
    min-height: 52px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 1px solid var(--farah-border);
    border-radius: 0 !important;
    background: var(--farah-surface);
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 14px;
    font-weight: 400;
    outline: none;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.mortgage-form select,
.mortgage-analysis select,
.affordability-details select {
    appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d85a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

[data-theme="dark"] .mortgage-form select,
[data-theme="dark"] .mortgage-analysis select,
[data-theme="dark"] .affordability-details select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ea66ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.mortgage-form input:focus,
.mortgage-form select:focus,
.mortgage-analysis select:focus,
.mortgage-analysis input:focus,
.affordability-details input:focus,
.affordability-details select:focus {
    border-color: var(--farah-pink);
    background: var(--farah-black);
    box-shadow: 0 0 0 3px rgba(216, 90, 138, 0.14);
}

.mortgage-form select option,
.mortgage-analysis select option,
.affordability-details select option {
    background: var(--farah-black);
    color: var(--farah-white);
}

/* Results Sidebar Card */
.mortgage-results {
    align-self: start;
    width: 100%;
    min-width: 0;
    padding: clamp(28px, 3.5vw, 42px);
    border: 1px solid rgba(216, 90, 138, 0.25);
    background: var(--farah-black);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.mortgage-results--sticky {
    position: sticky;
    top: 120px;
}

.mortgage-results__top {
    text-align: left;
    margin-bottom: 24px;
}

.mortgage-results .eyebrow {
    margin: 0 0 10px;
    color: var(--farah-pink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mortgage-results__payment {
    display: block;
    color: var(--farah-pink);
    font-family: var(--farah-display);
    font-size: clamp(40px, 4.2vw, 54px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 0 0 6px;
    overflow-wrap: anywhere;
}

.mortgage-results__frequency {
    margin: 0;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mortgage-results__details {
    display: flex;
    flex-direction: column;
    padding-top: 18px;
    border-top: 1px solid var(--farah-border);
}

.mortgage-results__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--farah-border);
}

.mortgage-results__row span {
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 13.5px;
}

.mortgage-results__row strong {
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 15px;
    font-weight: 600;
}

.mortgage-results__callout {
    margin-top: 24px;
    padding: 16px 18px;
    background: rgba(216, 90, 138, 0.06);
    border-left: 3px solid var(--farah-pink);
}

.mortgage-results__callout-title {
    display: block;
    color: var(--farah-pink);
    font-family: var(--farah-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.mortgage-results__callout p {
    margin: 0;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 13px;
    line-height: 1.5;
}

.mortgage-results__cta {
    width: 100%;
    margin-top: 24px;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    gap: 8px;
}

/* Accordions */
.mortgage-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
}

.mortgage-accordion__item {
    border: 1px solid var(--farah-border);
    background: var(--farah-black);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    transition: border-color 200ms ease;
}

.mortgage-accordion__item[open] {
    border-color: rgba(216, 90, 138, 0.4);
}

.mortgage-accordion__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.mortgage-accordion__summary::-webkit-details-marker {
    display: none;
}

.mortgage-accordion__icon::after {
    content: "+";
    color: var(--farah-pink);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.mortgage-accordion__item[open] .mortgage-accordion__icon::after {
    content: "−";
}

.mortgage-analysis__content {
    padding: 24px 28px 36px;
    border-top: 1px solid var(--farah-border);
}

.mortgage-analysis__intro p,
.mortgage-analysis__copy {
    max-width: 720px;
    margin: 0 0 20px;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 14px;
    line-height: 1.6;
}

.mortgage-expense-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.mortgage-analysis__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--farah-border);
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 14px;
}

.mortgage-analysis__total strong {
    color: var(--farah-pink);
    font-size: 22px;
    font-weight: 600;
}

.mortgage-analysis__columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.mortgage-cash-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mortgage-cash-summary {
    padding: 20px 24px;
    background: rgba(216, 90, 138, 0.05);
    border: 1px solid rgba(216, 90, 138, 0.2);
}

.mortgage-cash-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--farah-border);
    font-family: var(--farah-sans);
    font-size: 13.5px;
    color: var(--farah-muted);
}

.mortgage-cash-summary__row strong {
    color: var(--farah-white);
    font-weight: 600;
}

.mortgage-cash-summary__total {
    border-bottom: 0;
    padding-top: 14px;
    margin-top: 6px;
    border-top: 2px solid rgba(216, 90, 138, 0.3);
    color: var(--farah-pink);
    font-weight: 600;
}

.mortgage-cash-summary__total strong {
    font-size: 20px;
    color: var(--farah-pink);
}

.mortgage-scenario-table-wrap {
    margin-top: 32px;
    overflow-x: auto;
}

.mortgage-scenario-table__title {
    margin: 0 0 16px;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: 20px;
    font-weight: 500;
}

.mortgage-scenario-table,
.mortgage-schedule {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-family: var(--farah-sans);
    font-size: 13.5px;
    color: var(--farah-muted);
}

.mortgage-scenario-table th,
.mortgage-scenario-table td,
.mortgage-schedule th,
.mortgage-schedule td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--farah-border);
    text-align: right;
}

.mortgage-scenario-table th:first-child,
.mortgage-scenario-table td:first-child,
.mortgage-schedule th:first-child,
.mortgage-schedule td:first-child {
    text-align: left;
}

.mortgage-scenario-table th,
.mortgage-schedule th {
    color: var(--farah-pink);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--farah-surface);
}

.mortgage-scenario-table td:last-child,
.mortgage-schedule td:last-child {
    color: var(--farah-white);
    font-weight: 600;
}

.mortgage-rate-table {
    border: 1px solid var(--farah-border);
    background: var(--farah-surface);
}

.mortgage-rate-table > div {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 0.8fr 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--farah-border);
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 13.5px;
}

.mortgage-rate-table > div:last-child {
    border-bottom: 0;
}

.mortgage-rate-table__head {
    color: var(--farah-pink) !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(216, 90, 138, 0.06);
}

.mortgage-rate-table strong {
    color: var(--farah-white);
    font-weight: 600;
}

.mortgage-rate-table > div[data-rate-row="base"] {
    background: rgba(216, 90, 138, 0.08);
}

.mortgage-rate-table > div[data-rate-row="base"] strong {
    color: var(--farah-pink);
}

.mortgage-analysis__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

/* Affordability Specific Styles */
.affordability-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
}

.affordability-step-badge {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    background: var(--farah-pink);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

.affordability-detail__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    gap: clamp(24px, 5vw, 60px);
    padding: 24px 28px 36px;
    border-top: 1px solid var(--farah-border);
}

.affordability-detail__content--scenario {
    grid-template-columns: 1fr;
}

.affordability-copy h4 {
    margin: 0 0 8px;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: 20px;
    font-weight: 500;
}

.affordability-copy h4 + p {
    margin-bottom: 24px;
}

.affordability-copy p {
    max-width: 620px;
    margin: 0;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 14px;
    line-height: 1.6;
}

.affordability-output-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.affordability-output-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--farah-surface);
    border: 1px solid var(--farah-border);
    font-family: var(--farah-sans);
    font-size: 14px;
}

.affordability-output-row span {
    color: var(--farah-muted);
}

.affordability-output-row output {
    color: var(--farah-white);
    font-weight: 600;
}

.affordability-scenario-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.affordability-scenario-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    background: var(--farah-surface);
    border: 1px solid var(--farah-border);
}

.affordability-scenario-card span {
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.affordability-scenario-card output {
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 18px;
    font-weight: 600;
}

.affordability-scenario-card output + output {
    margin-left: 8px;
    color: var(--farah-pink);
    font-size: 14px;
}

.affordability-total-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding: 22px 26px;
    background: rgba(216, 90, 138, 0.08);
    border: 1px solid rgba(216, 90, 138, 0.25);
    color: var(--farah-pink);
}

.affordability-total-card span {
    font-family: var(--farah-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.affordability-total-card strong {
    font-family: var(--farah-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--farah-pink);
}

.affordability-summary {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--farah-border);
    background: var(--farah-surface);
}

.affordability-summary__row,
.affordability-summary__input-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid var(--farah-border);
    font-family: var(--farah-sans);
    font-size: 14px;
    color: var(--farah-muted);
}

.affordability-summary__input-row .mortgage-input-wrapper {
    max-width: 140px;
}

.affordability-summary__input-row input {
    min-height: 42px;
    padding: 0 12px 0 28px !important;
    text-align: right;
}

.affordability-summary__row strong {
    color: var(--farah-white);
    font-weight: 600;
}

.affordability-summary__total {
    border-bottom: 0;
    background: rgba(216, 90, 138, 0.06);
    color: var(--farah-pink);
    font-weight: 600;
}

.affordability-summary__total strong {
    font-size: 18px;
    color: var(--farah-pink);
}

.mortgage-calculator__note {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--farah-border);
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 12px;
    line-height: 1.65;
}

.mortgage-calculator__note p {
    max-width: 980px;
    margin: 0;
}

/* Responsive Rules for Mortgage Calculator */
@media (max-width: 1024px) {
    .mortgage-form {
        grid-template-columns: 1fr;
    }
    .mortgage-results--sticky {
        position: static;
        top: auto;
    }
    .mortgage-expense-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mortgage-analysis__columns {
        grid-template-columns: 1fr;
    }
    .affordability-detail__content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .mortgage-tabs {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    .mortgage-tab {
        flex: 1 1 100%;
        text-align: center;
    }
    .mortgage-form__grid,
    .mortgage-form__grid--3,
    .mortgage-expense-grid,
    .mortgage-cash-options,
    .affordability-scenario-fields {
        grid-template-columns: 1fr;
    }
    .mortgage-results {
        padding: 24px 20px;
    }
    .mortgage-results__payment {
        font-size: clamp(34px, 10vw, 46px);
    }
    .mortgage-analysis__toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .mortgage-rate-table > div {
        grid-template-columns: 1fr 0.6fr 0.8fr;
        padding: 12px 14px;
        font-size: 12px;
    }
}


.blog-pagination,
.rets-pagination {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 58px;
}

.blog-pagination ul {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-pagination a,
.blog-pagination .current,
.rets-pagination a,
.rets-pagination .page-numbers,
.rets-pagination button,
.rets-pagination > span {
    display: inline-flex;
    min-width: 0;
    width: auto;
    height: auto;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: color 180ms ease;
}

.rets-pagination {
    gap: 20px;
}

.rets-pagination button {
    background: transparent;
    cursor: pointer;
}

.rets-pagination__page.is-current,
.rets-pagination .current {
    color: var(--farah-white);
}

.rets-pagination__ellipsis,
.rets-pagination .dots {
    display: inline-flex;
    min-width: 0;
    height: auto;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: var(--farah-muted);
    font-family: var(--farah-display);
    font-size: 18px;
    line-height: 1;
}

.rets-pagination button:disabled {
    display: none;
}

/* --------------------------------------------------------------------------
   Responsive hardening
   Covers narrow phones, dual-screen/foldable widths, tablets and iPads.
   Keep this final in the stylesheet so it consistently wins over page rules.
   -------------------------------------------------------------------------- */
html { overflow-x: clip; }
body { overflow-wrap: break-word; }
img, video, iframe, svg { max-width: 100%; }
img, video { height: auto; }
input, select, textarea, button { max-width: 100%; font: inherit; }
.site-main, .site-main > *, .container { min-width: 0; }
.entry-content table, .single-post-content__body table,
.mortgage-scenario-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 900px) {
    :root {
        --farah-h1-size: clamp(40px, 6vw, 64px);
        --farah-h2-size: clamp(32px, 4.5vw, 48px);
    }

    .container { width: min(100% - 48px, 760px); }
    .page-hero h1, .property-hero h1 { overflow-wrap: anywhere; }
    .site-footer__top, .site-footer__bottom { min-width: 0; }

    /* Foldables and compact tablets need two useful columns, not three
       narrow select boxes that truncate their labels and values. */
    .rets-filter-location-row,
    .rets-filter-sort-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rets-filter-sort-row .rets-filter-field:first-child { grid-column: 1 / -1; }

    .single-property-page .property-detail-media {
        grid-template-columns: minmax(0, 1fr) minmax(230px, 280px);
        gap: 28px;
    }
    .single-property-page .property-detail-media .property-gallery {
        grid-template-columns: 82px minmax(0, 1fr);
    }
    .single-property-page .property-detail-media .property-gallery__thumbs {
        padding-right: 12px;
    }
}

@media (max-width: 760px) {
    .container { width: min(100% - 36px, 620px); }
    .section { overflow: clip; }

    .rets-filter-location-row,
    .rets-filter-sort-row,
    .rets-filter-range-fields { grid-template-columns: 1fr; }
    .rets-filter-sort-row .rets-filter-field:first-child { grid-column: auto; }
    .rets-filter-form { padding: 22px !important; }
    .rets-filter-actions { align-items: stretch; flex-direction: column; }
    .rets-filter-actions button,
    .rets-filter-actions .rets-filter-submit,
    .rets-filter-actions .rets-filter-reset { width: 100%; min-width: 0; margin-left: 0; }

    .single-property-page .property-detail-media { grid-template-columns: 1fr; }
    .single-property-page .property-detail-media .property-gallery { grid-template-columns: 1fr; }
    .property-lightbox { padding: max(10px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
    .property-lightbox__dialog { width: 100%; height: min(84dvh, 720px); }
    .property-gallery__control { min-width: 44px; min-height: 44px; }

    .site-footer__top { grid-template-columns: 1fr; }
    .site-footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
    :root {
        --farah-h1-size: clamp(34px, 8.5vw, 48px);
        --farah-h2-size: clamp(26px, 6.5vw, 36px);
        --farah-body-size: 16px;
    }

    .container,
    .site-header__inner { width: calc(100% - 28px); }
    .site-brand__logo { width: 140px; height: auto; max-height: 48px; }
    .site-header__actions .button { padding-right: 12px; padding-left: 12px; letter-spacing: .06em; }

    .rets-filter-form { padding: 16px !important; }
    .rets-card-body { padding-right: 18px; padding-left: 18px; }
    .rets-card-details { gap: 10px; }
    .rets-pagination { gap: 6px; }
    .rets-pagination a, .rets-pagination .page-numbers,
    .rets-pagination button, .rets-pagination > span { width: 40px; min-width: 40px; height: 40px; }
    .rets-pagination__arrow { width: 44px !important; min-width: 44px !important; }

    .property-gallery__stage { min-height: 240px; height: 72vw; }
    .property-lightbox__dialog { grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 2px; }
    .property-lightbox__prev, .property-lightbox__next { width: 40px; height: 44px; }
    .single-property-page .property-description-summary { grid-template-columns: 1fr; }
}

@media (hover: none) and (pointer: coarse) {
    .rets-card:hover, .property-card:hover, .blog-card:hover { transform: none; }
    a, button, input, select, textarea { -webkit-tap-highlight-color: rgba(234, 102, 173, .22); }
}

.rets-pagination__arrow,
.rets-pagination .prev,
.rets-pagination .next {
    font-size: 23px !important;
}

.blog-pagination .current,
.blog-pagination a:hover,
.blog-pagination a:focus-visible,
.rets-pagination a:hover,
.rets-pagination a:focus-visible,
.rets-pagination button:hover:not(:disabled),
.rets-pagination button:focus-visible:not(:disabled) {
    color: var(--farah-pink);
}

.single-post-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 190px 0 90px;
    background-color: var(--farah-black);
}

.single-post-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0.62));
    content: "";
}

.single-post-hero__image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
    transform: scale(1.02);
}

.single-post-hero h1 {
    max-width: 1000px;
    margin: 0;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: var(--farah-h1-size, 64px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.05;
    text-transform: capitalize;
}

.single-post-hero__meta {
    margin: 34px 0 0;
    color: var(--farah-pink);
    font-family: var(--farah-sans);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.single-post-content {
    background: var(--farah-surface);
}

.single-post-content__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: clamp(60px, 10vw, 150px);
    align-items: start;
    min-width: 0;
}

.single-post-content__body {
    width: 100%;
    min-width: 0;
    max-width: none;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: var(--farah-body-size);
    line-height: var(--farah-body-line);
    overflow-wrap: anywhere;
}

/* WordPress content can contain editor-sized images, galleries, tables, and embeds.
 * Keep every article asset inside the available reading column. */
.single-post-content__body > *,
.single-post-content__body > div,
.single-post-content__body > a,
.single-post-content__body figure,
.single-post-content__body .wp-block-image,
.single-post-content__body .wp-block-gallery,
.single-post-content__body .wp-block-embed {
    width: 100%;
    max-width: 100%;
}

.single-post-content__body > a {
    display: block;
}

.single-post-content__body img,
.single-post-content__body video,
.single-post-content__body iframe,
.single-post-content__body embed,
.single-post-content__body object {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.single-post-content__body figure {
    margin: 34px 0;
}

.single-post-content__body figure img {
    margin: 0;
}

.single-post-content__body figcaption {
    margin-top: 10px;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 13px;
    line-height: 1.5;
}

.single-post-content__body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.single-post-content__body pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
}

.single-post-content__body h2,
.single-post-content__body h3 {
    margin: 54px 0 18px;
    color: var(--farah-white);
    font-family: var(--farah-display);
    line-height: 1.1;
}

.single-post-content__body h2 {
    font-size: var(--farah-h2-size);
}

.single-post-content__body h3 {
    font-size: var(--farah-h3-size);
}

.single-post-content__body p {
    margin: 0 0 24px;
}

.single-post-content__body ul,
.single-post-content__body ol {
    margin: 0 0 28px;
    padding-left: 24px;
}

.single-post-content__body li {
    margin-bottom: 8px;
}

.single-post-content__aside {
    position: sticky;
    top: 125px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 8px;
}

.single-post-content__aside .eyebrow {
    margin-bottom: 8px;
}

.buying-guide-content {
    background: var(--farah-surface);
}

.buying-guide-content__inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(50px, 9vw, 140px);
    align-items: start;
}

.buying-guide-intro {
    position: sticky;
    top: 125px;
}

.buying-guide-intro h2 {
    margin: 0;
    color: var(--farah-white);
}

.buying-guide-intro h2 em {
    color: var(--farah-pink);
}

.buying-guide-copy,
.buying-guide-step p,
.buying-guide-details__closing {
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: var(--farah-body-size);
    line-height: var(--farah-body-line);
}

.buying-guide-copy p {
    margin: 0 0 25px;
}

.buying-guide-copy strong {
    color: var(--farah-white);
    font-weight: 500;
}

.buying-guide-steps-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin: 32px 0 34px;
    padding: 0;
    list-style: none;
    counter-reset: buying-step;
}

.buying-guide-steps-list li {
    counter-increment: buying-step;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.buying-guide-steps-list li::before {
    display: inline-block;
    width: 32px;
    color: var(--farah-pink);
    content: counter(buying-step, decimal-leading-zero);
    font-family: var(--farah-sans);
    font-size: 10px;
    letter-spacing: 0.1em;
}

.buying-guide-steps-list a {
    display: inline-block;
    padding: 16px 0;
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.buying-guide-steps-list a:hover,
.buying-guide-steps-list a:focus-visible {
    color: var(--farah-pink);
}

.buying-guide-copy__lead {
    color: var(--farah-pink);
    font-style: italic;
}

.buying-guide-details {
    margin-top: 120px;
}

.buying-guide-continue a {
    color: var(--farah-pink);
}

.buying-guide-continue a:hover,
.buying-guide-continue a:focus-visible {
    color: var(--farah-white);
}

.buying-guide-step {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 34px;
    padding: 54px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    scroll-margin-top: 120px;
}

.buying-guide-step__number {
    color: var(--farah-pink);
    font-family: var(--farah-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.buying-guide-step h4 {
    margin: 0 0 22px;
    color: var(--farah-white);
    font-size: var(--farah-h3-size);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.buying-guide-step p {
    max-width: 820px;
    margin: 0 0 18px;
}

.buying-guide-details__closing {
    max-width: 820px;
    margin: 58px 0 0 134px;
    color: var(--farah-white);
}

.section--properties,
.journal-section {
    background: var(--farah-black);
}

.section-heading {
    margin-bottom: 56px;
}

.section-heading--split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.section-heading h2,
.contact-banner h2 {
    margin: 0;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: var(--farah-h2-size);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--farah-pink-light);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.text-link span {
    font-size: 17px;
    line-height: 0;
    transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
    transform: translateX(4px);
}

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

.property-card {
    overflow: hidden;
    background: var(--farah-surface);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    transition: transform 300ms ease, box-shadow 300ms ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
}

.property-card__image {
    position: relative;
    min-height: 360px;
    display: block;
    background-position: center;
    background-size: cover;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
    isolation: isolate;
}

.property-card__image::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.3));
    content: "";
}

.property-card:hover .property-card__image,
.property-card:focus-within .property-card__image {
    transform: scale(1.04);
}

.property-card__tag {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 8px 10px;
    background: var(--farah-pink);
    color: var(--farah-white);
    font-size: 9px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.property-card__arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--farah-white);
    font-size: 18px;
}

.property-card__body {
    padding: 24px 22px 26px;
}

.property-card__price {
    margin: 0 0 10px;
    color: var(--farah-pink-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.property-card h4,
.journal-card h4 {
    margin: 0;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: var(--farah-h3-size);
    font-weight: 500;
    line-height: 1.1;
}

.property-card__details {
    margin: 13px 0 0;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: var(--farah-card-body-size);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-section {
    background: var(--farah-surface);
}

.about-section__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(50px, 9vw, 140px);
    align-items: stretch;
}

.about-section__image {
    height: 100%;
    min-height: 620px;
    overflow: hidden;
    background: var(--farah-black);
}

.about-section__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 700ms ease;
}

.about-section__image:hover img {
    transform: scale(1.035);
}

.about-section__content {
    text-align: left;
}

.about-section__content p:not(.eyebrow) {
    max-width: none;
    color: var(--farah-muted);
    font-size: var(--farah-body-size);
    line-height: var(--farah-body-line);
}

.contact-banner p:not(.eyebrow) {
    max-width: 520px;
    color: var(--farah-muted);
    font-size: var(--farah-body-size);
    line-height: var(--farah-body-line);
}

.about-section__content .text-link {
    margin-top: 18px;
}

.testimonials-section {
    background: var(--farah-black);
}

.testimonial-carousel {
    position: relative;
    min-height: 440px;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 70px;
    grid-template-rows: 96px minmax(300px, 1fr) 30px;
    align-items: center;
}

.testimonial-carousel__heading {
    grid-column: 1 / -1;
    text-align: center;
}

.testimonial-carousel__heading .eyebrow {
    color: #e6b649;
}

.testimonial-carousel__quote-mark {
    display: block;
    color: var(--farah-pink);
    font-family: Georgia, serif;
    font-size: 90px;
    line-height: 0.6;
}

.testimonial-carousel__slides {
    grid-column: 2;
    min-width: 0;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translate3d(42px, 0, 0);
    transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.testimonial-slide[hidden] {
    display: none;
}

.testimonial-slide.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.testimonial-slide.is-leaving {
    opacity: 0;
    transform: translate3d(-42px, 0, 0);
}

.testimonial-slide.is-active.is-reverse {
    transform: translate3d(0, 0, 0);
}

.testimonial-slide.is-entering.is-reverse {
    transform: translate3d(-42px, 0, 0);
}

.testimonial-slide.is-leaving.is-reverse {
    transform: translate3d(42px, 0, 0);
}

.testimonial-slide p {
    width: 100%;
    max-width: none;
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--farah-display);
    font-size: var(--farah-h3-size);
    font-style: italic;
    line-height: 1.35;
}

.testimonial-slide footer {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 28px;
}

.testimonial-slide footer strong {
    color: var(--farah-pink);
    font-family: var(--farah-sans);
    font-size: 16px;
    font-weight: 500;
}

.testimonial-slide footer span {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--farah-sans);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.journal-card p,
.testimonial-card p {
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: var(--farah-card-body-size);
    line-height: 1.6;
}

.testimonial-carousel__arrow {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #e6b649;
    cursor: pointer;
    font-family: Georgia, serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1;
    transition: color 180ms ease, transform 180ms ease;
}

.testimonial-carousel__arrow:hover,
.testimonial-carousel__arrow:focus-visible {
    color: var(--farah-pink);
    transform: scale(1.12);
}

.testimonial-carousel__arrow--previous {
    grid-column: 1;
    grid-row: 2;
}

.testimonial-carousel__arrow--next {
    grid-column: 3;
    grid-row: 2;
}

.testimonial-carousel__dots {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 0;
}

.testimonial-carousel__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease;
}

.testimonial-carousel__dots button.is-active,
.testimonial-carousel__dots button:hover,
.testimonial-carousel__dots button:focus-visible {
    background: var(--farah-pink);
    transform: scale(1.45);
}

.testimonials-section__link {
    width: 100%;
    justify-content: center;
    margin-top: 34px;
}

.journal-card__image {
    min-height: 250px;
    margin-bottom: 24px;
    background-position: center;
    background-size: cover;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 600ms ease;
    transform-origin: center;
}

.journal-card {
    overflow: hidden;
}

.journal-card:hover .journal-card__image {
    filter: saturate(1.15);
    transform: scale(1.04);
}

.rets-gallery img {
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: center;
}

.rets-card:hover .rets-gallery img,
.rets-card:focus-within .rets-gallery img {
    transform: scale(1.04);
}

/* Keep image zoom consistent for linked media added by listing/content integrations. */
.property-card__image,
.blog-card__image,
.journal-card__image,
.neighbourhood-quadrant-card__image {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .hero-section__visual-image,
    .property-card__image,
    .blog-card__image,
    .journal-card__image,
    .neighbourhood-quadrant-card__image,
    .rets-gallery img,
    .about-section__image img {
        transition: none;
    }

    .hero-section__visual:hover .hero-section__visual-image,
    .property-card:hover .property-card__image,
    .property-card:focus-within .property-card__image,
    .blog-card__image:hover,
    .blog-card:focus-within .blog-card__image,
    .journal-card:hover .journal-card__image,
    .neighbourhood-quadrant-card:hover .neighbourhood-quadrant-card__image,
    .neighbourhood-quadrant-card:focus-within .neighbourhood-quadrant-card__image {
        background-size: cover;
        transform: none;
    }

    .rets-card:hover .rets-gallery img,
    .rets-card:focus-within .rets-gallery img {
        transform: none;
    }

    .about-section__image:hover img {
        transform: none;
    }
}

.journal-card__image--1,
.journal-card__image--2,
.journal-card__image--3 { background-image: url("assets/images/triple-pane-windows-more-soundproof.webp"); }

.journal-card h4 {
    min-height: 84px;
    margin-bottom: 22px;
    font-size: var(--farah-h3-size);
    text-transform: none;
}

.contact-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(100px, 11vw, 170px) 0;
    background: var(--farah-black) url("assets/images/14696.webp") center / cover no-repeat;
    text-align: center;
}

.contact-banner::before {
    position: absolute;
    z-index: -2;
    inset: -24px;
    background: url("assets/images/14696.webp") center / cover no-repeat;
    content: "";
    filter: blur(10px) brightness(0.38) saturate(0.8);
    transform: scale(1.04);
}

.contact-banner::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    content: "";
}

.contact-banner__inner {
    display: block;
}

.contact-banner .eyebrow,
.contact-banner h2 em {
    color: var(--farah-pink);
}

.contact-banner h2 {
    color: var(--farah-white);
    font-size: var(--farah-h2-size, 48px);
    font-style: italic;
    text-transform: capitalize;
}

.contact-banner p:not(.eyebrow) {
    max-width: 700px;
    margin: 38px auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--farah-sans);
    font-size: 18px;
    line-height: 1.55;
}

.contact-banner__actions {
    justify-content: center;
    margin: 52px auto 0;
}

.contact-banner .button--accent {
    background: var(--farah-pink);
    color: var(--farah-white);
}

.contact-banner .button--accent:hover,
.contact-banner .button--accent:focus-visible {
    background: var(--farah-white);
    color: var(--farah-black);
}

.contact-banner .button--outline {
    border-color: #e6b649;
    color: #e6b649;
}

.contact-banner .button--outline:hover,
.contact-banner .button--outline:focus-visible {
    border-color: var(--farah-pink);
    color: var(--farah-pink);
}

.site-header--scrolled {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.home .site-header--scrolled {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
}

.farah-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.farah-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero banners, property detail pages, and property archive grids must never be hidden by scroll reveal */
.page-hero,
.hero-section,
.property-hero,
.single-property-page > .farah-reveal,
.properties-page > .farah-reveal,
.site-main > section:first-of-type {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.hero-section__copy p:not(.eyebrow),
.about-section__content p:not(.eyebrow),
.contact-banner p:not(.eyebrow) {
    font-family: var(--farah-sans);
}

.site-footer {
    padding: 125px 0 40px;
    background: var(--farah-pink);
    color: var(--farah-black);
}

.site-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(170px, 0.8fr) minmax(190px, 0.9fr) minmax(280px, 1fr);
    gap: 96px;
    padding-bottom: 112px;
}

.site-footer__identity {
    min-width: 0;
}

.site-footer__brand {
    margin: 0;
    color: var(--farah-black);
    font-family: var(--farah-display);
    font-size: clamp(46px, 5vw, 76px);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.9;
}

.site-footer__brand em {
    font-weight: 500;
}

.site-footer__summary {
    max-width: 470px;
    margin: 34px 0 0;
    color: rgba(8, 8, 8, 0.76);
    font-family: var(--farah-sans);
    font-size: var(--farah-body-size);
    line-height: var(--farah-body-line);
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.site-footer__links a {
    font-size: 15px;
    line-height: 1.5;
}

.site-footer__heading {
    margin: 0 0 24px;
    color: rgba(8, 8, 8, 0.75);
    font-family: var(--farah-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

[data-theme="dark"] .site-footer__brand,
[data-theme="dark"] .site-footer__summary,
[data-theme="dark"] .site-footer__heading,
[data-theme="dark"] .site-footer__column a,
[data-theme="dark"] .site-footer__column span,
[data-theme="dark"] .site-footer__live-copy,
[data-theme="dark"] .site-footer__live-copy p,
[data-theme="dark"] .site-footer__legal,
[data-theme="dark"] .site-footer__legal span,
[data-theme="dark"] .site-footer__copyright,
[data-theme="dark"] .site-footer__live-links a {
    color: var(--farah-black, #080808);
}

[data-theme="dark"] .site-footer__heading {
    color: rgba(8, 8, 8, 0.75);
}

.site-footer__column a,
.site-footer__column span {
    color: rgba(8, 8, 8, 0.86);
    font-family: var(--farah-sans);
    font-size: 15px;
    line-height: 1.4;
}

[data-theme="dark"] .site-footer__column a,
[data-theme="dark"] .site-footer__column span {
    color: rgba(8, 8, 8, 0.86);
}

.site-footer__column a {
    position: relative;
    transition: color 180ms ease;
}

.site-footer__links a::after {
    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.site-footer__links a:hover::after,
.site-footer__links a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible {
    color: #000000;
}

.site-footer__column--connect a,
.site-footer__column--connect span {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-footer__contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.site-footer__brokerage {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 6px;
    padding-left: 0;
}

.site-footer__brokerage-logo {
    display: block;
    max-width: 140px;
    height: auto;
    object-fit: contain;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    mix-blend-mode: multiply;
}

[data-theme="dark"] .site-footer__brokerage-logo {
    mix-blend-mode: multiply;
    filter: none;
}

.site-footer__office {
    padding-left: 0;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    color: rgba(8, 8, 8, 0.72) !important;
}

.site-footer__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(8, 8, 8, 0.86);
}

.site-footer__icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[data-theme="dark"] .site-footer__icon {
    color: rgba(8, 8, 8, 0.86);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding-top: 38px;
    border-top: 1px solid rgba(8, 8, 8, 0.2);
    color: rgba(8, 8, 8, 0.64);
    font-family: var(--farah-sans);
    font-size: 13px;
}

.site-footer__live-copy {
    max-width: 1400px;
    padding-bottom: 38px;
    color: rgba(8, 8, 8, 0.72);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
}

.site-footer__live-copy p {
    margin: 0 0 28px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
}

.site-footer__live-copy p:last-child {
    margin-bottom: 0;
}

.site-footer__live-copy a {
    color: inherit;
    text-decoration: none;
}

.site-footer__live-copy a:hover,
.site-footer__live-copy a:focus-visible {
    color: var(--farah-white);
}

.site-footer__legal {
    display: flex;
    max-width: 72%;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.site-footer__legal > span:last-child {
    line-height: 1.6;
}

.site-footer__copyright {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.site-footer__divider {
    color: rgba(8, 8, 8, 0.4);
}

.site-footer__live-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.site-footer__live-links a {
    color: rgba(8, 8, 8, 0.72);
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.site-footer__live-links a:hover,
.site-footer__live-links a:focus-visible {
    color: var(--farah-white);
    transform: translateY(-2px);
}

.privacy-policy-content__inner {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: 96px;
}

.privacy-policy-content__intro {
    position: sticky;
    top: 120px;
    align-self: start;
}

.privacy-policy-content__intro h2 {
    max-width: 360px;
    margin: 24px 0 0;
}

.privacy-policy-content__body {
    max-width: 820px;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--farah-sans);
    font-size: 16px;
    line-height: 1.75;
}

.privacy-policy-content__body p {
    margin: 0 0 24px;
}

.privacy-policy-content__body h3 {
    margin: 56px 0 16px;
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.privacy-policy-content__body a {
    color: var(--farah-pink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer__social-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(8, 8, 8, 0.6);
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.site-footer__attribution {
    opacity: 0.72;
}

.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
    color: var(--farah-white);
}

@media (max-width: 900px) {
    .container {
        width: min(100% - 48px, 680px);
    }

    .site-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 32px;
    }

    .property-grid,
    .testimonial-grid,
    .journal-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section__grid,
    .contact-banner__inner,
    .buying-guide-content__inner,
    .neighbourhood-intro__inner {
        grid-template-columns: 1fr;
        display: grid;
    }

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

    .neighbourhood-featured-card:nth-child(2) {
        border-right: 0;
    }

    .neighbourhood-featured-card:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .neighbourhood-quadrant-grid {
        grid-template-columns: 1fr;
    }

    .neighbourhood-contact-banner__inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .mortgage-calculator__inner,
    .mortgage-form {
        grid-template-columns: 1fr;
    }

    .mortgage-form__section-fields {
        grid-template-columns: 1fr;
    }

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

    .mortgage-analysis__columns {
        grid-template-columns: 1fr;
    }

    .affordability-detail__content {
        grid-template-columns: 1fr;
    }

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

    .mortgage-results {
        min-height: 0;
    }

    .mortgage-results--sticky {
        position: static;
        min-height: 0;
    }

    .mortgage-tabs {
        flex-wrap: wrap;
    }

    .contact-banner__inner {
        display: block;
    }

    .about-section__image {
        height: auto;
        min-height: 460px;
    }

    .contact-banner__actions {
        margin-top: 52px;
    }

    .buying-guide-intro {
        position: static;
    }

    .buying-guide-details {
        margin-top: 72px;
    }

    .buying-guide-step {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 18px;
    }

    .buying-guide-details__closing {
        margin-left: 72px;
    }

    .single-post-content__inner {
        grid-template-columns: 1fr;
    }

    .single-post-content__aside {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 18px 28px;
    }

    .hero-section__content {
        grid-template-columns: 1fr;
        gap: 46px;
        padding-top: 160px;
        height: auto;
        min-height: 100svh;
    }

    .hero-section {
        height: auto;
        min-height: 100svh;
    }

    .hero-section__copy,
    .hero-section__visual {
        justify-self: center;
    }

    .hero-section__visual {
        width: min(100%, 560px);
    }

    .hero-section__visual-image {
        min-height: 340px;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 36px, 480px);
    }

    .hero-section {
        min-height: 640px;
    }

    .page-hero {
        padding: 140px 0 58px;
    }

    .buying-guide-steps-list {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .neighbourhood-category-grid,
    .neighbourhood-featured-grid {
        grid-template-columns: 1fr;
    }

    .neighbourhood-featured-card,
    .neighbourhood-featured-card:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .neighbourhood-featured-card:last-child {
        border-bottom: 0;
    }

    .mortgage-calculator__inner {
        gap: 40px;
    }

    .mortgage-results {
        padding: 24px;
    }

    .mortgage-calculator__inner {
        width: min(100% - 36px, 480px);
    }

    .mortgage-tools {
        margin-top: 48px;
    }

    .mortgage-expense-grid {
        grid-template-columns: 1fr;
    }

    .mortgage-analysis__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .mortgage-analysis__toolbar label,
    .mortgage-analysis__toolbar select {
        width: 100%;
    }

    .mortgage-analysis__toolbar label {
        align-items: stretch;
        flex-direction: column;
    }

    .mortgage-cash-options {
        grid-template-columns: 1fr;
    }

    .affordability-scenario-fields {
        grid-template-columns: 1fr;
    }

    .mortgage-rate-table > div {
        grid-template-columns: 1fr 0.6fr 0.8fr;
        padding: 14px 12px;
        font-size: 11px;
    }

    .mortgage-tab {
        flex: 1 1 100%;
    }

    .blog-card h4 {
        min-height: 0;
    }

    .blog-card__body > p:not(.eyebrow):not(.blog-card__date) {
        min-height: 0;
    }

    .single-post-hero {
        padding: 150px 0 70px;
    }

    .single-post-content__body {
        font-size: var(--farah-body-size);
    }

    .buying-guide-copy,
    .buying-guide-step p,
    .buying-guide-details__closing {
        font-size: var(--farah-body-size);
    }

    .buying-guide-step {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .buying-guide-details__closing {
        margin-left: 0;
    }

    .hero-section__content {
        min-height: 100svh;
        padding: 150px 0 90px;
    }

    .hero-section h1 {
        font-size: var(--farah-h1-size);
    }

    .hero-section__visual-image {
        min-height: 300px;
    }

    .section {
        padding: 80px 0;
    }

    .section-heading--split {
        align-items: start;
        flex-direction: column;
    }

    .metrics-grid,
    .property-grid,
    .testimonial-grid,
    .journal-grid {
        grid-template-columns: 1fr;
    }

    .metric,
    .metric:first-child {
        min-height: 105px;
        padding: 20px 0;
        border-right: 0;
    }

    .metric > span {
        white-space: normal;
    }

    .property-card__image {
        min-height: 300px;
    }

    .about-section__image {
        min-height: 360px;
    }

    .journal-card h4 {
        min-height: auto;
    }

    .testimonial-carousel {
        min-height: 520px;
        grid-template-columns: 34px minmax(0, 1fr) 34px;
    }

    .testimonial-carousel__quote-mark {
        font-size: 72px;
    }

    .testimonial-slide p {
        font-size: var(--farah-h3-size);
    }

    .testimonial-carousel__slides {
        min-height: 360px;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 42px;
    }

    .site-footer__identity,
    .site-footer__column {
        padding: 0;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__legal {
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
    }

    .site-footer__live-links {
        align-self: flex-start;
    }

    .privacy-policy-content__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .privacy-policy-content__intro {
        position: static;
    }
}

/* Client Stories review grid */
.client-stories-page__reviews {
    padding-top: 96px;
}

.client-stories-page__intro {
    max-width: 900px;
    margin-bottom: 56px;
}

.client-stories-page__intro > p:last-child {
    max-width: 720px;
    margin-top: 24px;
}

.client-stories-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.client-story-card {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    padding: 32px;
    background: var(--farah-surface, #111);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-family: var(--farah-sans, Inter, sans-serif);
    transition: border-color 220ms ease, transform 220ms ease, background-color 220ms ease;
}

.client-story-card:hover {
    background: #151217;
    border-color: rgba(234, 102, 173, 0.55);
    transform: translateY(-4px);
}

.client-story-card__meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.client-story-card h4 {
    margin: 0 0 10px;
    color: var(--farah-white);
    font-family: var(--farah-sans) !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    line-height: 1.5 !important;
}

.client-story-card__stars {
    color: var(--farah-pink);
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.15em;
}

.client-story-card time {
    color: rgba(255, 255, 255, 0.58);
    font-family: var(--farah-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
}

.client-story-card > p {
    flex: 1;
    margin: 26px 0 28px;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

@media (max-width: 700px) {
    .client-stories-page__reviews {
        padding-top: 64px;
    }

    .client-stories-grid {
        grid-template-columns: 1fr;
    }

    .client-story-card {
        min-height: 0;
        padding: 24px;
    }

    .client-story-card__meta {
        flex-direction: column;
        gap: 12px;
    }

    .client-story-card time {
        white-space: normal;
    }
}

/* Contact form polish: keep the desktop prompt on one clean line. */
.lets-connect__form-wrap,
.lets-connect__form input,
.lets-connect__form select,
.lets-connect__form textarea {
    border-radius: 0 !important;
}

.lets-connect__form-heading > p:last-child {
    max-width: none;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .lets-connect__form-heading > p:last-child {
        white-space: normal;
    }
}

/* Free Home Evaluation */
.home-evaluation-main {
    background: var(--farah-surface);
}

.home-evaluation-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(48px, 6vw, 100px);
    align-items: start;
}

.home-evaluation-sidebar__sticky {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.home-evaluation-sidebar__title {
    margin: 0;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.home-evaluation-sidebar__title em {
    color: var(--farah-pink);
    font-style: italic;
}

.home-evaluation-sidebar__lead {
    margin: 0;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 16px;
    line-height: 1.7;
}

.home-evaluation-sidebar__lead strong {
    color: var(--farah-white);
    font-weight: 600;
}

.home-evaluation-inclusions {
    padding: 28px 0;
    border-top: 1px solid var(--farah-border);
    border-bottom: 1px solid var(--farah-border);
}

.home-evaluation-inclusions__heading {
    margin: 0 0 20px;
    color: var(--farah-white);
    font-family: var(--farah-sans) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-evaluation-inclusions__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-evaluation-inclusion-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.home-evaluation-inclusion-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: rgba(216, 90, 138, 0.12);
    border: 1px solid rgba(216, 90, 138, 0.25);
    color: var(--farah-pink);
}

.home-evaluation-inclusion-item__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-evaluation-inclusion-item__content strong {
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 15px;
    font-weight: 600;
}

.home-evaluation-inclusion-item__content span {
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 13px;
    line-height: 1.5;
}

.home-evaluation-trust-card {
    padding: 28px;
    background: var(--farah-black);
    border: 1px solid var(--farah-border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.home-evaluation-trust-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--farah-border);
    text-align: center;
}

.home-evaluation-trust-card__stats strong {
    display: block;
    color: var(--farah-pink);
    font-family: var(--farah-display);
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
}

.home-evaluation-trust-card__stats span {
    display: block;
    margin-top: 6px;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-evaluation-trust-card__quote {
    margin: 20px 0 16px;
    color: var(--farah-muted);
    font-family: var(--farah-display);
    font-size: 14px;
    font-style: italic;
    line-height: 1.6;
}

.home-evaluation-trust-card__author strong {
    display: block;
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 13px;
    font-weight: 600;
}

.home-evaluation-trust-card__author span {
    display: block;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 11px;
}

/* Right Column: Multi-Step Card */
.home-evaluation-form-wrapper {
    min-width: 0;
}

.home-evaluation-card {
    padding: clamp(24px, 3.5vw, 40px);
    background: var(--farah-black);
    border: 1px solid var(--farah-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.home-evaluation-card__header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--farah-border);
}

.home-evaluation-card__title {
    margin: 8px 0 6px;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
}

.home-evaluation-card__title em {
    color: var(--farah-pink);
    font-style: italic;
}

.home-evaluation-card__subtitle {
    margin: 0;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 14px;
}

/* Visual Stepper Progress Bar */
.evaluation-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.evaluation-progress li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--farah-surface);
    border: 1px solid var(--farah-border);
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    transition: border-color 200ms ease, background-color 200ms ease;
}

.evaluation-progress li span {
    display: grid;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    place-items: center;
    border: 1px solid var(--farah-border);
    background: var(--farah-black);
    color: var(--farah-muted);
    font-size: 12px;
    font-weight: 700;
}

.evaluation-progress li strong {
    display: block;
    color: var(--farah-white);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.evaluation-progress li small {
    display: block;
    color: var(--farah-muted);
    font-size: 10px;
}

.evaluation-progress li.is-active {
    border-color: var(--farah-pink);
    background: rgba(216, 90, 138, 0.08);
}

.evaluation-progress li.is-active span {
    border-color: var(--farah-pink);
    background: var(--farah-pink);
    color: #ffffff;
}

.evaluation-progress li.is-complete {
    border-color: rgba(216, 90, 138, 0.4);
}

.evaluation-progress li.is-complete span {
    border-color: var(--farah-pink);
    background: var(--farah-pink);
    color: #ffffff;
}

/* Fieldset Steps */
.evaluation-step {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    border: 0;
}

.evaluation-step[hidden] {
    display: none !important;
}

.evaluation-step legend,
.evaluation-step__legend {
    display: block;
    margin: 0 0 4px;
    padding: 0;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.evaluation-step__intro {
    margin: 0 0 4px;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 13.5px;
    line-height: 1.5;
}

.required-star {
    color: var(--farah-pink);
    font-style: normal;
    font-weight: 700;
}

.home-evaluation-wizard-form label {
    display: grid;
    gap: 8px;
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.home-evaluation-wizard-form label span {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-evaluation-wizard-form label small {
    color: var(--farah-muted);
    font-weight: 400;
}

.home-evaluation-wizard-form input,
.home-evaluation-wizard-form select,
.home-evaluation-wizard-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid var(--farah-border);
    background: var(--farah-surface);
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 14px;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.home-evaluation-wizard-form input,
.home-evaluation-wizard-form select {
    min-height: 52px;
}

.home-evaluation-wizard-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d85a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
    cursor: pointer;
}

.home-evaluation-wizard-form input:focus,
.home-evaluation-wizard-form select:focus,
.home-evaluation-wizard-form textarea:focus {
    border-color: var(--farah-pink);
    background: var(--farah-black);
    box-shadow: 0 0 0 3px rgba(216, 90, 138, 0.14);
}

.evaluation-field-full {
    grid-column: 1 / -1;
}

.evaluation-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--farah-border);
}

.evaluation-review {
    padding: 16px 18px;
    background: var(--farah-surface);
    border: 1px solid rgba(216, 90, 138, 0.25);
    margin: 4px 0 8px;
}

.evaluation-review h3 {
    margin: 0 0 16px;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: 18px;
}

.evaluation-review p {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--farah-border);
    font-family: var(--farah-sans);
    font-size: 13px;
}

.evaluation-review p:last-child {
    border-bottom: 0;
}

.evaluation-review span {
    color: var(--farah-muted);
}

.evaluation-review strong {
    color: var(--farah-white);
    font-weight: 600;
}

.evaluation-privacy-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 12px;
    line-height: 1.4;
}

.evaluation-privacy-note svg {
    flex-shrink: 0;
    color: var(--farah-pink);
}

/* 3-Step Process Section */
.home-evaluation-process {
    background: var(--farah-black);
    border-top: 1px solid var(--farah-border);
}

.home-evaluation-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.home-evaluation-process-card {
    position: relative;
    padding: 36px 32px;
    background: var(--farah-surface);
    border: 1px solid var(--farah-border);
    transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.home-evaluation-process-card:hover {
    transform: translateY(-6px);
    border-color: var(--farah-pink);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.home-evaluation-process-card__num {
    display: block;
    margin-bottom: 18px;
    color: var(--farah-pink);
    font-family: var(--farah-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.home-evaluation-process-card h3 {
    margin: 0 0 14px;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: 22px;
    font-weight: 500;
}

.home-evaluation-process-card p {
    margin: 0;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 14px;
    line-height: 1.65;
}

/* FAQs Section */
.home-evaluation-faqs {
    background: var(--farah-surface);
}

.home-evaluation-faqs__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(48px, 7vw, 110px);
    align-items: start;
}

.home-evaluation-faqs__intro {
    position: sticky;
    top: 120px;
}

.home-evaluation-faqs__intro h2 {
    margin: 0 0 20px;
    font-size: clamp(34px, 4vw, 48px);
}

.home-evaluation-faqs__intro h2 em {
    color: var(--farah-pink);
    font-style: italic;
}

.home-evaluation-faqs__intro p {
    margin: 0 0 28px;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 16px;
    line-height: 1.65;
}

.home-evaluation-faqs__accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home-evaluation-faqs__accordion details {
    border: 1px solid var(--farah-border);
    background: var(--farah-black);
    transition: border-color 200ms ease;
}

.home-evaluation-faqs__accordion details[open] {
    border-color: rgba(216, 90, 138, 0.4);
}

.home-evaluation-faqs__accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.home-evaluation-faqs__accordion summary::-webkit-details-marker {
    display: none;
}

.home-evaluation-faqs__accordion summary::after {
    color: var(--farah-pink);
    content: "+";
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.home-evaluation-faqs__accordion details[open] summary::after {
    content: "−";
}

.home-evaluation-faqs__accordion details p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 960px) {
    .home-evaluation-layout,
    .home-evaluation-faqs__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .home-evaluation-sidebar__sticky,
    .home-evaluation-faqs__intro {
        position: static;
    }
    .home-evaluation-process-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .evaluation-progress {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .home-evaluation-trust-card__stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .home-evaluation-card {
    padding: clamp(24px, 3.5vw, 40px);
    background: var(--farah-black);
    border: 1px solid var(--farah-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}
}

@media (max-width: 900px) {
    .home-evaluation-intro__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .home-evaluation-form-section__heading {
        margin-bottom: 40px;
    }
}

/* The brand uses precise, architectural edges rather than rounded UI. */
*,
*::before,
*::after {
    border-radius: 0 !important;
}

/* Keep calculator results aligned with the original high-contrast treatment. */
.mortgage-results,
.mortgage-results--sticky {
    min-width: 0;
    overflow: visible;
    border: 0;
    background: var(--farah-pink);
    color: var(--farah-black);
    box-shadow: none;
}

.mortgage-results .eyebrow,
.mortgage-results__payment,
.mortgage-results__frequency,
.mortgage-results__details,
.mortgage-results__details div,
.mortgage-results__details strong,
.mortgage-results__callout,
.mortgage-results__callout > span,
.mortgage-results__callout p {
    color: var(--farah-black);
}

.mortgage-results__details {
    gap: 18px;
    border-top-color: rgba(8, 8, 8, 0.28);
}

.mortgage-results__details div {
    font-size: 14px;
    line-height: 1.4;
}

.mortgage-results__details strong {
    font-weight: 600;
}

.mortgage-results__callout {
    border-top-color: rgba(8, 8, 8, 0.28);
}

.mortgage-results__callout p {
    font-size: 15px;
    line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Let's Connect */
.lets-connect-page__hero {
    background: linear-gradient(90deg, rgba(8, 8, 8, 0.88), rgba(8, 8, 8, 0.52)), url("assets/images/14696.webp") center / cover;
}

.lets-connect {
    background: var(--farah-surface);
}

.lets-connect__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(48px, 8vw, 128px);
    align-items: start;
}

.lets-connect__intro {
    position: sticky;
    top: 130px;
}

.lets-connect__intro h2,
.lets-connect__promise h2 {
    max-width: 590px;
    margin: 0 0 28px;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: var(--farah-h2-size);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.lets-connect__intro > p:not(.eyebrow) {
    max-width: 500px;
    margin: 0;
    color: var(--farah-muted);
    font-size: var(--farah-body-size);
    line-height: var(--farah-body-line);
}

.lets-connect__details {
    display: grid;
    gap: 18px;
    margin-top: 54px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.lets-connect__details a,
.lets-connect__details > span {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 14px;
    text-decoration: none;
}

.lets-connect__details a:hover,
.lets-connect__details a:focus-visible {
    color: var(--farah-pink);
}

.lets-connect__detail-label {
    color: var(--farah-pink);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lets-connect__details-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
}

.lets-connect__hours-inline {
    display: grid;
    gap: 4px;
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-align: right;
}

.lets-connect__form-wrap {
    padding: clamp(26px, 4vw, 48px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.lets-connect__form-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lets-connect__form-heading .eyebrow {
    margin: 0;
}

.lets-connect__form-heading > p:last-child {
    max-width: 240px;
    margin: 0;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 13px;
    line-height: 1.5;
    text-align: right;
}

.lets-connect__form {
    display: grid;
    gap: 22px;
}

.lets-connect__form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.lets-connect__form label {
    display: grid;
    gap: 9px;
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 12px;
    font-weight: 500;
}

.lets-connect__form label small {
    margin-left: 6px;
    color: var(--farah-muted);
    font-size: 10px;
    font-weight: 400;
}

.lets-connect__form input,
.lets-connect__form select,
.lets-connect__form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    outline: 0;
    background: rgba(8, 8, 8, 0.5);
    color: var(--farah-white);
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.lets-connect__form input,
.lets-connect__form select {
    height: 52px;
    padding: 0 15px;
}

.lets-connect__form textarea {
    min-height: 132px;
    padding: 15px;
    resize: vertical;
}

.lets-connect__form input::placeholder,
.lets-connect__form textarea::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.lets-connect__form select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d85a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 12px 12px !important;
    padding-right: 42px !important;
    cursor: pointer;
}
[data-theme="dark"] .lets-connect__form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ea66ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}
.lets-connect__form input:focus,
.lets-connect__form select:focus,
.lets-connect__form textarea:focus {
    border-color: var(--farah-pink);
    background-color: rgba(234, 102, 173, 0.06);
    box-shadow: 0 0 0 3px rgba(234, 102, 173, 0.12);
}

.lets-connect__form .button {
    justify-self: start;
    margin-top: 4px;
}

.lets-connect__honeypot {
    position: absolute;
	left: -10000px;
	top: auto;
    width: 1px;
    height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
    white-space: nowrap;
}

.lets-connect__notice {
    margin: -8px 0 24px;
    padding: 14px 16px;
    border-left: 3px solid var(--farah-pink);
    background: rgba(234, 102, 173, 0.1);
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 13px;
    line-height: 1.5;
}

.lets-connect__notice--error {
    border-color: #d87979;
    background: rgba(216, 121, 121, 0.1);
}

.lets-connect__promise {
    background: var(--farah-black);
}

.lets-connect__promise-inner > .eyebrow {
    margin-bottom: 22px;
}

.lets-connect__promise h2 {
    max-width: 740px;
}

.lets-connect__promise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 72px;
}

.lets-connect__promise-grid > div {
    min-height: 190px;
    padding: 0 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.lets-connect__promise-grid > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.lets-connect__promise-grid span {
    color: var(--farah-pink);
    font-family: var(--farah-sans);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.lets-connect__promise-grid h4 {
    margin: 42px 0 12px;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: var(--farah-h3-size);
    font-weight: 500;
    line-height: 1.1;
}

/* Card headings share one consistent semantic and typographic treatment. */
h4,
.blog-card h4,
.neighbourhood-category-card h4,
.neighbourhood-featured-card h4,
.neighbourhood-quadrant-card h4,
.mortgage-scenario-table-wrap h4,
.affordability-copy h4,
.buying-guide-step h4,
.property-card h4,
.journal-card h4,
.home-evaluation-intro__copy h4,
.lets-connect__promise-grid h4 {
    font-family: var(--farah-sans) !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    letter-spacing: normal !important;
    line-height: 1.5 !important;
}

.lets-connect__promise-grid p {
    max-width: 310px;
    margin: 0;
    color: var(--farah-muted);
    font-size: var(--farah-card-body-size);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .lets-connect__grid {
        grid-template-columns: 1fr;
    }

    .lets-connect__intro {
        position: static;
    }
}

@media (max-width: 600px) {
    .lets-connect__form-row,
    .lets-connect__promise-grid {
        grid-template-columns: 1fr;
    }

    .lets-connect__form-heading {
        display: block;
    }

    .lets-connect__form-heading > p:last-child {
        margin-top: 12px;
        text-align: left;
    }

    .lets-connect__promise-grid {
        gap: 36px;
        margin-top: 48px;
    }

    .lets-connect__promise-grid > div,
    .lets-connect__promise-grid > div:first-child {
        min-height: auto;
        padding: 0 0 28px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
    }

    .lets-connect__promise-grid h4 {
        margin-top: 24px;
    }
}

/* Keep the contact prompt on one line at desktop widths and square the form UI. */
.lets-connect__form-wrap,
.lets-connect__form input,
.lets-connect__form select,
.lets-connect__form textarea {
    border-radius: 0 !important;
}

.lets-connect__form-heading > p:last-child {
    max-width: none;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .lets-connect__form-heading > p:last-child {
        white-space: normal;
    }
}


/* --------------------------------------------------------------------------
   Property listings
   Consolidated from the frontend property plugins so the theme has one CSS entry point.
   -------------------------------------------------------------------------- */
.rets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.rets-card{overflow:hidden;border:1px solid rgba(255,255,255,.12);background:var(--farah-surface,#111);color:var(--farah-white,#fff);transition:border-color 240ms ease,transform 240ms ease,box-shadow 240ms ease}.rets-card:hover{border-color:rgba(234,102,173,.55);box-shadow:0 18px 48px rgba(0,0,0,.26);transform:translateY(-7px)}.rets-card h4{margin:24px 0 10px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:20px;font-weight:300;line-height:1.5}.rets-card p,.rets-card small,.rets-all-fields{font-family:var(--farah-sans,Arial,sans-serif)}.rets-card-body{padding:0 25px 25px}.rets-card-topline{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-top:20px;font-family:var(--farah-sans,Arial,sans-serif);font-size:11px;letter-spacing:.12em;text-transform:uppercase}.rets-card-location{color:var(--farah-pink,#ea66ad);font-weight:700}.rets-card-mls{color:rgba(255,255,255,.5);font-size:10px;letter-spacing:.06em;white-space:nowrap}.rets-price{color:var(--farah-white,#fff);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;font-weight:400;line-height:1.5;margin:0 0 16px}.rets-card-stats{display:flex;gap:10px;color:rgba(255,255,255,.68);font-size:14px;margin:0}.rets-card-stats span{color:var(--farah-pink,#ea66ad)}.rets-status{margin-bottom:16px}.rets-pagination{display:flex;gap:8px;justify-content:center;align-items:center;margin-top:58px}.rets-pagination button{cursor:pointer;display:inline-flex;min-width:38px;height:38px;padding:0 12px;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.16);background:transparent;color:var(--farah-muted,#aaa);font-family:var(--farah-sans,Arial,sans-serif);font-size:11px;transition:border-color 180ms ease,background 180ms ease,color 180ms ease}.rets-pagination button:hover:not(:disabled),.rets-pagination button:focus-visible:not(:disabled){border-color:var(--farah-pink,#ea66ad);background:var(--farah-pink,#ea66ad);color:var(--farah-black,#080808)}.rets-pagination button:disabled{cursor:not-allowed;opacity:.42}.rets-pagination>span{display:inline-flex;min-width:auto;height:38px;padding:0 8px;align-items:center;justify-content:center;border:1px solid transparent;color:var(--farah-white,#fff);font-family:var(--farah-display,Georgia,serif);font-size:20px;font-weight:500}.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.rets-gallery{position:relative;display:block;margin:0;min-height:250px;background:#1a1a1a;overflow:hidden}.rets-gallery img{display:block;width:100%;height:250px;object-fit:cover}.rets-gallery::after{position:absolute;inset:0;background:linear-gradient(145deg,rgba(8,8,8,.08),rgba(8,8,8,.72));content:"";pointer-events:none}.rets-image-link{position:absolute;right:20px;bottom:18px;z-index:1;color:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:10px;font-weight:400;letter-spacing:.12em;text-transform:uppercase}.rets-gallery--empty{display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.5);font-family:var(--farah-sans,Arial,sans-serif);font-size:12px}.rets-all-fields{margin-top:15px}.rets-all-fields dl div{display:flex;gap:10px;border-bottom:1px solid rgba(255,255,255,.12);padding:4px 0}.rets-all-fields dt{font-weight:700}.rets-all-fields dd{margin:0}
@media (max-width:960px){.rets-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.rets-grid{grid-template-columns:1fr}}
.rets-card-location{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:10px;font-weight:400}
.rets-filter-form{margin:0 0 42px;padding:26px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.1)}.rets-filter-basic,.rets-filter-advanced{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end}.rets-filter-field{display:flex;flex-direction:column;gap:8px;min-width:0}.rets-filter-field span{color:rgba(255,255,255,.66);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:11px;letter-spacing:.04em}.rets-filter-field input,.rets-filter-field select{width:100%;min-height:46px;padding:0 13px;border:1px solid rgba(255,255,255,.18);border-radius:0;background:#171717;color:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px}.rets-filter-field input::placeholder{color:rgba(255,255,255,.42)}.rets-filter-field select option{background:#171717;color:#fff}.rets-filter-field--wide{grid-column:span 2}.rets-filter-submit{min-height:46px;border:0;cursor:pointer}.rets-filter-reset{min-height:46px;border:1px solid rgba(255,255,255,.2);background:transparent;color:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:11px;cursor:pointer}.rets-filter-advanced-toggle{min-height:46px;border:1px solid var(--farah-pink,#ea66ad);background:transparent;color:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:11px;cursor:pointer}.rets-filter-advanced-toggle span{display:inline-block;margin-left:8px;color:var(--farah-pink,#ea66ad);font-size:17px;line-height:0}.rets-filter-advanced{margin-top:20px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1)}.rets-filter-advanced[hidden]{display:none}.rets-filter-form--search .rets-filter-basic{grid-template-columns:repeat(4,minmax(0,1fr))}.rets-filter-form--search .rets-filter-basic .rets-filter-field--wide:first-child{grid-column:span 2}.rets-filter-form--search .rets-filter-basic .rets-filter-field--wide:nth-child(2){grid-column:span 2}.rets-filter-form--search .rets-filter-advanced .rets-filter-submit{grid-column:span 2}
.rets-card--skeleton{pointer-events:none}.rets-skeleton{position:relative;overflow:hidden;background:rgba(255,255,255,.09)}.rets-skeleton::after{position:absolute;inset:0;content:"";transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.11),transparent);animation:rets-skeleton-shimmer 1.4s ease-in-out infinite}.rets-skeleton-image{height:250px;background:rgba(255,255,255,.1)}.rets-skeleton-meta{width:42%;height:11px;margin-top:20px}.rets-skeleton-title{width:82%;height:25px;margin-top:24px}.rets-skeleton-price{width:32%;height:16px;margin-top:18px}.rets-skeleton-stats{width:58%;height:14px;margin-top:22px}.rets-card--skeleton .rets-card-body{padding-bottom:25px}@keyframes rets-skeleton-shimmer{100%{transform:translateX(100%)}}@media (prefers-reduced-motion:reduce){.rets-skeleton::after{animation:none}}
@media (max-width:960px){.rets-filter-basic,.rets-filter-advanced,.rets-filter-form--search .rets-filter-basic{grid-template-columns:repeat(2,minmax(0,1fr))}.rets-filter-field--wide,.rets-filter-form--search .rets-filter-basic .rets-filter-field--wide:first-child,.rets-filter-form--search .rets-filter-basic .rets-filter-field--wide:nth-child(2){grid-column:span 2}}
@media (max-width:640px){.rets-filter-form{padding:18px}.rets-filter-basic,.rets-filter-advanced,.rets-filter-form--search .rets-filter-basic{grid-template-columns:1fr}.rets-filter-field--wide,.rets-filter-form--search .rets-filter-basic .rets-filter-field--wide:first-child,.rets-filter-form--search .rets-filter-basic .rets-filter-field--wide:nth-child(2){grid-column:auto}.rets-filter-advanced .rets-filter-submit{grid-column:auto}}
.rets-filter-range{grid-column:span 2}.rets-filter-range__heading{display:flex;justify-content:space-between;gap:12px;margin-bottom:9px;color:rgba(255,255,255,.66);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:11px}.rets-filter-range__heading output{color:#fff}.rets-filter-range__inputs{position:relative;display:grid;gap:5px}.rets-filter-range__inputs input[type=range]{width:100%;height:7px;margin:0;accent-color:var(--farah-pink,#ea66ad)}.rets-filter-range__inputs input[type=range]+input[type=range]{margin-top:-14px}.rets-chip-field{position:relative;min-height:46px}.rets-chip-list{display:flex;flex-wrap:wrap;gap:6px;min-height:42px;padding:5px 8px;border:1px solid rgba(255,255,255,.18);background:#171717}.rets-chip{padding:3px 7px;border:1px solid rgba(234,102,173,.55);background:rgba(234,102,173,.12);color:#fff;font-family:Georgia,serif;font-size:14px;cursor:pointer}.rets-chip span{color:var(--farah-pink,#ea66ad)}.rets-chip-input{min-height:34px!important;margin-top:6px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.18)!important;background:transparent!important;padding:0 2px!important}.rets-filter-range + .rets-filter-submit{grid-column:auto}.rets-filter-only{max-width:1200px;margin:0 auto}.rets-filter-form--search .rets-filter-range{grid-column:span 2}.rets-filter-form--listing .rets-filter-range{grid-column:span 2}
@media (max-width:960px){.rets-filter-range,.rets-filter-form--search .rets-filter-range,.rets-filter-form--listing .rets-filter-range{grid-column:span 2}}
@media (max-width:640px){.rets-filter-range,.rets-filter-form--search .rets-filter-range,.rets-filter-form--listing .rets-filter-range{grid-column:auto}}
.rets-filter-form{padding:32px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:linear-gradient(145deg,#151515,#101010);box-shadow:0 20px 60px rgba(0,0,0,.2)}.rets-filter-basic,.rets-filter-advanced{gap:22px}.rets-filter-field{gap:10px}.rets-filter-field>span,.rets-filter-range__heading>span{font-size:12px;font-weight:500;letter-spacing:.02em;color:rgba(255,255,255,.78)}.rets-filter-field input:not([type=range]),.rets-filter-field select{min-height:54px;padding:0 16px;border:1px solid rgba(255,255,255,.2);border-radius:10px;background:#1a1a1a;color:#fff;font-size:14px;outline:0;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}.rets-filter-field input:not([type=range]):hover,.rets-filter-field select:hover{border-color:rgba(234,102,173,.55);background-color:#1d1d1d}.rets-filter-field input:not([type=range]):focus,.rets-filter-field select:focus{border-color:var(--farah-pink,#ea66ad);box-shadow:0 0 0 3px rgba(234,102,173,.14);background-color:#1d1d1d}.rets-filter-field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");background-position:right 16px center;background-size:12px 12px;background-repeat:no-repeat;padding-right:42px}.rets-chip-field{min-height:0}.rets-chip-list{min-height:54px;align-content:center;align-items:center;padding:8px 12px;border:1px solid rgba(255,255,255,.2);border-radius:10px 10px 0 0;background:#1a1a1a}.rets-chip-input{min-height:42px!important;margin-top:-1px!important;padding:0 12px!important;border:1px solid rgba(255,255,255,.2)!important;border-top-color:rgba(255,255,255,.08)!important;border-radius:0 0 10px 10px!important;background:#1a1a1a!important}.rets-chip-input:focus{border-color:var(--farah-pink,#ea66ad)!important;box-shadow:0 0 0 3px rgba(234,102,173,.14);outline:0}.rets-chip{border:0;border-radius:999px;background:rgba(234,102,173,.16);color:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:12px}.rets-filter-range__heading{margin-bottom:14px}.rets-filter-range__heading output{font-size:13px;font-weight:600;color:#fff}.rets-filter-range__inputs{height:28px;display:block;position:relative;border-radius:99px}.rets-filter-range__inputs::before,.rets-filter-range__inputs::after{position:absolute;top:11px;left:0;width:100%;height:7px;border-radius:99px;content:"";pointer-events:none}.rets-filter-range__inputs::before{background:#343434;border:1px solid rgba(255,255,255,.18)}.rets-filter-range__inputs::after{background:linear-gradient(to right,transparent 0%,transparent var(--range-start,0%),var(--farah-pink,#ea66ad) var(--range-start,0%),var(--farah-pink,#ea66ad) var(--range-end,100%),transparent var(--range-end,100%),transparent 100%)}.rets-filter-range__inputs input[type=range]{position:absolute;z-index:2;top:0;left:0;width:100%;height:28px;margin:0;appearance:none;background:transparent;pointer-events:none;accent-color:var(--farah-pink,#ea66ad)}.rets-filter-range__inputs input[type=range]::-webkit-slider-runnable-track{height:7px;background:transparent}.rets-filter-range__inputs input[type=range]::-moz-range-track{height:7px;background:transparent}.rets-filter-range__inputs input[type=range]::-webkit-slider-thumb{width:22px;height:22px;margin-top:-7px;border:3px solid #151515;border-radius:50%;background:var(--farah-pink,#ea66ad);box-shadow:0 2px 8px rgba(0,0,0,.35);cursor:pointer;appearance:none;pointer-events:auto}.rets-filter-range__inputs input[type=range]::-moz-range-thumb{width:16px;height:16px;border:3px solid #151515;border-radius:50%;background:var(--farah-pink,#ea66ad);box-shadow:0 2px 8px rgba(0,0,0,.35);cursor:pointer;pointer-events:auto}.rets-filter-submit{min-height:54px;border-radius:10px;box-shadow:0 8px 20px rgba(234,102,173,.16);font-weight:600;letter-spacing:.04em}.rets-filter-reset,.rets-filter-advanced-toggle{min-height:54px;border-radius:10px;transition:border-color .2s ease,background .2s ease,transform .2s ease}.rets-filter-reset:hover,.rets-filter-advanced-toggle:hover{border-color:var(--farah-pink,#ea66ad);background:rgba(234,102,173,.08);transform:translateY(-1px)}
 .rets-chip-list:empty{display:none}.rets-chip-list:empty+.rets-chip-input{margin-top:0!important;border-top-color:rgba(255,255,255,.2)!important;border-radius:10px!important}
.property-search-page .rets-filter-only{width:100%;max-width:none;margin-right:0;margin-left:0}
.rets-filter-form,.rets-filter-field input:not([type=range]),.rets-filter-field select,.rets-chip-list,.rets-chip-input,.rets-chip,.rets-filter-submit,.rets-filter-reset,.rets-filter-advanced-toggle{border-radius:0!important}.rets-chip-list:empty+.rets-chip-input{min-height:54px!important}.rets-filter-field select{font-family:var(--farah-sans,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:12px;font-weight:500;letter-spacing:.06em;text-transform:none;background-color:#101010;transition:background-color .18s ease,border-color .18s ease,color .18s ease}.rets-filter-field select:hover,.rets-filter-field select:focus{background-color:rgba(234,102,173,.12);border-color:var(--farah-pink,#ea66ad);color:#fff}.rets-filter-field select option{padding:12px;background:#080808;color:rgba(255,255,255,.76);font-family:var(--farah-sans,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:12px}.rets-filter-range__inputs::before,.rets-filter-range__inputs::after{display:none}.rets-filter-range__inputs input[type=range]{top:0;height:28px}.rets-filter-range__inputs input[type=range]::-webkit-slider-runnable-track{height:7px;background:transparent}.rets-filter-range__inputs input[type=range]::-moz-range-track{height:7px;background:transparent}.rets-filter-range__inputs input[type=range]+input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right,#343434 0%,#343434 var(--range-start,0%),var(--farah-pink,#ea66ad) var(--range-start,0%),var(--farah-pink,#ea66ad) var(--range-end,100%),#343434 var(--range-end,100%),#343434 100%)}.rets-filter-range__inputs input[type=range]+input[type=range]::-moz-range-track{background:linear-gradient(to right,#343434 0%,#343434 var(--range-start,0%),var(--farah-pink,#ea66ad) var(--range-start,0%),var(--farah-pink,#ea66ad) var(--range-end,100%),#343434 var(--range-end,100%),#343434 100%)}.rets-filter-range__inputs input[type=range]::-webkit-slider-thumb{margin-top:0}.rets-filter-range__inputs input[type=range]::-moz-range-thumb{margin-top:0}.rets-filter-range__inputs input[type=range]:focus-visible::-webkit-slider-thumb{outline:2px solid #fff;outline-offset:2px}.rets-filter-range__inputs input[type=range]:focus-visible::-moz-range-thumb{outline:2px solid #fff;outline-offset:2px}
/* Manual listings reuse the live RETS property-card treatment. */
.manual-properties-grid .manual-property-card{border-radius:0;background:var(--farah-surface,#111)}
.manual-properties-grid .rets-gallery img{height:250px;object-fit:cover}
.manual-properties-grid .rets-card-stats:empty{display:none}
.rets-applied-rules{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}
.rets-applied-rule{display:inline-flex;gap:6px;align-items:center;min-height:34px;padding:0 12px;border:1px solid rgba(234,102,173,.38);background:rgba(234,102,173,.1);color:rgba(255,255,255,.78);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:12px}
.rets-applied-rule strong{color:#fff;font-weight:700}
.sold-properties-proof{max-width:780px;margin:-12px 0 26px;color:rgba(255,255,255,.68);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.7}
.rets-gallery--brand{background-image:linear-gradient(rgba(8,8,8,.72),rgba(8,8,8,.72)),url("assets/images/farrah-in-the-city-logo-header.png");background-repeat:no-repeat;background-position:center;background-size:min(72%,420px) auto}
.rets-gallery--brand span:not(.rets-card-status-tag){position:relative;z-index:1;color:rgba(255,255,255,.72)}
.rets-gallery.has-error{background-image:linear-gradient(rgba(8,8,8,.72),rgba(8,8,8,.72)),url("assets/images/farrah-in-the-city-logo-header.png");background-repeat:no-repeat;background-position:center;background-size:min(72%,420px) auto}

/* Shared property filters: compact, square-edged controls matching the site navigation. */
.rets-filter-form {
    padding: 30px !important;
    border-radius: 0 !important;
    background: #121212 !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    box-shadow: none !important;
}
.rets-filter-basic {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: end !important;
}
.rets-filter-field--search { grid-column: 1 / -1 !important; }
.rets-filter-range-fields { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rets-filter-location-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rets-filter-sort-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rets-filter-field--location { grid-column: auto !important; }
.rets-filter-row-controls { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rets-filter-range--compact { grid-column: span 1 !important; }
.rets-filter-field--compact { grid-column: span 1 !important; }
.rets-filter-field input:not([type=range]) {
    min-height: 54px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    background-color: #101010 !important;
    background-image: none !important;
}
.rets-filter-field select {
    min-height: 54px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    background-color: #101010 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 44px !important;
    background-position: right 16px center !important;
    background-size: 12px 12px !important;
    background-repeat: no-repeat !important;
}
.rets-filter-range--compact {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}
.rets-filter-range--compact .rets-filter-range__inputs {
    height: 28px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
.rets-filter-range--compact .rets-filter-range__inputs::before,
.rets-filter-range--compact .rets-filter-range__inputs::after {
    display: block !important;
    position: absolute;
    top: 12px;
    left: 0;
    width: 100%;
    height: 5px;
    border: 0;
    border-radius: 999px;
    content: "";
    pointer-events: none;
}
.rets-filter-range--compact .rets-filter-range__inputs::before { background: rgba(255,255,255,.14); }
.rets-filter-range--compact .rets-filter-range__inputs::after {
    background: linear-gradient(90deg, transparent 0%, transparent var(--range-start,0%), var(--farah-pink,#ea66ad) var(--range-start,0%), var(--farah-pink,#ea66ad) var(--range-end,100%), transparent var(--range-end,100%), transparent 100%);
    box-shadow: 0 0 14px rgba(234,102,173,.34);
}
.rets-filter-range--compact .rets-filter-range__inputs input[type=range] { height: 28px !important; }
.rets-filter-range--compact .rets-filter-range__inputs { cursor: pointer; }
.rets-filter-range--compact .rets-filter-range__inputs input[type=range] { pointer-events: none !important; touch-action: none; }
.rets-filter-range--compact .rets-filter-range__inputs input[type=range]::-webkit-slider-thumb,
.rets-filter-range--compact .rets-filter-range__inputs input[type=range]::-moz-range-thumb { pointer-events: auto; }
.rets-filter-range--compact .rets-filter-range__inputs [data-range-min] { z-index: 3 !important; }
.rets-filter-range--compact .rets-filter-range__inputs [data-range-max] { z-index: 4 !important; }
.rets-filter-range--compact .rets-filter-range__inputs input[type=range]::-webkit-slider-runnable-track,
.rets-filter-range--compact .rets-filter-range__inputs input[type=range]::-moz-range-track { background: transparent !important; }
.rets-filter-range--compact .rets-filter-range__inputs input[type=range]::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -6px; border: 2px solid #121212; border-radius: 50%; background: var(--farah-pink,#ea66ad); box-shadow: 0 0 0 4px rgba(234,102,173,.14), 0 3px 10px rgba(0,0,0,.45); }
.rets-filter-range--compact .rets-filter-range__inputs input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid #121212; border-radius: 50%; background: var(--farah-pink,#ea66ad); box-shadow: 0 0 0 4px rgba(234,102,173,.14), 0 3px 10px rgba(0,0,0,.45); }
.rets-filter-range--compact .rets-filter-range__inputs input[type=range]:focus-visible::-webkit-slider-thumb,
.rets-filter-range--compact .rets-filter-range__inputs input[type=range]:focus-visible::-moz-range-thumb { outline: 2px solid #fff; outline-offset: 3px; }
.rets-filter-field select { scrollbar-width: thin; scrollbar-color: var(--farah-pink,#ea66ad) #101010; }
.rets-filter-field select::-webkit-scrollbar { width: 5px; }
.rets-filter-field select::-webkit-scrollbar-track { background: #101010; }
.rets-filter-field select::-webkit-scrollbar-thumb { background: rgba(234,102,173,.78); border-radius: 999px; }
.rets-filter-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 4px;
}
.rets-filter-actions .rets-filter-submit { order: 2; margin-left: auto; }
.rets-filter-actions .rets-filter-reset { order: 1; }
.rets-filter-actions button { border-radius: 0 !important; min-height: 54px; padding: 0 28px; }
.rets-filter-actions .rets-filter-submit { min-width: 190px; }
.rets-filter-actions .rets-filter-reset { min-width: 120px; }
.rets-filter-advanced[hidden] { display: none !important; }
.rets-filter-advanced:not([hidden]) { display: grid !important; }

/* Clean double-range controls with values below one shared visual track. */
.rets-filter-range--compact .rets-filter-range__heading output { display: none; }
.rets-filter-range--compact .rets-filter-range__inputs { height: 78px !important; margin-top: 2px; padding-top: 28px; }
.rets-filter-range--compact .rets-filter-range__inputs::before,
.rets-filter-range--compact .rets-filter-range__inputs::after { top: 40px; height: 6px; }
.rets-filter-range--compact .rets-filter-range__inputs::before { background: rgba(255,255,255,.18); }
.rets-filter-range--compact .rets-filter-range__inputs::after { background: linear-gradient(90deg, transparent 0%, transparent var(--range-start,0%), var(--farah-pink,#ea66ad) var(--range-start,0%), var(--farah-pink,#ea66ad) var(--range-end,100%), transparent var(--range-end,100%), transparent 100%); box-shadow: none; }
.rets-filter-range--compact .rets-filter-range__inputs input[type=range] { top: 28px !important; height: 28px !important; }
.rets-filter-range--compact .rets-filter-range__inputs input[type=range]+input[type=range]::-webkit-slider-runnable-track,
.rets-filter-range--compact .rets-filter-range__inputs input[type=range]+input[type=range]::-moz-range-track { background: transparent !important; }
.rets-filter-range--compact .rets-filter-range__inputs input[type=range]::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -7px; border: 3px solid #121212; background: var(--farah-pink,#ea66ad); box-shadow: 0 0 0 3px rgba(234,102,173,.18), 0 3px 8px rgba(0,0,0,.4); }
.rets-filter-range--compact .rets-filter-range__inputs input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border: 3px solid #121212; background: var(--farah-pink,#ea66ad); box-shadow: 0 0 0 3px rgba(234,102,173,.18), 0 3px 8px rgba(0,0,0,.4); }
.rets-filter-range__bubble { position: absolute; z-index: 5; top: 67px; min-width: 0; padding: 0; background: transparent; color: rgba(255,255,255,.74); font: 500 11px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-align: center; white-space: nowrap; transform: translateX(-50%); pointer-events: none; }
.rets-filter-range__bubble::after { display: none; }
.rets-filter-range__bubble--max { top: 67px; }
@media (max-width: 960px) {
    .rets-filter-basic { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .rets-filter-field--search { grid-column: 1 / -1 !important; }
    .rets-filter-range-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rets-filter-location-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rets-filter-sort-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rets-filter-range--compact,
    .rets-filter-field--compact { grid-column: span 1 !important; }
    .rets-filter-row-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .rets-filter-form { padding: 20px !important; }
    .rets-filter-basic { grid-template-columns: 1fr !important; gap: 18px !important; }
    .rets-filter-field--search,
    .rets-filter-range-fields,
    .rets-filter-range--compact,
    .rets-filter-field--compact { grid-column: 1 / -1 !important; }
    .rets-filter-location-row { grid-template-columns: 1fr; }
    .rets-filter-sort-row { grid-template-columns: 1fr; }
    .rets-filter-row-controls { grid-template-columns: 1fr; }
    .rets-filter-actions { align-items: stretch; flex-direction: column; }
    .rets-filter-actions .rets-filter-submit,
    .rets-filter-actions .rets-filter-reset { width: 100%; margin-left: 0; }
}

.rets-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.rets-card__link:focus-visible {
    outline: 2px solid var(--farah-pink);
    outline-offset: -2px;
}

/* --------------------------------------------------------------------------
   Single property pages
   -------------------------------------------------------------------------- */
.property-hero {
    position: relative;
    isolation: isolate;
    min-height: 500px;
    display: flex;
    align-items: end;
    overflow: hidden;
    padding: 180px 0 90px;
    background: var(--farah-black);
}

.property-hero__backdrop {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 8, 8, .94), rgba(8, 8, 8, .62)), url("assets/images/14696.webp") center / cover no-repeat;
}

.property-hero__inner {
    width: min(100% - 96px, 1400px);
}

.property-hero h1 {
    max-width: 920px;
    margin: 0;
    color: var(--farah-white);
    font-size: var(--farah-h1-size, 64px);
    line-height: 1.05;
    text-transform: capitalize;
}

.property-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    margin-top: 34px;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.property-hero__meta strong {
    color: var(--farah-pink);
    font-family: var(--farah-display);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 500;
    letter-spacing: -.03em;
    text-transform: none;
}

.property-single {
    background: var(--farah-black);
}

.property-single__topline {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 46px;
}

.property-single__topline h2 {
    max-width: 720px;
    margin: 0;
}

.property-gallery {
    position: relative;
    overflow: hidden;
    margin-bottom: 82px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: #171717;
    outline: none;
}

.property-gallery:focus-visible {
    border-color: var(--farah-pink);
    box-shadow: 0 0 0 3px rgba(234, 102, 173, .18);
}

.property-gallery__stage {
    position: relative;
    height: 600px;
    min-height: 600px;
    background: #171717;
}

.property-gallery__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    cursor: zoom-in;
    transition: opacity 280ms ease;
}

.property-gallery__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.property-gallery__control,
.property-gallery__control:hover,
.property-gallery__control:focus,
.property-gallery__control:focus-visible,
.property-gallery__control:active {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    color: #ffffff !important;
    font-size: 26px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    outline: none !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    transition: none !important;
    animation: none !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
}

.property-gallery__control--prev { right: auto !important; left: 20px !important; }
.property-gallery__control--next { right: 20px !important; left: auto !important; }
.property-gallery__zoom { position: absolute; top: 20px; left: 20px; z-index: 3; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 0; background: rgba(8,8,8,.62); color: #fff; cursor: pointer; font-size: 17px; line-height: 1; }
.property-gallery__zoom:hover, .property-gallery__zoom:focus-visible { border-color: var(--farah-pink); background: var(--farah-pink); color: var(--farah-black); outline: 0; }
.property-gallery__zoom i { display: block; font-size: 16px; line-height: 1; }
.property-lightbox[hidden] { display: none; }
.property-lightbox { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; }
.property-lightbox__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.94); }
.property-lightbox__dialog { position: relative; z-index: 1; display: grid; width: min(94vw, 1400px); height: min(92vh, 900px); grid-template-columns: 64px minmax(0,1fr) 64px; grid-template-rows: minmax(0,1fr) 42px; align-items: center; gap: 18px; }
.property-lightbox__image { grid-column: 2; grid-row: 1; display: block; width: 100%; height: 100%; object-fit: contain; }
.property-lightbox__close, .property-lightbox__prev, .property-lightbox__next { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 0; background: rgba(20,20,20,.72); color: #fff; cursor: pointer; }
.property-lightbox__close { position: absolute; top: -8px; right: 0; width: 42px; height: 42px; z-index: 2; font-size: 26px; }
.property-lightbox__prev, .property-lightbox__next { width: 52px; height: 52px; font-size: 20px; }
.property-lightbox__prev { grid-column: 1; grid-row: 1; justify-self: start; }
.property-lightbox__next { grid-column: 3; grid-row: 1; justify-self: end; }
.property-lightbox__close:hover, .property-lightbox__close:focus-visible, .property-lightbox__prev:hover, .property-lightbox__prev:focus-visible, .property-lightbox__next:hover, .property-lightbox__next:focus-visible { border-color: var(--farah-pink); background: var(--farah-pink); color: var(--farah-black); outline: 0; }
.property-lightbox__counter { grid-column: 2; grid-row: 2; justify-self: center; color: rgba(255,255,255,.72); font: 500 12px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
body.property-lightbox-open { overflow: hidden; }

.property-gallery__count {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: auto;
    z-index: 2;
    padding: 8px 12px;
    background: rgba(8, 8, 8, .68);
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 11px;
    letter-spacing: .12em;
}

.property-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 8px;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: #111;
}

.property-gallery__thumbnail {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #171717;
    cursor: pointer;
    opacity: .62;
    transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.property-gallery__thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-gallery__thumbnail:hover,
.property-gallery__thumbnail:focus-visible,
.property-gallery__thumbnail.is-active {
    border-color: var(--farah-pink);
    opacity: 1;
}

.property-gallery__thumbnail:focus-visible {
    outline: 2px solid var(--farah-pink);
    outline-offset: 2px;
}

.property-gallery__thumbnail:hover {
    transform: translateY(-2px);
}

.property-gallery--single .property-gallery__slide,
.property-gallery--empty {
    position: relative;
    min-height: clamp(320px, 54vw, 640px);
}

.property-gallery--empty {
    display: grid;
    place-items: center;
    margin-bottom: 82px;
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    background-image: linear-gradient(rgba(8,8,8,.74),rgba(8,8,8,.74)), url("assets/images/farrah-in-the-city-logo-header.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: min(72%, 460px) auto;
}

.property-single__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(48px, 8vw, 128px);
}

.property-description {
    max-width: 760px;
}

.property-description p:not(.eyebrow) {
    color: var(--farah-muted);
}

.property-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin-top: 64px;
    border-top: 1px solid var(--farah-border);
}

.property-facts div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 0;
    border-bottom: 1px solid var(--farah-border);
}

.property-facts span,
.property-single__aside p {
    color: var(--farah-muted);
    font-family: var(--farah-sans);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.property-facts strong {
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: 24px;
    font-weight: 500;
}

.property-single__aside {
    align-self: start;
    padding: 28px;
    border: 1px solid var(--farah-border);
    background: var(--farah-surface);
}

.property-single__price {
    display: block;
    margin: 20px 0 14px;
    color: var(--farah-pink);
    font-family: var(--farah-display);
    font-size: 38px;
    font-weight: 500;
    letter-spacing: -.04em;
}

.property-single__aside .text-link {
    margin-top: 24px;
}

/* Property detail typography and facts: match the homepage body system while
 * keeping the information easy to scan. */
.single-property-page .property-description {
    max-width: none;
    padding: 34px 0 8px;
}
.single-property-page .property-description-layout {
    display: block;
    width: 100%;
    padding-top: 30px;
    border-top: 0;
}
.single-property-page .property-description-summary {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 25px;
}
.single-property-page .property-description-summary span {
    color: var(--farah-muted);
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
}
.single-property-page .property-description-status { color: var(--farah-muted); font-weight: 500; }
.single-property-page .property-description-stat { display: grid; grid-template-columns: 20px auto; align-items: center; column-gap: 10px; row-gap: 2px; }
.single-property-page .property-description-stat i { grid-row: span 2; color: var(--farah-pink); font-size: 16px; }
.single-property-page .property-description-stat strong { color: var(--farah-white); font: 500 16px/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.single-property-page .property-description-stat small { color: var(--farah-muted); font: 400 12px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.single-property-page .property-description-content { min-width: 0; }
.single-property-page .property-description p:not(.eyebrow) {
    margin: 0 0 20px;
    color: var(--farah-muted);
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.78;
}
.single-property-page .property-description-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px 36px;
    margin-top: 10px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--farah-border);
}
.single-property-page .property-description-meta div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    white-space: nowrap;
}
.single-property-page .property-description-meta strong,
.single-property-page .property-description-meta span {
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size: 15px;
    line-height: 1.35;
}
.single-property-page .property-description-meta strong { color: var(--farah-white); font-weight: 600; }
.single-property-page .property-description-meta span { color: var(--farah-muted); font-weight: 400; font-size: 13px; }
.single-property-page .property-location-contact { display: grid; grid-template-columns: 1fr; gap: 48px; width: 100%; margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--farah-border); }
.single-property-page .property-map-wrap,
.single-property-page .property-contact-form-wrap { min-width: 0; }
.single-property-page .property-map { display: block; width: 100%; height: 600px; margin-top: 18px; border: 0; filter: grayscale(1) contrast(.92) brightness(.72); }
.single-property-page .property-contact-form-wrap { padding: clamp(28px, 4vw, 52px); border: 1px solid var(--farah-border); background: var(--farah-surface); box-shadow: 0 24px 70px rgba(0,0,0,.06); }
.single-property-page .property-contact-form-wrap h3 { margin: 12px 0 24px; color: var(--farah-white); font-family: var(--farah-display,Georgia,serif); font-size: var(--farah-h4-size,20px); font-weight: 500; }
.property-contact-form { display: grid; gap: 16px; }
.property-contact-form__row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.property-contact-form label { display: grid; gap: 7px; }
.property-contact-form label span { color: var(--farah-muted); font: 500 11px/1.3 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.property-contact-form label small { color: var(--farah-muted); font-weight: 400; opacity: 0.75; }
.property-contact-form input, .property-contact-form select, .property-contact-form textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--farah-border); border-radius: 0; background: var(--farah-surface); color: var(--farah-white); font: 400 14px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; padding: 12px; transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease; }
.property-contact-form input, .property-contact-form select { min-height: 48px; }
.property-contact-form select option { background: #ffffff !important; color: #18181b !important; }
.property-contact-form__honeypot { position: absolute; left: -9999px; }
.single-property-page .property-facts {
    margin-top: 52px;
    border-top-color: var(--farah-border);
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.single-property-page .property-facts div {
    gap: 10px;
    padding: 20px 0;
    border-bottom-color: var(--farah-border);
}
.single-property-page .property-facts span,
.single-property-page .property-facts strong {
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.5;
    text-transform: none;
}
.single-property-page .property-facts span {
    color: var(--farah-muted);
    font-weight: 400;
}
.single-property-page .property-facts strong {
    color: var(--farah-white);
    font-weight: 500;
}
.single-property-page .property-single__aside {
    border-color: var(--farah-border);
    background: var(--farah-surface);
    box-shadow: 0 24px 60px rgba(0,0,0,.06);
    border-radius: 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
}
.single-property-page .property-single__aside p:not(.eyebrow) {
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.55;
    text-transform: none;
    color: var(--farah-muted);
}
.single-property-page .property-single__price {
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-weight: 700;
    font-size: 36px;
    letter-spacing: -.03em;
    color: var(--farah-pink);
    margin-bottom: 6px;
}
.property-single__aside-mls,
.property-single__aside-location {
    margin: 0 0 4px;
    font-size: 14px;
}
.property-single__aside-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid var(--farah-border, rgba(255,255,255,0.1));
    border-bottom: 1px solid var(--farah-border, rgba(255,255,255,0.1));
}
.property-single__aside-stat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--farah-sans);
    font-size: 13px;
    color: var(--farah-white, #fff);
    white-space: nowrap;
}
.property-single__aside-stat i {
    color: var(--farah-pink, #ea66ad);
    font-size: 16px;
    flex-shrink: 0;
}
.property-single__aside-stat strong {
    font-family: var(--farah-sans);
    font-weight: 600;
}
.property-single__aside-excerpt {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    color: var(--farah-muted, rgba(255,255,255,0.7));
}
.property-single__cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: var(--farah-button-font-size, 10px);
    font-weight: var(--farah-button-font-weight, 700);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    border-radius: 0;
    margin-top: auto;
}

/* Property detail media: vertical gallery thumbnails beside the main image,
 * with the listing summary kept in a dedicated column. */
.single-property-page .property-detail-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: clamp(24px, 4vw, 64px);
    align-items: stretch;
    margin-bottom: 82px;
}
.single-property-page .property-detail-media .property-gallery {
    display: grid;
    grid-template-columns: minmax(84px, 112px) minmax(0, 1fr);
    grid-template-rows: minmax(360px, min(62vw, 720px));
    min-width: 0;
    margin-bottom: 0;
    border: 0;
}
.single-property-page .property-detail-media .property-gallery:focus-visible { border: 0; box-shadow: 0 0 0 2px rgba(234,102,173,.22); }
.single-property-page .property-detail-media .property-gallery__stage {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
    height: 100%;
}
.single-property-page .property-detail-media .property-gallery__thumbs {
	position: relative;
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: 1fr;
    grid-auto-rows: 84px;
    align-content: start;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
	 scrollbar-width: none;
    padding: 12px;
    border-top: 0;
    border-right: 1px solid rgba(255,255,255,.12);
}
.single-property-page .property-detail-media .property-gallery__thumbs::-webkit-scrollbar { display: none; width: 0; height: 0; }
.single-property-page .property-detail-media .property-gallery__thumbs::before,
.single-property-page .property-detail-media .property-gallery__thumbs::after { display: none; }

@media (min-width: 761px) {
    .single-property-page .property-detail-media .property-gallery__zoom { left: calc(clamp(84px, 12%, 112px) + 20px); }
    .single-property-page .property-detail-media .property-gallery:not(.property-gallery--single)::before,
    .single-property-page .property-detail-media .property-gallery:not(.property-gallery--single)::after {
        position: absolute;
        left: 0;
        z-index: 4;
        display: block;
        width: clamp(84px, 12%, 112px);
        height: 44px;
        content: "";
        pointer-events: none;
    }
    .single-property-page .property-detail-media .property-gallery:not(.property-gallery--single)::before {
        top: 0;
        background: linear-gradient(to bottom, var(--farah-black,#080808), transparent);
    }
    .single-property-page .property-detail-media .property-gallery:not(.property-gallery--single)::after {
        bottom: 0;
        background: linear-gradient(to top, var(--farah-black,#080808), transparent);
    }
}
.single-property-page .property-detail-media .property-gallery__thumbnail {
    width: 100%;
    aspect-ratio: auto;
}
.single-property-page .property-detail-media .property-gallery--single,
.single-property-page .property-detail-media .property-gallery--empty {
    grid-template-columns: 1fr;
}
.single-property-page .property-detail-media .property-gallery--single .property-gallery__stage {
    grid-column: 1;
}
.single-property-page .property-detail-media .property-gallery--empty {
    min-height: clamp(320px, 54vw, 640px);
}
.single-property-page .property-detail-media .property-single__aside {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    align-self: stretch;
}
.single-property-page .property-detail-media .property-single__price { margin-top: 0; }
.single-property-page .property-detail-media .property-single__aside .text-link { margin-top: auto; }
.single-property-page .property-single__grid {
    grid-template-columns: 1fr;
}

.property-virtual-tour {
    margin-top: 48px;
    padding-top: 0;
    border-top: 0;
}
.property-virtual-tour .eyebrow {
    margin-bottom: 14px;
}
.property-virtual-tour__embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 380px;
    background: var(--farah-surface);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--farah-border);
}
.property-virtual-tour__embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.property-virtual-tour__action {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}
.property-virtual-tour__action .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 0;
}

@media (max-width: 760px) {
    .single-property-page .property-description-layout { grid-template-columns: 1fr; gap: 24px; }
    .single-property-page .property-description-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 0; }
    .single-property-page .property-description-meta { display: flex; flex-wrap: wrap; gap: 16px 28px; }
    .single-property-page .property-location-contact { grid-template-columns: 1fr; gap: 32px; margin-top: 52px; }
    .single-property-page .property-map { height: 280px; }
    .property-contact-form__row { grid-template-columns: 1fr; }
    .single-property-page .property-detail-media {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 56px;
    }
    .single-property-page .property-detail-media .property-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(280px, 72vw) auto;
    }
    .single-property-page .property-detail-media .property-gallery__stage {
        grid-column: 1;
        grid-row: 1;
    }
    .single-property-page .property-detail-media .property-gallery__thumbs {
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
        grid-auto-rows: auto;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 10px;
        border-right: 0;
        border-top: 1px solid rgba(255,255,255,.12);
    }
}

@media (max-width: 760px) {
    .property-hero__inner {
        width: min(100% - 36px, 540px);
    }

    .property-single__topline,
    .property-single__grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .property-single__topline {
        align-items: start;
    }

    .property-gallery {
        margin-bottom: 56px;
    }

    .property-gallery__stage {
        height: 72vw;
        min-height: 300px;
        max-height: 600px;
    }

    .property-gallery__zoom { top: 12px; left: 12px; width: 38px; height: 38px; }
    .property-lightbox__dialog { width: 100vw; height: 84vh; grid-template-columns: 48px minmax(0,1fr) 48px; gap: 8px; }
    .property-lightbox__prev, .property-lightbox__next { width: 42px; height: 42px; }

    .property-gallery__thumbs {
        grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
        gap: 7px;
        padding: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .property-gallery__slide {
        transition: none;
    }
}

/* Browse by Area */
.browse-area-page__hero {
    background: linear-gradient(115deg, rgba(8, 8, 8, .94), rgba(17, 17, 17, .58)), url("assets/images/14696.webp") center / cover no-repeat;
}
.browse-area-directory__intro { max-width: 860px; }
.browse-area-directory__intro > p:last-child { max-width: 700px; color: var(--farah-muted); }
.browse-area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 68px; }
.browse-area-card { overflow: hidden; border: 1px solid var(--farah-border); background: var(--farah-surface); }
.browse-area-card__image { display: block; aspect-ratio: 16 / 8; overflow: hidden; }
.browse-area-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.browse-area-card:hover .browse-area-card__image img, .browse-area-card:focus-within .browse-area-card__image img { transform: scale(1.04); }
.browse-area-card__body { padding: 26px 28px 30px; }
.browse-area-card__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; border-bottom: 0; padding-bottom: 0; }
.browse-area-card__heading h3 { margin: 0; font-family: var(--farah-display); font-size: var(--farah-h4-size, 20px); font-weight: 500; line-height: 1.25; }
.browse-area-card__heading span, .browse-area-card__cities small { color: var(--farah-pink); font-family: var(--farah-sans); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.browse-area-card__cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.browse-area-card__cities a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--farah-border); color: var(--farah-white); font-family: var(--farah-sans); font-size: 14px; transition: color 180ms ease; }
.browse-area-card__cities a:hover, .browse-area-card__cities a:focus-visible { color: var(--farah-pink); }
.browse-area-empty { margin-top: 60px; color: var(--farah-muted); }

/* Keep property facts compact and scannable on the detail page. */
.single-property-page .property-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
}

@media (max-width: 900px) {
    .single-property-page .property-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0 16px !important;
        margin-top: 36px;
    }
    .single-property-page .property-facts div {
        padding: 14px 0 !important;
        gap: 4px !important;
    }
    .single-property-page .property-facts span {
        font-size: 12.5px !important;
    }
    .single-property-page .property-facts strong {
        font-size: 14.5px !important;
    }
}

@media (max-width: 480px) {
    .single-property-page .property-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0 14px !important;
    }
    .single-property-page .property-facts div {
        padding: 12px 0 !important;
        gap: 3px !important;
    }
    .single-property-page .property-facts span {
        font-size: 11.5px !important;
    }
    .single-property-page .property-facts strong {
        font-size: 13.5px !important;
    }
}

@media (min-width: 761px) {
    .single-property-page .property-detail-media {
        height: 500px;
    }

    .single-property-page .property-detail-media .property-gallery {
        height: 100%;
        grid-template-rows: minmax(0, 1fr);
    }

    .single-property-page .property-detail-media .property-gallery__thumbs {
        padding: 0;
        padding-right: 20px;
        border-right: 0;
        grid-auto-rows: 68px;
    }

    .single-property-page .property-detail-media .property-gallery__thumbnail {
        width: 100%;
        justify-self: center;
        border: 0;
    }
}

@media (max-width: 760px) {
    .single-property-page .property-detail-media .property-gallery__thumbs {
        padding: 0;
        border-top: 0;
    }

    .single-property-page .property-detail-media .property-gallery__thumbnail {
        width: 80%;
        justify-self: center;
        border: 0;
    }
}

/* Areas I Serve */
.areas-serve-page__hero {
    background: linear-gradient(115deg, rgba(8, 8, 8, .98), rgba(17, 17, 17, .72)), url("assets/images/14696.webp") center / cover no-repeat;
}

.areas-serve-intro,
.areas-serve-inner-city__grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 8vw, 132px);
    align-items: start;
}

.areas-serve-intro__copy,
.areas-serve-inner-city__copy {
    max-width: 720px;
}

.areas-serve-intro__copy p,
.areas-serve-inner-city__copy p,
.areas-serve-investment__content p,
.areas-serve-investment__why > p {
    color: var(--farah-muted);
}

.areas-serve-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 72px;
}

.areas-serve-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--farah-border);
    background: var(--farah-surface);
    transition: border-color 180ms ease, transform 180ms ease;
}

.areas-serve-card:hover,
.areas-serve-card:focus-visible {
    border-color: var(--farah-pink);
    transform: translateY(-5px);
}

.areas-serve-card__image {
    display: block;
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
}

.areas-serve-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.areas-serve-card:hover .areas-serve-card__image img,
.areas-serve-card:focus-visible .areas-serve-card__image img {
    transform: scale(1.04);
}

.areas-serve-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 20px 24px;
}

.areas-serve-card__title {
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .01em;
}

.areas-serve-card__arrow,
.areas-serve-community b {
    color: var(--farah-pink);
    font-family: var(--farah-sans);
    font-size: 20px;
    font-weight: 300;
}

.areas-serve-inner-city {
    background: var(--farah-surface);
}

.areas-serve-communities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 72px;
    border-top: 1px solid var(--farah-border);
}

.areas-serve-community {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 14px;
    align-items: center;
    min-height: 92px;
    padding: 18px 20px;
    border-right: 1px solid var(--farah-border);
    border-bottom: 1px solid var(--farah-border);
    transition: background-color 180ms ease, color 180ms ease;
}

.areas-serve-community:nth-child(4n + 1) { border-left: 1px solid var(--farah-border); }

.areas-serve-community:hover,
.areas-serve-community:focus-visible {
    background: rgba(234, 102, 173, .08);
}

.areas-serve-community span {
    color: var(--farah-pink);
    font-family: var(--farah-sans);
    font-size: 11px;
    letter-spacing: .08em;
}

.areas-serve-community strong {
    font-family: var(--farah-display);
    font-size: 20px;
    font-weight: 500;
}

.areas-serve-investment__grid {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: clamp(42px, 8vw, 130px);
    align-items: start;
}

.areas-serve-investment__image {
    position: sticky;
    top: 110px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.areas-serve-investment__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.areas-serve-investment__content h3 {
    margin-top: 56px;
}

.areas-serve-investment__content .button {
    margin-top: 20px;
}

.areas-serve-investment__why {
    margin-top: 120px;
}

.areas-serve-investment__reasons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
    margin-top: 52px;
    border-top: 1px solid var(--farah-border);
}

.areas-serve-investment__reasons > div {
    padding: 28px 0 24px;
    border-bottom: 1px solid var(--farah-border);
}

.areas-serve-investment__reasons strong {
    color: var(--farah-pink);
    font-family: var(--farah-sans);
    font-size: 11px;
    letter-spacing: .1em;
}

.areas-serve-investment__reasons h3 {
    margin: 16px 0 10px;
    font-size: 21px;
}

.areas-serve-investment__reasons p {
    margin: 0;
    color: var(--farah-muted);
    font-size: 16px;
}

.areas-serve-investment__closing {
    max-width: 900px;
    margin: 48px 0 0;
    color: var(--farah-muted);
}

@media (max-width: 900px) {
    .areas-serve-categories,
    .areas-serve-investment__reasons,
    .browse-area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .areas-serve-communities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .areas-serve-community:nth-child(4n + 1) { border-left: 0; }
    .areas-serve-community:nth-child(odd) { border-left: 1px solid var(--farah-border); }
    .areas-serve-investment__grid { grid-template-columns: 1fr; }
    .areas-serve-investment__image { position: relative; top: auto; max-height: 560px; }
}

@media (max-width: 680px) {
    .areas-serve-intro,
    .areas-serve-inner-city__grid { grid-template-columns: 1fr; gap: 24px; }
    .areas-serve-categories,
    .areas-serve-communities,
    .areas-serve-investment__reasons,
    .browse-area-grid { grid-template-columns: 1fr; }
    .areas-serve-community:nth-child(odd) { border-left: 0; }
    .areas-serve-community { border-left: 1px solid var(--farah-border); }
    .browse-area-card__heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .browse-area-card__cities { grid-template-columns: 1fr; }
}
/* Global property pagination: outlined square controls with an unboxed ellipsis. */
.rets-pagination {
    justify-content: center;
    gap: 8px;
}

.rets-pagination a,
.rets-pagination .page-numbers,
.rets-pagination button,
.rets-pagination > span {
    display: inline-flex;
    box-sizing: border-box;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.rets-pagination button {
    cursor: pointer;
}

.rets-pagination__ellipsis,
.rets-pagination .dots {
    width: 24px !important;
    min-width: 24px !important;
    height: 42px !important;
    border-color: transparent !important;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: 17px;
}

.rets-pagination__arrow,
.rets-pagination .prev,
.rets-pagination .next {
    width: 50px !important;
    min-width: 50px !important;
    font-family: var(--farah-sans);
    font-size: 23px !important;
}

.rets-pagination__page.is-current,
.rets-pagination .current {
    border-color: rgba(255, 255, 255, 0.18);
    background: transparent;
    color: var(--farah-white);
}

.rets-pagination a:hover,
.rets-pagination a:focus-visible,
.rets-pagination button:hover:not(:disabled),
.rets-pagination button:focus-visible:not(:disabled) {
    border-color: var(--farah-pink);
    background: transparent;
    color: var(--farah-pink);
}

.rets-pagination button:disabled {
    display: none;
}

/* Final responsive cascade: these rules intentionally follow every page and
   plugin compatibility block above. */
@media (max-width: 900px) {
    h1, .hero-section h1, .page-hero h1, .property-hero h1, .single-post-hero h1 { font-size: clamp(40px, 6vw, 64px); }
    h2, .section-heading h2, .contact-banner h2 { font-size: clamp(32px, 4.5vw, 48px); }
    .rets-filter-location-row,
    .rets-filter-sort-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rets-filter-sort-row .rets-filter-field:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .rets-filter-location-row,
    .rets-filter-sort-row,
    .rets-filter-range-fields { grid-template-columns: 1fr; }
    .rets-filter-sort-row .rets-filter-field:first-child { grid-column: auto; }
    .single-property-page .property-detail-media,
    .single-property-page .property-detail-media .property-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    h1, .hero-section h1, .page-hero h1, .property-hero h1, .single-post-hero h1 { font-size: clamp(34px, 8.5vw, 48px); }
    h2, .section-heading h2, .contact-banner h2 { font-size: clamp(26px, 6.5vw, 36px); }
}

.rets-card-status-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 7px 10px;
    background: var(--farah-pink);
    color: var(--farah-black);
    font-family: var(--farah-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
}

/* Global pagination: shared by blog, client stories, sold listings, and live property archives. */
.blog-pagination,
.rets-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 58px;
}

.blog-pagination ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-pagination a,
.blog-pagination .current,
.rets-pagination a,
.rets-pagination button,
.rets-pagination > span {
    display: inline-flex;
    box-sizing: border-box;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    color: var(--farah-white);
    font-family: var(--farah-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.rets-pagination button {
    cursor: pointer;
}

.blog-pagination .dots,
.rets-pagination__ellipsis,
.rets-pagination .dots {
    width: 24px;
    min-width: 24px;
    height: 42px;
    border-color: transparent;
    color: var(--farah-white);
    font-family: var(--farah-display);
    font-size: 17px;
}

.blog-pagination .prev,
.blog-pagination .next,
.rets-pagination__arrow,
.rets-pagination .prev,
.rets-pagination .next {
    width: 50px;
    min-width: 50px;
    font-family: var(--farah-sans);
    font-size: 23px;
}

.blog-pagination .current,
.rets-pagination .current,
.rets-pagination__page.is-current {
    border-color: rgba(255, 255, 255, 0.18);
    background: transparent;
    color: var(--farah-white);
}

.blog-pagination a:hover,
.blog-pagination a:focus-visible,
.rets-pagination a:hover,
.rets-pagination a:focus-visible,
.rets-pagination button:hover:not(:disabled),
.rets-pagination button:focus-visible:not(:disabled) {
    border-color: var(--farah-pink);
    background: transparent;
    color: var(--farah-pink);
}

.rets-pagination button:disabled {
    display: none;
}

@media (max-width: 480px) {
    .blog-pagination, .blog-pagination ul, .rets-pagination { gap: 6px; }
    .blog-pagination a, .blog-pagination .current,
    .rets-pagination a, .rets-pagination .page-numbers,
    .rets-pagination button, .rets-pagination > span { width: 40px; min-width: 40px; height: 40px; }
    .blog-pagination .prev, .blog-pagination .next,
    .rets-pagination__arrow, .rets-pagination .prev, .rets-pagination .next { width: 44px; min-width: 44px; }
}

/* ==========================================================================
   Theme Switcher & Light Theme (White background with Soft Pink accent)
   ========================================================================== */

/* Theme Toggle Button in Header */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(8, 8, 8, 0.4);
    color: var(--farah-white);
    cursor: pointer;
    line-height: 1;
    transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.theme-toggle-btn:hover,
.theme-toggle-btn:focus-visible {
    border-color: var(--farah-pink);
    color: var(--farah-pink);
    transform: scale(1.05);
    outline: none;
}

.theme-toggle-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

/* Default Dark Theme: Show glowing sun icon */
:root:not([data-theme="light"]) .theme-toggle-btn__icon--sun,
[data-theme="dark"] .theme-toggle-btn__icon--sun {
    display: inline-flex;
    color: #ffd166;
}

:root:not([data-theme="light"]) .theme-toggle-btn__icon--moon,
[data-theme="dark"] .theme-toggle-btn__icon--moon {
    display: none;
}

/* Light Theme: Show sleek moon icon */
[data-theme="light"] .theme-toggle-btn__icon--sun {
    display: none;
}

[data-theme="light"] .theme-toggle-btn__icon--moon {
    display: inline-flex;
    color: var(--farah-pink);
}

[data-theme="light"] .theme-toggle-btn {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
    color: #18181b;
}

[data-theme="light"] .theme-toggle-btn:hover,
[data-theme="light"] .theme-toggle-btn:focus-visible {
    border-color: var(--farah-pink);
    background: #ffffff;
    color: var(--farah-pink);
}

/* --- LIGHT THEME VARIABLE OVERRIDES --- */
:root[data-theme="light"] {
    --farah-black: #ffffff;
    --farah-surface: #f8f9fb;
    --farah-pink: #d85a8a;
    --farah-pink-light: #e47ea5;
    --farah-white: #18181b;
    --farah-muted: #52525b;
    --farah-border: rgba(0, 0, 0, 0.08);
    --farah-button-bg: #d85a8a;
    --farah-button-text: #ffffff;
}

/* --- LIGHT THEME COMPONENT STYLING --- */
[data-theme="light"] body {
    background: #ffffff;
    color: #18181b;
}

[data-theme="light"] ::selection {
    background: #fce8ef;
    color: #d85a8a;
}

[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.8) !important;
    border-bottom-color: rgba(0, 0, 0, 0.08);
    -webkit-backdrop-filter: blur(50px) saturate(180%) !important;
    backdrop-filter: blur(50px) saturate(180%) !important;
}

[data-theme="light"] .site-header--scrolled {
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom-color: rgba(0, 0, 0, 0.06);
    -webkit-backdrop-filter: blur(50px) saturate(180%) !important;
    backdrop-filter: blur(50px) saturate(180%) !important;
}

[data-theme="light"] .home .site-header {
    background: rgba(255, 255, 255, 0.8) !important;
    -webkit-backdrop-filter: blur(50px) saturate(180%) !important;
    backdrop-filter: blur(50px) saturate(180%) !important;
}

[data-theme="light"] .site-brand__logo {
    filter: invert(1) hue-rotate(180deg) brightness(0.2);
}

[data-theme="light"] .primary-navigation a {
    color: #52525b;
}

[data-theme="light"] .primary-navigation a:hover,
[data-theme="light"] .primary-navigation a:focus-visible {
    color: #18181b;
}

[data-theme="light"] .primary-navigation__menu-label {
    color: #52525b;
}

[data-theme="light"] .primary-navigation__item:hover .primary-navigation__menu-label,
[data-theme="light"] .primary-navigation__item:focus-within .primary-navigation__menu-label,
[data-theme="light"] .primary-navigation__item.is-open .primary-navigation__menu-label {
    color: #18181b;
}

[data-theme="light"] .primary-navigation__toggle {
    color: #71717a;
}

[data-theme="light"] .primary-navigation__submenu,
[data-theme="light"] .primary-navigation__subsubmenu {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.09);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .primary-navigation .primary-navigation__submenu a,
[data-theme="light"] .primary-navigation .primary-navigation__submenu-trigger {
    color: #3f3f46;
}

[data-theme="light"] .primary-navigation .primary-navigation__submenu a:hover,
[data-theme="light"] .primary-navigation .primary-navigation__submenu a:focus-visible,
[data-theme="light"] .primary-navigation .primary-navigation__submenu-trigger:hover,
[data-theme="light"] .primary-navigation .primary-navigation__submenu-trigger:focus-visible {
    background: #fdf2f6;
    color: var(--farah-pink);
}

[data-theme="light"] .site-header__phone {
    color: #52525b;
}

[data-theme="light"] .mobile-menu-toggle {
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
    color: #18181b;
}

@media (max-width: 1180px) {
    [data-theme="light"] .primary-navigation {
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    [data-theme="light"] .primary-navigation__item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    [data-theme="light"] .primary-navigation__menu-label {
        color: #18181b;
    }
}

/* Hero Light Mode Overlay - Ultra-sheer overlay for maximum video prominence */
[data-theme="light"] .hero-section {
    background: transparent;
}

[data-theme="light"] .hero-section__overlay,
:root:not([data-theme="dark"]) .hero-section__overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0.60) 100%);
}

[data-theme="light"] .hero-section h1 {
    color: #0c0c0e;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .hero-section__copy .eyebrow {
    color: var(--farah-pink);
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .hero-section__intro {
    color: #18181b;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .hero-section__visual::before {
    border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .hero-section__visual-image {
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .hero-section__scroll {
    color: #71717a;
}

[data-theme="light"] .button--outline {
    border-color: rgba(0, 0, 0, 0.22);
    color: #18181b;
}

[data-theme="light"] .button--outline:hover,
[data-theme="light"] .button--outline:focus-visible {
    border-color: var(--farah-pink);
    color: var(--farah-pink);
    background: #fdf2f6;
}

/* Inner Page Heroes */
[data-theme="light"] .page-hero,
[data-theme="light"] .property-hero,
[data-theme="light"] .browse-area-page__hero,
[data-theme="light"] .areas-serve-page__hero,
[data-theme="light"] .lets-connect-page__hero,
[data-theme="light"] .neighbourhood-page__hero,
[data-theme="light"] .mortgage-calculator-page__hero {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 60%, rgba(255, 255, 255, 0.48) 100%), url("assets/images/14696.webp") center / cover no-repeat;
}

[data-theme="light"] .page-hero::after {
    background: rgba(216, 90, 138, 0.14);
}

[data-theme="light"] .page-hero h1,
[data-theme="light"] .property-hero h1,
[data-theme="light"] .single-post-hero h1 {
    color: #18181b;
}

[data-theme="light"] .breadcrumb {
    color: #71717a;
}

[data-theme="light"] .single-post-hero::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72));
}

/* Metrics */
[data-theme="light"] .metrics-section {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .metric {
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .metric strong {
    color: var(--farah-pink);
}

[data-theme="light"] .metric > span {
    color: #52525b;
}

/* Cards & Archives */
[data-theme="light"] .section--properties,
[data-theme="light"] .journal-section,
[data-theme="light"] .blog-archive,
[data-theme="light"] .neighbourhood-featured,
[data-theme="light"] .testimonials-section,
[data-theme="light"] .lets-connect__promise {
    background: #fbfbfd;
}

[data-theme="light"] .about-section,
[data-theme="light"] .neighbourhood-intro,
[data-theme="light"] .neighbourhood-quadrants,
[data-theme="light"] .areas-serve-inner-city,
[data-theme="light"] .single-post-content,
[data-theme="light"] .buying-guide-content,
[data-theme="light"] .lets-connect,
[data-theme="light"] .home-evaluation-intro,
[data-theme="light"] .home-evaluation-form-section {
    background: #ffffff;
}

[data-theme="light"] .rets-card,
[data-theme="light"] .property-card,
[data-theme="light"] .blog-card,
[data-theme="light"] .journal-card,
[data-theme="light"] .client-story-card,
[data-theme="light"] .neighbourhood-category-card,
[data-theme="light"] .neighbourhood-quadrant-card,
[data-theme="light"] .areas-serve-card,
[data-theme="light"] .browse-area-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    color: #18181b;
}

[data-theme="light"] .rets-card:hover,
[data-theme="light"] .property-card:hover,
[data-theme="light"] .blog-card:hover,
[data-theme="light"] .client-story-card:hover,
[data-theme="light"] .neighbourhood-quadrant-card:hover,
[data-theme="light"] .areas-serve-card:hover {
    border-color: rgba(216, 90, 138, 0.45);
    box-shadow: 0 16px 40px rgba(216, 90, 138, 0.09);
}

[data-theme="light"] .rets-card h4,
[data-theme="light"] .property-card h4,
[data-theme="light"] .blog-card h4,
[data-theme="light"] .client-story-card h4,
[data-theme="light"] .neighbourhood-category-card h4,
[data-theme="light"] .neighbourhood-quadrant-card h4,
[data-theme="light"] .areas-serve-card__title {
    color: #18181b;
}

[data-theme="light"] .rets-card-details .rets-card-location {
    color: var(--farah-pink);
}

[data-theme="light"] .rets-card-details .rets-card-mls {
    color: #71717a;
}

[data-theme="light"] .rets-price {
    color: #18181b;
}

[data-theme="light"] .rets-card-stats {
    color: #52525b;
}

[data-theme="light"] .rets-card-status-tag {
    background: #fdf2f6;
    color: var(--farah-pink);
    border: 1px solid rgba(216, 90, 138, 0.22);
}

[data-theme="light"] .rets-gallery {
    background: #f4f5f7;
}

[data-theme="light"] .rets-gallery::after {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.42));
}

[data-theme="light"] .rets-gallery--brand,
[data-theme="light"] .rets-gallery.has-error {
    background-color: #f4f5f7;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url("assets/images/farrah-in-the-city-logo-header.png");
}

[data-theme="light"] .rets-photo-fallback {
    color: #71717a;
}

[data-theme="light"] .blog-card__body > p {
    color: #52525b;
}

[data-theme="light"] .blog-card__date {
    color: #71717a;
}

[data-theme="light"] .section-heading h2 {
    color: #18181b;
}

/* Testimonial Carousel */
[data-theme="light"] .testimonial-slide p {
    color: #3f3f46;
}

[data-theme="light"] .testimonial-slide footer strong {
    color: var(--farah-pink);
}

[data-theme="light"] .testimonial-slide footer span {
    color: #71717a;
}

[data-theme="light"] .testimonial-carousel__arrow {
    color: #a1a1aa;
}

[data-theme="light"] .testimonial-carousel__arrow:hover {
    color: var(--farah-pink);
}

[data-theme="light"] .testimonial-carousel__dots button {
    background: #d4d4d8;
}

[data-theme="light"] .testimonial-carousel__dots button.is-active {
    background: var(--farah-pink);
}

/* Forms & Filters */
[data-theme="light"] .rets-filter-form {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .rets-filter-field span,
[data-theme="light"] .rets-filter-range__heading>span {
    color: #3f3f46;
}

[data-theme="light"] .rets-filter-field input:not([type=range]),
[data-theme="light"] .rets-filter-field select {
    background-color: #f9fafb !important;
    border-color: #e4e4e7 !important;
    color: #18181b !important;
}

[data-theme="light"] .rets-filter-field select option {
    background: #ffffff;
    color: #18181b;
}

[data-theme="light"] .rets-filter-range__inputs::before {
    background: #e4e4e7;
    border-color: #d4d4d8;
}

[data-theme="light"] .rets-filter-range__bubble {
    color: #3f3f46;
}

[data-theme="light"] .rets-filter-reset {
    border-color: #d4d4d8;
    color: #3f3f46;
}

[data-theme="light"] .property-quick-filters a {
    border-color: #e4e4e7;
    color: #3f3f46;
    background: #ffffff;
}

[data-theme="light"] .lets-connect__form-wrap {
    background: #ffffff;
    border-color: #e4e4e7;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .lets-connect__form input,
[data-theme="light"] .lets-connect__form select,
[data-theme="light"] .lets-connect__form textarea {
    background: #f9fafb;
    border-color: #e4e4e7;
    color: #18181b;
}

[data-theme="light"] .lets-connect__form input::placeholder,
[data-theme="light"] .lets-connect__form textarea::placeholder {
    color: #a1a1aa;
}

[data-theme="light"] .lets-connect__form label {
    color: #18181b;
}

[data-theme="light"] .lets-connect__form label small {
    color: #71717a;
}

[data-theme="light"] .lets-connect__details a,
[data-theme="light"] .lets-connect__details > span {
    color: #18181b;
}

[data-theme="light"] .evaluation-review {
    background: #fdf2f6;
    border-color: rgba(216, 90, 138, 0.2);
}

[data-theme="light"] .evaluation-review p {
    border-color: rgba(0, 0, 0, 0.06);
    color: #18181b;
}

[data-theme="light"] .evaluation-progress li {
    border-color: #e4e4e7;
    color: #71717a;
}

[data-theme="light"] .evaluation-progress li.is-active,
[data-theme="light"] .evaluation-progress li.is-complete {
    border-color: var(--farah-pink);
    color: #18181b;
}

[data-theme="light"] .evaluation-progress li.is-active span,
[data-theme="light"] .evaluation-progress li.is-complete span {
    background: var(--farah-pink);
    border-color: var(--farah-pink);
    color: #ffffff;
}

/* Single Property Detail Page */
[data-theme="light"] .single-property-page .property-single__aside {
    background: #fdf6f9;
    border-color: rgba(216, 90, 138, 0.2);
    box-shadow: 0 10px 30px rgba(216, 90, 138, 0.05);
}

[data-theme="light"] .single-property-page .property-single__price {
    color: var(--farah-pink);
}

[data-theme="light"] .single-property-page .property-single__aside p:not(.eyebrow) {
    color: #52525b;
}

[data-theme="light"] .property-single__aside-stats {
    border-color: rgba(216, 90, 138, 0.15);
}

[data-theme="light"] .property-single__aside-stat {
    color: #27272a;
}

[data-theme="light"] .single-property-page .property-description-summary span,
[data-theme="light"] .single-property-page .property-description-status {
    color: #52525b;
}

[data-theme="light"] .single-property-page .property-description-stat strong {
    color: #18181b;
}

[data-theme="light"] .single-property-page .property-description-stat small {
    color: #71717a;
}

[data-theme="light"] .single-property-page .property-description p:not(.eyebrow) {
    color: #3f3f46;
}

[data-theme="light"] .single-property-page .property-description-meta {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .single-property-page .property-description-meta strong {
    color: #18181b;
}

[data-theme="light"] .single-property-page .property-description-meta span {
    color: #71717a;
}

[data-theme="light"] .single-property-page .property-facts {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .single-property-page .property-facts div {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .single-property-page .property-facts span {
    color: #71717a;
}

[data-theme="light"] .single-property-page .property-facts strong {
    color: #18181b;
}

[data-theme="light"] .single-property-page .property-location-contact {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .single-property-page .property-contact-form-wrap {
    background: #ffffff;
    border-color: #e4e4e7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .single-property-page .property-contact-form-wrap h3 {
    color: #18181b;
}

[data-theme="light"] .property-contact-form label span {
    color: #3f3f46;
}

[data-theme="light"] .property-contact-form label small {
    color: #71717a;
}

[data-theme="light"] .property-contact-form input,
[data-theme="light"] .property-contact-form select,
[data-theme="light"] .property-contact-form textarea {
    background: #f9fafb;
    border: 1px solid #e4e4e7;
    color: #18181b;
}

[data-theme="light"] .property-contact-form input::placeholder,
[data-theme="light"] .property-contact-form textarea::placeholder {
    color: #a1a1aa;
}

[data-theme="light"] .property-contact-form select option {
    background: #ffffff;
    color: #18181b;
}

[data-theme="light"] .property-contact-form input:focus,
[data-theme="light"] .property-contact-form select:focus,
[data-theme="light"] .property-contact-form textarea:focus {
    border-color: var(--farah-pink);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(216, 90, 138, 0.14);
}

[data-theme="light"] .single-property-page .property-map,
:root:not([data-theme="dark"]) .single-property-page .property-map {
    filter: none;
}

[data-theme="light"] .property-gallery,
:root:not([data-theme="dark"]) .property-gallery,
[data-theme="light"] .single-property-page .property-detail-media .property-gallery,
:root:not([data-theme="dark"]) .single-property-page .property-detail-media .property-gallery {
    background: #ffffff !important;
    border-color: #e4e4e7 !important;
    border-radius: 0 !important;
}

[data-theme="light"] .property-gallery__stage,
:root:not([data-theme="dark"]) .property-gallery__stage,
[data-theme="light"] .single-property-page .property-detail-media .property-gallery__stage,
:root:not([data-theme="dark"]) .single-property-page .property-detail-media .property-gallery__stage {
    background: #f4f5f7 !important;
    border-radius: 0 !important;
}

[data-theme="light"] .property-gallery__thumbs,
:root:not([data-theme="dark"]) .property-gallery__thumbs,
[data-theme="light"] .single-property-page .property-detail-media .property-gallery__thumbs,
:root:not([data-theme="dark"]) .single-property-page .property-detail-media .property-gallery__thumbs {
    background: #ffffff !important;
    border-color: #e4e4e7 !important;
    border-radius: 0 !important;
}

[data-theme="light"] .property-gallery__thumbnail,
:root:not([data-theme="dark"]) .property-gallery__thumbnail,
[data-theme="light"] .single-property-page .property-detail-media .property-gallery__thumbnail,
:root:not([data-theme="dark"]) .single-property-page .property-detail-media .property-gallery__thumbnail {
    background: #f4f5f7 !important;
    border-color: #e4e4e7 !important;
    border-radius: 0 !important;
}

[data-theme="light"] .single-property-page .property-detail-media .property-gallery:not(.property-gallery--single)::before,
:root:not([data-theme="dark"]) .single-property-page .property-detail-media .property-gallery:not(.property-gallery--single)::before {
    background: linear-gradient(to bottom, #ffffff, transparent) !important;
}

[data-theme="light"] .single-property-page .property-detail-media .property-gallery:not(.property-gallery--single)::after,
:root:not([data-theme="dark"]) .single-property-page .property-detail-media .property-gallery:not(.property-gallery--single)::after {
    background: linear-gradient(to top, #ffffff, transparent) !important;
}

[data-theme="light"] .property-gallery__count,
:root:not([data-theme="dark"]) .property-gallery__count {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #18181b !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    border-radius: 0 !important;
}

[data-theme="light"] .property-gallery__zoom,
:root:not([data-theme="dark"]) .property-gallery__zoom {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(0, 0, 0, 0.15);
    border-radius: 0 !important;
    color: #18181b;
}

[data-theme="light"] .property-gallery__zoom:hover,
[data-theme="light"] .property-gallery__zoom:focus-visible,
:root:not([data-theme="dark"]) .property-gallery__zoom:hover,
:root:not([data-theme="dark"]) .property-gallery__zoom:focus-visible {
    background: var(--farah-pink) !important;
    border-color: var(--farah-pink) !important;
    color: #ffffff !important;
}

[data-theme="light"] .property-quick-filters a {
    border-color: #e4e4e7;
    color: #3f3f46;
    background: #ffffff;
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

[data-theme="light"] .property-quick-filters a:hover {
    border-color: var(--farah-pink);
    color: var(--farah-pink);
}

[data-theme="light"] .property-quick-filters a.is-active,
[data-theme="light"] .property-quick-filters a[aria-current="page"] {
    background: var(--farah-pink) !important;
    border-color: var(--farah-pink) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(234, 102, 173, 0.25) !important;
}

[data-theme="light"] .sold-properties-proof {
    color: #52525b;
}

[data-theme="light"] .rets-applied-rule {
    border-color: rgba(216, 90, 138, 0.3);
    background: #fdf2f6;
    color: #18181b;
}

[data-theme="light"] .rets-applied-rule strong {
    color: var(--farah-pink);
}

[data-theme="light"] .area-community-search>label {
    color: #18181b;
}

[data-theme="light"] .area-community-search input {
    background: #f9fafb;
    border-color: #e4e4e7;
    color: #18181b;
}

[data-theme="light"] .popular-communities a {
    border-color: #e4e4e7;
    color: #18181b;
    background: #ffffff;
}

[data-theme="light"] .popular-communities a:hover {
    border-color: var(--farah-pink);
    color: var(--farah-pink);
}

[data-theme="light"] .popular-communities h2 {
    color: #18181b;
}

[data-theme="light"] .buying-guide-steps-list li {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .buying-guide-steps-list a {
    color: #18181b;
}

[data-theme="light"] .buying-guide-step {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .buying-guide-step h4 {
    color: #18181b;
}

[data-theme="light"] .buying-guide-copy strong {
    color: #18181b;
}

[data-theme="light"] .buying-guide-details__closing {
    color: #18181b;
}

[data-theme="light"] .privacy-policy-content__body {
    color: #3f3f46;
}

[data-theme="light"] .privacy-policy-content__body h2,
[data-theme="light"] .privacy-policy-content__body h3 {
    color: #18181b;
}

[data-theme="light"] .client-story-card time {
    color: #71717a;
}

[data-theme="light"] .client-story-card > p {
    color: #3f3f46;
}

[data-theme="light"] .client-story-card h4 {
    color: #18181b;
}

[data-theme="light"] .neighbourhood-featured-card {
    background: transparent;
    color: #18181b;
}

[data-theme="light"] .neighbourhood-featured-card h4,
[data-theme="light"] .neighbourhood-featured-card h4 a {
    color: #18181b;
}

[data-theme="light"] .neighbourhood-featured-card p,
[data-theme="light"] .neighbourhood-featured-card__excerpt {
    color: #52525b;
}

[data-theme="light"] .neighbourhood-featured-card:hover,
[data-theme="light"] .neighbourhood-featured-card:focus-visible,
[data-theme="light"] .neighbourhood-featured-card:focus-within {
    background: #ffffff !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    transform: translateY(-4px) !important;
}

[data-theme="light"] .neighbourhood-featured-card:hover h4,
[data-theme="light"] .neighbourhood-featured-card:focus-visible h4,
[data-theme="light"] .neighbourhood-featured-card:focus-within h4,
[data-theme="light"] .neighbourhood-featured-card:hover h4 a,
[data-theme="light"] .neighbourhood-featured-card:focus-visible h4 a,
[data-theme="light"] .neighbourhood-featured-card:focus-within h4 a {
    color: var(--farah-pink) !important;
}

[data-theme="light"] .neighbourhood-category-card:hover,
[data-theme="light"] .neighbourhood-category-card:focus-visible {
    background: #ffffff !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.02) !important;
    transform: translateY(-5px) !important;
}

[data-theme="light"] .neighbourhood-intro__copy p {
    color: #3f3f46;
}

[data-theme="light"] .areas-serve-investment__reasons strong {
    color: var(--farah-pink);
}

[data-theme="light"] .areas-serve-investment__reasons p {
    color: #52525b;
}

[data-theme="light"] .browse-area-card__cities a {
    border-bottom-color: rgba(0, 0, 0, 0.08);
    color: #18181b;
}

[data-theme="light"] .browse-area-card__cities a:hover {
    color: var(--farah-pink);
}

/* Light Theme Mortgage Calculator Overrides */
[data-theme="light"] .mortgage-calculator {
    background: #f8f9fb;
}

[data-theme="light"] .mortgage-tabs {
    background: #ffffff;
    border-color: #e4e4e7;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .mortgage-tab {
    color: #52525b;
}

[data-theme="light"] .mortgage-tab:hover,
[data-theme="light"] .mortgage-tab:focus-visible {
    color: var(--farah-pink);
    background: #fdf2f6;
}

[data-theme="light"] .mortgage-tab.is-active {
    background: var(--farah-pink);
    border-color: var(--farah-pink);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(216, 90, 138, 0.25);
}

[data-theme="light"] .mortgage-form__card {
    background: #ffffff;
    border-color: #e4e4e7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .mortgage-form__section {
    border-color: #e4e4e7;
}

[data-theme="light"] .mortgage-form__section-title {
    color: #18181b;
}

[data-theme="light"] .mortgage-form-field__label {
    color: #52525b;
}

[data-theme="light"] .mortgage-form input[type="text"],
[data-theme="light"] .mortgage-form input[type="number"],
[data-theme="light"] .mortgage-form select,
[data-theme="light"] .mortgage-analysis select,
[data-theme="light"] .mortgage-analysis input[type="number"],
[data-theme="light"] .affordability-details input[type="number"],
[data-theme="light"] .affordability-details select {
    background-color: #f9fafb;
    border-color: #e4e4e7;
    color: #18181b;
}

[data-theme="light"] .mortgage-form input:focus,
[data-theme="light"] .mortgage-form select:focus,
[data-theme="light"] .mortgage-analysis select:focus,
[data-theme="light"] .mortgage-analysis input:focus,
[data-theme="light"] .affordability-details input:focus,
[data-theme="light"] .affordability-details select:focus {
    background-color: #ffffff;
    border-color: var(--farah-pink);
    box-shadow: 0 0 0 3px rgba(216, 90, 138, 0.14);
}

[data-theme="light"] .mortgage-form select option,
[data-theme="light"] .mortgage-analysis select option,
[data-theme="light"] .affordability-details select option {
    background: #ffffff;
    color: #18181b;
}

[data-theme="light"] .mortgage-results,
[data-theme="light"] .mortgage-calculator-page .mortgage-results {
    background: #ffffff;
    border: 1px solid rgba(216, 90, 138, 0.25);
    box-shadow: 0 16px 40px rgba(216, 90, 138, 0.07);
}

[data-theme="light"] .mortgage-results .eyebrow,
[data-theme="light"] .mortgage-results__payment {
    color: var(--farah-pink);
}

[data-theme="light"] .mortgage-results__frequency,
[data-theme="light"] .mortgage-results__row span {
    color: #52525b;
}

[data-theme="light"] .mortgage-results__row strong {
    color: #18181b;
}

[data-theme="light"] .mortgage-results__details,
[data-theme="light"] .mortgage-results__row {
    border-color: #e4e4e7;
}

[data-theme="light"] .mortgage-results__callout {
    background: #fdf2f6;
    border-left-color: var(--farah-pink);
}

[data-theme="light"] .mortgage-results__callout p {
    color: #52525b;
}

[data-theme="light"] .mortgage-accordion__item {
    background: #ffffff;
    border-color: #e4e4e7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .mortgage-accordion__summary {
    color: #18181b;
}

[data-theme="light"] .mortgage-analysis__content {
    border-color: #e4e4e7;
}

[data-theme="light"] .mortgage-analysis__intro p,
[data-theme="light"] .mortgage-analysis__copy {
    color: #52525b;
}

[data-theme="light"] .mortgage-analysis__total {
    border-color: #e4e4e7;
    color: #52525b;
}

[data-theme="light"] .mortgage-cash-summary {
    background: #fdf2f6;
    border-color: rgba(216, 90, 138, 0.2);
}

[data-theme="light"] .mortgage-cash-summary__row {
    border-color: rgba(216, 90, 138, 0.15);
    color: #52525b;
}

[data-theme="light"] .mortgage-cash-summary__row strong {
    color: #18181b;
}

[data-theme="light"] .mortgage-scenario-table-wrap,
[data-theme="light"] .mortgage-schedule-wrap,
[data-theme="light"] .mortgage-rate-table {
    background: #ffffff;
    border-color: #e4e4e7;
}

[data-theme="light"] .mortgage-scenario-table th,
[data-theme="light"] .mortgage-schedule th {
    background: #f8f9fb;
    border-color: #e4e4e7;
    color: var(--farah-pink);
}

[data-theme="light"] .mortgage-scenario-table td,
[data-theme="light"] .mortgage-schedule td {
    border-color: #e4e4e7;
    color: #52525b;
}

[data-theme="light"] .mortgage-scenario-table td:last-child,
[data-theme="light"] .mortgage-schedule td:last-child {
    color: #18181b;
}

[data-theme="light"] .mortgage-rate-table > div {
    border-color: #e4e4e7;
    color: #52525b;
}

[data-theme="light"] .mortgage-rate-table strong {
    color: #18181b;
}

[data-theme="light"] .mortgage-rate-table > div[data-rate-row="base"] {
    background: #fdf2f6;
}

[data-theme="light"] .affordability-output-row,
[data-theme="light"] .affordability-scenario-card,
[data-theme="light"] .affordability-summary {
    background: #ffffff;
    border-color: #e4e4e7;
}

[data-theme="light"] .affordability-output-row output,
[data-theme="light"] .affordability-scenario-card output,
[data-theme="light"] .affordability-summary__row strong {
    color: #18181b;
}

[data-theme="light"] .affordability-total-card {
    background: #fdf2f6;
    border-color: rgba(216, 90, 138, 0.25);
    color: var(--farah-pink);
}

[data-theme="light"] .affordability-summary__row,
[data-theme="light"] .affordability-summary__input-row {
    border-color: #e4e4e7;
    color: #52525b;
}

[data-theme="light"] .affordability-summary__total {
    background: #fdf2f6;
    color: var(--farah-pink);
}


/* Global Conversion Banner & Footer */
/* Dark Mode CTA Banner */
[data-theme="dark"] .contact-banner {
    background: #080808 url("assets/images/14696.webp") center / cover no-repeat;
}

[data-theme="dark"] .contact-banner::before {
    background: url("assets/images/14696.webp") center / cover no-repeat;
    filter: blur(10px) brightness(0.38) saturate(0.8);
    opacity: 1;
}

[data-theme="dark"] .contact-banner::after {
    background: rgba(0, 0, 0, 0.42);
}

[data-theme="dark"] .contact-banner h2 {
    color: #ffffff;
}

[data-theme="dark"] .contact-banner h2 em {
    color: var(--farah-pink);
}

[data-theme="dark"] .contact-banner p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.78);
}

[data-theme="dark"] .contact-banner .button--accent {
    background: var(--farah-pink);
    color: #ffffff;
}

[data-theme="dark"] .contact-banner .button--accent:hover {
    background: #ffffff;
    color: #080808;
}

[data-theme="dark"] .contact-banner .button--outline {
    border-color: #e6b649;
    color: #e6b649;
    background: transparent;
}

[data-theme="dark"] .contact-banner .button--outline:hover,
[data-theme="dark"] .contact-banner .button--outline:focus-visible {
    border-color: var(--farah-pink);
    color: var(--farah-pink);
}

/* Light Mode CTA Banner */
[data-theme="light"] .contact-banner,
:root:not([data-theme="dark"]) .contact-banner {
    background: #f8f9fb url("assets/images/14696.webp") center / cover no-repeat;
}

[data-theme="light"] .contact-banner::before,
:root:not([data-theme="dark"]) .contact-banner::before {
    background: url("assets/images/14696.webp") center / cover no-repeat;
    filter: blur(10px) brightness(1.05) saturate(0.85);
    opacity: 0.92;
}

[data-theme="light"] .contact-banner::after,
:root:not([data-theme="dark"]) .contact-banner::after {
    background: linear-gradient(145deg, rgba(253, 242, 246, 0.78), rgba(255, 255, 255, 0.84));
}

[data-theme="light"] .contact-banner h2,
:root:not([data-theme="dark"]) .contact-banner h2 {
    color: #18181b;
}

[data-theme="light"] .contact-banner h2 em,
:root:not([data-theme="dark"]) .contact-banner h2 em {
    color: var(--farah-pink);
}

[data-theme="light"] .contact-banner p:not(.eyebrow),
:root:not([data-theme="dark"]) .contact-banner p:not(.eyebrow) {
    color: #3f3f46;
}

[data-theme="light"] .contact-banner .button--accent,
:root:not([data-theme="dark"]) .contact-banner .button--accent {
    background: var(--farah-pink);
    color: #ffffff;
}

[data-theme="light"] .contact-banner .button--accent:hover,
:root:not([data-theme="dark"]) .contact-banner .button--accent:hover {
    background: var(--farah-pink-light);
    color: #ffffff;
}

[data-theme="light"] .contact-banner .button--outline,
:root:not([data-theme="dark"]) .contact-banner .button--outline {
    border-color: rgba(0, 0, 0, 0.22);
    color: #18181b;
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .contact-banner .button--outline:hover,
[data-theme="light"] .contact-banner .button--outline:focus-visible,
:root:not([data-theme="dark"]) .contact-banner .button--outline:hover,
:root:not([data-theme="dark"]) .contact-banner .button--outline:focus-visible {
    border-color: var(--farah-pink);
    color: var(--farah-pink);
    background: #ffffff;
}

[data-theme="light"] .site-footer {
    background: #fbf2f6;
    color: #18181b;
    border-top: 1px solid rgba(216, 90, 138, 0.18);
}

[data-theme="light"] .site-footer__brand {
    color: #18181b;
}

[data-theme="light"] .site-footer__summary {
    color: #52525b;
}

[data-theme="light"] .site-footer__heading {
    color: #3f3f46;
}

[data-theme="light"] .site-footer__column a,
[data-theme="light"] .site-footer__column span {
    color: #27272a;
}

[data-theme="light"] .site-footer__column a:hover {
    color: var(--farah-pink);
}

[data-theme="light"] .site-footer__bottom {
    border-color: rgba(216, 90, 138, 0.18);
    color: #52525b;
}

[data-theme="light"] .site-footer__social-icon {
    border-color: rgba(0, 0, 0, 0.25);
    color: #18181b;
}

/* Pagination */
[data-theme="light"] .rets-pagination a,
[data-theme="light"] .rets-pagination .page-numbers,
[data-theme="light"] .rets-pagination button,
[data-theme="light"] .rets-pagination > span {
    border-color: #e4e4e7;
    color: #18181b;
}

[data-theme="light"] .rets-pagination .current,
[data-theme="light"] .rets-pagination__page.is-current {
    background: var(--farah-pink);
    border-color: var(--farah-pink);
    color: #ffffff;
}

[data-theme="light"] .rets-pagination a:hover,
[data-theme="light"] .rets-pagination button:hover {
    border-color: var(--farah-pink);
    color: var(--farah-pink);
}


/* --- SKELETON & IMAGE LOADERS IN LIGHT THEME --- */
[data-theme="light"] .rets-card--skeleton {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .rets-skeleton {
    background: #f1f2f5 !important;
}

[data-theme="light"] .rets-skeleton::after {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%) !important;
}

[data-theme="light"] .rets-skeleton-image {
    background: #f4f5f8 !important;
}

[data-theme="light"] .rets-skeleton-meta,
[data-theme="light"] .rets-skeleton-title,
[data-theme="light"] .rets-skeleton-price,
[data-theme="light"] .rets-skeleton-stats {
    background: #e5e7eb !important;
}

[data-theme="light"] .rets-gallery.is-loading,
[data-theme="light"] .property-gallery.is-loading,
[data-theme="light"] .property-gallery__stage.is-loading {
    background: #f4f5f8 !important;
}

[data-theme="light"] .rets-gallery.is-loading::before,
[data-theme="light"] .property-gallery.is-loading::before,
[data-theme="light"] .property-gallery__stage.is-loading::before {
    background: linear-gradient(90deg, #edf0f3 25%, #ffffff 50%, #edf0f3 75%) !important;
    background-size: 200% 100% !important;
}

/* --- Comprehensive Form & Calculator Field Styling in Light Theme --- */
[data-theme="light"] input:not([type="submit"]):not([type="button"]):not([type="range"]):not([type="checkbox"]):not([type="radio"]),
[data-theme="light"] select,
[data-theme="light"] textarea {
    background-color: #f9fafb;
    border-color: #e4e4e7;
    color: #18181b;
}

[data-theme="light"] input:focus:not([type="submit"]):not([type="button"]):not([type="range"]):not([type="checkbox"]):not([type="radio"]),
[data-theme="light"] select:focus,
[data-theme="light"] textarea:focus {
    background-color: #ffffff;
    border-color: var(--farah-pink);
    box-shadow: 0 0 0 3px rgba(216, 90, 138, 0.14);
}

/* Light Theme Home Evaluation */
[data-theme="light"] .home-evaluation-main {
    background: #f8f9fb;
}

[data-theme="light"] .home-evaluation-card {
    padding: clamp(24px, 3.5vw, 40px);
    background: var(--farah-black);
    border: 1px solid var(--farah-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .home-evaluation-card__title {
    color: #18181b;
}

[data-theme="light"] .home-evaluation-trust-card {
    background: #ffffff;
    border-color: #e4e4e7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .home-evaluation-inclusion-item__icon {
    background: #fdf2f6;
    border-color: rgba(216, 90, 138, 0.25);
}

[data-theme="light"] .home-evaluation-inclusion-item__content strong {
    color: #18181b;
}

[data-theme="light"] .evaluation-progress li {
    background: #ffffff;
    border-color: #e4e4e7;
}

[data-theme="light"] .evaluation-progress li span {
    background: #f4f5f7;
    border-color: #e4e4e7;
    color: #71717a;
}

[data-theme="light"] .evaluation-progress li strong {
    color: #18181b;
}

[data-theme="light"] .evaluation-progress li.is-active {
    background: #fdf2f6;
    border-color: var(--farah-pink);
}

[data-theme="light"] .evaluation-progress li.is-active span,
[data-theme="light"] .evaluation-progress li.is-complete span {
    background: var(--farah-pink);
    border-color: var(--farah-pink);
    color: #ffffff;
}

[data-theme="light"] .home-evaluation-wizard-form input,
[data-theme="light"] .home-evaluation-wizard-form select,
[data-theme="light"] .home-evaluation-wizard-form textarea {
    background-color: #f9fafb !important;
    border: 1px solid #e4e4e7 !important;
    color: #18181b !important;
}

[data-theme="light"] .home-evaluation-wizard-form input:focus,
[data-theme="light"] .home-evaluation-wizard-form select:focus,
[data-theme="light"] .home-evaluation-wizard-form textarea:focus {
    background-color: #ffffff !important;
    border-color: var(--farah-pink) !important;
    box-shadow: 0 0 0 3px rgba(216, 90, 138, 0.14) !important;
}

[data-theme="light"] .home-evaluation-wizard-form select option {
    background: #ffffff;
    color: #18181b;
}

[data-theme="light"] .home-evaluation-wizard-form label {
    color: #18181b;
}

[data-theme="light"] .home-evaluation-process {
    background: #ffffff;
    border-color: #e4e4e7;
}

[data-theme="light"] .home-evaluation-process-card {
    background: #f8f9fb;
    border-color: #e4e4e7;
}

[data-theme="light"] .home-evaluation-process-card:hover {
    border-color: var(--farah-pink);
    box-shadow: 0 14px 34px rgba(216, 90, 138, 0.08);
}

[data-theme="light"] .home-evaluation-process-card h3 {
    color: #18181b;
}

[data-theme="light"] .home-evaluation-faqs {
    background: #f8f9fb;
}

[data-theme="light"] .home-evaluation-faqs__accordion details {
    background: #ffffff;
    border-color: #e4e4e7;
}

[data-theme="light"] .home-evaluation-faqs__accordion details[open] {
    border-color: rgba(216, 90, 138, 0.4);
}

[data-theme="light"] .home-evaluation-faqs__accordion summary {
    color: #18181b;
}


/* Form Field Validation and Error Feedback */
.is-invalid,
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
	border-color: #ef4444 !important;
	background-color: rgba(239, 68, 68, 0.03) !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

[data-theme="dark"] .is-invalid,
[data-theme="dark"] input.is-invalid,
[data-theme="dark"] select.is-invalid,
[data-theme="dark"] textarea.is-invalid {
	border-color: #f87171 !important;
	background-color: rgba(248, 113, 113, 0.08) !important;
	box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.22) !important;
}

.required-star {
	color: var(--farah-pink, #d85a8a);
	font-style: normal;
	margin-left: 2px;
	font-weight: bold;
}


[data-theme="light"] .evaluation-step legend,
[data-theme="light"] .evaluation-step__legend {
    color: #18181b !important;
}

[data-theme="light"] .evaluation-step__intro {
    color: #52525b !important;
}


/* ==========================================================================
   Comprehensive Theme Polish: Filters, Form Controls & Interactive Components
   ========================================================================== */

/* --- LIGHT THEME FILTERS & SEARCH CONTROLS --- */
[data-theme="light"] .rets-filter-form,
:root:not([data-theme="dark"]) .rets-filter-form {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .rets-filter-field span,
:root:not([data-theme="dark"]) .rets-filter-field span,
[data-theme="light"] .rets-filter-range__heading>span,
:root:not([data-theme="dark"]) .rets-filter-range__heading>span {
    color: #3f3f46 !important;
}

[data-theme="light"] .rets-filter-field input:not([type=range]),
:root:not([data-theme="dark"]) .rets-filter-field input:not([type=range]),
[data-theme="light"] .rets-filter-field select,
:root:not([data-theme="dark"]) .rets-filter-field select {
    background-color: #f9fafb !important;
    border: 1px solid #e4e4e7 !important;
    color: #18181b !important;
}

[data-theme="light"] .rets-filter-field input::placeholder,
:root:not([data-theme="dark"]) .rets-filter-field input::placeholder {
    color: #a1a1aa !important;
}

[data-theme="light"] .rets-filter-field select,
:root:not([data-theme="dark"]) .rets-filter-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-position: right 16px center !important;
    background-size: 12px 12px !important;
    background-repeat: no-repeat !important;
}

[data-theme="light"] .rets-filter-field select option,
:root:not([data-theme="dark"]) .rets-filter-field select option {
    background: #ffffff !important;
    color: #18181b !important;
}

[data-theme="light"] .rets-filter-field input:not([type=range]):hover,
:root:not([data-theme="dark"]) .rets-filter-field input:not([type=range]):hover {
    border-color: rgba(216, 90, 138, 0.5) !important;
    background-color: #ffffff !important;
}

[data-theme="light"] .rets-filter-field select:hover,
:root:not([data-theme="dark"]) .rets-filter-field select:hover {
    border-color: rgba(216, 90, 138, 0.5) !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d85a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

[data-theme="light"] .rets-filter-field input:not([type=range]):focus,
:root:not([data-theme="dark"]) .rets-filter-field input:not([type=range]):focus {
    border-color: var(--farah-pink, #d85a8a) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(216, 90, 138, 0.14) !important;
    color: #18181b !important;
}

[data-theme="light"] .rets-filter-field select:focus,
:root:not([data-theme="dark"]) .rets-filter-field select:focus {
    border-color: var(--farah-pink, #d85a8a) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(216, 90, 138, 0.14) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d85a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    color: #18181b !important;
}

/* Advanced Filters Toggle Button (Light Theme) */
[data-theme="light"] .rets-filter-advanced-toggle,
:root:not([data-theme="dark"]) .rets-filter-advanced-toggle {
    border: 1px solid var(--farah-pink, #d85a8a) !important;
    background: transparent !important;
    color: var(--farah-pink, #d85a8a) !important;
    font-weight: 500 !important;
}

[data-theme="light"] .rets-filter-advanced-toggle span,
:root:not([data-theme="dark"]) .rets-filter-advanced-toggle span {
    color: var(--farah-pink, #d85a8a) !important;
}

[data-theme="light"] .rets-filter-advanced-toggle:hover,
:root:not([data-theme="dark"]) .rets-filter-advanced-toggle:hover,
[data-theme="light"] .rets-filter-advanced-toggle:focus-visible,
:root:not([data-theme="dark"]) .rets-filter-advanced-toggle:focus-visible {
    border-color: var(--farah-pink, #d85a8a) !important;
    background: rgba(216, 90, 138, 0.08) !important;
    color: var(--farah-pink, #d85a8a) !important;
}

/* Reset Button (Light Theme) */
[data-theme="light"] .rets-filter-reset,
:root:not([data-theme="dark"]) .rets-filter-reset {
    border: 1px solid #d4d4d8 !important;
    background: transparent !important;
    color: #3f3f46 !important;
    font-weight: 500 !important;
}

[data-theme="light"] .rets-filter-reset:hover,
:root:not([data-theme="dark"]) .rets-filter-reset:hover,
[data-theme="light"] .rets-filter-reset:focus-visible,
:root:not([data-theme="dark"]) .rets-filter-reset:focus-visible {
    border-color: var(--farah-pink, #d85a8a) !important;
    color: var(--farah-pink, #d85a8a) !important;
    background: rgba(216, 90, 138, 0.08) !important;
}

/* Submit Button (Light Theme) */
[data-theme="light"] .rets-filter-submit,
:root:not([data-theme="dark"]) .rets-filter-submit {
    background: var(--farah-pink, #d85a8a) !important;
    color: #ffffff !important;
    border: 1px solid var(--farah-pink, #d85a8a) !important;
    box-shadow: 0 4px 14px rgba(216, 90, 138, 0.22) !important;
}

[data-theme="light"] .rets-filter-submit:hover,
:root:not([data-theme="dark"]) .rets-filter-submit:hover,
[data-theme="light"] .rets-filter-submit:focus-visible,
:root:not([data-theme="dark"]) .rets-filter-submit:focus-visible {
    background: var(--farah-pink-light, #e47ea5) !important;
    border-color: var(--farah-pink-light, #e47ea5) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(216, 90, 138, 0.3) !important;
}

/* Range Slider & Bubbles (Light Theme) */
[data-theme="light"] .rets-filter-range__heading output,
:root:not([data-theme="dark"]) .rets-filter-range__heading output {
    color: #18181b !important;
}

[data-theme="light"] .rets-filter-range__inputs::before,
:root:not([data-theme="dark"]) .rets-filter-range__inputs::before {
    background: #e4e4e7 !important;
    border-color: #d4d4d8 !important;
}

[data-theme="light"] .rets-filter-range--compact .rets-filter-range__inputs::before,
:root:not([data-theme="dark"]) .rets-filter-range--compact .rets-filter-range__inputs::before {
    background: rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .rets-filter-range__inputs input[type=range]::-webkit-slider-thumb,
:root:not([data-theme="dark"]) .rets-filter-range__inputs input[type=range]::-webkit-slider-thumb {
    border-color: #ffffff !important;
    background: var(--farah-pink, #d85a8a) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}

[data-theme="light"] .rets-filter-range__inputs input[type=range]::-moz-range-thumb,
:root:not([data-theme="dark"]) .rets-filter-range__inputs input[type=range]::-moz-range-thumb {
    border-color: #ffffff !important;
    background: var(--farah-pink, #d85a8a) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}

[data-theme="light"] .rets-filter-range__bubble,
:root:not([data-theme="dark"]) .rets-filter-range__bubble {
    color: #52525b !important;
    font-weight: 600 !important;
}

/* Chips & Multi-select (Light Theme) */
[data-theme="light"] .rets-chip-list,
:root:not([data-theme="dark"]) .rets-chip-list {
    background: #f9fafb !important;
    border-color: #e4e4e7 !important;
}

[data-theme="light"] .rets-chip-input,
:root:not([data-theme="dark"]) .rets-chip-input {
    background: #f9fafb !important;
    border-color: #e4e4e7 !important;
    color: #18181b !important;
}

[data-theme="light"] .rets-chip,
:root:not([data-theme="dark"]) .rets-chip {
    background: rgba(216, 90, 138, 0.12) !important;
    border: 1px solid rgba(216, 90, 138, 0.28) !important;
    color: #18181b !important;
}

[data-theme="light"] .rets-chip span,
:root:not([data-theme="dark"]) .rets-chip span {
    color: var(--farah-pink, #d85a8a) !important;
}

[data-theme="light"] .rets-filter-advanced,
:root:not([data-theme="dark"]) .rets-filter-advanced {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}


/* --- DARK THEME FILTERS & SEARCH CONTROLS --- */
[data-theme="dark"] .rets-filter-form {
    background: #121212 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .rets-filter-field span,
[data-theme="dark"] .rets-filter-range__heading>span {
    color: rgba(255, 255, 255, 0.78) !important;
}

[data-theme="dark"] .rets-filter-field input:not([type=range]) {
    background-color: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    background-image: none !important;
}

[data-theme="dark"] .rets-filter-field select {
    background-color: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .rets-filter-field input::placeholder {
    color: rgba(255, 255, 255, 0.42) !important;
}

[data-theme="dark"] .rets-filter-field select option {
    background: #171717 !important;
    color: #ffffff !important;
}

[data-theme="dark"] .rets-filter-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-position: right 16px center !important;
    background-size: 12px 12px !important;
    background-repeat: no-repeat !important;
}

[data-theme="dark"] .rets-filter-field select:hover {
    border-color: rgba(234, 102, 173, 0.55) !important;
    background-color: #1d1d1d !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ea66ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

[data-theme="dark"] .rets-filter-field select:focus {
    border-color: var(--farah-pink, #ea66ad) !important;
    background-color: #1d1d1d !important;
    box-shadow: 0 0 0 3px rgba(234, 102, 173, 0.14) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ea66ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    color: #ffffff !important;
}

[data-theme="dark"] .rets-filter-advanced-toggle {
    border: 1px solid var(--farah-pink, #ea66ad) !important;
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 500 !important;
}

[data-theme="dark"] .rets-filter-advanced-toggle span {
    color: var(--farah-pink, #ea66ad) !important;
}

[data-theme="dark"] .rets-filter-advanced-toggle:hover,
[data-theme="dark"] .rets-filter-advanced-toggle:focus-visible {
    border-color: var(--farah-pink, #ea66ad) !important;
    background: rgba(234, 102, 173, 0.12) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .rets-filter-reset {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 500 !important;
}

[data-theme="dark"] .rets-filter-reset:hover,
[data-theme="dark"] .rets-filter-reset:focus-visible {
    border-color: var(--farah-pink, #ea66ad) !important;
    color: var(--farah-pink, #ea66ad) !important;
    background: rgba(234, 102, 173, 0.12) !important;
}

[data-theme="dark"] .rets-filter-submit {
    background: var(--farah-pink, #ea66ad) !important;
    color: #ffffff !important;
    border: 1px solid var(--farah-pink, #ea66ad) !important;
    box-shadow: 0 8px 20px rgba(234, 102, 173, 0.16) !important;
}

[data-theme="dark"] .rets-filter-submit:hover,
[data-theme="dark"] .rets-filter-submit:focus-visible {
    background: var(--farah-pink-light, #ea66ad) !important;
    color: #ffffff !important;
    border-color: var(--farah-pink-light, #ea66ad) !important;
}

[data-theme="dark"] .rets-filter-range__heading output {
    color: #ffffff !important;
}

[data-theme="dark"] .rets-filter-range__inputs::before {
    background: #343434 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

[data-theme="dark"] .rets-filter-range--compact .rets-filter-range__inputs::before {
    background: rgba(255, 255, 255, 0.18) !important;
}

[data-theme="dark"] .rets-filter-range__bubble {
    color: rgba(255, 255, 255, 0.74) !important;
}

[data-theme="dark"] .rets-chip-list {
    background: #1a1a1a !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .rets-chip-input {
    background: #1a1a1a !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .rets-chip {
    background: rgba(234, 102, 173, 0.16) !important;
    border: 1px solid rgba(234, 102, 173, 0.45) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .rets-chip span {
    color: var(--farah-pink, #ea66ad) !important;
}

[data-theme="dark"] .rets-filter-advanced {
    border-top-color: rgba(255, 255, 255, 0.1) !important;
}

/* --- RESPONSIVE MOBILE & TABLET OPTIMIZATIONS --- */
@media screen and (max-width: 991px) {
    .property-single {
        padding-top: 24px !important;
        padding-bottom: 48px !important;
    }
    .single-property-page .property-detail-media {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        gap: 24px !important;
    }
    .single-property-page .property-detail-media .property-gallery {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
    }
    .single-property-page .property-detail-media .property-gallery__stage {
        height: 320px !important;
        border-radius: 0 !important;
    }
    .single-property-page .property-detail-media .property-gallery__thumbs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 8px !important;
        padding: 12px 0 4px !important;
        width: 100% !important;
        max-height: none !important;
        border-right: 0 !important;
        scrollbar-width: thin !important;
    }
    .single-property-page .property-detail-media .property-gallery__thumbnail {
        flex: 0 0 72px !important;
        width: 72px !important;
        height: 54px !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }
    .property-single__aside {
        position: static !important;
        width: 100% !important;
    }
    .property-single__facts {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media screen and (max-width: 767px) {
    .site-header {
        padding: 12px 0 !important;
    }
    .site-header__container {
        padding: 0 16px !important;
    }
    .hero-section {
        padding: 60px 16px 40px !important;
        min-height: auto !important;
    }
    .hero-section h1 {
        font-size: 38px !important;
        line-height: 1.2 !important;
    }
    .single-property-page .property-detail-media .property-gallery__stage {
        height: 260px !important;
    }
    .property-single__facts {
        grid-template-columns: 1fr !important;
    }
    .rets-grid:not(.homepage-featured-slider) {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .rets-filter-grid {
        grid-template-columns: 1fr !important;
    }
    .rets-filter-form {
        padding: 18px 16px !important;
        border-radius: 16px !important;
    }
}

/* --- GLOBAL FORM INPUT & DROPDOWN THEME OVERRIDES --- */
select,
input,
textarea {
    font-family: var(--farah-sans, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif) !important;
    font-size: 15px !important;
}

[data-theme="dark"] input:not([type="submit"]):not([type="button"]),
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background-color: #121212 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] select option {
    background-color: #18181b !important;
    color: #ffffff !important;
}

[data-theme="dark"] select option:checked,
[data-theme="dark"] select option:hover {
    background-color: #27272a !important;
    color: var(--farah-pink, #ea66ad) !important;
}

[data-theme="light"] input:not([type="submit"]):not([type="button"]),
[data-theme="light"] select,
[data-theme="light"] textarea {
    background-color: #ffffff !important;
    color: #18181b !important;
}

[data-theme="light"] select option {
    background-color: #ffffff !important;
    color: #18181b !important;
}

/* --- HOMEPAGE FEATURED PROPERTIES SLIDER (NO ARROWS OR DOTS) --- */
.homepage-featured-slider {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    gap: 28px !important;
    padding-bottom: 24px !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE 10+ */
}
.homepage-featured-slider::-webkit-scrollbar {
    display: none !important; /* Safari & Chrome */
}
.homepage-featured-slider .rets-card {
    flex: 0 0 calc(33.333% - 19px) !important;
    min-width: 320px !important;
    scroll-snap-align: start !important;
}

@media (max-width: 991px) {
    .homepage-featured-slider .rets-card {
        flex: 0 0 calc(50% - 14px) !important;
        min-width: 280px !important;
    }
}

@media (max-width: 640px) {
    .homepage-featured-slider .rets-card {
        flex: 0 0 85% !important;
        min-width: 260px !important;
    }
}

/* Featured Slider Arrow Controls */
.featured-slider-controls {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}
.featured-slider-arrows {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.featured-slider-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
    border: 1px solid var(--farah-border, rgba(0, 0, 0, 0.15)) !important;
    background: var(--farah-surface, #ffffff) !important;
    color: var(--farah-white, #18181b) !important;
    font-size: 16px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease !important;
}
.featured-slider-arrow:hover {
    background: var(--farah-pink, #d85a8a) !important;
    border-color: var(--farah-pink, #d85a8a) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(216, 90, 138, 0.3) !important;
    transform: translateY(-1px) !important;
}

[data-theme="dark"] .featured-slider-arrow {
    background: var(--farah-surface, #111111) !important;
    border-color: var(--farah-border, rgba(255, 255, 255, 0.2)) !important;
    color: #ffffff !important;
}

/* --- PROPERTY INQUIRY CONTEXT CARD --- */
.property-inquiry-context-card {
    background: var(--farah-surface, #f8f9fb);
    border: 1px solid var(--farah-border, rgba(0, 0, 0, 0.08));
    border-left: 4px solid var(--farah-pink, #d85a8a);
    padding: 18px 22px;
    border-radius: 12px;
    margin: 16px 0 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.property-inquiry-context-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.property-inquiry-context-card__badge {
    display: inline-block;
    background: rgba(216, 90, 138, 0.12);
    color: var(--farah-pink, #d85a8a);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 6px;
}

.property-inquiry-context-card__mls {
    font-size: 12px;
    font-weight: 600;
    color: var(--farah-muted, #52525b);
    letter-spacing: 0.04em;
}

.property-inquiry-context-card__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--farah-white, #18181b);
    line-height: 1.3;
}

.property-inquiry-context-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.property-inquiry-context-card__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--farah-pink, #d85a8a);
}

.property-inquiry-context-card__stats {
    font-size: 13px;
    color: var(--farah-muted, #52525b);
    font-weight: 500;
}

[data-theme="dark"] .property-inquiry-context-card {
    background: #141416;
    border-color: rgba(255, 255, 255, 0.12);
    border-left-color: var(--farah-pink, #ea66ad);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .property-inquiry-context-card__title {
    color: #ffffff;
}

[data-theme="dark"] .property-inquiry-context-card__badge {
    background: rgba(234, 102, 173, 0.16);
    color: #ea66ad;
}

[data-theme="dark"] .property-inquiry-context-card__mls,
[data-theme="dark"] .property-inquiry-context-card__stats {
    color: rgba(255, 255, 255, 0.65);
}

/* Accessible Form Labels and Helper Typography */
label > span,
.form-label,
.lets-connect__form label span,
.property-contact-form label span,
.home-evaluation-wizard-form label span {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--farah-white, #333333) !important;
    margin-bottom: 6px !important;
    display: block !important;
}

[data-theme="dark"] label > span,
[data-theme="dark"] .form-label,
[data-theme="dark"] .lets-connect__form label span,
[data-theme="dark"] .property-contact-form label span,
[data-theme="dark"] .home-evaluation-wizard-form label span {
    color: #E5E5E5 !important;
}

label small,
.form-helper-text {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--farah-muted, #52525b) !important;
}

[data-theme="dark"] label small,
[data-theme="dark"] .form-helper-text {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ==========================================================================
   COMPLETE 100% RESPONSIVE SUITE: TABLET & MOBILE VIEWPORTS
   ========================================================================== */

/* 1. TABLET SCREENS (<= 1024px & <= 991px) */
@media screen and (max-width: 1024px) {
    :root {
        --farah-h1-size: clamp(36px, 5.2vw, 52px);
        --farah-h2-size: clamp(28px, 4vw, 38px);
        --farah-h3-size: clamp(20px, 3vw, 26px);
    }

    /* Standardized global section vertical rhythm on tablet */
    .section {
        padding: 72px 0 !important;
    }

    /* Fluid container width */
    .container {
        width: min(100% - 48px, 920px);
    }

    .site-main, .site-main > section {
        overflow-x: clip;
    }

    /* Hero Section */
    .hero-section {
        min-height: 80svh;
        padding-top: 100px;
        padding-bottom: 50px;
    }
    .hero-section__content {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .hero-section h1 {
        font-size: clamp(36px, 5.5vw, 54px);
        line-height: 1.12;
    }
    .hero-section__intro {
        font-size: 16px;
        max-width: 520px;
        margin-bottom: 28px;
    }

    /* Page Heroes */
    .page-hero {
        min-height: auto !important;
        padding: 130px 0 50px !important;
    }

    /* Metrics Grid */
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0 !important;
    }
    .metrics-grid--4 {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0 !important;
    }
    .metric {
        padding: 24px 12px !important;
        min-height: 120px !important;
    }
    .metric strong {
        font-size: clamp(28px, 4vw, 40px) !important;
    }

    /* About Section Grid */
    .about-section__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .about-section__image {
        max-height: 400px;
        width: 100%;
    }
    .about-section__image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    /* Section Headings */
    .section-heading {
        margin-bottom: 36px !important;
    }
    .section-heading--split {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* Testimonial Carousel - Compact Tablet Spacing */
    .testimonial-carousel {
        min-height: auto !important;
        padding: 30px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        position: relative !important;
    }
    .testimonial-carousel__heading {
        margin-bottom: 6px !important;
    }
    .testimonial-carousel__quote-mark {
        font-size: 38px !important;
        line-height: 0.8 !important;
        margin-top: 2px !important;
        margin-bottom: 6px !important;
    }
    .testimonial-carousel__slides {
        min-height: 180px !important;
        width: 100% !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 44px !important;
    }
    .testimonial-slide {
        justify-content: flex-start !important;
        padding-top: 4px !important;
    }
    .testimonial-slide p {
        font-size: clamp(16px, 2.2vw, 20px) !important;
        line-height: 1.45 !important;
        max-width: 620px !important;
        margin: 0 0 14px !important;
    }
    .testimonial-slide footer {
        margin-top: 12px !important;
    }
    .testimonial-carousel__arrow {
        position: absolute !important;
        top: 55% !important;
        transform: translateY(-50%) !important;
        z-index: 2 !important;
    }
    .testimonial-carousel__arrow--previous {
        left: 8px !important;
    }
    .testimonial-carousel__arrow--next {
        right: 8px !important;
    }
    .testimonial-carousel__dots {
        margin-top: 14px !important;
    }

    /* Buying, Selling, Neighbourhood Guides */
    .buying-guide-content__inner,
    .selling-guide-content__inner,
    .neighbourhood-intro__inner,
    .areas-serve-investment__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .neighbourhood-category-grid,
    .neighbourhood-featured-grid,
    .browse-area-grid,
    .blog-grid,
    .client-stories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    /* Let's Connect Layout */
    .lets-connect__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .lets-connect__intro {
        position: static;
    }

    /* Home Evaluation Form Layout */
    .home-evaluation-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .home-evaluation-sidebar__sticky {
        position: static;
    }

    /* Mortgage Calculator */
    .mortgage-form {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .mortgage-results--sticky {
        position: static;
    }
    .mortgage-expense-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mortgage-analysis__columns {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .site-footer__top {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 24px;
    }
}

/* 2. TABLET PORTRAIT & MOBILE SCREENS (<= 768px) */
@media screen and (max-width: 768px) {
    /* Global Section Spacing on Mobile */
    .section {
        padding: 56px 0 !important;
    }
    .section-heading {
        margin-bottom: 28px !important;
    }
    .eyebrow {
        margin-bottom: 12px !important;
        font-size: 11px !important;
        letter-spacing: 0.14em !important;
    }

    /* Safe container horizontal padding */
    .container {
        width: calc(100% - 32px);
        padding-left: 0;
        padding-right: 0;
    }

    /* Header Nav */
    .site-header__inner {
        width: calc(100% - 32px);
        min-height: 64px;
    }
    .site-brand__logo {
        width: 135px;
        height: auto;
        max-height: 48px;
    }
    .mobile-menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        padding: 0;
    }

    /* Hero Section */
    .hero-section {
        min-height: 520px;
        padding-top: 84px;
        padding-bottom: 32px;
    }
    .hero-section__content {
        padding-top: 24px;
        padding-bottom: 24px;
    }
    .hero-section h1 {
        font-size: clamp(30px, 7.5vw, 42px);
        line-height: 1.15;
        margin-bottom: 14px;
    }
    .hero-section__intro {
        font-size: 14.5px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    .hero-section__actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .hero-section__actions .button {
        width: 100%;
        text-align: center;
        justify-content: center;
        min-height: 46px;
        font-size: 12.5px;
    }
    .hero-section__scroll {
        display: none;
    }

    /* Page Heroes */
    .page-hero {
        min-height: auto !important;
        padding: 130px 0 38px !important;
    }
    .page-hero h1 {
        font-size: clamp(28px, 7vw, 38px);
        line-height: 1.12;
    }
    .breadcrumb {
        margin-bottom: 14px;
        font-size: 11px;
    }

    /* Metrics Section - Horizontal Single Row */
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0 !important;
    }
    .metrics-grid--4 {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0 !important;
    }
    .metric {
        padding: 14px 6px !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .metric:last-child {
        border-right: 0 !important;
    }
    [data-theme="light"] .metric {
        border-right-color: rgba(0, 0, 0, 0.08) !important;
    }
    .metric strong {
        font-size: clamp(22px, 5.5vw, 32px) !important;
        order: 1 !important;
        line-height: 1.1 !important;
    }
    .metric span {
        order: 2 !important;
        font-size: clamp(8.5px, 2vw, 10.5px) !important;
        letter-spacing: 0.1em !important;
        margin-top: 4px !important;
        white-space: normal !important;
        max-width: 110px !important;
        display: block !important;
    }

    /* Featured Properties Slider Controls */
    .featured-slider-controls {
        gap: 12px !important;
    }
    .homepage-featured-slider {
        gap: 16px !important;
        padding-bottom: 16px !important;
    }

    /* RETS Properties Quick Filter Nav */
    .property-quick-filters {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding-bottom: 10px;
        margin-bottom: 20px;
        scrollbar-width: none;
    }
    .property-quick-filters::-webkit-scrollbar {
        display: none;
    }
    .property-quick-filters a {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 8px 14px;
        font-size: 11.5px;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
    }

    /* RETS Filter Form on Mobile */
    .rets-filter-form {
        padding: 16px 14px !important;
        border-radius: 10px !important;
        margin-bottom: 24px !important;
    }
    .rets-filter-location-row,
    .rets-filter-sort-row,
    .rets-filter-range-fields,
    .rets-filter-basic,
    .rets-filter-advanced {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .rets-filter-field--wide {
        grid-column: auto !important;
    }
    .rets-filter-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
        margin-top: 14px !important;
    }
    .rets-filter-actions .button,
    .rets-filter-actions .rets-filter-submit,
    .rets-filter-actions .rets-filter-reset {
        width: 100% !important;
        min-height: 44px !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 !important;
    }

    /* Properties Grid */
    .rets-grid:not(.homepage-featured-slider) {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .rets-card {
        width: 100% !important;
        margin: 0 !important;
    }
    .rets-card-media {
        height: 220px !important;
    }
    .rets-card-body {
        padding: 16px 14px !important;
    }
    .rets-card-title {
        font-size: 17px !important;
    }
    .rets-card-price {
        font-size: 19px !important;
    }

    /* Single Property Detail Page Spacing */
    .property-single {
        padding-top: 20px !important;
        padding-bottom: 40px !important;
    }
    .single-property-page .property-detail-media {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        gap: 16px !important;
        margin-bottom: 36px !important;
    }
    .single-property-page .property-detail-media .property-gallery {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        margin-bottom: 0 !important;
    }
    .single-property-page .property-detail-media .property-gallery__stage {
        height: min(65vw, 280px) !important;
        min-height: 200px !important;
        width: 100% !important;
        border-radius: 8px !important;
    }
    .single-property-page .property-detail-media .property-gallery__thumbs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 6px !important;
        padding: 8px 0 2px !important;
        width: 100% !important;
        max-height: none !important;
        scrollbar-width: none !important;
    }
    .single-property-page .property-detail-media .property-gallery__thumbs::-webkit-scrollbar {
        display: none !important;
    }
    .single-property-page .property-detail-media .property-gallery__thumbnail {
        flex: 0 0 64px !important;
        width: 64px !important;
        height: 46px !important;
        border-radius: 5px !important;
    }
    .property-single__aside {
        width: 100% !important;
        position: static !important;
        padding: 20px 16px !important;
    }
    .property-single__price {
        font-size: 26px !important;
    }
    .single-property-page .property-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0 12px !important;
    }
    .single-property-page .property-location-contact {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        margin-top: 36px !important;
    }
    .single-property-page .property-map {
        height: 240px !important;
    }

    /* Virtual Tour Responsive Player */
    .property-virtual-tour__embed-wrap {
        border-radius: 8px !important;
        margin-bottom: 12px !important;
    }
    .property-virtual-tour__embed-wrap iframe {
        min-height: 220px !important;
    }
    .property-virtual-tour__action .button {
        width: 100% !important;
        min-height: 46px !important;
        justify-content: center !important;
    }

    /* Testimonials Carousel - Compact, Balanced Mobile Rhythm */
    .testimonials-section {
        padding: 40px 0 !important;
    }
    .testimonial-carousel {
        min-height: auto !important;
        padding: 18px 8px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        position: relative !important;
    }
    .testimonial-carousel__heading {
        margin-bottom: 4px !important;
        text-align: center !important;
    }
    .testimonial-carousel__heading .eyebrow {
        margin-bottom: 2px !important;
        font-size: 11px !important;
        letter-spacing: 0.14em !important;
    }
    .testimonial-carousel__quote-mark {
        font-size: 32px !important;
        line-height: 0.7 !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
    }
    .testimonial-carousel__slides {
        min-height: 150px !important;
        width: 100% !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 32px !important;
    }
    .testimonial-slide {
        justify-content: flex-start !important;
        padding-top: 2px !important;
        position: absolute !important;
        inset: 0 !important;
    }
    .testimonial-slide p {
        font-size: 14.5px !important;
        line-height: 1.4 !important;
        margin: 0 0 10px !important;
        padding: 0 !important;
    }
    .testimonial-slide footer {
        margin-top: 6px !important;
        gap: 2px !important;
    }
    .testimonial-slide footer strong {
        font-size: 13.5px !important;
        line-height: 1.2 !important;
    }
    .testimonial-slide footer span {
        font-size: 10px !important;
        letter-spacing: 0.08em !important;
    }
    .testimonial-carousel__arrow {
        position: absolute !important;
        top: 52% !important;
        transform: translateY(-50%) !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 24px !important;
        line-height: 1 !important;
        z-index: 2 !important;
        background: transparent !important;
    }
    .testimonial-carousel__arrow--previous {
        left: 2px !important;
    }
    .testimonial-carousel__arrow--next {
        right: 2px !important;
    }
    .testimonial-carousel__dots {
        margin-top: 10px !important;
        gap: 6px !important;
    }
    .testimonial-carousel__dots button {
        width: 6px !important;
        height: 6px !important;
    }

    /* Blog Archive & Detail */
    .blog-grid,
    .client-stories-grid,
    .neighbourhood-category-grid,
    .neighbourhood-featured-grid,
    .browse-area-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .blog-card__image {
        min-height: 180px !important;
    }
    .blog-card__body {
        padding: 16px 14px !important;
    }
    .blog-card h4 {
        min-height: auto !important;
        font-size: 18px !important;
        margin: 12px 0 8px !important;
    }

    /* Contact / Let's Connect */
    .lets-connect__form-wrap {
        padding: 20px 14px !important;
    }
    .lets-connect__form-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .lets-connect__hours-inline {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }
    .lets-connect__form button[type="submit"],
    .property-contact-form button[type="submit"] {
        width: 100% !important;
        min-height: 46px !important;
        justify-content: center !important;
        text-align: center !important;
        margin-top: 14px !important;
    }

    /* Home Evaluation Wizard Form */
    .home-evaluation-card {
        padding: 18px 14px !important;
    }
    .evaluation-step-grid,
    .evaluation-step-grid--2,
    .evaluation-step-grid--3 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .evaluation-progress {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
        margin-bottom: 20px !important;
    }
    .evaluation-actions {
        flex-direction: column-reverse !important;
        gap: 8px !important;
        margin-top: 20px !important;
    }
    .evaluation-actions .button {
        width: 100% !important;
        min-height: 46px !important;
        justify-content: center !important;
    }
    .home-evaluation-trust-card {
        padding: 16px 14px !important;
        margin-top: 20px !important;
    }
    .home-evaluation-trust-card__stats {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    /* Mortgage Calculator Forms & Results */
    .mortgage-tabs {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 4px !important;
        margin-bottom: 20px !important;
    }
    .mortgage-tab {
        width: 100% !important;
        text-align: center !important;
        min-height: 42px !important;
    }
    .mortgage-form__card {
        padding: 18px 14px !important;
    }
    .mortgage-form__section {
        padding-bottom: 20px !important;
        margin-bottom: 20px !important;
    }
    .mortgage-form__grid,
    .mortgage-form__grid--3,
    .mortgage-expense-grid,
    .mortgage-cash-options,
    .affordability-scenario-fields {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .mortgage-results {
        padding: 20px 14px !important;
    }
    .mortgage-results__payment {
        font-size: clamp(30px, 8vw, 38px) !important;
    }
    .mortgage-scenario-table-wrap {
        margin-left: -14px;
        margin-right: -14px;
        padding-left: 14px;
        padding-right: 14px;
        margin-top: 20px !important;
    }
    .mortgage-rate-table > div {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        padding: 10px 12px !important;
        font-size: 12.5px !important;
    }
    .mortgage-rate-table > div > span:last-child {
        grid-column: 1 / -1;
        font-weight: 600;
        color: var(--farah-pink);
    }

    /* Global Call To Action Banners */
    .contact-banner__inner,
    .neighbourhood-contact-banner__inner {
        padding: 28px 16px !important;
    }
    .contact-banner h2 {
        font-size: clamp(24px, 6.5vw, 32px) !important;
        line-height: 1.15;
    }
    .contact-banner__actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
        margin-top: 22px !important;
    }
    .contact-banner__actions .button {
        width: 100% !important;
        min-height: 46px !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Footer Responsive - Explore and Properties Side-by-Side */
    .site-footer {
        padding: 44px 0 20px !important;
    }
    .site-footer__top {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 20px !important;
        row-gap: 32px !important;
        padding-bottom: 28px !important;
    }
    .site-footer__identity {
        grid-column: 1 / -1 !important;
    }
    .site-footer__brand {
        font-size: 28px !important;
        line-height: 1.05 !important;
    }
    .site-footer__summary {
        font-size: 13.5px !important;
        margin-top: 10px !important;
        line-height: 1.55 !important;
        max-width: 100% !important;
    }
    .site-footer__heading {
        margin: 0 0 16px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        letter-spacing: 0.1em !important;
    }
    .site-footer__links {
        gap: 12px !important;
    }
    .site-footer__links a {
        font-size: 13.5px !important;
        line-height: 1.4 !important;
    }
    .site-footer__column--connect {
        grid-column: 1 / -1 !important;
        padding-top: 8px !important;
        border-top: 1px solid rgba(8, 8, 8, 0.1) !important;
    }
    .site-footer__contact-details {
        gap: 14px !important;
    }
    .site-footer__column--connect a,
    .site-footer__column--connect span {
        font-size: 13.5px !important;
        gap: 12px !important;
    }
    .site-footer__brokerage {
        margin-top: 10px !important;
    }
    .site-footer__brokerage-logo {
        max-width: 120px !important;
    }
    .site-footer__live-copy {
        padding: 22px 0 20px !important;
        font-size: 12px !important;
        line-height: 1.6 !important;
        border-top: 1px solid rgba(8, 8, 8, 0.1) !important;
    }
    .site-footer__bottom {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding-top: 20px !important;
        border-top: 1px solid rgba(8, 8, 8, 0.15) !important;
    }
    .site-footer__legal {
        max-width: 100% !important;
        font-size: 11.5px !important;
        line-height: 1.55 !important;
        gap: 10px !important;
    }
    .site-footer__live-links {
        display: flex !important;
        gap: 16px !important;
    }
}

/* 3. COMPACT PHONES (<= 480px) */
@media screen and (max-width: 480px) {
    :root {
        --farah-h1-size: clamp(26px, 8vw, 34px);
        --farah-h2-size: clamp(22px, 6.5vw, 28px);
        --farah-h3-size: clamp(18px, 5vw, 22px);
        --farah-body-size: 14.5px;
    }

    .section {
        padding: 44px 0 !important;
    }

    .container {
        width: calc(100% - 24px) !important;
    }

    .site-header__inner {
        width: calc(100% - 24px) !important;
        min-height: 56px !important;
        gap: 8px !important;
    }
    .site-brand__logo {
        width: 120px !important;
        max-height: 40px !important;
    }
    .site-header__actions {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .site-header__inquire-btn {
        min-height: 36px !important;
        padding: 0 12px !important;
        font-size: 10px !important;
        letter-spacing: 0.05em !important;
    }
    .mobile-menu-toggle {
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0 !important;
    }
    .theme-toggle-btn {
        width: 34px !important;
        height: 34px !important;
        flex-shrink: 0 !important;
    }

    .hero-section {
        min-height: 480px !important;
        padding-top: 76px !important;
        padding-bottom: 28px !important;
    }
    .hero-section h1 {
        font-size: clamp(26px, 8vw, 34px) !important;
    }
    .page-hero,
    .property-hero {
        min-height: 420px !important;
        padding: 110px 0 48px !important;
    }
    .page-hero h1,
    .property-hero h1 {
        font-size: clamp(24px, 7.5vw, 32px) !important;
    }

    .breadcrumb {
        font-size: 10.5px !important;
        margin-bottom: 10px !important;
    }

    /* Buttons touch targets */
    .button {
        min-height: 44px !important;
        font-size: 12px !important;
        padding: 0 16px !important;
    }

    /* Pagination controls */
    .rets-pagination {
        gap: 4px !important;
    }
    .rets-pagination a,
    .rets-pagination .page-numbers,
    .rets-pagination button,
    .rets-pagination > span {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        font-size: 11.5px !important;
    }
    .rets-pagination__arrow {
        width: 38px !important;
        min-width: 38px !important;
        font-size: 17px !important;
    }

    /* Gallery Lightbox */
    .property-lightbox {
        padding: max(16px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)) !important;
        box-sizing: border-box !important;
    }
    .property-lightbox__dialog {
        width: min(calc(100vw - 28px), 1400px) !important;
        margin: 0 auto !important;
        height: 78svh !important;
        grid-template-columns: 36px minmax(0, 1fr) 36px !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }
    .property-lightbox__prev,
    .property-lightbox__next {
        width: 36px !important;
        height: 40px !important;
    }
    .property-lightbox__close {
        top: -12px !important;
        right: 0 !important;
        width: 36px !important;
        height: 36px !important;
    }
}

/* Global Mobile Symmetry & Padding Enforcement */
@media screen and (max-width: 768px) {
    .container {
        width: min(calc(100% - 32px), 768px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    .single-property-page .property-location-contact,
    .single-property-page .property-map-wrap,
    .single-property-page .property-contact-form-wrap,
    .single-property-page .property-map,
    .property-inquiry-context-card,
    .property-contact-form,
    .property-contact-form__row,
    .property-contact-form label,
    .property-contact-form input,
    .property-contact-form select,
    .property-contact-form textarea,
    .property-contact-form button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    .property-contact-form__row {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .single-property-page .property-contact-form-wrap {
        padding: 24px 20px !important;
        overflow: hidden !important;
        border-radius: 12px !important;
    }
    .property-inquiry-context-card {
        padding: 18px !important;
        margin: 16px 0 24px !important;
        box-sizing: border-box !important;
    }
    .single-property-page .property-map {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: min(calc(100% - 28px), 480px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    .single-property-page .property-contact-form-wrap {
        padding: 22px 16px !important;
    }
    .property-inquiry-context-card {
        padding: 16px 14px !important;
    }
    .property-contact-form input,
    .property-contact-form select,
    .property-contact-form textarea {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }
}

/* ==========================================================================
   Single Property Detail Page - Layout, Hero & Gallery Precision Overrides
   ========================================================================== */
.single-property-page .page-hero,
.single-property-page .property-detail-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.single-property-page .page-hero__inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

.single-property-page .breadcrumb {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.single-property-page .page-hero h1 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Prevent Any Element Bleeding on Single Property Detail Page */
.single-property-page,
.single-property-page main,
.single-property-page .site-main,
.single-property-page .property-single,
.single-property-page .property-detail-media,
.single-property-page .property-gallery,
.single-property-page .property-gallery__stage,
.single-property-page .property-single__grid,
.single-property-page .property-single__main,
.single-property-page .property-description-layout,
.single-property-page .property-description-content,
.single-property-page .property-facts,
.single-property-page .property-virtual-tour,
.single-property-page .property-virtual-tour__embed,
.single-property-page .property-location-contact,
.single-property-page .property-map-wrap,
.single-property-page .property-contact-form-wrap,
.single-property-page .property-single__aside {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* Ensure Gallery container is cleanly bounded with no horizontal overflow */
.single-property-page .property-gallery {
    border-radius: 0 !important;
    overflow: hidden !important;
}

.single-property-page .property-gallery__stage {
    border-radius: 0 !important;
    overflow: hidden !important;
    position: relative !important;
}

/* ==========================================================================
   Property Gallery Navigation Arrows - Static White with 20% Black Drop Shadow
   No hover effects, no active displacement/background, no focus change
   ========================================================================== */
.property-gallery__control,
.property-gallery__control:hover,
.property-gallery__control:focus,
.property-gallery__control:focus-visible,
.property-gallery__control:active,
.single-property-page .property-gallery__control,
.single-property-page .property-gallery__control:hover,
.single-property-page .property-gallery__control:focus,
.single-property-page .property-gallery__control:focus-visible,
.single-property-page .property-gallery__control:active,
[data-theme="light"] .property-gallery__control,
[data-theme="light"] .property-gallery__control:hover,
[data-theme="light"] .property-gallery__control:focus,
[data-theme="light"] .property-gallery__control:focus-visible,
[data-theme="light"] .property-gallery__control:active,
:root:not([data-theme="dark"]) .property-gallery__control,
:root:not([data-theme="dark"]) .property-gallery__control:hover,
:root:not([data-theme="dark"]) .property-gallery__control:focus,
:root:not([data-theme="dark"]) .property-gallery__control:focus-visible,
:root:not([data-theme="dark"]) .property-gallery__control:active {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    color: #ffffff !important;
    font-size: 28px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    outline: none !important;
    outline-color: transparent !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    transition: none !important;
    animation: none !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
    z-index: 10 !important;
}

.property-gallery__control--prev,
.single-property-page .property-gallery__control--prev,
[data-theme="light"] .property-gallery__control--prev,
:root:not([data-theme="dark"]) .property-gallery__control--prev {
    left: 20px !important;
    right: auto !important;
}

.property-gallery__control--next,
.single-property-page .property-gallery__control--next,
[data-theme="light"] .property-gallery__control--next,
:root:not([data-theme="dark"]) .property-gallery__control--next {
    right: 20px !important;
    left: auto !important;
}

@media screen and (max-width: 768px) {
    .property-gallery__control,
    .property-gallery__control:hover,
    .property-gallery__control:focus,
    .property-gallery__control:focus-visible,
    .property-gallery__control:active,
    .single-property-page .property-gallery__control,
    .single-property-page .property-gallery__control:hover,
    .single-property-page .property-gallery__control:focus,
    .single-property-page .property-gallery__control:focus-visible,
    .single-property-page .property-gallery__control:active,
    [data-theme="light"] .property-gallery__control,
    [data-theme="light"] .property-gallery__control:hover,
    [data-theme="light"] .property-gallery__control:focus,
    [data-theme="light"] .property-gallery__control:focus-visible,
    [data-theme="light"] .property-gallery__control:active,
    :root:not([data-theme="dark"]) .property-gallery__control,
    :root:not([data-theme="dark"]) .property-gallery__control:hover,
    :root:not([data-theme="dark"]) .property-gallery__control:focus,
    :root:not([data-theme="dark"]) .property-gallery__control:focus-visible,
    :root:not([data-theme="dark"]) .property-gallery__control:active {
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        width: 36px !important;
        height: 36px !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: #ffffff !important;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
        outline: none !important;
    }

    .property-gallery__control--prev,
    .single-property-page .property-gallery__control--prev,
    [data-theme="light"] .property-gallery__control--prev,
    :root:not([data-theme="dark"]) .property-gallery__control--prev {
        left: 10px !important;
        right: auto !important;
    }

    .property-gallery__control--next,
    .single-property-page .property-gallery__control--next,
    [data-theme="light"] .property-gallery__control--next,
    :root:not([data-theme="dark"]) .property-gallery__control--next {
        right: 10px !important;
        left: auto !important;
    }
}

.property-gallery__control svg,
.single-property-page .property-gallery__control svg {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    color: #ffffff !important;
    stroke: #ffffff !important;
    fill: none !important;
    pointer-events: none !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
}

@media screen and (max-width: 768px) {
    .property-gallery__control svg,
    .single-property-page .property-gallery__control svg {
        width: 24px !important;
        height: 24px !important;
    }
}

/* ==========================================================================
   Exact Coordinate & Size Match: Hamburger Toggle & Fullscreen Menu Close
   ========================================================================== */
.site-header__actions {
    display: inline-flex !important;
    align-items: center !important;
}

.fullscreen-menu__container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.fullscreen-menu__header {
    width: min(1400px, calc(100% - 96px)) !important;
    min-height: 84px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

[data-theme="light"] .fullscreen-menu__header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.fullscreen-menu__body {
    width: min(1400px, calc(100% - 96px)) !important;
    margin: 0 auto !important;
    padding: clamp(20px, 3.5vw, 40px) 0 24px !important;
    box-sizing: border-box !important;
}

/* Unified Dimensions, Border Radius and Alignment across both buttons */
.fullscreen-menu__close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    background: rgba(8, 8, 8, 0.4) !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    transition: all 200ms ease !important;
}

.mobile-menu-toggle {
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    background: rgba(8, 8, 8, 0.4) !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    transition: all 200ms ease !important;
}

@media screen and (max-width: 1023px) {
    .mobile-menu-toggle {
        display: inline-flex !important;
    }
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible,
.fullscreen-menu__close:hover,
.fullscreen-menu__close:focus-visible {
    border-color: var(--farah-pink) !important;
    background: rgba(8, 8, 8, 0.7) !important;
    color: var(--farah-pink) !important;
    transform: none !important;
}

[data-theme="light"] .mobile-menu-toggle,
[data-theme="light"] .fullscreen-menu__close {
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    background: rgba(0, 0, 0, 0.04) !important;
    color: #18181b !important;
}

[data-theme="light"] .mobile-menu-toggle:hover,
[data-theme="light"] .mobile-menu-toggle:focus-visible,
[data-theme="light"] .fullscreen-menu__close:hover,
[data-theme="light"] .fullscreen-menu__close:focus-visible {
    border-color: var(--farah-pink) !important;
    background: rgba(216, 90, 138, 0.1) !important;
    color: var(--farah-pink) !important;
}

.fullscreen-menu__close svg {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 2.2 !important;
}

/* Responsive Sync at <= 900px */
@media screen and (max-width: 900px) {
    .site-header__inner,
    .fullscreen-menu__header,
    .fullscreen-menu__body {
        width: calc(100% - 32px) !important;
        min-height: 64px !important;
    }
    .site-brand__logo,
    .fullscreen-menu__logo {
        width: 135px !important;
        height: auto !important;
        max-height: 48px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }
    .mobile-menu-toggle,
    .fullscreen-menu__close {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        border-radius: 0 !important;
    }
    .fullscreen-menu__close svg {
        width: 17px !important;
        height: 17px !important;
    }
    .fullscreen-menu__body {
        padding-top: 14px !important;
        padding-bottom: 12px !important;
    }
}

/* Responsive Sync at <= 480px */
@media screen and (max-width: 480px) {
    .site-header__inner,
    .fullscreen-menu__header,
    .fullscreen-menu__body {
        width: calc(100% - 24px) !important;
        min-height: 56px !important;
    }
    .site-brand__logo,
    .fullscreen-menu__logo {
        width: 120px !important;
        height: auto !important;
        max-height: 40px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }
    .mobile-menu-toggle,
    .fullscreen-menu__close {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        border-radius: 0 !important;
    }
    .fullscreen-menu__close svg {
        width: 16px !important;
        height: 16px !important;
    }
}

/* ==========================================================================
   Global Style Consistency: Typography, Buttons, Accents, Borders & Spacing
   ========================================================================== */

/* 1. Global Button Text: All primary/accent buttons must always use crisp pure white text */
.button,
.button--accent,
.button.button--accent,
.fullscreen-menu__cta-btn,
.site-header__inquire-btn,
.property-single__cta,
.lets-connect__form .button,
.property-contact-form button,
.contact-banner .button--accent,
.neighbourhood-contact-banner .button--accent,
.areas-serve-investment__content .button,
.property-virtual-tour__action .button,
.evaluation-actions .button,
input[type="submit"].button {
    font-family: var(--farah-sans) !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    color: #ffffff !important;
    background: var(--farah-pink) !important;
    border: 1px solid transparent !important;
    border-radius: 0px !important;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease !important;
}

.button:hover,
.button:focus-visible,
.button--accent:hover,
.button--accent:focus-visible,
.fullscreen-menu__cta-btn:hover,
.fullscreen-menu__cta-btn:focus-visible,
.site-header__inquire-btn:hover,
.site-header__inquire-btn:focus-visible,
.property-single__cta:hover,
.property-single__cta:focus-visible,
.lets-connect__form .button:hover,
.lets-connect__form .button:focus-visible,
.property-contact-form button:hover,
.property-contact-form button:focus-visible,
.contact-banner .button--accent:hover,
.contact-banner .button--accent:focus-visible,
.neighbourhood-contact-banner .button--accent:hover,
.neighbourhood-contact-banner .button--accent:focus-visible,
.areas-serve-investment__content .button:hover,
.areas-serve-investment__content .button:focus-visible,
.property-virtual-tour__action .button:hover,
.property-virtual-tour__action .button:focus-visible,
.evaluation-actions .button:hover,
.evaluation-actions .button:focus-visible,
input[type="submit"].button:hover,
input[type="submit"].button:focus-visible {
    color: #ffffff !important;
    background: var(--farah-pink-light) !important;
    border-color: transparent !important;
    transform: translateY(-1px) !important;
}

/* 2. Global Outline Buttons */
.button--outline,
.button.button--outline,
.contact-banner .button--outline {
    background: transparent !important;
    color: var(--farah-white, #18181b) !important;
    border: 1px solid rgba(0, 0, 0, 0.22) !important;
    border-radius: 0px !important;
}

.button--outline:hover,
.button--outline:focus-visible,
.contact-banner .button--outline:hover,
.contact-banner .button--outline:focus-visible {
    background: #fdf2f6 !important;
    color: var(--farah-pink) !important;
    border-color: var(--farah-pink) !important;
}

[data-theme="dark"] .button--outline,
[data-theme="dark"] .contact-banner .button--outline {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

[data-theme="dark"] .button--outline:hover,
[data-theme="dark"] .button--outline:focus-visible,
[data-theme="dark"] .contact-banner .button--outline:hover,
[data-theme="dark"] .contact-banner .button--outline:focus-visible {
    background: rgba(216, 90, 138, 0.15) !important;
    color: var(--farah-pink) !important;
    border-color: var(--farah-pink) !important;
}

/* 3. Global Strict Border-Radius: 0px across entire site */
*,
*::before,
*::after,
.site-main .button,
.site-main input,
.site-main select,
.site-main textarea,
.site-main .card,
.site-main .rets-card,
.site-main .browse-area-card,
.site-main .areas-serve-card,
.site-main .blog-card,
.property-gallery,
.property-gallery__stage,
.property-gallery__thumbs,
.property-gallery__thumbnail,
.property-gallery__count,
.property-gallery__control,
.property-gallery__zoom,
.property-virtual-tour__embed,
.property-inquiry-context-card,
.single-property-page .property-contact-form-wrap,
.single-property-page .property-single__aside,
.fullscreen-menu__aside,
.mobile-menu-toggle,
.fullscreen-menu__close,
.theme-toggle-btn {
    border-radius: 0px !important;
}

/* 4. Global Typography & Headings Consistency */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--farah-display) !important;
    text-transform: capitalize !important;
}

.eyebrow {
    font-family: var(--farah-sans) !important;
    font-size: var(--farah-eyebrow-size, 13px) !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: var(--farah-pink) !important;
}

/* ==========================================================================
   5. Mobile Precision & Clean Responsive Enhancements (<= 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* Hero section: generous height and vertical/horizontal alignment on mobile */
    .page-hero,
    .property-hero,
    .single-property-page .page-hero,
    .single-property-page .property-detail-hero {
        min-height: 260px !important;
        padding: 130px 16px 36px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    .page-hero__inner,
    .single-property-page .page-hero__inner {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin: auto !important;
    }

    .section,
    .single-property-page .property-single {
        padding-top: 24px !important;
        padding-bottom: 48px !important;
    }

    /* Property facts: 1 column on mobile to prevent text clipping */
    .single-property-page .property-facts {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        margin-top: 28px !important;
        border-top: 1px solid var(--farah-border) !important;
    }

    .single-property-page .property-facts div {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--farah-border) !important;
    }

    .single-property-page .property-facts span {
        font-size: 11px !important;
        font-weight: 600 !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
        color: var(--farah-muted) !important;
        margin-bottom: 2px !important;
    }

    .single-property-page .property-facts strong {
        font-size: 14.5px !important;
        font-weight: 500 !important;
        line-height: 1.45 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        color: var(--farah-white) !important;
    }

    /* Property Media & Gallery Layout */
    .single-property-page .property-detail-media {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        margin-bottom: 32px !important;
    }

    .single-property-page .property-gallery {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .single-property-page .property-gallery__stage {
        width: 100% !important;
        height: 62vw !important;
        min-height: 240px !important;
        max-height: 380px !important;
        position: relative !important;
    }

    .single-property-page .property-gallery__count {
        top: 12px !important;
        right: 12px !important;
        padding: 5px 9px !important;
        font-size: 10px !important;
    }

    /* Clean Horizontal Thumbnails Strip */
    .single-property-page .property-gallery__thumbs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 8px !important;
        padding: 10px 0 4px !important;
        background: transparent !important;
        border-top: 0 !important;
    }

    .single-property-page .property-gallery__thumbnail {
        flex: 0 0 64px !important;
        width: 64px !important;
        height: 48px !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
        background: #222 !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    [data-theme="light"] .single-property-page .property-gallery__thumbnail {
        border-color: rgba(0, 0, 0, 0.12) !important;
        background: #eaeaea !important;
    }

    .single-property-page .property-gallery__thumbnail.is-active {
        border-color: var(--farah-pink) !important;
    }

    .single-property-page .property-gallery__thumbnail img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* Video & Map Embeds */
    .property-virtual-tour {
        margin-top: 28px !important;
    }

    .property-virtual-tour__embed {
        aspect-ratio: 16 / 9 !important;
        min-height: 200px !important;
        max-height: 280px !important;
    }

    .single-property-page .property-location-contact {
        margin-top: 28px !important;
        padding-top: 20px !important;
        gap: 28px !important;
    }

    .single-property-page .property-map {
        height: 240px !important;
        margin-top: 10px !important;
    }

    /* Description & Form Sections */
    .single-property-page .property-description {
        padding: 16px 0 4px !important;
    }

    .single-property-page .property-contact-form-wrap {
        padding: 20px 16px !important;
    }

    .single-property-page .property-contact-form-wrap h3 {
        font-size: 18px !important;
        margin: 8px 0 16px !important;
    }
}

/* Property Status Tag Badge Sizing */
.rets-card-status-tag {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: fit-content !important;
    max-height: fit-content !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 10px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    background: rgba(216, 90, 138, 0.92) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18) !important;
    z-index: 4 !important;
    pointer-events: none !important;
}





/* Keep the absolute header below the admin bar for logged-in admins. */
body.admin-bar .site-header{top:32px}
@media screen and (max-width:782px){body.admin-bar .site-header{top:46px}}
