/* Original, continuously looping product illustrations. */
.motion-gallery {
  gap: 12px;
}
.motion-card {
  display: block;
  height: 310px;
  border: 1px solid #ffffff10;
  background: #191919;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.motion-card.gallery-card--wide {
  height: 310px;
}
.motion-card:focus-visible {
  outline: 2px solid #d2d4d7;
  outline-offset: 4px;
}
.mc-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.3, 1);
  transform-origin: center;
}
.motion-card:hover .mc-stage,
.motion-card:focus-visible .mc-stage {
  transform: scale(1.02);
}
.motion-card .gallery-card__footer {
  display: flex;
  min-height: 72px;
  padding: 24px 20px 17px;
  align-items: center;
  background: linear-gradient(transparent, #191919ee 48%, #191919);
  pointer-events: none;
}
.motion-card .gallery-card__footer strong {
  display: block;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.motion-card .gallery-card__footer small {
  display: block;
  max-width: none;
  text-align: left;
  margin-top: 4px;
  font-size: 11px;
  color: #b7b7b5;
  line-height: 1.4;
}
.mc-arrow {
  font-size: 22px;
  color: #eee;
  transition: transform 500ms;
}
.motion-card:hover .mc-arrow {
  transform: translate(2px, -2px);
}
.mc-gallery-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  gap: 16px;
  font-size: 10px;
  color: #aaa;
}
.mc-motion-toggle {
  border: 0;
  background: transparent;
  color: #ddd;
  min-height: 44px;
  cursor: pointer;
  font: inherit;
  padding: 8px 0 8px 12px;
}
.mc-motion-toggle[hidden] {
  display: none;
}
.mc-stage svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
}
.mc-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  flex: none;
}
.mc-bars i {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: currentColor;
  animation: mc-speaking 1.2s ease-in-out infinite alternate;
}
.mc-bars i:nth-child(2n) {
  height: 18px;
  animation-delay: -0.4s;
}
.mc-bars i:nth-child(3n) {
  height: 24px;
  animation-delay: -0.8s;
}
.mc-stage *,
.mc-stage *::before,
.mc-stage *::after {
  animation-play-state: paused !important;
}
.is-playing .mc-stage *,
.is-playing .mc-stage *::before,
.is-playing .mc-stage *::after {
  animation-play-state: running !important;
}
/* Conversation: a duplicated stream produces an exact, invisible wrap. */
.mc-chat {
  position: absolute;
  inset: 0;
  padding: 0 20px;
  background: radial-gradient(ellipse at 20% 45%, #202020, transparent 80%), #191919;
  mask-image: linear-gradient(transparent, #000 9%, #000 73%, transparent 91%);
}
.mc-chat-track {
  animation: mc-chat-scroll 22s linear infinite;
}
.mc-chat-turn {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 7px 0;
}
.mc-bubble {
  flex: none;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  padding: 13px 16px;
  max-width: 91%;
  border-radius: 16px;
}
.mc-bubble--caller {
  align-self: flex-end;
  color: #eeeeec;
  background: #343434;
  border-bottom-right-radius: 5px;
}
.mc-bubble--agent {
  align-self: flex-start;
  color: #eeeeec;
  background: #252525;
  border-bottom-left-radius: 5px;
  box-shadow: 0 6px 25px #0002;
}
.mc-bubble .mc-bars {
  display: inline-flex;
  height: 18px;
  vertical-align: middle;
  margin-right: 9px;
  gap: 2px;
}
.mc-bubble .mc-bars i {
  width: 2px;
  max-height: 17px;
}
/* Agent: one large identity, readable instruction and a changing light pulse. */
.mc-config {
  position: absolute;
  inset: 0;
  padding: 19px 19px 0;
  background: radial-gradient(ellipse at 75% 5%, #303033, transparent 75%), #191919;
}
.mc-config-card {
  position: relative;
  padding: 18px;
  border: 1px solid #d2d4d740;
  border-radius: 15px;
  background: linear-gradient(145deg, #303032, #222224);
  box-shadow: 0 20px 45px #0005;
  transform: rotate(-2deg);
  animation: mc-float 10s ease-in-out infinite;
}
.mc-config-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mc-avatar {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 15px;
  color: #262626;
  background: linear-gradient(135deg, #eeeeec, #d2d4d7);
  box-shadow: 0 0 25px #d2d4d725;
}
.mc-config-heading b {
  display: block;
  font-size: 16px;
  font-weight: 550;
}
.mc-config-heading small {
  display: block;
  margin-top: 4px;
  color: #b7b7bb;
  font-size: 11px;
}
.mc-status-dot {
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #eeeeec;
  box-shadow: 0 0 12px #d2d4d760;
}
.mc-field {
  position: relative;
  padding: 11px 13px;
  margin-top: 12px;
  background: #14141490;
  border: 1px solid #ffffff13;
  border-radius: 9px;
}
.mc-field small {
  font-size: 10px;
  color: #b7b7bb;
}
.mc-field p {
  font-size: 12px;
  line-height: 1.5;
  color: #fff;
  margin: 5px 0 0;
}
.mc-instruction {
  animation: mc-instruction 7s ease-in-out infinite;
}
.mc-caret {
  display: inline-block;
  position: absolute;
  right: 9px;
  bottom: 14px;
  height: 12px;
  width: 2px;
  background: #eeeeec;
  animation: mc-caret 1s step-end infinite;
}
/* Knowledge: bright paper and an explicit source-to-answer sequence. */
.mc-knowledge {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 25%, #30302e, transparent 75%), #191919;
}
.mc-paper {
  position: absolute;
  top: 22px;
  left: 12%;
  width: 79%;
  height: 171px;
  border-radius: 9px;
}
.mc-paper--back {
  background: #969590;
  transform: translate(-10px, 8px) rotate(-7deg);
}
.mc-paper--front {
  padding: 17px;
  color: #262626;
  background: #e4e1d9;
  transform: rotate(3deg);
  box-shadow: 0 15px 25px #0005;
}
.mc-paper-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 550;
}
.mc-paper-heading small {
  margin-left: auto;
  color: #66645f;
  font-size: 10px;
}
.mc-paper-line {
  display: block;
  height: 4px;
  width: 87%;
  background: #b0ada5;
  border-radius: 4px;
  margin: 17px 0 13px;
}
.mc-paper-line--short {
  width: 60%;
  margin: 12px 0 9px;
}
.mc-highlight {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  padding: 9px 7px;
  margin: 0 -7px;
  font-size: 10px;
  border-radius: 4px;
  background: #c9c7c0;
  animation: mc-highlight 9s ease-in-out infinite;
}
.mc-highlight b {
  white-space: nowrap;
  font-weight: 600;
}
.mc-paper-source {
  font-size: 9px;
  color: #66645f;
}
.mc-search {
  position: absolute;
  top: 176px;
  left: 6%;
  width: 86%;
  padding: 13px 16px;
  border: 1px solid #ffffff33;
  border-radius: 11px;
  background: #292929;
  color: #fff;
  box-shadow: 0 10px 25px #0004;
  font-size: 13px;
  transform: rotate(-2deg);
}
.mc-search > span {
  margin-right: 10px;
  color: #eeeeec;
  font-size: 18px;
}
.mc-knowledge-answer {
  position: absolute;
  top: 231px;
  left: 10%;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #eeeeec;
  font-size: 12px;
  animation: mc-answer 9s ease-in-out infinite;
}
.mc-knowledge-answer svg {
  width: 16px;
  height: 16px;
}
/* Actions: retain the request/review distinction; this is not a confirmed booking. */
.mc-actions {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 8px 6% 63px;
  background: radial-gradient(ellipse at 72% 0%, #303030, transparent 75%), #191919;
}
.mc-tiny-label {
  color: #b7b7b5;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.mc-action-request {
  width: 41%;
  position: relative;
  padding: 18px;
  border: 1px solid #d2d4d740;
  border-radius: 14px;
  background: #292929;
  transform: rotate(-3deg);
  box-shadow: 0 12px 30px #0003;
}
.mc-action-request p {
  margin: 12px 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}
.mc-action-request .mc-bars {
  color: #eeeeec;
}
.mc-captured {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 10px;
  color: #d2d4d7;
  animation: mc-answer 11s ease-in-out infinite;
}
.mc-captured svg {
  width: 14px;
  height: 14px;
}
.mc-connection {
  position: relative;
  flex: 1;
  min-width: 36px;
}
.mc-connection > svg {
  width: 100%;
  height: 100px;
  overflow: visible;
}
.mc-wire,
.mc-packet {
  fill: none;
  stroke: #a4a4a47a;
  stroke-width: 2px;
}
.mc-packet {
  stroke: #eeeeec;
  stroke-dasharray: 20 150;
  animation: mc-packet 3s linear infinite;
}
.mc-action-node {
  position: absolute;
  display: grid;
  place-items: center;
  top: 34px;
  left: calc(50% - 16px);
  width: 32px;
  height: 32px;
  border: 1px solid #d2d4d78a;
  background: #292929;
  color: #eeeeec;
  border-radius: 50%;
  font-size: 18px;
}
.mc-calendar {
  position: relative;
  width: 43%;
  padding: 17px;
  color: #262626;
  background: #eeeeec;
  border-radius: 12px;
  transform: rotate(3deg);
  box-shadow: 0 16px 35px #0004;
}
.mc-calendar-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 550;
}
.mc-calendar-heading svg {
  width: 16px;
  height: 16px;
}
.mc-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 14px;
}
.mc-calendar-grid i {
  display: grid;
  place-items: center;
  font-size: 10px;
  font-style: normal;
  height: 22px;
  border-radius: 5px;
  color: #666666;
}
.mc-calendar-grid .mc-selected-day {
  color: white;
  background: #343434;
  animation: mc-day 11s ease-in-out infinite;
}
.mc-calendar-time {
  border-top: 1px solid #c4c4c0;
  margin-top: 10px;
  padding-top: 11px;
  font-size: 13px;
  font-weight: 550;
}
.mc-action-complete {
  display: flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: -28px;
  background: #d2d4d7;
  color: #262626;
  border: 1px solid #eeeeec;
  border-radius: 8px;
  padding: 10px;
  font-size: 10px;
  font-weight: 550;
  box-shadow: 0 8px 20px #0003;
  animation: mc-answer 11s ease-in-out infinite;
}
.mc-action-complete svg {
  width: 14px;
  height: 14px;
}
.mc-permission {
  position: absolute;
  left: 6%;
  bottom: 68px;
  font-size: 9px;
  color: #b7b7b5;
}
/* Voice: full-bleed original luminous sculpture. */
.mc-voice {
  position: absolute;
  inset: 0;
  background: #111315;
}
.mc-voice video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.mc-voice-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #d2d4d7;
  font-size: 11px;
}
.mc-voice-caption .mc-bars {
  height: 17px;
  transform: scale(0.7);
}
@keyframes mc-chat-scroll {
  to {
    transform: translateY(-50%);
  }
}
@keyframes mc-speaking {
  50% {
    transform: scaleY(0.35);
  }
}
@keyframes mc-float {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }
  50% {
    transform: rotate(0deg) translateY(-4px);
  }
}
@keyframes mc-instruction {
  0%,
  100% {
    border-color: #ffffff13;
  }
  35%,
  65% {
    border-color: #d2d4d7;
    box-shadow: 0 0 20px #d2d4d720;
  }
}
@keyframes mc-caret {
  50% {
    opacity: 0;
  }
}
@keyframes mc-highlight {
  0%,
  100% {
    background: #d8d5cd;
  }
  35%,
  75% {
    background: #bcbab3;
    box-shadow: 0 0 0 1px #78766f;
  }
}
@keyframes mc-answer {
  0%,
  100% {
    opacity: 0.65;
    transform: translateY(5px);
  }
  40%,
  80% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes mc-packet {
  from {
    stroke-dashoffset: 170;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes mc-day {
  0%,
  100% {
    box-shadow: 0 0 0 0 #34343440;
  }
  50% {
    box-shadow: 0 0 0 5px #34343420;
  }
}
@media (max-width: 1000px) and (min-width: 701px) {
  .mc-config {
    padding: 15px 10px 0;
  }
  .mc-config-card {
    padding: 12px;
  }
  .mc-config-heading {
    gap: 8px;
  }
  .mc-config-heading b {
    font-size: 14px;
  }
  .mc-avatar {
    width: 38px;
    height: 44px;
  }
  .mc-field p {
    font-size: 11px;
  }
  .mc-paper {
    left: 9%;
    width: 85%;
  }
  .mc-paper--front {
    padding: 12px;
  }
  .mc-highlight {
    font-size: 8px;
  }
  .mc-bubble {
    font-size: 12px;
  }
  .mc-chat {
    padding: 0 12px;
  }
  .mc-action-request,
  .mc-calendar {
    padding: 12px;
  }
  .mc-action-request p {
    font-size: 13px;
  }
  .mc-calendar-heading {
    font-size: 10px;
  }
}
@media (max-width: 700px) {
  .motion-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .motion-card.gallery-card--small,
  .motion-card.gallery-card--wide {
    grid-column: 1;
    height: 320px;
  }
  .mc-config {
    padding: 18px 24px 0;
  }
  .mc-paper {
    left: 14%;
    width: 75%;
  }
  .mc-actions {
    padding-left: 5%;
    padding-right: 5%;
  }
  .mc-action-request,
  .mc-calendar {
    padding: 12px;
  }
  .mc-action-request p {
    font-size: 13px;
  }
  .mc-calendar-heading {
    font-size: 10px;
  }
  .mc-calendar-grid {
    gap: 2px;
  }
  .mc-calendar-grid i {
    font-size: 9px;
  }
  .mc-calendar-time {
    font-size: 11px;
  }
  .mc-action-complete {
    font-size: 9px;
    padding: 8px;
  }
  .mc-captured {
    font-size: 9px;
  }
  .mc-voice video {
    width: 150%;
    max-width: none;
    height: auto;
    inset: -5px auto auto -25%;
    object-fit: cover;
  }
}
@media (prefers-reduced-motion: reduce) {
  .motion-card *,
  .motion-card *::before,
  .motion-card *::after {
    animation: none !important;
    transition: none !important;
  }
  .motion-card:hover .mc-stage,
  .motion-card:focus-visible .mc-stage {
    transform: none;
  }
}
