/* Merged AHBB page (26 Nov): the original page's header and sections + The Ascent's hero, journey and shortlist.
   Loads after site.css and ascent.css. */

/* descenders (g, y) were clipped by the line-reveal mask */
.hero h1 .line, .a-hero h1 .line { padding-bottom: .16em; margin-bottom: -.1em; }

/* header: WhatsApp icon next to the main button */
.nav .icon-btn { opacity: 1; }
.nav .icon-btn svg { fill: var(--wa); }
@media (max-width: 1180px) { .nav .icon-btn { display: none; } }

/* hero */
.a-hero .btn-row { opacity: 0; animation: fadeUp 1s var(--ease) 1s forwards; margin-top: 30px; }
.a-hero__row { margin-top: 26px; }
.a-hero .btn--ghost { color: var(--text); }

/* ---------- location ---------- */
.loc { padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 8vw, 100px); background: #000; }
.loc__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.loc__head h2 { font-size: clamp(42px, 6vw, 82px); line-height: 1; }
.loc__head .side { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.loc__head .side h3 { color: var(--gold-hi); font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 14px; }
.loc__head .side p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .loc__head { grid-template-columns: 1fr; } .loc__head .side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; } }

.locmap { border: 1px solid var(--line); background: #050302; }
.locmap__scroll { overflow-x: auto; scrollbar-width: none; }
.locmap__scroll::-webkit-scrollbar { display: none; }
.locmap__stage { position: relative; aspect-ratio: 3840 / 2010; }
.locmap__stage img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.locmap__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.locmap__list li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.locmap__list li:nth-child(5n) { border-right: 0; }
.locmap__list li:nth-last-child(-n+5) { border-bottom: 0; }
.locmap__list button { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 22px; background: none; border: 0; text-align: left; cursor: pointer; transition: background .3s; color: var(--text); }
.locmap__list button:hover, .locmap__list button.on { background: rgba(197,155,105,.09); }
.locmap__list svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.2; }
.locmap__list b { display: block; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1; color: var(--gold-hi); white-space: nowrap; }
.locmap__list b small { font-family: var(--sans); font-size: 12px; letter-spacing: .06em; color: var(--gold); font-weight: 400; margin-left: 4px; }
.locmap__list span { display: block; font-size: 15px; line-height: 1.35; }
.locmap__list em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; pointer-events: none; z-index: 1; }
.pin__label { font-family: var(--serif); font-size: clamp(12px, 1.2vw, 18px); letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.95); white-space: nowrap; text-align: center; line-height: 1.1; transition: color .3s, transform .3s var(--ease); }
.pin__label small { display: block; font-family: var(--sans); font-size: .64em; letter-spacing: .14em; color: var(--gold-hi); margin-top: 3px; }
.pin__stem { width: 1px; height: clamp(16px, 2.6vw, 40px); background: linear-gradient(var(--gold-hi), rgba(226,196,147,.25)); margin-top: 5px; }
.pin__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 0 rgba(226,196,147,.7); animation: pulse 2.2s infinite; margin-bottom: -5px; }
.pin--home .pin__label { background: rgba(18,8,5,.78); border: 1px solid var(--gold); padding: 8px 14px; color: var(--gold-hi); }
.pin--home { flex-direction: row; transform: translate(-100%, -50%); }
.pin--home .pin__stem { width: clamp(24px, 4vw, 60px); height: 1px; margin: 0 0 0 6px; background: linear-gradient(90deg, rgba(226,196,147,.25), var(--gold-hi)); }
.pin--home .pin__dot { margin: 0 -5px 0 0; }
.pin--r .pin__label { transform: translateX(58%); }
.pin--r.hl .pin__label { transform: translateX(58%) scale(1.1); }
.pin.hl .pin__label { color: var(--gold-hi); transform: scale(1.1); }
.pin.hl .pin__dot { background: #fff; }
.locmap__note { position: absolute; left: 14px; bottom: 10px; font-size: 11px; color: rgba(241,232,220,.75); text-shadow: 0 1px 6px #000; }
@media (max-width: 1000px) {
  .locmap__list { grid-template-columns: 1fr 1fr; }
  .locmap__list li { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .locmap__list li:nth-child(even) { border-right: 0 !important; }
  .locmap__list li:nth-last-child(-n+2) { border-bottom: 0 !important; }
  .locmap__list button { flex-direction: row; align-items: center; gap: 12px; padding: 14px; }
  .locmap__list svg { width: 26px; height: 26px; flex: none; }
  .locmap__list b { font-size: 22px; }
  .locmap__list span { font-size: 13.5px; }
}
@media (max-width: 720px) {
  .locmap__stage { width: 760px; }
  .pin__label { font-size: 11px; }
}

/* why Bukit Bintang: four photo tiles built from the owner's selling phrases */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(50px, 7vw, 90px); }
.pillar { position: relative; aspect-ratio: 3 / 4.2; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease); }
.pillar:hover img { transform: scale(1.06); }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,5,3,.95) 0%, rgba(10,5,3,.55) 45%, rgba(10,5,3,.05) 75%); }
.pillar div { padding: 26px 24px; }
.pillar small { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.pillar h3 { font-size: clamp(24px, 2.2vw, 30px); margin: 8px 0 10px; }
.pillar ul { list-style: none; padding: 0; margin: 0; }
.pillar li { font-size: 14px; color: var(--text); opacity: .85; padding: 3px 0; }
.pillar li::before { content: "— "; color: var(--gold); }
.pillar .credit { position: absolute; top: 8px; right: 10px; font-size: 9.5px; color: rgba(255,255,255,.6); }
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } .pillar { aspect-ratio: 4 / 3.6; } }

