/* The order, recorded answer and receipt depict the same trial request. */
.mt-hero {
  background: #f9faf8;
  border-bottom-color: #dbe3e0;
}
.mt-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(26px, 4vw, 68px);
  padding-block: clamp(35px, 4.7vw, 72px);
  min-height: 0;
}
.mt-pitch {
  width: 100%;
  padding: 0;
  pointer-events: auto;
}
.mt-pitch h1 {
  font-size: clamp(40px, 4.45vw, 62px);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.price-term,
.mt-price-note a {
  white-space: nowrap;
}
.price-term sup {
  font-size: 0.72em;
  line-height: 0;
}
.mt-price-note {
  display: block;
  margin-top: 12px;
  color: #526071;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.mt-price-note a {
  color: #324b6a;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.mt-price-note a:is(:hover, :focus-visible) {
  color: #17306a;
}
.request-reel {
  position: relative;
  min-width: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: 14px;
  background: #14253c;
  color: #fff;
  box-shadow: 0 18px 32px -26px #142a46;
}
.reel-canvas {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.83;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 91% 125%, #618381, transparent 43%),
    radial-gradient(ellipse at 72% 21%, #304763, transparent 65%),
    linear-gradient(125deg, #14233a, #253749 76%, #203542);
}
.reel-heading {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: clamp(13px, 1.4vw, 21px) clamp(14px, 1.7vw, 26px);
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 500;
  color: #f7fcff;
}
.reel-model {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #678196;
  border-radius: 24px;
  padding: 4px 9px 4px 7px;
  line-height: 1.2;
  font-size: clamp(10px, 0.88vw, 12px);
  color: #f0f6ff;
  background: #283e54;
}
.reel-model img {
  filter: brightness(0) invert(1);
  width: 17px;
  height: 17px;
  object-fit: contain;
}
.reel-table {
  position: absolute;
  inset: 16% 5% 5%;
  perspective: 1200px;
  container-type: inline-size;
}
.movie-slip {
  position: absolute;
  z-index: 1;
  left: 6%;
  top: 3%;
  width: 60%;
  margin: 0;
  padding: 1.5% 1.5% 0;
  background: #f5f3e9;
  color: #14263c;
  border-radius: 3px;
  box-shadow:
    3px 18px 25px -10px #071320bd,
    0 2px 1px #f9f7ee inset;
  transform: translate(0, 1%) rotate(-6deg);
  transform-origin: 52% 58%;
}
.order-lines {
  padding: 5% 5% 4%;
  background: #e1eae4;
  color: #183d35;
}
.order-lines > span {
  display: block;
  padding-bottom: 6%;
  font-size: clamp(12px, 3.1cqw, 21px);
  font-weight: 600;
}
.order-lines > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid #b5c9bf;
  padding-block: 3%;
  font-size: clamp(10px, 2.5cqw, 18px);
}
.order-lines b { font-weight: 400; }
.order-lines strong { font-variant-numeric: tabular-nums; }
.movie-title {
  padding: 3% 2% 5%;
  line-height: 1.17;
}
.movie-title small,
.print-result small,
.print-total > span {
  display: block;
  font-size: clamp(9px, 2.1cqw, 14px);
  color: #53605e;
}
.movie-title strong {
  display: block;
  margin-top: 1.4%;
  font-size: clamp(20px, 6.2cqw, 38px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}
.print-slip {
  position: absolute;
  z-index: 2;
  right: 6%;
  top: 6%;
  width: 37%;
  padding: 3.5% 3.2% 4.3%;
  background: linear-gradient(110deg, #fbfcf5, #f0f2e7);
  color: #203b3d;
  border-radius: 1px;
  box-shadow: 1px 14px 19px -9px #0c1b26a8;
  transform: translate(5%, 11%) rotate(6deg);
  transform-origin: 48% 8%;
}
.print-slip:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 4px;
  background:
    linear-gradient(135deg, #f2f4eb 27%, transparent 27%) -2px 0/8px 8px
      repeat-x,
    linear-gradient(225deg, #f2f4eb 27%, transparent 27%) -2px 0/8px 8px
      repeat-x;
}
.print-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px dashed #bbc8bf;
  padding-bottom: 7%;
  color: #415953;
  font-weight: 500;
  font-size: clamp(8px, 2cqw, 13px);
}
.print-brand img {
  width: clamp(16px, 4.6cqw, 31px);
  height: auto;
}
.print-result {
  padding-block: 8% 6%;
}
.print-result b {
  display: block;
  color: #183e35;
  font-size: clamp(13px, 3.25cqw, 22px);
  line-height: 1.25;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.print-money > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  font-size: clamp(8px, 1.9cqw, 13px);
  color: #455651;
}
.print-money b {
  font-weight: 500;
  white-space: nowrap;
}
.print-money .print-total {
  display: block;
  margin-top: 8%;
  border-top: 1px dashed #b1bdb5;
  padding-top: 7%;
}
.print-total strong {
  font-size: clamp(15px, 4.9cqw, 32px);
  line-height: 1.15;
  letter-spacing: -0.045em;
  color: #112e30;
}
.request-reel[data-step="0"] .print-slip {
  transform: translate(8%, 1%) rotate(7deg) rotateY(-11deg);
  z-index: 2;
}
.request-reel[data-step="0"] .print-result,
.request-reel[data-step="0"] .print-money {
  opacity: 0;
}
.request-reel[data-step="1"] .movie-slip {
  transform: translate(-4%, 2%) rotate(-9deg) scale(0.94);
}
.request-reel[data-step="1"] .print-slip {
  transform: translate(2%, 1%) rotate(4deg);
}
.request-reel[data-step="1"] .print-money {
  opacity: 0;
}
.request-reel[data-step="2"] .movie-slip {
  transform: translate(-6%, 5%) rotate(-9deg) scale(0.92);
}
.request-reel[data-step="2"] .print-slip {
  transform: translate(-1%, -4%) rotate(3deg);
}
.reel-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 2px;
  background: #112235;
  padding: 0 10px;
  color: #c6d3e1;
}
.reel-controls button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.reel-controls button {
  min-height: 49px;
  font-size: 13px;
}
.reel-controls button[data-story-step] span {
  width: 6px;
  height: 6px;
  border: 1px solid #98a8b8;
  border-radius: 2px;
}
.reel-controls button[aria-pressed="true"] {
  color: #e2fff1;
}
.reel-controls button[aria-pressed="true"] span {
  background: #87dabb;
  border-color: #87dabb;
}
.reel-controls button:hover {
  color: white;
  background: #203348;
}
.reel-controls button:focus-visible {
  outline: 2px solid #98e0c5;
  outline-offset: -3px;
}
@media (prefers-reduced-motion: no-preference) {
  .movie-slip,
  .print-slip {
    transition:
      transform 780ms cubic-bezier(0.2, 0.78, 0.16, 1),
      opacity 420ms;
  }
  .print-result,
  .print-money {
    transition: opacity 0.55s ease;
  }
  .request-reel[data-step="1"] .print-result b {
    animation: print-text 0.44s steps(12, end) both;
  }
  .request-reel[data-step="2"] .print-money {
    animation: feed-paper 0.66s cubic-bezier(0.25, 0.68, 0.22, 1) both;
  }
  @keyframes print-text {
    from {
      clip-path: inset(0 100% 0 0);
    }
    to {
      clip-path: inset(0);
    }
  }
  @keyframes feed-paper {
    from {
      clip-path: inset(0 0 100%);
      opacity: 0.25;
    }
    to {
      clip-path: inset(0);
      opacity: 1;
    }
  }
}
/* Each copy has the same intrinsic width, making the seam exact at any viewport. */
.family-rail {
  border-bottom: 1px solid #dbe3e0;
  background: #fff;
}
.ribbon-shell {
  display: grid;
  align-items: center;
  min-height: 94px;
}
.ribbon-window {
  overflow: hidden;
  min-width: 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 3%,
    #000 97%,
    transparent
  );
}
.ribbon-track {
  display: flex;
  width: max-content;
  min-width: 200%;
  animation: brand-ribbon 38s linear infinite;
}
.family-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 0 0 50%;
  min-width: max-content;
  gap: clamp(28px, 3.3vw, 52px);
  padding-inline: clamp(14px, 1.65vw, 26px);
}
.family-group .family-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 56px;
  white-space: nowrap;
  color: #26354b;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.family-group .family-link img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.family-group .family-link:is(:hover, :focus-visible) {
  color: #142c59;
  text-decoration: none;
}
.family-rail.is-paused .ribbon-track,
.ribbon-window:hover .ribbon-track {
  animation-play-state: paused;
}
.ribbon-window:has(:focus-visible) {
  mask-image: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.ribbon-window:has(:focus-visible) .ribbon-track {
  animation: none;
}
@keyframes brand-ribbon {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-window {
    overflow: visible;
    mask-image: none;
  }
  .ribbon-track {
    display: block;
    animation: none;
    width: auto;
    min-width: 0;
  }
  .family-original {
    min-width: 0;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 4px 18px;
    padding: 0;
  }
  .family-copy {
    display: none;
  }
}
@media (max-width: 980px) and (min-width: 761px) {
  .mt-hero-inner {
    gap: 22px;
    grid-template-columns: minmax(0, 0.97fr) minmax(0, 1.03fr);
  }
  .mt-pitch h1 {
    font-size: clamp(36px, 4.85vw, 48px);
  }
  .reel-canvas {
    aspect-ratio: 1.62;
  }
}
@media (max-width: 760px) {
  .mt-hero-inner {
    grid-template-columns: 1fr;
    display: grid;
    gap: 23px;
    padding-block: 30px 25px;
  }
  .mt-pitch {
    width: 100%;
    padding: 0;
  }
  .mt-pitch h1 {
    font-size: clamp(30px, 8.55vw, 54px);
    line-height: 1.035;
    text-wrap: initial;
  }
  .mt-pitch > p {
    margin: 13px 0 17px;
    max-width: 44ch;
  }
  .mt-catalog-note {
    margin-top: 5px;
  }
  .request-reel {
    width: 100%;
    max-width: 610px;
    justify-self: center;
  }
  .reel-canvas {
    aspect-ratio: 1.8;
  }
  .ribbon-shell {
    display: block;
    min-height: 0;
    padding-block: 10px;
  }
  .family-group .family-link {
    min-height: 44px;
    font-size: 18px;
  }
  .family-group .family-link img {
    width: 26px;
    height: 26px;
  }
}
@media (max-width: 420px) {
  .print-slip {
    top: 2%;
  }
  .reel-canvas {
    aspect-ratio: 1.53;
  }
  .reel-table {
    inset: 18% 3% 8%;
  }
  .reel-controls button {
    font-size: 12px;
    min-height: 44px;
  }
  .family-original {
    row-gap: 2px;
  }
}

.print-brief {
  position: absolute;
  top: 31%;
  left: 9%;
  width: 82%;
  opacity: 0;
  pointer-events: none;
  color: #24463c;
}
.print-brief small {
  display: block;
  color: #53605e;
  font-size: clamp(9px, 2.1cqw, 14px);
}
.print-brief strong {
  display: block;
  font-size: clamp(14px, 3.45cqw, 23px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin-top: 5%;
}
.request-reel[data-step="0"] .print-brief {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .print-brief {
    transition: opacity 0.18s ease;
  }
  .request-reel[data-step="1"] .print-slip {
    animation: turn-ticket 0.65s cubic-bezier(0.22, 0.7, 0.15, 1) both;
  }
  @keyframes turn-ticket {
    from {
      transform: translate(8%, 1%) rotate(7deg) rotateY(-17deg);
    }
    45% {
      transform: translate(6%, -2%) rotate(3deg) rotateY(8deg);
    }
    to {
      transform: translate(2%, 1%) rotate(4deg);
    }
  }
}
