/* =========================================================
   YOUNES MUFLEH — Luxury Real Estate · DFW
   Palette: Midnight navy · Onyx · Champagne gold · Sand ivory
   ========================================================= */

:root {
  --onyx: #05070c;
  --night: #070d1b;
  --navy: #0a1430;
  --navy-2: #101d40;
  --navy-3: #1a2a55;
  --gold: #c9a45c;
  --gold-2: #e6cd94;
  --gold-3: #9c7a3c;
  --gold-grad: linear-gradient(135deg, #9c7a3c 0%, #e6cd94 45%, #c9a45c 60%, #8a6a30 100%);
  --ivory: #f6f1e7;
  --sand: #ece2cf;
  --stone: #b9b2a3;
  --text: #e9e4d8;
  --text-dim: #a3a9b8;
  --text-dark: #141a2b;
  --text-dark-dim: #5b5f6b;
  --line: rgba(201, 164, 92, 0.28);
  --line-soft: rgba(255, 255, 255, 0.08);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 2px;
  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1320px;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23c9a45c' stroke-width='0.7'%3E%3Crect x='26' y='26' width='36' height='36'/%3E%3Crect x='26' y='26' width='36' height='36' transform='rotate(45 44 44)'/%3E%3Ccircle cx='44' cy='44' r='7'/%3E%3Cpath d='M0 0L26 26M88 0L62 26M0 88L26 62M88 88L62 62M44 0v18M44 70v18M0 44h18M70 44h18'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--onyx); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: clamp(44px, 7vw, 108px); }
h2 { font-size: clamp(36px, 4.6vw, 68px); }
h3 { font-size: clamp(24px, 2.2vw, 32px); }
em { font-style: italic; }
p { margin: 0 0 1em; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold);
}
.eyebrow {
  font-family: var(--sans); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .8; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.section-head .lede { max-width: 460px; color: var(--text-dim); margin: 0; }
.center-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 72px); }
.center-head h2 { margin-top: 18px; }
.center-head p { color: var(--text-dim); margin-top: 18px; }

.bg-onyx { background: var(--onyx); }
.bg-navy { background: radial-gradient(1200px 600px at 80% 0%, #13224a 0%, var(--navy) 55%, var(--night) 100%); }
.bg-sand { background: var(--ivory); color: var(--text-dark); }
.bg-sand .lede, .bg-sand p { color: var(--text-dark-dim); }
.bg-sand .eyebrow { color: var(--gold-3); }
.pattern::before {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern);
  opacity: .07; pointer-events: none; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.bg-sand.pattern::before { opacity: .12; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 30px; border: 1px solid var(--b); border-radius: var(--radius);
  font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-2); background: transparent; cursor: pointer; position: relative; overflow: hidden;
  transition: color .5s var(--ease), border-color .5s var(--ease);
  isolation: isolate; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--gold-grad); z-index: -1;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover { color: var(--onyx); }
.btn:hover::before { transform: translateY(0); }
.btn.solid { color: var(--onyx); border-color: transparent; }
.btn.solid::before { transform: none; }
.btn.solid:hover::before { filter: brightness(1.12); }
.btn.dark { --b: var(--text-dark); color: var(--text-dark); }
.btn.dark::before { background: var(--text-dark); }
.btn.dark:hover { color: var(--ivory); }
.btn.sm { padding: 11px 20px; font-size: 11px; }
.btn svg { width: 16px; height: 16px; }
.link-arrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); display: inline-flex; gap: 10px; align-items: center; font-weight: 500; }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent; padding: 22px 0;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(7, 13, 27, 0.82); backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-soft); padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 40px; height: 48px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--sans); font-weight: 400; letter-spacing: .34em; font-size: 15px; color: var(--ivory); }
.brand-sub { font-size: 9.5px; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; margin-top: 4px; }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 38px); align-items: center; }
.nav-links a {
  font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; color: var(--text);
  position: relative; padding: 6px 0;
}
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--gold-2); }
.nav-cta { display: flex; gap: 14px; align-items: center; }
.nav-phone { font-size: 12px; letter-spacing: .14em; color: var(--text-dim); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 1px; background: var(--ivory); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--onyx); display: flex; flex-direction: column;
  justify-content: center; padding: 100px var(--gutter) 40px; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.mobile-menu::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); opacity: .06; }
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--serif); font-size: 40px; color: var(--ivory); position: relative; }
.mobile-menu a:hover { color: var(--gold-2); }
.mobile-menu .mm-foot { margin-top: 32px; font-size: 13px; color: var(--text-dim); letter-spacing: .1em; position: relative; }

