/* ==========================================================================
   Rumah Johor — editorial property landing page
   Warm paper, forest green, clay accents. No frameworks, no webfonts.
   ========================================================================== */

:root {
  --paper: #f7f1e6;
  --paper-2: #fdfaf3;
  --paper-3: #efe7d7;
  --ink: #16241b;
  --ink-soft: #3d4b41;
  --muted: #657165;
  --forest: #1f3d2f;
  --forest-2: #2b5743;
  --forest-3: #163024;
  --sage: #dfe6d7;
  --sage-2: #cbd7c1;
  --clay: #bd5f3b;
  --clay-soft: #f1d9cb;
  --gold: #c9a24a;
  --line: rgba(22, 36, 27, 0.13);
  --line-soft: rgba(22, 36, 27, 0.08);

  --font-display: Georgia, "Times New Roman", "Songti SC", serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --radius: 26px;
  --radius-sm: 16px;
  --shadow: 0 24px 60px -30px rgba(22, 36, 27, 0.35);
  --shadow-sm: 0 10px 30px -18px rgba(22, 36, 27, 0.3);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--clay-soft); color: var(--ink); }

/* paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  background: var(--forest); color: var(--paper); padding: 10px 18px; border-radius: 999px;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.65rem, 5.4vw, 4.7rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.9vw, 3.35rem); line-height: 1.06; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
em {
  font-style: italic;
  background-image: linear-gradient(var(--clay-soft), var(--clay-soft));
  background-repeat: no-repeat;
  background-size: 100% 0.26em;
  background-position: 0 86%;
  padding-inline: 0.04em;
}
.dark-section em, .cta-section em { background-image: linear-gradient(rgba(201, 162, 74, 0.35), rgba(201, 162, 74, 0.35)); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clay);
}
.eyebrow-line { width: 34px; height: 1px; background: currentColor; }
.section-num {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 18px;
}
.section-num-light { color: var(--gold); }

.section { padding-block: clamp(72px, 9vw, 132px); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.section-sage { background: var(--sage); }
.section-head { max-width: 780px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head h2 { margin-bottom: 20px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }
.section-lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  will-change: transform;
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--forest); color: var(--paper); box-shadow: 0 14px 30px -18px rgba(31, 61, 47, 0.9); }
.btn-primary:hover { background: var(--forest-2); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.5); border-color: var(--forest); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--paper); }
.btn-sm { padding: 12px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.text-link .icon { transition: transform 0.25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem; color: var(--ink-soft);
}

/* ---------- topbar + header ---------- */
.topbar { background: var(--forest-3); color: rgba(247, 241, 230, 0.78); font-size: 0.74rem; letter-spacing: 0.04em; }
.topbar-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 36px; }
.topbar-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.18); }
.topbar-item:nth-child(2) { opacity: 0.7; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 230, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { background: rgba(247, 241, 230, 0.99); border-color: var(--line-soft); box-shadow: 0 10px 30px -26px rgba(22, 36, 27, 0.5); }
.header-inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 28px; min-height: 76px; }

.brand { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--forest); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: "Trebuchet MS", Verdana, var(--font-sans); line-height: 1; position: relative;
}
.brand-mark .bm-r { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; }
.brand-mark .bm-j { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; color: var(--clay); margin-left: 2px; margin-top: -1px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand-text span { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); margin-left: auto; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); position: relative; padding-block: 6px; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--clay); transition: right 0.25s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { right: 0; }

.header-actions { position: relative; z-index: 3; display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.01em; }
.lang-switch { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 0.72rem; font-weight: 600; }
.lang-switch a { padding: 4px 9px; border-radius: 999px; color: var(--muted); }
.lang-switch a.is-current { background: var(--forest); color: var(--paper); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(38px, 5vw, 64px); overflow: hidden; }
.hero-glow {
  position: absolute; z-index: 0; top: -20%; right: -10%; width: 60vw; height: 60vw;
  background: radial-gradient(circle at 60% 40%, rgba(201, 162, 74, 0.16), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-bottom: clamp(46px, 6vw, 78px);
}
.hero-copy { padding-block: 20px; }
.hero-copy h1 { margin: 20px 0 22px; }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--ink-soft); max-width: 34rem; }
.lede strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.agent-chip { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 32rem; }
.agent-chip strong { display: block; font-size: 0.9rem; font-weight: 600; }
.agent-chip small { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--clay-soft); color: var(--clay);
  font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.02em;
  border: 1px solid rgba(189, 95, 59, 0.25);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; border-radius: 50%; }
.avatar-light { background: rgba(247, 241, 230, 0.12); color: var(--paper); border-color: rgba(247, 241, 230, 0.2); }

.hero-visual { position: relative; padding: 10px 0 24px 18px; }
.hero-photo {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-3);
}
.hero-photo img { width: 100%; aspect-ratio: 1800 / 1384; object-fit: cover; }
.hero-photo figcaption {
  position: absolute; left: 14px; bottom: 12px;
  font-size: 0.66rem; color: rgba(255, 255, 255, 0.85);
  background: rgba(22, 36, 27, 0.42); padding: 4px 9px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.price-tag {
  position: absolute; left: -6px; top: 34px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-2.2deg);
  display: flex; flex-direction: column; gap: 1px;
}
.price-tag span { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.price-tag strong { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.price-tag small { font-size: 0.7rem; color: var(--clay); font-weight: 600; }

.stamp {
  position: absolute; right: -18px; bottom: -6px; width: 120px; height: 120px;
  display: grid; place-items: center;
  background: var(--forest); color: var(--paper);
  border-radius: 50%;
  box-shadow: 0 18px 40px -20px rgba(22, 36, 27, 0.6);
}
.stamp svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 42s linear infinite; }
.stamp text { font-family: var(--font-body); font-size: 8.4px; letter-spacing: 1.9px; fill: rgba(247, 241, 230, 0.72); text-transform: uppercase; }
.stamp > span { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }

.quick-facts {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin-top: -42px;
  box-shadow: 0 30px 60px -46px rgba(22, 36, 27, 0.55);
}
.fact { background: var(--paper-2); padding: 20px 22px; display: flex; flex-direction: column; gap: 3px; }
.fact span { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fact strong { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; letter-spacing: -0.01em; }
.fact small { font-family: var(--font-body); font-size: 0.7rem; color: var(--muted); letter-spacing: 0; }

/* ---------- marquee ---------- */
.marquee {
  margin-top: 46px; padding: 22px 0;
  background: var(--forest); color: var(--paper);
  overflow: hidden;
  border-block: 1px solid rgba(247, 241, 230, 0.08);
}
.marquee-track {
  display: flex; align-items: center; gap: 34px; width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.02em; white-space: nowrap; opacity: 0.92; }
.marquee .icon { width: 15px; height: 15px; color: var(--gold); opacity: 0.85; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- features ---------- */
.plot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plot-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.plot-no { display: block; margin-bottom: 12px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); }
.plot-card h3 { font-size: 1rem; margin-bottom: 6px; }
.plot-card p { font-size: 0.8rem; color: var(--muted); }
.factsheet { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); }
.factsheet-table { width: 100%; border-collapse: collapse; }
.factsheet-table th, .factsheet-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.factsheet-table tr:last-child th, .factsheet-table tr:last-child td { border-bottom: 0; }
.factsheet-table th { width: 38%; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
.factsheet-table td { font-size: 0.86rem; color: var(--ink-soft); }
.factsheet-note { margin-top: 12px; font-size: 0.74rem; color: var(--muted); }
@media (max-width: 900px) { .plot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plot-grid { grid-template-columns: 1fr; } .factsheet-table th { width: 42%; } }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gplex-band { background: var(--navy); padding: 16px 0; }
.gplex-band-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.gplex-band img { height: 40px; width: auto; }
.gplex-band p { margin: 0; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247, 241, 230, 0.58); }
.gplex-stat { display: flex; align-items: baseline; gap: 7px; margin-bottom: 10px; }
.gplex-stat strong { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--clay); font-weight: 600; }
.gplex-stat span { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.feature {
  background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 26px 24px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(189, 95, 59, 0.3); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sage); color: var(--forest); margin-bottom: 20px;
}
.feature-icon .icon { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 9px; font-size: 1.16rem; }
.feature p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; }

.note-strip {
  margin-top: 34px; display: flex; gap: 16px; align-items: flex-start;
  background: var(--clay-soft); border-radius: var(--radius-sm);
  padding: 22px 26px; border: 1px solid rgba(189, 95, 59, 0.18);
}
.note-strip .icon { width: 20px; height: 20px; color: var(--clay); margin-top: 3px; }
.note-strip p { font-size: 0.95rem; color: #5a3427; max-width: 88ch; }
.note-strip strong { color: #4a2a1f; }

/* ---------- gallery ---------- */
.gallery-wrap { position: relative; }
.gallery {
  display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 20px var(--gutter) 26px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery-item {
  flex: 0 0 clamp(300px, 46vw, 560px); scroll-snap-align: start;
  border-radius: 22px; overflow: hidden; position: relative;
  cursor: zoom-in; background: var(--paper-3);
  box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(16, 28, 21, 0.72));
  color: var(--paper); font-size: 0.8rem; letter-spacing: 0.02em;
}
.gallery.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; overflow: visible; padding: 20px 0 26px; }
.gallery-grid .gallery-item { width: 100%; }
.gallery-group { margin-top: 34px; }
.gallery-group:first-of-type { margin-top: 0; }
.gallery-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.gallery-group-head h3 { font-size: 1.05rem; }
.gallery-group-head p { font-size: 0.78rem; color: var(--muted); text-align: right; }
.gallery.gallery-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .gallery-group-head { display: block; } .gallery-group-head p { margin-top: 4px; text-align: left; } .gallery.gallery-grid-2 { grid-template-columns: 1fr; } }
.gallery-hint { margin-top: 16px; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 900px) { .gallery.gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery.gallery-grid { grid-template-columns: 1fr; } }
.gallery-hint span { color: var(--ink-soft); }

@media (min-width: 1240px) {
  .gallery {
    padding-inline: calc((100vw - var(--container)) / 2 + var(--gutter));
    scroll-padding-inline: calc((100vw - var(--container)) / 2 + var(--gutter));
  }
}

.scroller-btns { display: flex; gap: 8px; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; background: var(--paper-2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.round-btn:hover { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.round-btn:first-child .icon { transform: rotate(180deg); }

/* ---------- plans ---------- */
.plan-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(34px, 5vw, 76px); align-items: start; }
.plan-copy h2 { margin-bottom: 20px; }
.plan-copy .section-lede { margin-bottom: 28px; }

.plan-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--paper-3); border-radius: 999px; margin-bottom: 22px; }
.tab { padding: 10px 20px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); transition: background 0.25s, color 0.25s; }
.tab.is-active { background: var(--forest); color: var(--paper); }

.plan-panel { min-height: 132px; }
.room-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.room-list li {
  font-size: 0.82rem; padding: 8px 13px; border-radius: 10px;
  background: var(--paper-2); border: 1px solid var(--line-soft); color: var(--ink-soft);
}
.plan-note { font-size: 0.9rem; color: var(--ink-soft); max-width: 46ch; }

.plan-meta { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 30px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); justify-content: start; }
.plan-meta div { display: flex; flex-direction: column; gap: 2px; }
.plan-meta span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.plan-meta strong { font-size: 0.92rem; font-weight: 600; }

.plan-visual { position: sticky; top: 104px; }
.plan-frame {
  position: relative; background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm);
}
.plan-frame img { width: 100%; border-radius: 14px; background: #fff; }
.plan-badge {
  position: absolute; left: 26px; top: 26px;
  background: var(--forest); color: var(--paper);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.plan-zoom {
  position: absolute; right: 26px; bottom: 26px;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px; font-size: 0.76rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.plan-zoom:hover { background: var(--forest); color: var(--paper); }
.plan-disclaimer { font-size: 0.74rem; color: var(--muted); margin-top: 12px; }

/* ---------- units ---------- */
.unit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.unit-card {
  background: var(--paper-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: clamp(26px, 3vw, 38px);
  display: flex; flex-direction: column; gap: 22px;
}
.unit-card-dark { background: var(--forest); color: var(--paper); border-color: transparent; }
.unit-card-dark .tag { background: rgba(201, 162, 74, 0.15); color: var(--gold); border-color: rgba(201, 162, 74, 0.3); }
.unit-card-dark .price span { color: rgba(247, 241, 230, 0.6); }
.unit-card-dark .check-list li { border-color: rgba(247, 241, 230, 0.12); color: rgba(247, 241, 230, 0.85); }
.unit-card-dark .text-link { color: var(--gold); }
.tag { align-self: flex-start; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--sage); color: var(--forest); border: 1px solid transparent; }
.tag-gold { background: rgba(201, 162, 74, 0.15); color: var(--gold); }
.unit-top h3 { font-size: 1.8rem; margin: 12px 0 6px; }
.price { font-family: var(--font-display); font-size: 1.5rem; }
.price span { font-family: var(--font-body); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.02em; }
.check-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; color: var(--ink-soft); }
.check-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--clay); flex: none; }
.unit-card .text-link { margin-top: auto; align-self: flex-start; font-size: 0.88rem; }

