/* ==========================================================================
   Prometheus page (catalogue/prometheus.html only): everything below the
   hero. "Uses" plays a screening interview or a training role-play for the
   use you pick, records it and marks it as it goes; "Recordings" opens a
   session to watch back, scores each moment and hands the decision to the team.
   The hero keeps its own rules at the end of styles.css.
   Both product shots rise and tilt up into place as you scroll (--rise, set
   by prometheus.js) and lean toward the pointer (--lx, --ly).
   ========================================================================== */

/* ---------- Uses: one card, six uses, each played out, recorded and marked ---------- */
.pmf {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.pmf__text .eyebrow {
  margin-bottom: 22px;
}
.pmf__lead {
  margin-top: 24px;
  max-width: 40ch;
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.pmf__uses {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pmf__group {
  margin: 0 0 6px;
  padding-left: 14px;
  color: var(--muted-2);
  font-size: 12.5px;
  font-weight: 500;
}
.pmf__list {
  display: grid;
  gap: 2px;
}
/* A use fills with ink from the pointer; the chosen one stays filled, with the
   scene's progress running along its foot. Hairlines part the unfilled rows. */
.pmf__use {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px 14px 14px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.js .pmf__use[data-reveal] {
  transition: opacity 0.9s var(--ease-out) var(--rd, 0s), transform 1.1s var(--ease-out) var(--rd, 0s), color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.pmf__use b {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.pmf__use span {
  min-width: 0;
  color: var(--muted);
  font-size: 12.5px;
  transition: color 0.4s var(--ease);
}
.pmf__use::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: var(--fx, 50%);
  top: var(--fy, 50%);
  width: 140%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s var(--ease-out);
}
.pmf__use::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: -1px;
  height: 1px;
  background: var(--line);
  transition: opacity 0.3s;
}
.pmf__use:first-child::after,
.pmf__use:hover::after,
.pmf__use[aria-pressed="true"]::after,
.pmf__use:hover + .pmf__use::after,
.pmf__use[aria-pressed="true"] + .pmf__use::after {
  opacity: 0;
}
.pmf__use:hover,
.pmf__use[aria-pressed="true"] {
  color: #fff;
}
.pmf__use:hover span,
.pmf__use[aria-pressed="true"] span {
  color: rgba(255, 255, 255, 0.62);
}
.pmf__use:hover::before,
.pmf__use[aria-pressed="true"]::before {
  transform: translate(-50%, -50%) scale(1);
}
.pmf__use[aria-pressed="true"] {
  box-shadow: 0 12px 26px -14px rgba(10, 10, 10, 0.55);
}
.pmf__use:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.pmf__use i {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  opacity: 0;
  transition: opacity 0.3s;
}
.pmf__use i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.pmf.is-auto .pmf__use[aria-pressed="true"] i {
  opacity: 1;
}
.pmf__more {
  margin-top: 22px;
  max-width: 38ch;
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1.5;
}
.pmf__cta {
  margin-top: 18px;
  font-size: 15.5px;
}
.js .pmf__cta[data-reveal] {
  transition: opacity 0.9s var(--ease-out) var(--rd, 0s), transform 1.1s var(--ease-out) var(--rd, 0s), color 0.25s, gap 0.25s var(--ease);
}

/* The stage: a soft orange light behind a white card that tilts up into place. */
.pmf__stage {
  --rise: 1;
  position: relative;
  perspective: 1800px;
}
.pmf__glow {
  position: absolute;
  inset: 6% 2% -8% 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.24), rgba(255, 90, 31, 0.08) 55%, rgba(255, 90, 31, 0));
  opacity: var(--rise);
  transform: translate3d(calc(var(--lx, 0) * 28px), calc(var(--ly, 0) * 20px), 0) scale(calc(0.8 + var(--rise) * 0.2));
  pointer-events: none;
}
.pmf__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2.2vw, 28px);
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(10, 10, 10, 0.03), 0 24px 50px -30px rgba(10, 10, 10, 0.28), 0 70px 120px -60px rgba(140, 45, 10, 0.38);
  transform-origin: 50% 100%;
  transform:
    translate3d(0, calc((1 - var(--rise)) * 90px), 0)
    rotateX(calc((1 - var(--rise)) * 18deg + var(--ly, 0) * -2.5deg))
    rotateY(calc(var(--lx, 0) * 3.5deg))
    scale(calc(0.92 + var(--rise) * 0.08));
  opacity: calc(var(--rise) * 1.6);
}
/* The card builds itself the first time it's reached, and a new field cross-fades in. */
.js .pmf__card > * {
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-out);
}
.js .pmf__card > :nth-child(2) {
  transition-delay: 0.08s;
}
.js .pmf__card > :nth-child(3) {
  transition-delay: 0.16s;
}
.js .pmf__card:not(.is-built) > *,
.js .pmf__card.is-swap > * {
  opacity: 0;
  transform: translateY(10px);
}
.js .pmf__card.is-swap > * {
  transition-duration: 0.3s;
  transition-delay: 0s;
}

