/* ============================================================
   THE PEARL SQUARE — design tokens & global styles
   Direction: warm-light editorial × clean card UI.
   Palette anchored on the logo: amber #E29A2E + charcoal ink
   on warm off-whites. Type: Archivo Black (display, matches
   wordmark) + Archivo (UI/body) + Instrument Serif (italic
   editorial accents).
   ============================================================ */

:root {
  /* palette: pure white stage · logo gold · warm ink · ocean teal */
  --bg: #FFFFFF;
  --bg-deep: #F6F8FB;
  --card: #FFFFFF;
  --ink: #202C49;
  --ink-soft: #3E4C6B;
  --muted: #74809B;
  --line: #E2E6EE;
  --line-soft: #EEF1F6;
  --accent: #E09820;
  --accent-deep: #B97A0E;
  --accent-soft: #F7E3BB;
  --accent-ghost: #FCF5E7;
  --teal: #0D5F63;
  --teal-deep: #0A4649;
  --teal-soft: #CDE4E2;
  --teal-ghost: #EEF6F5;
  --green: oklch(0.62 0.11 155);
  --water: #D9E7E5;
  --water-deep: #BFD6D4;
  --shadow-sm: 0 1px 2px rgba(32, 44, 73, 0.05), 0 2px 8px rgba(32, 44, 73, 0.05);
  --shadow-md: 0 2px 6px rgba(32, 44, 73, 0.06), 0 10px 28px rgba(32, 44, 73, 0.09);
  --shadow-lg: 0 4px 10px rgba(32, 44, 73, 0.07), 0 20px 48px rgba(32, 44, 73, 0.13);
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --font-ui: "Montserrat", "Helvetica Neue", sans-serif;
  --font-display: "Montserrat", "Helvetica Neue", sans-serif;
  --font-serif: "Montserrat", "Helvetica Neue", sans-serif;
  --nav-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.44, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--accent-soft); color: var(--accent-deep); }

/* ---------- type helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.005em;
  text-transform: none;
}
.serif-it { font-family: var(--font-serif); font-style: normal; font-weight: 700; text-transform: none; letter-spacing: inherit; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 36px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: none;
  border-radius: 6px;
  padding: 14px 26px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: #FFF; }
.btn-primary:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #FFF; }
.btn-accent:hover { background: var(--accent-deep); color: #FFF; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(224, 152, 32, 0.35); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-wa { background: #E9F7EE; color: #1E7A45; border: 1.5px solid #CDEBD8; }
.btn-wa:hover { background: #25D366; color: #FFF; border-color: #25D366; transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- segmented toggles ---------- */
.seg {
  display: inline-flex;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  position: relative;
  gap: 2px;
}
.seg button {
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.25s ease;
}
.seg button.on { color: var(--ink); }
.seg .seg-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  background: #FFF;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: left 0.32s var(--ease-spring), width 0.32s var(--ease-spring);
}
.seg.seg-mini button { padding: 5px 13px; font-size: 12.5px; }
.seg.seg-block { display: flex; width: 100%; }
.seg.seg-block button { flex: 1; }

