/* Signature agency website templates: Maison, Skyline and Terra (loaded after site.css, only for them).
   Each has its own homepage (app/Views/site/signature/{template}.php, classes mz-/sk-/tr-) and restyles the
   shared inner pages (search, listing, team, agent, sold, valuation, contact) through tokens and a few rules.
   Motion comes from site-signature.js; with reduced motion or no script everything simply shows. */

/* ==========================================================================
   Shared
   ========================================================================== */
.fx-sig { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.fx-anim [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .95s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .95s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.fx-anim [data-reveal].is-in { opacity: 1; transform: none; }
.fx .fx-btn-light { background: #fff; color: #111; }
.fx .fx-btn-light:hover { background: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.fx-sig [data-track] { scrollbar-width: none; }
.fx-sig [data-track]::-webkit-scrollbar { display: none; }
.fx-sig [hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
    .fx-sig *, .fx-sig *::before, .fx-sig *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Maison: editorial luxury. Ivory and ink, Bodoni headings, gold hairlines.
   ========================================================================== */
.fx-maison {
    --fx-bg: #f6f2eb; --fx-surface: #fffdf9; --fx-tint: #efe8dc; --fx-text: #1c1a17; --fx-muted: #6e665b; --fx-line: #e0d6c6;
    --fx-radius: 0; --fx-radius-lg: 0; --fx-btn-radius: 0; --fx-head-weight: 400; --fx-head-track: -0.01em; --fx-card-ratio: 4 / 5;
    --fx-shadow: 0 18px 50px rgba(40, 30, 15, .08); --fx-shadow-lg: 0 30px 70px rgba(40, 30, 15, .14); --fx-eyebrow-colour: var(--fx-accent);
    --mz-gold: var(--fx-accent); --mz-wrap: 1320px;
}
.fx-maison h1, .fx-maison h2 { font-weight: 400; }
.fx-maison .fx-btn { text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 500; padding: 17px 30px; }
.fx-maison .fx-btn:hover { transform: none; }
.fx-maison .fx-nav a { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 500; }
.fx-maison .fx-nav .fx-nav-cta { padding: 11px 18px; background: transparent; border: 1px solid currentColor; color: var(--fx-text); }
.fx-maison.fx-over-hero:not(.fx-scrolled):not(.fx-menu-open) .fx-nav .fx-nav-cta { color: #fff; border-color: rgba(255, 255, 255, .7); }
.fx-maison .fx-brand-name { font-size: 1.45rem; letter-spacing: .01em; }
.fx-maison .fx-header-inner { max-width: var(--mz-wrap); }
.mz-eyebrow { display: inline-block; font-family: var(--fx-body); font-size: .7rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--mz-gold); margin-bottom: 18px; }
.mz-textlink { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--fx-text); padding-bottom: 6px; border-bottom: 1px solid var(--mz-gold); transition: gap .25s ease; }
.mz-textlink:hover { gap: 16px; }
.mz-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.mz-rule { width: 64px; height: 1px; background: var(--mz-gold); margin: 26px 0; }
.mz-head { max-width: var(--mz-wrap); margin: 0 auto 44px; padding: 0 var(--fx-pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.mz-head h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }

/* Banner: full-screen crossfading photos with a slow zoom */
.mz-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: #12100d; }
.mz-hero-media { position: absolute; inset: 0; overflow: hidden; }
.mz-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.8s ease, transform 9s ease-out; }
.mz-slide.is-active { opacity: 1; transform: scale(1); }
.mz-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background:
    linear-gradient(180deg, rgba(10, 8, 5, calc(var(--fx-overlay) * .9)) 0%, rgba(10, 8, 5, calc(var(--fx-overlay) * .35)) 40%, rgba(10, 8, 5, calc(var(--fx-overlay) + .25)) 100%); }
.mz-hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1100px; padding: calc(var(--fx-header-h) + 40px) var(--fx-pad) 120px; display: flex; flex-direction: column; align-items: center; }
.mz-kicker { font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: rgba(255, 255, 255, .82); margin-bottom: 28px; }
.fx .mz-hero h1 { color: #fff; font-size: clamp(2.9rem, 8.2vw, 7.4rem); line-height: .98; letter-spacing: -0.02em; max-width: 14ch; text-shadow: 0 2px 40px rgba(0, 0, 0, .25); }
.mz-hero h1 em { display: block; font-style: italic; color: #eadfcb; }
.mz-hero-sub { margin: 26px auto 44px; max-width: 520px; font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 300; color: rgba(255, 255, 255, .88); line-height: 1.7; }
.mz-hero-search { width: 100%; display: flex; justify-content: center; }
.fx-maison .mz-hero .fx-search { max-width: 880px; }
.fx-maison .mz-hero .fx-search-tabs { background: transparent; border: 0; padding: 0; gap: 26px; margin-bottom: 16px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.fx-maison .mz-hero .fx-search-tabs span { padding: 4px 0; border-radius: 0; font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .7); border-bottom: 1px solid transparent; }
.fx-maison .mz-hero .fx-search-tabs input:checked + span { background: transparent; color: #fff; border-color: #fff; }
.fx-maison .mz-hero .fx-search-fields { background: rgba(255, 253, 249, .97); padding: 6px; border-radius: 0; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.fx-maison .mz-hero .fx-search-field > span { letter-spacing: .2em; font-weight: 500; font-size: .64rem; }
.fx-maison .mz-hero .fx-search-go { border-radius: 0; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 500; }
.mz-hero-count { position: absolute; z-index: 2; left: max(var(--fx-pad), calc((100vw - var(--mz-wrap)) / 2 + var(--fx-pad))); bottom: 40px; display: flex; align-items: center; gap: 14px; font-size: .72rem; letter-spacing: .2em; color: rgba(255, 255, 255, .8); }
.mz-hero-count i { width: 56px; height: 1px; background: rgba(255, 255, 255, .5); }
.mz-scroll { position: absolute; z-index: 2; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; color: rgba(255, 255, 255, .75); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; }
.mz-scroll i { width: 1px; height: 46px; background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); animation: mz-drip 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes mz-drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Spotlight */
.mz-spot { max-width: var(--mz-wrap); margin: 0 auto; padding: clamp(80px, 11vw, 150px) var(--fx-pad) clamp(60px, 8vw, 110px); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.mz-spot-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--fx-tint); }
.mz-spot-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.mz-spot h2 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); line-height: 1.05; }
.mz-spot-place { margin: 16px 0 0; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--fx-muted); }
.mz-spot-price { font-family: var(--fx-head); font-size: clamp(1.8rem, 2.6vw, 2.3rem); color: var(--fx-text); }
.mz-spot-specs { margin: 10px 0 0; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fx-muted); }
.mz-spot-desc { margin: 26px 0 0; max-width: 46ch; color: var(--fx-muted); font-size: 1.02rem; line-height: 1.85; font-weight: 300; }

/* The collection: a swipeable row of tall photos */
.mz-collection { padding: clamp(30px, 5vw, 60px) 0 clamp(70px, 9vw, 120px); }
.mz-track-nav { display: flex; gap: 10px; }
.fx .mz-arrow { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--fx-line); background: transparent; color: var(--fx-text); display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: none; transition: background .25s, color .25s, border-color .25s, opacity .25s; }
.fx .mz-arrow:hover:not(:disabled) { background: var(--fx-text); color: var(--fx-bg); border-color: var(--fx-text); }
.fx .mz-arrow:disabled { opacity: .35; cursor: default; }
.mz-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 27vw, 400px); gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--fx-pad), calc((100vw - var(--mz-wrap)) / 2 + var(--fx-pad)));
    padding: 4px max(var(--fx-pad), calc((100vw - var(--mz-wrap)) / 2 + var(--fx-pad))) 10px; outline: none; }
