/* =========================================================================
   PROPERTY GOLD — Projects page
   ========================================================================= */
.page-projects { --pj-gold: #F1C64A; --pj-line: rgba(255, 255, 255, .08); }
.page-projects .accent { font-style: italic; }

/* ---------- HERO ---------- */
.pj-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(96px, 9vw, 112px) 0 clamp(48px, 5vw, 72px); background: radial-gradient(90% 80% at 80% 20%, rgba(212, 175, 55, .10), transparent 60%), linear-gradient(180deg, #070A08, #0A0D0B 75%, #0C110D); }
.pj-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pj-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(212, 175, 55, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 175, 55, .05) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(700px) rotateX(58deg) translateY(28%) scale(1.9); transform-origin: 50% 100%; mask-image: linear-gradient(180deg, transparent 20%, #000 70%); -webkit-mask-image: linear-gradient(180deg, transparent 20%, #000 70%); animation: pjGrid 14s linear infinite; }
@keyframes pjGrid { to { background-position: 0 64px, 0 0; } }
.pj-beam { position: absolute; width: 2px; height: 70%; top: -10%; background: linear-gradient(180deg, transparent, rgba(241, 198, 74, .55), transparent); filter: blur(.5px); opacity: .6; animation: pjBeam 7s ease-in-out infinite; }
.pj-beam.b1 { left: 58%; transform: rotate(18deg); }
.pj-beam.b2 { left: 86%; transform: rotate(18deg); animation-delay: -3.5s; }
@keyframes pjBeam { 0%, 100% { opacity: 0; translate: 0 -20%; } 50% { opacity: .7; translate: 0 20%; } }

.pj-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.pj-hero-copy > * { opacity: 0; transform: translateY(22px); animation: pjUp .9s var(--ease-lux) forwards; }
.pj-hero-copy > :nth-child(1) { animation-delay: .05s; }
.pj-hero-copy > :nth-child(2) { animation-delay: .15s; }
.pj-hero-copy > :nth-child(3) { opacity: 1; transform: none; animation: none; }
.pj-hero-copy > :nth-child(4) { animation-delay: .7s; }
.pj-hero-copy > :nth-child(5) { animation-delay: .85s; }
.pj-hero-copy > :nth-child(6) { animation-delay: 1s; }
@keyframes pjUp { to { opacity: 1; transform: none; } }

.pj-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 20px; padding: 8px 16px; border-radius: 99px; border: 1px solid rgba(212, 175, 55, .3); background: rgba(212, 175, 55, .07); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #EDE3C2; }
.pj-pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ADE9B; box-shadow: 0 0 0 0 rgba(74, 222, 155, .6); animation: pjPulse 2s infinite; }
@keyframes pjPulse { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 155, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 155, 0); } }