/* ---------- calculator ---------- */
.calc-grid { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.calc-copy h2 { margin-bottom: 20px; }
.calc-note { display: flex; gap: 12px; margin-top: 26px; padding: 16px 18px; border-left: 2px solid var(--gold); background: rgba(201, 162, 74, 0.08); border-radius: 0 12px 12px 0; }
.calc-note .icon { width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.calc-note p { font-size: 0.82rem; color: var(--ink-soft); }

.calc-card {
  background: var(--paper-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.calc-head { background: var(--forest); color: var(--paper); padding: 28px 30px 26px; display: flex; flex-direction: column; gap: 2px; }
.calc-head span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 241, 230, 0.68); }
.calc-head strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -0.01em; }
.calc-head small { font-size: 0.76rem; color: rgba(247, 241, 230, 0.6); margin-top: 4px; }

.calc-fields { padding: 26px 30px 6px; display: grid; gap: 22px; }
.calc-field { display: block; }
.calc-field > span:first-child { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.calc-field output { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.range-ends { display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--muted); margin-top: 2px; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 26px; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: var(--sage-2); border-radius: 99px; }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--forest); border: 3px solid var(--paper-2);
  box-shadow: 0 0 0 1px var(--forest), 0 4px 10px -4px rgba(0, 0, 0, 0.4);
  margin-top: -8px;
}
input[type="range"]::-moz-range-track { height: 4px; background: var(--sage-2); border-radius: 99px; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 3px solid var(--paper-2); background: var(--forest); border-radius: 50%; box-shadow: 0 0 0 1px var(--forest); }

.calc-sums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); margin: 22px 30px 0; border-radius: 12px; overflow: hidden; }
.calc-sums div { background: var(--paper-2); padding: 14px 12px; }
.calc-sums dt { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 3px; }
.calc-sums dd { font-size: 0.92rem; font-weight: 600; }
.calc-fine { font-size: 0.7rem; color: var(--muted); padding: 16px 30px 24px; }

/* ---------- location ---------- */
.location-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 26px; align-items: start; }
.map-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); }
.map-card img { width: 100%; border-radius: 16px; }
.map-card figcaption { font-size: 0.72rem; color: var(--muted); padding: 10px 6px 2px; }

.distance-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.distance-group { background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 20px; }
.distance-group h3 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.distance-group .icon { width: 17px; height: 17px; color: var(--clay); }
.distance-group li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 0.82rem; color: var(--ink-soft); }
.distance-group li:last-child { border-bottom: 0; }
.distance-group b { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ---------- dark / honest ---------- */
.dark-section { background: var(--forest-3); color: var(--paper); }
.dark-section .section-lede { color: rgba(247, 241, 230, 0.72); }
.honest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .honest-grid { grid-template-columns: repeat(2, 1fr); } }
.honest-card { border: 1px solid rgba(247, 241, 230, 0.14); border-radius: var(--radius-sm); padding: 28px 26px; background: rgba(247, 241, 230, 0.03); }
.honest-num { font-family: var(--font-display); font-size: 0.9rem; color: var(--gold); letter-spacing: 0.1em; }
.honest-card h3 { margin: 16px 0 10px; font-size: 1.28rem; }
.honest-card p { font-size: 0.9rem; color: rgba(247, 241, 230, 0.68); }
.honest-foot { margin-top: 34px; font-size: 0.92rem; color: rgba(247, 241, 230, 0.72); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.honest-foot a { color: var(--gold); display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(201, 162, 74, 0.4); }

/* ---------- specs ---------- */
.spec-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(32px, 5vw, 74px); align-items: start; }
.spec-copy h2 { margin-bottom: 20px; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 0.98rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { width: 18px; height: 18px; color: var(--muted); transition: transform 0.3s var(--ease); }
.accordion details[open] summary .icon { transform: rotate(180deg); color: var(--clay); }
.acc-body { padding: 0 4px 22px; }
.acc-body p { font-size: 0.92rem; color: var(--ink-soft); max-width: 72ch; }

.spec-list div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line-soft); font-size: 0.88rem; }
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--muted); }
.spec-list dd { color: var(--ink); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-copy h2 { margin-bottom: 20px; }
.faq-copy .btn { margin-top: 26px; }
.accordion-faq { border-top-color: rgba(22, 36, 27, 0.16); }
.accordion-faq details { border-bottom-color: rgba(22, 36, 27, 0.14); }

/* ---------- cta ---------- */
.cta-section { background: var(--forest); color: var(--paper); }
.cta-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 76px); align-items: start; }
.cta-copy h2 { margin-bottom: 20px; }
.cta-lede { font-size: 1.05rem; color: rgba(247, 241, 230, 0.72); max-width: 40ch; }
.agent-quote { margin: 34px 0 30px; padding: 24px 26px; border-left: 2px solid var(--gold); background: rgba(247, 241, 230, 0.05); border-radius: 0 16px 16px 0; }
.agent-quote p { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; line-height: 1.5; color: rgba(247, 241, 230, 0.92); }
.agent-quote footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.agent-quote strong { font-size: 0.88rem; display: block; }
.agent-quote small { font-size: 0.76rem; color: rgba(247, 241, 230, 0.6); }

.cta-contacts { display: flex; flex-direction: column; gap: 12px; font-size: 0.88rem; }
.cta-contacts a, .cta-contacts p { display: flex; align-items: flex-start; gap: 10px; color: rgba(247, 241, 230, 0.78); }
.cta-contacts a:hover { color: var(--paper); }
.cta-contacts .icon { width: 17px; height: 17px; margin-top: 3px; color: var(--gold); }

.lead-form { background: var(--paper-2); color: var(--ink); border-radius: var(--radius); padding: clamp(26px, 3vw, 36px); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.55); }
.lead-form,
.lead-form h3,
.lead-form input,
.lead-form select,
.lead-form textarea,
.lead-form button { font-family: var(--font-body); }
.lead-form h3 { font-size: 20px; line-height: 1.35; letter-spacing: 0; }
.form-sub { font-size: 0.86rem; color: var(--muted); margin: 4px 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink-soft); margin-bottom: 6px; }
.field label span { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; background: #fff; border: 1px solid var(--line);
  border-radius: 11px; padding: 12px 14px; font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa39a; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31, 61, 47, 0.12);
}
.field textarea { resize: vertical; min-height: 68px; }
.lead-form .btn { margin-top: 6px; }
.form-note { font-size: 0.7rem; color: var(--muted); margin-top: 12px; text-align: center; line-height: 1.5; }
.form-status { font-size: 0.8rem; color: var(--forest); margin-top: 8px; text-align: center; min-height: 1em; }

/* ---------- next ---------- */
.next-section { border-top: 1px solid var(--line-soft); }
.next-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; }
.next-inner h2 { margin-bottom: 12px; }
.next-inner .section-lede { max-width: 54ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--forest-3); color: rgba(247, 241, 230, 0.72); padding-top: clamp(50px, 6vw, 76px); padding-bottom: 104px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 0.8fr 0.9fr 1.3fr; gap: 36px; padding-bottom: 46px; }
.brand-light .brand-mark { background: var(--paper); color: var(--forest); }
.brand-light .brand-text strong { color: var(--paper); }
.brand-light .brand-text span { color: rgba(247, 241, 230, 0.5); }
.footer-brand > p { font-size: 0.85rem; margin: 18px 0 20px; max-width: 34ch; line-height: 1.6; }
.footer-agent { display: flex; align-items: center; gap: 10px; }
.footer-agent strong { display: block; font-size: 0.85rem; color: var(--paper); }
.footer-agent small { font-size: 0.74rem; color: rgba(247, 241, 230, 0.5); }
.footer-col h3 { font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; font-size: 0.85rem; padding: 4px 0; color: rgba(247, 241, 230, 0.72); }
.footer-col a:hover { color: var(--paper); }
.footer-legal p { font-size: 0.76rem; line-height: 1.7; color: rgba(247, 241, 230, 0.55); }
.footer-bottom { display: flex; justify-content: center; text-align: center; gap: 20px; padding: 20px 0 26px; border-top: 1px solid rgba(247, 241, 230, 0.1); font-size: 0.72rem; color: rgba(247, 241, 230, 0.42); }
.footer-bottom a { color: rgba(247, 241, 230, 0.62); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--paper); }
.footer-links { display: flex; gap: 10px; white-space: nowrap; }
.footer-links a:hover { color: var(--paper); }

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; left: 26px; right: auto; bottom: 26px; z-index: 54;
  display: inline-flex; align-items: center; gap: 10px;
  background: #ce1126;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 20px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 600;
  box-shadow: 0 18px 40px -18px rgba(206, 17, 38, 0.6);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.25s;
}
.wa-float.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.wa-float .icon { width: 19px; height: 19px; }
.wa-float:hover { transform: translateY(-3px); background: #a30d1e; }

.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 54;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: #ce1126;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 40px -18px rgba(206, 17, 38, 0.6);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.to-top .icon { width: 18px; height: 18px; transform: rotate(180deg); }
.to-top:hover { transform: translateY(-3px); background: #a30d1e; }

/* ---------- mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent; color: var(--paper);
  width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh;
  margin: 0;
}
.lightbox::backdrop { background: rgba(10, 18, 13, 0.88); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; }
.lightbox img { max-width: 100%; max-height: 78vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox figcaption { font-size: 0.85rem; color: rgba(247, 241, 230, 0.75); text-align: center; padding-inline: 20px; }
.lightbox-close { position: fixed; top: 20px; right: 22px; width: 44px; height: 44px; border-radius: 50%; background: rgba(247, 241, 230, 0.1); color: var(--paper); display: grid; place-items: center; z-index: 2; }
.lightbox-close:hover { background: rgba(247, 241, 230, 0.2); }
.lightbox-nav { width: 46px; height: 46px; border-radius: 50%; background: rgba(247, 241, 230, 0.1); display: grid; place-items: center; justify-self: center; color: var(--paper); }
.lightbox-nav:hover { background: rgba(247, 241, 230, 0.22); }
.lightbox-prev .icon { transform: rotate(180deg); }
.lightbox.is-single .lightbox-nav { display: none; }
.lightbox.is-single { grid-template-columns: 1fr; }
.lightbox.is-single figure { grid-column: 1 / -1; }

/* screenshot / print helper */
.no-anim { scroll-behavior: auto; }
.no-anim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-anim .marquee-track, .no-anim .stamp svg { animation: none !important; }

/* ---------- back link (project pages) ---------- */
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.back-link .icon { width: 14px; height: 14px; transform: rotate(180deg); transition: transform 0.25s var(--ease); }
.back-link:hover { color: var(--clay); }
.back-link:hover .icon { transform: rotate(180deg) translateX(3px); }

/* ---------- hub / home page ---------- */
/* full-bleed hub hero */
.hub-hero-full {
  position: relative; display: flex; align-items: center;
  min-height: clamp(600px, 84vh, 820px);
  background: var(--forest-3); overflow: hidden;
}
.hub-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
@media (min-width: 861px) {
  .hub-hero-full .hub-hero-bg { object-position: 60% top; }
}
.hub-hero-full::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 20, 14, 0.86) 0%, rgba(10, 20, 14, 0.56) 48%, rgba(10, 20, 14, 0.08) 100%),
    linear-gradient(0deg, rgba(10, 20, 14, 0.82) 0%, rgba(10, 20, 14, 0.1) 46%, transparent 70%);
}
.hub-hero-inner { position: relative; z-index: 1; width: 100%; padding-top: 48px; padding-bottom: 48px; }
.hub-hero-full .eyebrow { color: var(--gold); }
.hub-hero-full h1 { color: var(--paper); max-width: 15ch; margin: 18px 0 20px; }
.hub-hero-full em { background-image: linear-gradient(rgba(201, 162, 74, 0.38), rgba(201, 162, 74, 0.38)); }
.hub-hero-full .lede { color: rgba(247, 241, 230, 0.78); max-width: 42rem; }
.hub-hero-full .btn-primary { background: var(--paper); color: var(--forest); }
.hub-hero-full .btn-primary:hover { background: var(--paper-2); }
.hub-hero-full .btn-ghost { color: var(--paper); border-color: rgba(247, 241, 230, 0.38); }
.hub-hero-full .btn-ghost:hover { background: rgba(247, 241, 230, 0.1); border-color: var(--paper); }
.hub-hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(247, 241, 230, 0.2);
  margin-top: clamp(34px, 5vh, 58px);
}
.hub-hero-stats .fact { background: transparent; padding: 18px 22px 28px 0; }
.hub-hero-stats .fact + .fact { padding-left: 22px; border-left: 1px solid rgba(247, 241, 230, 0.14); }
.hub-hero-stats .fact span { color: rgba(247, 241, 230, 0.62); font-size: 0.71rem; }
.hub-hero-stats .fact strong { color: var(--paper); }
.hub-hero-stats .fact small { color: rgba(247, 241, 230, 0.55); }

