/* hero3d: pixel-art office diorama for the company landing hero. Canvas 2D, no library, no network. The box reserves its size (aspect-ratio) so nothing shifts;
   without JS the static <img> inside it is the whole picture; JS adds the canvas and name chips on top. Text alternative is on the wrapper (role="img"). */
.hero3d { position: relative; width: 100%; max-width: 760px; aspect-ratio: 256 / 176; margin: clamp(18px, 3vw, 32px) auto 0; border-radius: var(--r-lg, 22px); overflow: hidden; contain: layout paint; border: 1px solid var(--border, rgba(42,118,80,.26)); background: #E3F1EA; }
.hero3d-still, .hero3d-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; image-rendering: pixelated; image-rendering: crisp-edges; pointer-events: none; }
.hero3d.is-live .hero3d-still { visibility: hidden; }
.hero3d-lb { position: absolute; transform: translate(-50%, 0); white-space: nowrap; font: 700 12px/1 var(--jg-font); letter-spacing: .04em; padding: 3px 6px 2px; background: #143D2B; color: #F2F8F5; border-bottom: 2px solid #5BA583; pointer-events: none; }
.hero3d-bub { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); max-width: min(170px, 62%); padding: 4px 8px 5px; background: #fff; color: #11201A; border: 2px solid #143D2B; border-radius: 9px; font: 700 12px/1.25 var(--jg-font); text-align: center; pointer-events: none; opacity: 0; visibility: hidden; z-index: 2; }
.hero3d-bub::after { content: ""; position: absolute; top: 100%; left: var(--tx, 50%); width: 8px; height: 8px; margin: -5px 0 0 -4px; background: #fff; border: solid #143D2B; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hero3d-pp { position: absolute; right: 8px; bottom: 8px; min-height: 48px; min-width: 48px; padding: 0 14px; font: 700 12px/1 var(--jg-font); background: #2A7650; color: #fff; border: 0; border-radius: 999px; cursor: pointer; opacity: .92; }
.hero3d-pp:focus-visible { outline: 3px solid #143D2B; outline-offset: 2px; }
@media (max-width: 600px) { .hero3d { border-radius: 14px; } .hero3d-lb { display: none; } .hero3d-lb { font-size: 11px; padding: 3px 5px 2px; } .hero3d-bub { font-size: 11px; max-width: min(150px, 60%); padding: 3px 6px 4px; } .hero3d-pp { min-height: 48px; padding: 0 10px; } }
@media (prefers-reduced-motion: reduce) { .hero3d-pp { display: none; } }
@media print { .hero3d { display: none; } }
/* SITE-HOME layout (2026-11-07): intro box left, #jg-office right on wide screens; stacked on phones. */
.hero-split > * { min-width: 0; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; }
.hero-split .hero3d { margin: 0; max-width: none; }
@media (min-width: 860px) { .hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; } }
@media (max-width: 859px) { .hero-split #jg-office { margin: 0 auto; width: 100%; max-width: 760px; } }
.hero3d-still { object-fit: cover; }