.pmf__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pmf__chip {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.pmf__title {
  min-width: 0;
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* The session is recorded from the first word: a pulsing light and the running time. */
.pmf__rec {
  margin-left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.pmf__rec i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.16);
  animation: pmf-rec 1.6s ease-in-out infinite;
}
.pmf__rec b {
  color: var(--orange-deep);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@keyframes pmf-rec {
  50% {
    opacity: 0.35;
  }
}

.pmf__who {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.pmf__av {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 14px;
  font-weight: 600;
}
.pmf__av img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.pmf__av img[hidden] {
  display: none;
}
.pmf__av i {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  opacity: 0;
}
.pmf__card[data-turn="ask"] .pmf__av i {
  animation: pmf-ring 1.8s var(--ease-out) infinite;
}
@keyframes pmf-ring {
  0% {
    opacity: 0.8;
    transform: scale(0.92);
  }
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}
.pmf__id {
  flex: 1;
  min-width: 0;
}
.pmf__id small {
  display: block;
  font-size: 11.5px;
  color: var(--orange-deep);
}
.pmf__id b {
  display: block;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pmf__id b + span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
/* Who has the floor: Prometheus speaking, listening to the candidate, or done marking. */
.pmf__state {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.pmf__eq {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}
.pmf__eq i {
  width: 2.5px;
  height: 100%;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleY(0.3);
  transition: background-color 0.3s;
}
.pmf__card[data-turn="ask"] .pmf__eq i {
  animation: pmf-eq 0.9s ease-in-out infinite;
}
.pmf__card[data-turn="ask"] .pmf__eq i:nth-child(2) {
  animation-delay: -0.3s;
}
.pmf__card[data-turn="ask"] .pmf__eq i:nth-child(3) {
  animation-delay: -0.6s;
}
.pmf__card[data-turn="ask"] .pmf__eq i:nth-child(4) {
  animation-delay: -0.15s;
}
.pmf__card[data-turn="you"] .pmf__eq i {
  background: var(--line-2);
}
@keyframes pmf-eq {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}
.pmf__st,
.pmf__ok {
  display: none;
}
.pmf__ok {
  width: 13px;
  height: 13px;
}
.pmf__card[data-turn="mark"] .pmf__ok {
  display: block;
}
.pmf__card[data-turn="mark"] .pmf__eq {
  display: none;
}
.pmf__card[data-turn="ask"] .pmf__st--ask,
.pmf__card[data-turn="you"] .pmf__st--you,
.pmf__card[data-turn="mark"] .pmf__st--mark {
  display: inline;
}
.pmf__card[data-turn="mark"] .pmf__state {
  color: var(--orange-deep);
  border-color: rgba(255, 90, 31, 0.3);
}

.pmf__body {
  flex: 1;
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.pmf__log {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pmf__msg {
  max-width: 94%;
  padding: 10px 13px;
  border-radius: 4px 14px 14px 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.45;
  transform-origin: 0 0;
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out);
}
.pmf__msg small {
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.pmf__turn {
  display: grid;
}
.pmf__turn > * {
  grid-area: 1 / 1;
}
.pmf__msg--you {
  justify-self: end;
  transform-origin: 100% 0;
  border-radius: 14px 4px 14px 14px;
  background: var(--orange-soft);
  border-color: rgba(255, 90, 31, 0.28);
}
.pmf__msg--you small {
  color: var(--orange-deep);
}
.pmf__msg--wave {
  align-self: start;
}
.pmf__wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}
.pmf__wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleY(0.3);
  animation: pmf-eq 0.9s ease-in-out infinite;
  animation-delay: calc(var(--d) * -0.07s);
}
.js .pmf__msg:not(.is-on) {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
}
html:not(.js) .pmf__msg--wave {
  display: none;
}

.pmf__check {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
  border-radius: 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.pmf__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.pmf__check ul {
  display: grid;
  gap: 11px;
}
.pmf__check li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 13px;
  line-height: 1.4;
  transition: color 0.4s;
}
.pmf__tick {
  position: relative;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  background: var(--orange);
  color: #fff;
  transition: background-color 0.4s, border-color 0.4s, color 0.4s, transform 0.6s var(--ease-out);
}
.pmf__tick svg {
  width: 12px;
  height: 12px;
}
.pmf__tick::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  opacity: 0;
}
.js .pmf__check li.is-on .pmf__tick::after {
  animation: pmf-burst 0.8s var(--ease-out);
}
@keyframes pmf-burst {
  from {
    opacity: 0.7;
    transform: scale(0.7);
  }
  to {
    opacity: 0;
    transform: scale(1.55);
  }
}
.js .pmf__check li:not(.is-on) {
  color: var(--muted-2);
}
.js .pmf__check li:not(.is-on) .pmf__tick {
  background: transparent;
  border-color: var(--line-2);
  color: transparent;
  transform: scale(0.85);
}
.pmf__score {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out);
}
.pmf__score b {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.js .pmf__score:not(.is-on) {
  opacity: 0;
  transform: translateY(8px);
}

/* ---------- Recordings: a session to watch back, scored moment by moment ---------- */
.pmr-sec {
  overflow: hidden;
}
.pmr-sec::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8%;
  width: min(1200px, 120%);
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse closest-side, rgba(255, 90, 31, 0.12), transparent);
  pointer-events: none;
}
.pmr__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px);
}
.pmr__step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 0 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.pmr__step:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 6px;
  border-radius: 4px;
}
.pmr__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}
.pmr__line i {
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.pmr__num {
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s;
}
.pmr__step b {
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color 0.4s;
}
.pmr__desc {
  max-width: 34ch;
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.5;
  transition: color 0.4s;
}
.pmr__step[aria-pressed="false"] .pmr__num,
.pmr__step[aria-pressed="false"] .pmr__desc {
  color: #6f6f6f;
}
.pmr__step[aria-pressed="false"] b {
  color: rgba(255, 255, 255, 0.5);
}
.pmr__step[aria-pressed="false"]:hover b {
  color: #fff;
}

.pmr__stage {
  --rise: 1;
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  perspective: 2000px;
}
.pmr__glow {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 18%;
  bottom: -16%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.3), rgba(255, 90, 31, 0));
  opacity: var(--rise);
  transform: translate3d(calc(var(--lx, 0) * 30px), calc(var(--ly, 0) * 20px), 0);
  pointer-events: none;
}
.pmr__win {
  position: relative;
  max-width: 1040px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 50px 110px -40px rgba(0, 0, 0, 0.85), 0 30px 90px -50px rgba(255, 90, 31, 0.45);
  transform-origin: 50% 100%;
  transform:
    translate3d(0, calc((1 - var(--rise)) * 110px), 0)
    rotateX(calc((1 - var(--rise)) * 22deg + var(--ly, 0) * -2deg))
    rotateY(calc(var(--lx, 0) * 3deg))
    scale(calc(0.9 + var(--rise) * 0.1));
  opacity: calc(var(--rise) * 1.5);
}
.pmr__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 16px;
  background: #f6f5f2;
  border-bottom: 1px solid #ecebe7;
}
.pmr__dots {
  flex: none;
  display: flex;
  gap: 6px;
}
.pmr__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dcd9d2;
}
.pmr__dots i:first-child {
  background: var(--orange);
}
.pmr__url {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ebe9e4;
  color: #777;
  font-size: 12.5px;
  white-space: nowrap;
}
.pmr__url svg {
  flex: none;
  width: 13px;
  height: 13px;
  color: var(--orange);
}
.pmr__url span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pmr__ready {
  margin-left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--orange);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pmr__ready i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
}

