/* Stage 5 content polish. Outer module geometry intentionally remains unchanged. */
body.home .video-background,
body.home .factory-team-bg,
body.home .new-module-bg,
body.home .new-inquiry-slide-image,
body.home .contact-image {
  object-fit: cover;
}

body.home .video-play-button.is-pending {
  align-items: center;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .7);
  color: #333;
  cursor: default;
  display: flex;
  justify-content: center;
  padding: 0 18px;
}

body.home .video-play-status {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.25;
  text-align: center;
}

body.home .factory-team-arrow {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: #333;
  display: flex;
  font-size: 2rem;
  height: 54px;
  justify-content: center;
  line-height: 1;
  width: 54px;
}

body.home .factory-team-item:first-child::after {
  background: linear-gradient(to top, rgba(11, 18, 27, .82), rgba(11, 18, 27, .38) 40%, transparent 75%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

body.home .factory-team-item--team::after {
  background: linear-gradient(to top, rgba(11, 18, 27, .88), rgba(11, 18, 27, .42) 48%, rgba(11, 18, 27, .12));
}

body.home .factory-team-item--team:hover::after {
  background: linear-gradient(to top, rgba(11, 18, 27, .8), rgba(11, 18, 27, .38) 48%, rgba(11, 18, 27, .1));
}

body.home .factory-team-item--team .factory-team-text {
  bottom: 60px;
}

body.home .factory-team-item--team .factory-team-bg {
  object-position: 42% center;
}

body.home .factory-team-item--team .factory-team-arrow--label {
  border-radius: 999px;
  bottom: 20px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 10px;
  height: 40px;
  line-height: 1.2;
  padding: 0 14px;
  right: 20px;
  white-space: nowrap;
  width: auto;
}

body.home .clients-note {
  color: #666;
  font-size: .8125rem;
  line-height: 1.55;
  margin: 0;
  max-width: 900px;
  padding: 0 24px;
  text-align: center;
}

body.home .contact-info-icon {
  color: #e6232b;
  flex: 0 0 24px;
  font-size: 1.5rem;
  height: 24px;
  line-height: 24px;
  width: 24px;
}

body.home .ct-contact-wordmark {
  color: #e6232b;
  display: inline-block;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 49px;
}

@media (max-width: 768px) {
  body.home .factory-team-item--team .factory-team-bg {
    object-position: left center;
  }

  body.home .factory-team-item--team .factory-team-text {
    bottom: 58px;
  }

  body.home .factory-team-item--team .factory-team-arrow--label {
    bottom: 12px;
    right: 12px;
  }

  body.home .video-play-button.is-pending {
    padding: 0 10px;
  }

  body.home .clients-note {
    font-size: .75rem;
    max-width: 87.5%;
    padding: 0;
  }
}

/* Homepage capability proof: scoped overrides preserve the surrounding layout. */
body.home .new-inquiry-module {
  background: #f5f5f3;
  padding: clamp(64px, 7vw, 112px) 0;
}

body.home .new-inquiry-container {
  max-width: none;
}

body.home .new-inquiry-header {
  align-items: end;
  display: grid;
  gap: clamp(28px, 5vw, 84px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  margin-left: auto;
  margin-right: auto;
  max-width: 1920px;
  min-height: 0 !important;
  width: 87.5%;
}

body.home .new-inquiry-title {
  font-size: clamp(2rem, 3vw, 3.25rem);
  letter-spacing: -.035em;
  line-height: 1.06;
  margin: 0;
  max-width: 19ch;
}

body.home .new-inquiry-header-right {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

body.home .new-inquiry-description {
  color: #4c4c4c;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.65;
  margin: 0;
  max-width: 62ch;
  min-height: 0 !important;
}

body.home .new-inquiry-btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
}

body.home .new-inquiry-evidence-note {
  color: #666;
  font-size: 13px;
  line-height: 1.5;
  margin: 20px auto 0;
  max-width: 1920px;
  width: 87.5%;
}

body.home .new-inquiry-carousel-wrapper {
  margin-top: clamp(34px, 4vw, 56px);
  position: relative;
}

body.home .new-inquiry-carousel-swiper {
  overflow: hidden;
}

body.home .new-inquiry-carousel-swiper .swiper-slide {
  height: auto;
  width: clamp(640px, 46vw, 1040px) !important;
}

body.home .new-inquiry-slide-image-wrapper {
  aspect-ratio: 3 / 2 !important;
  background: #d9d9d6;
  border-radius: 14px;
  box-shadow: 0 14px 38px rgba(26, 29, 31, .09);
  overflow: hidden;
  position: relative;
}

body.home .new-inquiry-slide-image {
  height: 100%;
  object-position: center;
  transition: transform .45s ease;
  width: 100%;
}

body.home .new-inquiry-carousel-slide:hover .new-inquiry-slide-image {
  transform: scale(1.018);
}

body.home .new-inquiry-slide-image-wrapper::after {
  background: linear-gradient(180deg, transparent 42%, rgba(12, 15, 17, .82) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

body.home .new-inquiry-slide-text-container {
  bottom: 0 !important;
  color: #fff;
  height: auto !important;
  left: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  padding: clamp(24px, 3vw, 40px) !important;
  position: absolute !important;
  right: 0 !important;
  top: auto !important;
  transform: none !important;
  width: auto !important;
  z-index: 2;
}

body.home .new-inquiry-slide-title {
  color: #fff;
  font-size: clamp(1.35rem, 1.7vw, 1.75rem);
  letter-spacing: -.02em;
  line-height: 1.16;
  margin: 0 0 10px;
}

body.home .new-inquiry-slide-description {
  color: rgba(255, 255, 255, .92);
  font-size: .9375rem;
  line-height: 1.55;
  margin: 0;
  max-width: 68ch;
}

body.home .new-inquiry-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
  position: relative;
}

body.home .new-inquiry-tab {
  appearance: none;
  background: transparent;
  border: 0;
  color: #3c4144;
  cursor: pointer;
  font: inherit;
  min-height: 62px;
  padding: 16px 12px;
  position: relative;
  text-align: center;
}

body.home .new-inquiry-tab-title {
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
}

body.home .new-inquiry-tab.active,
body.home .new-inquiry-tab:hover,
body.home .new-inquiry-tab:focus-visible {
  color: #e52229;
  outline: none;
}

@media (max-width: 900px) {
  body.home .new-inquiry-header {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.home .new-inquiry-header-right {
    gap: 18px;
  }

  body.home .new-inquiry-carousel-swiper .swiper-slide {
    width: 86vw !important;
  }

  body.home .new-inquiry-tabs {
    grid-auto-columns: minmax(190px, 54vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.home .new-inquiry-tabs::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 600px) {
  body.home .new-inquiry-module {
    padding: 56px 0 48px;
  }

  body.home .new-inquiry-btn {
    width: 100%;
  }

  body.home .new-inquiry-carousel-swiper .swiper-slide {
    width: 88vw !important;
  }

  body.home .new-inquiry-slide-image-wrapper {
    aspect-ratio: 4 / 5 !important;
    border-radius: 12px;
  }

  body.home .new-inquiry-slide-image {
    object-position: center;
  }

  body.home .new-inquiry-slide-text-container {
    padding: 24px 20px 30px !important;
  }

  body.home .new-inquiry-slide-description {
    display: -webkit-box;
    font-size: .875rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
  }

  body.home .new-inquiry-tabs {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .new-inquiry-slide-image {
    transition: none;
  }
}

/* Buyer FAQ copy should read as natural questions, not title-cased template labels. */
body.home .index-faq-q {
  text-transform: none !important;
}
