@charset "UTF-8";

/* V8.1 performance and touch layer. Loaded after the visual theme so these
   rules can improve delivery without changing the desktop art direction. */

.showroom-page {
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

.showroom-page img {
  max-width: 100%;
}

.progressive-image {
  opacity: .02;
  transition: opacity .28s ease;
}

.progressive-image.is-loaded {
  opacity: 1;
}

.cinema-hero-slide,
.cinema-card-art,
.spotlight-card,
.screen-evidence-visual,
.study-hero-visual {
  background-color: #181818;
  background-image: linear-gradient(110deg, #181818 18%, #242424 36%, #181818 54%);
  background-size: 220% 100%;
  animation: media-warmup 1.4s ease-in-out infinite;
}

.cinema-hero-slide:has(.progressive-image.is-loaded),
.cinema-card-art:has(.progressive-image.is-loaded),
.spotlight-card:has(.progressive-image.is-loaded),
.screen-evidence-visual:has(.progressive-image.is-loaded),
.study-hero-visual:has(.progressive-image.is-loaded) {
  animation: none;
  background-image: none;
}

@keyframes media-warmup {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.problem-finder,
.spotlight-section,
.showroom-page .cinema-shelf,
.showroom-page .cinema-collaboration,
.showroom-page .cinema-contact {
  content-visibility: auto;
  contain-intrinsic-block-size: auto 760px;
}

.showroom-page .cinema-track {
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.showroom-page a:focus-visible,
.showroom-page button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (hover: none) {
  .showroom-page .cinema-card:hover,
  .showroom-page .cinema-track .cinema-card:hover,
  .showroom-page .cinema-card-link:hover .cinema-card-art img,
  .showroom-page .spotlight-card:hover img {
    transform: none;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 64px;
  }

  .showroom-page {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .showroom-page .cinema-nav {
    height: 56px;
    padding: 0 14px;
    background: linear-gradient(180deg, rgba(0,0,0,.96), rgba(0,0,0,.72) 72%, transparent);
  }

  .cinema-nav .brand {
    font-size: 12px;
    letter-spacing: -.02em;
  }

  .cinema-nav .nav-contact {
    min-height: 38px;
    display: inline-flex !important;
    align-items: center;
    padding: 0 12px !important;
    font-size: 11px;
  }

  .showroom-page .cinema-hero {
    height: 82svh;
    min-height: 620px;
    max-height: 720px;
  }

  .showroom-page .cinema-hero-slide img {
    width: 100%;
    height: 58%;
    object-fit: cover;
    object-position: 50% top;
    filter: saturate(.9) contrast(1.03) brightness(.82);
  }

  .cinema-hero-scrim {
    background:
      linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.12) 30%, rgba(20,20,20,.82) 51%, #141414 68%, #141414 100%),
      linear-gradient(90deg, rgba(0,0,0,.22), transparent 72%);
  }

  .cinema-hero-copy {
    right: 18px;
    bottom: 66px;
    left: 18px;
    width: auto;
  }

  .cinema-hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: .12em;
  }

  .showroom-page .cinema-hero-copy h1 {
    max-width: 350px;
    margin: 13px 0 15px;
    font-size: clamp(32px, 9.2vw, 39px);
    line-height: .98;
    letter-spacing: -.06em;
  }

  .showroom-page .cinema-hero-copy h1 span {
    display: block;
    white-space: nowrap;
  }

  .showroom-page .cinema-hero-copy p {
    max-width: 345px;
    margin: 0;
    font-size: 13px;
    line-height: 1.52;
  }

  .cinema-hero-copy .hero-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 17px;
  }

  .showroom-page .cinema-hero-copy .button-primary,
  .showroom-page .cinema-hero-copy .button-secondary {
    min-height: 44px;
    padding: 0 13px;
    justify-content: center;
    font-size: 11px;
  }

  .cinema-hero-copy .hero-disclaimer {
    margin-top: 12px;
    font-size: 8px;
    line-height: 1.5;
  }

  .showroom-page .cinema-hero-controls {
    top: 68px;
    right: 14px;
  }

  .cinema-hero-facts {
    display: none;
  }

  .problem-finder {
    margin-top: 40px;
  }

  .problem-finder-head h2 {
    font-size: clamp(31px, 9vw, 38px);
  }

  .cinema-index a {
    min-height: 92px;
    padding: 17px 15px;
  }

  .showroom-page .cinema-shelf,
  .showroom-page .cinema-featured,
  .spotlight-section {
    margin-top: 66px;
  }

  .showroom-shelves {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .showroom-page .cinema-shelf {
    inline-size: calc(100vw - 28px) !important;
    max-inline-size: calc(100vw - 28px);
    min-inline-size: 0;
  }

  .showroom-page .cinema-shelf-heading,
  .showroom-page .cinema-track {
    inline-size: 100%;
    max-inline-size: 100%;
    min-inline-size: 0;
  }

  .spotlight-heading {
    gap: 12px;
  }

  .spotlight-heading h2 {
    font-size: clamp(31px, 9.2vw, 40px);
  }

  .spotlight-shell {
    height: 300px;
    margin-top: 22px;
  }

  .spotlight-stage {
    inset: 0;
    overflow: hidden;
    perspective: none;
    touch-action: pan-y;
  }

  .spotlight-card,
  .spotlight-card[data-position="-1"],
  .spotlight-card[data-position="1"],
  .spotlight-card[data-position="-2"],
  .spotlight-card[data-position="2"] {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    opacity: 0;
    filter: none;
    transform: none;
    pointer-events: none;
    transition: opacity .24s ease;
  }

  .spotlight-card.active {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
  }

  .spotlight-card-label {
    right: 17px;
    bottom: 16px;
    left: 17px;
  }

  .spotlight-card-label strong {
    font-size: 27px;
  }

  .spotlight-arrow {
    z-index: 5;
    width: 40px;
    height: 56px;
    border-radius: 4px;
    background: rgba(0,0,0,.58);
  }

  .spotlight-arrow-prev { left: 4px; }
  .spotlight-arrow-next { right: 4px; }

  .spotlight-meta {
    gap: 15px;
    padding-top: 14px;
  }

  .spotlight-meta > div {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 7px 12px;
  }

  .spotlight-meta p {
    grid-column: 2;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .showroom-page .cinema-shelf-heading {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-bottom: 18px;
  }

  .showroom-page .cinema-shelf-heading h2 {
    margin-top: 8px;
    font-size: 25px;
    line-height: 1.08;
  }

  .cinema-shelf-side {
    width: auto;
    min-width: fit-content;
    margin-top: 0;
  }

  .showroom-page .shelf-fixed .cinema-track,
  .showroom-page .shelf-count-1 .cinema-track,
  .showroom-page .shelf-count-2 .cinema-track,
  .showroom-page .shelf-count-3 .cinema-track,
  .showroom-page .cinema-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 10vw 4px 0;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
  }

  .showroom-page .shelf-fixed .cinema-card,
  .showroom-page .shelf-count-1 .cinema-card,
  .showroom-page .shelf-count-2 .cinema-card,
  .showroom-page .shelf-count-3 .cinema-card,
  .showroom-page .cinema-track .cinema-card,
  .showroom-page .cinema-track .cinema-card-variant-1,
  .showroom-page .shelf-track-featured .cinema-card,
  .showroom-page .shelf-track-featured .cinema-card:nth-child(even) {
    width: 82vw;
    min-width: 82vw;
    scroll-snap-align: start;
  }

  .cinema-card-caption {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 13px;
  }

  .cinema-card-heading h3 {
    font-size: 19px;
  }

  .cinema-card-copy {
    display: block;
  }

  .cinema-card-copy strong {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .cinema-card-evidence {
    margin-bottom: 7px;
    font-size: 9px;
  }

  .cinema-card-copy p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cinema-card-preview {
    display: none;
  }

  .showroom-page .cinema-collaboration {
    margin-top: 82px;
  }

  .showroom-page .cinema-contact {
    min-height: 390px;
    margin-top: 56px;
    padding: 28px 20px;
  }

  .showroom-page .cinema-contact h2 {
    font-size: clamp(39px, 10.8vw, 48px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .progressive-image,
  .spotlight-card,
  .showroom-page * {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
