/* BUILDING PAGE styles — extracted from building.html 2026-09-16 so the
   3,600 generated /condos/<slug>/ pages share one cached file. Edit HERE. */
    /* ============================================================
       BUILDING PAGE — one template renders EVERY building in the
       atlas from window.CH_DATA (building.html?b=<id>). Hand-built
       report pages (one-paraiso.html) take over via the PAGES map.
       ============================================================ */

    /* ---- dark building hero ---- */
    .bhero { padding-block: clamp(40px, 6vw, 68px) clamp(40px, 6vw, 64px); }
    .bhero .breadcrumb { color: #7A8089; }
    .bhero .breadcrumb a { color: #9aa0a8; }
    .bhero .breadcrumb a:hover { color: #fff; }
    .bhero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 22ch; text-wrap: balance; margin-top: 18px; letter-spacing: -.03em; }
    .bhero .sub { margin-top: 10px; font-size: clamp(.95rem, 1.3vw, 1.1rem); color: #9aa0a8; }
    .fact-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
    .fchip { display: inline-flex; align-items: baseline; gap: 8px;
      background: var(--term-panel); border: 1px solid var(--term-line); border-radius: 9px;
      padding: 10px 14px; }
    .fchip .k { font: 600 9.5px 'Sora', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--term-dim); }
    .fchip .v { font: 600 15px 'Sora', sans-serif; color: var(--amber); font-variant-numeric: tabular-nums; }
    .bhero .hero-ctas { margin: 28px 0 0; }
    .bhero .msg-inline { display: inline-flex; }

    /* ---- photo hero variant (delivered buildings) ----
       full-bleed building photo (archive → MLS → satellite composite),
       content bottom-anchored over a bottom-weighted scrim */
    .bhero.has-photo { position: relative; overflow: hidden; display: flex; align-items: flex-end;
      min-height: clamp(460px, 62vh, 700px); padding-block: clamp(80px, 12vh, 140px) clamp(30px, 4vw, 46px); }
    .bhero.has-photo .wrap { position: relative; z-index: 2; width: 100%; }
    .bhero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
    .bhero-satbg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
    .bhero-satbg .satwrap { position: absolute; inset: 0; transform: scale(3.4);
      filter: brightness(.55) saturate(.9); }
    .bhero-satbg .sat { position: absolute; width: 512px; height: 512px; }
    .bhero-satbg .sat img { position: absolute; width: 256px; height: 256px; max-width: none; }
    .bhero-scrim { position: absolute; inset: 0; z-index: 1; background:
      linear-gradient(to top, rgba(11,13,16,.96) 0%, rgba(11,13,16,.64) 34%, rgba(11,13,16,.30) 64%, rgba(11,13,16,.22) 100%); }
    .bhero-credit { position: absolute; right: 14px; top: 14px; z-index: 2; pointer-events: none;
      font: 700 8.5px 'Sora', sans-serif; letter-spacing: .12em; text-transform: uppercase;
      color: rgba(255,255,255,.6); background: rgba(11,13,16,.55); border-radius: 5px; padding: 4px 9px; }
    .bhero.has-photo .breadcrumb { text-shadow: 0 1px 8px rgba(0,0,0,.6); }
    .bhero.has-photo .fchip { background: rgba(11,13,16,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

    /* ---- section shortcut strip ---- */
    .bnav-sec { background: var(--term-bg); border-top: 1px solid var(--term-line); padding: 15px 0; }
    .bqn { display: flex; flex-wrap: wrap; gap: 8px; }
    .bqn a { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; white-space: nowrap;
      font: 600 12px 'Sora', sans-serif; color: #C9CDD4; background: var(--term-panel);
      border: 1px solid var(--term-line); border-radius: 999px; padding: 9px 16px; transition: all .15s ease; }
    .bqn a:hover { color: #fff; border-color: rgba(242,179,54,.5); }
    .bqn .n { font: 700 11px 'Sora', sans-serif; color: var(--amber); font-variant-numeric: tabular-nums; }
    #bmarket, #bbuilding, #brules, #bdocs, #binsights, #bnearby { scroll-margin-top: 70px; }

    /* ---- profile: photo + satellite + facts ---- */
    .bprofile { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
    .bphotohero { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
      border: 1px solid var(--hairline); border-radius: var(--radius); margin-bottom: 14px; }
    .bsat { width: 100%; aspect-ratio: 16/10.5; border: 1px solid var(--hairline); border-radius: var(--radius); display: block; background: #EDEAE2; }
    .sat-note { margin-top: 12px; font-size: 11.5px; color: var(--ink-soft); line-height: 1.6; }
    .bfacts { border: 1px solid var(--hairline); border-radius: var(--radius); background: #FBFAF7; padding: clamp(22px, 3vw, 32px); }
    .bfacts h3 { margin-bottom: 6px; }
    .frows { list-style: none; margin-top: 10px; border-top: 1px solid var(--hairline); }
    .frows li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; }
    .frows .k { color: var(--ink-soft); }
    .frows .v { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
    .bfacts .btn { width: 100%; justify-content: center; margin-top: 18px; white-space: normal; }
    .report-flag { display: flex; align-items: center; gap: 12px; margin-top: 16px;
      background: rgba(242,179,54,.12); border: 1px solid rgba(242,179,54,.5); border-radius: 10px;
      padding: 13px 15px; text-decoration: none; transition: background .15s ease; }
    .report-flag:hover { background: rgba(242,179,54,.2); }
    .report-flag .k { font: 800 9px 'Sora', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); flex: none; }
    .report-flag .v { font: 700 13.5px 'Sora', sans-serif; color: var(--ink); }

    /* ---- nearby buildings (dark) — same card as the atlas ---- */
    .bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
    @media (min-width: 1081px) { .bgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
    .bcard { min-width: 0; position: relative; background: #12151A; border: 1px solid rgba(255,255,255,.09);
      border-radius: 12px; cursor: pointer; text-decoration: none;
      transition: border-color .18s ease, transform .18s ease; display: flex; flex-direction: column; }
    .bcard:hover { border-color: rgba(242,179,54,.65); transform: translateY(-2px); }
    .bcard-img { position: relative; aspect-ratio: 16/8.5; border-radius: 11px 11px 0 0; overflow: hidden; background: #171B21; }
    .bcard-img .sat { position: absolute; width: 512px; height: 512px; pointer-events: none; }
    .bcard-img .sat img { position: absolute; width: 256px; height: 256px; max-width: none; }
    .bcard-img .bphoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
    .bcard-img .dist { position: absolute; left: 10px; bottom: 10px; z-index: 2;
      font: 700 9px 'Sora', sans-serif; letter-spacing: .12em; text-transform: uppercase;
      color: var(--amber); background: rgba(11,13,16,.85); border: 1px solid rgba(242,179,54,.45);
      border-radius: 5px; padding: 4px 8px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
    .bcard-body { padding: 13px 15px 14px; display: flex; flex-direction: column; flex: 1; }
    .bcard-name { font: 700 15px/1.3 'Sora', sans-serif; color: #fff; letter-spacing: -.01em;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .bcard-addr { font-size: 11.5px; color: #9aa0a8; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .bcard-specs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 12px;
      font-size: 11.5px; font-weight: 600; color: #C9CDD4; font-variant-numeric: tabular-nums; }
    .bcard .spec { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
    .bcard .spec svg { width: 13px; height: 13px; stroke: #7A8089; fill: none;
      stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
    .bcard-report { position: absolute; top: -8px; right: 12px; z-index: 3; font: 800 8.5px 'Sora', sans-serif;
      letter-spacing: .12em; text-transform: uppercase; background: var(--amber); color: var(--ink);
      border-radius: 4px; padding: 3px 7px; }
    .snap-line { margin-top: 22px; font-size: 11px; color: #666c74; line-height: 1.6; }

    /* ---- market activity (dark) — Buy/Lease tabs, stat tiles, unit tables ----
       tabs + tiles follow market-statistics.html; tables follow one-paraiso.html */
    .mk-tabs { display: flex; gap: 8px; margin: 24px 0 18px; }
    .ms-btn { font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .04em; cursor: pointer;
      border: 1px solid var(--term-line); background: var(--term-panel); color: var(--term-dim);
      border-radius: 999px; padding: 9px 22px; transition: all .15s ease; }
    .ms-btn:hover { color: var(--term-text); border-color: rgba(242,179,54,.45); }
    .ms-btn.active { background: var(--amber); border-color: var(--amber); color: var(--ink); }
    .kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
    .kpi-grid:empty { display: none; }
    .kpi { border: 1px solid var(--term-line); border-radius: 8px; background: rgba(255,255,255,.02); padding: 13px 14px 12px; min-width: 0; }
    .kpi .label { font-size: 9.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--term-dim);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .kpi .value { font-size: clamp(1.25rem, 1.6vw, 1.55rem); font-weight: 600; color: var(--amber);
      font-variant-numeric: tabular-nums; letter-spacing: -.01em; margin-top: 4px; white-space: nowrap; }
    .kpi .value small { font-size: .55em; font-weight: 600; color: var(--term-dim); margin-left: 3px; }
    .mk-h { font: 700 11px 'Sora', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #7A8089; margin: 28px 0 12px; }
    .op-tablewrap { border: 1px solid var(--term-line); border-radius: 10px; background: var(--term-panel);
      overflow: auto; max-height: 540px; }
    .op-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; min-width: 720px; }
    .op-table th { position: sticky; top: 0; z-index: 2; background: #171B21; text-align: right; white-space: nowrap; cursor: pointer;
      font-size: 10.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--term-dim);
      padding: 12px 14px; border-bottom: 1px solid var(--term-line); user-select: none; }
    .op-table th:first-child, .op-table td:first-child { text-align: left; }
    .op-table th:hover, .op-table th.sorted { color: var(--amber); }
    .op-table td { text-align: right; padding: 10px 14px; border-bottom: 1px solid var(--term-line); color: var(--term-text); white-space: nowrap; }
    .op-table tr:last-child td { border-bottom: none; }
    .op-table tbody tr:hover td { background: rgba(242,179,54,.06); }
    .op-table .amber { color: var(--amber); font-weight: 600; }
    .op-count { font-size: 12.5px; color: var(--term-dim); margin: 12px 2px 0; }
    .mk-none { font-size: 13px; color: #7A8089; line-height: 1.7; padding: 6px 0 2px; }
    @media (max-width: 860px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
    /* charts row inside The Numbers */
    #mk-charts .term-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; margin-top: 22px; }
    .chart-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #2a2f36 transparent; }
    .chart-scroll svg { display: block; height: auto; }

    /* ---- live-inventory unit cards + filters (dark) ---- */
    .mk-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; margin: 0 0 14px; }
    .tf-row { display: flex; flex-wrap: wrap; gap: 8px; }
    .tf-btn { font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
      border: 1px solid var(--term-line); background: var(--term-panel); color: var(--term-dim); border-radius: 999px; padding: 8px 14px; transition: all .15s ease; }
    .tf-btn:hover { color: var(--term-text); border-color: rgba(242,179,54,.45); }
    .tf-btn.active { background: var(--amber); border-color: var(--amber); color: var(--ink); }
    .mk-sort { font: 600 12px 'Sora', sans-serif; color: #fff; background: #171B21; border: 1px solid rgba(255,255,255,.12);
      border-radius: 8px; padding: 9px 11px; color-scheme: dark; outline: none; cursor: pointer; }
    .mk-sort:focus { border-color: var(--amber); }
    .mkl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
    .mkl { min-width: 0; background: var(--term-panel); border: 1px solid rgba(255,255,255,.09); border-radius: 12px;
      overflow: hidden; cursor: pointer; transition: border-color .18s ease, transform .18s ease; }
    .mkl:hover, .mkl:focus-visible { border-color: rgba(242,179,54,.6); transform: translateY(-2px); outline: none; }
    .mkl-img { position: relative; aspect-ratio: 16/10; background: #171B21; }
    .mkl-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .mkl-badge { position: absolute; left: 10px; bottom: 10px; z-index: 2; max-width: calc(100% - 20px);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      font: 700 8.5px 'Sora', sans-serif; letter-spacing: .1em; text-transform: uppercase;
      color: #C9CDD4; background: rgba(11,13,16,.8); border-radius: 5px; padding: 4px 8px; }
    .mkl-body { padding: 13px 15px 15px; }
    .mkl-price { font: 800 19px 'Sora', sans-serif; color: var(--amber); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
    .mkl-unit { font: 700 13px 'Sora', sans-serif; color: #fff; margin-top: 3px; }
    .mkl-meta { font-size: 11.5px; color: #C9CDD4; margin-top: 6px; font-variant-numeric: tabular-nums; }
    .mkl-meta2 { font-size: 10.5px; color: #7A8089; margin-top: 3px; font-variant-numeric: tabular-nums; }

    /* ---- pending momentum cards (dark) ---- */
    .ctr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
    .ctr { border: 1px solid var(--term-line); border-radius: var(--radius); background: var(--term-panel); padding: 20px 18px; min-width: 0; }
    .ctr .chip-st { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
      border-radius: 5px; padding: 4px 8px; background: var(--amber); color: var(--ink); }
    .ctr .chip-st.auc { background: rgba(255,255,255,.14); color: #fff; }
    .ctr .u { font: 800 17px 'Sora', sans-serif; color: #fff; letter-spacing: -.01em; margin: 12px 0 2px; }
    .ctr .p { font-weight: 700; color: var(--amber); font-variant-numeric: tabular-nums; }
    .ctr .m { font-size: 12px; color: #7A8089; margin-top: 6px; line-height: 1.5; font-variant-numeric: tabular-nums; }

    /* ---- listing popup (above nav 50 / mobile menu 90 / lightbox 120) ---- */
    .plm { position: fixed; inset: 0; z-index: 210; display: none; align-items: center; justify-content: center; padding: clamp(10px, 3vh, 32px); }
    body.plm-open .plm { display: flex; }
    body.plm-open { overflow: hidden; }
    .plm-scrim { position: absolute; inset: 0; background: rgba(7,8,10,.8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
    .plm-panel { position: relative; width: min(760px, 100%); max-height: 92vh; overflow-y: auto; background: #0E1013;
      border: 1px solid rgba(255,255,255,.14); border-radius: 18px; animation: plmIn .28s cubic-bezier(.3,1.1,.4,1); }
    @keyframes plmIn { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
    .plm-close { position: absolute; top: 14px; right: 14px; z-index: 3; cursor: pointer; width: 38px; height: 38px;
      border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(11,13,16,.65);
      backdrop-filter: blur(6px); color: #fff; font-size: 16px; line-height: 1; }
    /* quick-look card — same pattern as the search-page modal:
       price on the photo scrim, chips, one funnel to the full listing */
    .plm-img { aspect-ratio: 16/9.6; min-height: 240px; background: #171B21; position: relative; }
    .plm-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .plm-img .scrim { position: absolute; inset: 0; pointer-events: none; background:
      linear-gradient(to top, rgba(11,13,16,.95) 0%, rgba(11,13,16,.5) 40%, rgba(11,13,16,.04) 68%); }
    .plm-img.nophoto::before { content: 'No photo on file — ask me for the full gallery'; position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center; font: 600 12px 'Sora', sans-serif; color: #565c64; }
    .plm-badge { position: absolute; left: 18px; top: 16px; border-radius: 6px; padding: 6px 11px;
      font: 700 10px 'Sora', sans-serif; letter-spacing: .14em; text-transform: uppercase;
      background: var(--amber); color: var(--ink); }
    .plm-badge.lease { background: rgba(11,13,16,.85); color: var(--amber); border: 1px solid rgba(242,179,54,.6); }
    .plm-over { position: absolute; left: 20px; right: 20px; bottom: 16px; pointer-events: none; }
    .plm-price { font: 800 clamp(1.7rem, 3.4vw, 2.2rem)/1 'Sora', sans-serif; color: var(--amber);
      font-variant-numeric: tabular-nums; letter-spacing: -.025em; text-shadow: 0 2px 16px rgba(0,0,0,.55); }
    .plm-price .psf { font-size: 13px; color: #D5D9DF; font-weight: 600; letter-spacing: 0; }
    .plm-unit { font: 800 clamp(1rem, 1.8vw, 1.25rem)/1.25 'Sora', sans-serif; color: #fff;
      letter-spacing: -.015em; margin-top: 7px; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
    .plm-body { padding: clamp(18px, 2.6vw, 26px); color: #C9CDD4; }
    .plm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
    .plm-chips span { display: inline-flex; align-items: baseline; gap: 7px; background: var(--term-panel);
      border: 1px solid var(--term-line); border-radius: 8px; padding: 9px 12px; }
    .plm-chips .k { font: 600 9px 'Sora', sans-serif; letter-spacing: .13em; text-transform: uppercase; color: var(--term-dim); }
    .plm-chips .v { font: 600 13.5px 'Sora', sans-serif; color: #fff; font-variant-numeric: tabular-nums; }
    .plm-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
    .plm-ctas .btn-amber { grid-column: 1 / -1; white-space: normal; text-align: center; }
    .plm-ctas .btn { justify-content: center; }
    .plm-ctas .btn-ghost { background: transparent; }
    @media (max-width: 560px) { .plm-ctas { grid-template-columns: 1fr; } .plm-img { min-height: 210px; } }
    .plm-note { margin-top: 14px; font-size: 10.5px; color: #666c74; line-height: 1.6; }

    /* ---- The Building (light editorial) ---- */
    #bbuilding .zg img { border-color: var(--hairline); background: #EDEAE2; }
    #bbuilding .zg-note { color: var(--ink-soft); }
    .bb-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px);
      align-items: start; margin-top: clamp(20px, 3vw, 30px); }
    .bb-lede { font-size: 15.5px; line-height: 1.85; color: var(--ink-soft); max-width: 60ch; }
    .bb-lede b { color: var(--ink); }
    .bb-sat { width: 100%; aspect-ratio: 16/10; border: 1px solid var(--hairline); border-radius: var(--radius);
      display: block; background: #EDEAE2; margin-top: 20px; }
    @media (max-width: 860px) { .bb-split { grid-template-columns: 1fr; } }

    /* ---- Rules & policies (light) ---- */
    .rl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
    .rl-card { border: 1px solid var(--hairline); border-radius: var(--radius); background: #FBFAF7;
      padding: clamp(20px, 2.5vw, 28px); min-width: 0; }
    .rl-card h3 { font-size: 15px; margin-bottom: 4px; }
    .rl-card .frows { margin-top: 8px; }
    .rl-card .frows li { font-size: 13.5px; }
    .rl-card .frows .v.yes { color: #1E7A3C; }
    .rl-card .frows .v.no { color: #B4472E; }
    .rl-prose { font-size: 13px; color: var(--ink-soft); line-height: 1.7; margin-top: 12px; }
    .rl-note { margin-top: 16px; font-size: 11.5px; color: var(--ink-soft); line-height: 1.6; }

    /* ---- computed insights (light) ---- */
    .ins-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(22px, 3vw, 44px); }
    .ins .num { font-size: clamp(2.4rem, 4.2vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1;
      font-variant-numeric: tabular-nums; }
    .ins .num .hl { background-image: linear-gradient(transparent 70%, var(--amber) 70%, var(--amber) 96%, transparent 96%); padding-inline: 2px; }
    .ins h3 { margin: 14px 0 10px; }
    .ins p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

    /* ---- nearby-card market ribbon ---- */
    .bcard-act { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding-top: 10px;
      border-top: 1px solid rgba(255,255,255,.09); font: 600 11px 'Sora', sans-serif; color: #C9CDD4;
      font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .bcard-act .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); flex: none;
      box-shadow: 0 0 6px rgba(242,179,54,.7); }
    .bcard-act b { color: var(--amber); }

    /* ---- your-building chip in the lead form ---- */
    .cur-b { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px;
      border: 1px solid rgba(242,179,54,.45); background: rgba(242,179,54,.08);
      border-radius: 9px; padding: 11px 14px; }
    .cur-b .k { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); flex: none; }
    .cur-b .v { font-size: 13px; font-weight: 600; color: #fff; }

    /* ---- not found ---- */
    .b-missing { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
    .b-missing h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; }
    .b-missing p { color: #9aa0a8; margin-top: 14px; }
    .b-missing .btn { margin-top: 26px; }

    @media (max-width: 860px) {
      .bprofile { grid-template-columns: 1fr; }
    }

    /* ============================================================
       PRE-CONSTRUCTION SECTIONS — the project, decoded
       ============================================================ */
    /* status chips in the hero */
    .fchip.hot .v { color: #fff; }
    .fchip.hot { background: rgba(242,179,54,.14); border-color: rgba(242,179,54,.55); }
    .fchip.hot .k { color: var(--amber); }
    .fchip.hot .k::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
      background: var(--amber); margin-right: 6px; animation: pulse 2.2s ease-in-out infinite; vertical-align: 1px; }

    /* renders gallery — editorial mosaic + lightbox */
    .zg { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px;
      aspect-ratio: 16 / 7.6; }
    .zg.single { display: block; aspect-ratio: auto; }
    .zg.single img { aspect-ratio: 16/8; }
    .zg img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in;
      border: 1px solid var(--term-line); border-radius: var(--radius); background: #12151A;
      transition: filter .2s ease; }
    .zg img:hover { filter: brightness(1.08); }
    .zg .g0 { grid-row: 1 / span 2; }
    .zg-more { position: relative; cursor: zoom-in; }
    .zg-more .ct {
      position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
      background: rgba(11,13,16,.55); border-radius: var(--radius); pointer-events: none;
      font: 800 clamp(15px, 1.6vw, 20px) 'Sora', sans-serif; color: #fff; letter-spacing: .02em; }
    .zg-note { margin-top: 12px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #666c74; }
    @media (max-width: 760px) {
      .zg { aspect-ratio: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
      .zg .g0 { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16/9; }
      .zg img:not(.g0) { aspect-ratio: 16/9.5; }
    }
    /* lightbox */
    .zlb { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center;
      background: rgba(7,8,10,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
      padding: clamp(14px, 4vw, 48px); }
    .zlb.on { display: flex; }
    .zlb img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
    .zlb button { position: absolute; z-index: 2; cursor: pointer; color: #fff; background: rgba(18,21,26,.75);
      border: 1px solid rgba(255,255,255,.25); border-radius: 999px; width: 46px; height: 46px;
      font: 400 20px/1 'Sora', sans-serif; transition: border-color .15s ease, color .15s ease; }
    .zlb button:hover { border-color: var(--amber); color: var(--amber); }
    .zlb .x { top: 18px; right: 18px; }
    .zlb .p { left: 14px; top: 50%; transform: translateY(-50%); }
    .zlb .n { right: 14px; top: 50%; transform: translateY(-50%); }
    .zlb .c { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
      font: 700 11px 'Sora', sans-serif; letter-spacing: .16em; color: rgba(255,255,255,.7); }

    /* the project, decoded — dark intel slab */
    .zi { background: #0B0D10; border: 1px solid var(--term-line); border-radius: var(--radius);
      padding: clamp(24px, 3.5vw, 40px); position: relative; overflow: hidden;
      background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
      background-size: 44px 44px; }
    .zi::before { content: ''; position: absolute; top: 0; left: 0; width: 26px; height: 3px; background: var(--amber); }
    .zi-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
    .zi-head h2 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
    .zi-tag { display: inline-flex; align-items: center; gap: 8px; font: 700 10px 'Sora', sans-serif;
      letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
    .zi-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber);
      animation: pulse 2.2s ease-in-out infinite; }
    .zi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 30px); }
    .zi-col { border-left: 1px solid rgba(255,255,255,.09); padding-left: clamp(14px, 2vw, 22px); min-width: 0; }
    .zi-col:first-child { border-left: none; padding-left: 0; }
    .zi-k { font: 700 10px 'Sora', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #7A8089; margin-bottom: 14px; }
    .zi-rows { list-style: none; display: grid; gap: 9px; }
    .zi-rows li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: rgba(255,255,255,.62); }
    .zi-rows .v { color: #fff; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
    .zi-rows .v.yes { color: #8FD9A8; } .zi-rows .v.no { color: #FF9E8A; }
    .zi-big { font: 800 clamp(1.5rem, 2.4vw, 2rem)/1.1 'Sora', sans-serif; color: var(--amber);
      letter-spacing: -.02em; margin-bottom: 6px; }
    .zi-sub { font-size: 11.5px; color: #666c74; line-height: 1.6; margin-top: 10px; }
    .zi-dep { list-style: none; display: grid; gap: 0; margin-top: 2px; }
    .zi-dep li { position: relative; padding: 7px 0 7px 22px; font-size: 13px; color: rgba(255,255,255,.8); }
    .zi-dep li::before { content: ''; position: absolute; left: 5px; top: 14px; width: 7px; height: 7px;
      border-radius: 50%; background: var(--amber); }
    .zi-dep li:not(:last-child)::after { content: ''; position: absolute; left: 8px; top: 22px; bottom: -8px;
      width: 1px; background: rgba(242,179,54,.3); }
    .zi-dep b { color: var(--amber); font-variant-numeric: tabular-nums; }
    .zi-hl { grid-column: 1 / -1; margin-top: 6px; border-top: 1px dashed rgba(255,255,255,.12); padding-top: 18px;
      font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.78); }
    .zi-hl b { color: var(--amber); font-weight: 700; }
    @media (max-width: 1000px) { .zi-grid { grid-template-columns: 1fr 1fr; } .zi-col:nth-child(3) { border-left: none; padding-left: 0; } }
    @media (max-width: 620px) { .zi-grid { grid-template-columns: 1fr; } .zi-col { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,.09); padding-top: 16px; } .zi-col:first-child { border-top: none; padding-top: 0; } }

    /* amenities + docs + developer (light) */
    .za-chips { display: flex; flex-wrap: wrap; gap: 8px; }
    .za-chips span { font: 600 12.5px 'Sora', sans-serif; color: var(--ink); border: 1px solid var(--hairline);
      background: #fff; border-radius: 999px; padding: 8px 14px; }
    .za-more { font: 700 12.5px 'Sora', sans-serif; color: var(--amber-deep); background: none; cursor: pointer;
      border: 1px dashed rgba(242,179,54,.6); border-radius: 999px; padding: 8px 14px; }
    .za-more:hover { background: rgba(242,179,54,.12); }

    .zd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
    .zd-card { display: flex; align-items: center; gap: 12px; text-decoration: none;
      background: var(--ink); border-radius: 12px; padding: 16px 18px; position: relative; overflow: hidden;
      background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
      background-size: 30px 30px; transition: transform .15s ease; }
    .zd-card:hover { transform: translateY(-3px); }
    .zd-card .ic { font-size: 20px; flex: none; }
    .zd-card .t { min-width: 0; }
    .zd-card .t b { display: block; font: 700 13.5px/1.35 'Sora', sans-serif; color: #fff;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .zd-card .t small { font: 600 10.5px 'Sora', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #7A8089; }
    .zd-card .go { margin-left: auto; flex: none; color: var(--amber); font-weight: 800; transition: transform .15s ease; }
    .zd-card:hover .go { transform: translateX(3px); }
    .zd-note { margin-top: 16px; font-size: 12px; color: var(--ink-soft); line-height: 1.65; }

    .zdev { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
      background: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); position: relative; overflow: hidden;
      background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
      background-size: 30px 30px; }
    .zdev::before { content: ''; position: absolute; top: 0; left: 0; width: 26px; height: 3px; background: var(--amber); }
    .zdev .k { font: 700 10px 'Sora', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
    .zdev h3 { color: #fff; font-size: clamp(1.15rem, 2vw, 1.5rem); margin-top: 8px; }
    .zdev p { color: rgba(255,255,255,.65); font-size: 13.5px; line-height: 1.7; max-width: 52ch; margin-top: 8px; }
    .zdev .links { display: flex; gap: 14px; margin-top: 12px; }
    .zdev .links a { font: 600 12px 'Sora', sans-serif; color: rgba(255,255,255,.6); text-decoration: none; }
    .zdev .links a:hover { color: var(--amber); }