.mz-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #2a241c; scroll-snap-align: start; color: #fff; }
.mz-tile-img, .mz-tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mz-tile-img img { object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.mz-tile:hover .mz-tile-img img { transform: scale(1.06); }
.mz-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(10, 8, 5, .78) 100%); }
.mz-tile-tag { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 7px 12px; background: rgba(255, 253, 249, .92); color: #1c1a17; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; }
.mz-tile-body { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 6px; }
.mz-tile-place { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.fx .mz-tile-body strong { font-family: var(--fx-head); font-weight: 400; font-size: 1.35rem; line-height: 1.2; color: #fff; }
.mz-tile-price { font-size: .92rem; letter-spacing: .04em; color: #eadfcb; }
.mz-tile-more { background: var(--fx-text); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 30px; gap: 10px; }
.mz-tile-more::after { display: none; }
.mz-tile-more span { font-family: var(--fx-head); font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; color: #eadfcb; }
.mz-tile-more strong { font-weight: 500; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; }
.mz-tile-more .icon { width: 28px; height: 28px; margin-top: 10px; transition: transform .3s; }
.mz-tile-more:hover .icon { transform: translateX(6px); }
.mz-progress { max-width: calc(var(--mz-wrap) - 2 * var(--fx-pad)); margin: 34px auto 0; height: 1px; background: var(--fx-line); width: calc(100% - 2 * var(--fx-pad)); }
.mz-progress i { display: block; height: 1px; width: 12%; background: var(--fx-text); transition: width .2s; }

/* Recently sold */
.mz-sold { padding: 0 0 clamp(70px, 9vw, 120px); }
.mz-sold-row { max-width: var(--mz-wrap); margin: 0 auto; padding: 0 var(--fx-pad); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.mz-sold-item { display: flex; flex-direction: column; gap: 4px; }
.mz-sold-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--fx-tint); margin-bottom: 14px; }
.mz-sold-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(.95); transition: filter .6s, transform .9s; }
.mz-sold-item:hover .mz-sold-img img { filter: none; transform: scale(1.04); }
.mz-sold-img em { position: absolute; top: 14px; left: 14px; padding: 6px 11px; background: var(--fx-text); color: var(--fx-bg); font-style: normal; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; }
.mz-sold-item strong { font-family: var(--fx-head); font-weight: 400; font-size: 1.12rem; }
.mz-sold-item > span:last-child { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fx-muted); }

/* Numbers */
.mz-stats { max-width: var(--mz-wrap); margin: 0 auto; padding: 0 var(--fx-pad); display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--fx-line); border-bottom: 1px solid var(--fx-line); }
.mz-stat { padding: clamp(40px, 6vw, 70px) 20px; text-align: center; }
.mz-stat + .mz-stat { border-left: 1px solid var(--fx-line); }
.mz-stat strong { display: block; font-family: var(--fx-head); font-weight: 400; font-size: clamp(3.2rem, 6.4vw, 5.6rem); line-height: 1; color: var(--fx-text); font-variant-numeric: lining-nums; }
.mz-stat span { display: block; margin-top: 14px; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--fx-muted); }

/* About */
.mz-about { max-width: var(--mz-wrap); margin: 0 auto; padding: clamp(90px, 12vw, 160px) var(--fx-pad); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 7vw, 110px); }
.mz-about-side h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.05; position: sticky; top: calc(var(--fx-header-h) + 30px); }
.mz-quote-lead { margin: 0 0 30px; font-family: var(--fx-head); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.35; color: var(--fx-text); }
.mz-prose { color: var(--fx-muted); font-size: 1.05rem; line-height: 1.9; font-weight: 300; max-width: 60ch; }

/* Selling band: full-bleed photo */
.mz-band { position: relative; min-height: min(78vh, 720px); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: #14110d; }
.mz-band-media { position: absolute; inset: -6% 0; background-size: cover; background-position: center; }
.mz-band::after { content: ''; position: absolute; inset: 0; background: rgba(14, 11, 7, .55); }
.mz-band-inner { position: relative; z-index: 2; max-width: 720px; padding: 80px var(--fx-pad); }
.mz-band .mz-eyebrow { color: #eadfcb; }
.fx .mz-band h2 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.02; }
.mz-band p { margin: 22px auto 36px; max-width: 520px; color: rgba(255, 255, 255, .86); font-weight: 300; line-height: 1.8; }

/* Services */
.mz-services { padding: clamp(80px, 10vw, 140px) 0; }
.mz-service-list { list-style: none; max-width: var(--mz-wrap); margin: 0 auto; padding: 0 var(--fx-pad); display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(30px, 6vw, 90px); }
.mz-service-list li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 34px 0; border-top: 1px solid var(--fx-line); }
.mz-service-num { font-family: var(--fx-head); font-size: 1.5rem; color: var(--mz-gold); }
.mz-service-list h3 { font-size: 1.5rem; font-weight: 400; }
.mz-service-list p { margin: 10px 0 0; color: var(--fx-muted); line-height: 1.8; font-weight: 300; }

/* Team */
.mz-team { padding: clamp(80px, 10vw, 140px) 0; background: var(--fx-tint); }
.mz-team.is-few .mz-head { flex-direction: column; align-items: center; text-align: center; }
.mz-team-grid { max-width: var(--mz-wrap); margin: 0 auto; padding: 0 var(--fx-pad); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.mz-team-grid.is-few { grid-template-columns: repeat(auto-fit, minmax(0, 300px)); justify-content: center; }
.mz-person { display: flex; flex-direction: column; gap: 4px; }
.mz-person-photo { display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; background: linear-gradient(160deg, #d9cfbf, #efe8dc); margin-bottom: 18px; }
.mz-person-photo .mz-person-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .7s, transform 1s; }
.mz-person:hover .mz-person-img { filter: none; transform: scale(1.04); }
.mz-person-photo .avatar-fallback { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 1px solid var(--mz-gold); color: var(--fx-text); font-family: var(--fx-head); font-size: 2.6rem; filter: none; }
.mz-person strong { font-family: var(--fx-head); font-weight: 400; font-size: 1.35rem; }
.mz-person > span:last-child { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--fx-muted); }

/* Testimonials: one large quote at a time */
.mz-testimonials { max-width: 980px; margin: 0 auto; padding: clamp(90px, 12vw, 160px) var(--fx-pad); text-align: center; }
.mz-quote-stage { display: grid; }
.mz-quote { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(12px); transition: opacity .9s ease, transform .9s ease; pointer-events: none; }
.mz-quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.mz-quote blockquote { margin: 0; font-family: var(--fx-head); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1.35; color: var(--fx-text); }
.mz-quote figcaption { margin-top: 30px; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--fx-muted); }
.mz-dots { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.fx .mz-dot { width: 30px; height: 2px; padding: 0; border: 0; border-radius: 0; background: var(--fx-line); cursor: pointer; box-shadow: none; transition: background .3s, width .3s; }
.fx .mz-dot.is-active { width: 54px; background: var(--fx-text); }

/* Contact */
.mz-contact { max-width: var(--mz-wrap); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--fx-pad) clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 7vw, 110px); border-top: 1px solid var(--fx-line); }
.mz-contact h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.mz-contact-intro p { margin: 18px 0 36px; color: var(--fx-muted); font-weight: 300; line-height: 1.8; max-width: 44ch; }
.mz-contact-line { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 18px 0; border-top: 1px solid var(--fx-line); font-size: 1.02rem; }
.mz-contact-line span { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--fx-muted); padding-top: 4px; }
.fx-maison .mz-contact-form .fx-field input, .fx-maison .mz-contact-form .fx-field textarea { background: transparent; border: 0; border-bottom: 1px solid var(--fx-line); border-radius: 0; padding: 12px 0; }
.fx-maison .mz-contact-form .fx-field input:focus, .fx-maison .mz-contact-form .fx-field textarea:focus { box-shadow: none; border-color: var(--fx-text); }
.fx-maison .fx-field > span { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }

