/* ============================================================
   PROJECT PAGE v2 — flagship funnel design (Grand Solaire Noble)
   Structure reusable for all future project pages.
   Dark cinematic hero + gold accents (site identity), scroll
   reveals, sticky nav + sticky CTA, video lightbox.
   Desktop-first; mobile rules in the @media block at the end.
   ============================================================ */

.pj2 { background: #0b0d1c; color: #eef0f6; font-family: inherit; }
.pj2 section { position: relative; }
.pj2 .container { max-width: 1200px; }

/* ---------- body/base overrides for this page ---------- */
.pj2-body { background: #0b0d1c; }

/* ---------- sticky quick nav ---------- */
.pj2-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 13, 28, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(235, 184, 65, .18);
}
/* Quick-nav pins FLUSH below the fixed site header: JS sets top to the
   header's live bottom edge every frame (98px at page top, 72px once the
   header shrinks) so the two bars stack seamlessly — no slit, no dead
   click zone (Rana 2026-10-09: keep the original floating-header feel). */
.pj2-nav { position: sticky; top: 98px; z-index: 60; }
.pj2 section[id] { scroll-margin-top: 132px; }
.pj2-nav-row { display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.pj2-nav-row::-webkit-scrollbar { display: none; }
.pj2-nav a {
  flex: 0 0 auto; color: #cfd3e4; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 14px 14px; border-bottom: 2px solid transparent;
}
.pj2-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- HERO ---------- */
.pj2-hero {
  position: relative; min-height: 92vh; display: flex; flex-direction: column;
  justify-content: center; overflow: hidden; margin-top: -76px; padding-top: 76px;
}
.pj2-hero-media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.04);
  animation: pj2HeroZoom 14s ease-out forwards;
}
@keyframes pj2HeroZoom { to { transform: scale(1); } }
.pj2-hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,13,28,.55) 0%, rgba(11,13,28,.25) 40%, rgba(11,13,28,.92) 88%, #0b0d1c 100%);
}
.pj2-hero-inner { position: relative; z-index: 2; text-align: center; padding: 90px 20px 40px; }
.pj2-eyebrow {
  color: var(--accent); font-size: 13px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; margin-bottom: 18px;
}
.pj2-h1 {
  color: #fff; font-size: clamp(44px, 7vw, 84px); font-weight: 800;
  line-height: 1.02; letter-spacing: .01em; margin: 0 0 14px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .55);
}
.pj2-tagline {
  color: #e6e9f4; font-size: clamp(17px, 2.2vw, 24px); font-weight: 400;
  max-width: 640px; margin: 0 auto 30px;
}
.pj2-hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pj2-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #13152B; font-weight: 700; font-size: 15px;
  padding: 14px 30px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 10px 30px rgba(235, 184, 65, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pj2-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(235, 184, 65, .45); }
