/* ProjectSG UI Language — tokens (light, dark) and component classes.
   Source of truth: https://claude.ai/artifact/EM2VQSPVHy2LsgAUMbirdD (ProjectSG Design System).
   Inline this file in a page's <style>; Sales mode for client-facing pages, Desk mode for internal tools. */
:root {
  --bg: #f3f4f6;
  --panel: #ffffff;
  --ink: #16181d;
  --ink-2: #4b505a;
  --muted: #676d78;
  --line: #eceef2;
  --line-2: #dcdfe5;
  --chip: #eef0f3;
  --sun: #ffe03a;
  --sun-deep: #ffc400;
  --sun-wash: #fff8d4;
  --sun-ink: #6b5200;
  --on-sun: #16181d;
  --band-1: #ffe02e;
  --band-2: #ffe65c;
  --band-3: #fff1ad;
  --flame-1: #f05410;
  --flame-2: #c9290a;
  --on-flame: #ffffff;
  --price: #ff3d17;
  --price-text: #c4300b;
  --peach: #fff2e8;
  --trust: #0d7f37;
  --trust-wash: #e6f6ea;
  --teal: #087570;
  --teal-wash: #e0f5f3;
  --deal: #e5231b;
  --plum: #5a2d91;
  --on-tag: #ffffff;
  --danger: #c81e16;
  --gold-1: #f7e1a6;
  --gold-2: #d4a648;
  --gold-ink: #4a2d06;
  --chrome-1: #eef2f7;
  --chrome-2: #a9b8cb;
  --chrome-ink: #1e2a38;
  --sheen: rgba(255, 255, 255, 0.5);
  --beige: #f3dcc0;
  --beige-hi: #fbeedd;
  --beige-ink: #8a5a26;
  --link: #4f56d9;
  --cert-bg: #f5f7ff;
  --cert-line: rgba(79, 86, 217, 0.24);
  --cert-ink: #2443b5;
  --bar: rgba(255, 255, 255, 0.97);
  --shadow-bar: 0 -6px 18px rgba(22, 24, 29, 0.08);
  --shadow-dialog: 0 14px 34px rgba(22, 24, 29, 0.16);
  --shadow-flame: 0 6px 14px rgba(201, 41, 10, 0.28);
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-14: 14px;
  --space-16: 16px;
  --space-24: 24px;
  --radius-tag: 4px;
  --radius-chip: 6px;
  --radius-field: 8px;
  --radius-ticket: 12px;
  --radius-card: 18px;
  --radius-pill: 9999px;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #121418;
    --panel: #1c1f25;
    --ink: #eceef2;
    --ink-2: #b4b9c3;
    --muted: #959ba6;
    --line: #2a2e36;
    --line-2: #3a3f49;
    --chip: #2a2e36;
    --sun: #ffe03a;
    --sun-deep: #ffc400;
    --sun-wash: #332c12;
    --sun-ink: #f0d36a;
    --on-sun: #16181d;
    --band-1: #3b3008;
    --band-2: #2e280f;
    --band-3: #201e17;
    --flame-1: #f05410;
    --flame-2: #c9290a;
    --on-flame: #ffffff;
    --price: #ff5a2e;
    --price-text: #ff8a63;
    --peach: #2e221b;
    --trust: #45c972;
    --trust-wash: #13291b;
    --teal: #3cc7bf;
    --teal-wash: #12312f;
    --deal: #e5231b;
    --plum: #8a5ad0;
    --on-tag: #ffffff;
    --danger: #ff7a6e;
    --gold-1: #e9cf8a;
    --gold-2: #b58a35;
    --gold-ink: #3a2304;
    --chrome-1: #d9e1ea;
    --chrome-2: #8597ad;
    --chrome-ink: #16202c;
    --sheen: rgba(255, 255, 255, 0.25);
    --beige: #3a2c1c;
    --beige-hi: #4a3925;
    --beige-ink: #e8bd8c;
    --link: #9ea4ff;
    --cert-bg: #1a1f33;
    --cert-line: rgba(158, 164, 255, 0.24);
    --cert-ink: #aab4ff;
    --bar: rgba(28, 31, 37, 0.97);
    --shadow-bar: 0 -6px 18px rgba(0, 0, 0, 0.4);
    --shadow-dialog: 0 14px 34px rgba(0, 0, 0, 0.5);
    --shadow-flame: 0 6px 14px rgba(240, 84, 16, 0.25);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #121418;
  --panel: #1c1f25;
  --ink: #eceef2;
  --ink-2: #b4b9c3;
  --muted: #959ba6;
  --line: #2a2e36;
  --line-2: #3a3f49;
  --chip: #2a2e36;
  --sun: #ffe03a;
  --sun-deep: #ffc400;
  --sun-wash: #332c12;
  --sun-ink: #f0d36a;
  --on-sun: #16181d;
  --band-1: #3b3008;
  --band-2: #2e280f;
  --band-3: #201e17;
  --flame-1: #f05410;
  --flame-2: #c9290a;
  --on-flame: #ffffff;
  --price: #ff5a2e;
  --price-text: #ff8a63;
  --peach: #2e221b;
  --trust: #45c972;
  --trust-wash: #13291b;
  --teal: #3cc7bf;
  --teal-wash: #12312f;
  --deal: #e5231b;
  --plum: #8a5ad0;
  --on-tag: #ffffff;
  --danger: #ff7a6e;
  --gold-1: #e9cf8a;
  --gold-2: #b58a35;
  --gold-ink: #3a2304;
  --chrome-1: #d9e1ea;
  --chrome-2: #8597ad;
  --chrome-ink: #16202c;
  --sheen: rgba(255, 255, 255, 0.25);
  --beige: #3a2c1c;
  --beige-hi: #4a3925;
  --beige-ink: #e8bd8c;
  --link: #9ea4ff;
  --cert-bg: #1a1f33;
  --cert-line: rgba(158, 164, 255, 0.24);
  --cert-ink: #aab4ff;
  --bar: rgba(28, 31, 37, 0.97);
  --shadow-bar: 0 -6px 18px rgba(0, 0, 0, 0.4);
  --shadow-dialog: 0 14px 34px rgba(0, 0, 0, 0.5);
  --shadow-flame: 0 6px 14px rgba(240, 84, 16, 0.25);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 500 15px/1.5 var(--font-body); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.psg-ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.psg-ic--solid { fill: currentColor; stroke: none; }
.psg-stage { padding: var(--space-16); display: flex; flex-direction: column; gap: var(--space-10); }
.psg-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-8); }
.psg-card { background: var(--panel); border-radius: var(--radius-card); padding: var(--space-14); }
.psg-muted { color: var(--muted); }
.psg-lbl { font: 600 13px/1.3 var(--font-body); color: var(--muted); }

/* ---------- HeaderBand (Sales mode only)
<header class="psg-band">
  <div class="psg-band__nav"><svg class="psg-ic">…back…</svg><span>Your ProjectSG quote</span><span></span></div>
  <div class="psg-card psg-order">
    <div class="psg-order__top"><span class="psg-order__plan">12 months <span class="psg-order__ring">Promo</span></span><span class="psg-more">Plan details ›</span></div>
    <div class="psg-order__meta"><span>Subscription</span><span>Free iPad</span></div>
    <div class="psg-chips"><span class="psg-chip psg-chip--teal">Prices include 9% GST</span></div>
  </div>
</header> */
.psg-band { background: linear-gradient(180deg, var(--band-1), var(--band-2) 55%, var(--bg)); padding: var(--space-16) var(--space-12) var(--space-4); }
.psg-band__nav { display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; text-align: center; font: 700 17px/1.2 var(--font-body); margin-bottom: var(--space-12); }
.psg-band__nav .psg-ic { font-size: 22px; }
.psg-order { display: flex; flex-direction: column; gap: 9px; }
.psg-order__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); }
.psg-order__plan { font: 800 22px/1 var(--font-num); display: inline-flex; align-items: center; gap: var(--space-8); }
.psg-order__ring { font: 700 13px/1 var(--font-body); box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: var(--radius-pill); padding: 3px 8px; }
.psg-order__meta { display: flex; flex-wrap: wrap; row-gap: var(--space-4); font: 600 14px/1.3 var(--font-body); }
.psg-order__meta span + span { border-left: 1px solid var(--line-2); margin-left: var(--space-8); padding-left: var(--space-8); }
.psg-more { display: inline-flex; align-items: center; gap: 2px; font: 600 13px/1 var(--font-body); color: var(--muted); }

/* ---------- Button
<button type="button" class="psg-btn psg-btn--flame psg-btn--block">Accept quote</button>
variants: --flame (one per screen) · --sun · --line · --rect · size: --big · width: --block */
.psg-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8); border: 0; border-radius: var(--radius-pill); padding: 13px 22px; font: 700 16px/1 var(--font-body); white-space: nowrap; cursor: pointer; color: var(--ink); background: var(--chip); transition: transform 0.12s ease; }
.psg-btn:active { transform: scale(0.97); }
.psg-btn:disabled { opacity: 0.45; cursor: default; }
.psg-btn--flame { background: linear-gradient(90deg, var(--flame-1), var(--flame-2) 70%); color: var(--on-flame); box-shadow: var(--shadow-flame); font-weight: 800; }
.psg-btn--sun { background: var(--sun); color: var(--on-sun); }
.psg-btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.psg-btn--rect { border-radius: var(--radius-ticket); background: var(--flame-2); color: var(--on-flame); padding: 11px 18px; font-size: 15px; }
.psg-btn--block { width: 100%; }
.psg-btn--big { padding: 15px 24px; font-size: 17px; }
@media (prefers-reduced-motion: reduce) { .psg-btn { transition: none; } .psg-btn:active { transform: none; } }

/* ---------- BottomBar
<div class="psg-bar"><div class="psg-bar__total"><span class="psg-price psg-price--lg">…</span><span class="psg-bar__save">Saved S$2,854.71 ›</span></div><button class="psg-btn psg-btn--flame psg-btn--big">Accept quote</button></div>
Desk mode: add psg-bar--desk, a count on the left and a psg-btn--sun on the right. */
.psg-bar { position: sticky; bottom: 0; background: var(--bar); box-shadow: var(--shadow-bar); padding: var(--space-10) var(--space-12) calc(var(--space-14) + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: flex-end; gap: var(--space-12); }
.psg-bar__total { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-4); }
.psg-bar__save { display: inline-flex; align-items: center; gap: 1px; font: 600 12.5px/1 var(--font-body); color: var(--muted); }
.psg-bar--desk { justify-content: space-between; }

/* ---------- Price
<span class="psg-price psg-price--xl"><span class="psg-price__cur">S$</span>13,908<span class="psg-price__dec">.40</span></span>
<span class="psg-off">17% OFF</span>  <span class="psg-was"><s>S$16,763.11</s></span> */
.psg-price { font-family: var(--font-num); font-weight: 800; color: var(--price); line-height: 1; display: inline-flex; align-items: baseline; white-space: nowrap; font-variant-numeric: tabular-nums; }
.psg-price__cur { font-size: 0.55em; margin-right: 1px; }
.psg-price__dec { font-size: 0.58em; }
.psg-price--xl { font-size: 46px; }
.psg-price--lg { font-size: 30px; }
.psg-price--md { font-size: 22px; }
.psg-price--ink { color: var(--ink); }
.psg-price--save { color: var(--price-text); }
.psg-was { color: var(--muted); font: 600 14px/1 var(--font-num); }
.psg-was s { text-decoration-thickness: 1.5px; }
.psg-off { box-shadow: inset 0 0 0 1.5px var(--price-text); color: var(--price-text); font: 800 13px/1 var(--font-num); padding: 3px 6px; border-radius: var(--radius-tag); letter-spacing: 0.02em; white-space: nowrap; }
.psg-figure { font: 800 28px/1 var(--font-num); font-variant-numeric: tabular-nums; }

/* ---------- Instalments
<p class="psg-inst-head">Or 12 × <b>S$1,159.03</b> at 0%</p>
<div class="psg-inst"><div class="psg-inst__c is-paid"><b>S$1,159.03</b><span>Today</span></div> … <div class="psg-inst__c"><b>+9</b><span>more</span></div></div> */
.psg-inst-head { margin: 0; font: 500 13.5px/1.35 var(--font-body); }
.psg-inst-head b { font: 700 16px/1 var(--font-num); }
.psg-inst { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--radius-field); padding: var(--space-10); }
.psg-inst__c { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.psg-inst__c b { font: 700 15px/1 var(--font-num); font-variant-numeric: tabular-nums; }
.psg-inst__c span { font-size: 11.5px; color: var(--muted); }
.psg-inst__c::after { content: ""; height: 5px; border-radius: 3px; background: var(--trust-wash); margin-top: var(--space-4); }
.psg-inst__c.is-paid::after { background: var(--trust); }

/* ---------- CouponTicket (sits on a panel card: the notches are panel-coloured)
<div class="psg-tickets"><div class="psg-ticket"><span class="psg-ticket__corner">Gift</span><div class="psg-ticket__top"><span class="psg-price">…S$649…</span><small>iPad</small></div><div class="psg-ticket__bot"><span>12-month plans</span><span class="psg-ticket__pill">Included</span></div></div></div> */
.psg-tickets { display: flex; gap: var(--space-8); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.psg-tickets::-webkit-scrollbar { display: none; }
.psg-ticket { position: relative; flex: 0 0 104px; border-radius: var(--radius-ticket); background: linear-gradient(180deg, var(--flame-1), var(--flame-2) 45%); color: var(--on-flame); padding: 3px; display: flex; flex-direction: column; }
.psg-ticket::before, .psg-ticket::after { content: ""; position: absolute; top: 64%; width: 12px; height: 12px; border-radius: 50%; background: var(--panel); }
.psg-ticket::before { left: -6px; }
.psg-ticket::after { right: -6px; }
.psg-ticket__top { background: var(--panel); border-radius: 10px 10px 4px 4px; padding: 12px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: var(--space-4); color: var(--price-text); }
.psg-ticket__top .psg-price { font-size: 21px; color: var(--price-text); }
.psg-ticket__top small { font: 600 11.5px/1.2 var(--font-body); }
.psg-ticket__bot { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); padding: 8px 4px 7px; font: 700 11.5px/1.2 var(--font-body); text-align: center; }
.psg-ticket__pill { background: var(--panel); color: var(--price-text); border-radius: var(--radius-pill); padding: 4px 12px; font: 800 12px/1 var(--font-body); }
.psg-ticket__corner { position: absolute; top: 3px; right: 3px; z-index: 1; background: var(--sun-wash); color: var(--sun-ink); font: 700 10px/1 var(--font-body); padding: 3px 5px; border-radius: 0 9px 0 6px; }

/* ---------- Strip: savings banner, trust strip, trust pill
<div class="psg-save"><span class="psg-tag-new">New client</span><span>You save S$2,854.71 on this quote!</span></div>
<div class="psg-trust"><span><svg class="psg-ic">…check…</svg>0% instalments</span>…</div>
<span class="psg-pill-trust"><svg class="psg-ic">…check…</svg>Free iPad</span> */
.psg-save { background: var(--peach); border-radius: var(--radius-field); padding: var(--space-8) var(--space-10); display: flex; align-items: center; gap: var(--space-8); color: var(--price-text); font: 700 13.5px/1.3 var(--font-body); }
.psg-tag-new { background: var(--flame-2); color: var(--on-flame); font: italic 800 13px/1 var(--font-num); padding: 4px 8px; border-radius: 7px 2px 7px 2px; letter-spacing: 0.02em; white-space: nowrap; }
.psg-trust { box-shadow: inset 0 0 0 1.5px var(--trust); color: var(--trust); background: var(--panel); border-radius: var(--radius-field); padding: var(--space-8) var(--space-10); display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-12); font: 700 13px/1.3 var(--font-body); }
.psg-trust span { display: inline-flex; align-items: center; gap: var(--space-4); }
.psg-pill-trust { display: inline-flex; align-items: center; gap: 5px; box-shadow: inset 0 0 0 1.5px var(--trust); color: var(--trust); border-radius: var(--radius-pill); padding: 6px 12px; font: 800 12.5px/1 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Tag: selling tags, info chips, status chips
<span class="psg-tag psg-tag--deal">PROMO</span> · <span class="psg-chip psg-chip--teal">Prices include 9% GST</span> · <span class="psg-status psg-status--accepted">Accepted</span> */
.psg-tag { display: inline-flex; align-items: center; gap: var(--space-4); font: 800 12px/1 var(--font-body); padding: 4px 7px; border-radius: var(--radius-tag); letter-spacing: 0.03em; white-space: nowrap; }
.psg-tag--deal { background: var(--deal); color: var(--on-tag); }
.psg-tag--plum { background: var(--plum); color: var(--on-tag); }
.psg-tag--laurel { background: var(--beige-hi); color: var(--beige-ink); padding: 4px 6px; letter-spacing: 0.01em; }
.psg-tag--laurel .psg-ic:last-child { transform: scaleX(-1); }
.psg-chips { display: flex; flex-wrap: wrap; gap: var(--space-6); }
.psg-chip { display: inline-flex; align-items: center; gap: var(--space-4); font: 600 12.5px/1 var(--font-body); padding: 5px 8px; border-radius: var(--radius-chip); white-space: nowrap; }
.psg-chip--grey { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }
.psg-chip--teal { box-shadow: inset 0 0 0 1px var(--teal); background: var(--teal-wash); color: var(--teal); }
.psg-chip--sun { background: var(--sun-wash); color: var(--sun-ink); }
.psg-chip--free { background: var(--teal-wash); color: var(--teal); font-weight: 700; }
.psg-chip--ex { background: var(--chip); color: var(--muted); font-size: 11px; padding: 4px 6px; }
.psg-status { font: 700 11.5px/1 var(--font-body); padding: 4px 7px; border-radius: var(--radius-tag); white-space: nowrap; }
.psg-status--opened { background: var(--teal-wash); color: var(--teal); }
.psg-status--accepted { background: var(--trust-wash); color: var(--trust); }
.psg-status--new { background: var(--chip); color: var(--muted); }
.psg-status--due { background: var(--peach); color: var(--price-text); }

/* ---------- TierCard
<div class="psg-tier psg-tier--gold"><div class="psg-tier__badge"><span class="psg-tier__big">12</span><span class="psg-tier__unit">months</span></div><div class="psg-tier__body"><span class="psg-tier__name">Standard</span><span class="psg-tier__price">S$16,763.11</span><span class="psg-tier__note">S$1,396.92 a month</span></div></div> */
.psg-tiers { display: flex; flex-direction: column; gap: var(--space-8); }
.psg-tier { position: relative; overflow: hidden; border-radius: var(--radius-ticket); padding: var(--space-12) var(--space-14); display: flex; align-items: center; gap: var(--space-14); }
.psg-tier::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, var(--sheen) 50%, transparent 62%); }
.psg-tier--chrome { background: linear-gradient(135deg, var(--chrome-1), var(--chrome-2)); color: var(--chrome-ink); }
.psg-tier--gold { background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: var(--gold-ink); }
.psg-tier--sun { background: linear-gradient(135deg, var(--sun), var(--sun-deep)); color: var(--on-sun); }
.psg-tier__badge { display: flex; flex-direction: column; align-items: center; width: 44px; }
.psg-tier__big { font: italic 800 36px/0.9 var(--font-num); }
.psg-tier__unit { font: 700 10.5px/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; }
.psg-tier__body { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.psg-tier__name { display: flex; align-items: center; gap: var(--space-6); font: 700 13px/1.2 var(--font-body); }
.psg-tier__price { font: 800 20px/1 var(--font-num); font-variant-numeric: tabular-nums; }
.psg-tier__note { font: 600 12px/1.3 var(--font-body); }

/* ---------- BenefitIcon
<div class="psg-perks"><div class="psg-perk"><span class="psg-disk"><svg class="psg-ic">…</svg></span><b>Roundrobin</b><span>Lead sharing</span></div>…</div> */
.psg-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-14) var(--space-6); }
.psg-perks--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.psg-perk { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; min-width: 0; }
.psg-disk { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--beige-hi), var(--beige)); color: var(--beige-ink); display: grid; place-items: center; font-size: 23px; }
.psg-perk b { font: 700 13px/1.15 var(--font-body); }
.psg-perk span { font: 500 11.5px/1.15 var(--font-body); color: var(--muted); }

