:root{--rf-public-header-height:65px}html{scroll-padding-top:calc(var(--rf-public-header-height) + 18px)}html body{padding-top:var(--rf-public-header-height)}html body #rf-universal-header{position:fixed;inset:0 0 auto;height:65px;box-sizing:border-box;z-index:1000;background:#111b39;color:#fff;box-shadow:0 1px 0 #ffffff12;font:400 14px/1.4 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;isolation:isolate;margin:0;padding:0;border:0}#rf-universal-header *{box-sizing:border-box}#rf-universal-header .uh-inner{display:flex;align-items:center;gap:22px;height:100%;max-width:1480px;margin:auto;padding:0 24px}#rf-universal-header .uh-brand{flex:none;display:flex;align-items:center;text-decoration:none}html body #rf-universal-header .rf-brand-logo{height:48px!important;width:auto;display:block;mix-blend-mode:lighten;max-width:none}#rf-universal-header .uh-nav{display:flex;align-items:center;gap:24px;white-space:nowrap;margin:0 auto;padding:0;background:transparent}#rf-universal-header .uh-nav>a{color:#f5f7ff;text-decoration:none;font-size:14px;font-weight:500;padding:12px 0;border:0;background:none}#rf-universal-header .uh-search{display:flex;align-items:center;gap:9px;min-width:170px;width:320px;flex:0 1 320px;margin:0;padding:0 12px;background:#fff;border:1px solid #e3e8f1;border-radius:10px;height:42px}#rf-universal-header .uh-search button{display:grid;place-items:center;flex:none;min-height:0;padding:0;border:0;background:transparent;color:#64748b;width:18px;box-shadow:none}#rf-universal-header .uh-search input{min-width:0;width:100%;margin:0;padding:0;height:40px;border:0;background:transparent;box-shadow:none;color:#334155;outline:none;font:400 13px/1.4 inherit;font-family:inherit}#rf-universal-header .uh-search:focus-within{box-shadow:0 0 0 3px #ffffff24}#rf-universal-header .uh-control{display:grid;place-items:center;flex:none;width:40px;height:40px;min-height:40px;padding:0;border:0;border-radius:10px;background:#ffffff0d;color:#fff;cursor:pointer;font:inherit;box-shadow:none}#rf-universal-header .uh-language{display:flex;align-items:center;justify-content:center;position:relative;gap:3px;flex:none;width:42px;height:40px;border-radius:10px;background:#ffffff0d;margin:0;color:#fff}#rf-universal-header .uh-language select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0}#rf-universal-header .uh-language option{background:#fff;color:#334155}#rf-universal-header .uh-account-wrap{position:relative;flex:none}#rf-universal-header [data-get-started]{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 15px;border-radius:10px;background:#ffffff16;color:#fff;font-size:13px;text-decoration:none;white-space:nowrap}#rf-universal-header [hidden]{display:none!important}#rf-universal-header .uh-account-menu{position:absolute;right:0;top:52px;width:270px;max-height:calc(100dvh - 90px);overflow:auto;padding:10px;border:1px solid #e3e9f3;border-radius:17px;background:#fff;box-shadow:0 18px 55px #0f172a26;color:#334155}#rf-universal-header .uh-account-menu>a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:9px;color:#435674;text-decoration:none;font-size:13px;font-weight:400}#rf-universal-header .uh-account-menu>a:hover,#rf-universal-header .uh-account-menu>a:focus-visible{background:#f0f4ff;color:#4259ac}#rf-universal-header .uh-account-menu svg{width:18px;height:18px;flex:none;color:#7b8db0}#rf-universal-header .uh-account-menu hr{margin:8px 10px;border:0;border-top:1px solid #edf0f6}#rf-universal-header [data-navigation-toggle]{display:none}#rf-universal-header :is(button,a,select):focus-visible{outline:2px solid #94a9ec;outline-offset:3px}@media(max-width:1190px){#rf-universal-header .uh-inner{gap:14px}#rf-universal-header .uh-nav{gap:14px}#rf-universal-header .uh-search{width:240px;flex-basis:240px}}@media(max-width:1190px){#rf-universal-header [data-navigation-toggle]{display:grid}#rf-universal-header .uh-nav{display:none}#rf-universal-header .uh-search{margin-left:auto;width:360px;flex-basis:360px}#rf-universal-header .uh-nav.is-open{display:flex;position:absolute;top:65px;left:12px;right:12px;flex-wrap:wrap;gap:8px 22px;padding:18px 22px;background:#17233f;border:1px solid #ffffff12;border-radius:14px;box-shadow:0 18px 35px #0f172a30}}@media(max-width:640px){:root{--rf-public-header-height:117px}html body #rf-universal-header{height:117px}#rf-universal-header .uh-inner{display:grid;grid-template-columns:32px 1fr 40px auto;grid-template-rows:48px 42px;gap:7px 10px;padding:6px 16px 14px}#rf-universal-header .uh-brand{grid-column:2;grid-row:1}html body #rf-universal-header .rf-brand-logo{height:42px!important}#rf-universal-header [data-navigation-toggle]{grid-column:1;grid-row:1;width:32px}#rf-universal-header .uh-language{grid-column:3;grid-row:1;width:36px}#rf-universal-header .uh-account-wrap{grid-column:4;grid-row:1}#rf-universal-header .uh-search{grid-column:1/-1;grid-row:2;width:100%;margin:0}#rf-universal-header .uh-nav.is-open{top:117px}#rf-universal-header .uh-account-menu{top:48px;right:0;max-height:calc(100dvh - 150px)}}

