/* Elta — Melissa Chan Properties (allurehomes.sg/elta/) */
/* Fonts are served from this site (SIL Open Font License, see /fonts/README.txt) */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
:root {
  --plum: #4a1c17;      /* deep brownstone maroon, after the Hudson Place Residences logo (the variable keeps The Serra's name so the shared styles carry over) */
  --plum-2: #6e3a31;
  --taupe: #7d6b62;
  --copper: #8f5428;
  --gold: #d2a774;
  --gold-2: #c08f57;
  --cream: #f6f1eb;
  --sand: #ede4d8;
  --paper: #fffdf9;
  --ink: #221b20;
  --muted: #655a5f;
  --line: #e2d6c8;
  --wa: #14803e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(34, 27, 32, .06), 0 8px 28px rgba(34, 27, 32, .09);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hdr-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--sans); color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--copper); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--plum); letter-spacing: -.005em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); }
h3 { font-size: 1.5rem; }
h4 { margin: 1.2em 0 .5em; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--plum); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.kicker { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); margin-bottom: .7em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.3em; border-radius: 999px; border: 1.5px solid transparent; font: 600 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .95em 1.7em; font-size: 1rem; }
.btn-gold { background: var(--gold); color: #24170a; }
.btn-gold:hover { background: var(--gold-2); }
.btn-line { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, .14); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0f6e35; }
.btn-ghost { border-color: var(--line); color: var(--plum); background: var(--paper); }
.btn-ghost:hover { border-color: var(--plum); }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 235, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { height: var(--hdr-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.05; margin-right: auto; }
.brand-logo { display: block; height: 34px; width: auto; }
.brand-sub { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--copper); margin-top: 3px; }
.nav ul { display: flex; gap: clamp(12px, 1.6vw, 22px); list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; }
.nav a:hover { color: var(--copper); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--plum); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mnav { display: flex; flex-direction: column; padding: 8px 16px 18px; gap: 2px; border-top: 1px solid var(--line); }
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 12px; }
@media (max-width: 1020px) {
  .nav, .hdr-cta { display: none; }
  .burger { display: block; }
}

/* hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--plum); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 18, 24, .5), rgba(26, 18, 24, 0) 65%), linear-gradient(180deg, rgba(26, 18, 24, .05) 25%, rgba(26, 18, 24, .55) 62%, rgba(26, 18, 24, .85) 100%); }
.hero-in { position: relative; padding: 140px 0 72px; max-width: 760px; margin-left: max(16px, (100% - 1200px) / 2); }
.hero .kicker { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(3rem, 2rem + 5vw, 5.6rem); font-weight: 500; margin-bottom: .2em; }
.hero .lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem); max-width: 620px; color: rgba(255, 255, 255, .92); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ai { position: absolute; right: 92px; bottom: 12px; margin: 0; font-size: .72rem; color: rgba(255, 255, 255, .75); }
@media (max-width: 700px) {
  .hero-shade { background: linear-gradient(180deg, rgba(26, 18, 24, .15) 0%, rgba(26, 18, 24, .6) 38%, rgba(26, 18, 24, .88) 100%); }
  .hero-in { padding-top: 120px; }
}

/* facts strip */
.facts { background: var(--plum); color: #fff; }
.facts-in { display: grid; grid-template-columns: repeat(6, 1fr); }
.facts-in > div { padding: 22px 14px; border-left: 1px solid rgba(255, 255, 255, .12); }
.facts-in > div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font: 600 2rem/1.1 var(--serif); color: var(--gold); }
.facts span { font-size: .8rem; color: rgba(255, 255, 255, .78); }
@media (max-width: 900px) {
  .facts-in { grid-template-columns: repeat(3, 1fr); }
  .facts-in > div:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
  .facts-in > div:nth-child(n + 4) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 520px) {
  .facts-in { grid-template-columns: repeat(2, 1fr); }
  .facts-in > div { border-left: 0 !important; padding-left: 0 !important; }
  .facts-in > div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .facts b { font-size: 1.7rem; }
}

