/* Swayamsri shared components. Brand band stays navy and gold on all seven sites. */
:root{--ss-navy:#1D2645;--ss-navy2:#26305A;--ss-gold:#B39563;--ss-gold2:#E6D8BC;--ss-ivory:#F8F5EE;--ss-line:#D9D2C3;
--ss-accent:var(--site-accent,#B39563);--ss-ink:var(--site-ink,#1D2645);--ss-soft:var(--site-soft,#F8F5EE);
--ss-head:var(--site-head,Georgia,serif);--ss-body:var(--site-body,system-ui,sans-serif)}
.ss-wrap{max-width:1180px;margin:0 auto;padding:0 20px;box-sizing:border-box}
.ss-wrap *,.ss-band *,.ss-sec *{box-sizing:border-box}
.ss-band{background:linear-gradient(120deg,#141B33,var(--ss-navy) 55%,var(--ss-navy2));color:#fff;font-family:var(--ss-body);position:relative;z-index:5;border-bottom:3px solid var(--ss-gold)}
.ss-band a{color:inherit;text-decoration:none}
.ss-band-in{display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center;padding-top:24px;padding-bottom:24px}
.ss-crest{width:124px;height:auto;display:block;background:var(--ss-ivory);border-radius:14px;padding:8px}
.ss-word{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(34px,4.6vw,56px);line-height:1;font-weight:700;letter-spacing:.06em;margin:0}
.ss-word b{color:var(--ss-gold);font-weight:700}
.ss-sub{letter-spacing:.3em;text-transform:uppercase;font-size:12px;color:var(--ss-gold2);margin:6px 0 10px}
.ss-chips{display:flex;flex-wrap:wrap;gap:6px 8px;margin:0;padding:0;list-style:none;font-size:13px}
.ss-chips li{border:1px solid rgba(230,216,188,.4);border-radius:99px;padding:3px 11px;color:#fff}
.ss-chips li.hot{background:var(--ss-gold);border-color:var(--ss-gold);color:#141B33;font-weight:700}
.ss-band-cta{display:flex;flex-direction:column;gap:8px;min-width:190px}
.ss-btn{display:inline-block;text-align:center;border-radius:8px;padding:12px 18px;font-weight:700;font-size:14.5px;line-height:1.2;text-decoration:none;cursor:pointer;border:0;font-family:inherit}
.ss-btn-gold{background:var(--ss-gold);color:#141B33!important}.ss-btn-gold:hover{background:#c5a877}
.ss-btn-line{border:1.5px solid var(--ss-gold2);color:#fff!important;background:transparent}
.ss-btn-wa{background:#128C4B;color:#fff!important}
.ss-subnav{background:#141B33;font-family:var(--ss-body);overflow-x:auto;position:relative;z-index:5}
.ss-subnav ul{display:flex;gap:4px;margin:0 auto;padding:0 20px;list-style:none;max-width:1180px;white-space:nowrap}
.ss-subnav a{display:block;color:var(--ss-gold2);font-size:13.5px;padding:10px 11px;text-decoration:none}
.ss-subnav a:hover{color:#fff;text-decoration:underline}
.ss-page .rv,.ss-page .reveal{opacity:1!important;transform:none!important}
.ss-hero{position:relative;background:var(--ss-navy);color:#fff;font-family:var(--ss-body);overflow:hidden}
.ss-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.3}
.ss-hero-in{position:relative;padding-top:50px;padding-bottom:44px}
.ss-crumbs{font-size:13px;margin:0 0 14px;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px;color:var(--ss-gold2)}
.ss-crumbs a{color:var(--ss-gold2)}.ss-crumbs li+li:before{content:"/";margin-right:6px;opacity:.6}
.ss-hero h1{font-family:var(--ss-head);color:#fff;font-size:clamp(30px,4.4vw,52px);line-height:1.12;margin:0 0 12px;max-width:940px;font-weight:600;text-transform:none;letter-spacing:0}
.ss-meta{font-size:13.5px;color:var(--ss-gold2);margin:0}
.ss-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:44px;padding:38px 20px 20px;max-width:1180px;margin:0 auto;box-sizing:border-box}
.ss-article{font-family:var(--ss-body);color:#20263A;font-size:17px;line-height:1.75;min-width:0}
.ss-article h2{font-family:var(--ss-head);color:var(--ss-ink);font-size:clamp(25px,3vw,34px);line-height:1.2;margin:38px 0 12px;font-weight:600;text-transform:none;letter-spacing:0}
.ss-article h3{font-family:var(--ss-head);color:var(--ss-ink);font-size:22px;line-height:1.3;margin:26px 0 8px;font-weight:600;text-transform:none;letter-spacing:0}
.ss-article p{margin:0 0 15px}.ss-article ul,.ss-article ol{margin:0 0 16px;padding-left:24px;list-style:revert}.ss-article li{margin:0 0 7px}
.ss-article a{color:#8a6a2f;text-decoration:underline}
.ss-short{background:var(--ss-soft);border-left:5px solid var(--ss-gold);padding:16px 20px;border-radius:0 10px 10px 0;margin:0 0 24px;font-size:17.5px}
.ss-short b:first-child{display:block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#6d5428;margin-bottom:4px}
.ss-table-w{overflow-x:auto;margin:0 0 20px;border:1px solid var(--ss-line);border-radius:10px}
.ss-article table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.45;min-width:520px;background:#fff}
.ss-article th{background:var(--ss-navy);color:#fff;text-align:left;padding:10px 12px;font-weight:600}
.ss-article td{padding:10px 12px;border-top:1px solid var(--ss-line);vertical-align:top}
.ss-article tr:nth-child(even) td{background:#FBF9F4}
.ss-note{font-size:14px;color:#55596B;background:#f4f2ec;border-radius:8px;padding:11px 14px;margin:0 0 18px}
.ss-side{font-family:var(--ss-body);position:sticky;top:96px;align-self:start;display:flex;flex-direction:column;gap:16px}
.ss-card{background:var(--ss-navy);color:#fff;border-radius:14px;padding:20px;font-size:14.5px;line-height:1.5}
.ss-card img{width:68px;background:var(--ss-ivory);border-radius:10px;padding:4px;display:block;margin-bottom:10px}
.ss-card h3{font-family:'Cormorant Garamond',Georgia,serif;color:#fff;font-size:24px;margin:0 0 4px;line-height:1.15}
.ss-card .num{font-size:30px;color:var(--ss-gold);font-weight:800;line-height:1.1;margin:8px 0 0}
.ss-card .ss-btn{display:block;margin-top:9px}
.ss-rel{border:1px solid var(--ss-line);border-radius:14px;padding:16px 18px;font-size:14.5px;background:#fff}
.ss-rel h3{margin:0 0 8px;font-size:15px;color:var(--ss-navy);font-family:var(--ss-body)}.ss-rel a{display:block;padding:5px 0;color:#7a5c26}
.ss-sec{font-family:var(--ss-body);padding:44px 0;color:#20263A;font-size:16px;line-height:1.65}
.ss-sec h2{font-family:var(--ss-head);color:var(--ss-ink);font-size:clamp(26px,3.2vw,38px);line-height:1.2;margin:0 0 8px;font-weight:600;text-transform:none;letter-spacing:0}
.ss-sec-soft{background:var(--ss-soft)}
.ss-lede{margin:0 0 22px;max-width:800px;color:#3a3f52}
.ss-faq details{background:#fff;border:1px solid var(--ss-line);border-radius:10px;margin:0 0 9px;padding:0 16px}
.ss-faq summary{cursor:pointer;font-weight:700;padding:13px 0;color:var(--ss-navy);list-style-position:outside}
.ss-faq details p{margin:0 0 14px}
.ss-roi{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:24px;background:#fff;border:1px solid var(--ss-line);border-radius:16px;padding:24px}
.ss-field{margin:0 0 16px}.ss-field label{display:flex;justify-content:space-between;font-weight:700;font-size:14.5px;color:var(--ss-navy);margin:0 0 5px}
.ss-field output{color:#7a5c26}.ss-field input[type=range]{width:100%;accent-color:var(--ss-gold);height:26px}
.ss-qk{display:flex;flex-wrap:wrap;gap:6px}.ss-qk button{border:1px solid var(--ss-line);background:#fff;border-radius:7px;padding:6px 11px;font-size:13.5px;cursor:pointer;font-family:inherit}
.ss-qk button.on{background:var(--ss-navy);color:#fff;border-color:var(--ss-navy)}
.ss-res{background:var(--ss-navy);color:#fff;border-radius:12px;padding:20px}
.ss-res-big{font-size:clamp(30px,4vw,42px);font-weight:800;color:var(--ss-gold);line-height:1.1}
.ss-res dl{display:grid;grid-template-columns:1fr auto;gap:7px 14px;margin:14px 0 0;font-size:14.5px}.ss-res dd{margin:0;font-weight:700;text-align:right}
.ss-res .tot{border-top:1px solid rgba(255,255,255,.28);padding-top:8px;font-size:16px;color:var(--ss-gold2)}
.ss-bars{margin:14px 0 0}.ss-bar{display:grid;grid-template-columns:96px 1fr;gap:8px;align-items:center;font-size:12.5px;margin:0 0 5px}
.ss-bar i{display:block;height:13px;background:var(--ss-gold);border-radius:3px;transition:width .25s}.ss-bar.fd i{background:#8a90a8}
.ss-disc{font-size:13px;color:#5b6075;margin:12px 0 0;grid-column:1/-1}
.ss-map{height:430px;border-radius:14px;background:#e9e6dd;border:1px solid var(--ss-line);overflow:hidden;z-index:1}
.ss-map-big{height:680px}.ss-map-key{font-size:13.5px;color:#55596B;margin:9px 0 0}
.ss-form{display:grid;gap:10px;background:var(--ss-navy);padding:22px;border-radius:14px;color:#fff}
.ss-form label{font-size:13.5px;font-weight:600;display:block}
.ss-form input,.ss-form select{width:100%;padding:12px;border-radius:7px;border:1px solid #475078;background:#fff;color:#1a1f33;font-size:16px;font-family:inherit;margin-top:3px}
.ss-hp{position:absolute!important;left:-9999px!important;height:0;overflow:hidden}
.ss-form-note{font-size:12.5px;color:var(--ss-gold2);margin:0}
.ss-offer{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:30px;align-items:start}
.ss-offer-brand{display:flex;gap:18px;align-items:center;margin:0 0 16px}
.ss-offer-brand img{width:118px;background:var(--ss-ivory);border-radius:12px;padding:6px}
.ss-offer-brand .ss-word{color:#fff}
.ss-dark{background:linear-gradient(120deg,#141B33,var(--ss-navy));color:#fff}.ss-dark h2{color:#fff}.ss-dark .ss-lede{color:var(--ss-gold2)}
.ss-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:16px 0}
.ss-facts div{border:1px solid rgba(230,216,188,.3);border-radius:10px;padding:11px 13px;font-size:13.5px}.ss-facts b{display:block;font-size:21px;color:var(--ss-gold);line-height:1.2}
.ss-nap{font-size:14.5px;line-height:1.7}.ss-nap a{color:var(--ss-gold2)}
.ss-sources{font-size:14px}.ss-sources ol{padding-left:20px}.ss-sources a{word-break:break-word}
.ss-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px;padding:0;list-style:none;margin:0}
.ss-cards li{background:#fff;border:1px solid var(--ss-line);border-radius:12px;padding:17px}
.ss-cards a{font-weight:700;color:var(--ss-navy);text-decoration:none;font-size:16.5px;line-height:1.3;display:block}.ss-cards a:hover{text-decoration:underline}
.ss-cards small{display:block;margin:5px 0 0;color:#55596B;font-size:13.5px}
.ss-float{position:fixed;left:0;right:0;bottom:0;z-index:1200;display:none;grid-template-columns:1fr 1fr 1fr;font-family:system-ui,sans-serif}
.ss-float a{padding:13px 4px;text-align:center;font-weight:700;font-size:14px;color:#fff;background:var(--ss-navy);text-decoration:none}.ss-float a:nth-child(2){background:#128C4B}.ss-float a:nth-child(3){background:var(--ss-gold);color:#141B33}
@media(max-width:960px){.ss-layout,.ss-roi,.ss-offer{grid-template-columns:minmax(0,1fr)}.ss-side{position:static}
.ss-band-in{grid-template-columns:auto 1fr;gap:16px;padding-top:18px;padding-bottom:18px}.ss-band-cta{grid-column:1/-1;flex-direction:row;min-width:0}.ss-band-cta .ss-btn{flex:1}.ss-crest{width:86px}}
@media(max-width:768px){.ss-float{display:grid}body{padding-bottom:48px}.ss-article{font-size:16.5px}.ss-map-big{height:480px}.ss-map{height:340px}.ss-band-in{grid-template-columns:1fr;justify-items:center;text-align:center}.ss-chips{justify-content:center}.ss-band-cta{width:100%}.ss-crest{width:104px}.ss-offer-brand{flex-direction:column;text-align:center}}
/* Phones: keep the brand large but let the visitor reach the page content quickly. */
@media(max-width:640px){
.ss-band-in{grid-template-columns:72px minmax(0,1fr);justify-items:start;text-align:left;gap:12px;padding-top:12px;padding-bottom:12px}
.ss-crest{width:72px;border-radius:10px;padding:5px}.ss-word{font-size:27px}.ss-sub{font-size:12px;letter-spacing:.14em;margin:3px 0 0}
.ss-chips{grid-column:1/-1;justify-content:flex-start;font-size:12px}.ss-band-in>div:nth-child(2){display:contents}
.ss-word,.ss-sub{grid-column:2}.ss-band-in>a{grid-row:1/3}.ss-chips li:not(.hot):not(:nth-child(3)){display:none}
.ss-band-cta{grid-column:1/-1;flex-direction:row;width:100%}.ss-band-cta .ss-btn{padding:10px 6px;font-size:13px}
.ss-word,.ss-sub{text-align:left}
}
.ss-word,.ss-word b,.ss-sub{font-style:normal!important}

.ss-links{font-size:14px;line-height:2;margin:14px 0 0}.ss-links a{color:var(--ss-gold2);text-decoration:none;white-space:nowrap}.ss-links a:hover{text-decoration:underline}

/* 26 Nov 2026: homepage phone layout. Keep the hero readable and trim repeated engine blocks. */
@media(max-width:760px){
  body.ss-home{overflow-x:clip}
  body.ss-home h1,body.ss-home h1 *,body.ss-home .font-headline-serif{white-space:normal!important;overflow-wrap:normal!important}
  body.ss-home h1{max-width:100%!important;font-size:clamp(34px,10vw,44px)!important;line-height:1.08!important}
  body.ss-home main,body.ss-home main>section{width:100%!important;max-width:100vw!important;min-width:0!important}
  body.ss-home :is(.wrap,.container){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  body.ss-home main>section>*{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  body.ss-home #home,body.ss-home #home>*{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  body.ss-home #home *{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  body.ss-home p{white-space:normal!important;overflow-wrap:anywhere}
  body.ss-home #home .font-label-caps{white-space:normal!important;max-width:100%}
  body.ss-home #home .flex{flex-wrap:wrap!important}
  body.ss-home #home a[href="#projects"],body.ss-home #home a[href="#visit"]{display:flex!important;width:100%!important;min-height:48px;align-items:center;justify-content:center;white-space:normal!important}
  body.ss-home main>section{padding-top:24px!important;padding-bottom:24px!important}
  body.ss-home .ss-sec{padding-top:22px!important;padding-bottom:22px!important}
  body.ss-home #ss-home-offer{display:none!important}
  body.ss-home :is(small,.eyebrow,.label,.lab,.date,.src,.k,.roi-k,.status,.live,.loc,.meta,.tag,.chip,.badge,.plot,.brand-by,.scroll,.lib-tag,.plan-zoom-tag,.font-label-caps,.img-label,.side-rail,.btn-sm,.hero-qualifier){font-size:12px!important}
  body.ss-home [class*="text-[9"],body.ss-home [class*="text-[10"],body.ss-home [class*="text-[11"]{font-size:12px!important}
  body.ss-home .ss-btn,body.ss-home a,body.ss-home button{max-width:100%;overflow-wrap:anywhere}
  body.ss-home .ss-faq summary{min-height:44px;display:flex;align-items:center}
}
@media(max-width:760px){body.ss-home:has(main #homeMap) #ss-home-map{display:none!important}}
@media(max-width:760px){body.ss-home:has(main .leaflet-map) #ss-home-map,body.ss-home:has(main #pitMap) #ss-home-map{display:none!important}}
/* A native #roi calculator already contains the full figures; avoid its repeated shared copy on phones. */
@media(max-width:760px){body.ss-home:has(main #roi) #ss-roi{display:none!important}}

/* Inline offer box under the short answer (conversion). */
.ss-cta-inline{margin:0 0 24px;padding:16px 18px;border:2px solid var(--site-accent,#B39563);border-radius:12px;background:var(--site-soft,#F8F5EE);display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ss-cta-inline p{margin:0 0 4px;flex:1 1 100%;font-size:15px;line-height:1.5}
.ss-cta-inline .ss-btn{flex:1 1 220px;text-align:center}

/* 26 Nov 2026: keep every homepage guide card reachable in a compact swipe row. */
@media (max-width: 760px) {
  .ss-home .ss-cards { display:flex; overflow-x:auto; gap:10px; scroll-snap-type:x mandatory; padding-bottom:10px; -webkit-overflow-scrolling:touch; }
  .ss-home .ss-cards>li { flex:0 0 84%; scroll-snap-align:start; padding:12px 14px; }
}
/* ===== 26 Nov 2026: phone readability across all sites ===== */
@media (max-width: 760px) {
  .rv, .reveal, [class*="fade-up"] { opacity: 1 !important; transform: none !important; }
  .chip, .roi-chip, .ss-chips li, .badge, small, .label { font-size: 12.5px !important; }
  .num, .tot, .chip, .roi-chip, .font-headline-serif, .ss-res-big, .ss-facts b { white-space: nowrap; }
  .ss-page .ss-side .ss-card { display: none; }               /* the inline offer box already sits under the short answer */
  .ss-article { font-size: 16px; line-height: 1.7; }
  .ss-article h2 { font-size: 22px; line-height: 1.3; margin-top: 32px; }
  .ss-article table { font-size: 14px; }
  .ss-article td, .ss-article th { padding: 8px 6px; }
  .ss-faq summary { padding: 14px 0; font-size: 16px; }
  .ss-cta-inline .ss-btn { min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .ss-float a { min-height: 50px; display: flex; align-items: center; justify-content: center; }
  .ss-map { height: 300px !important; }
  img { max-width: 100%; height: auto; }
}

/* 26 Nov 2026 (review of Codex pass): shorter homepages on phones.
   Hide the shared city map when the page already has its own map, and the shared offer block when the page has its own enquiry/visit section.
   PHP homepages do not carry the ss-home class, so these target the ids directly. */
@media (max-width: 760px) {
  body:has(#fcmap) #ss-home-map, body:has(#homeMap) #ss-home-map, body:has(.corridor-map) #ss-home-map, body:has(#map) #ss-home-map { display: none !important; }
  body:has(#enquire) #ss-home-offer, body:has(#book-visit) #ss-home-offer, body:has(#visit) #ss-home-offer { display: none !important; }
  body:has(#roi) #ss-roi { display: none !important; }
}
/* 26 Nov 2026: phone readability for the other site designs (labels below 12px). */
@media (max-width: 760px) {
  .rf label, .rf .sub, .formula span, .yr1 span, .roi-note, .am span, .fcm-li span, .fm-src, .fcm-qbtn, .fm-lab, .fld label, .priv, .rera, .f-bottom p,
  .one-strip span, .plan-box .note, .hero-plan b, .badge span, .cap span, .legend span, .ess span, .fcm-qa button, .home-legend span, .field label, .fbot span,
  .mini-card span, .mini-card a { font-size: 12.5px !important; }
  .fcm-qbtn, .fcm-qa button { min-height: 40px; }
  .card-grid { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; }
  .card-grid > * { flex: 0 0 82% !important; scroll-snap-align: start; }
  .news-grid { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; }
  .news-grid > * { flex: 0 0 85% !important; scroll-snap-align: start; }
}

/* ===== 27 Nov 2026: compact phone rhythm for homepages (same design, phone-sized spacing) ===== */
@media (max-width: 760px) {
  :is(body.ss-home, body:has(.hero-editorial), body:has(section.hero)) :is(section, footer):not(:first-of-type) {
    padding-top: 36px !important; padding-bottom: 36px !important; }
  :is(body.ss-home, body:has(.hero-editorial), body:has(section.hero)) :is(section, footer):not(:first-of-type)
    img:not(.leaflet-container img):not(.leaflet-tile):not([src*="layout"]):not([src*="plan"]):not([src*="map"]):not([src*="logo"]):not([src*="crest"]):not([width="124"]):not([width="118"]):not([width="68"]) {
    max-height: 220px !important; object-fit: cover !important; }
  :is(body.ss-home, body:has(.hero-editorial), body:has(section.hero)) section:not(:first-of-type) :is(h2) {
    font-size: clamp(24px, 7vw, 30px) !important; line-height: 1.2 !important; margin-top: 0 !important; margin-bottom: 14px !important; }
  :is(body.ss-home, body:has(.hero-editorial), body:has(section.hero)) section:not(:first-of-type) :is(h3) {
    font-size: clamp(18px, 5vw, 22px) !important; line-height: 1.25 !important; margin-bottom: 8px !important; }
  :is(body.ss-home, body:has(.hero-editorial), body:has(section.hero)) section:not(:first-of-type) :is(p, ul, ol, figure, blockquote) {
    margin-top: 0 !important; margin-bottom: 14px !important; }
  :is(body.ss-home, body:has(.hero-editorial), body:has(section.hero)) section:not(:first-of-type) :is([class*="head"], [class*="intro"], .shead, .sec-head, .section-head) {
    margin-bottom: 20px !important; }
}