/* ════════════════════════════════════════════════════════════════════════
   Ammon Lim — Singapore's HDB Specialist
   Design system + all section styles + responsive
   ════════════════════════════════════════════════════════════════════════ */

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

:root {
  --cream:        #FAF8F3;
  --cream-dark:   #F2EDE4;
  --orange:       #EA580C;
  --orange-bright:#F97316;
  --orange-light: #FED7AA;
  --orange-pale:  #FFF7ED;
  --blue:         #2563EB;
  --blue-dark:    #1D4ED8;
  --blue-light:   #DBEAFE;
  --blue-pale:    #EFF6FF;
  --dark:         #1E120A;
  --dark-mid:     #3A200E;
  --text:         #1C1A17;
  --muted:        #7A7065;
  --border:       #E8E0D6;
  --white:        #FFFFFF;
  --green-sold:   #16A34A;

  --shadow-sm:  0 1px 2px rgba(28,19,11,0.06);
  --shadow-md:  0 8px 24px -8px rgba(28,19,11,0.12), 0 2px 6px rgba(28,19,11,0.05);
  --shadow-lg:  0 24px 48px -16px rgba(28,19,11,0.18), 0 4px 12px rgba(28,19,11,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── UTILITIES ─── */
.sans { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.section-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.section-label-blue { color: var(--blue); }
.italic-accent { font-style: italic; color: var(--orange); }
.italic-accent-blue { font-style: italic; color: var(--blue); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  transition: box-shadow 0.2s;
}
.nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn-cta {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 10px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-cta:hover { background: var(--orange-bright); }

/* ─── HERO ─── */
#home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 64px);
  overflow: hidden;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px 64px 64px;
  gap: 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-pale);
  border: 1px solid var(--orange-light);
  color: var(--orange);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
}
.hero-h1 {
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hero-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 460px;
}
.hero-sub strong { color: var(--text); font-weight: 700; }
.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-primary {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 700;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 14px 24px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px -8px rgba(234,88,12,0.6);
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--orange-bright); }
.btn-primary:active { transform: scale(0.98); }
.btn-secondary {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 13px 22px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 4px;
}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}
.stat-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.hero-right { position: relative; }
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 65%;
  display: block;
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(30,18,10,0.20) 100%);
  pointer-events: none;
}

/* ─── HERO PHOTO EDITORIAL OVERLAY ─── */
/* Hidden by default; appears only on mobile where the photo is the focal block */
.hero-photo-overlay { display: none; }

.hero-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.hero-stamp-line {
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--orange-bright);
}
.hero-stamp-stars {
  color: var(--orange-bright);
  font-size: 12px;
  letter-spacing: 2px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
/* Bottom credit strip: $30M+ · 26 towns · ★★★★★ 5.0 */
.hero-credit-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
.hero-credit-strip .hcs-item {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.hero-credit-strip .hcs-val {
  font-family: 'Georgia', serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.hero-credit-strip .hcs-stars {
  color: var(--orange-bright);
  font-size: 11px;
  letter-spacing: 1.5px;
}
.hero-credit-strip .hcs-sep {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}

/* ─── TRUST STRIP ─── */
.trustbar {
  background: var(--dark);
  color: #fff;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trustbar-item { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.trustbar-item .lbl {
  color: rgba(255,255,255,0.6);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.trustbar-item .val { font-weight: 700; font-size: 13px; }
.trustbar-item .val.accent { color: var(--orange-bright); }
.trustbar-divider { width: 1px; height: 22px; background: rgba(255,255,255,0.12); }
.trustbar-stars { color: var(--orange-bright); letter-spacing: 1.5px; font-size: 14px; }
.trustbar-icon { font-size: 14px; }

/* ─── TICKER ─── */
.ticker-wrap {
  background: var(--dark-mid);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  animation: ticker 60s linear infinite;
}
.ticker-track span {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-right: 40px;
}
.ticker-track span.highlight { color: var(--orange-bright); }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── SECTION WRAPPER ─── */
.section { padding: 96px 64px; }
.section-narrow { max-width: 1200px; margin: 0 auto; }
.section-paper {
  background: linear-gradient(180deg,
    var(--cream) 0, #fff 110px,
    #fff calc(100% - 110px), var(--cream) 100%);
}
.section-soft {
  background: linear-gradient(180deg,
    var(--cream) 0, var(--cream-dark) 110px,
    var(--cream-dark) calc(100% - 110px), var(--cream) 100%);
}

/* ─── ABOUT ─── */
#about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: -8px -8px 8px 8px;
  background: var(--orange-pale);
  border-radius: 24px;
  z-index: -1;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 20px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255,255,255,0.92);
  border-radius: 100px;
  padding: 8px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}
.about-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-sold); }
.satisfaction-card {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--orange);
  color: #fff;
  border-radius: 14px;
  padding: 16px 22px;
  text-align: center;
}
.satisfaction-card .num { font-size: 30px; font-weight: 800; }
.satisfaction-card .lbl {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
  opacity: 0.9;
}
.about-content { display: flex; flex-direction: column; gap: 32px; }
.about-h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.about-p { font-size: 16px; color: var(--muted); line-height: 1.75; }
.about-p strong { color: var(--text); }
.traits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.trait-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.trait-icon { font-size: 20px; margin-bottom: 10px; }
.trait-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.trait-desc {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── PARALLAX BANDS ─── */
.parallax-band {
  height: 320px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: #14242f;
}
.parallax-photo {
  position: absolute;
  inset: -8% -8%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  animation: kenburns 24s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
}
.parallax-photo[data-bg="parallax-waterway"] {
  background-image: url('punggol-drone.jpg');
  background-color: #14242f;
}
.parallax-photo[data-bg="parallax-central"] {
  background-image: url('bishan-drone.jpg');
  background-color: #1a120b;
}
@keyframes kenburns {
  0%   { transform: scale(1.02) translate(-1%, 0.5%); }
  100% { transform: scale(1.08) translate(1.5%, -1.5%); }
}
.parallax-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(45deg,  rgba(0,0,0,0.025) 0 1px, transparent 1px 3px);
  pointer-events: none;
  opacity: 0.7;
  mix-blend-mode: overlay;
}
.parallax-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 30% 75%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.parallax-overlay {
  position: relative;
  z-index: 2;
  padding: 32px 64px;
  color: #fff;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.parallax-tag {
  display: inline-block;
  padding: 5px 11px;
  background: rgba(0,0,0,0.42);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.78);
  margin-bottom: 14px;
  font-weight: 600;
}
.parallax-label {
  font-family: 'Georgia', serif;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}
