.product-scene {
  position: relative;
  padding: clamp(138px, 14vw, 220px) clamp(40px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(160deg, color-mix(in oklch, var(--accent), transparent 92%), transparent 46%),
    var(--dark);
}

.product-sticky {
  width: min(1480px, 100%);
  margin-inline: auto;
}

.scene-copy {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.scene-copy .eyebrow {
  color: color-mix(in oklch, var(--accent), var(--white) 24%);
}

.scene-copy h2 {
  max-width: 880px;
  margin-inline: auto;
  font-size: clamp(2.55rem, 4.6vw, 5.3rem);
}

.scene-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px auto 0;
  color: color-mix(in oklch, var(--white), transparent 36%);
  font-size: 17px;
}

.product-gallery {
  width: min(1320px, 100%);
  margin-top: clamp(56px, 7vw, 92px);
  margin-inline: auto;
  padding: clamp(30px, 4vw, 56px);
  border: 1px solid color-mix(in oklch, var(--white), transparent 88%);
  border-radius: 18px;
  background: color-mix(in oklch, var(--dark-raised), transparent 44%);
}

.gallery-stage {
  position: relative;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.gallery-viewport {
  position: relative;
  width: 100%;
  padding: clamp(16px, 2vw, 26px);
  border: 1px solid color-mix(in oklch, var(--white), transparent 76%);
  border-radius: 14px;
  background: color-mix(in oklch, var(--dark-raised), var(--white) 5%);
  box-shadow: 0 50px 140px oklch(0.05 0.04 257 / .62);
}

.gallery-screen-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 9px;
  background: var(--surface);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--surface);
  opacity: 0;
  pointer-events: none;
  transform: translateX(2.5%);
  transition:
    opacity 280ms cubic-bezier(.2, 0, 0, 1),
    transform 320ms cubic-bezier(.2, 0, 0, 1);
}

.gallery-slide.is-before {
  transform: translateX(-2.5%);
}

.gallery-slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--surface);
}

.gallery-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in oklch, var(--white), transparent 72%);
  border-radius: 10px;
  color: var(--white);
  background: color-mix(in oklch, var(--dark), transparent 8%);
  box-shadow: 0 16px 34px oklch(0.05 0.04 257 / .36);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 150ms cubic-bezier(.2, 0, 0, 1),
    transform 100ms cubic-bezier(.2, 0, 0, 1);
}

.gallery-arrow:hover {
  background: var(--accent-deep);
}

.gallery-arrow:active {
  transform: translateY(calc(-50% + 2px));
}

.gallery-arrow svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-arrow-prev {
  left: -26px;
}

.gallery-arrow-next {
  right: -26px;
}

.gallery-copy {
  min-height: 120px;
  max-width: 760px;
  margin: 42px auto 0;
  padding-inline: clamp(12px, 2vw, 28px);
  text-align: center;
}

.gallery-copy h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.gallery-copy p {
  max-width: 680px;
  margin: 16px auto 0;
  color: color-mix(in oklch, var(--white), transparent 38%);
  font-size: 15px;
}

.gallery-thumbnails {
  width: min(1180px, 100%);
  margin: 38px auto 0;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.gallery-thumbnail {
  min-width: 0;
  padding: 10px;
  display: grid;
  gap: 11px;
  border: 1px solid color-mix(in oklch, var(--white), transparent 78%);
  border-radius: 9px;
  color: color-mix(in oklch, var(--white), transparent 30%);
  background: color-mix(in oklch, var(--dark-raised), transparent 12%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: left;
  cursor: pointer;
  transition:
    color 150ms cubic-bezier(.2, 0, 0, 1),
    border-color 150ms cubic-bezier(.2, 0, 0, 1),
    background 150ms cubic-bezier(.2, 0, 0, 1),
    transform 100ms cubic-bezier(.2, 0, 0, 1);
}

.gallery-thumbnail:hover {
  color: var(--white);
  border-color: color-mix(in oklch, var(--white), transparent 54%);
}

.gallery-thumbnail:active {
  transform: translateY(2px);
}

.gallery-thumbnail.is-selected {
  color: var(--white);
  border-color: var(--accent);
  background: color-mix(in oklch, var(--accent), var(--dark) 78%);
  box-shadow: 0 0 0 1px var(--accent);
}

.gallery-thumbnail-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  border-radius: 5px;
  background: var(--surface);
}

.gallery-thumbnail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 300ms cubic-bezier(.2, 0, 0, 1);
}

.gallery-thumbnail:hover .gallery-thumbnail-image img {
  transform: scale(1.025);
}

.crm-status-mask {
  position: absolute;
  z-index: 3;
  top: 5.9%;
  left: 3.08%;
  width: 1.62%;
  height: 3.35%;
  min-width: 9px;
  display: block;
  background: var(--surface);
}

.gallery-thumbnail-image .crm-status-mask {
  min-width: 3px;
}
