@font-face{font-family:"Orcas Hero";src:url("/_assets/assets/6saE3UK8VHEL2yUGHi66r7RVCc.otf") format("opentype");font-style:normal;font-weight:600;font-display:swap}

/* The flat map screenshot stays in the DOM for Framer; the live scene replaces it. */
img[src*="mQQZdjC4oqJ4PbQBxruIBlmIM"] { visibility: hidden; }

.pt-scene {
  --k: 1;
  position: absolute; inset: 0; z-index: 1;
  overflow: visible;
  font-family: "Orcas Hero", "GE SS Two Medium", sans-serif;
  font-synthesis: none;
  user-select: none;
}
.pt-scene *, .pt-scene *::before, .pt-scene *::after { box-sizing: border-box; }
/* Everything is placed on a 450 × 360 board and scaled to the frame. */
.pt-stage {
  position: absolute; left: 50%; top: 50%;
  width: 450px; height: 360px;
  transform: translate(-50%, -50%) scale(var(--k));
  direction: ltr;
}
.pt-stage > * { position: absolute; }
.pt-map { left: -45px; top: 0; width: 540px; height: 360px; max-width: none; opacity: .85; }
.pt-links { inset: 0; width: 450px; height: 360px; overflow: visible; }
.pt-links path { fill: none; stroke: #009ade; stroke-opacity: .5; stroke-width: 2; stroke-dasharray: 4 6; stroke-linecap: round; }

.pt-tutor {
  --tone: #70c9ed;
  left: calc(var(--x) - 38px); top: calc(var(--y) - 38px);
  width: 76px; height: 76px; margin: 0;
  rotate: var(--tilt);
}
.pt-tutor--yellow { --tone: #ffc846; }
.pt-tutor--green { --tone: #88cda2; }
.pt-tutor img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 6px 7px 0 var(--tone), 0 16px 22px -10px #1b3a4c59;
}
.pt-tutor figcaption {
  position: absolute; right: -10px; bottom: -11px;
  display: flex; align-items: center; gap: 3px;
  padding: 3px 8px 3px 6px;
  border: 1px solid #121d2420;
  border-radius: 20px;
  background: #fff;
  color: #162835;
  font-size: 12px; font-weight: 600; line-height: 1.2;
  box-shadow: 0 6px 10px -6px #1b3a4c66;
}
.pt-tutor figcaption svg { width: 13px; height: 13px; fill: #ffc000; }

/* Pointer in: tutors straighten up one after another, their ratings pop and the dashed
   links run between them. Pointer out eases everything back. */
@media (prefers-reduced-motion: no-preference) and (any-hover: hover) {
  .pt-tutor, .pt-tutor img, .pt-tutor figcaption, .pt-links path, .pt-map {
    transition: rotate .7s cubic-bezier(.2, .8, .2, 1), scale .7s cubic-bezier(.2, .8, .2, 1),
      translate .7s cubic-bezier(.2, .8, .2, 1), box-shadow .7s cubic-bezier(.2, .8, .2, 1),
      stroke-dashoffset 1.4s cubic-bezier(.2, .8, .2, 1), stroke-opacity .7s ease;
    transition-delay: calc(var(--i, 0) * 45ms);
  }
  .pt-scene:hover .pt-map { scale: 1.02; }
  .pt-scene:hover .pt-links path { stroke-dashoffset: -60; stroke-opacity: .8; }
  .pt-scene:hover .pt-tutor { rotate: 0deg; scale: 1.06; translate: 0 -4px; }
  .pt-scene:hover .pt-tutor img { box-shadow: 8px 10px 0 var(--tone), 0 22px 28px -12px #1b3a4c66; }
  .pt-scene:hover .pt-tutor figcaption { scale: 1.1; }
}