.parallax-sub {
  font-size: 15px;
  margin-top: 10px;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* ─── VALUATION TOOL ─── */
#valuation { padding-top: 80px; padding-bottom: 80px; }
.val-header { text-align: center; margin-bottom: 40px; }
.val-h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 12px;
  line-height: 1.05;
}
.val-sub {
  font-size: 15px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.val-sub a { color: var(--orange); text-decoration: none; }
.val-sub a:hover { text-decoration: underline; }
.val-card {
  max-width: 540px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.val-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.val-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.val-select-wrap {
  position: relative;
}
.val-select-wrap::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.val-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 14px 44px 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--cream);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.val-select:hover { border-color: var(--orange); }
.val-select:focus { border-color: var(--orange); background: #fff; }
.val-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.val-chip {
  padding: 8px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--cream);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: all 0.15s;
}
.val-chip:hover { border-color: var(--orange); }
.val-chip.is-active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.val-cta { width: 100%; justify-content: center; margin-top: 8px; }
.val-result { margin-top: 22px; }
.val-result-card {
  padding: 22px;
  background: var(--dark);
  color: #fff;
  border-radius: 16px;
}
.val-result-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-bright);
  font-weight: 700;
  margin-bottom: 6px;
}
.val-result-range {
  font-family: 'Georgia', serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.val-result-range em { font-style: italic; color: var(--orange-bright); font-weight: 400; }
.val-result-meta {
  margin-top: 10px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.val-result-stale {
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(234,88,12,0.15);
  border: 1px solid rgba(234,88,12,0.3);
  border-radius: 8px;
  font-size: 11px;
  color: var(--orange-bright);
}
.val-precise { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); }
.val-precise-title {
  font-family: 'Georgia', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.val-precise-copy {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin-bottom: 14px;
}
.val-precise-copy strong { color: var(--orange-bright); font-weight: 600; }
.val-precise-form { display: flex; flex-direction: column; gap: 10px; }
.val-input-dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #fff;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.val-input-dark::placeholder { color: rgba(255,255,255,0.4); }
.val-input-dark:focus { background: rgba(255,255,255,0.10); border-color: var(--orange-bright); }
.val-precise-cta {
  width: 100%;
  margin-top: 6px;
  justify-content: center;
}
.val-precise-trust {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}
.val-trust {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}
.val-trust strong { color: var(--text); }
.val-sent {
  text-align: center;
  padding: 12px 0;
}
.val-sent-check {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-size: 22px;
}
.val-sent-title {
  font-family: 'Georgia', serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}
.val-sent-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

/* ─── COVERAGE MAP ─── */
.coverage-header { text-align: center; margin-bottom: 40px; }
.coverage-h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 12px;
  line-height: 1.05;
}
.coverage-sub {
  font-size: 15px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.map-wrap {
  position: relative;
  background: #f4f7fa;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.map-svg { width: 100%; height: auto; display: block; }
.map-area {
  fill: #F2E8D2;
  stroke: #8A7553;
  stroke-width: 1.2;
  transition: fill 0.45s ease, stroke 0.45s ease, stroke-width 0.45s ease, filter 0.45s ease;
}
.map-area.is-clickable { cursor: pointer; }
.map-area.is-clickable:hover { fill: #E8D9B5; }
.map-area.is-active {
  fill: #FB923C;
  stroke: #C2410C;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(234,88,12,0.7))
          drop-shadow(0 0 14px rgba(234,88,12,0.45));
  animation: pulseGlow 2.4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% {
    filter: drop-shadow(0 0 4px rgba(234,88,12,0.55))
            drop-shadow(0 0 10px rgba(234,88,12,0.30));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(234,88,12,0.85))
            drop-shadow(0 0 18px rgba(234,88,12,0.55));
  }
}
.map-region-callout { cursor: pointer; }
.map-region-callout .map-region-pill rect { transition: fill 0.15s ease, stroke 0.15s ease; }
.map-region-callout:hover .map-region-pill rect { fill: #FFF7ED; stroke: #EA580C; }
.map-region-callout.is-active .map-region-pill rect {
  filter: drop-shadow(0 0 4px rgba(234,88,12,0.5));
}
.map-label-group { user-select: none; }
.map-legend {
  display: flex;
  gap: 18px;
  justify-content: center;
  padding: 10px 0 4px;
  font-size: 12px;
  color: var(--muted);
}
.map-legend span { display: flex; align-items: center; gap: 6px; }
.map-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #9b8e74;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
  display: inline-block;
}
.map-dot.is-core { background: var(--orange); }

.map-detail {
  background: var(--dark);
  color: #fff;
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 32px;
}
.map-detail-tier {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-bright);
  font-weight: 700;
  margin-bottom: 8px;
}
.map-detail-name {
  font-family: 'Georgia', serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.map-detail-stats {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.map-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 13px;
}
.map-detail-label {
  color: rgba(255,255,255,0.5);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 600;
  flex-shrink: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.map-detail-val {
  color: rgba(255,255,255,0.85);
  text-align: right;
  font-size: 13px;
  line-height: 1.45;
}
.map-detail-prices { flex-direction: column; align-items: stretch; }
.map-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
  width: 100%;
}
.map-price-cell {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.map-price-type {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  margin-bottom: 4px;
}
.map-price-val {
  font-family: 'Georgia', serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--orange-bright);
  letter-spacing: -0.01em;
}
.map-detail-cta {
  margin-top: 18px;
  display: flex;
  gap: 8px;
}
.map-detail-cta-btn {
  flex: 1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 12px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}
.map-detail-cta-btn:hover { background: var(--orange-bright); }

.towns-hint {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ─── TRACK RECORD ─── */
.track-header { text-align: center; margin-bottom: 48px; }
.track-h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.track-sub {
  font-size: 16px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.listings-scroll-wrap {
  position: relative;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-top: 12px;
  margin-top: -12px;
}
.listings-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-left: max(64px, calc((100vw - 1200px) / 2 + 64px));
  padding-right: max(64px, calc((100vw - 1200px) / 2 + 64px));
  padding-bottom: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.listings-grid::-webkit-scrollbar { display: none; }
.listings-grid:active { cursor: grabbing; }
.listings-arrow {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  transition: background 0.2s, border-color 0.2s;
}
.listings-arrow:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.listings-arrow-left  { left: max(18px, calc((100vw - 1200px) / 2 + 18px)); }
.listings-arrow-right { right: max(18px, calc((100vw - 1200px) / 2 + 18px)); }
.listing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  min-width: 300px;
  max-width: 300px;
  flex-shrink: 0;
  transition: box-shadow 0.25s, transform 0.25s;
}
.listing-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}
.listing-img {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
}
.listing-img-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.listing-card:hover .listing-img-bg { transform: scale(1.05); }
.listing-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.32) 100%);
  pointer-events: none;
}
.badge-sold {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--green-sold);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  color: #fff;
  z-index: 2;
}
.listing-body { padding: 18px; }
.listing-location {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}
.listing-loc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.listing-achievement { margin: 4px 0 6px; line-height: 1.1; }
.listing-achievement .ach-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.listing-achievement .ach-value {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
  display: block;
  color: var(--orange);
}
.listing-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.listing-flat-type {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: var(--muted);
}

