/* ============================================================
   HOME PAGE ONLY (index.html). Loaded after site.css; every rule here
   is scoped to home-only classes so no other page changes.
   2026-10-08 redesign: hero slider + "Your Miami brief" quiz, calmer
   press wall, Why + portrait, receipts moved up, tighter listings,
   visual hubs, neighborhood tiles, Market Desk with a cover.
   Generated blocks styled here:
     .hoods  (CONDO-LINKS, scripts/build-condo-pages.mjs homeBlock())
     .desk   (LATEST-POSTS, scripts/build-article-pages.mjs latestBlock())
   ============================================================ */

/* Metric-matched fallback: Sora arrives from Google Fonts with display=swap. Until it does, text
   renders in Arial scaled to Sora's width (measured: 400 = 110.75%, 600 = 106%, 700-800 = 107.4%),
   so the hero copy wraps the same way before and after the swap and the quiz card doesn't jump (CLS). */
@font-face { font-family: 'Sora Fallback'; src: local('Arial'), local('ArialMT'), local('Helvetica'), local('Liberation Sans'); font-weight: 100 500; size-adjust: 110.75%; }
@font-face { font-family: 'Sora Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Liberation Sans Bold'); font-weight: 600; size-adjust: 106%; }
@font-face { font-family: 'Sora Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Liberation Sans Bold'); font-weight: 700 900; size-adjust: 107.4%; }
body { font-family: 'Sora', 'Sora Fallback', sans-serif; }

/* amber as TEXT on the light sections: #8A5B00 keeps 4.5:1 on paper (the brand amber is 2.2:1) */
.hm:not(.term):not(.lead-band), .qz { --amber-ink: #8A5B00; }

/* ---------- section rhythm ---------- */
.hm { padding-block: var(--sec-y); }
.hm.lead-band { padding-block: var(--sec-y); }
.sec-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(26px, 3.5vw, 40px); }
.sec-row h2 { max-width: 15.4em; text-wrap: balance; }
.sec-row .lede { margin-top: 12px; max-width: 36em; font-size: 15.5px; }
.term .sec-row .lede { color: var(--term-dim); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ============================================================
   HERO: photo slider (left copy) + the brief card (right)
   ============================================================ */
.hero.hq {
  display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr);
  min-height: min(90vh, 860px); justify-content: stretch; background: var(--term-bg);
}
.hero.hq::before { display: none; }
.hq-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--term-bg); }
.hq-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  opacity: 0; transform: scale(1.06); transition: opacity .9s ease;
}
.hq-media img.on { opacity: 1; transform: scale(1); transition: opacity .9s ease, transform 9s linear; }
.hq-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  opacity: 0; transition: opacity .9s ease; pointer-events: none;
}
.hq-media video.on.ready { opacity: 1; }
.hq-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,13,16,.88) 0%, rgba(11,13,16,.62) 38%, rgba(11,13,16,.28) 66%, rgba(11,13,16,.5) 100%),
    linear-gradient(to top, rgba(11,13,16,.85) 0%, rgba(11,13,16,0) 42%);
}
.hq-in {
  grid-row: 1; grid-column: 1; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 7vh, 84px) var(--pad) clamp(30px, 4.5vh, 48px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(28px, 5vw, 80px); align-items: end;
}
.hero.hq > .ticker { grid-row: 2; grid-column: 1; }
.hq.qz-done .hq-in { align-items: start; }
.ticker-track { min-height: 1.6em; }

/* slides: text stacked in one grid cell so the column always fits the tallest */
.hq-copy { min-width: 0; padding-bottom: 6px; }
.hq-slides { display: grid; }
.hq-slides > .hero-slide {
  grid-area: 1 / 1; min-width: 0; align-self: end;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .28s ease, visibility .28s ease, transform .28s ease;
}
/* the outgoing text fades out first, then the new one comes in: no overlapping copy */
.hq-slides > .hero-slide.on { opacity: 1; visibility: visible; transform: none; transition-duration: .5s; transition-delay: .28s; }
.hq .hero-slide h1, .hq .hero-slide h2 {
  font-size: clamp(2.35rem, 4.4vw, 3.85rem); line-height: 1.04; max-width: 10.75em; /* 14ch of Sora 800; em, not ch, so the fallback font wraps the same */ text-wrap: balance; color: #fff;
}
.hq .hero-slide .hl {
  background-image: linear-gradient(transparent 68%, var(--amber) 68%, var(--amber) 96%, transparent 96%);
  background-size: 100% 100%; padding-inline: 2px;
}
.hq .eyebrow { margin-bottom: 16px; }
.hq .hero-sub { margin: 18px 0 26px; max-width: 38.5em; font-size: clamp(.98rem, 1.25vw, 1.08rem); }
.hq .hero-ctas { margin: 0; gap: 12px; }
.hq .hero-ctas .btn { padding: 13px 22px; font-size: 14.5px; }

