/* QI_SECTION_START:04-before-and-after-work-evidence */
[data-qi-section="section-home-results-gallery"] {
  background-color: #0A0A0F;
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
}

[data-qi-section="section-home-results-gallery"] .gallery__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
}

[data-qi-section="section-home-results-gallery"] .gallery__header {
  max-width: 600px;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

[data-qi-section="section-home-results-gallery"] .gallery__label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E8C547;
  margin: 0 0 1.25rem;
  opacity: 0.85;
}

[data-qi-section="section-home-results-gallery"] .gallery__headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #F0EDE8;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

[data-qi-section="section-home-results-gallery"] .gallery__body {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.7;
  color: #F0EDE8;
  opacity: 0.7;
  margin: 0;
}

[data-qi-section="section-home-results-gallery"] .gallery__scroller-wrap {
  position: relative;
}

[data-qi-section="section-home-results-gallery"] .gallery__scroller {
  display: flex;
  gap: 1.5px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  background-color: #3A3A4A;
}

[data-qi-section="section-home-results-gallery"] .gallery__scroller::-webkit-scrollbar {
  display: none;
}

[data-qi-section="section-home-results-gallery"] .gallery__scroller:active {
  cursor: grabbing;
}

[data-qi-section="section-home-results-gallery"] .gallery__item {
  flex: 0 0 clamp(240px, 36vw, 380px);
  scroll-snap-align: start;
  background-color: #0A0A0F;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

[data-qi-section="section-home-results-gallery"] .gallery__item-image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  width: 100%;
}

[data-qi-section="section-home-results-gallery"] .gallery__item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

[data-qi-section="section-home-results-gallery"] .gallery__item:hover .gallery__item-image {
  transform: scale(1.05);
}

[data-qi-section="section-home-results-gallery"] .gallery__item-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-top: 1px solid #3A3A4A;
  background-color: #0A0A0F;
}

[data-qi-section="section-home-results-gallery"] .gallery__item-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #F0EDE8;
  letter-spacing: -0.01em;
}

[data-qi-section="section-home-results-gallery"] .gallery__item-price {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: #E8C547;
  letter-spacing: 0.05em;
}

[data-qi-section="section-home-results-gallery"] .gallery__controls {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  justify-content: flex-end;
}

[data-qi-section="section-home-results-gallery"] .gallery__ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #1E1E28;
  border: 1px solid #3A3A4A;
  border-radius: 2px;
  color: #F0EDE8;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

[data-qi-section="section-home-results-gallery"] .gallery__ctrl:hover {
  background-color: #E8C547;
  color: #0A0A0F;
  border-color: #E8C547;
}

[data-qi-section="section-home-results-gallery"] .gallery__ctrl:focus-visible {
  outline: 2px solid #E8C547;
  outline-offset: 3px;
}

[data-qi-section="section-home-results-gallery"] .gallery__hint {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6B6B7A;
  margin: 1.25rem 0 0;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  [data-qi-section="section-home-results-gallery"] .gallery__item-image,
  [data-qi-section="section-home-results-gallery"] .gallery__ctrl {
    transition: none;
  }
}
/* QI_SECTION_END:04-before-and-after-work-evidence */
