/* OQS · Manual QA — "The Human Touch" artwork (prototype). Replaces only the reel image under the Manual QA hero.
   The photograph stays still; the iPad screen, inspection ring, Issue Found card and particles are live layers.
   Scoped to .ht — no shared styles are changed. */
.ht { --ht-bg: #120d0b; height: clamp(340px, 40vw, 66svh); min-height: 0; background: var(--ht-bg); isolation: isolate; }
.ht .ht__view { position: absolute; inset: 0; overflow: hidden; transform: scale(calc(1 + var(--in, 0) * .06)); transform-origin: 50% 45%; }
/* still: the no-JS / reduced-motion / no-animation picture (svc.css sizes reel images — reset that here) */
.ht img.ht__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; transform: none; flex: none; transition: opacity .6s ease; }
.ht.is-fit img.ht__still { inset: auto; left: 0; top: 0; object-fit: fill; }
.ht.is-live img.ht__still { opacity: 0; }
.ht__stage { position: absolute; left: 0; top: 0; width: 1672px; height: 941px; transform-origin: 0 0; visibility: hidden; pointer-events: none; }
.ht.is-fit .ht__stage { visibility: visible; }
.ht .ht__stage img { display: block; position: absolute; max-width: none; min-width: 0; transform: none; flex: none; object-fit: fill; }
.ht .ht__plate { left: 0; top: 0; width: 1672px; height: 941px; }
.ht .ht__hand-r { left: 1000px; top: 440px; width: 460px; height: 290px; }
.ht .ht__hand-l { left: 392px; top: 320px; width: 116px; height: 420px; }
.ht__fx { position: absolute; left: 0; top: 0; width: 1672px; height: 941px; }
/* soft edges where a very wide frame shows past the photograph */
.ht__edge { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--ht-bg) 0, var(--ht-bg) var(--ht-l0, 0px), rgba(18, 13, 11, 0) var(--ht-l1, 0px), rgba(18, 13, 11, 0) calc(100% - var(--ht-r1, 0px)), var(--ht-bg) calc(100% - var(--ht-r0, 0px)), var(--ht-bg) 100%); }
.ht .sv-reel__cap { z-index: 2; }