/* Maison inner pages */
.fx-maison .fx-page-head { background: var(--fx-bg); border-bottom: 1px solid var(--fx-line); text-align: center; }
.fx-maison .fx-page-head-inner { padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(40px, 6vw, 70px); }
.fx-maison .fx-page-head h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.fx-maison .fx-eyebrow { font-weight: 500; letter-spacing: .28em; font-size: .7rem; }
.fx-maison .fx-card { background: transparent; border: 0; }
.fx-maison .fx-card:hover { transform: none; box-shadow: none; }
.fx-maison .fx-card-body { padding: 18px 0 6px; }
.fx-maison .fx-card-price { font-size: 1.5rem; font-weight: 400; }
.fx-maison .fx-card-specs { border-top: 1px solid var(--fx-line); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 500; }
.fx-maison .fx-tag { border-radius: 0; background: rgba(255, 253, 249, .94); font-weight: 500; letter-spacing: .2em; font-size: .6rem; }
.fx-maison .fx-filters, .fx-maison .fx-panel { box-shadow: none; }
.fx-maison .fx-seg, .fx-maison .fx-seg span { border-radius: 0; }
.fx-maison .fx-listing-price { font-weight: 400; color: var(--fx-text); }
.fx-maison .fx-facts { border-radius: 0; }
.fx-maison .fx-section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.fx-maison .fx-band { background: var(--fx-text); color: var(--fx-bg); }
.fx-maison .fx-footer { background: #191714; color: #b9b0a2; }
.fx-maison .fx-footer h4 { letter-spacing: .26em; font-weight: 500; font-size: .7rem; color: #eadfcb; }
.fx-maison .fx-footer-name { font-weight: 400; }
.fx-maison .fx-agent { border: 0; background: transparent; }
.fx-maison .fx-agent-photo { aspect-ratio: 3 / 4; }
.fx-maison .fx-steps li::before { background: transparent; border: 1px solid var(--mz-gold); color: var(--fx-text); }

@media (max-width: 960px) {
    .mz-spot, .mz-about, .mz-contact { grid-template-columns: 1fr; }
    .mz-about-side h2 { position: static; }
    .mz-sold-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mz-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mz-service-list { grid-template-columns: 1fr; }
    .mz-stat + .mz-stat { border-left: 0; }
    .mz-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mz-stat:nth-child(even) { border-left: 1px solid var(--fx-line); }
    .mz-stat:nth-child(n+3) { border-top: 1px solid var(--fx-line); }
}
@media (max-width: 680px) {
    .mz-hero-inner { padding-bottom: 110px; }
    .mz-hero-count { display: none; }
    .mz-track { grid-auto-columns: 78vw; gap: 16px; }
    .mz-head { margin-bottom: 30px; }
    .mz-track-nav { display: none; }
    .mz-contact-line { grid-template-columns: 1fr; gap: 4px; }
    .fx-maison .mz-hero .fx-search-tabs { justify-content: center; }
}

/* ==========================================================================
   Skyline: bold modern. White, huge tight type, gradient accents, bento grid.
   ========================================================================== */
.fx-skyline {
    --fx-bg: #ffffff; --fx-surface: #ffffff; --fx-tint: #f4f5fb; --fx-text: #0b0f1a; --fx-muted: #5a6175; --fx-line: #e6e8f1;
    --fx-radius: 18px; --fx-radius-lg: 26px; --fx-btn-radius: 14px; --fx-head-weight: 800; --fx-head-track: -0.035em; --fx-card-ratio: 4 / 3;
    --fx-shadow: 0 14px 40px rgba(17, 24, 58, .08); --fx-shadow-lg: 0 30px 70px rgba(17, 24, 58, .14);
    --sk-grad: linear-gradient(110deg, var(--fx-primary) 0%, var(--fx-accent) 100%); --sk-wrap: 1280px;
}
/* A light banner: the header stays solid with dark text. */
.fx-skyline.fx-over-hero .fx-header { margin-bottom: 0; background: color-mix(in srgb, var(--fx-bg) 90%, transparent); border-color: transparent; backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); }
.fx-skyline.fx-over-hero:not(.fx-scrolled):not(.fx-menu-open) .fx-header .fx-nav a:not(.fx-nav-cta),
.fx-skyline.fx-over-hero:not(.fx-scrolled):not(.fx-menu-open) .fx-header .fx-brand-name,
.fx-skyline.fx-over-hero:not(.fx-scrolled):not(.fx-menu-open) .fx-header .fx-header-phone,
.fx-skyline.fx-over-hero:not(.fx-scrolled):not(.fx-menu-open) .fx-header .fx-theme-toggle,
.fx-skyline.fx-over-hero:not(.fx-scrolled):not(.fx-menu-open) .fx-header .fx-menu-btn { color: var(--fx-text); }
.fx-skyline .fx-header-inner { max-width: var(--sk-wrap); }
.fx-skyline .fx-brand-name { font-weight: 800; letter-spacing: -0.03em; }
.fx-skyline .fx-nav a { font-weight: 600; }
.fx-skyline .fx-nav .fx-nav-cta { border-radius: 12px; background: var(--fx-text); color: var(--fx-bg); }
.fx-skyline .fx-btn { font-weight: 700; }
.fx-skyline .fx-btn-primary { box-shadow: 0 10px 26px color-mix(in srgb, var(--fx-primary) 32%, transparent); }
.sk-grad { background: var(--sk-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
/* In dark mode the brand gradient's dark (primary) end disappears on the dark
   background, so clipped-text numbers/words use a lighter brand gradient. */
html[data-theme="dark"] .fx-skyline .sk-grad,
html[data-theme="dark"] .fx-skyline .sk-stat strong {
    background-image: linear-gradient(110deg, color-mix(in srgb, var(--fx-primary) 50%, #fff) 0%, color-mix(in srgb, var(--fx-accent) 60%, #fff) 100%);
}
.sk-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--fx-ink); margin-bottom: 12px; }
.sk-eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--sk-grad); }
.sk-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--fx-text); }
.sk-link:hover { color: var(--fx-ink); }
.sk-section { max-width: var(--sk-wrap); margin: 0 auto; padding: clamp(60px, 8vw, 110px) var(--fx-pad); }
.sk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.sk-head h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.04; }
.sk-head-center { flex-direction: column; align-items: center; text-align: center; }
.sk-center { display: flex; justify-content: center; margin-top: 44px; }
.sk-prose { color: var(--fx-muted); font-size: 1.06rem; line-height: 1.8; }