/* ─── ACTIVE LISTINGS ─── */
.active-listings-grid-wrap {
  position: relative;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-top: 12px;
  margin-top: -12px;
}
.active-listings-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-left: max(64px, calc((100vw - 1200px) / 2 + 64px));
  padding-right: max(64px, calc((100vw - 1200px) / 2 + 64px));
  padding-bottom: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  cursor: grab;
}
.active-listings-grid::-webkit-scrollbar { display: none; }
.active-listings-grid:active { cursor: grabbing; }

.active-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  min-width: 340px;
  max-width: 340px;
  flex-shrink: 0;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.active-card:hover {
  box-shadow: 0 20px 48px rgba(28,19,11,0.16);
  transform: translateY(-4px);
}
.active-card-photo {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--cream-dark);
}
.active-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.active-card:hover .active-card-img { transform: scale(1.05); }
.active-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}
.active-card-status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  background: var(--orange);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 6px;
  z-index: 2;
}
.active-card-price-overlay {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.active-card-price-overlay .price {
  font-family: 'Georgia', serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.active-card-price-overlay .psf {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  text-align: right;
}
.active-card-badges {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.active-card-badge {
  padding: 4px 9px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  border-radius: 4px;
}
.active-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.active-card-town {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 5px;
}
.active-card-town::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}
.active-card-addr {
  font-family: 'Georgia', serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.005em;
}
.active-card-tagline {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  font-style: italic;
}
.active-card-specs {
  display: flex;
  gap: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: var(--text);
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 4px;
}
.active-card-spec { display: flex; align-items: center; gap: 4px; }
.active-card-spec .num { font-weight: 700; }
.active-card-spec .lbl { color: var(--muted); font-size: 11px; }
.active-card-cta {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.active-card-btn {
  flex: 1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 12px;
  border-radius: 100px;
  text-decoration: none;
  text-align: center;
  border: 1.5px solid;
  transition: background 0.15s, color 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.active-card-btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.active-card-btn-primary:hover { background: var(--orange-bright); }
.active-card-btn-secondary {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.active-card-btn-secondary:hover { border-color: var(--orange); color: var(--orange); }
.active-arrow {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  transition: background 0.2s, border-color 0.2s;
}
.active-arrow:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.active-arrow-left  { left: max(18px, calc((100vw - 1200px) / 2 + 18px)); }
.active-arrow-right { right: max(18px, calc((100vw - 1200px) / 2 + 18px)); }
@media (max-width: 768px) {
  .active-listings-grid-wrap { margin-left: 0; margin-right: 0; }
  .active-listings-grid {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 12px;
    gap: 14px;
  }
  .active-card { min-width: 280px; max-width: 280px; }
  .active-arrow { display: none; }
  .active-card-photo { height: 180px; }
  .active-card-addr { font-size: 17px; }
  .active-card-price-overlay .price { font-size: 22px; }
}

/* ─── REVIEWS ─── */
#reviews { background: var(--dark); color: #fff; }
.reviews-header { text-align: center; margin-bottom: 48px; }
.reviews-label { color: var(--orange-bright); }
.reviews-h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 12px;
  color: #fff;
}
.reviews-h2 .italic-accent { color: var(--orange-bright); }
.reviews-sub { font-size: 16px; color: rgba(255,255,255,0.6); margin-top: 12px; }
.reviews-slider-wrap {
  position: relative;
  padding-top: 12px;
  margin-top: -12px;
}
.reviews-scroll {
  display: flex;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.reviews-scroll::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 320px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.review-card:hover {
  border-color: rgba(249,115,22,0.35);
  transform: translateY(-2px);
}
.review-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.review-date { font-size: 11px; color: rgba(255,255,255,0.45); }
.review-stars {
  color: var(--orange-bright);
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.review-name {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.review-role {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, transform 0.18s;
  z-index: 10;
  backdrop-filter: blur(6px);
  user-select: none;
}
.review-arrow:hover {
  background: rgba(234,88,12,0.35);
  border-color: var(--orange);
  transform: translateY(-50%) scale(1.08);
}
.review-arrow.arrow-prev { left: -22px; }
.review-arrow.arrow-next { right: -22px; }

/* ─── NEWS ─── */
#news { background: var(--cream); border-top: 1px solid var(--border); }
.news-header { text-align: center; margin-bottom: 48px; }
.news-h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.news-sub {
  font-size: 16px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.news-scroll-wrap {
  position: relative;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-top: 12px;
  margin-top: -12px;
}
.news-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-left: max(64px, calc((100vw - 1200px) / 2 + 64px));
  padding-right: max(64px, calc((100vw - 1200px) / 2 + 64px));
  padding-bottom: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.news-scroll::-webkit-scrollbar { display: none; }
.news-scroll:active { cursor: grabbing; }
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  min-width: 360px;
  max-width: 360px;
  flex-shrink: 0;
  transition: box-shadow 0.25s, transform 0.25s;
}
.news-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,0.10); transform: translateY(-2px); }
.news-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.28) 100%);
  pointer-events: none;
  z-index: 1;
}
.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.news-card:hover .news-img { transform: scale(1.04); }
.news-img-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8a8b6c 0%, #4d513a 100%);
}
.news-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--orange);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}
.news-body { padding: 20px; }
.news-date {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.news-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}
.news-excerpt {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.news-mytake {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--orange-pale);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text);
}
.news-mytake-label {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 3px;
}
.news-source {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-source::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}
.news-arrow {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  transition: background 0.2s, border-color 0.2s;
}
.news-arrow:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.news-arrow-left  { left: max(18px, calc((100vw - 1200px) / 2 + 18px)); }
.news-arrow-right { right: max(18px, calc((100vw - 1200px) / 2 + 18px)); }