/* ---------- Intro loader ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; background: var(--onyx); display: grid; place-items: center; transition: opacity .9s var(--ease), visibility .9s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader svg { width: 86px; height: 104px; }
.loader .arch-path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.6s var(--ease) forwards; }
.loader .mono { opacity: 0; animation: fadeIn 1s .7s var(--ease) forwards; }
.loader .ld-name { margin-top: 22px; letter-spacing: .5em; font-size: 12px; color: var(--gold-2); opacity: 0; animation: fadeIn 1s 1s forwards; text-align: center; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--onyx); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 2.2s var(--ease); }
.hero-slide.on { opacity: 1; animation: kenburns 12s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0,0,0); } to { transform: scale(1.0) translate3d(-1%, -1%, 0); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,7,12,.72) 0%, rgba(7,13,27,.35) 40%, rgba(7,13,27,.55) 70%, var(--night) 100%),
              radial-gradient(900px 500px at 15% 60%, rgba(10,20,48,.75), transparent 70%);
}
.hero-pattern { position: absolute; inset: 0; z-index: 1; background-image: var(--pattern); opacity: .05; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 140px; }
.hero h1 { margin: 26px 0 26px; max-width: 13ch; color: var(--ivory); font-weight: 300; }
.hero h1 em { font-weight: 400; }
.hero .sub { max-width: 540px; font-size: 18px; color: rgba(233,228,216,.85); }
.hero-meta { display: flex; gap: 10px 26px; flex-wrap: wrap; margin-top: 10px; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-dim); }
.hero-meta b { color: var(--gold-2); font-weight: 400; }

.concierge {
  margin-top: 44px; max-width: 860px; background: rgba(7, 13, 27, .55);
  border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 10px; border-radius: var(--radius);
}
.concierge-tabs { display: flex; gap: 4px; padding: 4px 4px 10px; flex-wrap: wrap; }
.concierge-tabs button {
  background: none; border: 0; padding: 8px 16px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-dim); cursor: pointer; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s;
}
.concierge-tabs button.on { color: var(--gold-2); border-color: var(--gold); }
.concierge-row { display: flex; gap: 10px; align-items: stretch; }
.concierge-input { flex: 1; display: flex; align-items: center; gap: 14px; padding: 0 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line-soft); min-height: 60px; }
.concierge-input svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.concierge-input input { width: 100%; background: none; border: 0; outline: 0; font-size: 16px; color: var(--ivory); padding: 16px 0; }
.concierge-input input::placeholder { color: rgba(233,228,216,.5); }
.concierge-chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 6px 4px; min-height: 20px; }
.chip {
  font-size: 11px; letter-spacing: .12em; padding: 6px 12px; border: 1px solid var(--line); color: var(--gold-2);
  background: rgba(201,164,92,.06); border-radius: 30px; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap;
}
.chip.ghost { color: var(--text-dim); border-color: var(--line-soft); background: none; cursor: pointer; transition: color .3s, border-color .3s; }
.chip.ghost:hover { color: var(--gold-2); border-color: var(--line); }
.ai-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(201,164,92,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,164,92,.6); } 70% { box-shadow: 0 0 0 8px rgba(201,164,92,0); } 100% { box-shadow: 0 0 0 0 rgba(201,164,92,0); } }

.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .4em; color: var(--text-dim); text-transform: uppercase; }
.hero-scroll i { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero-dots { position: absolute; right: var(--gutter); bottom: 40px; z-index: 2; display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 2px; background: rgba(255,255,255,.25); border: 0; cursor: pointer; padding: 0; position: relative; overflow: hidden; }
.hero-dots button.on::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: fill 7s linear forwards; transform-origin: left; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--night); position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 46px 28px; text-align: center; border-left: 1px solid var(--line-soft); }
.stat:first-child { border-left: 0; }
.stat-num { font-family: var(--serif); font-size: clamp(40px, 4.2vw, 64px); line-height: 1; }
.stat-label { margin-top: 12px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- Listing cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.card { position: relative; background: var(--navy); border: 1px solid var(--line-soft); transition: border-color .5s var(--ease), transform .6s var(--ease); display: flex; flex-direction: column; }
.card:hover { border-color: var(--line); transform: translateY(-4px); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,7,12,.7)); }
.badge {
  position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  padding: 6px 12px; background: rgba(5,7,12,.7); color: var(--gold-2); border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.badge.sold { background: var(--gold-grad); color: var(--onyx); border-color: transparent; font-weight: 500; }
.badge.pending { color: #e9e4d8; }
.badge.sample { left: auto; right: 60px; top: 16px; color: var(--text-dim); border-color: var(--line-soft); }
.fav {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(5,7,12,.45); backdrop-filter: blur(6px);
  display: grid; place-items: center; cursor: pointer; color: var(--ivory); transition: all .3s;
}
.fav svg { width: 17px; height: 17px; }
.fav.on { color: var(--gold); border-color: var(--gold); }
.fav.on svg { fill: var(--gold); }
.card-price-over { position: absolute; left: 18px; bottom: 14px; z-index: 2; font-family: var(--serif); font-size: 30px; color: var(--ivory); line-height: 1; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-family: var(--serif); font-size: 23px; color: var(--ivory); line-height: 1.2; }
.card-loc { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.card-specs { display: flex; gap: 18px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--text-dim); flex-wrap: wrap; }
.card-specs b { color: var(--text); font-weight: 400; }
.card.lg .card-media { aspect-ratio: 16 / 11; }

/* carousel */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(340px, 34%); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--gold-2); cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s; }
.rail-ctrl button:hover { background: var(--gold); color: var(--onyx); }
.rail-progress { height: 1px; background: var(--line-soft); margin-top: 34px; position: relative; }
.rail-progress i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold); width: 20%; transition: left .3s, width .3s; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.arch-frame { position: relative; max-width: 470px; margin: 0 auto; width: 100%; }
.arch-frame .arch-img { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 3 / 4.2; position: relative; z-index: 1; background: var(--navy-2); }
.arch-frame .arch-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.arch-frame::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gold); border-radius: 999px 999px 0 0; opacity: .7; }
.arch-frame .seal {
  position: absolute; z-index: 2; right: -30px; bottom: 60px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--night); border: 1px solid var(--gold); display: grid; place-items: center; text-align: center; padding: 14px;
}
.arch-frame .seal b { display: block; font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1; }
.arch-frame .seal span { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-dim); display: block; margin-top: 6px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--gold-3); margin-top: 18px; }
.bg-sand h2 { color: var(--text-dark); }
.bullets { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.bullets li { position: relative; padding-left: 22px; font-size: 15px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); }
.service {
  padding: 44px 38px 48px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  position: relative; overflow: hidden; transition: background .6s var(--ease); min-height: 300px; display: flex; flex-direction: column;
}
.service::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); opacity: 0; transition: opacity .6s; }
.service:hover { background: var(--navy-2); }
.service:hover::before { opacity: .06; }
.service .num { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: .1em; }
.service svg { width: 46px; height: 46px; color: var(--gold); margin: 26px 0 22px; stroke-width: 1; }
.service h3 { color: var(--ivory); margin-bottom: 12px; }
.service p { color: var(--text-dim); font-size: 15px; margin: 0; position: relative; }
.service .link-arrow { margin-top: auto; padding-top: 22px; position: relative; }

