/* ==========================================================================
   Al Jumum Interface — project page (builds on style.css)
   ========================================================================== */
:root {
  --p1: #efd6ab;   /* phase colours on the dark plan: lightest = first */
  --p2: #cf9f62;
  --p3: #a96d48;
  --p4: #8d7e70;
  --pg: #7d8566;   /* green spaces */
  --ps: #5c4a3f;   /* support services */
}

/* ---------------------------------------------------------------- hero */
.jh { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--espresso); color: var(--cream-text); isolation: isolate; }
.jh__media { position: absolute; inset: -4% 0; will-change: transform; }
.jh__media .hero__poster { animation: jhIn 2.6s var(--spring) both; }
.jh__shade { pointer-events: none; }
.jh .daybar { z-index: 3; }
@keyframes jhIn { from { transform: scale(1.12); filter: brightness(.6); } to { transform: scale(1); filter: none; } }
.jh__shade { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(18, 12, 9, .8), rgba(18, 12, 9, .05) 55%, rgba(18, 12, 9, .35)),
    linear-gradient(to left, rgba(18, 12, 9, .45), rgba(18, 12, 9, 0) 55%); }
html[dir="ltr"] .jh__shade { background: linear-gradient(to top, rgba(18, 12, 9, .8), rgba(18, 12, 9, .05) 55%, rgba(18, 12, 9, .35)),
    linear-gradient(to right, rgba(18, 12, 9, .45), rgba(18, 12, 9, 0) 55%); }
main > section.jh > .jh__content { position: absolute; z-index: 2; inset-inline: 0; bottom: clamp(90px, 14vh, 150px); will-change: transform, opacity; }
.jh__back { display: flex; width: max-content; align-items: center; gap: 10px; font-size: 14px; color: rgba(239, 225, 202, .75); margin-bottom: 26px; transition: color .3s; }
.jh__back:hover { color: var(--sand); }
.jh__back i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(246, 238, 226, .4); position: relative; }
.jh__back i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor; transform: translateX(1px) rotate(45deg); }
html[dir="rtl"] .jh__back i::after { transform: translateX(-1px) rotate(45deg); }
html[dir="ltr"] .jh__back i::after { transform: translateX(1px) rotate(-135deg); border-inline-end: 0; border-inline-start: 1.5px solid currentColor; }
.jh__title { font-size: clamp(50px, 8.6vw, 136px); font-weight: 200; line-height: 1.1; letter-spacing: -.015em; text-shadow: 0 10px 50px rgba(20, 14, 10, .4); }
.jh__sub { margin-top: 14px; font-size: clamp(18px, 1.9vw, 25px); font-weight: 300; color: rgba(239, 225, 202, .82); }
.jh__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.is-ready .jh__content .reveal-hero:nth-child(2) { transition-delay: .1s; }
.is-ready .jh__content .reveal-hero:nth-child(3) { transition-delay: .2s; }
.is-ready .jh__content .reveal-hero:nth-child(4) { transition-delay: .32s; }
.is-ready .jh__content .reveal-hero:nth-child(5) { transition-delay: .44s; }

/* numbers that carry a sign (+ / %) keep their position in the column */
.num-ltr { unicode-bidi: isolate; }

/* ---------------------------------------------------------------- story + numbers */
.jstory { padding-block: clamp(100px, 13vw, 170px) clamp(80px, 10vw, 130px); overflow: hidden; }
.jstory__statement { font-size: clamp(30px, 4.4vw, 60px); font-weight: 300; line-height: 1.3; color: var(--brown); max-width: 1050px; text-wrap: balance; }
.jstory__statement .w { display: inline-block; opacity: .12; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.jstory__statement.in .w { opacity: 1; transform: none; }
.jstory__text { margin-top: 30px; max-width: 820px; }
.jnums { margin-top: clamp(60px, 8vw, 100px); display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
.jnum { padding: 30px 0 0; display: grid; align-content: start; gap: 10px; }
.jnum + .jnum { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(14px, 2vw, 28px); }
.jnum dt { font-size: 14.5px; color: var(--muted); }
.jnum dd { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; color: var(--brown); }
.jnum dd b { font-size: clamp(30px, 3vw, 46px); font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums; }
.jnum dd small { font-size: 15px; color: var(--tan); }

/* ---------------------------------------------------------------- interactive plan */
.jplan { background: var(--espresso); color: var(--cream-text); padding-block: clamp(90px, 11vw, 150px); overflow: hidden; }
.jplan .h2 { color: var(--cream-text); }
.jplan .lead { color: rgba(239, 225, 202, .66); margin-top: 16px; max-width: 560px; }
.jplan__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-light); background: rgba(246, 238, 226, .03); color: rgba(239, 225, 202, .78); font: inherit; font-size: 14px;
  transition: background .4s var(--spring), color .4s, border-color .4s; }
