/* ============================================================
   Janan Simaan — Bay Area Real Estate
   Decision-hub architecture · restrained luxury
   navy #0F2747 · gold #C8A24B · warm paper #FAF8F4
   ============================================================ */

:root {
  --navy: #0F2747;
  --navy-deep: #0A1B33;
  --navy-ink: #081527;
  --gold: #C8A24B;
  --gold-soft: #E3C98A;
  --ink: #2A2E35;
  --ink-soft: #676D75;
  --paper: #FAF8F4;
  --paper-deep: #F2EFE8;
  --line: #E7E3DA;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(15, 39, 71, .05);
  --shadow-md: 0 12px 36px rgba(15, 39, 71, .09);
  --shadow-lg: 0 26px 70px rgba(15, 39, 71, .15);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.25, .9, .2, 1);
  --ease-soft: cubic-bezier(.45, .05, .15, 1);
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(200, 162, 75, .25); }

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ---------- Placeholder markers (delete .ph / .ph-media when real content lands) ---------- */
.ph { border-bottom: 2px dashed var(--gold); cursor: help; }
.ph-media {
  border: 2px dashed var(--gold);
  background: repeating-linear-gradient(45deg, #F7F1E2, #F7F1E2 12px, #F1E8D2 12px, #F1E8D2 24px);
  color: #9A7B2E;
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  cursor: help; text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 500; text-decoration: none;
  border: none; cursor: pointer; border-radius: 999px;
  padding: .9rem 2rem; font-size: .96rem; line-height: 1.2;
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
}
.btn--sm { padding: .55rem 1.3rem; font-size: .85rem; }
.btn--lg { padding: 1.05rem 2.3rem; font-size: 1.02rem; }
.btn--gold {
  background: linear-gradient(135deg, #D4AF5C, #B08D3C);
  color: #fff;
  box-shadow: 0 6px 20px rgba(200, 162, 75, .28);
}
.btn--gold:hover { box-shadow: 0 12px 30px rgba(200, 162, 75, .4); transform: translateY(-2px); }
.btn--glass {
  background: rgba(255, 255, 255, .08); color: #fff;
  border: 1px solid rgba(255, 255, 255, .38);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .15); transform: translateY(-2px); }
.btn--glass-light { background: rgba(255,255,255,.95); color: var(--navy); box-shadow: var(--shadow-md); }
.btn--glass-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn .ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, .38);
  transform: scale(0); animation: ripple .6s var(--ease-soft) forwards;
}
@keyframes ripple { to { transform: scale(3.4); opacity: 0; } }