.pj-title { font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -.035em; font-weight: 400; margin: 0 0 22px; }
.pj-line { display: block; overflow: hidden; padding-bottom: .08em; }
.pj-line > span { display: inline-block; transform: translateY(108%); animation: pjRise 1.15s var(--ease-lux) .25s forwards; }
.pj-line:nth-child(2) > span { animation-delay: .4s; }
.pj-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: pjShine 6s linear infinite; }
@keyframes pjRise { to { transform: none; } }
@keyframes pjShine { from { background-position: 0% 0; } to { background-position: 220% 0; } }
.pj-lede { max-width: 560px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.75; color: #C9CFC7; margin: 0 0 28px; }
.pj-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.pj-hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pj-hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #D5DAD3; }
.pj-hero-points svg { width: 18px; height: 18px; fill: none; stroke: var(--pj-gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* 3D deck */
.pj-deck { position: relative; height: clamp(400px, 38vw, 540px); perspective: 1400px; opacity: 0; animation: pjUp 1.2s .3s var(--ease-lux) forwards; transform: translateY(22px); }
.pj-deck-card { position: absolute; left: 50%; top: 4%; width: min(78%, 420px); aspect-ratio: 4 / 5; margin-left: calc(min(78%, 420px) / -2); border-radius: 26px; overflow: hidden; background: #0E130F; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px rgba(0, 0, 0, .55); transform-style: preserve-3d; transition: transform 1s var(--ease-lux), opacity .8s, filter .8s, box-shadow .8s; will-change: transform; }
.pj-deck-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.pj-deck-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 7, 6, .75)); }
.pj-deck-card[data-pos="0"] { transform: translate3d(0, 0, 0) rotateY(-6deg); z-index: 5; box-shadow: 0 50px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(241, 198, 74, .35); }
.pj-deck-card[data-pos="0"] img { transform: scale(1.08); }
.pj-deck-card[data-pos="1"] { transform: translate3d(24%, -2%, -140px) rotateY(-16deg); z-index: 4; filter: brightness(.55); }
.pj-deck-card[data-pos="2"] { transform: translate3d(42%, -4%, -280px) rotateY(-22deg); z-index: 3; filter: brightness(.35); }
.pj-deck-card[data-pos="-1"] { transform: translate3d(-34%, 4%, -120px) rotateY(10deg) scale(.92); z-index: 2; opacity: 0; }
.pj-deck-card[data-pos="3"], .pj-deck-card[data-pos="4"] { transform: translate3d(52%, -6%, -380px) rotateY(-26deg); z-index: 1; opacity: 0; }
.pj-deck-card:focus-visible { outline: 2px solid var(--pj-gold); outline-offset: 4px; }
.pj-deck-hud { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(92%, 460px); z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 14px 14px 20px; border-radius: 18px; background: rgba(12, 16, 13, .72); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.pj-deck-label { min-width: 0; transition: opacity .3s, transform .3s; }
.pj-deck-label.is-swap { opacity: 0; transform: translateY(6px); }
.pj-deck-now { display: block; font-family: 'Fraunces', Georgia, serif; font-size: 20px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pj-deck-label small { display: block; font-size: 12px; color: var(--pj-gold); letter-spacing: .04em; margin-top: 2px; }
.pj-deck-nav { display: flex; gap: 8px; flex: none; }
.pj-deck-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; transition: background .25s, border-color .25s, transform .25s; }
.pj-deck-btn:hover { background: rgba(212, 175, 55, .2); border-color: var(--gold); transform: scale(1.06); }

/* ---------- COLLECTION ---------- */
.pj-collection { padding: clamp(48px, 5vw, 80px) 0 clamp(56px, 6vw, 96px); background: linear-gradient(180deg, #0C110D, #0A0D0B); }
.pj-col-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.pj-col-head h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; margin: 12px 0 0; }
.pj-result { margin: 0; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--pj-gold); padding: 8px 14px; border: 1px solid rgba(212, 175, 55, .3); border-radius: 99px; background: rgba(212, 175, 55, .06); }

.pj-filters { position: sticky; top: 84px; z-index: 30; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 22px; padding: 16px 18px; margin-bottom: 30px; border-radius: 22px; border: 1px solid var(--pj-line); background: rgba(12, 16, 13, .78); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); transition: box-shadow .3s, border-color .3s; }
.pj-filters.is-stuck { border-color: rgba(212, 175, 55, .25); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.pj-fgroup { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pj-flabel { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); padding-left: 4px; }
.pj-seg { position: relative; display: inline-flex; gap: 2px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--pj-line); }
.pj-seg button { position: relative; z-index: 1; border: 0; background: none; color: #C9CFC7; font: inherit; font-size: 13.5px; padding: 9px 14px; border-radius: 10px; cursor: pointer; white-space: nowrap; transition: color .35s; }
.pj-seg button:hover { color: #fff; }
.pj-seg button.is-on { color: #0A0D0B; font-weight: 600; }
.pj-seg button:focus-visible { outline: 2px solid var(--pj-gold); outline-offset: 2px; }
.pj-seg-glow { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 10px; background: var(--grad-gold); box-shadow: 0 6px 18px rgba(212, 175, 55, .35); transition: left .5s var(--ease-lux), width .5s var(--ease-lux); }
.pj-sort { margin-left: auto; }
.pj-select { position: relative; }
.pj-select::after { content: ''; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--pj-gold); border-bottom: 1.5px solid var(--pj-gold); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.pj-select select { appearance: none; -webkit-appearance: none; font: inherit; font-size: 13.5px; color: #fff; background: rgba(255, 255, 255, .04); border: 1px solid var(--pj-line); border-radius: 14px; padding: 12px 40px 12px 14px; cursor: pointer; min-width: 190px; }
.pj-select select:focus-visible { outline: 2px solid var(--pj-gold); outline-offset: 2px; }
.pj-select option { background: #0E130F; color: #fff; }

/* Grid + cards */
.pj-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pj-card { position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #111712, #0D120E); border: 1px solid var(--pj-line); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transition: border-color .4s, box-shadow .5s, transform .5s var(--ease-lux), opacity .45s; }
.pj-card:hover { border-color: rgba(212, 175, 55, .35); box-shadow: 0 40px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(212, 175, 55, .12); transform: translateY(-6px); }
.pj-card.is-out { opacity: 0; transform: scale(.94); pointer-events: none; }
.pj-card.is-gone { display: none; }
.pj-card.pre { opacity: 0; transform: translateY(40px); }
.pj-card.pre.in { opacity: 1; transform: none; transition: opacity .9s, transform 1s var(--ease-lux); }

.pj-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0A0D0B; clip-path: inset(0 0 0 0); }
.pj-card.pre .pj-media { clip-path: inset(0 0 100% 0); }
.pj-card.pre.in .pj-media { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease-lux) .1s; }
.pj-media img { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.02); transition: transform .8s var(--ease-lux), opacity .9s ease, filter .6s; }
.pj-media .pj-alt { opacity: 0; }
.pj-card:hover .pj-media img { transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.08); }
.pj-card:hover .pj-media .pj-alt { opacity: 1; }
.pj-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 6, .45) 0%, transparent 30%, transparent 60%, rgba(13, 18, 14, .9) 100%); pointer-events: none; }
.pj-sheen { position: absolute; inset: 0; z-index: 2; background: linear-gradient(115deg, transparent 35%, rgba(255, 236, 170, .28) 50%, transparent 65%); transform: translateX(-120%); transition: transform 1.1s var(--ease-lux); pointer-events: none; }
.pj-card:hover .pj-sheen { transform: translateX(120%); }

