/* ===========================================================================
   JKG PALM COURT — project page
   Loaded only on project-jkg-palm-court. Builds on style.css tokens.
   =========================================================================== */

.page-jkg section { position: relative; }
.page-jkg .accent { font-style: italic; }

/* ---------- HERO ---------- */
.jk-hero {
    position: relative;
    min-height: min(100svh - var(--header-h), 900px);
    min-height: calc(100vh - var(--header-h));
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: #050705;
    isolation: isolate;
}
.jk-slides { position: absolute; inset: 0; z-index: -3; }
.jk-slide { position: absolute; inset: 0; margin: 0; opacity: 0; clip-path: inset(0 0 0 100%); transition: none; }
.jk-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); filter: saturate(1.05) contrast(1.02); }
.jk-slide.is-active { opacity: 1; clip-path: inset(0 0 0 0); z-index: 2; animation: jkWipe 1.3s cubic-bezier(.77, 0, .18, 1) both; }
.jk-slide.is-active img { animation: jkKen 9s ease-out both; }
.jk-slide.is-leaving { opacity: 1; clip-path: inset(0); z-index: 1; }
.jk-slide.is-leaving img { transform: scale(1.02); transition: transform 1.3s ease, filter 1.3s ease; filter: brightness(.6) blur(2px); }
@keyframes jkWipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes jkKen { from { transform: scale(1.16) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }

/* gold scan line that rides the wipe edge */
.jk-scan {
    position: absolute; top: 0; bottom: 0; left: 100%; width: 2px; z-index: -1;
    background: linear-gradient(180deg, transparent, #FFE7A0 20%, #D4AF37 50%, #FFE7A0 80%, transparent);
    box-shadow: 0 0 22px 4px rgba(241, 198, 74, .55), 0 0 80px 12px rgba(241, 198, 74, .2);
    opacity: 0;
}
.jk-hero.is-wiping .jk-scan { animation: jkScan 1.3s cubic-bezier(.77, 0, .18, 1) both; }
@keyframes jkScan { 0% { left: 100%; opacity: 1; } 92% { opacity: 1; } 100% { left: 0; opacity: 0; } }

.jk-hero-shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(5, 7, 5, .92) 0%, rgba(5, 7, 5, .72) 38%, rgba(5, 7, 5, .15) 70%, rgba(5, 7, 5, .1) 100%),
        linear-gradient(0deg, rgba(5, 7, 5, .95) 0%, rgba(5, 7, 5, 0) 38%),
        linear-gradient(180deg, rgba(5, 7, 5, .55) 0%, rgba(5, 7, 5, 0) 18%);
}
.jk-hero-grid {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(241, 198, 74, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(241, 198, 74, .05) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.jk-hero-inner { position: relative; padding-top: clamp(40px, 7vh, 90px); padding-bottom: 28px; }
.jk-hero-copy { max-width: 640px; }
.jk-hero-copy > * { opacity: 0; transform: translateY(24px); animation: jkUp .9s var(--ease-lux) forwards; }
.jk-hero-copy > :nth-child(1) { animation-delay: .1s; }
.jk-hero-copy > :nth-child(2) { animation-delay: .2s; }
.jk-hero-copy > :nth-child(3) { animation-delay: .28s; }
.jk-hero-copy > :nth-child(4) { animation-delay: .45s; }
.jk-hero-copy > :nth-child(5) { animation-delay: .55s; }
.jk-hero-copy > :nth-child(6) { animation-delay: .65s; }
.jk-hero-copy > :nth-child(7) { animation-delay: .75s; }
@keyframes jkUp { to { opacity: 1; transform: none; } }

.jk-status {
    display: inline-flex; align-items: center; gap: 10px;
    margin: 18px 0 18px;
    padding: 8px 16px 8px 12px; border-radius: 999px;
    background: rgba(31, 138, 95, .16); border: 1px solid rgba(47, 190, 130, .4);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font-size: 12.5px; letter-spacing: .04em; color: #9CEBC6;
}
.jk-dot { width: 8px; height: 8px; border-radius: 50%; background: #2FBE82; box-shadow: 0 0 0 0 rgba(47, 190, 130, .6); animation: ctPulse 1.8s infinite; }

.jk-title { font-size: clamp(54px, 8.4vw, 116px); line-height: .92; letter-spacing: -.035em; font-weight: 400; margin: 0; }
.jk-title-line { display: block; overflow: hidden; padding-bottom: .06em; }
.jk-title-line > span { display: inline-block; transform: translateY(105%); animation: jkRise 1.1s var(--ease-lux) forwards; }
.jk-title-line:nth-child(2) > span { animation-delay: .12s; }
.jk-title em { font-style: italic; font-weight: 300; background: linear-gradient(100deg, #FFE9A8 0%, #D4AF37 40%, #FFF3C8 55%, #C99A2E 75%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: jkShine 6s linear infinite; }
@keyframes jkRise { to { transform: none; } }
@keyframes jkShine { from { background-position: 0% 0; } to { background-position: 220% 0; } }
.jk-sub { font-size: clamp(15.5px, 1.3vw, 18px); line-height: 1.7; color: #C9D0C9; max-width: 540px; margin-top: 20px; }

.jk-price-card {
    display: inline-flex; flex-direction: column; gap: 4px;
    margin-top: 26px; padding: 16px 22px 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(212, 175, 55, .18), rgba(10, 13, 11, .55));
    border: 1px solid rgba(241, 198, 74, .45);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
    position: relative; overflow: hidden;
}
.jk-price-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 240, 190, .22) 50%, transparent 65%); transform: translateX(-120%); animation: jkGlint 5s ease-in-out 1.6s infinite; }
@keyframes jkGlint { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.jk-price-label { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.jk-price { font-family: 'Fraunces', Georgia, serif; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.05; color: #fff; font-weight: 400; }
.jk-rupee { color: var(--gold-bright); margin-right: 2px; }
.jk-price-unit { font-size: .55em; color: var(--gold-bright); }
.jk-onwards { font-family: 'Inter', sans-serif; font-size: .32em; letter-spacing: .2em; text-transform: uppercase; color: #C9D0C9; vertical-align: middle; margin-left: 6px; }
.jk-tnc { font-size: 11.5px; color: #B8BFB8; letter-spacing: .06em; }

.jk-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.jk-hero-ctas .btn .icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.jk-call { display: inline-flex; align-items: center; gap: 10px; padding: 10px 6px; color: #fff; font-size: 14.5px; transition: color .25s; }
.jk-call svg { width: 38px; height: 38px; padding: 10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); fill: none; stroke: var(--gold-bright); stroke-width: 1.8; transition: background .3s, border-color .3s; }
.jk-call:hover { color: var(--gold-bright); }
.jk-call:hover svg { background: rgba(212, 175, 55, .15); border-color: var(--gold); }
.jk-rera { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.jk-rera span { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .04em; padding: 6px 12px; border-radius: 8px; background: rgba(10, 13, 11, .55); border: 1px solid rgba(255, 255, 255, .12); color: #D4DAD4; backdrop-filter: blur(6px); }

.jk-hero-foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 26px; padding-top: 8px; }
.jk-caption { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .75); min-height: 1.2em; transition: opacity .4s; }
.jk-caption.is-swap { opacity: 0; }
.jk-dots { display: flex; gap: 8px; }
.jk-dots button { position: relative; width: 44px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .22); border-radius: 3px; cursor: pointer; overflow: hidden; }
.jk-dots button::before { content: ''; position: absolute; inset: -10px 0; }
.jk-dots button i { position: absolute; inset: 0; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; }
.jk-dots button.is-done i { transform: scaleX(1); }
.jk-dots button.is-on i { animation: jkBar var(--jk-dur, 6s) linear forwards; }
.jk-hero.is-paused .jk-dots button.is-on i { animation-play-state: paused; }
@keyframes jkBar { to { transform: scaleX(1); } }
.jk-scroll-cue { width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .35); display: grid; justify-items: center; padding-top: 8px; }
.jk-scroll-cue span { width: 3px; height: 8px; border-radius: 3px; background: var(--gold-bright); animation: jkCue 1.8s ease-in-out infinite; }
@keyframes jkCue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- STATS ---------- */
.jk-stats-band { padding: 0; border-top: 1px solid rgba(212, 175, 55, .18); border-bottom: 1px solid rgba(255, 255, 255, .06); background: linear-gradient(180deg, #0B100C, #080B09); }
.jk-stats { display: grid; grid-template-columns: repeat(6, 1fr); }
.jk-stat { padding: 30px 18px; border-left: 1px solid rgba(255, 255, 255, .06); display: flex; flex-direction: column; gap: 8px; }
.jk-stat:first-child { border-left: 0; padding-left: 0; }
.jk-stat strong { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(28px, 2.8vw, 40px); line-height: 1; color: #fff; }
.jk-stat span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); line-height: 1.5; }
.jk-stat:nth-child(2) { transition-delay: .06s; } .jk-stat:nth-child(3) { transition-delay: .12s; }
.jk-stat:nth-child(4) { transition-delay: .18s; } .jk-stat:nth-child(5) { transition-delay: .24s; } .jk-stat:nth-child(6) { transition-delay: .3s; }

/* ---------- IMAGE WIPE REVEAL ---------- */
.jk-wipe { clip-path: inset(0 100% 0 0 round 22px); transition: clip-path 1.3s cubic-bezier(.77, 0, .18, 1); }
.reveal.in .jk-wipe, .jk-wipe.in { clip-path: inset(0 0 0 0 round 22px); }
.reveal.in .jk-wipe:nth-child(2) { transition-delay: .35s; }

/* ---------- OVERVIEW ---------- */
.jk-ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.jk-ov-media { position: relative; padding: 0 14% 16% 0; opacity: 1 !important; transform: none !important; }
.jk-frame { border-radius: 22px; overflow: hidden; position: relative; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.jk-frame img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.jk-frame-sm { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; border: 6px solid var(--bg); }
.jk-frame-sm img { height: 100%; }
.jk-badge-float {
    position: absolute; left: -18px; top: 12%;
    padding: 16px 20px; border-radius: 16px;
    background: rgba(10, 13, 11, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, .35);
    display: flex; flex-direction: column; gap: 2px;
    animation: jkFloat 6s ease-in-out infinite;
}
.jk-badge-float strong { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 30px; color: var(--gold-bright); line-height: 1; }
.jk-badge-float span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #C9D0C9; max-width: 130px; line-height: 1.5; }
@keyframes jkFloat { 50% { transform: translateY(-10px); } }
.jk-ov-copy h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.08; margin-bottom: 20px; }
.jk-ov-copy > p { color: var(--text-dim); font-size: 15.5px; line-height: 1.8; margin-bottom: 14px; }
.jk-ticks { list-style: none; display: grid; gap: 12px; margin: 26px 0 30px; }
.jk-ticks li { position: relative; padding-left: 32px; font-size: 14.5px; line-height: 1.55; color: #E3E7E2; }
.jk-ticks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(212, 175, 55, .14); border: 1px solid rgba(212, 175, 55, .5); }
.jk-ticks li::after { content: ''; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: solid var(--gold-bright); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.jk-ov-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- GALLERY MARQUEE ---------- */
.jk-gallery { padding-bottom: clamp(60px, 7vw, 100px); overflow: hidden; }
.jk-marquee { overflow: hidden; padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.jk-marquee + .jk-marquee { margin-top: 14px; }
.jk-track { display: flex; gap: 14px; width: max-content; animation: jkMarq 70s linear infinite; }
.jk-marquee[data-dir="right"] .jk-track { animation-direction: reverse; animation-duration: 80s; }
.jk-marquee:hover .jk-track, .jk-marquee:focus-within .jk-track { animation-play-state: paused; }
@keyframes jkMarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.jk-shot {
    position: relative; flex: none;
    width: clamp(260px, 26vw, 400px); aspect-ratio: 3 / 2;
    border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in;
    background: #111; transform: translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
.jk-shot.jk-tall { width: clamp(170px, 16vw, 250px); }
.jk-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-lux), filter .6s; filter: saturate(.92); }
.jk-shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 236, 170, .25) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease-lux); }
.jk-shot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(241, 198, 74, 0); transition: border-color .4s; z-index: 2; }
.jk-shot:hover img { transform: scale(1.08); filter: saturate(1.1); }
.jk-shot:hover::after { transform: translateX(120%); }
.jk-shot:hover::before { border-color: rgba(241, 198, 74, .6); }

/* ---------- FLOOR PLANS ---------- */
.jk-plans { background: linear-gradient(180deg, #0C110D, #0A0D0B); }
.jk-tabs {
    position: relative; display: flex; gap: 6px; padding: 6px; margin-bottom: 26px;
    border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07);
    overflow-x: auto; scrollbar-width: none;
}
.jk-tabs::-webkit-scrollbar { display: none; }
.jk-tab {
    position: relative; z-index: 1; flex: 1 0 auto;
    display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left;
    padding: 12px 16px; border: 0; border-radius: 13px; background: transparent; color: var(--text-dim);
    cursor: pointer; font: inherit; transition: color .35s;
}
.jk-tab i { grid-row: span 2; width: 12px; height: 12px; border-radius: 4px; background: var(--c); box-shadow: 0 0 0 3px rgba(255, 255, 255, .04); }
.jk-tab b { font-weight: 500; font-size: 14px; color: inherit; white-space: nowrap; }
.jk-tab small { font-size: 11.5px; letter-spacing: .04em; white-space: nowrap; opacity: .8; }
.jk-tab:hover { color: #fff; }
.jk-tab.is-on { color: #0A0D0B; }
.jk-tab.is-on small { opacity: .75; }
.jk-tab-glow { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: 0; border-radius: 13px; background: var(--grad-gold); box-shadow: 0 10px 30px rgba(212, 175, 55, .3); transition: left .55s var(--ease-lux), width .55s var(--ease-lux); }

.jk-plan-stage { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.jk-plan-img {
    position: relative; border: 0; padding: clamp(14px, 2vw, 26px); cursor: zoom-in;
    border-radius: 24px; overflow: hidden;
    background: radial-gradient(120% 90% at 50% 40%, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
    border: 1px solid rgba(255, 255, 255, .08);
    display: grid; place-items: center; min-height: 420px;
}
.jk-plan-img img { max-width: 100%; max-height: 560px; object-fit: contain; border-radius: 10px; transition: opacity .45s ease, transform .6s var(--ease-lux), filter .6s; }
.jk-plan-img.is-swapping img { opacity: 0; transform: scale(.96) translateY(10px); filter: blur(6px); }
.jk-plan-img:hover img { transform: scale(1.02); }
.jk-plan-scan { position: absolute; left: 0; right: 0; height: 90px; top: -90px; background: linear-gradient(180deg, transparent, rgba(241, 198, 74, .18), transparent); border-bottom: 1px solid rgba(241, 198, 74, .6); pointer-events: none; }
.jk-plan-img.is-scanning .jk-plan-scan { animation: jkPlanScan 1.1s ease-out; }
@keyframes jkPlanScan { from { top: -90px; } to { top: 100%; } }
.jk-zoom-hint { position: absolute; right: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(10, 13, 11, .75); border: 1px solid rgba(255, 255, 255, .12); font-size: 11.5px; color: #E3E7E2; backdrop-filter: blur(6px); }
.jk-zoom-hint svg { width: 14px; height: 14px; fill: none; stroke: var(--gold-bright); stroke-width: 2; }

.jk-plan-info {
    border-radius: 24px; padding: clamp(22px, 2.6vw, 34px);
    background: linear-gradient(180deg, rgba(22, 28, 23, .9), rgba(12, 16, 13, .9));
    border: 1px solid rgba(212, 175, 55, .18);
    display: flex; flex-direction: column;
}
.jk-plan-info > * { transition: opacity .4s ease, transform .5s var(--ease-lux); }
.jk-plan-stage.is-swapping .jk-plan-info > * { opacity: 0; transform: translateX(14px); }
.jk-plan-kicker { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-bright); }
.jk-plan-size { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 6px; }
.jk-plan-size strong { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(46px, 5vw, 66px); line-height: 1; color: #fff; }
.jk-plan-size span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); }
.jk-plan-rooms { font-size: 14.5px; line-height: 1.7; color: #C9D0C9; margin-bottom: 18px; }
.jk-area { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-bottom: 24px; }
.jk-area th { text-align: right; font-weight: 500; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); padding: 0 0 10px; }
.jk-area th:first-child { text-align: left; }
.jk-area td { padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 14px; color: #E3E7E2; text-align: right; }
.jk-area td:first-child { text-align: left; color: var(--text-dim); }
.jk-area tr.is-key td { color: #fff; }
.jk-area tr.is-key td:first-child { color: var(--gold-soft); }
.jk-area tr.is-total td { color: var(--gold-bright); font-weight: 600; border-top-color: rgba(212, 175, 55, .35); }
.jk-plan-ctas { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.jk-note { margin-top: 16px; font-size: 12px; color: var(--text-dim); }

/* ---------- SITE PLANS ---------- */
.jk-site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.jk-site-card {
    border: 0; padding: 0; text-align: left; font: inherit; color: inherit; cursor: zoom-in;
    border-radius: 22px; overflow: hidden; position: relative;
    background: linear-gradient(180deg, #151B16, #101511);
    border: 1px solid rgba(255, 255, 255, .07);
    transition: transform .6s var(--ease-lux), border-color .4s, box-shadow .6s var(--ease-lux);
}
.jk-site-card:nth-child(2) { transition-delay: .08s; } .jk-site-card:nth-child(3) { transition-delay: .16s; }
.jk-site-card:hover { transform: translateY(-8px); border-color: rgba(212, 175, 55, .4); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.jk-site-img { display: block; height: 340px; overflow: hidden; position: relative; background: #0C100D; }
.jk-site-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 6s ease, object-position 6s ease; }
.jk-site-card:hover .jk-site-img img { transform: scale(1.06); object-position: bottom center; }
.jk-site-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12, 16, 13, .95)); }
.jk-site-meta { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px 22px 22px; align-items: center; }
.jk-site-no { grid-row: span 2; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--gold-bright); width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(212, 175, 55, .45); display: grid; place-items: center; }
.jk-site-meta strong { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 21px; color: #fff; }
.jk-site-meta small { font-size: 12.5px; color: var(--text-dim); }
.jk-legend { margin-top: 26px; padding: 26px 28px; border-radius: 22px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .07); }
.jk-legend h3 { font-size: 19px; font-weight: 400; margin-bottom: 16px; }
.jk-legend ol { list-style: none; counter-reset: am; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 22px; }
.jk-legend li { counter-increment: am; font-size: 13.5px; color: #D6DBD5; display: flex; align-items: center; gap: 10px; }
.jk-legend li::before { content: counter(am, decimal-leading-zero); font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: var(--gold-bright); min-width: 22px; }

/* ---------- AMENITIES ---------- */
.jk-amen { background: linear-gradient(180deg, #0A0D0B, #0C110D); }
.jk-amen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.jk-amen-card {
    position: relative; overflow: hidden;
    padding: 24px 22px; border-radius: 18px;
    background: linear-gradient(180deg, rgba(22, 28, 23, .85), rgba(14, 18, 15, .85));
    border: 1px solid rgba(255, 255, 255, .07);
    transition: transform .5s var(--ease-lux), border-color .4s, background .4s;
}
.jk-amen-card::after { content: ''; position: absolute; inset: auto -40% -60% auto; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .18), transparent 70%); opacity: 0; transition: opacity .5s; }
.jk-amen-card:hover { transform: translateY(-6px); border-color: rgba(212, 175, 55, .4); }
.jk-amen-card:hover::after { opacity: 1; }
.jk-amen-card:nth-child(4n+2) { transition-delay: .05s; } .jk-amen-card:nth-child(4n+3) { transition-delay: .1s; } .jk-amen-card:nth-child(4n) { transition-delay: .15s; }
.jk-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(212, 175, 55, .1); border: 1px solid rgba(212, 175, 55, .35); margin-bottom: 18px; transition: background .4s, transform .5s var(--ease-lux); }
.jk-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-bright); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.jk-amen-card:hover .jk-ic { background: var(--grad-gold); transform: rotate(-6deg) scale(1.05); }
.jk-amen-card:hover .jk-ic svg { stroke: #0A0D0B; }
.jk-amen-card h4, .jk-amen-card .hx4 { font-size: 18px; font-weight: 400; margin-bottom: 6px; }
.jk-amen-card p { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }

.jk-offers {
    margin-top: 28px; padding: 26px 30px; border-radius: 22px;
    display: grid; grid-template-columns: auto 1fr; gap: 10px 36px; align-items: center;
    background: linear-gradient(120deg, rgba(212, 175, 55, .16), rgba(31, 138, 95, .1));
    border: 1px solid rgba(212, 175, 55, .35);
}
.jk-offers-tag { display: inline-block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--grad-gold); color: #0A0D0B; font-weight: 600; margin-bottom: 8px; }
.jk-offers h3 { font-size: 24px; font-weight: 400; }
.jk-offers ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.jk-offers li { padding: 10px 16px; border-radius: 12px; background: rgba(10, 13, 11, .5); border: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #E3E7E2; }
.jk-offers li strong { color: var(--gold-bright); font-weight: 600; }
.jk-offers p { grid-column: 1 / -1; font-size: 12px; color: var(--text-dim); }

/* ---------- LOCATION ---------- */
.jk-loc-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 20px; }
.jk-route, .jk-near { border-radius: 22px; padding: 26px 28px; background: linear-gradient(180deg, rgba(22, 28, 23, .85), rgba(14, 18, 15, .85)); border: 1px solid rgba(255, 255, 255, .07); }
.jk-route h3 { font-size: 20px; font-weight: 400; margin-bottom: 18px; }
.jk-timeline { list-style: none; position: relative; }
.jk-timeline::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(180deg, var(--gold), rgba(47, 190, 130, .6)); }
.jk-timeline li { position: relative; padding: 9px 0 9px 32px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.jk-timeline li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 11px; height: 11px; border-radius: 50%; background: #0E1310; border: 2px solid var(--gold-bright); box-shadow: 0 0 10px rgba(241, 198, 74, .5); }
.jk-timeline b { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 20px; color: #fff; order: 2; white-space: nowrap; }
.jk-timeline span { font-size: 14px; color: #D6DBD5; }
.jk-near { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.jk-near h4, .jk-near .hx4 { display: flex; align-items: center; gap: 10px; font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); font-weight: 500; margin-bottom: 10px; }
.jk-near h4 svg, .jk-near .hx4 svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.jk-near ul { list-style: none; }
.jk-near li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 14px; }
.jk-near li span { color: #D6DBD5; }
.jk-near li b { color: #fff; font-weight: 500; white-space: nowrap; }
.jk-map { position: relative; margin-top: 20px; height: 340px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); background: #0F1511 url('logo-mark.png') center / 40px auto no-repeat; }
.jk-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.45) invert(.92) hue-rotate(180deg) contrast(.88) brightness(.9); }
.jk-map-btn { position: absolute; right: 16px; bottom: 16px; padding: 11px 18px; border-radius: 999px; background: var(--grad-gold); color: #0A0D0B; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }

/* ---------- DEVELOPER ---------- */
.jk-dev { background: linear-gradient(180deg, #0C110D, #0A0D0B); }
.jk-dev-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.jk-dev h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; margin-bottom: 18px; }
.jk-dev p { color: var(--text-dim); font-size: 15px; line-height: 1.8; }
.jk-dev-mission { margin-top: 18px; padding-left: 18px; border-left: 2px solid var(--gold); font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 19px !important; color: #E8E3CF !important; }
.jk-dev-list { border-radius: 22px; padding: 26px 28px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .07); }
.jk-dev-list h3 { font-size: 11px; font-family: 'Inter', sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); font-weight: 500; margin-bottom: 12px; }
.jk-dev-list ul { list-style: none; }
.jk-dev-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.jk-dev-list li span { font-family: 'Fraunces', Georgia, serif; font-size: 18px; color: #fff; }
.jk-dev-list li small { font-size: 12.5px; color: var(--text-dim); }
.jk-dev-list li.is-this span { color: var(--gold-bright); }

/* ---------- BROCHURE BAND ---------- */
.jk-cta-band { padding-top: 0; }
.jk-cta {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    padding: clamp(28px, 4vw, 52px);
    border-radius: 28px;
    background:
        linear-gradient(100deg, rgba(8, 11, 9, .94) 0%, rgba(8, 11, 9, .78) 55%, rgba(8, 11, 9, .45) 100%),
        url('jkg/master-render.jpg') center / cover;
    border: 1px solid rgba(212, 175, 55, .35);
}
.jk-cta-copy { max-width: 600px; }
.jk-cta h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; margin-bottom: 10px; }
.jk-cta p { color: #C9D0C9; }
.jk-cta-btn {
    display: inline-flex; align-items: center; gap: 16px;
    padding: 10px 26px 10px 10px; border: 0; border-radius: 999px; cursor: pointer; font: inherit;
    background: var(--grad-gold); color: #0A0D0B; text-align: left;
    box-shadow: 0 20px 50px rgba(212, 175, 55, .35);
    transition: transform .45s var(--ease-lux), box-shadow .45s;
}
.jk-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 28px 60px rgba(212, 175, 55, .45); }
.jk-cta-ic { width: 52px; height: 52px; border-radius: 50%; background: #0A0D0B; display: grid; place-items: center; }
.jk-cta-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-bright); stroke-width: 2; animation: jkBob 1.8s ease-in-out infinite; }
@keyframes jkBob { 50% { transform: translateY(3px); } }
.jk-cta-btn strong { display: block; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.jk-cta-btn small { font-size: 12px; opacity: .75; }

/* ---------- ENQUIRY ---------- */
.jk-info { gap: 20px; }
.jk-price-mini { padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, rgba(212, 175, 55, .16), rgba(10, 13, 11, .4)); border: 1px solid rgba(212, 175, 55, .4); display: flex; flex-direction: column; gap: 4px; }
.jk-price-mini span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.jk-price-mini strong { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 32px; color: #fff; }
.jk-price-mini strong em { font-family: 'Inter', sans-serif; font-style: normal; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #C9D0C9; }
.jk-price-mini small { font-size: 12px; color: var(--text-dim); }
.jk-disclaimer { margin-top: 28px; font-size: 12px; line-height: 1.7; color: #7E877F; max-width: 900px; }

/* ---------- BROCHURE GATE MODAL ---------- */
.jb-overlay { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 16px; background: rgba(4, 6, 5, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.jb-overlay.show { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.jb-modal {
    position: relative; width: min(880px, 100%); max-height: calc(100vh - 32px); overflow: auto;
    display: grid; grid-template-columns: .85fr 1fr;
    border-radius: 26px; background: linear-gradient(180deg, #151B16, #0D110E);
    border: 1px solid rgba(212, 175, 55, .3);
    box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
    transform: translateY(30px) scale(.96); transition: transform .6s var(--ease-lux);
}
.jb-overlay.show .jb-modal { transform: none; }
.jb-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); background: rgba(10, 13, 11, .6); color: #fff; font-size: 20px; cursor: pointer; }
.jb-side { position: relative; min-height: 100%; overflow: hidden; }
.jb-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 8s ease-out; }
.jb-overlay.show .jb-side img { transform: scale(1); }
.jb-side::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 11, 9, .95), rgba(8, 11, 9, .1) 60%); }
.jb-side-copy { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.jb-side-copy span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.jb-side-copy strong { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 34px; color: #fff; }
.jb-side-copy small { font-size: 12px; color: #C9D0C9; }
.jb-body { padding: clamp(26px, 3.5vw, 40px); }
.jb-form h3, .jb-done h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 400; line-height: 1.2; margin-bottom: 8px; }
.jb-sub { font-size: 14px; line-height: 1.65; color: var(--text-dim); margin-bottom: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jb-field { position: relative; margin-bottom: 14px; }
.jb-field input { width: 100%; padding: 22px 16px 8px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .035); color: #fff; font: inherit; font-size: 15.5px; outline: none; transition: border-color .3s, box-shadow .3s; }
.jb-field label { position: absolute; left: 16px; top: 16px; font-size: 14.5px; color: var(--text-dim); pointer-events: none; transition: all .3s var(--ease-lux); }
.jb-field label small { opacity: .7; }
.jb-field input:focus + label, .jb-field input:not(:placeholder-shown) + label { top: 7px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-bright); }
.jb-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, .12); }
.jb-phone input { padding-left: 58px; }
.jb-phone label { left: 58px; }
.jb-pre { position: absolute; left: 16px; top: 50%; transform: translateY(-40%); color: var(--gold-bright); font-size: 15px; padding-right: 10px; border-right: 1px solid rgba(255, 255, 255, .12); line-height: 1.2; }
.jb-err { display: none; font-size: 12px; color: #F08E73; margin-top: 6px; }
.jb-field.bad input { border-color: rgba(240, 142, 115, .7); }
.jb-field.bad .jb-err { display: block; }
.jb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.jb-chip { font: inherit; font-size: 13px; padding: 9px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); color: #E3E7E2; cursor: pointer; transition: all .3s; }
.jb-chip.is-on { border-color: var(--gold); background: rgba(212, 175, 55, .16); color: #fff; }
.jb-submit { position: relative; overflow: hidden; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 24px; border: 0; border-radius: 999px; background: var(--grad-gold); color: #0A0D0B; font: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; box-shadow: 0 14px 34px rgba(212, 175, 55, .3); transition: transform .4s var(--ease-lux); }
.jb-submit:hover { transform: translateY(-2px); }
.jb-submit-ic, .jb-spin { width: 42px; height: 42px; border-radius: 50%; background: #0A0D0B; display: grid; place-items: center; }
.jb-submit-ic svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-bright); stroke-width: 2; }
.jb-spin { display: none; background: none; border: 2px solid rgba(10, 13, 11, .25); border-top-color: #0A0D0B; animation: ctRot .8s linear infinite; }
.jb-submit.is-loading { pointer-events: none; }
.jb-submit.is-loading .jb-submit-ic { display: none; }
.jb-submit.is-loading .jb-spin { display: block; }
.jb-safe { margin-top: 12px; font-size: 12px; color: var(--text-dim); text-align: center; }
.jb-done { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 20px; animation: ctStepIn .6s var(--ease-lux) both; }
.jb-done[hidden] { display: none; }
.jb-done .ct-success-mark { width: 100px; height: 100px; margin-bottom: 14px; }
.jb-done .eyebrow { justify-content: center; }
.jb-done .btn { margin-top: 6px; }
.jb-close-link { margin-top: 14px; background: none; border: 0; color: var(--text-dim); font: inherit; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }

/* ---------- LIGHTBOX ---------- */
.jl-overlay { position: fixed; inset: 0; z-index: 1300; background: rgba(4, 6, 5, .95); display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: auto 1fr; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s linear .35s; }
.jl-overlay.show { opacity: 1; visibility: visible; transition: opacity .35s; }
.jl-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.jl-cap { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #E3E7E2; }
.jl-count { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--gold-bright); margin-right: auto; }
.jl-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: background .25s, border-color .25s; }
.jl-btn:hover { background: rgba(212, 175, 55, .18); border-color: var(--gold); }
.jl-prev, .jl-next { align-self: center; justify-self: center; font-size: 30px; }
.jl-stage { position: relative; overflow: hidden; display: grid; place-items: center; touch-action: none; cursor: zoom-in; }
.jl-stage.is-zoomed { cursor: grab; }
.jl-stage img { max-width: 100%; max-height: calc(100vh - 90px); object-fit: contain; transition: transform .45s var(--ease-lux), opacity .3s; user-select: none; -webkit-user-drag: none; }
.jl-stage.is-dragging img { transition: none; }
.jl-overlay.one .jl-prev, .jl-overlay.one .jl-next { visibility: hidden; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .jk-stats { grid-template-columns: repeat(3, 1fr); }
    .jk-stat:nth-child(4) { border-left: 0; padding-left: 0; }
    .jk-stat:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .06); }
    .jk-amen-grid { grid-template-columns: repeat(3, 1fr); }
    .jk-legend ol { grid-template-columns: repeat(3, 1fr); }
    .jk-loc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
    .jk-hero { min-height: auto; }
    .jk-hero-inner { padding-top: 60px; }
    .jk-hero-shade { background: linear-gradient(0deg, rgba(5, 7, 5, .96) 0%, rgba(5, 7, 5, .7) 55%, rgba(5, 7, 5, .35) 100%); }
    .jk-ov-grid, .jk-plan-stage, .jk-dev-grid { grid-template-columns: 1fr; }
    .jk-ov-media { max-width: 560px; }
    .jk-site-grid { grid-template-columns: 1fr 1fr; }
    .jb-modal { grid-template-columns: 1fr; }
    .jb-side { height: 150px; min-height: 0; }
    .jb-side-copy strong { font-size: 26px; }
}
@media (max-width: 640px) {
    .jk-title { font-size: clamp(52px, 17vw, 72px); }
    .jk-hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
    .jk-call { flex: 1 1 100%; justify-content: center; }
    .jk-hero-foot { flex-wrap: wrap; }
    .jk-caption { width: 100%; }
    .jk-scroll-cue { display: none; }
    .jk-stats { grid-template-columns: 1fr 1fr; }
    .jk-stat { padding: 22px 0 22px 16px; }
    .jk-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
    .jk-stat:nth-child(4) { border-left: 1px solid rgba(255, 255, 255, .06); padding-left: 16px; }
    .jk-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .06); }
    .jk-badge-float { left: 8px; top: 8px; padding: 12px 14px; }
    .jk-badge-float strong { font-size: 24px; }
    .jk-plan-img { min-height: 300px; }
    .jk-tab { padding: 10px 12px; }
    .jk-site-grid { grid-template-columns: 1fr; }
    .jk-site-img { height: 260px; }
    .jk-legend ol { grid-template-columns: 1fr 1fr; }
    .jk-amen-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .jk-amen-card { padding: 18px 16px; }
    .jk-amen-card h4, .jk-amen-card .hx4 { font-size: 16px; }
    .jk-offers { grid-template-columns: 1fr; padding: 22px; }
    .jk-near { grid-template-columns: 1fr; padding: 22px; }
    .jk-route { padding: 22px; }
    .jk-map { height: 280px; }
    .jk-cta-btn { width: 100%; }
    .jl-overlay { grid-template-columns: 0 1fr 0; }
    .jl-prev, .jl-next { position: fixed; bottom: 18px; z-index: 2; }
    .jl-prev { left: 18px; } .jl-next { right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .jk-slide.is-active, .jk-slide.is-active img, .jk-track, .jk-title em, .jk-price-card::after, .jk-badge-float, .jk-cta-ic svg { animation: none !important; }
    .jk-title-line > span, .jk-hero-copy > * { animation: none !important; opacity: 1; transform: none; }
    .jk-wipe { clip-path: none !important; transition: none; }
    .jk-slide img { transform: none; }
}

/* ---------- Tighter vertical rhythm on the JKG page (no dead gaps between sections) ---------- */
.page-jkg section:not(.jk-hero):not(.jk-stats-band) { padding-top: clamp(40px, 4.4vw, 64px); padding-bottom: clamp(40px, 4.4vw, 64px); }
.page-jkg section.jk-cta-band { padding-top: 0; }
.page-jkg section.jk-overview { padding-top: clamp(48px, 5vw, 76px); }