/* Banner */
.sk-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 100% 0%, color-mix(in srgb, var(--fx-primary) 9%, transparent), transparent 60%), radial-gradient(900px 500px at 0% 100%, color-mix(in srgb, var(--fx-accent) 8%, transparent), transparent 60%), var(--fx-bg); }
.sk-hero-glow { position: absolute; width: 640px; height: 640px; right: -120px; top: -200px; border-radius: 50%; background: var(--sk-grad); opacity: .14; filter: blur(90px); pointer-events: none; }
.sk-hero-inner { position: relative; max-width: var(--sk-wrap); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--fx-pad) clamp(60px, 8vw, 110px); display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; min-height: min(calc(100vh - var(--fx-header-h)), 820px); }
.sk-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--fx-surface); border: 1px solid var(--fx-line); box-shadow: 0 6px 20px rgba(17, 24, 58, .06); font-size: .86rem; font-weight: 600; color: var(--fx-text); margin-bottom: 26px; }
.sk-pill i { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; animation: sk-pulse 2s infinite; }
@keyframes sk-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .45); } 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.fx .sk-hero h1 { font-size: clamp(2.9rem, 6.2vw, 5.6rem); line-height: .98; letter-spacing: -0.045em; max-width: 11ch; }
.sk-hero-sub { margin: 24px 0 34px; max-width: 480px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--fx-muted); line-height: 1.65; }
.fx-skyline .sk-hero .fx-search-tabs { background: var(--fx-tint); backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 12px; }
.fx-skyline .sk-hero .fx-search-tabs span { color: var(--fx-muted); border-radius: 9px; }
.fx-skyline .sk-hero .fx-search-tabs input:checked + span { background: var(--fx-text); color: var(--fx-bg); }
.fx-skyline .sk-hero .fx-search-fields { grid-template-columns: 1.2fr 1fr 1fr auto; border: 1px solid var(--fx-line); border-radius: 20px; box-shadow: 0 24px 60px rgba(17, 24, 58, .12); }
.fx-skyline .sk-hero .fx-search-go { border-radius: 14px; padding: 0 22px; }
.fx-skyline .sk-hero .fx-search-go span { display: none; }
.sk-hero-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px; }
.sk-hero-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--fx-muted); }
.sk-hero-links a:hover { color: var(--fx-text); }
.sk-hero-links .icon { color: var(--fx-ink); }
.sk-mosaic { position: relative; height: clamp(440px, 46vw, 620px); }
.sk-mosaic-img { position: absolute; overflow: hidden; border-radius: 28px; background: var(--fx-tint); box-shadow: var(--fx-shadow-lg); }
.sk-mosaic-img img { width: 100%; height: 100%; object-fit: cover; }
.sk-m1 { left: 0; top: 5%; width: 61%; height: 86%; }
.sk-m2 { right: 0; top: 0; width: 35%; height: 45%; }
.sk-m3 { right: 0; bottom: 3%; width: 35%; height: 47%; }
.sk-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 18px 40px rgba(17, 24, 58, .16); color: #0b0f1a; }
.sk-chip-price { left: -22px; bottom: 10%; flex-direction: column; align-items: flex-start; gap: 2px; }
/* The price chip is always a light card (hardcoded white), so its text uses
   theme-independent dark colours — never --fx-ink, which the dark theme lightens. */