.hero-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.hero-arrow {
  width: 36px; height: 36px; cursor: pointer; border-radius: 999px; flex: none;
  border: 1px solid rgba(255,255,255,.35); background: rgba(11,13,16,.35); color: #fff;
  font: 400 19px/1 'Sora', 'Sora Fallback', sans-serif; transition: border-color .15s ease, color .15s ease;
}
.hero-arrow:hover { border-color: var(--amber); color: var(--amber); }
/* pause / play (WCAG 2.2.2): rotation + loop + ticker; nothing moves under reduced motion, so it hides there */
.hero-pause { display: grid; place-items: center; margin-left: 4px; }
.hero-pause svg { width: 13px; height: 13px; fill: currentColor; }
.hero-dots { display: flex; gap: 2px; }
.hero-dot { width: 34px; height: 24px; padding: 10px 2px; border: 0; background: none; cursor: pointer; }
.hero-dot i { display: block; height: 4px; border-radius: 999px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.hero-dot i::after { content: ''; position: absolute; inset: 0; width: 0; background: var(--amber); }
.hero-dot.on i::after { width: 100%; }
.hq.playing .hero-dot.on i::after { width: 0; animation: heroProg var(--hero-dur, 7.5s) linear forwards; }
@keyframes heroProg { from { width: 0; } to { width: 100%; } }
.hero-dot:focus-visible, .hero-arrow:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* ---------- the brief card (quiz) ---------- */
.qz {
  position: relative; min-width: 0; align-self: end;
  background: var(--paper); color: var(--ink); border-radius: 18px;
  padding: 20px 20px 16px; box-shadow: 0 34px 80px -34px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.06);
}
.qz-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.qz-title { font-size: 1.22rem; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.qz-count { flex: none; font: 600 12px 'Sora', 'Sora Fallback', sans-serif; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.qz-sub { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.qz-prog { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 14px 0 16px; }
.qz-prog li { height: 4px; border-radius: 2px; background: var(--hairline); transition: background .25s ease; }
.qz-prog li.done { background: var(--amber); }
.qz-prog li.on { background: linear-gradient(90deg, var(--amber) 50%, var(--hairline) 50%); }
.qz.is-done .qz-prog li { background: var(--amber); }

.qz-step { border: 0; min-width: 0; margin: 0; padding: 0; }
.qz-step.enter { animation: qzIn .28s ease; }
@keyframes qzIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.qz-q { display: block; padding: 0; margin-bottom: 12px; font: 800 17px/1.3 'Sora', 'Sora Fallback', sans-serif; letter-spacing: -.01em; color: var(--ink); outline: none; }
.qz-note { margin: -6px 0 10px; font-size: 12.5px; color: var(--ink-soft); }
.qz-opts { display: grid; gap: 8px; }
.qz-opts.two { grid-template-columns: 1fr 1fr; }
.qz-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; text-align: left; cursor: pointer;
  background: #fff; border: 1.5px solid var(--hairline); border-radius: 12px; padding: 10px 14px;
  font: 700 15px/1.25 'Sora', 'Sora Fallback', sans-serif; color: var(--ink);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.qz-opt > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.qz-opt small { font: 500 12px/1.35 'Sora', 'Sora Fallback', sans-serif; color: var(--ink-soft); }
.qz-opt svg { width: 22px; height: 22px; flex: none; stroke: var(--amber-ink); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.qz-opts.two .qz-opt { flex-direction: column; align-items: flex-start; gap: 8px; padding: 13px 14px; }
.qz-opt:hover { border-color: var(--ink); }
.qz-opt:active { transform: scale(.985); }
.qz-opt[aria-pressed="true"] { border-color: var(--amber-ink); background: #FFF6E0; }
.qz-opt:focus-visible, .qz button:focus-visible, .qz a:focus-visible { outline: 3px solid rgba(242,179,54,.75); outline-offset: 2px; }
.qz-togs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.qz-tog {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: 600 12.5px 'Sora', 'Sora Fallback', sans-serif; color: var(--ink); background: transparent;
  border: 1.5px dashed rgba(16,17,20,.28); border-radius: 999px; padding: 8px 13px;
}
.qz-tog::before { content: ''; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid rgba(16,17,20,.45); flex: none; }
.qz-tog[aria-pressed="true"] { border-style: solid; border-color: var(--amber-deep); background: #FFF6E0; }
.qz-tog[aria-pressed="true"]::before { background: var(--amber-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.9' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center/10px no-repeat; border-color: var(--amber-deep); }
.qz-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; min-height: 22px; }
.qz-link {
  background: none; border: 0; padding: 2px 0; cursor: pointer;
  font: 600 13px 'Sora', 'Sora Fallback', sans-serif; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px;
}
.qz-link:hover { color: var(--ink); }
.qz-fine { font-size: 11.5px; color: var(--ink-soft); }

/* result */
.qz-sum { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.qz-sum span { font: 600 12px 'Sora', 'Sora Fallback', sans-serif; background: var(--paper-deep); border-radius: 6px; padding: 5px 9px; }
.qz-rh { font: 800 15px/1.3 'Sora', 'Sora Fallback', sans-serif; letter-spacing: -.01em; margin-bottom: 8px; }
.qz-areas { list-style: none; border-top: 1px solid var(--hairline); }
.qz-areas li { border-bottom: 1px solid var(--hairline); }
.qz-areas a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 10px 0; text-decoration: none; color: var(--ink); }
.qz-areas b { font-size: 15px; letter-spacing: -.01em; }
.qz-areas small { grid-column: 1; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.qz-areas .go { grid-row: 1 / span 2; grid-column: 2; color: var(--amber-ink); font-weight: 700; transition: transform .15s ease; }
.qz-areas a:hover .go { transform: translateX(3px); }
.qz-areas a:hover b { color: var(--amber-ink); }
.qz-basis { margin-top: 8px; font-size: 11.5px; line-height: 1.5; color: var(--ink-soft); }
.qz-cta { margin-top: 14px; width: 100%; justify-content: center; padding: 13px 18px; font-size: 14.5px; white-space: normal; text-align: center; }
.qz-tools { list-style: none; display: grid; gap: 6px; margin-top: 10px; }
.qz-tools a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; text-decoration: none; color: var(--ink);
  border: 1.5px solid var(--hairline); border-radius: 10px; padding: 9px 12px; background: #fff; transition: border-color .15s ease;
}
.qz-tools a:hover { border-color: var(--ink); }
.qz-tools b { display: block; font-size: 13.5px; }
.qz-tools small { display: block; font-size: 11.5px; color: var(--ink-soft); }
.qz-tools .go { color: var(--amber-ink); font-weight: 700; }
.qz-send { margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(16,17,20,.22); }
.qz-send-k { font: 800 14px 'Sora', 'Sora Fallback', sans-serif; margin-bottom: 8px; }
.qz-send-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qz-send-btns .btn { justify-content: center; padding: 12px 14px; font-size: 14px; }
.qz-send-btns .btn-line { background: transparent; }
.qz .lead-form.qz-form { background: none; border: 0; padding: 12px 0 0; }
.qz-form .field { margin-bottom: 10px; gap: 5px; }
.qz-form .field label { font-size: 10.5px; }
.qz-form .field input { padding: 10px 12px; background: #fff; font-size: 15px; }
.qz-form .row { grid-template-columns: 1fr 1fr; gap: 10px; }
.qz-form .btn { margin-top: 2px; padding: 12px 18px; font-size: 14.5px; }
.qz-form .form-msg { margin-top: 10px; font-size: 13px; }

/* ============================================================
   PRESS WALL (calm, static, consistent optical size)
   ============================================================ */
.press { background: var(--paper); border-bottom: 1px solid var(--hairline); }
.press-in { display: flex; align-items: center; gap: 18px 40px; padding-block: 22px; }
.press-k { flex: none; font: 600 12.5px 'Sora', 'Sora Fallback', sans-serif; color: var(--ink-soft); }
.press-logos { list-style: none; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px 26px; min-width: 0; }
.press-logos li { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; }
.press-logos img { height: var(--h, 24px); width: auto; max-width: 100%; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; opacity: .74; transition: opacity .2s ease, filter .2s ease; }
.press-logos li:hover img { filter: none; opacity: 1; }
.press-logos b { font: 800 12.5px 'Sora', 'Sora Fallback', sans-serif; letter-spacing: .02em; color: #3d4148; white-space: nowrap; }

/* ============================================================
   WHY WORK WITH ME (+ portrait)
   ============================================================ */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why h2 { max-width: 13.85em; text-wrap: balance; margin-top: 14px; }
.why-list { list-style: none; margin-top: clamp(26px, 3.5vw, 40px); border-top: 1px solid var(--hairline); }
.wk { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 18px; padding: clamp(20px, 2.6vw, 28px) 0; border-bottom: 1px solid var(--hairline); }
.wk-num { grid-row: 1 / span 3; font: 800 14px 'Sora', 'Sora Fallback', sans-serif; color: var(--amber-ink); letter-spacing: .06em; padding-top: 5px; font-variant-numeric: tabular-nums; }
.wk h3 { font-size: clamp(1.12rem, 1.6vw, 1.3rem); letter-spacing: -.02em; }
.wk p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); max-width: 36em; margin-top: 6px; }
.wk-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; }
.wk-k { font: 600 12px 'Sora', 'Sora Fallback', sans-serif; color: var(--ink-soft); margin-right: 2px; }
.wk-chips { display: contents; }
.wk-chip {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap;
  font: 600 12.5px 'Sora', 'Sora Fallback', sans-serif; color: var(--ink); background: #fff; border: 1px solid var(--hairline);
  border-radius: 999px; padding: 7px 12px; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.wk-chip span { color: var(--amber-ink); transition: transform .15s ease, color .15s ease; }
.wk-chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.wk-chip:hover span { transform: translateX(3px); color: var(--amber); }
.why-side { position: sticky; top: 96px; display: grid; gap: 16px; }
.why-face { margin: 0; }
.why-face img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--paper-deep); }
.why-face figcaption { margin-top: 12px; line-height: 1.45; }
.why-face figcaption b { display: block; font-size: 15px; }
.why-face figcaption span { font-size: 12.5px; color: var(--ink-soft); }
.why .val-card { width: 100%; }

/* ============================================================
   PROOF (receipts): stats column + ledger
   ============================================================ */
.proof-grid { display: grid; grid-template-columns: minmax(240px, 330px) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.led-stats { display: grid; border: 1px solid var(--term-line); border-radius: var(--radius); background: var(--term-panel); overflow: hidden; }
.led-stats .ls { padding: clamp(18px, 2.2vw, 24px); border-bottom: 1px solid var(--term-line); min-width: 0; }
.led-stats .ls:last-child { border-bottom: none; }
.ls .v { display: block; font: 800 clamp(1.8rem, 3vw, 2.4rem)/1 'Sora', 'Sora Fallback', sans-serif; color: var(--amber); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ls .v small { font-size: .45em; color: #C9CDD4; font-weight: 600; letter-spacing: 0; }
.ls .k { display: block; margin-top: 9px; font: 700 13.5px 'Sora', 'Sora Fallback', sans-serif; color: #fff; }
.ls .m { display: block; margin-top: 5px; font-size: 12px; color: #9aa0a8; line-height: 1.6; }
.ledger { display: flex; flex-direction: column; border: 1px solid var(--term-line); border-radius: var(--radius); background: #0D0F13; overflow: hidden; }
.ledger .led-row { flex: 1; align-content: center; }
.led-head { padding: 13px 22px; font: 600 12px 'Sora', 'Sora Fallback', sans-serif; color: #7A8089; border-bottom: 1px dashed rgba(255,255,255,.14); }
.led-row { --led-tag: 158px; display: grid; grid-template-columns: var(--led-tag) 128px minmax(0, 1fr); align-items: baseline; gap: 6px 20px; padding: 17px 22px; border-bottom: 1px solid rgba(255,255,255,.06); }
.led-row:last-child { border-bottom: none; }
/* Spanish deal tags run to 184px ("Alquiler · Lado inquilino"): they overlapped the price by 6-14px (UX audit 2026-10-13) */
html[lang="es"] .led-row { --led-tag: 190px; --led-tag-m: 190px; }
.led-row .tag { font: 700 9.5px 'Sora', 'Sora Fallback', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); background: rgba(242,179,54,.13); border: 1px solid rgba(242,179,54,.45); border-radius: 4px; padding: 4px 8px; justify-self: start; white-space: nowrap; }
.led-row .tag.lease { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); color: #C9CDD4; }
.led-row .p { font: 800 16.5px 'Sora', 'Sora Fallback', sans-serif; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.led-row .p small { font-size: .65em; font-weight: 600; color: #9aa0a8; }
.led-row .a { font-size: 13.5px; font-weight: 600; color: #DADDE2; min-width: 0; }
.led-row .m { grid-column: 3; font-size: 12px; color: #80868f; }
.snap-line { margin-top: 18px; font-size: 11.5px; color: #80868f; line-height: 1.6; max-width: 38em; }
.proof .stamp { flex: none; }

/* ============================================================
   LISTINGS: one row of four (rail on phones)
   ============================================================ */
.listings-sec { background: var(--paper-deep); }
.ls-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ls-rail .rcard-img { aspect-ratio: 4 / 3; }
.ls-rail .rcard-office { color: #8b9199; }
.ls-rail a.rcard { display: block; text-decoration: none; color: inherit; }
.ls-rail a.rcard:focus-visible { outline: 3px solid var(--amber-ink); outline-offset: 3px; }
.ls-foot { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; font-size: 12.5px; color: var(--ink-soft); }
.ls-foot a { font: 700 14.5px 'Sora', 'Sora Fallback', sans-serif; color: var(--ink); text-decoration: none; padding-block: 4px; }
.ls-foot a .arr { display: inline-block; margin-left: 4px; }
.ls-foot a .arr { color: var(--amber-ink); transition: transform .15s ease; }
.ls-foot a:hover .arr { transform: translateX(4px); }

/* ============================================================
   INTELLIGENCE HUBS: three visual cards
   ============================================================ */
.hub-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hubc {
  display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: var(--term-text);
  background: var(--term-panel); border: 1px solid var(--term-line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .18s ease;
}
.hubc:hover { border-color: rgba(242,179,54,.55); }
.hubc-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #171B21; }
.hubc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.hubc:hover .hubc-img img { transform: scale(1.04); }
.hubc-img figcaption { position: absolute; right: 8px; bottom: 8px; font-size: 10px; color: rgba(255,255,255,.75); background: rgba(11,13,16,.6); border-radius: 4px; padding: 3px 7px; }
.hubc-b { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 20px; }
.hub-n { font: 800 clamp(2rem, 3.2vw, 2.6rem)/1 'Sora', 'Sora Fallback', sans-serif; color: #fff; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hub-n span { color: var(--amber); }
.hub-l { margin-top: 6px; font-size: 12.5px; color: var(--term-dim); }
.hubc h3 { margin-top: 16px; color: #fff; font-size: var(--fs-title); }
.hubc p { margin-top: 6px; font-size: 13.5px; line-height: 1.65; color: #9aa0a8; flex: 1; }
.hub-go { margin-top: 14px; font: 700 13.5px 'Sora', 'Sora Fallback', sans-serif; color: var(--amber); }
.hub-go .arr { display: inline-block; transition: transform .18s ease; }
.hubc:hover .hub-go .arr { transform: translateX(4px); }

/* ============================================================
   NEIGHBORHOOD TILES (generated block, #condo-links)
   ============================================================ */
.hood-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ht {
  position: relative; display: block; min-width: 0; aspect-ratio: 5 / 4; border-radius: 14px; overflow: hidden;
  text-decoration: none; color: #fff; background: var(--ink); isolation: isolate;
}
.ht img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.ht::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11,13,16,.9) 0%, rgba(11,13,16,.45) 42%, rgba(11,13,16,.05) 72%); }
.ht:hover img { transform: scale(1.05); }
.ht-b { position: absolute; inset: auto 0 0 0; padding: 14px 16px 14px; display: grid; gap: 2px; }
.ht-b > b { font-size: clamp(1rem, 1.4vw, 1.18rem); letter-spacing: -.015em; }
.ht-n { font-size: 12px; color: rgba(255,255,255,.72); }
.ht-m { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 6px; font-size: 12px; color: rgba(255,255,255,.8); font-variant-numeric: tabular-nums; }
.ht-m b { color: var(--amber); font-weight: 800; }
.ht-text { background: var(--ink) linear-gradient(135deg, #1c2027, #0B0D10); }
.ht:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.hood-more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 20px; font-size: 14px; }
.hood-more > span { font-weight: 600; color: var(--ink-soft); margin-right: 4px; }
.hood-more a { font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.hood-more a:hover { border-bottom-color: var(--amber-ink); }
.hood-more small { font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.bldg-more { margin-top: 18px; border-top: 1px solid var(--hairline); }
.bldg-more summary { cursor: pointer; list-style: none; padding: 14px 0; font: 700 14px 'Sora', 'Sora Fallback', sans-serif; display: flex; align-items: center; gap: 10px; }
.bldg-more summary::-webkit-details-marker { display: none; }
.bldg-more summary::before { content: '+'; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink); font-weight: 800; font-size: 14px; line-height: 1; }
.bldg-more[open] summary::before { content: '–'; }
.bldg-more ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 0 24px; padding-bottom: 6px; }
.bldg-more li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--hairline); font-size: 13.5px; min-width: 0; }
.bldg-more li a { font-weight: 700; color: var(--ink); text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-block: 9px; margin-block: -9px; }   /* tap target = the whole 40px row (was 22px) */
.bldg-more li a:hover { color: var(--amber-ink); }
.bldg-more li span { flex: none; color: var(--ink-soft); font-size: 12.5px; }

/* ============================================================
   MARKET DESK (generated block, #latest)
   ============================================================ */
.desk { background: var(--paper-deep); }
.desk-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.desk-lead { display: block; text-decoration: none; color: var(--ink); }
.desk-img { display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--hairline); margin-bottom: 16px; }
.desk-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.desk-lead:hover .desk-img img { transform: scale(1.03); }
.desk-lead h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; margin-top: 8px; text-wrap: balance; }
.desk-lead p { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); max-width: 36em; }
.desk-lead:hover h3 { color: #000; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }
.desk-list { border-top: 1px solid rgba(16,17,20,.14); }
.desk-item { display: block; padding: 15px 0 16px; border-bottom: 1px solid rgba(16,17,20,.14); text-decoration: none; color: var(--ink); }
.desk-item h3 { margin-top: 6px; font-size: 1rem; line-height: 1.38; letter-spacing: -.01em; }
.desk-item:hover h3 { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.desk-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.desk-meta .cat { font-size: 12px; font-weight: 700; color: var(--amber-ink); }
.desk-meta .date { font-size: 12px; font-weight: 600; color: var(--ink-soft); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hub-cards { gap: 12px; }
  .hubc-b { padding: 18px; }
  .led-row { grid-template-columns: var(--led-tag-m, 150px) minmax(0, 1fr); }
  .led-row .a, .led-row .m { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .hq-in { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .qz { max-width: 560px; }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-side { position: static; grid-template-columns: 200px minmax(0, 1fr); align-items: start; }
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .led-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .led-stats .ls { border-bottom: none; border-right: 1px solid var(--term-line); }
  .led-stats .ls:last-child { border-right: none; }
  .ls-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hood-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desk-grid { grid-template-columns: minmax(0, 1fr); }
  .press-in { flex-direction: column; align-items: stretch; gap: 14px; }
  .press-k { text-align: center; }
  .press-logos { flex-wrap: wrap; justify-content: center; gap: 16px 30px; }
}
@media (max-width: 860px) {
  .hero.hq { min-height: 0; }
  .hq-media img, .hq-media video { object-position: 62% 30%; }
  .hq-media::after {
    background: linear-gradient(to bottom, rgba(11,13,16,.55) 0%, rgba(11,13,16,.72) 34%, rgba(11,13,16,.9) 60%, rgba(11,13,16,.95) 100%);
  }
  .hq-in { padding-top: 30px; padding-bottom: 22px; gap: 22px; }
  .hero-ctrl { margin-top: 18px; }
  .hero-arrow:not(.hero-pause) { display: none; }
  .hero-pause { width: 32px; height: 32px; margin-left: 2px; }
}
@media (max-width: 700px) {
  .why .msg-btns, .hm.lead-band .msg-btns { grid-template-columns: 1fr 1fr; }
  .hq .hero-slide h1, .hq .hero-slide h2 { font-size: clamp(2.05rem, 9.2vw, 2.6rem); }
  .hq .eyebrow { margin-bottom: 12px; font-size: 11px; }
  .hq .hero-sub { display: none; }
  .hq .hero-ctas { margin-top: 18px; gap: 8px; }
  .hq .hero-ctas .btn { width: auto; padding: 10px 15px; font-size: 13.5px; gap: 7px; }
  .hq .hero-ctas .btn .arr { display: none; }
  .qz { padding: 16px 14px 12px; border-radius: 16px; }
  .qz-title { font-size: 1.1rem; }
  .qz-prog { margin: 12px 0 14px; }
  .qz-opt { min-height: 46px; padding: 9px 12px; font-size: 14.5px; }
  .qz-opts.two .qz-opt { padding: 11px 12px; gap: 6px; }
  .qz-opts.two .qz-opt svg { width: 20px; height: 20px; }
  .qz-form .row { grid-template-columns: 1fr; gap: 0; }
  .why-side { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; }
  .why-face { display: contents; }
  .why-face img { width: 92px; height: 92px; aspect-ratio: 1; border-radius: 12px; }
  .why-face figcaption { margin-top: 0; align-self: center; }
  .why .val-card { grid-column: 1 / -1; }
  .wk { grid-template-columns: minmax(0, 1fr); padding: 18px 0; }
  .wk-num { grid-row: auto; padding-top: 0; }
  .wk p { font-size: 14.5px; line-height: 1.65; }
  /* flex, not a 2-col grid of nowrap chips: two chips overflowed 360px phones by 28px */
  .wk-proof { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; margin-top: 12px; }
  .wk-k { flex: 0 0 100%; font-size: 11.5px; }
  .wk-chip { font-size: 12px; padding: 6px 10px; }
  .led-stats { grid-template-columns: minmax(0, 1fr); }
  .led-stats .ls { border-right: none; border-bottom: 1px solid var(--term-line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: baseline; padding: 16px 18px; }
  .led-stats .ls .v { font-size: 1.6rem; }
  .led-stats .ls .k { margin-top: 0; }
  .led-stats .ls .m { grid-column: 1 / -1; margin-top: 2px; }
  .hm.lead-band .direct-item { display: none; }
  .hm.lead-band .sec-head { margin-bottom: 22px !important; }
  .desk-lead p { display: none; }
  .desk-item:nth-child(n+4) { display: none; }
  .desk-item { padding: 13px 0 14px; }
  .led-row { padding: 14px 16px; gap: 4px 14px; grid-template-columns: auto minmax(0, 1fr); }
  .led-head { padding: 12px 16px; }
  /* rails: one card and a peek of the next, instead of a long stack */
  .ls-rail, .hub-cards {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad); gap: 12px;
  }
  .ls-rail::-webkit-scrollbar, .hub-cards::-webkit-scrollbar { display: none; }
  .ls-rail > *, .hub-cards > * { scroll-snap-align: start; }
  .hub-cards { grid-auto-columns: 86%; }
  .hubc p { font-size: 13px; }
  .hood-tiles { gap: 8px; }
  .ht { aspect-ratio: 4 / 3.3; border-radius: 12px; }
  .ht-b { padding: 10px 11px 11px; }
  .ht-n { font-size: 11px; }
  .ht-m { display: flex; gap: 0 8px; margin-top: 3px; font-size: 11.5px; }
  .ht-n { display: none; }
  .press-in { padding-block: 18px; }
  .press-logos { gap: 14px 22px; }
  .press-logos img { height: calc(var(--h, 24px) * .82); }
  .sec-row .btn { padding: 11px 18px; font-size: 13.5px; }
}
/* 360px phones: the uppercase MLS stamps ("Closed record · Miami MLS via Bridge IDX")
   were 23px wider than the column; let them shrink and wrap instead */
@media (max-width: 420px) {
  .stamp, .proof .stamp { flex: 0 1 auto; max-width: 100%; letter-spacing: .1em; }
  .stamp::before { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hq-media img, .hq-media img.on { transition: none; transform: none; }
  .hq-media video { display: none; }
  .hq-slides > .hero-slide { transition: none; transform: none; }
  .qz-step.enter { animation: none; }
  .hq.playing .hero-dot.on i::after { animation: none; width: 100%; }
  .hero-pause { display: none; }
}

/* ---- reviews (plan C4): the section renders only when REVIEWS in site.js holds
   real, sourced entries; hidden today. Home has no services.css, so the few kit
   pieces it uses are spelled out here. ---- */
#reviews .k-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
#reviews .k-sub { margin-top: 10px; color: var(--ink-soft); }
#reviews [data-reviews-list] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { #reviews [data-reviews-list] { grid-template-columns: minmax(0, 1fr); } }
.ep-review { margin: 0; background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius); }
.ep-review .k-card-body { padding: 18px 20px; }
.ep-review blockquote { margin: 0; }
.ep-review blockquote p { font-size: 15px; line-height: 1.65; color: var(--ink); }
.ep-review figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
.ep-review figcaption a { color: var(--ink); }
.ep-review-r { margin: 0 0 8px; color: #8A5B00; letter-spacing: 2px; }

/* ---- Miami Condo Index teaser (home.js fills #ix-in; hidden until index-mini.json exists) ---- */
.hm-index { background: var(--ink); color: #fff; padding-block: clamp(36px, 5vw, 56px); }
.ix-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ix-k { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.hm-index h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.035em; color: #fff; font-variant-numeric: tabular-nums; }
.hm-index h2 span { font-size: .45em; font-weight: 600; color: rgba(255,255,255,.7); margin-left: 4px; }
.ix-m { margin: 12px 0 0; max-width: 34em; font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.86); }
.ix-m b { color: #fff; }
.ix-note { margin: 10px 0 0; font-size: 12.5px; color: rgba(255,255,255,.62); }
.ix-side { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 8px; }   /* minmax: the range line overflowed the page by 57px at 768 */
.ix-spark { width: 100%; max-width: 260px; height: auto; overflow: visible; }
.ix-spark path { fill: none; stroke: var(--amber); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.ix-spark circle { fill: var(--amber); }
.ix-sp { margin: 0 0 8px; font-size: 12px; color: rgba(255,255,255,.62); }
@media (max-width: 900px) { .ix-in { grid-template-columns: minmax(0, 1fr); } }   /* was 760: at 768 the 237px side column could not hold the sparkline button (page 57px wider than the screen) */

/* ---- Most popular buildings (2026-10-19): home.js fills #pop-rail from assets/popular-buildings.js; hidden until it exists ----
   A snap-scrolling rail of 12 building cards (4 and a half across at 1440, 78% wide on phones), one card per complex,
   each linking to the building's own /condos/<id>/ page. No raw hex here: the palette tokens only. */
.popular .sec-row .btn { flex: none; }
.pop-rail { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(236px, 1fr); gap: 14px; margin: 0 -4px; padding: 4px 4px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.pop-rail > li { min-width: 0; scroll-snap-align: start; }
.pcard { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--hairline); border-radius: 12px; background: var(--paper-deep); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.pcard:hover { border-color: rgba(242,179,54,.65); transform: translateY(-2px); }
.pcard:focus-visible { outline: 3px solid var(--amber-ink); outline-offset: 3px; }
.pcard-img { position: relative; aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard-ph { position: absolute; inset: 0; display: grid; place-items: center; font: 800 44px 'Sora', 'Sora Fallback', sans-serif; color: rgba(255,255,255,.18); }
.pcard-rank { position: absolute; left: 10px; top: 10px; display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--amber); color: var(--ink); font: 800 12px 'Sora', 'Sora Fallback', sans-serif; font-variant-numeric: tabular-nums; }
.pcard-body { display: grid; gap: 4px; padding: 12px 14px 14px; }
.pcard-body h3 { font-size: 15px; letter-spacing: -.01em; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-meta { font-size: 12px; color: var(--ink-soft); }
.pcard-fact { font-size: 12.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pcard-fact b { color: var(--ink); font-weight: 700; }
.pop-foot { margin-top: 12px; max-width: 38em; font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); }   /* the kit's note measure (was 62em: 110 characters a line) */
/* the rail and the neighborhood tiles are both paper: 192px of blank between them read as one band with a hole
   (spacing audit 2026-10-20); the kit's seam marks the join, padding stays the rhythm token */
.hm.popular:not([hidden]) + .hm.hoods { border-top: 1px solid var(--hairline); }
@media (max-width: 760px) { .pop-rail { grid-auto-columns: 78%; } .popular .sec-row .btn { display: none; } }
@media (prefers-reduced-motion: reduce) { .pcard { transition: none; } }
