/* The job-site scene (scene.js): home hero + /intro/. The drawing's colours are its own (a sky, steel,
   a crane with the flag, a welder); the site is light only; the call-out and the Knowledge
   Source box use the site's tokens. Desktop: the drawing on the left; the call-out and, under it, the
   box on the right, OUTSIDE the drawing; the call-out's tail and a line run to the iPad. Narrow: the
   call-out and the box under the drawing. */
.scn {
  --s-sky1: #a9cdea; --s-sky2: #eaf2f8; --s-cloud: #ffffff; --s-city: #c7d5e2; --s-ground: #cdbfa6; --s-slab: #a8a091;
  --s-steel: #b0503a; --s-steel-d: #7c3322; --s-deck: #8e959d; --s-crane: #f2b51b; --s-crane-l: #dc9d0c; --s-weight: #8a9199;
  --s-glass: #35506a; --s-cable: #2d3238; --s-fence: #8f8777;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px 64px; align-items: start;
  grid-template-areas: "art call" "art ks" "sample sample"; margin: 6px 0 40px;
}

.scn-art { grid-area: art; position: relative; min-width: 0; align-self: start; }
.scn-pic { aspect-ratio: 1000 / 560; border-radius: 18px; overflow: hidden; background: var(--s-sky2); box-shadow: 0 0 0 1px var(--rule); }
.scn-svg { display: block; width: 100%; height: 100%; }