/* sections */
.sec { padding: clamp(64px, 5vw + 32px, 112px) 0; }
.sec.alt { background: var(--sand); }
.sec-head { max-width: 760px; margin-bottom: 36px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* project */
.colls { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.coll { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 8px; border-top: 4px solid var(--taupe); }
.coll-luxury { border-top-color: var(--copper); }
.coll h3 { font-size: 1.35rem; margin-bottom: .2em; }
.coll-meta { font-size: .82rem; font-weight: 600; color: var(--muted); }
.coll p:last-child { font-size: .92rem; }
@media (max-width: 560px) { .colls { grid-template-columns: 1fr; } }
.pic { margin: 0 0 24px; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pic figcaption { position: absolute; right: 10px; bottom: 8px; font-size: .7rem; color: rgba(255, 255, 255, .85); }
.spec { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.spec dd { margin: 0; font-size: .93rem; }
@media (max-width: 480px) { .spec > div { grid-template-columns: 1fr; gap: 2px; } }

/* unit mix */
.table-scroll { position: relative; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.mix { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 640px; }
.mix th, .mix td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.mix thead th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--sand); font-weight: 700; }
.mix tbody th { font-weight: 600; white-space: nowrap; }
.mix tbody tr { cursor: pointer; transition: background .15s; }
.mix tbody tr:hover { background: #faf4ec; }
.mix td small { display: block; color: var(--muted); font-size: .78rem; }
.mix .num { text-align: right; font-variant-numeric: tabular-nums; }
.mix tfoot th, .mix tfoot td { border-bottom: 0; font-weight: 700; background: var(--sand); }
.mix abbr { text-decoration: none; color: var(--muted); font-weight: 500; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 10px; vertical-align: -1px; background: var(--c, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.share { width: 150px; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.share span { display: inline-block; height: 8px; width: calc(var(--w) * 2.4); max-width: 90px; min-width: 4px; background: var(--taupe); border-radius: 4px; margin-right: 8px; vertical-align: 1px; }
.go3d { font-weight: 700; font-size: .85rem; text-decoration: none; white-space: nowrap; }

/* clubs */
.clubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.club { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.club img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.club-b { padding: 22px 22px 14px; }
.club ul { padding-left: 1.1em; margin: 0 0 8px; font-size: .92rem; }
.club li { margin-bottom: 4px; }
.club li::marker { color: var(--copper); }
@media (max-width: 960px) { .clubs { grid-template-columns: 1fr; max-width: 620px; } }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 14px; overflow-x: auto; margin-top: 26px; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.strip figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; scroll-snap-align: start; }
.strip img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: .82rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }

/* location */
.loc { display: grid; gap: 4px; }
.loc h3 { font-size: 1.25rem; margin: 18px 0 8px; }
.loc ul { padding-left: 1.1em; margin: 0 0 8px; font-size: .94rem; }
.loc li { margin-bottom: 5px; }
.dirs { list-style: none; padding: 0 !important; }
.dirs li { display: grid; grid-template-columns: 54px 1fr; gap: 8px; }
.dirs b { font-size: .78rem; color: var(--copper); letter-spacing: .06em; padding-top: 2px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; height: 100%; background: #e6e1d4; }
.map iframe { border: 0; width: 100%; height: 100%; min-height: 420px; display: block; }

/* floor plans */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; align-items: center; }
.chip { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); padding: .5em 1em; border-radius: 999px; font: 600 .86rem/1.2 var(--sans); cursor: pointer; }
.chip:hover { border-color: var(--taupe); }
.chip.on { background: var(--plum); border-color: var(--plum); color: #fff; }
.chip-sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.plan { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.plan[hidden] { display: none; }
.plan-img { display: block; border: 0; padding: 0; background: #fff; cursor: zoom-in; position: relative; }
.plan-img img { width: 100%; height: auto; aspect-ratio: 1.41; object-fit: contain; }
.plan .badge { position: absolute; top: 10px; left: 10px; background: var(--plum); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.plan figcaption { padding: 12px 14px 14px; display: grid; gap: 2px; border-top: 1px solid var(--line); flex: 1; }
.plan figcaption b { font-size: 1rem; }
.plan figcaption span { font-size: .84rem; color: var(--muted); }
.plan figcaption .go3d { margin-top: 6px; }
.plan .coll-tag { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.plan .coll-tag.lux { color: var(--copper); }

/* register */
.register { background: var(--plum); color: #fff; }
.register h2 { color: #fff; }
.register .kicker { color: var(--gold); }
.agent-card p { color: rgba(255, 255, 255, .85); }
.agent { display: flex; gap: 14px; align-items: center; margin: 26px 0 22px; }
.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--gold); background: var(--sand); }
.agent b { display: block; font-size: 1.1rem; }
.agent small { display: block; color: rgba(255, 255, 255, .72); font-size: .8rem; }
.agent a { color: var(--gold); font-weight: 600; text-decoration: none; }
.reg { background: var(--paper); color: var(--ink); border-radius: 18px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.reg label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.reg input, .reg select, .reg textarea { font: 400 1rem/1.4 var(--sans); color: var(--ink); padding: .72em .85em; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.reg input:focus, .reg select:focus, .reg textarea:focus { border-color: var(--taupe); outline: none; box-shadow: 0 0 0 3px rgba(125, 107, 98, .2); }
.reg .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reg .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .82rem; line-height: 1.45; }
.reg .consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--plum); }
.reg .invalid { border-color: #c0432f !important; }
.hp { position: absolute; left: -5000px; }
.form-msg { margin: 0; font-size: .9rem; font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: #1e7a45; }
.form-msg.err { color: #b33a26; }
@media (max-width: 560px) { .reg .row2 { grid-template-columns: 1fr; } }

/* footer */
.ftr { background: #1e171c; color: rgba(255, 255, 255, .8); padding: 48px 0 92px; font-size: .9rem; }
.ftr-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ftr-logo { display: block; height: 40px; width: auto; margin-bottom: 8px; }
.ftr .muted { color: rgba(255, 255, 255, .6); }
.ftr-agent { display: grid; gap: 2px; text-align: right; }
.ftr-agent b { color: #fff; }
.ftr a { color: var(--gold); text-decoration: none; }
.disclaimer { padding-top: 20px; font-size: .78rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 600px) { .ftr-agent { text-align: left; } }

/* whatsapp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(20, 14, 18, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 20px; }
.lb[hidden] { display: none; }
.lb img { max-width: min(1400px, 100%); max-height: calc(100% - 40px); object-fit: contain; background: #fff; border-radius: 8px; }
.lb-cap { color: #fff; margin: 12px 0 0; font-size: .9rem; text-align: center; }
.lb-x { position: absolute; top: 10px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }

/* ---------- 3D explorer ---------- */
.explore { padding-bottom: 40px; }
.x { width: min(1400px, 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: 1fr 340px; gap: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.x-stage { position: relative; height: min(78vh, 760px); min-height: 480px; background: linear-gradient(#e7ddd2, #f6f1eb); touch-action: none; overflow: hidden; }
.x-stage canvas { display: block; width: 100%; height: 100%; outline: none; }
.x-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); font-weight: 600; z-index: 3; }
.x-loading[hidden] { display: none; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(74, 28, 23, .18); border-top-color: var(--plum); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.x-top { position: absolute; top: 12px; left: 12px; right: 64px; display: flex; flex-wrap: wrap; gap: 8px; z-index: 4; pointer-events: none; }
.x-top > * { pointer-events: auto; }
.x-search { display: flex; background: rgba(255, 253, 248, .96); border-radius: 999px; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); overflow: hidden; }
.x-search input { border: 0; background: none; padding: 10px 6px 10px 16px; font: 500 .95rem var(--sans); width: 190px; color: var(--ink); }
.x-search input:focus { outline: none; }
.x-search button { border: 0; background: var(--plum); color: #fff; font: 700 .85rem var(--sans); padding: 0 16px; cursor: pointer; }
#x-filter { border: 0; border-radius: 999px; padding: 10px 14px; font: 600 .86rem var(--sans); color: var(--ink); background: rgba(255, 253, 248, .96); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); max-width: 240px; }
.x-tools { position: absolute; top: 12px; right: 12px; display: grid; gap: 8px; z-index: 4; }
.x-tools button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 253, 248, .96); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); font-size: 1.2rem; color: var(--plum); cursor: pointer; }
.x-compass { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 253, 248, .96); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); position: relative; }
.x-compass i { position: absolute; inset: 0; display: grid; place-items: start center; font: 800 .7rem/1 var(--sans); font-style: normal; color: #b0402c; padding-top: 4px; }
.x-compass i::after { content: ""; position: absolute; left: 50%; top: 15px; width: 2px; height: 18px; margin-left: -1px; background: linear-gradient(#b0402c 50%, #9aa59e 50%); border-radius: 2px; }
.x-tip { position: absolute; z-index: 5; pointer-events: none; background: rgba(34, 27, 32, .92); color: #fff; font-size: .8rem; font-weight: 600; padding: 6px 10px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, calc(-100% - 14px)); }
.x-sun { position: absolute; left: 12px; right: 12px; bottom: 12px; max-width: 520px; background: rgba(255, 253, 248, .96); border-radius: 14px; box-shadow: 0 2px 12px rgba(0, 0, 0, .14); padding: 10px 14px 8px; z-index: 4; }
.x-sun-row { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 700; }
.x-sun-row label { margin-right: auto; color: var(--copper); }
.x-sun-row select { border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; font: 600 .82rem var(--sans); background: #fff; color: var(--ink); }
#x-play { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--plum); color: #fff; cursor: pointer; font-size: .8rem; }
#x-time { width: 100%; accent-color: var(--copper); margin: 6px 0 0; }
.x-panel { border-left: 1px solid var(--line); padding: 20px; overflow-y: auto; max-height: min(78vh, 760px); }
.x-panel h3 { font-size: 1.4rem; }
.x-panel ol { padding-left: 1.2em; font-size: .9rem; color: var(--muted); }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.legend button { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 6px 8px; border-radius: 8px; font: 500 .86rem var(--sans); color: var(--ink); cursor: pointer; text-align: left; }
.legend button:hover { background: var(--sand); }
.legend button.on { background: var(--plum); color: #fff; }
.legend .sw { margin: 0; flex: none; }
.legend .ct { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; font-size: .78rem; }
.legend button.on .ct { color: rgba(255, 255, 255, .7); }
.nb-toggle { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 10px; padding: 6px 8px; font-size: .86rem; font-weight: 500; cursor: pointer; border-radius: 8px; }
.nb-toggle:hover { background: var(--sand); }
.nb-toggle input { margin: 0; accent-color: var(--plum); }
.nb-toggle .sw { margin: 0; }
.nb-toggle small { grid-column: 3; color: var(--muted); font-size: .76rem; }
.u-out { font-size: .86rem; background: #eef1f3; border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; }
.u-out b { color: #3d4650; }
/* prices, notes, compare */
.u-price { background: var(--plum); color: #fff; border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; display: grid; gap: 2px; }
.u-price .lbl { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.u-price b { font: 600 1.7rem/1.1 var(--serif); }
.u-price b.por { font: 700 1rem/1.3 var(--sans); }
.u-price .psf { font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.u-price small { font-size: .72rem; line-height: 1.4; color: rgba(255, 255, 255, .7); margin-top: 4px; }
.u-price .muted { color: rgba(255, 255, 255, .7); }
.u-price.sold { background: #6d6a64; }
.u-notes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.u-notes span { font-size: .76rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--sand); color: var(--plum); }
.u-notes span.feat { background: #fdf3e4; color: var(--copper); box-shadow: inset 0 0 0 1px #e8cfa8; }
b.feat { color: var(--copper); font-weight: 700; font-family: var(--sans); font-size: inherit; }
.u-cmp { width: 100%; margin: 0 0 12px; font-size: .95rem; padding: .75em 1em; background: var(--plum); border-color: var(--plum); color: #fff; }
.u-cmp:hover { background: #1f171d; }
.u-cmp.on { border-color: var(--plum); background: #efe7ee; color: var(--plum); }
.legend-static { display: flex; align-items: center; gap: 10px; padding: 6px 8px; font-size: .86rem; }
.legend-static .ct { margin-left: auto; color: var(--muted); font-size: .78rem; }
.x-tray { position: absolute; right: 12px; bottom: 12px; z-index: 5; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; max-width: calc(100% - 560px); min-width: 260px; background: rgba(255, 253, 248, .97); border-radius: 14px; box-shadow: 0 2px 12px rgba(0, 0, 0, .16); padding: 8px 10px; }
.x-tray[hidden] { display: none; }
.x-tray .tlbl { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.x-tray .thint { font-size: .8rem; color: var(--muted); }
.x-tray .tgo { padding: .5em 1em; font-size: .86rem; margin-left: auto; }
.tchip { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700; }
.tchip i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: .74rem; background: #a8703f; }
.tchip.b i { background: #4a8296; }
.tchip button { border: 0; background: none; font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 2px; }
.cmp { position: fixed; inset: 0; z-index: 70; background: rgba(20, 14, 18, .6); padding: 4vh 12px; overflow-y: auto; overflow-x: hidden; }
.cmp[hidden] { display: none; }
.cmp-box { background: var(--paper); border-radius: 18px; width: 100%; max-width: 860px; margin: 0 auto; padding: clamp(16px, 3vw, 28px); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.cmp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cmp-head h3 { margin: 0; }
.cmp-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sand); font-size: 1.5rem; cursor: pointer; color: var(--plum); }
.cmp-diff { margin: 12px 0 16px; padding: 12px 14px; border-radius: 12px; background: #fdf3e4; font-size: .92rem; }
.cmp-diff .sold-note { color: #8a3b2a; font-weight: 700; }
.cmp-scroll { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .9rem; table-layout: fixed; }
.cmp-table th, .cmp-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table thead th { font: 600 1.15rem/1.2 var(--serif); color: var(--plum); border-bottom: 2px solid var(--line); }
.cmp-table thead th:first-child { width: 22%; }
.cmp-table thead .tchip { margin-right: 6px; vertical-align: 2px; }
.cmp-table tbody th { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cmp-table small { display: block; color: var(--muted); font-size: .78rem; font-family: var(--sans); font-weight: 500; }
.cmp-table td b { font: 600 1.25rem/1.2 var(--serif); }
.cmp-table .u-plan { width: 100%; }
.cmp-table .u-plan img { aspect-ratio: 1.41; width: 100%; height: auto; max-width: 100%; }
.cmp-table td, .cmp-table th { overflow-wrap: anywhere; }
.cmp-note { font-size: .78rem; color: var(--muted); margin: 12px 0; }
.cmp-cta { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 960px) {
  .x-tray { left: 12px; right: 12px; max-width: none; bottom: 104px; }
}
@media (max-width: 560px) {
  .cmp { padding: 0; }
  .cmp-box { border-radius: 0; min-height: 100%; }
  .cmp-table { font-size: .82rem; }
  .cmp-table thead th:first-child { width: 26%; }
  .cmp-table th, .cmp-table td { padding: 8px 5px; }
  .cmp-table td b { font-size: 1.05rem; }
  .cmp-cta .btn { width: 100%; }
}
.x-unit .back { border: 0; background: none; color: var(--copper); font: 700 .82rem var(--sans); padding: 0; cursor: pointer; margin-bottom: 10px; }
.x-unit h3 { margin-bottom: 2px; font-size: 1.7rem; }
.x-unit .u-sub { font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.x-unit .tag { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--sand); color: var(--taupe); }
.x-unit .tag.lux { color: var(--copper); }
.x-unit .tag.show { background: var(--plum); color: #fff; }
.u-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; }
.u-grid div { background: var(--cream); border-radius: 10px; padding: 9px 11px; }
.u-grid dt { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.u-grid dd { margin: 0; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.u-sun { font-size: .86rem; background: #fdf3e4; border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; }
.u-sun b { color: var(--copper); }
.u-plan { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in; display: block; padding: 0; width: 100%; }
.u-plan img { width: 100%; aspect-ratio: 1.41; object-fit: contain; }
.u-note { font-size: .78rem; color: var(--muted); margin: 6px 0 12px; }
.u-floor { display: flex; align-items: center; gap: 8px; margin: 12px 0; font-size: .86rem; font-weight: 600; }
.u-floor button { width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; color: var(--plum); }
.u-floor button:disabled { opacity: .35; cursor: default; }
.u-cta { display: grid; gap: 8px; }
.u-cta .btn { width: 100%; }
.x-note { margin-top: 12px; }

@media (max-width: 960px) {
  .x { grid-template-columns: 1fr; width: 100%; border-radius: 0; border-left: 0; border-right: 0; }
  .x-stage { height: 66vh; min-height: 440px; }
  .x-panel { border-left: 0; border-top: 1px solid var(--line); max-height: none; }
  /* two compact rows of controls on phones: search, then filter + compare */
  .x-top { gap: 6px; }
  .x-search { flex: 1 1 100%; }
  .x-search input { width: auto; flex: 1; min-width: 0; padding: 9px 6px 9px 14px; }
  #x-filter { flex: 1 1 0; min-width: 0; max-width: none; padding: 9px 10px; }
  .x-cmp-btn { flex: 0 0 auto; padding: 8px 14px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- multi-page additions ---------- */
.nav a[aria-current="page"], .mnav a[aria-current="page"] { color: var(--copper); font-weight: 700; }
.lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.15rem); color: var(--muted); max-width: 760px; }

/* launch strip (home) */
.launch { background: var(--sand); border-bottom: 1px solid var(--line); }
.launch-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding: 18px 0; }
.launch-in div { display: grid; }
.launch-in span { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.launch-in b { font: 600 1.25rem/1.2 var(--serif); color: var(--plum); }
.launch-in .btn { margin-left: auto; }
@media (max-width: 700px) { .launch-in .btn { margin-left: 0; width: 100%; } }

/* sub-page header */
.page-head { background: var(--sand); border-bottom: 1px solid var(--line); padding: 34px 0 30px; }
.page-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); margin-bottom: .3em; }
.page-head .chips { margin: 18px 0 0; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.chip { text-decoration: none; display: inline-block; }

/* lists */
.ticks { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--taupe); font-weight: 800; }
.small-ticks { font-size: .9rem; margin-top: 14px; }
.steps { padding-left: 1.2em; display: grid; gap: 8px; }
.show-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.show-list a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); text-decoration: none; color: var(--ink); }
.show-list a:hover { border-color: var(--taupe); }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.timeline li { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--copper); border-radius: var(--radius); padding: 16px 18px; }
.timeline .tl-date { display: block; font: 600 1.4rem/1.2 var(--serif); color: var(--plum); }
.timeline b { display: block; margin: 4px 0 6px; }
.timeline p { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } }
.school-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 16px; }
.school-col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.school-col h3 { font-size: 1.2rem; }
.school-col ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 760px) { .school-grid { grid-template-columns: 1fr; } }

/* page cards (home) */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--taupe); transform: translateY(-2px); }
.card h3 { margin: 0; font-size: 1.35rem; }
.card p { margin: 0; font-size: .9rem; color: var(--muted); flex: 1; }
.card span { font-weight: 700; color: var(--copper); font-size: .88rem; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* YouTube (thumbnail until played) */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); margin-bottom: 10px; }
.yt button { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.yt button:focus-visible { outline: 3px solid var(--gold); }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px; border-radius: 14px; background: rgba(200, 30, 30, .92); }
.yt-play::after { content: ""; position: absolute; left: 29px; top: 15px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt iframe { width: 100%; height: 100%; border: 0; display: block; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq-group { font-size: 1.6rem; margin: 30px 0 12px; }
.faq-group:first-child { margin-top: 0; }
.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 1.4rem; color: var(--copper); }
.faq[open] summary::after { content: "–"; }
.faq > div { padding: 0 18px 14px; }
.faq > div p:last-child { margin-bottom: 0; }
.pay td, .pay th { font-size: .9rem; }

/* footer links */
.ftr-social { display: flex; gap: 14px; margin: 8px 0 0; }
.ftr-links { display: grid; gap: 4px; }
.ftr-links a { color: rgba(255, 255, 255, .8) !important; }

/* floor plan index + layout pages */
.plan-group { margin-bottom: 40px; scroll-margin-top: calc(var(--hdr-h) + 12px); }
.plan-group h2 small { font: 600 .9rem var(--sans); color: var(--muted); margin-left: 8px; }
.plan-card { transition: border-color .2s, transform .2s, box-shadow .2s; }
.plan-card:hover { border-color: var(--taupe); transform: translateY(-2px); }
.plan-card.picked { border-color: var(--plum); box-shadow: 0 0 0 2px var(--plum); }
.plan-link { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; flex: 1; }
.plan-link .plan-img { display: block; }
.plan-link .plan-img img { width: 100%; height: auto; aspect-ratio: 1.41; object-fit: contain; }
.plan-cap { padding: 12px 14px 14px; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.plan-cap b { font-size: 1rem; }
.plan-cap span:not(.coll-tag) { font-size: .82rem; color: var(--muted); }
/* compare two layouts (floor plans page) */
.plan-cmp { margin: 0 14px 14px; border: 1.5px solid var(--plum); border-radius: 999px; background: var(--paper); color: var(--plum); font: 700 .9rem var(--sans); padding: .6em 1em; cursor: pointer; }
.plan-cmp:hover { background: #efe7ee; }
.plan-cmp[aria-pressed="true"] { background: var(--plum); color: #fff; }
.cmp-hint { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 10px 16px; border-radius: 12px; background: #fdf3e4; box-shadow: inset 0 0 0 1px #e8cfa8; font-size: .92rem; }
.cmp-hint i { font-style: normal; font-size: 1.2rem; color: var(--copper); }
.ptray { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 45; width: min(780px, calc(100% - 24px)); display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px;
  background: var(--plum); color: #fff; border-radius: 16px; padding: 10px 12px 10px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.ptray[hidden] { display: none; }
.ptray .tlbl { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.ptray .tchip { background: rgba(255, 255, 255, .12); border-radius: 999px; padding: 3px 4px 3px 3px; }
.ptray .tchip button { color: rgba(255, 255, 255, .8); }
.ptray .thint { font-size: .84rem; color: rgba(255, 255, 255, .85); }
.ptray .tgo { margin-left: auto; }
body.has-ptray { padding-bottom: var(--ptray-h, 70px); }
body.has-ptray .wa-float { bottom: calc(var(--ptray-h, 70px) + 22px); }
.cmp-stacks { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.plan-big { all: unset; display: block; cursor: zoom-in; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.plan-big img { width: 100%; height: auto; }
.plan-big:focus-visible { outline: 3px solid var(--gold); }
.stacks-table { min-width: 760px; }
.stacks-table td, .stacks-table th { font-size: .88rem; }
.addr { min-width: 520px; }

@media (max-width: 420px) { .brand-logo { height: 28px; } }

/* ---------- Compare tab ---------- */
.anchor { display: block; position: relative; top: calc(-1 * var(--hdr-h) - 12px); visibility: hidden; height: 0; }
.x-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--sand); border-radius: 12px; padding: 4px; margin: 0 0 16px; position: sticky; top: 0; z-index: 2; }
.x-tabs button { border: 0; background: none; border-radius: 9px; padding: 10px 8px; font: 700 .9rem var(--sans); color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.x-tabs button[aria-selected="true"] { background: var(--paper); color: var(--plum); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.tab-badge { font-size: .7rem; font-weight: 800; background: var(--plum); color: #fff; border-radius: 999px; padding: 2px 7px; }
.x-cmp-btn { border: 2px solid #fff; border-radius: 999px; padding: 10px 20px; font: 800 .95rem var(--sans); color: #24170a; background: var(--gold); box-shadow: 0 4px 14px rgba(0, 0, 0, .22); cursor: pointer; }
.x-cmp-btn:hover, .x-cmp-btn.on { background: var(--gold-2); }
.x-cmp-btn.pulse { animation: cmp-pulse 1.4s ease-out 3; }
@keyframes cmp-pulse {
  0% { box-shadow: 0 4px 14px rgba(0, 0, 0, .22), 0 0 0 0 rgba(210, 167, 116, .85); }
  100% { box-shadow: 0 4px 14px rgba(0, 0, 0, .22), 0 0 0 16px rgba(210, 167, 116, 0); }
}
.x-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.x { scroll-margin-top: calc(var(--hdr-h) + 8px); }
.slots { display: grid; gap: 12px; margin: 14px 0; }
.slot { border: 2px solid var(--line); border-radius: 14px; padding: 12px; background: var(--paper); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.slot.active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(210, 167, 116, .25); }
.slot.filled { cursor: default; }
.slot-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.slot-h b { font-size: .95rem; }
.slot-acts { margin-left: auto; display: flex; gap: 6px; }
.slot-acts button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 4px 9px; font: 600 .76rem var(--sans); color: var(--plum); cursor: pointer; }
.slot-sel { display: grid; grid-template-columns: 1fr; gap: 6px; }
.slot-sel select { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 7px 6px; font: 500 .8rem var(--sans); background: #fff; color: var(--ink); }
.slot-sel select:disabled { opacity: .5; }
.slot-sum { margin-top: 10px; font-size: .88rem; line-height: 1.45; }
.slot-sum span { color: var(--muted); font-size: .82rem; }
.slot-sum.empty { color: var(--muted); font-style: italic; font-size: .84rem; }
.cmp-mini { font-size: .86rem; background: #fdf3e4; border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; }
.cmp-go { width: 100%; }
.cmp-go:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 960px) {
  .x-tabs { position: static; }
}

/* phone bar: tapped unit + price on the model */
.x-mini { display: none; }
@media (max-width: 960px) {
  .x-mini:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; position: absolute; left: 12px; right: 12px; bottom: 112px; z-index: 6;
    background: var(--plum); color: #fff; border-radius: 14px; padding: 10px 10px 10px 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
  .mini-acts { flex: 1 1 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mini-cmp { border: 0; border-radius: 999px; background: #fff; color: var(--plum); font: 800 .84rem var(--sans); padding: 9px 14px; cursor: pointer; white-space: nowrap; }
  .mini-t { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
  .mini-t b { font: 600 1.15rem/1.2 var(--serif); }
  .mini-t em { font: 700 .95rem var(--sans); font-style: normal; color: var(--gold); margin-left: 8px; white-space: nowrap; }
  .mini-t span { font-size: .8rem; color: rgba(255, 255, 255, .85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mini-go { border: 0; border-radius: 999px; background: var(--gold); color: #24170a; font: 700 .84rem var(--sans); padding: 9px 14px; cursor: pointer; white-space: nowrap; }
  .mini-x { border: 0; background: none; color: rgba(255, 255, 255, .8); font-size: 1.4rem; line-height: 1; padding: 4px 6px; cursor: pointer; }
  .x-stage.has-mini .x-tray { bottom: 228px; }
  .wa-float { transition: transform .2s, opacity .2s; }
  body.fab-off .wa-float { opacity: 0; pointer-events: none; transform: scale(.8); }
}

/* ---------- finishes ---------- */
.u-fin { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; background: var(--paper); }
.u-fin-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 4px; font-size: .86rem; }
.u-fin-h a { font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.u-fin ul { margin: 0; padding-left: 1.1em; font-size: .84rem; }
.u-fin li { margin: 2px 0; }
.fin-h { font-size: 1.3rem; margin: 22px 0 8px; }
.fin-table { min-width: 860px; }
.fin-table td, .fin-table tbody th { font-size: .88rem; vertical-align: top; }
.fin-table thead th { font: 600 1.15rem/1.2 var(--serif); text-transform: none; letter-spacing: 0; color: var(--plum); scroll-margin-top: calc(var(--hdr-h) + 16px); }
.fin-table thead th.luxury { color: var(--copper); }
.fin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.fin-card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--taupe); border-radius: var(--radius); padding: 18px 20px; scroll-margin-top: calc(var(--hdr-h) + 16px); }
.fin-card.luxury { border-top-color: var(--copper); }
.fin-card h3 { font-size: 1.25rem; margin-bottom: .3em; }
.fin-card ul { padding-left: 1.1em; margin: 8px 0 0; font-size: .9rem; }
.fin-card .fin-extra { list-style: none; padding: 8px 0 0; border-top: 1px dashed var(--line); margin-top: 10px; }
.fin-card .fin-extra li::before { content: "★ "; color: var(--copper); }
.fin-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-bottom: 14px; }
.fin-photos figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fin-photo { all: unset; display: block; cursor: zoom-in; width: 100%; }
.fin-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fin-photo:focus-visible { outline: 3px solid var(--gold); }
.fin-photos figcaption { padding: 10px 12px; display: grid; gap: 2px; font-size: .86rem; }
.fin-photos figcaption span { color: var(--muted); font-size: .78rem; }
.cards { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ================= The Serra additions ================= */
/* hero: dark aubergine panel with the tower on the right */
.hero-serra { background: radial-gradient(120% 90% at 85% 0%, #4c3b46 0%, var(--plum) 52%, #1c151a 100%); color: #fff; overflow: hidden; }
.hero-serra-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 64px); align-items: end; padding-top: clamp(36px, 6vw, 84px); }
.hero-serra .txt { padding-bottom: clamp(36px, 6vw, 92px); }
.hero-serra .kicker { color: var(--gold); }
.hero-serra h1 { color: #fff; font-size: clamp(3rem, 1.9rem + 4.8vw, 5.6rem); font-weight: 500; letter-spacing: .02em; margin-bottom: .3em; text-transform: uppercase; }
.hero-serra h1 span { display: block; font: 600 clamp(.8rem, .7rem + .4vw, 1.05rem)/1.4 var(--sans); letter-spacing: .62em; color: var(--gold); margin-top: .5em; }
.hero-serra .lead { color: rgba(255, 255, 255, .88); max-width: 600px; }
.hero-tower { position: relative; margin: 0; align-self: end; }
.hero-tower img { width: 100%; height: min(72vh, 660px); object-fit: cover; object-position: 50% 32%; border-radius: 22px 22px 0 0; }
.hero-tower figcaption { position: absolute; right: 12px; bottom: 10px; font-size: .7rem; color: rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .25); padding: 2px 8px; border-radius: 999px; }
@media (max-width: 860px) {
  .hero-serra-in { grid-template-columns: 1fr; gap: 12px; }
  .hero-serra .txt { padding-bottom: 8px; }
  .hero-tower img { height: 380px; border-radius: 18px 18px 0 0; }
}
.facts b { font-size: clamp(1.45rem, 1.2rem + .9vw, 2rem); }
.launch-in .btn { margin-left: auto; }

/* stack chart */
.uc-x { width: min(1400px, 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 360px; border-radius: 18px; overflow: clip; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); scroll-margin-top: calc(var(--hdr-h) + 8px); }
.uc-stage { position: relative; padding: 16px 18px 18px; background: linear-gradient(#efe6dc, #f8f3ed 40%); min-width: 0; }
.uc-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; align-items: center; }
.uc-filter { border: 0; border-radius: 999px; padding: 10px 14px; font: 600 .86rem var(--sans); color: var(--ink); background: rgba(255, 253, 249, .98); box-shadow: 0 2px 10px rgba(0, 0, 0, .1); max-width: 260px; }
.uc-tools .x-cmp-btn { margin-left: auto; }
.uc-chart { display: grid; grid-template-columns: 46px repeat(4, minmax(0, 1fr)) 12px repeat(3, minmax(0, 1fr)); grid-auto-rows: 27px; gap: 3px; font-variant-numeric: tabular-nums; }
.uc-h { font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.15; }
.uc-side { color: var(--copper); border-bottom: 2px solid var(--gold); }
.uc-fl, .uc-fl-h { font-size: .74rem; font-weight: 700; color: var(--muted); display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; white-space: nowrap; }
.uc-u { border: 0; border-radius: 5px; background: var(--c); color: var(--ink); font: 700 .74rem/1 var(--sans); cursor: pointer; padding: 0 4px; position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); transition: transform .1s, opacity .15s, box-shadow .15s; }
.uc-u.dk { color: #fff; }
.uc-u .uc-n { font-weight: 600; font-size: .68rem; opacity: .75; }
.uc-u:hover { transform: scale(1.06); z-index: 2; box-shadow: 0 2px 10px rgba(0, 0, 0, .22); }
.uc-u:focus-visible { outline: 3px solid var(--plum); outline-offset: 1px; z-index: 3; }
.uc-u.dim { opacity: .16; }
.uc-u.sel { box-shadow: 0 0 0 3px var(--plum), 0 0 0 5px #fff; z-index: 3; transform: scale(1.04); }
.uc-u.cmp-a::after, .uc-u.cmp-b::after { content: "A"; position: absolute; top: -7px; right: -7px; width: 17px; height: 17px; border-radius: 50%; background: #a8703f; color: #fff; font-size: .62rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.uc-u.cmp-b::after { content: "B"; background: #4a6f96; }
.uc-band { grid-column: 2 / -1; border-radius: 5px; font-size: .7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; letter-spacing: .03em; color: var(--muted); text-align: center; padding: 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.uc-band.sky { background: #f1e3c9; color: #7a5326; box-shadow: inset 0 0 0 1px #e3caa0; }
.uc-band.fac { background: repeating-linear-gradient(135deg, #e5dbcf 0 6px, #ece3d8 6px 12px); }
.uc-mini { display: none; }
.uc-x .x-panel { max-height: none; }
@media (min-width: 961px) {
  .uc-x .x-panel > * { max-width: 100%; }
  #pane-explore, #pane-compare { position: sticky; top: calc(var(--hdr-h) + 66px); }
}
@media (max-width: 960px) {
  .uc-x { grid-template-columns: 1fr; width: 100%; border-radius: 0; border-left: 0; border-right: 0; }
  .uc-stage { padding: 12px 10px 14px; }
  .uc-x .x-panel { border-left: 0; border-top: 1px solid var(--line); }
  .uc-tools .x-search { flex: 1 1 100%; }
  .uc-tools .x-search input { width: auto; flex: 1; min-width: 0; }
  .uc-filter { flex: 1 1 0; min-width: 0; max-width: none; }
  .uc-tools .x-cmp-btn { margin-left: 0; padding: 8px 14px; font-size: .9rem; }
  .uc-chart { grid-template-columns: 30px repeat(4, minmax(0, 1fr)) 6px repeat(3, minmax(0, 1fr)); grid-auto-rows: 25px; gap: 2px; }
  .uc-u { font-size: .66rem; border-radius: 4px; padding: 0 2px; }
  .uc-u .uc-n { display: none; }
  .uc-h { font-size: .56rem; letter-spacing: .03em; }
  .uc-fl, .uc-fl-h { font-size: .64rem; padding-right: 4px; }
  .uc-band { font-size: .6rem; }
  .uc-mini:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; position: sticky; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 6; margin-top: 12px;
    background: var(--plum); color: #fff; border-radius: 14px; padding: 10px 10px 10px 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
  .uc-mini .mini-t { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
  .uc-mini .mini-t b { font: 600 1.15rem/1.2 var(--serif); }
  .uc-mini .mini-t em { font: 700 .9rem var(--sans); font-style: normal; color: var(--gold); margin-left: 8px; white-space: nowrap; }
  .uc-mini .mini-t span { font-size: .8rem; color: rgba(255, 255, 255, .85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .uc-mini .mini-acts { flex: 1 1 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .uc-mini .mini-go { border: 0; border-radius: 999px; background: var(--gold); color: #24170a; font: 700 .84rem var(--sans); padding: 9px 14px; cursor: pointer; }
  .uc-mini .mini-cmp { border: 0; border-radius: 999px; background: #fff; color: var(--plum); font: 800 .84rem var(--sans); padding: 9px 14px; cursor: pointer; }
  .uc-mini .mini-x { border: 0; background: none; color: rgba(255, 255, 255, .8); font-size: 1.4rem; line-height: 1; padding: 4px 6px; cursor: pointer; }
}
@media (max-width: 380px) {
  .uc-chart { grid-template-columns: 26px repeat(4, minmax(0, 1fr)) 4px repeat(3, minmax(0, 1fr)); }
  .uc-u { font-size: .6rem; }
}
.x-unit .u-sub .tag.lux { color: var(--copper); }
.u-grid dd small { font-weight: 500; color: var(--muted); font-size: .76rem; }
.u-notes span { background: #f6ecdf; color: var(--copper); }

/* unit mix, plan cards, layout pages */
.badge-s { display: inline-block; margin-left: 6px; font: 800 .62rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; background: var(--plum); color: #fff; padding: 3px 6px; border-radius: 5px; vertical-align: 2px; }
.mix td small { display: block; }
.mix td > small { font-family: var(--sans); }
.plan-cap .plan-price { color: var(--copper) !important; font-weight: 700; font-size: .86rem !important; margin-top: 2px; }
.plan-img img { aspect-ratio: 1.25 !important; padding: 8px; }
.u-price.lp { margin-bottom: 18px; }
.u-price small { display: block; }
.keyplan img { aspect-ratio: auto !important; background: #efe6dc; }
.pic .fin-photo img { aspect-ratio: auto; }
.pic.sect { background: #1c1418; }
.more-row { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fin-table thead th small { display: block; font: 600 .74rem/1.3 var(--sans); color: var(--muted); letter-spacing: .02em; text-transform: none; }
.fin-table.appl { min-width: 720px; }
.fin-table.appl tbody th { font-weight: 600; }
.fin-photo.board img { aspect-ratio: 16 / 10; object-fit: contain; background: #fff; }

/* views, timeline, location */
.views { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 12px; }
.views figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.views img { width: 100%; aspect-ratio: 900 / 560; object-fit: cover; }
.views figcaption { padding: 12px 16px 14px; font-size: .9rem; color: var(--muted); }
.views figcaption b { color: var(--ink); }
@media (max-width: 760px) { .views { grid-template-columns: 1fr; } }
.timeline.six { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .timeline.six { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline.six { grid-template-columns: 1fr; } }
.school-grid.even { grid-template-columns: repeat(3, 1fr); }
.school-grid.two { grid-template-columns: 1fr 2fr; }
.cols2 { columns: 2; column-gap: 28px; }
@media (max-width: 760px) { .school-grid.even, .school-grid.two { grid-template-columns: 1fr; } .cols2 { columns: 1; } }

/* images with width/height attributes keep their proportions (CSS sets the width) */
img { height: auto; }
.reg .consent span { flex: 1; }

/* starting prices (home) */
.prices { background: var(--paper); padding-top: clamp(48px, 4vw + 24px, 84px); padding-bottom: clamp(48px, 4vw + 24px, 84px); }
.prices h2 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.2rem); }
.ptables { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 8px; }
.ptable h3 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 1.45rem; padding: 12px 16px; margin: 0; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg, #6b4423, #a8743f); color: #fff; }
.ptable.summit h3 { background: linear-gradient(90deg, var(--plum), #3a5160); }
.ptable h3 small { font: 700 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.ptable .table-scroll { border-radius: 0 0 var(--radius) var(--radius); border-top: 0; }
.price-table { min-width: 0; }
.price-table th, .price-table td { padding: 11px 12px; }
.price-table tbody tr { cursor: default; }
.price-table tbody th b { display: block; font-size: .95rem; }
.price-table tbody th small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.price-table .pp { font: 600 1.3rem/1.1 var(--serif); color: #8a2f1c; white-space: nowrap; }
.price-table .pp.poa { font: 800 .8rem/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; white-space: normal; }
@media (max-width: 900px) { .ptables { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .price-table th, .price-table td { padding: 9px 7px; } .price-table .pp { font-size: 1.1rem; } .price-table thead th { font-size: .62rem; letter-spacing: .04em; } }

/* 3D model in the unit finder */
.uc-3d { position: relative; height: min(74vh, 720px); min-height: 460px; border-radius: 14px; overflow: hidden; background: linear-gradient(#e2d9cd, #efe9e1); touch-action: none; }
.uc-3d[hidden] { display: none; }
.uc-3d canvas { display: block; width: 100%; height: 100%; outline: none; }
.uc-3d .x-tools { top: 12px; right: 12px; }
.uc-3d .x-tools button, .uc-3d .x-compass { background: rgba(255, 253, 249, .96); color: var(--plum); }
.uc-3d .x-compass i { color: #b0402c; }
.uc-hint { position: absolute; left: 12px; bottom: 10px; margin: 0; font-size: .74rem; font-weight: 600; color: var(--muted); background: rgba(255, 253, 249, .85); padding: 4px 10px; border-radius: 999px; pointer-events: none; }
.uc-views { display: inline-flex; background: rgba(255, 253, 249, .98); border-radius: 999px; padding: 3px; box-shadow: 0 2px 10px rgba(0, 0, 0, .1); }
.uc-views button { border: 0; background: none; border-radius: 999px; padding: 7px 13px; font: 700 .82rem var(--sans); color: var(--muted); cursor: pointer; }
.uc-views button[aria-pressed="true"] { background: var(--plum); color: #fff; }
.uc-views button:disabled { opacity: .4; cursor: not-allowed; }
.uc-chart[hidden] { display: none; }
.uc-3d-msg { margin: 0 0 10px; }
.uc-tools .x-cmp-btn { margin-left: auto; }
@media (max-width: 960px) {
  .uc-3d { height: 62vh; min-height: 400px; border-radius: 10px; }
  .uc-views { order: 3; }
  .uc-hint { display: none; }
}

/* compare colours match the 3D model: A orange, B blue */
.tchip i { background: #ff8a00; }
.tchip.b i { background: #1f7ae0; }
.uc-u.cmp-a::after { background: #ff8a00; }
.uc-u.cmp-b::after { background: #1f7ae0; }
.uc-u.sel { box-shadow: 0 0 0 3px #e2363f, 0 0 0 5px #fff; }

@media (min-width: 961px) {
  /* keep the model on screen while a long unit panel scrolls beside it */
  .uc-3d { position: sticky; top: calc(var(--hdr-h) + 12px); }
}

/* virtual tours */
.tours { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 22px; }
.tour-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--plum); color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; }
.tour-card:hover { transform: translateY(-2px); }
.tour-card b { display: block; font: 600 1.2rem/1.2 var(--serif); }
.tour-card small { display: block; color: rgba(255, 255, 255, .78); font-size: .82rem; }
.tour-play { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: #24170a; display: grid; place-items: center; font-size: 1rem; padding-left: 3px; }
.tour-go { margin-left: auto; font-weight: 700; font-size: .86rem; color: var(--gold); white-space: nowrap; }
@media (max-width: 760px) { .tours { grid-template-columns: 1fr; } .tour-go { display: none; } }
.tour-box { background: #f6ecdf; border-radius: 12px; padding: 14px 16px; margin: 18px 0 4px; display: grid; gap: 10px; }
.tour-box p { margin: 0; font-size: .92rem; }
.tour-box p b { display: block; color: var(--copper); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.tour-box .btn { justify-self: start; }
.show-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.show-list li > a:first-child { flex: 1; }
.tour-link { font-weight: 700; font-size: .86rem; text-decoration: none; white-space: nowrap; }
.u-tour { margin: 0 0 12px; }
.u-tour .btn { width: 100%; }
.u-price small b { color: #fff; font: inherit; font-weight: 700; }

/* top bar: back to the main site, and the other launches */
.topbar { background: #1f1b17; color: rgba(255, 255, 255, .78); font-size: .8rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; }
.topbar a { color: rgba(255, 255, 255, .9); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.tb-home span[aria-hidden] { color: var(--gold); font-weight: 800; margin-right: 2px; }
.tb-launches { display: flex; align-items: center; gap: 14px; }
.tb-launches a[aria-current="page"] { color: var(--gold); }
.tb-lbl { color: rgba(255, 255, 255, .55); }
@media (max-width: 640px) {
  .tb-long, .tb-launches a[aria-current="page"] { display: none; }
  .tb-home { white-space: nowrap; }
  /* three launches don't fit on a phone: one "Also:" label, and the links scroll sideways on one line */
  .tb-launches { min-width: 0; overflow-x: auto; white-space: nowrap; gap: 10px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 18px; }
  .tb-launches::-webkit-scrollbar { display: none; }
  .tb-lbl { font-size: 0; }
  .tb-lbl::before { content: "Also:"; font-size: .8rem; }
}
.mnav-main { display: flex; flex-direction: column; margin-top: 10px; border-top: 1px solid var(--line); padding-top: 4px; }
.mnav-main a { font-size: .9rem; color: var(--muted) !important; }

/* primary schools within 1 km (home page, under the launch dates) */
.schools-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.sb-in { display: grid; grid-template-columns: minmax(220px, .9fr) repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; align-items: stretch; padding: 22px 0; }
.sb-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 .2em; }
.sb-head .kicker { margin-bottom: .4em; }
.sb-head p:last-child { margin: 0; font-size: .9rem; color: var(--muted); }
.sb-card { display: grid; gap: 3px; align-content: start; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; background: var(--cream); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.sb-card:hover { border-color: var(--gold-2); transform: translateY(-1px); }
.sb-card b { font: 600 1.3rem/1.15 var(--serif); color: var(--plum); }
.sb-meta { font-size: .78rem; font-weight: 700; color: var(--muted); }
.sb-line { font-size: .9rem; }
.sb-go { font-size: .84rem; font-weight: 800; color: var(--copper); margin-top: 2px; }
@media (max-width: 760px) { .sb-in { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; } }

/* "Within 1 km of …" in the hero, linking to the schools band */
.school-pill { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 2px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1.5px solid var(--gold); color: #fff; text-decoration: none; font-size: .95rem; line-height: 1.3; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: background .2s; }
.school-pill:hover { background: rgba(255, 255, 255, .24); }
.school-pill svg { flex: none; color: var(--gold); }
.school-pill b { color: var(--gold); font-weight: 700; }
.school-pill i { font-style: normal; color: var(--gold); font-weight: 800; }
@media (max-width: 560px) { .school-pill { font-size: .88rem; } }


/* ================================================================ unit finder and availability (from Lucerne Grand) */
/* hero: full-width render with the text over a dark band */
.hero-lg { position: relative; color: #fff; overflow: hidden; background: var(--plum); }
.hero-lg-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-lg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 25, 20, .88) 0%, rgba(30, 25, 20, .62) 46%, rgba(30, 25, 20, .08) 100%); }
.hero-lg-in { position: relative; z-index: 1; min-height: min(78vh, 680px); display: flex; align-items: center; padding: clamp(40px, 7vw, 96px) 0; }
.hero-lg .txt { max-width: 640px; }
.hero-lg .kicker { color: var(--gold); }
.hero-lg h1 { color: #fff; font-size: clamp(3rem, 1.9rem + 4.8vw, 5.6rem); font-weight: 500; letter-spacing: .06em; margin-bottom: .25em; text-transform: uppercase; }
.hero-lg .lead { color: rgba(255, 255, 255, .9); }
.hero-lg .ai { position: absolute; right: 0; bottom: 12px; margin: 0; font-size: .72rem; color: rgba(255, 255, 255, .8); }
@media (max-width: 760px) {
  .hero-lg::after { background: linear-gradient(180deg, rgba(30, 25, 20, .55) 0%, rgba(30, 25, 20, .86) 55%, rgba(30, 25, 20, .94) 100%); }
  .hero-lg-in { min-height: 0; padding: 120px 0 44px; }
}
.facts-note { margin-top: 0; padding: 0 0 12px; font-size: .74rem; color: rgba(255, 255, 255, .72); }

/* the price note that must sit with the prices (Melissa, 4 Oct) */
.price-asof { display: inline-block; margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; background: #fbf1df; border: 1px solid #ecd3a8; color: #6b4423; font-size: .9rem; }
.price-asof b { font-weight: 700; }
.ask-note { font-size: .88rem; color: var(--muted); }
.price-table tbody th a { font-weight: 800; color: var(--plum); text-decoration: none; }
.price-table tbody th small { display: block; }
.price-table td small { display: block; font-size: .74rem; color: var(--muted); font-weight: 500; }
.price-table .sw { margin-right: 6px; }
.sold-out { font: 800 .78rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #8b857c; }
.poa { font: 700 .8rem/1.3 var(--sans); color: var(--copper); }

/* unit finder: the chart, one grid per block */
.uc-chart { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px 16px; grid-auto-rows: auto; }
.uc-chart[hidden] { display: none !important; }
.ucb h4 { margin: 0 0 6px; font: 600 1.2rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; color: var(--plum); }
.ucb h4 small { font: 600 .7rem var(--sans); color: var(--muted); margin-left: 4px; }
.ucb-grid { display: grid; grid-auto-rows: 22px; gap: 2px; font-variant-numeric: tabular-nums; }
.ucb-grid .uc-h { font-size: .6rem; letter-spacing: .02em; }
.ucb-grid .uc-fl, .ucb-grid .uc-fl-h { font-size: .66rem; padding-right: 5px; }
.uc-none { background: repeating-linear-gradient(135deg, #e5dbcf 0 4px, #ece3d8 4px 8px); border-radius: 3px; opacity: .6; }
.uc-u { font-size: .66rem; font-weight: 700; border-radius: 3px; }
.uc-u.sold { background: #efebe5; color: transparent; box-shadow: inset 0 0 0 1px #e0d9ce; }
.uc-u.ask { background: #ede6da; color: #8b7a62; box-shadow: inset 0 0 0 1px #d8cbb6; }
.uc-u.av { background: var(--c); color: #241d17; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.uc-u.dim { opacity: .14; }
.st-key { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 4px; font-size: .8rem; color: var(--muted); }
.st-key i { display: inline-block; width: 18px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 5px; }
.st-key .k-av { background: linear-gradient(90deg, #9dcfe0 50%, #f7c8a2 50%); }
.st-key .k-sold { background: #efebe5; box-shadow: inset 0 0 0 1px #e0d9ce; }
.st-key .k-ask { background: #ede6da; box-shadow: inset 0 0 0 1px #d8cbb6; }
.legend .ct { white-space: nowrap; }
@media (max-width: 960px) { .ucb-grid { grid-auto-rows: 21px; } .uc-u { font-size: .6rem; } }

/* unit panel */
.x-unit .tag.av { background: #e3f1e6; color: #1f6b38; }
.x-unit .tag.sold { background: #ebe7e1; color: #6d6a64; }
.x-unit .tag.ask { background: #fbf1df; color: #8a5a24; }
.u-price .u-alt { margin-top: 8px; justify-self: start; background: #fff; color: var(--plum); border-color: transparent; font-size: .84rem; padding: .5em 1em; }

/* three views side by side */
.views.three { grid-template-columns: repeat(3, 1fr); }
.views.three img { aspect-ratio: 900 / 482; }
@media (max-width: 960px) { .views.three { grid-template-columns: 1fr; } }

/* schools: plain cards (no school page on the main site yet) */
.sb-card.sb-plain { cursor: default; }
.sb-card.sb-plain:hover { transform: none; border-color: var(--line); border-left-color: var(--gold); }
.schools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 22px; }

/* floor plans */
.plan .coll-tag { display: inline-flex; align-items: center; gap: 6px; }
.plan .coll-tag::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--gold)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.pic.pes { margin-top: 18px; }
.pic.pes img { background: #fff; padding: 10px; }

/* the units of one layout, on its floor plan page */
.ul-stack { margin: 0 0 16px; }
.ul-stack h3 { font-size: 1.15rem; margin: 0 0 6px; }
.ul-stack h3 small { font: 600 .74rem var(--sans); color: var(--muted); margin-left: 4px; }
.ul-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 5px; }
.ul-u { display: grid; gap: 1px; padding: 6px 8px; border-radius: 8px; font-size: .78rem; text-decoration: none; line-height: 1.25; }
.ul-u b { font-weight: 800; }
.ul-u.av { background: #fff; border: 1px solid var(--gold); color: var(--ink); }
.ul-u.av span { color: #8a2f1c; font-weight: 700; }
.ul-u.av:hover { background: #fbf1df; }
.ul-u.sold { background: #ebe7e1; color: #8b857c; }
.ul-u.ask { background: #fbf6ee; border: 1px dashed #d8cbb6; color: #8a5a24; }

/* two videos side by side */
.vids2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vids2 figure { margin: 0; }
.vids2 figcaption { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.vids2 figcaption .tag { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; background: var(--plum); color: var(--gold); }
.vids2 figcaption b { font-weight: 700; }
@media (max-width: 760px) { .vids2 { grid-template-columns: 1fr; } }
/* four school cards: heading on its own row, cards beneath, so the fourth doesn't sit alone */
.schools-band .sb-in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.schools-band .sb-head { grid-column: 1 / -1; max-width: 720px; }
.schools-band .sb-head p:last-child { margin-bottom: 4px; }
@media (max-width: 960px) { .schools-band .sb-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .schools-band .sb-in { grid-template-columns: 1fr; } }

/* phones: the unit menu gets its own row (it was squeezed to an arrow beside the buttons) */
@media (max-width: 960px) {
  .uc-tools #x-filter { flex: 1 1 100%; order: 1; }
  .uc-tools .x-cmp-btn { order: 2; margin-left: 0; }
  .uc-views { order: 3; margin-left: auto; }
}

/* maintenance fees and car park */
.costs .mix td.num, .costs .mix th.num { text-align: right; }
.costs .split > div { min-width: 0; }
.costs .mix { min-width: 0; }
.costs .mix th, .costs .mix td { white-space: normal; }

/* top bar: one link to all launches (no fade needed) */
.tb-launches { -webkit-mask-image: none !important; mask-image: none !important; padding-right: 0 !important; }

/* no availability list yet: every unit shows in its home type's colour in the chart */
.uc-chart.nl .uc-u.ask { background: var(--c); color: var(--ink); box-shadow: none; }

/* floor plans: "What's your budget?" filter (plans.js; Melissa, 10 Oct 2026) */
.budget { margin: 6px 0 4px; padding: 16px 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 760px; }
.budget label { display: block; margin-bottom: 10px; font-size: .95rem; }
.budget label b { color: var(--plum); }
.budget-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.budget-in { flex: 1 1 220px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.budget-in:focus-within { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(210, 167, 116, .35); }
.budget-in i { font-style: normal; font-weight: 700; color: var(--muted); }
.budget-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 1rem var(--sans); padding: 11px 0; color: var(--ink); }
.budget-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: .86rem; color: var(--muted); }
.budget-chips .chip { cursor: pointer; font: inherit; }
.budget-out { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.budget-out p { margin: 0 0 8px; }
.budget-out p:last-child { margin-bottom: 0; }
.budget-out[hidden], .plan-group[hidden], .page-head .chips a[hidden], .budget-clear[hidden] { display: none !important; }
.plan-cap .plan-fit { display: block; margin-top: 4px; color: #1e6b3a !important; font-weight: 700; font-size: .84rem !important; }