/* ---------- GiftCertificate (a real gift or credit only)
<div class="psg-cert"><div class="psg-cert__in"><div class="psg-cert__hd"><div><span class="psg-cert__l">Gift for</span><b>Client</b></div><div><span class="psg-cert__l">Date</span><b>29 Oct 2026</b></div></div><div class="psg-cert__amt"><span>S$</span>649</div><div class="psg-cert__ft"><span>iPad, included…</span><span class="psg-cert__sig">ProjectSG</span></div></div></div> */
.psg-cert { padding: 7px; border-radius: 6px; background: repeating-linear-gradient(45deg, var(--cert-line) 0 1.5px, transparent 1.5px 6px), repeating-linear-gradient(-45deg, var(--cert-line) 0 1.5px, transparent 1.5px 6px), var(--cert-bg); }
.psg-cert__in { background: var(--cert-bg); box-shadow: inset 0 0 0 1.5px var(--cert-line); border-radius: 3px; padding: var(--space-14) var(--space-16); display: flex; flex-direction: column; gap: var(--space-6); color: var(--cert-ink); }
.psg-cert__hd { display: flex; justify-content: space-between; gap: var(--space-12); }
.psg-cert__hd div { display: flex; flex-direction: column; gap: 3px; }
.psg-cert__hd div:last-child { align-items: flex-end; }
.psg-cert__l { font: 800 10.5px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; }
.psg-cert__hd b { font: 700 15px/1.1 var(--font-body); color: var(--ink); }
.psg-cert__amt { font: italic 800 62px/1 var(--font-num); text-shadow: 3px 3px 0 var(--sun); }
.psg-cert__amt span { font-size: 0.55em; }
.psg-cert__ft { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-10); font: 600 12.5px/1.3 var(--font-body); }
.psg-cert__sig { font: italic 800 18px/1 var(--font-num); color: var(--ink); }

/* ---------- FormField
<div class="psg-fld"><label class="psg-flabel" for="name">Client full name <i class="psg-req">*</i></label><input id="name" class="psg-field psg-field--err" aria-invalid="true" aria-describedby="name-err"><p class="psg-ferr" id="name-err">Enter the client's full name.</p></div>
<div class="psg-fw"><span class="psg-fw__pre">SG +65</span><input id="phone" placeholder="Enter an 8-digit number"></div> */
.psg-fld { display: flex; flex-direction: column; gap: 7px; }
.psg-flabel { font: 600 14.5px/1 var(--font-body); color: var(--ink); }
.psg-req { color: var(--price-text); font-style: normal; }
.psg-field { width: 100%; font: 500 15px/1.2 var(--font-body); color: var(--ink); background: var(--panel); border: 1px solid var(--ink-2); border-radius: var(--radius-field); padding: var(--space-12); }
.psg-field--err { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.psg-ferr { display: flex; align-items: center; gap: var(--space-6); margin: 0; font: 600 13px/1.3 var(--font-body); color: var(--danger); }
.psg-fw { display: flex; align-items: center; border: 1px solid var(--ink-2); border-radius: var(--radius-field); background: var(--panel); }
.psg-fw:focus-within { box-shadow: 0 0 0 2px var(--link); }
.psg-fw__pre { padding: 0 10px 0 12px; border-right: 1px solid var(--line-2); font-weight: 600; white-space: nowrap; }
.psg-fw input { border: 0; flex: 1; min-width: 0; padding: var(--space-12); background: transparent; font: 500 15px/1.2 var(--font-body); color: var(--ink); }
.psg-fw input:focus { outline: none; }
.psg-field::placeholder, .psg-fw input::placeholder { color: var(--muted); }

/* ---------- Tabs: underline tabs switch views, grey chips filter
<div class="psg-tabs" role="tablist"><button role="tab" aria-selected="true">12 months</button>…</div>
<div class="psg-fchips"><button class="psg-fchip" aria-pressed="true">Promo</button>…</div> */
.psg-tabs { display: flex; gap: 22px; }
.psg-tabs button { position: relative; background: none; border: 0; padding: 8px 0 10px; font: 600 15.5px/1 var(--font-body); color: var(--muted); cursor: pointer; }
.psg-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 800; }
.psg-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 22px; height: 3.5px; border-radius: 2px; background: var(--ink); transform: translateX(-50%); }
.psg-fchips { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.psg-fchip { background: var(--chip); border: 1px solid transparent; border-radius: var(--radius-field); padding: 8px 12px; font: 600 13.5px/1 var(--font-body); color: var(--ink); cursor: pointer; }
.psg-fchip[aria-pressed="true"] { background: var(--sun-wash); border-color: var(--sun-deep); color: var(--sun-ink); }

/* ---------- ConfirmDialog (a real decision only; never on leaving a page)
<div class="psg-dlg" role="dialog" aria-labelledby="t"><p class="psg-dlg__t" id="t">Leave without accepting? …</p><div class="psg-dlg__icons">…</div><button class="psg-btn psg-btn--flame psg-btn--block">Accept quote</button><button class="psg-btn psg-btn--line psg-btn--block">Come back later</button></div> */
.psg-dlg { background: var(--panel); border-radius: var(--radius-card); padding: 20px 18px var(--space-16); box-shadow: var(--shadow-dialog), inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: var(--space-14); text-align: center; }
.psg-dlg__t { margin: 0; font: 700 17px/1.35 var(--font-body); text-wrap: balance; }
.psg-dlg__t em { font-style: normal; color: var(--price-text); }
.psg-dlg__icons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.psg-dlg__icons > div { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); font: 600 13px/1.3 var(--font-body); }
.psg-dlg__icons span:not(.psg-dot) { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.psg-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; }
.psg-dot--trust { background: var(--trust-wash); color: var(--trust); }
.psg-dot--save { background: var(--peach); color: var(--price-text); }

/* ProjectSG website layer. Reads the tokens and psg- components from tokens.css.
   Layout: grey page, white flat cards, a yellow band opens every page, one flame button per screen. */
:root {
  --wrap: 1180px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --sec: clamp(40px, 6vw, 72px);
  --head-h: 68px;
}

[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: calc(var(--wrap) + 32px); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--panel); padding: 8px 12px; border-radius: var(--radius-field); z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type */
.display { font: italic 800 clamp(40px, 6.2vw, 76px)/0.98 var(--font-num); letter-spacing: -0.01em; }
.h-page { font: italic 800 clamp(34px, 4.6vw, 56px)/1.02 var(--font-num); }
.h-sec { font: 800 clamp(26px, 3.2vw, 38px)/1.12 var(--font-body); letter-spacing: -0.01em; }
.h-card { font: 700 20px/1.25 var(--font-body); }
.eyebrow { font: 800 12.5px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.lead { font: 500 clamp(17px, 1.6vw, 19px)/1.55 var(--font-body); color: var(--ink-2); max-width: 62ch; }
.body-2 { color: var(--ink-2); }
.small { font-size: 14px; color: var(--muted); }

/* ---------- Announcement + header */
.announce { background: var(--ink); color: var(--bg); font: 600 14px/1.3 var(--font-body); }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: var(--space-10); padding-block: 9px; text-align: center; }
.announce a { text-decoration: none; }
.announce a:hover span:last-child { text-decoration: underline; }
.announce .psg-tag { background: var(--sun); color: var(--on-sun); }

.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bar); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.site-head .wrap { height: var(--head-h); display: flex; align-items: center; gap: var(--space-24); }
.brand { display: inline-flex; flex: none; }
.brand img { height: 30px; width: auto; }
.logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none !important; } :root:not([data-theme="light"]) .logo-dark { display: block !important; } }
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: var(--space-8); }
.nav > a, .nav-dd > button { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; font: 600 15px/1 var(--font-body); color: var(--ink-2); text-decoration: none; border-radius: var(--radius-field); cursor: pointer; }
.nav > a:hover, .nav-dd > button:hover { color: var(--ink); background: var(--chip); }
.nav [aria-current="page"], .nav-dd.is-current > button { color: var(--ink); font-weight: 800; }
.nav > a[aria-current="page"]::after, .nav-dd.is-current > button::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 22px; height: 3.5px; border-radius: 2px; background: var(--ink); transform: translateX(-50%); }
.nav-dd { position: relative; }
.nav-dd .psg-ic { font-size: 16px; transition: transform 0.15s; }
.nav-dd[data-open] .psg-ic { transform: rotate(180deg); }
.nav-dd__menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; background: var(--panel); border-radius: var(--radius-card); box-shadow: var(--shadow-dialog), inset 0 0 0 1px var(--line); padding: var(--space-8); display: none; }
.nav-dd[data-open] .nav-dd__menu { display: grid; gap: 2px; }
/* Invisible bridge over the gap between the button and the menu, so the pointer can travel down without closing it. */
.nav-dd__menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 30px; }
.nav-dd__menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--radius-ticket); text-decoration: none; }
.nav-dd__menu a:hover { background: var(--sun-wash); }
/* The current page inside a dropdown is marked by a soft highlight; the underline is only for the top bar items. */
.nav-dd__menu a[aria-current="page"] { background: var(--sun-wash); }
.nav-dd__menu a[aria-current="page"] b { color: var(--sun-ink); }
.nav-dd__menu b { font: 700 15px/1.2 var(--font-body); }
.nav-dd__menu span { font: 500 13px/1.35 var(--font-body); color: var(--muted); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-6); }
.head-link { padding: 10px 12px; font: 600 15px/1 var(--font-body); color: var(--ink-2); text-decoration: none; border-radius: var(--radius-field); }
.head-link:hover { color: var(--ink); background: var(--chip); }
.psg-btn { text-decoration: none; }
.psg-btn--sm { padding: 10px 16px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: var(--radius-field); background: var(--chip); color: var(--ink); place-items: center; font-size: 22px; cursor: pointer; }
.mnav { display: none; }

@media (max-width: 1020px) {
  .nav, .head-actions .head-link { display: none; }
  .menu-btn { display: grid; margin-left: 0; }
  .head-actions { gap: var(--space-8); }
  .mnav[data-open] { display: block; position: fixed; inset: calc(var(--head-h) + env(safe-area-inset-top, 0px)) 0 0; z-index: 49; background: var(--bg); overflow-y: auto; padding: var(--space-16) var(--gutter-r) calc(var(--space-24) + env(safe-area-inset-bottom, 0px)) var(--gutter); }
  .mnav__group { background: var(--panel); border-radius: var(--radius-card); padding: var(--space-6); margin-bottom: var(--space-10); display: grid; }
  .mnav__group a { display: flex; justify-content: space-between; align-items: center; padding: 14px 12px; font: 700 17px/1.2 var(--font-body); text-decoration: none; border-radius: var(--radius-ticket); }
  .mnav__group a + a { border-top: 1px solid var(--line); }
  .mnav__group a[aria-current="page"] { background: var(--sun-wash); color: var(--sun-ink); }
  .mnav__label { padding: 10px 12px 4px; }
  .mnav .psg-btn { width: 100%; }
  /* Property, Education and Corporate open like the desktop mega menu's columns: medal, name and line, then the pages. */
  .mnav__disc { padding: 0; }
  .mnav__disc > summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 12px; align-items: center; padding: 14px; cursor: pointer; list-style: none; border-radius: var(--radius-card); }
  .mnav__disc > summary::-webkit-details-marker { display: none; }
  .mnav__disc > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
  .mnav__disc .medal { width: 40px; height: 40px; font-size: 19px; }
  .mnav__disc summary b { display: block; font: 800 17px/1.2 var(--font-body); color: var(--ink); }
  .mnav__disc summary b + span { display: block; margin-top: 2px; font: 500 13.5px/1.3 var(--font-body); color: var(--muted); }
  .mnav__chev { width: 20px; height: 20px; color: var(--muted); transition: transform 0.25s; }
  .mnav__disc[open] .mnav__chev { transform: rotate(180deg); }
  .mnav__items { display: grid; padding: 0 var(--space-6) var(--space-6); border-top: 1px solid var(--line); }
  .mnav__items a.mnav__pkg { justify-self: start; margin: 12px 12px 6px; }
  .mnav__items .mnav__pkg + a { border-top: 0; }
}
@media (max-width: 520px) {
  .brand img { height: 24px; }
  .head-actions .psg-btn--sm { padding: 10px 14px; font-size: 14px; }
}

/* ---------- Band hero */
.hero { background: linear-gradient(180deg, var(--band-1), var(--band-2) 58%, var(--bg)); }
.hero .wrap { padding-block: clamp(36px, 6vw, 80px) clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__copy { display: grid; gap: var(--space-16); justify-items: start; min-width: 0; }
.hero__copy .lead { color: var(--ink); opacity: 0.86; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-10); margin-top: var(--space-6); }
.hero--page .wrap { grid-template-columns: minmax(0, 1fr); padding-block: clamp(28px, 5vw, 56px) clamp(20px, 3vw, 32px); }
.hero--page .hero__copy { max-width: 820px; }
.hero--split .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font: 600 14px/1.3 var(--font-body); color: var(--ink-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: 0.6; }
@media (max-width: 860px) {
  .hero .wrap, .hero--split .wrap { grid-template-columns: minmax(0, 1fr); }
}