/* ─── FAQ ─── */
.faq-header { text-align: center; margin-bottom: 40px; }
.faq-h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 12px;
  line-height: 1.1;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  transition: box-shadow 0.2s;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--orange);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-body {
  margin-top: 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-body a { color: var(--orange); text-decoration: none; }
.faq-body a:hover { text-decoration: underline; }
.faq-body strong { color: var(--text); }

/* ─── CONTACT ─── */
#contact {
  background: linear-gradient(180deg,
    var(--cream) 0, var(--cream-dark) 110px,
    var(--cream-dark) calc(100% - 110px), var(--cream) 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.contact-left { display: flex; flex-direction: column; gap: 28px; }
.contact-h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.contact-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}
.contact-sub strong { color: var(--text); }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.contact-method:hover {
  border-color: var(--orange);
  background: var(--orange-pale);
}
.contact-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--orange-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-method-icon.blue-icon { background: var(--blue-pale); }
.contact-method-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.contact-method-value {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: var(--muted);
}
.contact-right { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}
.form-input, .form-textarea {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--cream);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--orange); }
.form-textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 700;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--orange-bright); }
.btn-submit:disabled { opacity: 0.7; cursor: wait; }

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 64px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--orange-bright); }
.footer-desc {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-desc strong { color: rgba(255,255,255,0.92); }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.footer-col-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy, .footer-legal {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
  padding: 14px 22px 14px 16px;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,211,102,0.5);
}
.wa-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.wa-pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  background: var(--orange-bright);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.7; }
}

/* ─── STICKY MOBILE CTA BAR ─── */
.stickybar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(24,16,10,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: none; /* Shown via JS / mobile media query */
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 6px;
}
.stickybar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s;
}
.stickybar-btn:active { background: rgba(255,255,255,0.10); }
.stickybar-btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.stickybar-btn-primary:active { background: var(--orange-bright); }

/* Hide hamburger by default (desktop) */
.hamburger { display: none; }
.mobile-drawer { display: none; }