/* ---------- Communities ---------- */
.communities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.community { position: relative; display: block; }
.community .arch { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 3 / 4; position: relative; background: var(--navy-2); }
.community .arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s; filter: saturate(.85); }
.community:hover .arch img { transform: scale(1.08); filter: saturate(1.05); }
.community .arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,7,12,.85)); }
.community .c-label { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2; text-align: center; color: var(--ivory); }
.community .c-label h3 { font-size: 30px; }
.community .c-label span { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-2); }
.community .arch-line { position: absolute; inset: 10px; border: 1px solid rgba(230,205,148,.45); border-radius: 999px 999px 0 0; z-index: 2; pointer-events: none; transition: inset .6s var(--ease); }
.community:hover .arch-line { inset: 16px; }
.more-areas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 44px; }
.more-areas a { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding: 10px 18px; border: 1px solid rgba(20,26,43,.18); color: var(--text-dark); transition: all .3s; }
.more-areas a:hover { border-color: var(--gold-3); color: var(--gold-3); }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; text-align: center; }
.partner { padding: 40px 20px; }
.partner small { display: block; font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.partner .wordmark { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); color: var(--ivory); letter-spacing: .04em; }
.partner .wordmark.real { font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; font-size: clamp(34px, 3.6vw, 52px); text-transform: lowercase; }
.partner .wordmark.hg { letter-spacing: .26em; text-transform: uppercase; font-size: clamp(16px, 1.7vw, 22px); font-family: var(--sans); font-weight: 400; }
.partner .wordmark.hg b { display: block; font-family: var(--serif); letter-spacing: .08em; font-size: 1.9em; font-weight: 400; text-transform: none; }
.partner img.logo { max-height: 70px; width: auto; margin: 0 auto; }
.partner-divider { width: 1px; height: 120px; background: linear-gradient(transparent, var(--gold), transparent); }

