/* pearlyn.sg — design system v2
 * Built to the Claude Design pack (project 0815f9d5, ds/tokens.html + ds/landing.html)
 * with Commander's brand kit hexes and Playfair Display / Inter, self-hosted.
 *
 * Cinematic restraint: the interface is quiet so the property does the talking.
 * Gold is an ACTION colour and a rule colour. It is never body text.
 *
 * Accessibility note, deliberate: brand gold #C9A84C carries white text at only
 * ~2:1, which fails WCAG AA outright. So gold buttons take NAVY type (~7:1) —
 * which is also the correct auction-house look — and gold TEXT on cream uses the
 * darker --accent-ink (~4.6:1). Never put white on brand gold.
 */

/* ---------- fonts: self-hosted, no external request ---------- */
@font-face{
  font-family:"Playfair Display";
  src:url("/static/fonts/playfair.woff2") format("woff2");
  font-weight:400 700; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"InterVar";
  src:url("/static/fonts/inter.woff2") format("woff2");
  font-weight:400 700; font-style:normal; font-display:swap;
}

/* ---------- tokens ---------- */
:root{
  color-scheme:only light;
  --ground:#FAF7F0;      /* warm cream paper */
  --ink:#1A1F3C;         /* deep navy — text */
  --accent:#C9A84C;      /* champagne gold — actions, rules */
  --accent-ink:#8A6D28;  /* gold that is legible AS TEXT on cream */
  --steel:#41607A;       /* secondary text */
  --mist:#E8E2D6;        /* hairlines, dividers */
  --ok:#2E7D5B;          /* semantic: available/verified */
  --card:#FFFFFF;
  --shadow:0 1px 2px rgba(26,31,60,.04), 0 8px 24px rgba(26,31,60,.05);

  --serif:"Playfair Display",Georgia,"Times New Roman",serif;
  --sans:"InterVar",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --maxw:1080px;
}

*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
body{
  background:var(--ground); color:var(--ink);
  font:16px/1.65 var(--sans);
  -webkit-font-smoothing:antialiased;
  padding-bottom:0;
}
img{max-width:100%;display:block}
a{color:var(--ink)}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.tabular{font-variant-numeric:tabular-nums}
.muted{color:var(--steel)}
.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--steel);font-weight:600;display:block}

h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.15;text-wrap:balance}
h1{font-size:clamp(30px,5.5vw,52px);letter-spacing:-.01em}
h2{font-size:clamp(23px,3vw,28px);margin-bottom:20px}
h3{font-size:19px;line-height:1.25}
p{max-width:68ch}

/* ---------- navigation ---------- */
.site-nav{border-bottom:1px solid var(--mist)}
.site-nav .container{display:flex;align-items:center;justify-content:space-between;padding-top:18px;padding-bottom:18px;gap:20px}
.site-nav .brand{font-family:var(--serif);font-size:21px;letter-spacing:.01em;text-decoration:none}
.site-nav ul{display:flex;gap:22px;list-style:none;font-size:14px;flex-wrap:wrap}
.site-nav a{color:var(--ink);text-decoration:none;padding-bottom:2px;border-bottom:1px solid transparent}
.site-nav a:hover{color:var(--accent-ink)}
.site-nav a.active{border-bottom-color:var(--accent)}

/* ---------- hero: typography-led, degrades honestly with no photo ---------- */
.hero{padding-top:clamp(44px,8vw,76px);padding-bottom:clamp(32px,5vw,48px)}
.hero h1{max-width:17ch}
.hero p{margin-top:18px;max-width:54ch;color:var(--steel);font-size:17px}
.hero-media{
  margin-top:36px;border-radius:12px;overflow:hidden;border:1px solid var(--mist);
  aspect-ratio:21/9;background:linear-gradient(135deg,var(--mist),var(--ground));
}
.hero-media img{width:100%;height:100%;object-fit:cover}