.sk-chip-price span { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--fx-primary) 72%, #000); }
.sk-chip-price strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; color: #0b0f1a; }
.sk-chip-price em { font-style: normal; font-size: .82rem; color: #5a6175; }
.sk-chip-agent { right: 24%; top: 47%; }
.sk-chip-agent strong { display: block; font-size: .92rem; }
.sk-chip-agent em { display: block; font-style: normal; font-size: .78rem; color: #5a6175; }
.sk-chip-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sk-chip-avatar.avatar-fallback { display: grid; place-items: center; background: var(--sk-grad); color: #fff; font-weight: 800; font-size: .9rem; }

/* Bento grid of homes */
.sk-chips { display: inline-flex; gap: 6px; padding: 5px; border-radius: 14px; background: var(--fx-tint); }
.fx .sk-filter { padding: 9px 16px; border: 0; border-radius: 10px; background: transparent; color: var(--fx-muted); font-weight: 700; font-size: .9rem; cursor: pointer; box-shadow: none; }
.fx .sk-filter:hover { background: transparent; color: var(--fx-text); box-shadow: none; }
.fx .sk-filter.is-active { background: var(--fx-surface); color: var(--fx-text); box-shadow: 0 4px 12px rgba(17, 24, 58, .08); }
.sk-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sk-home { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--fx-surface); border: 1px solid var(--fx-line); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.sk-home:hover { transform: translateY(-6px); box-shadow: var(--fx-shadow-lg); }
.sk-home-img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: var(--fx-tint); color: var(--fx-muted); }
.sk-home-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.sk-home:hover .sk-home-img img { transform: scale(1.06); }
.sk-home-tag { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: .72rem; font-weight: 800; color: #0b0f1a; }
.sk-home-status { left: auto; right: 14px; background: var(--fx-accent); color: var(--fx-on-accent); }
.sk-home-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.sk-home-price { font-size: 1.28rem; font-weight: 800; letter-spacing: -0.03em; }
.sk-home-title { color: var(--fx-muted); font-size: .9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk-home-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sk-home-meta span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--fx-tint); font-size: .78rem; font-weight: 600; color: var(--fx-muted); }
.sk-home-meta .icon { width: 14px; height: 14px; }
.sk-home-go { position: absolute; z-index: 3; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--fx-text); color: #fff; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; }
.sk-home:hover .sk-home-go { opacity: 1; transform: none; }
.sk-home.is-big { grid-column: span 2; grid-row: span 2; border: 0; color: #fff; min-height: 520px; }
.sk-home.is-big .sk-home-img { position: absolute; inset: 0; aspect-ratio: auto; }
.sk-home.is-big .sk-home-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 20, 0) 40%, rgba(5, 8, 20, .82) 100%); }
.sk-home.is-big .sk-home-body { position: relative; z-index: 2; margin-top: auto; padding: 28px; }
.fx .sk-home.is-big .sk-home-price { font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; }
.sk-home.is-big .sk-home-title { color: rgba(255, 255, 255, .85); font-size: 1.05rem; white-space: normal; }
.sk-home.is-big .sk-home-meta span { background: rgba(255, 255, 255, .16); color: #fff; }
.sk-home.is-big .sk-home-go { opacity: 1; transform: none; background: #fff; color: #0b0f1a; }
.sk-bento.is-filtered .sk-home.is-big { grid-column: span 1; grid-row: span 1; min-height: 0; aspect-ratio: 3 / 4; }

/* Explore by area */
.sk-areas-wrap { padding-top: 0; }
.sk-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sk-area { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: var(--sk-grad); color: #fff; }
.sk-area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.sk-area:hover img { transform: scale(1.07); }
.sk-area::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(5, 8, 20, 0) 30%, rgba(5, 8, 20, .7) 100%); }
.sk-area-body { position: absolute; z-index: 2; left: 22px; bottom: 20px; display: flex; flex-direction: column; }
.sk-area-body strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.sk-area-body em { font-style: normal; font-size: .88rem; opacity: .85; }
.sk-area-go { position: absolute; z-index: 2; right: 18px; bottom: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); transition: background .3s, color .3s; }
.sk-area:hover .sk-area-go { background: #fff; color: #0b0f1a; }
/* These cards are text over a photo (white text + a dark scrim), but they are
   links, so .fx a { color: inherit } would drag the label to the theme text
   colour (dark in light mode). Re-assert white with enough specificity. */
.fx a.sk-area, .fx a.sk-home.is-big, .fx a.mz-tile { color: #fff; }

/* Sold */
.sk-sold { padding-top: 0; }
.sk-sold-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sk-sold-item { display: flex; flex-direction: column; gap: 2px; }
.sk-sold-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--fx-tint); margin-bottom: 12px; }
.sk-sold-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.sk-sold-img em { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: #16a34a; color: #fff; font-style: normal; font-size: .74rem; font-weight: 800; }
.sk-sold-img em .icon { width: 13px; height: 13px; }
.sk-sold-item strong { font-size: .98rem; font-weight: 700; }
.sk-sold-item > span { color: var(--fx-muted); font-size: .86rem; }

/* Numbers */
.sk-stats-wrap { padding-top: 0; padding-bottom: 0; }
.sk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.sk-stat { padding: 34px 28px; border-radius: 26px; background: var(--fx-tint); }
.sk-stat strong { display: block; font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: var(--sk-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.sk-stat span { display: block; margin-top: 10px; color: var(--fx-muted); font-weight: 600; }

/* About + how we sell */
.sk-about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.sk-about-media { position: relative; height: clamp(380px, 40vw, 540px); }
.sk-about-img { position: absolute; object-fit: cover; border-radius: 28px; box-shadow: var(--fx-shadow-lg); }
.sk-a1 { left: 0; top: 0; width: 72%; height: 82%; }
.sk-a2 { right: 0; bottom: 0; width: 50%; height: 52%; border: 8px solid var(--fx-bg); }
.sk-about-badge { position: absolute; left: 6%; bottom: 4%; padding: 18px 22px; border-radius: 20px; background: var(--fx-text); color: var(--fx-bg); box-shadow: var(--fx-shadow-lg); }
.sk-about-badge strong { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.sk-about-badge span { font-size: .82rem; opacity: .8; }
.sk-about-text h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin-bottom: 18px; }
.sk-steps-wrap { padding-top: 0; }
.sk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sk-steps li { position: relative; padding: 34px 30px; border-radius: 26px; border: 1px solid var(--fx-line); background: var(--fx-surface); }
.sk-step-num { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--sk-grad); color: #fff; font-weight: 800; font-size: 1.05rem; margin-bottom: 22px; box-shadow: 0 12px 26px color-mix(in srgb, var(--fx-primary) 30%, transparent); }
.sk-steps h3 { font-size: 1.3rem; font-weight: 800; }
.sk-steps p { margin: 10px 0 0; color: var(--fx-muted); line-height: 1.7; }

/* Services */
.sk-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.sk-service { padding: 30px; border-radius: 26px; background: var(--fx-tint); transition: transform .3s, box-shadow .3s, background .3s; }
.sk-service:hover { transform: translateY(-4px); background: var(--fx-surface); box-shadow: var(--fx-shadow-lg); }
.sk-service-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--fx-surface); color: var(--fx-ink); margin-bottom: 20px; box-shadow: 0 6px 16px rgba(17, 24, 58, .06); }
.sk-service h3 { font-size: 1.2rem; font-weight: 800; }
.sk-service p { margin: 8px 0 0; color: var(--fx-muted); line-height: 1.7; }

/* Team */
.sk-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sk-team.is-few { grid-template-columns: repeat(auto-fit, minmax(0, 320px)); justify-content: center; }
.sk-person { border-radius: 26px; overflow: hidden; background: var(--fx-tint); }
.sk-person-photo { display: grid; place-items: center; aspect-ratio: 1; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--fx-primary) 22%, #fff), var(--fx-tint)); overflow: hidden; }
.sk-person-photo .sk-person-img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.sk-person:hover .sk-person-img { transform: scale(1.05); }
.sk-person-photo .avatar-fallback { width: 116px; height: 116px; border-radius: 34px; display: grid; place-items: center; background: var(--sk-grad); color: #fff; font-size: 2.4rem; font-weight: 800; }
.sk-person-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 2px; }
.sk-person-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.sk-person-body > span { color: var(--fx-muted); font-size: .88rem; }
.sk-person-links { display: flex; gap: 8px; margin-top: 12px; }
.sk-person-links a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--fx-surface); color: var(--fx-text); transition: background .2s, color .2s; }
.sk-person-links a:hover { background: var(--fx-text); color: #fff; }
.sk-person-links .icon { width: 17px; height: 17px; }

/* Quotes */
.sk-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.sk-quote { margin: 0; padding: 32px; border-radius: 26px; border: 1px solid var(--fx-line); background: var(--fx-surface); display: flex; flex-direction: column; }
.sk-quote-mark { font-size: 4.2rem; line-height: .6; font-weight: 800; height: 34px; background: var(--sk-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.sk-quote blockquote { margin: 14px 0 24px; font-size: 1.08rem; line-height: 1.7; color: var(--fx-text); }
.sk-quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .92rem; }
.sk-quote figcaption span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--sk-grad); color: #fff; font-weight: 800; }

/* Call to action with the form */
.sk-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(34px, 5vw, 64px); border-radius: 34px; color: #fff;
    background: radial-gradient(700px 400px at 100% 0%, color-mix(in srgb, var(--fx-accent) 55%, transparent), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--fx-primary) 85%, #0b0f1a) 0%, #0b0f1a 100%); }
.sk-cta .sk-eyebrow { color: rgba(255, 255, 255, .85); }
.fx .sk-cta h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.02; }
.sk-cta-copy p { margin: 16px 0 28px; color: rgba(255, 255, 255, .8); font-size: 1.06rem; line-height: 1.7; max-width: 44ch; }
.sk-cta-lines { display: flex; flex-direction: column; gap: 12px; }
.sk-cta-lines a, .sk-cta-lines span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.sk-cta-lines .icon { color: #fff; opacity: .8; }
.sk-cta-form { background: var(--fx-surface); color: var(--fx-text); border-radius: 24px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }

/* Skyline inner pages */
.fx-skyline .fx-page-head { background: radial-gradient(800px 260px at 85% 0%, color-mix(in srgb, var(--fx-primary) 12%, transparent), transparent), var(--fx-tint); border-bottom: 0; }
.fx-skyline .fx-page-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.045em; }
.fx-skyline .fx-eyebrow { letter-spacing: .02em; text-transform: none; font-size: .82rem; color: var(--fx-ink); }
.fx-skyline .fx-card { border-radius: 24px; }
.fx-skyline .fx-card-price { font-weight: 800; letter-spacing: -0.03em; }
.fx-skyline .fx-card-specs { border-top: 0; padding-top: 6px; }
.fx-skyline .fx-card-specs span { padding: 5px 10px; border-radius: 999px; background: var(--fx-tint); }
.fx-skyline .fx-tag { border-radius: 999px; }
.fx-skyline .fx-filters { border-radius: 22px; }
.fx-skyline .fx-band { background: linear-gradient(135deg, color-mix(in srgb, var(--fx-primary) 85%, #0b0f1a), #0b0f1a); }
.fx-skyline .fx-footer { background: #0b0f1a; }
.fx-skyline .fx-agent { border-radius: 24px; border: 0; background: var(--fx-tint); }
.fx-skyline .fx-steps li::before { border-radius: 16px; background: var(--sk-grad); }

@media (max-width: 1100px) {
    .sk-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sk-home.is-big { grid-column: span 2; grid-row: auto; min-height: 440px; }
    .sk-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .sk-hero-inner, .sk-about, .sk-cta { grid-template-columns: 1fr; }
    .sk-hero-inner { min-height: 0; }
    .sk-mosaic { height: 420px; }
    .sk-chip-price { left: 10px; }
    .sk-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sk-sold-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sk-steps { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .fx .sk-hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
    .fx-skyline .sk-hero .fx-search-fields { grid-template-columns: 1fr 1fr; }
    .fx-skyline .sk-hero .fx-search-go span { display: inline; }
    .sk-mosaic { height: 340px; }
    .sk-m1 { width: 64%; }
    .sk-chip-agent { display: none; }
    .sk-bento { grid-template-columns: 1fr; }
    .sk-home.is-big { grid-column: auto; min-height: 400px; }
    .sk-areas { grid-template-columns: 1fr 1fr; gap: 12px; }
    .sk-area { aspect-ratio: 1; border-radius: 20px; }
    .sk-area-body strong { font-size: 1.1rem; }
    .sk-area-go { display: none; }
    .sk-team { grid-template-columns: 1fr 1fr; gap: 12px; }
    .sk-cta { border-radius: 26px; }
}

/* ==========================================================================
   Terra: warm lifestyle. Sand, terracotta and olive, Fraunces, soft round shapes.
   ========================================================================== */
.fx-terra {
    --fx-bg: #f7f1e8; --fx-surface: #fffaf3; --fx-tint: #efe5d5; --fx-text: #2d241c; --fx-muted: #74685a; --fx-line: #e5d8c4;
    --fx-radius: 22px; --fx-radius-lg: 32px; --fx-btn-radius: 999px; --fx-head-weight: 400; --fx-head-track: -0.02em; --fx-card-ratio: 4 / 5;
    --fx-shadow: 0 16px 40px rgba(80, 50, 20, .08); --fx-shadow-lg: 0 28px 60px rgba(80, 50, 20, .14); --fx-eyebrow-colour: var(--fx-ink);
    --tr-wrap: 1280px;
}
.fx-terra h1, .fx-terra h2 { font-weight: 400; }
.fx-terra h1 em, .fx-terra h2 em { font-style: italic; color: var(--fx-ink); }
/* The banner sits in a rounded frame below a solid header. */
.fx-terra.fx-over-hero .fx-header { margin-bottom: 0; background: color-mix(in srgb, var(--fx-bg) 92%, transparent); border-color: transparent; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.fx-terra.fx-over-hero:not(.fx-scrolled):not(.fx-menu-open) .fx-header .fx-nav a:not(.fx-nav-cta),
.fx-terra.fx-over-hero:not(.fx-scrolled):not(.fx-menu-open) .fx-header .fx-brand-name,
.fx-terra.fx-over-hero:not(.fx-scrolled):not(.fx-menu-open) .fx-header .fx-header-phone,
.fx-terra.fx-over-hero:not(.fx-scrolled):not(.fx-menu-open) .fx-header .fx-theme-toggle,
.fx-terra.fx-over-hero:not(.fx-scrolled):not(.fx-menu-open) .fx-header .fx-menu-btn { color: var(--fx-text); }
.fx-terra .fx-header-inner { max-width: var(--tr-wrap); }
.fx-terra .fx-brand-name { font-size: 1.5rem; }
.fx-terra .fx-nav a { font-weight: 500; }
.fx-terra .fx-btn { font-weight: 600; }
.tr-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fx-accent); margin-bottom: 14px; }
.tr-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--fx-primary); }
.tr-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--fx-text); padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--fx-line); transition: background .25s, border-color .25s; }
.tr-link:hover { background: var(--fx-surface); border-color: var(--fx-text); }
.tr-section { max-width: var(--tr-wrap); margin: 0 auto; padding: clamp(60px, 8vw, 110px) var(--fx-pad); }
.tr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.tr-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.06; }
.tr-head-center { flex-direction: column; align-items: center; text-align: center; }
.tr-center { display: flex; justify-content: center; margin-top: 36px; }
.tr-prose { color: var(--fx-muted); font-size: 1.06rem; line-height: 1.85; }

