/* Vivanta Developers — site styles */
:root{
  --navy:#17341F;          /* deep forest, used where the old palette used navy */
  --navy-deep:#0C2114;
  --brand:#2A6B35;         /* Vivanta green, from the logo */
  --brand-dark:#17431F;
  --accent:#8E2A5F;        /* plum, the brochure's heading colour */
  --leaf:#7CB342;          /* the light green in the logo leaf */
  --ink:#16271B;
  --body:#5E6F62;
  --line:#E4DFD3;
  --wash:#F6F4EE;
  --white:#fff;
  --sand:#C2A77F;      /* the light off the aerial */
  --sand-pale:#EFE7D8;
  --radius:12px;
  --shadow:0 2px 6px rgba(22,39,27,.05), 0 16px 40px rgba(22,39,27,.08);
  --maxw:1180px;
  --display:"Newsreader",Georgia,"Times New Roman",serif;
  --text:"Archivo",system-ui,-apple-system,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--white);color:var(--body);font-family:var(--text);font-size:15.5px;line-height:1.62}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--display);color:var(--ink);margin:0;font-weight:700;text-wrap:balance;line-height:1.2}
h1{font-size:clamp(28px,4vw,46px)}
h2{font-size:clamp(24px,2.8vw,34px)}
h3{font-size:19px}
p{margin:0}
.wrap{max-width:var(--maxw);margin:0 auto;padding-inline:20px}
section{padding-block:40px}
section[id],div[id]{scroll-margin-top:96px}
@media (max-width:760px){section{padding-block:30px}}
.stack{display:flex;flex-direction:column;gap:14px}
.stack.lede{gap:8px}
.stack.lede h2{margin-top:2px}
.center{text-align:center}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* labels + buttons */
.label{font-family:var(--display);font-size:14px;font-weight:600;color:var(--brand);display:flex;align-items:center;gap:12px}
.label::after{content:"";height:2px;width:46px;background:var(--brand);opacity:.5}
.label.center{justify-content:center}
.pill{display:inline-block;background:var(--white);color:var(--brand);font-family:var(--display);font-weight:600;font-size:14px;
  padding:7px 22px;border-radius:999px;box-shadow:var(--shadow)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--display);font-weight:600;font-size:14px;
  letter-spacing:.04em;text-transform:uppercase;padding:12px 22px;border:1px solid transparent;cursor:pointer;white-space:nowrap}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-dark)}