.pmr__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px 18px;
}
.pmr__av {
  flex: none;
  overflow: hidden;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper-2);
}
.pmr__av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transform: scale(1.9);
  transform-origin: 50% 22%;
}
.pmr__id {
  flex: 1;
  min-width: 0;
}
.pmr__id b {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.pmr__id span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.pmr__badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease-out);
}
.pmr__badge svg {
  width: 13px;
  height: 13px;
}
.pmr__win.is-done .pmr__badge {
  opacity: 1;
  transform: none;
}
.pmr__ring {
  position: relative;
  flex: none;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}
.pmr__ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.pmr__ring circle {
  fill: none;
  stroke: #eeece7;
  stroke-width: 4;
}
.pmr__ring .pmr__arc {
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc((100 - var(--v, 0) * 100) * 1px);
  opacity: calc(var(--v, 0) * 40); /* no round-cap dot at zero */
}
.pmr__ring b {
  position: relative;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.pmr__overall {
  flex: none;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.3;
}
.pmr__overall b {
  display: block;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.pmr__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 16px;
  align-items: start;
  padding: 0 26px;
}
.pmr__rub {
  display: grid;
  align-content: start;
  gap: 8px;
}
.pmr__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 14px 13px;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  transition: background-color 0.4s, border-color 0.4s, box-shadow 0.5s var(--ease);
}
.pmr__crit {
  font-size: 13.5px;
  font-weight: 500;
}
.pmr__row b {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.pmr__at {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.4s, border-color 0.4s, color 0.4s;
}
.pmr__at svg {
  width: 9px;
  height: 9px;
}
.pmr__fill {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  border-radius: 3px;
  background: #ebe8e2;
}
.pmr__fill s {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange-2));
  transform-origin: left;
  transform: scaleX(var(--v, 0));
}
.pmr__row b,
.pmr__fill,
.pmr__ring b,
.pmr__ring .pmr__arc {
  transition: opacity 0.35s var(--ease);
}
.pmr__win.is-reset .pmr__row b,
.pmr__win.is-reset .pmr__fill,
.pmr__win.is-reset .pmr__ring b,
.pmr__win.is-reset .pmr__ring .pmr__arc {
  opacity: 0;
}
.pmr__row.is-hl {
  background: #fff;
  border-color: rgba(255, 90, 31, 0.45);
  box-shadow: 0 12px 26px -16px rgba(255, 90, 31, 0.55);
}
.pmr__row.is-hl .pmr__at {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.pmr__log {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 14px 16px 16px;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.pmr__label {
  margin-bottom: 1px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-2);
}
/* Each line: its time in a gutter, then the speaker and their words on one run. */
.pmr__ln {
  position: relative;
  padding-left: 48px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.pmr__ln time {
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--muted-2);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s;
}
.pmr__ln b {
  margin-right: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
/* The words that earned the mark get swept with an orange highlighter, line by line. */
.pmr__ln mark {
  padding: 1px 0;
  border-radius: 2px;
  background: linear-gradient(rgba(255, 90, 31, 0.22), rgba(255, 90, 31, 0.22)) no-repeat 0 0 / 0% 100%;
  color: inherit;
  transition: background-size 1s var(--ease-out), color 0.4s;
}
.pmr__ln.is-hl mark {
  background-size: 100% 100%;
  color: var(--ink);
}
.pmr__ln.is-hl time {
  color: var(--orange-deep);
}

.pmr__replay {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 14px;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.pmr__play {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}
.pmr__play svg {
  width: 12px;
  height: 12px;
  margin-left: 2px;
}
.pmr__track {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 28px;
}
.pmr__wave {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pmr__wave i {
  width: 2px;
  height: calc(var(--h) * 100%);
  border-radius: 2px;
  background: #d6d2c9;
}
.pmr__wave--on {
  clip-path: inset(0 calc(100% - var(--x, 0) * 100%) 0 0);
}
.pmr__wave--on i {
  background: var(--ink);
}
.pmr__mark {
  position: absolute;
  top: -5px;
  left: calc(var(--m) * 100%);
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--paper-2);
}
.pmr__mark::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  opacity: 0;
}
.pmr__mark.is-hl::after {
  animation: pmf-burst 1.2s var(--ease-out) infinite;
}
.pmr__ph {
  position: absolute;
  top: -4px;
  bottom: -4px;
  left: calc(var(--x, 0) * 100%);
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--orange);
}
.pmr__clock {
  flex: none;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* The recording, paused on the moment that's lit: the person on camera, Prometheus
   picture-in-picture, captions over the frame and the scrubber under it. Each jump to
   a new moment blurs the frame for an instant, like a seek. */
.pmr__player {
  display: grid;
  align-content: start;
  gap: 10px;
}
.pmr__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  background: #1b1a18;
}
.pmr__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.25s var(--ease), transform 0.5s var(--ease-out);
}
.pmr__win.is-seek .pmr__shot {
  filter: blur(5px) brightness(1.08);
  transform: scale(1.025);
  transition-duration: 0.12s;
}
.pmr__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  max-width: calc(70% - 24px);
  padding: 6px 11px;
  border-radius: 999px;
  /* Solid tints, no backdrop blur: the video under them redraws every frame. */
  background: rgba(10, 10, 10, 0.62);
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
}
.pmr__tag b {
  font-weight: 600;
}
.pmr__tag span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  text-overflow: ellipsis;
}
.pmr__pip {
  position: absolute;
  right: 12px;
  top: 12px;
  overflow: hidden;
  width: 26%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: #2a2926;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
}
.pmr__pip video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
/* Both sessions' clips sit in the page so the second opens without a wait; one shows. */
.pmr__shot:not(.is-on),
.pmr__pip video:not(.is-on) {
  display: none;
}
.pmr__pip::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(rgba(10, 10, 10, 0), rgba(10, 10, 10, 0.6));
}
.pmr__pip b {
  position: absolute;
  z-index: 1;
  left: 7px;
  right: 7px;
  bottom: 5px;
  overflow: hidden;
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.pmr__cap {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 7px 12px 8px;
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.76);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  transform: translateX(-50%);
  transition: opacity 0.25s var(--ease);
}
.pmr__cap b {
  display: block;
  color: var(--orange-2);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pmr__win.is-seek .pmr__cap,
.pmr__win.is-quiet .pmr__cap {
  opacity: 0;
  transition-duration: 0.1s;
}
.pmr__side {
  display: grid;
  align-content: start;
  gap: 10px;
}

/* Two sessions to open: a hiring interview and a training role-play. The white pill
   slides to the one that's showing; the window swaps over as it moves. */
.pmr__seg {
  position: relative;
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: calc(var(--rise) * 1.4);
}
.pmr__seg-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: var(--sx, 4px);
  width: var(--sw, 50%);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 20px -10px rgba(255, 90, 31, 0.6);
  transition: left 0.5s var(--ease-out), width 0.5s var(--ease-out);
}
.pmr__opt {
  position: relative;
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: rgba(255, 255, 255, 0.66);
  font: 500 14px/1 var(--font-sans);
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.35s var(--ease);
}
.pmr__opt:hover {
  color: #fff;
}
.pmr__opt[aria-pressed="true"] {
  color: var(--ink);
}
.pmr__opt:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.pmr__body {
  transition: opacity 0.3s var(--ease), transform 0.5s var(--ease-out);
}
.pmr__win.is-swap .pmr__body {
  opacity: 0;
  transform: translateY(8px);
}

