/* Home-page crop layers and product cards, scoped to the opening demonstration. */
.start-experience { overflow-x: clip; }
.start-experience.has-search-results .start-reference { transition: opacity 800ms var(--start-reveal-ease), left 1100ms var(--start-reveal-ease), top 1100ms var(--start-reveal-ease), width 1100ms var(--start-reveal-ease), height 1100ms var(--start-reveal-ease); }
.start-search-focus { opacity: 0; transform: scale(.97); transition: opacity 1050ms var(--start-reveal-ease), transform 1050ms var(--start-reveal-ease); }
.start-experience:is([data-search-phase="focus"], [data-search-phase="scanning"], [data-search-phase="results"]) .start-search-focus { opacity: 1; transform: scale(1); }
/* Extend the same home spotlight gradient over the entire video, without a
   rectangular seam where the home page's finite 420%-sized veil ends.
   Geometry corresponds to the static-photo focus box in start-search-demo.js. */
.start-search-focus .result-crop-veil { left: -52.083333%; top: -91.428571%; width: 208.333333%; height: 285.714286%; transform: none; box-shadow: none; background: radial-gradient(ellipse 48.384% 38.22% at 49% 49.5%, var(--spotlight-stops)); }
.start-experience[data-search-phase="scanning"] .quick-scan-line { animation: garment-scan 1.45s ease-in-out infinite alternate; opacity: 1; }
.start-experience.is-search-paused .quick-scan-line { animation-play-state: paused; }
.start-search-results.landing-hero { position: absolute; left: 0; top: 0; width: 0; height: 0; min-height: 0; overflow: hidden; pointer-events: none; visibility: hidden; }
.start-search-results .quick-product-cards-premium, .start-search-results .quick-card-stack { width: 100%; height: 100%; }
.start-search-results.landing-hero .quick-product-cards-premium .quick-card-stack { padding: 0; gap: 13px; }
.start-search-results.landing-hero .quick-result-card { opacity: 0; transform: translateX(16px); transition: opacity 650ms var(--start-reveal-ease), transform 800ms var(--start-reveal-ease); }
.start-experience.has-search-results .start-search-results { visibility: visible; overflow: visible; }
.start-experience.has-search-results .quick-result-card { opacity: 1; transform: translateX(0); transition-delay: 700ms; }
.start-experience.has-search-results .quick-result-budget { transition-delay: 860ms; }
/* Short landscape windows scroll rather than shrinking the demo to a thumbnail. */
@media (max-height: 450px) {
  .start-experience .start-actions { top: 500px; bottom: auto; padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .start-reference, .start-search-focus, .start-search-results .quick-result-card { transition: none !important; }
  .start-search-focus .quick-scan-line { animation: none !important; }
}
