.production-home .home-section-heading {
  margin-bottom: 28px;
}

.production-home .equipment-slider {
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}

.production-home .equipment-card {
  scroll-snap-align: start;
  min-width: 0;
}

.production-home .equipment-card .equipment-image {
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: #fff;
}

.production-home .equipment-card .equipment-image img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4%;
  object-fit: contain;
  object-position: center;
}

.production-home .equipment-card div:not(.equipment-image) {
  grid-template-rows: auto 1fr auto;
}

.production-home .equipment-card h3 {
  margin-top: 0;
}

.production-home .factory-evidence-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.production-home .factory {
  display: block;
}

.production-home .factory-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0 32px;
  margin-bottom: 32px;
}

.production-home .factory-copy h2,
.production-home .factory-copy > p {
  grid-column: 1;
}

.production-home .factory-copy > p {
  margin: 14px 0 0;
}

.production-home .factory-copy .button {
  grid-column: 2;
  grid-row: 1 / 3;
}

.production-home .factory-evidence-grid figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.production-home .factory-evidence-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.production-home .factory-evidence-grid a:nth-child(4) img {
  object-position: 50% 54%;
}

.production-home .factory-evidence-grid a:nth-child(5) img {
  object-position: 50% 55%;
}

.production-home .factory-evidence-grid a:nth-child(6) img {
  object-position: 50% 54%;
}

@media (max-width: 640px) {
  .production-home {
    overflow-x: clip;
  }

  .production-home .equipment-slider {
    grid-auto-columns: 100%;
    max-width: 100%;
    padding-bottom: 10px;
  }

  .production-home .equipment-card div:not(.equipment-image) {
    padding: 20px;
  }

  .production-home .equipment-card h3 {
    font-size: 24px;
  }

  .production-home .factory-evidence-grid {
    grid-template-columns: 1fr;
  }

  .production-home .factory-copy {
    display: block;
    margin-bottom: 24px;
  }

  .production-home .factory-copy .button {
    margin-top: 20px;
  }
}

/* User-supplied workshop video: keep the existing hero layout and text. */
.production-home .buyer-hero {
  min-height: 100svh;
}
.production-home .hero-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.production-home .hero-video-toggle {
  position: absolute;
  top: 18px;
  right: 4vw;
  z-index: 5;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 4px;
  background: rgb(8 17 20 / 72%);
  color: #fff;
  font: 600 13px/1.3 Arial, sans-serif;
  cursor: pointer;
}
.production-home .hero-video-toggle:hover { background: #142126; }
.production-home .hero-video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Keep the original video ratio while covering the first screen on phones. */
@media (max-width: 720px) {
  .production-home .buyer-hero {
    display: block;
    min-height: 100svh;
    background: #0a1215;
  }
  .production-home .buyer-hero .hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .production-home .buyer-hero .hero-shade {
    background: linear-gradient(180deg, rgb(8 17 20 / 68%), rgb(8 17 20 / 80%));
  }
  .production-home .buyer-hero .hero-content { padding: 76px 0 24px; }
  .production-home .buyer-hero .hero-content h1 {
    margin: 12px 0 20px;
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.12;
  }
  .production-home .buyer-hero .hero-proof {
    position: static;
    transform: none;
    grid-template-columns: 1fr;
    margin: 0 auto;
    backdrop-filter: none;
  }
  .production-home .hero-video-toggle { top: 12px; right: 12px; }
  .production-home .equipment-heading-actions { flex-wrap: wrap; }
}
