.dgl-language{background:#173644;color:#f4f8fa;border-bottom:1px solid #2a596f;font:13px/1.4 Arial,Helvetica,sans-serif}
.dgl-language>.wrap{display:flex;align-items:center;justify-content:flex-end;gap:5px 18px;flex-wrap:wrap;padding-top:9px;padding-bottom:9px}
.dgl-language a{display:inline-flex;padding:7px 2px;color:#fff;min-height:32px;align-items:center;border-bottom:2px solid transparent}
.dgl-language a:hover,.dgl-language a[aria-current]{border-color:#58c8ff;color:#a8e4ff}
.dgl-language-label{margin-right:auto;color:#c5d8e0;font-weight:700}
.dgl-body{background:#e7e8e9;color:#18262d;font-family:Arial,'Noto Sans',sans-serif}
.dgl-header{padding-top:22px;padding-bottom:22px;display:flex;align-items:center;gap:32px;justify-content:space-between}
.dgl-header .brand{display:block;flex:0 0 180px}.dgl-header .dehan-logo{width:180px;height:auto;mix-blend-mode:multiply}
.dgl-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 20px;font-size:13px;font-weight:600;align-items:center}
.dgl-body .hero{align-items:center;padding-top:55px;padding-bottom:65px;background:radial-gradient(ellipse at 80% 20%,#eef1f2 0%,#d5dde1 50%,#bbc6cd 100%);max-width:none;padding-left:max(40px,calc((100vw - 1240px)/2));padding-right:max(40px,calc((100vw - 1240px)/2))}
.dgl-body .hero h1{font-size:clamp(36px,4.2vw,64px);line-height:1.13;overflow-wrap:anywhere}
.dgl-body .hero p{max-width:620px;line-height:1.85}.dgl-body .hero img{height:auto;max-height:590px;object-fit:contain;mix-blend-mode:multiply;mask-image:linear-gradient(100deg,transparent,black 17%);transform:rotate(-3deg)}
.dgl-body .section{padding-top:60px;padding-bottom:60px}.dgl-body .section>p{max-width:1000px;line-height:1.9;margin-top:24px}.dgl-body .page-hero p{line-height:1.9}
.dgl-body .page-hero h1{font-size:clamp(34px,4vw,58px);overflow-wrap:anywhere;line-height:1.2}
.dgl-body h2{font-size:clamp(28px,3.2vw,45px);line-height:1.2}.dgl-body h3{line-height:1.4}
.dgl-body .product-card img{mix-blend-mode:multiply;background:#d6dcdf;object-fit:contain}.dgl-body .product-card{background:transparent}.dgl-body .card-copy h3{font-size:22px}.dgl-body .card-copy p{margin-top:16px;font-size:14px;line-height:1.8}
.dgl-body .table-scroll{overflow-x:auto}.dgl-body table{min-width:580px;font-size:14px}.dgl-body td,.dgl-body th{padding:12px;line-height:1.6}.dgl-body th{white-space:normal}
.dgl-body .dgl-factory{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center}.dgl-factory img{height:auto}.dgl-factory p{line-height:1.9;margin:24px 0}
.dgl-body .actions,.dgl-body .related-links{flex-wrap:wrap}.dgl-body .button{text-align:center;justify-content:center}.dgl-body .dcm-photo img{mask-image:none;transform:none}
.dgl-body .dgl-form{display:grid;grid-template-columns:1fr 1fr;gap:18px 26px;max-width:900px;margin-top:32px}.dgl-form label{font-size:15px;font-weight:600}.dgl-form input:not([type=checkbox]),.dgl-form textarea{display:block;width:100%;padding:13px;margin-top:7px;border:1px solid #9daeb7;border-radius:0;background:#f6f8f9;color:#18262d;font:inherit;font-size:16px;line-height:1.5}.dgl-form .wide{grid-column:1/-1}.dgl-form .consent{font-weight:400;line-height:1.8}.dgl-form [hidden]{display:none!important}
.dgl-footer{border-top:1px solid #bbc6cc;padding-top:35px;padding-bottom:35px;font-size:14px;line-height:1.9}.dgl-footer .related-links{display:flex;flex-wrap:wrap;gap:18px}.dgl-body a:focus-visible{outline:3px solid #008dd7;outline-offset:4px}
@media(max-width:800px){.dgl-header{flex-direction:column;align-items:flex-start;gap:20px}.dgl-header .brand{flex:auto}.dgl-nav{justify-content:flex-start;gap:14px 20px}.dgl-language>.wrap{justify-content:flex-start;gap:3px 14px}.dgl-language-label{width:100%;margin:0}.dgl-body .hero{grid-template-columns:1fr;padding:35px 24px;gap:24px}.dgl-body .hero img{max-height:420px}.dgl-body .dgl-factory{grid-template-columns:1fr}.dgl-body .dgl-form{grid-template-columns:1fr}.dgl-body .section{padding-top:42px;padding-bottom:42px}.dgl-body .wrap{padding-left:24px;padding-right:24px}}
/* Consistent product photography frames; retain original catalog assets. */
#home .product-grid .product-card{display:flex;flex-direction:column;overflow:hidden;background:#f0f2f3;border-color:#bbc5cb}
#home .product-grid .product-card>a:first-child{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:#dce1e5;border-bottom:1px solid #c5cdd2;isolation:isolate}
#home .product-grid .product-card>a:first-child img{position:absolute;width:100%;height:auto;max-width:none;object-fit:unset;background:transparent;mix-blend-mode:multiply;transform:none;left:0;top:0}
#home .product-grid .product-card>a:first-child img[src$="solid-carbide.webp"]{top:-85%}
#home .product-grid .product-card>a:first-child img[src$="brazed.webp"]{width:125%;top:0;left:-4%}
#home .product-grid .product-card>a:first-child img[src$="indexable.webp"]{top:-5%}
#home .product-grid .product-card>a:first-child img[src$="accessories.webp"]{width:125%;left:-12.5%;top:-5%;filter:saturate(.35)}
#home .product-grid .card-copy{display:flex;flex-direction:column;flex:1;padding:24px}
#home .product-grid .card-copy h3{min-height:2.4em;line-height:1.2}
#home .product-grid .card-copy>.text-link:last-child,#home .product-grid .card-copy>p:last-child:has(.text-link){margin-top:auto;padding-top:24px}
@media(max-width:760px){#home .product-grid .card-copy h3{min-height:0}}
/* Readable brand controls on the approved grey surfaces. */
body .button{background:#006495;color:#fff}
body .button:hover{background:#004b70;color:#fff}
body .text-link{color:#005b88}
body .rfq-band .text-link,body .quote .text-link{color:#bce6ff}
/* Reserve the original photograph's geometry before it downloads. */
img[src$="home-gun-drill-range.png"]{aspect-ratio:auto 836/842}
.dcf-hero img[src$="custom-step.webp"]{aspect-ratio:auto 560/377}
.dgl-factory img{aspect-ratio:auto 1440/960}
/* A visible keyboard target and readable mobile enquiry controls. */
#custom-selection-guide details{border-top:1px solid #aab7bf;padding:16px 0}
#custom-selection-guide summary{font-weight:700;cursor:pointer;line-height:1.6}
#custom-selection-guide details p{margin-top:14px;line-height:1.8}
#custom-selection-guide summary:focus-visible{outline:3px solid #005b88;outline-offset:4px}
form:has(input[name="action"][value="dehan_submit_rfq"]) input:not([type="hidden"]):not([type="checkbox"]),form:has(input[name="action"][value="dehan_submit_rfq"]) textarea{font-size:16px;max-width:100%}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