.pj-badges { position: absolute; left: 18px; top: 18px; z-index: 3; display: flex; flex-wrap: wrap; gap: 8px; max-width: calc(100% - 130px); }
.pj-status, .pj-rera { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; font-size: 11.5px; letter-spacing: .06em; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pj-status { background: rgba(10, 13, 11, .7); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-weight: 600; text-transform: uppercase; }
.pj-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, #F1C64A); box-shadow: 0 0 10px var(--c, #F1C64A); animation: pjBlink 2.2s ease-in-out infinite; }
.pj-status.s-ready { --c: #4ADE9B; }
.pj-status.s-build { --c: #F5B545; }
.pj-status.s-offer { --c: #FF8FA3; }
.pj-status.s-new { --c: #7CC4FF; }
.pj-status.s-gold { --c: #F1C64A; }
@keyframes pjBlink { 50% { opacity: .35; } }
.pj-rera { background: rgba(10, 13, 11, .6); border: 1px solid rgba(212, 175, 55, .4); color: var(--pj-gold); font-family: 'IBM Plex Mono', monospace; font-size: 11px; }

.pj-tools { position: absolute; right: 16px; top: 16px; z-index: 4; display: flex; gap: 8px; }
.pj-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-content: center; border: 1px solid rgba(255, 255, 255, .2); background: rgba(10, 13, 11, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer; transition: background .3s, border-color .3s, transform .3s; }
.pj-icon svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: fill .3s, stroke .3s; }
.pj-icon:hover { transform: scale(1.08); border-color: var(--pj-gold); }
.pj-icon:focus-visible { outline: 2px solid var(--pj-gold); outline-offset: 2px; }
.pj-heart[aria-pressed="true"] { background: rgba(255, 90, 120, .18); border-color: #FF6B86; }
.pj-heart[aria-pressed="true"] svg { fill: #FF6B86; stroke: #FF6B86; }
.pj-heart.pop { animation: pjPop .45s var(--ease-lux); }
@keyframes pjPop { 40% { transform: scale(1.3); } }
.pj-cmp[aria-pressed="true"] { background: var(--grad-gold); border-color: transparent; }
.pj-cmp[aria-pressed="true"] svg { stroke: #0A0D0B; }

.pj-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 6px 26px 24px; margin-top: -34px; z-index: 2; }
.pj-feat-tag { display: inline-flex; align-self: flex-start; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #0A0D0B; background: var(--grad-gold); padding: 6px 12px; border-radius: 99px; font-weight: 600; margin-bottom: 12px; }
.pj-name { font-size: clamp(26px, 2.2vw, 34px); line-height: 1.1; margin: 0 0 8px; letter-spacing: -.02em; font-weight: 400; }
.pj-name a { color: #fff; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-lux), color .3s; }
.pj-name a:hover { color: var(--pj-gold); background-size: 100% 1px; }
.pj-name a:focus-visible { outline: 2px solid var(--pj-gold); outline-offset: 3px; border-radius: 4px; }
.pj-name span { font-style: italic; font-weight: 300; color: var(--pj-gold); font-size: .72em; margin-left: 6px; }
.pj-loc { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; font-size: 13.5px; color: #BFC6BE; }
.pj-loc svg { width: 16px; height: 16px; fill: none; stroke: var(--pj-gold); stroke-width: 1.7; flex: none; }
.pj-desc { margin: 0 0 18px; font-size: 14.5px; line-height: 1.7; color: var(--text-dim); }
.pj-specs { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: 14px; overflow: hidden; background: var(--pj-line); border: 1px solid var(--pj-line); }
.pj-specs li { background: #0F1510; padding: 12px 14px; }
.pj-specs b { display: block; font-weight: 600; font-size: 14.5px; color: #fff; }
.pj-specs span { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-top: 3px; }
.pj-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--pj-line); }
.pj-price span { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 3px; }
.pj-price strong { display: block; font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.05; background: linear-gradient(100deg, #FFE9A8, #D4AF37 60%, #FFF3C8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pj-price strong em { font-style: normal; font-size: .55em; }
.pj-price strong.is-req { font-size: 22px; }
.pj-price small { display: block; font-size: 12px; color: var(--text-dim); margin-top: 3px; }
.pj-actions { display: flex; gap: 8px; }
.pj-ghost, .pj-go { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 99px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background .3s, color .3s, border-color .3s, gap .3s, box-shadow .3s; }
.pj-ghost { color: #E6E9E4; border: 1px solid rgba(255, 255, 255, .18); }
.pj-ghost:hover { border-color: var(--pj-gold); color: var(--pj-gold); }
.pj-go { color: #0A0D0B; background: var(--grad-gold); box-shadow: 0 10px 24px rgba(212, 175, 55, .25); }
.pj-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.pj-go:hover { gap: 12px; box-shadow: 0 14px 30px rgba(212, 175, 55, .4); }
.pj-ghost:focus-visible, .pj-go:focus-visible { outline: 2px solid var(--pj-gold); outline-offset: 3px; }

/* Featured card: full width, image beside content */
.pj-card.is-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.pj-card.is-featured .pj-media { aspect-ratio: auto; min-height: 460px; }
.pj-card.is-featured .pj-media::after { background: linear-gradient(90deg, transparent 60%, rgba(13, 18, 14, .95)), linear-gradient(180deg, rgba(5, 7, 6, .45), transparent 30%); }
.pj-card.is-featured .pj-body { margin-top: 0; padding: 34px 34px 30px; justify-content: center; }
.pj-card.is-featured .pj-name { font-size: clamp(34px, 3.4vw, 50px); }
.pj-card.is-featured .pj-tools { right: auto; left: calc(55.5% - 110px); }
.pj-card.is-featured::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--pjang, 0deg), transparent 0 70%, rgba(241, 198, 74, .8) 82%, transparent 92%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: pjBorder 7s linear infinite; pointer-events: none; z-index: 5; }
@property --pjang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes pjBorder { to { --pjang: 360deg; } }

.pj-empty { text-align: center; padding: 60px 20px; border: 1px dashed rgba(212, 175, 55, .3); border-radius: 26px; background: rgba(212, 175, 55, .03); animation: pjUp .6s var(--ease-lux) both; }
.pj-empty-ic { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-content: center; background: rgba(212, 175, 55, .1); }
.pj-empty-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--pj-gold); stroke-width: 1.7; }
.pj-empty h3 { font-size: 24px; margin: 0 0 8px; }
.pj-empty p { color: var(--text-dim); margin: 0 auto 20px; max-width: 460px; }
.pj-empty-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Compare tray ---------- */
.pj-tray { position: fixed; left: 50%; bottom: 22px; z-index: 900; display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 14px; border-radius: 20px; background: rgba(12, 16, 13, .88); border: 1px solid rgba(212, 175, 55, .35); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 70px rgba(0, 0, 0, .6); transform: translate(-50%, 140%); transition: transform .6s var(--ease-lux); max-width: calc(100vw - 24px); }
.pj-tray.show { transform: translate(-50%, 0); }
.pj-tray[hidden] { display: flex; visibility: hidden; }
.pj-tray.show[hidden] { visibility: visible; }
.pj-tray-slots { display: flex; }
.pj-tray-slots img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 2px solid #0C100D; margin-left: -10px; box-shadow: 0 6px 14px rgba(0, 0, 0, .4); animation: pjUp .4s var(--ease-lux) both; }
.pj-tray-slots img:first-child { margin-left: 0; }
.pj-tray-text strong { display: block; font-size: 14.5px; color: #fff; }
.pj-tray-text span { display: block; font-size: 12px; color: var(--text-dim); }
.pj-tray-clear { background: none; border: 0; color: var(--text-dim); font: inherit; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; padding: 8px; }
.pj-tray-clear:hover { color: #fff; }
.pj-tray-go.is-disabled { opacity: .5; pointer-events: none; }

/* ---------- Tools + CTA ---------- */
.pj-tools-band { padding: clamp(56px, 6vw, 96px) 0; background: linear-gradient(180deg, #0A0D0B, #0C110D); }
.pj-tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.pj-tool { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: 22px; border: 1px solid var(--pj-line); background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); text-decoration: none; color: inherit; overflow: hidden; transition: border-color .4s, transform .5s var(--ease-lux), box-shadow .5s; }
.pj-tool::after { content: ''; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(241, 198, 74, .14), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.pj-tool:hover { border-color: rgba(212, 175, 55, .4); transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.pj-tool:hover::after { opacity: 1; }
.pj-tool:focus-visible { outline: 2px solid var(--pj-gold); outline-offset: 3px; }
.pj-tool-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-content: center; background: rgba(212, 175, 55, .1); border: 1px solid rgba(212, 175, 55, .3); margin-bottom: 20px; }
.pj-tool-ic svg { width: 23px; height: 23px; fill: none; stroke: var(--pj-gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pj-tool h3 { font-size: 19px; margin: 0 0 8px; }
.pj-tool p { margin: 0 0 18px; font-size: 14px; line-height: 1.65; color: var(--text-dim); }
.pj-tool-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pj-gold); transition: gap .3s; }
.pj-tool-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.pj-tool:hover .pj-tool-go { gap: 12px; }

.pj-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(32px, 4vw, 54px); border-radius: 26px; background: var(--grad-gold); background-size: 200% 200%; animation: pjGrad 10s ease infinite; box-shadow: 0 30px 70px rgba(212, 175, 55, .22); }
.pj-cta::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); animation: pjGlint 5s ease-in-out infinite; pointer-events: none; }
@keyframes pjGrad { 50% { background-position: 100% 50%; } }
@keyframes pjGlint { 0%, 60% { left: -40%; } 100% { left: 120%; } }
.pj-cta h2 { color: #0A0D0B; font-size: clamp(24px, 3vw, 36px); margin: 0 0 8px; }
.pj-cta p { color: rgba(10, 13, 11, .75); margin: 0; font-size: 15.5px; max-width: 540px; }
.pj-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.pj-btn-dark { background: #0A0D0B; color: var(--pj-gold) !important; border: 1px solid #0A0D0B; }
.pj-btn-dark:hover { background: #151B16; }
.pj-btn-line { background: transparent; color: #0A0D0B !important; border: 1px solid rgba(10, 13, 11, .45); }
.pj-btn-line:hover { border-color: #0A0D0B; background: rgba(10, 13, 11, .06); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .pj-tool-grid { grid-template-columns: 1fr 1fr; }
    .pj-sort { margin-left: 0; }
    .pj-card.is-featured { grid-template-columns: 1fr; }
    .pj-card.is-featured .pj-media { min-height: 0; aspect-ratio: 16 / 9; }
    .pj-card.is-featured .pj-media::after { background: linear-gradient(180deg, rgba(5, 7, 6, .45) 0%, transparent 30%, transparent 60%, rgba(13, 18, 14, .9) 100%); }
    .pj-card.is-featured .pj-tools { left: auto; right: 16px; }
    .pj-card.is-featured .pj-body { margin-top: -34px; padding: 6px 28px 26px; }
}
@media (max-width: 960px) {
    .pj-hero-inner { grid-template-columns: 1fr; }
    .pj-deck { height: clamp(420px, 100vw, 520px); }
    .pj-grid { grid-template-columns: 1fr; }
    .pj-filters { position: relative; top: 0; }
    .pj-fgroup:not(.pj-sort) { width: 100%; }
    .pj-seg { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
    .pj-seg::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
    .pj-hero { padding-top: 92px; }
    .pj-deck-card { width: 74%; margin-left: -37%; }
    .pj-deck-now { font-size: 17px; }
    .pj-body { padding: 4px 18px 20px; }
    .pj-card.is-featured .pj-body { padding: 4px 18px 22px; }
    .pj-specs li { padding: 10px; }
    .pj-specs b { font-size: 13px; }
    .pj-foot { flex-direction: column; align-items: stretch; }
    .pj-actions { width: 100%; }
    .pj-actions a { flex: 1; justify-content: center; }
    .pj-sort, .pj-select select { width: 100%; }
    .pj-tool-grid { grid-template-columns: 1fr; }
    .pj-cta-btns, .pj-cta-btns .btn { width: 100%; justify-content: center; text-align: center; }
    .pj-tray { bottom: 84px; gap: 10px; padding: 10px; }
    .pj-tray-text span { display: none; }
    .pj-hero-ctas .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .pj-hero-copy > *, .pj-line > span, .pj-deck { animation: none !important; opacity: 1 !important; transform: none !important; }
    .pj-title em, .pj-hero-grid, .pj-beam, .pj-pulse, .pj-status i, .pj-card.is-featured::before, .pj-cta, .pj-cta::after { animation: none !important; }
    .pj-card.pre, .pj-card.pre .pj-media { opacity: 1; transform: none; clip-path: none; }
    .pj-deck-card, .pj-card, .pj-media img { transition: none !important; }
}

/* ---------- Polish ---------- */
.pj-hero .breadcrumb { margin: 0; padding: 0; }
.pj-hero { padding-top: clamp(92px, 8vw, 104px); }
.pj-filters { gap: 12px 16px; padding: 14px 16px; }
.pj-seg button { padding: 9px 12px; }
.pj-select select { min-width: 170px; }
.pj-go, .pj-ghost { white-space: nowrap; }
@media (min-width: 961px) {
    .pj-filters.is-stuck { padding: 10px 14px; }
    .pj-filters.is-stuck .pj-flabel { display: none; }
    .pj-filters.is-stuck .pj-fgroup { gap: 0; }
}
@media (max-width: 1240px) and (min-width: 961px) {
    .pj-flabel { display: none; }
    .pj-fgroup { gap: 0; }
}
@media (max-width: 640px) {
    .pj-tray { left: 12px; right: 12px; transform: translateY(160%); max-width: none; justify-content: space-between; }
    .pj-tray.show { transform: none; }
    .pj-tray-slots img { width: 38px; height: 38px; }
    .pj-tray-text strong { font-size: 13.5px; white-space: nowrap; }
    .pj-tray-go { padding: 12px 16px; font-size: 12px; white-space: nowrap; }
    .pj-tray-clear { padding: 6px 4px; }
    .pj-ghost, .pj-go { padding: 12px 14px; font-size: 12px; letter-spacing: .04em; }
}
