/* The copy and ribbon share a layout instead of competing for the same space. */
.hero.business-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  column-gap: clamp(32px, 3.5vw, 64px);
  height: auto;
  min-height: clamp(740px, calc(100svh - var(--header-height, 108px)), 1000px);
  max-height: none;
}
.hero.business-hero > .hero-copy {
  width: 100%;
  min-width: 0;
  max-width: none;
  align-self: center;
  padding-bottom: 0;
}
.hero.business-hero .business-headline {
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.hero.business-hero .hero-description {
  max-width: min(100%, 480px);
}
.hero.business-hero .hero-buttons {
  max-width: 100%;
  flex-wrap: wrap;
  row-gap: 14px;
}
.hero.business-hero > .case-gallery {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 520px;
  margin: 0;
  align-self: stretch;
  /* Keep the left column clear while the ribbon can continue beyond the right edge. */
  clip-path: inset(-120px -100vw -120px 0);
}
.hero.business-hero > .case-gallery #case-canvas,
.hero.business-hero > .case-gallery .case-poster {
  left: 0;
  top: -6%;
  width: max(130%, calc(50vw + 90px));
  height: 112%;
}
.hero.business-hero > .case-gallery .gallery-console {
  left: 6%;
  right: 0;
  flex-wrap: wrap;
}
.hero.business-hero > .case-gallery .gallery-topline,
.hero.business-hero > .case-gallery .gallery-bottomline {
  left: 6%;
  right: 0;
}
.hero.business-hero > .case-gallery .gallery-topline {
  top: -64px;
}
.hero.business-hero > .case-gallery .gallery-statement {
  top: -32px;
  right: 0;
  text-align: right;
}
.hero.business-hero > .case-gallery .gallery-statement > span {
  display: block;
}

@media (max-width: 1100px) {
  .hero.business-hero {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 96px;
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 100px;
  }
  .hero.business-hero > .hero-copy { max-width: 720px; }
  .hero.business-hero > .case-gallery {
    height: clamp(440px, 54vw, 600px);
    min-height: 0;
    clip-path: inset(-80px -100vw -120px -100vw);
  }
}
@media (max-width: 760px) {
  .hero.business-hero {
    row-gap: 80px;
    padding-bottom: 90px;
  }
  .hero.business-hero > .hero-copy { max-width: none; }
  .hero.business-hero > .case-gallery {
    width: 116%;
    left: -8%;
    height: 420px;
  }
  .hero.business-hero > .case-gallery #case-canvas,
  .hero.business-hero > .case-gallery .case-poster {
    left: -14%;
    top: -8%;
    width: 128%;
    height: 118%;
  }
  .hero.business-hero > .case-gallery .gallery-console {
    left: 10%;
    right: 10%;
  }
  .hero.business-hero > .case-gallery .gallery-topline,
  .hero.business-hero > .case-gallery .gallery-bottomline {
    left: 10%;
    right: 10%;
  }
  .hero.business-hero > .case-gallery .gallery-statement {
    right: 10%;
  }
}

/* 录音互动体验: a quiet third action under the two hero buttons (opens /speech in a new tab). */
.voice-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-top: 22px;
  padding: 8px 18px 8px 8px;
  border: 1px solid #d9dfdd;
  border-radius: 999px;
  background: #ffffffb8;
  color: var(--studio-navy, #17324d);
  text-decoration: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s, translate .2s;
}
.voice-demo-link:hover,
.voice-demo-link:focus-visible {
  border-color: var(--studio-teal, #247f7a);
  background: #fff;
  box-shadow: 0 8px 20px #17324d14;
  translate: 0 -1px;
}
.voice-demo-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--studio-teal, #247f7a);
  color: #fff;
}
.voice-demo-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  min-width: 0;
}
.voice-demo-text b {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
}
.voice-demo-text small {
  font-size: 12px;
  color: #5d6b78;
}
.voice-demo-arrow {
  flex: none;
  font-size: 14px;
  color: var(--studio-teal, #247f7a);
}
.hero.business-hero .voice-demo-link + .hero-caption {
  margin-top: 26px;
}
@media (max-width: 760px) {
  .voice-demo-link { margin-top: 16px; gap: 10px; padding-right: 14px; }
  .voice-demo-icon { width: 32px; height: 32px; }
  .voice-demo-text b { font-size: 13px; }
  .voice-demo-text small { font-size: 11px; }
  .hero.business-hero .voice-demo-link + .hero-caption { margin-top: 20px; }
}