.text-link {
  color: var(--gold); font-weight: 600; text-decoration: none; font-size: .92rem;
  display: inline-flex; align-items: center; gap: .4rem;
}
.text-link .arr { transition: transform .35s var(--ease); }
.text-link:hover .arr { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  padding: 1.2rem 0;
  transition: padding .45s var(--ease), background .45s, box-shadow .45s;
}
.nav.is-scrolled, .nav--solid {
  padding: .6rem 0;
  background: rgba(250, 248, 244, .82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(15,39,71,.06);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav__logo { text-decoration: none; font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; color: #fff; transition: color .4s; }
.nav__logo em { color: var(--gold-soft); font-style: italic; }
.nav.is-scrolled .nav__logo, .nav--solid .nav__logo, .nav--dark-page.is-scrolled .nav__logo { color: var(--navy); }
.nav__links { display: flex; gap: 1.7rem; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-size: .87rem; font-weight: 500;
  color: rgba(255, 255, 255, .82); transition: color .3s; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav.is-scrolled .nav__links a, .nav--solid .nav__links a { color: var(--ink); }
.nav__cta { flex-shrink: 0; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav__toggle span {
  display: block; width: 24px; height: 1.8px; border-radius: 2px;
  background: #fff; transition: all .35s var(--ease);
}
.nav.is-scrolled .nav__toggle span, .nav--solid .nav__toggle span, .nav.menu-open .nav__toggle span { background: var(--navy); }
.nav.menu-open .nav__toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.menu-open .nav__toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 92svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
  padding: 8rem 1.5rem 6rem;
  background:
    radial-gradient(46% 38% at 50% 100%, rgba(200, 162, 75, .2), transparent 70%),
    linear-gradient(178deg, #0B1E3B 0%, #102A50 60%, #16345E 100%);
}
.hero__skyline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  opacity: .5; pointer-events: none; transition: opacity 1s ease;
}

/* cinematic scene embed (mounted by /experience/embed.js) */
.hero__scene3d {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0; transition: opacity 1.4s ease .2s; pointer-events: none;
}
.hero__scene3d.is-mounted { opacity: 1; }
.hero__scene3d canvas { width: 100% !important; height: 100% !important; display: block; }
.hero:has(.hero__scene3d.is-mounted) .hero__skyline { opacity: 0; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 58%, rgba(8,21,39,.42), transparent 75%),
    linear-gradient(180deg, rgba(8,21,39,.5) 0%, rgba(8,21,39,.12) 30%, rgba(8,21,39,.18) 62%, rgba(8,21,39,.78) 100%);
}
.hero__content { position: relative; z-index: 2; }
.hero__ctas--four { max-width: 760px; margin-left: auto; margin-right: auto; }
.hero__ctas--four .btn { min-width: 170px; }
.hero__journey { color: var(--gold-soft); text-decoration: none; }
.hero__journey:hover { text-decoration: underline; }

/* ---------- hero journey tour (embed) ---------- */
.tour-edge {
  pointer-events: auto; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: rgba(10,21,39,.55); border: 1px solid rgba(227,201,138,.45);
  color: var(--gold-soft); font-size: 26px; line-height: 1;
  backdrop-filter: blur(8px); transition: background .3s, transform .3s;
}
.tour-edge:hover { background: rgba(200,162,75,.3); transform: translateY(-50%) scale(1.08); }
.tour-ui {
  pointer-events: none; position: absolute; left: 0; right: 0; bottom: 46px;
  display: flex; justify-content: center; align-items: center; gap: 10px; z-index: 3;
}
.tour-cc {
  pointer-events: auto; margin: 0; max-width: 460px;
  background: rgba(4,8,15,.72); border: 1px solid rgba(227,201,138,.22);
  color: #f2efe8; font: 500 13px/1.45 Inter, sans-serif;
  padding: 9px 16px; border-radius: 10px;
}
.tour-cc b { color: var(--gold-soft); font-family: Fraunces, serif; font-style: italic; font-weight: 500; margin-right: 6px; }
.tour-btn {
  pointer-events: auto; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  background: rgba(10,21,39,.6); border: 1px solid rgba(227,201,138,.35);
  color: var(--gold-soft); font-size: 17px; backdrop-filter: blur(8px); transition: background .3s;
}
.tour-btn:hover { background: rgba(200,162,75,.28); }
.tour-dots {
  pointer-events: none; position: absolute; left: 0; right: 0; bottom: 22px;
  display: flex; justify-content: center; gap: 7px; z-index: 3;
}
.tour-dot {
  pointer-events: auto; width: 7px; height: 7px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid rgba(227,201,138,.55); background: transparent; transition: background .3s;
}
.tour-dot.is-on { background: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,75,.2); }

/* ---------- Tuscana brand watermark ---------- */
.hero__brand {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  background: rgba(250,248,244,.93); border-radius: 12px; padding: 8px 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,.28);
}
.hero__brand img { height: 46px; display: block; }
.hero__brand .hero__brand-text { display: none; }
.hero__brand.no-img img { display: none; }
.hero__brand.no-img .hero__brand-text {
  display: block; text-align: center; line-height: 1.15;
  font: 600 15px Fraunces, serif; color: #2e7d46; letter-spacing: .02em;
}
.hero__brand.no-img .hero__brand-text b { color: #d2691e; font-style: italic; font-size: 19px; font-weight: 600; }
.hero__brand.no-img .hero__brand-text i {
  display: block; font: 600 8.5px Inter, sans-serif; font-style: normal;
  letter-spacing: .22em; text-transform: uppercase; color: #2e7d46; margin-top: 3px;
}
@media (max-width: 760px) {
  .tour-edge { right: 8px; width: 44px; height: 44px; }
  .tour-cc { max-width: 62vw; font-size: 12px; }
  .hero__brand { left: 10px; bottom: 12px; padding: 6px 10px; }
  .hero__brand img { height: 34px; }
}
.hero__content { max-width: 820px; }
.hero__eyebrow {
  font-size: .76rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 500; margin-bottom: 1.7rem;
}
.hero__headline {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.7rem, 6.4vw, 4.8rem); line-height: 1.07;
  letter-spacing: -.015em; margin-bottom: 1.5rem; text-wrap: balance;
}
.hero__headline em { font-style: italic; color: var(--gold-soft); font-weight: 300; }
.hero__headline .w { display: inline-block; }
.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.14rem); color: rgba(255,255,255,.78);
  max-width: 600px; margin: 0 auto 2.5rem;
}
.hero__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.8rem; }
.hero__trust {
  font-size: .8rem; color: rgba(255,255,255,.6); letter-spacing: .05em;
  display: flex; align-items: center; justify-content: center; gap: .9rem; flex-wrap: wrap;
}
.hero__trust .stars { color: var(--gold-soft); letter-spacing: .16em; }
.hero__trust i { font-style: normal; opacity: .5; }