.hub-hero { padding-top: clamp(30px, 4vw, 54px); position: relative; overflow: hidden; }
.hub-hero-grid {
  display: grid; grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(34px, 5vw, 76px); align-items: center;
  padding-bottom: clamp(34px, 4.5vw, 58px);
}
.hub-hero h1 { margin: 18px 0 22px; }
.hub-hero .lede { max-width: 35rem; }

.hub-feature {
  display: block; background: var(--paper-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.hub-feature:hover { transform: translateY(-5px); box-shadow: 0 34px 70px -34px rgba(22, 36, 27, 0.45); }
.hub-feature figure { position: relative; margin: 0; overflow: hidden; }
.hub-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s var(--ease); }
.hub-feature:hover img { transform: scale(1.035); }
.hub-feature-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--forest); color: var(--paper);
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.hub-feature-body { padding: 22px 24px 24px; }
.hub-feature-kicker { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); }
.hub-feature h2 { font-size: clamp(1.45rem, 2vw, 1.7rem); margin: 6px 0 5px; }
.hub-feature-body > p { font-size: 0.84rem; color: var(--muted); }
.hub-feature-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft);
}
.hub-feature-foot strong { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.hub-feature-foot span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; }
.hub-feature-foot .icon { transition: transform 0.25s var(--ease); }
.hub-feature:hover .hub-feature-foot .icon { transform: translateX(4px); }

.hub-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.hub-facts .fact { background: var(--paper-2); }

