/* Current official navigation and footer, adapted to this transparent preview shell. */
.site-header{height:100px;max-width:1680px;margin:0 auto;padding:0 40px;border:0;gap:32px}.brand{width:240px}.desktop-nav{gap:28px}.desktop-nav a,.official-services summary{font-size:14px}.header-tools{gap:52px}.hero-content{height:calc(100% - 100px)}
.official-services summary{cursor:pointer;list-style:none;white-space:nowrap;padding:18px 0}.official-services summary::-webkit-details-marker{display:none}.official-services summary:after{content:'';display:inline-block;width:7px;height:7px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg);margin:0 0 3px 12px}.official-services[open] summary:after{transform:rotate(225deg);margin-bottom:0}
.yfg-services-menu{position:absolute;top:100%;left:0;width:100%;background:#f4f6f6;color:#192b3a;box-shadow:0 18px 26px #17243612;max-height:calc(100dvh - 100px);overflow:auto;text-align:left}.ysm-inner{max-width:1280px;margin:auto;padding:38px 48px 28px}.ysm-inner h2,.ysm-inner h3{font-family:YFGOptima,"YFG GenRyu Mincho",serif;font-weight:400;line-height:1.4;margin:0}.ysm-inner h2{font-size:30px;margin-bottom:28px}.ysm-groups{display:grid;grid-template-columns:1fr 1.8fr;gap:65px}.ysm-inner h3{font-size:20px;margin-bottom:12px;color:#935f40}.ysm-links{display:grid;grid-template-columns:1fr}.ysm-group:nth-child(2) .ysm-links{grid-template-columns:1fr 1fr;gap:0 35px}.desktop-nav .ysm-links a,.ysm-links a{color:#495861;font-size:16px;line-height:1.6;padding:9px 0;display:flex;justify-content:space-between;gap:14px;white-space:normal}.ysm-links a span{color:#935f40;opacity:0;transform:translateX(-4px);transition:opacity .3s,transform .3s}.ysm-links a:hover span,.ysm-links a:focus-visible span{opacity:1;transform:none}.desktop-nav .ysm-inner a:after{display:none}.ysm-bottom{border-top:1px solid #d4dcdf;margin-top:30px;padding-top:16px;display:flex;align-items:center;gap:36px;font-size:13px;color:#68747c}.ysm-bottom a{font-size:14px!important}.ysm-bottom a span{margin-left:20px}
.official-footer{position:relative;z-index:2;background:#fff;color:#172436;padding:80px 40px 28px;font-family:YFGOptima,YFGBody,"PingFang SC",sans-serif;font-weight:400}.footer-shell{max-width:1680px;margin:auto}.footer-top{display:grid;grid-template-columns:1fr .5fr .5fr;gap:36px}.footer-brand{display:flex;align-items:center;justify-content:center}.footer-brand img{display:block;width:340px;max-width:80%;height:auto}.footer-links{display:flex;flex-direction:column;align-items:start;gap:14px}.footer-links h4{font-family:YFGOptima,"YFG GenRyu Mincho",serif;font-size:24px;font-weight:400;margin:0 0 8px}.footer-links a{font-size:16px;line-height:1.6;color:#687078}.official-footer a:hover{color:#935f40}.footer-middle{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin-top:100px;align-items:start}.footer-social{display:flex;justify-content:center;gap:12px}.footer-social a{width:60px;height:60px;background:#935f40;display:grid;place-items:center}.footer-social svg{width:38px;height:38px;fill:white}.footer-social svg path{fill:white}.footer-news h2{font-family:YFGOptima,"YFG GenRyu Mincho",serif;font-size:36px;line-height:1.4}.footer-news p{font-size:16px;color:#687078;margin-top:10px}.newsletter-preview{display:flex;margin-top:28px}.newsletter-field{font:inherit;color:#172436;background:#f5f5f5;border:0;min-width:0;flex:1;padding:20px;font-size:16px;border-radius:0}.newsletter-submit{min-width:145px;background:#172436;color:white;padding:18px 25px;font-size:16px}.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:55px;font-size:12px;line-height:1.7;color:#7c8388}.footer-bottom>div{display:flex;gap:30px;flex-shrink:0}.official-services:focus-within{outline-offset:4px}
@media(max-width:1200px){.site-header{padding:0 28px;gap:22px}.brand{width:205px}.desktop-nav{gap:18px}.header-tools{gap:24px}.footer-news h2{font-size:31px}}
@media(max-width:1023px){.site-header{height:90px}.hero-content{height:calc(100% - 90px)}.mobile-nav:not([hidden]){top:90px;max-height:calc(100dvh - 106px);overflow:auto}.mobile-nav .yfg-services-menu{position:static;box-shadow:none;max-height:none;background:transparent}.mobile-nav .ysm-inner{padding:12px 0 20px}.mobile-nav .ysm-inner>h2{display:none}.mobile-nav .ysm-groups{grid-template-columns:1fr;gap:22px}.mobile-nav .ysm-group:nth-child(2) .ysm-links{grid-template-columns:1fr}.mobile-nav .ysm-inner a{font-size:14px;min-height:44px;border:0}.mobile-nav .ysm-inner h3{font-size:20px}.mobile-nav .ysm-bottom{flex-wrap:wrap;gap:20px}.mobile-nav .ysm-bottom>span{display:none}.mobile-nav .ysm-links a span{opacity:1}.footer-top{grid-template-columns:.85fr 1fr 1fr;gap:24px}.footer-links a{font-size:14px}.footer-brand img{max-width:100%}.footer-middle{grid-template-columns:.85fr 2fr;gap:24px}.footer-social a{width:44px;height:44px}.footer-social svg{width:30px;height:30px}}
@media(max-width:700px){.site-header{height:82px;padding:0 20px;gap:12px}.brand{width:174px}.header-tools{gap:14px}.mobile-nav:not([hidden]){top:82px}.hero-content{height:auto}.official-footer{padding:54px 25px 24px}.footer-top{grid-template-columns:1fr 1fr;gap:32px 22px}.footer-brand{grid-column:1/-1;justify-content:flex-start;margin-bottom:10px}.footer-brand img{width:220px}.footer-links h4{font-size:22px}.footer-links{gap:12px}.footer-links a{font-size:14px}.footer-middle{display:flex;flex-direction:column;margin-top:45px;gap:34px}.footer-social{justify-content:flex-start}.footer-news{width:100%}.footer-news h2{font-size:28px}.footer-news p{font-size:14px}.newsletter-field{font-size:14px;padding:16px}.newsletter-submit{min-width:80px;font-size:14px;padding:16px}.footer-bottom{flex-direction:column;align-items:flex-start;margin-top:35px;gap:18px;font-size:11px}}

.newsletter-submit{text-align:center}.newsletter-preview:hover .newsletter-submit{background:#935f40}.newsletter-field{display:block}.newsletter-submit{display:block;transition:background .25s}
/* Match the live site's shell ordering and measured mobile spacing. */
.official-footer{font-family:YFGOptima,"YFG Source Han Sans SC","PingFang SC",sans-serif}
.footer-shell{display:grid;grid-template-columns:1fr 1fr;column-gap:36px}
.footer-brand{grid-column:1;grid-row:1}
.footer-top{grid-column:2;grid-row:1;grid-template-columns:1fr 1fr}
.footer-middle{grid-column:1/-1;grid-row:2}.footer-bottom{grid-column:1/-1;grid-row:3}
.mobile-language summary{cursor:pointer;list-style:none}.mobile-language summary::-webkit-details-marker{display:none}
.mobile-language summary:after{content:'';display:inline-block;width:7px;height:7px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg);margin:0 0 3px 12px}
.mobile-language>div{display:flex;gap:24px;padding-bottom:16px}
@media(max-width:1023px){
 .header-tools>.language,.header-tools>.phone{display:none}
 .site-header{height:60px;margin:0 auto;padding:0 20px;gap:16px}.brand{width:180px}
 .menu-toggle{width:44px;height:44px;gap:6px}.menu-toggle span{width:24px;height:2px}
 .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(8px) rotate(45deg)}
 .menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
 .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-8px) rotate(-45deg)}
 .mobile-nav:not([hidden]){top:60px;left:0;right:0;padding:0 20px;background:white;backdrop-filter:none;max-height:calc(100dvh - 60px);gap:0}
 .mobile-nav>a,.mobile-nav>.official-services>summary,.mobile-language>summary{display:flex;align-items:center;min-height:64px;padding:20px 0;border:0;font-size:16px;line-height:24px}
 .mobile-language>summary{display:block}.mobile-language>div>a{padding:8px 0}
}
@media(max-width:700px){
 .hero-content{min-height:calc(100svh - 60px)}
 .official-footer{padding:42px 20px 28px}
 .footer-shell{display:flex;flex-direction:column;gap:0}
 .footer-top{order:0;display:grid;grid-template-columns:minmax(0,1.683fr) minmax(0,1fr);gap:20px}
 .footer-links{gap:10px;padding:18px 0 28px;min-width:0}
 .footer-links h4{font-size:18px;line-height:1.35;margin:0;font-weight:400}
 .footer-links a{font-size:14px;line-height:1.45}
 .footer-middle{order:1;display:flex;flex-direction:column;align-items:stretch;gap:24px;margin:0;padding:30px 0 26px}
 .footer-social{justify-content:center;gap:10px}
 .footer-social a{width:46px;height:46px;border-radius:2px}.footer-social svg{width:30px;height:30px}
 .footer-news{text-align:center}.footer-news h2{font-size:7.2vw;line-height:1.22;margin:0 0 6px;font-weight:400}
 .footer-news p{font-size:15px;line-height:1.55;margin:0}
 .newsletter-preview{margin-top:20px;height:50px;text-align:left}
 .newsletter-field{font-size:14px;line-height:50px;padding:0 14px;color:#5a6472}
 .newsletter-submit{font-size:14px;line-height:50px;width:112px;min-width:112px;padding:0 18px}
 .footer-brand{order:2;justify-content:center;margin:0;padding:18px 0 24px}
 .footer-brand img{width:220px;max-width:100%;height:auto}
 .footer-bottom{order:3;display:flex;flex-direction:column;align-items:stretch;gap:14px;margin:0;font-size:12px;line-height:1.55}
 .footer-bottom p{text-align:center;margin:0}.footer-bottom>div{display:grid;grid-template-columns:1fr 1fr;gap:24px;line-height:1.45}
}
@media(min-width:701px){
 .official-footer{padding:0 40px 28px}.footer-shell{column-gap:0}.footer-top{gap:0;min-height:380px}
 .footer-links{padding:56px 0 32px;gap:13px}.footer-links h4{font-size:22px;line-height:1.3;margin:0 0 7px}.footer-links a{font-size:15px;line-height:1.52}
 .footer-middle{gap:0;margin:0;padding:36px 0 26px;border-top:1px solid transparent;grid-template-columns:1fr 1fr}
 .footer-social{gap:12px}.footer-social a{width:60px;height:60px;border-radius:2px}.footer-social svg{width:38px;height:38px}
 .footer-news h2{font-size:36px;line-height:1.18;margin:0 0 10px}.footer-news p{font-size:15px;line-height:1.65;margin:0}
 .newsletter-preview{height:60px;margin-top:28px}.newsletter-field{font-size:15px;padding:0 20px;line-height:60px}.newsletter-submit{font-size:15px;min-width:150px;padding:0 28px;line-height:60px}
 .footer-bottom{margin-top:24px}
}
/* Desktop width follows the live YFG 1440px container with 40px side gutters. */
@media(min-width:1024px){
 .site-header,.hero-content{width:min(1440px,calc(100% - 80px));max-width:1440px;padding-left:0;padding-right:0;margin-left:auto;margin-right:auto}
 .residency-section,.property-section,.planning-split,.planning-disclaimer{padding-left:40px;padding-right:40px}
 .residency-wrap,.property-wrap,.planning-shell,.footer-shell{width:100%;max-width:1440px;margin-left:auto;margin-right:auto}
 .partners-section .yfg-dual-logos{width:min(1440px,calc(100% - 80px));margin-left:auto;margin-right:auto}
}