/* ---------- chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #FFF;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent-deep); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #FFF; }

/* ---------- cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- image placeholder (user will drop real photos) ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(
    -45deg,
    #EFE9DD 0px, #EFE9DD 10px,
    #F6F1E7 10px, #F6F1E7 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph::after {
  content: attr(data-label);
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #A89C86;
  background: rgba(255, 255, 255, 0.82);
  padding: 5px 11px;
  border-radius: 6px;
  white-space: nowrap;
}
.ph[data-label=""]::after { display: none; }
.ph-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ---------- reveal-on-scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
.rv-d4 { transition-delay: 0.32s; }

[data-motion="off"] .rv { opacity: 1; transform: none; transition: none; }

/* ---------- nav (floating white pill, two-tone: ink logo chip) ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px clamp(14px, 2.5vw, 28px) 0;
  pointer-events: none; /* the pill re-enables */
  transition: padding 0.35s var(--ease-out);
}
.nav .nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  padding: 8px 10px 8px 8px;
  box-shadow: 0 1px 2px rgba(23, 20, 15, 0.12), 0 14px 38px rgba(23, 20, 15, 0.22);
  transition: box-shadow 0.35s ease, padding 0.35s var(--ease-out);
}
.nav.scrolled { padding-top: 8px; }
.nav.scrolled .nav-inner {
  box-shadow: 0 2px 4px rgba(23, 20, 15, 0.14), 0 20px 52px rgba(23, 20, 15, 0.30);
  padding-top: 6px; padding-bottom: 6px;
}
.nav-logo {
  display: flex; align-items: center;
  background: transparent;
  border-radius: 999px;
  padding: 9px 14px 9px 16px;
  transition: transform 0.25s var(--ease-out);
}
.nav-logo:hover { transform: scale(1.02); }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: 2px; margin-left: 6px; }
.nav-links a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.66);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { color: #FFF; background: rgba(255, 255, 255, 0.08); }
.nav-links a.active { color: #FFF; font-weight: 700; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 3px;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--accent);
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* dark-pill variants of shared controls */
.nav .seg {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}
.nav .seg button { color: rgba(255, 255, 255, 0.6); }
.nav .seg button.on { color: var(--ink); }

.fav-btn-nav {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #FFF;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.nav .fav-btn-nav {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #FFF;
}
.fav-btn-nav:hover { border-color: var(--accent); transform: translateY(-1px); }
.fav-btn-nav .count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 18px; height: 18px;
  border-radius: 9px;
  background: var(--accent);
  color: #2A1F0A;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  animation: pop-in 0.3s var(--ease-spring);
}
@keyframes pop-in { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------- listing card ---------- */
.lcard {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  position: relative;
  cursor: pointer;
}
.lcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lcard .ph { aspect-ratio: 4 / 3; transition: filter 0.3s ease; }
.lcard:hover .ph { filter: brightness(1.03); }
.lcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lcard-price { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 7px; }
.lcard-price .per { font-size: 13px; font-weight: 500; color: var(--muted); }
.lcard-title { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.lcard-area { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.lcard-specs { display: flex; gap: 14px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; }
.lcard-specs span { display: flex; align-items: center; gap: 5px; }
.lcard-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; }
.badge {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  backdrop-filter: blur(4px);
  display: inline-flex; align-items: center; gap: 5px;
}
.badge.amber { background: var(--accent); color: #2A1F0A; }
.heart {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--ease-spring), background 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.heart:hover { transform: scale(1.12); }
.heart.on { background: var(--accent); }
.heart.on svg { animation: heart-pop 0.35s var(--ease-spring); }
@keyframes heart-pop { 0% { transform: scale(0.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

.cmp-toggle {
  position: absolute; top: 12px; right: 58px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--ease-spring), background 0.2s ease, opacity 0.2s ease;
  box-shadow: var(--shadow-sm);
  opacity: 0;
}
.lcard:hover .cmp-toggle, .cmp-toggle.on { opacity: 1; }
.cmp-toggle:hover { transform: scale(1.12); }
.cmp-toggle.on { background: var(--ink); color: #FFF; }

/* ---------- grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1080px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- inputs ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 15px;
  background: #FFF;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* range slider */
input[type="range"].rng {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: var(--line);
  outline: none;
  padding: 0;
  border: none;
}
input[type="range"].rng::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #FFF;
  box-shadow: var(--shadow-sm);
  cursor: grab;
  transition: transform 0.15s ease;
}
input[type="range"].rng::-webkit-slider-thumb:hover { transform: scale(1.15); }

/* ---------- map ---------- */
.map-zone {
  cursor: pointer;
  transition: fill 0.25s ease, transform 0.3s var(--ease-out), filter 0.3s ease;
  transform-box: fill-box;
  transform-origin: center;
  stroke: #FAF7F2;
  stroke-width: 2.5;
}
.map-zone:hover, .map-zone.hot {
  fill: var(--accent) !important;
  transform: scale(1.045) translateY(-4px);
  filter: drop-shadow(0 10px 16px rgba(226, 154, 46, 0.45));
}
.map-zone.dim { opacity: 0.45; }
.map-label { pointer-events: none; font-family: var(--font-ui); font-weight: 600; fill: var(--ink-soft); }

/* staggered entrance: parent .rv gets .in from the reveal observer */
.mz {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.rv.in .mz { opacity: 1; transform: none; }
[data-motion="off"] .mz { opacity: 1 !important; transform: none !important; transition: none !important; }

@keyframes map-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  70% { transform: scale(3.2); opacity: 0; }
  100% { transform: scale(3.2); opacity: 0; }
}
.map-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: map-pulse 2.6s ease-out infinite;
}
@keyframes sun-breathe {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.25); opacity: 0.15; }
}
.map-sun-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: sun-breathe 5s ease-in-out infinite;
}
[data-motion="off"] .map-pulse, [data-motion="off"] .map-sun-ring { animation: none; }

.map-tip {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  background: var(--ink);
  color: #FFF;
  font-size: 13px;
  line-height: 1.35;
  padding: 9px 13px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: fade-in 0.15s ease;
}

/* district carousel */
@keyframes map-swap {
  from { opacity: 0; transform: translateX(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
[data-motion="off"] [style*="map-swap"] { animation: none !important; }

.map-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.map-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}
.map-pill:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-1px); }
.map-pill.on { background: var(--ink); border-color: var(--ink); color: #FFF; }
.map-pill-n {
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.map-pill.on .map-pill-n { background: rgba(255,255,255,0.18); color: #FFF; }

.map-nav-arrow {
  position: absolute;
  top: 44%;
  z-index: 6;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.map-nav-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.map-nav-arrow.left { left: -6px; }
.map-nav-arrow.right { right: -6px; }

.map-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}
.map-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.map-dot:hover { background: var(--muted); }
.map-dot.on { background: var(--accent-deep); width: 22px; border-radius: 5px; }

/* live list panel */
.map-panel {
  padding: 26px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  opacity: 1;
  animation: fade-in 0.35s ease;
}
.map-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.map-panel-stats { display: flex; gap: 14px; flex-shrink: 0; }
.map-panel-stats .v { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; text-align: right; }
.map-panel-stats .l { font-size: 10.5px; color: var(--muted); text-align: right; margin-top: 1px; }
.map-panel-clear {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}
.map-panel-clear:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.map-panel-vibe {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.maplist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  max-height: 360px;
  margin: 0 -6px;
  padding: 2px 6px;
}
.maplist::-webkit-scrollbar { width: 6px; }
.maplist::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.maprow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--bg-deep);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-ui);
  transition: all 0.18s ease;
  animation: rise-in-soft 0.4s var(--ease-out) backwards;
}
.maprow:hover { border-color: var(--accent); background: var(--bg); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.maprow-ph { width: 64px; height: 56px; border-radius: 10px; flex-shrink: 0; }
.maprow-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.maprow-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.maprow-tags { display: flex; gap: 5px; margin-top: 5px; }
.maprow-tags span {
  font-size: 10px; font-weight: 600; color: var(--accent-deep);
  background: var(--accent-soft); padding: 2px 7px; border-radius: 999px;
  white-space: nowrap;
}
.maprow-price { font-weight: 800; font-size: 14.5px; letter-spacing: -0.01em; }
.maprow-type { font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.maplist-empty {
  text-align: center;
  padding: 34px 16px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.6;
}
.maplist-empty div { color: var(--line); }

/* district filter chips on browse */
.chip-dist { font-weight: 700; }
.chip-dist .chip-n {
  font-size: 10.5px;
  font-weight: 700;
  margin-left: 7px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.chip-dist.on .chip-n { background: rgba(255,255,255,0.2); color: #FFF; }

/* ---------- drawers ---------- */
.drawer-veil {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(33, 30, 25, 0.35);
  backdrop-filter: blur(3px);
  animation: fade-in 0.25s ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: min(440px, 92vw);
  background: var(--bg);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  animation: slide-in 0.38s var(--ease-out);
}
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }

/* compare bar */
.cmp-bar {
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  background: var(--ink);
  color: #FFF;
  border-radius: 999px;
  padding: 10px 12px 10px 22px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-lg);
  animation: rise-in 0.4s var(--ease-spring);
  white-space: nowrap;
}
@keyframes rise-in { from { transform: translate(-50%, 80px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; position: relative; }
.marquee-track { display: inline-flex; gap: 0; animation: marquee 240s linear infinite; will-change: transform; backface-visibility: hidden; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[data-motion="off"] .marquee-track { animation: none; }

/* ---------- ticker counters ---------- */
.stat-num { font-family: var(--font-display); font-size: 44px; line-height: 1; letter-spacing: -0.01em; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #B0A897; margin-top: 110px; }
.footer a:hover { color: #FFF; }

/* ---------- page transitions ---------- */
.page-enter { animation: page-in 0.5s var(--ease-out); }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
[data-motion="off"] .page-enter { animation: none; }

/* ---------- detail gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 10px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.gallery .ph:first-child { grid-row: span 2; }
/* clickable gallery cells */
.gallery-cell {
  position: relative;
  padding: 0; border: none; background: none; cursor: pointer;
  border-radius: var(--r-md);
  overflow: hidden;
  display: block;
}
.gallery-cell:first-child { grid-row: span 2; }
.gallery-cell .ph { width: 100%; height: 100%; border-radius: 0; }
.gallery-cell .ph-img { transition: transform 0.5s var(--ease-out); }
.gallery-cell:hover .ph-img { transform: scale(1.05); }
.gallery-cell::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(33,30,25,0);
  transition: background 0.25s ease;
}
.gallery-cell:hover::after { background: rgba(33,30,25,0.14); }
.gallery-zoom {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.92); color: var(--ink);
  border-radius: 50%;
  opacity: 0; transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.gallery-cell:hover .gallery-zoom { opacity: 1; transform: none; }
.gallery-more {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(33,30,25,0.5);
  color: #FFF; font-weight: 700; font-size: 16px;
  letter-spacing: 0.01em;
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,18,15,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  animation: fade-in 0.2s ease;
}
.lb-close {
  position: absolute; top: 20px; right: 22px; z-index: 4;
  width: 46px; height: 46px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.1); color: #FFF;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lb-close:hover { background: rgba(255,255,255,0.22); }
.lb-counter {
  position: absolute; top: 30px; left: 28px; z-index: 4;
  color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em;
}
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 54px; height: 54px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.1); color: #FFF;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lb-arrow:hover { background: rgba(255,255,255,0.24); }
.lb-arrow.left { left: 20px; }
.lb-arrow.right { right: 20px; }
.lb-arrow.left:hover { transform: translateY(-50%) translateX(-2px); }
.lb-arrow.right:hover { transform: translateY(-50%) translateX(2px); }
.lb-stage {
  position: relative;
  max-width: min(1100px, 86vw);
  max-height: 74vh;
  display: flex; align-items: center; justify-content: center;
}
.lb-img {
  max-width: min(1100px, 86vw);
  max-height: 74vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: lb-pop 0.32s var(--ease-out);
}
@keyframes lb-pop { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.lb-label {
  position: absolute; left: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #FFF; font-size: 14px; font-weight: 500;
  padding: 30px 18px 14px; width: 100%;
  border-radius: 0 0 8px 8px;
}
.lb-thumbs {
  display: flex; gap: 8px; margin-top: 20px;
  max-width: 90vw; overflow-x: auto; padding: 4px;
}
.lb-thumb {
  flex-shrink: 0;
  width: 68px; height: 50px;
  border-radius: 7px; overflow: hidden;
  border: 2px solid transparent;
  padding: 0; cursor: pointer; background: none;
  opacity: 0.55; transition: opacity 0.2s ease, border-color 0.2s ease;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb:hover { opacity: 0.85; }
.lb-thumb.on { opacity: 1; border-color: var(--accent); }
@media (max-width: 640px) {
  .lb-arrow { width: 44px; height: 44px; }
  .lb-thumbs { display: none; }
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 130px; }
  /* (removed) old 3-photo cap; the mobile carousel shows every photo */
}

/* ---------- tables ---------- */
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.cmp-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 600; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  background: var(--ink); color: #FFF;
  padding: 14px 22px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: rise-toast 0.35s var(--ease-spring);
  display: flex; align-items: center; gap: 10px;
}
@keyframes rise-toast { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }

/* burger — hidden on desktop */
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #FFF;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* mobile drop-down sheet (floats under the pill) */
.nav-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px); left: clamp(14px, 2.5vw, 28px); right: clamp(14px, 2.5vw, 28px);
  pointer-events: auto;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 14px 20px 20px;
  flex-direction: column;
  box-shadow: 0 24px 56px rgba(23, 20, 15, 0.35);
  animation: menu-drop 0.25s var(--ease-out);
}
@keyframes menu-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav-menu a {
  padding: 15px 6px;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-menu a.active { color: var(--accent); }
.nav-menu-foot {
  display: flex; flex-direction: column; align-items: stretch; gap: 10px;
  padding-top: 18px;
}
.nav-menu-foot .seg { align-self: center; margin-bottom: 8px; }
.nav-menu-foot .btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  padding: 14px 20px !important; font-size: 15px !important; border-radius: 999px;
}
.nav-menu-foot .btn-accent { order: 2; box-shadow: 0 10px 26px rgba(226, 154, 46, 0.35); }
.nav-menu-foot .nav-cta-sell { order: 3; }
.nav-menu .seg { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.12); }
.nav-menu .seg button { color: rgba(255, 255, 255, 0.6); }
.nav-menu .seg button.on { color: var(--ink); }

/* ============================================================
   THE PEARL FINDER
   ============================================================ */
.hero-finder-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 7px 8px 7px 9px;
  border-radius: 999px;
  background: linear-gradient(100deg, #FFFFFF 0%, var(--accent-ghost) 100%);
  border: 1px solid var(--accent-soft);
  color: var(--ink);
  font-size: 15px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(33,30,25,0.04), 0 10px 26px -10px rgba(226,154,46,0.45);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, border-color 0.2s ease;
}
/* sheen sweep */
.hero-finder-link::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}
.hero-finder-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 4px 8px rgba(33,30,25,0.05), 0 18px 38px -12px rgba(226,154,46,0.6);
}
.hero-finder-link:hover::after { left: 130%; }

.hero-finder-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent) 0%, var(--accent-deep) 100%);
  color: #FFF;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(226,154,46,0.5), inset 0 1px 1px rgba(255,255,255,0.4);
  animation: badge-pulse 2.6s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 3px 8px rgba(226,154,46,0.5), inset 0 1px 1px rgba(255,255,255,0.4), 0 0 0 0 rgba(226,154,46,0.4); }
  50% { box-shadow: 0 3px 8px rgba(226,154,46,0.5), inset 0 1px 1px rgba(255,255,255,0.4), 0 0 0 7px rgba(226,154,46,0); }
}
[data-motion="off"] .hero-finder-badge { animation: none; }

.hero-finder-text { font-weight: 500; color: var(--ink-soft); white-space: nowrap; }

.hero-finder-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #FFF;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.hero-finder-chip svg { transition: transform 0.25s var(--ease-out); }
.hero-finder-link:hover .hero-finder-chip svg { transform: translateX(4px); }

/* intro */
.finder-intro {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  position: relative;
  overflow: hidden;
}
.finder-intro-bg { position: absolute; inset: 0; pointer-events: none; }
.finder-intro-bg .fi-pearl {
  position: absolute; top: 12%; right: 12%;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FFFFFF 0%, #EDE7DB 55%, #D8CFBE 100%);
  box-shadow: 0 40px 80px rgba(33,30,25,0.12); opacity: 0.7;
  animation: drift-pearl 12s ease-in-out infinite alternate;
}
.finder-intro-bg .fi-sq {
  position: absolute; bottom: -90px; left: -90px;
  width: 300px; height: 300px; border: 8px solid var(--line); opacity: 0.5;
  animation: drift-sq 18s ease-in-out infinite alternate-reverse;
}