.cta-row{display:flex;gap:14px;margin-top:28px;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:13px 24px;border-radius:6px;font:600 15px/1 var(--sans);
  text-decoration:none;border:1px solid transparent;cursor:pointer;
  transition:filter .15s ease,border-color .15s ease,color .15s ease;
}
.btn-gold{background:var(--accent);color:#1A1F3C;border-color:var(--accent)}
.btn-gold:hover{filter:brightness(1.06)}
.btn-ghost{border-color:var(--mist);color:var(--ink);background:transparent}
.btn-ghost:hover{border-color:var(--accent);color:var(--accent-ink)}

.trust-strip{
  display:flex;gap:26px;flex-wrap:wrap;
  border-top:1px solid var(--mist);border-bottom:1px solid var(--mist);
  padding:18px 0;margin-top:8px;font-size:13.5px;color:var(--steel);
}
.trust-strip strong{color:var(--ink);font-weight:600}

section{padding:clamp(38px,5vw,54px) 0 4px}
.sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.sec-head h2{margin-bottom:0}
.sec-head a{font-size:14px;color:var(--accent-ink);text-decoration:none;font-weight:600}

/* ---------- listing cards ---------- */
.grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(278px,1fr))}
.card{
  background:var(--card);border:1px solid var(--mist);border-radius:10px;
  overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow);
  transition:transform .18s ease, box-shadow .18s ease;
}
.card:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgba(26,31,60,.06),0 14px 32px rgba(26,31,60,.09)}
.card .ph{
  position:relative;aspect-ratio:4/3;overflow:hidden;
  background:linear-gradient(135deg,var(--mist),var(--ground));
  display:flex;align-items:center;justify-content:center;color:var(--steel);font-size:12.5px;
}
.card .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.card .pad{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.card h3 a{text-decoration:none}
.card h3 a:hover{color:var(--accent-ink)}
.spec{font-size:13.5px;color:var(--steel);font-variant-numeric:tabular-nums}
.price-line{font-weight:700;font-size:16px;font-variant-numeric:tabular-nums;margin-top:auto;padding-top:8px}
.price-line small{color:var(--steel);font-weight:400}
.tag{display:inline-block;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--ok);font-weight:700}
.enq{color:var(--accent-ink);font-weight:600;font-size:14px;text-decoration:none;margin-top:4px}
.enq:hover{text-decoration:underline}

/* ---------- data tables: the machine-readable part ---------- */
.spec-table{width:100%;max-width:640px;border-collapse:collapse;margin:26px 0;font-size:14.5px}
.spec-table td{padding:11px 0;border-bottom:1px solid var(--mist);vertical-align:top}
.spec-table td:first-child{color:var(--steel);width:40%;font-weight:500}
.spec-table td:last-child{font-variant-numeric:tabular-nums}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* Her photos are phone shots and a phone shoots portrait. A 4:3 landscape box
   with object-fit:cover was cutting 44-58% out of the middle of every one of
   them. Columns let each photo keep its own shape - nothing cropped, nothing
   letterboxed. */
.gallery{column-count:3;column-gap:10px;margin:22px 0}
.gallery img{width:100%;height:auto;display:block;margin:0 0 10px;border-radius:8px;border:1px solid var(--mist);break-inside:avoid}
@media(max-width:900px){.gallery{column-count:2}}
@media(max-width:560px){.gallery{column-count:1}}

/* ---------- FAQ: question in the heading, answer immediately after ----------
   This markup shape is the ranking mechanism, not decoration — Google's AI
   Overview cites pages that answer first and pad never. */
.faq{max-width:760px}
.faq details{border-bottom:1px solid var(--mist);padding:15px 0}
.faq summary{font-weight:600;cursor:pointer;font-size:15.5px;list-style:none;display:flex;justify-content:space-between;gap:14px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--accent-ink);font-weight:700;flex:none}
.faq details[open] summary::after{content:"–"}
.faq details p{color:var(--steel);font-size:14.5px;margin-top:10px}

/* ---------- forms ---------- */
form{max-width:520px}
.form-card{background:var(--card);border:1px solid var(--mist);border-radius:12px;padding:26px;box-shadow:var(--shadow)}
.field{margin-bottom:14px}
label{display:block;font-size:13px;font-weight:600;margin-bottom:5px}
input[type=text],input[type=email],input[type=password],textarea,select{
  width:100%;padding:11px 12px;border:1px solid var(--mist);border-radius:6px;
  background:var(--ground);color:var(--ink);font:inherit;font-size:14.5px;
}
input:focus,textarea:focus,select:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.consent{font-size:.85rem;color:var(--steel);margin:.5rem 0 1rem;max-width:44ch}
.filter-bar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;max-width:none;margin:22px 0 26px}
.filter-bar select,.filter-bar input[type=search]{width:auto;min-width:168px}
.filter-bar .btn{padding:11px 20px}
input[type=search]{
  width:100%;padding:11px 12px;border:1px solid var(--mist);border-radius:6px;
  background:var(--card);color:var(--ink);font:inherit;font-size:14.5px;-webkit-appearance:none;
}