/* Banner */
.tr-hero { padding: 6px clamp(10px, 1.6vw, 22px) 0; }
.tr-hero-frame { position: relative; height: min(84vh, 780px); min-height: 520px; border-radius: clamp(24px, 3vw, 40px); overflow: hidden; background: #3a2a1d; }
.tr-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.1); transition: opacity 1.8s ease, transform 9s ease-out; }
.tr-slide.is-active { opacity: 1; transform: scale(1); }
.tr-hero-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 22, 8, calc(var(--fx-overlay) * .5)) 0%, rgba(40, 22, 8, calc(var(--fx-overlay) * .2)) 40%, rgba(40, 22, 8, calc(var(--fx-overlay) + .3)) 100%); }
.tr-hero-inner { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; max-width: var(--tr-wrap); margin: 0 auto; padding: 0 clamp(24px, 5vw, 64px) clamp(120px, 14vw, 150px); color: #fff; }
.tr-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(30, 18, 8, .35); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .86rem; font-weight: 500; margin-bottom: 22px; color: #fff; }
.tr-kicker .icon { width: 15px; height: 15px; color: #ffb48a; }
.fx .tr-hero h1 { color: #fff; font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .98; max-width: 13ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .2); }
.fx .tr-hero h1 em { color: #ffc9a3; display: block; }
.tr-hero-sub { margin: 20px 0 0; max-width: 500px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .9); line-height: 1.6; }
.tr-badge { position: absolute; z-index: 2; top: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); width: clamp(110px, 11vw, 150px); height: auto; animation: tr-spin 26s linear infinite; }
.tr-badge text { fill: #fff; font-family: var(--fx-body); font-size: 14px; font-weight: 600; letter-spacing: 2px; }
@keyframes tr-spin { to { transform: rotate(360deg); } }
.tr-hero-search { position: relative; z-index: 5; max-width: 1000px; margin: -98px auto 0; padding: 0 var(--fx-pad); }
.fx-terra .tr-hero .fx-search { max-width: none; }
.fx-terra .tr-hero .fx-search-tabs { margin-left: 18px; background: rgba(255, 250, 243, .2); border: 1px solid rgba(255, 255, 255, .25); }
.fx-terra .tr-hero .fx-search-tabs input:checked + span { background: var(--fx-surface); color: var(--fx-text); }
.fx-terra .tr-hero .fx-search-fields { border-radius: 999px; padding: 10px 10px 10px 20px; background: var(--fx-surface); box-shadow: 0 26px 60px rgba(60, 35, 10, .2); }
.fx-terra .tr-hero .fx-search-go { border-radius: 999px; padding: 0 30px; }

/* Ticker */
.tr-ticker { margin-top: clamp(40px, 6vw, 70px); overflow: hidden; border-top: 1px solid var(--fx-line); border-bottom: 1px solid var(--fx-line); padding: 22px 0; }
.tr-ticker-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: tr-marquee 50s linear infinite; }
.tr-ticker span { font-family: var(--fx-head); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.9rem); color: var(--fx-text); white-space: nowrap; }
.tr-ticker i { font-style: normal; color: var(--fx-primary); font-size: 1.2rem; }
@keyframes tr-marquee { to { transform: translateX(-50%); } }

/* Homes: a staggered grid */
.tr-homes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 30px; padding-bottom: 70px; }
.tr-home:nth-child(3n+2) { transform: translateY(70px); }
.fx-anim .tr-home:nth-child(3n+2)[data-reveal] { transform: translateY(98px); }
.fx-anim .tr-home:nth-child(3n+2)[data-reveal].is-in { transform: translateY(70px); }
.tr-home { display: flex; flex-direction: column; gap: 14px; }
.tr-home-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; background: var(--fx-tint); }
.tr-home-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.tr-home:hover .tr-home-img img { transform: scale(1.06); }
.tr-home-price { position: absolute; left: 14px; bottom: 14px; padding: 10px 16px; border-radius: 999px; background: var(--fx-surface); color: var(--fx-text); font-weight: 700; font-size: 1rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }
.tr-home-tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--fx-primary); color: var(--fx-on-primary); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tr-home-body { padding: 0 6px; display: flex; flex-direction: column; gap: 4px; }
.tr-home-body strong { font-family: var(--fx-head); font-weight: 500; font-size: 1.3rem; line-height: 1.25; }
.tr-home-body > span { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--fx-muted); font-size: .9rem; }
.tr-home-body .icon { width: 15px; height: 15px; color: var(--fx-primary); }