/* Proof card that sits in the hero */
.proof { display: grid; gap: var(--space-12); padding: clamp(16px, 2vw, 22px); }
.proof__row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--space-12); align-items: center; }
.proof__row + .proof__row { border-top: 1px solid var(--line); padding-top: var(--space-12); }
.proof__row b { display: block; font: 700 16px/1.25 var(--font-body); color: var(--ink); }
.proof__row > span:last-child > span { font: 500 14px/1.35 var(--font-body); color: var(--muted); }
.medal { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; position: relative; overflow: hidden; }
.medal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, var(--sheen) 50%, transparent 62%); }
.medal--chrome { background: linear-gradient(135deg, var(--chrome-1), var(--chrome-2)); color: var(--chrome-ink); }
.medal--gold { background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: var(--gold-ink); }
.medal--sun { background: linear-gradient(135deg, var(--sun), var(--sun-deep)); color: var(--on-sun); }
.medal img { width: 30px; height: 30px; }

/* ---------- Sections */
main { padding-bottom: var(--sec); }
.sec { padding-block: var(--sec) 0; }
.sec__head { display: grid; gap: var(--space-10); margin-bottom: clamp(20px, 3vw, 32px); max-width: 760px; }
.sec__head--row { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
@media (max-width: 640px) { .sec__head--row { grid-template-columns: minmax(0, 1fr); } }
.grid { display: grid; gap: var(--space-14); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); } }

.card { background: var(--panel); border-radius: var(--radius-card); padding: clamp(18px, 2.2vw, 26px); display: flex; flex-direction: column; gap: var(--space-10); min-width: 0; }
.card--media { padding: 0; overflow: hidden; }
.card--media > img, .card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--chip); }
.card--media .card__body { padding: clamp(18px, 2.2vw, 24px); display: flex; flex-direction: column; gap: var(--space-10); flex: 1; }
.card__foot { margin-top: auto; padding-top: var(--space-6); }
.card .psg-disk { margin-bottom: var(--space-4); }
.more { display: inline-flex; align-items: center; gap: 4px; font: 700 15px/1.2 var(--font-body); color: var(--ink); text-decoration: none; }
.more .psg-ic { font-size: 18px; transition: transform 0.15s; }
.more:hover .psg-ic { transform: translateX(3px); }
a.card { text-decoration: none; transition: box-shadow 0.15s; }
a.card:hover { box-shadow: inset 0 0 0 2px var(--sun-deep); }
@media (prefers-reduced-motion: reduce) { .more .psg-ic, a.card { transition: none; } }

/* Split feature: image beside copy, inside one card */
.feature { background: var(--panel); border-radius: var(--radius-card); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.feature > img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.feature__body { padding: clamp(22px, 3.4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: var(--space-14); align-items: flex-start; min-width: 0; }
.feature--rev > img { order: 2; }
@media (max-width: 820px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature > img { min-height: 0; aspect-ratio: 16 / 9; } .feature--rev > img { order: 0; } }

/* Sun card: the brand-yellow highlight block (one per page at most) */
.card--sun { background: linear-gradient(135deg, var(--sun), var(--sun-deep)); color: var(--on-sun); position: relative; overflow: hidden; }
.card--sun .body-2, .card--sun .eyebrow { color: var(--on-sun); opacity: 0.82; }
.card--sun .psg-btn--line { box-shadow: inset 0 0 0 1.5px var(--on-sun); color: var(--on-sun); }

/* Figures row */
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-14); }
.fig { background: var(--panel); border-radius: var(--radius-card); padding: 20px; display: grid; gap: 6px; align-content: start; }
.fig .psg-figure { font-size: clamp(30px, 3.4vw, 42px); }
.fig span { font: 600 14px/1.35 var(--font-body); color: var(--ink-2); }
@media (max-width: 860px) { .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Logo wall */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-10); }
.logos > div { background: var(--panel); border-radius: var(--radius-ticket); aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 14px; }
.logos img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.85; transition: filter 0.2s, opacity 0.2s; }
.logos > div:hover img { filter: none; opacity: 1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logos > div { background: var(--chrome-1); } }
:root[data-theme="dark"] .logos > div { background: var(--chrome-1); }
.logos--7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 960px) { .logos, .logos--7 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logos, .logos--7 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Checklist */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-10); }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-10); align-items: start; }
.checks .psg-ic { font-size: 20px; color: var(--trust); margin-top: 2px; }

/* Steps: a real sequence only */
.steps { counter-reset: step; display: grid; gap: var(--space-14); grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
.step { background: var(--panel); border-radius: var(--radius-card); padding: 22px; display: grid; gap: var(--space-8); align-content: start; }
.step::before { counter-increment: step; content: counter(step); font: italic 800 34px/1 var(--font-num); color: var(--sun-ink); background: var(--sun-wash); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: var(--space-6); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Timeline (Our story) */
.timeline { display: grid; gap: var(--space-14); position: relative; }
.tl { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--space-16); background: var(--panel); border-radius: var(--radius-card); padding: clamp(18px, 2.4vw, 28px); }
.tl__when { font: italic 800 32px/1 var(--font-num); color: var(--ink); }
.tl__when small { display: block; font: 700 12px/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-style: normal; margin-top: 6px; }
.tl__body { display: grid; gap: var(--space-8); }
@media (max-width: 640px) { .tl { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } }

/* People */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-14); }
.person { background: var(--panel); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: var(--chip); }
.person div { padding: 14px 16px 18px; display: grid; gap: 2px; }
.person b { font: 700 17px/1.25 var(--font-body); }
.person span { font: 500 14px/1.35 var(--font-body); color: var(--muted); }
@media (max-width: 960px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-14); }
.post { background: var(--panel); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: box-shadow 0.15s; }
.post:hover { box-shadow: inset 0 0 0 2px var(--sun-deep); }
.post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--chip); }
.post__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: var(--space-8); flex: 1; }
.post__body h3 { font: 700 18px/1.3 var(--font-body); }
.post__body p { font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post__meta { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; margin-top: auto; padding-top: var(--space-6); }
.post--lead { grid-column: span 2; }
.post--lead img { aspect-ratio: 16 / 8; }
.post--lead h3 { font-size: 24px; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .posts { grid-template-columns: minmax(0, 1fr); } .post--lead { grid-column: auto; } }

/* ---------- Article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(16px, 3vw, 32px); align-items: start; }
.article__main { background: var(--panel); border-radius: var(--radius-card); overflow: hidden; min-width: 0; }
.article__main > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.prose { padding: clamp(20px, 4vw, 52px); max-width: 74ch; font-size: 17.5px; line-height: 1.72; display: grid; gap: 1.05em; }
.prose h2 { font: 800 clamp(22px, 2.4vw, 28px)/1.25 var(--font-body); margin-top: 0.8em; }
.prose h3 { font: 700 20px/1.3 var(--font-body); margin-top: 0.4em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 0.45em; }
.prose a { color: var(--link); text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-ticket); }
.prose blockquote { margin: 0; padding: 14px 18px; border-radius: var(--radius-field); background: var(--chip); font-weight: 600; }
.callout { background: var(--trust-wash); color: var(--ink); border-radius: var(--radius-field); padding: 14px 16px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-10); }
.callout .psg-ic { color: var(--trust); font-size: 20px; margin-top: 3px; }
.callout b:first-child { color: var(--trust); }
.aside { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: var(--space-14); }
@media (max-width: 960px) { .article { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } }

/* ---------- Forms */
.form { display: grid; gap: var(--space-14); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-14); }
@media (max-width: 560px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.psg-field, .psg-fw input { font-size: 16px; }
textarea.psg-field { min-height: 120px; resize: vertical; line-height: 1.5; }
.form__note { font: 500 13px/1.45 var(--font-body); color: var(--muted); }
.form__done { display: none; }
.form[data-state="sent"] > :not(.form__done) { display: none; }
.form[data-state="sent"] .form__done { display: grid; gap: var(--space-8); }

/* ---------- Contact band (end of page) */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 40px); background: var(--panel); border-radius: var(--radius-card); padding: clamp(22px, 3.4vw, 44px); }
.cta__copy { display: grid; gap: var(--space-14); align-content: start; }
.cta__ways { display: grid; gap: var(--space-10); margin-top: var(--space-6); }
.cta__way { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--space-10); align-items: center; text-decoration: none; }
.cta__way .psg-dot { width: 40px; height: 40px; font-size: 20px; }
.cta__way b { display: block; font: 700 15px/1.2 var(--font-body); }
.cta__way > span:last-child > span { font: 500 14px/1.3 var(--font-body); color: var(--muted); }
@media (max-width: 860px) { .cta { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer (redesigned 2026-10-30). Relies only on what the site already has: .wrap, .sr, .psg-ic, --font-body, data-theme,
   and the black, white and dark gold tokens at the end of brand.css (--accent-text, --gold-line, --gold-1,
   --gold-2, --gold-ink, --flame-1, --flame-2, --on-flame, --shadow-flame). No yellow, no orange.
   Motion: transform and opacity only, paused off screen, none with reduced motion. */

:root, :root[data-theme="dark"] {
  --sf-bg: #08090b;
  --sf-panel: #101114;
  --sf-panel-2: #16171b;
  --sf-line: rgba(255, 255, 255, 0.085);
  --sf-line-2: rgba(255, 255, 255, 0.16);
  --sf-ink: #f4f3ef;
  --sf-ink-2: #b9bbc0;       /* 10.4:1 on --sf-bg */
  --sf-muted: #9a9da3;       /* 7.0:1 on --sf-panel */
  --sf-gold-text: var(--accent-text, #e9cf8a);   /* 12:1 on --sf-panel */
  --sf-plate: #f6f5f1;
  --sf-mark-top: #202127;
  --sf-mark-bot: #0d0e11;
  --sf-mark-edge: rgba(255, 255, 255, 0.08);
  --sf-spot-a: #fff3d1;
  --sf-spot-b: #e9c97a;
  --sf-spot-c: #b58a35;
  --sf-glow: rgba(212, 166, 72, 0.11);
}
:root[data-theme="light"] {
  --sf-bg: #efeee9;
  --sf-panel: #ffffff;
  --sf-panel-2: #f6f5f1;
  --sf-line: rgba(12, 12, 14, 0.09);
  --sf-line-2: rgba(12, 12, 14, 0.18);
  --sf-ink: #0b0b0c;
  --sf-ink-2: #3f4045;       /* 8.9:1 on --sf-bg */
  --sf-muted: #5c5e64;       /* 5.6:1 on --sf-bg, 6.4:1 on white */
  --sf-gold-text: var(--accent-text, #8a5a26);   /* 5.1:1 on --sf-bg, 5.9:1 on white */
  --sf-plate: #ffffff;
  --sf-mark-top: #dcd9d0;
  --sf-mark-bot: #eae8e2;
  --sf-mark-edge: rgba(12, 12, 14, 0.06);
  --sf-spot-a: #f3d88f;
  --sf-spot-b: #c4963e;
  --sf-spot-c: #8a6420;
  --sf-glow: rgba(181, 138, 53, 0.16);
}

.sf { position: relative; isolation: isolate; overflow: hidden; background: var(--sf-bg); color: var(--sf-ink); font-family: var(--font-body); font-size: 15px; line-height: 1.5; }
.sf::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line) 22%, var(--gold-line) 78%, transparent); opacity: 0.6; }
.sf a { color: inherit; text-decoration: none; }
.sf ul { list-style: none; margin: 0; padding: 0; }
.sf h2, .sf h3 { margin: 0; font: inherit; }
.sf :focus-visible { outline: 2px solid var(--gold-line); outline-offset: 3px; border-radius: 8px; }
.sf > .wrap { position: relative; z-index: 1; display: grid; gap: clamp(40px, 4.2vw, 56px); padding-top: clamp(48px, 6vw, 84px); }

/* Ambient light that follows the pointer across the footer (fine pointers only). */
.sf-light { position: absolute; z-index: 0; left: 0; top: 0; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; background: radial-gradient(closest-side, var(--sf-glow), transparent); opacity: 0; pointer-events: none; transition: opacity 0.6s ease; will-change: transform; }
.sf.is-lit .sf-light { opacity: 1; }

.sf-eyebrow { font: 600 12px/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sf-gold-text); }
.sf-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--sf-ink); }
.sf-more .psg-ic { color: var(--sf-gold-text); transition: transform 0.25s ease; }
.sf-more:hover .psg-ic { transform: translateX(4px); }

/* ---------- 1. Recognition: four equal tiles, logos on light plates (award marks stay unaltered). */
.sf-awards { display: grid; gap: 20px; }
.sf-awards__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }
.sf-awards__lede { display: grid; gap: 10px; }
.sf-awards__lede b { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; color: var(--sf-ink); }
.sf-awards__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sf-award { height: 100%; display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: 8px 8px 14px; border-radius: 18px; background: var(--sf-panel); box-shadow: inset 0 0 0 1px var(--sf-line); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease; }
.sf-award__plate { position: relative; overflow: hidden; height: 92px; border-radius: 12px; background: var(--sf-plate); display: grid; place-items: center; }
:root[data-theme="light"] .sf-award__plate { box-shadow: inset 0 0 0 1px var(--sf-line); }
.sf-award__plate img { display: block; width: auto; height: auto; max-width: 82%; max-height: 74px; }
.sf-award__plate img.is-wide { max-height: 54px; }
.sf-award__plate img.is-badge { max-height: 64px; }
.sf-award__plate::after { content: ""; position: absolute; inset: -20% -40%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.9) 50%, transparent 60%); transform: translateX(-75%); opacity: 0; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s; pointer-events: none; }
.sf-award__txt { display: grid; gap: 3px; align-content: start; padding-inline: 8px; line-height: 1.35; }
.sf-award__txt b { font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; color: var(--sf-ink); }
.sf-award__txt span { font-size: 13px; color: var(--sf-muted); }
.sf-award:hover, .sf-award:focus-visible { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--gold-line); }
.sf-award:hover .sf-award__plate::after, .sf-award:focus-visible .sf-award__plate::after { transform: translateX(75%); opacity: 1; }

/* ---------- 2. Brand and contact row. */
.sf-brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--sf-line); }
.sf-brand__id { display: grid; gap: 14px; max-width: 400px; }
.sf-logo { justify-self: start; }
.sf-logo img { height: 30px; width: auto; display: block; }
.sf-logo .logo-light { display: none; }
:root[data-theme="light"] .sf-logo .logo-light { display: block; }
:root[data-theme="light"] .sf-logo .logo-dark { display: none; }
.sf-brand__id p { color: var(--sf-ink-2); }
.sf-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.sf-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px 0 20px; border-radius: 9999px; background: linear-gradient(180deg, var(--flame-1), var(--flame-2)); color: var(--on-flame) !important; font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; white-space: nowrap; box-shadow: var(--shadow-flame); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.sf-cta .psg-ic { font-size: 20px; }
.sf-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-flame), 0 0 0 2px var(--sf-bg), 0 0 0 3.5px var(--gold-line); }
.sf-cta:active { transform: translateY(0); }
.sf-way { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: var(--sf-ink); font-weight: 500; white-space: nowrap; }
.sf-way__ic { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--sf-line-2); color: var(--sf-gold-text); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.sf-way__ic .psg-ic { font-size: 17px; }
.sf-way:hover .sf-way__ic { transform: scale(1.06); box-shadow: inset 0 0 0 1px var(--gold-line); }
.sf-way:hover > span:last-child { text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 4px; }
.sf-mailrow { display: flex; align-items: center; gap: 8px; }
.sf-copy { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 0; border-radius: 9999px; background: var(--sf-panel-2); color: var(--sf-ink-2); box-shadow: inset 0 0 0 1px var(--sf-line); font: 600 12.5px/1 var(--font-body); cursor: pointer; transition: color 0.2s, box-shadow 0.2s; }
.sf-copy:hover { color: var(--sf-ink); box-shadow: inset 0 0 0 1px var(--gold-line); }
.sf-copy > span { display: inline-flex; align-items: center; gap: 6px; }
.sf-copy .psg-ic { font-size: 14px; }
.sf-copy .sf-copy__done { display: none; }
.sf-copy.is-done { color: var(--sf-gold-text); box-shadow: inset 0 0 0 1px var(--gold-line); }
.sf-copy.is-done .sf-copy__idle { display: none; }
.sf-copy.is-done .sf-copy__done { display: inline-flex; }