/* global nav search — a GET form, so every result set is a shareable URL */
.nav-search{display:flex;gap:8px;max-width:none;flex:0 1 320px}
.nav-search input[type=search]{flex:1;min-width:0;padding:9px 12px;font-size:14px}
.nav-search button{
  border:1px solid var(--mist);background:transparent;color:var(--ink);
  border-radius:6px;padding:9px 15px;font:600 14px/1 var(--sans);cursor:pointer;flex:none;
}
.nav-search button:hover{border-color:var(--accent);color:var(--accent-ink)}
@media (max-width:900px){
  .site-nav .container{flex-wrap:wrap}
  .nav-search{flex:1 1 100%;order:3;margin-bottom:4px}
}

.notice{padding:12px 16px;border-radius:6px;margin:16px 0;font-size:14.5px;max-width:640px}
.notice-ok{background:rgba(46,125,91,.10);border:1px solid rgba(46,125,91,.35);color:var(--ok)}
.notice-err{background:rgba(170,60,60,.09);border:1px solid rgba(170,60,60,.3)}

/* ---------- news ticker (CMS flag: show_ticker) ---------- */
.ticker{border-top:1px solid var(--mist);border-bottom:1px solid var(--mist);background:var(--card);overflow:hidden}
.ticker-inner{display:flex;gap:44px;padding:10px 20px;white-space:nowrap;animation:tick 42s linear infinite;font-size:13.5px;color:var(--steel)}
.ticker-inner b{color:var(--ink);font-weight:600}
.ticker:hover .ticker-inner{animation-play-state:paused}
@keyframes tick{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.ticker-inner{animation:none;white-space:normal;flex-wrap:wrap}}

/* ---------- footer + sticky WhatsApp ---------- */
.site-footer{margin-top:64px;border-top:1px solid var(--mist);padding:28px 0 34px;font-size:13px;color:var(--steel)}
.site-footer p{margin-bottom:6px;max-width:none}
.site-footer a{color:var(--accent-ink)}

