/*
 FLEXO LINE V37 — SITE-WIDE LIQUID GLASS SYSTEM
 Built on the V36 approved high-contrast onyx / signal-red treatment.
 Three materials: expressive / content / utility. All are translucent.
 Visual-only: no changes to HTML structure, semantic actions, URL paths or JS.
 Deliberately excludes FSSC 22000 (animation + approved glass), media,
 photography, original product silhouettes, and site-wide section backgrounds.
*/
:root{
  --fl37-red:#ed1034;
  --fl37-red-soft:rgba(237,16,52,.30);
  --fl37-red-edge:rgba(255,106,129,.48);
  --fl37-onyx:rgba(1,3,7,.58);
  --fl37-onyx-edge:rgba(218,226,236,.24);
  --fl37-inner-edge:rgba(253,253,255,.20);
  --fl37-glint:rgba(245,248,253,.075);
  --fl37-shadow:0 15px 34px rgba(0,0,0,.29);
}

/* TIER TWO — read-through content glass. Use gradients with alpha, never a white slab. */
body.fl43-unified :is(
 .fl18-customer-card, .fl7-product-card, .fl47-portfolio .fl47-card,
 .fl46-card, .fl45-card, .fl42-tail-card, .fl7-related-item,
 .fl44-process .fl44-card, .fl48-stage,
 .fl17-team-card, .fl22-job-card, .fl22-empty-state,
 .fl613-panel.fl613-departments,
 .fl46-service-card
){
 background-color:var(--fl37-onyx) !important;
 background-image:
   radial-gradient(ellipse 100% 44% at 50% 0%,rgba(238,242,247,.09),transparent 79%),
   linear-gradient(152deg,rgba(59,65,73,.23),rgba(4,5,8,.55) 47%,rgba(0,0,0,.63)) !important;
 border:1px solid var(--fl37-onyx-edge) !important;
 box-shadow:inset 0 1px 0 var(--fl37-inner-edge),inset 0 -1px 0 rgba(240,245,249,.035),var(--fl37-shadow) !important;
 backdrop-filter:blur(12px) saturate(119%) contrast(106%);
 -webkit-backdrop-filter:blur(12px) saturate(119%) contrast(106%);
}
/* Preserve the original artwork on product-family tiles: only glass-coat their shell. */
body.fl43-unified .fl47-portfolio .fl47-card{
 background-color:rgba(2,3,7,.32)!important;
 background-image:linear-gradient(163deg,rgba(238,243,246,.09),rgba(6,8,14,.26) 57%,rgba(0,0,0,.54))!important;
}
body.fl43-unified .fl18-customer-card{
 background-color:rgba(2,3,6,.33)!important;
 background-image:linear-gradient(163deg,rgba(238,243,248,.085),rgba(9,11,18,.27) 52%,rgba(0,0,0,.48))!important;
}
/* Important: contact's general panel includes existing artwork; keep its media layer intact. */
body.fl613-contact-page.fl43-unified .fl613-panel.fl613-general {
 border:1px solid rgba(218,226,236,.26) !important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.20),var(--fl37-shadow)!important;
}
body.fl43-unified :is(
 .fl18-customer-card,.fl7-product-card,.fl47-portfolio .fl47-card,
 .fl46-card,.fl45-card,.fl42-tail-card,.fl7-related-item,
 .fl44-process .fl44-card,.fl48-stage,.fl17-team-card,
 .fl22-job-card,.fl22-empty-state,.fl46-service-card
):hover{
 border-color:rgba(245,183,196,.44)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.25),
   0 16px 37px rgba(0,0,0,.35),0 0 0 1px rgba(237,16,52,.075)!important;
}
/* TIER ONE — action glass. Red stays vivid, black stays pitch-black. */
body.fl43-unified :is(
 .fl46-primary-link,.fl47-portfolio .fl47-cta,.fl22-apply-btn,
 .fl17-careers-jump,.fl613-enquire,.fl7-basket-link,
 .fl7-product-card .js-add-product,.fl45-plus.btn-plus,
 .v3-btn.v3-btn-dark,.v3-btn.v3-btn-white,
 .fl6-cta,.fl42-tail-cta,.fl48-enquire,
 .v36-cta,.v34-story-link,.fl45-details,
 .v3-final .v3-btn
){
 background-color:rgba(180,4,31,.35)!important;
 background-image:
  radial-gradient(ellipse 88% 69% at 40% 0%,rgba(255,232,235,.17),transparent 85%),
  linear-gradient(165deg,rgba(238,15,49,.53),rgba(186,5,35,.46) 52%,rgba(78,0,17,.48))!important;
 border:1px solid rgba(255,105,129,.49)!important;
 border-radius:clamp(12px,1.6vw,23px)!important;
 box-shadow:inset 0 1px 0 rgba(255,241,244,.30),inset 0 -1px 0 rgba(252,36,76,.27),
    0 10px 25px rgba(0,0,0,.24)!important;
 -webkit-backdrop-filter:blur(12px) saturate(146%);
 backdrop-filter:blur(12px) saturate(146%);
 color:#fff!important;
 text-decoration:none!important;
 transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
/* Default action text remains readable; keep underlying button padding/grid untouched. */
body.fl43-unified :is(.fl47-portfolio .fl47-filter,.fl48-stage-toggle,.fl46-secondary-link,.fl22-profile-link,.fl22-view-link,
 .fl613-main-link,.fl17-mail-row,.v3-inline-link,.v35-text-link,
 .fl7-related-item,.fl46-service-link,.v36-capability){
 -webkit-tap-highlight-color:transparent;
}
body.fl43-unified :is(
 .fl47-portfolio .fl47-filter,.btn-dark,.fl46-secondary-link,
 .fl17-mail-row,.fl613-main-link,.fl47-card-action,
 .fl44-card-action,.fl7-basket-link,
 .fl17-careers-jump,.fl22-profile-link,.fl22-view-link
){
 -webkit-backdrop-filter:blur(10px) saturate(123%);
 backdrop-filter:blur(10px) saturate(123%);
}
body.fl43-unified :is(
 .fl47-portfolio .fl47-filter,.btn-dark,.fl46-secondary-link,
 .fl613-main-link,.fl17-mail-row
){
 background-color:rgba(2,4,8,.50)!important;
 background-image:linear-gradient(158deg,rgba(238,244,251,.09),rgba(2,4,8,.28) 55%,rgba(0,0,0,.52))!important;
 border-color:rgba(217,226,235,.28)!important;
 box-shadow:inset 0 1px 0 rgba(247,250,252,.18),0 8px 18px rgba(0,0,0,.17)!important;
 color:#f6f7f9!important;
}
body.fl43-unified .fl47-portfolio .fl47-filter.is-active{
 background-color:rgba(182,5,30,.50)!important;
 background-image:linear-gradient(160deg,rgba(251,117,134,.21),rgba(237,16,52,.47),rgba(95,0,17,.44))!important;
 border-color:rgba(255,116,137,.53)!important;
}
body.fl43-unified :is(.fl46-primary-link,.fl47-cta,.fl22-apply-btn,.fl17-careers-jump,
 .fl613-enquire,.btn-primary,.fl7-product-card .js-add-product,.fl45-plus.btn-plus,
 .fl42-tail-cta,.v3-btn,.fl48-enquire,.fl6-cta,.v36-cta):hover{
 border-color:rgba(255,139,153,.72)!important;
 box-shadow:inset 0 1px 0 rgba(255,245,248,.35),inset 0 -1px 0 rgba(247,47,78,.35),
  0 11px 26px rgba(0,0,0,.36)!important;
}
/* Subtle links remain links, not oversized pill buttons. */
body.fl43-unified :is(.fl22-profile-link,.fl22-view-link,.v3-inline-link,.fl46-secondary-link){
 text-underline-offset:5px;
}
body.fl43-unified .fl46-secondary-link{padding:11px 16px;border:1px solid rgba(223,230,240,.22);border-radius:14px;text-decoration:none!important;}
/* TIER THREE — utility glass for real forms and configuration controls. */
body.fl43-unified .fl-form :is(input:not([type="hidden"]), select, textarea),
body.fl43-unified .basket-row input,
body.fl43-unified :is(.fl46-quantity, .fl7-search input, .fl7-search select) {
 color:#f6f7f9!important;
 background-color:rgba(4,6,10,.62)!important;
 background-image:linear-gradient(168deg,rgba(245,249,252,.065),rgba(1,2,5,.20) 54%,rgba(0,0,0,.25))!important;
 border:1px solid rgba(213,223,234,.27)!important;
 border-radius:12px!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important;
 -webkit-backdrop-filter:blur(9px) saturate(115%);
 backdrop-filter:blur(9px) saturate(115%);
}
body.fl43-unified .fl-form :is(input:not([type="hidden"]),select,textarea)::placeholder,
body.fl43-unified .basket-row input::placeholder {color:#acb1b9;opacity:1;}
body.fl43-unified .fl-form :is(input, select, textarea):focus-visible,
body.fl43-unified .basket-row input:focus-visible,
body.fl43-unified .fl47-filter:focus-visible {
 outline:2px solid #f23358!important;outline-offset:3px!important;
 border-color:#ff7c94!important;
}
/* The enquiry form sits on a light page: use a distinct smoked shell with light labels. */
body.fl43-unified .v2-interior .form-shell{
 background-color:rgba(8,10,14,.93)!important;
 background-image:linear-gradient(150deg,rgba(65,68,74,.35),rgba(4,5,8,.84) 65%)!important;
 border:1px solid rgba(211,220,231,.24)!important;
 box-shadow:inset 0 1px 0 rgba(246,250,253,.18),0 18px 44px rgba(0,0,0,.16)!important;
 color:#f5f6f8!important;
 -webkit-backdrop-filter:blur(15px) saturate(118%);
 backdrop-filter:blur(15px) saturate(118%);
}
body.fl43-unified .v2-interior .form-shell :is(label,h2,h3){color:#f2f3f5!important;}
body.fl43-unified .v2-interior .form-shell :is(p,small){color:#d3d5d9;}
body.fl43-unified .v2-interior .form-shell :is(input, select, textarea){color-scheme:dark;}
body.fl43-unified .v2-interior .form-shell :is(option){background:#080b11;color:#fff;}
/* The download area is a light page; make each document a charcoal-glass panel. */
body.fl43-unified .v2-interior .download-row{
 background-color:rgba(4,6,10,.88)!important;
 background-image:linear-gradient(140deg,rgba(92,97,105,.29),rgba(9,12,16,.87) 54%,rgba(0,0,0,.90))!important;
 border:1px solid rgba(211,222,234,.26)!important;
 border-radius:16px!important;
 box-shadow:inset 0 1px 0 rgba(248,250,252,.20),0 15px 33px rgba(0,0,0,.15)!important;
 -webkit-backdrop-filter:blur(11px) saturate(120%);
 backdrop-filter:blur(11px) saturate(120%);
 color:#f7f8f9!important;
}
body.fl43-unified .v2-interior .download-row :is(strong,b,small,span){color:#f4f5f8!important;}
body.fl43-unified .v2-interior .download-row small{opacity:.75;}
body.fl43-unified .v2-interior .download-row:hover{border-color:rgba(255,120,142,.55)!important;}
/* Information steps sit on a LIGHT background: use clear graphite-tinted glass,
   so their original dark typography stays legible. */
body.fl43-unified .fl46-steps article{
 border:1px solid rgba(30,34,42,.19)!important;
 border-radius:15px!important;
 padding:24px!important;
 background:linear-gradient(155deg,rgba(246,247,249,.78),rgba(211,215,222,.33))!important;
 -webkit-backdrop-filter:blur(9px) saturate(113%);backdrop-filter:blur(9px) saturate(113%);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.67),0 7px 19px rgba(0,0,0,.055)!important;
}
body.fl43-unified .fl46-steps article>span{position:static!important;display:block;margin-bottom:12px;color:var(--fl37-red)!important;}
body.fl43-unified .fl48-stage.is-active{border-color:rgba(255,102,126,.45)!important;}
/* Keep customer identity legible; the tiny crimson edge is a frame, not a neon tube. */
body.fl43-unified .fl18-customer-card .fl18-customer-rule{background:linear-gradient(90deg,transparent,rgba(250,76,105,.45),transparent)!important;}
/* Consistent visual system for floating status, empty states and supporting tiles. */
body.fl43-unified :is(.fl7-empty-state,.fl7-guidance,.fl17-careers-contact,.fl7-basket-summary){
 -webkit-backdrop-filter:blur(10px) saturate(118%);
 backdrop-filter:blur(10px) saturate(118%);
}
/* Product orb is brand art: never paint over it or reduce its interaction area. */
body.fl43-unified a.v35-circle{box-shadow:inset 0 1px 0 rgba(249,250,251,.18),0 13px 30px rgba(0,0,0,.29)!important;}
/* Form assistance must match the dark utility surface, not a white/pink label. */
body.fl43-unified .fl-form .flx-v9-inline-help,
body.fl43-unified .v2-interior .form-shell .flx-v9-inline-help {
 background-color:rgba(3,5,9,.50)!important;
 background-image:linear-gradient(155deg,rgba(247,251,254,.12),rgba(9,11,16,.43) 55%,rgba(0,0,0,.59))!important;
 color:#f8f9fb!important;
 border:1px solid rgba(232,127,148,.38)!important;
 border-radius:13px!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.21),0 6px 14px rgba(0,0,0,.20)!important;
 backdrop-filter:blur(10px) saturate(125%);
 -webkit-backdrop-filter:blur(10px) saturate(125%);
}
body.fl43-unified .v2-interior .form-shell .btn-primary{
 background-image:radial-gradient(ellipse 84% 100% at 50% 0%,rgba(255,220,225,.20),transparent 83%),
 linear-gradient(162deg,rgba(248,31,60,.72),rgba(188,5,35,.61) 57%,rgba(85,0,18,.62))!important;
 border-color:rgba(255,118,138,.58)!important;
 box-shadow:inset 0 1px 0 rgba(255,244,247,.27),inset 0 -1px 0 rgba(242,10,49,.35),0 9px 23px rgba(0,0,0,.30)!important;
}
/* Keyboard controls stay apparent despite translucent styling. */
body.fl43-unified :is(a,button,input,select,textarea,summary):focus-visible{
 outline:2px solid #ff6c85;outline-offset:3px;
}
/* Mobile/touch: protect text, tap-target sizing and the existing component layout. */
@media(max-width:720px){
 body.fl43-unified .fl46-steps article{padding:19px!important;}
 body.fl43-unified .fl22-job-card{padding:24px!important;}
 body.fl43-unified :is(.fl47-portfolio .fl47-filter,.btn-primary,.btn-dark,.fl46-primary-link){min-height:44px;}
 body.fl43-unified .fl18-customer-card{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);}
}
/* Fallback for devices where glass blur is unsupported or reduced. */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 body.fl43-unified :is(.fl18-customer-card,.fl7-product-card,.fl44-card,.fl46-card,.fl22-job-card,.fl17-team-card,.fl48-stage){background-color:#15171c!important;}
}
@media(prefers-reduced-transparency:reduce){
 body.fl43-unified :is(.fl18-customer-card,.fl7-product-card,.fl44-card,.fl46-card,.fl22-job-card,.fl17-team-card,.fl48-stage){
  background-color:#111419!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.fl43-unified :is(.fl18-customer-card,.fl7-product-card,.fl44-card,.fl46-card,.fl22-job-card,.fl17-team-card,.fl48-stage){transition:none!important;}
}
