/* Shared material and editorial system. Loaded last on every public page. */
html body .nav-3d{white-space:nowrap;color:#0758b7;font-weight:600;}
@media(min-width:1181px) and (max-width:1550px){html body .nav-links{gap:12px;font-size:14px;}html body .logo img{max-width:270px;height:auto;}}
/* One solid footer surface, one continuous curve, no underlying third-colour band. */
html body .cta-footer{background:#0758b7!important;}
html:root body :is(.site-footer,.en-footer,.ru-footer,.ar-footer){background:#17396a!important;clip-path:none!important;}
.service-editorial-photo{margin:0;position:relative;overflow:hidden;background:#eef1f4;}
.service-editorial-photo img{display:block;width:100%;height:100%;object-fit:cover;}
.service-editorial-photo figcaption{position:absolute;inset:auto 0 0;padding:10px 16px;color:#fff;background:linear-gradient(transparent,#071e34b3);font-size:12px;line-height:1.5;}
html body.inner-page .listing-featured:has(.service-editorial-photo){display:grid;grid-template-columns:1.15fr 1fr;min-height:0;border-radius:0;}
html body.inner-page .listing-featured .service-editorial-photo{height:360px;}
html body.inner-page .listing-featured .service-editorial-photo img{height:100%;object-fit:cover;}
html body.inner-page .detail-side > .service-editorial-photo{height:210px;margin-bottom:24px;}
.service-editorial-gallery{width:var(--editorial-width);margin:0 auto 64px;display:grid;grid-template-columns:1fr 1fr;gap:28px;}
.service-editorial-gallery .service-editorial-photo{height:300px;}
@media(max-width:700px){html body.inner-page .listing-featured:has(.service-editorial-photo),.service-editorial-gallery{grid-template-columns:1fr;}html body.inner-page .listing-featured .service-editorial-photo{height:240px;}}
:root { --editorial-width:min(1640px,calc(100% - clamp(24px,8.3vw,160px)*2)); }
html body:not(.purui-home) .ar-wrap{width:var(--editorial-width);max-width:none;margin-inline:auto;}
html body:not(.purui-home) :is(.page-section.alt,.en-section:nth-of-type(even),.ru-section:nth-of-type(even),.ar-section:nth-of-type(even)){background-image:linear-gradient(#ffffff70,#ffffff70),url('/assets/materials/silver-flow.png')!important;}
html body :is(.site-header,.en-header,.ru-header,.ar-header){z-index:1000;overflow:visible;}
html body .mega-dropdown{position:absolute;top:100%;transform:none;max-height:calc(100dvh - 82px);overflow-y:auto;overscroll-behavior:contain;transition:opacity .15s ease,visibility .15s ease;}
html body .mega-dropdown::before{display:none;}
html body .mega-panel{border-top:1px solid #e2e8ef;box-shadow:0 18px 30px #071e3420;background:#fff;}
.nav-disclosure{display:none;}
html body.inner-page .section-head{display:block;padding:0;margin-bottom:32px;max-width:880px;}
html body.inner-page .section-head .section-eyebrow{display:block;margin-bottom:12px;}
html body.inner-page .hero-stats{display:none;}
html body.inner-page .stats-band{background:#173b60;}
html body.inner-page .listing-featured{border-radius:0 48px 0 0;box-shadow:none;background:#eef1f4;}
html body :is(.site-footer,.en-footer,.ru-footer,.ar-footer){mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 700' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 20 C420 -65 850 140 1440 25 L1440 700 L0 700Z'/%3E%3C/svg%3E");mask-size:100% 100%;}
/* About is a normal static image-backed section, no pinning or pointer motion. */
html body.purui-home .about-story__stage{position:absolute;inset:0;height:100%;perspective:none;}
html body.purui-home .about-story__scene{inset:0;transform:none!important;will-change:auto;}
html body.purui-home .about-story__content{margin-top:0;min-height:680px;padding-block:100px;}
/* Material accents and asymmetric cuts are confined to surfaces, not text. */
html body.purui-home .support-section{background:#f4f5f6 url('/assets/materials/silver-flow.png') right center/cover no-repeat;}
html body.purui-home .engineering-section{background:#103653 url('/assets/materials/cobalt-flow.png') center/cover no-repeat;}
html body.purui-home .engineering-visual{clip-path:polygon(0 0,90% 0,100% 10%,100% 100%,0 100%);}
html body :is(.site-footer,.en-footer,.ru-footer,.ar-footer){position:relative;background:#102f64 url('/assets/materials/cobalt-flow.png') center/cover no-repeat;color:#e1e9f1;padding-top:115px;clip-path:polygon(0 0,12% 1%,25% 4%,40% 8%,55% 10%,70% 9%,85% 5%,100% 1%,100% 100%,0 100%);}
html body :is(.site-footer,.en-footer,.ru-footer,.ar-footer) :is(p,a,li){color:#bccddd;}
html body :is(.site-footer,.en-footer,.ru-footer,.ar-footer) a:hover{color:#fff;}
html body :is(.site-footer,.en-footer,.ru-footer,.ar-footer) :is(h3,h4){color:#fff;font-weight:600;}
/* All inner-page shells share the homepage's content axis. */
html body:not(.purui-home) :is(.container,.en-container,.ru-container,.ar-container){width:var(--editorial-width);max-width:none;margin-inline:auto;}
html body:not(.purui-home) :is(.page-hero,.en-page-hero,.ru-page-hero,.ar-page-hero){position:relative;isolation:isolate;background:#0b2548 url('/assets/materials/cobalt-flow.png') center/cover no-repeat!important;min-height:350px;padding-block:70px 80px;overflow:hidden;}
html body:not(.purui-home) :is(.page-hero,.en-page-hero,.ru-page-hero,.ar-page-hero)::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#081e3a90,transparent);z-index:-1;}
html body:not(.purui-home) :is(.page-hero,.en-page-hero,.ru-page-hero,.ar-page-hero)::after{content:'';position:absolute;inset:auto 0 0;height:24px;background:#fff;clip-path:polygon(0 85%,68% 85%,72% 0,100% 0,100% 100%,0 100%);pointer-events:none;}
html body:not(.purui-home) :is(.page-hero,.en-page-hero,.ru-page-hero,.ar-page-hero) h1{font-size:clamp(32px,3.4vw,52px);line-height:1.35;font-weight:500;letter-spacing:.015em;color:#fff;max-width:1100px;}
html body:not(.purui-home) :is(.page-hero,.en-page-hero,.ru-page-hero,.ar-page-hero) p{font-size:17px;line-height:1.85;color:#d0deeb;max-width:780px;}
html body:not(.purui-home) :is(.breadcrumb,.en-breadcrumb,.ru-breadcrumb,.ar-breadcrumb){margin-top:0;}
html body:not(.purui-home) :is(.page-section,.en-section,.ru-section,.ar-section){padding-block:64px;}
html body:not(.purui-home) :is(.page-section.alt,.en-section:nth-of-type(even),.ru-section:nth-of-type(even),.ar-section:nth-of-type(even)){background:#f5f6f7 url('/assets/materials/silver-flow.png') center/cover no-repeat;}
html body:not(.purui-home) :is(h2,h3){font-weight:500;line-height:1.45;letter-spacing:0;}
html body:not(.purui-home) h2{font-size:clamp(26px,2.4vw,36px);}
html body:not(.purui-home) p{line-height:1.85;}
html body:not(.purui-home) :is(.page-card,.news-card,.feature-card,.en-product-card,.ru-product-card,.ar-product-card){border-radius:2px;border:1px solid #e1e7ed;background:#fff;box-shadow:none;transform:none!important;}
html body:not(.purui-home) :is(.page-card,.news-card,.en-product-card,.ru-product-card,.ar-product-card):hover{box-shadow:0 6px 22px #14365415;border-color:#b4c8dd;}
html body:not(.purui-home) :is(.page-card,.en-product-card,.ru-product-card,.ar-product-card) h3{font-size:21px;font-weight:600;}
@media(max-width:1180px){
 :root{--editorial-width:calc(100% - 48px);}
 html body .nav-item{position:relative;display:flex;flex-wrap:wrap;}
 html body .nav-item > a{width:calc(100% - 48px);}
 .nav-disclosure{display:block;width:44px;height:44px;background:#edf3f8;border:0;color:#123956;font-size:24px;}
 html body .nav-item .mega-dropdown{position:static;max-height:none;display:none;opacity:1;visibility:visible;pointer-events:auto;width:100%;}
 html body .nav-item.open .mega-dropdown{display:block;}
 html body .mega-feature{display:none;}
 html body .mega-panel-inner{padding:12px 0;width:100%;display:block;}
 html body .mega-grid{display:grid;grid-template-columns:1fr;gap:6px;}
 html body .mega-card{display:block;padding:14px 18px;text-align:start;min-height:0;}
 html body .mega-card img{display:none;}
 html body .nav-links{max-height:calc(100dvh - 74px);overflow-y:auto;}
}
html body :is(.site-footer,.en-footer,.ru-footer,.ar-footer){clip-path:none;}
html body :is(.site-footer,.en-footer,.ru-footer,.ar-footer){background:#102f64 url('/assets/materials/cobalt-flow.png') center/cover no-repeat!important;}
html body :is(.site-footer,.en-footer,.ru-footer,.ar-footer)::before{display:none;}
@media(max-width:900px){
 html body.purui-home .about-story__stage{position:relative;height:clamp(240px,50vw,450px);}
 html body.purui-home .about-story__content{min-height:0;padding-block:48px 60px;}
 html body:not(.purui-home) :is(.page-hero,.en-page-hero,.ru-page-hero,.ar-page-hero){min-height:280px;padding-block:48px 60px;}
 html body:not(.purui-home) :is(.page-section,.en-section,.ru-section,.ar-section){padding-block:44px;}
 html body :is(.site-footer,.en-footer,.ru-footer,.ar-footer){clip-path:polygon(0 0,50% 2%,100% 0,100% 100%,0 100%);padding-top:64px;}
}
