/* Flexo Line V6.23 V4 — desktop first-fold fit at native 100% browser zoom.
   Loaded after the approved V2/V3 styles; no global zoom/transform tricks.
   The homepage content remains HTML, accessible and fully interactive. */
@media (min-width:1041px) {
  body.fl43-unified .site-header.flx-header,
  body:has(.v34-hero) .site-header.flx-header {
    height:clamp(96px,12.5vh,122px)!important;
    min-height:clamp(96px,12.5vh,122px)!important;
  }
  body.fl43-unified .site-header.flx-header .flx-header-inner,
  body:has(.v34-hero) .site-header.flx-header .flx-header-inner {
    height:calc(clamp(96px,12.5vh,122px) - 1px)!important;
    min-height:calc(clamp(96px,12.5vh,122px) - 1px)!important;
    grid-template-columns:minmax(245px,320px) minmax(0,1fr) minmax(178px,220px)!important;
    gap:clamp(12px,1.65vw,28px)!important;
    padding:0 clamp(22px,3.25vw,62px)!important;
  }
  body.fl43-unified .site-header.flx-header .flx-brand-name,
  body.fl43-unified .site-header.flx-header .flx-brand-area .flx-brand-name {
    display:flex!important; min-width:0!important; border-right:0!important; padding-right:0!important;
  }
  body.fl43-unified .site-header.flx-header .flx-brand-area {gap:17px!important;}
  body.fl43-unified .site-header.flx-header .flx-logo-box {
    flex:0 0 clamp(64px,8.7vh,82px)!important;
    width:clamp(64px,8.7vh,82px)!important;
    height:clamp(64px,8.7vh,82px)!important;
    border-radius:15px!important;
  }
  body.fl43-unified .site-header.flx-header .flx-logo-box img {
    min-width:0!important; width:100%!important; max-width:100%!important;
    height:100%!important; max-height:100%!important;
  }
  body.fl43-unified .site-header.flx-header .flx-brand-name strong {
    font-size:clamp(13px,.97vw,17px)!important;
    letter-spacing:.025em!important;
  }
  body.fl43-unified .site-header.flx-header .flx-brand-name small {
    font-size:clamp(10px,.7vw,12px)!important;
    letter-spacing:.095em!important;
  }
  body.fl43-unified .site-header.flx-header .desktop-nav.flx-nav {
    width:100%!important; max-width:840px!important;
    height:clamp(59px,8.2vh,75px)!important;
    min-height:clamp(59px,8.2vh,75px)!important;
    padding:8px 11px!important; gap:0!important;
  }
  body.fl43-unified .site-header.flx-header .desktop-nav.flx-nav > a.flx-link,
  body.fl43-unified .site-header.flx-header .desktop-nav.flx-nav > .flx-dropdown > a.flx-link {
    min-height:clamp(42px,5.8vh,53px)!important;
    padding:0 clamp(8px,.76vw,14px)!important;
    font-size:clamp(12px,.98vw,17px)!important;
    letter-spacing:-.022em!important;
  }
  body.fl43-unified .site-header.flx-header .header-actions a.flx-cta,
  body:has(.v37-hero) .site-header .header-actions a.flx-cta {
    width:clamp(178px,12.5vw,220px)!important;
    min-width:clamp(178px,12.5vw,220px)!important;
    height:clamp(59px,8.2vh,75px)!important;
    min-height:clamp(59px,8.2vh,75px)!important;
    padding:0 15px 0 21px!important;
    font-size:clamp(14px,1vw,17px)!important;
  }
  body:has(.flx-premium-hero) .v34-hero.flx-premium-hero {
    min-height:max(670px,calc(100svh - clamp(96px,12.5vh,122px)))!important;
  }
  body.fl43-unified section.v37-hero.flx-premium-hero .v34-hero-wrap.container {
    padding:clamp(42px,6vh,72px) clamp(28px,3.85vw,70px) 32px!important;
    min-height:0!important;
  }
  body.fl43-unified section.v37-hero.flx-premium-hero .v34-hero-copy {
    width:min(100%,750px)!important;max-width:750px!important;
  }
  body.fl43-unified section.v37-hero.flx-premium-hero .v3-eyebrow {
    font-size:clamp(11px,.88vw,14px)!important;
    letter-spacing:.15em!important;
  }
  body.fl43-unified section.v37-hero.flx-premium-hero .v34-hero-copy h1 {
    font-size:clamp(62px,min(4.6vw,9vh),88px)!important;
    line-height:.95!important;
    letter-spacing:-.063em!important;
    margin:clamp(20px,3vh,30px) 0 clamp(16px,2.7vh,25px)!important;
  }
  body.fl43-unified section.v37-hero.flx-premium-hero .v34-hero-copy h1 em {
    white-space:nowrap!important;
  }
  body.fl43-unified section.v37-hero.flx-premium-hero .v34-hero-copy .v3-hero-lead {
    max-width:645px!important;
    font-size:clamp(16px,1.1vw,19px)!important;
    line-height:1.52!important;
  }
  body.fl43-unified section.v37-hero.flx-premium-hero .v37-hero-buttons {
    gap:clamp(15px,1.45vw,27px)!important;
    margin-top:clamp(23px,3.3vh,34px)!important;
  }
  body.fl43-unified section.v37-hero.flx-premium-hero .v37-orb.flx-hero-button,
  body.fl43-unified section.v37-hero.flx-premium-hero .v37-orb-smoke.flx-hero-button {
    flex:0 1 296px!important;
    width:clamp(255px,17.8vw,312px)!important;
    min-width:0!important;max-width:312px!important;
    height:clamp(75px,10.1vh,94px)!important;
    min-height:clamp(75px,10.1vh,94px)!important;
    max-height:94px!important;
    padding:0 21px!important; gap:11px!important;
    border-radius:29px!important;
  }
  body.fl43-unified section.v37-hero.flx-premium-hero .v37-orb.flx-hero-button:before {border-radius:28px!important;}
  body.fl43-unified section.v37-hero.flx-premium-hero .v37-orb.flx-hero-button .v37-orb-icon {
    flex-basis:55px!important;width:55px!important;height:42px!important;
  }
  body.fl43-unified section.v37-hero.flx-premium-hero .v37-orb.flx-hero-button .v37-orb-icon svg {width:31px!important;height:31px!important;}
  body.fl43-unified section.v37-hero.flx-premium-hero .v37-orb.flx-hero-button .v37-orb-label {
    font-size:clamp(14px,.95vw,17px)!important;line-height:1.28!important;
  }
  body.fl43-unified section.v37-hero.flx-premium-hero .fl-hero-arrow svg {height:23px!important;width:23px!important;}
  body.fl43-unified section.v37-hero.flx-premium-hero .v34-hero-backdrop {
    background-position:left top,right -77px!important;
    background-size:100% 100%,auto clamp(650px,42vw,830px)!important;
  }
  body.fl43-unified .fl4-assistant > button.fl4-launch {
    width:clamp(280px,20.4vw,330px)!important;
    min-width:clamp(280px,20.4vw,330px)!important;
    height:clamp(72px,9.3vh,83px)!important;
    min-height:clamp(72px,9.3vh,83px)!important;
    bottom:clamp(24px,5vh,54px)!important;
  }
  body.fl43-unified .fl4-assistant > .fl4-launch .fl4-launch-icon {
    width:57px!important;height:57px!important;flex-basis:57px!important;
  }
  body.fl43-unified .fl4-assistant > .fl4-launch .fl4-launch-label {font-size:16px!important;}
  body.fl43-unified .fl4-assistant > .fl4-shell {bottom:120px!important;max-height:calc(100dvh - 140px)!important;}
}
/* Compact desktop screens: preserve the entire primary CTA above the fold. */
@media (min-width:1041px) and (max-height:720px) {
  body.fl43-unified section.v37-hero.flx-premium-hero .v34-hero-wrap.container {padding-top:30px!important;}
  body.fl43-unified section.v37-hero.flx-premium-hero .v34-hero-copy h1 {font-size:clamp(54px,min(4.15vw,8.4vh),72px)!important;margin-top:15px!important;margin-bottom:13px!important;}
  body.fl43-unified section.v37-hero.flx-premium-hero .v37-hero-buttons {margin-top:17px!important;}
  body.fl43-unified section.v37-hero.flx-premium-hero .v37-orb.flx-hero-button {height:69px!important;min-height:69px!important;}
}
/* Prevent cramped desktop navigation when the available width is narrow. */
@media (min-width:1041px) and (max-width:1250px) {
  body.fl43-unified .site-header.flx-header .flx-header-inner {grid-template-columns:225px minmax(0,1fr) 164px!important;gap:9px!important;padding-inline:14px!important;}
  body.fl43-unified .site-header.flx-header .flx-brand-area{gap:10px!important;}
  body.fl43-unified .site-header.flx-header .flx-brand-name strong{font-size:11px!important;}
  body.fl43-unified .site-header.flx-header .flx-brand-name small{font-size:9px!important;}
  body.fl43-unified .site-header.flx-header .desktop-nav.flx-nav>a.flx-link,
  body.fl43-unified .site-header.flx-header .desktop-nav.flx-nav>.flx-dropdown>a.flx-link {font-size:12px!important;padding-inline:7px!important;}
  body.fl43-unified .site-header.flx-header .header-actions a.flx-cta {min-width:164px!important;width:164px!important;font-size:13px!important;}
  body.fl43-unified section.v37-hero.flx-premium-hero .v34-hero-copy h1{font-size:clamp(56px,5.8vw,70px)!important;}
}
/* Existing mobile layout remains intact. Native browser zoom, text zoom and
   pinch zoom must continue to work (never set CSS zoom on html/body). */
@media (prefers-reduced-motion:reduce){
 body.fl43-unified .site-header.flx-header *,body.fl43-unified section.v37-hero.flx-premium-hero *{animation:none!important;transition:none!important;}
}
/* Clean, original manufacturing macro photo avoids the ghost lettering and
   rectangular patch baked into the earlier reference-only background asset. */
@media (min-width:1041px) {
  body.fl43-unified section.v37-hero.flx-premium-hero .v34-hero-backdrop {
    background-image:linear-gradient(90deg,#050607 0%,rgba(5,6,7,.99) 14%,rgba(5,6,7,.88) 31%,rgba(5,6,7,.38) 48%,rgba(5,6,7,0) 68%),url('../images/flexoline-macro-fullbleed-v33.webp')!important;
    background-size:100% 100%,cover!important;
    background-position:center center,center top!important;
  }
}