/* ---------- Valuation / CTA ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.35) saturate(.8); transform: scale(1.05); }
.cta-band .container { position: relative; z-index: 1; }
.valuation { display: flex; gap: 10px; max-width: 720px; margin: 36px auto 0; }
.valuation input { flex: 1; min-width: 0; }

/* ---------- Forms ---------- */
.form-card { background: rgba(10, 20, 48, .6); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); position: relative; backdrop-filter: blur(10px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-dim); }
.input, .field input, .field select, .field textarea, .valuation input {
  width: 100%; background: rgba(255,255,255,.035); border: 1px solid var(--line-soft); color: var(--ivory);
  padding: 15px 16px; border-radius: var(--radius); outline: none; font-size: 15px; transition: border-color .3s, background .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--navy); }
.field textarea { min-height: 110px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus, .valuation input:focus { border-color: var(--gold); background: rgba(255,255,255,.06); }
.field.invalid input, .field.invalid select { border-color: #c96a5c; }
.err { color: #e08b7d; font-size: 12px; min-height: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block; padding: 9px 16px; border: 1px solid var(--line-soft); font-size: 12.5px; letter-spacing: .06em;
  cursor: pointer; transition: all .3s; color: var(--text); border-radius: 40px; user-select: none;
}
.choice span:hover { border-color: var(--line); }
.choice input:checked + span { background: var(--gold-grad); color: var(--onyx); border-color: transparent; }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; color: var(--text-dim); line-height: 1.55; }
.consent input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success .tick { width: 74px; height: 74px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; margin: 0 auto 22px; color: var(--gold); }
.form-success h3 { color: var(--ivory); margin-bottom: 10px; }
.steps-dots { display: flex; gap: 6px; margin-bottom: 22px; }
.steps-dots i { flex: 1; height: 2px; background: var(--line-soft); }
.steps-dots i.on { background: var(--gold); }

/* ---------- Modal (lead gate) ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,5,10,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal-box {
  position: relative; width: 100%; max-width: 980px; max-height: calc(100svh - 40px); overflow: auto;
  background: var(--night); border: 1px solid var(--line); display: grid; grid-template-columns: .85fr 1.15fr;
  transform: translateY(30px) scale(.98); transition: transform .7s var(--ease);
}
.modal.open .modal-box { transform: none; }
.modal-side { position: relative; background-size: cover; background-position: center; min-height: 100%; }
.modal-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,13,27,.3), rgba(7,13,27,.95)); }
.modal-side .ms-inner { position: absolute; left: 30px; right: 30px; bottom: 34px; z-index: 1; }
.modal-side h3 { color: var(--ivory); font-size: 34px; margin: 14px 0 12px; }
.modal-side p { color: var(--text-dim); font-size: 14px; margin: 0; }
.modal-side ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: 13px; color: var(--text); }
.modal-side li { padding: 5px 0 5px 20px; position: relative; }
.modal-side li::before { content: ""; position: absolute; left: 0; top: 12px; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.modal-main { padding: clamp(26px, 3.4vw, 46px); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-soft); background: rgba(5,7,12,.6); color: var(--ivory); cursor: pointer; font-size: 20px; line-height: 1; }
.modal-close:hover { border-color: var(--gold); color: var(--gold); }
.modal h4 { font-family: var(--serif); font-size: 30px; color: var(--ivory); font-weight: 400; margin: 0 0 6px; }
.modal .muted { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--onyx); border-top: 1px solid var(--line-soft); position: relative; padding-top: 90px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 60px; }
.footer-top h5 { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 0 0 20px; font-weight: 500; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--text-dim); }
.footer-top a:hover { color: var(--gold-2); }
.footer-contact { font-size: 14px; color: var(--text-dim); display: grid; gap: 6px; }
.footer-contact .agent-line { font-size: 16px; color: var(--ivory); letter-spacing: .04em; }
.footer-contact .broker-line { font-size: 14px; color: var(--ivory); letter-spacing: .04em; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-2); transition: all .3s; }
.socials a:hover { background: var(--gold); color: var(--onyx); }
.socials svg { width: 17px; height: 17px; }
.legal { border-top: 1px solid var(--line-soft); padding: 34px 0 40px; font-size: 12px; color: #8a90a0; line-height: 1.7; }
.trec-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 20px; font-size: 13.5px; }
.trec-links a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.legal-row .eho { display: flex; gap: 14px; align-items: center; max-width: 720px; }
.legal-row .eho svg { width: 44px; height: 44px; flex: none; color: #b0b5c2; }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-links a:hover { color: var(--gold-2); }
.disclaimer { margin-top: 18px; font-size: 11.5px; color: #6f7585; }

/* ---------- Floating quick contact ---------- */
.quick { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.quick a, .quick button {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: rgba(7,13,27,.85); color: var(--gold-2); backdrop-filter: blur(10px);
  transition: transform .4s var(--ease), background .3s; box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.quick a:hover, .quick button:hover { transform: translateY(-3px); background: var(--gold); color: var(--onyx); }
.quick svg { width: 21px; height: 21px; }
.quick .q-main { background: var(--gold-grad); color: var(--onyx); border-color: transparent; }
.quick .q-sub { opacity: 0; transform: translateY(10px) scale(.8); pointer-events: none; }
.quick.open .q-sub { opacity: 1; transform: none; pointer-events: auto; }
.quick .q-sub:nth-child(1) { transition-delay: .08s; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 190px 0 90px; overflow: hidden; background: var(--onyx); }
.page-hero .bgimg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.38); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,12,.4), var(--night)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(44px, 6vw, 90px); margin-top: 20px; color: var(--ivory); font-weight: 300; }
.page-hero p { max-width: 620px; color: rgba(233,228,216,.8); margin-top: 20px; font-size: 17px; }
.crumbs { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-dim); }
.crumbs a:hover { color: var(--gold-2); }