/* ---------- Connector (the one line that earns its place) ---------- */
.connector { display: flex; justify-content: center; height: 90px; margin-top: -45px; position: relative; z-index: 5; pointer-events: none; }
.connector svg { height: 100%; overflow: visible; }
.connector path, .connector line {
  stroke: var(--gold); stroke-width: 1.6; fill: none; stroke-linecap: round;
}
.connector circle { fill: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; position: relative; }
.section--tint { background: var(--paper-deep); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 860px; }
.kicker {
  display: flex; align-items: center; gap: .8rem;
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600; margin-bottom: 1.3rem;
}
.kicker::before { content: ""; height: 1px; width: 34px; background: var(--gold); }
.kicker--light { color: rgba(255,255,255,.6); }
.kicker--center { justify-content: center; }
.kicker--center::after { content: ""; height: 1px; width: 34px; background: var(--gold); }
.section__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.16; color: var(--navy);
  margin-bottom: 1.2rem; text-wrap: balance; letter-spacing: -.012em;
}
.section__title em { font-style: italic; color: var(--gold); font-weight: 300; }
.section__title--light { color: #fff; }
.section__title--light em { color: var(--gold-soft); }
.section__lede { color: var(--ink-soft); max-width: 560px; margin-bottom: 2.8rem; }
.center { text-align: center; }
.center .section__lede { margin-left: auto; margin-right: auto; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Decision hub ---------- */
.hub { padding: 5.5rem 0 6.5rem; }
.hub__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.dcard {
  display: flex; flex-direction: column; gap: .7rem; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem 1.9rem; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  position: relative;
}
.dcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(200,162,75,.55); }
.dcard__num {
  font-family: var(--font-display); font-style: italic; font-size: .95rem;
  color: var(--gold);
}
.dcard h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.32rem;
  color: var(--navy); line-height: 1.25; text-wrap: balance;
}
.dcard p { font-size: .88rem; color: var(--ink-soft); flex: 1; }
.dcard__cta {
  font-size: .86rem; font-weight: 600; color: var(--gold);
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem;
}
.dcard__cta .arr { transition: transform .35s var(--ease); }
.dcard:hover .dcard__cta .arr { transform: translateX(4px); }