.chip:hover { border-color: rgba(237, 216, 186, .45); color: var(--cream-text); }
.chip.is-active { background: var(--sand); color: var(--brown); border-color: var(--sand); }
.sw { width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg); flex: none; }
.sw.ph1 { background: var(--p1); } .sw.ph2 { background: var(--p2); } .sw.ph3 { background: var(--p3); } .sw.ph4 { background: var(--p4); }
.sw.pg { background: var(--pg); } .sw.ps { background: var(--ps); }

.jplan__body { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.plan { position: relative; padding: clamp(46px, 5vw, 64px) clamp(14px, 2.4vw, 34px) clamp(20px, 3vw, 34px);
  border-radius: 26px; background: radial-gradient(120% 90% at 50% 40%, #3a2b22, #241a15); border: 1px solid var(--line-light); direction: ltr; }
.plan__svg { display: block; width: 100%; height: auto; overflow: visible; }
.plan__road { position: absolute; top: 16px; left: 8%; right: 34%; height: 22px; display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; letter-spacing: .06em; color: rgba(237, 216, 186, .6); }
.plan__road::before, .plan__road::after { content: ""; flex: 1; height: 0; border-top: 1px dashed rgba(237, 216, 186, .35); }
html[lang="en"] .plan__road { letter-spacing: .16em; text-transform: uppercase; font-size: 11px; }
.plan__compass { position: absolute; top: 14px; right: 18px; display: grid; justify-items: center; gap: 2px; font-size: 11px; font-weight: 700; color: rgba(237, 216, 186, .6); }
.plan__compass i { width: 0; height: 0; border-inline: 5px solid transparent; border-bottom: 12px solid rgba(237, 216, 186, .7); }

.site { fill: #1d1511; stroke: rgba(237, 216, 186, .16); stroke-width: 2; }
.zone { fill: var(--zc); stroke: #241a15; stroke-width: 3; stroke-linejoin: round; cursor: pointer;
  transition: fill .45s var(--spring), opacity .45s var(--spring), filter .45s; outline: none; }
.zone.ph1 { --zc: var(--p1); } .zone.ph2 { --zc: var(--p2); } .zone.ph3 { --zc: var(--p3); } .zone.ph4 { --zc: var(--p4); }
.zone.is-service { --zc: var(--ps); } .zone.is-green { --zc: var(--pg); }
.plan.is-filtered .zone:not(.is-match) { opacity: .16; }
.plan .zone.is-hot { fill: #fff3df; filter: drop-shadow(0 0 18px rgba(237, 216, 186, .55)); opacity: 1; }
.zone:focus-visible { fill: #fff3df; }
/* zones draw in one after another when the plan comes into view */
.plan .zone { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.94); }
.plan.in .zone { opacity: 1; transform: none; transition: opacity .7s var(--spring) var(--d, 0s), transform .9s var(--spring) var(--d, 0s), fill .45s var(--spring), filter .45s; }
.plan.in.is-filtered .zone:not(.is-match) { opacity: .16; transition-delay: 0s; }

.zcard { position: relative; border-radius: 26px; padding: 30px 28px; background: rgba(246, 238, 226, .045); border: 1px solid var(--line-light);
  display: grid; align-content: center; min-height: 300px; overflow: hidden; }
.zcard::before { content: ""; position: absolute; width: 220px; height: 220px; inset-inline-end: -90px; top: -90px; border: 1px solid rgba(237, 216, 186, .12);
  transform: rotate(45deg); border-radius: 12px; }
.zcard__kicker { font-size: 13px; letter-spacing: .08em; color: var(--tan); display: flex; align-items: center; gap: 10px; }
html[lang="en"] .zcard__kicker { letter-spacing: .18em; text-transform: uppercase; font-size: 11.5px; }
.zsplit { margin-top: 22px; display: grid; gap: 18px; }
.zsplit div { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; }
.zsplit b { grid-row: span 2; font-size: 46px; font-weight: 200; line-height: 1; color: var(--sand); }
.zsplit span { font-size: 15px; color: var(--cream-text); }
.zsplit em { font-style: normal; font-size: 13px; color: rgba(239, 225, 202, .55); text-align: start; }
html[dir="rtl"] .zsplit em { text-align: right; }
.zbar { margin-top: 22px; height: 6px; border-radius: 6px; background: rgba(246, 238, 226, .12); overflow: hidden; }
.zbar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tan), var(--sand)); transform-origin: 100% 50%; transform: scaleX(0); transition: transform 1.6s var(--spring) .3s; }
html[dir="ltr"] .zbar i { transform-origin: 0 50%; }
.zcard.in .zbar i { transform: none; }
.zcard__hint { margin-top: 22px; font-size: 14px; color: rgba(239, 225, 202, .5); display: flex; align-items: center; gap: 10px; }
.zcard__hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sand); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }
.zcard__zone { animation: zIn .55s var(--spring); }
@keyframes zIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.zcard__name { margin-top: 14px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 400; line-height: 1.35; color: var(--cream-text); text-wrap: balance; }
.zcard__area { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; color: var(--sand); }
.zcard__area b { font-size: 52px; font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums; }
.zcard__area small { font-size: 15px; color: var(--tan); }
.zcard__note { margin-top: 12px; font-size: 13px; color: rgba(239, 225, 202, .45); }