/* progress */
.finder-quiz { min-height: calc(100vh - var(--nav-h)); padding-bottom: 60px; }
.finder-progress-wrap {
  position: sticky; top: var(--nav-h); z-index: 5;
  padding: 20px 0 18px;
  background: var(--bg);
  box-shadow: 0 10px 18px -12px rgba(33,30,25,0.18);
}
.finder-progress-inner { display: flex; align-items: center; gap: 16px; }
.finder-back {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all 0.18s ease;
}
.finder-back:hover { border-color: var(--accent); background: var(--accent-ghost); }
.finder-progress { flex: 1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.finder-progress-bar {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transition: width 0.5s var(--ease-out);
}
.finder-progress-count { font-size: 13px; font-weight: 700; color: var(--muted); min-width: 42px; text-align: right; }

/* question */
.finder-q-wrap { display: flex; flex-direction: column; align-items: center; padding-top: 76px; }
.finder-q { width: 100%; max-width: 720px; text-align: center; }
.finder-q.from-right { animation: q-in-right 0.42s var(--ease-out); }
.finder-q.from-left { animation: q-in-left 0.42s var(--ease-out); }
@keyframes q-in-right { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes q-in-left { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
[data-motion="off"] .finder-q { animation: none; }
.finder-q-title { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.12; margin: 0 0 10px; font-weight: 600; }
.finder-q-title .display { font-size: 1em; }
.finder-q-note { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.finder-q-title + .finder-options { margin-top: 30px; }

.finder-options { display: flex; flex-direction: column; gap: 12px; max-width: 460px; margin: 30px auto 0; }
.finder-options.grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 600px;
}
.finder-opt {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 17px 20px; border-radius: 16px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--card);
  font-family: var(--font-ui); transition: all 0.16s ease;
}
.finder-opt:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.finder-opt.on { border-color: var(--accent-deep); background: var(--accent-ghost); box-shadow: 0 0 0 3px var(--accent-soft); }
.finder-opt-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: #FFF; transition: all 0.16s ease;
}
.finder-opt.on .finder-opt-check { background: var(--accent-deep); border-color: var(--accent-deep); }
.finder-opt-label { font-weight: 700; font-size: 16px; }
.finder-opt-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.finder-continue { margin: 30px auto 0; display: inline-flex; }

/* results */
.finder-results-head { margin-bottom: 30px; }
.finder-lead {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 24px 28px; border-radius: 20px; margin-bottom: 40px;
  background: var(--accent-ghost); border: 1.5px solid var(--accent-soft);
}
.finder-lead-form { display: flex; gap: 10px; flex-wrap: wrap; }
.finder-lead-form input {
  border: 1.5px solid var(--line); border-radius: 11px; padding: 12px 14px;
  font-size: 14px; font-family: var(--font-ui); background: #FFF; outline: none; min-width: 150px;
}
.finder-lead-form input:focus { border-color: var(--accent); }
.finder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.finder-result { display: flex; flex-direction: column; }
.finder-result-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 0 4px; }
.finder-reasons { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.finder-reason {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft); line-height: 1.3;
}
.finder-reason svg { color: var(--accent-deep); flex-shrink: 0; }

/* privacy policy doc */
.privacy-doc p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; }
.privacy-doc h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 32px 0 12px; color: var(--ink); }
.privacy-doc ul { margin: 0 0 14px; padding-left: 22px; }
.privacy-doc li { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); margin: 6px 0; }
.privacy-doc strong { color: var(--ink); font-weight: 700; }

/* homepage banner */
.finder-banner {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: 48px 52px; border-radius: 28px; position: relative; overflow: hidden;
  background: var(--ink); color: #FFF;
}
.finder-banner-glow {
  position: absolute; top: -40%; right: -10%; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 68%); opacity: 0.22;
  pointer-events: none;
}
.finder-banner:hover .finder-banner-glow { opacity: 0.32; }
.finder-banner { transition: transform 0.25s var(--ease-out); }
.finder-banner:hover { transform: translateY(-2px); }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cur { display: none; }
  .nav-cta { display: none !important; }
  .nav-burger { display: flex; }
  .nav-menu { display: flex; }
  .nav-logo img { height: 40px; }
  .nav-right { gap: 10px; }

  .stat-num { font-size: 34px; }

  /* hero */
  .hero-head { padding: calc(var(--nav-h) + 44px) 0 56px !important; }
  .hero-h { margin-bottom: 20px !important; }

  /* marquee strip */
  .marquee { padding: 30px 0 !important; margin-top: 16px !important; }
  .marquee .display { font-size: 26px !important; }
  .marquee .serif-it { font-size: 31px !important; }

  /* compare bar */
  .cmp-bar { left: 12px; right: 12px; transform: none; max-width: none; width: auto; }
}

@media (max-width: 720px) {
  /* how-it-works rows: number + text, photo drops below full-width */
  .hiw-row { grid-template-columns: 64px 1fr !important; gap: 18px !important; }
  .hiw-row > *:nth-child(3) { grid-column: 1 / -1; }

  /* section paddings tighten */
  .page-enter { overflow-x: clip; }
  .gallery { border-radius: 18px; }

  /* cards inner stat grids stay readable */
  .lcard-specs { flex-wrap: wrap; row-gap: 6px; }

  /* pearl finder */
  .finder-grid { grid-template-columns: 1fr !important; }
  .finder-options.grid { grid-template-columns: 1fr !important; }
  .finder-lead { flex-direction: column; align-items: stretch; }
  .finder-lead-form { flex-direction: column; }
  .finder-lead-form input, .finder-lead-form .btn { width: 100%; }
  .finder-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 32px 24px;
    text-align: left;
  }
  .finder-banner .btn-accent {
    width: 100%;
    justify-content: center;
    font-size: 16px !important;
    padding: 16px 26px !important;
  }
}

/* ============================================================
   ASK PEARL — concierge bubble, panel, chat
   ============================================================ */
.pearl-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 240;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 19px 13px 15px;
  border: none; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--ink) 0%, #34302a 100%);
  color: #fff; font-family: var(--font-ui); font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 30px -8px rgba(33,30,25,0.55), 0 2px 6px rgba(33,30,25,0.2);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.25s ease, opacity 0.2s ease;
  animation: pearl-fab-in 0.5s var(--ease-out) 0.6s backwards;
}
@keyframes pearl-fab-in { from { opacity: 0; transform: translateY(20px) scale(0.9); } to { opacity: 1; transform: none; } }
.pearl-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -10px rgba(33,30,25,0.6); }
.pearl-fab.hide { opacity: 0; pointer-events: none; transform: translateY(20px) scale(0.9); }
.pearl-fab-spark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff; font-size: 14px;
  box-shadow: 0 0 0 0 rgba(226,154,46,0.5);
  animation: pearl-spark 2.6s ease-in-out infinite;
}
@keyframes pearl-spark {
  0%,100% { box-shadow: 0 0 0 0 rgba(226,154,46,0.45); }
  50% { box-shadow: 0 0 0 7px rgba(226,154,46,0); }
}
[data-motion="off"] .pearl-fab, [data-motion="off"] .pearl-fab-spark { animation: none; }

.pearl-scrim {
  position: fixed; inset: 0; z-index: 245;
  background: rgba(20,18,15,0.32); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.pearl-scrim.open { opacity: 1; pointer-events: auto; }
@media (min-width: 560px) { .pearl-scrim { background: transparent; backdrop-filter: none; } }

.pearl-panel {
  position: fixed; z-index: 250;
  right: 22px; bottom: 22px;
  width: 420px; max-width: calc(100vw - 28px);
  height: min(660px, calc(100vh - 44px));
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line-soft);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 70px -18px rgba(33,30,25,0.5), 0 6px 18px rgba(33,30,25,0.12);
  opacity: 0; transform: translateY(24px) scale(0.97);
  transform-origin: bottom right; pointer-events: none;
  transition: opacity 0.32s var(--ease-out), transform 0.32s var(--ease-spring);
}
.pearl-panel.open { opacity: 1; transform: none; pointer-events: auto; }