.btn-outline{border-color:rgba(255,255,255,.75);color:#fff}
.btn-outline:hover{background:rgba(255,255,255,.12)}
.btn-dark{background:var(--navy);color:#fff}
.btn-ghost{border-color:var(--line);color:var(--ink);background:#fff}
.btn-round{border-radius:6px}

/* top bar + header */
.topbar{background:var(--wash);font-size:14px}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-block:0}
.topbar .welcome{background:var(--brand);color:#fff;padding:12px 40px 12px 20px;margin-left:-20px;
  clip-path:polygon(0 0,100% 0,calc(100% - 26px) 100%,0 100%)}
.topbar .welcome b{font-weight:600}
.topbar .social{display:flex;gap:14px;align-items:center;color:var(--navy);font-size:13px}
@media (max-width:860px){.topbar{display:none}}

.masthead{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid var(--line)}
.masthead .wrap{display:flex;align-items:center;gap:20px;padding-block:14px}
.logo{display:flex;flex-direction:column;line-height:1}
.logo b{font-family:var(--display);font-weight:700;font-size:23px;color:var(--navy);letter-spacing:-.01em}
.logo span{font-family:var(--display);font-size:11px;letter-spacing:.34em;color:#A2B49C;margin-top:4px}
nav.main{margin-left:auto;display:flex;align-items:center;gap:20px}
nav.main a{font-family:var(--display);font-weight:500;font-size:13.5px;letter-spacing:.02em;text-transform:uppercase;color:var(--navy);white-space:nowrap}
nav.main a:hover,nav.main a[aria-current="page"]{color:var(--accent)}
.has-sub{position:relative;padding-block:12px;margin-block:-12px}
.has-sub>a::after{content:" +";color:var(--accent)}
.submenu{position:absolute;top:100%;left:-16px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);
  min-width:220px;padding:8px 0;display:none}
.submenu a{display:block;padding:9px 18px;text-transform:none;letter-spacing:0;font-size:14px}
.has-sub:hover .submenu,.has-sub:focus-within .submenu{display:block}
.menu-toggle{display:none;margin-left:auto;background:none;border:1px solid var(--line);padding:10px 14px;font-size:18px;color:var(--navy);cursor:pointer}
@media (max-width:1200px){
  nav.main{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);
    flex-direction:column;align-items:flex-start;gap:0;padding:8px 20px 20px}
  nav.main.open{display:flex}
  nav.main a{padding:11px 0}
  .has-sub{padding-block:0;margin-block:0}
  .submenu{position:static;display:block;border:0;box-shadow:none;padding:0 0 0 14px}
  .submenu a{padding:7px 0;color:var(--body)}
  .menu-toggle{display:block}
  .masthead .btn{display:none}
}

/* hero */
.hero{position:relative;background:var(--navy-deep);overflow:hidden;display:grid;
  min-height:clamp(195px,20vw,278px)}
.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero .overlay{position:relative;z-index:1;display:flex;align-items:center;padding-block:26px;
  background:linear-gradient(90deg,rgba(4,18,34,.88) 0%,rgba(4,18,34,.72) 45%,rgba(4,18,34,.45) 100%)}
.hero h1{color:#fff;max-width:22ch}
.hero .eyebrow{font-family:var(--display);font-size:13px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;
  color:rgba(255,255,255,.82);display:flex;align-items:center;gap:14px;margin-bottom:12px}
.hero .eyebrow::after{content:"";width:56px;height:2px;background:var(--accent)}
.hero .actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-row{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;flex-wrap:wrap}
.hero-copy{flex:1 1 520px;max-width:760px}
@media (max-width:760px){.hero-row{align-items:flex-start}.hero-copy{flex:1 1 100%}}

/* inner banner */
.banner{position:relative;overflow:hidden;display:flex;align-items:center;
  min-height:clamp(112px,11.5vw,148px);
  background:linear-gradient(112deg,#0E2A1B 0%,#2F7D32 54%,#1E5A23 100%)}
/* fine diagonal weave so the band reads as a surface, not a flat slab */
.banner::before{content:"";position:absolute;inset:0;pointer-events:none;
  background-image:repeating-linear-gradient(112deg,rgba(255,255,255,.055) 0 1px,transparent 1px 20px)}
/* soft green glow anchoring the right side to the brand accent */
.banner::after{content:"";position:absolute;top:-80%;right:-10%;width:38%;height:260%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(47,163,107,.26),rgba(47,163,107,0) 72%)}
.banner .wrap{position:relative;z-index:1;width:100%;padding-block:24px}
.banner h1{color:#fff;font-size:clamp(25px,3vw,36px)}
.banner-sub{color:rgba(255,255,255,.74);font-size:14.5px;margin-top:7px;max-width:58ch}

/* cards */
.grid{display:grid;gap:20px}
.g3{grid-template-columns:repeat(3,1fr)}
.g2{grid-template-columns:repeat(2,1fr)}
@media (max-width:900px){.g3{grid-template-columns:1fr}.g2{grid-template-columns:1fr}}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.card h3{margin-bottom:10px}
.feature-cards{margin-top:-46px;position:relative;z-index:5}
.feature-cards .card{box-shadow:var(--shadow)}
.icon{width:40px;height:40px;border-radius:12px;background:#EDF5EA;color:var(--accent);display:flex;align-items:center;
  justify-content:center;font-family:var(--display);font-weight:700;margin-bottom:12px}

.split{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}
@media (max-width:900px){.split{grid-template-columns:1fr;gap:32px}}
.rounded{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}

.service{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.service img{height:165px;object-fit:cover;width:100%}
.service .body{padding:22px;display:flex;flex-direction:column;gap:10px;flex:1}
.service .body h3{text-align:center}
.service .body p{text-align:center;flex:1}
.service .btn{align-self:center}

/* dark band */
.dark{background:linear-gradient(120deg,#0E2A1B 0%,#2F7D32 100%);color:#CBDDC6}
.dark h2,.dark h3{color:#fff}
.dark .label{color:#8FC489}
.dark .label::after{background:#8FC489}
.fleet{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:10px}
.fleet li{display:flex;gap:12px}
.fleet li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent);margin-top:11px;flex:none}

/* stats */
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}
.stat b{font-family:var(--display);font-size:42px;color:#fff;line-height:1;font-weight:700}
.stat b i{color:var(--accent);font-style:normal}
.stat span{display:block;margin-top:8px;color:#B6CDB0}

/* steps */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:28px}
@media (max-width:900px){.steps{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.steps{grid-template-columns:1fr}}
.step{text-align:center}
.step b{font-family:var(--display);font-size:26px;color:var(--navy);display:block}
.step .rule{width:34px;height:3px;background:var(--accent);margin:6px auto 12px}

/* project highlight */
.project-card{display:grid;grid-template-columns:1.15fr 1fr;gap:0;align-items:center;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;box-shadow:var(--shadow)}
.project-card img{width:100%;height:auto;object-fit:contain;align-self:center}
.project-card .body{padding:32px;display:flex;flex-direction:column;gap:16px;justify-content:center}
@media (max-width:900px){.project-card{grid-template-columns:1fr}}
.badges{display:flex;flex-wrap:wrap;gap:8px}
.badge{font-family:var(--display);font-size:11.5px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;
  background:#EDF5EA;color:var(--brand);padding:6px 12px;border-radius:6px;white-space:nowrap}

/* tables + specs */
.spec{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.spec th{text-align:left;font-family:var(--display);font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--body);
  font-weight:600;padding-bottom:12px;border-bottom:1px solid var(--line)}
.spec td{padding:11px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.spec td:last-child,.spec th:last-child{text-align:right}
.spec tr:last-child td{font-weight:600;border-bottom:0}
.record-band{background:var(--wash);border-block:1px solid var(--line);padding-block:20px}
.record{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.record > div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px 17px;
  display:flex;flex-direction:column;gap:7px;height:100%}
.record dt{font-family:var(--display);font-size:10.5px;letter-spacing:.11em;text-transform:uppercase;
  color:var(--body);font-weight:600}
.record dd{margin:0;color:var(--ink);font-size:14px;line-height:1.5;flex:1}
.record dd .code{font-size:13px;letter-spacing:-.01em;white-space:nowrap}
.record .doc{display:inline-flex;align-items:center;gap:6px;margin-top:auto;align-self:flex-start;
  font-family:var(--display);font-size:12.5px;font-weight:600;color:var(--brand);
  border:1px solid var(--line);border-radius:6px;padding:6px 11px}
.record .doc:hover{border-color:var(--accent);color:var(--accent)}
.record dd .doc:hover{border-color:var(--accent);color:var(--accent)}
.tick{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:2px 30px}
@media (max-width:640px){.tick{grid-template-columns:1fr}}
.tick li{padding:8px 0;border-bottom:1px solid var(--line);display:flex;gap:12px}
.tick li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent);margin-top:11px;flex:none}
.dist{list-style:none;margin:0;padding:0}
.dist li{display:flex;justify-content:space-between;gap:18px;padding:9px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.dist span{color:var(--body);font-variant-numeric:tabular-nums;white-space:nowrap}
.group{font-family:var(--display);font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);margin:28px 0 6px}
.group:first-child{margin-top:0}
.dist-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:4px 34px}
.dist-block .group{margin-top:0}
@media (max-width:760px){.dist-grid{grid-template-columns:1fr}}
figure{margin:0;position:relative}
.impression{position:absolute;top:12px;right:12px;background:rgba(11,28,48,.72);color:#fff;font-family:var(--display);
  font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;padding:5px 10px;border-radius:4px}

/* testimonials */
.quote{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;position:relative;box-shadow:var(--shadow)}
.quote p{color:var(--body)}
.quote b{display:block;margin-top:14px;font-family:var(--display);color:var(--ink)}

/* contact */
.contact-strip{display:grid;grid-template-columns:1fr 1fr}
@media (max-width:760px){.contact-strip{grid-template-columns:1fr}}
.contact-strip div{padding:24px 20px;color:#fff}
.contact-strip .a{background:var(--brand)}
.contact-strip .b{background:var(--navy-deep)}
.contact-strip small{display:block;opacity:.8;font-size:13px}
.contact-strip b{font-family:var(--display);font-size:22px}
.infocard{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px;display:flex;gap:18px;align-items:flex-start;box-shadow:var(--shadow)}
.infocard .ic{width:44px;height:44px;border-radius:10px;background:var(--brand);flex:none}
.infocard .ic.teal{background:#55803F}
.infocard .ic.sea{background:#6E9B4E}
.infocard h4{font-family:var(--display);color:var(--ink);margin:0 0 4px;font-size:17px}
form.enquiry{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow);display:grid;gap:11px}
form.enquiry h3{text-align:center;margin-bottom:6px}
/* in a two-column split the form must not float in the middle of a long text
   column: pin it to the top and let it follow the scroll */
@media (min-width:901px){
  .split > form.enquiry{align-self:start;position:sticky;top:92px}
}
form.enquiry input,form.enquiry textarea{width:100%;border:1px solid var(--line);background:var(--wash);border-radius:8px;
  padding:12px 14px;font-family:var(--text);font-size:15px;line-height:1.35;color:var(--ink)}
form.enquiry textarea{min-height:96px;resize:vertical}
form.enquiry .note{font-size:13px;color:var(--body);text-align:center}

/* footer */
footer{background:var(--navy-deep);color:#B0C7AA;padding-block:40px 24px;font-size:14.5px}
footer h4{font-family:var(--display);color:#fff;font-size:16px;margin:0 0 16px}
footer a:hover{color:#fff}
/* Equal-width tracks made the gaps look unequal: the link columns are much
   narrower than their track, so the slack pooled inside column two and read
   as a 270px gap next to a 48px one. Sizing the link columns to their content
   and letting space-between share out the remainder makes the gaps equal by
   construction, and puts the last column on the right margin. No fr here —
   an fr would swallow the free space before space-between could place it. */
.foot-grid{display:grid;grid-template-columns:minmax(260px,430px) max-content max-content;
  justify-content:space-between;column-gap:40px;row-gap:30px}
@media (max-width:900px){.foot-grid{grid-template-columns:1fr 1fr;justify-content:start;column-gap:30px}}
@media (max-width:560px){.foot-grid{grid-template-columns:1fr;justify-content:start}}
.foot-grid ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.legal{border-top:1px solid rgba(255,255,255,.12);margin-top:28px;padding-top:18px;font-size:12.5px;line-height:1.7;color:#99B193}
.rera{font-size:12.5px;color:#CBDDC6}

/* sticky mobile cta */
.sticky{position:fixed;left:0;right:0;bottom:0;z-index:50;display:none;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  background:#fff;border-top:1px solid var(--line)}
.sticky .btn{flex:1}
@media (max-width:700px){.sticky{display:flex}body{padding-bottom:78px}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---------- now selling strip ---------- */
.now-selling{display:inline-flex;align-items:center;gap:9px;font-family:var(--display);font-weight:600;font-size:13.5px;
  color:#fff;background:linear-gradient(135deg,#2F7D32 0%,#4E9B3C 55%,#7CB342 100%);
  border-radius:999px;padding:6px 15px;position:relative;overflow:hidden;
  box-shadow:0 2px 10px rgba(47,163,107,.30);transition:box-shadow .25s ease,transform .25s ease}
.now-selling .ns-rot,.now-selling .dot,.now-selling .arw{position:relative;z-index:1}
/* rotating message: lines flip up through a fixed-height window */
.ns-rot{display:block;height:1.5em;line-height:1.5;overflow:hidden}
.ns-line{position:absolute;left:0;top:0;line-height:1.5;white-space:nowrap;opacity:0;transform:translateY(105%);
  transition:opacity .4s ease,transform .5s cubic-bezier(.22,.7,.28,1)}
.ns-line.is-on{opacity:1;transform:none}
.ns-line.is-out{opacity:0;transform:translateY(-105%)}
/* light sweeps across the pill every few seconds */
.now-selling::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:42%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);
  transform:skewX(-18deg);animation:sheen 6s cubic-bezier(.45,0,.15,1) infinite}
@keyframes sheen{0%{left:-60%}55%,100%{left:135%}}
.now-selling:hover{color:#fff;transform:translateY(-1px);box-shadow:0 4px 16px rgba(47,163,107,.45)}
.now-selling .arw{display:inline-block;transition:transform .25s ease}
.now-selling:hover .arw{transform:translateX(4px)}
.now-selling .dot{width:8px;height:8px;border-radius:50%;background:#fff;flex:none;box-shadow:0 0 0 0 rgba(255,255,255,.75);
  animation:pulse 2.4s infinite}
@keyframes pulse{70%{box-shadow:0 0 0 7px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}

/* ---------- scroll reveal ---------- */
.js [data-reveal]{opacity:0;transform:translateY(18px)}
.js [data-reveal].is-in{opacity:1;transform:none;
  transition:opacity .65s ease,transform .65s cubic-bezier(.22,.7,.28,1)}

/* ---------- hover ---------- */
.btn{transition:background .2s ease,color .2s ease,transform .18s ease,box-shadow .2s ease}
.btn-primary:hover,.btn-dark:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(16,42,74,.22)}
.btn-ghost:hover{border-color:var(--accent);color:var(--accent);transform:translateY(-2px)}

.card,.quote,.infocard{transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.card:hover,.quote:hover,.infocard:hover{transform:translateY(-5px);border-color:#D4E3CE;
  box-shadow:0 10px 20px rgba(16,42,74,.07),0 24px 48px rgba(16,42,74,.09)}

.service{transition:transform .28s ease,box-shadow .28s ease}
.service img{transition:transform .6s cubic-bezier(.22,.7,.28,1)}
.service:hover{transform:translateY(-5px);box-shadow:0 10px 20px rgba(16,42,74,.07),0 24px 48px rgba(16,42,74,.09)}
.service:hover img{transform:scale(1.06)}

.project-card img{transition:transform .7s cubic-bezier(.22,.7,.28,1)}
.project-card:hover img{transform:scale(1.04)}
.rounded img{transition:transform .7s cubic-bezier(.22,.7,.28,1)}
.rounded:hover img{transform:scale(1.03)}

nav.main a{position:relative}
nav.main > a::after,.has-sub > a::before{content:"";position:absolute;left:0;bottom:-6px;height:2px;width:0;
  background:var(--accent);transition:width .25s ease}
nav.main > a:hover::after,.has-sub > a:hover::before{width:100%}
.has-sub > a::before{bottom:-6px}
@media (max-width:1200px){nav.main > a::after,.has-sub > a::before{display:none}}

.dist li{transition:color .2s ease}
.dist li:hover{color:var(--accent)}
.spec tbody tr{transition:background .2s ease}
.spec tbody tr:hover{background:#F2F7F0}
.fleet li,.tick li{transition:transform .2s ease}
.fleet li:hover,.tick li:hover{transform:translateX(4px)}

.badge{transition:background .2s ease,color .2s ease}
.badge:hover{background:var(--brand);color:#fff}

footer a{transition:color .2s ease,padding-left .2s ease}
footer a:hover{padding-left:3px}

@media (prefers-reduced-motion:reduce){
  .js [data-reveal]{opacity:1!important;transform:none!important}
  *{transition:none!important;animation:none!important}
}

/* ================= motion upgrades ================= */

/* scroll progress */
.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;z-index:60;
  background:linear-gradient(90deg,var(--accent),#9CCB7E);transition:width .12s linear}

/* hero: slow drift + staged entrance */
.hero>img{animation:kenburns 22s ease-out infinite alternate}
@keyframes kenburns{from{transform:scale(1)}to{transform:scale(1.07)}}
.js .hero .eyebrow,.js .hero h1,.js .hero .hero-copy p,.js .hero .actions{
  opacity:0;animation:riseIn .9s cubic-bezier(.22,.7,.28,1) forwards}
.js .hero .eyebrow{animation-delay:.10s}
.js .hero h1{animation-delay:.22s}
.js .hero .hero-copy p{animation-delay:.34s}
.js .hero .actions{animation-delay:.46s}
@keyframes riseIn{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}

/* headings wipe up instead of plain fade */
.js h2[data-reveal]{opacity:1;transform:none}
.js h2[data-reveal] > .wipe{display:block;clip-path:inset(0 0 105% 0)}
.js h2[data-reveal].is-in > .wipe{clip-path:inset(0 0 -10% 0);
  transition:clip-path .85s cubic-bezier(.22,.7,.28,1)}

/* images wipe open */
.js figure.rounded[data-reveal] img,.js .plan[data-reveal] img{clip-path:inset(0 0 100% 0)}
.js figure.rounded[data-reveal].is-in img,.js .plan[data-reveal].is-in img{
  clip-path:inset(0 0 0 0);transition:clip-path .95s cubic-bezier(.22,.7,.28,1) .05s}

/* parallax drift on paired images */
@media (min-width:900px){.split figure img{will-change:transform}}

/* buttons grow an arrow */
.btn-primary::after,.btn-dark::after{content:"\2192";display:inline-block;
  max-width:0;opacity:0;transform:translateX(-4px);overflow:hidden;
  transition:max-width .25s ease,opacity .25s ease,transform .25s ease}
.btn-primary:hover::after,.btn-dark:hover::after{max-width:1.4em;opacity:1;transform:translateX(0)}

/* floating whatsapp, desktop */
.float-wa{position:fixed;right:22px;bottom:22px;z-index:45;display:none;align-items:center;gap:10px;
  background:#25D366;color:#06301A;font-family:var(--display);font-weight:600;font-size:14px;
  padding:13px 20px;border-radius:999px;box-shadow:0 10px 26px rgba(6,48,26,.28);
  transform:translateY(12px);opacity:0;transition:transform .35s ease,opacity .35s ease,box-shadow .25s ease}
.float-wa.show{transform:none;opacity:1}
.float-wa:hover{box-shadow:0 14px 34px rgba(6,48,26,.36)}
@media (min-width:701px){.float-wa{display:inline-flex}}

/* layout plan opens full screen */
.plan img{cursor:zoom-in}
.lightbox{position:fixed;inset:0;z-index:70;background:rgba(7,18,30,.93);display:flex;align-items:center;
  justify-content:center;padding:28px;opacity:0;pointer-events:none;transition:opacity .3s ease;cursor:zoom-out}
.lightbox.open{opacity:1;pointer-events:auto}
.lightbox img{max-width:min(1400px,96vw);max-height:92vh;width:auto;object-fit:contain;
  transform:scale(.97);transition:transform .35s cubic-bezier(.22,.7,.28,1)}
.lightbox.open img{transform:scale(1)}
.lightbox .hint{position:absolute;bottom:20px;left:0;right:0;text-align:center;color:#A7C0A1;
  font-family:var(--mono,var(--display));font-size:12px;letter-spacing:.1em;text-transform:uppercase}

/* availability table */
#availability .spec thead th{background:var(--wash);padding-bottom:12px}
#availability .spec tbody tr:first-child td{padding-top:14px}

@media (prefers-reduced-motion:reduce){
  .hero>img{animation:none}
  .js .hero .eyebrow,.js .hero h1,.js .hero .hero-copy p,.js .hero .actions{opacity:1;animation:none}
  .js h2[data-reveal] > .wipe,.js figure.rounded[data-reveal] img,.js .plan[data-reveal] img{clip-path:none!important}
  .now-selling::after{animation:none;display:none}
  .now-selling .dot{animation:none}
  .ns-line{transition:none}
  .float-wa{transform:none;opacity:1}
}

/* ================= forms, modals, map ================= */
form.enquiry select{width:100%;border:1px solid var(--line);background:var(--wash);border-radius:8px;
  padding:12px 14px;font-family:var(--text);font-size:15px;line-height:1.35;color:var(--ink);-webkit-appearance:none;appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,var(--body) 50%),linear-gradient(135deg,var(--body) 50%,transparent 50%);
  background-position:calc(100% - 20px) 52%,calc(100% - 15px) 52%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}

.map-embed{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.map-embed iframe{display:block;width:100%;height:280px;border:0}
.map-embed.tall iframe{height:clamp(300px,26vw,360px)}

.modal{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:20px;
  background:rgba(7,18,30,.72);opacity:0;pointer-events:none;transition:opacity .25s ease}
.modal.open{opacity:1;pointer-events:auto}
.modal-card{background:#fff;border-radius:16px;width:min(460px,100%);max-height:92vh;overflow:auto;
  padding:30px;box-shadow:0 30px 70px rgba(7,18,30,.35);transform:translateY(14px) scale(.98);
  transition:transform .3s cubic-bezier(.22,.7,.28,1)}
.modal.open .modal-card{transform:none}
.modal-card h3{margin-bottom:6px}
.modal-card .sub{font-size:14.5px;margin-bottom:18px}
.modal-card form{display:grid;gap:11px}
.modal-card input,.modal-card select{width:100%;border:1px solid var(--line);background:var(--wash);border-radius:8px;
  padding:12px 14px;font-family:var(--text);font-size:15px;line-height:1.35;color:var(--ink);height:46px}
/* a native select sizes itself, so it comes out shorter than the inputs beside
   it: strip the native chrome and draw the same arrow the page forms use */
.modal-card select{-webkit-appearance:none;appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,var(--body) 50%),linear-gradient(135deg,var(--body) 50%,transparent 50%);
  background-position:calc(100% - 20px) 52%,calc(100% - 15px) 52%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}
.modal-close{position:absolute;top:14px;right:16px;background:none;border:0;font-size:24px;line-height:1;
  color:var(--body);cursor:pointer;padding:6px}
.modal-card{position:relative}
.modal-note{font-size:12.5px;color:var(--body);text-align:center;margin-top:4px}
.modal-done{text-align:center;padding:10px 0}
.modal-done .tick-mark{width:52px;height:52px;border-radius:50%;background:#EAF4E4;color:#2F7D32;
  display:flex;align-items:center;justify-content:center;font-size:26px;margin:0 auto 14px}

/* ---------------------------------------------------------------- additions
   Added when the static pages became a real application. */

/* Keyboard users can jump past the navigation; nobody else ever sees this. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand, #2F7D32);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Honeypot. A person never sees this field, so anything that fills it in is a
   bot and the submission is dropped. It must stay invisible and unfocusable —
   hidden with position rather than display:none, which some bots detect. */
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Validation message above the enquiry form. */
.form-error {
  background: #fdecea;
  border: 1px solid #f2c3bf;
  color: #8c1d18;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  margin: 0 0 12px;
}

/* Gallery tiles: the source images are brochure crops with mixed aspect
   ratios, so constrain them to one shape rather than letting rows go ragged. */
.gallery-grid figure{margin:0}
.gallery-grid img{aspect-ratio:4/3;object-fit:cover;width:100%}
.gallery-grid figcaption{padding:12px 14px;font-size:13.5px;color:var(--body)}

/* ---------------------------------------------------------------- plot map */
.pmap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start;margin-top:22px}
@media (max-width:900px){.pmap{grid-template-columns:minmax(0,1fr)}}
.pmap-sheet{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.pmap-canvas{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.pmap-canvas svg{display:block;width:100%;height:auto;touch-action:manipulation}
@media (max-width:760px){.pmap-canvas svg{min-width:690px}}
.pmap-foot{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;
  border-top:1px solid var(--line);padding:9px 14px;font-size:12.5px;color:var(--body)}
.pmap-scale{display:flex;align-items:center;gap:8px;flex:0 0 auto;white-space:nowrap}
.pmap-scale i{display:block;height:7px;border:1px solid var(--body);border-top:none;width:60px;flex:0 0 auto}
.pmap-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.pmap-chip{font-family:var(--display);font-size:13px;font-weight:600;border:1px solid var(--line);background:var(--white);
  color:var(--ink);border-radius:999px;padding:7px 14px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;line-height:1}
.pmap-chip:hover{border-color:var(--brand)}
.pmap-chip[aria-pressed="true"]{background:var(--wash);border-color:var(--brand);color:var(--brand-dark)}
.pmap-chip .sw{width:10px;height:10px;border-radius:2px;display:inline-block}
.pmap-chip .ct{font-size:12px;color:var(--body);font-weight:500}
.pmap-find{margin-left:auto;display:flex;align-items:center;gap:8px}
.pmap-find label{font-family:var(--display);font-size:13px;font-weight:600;color:var(--body)}
.pmap-find input{font-family:var(--text);font-size:15px;width:88px;padding:7px 10px;border:1px solid var(--line);
  border-radius:9px;background:var(--white);color:var(--ink)}
.pmap-card{background:var(--wash);border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.pmap-card + .pmap-card{margin-top:14px}
.pmap-card h3{font-size:13px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--body);margin-bottom:12px}
.pmap-no{font-family:var(--display);font-size:38px;font-weight:700;line-height:1;color:var(--ink)}
.pmap-no sup{font-size:17px;color:var(--accent);vertical-align:super}
.pmap-klass{font-family:var(--display);font-size:14px;font-weight:600;margin-top:6px}
.pmap-dl{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:14px 0 0;font-size:14px}
.pmap-dl dt{color:var(--body)}
.pmap-dl dd{margin:0;text-align:right;color:var(--ink);font-variant-numeric:tabular-nums}
.pmap-hint{font-size:14px;color:var(--body);margin:0}
.pmap-note{font-size:12.5px;color:var(--body);margin:14px 0 0;line-height:1.55}
.pmap g.plot path{stroke:var(--white);stroke-width:.35;cursor:pointer;transition:fill-opacity .12s}
.pmap g.plot text{font-size:3.1px;fill:var(--ink);text-anchor:middle;pointer-events:none;
  paint-order:stroke;stroke:var(--white);stroke-width:.5px}
.pmap g.plot.dim path{fill-opacity:.12}
.pmap g.plot.dim text{opacity:.28}
.pmap g.plot.on path{stroke:var(--ink);stroke-width:.8}
.pmap g.plot:hover path{stroke:var(--ink);stroke-width:.7}
.pmap .pl-road{stroke:#C7D2C2;stroke-width:.3;fill:none}
.pmap .pl-bound{stroke:var(--brand);stroke-width:1.1;fill:none}
.pmap .pl-parcel text{font-family:var(--display);font-size:3.1px;font-weight:600;fill:var(--body);text-anchor:middle}
.pmap .pl-parcel tspan.a{font-size:2.4px;font-weight:400}

/* artist's impression label — sits over any image that is not a photograph of the built site */
.impression{position:absolute;right:12px;bottom:10px;z-index:2;margin:0;
  height:fit-content;align-self:end;justify-self:end;
  padding:4px 10px;border-radius:999px;background:rgba(14,42,27,.78);
  font-family:var(--display);font-size:11px;font-weight:500;letter-spacing:.08em;
  color:#fff;pointer-events:none}
figure.rounded{position:relative}
figure.rounded .impression{right:14px;bottom:12px}

/* ------------------------------------------------------- today / in time */
.tn-switch{display:inline-flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:999px;
  background:var(--white);margin:0 auto 22px;display:flex;width:fit-content}
.tn-btn{font-family:var(--display);font-size:14px;font-weight:600;border:0;background:transparent;
  color:var(--body);border-radius:999px;padding:9px 20px;cursor:pointer;line-height:1;transition:background .15s,color .15s}
.tn-btn[aria-pressed="true"]{background:var(--brand);color:#fff}
.tn-btn:not([aria-pressed="true"]):hover{color:var(--ink)}
.tn-grid{gap:20px}
.tn-card{margin:0}
.tn-frame{position:relative;border-radius:var(--radius);overflow:hidden;display:grid;background:var(--wash);
  aspect-ratio:1176/912}
.tn-img{grid-area:1/1;width:100%;height:100%;object-fit:cover;transition:opacity .35s ease}
.tn-future{opacity:0}
#then-now[data-state="future"] .tn-future{opacity:1}
#then-now[data-state="future"] .tn-today{opacity:0}
.tn-card figcaption{margin-top:10px;display:flex;flex-direction:column;gap:2px}
.tn-card figcaption b{font-family:var(--display);font-size:16px;color:var(--ink)}
.tn-card figcaption span{font-size:14px;color:var(--body)}
.tn-note{max-width:78ch}
@media (max-width:760px){.tn-grid{gap:16px}.tn-btn{font-size:13.5px;padding:8px 16px}}
@media (prefers-reduced-motion:reduce){.tn-img{transition:none}}
/* some source images carry their own caption bottom-right; keep ours clear of it */
.tn-frame .impression{top:10px;bottom:auto;align-self:start}

/* ----------------------------------------------- full-bleed hero + record strip */
.hero-full{position:relative;display:grid;min-height:min(78vh,660px);isolation:isolate;overflow:hidden}
.hero-full>img{grid-area:1/1;width:100%;height:100%;object-fit:cover;object-position:50% 46%}
.hero-scrim{grid-area:1/1;background:
  linear-gradient(180deg, rgba(12,33,20,.46) 0%, rgba(12,33,20,.10) 38%, rgba(12,33,20,.72) 100%)}
.hero-text{grid-area:1/1;align-self:end;position:relative;z-index:2;padding-block:0 54px}
.hero-eyebrow{font-family:var(--text);font-size:12.5px;font-weight:600;letter-spacing:.2em;
  text-transform:uppercase;color:var(--sand);margin:0 0 14px}
.hero-full h1{font-family:var(--display);color:#fff;font-weight:400;letter-spacing:-.015em;
  font-size:clamp(30px,4.6vw,60px);line-height:1.12;max-width:20ch;text-wrap:balance}
.hero-sub{color:rgba(255,255,255,.88);max-width:54ch;margin-top:18px;font-size:16.5px}
.hero-cta{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin-top:26px}
.hero-link{font-family:var(--text);font-weight:600;font-size:15px;color:#fff;
  border-bottom:1px solid rgba(255,255,255,.45);padding-bottom:3px}
.hero-link:hover{border-bottom-color:#fff}
.hero-full .impression{z-index:3;top:auto;bottom:10px;align-self:end}
@media (max-width:760px){
  .hero-full{min-height:70vh}
  .hero-text{padding-block:0 36px}
  .hero-full h1{max-width:16ch}
}

.record-strip{background:var(--navy);padding-block:0}
.record-strip dl{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0}
.record-strip dl>div{padding:26px 26px 28px;border-right:1px solid rgba(255,255,255,.12)}
.record-strip dl>div:last-child{border-right:0}
.record-strip dt{font-family:var(--text);font-size:11.5px;font-weight:600;letter-spacing:.16em;
  text-transform:uppercase;color:var(--sand);margin-bottom:9px}
.record-strip dd{margin:0;color:#EDF1EA;font-size:15px;line-height:1.45}
@media (max-width:900px){
  .record-strip dl{grid-template-columns:repeat(2,1fr)}
  .record-strip dl>div{border-bottom:1px solid rgba(255,255,255,.12)}
  .record-strip dl>div:nth-child(2n){border-right:0}
  .record-strip dl>div:nth-last-child(-n+2){border-bottom:0}
}
@media (max-width:520px){
  .record-strip dl{grid-template-columns:1fr}
  .record-strip dl>div{border-right:0}
  .record-strip dl>div:nth-last-child(-n+2){border-bottom:1px solid rgba(255,255,255,.12)}
  .record-strip dl>div:last-child{border-bottom:0}
}

/* the serif wants a touch less weight than the old geometric sans */
h1,h2,h3,h4{font-weight:500;letter-spacing:-.01em}
.label{font-family:var(--text);font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
.btn{font-family:var(--text);font-weight:600;letter-spacing:.01em}
/* the RERA number is one long token; let it wrap instead of forcing the grid track wider */
.record-strip dl>div{min-width:0}
.record-strip dd{overflow-wrap:anywhere}
/* lift the eyebrow off a bright sky */
.hero-eyebrow{color:#fff;text-shadow:0 1px 10px rgba(12,33,20,.75)}
.hero-scrim{background:linear-gradient(180deg, rgba(12,33,20,.58) 0%, rgba(12,33,20,.14) 34%, rgba(12,33,20,.78) 100%)}

/* ======================================================================
   Pass 3 — pacing, image discipline, and the before/after viewer.

   Written against a specific complaint: sections ran together with dead
   air between them, pictures were tall enough to need a scroll of their
   own, and two of the lists looked like raw markup.

   The rule applied throughout: a section is a screenful or less, every
   image is cropped to a band rather than given its natural height, and
   the boundary between one section and the next is drawn, not implied.
   ====================================================================== */

:root{--head:78px}                              /* masthead height, measured */
@media (max-width:1200px){:root{--head:72px}}   /* the compact bar */

/* ---- 1. pacing --------------------------------------------------------- */
section{padding-block:34px}
@media (max-width:760px){section{padding-block:26px}}

/* Every join between sections is drawn. A background change on its own was
   too soft to read as a boundary, and most joins have no change at all. */
/* `+` broke wherever a partial emitted its <script> between two sections,
   which is why two joins on the project page had no rule. `~` matches every
   section that has a section before it, script tags or not. */
main > section ~ section,
main > .record-strip ~ section,
main > section ~ .record-strip{border-top:1px solid var(--line)}
.dark + section,section + .dark,.dark{border-top-color:rgba(255,255,255,.14)}

.stack{gap:11px}
.stack.lede{gap:6px}
.split{gap:40px;align-items:center}
.grid{gap:16px}
.record-band{padding-block:16px}
.lead{font-size:16px;line-height:1.58}
/* p is reset to margin:0 globally, so a block that the panel has split into
   two paragraphs would otherwise run together into one wall of text. Scoped
   to .lead: nothing else on the site puts two paragraphs in one element. */
.lead p + p{margin-top:13px}
.wrap.stack.lede + .wrap{margin-top:20px!important}
h2{font-size:clamp(23px,2.5vw,31px)}
h2,h3{text-wrap:pretty}
.nowrap{white-space:nowrap}
.note{font-size:13px;line-height:1.5}

/* ---- 2. hero fills the first screen exactly ----------------------------
   100svh is the viewport with the mobile browser chrome showing, so the
   hero never hides behind an address bar that appears on scroll.
   The image is 1700x1071; left alone its intrinsic height sized the grid
   row, pushed the copy out through the bottom of the clip and took the
   buttons with it. Pin the row to the container instead. */
.hero-full{min-height:calc(100svh - var(--head));max-height:calc(100svh - var(--head));
  grid-template-rows:minmax(0,1fr)}
.hero-full>img{min-height:0}
.hero-full h1{max-width:none;font-size:clamp(28px,3.9vw,50px)}
.hero-text{padding-block:0 clamp(28px,4vh,48px)}
.hero-sub{margin-top:14px;font-size:16px}
.hero-cta{margin-top:20px}
.hero-scrim{background:linear-gradient(180deg,
  rgba(12,33,20,.58) 0%, rgba(12,33,20,.12) 30%,
  rgba(12,33,20,.55) 72%, rgba(12,33,20,.86) 100%)}
@media (max-height:520px){.hero-full{min-height:440px;max-height:none}}

/* ---- 3. no image taller than a glance ---------------------------------
   A 4:3 render at full column width is close to 900px tall, which is a
   screen on its own. Photographs are cropped to a band; drawings keep
   their proportions but are capped and centred. */
.band-img{height:clamp(200px,30vh,330px);width:100%;object-fit:cover;object-position:50% 58%}
.plan img,.fit-img{max-height:clamp(240px,42vh,400px);width:auto;max-width:100%;
  margin-inline:auto;object-fit:contain}
/* photographs in a split column are cropped to keep the pair level; drawings
   carry their own .fit-img rule and must not be cropped at all */
.split figure.rounded:not(.plan) img:not(.fit-img):not(.scale-img){max-height:min(46vh,380px);width:100%;object-fit:cover}

/* ---- 4. specification lists -------------------------------------------
   Fifteen amenities as cards made five rows of chrome. They are a list of
   facts, so set them as one: three columns, a tick, a hairline. */
.speclist{display:grid;grid-template-columns:repeat(3,1fr);gap:0 36px;
  list-style:none;margin:0;padding:0}
/* the list is its own .wrap on full-width sections; keep the gutter */
/* .speclist sets margin:0 to kill the list indent, which also kills the auto
   margins .wrap centres with — put those back. Dropping the li's left inset
   then puts the tick on the headings' left edge instead of 10px inside it. */
.wrap.speclist{margin-inline:auto;padding-inline:20px}
.wrap.speclist li{padding-left:0}
.speclist.two{grid-template-columns:repeat(2,1fr);gap:0 30px}
@media (max-width:860px){.speclist{grid-template-columns:repeat(2,1fr);gap:0 28px}}
@media (max-width:560px){.speclist{grid-template-columns:1fr}}
.speclist li{display:flex;gap:11px;align-items:flex-start;padding:9px 0;
  border-bottom:1px solid var(--line);font-size:14.5px;color:var(--ink);line-height:1.45}
.speclist li::before{content:"";flex:none;width:15px;height:15px;margin-top:3px;
  border-radius:50%;background:#E8F1E3;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%232A6B35' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size:15px 15px}

/* ---- 5. distance lists ------------------------------------------------
   Full width put the place name and the minutes at opposite ends of the
   screen with nothing in between. Three columns, each narrow enough to
   read as a pair, and a group heading that sits above its list instead of
   dissolving into it. */
.distcols{display:grid;grid-template-columns:repeat(3,1fr);gap:26px 40px;align-items:start}
@media (max-width:900px){.distcols{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.distcols{grid-template-columns:1fr}}
.distcols > div{min-width:0}
.distcols h3{font-family:var(--text);font-size:11.5px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--brand);margin:0 0 4px;padding-bottom:9px;
  border-bottom:2px solid var(--brand)}
.distcols .dist li{padding:8px 0;font-size:14.5px;gap:14px}
.distcols .dist li:last-child{border-bottom:0}
.distcols .dist span{font-size:13.5px;font-variant-numeric:tabular-nums}

/* ---- 6. two-up text block --------------------------------------------- */
.cols-2{display:grid;grid-template-columns:1fr 1fr;gap:28px 48px;align-items:start}
@media (max-width:860px){.cols-2{grid-template-columns:1fr;gap:20px}}

/* ---- 7. before / after viewer -----------------------------------------
   Was a grid of every pair, which meant scrolling past the controls to
   reach the later ones. One stage, a row of view tabs, and the whole
   section inside a screen. */
.tn{margin-top:16px}
.tn-bar{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;
  justify-content:space-between;margin-bottom:14px}
.tn-tabs{display:flex;flex-wrap:wrap;gap:6px}
.tn-tab{font-family:var(--text);font-size:13px;font-weight:600;color:var(--body);
  border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 15px;
  cursor:pointer;line-height:1;white-space:nowrap;
  transition:border-color .18s,color .18s,background .18s}
.tn-tab:hover{border-color:var(--brand);color:var(--ink)}
.tn-tab[aria-selected="true"]{background:var(--brand);border-color:var(--brand);color:#fff}
.tn-stage{margin:0}
.tn-frame{position:relative;display:grid;border-radius:var(--radius);overflow:hidden;
  background:var(--wash);height:clamp(230px,40vh,400px);aspect-ratio:auto}
.tn-frame img{grid-area:1/1;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity .4s ease}
.tn-frame img.is-on{opacity:1}
.tn-cap{display:flex;flex-wrap:wrap;gap:3px 12px;align-items:baseline;margin-top:11px}
.tn-cap b{font-family:var(--display);font-size:17px;font-weight:500;color:var(--ink)}
.tn-cap span{font-size:14px;color:var(--body)}
.tn-note{max-width:92ch;margin-top:7px!important;font-size:12.5px}
@media (max-width:760px){
  .tn-bar{flex-direction:column;align-items:stretch;gap:10px}
  .tn-switch{width:100%;justify-content:center}
  .tn-btn{flex:1;padding:11px 8px;font-size:13px}
  /* the tab row scrolls sideways; without min-width:0 a flex item sizes to
     its content and drags the whole document wide */
  .tn-tabs{flex-wrap:nowrap;min-width:0;max-width:100%;overflow-x:auto;
    padding-bottom:3px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .tn-tabs::-webkit-scrollbar{display:none}
  .tn-tab{flex:0 0 auto}
}
@media (prefers-reduced-motion:reduce){.tn-frame img{transition:none}}
.tn-frame .impression{top:auto;bottom:10px;align-self:end}

/* ---- 8. maps ----------------------------------------------------------- */
.map-embed iframe{height:clamp(230px,30vh,340px)}
.map-embed.tall iframe{height:clamp(300px,38vh,420px)}
.map-foot{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:space-between;
  align-items:baseline;margin-top:9px;font-size:13.5px;color:var(--body)}
.map-foot a{color:var(--brand);font-weight:600;border-bottom:1px solid currentColor}

/* ---- 9. the logo ------------------------------------------------------
   The masthead was a type treatment standing in for the logo. This is
   their mark — the house and handshake — traced from the brochure and
   redrawn as paths so it stays crisp at any size. If the original artwork
   turns up, swap the whole lockup in as one SVG. */
.logo{display:grid;grid-template-columns:auto auto;column-gap:11px;
  align-items:center;line-height:1}
.logo-mark{grid-row:1/3;width:46px;height:auto;flex:none}
.logo b{grid-column:2;align-self:end;color:#215839}
.logo i{grid-column:2;align-self:start;font-style:normal;font-family:var(--display);
  font-size:11px;letter-spacing:.3em;color:#769547;margin-top:4px}
@media (max-width:420px){
  .logo-mark{width:38px}
  .logo b{font-size:20px}
  .logo i{font-size:9.5px;letter-spacing:.24em}
}
/* mark and name side by side, the way the masthead sets them */
ul.foot-inline{display:flex;flex-wrap:wrap;align-items:center;gap:0;margin-top:13px}
.foot-inline li{display:flex;align-items:center;border:0}
.foot-inline li + li::before{content:"";flex:none;width:3px;height:3px;border-radius:50%;
  background:currentColor;opacity:.45;margin:0 11px}
.foot-inline a{padding-block:3px}
/* the global footer-link hover nudge would jog a dot row sideways */
.foot-inline a:hover{padding-left:0}
.foot-lockup{display:flex;align-items:center;gap:13px;margin-bottom:14px}
.foot-mark{flex:none;width:56px;height:auto;margin:0;
  padding:7px 9px;background:#fff;border-radius:8px}
.foot-lockup h4{margin:0}
.foot-tag{font-family:var(--display);font-size:13px;letter-spacing:.06em;
  color:#8FC489;margin:2px 0 0}

/* ---- 10. odds and ends ------------------------------------------------- */
.pmap{margin-top:16px}
.pmap-chip{white-space:nowrap}
@media (min-width:761px){
  .pmap-canvas svg{width:auto;max-width:100%;max-height:min(50vh,440px);margin-inline:auto}
}
.gallery-grid img{aspect-ratio:4/3;object-fit:cover;width:100%}

/* the featured card has to sit inside one screen on a 768px-tall laptop */
.project-card .body{padding:24px;gap:12px}
.project-card img{height:100%;object-fit:cover}
@media (max-width:900px){.project-card img{height:auto;max-height:46vh}}
.pmap aside{display:flex;flex-direction:column;gap:12px}
.pmap aside .pmap-note{margin:0}

/* ======================================================================
   Pass 4 — alignment, the hero, and showing pictures whole.
   ====================================================================== */

/* ---- nav ---------------------------------------------------------------
   A direct <a> child of the flex row is a flex item and takes the body
   line-height; the <a> inside .has-sub was an inline box inside one, so it
   sat three pixels lower than its neighbours. Make both flex items. */
.has-sub{display:inline-flex;align-items:center}
.has-sub > a{display:block}

/* Submenu: the project's own sections are nested under it, not listed
   beside it. */
.submenu{min-width:252px;padding:10px 0}
.submenu .sub-parent{font-weight:700;color:var(--navy);padding-bottom:11px;margin-bottom:6px;
  border-bottom:1px solid var(--line)}
.submenu .sub-group{display:block}
.submenu .sub-group a{position:relative;padding-left:34px;color:var(--body)}
.submenu .sub-group a::before{content:"";position:absolute;left:20px;top:50%;
  width:7px;height:1px;background:var(--line)}
.submenu .sub-group a:hover::before{background:var(--accent)}
@media (max-width:1200px){
  .submenu .sub-parent{border-bottom:0;padding-bottom:7px;margin-bottom:0}
  .submenu .sub-group a{padding-left:16px}
  .submenu .sub-group a::before{left:2px}
}

/* ---- hero --------------------------------------------------------------
   Two changes asked for: the copy sat on the floor of the frame, and on a
   wide monitor the 1180px measure put it near the middle of the screen.
   Centre it vertically and give it a wider track so it stays left. */
/* a grid item with auto inline margins shrinks to its content, so the copy
   was centring itself on a wide monitor. Make it span the track and cap it. */
.hero-text{align-self:center;justify-self:stretch;padding-block:0;
  width:100%;max-width:none;margin-inline:0;
  /* a fixed measure centred itself on a wide monitor; a proportional gutter
     keeps the copy anchored to the left edge at every width */
  padding-inline:clamp(20px,7vw,160px)}
/* and more to read against: the aerial is bright through the middle */
.hero-scrim{background:
  linear-gradient(100deg, rgba(10,28,17,.74) 0%, rgba(10,28,17,.46) 42%, rgba(10,28,17,.10) 72%),
  linear-gradient(180deg, rgba(10,28,17,.40) 0%, rgba(10,28,17,.05) 40%, rgba(10,28,17,.55) 100%)}
@media (max-width:900px){
  .hero-scrim{background:linear-gradient(180deg, rgba(10,28,17,.56) 0%,
    rgba(10,28,17,.18) 34%, rgba(10,28,17,.80) 100%)}
}

/* ---- the before/after stage shows the whole picture --------------------
   Cropping to a band hid half of each view. Instead the frame keeps the
   source proportions and takes its size from the viewport height, so the
   picture is complete and the section still fits a screen. */
.tn-frame{aspect-ratio:1176/912;height:clamp(280px,50vh,620px);width:auto;
  max-width:100%;margin-inline:auto}
.tn-frame img{object-fit:contain;background:var(--wash)}
.tn-stage{display:flex;flex-direction:column;align-items:center}
.tn-cap{justify-content:center;text-align:center}
.tn-note{text-align:center;margin-inline:auto}
@media (max-width:760px){.tn-frame{height:auto;width:100%;aspect-ratio:1176/912}}

/* ---- centred blocks under centred headings ----------------------------- */
/* .speclist sets margin:0 to kill the list indent, which also killed the
   auto side margins the .wrap relies on to centre itself */



/* ---- one hover behaviour for every row of figures ----------------------
   Rows were doing three different things: a blue wash left over from the
   old palette, a colour change, and a nudge to the right. One treatment. */
.spec tbody tr,.spec tr,.dist li,.speclist li{
  transition:background .18s ease,color .18s ease,border-color .18s ease}
.spec tr:hover,.dist li:hover,.speclist li:hover{background:#F2F7F0}
.spec tr:hover td,.dist li:hover,.speclist li:hover{color:var(--brand-dark)}
.spec tr:hover td:last-child,.dist li:hover span{color:var(--brand)}
.spec tr:hover,.dist li:hover,.speclist li:hover{border-color:#CBDFC3}
.spec td:first-child,.spec th:first-child{padding-left:10px}
.spec td:last-child,.spec th:last-child{padding-right:10px}
.dist li,.speclist li{padding-inline:10px;border-radius:6px}
.fleet li:hover,.tick li:hover{transform:none}

/* a form in a split column shouldn't drag the text beside it to the middle */
.split:has(> form.enquiry){align-items:start}

/* the scale drawing is vector and is the whole point of its column; let it
   use the full width rather than being capped by the photo height rule */
.scale-fig{padding:10px;box-shadow:none;border:1px solid var(--line)}
.scale-img{width:100%;height:auto;max-height:none;display:block}

/* the stage is centred and narrower than the column, so the controls sit
   over it rather than at the two far edges */
.tn-bar{justify-content:center;gap:12px 28px}
@media (max-width:760px){.tn-bar{gap:10px}}

/* a tall table beside a short paragraph: top-align them rather than floating
   the text against the middle of the table */
.split:has(> .spec),.split:has(> table){align-items:start}

/* ---- contact tiles ----------------------------------------------------
   The tiles were flat green squares. Line icons, inline so they inherit the
   tile colour and stay sharp; the glyph is white on brand green. */
.infocard .ic{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;
  background:var(--brand);flex:none;transition:background .22s ease}
.infocard .ic svg{width:23px;height:23px;fill:none;stroke:#fff;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round}
.infocard:hover .ic{background:var(--brand-dark)}
.infocard h3{font-family:var(--display);font-size:17px;font-weight:600;color:var(--ink);margin-bottom:3px}
.infocard p{line-height:1.5}
.infocard p + p{margin-top:2px}

/* ======================================================================
   Pass 5 — the before/after wipe, and a header row that reads as one line.
   ====================================================================== */

/* a heading and its standfirst side by side rather than stacked */
.sec-head{display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr);
  gap:10px 48px;align-items:end;margin-bottom:18px}
.sec-head h2{margin-top:2px}
.sec-head .lead{padding-bottom:4px;max-width:62ch}
@media (max-width:900px){
  .sec-head{grid-template-columns:1fr;gap:8px;align-items:start}
  .sec-head .lead{padding-bottom:0}
}

/* ---- before / after, side by side -------------------------------------
   Both states shown whole. A wipe put one picture in half the width and
   made you operate a control to see the other; a pair is a glance, and it
   uses the whole measure.

   The pair is capped by viewport height as well as width so the section
   still fits one screen on a short laptop: 2.579 is twice the images'
   1176:912 ratio, which converts a height budget into a width. */
.wrap.wide{max-width:1420px}
.tn{margin-top:16px}
.tn-tabs{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-bottom:16px}

.cmp-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px;
  max-width:min(100%, calc(50vh * 2.579 + 20px));margin-inline:auto}
.cmp-panel{margin:0;min-width:0}
.cmp-k{font-family:var(--text);font-size:11.5px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--brand);display:flex;align-items:center;gap:12px;
  margin-bottom:9px}
.cmp-k::after{content:"";height:1px;flex:1 1 auto;background:var(--line)}
.cmp-shot{position:relative;border-radius:var(--radius);overflow:hidden;background:var(--wash);
  aspect-ratio:1176/912}
.cmp-shot img{width:100%;height:100%;object-fit:cover;display:block}
.cmp-shot .impression{right:10px;bottom:9px;top:auto;font-size:10px;padding:3px 9px}

.tn-cap{display:flex;flex-wrap:wrap;gap:3px 12px;align-items:baseline;
  justify-content:center;text-align:center;margin-top:14px}
.tn-cap b{font-family:var(--display);font-size:17px;font-weight:500;color:var(--ink)}
.tn-cap span{font-size:14.5px;color:var(--body)}
.tn-note{max-width:92ch;margin:7px auto 0;text-align:center;font-size:12.5px}

@media (max-width:760px){
  .cmp-pair{grid-template-columns:1fr;gap:16px;max-width:100%}
  .tn-tabs{flex-wrap:nowrap;min-width:0;max-width:100%;overflow-x:auto;
    justify-content:flex-start;padding-bottom:3px;scrollbar-width:none}
  .tn-tabs::-webkit-scrollbar{display:none}
  .tn-tab{flex:0 0 auto}
}

/* ---- the figures band --------------------------------------------------
   Was four numbers in a 2x2 block on a flat slab, with the unit shouting in
   plum. Now one row across the full measure, divided by hairlines, on a
   surface with some depth to it. */
.statband{position:relative;overflow:hidden;
  background:linear-gradient(118deg,#0B1F12 0%,#17431F 46%,#2A6B35 100%)}
/* a fine diagonal weave so the band reads as a surface, not a fill */
.statband::before{content:"";position:absolute;inset:0;pointer-events:none;
  background-image:repeating-linear-gradient(112deg,rgba(255,255,255,.045) 0 1px,transparent 1px 22px)}
/* and a soft light off the top right */
.statband::after{content:"";position:absolute;top:-70%;right:-6%;width:46%;height:260%;
  pointer-events:none;background:radial-gradient(closest-side,rgba(124,179,66,.26),rgba(124,179,66,0) 72%)}
.statband .wrap{position:relative;z-index:1}

.statband .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:20px 0 0}
.statband .stat{display:flex;flex-direction:column-reverse;gap:11px;
  padding:2px 26px;border-left:1px solid rgba(255,255,255,.16);min-width:0}
.statband .stat:first-child{border-left:0;padding-left:0}
.statband dd{margin:0;display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.statband .stat b{font-family:var(--display);font-weight:500;line-height:.95;color:#fff;
  font-size:clamp(34px,3.5vw,48px);letter-spacing:-.02em}
.statband .stat u{text-decoration:none;font-family:var(--text);font-size:12.5px;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;color:#9ED08F}
.statband dt{font-family:var(--text);font-size:13.5px;line-height:1.45;color:#BBD2B5}
/* a short rule under each figure, picking up the leaf green */
.statband dd::after{content:"";display:block;width:100%;height:2px;margin-top:12px;
  background:linear-gradient(90deg,var(--leaf),rgba(124,179,66,0))}
.statband-note{margin-top:20px;font-size:12.5px;color:rgba(255,255,255,.55)}

@media (max-width:900px){
  .statband .stats{grid-template-columns:repeat(2,1fr);gap:26px 0}
  .statband .stat:nth-child(odd){border-left:0;padding-left:0}
}
@media (max-width:520px){
  .statband .stats{grid-template-columns:1fr;gap:22px}
  .statband .stat{border-left:0;padding-left:0}
}

/* ======================================================================
   Split hero.

   The source render is 1176 x 912. Full bleed stretched that across the
   whole window — 1.7x on a 2000px monitor, which is what the softness was.
   Two caps make upscaling impossible:

     the picture column is never wider than 1176px
     the hero is never taller than 912px

   so object-fit:cover can only ever shrink the image, never enlarge it.
   On a 2560px screen the picture lands at exactly 1:1; everywhere narrower
   it is downscaled, which is sharper still.
   ====================================================================== */
.hero-split{display:grid;
  grid-template-columns:minmax(340px,1fr) minmax(0,min(1176px,58%));
  height:min(calc(100svh - var(--head)), 912px);
  background:var(--navy-deep)}

.hero-panel{position:relative;overflow:hidden;display:flex;align-items:center;
  padding-inline:clamp(22px,4.4vw,74px);
  background:linear-gradient(145deg,#0B1F12 0%,#143A1C 55%,#1E5527 100%)}
/* the same weave the figures band uses, so the two dark surfaces match */
.hero-panel::before{content:"";position:absolute;inset:0;pointer-events:none;
  background-image:repeating-linear-gradient(112deg,rgba(255,255,255,.05) 0 1px,transparent 1px 22px)}
.hero-panel::after{content:"";position:absolute;bottom:-40%;left:-15%;width:70%;height:90%;
  pointer-events:none;background:radial-gradient(closest-side,rgba(124,179,66,.20),rgba(124,179,66,0) 72%)}
.hero-text{position:relative;z-index:1;width:100%;max-width:640px;margin-inline:0;padding:0}
.hero-eyebrow{color:var(--sand);text-shadow:none;margin:0 0 15px}
.hero-split h1{font-family:var(--display);color:#fff;font-weight:400;letter-spacing:-.015em;
  font-size:clamp(27px,2.45vw,42px);line-height:1.14;max-width:none}
.hero-sub{color:rgba(255,255,255,.80);max-width:46ch;margin-top:16px;font-size:15.5px}
.hero-cta{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:24px}

.hero-figure{position:relative;overflow:hidden;margin:0}
.hero-figure img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block}
/* bottom-left: the floating WhatsApp button lives in the bottom-right corner */
.hero-figure .impression{left:12px;right:auto;bottom:11px;top:auto}

@media (max-width:1000px){
  .hero-split{grid-template-columns:1fr;height:auto;max-height:none}
  .hero-panel{padding-block:clamp(34px,7vw,56px)}
  .hero-text{max-width:none}
  /* a band rather than the full frame, so the stacked hero is still a screenful */
  .hero-figure{height:clamp(200px,34vh,320px)}
}

/* ---- the facts of record, inside the hero ----------------------------
   The strip under the hero was a second dark band saying what the hero
   panel had room for. Above the split's breakpoint the four facts move
   into the panel as a 2x2 block under the buttons and the band goes; at
   1000px and under the hero is one column and they return to the band.
   The markup is rendered once in each place and one of the two is always
   hidden, so there is a single source for the values. */
.hero-facts{display:none}

@media (min-width:1001px){
  .record-strip{display:none}

  .hero-facts{display:grid;grid-template-columns:1fr 1fr;
    max-width:600px;margin:clamp(24px,3.2vh,38px) 0 0;
    border-top:1px solid rgba(255,255,255,.17)}
  .hero-facts > div{min-width:0;padding:13px 22px 13px 0;
    border-bottom:1px solid rgba(255,255,255,.17)}
  .hero-facts > div:nth-child(2n){padding-right:0;padding-left:24px;
    border-left:1px solid rgba(255,255,255,.17)}
  .hero-facts > div:nth-last-child(-n+2){border-bottom:0;padding-bottom:0}
  .hero-facts dt{font-family:var(--text);font-size:10.5px;font-weight:600;
    letter-spacing:.17em;text-transform:uppercase;color:var(--sand);margin:0 0 5px}
  /* the <wbr>s in the markup carry the long registration number; anywhere
     would break it mid-digit instead */
  .hero-facts dd{margin:0;color:rgba(255,255,255,.90);font-size:13.5px;
    line-height:1.42;overflow-wrap:break-word}
}

/* ======================================================================
   The menu on a phone.

   Two faults: the trigger was a bordered box with the word "Menu" in it,
   and every dropdown parent sat in a row beside its own submenu — the
   desktop rule that aligns those links (display:inline-flex) was never
   turned off below the breakpoint, so "Projects" and its five children
   laid out side by side.
   ====================================================================== */
@media (max-width:1200px){

  /* --- the trigger: an icon, a real tap target, and a state --- */
  .menu-toggle{display:grid;place-items:center;width:44px;height:44px;padding:0;
    margin-left:auto;background:#fff;border:1px solid var(--line);border-radius:10px;
    transition:background .18s ease,border-color .18s ease}
  .menu-toggle svg{grid-area:1/1;width:22px;height:22px;fill:none;stroke:var(--navy);
    stroke-width:1.8;stroke-linecap:round}
  .menu-toggle .ico-x{opacity:0}
  .menu-toggle[aria-expanded="true"]{background:var(--brand);border-color:var(--brand)}
  .menu-toggle[aria-expanded="true"] svg{stroke:#fff}
  .menu-toggle[aria-expanded="true"] .ico-bars{opacity:0}
  .menu-toggle[aria-expanded="true"] .ico-x{opacity:1}

  /* --- the panel --- */
  nav.main{padding:0;max-height:calc(100svh - var(--head));overflow-y:auto;
    box-shadow:0 20px 44px rgba(12,33,20,.14);-webkit-overflow-scrolling:touch}
  /* the sticky Call/WhatsApp bar sits over the foot of the panel */
  @media (max-width:700px){nav.main{padding-bottom:86px}}
  nav.main > a,.has-sub{display:block;width:100%}
  nav.main > a{padding:15px 20px;border-top:1px solid var(--line);font-size:14px}
  nav.main > a:first-child{border-top:0}

  /* this is the fix: a dropdown parent is a block here, not a flex row.
     These all carry the nav.main prefix because `nav.main a` is two elements
     plus a class and outranks a bare `.has-sub > a`. */
  .has-sub{display:block;padding:0;margin:0;border-top:1px solid var(--line)}
  nav.main .has-sub > a{display:block;padding:15px 20px;font-size:14px}
  /* submenus are always open on touch, so the "+" promises nothing */
  nav.main .has-sub > a::after{content:none}

  nav.main .submenu{position:static;display:block;border:0;box-shadow:none;min-width:0;
    padding:2px 20px 14px;background:var(--wash)}
  nav.main .submenu a{text-transform:none;letter-spacing:0;font-size:14px}
  nav.main .submenu .sub-parent{display:block;padding:11px 0 9px;font-weight:700;
    color:var(--navy);border-bottom:1px solid var(--line);margin-bottom:3px}
  /* children sit against a rule, whether or not they are in a .sub-group */
  nav.main .submenu .sub-group{display:block;margin-left:3px;padding-left:15px;
    border-left:2px solid #DCE6D6}
  nav.main .submenu .sub-group a,
  nav.main .submenu > a:not(.sub-parent){padding:10px 0;font-size:13.5px;color:var(--body)}
  nav.main .submenu > a:not(.sub-parent){margin-left:3px;padding-left:15px;
    border-left:2px solid #DCE6D6}
  nav.main .submenu .sub-group a::before{content:none}
  nav.main .submenu a[aria-current="page"]{color:var(--accent)}
}

/* ======================================================================
   Phone. Everything below the breakpoints here is phone-only; the desktop
   layouts above are untouched.
   ====================================================================== */

/* short/long label pair — the long one is the default, phones get the short */
.t-short{display:none}

/* ---- 1. hero: overlay, not split -------------------------------------
   The split exists to stop a 1176px render being stretched across a wide
   monitor. A phone is 390px, so the picture is downscaled four times over
   either way and the split only costs height. Put the words back on it. */
@media (max-width:1000px){
  .hero-split{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr);
    height:min(calc(100svh - var(--head)), 760px);background:var(--navy-deep);
    isolation:isolate;overflow:hidden}
  .hero-split > .hero-panel,
  .hero-split > .hero-figure{grid-area:1/1;min-width:0;min-height:0}

  .hero-figure{height:100%}
  .hero-figure img{width:100%;height:100%;object-fit:cover;object-position:50% 46%}
  .hero-figure .impression{left:auto;right:12px;bottom:12px}

  /* the panel becomes the scrim the words sit on */
  .hero-panel{z-index:1;background:linear-gradient(180deg,
    rgba(8,24,14,.74) 0%, rgba(8,24,14,.30) 34%, rgba(8,24,14,.62) 66%, rgba(8,24,14,.88) 100%);
    align-items:flex-end;padding-inline:20px;padding-block:0 28px}
  .hero-panel::before,.hero-panel::after{content:none}
  .hero-split h1{font-size:clamp(26px,7.4vw,36px)}
  .hero-sub{font-size:15px;margin-top:12px;color:rgba(255,255,255,.86)}
  .hero-cta{margin-top:20px;gap:16px}
}

@media (max-width:760px){

  /* ---- 2. one row, one line ------------------------------------------ */
  .t-long{display:none}
  .t-short{display:inline}
  .project-card .spec td{padding:9px 0;font-size:13.5px;line-height:1.35}
  .project-card .spec td:last-child{white-space:nowrap;padding-left:12px}

  /* ---- 3. the contact bar: half the height, and it says what it is ---- */
  .sticky{gap:10px;padding:8px 14px calc(8px + env(safe-area-inset-bottom))}
  .sticky-a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;
    height:44px;border-radius:10px;font-family:var(--text);font-size:14.5px;font-weight:600;
    background:var(--brand);color:#fff;border:1px solid var(--brand)}
  .sticky-a.is-wa{background:#fff;color:var(--brand-dark);border-color:var(--line)}
  .sticky-a svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;
    stroke-linecap:round;stroke-linejoin:round;flex:none}
  body{padding-bottom:68px}
  nav.main{padding-bottom:76px}

  /* ---- 4. about: content, image, content, image ----------------------- */
  /* source order alternates for the desktop zig-zag; on one column that put
     two pictures back to back. Text always leads here. */
  .split > .stack{order:1}
  .split > figure{order:2}
  .split > form.enquiry{order:3}

  /* ---- 5. the four steps, as rows not stacked blocks ------------------ */
  .steps{grid-template-columns:1fr;gap:0;margin-top:18px}
  .step{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;text-align:left;
    padding:15px 0;border-top:1px solid var(--line)}
  .step:first-child{border-top:0}
  .step b{grid-row:1/3;font-size:20px;color:var(--brand);line-height:1;
    width:36px;height:36px;border-radius:50%;background:#EDF4EA;
    display:grid;place-items:center;font-weight:600}
  .step .rule{display:none}
  .step h3{align-self:center;font-size:17px;margin:0}
  .step p{font-size:14px;line-height:1.5}

  /* ---- 6. the plot table, as cards ------------------------------------
     Four columns cannot be read at 390px. Each row becomes a block: the
     type on its own line, the three figures labelled under it. */
  #plots .spec,#plots .spec tbody,#plots .spec tr,#plots .spec td{display:block;width:100%}
  #plots .spec thead,#plots .spec tr:first-child{display:none}
  #plots .spec tr{border:1px solid var(--line);border-radius:10px;padding:12px 14px;
    margin-bottom:10px;background:#fff}
  #plots .spec td{border:0;padding:0;display:flex;justify-content:space-between;
    align-items:baseline;gap:16px;font-size:14px;padding-block:5px}
  #plots .spec td::before{content:attr(data-label);color:var(--body);font-size:12.5px;
    letter-spacing:.06em;text-transform:uppercase;flex:none}
  /* the first cell is the row's title, not a labelled figure */
  #plots .spec td[data-label="Type"]{display:block;font-family:var(--display);font-size:17px;
    font-weight:600;color:var(--ink);padding-bottom:9px;margin-bottom:7px;
    border-bottom:1px solid var(--line)}
  #plots .spec td[data-label="Type"]::before{content:none}
  #plots .spec td:empty{display:none}
  #plots .spec tr.spec-total{background:var(--wash);border-color:#CBDFC3}
  #plots .spec tr:hover{background:#fff}
  #plots .spec tr.spec-total:hover{background:var(--wash)}

  /* ---- 3b. footer ----------------------------------------------------- */
  footer{padding-block:30px 20px}
  .foot-grid{gap:24px}
  footer h4{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#8FC489;
    margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.14)}
  .foot-grid ul{gap:0}
  .foot-grid li{border-bottom:1px solid rgba(255,255,255,.08)}
  .foot-grid li:last-child{border-bottom:0}
  .foot-grid li a{display:block;padding:10px 0;font-size:14.5px}
  /* the three social links were a stacked list taking four rows */
  ul.foot-inline{margin-top:12px}
  .foot-inline li{border-bottom:0}
  .foot-inline a{padding-block:6px;font-size:14px}
  .foot-inline li + li::before{margin:0 9px}
  .foot-mark{width:46px}
  .foot-lockup{gap:11px;margin-bottom:12px}
  .legal{margin-top:20px;padding-top:14px}
}

/* ---- phone, second pass ------------------------------------------------ */
@media (max-width:1000px){
  /* the split-hero rule pins the copy to the middle of its column; on a phone
     the panel is the scrim and the copy belongs at the foot of the picture */
  .hero-text{align-self:flex-end}
  /* 37 characters of tracked-out caps was two lines */
  .hero-eyebrow{font-size:10.5px;letter-spacing:.13em;margin-bottom:12px}
  /* both actions on one row */
  .hero-cta{gap:14px}
  .hero-cta .btn{padding:11px 16px;font-size:13px}
  .hero-link{font-size:14px}
  /* a little more behind the sub-line, which sits over pale road */
  .hero-panel{background:linear-gradient(180deg,
    rgba(8,24,14,.70) 0%, rgba(8,24,14,.26) 30%, rgba(8,24,14,.72) 62%, rgba(8,24,14,.92) 100%)}
}

@media (max-width:760px){
  /* the first footer column is the company, not a section heading */
  .foot-grid > div:first-child h4{font-size:16px;letter-spacing:0;text-transform:none;
    color:#fff;border-bottom:0;padding-bottom:0;margin-bottom:4px}
  /* two link columns instead of one long stack */
  .foot-grid > div:nth-child(2) ul,
  .foot-grid > div:nth-child(3) ul{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
  .foot-grid > div:nth-child(2) li,
  .foot-grid > div:nth-child(3) li{border-bottom:0}
  .foot-grid > div:nth-child(2) li a,
  .foot-grid > div:nth-child(3) li a{padding:7px 0;font-size:14px}
}

/* the contact bar is fixed over the foot of the screen, so the hero's own
   actions have to clear it */
@media (max-width:700px){
  .hero-panel{padding-block:0 96px}
}

/* ---- phone: one action, not a strip ------------------------------------
   The two-button bar took 68px off every screen. A single round button is
   what people reach for on a property site here, and it frees the strip. */
.wa-fab{display:none}
@media (max-width:700px){
  .wa-fab{position:fixed;right:16px;z-index:50;
    bottom:calc(16px + env(safe-area-inset-bottom));
    width:56px;height:56px;border-radius:50%;display:grid;place-items:center;
    background:#25D366;box-shadow:0 6px 20px rgba(6,48,26,.34);
    transition:transform .2s ease,box-shadow .2s ease}
  /* the real mark is a filled path drawn in currentColor, so the colour goes
     on the link; fill on the <svg> is inherited and the path overrides it */
  .wa-fab{color:#fff}
  .wa-fab svg{width:31px;height:31px;stroke:none}
  .wa-fab:active{transform:scale(.94)}
  /* nothing is pinned over the foot of the page any more */
  body{padding-bottom:0}
  nav.main{padding-bottom:0}
  .hero-panel{padding-block:0 28px}
  /* the label would sit under the button */
  .hero-figure .impression{left:14px;right:auto}
}
@media (prefers-reduced-motion:reduce){.wa-fab{transition:none}}

@media (max-width:700px){
  /* the hero now stops short of the fold, so the button sits below it and
     the second action needs no clearance */
  .hero-cta{padding-right:0}
  /* and the credit out of the way of both: top of the frame, not the foot */
  .hero-figure .impression{top:12px;bottom:auto;right:12px;left:auto}
}

/* ---- phone hero: fewer pixels asked of the source ----------------------
   At 390px and 3x density a full-height hero wants ~2100 device pixels of
   image height. The render only has 912 rows, so the taller the hero the
   worse it looks. Capping it near 600px, with the full-frame file behind
   it, roughly halves the enlargement — and a hero that stops short of the
   fold shows there is more below, which is no bad thing. */
@media (max-width:700px){
  .hero-split{height:min(calc(100svh - var(--head)), 600px)}
}
.hero-figure picture{display:contents}

/* ---- the bounce at the end of the page --------------------------------
   iOS rubber-bands past the end of the document and paints whatever the
   root element's background is into the gap. Nothing was set there, so the
   canvas took the body's white and every page appeared to scroll into a
   void. The page always ends on the dark footer, so the root matches it;
   body keeps its own white, and no page here is shorter than a screen, so
   the dark only ever shows while the bounce is happening.
   Also stops the open menu from chaining its scroll to the page behind. */
html{background:var(--navy-deep)}
body{background:#fff;min-height:100svh}
nav.main{overscroll-behavior:contain}

/* ======================================================================
   Phone, third pass — height. Every change here is inside a phone
   breakpoint; the desktop layouts are untouched.
   ====================================================================== */

/* the chevron only exists for the phone menu */
.sub-toggle{display:none}

@media (max-width:1200px){
  /* submenus start closed so the whole menu fits one screen. The parent link
     still goes to its own page; the chevron is a separate target. */
  nav.main .has-sub{position:relative}
  nav.main .has-sub > a{padding-right:58px}
  .sub-toggle{display:grid;place-items:center;position:absolute;top:0;right:0;
    width:56px;height:52px;background:none;border:0;cursor:pointer;padding:0}
  .sub-toggle svg{width:20px;height:20px;fill:none;stroke:var(--navy);stroke-width:1.8;
    stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
  .has-sub.is-open .sub-toggle svg{transform:rotate(180deg)}
  /* hover and focus-within must not open anything on a touch screen */
  nav.main .has-sub .submenu,
  nav.main .has-sub:hover .submenu,
  nav.main .has-sub:focus-within .submenu{display:none}
  nav.main .has-sub.is-open .submenu{display:block}
  nav.main > a,nav.main .has-sub > a{padding-block:16px}
}
@media (prefers-reduced-motion:reduce){.sub-toggle svg{transition:none}}

@media (max-width:760px){

  /* ---- ss1/ss2: the title belongs beside its number, not under it ----- */
  .card:has(.icon){display:grid;grid-template-columns:auto 1fr;gap:5px 13px;
    padding:15px 17px}
  .card:has(.icon) .icon{grid-row:1/3;width:38px;height:38px;margin-bottom:0;
    border-radius:10px;font-size:14px}
  .card:has(.icon) h3{align-self:center;margin-bottom:0;font-size:17px}
  .card:has(.icon) p{grid-column:2;font-size:14px;line-height:1.5}
  .grid{gap:12px}

  /* ---- ss3: the record strip was four tall blocks ---------------------- */
  .record-strip dl>div{padding:14px 18px 15px}
  .record-strip dt{font-size:10.5px;letter-spacing:.14em;margin-bottom:5px}
  .record-strip dd{font-size:14.5px;line-height:1.35}

  /* ---- ss4: the footer keeps what someone actually needs -------------- */
  /* every nav link here is already in the menu, so on a phone the footer is
     who you are and how to reach you */
  .foot-grid > div:first-child > p:not(.foot-tag){display:none}
  .foot-grid > div:nth-child(2),
  .foot-grid > div:nth-child(3){display:none}
  .foot-grid{gap:18px}
  footer{padding-block:24px 18px}
  .legal{font-size:11.5px;line-height:1.55;margin-top:16px;padding-top:12px}
}

@media (max-width:520px){
  /* two up, with the long survey and RERA strings spanning the width */
  .record-strip dl{grid-template-columns:1fr 1fr}
  .record-strip dl>div{border-right:1px solid rgba(255,255,255,.12);
    border-bottom:1px solid rgba(255,255,255,.12)}
  .record-strip dl>div:nth-child(2n){border-right:0}
  .record-strip dl>div:nth-child(n+3){grid-column:1/-1;border-right:0}
  .record-strip dl>div:last-child{border-bottom:0}
  /* the survey list and the RERA number are long single strings; a size down
     keeps each on one line instead of breaking mid-token */
  .record-strip dl>div:nth-child(n+3) dd{font-size:13px}
}