.zlist { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 22px; }
.zlist li { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--line-light); font-size: 14.5px;
  color: rgba(239, 225, 202, .72); cursor: pointer; transition: color .3s, opacity .4s; }
.zlist li:hover, .zlist li.is-hot { color: var(--cream-text); }
.zlist li.is-dim { opacity: .3; }
.zlist li .sw { transition: transform .4s var(--spring); }
.zlist li.is-hot .sw { transform: rotate(45deg) scale(1.4); }

/* ---------------------------------------------------------------- phases timeline */
.jphases { padding-block: clamp(100px, 12vw, 160px); overflow: hidden; }
/* phases: four image panels, one open at a time, each in its masterplan colour */
.phx { display: flex; gap: 12px; height: clamp(460px, 44vw, 600px); }
.phx.reveal { transform: none; }
.phx__panel { --pc: var(--p1); position: relative; isolation: isolate; overflow: hidden; flex: 1 1 0; min-width: 0; border-radius: 22px; cursor: pointer; outline: none;
  color: var(--cream-text); transition: flex-grow 1s var(--spring); }
.phx__panel.is-open { flex-grow: 3.4; cursor: default; }
.phx__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--spring), filter 1s; filter: saturate(.8) brightness(.85); }
.phx__panel.is-open .phx__img { transform: scale(1); filter: none; }
.phx__panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18, 12, 9, .92) 0%, rgba(18, 12, 9, .45) 42%, rgba(18, 12, 9, .1) 70%);
  transition: background .8s; }
.phx__panel:not(.is-open)::after { background: linear-gradient(to top, rgba(18, 12, 9, .88), rgba(18, 12, 9, .35)); }
.phx__bar { position: absolute; top: 0; inset-inline: 0; height: 4px; background: var(--pc); transform-origin: 100% 50%; }
html[dir="ltr"] .phx__bar { transform-origin: 0 50%; }
.phx.is-auto .phx__panel.is-open .phx__bar { animation: phxBar 6s linear forwards; }
@keyframes phxBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.phx__body { position: absolute; inset-inline: 0; bottom: 0; padding: clamp(20px, 2.4vw, 34px); }
.phx__no { display: block; font-size: clamp(44px, 4vw, 60px); font-weight: 200; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--pc);
  direction: ltr; text-align: right; transition: font-size .8s var(--spring); }