/* ---------- Why (value prop) ---------- */
.why { background: var(--paper-deep); }
.why__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: center; }
.why__points { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; margin: 2.2rem 0 2.4rem; }
.why__points li { display: flex; gap: 1.1rem; }
.why__points b { display: block; color: var(--navy); font-weight: 600; font-size: 1rem; }
.why__points p { color: var(--ink-soft); font-size: .92rem; max-width: 460px; }
.why__points .dot {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; margin-top: .15rem;
  border: 1.4px solid var(--gold); color: var(--gold);
  display: grid; place-items: center; font-size: .78rem; font-family: var(--font-display); font-style: italic;
}
.why__portrait { position: relative; }
.why__photo { width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.why__id {
  position: absolute; left: 1.4rem; bottom: 1.4rem; right: 1.4rem;
  background: rgba(250,248,244,.9); backdrop-filter: blur(12px);
  border-radius: 14px; padding: .9rem 1.2rem; box-shadow: var(--shadow-md);
}
.why__id b { font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: 1.05rem; display: block; }
.why__id span { font-size: .78rem; color: var(--ink-soft); }

.statline {
  display: flex; gap: 2.8rem; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 1.8rem;
}
.statline div { display: flex; flex-direction: column; }
.statline b {
  font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.statline b.ph { align-self: flex-start; }
.statline span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Two routes ---------- */
.routes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: .8rem; }
.route {
  border-radius: var(--radius-lg); padding: 2.6rem 2.4rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.route:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.route--dark { background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.route--light { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.route__tag {
  align-self: flex-start; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 999px;
}
.route--dark .route__tag { background: rgba(227,201,138,.16); color: var(--gold-soft); }
.route--light .route__tag { background: rgba(15,39,71,.06); color: var(--navy); }
.route h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.75rem; line-height: 1.2; }
.route--light h3 { color: var(--navy); }
.route h3 em { font-style: italic; color: var(--gold-soft); }
.route--light h3 em { color: var(--gold); }
.route ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.route li { display: flex; gap: .6rem; font-size: .92rem; }
.route--dark li { color: rgba(255,255,255,.78); }
.route--light li { color: var(--ink-soft); }
.route li::before { content: "—"; color: var(--gold); flex-shrink: 0; }
.route .btn { align-self: flex-start; margin-top: .6rem; }
.routes__unsure { text-align: center; margin-top: 2.2rem; font-size: .92rem; color: var(--ink-soft); }
.routes__unsure a { color: var(--gold); font-weight: 600; text-decoration: none; }
.routes__unsure a:hover { text-decoration: underline; }

/* ---------- Proof ---------- */
.proof__quote {
  max-width: 780px; margin: 0 auto; text-align: center;
}
.proof__quote blockquote {
  font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.5; color: var(--navy);
  margin-bottom: 1.6rem; text-wrap: balance;
}
.proof__who { display: flex; align-items: center; justify-content: center; gap: .9rem; }
.proof__photo { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; }
.proof__who b { font-size: .9rem; color: var(--navy); display: block; }
.proof__who span { font-size: .76rem; color: var(--gold); letter-spacing: .04em; }
.proof__minis {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
  max-width: 880px; margin: 3rem auto 0;
}
.mini-quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.7rem; box-shadow: var(--shadow-sm);
  font-size: .92rem; color: var(--ink-soft);
}
.mini-quote .stars { display: block; font-size: .72rem; margin-bottom: .5rem; }
.mini-quote i { display: block; margin-top: .7rem; font-style: normal; font-size: .78rem; color: var(--gold); }
.stars { color: var(--gold); letter-spacing: .16em; }

/* ---------- Market teaser ---------- */
.teaser {
  background:
    radial-gradient(50% 60% at 78% 0%, rgba(200,162,75,.14), transparent 70%),
    linear-gradient(168deg, #0C2244 0%, var(--navy-ink) 90%);
  color: #fff; padding: 6rem 0;
}
.teaser__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: center; }
.teaser__stats { display: flex; gap: 2.6rem; flex-wrap: wrap; margin: 2rem 0 2.4rem; }
.teaser__stats div { display: flex; flex-direction: column; }
.teaser__stats b { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; color: var(--gold-soft); }
.teaser__stats span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.teaser__ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.teaser__skip { font-size: .85rem; color: rgba(255,255,255,.6); text-decoration: none; }
.teaser__skip:hover { color: #fff; text-decoration: underline; }
.teaser__art { position: relative; }
.teaser__art svg { width: 100%; height: auto; }
.teaser__lede { color: rgba(255,255,255,.72); max-width: 480px; }

/* ---------- Final CTA band ---------- */
.final {
  padding: 7rem 0; text-align: center; color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(56% 70% at 50% 100%, rgba(200,162,75,.18), transparent 68%),
    linear-gradient(168deg, #12305A 0%, var(--navy-ink) 75%);
}
.final h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.15;
  margin-bottom: 1rem; text-wrap: balance;
}
.final h2 em { color: var(--gold-soft); font-style: italic; }
.final p { color: rgba(255,255,255,.78); margin-bottom: 2.4rem; }
.final__phone { color: var(--gold-soft); font-weight: 600; text-decoration: none; }
.final__phone:hover { text-decoration: underline; }
.final__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Subpage hero ---------- */
.page-hero {
  padding: 9.5rem 0 4.5rem; color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(46% 50% at 82% 0%, rgba(200,162,75,.16), transparent 70%),
    linear-gradient(172deg, #0B1E3B 0%, #122C52 100%);
}
.page-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1;
  letter-spacing: -.014em; margin-bottom: 1rem; text-wrap: balance; max-width: 720px;
}
.page-hero h1 em { font-style: italic; color: var(--gold-soft); font-weight: 300; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 560px; font-size: 1.04rem; }
.page-hero__crumb {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 1.4rem; display: block; text-decoration: none;
}
.page-hero__crumb:hover { text-decoration: underline; }

/* ---------- Steps (subpages) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-style: italic; color: var(--gold);
  display: block; font-size: 1rem; margin-bottom: .7rem;
}
.step b { display: block; font-weight: 600; color: var(--navy); margin-bottom: .3rem; font-size: 1rem; }
.step p { font-size: .89rem; color: var(--ink-soft); }

/* ---------- Benefit list (subpages) ---------- */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.6rem; max-width: 820px; }
.benefit { display: flex; gap: .9rem; align-items: flex-start; }
.benefit .tick {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; margin-top: .1rem;
  border: 1.4px solid var(--gold); position: relative;
}
.benefit .tick::after {
  content: ""; position: absolute; left: 7px; top: 5px; width: 7px; height: 10px;
  border-right: 1.6px solid var(--gold); border-bottom: 1.6px solid var(--gold);
  transform: rotate(40deg);
}
.benefit b { display: block; color: var(--navy); font-weight: 600; font-size: .97rem; }
.benefit p { font-size: .88rem; color: var(--ink-soft); }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.form-wrap__art svg { width: 100%; max-width: 400px; height: auto; margin: 0 auto; }
.house-draw path { stroke-dasharray: var(--len, 900); stroke-dashoffset: var(--len, 900); }
.form { display: flex; flex-direction: column; gap: 1.05rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.form__field { display: flex; flex-direction: column; gap: .35rem; }
.form__field label { font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--navy); }
.form__field input, .form__field select {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .9rem 1.1rem; border-radius: 13px;
  border: 1.5px solid var(--line); background: #fff;
  transition: border-color .3s, box-shadow .3s; width: 100%;
}
.form__field input:focus, .form__field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,162,75,.12);
}
.form__field.is-invalid input, .form__field.is-invalid select { border-color: #B8433A; }
.form__error { font-size: .75rem; color: #B8433A; min-height: 1em; }
.form__submit { margin-top: .3rem; align-self: flex-start; }
.form__note { font-size: .78rem; color: var(--ink-soft); }
.form__success {
  padding: 1.3rem 1.5rem; border-radius: 13px; font-weight: 500;
  background: #EFF5EC; color: #2A5A34; border: 1px solid #CCE0C8;
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: .85rem; max-width: 760px; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .35s;
}
.faq__item[open] { box-shadow: var(--shadow-md); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.6rem;
  font-weight: 500; color: var(--navy); font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 15px; height: 15px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--gold); border-radius: 1px;
  transition: transform .35s var(--ease);
}
.faq__icon::before { top: 7px; left: 0; width: 15px; height: 1.6px; }
.faq__icon::after { top: 0; left: 7px; width: 1.6px; height: 15px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); }
.faq__body { padding: 0 1.6rem 1.4rem; color: var(--ink-soft); font-size: .93rem; }

