/* About page only (linked from about.html, after styles.css). The lab, the relay and the
   process steps keep their rules in styles.css; this sheet adds what the page alone shows:
   the stories playing in the "What we do" cards and the standards sheet.
   Every loop here animates transform and opacity only, pauses with its section (.is-off),
   and rests on its finished state, so reduced motion shows each story complete. */

/* ---------- What we do: four cards, each a link to where that work lives ---------- */
.dcard h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}
.dcard h3 a:focus-visible {
  outline: none;
}
.dcard:focus-within {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.dcard__arrow {
  display: inline-block;
  width: 17px;
  height: 17px;
  margin-left: 8px;
  vertical-align: -2px;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}
.dcard:is(:hover, .is-live, :focus-within) .dcard__arrow {
  opacity: 1;
  transform: none;
}
.dcard__vis {
  padding: 16px 18px;
}
/* No lone word on the last line of the page's short copy. */
.dcard p,
.shead > p,
.step p,
.trust__head > p,
.trust__row dd {
  text-wrap: pretty;
}

/* 01 AI agents: a customer asks, the agent types, answers and books */
.dv--chat {
  display: grid;
  align-content: center;
  gap: 7px;
  max-width: 250px;
}
.dv-msg {
  position: relative;
  max-width: 88%;
  padding: 7px 10px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: -0.003em;
  animation: 5.6s var(--ease-out) infinite;
}
.dv-msg--in {
  justify-self: start;
  border-bottom-left-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
  color: #e4e4e4;
  animation-name: dv-in;
}
.dv-msg--out {
  justify-self: end;
  border: 1px solid rgba(255, 90, 31, 0.42);
  border-bottom-right-radius: 4px;
  background: rgba(255, 90, 31, 0.14);
  color: #fff;
  animation-name: dv-out;
}
.dv-reply {
  display: block;
  animation: dv-reply 5.6s var(--ease) infinite;
}
.dv-typing {
  position: absolute;
  left: 11px;
  top: 50%;
  display: flex;
  gap: 3px;
  margin-top: -2px;
  opacity: 0;
  animation: dv-typing 5.6s linear infinite;
}
.dv-typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  animation: dv-bob 0.9s ease-in-out infinite;
}
.dv-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.dv-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
.dv-chip {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 9px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  animation: dv-chip 5.6s var(--ease-out) infinite;
}
.dv-chip::before {
  content: "";
  width: 7px;
  height: 4px;
  margin-top: -2px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}
@keyframes dv-in {
  0%,
  5% {
    opacity: 0;
    transform: translateY(6px);
  }
  11%,
  86% {
    opacity: 1;
    transform: none;
  }
  94%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes dv-out {
  0%,
  18% {
    opacity: 0;
    transform: translateY(6px);
  }
  24%,
  86% {
    opacity: 1;
    transform: none;
  }
  94%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes dv-typing {
  0%,
  22% {
    opacity: 0;
  }
  24%,
  36% {
    opacity: 1;
  }
  38%,
  100% {
    opacity: 0;
  }
}
@keyframes dv-reply {
  0%,
  37% {
    opacity: 0;
  }
  41%,
  86% {
    opacity: 1;
  }
  94%,
  100% {
    opacity: 0;
  }
}
@keyframes dv-bob {
  0%,
  60%,
  100% {
    transform: none;
    opacity: 0.45;
  }
  30% {
    transform: translateY(-2px);
    opacity: 1;
  }
}
@keyframes dv-chip {
  0%,
  47% {
    opacity: 0;
    transform: scale(0.7);
  }
  52% {
    opacity: 1;
    transform: scale(1.06);
  }
  56%,
  86% {
    opacity: 1;
    transform: none;
  }
  94%,
  100% {
    opacity: 0;
    transform: none;
  }
}

/* 03 AI video agents: a live, recorded call, its scorecard ticking off as it goes */
.dv--call {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  max-width: 250px;
}
.dv-cam {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #1a1a1a;
  overflow: hidden;
}
.dv-cam img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dv-cam::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(10, 10, 10, 0.7));
}
.dv-rec {
  position: absolute;
  left: 5px;
  top: 5px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px 2px 5px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.dv-rec i {
  position: relative;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}
.dv-rec i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 4px solid rgba(255, 90, 31, 0.25);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  animation: live-ring 1.6s ease-in-out infinite;
}
.dv-voice {
  position: absolute;
  left: 50%;
  bottom: 7px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
  transform: translateX(-50%);
}
.dv-voice i {
  width: 2px;
  height: 10px;
  border-radius: 2px;
  background: #fff;
  transform-origin: bottom;
  animation: dv-voice 0.8s ease-in-out infinite;
}
.dv-voice i:nth-child(2) {
  animation-delay: -0.25s;
}
.dv-voice i:nth-child(3) {
  animation-delay: -0.5s;
}
.dv-voice i:nth-child(4) {
  animation-delay: -0.15s;
}
@keyframes dv-voice {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}
.dv-crit {
  display: grid;
  gap: 7px;
}
.dv-crit li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #d6d6d6;
  font-size: 10.5px;
  line-height: 1.2;
}
.dv-crit i {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.dv-crit i::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: var(--orange);
  animation: 6s var(--ease-out) infinite;
}
.dv-crit i::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3.5px;
  width: 5px;
  height: 3px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
  animation: 6s var(--ease-out) infinite;
}
.dv-crit li:nth-child(1) i::before,
.dv-crit li:nth-child(1) i::after {
  animation-name: dv-tick-1;
}
.dv-crit li:nth-child(2) i::before,
.dv-crit li:nth-child(2) i::after {
  animation-name: dv-tick-2;
}
.dv-crit li:nth-child(3) i::before,
.dv-crit li:nth-child(3) i::after {
  animation-name: dv-tick-3;
}
@keyframes dv-tick-1 {
  0%,
  14% {
    opacity: 0;
    transform: scale(0.3) rotate(-45deg);
  }
  20%,
  88% {
    opacity: 1;
    transform: rotate(-45deg);
  }
  95%,
  100% {
    opacity: 0;
    transform: rotate(-45deg);
  }
}
@keyframes dv-tick-2 {
  0%,
  30% {
    opacity: 0;
    transform: scale(0.3) rotate(-45deg);
  }
  36%,
  88% {
    opacity: 1;
    transform: rotate(-45deg);
  }
  95%,
  100% {
    opacity: 0;
    transform: rotate(-45deg);
  }
}
@keyframes dv-tick-3 {
  0%,
  46% {
    opacity: 0;
    transform: scale(0.3) rotate(-45deg);
  }
  52%,
  88% {
    opacity: 1;
    transform: rotate(-45deg);
  }
  95%,
  100% {
    opacity: 0;
    transform: rotate(-45deg);
  }
}