html[dir="ltr"] .phx__no { text-align: left; }
.phx__panel.is-open .phx__no { font-size: clamp(70px, 7vw, 110px); }
.phx__body h3 { margin-top: 10px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; line-height: 1.35; transition: font-size .8s var(--spring); }
.phx__panel.is-open .phx__body h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; }
.phx__tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(14px);
  transition: opacity .5s, transform .8s var(--spring), max-height .8s var(--spring), margin .8s var(--spring); }
.phx__panel.is-open .phx__tags { max-height: 220px; opacity: 1; transform: none; margin-top: 18px; transition-delay: .35s; }
.phx__tags li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--cream-text); white-space: nowrap;
  background: rgba(246, 238, 226, .1); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(237, 216, 186, .22); }
.phx__tags li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--pc); flex: none; }
.phx__panel:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }

/* ---------------------------------------------------------------- location */
.jloc { position: relative; padding-block: clamp(110px, 14vw, 190px); color: var(--cream-text); overflow: hidden; background: var(--espresso); }
.jloc__media { position: absolute; inset: 0; overflow: hidden; }
.jloc__media img { width: 100%; height: 124%; object-fit: cover; }
.jloc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 15, 11, .92), rgba(22, 15, 11, .6)); }
.jloc__inner { position: relative; z-index: 1; }
.jdist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.jdist__item { padding: 28px 24px; border-radius: var(--r); background: rgba(43, 31, 25, .55); backdrop-filter: blur(14px); border: 1px solid var(--line-light); display: grid; gap: 8px; }
.jdist__item b { font-size: clamp(44px, 5vw, 70px); font-weight: 200; line-height: 1; color: var(--sand); justify-self: start; }
.jdist__item span { font-size: 15px; color: rgba(239, 225, 202, .78); }