.pj2-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .08); color: #fff;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  padding: 14px 28px; font-size: 15px; font-weight: 600; cursor: pointer;
  backdrop-filter: blur(6px); transition: background .2s ease;
}
.pj2-btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.pj2-hero-stats {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(180deg, rgba(11,13,28,.35), rgba(11,13,28,.75));
  backdrop-filter: blur(8px);
}
.pj2-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 22px 20px; }
.pj2-stat { text-align: center; }
.pj2-stat-n {
  display: block; color: var(--accent); font-size: clamp(22px, 3vw, 34px);
  font-weight: 800; letter-spacing: .01em;
}
.pj2-stat-l { color: #aab0c5; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }

/* ---------- generic section ---------- */
.pj2-sec { padding: 96px 0; }
.pj2-kicker {
  color: var(--accent); font-size: 12px; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase; margin-bottom: 14px;
}
.pj2-h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.12; margin-bottom: 18px; }
.pj2-h2-gold { }
.pj2-h3 { color: #fff; font-size: 24px; font-weight: 700; margin: 44px 0 16px; }
p.pj2-lead { color: #c3c8da; font-size: clamp(16px, 1.6vw, 19px); max-width: 780px; margin-bottom: 40px; }

/* reveal-on-scroll */
.pj2 .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.pj2 .rv.in { opacity: 1; transform: none; }

/* ---------- overview ---------- */
.pj2-overview-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: stretch; }
.pj2-prose p { color: #c3c8da; margin-bottom: 16px; font-size: 16.5px; }
.pj2-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-top: 28px; }
.pj2-fact { border-left: 2px solid var(--accent); padding-left: 14px; }
.pj2-fact dt { color: #8b91a8; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.pj2-fact dd { color: #fff; font-size: 15.5px; font-weight: 600; margin: 2px 0 0; }
/* The overview photo fills the whole right column instead of sitting in it as a
   thin panoramic strip: wide renders are cropped to the text column's height with
   object-fit cover (Rana 2026-10-22: "a very small banner image"). */
.pj2-overview-img { margin: 0; height: 100%; min-height: 420px; }
.pj2-overview-img img {
  display: block; width: 100%; height: 100%; min-height: 420px;
  object-fit: cover; object-position: center 42%;
  border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

/* ---------- rooftop (dark-gold USP) ---------- */
.pj2-rooftop {
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(235, 184, 65, .13), transparent 60%),
    #090a16;
}
.pj2-rooftop .pj2-kicker { color: var(--accent); }
.pj2-rooftop .pj2-h2 { color: var(--accent); }
.pj2-rooftop .pj2-lead { color: #d8dbe8; }
.pj2-rooftop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pj2-rt-card {
  position: relative; border-radius: 14px; overflow: hidden; margin: 0;
  aspect-ratio: 3 / 4; background: #131528;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .3s ease, border-color .3s ease;
}
.pj2-rt-card:hover { transform: translateY(-6px); border-color: rgba(235, 184, 65, .5); }
.pj2-rt-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s ease; }
.pj2-rt-card:hover img { transform: scale(1.05); }
.pj2-rt-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 14, .92));
}
.pj2-rt-card h3 { color: #fff; font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.pj2-rt-card p { color: #b9bfd3; font-size: 13.5px; line-height: 1.5; margin: 0; }

/* ---------- deck / facilities ---------- */
.pj2-deck { background: #0b0d1c; }
.pj2-deck-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px; }
.pj2-deck-item {
  background: #12142780; border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px; padding: 20px;
  transition: border-color .25s ease, transform .25s ease;
}
.pj2-deck-item:hover { border-color: rgba(235, 184, 65, .4); transform: translateY(-3px); }
.pj2-deck-item h3 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.pj2-deck-item p { color: #a7adc2; font-size: 13.5px; line-height: 1.5; margin: 0; }
.pj2-deck-imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pj2-deck-imgs img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; }

/* ---------- residences ---------- */
.pj2-res { background: #090a16; }
.pj2-types { display: grid; grid-template-columns: 1fr; gap: 18px; }
.pj2-type {
  background: linear-gradient(180deg, #151832, #101226);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 26px 28px;
}
.pj2-type-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.pj2-type h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.pj2-type-size { color: var(--accent); font-weight: 700; font-size: 14.5px; margin: 0; }
.pj2-type-price { text-align: right; white-space: nowrap; }
.pj2-price-from { display: block; color: #8b91a8; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.pj2-price-n { display: block; color: #fff; font-weight: 800; font-size: 22px; }
.pj2-price-ind { display: block; color: #9aa3bf; font-weight: 400; font-size: 12.5px; margin-top: 3px; white-space: normal; }
.pj2-price-por { color: var(--accent); font-size: 18px; }
.pj2-type-d { color: #a7adc2; font-size: 14px; line-height: 1.55; margin: 10px 0 0; }
.pj2-type-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 18px; }
.pj2-type-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 14px; }
.pj2-type-photo { margin: 0; border-radius: 10px; overflow: hidden; }
.pj2-type-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pj2-type-cta {
  display: inline-block; margin-top: 18px; color: var(--accent);
  border: 1px solid rgba(235, 184, 65, .45); border-radius: 999px;
  padding: 9px 20px; font-size: 13.5px; font-weight: 700;
}
.pj2-type-cta:hover { background: rgba(235, 184, 65, .12); }
.pj2-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; }
.pj2-specs li {
  color: #d8dbe8; font-size: 13.5px; padding: 8px 14px;
  border: 1px solid rgba(235, 184, 65, .3); border-radius: 999px;
}
.pj2-plan {
  background: #fff; border-radius: 12px; overflow: hidden; margin: 0;
  border: 1px solid rgba(255, 255, 255, .06);
}
.pj2-plan img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 12px; }
.pj2-plan figcaption {
  color: #13152B; text-align: center; font-weight: 600; font-size: 13px; padding: 10px;
  border-top: 1px solid #eceef4;
}

/* ---------- gallery ---------- */
.pj2-gallery-sec { background: #0b0d1c; }
.pj2-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pj2-g-item { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.pj2-g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.pj2-g-item:hover img { transform: scale(1.06); }
.pj2-g-item:nth-child(1), .pj2-g-item:nth-child(6) { grid-column: span 2; grid-row: span 1; aspect-ratio: 2.05 / 1; }

/* ---------- location ---------- */
.pj2-loc { background: #090a16; }
.pj2-loc-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 26px; margin-bottom: 30px; align-items: center; }
.pj2-loc-map iframe { width: 100%; height: 420px; border: 0; border-radius: 14px; }
.pj2-nearby { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pj2-nearby li {
  background: #12142780; border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px; padding: 16px 18px;
}
.pj2-nearby strong { display: block; color: #fff; font-size: 15px; }
.pj2-nearby span { color: #a7adc2; font-size: 13.5px; }
.pj2-views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pj2-view { position: relative; margin: 0; border-radius: 12px; overflow: hidden; }
.pj2-view img { width: 100%; height: 260px; object-fit: cover; }
.pj2-view figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 14, .9));
  color: #d8dbe8; font-size: 13px;
}

/* ---------- investment ---------- */
.pj2-inv {
  background:
    radial-gradient(1000px 460px at 85% 0%, rgba(235, 184, 65, .1), transparent 55%),
    #0b0d1c;
}
.pj2-inv .pj2-h2 { color: var(--accent); }
.pj2-inv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 44px; }
.pj2-pillar {
  background: #12142780; border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px; padding: 24px 20px; position: relative;
}
.pj2-pillar-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(235, 184, 65, .15); color: var(--accent);
  font-weight: 800; font-size: 15px; margin-bottom: 14px;
  border: 1px solid rgba(235, 184, 65, .4);
}
.pj2-pillar h3 { color: #fff; font-size: 16.5px; margin-bottom: 8px; line-height: 1.3; }
.pj2-pillar p { color: #a7adc2; font-size: 13.5px; line-height: 1.55; margin: 0; }
.pj2-pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pj2-pay-card {
  background: #101226; border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px; padding: 24px;
}
.pj2-pay-card h3 { color: var(--accent); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.pj2-pay-card ul { list-style: none; margin: 0; padding: 0; }
.pj2-pay-card li { color: #d8dbe8; font-size: 14px; padding: 7px 0 7px 22px; position: relative; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
.pj2-pay-card li:last-child { border-bottom: 0; }
.pj2-pay-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pj2-pay-costs dl { margin: 0; }
.pj2-pay-costs dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
.pj2-pay-costs dt { color: #a7adc2; font-size: 13.5px; }
.pj2-pay-costs dd { color: #fff; font-size: 13.5px; font-weight: 600; margin: 0; text-align: right; }
.pj2-price-note { color: #8b91a8; font-size: 13px; margin-top: 22px; max-width: 760px; }

/* ---------- construction updates ---------- */
.pj2-updates { background: #090a16; }
.pj2-updates-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pj2-update { margin: 0; }
.pj2-upd-play {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  border-radius: 14px; overflow: hidden; cursor: pointer; background: #121427;
}
.pj2-upd-play img { width: 100%; height: 320px; object-fit: cover; opacity: .9; transition: transform .4s ease; }
.pj2-upd-play:hover img { transform: scale(1.04); }
.pj2-upd-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(11, 13, 28, .85); color: var(--accent);
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em;
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(235, 184, 65, .4);
}
.pj2-upd-ic {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(235, 184, 65, .92); color: #13152B;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .5); transition: transform .25s ease;
}
.pj2-upd-play:hover .pj2-upd-ic { transform: translate(-50%, -50%) scale(1.1); }
.pj2-update figcaption { color: #a7adc2; font-size: 13.5px; padding: 12px 4px 0; }

/* ---------- FAQ ---------- */
.pj2-faq-sec { background: #0b0d1c; }
.pj2-faq-wrap { max-width: 860px; }
.pj2-faq {
  border: 1px solid rgba(255, 255, 255, .09); border-radius: 12px;
  margin-bottom: 12px; background: #101226; overflow: hidden;
}
.pj2-faq summary {
  cursor: pointer; list-style: none; padding: 18px 20px;
  color: #fff; font-weight: 600; font-size: 15.5px; position: relative; padding-right: 48px;
}
.pj2-faq summary::-webkit-details-marker { display: none; }
.pj2-faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 22px; font-weight: 400; transition: transform .25s ease;
}
.pj2-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.pj2-faq p { color: #b9bfd3; font-size: 14.5px; line-height: 1.65; padding: 0 20px 18px; margin: 0; }

/* ---------- lead form ---------- */
.pj2-lead {
  background:
    radial-gradient(1100px 520px at 18% 8%, rgba(235, 184, 65, .14), transparent 55%),
    radial-gradient(900px 460px at 85% 90%, rgba(31, 42, 84, .5), transparent 60%),
    #090a16;
  padding-bottom: 120px;
}
.pj2-lead-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: start; }
.pj2-lead .pj2-h2 { color: var(--accent); }
.pj2-lead .pj2-lead-gold { color: #d8dbe8; }
.pj2-lead-points { list-style: none; margin: 8px 0 22px; padding: 0; }
.pj2-lead-points li {
  color: #d8dbe8; font-size: 15px; padding: 10px 0 10px 30px; position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.pj2-lead-points li::before {
  content: "◆"; position: absolute; left: 4px; color: var(--accent); font-size: 12px; top: 13px;
}
.pj2-lead-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 26px; }
.pj2-badge {
  color: #e6d9b8; font-size: 12.5px; letter-spacing: .02em;
  border: 1px solid rgba(235, 184, 65, .35); border-radius: 999px; padding: 6px 13px;
}
.pj2-lead-contacts { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 20px; }
.pj2-lead-contacts p {
  margin: 0 0 10px; color: #8b91a8; font-size: 13px; text-transform: uppercase;
  letter-spacing: .08em;
}
.pj2-contact-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pj2-contact-chip {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px; padding: 9px 16px;
}
.pj2-contact-chip:hover { border-color: var(--accent); background: rgba(235, 184, 65, .08); }
.pj2-lead-note {
  margin: 22px 0 0; color: #8b91a8; font-size: 13.5px; line-height: 1.6;
}
.pj2-lead-note strong { color: #e6d9b8; font-weight: 700; }
.pj2-lead-form {
  position: relative;
  background: linear-gradient(180deg, #13162e, #0e1124);
  border: 1px solid rgba(235, 184, 65, .30);
  border-radius: 18px; padding: 34px 32px 30px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .2);
  overflow: hidden;
}
.pj2-lead-form::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.pj2-form-head { margin-bottom: 20px; }
.pj2-form-head h3 { color: #fff; font-size: 20px; margin: 0 0 6px; }
.pj2-form-head p { color: #9aa0b6; font-size: 13.5px; margin: 0; }
.pj2-form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 14px; }
.pj2-form-grid input[name=email] { grid-column: 1 / -1; }
.pj2-lead-form input, .pj2-lead-form select, .pj2-lead-form textarea {
  width: 100%; background: #0b0d1c; border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px; color: #fff; font-size: 14.5px; padding: 14px 15px; font-family: inherit;
}
.pj2-interests { border: 0; padding: 0; margin: 0 0 14px; }
.pj2-interests legend {
  color: #fff; font-weight: 700; font-size: 14px; padding: 0 0 10px;
}
.pj2-int-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pj2-int-chip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
  padding: 9px 15px; margin: 0; color: #d8dbe8; font-size: 13.5px;
}
.pj2-int-chip input { width: auto; padding: 0; border: 0; background: transparent; accent-color: #EBB841; margin: 0; }
.pj2-int-chip:has(input:checked) {
  border-color: var(--accent); background: rgba(235, 184, 65, .12); color: #fff;
}
.pj2-lead-form input::placeholder, .pj2-lead-form textarea::placeholder { color: #9aa3bf; }
.pj2-lead-form input:focus, .pj2-lead-form select:focus, .pj2-lead-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(235, 184, 65, .15);
}
.pj2-lead-form select { appearance: none; }
.pj2-lead-form textarea { margin-bottom: 16px; resize: vertical; min-height: 96px; }
.pj2-cta-big { width: 100%; justify-content: center; font-size: 16px; padding: 16px; }
.pj2-form-fine { color: #8b91a8; font-size: 12.5px; text-align: center; margin: 12px 0 0; }

/* ---------- video modal ---------- */
.pj2-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5, 6, 14, .92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 4vh 4vw;
}
.pj2-modal[hidden] { display: none; }
.pj2-modal-box { position: relative; width: min(1100px, 100%); }
.pj2-video-frame { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 14px; overflow: hidden; }
.pj2-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pj2-video-frame-portrait { width: min(320px, 86%); aspect-ratio: 9/16; margin: 0 auto; }
/* portrait show-unit video facade (click-to-load, keeps the page light) */
.pj2-type-video { margin-top: 20px; }
.pj2-videofacade { display: block; position: relative; width: min(300px, 80%); aspect-ratio: 9/16; margin: 0 auto; padding: 0; border: 0; border-radius: 14px; background-size: cover; background-position: center; cursor: pointer; overflow: hidden; box-shadow: 0 12px 34px rgba(0, 0, 0, .45); }
.pj2-videofacade-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(11, 13, 28, .22); transition: background .2s ease; }
.pj2-videofacade-play svg { width: 26px; height: 26px; padding: 17px; box-sizing: content-box; background: rgba(19, 21, 43, .75); border: 2px solid var(--accent); border-radius: 50%; }
.pj2-videofacade:hover .pj2-videofacade-play { background: rgba(11, 13, 28, .08); }
.pj2-type-video-cap { color: #8b91a8; font-size: 12.5px; text-align: center; margin: 10px 0 0; }
.pj2-modal-x {
  position: absolute; top: -16px; right: -16px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: #13152B; font-size: 22px; line-height: 1;
}

/* ---------- sticky CTA ---------- */
.pj2-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(9, 10, 22, .96); border-top: 1px solid rgba(235, 184, 65, .25);
  backdrop-filter: blur(10px);
  transform: translateY(110%); transition: transform .35s ease;
}
.pj2-sticky-cta.show { transform: translateY(0); }
.pj2-sticky-row { display: flex; align-items: center; gap: 16px; padding: 12px 20px; }
.pj2-sticky-title { color: #fff; font-weight: 800; font-size: 16px; white-space: nowrap; }
.pj2-sticky-sub { color: #8b91a8; font-size: 13px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pj2-sticky-row .pj2-cta { padding: 10px 22px; font-size: 14px; }

/* ---------- mobile (≤700px) ---------- */
@media (max-width: 700px) {
  .pj2-hero { min-height: 78vh; }
  .pj2-hero-inner { padding: 120px 20px 30px; }
  .pj2-stats-row { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; }
  .pj2-sec { padding: 64px 0; }
  .pj2-overview-grid, .pj2-loc-grid, .pj2-lead-grid { grid-template-columns: 1fr; gap: 28px; }
  /* stacked: the photo keeps a deliberate 4:3 frame under the copy */
  .pj2-overview-img { min-height: 0; height: auto; }
  .pj2-overview-img img { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .pj2-rooftop-grid, .pj2-deck-grid, .pj2-deck-imgs { grid-template-columns: repeat(2, 1fr); }
  .pj2-type { padding: 20px 16px; }
  .pj2-type-head { flex-direction: column; gap: 6px; }
  .pj2-type-price { text-align: left; }
  .pj2-type-plans, .pj2-type-photos { grid-template-columns: repeat(2, 1fr); }
  .pj2-gallery { grid-template-columns: repeat(2, 1fr); }
  .pj2-g-item:nth-child(1), .pj2-g-item:nth-child(6) { grid-column: span 2; }
  .pj2-inv-grid { grid-template-columns: 1fr; }
  .pj2-pay-grid { grid-template-columns: 1fr; }
  .pj2-updates-grid { grid-template-columns: 1fr; }
  .pj2-views { grid-template-columns: 1fr; }
  .pj2-view img { height: 200px; }
  .pj2-deck-imgs img { height: 150px; }
  .pj2-upd-play img { height: 210px; }
  .pj2-form-grid { grid-template-columns: 1fr; }
  .pj2-loc-map iframe { height: 300px; }
  .pj2-sticky-sub { display: none; }
  /* Joe round-8: project name in the bottom bar must be immediately readable
     on mobile — stack the bar: big centered name on top, full-width button below */
  .pj2-sticky-row { flex-direction: column; gap: 8px; padding: 10px 20px 12px; }
  .pj2-sticky-title { font-size: 19px; letter-spacing: .02em; text-align: center; white-space: normal; line-height: 1.15; }
  .pj2-sticky-row .pj2-cta { width: 100%; justify-content: center; }
  .pj2-modal-x { top: 8px; right: 8px; }
  .pj2-lead-grid { gap: 34px; }
  .pj2-lead-form { padding: 26px 20px 24px; }
  .pj2-lead-points { margin-bottom: 18px; }
  .pj2-lead-badges { margin-bottom: 20px; }
  .pj2-contact-row .pj2-contact-chip { flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 700px) {
  .pj2-lead-form input, .pj2-lead-form select, .pj2-lead-form textarea { padding: 16px 14px; font-size: 16px; }
  .pj2-faq summary { padding: 18px 52px 18px 16px; font-size: 15px; }
  .pj2-faq summary::after { right: 14px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
  .pj2-plans { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .pj2-rooftop-grid { grid-template-columns: 1fr; }
  .pj2-deck-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FUNNEL LAYER (Rana round 2026-10-22)
   CTA at the top AND the bottom, project-specific unit pickers,
   price transparency in the hero, inline lead success state.
   ============================================================ */

/* ---------- hero: price line + CTA set ---------- */
.pj2-hero-price {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin: 0 auto 26px; padding: 9px 20px;
  border: 1px solid rgba(235, 184, 65, .45); border-radius: 999px;
  background: rgba(11, 13, 28, .55); backdrop-filter: blur(8px);
}
.pj2-hp-n { color: #fff; font-weight: 800; font-size: 17px; letter-spacing: .01em; }
.pj2-hp-o {
  color: #d8dbe8; font-size: 13px; padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, .22);
}
.pj2-cta-lg { padding: 16px 34px; font-size: 16px; }
.pj2-btn-wa { border-color: rgba(37, 211, 102, .55); }
.pj2-btn-wa:hover { background: rgba(37, 211, 102, .14); }
.pj2-btn-film { padding: 13px 24px; font-size: 14px; color: #cfd3e4; }
.pj2-hero-fine {
  color: #9aa0b6; font-size: 12.5px; letter-spacing: .04em; margin: 18px 0 0;
}

/* ---------- top quick-lead band (#getpack) ---------- */
.pj2-quick {
  padding: 76px 0 84px;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(235, 184, 65, .16), transparent 60%),
    linear-gradient(180deg, #0b0d1c, #10132a 65%, #0b0d1c);
  border-bottom: 1px solid rgba(235, 184, 65, .16);
}
.pj2-quick-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.pj2-quick .pj2-h2 { font-size: clamp(26px, 3.2vw, 38px); }
.pj2-quick-lead { color: #b9bfd3; font-size: 15.5px; line-height: 1.7; margin: 14px 0 20px; max-width: 520px; }
.pj2-quick-list { list-style: none; margin: 0 0 22px; padding: 0; }
.pj2-quick-list li {
  color: #e3e6f2; font-size: 14.5px; padding: 9px 0 9px 26px; position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.pj2-quick-list li::before {
  content: ""; position: absolute; left: 4px; top: 16px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(235, 184, 65, .14);
}
.pj2-mini-trust { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- quick form card ---------- */
.pj2-mini-wrap { position: relative; }
.pj2-mini {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #161a35, #0d1024);
  border: 1px solid rgba(235, 184, 65, .38);
  border-radius: 18px; padding: 26px 26px 22px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, .55);
}
.pj2-mini::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.pj2-mini-head { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 18px; }
.pj2-mini-ic {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); background: rgba(235, 184, 65, .12);
  border: 1px solid rgba(235, 184, 65, .35);
}
.pj2-mini-head h3 { color: #fff; font-size: 18px; margin: 0 0 4px; }
.pj2-mini-head p { color: #9aa0b6; font-size: 13px; margin: 0; line-height: 1.5; }
.pj2-units { border: 0; padding: 0; margin: 0 0 14px; }
.pj2-units legend {
  color: #fff; font-weight: 700; font-size: 13.5px; padding: 0 0 9px;
  letter-spacing: .01em;
}
.pj2-unit-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pj2-unit-chip { margin: 0; cursor: pointer; }
.pj2-unit-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pj2-unit-chip > span {
  display: flex; flex-direction: column; gap: 2px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px;
  padding: 9px 11px; color: #d8dbe8; font-size: 13px; line-height: 1.25;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.pj2-unit-chip b { font-weight: 700; font-size: 13px; }
.pj2-unit-chip i { font-style: normal; color: #9aa0b6; font-size: 11.5px; }
.pj2-unit-chip:hover > span { border-color: rgba(235, 184, 65, .55); }
.pj2-unit-chip input:checked + span {
  border-color: var(--accent); background: rgba(235, 184, 65, .14); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(235, 184, 65, .45);
}
.pj2-unit-chip input:checked + span i { color: #e6d9b8; }
.pj2-unit-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pj2-mini-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.pj2-mini-fields input[name=email] { grid-column: 1 / -1; }
.pj2-mini input, .pj2-mini textarea {
  width: 100%; background: #0b0d1c; border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px; color: #fff; font-size: 14.5px; padding: 13px 14px; font-family: inherit;
}
.pj2-mini input::placeholder { color: #9aa3bf; }
.pj2-mini input:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(235, 184, 65, .15);
}
.pj2-cta.is-busy { opacity: .7; cursor: progress; }

/* ---------- inline success card ---------- */
.pj2-ok {
  text-align: center; padding: 34px 26px;
  background: linear-gradient(180deg, #16213a, #0e1124);
  border: 1px solid rgba(37, 211, 102, .45); border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}
.pj2-ok-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 14px;
  background: rgba(37, 211, 102, .16); color: #37d67a; font-size: 22px; font-weight: 700;
  border: 1px solid rgba(37, 211, 102, .5);
}
.pj2-ok h3 { color: #fff; font-size: 20px; margin: 0 0 8px; }
.pj2-ok p { color: #b9bfd3; font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; }
.pj2-ok .pj2-btn-ghost { border-color: rgba(37, 211, 102, .5); }

/* ---------- mid-page CTA band ---------- */
.pj2-mid {
  background: linear-gradient(90deg, rgba(235, 184, 65, .1), rgba(235, 184, 65, .02));
  border-top: 1px solid rgba(235, 184, 65, .22);
  border-bottom: 1px solid rgba(235, 184, 65, .22);
  padding: 30px 0;
}
.pj2-mid-in { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.pj2-mid-copy h3 { color: #fff; font-size: 20px; margin: 0 0 6px; }
.pj2-mid-copy p { color: #b9bfd3; font-size: 14.5px; margin: 0; max-width: 620px; line-height: 1.6; }
.pj2-mid-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- bottom form: head + numbered steps + unit cards ---------- */
/* heading now lives inside the left column (alignment fix, 2026-10-22) */
.pj2-lead-copy .pj2-kicker { margin-bottom: 12px; }
.pj2-lead-copy .pj2-h2 { margin-bottom: 14px; }
.pj2-lead-copy .pj2-lead { max-width: 560px; margin-bottom: 26px; }
/* left stack: heading + bullets anchored to the top, the contact block sits on
   the form card's bottom edge, so both columns end together (no trailing void) */
.pj2-lead-copy { display: flex; flex-direction: column; align-self: stretch; }
.pj2-lead-copy .pj2-lead-contacts { margin-top: auto; padding-top: 26px; }
.pj2-step-box { border: 0; padding: 0; margin: 0 0 20px; }
.pj2-step-box legend {
  display: flex; align-items: center; gap: 9px;
  color: #fff; font-weight: 700; font-size: 14px; padding: 0 0 11px; width: 100%;
}
.pj2-step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 21px; height: 21px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(235, 184, 65, .16); border: 1px solid rgba(235, 184, 65, .55);
  color: var(--accent); font-size: 11.5px; font-weight: 800;
}
.pj2-unit-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.pj2-unit-card { margin: 0; cursor: pointer; }
.pj2-unit-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pj2-uc-body {
  display: flex; flex-direction: column; gap: 3px; height: 100%;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px;
  padding: 12px 13px; transition: border-color .18s ease, background .18s ease;
}
.pj2-uc-body b { color: #fff; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.pj2-uc-body em { color: #9aa0b6; font-style: normal; font-size: 11.5px; }
.pj2-uc-body i { color: #e6d9b8; font-style: normal; font-size: 12px; font-weight: 700; margin-top: 2px; }
.pj2-uc-body i.pj2-uc-por { color: #8b91a8; font-weight: 500; }
.pj2-unit-card:hover .pj2-uc-body { border-color: rgba(235, 184, 65, .55); }
.pj2-unit-card input:checked + .pj2-uc-body {
  border-color: var(--accent); background: rgba(235, 184, 65, .13);
  box-shadow: inset 0 0 0 1px rgba(235, 184, 65, .45);
}
.pj2-unit-card input:focus-visible + .pj2-uc-body { outline: 2px solid var(--accent); outline-offset: 2px; }
.pj2-unit-card-any { grid-column: 1 / -1; }
.pj2-unit-card-any .pj2-uc-body {
  border-style: dashed; align-items: center; justify-content: center;
  text-align: center; padding: 11px 13px;
}

/* ---------- sticky bar: price chip ---------- */
.pj2-sticky-price {
  color: var(--accent); font-weight: 700; font-size: 13.5px; white-space: nowrap;
  border: 1px solid rgba(235, 184, 65, .4); border-radius: 999px; padding: 5px 12px;
}

@media (max-width: 980px) {
  .pj2-quick-grid { grid-template-columns: 1fr; gap: 32px; }
  .pj2-unit-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .pj2-quick { padding: 56px 0 60px; }
  .pj2-hero-price { padding: 8px 16px; gap: 8px; }
  .pj2-hp-n { font-size: 15.5px; }
  .pj2-hp-o { font-size: 12px; padding-left: 8px; }
  .pj2-hero-ctas { flex-direction: column; align-items: stretch; padding: 0 6px; }
  .pj2-hero-ctas .pj2-cta, .pj2-hero-ctas .pj2-btn-ghost { justify-content: center; width: 100%; }
  .pj2-unit-chips { grid-template-columns: repeat(2, 1fr); }
  .pj2-unit-cards { grid-template-columns: 1fr 1fr; }
  .pj2-mini-fields { grid-template-columns: 1fr; }
  .pj2-mini { padding: 22px 18px 18px; }
  .pj2-mid-in { flex-direction: column; align-items: flex-start; }
  .pj2-mid-actions { width: 100%; }
  .pj2-mid-actions .pj2-cta, .pj2-mid-actions .pj2-btn-ghost { flex: 1 1 auto; justify-content: center; }
  .pj2-sticky-price { display: none; }
  .pj2-mini input, .pj2-mini textarea { padding: 15px 13px; font-size: 16px; }
}

/* ============================================================
   PROMOTION BAND (ready-to-move-in projects; Rana 2026-10-22)
   Renders only when the dict carries pg.promo.
   ============================================================ */
.pj2-promo {
  padding: 54px 0;
  background:
    radial-gradient(900px 380px at 82% 10%, rgba(235, 184, 65, .16), transparent 62%),
    linear-gradient(180deg, #0b0d1c, #0f1226);
  border-bottom: 1px solid rgba(235, 184, 65, .3);
}
.pj2-promo-in { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.pj2-promo-badge {
  display: inline-block; margin: 0 0 14px; padding: 7px 15px;
  border: 1px solid rgba(235, 184, 65, .55); border-radius: 999px;
  background: rgba(235, 184, 65, .1); color: var(--accent);
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.pj2-promo-title {
  color: #fff; font-size: clamp(23px, 2.6vw, 33px); font-weight: 800;
  line-height: 1.16; margin: 0 0 12px; max-width: 780px;
}
.pj2-promo-lead { color: #c3c8da; font-size: 15px; line-height: 1.65; margin: 0 0 18px; max-width: 760px; }
.pj2-promo-points {
  list-style: none; margin: 0 0 14px; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; max-width: 720px;
}
.pj2-promo-points li {
  color: #e3e6f2; font-size: 14px; padding-left: 24px; position: relative; line-height: 1.45;
}
.pj2-promo-points li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.pj2-promo-note { color: #8b91a8; font-size: 12.5px; margin: 0; max-width: 680px; }
.pj2-promo-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.pj2-promo-actions .pj2-cta, .pj2-promo-actions .pj2-btn-ghost { justify-content: center; white-space: nowrap; }

@media (max-width: 900px) {
  .pj2-promo-in { grid-template-columns: 1fr; gap: 24px; }
  .pj2-promo-points { grid-template-columns: 1fr; }
  .pj2-promo-actions { flex-direction: row; flex-wrap: wrap; }
  .pj2-promo-actions .pj2-cta, .pj2-promo-actions .pj2-btn-ghost { flex: 1 1 auto; }
}
@media (max-width: 700px) {
  .pj2-promo { padding: 42px 0; }
  .pj2-promo-actions { flex-direction: column; }
}

/* ---- dict-driven system explainer film (Estuaria parking demo, 2026-10-23) ---- */
.pj2-explain-video { max-width: 900px; margin: 34px auto 0; }
.pj2-explainer-btn {
  position: relative; display: block; width: 100%; padding: 0;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px;
  overflow: hidden; background: #0b0d1c; cursor: pointer;
}
.pj2-explainer-btn img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pj2-explainer-btn:hover .pj2-upd-ic, .pj2-explainer-btn:focus-visible .pj2-upd-ic { transform: translate(-50%, -50%) scale(1.1); }
.pj2-explain-cap { margin-top: 12px; color: #8b91a8; font-size: 13.5px; line-height: 1.5; text-align: center; }

/* ---- SOLD unit type (Joe 2026-10-23: show the sold penthouse, clearly marked) ---- */
.pj2-type.is-sold { position: relative; }
.pj2-sold-banner {
  display: block; margin: -26px -28px 18px; padding: 10px 12px;
  background: linear-gradient(90deg, #b3261e, #8c1d17); color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; text-align: center; border-radius: 13px 13px 0 0;
}
.pj2-type.is-sold .pj2-price-por { color: #ff8a7d; font-weight: 700; }
.pj2-unit-chip.is-sold, .pj2-unit-card.is-sold { cursor: not-allowed; }
.pj2-unit-chip.is-sold > span, .pj2-unit-card.is-sold .pj2-uc-body { opacity: .55; border-style: dashed; }
.pj2-unit-card.is-sold:hover .pj2-uc-body { border-color: rgba(255, 255, 255, .18); }
.pj2-chip-sold, .pj2-uc-sold {
  color: #ff8a7d; font-style: normal; font-weight: 700;
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
}

/* payment grid without the Thai-quota card (Zenith 2: one neutral plan) */
.pj2-pay-grid.pay-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 700px) {
  .pj2-pay-grid.pay-2 { grid-template-columns: 1fr; }
  .pj2-sold-banner { margin: -20px -16px 14px; }
}

/* promotion PDF download (Estuaria one-pager, 2026-10-23) */
.pj2-promo-pdf {
  display: block; text-align: center; font-size: 13px; font-weight: 700;
  color: #EBB841; text-decoration: underline; text-underline-offset: 3px;
}
.pj2-promo-pdf:hover { color: #fff; }