/* ── iPad screen: 1180 × 820 UI units, mapped onto the photographed glass ── */
.htui, .htcard { position: absolute; left: 0; top: 0; width: 1180px; height: 820px; transform-origin: 0 0; }
.htui { border-radius: 60px; overflow: hidden; background: #040404; font-family: var(--font-body); color: #ede6df; -webkit-font-smoothing: antialiased; }
.htui * { box-sizing: border-box; }
.htui__d { position: absolute; inset: 40px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 90% at 78% 92%, rgba(255, 112, 52, .13), transparent 55%), linear-gradient(160deg, #1b1715 0%, #141110 55%, #110e0d 100%); }
.htui__glare { position: absolute; inset: 40px; border-radius: 24px; pointer-events: none; z-index: 5;
  background: linear-gradient(118deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 34%), linear-gradient(0deg, rgba(255, 140, 80, .05), transparent 40%); }
.htui .a { position: absolute; }
.ht .htui__logo { left: 58px; top: 44px; height: 84px; width: 126px; }
.htui__nav { left: 300px; top: 70px; display: flex; gap: 46px; font-size: 24px; font-weight: 500; color: #9d938b; white-space: nowrap; }
.htui__nav span { position: relative; }
.htui__nav .on { color: #f4eee8; }
.htui__nav .on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 3px; border-radius: 2px; background: #ff7034; }
.htui__nav i { position: absolute; right: -15px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: #ff7034; box-shadow: 0 0 10px rgba(255, 112, 52, .9); opacity: var(--iss, 0); }
.htui__run { right: 64px; top: 62px; height: 42px; padding: 0 18px; display: flex; align-items: center; gap: 10px; border-radius: 21px; border: 1px solid rgba(255, 255, 255, .12); font: 500 19px/1 var(--font-meta); color: #cfc6be; }
.htui__run b { width: 9px; height: 9px; border-radius: 50%; background: #ff7034; box-shadow: 0 0 8px #ff7034; }
.htui__rule { left: 40px; right: 40px; top: 130px; height: 1px; background: rgba(255, 255, 255, .07); }
.htui__side { left: 64px; top: 160px; width: 236px; display: grid; gap: 10px; }
.htui__side span { position: relative; display: flex; align-items: center; gap: 16px; height: 58px; padding: 0 16px; border-radius: 14px; font-size: 23px; font-weight: 500; color: #a99f97; white-space: nowrap; }
.htui__side svg { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.htui__side .on { color: #f6efe9; background: rgba(255, 112, 52, .12); box-shadow: inset 0 0 0 1px rgba(255, 112, 52, .38); }
.htui__side em { position: absolute; right: 14px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: #ff7034; color: #fff; font: 600 17px/30px var(--font-body); font-style: normal; text-align: center; opacity: var(--iss, 0); transform: scale(calc(.6 + var(--iss, 0) * .4)); }
.htui__panel { border-radius: 18px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .075); }
.htui__title { left: 352px; top: 162px; font: 600 34px/1.1 var(--font-body); color: #f6efe9; white-space: nowrap; }
.htui__chips { left: 352px; top: 214px; display: flex; gap: 10px; }
.htui__chips span, .htui__prog { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 17px; background: rgba(255, 255, 255, .06); font: 400 17px/1 var(--font-meta); color: #b8aea6; white-space: nowrap; }
.htui__prog { right: 64px; top: 168px; gap: 12px; }
.htui__prog i { display: block; width: 120px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #f1e4d8 50%, rgba(255, 255, 255, .12) 50%); }
.htui__k { font: 400 16px/1 var(--font-meta); letter-spacing: .08em; text-transform: uppercase; color: #8f857d; white-space: nowrap; }
.htui__steps { left: 352px; top: 272px; width: 410px; height: 200px; padding: 20px 22px; }
.htui__steps ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.htui__steps li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; height: 30px; font-size: 20px; color: #ddd5ce; white-space: nowrap; }
.htui__steps li > b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 15px/1 var(--font-meta); color: #cfc6be; background: rgba(255, 255, 255, .07); }
.htui__steps .st { position: relative; font: 400 16px/1 var(--font-meta); color: #a9a097; text-align: right; min-width: 92px; height: 20px; }
.htui__steps .st > span { position: absolute; right: 0; top: 2px; white-space: nowrap; }
.htui__steps .ok { color: #efe4d9; }
.htui__steps .ok::before { content: "✓\FE0E\00a0"; color: #ffd9bf; }
.htui__steps .fail { color: #ff7a40; }
.htui__steps li.cur > b { background: rgba(255, 112, 52, .2); color: #ffb48f; }
.htui__res { left: 784px; top: 302px; width: 332px; height: 170px; padding: 20px 22px; }
.htui__res p { margin: 8px 0 18px; font-size: 20px; line-height: 1.2; color: #ece4dd; white-space: nowrap; }
.htui__res p:last-child { margin-bottom: 0; }
.htui__obs { position: relative; height: 24px; }
.htui__obs > span { position: absolute; left: 0; top: 0; }
.htui__obs .no { color: #ff8650; }
.htui__prev { left: 352px; top: 490px; width: 764px; height: 266px; }
.htui__thumb { left: 376px; top: 504px; width: 120px; height: 64px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(80% 120% at 30% 20%, #c9a58c, #6f4f3e 60%, #3a2a22); }
.htui__thumb::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 18px; border-radius: 6px; background: rgba(255, 245, 235, .32); }
.htui__btn { left: 520px; top: 500px; width: 252px; height: 64px; border-radius: 16px; display: flex; align-items: center; padding-left: 28px; gap: 12px;
  background: linear-gradient(180deg, #ff8a52, #ff6a2c); color: #fff; font: 600 22px/1 var(--font-body); white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 200, 170, .55) inset, 0 0 calc(18px + var(--press, 0) * 26px) rgba(255, 112, 52, calc(.45 + var(--press, 0) * .4));
  transform: scale(calc(1 - var(--press, 0) * .035)); transform-origin: 70% 50%; }
.htui__item { left: 376px; top: 594px; font-size: 22px; color: #f1e9e2; white-space: nowrap; }
.htui__item small { display: block; margin-top: 10px; font-size: 19px; color: #9d938b; }
.htui__pk { left: 376px; top: 716px; }
.htui__ring { position: absolute; left: 0; top: 0; width: 1180px; height: 820px; overflow: visible; z-index: 4; }

/* ── Issue Found card: on the screen plane, floating past the glass like Boo's frame ── */
.htcard { pointer-events: none; }
.htcard__box { position: absolute; left: 880px; top: 142px; width: 408px; height: 150px; border-radius: 22px; display: flex; align-items: center; gap: 24px; padding: 0 30px;
  background: linear-gradient(160deg, rgba(58, 34, 26, .94), rgba(30, 20, 17, .94)); color: #fff; font-family: var(--font-body);
  box-shadow: 0 0 0 2px rgba(255, 140, 90, .9), 0 0 26px rgba(255, 112, 52, .7), 0 18px 40px rgba(0, 0, 0, .45);
  opacity: var(--card, 0); transform: translateX(calc((1 - var(--card, 0)) * -36px)) scale(calc(.96 + var(--card, 0) * .04)); transform-origin: 0 50%; }
.htcard__box svg { width: 62px; height: 62px; flex: none; }
.htcard__box b { display: block; font: 600 34px/1.1 var(--font-body); letter-spacing: -.01em; white-space: nowrap; }
.htcard__box span { display: block; margin-top: 8px; font-size: 22px; color: #f1ddd0; white-space: nowrap; }
.htcard__box small { display: block; margin-top: 10px; font: 400 15px/1 var(--font-meta); letter-spacing: .06em; color: #c9a998; text-transform: uppercase; white-space: nowrap; }

@media (max-width: 1000px) { .ht { height: min(62vw, 70svh); } }
@media (max-width: 760px) { .ht { height: min(86vw, 64svh); } }