.pearl-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 16px 14px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--ink) 0%, #38332c 100%);
  color: #fff;
}
.pearl-head-id { display: flex; align-items: center; gap: 12px; }
.pearl-head-ava {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: radial-gradient(circle at 35% 30%, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 3px 10px rgba(226,154,46,0.5), inset 0 1px 1px rgba(255,255,255,0.4);
}
.pearl-head-name { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.pearl-head-sub { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 1px; }
.pearl-x {
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.1); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s ease;
}
.pearl-x:hover { background: rgba(255,255,255,0.22); }

.pearl-mode { padding: 12px 16px 4px; flex-shrink: 0; }
.pearl-mode .seg { background: var(--bg-deep); }

.pearl-scroll { flex: 1; overflow-y: auto; padding: 14px 16px 8px; display: flex; flex-direction: column; gap: 14px; }
.pearl-scroll::-webkit-scrollbar { width: 6px; }
.pearl-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.pearl-intro { text-align: center; padding: 22px 14px 8px; }
.pearl-intro-ava {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff;
  background: radial-gradient(circle at 35% 30%, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 6px 18px rgba(226,154,46,0.45);
  animation: pearl-spark 2.8s ease-in-out infinite;
}
.pearl-intro-title { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.pearl-intro-sub { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin: 8px auto 0; max-width: 320px; }

.pearl-row { display: flex; gap: 9px; align-items: flex-start; }
.pearl-row.user { justify-content: flex-end; }
.pearl-ava {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff;
  background: radial-gradient(circle at 35% 30%, var(--accent) 0%, var(--accent-deep) 100%);
}
.pearl-bubble {
  padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5;
  background: var(--bg-deep); color: var(--ink); border-top-left-radius: 5px;
  max-width: 100%; white-space: pre-wrap; word-wrap: break-word;
}
.pearl-bubble.user {
  background: var(--ink); color: #fff;
  border-radius: 16px; border-top-right-radius: 5px; max-width: 80%;
}
.pearl-typing { display: inline-flex; gap: 4px; align-items: center; }
.pearl-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--muted);
  animation: pearl-dot 1.2s ease-in-out infinite;
}
.pearl-typing span:nth-child(2) { animation-delay: 0.18s; }
.pearl-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes pearl-dot { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.pearl-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 9px; }
.pearl-card {
  display: flex; gap: 11px; padding: 8px; text-align: left; cursor: pointer;
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: 14px;
  font-family: var(--font-ui); transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  animation: rise-in-soft 0.4s var(--ease-out) backwards;
}
.pearl-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pearl-card-ph { width: 76px; height: 64px; border-radius: 10px; flex-shrink: 0; }
.pearl-card-body { flex: 1; min-width: 0; }
.pearl-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.pearl-card-name { font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pearl-card-price { font-weight: 800; font-size: 13.5px; color: var(--ink); flex-shrink: 0; }
.pearl-card-price small { font-weight: 600; color: var(--muted); font-size: 10px; }
.pearl-card-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pearl-card-why {
  display: flex; align-items: flex-start; gap: 5px; margin-top: 6px;
  font-size: 12px; line-height: 1.4; color: var(--accent-deep); font-weight: 500;
}
.pearl-card-why svg { flex-shrink: 0; margin-top: 2px; }

.pearl-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.pearl-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.pearl-chip {
  padding: 8px 13px; border-radius: 999px; cursor: pointer;
  background: var(--accent-ghost); border: 1px solid var(--accent-soft);
  color: var(--accent-deep); font-family: var(--font-ui); font-weight: 600; font-size: 12.5px;
  transition: all 0.18s ease;
}
.pearl-chip:hover { background: var(--accent-soft); border-color: var(--accent); transform: translateY(-1px); }

.pearl-input {
  display: flex; gap: 8px; align-items: center; padding: 12px 14px 6px; flex-shrink: 0;
  border-top: 1px solid var(--line-soft);
}
.pearl-input input {
  flex: 1; height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg-deep);
  font-family: var(--font-ui); font-size: 14px; color: var(--ink); outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pearl-input input:focus { border-color: var(--accent); background: var(--bg); }
.pearl-send {
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; flex-shrink: 0;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.pearl-send:hover:not(:disabled) { background: var(--accent-deep); transform: scale(1.05); }
.pearl-send:disabled { background: var(--line); cursor: default; }
.pearl-foot { font-size: 10.5px; color: var(--muted); text-align: center; padding: 2px 16px 12px; line-height: 1.4; }

@media (max-width: 559px) {
  .pearl-panel { right: 0; left: 0; bottom: 0; width: 100%; max-width: 100%;
    height: 88vh; border-radius: 24px 24px 0 0; }
  .pearl-fab { right: 16px; bottom: 16px; }
}

/* hero "Ask Pearl anything" bar */
.ask-hero {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 7px 7px 7px 18px; max-width: 880px;
  box-shadow: var(--shadow-md);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.ask-hero:focus-within { border-color: var(--accent); box-shadow: 0 14px 34px -12px rgba(226,154,46,0.4); }
.ask-hero-spark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; color: #fff; font-size: 15px;
  background: radial-gradient(circle at 35% 30%, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 2px 8px rgba(226,154,46,0.5);
  animation: pearl-spark 2.8s ease-in-out infinite;
}
.ask-hero input {
  flex: 1; border: none; outline: none; background: none; min-width: 0;
  font-family: var(--font-ui); font-size: 15px; color: var(--ink);
}
.ask-hero input::placeholder { color: var(--muted); }
.ask-hero-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 20px; border: none; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: #fff; font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ask-hero-btn:hover { transform: translateY(-1px); background: #34302a; }
@media (max-width: 620px) {
  .ask-hero { flex-wrap: wrap; border-radius: 22px; padding: 12px 14px; }
  .ask-hero input { order: 2; flex-basis: 100%; padding: 6px 0; }
  .ask-hero-spark { order: 1; }
  .ask-hero-btn { order: 3; margin-left: auto; }
}

/* Pearl's take (property page) */
.pearl-take {
  border: 1px solid var(--accent-soft); border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--bg) 0%, var(--accent-ghost) 100%);
  padding: 22px; margin-top: 18px;
}
.pearl-take-head { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.pearl-take-ava {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; color: #fff; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 3px 10px rgba(226,154,46,0.45);
}
.pearl-take-title { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.pearl-take-sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 1px; }
.pearl-take-btn { margin-left: auto; }
.pearl-take-body { margin-top: 16px; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
.pearl-take-body p { margin: 0 0 10px; }
.pearl-take-qs { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 16px; margin-top: 4px; }
.pearl-take-qs-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 6px; }
.pearl-take-qs ul { margin: 0; padding-left: 18px; }
.pearl-take-qs li { margin: 4px 0; font-size: 13.5px; }
.pearl-take-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent-deep); cursor: pointer; }
.pearl-take-more:hover { text-decoration: underline; }

/* brand pearl icon in place of the sparkle glyph */
.pearl-glyph { width: 100%; height: 100%; object-fit: contain; display: block; }
.pearl-fab-spark, .pearl-head-ava, .pearl-ava, .pearl-intro-ava, .ask-hero-spark, .pearl-take-ava {
  background: #FFFFFF;
  border: 1.5px solid var(--accent-soft);
  box-sizing: border-box;
  overflow: hidden;
  padding: 3px;
}
.pearl-ava { padding: 2px; }
.pearl-intro-ava { padding: 5px; }

/* ============================================================
   EDITORIAL COLLECTION — curated-gallery restructure
   ============================================================ */

/* film-grain atmosphere over the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147480000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  mix-blend-mode: multiply;
}

/* hero CTA row */
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* nav "Sell with us" — quiet teal pill on the white bar */
.nav-cta-sell {
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #FFF !important;
  background: rgba(255, 255, 255, 0.05);
}
.nav-cta-sell:hover {
  border-color: var(--teal-soft) !important;
  background: var(--teal);
  color: #FFF !important;
}

/* ---------- editorial feature rows ---------- */
.cf-list { display: flex; flex-direction: column; gap: 76px; }
.cf {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  cursor: pointer;
}
.cf-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: visible;
}
.cf-media .ph { aspect-ratio: 4 / 3; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.cf-media .ph-img { transition: transform 0.9s var(--ease-out); }
.cf:hover .cf-media .ph-img { transform: scale(1.045); }
.cf-media .heart { top: auto; bottom: 14px; right: 14px; }
.cf-num {
  position: absolute;
  top: -34px;
  right: -14px;
  z-index: 2;
  font-size: clamp(72px, 8vw, 118px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  opacity: 0.85;
  pointer-events: none;
  transition: transform 0.6s var(--ease-out);
}
.cf:hover .cf-num { transform: translateY(-6px); }
.cf-body {
  position: relative;
  z-index: 2;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(26px, 3.4vw, 44px);
  margin-left: -72px;
  transition: transform 0.45s var(--ease-out);
}
.cf:hover .cf-body { transform: translateY(-4px); }
.cf.flip { grid-template-columns: 0.9fr 1.1fr; }
.cf.flip .cf-media { order: 2; }
.cf.flip .cf-body { order: 1; margin-left: 0; margin-right: -72px; }
.cf.flip .cf-num { right: auto; left: -14px; -webkit-text-stroke-color: var(--teal); }
.cf-area { font-size: 19px; color: var(--teal); margin-bottom: 8px; }
.cf-area-tag { font-family: var(--font-ui); font-style: normal; font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.cf-name { font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 10px; line-height: 1.08; }
.cf-price { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 14px; }
.cf-price .per { font-size: 13px; font-weight: 500; color: var(--muted); }
.cf-blurb {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cf-specs { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.cf-specs span { display: inline-flex; align-items: center; gap: 6px; }
.cf-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
}
.cf-link svg { transition: transform 0.3s var(--ease-out); }
.cf:hover .cf-link svg { transform: translateX(5px); }

/* ---------- seller band (home) ---------- */
.seller-band {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  background: var(--ink);
  border-radius: 28px;
  padding: clamp(36px, 5vw, 64px);
  overflow: hidden;
  transition: transform 0.25s var(--ease-out);
}
.seller-band:hover { transform: translateY(-3px); }
.seller-band-frame {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border: 8px solid rgba(226, 154, 46, 0.25);
  transform: rotate(-4deg);
  animation: drift-sq 16s ease-in-out infinite alternate;
  pointer-events: none;
}
.seller-band-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.seller-band-stats .v { display: block; font-size: 26px; color: var(--accent); line-height: 1; }
.seller-band-stats .l { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-top: 6px; }

/* ---------- scout band (collection / finder) ---------- */
.scout-band {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  background: var(--teal-ghost);
  border: 1px solid var(--teal-soft);
  border-radius: 24px;
  padding: clamp(26px, 3.4vw, 40px);
}
.scout-band-glyph {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FFFFFF 0%, #EDE7DB 55%, #D8CFBE 100%);
  box-shadow: 0 10px 24px rgba(33, 30, 25, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: drift-pearl 9s ease-in-out infinite alternate;
}
.scout-band-glyph .pearl-glyph { width: 30px; height: 30px; }

/* ---------- sell page ---------- */
.sell-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 40px;
}
.sell-vs-col { border-radius: 18px; padding: 22px 24px; font-size: 14px; line-height: 1.65; }
.sell-vs-col p { margin: 0; }
.sell-vs-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.sell-vs-col.today { background: var(--bg-deep); border: 1px solid var(--line); color: var(--muted); }
.sell-vs-col.today .sell-vs-tag { color: var(--muted); }
.sell-vs-col.withus { background: var(--ink); color: rgba(255, 255, 255, 0.85); box-shadow: var(--shadow-md); }
.sell-vs-col.withus .sell-vs-tag { color: var(--accent); }
.sell-vs-arrow { display: flex; align-items: center; color: var(--accent-deep); }
.sell-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sell-stat { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 20px 18px; box-shadow: var(--shadow-sm); }
.sell-platforms { display: flex; flex-wrap: wrap; gap: 10px; }
.sell-platform {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 13px 18px;
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}
.sell-platform:hover { transform: translateY(-3px); border-color: var(--teal); }
.sell-first {
  position: relative;
  background: var(--ink);
  border-radius: 28px;
  padding: clamp(40px, 5vw, 70px);
  overflow: hidden;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .sell-stats { grid-template-columns: repeat(2, 1fr); }
  .sell-vs { grid-template-columns: 1fr; }
  .sell-vs-arrow { transform: rotate(90deg); justify-content: center; }
}
@media (max-width: 860px) {
  .cf, .cf.flip { grid-template-columns: 1fr; }
  .cf.flip .cf-media { order: 1; }
  .cf.flip .cf-body { order: 2; }
  .cf-body, .cf.flip .cf-body { margin: -46px 16px 0; }
  .cf-num { top: -26px; right: 6px; font-size: 68px; }
  .cf.flip .cf-num { left: auto; right: 6px; }
  .cf-list { gap: 56px; }
  .seller-band { gap: 24px; }
}
[data-motion="off"] .cf-media .ph-img,
[data-motion="off"] .seller-band-frame,
[data-motion="off"] .scout-band-glyph { animation: none !important; transition: none !important; }

/* ============================================================
   TEAL SECTION — deep-ocean color block for the map
   ============================================================ */
.section-teal .eyebrow { color: var(--accent); }
.section-teal .eyebrow::before { background: var(--accent); }
.section-teal .map-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
}
.section-teal .map-pill:hover { border-color: var(--accent); color: #FFF; }
.section-teal .map-pill.on { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.section-teal .map-nav-arrow {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFF;
}
.section-teal .map-nav-arrow:hover { background: rgba(255, 255, 255, 0.2); }
.section-teal .map-dot { background: rgba(255, 255, 255, 0.28); }
.section-teal .map-dot.on { background: var(--accent); }
.section-teal .map-label { fill: var(--ink-soft); }

/* hero teal atmosphere */
.hero-orb-teal {
  position: absolute;
  left: 24%;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-soft) 0%, transparent 65%);
  opacity: 0.55;
  pointer-events: none;
  animation: drift-pearl 16s ease-in-out infinite alternate-reverse;
}

/* pill nav space management on middling widths */
@media (max-width: 1180px) {
  .nav-cur { display: none; }
  .nav-links a { padding: 9px 11px; font-size: 13.5px; }
}
@media (max-width: 1000px) {
  .nav-cta-sell { display: none !important; }
  .nav-menu-foot .nav-cta-sell { display: inline-flex !important; }
}
@media (max-width: 860px) {
  .nav { padding-top: 10px; }
  .nav-logo { padding: 8px 16px; }
  .nav-logo img { height: 40px !important; }
}

/* ============================================================
   HERO — photo showcase split + film-strip + scroll cue
   ============================================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.hero-visual {
  position: relative;
  min-height: 480px;
}
.hero-vis-frame {
  position: absolute;
  top: -26px; right: -8px;
  width: 62%;
  aspect-ratio: 1;
  border: 9px solid var(--accent);
  opacity: 0.35;
  transform: rotate(-4deg);
  animation: drift-sq 15s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-vis-big {
  position: relative;
  display: block;
  width: 74%;
  margin-left: 4%;
  border: none;
  padding: 0;
  background: none;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: hero-drift 12s ease-in-out infinite alternate;
  transition: transform 0.5s var(--ease-out);
}
.hero-vis-big:hover { transform: scale(1.02); }
.hero-vis-big .ph { aspect-ratio: 3 / 3.6; height: auto; border-radius: 0; }
.hero-vis-tag {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(23, 20, 15, 0.78);
  color: #FFF;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero-vis-small {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: 46%;
  border: none;
  padding: 9px;
  background: #FFF;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  animation: hero-drift 10s ease-in-out infinite alternate-reverse;
  transition: transform 0.5s var(--ease-out);
}
.hero-vis-small:hover { transform: translateY(-5px); }
.hero-vis-small .ph { aspect-ratio: 4 / 3; height: auto; border-radius: 13px; }
.hero-vis-price {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  font-size: 14.5px;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(23, 20, 15, 0.25);
}
.hero-vis-pearl {
  position: absolute;
  left: -4%;
  bottom: 2%;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #FFFFFF 0%, #EDE7DB 55%, #D8CFBE 100%);
  box-shadow: 0 26px 50px rgba(23, 20, 15, 0.18);
  animation: drift-pearl 11s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes hero-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}
.hero-vis-big:hover, .hero-vis-small:hover { animation-play-state: paused; }

/* scroll cue — gold dot dropping in a capsule */
.hero-cue {
  width: 26px;
  height: 44px;
  margin: 40px auto 0;
  border: 2px solid var(--line);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero-cue span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: cue-drop 1.8s var(--ease-out) infinite;
}
@keyframes cue-drop {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(18px); opacity: 0; }
}

/* film-strip — contact sheet from the last shoots */
.hero-strip {
  margin-top: 34px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
  position: relative;
}
.hero-strip::before, .hero-strip::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.hero-strip::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.hero-strip::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.hero-strip-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.hero-strip:hover .hero-strip-track { animation-play-state: paused; }
.hero-strip-item {
  position: relative;
  width: 168px;
  flex-shrink: 0;
  border: none;
  padding: 0;
  background: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.hero-strip-item:hover { transform: translateY(-4px) scale(1.03); box-shadow: var(--shadow-md); z-index: 1; }
.hero-strip-item .ph { aspect-ratio: 3 / 2; height: auto; }
.hero-strip-name {
  position: absolute;
  left: 8px; bottom: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFF;
  background: rgba(23, 20, 15, 0.6);
  padding: 3px 9px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.25s;
}
.hero-strip-item:hover .hero-strip-name { opacity: 1; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 8px; max-width: 480px; }
  .hero-vis-big { width: 82%; margin-left: 0; }
  .hero-vis-pearl { width: 76px; height: 76px; left: auto; right: -2%; top: -20px; bottom: auto; }
  .hero-cue { display: none; }
}
[data-motion="off"] .hero-vis-big,
[data-motion="off"] .hero-vis-small,
[data-motion="off"] .hero-vis-frame,
[data-motion="off"] .hero-vis-pearl,
[data-motion="off"] .hero-cue span,
[data-motion="off"] .hero-strip-track { animation: none !important; }





/* ---------- detail page mobile-only elements (hidden on desktop) ---------- */
.m-price, .m-actionbar { display: none; }

/* gallery: desktop mosaic caps at 5 tiles; the swipe carousel on mobile shows every photo */
.gallery .gallery-cell:nth-child(n+6) { display: none; }
.gallery-count { display: none; }

/* ---------- video tour cinema card (desktop) ---------- */
.video-tour { margin: 0 0 36px; }
.vt-card {
  display: flex; align-items: center; gap: 44px;
  background: linear-gradient(135deg, #262119, var(--ink) 60%);
  border-radius: 26px; padding: 34px 40px; overflow: hidden; position: relative;
}
.vt-card::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 230px; height: 230px;
  border: 8px solid rgba(226, 154, 46, 0.18); transform: rotate(-5deg); pointer-events: none;
}
.vt-card .reel-frame { width: min(264px, 100%); flex-shrink: 0; }
.vt-copy { position: relative; max-width: 460px; }

/* ---------- video tour (9:16 reel player) ---------- */
.video-tour { margin: 0 0 36px; }
.reel-frame {
  position: relative; aspect-ratio: 9 / 16; width: min(360px, 100%);
  border-radius: 22px; overflow: hidden; background: var(--ink);
  box-shadow: 0 26px 54px -20px rgba(33, 30, 25, 0.4);
}
.reel-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.reel-poster { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: var(--ink); }
.reel-poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; display: block; transition: transform 0.5s var(--ease-out), opacity 0.3s; }
.reel-poster:hover img { transform: scale(1.03); opacity: 1; }
.reel-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.94); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; padding-left: 5px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
}
.reel-poster:hover .reel-play { transform: translate(-50%, -50%) scale(1.08); }

