/* Original artwork, separated into reusable SVG layers; no bitmap alteration. */
.office-scene { position: relative; }
.office-motion-fallback { display: block; width: 100%; height: auto; aspect-ratio: 4660 / 1552; }
.office-scene[data-motion-enhanced="true"] .office-motion-fallback { display: none; }
.office-scene[data-motion-enhanced="true"] .office-stage { display: block; }
.office-stage { display: none; width: 100%; height: auto; aspect-ratio: 4660 / 1552; overflow: hidden; background: #cdfc56; }
.office-colleague { transform-origin: var(--colleague-origin); animation: office-workday 5.8s ease-in-out infinite; animation-delay: var(--colleague-delay); animation-play-state: paused; pointer-events: none; }
.office-hit-targets rect { pointer-events: all; cursor: pointer; }
.office-colleague-reaction { transform-origin: var(--colleague-origin); }
.colleague-associate { animation-name: office-focus; animation-duration: 6.7s; }
.colleague-trader { animation-name: office-typing; animation-duration: 4.6s; }
.colleague-manager { animation-name: office-focus; animation-duration: 7.6s; animation-direction: reverse; }
.colleague-partner { animation-name: office-workday; animation-duration: 6.3s; animation-direction: reverse; }
[data-office-scene][data-motion-running="true"] .office-colleague { animation-play-state: running; }
.office-motion-controls { display: flex; justify-content: center; align-items: center; gap: 9px; flex-wrap: wrap; padding: 5px 14px 10px; position: relative; }
.office-presence { font: 750 9px/1.4 var(--sans); letter-spacing: .65px; margin-right: 6px; color: #354322; }
.office-presence > span { display: inline-block; margin-right: 4px; }
.office-motion-button { appearance: none; background: #e6ffb4; color: #2b381d; border: 1px solid #769047; border-radius: 0; min-height: 31px; padding: 5px 10px; font: 700 10px/1.4 var(--sans); cursor: pointer; }
.office-motion-button:hover:not(:disabled) { background: #f1ffd6; }
.office-motion-button:focus-visible { outline: 3px solid #354322; outline-offset: 3px; }
.office-motion-button:disabled { opacity: .75; cursor: default; }
.office-motion-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.office-hello { opacity: 0; fill: none; stroke: #2a3423; stroke-width: 5px; stroke-linecap: square; }
[data-motion-running="true"] .is-reacting > .office-colleague-reaction { animation: office-say-hi 1s ease-in-out both; }
[data-motion-running="true"].office-is-greeting .office-hello { animation: office-hello-lines 1s ease both; }
[data-office-guide] { transform-origin: 50% 80%; animation: office-guide-breathe 1.8s ease-in-out 1; animation-play-state: paused; }
[data-office-guide][data-motion-running="true"] { animation-play-state: running; }
@keyframes office-workday {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  20% { transform: translateY(3px) rotate(-1.05deg); }
  38% { transform: translateY(0) rotate(.8deg); }
  52%, 60% { transform: translateY(4px) rotate(.25deg); }
  76% { transform: translateY(1px) rotate(-.6deg); }
}
@keyframes office-focus {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-2px, 4px) rotate(1.4deg); }
  48% { transform: translate(1px, 1px) rotate(-.65deg); }
  65% { transform: translate(0, 5px) rotate(.4deg); }
  79% { transform: translate(-1px, 2px) rotate(-.8deg); }
}
@keyframes office-typing {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  15% { transform: translateY(3px) rotate(-.65deg); }
  24% { transform: translateY(1px) rotate(-.2deg); }
  34% { transform: translateY(4px) rotate(.55deg); }
  46% { transform: translateY(0) rotate(.35deg); }
  64% { transform: translateY(4px) rotate(.65deg); }
  73% { transform: translateY(1px) rotate(0deg); }
  87% { transform: translateY(3px) rotate(-.65deg); }
}
@keyframes office-say-hi {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-5px) rotate(-2.3deg); }
  52% { transform: translateY(-3px) rotate(1.8deg); }
  75% { transform: translateY(0) rotate(-.9deg); }
}
@keyframes office-hello-lines { 0%, 100% { opacity: 0; } 15%, 75% { opacity: .9; } }
@keyframes office-guide-breathe { 0%, 30%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-3px) rotate(-1.5deg); } 70% { transform: translateY(-1px) rotate(.8deg); } }
@media (max-width: 600px) {
  .office-stage { width: 100%; max-width: 100%; margin: 0; }
  .office-motion-controls { padding: 8px 18px; gap: 7px; }
  .office-presence { flex-basis: 100%; text-align: center; font-size: 8px; margin: 0; }
  .office-motion-button { min-height: 34px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .office-colleague, .office-colleague-reaction, .office-hello, [data-office-guide] { animation: none !important; transform: none !important; }
}