/* Sold: round photos */
.tr-sold { padding-top: 0; }
.tr-sold-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; text-align: center; }
.tr-sold-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tr-sold-img { display: block; width: min(100%, 220px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--fx-tint); border: 6px solid var(--fx-surface); box-shadow: var(--fx-shadow); }
.tr-sold-img img { width: 100%; height: 100%; object-fit: cover; }
.tr-sold-label { margin-top: -26px; position: relative; padding: 6px 14px; border-radius: 999px; background: var(--fx-accent); color: var(--fx-on-accent); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tr-sold-item strong { font-family: var(--fx-head); font-weight: 500; font-size: 1.05rem; line-height: 1.3; }

/* Numbers band */
.tr-stats { padding: 0 clamp(10px, 1.6vw, 22px); }
.tr-stats-inner { max-width: calc(var(--tr-wrap) + 40px); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-radius: clamp(24px, 3vw, 40px); background: var(--fx-accent); color: var(--fx-on-accent); overflow: hidden; }
.tr-stat { padding: clamp(40px, 5vw, 64px) 24px; text-align: center; }
.tr-stat + .tr-stat { border-left: 1px solid color-mix(in srgb, var(--fx-on-accent) 18%, transparent); }
.tr-stat strong { display: block; font-family: var(--fx-head); font-weight: 400; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; }
.tr-stat span { display: block; margin-top: 12px; font-size: .92rem; opacity: .85; }

/* Life in the area */
.tr-story { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.tr-story-media { position: relative; }
.tr-story-img { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 999px 999px 32px 32px; overflow: hidden; background: var(--fx-tint); }
.tr-story-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; }
.tr-story-img2 { position: absolute; z-index: 2; right: -6%; bottom: -6%; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--fx-bg); box-shadow: var(--fx-shadow-lg); }
.tr-story-img2 img { width: 100%; height: 100%; object-fit: cover; }
.tr-blob { position: absolute; z-index: 0; left: -10%; top: 10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: var(--fx-primary); opacity: .16; filter: blur(50px); }
.tr-story-text h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.05; margin-bottom: 20px; }
.tr-area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tr-area-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 9px 9px 16px; border-radius: 999px; background: var(--fx-surface); border: 1px solid var(--fx-line); font-weight: 600; font-size: .9rem; transition: border-color .2s; }
.tr-area-chips a:hover { border-color: var(--fx-primary); }
.tr-area-chips em { font-style: normal; min-width: 26px; padding: 2px 8px; border-radius: 999px; background: var(--fx-tint); font-size: .78rem; text-align: center; }

/* Selling panel */
.tr-sell-wrap { padding-top: 0; }
.tr-sell { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: clamp(36px, 5vw, 64px); border-radius: clamp(24px, 3vw, 40px); background: var(--fx-primary); color: var(--fx-on-primary); position: relative; overflow: hidden; }
.tr-sell::after { content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.tr-sell > * { position: relative; z-index: 1; }
.tr-sell .tr-eyebrow { color: var(--fx-on-primary); opacity: .85; }
.tr-sell .tr-eyebrow::before { background: var(--fx-on-primary); }
.fx .tr-sell h2 { color: var(--fx-on-primary); font-size: clamp(2rem, 3.8vw, 3.1rem); max-width: 18ch; line-height: 1.08; }
.fx .tr-sell h2 em { color: inherit; }
.tr-sell p { margin: 14px 0 0; max-width: 46ch; opacity: .88; line-height: 1.7; }

/* Services */
.tr-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.tr-service { padding: 32px; border-radius: 30px; background: var(--fx-surface); border: 1px solid var(--fx-line); transition: transform .3s, box-shadow .3s; }
.tr-service:hover { transform: translateY(-4px); box-shadow: var(--fx-shadow-lg); }
.tr-service-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: color-mix(in srgb, var(--fx-primary) 14%, var(--fx-surface)); color: var(--fx-ink); margin-bottom: 20px; }
.tr-service h3 { font-size: 1.35rem; font-weight: 500; }
.tr-service p { margin: 10px 0 0; color: var(--fx-muted); line-height: 1.75; }

/* Team: round portraits */
.tr-team { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 4vw, 56px); }
.tr-person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; width: 220px; }
.tr-person-photo { display: grid; place-items: center; width: 200px; height: 200px; border-radius: 50%; overflow: hidden; margin-bottom: 16px; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--fx-primary) 30%, var(--fx-surface)), var(--fx-tint)); box-shadow: 0 0 0 8px var(--fx-surface), 0 0 0 9px var(--fx-line); transition: box-shadow .3s; }
.tr-person:hover .tr-person-photo { box-shadow: 0 0 0 8px var(--fx-surface), 0 0 0 10px var(--fx-primary); }
.tr-person-photo .tr-person-img { width: 100%; height: 100%; object-fit: cover; }
.tr-person-photo .avatar-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: transparent; color: var(--fx-text); font-family: var(--fx-head); font-size: 3rem; font-style: italic; }
.tr-person strong { font-family: var(--fx-head); font-weight: 500; font-size: 1.3rem; }
.tr-person > span:last-child { color: var(--fx-muted); font-size: .9rem; }