/* ============================================================
   MOBILE (≤700px) — a native, app-like presentation.
   Photo-first hero, swipeable rails, chip stats, sheet cards.
   Deliberately different from the desktop layout.
   ============================================================ */
@media (max-width: 700px) {

  /* ---------- global rhythm ---------- */
  .wrap { padding: 0 18px; }
  section[data-screen-label] { padding-top: 54px !important; padding-bottom: 26px !important; }
  .page-enter { padding-top: calc(var(--nav-h) + 26px) !important; }

  /* ---------- HERO: photo-first immersive stack ---------- */
  .hero-head { padding-top: calc(var(--nav-h) + 22px) !important; }
  .page-enter .hero-head { padding-top: 0 !important; margin-top: -16px; }  /* page wrapper already clears the nav */
  .hero-head > div[aria-hidden="true"] { display: none; }  /* desktop backdrop décor */
  .hero-cue { display: none; }

  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-grid > div:first-child { display: contents; }      /* let hero pieces reorder */
  .hero-grid .eyebrow { order: 0; margin-bottom: 14px !important; font-size: 11px; }
  .hero-h { order: 1; font-size: clamp(38px, 11.5vw, 46px) !important; line-height: 1.02; margin: 0 0 18px !important; }
  .hero-visual { order: 2; margin: 4px 0 0; padding-bottom: 34px; width: 100%; }
  .hero-grid p { order: 3; font-size: 15px !important; margin: 18px 0 18px !important; }
  .hero-cta-row { order: 4; display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 2px; }
  .hero-cta-row .btn { justify-content: center; text-align: center; display: inline-flex; }
  .hero-ask { order: 5; margin: 14px 0 0 !important; max-width: none !important; }

  /* the photo card */
  .hero-vis-frame, .hero-vis-pearl { display: none; }
  .hero-vis-big { display: block; width: 100%; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 50px -18px rgba(33,30,25,0.35); }
  .hero-vis-big .ph { aspect-ratio: 1 / 1.06; }
  .hero-vis-small {
    position: absolute; right: 6px; bottom: 0; width: 41%;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 16px 34px -10px rgba(33,30,25,0.4);
    border: 3px solid var(--bg);
  }
  .hero-vis-small .ph { border-radius: 13px; }

  /* Ask Pearl hero bar — compact */
  .ask-hero input { font-size: 13px; text-overflow: ellipsis; }
  .ask-hero input::placeholder { font-size: 12.5px; }

  /* stats: swipeable chip rail */
  .hero-stats {
    display: flex !important; flex-wrap: nowrap !important;
    gap: 10px !important; margin-top: 28px !important;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 2px 2px 10px; scrollbar-width: none;
  }
  .hero-stats::-webkit-scrollbar { display: none; }
  .hero-stats > div {
    flex: 0 0 auto; scroll-snap-align: start;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    padding: 13px 17px; min-width: 148px;
    box-shadow: 0 6px 16px rgba(33,30,25,0.05);
  }
  .stat-num { font-size: 25px; }
  .hero-stats > div > div:last-child { font-size: 12px !important; margin-top: 3px !important; max-width: none !important; }

  /* film strip: bigger, closer */
  .hero-strip { margin-top: 26px; padding: 12px 0 6px; }
  .hero-strip-item { width: 196px; }
  .hero-strip-name { opacity: 1; }   /* always label on touch */
  .page-enter .hero-head { margin-bottom: -56px; }          /* trailing header space */
  .hero-head + section[data-screen-label] { padding-top: 30px !important; }

  /* floating Ask Pearl becomes a round pearl */
  .pearl-fab { padding: 13px; border-radius: 50%; }
  .pearl-fab .pearl-fab-label { display: none; }

  /* ---------- COLLECTION: uniform story cards ---------- */
  .cf-list { gap: 34px; }
  .cf, .cf.flip { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .cf-num { display: none; }                        /* desktop outline numerals off */
  .cf-media { width: 100%; }
  .cf-media .ph { width: 100%; aspect-ratio: 4 / 3; border-radius: 22px 22px 0 0; box-shadow: none; }
  .cf-media .heart { bottom: auto; top: 12px; right: 12px; }
  .cf-body {
    margin: 0; position: relative; z-index: 2;
    border-radius: 0 0 22px 22px;
    border: 1px solid var(--line); border-top: none;
    box-shadow: 0 20px 40px -18px rgba(33,30,25,0.18);
    padding: 20px 20px 22px;
    transform: none !important;
  }
  .cf-area { font-size: 17px; margin-bottom: 6px; }
  .cf-name { font-size: 24px !important; margin: 0 0 4px !important; }
  .cf-blurb {
    font-size: 14px; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .cf-specs { gap: 12px; font-size: 12.5px; padding-top: 12px; }
  .cf-link {
    display: flex; justify-content: center; align-items: center; gap: 8px;
    margin-top: 16px; padding: 12px 18px;
    background: var(--accent-ghost); border: 1px solid var(--accent-soft); border-radius: 999px;
    color: var(--accent-deep); font-weight: 700; font-size: 14px;
  }

  /* ---------- MAP: swipe pills, clean panel ---------- */
  .map-pills {
    flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 8px; margin-bottom: 4px; scrollbar-width: none;
  }
  .map-pills::-webkit-scrollbar { display: none; }
  .map-pill { flex: 0 0 auto; scroll-snap-align: start; }
  .map-grid { display: flex !important; flex-direction: column; gap: 18px !important; }
  .map-nav-arrow { display: none; }

  /* ---------- SELLER BAND: stacked dark card ---------- */
  .seller-band { flex-direction: column; align-items: stretch; gap: 22px; padding: 32px 22px 26px; border-radius: 24px; }
  .seller-band > .btn, .seller-band span.btn { align-self: stretch; display: flex; justify-content: center; text-align: center; white-space: normal !important; }
  .seller-band-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .seller-band-frame { right: -110px; top: -110px; bottom: auto; opacity: 0.4; }

  /* ---------- STEPS / any 4-grid: swipeable card rail ---------- */
  .grid-4 {
    display: flex !important; grid-template-columns: none !important;
    overflow-x: auto; scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    gap: 12px !important; margin: 0 -18px; padding: 4px 18px 10px;
    scrollbar-width: none;
  }
  .grid-4::-webkit-scrollbar { display: none; }
  .grid-4 > * { flex: 0 0 78%; scroll-snap-align: start; }
  /* reveal animations fight horizontal swiping: show rail cards instantly */
  .grid-4 > .rv { opacity: 1 !important; transform: none !important; transition: none !important; }

  /* ---------- marquee: quieter ---------- */
  .marquee { padding: 34px 0 !important; margin-top: 44px !important; }
  .marquee .display { font-size: 24px !important; }
  .marquee .serif-it { font-size: 28px !important; }

  /* ---------- FOOTER: compact two-column ---------- */
  .footer .wrap { padding: 44px 22px 100px !important; }
  .footer-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 26px 18px !important; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid img { height: 40px !important; }

  /* ---------- COLLECTION PAGE ---------- */
  .lcard .ph { aspect-ratio: 4 / 2.9; }

  /* ---------- DETAIL PAGE: swipe gallery, stacked info ---------- */
  .gallery {
    display: flex !important; grid-template-columns: none !important;
    overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 10px; height: auto !important; border-radius: 0;
    margin: 0 -18px; padding: 0 18px 8px; scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery-cell, .gallery-cell:first-child, .gallery .gallery-cell:nth-child(n+6) {
    display: block; flex: 0 0 86%; grid-row: auto; scroll-snap-align: center;
    aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; position: relative;
  }
  .gallery-more { display: none; }
  .gallery-count {
    display: block; position: absolute; right: 10px; bottom: 10px;
    background: rgba(23, 20, 15, 0.65); color: #FFF;
    font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  }
  .gallery-zoom { opacity: 1; transform: none; }
  .detail-grid { display: flex !important; flex-direction: column; align-items: stretch !important; gap: 26px !important; }
  .detail-grid > * { position: static !important; width: 100%; }

  /* price appears right under the title on phones */
  .m-price { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
  .m-price-v { font-weight: 800; font-size: 30px; letter-spacing: -0.02em; }
  .m-price-per { font-size: 13px; color: var(--muted); font-weight: 600; }

  /* spec row becomes a 2-up chip grid */
  .det-specs {
    display: grid !important; grid-template-columns: 1fr 1fr;
    gap: 10px !important; padding: 0 !important; margin: 20px 0 !important;
    border: none !important; font-size: 14px !important;
  }
  .det-specs > span {
    background: var(--card); border: 1px solid var(--line); border-radius: 13px;
    padding: 11px 13px; justify-content: flex-start;
  }
  .det-specs > span:last-child { grid-column: 1 / -1; color: var(--ink-soft); }

  /* sticky action bar: price + WhatsApp + request viewing */
  .m-actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: flex; align-items: center; gap: 10px;
    background: var(--ink); color: #FFF;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -14px 40px rgba(23, 20, 15, 0.35);
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
  }
  .m-actionbar.away { transform: translateY(110%); opacity: 0; pointer-events: none; }
  .m-ab-price { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
  .m-ab-v { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
  .m-ab-v small { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.55); margin-left: 2px; }
  .m-ab-sub { font-size: 11px; color: rgba(255,255,255,0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-ab-wa {
    flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px;
    background: #1FAF57; color: #FFF; display: flex; align-items: center; justify-content: center;
  }
  .m-ab-cta { flex-shrink: 0; font-size: 14px !important; padding: 13px 18px !important; white-space: nowrap; }

  /* keep content clear of the bar, lift the Ask Pearl pearl above it */
  body.has-actionbar .page-enter { padding-bottom: 96px !important; }
  body.has-actionbar .pearl-fab { bottom: calc(96px + env(safe-area-inset-bottom)); }

  .vt-card { flex-direction: column; gap: 22px; padding: 24px 20px; text-align: center; }
  .vt-card .reel-frame { margin: 0 auto; width: min(280px, 100%); }
  .vt-copy .badge { position: static; }
  .calc-grid { display: flex !important; flex-direction: column; gap: 16px !important; }

  /* ---------- WHY PAGE ---------- */
  .hiw-row > div.ph:not(:has(img)) { display: none !important; }
  .hiw-row > div.ph { grid-column: 1 / -1; height: 170px !important; }
  .hiw-row .display { font-size: 38px !important; }
  .trust-band { padding: 32px 22px !important; border-radius: 22px !important; }

  /* ---------- SELL PAGE ---------- */
  .sell-grid { display: flex !important; flex-direction: column; gap: 40px !important; }
  .sell-vs { display: flex !important; flex-direction: column; gap: 10px; }
  .sell-vs-arrow { transform: rotate(90deg); justify-content: center; padding: 2px 0; }
  .sell-stats { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 14px !important; }

  /* buttons inside page CTAs go full width */
  .page-enter .btn-primary, .page-enter .btn-accent { display: inline-flex; justify-content: center; }

  /* ---------- FINDER QUIZ: progress bar docks to the bottom ---------- */
  .finder-progress-wrap {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 60;
    padding: 14px 0 calc(16px + env(safe-area-inset-bottom));
    background: var(--card);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -12px 34px rgba(33, 30, 25, 0.16);
  }
  .finder-quiz { padding-bottom: 130px !important; }
  .finder-quiz .finder-q-wrap { padding-top: 10px; }
  .finder-progress-inner { padding-right: 6px; }
  body:has(.finder-progress-wrap) .pearl-fab { bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   HERO SLIDER — cinematic crossfade showcase
   ============================================================ */
.hslider {
  position: relative;
  height: clamp(520px, 70vh, 660px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
  isolation: isolate;
}
.hslide {
  position: absolute; inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 0s linear 1.1s;
  z-index: 1;
}
.hslide.on {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.1s ease;
  z-index: 2;
}
.hslide-bg { position: absolute; inset: 0; overflow: hidden; }
.hslide-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.08);
}
.hslide.on .hslide-bg img { animation: hs-kenburns 8.5s ease-out forwards; }
@keyframes hs-kenburns { from { transform: scale(1.1); } to { transform: scale(1.0); } }
.hslide-grad {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(14, 12, 9, 0.88) 0%, rgba(14, 12, 9, 0.46) 42%, rgba(14, 12, 9, 0.08) 75%),
    linear-gradient(to right, rgba(14, 12, 9, 0.55) 0%, transparent 60%);
}
.hslide.gold .hslide-grad {
  background:
    linear-gradient(to top, rgba(26, 18, 4, 0.92) 0%, rgba(26, 18, 4, 0.5) 45%, rgba(26, 18, 4, 0.1) 78%),
    linear-gradient(to right, rgba(26, 18, 4, 0.55) 0%, transparent 60%);
}
.hslide-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 58px 58px;
  max-width: 760px;
  color: #FFF;
}
.hs-eyebrow {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0; transform: translateY(18px);
}
.hslide.on .hs-eyebrow { animation: hs-rise 0.8s 0.25s cubic-bezier(0.22, 1, 0.3, 1) forwards; }
.hs-title {
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.04;
  margin: 0 0 14px;
  color: #FFF;
  text-wrap: balance;
}
.hs-title .hs-line { display: block; opacity: 0; transform: translateY(26px); }
.hslide.on .hs-title .hs-line { animation: hs-rise 0.9s cubic-bezier(0.22, 1, 0.3, 1) forwards; }
.hslide.on .hs-title .hs-line:nth-child(1) { animation-delay: 0.32s; }
.hslide.on .hs-title .hs-line:nth-child(2) { animation-delay: 0.42s; }
.hslide.on .hs-title .hs-line:nth-child(3) { animation-delay: 0.52s; }
.hs-serif { color: var(--accent); font-size: 1.05em; }
.hs-price {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--accent);
  margin: 2px 0 10px;
  opacity: 0; transform: translateY(18px);
}
.hslide.on .hs-price { animation: hs-rise 0.8s 0.55s cubic-bezier(0.22, 1, 0.3, 1) forwards; }
.hs-text {
  font-size: 15.5px; line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 480px;
  margin: 0 0 24px;
  opacity: 0; transform: translateY(18px);
}
.hslide.on .hs-text { animation: hs-rise 0.8s 0.6s cubic-bezier(0.22, 1, 0.3, 1) forwards; }
.hs-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0; transform: translateY(18px);
}
.hslide.on .hs-ctas { animation: hs-rise 0.8s 0.7s cubic-bezier(0.22, 1, 0.3, 1) forwards; }
@keyframes hs-rise { to { opacity: 1; transform: translateY(0); } }
.hs-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(6px);
}
.hs-ghost:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.6); transform: translateY(-2px); }
.hs-wa {
  background: #25D366; color: #FFF; border: 1.5px solid #25D366;
}
.hs-wa:hover { background: #1FB558; border-color: #1FB558; color: #FFF; transform: translateY(-2px); }
.hslide:not(.on) { pointer-events: none; }

/* slider controls */
.hs-nav {
  position: absolute; right: 26px; bottom: 26px; z-index: 5;
  display: flex; align-items: center; gap: 14px;
}
.hs-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #FFF; cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, transform 0.2s ease;
}
.hs-arrow:hover { background: rgba(255, 255, 255, 0.28); transform: scale(1.06); }
.hs-dots { display: flex; gap: 8px; }
.hs-dot {
  width: 22px; height: 5px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  border: none; padding: 0; cursor: pointer;
  overflow: hidden; position: relative;
  transition: width 0.3s ease;
}
.hs-dot.on { width: 44px; }
.hs-dot-fill {
  position: absolute; inset: 0; border-radius: 99px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}
