/* Three machine stories, inside the approved domestic homepage composition. */
.cn-hero-stage { display: grid; }
.cn-hero-slide { grid-area: 1 / 1; min-width: 0; }
.cn-hero-carousel .hero-grid { min-height: clamp(540px, calc(100svh - 224px), 650px); }
.cn-hero-carousel .hero-copy { padding-block: 40px 32px; }
.cn-hero-slide[aria-hidden='true'] { pointer-events: none; }
.cn-hero-carousel .cn-hero-title {
  margin: 25px 0 24px;
  color: #fff;
  font-size: clamp(38px, 3.9vw, 62px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.035em;
}
.cn-hero-title span { color: #81d9d2; }
.cn-hero-carousel .hero-intro { min-height: 76px; }
.cn-hero-carousel .hero-visual > img { animation: none; }
.cn-hero-carousel :is(#hero-slide-coating, #hero-slide-printing) .hero-visual > img { width: 104%; margin-left: -2%; }
.cn-hero-footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 0 0 30px; }
.cn-hero-select { display: flex; gap: 28px; width: min(500px, 62%); }
.cn-hero-select button { flex: 1; min-width: 0; min-height: 54px; padding: 9px 0 0; border: 0; border-radius: 0; background: none; color: #b9ccd7; font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.cn-hero-select button[aria-pressed='true'] { color: #fff; font-weight: 650; }
.cn-hero-track { display: block; height: 2px; margin-top: 14px; background: #cbe8ed30; overflow: hidden; }
.cn-hero-track i { display: block; height: 100%; background: #81d9d2; transform: scaleX(0); transform-origin: left; }
.cn-hero-select button:hover { color: #81d9d2; }
.cn-hero-playback { display: flex; align-items: center; gap: 9px; }
.cn-hero-count { padding-right: 18px; font-size: 12px; color: #b9ccd7; font-variant-numeric: tabular-nums; }
.cn-hero-count b { font-size: 17px; color: white; font-weight: 500; }
.cn-hero-playback button { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 0; background: #ffffff0d; color: #e1eff2; cursor: pointer; transition: background .2s, color .2s; }
.cn-hero-playback button:hover { background: #81d9d2; color: #0d283a; }
.cn-hero-playback svg { width: 22px; height: 22px; }
.cn-hero-playback [data-hero-next] svg { transform: rotate(180deg); }
.cn-hero-playback .cn-hero-play { display: none; }
.cn-hero-playback [aria-pressed='true'] .cn-hero-play { display: block; }
.cn-hero-playback [aria-pressed='true'] .cn-hero-pause { display: none; }
.cn-hero-playback button:disabled { opacity: .5; cursor: default; }
.cn-hero-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cn-hero-carousel :is(.cn-hero-select, .cn-hero-playback) button:focus-visible { outline: 2px solid #81d9d2; outline-offset: 5px; }
@media (min-width: 1101px) {
  /* Leave the fixed inquiry entry clear of the carousel controls. */
  .cn-hero-playback { margin-right: 156px; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .cn-hero-carousel .cn-hero-title { font-size: 40px; }
  .cn-hero-carousel .hero-intro { min-height: 110px; }
  .cn-hero-carousel .hero-actions { flex-wrap: wrap; gap: 16px; }
  .cn-hero-carousel .hero-actions .text-link { min-height: 36px; }
}
@media (max-width: 700px) {
  .cn-hero-carousel .hero-grid { min-height: 0; }
  .cn-hero-carousel .cn-hero-title { font-size: clamp(30px, 7.7vw, 40px); line-height: 1.38; margin: 18px 0; }
  .cn-hero-carousel .hero-copy { padding-top: 30px; }
  .cn-hero-carousel .hero-intro { min-height: 76px; margin-bottom: 20px; }
  .cn-hero-carousel .hero-note { display: none; }
  .cn-hero-carousel .hero-visual { margin-top: 12px; padding-top: 20px; }
  .cn-hero-carousel .hero-visual > img { height: 225px; }
  .cn-hero-carousel :is(#hero-slide-coating, #hero-slide-printing) .hero-visual > img { width: 100%; margin-left: 0; }
  .cn-hero-carousel .hero-actions { gap: 18px; }
  .cn-hero-carousel .hero-caption { margin-bottom: 16px; }
  .cn-hero-footer { gap: 20px; flex-wrap: wrap; padding-bottom: 22px; }
  .cn-hero-select { width: 100%; gap: 22px; }
  .cn-hero-select button { font-size: 14px; min-height: 46px; }
  .cn-hero-track { margin-top: 12px; }
  .cn-hero-playback { width: 100%; justify-content: flex-end; }
  .cn-hero-count { margin-right: auto; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .cn-hero-playback button { transition: none; } }