/* ---------------------------------------------------------------- invest + downloads */
.jinvest { background: var(--espresso); color: var(--cream-text); padding-block: clamp(110px, 13vw, 180px); text-align: center; overflow: hidden; }
.jinvest .h2 { color: var(--cream-text); }
.jinvest .lead { color: rgba(239, 225, 202, .7); max-width: 640px; margin: 18px auto 0; }
.jinvest .eyebrow { justify-content: center; }
.jinvest__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .jnums { grid-template-columns: repeat(3, 1fr); row-gap: 10px; }
  .jnum:nth-child(4) { border-inline-start: 0; padding-inline-start: 0; }
  .jplan__body { grid-template-columns: 1fr; }
  .zcard { min-height: 0; }
}
@media (max-width: 900px) {
  .jdist { grid-template-columns: 1fr 1fr; }
  .phx { flex-direction: column; height: auto; gap: 10px; }
  .phx__panel { flex: none; height: 104px; transition: height .9s var(--spring); }
  .phx__panel.is-open { height: 480px; }
  .phx__no { font-size: 34px; display: inline-block; margin-inline-end: 12px; }
  .phx__panel.is-open .phx__no { font-size: 64px; display: block; }
  .phx__body h3 { display: inline-block; margin-top: 0; }
  .phx__panel.is-open .phx__body h3 { display: block; margin-top: 10px; }
  .plan__road { right: 22%; left: 4%; font-size: 11px; }
}
@media (max-width: 560px) {
  .jnums { grid-template-columns: 1fr 1fr; }
  .jnum:nth-child(n) { border-inline-start: 0; padding-inline-start: 0; }
  .jnum:nth-child(even) { border-inline-start: 1px solid var(--line); padding-inline-start: 16px; }
  .jnum:last-child { grid-column: 1 / -1; }
  .jh__actions .btn { flex: 1; padding-inline: 18px; }
  .jh__actions .btn__ico { display: none; }
  main > section.jh > .jh__content { bottom: 172px; }
  .jh__shade { background: linear-gradient(to top, rgba(18, 12, 9, .9), rgba(18, 12, 9, .55) 45%, rgba(18, 12, 9, .15) 75%, rgba(18, 12, 9, .45)); }
  .jh__back { display: none; }
  .plan { padding: 44px 6px 14px; border-radius: 20px; }
  .plan__road { left: 4%; right: 14%; top: 12px; }
  .plan__compass { top: 10px; right: 10px; }
  .zcard { padding: 26px 22px; }
  .zlist { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .zlist li { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .plan .zone { opacity: 1; transform: none; }
  }

/* ---------------------------------------------------------------- request a space from a masterplan zone */
.zcard__rq { margin-top: 24px; display: inline-flex; align-items: center; gap: 12px; padding: 11px 14px 11px 18px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14.5px; font-weight: 500; color: var(--brown); background: var(--sand); transition: background .4s var(--spring), transform .5s var(--spring); }
html[dir="rtl"] .zcard__rq { padding: 11px 18px 11px 14px; }
.zcard__rq:hover { background: #fff; transform: translateY(-2px); }
.zcard__rq i { width: 26px; height: 26px; border-radius: 50%; background: rgba(61, 45, 36, .12); position: relative; }
.zcard__rq i::before { content: ""; position: absolute; inset: 0; margin: auto; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translateX(-1px) rotate(45deg); }
html[dir="rtl"] .zcard__rq i::before { transform: translateX(1px) rotate(-135deg); }

/* ---------------------------------------------------------------- project progress: a loading counter + milestones */
.jprog { position: relative; overflow: hidden; color: var(--cream-text); padding-block: clamp(100px, 12vw, 160px);
  background: radial-gradient(60% 70% at 80% 10%, rgba(185, 153, 121, .18), transparent 60%), #1b130f; }
/* a faint survey grid, like a site drawing */
.jprog::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(237, 216, 186, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(237, 216, 186, .05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); }
.jprog .wrap { position: relative; }
.jprog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(34px, 4vw, 54px); }
.jprog__head .head { margin: 0; }
.jprog__live { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; color: var(--sand);
  background: rgba(246, 238, 226, .06); box-shadow: inset 0 0 0 1px rgba(237, 216, 186, .16); }
.jprog__live i { width: 8px; height: 8px; border-radius: 50%; background: #e6c48d; box-shadow: 0 0 0 0 rgba(230, 196, 141, .6); animation: livePulse 1.8s ease-out infinite; }
@keyframes livePulse { to { box-shadow: 0 0 0 10px rgba(230, 196, 141, 0); } }

.jprog__meter { border-radius: 30px; padding: clamp(26px, 3.4vw, 48px); background: rgba(246, 238, 226, .045);
  box-shadow: inset 0 0 0 1px rgba(237, 216, 186, .12), 0 40px 80px -50px rgba(0, 0, 0, .8); }
.jprog__meter.reveal { transform: none; }
.jprog__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 20px clamp(24px, 4vw, 60px); }
.jprog__pct { display: flex; align-items: flex-start; line-height: .85; direction: ltr; }
.jprog__pct b { font-size: clamp(96px, 12vw, 176px); font-weight: 200; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fbecc9, #e6c48d 55%, #b98a52); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jprog__pct span { font-size: clamp(30px, 3.4vw, 50px); font-weight: 300; color: #e6c48d; margin-top: .2em; margin-left: 6px; }
/* phones clipped the gradient digits (tight line box + negative tracking): give the glyphs room (2026-10-18) */
.jprog__pct b { display: inline-block; line-height: 1.08; padding: .02em .06em .04em .02em; margin-block: -.08em; }
.jprog__label { font-size: clamp(18px, 1.7vw, 24px); font-weight: 400; color: var(--cream-text); }
.jprog__now { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 15px; color: rgba(239, 225, 202, .62); }
.jprog__now i { width: 7px; height: 7px; border-radius: 50%; background: #e6c48d; align-self: center; animation: livePulse 1.8s ease-out infinite; }
.jprog__now b { font-weight: 500; color: var(--sand); }
.jprog__count { text-align: center; padding: 16px 22px; border-radius: 20px; background: rgba(246, 238, 226, .05); box-shadow: inset 0 0 0 1px rgba(237, 216, 186, .14); }
.jprog__count b { display: block; font-size: clamp(36px, 3.6vw, 54px); font-weight: 200; line-height: 1; color: var(--sand); font-variant-numeric: tabular-nums; }
.jprog__count span { display: block; margin-top: 6px; max-width: 16ch; font-size: 13px; line-height: 1.5; color: rgba(239, 225, 202, .6); }

.jprog__track { position: relative; height: 16px; margin-top: clamp(30px, 3.6vw, 46px); border-radius: 999px; background: rgba(246, 238, 226, .07);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.jprog__fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: inherit; overflow: hidden;
  background: linear-gradient(to left, #f6dfb2, #d9b07a 60%, #a8784a); box-shadow: 0 0 24px rgba(230, 196, 141, .35); }
html[dir="ltr"] .jprog__fill { background: linear-gradient(to right, #a8784a, #d9b07a 40%, #f6dfb2); }
/* moving stripes while it "loads", and a soft light that keeps running once loaded */
.jprog__fill::before { content: ""; position: absolute; inset: 0; opacity: .35;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .45) 0 10px, transparent 10px 22px); background-size: 31px 31px; animation: stripes .9s linear infinite; }
.jprog__fill::after { content: ""; position: absolute; inset-block: 0; width: 120px; left: -120px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); animation: sheen 2.8s ease-in-out infinite; }
.jprog__meter.is-loaded .jprog__fill::before { opacity: .16; }
@keyframes stripes { to { background-position: 31px 0; } }
@keyframes sheen { 0% { left: -120px; } 70%, 100% { left: 100%; } }
html[dir="rtl"] .jprog__fill::after { left: auto; right: -120px; animation-name: sheenRtl; }
@keyframes sheenRtl { 0% { right: -120px; } 70%, 100% { right: 100%; } }
.jprog__ticks { position: absolute; inset: 0; pointer-events: none; }
.jprog__tick { position: absolute; top: 50%; inset-inline-start: var(--at); width: 12px; height: 12px; margin: -6px 0 0; margin-inline-start: -6px; transform: rotate(45deg);
  border-radius: 2px; background: #1b130f; border: 1.5px solid rgba(237, 216, 186, .35); transition: background .3s, border-color .3s, box-shadow .4s; }
.jprog__tick.is-passed { background: #fff4dc; border-color: #fff4dc; }
.jprog__tick.is-now { animation: tickNow 1.6s ease-in-out infinite; }
@keyframes tickNow { 0% { box-shadow: 0 0 0 0 rgba(230, 196, 141, .7); } 100% { box-shadow: 0 0 0 12px rgba(230, 196, 141, 0); } }

.ms-list { margin-top: clamp(30px, 3.6vw, 46px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ms { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 172px; padding: 20px 20px 18px; border-radius: 20px;
  background: rgba(246, 238, 226, .035); box-shadow: inset 0 0 0 1px rgba(237, 216, 186, .1); transition: background .5s, box-shadow .5s; }
.ms__no { position: absolute; top: 18px; inset-inline-end: 18px; font-size: 12px; letter-spacing: .14em; color: rgba(237, 216, 186, .35); }
.ms__st { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.ms__st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.ms__t { font-size: 15.5px; line-height: 1.6; color: rgba(239, 225, 202, .86); }
.ms__d { margin-top: auto; font-size: 13px; color: var(--tan); }
.ms.is-done .ms__st { color: #1b130f; background: var(--sand); }
.ms.is-done .ms__st::before { width: 9px; height: 5px; border-radius: 0; border-left: 1.6px solid #1b130f; border-bottom: 1.6px solid #1b130f; transform: rotate(-45deg) translate(1px, -1px); }
.ms.is-now { background: linear-gradient(160deg, rgba(230, 196, 141, .2), rgba(230, 196, 141, .04)); box-shadow: inset 0 0 0 1px rgba(230, 196, 141, .6), 0 20px 50px -30px rgba(230, 196, 141, .6); }
.ms.is-now .ms__st { color: #e6c48d; background: rgba(230, 196, 141, .14); box-shadow: inset 0 0 0 1px rgba(230, 196, 141, .45); }
.ms.is-now .ms__st::before { background: #e6c48d; animation: livePulse 1.8s ease-out infinite; }
.ms.is-now .ms__t { color: var(--cream-text); }
.ms.is-next .ms__st { color: rgba(239, 225, 202, .55); box-shadow: inset 0 0 0 1px rgba(237, 216, 186, .2); }
.ms.is-next .ms__st::before { border: 1.5px solid rgba(237, 216, 186, .5); width: 6px; height: 6px; }
.ms.is-next .ms__t { color: rgba(239, 225, 202, .6); }
/* a key milestone (Ministry of Energy approval): a gold card twice as wide, a seal and a slow sheen */
.ms-list:has(.is-key) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ms.is-key { grid-column: span 2; overflow: hidden; isolation: isolate; padding: 24px 26px 22px; padding-inline-end: 130px;
  background: radial-gradient(90% 120% at 100% 0%, rgba(255, 248, 232, .55), transparent 60%), linear-gradient(135deg, #f0d9aa 0%, #d6ad72 55%, #b0804a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 242, 214, .7), 0 26px 60px -26px rgba(230, 196, 141, .75); }
html[dir="rtl"] .ms.is-key { background: radial-gradient(90% 120% at 0% 0%, rgba(255, 248, 232, .55), transparent 60%), linear-gradient(225deg, #f0d9aa 0%, #d6ad72 55%, #b0804a 100%); }
.ms.is-key::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%) -200% 0 / 200% 100% no-repeat; animation: keySheen 6s ease-in-out infinite; }
@keyframes keySheen { 0%, 55% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.ms.is-key .ms__no { display: none; }
.ms__flag { position: absolute; top: 20px; inset-inline-end: 22px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: #4a2f1c; }
.ms__flag::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: #4a2f1c; }
.ms.is-key .ms__st { color: #f3dfb8; background: #1b130f; }
.ms.is-key .ms__st::before { border-color: #f3dfb8; }
.ms.is-key .ms__t { font-size: clamp(18px, 1.55vw, 22px); font-weight: 700; line-height: 1.5; color: #1b130f; }
.ms.is-key .ms__d { color: rgba(27, 19, 15, .7); font-weight: 500; }
.ms__seal { position: absolute; bottom: 18px; inset-inline-end: 22px; width: 92px; height: 92px; fill: none; stroke: #4a2f1c; stroke-width: 1.6; stroke-linejoin: round; }
.ms__seal-ring { fill: rgba(74, 47, 28, .08); }
.ms__seal-tick { stroke-width: 3; stroke-linecap: round; stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset 1s .5s cubic-bezier(.65, 0, .35, 1); }
.ms.is-key.in .ms__seal-tick, .ms.is-key:not(.reveal) .ms__seal-tick { stroke-dashoffset: 0; }

/* ---------------------------------------------------------------- request dialog (investment memorandum / leasing) */
html.rq-open { overflow: hidden; }
.rq { width: min(660px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.rq::backdrop { background: rgba(18, 12, 9, .62); backdrop-filter: blur(6px); }
.rq[open] .rq__panel { animation: rqIn .6s var(--spring); }
@keyframes rqIn { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.rq__panel { position: relative; max-height: calc(100dvh - 24px); overflow: auto; border-radius: 28px; padding: clamp(26px, 4vw, 44px); background: var(--ivory);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); }
.rq__x { position: absolute; top: 16px; inset-inline-end: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer; background: var(--cream);
  transition: background .3s, transform .5s var(--spring); }
.rq__x:hover { background: var(--sand); transform: rotate(90deg); }
.rq__x::before, .rq__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; margin: -.8px 0 0 -7px; background: var(--brown); transform: rotate(45deg); }
.rq__x::after { transform: rotate(-45deg); }
.rq__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--tan); }
.rq__kicker i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--tan); }
.rq__title { margin-top: 10px; padding-inline-end: 40px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 400; line-height: 1.3; color: var(--brown); }
.rq__lead { margin-top: 10px; font-size: 15.5px; line-height: 1.8; color: var(--muted); }
.rq__form { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.rq__form .full, .rq__form .needs { grid-column: 1 / -1; }
.rq .fl input, .rq .fl textarea { background: #fff; }
.rq .fl textarea { min-height: 96px; }
.rq .need span { background: #fff; }
.rq__form .btn { margin-top: 4px; }
.rq__note { font-size: 12.5px; color: var(--muted); text-align: center; }
.rq .form__msg { min-height: 0; }
.rq__ok { display: grid; justify-items: center; text-align: center; padding-block: 20px 6px; }
.rq__ok[hidden], .rq__form-wrap[hidden] { display: none; }
.rq__ok .rq__title { padding: 0; margin-top: 18px; }
.rq__check { position: relative; width: 74px; height: 74px; border-radius: 50%; background: var(--brown); animation: rqIn .6s var(--spring); }
.rq__check::after { content: ""; position: absolute; left: 50%; top: 46%; width: 26px; height: 13px; border-left: 2.5px solid var(--sand); border-bottom: 2.5px solid var(--sand);
  transform: translate(-50%, -50%) rotate(-45deg); }
.rq__mail { margin-top: 14px; font-size: 14.5px; color: var(--mocha); border-bottom: 1px solid currentColor; }
.rq__done { margin-top: 22px; }

@media (max-width: 1100px) {
  .ms-list, .ms-list:has(.is-key) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms.is-key { grid-column: auto; padding-inline-end: 92px; }
  .ms__seal { width: 64px; height: 64px; }
  .jprog__top { grid-template-columns: auto minmax(0, 1fr); }
  .jprog__count { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: center; gap: 12px; }
  .jprog__count span { max-width: none; }
}
@media (max-width: 600px) {
  .jprog__top { grid-template-columns: 1fr; }
  html[dir="rtl"] .jprog__pct { justify-content: flex-end; }
  .ms-list, .ms-list:has(.is-key) { grid-template-columns: 1fr; }
  .ms { min-height: 0; }
  .ms.is-key { padding-top: 52px; }
  .rq__form { grid-template-columns: 1fr; }
  .rq__panel { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .jprog__fill::before, .jprog__fill::after, .jprog__tick, .ms__st::before, .jprog__live i, .jprog__now i, .ms.is-key::after { animation: none !important; }
  .ms__seal-tick { stroke-dashoffset: 0; transition: none; }
}

/* 2026-10-18: station heading in gold, per-milestone progress, "contracted" note, phase-one stars */
.jprog__station { color: transparent !important; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(100deg, #c49460, #f3dcb2 40%, #e6c48d 60%, #b98a52); }
.jprog__sub { margin-top: 10px; font-size: clamp(18px, 1.6vw, 24px); font-weight: 300; color: rgba(239, 225, 202, .78); }
.ms__prog { height: 6px; border-radius: 6px; background: rgba(230, 196, 141, .18); overflow: hidden; }
.ms__prog i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, #e6c48d, #fff1d6); }
html[dir="rtl"] .ms__prog i { margin-inline-start: 0; background: linear-gradient(270deg, #e6c48d, #fff1d6); }
.ms__pct { font-size: 13px; color: #e6c48d; } .ms__pct b { font-size: 16px; font-weight: 700; }
.ms__note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #e6c48d; }
.ms__note i { width: 7px; height: 7px; border-radius: 50%; background: #e6c48d; animation: livePulse 1.8s ease-out infinite; }
.phx__tags li.is-star { background: linear-gradient(100deg, #c49460, #e9cd9c); color: #1b130f; font-weight: 700; box-shadow: 0 6px 18px -8px rgba(230, 196, 141, .8); }
.phx__tags li.is-star::before { background: #1b130f; }
/* the last milestone (later phases) runs as one slim bar under the grid */
@media screen and (min-width: 1101px) {
  .ms-list:has(.is-key) .ms:last-child { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; gap: 18px; padding-block: 16px; }
  .ms-list:has(.is-key) .ms:last-child .ms__no { position: static; order: 9; margin-inline-start: auto; }
  .ms-list:has(.is-key) .ms:last-child .ms__d { margin-top: 0; }
}
@media screen and (max-width: 1100px) and (min-width: 601px) { .jnum:nth-child(3n + 1) { border-inline-start: 0; padding-inline-start: 0; } }
@media screen and (max-width: 600px) { .jnum:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; } }

/* link to progress.html */
.jprog__more { display: flex; width: max-content; align-items: center; gap: 12px; margin: 34px auto 0; padding: 13px 24px; border-radius: 99px;
  font-size: 15px; font-weight: 500; color: #1b130f; background: linear-gradient(100deg, #c49460, #e9cd9c); transition: transform .5s var(--spring), box-shadow .4s; }
.jprog__more:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(230, 196, 141, .8); }
.jprog__more i { width: 8px; height: 8px; border-top: 1.6px solid currentColor; border-left: 1.6px solid currentColor; transform: rotate(-45deg); }
html[dir="ltr"] .jprog__more i { transform: rotate(135deg); }