.project-row {
  display: grid; grid-template-columns: 1.02fr 1fr;
  background: #f4ede2;
  border: 1px solid rgba(13, 44, 77, 0.24);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 56px -26px rgba(13, 44, 77, 0.46);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.project-row:hover {
  transform: translateY(-4px);
  border-color: rgba(206, 17, 38, 0.22);
  box-shadow: 0 30px 64px -30px rgba(13, 44, 77, 0.42);
}
.project-row-media { position: relative; display: block; overflow: hidden; min-height: 320px; }
.project-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.project-row-media img[src$="the-address-taman-pelangi-hero.webp"] { object-position: 50% 18%; }
.project-row:hover .project-row-media img { transform: scale(1.03); }
.project-row-media .badge {
  position: absolute; left: 18px; top: 18px;
  background: rgba(247, 241, 230, 0.92); color: var(--forest);
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
}
.project-row-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, #fbf5ec 0%, #f1e6d8 100%); }
.project-kicker { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); }
.project-row :is(h3, .project-card-title) { font-size: clamp(1.8rem, 2.8vw, 2.35rem); }
.project-row :is(h3, .project-card-title) a:hover { color: var(--forest-2); }
.project-desc { font-size: 0.94rem; color: var(--ink-soft); max-width: 48ch; }
.project-facts { display: flex; flex-wrap: wrap; gap: 7px; }
.project-facts li {
  font-size: 0.76rem; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px;
  background: rgba(255, 255, 255, 0.45);
}
.project-kicker { display: inline-block; width: fit-content; padding: 5px 11px; border-radius: 100px; background: rgba(13, 44, 77, 0.07); color: var(--forest); }
.project-row-foot { border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: 4px;
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.project-price { font-size: 0.76rem; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.project-price strong { color: var(--forest); font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--ink); }

/* Homepage project grid trial; originals retained in .tmp/home-projects-original-20261101. */
.home-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.theme-johor #projek { background: #edf1f6; }
.home-project-grid .project-row { display: flex; flex-direction: column; min-width: 0; border: 1px solid #bdcbd9; box-shadow: 0 10px 28px -18px rgba(13, 44, 77, 0.3); }
.home-project-grid .project-row[hidden] { display: none; }
.home-project-grid .project-row-media { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
.home-project-grid .project-row-body { flex: 1; padding: clamp(22px, 2.5vw, 30px); gap: 14px; background: #fff; }
.home-project-grid .project-row :is(h3, .project-card-title) { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; }
.home-project-grid .project-desc { max-width: none; font-size: 0.9rem; line-height: 1.65; }
.home-project-grid .project-kicker { background: #e4ecf4; color: #0d2c4d; }
.home-project-grid .project-facts { margin-bottom: 6px; }
.home-project-grid .project-facts li { background: #f4f7fa; border-color: #ccd7e2; color: #33475c; }
.home-project-grid .project-row-foot { padding: 16px; border: 1px solid #d3dfea; border-radius: 12px; background: #eaf0f6; }
.home-project-grid .project-price strong { font-size: clamp(1.2rem, 1.7vw, 1.55rem); }
.home-project-grid .project-row-media img[src$="amora-park-tampoi-hero.webp"] { object-position: center; }
@media (max-width: 760px) {
  .home-project-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

.request-card {
  margin-top: 16px;
  border: 1px dashed rgba(22, 36, 27, 0.25); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  background: rgba(255, 255, 255, 0.35);
}
.request-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.request-card p { font-size: 0.88rem; color: var(--ink-soft); max-width: 62ch; }
.request-card .request-label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); display: block; margin-bottom: 8px; }
.request-card .btn { flex: none; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { border-top: 1px solid var(--line); padding-top: 22px; }
.step-num { font-family: var(--font-display); font-size: 0.92rem; color: var(--clay); letter-spacing: 0.08em; }
.step h3 { margin: 10px 0 8px; font-size: 1.22rem; }
.step p { font-size: 0.9rem; color: var(--ink-soft); }

.about-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-card {
  position: relative; overflow: hidden;
  background: var(--forest); color: var(--paper);
  border-radius: var(--radius); padding: 28px;
  display: grid; grid-template-columns: auto 1fr;
  gap: 4px 16px; align-content: center;
}
.about-card strong { grid-column: 2; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.1; }
.about-card small { grid-column: 2; font-size: 0.78rem; color: rgba(247, 241, 230, 0.65); }
.about-photo {
  grid-row: 1 / 4; width: 90px; height: 90px;
  object-fit: cover; object-position: 50% 25%; border-radius: 50%;
  border: 1px solid rgba(247, 241, 230, 0.35);
  box-shadow: 0 0 0 6px rgba(247, 241, 230, 0.04);
}
.about-badge { grid-column: 2; justify-self: start; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201, 162, 74, 0.35); border-radius: 999px; padding: 5px 10px; margin-bottom: 6px; }
.about-quote { grid-column: 1 / -1; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(247, 241, 230, 0.14); font-family: var(--font-display); font-style: italic; font-size: 1rem; color: rgba(247, 241, 230, 0.82); }
.about-list { display: grid; gap: 12px; margin-top: 22px; }
.about-copy > h2 + .section-lede { margin-top: 20px; }
.about-list li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); }
.about-list .icon { width: 17px; height: 17px; color: var(--clay); margin-top: 3px; }

.hub-cta {
  background: var(--forest); color: var(--paper); border-radius: 30px;
  padding: clamp(30px, 4.5vw, 58px);
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(26px, 4vw, 60px); align-items: center;
}
.hub-cta h2 { margin-bottom: 12px; }
.hub-cta em { background-image: linear-gradient(rgba(201, 162, 74, 0.38), rgba(201, 162, 74, 0.38)); }
.hub-cta p { color: rgba(247, 241, 230, 0.72); font-size: 0.98rem; max-width: 48ch; }
.hub-cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; text-align: right; }
.hub-cta-actions .btn-primary { background: var(--paper); color: var(--forest); }
.hub-cta-actions .btn-primary:hover { background: var(--paper-2); }
.hub-cta-actions small { font-size: 0.76rem; color: rgba(247, 241, 230, 0.55); }
.hub-cta-actions a.phone-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: rgba(247, 241, 230, 0.8); }

@media (max-width: 1080px) {
  .hub-hero-grid, .about-grid, .hub-cta { grid-template-columns: 1fr; }
  .project-row { grid-template-columns: 1fr; }
  .project-row-media { min-height: 280px; aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr; }
  .hub-facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hub-hero-full { min-height: 0; padding-bottom: 44px; }
  .hub-hero-inner { padding-top: 48px; }
  .hub-hero-stats { grid-template-columns: 1fr 1fr; }
  .hub-hero-stats .fact { padding: 14px 16px 18px 0; }
  .hub-hero-stats .fact + .fact { border-left: 0; padding-left: 0; }
  .hub-hero-stats .fact:nth-child(even) { border-left: 1px solid rgba(247, 241, 230, 0.14); padding-left: 18px; }
  .hub-hero-stats .fact:nth-child(n + 3) { border-top: 1px solid rgba(247, 241, 230, 0.14); padding-top: 16px; }
  .request-card { flex-direction: column; align-items: flex-start; }
  .hub-cta-actions { width: 100%; align-items: center; text-align: center; }
  .hub-cta-actions .btn { width: auto; }
}

/* ---------- city project (The Address) ---------- */
.city-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(900px 520px at 78% 8%, #2a4a38 0%, #14231b 55%, #0f1a14 100%);
  color: var(--paper);
  padding-block: clamp(36px, 5vw, 64px) clamp(46px, 6vw, 78px);
}
.city-hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.city-hero .back-link { color: rgba(247, 241, 230, 0.55); }
.city-hero .back-link:hover { color: var(--gold); }
.city-hero .eyebrow { color: var(--gold); }
.city-hero h1 { color: var(--paper); margin: 18px 0 20px; max-width: 14ch; }
.city-hero em { background-image: linear-gradient(rgba(201, 162, 74, 0.38), rgba(201, 162, 74, 0.38)); }
.city-hero .lede { color: rgba(247, 241, 230, 0.76); max-width: 40rem; }
.city-hero .lede strong { color: var(--paper); }
.city-hero .btn-primary { background: var(--paper); color: var(--forest); }
.city-hero .btn-primary:hover { background: var(--paper-2); }
.city-hero .btn-ghost { color: var(--paper); border-color: rgba(247, 241, 230, 0.35); }
.city-hero .btn-ghost:hover { background: rgba(247, 241, 230, 0.1); border-color: var(--paper); }
.city-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.city-facts span {
  font-size: 0.72rem; letter-spacing: 0.04em;
  border: 1px solid rgba(247, 241, 230, 0.2);
  color: rgba(247, 241, 230, 0.72);
  padding: 5px 11px; border-radius: 999px;
}
.city-poster {
  border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(201, 162, 74, 0.3);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.7);
  transform: rotate(-1.2deg);
}
.city-poster img { width: 100%; display: block; }
.city-poster-note { margin-top: 12px; font-size: 0.68rem; color: rgba(247, 241, 230, 0.45); text-align: right; }

.unit-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.unit-card .unit-specs { display: grid; gap: 0; margin-bottom: 2px; }
.unit-card .unit-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.86rem; color: var(--ink-soft); }
.unit-card .unit-specs b { color: var(--ink); font-weight: 600; }
.unit-card-dark .unit-specs li { border-color: rgba(247, 241, 230, 0.12); color: rgba(247, 241, 230, 0.78); }
.unit-card-dark .unit-specs b { color: var(--paper); }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-plans { margin-top: 28px; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) #masterplan .amora-plans { grid-template-columns: minmax(0, 719fr) minmax(0, 1304fr); align-items: start; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) #masterplan .amora-plans figcaption { display: flex; align-items: center; min-height: 60px; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) #unit { padding-bottom: clamp(36px, 5vw, 60px); }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-footer { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-counts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.76rem; color: var(--muted); }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-counts > strong { margin-right: 6px; color: var(--ink); }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-counts span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-counts span strong { margin-left: 6px; color: var(--ink); }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-footer > p { margin-top: 12px; font-size: 0.76rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 760px) {
  body:is([data-project="Amora Park"], [data-project="One Heritage"]) #masterplan .amora-plans { grid-template-columns: minmax(0, 1fr); }
}
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-gallery-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-gallery-tabs button { padding: 10px 18px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--paper-2); font-size: 0.7rem; line-height: 1.3; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-gallery-tabs button[aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: var(--paper-2); }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-gallery-panel[hidden] { display: none; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-tabs { display: flex; gap: 12px; border-bottom: 1px solid var(--line); overflow-x: auto; margin-bottom: 34px; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-tabs button { flex: none; padding: 14px 18px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-tabs button[aria-selected="true"] { color: var(--forest); border-bottom-color: var(--clay); }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-panel[hidden] { display: none; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-zoom { width: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); cursor: zoom-in; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-zoom img { width: 100%; height: auto; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-info h3 { margin: 8px 0 22px; font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 400; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-info > p { color: var(--ink-soft); }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-info dl { margin-top: 26px; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-info dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--line); }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-info dt { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-info dd { color: var(--ink); }
@media (max-width: 760px) {
  body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-panel { grid-template-columns: minmax(0, 1fr); }
  body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-tabs { gap: 4px; }
  body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-unit-tabs button { padding-inline: 13px; }
}
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-plans .gallery-item img { aspect-ratio: auto; height: auto; object-fit: contain; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-plans .gallery-item:hover img { transform: none; }
body:is([data-project="Amora Park"], [data-project="One Heritage"]) .amora-plans figcaption { position: static; padding: 12px 16px; background: var(--forest-3); }
.unit-plan { margin: 0 0 16px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.unit-plan img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #fbf9f4; }
.unit-card-plan { align-content: start; }
.unit-note { font-size: 0.76rem; color: var(--muted); margin-top: 18px; }

.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.facility {
  background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 16px;
  padding: 22px 20px; display: flex; gap: 14px; align-items: flex-start;
}
.facility .icon { width: 22px; height: 22px; color: var(--clay); margin-top: 2px; flex: none; }
.facility h3 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; letter-spacing: 0; margin-bottom: 4px; }
.facility p { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

.loc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.loc-card { background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 16px; padding: 20px 18px; }
.loc-card strong { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1; display: block; margin-bottom: 8px; }
.loc-card span { display: block; font-size: 0.8rem; color: var(--ink); font-weight: 600; line-height: 1.35; }
.loc-card small { display: block; font-size: 0.7rem; color: var(--muted); margin-top: 4px; }

.developer-strip {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(26px, 4vw, 60px);
  align-items: center;
  background: var(--paper-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: clamp(26px, 3.5vw, 44px);
}
.developer-mark { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.developer-mark span { display: block; font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); margin-bottom: 10px; }
.developer-strip p { font-size: 0.92rem; color: var(--ink-soft); }
.developer-stats { display: flex; gap: 28px; margin-top: 18px; flex-wrap: wrap; }
.developer-stats div { display: flex; flex-direction: column; }
.developer-stats strong { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.developer-stats small { font-size: 0.68rem; color: var(--muted); }

.foreign-card {
  background: var(--forest-3); color: var(--paper); border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 42px);
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: center;
}
.foreign-card h2 { color: var(--paper); margin-bottom: 10px; }
.foreign-card p { color: rgba(247, 241, 230, 0.72); font-size: 0.92rem; }
.foreign-card .btn { justify-self: end; background: var(--paper); color: var(--forest); }

@media (max-width: 1080px) {
  .city-hero-grid { grid-template-columns: 1fr; }
  .city-poster { max-width: 560px; }
  .unit-grid-3 { grid-template-columns: 1fr; }
  .facility-grid { grid-template-columns: 1fr 1fr; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .developer-strip, .foreign-card { grid-template-columns: 1fr; }
  .foreign-card .btn { justify-self: start; }
}

@media (max-width: 620px) {
  .facility-grid, .loc-grid { grid-template-columns: 1fr; }
  .city-poster { transform: none; }
}

/* ---------- Jasmine 2 theme (sage, cream, gold from brochure) ---------- */
body.theme-jasmine {
  --paper: #f6f1e2;
  --paper-2: #fdfaf0;
  --paper-3: #ece6d4;
  --ink: #2c2c24;
  --ink-soft: #4f4f40;
  --muted: #77765f;
  --forest: #3f4a35;
  --forest-2: #556247;
  --forest-3: #2b3325;
  --sage: #dfe3d2;
  --sage-2: #c9d1b9;
  --clay: #a8863f;
  --clay-soft: #efe0c2;
  --gold: #c9a24a;
  --line: rgba(44, 44, 36, 0.14);
  --line-soft: rgba(44, 44, 36, 0.08);
}
.theme-jasmine .site-footer { background: #2b3325; }
.theme-jasmine .section-sage { background: #dfe3d2; }
.theme-jasmine .cta-section { background: #2b3325; }
.siteplan-card { max-width: 660px; margin: 26px auto 0; }

/* ---------- hero collage ---------- */
.hub-hero-collage {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1.05fr 0.95fr 1fr; gap: 2px;
  background: var(--forest-3);
}
.hub-hero-collage figure { margin: 0; overflow: hidden; position: relative; }
.hub-hero-collage img { width: 100%; height: 100%; object-fit: cover; }
.hub-hero-collage figure:nth-child(1) img { object-position: 50% 62%; }
.hub-hero-collage figure:nth-child(2) img { object-position: 50% 22%; }
.hub-hero-collage figure:nth-child(3) img { object-position: 50% 42%; }

@media (max-width: 860px) {
  .hub-hero-collage { grid-template-columns: 1fr 1fr; }
  .hub-hero-collage figure:nth-child(3) { display: none; }
}

/* ---------- project filters ---------- */
.project-filter {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 22px;
  margin-bottom: 26px; padding: 14px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.filter-field { display: flex; flex-direction: column; gap: 6px; flex: 0 1 220px; min-width: 0; }
.filter-label {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.select-wrap { position: relative; }
.filter-select {
  -webkit-appearance: none; appearance: none;
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper-2); color: var(--ink);
  padding: 10px 36px 10px 13px;
  font-size: 0.84rem; font-weight: 500; cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.filter-select:hover { border-color: var(--forest); }
.filter-select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31, 61, 47, 0.12); }
.select-wrap .icon {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--muted); pointer-events: none;
}
.filter-count { margin-left: auto; margin-bottom: 10px; font-size: 0.76rem; color: var(--muted); }
.project-empty {
  margin: 26px 0; padding: 22px; text-align: center;
  border: 1px dashed var(--line); border-radius: 16px;
  font-size: 0.9rem; color: var(--ink-soft);
}
.project-row[hidden] { display: none; }

@media (max-width: 720px) {
  .filter-field { flex: 1 1 150px; }
  .filter-count { margin-left: 0; margin-bottom: 0; width: 100%; }
}

/* ---------- article feature ---------- */
.article-feature {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  background: var(--paper-2); border: 1px solid var(--line-soft);
  border-radius: 24px; overflow: hidden;
}
.article-feature-media { position: relative; min-height: 300px; background: var(--paper-3); }
.article-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.article-feature-body { padding: clamp(24px, 4vw, 42px); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.article-kicker { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); }
.article-feature h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; }
.article-feature h3 a { text-decoration: none; }
.article-feature h3 a:hover { color: var(--forest-2); }
.article-meta { font-size: 0.76rem; color: var(--muted); }
.article-feature .text-link { margin-top: 6px; border-bottom: 0; padding-bottom: 0; }

.article-all-link { margin-top: 18px; }
.article-all-link .text-link { border-bottom: 0; padding-bottom: 0; }
.video-summary { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 84px); align-items: center; }
.video-summary .video-embed { width: 100%; max-width: 360px; margin: 0 auto; }
.video-summary.amora-video-summary { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; }
.amora-summary-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) {
  .video-summary.amora-video-summary { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .amora-summary-videos { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
.summary-list { display: grid; gap: 10px; margin: 22px 0 26px; padding: 0; list-style: none; }
.summary-list li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); font-size: 0.84rem; color: var(--ink-soft); position: relative; }
.summary-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
@media (max-width: 900px) { .video-summary { grid-template-columns: 1fr; } .video-summary .video-embed { max-width: 340px; } }
.video-embed { max-width: 400px; margin: 28px auto; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #071c30; box-shadow: 0 24px 60px -28px rgba(13, 44, 77, 0.55); }
.video-embed iframe, .video-embed video { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; background: #000; }
.video-fallback { display: block; position: relative; text-decoration: none; }
.video-fallback img { width: 100%; height: 100%; object-fit: cover; opacity: 0.62; transition: transform 0.6s var(--ease), opacity 0.3s; }
.video-fallback:hover img { transform: scale(1.03); opacity: 0.55; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #ce1126; color: #fff; font-size: 1.3rem; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32); }
.video-label { position: absolute; left: 20px; right: 20px; bottom: 22px; color: #f7f1e6; }
.video-label strong { display: block; font-size: 0.82rem; letter-spacing: 0.04em; }
.video-label small { display: block; margin-top: 3px; font-size: 0.66rem; color: rgba(247, 241, 230, 0.65); }

.article-index { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.article-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 18px 44px -28px rgba(22, 36, 27, 0.28);
}
.article-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-3); }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.article-card:hover .article-card-media img { transform: scale(1.035); }
.article-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-kicker { margin: 0; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); }
.article-card h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; }
.article-card h2 a { text-decoration: none; }
.article-card h2 a:hover { color: var(--forest-2); }
.article-card-body > p { margin: 0; font-size: 0.88rem; line-height: 1.65; color: var(--ink-soft); }
.article-card .article-meta { font-size: 0.7rem; color: var(--muted); }
.article-card .text-link { margin-top: auto; align-self: flex-start; border-bottom: 0; padding-bottom: 0; font-size: 0.84rem; }
.article-index-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line);
}
.article-index-cta p { margin: 0; font-family: var(--font-display); font-size: 1.25rem; }
@media (max-width: 860px) {
  .article-index { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .article-feature { grid-template-columns: 1fr; }
  .article-feature-media { min-height: 220px; }
}

/* ---------- article page ---------- */
.article-hero { background: var(--paper); color: var(--ink); padding: clamp(48px, 7vw, 86px) 0 36px; border-bottom: 1px solid var(--line-soft); }
.article-hero .back-link { color: var(--muted); margin-bottom: 22px; }
.article-hero .eyebrow { color: var(--clay); }
.article-hero .eyebrow-line { background: var(--clay); }
.article-hero h1 { color: var(--ink); font-family: var(--font-display); font-weight: 400; font-size: clamp(2.15rem, 4.6vw, 3.7rem); line-height: 1.04; max-width: 20ch; margin: 18px 0 20px; }
.article-hero .lede { color: var(--ink-soft); max-width: 56ch; font-size: 1.06rem; }
.article-byline { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; font-size: 0.78rem; color: var(--muted); }
.article-byline strong { color: var(--ink); font-weight: 600; }
.article-cover { max-width: 1120px; margin: 0 auto; padding: 30px var(--gutter) 0; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; }
.article-cover figcaption { margin-top: 10px; font-size: 0.72rem; color: var(--muted); text-align: right; }
.article-layout { max-width: 1120px; margin: 0 auto; padding: clamp(44px, 6vw, 76px) var(--gutter); display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.article-side { position: sticky; top: 100px; display: grid; gap: 22px; }
.article-author { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.article-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.article-author strong { display: block; font-size: 0.9rem; color: var(--ink); }
.article-author small { font-size: 0.7rem; color: var(--muted); }
.article-toc p { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.article-toc { display: grid; gap: 6px; }
.article-toc a { display: block; padding: 11px 14px; border: 0; border-radius: 10px; background: #eaf0f6; font-size: 0.82rem; line-height: 1.5; color: var(--ink-soft); text-decoration: none; transition: background 0.2s, color 0.2s; }
.article-toc a:hover { color: #fff; background: var(--forest); }
.article-side .btn { width: 100%; justify-content: center; }
.article-side-note { font-size: 0.7rem; line-height: 1.6; color: var(--muted); }
.article-side-list { border: 0; padding-top: 8px; display: grid; gap: 8px; }
.article-side-list p { margin: 0 0 6px; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); }
.article-side-list a { display: block; padding: 12px 14px; border: 0; border-radius: 10px; background: #fff; color: var(--ink-soft); font-size: 0.8rem; line-height: 1.5; text-decoration: none; transition: background 0.2s, color 0.2s; }
.article-side-list a:hover { background: #eaf0f6; color: var(--forest); }
.article-side-list a:last-child { background: transparent; padding: 6px 0; color: var(--forest); font-weight: 600; }

.article-body { max-width: none; margin: 0; padding: 0; font-size: 1.03rem; line-height: 1.78; color: var(--ink-soft); }
.legal-body { max-width: 820px; margin: 0 auto; padding: clamp(48px, 7vw, 84px) var(--gutter); }
.legal-body h2 { margin-top: 40px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-updated { font-size: 0.76rem; color: var(--muted); margin-bottom: 30px; }
.article-body h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.15; color: var(--ink); margin: 52px 0 14px; }
.article-body h3 { font-size: 1.08rem; font-weight: 600; color: var(--ink); margin: 30px 0 8px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 22px 20px; padding-left: 18px; display: block; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 10px; padding-left: 4px; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.article-callout { background: var(--sage); border-left: 3px solid var(--clay); border-radius: 0 14px 14px 0; padding: 20px 22px; margin: 28px 0; font-size: 0.98rem; }
.article-callout p:last-child { margin-bottom: 0; }
.article-table-wrap { overflow-x: auto; margin: 30px 0; border: 1px solid var(--line); border-radius: 14px; }
.article-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.article-table th, .article-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.article-table th { background: var(--sage); color: var(--ink); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.article-table td:first-child { font-weight: 600; color: var(--ink); width: 24%; }
.article-table tr:last-child td { border-bottom: 0; }
.article-cta { background: #edf2f7; color: var(--ink); border: 1px solid #ccd7e2; border-radius: 18px; padding: clamp(24px, 4vw, 36px); margin: 40px 0; }
.article-cta::before { content: ""; display: block; width: 34px; height: 3px; margin-bottom: 18px; border-radius: 3px; background: var(--clay); }
.article-cta h2 { color: var(--ink); margin: 0 0 14px; font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.2; }
.article-cta p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.75; }
.article-cta .btn { margin-top: 4px; text-decoration: none; }
.article-cta .btn-primary { background: var(--forest); color: #fff; padding: 13px 22px; font-size: 0.85rem; box-shadow: none; }
.article-cta .btn-primary:hover { background: var(--forest-2); color: #fff; }
.article-related { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); }
.article-body .article-more-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 22px;
  max-width: 100%; margin-top: 36px; padding: 12px 14px 12px 22px;
  border: 1px solid var(--forest); border-radius: 999px;
  background: var(--forest); color: #fff;
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600; line-height: 1.4;
  text-decoration: none; transition: background 0.2s, border-color 0.2s;
}
.article-body .article-more-link:hover { border-color: var(--forest-2); background: var(--forest-2); }
.article-body .article-more-link span { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.1rem; }
.article-related h2 { margin-top: 0; }
.article-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.article-related-grid a { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-size: 0.9rem; }
.article-related-grid a:hover { border-color: var(--forest); }
.article-related-grid span { display: block; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
@media (max-width: 640px) {
  .article-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-side { position: static; grid-row: 2; grid-template-columns: 1fr 1fr; }
  .article-toc { grid-column: 1 / -1; }
  .article-body { grid-row: 1; min-width: 0; }
  .article-cover img { height: auto; aspect-ratio: auto; object-fit: contain; }
}
@media (max-width: 560px) {
  .article-side { grid-template-columns: 1fr; }
}

/* ---------- area potential ---------- */
.potential-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.potential-card {
  background: var(--paper-2); border: 1px solid var(--line-soft);
  border-radius: 18px; padding: 24px 22px;
}
.potential-card > span {
  font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.08em; color: var(--clay);
}
.potential-card h3 { font-size: 1.14rem; margin: 10px 0 8px; }
.potential-card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }
.potential-note {
  margin-top: 18px; font-size: 0.78rem; line-height: 1.6; color: var(--muted);
  border-left: 2px solid var(--clay); padding-left: 14px; max-width: 80ch;
}
.potential-refs {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  margin-top: 14px; font-size: 0.74rem; color: var(--muted);
}
.potential-refs a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.potential-refs a:hover { color: var(--clay); }
@media (max-width: 860px) {
  .potential-grid { grid-template-columns: 1fr; }
}

/* ---------- Johor flag theme (main hub only) ---------- */
body.theme-johor {
  --paper: #f7f5f1;
  --paper-2: #ffffff;
  --paper-3: #ece8e0;
  --ink: #0a1f33;
  --ink-soft: #33475c;
  --muted: #5f7183;
  --forest: #0d2c4d;
  --forest-2: #143e68;
  --forest-3: #071c31;
  --sage: #e3eaf1;
  --sage-2: #c9d6e2;
  --clay: #ce1126;
  --clay-soft: #f6d9dd;
  --gold: #f0b3ba;
  --line: rgba(10, 31, 51, 0.14);
  --line-soft: rgba(10, 31, 51, 0.08);
}
.theme-johor .site-header { background: rgba(7, 28, 49, 0.94); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.theme-johor .site-header.is-scrolled { background: #071c31; border-color: rgba(255, 255, 255, 0.12); }
.theme-johor .brand-text strong,
.theme-johor .nav a,
.theme-johor .header-phone { color: #ffffff; }
.theme-johor .brand-text span { color: rgba(255, 255, 255, 0.55); }
.theme-johor .brand-mark { background: #ffffff; color: var(--forest); }
.theme-johor .brand-mark::after { background: var(--clay); }
.theme-johor .nav a:hover,
.theme-johor .nav a.is-active { color: #ff9aa8; }
.theme-johor .lang-switch { border-color: rgba(255, 255, 255, 0.25); }
.theme-johor .lang-switch a { color: rgba(255, 255, 255, 0.7); }
.theme-johor .lang-switch a.is-current { background: #ffffff; color: var(--forest); }
.theme-johor .nav-toggle { border-color: rgba(255, 255, 255, 0.25); }
.theme-johor .nav-toggle span { background: #ffffff; }
.theme-johor .header-actions .btn-primary { background: var(--clay); }
.theme-johor .header-actions .btn-primary:hover { background: #a30d1e; }
.theme-johor .live-dot { background: var(--clay); box-shadow: 0 0 0 4px rgba(206, 17, 38, 0.18); }
.theme-johor .hub-hero-full::after {
  background:
    linear-gradient(90deg, rgba(7, 28, 49, 0.92) 0%, rgba(7, 28, 49, 0.6) 48%, rgba(7, 28, 49, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 28, 49, 0.9) 0%, rgba(7, 28, 49, 0.12) 48%, transparent 72%);
}
.theme-johor .hub-hero-full .eyebrow { color: #f3b6bd; }
.theme-johor .hub-hero-full em { background-image: linear-gradient(rgba(206, 17, 38, 0.45), rgba(206, 17, 38, 0.45)); }
.theme-johor .marquee { background: var(--forest-3); }
.theme-johor .marquee .icon { color: #f0b3ba; }
.theme-johor .site-footer { background: #071c31; }
.theme-johor .step-num { color: var(--clay); }
.theme-johor .footer-col h3 { color: #f0b3ba; }
.theme-johor .hub-cta { background: #0a2440; }
.theme-johor .foreign-card em { background-image: linear-gradient(#ce1126, #ce1126); }
.theme-johor .hub-cta em { background-image: linear-gradient(#ce1126, #ce1126); }

.flag-mark { width: 22px; height: 15px; border-radius: 2px; flex: none; }

@media (max-width: 860px) {
  .theme-johor .nav { background: #071c31; }
  .theme-johor .nav a { color: #ffffff; }
}

/* ---------- The Address theme (navy + teal, from brochure) ---------- */
body.theme-address {
  --paper: #f2f8f9;
  --paper-2: #ffffff;
  --paper-3: #e3f0f2;
  --ink: #0b2233;
  --ink-soft: #33495a;
  --muted: #5c7486;
  --forest: #0f3550;
  --forest-2: #174a6b;
  --forest-3: #0a2438;
  --sage: #dceef1;
  --sage-2: #c3e2e6;
  --clay: #1f9fb0;
  --clay-soft: #d5eef2;
  --gold: #2fa9b8;
  --line: rgba(11, 34, 51, 0.14);
  --line-soft: rgba(11, 34, 51, 0.08);
}
.theme-address .city-hero {
  background: radial-gradient(1000px 620px at 74% 6%, #1d4b68 0%, #0e2c44 58%, #081f33 100%);
}
.theme-address .city-hero .eyebrow { color: #6fd3de; }
.theme-address .city-hero em { background-image: linear-gradient(rgba(111, 211, 222, 0.3), rgba(111, 211, 222, 0.3)); }
.theme-address .city-hero .btn-primary { background: #ffffff; color: #0f3550; }
.theme-address .city-poster { transform: none; border-color: rgba(111, 211, 222, 0.35); }
.theme-address .city-poster-note { color: rgba(247, 241, 230, 0.45); }
.theme-address .section-sage { background: #dceef1; }
.theme-address .dark-section,
.theme-address .cta-section { background: #0a2438; }
.theme-address .site-footer { background: #081f33; }
.theme-address .site-header { background: rgba(8, 31, 51, 0.94); border-bottom: 1px solid rgba(111, 211, 222, 0.12); }
.theme-address .site-header.is-scrolled { background: #081f33; border-color: rgba(111, 211, 222, 0.18); }
.theme-address .brand-text strong,
.theme-address .nav a,
.theme-address .header-phone { color: var(--paper); }
.theme-address .brand-text span { color: rgba(247, 241, 230, 0.5); }
.theme-address .nav a:hover,
.theme-address .nav a.is-active { color: #6fd3de; }
.theme-address .brand-mark { background: var(--paper); color: var(--forest); }
.theme-address .brand-mark::after { background: #1f9fb0; }
.theme-address .lang-switch { border-color: rgba(247, 241, 230, 0.25); }
.theme-address .lang-switch a { color: rgba(247, 241, 230, 0.7); }
.theme-address .lang-switch a.is-current { background: var(--paper); color: var(--forest); }
.theme-address .nav-toggle { border-color: rgba(247, 241, 230, 0.25); }
.theme-address .nav-toggle span { background: var(--paper); }
.theme-address .agent-quote { border-left-color: #6fd3de; }
.theme-address .honest-num { color: #6fd3de; }
.theme-address .cta-section em,
.theme-address .foreign-card em { background-image: linear-gradient(rgba(111, 211, 222, 0.3), rgba(111, 211, 222, 0.3)); }

.address-gallery { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.address-gallery figure { position: relative; margin: 0; border-radius: 20px; overflow: hidden; min-height: 190px; background: var(--paper-3); }
.address-gallery figure:first-child { grid-row: span 2; }
.address-gallery img { width: 100%; height: 100%; object-fit: cover; }
.address-gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 34px 16px 12px;
  background: linear-gradient(transparent, rgba(8, 31, 51, 0.8));
  color: #fff; font-size: 0.76rem;
}

.facility-band { position: relative; margin-top: 24px; border-radius: 22px; overflow: hidden; }
.facility-band img { width: 100%; height: clamp(220px, 34vw, 360px); object-fit: cover; }
.facility-band div {
  position: absolute; inset: auto 0 0 0; padding: 60px 28px 22px;
  background: linear-gradient(transparent, rgba(8, 31, 51, 0.85)); color: #fff;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
}
.facility-band strong { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; }
.facility-band span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); }

.smart-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.smart { background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 16px; padding: 20px 18px; }
.smart .icon { width: 22px; height: 22px; color: var(--clay); margin-bottom: 12px; }
.smart h3 { font-family: var(--font-body); font-size: 0.86rem; font-weight: 600; margin-bottom: 5px; }
.smart p { font-size: 0.76rem; color: var(--muted); line-height: 1.5; }

@media (max-width: 1080px) {
  .address-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .address-gallery figure:first-child { grid-row: auto; grid-column: 1 / -1; min-height: 260px; }
  .smart-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .theme-address .nav { background: #081f33; }
  .theme-address .nav a { color: var(--paper); }
}
@media (max-width: 620px) {
  .address-gallery { grid-template-columns: 1fr; }
  .address-gallery figure { min-height: 200px; }
  .smart-grid { grid-template-columns: 1fr; }
  .facility-band div { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ---------- Amora Park — copper and cream from the project identity ---------- */
body.theme-amora {
  --paper: #faf5eb;
  --paper-2: #fffdf7;
  --paper-3: #eee1cd;
  --ink: #35251f;
  --ink-soft: #614a3f;
  --muted: #7a6659;
  --forest: #8b3e25;
  --forest-2: #71301e;
  --forest-3: #44251f;
  --sage: #f0e5d3;
  --sage-2: #e2cdae;
  --clay: #a74b2b;
  --clay-soft: #f3dfcf;
  --gold: #e6bd78;
  --line: rgba(92, 52, 31, 0.18);
  --line-soft: rgba(92, 52, 31, 0.09);
  --shadow: 0 24px 60px -30px rgba(83, 41, 23, 0.35);
  --shadow-sm: 0 10px 30px -18px rgba(83, 41, 23, 0.3);
}
:is(.theme-amora, .theme-heritage) .site-header { background: rgba(68, 37, 31, 0.97); border-color: rgba(230, 189, 120, 0.18); }
:is(.theme-amora, .theme-heritage) .site-header.is-scrolled { background: var(--forest-3); }
:is(.theme-amora, .theme-heritage) .site-header .brand-text strong,
:is(.theme-amora, .theme-heritage) .nav a { color: var(--paper); }
:is(.theme-amora, .theme-heritage) .site-header .brand-text span { color: #decab0; }
:is(.theme-amora, .theme-heritage) .nav a:hover,
:is(.theme-amora, .theme-heritage) .nav a.is-active { color: var(--gold); }
:is(.theme-amora, .theme-heritage) .site-header .brand-mark { background: var(--paper); color: var(--forest); }
:is(.theme-amora, .theme-heritage) .site-header .brand-mark::after { background: var(--clay); }
:is(.theme-amora, .theme-heritage) .lang-switch,
:is(.theme-amora, .theme-heritage) .nav-toggle { border-color: rgba(250, 245, 235, 0.35); }
:is(.theme-amora, .theme-heritage) .lang-switch a { color: #eadbc5; }
:is(.theme-amora, .theme-heritage) .lang-switch a.is-current { background: var(--paper); color: var(--forest); }
:is(.theme-amora, .theme-heritage) .nav-toggle span { background: var(--paper); }
:is(.theme-amora, .theme-heritage) .hero-glow { background: radial-gradient(circle at 60% 40%, rgba(196, 112, 49, 0.18), transparent 62%); }
:is(.theme-amora, .theme-heritage) .btn-primary { box-shadow: 0 14px 30px -18px rgba(139, 62, 37, 0.65); }
:is(.theme-amora, .theme-heritage) .gallery-item figcaption { background: linear-gradient(transparent, rgba(68, 37, 31, 0.86)); }
:is(.theme-amora, .theme-heritage) .wa-float,
:is(.theme-amora, .theme-heritage) .to-top { background: var(--forest); box-shadow: 0 18px 40px -18px rgba(139, 62, 37, 0.5); }
:is(.theme-amora, .theme-heritage) .wa-float:hover,
:is(.theme-amora, .theme-heritage) .to-top:hover { background: var(--forest-2); }
@media (max-width: 860px) {
  :is(.theme-amora, .theme-heritage) .nav { background: var(--forest-3); }
}

/* ---------- One Heritage — charcoal, copper and cream ---------- */
body.theme-heritage {
  --paper: #f5f1e9;
  --paper-2: #fffdf8;
  --paper-3: #e8dfd2;
  --ink: #11151a;
  --ink-soft: #45494d;
  --muted: #686b6d;
  --forest: #252b30;
  --forest-2: #10151a;
  --forest-3: #10151a;
  --sage: #ece3d7;
  --sage-2: #ded0bd;
  --clay: #87562f;
  --clay-soft: #edddca;
  --gold: #d9b487;
  --line: rgba(76, 57, 37, 0.18);
  --line-soft: rgba(76, 57, 37, 0.09);
  --shadow: 0 24px 60px -30px rgba(17, 21, 26, 0.32);
  --shadow-sm: 0 10px 30px -18px rgba(17, 21, 26, 0.28);
}
.theme-heritage .site-header { background: rgba(16, 21, 26, 0.97); }
.theme-heritage .hero-photo img { height: auto; aspect-ratio: auto; object-fit: contain; }
.theme-heritage .hero-visual { padding-left: 0; }
.theme-heritage .hero-glow { background: radial-gradient(circle at 60% 40%, rgba(181, 122, 69, 0.18), transparent 62%); }
.theme-heritage .gallery-item figcaption { background: linear-gradient(transparent, rgba(16, 21, 26, 0.9)); }
.theme-heritage .gallery-item img[src$="one-heritage-jb-city-centre-building-floor-layout.webp"] { object-fit: contain; background: #fff; }
.theme-heritage .heritage-location-image { grid-template-columns: minmax(0, 1fr); max-width: 800px; }
.theme-heritage .heritage-location-image img { height: auto; aspect-ratio: auto; object-fit: contain; }
.theme-heritage .map-card.gallery-item { cursor: zoom-in; }
.theme-heritage .amora-unit-info dd { max-width: 60%; text-align: right; }
.theme-heritage .amora-unit-tabs { scrollbar-width: thin; scrollbar-color: #87562f #e8dfd2; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .header-phone { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 760px; padding-left: 0; }
  .quick-facts { grid-template-columns: repeat(3, 1fr); margin-top: -30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid, .calc-grid, .spec-grid, .faq-grid, .cta-grid { grid-template-columns: 1fr; }
  .plan-visual { position: static; max-width: 680px; }
  .location-grid { grid-template-columns: 1fr; }
  .distance-panel { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .next-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 78px; }
  .topbar-hide { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    background: var(--paper); padding: 90px var(--gutter) 40px;
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s;
  }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; z-index: 1; }
  .nav a { font-family: var(--font-display); font-size: 1.8rem; padding: 8px 0; }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .hero { padding-top: 26px; }
  .hero-copy h1 { font-size: clamp(2.5rem, 9vw, 3.6rem); }
  .stamp { width: 96px; height: 96px; right: -6px; }
  .stamp > span { font-size: 0.95rem; }
  .unit-grid { grid-template-columns: 1fr; }
  .honest-grid { grid-template-columns: 1fr; }
  .calc-sums { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .site-footer { padding-bottom: 86px; }
  .footer-bottom { flex-direction: column; }
  .mobile-bar { display: none; }
  .wa-float {
    display: inline-flex;
    left: 16px; right: auto;
    bottom: calc(16px + env(safe-area-inset-bottom));
    padding: 12px 18px;
    font-size: 0.82rem;
  }
  .wa-float .icon { width: 18px; height: 18px; }
  .to-top {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 48px; height: 48px;
  }
  body { padding-bottom: 0; }
  .plan-meta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .topbar { font-size: 0.68rem; }
  .topbar-inner { justify-content: center; }
  .topbar-item:last-child { display: none; }
  .brand-text span { display: none; }
  .header-actions .btn { display: none; }
  .brand-mark { width: 38px; height: 38px; font-size: 1.5rem; }
  h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .section { padding-block: 60px; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 14px 16px; }
  .fact strong { font-size: 1.2rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .price-tag { left: 10px; top: 14px; padding: 10px 14px; }
  .price-tag strong { font-size: 1.2rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .agent-chip { align-items: flex-start; }
  .gallery-item { flex-basis: 82vw; }
  .plan-zoom { right: 18px; bottom: 18px; font-size: 0.7rem; }
  .distance-panel { grid-template-columns: 1fr; }
  .spec-list div { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-note { text-align: left; }
  .stamp { width: 84px; height: 84px; bottom: -10px; }
  .stamp text { font-size: 7.4px; letter-spacing: 1.4px; }
  .lightbox[open] { grid-template-columns: 40px 1fr 40px; }
  .lightbox-nav { width: 38px; height: 38px; }
}

@media (max-width: 360px) {
  .header-inner { gap: 10px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand-text strong { font-size: 1.05rem; }
  .header-actions { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .topbar, .mobile-bar, .marquee, .hero-glow, .lightbox, .scroller-btns { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}

/* MOBILE_HERO_FACE */
@media (max-width: 760px) {
  .hub-hero-full .hub-hero-bg { height: 340px; bottom: auto; object-position: 60% 35%; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }
  .hub-hero-full::after { background: linear-gradient(180deg, rgba(7,20,38,0.05) 0, rgba(7,20,38,0.2) 250px, #071426 340px, #071426 100%); }
  .hub-hero-full .hub-hero-inner { padding-top: 320px; }
}

.hub-mobile-agent { display: none; }
@media (max-width: 760px) {
  .hub-hero-full picture { display: none; }
  .hub-hero-full::after { background: radial-gradient(700px 480px at 70% 0%, #1d4b68 0%, #0e2c44 55%, #071426 100%); }
  .hub-hero-full .hub-hero-inner { padding-top: 34px; }
  .hub-mobile-agent { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
  .hub-mobile-agent img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(247,241,230,0.3); }
  .hub-mobile-agent strong { display: block; color: #f7f1e6; font-size: 0.86rem; }
  .hub-mobile-agent small { display: block; color: rgba(247,241,230,0.6); font-size: 0.72rem; margin-top: 2px; }
  .hub-hero-full .lede { font-size: 1rem; }
}



/* CAREER_STYLE_HOME_HERO */
@media (max-width: 760px) {
  .hub-hero-full picture { display: block; }
  .hub-mobile-agent { display: none; }
  .hub-hero-full .hub-hero-bg { height: 100%; bottom: 0; object-position: center top; -webkit-mask-image: none; mask-image: none; }
  .hub-hero-full .hub-hero-inner { padding-top: 40px; padding-bottom: 44px; }
  .hub-hero-full::after { background: linear-gradient(180deg, rgba(7,20,38,0.15) 0%, rgba(7,20,38,0.72) 65%, #071426 100%), linear-gradient(90deg, rgba(7,20,38,0.95) 0%, rgba(7,20,38,0.3) 70%, rgba(7,20,38,0.1) 100%); }
  .hub-hero-full h1, .hub-hero-full .lede { max-width: 68%; }
}

/* HOME_FOREIGN_TIGHT */
.theme-johor .foreign-card { background: #0a2440; }
body:not([data-project]) #hubungi { padding-bottom: 0; }
body:not([data-project]) #hubungi + .section-tight { padding-top: 20px; padding-bottom: clamp(44px, 6vw, 72px); }

.pov-link { margin-top: 24px; }

.home-project-grid.is-collapsed .project-row:nth-child(n+5) { display: none; }
.project-more-wrap { margin-top: 26px; text-align: left; }
.project-more-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border: 0; border-radius: 10px; background: var(--forest); color: var(--paper); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; box-shadow: 0 12px 26px -18px rgba(13, 44, 77, 0.6); transition: background 0.25s var(--ease), transform 0.25s var(--ease); }
.project-more-btn:hover { background: var(--forest-2); color: var(--paper); transform: translateY(-1px); }
.project-more-btn .icon { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.project-more-btn:hover .icon { transform: translateX(3px); }
@media (max-width: 640px) { .project-more-wrap { text-align: left; } .project-more-btn { width: auto; } }

/* MOBILE_MENU_SHEET */
@media (max-width: 860px) {
  .nav {
    position: fixed; top: 84px; left: 16px; right: 16px; bottom: auto;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 12px 20px 8px; border-radius: 18px;
    border: 1px solid rgba(247, 241, 230, 0.14);
    background: #071c31; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.65);
    max-height: calc(100svh - 110px); overflow-y: auto;
    transform: translateY(-10px) scale(0.98); opacity: 0; pointer-events: none; z-index: 90;
    transition: transform 0.28s var(--ease), opacity 0.22s var(--ease);
  }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; z-index: 90; }
  .nav::before { content: Menu; padding: 8px 0 10px; color: #e6bd78; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
  .nav a { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(247, 241, 230, 0.12); font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--paper); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { content: →; display: block; margin-left: 14px; color: #e6bd78; font-size: 0.95rem; opacity: 0.9; }
  .theme-johor .nav a, .theme-address .nav a, :is(.theme-amora, .theme-heritage) .nav a { color: var(--paper); }
}


/* ---------- Elmora — botanical greens, cream and gold from the project identity ---------- */
body.theme-elmora {
  --paper: #f2ede0; --paper-2: #faf6ec; --paper-3: #e9e1cd;
  --ink: #1a231d; --ink-soft: #3f4a3f; --muted: #6e755f;
  --forest: #0b2a17; --forest-2: #123b23; --forest-3: #07160d;
  --sage: #e9e1cd; --sage-2: #d7cbb0;
  --clay: #8a6a34; --clay-soft: #e8ddc5; --gold: #c7a05f;
  --line: rgba(26, 35, 29, 0.18); --line-soft: rgba(26, 35, 29, 0.09);
  --shadow: 0 24px 60px -30px rgba(7, 22, 13, 0.35);
  --shadow-sm: 0 10px 30px -18px rgba(7, 22, 13, 0.3);
}
.theme-elmora .site-header { background: rgba(11, 42, 23, 0.97); border-color: rgba(199, 160, 95, 0.18); }
.theme-elmora .site-header.is-scrolled { background: var(--forest-3); }
.theme-elmora .site-header .brand-text strong,
.theme-elmora .nav a { color: var(--paper); }
.theme-elmora .site-header .brand-text span { color: #d8c9a8; }
.theme-elmora .nav a:hover, .theme-elmora .nav a.is-active { color: var(--gold); }
.theme-elmora .site-header .brand-mark { background: var(--paper); color: var(--forest); }
.theme-elmora .site-header .brand-mark::after { background: var(--gold); }
.theme-elmora .lang-switch, .theme-elmora .nav-toggle { border-color: rgba(242, 237, 224, 0.35); }
.theme-elmora .lang-switch a { color: #e9e1cd; }
.theme-elmora .lang-switch a.is-current { background: var(--paper); color: var(--forest); }
.theme-elmora .nav-toggle span { background: var(--paper); }
.theme-elmora .hero-glow { background: radial-gradient(circle at 60% 40%, rgba(199, 160, 95, 0.20), transparent 62%); }
.theme-elmora .btn-primary { box-shadow: 0 14px 30px -18px rgba(7, 22, 13, 0.65); }
.theme-elmora .gallery-item figcaption { background: linear-gradient(transparent, rgba(7, 22, 13, 0.88)); }
.theme-elmora .wa-float, .theme-elmora .to-top { background: var(--forest); box-shadow: 0 18px 40px -18px rgba(7, 22, 13, 0.5); }
.theme-elmora .wa-float:hover, .theme-elmora .to-top:hover { background: var(--forest-2); }
.theme-elmora .site-header .btn-primary { background: var(--paper); color: var(--forest); box-shadow: none; }
.theme-elmora .site-header .btn-primary:hover { background: var(--gold); color: var(--forest-3); }
.theme-elmora .nav { background: transparent; }


/* ---------- Atlas Residences — espresso, gold and cream from the project identity ---------- */
body.theme-atlas {
  --paper: #f2ebdd; --paper-2: #faf6eb; --paper-3: #e9e0cc;
  --ink: #1b140d; --ink-soft: #3a2e1e; --muted: #6f6252;
  --forest: #2e2318; --forest-2: #3a2e1e; --forest-3: #1b140d;
  --sage: #e9e0cc; --sage-2: #d8c9a8;
  --clay: #b3543f; --clay-soft: #f0d9d2; --gold: #dcbb84;
  --line: rgba(27, 20, 13, 0.18); --line-soft: rgba(27, 20, 13, 0.09);
  --shadow: 0 24px 60px -30px rgba(15, 11, 7, 0.4);
  --shadow-sm: 0 10px 30px -18px rgba(15, 11, 7, 0.35);
}
.theme-atlas .site-header { background: rgba(27, 20, 13, 0.97); border-color: rgba(220, 187, 132, 0.18); }
.theme-atlas .site-header.is-scrolled { background: var(--forest-3); }
.theme-atlas .site-header .brand-text strong, .theme-atlas .nav a { color: var(--paper); }
.theme-atlas .site-header .brand-text span { color: #d8c9a8; }
.theme-atlas .nav a:hover, .theme-atlas .nav a.is-active { color: var(--gold); }
.theme-atlas .site-header .brand-mark { background: var(--paper); color: var(--forest); }
.theme-atlas .site-header .brand-mark::after { background: var(--gold); }
.theme-atlas .lang-switch, .theme-atlas .nav-toggle { border-color: rgba(242, 235, 221, 0.35); }
.theme-atlas .lang-switch a { color: #e9e0cc; }
.theme-atlas .lang-switch a.is-current { background: var(--paper); color: var(--forest); }
.theme-atlas .nav-toggle span { background: var(--paper); }
.theme-atlas .hero-glow { background: radial-gradient(circle at 60% 40%, rgba(220, 187, 132, 0.20), transparent 62%); }
.theme-atlas .btn-primary { box-shadow: 0 14px 30px -18px rgba(15, 11, 7, 0.65); }
.theme-atlas .gallery-item figcaption { background: linear-gradient(transparent, rgba(15, 11, 7, 0.88)); }
.theme-atlas .wa-float, .theme-atlas .to-top { background: var(--forest); box-shadow: 0 18px 40px -18px rgba(15, 11, 7, 0.5); }
.theme-atlas .wa-float:hover, .theme-atlas .to-top:hover { background: var(--forest-2); }
.theme-atlas .nav { background: transparent; }


/* ---------- Monterra — olive, champagne and cream from the project identity ---------- */
body.theme-monterra {
  --paper: #f3eee4; --paper-2: #faf7ef; --paper-3: #e8e2d3;
  --ink: #171a14; --ink-soft: #3b4034; --muted: #6d7263;
  --forest: #232a1e; --forest-2: #343c2a; --forest-3: #12150f;
  --sage: #e8e2d3; --sage-2: #d4cdb9;
  --clay: #9a6b3f; --clay-soft: #eadcc9; --gold: #c8a86a;
  --line: rgba(23, 26, 20, 0.18); --line-soft: rgba(23, 26, 20, 0.09);
  --shadow: 0 24px 60px -30px rgba(12, 15, 10, 0.4);
  --shadow-sm: 0 10px 30px -18px rgba(12, 15, 10, 0.35);
}
.theme-monterra .site-header { background: rgba(23, 26, 20, 0.97); border-color: rgba(200, 168, 106, 0.18); }
.theme-monterra .site-header.is-scrolled { background: var(--forest-3); }
.theme-monterra .site-header .brand-text strong, .theme-monterra .nav a { color: var(--paper); }
.theme-monterra .site-header .brand-text span { color: #d4cdb9; }
.theme-monterra .nav a:hover, .theme-monterra .nav a.is-active { color: var(--gold); }
.theme-monterra .site-header .brand-mark { background: var(--paper); color: var(--forest); }
.theme-monterra .site-header .brand-mark::after { background: var(--gold); }
.theme-monterra .lang-switch, .theme-monterra .nav-toggle { border-color: rgba(243, 238, 228, 0.35); }
.theme-monterra .lang-switch a { color: #e8e2d3; }
.theme-monterra .lang-switch a.is-current { background: var(--paper); color: var(--forest); }
.theme-monterra .nav-toggle span { background: var(--paper); }
.theme-monterra .hero-glow { background: radial-gradient(circle at 60% 40%, rgba(200, 168, 106, 0.20), transparent 62%); }
.theme-monterra .btn-primary { box-shadow: 0 14px 30px -18px rgba(12, 15, 10, 0.65); }
.theme-monterra .gallery-item figcaption { background: linear-gradient(transparent, rgba(12, 15, 10, 0.88)); }
.theme-monterra .wa-float, .theme-monterra .to-top { background: var(--forest); box-shadow: 0 18px 40px -18px rgba(12, 15, 10, 0.5); }
.theme-monterra .wa-float:hover, .theme-monterra .to-top:hover { background: var(--forest-2); }
.theme-monterra .nav { background: transparent; }


/* ---------- Premium Height — warm brown, sand and brass ---------- */
body.theme-premium {
  --paper: #f5f1e8; --paper-2: #fbf8f1; --paper-3: #e7e1d4;
  --ink: #1b1d2a; --ink-soft: #424457; --muted: #6d6f80;
  --forest: #2f3142; --forest-2: #3b3d52; --forest-3: #181a27;
  --sage: #e7e1d4; --sage-2: #d3ccbb;
  --clay: #ba8865; --clay-soft: #ecd9c9; --gold: #ba8865;
  --line: rgba(27, 29, 42, 0.18); --line-soft: rgba(27, 29, 42, 0.09);
  --shadow: 0 24px 60px -30px rgba(15, 17, 28, 0.4);
  --shadow-sm: 0 10px 30px -18px rgba(15, 17, 28, 0.35);
}
.theme-premium .site-header { background: rgba(24, 26, 39, 0.97); border-color: rgba(186, 136, 101, 0.24); }
.theme-premium .site-header.is-scrolled { background: var(--forest-3); }
.theme-premium .site-header .brand-text strong, .theme-premium .nav a { color: var(--paper); }
.theme-premium .site-header .brand-text span { color: #d3ccbb; }
.theme-premium .nav a:hover, .theme-premium .nav a.is-active { color: var(--gold); }
.theme-premium .site-header .brand-mark { background: var(--paper); color: var(--forest); }
.theme-premium .site-header .brand-mark::after { background: var(--gold); }
.theme-premium .lang-switch, .theme-premium .nav-toggle { border-color: rgba(246, 240, 229, 0.35); }
.theme-premium .lang-switch a { color: #e7e1d4; }
.theme-premium .lang-switch a.is-current { background: var(--paper); color: var(--forest); }
.theme-premium .nav-toggle span { background: var(--paper); }
.theme-premium .hero-glow { background: radial-gradient(circle at 60% 40%, rgba(186, 136, 101, 0.22), transparent 62%); }
.theme-premium .btn-primary { box-shadow: 0 14px 30px -18px rgba(20, 14, 9, 0.65); }
.theme-premium .gallery-item figcaption { background: linear-gradient(transparent, rgba(20, 14, 9, 0.88)); }
.theme-premium .wa-float, .theme-premium .to-top { background: var(--forest); box-shadow: 0 18px 40px -18px rgba(20, 14, 9, 0.5); }
.theme-premium .wa-float:hover, .theme-premium .to-top:hover { background: var(--forest-2); }
.theme-premium .nav { background: transparent; }

/* MOBILE_MENU_DRAWER */
@media (max-width: 860px) {
  body .nav {
    position: fixed; top: 0; right: 0; left: auto; bottom: 0;
    width: min(86vw, 360px); max-height: none;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 102px 26px 30px; border: 0; border-radius: 24px 0 0 24px;
    background: #f7f1e6 !important; color: var(--ink);
    box-shadow: -28px 0 70px -30px rgba(0, 0, 0, 0.55);
    transform: translateX(100%); opacity: 1; pointer-events: none; z-index: 80;
    transition: transform 0.32s var(--ease);
    counter-reset: nav;
  }
  body.nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  body .nav::before { content: Menu; padding: 0 0 16px; color: var(--clay); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; border-bottom: 1px solid rgba(13, 44, 77, 0.14); }
  body .nav a { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 0; border-bottom: 1px solid rgba(13, 44, 77, 0.12); font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--ink) !important; counter-increment: nav; }
  body .nav a:last-child { border-bottom: 0; }
  body .nav a::before { content: counter(nav, decimal-leading-zero); width: 24px; flex: none; font-family: var(--font-body); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; color: var(--clay); }
  body .nav a::after { content: ↗; margin-left: auto; color: var(--clay); font-size: 0.9rem; }
  body .nav a:hover { color: var(--clay) !important; }
}

.level-plans { margin-top: 34px; }
.level-plan { display: none; }
.level-plan.is-active { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.level-plan figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.level-plan figure img { display: block; width: 100%; height: auto; background: #fbf9f4; }
.level-plan-copy .eyebrow { margin-bottom: 6px; }
.level-plan-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 10px; }
.level-plan-copy p { color: var(--ink-soft); font-size: 0.94rem; }
@media (max-width: 860px) { .level-plan.is-active { grid-template-columns: 1fr; } .plan-tabs { display: flex; overflow-x: auto; } }

.atlas-connect { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 4vw, 56px); align-items: start; }
.atlas-connect-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.atlas-connect-col h3 { font-family: var(--font-body); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); padding-bottom: 10px; border-bottom: 1px solid rgba(247, 241, 230, 0.25); margin: 0 0 8px; }
.atlas-distance-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(247, 241, 230, 0.1); font-size: 0.8rem; color: rgba(247, 241, 230, 0.78); }
.atlas-distance-list b { color: var(--gold); font-weight: 600; white-space: nowrap; }
.atlas-connect-photos { display: flex; flex-direction: column; gap: 16px; }
.atlas-connect-photos figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: #0d0906; }
.atlas-connect-photos img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.atlas-connect-photos figcaption { position: absolute; inset: auto 0 0 0; padding: 26px 14px 11px; background: linear-gradient(transparent, rgba(15, 11, 7, 0.9)); color: var(--paper); font-size: 0.72rem; letter-spacing: 0.02em; }
.theme-atlas .dark-section .eyebrow { color: var(--gold); }
.atlas-location-map { margin-top: 32px; }
@media (max-width: 1080px) { .atlas-connect { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .atlas-connect-cols { grid-template-columns: 1fr 1fr; } .atlas-connect-photos { display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .atlas-connect-cols { grid-template-columns: 1fr; } .atlas-connect-photos { grid-template-columns: 1fr; } }

.atlas-location-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: 42px; }
.atlas-location-top .section-head { margin-bottom: 0; }
.atlas-location-top .atlas-location-map { margin-top: 0; width: 100%; max-width: none; }
@media (max-width: 1080px) { .atlas-location-top { grid-template-columns: 1fr; } }

.footer-disclaimer { padding-top: 26px; }
.footer-disclaimer p { max-width: 88ch; font-size: 0.68rem; line-height: 1.7; color: rgba(247, 241, 230, 0.45); }

.footer-bottom { flex-direction: column; align-items: center; }
.footer-bottom .footer-disclaimer { flex: none; width: 100%; max-width: 1180px; padding: 0; text-align: center; font-size: 0.68rem; line-height: 1.8; color: rgba(247, 241, 230, 0.45); }

.monterra-aerial-map { margin: 0 0 28px; }

.monterra-location-visuals { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; margin-bottom: 22px; }
.monterra-location-visuals figure { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.monterra-location-visuals img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.monterra-location-visuals figcaption { padding: 10px 14px; font-size: 0.72rem; color: var(--muted); }
.monterra-distance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.monterra-distance-card { background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 22px; }
.monterra-distance-card h3 { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); font-family: var(--font-body); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); }
.monterra-distance-card li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.84rem; color: var(--ink-soft); }
.monterra-distance-card li:last-child { border-bottom: 0; }
.monterra-distance-card b { color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 1080px) { .monterra-location-visuals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .monterra-location-visuals, .monterra-distance-grid { grid-template-columns: 1fr; } }

.unit-selector { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 34px); }
.unit-selector-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; margin-bottom: clamp(24px, 3vw, 36px); }
.unit-selector-tab { flex: none; padding: 14px 18px; border-bottom: 2px solid transparent; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.unit-selector-tab small { display: block; margin-top: 3px; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.unit-selector-tab.is-active { color: var(--forest); border-bottom-color: var(--clay); }
.unit-selector-tab.is-active small { color: var(--clay); }
.unit-selector-panel { display: none; }
.unit-selector-panel.is-active { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 46px); align-items: center; }
.unit-selector-plan { margin: 0; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); overflow: hidden; background: #fbf9f4; }
.unit-selector-plan img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.unit-selector-copy .eyebrow { margin-bottom: 6px; }
.unit-selector-copy h3 { margin: 0 0 10px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.unit-selector-copy > p { color: var(--ink-soft); font-size: 0.94rem; }
.unit-selector-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 20px; }
.unit-selector-specs div { padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-soft); }
.unit-selector-specs dt { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.unit-selector-specs dd { margin: 4px 0 0; font-size: 0.95rem; font-weight: 600; }
.unit-selector-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.unit-selector-price { font-size: 1.25rem; font-weight: 700; margin: 0; }
.unit-selector-price span { font-size: 0.72rem; font-weight: 500; color: var(--muted); }
@media (max-width: 860px) { .unit-selector-panel.is-active { grid-template-columns: 1fr; } .unit-selector-specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .unit-selector-specs { grid-template-columns: 1fr 1fr; gap: 8px; } .unit-selector-specs div { padding: 10px 10px; } }

.location-address { margin: -8px 0 22px; font-size: 0.86rem; color: var(--muted); }

.premium-highlights { padding-top: 0; }
.premium-highlights-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); padding: clamp(22px, 3vw, 34px); }
.premium-highlights-card .eyebrow { margin-bottom: 16px; color: var(--clay); }
.premium-highlights-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.premium-highlights-list li { position: relative; padding-left: 22px; font-size: 0.9rem; color: var(--ink-soft); }
.premium-highlights-list li::before { content: ""; position: absolute; left: 0; top: 0.48em; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }
@media (max-width: 760px) { .premium-highlights-list { grid-template-columns: 1fr; } }

/* PROJECT_HERO_MOBILE_ORDER */
@media (max-width: 860px) {
  body[data-project] .hero-grid { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
  body[data-project] .hero-copy { display: contents; }
  body[data-project] .hero-copy .back-link { order: 1; }
  body[data-project] .hero-copy .eyebrow { order: 2; justify-content: flex-start; text-align: left; }
  body[data-project] .hero-copy h1 { order: 3; }
  body[data-project] .hero-copy .lede { order: 4; }
  body[data-project] .hero-visual { order: 5; width: 100%; }
  body[data-project] .hero-actions { order: 6; }
  body[data-project] .agent-chip { order: 7; margin-bottom: 26px; }
}

.agent-chip { border-top: 0; padding-top: 0; }

/* CITY_HERO_MOBILE_ORDER */
@media (max-width: 860px) {
  body[data-project] .city-hero-grid { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
  body[data-project] .city-hero-grid > div:first-child { display: contents; }
  body[data-project] .city-hero-grid > div:first-child .back-link { order: 1; }
  body[data-project] .city-hero-grid > div:first-child .eyebrow { order: 2; }
  body[data-project] .city-hero-grid > div:first-child h1 { order: 3; }
  body[data-project] .city-hero-grid > div:first-child .lede { order: 4; }
  body[data-project] .city-hero-grid > div:last-child { order: 5; width: 100%; }
  body[data-project] .city-hero-grid .hero-actions { order: 6; }
  body[data-project] .city-hero-grid .city-facts { order: 7; }
}

/* Shared phone typography for Malay and English pages. */
@media (max-width: 620px) {
  body { font-size: 15px; line-height: 1.65; }
  body h1,
  body .hero-copy h1,
  body .article-hero h1 { font-size: 36px; }
  body h2,
  body .article-body h2,
  body .article-cta h2 { font-size: 28px; }
  body .project-row :is(h3, .project-card-title),
  body .home-project-grid .project-row :is(h3, .project-card-title),
  body .hub-feature h2 { font-size: 24px; }
  body .section-lede,
  body .hub-hero-full .lede { font-size: 15px; line-height: 1.65; }
  body .article-hero .lede,
  body .article-body { font-size: 15px; line-height: 1.65; }
  body .btn,
  body .btn-sm { font-size: 15px; }
  body .lead-form h3 { font-size: 20px; }
  body .lead-form .form-sub,
  body .lead-form .field label,
  body .lead-form .field input,
  body .lead-form .field select,
  body .lead-form .field textarea,
  body .lead-form .form-status { font-size: 15px; line-height: 1.65; }
  body .lead-form .form-note { font-size: 12px; line-height: 1.65; }
}

/* Consistent content-section spacing across all pages. */
:root { --section-space: 80px; }
@media (max-width: 1080px) {
  :root { --section-space: 64px; }
}
@media (max-width: 620px) {
  :root { --section-space: 48px; }
}
.section,
.section-tight,
body:not([data-project]) #hubungi + .section-tight {
  padding-block: var(--section-space);
}

/* Keep project footer legal text in a readable, centered column. */
body[data-project] .footer-bottom > p {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}
body[data-project] .footer-bottom .footer-disclaimer {
  max-width: 760px;
}

@media (min-width: 1081px) {
  body[data-project] .footer-bottom .footer-disclaimer {
    text-align: justify;
    text-align-last: center;
  }
}

@media (max-width: 620px) {
  body[data-project] .footer-bottom {
    width: 100%;
    padding-inline: 28px;
    box-sizing: border-box;
  }
}

/* Balance the home hero content vertically on mobile. */
@media (max-width: 760px) {
  .hub-hero-full { padding-block: 0; }
  .hub-hero-full .hub-hero-inner { padding-block: 48px; }
}

/* A lighter price/action row for homepage project cards. */
.home-project-grid .project-row-foot {
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  gap: 16px;
}
.home-project-grid .project-price { gap: 4px; font-size: 12px; }
.home-project-grid .project-price strong {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}
.home-project-grid .project-row-foot .btn {
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--forest);
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  box-shadow: none;
}
.home-project-grid .project-row-foot .btn:hover {
  background: var(--forest-2);
  border-color: var(--forest-2);
}
@media (max-width: 620px) {
  .home-project-grid .project-row-foot {
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }
  .home-project-grid .project-price { min-width: 0; }
  .home-project-grid .project-price strong { font-size: 18px; }
  .home-project-grid .project-row-foot .btn {
    flex: none;
    width: auto;
    padding: 12px;
    gap: 6px;
    white-space: nowrap;
  }
}

/* Plans and specifications are subsections of the unit overview. */
.unit-combined .unit-detail {
  margin-top: var(--section-space);
  scroll-margin-top: 96px;
}
.unit-combined .unit-detail > .container {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.unit-combined .unit-detail-title {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 16px;
}
@media (max-width: 620px) {
  .unit-combined .unit-detail-title { font-size: 22px; }
  .unit-combined .unit-detail { scroll-margin-top: 78px; }
  .unit-combined .unit-detail > .container { padding-top: 24px; }
}

/* Project-directory comparison guide. */
.project-guide { background: linear-gradient(135deg, #edf2f6, #e2eaf1); }
.project-guide .honest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project-guide .guide-card { position: relative; padding: 32px; border: 1px solid #d3dee8; border-radius: 20px; background: #fff; box-shadow: 0 8px 30px rgba(13,44,77,.045); }
.project-guide .guide-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.project-guide .guide-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; background: #eaf1f8; color: #174f80; }
.project-guide .guide-icon svg { width: 28px; height: 28px; }
.project-guide .guide-card:nth-child(2) .guide-icon { background: #f7efdf; color: #7b591e; }
.project-guide .guide-card:nth-child(3) .guide-icon { background: #e7f1ec; color: #28614d; }
.project-guide .guide-step { color: #667d92; font-size: .8rem; font-weight: 600; letter-spacing: .12em; }
.project-guide .guide-card h3 { color: #0d2c4d; margin: 0 0 16px; font-size: 1.4rem; line-height: 1.3; }
.project-guide .guide-card p { color: #334b63; font-size: .98rem; line-height: 1.8; }
.project-guide .guide-card a { color: #174f80; text-decoration: underline; text-decoration-color: #9eb7cf; text-underline-offset: 4px; }
.project-guide .guide-card a:hover { color: #0d2c4d; text-decoration-color: currentColor; }
@media (max-width: 760px) {
  .project-guide .honest-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-guide .guide-card { padding: 26px; }
  .project-guide .guide-card-top { margin-bottom: 24px; }
}
