/* ===========================================================
   econdo — shared styles
   Mobile-first. Larger type sizes for thumb-friendly reading.
   =========================================================== */

:root {
  --bg: #f0efec;
  --bg-soft: #e7e5df;
  --ink: #1a1a1a;
  --ink-2: #3a3a3a;
  --ink-3: #6b6b6b;
  --line: #d6d3cb;
  --orange: #D85A30;
  --orange-dark: #b94a25;
  --green: #4f7d4a;
  --amber: #b58616;
  --red: #b54040;
  --card: #ffffff;
  --grid: rgba(0,0,0,0.05);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 24px -12px rgba(0,0,0,0.08);
  --maxw: 760px;
  --maxw-wide: 1100px;
  --serif: "Playfair Display", "Source Serif Pro", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}
.container-wide { max-width: var(--maxw-wide); }

section { padding: 56px 0; }
@media (min-width: 900px) { section { padding: 88px 0; } }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  background: rgba(240, 239, 236, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.brand canvas { display: block; width: 36px; height: 36px; }
.brand .wordmark {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--ink);
  line-height: 1;
}
.brand .wordmark span { color: var(--orange); }

.nav-links {
  display: none;
  gap: 28px;
  font-size: 15px;
  color: var(--ink-2);
}
.nav-links a:hover { color: var(--ink); }
@media (min-width: 900px) { .nav-links { display: inline-flex; } }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.nav-cta:hover { background: var(--ink); color: #fff; }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: 64px 0 40px;
}
@media (min-width: 900px) { .hero { padding: 96px 0 64px; } }

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 3vw, 18px);
  margin-bottom: 36px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.hero-logo canvas { width: clamp(56px, 14vw, 84px); height: clamp(56px, 14vw, 84px); }
.hero-logo .wordmark {
  font-weight: 700;
  font-size: clamp(34px, 8vw, 52px);
  letter-spacing: -2px;
  line-height: 1;
}

h1.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 10vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}
h1.hero-title em {
  font-style: italic;
  color: var(--orange);
  font-weight: 700;
}