/* ---------- the tower ---------- */
.tower { padding: clamp(84px, 11vw, 150px) 0; }
.tower__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.tower__imgs { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
.tower__imgs figure { margin: 0; overflow: hidden; }
.tower__imgs .tall { grid-row: span 2; aspect-ratio: 3 / 5; }
.tower__imgs .sq { aspect-ratio: 1 / 1.05; }
.tower__imgs img { width: 100%; height: 100%; object-fit: cover; }
.tower__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 34px; }
.tower__stats div { padding: 20px 16px 0 0; }
.tower__stats b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.4vw, 46px); line-height: 1; color: var(--gold-hi); }
.tower__stats span { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 900px) { .tower__grid { grid-template-columns: 1fr; } }

/* journey intro line */
.journey-intro { padding: clamp(70px, 9vw, 110px) 0 clamp(30px, 4vw, 50px); text-align: center; }
.journey-intro .eyebrow { justify-content: center; }
.journey-intro .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.journey-intro p { max-width: 560px; margin: 18px auto 0; color: var(--muted); }

/* ---------- sky facilities rail ---------- */
.sky { padding: clamp(80px, 10vw, 130px) 0; background: var(--bg-2); overflow: hidden; }
.sky__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 34px; }
.sky__nav { display: flex; gap: 10px; }
.sky__nav button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; display: grid; place-items: center; transition: background .3s; }
.sky__nav button:hover { background: rgba(197,155,105,.14); }
.sky__nav svg { width: 18px; height: 18px; stroke: var(--text); fill: none; stroke-width: 1.6; }
.sky__rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter) 6px; margin: 0 calc(var(--gutter) * -1); }
.sky__rail::-webkit-scrollbar { display: none; }
.skycard { flex: 0 0 min(460px, 82vw); scroll-snap-align: start; position: relative; aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in; border: 0; padding: 0; background: #000; color: var(--text); text-align: left; }
.skycard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.skycard:hover img { transform: scale(1.05); }
.skycard div { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 24px 22px; background: linear-gradient(0deg, rgba(10,5,3,.9), transparent); }
.skycard small { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.skycard h3 { font-size: 27px; margin-top: 6px; }

/* ---------- layouts explorer ---------- */
.lx { background: var(--stone); color: var(--ink); padding: clamp(80px, 10vw, 130px) 0; }
.lx .eyebrow { color: var(--gold-lo); }
.lx__groups { display: flex; justify-content: center; gap: 0; border-bottom: 1px solid var(--line-dark); margin: clamp(34px, 5vw, 50px) 0 26px; flex-wrap: wrap; }
.lx__groups button { background: none; border: 0; padding: 14px 26px; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); color: var(--ink-muted); cursor: pointer; position: relative; }
.lx__groups button::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -1px; height: 2px; background: var(--gold-lo); transform: scaleX(0); transition: transform .4s var(--ease); }
.lx__groups button[aria-selected="true"] { color: var(--ink); }
.lx__groups button[aria-selected="true"]::after { transform: scaleX(1); }
.lx__types { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(30px, 4vw, 46px); }
.lx__types button { border: 1px solid var(--line-dark); background: #fff; padding: 11px 18px; font-size: 14px; cursor: pointer; color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.lx__types button b { font-weight: 500; }
.lx__types button[aria-pressed="true"] { background: var(--ink); color: var(--stone); border-color: var(--ink); }
.lx__panel { display: grid; grid-template-columns: 320px 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; background: #fff; border: 1px solid var(--line-dark); padding: clamp(24px, 4vw, 50px); }
.lx__info { text-align: center; }
.lx__info small { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-muted); }
.lx__info .t { font-family: var(--serif); font-size: clamp(84px, 9vw, 120px); line-height: .9; color: var(--gold-lo); margin: 6px 0 8px; }
.lx__info .cfg { display: inline-block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; border: 1px solid var(--gold-lo); color: var(--gold-lo); padding: 5px 12px; margin-bottom: 18px; }
.lx__info dl { margin: 0; border-top: 1px solid var(--line-dark); }
.lx__info dl div { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.lx__info dt { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.lx__info dd { margin: 4px 0 0; font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.lx__info dd small { font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; }
.lx__info .btn-row { flex-direction: column; margin-top: 22px; }
.lx__info .btn { width: 100%; }
.lx__plan { display: grid; place-items: center; min-height: 460px; cursor: zoom-in; position: relative; }
.lx__plan img { max-height: 560px; width: auto; max-width: 100%; object-fit: contain; transition: opacity .35s; }
.lx__plan .zoom { position: absolute; right: 0; bottom: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.lx__foot { text-align: center; margin-top: 18px; font-size: 13px; color: var(--ink-muted); }
@media (max-width: 860px) {
  .lx__panel { grid-template-columns: 1fr; }
  .lx__plan { order: -1; min-height: 300px; }
  .lx__plan img { max-height: 380px; }
  .lx__info dl { display: grid; grid-template-columns: 1fr 1fr; }
  .lx__info dl div:nth-child(odd) { border-right: 1px solid var(--line-dark); }
}

/* ---------- investment (rebuilt) ---------- */
.inv { padding: clamp(84px, 11vw, 150px) 0; position: relative; overflow: hidden; isolation: isolate; }
.inv__bg { position: absolute; inset: 0; z-index: -2; }
.inv__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.inv::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(18,8,5,.7) 40%, var(--bg) 100%); }
.inv__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.inv__tags span { border: 1px solid var(--line); padding: 7px 14px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.inv__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(46px, 6vw, 70px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.inv__stats div { padding: 36px 30px; border-right: 1px solid var(--line); text-align: center; }
.inv__stats div:last-child { border-right: 0; }
.inv__stats .num { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 7vw, 100px); line-height: 1; color: var(--gold-hi); white-space: nowrap; }
.inv__stats .num sup { font-size: .4em; vertical-align: super; }
.inv__stats .lbl { display: block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--text); margin-top: 14px; }
.inv__stats .sub { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }
@media (max-width: 760px) { .inv__stats { grid-template-columns: 1fr; } .inv__stats div { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 10px; } .inv__stats div:last-child { border-bottom: 0; } }
.inv__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.inv__card { border: 1px solid var(--line); background: rgba(18,8,5,.6); backdrop-filter: blur(6px); overflow: hidden; }
.inv__card figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.inv__card figure img { width: 100%; height: 100%; object-fit: cover; }
.inv__card div { padding: 26px 26px 28px; }
.inv__card small { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.inv__card h3 { font-size: 26px; margin: 8px 0 12px; }
.inv__card p, .inv__card li { color: var(--muted); font-size: 15px; }
.inv__card ul { list-style: none; padding: 0; margin: 0; }
.inv__card li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.inv__card li:last-child { border-bottom: 0; }
.inv__card li b { color: var(--gold-hi); font-weight: 400; }
.inv__note { font-size: 12px; color: var(--muted); margin-top: 22px; }
@media (max-width: 900px) { .inv__cards { grid-template-columns: 1fr; } }

/* ---------- sales gallery ---------- */
.visit { position: relative; isolation: isolate; overflow: hidden; padding: clamp(90px, 12vw, 160px) 0; }
.visit__bg { position: absolute; inset: 0; z-index: -2; }
.visit__bg img { width: 100%; height: 100%; object-fit: cover; }
.visit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,8,5,.95) 0%, rgba(18,8,5,.75) 50%, rgba(18,8,5,.35) 100%); }
.visit h2 { max-width: 14ch; }
.visit address { font-style: normal; margin: 24px 0 0; color: var(--text); line-height: 1.7; }
.visit address b { color: var(--gold-hi); font-weight: 400; }
.visit .btn-row { margin-top: 30px; }

/* side tab */
.side-tab { position: fixed; right: 0; top: 50%; z-index: 41; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; background: var(--gold); color: #1b0f09; border: 0; padding: 18px 11px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); transition: padding .3s; }
.side-tab:hover { padding-right: 15px; }
.side-tab svg { width: 15px; height: 15px; transform: rotate(90deg); stroke: currentColor; fill: none; stroke-width: 1.8; }
@media (max-width: 720px) { .side-tab { display: none; } }

/* shortlist: what to send */
.sendme { margin: 4px 0 18px; }
.sendme legend { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 500; }
.chips input[type="checkbox"] + span::before { content: "+ "; }
.chips input[type="checkbox"]:checked + span::before { content: "✓ "; }
.quiz .offer-strip { margin-top: 40px; color: var(--ink); }

/* ---------- popup ---------- */
.pop { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; background: rgba(8,4,2,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.pop.open { opacity: 1; pointer-events: auto; }
.pop__box { position: relative; width: min(920px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; overflow-x: hidden; display: grid; grid-template-columns: 1fr 1.05fr; background: var(--bg-2); border: 1px solid var(--line); transform: translateY(26px) scale(.98); transition: transform .5s var(--ease); }
.pop.open .pop__box { transform: none; }
.pop__img { position: relative; min-height: 100%; }
.pop__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pop__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,8,5,.85), rgba(18,8,5,0) 55%); }
.pop__img div { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; }
.pop__img img.mono { position: static; width: auto; height: 44px; margin-bottom: 12px; }
.pop__img p { font-family: var(--serif); font-size: 22px; line-height: 1.2; margin: 0; }
.pop__body { padding: clamp(26px, 4vw, 40px); }
.pop__body h3 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 10px; }
.pop__body > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.pop__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(18,8,5,.7); cursor: pointer; display: grid; place-items: center; }
.pop__close svg { width: 16px; height: 16px; stroke: var(--text); fill: none; stroke-width: 1.6; }
.pop .offer { animation: none; opacity: 1; margin-bottom: 16px; }
.pop .field { margin-bottom: 14px; }
@media (max-width: 720px) {
  .pop { place-items: end center; padding: 0; }
  .pop__box { grid-template-columns: 1fr; max-height: 92svh; }
  .pop__img { min-height: 150px; }
  .pop__img div { bottom: 14px; }
  .pop__img p { font-size: 18px; }
}

/* hero on phones: let it grow instead of pushing content under the header */
@media (max-width: 720px) {
  .a-hero { height: auto; min-height: 100svh; }
  .a-hero .wrap { padding-top: calc(var(--header-h) + 22px); padding-bottom: 44px; }
  .a-hero .lift-cue { display: none; }
  .a-hero__row { margin-top: 18px; }
  .a-hero__row p { font-size: 16px; }
  .a-hero .btn-row { margin-top: 22px; }
  .a-hero .btn-row .btn { width: 100%; }
  .a-hero h1 { font-size: 46px; }
}
@media (max-width: 520px) { .lx__groups button { font-size: 19px; padding: 12px 10px; } }