/* ════════════════════════════════════════════════════════════════════════
   MOBILE — ≤ 768px
   ════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ─── NAV ─── */
  nav { padding: 0 20px; height: 56px; }
  .nav-links { display: none; }
  .btn-cta { display: none; }

  /* ─── HERO — split layout: photo on top, content on cream below ─── */
  #home {
    display: flex;
    flex-direction: column;
    min-height: auto;
    overflow: hidden;
  }
  .hero-right {
    position: relative;
    width: 100%;
    height: 42vh;
    min-height: 300px;
    max-height: 420px;
    flex-shrink: 0;
    order: 1;
  }
  .hero-bg-img { object-position: center 30%; }
  .hero-img-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 26%);
  }

  /* Editorial overlay only on mobile (where photo is the focal hero block) */
  .hero-photo-overlay {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
  }
  .hero-stamp--top {
    position: absolute;
    top: 18px;
    left: 20px;
  }
  .hero-credit-strip { display: none; }
  .hero-left {
    position: relative;
    background: var(--cream);
    padding: 26px 20px 32px;
    gap: 16px;
    order: 2;
  }
  .hero-h1 {
    font-size: clamp(31px, 8.6vw, 40px);
    letter-spacing: -0.02em;
    color: var(--text);
  }
  .hero-h1 .italic-accent { color: var(--orange); }
  .hero-sub {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 100%;
  }
  .hero-sub strong { color: var(--text); }
  /* Photo carries the 'Singapore HDB Specialist' stamp already; drop the
     duplicate pill so the content goes straight to the headline. */
  .hero-badge { display: none; }
  .hero-cta { flex-direction: column; gap: 8px; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
  }
  .hero-stats > div {
    text-align: center;
    padding: 14px 8px;
    border-right: 1px solid var(--border);
  }
  .hero-stats > div:last-child { border-right: none; }
  .stat-num { font-size: 22px; color: var(--text); }
  .stat-label { font-size: 10px; color: var(--muted); }

  /* ─── TRUST STRIP ─── */
  .trustbar { padding: 12px 16px; gap: 14px; font-size: 11px; }
  .trustbar-item .lbl { font-size: 9.5px; }

  /* ─── TICKER ─── */
  .ticker-track span { font-size: 12px; margin-right: 28px; }
  .ticker-track { animation-duration: 50s; }

  /* ─── SECTIONS ─── */
  .section { padding: 56px 20px; }
  .section-narrow { padding: 0; }

  /* ─── ABOUT ─── */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img { aspect-ratio: 4/5; object-position: center 10%; }
  .about-img-wrap::before { display: none; }
  .satisfaction-card { right: 8px; bottom: 8px; padding: 10px 14px; }
  .about-h2 { font-size: 30px; }
  .traits-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .trait-card { padding: 16px; }
  .trait-icon { font-size: 22px; }
  .trait-title { font-size: 13px; }

  /* ─── PARALLAX BANDS ─── */
  .parallax-band, .art-band { height: 380px; }
  .parallax-overlay { padding: 22px 20px; }
  .parallax-label { font-size: 36px; }
  .parallax-sub { font-size: 13px; }

  /* ─── VALUATION TOOL ─── */
  .val-h2 { font-size: 30px; }
  .val-sub { font-size: 14px; }
  .val-card { padding: 22px 20px; border-radius: 18px; }
  .val-chip { font-size: 12.5px; padding: 7px 12px; }
  .val-result-range { font-size: 24px; }
  .val-input-dark { font-size: 16px; } /* prevent iOS zoom */

  /* ─── COVERAGE / MAP ─── */
  .coverage-h2 { font-size: 28px; }
  .map-wrap { padding: 8px; border-radius: 14px; }
  .map-detail { padding: 18px 20px; border-radius: 14px; margin-bottom: 24px; }
  .map-detail-name { font-size: 22px; }
  .map-detail-row { font-size: 12.5px; gap: 12px; }
  .map-detail-val { font-size: 12.5px; }
  .map-price-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .map-price-val { font-size: 14px; }

  /* ─── TRACK RECORD ─── */
  .track-h2 { font-size: 28px; }
  .listings-scroll-wrap { margin-left: 0; margin-right: 0; }
  .listings-grid {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 12px;
    gap: 14px;
  }
  .listing-card { min-width: 240px; max-width: 240px; }
  .listings-arrow { display: none; }
  .listing-img { height: 160px; }
  .ach-label { font-size: 9px; }
  .ach-value { font-size: 16px; }
  .listing-flat-type { font-size: 11px; }

  /* ─── REVIEWS ─── */
  .review-arrow { display: none; }
  .reviews-slider-wrap { padding: 0; margin: 0; }
  .review-card { flex: 0 0 280px; padding: 20px; }
  .review-text { font-size: 13px; line-height: 1.6; }

  /* ─── NEWS ─── */
  .news-h2 { font-size: 28px; }
  .news-scroll-wrap { margin-left: -20px; margin-right: -20px; }
  .news-scroll {
    padding-left: 20px;
    padding-right: 20px;
    gap: 14px;
  }
  .news-card { min-width: 272px; max-width: 272px; }
  .news-arrow { display: none; }
  .news-title { font-size: 16px; }
  .news-excerpt { font-size: 13px; }

  /* ─── FAQ ─── */
  .faq-h2 { font-size: 26px; }
  .faq-item { padding: 14px 18px; }
  .faq-item summary { font-size: 14px; }
  .faq-body { font-size: 13.5px; }

  /* ─── CONTACT ─── */
  .contact-h2 { font-size: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-methods { gap: 10px; }
  .contact-method { padding: 14px 16px; gap: 12px; }
  .contact-method-label { font-size: 11px; }
  .form-group[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .form-input, .form-textarea { font-size: 16px; } /* prevent iOS zoom */
  .btn-submit { font-size: 14px; padding: 15px; min-height: 48px; }

  /* ─── FOOTER ─── */
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 44px 20px 24px; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* ─── WHATSAPP FLOAT — collapse to icon, lift above sticky bar ─── */
  /* Floating WhatsApp pill removed on mobile: the sticky bottom bar already
     carries Call / WhatsApp / Free Valuation. One persistent CTA, not three. */
  .wa-float { display: none; }

  /* ─── STICKY MOBILE CTA BAR (visible) ─── */
  .stickybar { display: grid; }
  body { padding-bottom: 72px; } /* avoid sticky-bar overlap */

  /* ─── HAMBURGER ─── */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
  }
  .hamburger .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
  }
  .hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ─── MOBILE DRAWER ─── */
  .mobile-drawer {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    z-index: 99;
    flex-direction: column;
    padding: 22px 20px 96px;
    overflow-y: auto;
  }
  .mobile-drawer.open { display: flex; }
  .mobile-drawer .drawer-link {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16.5px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    padding: 13px 2px;
    border-bottom: 1px solid var(--border);
    display: block;
    transition: color 0.15s;
  }
  .mobile-drawer .drawer-link:active { color: var(--orange); }

  /* Drawer hierarchy: section labels + primary service cards */
  .drawer-section-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 12px;
  }
  .drawer-section-label:not(:first-child) { margin-top: 26px; margin-bottom: 6px; }
  .drawer-actions { display: flex; flex-direction: column; gap: 10px; }
  .drawer-action {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 13px 14px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
  }
  .drawer-action:active { border-color: var(--orange-light); }
  .drawer-action-ico {
    width: 42px; height: 42px; border-radius: 11px;
    background: var(--orange-pale);
    display: flex; align-items: center; justify-content: center; flex: none;
  }
  .drawer-action-ico .ico { width: 22px; height: 22px; color: var(--orange); }
  .drawer-action-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
  .drawer-action-title { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-weight: 800; font-size: 16px; color: var(--text); }
  .drawer-action-sub { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 12px; color: var(--muted); margin-top: 2px; }
  .drawer-action-arrow { color: var(--orange); font-size: 18px; font-weight: 700; flex: none; }
  .mobile-drawer .drawer-cta {
    margin-top: 28px;
    background: var(--orange);
    color: #fff;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    font-size: 16px;
    border-bottom: none !important;
  }
}