/* ---------- 3. Link columns: Property, Education, Corporate (phone accordions) and Company. */
.sf-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(20px, 2.6vw, 40px); align-content: start; }
.sf-col { display: grid; gap: 16px; align-content: start; }
.sf-col__h { display: grid; }
.sf-col__link, .sf-col__btn { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; color: var(--sf-ink); }
.sf-col__btn { display: none; }
.sf-col__hint { display: block; margin: 3px 0 0 38px; font-size: 13px; color: var(--sf-muted); }
.sf-medal { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--sf-gold-text); box-shadow: inset 0 0 0 1px var(--sf-line-2); transition: box-shadow 0.25s, transform 0.25s; }
.sf-medal .psg-ic { font-size: 15px; }
a.sf-col__link:hover .sf-medal { box-shadow: inset 0 0 0 1px var(--gold-line); transform: rotate(-8deg); }
a.sf-col__link:hover > span:last-child { text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 4px; }
.sf-col__list { display: grid; gap: 11px; padding-left: 38px !important; }
.sf-col__list a { position: relative; display: inline-block; color: var(--sf-ink-2); font-weight: 500; line-height: 1.35; transition: color 0.2s; }
.sf-col__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--gold-line); transform: scaleX(0); transform-origin: left; transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.sf-col__list a:hover { color: var(--sf-ink); }
.sf-col__list a:hover::after { transform: scaleX(1); }
/* The current page (build.py adds aria-current to every matching data-nav link). */
.sf-col__list a[aria-current="page"] { color: var(--sf-ink); font-weight: 600; }
.sf-col__list a[aria-current="page"]::after { transform: scaleX(1); }
.sf-col__list .sf-m { display: none; }
.sf-col__list a.sf-tag { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 4px; background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: var(--gold-ink); font: 700 11.5px/1 var(--font-body); letter-spacing: 0.05em; text-transform: uppercase; transition: transform 0.2s; }
.sf-col__list a.sf-tag::after { display: none; }
.sf-col__list a.sf-tag:hover { color: var(--gold-ink); transform: translateY(-1px); }
.sf-across { grid-column: 1 / span 3; justify-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px 12px 18px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--sf-line); color: var(--sf-muted); font-size: 14px; }
.sf-across a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--sf-ink); }
.sf-across a > .psg-ic { color: var(--sf-gold-text); transition: transform 0.25s; }
.sf-across a:hover > .psg-ic { transform: translateX(4px); }

/* ---------- 4. Offices with live local time, and the app. */
.sf-places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sf-card { border-radius: 18px; background: var(--sf-panel); box-shadow: inset 0 0 0 1px var(--sf-line); padding: 22px; }
.sf-office { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; align-content: start; }
.sf-office h3 { font-weight: 600; font-size: 17px; letter-spacing: -0.015em; color: var(--sf-ink); }
.sf-office__where { color: var(--sf-muted); font-size: 14px; }
.sf-office .sf-dial { grid-column: 2; grid-row: 1 / span 2; }
.sf-time { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 16px; }
.sf-time time { font-weight: 600; font-size: 32px; line-height: 1.05; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; color: var(--sf-ink); }
.sf-time time:empty { display: none; }
.sf-time span { font-size: 13px; color: var(--sf-muted); }
.sf-office__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sf-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px; border-radius: 9999px; box-shadow: inset 0 0 0 1px var(--sf-line-2); font-size: 13.5px; font-weight: 500; color: var(--sf-ink); white-space: nowrap; transition: box-shadow 0.2s, transform 0.2s; }
.sf-chip .psg-ic { font-size: 15px; color: var(--sf-gold-text); }
.sf-chip:hover { box-shadow: inset 0 0 0 1px var(--gold-line); transform: translateY(-1px); }

.sf-dial { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--sf-panel-2); box-shadow: inset 0 0 0 1px var(--sf-line-2); }
.sf-dial::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: repeating-conic-gradient(from -1.2deg, var(--sf-line-2) 0 2.4deg, transparent 2.4deg 30deg); -webkit-mask: radial-gradient(circle, transparent 0 20px, #000 20.5px); mask: radial-gradient(circle, transparent 0 20px, #000 20.5px); }
.sf-dial i { position: absolute; left: 50%; bottom: 50%; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--sf-ink); transform-origin: 50% 100%; transform: rotate(var(--a, 0deg)); }
.sf-dial .sf-dial__h { height: 13px; width: 3px; margin-left: -1.5px; }
.sf-dial .sf-dial__m { height: 19px; }
.sf-dial .sf-dial__s { height: 21px; width: 1.5px; margin-left: -0.75px; background: var(--gold-2); transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); }
.sf-dial .sf-dial__s.is-wrap { transition: none; }
.sf-dial::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold-2); }
.sf-dial:not(.is-on) i { opacity: 0; }

.sf-app { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.sf-app__qr { display: grid; gap: 8px; justify-items: center; }
.sf-app__qr img { width: 100px; height: 100px; padding: 7px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--sf-line); }
.sf-app__qr small { font-size: 12px; color: var(--sf-muted); text-align: center; line-height: 1.3; max-width: 13ch; }
.sf-app__body { display: grid; gap: 8px; justify-items: start; }
.sf-app__body h3 { font-weight: 600; font-size: 17px; line-height: 1.3; letter-spacing: -0.015em; color: var(--sf-ink); }
.sf-app__body p { font-size: 14px; color: var(--sf-muted); }
.sf-app__body .sf-more { margin-top: 2px; }

/* ---------- 5. Policies, legal line and the appearance switch. */
.sf-legal { display: grid; gap: 16px; padding-top: 24px; border-top: 1px solid var(--sf-line); }
.sf-legal__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.sf-legal__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.sf-legal__links a { font-size: 14px; font-weight: 500; color: var(--sf-ink-2); }
.sf-legal__links a:hover { color: var(--sf-ink); text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 4px; }
.sf-legal__fine { display: grid; gap: 4px; font-size: 13px; line-height: 1.55; color: var(--sf-muted); }

.sf-theme { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 9999px; background: var(--sf-panel); box-shadow: inset 0 0 0 1px var(--sf-line); }
.sf-theme::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9999px; background: var(--sf-panel-2); box-shadow: inset 0 0 0 1px var(--gold-line); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
:root[data-theme="light"] .sf-theme::before { transform: translateX(100%); background: var(--sf-bg); }
.sf-theme button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; min-width: 88px; padding: 0 14px; border: 0; background: none; color: var(--sf-muted); font: 600 13px/1 var(--font-body); cursor: pointer; border-radius: 9999px; }
.sf-theme button[aria-pressed="true"] { color: var(--sf-ink); }
.sf-theme .psg-ic { font-size: 15px; }

/* ---------- 6. The wordmark, lit by a gold light that follows the pointer (a still sheen on touch). */
.sf-mark { margin-top: clamp(0px, 1vw, 12px); padding-bottom: calc(clamp(18px, 3vw, 36px) + env(safe-area-inset-bottom, 0px)); }
.sf-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.sf-mark__t { font-family: var(--font-body); font-weight: 700; font-size: 160px; }
.sf-mark__t tspan { font-weight: 400; }
.sf-mark__base { fill: url(#sf-base-g); stroke: var(--sf-mark-edge); stroke-width: 1; }
.sf-base-top { stop-color: var(--sf-mark-top); }
.sf-base-bot { stop-color: var(--sf-mark-bot); }
.sf-spot-a { stop-color: var(--sf-spot-a); }
.sf-spot-b { stop-color: var(--sf-spot-b); }
.sf-spot-c { stop-color: var(--sf-spot-c); }

/* ---------- Back to top: floats above the WhatsApp button, ring shows how far down the page you are.
   The ring is two half rings turned with transform, so it never repaints a stroke. */
.sf-top { position: fixed; z-index: 40; right: calc(22px + env(safe-area-inset-right, 0px)); bottom: calc(88px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--sf-panel); color: var(--sf-ink); box-shadow: inset 0 0 0 1px var(--sf-line-2), 0 10px 26px rgba(0, 0, 0, 0.28); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(14px) scale(0.9); pointer-events: none; transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.sf-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
/* While the footer is on screen it offers WhatsApp itself, so the floating WhatsApp button steps aside
   and back to top drops into its corner. */
.sf-top.is-on.is-low { transform: translateY(var(--sf-drop, 70px)); }
.wa[data-foot] { opacity: 0; pointer-events: none; transform: translateY(12px); }
.sf-top > .psg-ic { position: relative; z-index: 1; font-size: 19px; transform: rotate(-90deg); transition: transform 0.25s; }
.sf-top:hover > .psg-ic { transform: rotate(-90deg) translateX(2px); }
.sf-top:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 3px; }
.sf-top__half { position: absolute; inset: 0; border-radius: 50%; }
.sf-top__half--r { clip-path: inset(0 0 0 50%); }
.sf-top__half--l { clip-path: inset(0 50% 0 0); }
.sf-top__half i { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--gold-2); clip-path: inset(0 50% 0 0); }
.sf-top__half--r i { transform: rotate(var(--sf-a1, 0deg)); }
.sf-top__half--l i { transform: rotate(var(--sf-a2, 180deg)); }

/* ---------- Entrance: each group rises in once, only with motion allowed (html.motion is set by the site). */
.motion .sf--js [data-sf-rise]:not(.is-in) { opacity: 0; transform: translateY(16px); }
.motion .sf--js [data-sf-rise] { transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 60ms); }