/* ---------- Search page ---------- */
.search-shell { padding-top: 76px; }
.search-bar { position: sticky; top: 64px; z-index: 50; background: rgba(7,13,27,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
.search-bar .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search-bar .concierge-input { min-height: 50px; flex: 1 1 340px; }
.search-bar .concierge-input input { font-size: 15px; padding: 12px 0; }
.search-bar select, .search-bar .sel {
  background: rgba(255,255,255,.035); border: 1px solid var(--line-soft); color: var(--ivory); padding: 0 34px 0 14px; height: 50px; font-size: 13px;
  appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; outline: none;
}
.search-bar select:focus { border-color: var(--gold); }
.search-bar select option { background: var(--navy); }
.search-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.search-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: calc(100svh - 150px); }
.results { padding: 28px var(--gutter) 60px; }
.results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 16px; flex-wrap: wrap; }
.results-head h2 { font-size: 30px; }
.results-head .count { color: var(--text-dim); font-size: 13px; letter-spacing: .1em; }
.results .cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.results .card.hl { border-color: var(--gold); }
.map-col { position: relative; }
#map { position: sticky; top: 150px; height: calc(100svh - 150px); width: 100%; background: #0b1020; }
.leaflet-container { background: #0b1020 !important; font-family: var(--sans) !important; }
.price-pin {
  background: var(--night); color: var(--gold-2); border: 1px solid var(--gold); font-size: 12px; font-weight: 500; letter-spacing: .04em;
  padding: 4px 9px; border-radius: 30px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.45); transform: translate(-50%, -50%);
  display: inline-block; transition: background .25s, color .25s, transform .25s; cursor: pointer;
}
.price-pin.hl, .price-pin:hover { background: var(--gold); color: var(--onyx); transform: translate(-50%, -50%) scale(1.12); }
.pin-wrap { background: none !important; border: 0 !important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--night) !important; color: var(--ivory) !important; border: 1px solid var(--line); border-radius: 2px !important; }
.leaflet-popup-content { margin: 0 !important; width: 240px !important; }
.map-pop img { width: 100%; height: 130px; object-fit: cover; }
.map-pop div { padding: 10px 12px 12px; }
.map-pop b { font-family: var(--serif); font-size: 22px; font-weight: 400; display: block; }
.map-pop span { font-size: 12px; color: var(--text-dim); }
.leaflet-control-attribution { background: rgba(5,7,12,.7) !important; color: #7f8595 !important; }
.leaflet-control-attribution a { color: #a9afbd !important; }
.leaflet-bar a { background: var(--night) !important; color: var(--gold-2) !important; border-color: var(--line-soft) !important; }
.empty { padding: 60px 20px; text-align: center; color: var(--text-dim); border: 1px dashed var(--line-soft); }
.mobile-map-toggle { display: none; }
.demo-note { font-size: 11.5px; color: var(--text-dim); letter-spacing: .06em; border: 1px dashed var(--line-soft); padding: 10px 14px; margin-bottom: 20px; }

/* ---------- Property page ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(74svh, 720px); margin-top: 84px; }
.gallery button { padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--navy-2); position: relative; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery .all-photos { position: absolute; right: 16px; bottom: 16px; background: rgba(5,7,12,.75); border: 1px solid var(--line); color: var(--ivory); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 10px 16px; }
.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(30px, 5vw, 80px); padding: 56px 0 100px; }
.prop-head h1 { font-size: clamp(38px, 4.6vw, 64px); color: var(--ivory); margin: 14px 0 6px; }
.prop-price { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 50px); }
.prop-addr { color: var(--text-dim); letter-spacing: .08em; }
.prop-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); border: 1px solid var(--line-soft); margin: 34px 0 40px; }
.prop-specs div { padding: 22px 18px; border-right: 1px solid var(--line-soft); text-align: center; }
.prop-specs div:last-child { border-right: 0; }
.prop-specs b { display: block; font-family: var(--serif); font-size: 32px; font-weight: 400; color: var(--ivory); line-height: 1; }
.prop-specs span { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-dim); }
.prop-section { padding: 36px 0; border-top: 1px solid var(--line-soft); }
.prop-section h3 { color: var(--ivory); margin-bottom: 18px; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; }
.features li { padding-left: 22px; position: relative; color: var(--text); }
.features li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.facts div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.facts div span:first-child { color: var(--text-dim); }
#prop-map { height: 360px; border: 1px solid var(--line-soft); }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.calc .field input[type=range] { padding: 0; accent-color: var(--gold); background: none; border: 0; }
.calc-out { text-align: center; padding: 30px; border: 1px solid var(--line); background: rgba(201,164,92,.04); }
.calc-out b { font-family: var(--serif); font-size: 52px; font-weight: 400; display: block; line-height: 1.1; }
.calc-out span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-dim); }
.calc-break { display: flex; justify-content: center; gap: 18px; margin-top: 14px; font-size: 12.5px; color: var(--text-dim); flex-wrap: wrap; }
.sticky-side { position: sticky; top: 100px; align-self: start; }
.agent-mini { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.agent-mini img { width: 64px; height: 76px; object-fit: cover; object-position: center 20%; border-radius: 999px 999px 0 0; border: 1px solid var(--gold); }
.agent-mini b { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--ivory); display: block; line-height: 1.1; }
.agent-mini span { font-size: 11px; letter-spacing: .14em; color: var(--text-dim); text-transform: uppercase; }
.date-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.date-chips .choice span { display: flex; flex-direction: column; align-items: center; border-radius: 2px; padding: 9px 4px; line-height: 1.2; text-align: center; width: 100%; }
.date-chips .choice span small { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.date-chips .choice span b { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.date-chips .choice { display: flex; }
.lightbox { position: fixed; inset: 0; z-index: 600; background: rgba(3,5,10,.96); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84svh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 1px solid var(--line); color: var(--ivory); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 22px; }
.lightbox .lb-prev { left: 20px; top: 50%; } .lightbox .lb-next { right: 20px; top: 50%; } .lightbox .lb-close { right: 20px; top: 20px; }
.lightbox .lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: .3em; color: var(--text-dim); }

/* ---------- Portfolio tabs ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 40px; border-bottom: 1px solid var(--line-soft); }
.tabs button { background: none; border: 0; padding: 14px 22px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-dim); cursor: pointer; border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color .3s, border-color .3s; }
.tabs button.on { color: var(--gold-2); border-color: var(--gold); }
.tabs button sup { font-size: 10px; margin-left: 4px; color: var(--gold); }

/* ---------- Bio / about ---------- */
.prose p { font-size: 17px; color: var(--text); }
.bg-sand .prose p { color: #2e3445; }
.prose p:first-of-type::first-letter { font-family: var(--serif); font-size: 4.2em; float: left; line-height: .9; padding: 6px 12px 0 0; color: var(--gold); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-soft); }
.value { padding: 36px 26px; border-right: 1px solid var(--line-soft); }
.value:last-child { border-right: 0; }
.value b { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--ivory); display: block; margin: 12px 0 10px; }
.value p { color: var(--text-dim); font-size: 14.5px; margin: 0; }
.value .num { font-family: var(--serif); color: var(--gold); }

/* ---------- Community page ---------- */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.highlight { padding: 30px; border: 1px solid var(--line-soft); }
.highlight b { font-family: var(--serif); font-size: 24px; color: var(--ivory); font-weight: 400; display: block; margin-bottom: 8px; }
.highlight p { color: var(--text-dim); font-size: 14.5px; margin: 0; }

/* ---------- Legal page ---------- */
.legal-doc { max-width: 860px; }
.legal-doc h2 { font-size: 34px; color: var(--ivory); margin: 56px 0 16px; padding-top: 30px; border-top: 1px solid var(--line-soft); }
.legal-doc p, .legal-doc li { color: var(--text-dim); font-size: 15px; }
.legal-doc a { color: var(--gold-2); text-decoration: underline; }
.todo { background: rgba(201,164,92,.1); border: 1px dashed var(--gold); color: var(--gold-2); padding: 1px 6px; font-size: .92em; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
.line-reveal { display: block; overflow: hidden; }
.line-reveal > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.in .line-reveal > span, .line-reveal.in > span { transform: none; }
.in .line-reveal:nth-child(2) > span { transition-delay: .12s; }
.in .line-reveal:nth-child(3) > span { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .line-reveal > span { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; }
  .communities { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .prop-layout { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
}
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .rail { grid-auto-columns: minmax(300px, 70%); }
  .partners { grid-template-columns: 1fr; }
  .partner-divider { width: 120px; height: 1px; margin: 0 auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
  .modal-box { grid-template-columns: 1fr; }
  .modal-side { min-height: 180px; }
  .modal-side ul { display: none; }
  .search-layout { grid-template-columns: 1fr; }
  .map-col { display: none; }
  .map-col.show { display: block; position: fixed; inset: 0; z-index: 120; }
  .map-col.show #map { top: 0; height: 100svh; }
  .mobile-map-toggle { display: inline-flex; position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 130; }
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(2) { border-right: 0; }
  .highlights { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 70svh; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(n+4) { display: none; }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .brand-name { font-size: 13px; letter-spacing: .26em; }
  .brand-sub { font-size: 8.5px; }
  .nav-cta .btn { display: none; }
  .hero .sub { font-size: 16px; }
  .concierge-row { flex-direction: column; }
  .concierge-row .btn { width: 100%; }
  .services { grid-template-columns: 1fr; }
  .communities { grid-template-columns: 1fr 1fr; gap: 12px; }
  .community .c-label h3 { font-size: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .bullets, .features, .facts { grid-template-columns: 1fr; }
  .valuation { flex-direction: column; }
  .arch-frame .seal { right: -6px; width: 112px; height: 112px; }
  .values { grid-template-columns: 1fr; }
  .value { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .date-chips { grid-template-columns: repeat(4, 1fr); }
  .hero-dots { display: none; }
  .search-bar { top: 58px; }
  .quick { right: 14px; bottom: 14px; }
  .rail { grid-auto-columns: 86%; }
  .cards { grid-template-columns: 1fr; }
  .prop-specs div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
}

/* header fit tweaks */
.brand-name, .nav-phone, .nav-links a { white-space: nowrap; }
@media (max-width: 1380px) { .nav-phone { display: none; } }
.empty { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .concierge-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .concierge-tabs::-webkit-scrollbar { display: none; }
  .concierge-tabs button { flex: none; padding: 8px 12px; }
}

/* ---------- Video tours ---------- */
.vcard { display: flex; flex-direction: column; gap: 16px; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; width: 100%; }
.vthumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-2); border: 1px solid var(--line-soft); transition: border-color .5s var(--ease); }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.9) brightness(.85); }
.vthumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,12,.1) 40%, rgba(5,7,12,.75)); }
.vcard:hover .vthumb { border-color: var(--line); }
.vcard:hover .vthumb img { transform: scale(1.06); filter: saturate(1.05) brightness(1); }
.vplay { position: absolute; z-index: 2; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; display: grid; place-items: center; color: var(--onyx); background: var(--gold-grad); box-shadow: 0 0 0 10px rgba(201,164,92,.18); transition: transform .5s var(--ease), box-shadow .5s; }
.vplay svg { width: 26px; height: 26px; margin-left: 3px; }
.vcard:hover .vplay { transform: scale(1.1); box-shadow: 0 0 0 16px rgba(201,164,92,.12); }
.vlen, .vprice { position: absolute; z-index: 2; bottom: 12px; font-size: 11px; letter-spacing: .14em; padding: 5px 10px; background: rgba(5,7,12,.75); border: 1px solid var(--line-soft); color: var(--ivory); }
.vlen { right: 12px; } .vprice { left: 12px; color: var(--gold-2); border-color: var(--line); font-family: var(--serif); font-size: 17px; letter-spacing: .02em; padding: 2px 10px; }
.vmeta { display: flex; flex-direction: column; gap: 6px; }
.vtitle { font-family: var(--serif); font-size: 23px; color: var(--ivory); line-height: 1.2; }
.vcard.lg .vplay { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
.vcard.lg .vplay svg { width: 34px; height: 34px; }
.vcard.lg .vtitle { font-size: clamp(26px, 2.6vw, 38px); }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 44px 28px; }
.tours-feature { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(30px, 4vw, 64px); align-items: center; }
.tours-side { display: grid; gap: 18px; }
.tours-side .vcard { flex-direction: row; align-items: center; gap: 18px; }
.tours-side .vthumb { width: 46%; flex: none; }
.tours-side .vplay { width: 44px; height: 44px; margin: -22px 0 0 -22px; box-shadow: 0 0 0 6px rgba(201,164,92,.18); }
.tours-side .vplay svg { width: 18px; height: 18px; }
.tours-side .vtitle { font-size: 19px; }
.tours-side .vlen, .tours-side .vprice { display: none; }
.vplayer { position: fixed; inset: 0; z-index: 650; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .4s var(--ease); }
.vplayer.open { opacity: 1; }
.vplayer-box { position: relative; width: min(1200px, 100%); }
.vplayer .modal-close { top: -54px; right: 0; }
.vframe { aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); }
.vframe iframe { width: 100%; height: 100%; border: 0; display: block; }
.vplayer-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.vplayer-foot .btn svg { width: 16px; height: 16px; }
.city-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.city-filter button { background: none; border: 1px solid var(--line-soft); color: var(--text); padding: 9px 18px; border-radius: 40px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: all .3s; }
.city-filter button:hover { border-color: var(--line); }
.city-filter button.on { background: var(--gold-grad); color: var(--onyx); border-color: transparent; }
.yt-band { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 40px; border: 1px solid var(--line); background: linear-gradient(120deg, rgba(201,164,92,.08), transparent 60%); flex-wrap: wrap; }
.yt-band h3 { color: var(--ivory); }
.yt-band .btn svg { width: 18px; height: 18px; }