@media (max-width: 390px) {
  .hero-h1 { font-size: 32px; }
  .traits-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: 18px; }
}

/* ─── PREFERS REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ─── SUBPAGE HEADER (multi-page structure) ─── */
.page-hero {
  padding: 84px 24px 76px;
  text-align: center;
  background: var(--cream);
}
@media (max-width: 600px) {
  .page-hero { padding: 56px 20px 48px; }
}
.page-hero-inner { max-width: 860px; margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}
.page-hero .page-hero-sub {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}
.breadcrumbs {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs .crumb-sep { margin: 0 6px; opacity: 0.6; }

/* SEO support copy blocks on subpages */
.page-copy {
  max-width: 760px;
  margin: 0 auto;
}
.page-copy h2 { font-size: 26px; font-weight: 800; margin: 36px 0 12px; letter-spacing: -0.01em; }
.page-copy p  { color: var(--text); font-size: 16px; line-height: 1.8; margin-bottom: 14px; }
.page-copy a  { color: var(--orange); }

/* CTA band reused at the bottom of subpages */
.page-cta-band {
  /* soft edge into the dark close: fast enough that no muddy midtone shows */
  background: linear-gradient(180deg,
    var(--cream) 0,
    #ecdfc9 22px,
    #c9a276 48px,
    #7a4f2c 72px,
    #3A200E 95px,
    var(--dark) 115px);
  color: var(--cream);
  text-align: center;
  padding: 130px 24px 64px;
}
.page-cta-band h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 12px; }
.page-cta-band p  { color: rgba(250,248,243,0.75); max-width: 540px; margin: 0 auto 28px; font-size: 15px; line-height: 1.7; }
.page-cta-band .btn-primary { display: inline-block; }

/* ─── HOMEPAGE HUB CARDS ─── */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.hub-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-light);
}
.hub-card-icon { font-size: 26px; margin-bottom: 12px; }
.hub-card-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 6px;
}
.hub-card-desc {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.hub-card-link {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

/* ─── TOWN GUIDE PAGES ─── */
.town-price-table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}
.town-price-table th {
  background: var(--dark);
  color: var(--cream);
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 16px;
}
.town-price-table td {
  padding: 13px 16px;
  border-top: 1px solid var(--border);
}
.town-price-table .tp-type { font-weight: 700; }
.town-price-table .tp-median { font-weight: 800; color: var(--orange); }
.town-price-table .tp-count { color: var(--muted); }
@media (max-width: 600px) {
  .town-price-table { font-size: 12.5px; }
  .town-price-table th, .town-price-table td { padding: 10px 10px; }
}

.town-cases-grid {
  display: flex;
  gap: 18px;
  margin-top: 36px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.town-cases-grid::-webkit-scrollbar { display: none; }
.town-cases-grid:active { cursor: grabbing; }
.town-cases-grid .listing-card { flex: 0 0 auto; scroll-snap-align: start; }

.town-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 940px;
  margin: 0 auto;
}
.town-fact {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 17px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.town-fact:hover { border-color: var(--orange-light); transform: translateY(-2px); }
.town-fact-ico {
  display: inline-flex;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--orange-pale);
  align-items: center; justify-content: center;
  flex: none;
}
.town-fact-ico .ico { width: 18px; height: 18px; color: var(--orange); }
.town-fact-text { flex: 1; min-width: 0; }
.town-fact-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: 14.5px;
  margin-bottom: 3px;
}
.town-fact-body { font-size: 13px; line-height: 1.5; color: var(--muted); }
.town-fact-body a { color: var(--orange); }
@media (max-width: 640px) {
  .town-facts { grid-template-columns: 1fr; }
}