/* Keep the wordmark clear of the back-to-top button where the page margin is too narrow for it. */
@media (max-width: 1340px) { .sf-mark { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Tablet. */
@media (max-width: 1080px) {
  .sf-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-across { grid-column: 1 / -1; }
  .sf-places { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sf-app { grid-column: 1 / -1; }
}

/* ---------- Phones: awards 2 x 2, discipline columns become accordions, QR swaps for a button. */
@media (max-width: 760px) {
  .sf > .wrap { gap: 36px; padding-top: 40px; }
  .sf-awards__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sf-award { gap: 10px; padding: 6px 6px 12px; border-radius: 16px; }
  .sf-award__plate { height: 72px; border-radius: 11px; }
  .sf-award__plate img { max-height: 58px; max-width: 80%; }
  .sf-award__plate img.is-wide { max-height: 38px; max-width: 88%; }
  .sf-award__plate img.is-badge { max-height: 52px; }
  .sf-award__txt { padding-inline: 6px; }
  .sf-award__txt b { font-size: 13.5px; }
  .sf-award__txt span { font-size: 12.5px; }
  .sf-award__more { display: none; }
  .sf-brand { display: grid; gap: 22px; padding-top: 32px; }
  .sf-contact { display: grid; gap: 6px; }
  .sf-cta { width: 100%; min-height: 52px; margin-bottom: 6px; }
  .sf-nav { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--sf-line); }
  .sf-col { gap: 0; border-bottom: 1px solid var(--sf-line); }
  .sf-col__hint { display: none; }
  .sf-col__h > .sf-col__link { min-height: 60px; }
  .sf--js .sf-col[data-sf-acc] .sf-col__link { display: none; }
  .sf--js .sf-col[data-sf-acc] .sf-col__btn { display: flex; width: 100%; min-height: 60px; padding: 0; border: 0; background: none; color: var(--sf-ink); font: 600 16px/1.2 var(--font-body); text-align: left; cursor: pointer; }
  .sf-col__btn > span:nth-child(2) { flex: 1; }
  .sf-col__chev { font-size: 18px; color: var(--sf-muted); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .sf-col.is-open .sf-col__chev { transform: rotate(180deg); color: var(--sf-gold-text); }
  .sf-col__list { gap: 0; padding: 0 0 14px 38px !important; }
  .sf-col__list a { display: flex; align-items: center; min-height: 42px; }
  .sf-col__list a::after { display: none; }
  .sf-col__list .sf-m { display: block; }
  .sf-col__list .sf-tag-li { padding: 2px 0 8px; }
  .sf-col__list a.sf-tag { display: inline-flex; min-height: 0; padding: 7px 10px; }
  .sf--js .sf-col[data-sf-acc]:not(.is-open) .sf-col__list { display: none; }
  .sf--js .sf-col[data-sf-acc].is-open .sf-col__list { animation: sf-open 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .sf-col--plain .sf-col__list { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .sf-across { grid-column: auto; margin-top: 18px; padding: 12px 14px; }
  .sf-places { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sf-card { padding: 18px; }
  .sf-time { margin-top: 12px; }
  .sf-time time { font-size: 28px; }
  .sf-office__links { margin-top: 14px; }
  .sf-office__links { gap: 6px; }
  .sf-chip { min-height: 44px; padding: 0 11px; gap: 6px; }
  .sf-app { grid-template-columns: minmax(0, 1fr); }
  .sf-app__qr { display: none; }
  .sf-app__body { justify-items: stretch; }
  .sf-app__body .sf-more { justify-content: center; min-height: 48px; margin-top: 8px; border-radius: 9999px; box-shadow: inset 0 0 0 1px var(--sf-line-2); }
  .sf-legal__top { flex-direction: column-reverse; align-items: stretch; }
  .sf-legal__links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .sf-legal__links a { display: flex; align-items: center; min-height: 42px; }
  .sf-theme { align-self: flex-start; }
  .sf-top { --sf-drop: 66px; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; }
  .sf-mark { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
@keyframes sf-open { from { opacity: 0; transform: translateY(-6px); } }

/* QR only where someone can scan it: hidden on touch-only devices at any width. */
@media (hover: none) and (pointer: coarse) { .sf-app__qr { display: none; } .sf-app { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .sf *, .sf *::before, .sf *::after, .sf-top, .sf-top * { transition: none !important; animation: none !important; }
  .sf-dial .sf-dial__s { display: none; }
  .sf-light { display: none; }
}
/* Back to top sits where the WhatsApp button would; on pages with a sticky bottom bar it follows the same rules. */
body:has(.price-bar) .sf-top { bottom: calc(160px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 760px) { body:has(.mbar) .sf-top, body:has(.proj-bar) .sf-top { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }
.badges { display: flex; flex-wrap: wrap; gap: var(--space-8); align-items: center; }
.badges img { height: 56px; width: auto; border-radius: var(--radius-chip); background: #fff; }

/* ---------- WhatsApp float */
.wa { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--trust); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-dialog); text-decoration: none; }
.wa .psg-ic { font-size: 28px; }
.wa:hover { transform: scale(1.04); }
.wa { transition: opacity 0.2s, transform 0.2s; }
.wa[data-away] { opacity: 0; pointer-events: none; transform: translateY(12px); }
/* The WhatsApp button opens a small chooser: Asher Gan or Emily Tee, the account managers. */
.wa-pick { position: fixed; z-index: 41; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); width: min(340px, calc(100vw - 36px)); display: grid; gap: 8px; padding: 16px; border-radius: var(--radius-card); background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 18px 48px rgba(0, 0, 0, 0.28); transform-origin: 100% 100%; }
.wa-pick[hidden] { display: none; }
html.motion .wa-pick:not([hidden]) { animation: wa-pick-in 0.18s ease-out; }
@keyframes wa-pick-in { from { opacity: 0; transform: translateY(8px) scale(0.97); } }
.wa-pick__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wa-pick__t { margin: 0; font: 700 16px/1.3 var(--font-body); }
.wa-pick__x { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--chip); color: var(--ink); cursor: pointer; }
.wa-pick__x .psg-ic { font-size: 16px; }
.wa-pick__sub { margin: 0 0 4px; font: 500 13.5px/1.4 var(--font-body); color: var(--muted); }
.wa-pick__who { display: grid; grid-template-columns: 48px minmax(0, 1fr) 36px; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: var(--bg); color: var(--ink); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.15s, transform 0.15s; }
.wa-pick__who:hover { box-shadow: inset 0 0 0 2px var(--gold-line); }
.wa-pick__who:focus-visible, .wa-pick__x:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 2px; }
.wa-pick__who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.wa-pick__who b { display: block; font: 700 15px/1.25 var(--font-body); }
.wa-pick__who b + span { display: block; margin-top: 2px; font: 500 13px/1.35 var(--font-body); color: var(--muted); }
.wa-pick__who b + span i { font-style: normal; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wa-pick__go { justify-self: end; display: grid; place-items: center; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: #25d366; color: #fff; font-size: 20px; }
@media (prefers-reduced-motion: reduce) { .wa:hover { transform: none; } }

/* ---------- Legal text */
.legal { background: var(--panel); border-radius: var(--radius-card); padding: clamp(20px, 4vw, 48px); }
.legal .prose { padding: 0; font-size: 16px; }
.toc { display: grid; gap: 4px; font: 600 14px/1.35 var(--font-body); }
.toc a { text-decoration: none; color: var(--ink-2); padding: 6px 10px; border-radius: var(--radius-field); }
.toc a:hover { background: var(--chip); color: var(--ink); }

/* Utility */
.stack { display: grid; gap: var(--space-14); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-10); }
.center { text-align: center; justify-items: center; margin-inline: auto; }
.mt-0 { margin-top: 0; }

/* ---------- FAQ (native details, works without JS) */
.faq { display: grid; gap: var(--space-8); }
.faq details { background: var(--panel); border-radius: var(--radius-ticket); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: var(--space-12); align-items: center; padding: 16px 18px; font: 700 16.5px/1.35 var(--font-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .psg-ic { font-size: 22px; transition: transform 0.15s; color: var(--muted); }
.faq details[open] summary .psg-ic { transform: rotate(180deg); }
.faq details > div { padding: 0 18px 18px; color: var(--ink-2); display: grid; gap: var(--space-8); max-width: 72ch; }
@media (prefers-reduced-motion: reduce) { .faq summary .psg-ic { transition: none; } }

/* ---------- Plans (pricing) */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-14); align-items: start; }
.plan { background: var(--panel); border-radius: var(--radius-card); padding: var(--space-8); display: grid; gap: var(--space-12); }
.plan .psg-tier { border-radius: var(--radius-ticket); }
.plan__body { padding: var(--space-6) var(--space-10) var(--space-12); display: grid; gap: var(--space-12); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-8); }
.plan .checks { font-size: 15px; }
.plan--pick { box-shadow: inset 0 0 0 2px var(--sun-deep); }

/* ---------- Tables */
.table-wrap { overflow-x: auto; background: var(--panel); border-radius: var(--radius-card); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font: 800 12.5px/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .yes { color: var(--trust); font-weight: 700; }
.table .no { color: var(--muted); }

/* ---------- Chip wall (project names, tags) */
.chipwall { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.chipwall > * { background: var(--panel); border-radius: var(--radius-pill); padding: 9px 14px; font: 600 14.5px/1 var(--font-body); color: var(--ink); text-decoration: none; }
.chipwall a:hover { background: var(--sun-wash); color: var(--sun-ink); }

/* ---------- Screens (product screenshots sit on a soft tile) */
.shot { background: var(--chip); border-radius: var(--radius-card); padding: clamp(10px, 2vw, 20px); display: grid; place-items: center; }
.shot img { border-radius: var(--radius-ticket); box-shadow: 0 1px 0 var(--line-2); }
.post--lead.post--flat { grid-column: auto; }
.post--lead.post--flat img { aspect-ratio: 16 / 9; }
.post--lead.post--flat h3 { font-size: 18px; }
.prose figure { margin: 0.4em 0; }
.prose .faq { margin-top: 0.2em; }
.prose .faq details { background: var(--chip); }
.prose .callout p { margin: 0; }
.post--logo img { object-fit: contain; background: #fff; padding: 18px 24px; }

/* ---------- Product demos: screen recordings in a browser and a phone frame, with chapter steps */
.demo { position: relative; background: var(--panel); border-radius: var(--radius-card); padding: clamp(16px, 3vw, 36px) clamp(16px, 3vw, 36px) clamp(14px, 2vw, 24px); overflow: hidden; isolation: isolate; }
.demo::before { content: ""; position: absolute; inset: -30% 10% 35% -10%; z-index: -1; background: radial-gradient(closest-side, var(--sun-wash), transparent); pointer-events: none; }
.demo__devices { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.demo__browser { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 0 0 7px var(--chip); }
.demo__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--chip); }
.demo__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2, #d5d8de); }
.demo__bar span { margin: 0 auto; transform: translateX(-20px); font: 600 12px/1 var(--font-body); color: var(--muted); background: var(--panel); border-radius: var(--radius-pill); padding: 5px 14px; }
.demo video { display: block; width: 100%; height: auto; background: var(--chip); }
.demo__phone { position: relative; z-index: 1; margin: 0 0 calc(-1 * clamp(10px, 2vw, 22px)) calc(-1 * clamp(44px, 7vw, 110px)); width: clamp(150px, 19vw, 230px); border-radius: 30px; padding: 7px; background: #16181d; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); }
.demo__phone video { border-radius: 23px; aspect-ratio: 540 / 1168; }
.demo__steps { list-style: none; margin: clamp(22px, 3vw, 34px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-14); }
.demo__steps button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 3px; width: 100%; padding-top: 14px; position: relative; color: var(--muted); }
.demo__steps button::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: var(--chip); }
.demo__steps button::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; border-radius: 3px; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--sun-deep), var(--flame-1)); transition: width 0.3s linear; }
.demo__steps button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.demo__steps b { font: 800 italic 15px/1 var(--font-num); letter-spacing: 0.04em; }
.demo__steps strong { font: 700 16px/1.25 var(--font-body); color: var(--ink-2); }
.demo__steps span { font: 500 14px/1.35 var(--font-body); }
.demo__steps .is-on b { color: var(--sun-ink, var(--ink)); }
.demo__steps .is-on strong { color: var(--ink); }
.demo__toggle { position: absolute; z-index: 2; right: clamp(12px, 2vw, 20px); top: clamp(12px, 2vw, 20px); width: 36px; height: 36px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--bar); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.demo__toggle svg { width: 14px; height: 14px; fill: currentColor; }
.demo__toggle .on, .demo__toggle[data-playing="true"] .off { display: none; }
.demo__toggle[data-playing="true"] .on { display: block; }
.demo__toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.demo__note { margin: var(--space-12) 0 0; font: 500 13px/1.4 var(--font-body); color: var(--muted); }
/* Phone-only demo on a sun stage (home page feature). */
.demo--phone { background: linear-gradient(160deg, var(--sun), var(--sun-deep)); border-radius: 0; display: grid; place-items: center; padding: clamp(22px, 3vw, 36px); min-height: 360px; }
.demo--phone::before { display: none; }
.demo--phone .demo__phone { margin: 0; width: clamp(170px, 17vw, 220px); }
@media (max-width: 860px) {
  .demo__phone { width: clamp(120px, 26vw, 190px); }
}
@media (max-width: 640px) {
  .demo__devices { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .demo__browser { display: none; }
  .demo--solo .demo__browser { display: block; width: 100%; }
  .demo--solo video { aspect-ratio: 16 / 10; object-fit: cover; object-position: 91% 50%; } /* drop the sidebar so the content reads larger */
  .demo__phone { margin: 0; width: min(240px, 66vw); }
  .demo__steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-12); }
  .demo--phone .demo__phone { width: min(220px, 60vw); }
}

/* ---------- Home: conversion flow sections */
.sec.sec--tight { padding-block: clamp(20px, 3vw, 32px) 0; }
.logos-label { margin: 0 0 var(--space-14); text-align: center; font: 600 14px/1.4 var(--font-body); color: var(--muted); }
.journey { list-style: none; margin: 0 0 var(--space-24); padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-12); counter-reset: none; }
.journey li { display: grid; gap: 4px; align-content: start; padding: 16px 16px 18px; background: var(--panel); border-radius: var(--radius-card); position: relative; }
.journey b { font: 800 italic 26px/1 var(--font-num); color: var(--sun-deep); }
.journey strong { font: 700 16px/1.25 var(--font-body); color: var(--ink); }
.journey span { font: 500 14px/1.4 var(--font-body); color: var(--muted); }
.demo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-14); }
.demo-pair .demo__steps strong { font-size: 15px; }
.demo-pair + .demo__note { text-align: center; }
.paths { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: var(--space-14); }
.path { display: grid; align-content: start; gap: var(--space-10); padding: clamp(18px, 2.4vw, 26px); background: var(--panel); border-radius: var(--radius-card); text-decoration: none; color: inherit; transition: box-shadow 0.2s, transform 0.2s; }
.path:hover { box-shadow: inset 0 0 0 2px var(--sun-deep); }
.path h3 { font: 800 21px/1.2 var(--font-body); color: var(--ink); }
.path p { margin: 0; color: var(--ink-2); font: 500 15px/1.5 var(--font-body); }
.path .psg-tag { justify-self: start; }
.path .more { margin-top: auto; }
.path--hero { background: linear-gradient(160deg, var(--sun), var(--sun-deep)); }
.path--hero h3, .path--hero p { color: var(--on-sun, #16181d); }
.path--hero .more { color: var(--on-sun, #16181d); }
.path--quiet { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.path__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.path__price span { font: 600 13px/1.3 var(--font-body); color: var(--muted); }
.path--hero .path__price span { color: var(--on-sun, #16181d); opacity: 0.75; }
.path__price b { font: 800 28px/1 var(--font-num); color: var(--ink); }
.path-note { margin-top: var(--space-10); color: var(--muted); }
.results3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-14); align-items: start; }
.results3 figure { margin: 0; display: grid; gap: var(--space-10); }
.results3 figure > img { width: 100%; height: auto; border-radius: 10px; background: #111b21; }
.results3 figcaption { color: var(--ink-2); }
@media (max-width: 1100px) { .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); } .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .demo-pair { grid-template-columns: minmax(0, 1fr); } .results3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } .paths { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Group home: disciplines, mega menu, area chips */
.discs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-14); }
.disc { display: grid; align-content: start; gap: var(--space-12); padding: clamp(20px, 2.6vw, 30px); background: var(--panel); border-radius: var(--radius-card); }
.disc .medal { width: 52px; height: 52px; font-size: 24px; }
.disc h3 { font: 800 italic clamp(28px, 3vw, 38px)/1 var(--font-num); color: var(--ink); }
.disc p { margin: 0; color: var(--ink-2); font: 500 15.5px/1.5 var(--font-body); }
.disc__focus { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.disc__focus li { background: var(--chip); color: var(--ink); border-radius: var(--radius-pill); padding: 7px 12px; font: 600 13.5px/1 var(--font-body); }
.disc .more { margin-top: 4px; }
.journey--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.paths--3 { grid-template-columns: 1.3fr repeat(2, minmax(0, 1fr)); }
.logos--row { grid-template-columns: repeat(3, minmax(0, 180px)); justify-content: center; }
.nav-dd--mega { position: static; }
.nav-dd__menu.mega { left: 50%; transform: translateX(-50%); width: min(980px, calc(100vw - 32px)); padding: 14px; }
.nav-dd--mega[data-open] .nav-dd__menu.mega { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mega__col { display: grid; align-content: start; gap: 2px; padding: 6px; border-radius: var(--radius-ticket); }
.mega__col + .mega__col { box-shadow: inset 1px 0 0 var(--line); }
.mega__head, .nav-dd__menu a.mega__head { display: grid !important; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px !important; margin-bottom: 4px; }
.mega__head .medal { width: 40px; height: 40px; font-size: 19px; }
.mega__head b { display: block; font: 800 16px/1.2 var(--font-body); color: var(--ink); }
.mega__col > a:not(.mega__head) { font: 600 14.5px/1.3 var(--font-body); color: var(--ink); padding: 9px 10px; }
.mega__soon { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 10px; font: 600 14.5px/1.3 var(--font-body); color: var(--muted); }
.mega__soon b { font: inherit; color: var(--ink-2); }
/* Property's "View Packages" tag sits beside its column heading (a link can't nest inside the heading link). */
.mega__headrow { display: grid; margin-bottom: 4px; }
.mega__headrow .mega__head { margin-bottom: 0; }
.nav-dd__menu a.mega__pkg { justify-self: start; margin: 0 0 2px 58px; }
.nav-dd__menu a.mega__pkg, .mnav a.mnav__pkg { display: inline-flex; flex: none; align-items: center; padding: 6px 10px; border-radius: var(--radius-pill); text-decoration: none; white-space: nowrap; }
.nav-dd__menu a.mega__pkg:hover, .mnav a.mnav__pkg:hover { background: var(--gold-grad); filter: brightness(1.06); }
.nav-dd__menu a.mega__pkg::after, .mnav a.mnav__pkg::after { content: none !important; }
.mega__soon i, .mnav__soon i { font: 700 10.5px/1 var(--font-body); font-style: normal; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); background: var(--chip); border-radius: var(--radius-pill); padding: 4px 7px; white-space: nowrap; }
.mnav__soon { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 13px 12px; font: 600 16px/1.2 var(--font-body); color: var(--muted); border-top: 1px solid var(--line); }
.pick { border: 0; margin: 0; padding: 0; min-width: 0; }
.pick legend { padding: 0; margin-bottom: 8px; }
.pick__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pick__opts label { position: relative; cursor: pointer; }
.pick__opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick__opts span { display: inline-block; padding: 9px 14px; border-radius: var(--radius-pill); background: var(--chip); color: var(--ink); font: 600 14px/1 var(--font-body); box-shadow: inset 0 0 0 1.5px transparent; }
.pick__opts input:checked + span { background: var(--sun-wash); color: var(--sun-ink); box-shadow: inset 0 0 0 1.5px var(--sun-deep); }
.pick__opts input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 960px) { .discs { grid-template-columns: minmax(0, 1fr); } .journey--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .paths--3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Phone bottom bar (Property pages) */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar { display: grid; grid-template-columns: minmax(0, 1fr) 52px; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px calc(12px + env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) calc(12px + env(safe-area-inset-left, 0px)); background: var(--bar); backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgba(22, 24, 29, 0.08); transform: translateY(110%); transition: transform 0.25s ease; }
  .mbar.is-on { transform: none; }
  .mbar__main { justify-content: center; min-height: 52px; }
  .mbar__wa { display: grid; place-items: center; height: 52px; border-radius: 50%; background: var(--trust); color: #fff; text-decoration: none; }
  .mbar__wa .psg-ic { font-size: 26px; }
  body:has(.mbar) .wa { display: none; }
  body.has-mbar { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .mbar { transition: none; } }
.res-side { display: grid; gap: var(--space-10); justify-items: end; text-align: right; }
.res-fig { display: grid; gap: 2px; }
.res-fig .psg-figure { font-size: clamp(40px, 5vw, 60px); font-style: italic; line-height: 1; }
.res-fig span { font: 700 15px/1.3 var(--font-body); color: var(--ink); }
@media (max-width: 760px) { .res-side { justify-items: start; text-align: left; } }

/* ---------- Free leads projection tool */
.proj { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: var(--space-14); align-items: start; }
.proj__inputs { display: grid; gap: var(--space-12); }
.proj__step { margin: 0; min-width: 0; border: 0; background: var(--panel); border-radius: var(--radius-card); padding: clamp(18px, 2.4vw, 26px); display: grid; gap: var(--space-10); }
.proj__step legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font: 800 18px/1.25 var(--font-body); color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.proj__step legend b { font: 800 italic 22px/1 var(--font-num); color: var(--sun-deep); }
.proj__step legend + * { clear: both; }
.proj__opt { margin-left: auto; font: 700 11.5px/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--chip); border-radius: var(--radius-pill); padding: 5px 9px; }
.proj__step .body-2 { margin: 0; color: var(--ink-2); }
.pick__opts--multi { max-height: 228px; overflow: auto; padding: 2px; }
.proj__budget { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: var(--space-14); align-items: center; }
.proj__budget input[type="range"] { width: 100%; accent-color: var(--sun-deep); height: 28px; }
.proj__hint { margin: 0; color: var(--muted); }
.proj__hint b { color: var(--ink); }
.proj__out { position: sticky; top: 92px; }
.proj__card { background: var(--panel); border-radius: var(--radius-card); padding: clamp(20px, 2.6vw, 28px); display: grid; gap: var(--space-12); box-shadow: inset 0 0 0 2px var(--sun-deep); }
.proj__big { margin: 0; display: grid; gap: 2px; }
.proj__big b { font: 800 italic clamp(54px, 6vw, 76px)/0.95 var(--font-num); color: var(--ink); letter-spacing: -0.01em; }
.proj__big span { font: 700 16px/1.2 var(--font-body); color: var(--ink-2); }
.proj__typ { margin: 0; font: 500 14.5px/1.4 var(--font-body); color: var(--ink-2); }
.proj__typ b { color: var(--ink); }
.proj__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.proj__bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: baseline; }
.proj__bars span { font: 700 14px/1.2 var(--font-body); color: var(--ink); }
.proj__bars span i { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 4px; }
.proj__bars b { font: 800 22px/1 var(--font-num); color: var(--ink); }
.proj__bars s { grid-column: 1 / -1; display: block; height: 8px; border-radius: 8px; background: var(--chip); overflow: hidden; text-decoration: none; }
.proj__bars u { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--sun), var(--sun-deep)); transition: width 0.25s ease; }
.proj__bars li[data-scen="typical"] u { background: linear-gradient(90deg, var(--sun-deep), var(--flame-1)); }
.proj__sum { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.proj__sum div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.proj__sum div[hidden] { display: none; }
.proj__sum dt { font: 500 14px/1.35 var(--font-body); color: var(--ink-2); }
.proj__sum dd { margin: 0; font: 800 19px/1.2 var(--font-num); color: var(--ink); white-space: nowrap; }
.proj__compare { margin: 0; padding: 12px 14px; border-radius: var(--radius-ticket); background: var(--sun-wash); color: var(--sun-ink); font: 600 14px/1.45 var(--font-body); }
.proj__note { margin: 0; color: var(--muted); }
.proj-bar { display: none; }
@media (max-width: 960px) {
  .proj { grid-template-columns: minmax(0, 1fr); }
  .proj__out { position: static; }
}
@media (max-width: 640px) {
  .proj__budget { grid-template-columns: minmax(0, 1fr); }
  .proj-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px calc(14px + env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) calc(14px + env(safe-area-inset-left, 0px)); background: var(--bar); backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgba(22, 24, 29, 0.08); transform: translateY(110%); transition: transform 0.25s ease; font: 600 14.5px/1.2 var(--font-body); color: var(--ink-2); }
  .proj-bar b { font: 800 italic 26px/1 var(--font-num); color: var(--ink); margin-right: 4px; }
  .proj-bar.is-on { transform: none; }
  body:has(.proj-bar) .wa { display: none; }
}

/* ---------- CPC Intelligence Suite */
.cpc-card { margin: 0; padding: clamp(16px, 2vw, 22px); display: grid; gap: 10px; }
.cpc-card__head { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.cpc-card__head b { display: block; font: 800 16px/1.2 var(--font-body); color: var(--ink); }
.cpc-card__head span span { font: 600 12px/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cpc-card__now { font: 800 italic 44px/1 var(--font-num) !important; }
.cpc-card__delta { margin: 0; font: 500 13.5px/1.3 var(--font-body); color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cpc-card__plot { position: relative; }
.cpc-chart { display: block; width: 100%; height: auto; overflow: visible; }
.cpc-chart__grid line { stroke: var(--line); stroke-width: 1; }
.cpc-chart__grid text, .cpc-chart__x text { fill: var(--muted); font: 600 11px var(--font-body); }
.cpc-chart__area { fill: var(--sun-wash); opacity: 0.9; }
.cpc-chart__line { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }
.cpc-chart__dots circle { fill: var(--panel); stroke: var(--ink); stroke-width: 2; }
html.motion .cpc-chart__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: cpc-draw 1.6s 0.3s cubic-bezier(.4, 0, .2, 1) forwards; }
html.motion .cpc-chart__dots, html.motion .cpc-ann { opacity: 0; animation: cpc-fade 0.5s 1.6s forwards; }
@keyframes cpc-draw { to { stroke-dashoffset: 0; } }
@keyframes cpc-fade { to { opacity: 1; } }
.cpc-ann { position: absolute; width: max-content; max-width: 210px; white-space: normal; padding: 6px 9px; border-radius: 10px; font: 700 12px/1.25 var(--font-body); background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--flame-1); }
.cpc-ann--low { transform: translate(-4px, 60%); }
.cpc-ann--high { transform: translate(calc(-100% - 14px), -50%); }
.cpc-card__stats, .cpc-mini { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cpc-card__stats div, .cpc-mini div { background: var(--chip); border-radius: var(--radius-ticket); padding: 8px 10px; }
.cpc-card__stats dt, .cpc-mini dt { font: 700 11px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cpc-card__stats dd, .cpc-mini dd { margin: 4px 0 0; font: 800 20px/1 var(--font-num); color: var(--ink); }
.cpc-card figcaption { color: var(--muted); }
.cpc-snap { margin: var(--space-10) 0 0; color: var(--muted); }
.cpc-insight { display: grid; gap: var(--space-10); align-content: start; }
.cpc-rate { display: grid; gap: 6px; font: 700 13px/1 var(--font-body); color: var(--ink-2); }
.cpc-rate .psg-fw { width: 140px; }
.cpc-tool__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: var(--space-10); }
.cpc-tool__bar .psg-field { max-width: 320px; }
.cpc-picked { margin: 0; padding: 8px 12px; border-radius: var(--radius-pill); background: var(--sun-wash); color: var(--sun-ink); font: 600 14px/1.3 var(--font-body); }
.cpc-picked button { margin-left: 8px; border: 0; background: none; color: inherit; font: 700 13px var(--font-body); text-decoration: underline; cursor: pointer; }
.cpc-table th[scope="row"] { font-weight: 700; color: var(--ink); white-space: nowrap; }
.cpc-table td, .cpc-table thead th { white-space: nowrap; }
.cpc-table td:nth-child(2) { font-family: var(--font-num); font-weight: 800; font-size: 17px; }
.cpc-table td[data-rate] { padding: 6px 8px; }
.cpc-table td[data-rate] button { width: 100%; text-align: left; border: 0; background: none; border-radius: 8px; padding: 6px 8px; font: 700 15px/1.2 var(--font-body); color: var(--ink); cursor: pointer; }
.cpc-table td[data-rate] button:hover { background: var(--chip); }
.cpc-table td.is-picked button { background: var(--sun); color: var(--on-sun, #16181d); box-shadow: inset 0 0 0 1.5px var(--sun-deep); }
.cpc-table td.is-picked button::before { content: "★ "; }
.cpc-table .cpc-custom-h, .cpc-table td[data-rate="custom"] { background: var(--chip); }
@media (max-width: 860px) { .cpc-ann { font-size: 11px; } }

/* ---------- Property pricing */
.price-strips { display: grid; gap: var(--space-8); max-width: 640px; margin-top: var(--space-6); }
.price-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-14); align-items: start; }
.price-plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin-inline: auto; }
.ladder--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; }
.price-plan { position: relative; background: var(--panel); border-radius: var(--radius-card); padding: 10px; display: grid; gap: 10px; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow 0.2s; }
.price-plan.is-picked { box-shadow: inset 0 0 0 2px var(--sun-deep); }
.price-plan__flag { position: absolute; top: -11px; right: 16px; z-index: 1; background: var(--flame-2); color: var(--on-flame); font: italic 800 13px/1 var(--font-num); padding: 5px 9px; border-radius: 7px 2px 7px 2px; letter-spacing: 0.02em; }
.price-plan__body { display: grid; gap: var(--space-12); padding: 6px 10px 12px; }
.price-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; }
.price-plan__per, .price-plan__credit { margin: 0; font: 500 14.5px/1.4 var(--font-body); color: var(--ink-2); }
.price-plan__per b { font: 800 17px/1 var(--font-num); color: var(--ink); }
.price-plan__credit { padding: 8px 10px; border-radius: var(--radius-ticket); background: var(--chip); }
.price-plan__credit b { color: var(--ink); }
.price-plan .checks { gap: 8px; }
.price-plan .checks li { font: 500 14.5px/1.35 var(--font-body); }
.price-note { margin-top: var(--space-10); color: var(--muted); }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-12); counter-reset: none; }
.ladder__step { position: relative; display: grid; gap: 8px; align-content: start; padding: 18px 20px; border-radius: var(--radius-card); }
.ladder__step--chrome { background: linear-gradient(135deg, var(--chrome-1), var(--chrome-2)); color: var(--chrome-ink); }
.ladder__step--gold { background: linear-gradient(135deg, var(--gold-1), var(--gold-2)); color: var(--gold-ink); }
.ladder__step--sun { background: linear-gradient(135deg, var(--sun), var(--sun-deep)); color: var(--on-sun); }
.ladder__step > span:first-child { font: 700 14px/1.3 var(--font-body); }
.ladder__step i { font: 600 13px/1.3 var(--font-body); font-style: normal; opacity: 0.85; }
.ladder__step .ladder__save { justify-self: start; background: var(--panel); color: var(--price-text); padding: 5px 10px; border-radius: var(--radius-pill); font: 800 13px/1 var(--font-body); opacity: 1; }
.ladder__step + .ladder__step::before { content: "→"; position: absolute; left: -14px; top: 50%; transform: translate(-50%, -50%); font: 800 18px/1 var(--font-body); color: var(--muted); }
.credit-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-14); background: var(--panel); border-radius: var(--radius-card); padding: clamp(18px, 2.6vw, 28px); align-items: start; }
.credit-calc__in { display: grid; gap: var(--space-10); }
.credit-calc__out { display: grid; gap: 8px; }
.credit-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; padding: 12px 14px; border-radius: var(--radius-ticket); background: var(--chip); }
.credit-row span b { display: block; font: 700 15px/1.2 var(--font-body); color: var(--ink); }
.credit-row span i { font: 500 13px/1.2 var(--font-body); font-style: normal; color: var(--muted); }
.credit-row > b { font: 800 24px/1 var(--font-num); color: var(--ink); }
.credit-row small { grid-column: 1 / -1; font: 500 12.5px/1.3 var(--font-body); color: var(--muted); }
.credit-row--pick { background: var(--sun-wash); box-shadow: inset 0 0 0 1.5px var(--sun-deep); }
.credit-row.is-over > b { color: var(--muted); text-decoration: line-through; }
.credit-row.is-over small { color: var(--price-text); font-weight: 700; }
.price-pay { display: grid; gap: var(--space-12); align-content: start; }
.price-pay .psg-tickets { padding-top: 4px; }
.price-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; background: var(--bar); backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 -1px 0 var(--line), 0 -10px 28px rgba(22, 24, 29, 0.1); transform: translateY(110%); transition: transform 0.25s ease; padding-bottom: env(safe-area-inset-bottom, 0px); }
.price-bar.is-on { transform: none; }
.price-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 10px; }
.price-bar__total { display: grid; gap: 3px; }
.price-bar__total span { font: 600 13px/1.2 var(--font-body); color: var(--muted); }
.price-bar__total b { font: 800 28px/1 var(--font-num); color: var(--price); }
body:has(.price-bar) { padding-bottom: 84px; }
body:has(.price-bar) .wa { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 960px) { .price-plans, .price-plans--2, .ladder, .ladder--2 { grid-template-columns: minmax(0, 1fr); } .ladder__step + .ladder__step::before { content: "↓"; left: 50%; top: -12px; } .credit-calc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .price-bar .psg-btn--big { padding-inline: 16px; font-size: 15px; } .price-bar__total b { font-size: 24px; } body:has(.price-bar) .wa { display: none; } }
@media (prefers-reduced-motion: reduce) { .price-bar { transition: none; } }

