/* BAREP v2.56.23: preserve the earlier design; normalize photographs and add 2px to text. */
/* Home video: retain original copy, colors, geometry, shadows and padding. */
.barep-company-video--home .barep-video-eyebrow, .barep-company-video--home-mobile .barep-video-eyebrow { font-size:14px; }
.barep-company-video--home h2 { font-size:clamp(30px,calc(3vw + 2px),48px); }
.barep-company-video--home .barep-company-video__copy > p:not(.barep-video-eyebrow), .barep-company-video--home-mobile .barep-company-video__copy > p:not(.barep-video-eyebrow) { font-size:19px; }
.barep-company-video--home .barep-video-duration, .barep-company-video--home-mobile .barep-video-duration { font-size:13px; }
.barep-company-video--home .barep-video-link, .barep-company-video--home-mobile .barep-video-link { font-size:18px; }
.barep-company-video--home .barep-video-launch-label { font-size:22px; }
.barep-company-video--home .barep-video-launch-label span, .barep-company-video--home-mobile .barep-video-launch-label span { font-size:14px; }
.barep-company-video--home .barep-video-error, .barep-company-video--home-mobile .barep-video-error { font-size:16px; }
@media(min-width:901px) {
  .home-live-eyebrow { font-size:14px; }
  .home-live-section h2 { font-size:clamp(34px,calc(3.45vw + 2px),56px); }
  .home-live-intro { font-size:clamp(18px,calc(1.25vw + 2px),22px); }
  .home-live-badge { font-size:15px; }
  .home-category-copy h3 { font-size:clamp(19px,calc(1.4vw + 2px),25px); }
  .home-category-copy p { font-size:16px; }
  .home-category-more { font-size:14px; }
  .home-live-footer p { font-size:17px; }
  .home-live-outline, .home-live-text-link { font-size:16px; }
  .home-model-category { font-size:13px; }
  .home-model-card h3 { font-size:20px; }
  .home-model-code { font-size:19px; }
  .home-model-spec { font-size:15px; }
  .home-model-details { font-size:16px; }
  .home-model-inquiry a { font-size:14px; }
  /* Keep the reference card footprint while enlarging only the product subject. */
  .home-category-card { min-height:204px; padding-top:16px; padding-bottom:16px; }
  .home-category-image { --product-height:156px; position:relative; height:170px; aspect-ratio:auto; }
  .home-model-image { --product-height:208px; position:relative; height:242px; aspect-ratio:auto; flex:none; padding:0; overflow:hidden; }
  .home-category-image img, .home-model-image img { position:absolute; width:calc(var(--photo-width) * var(--product-height)); height:auto; max-width:none; top:calc(50% - var(--photo-cy) * var(--product-height)); left:calc(50% - var(--photo-cx) * var(--product-height)); object-fit:initial; filter:brightness(var(--photo-exposure)) contrast(.99); }
}
@media(min-width:901px) and (max-width:1100px) {
  .home-live-badge { font-size:13px; }
  .home-model-image { aspect-ratio:auto; }
}
@media(max-width:900px) {
  .barep-company-video--home-mobile h2 { font-size:32px; }
  .barep-company-video--home-mobile .barep-company-video__copy > p:not(.barep-video-eyebrow) { font-size:18px; }
  .barep-company-video--home-mobile .barep-video-launch-label { font-size:19px; }
}

/* v2.56.24: prevent a stranded final word and keep category arrows beside labels. */
@media(min-width:901px) {
  #categories .home-live-intro { max-width:none; }
  #categories .home-project-supply { white-space:nowrap; }
  #categories .home-category-more { display:inline-flex; justify-content:flex-start; gap:8px; }
}
/* v2.56.25: blend the desktop hero into the company video background. */
@media (min-width:901px) {
  #hero.desktop-semantic-hero {
    padding-bottom:32px;
    background:
      linear-gradient(180deg,rgba(243,247,251,0) 0%,#f3f7fb 100%) bottom / 100% 160px no-repeat,
      linear-gradient(100deg,#f3f6fb 0%,#fff 70%);
  }
  #hero .desktop-hero-advantages { margin-bottom:0; }
  #company-video.barep-company-video--home { background:#f3f7fb; }
}
/* v2.56.26: neutral white-background model photography and matching typography. */
@media (min-width:901px) {
  #products .home-model-image {
    --product-height:216px;
    height:252px;
    background:#fff;
  }
  #products .home-model-image img {
    filter:grayscale(1) brightness(var(--photo-exposure));
  }
  #products .home-model-body { font-family:inherit; }
  #products .home-model-card h3 {
    font-size:clamp(19px,calc(1.4vw + 2px),25px);
    line-height:1.22;
    letter-spacing:-.015em;
    min-height:2.44em;
    margin-bottom:12px;
  }
  #products .home-model-category { font-size:14px; }
  #products .home-model-code { font-size:20px; }
  #products .home-model-spec { font-size:16px; line-height:1.55; }
  #products .home-model-details { font-size:16px; justify-content:flex-start; gap:8px; }
  #products .home-model-inquiry a { font-size:16px; min-height:48px; }
}
/* v2.56.27: enlarge homepage product photos on pointer hover. */
@media (min-width:901px) and (hover:hover) and (pointer:fine) {
  #categories .home-category-image img,
  #products .home-model-image img {
    transform:scale(1);
    transform-origin:50% 50%;
    transition:transform 240ms ease-out;
  }
  #categories .home-category-image:hover img,
  #categories .home-category-card:focus-visible .home-category-image img {
    transform:scale(1.06);
  }
  #products .home-model-image:hover img,
  #products .home-model-image:focus-visible img {
    transform:scale(1.1);
  }
}
@media (prefers-reduced-motion:reduce) {
  #categories .home-category-image img,
  #products .home-model-image img { transition:none; }
}