.town-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}
.town-link-pill {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.town-link-pill:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-1px); }

/* ─── TOWN TREND CHART ─── */
.town-chart-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px 16px;
  box-shadow: var(--shadow-sm);
}
.town-chart-svg { width: 100%; height: auto; display: block; }
.tc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 14px;
}
.tc-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.tc-swatch {
  width: 14px; height: 4px;
  border-radius: 2px;
  display: inline-block;
}

/* ─── TOWN REVIEWS STRIP (light cards, unlike the dark /reviews/ slider) ─── */
.town-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 36px auto 0;
}
.town-review {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.town-review-stars { color: var(--orange); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.town-review-text { font-size: 15px; line-height: 1.75; color: var(--text); margin-bottom: 16px; }
.town-review-author {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}
.town-reviews-more { text-align: center; margin-top: 26px; }

/* ─── INTERACTIVE CHART EXTRAS ─── */
.tc-wrap { position: relative; }
.tc-legend-item {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: border-color 0.15s, opacity 0.15s;
}
.tc-legend-item:hover { border-color: var(--orange); }
.tc-legend-item.is-off { opacity: 0.38; }
.tc-legend-item.is-off .tc-swatch { background: var(--muted) !important; }
.tc-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--dark);
  color: var(--cream);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.7;
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  z-index: 5;
}
.tc-tip-month {
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--orange-light);
}
.tc-tip-row { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.tc-tip-row strong { color: #fff; }
.tc-tip-row em { opacity: 0.6; }

/* ─── MOTION & POLISH ─── */
/* All entrance animation is gated behind html.anim, added by JS only when
   the user does not prefer reduced motion. No JS = everything visible. */

/* Frosted sticky nav */
nav {
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
}

/* Sliding underline on nav links */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: -5px;
  height: 2px;
  background: var(--orange);
  transition: right 0.22s ease;
}
.nav-links a:hover::after { right: 0; }

/* Button lift */
.btn-primary, .btn-cta, .btn-secondary, .btn-submit {
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.btn-primary:hover, .btn-cta:hover, .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -12px rgba(234, 88, 12, 0.5);
}
.btn-secondary:hover { transform: translateY(-2px); }

/* Scroll reveal */
html.anim .rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--rv-delay, 0ms);
  will-change: opacity, transform;
}
html.anim .rv.rv-in {
  opacity: 1;
  transform: none;
}

/* Hero entrance (transform only, never hides the LCP content) */
html.anim .hero-badge   { animation: rise 0.5s ease both; }
html.anim .hero-h1      { animation: rise 0.55s 0.05s ease both; }
html.anim .hero-sub     { animation: rise 0.55s 0.12s ease both; }
html.anim .hero-cta     { animation: rise 0.55s 0.18s ease both; }
html.anim .hero-stats   { animation: rise 0.55s 0.26s ease both; }
html.anim .page-hero-inner { animation: rise 0.55s ease both; }
@keyframes rise {
  from { transform: translateY(16px); }
  to   { transform: none; }
}
html.anim .hero-bg-img { animation: hero-settle 1.8s ease both; }
@keyframes hero-settle {
  from { transform: scale(1.045); }
  to   { transform: none; }
}

/* Trend chart lines draw in (paths carry pathLength="1") */
html.anim .town-chart-svg path[pathLength] {
  stroke-dasharray: 1;
  animation: tc-draw 1.2s 0.15s ease-out both;
}
@keyframes tc-draw {
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}

/* ─── WATERCOLOR ART BANDS ─── */
.parallax-photo[data-bg="art-heartland-sunset"] {
  background-image: url('art/heartland-sunset-watercolor.jpg');
  background-color: #f3e2c8;
}
.parallax-photo[data-bg="art-waterway"] {
  background-image: url('art/waterway-watercolor.jpg');
  background-color: #e8eedf;
}
.parallax-photo[data-bg="art-oasis-bridges"] {
  background-image: url('art/oasis-bridges-watercolor.jpg');
  background-color: #eef0e4;
}

/* Readable chip behind art-band sub-lines */
.parallax-sub-chip {
  display: inline-block;
  background: rgba(30, 18, 10, 0.55);
  padding: 6px 14px;
  border-radius: 8px;
}

/* Buy page art bands */
.parallax-photo[data-bg="art-buy-skyline"] {
  background-image: url('art/buy-skyline-watercolor.jpg');
  background-color: #dceaf2;
}
.parallax-photo[data-bg="art-buy-courtyard"] {
  background-image: url('art/buy-courtyard-watercolor.jpg');
  background-color: #e9ded2;
}
.parallax-photo[data-bg="art-buy-towers"] {
  background-image: url('art/buy-towers-watercolor.jpg');
  background-color: #e3e6e0;
  background-position: center 32%;
}