.pmr__acts {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 14px 26px 20px;
  border-top: 1px solid #efede8;
}
.pmr__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.35s, border-color 0.35s, transform 0.25s var(--ease);
}
.pmr__btn svg {
  width: 14px;
  height: 14px;
}
.pmr__btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.pmr__ok {
  display: none;
}
.pmr__win.is-done .pmr__ok {
  display: block;
}
.pmr__win.is-press .pmr__btn--ink {
  transform: scale(0.94);
}
.pmr__win.is-done .pmr__btn--ink {
  background: var(--orange);
  border-color: var(--orange);
}
.pmr__toast {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out);
}
.pmr__toast svg {
  width: 14px;
  height: 14px;
  color: var(--orange-2);
}
.pmr__win.is-toast .pmr__toast {
  opacity: 1;
  transform: none;
}
/* A teammate's pointer comes in from the bottom edge to shortlist the candidate. */
.pmr__cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 22px;
  height: 22px;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--cx, 0px), var(--cy, 0px), 0);
  transition: transform 1.05s cubic-bezier(0.5, 0, 0.15, 1), opacity 0.3s;
}
.pmr__cursor.no-tr {
  transition: none;
}
.pmr__cursor svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s var(--ease);
}
.pmr__win.is-cursor .pmr__cursor {
  opacity: 1;
}
.pmr__win.is-press .pmr__cursor svg {
  transform: scale(0.84);
}