/* ---------- Corporate: GEO and SEO pages */
.ai-mock { position: relative; display: grid; gap: 10px; padding: clamp(16px, 2vw, 22px); background: var(--panel); border-radius: var(--radius-card); }
.ai-mock__q { margin: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius-pill); background: var(--chip); font: 600 15px/1.3 var(--font-body); color: var(--ink); }
.ai-mock__q .psg-ic { color: var(--muted); }
.ai-mock__c { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; align-items: center; padding: 14px 16px; border-radius: var(--radius-ticket); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.ai-mock__c > :not(.ai-mock__src):not(.psg-tag) { grid-column: 1 / -1; }
.ai-mock__c p { margin: 0; font: 500 14.5px/1.45 var(--font-body); color: var(--ink-2); }
.ai-mock__c p b { color: var(--ink); }
.ai-mock__c--sun { background: var(--sun-wash); box-shadow: inset 0 0 0 1.5px var(--sun-deep); }
.ai-mock__src { font: 700 11.5px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ai-mock__serp { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ai-mock__serp li { display: flex; gap: 10px; padding: 6px 8px; border-radius: 8px; font: 600 14px/1.3 var(--font-body); color: var(--muted); }
.ai-mock__serp li b { font-family: var(--font-num); color: var(--muted); }
.ai-mock__serp li.is-you { background: var(--sun-wash); color: var(--ink); }
.ai-mock__serp li.is-you b { color: var(--sun-ink); }
.ai-mock__cite { font: 600 12.5px/1.3 var(--font-body); color: var(--muted); }
.ai-mock__spark { width: 100%; height: 60px; }
.ai-mock__spark path { fill: none; stroke: var(--sun-deep); stroke-width: 4; stroke-linecap: round; }
.ai-mock__note { margin: 0; font: 500 12px/1.3 var(--font-body); color: var(--muted); }
html.motion .ai-mock__c { animation: rise 0.6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(0.3s + var(--i, 0) * 0.35s); }
.engines { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; padding: clamp(22px, 3.4vw, 44px); background: var(--chip); }
.engines span { padding: 12px 18px; border-radius: var(--radius-pill); background: var(--panel); font: 800 17px/1 var(--font-body); color: var(--ink); box-shadow: 0 1px 0 var(--line-2); }
.goal { margin: 0; padding: 10px 12px; border-radius: var(--radius-ticket); background: var(--sun-wash); color: var(--sun-ink); font: 500 14.5px/1.45 var(--font-body); }
.goal b { color: inherit; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-12); }
.trio__c { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: var(--radius-card); background: var(--panel); }
.trio__c .psg-tag { justify-self: start; }
.trio__c b { font: 800 italic 30px/1 var(--font-num); color: var(--ink); }
.trio__c p { margin: 0; font: 500 15px/1.45 var(--font-body); color: var(--ink-2); }
.trio__c--sun { background: linear-gradient(160deg, var(--sun), var(--sun-deep)); }
.trio__c--sun b, .trio__c--sun p { color: var(--on-sun, #16181d); }
.journey--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.journey--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ai-chat { display: grid; align-content: center; gap: 12px; padding: clamp(22px, 3.4vw, 40px); background: var(--chip); }
.ai-chat__q { justify-self: end; margin: 0; max-width: 80%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--ink); color: var(--bg); font: 600 15px/1.35 var(--font-body); }
.ai-chat__a { justify-self: start; max-width: 85%; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: var(--panel); font: 500 15px/1.4 var(--font-body); color: var(--ink); }
.ai-chat__a p { margin: 0 0 6px; }
.ai-chat__a ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.ai-chat__a .is-gap { color: var(--price-text); font-weight: 800; }
.cross { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--radius-card); background: var(--panel); text-decoration: none; color: inherit; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.cross:hover { box-shadow: inset 0 0 0 2px var(--sun-deep); }
.cross > span { display: grid; gap: 4px; }
.cross b { font: 800 20px/1.2 var(--font-body); color: var(--ink); }
.cross > span > span:last-child { color: var(--ink-2); font: 500 15px/1.4 var(--font-body); }
.cross > .psg-ic { font-size: 24px; color: var(--ink); flex: none; }
.disc__focus a { color: inherit; text-decoration: none; }
.disc__focus li:has(a) { background: var(--sun-wash); box-shadow: inset 0 0 0 1.5px var(--sun-deep); }
@media (max-width: 1100px) { .journey--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .trio, .journey--3 { grid-template-columns: minmax(0, 1fr); } .journey--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Search look-alikes (GEO and SEO pages): Google results with an AI Overview, and ChatGPT.
   Always light, like a screenshot; no logos. ProjectSG flags sit on top as annotations. */
.smock { position: relative; display: grid; gap: 10px; min-width: 0; }
.smock__tabs { display: flex; gap: 6px; }
.smock__tabs button { border: 0; cursor: pointer; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--chip); color: var(--ink-2); font: 700 13.5px/1 var(--font-body); }
.smock__tabs button.is-on { background: var(--ink); color: var(--bg); }
.smock__panel { position: relative; min-width: 0; }
.smock .cg { min-height: 480px; }
.smock__panel[hidden] { display: none; }
.smock__flag { position: absolute; z-index: 2; top: -10px; right: 14px; background: var(--flame-2); color: var(--on-flame); font: italic 800 14px/1 var(--font-num); padding: 6px 10px; border-radius: 8px 2px 8px 2px; box-shadow: 0 6px 16px rgba(22, 24, 29, 0.18); }
.gm, .cg { max-width: 100%; border-radius: 18px; background: #fff; color: #1f1f1f; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(22, 24, 29, 0.12); overflow: hidden; text-align: left; }
.gm { padding: 16px 18px 6px; font: 400 14px/1.5 Arial, "Helvetica Neue", Helvetica, sans-serif; }
.gm svg, .cg svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.gm-search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px 0 20px; border-radius: 24px; background: #fff; box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28); }
.gm-q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15.5px; color: #1f1f1f; }
.gm-icons { display: flex; align-items: center; gap: 12px; color: #4285f4; }
.gm-icons svg:first-child { color: #70757a; }
.gm-icons b { width: 1px; height: 24px; background: #dadce0; }
.gm-icons svg:nth-of-type(2) { color: #ea4335; }
.gm-icons svg:nth-of-type(3) { color: #34a853; }
.gm-tabs { display: flex; gap: 18px; align-items: center; padding: 12px 4px 0; border-bottom: 1px solid #ebebeb; font-size: 13.5px; color: #4d5156; white-space: nowrap; overflow: hidden; }
.gm-tabs span { padding-bottom: 9px; border-bottom: 3px solid transparent; }
.gm-tabs .is-on { color: #1f1f1f; font-weight: 700; border-bottom-color: #1f1f1f; }
.gm-tabs__mode { display: inline-flex; align-items: center; gap: 5px; }
.gm-tabs__mode .gm-spark { width: 14px; height: 14px; }
.gm-spark { width: 22px; height: 22px; }
.gm-aio { padding: 14px 2px 12px; border-bottom: 1px solid #ebebeb; }
.gm-aio__h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 15px; }
.gm-aio__h b { font-weight: 700; color: #1f1f1f; }
.gm-aio__load { display: none; gap: 8px; }
.gm-aio__load i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #e8f0fe, #d3e3fd, #f3e8fd, #e8f0fe); background-size: 300% 100%; animation: gm-shimmer 1.2s linear infinite; }
.gm-aio__load i:nth-child(2) { width: 86%; } .gm-aio__load i:nth-child(3) { width: 64%; }
@keyframes gm-shimmer { to { background-position: -300% 0; } }
.gm-aio.is-loading .gm-aio__load { display: grid; }
.gm-aio.is-loading .gm-aio__body, .gm-aio.is-loading .gm-more { display: none; }
.gm-aio__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; }
.gm-aio__text p { margin: 0 0 8px; color: #1f1f1f; font-size: 14px; line-height: 1.55; }
.gm-aio__text b { font-weight: 700; }
.gm-aio__text ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; color: #1f1f1f; font-size: 13.5px; }
.gm-cite { display: inline-flex; vertical-align: -3px; margin-left: 2px; }
.gm-cite .gm-fav { width: 18px; height: 18px; font-size: 10px; }
.gm-src { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.gm-src li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; padding: 10px; border-radius: 14px; background: #f3f6fc; }
.gm-src li.is-you { background: #e8f0fe; box-shadow: inset 0 0 0 1.5px #c2d7fb; }
.gm-src b { display: block; font-size: 12.5px; color: #1f1f1f; }
.gm-src em { display: block; font-style: normal; font-size: 12.5px; line-height: 1.35; color: #4d5156; }
.gm-src__more { align-items: center; }
.gm-fav { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 700 11px/1 Arial, sans-serif; font-style: normal; color: #fff; background: #5f6368; flex: none; }
.gm-fav.is-you { background: #f0b400; color: #16181d; }
.gm-fav.c2 { background: #1a73e8; } .gm-fav.c3 { background: #e8eaed; color: #5f6368; } .gm-fav.c4 { background: #188038; }
.gm-more { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 12px; padding: 9px; border-radius: 20px; background: #f1f3f4; color: #1f1f1f; font-size: 13.5px; font-weight: 700; }
.gm-more svg { width: 18px; height: 18px; }
.gm-res { padding: 14px 2px; }
.gm-res + .gm-res { border-top: 1px solid #f1f3f4; }
.gm-res__site { display: flex; align-items: center; gap: 10px; }
.gm-res__site .gm-fav { width: 26px; height: 26px; box-shadow: 0 0 0 1px #dadce0; }
.gm-res__site b { display: block; font-size: 13.5px; font-weight: 400; color: #202124; }
.gm-res__site cite { display: block; font-style: normal; font-size: 12px; color: #4d5156; }
.gm-res__t { display: block; margin: 6px 0 3px; font: 400 19px/1.3 Arial, sans-serif; color: #1a0dab; }
.gm-res p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #4d5156; }
.smock--seo .gm-res.is-you { position: relative; }
.smock--seo .gm-res.is-you::before { content: ""; position: absolute; inset: 4px -10px; border-radius: 12px; box-shadow: inset 0 0 0 2px var(--sun-deep); pointer-events: none; }
.cg { display: grid; grid-template-rows: auto 1fr auto; font: 400 15px/1.6 ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif; color: #0d0d0d; }
.cg-top { display: flex; align-items: center; gap: 4px; padding: 12px 16px; font-size: 16px; color: #0d0d0d; }
.cg-top b { font-weight: 600; }
.cg-top svg { width: 18px; height: 18px; color: #8f8f8f; }
.cg-msgs { padding: 4px 20px 10px; display: grid; gap: 14px; align-content: start; }
.cg-user { justify-self: end; max-width: 82%; margin: 0; padding: 10px 16px; border-radius: 22px; background: #f4f4f4; color: #0d0d0d; }
.cg-ans p { margin: 0 0 8px; }
.cg-ans ol { margin: 0 0 8px; padding-left: 22px; display: grid; gap: 6px; }
.cg-ans b { font-weight: 600; }
.cg-chip { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 10px; background: #f4f4f4; color: #5d5d5d; font-size: 12px; font-weight: 500; vertical-align: 1px; }
.cg-gap { color: #c2410c; }
.cg-compose { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 10px 10px 10px 14px; border-radius: 28px; box-shadow: 0 0 0 1px #e5e5e5, 0 4px 12px rgba(0, 0, 0, 0.05); color: #8f8f8f; }
.cg-compose span { flex: 1; }
.cg-compose i { display: grid; place-items: center; font-style: normal; }
.cg-send { width: 34px; height: 34px; border-radius: 50%; background: #0d0d0d; color: #fff; }
.cg-send svg { width: 18px; height: 18px; }
.cg--sm { width: 100%; max-width: 420px; justify-self: center; }
.cg--sm .cg-compose { display: none; }
.cg-ans.is-streaming > :not(.is-shown), .cg-ans.is-streaming li:not(.is-shown) { display: none; }
.cg-ans.is-streaming .is-shown { animation: cg-in 0.35s ease both; }
@keyframes cg-in { from { opacity: 0; transform: translateY(4px); } }
.cg-ans.is-streaming::after { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #0d0d0d; animation: cg-dot 0.9s ease-in-out infinite; }
@keyframes cg-dot { 50% { transform: scale(0.6); opacity: 0.5; } }
.ai-chat .cg { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(22, 24, 29, 0.1); }
@media (max-width: 520px) {
  .smock .cg { min-height: 420px; }
  .gm { padding: 12px 12px 4px; }
  .gm-aio__body { grid-template-columns: minmax(0, 1fr); }
  .gm-src { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-src__more { display: none !important; }
  .gm-tabs { gap: 14px; }
  .gm-res__t { font-size: 17px; }
  .cg { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .gm-aio__load i, .cg-ans.is-streaming::after { animation: none; } }

/* ---------- Website design and development: AI build hero, showcase and planner */
.aib { position: relative; display: grid; gap: 12px; padding: clamp(14px, 1.8vw, 20px); background: var(--panel); border-radius: var(--radius-card); min-width: 0; }
.aib-spark { width: 18px; height: 18px; flex: none; fill: var(--sun-deep); }
.aib__prompt { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--chip); font: 500 14.5px/1.45 var(--font-body); color: var(--ink); min-height: 48px; }
.aib__prompt .aib-spark { margin-top: 2px; }
.aib__caret { display: none; width: 2px; height: 18px; margin-left: -6px; background: var(--ink); animation: aib-blink 1s steps(1) infinite; }
.aib.is-typing .aib__caret { display: inline-block; }
@keyframes aib-blink { 50% { opacity: 0; } }
.aib__site { border-radius: 14px; overflow: hidden; background: #fff; color: #16181d; box-shadow: 0 0 0 1px var(--line), 0 10px 28px rgba(22, 24, 29, 0.1); }
.aib__bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #eef0f3; }
.aib__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d5d8de; }
.aib__bar span { margin: 0 auto; transform: translateX(-16px); font: 600 11px/1 var(--font-body); color: #676d78; background: #fff; border-radius: 9999px; padding: 4px 12px; }
.aib__page { display: grid; gap: 8px; padding: 10px; background: #f6f4ef; }
.aib__blk { position: relative; border-radius: 10px; transition: background 0.3s; }
.aib__nav { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #fff; font: 600 11px/1 var(--font-body); }
.aib__nav b { font: 700 13px/1 var(--font-body); }
.aib__nav span { color: #676d78; margin-right: auto; }
.aib__nav em { font-style: normal; background: #16181d; color: #fff; padding: 6px 10px; border-radius: 9999px; }
.aib__hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 8px; align-items: center; padding: 16px 14px; background: linear-gradient(140deg, #e9cf8a, #d4a648); }
.aib__hero b { display: block; font: 700 clamp(15px, 1.5vw, 19px)/1.12 var(--font-body); letter-spacing: -0.02em; }
.aib__hero span { display: block; margin-top: 6px; font: 500 11.5px/1.35 var(--font-body); color: #4b505a; }
.aib__hero em { display: inline-block; margin-top: 10px; font: 700 11px/1 var(--font-body); font-style: normal; background: linear-gradient(90deg, #2a2d33, #0b0c0e); color: #fff; padding: 7px 12px; border-radius: 9999px; }
.aib-car { width: 100%; height: auto; }
.aib-car__body { fill: #16181d; }
.aib-car__win { fill: #9fb3c8; }
.aib-car__wheel { fill: #2b3038; stroke: #fff; stroke-width: 3; }
.aib-car__hub { fill: #d5d8de; }
.aib__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.aib__cards div { display: grid; gap: 3px; padding: 6px; border-radius: 10px; background: #fff; }
.aib__cards i { display: block; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #e7eaef, #cfd5de); }
.aib__cards b { font: 700 10.5px/1.2 var(--font-body); }
.aib__cards span { font: 500 9.5px/1.2 var(--font-body); color: #0d7f37; }
.aib__trust { display: flex; flex-wrap: wrap; gap: 6px; }
.aib__trust span { padding: 5px 9px; border-radius: 9999px; background: #fff; box-shadow: inset 0 0 0 1px #0d7f37; color: #0d7f37; font: 700 10px/1 var(--font-body); }
/* While running: blocks not yet built show as grey skeletons, then shimmer, then appear. */
.aib.is-run .aib__blk:not(.is-built) { background: #e8eaee; box-shadow: none; }
.aib.is-run .aib__blk:not(.is-built) > *, .aib.is-run .aib__blk:not(.is-built) > div > * { visibility: hidden; }
.aib.is-run .aib__cards:not(.is-built) div, .aib.is-run .aib__trust:not(.is-built) span { background: #dfe2e7; box-shadow: none; }
.aib__blk.is-loading { background: linear-gradient(90deg, #e8eaee, #f4ead2, #e8eaee) !important; background-size: 300% 100% !important; animation: gm-shimmer 0.9s linear infinite; }
.aib__blk.is-built { animation: aib-in 0.45s cubic-bezier(.2, .7, .2, 1); }
@keyframes aib-in { from { opacity: 0.4; transform: scale(0.98); } }
.aib__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.aib__checks li { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 9999px; background: var(--trust-wash); color: var(--trust); font: 600 12px/1 var(--font-body); transition: background 0.3s, color 0.3s; }
.aib__checks .psg-ic { font-size: 14px; }
.aib.is-run .aib__checks li:not(.is-on) { background: var(--chip); color: var(--muted); }
.aib.is-run .aib__checks li:not(.is-on) .psg-ic { opacity: 0.25; }
.aib__checks li.aib__you { background: var(--sun); color: var(--on-sun, #16181d); }
.aib.is-run .aib__checks li.aib__you:not(.is-on) { background: var(--chip); color: var(--muted); }
.aib__replay { position: absolute; top: 12px; right: 12px; border: 0; cursor: pointer; padding: 7px 12px; border-radius: 9999px; background: var(--bar); color: var(--ink); font: 600 12px/1 var(--font-body); box-shadow: inset 0 0 0 1px var(--line); }
.you { font-style: normal; display: inline-block; margin-top: 4px; padding: 3px 8px; border-radius: 9999px; background: var(--sun-wash); color: var(--sun-ink); font: 700 11px/1.2 var(--font-body); }
.shows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.show { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-card); overflow: hidden; background: var(--panel); text-decoration: none; color: inherit; transition: box-shadow 0.2s; }
.show:hover { box-shadow: inset 0 0 0 2px var(--sun-deep); }
.show img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--chip); }
.show__body { display: grid; gap: 8px; align-content: start; padding: clamp(18px, 2vw, 24px); }
.show__body b { font: 700 18px/1.25 var(--font-body); letter-spacing: -0.015em; color: var(--ink); }
.show__body > span:not(.more) { font: 400 15px/1.55 var(--font-body); color: var(--ink-2); }
.show__body .more { margin-top: 4px; }
.plan-tool { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr); gap: clamp(16px, 2vw, 24px); align-items: start; }
.plan-tool__in { display: grid; gap: 14px; }
.plan-tool__out { position: sticky; top: 96px; }
.plan-pages { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.plan-pages li { padding: 7px 11px; border-radius: 9999px; background: var(--chip); color: var(--ink); font: 600 13px/1 var(--font-body); }
.plan-pages li.is-extra { background: var(--sun-wash); color: var(--sun-ink); }
.plan-ai { margin: 0; }
.plan-ai li { font: 500 14px/1.4 var(--font-body); }
.cross-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 960px) { .shows { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan-tool, .cross-pair { grid-template-columns: minmax(0, 1fr); } .plan-tool__out { position: static; } }
@media (max-width: 600px) { .shows { grid-template-columns: minmax(0, 1fr); } .aib__hero { grid-template-columns: minmax(0, 1fr); } .aib-car { max-width: 180px; justify-self: end; } }

/* ---------- Website AI assistant (src/js/assistant.js; markup from build.py ASSISTANT, production only).
   Its own bubble above the WhatsApp button, black and gold; it steps aside whenever the WhatsApp button does. */
.aib-fab { position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 13px; border: 0; border-radius: 9999px; background: var(--ink); color: var(--bg); font: 700 15px/1 var(--font-body); box-shadow: var(--shadow-dialog); cursor: pointer; transition: opacity 0.2s, transform 0.2s; }
.aib-fab .psg-ic { font-size: 20px; color: var(--gold-line, #d4a648); }
.aib-fab:hover { transform: translateY(-1px); }
.aib-fab[hidden] { display: none; }
.aib-fab[data-away], .aib-fab[data-foot] { opacity: 0; pointer-events: none; transform: translateY(12px); }
.aib-fab.is-open { opacity: 0; pointer-events: none; }
.aib { position: fixed; z-index: 55; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: min(390px, calc(100vw - 36px)); height: min(600px, calc(100vh - 110px)); display: flex; flex-direction: column; border-radius: var(--radius-card); background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 18px 48px rgba(0, 0, 0, 0.3); overflow: hidden; }
.aib[hidden] { display: none; }
@media (max-width: 640px) { .aib { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); width: auto; height: min(78vh, calc(100vh - 80px)); } }
.aib__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px 16px; border-bottom: 1px solid var(--line); }
.aib__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold-line, #d4a648); flex: none; }
.aib__mark .psg-ic { font-size: 18px; }
.aib__who { display: grid; gap: 2px; flex: 1; min-width: 0; }
.aib__who b { font: 700 15.5px/1.2 var(--font-body); }
.aib__who span { font-size: 12.5px; color: var(--muted); }
.aib__x { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--chip); color: var(--ink); cursor: pointer; flex: none; }
.aib__x .psg-ic { font-size: 16px; }
.aib__log { flex: 1; overflow-y: auto; padding: 14px 14px 6px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.aib-m { max-width: 86%; padding: 10px 13px; border-radius: 16px; font: 500 14.5px/1.45 var(--font-body); white-space: pre-wrap; overflow-wrap: anywhere; }
.aib-m--bot { align-self: flex-start; background: var(--chip); border-bottom-left-radius: 6px; }
.aib-m--you { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; }
.aib-m a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--gold-line, #d4a648); }
.aib-typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.aib-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: 0.5; animation: aib-dot 1.1s infinite; }
.aib-typing i:nth-child(2) { animation-delay: 0.15s; } .aib-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes aib-dot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .aib-typing i { animation: none; } }
.aib-wa { display: flex; flex-wrap: wrap; gap: 6px; }
.aib-wa__b { padding: 8px 12px; font-size: 13.5px; }
.aib-card { align-self: stretch; display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--gold-line, #d4a648); }
.aib-card__t { margin: 0; font: 700 14.5px/1.3 var(--font-body); }
.aib-card .psg-field { min-height: 42px; font-size: 15px; }
.aib-card__err { margin: 0; color: var(--price-text); font: 600 13px/1.3 var(--font-body); }
.aib-card__fine { margin: 0; font-size: 12px; color: var(--muted); }
.aib__quick { display: flex; gap: 6px; padding: 4px 14px 8px; overflow-x: auto; scrollbar-width: none; flex: none; }
.aib__quick:empty { display: none; }
.aib-chip { flex: none; border: 1px solid var(--line-2); border-radius: 9999px; background: var(--panel); color: var(--ink); font: 600 13px/1 var(--font-body); padding: 8px 12px; cursor: pointer; white-space: nowrap; }
.aib-chip:hover { border-color: var(--gold-line, #d4a648); }
.aib__form { display: flex; align-items: flex-end; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--line); flex: none; }
.aib__form textarea { flex: 1; resize: none; min-height: 42px; max-height: 120px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg); color: var(--ink); font: 500 15px/1.4 var(--font-body); }
.aib__form textarea:focus { outline: 2px solid var(--gold-line, #d4a648); outline-offset: 0; }
.aib__send { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--ink); color: var(--bg); cursor: pointer; flex: none; }
.aib__send .psg-ic { font-size: 18px; }
.aib__note { margin: 0; padding: 0 14px 10px; font-size: 11.5px; color: var(--muted); flex: none; }

/* Company pages: about-us, our-story, our-pledge, our-team, extended workforce, track-record, contact-us.
   Only what site.css lacks. Every class is prefixed pc-. */

/* Initials tile: stands in for a team photo we do not have (same frame as .person img) */
.person .pc-initials { aspect-ratio: 4 / 5; padding: 0; display: grid; place-items: center; background: var(--sun-wash); color: var(--sun-ink); font: italic 800 clamp(48px, 7vw, 76px)/1 var(--font-num); letter-spacing: 0.02em; }

/* Customer journey: a real left-to-right sequence of touchpoints */
.pc-journey { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-8); }
.pc-journey li { display: inline-flex; align-items: center; gap: var(--space-8); }
.pc-journey span { background: var(--sun-wash); color: var(--sun-ink); border-radius: var(--radius-pill); padding: 9px 14px; font: 700 15px/1 var(--font-body); white-space: nowrap; }
.pc-journey .psg-ic { font-size: 18px; color: var(--muted); }

/* Two-column text block inside a card */
.pc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-14) clamp(20px, 3vw, 40px); }
@media (max-width: 760px) { .pc-cols { grid-template-columns: minmax(0, 1fr); } }

/* Our story timeline: keep paragraphs at a readable measure */
.pc-tl .tl__body > p { max-width: 72ch; }

/* Captioned images (Our story) */
.pc-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-14); margin: var(--space-6) 0 0; }
.pc-figs figure { margin: 0; display: grid; gap: var(--space-6); }
.pc-figs img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-ticket); background: var(--chip); }
.pc-figs figcaption { font: 500 13.5px/1.4 var(--font-body); color: var(--muted); }
@media (max-width: 560px) { .pc-figs { grid-template-columns: minmax(0, 1fr); } }

/* Award badges sit on a light tile so their dark artwork reads in both themes */
.pc-badges { aspect-ratio: 16 / 10; background: var(--chip); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-14); align-items: center; justify-items: center; padding: clamp(16px, 3vw, 36px); }
.pc-badges img { width: 100%; max-width: 220px; height: auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pc-badges { background: var(--chrome-1); } }
:root[data-theme="dark"] .pc-badges { background: var(--chrome-1); }
.pc-links { display: grid; gap: var(--space-8); }

/* Photo gallery (Track record): masonry columns keep each photo whole */
.pc-gallery { columns: 3 260px; column-gap: var(--space-14); }
.pc-gallery figure { margin: 0 0 var(--space-14); break-inside: avoid; background: var(--panel); border-radius: var(--radius-card); padding: 6px; }
.pc-gallery img { width: 100%; height: auto; border-radius: var(--radius-ticket); background: var(--chip); }
@media (max-width: 560px) { .pc-gallery { columns: 2; column-gap: var(--space-8); } .pc-gallery figure { margin-bottom: var(--space-8); padding: 4px; border-radius: var(--radius-ticket); } .pc-gallery img { border-radius: 9px; } }

/* Contact: form card in the hero, office cards below */
.pc-formcard { background: var(--panel); border-radius: var(--radius-card); padding: clamp(18px, 2.6vw, 30px); display: grid; gap: var(--space-14); min-width: 0; }
.pc-formcard .h-card { font-size: 22px; }
.pc-contact-hero .wrap { align-items: start; }
.pc-contact-hero .cta__ways { margin-top: var(--space-4); }
.pc-contact-hero .cta__way span span { color: var(--ink-2); }
.pc-office { gap: var(--space-12); }
.pc-office__head { display: flex; align-items: center; gap: var(--space-12); }
.pc-office__head .psg-disk { margin: 0; flex: none; }
.pc-office__head > div { display: grid; gap: 2px; }
.pc-office__lines { display: grid; gap: var(--space-8); }
.pc-office__lines a { justify-self: start; display: inline-flex; align-items: center; gap: var(--space-8); font: 600 16px/1.3 var(--font-body); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.pc-office__lines a:hover { text-decoration: underline; }
.pc-office__lines .psg-ic { font-size: 19px; color: var(--muted); }
.pc-office .card__foot { padding-top: var(--space-10); }

/* Insights: post pages, hubs and author pages. */
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font: 600 14px/1.3 var(--font-body); color: var(--ink-2); }
.byline > * + *::before { content: "·"; margin-right: 14px; color: var(--muted); }
.byline__who { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.byline__who b { color: var(--ink); }
.byline__who:hover b { text-decoration: underline; }
.avatar { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; display: inline-grid; place-items: center; background: var(--sun-wash); color: var(--sun-ink); font: 800 12px/1 var(--font-body); flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 96px; height: 96px; font-size: 30px; }
.author-head { justify-items: start; }

.takeaways { background: var(--sun-wash); border-radius: var(--radius-ticket); padding: 16px 18px; display: grid; gap: 8px; }
.takeaways .eyebrow { color: var(--sun-ink); }
.takeaways ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-weight: 600; }
.definition { border-left: 4px solid var(--sun-deep); padding: 4px 0 4px 16px; display: grid; gap: 4px; }
.definition dfn { font: italic 800 20px/1.2 var(--font-num); }
.definition p { margin: 0; }
.callout { background: var(--trust-wash); }
.callout--warning { background: var(--peach); }
.callout--warning .psg-ic { color: var(--price-text); }
.callout > div { display: grid; gap: 6px; }
.callout > div > b { display: block; }
.prose figure { display: grid; gap: 8px; }
.prose figcaption { font: 500 14px/1.4 var(--font-body); color: var(--muted); }
.prose .table-wrap { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); }
.prose .table { min-width: 480px; font-size: 15px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 0.6em 0; width: 100%; }
.cite a { text-decoration: none; font: 800 11px/1 var(--font-body); background: var(--chip); color: var(--ink-2); border-radius: var(--radius-tag); padding: 2px 4px; margin-left: 2px; }
.cite a:hover { background: var(--sun-wash); color: var(--sun-ink); }
.sources { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.sources li:target { background: var(--sun-wash); border-radius: var(--radius-tag); }
.about-post { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; display: grid; gap: 10px; }
.about-post__who { display: flex; flex-wrap: wrap; gap: 10px 22px; font: 600 15px/1.3 var(--font-body); }
.toc-m { display: none; background: var(--chip); border-radius: var(--radius-ticket); padding: 12px 14px; }
.toc-m summary { cursor: pointer; font-weight: 700; }
.toc-m .toc { margin-top: 8px; }
.aside .toc a, .toc-m .toc a { display: block; }
.topic-list { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font: 600 14px/1.35 var(--font-body); }
.topic-list a { text-decoration: none; color: var(--ink-2); }
.topic-list a:hover { color: var(--ink); text-decoration: underline; }
.draft-bar { background: var(--peach); color: var(--price-text); font: 700 14px/1.3 var(--font-body); padding: 10px max(16px, env(safe-area-inset-left, 0px)); display: flex; gap: 10px; align-items: center; justify-content: center; text-align: center; }
.hero .psg-fchips { margin-top: 6px; }
a.psg-fchip { text-decoration: none; }
a.psg-fchip:hover { background: var(--sun-wash); color: var(--sun-ink); }
@media (max-width: 960px) { .toc-m { display: block; } .aside .toc { display: none; } }

/* Product pages for realtors: Property Ecosystem, New Launch Website Builder, leads projection,
   upcoming projects and biolink. Builds on site.css; every class here starts with pp-. */

/* Hero extras */
.pp-hero-shot { background: var(--panel); border-radius: var(--radius-card); padding: 10px; min-width: 0; }
.pp-hero-shot img { width: 100%; border-radius: var(--radius-ticket); aspect-ratio: 4 / 3; object-fit: cover; object-position: top; background: var(--chip); }
.pp-hero-shot--wide img { aspect-ratio: auto; object-fit: contain; background: #fff; }

/* Proof card in a hero: one big figure, then supporting rows */
.pp-stat { display: grid; gap: 4px; }
.pp-stat .psg-figure { font-size: clamp(40px, 5vw, 56px); }
.pp-stat span:last-child { font: 600 15px/1.35 var(--font-body); color: var(--ink-2); }

/* Illustrations drawn for a light background keep a light tile in both themes */
.pp-art, .card--media > img.pp-art { background: var(--chrome-1); }
.card--media > img.pp-art, .feature > img.pp-art, img.pp-step-art { object-fit: contain; padding: clamp(10px, 2vw, 18px); }
.card--media > img.pp-art { aspect-ratio: 2 / 1; }
.card--media > img.pp-fit, .feature > img.pp-fit { object-fit: contain; background: #fff; }
@media (max-width: 820px) { .feature > img.pp-fit { aspect-ratio: auto; } }
img.pp-step-art { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-ticket); margin-top: var(--space-6); }

/* Product screenshots: three across, a swipe row on phones */
.pp-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-14); }
.pp-shots figure { margin: 0; background: var(--panel); border-radius: var(--radius-card); padding: 10px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.pp-shots img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: var(--radius-ticket); background: var(--chip); }
.pp-shots--sq img { aspect-ratio: 1 / 1; }
.pp-shots figcaption { font: 700 15px/1.3 var(--font-body); padding: 0 4px 4px; }
.pp-shots figcaption span { display: block; font-weight: 500; font-size: 14px; color: var(--muted); margin-top: 2px; }
@media (max-width: 760px) {
  .pp-shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); padding: 0 var(--gutter-r) 6px var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .pp-shots::-webkit-scrollbar { display: none; }
  .pp-shots figure { scroll-snap-align: start; }
}
.pp-swipe { display: none; }
@media (max-width: 760px) { .pp-swipe { display: block; margin-top: var(--space-8); } }

/* Post cards and other card rows become a swipe row on phones */
@media (max-width: 760px) {
  .pp-swipe-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); padding: 0 var(--gutter-r) 6px var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .pp-swipe-row::-webkit-scrollbar { display: none; }
  .pp-swipe-row > * { scroll-snap-align: start; }
}

/* Four small cards sit two-up on phones */
@media (max-width: 640px) {
  .pp-2up { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-10); }
  .pp-2up .card__body { padding: 12px 12px 14px; gap: 6px; }
  .pp-2up .h-card { font-size: 16.5px; }
  .pp-2up .body-2 { font-size: 14px; line-height: 1.45; }
}

/* Feature list: many short benefits inside one card (shorter than a card each) */
.pp-feats { list-style: none; margin: 0; background: var(--panel); border-radius: var(--radius-card); padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.pp-feats li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: var(--space-12); align-items: start; }
.pp-feats .eyebrow { display: block; margin: 4px 0 6px; font-size: 11.5px; }
.pp-feats h3 { font: 700 17px/1.3 var(--font-body); margin-bottom: 4px; }
.pp-feats p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
@media (max-width: 960px) { .pp-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pp-feats { grid-template-columns: minmax(0, 1fr); gap: var(--space-16); } .pp-feats .psg-disk { width: 40px; height: 40px; font-size: 20px; } .pp-feats li { grid-template-columns: 40px minmax(0, 1fr); } }

/* Reason cards: image on top, cropped to a strip */
.pp-reason > img { aspect-ratio: 2 / 1; object-position: top left; }
.pp-reason dl { margin: 0; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.pp-reason dt { font-weight: 700; color: var(--ink); display: inline; }
.pp-reason dd { margin: 0; display: inline; }

/* Client results: chat-bubble quotes on the sun card */
.pp-proof { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-16) var(--space-24); padding: clamp(22px, 3.4vw, 44px); align-items: start; }
.pp-proof__copy { display: grid; gap: var(--space-12); justify-items: start; }
.pp-proof__fig { display: grid; gap: 2px; text-align: right; }
.pp-proof__fig .psg-figure { font-size: clamp(44px, 5.6vw, 68px); font-style: italic; }
.pp-proof__fig span:last-child { font: 700 15px/1.3 var(--font-body); }
.pp-said { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-8); }
.pp-said li { display: inline-flex; align-items: center; gap: 6px; background: var(--panel); color: var(--ink); border-radius: 16px 16px 16px 4px; padding: 9px 14px; font: 600 15px/1.25 var(--font-body); }
.pp-said .psg-ic { color: var(--trust); font-size: 17px; }
@media (max-width: 640px) {
  .pp-proof { grid-template-columns: minmax(0, 1fr); }
  .pp-proof__fig { text-align: left; }
  .pp-said { gap: 6px; }
  .pp-said li { padding: 7px 11px; font-size: 14px; gap: 5px; }
  .pp-said .psg-ic { font-size: 15px; }
}

/* Results: screenshots grouped by step, extras collapsed */
.pp-chats { display: grid; gap: 6px; }
.pp-chats img { width: 100%; border-radius: 8px; background: #111b21; }
.pp-more { margin-top: var(--space-8); }
.pp-more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font: 700 15px/1.2 var(--font-body); padding: 8px 0; }
.pp-more > summary::-webkit-details-marker { display: none; }
.pp-more > summary .psg-ic { font-size: 18px; transition: transform 0.15s; }
.pp-more[open] > summary .psg-ic { transform: rotate(180deg); }
.pp-more[open] > summary .pp-more__show, .pp-more:not([open]) > summary .pp-more__hide { display: none; }
.pp-more > :not(summary) { margin-top: var(--space-8); }
@media (prefers-reduced-motion: reduce) { .pp-more > summary .psg-ic { transition: none; } }

/* Plans: price block and tier note */
.psg-price.pp-big { font-size: clamp(40px, 4.4vw, 50px); }
.pp-pill-wrap { justify-self: start; white-space: normal; line-height: 1.25; }
.pp-plans-note { margin-top: var(--space-14); display: flex; gap: var(--space-8); align-items: center; color: var(--ink-2); }
.pp-plans-note .psg-ic { font-size: 18px; color: var(--teal); }

/* Leads projection form */
.pp-form { display: grid; gap: var(--space-14); padding: clamp(18px, 2.4vw, 28px); }
.pp-form h2 { font: 800 clamp(22px, 2.4vw, 28px)/1.2 var(--font-body); }
.pp-note { background: var(--peach); color: var(--ink); border-radius: var(--radius-field); padding: 14px 16px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-10); }
.pp-note .psg-ic { color: var(--price-text); font-size: 20px; margin-top: 2px; }
.pp-note b { color: var(--price-text); }

/* Upcoming projects: embedded live sheet with a light watermark */
.pp-sheet { position: relative; background: #fff; border-radius: var(--radius-card); overflow: hidden; }
.pp-sheet iframe { display: block; width: 100%; height: 640px; border: 0; }
.pp-sheet::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url(img/logo-black.png) center / 260px auto space; opacity: 0.05; }

/* Biolink */
.pp-links { display: grid; gap: var(--space-10); width: 100%; max-width: 460px; }
.pp-links .psg-btn { width: 100%; }
.pp-linklist { display: grid; background: var(--panel); border-radius: var(--radius-card); padding: var(--space-6); max-width: 460px; }
.pp-linklist a { display: flex; justify-content: space-between; align-items: center; gap: var(--space-10); padding: 14px 12px; font: 700 16px/1.25 var(--font-body); text-decoration: none; border-radius: var(--radius-ticket); }
.pp-linklist a + a { border-top: 1px solid var(--line); }
.pp-linklist a:hover { background: var(--sun-wash); color: var(--sun-ink); }
.pp-linklist a span { display: block; font: 500 14px/1.35 var(--font-body); color: var(--muted); margin-top: 2px; }
.pp-linklist .psg-ic { font-size: 18px; flex: none; }