/* Quotes */
.tr-quotes { position: relative; max-width: 980px; margin: 0 auto; padding: clamp(44px, 6vw, 80px) clamp(24px, 5vw, 80px); border-radius: clamp(24px, 3vw, 40px); background: var(--fx-tint); text-align: center; }
.tr-quote-mark { display: block; font-family: var(--fx-head); font-size: 7rem; line-height: .5; height: 50px; color: var(--fx-primary); }
.tr-quote-stage { display: grid; margin-top: 20px; }
.tr-quote-slide { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(10px); transition: opacity .9s ease, transform .9s ease; pointer-events: none; }
.tr-quote-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.tr-quote-slide blockquote { margin: 0; font-family: var(--fx-head); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.4; color: var(--fx-text); }
.tr-quote-slide figcaption { margin-top: 24px; font-weight: 600; color: var(--fx-muted); }
.tr-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.fx .tr-dot { width: 10px; height: 10px; border-radius: 50%; }
.fx .tr-dot.is-active { width: 30px; border-radius: 999px; background: var(--fx-primary); }

/* Contact */
.tr-contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 70px); padding: clamp(30px, 5vw, 60px); border-radius: clamp(24px, 3vw, 40px); background: var(--fx-surface); border: 1px solid var(--fx-line); box-shadow: var(--fx-shadow); }
.tr-contact h2 { font-size: clamp(2.2rem, 4vw, 3.3rem); }
.tr-contact-intro p { margin: 16px 0 26px; color: var(--fx-muted); line-height: 1.75; max-width: 42ch; }
.tr-contact-line { display: flex; align-items: center; gap: 14px; padding: 10px 0; font-weight: 600; }
.tr-contact-line span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, var(--fx-primary) 13%, var(--fx-surface)); color: var(--fx-ink); flex-shrink: 0; }
.fx-terra .fx-field input, .fx-terra .fx-field select, .fx-terra .fx-field textarea { border-radius: 16px; background: var(--fx-bg); border-color: transparent; }
.fx-terra .fx-field input:focus, .fx-terra .fx-field textarea:focus { border-color: var(--fx-primary); }

/* Terra inner pages */
.fx-terra .fx-page-head { background: var(--fx-tint); border-bottom: 0; margin: 0 clamp(10px, 1.6vw, 22px); border-radius: 0 0 clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px); }
.fx-terra .fx-page-head h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.fx-terra .fx-eyebrow { color: var(--fx-accent); letter-spacing: .12em; }
.fx-terra .fx-card { border-radius: 28px; border: 0; background: transparent; }
.fx-terra .fx-card:hover { box-shadow: none; }
.fx-terra .fx-card-img { border-radius: 28px; }
.fx-terra .fx-card-body { padding: 14px 6px 6px; }
.fx-terra .fx-card-price { font-weight: 500; }
.fx-terra .fx-card-specs { border-top: 0; padding-top: 4px; }
.fx-terra .fx-tag { background: var(--fx-primary); color: var(--fx-on-primary); }
.fx-terra .fx-band { margin: 0 clamp(10px, 1.6vw, 22px); border-radius: clamp(24px, 3vw, 40px); }
.fx-terra .fx-footer { background: #2a1f17; color: #cdbfae; border-radius: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0 0; }
.fx-terra .fx-footer h4 { color: #ffc9a3; }
.fx-terra .fx-agent { border: 0; border-radius: 28px; }
.fx-terra .fx-agent-photo { border-radius: 28px 28px 0 0; }

@media (max-width: 1100px) {
    .tr-homes { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; }
    .tr-home:nth-child(3n+2), .fx-anim .tr-home:nth-child(3n+2)[data-reveal].is-in { transform: none; }
    .fx-anim .tr-home:nth-child(3n+2)[data-reveal] { transform: translate3d(0, 28px, 0); }
}
@media (max-width: 960px) {
    .tr-story, .tr-contact { grid-template-columns: 1fr; }
    .tr-story-media { max-width: 460px; }
    .tr-sold-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tr-stat + .tr-stat { border-left: 0; }
}
@media (max-width: 680px) {
    .tr-hero-frame { height: 78vh; min-height: 480px; }
    .tr-hero-inner { padding-bottom: 150px; }
    .tr-badge { width: 92px; }
    .tr-hero-search { margin-top: -132px; }
    .fx-terra .tr-hero .fx-search-tabs { margin-left: 0; }
    .fx-terra .tr-hero .fx-search-fields { border-radius: 26px; padding: 8px; }
    .tr-homes { grid-template-columns: 1fr; }
    .tr-stats-inner { grid-template-columns: 1fr 1fr; }
    .tr-person { width: 150px; }
    .tr-person-photo { width: 140px; height: 140px; }
}

/* Phones: long agency names stay on one line in the header */
@media (max-width: 680px) {
    .fx-sig .fx-brand-name { font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100vw - 110px); display: block; }
}

/* The small heading in the selling band stays readable on its dark background. */
.fx-skyline .fx-band .fx-eyebrow, .fx-maison .fx-band .fx-eyebrow { color: rgba(255, 255, 255, .82); opacity: 1; }
.fx-terra .fx-band .fx-eyebrow { color: var(--fx-on-primary); opacity: .85; }

/* Terra photo "windows": the photo stays still while the page scrolls past (computers with a mouse only;
   phones and tablets scroll the photo normally, because they don't support fixed backgrounds well). */
.tr-window { position: relative; margin: clamp(30px, 5vw, 60px) clamp(10px, 1.6vw, 22px) clamp(40px, 6vw, 80px); min-height: min(76vh, 680px); display: flex; align-items: center; justify-content: center; text-align: center;
    border-radius: clamp(24px, 3vw, 40px); overflow: hidden; background-color: #3a2a1d; background-size: cover; background-position: center; color: #fff; }
.tr-window::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(40, 22, 8, .35) 0%, rgba(40, 22, 8, .62) 100%); }
.tr-window-inner { position: relative; z-index: 1; max-width: 760px; padding: 70px var(--fx-pad); }
.tr-window-kicker { display: inline-block; padding: 8px 18px; border-radius: 999px; background: rgba(255, 250, 243, .16); border: 1px solid rgba(255, 255, 255, .35); font-size: .84rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; }
.fx .tr-window h2 { color: #fff; font-style: italic; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.tr-window p { margin: 18px 0 30px; font-size: 1.1rem; color: rgba(255, 255, 255, .9); }
.tr-window p:empty { display: none; }
.tr-sell.has-photo { background: linear-gradient(115deg, color-mix(in srgb, var(--fx-primary) 94%, transparent) 0%, color-mix(in srgb, var(--fx-primary) 78%, transparent) 55%, color-mix(in srgb, var(--fx-primary) 45%, transparent) 100%), var(--tr-sell-img) center / cover; min-height: 360px; }
@media (hover: hover) and (pointer: fine) and (min-width: 961px) {
    .tr-window, .tr-slide { background-attachment: fixed; }
    .tr-sell.has-photo { background-attachment: scroll, fixed; }
    /* A fixed background can't zoom: the banner photos just crossfade. */
    .tr-slide, .tr-slide.is-active { transform: none; transition: opacity 1.8s ease; }
}
