/* Homepage photo background; keep the original layout and foreground content. */
.hero > .hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 45%;
  pointer-events: none;
}
.hero.hero-with-photo::after {
  background: linear-gradient(90deg, rgba(25, 18, 13, .84) 0%, rgba(25, 18, 13, .72) 46%, rgba(25, 18, 13, .38) 100%);
  background-size: auto;
  mask-image: none;
  -webkit-mask-image: none;
}
.hero-with-photo .hero-lead { color: rgba(255, 255, 255, .92); }
.hero-with-photo .hero-meta { color: rgba(255, 255, 255, .82); }
.hero-with-photo .hero-badge { background: rgba(30, 22, 16, .7); }
@media (max-width: 899px) {
  .hero.hero-with-photo::after {
    background: linear-gradient(180deg, rgba(25, 18, 13, .8) 0%, rgba(25, 18, 13, .74) 56%, rgba(25, 18, 13, .45) 100%);
  }
}

.hero-grid > div { min-width: 0; }
.hero-factory-visit {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  margin: -8px 0 20px;
  color: #fff;
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.5;
}
.hero-visit-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.hero-visit-window { flex: 1 1 0; min-width: 0; overflow: hidden; }
.hero-visit-track {
  display: flex;
  width: max-content;
  animation: hero-factory-marquee 32s linear infinite;
}
.hero-visit-group { display: flex; flex: none; align-items: center; gap: 2rem; padding-right: 2rem; }
.hero-visit-item { flex: none; white-space: nowrap; font-weight: 700; }
.hero-visit-window:hover .hero-visit-track,
.hero-factory-visit.is-paused .hero-visit-track { animation-play-state: paused; }
.hero-visit-toggle {
  flex: none;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 20px;
  background: rgba(25, 18, 13, .5);
  color: inherit;
  font: inherit;
  font-size: .74rem;
  line-height: 1.3;
  cursor: pointer;
}
.hero-visit-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes hero-factory-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visit-track { animation: none; width: auto; }
  .hero-visit-group { display: block; padding: 0; }
  .hero-visit-group + .hero-visit-group,
  .hero-visit-item + .hero-visit-item,
  .hero-visit-toggle { display: none; }
  .hero-visit-item { white-space: normal; }
}