#rf-universal-header .uh-language-menu{position:absolute;right:0;top:50px;min-width:170px;padding:6px;border:1px solid #e3e9f3;border-radius:13px;background:#fff;box-shadow:0 18px 45px #0f172a26}#rf-universal-header .uh-language-menu button{display:block;width:100%;padding:11px 14px;border:0;border-radius:8px;background:#fff;color:#52647c;text-align:left;font:400 13px/1.4 ui-sans-serif,system-ui,sans-serif;cursor:pointer}#rf-universal-header .uh-language-menu [aria-checked=true]{background:#edf2ff;color:#465eaf}#rf-universal-header .uh-language-menu button:hover{background:#f2f5fa}
@media(max-width:360px){#rf-universal-header .uh-inner{padding-left:12px;padding-right:12px;column-gap:6px}#rf-universal-header [data-get-started]{font-size:12px;padding:8px 10px}}

/* Mobile navigation belongs in the thumb zone; desktop keeps its shared header. */
.uh-navigation-scrim{display:none}
@media(max-width:640px){
 :root{--rf-public-header-height:0px;--rf-mobile-nav-height:72px}
 html{scroll-padding-top:16px;scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom))}
 html body{padding-top:0;padding-bottom:calc(var(--rf-mobile-nav-height) + env(safe-area-inset-bottom) + 16px)}
 html body #rf-universal-header{top:auto;bottom:0;height:calc(var(--rf-mobile-nav-height) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:rgba(17,27,57,.96);backdrop-filter:blur(20px);border-top:1px solid #ffffff18;box-shadow:0 -6px 30px #14213a14}
 #rf-universal-header .uh-inner{display:grid;grid-template-columns:minmax(0,1fr) 40px 36px auto 40px;grid-template-rows:1fr;gap:8px;padding:12px 16px;height:72px}
 #rf-universal-header .uh-brand{grid-column:1;grid-row:1}
 html body #rf-universal-header .rf-brand-logo{height:30px!important}
 #rf-universal-header .uh-search{grid-column:2;grid-row:1;position:static;width:40px;height:44px;min-width:0;padding:0;border:0;background:transparent;justify-content:center}
 #rf-universal-header .uh-search input{display:none}
 #rf-universal-header .uh-search button{color:#fff;width:40px;height:44px}
 #rf-universal-header .uh-language{grid-column:3;grid-row:1}
 #rf-universal-header .uh-account-wrap{grid-column:4;grid-row:1}
 #rf-universal-header [data-navigation-toggle]{grid-column:5;grid-row:1;width:40px;height:44px}
 #rf-universal-header [data-get-started]{font-size:11px;padding:8px}
 #rf-universal-header .uh-account-menu{top:auto;bottom:60px;right:-48px;max-height:calc(100dvh - 120px);width:min(290px,calc(100vw - 24px))}
 #rf-universal-header .uh-language-menu{top:auto;bottom:60px;right:-88px}
 #rf-universal-header .uh-search.is-searching{position:absolute;left:16px;right:16px;bottom:calc(84px + env(safe-area-inset-bottom));width:auto;min-width:0;display:flex;flex-direction:row-reverse;justify-content:flex-start;background:#fff;padding:0 10px;border:1px solid #dce4f2;box-shadow:0 12px 40px #17233f24;border-radius:14px}
 #rf-universal-header .uh-search.is-searching input{display:block;flex:1;color:#334155;font-size:16px}
 #rf-universal-header .uh-search.is-searching button{color:#425780}
 #rf-universal-header .uh-nav.is-open{top:auto;bottom:calc(84px + env(safe-area-inset-bottom));left:12px;right:12px;display:flex;flex-direction:column-reverse;align-items:stretch;gap:4px;max-height:calc(100dvh - 130px);overflow:auto;padding:12px;background:rgba(249,251,255,.92);backdrop-filter:blur(24px);border:1px solid #ffffffb3;border-radius:22px;box-shadow:0 16px 50px #14213a30}
 #rf-universal-header .uh-nav.is-open>a{padding:15px 18px;color:#263755;border-radius:12px;text-align:left;font-size:16px;font-weight:500}
 #rf-universal-header .uh-nav.is-open>a:hover{background:#eaf0ff}

 .ethan-floating{bottom:calc(88px + env(safe-area-inset-bottom))!important}
}
@media(max-width:360px){#rf-universal-header .uh-inner{padding-inline:10px;gap:4px;grid-template-columns:minmax(0,1fr) 36px 34px auto 36px}html body #rf-universal-header .rf-brand-logo{height:26px!important}#rf-universal-header [data-navigation-toggle]{width:36px}}

@media(max-width:640px){#rf-universal-header .uh-inner{position:relative;z-index:2}}

@media(max-width:640px){body>.uh-navigation-scrim:not([hidden]){display:block;position:fixed;inset:0;z-index:999;width:100vw;height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#17233f40;backdrop-filter:blur(5px)}}

/* One shared navigation system; the mobile drawer follows Toni's glass treatment. */
#rf-universal-header .uh-nav-heading,#rf-universal-header .uh-nav>a>svg{display:none}
@media(max-width:1190px) and (min-width:641px){
 #rf-universal-header .uh-nav.is-open>a{display:flex;align-items:center;gap:10px}
 #rf-universal-header .uh-nav.is-open>a>svg{display:block;width:20px;height:20px;color:#bdcbf4}
}
@media(max-width:640px){
 html.uh-drawer-open,html.uh-drawer-open body{overflow:hidden;overscroll-behavior:none}
 html.uh-drawer-open .ethan-floating{visibility:hidden;pointer-events:none}
 #rf-universal-header .uh-nav.is-open{left:auto;right:0;bottom:calc(72px + env(safe-area-inset-bottom));width:min(320px,calc(100vw - 28px));height:calc(100dvh - 72px - env(safe-area-inset-bottom));max-height:none;display:flex;flex-direction:column;gap:0;padding:24px 18px 20px;border:0;border-left:1px solid #ffffff20;border-radius:24px 0 0 0;background:rgba(17,27,57,.93);color:#fff;box-shadow:-18px 0 55px #0b16382e;-webkit-backdrop-filter:blur(28px) saturate(1.4);backdrop-filter:blur(28px) saturate(1.4);animation:uh-drawer-enter .22s ease-out}
 #rf-universal-header .uh-nav-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;order:0;margin-bottom:auto;padding:4px 4px 24px}
 #rf-universal-header .uh-nav-heading small{display:block;font-size:10px;font-weight:500;letter-spacing:.18em;color:#b3c0df;margin-bottom:8px}
 #rf-universal-header .uh-nav-heading strong{display:block;font-size:24px;font-weight:500;letter-spacing:-.04em;color:#fff}
 #rf-universal-header .uh-nav-heading button{width:36px;height:36px;min-height:36px;border:1px solid #ffffff18;background:#ffffff08;border-radius:50%}
 #rf-universal-header .uh-nav-heading button svg{width:18px;height:18px}
 #rf-universal-header .uh-nav.is-open>a{display:flex;align-items:center;gap:14px;flex-shrink:0;min-height:60px;padding:16px 12px;border-radius:0;border-top:1px solid #ffffff14;color:#e7edff;font-size:15px;font-weight:400;letter-spacing:-.015em;white-space:normal;transition:background .15s ease,color .15s ease}
 #rf-universal-header .uh-nav.is-open>a>svg{display:block;flex:none;width:22px;height:22px;color:#aebfe9}
 #rf-universal-header .uh-nav.is-open>a[href^='/intelligence']{order:1}
 #rf-universal-header .uh-nav.is-open>a[href^='/buildings']{order:2}
 #rf-universal-header .uh-nav.is-open>a[href^='/new-developments']{order:3}
 #rf-universal-header .uh-nav.is-open>a[href^='/rent']{order:4;margin-top:14px}
 #rf-universal-header .uh-nav.is-open>a[href^='/buy']{order:5;margin-top:8px}
 #rf-universal-header .uh-nav.is-open>a:is([href^='/buy'],[href^='/rent']){border:1px solid #ffffff18;border-radius:13px;background:#ffffff0a;color:#fff}
 #rf-universal-header .uh-nav.is-open>a:hover,#rf-universal-header .uh-nav.is-open>a:focus-visible,#rf-universal-header .uh-nav.is-open>a[aria-current=page]{background:#ffffff14;color:#fff}
 #rf-universal-header [data-navigation-toggle][aria-expanded=true]{background:#ffffff1a}
 body>.uh-navigation-scrim:not([hidden]){background:#0b163866;backdrop-filter:blur(3px)}
}
@keyframes uh-drawer-enter{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:translateX(0)}}
@media(prefers-reduced-motion:reduce){#rf-universal-header .uh-nav.is-open{animation:none}}