/* Hero background film (YouTube) */
.hero-video { position: absolute; inset: 0; overflow: hidden; z-index: 0; opacity: 0; transition: opacity 2s var(--ease); pointer-events: none; }
.hero-video.on { opacity: 1; }
.hero-video iframe, .hero-video > div { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%) scale(1.15); border: 0; }
.hero-film-btn { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; background: none; border: 0; color: var(--ivory); cursor: pointer; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; padding: 0; }
.hero-film-btn .vplay { position: static; margin: 0; width: 54px; height: 54px; }
.hero-film-btn .vplay svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .tours-feature { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .vgrid { grid-template-columns: 1fr; }
  .tours-side .vcard { flex-direction: column; align-items: stretch; }
  .tours-side .vthumb { width: 100%; }
  .yt-band { padding: 26px; }
}

/* ---------- Team, logos & recognition ---------- */
.arch-frame .award-badge { position: absolute; left: -18px; bottom: 54px; width: 92px; height: auto; background: #fff; padding: 5px; border-radius: 3px; box-shadow: 0 24px 50px rgba(0,0,0,.5); transform: rotate(-4deg); z-index: 3; }
.team-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.team-photo { margin: 0; position: relative; padding: 12px; border: 1px solid var(--line); }
.team-photo::before { content: ""; position: absolute; inset: -1px auto auto -1px; width: 70px; height: 70px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.team-photo::after { content: ""; position: absolute; inset: auto -1px -1px auto; width: 70px; height: 70px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.team-photo img { display: block; width: 100%; height: auto; }
.team-photo figcaption { position: absolute; left: 32px; bottom: 30px; font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--ivory); background: rgba(5,7,12,.72); padding: 9px 14px; border: 1px solid var(--line); backdrop-filter: blur(6px); }
.team-copy p { color: var(--text-dim); }
.team-copy p b { color: var(--ivory); font-weight: 400; }
.team-logos { display: flex; gap: 38px; align-items: flex-end; flex-wrap: wrap; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.team-logos small { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.team-logos .lg { height: 44px; width: auto; display: block; }
.team-logos span { display: block; font-size: 11px; letter-spacing: .12em; color: var(--text-dim); margin-top: 10px; }
.team-logos .aw { height: 96px; width: auto; display: block; background: #fff; padding: 5px; border-radius: 3px; }
.footer-badges { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; padding: 36px 0; border-top: 1px solid var(--line); }
.footer-badges .fb-logo { height: 34px; width: auto; opacity: .85; }
.footer-badges .fb-award { height: 80px; width: auto; background: #fff; padding: 4px; border-radius: 3px; }
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 640px) {
  .arch-frame .award-badge { width: 72px; left: -4px; bottom: 30px; }
  .team-logos { gap: 26px; } .team-logos .lg { height: 34px; } .team-logos .aw { height: 80px; }
  .team-photo figcaption { left: 22px; bottom: 20px; font-size: 9px; }
  .footer-badges { gap: 30px; } .footer-badges .fb-logo { height: 26px; }
}

/* ---------- Live MLS launchpad (search.html) ---------- */
.mls-mode .search-layout { display: block; height: auto; }
.mls-pad { padding-top: 50px; padding-bottom: 110px; }
.mls-pad h2 { margin: 0 0 26px; }
.mls-live { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); border: 1px solid var(--line); padding: 10px 16px; margin-bottom: 44px; }
.mls-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.mls-tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); }
.mls-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mls-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5,7,12,.88)); }
.mls-tile span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.mls-tile b { display: block; font-family: var(--serif); font-weight: 400; font-size: 25px; color: var(--ivory); }
.mls-tile small { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.mls-tile:hover img { transform: scale(1.06); }
.mls-tile:hover { border-color: var(--gold); }
.mls-note { margin-top: 44px; font-size: 13px; color: var(--text-dim); max-width: 720px; }
