.hq-grounds-exhibit{border-top:1px solid var(--line);background:linear-gradient(145deg,#23231a,#0c0e0c 55%);padding:clamp(15px,3vw,30px)}.hq-grounds-exhibit header{display:flex;justify-content:space-between;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:17px}.hq-grounds-exhibit h2{font-size:clamp(28px,4vw,44px);line-height:1;letter-spacing:-.04em;margin:7px 0}.hq-grounds-exhibit header p{color:#bdb7a8;font-size:15px;margin:8px 0 0}.hq-grounds-kicker{font:700 12px/1.4 monospace;letter-spacing:.06em;color:#e1bb63}.hq-grounds-badge{padding:8px 10px;border:1px solid #9d8045;color:#d3b674;font:700 11px/1.4 monospace;white-space:nowrap}
.hq-yard-catalog{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:0 0 16px}.hq-yard-catalog button{min-width:0;display:grid;place-items:center;gap:6px;background:#1e211a;border:1px solid #76643e;color:#eae4d6;font-weight:700;font-size:13px;padding:8px;min-height:44px}.hq-yard-catalog img{width:100%;aspect-ratio:1;object-fit:contain;max-height:95px}.hq-yard-catalog button[aria-pressed=true],.hq-garage-list button[aria-pressed=true]{border-color:#f7c54c;background:#302818;color:#ffda7c}
.hq-grounds-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:16px;align-items:start}.hq-yard-art{position:relative;border:1px solid #786740;background:linear-gradient(#17180fd9,#17180fe8),url('/assets/studios-brand/hq/yard-compound-day.webp') center/cover;min-height:260px;display:grid;place-items:center;overflow:hidden}.hq-yard-art:after{content:'';position:absolute;inset:auto 12px 12px;border-bottom:1px dashed #a8925760}.hq-yard-art img{width:85%;height:270px;object-fit:contain;filter:drop-shadow(0 12px 10px #0009);z-index:1}.hq-grounds-sheet{background:#e5ddc6;color:#241f16;padding:18px;border-top:5px solid #a2874e;box-shadow:3px 4px 0 #b59a5a44;min-width:0}.hq-grounds-sheet .hq-grounds-kicker{color:#6a542c}.hq-grounds-sheet h3{font-size:clamp(25px,3.5vw,35px);margin:8px 0;line-height:1.08;letter-spacing:-.03em}.hq-grounds-sheet p{font-size:15px;line-height:1.55}.hq-grounds-sheet small{display:block;color:#635536;font:700 11px/1.4 monospace}
.hq-grounds-sound{padding-top:12px;margin-top:12px;border-top:1px dashed #95815b}.hq-grounds-sound button{min-height:44px;padding:9px 12px;border:1px solid #92743c;background:#f5edd6;color:#282116;font-weight:700;margin:8px 5px 0 0}.hq-grounds-sound button:first-of-type{background:#f1c351}.hq-grounds-sound button:disabled{opacity:.5;cursor:default}.hq-grounds-sound [role=status]{min-height:18px;margin-top:4px}.hq-grounds-related{display:block;font-weight:800;padding:12px 0;color:#5b461d;border-top:1px solid #b6a17b;margin-top:12px}
.hq-garage-left{min-width:0}.hq-garage-rig{position:relative;border:1px solid #76623b;background:radial-gradient(ellipse at 45% 44%,#353328,#0c0e0c 76%);overflow:hidden;aspect-ratio:1000/667}.hq-garage-rig>img{width:100%;height:100%;object-fit:contain;display:block}.hq-garage-pins{position:absolute;inset:0}.hq-garage-pin{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;border-radius:50%;border:2px solid #f6cf69;background:#11170eea;color:#f9d56e;box-shadow:0 0 0 4px #0006;font:800 12px/1 monospace}.hq-garage-pin[aria-pressed=true]{color:#1d170c;background:#f6c84e;box-shadow:0 0 0 5px #eac35240}.hq-garage-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}.hq-garage-list button{min-height:44px;padding:10px;text-align:left;border:1px solid #78653c;background:#25251f;color:#e4ddc9;font-size:13px;font-weight:700}.hq-garage-detail{margin:12px 0;padding:10px;background:#20221a;color:#f5db9a;display:grid;place-items:center;gap:6px}.hq-garage-detail img{width:100%;height:160px;object-fit:contain}
.hq-grounds-footer{margin-top:15px;display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}.hq-grounds-footer small{color:#aaa697;font-size:13px;max-width:58ch}.hq-grounds-footer a{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:760px){.hq-yard-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.hq-grounds-grid{grid-template-columns:1fr}.hq-yard-art{min-height:210px}.hq-yard-art img{height:210px}.hq-garage-pin{width:36px;height:36px;font-size:11px}.hq-garage-list button{min-height:44px}.hq-grounds-sheet{padding:14px}}

/* v117: physical set plates. The original transparent art remains unmodified. */
.hq-workshop-dialog .hq-yard-art{isolation:isolate;width:100%;padding:10px 0 35px;min-height:280px;aspect-ratio:1.45;display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(180deg,#18120c35,#19100736 52%,#120d08a3),url('/assets/studios-brand/hq/yard-compound-day.webp') center 68%/cover;border:0;cursor:pointer}
.hq-workshop-dialog[data-lighting=night] .hq-yard-art{background-image:linear-gradient(180deg,#060b1230,#060b1280),url('/assets/studios-brand/hq/yard-compound-night.webp')}
.hq-workshop-dialog .hq-yard-art:after{display:none}
.hq-workshop-dialog .hq-yard-art img{width:82%;height:100%;max-height:270px;object-fit:contain;position:relative;z-index:1;transform-origin:50% 88%;filter:drop-shadow(0 8px 6px #2011079c)}
.hq-scene-floor-shadow{position:absolute;z-index:0;width:52%;height:11%;bottom:14%;left:24%;background:#110e0bd1;filter:blur(8px);border-radius:50%}
.hq-scene-action-label{position:absolute;bottom:0;left:0;right:0;min-height:35px;padding:9px;color:#fff1ce;background:#17130edb;font:800 12px/1.3 Arial;text-align:center;letter-spacing:.02em;z-index:2}
.hq-yard-art:focus-visible{outline:3px solid #ffcc32;outline-offset:3px}
.hq-yard-art[data-effect] img{animation:hq-freight-land .75s cubic-bezier(.23,.73,.3,1) both!important}
.hq-yard-art[data-effect=rubber] img{animation:hq-freight-squeeze .56s ease-in-out both!important}
.hq-yard-art[data-effect=chicken] img{animation:hq-freight-chicken .78s ease-in-out both!important}
.hq-yard-art[data-effect=porcelain] img{animation:hq-freight-porcelain .64s ease-in-out both!important}
.hq-yard-art[data-effect=cake] img{animation:hq-freight-cake .9s ease-in-out both!important}
.hq-yard-art[data-effect=toolbox] img{animation:hq-freight-toolbox .65s ease-in-out both!important}
@keyframes hq-freight-land{0%{transform:translateY(-7%)}28%{transform:translateY(2%) scale(.995,.97)}48%{transform:translateY(-1%) scale(1,1.01)}100%{transform:none}}
@keyframes hq-freight-squeeze{0%,100%{transform:none}28%{transform:scale(1.12,.77)}46%{transform:scale(.95,1.08)}67%{transform:scale(1.025,.97)}}
@keyframes hq-freight-chicken{0%,100%{transform:none}24%{transform:scale(1.09,.8) rotate(-7deg)}44%{transform:scale(.96,1.05) rotate(5deg)}66%{transform:rotate(-3deg)}}
@keyframes hq-freight-porcelain{0%,100%{transform:none}24%{transform:translateY(-3%) rotate(-1.6deg)}42%{transform:translateY(1%) rotate(1deg)}58%{transform:rotate(-.9deg)}72%{transform:rotate(.4deg)}}
@keyframes hq-freight-cake{0%,100%{transform:none}24%{transform:translateY(1%) rotate(-3deg) scale(1.03,.96)}48%{transform:rotate(2deg)}66%{transform:rotate(-1deg)}}
@keyframes hq-freight-toolbox{0%{transform:translateY(-5%)}29%{transform:translateY(1%) rotate(-1.5deg)}52%{transform:rotate(.8deg)}100%{transform:none}}
.hq-workshop-dialog .hq-garage-rig{isolation:isolate;display:grid;place-items:end center;aspect-ratio:1.6;background:linear-gradient(180deg,#17130c1a,#1b130b2e),url('/assets/studios-brand/hq/workshop-interior.webp') center/cover;padding:4% 3% 5%;overflow:hidden}
.hq-vehicle-plate{position:relative;isolation:isolate;width:min(84%,100%);aspect-ratio:1000/667;max-height:100%;align-self:end;justify-self:center}
.hq-vehicle-body,.hq-truck-mascot{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1}
.hq-vehicle-shadow{position:absolute;bottom:1%;left:10%;width:76%;height:8%;background:#130b08c9;filter:blur(7px);border-radius:50%}
.hq-vehicle-plate .hq-garage-pins{z-index:5}
.hq-vehicle-plate .hq-garage-pin{width:36px;height:36px;border:1px solid #dfc58a;background:#16130edc;color:#f7e5b8;box-shadow:0 2px 7px #0009}
.hq-vehicle-plate .hq-garage-pin[aria-pressed=true]{background:#f6c84e;color:#21170a}
.hq-truck-mascot,.hq-truck-smoke,.hq-truck-light{pointer-events:none;opacity:0}
.hq-vehicle-plate[data-effect=mascot] .hq-vehicle-body{clip-path:polygon(0 0,67.5% 0,67.5% 29%,79% 29%,79% 0,100% 0,100% 100%,0 100%)}
.hq-truck-mascot{background:url('/assets/job-game-liability_yard_empty.webp') center/contain no-repeat;clip-path:polygon(67.5% 0,79% 0,79% 29%,67.5% 29%);transform-origin:72% 29%}
.hq-vehicle-plate[data-effect=mascot] .hq-truck-mascot{opacity:1;animation:hq-mascot-wobble .86s ease-out both}
@keyframes hq-mascot-wobble{0%,100%{transform:none}19%{transform:rotate(10deg)}37%{transform:rotate(-7deg)}56%{transform:rotate(4deg)}74%{transform:rotate(-2deg)}}
.hq-vehicle-plate[data-effect=suspension] .hq-vehicle-body{transform-origin:50% 99%;animation:hq-suspension-settle .8s ease-in-out both}
@keyframes hq-suspension-settle{0%,100%{transform:none}23%{transform:scaleY(.968)}47%{transform:scaleY(1.008)}68%{transform:scaleY(.99)}}
.hq-truck-smoke{position:absolute;z-index:3;left:18%;top:1%;width:20%;height:17%;background:radial-gradient(ellipse at 65% 65%,#62594ccc,transparent 69%),radial-gradient(ellipse at 25% 25%,#9188798c,transparent 64%);filter:blur(4px);transform-origin:70% 60%}
.hq-vehicle-plate[data-effect=exhaust] .hq-truck-smoke{animation:hq-exhaust-puff 1.55s ease-out both}
@keyframes hq-exhaust-puff{0%{opacity:0;transform:translate(27%,13%) scale(.25)}16%{opacity:.8}56%{opacity:.45;transform:translate(-25%,-65%) scale(1.2)}100%{opacity:0;transform:translate(-65%,-110%) scale(1.65)}}
.hq-truck-light{position:absolute;z-index:3;left:88%;top:38%;width:13%;height:18%;background:radial-gradient(ellipse at 35% 50%,#fff8d3c9 0,#ffe28886 20%,#ffd76b2b 44%,transparent 72%);mix-blend-mode:screen}
.hq-vehicle-plate[data-effect=headlight] .hq-truck-light{animation:hq-lamp-check 1.6s ease-out both}
@keyframes hq-lamp-check{0%,100%{opacity:0}11%,24%{opacity:.65}18%{opacity:.22}32%,73%{opacity:1}85%{opacity:.5}}
.hq-grounds-sound [id$=reaction-status]{font-weight:800;letter-spacing:.025em;min-height:0;margin-top:6px}
.hq-grounds-sound [id$=reaction-status]:empty{display:none}
@media(max-width:760px){.hq-workshop-dialog .hq-yard-art{min-height:195px;aspect-ratio:1.55}.hq-workshop-dialog .hq-yard-art img{max-height:185px}.hq-vehicle-plate{width:85%}.hq-vehicle-plate .hq-garage-pin{width:32px;height:32px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.hq-yard-art[data-effect] img,.hq-vehicle-plate[data-effect] .hq-vehicle-body,.hq-truck-mascot,.hq-truck-smoke,.hq-truck-light{animation:none!important}}
.hq-workshop-dialog .hq-yard-art{grid-template-rows:minmax(0,1fr)}
.hq-workshop-dialog .hq-yard-art:active .hq-scene-action-label{background:#f0c557;color:#21170a}

/* Small mechanical reactions on the existing physical close-ups, not the page. */
.hq-garage-detail{overflow:hidden}
.hq-garage-detail[data-effect=strap] img{animation:ps-strap-tug .62s cubic-bezier(.2,.75,.3,1)}
.hq-garage-detail[data-effect=seat] img{animation:ps-seat-settle .65s ease-out;transform-origin:50% 80%}
.hq-garage-detail[data-effect=latch] img{animation:ps-latch .42s ease-out}
.hq-garage-detail[data-effect=sheet] img{animation:ps-sheet-turn .7s ease-in-out;transform-origin:15% 50%}
@keyframes ps-strap-tug{0%,100%{transform:scale(1)}35%{transform:scale(1.035) translateX(-1%)}}
@keyframes ps-seat-settle{0%,100%{transform:scaleY(1)}40%{transform:scaleY(.975)}70%{transform:scaleY(1.006)}}
@keyframes ps-latch{0%,100%{transform:translateX(0)}40%{transform:translateX(1.2%)}}
@keyframes ps-sheet-turn{0%,100%{transform:perspective(1000px) rotateY(0)}45%{transform:perspective(1000px) rotateY(-4deg)}}
@media(prefers-reduced-motion:reduce){.hq-garage-detail img{animation:none!important}}
#hq-yard-bench,#hq-garage-expense{display:block;margin-top:1rem;color:#ffce51;text-decoration:underline;text-underline-offset:4px}
#hq-garage-expense[hidden]{display:none}

/* One demonstrable physical action, one paper copy. No roadworthy certification. */
.hq-training-check{border-top:1px dashed #927b55;margin:10px 0;padding:10px 0}
.hq-training-check[hidden],.hq-training-check [hidden],#hq-garage-order-link[hidden]{display:none!important}

.hq-training-check p.is-stamped{color:#694426!important;border:2px solid #8a5c39;padding:9px 10px;font:800 12px/1.45 system-ui!important;transform:rotate(-1deg);animation:training-check-ink .28s ease-out both}
@keyframes training-check-ink{from{opacity:.4;scale:1.06}to{opacity:1;scale:1}}
@media(prefers-reduced-motion:reduce){.hq-training-check p.is-stamped{animation:none}}