.hs-dot.on .hs-dot-fill { animation: hs-dotfill 6.5s linear forwards; }
@keyframes hs-dotfill { to { transform: scaleX(1); } }
[data-motion="off"] .hslide-bg img, [data-motion="off"] .hs-dot-fill { animation: none !important; transform: none !important; }

/* ============================================================
   LAND & INVESTMENT — nav, homepage band, page, cards
   ============================================================ */



/* homepage band */
.land-band-wrap { padding: 90px 0 30px; }
.land-band {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 120% at 100% 0%, rgba(226, 154, 46, 0.16), transparent 55%),
    linear-gradient(135deg, #262118 0%, #171310 60%, #12100C 100%);
  color: #FFF;
  box-shadow: var(--shadow-lg);
}
.land-band-bg { position: absolute; inset: 0; opacity: 0.38; }
.land-band-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0.25) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0.25) 70%, transparent 100%);
}
.land-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 54px;
  padding: 62px 58px;
  align-items: center;
}
.land-band .land-copy .land-eyebrow { color: var(--accent); margin-bottom: 18px; }
.land-eyebrow { color: var(--accent); }
.land-h { font-size: clamp(32px, 4vw, 52px); color: #FFF; margin: 0 0 18px; }
.land-h .serif-it { color: var(--accent); }
.land-p { color: rgba(255, 255, 255, 0.78); font-size: 16px; line-height: 1.7; max-width: 520px; margin: 0 0 24px; }
.land-areas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; max-width: 560px; }
.land-chip {
  font-size: 12.5px; font-weight: 650;
  padding: 7px 14px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}