.hero-sub {
  font-size: clamp(17px, 4.5vw, 21px);
  color: var(--ink-2);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.5;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, color .15s ease, border-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-wa { background: #25D366; color: #0b3d2c; }
.btn-wa:hover { background: #1ebe5a; color: #08291e; }

/* ---------- generic blocks ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}
h2 em { font-style: italic; color: var(--orange); }
h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(22px, 5.5vw, 28px);
  line-height: 1.2;
  margin-bottom: 8px;
}
p { color: var(--ink-2); }
p + p { margin-top: 14px; }

/* ---------- buyer segments ---------- */
.segments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}
@media (min-width: 900px) {
  .segments { grid-template-columns: 1fr 1fr; gap: 20px; }
}
.segment {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.segment .icon {
  display: inline-flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--bg-soft);
  margin-bottom: 14px;
  font-size: 22px;
}
.segment h3 { font-family: var(--sans); font-size: 19px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.2px; }
.segment p { font-size: 15px; line-height: 1.55; }

/* ---------- project cards ---------- */
.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 900px) {
  .projects { grid-template-columns: 1fr 1fr; gap: 22px; }
}
.project-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.project-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--ink); }
.project-card .top {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--ink-3); margin-bottom: 14px;
}
.project-card .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--bg-soft); font-size: 12px; color: var(--ink-2);
}
.project-card .badge.live { background: #e7f3e2; color: var(--green); }
.project-card .badge.soon { background: #fbeede; color: #8a4b14; }
.project-card h3 {
  font-family: var(--serif); font-size: 28px; line-height: 1.1; margin-bottom: 6px;
}
.project-card .meta { font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.project-card .blurb { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.project-card .cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; color: var(--orange); font-size: 15px; }

/* ---------- project page ---------- */
.project-hero {
  padding: 28px 0 12px;
}
.project-hero .crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.project-hero .crumb a:hover { color: var(--ink); text-decoration: underline; }
.project-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(38px, 9vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.project-hero .lede {
  font-size: clamp(17px, 4.5vw, 20px);
  color: var(--ink-2);
  max-width: 640px;
}
.status-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.facts {
  margin-top: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 22px;
}
.facts dl {
  display: grid;
  grid-template-columns: 1fr;
}
.facts > dl > div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  gap: 14px;
}
.facts > dl > div:last-child { border-bottom: none; }
.facts dt { font-size: 14px; color: var(--ink-3); }
.facts dd { font-size: 15px; font-weight: 600; color: var(--ink); text-align: right; }
@media (min-width: 900px) {
  .facts dl { grid-template-columns: 1fr 1fr; column-gap: 30px; }
  .facts > dl > div:nth-last-child(2) { border-bottom: none; }
}

.prose {
  max-width: 680px;
}
.prose p { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.prose p strong { color: var(--ink); }

/* segment block reused on project pages */
.buyer-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}
@media (min-width: 900px) { .buyer-block { grid-template-columns: 1fr 1fr; gap: 18px; } }
.buyer-block .segment .verdict {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; margin-bottom: 10px;
}
.verdict.yes { background: #e7f3e2; color: var(--green); }
.verdict.maybe { background: #fbeede; color: var(--amber); }
.verdict.no { background: #fbe4e0; color: var(--red); }

/* pros / cons / watch */
.pcw {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}
@media (min-width: 900px) { .pcw { grid-template-columns: 1fr 1fr 1fr; } }
.pcw .col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.pcw h4 {
  font-family: var(--sans);
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 12px;
}
.pcw .pros h4 { color: var(--green); }
.pcw .cons h4 { color: var(--red); }
.pcw .watch h4 { color: var(--amber); }
.pcw ul { list-style: none; }
.pcw li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.pcw li + li { margin-top: 10px; }
.pcw li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 12px; border-radius: 4px; background: var(--bg-soft);
}
.pcw .pros li::before { background: #cde3c4; }
.pcw .cons li::before { background: #efc8c2; }
.pcw .watch li::before { background: #f4d9a8; }

/* pricing rows */
.price-table {
  margin-top: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (min-width: 700px) {
  .price-row { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 10px; }
}
.price-row:last-child { border-bottom: none; }
.price-row.head { background: var(--bg-soft); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-3); }
.price-row.head { display: none; }
@media (min-width: 700px) { .price-row.head { display: grid; } }
.price-row .type { font-weight: 700; }
.price-row .size { color: var(--ink-3); font-size: 15px; }
.price-row .psf { font-weight: 600; }
@media (max-width: 699px) {
  .price-row .size::before { content: "Size: "; color: var(--ink-3); font-weight: 400; }
  .price-row .psf { margin-top: 4px; font-size: 15px; }
}

.callout {
  margin-top: 22px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------- contact / whatsapp band ---------- */
.contact {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 36px 26px;
  text-align: center;
  margin: 0 auto;
  max-width: var(--maxw);
}
.contact h2 { color: #fff; }
.contact h2 em { color: #f0a684; }
.contact p { color: #c9c6c0; max-width: 520px; margin: 0 auto 22px; }
.contact .cta-row { justify-content: center; }
.contact .btn-ghost { color: #fff; border-color: #fff; }
.contact .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---------- footer ---------- */
footer {
  padding: 40px 0 56px;
  font-size: 13px;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
footer .row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer .links { display: flex; flex-wrap: wrap; gap: 14px 22px; }
footer a:hover { color: var(--ink); }

/* utilities */
.center { text-align: center; }
.tight { max-width: 640px; margin-left: auto; margin-right: auto; }
.divider { height: 1px; background: var(--line); border: none; margin: 32px 0; }

/* WhatsApp small icon */
.wa-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* prevent any horizontal overflow on small phones */
html, body { overflow-x: hidden; max-width: 100vw; }

/* defensive: never let a long word/url blow out the layout on mobile */
body, p, h1, h2, h3, h4, dd, dt, li, span, a {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* CSS Grid items default to min-width:auto which can force grid to overflow
   if any child contains long unbreakable content. Resetting min-width:0 lets
   children shrink below intrinsic size — critical for mobile rendering. */
.segments > *,
.buyer-block > *,
.pcw > *,
.projects > *,
.gallery > *,
.unit-list > *,
.prevnext > *,
.facts dl > * {
  min-width: 0;
}

/* ---------- gallery (project pages) ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 22px;
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (min-width: 1100px) {
  .gallery.gallery-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.gallery figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
@media (min-width: 900px) {
  .gallery figure img { height: 240px; }
}
.gallery figcaption {
  font-size: 13px;
  color: var(--ink-3);
  padding: 10px 14px 14px;
}
.gallery figure.tall img { height: 320px; }

/* full-width hero image for project page */
.project-hero-img {
  width: 100%;
  border-radius: var(--radius);
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.project-hero-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
@media (min-width: 900px) {
  .project-hero-img img { height: 420px; }
}

/* unit type list */
.unit-list {
  margin-top: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.unit-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  align-items: baseline;
}
.unit-row:last-child { border-bottom: none; }
.unit-row.head {
  background: var(--bg-soft);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.unit-row .type { font-weight: 700; color: var(--ink); }
.unit-row .size { color: var(--ink-2); }

/* ---------- prev / next nav ---------- */
.prevnext {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 32px 0 8px;
}
@media (min-width: 900px) {
  .prevnext { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.prevnext a {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.prevnext a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--ink);
}
.prevnext .label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.prevnext .title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 4px;
}
.prevnext .meta { font-size: 13px; color: var(--ink-3); }
.prevnext a.next { text-align: right; }

/* honest take prose section spacing */
.section-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}

/* ---------- live availability ---------- */
.avail-summary {
  margin-top: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
@media (min-width: 600px) {
  .avail-summary {
    flex-direction: row;
    justify-content: center;
    gap: 36px;
    align-items: center;
  }
}

/* SVG donut — interactive */
.donut-svg {
  width: 200px;
  height: 200px;
  max-width: 100%;
  flex-shrink: 0;
  display: block;
}
@media (min-width: 600px) {
  .donut-svg { width: 220px; height: 220px; }
}
.donut-bg-ring {
  fill: none;
  stroke: var(--bg-soft);
  stroke-width: 14;
}
.donut-slice {
  fill: none;
  stroke-width: 14;
  cursor: pointer;
  transition: stroke-width 0.18s ease, opacity 0.25s ease;
}
.donut-slice.slice-sold { stroke: var(--orange); }
.donut-slice.slice-reserved { stroke: #c9c6c0; }
.donut-slice.slice-available { stroke: var(--green); }
.donut-slice:hover,
.donut-slice.is-active {
  stroke-width: 18;
}
.donut-slice.is-dim {
  opacity: 0.25;
}
.donut-svg-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  fill: var(--ink);
  pointer-events: none;
  transition: fill 0.2s ease;
}
.donut-svg-lbl {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 4.4px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  fill: var(--ink-3);
  pointer-events: none;
}

/* center text colour follows active slice */
.donut-svg.is-active-sold .donut-svg-num { fill: var(--orange); }
.donut-svg.is-active-available .donut-svg-num { fill: var(--green); }
.donut-svg.is-active-reserved .donut-svg-num { fill: #6b6b6b; }

.avail-legend {
  list-style: none;
  width: 100%;
  max-width: 320px;
}
.avail-legend li {
  display: grid;
  grid-template-columns: 16px 1fr auto 56px;
  gap: 10px;
  align-items: center;
  padding: 10px 8px;
  margin: 0 -8px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.avail-legend li:last-child { border-bottom: none; }
.avail-legend li:hover {
  background: var(--bg-soft);
}
.avail-legend li.is-active {
  background: var(--bg-soft);
  outline: 1px solid var(--ink);
  outline-offset: -1px;
}
.avail-legend li:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.avail-legend .swatch {
  width: 12px; height: 12px; border-radius: 3px;
  display: inline-block;
}
.avail-legend li.row-sold .swatch { background: var(--orange); }
.avail-legend li.row-reserved .swatch { background: #c9c6c0; }
.avail-legend li.row-available .swatch { background: var(--green); }
.avail-legend .lbl { color: var(--ink-2); }
.avail-legend .num { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.avail-legend .pct {
  font-size: 12px;
  color: var(--ink-3);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.avail-table {
  margin-top: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.avail-row {
  display: grid;
  grid-template-columns: 1.7fr 0.6fr 0.7fr 0.6fr;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  align-items: baseline;
}
.avail-row:last-child { border-bottom: none; }
.avail-row.head {
  background: var(--bg-soft);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.avail-row.total-row {
  background: var(--bg-soft);
  font-weight: 700;
}
.avail-row .type { font-weight: 600; color: var(--ink); text-align: left; }
.avail-row > span:not(.type) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.avail-row .avail-cell { color: var(--green); font-weight: 700; }
.avail-row .sold-cell { color: var(--ink-2); }
.avail-row .total-cell { color: var(--ink); font-weight: 600; }
.avail-row.head .type { font-weight: 600; }

/* ---------- elevation chart & floor plan switcher ---------- */
.elevation-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 22px;
}
.elevation-charts figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.elevation-charts .chart-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
}
.elevation-charts .chart-scroll img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 700px; /* keep readable on mobile via horizontal scroll */
  max-width: none;
}
.elevation-charts figcaption {
  font-size: 13px;
  color: var(--ink-3);
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  justify-content: space-between;
}
.elevation-charts figcaption a {
  font-weight: 600;
  color: var(--orange);
}
.elevation-charts figcaption a:hover { color: var(--orange-dark); }

.scroll-hint {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 6px;
  text-align: center;
}
@media (min-width: 900px) {
  .scroll-hint { display: none; }
}

/* unit-type tabs */
.unit-type-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.unit-type-btn {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  font-family: var(--sans);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.unit-type-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.unit-type-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* floor plan display panel */
.floorplan-display {
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.floorplan-display figure { margin: 0; }
.floorplan-display img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  padding: 14px 12px;
}
.floorplan-display figcaption {
  font-size: 14px;
  color: var(--ink-2);
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.floorplan-display figcaption strong { color: var(--ink); display: block; font-size: 15px; }
.floorplan-display figcaption .availability-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--ink-3);
  margin-top: 4px;
}

/* elevation-chart colour legend */
.elevation-legend {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.legend-statement {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}
.legend-statement strong { color: var(--ink); }
.legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
  display: inline-block;
  border: 1px solid rgba(0,0,0,0.06);
}
.legend-swatch-lg {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}
.legend-section h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
  font-weight: 600;
}
.legend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
}
@media (min-width: 600px) {
  .legend-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .legend-grid { grid-template-columns: repeat(4, 1fr); }
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.3;
}
.legend-item em.col-tag {
  font-style: normal;
  font-size: 11px;
  color: var(--ink-3);
  margin-left: 4px;
}

/* ---------- site plan side-by-side ---------- */
.siteplan-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 22px 0 16px;
  padding: 0 22px 6px;
  scrollbar-width: thin;
}
.siteplan-grid {
  display: grid;
  grid-template-columns: 720px 720px;
  gap: 16px;
  width: max-content;
}
@media (min-width: 1520px) {
  .siteplan-grid {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: var(--maxw-wide);
    margin: 0 auto;
  }
}
.siteplan-grid figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.siteplan-grid img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}
.siteplan-grid figcaption {
  font-size: 13px;
  color: var(--ink-3);
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  justify-content: space-between;
}
.siteplan-grid figcaption strong { color: var(--ink-2); }
.siteplan-grid figcaption a { font-weight: 600; color: var(--orange); }
.siteplan-grid figcaption a:hover { color: var(--orange-dark); }

.architect-quote {
  margin-top: 16px;
  background: var(--bg-soft);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.architect-quote em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: 16px;
}
.architect-quote .attr {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-3);
}
