.zs-caption {
  --caption-ivory: #f5f0e3;
  --caption-muted: #c1cec8;
  --caption-signal: #e0a780;
  --studio-ink: #0d2424;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color-scheme: dark;
  color: var(--caption-ivory);
  background: var(--studio-ink);
}

/* Keep the microphone and receiving device in frame while the sample is read. */
.zs-caption::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 0 0 28%;
  background: url("/assets/visuals/commerce-voice.jpg") 58% 55% / cover no-repeat;
  filter: saturate(.64) contrast(1.08);
}
.zs-caption::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, var(--studio-ink) 8%, #0d2424fc 28%, #0d2424eb 38%, #0d24246b 50%, #0d242414 62%, transparent 78%);
}
.zs-caption [hidden] { display: none !important; }
.zs-caption__layout {
  width: calc(100% - var(--edge, 5.2vw) * 2);
  max-width: 1640px;
  margin-inline: auto;
  padding-block: clamp(66px, 6.5vw, 100px);
}
.zs-caption__intro,
.zs-caption .zs-caption__proof {
  width: min(37%, 29rem);
  min-width: 0;
}
.zs-caption__kicker,
.zs-caption__source-label,
.zs-caption__time {
  font: 500 .74rem/1.4 ui-monospace, "PingFang SC", "Microsoft YaHei", monospace;
  letter-spacing: .07em;
}
.zs-caption__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--caption-signal);
  margin: 0 0 17px;
}
.zs-caption__kicker::before {
  content: "";
  width: 22px;
  border-top: 1px solid currentColor;
}
.zs-caption h2 {
  color: inherit;
  font: 500 clamp(28px, 2.8vw, 45px)/1.32 "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  letter-spacing: .025em;
  margin: 0;
}
.zs-caption h2 br { display: none; }
.zs-caption__intro-copy {
  color: #e0e6db;
  max-width: 26em;
  margin: 13px 0 0;
  font-size: .92rem;
  line-height: 1.8;
  text-wrap: pretty;
}
.zs-caption__link {
  display: inline-flex;
  align-items: baseline;
  gap: 1rem;
  width: max-content;
  padding: .38rem 0;
  margin-top: 10px;
  color: var(--caption-ivory);
  border-bottom: 1px solid #c8a58b95;
  font-size: .85rem;
  text-decoration: none;
}
.zs-caption__link span,
.zs-caption__link:hover { color: var(--caption-signal); }
.zs-caption .zs-caption__proof {
  margin: clamp(28px, 3vw, 48px) 0 0;
  padding-top: 18px;
  border-top: 1px solid #afbeaa6b;
}
.zs-caption__source-label {
  margin: 0;
  color: var(--caption-muted);
}
.zs-caption__source blockquote {
  margin: .65rem 0 1rem;
  padding: 0;
  color: var(--caption-ivory);
  font: italic 400 clamp(24px, 2.4vw, 36px)/1.14 "Baskerville", "Iowan Old Style", "Times New Roman", serif;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.zs-caption__signal {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--caption-signal);
}
.zs-caption__wave {
  position: relative;
  flex: 1;
  height: 18px;
}
.zs-caption__wave::before {
  position: absolute;
  content: "";
  inset: 50% 0 auto;
  border-top: 1px solid currentColor;
  opacity: .5;
}
.zs-caption__wave::after {
  position: absolute;
  content: "";
  inset: 0;
  background: currentColor;
  /* RMS envelope of the recorded demo, sampled into 64 equal intervals. */
  clip-path: polygon(0.0% 50.0%, 1.6% 50.0%, 3.2% 50.0%, 4.8% 50.0%, 6.3% 50.0%, 7.9% 50.0%, 9.5% 41.9%, 11.1% 4.2%, 12.7% 7.5%, 14.3% 29.8%, 15.9% 41.0%, 17.5% 48.3%, 19.0% 15.4%, 20.6% 5.2%, 22.2% 4.0%, 23.8% 11.1%, 25.4% 42.1%, 27.0% 32.6%, 28.6% 8.0%, 30.2% 13.2%, 31.7% 43.3%, 33.3% 41.0%, 34.9% 19.1%, 36.5% 6.8%, 38.1% 6.6%, 39.7% 7.9%, 41.3% 19.8%, 42.9% 40.6%, 44.4% 42.5%, 46.0% 40.6%, 47.6% 17.3%, 49.2% 6.0%, 50.8% 7.5%, 52.4% 8.3%, 54.0% 22.6%, 55.6% 32.2%, 57.1% 14.8%, 58.7% 6.7%, 60.3% 6.7%, 61.9% 16.7%, 63.5% 16.1%, 65.1% 16.9%, 66.7% 26.0%, 68.3% 36.5%, 69.8% 49.0%, 71.4% 50.0%, 73.0% 50.0%, 74.6% 50.0%, 76.2% 50.0%, 77.8% 50.0%, 79.4% 50.0%, 81.0% 50.0%, 82.5% 50.0%, 84.1% 50.0%, 85.7% 50.0%, 87.3% 50.0%, 88.9% 50.0%, 90.5% 50.0%, 92.1% 50.0%, 93.7% 50.0%, 95.2% 50.0%, 96.8% 50.0%, 98.4% 50.0%, 100.0% 50.0%, 100.0% 50.0%, 98.4% 50.0%, 96.8% 50.0%, 95.2% 50.0%, 93.7% 50.0%, 92.1% 50.0%, 90.5% 50.0%, 88.9% 50.0%, 87.3% 50.0%, 85.7% 50.0%, 84.1% 50.0%, 82.5% 50.0%, 81.0% 50.0%, 79.4% 50.0%, 77.8% 50.0%, 76.2% 50.0%, 74.6% 50.0%, 73.0% 50.0%, 71.4% 50.0%, 69.8% 51.0%, 68.3% 63.5%, 66.7% 74.0%, 65.1% 83.1%, 63.5% 83.9%, 61.9% 83.3%, 60.3% 93.3%, 58.7% 93.3%, 57.1% 85.2%, 55.6% 67.8%, 54.0% 77.4%, 52.4% 91.7%, 50.8% 92.5%, 49.2% 94.0%, 47.6% 82.7%, 46.0% 59.4%, 44.4% 57.5%, 42.9% 59.4%, 41.3% 80.2%, 39.7% 92.1%, 38.1% 93.4%, 36.5% 93.2%, 34.9% 80.9%, 33.3% 59.0%, 31.7% 56.7%, 30.2% 86.8%, 28.6% 92.0%, 27.0% 67.4%, 25.4% 57.9%, 23.8% 88.9%, 22.2% 96.0%, 20.6% 94.8%, 19.0% 84.6%, 17.5% 51.7%, 15.9% 59.0%, 14.3% 70.2%, 12.7% 92.5%, 11.1% 95.8%, 9.5% 58.1%, 7.9% 50.0%, 6.3% 50.0%, 4.8% 50.0%, 3.2% 50.0%, 1.6% 50.0%, 0.0% 50.0%);
}
.zs-caption__time {
  color: var(--caption-muted);
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
}
.zs-caption__outputs {
  display: grid;
  align-content: start;
  min-height: 102px;
  padding: 17px 0 10px;
}
.zs-caption__outputs p {
  margin: 0;
  color: var(--caption-ivory);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 480;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.zs-caption__outputs p:lang(ko) { word-break: keep-all; }
.zs-caption__outputs .zs-caption__reference {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: .4rem;
  color: #d2dad2;
  font-size: .78rem;
  line-height: 1.55;
}
.zs-caption__languages {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem clamp(12px, 1.5vw, 25px);
  border-bottom: 1px solid #afbeaa60;
}
.zs-caption__languages button {
  appearance: none;
  position: relative;
  min-height: 36px;
  color: #d2dad2;
  padding: 0 0 8px;
  border: none;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: .83rem;
}
.zs-caption__languages button[aria-pressed="true"],
.zs-caption__languages button:hover { color: #fff7e8; }
.zs-caption__languages button[aria-pressed="true"]::after {
  position: absolute;
  content: "";
  inset: auto 0 -1px;
  border-bottom: 2px solid var(--caption-signal);
}
.zs-caption :is(a,button):focus-visible {
  outline: 2px solid var(--caption-signal);
  outline-offset: 3px;
}
@media (max-width: 56rem) {
  .zs-caption__intro, .zs-caption .zs-caption__proof { width: min(50%, 29rem); }
  .zs-caption::after { background: linear-gradient(90deg, var(--studio-ink) 12%, #0d2424f5 41%, #0d242466 59%, transparent 80%); }
}
@media (max-width: 38rem) {
  .zs-caption::before { inset: 0 0 auto; height: 275px; }
  .zs-caption::after { background: linear-gradient(180deg, transparent 70px, #0d242460 150px, var(--studio-ink) 278px); }
  .zs-caption__layout { padding-block: 230px 48px; }
  .zs-caption__intro, .zs-caption .zs-caption__proof { width: 100%; }
}
