/* Homepage motion controls; shared brand styles remain unchanged. */
.hero.hero-motion-preview { min-height: 0; background: #101315; }
.hero-motion-preview::after { display: none; }
.hero-motion-preview .hero-scene {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(640px, 49vw, 730px);
  overflow: hidden;
}
.hero-motion-preview .hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-motion-preview .hero-poster,
.hero-motion-preview .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
}
.hero-motion-preview .hero-video { opacity: 0; }
.hero-motion-preview[data-has-frame="true"] .hero-video { opacity: 1; }
.hero-motion-preview[data-reduced-motion="true"] .hero-video { display: none; }
.hero-motion-preview .hero-shade {
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 11, 13, .68) 0%, rgba(8, 11, 13, .45) 36%, rgba(8, 11, 13, .04) 64%, transparent 100%);
}
.hero-motion-preview .hero-coordinate { opacity: .42; pointer-events: none; }
.hero-motion-preview .hero-coordinate span { animation: none; }
.hero-motion-preview .hero-copy {
  position: relative;
  z-index: 1;
  width: 51%;
  padding: 4.5rem 2rem 4.5rem clamp(2.2rem, 6.3vw, 6rem);
}
.hero-motion-preview h1 { max-width: 13ch; font-size: clamp(3.15rem, 5.1vw, 4.6rem); line-height: .94; }
.hero-motion-preview .hero-intro { max-width: 40ch; margin-top: 1.6rem; font-size: clamp(1rem, 1.15vw, 1.1rem); }
.hero-motion-preview .hero-actions { margin-top: 2rem; }
.hero-motion-preview .hero-meta { max-width: 40ch; margin-top: 1.4rem; line-height: 1.6; }
.hero-motion-preview .hero-motion-toggle {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: clamp(1rem, 2vw, 2rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 44px;
  padding: .6rem .85rem;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 2px;
  color: #fff;
  background: rgba(12, 16, 18, .84);
  font-size: .8rem;
  cursor: pointer;
}
.hero-motion-preview .hero-motion-toggle:hover { background: #1d2428; }
.hero-motion-preview .hero-motion-toggle:disabled { cursor: default; color: #e1e6e8; }
.hero-motion-preview .motion-icon { width: 14px; height: 14px; fill: currentColor; }
.hero-motion-preview .qualification-switch {
  position: static;
  display: grid;
  grid-template-columns: minmax(160px, .8fr) minmax(240px, 1fr) minmax(240px, 1.4fr);
  gap: 1.5rem;
  align-items: center;
  width: auto;
  padding: 1.25rem clamp(1.5rem, 5vw, 4.8rem);
  border-top: 1px solid #41484b;
  background: #171d20;
  backdrop-filter: none;
}
.hero-motion-preview .switch-copy { align-items: flex-start; flex-direction: column; gap: .35rem; }
.hero-motion-preview .switch-control { margin-top: 0; }
.hero-motion-preview .qualification-switch > p { min-height: 0; margin: 0; }
.hero-motion-preview .proof-rail { position: static; margin: 0; padding: 0 clamp(0rem, 3vw, 3rem); backdrop-filter: none; }
.hero-motion-preview .proof-rail div { min-height: 100px; }

@media (max-width: 900px) {
  .hero-motion-preview .qualification-switch { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero-motion-preview .qualification-switch > p { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero-motion-preview .hero-scene { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-motion-preview .hero-media { position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 16 / 9; }
  .hero-motion-preview .hero-poster, .hero-motion-preview .hero-video { object-position: 50% 50%; }
  .hero-motion-preview .hero-shade, .hero-motion-preview .hero-coordinate { display: none; }
  .hero-motion-preview .hero-copy { width: 100%; padding: 2.2rem 1.5rem 2.5rem; background: #101315; }
  .hero-motion-preview h1 { max-width: 14ch; font-size: clamp(2.6rem, 10.8vw, 3.6rem); }
  .hero-motion-preview .hero-intro { max-width: 48ch; font-size: 1rem; margin-top: 1.3rem; }
  .hero-motion-preview .hero-actions { flex-direction: row; width: auto; margin-top: 1.5rem; }
  .hero-motion-preview .hero-actions .button { flex: 1 1 190px; width: auto; }
  .hero-motion-preview .qualification-switch { padding: 1.2rem 1.5rem; }
  .hero-motion-preview .proof-rail { grid-template-columns: 1fr 1fr; padding: 0 .5rem; }
  .hero-motion-preview .proof-rail div { min-height: 95px; padding: 1rem; }
  .hero-motion-preview .proof-rail div:nth-child(2) { border-right: 0; }
  .hero-motion-preview .proof-rail div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.17); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-motion-preview:not([data-motion-choice="play"]) .hero-video { display: none !important; }
  .hero-motion-preview *, .hero-motion-preview *::before, .hero-motion-preview *::after { animation: none !important; transition: none !important; }
}