/* ─── ART BAND BLENDING ─── */
/* Watercolor bands sit on the page like a wash on paper: a cream
   feather overlay fades the artwork out on every side (plain gradients,
   works in every browser) and the band text uses dark ink. */
.art-band {
  background: var(--cream);
  height: 420px;
}
.art-band .parallax-vignette { display: none; }
.art-band .parallax-photo { opacity: 0.94; }
.art-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* every edge fades fully to the page colour; faint wash overall */
  background:
    linear-gradient(to bottom, var(--cream) 0%, rgba(250, 248, 243, 0) 34%),
    linear-gradient(to top, var(--cream) 0%, rgba(250, 248, 243, 0) 34%),
    linear-gradient(to right, rgba(250, 248, 243, 0.95) 0%, rgba(250, 248, 243, 0) 22%),
    linear-gradient(to left, rgba(250, 248, 243, 0.95) 0%, rgba(250, 248, 243, 0) 22%),
    rgba(250, 248, 243, 0.10);
}
.art-band .parallax-overlay { color: var(--dark); }
.art-band .parallax-label { text-shadow: 0 1px 0 rgba(250, 248, 243, 0.6); }

/* ─── WATERCOLOR PAPER BACKGROUND ─── */
/* Faint paper grain over the whole page plus soft warm washes in the
   base background, so every section sits on the same sheet of paper. */
body {
  background: var(--cream);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(45deg, rgba(58, 32, 14, 0.014) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(58, 32, 14, 0.008) 0 2px, transparent 2px 5px);
  opacity: 0.8;
}


/* ─── HOMEPAGE WATERCOLOR MAKEOVER ─── */
/* Photo bands: feathered edges into the page, white text retained */
.photo-soft::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--cream) 0%, rgba(250, 248, 243, 0) 24%),
    linear-gradient(to top, var(--cream) 0%, rgba(250, 248, 243, 0) 24%),
    linear-gradient(to right, rgba(250, 248, 243, 0.9) 0%, rgba(250, 248, 243, 0) 14%),
    linear-gradient(to left, rgba(250, 248, 243, 0.9) 0%, rgba(250, 248, 243, 0) 14%);
}

/* Dusk divider: same amber ramp as the CTA bands, leads into the dark footer */
.dusk-divider {
  height: 110px;
  background: linear-gradient(180deg,
    var(--cream) 0,
    #ecdfc9 22px,
    #c9a276 50px,
    #7a4f2c 75px,
    #3A200E 95px,
    var(--dark) 110px);
}

/* Ticker: let the paper grain breathe through */
.ticker-wrap { background: rgba(58, 32, 14, 0.94); }


/* Homepage art bands */
.parallax-photo[data-bg="art-home-waterway"] {
  background-image: url('art/home-waterway-sunset-watercolor.jpg');
  background-color: #f3e0c0;
}
.parallax-photo[data-bg="art-home-park"] {
  background-image: url('art/home-heartland-park-watercolor.jpg');
  background-color: #e4ecd8;
}

/* Hero portrait feather: masked on the image itself so it scales and
   settles together with the photo's entrance animation */
.hero-bg-img {
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0, #000 38%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0, #000 38%);
}
@media (max-width: 768px) {
  /* Photo banner dissolves downward into the cream content below it */
  .hero-bg-img {
    -webkit-mask-image: linear-gradient(to bottom, #000 58%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, #000 58%, rgba(0,0,0,0) 100%);
  }
}


/* ─── CAROUSEL SWIPE FEEL ─── */
/* Manual carousels snap gently so swipes land cleanly (proximity, not
   mandatory, so free scrolling still works). Auto-scrolling track record
   is intentionally excluded. */
.active-listings-grid,
.news-scroll,
.reviews-scroll {
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.active-card,
.news-card,
.review-card {
  scroll-snap-align: start;
}


/* ─── LINE ICONS (replacing emoji) ─── */
.ico { flex: none; }
.trait-icon .ico { width: 26px; height: 26px; color: var(--orange); display: block; }
.hub-card-icon .ico { width: 30px; height: 30px; color: var(--orange); display: block; }
.contact-method-icon .ico { width: 20px; height: 20px; color: var(--orange); }
.contact-method-icon.blue-icon .ico,
.contact-method-icon[style*="blue-pale"] .ico { color: var(--blue); }
.trustbar-icon .ico { width: 14px; height: 14px; color: var(--dark-mid); vertical-align: -2px; }
.stickybar-btn .ico { width: 17px; height: 17px; vertical-align: -3px; }


/* Punggol town-page art bands */
.parallax-photo[data-bg="art-pg-waterway-dusk"]  { background-image: url('art/punggol-waterway-dusk.jpg');  background-color: #e9d9c2; }
.parallax-photo[data-bg="art-pg-sphere-sunset"]  { background-image: url('art/punggol-sphere-sunset.jpg');  background-color: #ecc89a; }
.parallax-photo[data-bg="art-pg-green-terraces"] { background-image: url('art/punggol-green-terraces.jpg'); background-color: #cfe0c2; }
.parallax-photo[data-bg="art-pg-boardwalk"]      { background-image: url('art/punggol-boardwalk.jpg');      background-color: #cfe0c2; }
