/* ==========================================================================
   WIZKET — hands-off.css · Final CTA (AI Automation page, #start)
   The CTA you finish by doing nothing. js/hands-off.js sets data-phase on .ho
   (idle · engaged · done) and --p on the gauge while the visitor stays still.
   Orange: the "?", the gauge ring, the ghost tips, the glowing tray. Prefix: ho-
   ========================================================================== */
.ho {
  --side: clamp(20px, 6vw, 110px);
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(90px, 13vh, 140px) var(--side) clamp(60px, 9vh, 100px);
  background:
    radial-gradient(55% 50% at 50% 55%, var(--petrol) 0%, transparent 70%),
    var(--bg);
}
.ho__inner { width: min(900px, 100%); display: grid; justify-items: center; text-align: center; }
.ho .ws-eyebrow { justify-content: center; }
.ho__title { margin: 0; font: 400 clamp(3rem, min(7vw, 12vh), 7.4rem)/0.9 var(--font-display); text-transform: uppercase; color: var(--text); }
.ho__title span { display: inline-block; }
.ho__sub { margin: clamp(12px, 2vh, 20px) 0 0; font: 500 clamp(1rem, 1.25vw, 1.15rem)/1.45 var(--font-body); color: var(--muted); }

/* ---- stage: gauge (idle) / brief + tray + CTA (engaged) share one area ---- */
.ho-stage { position: relative; width: min(560px, 100%); height: clamp(400px, 52vh, 480px); margin-top: clamp(20px, 4vh, 40px); }

.ho-gauge {
  --p: 0;
  position: absolute;
  left: 50%;
  top: 0;
  width: 230px;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 18px;
  transition: opacity 0.5s var(--ease-io), transform 0.6s var(--ease-out);
}
.ho-gauge svg { width: 200px; height: 200px; rotate: -90deg; fill: none; stroke-width: 7; overflow: visible; }
.ho-gauge circle { stroke: var(--line2); }
.ho-gauge__arc { stroke: var(--accent) !important; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p) * 100); filter: drop-shadow(0 0 calc(4px + var(--p) * 14px) rgba(253, 95, 7, 0.7)); }
.ho-gauge__hand {
  position: absolute;
  top: 100px;
  left: 50%;
  translate: -50% -50%;
  font-size: 54px;
  line-height: 1;
  filter: grayscale(calc(1 - var(--p)));
  transform: scale(calc(0.9 + var(--p) * 0.2));
}
.ho-gauge__msg { min-height: 1.4em; margin: 0; font: 600 clamp(15px, 1.4vw, 18px)/1.35 var(--font-body); color: var(--text); }
.ho-gauge__msg.is-tease { color: var(--accent); }
.ho-touch { display: none; }
@media (hover: none) { .ho-mouse { display: none; } .ho-touch { display: inline; } }
.ho[data-phase="engaged"] .ho-gauge, .ho[data-phase="done"] .ho-gauge { opacity: 0; transform: scale(0.8); pointer-events: none; }

/* the project brief card, built by the ghosts */
.ho-brief {
  z-index: 1;
  position: absolute;
  left: 50%;
  top: 0;
  width: min(440px, 100%);
  translate: -50% 0;
  display: grid;
  gap: 10px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line2);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
  text-align: left;
  opacity: 0;
  visibility: hidden;
}
.ho-brief p { margin: 0; }
.ho-brief__k { font: 700 11px/1 var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.ho-brief__row { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 12px; min-height: 36px; padding-bottom: 8px; border-bottom: 1px dashed var(--line2); }
.ho-brief__row:last-child { border-bottom: 0; padding-bottom: 0; }
.ho-brief__row em { font: 600 11px/1 var(--font-body); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ho-brief__row b { font: 600 15px/1.3 var(--font-body); color: var(--text); }
.ho-brief__chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
.ho-brief__chips span { padding: 6px 10px; border-radius: 8px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); font: 700 12.5px/1 var(--font-body); color: var(--text); white-space: nowrap; }

.ho-tray {
  position: absolute;
  left: 50%;
  bottom: 86px;
  width: min(480px, 100%);
  height: 58px;
  z-index: 0;
  translate: -50% 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 2px dashed var(--line2);
  font: 700 11px/1 var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  visibility: hidden;
  transition: border-color 0.4s, box-shadow 0.4s, color 0.4s;
}
.ho-tray.is-full span { opacity: 0; }
.ho-tray.is-full { border-style: solid; border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft), 0 0 40px rgba(253, 95, 7, 0.35); animation: ho-pulse 1.6s ease-in-out infinite; }
@keyframes ho-pulse { 50% { box-shadow: 0 0 0 12px rgba(253, 95, 7, 0.05), 0 0 60px rgba(253, 95, 7, 0.45); } }

.ho-end { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; opacity: 0; visibility: hidden; }
.ho__cta { height: 58px; padding: 0 32px; font-size: 16px; }
.ho__cta.is-ghost { background-color: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 8px var(--accent-soft), 0 0 50px rgba(253, 95, 7, 0.45); }
.ho__again { font: 600 14px/1 var(--font-body); color: var(--muted); transition: color 0.3s; }
@media (hover: hover) and (pointer: fine) { .ho__again:hover { color: var(--text); } }

.ho__engage { margin-top: 18px; padding: 8px 14px; border-radius: 999px; font: 600 12.5px/1 var(--font-body); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color 0.3s; }
.ho__engage:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; color: var(--text); }
@media (hover: hover) and (pointer: fine) { .ho__engage:hover { color: var(--text); } }
.ho[data-phase="engaged"] .ho__engage, .ho[data-phase="done"] .ho__engage { visibility: hidden; }

.ho .gc-layer { z-index: 5; }
