/* g-orb-css */

/* g-orb v2 2026-10-06: tender hero. Eight measurements around one question; each one starts the checker with that measurement chosen. A real control, not a demo. All movement off under prefers-reduced-motion. No dots. */
.g-orb { --orb-aqua: #2DCCD3; position: relative; container: orb / inline-size; width: 100%; max-width: 500px; margin: 0 0 0 auto; }
.g-orb__stage { position: relative; width: 100%; aspect-ratio: 1 / 1; margin-bottom: 18px; }
.g-orb__stage::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(45,204,211,.16), rgba(45,204,211,0) 68%); pointer-events: none; }
.g-orb__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.g-orb__ring { fill: none; stroke: rgba(45,204,211,.22); stroke-width: .3; }
.g-orb__arc { fill: none; stroke: var(--orb-aqua); stroke-width: .6; stroke-linecap: round; stroke-dasharray: 9 91; transform-origin: 50px 50px; transform-box: view-box; filter: drop-shadow(0 0 1.2px rgba(45,204,211,.9)); }
.g-orb__sp { stroke: rgba(45,204,211,.35); stroke-width: .35; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.g-orb__hub { position: absolute; left: 50%; top: 50%; width: 36%; aspect-ratio: 1 / 1; transform: translate(-50%,-50%); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6%; box-sizing: border-box; background: rgba(0,28,38,.82); border: 1px solid rgba(45,204,211,.45); box-shadow: 0 0 0 8px rgba(45,204,211,.06), 0 18px 40px rgba(0,0,0,.35); color: #fff; }
.g-orb__k { margin: 0 0 6px !important; font-size: 11px !important; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--orb-aqua); }
.g-orb__q { margin: 0 !important; font-family: var(--wp--preset--font-family--gill-head, inherit); font-size: clamp(15px, 4.2cqi, 21px) !important; line-height: 1.2; font-weight: 700; color: #fff; }
.g-orb__h { margin: 6px 0 0 !important; font-size: 12px !important; line-height: 1.3; color: rgba(255,255,255,.72); }
.g-orb__n { position: absolute; left: var(--x); top: var(--y); width: 21%; transform: translate(-50%,-50%); padding: 0; margin: 0; border: 0; background: none; color: #fff; cursor: pointer; display: block; font: inherit; }
.g-orb__disc { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 32%, #ffffff, #dfe7e8 72%); border: 2px solid rgba(45,204,211,.25); box-shadow: 0 10px 22px rgba(0,0,0,.35); transition: border-color .3s, box-shadow .3s, transform .3s; }
.g-orb__disc img { position: absolute; left: 16%; top: 16%; width: 68% !important; height: 68% !important; max-width: none !important; object-fit: contain; transition: transform .35s; }
.g-orb__lb { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 6px; padding: 3px 9px; border-radius: 3px; background: rgba(0,40,52,.92); white-space: nowrap; font-size: 13px; font-weight: 600; line-height: 1.2; color: #fff; transition: color .3s; }
.g-orb__n:hover .g-orb__disc, .g-orb__n:focus-visible .g-orb__disc, .g-orb__n.is-lit .g-orb__disc { border-color: var(--orb-aqua); box-shadow: 0 0 0 5px rgba(45,204,211,.18), 0 14px 28px rgba(0,0,0,.4); transform: scale(1.06); }
.g-orb__n:hover .g-orb__lb, .g-orb__n:focus-visible .g-orb__lb, .g-orb__n.is-lit .g-orb__lb { color: var(--orb-aqua); }
.g-orb__n:hover img, .g-orb__n:focus-visible img { transform: translateY(-3px) scale(1.04); }
.g-orb__n:focus-visible { outline: none; }
.g-orb__n:focus-visible .g-orb__disc { outline: 2px solid var(--orb-aqua); outline-offset: 4px; }
.g-orb__sp.is-lit { stroke: var(--orb-aqua); stroke-width: .5; }
/* movement */
@media (prefers-reduced-motion: no-preference) {
  .g-orb__arc { animation: orbSpin 14s linear infinite; }
  .g-orb__disc img { animation: orbFloat 5.5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.7s); }
  .g-orb__n:hover img, .g-orb__n:focus-visible img { animation-play-state: paused; }
  .g-orb.is-ready .g-orb__sp { animation: orbDraw .7s ease-out both; animation-delay: calc(.3s + var(--i) * .08s); }
  .g-orb.is-ready .g-orb__n { animation: orbIn .6s cubic-bezier(.22,.61,.36,1) both; animation-delay: calc(.15s + var(--i) * .07s); }
  .g-orb:hover .g-orb__arc { animation-play-state: paused; }
}
@keyframes orbSpin { to { transform: rotate(360deg); } }
@keyframes orbFloat { from { translate: 0 2px; } to { translate: 0 -3px; } }
@keyframes orbDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes orbIn { from { opacity: 0; scale: .8; } to { opacity: 1; scale: 1; } }
/* narrow: the ring becomes a grid under the question */
@container orb (max-width: 440px) {
  .g-orb__stage { aspect-ratio: auto; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 30px 10px; padding-top: 0; }
  .g-orb__stage::before, .g-orb__svg { display: none; }
  .g-orb__hub { position: static; grid-column: 1 / -1; width: auto; aspect-ratio: auto; transform: none; border-radius: 4px; padding: 14px 16px; align-items: flex-start; text-align: left; }
  .g-orb__n { position: relative; left: auto; top: auto; width: 100%; transform: none; }
  .g-orb__lb { position: static; display: block; transform: none; margin-top: 6px; padding: 0; background: none; white-space: normal; text-align: center; font-size: 12px; }
}
@media (max-width: 781px) { .g-orb { margin: 32px auto 0; } }