/* the drawing */
.s-sky1 { stop-color: var(--s-sky1); } .s-sky2 { stop-color: var(--s-sky2); }
.s-cloud { fill: var(--s-cloud); opacity: .8; }
.s-clouds { animation: s-drift 60s linear infinite alternate; }
@keyframes s-drift { from { transform: translateX(-30px); } to { transform: translateX(40px); } }
.s-city { fill: var(--s-city); }
.s-ground { fill: var(--s-ground); } .s-slab { fill: var(--s-slab); }
.s-fence { stroke: var(--s-fence); stroke-width: 3; fill: none; stroke-linecap: round; }
.s-steel { fill: var(--s-steel); } .s-steel-d { fill: var(--s-steel-d); }
.s-deck { fill: var(--s-deck); } .s-brace { stroke: var(--s-steel-d); stroke-width: 3; fill: none; }
.s-crane { fill: var(--s-crane); } .s-cab { fill: var(--s-crane); } .s-glass { fill: var(--s-glass); }
.s-crane-l { stroke: var(--s-crane-l); stroke-width: 2.4; fill: none; stroke-linejoin: round; }
.s-weight { fill: var(--s-weight); }
.s-cable { stroke: var(--s-cable); stroke-width: 1.6; fill: none; } .s-hook { fill: var(--s-cable); }
.s-beacon { fill: #e5392b; animation: s-blink 1.6s steps(1) infinite; }
.s-beacon.fast { animation-duration: .4s; }
@keyframes s-blink { 50% { fill: #6b1d16; } }
.s-cone { fill: #f26b1d; }
/* the job-site trailer */
.s-tr { fill: #e6eaee; } .s-tr-d { fill: #b9c1c9; } .s-tr-w { fill: #8fb0cc; } .s-tr-door { fill: #cfd6dd; stroke: #aab3bc; stroke-width: 1.5; }
.s-tr-step { fill: #8d939b; }
/* the flags, flown from a weighted rope hung off the jib (scene.js drawFlag): the American flag, the South Carolina
   flag under it */
.s-scb { fill: #1b3d6d; } .s-scw { fill: #ffffff; }
.s-fr { fill: #b22234; } .s-fw { fill: #ffffff; } .s-fb { fill: #3c3b6e; }
.s-fold { fill: #000; }
.s-rope { stroke: #3a3f45; stroke-width: 1.4; fill: none; }
.s-fweight { fill: #4a5058; }
/* the welder: arc flicker + falling sparks */
.s-jeans, .s-warm { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.s-jeans { stroke: #33465e; } .s-warm { stroke: #8a4b2a; }
.s-wjacket { fill: #8a4b2a; } .s-wvest { fill: #cfe63b; }
.s-torch { stroke: #3a3f45; stroke-width: 3; stroke-linecap: round; }
.s-hood { fill: #2b2f36; }
.s-arc-glow { fill: url(#sArc); animation: s-flick 1.1s steps(1) infinite; }
.s-arc { fill: #fff; animation: s-flick 1.1s steps(1) infinite; }
@keyframes s-flick { 0% { opacity: 1; } 12% { opacity: .55; } 20% { opacity: 1; } 38% { opacity: .75; } 52% { opacity: 1; } 66% { opacity: .5; } 74% { opacity: 1; } 90% { opacity: .8; } }
.s-spark { fill: #ffb347; opacity: 0; animation: s-spark 1.2s ease-in infinite; }
@keyframes s-spark { 0% { opacity: 1; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }
/* the crew member */
.s-shirt, .s-collar { fill: #1f3a5a; } .s-collar { fill: #172d47; }
.s-sleeve { stroke: #23416a; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.s-vest { fill: #cfe63b; stroke: #a9be22; stroke-width: 2; }
.s-reflect { fill: #e9edf0; }
.s-skin { fill: #c68a62; } .s-skin-d { fill: #a86f4c; stroke: #a86f4c; }
.s-hair { fill: #2a211b; }
.s-glasses { fill: #22313f; opacity: .85; } .s-glasses-l { stroke: #22313f; stroke-width: 3; fill: none; }
.s-mouth { stroke: #7a4a33; stroke-width: 2.6; fill: none; stroke-linecap: round; }
.s-hat { fill: #f59f00; } .s-hat-d { stroke: #c97f00; stroke-width: 3; fill: none; stroke-linecap: round; }
/* the crew member's white hard hat with the company's initials (Ridgeline) */
.s-hat-w { fill: #f6f7f9; stroke: #c9ced5; stroke-width: 2; } .s-hat-wd { stroke: #c9ced5; stroke-width: 3; fill: none; stroke-linecap: round; }
.s-hat-rl { font-family: var(--display); font-weight: 700; font-size: 23px; fill: #14304a; letter-spacing: .5px; }
.s-bezel { fill: #1b2026; }
.s-screen { fill: #eef4fb; transition: fill .4s ease; }
.s-ui { fill: #14304a; } .s-ui-me { fill: #d4dde8; } .s-ui-l { fill: #c3cfdb; } .s-ui-chip { fill: #f59f00; opacity: .75; }
.scn-lit .s-screen { fill: #ffffff; }
.scn-lit .s-tab { filter: drop-shadow(0 0 10px rgba(255, 214, 120, .75)); }
.s-tab { transition: filter .4s ease; }

/* the call-out: the app's chat on the iPad, bigger */
.scn-call { grid-area: call; position: relative; background: var(--card); color: var(--ink);
  border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(10, 25, 40, .55), 0 0 0 1px var(--rule); overflow: hidden; z-index: 2;
  display: flex; flex-direction: column; font-size: 14px; line-height: 1.4; }
/* the iPad's status bar (every scene): time on the left, cell signal + 5G + battery on the right */
.scn-status { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px 0; font-size: 12px; font-weight: 600;
  color: var(--ink); font-variant-numeric: tabular-nums; }
.scn-status .st-r { display: inline-flex; align-items: center; gap: 5px; }
.scn-status svg { height: 11px; width: auto; fill: currentColor; }
.scn-status b { font-size: 11px; }
.scn-app { display: flex; align-items: baseline; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--rule); font-size: 12.5px; color: var(--soft); }
.scn-app b { color: var(--ink); font-size: 13.5px; }
.scn-app .cm { align-self: center; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; }
.scn-tx { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 4px; min-height: 148px; }
.scn-me { align-self: flex-end; max-width: 85%; background: color-mix(in srgb, var(--soft) 16%, var(--card)); border-radius: 14px; padding: 6px 11px; animation: s-in .3s ease both; }
.scn-bot { animation: s-in .35s ease both; }
.scn-bot p { margin: 0 0 6px; }
.scn-src { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; }
.scn-src .lbl { color: var(--soft); }
.scn-src .chip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--rule); border-radius: 999px; padding: 2px 9px; color: var(--focus); }
.scn-src .chip em { font-style: normal; color: var(--soft); }
.scn-dots { display: inline-flex; gap: 4px; padding: 6px 2px; }
.scn-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--soft); opacity: .4; animation: s-dot 1s infinite; }
.scn-dots i:nth-child(2) { animation-delay: .15s; } .scn-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes s-dot { 40% { opacity: 1; transform: translateY(-2px); } }
@keyframes s-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.scn-box { display: flex; align-items: center; gap: 6px; margin: 6px 10px 10px; border: 1px solid var(--rule); border-radius: 999px; padding: 5px 5px 5px 12px; color: var(--soft); min-height: 34px; }
.scn-box .ph, .scn-box .typed { flex: 1; }
.scn-box .typed { color: var(--ink); }
.scn-box .car { display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--focus); animation: s-blink2 1s steps(1) infinite; }
@keyframes s-blink2 { 50% { opacity: 0; } }
.scn-box .snd { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.scn-box .snd svg { width: 15px; height: 15px; }

/* the line, its dot, the AI badge, the call-out's tail */
.scn-over { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.scn-tail { fill: var(--card); stroke: var(--rule); stroke-width: 1; }
.scn-link { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-dasharray: 7 7; opacity: .75; }
.scn-link-run { fill: none; stroke: var(--amber); stroke-width: 6; opacity: 0; transition: opacity .3s ease; filter: blur(3px); }
.scn-busy .scn-link-run { opacity: .35; }
.scn-dot { fill: var(--amber); opacity: 0; filter: drop-shadow(0 0 6px var(--amber)); }
.scn-ai { position: absolute; z-index: 3; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--navy); color: #fff; border-radius: 999px; padding: 5px 11px 5px 8px; font-size: 13px; font-weight: 600;
  box-shadow: 0 6px 16px -8px rgba(10, 25, 40, .7); transition: transform .25s ease, box-shadow .25s ease; }
.scn-ai svg { width: 16px; height: 16px; color: var(--amber); }
.scn-ai.on { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 6px color-mix(in srgb, var(--amber) 35%, transparent); }

/* the Knowledge Source box */
.scn-ks { grid-area: ks; position: relative; z-index: 2; margin-top: 58px; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 14px 14px 12px; }
.scn-ks-hd { display: flex; gap: 10px; align-items: center; }
.scn-ks-hd svg { width: 28px; height: 28px; color: var(--amber-ink); flex: none; }
.scn-ks-hd b { display: block; font-family: var(--display); font-size: 19px; line-height: 1.1; }
.scn-ks-hd span { font-size: 13.5px; color: var(--soft); }
.scn-docs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.scn-docs li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; padding: 6px 9px; border-radius: 9px; border: 1px solid var(--rule);
  background: var(--ground); transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, max-height .5s ease, opacity .5s ease, padding .5s ease; }
.scn-docs li i { width: 13px; height: 16px; flex: none; border: 1.6px solid var(--soft); border-radius: 2px; opacity: .7; }
.scn-docs li .kind { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--soft); margin-left: auto; }
.scn-docs li .pg { font-style: normal; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 1px 7px; white-space: nowrap; flex: none;
  color: #fff; background: var(--amber-ink); display: none; margin-left: auto; }
.scn-docs li .badge { font-style: normal; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 1px 7px; color: var(--good); border: 1px solid var(--good); }
.scn-docs li.hit { border-color: var(--amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 35%, transparent); background: var(--card); }
.scn-docs li.hit .pg { display: inline-block; } .scn-docs li.hit .kind { display: none; }
.scn-sample { grid-area: sample; margin: -2px 0 0; font-size: 13.5px; color: var(--soft); }

/* narrower: the call-out and the box under the drawing */
@media (max-width: 900px) {
  .scn { grid-template-columns: 1fr; grid-template-areas: "art" "call" "ks" "sample"; gap: 22px; }
  .scn-call { justify-self: center; width: min(100%, 460px); }
  .scn-ks { justify-self: center; width: min(100%, 420px); margin-top: 50px; }
  .scn-sample { text-align: center; }
}
@media (max-width: 700px) {
  .scn-tx { min-height: 132px; }
  .scn-ai { font-size: 12.5px; }
}


@media (prefers-reduced-motion: reduce) {
  .scn *, .scn-ai { animation: none !important; transition: none !important; }
}

/* ---- the crane game (scene-game.js) ---- */
.s-white { fill: #f4f5f6; stroke: #c9ced4; stroke-width: 1; } .s-white-d { fill: #d6dbe0; }
.s-sig { fill: none; stroke: #1f3a5a; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.s-target { fill: color-mix(in srgb, #f59f00 18%, transparent); stroke: #f59f00; stroke-width: 2.5; stroke-dasharray: 6 4; rx: 2;
  animation: s-pulse 1.2s ease-in-out infinite; }
@keyframes s-pulse { 50% { stroke-opacity: .35; } }
.s-moving .s-arc, .s-moving .s-arc-glow, .s-moving .s-spark, .s-cheer .s-arc, .s-cheer .s-arc-glow, .s-cheer .s-spark, .s-cheer .s-torch { display: none; }

/* the card under the answer that starts it */
.scn-card { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 8px; padding: 9px 12px; border-radius: 12px;
  border: 1.5px solid var(--amber); background: var(--ground); color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  box-shadow: 0 0 12px 1px color-mix(in srgb, var(--amber) 40%, transparent); }
/* an amber glow, standing still (Patrick, 25 Oct: no motion but the flags until someone plays) */
.scn-card:hover, .scn-card:focus-visible { border-color: var(--amber); }
.scn-card svg { width: 26px; height: 26px; color: var(--amber-ink); flex: none; }
.scn-card b { display: block; font-size: 14.5px; } .scn-card span span { font-size: 12.5px; color: var(--soft); }

/* the same, under the picture (Patrick, 25 Oct); hidden while a game is on */
.scn-playbar { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 14px 8px 10px; border-radius: 999px;
  border: 1.5px solid var(--amber); background: var(--ground); color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.scn-playbar[hidden], .scn-gaming .scn-playbar { display: none; }
.scn-playbar:hover, .scn-playbar:focus-visible { background: color-mix(in srgb, var(--amber) 14%, var(--ground)); }
.scn-playbar svg { width: 22px; height: 22px; color: var(--amber-ink); flex: none; }

/* calm until someone plays (Patrick, 25 Oct): in the picture nothing moves but the flags (scene.js keeps a gentle
   breeze and no swing) - no drifting clouds, blinking beacon or welding arc. A game (.scn-gaming)
   brings it all back; the call-out's questions and answers still play. */
.scn:not(.scn-gaming) .s-clouds, .scn:not(.scn-gaming) .s-beacon { animation: none; }
.scn:not(.scn-gaming) .s-arc, .scn:not(.scn-gaming) .s-arc-glow, .scn:not(.scn-gaming) .s-spark { display: none; }

/* the controls, in the call-out */
.scn-game { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; outline: none; }
.scn-game[hidden] { display: none; }
.g-top { display: flex; justify-content: space-between; align-items: baseline; }
.g-top b { font-family: var(--display); font-size: 19px; }
.g-time { font-family: var(--mono); font-size: 14px; color: var(--soft); }
.g-safe { margin: -2px 0 0; font-size: 12.5px; color: var(--soft); }
.g-keys { margin: 0; font-size: 13px; color: var(--soft); }
.g-keys[hidden], .g-done .g-keys, .g-done .g-safe { display: none; }
.g-msg { margin: 0; min-height: 2.8em; font-size: 14px; color: var(--ink); }
.g-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.g-row[hidden], .g-end[hidden], .g-msg[hidden] { display: none; }
.g-pad { display: grid; grid-template-columns: 48px 48px 48px; grid-template-rows: 48px 48px; gap: 6px; }
.g-btn { display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 12px; background: var(--ground); color: var(--ink);
  cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; padding: 0; }
.g-btn svg { width: 22px; height: 22px; }
.g-btn.on, .g-btn:active { background: var(--navy); color: #fff; border-color: var(--navy); }
.g-l { grid-column: 1; grid-row: 2; } .g-u { grid-column: 2; grid-row: 1; } .g-d { grid-column: 2; grid-row: 2; } .g-r { grid-column: 3; grid-row: 2; }
.g-stats { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--soft); text-align: right; }
.g-stats b { color: var(--ink); font-family: var(--mono); }
.g-exit { align-self: flex-start; font: inherit; font-size: 13.5px; color: var(--focus); background: none; border: 0; padding: 4px 0;
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.g-end { text-align: center; padding: 4px 0 2px; }
.g-big { margin: 0; font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.05; color: var(--amber-ink); animation: s-pop .5s ease-out both; }
@keyframes s-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.g-sum, .g-rate, .g-cta { margin: 4px 0 0; font-size: 14.5px; }
.g-cta { color: var(--soft); }
.g-acts { display: flex; justify-content: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.scn-gaming .scn-ks { opacity: .45; transition: opacity .3s ease; }
.scn-gaming .scn-ai { opacity: .45; }

/* ---- the industry picker (home) ---- */
.scn-pick { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 14px; }
.scn-pick button { font: inherit; font-weight: 600; font-size: 15.5px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--rule);
  background: var(--card); color: var(--ink); cursor: pointer; }
.scn-pick button:hover { border-color: var(--soft); }
.scn-pick button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---- the figure's outfits (scene.js figure) ---- */
.s-o-hvac .s-shirt { fill: #24406a; } .s-o-hvac .s-sleeve { stroke: #2a4a78; }
.s-placket { stroke: #1a3050; stroke-width: 3; fill: none; }
.s-patch { fill: #f59f00; } .s-patch-t { font-family: var(--display); font-weight: 700; font-size: 17px; fill: #14304a; text-anchor: middle; }
.s-cap { fill: #1d3557; } .s-cap-bill { fill: #16294a; } .s-cap-d { stroke: #2d4a72; stroke-width: 2; fill: none; }
.s-cap-rl { font-family: var(--display); font-weight: 700; font-size: 20px; fill: #f59f00; }
.s-o-retail .s-shirt { fill: #6f8f7a; } .s-o-retail .s-sleeve { stroke: #7a9b85; } .s-o-retail .s-collar { fill: #5e7d69; }
.s-o-retail .s-hair { fill: #4a2f22; }
.s-lanyard { stroke: #14304a; stroke-width: 4; fill: none; } .s-badge { fill: #fff; stroke: #c9ced4; stroke-width: 1.5; } .s-badge-l { fill: #8a95a3; }
.s-o-office .s-shirt { fill: #5f86b3; } .s-o-office .s-sleeve { stroke: #6b92bf; } .s-o-office .s-collar { fill: #4f739c; }
.s-eye { fill: #2a211b; } .s-brow { stroke: #4a2f22; stroke-width: 2.5; fill: none; stroke-linecap: round; }

/* ---- the "Any business" scene (scene-office.js) ---- */
.o-wall { fill: #eef0ec; } .o-slab { fill: #5d6670; } .o-ext { fill: #c9c2b4; } .o-door { fill: #a9c4da; stroke: #6d7f90; stroke-width: 2; }
.o-carpet { fill: #9aa3ad; } .o-line { stroke: #8d969f; stroke-width: 1.5; } .o-base { fill: #d8dbd6; }
.o-city { fill: var(--s-city); } .o-grass { fill: #9cc36b; } .o-walk { fill: #c9c5bb; }
.o-tree { stroke: #7a5a3a; stroke-width: 8; } .o-leaf { fill: #6f9a52; }
.o-cord { stroke: #3a3f45; stroke-width: 2; } .o-shade { fill: #14304a; } .o-bulb { fill: #ffe9a8; }
.o-win { fill: #cfe2f0; stroke: #fff; stroke-width: 6; } .o-win-l { stroke: #fff; stroke-width: 4; fill: none; }
.o-sign { font-family: var(--display); font-weight: 700; font-size: 30px; fill: #14304a; letter-spacing: 1px; }
.o-sign2 { font-family: var(--body); font-weight: 600; font-size: 12px; fill: #566271; letter-spacing: 6px; }
.o-case { fill: #b88b5e; } .o-board { stroke: #8a5d3b; stroke-width: 6; } .o-lbl { fill: #f6f1e8; }
.o-plaque { fill: #14304a; } .o-plaque-t { font-family: var(--body); font-weight: 600; font-size: 10.5px; fill: #fff; text-anchor: middle; }
.o-mon { fill: #1b2026; } .o-scr { fill: #ffffff; } .o-ui { fill: #14304a; } .o-ui-me { fill: #d4dde8; } .o-ui-l { fill: #c3cfdb; }
.o-ui-chip { fill: #f59f00; opacity: .75; } .o-stand { fill: #3a4048; } .o-kb { fill: #c9ced4; }
.o-top { fill: #8a5d3b; } .o-leg { stroke: #6e4a2f; stroke-width: 6; } .o-seat { fill: #2c3540; } .o-chair { stroke: #3a4048; stroke-width: 5; fill: none; }
.o-neck { fill: #c58c64; }

/* ---- the HVAC scene (scene-hvac.js) ---- */
.h-sun { fill: #ffd166; }
.h-trees { fill: #a9c79a; }
.h-lawn { fill: #9cc36b; } .h-drive { fill: #c4c7c9; } .h-walk { fill: #d6d1c4; }
.h-wall { fill: #efe7d6; } .h-siding { stroke: #ddd2bd; stroke-width: 1.5; fill: none; }
.h-roof { fill: #6b5446; } .h-roof-d { stroke: #574437; stroke-width: 4; fill: none; stroke-linejoin: round; }
.h-chim { fill: #9a5a45; }
.h-win rect { fill: #bcd5ea; stroke: #fff; stroke-width: 4; } .h-win path { stroke: #fff; stroke-width: 3; fill: none; }
.h-door { fill: #2c4a6e; } .h-knob { fill: #f2c14e; } .h-step { fill: #b9b3a6; }
.h-shrub { fill: #6f9a52; }
.h-temp rect { fill: #fff; stroke: #c9ced4; stroke-width: 1.5; }
.h-therm { fill: #2f7fd1; } .h-temp-l { font-size: 11px; fill: #566271; font-family: var(--body); }
.h-temp-t { font-size: 15px; font-weight: 700; fill: #16202b; font-family: var(--display); }
.h-box { fill: #9aa3ad; stroke: #7d8691; stroke-width: 1.5; } .h-box-d { fill: #6d7680; }
.h-lever { fill: #e5392b; transform-box: fill-box; transform-origin: 50% 100%; transition: transform .35s ease; }
.h-conduit, .h-lines { stroke: #56606b; stroke-width: 4; fill: none; stroke-linecap: round; } .h-lines { stroke: #2b2f33; stroke-width: 5; }
.h-pad { fill: #b2ada3; }
.h-cab { fill: #d9dde1; stroke: #a7aeb5; stroke-width: 2; } .h-louv { stroke: #b9c0c6; stroke-width: 2; }
.h-grill { fill: #3a4048; stroke: #8d959e; stroke-width: 3; } .h-grill-l { stroke: #8d959e; stroke-width: 1.5; }
.h-blade { fill: #c9cfd5; } .h-hub { fill: #8d959e; }
.h-panel { fill: #cfd4d9; stroke: #a7aeb5; stroke-width: 1.5; transition: transform .4s ease, opacity .4s ease; transform-box: fill-box; transform-origin: 100% 50%; }
.h-cav { fill: #4a5058; }
.h-cap rect { fill: #c9ced4; stroke: #8d959e; stroke-width: 1; } .h-cap-top { fill: #c9ced4; stroke: #8d959e; stroke-width: 1; }
.h-cap.h-bad rect { fill: #b39a7a; } .h-cap:not(.h-bad) .h-cap-top { display: none; }
.h-van-b { fill: #f2f3f5; stroke: #c9ced4; stroke-width: 2; } .h-van-w { fill: #8fb0cc; } .h-van-s { fill: #14304a; }
.h-ladder { stroke: #8d959e; stroke-width: 3; fill: none; }
.h-van-t { font-family: var(--display); font-weight: 700; font-size: 19px; fill: #14304a; } .h-van-t2 { font-family: var(--body); font-size: 10px; fill: #566271; }
.h-tire { fill: #2b2f33; } .h-rim { fill: #9aa3ad; }


/* ---- the retail scene (scene-retail.js) ---- */
.r-svg { --r-wall: #efe4d2; }
.r-wall { fill: var(--r-wall); }
.r-floor { fill: #c9a77c; } .r-plank { stroke: #b8956a; stroke-width: 1.5; } .r-base { fill: #f6f1e8; }
.r-cord { stroke: #3a3f45; stroke-width: 2; } .r-shade { fill: #14304a; } .r-bulb { fill: #ffe9a8; }
.r-glass { fill: #cfe2f0; } .r-street { fill: #b4c9da; } .r-post { stroke: #6d7f90; stroke-width: 4; fill: none; }
.r-frame { fill: none; stroke: #2c3540; stroke-width: 8; } .r-frame-l { stroke: #2c3540; stroke-width: 5; }
.r-decal { font-family: var(--display); font-weight: 700; font-size: 15px; fill: #fff; text-anchor: middle; letter-spacing: 1px; opacity: .92; }
.r-pine { fill: #2f5d46; } .r-sign { font-family: var(--display); font-weight: 700; font-size: 30px; fill: #14304a; letter-spacing: 1px; }
.r-sign2 { font-family: var(--body); font-weight: 600; font-size: 12px; fill: #566271; letter-spacing: 4px; }
.r-cubby rect { fill: #e9dcc6; stroke: #b49a74; stroke-width: 4; } .r-cubby path { stroke: #b49a74; stroke-width: 4; }
.r-mq circle, .r-mq rect, .r-mq path { fill: #dfe2e6; stroke: #b9bfc6; stroke-width: 1.5; } .r-stand { stroke: #8d959e; stroke-width: 4; fill: none; }
.r-table { fill: #8a5d3b; } .r-legs { stroke: #6e4a2f; stroke-width: 6; }
.r-rack { stroke: #7a828b; stroke-width: 5; fill: none; stroke-linecap: round; } .r-hanger { stroke: #3a3f45; stroke-width: 1.5; fill: none; }
.r-counter { fill: #8a5d3b; } .r-counter-t { fill: #6e4a2f; } .r-reg { fill: #2c3540; }
.r-stores { position: absolute; left: 12px; top: 10px; display: flex; gap: 6px; z-index: 1; }
.r-stores span { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); color: var(--soft); box-shadow: 0 0 0 1px var(--rule); }
.r-stores span i { width: 7px; height: 7px; border-radius: 50%; background: #b9c0c6; }
.r-stores span.on { background: var(--navy); color: #fff; box-shadow: none; } .r-stores span.on i { background: var(--amber); }

@media (max-width: 560px) {
  .r-stores { left: 8px; top: 6px; gap: 4px; }
  .r-stores span { font-size: 10.5px; padding: 2px 7px; }
  .scn-pick button { font-size: 14.5px; padding: 7px 12px; }
}

/* the welder's topping-out moonwalk (scene.js cheer) */
.s-shoe { fill: #2b2f36; }
.mw-a, .mw-b { opacity: 1; } .mw-bent { opacity: 0; }
/* first half-beat: the back leg flat (sliding) + the front leg heel-up; second: the other way round (class mw-a =
   the back leg's flat pose and the front leg's bent one) */
.s-dance .mw-a { animation: s-mw1 .9s steps(1) infinite; }
.s-dance .mw-b { animation: s-mw2 .9s steps(1) infinite; }
@keyframes s-mw1 { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes s-mw2 { 0% { opacity: 0; } 50% { opacity: 1; } }
