
#jjg-stage{--gold:#c4ac7b;--paper:#f4f0e7;--line:#ffffff22}#jjg-stage,#jjg-stage *{box-sizing:border-box}#jjg-stage{position:fixed;inset:0;overflow:hidden}#jjg-backdrop{position:absolute;inset:0;z-index:0;background-image:linear-gradient(rgba(5,8,12,.24),rgba(5,8,12,.24)),var(--jjg-background);background-size:cover;background-position:center;filter:brightness(.68) saturate(.78)}#jjg-scene{position:absolute;inset:0;z-index:1;width:100%;height:100%;touch-action:none;cursor:grab}#jjg-scene.dragging{cursor:grabbing}#jjg-stage .stars{position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(1px 1px at 12% 20%,#ffffff55 45%,transparent 70%),radial-gradient(1px 1px at 86% 38%,#ffffff44 45%,transparent 70%),radial-gradient(1px 1px at 60% 79%,#ffffff33 45%,transparent 70%),radial-gradient(1px 1px at 31% 71%,#ffffff33 45%,transparent 70%),radial-gradient(1px 1px at 94% 84%,#ffffff44 45%,transparent 70%);opacity:0;display:none}#jjg-stage .topbar{height:96px;position:absolute;inset:0 0 auto;z-index:3;border-bottom:0;display:flex;align-items:center;justify-content:flex-start;padding:0 clamp(18px,3vw,48px);background:transparent;backdrop-filter:none}#jjg-stage .brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit;min-width:0;width:100%}#jjg-stage .logo-image{display:block;width:260px;height:64px;max-width:38vw;object-fit:contain;flex:0 0 auto}#jjg-stage .monogram{width:48px;height:48px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:var(--gold);font:32px NotoSerif,Georgia,serif}#jjg-stage .brandcopy strong{display:block;font-size:13px;letter-spacing:.22em}#jjg-stage .brandcopy span{display:block;color:#a5a39d;font-size:11px;letter-spacing:.23em;margin-top:5px}#jjg-stage .brand-title{font:500 clamp(12px,1.1vw,15px)/1.2 Inter,Arial,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#f4f0e7;white-space:nowrap;margin-left:auto;text-align:right}#jjg-stage .footer{position:absolute;z-index:3;left:clamp(22px,5vw,76px);right:clamp(22px,5vw,76px);bottom:24px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}#jjg-stage .hint{font-size:11px;letter-spacing:.19em;text-transform:uppercase;color:#bcb9b0}#jjg-stage .hint b{color:var(--gold);font-size:18px;margin-right:14px}#jjg-stage .controls{display:flex;gap:20px;pointer-events:auto}#jjg-stage .controls button{background:transparent;border:0;color:#d2cec5;font:11px Arial,sans-serif;letter-spacing:.17em;text-transform:uppercase;padding:10px;cursor:pointer}#jjg-stage .controls button:hover{color:var(--gold)}#jjg-stage .modal{display:none;position:absolute;inset:0;z-index:5;background:#000b;backdrop-filter:blur(9px);align-items:center;justify-content:center;padding:20px}#jjg-modal.show{display:flex}#jjg-stage .panel{position:relative;width:min(440px,94vw);max-height:92vh;overflow:auto;background:#1c1e1d;border:1px solid #ffffff25;border-radius:18px;padding:16px;box-shadow:0 20px 80px #000b}#jjg-stage .close{position:absolute;z-index:2;right:24px;top:24px;border:0;border-radius:50%;width:40px;height:40px;background:#0009;color:white;font-size:24px;cursor:pointer}#jjg-stage .detail-image{width:100%;height:min(42vh,360px);object-fit:cover;border-radius:12px;background:#252725;display:block}#jjg-stage .detail-kicker{color:var(--gold);font-size:11px;letter-spacing:.18em;text-transform:uppercase;margin:18px 2px 8px}#jjg-stage .panel h2{font:32px/1.05 Georgia,serif;margin:0 2px 12px}#jjg-stage .description{color:#cfcec7;font-size:14px;line-height:1.65;margin:0 2px 20px}#jjg-stage .open-project{display:block;text-align:center;color:#171716;background:var(--gold);border-radius:8px;padding:15px 12px;text-decoration:none;font-size:14px;font-weight:700}#jjg-stage .mobile-note{display:none}
@media(max-width:760px){#jjg-stage .topbar{height:86px;padding:0 16px}#jjg-stage .logo-image{width:min(46vw,205px);height:50px;max-width:none}#jjg-stage .brand{gap:8px}#jjg-stage .brand-title{font-size:9px;letter-spacing:.07em;max-width:94px;white-space:normal;line-height:1.3}#jjg-stage .footer{left:15px;right:15px;bottom:12px;align-items:flex-end}#jjg-stage .hint{max-width:60%;font-size:8px;line-height:1.6;letter-spacing:.12em}#jjg-stage .hint b{font-size:14px;margin-right:6px}#jjg-stage .controls{gap:2px}#jjg-stage .controls button{font-size:9px;letter-spacing:.1em;padding:8px 5px}#jjg-stage .mobile-note{display:block}}
@media(max-height:480px) and (orientation:landscape){#jjg-stage .topbar{height:76px}#jjg-stage .logo-image{width:66px;height:66px}#jjg-stage .footer{bottom:8px}}

#jjg-stage{position:fixed;inset:0!important;margin:0!important;padding:0!important;z-index:9990;background:#111;color:var(--paper);font-family:Inter,Arial,sans-serif}
#jjg-stage .topbar{justify-content:space-between}
#jjg-stage .brand{width:auto;flex:1}
#jjg-stage .top-actions{display:flex;align-items:center;gap:clamp(12px,2vw,30px);margin-left:auto}
#jjg-stage .menu-trigger{font:500 11px Inter,Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;color:#f4f0e7;background:transparent;border:1px solid #ffffff55;padding:12px 15px;cursor:pointer;white-space:nowrap}
#jjg-stage .brand-title{margin-left:0}
#jjg-stage .modal{z-index:5}
#jjg-stage .panel{background:#f7f5ef;color:#29261f;border-radius:2px;border:0;box-shadow:0 24px 80px #0008;padding:16px;max-height:calc(100vh - 56px);width:min(680px,94vw)}
#jjg-stage .detail-image{height:min(48vh,430px);border-radius:0}
#jjg-stage .detail-kicker{color:#6f5b2c}
#jjg-stage .panel h2{font-size:clamp(25px,4vw,38px);line-height:1.08;color:#29261f}
#jjg-stage .description{color:#5f5b54;font-size:15px}
#jjg-stage .open-project{border-radius:0;background:#bd9700;color:#fff;text-transform:uppercase;letter-spacing:.1em}
#jjg-stage .close{position:fixed;top:18px;right:22px;background:#111b;color:#fff}
#jjg-stage .empty-state{position:absolute;inset:40% 10% auto;text-align:center;color:#fff}
@media(max-width:760px){#jjg-stage .topbar{height:74px;padding:0 12px}#jjg-stage .brand-title{display:none}#jjg-stage .logo-image{width:90px;height:54px}#jjg-stage .top-actions{gap:6px}#jjg-stage .menu-trigger{font-size:8px;letter-spacing:.04em;padding:10px 7px}#jjg-stage .footer{left:10px;right:10px;bottom:8px}#jjg-stage .hint{max-width:50%}#jjg-stage .panel{padding:12px}#jjg-stage .detail-image{height:35vh}}


/* Match the existing James Johnson page header. */
#jjg-stage .topbar{height:100px;padding:0 max(24px,calc((100vw - 1580px)/2));justify-content:space-between;align-items:center}
#jjg-stage .brand{width:auto;flex:0 0 auto;min-width:0;gap:0;transform:none}
#jjg-stage .logo-image{width:min(300px,30vw);height:auto;max-width:none;max-height:72px;object-fit:contain}
#jjg-stage .brand-title{display:none!important}
#jjg-stage .top-actions{display:flex;align-items:center;justify-content:flex-end;gap:clamp(18px,2.2vw,42px);margin-left:auto}
#jjg-stage .menu-trigger{display:inline-flex;align-items:center;gap:14px;padding:8px 0;border:0;background:transparent;color:#fff;font:500 16px/1 Inter,Arial,sans-serif;letter-spacing:.08em;text-transform:none;cursor:pointer}
#jjg-stage .menu-trigger svg{display:block;width:32px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:square}
@media(max-width:760px){
 #jjg-stage .topbar{height:100px;padding:0 18px;align-items:center}
 #jjg-stage .brand{transform:none}
 #jjg-stage .logo-image{width:min(46vw,220px);max-height:64px}
 #jjg-stage .top-actions{position:absolute;top:28px;right:18px;display:flex;flex-direction:column-reverse;align-items:flex-end;gap:7px;margin:0}
 #jjg-stage .menu-trigger{gap:8px;font-size:13px;letter-spacing:.04em;min-height:34px}
 #jjg-stage .menu-trigger svg{width:25px;height:20px}
 #jjg-stage .footer{left:10px;right:10px;bottom:8px}
 #jjg-stage .hint{max-width:54%;font-size:8px;line-height:1.5;letter-spacing:.08em}
 #jjg-stage .controls{gap:2px}
 #jjg-stage .controls button{font-size:8px;letter-spacing:.06em;padding:8px 4px}
 #jjg-stage .panel{padding:12px}
 #jjg-stage .detail-image{height:35vh}
}

body.admin-bar #jjg-stage .topbar{top:32px;height:70px}
@media(max-width:760px){body.admin-bar #jjg-stage .topbar{top:32px;height:64px;padding:0 18px}body.admin-bar #jjg-stage .top-actions{top:14px}}

/* Prevent hairline gaps between the projected image mesh triangles. */
#jjg-stage .footer{bottom:60px}
#jjg-stage .hint{display:flex;align-items:center;gap:8px;max-width:min(70vw,760px);padding:10px 14px;border-radius:3px;background:rgba(0,0,0,.66);color:#fff;font-size:13px;line-height:1.4;letter-spacing:.045em;text-transform:none;text-shadow:0 1px 3px #000}
#jjg-stage .hint b{flex:0 0 auto;margin:0;color:#e0c47d;font-size:20px}
#jjg-stage .hint .mobile-instruction{display:none}
#jjg-stage .controls button{color:#fff;text-shadow:0 1px 4px #000}
#jjg-stage .copyright-footer{position:absolute;z-index:3;left:0;right:0;bottom:0;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:9px clamp(18px,3.2vw,50px);border-top:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.16);background:rgba(30,28,24,.94);color:#eeeae2;font:14px/1.35 Inter,Arial,sans-serif}
#jjg-stage .copyright-footer a{color:inherit;text-decoration:none}
#jjg-stage .copyright-footer a:hover,#jjg-stage .copyright-footer a:focus-visible{text-decoration:underline;text-underline-offset:3px}
#jjg-stage .copyright-footer .jjg-heart{color:#e95d70}
@media(max-width:760px){
 #jjg-stage .footer{bottom:62px;left:10px;right:10px;align-items:flex-end}
 #jjg-stage .hint{max-width:62%;padding:8px 9px;font-size:11px;line-height:1.35;letter-spacing:.015em;gap:6px}
 #jjg-stage .hint b{font-size:17px}
 #jjg-stage .hint .desktop-instruction{display:none}
 #jjg-stage .hint .mobile-instruction{display:inline}
 #jjg-stage .controls{gap:0}
 #jjg-stage .controls button{font-size:10px;letter-spacing:.035em;padding:8px 5px}
 #jjg-stage .copyright-footer{min-height:52px;flex-direction:column;justify-content:center;gap:3px;padding:6px 10px;text-align:center;font-size:10px;line-height:1.25}
}
@media(max-height:480px) and (orientation:landscape){#jjg-stage .footer{bottom:52px}#jjg-stage .copyright-footer{min-height:38px;padding:5px 14px;font-size:11px}}

/* Compact bottom row: instructions and globe controls stay together. */
#jjg-stage .footer{bottom:52px;align-items:center;gap:18px}
#jjg-stage .hint{max-width:none;padding:0;background:transparent;border-radius:0;color:#f4f0e7;font-size:13px;letter-spacing:.035em;text-shadow:none;box-shadow:none}
#jjg-stage .controls button{border:1px solid rgba(196,172,123,.82);border-radius:2px;background:rgba(196,172,123,.22);color:#fff;text-shadow:none;transition:background-color .18s ease,color .18s ease}
#jjg-stage .controls button:hover,#jjg-stage .controls button:focus-visible{background:#c4ac7b;color:#171716;outline:none}
#jjg-stage .copyright-footer{min-height:42px;justify-content:center;text-align:center}
@media(max-width:760px){
 #jjg-stage .footer{bottom:48px;left:9px;right:9px;gap:5px;align-items:center}
 #jjg-stage .hint{flex:1;min-width:0;max-width:none;white-space:nowrap;padding:0;font-size:clamp(8px,2.45vw,10px);letter-spacing:0;gap:5px}
 #jjg-stage .hint b{font-size:15px}
 #jjg-stage .controls{flex:0 0 auto;gap:3px}
 #jjg-stage .controls button{font-size:clamp(8px,2.2vw,9px);letter-spacing:.015em;padding:7px 6px}
 #jjg-stage .copyright-footer{min-height:40px;flex-direction:row;padding:6px 8px;font-size:12px;line-height:1.2}
}
@media(max-height:480px) and (orientation:landscape){#jjg-stage .footer{bottom:45px}#jjg-stage .copyright-footer{min-height:36px}}

/* Keep the footer credit light like the transparent header. */
#jjg-stage .copyright-footer{background:transparent!important;border:0!important;box-shadow:none!important;font-size:12px}
#jjg-stage .copyright-footer a{font-size:inherit;font-weight:400;color:#2f83c5;text-shadow:0 1px 3px rgba(0,0,0,.75)}
@media(max-width:760px){#jjg-stage .copyright-footer{font-size:12px}}