/* In use today */
.pmp {
  max-width: 1040px;
  margin: clamp(48px, 6vw, 72px) auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
}
.pmp__faces {
  display: flex;
  padding-left: 10px;
}
.pmp__faces img {
  width: 40px;
  height: 40px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid var(--ink-2);
  object-fit: cover;
}
.pmp p {
  flex: 1;
  min-width: 240px;
  color: #d6d6d6;
  font-size: 15px;
}
.pmp p b {
  margin-right: 12px;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 500;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pmf {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .pmf__text {
    max-width: 640px;
  }
  .pmf__uses {
    max-width: 620px;
  }
}
@media (max-width: 860px) {
  .pmr__desc {
    font-size: 14px;
  }
  .pmr__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .pmr__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .pmr__step {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    gap: 4px 12px;
    padding: 14px 0 16px;
  }
  .pmr__desc {
    grid-column: 2;
  }
  .pmr__step[aria-pressed="false"] .pmr__desc {
    display: none;
  }
  .pmr__head {
    flex-wrap: wrap;
    padding: 18px 18px 14px;
  }
  .pmr__id {
    flex-basis: calc(100% - 140px);
  }
  .pmr__badge {
    order: 5;
  }
  .pmr__overall {
    display: none;
  }
  .pmr__grid {
    padding: 0 18px;
  }
  .pmr__acts {
    padding: 14px 18px 18px;
  }
  .pmr__btn--more {
    display: none;
  }
  .pmr__url {
    font-size: 11.5px;
  }
  .pmr__ready {
    display: none;
  }
}
@media (max-width: 560px) {
  .pmf__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .pmf__uses {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .pmf__use b {
    font-size: 14.5px;
  }
  .pmr__opt {
    padding: 0 14px;
    font-size: 13.5px;
  }
  .pmr__cap {
    font-size: 12px;
  }
  .pmr__tag span {
    display: none;
  }
  .pmr__pip {
    width: 40%;
  }
  .pmr__pip b {
    font-size: 10px;
  }
  .pmf__state {
    padding: 0 9px;
  }
  .pmf__state .pmf__st {
    display: none !important;
  }
}
@media (max-width: 400px) {
  .pmf__title {
    display: none;
  }
  .pmr__clock {
    display: none;
  }
  .pmr__toast {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pmf__card,
  .pmr__win {
    transform: none;
    opacity: 1;
  }
  .pmf__wave i,
  .pmf__eq i,
  .pmf__av i,
  .pmf__rec i,
  .pmr__mark::after,
  .pmf__tick::after {
    animation: none !important;
  }
  .pmr__cursor {
    display: none;
  }
}