/* ---------- Listing page: showcase + compare ---------- */
.showcase { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.showcase__dots { list-style: none; display: flex; gap: .55rem; margin-top: 1.8rem; }
.showcase__dots button {
  width: 30px; height: 4px; border-radius: 2px; border: 0; cursor: pointer;
  background: #D9D3C7; transition: background .35s, width .45s var(--ease);
}
.showcase__dots button.is-active { background: var(--gold); width: 48px; }
.showcase__device { display: flex; justify-content: center; }
.phone {
  width: 272px; height: 554px; border-radius: 44px; position: relative;
  background: var(--navy-ink); padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(227,201,138,.22);
}
.phone__notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 98px; height: 20px; border-radius: 11px; background: var(--navy-ink); z-index: 2;
}
.phone__screen { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; position: relative; background: #fff; }
.slide {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; transform: scale(1.04);
  transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft);
}
.slide.is-active { opacity: 1; transform: none; }
.slide__ph {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
  border: 2px dashed var(--gold); margin: 3rem 1rem 1rem; border-radius: 16px;
  background: repeating-linear-gradient(45deg, #F7F1E2, #F7F1E2 12px, #F1E8D2 12px, #F1E8D2 24px);
  text-align: center;
}
.slide__ph span { font-size: 2.1rem; }
.slide__ph em { font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .06em; color: #9A7B2E; text-transform: uppercase; line-height: 1.6; }
.slide__cap { padding: .9rem; text-align: center; font-weight: 600; font-size: .85rem; color: var(--navy); }

.compare {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); background: #fff; max-width: 840px;
}
.compare__head, .compare__row { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; align-items: center; }
.compare__head { background: var(--navy); color: rgba(255,255,255,.85); font-weight: 500; font-size: .88rem; padding: 1.05rem 1.7rem; }
.compare__head .compare__ours { color: var(--gold-soft); font-family: var(--font-display); font-style: italic; font-size: .98rem; }
.compare__row { padding: .9rem 1.7rem; border-top: 1px solid var(--line); font-size: .92rem; }
.compare__row:nth-child(even) { background: var(--paper); }
.compare__row .x { color: #B3AC9F; }
.compare__row .check { color: #2A6B3C; font-weight: 600; }

/* ---------- Consultation page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.6rem; align-items: start; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 2.6rem 2.4rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.contact-card__row { display: flex; align-items: center; gap: 1.1rem; }
.contact-card__row .ico {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  border: 1.4px solid rgba(200,162,75,.45); color: var(--gold);
  display: grid; place-items: center;
}
.contact-card__row b { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.contact-card__row a { font-size: 1.08rem; color: var(--navy); font-weight: 500; text-decoration: none; }
.contact-card__row a:hover { color: var(--gold); }

/* ============================================================
   MARKET PAGE — the Bay Area Market Journey
   ============================================================ */
.journey-intro {
  position: fixed; inset: 0; z-index: 950;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 2rem;
  background:
    radial-gradient(50% 45% at 50% 60%, rgba(38, 70, 120, .55), transparent 75%),
    linear-gradient(178deg, #060F1E 0%, #0B1E3B 100%);
  transition: opacity .9s var(--ease-soft), visibility .9s;
}
.journey-intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.journey-intro__trails { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }
.journey-intro__eyebrow { font-size: .74rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.3rem; }
.journey-intro h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.12; max-width: 700px;
  margin-bottom: 1.2rem; text-wrap: balance;
}
.journey-intro h1 em { font-style: italic; color: var(--gold-soft); }
.journey-intro p { color: rgba(255,255,255,.72); max-width: 480px; margin-bottom: 2.4rem; }
.journey-intro__btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.journey-intro__skip {
  margin-top: 1.6rem; font-size: .84rem; color: rgba(255,255,255,.55);
  background: none; border: 0; cursor: pointer; text-decoration: underline;
}
.journey-intro__skip:hover { color: #fff; }

.market-stage {
  background:
    radial-gradient(50% 60% at 20% 0%, rgba(70,110,170,.16), transparent 70%),
    linear-gradient(168deg, #0C2244 0%, var(--navy-ink) 92%);
  color: #fff; padding: 8.5rem 0 5rem; min-height: 100svh;
}
.market__layers { display: flex; gap: .55rem; flex-wrap: wrap; margin: 1.8rem 0 2rem; }
.layer-btn {
  font-family: var(--font-body); font-size: .82rem; font-weight: 500;
  padding: .55rem 1.2rem; border-radius: 999px; cursor: pointer;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  transition: all .35s var(--ease);
}
.layer-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.layer-btn.is-active {
  background: linear-gradient(135deg, rgba(200,162,75,.92), rgba(176,141,60,.92));
  border-color: transparent; color: #fff;
  box-shadow: 0 6px 20px rgba(200,162,75,.3);
}
.market__split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.4rem; align-items: stretch; }
.market__viz {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(227,201,138,.14); background: rgba(255,255,255,.02);
}
.market__svg-wrap { overflow: hidden; }
.market__svg { width: 100%; height: auto; transition: transform 1.1s var(--ease-soft); transform-origin: center; }
.market__water {
  font-family: var(--font-display); font-style: italic; font-size: 15px;
  fill: rgba(160,190,225,.45); letter-spacing: .12em;
}
.city { cursor: pointer; }
.city__base { fill: rgba(227,201,138,.16); transition: fill .35s; }
.city:hover .city__base, .city.is-active .city__base { fill: rgba(227,201,138,.38); }
.city__bar { fill: url(#barGrad); }
.city__cap { fill: var(--gold-soft); }
.city__label {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  fill: rgba(255,255,255,.85); text-anchor: middle; pointer-events: none;
}
.city__pulse { fill: none; stroke: var(--gold-soft); stroke-width: 1.2; opacity: 0; transform-origin: center; transform-box: fill-box; }
.trail { stroke: url(#trailGrad); stroke-width: 1.3; fill: none; stroke-dasharray: 8 140; opacity: .65; animation: trailFlow 5s linear infinite; }
@keyframes trailFlow { to { stroke-dashoffset: -148; } }

.market__panel {
  border-radius: var(--radius-lg); padding: 2.2rem 2.1rem;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(227,201,138,.16);
  display: flex; flex-direction: column;
}
.market__panel h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; margin-bottom: .2rem; }
.market__panel .hint { color: rgba(255,255,255,.55); font-size: .9rem; }
.market__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.6rem; margin: 1.6rem 0; }
.market__metrics div { display: flex; flex-direction: column; }
.market__metrics b { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; color: var(--gold-soft); }
.market__metrics span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.market__blurb { font-size: .9rem; color: rgba(255,255,255,.72); margin-bottom: 1.6rem; }
.market__compare {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; margin-top: auto;
}
.market__compare p { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: #fff; margin-bottom: 1rem; }
.market__compare-form { display: flex; gap: .6rem; }
.market__compare-form input {
  flex: 1; min-width: 0; font-family: var(--font-body); font-size: .92rem;
  padding: .75rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.07); color: #fff;
}
.market__compare-form input::placeholder { color: rgba(255,255,255,.45); }
.market__compare-form input:focus { outline: none; border-color: var(--gold); }
.market__footnote { font-size: .74rem; color: rgba(255,255,255,.38); margin-top: 1.1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-ink); color: rgba(255,255,255,.7); padding: 4.2rem 0 2.2rem; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 2.2rem; margin-bottom: 3rem; }
.footer__logo { font-family: var(--font-display); font-size: 1.45rem; color: #fff; }
.footer__logo em { color: var(--gold-soft); font-style: italic; }
.footer__tag { font-size: .82rem; opacity: .65; margin-top: .3rem; }
.footer__col { display: flex; flex-direction: column; gap: .5rem; }
.footer__col h4 {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .2em;
  color: var(--gold-soft); margin-bottom: .4rem; font-weight: 600;
}
.footer__col a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .3s; }
.footer__col a:hover { color: #fff; }
.footer__col a.ph { border-bottom-color: rgba(200,162,75,.55); align-self: flex-start; }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.6rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem;
  font-size: .77rem; opacity: .7;
}
.footer__legal .ph { border-bottom-color: rgba(200,162,75,.55); }

/* ---------- Conversion layer ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
  display: none; gap: .7rem; padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(250,248,244,.92); backdrop-filter: blur(16px);
  box-shadow: 0 -8px 28px rgba(15,39,71,.12);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.sticky-cta.is-shown { transform: none; }
.sticky-cta__call {
  display: flex; align-items: center; gap: .45rem; text-decoration: none;
  padding: .8rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
  color: var(--navy); border: 1.5px solid var(--navy);
}
.sticky-cta__main { flex: 1; }

.float-contact {
  position: fixed; right: 1.7rem; bottom: 1.7rem; z-index: 800;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--navy), #1D416F);
  box-shadow: var(--shadow-lg); transition: box-shadow .35s, transform .35s var(--ease);
}
.float-contact:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(15,39,71,.32); }

.modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 1.5rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8,21,39,.6); backdrop-filter: blur(4px); }
.modal__card {
  position: relative; max-width: 460px; background: var(--paper); border-radius: var(--radius-lg);
  padding: 2.8rem 2.5rem; text-align: center; box-shadow: var(--shadow-lg);
  animation: modalIn .5s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.modal__eyebrow { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .7rem; }
.modal__card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; color: var(--navy); margin-bottom: .7rem; }
.modal__card p { color: var(--ink-soft); margin-bottom: 1.6rem; font-size: .93rem; }
.modal__close {
  position: absolute; top: .85rem; right: 1.1rem; border: 0; background: none;
  font-size: 1.6rem; color: var(--ink-soft); cursor: pointer; line-height: 1;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hub__grid { grid-template-columns: 1fr 1fr; }
  .steps, .steps--4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .why__grid, .teaser__grid, .form-wrap, .contact-grid, .showcase, .market__split { grid-template-columns: 1fr; gap: 2.8rem; }
  .why__portrait { max-width: 380px; }
  .routes__grid { grid-template-columns: 1fr; }
  .proof__minis { grid-template-columns: 1fr; }
  .form-wrap__art { display: none; }
}

@media (max-width: 820px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 330px);
    background: var(--paper); flex-direction: column; padding: 6.2rem 2.3rem 2rem; gap: 1.4rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(105%); transition: transform .45s var(--ease);
    z-index: -1;
  }
  .nav.menu-open .nav__links { transform: none; }
  .nav__links a { color: var(--navy) !important; font-size: 1.15rem; font-family: var(--font-display); }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; margin-left: auto; }
  .float-contact { display: none; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 72px; }
  .form__row { grid-template-columns: 1fr; }
  .compare__head, .compare__row { grid-template-columns: 1.3fr .8fr 1fr; font-size: .83rem; padding-left: 1.1rem; padding-right: 1.1rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .section { padding: 4.5rem 0; }
  .hub__grid, .steps, .steps--4 { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__legal { flex-direction: column; }
  .form__submit { align-self: stretch; width: 100%; }
  .statline { gap: 1.6rem; }
  .teaser__stats { gap: 1.6rem; }
  .market__compare-form { flex-direction: column; }
  .phone { width: 250px; height: 512px; }
}

/* ============================================================
   Buyer side + market explorer v2
   ============================================================ */

/* ---------- Mode toggle (I'm selling / I'm buying) ---------- */
.mode-toggle {
  display: inline-flex; padding: .3rem; border-radius: 999px; gap: .25rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  margin-bottom: 1.4rem;
}
.mode-toggle button {
  font-family: var(--font-body); font-size: .88rem; font-weight: 600; cursor: pointer;
  padding: .6rem 1.5rem; border-radius: 999px; border: 0;
  background: transparent; color: rgba(255,255,255,.7);
  transition: all .35s var(--ease);
}
.mode-toggle button.is-active {
  background: linear-gradient(135deg, #D4AF5C, #B08D3C); color: #fff;
  box-shadow: 0 5px 18px rgba(200,162,75,.3);
}

/* ---------- Map v2: districts, roads, heat ---------- */
.district { cursor: pointer; }
.district__shape {
  stroke: rgba(227,201,138,.25); stroke-width: 1;
  transition: fill .5s, stroke .3s, filter .3s;
}
.district:hover .district__shape, .district.is-active .district__shape {
  stroke: var(--gold-soft); stroke-width: 1.6;
  filter: drop-shadow(0 0 10px rgba(200,162,75,.35));
}
.district__label {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  fill: rgba(255,255,255,.92); text-anchor: middle; pointer-events: none;
  paint-order: stroke; stroke: rgba(8,21,39,.55); stroke-width: 3px; stroke-linejoin: round;
}
.district__value {
  font-family: var(--font-display); font-style: italic; font-size: 12px;
  fill: var(--gold-soft); text-anchor: middle; pointer-events: none;
  paint-order: stroke; stroke: rgba(8,21,39,.5); stroke-width: 3px; stroke-linejoin: round;
}
.map-road { stroke: rgba(255,255,255,.1); stroke-width: 2; fill: none; stroke-linecap: round; }
.map-road--minor { stroke-width: 1.1; stroke: rgba(255,255,255,.07); }
.map-ridge { stroke: rgba(255,255,255,.055); stroke-width: 1.2; fill: none; }
.map-water { fill: rgba(84, 130, 190, .2); }
.map-water-edge { stroke: rgba(140, 180, 230, .3); stroke-width: 1.2; fill: none; }
.map-legend {
  position: absolute; left: 1.1rem; bottom: 1rem; display: flex; align-items: center; gap: .55rem;
  font-size: .7rem; color: rgba(255,255,255,.55); letter-spacing: .04em;
}
.map-legend__bar {
  width: 84px; height: 7px; border-radius: 4px;
  background: linear-gradient(90deg, rgba(200,162,75,.1), rgba(227,201,138,.85));
  border: 1px solid rgba(255,255,255,.12);
}
.market__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.2rem; }
.market__tags span {
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  padding: .32rem .8rem; border-radius: 999px;
  background: rgba(227,201,138,.13); color: var(--gold-soft);
  border: 1px solid rgba(227,201,138,.25);
}

/* ---------- 6-card hub variant ---------- */
.hub__grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Twin path previews (homepage) ---------- */
.path-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.ppanel {
  border-radius: var(--radius-lg); padding: 2.7rem 2.5rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.ppanel:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ppanel--dark { background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.ppanel--light { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ppanel__tag {
  align-self: flex-start; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 999px;
}
.ppanel--dark .ppanel__tag { background: rgba(227,201,138,.16); color: var(--gold-soft); }
.ppanel--light .ppanel__tag { background: rgba(15,39,71,.06); color: var(--navy); }
.ppanel h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.22; }
.ppanel--light h3 { color: var(--navy); }
.ppanel h3 em { font-style: italic; color: var(--gold-soft); }
.ppanel--light h3 em { color: var(--gold); }
.ppanel ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1.2rem; flex: 1; }
.ppanel li { display: flex; gap: .55rem; font-size: .89rem; }
.ppanel--dark li { color: rgba(255,255,255,.78); }
.ppanel--light li { color: var(--ink-soft); }
.ppanel li::before { content: "—"; color: var(--gold); flex-shrink: 0; }
.ppanel .btn { align-self: flex-start; margin-top: .7rem; }

/* ---------- Buyer journey: from search to keys ---------- */
.bjourney { position: relative; margin-top: 2.6rem; }
.bjourney__track {
  position: absolute; top: 26px; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(200,162,75,.15));
}
.bjourney__steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
.bjourney__steps li { text-align: center; padding: 0 .4rem; }
.bjourney__node {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 1rem;
  background: var(--paper); border: 1.6px solid var(--gold);
  display: grid; place-items: center; color: var(--gold);
  box-shadow: 0 0 0 6px rgba(200,162,75,.1);
  position: relative; z-index: 1;
}
.bjourney__node svg { width: 24px; height: 24px; }
.bjourney__steps b { display: block; color: var(--navy); font-size: .95rem; font-weight: 600; margin-bottom: .25rem; }
.bjourney__steps p { font-size: .82rem; color: var(--ink-soft); }

/* ---------- Search dashboard mockup ---------- */
.search-mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; max-width: 460px; margin: 0 auto;
}
.search-mock__bar {
  display: flex; align-items: center; gap: .45rem; padding: .8rem 1.1rem;
  background: var(--paper-deep); border-bottom: 1px solid var(--line);
}
.search-mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #D9D3C7; }
.search-mock__bar span {
  margin-left: .6rem; flex: 1; font-size: .74rem; color: var(--ink-soft);
  background: #fff; border-radius: 999px; padding: .3rem .9rem; border: 1px solid var(--line);
}
.search-mock__filters { display: flex; gap: .45rem; padding: 1rem 1.1rem .4rem; flex-wrap: wrap; }
.search-mock__filters span {
  font-size: .72rem; font-weight: 600; padding: .32rem .85rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-soft);
}
.search-mock__filters span.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.search-mock__cards { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; padding: 1rem 1.1rem 1.2rem; }
.search-mock__card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.search-mock__card .img { height: 68px; }
.search-mock__card .txt { padding: .55rem .7rem; }
.search-mock__card .txt b { display: block; font-size: .78rem; color: var(--navy); }
.search-mock__card .txt span { font-size: .68rem; color: var(--ink-soft); }
.search-mock__badge {
  position: absolute; margin: .5rem 0 0 .5rem; font-size: .58rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #fff;
  background: var(--gold); padding: .2rem .55rem; border-radius: 999px;
}

/* ---------- Cost split graphic (first-time buyers) ---------- */
.cost-bars { display: flex; flex-direction: column; gap: 1.1rem; max-width: 460px; }
.cost-bar span { display: flex; justify-content: space-between; font-size: .82rem; color: var(--ink-soft); margin-bottom: .35rem; }
.cost-bar span b { color: var(--navy); }
.cost-bar .bar { height: 10px; border-radius: 5px; background: var(--paper-deep); overflow: hidden; }
.cost-bar .bar i {
  display: block; height: 100%; border-radius: 5px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 1.2s var(--ease-soft);
}
.reveal.is-visible .cost-bar .bar i { width: var(--w, 50%); }

/* ---------- Neighborhood finder cards ---------- */
.band { margin-bottom: 3rem; }
.band__head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.3rem; flex-wrap: wrap; }
.band__head h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; color: var(--navy); }
.band__head span { font-size: .82rem; color: var(--gold); font-weight: 600; }
.band__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.ncard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .55rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.ncard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(200,162,75,.5); }
.ncard h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--navy); }
.ncard .price { font-size: .84rem; color: var(--gold); font-weight: 600; }
.ncard p { font-size: .85rem; color: var(--ink-soft); flex: 1; }
.ncard .tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.ncard .tags span {
  font-size: .68rem; font-weight: 600; padding: .26rem .7rem; border-radius: 999px;
  background: rgba(15,39,71,.05); color: var(--navy);
}

/* ---------- Dual FAQ columns (homepage) ---------- */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; }
.faq-cols h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.25rem;
  color: var(--navy); margin-bottom: 1.1rem;
}
.faq-cols h3 em { color: var(--gold); font-style: italic; }

/* ---------- Key illustration draw ---------- */
.key-draw path { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); }

@media (max-width: 1024px) {
  .band__grid { grid-template-columns: 1fr 1fr; }
  .hub__grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .path-preview, .faq-cols { grid-template-columns: 1fr; }
  .bjourney__track { display: none; }
  .bjourney__steps { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
}
@media (max-width: 620px) {
  .band__grid, .bjourney__steps { grid-template-columns: 1fr; }
  .hub__grid--3 { grid-template-columns: 1fr; }
  .ppanel ul { grid-template-columns: 1fr; }
  .mode-toggle { width: 100%; }
  .mode-toggle button { flex: 1; }
}