/* 02 Automation: a new enquiry comes in and the workflow runs on its own, step by step:
   sorted, logged, followed up, done in two seconds */
.dv--flow {
  display: grid;
  grid-template-columns: 84px 20px minmax(0, 1fr);
  align-items: center;
  max-width: 256px;
}
.dv-trig {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 8px 10px 9px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}
.dv-trig small {
  color: var(--muted-dark);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dv-trig b {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}
/* The trigger lights as the run starts. */
.dv-trig::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--orange);
  border-radius: inherit;
  opacity: 0;
  animation: dv-fire 5.6s ease-out infinite;
}
.dv-done {
  position: absolute;
  left: 50%;
  top: calc(100% + 9px);
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 8px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  animation: dv-donechip 5.6s var(--ease-out) infinite;
}
.dv-done::before {
  content: "";
  width: 7px;
  height: 4px;
  margin-top: -2px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}
/* The wires: a stub from the trigger, a spine, a branch to each step (3 × 26px rows,
   6px apart). Each lights orange from where the work comes in. */
.dv-wire {
  position: relative;
  height: 90px;
}
.dv-wire i {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
}
.dv-wire i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform-origin: left;
  animation: 5.6s var(--ease-out) infinite;
}
.dv-wire i:nth-child(1) {
  left: 0;
  width: 50%;
  top: 45px;
  height: 1px;
}
.dv-wire i:nth-child(2) {
  left: 50%;
  width: 1px;
  top: 13px;
  bottom: 13px;
}
.dv-wire i:nth-child(2)::after {
  transform-origin: center;
}
.dv-wire i:nth-child(3),
.dv-wire i:nth-child(4),
.dv-wire i:nth-child(5) {
  left: 50%;
  right: 0;
  height: 1px;
}
.dv-wire i:nth-child(3) {
  top: 13px;
}
.dv-wire i:nth-child(4) {
  top: 45px;
}
.dv-wire i:nth-child(5) {
  top: 76px;
}
.dv-wire i:nth-child(1)::after {
  animation-name: dv-wire-in;
}
.dv-wire i:nth-child(2)::after {
  animation-name: dv-wire-spine;
}
.dv-wire i:nth-child(3)::after {
  animation-name: dv-wire-1;
}
.dv-wire i:nth-child(4)::after {
  animation-name: dv-wire-2;
}
.dv-wire i:nth-child(5)::after {
  animation-name: dv-wire-3;
}
.dv-acts {
  display: grid;
  gap: 6px;
}
.dv-acts li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 26px;
  padding: 0 7px 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #d6d6d6;
  font-size: 10.5px;
  white-space: nowrap;
}
.dv-acts i {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.dv-acts i::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: var(--orange);
  animation: 5.6s var(--ease-out) infinite;
}
.dv-acts i::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3.5px;
  width: 5px;
  height: 3px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
  animation: 5.6s var(--ease-out) infinite;
}
.dv-acts li:nth-child(1) i::before,
.dv-acts li:nth-child(1) i::after {
  animation-name: dv-act-1;
}
.dv-acts li:nth-child(2) i::before,
.dv-acts li:nth-child(2) i::after {
  animation-name: dv-act-2;
}
.dv-acts li:nth-child(3) i::before,
.dv-acts li:nth-child(3) i::after {
  animation-name: dv-act-3;
}
@keyframes dv-fire {
  0%,
  3% {
    opacity: 0;
  }
  6%,
  16% {
    opacity: 1;
  }
  26%,
  100% {
    opacity: 0;
  }
}
@keyframes dv-wire-in {
  0%,
  6% {
    opacity: 1;
    transform: scaleX(0);
  }
  10%,
  86% {
    opacity: 1;
    transform: none;
  }
  94%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes dv-wire-spine {
  0%,
  10% {
    opacity: 1;
    transform: scaleY(0);
  }
  14%,
  86% {
    opacity: 1;
    transform: none;
  }
  94%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes dv-wire-1 {
  0%,
  13% {
    opacity: 1;
    transform: scaleX(0);
  }
  16%,
  86% {
    opacity: 1;
    transform: none;
  }
  94%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes dv-wire-2 {
  0%,
  23% {
    opacity: 1;
    transform: scaleX(0);
  }
  26%,
  86% {
    opacity: 1;
    transform: none;
  }
  94%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes dv-wire-3 {
  0%,
  33% {
    opacity: 1;
    transform: scaleX(0);
  }
  36%,
  86% {
    opacity: 1;
    transform: none;
  }
  94%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes dv-act-1 {
  0%,
  16% {
    opacity: 0;
    transform: scale(0.3) rotate(-45deg);
  }
  21%,
  86% {
    opacity: 1;
    transform: rotate(-45deg);
  }
  94%,
  100% {
    opacity: 0;
    transform: rotate(-45deg);
  }
}
@keyframes dv-act-2 {
  0%,
  26% {
    opacity: 0;
    transform: scale(0.3) rotate(-45deg);
  }
  31%,
  86% {
    opacity: 1;
    transform: rotate(-45deg);
  }
  94%,
  100% {
    opacity: 0;
    transform: rotate(-45deg);
  }
}
@keyframes dv-act-3 {
  0%,
  36% {
    opacity: 0;
    transform: scale(0.3) rotate(-45deg);
  }
  41%,
  86% {
    opacity: 1;
    transform: rotate(-45deg);
  }
  94%,
  100% {
    opacity: 0;
    transform: rotate(-45deg);
  }
}
@keyframes dv-donechip {
  0%,
  45% {
    opacity: 0;
    transform: scale(0.7);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
  54%,
  86% {
    opacity: 1;
    transform: none;
  }
  94%,
  100% {
    opacity: 0;
    transform: none;
  }
}

/* 04 Websites, apps and systems: three finished builds take turns (a website, a sign-in
   app, a bookings system), each named on its tab, so the window is never empty */
.dv--builds {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 244px;
}
.dv-tabs {
  display: flex;
  justify-content: center;
  gap: 5px;
}
.dv-tabs b {
  position: relative;
  isolation: isolate;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
}
.dv-tabs b::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--orange);
  opacity: 0;
  animation: 7.2s var(--ease) infinite;
}
.dv-tabs b:nth-child(1)::before {
  opacity: 1;
  animation-name: dv-tab-1;
}
.dv-tabs b:nth-child(2)::before {
  animation-name: dv-tab-2;
}
.dv-tabs b:nth-child(3)::before {
  animation-name: dv-tab-3;
}
.dv-stage {
  display: grid;
  height: 86px;
}
.dv-scene {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  animation: 7.2s var(--ease) infinite;
}
.dv-scene--web {
  animation-name: dv-sc-1;
}
.dv-scene--app {
  opacity: 0;
  animation-name: dv-sc-2;
}
.dv-scene--sys {
  opacity: 0;
  animation-name: dv-sc-3;
}
.dv-win {
  display: block;
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.dv-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
  padding: 0 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.dv-bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
.dv-bar em {
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted-dark);
  font-size: 8px;
  font-style: normal;
  line-height: 1.4;
}

/* The website: a real-looking home page whose button gets pressed */
.dv-web {
  display: grid;
  grid-template-rows: 10px 17px 18px;
  gap: 6px;
  padding: 8px 10px 9px;
}
.dv-web > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.dv-rnav b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 7.5px;
  font-weight: 600;
}
.dv-rnav b::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--orange);
}
.dv-rnav small {
  color: var(--muted-dark);
  font-size: 7px;
}
.dv-rhero strong {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.dv-rhero em {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 7.5px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
  animation: dv-press 7.2s var(--ease) infinite;
}
.dv-rtiles i {
  flex: 1;
  align-self: stretch;
  border-radius: 4px;
  background: linear-gradient(140deg, rgba(255, 150, 100, 0.42), rgba(255, 90, 31, 0.1));
}
.dv-rtiles i:nth-child(2) {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
}
.dv-rtiles i:nth-child(3) {
  background: linear-gradient(140deg, rgba(255, 200, 160, 0.3), rgba(255, 120, 60, 0.06));
}

/* The app: a phone checks someone in, explained beside it */
.dv-phone {
  flex: none;
  display: grid;
  justify-items: center;
  align-content: start;
  width: 54px;
  height: 86px;
  padding: 6px 6px 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, #1c1c1c, #111);
}
.dv-phone__bar,
.dv-phone__title {
  justify-self: stretch;
}
.dv-phone__bar {
  color: var(--muted-dark);
  font-size: 5.5px;
  font-weight: 600;
}
.dv-phone__title {
  margin-top: 3px;
  color: #fff;
  font-size: 7px;
  font-weight: 600;
}
.dv-phone__tick {
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: dv-tickpop 7.2s var(--ease-out) infinite;
}
.dv-phone__tick::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 6.5px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.dv-phone__ok,
.dv-phone__meta {
  white-space: nowrap;
  animation: dv-okfade 7.2s var(--ease) infinite;
}
.dv-phone__ok {
  margin-top: 5px;
  color: #fff;
  font-size: 6.5px;
  font-weight: 600;
}
.dv-phone__meta {
  margin-top: 1px;
  color: var(--muted-dark);
  font-size: 5.5px;
}
.dv-appcopy {
  display: grid;
  gap: 4px;
  max-width: 150px;
}
.dv-appcopy b {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.dv-appcopy small {
  color: var(--muted-dark);
  font-size: 9px;
  line-height: 1.35;  text-wrap: balance;
}
.dv-appcopy em {
  justify-self: start;
  margin-top: 2px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d6d6d6;
  font-size: 8px;
  font-style: normal;
}

/* The system: a bookings admin takes a new booking, and the day's count goes up */
.dv-win--sys {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  height: 86px;
}
.dv-side {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 6px;
  padding-top: 9px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.dv-side i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
}
.dv-side i:first-child {
  background: var(--orange);
}
.dv-admin {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 7px 9px;
}
.dv-admin__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2px;
}
.dv-admin__top b {
  color: var(--muted-dark);
  font-size: 8.5px;
  font-weight: 600;
}
.dv-admin__top strong {
  display: grid;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.dv-admin__top strong span {
  grid-area: 1 / 1;
  justify-self: end;
  animation: 7.2s var(--ease) infinite;
}
.dv-admin__top strong span:first-child {
  opacity: 0;
  animation-name: dv-count-old;
}
.dv-admin__top strong span:last-child {
  animation-name: dv-count-new;
}
.dv-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  height: 14px;
  padding: 0 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.045);
  color: #e6e6e6;
  font-size: 8.5px;
}
.dv-row time {
  color: var(--muted-dark);
  font-variant-numeric: tabular-nums;
}
.dv-row em {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d6d6d6;
  font-size: 7.5px;
  font-style: normal;
}
.dv-row--new {
  animation: dv-newrow 7.2s var(--ease-out) infinite;
}
.dv-row--new em {
  background: var(--orange);
  color: #fff;
}
@keyframes dv-tab-1 {
  0%,
  30% {
    opacity: 1;
  }
  32%,
  96% {
    opacity: 0;
  }
  98%,
  100% {
    opacity: 1;
  }
}
@keyframes dv-tab-2 {
  0%,
  32% {
    opacity: 0;
  }
  34%,
  62% {
    opacity: 1;
  }
  64%,
  100% {
    opacity: 0;
  }
}
@keyframes dv-tab-3 {
  0%,
  64% {
    opacity: 0;
  }
  66%,
  94% {
    opacity: 1;
  }
  96%,
  100% {
    opacity: 0;
  }
}
@keyframes dv-sc-1 {
  0%,
  29% {
    opacity: 1;
    transform: none;
  }
  32% {
    opacity: 0;
    transform: translateY(-4px);
  }
  33%,
  97% {
    opacity: 0;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes dv-sc-2 {
  0%,
  32% {
    opacity: 0;
    transform: translateY(4px);
  }
  35%,
  61% {
    opacity: 1;
    transform: none;
  }
  64%,
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}
@keyframes dv-sc-3 {
  0%,
  64% {
    opacity: 0;
    transform: translateY(4px);
  }
  67%,
  94% {
    opacity: 1;
    transform: none;
  }
  97%,
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}
@keyframes dv-press {
  0%,
  15% {
    transform: none;
  }
  18% {
    transform: scale(0.88);
  }
  22%,
  100% {
    transform: none;
  }
}
@keyframes dv-tickpop {
  0%,
  39% {
    opacity: 0;
    transform: scale(0.3);
  }
  43% {
    opacity: 1;
    transform: scale(1.1);
  }
  46%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes dv-okfade {
  0%,
  40% {
    opacity: 0;
  }
  44%,
  100% {
    opacity: 1;
  }
}
@keyframes dv-newrow {
  0%,
  73% {
    opacity: 0;
    transform: translateY(5px);
  }
  77%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes dv-count-old {
  0%,
  76% {
    opacity: 1;
  }
  77%,
  100% {
    opacity: 0;
  }
}
@keyframes dv-count-new {
  0%,
  76% {
    opacity: 0;
  }
  77%,
  100% {
    opacity: 1;
  }
}

/* ---------- Standards: the headline beside a sheet an orange line checks off ---------- */
.trust {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.trust__head .eyebrow {
  margin-bottom: 22px;
}
.trust__head > p:not(.eyebrow) {
  max-width: 40ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: 17.5px;
}
.trust__head .link-arrow {
  margin-top: 28px;
}
.trust__sheet {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.trust__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 500;
}
.trust__top b {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}
.trust__top b::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.trust__rows {
  position: relative;
  overflow: hidden;
}
/* The check: a hairline with a soft trail above it sweeps down the rows once. */
.trust__rows::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, var(--orange) 0 2px, rgba(255, 90, 31, 0.1) 2px, rgba(255, 90, 31, 0) 64px);
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
.trust__sheet.is-in .trust__rows::after {
  animation: trust-scan 1.7s linear 0.7s;
}
@keyframes trust-scan {
  0% {
    opacity: 1;
    transform: translateY(-100%);
  }
  92% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: none;
  }
}
.trust__row {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: baseline;
  gap: 18px;
  padding: 17px 64px 17px 24px;
  border-top: 1px dashed var(--line-2);
}
.trust__row:first-child {
  border-top: 0;
}
.trust__row dt {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 500;
}
.trust__row dd {
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.45;
}
.trust__tick {
  position: absolute;
  right: 24px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  transition: opacity 0.3s, transform 0.55s var(--ease-out);
}
.trust__tick svg {
  width: 13px;
  height: 13px;
}
/* Each tick lands as the line passes its row (row k of 5 sits at (k + 0.5) / 5 of the scan). */
.js .trust__sheet:not(.is-in) .trust__tick {
  opacity: 0;
  transform: scale(0.3);
}
.trust__sheet.is-in .trust__tick {
  transition-delay: calc(0.7s + (var(--k) + 0.5) * 0.34s);
}

@media (max-width: 900px) {
  .trust {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .trust__top {
    padding: 14px 18px;
  }
  .trust__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 15px 54px 15px 18px;
  }
  .trust__tick {
    right: 18px;
  }
}

/* ---------- Lab: the four screens are small working apps (an AI inbox, an orders table,
   a calendar and a live dashboard), each broken until it fixes itself in front of you:
   site.js sets the steps in between (.is-reading, .is-typing, .is-finding…) while the
   screen .is-working, then .is-solved.
   Inside a screen 1em scales with the screen's width (--hw), so each app keeps its
   proportions from phones to wide screens. Text swaps use data-bad / data-good.
   --hw is a screen's full size, the size it has in focus: site.js only ever scales a
   screen down from it, so the one you're reading is drawn 1:1 and stays crisp. */
.lab .holo[data-screen] {
  --hw: clamp(220px, 21.5vw, 330px);
  border-color: rgba(255, 140, 90, 0.42);
  background: linear-gradient(160deg, rgb(37, 23, 18), rgb(14, 10, 9));
  box-shadow: 0 0 40px rgba(255, 90, 31, 0.16), inset 0 0 40px rgba(255, 90, 31, 0.06);
  transition: none;
}
/* Focus shows as a ring inside the screen (.holo__ring), an opacity change, rather than a
   border and shadow transition that repaints the screen. */
.lab .holo[data-screen].is-focus {
  border-color: rgba(255, 140, 90, 0.42);
  box-shadow: 0 0 40px rgba(255, 90, 31, 0.16), inset 0 0 40px rgba(255, 90, 31, 0.06);
}
/* Front screens keep the sheen but lose the scanlines, which sat over their words. */
.lab .holo[data-screen]::after {
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.05) 50%, transparent 62%);
}
.lab .holo[data-screen] .holo__bar {
  gap: 0.85em;
  padding: 0.85em 1.15em;
  font-size: calc(var(--hw) * 0.039);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.lab .holo[data-screen] .holo__bar > span:not(.holo__dots) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lab .holo[data-screen] .holo__dots {
  display: flex;
  flex: none;
  gap: 0.45em;
}
.lab .holo[data-screen] .holo__dots i {
  width: 0.62em;
  height: 0.62em;
}
.lab .holo[data-screen] .holo__bar em {
  position: relative;
  isolation: isolate;
  flex: none;
  padding: 0.25em 0.75em;
  font-size: 1em;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  transition: none;
}
.lab .holo.is-working .holo__bar em {
  border-color: rgba(255, 255, 255, 0.32);
  color: #f3e4dd;
}
/* Once fixed, the pill fills with orange: an overlay that fades in, rather than a background
   transition that repaints the screen every frame. */
.lab .holo[data-screen] .holo__bar em::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.35s;
}
.lab .holo.is-solved .holo__bar em {
  background: none;
}
.lab .holo.is-solved .holo__bar em::before {
  opacity: 1;
}
.lab .holo__body.hx {
  width: auto;
  height: auto;
  padding: 0.95em 1.1em;
  transform: none;
  font-size: calc(var(--hw) * 0.046);
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  color: #f6ebe6;
}
/* A screen waits under a shade while another has the story, lights a ring while it has it,
   and flashes (.holo__ping, run from site.js) as the flow passes through it. */
.holo__shade,
.holo__ring,
.holo__ping {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.holo__shade {
  z-index: 2;
  background: #0b0807;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.holo.is-back .holo__shade {
  opacity: 0.58;
}
.holo__ring {
  z-index: 3;
  border: 1.5px solid var(--orange);
  box-shadow: inset 0 0 26px rgba(255, 90, 31, 0.2);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.holo.is-focus .holo__ring {
  opacity: 1;
}
.holo__ping {
  z-index: 4;
  border: 2px solid #ff8a5c;
  box-shadow: inset 0 0 34px rgba(255, 90, 31, 0.42);
  opacity: 0;
}

/* 01 Inbox: unread messages with no owner, then each one tagged by the AI agent */
.hx-inbox {
  display: grid;
  gap: 0.45em;
  align-content: start;
}
.hx-msg {
  position: relative;
  display: grid;
  grid-template-columns: 2.1em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65em;
  padding: 0.35em 0.5em 0.35em 0.4em;
  border-radius: 0.6em;
  background: rgba(255, 255, 255, 0.05);
}
/* The agent reads one message at a time (the row lights up), then tags it */
.hx-msg::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 90, 31, 0.14);
  box-shadow: inset 0.2em 0 0 var(--orange);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.hx-msg.is-reading::after {
  opacity: 1;
}
.hx-av {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.1em;
  height: 2.1em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 1em;
  font-weight: 600;
}
.hx-av::after {
  content: "";
  position: absolute;
  right: -0.1em;
  top: -0.1em;
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  border: 0.15em solid #1e130f;
  background: #ff6b5f;
  transition: opacity 0.4s;
}
.hx-msg.is-tagged .hx-av::after {
  opacity: 0;
}
.hx-txt {
  display: grid;
  min-width: 0;
}
.hx-txt strong,
.hx-txt small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hx-txt strong {
  color: #fff;
  font-size: 1em;
  font-weight: 600;
}
.hx-txt small {
  color: #ddc9c0;
  font-size: 0.88em;
}
.hx-tag {
  padding: 0.25em 0.6em;
  border-radius: 999px;
  border: 1px solid var(--orange);
  color: #ffa47c;
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(0.8em);
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
}
.hx-msg.is-tagged .hx-tag {
  opacity: 1;
  transform: none;
}

/* 02 Orders table: two cells broken by copy and paste, then filled in from the system */
.hx-table {
  display: grid;
  align-content: start;
}
.hx-tr {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 3.4em;
  align-items: center;
  gap: 0.6em;
  height: 2.05em;
  padding: 0 0.5em;
  border-radius: 0.35em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #efdfd8;
  font-size: 0.95em;
}
.hx-tr > span:first-child {
  overflow: hidden;
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.hx-th {
  height: 1.8em;
  color: #c8b1a7;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.hx-th > span:first-child {
  color: #c8b1a7;
}
.hx-num {
  display: grid;
  font-variant-numeric: tabular-nums;
}
.hx-num em,
.hx-num b {
  grid-area: 1 / 1;
  font-style: normal;
  font-weight: 500;
  transition: opacity 0.4s;
}
.hx-num b {
  color: #fff;
  opacity: 0;
}
/* A broken row is tinted red; as its value is typed in the red gives way to orange. */
.hx-tr.is-bad {
  position: relative;
  isolation: isolate;
}
.hx-tr.is-bad::before,
.hx-tr.is-bad::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transition: opacity 0.5s;
}
.hx-tr.is-bad::before {
  background: rgba(255, 80, 70, 0.12);
}
.hx-tr.is-bad::after {
  background: rgba(255, 90, 31, 0.16);
  opacity: 0;
}
.hx-tr.is-fixed::before {
  opacity: 0;
}
.hx-tr.is-fixed::after {
  opacity: 1;
}
.hx-tr.is-bad .hx-num em {
  color: #ff8178;
}
.hx-tr.is-typing .hx-num em,
.hx-tr.is-fixed .hx-num em {
  opacity: 0;
}
.hx-tr.is-typing .hx-num b,
.hx-tr.is-fixed .hx-num b {
  opacity: 1;
}
.hx-tr.is-typing .hx-num b {
  transition: none;
}
.hx-tr.is-typing .hx-num b::after {
  content: "";
  display: inline-block;
  width: 0.09em;
  height: 0.95em;
  margin-left: 0.08em;
  background: var(--orange);
  vertical-align: -0.12em;
}
.hx-st {
  justify-self: start;
  padding: 0.12em 0.55em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78em;
}
.hx-st--due {
  background: rgba(255, 90, 31, 0.2);
  color: #ffb796;
}

/* 03 Calendar: a meeting six emails couldn't book, then the next step books itself */
.hx-cal {
  display: grid;
  align-content: start;
}
.hx-days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  height: 1.7em;
  color: #c8b1a7;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}
.hx-grid {
  position: relative;
  height: 7.2em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.45em;
  background-color: rgba(255, 255, 255, 0.02);
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 100% 25%, 20% 100%;
}
/* Events are sized in em throughout (no fixed px gaps), so a label fits its column at
   every screen size. */
.hx-ev {
  position: absolute;
  left: calc(var(--d) * 20% + 0.2em);
  top: calc(var(--t) * 25% + 0.2em);
  width: calc(20% - 0.4em);
  height: calc(var(--h) * 25% - 0.4em);
  padding: 0.3em 0.2em 0 0.4em;
  overflow: hidden;
  border-left: 0.2em solid rgba(255, 255, 255, 0.45);
  border-radius: 0.3em;
  background: rgba(255, 255, 255, 0.11);
  color: #f6ebe6;
  font-size: 0.72em;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
/* The meeting: site.js lifts it out of the note under the grid and flies it into its slot. */
.hx-ev--new {
  z-index: 2;
  border-left-color: var(--orange);
  background: rgba(255, 90, 31, 0.3);
  color: #fff;
  font-weight: 600;
  opacity: 0;
  will-change: transform, opacity;
}
/* Free times light up one after another while the calendar looks, then the one it picks
   (Wed 10:00) stays lit until the meeting lands in it. */
.hx-free {
  position: absolute;
  z-index: 1;
  left: calc(var(--d) * 20% + 0.2em);
  top: calc(var(--t) * 25% + 0.2em);
  width: calc(20% - 0.4em);
  height: calc(var(--h) * 25% - 0.4em);
  border: 1px dashed rgba(255, 150, 105, 0.8);
  border-radius: 0.3em;
  background: rgba(255, 90, 31, 0.07);
  opacity: 0;
  transition: opacity 0.25s;
}
.holo.is-finding .hx-free {
  opacity: 1;
  transition-delay: calc(var(--k) * 0.12s);
}
.holo.is-booking .hx-free--pick {
  border-style: solid;
  background: rgba(255, 90, 31, 0.16);
  opacity: 1;
}
.hx-wait {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 0.6em;
  padding: 0.35em 0.6em;
  border: 1px dashed rgba(255, 110, 100, 0.7);
  border-radius: 0.5em;
  color: #ff9087;
  font-size: 0.82em;
  white-space: nowrap;
}
.hx-wait::before {
  content: "";
  flex: none;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: currentColor;
}
.holo.is-working .hx-wait {
  border-color: rgba(255, 255, 255, 0.34);
  color: #efdfd8;
}
.holo.is-solved .hx-wait {
  border-style: solid;
  border-color: rgba(255, 90, 31, 0.7);
  color: #ffb796;
}

/* 04 Dashboard: last week's numbers with the latest weeks missing; as it updates the
   numbers count up and the missing bars grow in, and once live the latest is orange */
.hx-dash {
  display: grid;
  gap: 0.75em;
  align-content: start;
}
.hx-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6em;
}
.hx-kpis > span {
  display: grid;
  gap: 0.15em;
  padding: 0.45em 0.65em;
  border-radius: 0.55em;
  background: rgba(255, 255, 255, 0.055);
}
.hx-kpis small {
  color: #c8b1a7;
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hx-kpis b {
  color: #b39b92;
  font-size: 1.45em;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.holo.is-working .hx-kpis b,
.holo.is-solved .hx-kpis b {
  color: #fff;
}
.hx-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 0.45em;
  height: 4.6em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.hx-chart i {
  height: 100%;
  border-radius: 0.25em 0.25em 0 0;
  background: rgba(255, 255, 255, 0.26);
  transform-origin: bottom;
  transform: scaleY(var(--v));
  transition: transform 0.9s var(--ease-out);
}
.hx-chart i:nth-child(n + 5) {
  transform: scaleY(0.04);
}
.hx-chart i.is-in {
  transform: scaleY(var(--v));
}
.holo.is-solved .hx-chart i:last-child {
  background: var(--orange);
}
.hx-axis {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45em;
  margin-top: -0.45em;
  color: #bba49b;
  font-size: 0.66em;
  text-align: center;
}

/* ---------- Lab: the line and the four screens share one flat layer, with the line and
   its spark underneath, so the line runs from screen to screen behind them and can't cut
   across one. It ends at the first and last screens. The faint line draws itself as the
   screens arrive; each orange link lights as the flow runs from a solved screen to the
   next. Both are drawn with dashes on pathLength 1, so no filters repaint. */
.lab__front {
  position: absolute;
  inset: 0;
  isolation: isolate;
}
.lab__front .lab__arc {
  z-index: 1;
}
.lab__line,
.lab__link {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}
.lab__line {
  stroke: rgba(255, 150, 105, 0.3);
  stroke-width: 1.25;
}
.lab__link-halo {
  stroke: rgba(255, 90, 31, 0.2);
  stroke-width: 7;
}
.lab__link-core {
  stroke: var(--orange);
  stroke-width: 2;
}
.lab__front .lab__spark {
  z-index: 2;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  background: #fff4ee;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.45), 0 0 18px 6px rgba(255, 90, 31, 0.7);
  will-change: transform, opacity;
}

/* A soft light follows the screen in focus (site.js moves it and fades it with the focus),
   and on phones a faint outline keeps the place of the screen that has come forward. */
.lab__glow {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.24), rgba(255, 90, 31, 0.07) 58%, transparent);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.lab__slot {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  border: 3px dashed rgba(255, 150, 105, 0.5);
  border-radius: 16px;
  opacity: 0;
  pointer-events: none;
}

/* Every screen is a way in: point at one and the story waits for you, click one to jump
   to it. */
@media (hover: hover) {
  .lab .holo[data-screen] {
    cursor: pointer;
  }
  .lab .holo.is-back:hover .holo__shade {
    opacity: 0.3;
  }
  .lab .holo[data-screen]:not(.is-focus):hover .holo__ring {
    opacity: 0.5;
  }
}

/* The steps under the story fill as it runs through them, like chapters, and each one is a
   button that jumps there. */
.lab__meter {
  gap: 8px;
  max-width: 360px;
  margin-top: 12px;
}
.lab__meter button {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 8px 0 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--muted-dark);
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.lab__meter button::before {
  content: "";
  display: block;
  height: 3px;
  margin-bottom: 8px;
  border-radius: 3px;
  background: var(--line-dark);
  transition: background-color 0.25s;
}
.lab__meter i {
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: none;
  will-change: transform; /* filled every frame: its own layer, so nothing around it repaints */
}
.lab__meter button[aria-current] {
  color: #fff;
}
@media (hover: hover) {
  .lab__meter button:hover {
    color: #fff;
  }
  .lab__meter button:hover::before {
    background: rgba(255, 255, 255, 0.32);
  }
}
.lab__meter button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

@media (min-width: 861px) and (max-height: 760px) {
  .lab .holo[data-screen] {
    --hw: clamp(180px, min(21.5vw, 39vh), 330px);
  }
}
/* Tablets and phones: the arc sits lower, so the screens fill the space down to the story. */
@media (max-width: 860px) {
  .lab .holo[data-screen] {
    --hw: clamp(180px, 30vw, 260px);
  }
  .lab__arc {
    top: 15%;
    height: 56%;
  }
}
/* Phones: the screens wait small round an arc under the header and the one with the story
   comes into the space below it at full size (site.js), so the section runs a little
   taller than a short phone's screen. */
@media (max-width: 599px) {
  .lab .holo[data-screen] {
    --hw: clamp(220px, 70vw, 300px);
  }
}
@media (max-width: 599px) and (prefers-reduced-motion: no-preference) {
  .lab__pin {
    min-height: 760px;
    max-height: none;
  }
}

/* ---------- Relay: room for each product's tag ("For hiring and training") beside its
   name, so the three cards stay the same height ---------- */
.relay__name {
  gap: 4px 8px;
}
.relay__name small {
  font-size: 11.5px;
}
@media (min-width: 1241px) {
  .relay {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.2fr) minmax(0, 0.94fr);
  }
}
@media (min-width: 901px) and (max-width: 1320px) {
  .relay__state {
    display: none;
  }
}
/* Tablets: too narrow for name and tag side by side, so every tag takes its own line. */
@media (min-width: 901px) and (max-width: 1240px) {
  .relay__name small {
    flex-basis: 100%;
  }
}

/* ---------- Relay: the core's live dot pulses on a ring of its own ----------
   (styles.css animates its box-shadow, which repaints on the main thread every frame) */
.relay__brand i {
  position: relative;
  box-shadow: none;
  animation: none;
}
.relay__brand i::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 5px solid rgba(255, 90, 31, 0.18);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  animation: live-ring 2.4s ease-in-out infinite;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .dv-msg,
  .dv-reply,
  .dv-chip,
  .dv-trig::after,
  .dv-done,
  .dv-wire i::after,
  .dv-acts i::before,
  .dv-acts i::after,
  .dv-crit i::before,
  .dv-crit i::after,
  .dv-voice i,
  .dv-rec i::after,
  .dv-tabs b::before,
  .dv-scene,
  .dv-rhero em,
  .dv-phone__tick,
  .dv-phone__ok,
  .dv-phone__meta,
  .dv-row--new,
  .dv-admin__top strong span,
  .relay__brand i::after,
  .trust__rows::after {
    animation: none;
  }
  .dv-typing {
    display: none;
  }
}
