/* Language selection belongs to the navigation, separate from shopping controls. */
.language-selector{position:relative;flex:none;margin-left:clamp(24px,3vw,64px);text-transform:none;font:600 14px/1.3 Barlow,Arial,sans-serif;letter-spacing:.02em}
.language-selector summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 4px;list-style:none;border:0;border-radius:0;background:transparent;color:#52666c;cursor:pointer;transition:color .2s}
.header .language-selector > summary{padding-right:4px!important}
.language-selector summary::-webkit-details-marker{display:none}
.language-selector summary::after{display:none}
.language-selector summary:hover,.language-selector[open] summary{color:var(--teal)}
.language-selector summary svg{transition:transform .2s}
.language-selector[open] summary svg{transform:rotate(180deg)}
.language-selector summary:focus-visible,.language-options a:focus-visible{outline:2px solid var(--teal);outline-offset:4px}
.language-options{position:absolute;right:0;top:calc(100% + 10px);z-index:35;min-width:156px;padding:6px;border:1px solid #d5e2e5;border-radius:0;background:#fff;box-shadow:0 6px 16px #102b470c;color:var(--navy);letter-spacing:0}
.language-options a,.language-current{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;padding:10px 12px;border-radius:0;white-space:nowrap}
.language-options a{color:var(--navy);transition:background .2s}
.language-options a:hover{background:#edf5f5}
.language-current{color:#52666c;background:transparent}
.header-inner .site-search{margin-left:0}
.nav .contact-link{border-radius:24px;padding-left:20px;padding-right:20px}
.nav>a,.nav-products>a,.category-bar button,.product-resource-tabs button,.sc-explorer .sc-tab{text-transform:uppercase}
@media(min-width:1321px){
  .header-inner{gap:24px;justify-content:flex-start}
  .header .brand{margin-right:24px}
  .header .nav{flex:1;justify-content:space-between;gap:20px;font-size:15px}
  .nav .contact-link{font-size:15px}
}
@media(max-width:1320px){
  .nav.is-open{font-size:22px}
  .nav.is-open>a:not(.contact-link),.nav.is-open .nav-products>a{font-size:22px;line-height:1.25;font-weight:600}
  .nav.is-open .contact-link{font-size:18px;padding:12px 24px}
  .nav.is-open .nav-products-toggle{font-size:22px}
}
@media(max-width:700px){
  .nav.is-open{gap:7px}
  .nav.is-open>a:not(.contact-link),.nav.is-open .nav-products>a{font-size:22px}
}
@media(max-width:400px){.category-bar{gap:0 10px}.category-bar button{font-size:18px}}
@media(max-width:400px){.page-resources .category-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 8px}.page-resources .category-bar button{min-width:0;min-height:68px;font-size:16px;line-height:1.12;white-space:normal}}
@media(max-width:380px){.nav.is-open>a:not(.contact-link),.nav.is-open .nav-products>a{font-size:20px}}
@media(prefers-reduced-motion:reduce){.language-selector summary,.language-selector summary svg,.language-options a{transition:none}}
@media print{.language-selector{display:none}}

/* Keep language selection at the outer edge, beyond the navigation utilities. */
.header .header-inner{max-width:1600px;padding-inline:clamp(24px,3vw,56px)}
.header .header-inner .nav{max-width:900px;margin-left:auto}
@media(max-width:700px){
 .header .header-inner{padding-inline:16px;gap:6px}
 .header .header-inner .brand{flex-basis:132px;width:132px;margin-right:auto}
 .header .header-inner .brand .brand-full{width:132px}
 .header .language-selector{margin-left:16px;font-size:13px}
 .header .language-selector summary{gap:6px;min-width:38px;padding-inline:4px}
}
@media(max-width:420px){
 .header .header-inner{padding-inline:12px;gap:4px}
 .header .header-inner .brand{flex-basis:112px;width:112px}
 .header .header-inner .brand .brand-full{width:112px}
 .header .menu-toggle{min-width:32px;width:32px;padding:4px}
 .header .language-selector{margin-left:12px}
}
@media(max-width:350px){
 .header .header-inner .brand{flex-basis:92px;width:92px}
 .header .header-inner .brand .brand-full{width:92px}
 .header .language-selector{margin-left:8px}
}

/* Let headings and paragraphs wrap without isolated final words. */
main :is(h1,h2,h3){text-wrap:balance}
main :is(p,li,dd,figcaption){text-wrap:pretty}
.product-specification-copy p + p{margin-top:1rem}
@media(max-width:400px){.opening-motion .opening-copy h1>span{display:block;text-wrap:balance}}

/* Editorial cover: one panoramic artwork across the section, with a quiet second graphic beat. */
#main .page-top.editorial-hero{position:relative;isolation:isolate;overflow:hidden;padding:0;border-bottom:0;background:#061b37;color:#e4edf5}
.editorial-hero>.wrap{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;min-height:clamp(520px,42vw,620px);padding-top:52px;padding-bottom:60px}
#main .page-top.editorial-hero .breadcrumb{max-width:calc(62% - 56px);margin-bottom:38px;color:#c8dce9}
#main .page-top.editorial-hero .breadcrumb a:focus-visible{outline-color:#b9e5e2}
#main .page-top.editorial-hero h1{max-width:calc(62% - 56px);font-size:clamp(52px,5vw,76px);line-height:1.04;color:#fff}
#main .page-top.editorial-hero .intro{max-width:calc(62% - 56px);white-space:normal;font-size:clamp(18px,1.65vw,22px);line-height:1.5;color:#e0eaf3}
#main .page-top.editorial-hero::before{content:"";position:absolute;z-index:0;inset:0;background-image:linear-gradient(90deg,rgba(3,17,37,.7) 0%,rgba(3,17,37,.46) 47%,rgba(3,17,37,.08) 100%),url("engineering-cover-abstract.png");background-position:center;background-size:cover;background-repeat:no-repeat;pointer-events:none}
#main .page-top.editorial-hero::after{content:"";position:absolute;z-index:1;inset:0 0 0 auto;width:40%;background:linear-gradient(132deg,transparent 30%,rgba(64,192,202,.06) 44%,rgba(88,218,166,.2) 50%,rgba(20,97,151,.06) 58%,transparent 70%);clip-path:polygon(45% 0,100% 0,100% 100%,0 100%);pointer-events:none}
@keyframes editorial-text-enter{from{opacity:0;transform:translate3d(calc(-100vw - 2rem),0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes editorial-cover-enter{from{opacity:0;clip-path:inset(0 0 0 100%);transform:translate3d(4%,0,0)}to{opacity:1;clip-path:inset(0);transform:none}}
@keyframes editorial-detail-enter{from{opacity:0;transform:translate3d(48px,0,0)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){#main .editorial-hero h1{animation:editorial-text-enter 1.3s cubic-bezier(.16,.7,.25,1) both}#main .editorial-hero .intro{animation:editorial-text-enter 1.3s .16s cubic-bezier(.16,.7,.25,1) both}#main .page-top.editorial-hero::before{animation:editorial-cover-enter 1.12s .16s cubic-bezier(.16,.7,.25,1) both}#main .page-top.editorial-hero::after{animation:editorial-detail-enter .78s .52s cubic-bezier(.16,.7,.25,1) both}}
@media(max-width:900px){.editorial-hero>.wrap{min-height:clamp(340px,58vw,460px);padding-top:34px;padding-bottom:34px}#main .page-top.editorial-hero .breadcrumb,#main .page-top.editorial-hero h1,#main .page-top.editorial-hero .intro{max-width:100%}#main .page-top.editorial-hero h1{font-size:clamp(44px,7vw,64px)}#main .page-top.editorial-hero::before{background-position:center,72% center}#main .page-top.editorial-hero::after{width:56%}}
@media(max-width:700px){.editorial-hero>.wrap{padding-top:32px;padding-bottom:38px}#main .page-top.editorial-hero h1{font-size:clamp(42px,11vw,54px)}#main .page-top.editorial-hero .intro{font-size:18px}#main .page-top.editorial-hero::before{background-image:linear-gradient(90deg,rgba(3,17,37,.78),rgba(3,17,37,.5)),url("engineering-cover-abstract.png")}}
@media(prefers-reduced-motion:reduce){#main .editorial-hero h1,#main .editorial-hero .intro,#main .page-top.editorial-hero::before,#main .page-top.editorial-hero::after{animation:none;opacity:1;transform:none;clip-path:none}}
@media print{#main .page-top.editorial-hero{background:#fff;color:var(--ink)}#main .page-top.editorial-hero :is(.breadcrumb,h1,.intro){color:var(--navy)}#main .page-top.editorial-hero::before,#main .page-top.editorial-hero::after{display:none}}