.land-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.land-mini { display: flex; flex-direction: column; gap: 14px; }
.land-mini-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 12px;
  cursor: pointer; text-align: left; color: #FFF;
  transition: background 0.25s ease, transform 0.25s ease;
}
.land-mini-card:hover { background: rgba(255, 255, 255, 0.12); transform: translateX(4px); }
.land-mini-card .ph { width: 92px; height: 66px; border-radius: 12px; flex: none; }
.lmc-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.lmc-name { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lmc-meta { font-size: 12.5px; color: var(--accent); }
.lmc-arrow { color: rgba(255, 255, 255, 0.5); flex: none; }

/* land page */
.landpage-hero {
  position: relative;
  padding: calc(var(--nav-h) + 86px) 0 70px;
  background:
    radial-gradient(ellipse 80% 100% at 85% 10%, rgba(226, 154, 46, 0.14), transparent 55%),
    linear-gradient(160deg, #221D15 0%, #15120E 55%, #100E0B 100%);
  color: #FFF;
  overflow: hidden;
}
.landpage-hero-bg { position: absolute; inset: 0; }
.landpage-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.landpage-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 14, 10, 0.96) 0%, rgba(17, 14, 10, 0.84) 38%, rgba(17, 14, 10, 0.52) 68%, rgba(17, 14, 10, 0.38) 100%),
    linear-gradient(to top, rgba(17, 14, 10, 0.95) 0%, rgba(17, 14, 10, 0.2) 45%);
}
.landpage-hero .wrap { position: relative; }
.landpage-eyebrow { color: var(--accent); margin-bottom: 20px; }
.landpage-h1 { font-size: clamp(40px, 5.4vw, 76px); color: #FFF; margin: 0 0 22px; max-width: 800px; }
.landpage-h1 .serif-it { color: var(--accent); }
.landpage-intro { color: rgba(255, 255, 255, 0.78); font-size: 16.5px; line-height: 1.7; max-width: 620px; margin: 0 0 30px; }
.landpage-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.landpage-wa { font-size: 15.5px; padding: 15px 28px; }
.landpage-wa-note { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.landpage-areas { display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; }
.landpage-list { padding-top: 80px; padding-bottom: 30px; }
.land-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* land card */
.landcard {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex; flex-direction: column;
}
.landcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.landcard-media { position: relative; }
.landcard-media .ph { aspect-ratio: 3 / 2; height: auto; width: 100%; }
.landcard-extent {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(14, 12, 9, 0.78);
  color: var(--accent);
  font-size: 12.5px; font-weight: 700;
  padding: 7px 13px; border-radius: 99px;
  backdrop-filter: blur(4px);
}
.landcard-new { position: absolute; top: 14px; right: 14px; }
.landcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.landcard-area { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.landcard-name { font-size: 18px; font-weight: 750; margin: 0; letter-spacing: -0.01em; }
.landcard-price { font-weight: 800; font-size: 19px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.landcard-pp { font-size: 12.5px; font-weight: 650; color: var(--accent-deep); }
.landcard-blurb {
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin: 2px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.landcard-link { margin-top: auto; padding-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 6px; }

/* empty state */
.land-empty {
  text-align: center;
  padding: 70px 30px;
  border: 1.5px dashed var(--line);
  border-radius: 26px;
  max-width: 640px;
  margin: 0 auto;
}
.land-empty-mark { font-size: 26px; color: var(--accent); margin-bottom: 14px; }
.land-empty h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 14px; }
.land-empty p { color: var(--ink-soft); line-height: 1.7; max-width: 460px; margin: 0 auto 26px; }

/* why cards */
.landpage-why { padding-top: 50px; padding-bottom: 40px; }
.landwhy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.landwhy-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 28px 26px;
}
.landwhy-num { font-family: var(--font-display); font-size: 15px; color: var(--accent-deep); margin-bottom: 12px; }
.landwhy-card h3 { margin: 0 0 8px; font-size: 17px; }
.landwhy-card p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* developer band */
.land-dev {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background:
    radial-gradient(ellipse 70% 130% at 0% 100%, rgba(226, 154, 46, 0.14), transparent 55%),
    linear-gradient(135deg, #262118 0%, #15120E 100%);
  border-radius: 26px;
  padding: 50px 54px;
  color: #FFF;
}
.land-dev-copy .display { color: #FFF; font-size: clamp(26px, 3.4vw, 42px); margin: 10px 0 14px; }
.land-dev-copy .serif-it { color: var(--accent); }
.land-dev-copy p { color: rgba(255, 255, 255, 0.75); max-width: 560px; margin: 0; line-height: 1.7; font-size: 15px; }
.land-dev-btn { flex: none; }

/* ============================================================
   MOBILE — hero slider + land, distinct from desktop
   ============================================================ */
@media (max-width: 700px) {
  .hslider {
    height: min(78vh, 620px);
    border-radius: 22px;
    margin-top: 4px;
  }
  .hslide-content { padding: 0 22px 64px; }
  .hs-title { font-size: clamp(32px, 9.4vw, 40px); }
  .hs-text { font-size: 14px; max-width: none; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 18px; }
  .hs-eyebrow { font-size: 10.5px; margin-bottom: 12px; }
  .hs-ctas { gap: 9px; }
  .hs-ctas .btn { font-size: 13.5px; padding: 12px 18px; }
  .hs-nav { right: 0; left: 0; bottom: 20px; justify-content: center; }
  .hs-arrow { display: none; }  /* swipe does this on touch */
  .hslide-grad {
    background:
      linear-gradient(to top, rgba(14, 12, 9, 0.92) 0%, rgba(14, 12, 9, 0.55) 48%, rgba(14, 12, 9, 0.12) 80%);
  }
  .hero-ask { margin: 18px 0 0 !important; }
  .land-band-wrap { padding: 54px 0 10px; }
  .land-band { border-radius: 22px; }
  .land-band-inner { grid-template-columns: 1fr; gap: 28px; padding: 34px 22px 30px; }
  .land-h { font-size: 30px; }
  .land-p { font-size: 14.5px; }
  .land-areas { gap: 7px; margin-bottom: 22px; }
  .land-chip { font-size: 11.5px; padding: 6px 12px; }
  .land-ctas .btn { width: 100%; justify-content: center; }
  .landpage-hero { padding: 44px 0 46px; margin-top: -26px; }
  .landpage-h1 { font-size: 38px; }
  .landpage-intro { font-size: 15px; }
  .landpage-wa { width: 100%; justify-content: center; }
  .landpage-wa-note { font-size: 12px; }
  .landpage-list { padding-top: 54px; padding-bottom: 20px; }
  .land-grid { grid-template-columns: 1fr; gap: 18px; }
  .landwhy-grid { grid-template-columns: 1fr; gap: 14px; }
  .landwhy-card { padding: 22px 20px; }
  .land-dev { flex-direction: column; align-items: flex-start; padding: 32px 24px; gap: 22px; }
  .land-dev-btn { width: 100%; justify-content: center; }
  .land-empty { padding: 48px 22px; }
}

/* ============================================================
   PROFESSIONAL RESKIN — flat corporate realtor system
   (overrides the editorial layer above)
   ============================================================ */

/* ---- nav: flat full-width bar ---- */
.nav { padding: 0 !important; background: var(--ink); }
.nav .nav-inner,
.nav.scrolled .nav-inner {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  max-width: 1240px;
  height: var(--nav-h);
  padding: 0 36px;
}
.nav { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07); }
.nav.scrolled { padding-top: 0 !important; box-shadow: 0 2px 14px rgba(10, 14, 24, 0.35); }
.nav-links a { border-radius: 4px; font-weight: 500; }
.nav-logo img { height: 30px; }

/* ---- hero: full-bleed photo + centered search ---- */
.phero {
  position: relative;
  margin-top: var(--nav-h);
  height: clamp(560px, 78vh, 720px);
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.phero-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.phero-bg.on { opacity: 1; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(16, 22, 38, 0.52) 0%, rgba(16, 22, 38, 0.38) 45%, rgba(16, 22, 38, 0.62) 100%);
}
.phero-content { position: relative; width: 100%; text-align: center; color: #FFF; padding-top: 10px; }
.phero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
}
.phero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.14;
  margin: 0 auto 14px;
  max-width: 900px;
  color: #FFF;
  text-shadow: 0 2px 24px rgba(10, 14, 24, 0.35);
}
.phero-title .gold { color: var(--accent); }
.phero-sub {
  font-size: 15.5px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin: 0 auto 30px;
}

/* search card */
.hsearch {
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(10, 14, 24, 0.30);
  max-width: 680px;
  margin: 0 auto;
  padding: 22px 24px 24px;
}
.hsearch-radios { display: flex; justify-content: center; gap: 34px; margin-bottom: 18px; flex-wrap: wrap; }
.hsr {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  cursor: pointer; user-select: none;
}
.hsr input { position: absolute; opacity: 0; pointer-events: none; }
.hsr-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #C6CCD9;
  display: inline-block; position: relative;
  transition: border-color 0.2s ease;
}
.hsr.on { color: var(--ink); }
.hsr.on .hsr-dot { border-color: var(--accent); }
.hsr.on .hsr-dot::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: var(--accent);
}
.hsearch-row { display: flex; gap: 12px; }
.hsearch-field {
  flex: 1;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 16px;
  color: var(--muted);
  background: #FFF;
  transition: border-color 0.2s ease;
}
.hsearch-field:focus-within { border-color: var(--accent); }
.hsearch-field select {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 15px; color: var(--ink-soft); font-weight: 500;
  height: 52px; cursor: pointer; appearance: auto;
}
.hsearch-btn {
  background: var(--accent);
  color: #FFF;
  border: none; border-radius: 7px;
  font-size: 16px; font-weight: 600;
  padding: 0 44px; height: 52px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hsearch-btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.phero-social { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.phero-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFF;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.phero-social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* ---- centered section headings ---- */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.sec-title { font-size: clamp(26px, 3vw, 38px); margin: 0 0 14px; color: var(--ink); }
.sec-sub { font-size: 15.5px; line-height: 1.7; color: var(--muted); margin: 0; }
.sec-head.light .sec-title { color: #FFF; }
.sec-head.light .sec-sub { color: rgba(255, 255, 255, 0.75); }
.gold-text { color: var(--accent-deep); }
.sec-more { text-align: center; margin-top: 44px; }

/* ---- services ---- */
.svc-wrap { padding: 84px 0 30px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card {
  background: #FFF;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc-ic {
  width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-ghost);
  color: var(--accent-deep);
}
.svc-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 10px; color: var(--ink); }
.svc-card p { font-size: 13.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ---- signature listings ---- */
.sig-wrap { padding: 70px 0 30px; }
.sig-grid { gap: 24px; }

/* cards go boxy + calm */
.lcard, .landcard { border-radius: 10px; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); }
.lcard:hover, .landcard:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.lcard-price { color: var(--accent-deep); }
.badge { border-radius: 4px; }
.card { border-radius: 10px; }

/* land band & page corners */
.land-band, .landpage-hero, .land-dev { border-radius: 12px; }
.landpage-hero { border-radius: 0; }
.hslider { border-radius: 12px; }

/* seller band, steps, map inherit type; squarer corners where rounded */
.seller-band, .vt-card, .cf-media, .maprow { border-radius: 10px; }

/* marquee: quiet professional strip */
.marquee { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.marquee .display { font-size: 15px !important; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted) !important; font-weight: 600; }
.marquee .serif-it { font-size: 15px !important; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep) !important; font-weight: 600; }
.marquee [style*="font-size: 20px"] { font-size: 8px !important; }

/* footer: flat corporate */
.footer { margin-top: 90px; background: #1A2440; }
.footer .serif-it { font-style: normal; color: var(--accent); }

/* finder / quiz / forms inherit radius tokens */
input, select, textarea { border-radius: 6px; }

/* ---- mobile ---- */
@media (max-width: 700px) {
  .phero { margin-top: 0; height: auto; min-height: 0; padding: 46px 0 54px; }
  .page-enter .phero { margin-top: -26px; } /* page wrapper already clears the nav */
  .phero-title { font-size: 31px; }
  .phero-sub { font-size: 14px; margin-bottom: 24px; }
  .phero-eyebrow { font-size: 10.5px; }
  .hsearch { padding: 18px 16px 18px; }
  .hsearch-radios { gap: 18px; margin-bottom: 14px; }
  .hsr { font-size: 13.5px; }
  .hsearch-row { flex-direction: column; }
  .hsearch-btn { width: 100%; height: 50px; }
  .hsearch-field select { height: 50px; font-size: 16px; }
  .svc-wrap { padding: 56px 0 16px; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-card { padding: 20px 14px; }
  .svc-ic { width: 44px; height: 44px; margin-bottom: 12px; }
  .svc-card h3 { font-size: 13.5px; }
  .svc-card p { font-size: 12px; }
  .sig-wrap { padding: 50px 0 16px; }
  .sec-head { margin-bottom: 30px; }
  .sec-sub { font-size: 14px; }
  .sec-more { margin-top: 28px; }
  .sec-more .btn { width: 100%; justify-content: center; }
  .marquee .display, .marquee .serif-it { font-size: 12px !important; }
}

/* land page area filter pill */
.land-filter { margin-bottom: 26px; }
.land-filter-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-ghost);
  border: 1px solid var(--accent-soft);
  color: var(--accent-deep);
  border-radius: 999px;
  padding: 9px 10px 9px 16px;
  font-size: 13.5px; font-weight: 500;
}
.land-filter-pill strong { font-weight: 700; }
.land-filter-pill button {
  width: 24px; height: 24px; border-radius: 50%;
  border: none; background: var(--accent-soft); color: var(--accent-deep);
  font-size: 15px; line-height: 1; display: grid; place-items: center;
}
.land-filter-pill button:hover { background: var(--accent); color: #FFF; }
.land-empty-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 700px) {
  .land-empty-ctas { flex-direction: column; }
  .land-empty-ctas .btn { width: 100%; justify-content: center; }
}

/* nav: tidy single-line link row */
.nav .nav-inner { gap: 10px; }
.nav-logo { padding: 0 10px 0 0; }
.nav-links { gap: 2px; margin-left: 6px; flex-wrap: nowrap; min-width: 0; }
.nav-links a { white-space: nowrap; font-size: 13.5px; padding: 8px 13px; }
.nav-right { gap: 8px; flex-shrink: 0; }
.nav-right .btn { white-space: nowrap; padding: 11px 18px; font-size: 13.5px; }
.nav .btn-ghost { color: #FFF; border-color: rgba(255, 255, 255, 0.28); }
.nav .btn-ghost:hover { border-color: #FFF; }
@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-cur { display: none; }
  .nav-cta { display: none !important; }
  .nav-burger { display: flex; }
  .nav-menu { display: flex; }
}

/* ---- land band v2: facts row + area ticker ---- */
.land-grid-lines {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 70% 40%, #000 30%, transparent 75%);
}
.land-facts {
  display: flex; gap: 0; margin: 26px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.land-fact {
  flex: 1; padding: 16px 18px 16px 0;
  display: flex; flex-direction: column; gap: 3px;
}
.land-fact + .land-fact { border-left: 1px solid rgba(255, 255, 255, 0.12); padding-left: 18px; }
.lf-v { font-weight: 700; font-size: 21px; color: var(--accent); letter-spacing: -0.01em; }
.lf-l { font-size: 12px; color: rgba(255, 255, 255, 0.6); line-height: 1.45; }

.land-ticker {
  position: relative;
  display: flex; gap: 28px;
  min-width: 0;
  height: 400px;
  overflow: hidden;
  align-self: center;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.lt-col {
  display: flex; flex-direction: column; gap: 26px;
  animation: lt-up 30s linear infinite;
  flex: 1;
  min-width: 0;
}
.lt-col.rev { animation: lt-down 36s linear infinite; }
@keyframes lt-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 13px)); } }
@keyframes lt-down { from { transform: translateY(calc(-50% - 13px)); } to { transform: translateY(0); } }
.lt-item {
  font-weight: 700;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.25;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.01em;
}
.lt-item.ghost {
  color: transparent;
  -webkit-text-stroke: 1px rgba(224, 152, 32, 0.55);
}
.land-band:hover .lt-col { animation-play-state: paused; }
[data-motion="off"] .lt-col { animation: none; }

@media (max-width: 700px) {
  .land-facts { margin: 20px 0 22px; }
  .land-fact { padding-right: 12px; }
  .land-fact + .land-fact { padding-left: 12px; }
  .lf-v { font-size: 17px; }
  .lf-l { font-size: 10.5px; }
  .land-ticker { height: 190px; gap: 22px; justify-content: center; }
  .lt-col { gap: 18px; }
  .lt-item { font-size: 16px; }
}


/* land page hero: scrolling area strip instead of pills */
.land-hmarquee {
  overflow: hidden;
  margin-top: 36px;
  max-width: 760px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.land-hmarquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: lhm-scroll 44s linear infinite;
  will-change: transform;
}
.land-hmarquee:hover .land-hmarquee-track { animation-play-state: paused; }
@keyframes lhm-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[data-motion="off"] .land-hmarquee-track { animation: none; }
.lhm-item {
  display: inline-flex; align-items: center;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.lhm-dot { color: var(--accent); font-size: 7px; margin: 0 20px; }
@media (max-width: 700px) {
  .land-hmarquee { margin-top: 26px; }
  .lhm-item { font-size: 11px; }
  .lhm-dot { margin: 0 14px; }
}

/* ---- request form ---- */
.req-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.req-card { max-width: 680px; margin: 0 auto; padding: 34px 34px 30px; border-radius: 14px; box-shadow: var(--shadow-md); }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.req-grid .span2 { grid-column: 1 / -1; }
.req-form .field + .req-grid { margin-top: 16px; }
.req-opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.req-send { width: 100%; margin-top: 20px; font-size: 15.5px; padding: 15px 20px; }
.req-note { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 12px; text-align: center; }

/* land page embed */
.landpage-req { padding: 10px 0 60px; }
.land-req {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center;
  background: var(--bg-deep);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 44px 46px;
}
.land-req .req-card { padding: 26px 26px 24px; margin: 0; max-width: none; }

@media (max-width: 700px) {
  .req-card { padding: 22px 18px 20px; }
  .req-grid { grid-template-columns: 1fr; gap: 13px; }
  .land-req { grid-template-columns: 1fr; gap: 26px; padding: 26px 18px; }
  .req-head { margin-bottom: 26px; }
}

/* native dropdown lists: readable options everywhere */
select option {
  font-size: 16px;
  font-family: var(--font-ui);
  color: var(--ink);
  background: #FFF;
  padding: 10px 12px;
}
@media (max-width: 700px) {
  .field select, .req-form select { font-size: 16px; }
}


/* detail page: similar finds sits close to the footer */
.similar-sec { margin: 80px 0 0; }
@media (max-width: 700px) {
  .similar-sec { margin: 54px 0 0; }
  .footer { margin-top: 36px; }
  .marquee { margin-bottom: 0 !important; } /* homepage strip meets footer cleanly */
  body.has-actionbar .page-enter { padding-bottom: 76px !important; } /* just clears the fixed bar */
}

/* hero location combobox */
.hsearch-combo { position: relative; }
.hsearch-combo input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 15px; color: var(--ink); font-weight: 500;
  height: 52px; min-width: 0;
}
.hsearch-combo input::placeholder { color: var(--muted); font-weight: 400; }
.hs-sugg {
  position: absolute; left: -1px; right: -1px; top: calc(100% + 6px);
  background: #FFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(16, 22, 38, 0.18);
  max-height: 288px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  z-index: 30;
  text-align: left;
}
.hs-combo-toggle {
  flex: none; width: 34px; height: 34px;
  display: grid; place-items: center;
  border: none; background: transparent;
  color: var(--muted); cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
  transform: rotate(90deg);
}
.hs-combo-toggle:hover { color: var(--ink); background: var(--bg-deep); }
.hs-combo-toggle.open { transform: rotate(-90deg); color: var(--accent-deep); }
.hs-sugg-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  width: 100%;
  padding: 12px 16px;
  background: #FFF; border: none; cursor: pointer;
  font-family: inherit; text-align: left;
}
.hs-sugg-row + .hs-sugg-row { border-top: 1px solid var(--line-soft); }
.hs-sugg-row.on { background: var(--accent-ghost); }
.hs-sugg-name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.hs-sugg-sub { font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 700px) {
  .hsearch-combo input { font-size: 16px; height: 50px; }
}


@media (max-width: 700px) {
  .hs-sugg { max-height: 240px; }
}

/* Pearl's AI note on finder results */
.pearl-note {
  background: var(--accent-ghost);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0 0 30px;
}
.pearl-note-head {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.pearl-note-head::before { content: "✦"; }
.pearl-note p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
