/*
Theme Name: CEX Precision (DE/KO legacy renderer)
Author: CEX Casting
Description: Copy of the live `cex` 1.0.0 theme, used ONLY for /de/ and /ko/ front-end requests (mu-plugin cex-i18n-router.php) until DE/KO are rebuilt in cex2. Changes vs cex 1.0.0: no founding year (schema + trust bar), validated hreflang (no ary, x-default, no retired URLs), DE/KO menus link straight to final URLs.
Version: 1.0.0-i18n.3
Text Domain: cex
*/
@font-face{font-family:Inter;src:url('assets/fonts/inter-latin.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{--ink:#071329;--navy:#10263d;--blue:#0054ce;--blue-dark:#003e9f;--muted:#5e697b;--paper:#f5f6f8;--line:#dce2e9;--white:#fff;--max:1320px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;color:var(--ink);font-family:Inter,Arial,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:hover{color:var(--blue)}:focus-visible{outline:3px solid #4294ff;outline-offset:5px}p{margin:0 0 24px;color:var(--muted)}h1,h2,h3,h4{line-height:1.12;letter-spacing:-.045em;margin:0 0 24px;font-weight:650}h1{font-size:clamp(44px,5.25vw,76px)}h2{font-size:clamp(30px,3vw,44px)}h3{font-size:26px;letter-spacing:-.035em}li{color:var(--muted)}.wrap{width:calc(100% - 120px);max-width:var(--max);margin-inline:auto}.section{padding-block:88px}.eyebrow{display:block;font-size:11px;font-weight:650;letter-spacing:.21em;line-height:1.6;margin-bottom:23px;color:#263f62}.icon{display:inline-block;width:23px;height:23px;vertical-align:middle;flex-shrink:0}.button{display:inline-flex;justify-content:center;align-items:center;gap:20px;border:1px solid var(--blue);border-radius:2px;background:var(--blue);color:white;padding:17px 25px;font-size:15px;line-height:1.3;font-weight:600;min-height:56px;transition:background .18s,transform .18s;white-space:nowrap}.button .icon{filter:brightness(0) invert(1)}.button:hover{background:var(--blue-dark);border-color:var(--blue-dark);color:white;transform:translateY(-1px)}.button:disabled{background:#637489;border-color:#637489;cursor:wait}.button.light{background:white;color:var(--navy);border-color:white}.button.light .icon{filter:none}.button.light:hover{background:#e8eff9;border-color:#e8eff9;color:var(--navy)}.text-link{display:inline-flex;gap:18px;align-items:center;font-size:15px;font-weight:600;border-bottom:1px solid #9db5d7;padding-bottom:7px;line-height:1.5}.text-link .icon{width:20px;height:20px}.text-link:hover{border-color:var(--blue)}.skip-link{position:fixed;z-index:100;left:20px;top:-100px;padding:15px;background:white}.skip-link:focus{top:10px}.site-header{height:96px;background:white;border-bottom:1px solid #edf0f4;position:sticky;top:0;z-index:30}.header-inner{max-width:1500px;width:calc(100% - 120px);height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;gap:24px;flex-shrink:0}.brand img{width:137px;height:57px;object-fit:contain}.brand span{border-left:1px solid #abb8ca;padding-left:22px;color:var(--muted);font-size:12px;letter-spacing:-.01em;white-space:nowrap}#main-nav{margin-left:auto}.nav-list{display:flex;align-items:center;list-style:none;padding:0;margin:0;gap:26px}.nav-list>li{position:relative;white-space:nowrap;display:flex;align-items:center;gap:7px;color:var(--ink);font-size:14px;font-weight:550}.nav-list>li>a{padding:34px 0}.nav-list .current-menu-item>a{color:var(--blue)}.sub-menu{display:none;position:absolute;top:100%;left:-20px;min-width:265px;margin:0;padding:12px;list-style:none;background:white;border:1px solid var(--line);box-shadow:0 14px 28px #0713290d}.sub-menu a{display:block;padding:11px 12px;white-space:normal;font-size:14px}.sub-menu a:hover{background:var(--paper)}.expanded>.sub-menu{display:block}.submenu-toggle{padding:8px 0;border:none;background:none;display:flex;align-items:center;justify-content:center;min-width:18px;min-height:36px}.menu-toggle{display:none;border:0;background:none;padding:10px}.header-quote{font-size:13px;min-height:52px;padding:15px 22px}.hero{background:var(--paper);overflow:hidden}.hero-inner{display:grid;grid-template-columns:1fr 1fr;position:relative;min-height:750px;align-items:center}.hero-copy{z-index:2;position:relative;padding:68px 0 70px;max-width:660px}.hero-copy h1{font-size:clamp(48px,5.25vw,76px);line-height:1.06;letter-spacing:-.054em;max-width:650px;margin-bottom:30px}.hero-copy p{font-size:25px;line-height:1.4;letter-spacing:-.025em;max-width:580px;margin-bottom:34px}.hero-copy .eyebrow{margin-bottom:30px}.hero-actions{display:flex;align-items:center;gap:30px;flex-wrap:wrap}.hero-visual{align-self:stretch;position:relative;min-width:0}.hero-product{position:absolute;width:116%;max-width:none;height:100%;object-fit:contain;left:-4%;top:0;mix-blend-mode:normal}.hero-note{position:absolute;right:0;top:58px;border-left:1px solid #a9b6c7;padding-left:17px;font-size:9px;letter-spacing:.16em;line-height:2;color:#627089}.trust-bar{background:#fafbfc;border-bottom:1px solid #edf0f5}.trust-inner{display:grid;grid-template-columns:repeat(3,1fr);padding:30px 0}.trust-inner>div{display:flex;align-items:center;justify-content:center;gap:30px;border-right:1px solid var(--line);min-height:68px;font-size:18px;line-height:1.4;color:#182f4f;font-weight:500}.trust-inner>div:last-child{border:0}.trust-inner .icon{width:43px;height:43px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:40px}.section-heading>div:first-child{flex:1}.section-heading h2{margin-bottom:0}.section-heading>p{width:405px;margin:0;font-size:17px;line-height:1.5;letter-spacing:-.015em}.capabilities-section{padding:58px 0 68px}.capability-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.capability-card img{width:100%;height:255px;object-fit:cover;margin-bottom:25px}.capability-card h3{margin-bottom:13px;font-size:26px}.capability-card p{font-size:17px;line-height:1.5;min-height:78px;margin-bottom:20px}.capability-card .text-link img{margin:0;width:20px;height:20px}.more-processes{border-top:1px solid var(--line);display:flex;gap:32px;margin-top:42px;padding-top:22px;color:var(--muted);font-size:14px;align-items:center}.more-processes span{margin-right:auto}.more-processes a{color:var(--ink);font-weight:550}.squeeze-feature{background:var(--navy);color:white;overflow:hidden}.feature-grid{display:grid;grid-template-columns:1.05fr 1fr;min-height:510px;align-items:center;gap:50px}.feature-copy{padding-block:72px;z-index:2}.feature-copy .eyebrow,.closing-cta .eyebrow{color:#cad8e9}.feature-copy h2{font-size:44px;max-width:620px}.feature-copy p{max-width:550px;font-size:19px;line-height:1.55;color:#c0ccdb}.feature-image{height:100%;position:relative}.feature-image>img{width:120%;max-width:none;height:100%;object-fit:cover;object-position:50% 45%;filter:brightness(.9)}.feature-caption{font-size:11px;letter-spacing:.08em;color:#b9cadf;margin:18px 0 0}.quality-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.quality-grid .quality-image{background:var(--paper);padding:20px}.quality-grid .quality-image img{width:100%;height:420px;object-fit:contain}.quality-copy p{font-size:18px;max-width:550px}.check-list{list-style:none;padding:0;margin:26px 0}.check-list li{border-top:1px solid var(--line);padding:12px 0;font-size:16px;color:var(--ink)}.industry-section{background:var(--paper)}.industry-links{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #cbd4de;border-bottom:1px solid #cbd4de;margin-top:44px}.industry-links a{display:flex;flex-direction:column;align-items:start;gap:25px;border-right:1px solid #cbd4de;padding:28px 24px;font-size:18px;font-weight:550;line-height:1.3}.industry-links a:first-child{padding-left:0}.industry-links a:last-child{border:0}.industry-links .icon{width:32px;height:32px}.industry-links a:hover{color:var(--blue)}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:36px;margin-top:48px}.process-grid article{border-top:1px solid #c3d0df;padding-top:22px}.step-number{color:var(--blue);font-size:13px;letter-spacing:.06em;display:block;margin-bottom:28px}.process-grid h3{font-size:23px;letter-spacing:-.03em}.process-grid p{font-size:16px}.faq-section{border-top:1px solid var(--line);padding:80px 0}.faq-layout{display:grid;grid-template-columns:1fr 1.35fr;gap:80px}.faq-layout h2{max-width:420px}.faq-list details{border-bottom:1px solid var(--line);padding:22px 0}.faq-list details:first-child{border-top:1px solid var(--line)}.faq-list summary{cursor:pointer;font-size:18px;font-weight:550;padding-right:30px}.faq-list details p{font-size:16px;line-height:1.7;margin:20px 0 3px;max-width:650px}.closing-cta{background:#0a2848;color:white}.cta-inner{display:flex;justify-content:space-between;gap:60px;align-items:center;padding-block:76px}.cta-inner h2{font-size:48px}.cta-inner p{color:#c5d2e2;font-size:18px;margin:0}.site-footer{background:#f7f8fa;padding-top:66px}.footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1.1fr;gap:48px;padding-bottom:58px}.footer-grid h3{font-size:14px;letter-spacing:0;margin:7px 0 22px;font-weight:650}.footer-grid a{display:block;font-size:14px;color:#526176;margin:10px 0}.footer-grid a:hover{color:var(--blue)}.footer-grid p{font-size:14px;line-height:1.8;color:#526176}.footer-brand>a:first-child{margin:0 0 22px}.footer-brand p{margin-bottom:23px}.footer-grid .icon{width:16px;height:16px;margin-left:6px}.footer-bottom{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding-block:25px;font-size:12px;color:#667287}.footer-bottom>div{display:flex;gap:25px}.mobile-quote{display:none}.breadcrumbs{display:flex;gap:12px;font-size:12px;line-height:1.4;color:#657489;margin-bottom:35px}.breadcrumbs a{color:var(--blue)}.page-hero{background:var(--paper);padding:32px 0 65px}.page-hero-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:85px;align-items:center}.page-hero h1{font-size:clamp(42px,4.7vw,68px);max-width:950px}.page-hero .eyebrow{margin-bottom:20px}.page-hero-image{height:370px}.page-hero-image img{height:100%;width:100%;object-fit:cover}.page-hero-grid.no-image{grid-template-columns:1fr;max-width:1050px}.lead{font-size:22px;line-height:1.5;max-width:850px;letter-spacing:-.02em}.page-content{padding-block:72px}.page-content h2{font-size:36px}.page-content h3{font-size:26px}.page-content>p,.page-content>ul,.page-content>ol{max-width:880px;font-size:18px}.page-content h2:not(:first-child){margin-top:55px}.page-content a:not(.button):not(.text-link){color:var(--blue);text-decoration:underline;text-underline-offset:3px}.page-content .capability-card h3 a{color:var(--ink);text-decoration:none}.page-content .section-heading{margin-bottom:35px}.page-content .capability-grid{row-gap:55px}.page-content .section-heading h2{margin-top:0}.data-table{border-collapse:collapse;width:100%;font-size:16px;min-width:580px}.table-wrap{overflow-x:auto;margin:30px 0}.data-table caption{text-align:left;font-size:13px;color:var(--muted);margin-bottom:15px}.data-table th,.data-table td{text-align:left;padding:19px 22px;border:1px solid var(--line);vertical-align:top;line-height:1.5}.data-table th{background:var(--paper);font-weight:600}.data-table td{color:var(--muted)}.callout{border-left:3px solid var(--blue);background:var(--paper);padding:25px 30px;margin:32px 0;max-width:950px}.callout p:last-child{margin:0}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:44px;margin:35px 0}.info-grid article{border-top:1px solid var(--line);padding-top:28px}.info-grid h3{margin-bottom:15px}.page-content .faq-list{max-width:950px;margin-top:30px}.sources-note{font-size:13px!important;color:var(--muted);border-top:1px solid var(--line);padding-top:20px;margin-top:40px}.case-block{display:grid;grid-template-columns:.7fr 1fr;gap:50px;background:var(--paper);padding:40px;margin:35px 0}.case-block img{max-height:370px;object-fit:contain;width:100%}.case-block h2{margin-top:0!important}.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin:45px 0}.contact-grid>div{border-top:1px solid var(--line);padding-top:25px}.rfq-main{background:#f7f8fa;padding:30px 0 90px}.rfq-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:90px;align-items:start}.rfq-intro{padding-top:28px}.rfq-intro h1{font-size:64px}.rfq-steps{padding:0;list-style:none;counter-reset:rfq;margin:45px 0}.rfq-steps li{counter-increment:rfq;position:relative;padding-left:50px;margin-bottom:27px}.rfq-steps li:before{content:counter(rfq,decimal-leading-zero);position:absolute;left:0;top:1px;color:var(--blue);font-size:13px;font-weight:600}.rfq-steps strong{color:var(--ink);font-size:17px;font-weight:600}.rfq-steps p{font-size:15px;margin:6px 0;max-width:340px}.direct-contact{border-top:1px solid var(--line);padding-top:25px;max-width:420px}.direct-contact span{font-size:13px;color:var(--muted);display:block;margin-bottom:13px}.direct-contact a{display:block;margin-bottom:12px;font-size:16px}.direct-contact .icon{width:18px;height:18px;margin-left:10px}.rfq-panel{background:white;border:1px solid var(--line);padding:42px;min-width:0}.rfq-panel h2{font-size:28px;letter-spacing:-.035em;line-height:1.2;margin-bottom:12px}.form-intro{font-size:14px;line-height:1.5;margin-bottom:30px}.form-intro span{display:block;margin-top:6px;font-size:12px}.muted{color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.form-grid label,.form-grid>.full>label{display:block;font-size:13px;font-weight:550}.form-grid .full{grid-column:1/-1}input:not([type="checkbox"]):not([type="file"]):not([type="hidden"]),select,textarea{width:100%;border:1px solid #bec9d6;background:#fff;border-radius:2px;padding:13px 14px;line-height:1.5;color:var(--ink);font-size:14px;margin-top:8px}input::placeholder,textarea::placeholder{color:#7e8896}textarea{resize:vertical;min-height:125px}.file-drop{position:relative;border:1px dashed #9daec1;text-align:center;background:#fafbfd;margin-top:8px;padding:24px 12px 16px}.file-drop>.icon{width:28px;height:28px;display:block;margin:0 auto 12px}.file-drop label{font-size:14px;font-weight:400}.file-drop label strong{color:var(--blue)}.file-drop>span{display:block;font-size:11px;color:var(--muted);margin-top:6px}.file-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-drop:focus-within{outline:3px solid #4294ff;outline-offset:2px}#file-status{font-size:12px;color:var(--muted);margin:12px 0 0;overflow-wrap:anywhere}.consent{display:flex;gap:12px;align-items:start;margin:25px 0;font-size:12px;line-height:1.6;color:var(--muted)}.consent input{margin:3px 0 0;width:17px;height:17px;accent-color:var(--blue);flex-shrink:0}.consent a{color:var(--blue);text-decoration:underline}.submit-button{width:100%}.privacy-note{display:flex;gap:7px;align-items:start;font-size:11px;line-height:1.5;margin:15px 0 0}.privacy-note .icon{width:15px;height:15px}.honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.form-error{color:#a71b32;font-size:13px}.form-error[hidden]{display:none}.success-panel{padding:40px 0}.success-panel>.icon{width:55px;height:55px;margin-bottom:28px}.success-panel h2{font-size:38px}.success-panel .button{margin:15px 0 25px}.success-panel .text-link{display:table}.notice{background:#f0f5fb;border-left:3px solid var(--blue);padding:15px;font-size:14px}.resources-hero{padding:80px 0}.resources-hero h1{font-size:70px}.resource-search{max-width:760px;margin-bottom:55px}.resource-search label{font-size:14px;font-weight:600}.resource-search>div{display:flex;gap:15px;align-items:end}.resource-search input{min-height:55px}.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.resource-card>a>img{width:100%;height:230px;object-fit:cover;background:var(--paper);margin-bottom:28px}.resource-card .eyebrow{font-size:10px;margin-bottom:12px}.resource-card h2{font-size:28px}.resource-card p{font-size:16px}.resource-card .resource-meta{font-size:13px;letter-spacing:.02em;color:var(--muted);margin:0 0 14px}.article-hero{padding-block:35px 65px}.article-hero h1{max-width:1080px}.article-meta{font-size:13px;margin:32px 0 0}.article-layout{display:grid;grid-template-columns:1fr 325px;gap:95px;padding-block:70px}.article-body{font-size:18px;min-width:0}.article-body h2{font-size:34px;margin-top:42px}.article-body h2:first-child{margin-top:0}.article-body h3{font-size:25px;margin-top:35px}.article-body a{color:var(--blue);text-decoration:underline}.article-aside{position:sticky;top:135px;align-self:start;background:var(--paper);padding:30px}.article-aside h2{font-size:30px}.article-aside p{font-size:15px}.article-aside .button{font-size:13px;white-space:normal;padding-inline:15px;width:100%;gap:10px}.article-aside .text-link{margin-top:20px}.not-found{min-height:70vh}.not-found h1{font-size:76px}.not-found p{max-width:600px}.empty-state{grid-column:1/-1;padding:30px 0 80px}.wp-block-image img{height:auto}.wp-block-group{max-width:100%}

@media(min-width:1500px){.hero-inner{min-height:790px}.hero-copy h1{font-size:80px}}
@media(max-width:1250px){.brand span{display:none}.header-inner{width:calc(100% - 72px);gap:22px}.wrap{width:calc(100% - 88px)}.nav-list{gap:20px}.hero-inner{min-height:650px}.hero-copy p{font-size:22px}.hero-actions{gap:20px}.hero-actions .button{padding-inline:20px}.hero-actions .text-link{font-size:13px;gap:9px}.hero-copy h1{font-size:64px}.trust-inner>div{font-size:16px}.capability-card img{height:220px}.section-heading>p{width:340px}.rfq-layout{gap:50px}.rfq-intro h1{font-size:56px}.rfq-panel{padding:30px}.footer-grid{gap:30px}.feature-copy h2{font-size:40px}}
@media(max-width:1100px){.header-inner{width:calc(100% - 48px)}.site-header{height:80px}.brand img{width:115px;height:48px}.header-quote{margin-left:auto}.menu-toggle{display:block;order:3}#main-nav{display:none;position:absolute;top:80px;left:0;right:0;background:white;border-bottom:1px solid var(--line);max-height:calc(100dvh - 80px);overflow:auto;padding:18px 30px 30px}#main-nav.open{display:block}.nav-list{display:block}.nav-list>li{display:flex;flex-wrap:wrap;justify-content:space-between;border-bottom:1px solid var(--line)}.nav-list>li>a{padding:16px 0;flex:1}.submenu-toggle{width:44px;height:44px}.sub-menu{position:static;width:100%;border:none;box-shadow:none;padding:0 8px 12px}.expanded>.sub-menu{display:block}.hero-inner{min-height:640px}.hero-copy h1{font-size:56px}.hero-note{display:none}.hero-actions{gap:20px}.hero-actions .text-link{font-size:14px}.hero-product{width:122%;left:-6%}.hero-copy p{font-size:21px}.quality-grid{gap:45px}.industry-links a{padding:24px 17px;font-size:16px}.process-grid{gap:24px}.trust-inner>div{gap:17px}.trust-inner .icon{width:34px;height:34px}.feature-grid{gap:25px}.page-hero-grid{gap:40px}.page-hero-image{height:300px}.article-layout{gap:40px;grid-template-columns:1fr 280px}.resource-grid{gap:24px}.resource-card h2{font-size:25px}}
@media(max-width:780px){html{scroll-padding-top:85px}.wrap{width:calc(100% - 40px)}.header-inner{width:calc(100% - 36px);gap:12px}.site-header{height:72px}.brand img{width:99px;height:42px}.header-quote{font-size:11px;min-height:40px;padding:10px 12px;gap:9px}.header-quote .icon{width:17px;height:17px}.menu-toggle{padding:6px}#main-nav{top:72px;max-height:calc(100dvh - 72px)}.hero-inner{display:flex;flex-direction:column;min-height:auto}.hero-copy{padding:48px 0 18px;max-width:none;width:100%}.hero-copy .eyebrow{font-size:9px;letter-spacing:.17em;margin-bottom:22px}.hero-copy h1{font-size:clamp(43px,8.5vw,60px);max-width:650px;letter-spacing:-.05em;line-height:1.08;margin-bottom:23px}.hero-copy p{font-size:19px;max-width:500px;margin-bottom:26px}.hero-actions{gap:20px}.hero-actions .button{font-size:13px;min-height:50px}.hero-actions .text-link{font-size:12px;gap:9px}.hero-visual{height:350px;width:100%;align-self:auto}.hero-product{width:100%;left:0;height:100%;object-fit:contain}.trust-inner{padding:22px 0;gap:12px}.trust-inner>div{font-size:11px;line-height:1.4;flex-direction:column;align-items:center;text-align:center;gap:10px;min-height:80px;padding-right:10px}.trust-inner>div:last-child{padding-right:0}.trust-inner .icon{width:28px;height:28px}.section,.capabilities-section{padding:55px 0}.section-heading{display:block;margin-bottom:28px}.section-heading>p{width:auto;max-width:600px;margin-top:22px;font-size:16px}.eyebrow{font-size:10px;margin-bottom:17px}h2{font-size:33px}.capability-grid{grid-template-columns:1fr;gap:38px}.capability-card img{height:auto;aspect-ratio:1.65;object-fit:cover;margin-bottom:18px}.capability-card h3{font-size:26px}.capability-card p{font-size:16px;min-height:0;margin-bottom:14px}.more-processes{flex-wrap:wrap;gap:18px;margin-top:30px;font-size:13px}.more-processes span{width:100%;margin:0}.feature-grid{display:flex;flex-direction:column;gap:0;min-height:0}.feature-copy{padding:50px 0 25px;align-self:start}.feature-copy h2{font-size:35px}.feature-copy p{font-size:17px}.feature-copy .button{font-size:13px}.feature-image{height:310px;width:100%}.feature-image>img{width:100%;object-fit:cover;object-position:50% 40%}.quality-grid{grid-template-columns:1fr;gap:35px}.quality-grid .quality-image img{height:auto;max-height:370px}.quality-copy p{font-size:16px}.industry-links{grid-template-columns:1fr 1fr;margin-top:25px;border:0}.industry-links a{padding:20px!important;border-right:0;border-top:1px solid #cbd4de;gap:16px}.industry-links a:last-child{border-top:1px solid #cbd4de}.industry-links .icon{width:27px;height:27px}.process-grid{grid-template-columns:1fr 1fr;gap:25px;margin-top:30px}.process-grid h3{font-size:22px}.process-grid p{font-size:14px}.step-number{margin-bottom:20px}.faq-section{padding:50px 0}.faq-layout{grid-template-columns:1fr;gap:15px}.faq-list summary{font-size:16px}.faq-list details p{font-size:15px}.cta-inner{display:block;padding-block:50px}.cta-inner h2{font-size:37px}.cta-inner p{font-size:16px}.cta-inner .button{margin-top:28px}.site-footer{padding-top:45px;padding-bottom:60px}.footer-grid{grid-template-columns:1fr 1fr;gap:35px 24px;padding-bottom:35px}.footer-grid a,.footer-grid p{font-size:12px}.footer-brand img{width:110px}.footer-bottom{flex-direction:column;gap:15px;font-size:11px}.mobile-quote{display:flex;align-items:center;justify-content:center;gap:18px;position:fixed;bottom:0;left:0;right:0;background:var(--blue);color:white;z-index:25;padding:14px;font-size:14px;font-weight:550;box-shadow:0 -4px 15px #07132915}.mobile-quote .icon{filter:brightness(0) invert(1);width:19px;height:19px}.page-hero{padding:25px 0 40px}.breadcrumbs{font-size:11px;flex-wrap:wrap;gap:8px;margin-bottom:27px}.page-hero-grid{grid-template-columns:1fr;gap:30px}.page-hero h1{font-size:44px}.page-hero-image{height:280px}.lead{font-size:19px}.page-content{padding-block:45px}.page-content h2{font-size:30px}.page-content>p,.page-content>ul{font-size:16px}.info-grid,.case-block,.contact-grid{grid-template-columns:1fr;gap:25px}.case-block{padding:25px}.page-content h2:not(:first-child){margin-top:35px}.data-table{font-size:14px}.data-table th,.data-table td{padding:13px 15px}.rfq-main{padding:22px 0 50px}.rfq-layout{grid-template-columns:1fr;gap:30px}.rfq-intro{padding:0}.rfq-intro h1{font-size:47px}.rfq-steps{display:none}.direct-contact{padding-top:16px;margin-top:22px}.rfq-panel{padding:25px 20px}.rfq-panel h2{font-size:26px}.form-grid{gap:18px}.form-grid label{font-size:12px}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px!important}.form-intro{font-size:13px}.rfq-main~.mobile-quote,body.page-template-default.page-id-0 .mobile-quote{display:none}.resources-hero{padding-block:50px}.resources-hero h1{font-size:47px}.resource-search>div{gap:8px}.resource-search .button{padding-inline:15px}.resource-grid{grid-template-columns:1fr;gap:40px}.resource-card>a>img{height:240px;margin-bottom:20px}.resource-card h2{font-size:27px}.article-layout{grid-template-columns:1fr;padding-block:45px;gap:35px}.article-body{font-size:17px}.article-body h2{font-size:29px}.article-aside{position:static}.article-aside .button{width:auto}.article-aside .text-link{margin-left:20px}.not-found h1{font-size:50px}.privacy-note{font-size:11px}.success-panel h2{font-size:33px}.success-panel{padding:15px 0}}
@media(max-width:380px){.hero-actions{align-items:start;flex-direction:column;gap:16px}.hero-visual{height:290px}.hero-copy h1{font-size:41px}.form-grid{grid-template-columns:1fr}.brand img{width:88px}.header-quote{font-size:10px}.header-quote .icon{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media(min-width:1251px){.hero-inner{min-height:790px}.hero-copy h1{max-width:600px}.hero-copy p{font-size:28px;max-width:580px}}
body.page-request-a-quote .mobile-quote{display:none}
.feature-image>img{filter:none;object-fit:cover}

@media(max-width:480px){.form-grid{grid-template-columns:1fr}}
@media(min-width:1251px){.hero-actions .button{min-height:64px;padding:19px 28px;font-size:17px;gap:24px;min-width:268px}.hero-actions .text-link{font-size:17px;gap:22px}.header-quote{font-size:14px;min-height:54px;padding:16px 24px}.hero-copy h1{font-weight:680}}

/* Editorial edition: scannable technical content within the selected visual system. */
.capability-overview{border-top:1px solid var(--line)}
.capability-overview>p{max-width:790px;font-size:16px;margin-top:30px}
.capability-overview a{color:var(--blue);text-decoration:underline}
.capability-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:38px;gap:30px}
.capability-facts>div{border-left:3px solid var(--blue);padding-left:25px}
.capability-facts strong{display:block;font-size:36px;letter-spacing:-.04em;color:var(--navy)}
.capability-facts strong span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.12em;margin-top:10px}
.capability-facts p{font-size:15px;margin:16px 0 0}
.application-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:35px}
.application-grid article{border:1px solid var(--line);background:white}
.application-grid article>a{display:block;overflow:hidden}
.application-grid img{display:block;width:100%;height:225px;object-fit:cover}
.application-grid article>div{padding:26px}
.application-grid h3{font-size:26px;line-height:1.2;margin:0 0 16px}
.application-grid p{font-size:16px;line-height:1.65}
.application-grid article>div>a{font-size:14px;color:var(--blue);font-weight:600}
.application-grid .eyebrow{font-size:10px}
.related-reading{margin-top:48px;border-top:1px solid var(--line);padding-top:30px}
.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}
.related-grid a{display:block;background:var(--paper);border:1px solid var(--line);padding:24px;text-decoration:none!important;transition:border-color .2s}
.related-grid a:hover{border-color:var(--blue)}
.related-grid a span{display:block;font-size:10px;letter-spacing:.12em;margin-bottom:12px;color:var(--blue)}
.related-grid strong{display:block;font-size:19px;line-height:1.4;color:var(--navy)}
.answer-summary{border-left:3px solid var(--blue);background:var(--paper);padding:25px 30px;margin-bottom:38px}
.answer-summary .eyebrow{margin-bottom:12px}
.answer-summary p{margin:0;max-width:900px;font-size:19px;line-height:1.7;color:var(--navy)}
.content-toc{border:1px solid var(--line);padding:24px 28px;margin-bottom:30px}
.content-toc .eyebrow{margin-bottom:12px}
.content-toc ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px 25px}
.content-toc li{margin:0;font-size:14px;line-height:1.5}
.content-toc a{color:var(--blue);text-decoration:none}
.content-toc a:hover{text-decoration:underline}
.page-content>h3{font-size:25px;margin-top:30px;max-width:900px}
.page-content>p,.page-content>ul,.page-content>ol{max-width:900px}
.table-wrap:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.data-table caption{text-align:left;font-size:13px;line-height:1.6;padding:14px 0;color:var(--muted)}
.editorial-note{border-top:1px solid var(--line);margin-top:42px;padding-top:16px;font-size:14px}
.editorial-note h2{font-size:24px}
.rfq-brief{background:var(--paper);padding:25px 30px;border:1px solid var(--line)}
.rfq-brief p{margin:0;line-height:2}
.article-meta a{color:inherit;text-decoration:underline}
@media(max-width:1100px){.capability-facts strong{font-size:30px}.application-grid{gap:18px}.application-grid article>div{padding:20px}.application-grid h3{font-size:23px}.related-grid{gap:12px}.related-grid a{padding:18px}}
@media(max-width:780px){.capability-facts,.application-grid,.related-grid{grid-template-columns:1fr}.capability-facts{gap:26px}.capability-facts strong{font-size:33px}.application-grid{gap:25px}.application-grid img{height:auto;aspect-ratio:1.6;object-fit:cover}.application-grid article>div{padding:24px}.application-grid h3{font-size:26px}.content-toc{padding:20px}.content-toc ul{grid-template-columns:1fr;gap:12px}.answer-summary{padding:22px}.answer-summary p{font-size:17px}.related-reading{margin-top:35px}.related-grid a{padding:22px}.page-content>h3{font-size:23px}}

/* Language switcher (Polylang) — 只新增样式，不改动既有布局规则。
   位置在主导航与询价按钮之间；.header-quote 自带 margin-left:auto，因此切换器自然靠右停靠。 */
.lang-switch{flex-shrink:0}
.lang-switch ul{display:flex;align-items:center;gap:10px;margin:0;padding:0;list-style:none}
.lang-switch li{list-style:none;display:flex;align-items:center}
.lang-switch li:not(:last-child){padding-right:10px;border-right:1px solid #edf0f4}
.lang-switch a{color:#667287;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;transition:color .15s}
.lang-switch a:hover{color:#0053ce}
.lang-switch li.current-lang a{color:#111314}
@media (max-width:1080px){
  .lang-switch ul{gap:8px}
  .lang-switch li:not(:last-child){padding-right:8px}
  .lang-switch a{font-size:11px}
}
@media (max-width:640px){
  .lang-switch ul{gap:6px}
  .lang-switch li:not(:last-child){padding-right:6px}
  .lang-switch a{font-size:10px;letter-spacing:.04em}
}

/* 语言提示条（GeoIP 建议）。只新增样式，不改动既有布局规则。
   出现在页头之上、不吸顶 —— 随页面滚走，不长期占用视觉空间。 */
.lang-hint{background:var(--paper);border-bottom:1px solid var(--line)}
.lang-hint-inner{display:flex;align-items:center;gap:16px;padding-block:14px;font-size:14px}
.lang-hint-badge{display:flex;flex-shrink:0}
.lang-hint-badge .icon{width:18px;height:18px;opacity:.7}
.lang-hint p{margin:0;color:var(--ink);line-height:1.45}
.lang-hint-action{display:inline-flex;align-items:center;gap:9px;margin-left:auto;color:var(--blue);font-weight:600;text-decoration:none;white-space:nowrap}
.lang-hint-action .icon{width:15px;height:15px}
.lang-hint-action:hover{color:var(--blue-dark)}
.lang-hint-close{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0;border-radius:2px;background:none;color:var(--muted);font-size:22px;line-height:1;cursor:pointer;transition:background .15s,color .15s}
.lang-hint-close:hover{background:#e8ebef;color:var(--ink)}
.lang-hint[hidden]{display:none}
@media (max-width:760px){
  .lang-hint-inner{flex-wrap:wrap;gap:8px 12px;padding-block:12px;font-size:13px}
  .lang-hint-badge{order:1}
  .lang-hint-close{order:2;margin-left:auto}
  .lang-hint p{order:3;flex:1 1 100%}
  .lang-hint-action{order:4;flex:1 1 100%;margin-left:0}
}

/* 媒体图集：旧站实拍照片与证书扫描件的回流载体。只新增样式，不改动既有规则。
   —— 照片统一裁切为横版卡片；证书扫描件走 .media-gallery--doc（竖版，contain 保证整张可读、不裁切）。 */
.media-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;margin:30px 0 8px}
.media-figure{margin:0;border:1px solid var(--line);background:var(--white);overflow:hidden}
.media-figure img{display:block;width:100%;height:220px;object-fit:cover;background:var(--paper)}
.media-figure figcaption{font-size:13px;line-height:1.55;color:var(--muted);padding:12px 16px;border-top:1px solid var(--line)}
.media-gallery--doc{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px}
.media-gallery--doc .media-figure img{height:auto;aspect-ratio:900/1300;object-fit:contain}
@media(max-width:1100px){
  .media-gallery{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px}
  .media-figure img{height:200px}
}
@media(max-width:780px){
  .media-gallery{grid-template-columns:1fr 1fr;gap:14px;margin:24px 0 6px}
  .media-figure img{height:150px}
  .media-gallery--doc{grid-template-columns:1fr 1fr;gap:12px}
}
@media(max-width:480px){
  .media-gallery{grid-template-columns:1fr}
  .media-figure img{height:190px}
  .media-gallery--doc{grid-template-columns:1fr 1fr}
}

/* 合金牌号速览行：给材料页与压铸页一个可被 AI 直接抽取的「牌号清单」段落。
   单独覆写，避免被 .page-content>p 的 18px 正文规则吃掉。 */
.page-content p.alloy-list,p.alloy-list{margin:18px 0 0;max-width:880px;padding:16px 22px;background:var(--paper);border-left:3px solid var(--blue);font-size:15px;line-height:1.95;letter-spacing:.01em;color:var(--navy);font-variant-numeric:tabular-nums}
@media(max-width:780px){
  .page-content p.alloy-list,p.alloy-list{padding:14px 16px;font-size:14px;line-height:1.85}
}

/* ── Header 响应式补齐：一级导航 4 项 → 7 项后的宽度预算 ───────────────
 *
 * 一级项从 4 个扩到 7 个后，header 在 1101–1479px 这一段放不下。原因不是间距，
 * 而是**品牌标语**（.brand span「Precision in Metal.」）只在 >1250px 显示，
 * 而恰好 1251–1479px 这一段容器已经从 1500px 收缩到不足 1100px。
 * 两者夹出一个死区。以下数值是用真实浏览器逐断点实测出来的（不是估算）：
 *
 *   宽度   容器   内容   溢出     宽度   容器   内容   溢出
 *   1500   1380  1380     0      1280   1160  1358   198
 *   1440   1320  1358    38      1251   1131  1358   227
 *   1366   1246  1358   112      1250   1178  1178     0
 *   1320   1200  1358   158      1101   1029  1075    46
 *
 * 结论：标语只在 ≥1480px 才装得下；1101–1479px 必须走「无标语 + 收紧」配方，
 * 并且 1180px 以下还要再压一档（1101px 那一档容器只剩 1029px）。
 * ≤1100px 仍由既有规则切到抽屉菜单，这里不动。
 * ⚠️ 上面这张表把 1480–1499 当成了「0 溢出」，其实那一段是最严重的（最大 93px）——
 *    1500px 有 1380px 容器，而 1480px 只有 1360px，表里正好跨过了塌陷点。
 *    补丁见下方「1480–1599px 的断点空隙」。
 * 验收方式：python3 /tmp/navhover/hover.py --css live --quick 1600 1599 1520 1480 1440 1366 1320 1280 1261 1260 1200 1180 1101
 */
@media(max-width:1479px){
  .brand span{display:none}
  .header-inner{width:calc(100% - 72px);gap:20px}
  .nav-list{gap:14px}
  .nav-list>li{gap:5px;font-size:13px}
  .sub-menu{min-width:240px}
  .header-quote{font-size:13px;min-height:46px;padding:12px 18px}
  .lang-switch ul{gap:8px}
  .lang-switch li:not(:last-child){padding-right:8px}
  .lang-switch a{font-size:11px}
}
/* 🔴 1480–1599px 的断点空隙（顺手修掉的既有缺陷，不是本次导航改动引入的）
 *
 * 现象：整站在 1480–1599px 出现横向滚动条，1480px 最严重。改导航前实测溢出 93px，
 *       改完（隐藏 .submenu-toggle、改用更窄的 ::after chevron）降到 30px，但仍不为 0。
 *
 * 根因是**断点两侧的水平边距走反了**：
 *   ≤1479px 走紧凑断点，.header-inner 是 calc(100% - 72px)（边距 36px，内宽更大）；
 *   ≥1480px 回到基础样式，.header-inner 是 calc(100% - 120px)（边距 60px，内宽更小）。
 *   于是从 1479 跨到 1480，**内宽不增反减 47px**（1407 → 1360），而同时 .brand span 重新出现、
 *   .nav-list 的 gap 从 14px 回到 26px、字号也变大 —— 需求涨了、预算却缩了，必然溢出。
 *   （溢出随视口增大而减小，到 1600px 自然消失，所以只在 1480–1599 这 120px 区间暴露。）
 *
 * 修法：让 1480–1599px 单纯用更小的水平边距（每侧 24px，即 calc(100% - 48px)）。
 *   实测该区间的内容需求约 1414px —— 基础样式的 120px 边距只给 1360px（差 54px），
 *   而 48px 边距给 1432px，富余 18px，够用且不必动字号与间距。
 *   1600px 起回到 120px 的宽留白（此时内宽 1480px，本就富余）。
 * 为什么不用「把紧凑断点整体提到 1599」：那会连带把 1400–1599px 的导航字号压到 13px、
 *   gap 压到 14px，改动面大得多；而这里缺的只是水平边距这几十像素。
 */
@media(min-width:1480px) and (max-width:1599px){
  .header-inner{width:calc(100% - 48px)}
}
@media(max-width:1260px){
  .header-inner{gap:16px}
  .nav-list{gap:11px}
  .nav-list>li{font-size:12.5px}
  .header-quote{font-size:12px;min-height:42px;padding:11px 14px}
}
@media(max-width:1180px){
  .header-inner{gap:12px}
  .nav-list{gap:9px}
  .nav-list>li{font-size:12px}
  .nav-list>li>a{padding:30px 0}
  .header-quote{font-size:11.5px;min-height:40px;padding:10px 12px;gap:9px}
  .header-quote .icon{width:17px;height:17px}
  .lang-switch ul{gap:6px}
  .lang-switch li:not(:last-child){padding-right:6px}
  .lang-switch a{font-size:10px;letter-spacing:.04em}
}

/* ── 移动端适配：点按目标、表单字号、抽屉菜单 ─────────────────────────
 *
 * 🔴 测量方法先说清楚，否则下面的结论会被误读（这里踩过一次大坑）：
 *    macOS 版 Chrome（新旧无头都一样）把窗口宽度**钳制到最小 500px** ——
 *    `--window-size=390` 时 window.innerWidth 报的是 500。
 *    而且移动端模拟下 innerWidth 会被内容宽度撑开（实测 clientWidth=390 时 innerWidth=477）。
 *    两件事叠加的后果：用 `scrollWidth - innerWidth` 当溢出量，在「--window-size=390」下
 *    量出来**恒为 0**，于是把「500px 渲染、还带着 87px 真实溢出」误判成「390px 全站通过」。
 *    正确姿势有两条，缺一不可：
 *      ① 用 CDP 的 Emulation.setDeviceMetricsOverride 设视口（/tmp/mobileaudit/cdp.py）；
 *      ② 溢出基准取 document.documentElement.clientWidth，不用 innerWidth。
 *    修正后重测：19 页 × 390/360 = **38 个组合全部溢出**（390px 溢 87px、360px 溢 80px），
 *    元凶只有头部一处 —— 修复见下方「移动端头部」一节。头部修掉后 300–1100px 共 20 个
 *    宽度溢出全部归零；另有 .industry-links 在 320px 的独立溢出，修复见其小节。
 *
 * 布局层面确认无问题的部分（clientWidth 基准复测）：表格都落在 .table-wrap 的
 * 横向滚动容器里 —— 54 个表格实例，越界且父容器不可滚动的为 0，即窄屏横向滚动而非撑破页面。
 *
 * 另外两类问题：
 *
 * ① 点按目标偏小。页脚链接实际高度 19px、语种切换 15×16px、页脚法务链接 18px、
 *    面包屑 15px、汉堡按钮 38px。它们偏小的共同原因是**用 margin 撑间距** ——
 *    margin 不计入点击热区。修法是把 margin 换成等量的 padding：视觉间距不变，
 *    热区变大。WCAG 2.5.8（AA）下限 24×24，苹果/谷歌建议 44×44，这里按 44 做。
 *
 * ② 输入框基类字号 14px。iOS Safari 在聚焦 <16px 的输入框时会强制放大整个视口，
 *    访客必须手动缩小才能继续填。询价表单已单独用 16px，这里把基类补齐。
 *
 * 验收：python3 /tmp/mobileaudit/audit-local.py 320 360 390   （部署前，用本地 CSS）
 *       python3 /tmp/mobileaudit/cdp.py audit 320 360 390 768 （部署后，打线上真实 URL）
 */
@media(max-width:1100px){
  /* 语种切换：横排三个 10px 小字，是移动端最小的可点元素 */
  .lang-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:44px;padding:0 2px}
  .lang-switch ul{gap:2px}
  .lang-switch li:not(:last-child){padding-right:2px}
  /* 汉堡按钮：移动端最重要的控件 */
  .menu-toggle{min-width:44px;min-height:44px;padding:10px;display:inline-flex;align-items:center;justify-content:center}
  /* 头部询价按钮 */
  .header-quote{min-height:44px}
  /* 面包屑：文字保持小号，热区靠 padding 撑开 */
  .breadcrumbs a,.breadcrumbs>span{display:inline-block;padding:8px 2px}
}
@media(max-width:780px){
  /* 抽屉菜单：字号回到可读的 15px，行高按 44px 热区撑开 */
  .nav-list>li{font-size:15px}
  .nav-list>li>a{padding:12px 0}
  .sub-menu a{font-size:14px;padding:13px 12px}
  /* 页脚主链接：margin → min-height，热区 19px → 44px，视觉节奏基本不变 */
  .footer-grid a{margin:0;padding:0;min-height:44px;display:flex;align-items:center}
  /* 页脚法务链接（Privacy / Terms / Cookies）与版权行里的链接 */
  .footer-bottom a{display:inline-flex;align-items:center;min-height:44px;padding:0 3px}
  /* 输入框统一 16px：低于此值 iOS 会在聚焦瞬间放大整个视口 */
  input:not([type="checkbox"]):not([type="file"]):not([type="hidden"]),
  select, textarea {font-size:16px}
  /* 复选框本身小，热区靠 label 承接；这里把尺寸提到 20px 更易点中 */
  input[type="checkbox"]{width:20px;height:20px}
  /* 动作链接（Explore X / Read Guide 等）：高度对齐 44px 热区。
     它们不是句中文内链接，而是独立 CTA，因此不适用 WCAG 对行内目标的豁免。 */
  .text-link{min-height:44px;padding-bottom:11px;align-items:center}
  .text-link .icon{width:18px;height:18px}
}

/* ── 移动端头部：把「Request a Quote」让给底部固定条 ─────────────────────
 *
 * 🔴 这里修的是一个真实缺陷：390px 下全站 19 个页面横向溢出 87px、360px 下溢出 80px。
 *    元凶只有头部一处 —— 一行要放下「logo + 语种切换 + Request a Quote + 汉堡」四件。
 *    实测宽度预算（390px）：
 *        容器 .header-inner = 318px
 *        brand 99 + 汉堡 44 + 语种 118 + 询价按钮 143 = 404，加 3×12 间距 = 440
 *        440 − 318 = 122px 溢出（实测 87px，因为汉堡被推出视口后 scrollWidth 只算到它的右缘）
 *    也就是说不是「挤一挤」能解决的，必须整件让位。
 *
 * 让位的是顶部询价按钮，因为它与底部固定条重复：
 *   footer.php 里已有 .mobile-quote（"Send Your Drawing"），≤780px 起 fixed 吸底、全宽蓝色。
 *   同一屏出现两个同义 CTA 既冗余又挤坏版式。
 * 🔑 因此确立不变式：**顶部询价按钮与底部固定条不同时出现** —— 两者都取 ≤780px 这个边界，
 *    不是各取各的阈值，否则会出现「561px 有顶部按钮、560px 没有」这种无从解释的跳变。
 *    询价页（.page-request-a-quote）本身隐藏底部条，那一页有表单在首屏，不缺 CTA。
 *
 * 顺带：.header-quote 原本靠 margin-left:auto 把它自己和它左边的一切推向右端；
 * 它一隐藏，语种切换就会掉到最左边。所以把 margin-left:auto 交给 .lang-switch 接管。
 *
 * 验收：python3 /tmp/mobileaudit/headertest.py 320 360 375 390 414 480 560 561 600 768 780 781 900 1100
 */
@media(max-width:780px){
  .header-quote{display:none}
  .lang-switch{margin-left:auto}
  .header-inner{gap:10px}
}

/* 320–400px（iPhone SE 一代 / 小屏安卓）：语种切换是三个横排小字，
 * 每个 36px 宽的话 3 个就占 118px，在 320px 屏上仍放不下。这里压到 28px 宽
 * —— WCAG 2.5.8（AA）下限是 24×24，28×44 仍然达标，只是低于苹果建议的 44×44。 */
@media(max-width:400px){
  .header-inner{gap:8px}
  .brand img{width:84px;height:36px}
  .lang-switch ul{gap:2px}
  .lang-switch li:not(:last-child){padding-right:4px}
  .lang-switch a{min-width:28px;padding:0}
}

/* ── 行业链接条：五列 → 两列 → 一列 ─────────────────────────────────────
 *
 * 🔴 第二个独立的移动端缺陷：320px 下 .industry-links 溢出 17px（就是上面首屏那段
 *    行业入口条，两个 <a> 越界）。根因是一个**不可断的长单词**：
 *      'Telecommunications' 在 16px Inter 下约 158px 宽，是站上最长的单个标签。
 *    网格轨道写的是 1fr，而 1fr 展开后是 minmax(auto,1fr) —— 那个 auto 的
 *    自动最小尺寸就是 min-content，于是轨道拒绝缩到单词宽度以下：
 *      320px 下容器 280，第一列被 'Telecommunications' 撑到 198，第二列 125，
 *      合计 323 > 280 → 整个网格把页面撑宽。
 *    两列能容下它的下限是 W ≥ 436px（每列内容宽 =(W−40)/2−40，需 ≥158）。
 *
 * 修法分两层，缺一不可：
 *   ① min-width:0 —— 让轨道可以缩到 min-content 以下（把 auto 最小值清零）；
 *   ② overflow-wrap —— 轨道缩了以后长单词得能断行，否则文字溢出盒子照样撑宽页面。
 *      只做 ① 会让单词冲出盒子，只做 ② 则轨道根本不会缩。
 * 再叠加 ≤440px 转单列，避免在 320–436px 之间把 'Telecommunications' 断成两截。
 * 验收：python3 /tmp/mobileaudit/headertest.py 320 360 390 414 440 441 480 768 781 900
 */
@media(max-width:780px){
  .industry-links a{min-width:0;overflow-wrap:break-word}
}
@media(max-width:440px){
  .industry-links{grid-template-columns:1fr}
}

/* ── 窄屏长单词兜底（德语复合词） ───────────────────────────────────────
 *
 * 🔴 第三个移动端缺陷，而且**只有译版页踩到**：/de/ 在 360px 下溢出 30px、320px 下溢出 70px。
 *    查法是「找自身 scrollWidth > clientWidth 的元素」—— 因为这类溢出的元素**盒子并没有越界**，
 *    是盒子里那个不可断的长单词把墨迹印到了盒子外面，所以按「元素右缘 > 视口」扫是扫不出来的。
 *    结果整页只有一个元凶：
 *        main > section > h2  "… fundiertere Fertigungsentscheidung"（Fertigungsentscheidung 23 字母）
 *        clientWidth 320 / scrollWidth 370 —— 单个词在 33px 字号下约 370px 宽，容器只有 320px。
 *    德语复合词是这个站上唯一的长单词来源：英文与韩文页实测 0 处。
 *
 * 两层处理，因为两者解决的问题不同：
 *   ① overflow-wrap:break-word 挂在 body 上（该属性可继承）—— 通用兜底。
 *      仅当某个词实在放不进容器时才生效，英文页上等于没有影响，属于零风险的保险。
 *      注意它不能单独解决问题：德语的正确断法是「Fertigungs-entscheidung」，
 *      而 break-word 会直接断成「Fertigungsentscheidu / ng」，很难看。
 *   ② hyphens:auto 只给德语（:lang(de) 匹配 html lang="de-DE" 的整棵子树）—— 断在音节边界并显示连字符。
 *      不给英文，是为了不让英文页多出一堆连字符换行（英文实测不需要）。
 *      -webkit- 前缀必须带上：iOS Safari 只认前缀版本。iOS 恰恰是这轮适配的主要目标。
 *
 * 另附两个网格的 min-width:0：见 .industry-links 一节说明的 minmax(auto,1fr) 陷阱，
 * .process-grid 与 .footer-grid 在 320px 下同样会被长词的 min-content 撑开（实测各越界 27px / 12px）。
 *
 * 验收：python3 /tmp/mobileaudit/multi-audit.py 320 360 390   （含 6 个德语页 + 6 个韩语页）
 */
@media(max-width:780px){
  body{overflow-wrap:break-word}
  :lang(de) h1,:lang(de) h2,:lang(de) h3,:lang(de) h4,
  :lang(de) p,:lang(de) li,:lang(de) figcaption{
    hyphens:auto;
    -webkit-hyphens:auto;
  }
  .process-grid article,.footer-grid>div{min-width:0}
  /* 🔴 break-word 与 anywhere 的关键区别（这里踩过一次，只靠线上复测才发现）：
   *   overflow-wrap:break-word **不改变元素的 min-content 宽度**；
   *   overflow-wrap:anywhere 会 —— 它把每个字符都算成可断点。
   * 页脚链接是 display:flex（为了让 44px 热区垂直居中而设），里面的文字是**匿名 flex 项**，
   * 而匿名 flex 项的 min-width:auto 就等于 min-content。于是：
   *   .footer-grid a 宽 128px（两列 1fr 的结果），'Oberflächenbehandlung' 需要 137px，
   *   break-word 拦不住（min-content 仍是 137），匿名项又没法写 min-width:0，
   *   结果溢出 9px → 页面级横向溢出 4px。
   * 只有 anywhere 能压住 min-content。所以这里不能沿用 body 上的 break-word，必须显式覆盖。
   * 为什么只点这几个选择器：它们都是「flex 容器 + 直接放链接文字」的形态，
   * 也就是会出现匿名 flex 项的地方；块级元素用 body 的 break-word 就够了。
   * .text-link / .sub-menu a / .nav-list>li>a 目前实测未溢出，一并纳入是防同类回归 ——
   * 德语复合词随时可能再长出来。
   */
  .footer-grid a,.text-link,.sub-menu a,.nav-list>li>a{overflow-wrap:anywhere}
}

/* ── 窄屏按钮：nowrap 的长译文会撑破网格轨道 ─────────────────────────────
 *
 * 🔴 第四个移动端缺陷，同样是「只有译版踩到」：/de/aluminium-druckguss/ 与 /de/squeeze-casting/
 *    在 320px 下各溢出 4px。定位过程值得记，因为症状和前面都不一样：
 *      · 页面 sw=324、cw=320，但**没有任何元素的右缘超过视口**（除了滚动容器内的表格）；
 *      · 逐项隐藏才定位到 main → section.page-hero，它自身 sw=324 / cw=320；
 *      · 再看子树：page-hero 的直接子项宽度全是 **304.328px**，而容器 .wrap 只有 280px。
 *    304.328 这个「不是整数、也不是容器宽」的宽度是网格被 min-content 撑开的典型特征：
 *      .page-hero-grid 的列是 1fr = minmax(auto,1fr)，auto 的下限是 min-content；
 *      而 .button 自带 **white-space:nowrap**，于是按钮的 min-content = 译文整行宽度 + 左右内边距
 *      = "Ihre Anwendung besprechen"（26 字符，15px 下约 254px）+ 25px×2 = 304px > 280px。
 *    也就是说：**一条 nowrap 的按钮文案把整个 hero 的网格轨道顶宽了**。
 *    英文页没有这个问题，因为最长按钮文案是 "Request a Quote"（约 110px）。
 *
 * 修法两层：
 *   ① 收窄内边距（25px → 16px）：320px 下按钮 min-content 降到约 286px ≤ 300px 可用宽度，
 *      文案仍保持**单行** —— 这是首选，因为单行按钮的点按体验和视觉都更好。
 *   ② white-space:normal 作为兜底：万一将来出现更长的译文，它会换行而不是溢出。
 *      它只在排不下时才真正换行，所以现有文案的渲染不变。
 * 为什么用 ≤520px 而不是 ≤320px：这是一条「轨道被撑宽」的问题，撑宽量取决于文案长度；
 * 520px 以下都留着余量，避免在 400–500px 的小屏横屏等情形下重现。
 *
 * 验收：python3 /tmp/mobileaudit/multi-audit.py --css local 320 360 390（应全 0 溢出）
 */
@media(max-width:520px){
  .button{padding-inline:16px;white-space:normal}
}

/* ── 桌面端导航：鼠标划过即下拉 ──────────────────────────────────────────
 *
 * 背景：此前子菜单只能靠「点父项右边那个 18px 的小箭头按钮」展开
 * （.submenu-toggle 的 click 事件 → 给 li 加 .expanded）。鼠标划过没有任何反应，
 * 而父项本身是链接（点它跳栏目页），所以整条导航的展开动作全压在那个小箭头上 ——
 * 命中率很低，访客的直觉是「这个导航展不开」。
 *
 * 改法：桌面端改成 hover 展开，并把「键盘焦点进入」也算作展开（:focus-within），
 * 于是纯键盘用户 Tab 到父链接时子菜单就出现、下一个 Tab 就能进子菜单里的链接
 * （display:none 的元素无法聚焦，所以必须靠 focus-within 先把菜单显示出来）。
 * **移动端（≤1100px 的抽屉菜单）完全不动** —— 触摸屏没有 hover，仍走 .submenu-toggle 点击。
 *
 * 三个必须写清楚的点：
 *  ① 判 hover:hover 而不是只判宽度。否则 iPad Pro 横屏（1366px，已进桌面布局）会命中 hover 规则 ——
 *     触摸设备上 :hover 会「粘住」（点一下就一直保持 hover 态），表现为子菜单自己弹出来关不掉。
 *     判 hover:hover 后 iPad 走点击那条路，行为正确。同理 ::after 提示箭头也只放在这个块里，
 *     免得和 .submenu-toggle 的 caret 图标同时出现（双箭头）。
 *  ② 隐藏 .submenu-toggle 之后 li 的宽度**变窄**而不是变宽：原按钮 min-width 18px + li gap 7px = 25px，
 *     新 ::after 约 13px。所以不会挤到 1101–1479px 那段本来就紧的 header 宽度预算。
 *     验证：python3 /tmp/navhover/measure.py --css live 1480 1440 1366 1320 1280 1261 1260 1200 1180 1101
 *  ③ 不用 JS 做 hover（延迟关闭、Esc 收起那一套）：.sub-menu 是 li 的后代且紧贴 top:100%，
 *     li 与子菜单之间**没有间隙**，鼠标从父项斜着划进子菜单时不会离开 li 的 hover 范围，
 *     所以纯 CSS 不会出现「斜划过去就闪没」的经典问题，也就不需要延迟关闭的定时器。
 *     JS 那套只服务触摸屏（点击展开/收起），保持现状。
 */
@media(min-width:1101px){
  /* 键盘：焦点进入该项即展开 */
  .nav-list>li.menu-item-has-children:focus-within>.sub-menu{
    display:block;
    animation:cex-submenu-in .14s ease-out both;
  }
}
@media(min-width:1101px) and (hover:hover){
  .nav-list>li.menu-item-has-children:hover>.sub-menu{
    display:block;
    animation:cex-submenu-in .14s ease-out both;
  }
  /* 有指针设备：展开交给「划过」，箭头按钮退场（display:none 同时把它移出 Tab 序） */
  .submenu-toggle{display:none}
  /* 父项右侧补一个 chevron，替代原先只有按钮才提供的「此项可展开」提示 */
  .nav-list>li.menu-item-has-children>a::after{
    content:"";
    display:inline-block;
    width:5.5px;
    height:5.5px;
    margin-left:8px;
    border-right:1.5px solid currentColor;
    border-bottom:1.5px solid currentColor;
    transform:translateY(-2.5px) rotate(45deg);
    transition:transform .18s ease;
  }
  /* 划过/聚焦时箭头翻转朝上，作为「已展开」的反馈 */
  .nav-list>li.menu-item-has-children:hover>a::after,
  .nav-list>li.menu-item-has-children:focus-within>a::after{
    transform:translateY(.5px) rotate(225deg);
  }
}
@keyframes cex-submenu-in{
  from{opacity:0;transform:translateY(-6px)}
  to{opacity:1;transform:translateY(0)}
}
@media(prefers-reduced-motion:reduce){
  .nav-list>li.menu-item-has-children:hover>.sub-menu,
  .nav-list>li.menu-item-has-children:focus-within>.sub-menu{animation:none}
  .nav-list>li.menu-item-has-children>a::after{transition:none}
}

/* cex-i18n: trust bar has two items after the founding-year item was removed */
.trust-inner{grid-template-columns:repeat(2,1fr)}

/* DE header fit (2026-10-19): German nav labels are wider than the EN/KO labels the header was sized for */
@media(min-width:1101px) and (max-width:1479px){html[lang^="de"] .header-inner{width:calc(100% - 48px);gap:10px}html[lang^="de"] .nav-list{gap:10px}html[lang^="de"] .header-quote .icon{display:none}}
@media(min-width:1101px) and (max-width:1260px){html[lang^="de"] .nav-list{gap:7px}}
@media(min-width:1101px) and (max-width:1180px){html[lang^="de"] .nav-list{gap:6px}html[lang^="de"] .nav-list>li{font-size:11.5px}}
@media(min-width:1480px){html[lang^="de"] .brand span{display:none}html[lang^="de"] .nav-list{gap:20px}}