.wa-sticky{
  position:fixed;right:20px;bottom:20px;z-index:40;
  width:56px;height:56px;border-radius:50%;
  background:#25D366;color:#fff;
  display:flex;align-items:center;justify-content:center;
  text-decoration:none;line-height:0;
  box-shadow:0 6px 18px rgba(26,31,60,.28);
}
.wa-sticky:hover{background:#1FB855}
.wa-sticky svg{display:block}

@media (min-width:721px){
  body{padding-bottom:0}
}
@media (max-width:720px){
  .site-nav ul{gap:16px;font-size:13.5px}
  .hero{padding-top:34px}
}

/* ---------- quick-question widget ---------- */
.qq-launch{
  position:fixed;right:20px;bottom:88px;z-index:50;
  background:var(--accent);color:#1A1F3C;border:1px solid var(--accent);
  border-radius:999px;padding:11px 20px;font:600 14px/1 var(--sans);cursor:pointer;
  box-shadow:0 6px 22px rgba(26,31,60,.16);
}
.qq-launch:hover{background:#B8973F;border-color:#B8973F}
.qq{
  position:fixed;right:24px;bottom:24px;z-index:60;width:400px;max-width:calc(100vw - 32px);
  background:var(--card);border:1px solid var(--mist);border-radius:14px;overflow:hidden;
  box-shadow:0 10px 44px rgba(26,31,60,.26);display:flex;flex-direction:column;max-height:76vh;
}
.qq-close{
  position:absolute;top:2px;right:2px;z-index:2;background:transparent;border:0;
  color:#FAF7F0;font-size:22px;line-height:1;cursor:pointer;opacity:.85;
  padding:12px 14px;min-width:44px;min-height:44px;
}
.qq-close:hover{opacity:1}
.qq-head{display:flex;gap:12px;align-items:center;background:var(--ink);color:#FAF7F0;padding:14px 44px 14px 16px}
.qq-head strong{display:block;font-size:14.5px;font-weight:600}
.qq-head span{display:block;font-size:11.5px;opacity:.72;margin-top:2px}
.qq-avatar{
  width:38px;height:38px;border-radius:50%;flex:none;object-fit:cover;
  border:2px solid var(--accent);background:var(--accent);
}
.qq-log{padding:14px 16px 4px;overflow-y:auto;flex:1;min-height:96px}
.qq-time{font-size:11.5px;color:var(--steel);margin:2px 0 10px}
.qq-time-me{text-align:right}
.qq-msg{max-width:86%;padding:9px 13px;border-radius:12px;margin-bottom:9px;font-size:14px;line-height:1.5}
.qq-them{background:var(--ground);border:1px solid var(--mist);border-bottom-left-radius:4px;
  position:relative;margin-left:34px}
/* Her face beside the last bubble of each of her message groups — the Stacked
   pattern. :has() marks "no .qq-them follows me"; older browsers simply omit it. */
.qq-them:not(:has(+ .qq-them))::before{content:"";position:absolute;left:-34px;bottom:2px;
  width:26px;height:26px;border-radius:50%;border:1px solid var(--mist);
  background:url("/static/pearlyn-portrait-round.jpg") center/cover}
.qq-me{background:var(--ink);color:#FAF7F0;margin-left:auto;border-bottom-right-radius:4px}
.qq-body{padding:6px 16px 16px}
.qq-opts{display:flex;flex-wrap:wrap;gap:8px}
.qq-opts button{
  background:transparent;border:1px solid var(--mist);border-radius:999px;
  padding:8px 14px;font:500 13.5px/1 var(--sans);color:var(--accent-ink);cursor:pointer;
}
.qq-opts button:hover{border-color:var(--accent);background:rgba(201,168,76,.09)}
.qq-input{display:flex;gap:8px;max-width:none}
.qq-input input{flex:1;min-width:0;padding:10px 12px;font-size:14px}
.qq-input button{
  flex:none;background:var(--accent);color:#1A1F3C;border:0;border-radius:6px;
  padding:0 16px;font-size:17px;cursor:pointer;
}
.qq-go{width:100%;justify-content:center;margin-bottom:8px}
.qq-alt{display:block;text-align:center;font-size:13.5px;color:var(--accent-ink);text-decoration:none}
.qq-note{font-size:11.5px;color:var(--steel);margin-top:10px;text-align:center;max-width:none}
@media (max-width:720px){
  /* Full-screen takeover on a phone — the Stacked pattern. On a phone the panel
     IS the page; half-covering the page reads as an ad, covering it reads as a
     conversation. dvh not vh: the URL bar collapse must not hide the input row. */
  .qq{top:0;left:0;right:0;bottom:0;width:auto;max-height:none;height:100dvh;border-radius:0;border:0}
  .qq-launch{right:12px;bottom:76px;padding:10px 16px;font-size:13.5px}
}

/* ---------- landing page (/lp/{slug}) ---------- */
.lp-hero{padding-top:clamp(40px,7vw,68px);padding-bottom:30px}
.lp-facts{list-style:none;display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.lp-facts li{border:1px solid var(--mist);border-radius:999px;padding:6px 14px;font-size:13.5px;color:var(--steel);font-variant-numeric:tabular-nums}
.lp-cta{display:flex;gap:14px;margin-top:26px;flex-wrap:wrap}
.lp-disclaimer{font-size:12.5px;margin-top:18px}
.lp-body{margin:8px 0 4px}

/* ---------- admin (utility, not brand) ---------- */
.admin-nav{background:var(--ink);padding:12px 0}
.admin-nav a{color:#FAF7F0;text-decoration:none;margin-right:18px;font-size:14px}
.admin-nav a:hover{color:var(--accent)}
table.admin{width:100%;border-collapse:collapse;font-size:14px}
table.admin th,table.admin td{padding:9px 10px;border-bottom:1px solid var(--mist);text-align:left}
table.admin th{color:var(--steel);font-weight:600;font-size:12.5px;text-transform:uppercase;letter-spacing:.06em}

@media print{
  .wa-sticky,.site-nav,.filter-bar{display:none}
  body{background:#fff;color:#000;padding:0}
}
.qq-skip{background:transparent;border:0;color:var(--steel);font:500 13px/1 var(--sans);
  cursor:pointer;margin-top:10px;text-decoration:underline}
.qq-skip:hover{color:var(--accent-ink)}

/* ---------- editorial tabs + article ---------- */
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px;border-bottom:1px solid var(--mist);padding-bottom:0}
.tabs a{
  text-decoration:none;color:var(--steel);font:600 14px/1 var(--sans);
  padding:11px 16px;border:1px solid transparent;border-bottom:0;border-radius:6px 6px 0 0;
  position:relative;top:1px;
}
.tabs a:hover{color:var(--accent-ink)}
.tabs a.active{color:var(--ink);background:var(--card);border-color:var(--mist);border-bottom:1px solid var(--card)}

.article{max-width:760px}
.article .eyebrow a{color:var(--steel);text-decoration:none}
.article .eyebrow a:hover{color:var(--accent-ink)}
.byline{font-size:13.5px;color:var(--steel);margin-top:18px;line-height:1.7}
.byline a{color:var(--accent-ink)}
.lede{font-size:18px;line-height:1.6;margin:26px 0 6px;color:var(--ink)}
.article-body{margin-top:8px}
.article-body p{margin:18px 0;font-size:16.5px;line-height:1.75}
.article-body h2{font-size:24px;margin:38px 0 14px}
.article-body h3{font-size:19px;margin:30px 0 10px;font-family:var(--serif)}
.article-body ul,.article-body ol{margin:18px 0 18px 22px}
.article-body li{margin-bottom:9px;line-height:1.7}
.article-body a{color:var(--accent-ink)}
.article-cta{margin-top:44px;padding:26px;border:1px solid var(--mist);border-radius:12px;background:var(--card)}
.article-cta h2{font-size:21px;margin-bottom:8px}

/* ---------- footer columns ---------- */
.footer-cols{display:grid;gap:28px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));margin-bottom:30px}
.footer-cols h3{font-family:var(--sans);font-size:11px;text-transform:uppercase;letter-spacing:.12em;
  color:var(--ink);font-weight:700;margin-bottom:12px}
.footer-cols ul{list-style:none}
.footer-cols li{margin-bottom:8px}
.footer-cols a{color:var(--steel);text-decoration:none;font-size:13.5px}
.footer-cols a:hover{color:var(--accent-ink)}
.footer-legal{border-top:1px solid var(--mist);padding-top:20px}
.footer-legal p{margin-bottom:6px;max-width:none}

/* ---------- article charts / comparisons / key facts ---------- */
.chart{margin:30px 0;overflow-x:auto}
.chart svg{width:100%;height:auto;min-width:520px;font-family:var(--sans)}
.chart-title{font-size:15px;font-weight:700;fill:var(--ink)}
.chart-unit{font-size:11px;fill:var(--steel);letter-spacing:.08em;text-transform:uppercase}
.chart-label{font-size:13px;fill:var(--steel)}
.chart-value{font-size:13px;font-weight:700;fill:var(--ink)}
.chart-bar{fill:var(--accent)}
table.compare{width:100%;border-collapse:collapse;margin:26px 0;font-size:14.5px;min-width:480px}
table.compare th,table.compare td{padding:12px 14px;border-bottom:1px solid var(--mist);text-align:left;vertical-align:top}
table.compare thead th{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--steel);font-weight:700}
table.compare tbody th{color:var(--steel);font-weight:600;width:26%}
.keyfacts{margin:30px 0;padding:22px 24px;border-left:3px solid var(--accent);background:var(--card);border-radius:0 10px 10px 0}
.keyfacts h3{font-size:13px;text-transform:uppercase;letter-spacing:.1em;font-family:var(--sans);margin-bottom:14px;color:var(--steel)}
.keyfacts dl{display:grid;grid-template-columns:auto 1fr;gap:8px 22px;font-size:14.5px}
.keyfacts dt{color:var(--steel);font-weight:600}
.keyfacts dd{font-variant-numeric:tabular-nums}

/* ---------- cookie consent (only rendered when she switches it on) ---------- */
.ck{position:fixed;left:16px;right:16px;bottom:16px;z-index:70;background:var(--card);
  border:1px solid var(--mist);border-radius:12px;padding:18px 20px;display:flex;gap:20px;
  align-items:center;justify-content:space-between;flex-wrap:wrap;
  box-shadow:0 10px 40px rgba(26,31,60,.22);max-width:820px;margin:0 auto}
.ck strong{display:block;font-size:14.5px;margin-bottom:4px}
.ck p{font-size:13.5px;color:var(--steel);max-width:56ch;margin:0}
.ck a{color:var(--accent-ink)}
.ck-actions{display:flex;gap:10px;flex:none}
.ck-actions .btn{padding:10px 20px;font-size:14px}

/* New-launch hero: developer render under the project title. */
/* The developer's render IS the page. A forced 16:9 was cutting 20-39% off
   thirteen of the twenty-four projects - the tops of the towers on the tall
   renders. Bounded height, natural ratio, nothing cropped. */
.hero-shot{margin-top:18px;text-align:center}
.hero-shot img{max-width:100%;max-height:72vh;width:auto;height:auto;display:inline-block;border-radius:12px}


/* ================= 2026 REFRESH — corporate/professional pass (10 Aug 2026)
   Override layer, appended: cooler ground, sticky white nav, navy corporate
   footer, disciplined cards. Tokens only where the change is global. */
:root{
  --ground:#F6F7F9;          /* cool porcelain — corporate, not cream */
  --mist:#E3E6EC;
  --shadow:0 1px 2px rgba(16,24,40,.05), 0 6px 20px rgba(16,24,40,.06);
}
body{background:var(--ground)}
.site-nav{position:sticky;top:0;z-index:800;background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--mist);box-shadow:0 1px 0 rgba(16,24,40,.03)}
.site-nav .container{padding-top:14px;padding-bottom:14px}
.site-nav ul{gap:18px;font-size:13.5px;font-weight:500}
.site-nav a.active{border-bottom-width:2px}
.ticker{background:#fff;border-bottom:1px solid var(--mist)}
h1{letter-spacing:-.015em}
.eyebrow{color:var(--accent-ink)}
.card{border-radius:12px;border-color:var(--mist)}
.card:hover{transform:translateY(-3px);
  box-shadow:0 2px 4px rgba(16,24,40,.05),0 16px 36px rgba(16,24,40,.10)}
.card .pad{padding:16px 18px 20px}
.spec{color:var(--steel);font-size:13.5px}
.btn{border-radius:8px;font-weight:600;letter-spacing:.01em}
.btn-gold{box-shadow:0 1px 2px rgba(16,24,40,.08)}
.spec-table{background:#fff;border:1px solid var(--mist);border-radius:10px;overflow:hidden}
.spec-table td{padding:11px 14px;border-bottom:1px solid var(--mist)}
.spec-table tr:last-child td{border-bottom:0}
.spec-table td:first-child{color:var(--steel);font-size:13.5px;width:34%}
.form-card{background:#fff;border:1px solid var(--mist);border-radius:12px;
  padding:22px;box-shadow:var(--shadow)}
.site-footer{background:var(--ink);color:#E9ECF4;margin-top:56px;
  padding:44px 0 28px}
.site-footer h3{color:#fff;font-size:15px;font-family:var(--sans);
  text-transform:uppercase;letter-spacing:.1em;margin-bottom:12px}
.site-footer a{color:#C7CEDF;text-decoration:none}
.site-footer a:hover{color:var(--accent)}
.site-footer .footer-cols{display:grid;gap:32px;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.site-footer li{margin:7px 0;font-size:14px}
.site-footer ul{list-style:none}
.footer-legal{margin-top:30px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);
  font-size:12.5px;color:#9AA3B8}
.footer-legal a{color:#C7CEDF}
.fb-tab{background:var(--ink)}


/* ================= 2026 RESPONSIVE — mobile pass (10 Aug 2026)
   Target: 360-430px phones, 768px tablets. Appended after the REFRESH layer so
   it wins the cascade. Phones get: swipeable 44px nav tabs, static (not sticky)
   header, single-column grids, 16px form type (kills the iOS focus zoom),
   full-width CTAs, safe-area clearance for the floating buttons. */

img{height:auto}                 /* classed rules (.card .ph img etc.) still win */
.btn{min-height:44px}
.wa-sticky{bottom:calc(20px + env(safe-area-inset-bottom))}

/* Tablets and down: nav links get a real tap area. */
@media (max-width:900px){
  .site-nav ul{gap:10px 14px}
  .site-nav ul a{display:inline-block;padding:8px 4px}
}

/* Phones. */
@media (max-width:720px){
  /* Header: three stacked rows must not ride sticky on a small screen. */
  .site-nav{position:static}
  .site-nav .container{padding-top:10px;padding-bottom:8px;row-gap:0}
  .site-nav .brand{padding:8px 0}

  /* The 8 tabs become one swipeable strip — no wrap, no scrollbar, 44px targets,
     edge-to-edge so the cut-off next tab is itself the scroll affordance. */
  .site-nav ul{
    order:2;flex:1 1 100%;flex-wrap:nowrap;overflow-x:auto;
    -webkit-overflow-scrolling:touch;scrollbar-width:none;
    gap:2px;margin:0 -20px;padding:0 12px;
  }
  .site-nav ul::-webkit-scrollbar{display:none;width:0;height:0}
  .site-nav li{flex:none}
  .site-nav ul a{display:inline-flex;align-items:center;min-height:44px;
    padding:0 10px;white-space:nowrap;font-size:14px;border-bottom:2px solid transparent}
  .site-nav ul a.active{border-bottom-color:var(--accent)}
  .nav-search{order:3;flex:1 1 100%;margin:4px 0 6px}
  .nav-search button{min-height:44px}

  /* 16px form type on phones: below 16px, iOS Safari zooms the page on focus
     and never zooms back out. */
  input[type=text],input[type=email],input[type=password],input[type=search],
  input[type=tel],textarea,select{font-size:16px}
  .nav-search input[type=search]{font-size:16px}
  .qq-input input{font-size:16px}
  .qq-opts button{min-height:44px}

  /* Filter bar: search gets a full row, selects pair up, actions full width. */
  .filter-bar{gap:10px}
  .filter-bar input[type=search]{flex:1 1 100%;width:auto;min-width:0}
  .filter-bar select{flex:1 1 calc(50% - 5px);width:auto;min-width:0}
  .filter-bar .btn{flex:1 1 calc(50% - 5px);justify-content:center}

  .trust-strip{gap:8px 20px;font-size:13px}
  .form-card{padding:18px 16px}
  .site-footer a{display:inline-block;padding:3px 0}
  .footer-cols{gap:22px}

  /* The fixed stack (Feedback tab bottom:170px + its own height, chat pill
     bottom:88px, WhatsApp circle bottom:20px) was sitting on top of the last
     card/section on short pages — "Quick question?" was covering real price
     and licence text in her screenshots. main{padding-bottom} alone did NOT
     fix this: the footer is a SIBLING of <main>, not inside it (verified by
     reading the rendered footer, still covered after the first attempt). */
  .site-footer{padding-bottom:190px}
}

/* Small phones: one card per row, full-width CTAs. */
@media (max-width:560px){
  .grid{grid-template-columns:1fr;gap:16px}
}
@media (max-width:480px){
  .cta-row{gap:10px}
  .cta-row .btn{flex:1 1 100%;justify-content:center}
}

/* ---------- portal-style listing card (11 Aug 2026) ----------
   The scan order Singapore buyers already know from the portals: photo with a
   status flash, then price as the biggest thing on the card, then the
   bed / bath / size strip. Conventions are shared across every property site
   and are not ownable; the palette, the serif and the CEA strip are ours. */
.pg-card .ph{aspect-ratio:16/11}
.pg-card .ph-empty{font-size:12.5px;letter-spacing:.04em}
.pg-card .pad{gap:0;padding:14px 16px 12px}

.pg-badge{
  position:absolute;top:10px;left:10px;z-index:1;
  font-size:10.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  padding:5px 9px;border-radius:4px;color:#fff;background:var(--steel);
  box-shadow:0 1px 3px rgba(26,31,60,.25);
}
.pg-badge-sale{background:var(--ink)}
.pg-badge-rent{background:var(--steel)}
.pg-badge-newlaunch{background:var(--accent-ink)}
.pg-shots{
  position:absolute;right:10px;bottom:10px;z-index:1;
  font-size:11px;font-weight:600;color:#fff;padding:4px 8px;border-radius:4px;
  background:rgba(26,31,60,.62);
}

.pg-price{
  font-size:21px;font-weight:800;letter-spacing:-.01em;
  font-variant-numeric:tabular-nums;line-height:1.2;
}
.pg-per{font-size:13px;font-weight:600;color:var(--steel);margin-left:2px}
.pg-card h3{font-size:16.5px;margin-top:5px;line-height:1.3}
.pg-addr{font-size:13px;color:var(--steel);margin-top:3px}

.pg-facts{
  display:flex;flex-wrap:wrap;gap:14px;list-style:none;
  margin:10px 0 0;padding:10px 0 0;border-top:1px solid var(--mist);
  font-size:13.5px;color:var(--ink);font-variant-numeric:tabular-nums;
}
.pg-facts li{display:flex;align-items:center;gap:5px}
.pg-facts svg{
  width:15px;height:15px;flex:none;fill:none;
  stroke:var(--steel);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
}
.pg-meta{font-size:12.5px;color:var(--steel);margin-top:8px}
.pg-card .tag{margin-top:6px}

.pg-foot{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-top:auto;padding-top:10px;border-top:1px solid var(--mist);
  font-size:11px;color:var(--steel);
}
.pg-card .pg-foot{margin-top:12px}
.pg-agent{letter-spacing:.01em}
.pg-ref{
  font-weight:700;letter-spacing:.06em;color:var(--ink);
  font-variant-numeric:tabular-nums;white-space:nowrap;
}

/* Detail page: the same price-first header, so a card and the page it opens
   read as one thing. */
.pg-head-price{font-size:clamp(26px,4vw,34px);font-weight:800;letter-spacing:-.015em;
  font-variant-numeric:tabular-nums;margin-top:12px}
.pg-head-facts{
  display:flex;flex-wrap:wrap;gap:18px;list-style:none;
  margin:14px 0 0;padding:14px 0;border-top:1px solid var(--mist);border-bottom:1px solid var(--mist);
  font-size:15px;font-variant-numeric:tabular-nums;
}
.pg-head-facts li{display:flex;align-items:center;gap:7px}
.pg-head-facts svg{width:18px;height:18px;flex:none;fill:none;
  stroke:var(--steel);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.pg-head-facts .pg-ref{font-size:12px}

.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

@media (max-width:560px){
  .pg-price{font-size:19px}
  .pg-facts{gap:12px}
  .pg-foot{font-size:10.5px}
}
.pg-tbc{font-size:14px;font-weight:600;color:var(--steel)}

/* ---- Lead qualifier (12 Aug 2026) --------------------------------------
   Uses the existing cream/navy/gold tokens only — no new palette.
   .qual-step is visible by DEFAULT: without JS every step renders open and the
   form still posts. The JS adds `hidden` to all but the current step. */
.qual { margin-top: .5rem; }
.qual-steps { list-style: none; margin: 0; padding: 0; }
.qual-step { padding: .25rem 0 .5rem; }
.qual-js .qual-step[hidden] { display: none; }
.qual-q { font-size: 1.05rem; font-weight: 600; margin: 0 0 .15rem; }
.qual-hint,
.qual-opt { font-size: .82rem; opacity: .7; font-weight: 400; }
.qual-opts { display: flex; flex-direction: column; gap: .35rem; margin: .6rem 0 .9rem; }
.qual-opts label {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem .75rem; border: 1px solid rgba(0,0,0,.14); border-radius: 8px;
  cursor: pointer; line-height: 1.3;
}
.qual-opts label:hover { border-color: rgba(0,0,0,.32); }
.qual-opts input { width: 1.05rem; height: 1.05rem; flex: 0 0 auto; margin: 0; }
.qual-bar { display: block; height: 3px; border-radius: 3px;
            background: rgba(0,0,0,.10); margin-bottom: 1rem; overflow: hidden; }
.qual-bar > span { display: block; height: 100%; width: 20%;
                   background: var(--gold, #b8963e); transition: width .22s ease; }
.qual-foot { font-size: .75rem; opacity: .6; margin-top: .9rem; }
.qual .btn { margin-right: .4rem; }
/* Touch targets stay comfortable on a phone — most of her traffic is mobile. */
@media (max-width: 640px) {
  .qual-opts label { padding: .75rem .8rem; }
  .qual .btn { width: 100%; margin: .35rem 0 0; }
}
