/*
Theme Name: Soweto Gateway Child
Template: hello-elementor
Version: 0.9.0
Description: Custom single-page Soweto Gateway template.
*/
/* Fonts: put licensed files into assets/fonts/ using the filenames below; not included in this download. */
@font-face{font-family:'Agenor Neue';src:url('assets/fonts/AgenorNeue-Regular.otf') format('opentype');font-weight:400;font-display:swap}
@font-face{font-family:'Agenor Neue';src:url('assets/fonts/AgenorNeue-SemiBold.otf') format('opentype');font-weight:600;font-display:swap}
@font-face{font-family:'Agenor Neue';src:url('assets/fonts/AgenorNeue-Bold.otf') format('opentype');font-weight:700;font-display:swap}
@font-face{font-family:'Montserrat Local';src:url('assets/fonts/Montserrat-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Montserrat Local';src:url('assets/fonts/Montserrat-SemiBold.ttf') format('truetype');font-weight:600;font-display:swap}
:root{--swg-navy:#07111F;--swg-ink:#07111F;--swg-blue:#0754dc}
html{scroll-behavior:smooth}body.soweto-gateway-page{margin:0;color:var(--swg-ink);background:#fff;font-family:'Montserrat Local',Montserrat,Arial,sans-serif;font-weight:400}body.soweto-gateway-page *{box-sizing:border-box}body.soweto-gateway-page img{display:block}body.soweto-gateway-page h1,body.soweto-gateway-page h2,body.soweto-gateway-page h3{font-family:'Agenor Neue',Arial,sans-serif;margin-top:0}body.soweto-gateway-page p{font-family:'Montserrat Local',Montserrat,Arial,sans-serif}section[id]{scroll-margin-top:100px}
.swg-header{position:sticky;top:0;z-index:50;background:var(--swg-navy);padding:20px clamp(18px,3vw,58px)}.swg-header-inner{min-height:69px;border-radius:15px;background:#fff;padding:7px clamp(16px,2.8vw,50px);display:flex;align-items:center;justify-content:space-between;gap:25px}.swg-brand{display:flex;align-items:center;gap:9px;color:#191919;text-decoration:none!important}.swg-brand-words{font-weight:700;font-family:'Agenor Neue',Arial,sans-serif;font-size:27px;letter-spacing:-.065em;line-height:.77}.swg-mark{display:grid;grid-template-columns:repeat(2,16px);grid-template-rows:repeat(3,16px);gap:2px}.swg-mark i{display:block;border-radius:100% 0 0 0}.swg-mark i:nth-child(1){background:#f58220}.swg-mark i:nth-child(2){background:#159448;transform:rotate(90deg)}.swg-mark i:nth-child(3){background:#8a5aa2;transform:rotate(270deg)}.swg-mark i:nth-child(4){background:#eaba22;transform:rotate(180deg)}.swg-mark i:nth-child(5){background:#e8242a}.swg-mark i:nth-child(6){background:#2c62a8;transform:rotate(180deg)}.swg-menu{display:flex;align-items:center;gap:38px}.swg-menu a{font:400 15px 'Montserrat Local',Montserrat,sans-serif;color:#07111f;text-decoration:none}.swg-menu a:hover{color:#0754dc}.swg-header-contact{color:#fff;background:#1762d5;padding:8px 28px;border:1px solid #07111f;border-radius:50px;text-decoration:none;font:600 13px 'Montserrat Local',Montserrat,sans-serif}.swg-menu-toggle{display:none}
.swg-hero{min-height:calc(100vh - 110px);background:var(--swg-navy) var(--hero-photo) center/cover no-repeat;position:relative;display:flex;align-items:center;padding:8vw clamp(28px,5vw,105px);color:#fff;isolation:isolate}.swg-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.08));z-index:-1}.swg-hero-content{max-width:930px}.swg-hero h1{font:400 clamp(42px,5vw,100px)/1.05 'Agenor Neue',Arial,sans-serif;letter-spacing:-.035em;margin-bottom:35px}.swg-hero-cta{font:400 clamp(22px,2.1vw,37px) 'Agenor Neue',Arial,sans-serif;color:#fff;text-decoration:none}.swg-hero-cta span{text-decoration:underline;text-underline-offset:.15em}.swg-hero-logo{max-width:440px;width:60%;height:auto;margin-top:36px}
.swg-intro{width:100%;min-height:1033px;display:grid;grid-template-columns:50% 50%;background:#fff}.swg-intro-picture{height:100%;min-height:650px}.swg-intro-picture img{width:100%;height:100%;object-fit:cover;object-position:center}.swg-intro-copy{align-self:center;padding:clamp(40px,5.8vw,120px) clamp(38px,6vw,122px);}.swg-intro-copy h2{font:600 clamp(34px,3.5vw,66px)/1.16 'Agenor Neue',Arial,sans-serif;margin:0 0 28px}.swg-intro-copy p{font-size:clamp(18px,1.85vw,36px);line-height:1.27;margin:0 0 38px}
.swg-features{background:#f4f6f8;padding:1px 0}.swg-feature{display:grid;grid-template-columns:50% 50%;width:100%;min-height:580px;gap:0;background:#fff;margin:35px 0}.swg-feature-copy{align-self:center;padding:65px clamp(34px,5.4vw,110px)}.swg-feature-copy h3{font:600 clamp(21px,1.45vw,29px) 'Agenor Neue',Arial,sans-serif;margin:13px 0 10px}.swg-feature-copy p{font-size:clamp(17px,1.4vw,27px);line-height:1.35;margin:0 0 28px}.swg-feature-copy .swg-feature-lead{margin-bottom:34px}.swg-feature-photo{min-height:580px}.swg-feature-photo img{width:100%;height:100%;object-fit:cover}.swg-quarter{display:block;width:96px;height:96px;background:var(--q);border-radius:100% 0 0 0}.swg-quarter-residential{--q:#d76ba4}.swg-quarter-educational{--q:#edb924;transform:rotate(180deg)}.swg-quarter-commercial{--q:#2b61ad}.swg-quarter-retail{--q:#e91f29;transform:rotate(180deg)}.swg-quarter-parks{--q:#2c913e;transform:rotate(90deg)}
.swg-plan{background:var(--swg-navy);min-height:1638px;color:#fff}.swg-plan-inner{display:grid;grid-template-columns:50% 50%;max-width:1905px;margin:auto;min-height:1638px}.swg-plan-sticky{height:100%;padding:133px 40px 100px 4.15%;position:relative}.swg-plan-sticky img{position:sticky;top:133px;width:min(772px,100%);height:auto;aspect-ratio:772/721;object-fit:cover;border-radius:42px}.swg-plan-copy{padding:130px 6vw 120px 0;display:flex;flex-direction:column;justify-content:flex-start}.swg-plan-copy h2{font:600 clamp(38px,3.7vw,70px)/1.15 'Agenor Neue',Arial,sans-serif;color:#fff;margin:0 0 220px}.swg-plan-copy p{color:#fff;font-size:clamp(20px,1.65vw,33px);line-height:1.35;max-width:750px}
.swg-gallery{background:var(--swg-navy);position:relative;padding:0}.swg-gallery-track{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth}.swg-gallery-track::-webkit-scrollbar{display:none}.swg-gallery-track img{width:min(744px,85vw);height:744px;flex:0 0 min(744px,85vw);object-fit:cover;scroll-snap-align:start}.swg-gallery-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);border:none;border-radius:50%;width:46px;height:46px;background:#ffffffb8;color:#1562c4;font-size:32px;cursor:pointer}.swg-gallery-prev{left:30px}.swg-gallery-next{right:30px}
.swg-contact{background:#f3f5f7;padding:40px clamp(22px,3vw,60px)}.swg-contact-panel{background:#fff;border-radius:15px;display:grid;grid-template-columns:50% 50%;gap:20px;padding:30px 40px;max-width:1800px;margin:auto}.swg-contact-copy{padding:55px 34px 35px 0}.swg-contact h2{font:600 clamp(38px,3.65vw,68px)/1.17 'Agenor Neue',Arial,sans-serif;margin-bottom:75px}.swg-contact-copy p{font-size:clamp(18px,1.4vw,27px);line-height:1.4;max-width:750px}.swg-contact-direct{display:flex;flex-direction:column;gap:4px;margin-top:75px}.swg-contact-direct a{color:var(--swg-ink);text-decoration:none;font-size:clamp(18px,1.25vw,26px)}.swg-form-wrap{padding:0 20px 0 0}.swg-form-setup{padding:30px;border:2px dashed #cbd2da;background:#f7f9fb;font-size:16px}.swg-form-wrap .wpforms-container .wpforms-field-label{font-family:'Montserrat Local',Montserrat,sans-serif;font-size:22px;font-weight:400;color:#07111f}.swg-form-wrap .wpforms-container input:not([type=checkbox]),.swg-form-wrap .wpforms-container textarea,.swg-form-wrap .wpforms-container select{border:0!important;border-bottom:1px solid #07111f!important;border-radius:0!important;background:#f4f6f8!important;font-family:'Montserrat Local',Montserrat,sans-serif;color:#07111f}.swg-form-wrap .wpforms-container button[type=submit]{border:0!important;border-radius:50px!important;background:#0754dc!important;color:#fff!important;width:100%;font-family:'Montserrat Local',Montserrat,sans-serif;font-weight:600}
.swg-footer{background:var(--swg-navy);display:grid;grid-template-columns:63% 37%;color:#fff;padding:56px 3% 20px;gap:30px}.swg-footer-map iframe{border:0;display:block;width:100%;height:670px}.swg-footer-details{padding:130px 10px 10px 16px;display:flex;flex-direction:column;align-items:flex-start}.swg-footer-logo{width:min(490px,95%);height:auto;object-fit:contain;margin-bottom:70px}.swg-footer-details p{font-size:18px;line-height:1.5;color:#fff}.swg-footer-details a{color:#fff;text-decoration:none}.swg-footer-details small{font-size:15px;line-height:1.5;margin-top:30px;color:#eee}
@media(max-width:900px){.swg-header{padding:12px}.swg-header-inner{min-height:65px}.swg-menu-toggle{display:block;border:1px solid #ddd;border-radius:6px;padding:8px 12px;background:white;color:#07111f;cursor:pointer}.swg-header-contact{display:none}.swg-menu{display:none;position:absolute;top:calc(100% - 12px);left:12px;right:12px;background:#fff;border-radius:0 0 12px 12px;flex-direction:column;align-items:stretch;gap:0;padding:12px 24px;box-shadow:0 14px 24px #0003}.swg-menu a{padding:12px}.swg-menu.is-open{display:flex}.swg-intro{min-height:0;grid-template-columns:1fr}.swg-intro-picture{min-height:370px;height:50vw}.swg-intro-copy{padding:55px 6vw}.swg-feature{min-height:0}.swg-feature-photo{min-height:400px}.swg-feature-copy{padding:45px 5vw}.swg-quarter{width:65px;height:65px}.swg-plan{min-height:0}.swg-plan-inner{min-height:0;display:grid;grid-template-columns:1fr}.swg-plan-sticky{height:auto;padding:50px 6vw 0}.swg-plan-sticky img{position:static;width:100%;height:auto;max-height:650px;object-fit:cover}.swg-plan-copy{padding:45px 6vw 90px}.swg-plan-copy h2{margin-bottom:55px}.swg-gallery-track img{height:440px}.swg-contact-panel{padding:28px;grid-template-columns:1fr}.swg-contact-copy{padding:20px 0}.swg-contact h2{margin-bottom:30px}.swg-contact-direct{margin-top:30px}.swg-footer{grid-template-columns:1fr;padding:35px 24px}.swg-footer-map iframe{height:390px}.swg-footer-details{padding:20px 0}.swg-footer-logo{width:340px;margin-bottom:25px}}
@media(max-width:600px){.swg-brand-words{font-size:22px}.swg-mark{grid-template-columns:repeat(2,13px);grid-template-rows:repeat(3,13px)}.swg-hero{min-height:680px;padding:45px 25px}.swg-hero h1{font-size:clamp(37px,10vw,62px)}.swg-hero-logo{width:80%}.swg-feature{grid-template-columns:1fr;margin:16px 0}.swg-feature-photo{min-height:300px;height:300px}.swg-feature-copy{padding:35px 24px}.swg-gallery-track img{height:320px;flex-basis:85vw}.swg-gallery-arrow{width:34px;height:34px;font-size:25px}.swg-contact{padding:20px 12px}.swg-contact-panel{padding:20px}.swg-form-wrap{padding:0}.swg-footer-map iframe{height:330px}}

/* ============================================================
   SOWETO GATEWAY — EDITABLE DESIGN SETTINGS (October 2026)
   Hero text stays on the LEFT. Edit these values for customisation.
   ============================================================ */
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{position:fixed!important;top:8px;left:8px;z-index:1000;width:auto;height:auto;margin:0;padding:12px 18px;clip:auto;background:#fff;color:#07111f}
.swg-hamburger{display:flex;flex-direction:column;gap:5px;width:23px}
.swg-hamburger i{display:block;height:2px;background:#07111f;width:100%;border-radius:2px}
.swg-menu-toggle:focus-visible,.swg-header-contact:focus-visible,.swg-gallery-arrow:focus-visible{outline:3px solid #eaba22;outline-offset:3px}
/* DESKTOP: heading, Invest in, and logo on the left. */
.swg-hero{justify-content:flex-start;background-position:center center}
.swg-hero:before{background:linear-gradient(90deg,rgba(14,10,8,.70) 0%,rgba(14,10,8,.42) 43%,rgba(14,10,8,.03) 77%)}
.swg-hero-content{width:46%;max-width:820px;text-align:left;margin:0 auto 0 0;position:relative}
/* CHANGE heading font size here */
.swg-hero h1{font-size:clamp(32px,3.3vw,64px);line-height:1.17;letter-spacing:-.012em;margin:0 0 42px}
/* CHANGE Invest in font size here */
.swg-hero-invest{font:400 clamp(48px,5.2vw,94px)/1.12 'Agenor Neue',Arial,sans-serif;margin-bottom:24px}
/* CHANGE logo width here */
.swg-hero-logo-link{display:block;width:max-content;max-width:90%;margin:0 auto 0 0}
.swg-hero-logo{display:block;width:100%;max-width:360px;height:auto;margin:0}
/* Tablet / compact laptop */
@media (max-width:1100px){
 .swg-menu{gap:18px}
 .swg-hero-content{width:55%}
 .swg-hero h1{font-size:clamp(32px,4vw,51px)}
}
@media (max-width:900px){
 .swg-header-contact{display:inline-flex;align-items:center;justify-content:center;padding:9px 17px;white-space:nowrap}
 .swg-menu-toggle{order:3;flex:0 0 auto}
 .swg-menu{top:calc(100% - 12px)}
 .swg-hero{background-position:39% center;min-height:650px}
 .swg-hero-content{width:60%}
 .swg-hero h1{font-size:clamp(30px,4.6vw,48px)}
 .swg-hero-invest{font-size:clamp(46px,6vw,68px)}
 .swg-contact-panel,.swg-footer{min-width:0}
 .swg-contact-panel > *,.swg-footer > *{min-width:0}
}
/* Mobile: show family photo above and text in readable dark gradient at bottom-left. */
@media (max-width:600px){
 .swg-header{padding:9px}
 .swg-header-inner{gap:8px;padding:8px 10px;min-height:60px}
 .swg-brand{gap:6px;min-width:0}
 .swg-brand-words{font-size:clamp(17px,5vw,22px)}
 .swg-mark{grid-template-columns:repeat(2,11px);grid-template-rows:repeat(3,11px);gap:2px;flex:0 0 auto}
 .swg-header-contact{margin-left:auto;font-size:11px;padding:9px 12px}
 .swg-menu-toggle{padding:10px;min-width:43px;min-height:43px;display:flex;align-items:center;justify-content:center}
 .swg-menu{left:9px;right:9px;top:calc(100% - 9px)}
 .swg-hero{background-position:34% top;align-items:flex-end;min-height:660px;min-height:max(620px,88svh);padding:38px 22px 40px}
 .swg-hero:before{background:linear-gradient(180deg,rgba(0,0,0,.02) 8%,rgba(0,0,0,.16) 35%,rgba(0,0,0,.84) 100%)}
 .swg-hero-content{width:100%;max-width:480px;margin:0 auto 0 0;text-align:left}
 .swg-hero h1{font-size:clamp(29px,7.2vw,42px);line-height:1.15;margin-bottom:20px}
 .swg-hero-invest{font-size:clamp(48px,12vw,60px);margin-bottom:14px}
 .swg-hero-logo-link{margin:0 auto 0 0;max-width:80%}
 .swg-hero-logo{width:100%;max-width:240px}
 .swg-intro-picture{height:330px;min-height:330px}
 .swg-intro-copy{padding:38px 23px}
 .swg-intro-copy p{font-size:18px;line-height:1.45}
 .swg-feature-photo{height:290px;min-height:290px}
 .swg-feature-copy p{font-size:17px;line-height:1.45}
 .swg-plan-sticky{padding:35px 18px 0}
 .swg-plan-sticky img{border-radius:20px}
 .swg-plan-copy{padding:35px 22px 55px}
 .swg-plan-copy h2{font-size:clamp(35px,9vw,49px);margin-bottom:25px}
 .swg-plan-copy p{font-size:19px}
 .swg-gallery-track img{width:85vw;flex:0 0 85vw;height:300px}
 .swg-gallery-prev{left:10px}.swg-gallery-next{right:10px}
 .swg-contact{padding:16px 10px}
 .swg-contact-panel{padding:19px;gap:12px}
 .swg-contact-copy{padding:8px 0 18px}
 .swg-contact h2{font-size:clamp(35px,9vw,48px)}
 .swg-contact-direct a{font-size:16px;overflow-wrap:anywhere}
 .swg-footer{padding:26px 16px;gap:15px}
 .swg-footer-map iframe{height:300px}
 .swg-footer-details p{font-size:16px;overflow-wrap:anywhere}
 .swg-footer-logo{max-width:100%}
}
@media (max-width:360px){
 .swg-header-inner{padding:7px 8px}
 .swg-brand-words{font-size:17px}
 .swg-header-contact{padding:8px 9px}
 .swg-hero{min-height:620px;padding:25px 17px 32px}
 .swg-hero h1{font-size:28px}
 .swg-hero-invest{font-size:46px}
 .swg-hero-logo{max-width:210px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.swg-gallery-track{scroll-behavior:auto}}

/* 2026 uploaded media: self-hosted navigation logo and responsive hero */
.swg-nav-logo{display:block;width:clamp(132px,13vw,195px);height:auto;max-height:65px;object-fit:contain;object-position:left center}
.swg-hero{--hero-photo:url('assets/hero-desktop.webp')}
@media(max-width:900px){.swg-nav-logo{width:155px;max-height:52px}}
@media(max-width:600px){
 .swg-nav-logo{width:clamp(122px,39vw,160px);max-height:49px}
 .swg-hero{--hero-photo:url('assets/hero-mobile.webp');background-position:center top}
}

/* Locally hosted 2026 gallery renderings — retain their landscape proportions */
.swg-gallery-track img{width:min(760px,88vw);flex:0 0 min(760px,88vw);height:clamp(270px,40vw,540px);object-fit:contain;background:#19213c}
@media(max-width:600px){.swg-gallery-track img{width:92vw;flex:0 0 92vw;height:clamp(210px,65vw,370px)}}


/* ===========================================================
   SOWETO GATEWAY 2026 REBUILD -- EDITABLE SETTINGS
   Keep this section at the end of style.css to override older rules.
   =========================================================== */
:root {
  --swg-base: linear-gradient(135deg, #FFFFFF 0%, #FBF9F5 48%, #F3F0E9 100%);
  --swg-gold: #F5C542;
  --swg-brand-blue: 40,97,172;
  --swg-brand-orange: 230,125,38;
  --swg-brand-green: 17,141,71;
  --swg-brand-purple: 129,86,162;
}
body.soweto-gateway-page {background:#FBF9F5;}
/* Header: white background, desktop navigation links and blue Contact button. */
.swg-header {background:#fff; padding:12px clamp(14px,3vw,58px);}
.swg-header-inner {background:#fff;}
.swg-menu-toggle {display:none !important;}
.swg-menu {display:flex;}
.swg-menu a {font-family:'Montserrat Local',Montserrat,Arial,sans-serif;font-weight:400;font-size:18px;}
.swg-menu .swg-mobile-contact {display:none;}
.swg-header-contact {display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;}
/* Hero: left aligned. Keep the supplied photograph, bigger Invest in. */
.swg-hero {justify-content:flex-start; background-position:center center;}
.swg-hero-content {text-align:left;margin-left:0;margin-right:auto;width:min(632px,48%);max-width:632px;align-self:flex-end;}
.swg-hero-invest {font-size:clamp(48px,5.2vw,94px);}
@media(min-width:1280px) {.swg-hero {padding-top:240px;}}
@media(min-width:1440px) {.swg-hero {height:100vh;min-height:100vh;}}
/* The strip is transparent, runs LEFT TO RIGHT, and loops seamlessly. */
.swg-motion-strip {height:160px;overflow:hidden;background:transparent;position:relative;isolation:isolate;}
.swg-motion-track {height:100%;display:flex;width:max-content;transform:translateX(-50%);animation:swg-strip-right 30s linear infinite;will-change:transform;}
.swg-motion-group {height:100%;display:flex;flex:0 0 auto;}
.swg-motion-group img {height:100%;width:auto;max-width:none;flex:0 0 auto;object-fit:contain;}
@keyframes swg-strip-right {from{transform:translateX(-50%)}to{transform:translateX(0)}}
/* Warm ivory behind the principal content; no more than two brand accents per section. */
.swg-intro {background:radial-gradient(ellipse at 90% 8%,rgba(var(--swg-brand-orange),.10),transparent 42%),radial-gradient(ellipse at 10% 92%,rgba(var(--swg-brand-blue),.10),transparent 46%),var(--swg-base);}
.swg-features {background:radial-gradient(ellipse at 90% 8%,rgba(var(--swg-brand-orange),.10),transparent 42%),radial-gradient(ellipse at 10% 92%,rgba(var(--swg-brand-green),.09),transparent 43%),var(--swg-base);}
.swg-feature {background:#ffffffea;}
/* Masterplan: 1px gold divider down the centre, 1638px on desktop. */
.swg-plan {background:var(--swg-base);color:var(--swg-ink);}
.swg-plan-inner {position:relative;}
.swg-plan-divider {position:absolute;top:0;left:50%;width:1px;height:1638px;background:var(--swg-gold);z-index:1;pointer-events:none;}
.swg-plan-copy h2,.swg-plan-copy p {color:var(--swg-ink);}
/* Gallery display area 744px high on desktop. Preserve landscape image proportions. */
.swg-gallery {height:744px;overflow:hidden;background:radial-gradient(ellipse at 90% 8%,rgba(var(--swg-brand-purple),.10),transparent 42%),radial-gradient(ellipse at 10% 92%,rgba(var(--swg-brand-blue),.09),transparent 43%),var(--swg-base);}
.swg-gallery-track {height:100%;align-items:center;}
.swg-gallery-track img {height:744px;width:min(1080px,88vw);flex:0 0 min(1080px,88vw);object-fit:contain;background:transparent;}
/* Map: address is geocoded by Google; location label remains clearly visible. */
.swg-footer-map {position:relative;min-width:0;}
.swg-map-label {position:absolute;z-index:2;left:16px;top:16px;background:white;color:#07111f;padding:12px 16px;border-radius:7px;box-shadow:0 3px 15px #0003;font:600 15px 'Montserrat Local',Montserrat,Arial,sans-serif;display:flex;align-items:center;gap:9px;}
.swg-map-dot {width:12px;height:12px;border-radius:50%;background:#e12027;box-shadow:0 0 0 3px #e120272b;}
/* Tablet and mobile: only hamburger; the Contact action is inside menu. */
@media(max-width:1024px) {
  .swg-header {padding:9px 12px;}
  .swg-menu-toggle {display:flex !important;align-items:center;justify-content:center;border:1px solid #d8d8d8;border-radius:6px;padding:10px;min-width:44px;min-height:44px;background:#fff;order:3;cursor:pointer;}
  .swg-menu {display:none;position:absolute;left:12px;right:12px;top:calc(100% - 9px);z-index:40;background:#fff;box-shadow:0 14px 24px #0003;border-radius:0 0 12px 12px;padding:12px 20px;flex-direction:column;align-items:stretch;gap:0;}
  .swg-menu.is-open {display:flex;}
  .swg-menu a {font-size:18px;padding:14px 12px;}
  .swg-menu .swg-mobile-contact {display:block;background:#1762d5;color:#fff;border-radius:30px;text-align:center;margin:8px 0 5px;font-weight:600;}
  .swg-header-contact {display:none !important;}
  .swg-motion-strip {height:120px;}
  .swg-plan-divider {display:none;}
  .swg-plan-inner {min-height:0;}
  .swg-gallery {height:540px;}
  .swg-gallery-track img {height:540px;}
  .swg-hero {padding-top:60px;}
  .swg-hero-content {width:min(610px,65%);align-self:flex-end;}
}
@media(max-width:600px) {
  .swg-motion-strip {height:80px;}
  .swg-hero-content {width:100%;max-width:480px;}
  .swg-gallery {height:340px;}
  .swg-gallery-track img {height:340px;width:92vw;flex:0 0 92vw;}
  .swg-plan {min-height:0;}
  .swg-map-label {font-size:12px;padding:9px 10px;left:9px;top:9px;}
}
@media(max-width:360px) {.swg-motion-strip {height:70px;}.swg-gallery,.swg-gallery-track img {height:300px;}}
@media(prefers-reduced-motion:reduce) {.swg-motion-track {animation:none;transform:translateX(0);}}


/* ================================================================
   NOVEMBER 2026 UPDATES — MASTERPLAN + INFINITE AUTOPLAY GALLERY
   Edit these values rather than Wix-generated inspection markup.
   ================================================================ */
:root {
  --swg-dark-section: #07111f; /* Masterplan and gallery background */
  --swg-gallery-desktop-size: 744px;
  --swg-masterplan-text-gap: clamp(50px, 4.5vw, 90px);
}
/* A common continuous dark canvas across both sections. */
body.soweto-gateway-page .swg-plan,
body.soweto-gateway-page .swg-gallery {
  background: var(--swg-dark-section);
  color: #fff;
}
body.soweto-gateway-page .swg-plan-copy h2,
body.soweto-gateway-page .swg-plan-copy p { color: #fff; }
/* Two columns split at 50%; golden divider at the split. */
body.soweto-gateway-page .swg-plan-inner { position:relative; }
body.soweto-gateway-page .swg-plan-divider {
  left:50%; top:0; width:1px;
  height: min(1638px, 100%);
  background: #F5C542;
}
/* Screenshot reference: generous margin between line and first text. */
body.soweto-gateway-page .swg-plan-copy {
  padding-left: var(--swg-masterplan-text-gap);
  padding-right: clamp(35px, 5vw, 110px);
  padding-top: 170px;
}
body.soweto-gateway-page .swg-plan-copy h2 {
  margin-bottom: clamp(180px, 18vw, 335px);
}
body.soweto-gateway-page .swg-plan-sticky { padding-top: 145px; }
body.soweto-gateway-page .swg-plan-sticky img { border-radius: 42px; }
/* Slides are square, and 'cover' crops without stretching. */
body.soweto-gateway-page .swg-gallery {
  height: var(--swg-gallery-desktop-size);
  padding:0;
  overflow:hidden;
}
body.soweto-gateway-page .swg-gallery-track {
  height:100%; width:100%;
  display:flex; gap:8px; align-items:center;
  scroll-snap-type:x mandatory;
  overflow-x:auto;
  overscroll-behavior-inline: contain;
  scrollbar-width:none;
}
body.soweto-gateway-page .swg-gallery-track img {
  display:block; width:var(--swg-gallery-desktop-size);
  height:var(--swg-gallery-desktop-size);
  flex:0 0 var(--swg-gallery-desktop-size);
  max-width:none; object-fit:cover;
  aspect-ratio:1 / 1; scroll-snap-align:start;
  background:var(--swg-dark-section);
}
/* Tablet stays square, with a smaller slide and height. */
@media(max-width:1024px) {
  :root {--swg-gallery-desktop-size: min(540px, 84vw);}
  body.soweto-gateway-page .swg-plan-copy {
    padding:45px 6vw 85px;
  }
  body.soweto-gateway-page .swg-plan-copy h2 {margin-bottom:55px;}
  body.soweto-gateway-page .swg-plan-sticky {padding:50px 6vw 0;}
  body.soweto-gateway-page .swg-plan-divider {display:none;}
}
@media(max-width:600px) {
  :root {--swg-gallery-desktop-size:min(340px, 92vw);}
  body.soweto-gateway-page .swg-plan-copy {padding:35px 22px 55px;}
  body.soweto-gateway-page .swg-plan-sticky {padding:35px 18px 0;}
  body.soweto-gateway-page .swg-plan-sticky img {border-radius:20px;}
  body.soweto-gateway-page .swg-gallery-arrow {width:38px;height:38px;}
}


/* =============================================================
   NOVEMBER 2026 — COMPACT TABBED DEVELOPMENT SHOWCASE
   Desktop: text LEFT; image RIGHT. Change these tokens to adjust.
   ============================================================= */
:root {
  --swg-showcase-max-width: 1700px;
  --swg-showcase-image-width: 45%;
  --swg-showcase-image-ratio: 1.07 / 1;
  --swg-showcase-gap: clamp(64px, 5vw, 110px);
  --swg-showcase-duration: 6000ms;
}
body.soweto-gateway-page .swg-showcase {
  padding:70px 5vw;
  background:radial-gradient(ellipse at 91% 5%,rgba(var(--swg-brand-orange),.10),transparent 43%),
             radial-gradient(ellipse at 8% 94%,rgba(var(--swg-brand-blue),.09),transparent 43%),var(--swg-base);
}
.swg-showcase-inner{max-width:var(--swg-showcase-max-width);margin:auto;min-width:0}
.swg-showcase-heading{text-align:center;margin:0 0 28px}
.swg-showcase-heading h2{font:500 clamp(29px,2.5vw,36px)/1.2 'Agenor Neue',Arial,sans-serif;margin:0 0 10px;color:#142a3d}
.swg-showcase-heading p{font:400 17px/1.5 Montserrat,Arial,sans-serif;margin:0;color:#435466}
.swg-showcase-tabs{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin:0 0 28px}
.swg-showcase-tab{appearance:none;position:relative;border:1px solid #dcd7ce;border-radius:50px;background:#fff;color:#243448;padding:12px 21px;min-height:44px;font:400 16px/1.2 Montserrat,Arial,sans-serif;cursor:pointer;overflow:hidden;transition:background .2s ease,color .2s ease,border-color .2s ease}
.swg-showcase-tab:hover{border-color:#2861ac}
.swg-showcase-tab.is-active{background:#15395b;color:#fff;border-color:#15395b}
.swg-showcase-tab:focus-visible{outline:3px solid #f5c542;outline-offset:3px}
.swg-showcase-tab-progress{position:absolute;bottom:0;left:0;height:3px;width:100%;background:transparent}
.swg-showcase-tab.is-active .swg-showcase-tab-progress{background:rgba(255,255,255,.22)}
.swg-showcase-tab.is-active .swg-showcase-tab-progress::after{content:"";display:block;height:100%;width:0;background:#f5c542;animation:swg-tab-progress var(--swg-showcase-duration) linear forwards;animation-play-state:var(--swg-showcase-play-state,running)}
@keyframes swg-tab-progress{to{width:100%}}
.swg-showcase-stage{position:relative;min-width:0}
/* !important overrides earlier 580px feature-layout declarations without affecting other sections. */
body.soweto-gateway-page .swg-showcase .swg-showcase-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,var(--swg-showcase-image-width));align-items:center;gap:var(--swg-showcase-gap);background:transparent;min-height:0;margin:0;opacity:1;transform:translateY(0);animation:swg-showcase-enter .25s ease both}
body.soweto-gateway-page .swg-showcase .swg-showcase-panel[hidden]{display:none!important}
@keyframes swg-showcase-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
body.soweto-gateway-page .swg-showcase .swg-showcase-copy{padding:0;min-width:0;max-width:640px;align-self:center}
body.soweto-gateway-page .swg-showcase .swg-showcase-copy h3{font:500 clamp(25px,2.25vw,32px)/1.2 'Agenor Neue',Arial,sans-serif;color:#142a3d;margin:15px 0 18px}
body.soweto-gateway-page .swg-showcase .swg-showcase-copy p{font:400 18px/1.5 Montserrat,Arial,sans-serif;color:#344454;margin:0 0 16px}
body.soweto-gateway-page .swg-showcase .swg-showcase-copy .swg-feature-lead{font-weight:600;margin-bottom:15px}
body.soweto-gateway-page .swg-showcase .swg-quarter{height:48px;width:48px}
body.soweto-gateway-page .swg-showcase .swg-showcase-photo{height:auto;min-height:0;aspect-ratio:var(--swg-showcase-image-ratio);border-radius:32px;overflow:hidden;background:#e9e9e5}
body.soweto-gateway-page .swg-showcase .swg-showcase-photo img{display:block;width:100%;height:100%;object-fit:cover}
.swg-showcase-progress{margin-top:24px;height:3px;background:#e0ddd8;border-radius:3px;overflow:hidden}
.swg-showcase-progress-fill{display:block;width:0;height:100%;background:#2861ac;animation:swg-tab-progress var(--swg-showcase-duration) linear forwards;animation-play-state:var(--swg-showcase-play-state,running)}
@media(max-width:1050px){
  body.soweto-gateway-page .swg-showcase{padding:48px 5vw}
  body.soweto-gateway-page .swg-showcase .swg-showcase-panel{grid-template-columns:minmax(0,1fr) minmax(0,52%);gap:28px}
  body.soweto-gateway-page .swg-showcase .swg-showcase-copy p{font-size:17px}
  .swg-showcase-tabs{gap:8px}
  body.soweto-gateway-page .swg-showcase .swg-showcase-photo{border-radius:24px}
  .swg-showcase-tab{font-size:15px;padding:11px 16px}
}
@media(max-width:767px){
  body.soweto-gateway-page .swg-showcase{padding:36px 16px}
  .swg-showcase-heading{margin-bottom:21px}
  .swg-showcase-heading h2{font-size:26px}
  .swg-showcase-heading p{font-size:15px}
  .swg-showcase-tabs{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;scrollbar-width:thin;padding:0 0 8px;margin-bottom:20px;scroll-snap-type:x proximity}
  .swg-showcase-tab{font-size:14px;min-height:40px;padding:10px 16px;flex:0 0 auto;white-space:nowrap;scroll-snap-align:start}
  body.soweto-gateway-page .swg-showcase .swg-showcase-panel{display:flex;flex-direction:column-reverse;align-items:stretch;gap:24px}
  body.soweto-gateway-page .swg-showcase .swg-showcase-copy{max-width:none}
  body.soweto-gateway-page .swg-showcase .swg-showcase-photo{width:100%;aspect-ratio:4/3;border-radius:20px}
  body.soweto-gateway-page .swg-showcase .swg-showcase-copy h3{font-size:25px;margin:10px 0 14px}
  body.soweto-gateway-page .swg-showcase .swg-showcase-copy p{font-size:16px;line-height:1.5}
  .swg-showcase-progress{margin-top:20px}
}
@media(prefers-reduced-motion:reduce){
  .swg-showcase-tab.is-active .swg-showcase-tab-progress::after,.swg-showcase-progress-fill{animation:none;width:100%}
  body.soweto-gateway-page .swg-showcase .swg-showcase-panel{animation:none}
}


/* =============================================================
   NOVEMBER 2026 - EXPANDED DEVELOPMENT SHOWCASE / BRAND TABS
   EDIT COLOURS HERE. Hover, pressing, keyboard focus, and selected
   states use the same colour. Autoplay updates the selected state.
   ============================================================= */
body.soweto-gateway-page .swg-showcase .swg-showcase-tab[data-feature="residential"] {
  --swg-tab-color: #d96fa6;
  --swg-tab-text: #07111f;
}
body.soweto-gateway-page .swg-showcase .swg-showcase-tab[data-feature="educational"] {
  --swg-tab-color: #eab525;
  --swg-tab-text: #07111f;
}
body.soweto-gateway-page .swg-showcase .swg-showcase-tab[data-feature="commercial"] {
  --swg-tab-color: #2961ad;
  --swg-tab-text: #ffffff;
}
body.soweto-gateway-page .swg-showcase .swg-showcase-tab[data-feature="retail"] {
  --swg-tab-color: #e32227;
  --swg-tab-text: #ffffff;
}
body.soweto-gateway-page .swg-showcase .swg-showcase-tab[data-feature="parks"] {
  --swg-tab-color: #2f8e3b;
  --swg-tab-text: #07111f;
}
body.soweto-gateway-page .swg-showcase .swg-showcase-tab:is(:hover, :active, :focus-visible, .is-active) {
  background-color: var(--swg-tab-color, #2961ad);
  border-color: var(--swg-tab-color, #2961ad);
  color: var(--swg-tab-text, #ffffff);
}
body.soweto-gateway-page .swg-showcase .swg-showcase-tab.is-active .swg-showcase-tab-progress::after {
  background: currentColor;
  opacity: 0.85;
}


/* ================================================================
   NOVEMBER 16, 2026 — HERO CONTENT ON THE RIGHT
   The entire content group (heading / Invest in / logo) is anchored
   in the open space to the RIGHT of the desktop photograph.
   The text remains left-aligned WITHIN that right-side group.
   Adjust the width and right padding below to fine-tune placement.
   ================================================================ */
:root {
  --swg-hero-content-max: 620px;
  --swg-hero-right-inset: clamp(28px, 6vw, 120px);
}
body.soweto-gateway-page .swg-hero {
  justify-content: flex-end;
  align-items: center;
  padding-left: clamp(24px, 5vw, 105px);
  padding-right: var(--swg-hero-right-inset);
  padding-bottom: clamp(30px, 5vh, 62px);
  background-position: center center;
}
/* Darken the EMPTY right side, without covering the family's faces. */
body.soweto-gateway-page .swg-hero::before {
  background: linear-gradient(90deg,
    rgba(7, 17, 31, .02) 0%,
    rgba(7, 17, 31, .05) 35%,
    rgba(7, 17, 31, .34) 58%,
    rgba(7, 17, 31, .67) 100%);
}
body.soweto-gateway-page .swg-hero-content {
  width: min(47vw, var(--swg-hero-content-max));
  max-width: var(--swg-hero-content-max);
  margin-left: auto;
  margin-right: 0;
  align-self: center;
  text-align: left;
  position: relative;
  z-index: 1;
}
body.soweto-gateway-page .swg-hero h1 {
  font-size: clamp(38px, 3.6vw, 62px);
  line-height: 1.13;
  letter-spacing: -.018em;
  margin: 0 0 clamp(22px, 2.7vw, 40px);
}
body.soweto-gateway-page .swg-hero-invest {
  font-size: clamp(52px, 5.1vw, 86px);
  line-height: 1.1;
  margin: 0 0 18px;
}
body.soweto-gateway-page .swg-hero-logo-link {
  display: block;
  width: min(100%, 340px);
  max-width: 340px;
  margin: 0;
}
body.soweto-gateway-page .swg-hero-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0;
}
@media (min-width: 1280px) {
  body.soweto-gateway-page .swg-hero { padding-top: 240px; }
}
@media (min-width: 1440px) {
  body.soweto-gateway-page .swg-hero { height: 100vh; min-height: 100vh; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  body.soweto-gateway-page .swg-hero {
    padding-top: 90px;
    padding-bottom: 52px;
  }
  body.soweto-gateway-page .swg-hero-content {
    width: min(54vw, 570px);
    max-width: 570px;
  }
  body.soweto-gateway-page .swg-hero h1 {
    font-size: clamp(35px, 4.25vw, 51px);
  }
  body.soweto-gateway-page .swg-hero-invest {
    font-size: clamp(50px, 5.5vw, 75px);
  }
  body.soweto-gateway-page .swg-hero-logo-link,
  body.soweto-gateway-page .swg-hero-logo { max-width: 300px; }
}
@media (max-width: 767px) {
  /* The separate portrait image has little empty space; anchor the
     group to the lower-right and protect legibility with a bottom fade. */
  body.soweto-gateway-page .swg-hero {
    justify-content: flex-end;
    align-items: flex-end;
    padding: 40px 20px 34px;
    min-height: max(650px, 88svh);
    background-position: center top;
  }
  body.soweto-gateway-page .swg-hero::before {
    background: linear-gradient(180deg,
      rgba(7, 17, 31, 0) 0%,
      rgba(7, 17, 31, .03) 31%,
      rgba(7, 17, 31, .26) 53%,
      rgba(7, 17, 31, .88) 100%);
  }
  body.soweto-gateway-page .swg-hero-content {
    width: min(100%, 410px);
    max-width: 410px;
    align-self: flex-end;
    margin-left: auto;
    margin-right: 0;
    text-align: left;
  }
  body.soweto-gateway-page .swg-hero h1 {
    font-size: clamp(29px, 7vw, 42px);
    line-height: 1.16;
    margin-bottom: 21px;
  }
  body.soweto-gateway-page .swg-hero-invest {
    font-size: clamp(46px, 11vw, 62px);
    margin-bottom: 12px;
  }
  body.soweto-gateway-page .swg-hero-logo-link,
  body.soweto-gateway-page .swg-hero-logo { max-width: 250px; }
}
@media (max-width: 360px) {
  body.soweto-gateway-page .swg-hero { padding: 24px 16px 27px; }
  body.soweto-gateway-page .swg-hero h1 { font-size: 28px; }
  body.soweto-gateway-page .swg-hero-invest { font-size: 44px; }
  body.soweto-gateway-page .swg-hero-logo-link,
  body.soweto-gateway-page .swg-hero-logo { max-width: 215px; }
}

/* 16 Nov 2026 — map site label also serves as the direct Google Maps link. */
body.soweto-gateway-page .swg-map-label {text-decoration:none;max-width:calc(100% - 32px);}
body.soweto-gateway-page .swg-map-label:focus-visible {outline:3px solid #f5c542;outline-offset:3px;}
body.soweto-gateway-page .swg-map-open {margin-left:3px;font-size:17px;}
