/*
Theme Name: Dehan Industrial
Author: Dehan
Description: Product-first gun drill website with application-led navigation.
Version: 0.2.3
Requires PHP: 8.3
Text Domain: dehan-industrial
*/
:root{--ink:#18262d;--blue:#185b85;--muted:#53636c;--line:#d8dfe2;--paper:#f0f3f4}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;color:var(--ink);font:16px/1.6 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible{outline:3px solid #ce6900;outline-offset:5px}img{display:block;width:100%;object-fit:cover}figure{margin:0}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.08}h2{font-size:clamp(34px,4.2vw,56px);letter-spacing:-.04em}h3{font-size:24px;letter-spacing:-.02em}p{color:var(--muted)}.wrap{max-width:1320px;margin:auto;padding-left:40px;padding-right:40px}.preview{background:var(--ink);color:#d9e4ea;text-align:center;padding:7px 16px;font-size:11px;letter-spacing:.09em}.header{min-height:108px;display:flex;justify-content:space-between;align-items:center;gap:30px}.brand{font-size:32px;font-weight:900;letter-spacing:.035em;line-height:1}.brand span{display:block;font-size:8px;letter-spacing:.17em;margin-top:9px;font-weight:600}.header nav{display:flex;align-items:center;gap:28px;font-size:13px;font-weight:600}.button{background:var(--blue);color:white;display:inline-flex;justify-content:space-between;align-items:center;gap:26px;min-height:52px;padding:15px 22px;font-size:13px;font-weight:700}.button:hover{background:#124562}.button.small{min-height:44px;padding:12px 18px}.button span{font-size:20px;line-height:1}.menu{display:none}.hero{display:grid;grid-template-columns:1fr 1fr;padding-top:32px;padding-bottom:58px;gap:42px;align-items:stretch}.hero-copy{padding:24px 0}.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:700;color:var(--blue);margin-bottom:23px}h1{font-size:clamp(46px,5.2vw,70px);letter-spacing:-.045em;line-height:1.01;margin-bottom:28px}h1 span{display:block;color:var(--blue)}.intro{max-width:420px;font-size:16px;line-height:1.75}.actions{display:flex;align-items:center;gap:24px;margin-top:30px}.text-link{font-size:13px;font-weight:700}.text-link span{margin-left:10px}.micro{font-size:9px;letter-spacing:.12em;margin-top:40px}.hero-image{display:flex;flex-direction:column}.hero-image img{flex:1;height:480px;min-height:0;object-position:center}.hero-image figcaption{display:flex;justify-content:space-between;gap:10px;font-size:9px;letter-spacing:.04em;padding-top:13px}.principles{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-top:24px;padding-bottom:24px;font-size:12px;font-weight:600}.section{padding-top:95px;padding-bottom:95px}.section-head{display:grid;grid-template-columns:1.25fr 1fr;gap:60px;align-items:end;margin-bottom:40px}.section-head>p{max-width:440px}.factory-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:28px}.factory-grid img{height:340px}.factory-grid figcaption{display:flex;gap:25px;padding-top:24px}.factory-grid figcaption>span{color:var(--blue);font-size:12px}.factory-grid h3{font-size:21px;margin-bottom:12px}.factory-grid p{font-size:14px}.range{background:var(--paper)}.product-list{border-top:1px solid #bdc9cf}.product-list>a{display:grid;grid-template-columns:60px 1fr 50px;align-items:center;gap:20px;padding:30px 0;border-bottom:1px solid #bdc9cf}.product-list>a:hover h3{color:var(--blue)}.number{font-size:12px;color:var(--blue)}.product-list h3{font-size:30px;margin-bottom:10px}.product-list p{font-size:14px}.arrow{font-size:30px}.custom{display:grid;grid-template-columns:1fr 1fr;gap:90px}.custom>div>p:not(.eyebrow){max-width:400px;margin-top:26px}.custom .button{margin-top:26px}.requirements>div{padding:25px 0;border-top:1px solid var(--line)}.requirements span,.resource-grid article>span{font-size:10px;color:var(--blue);letter-spacing:.12em}.requirements h3{font-size:22px;margin:15px 0}.requirements p{font-size:14px}.resources{border-top:1px solid var(--line)}.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:45px}.resource-grid article{border-top:2px solid var(--blue);padding-top:22px}.resource-grid h3{margin:20px 0;font-size:24px;line-height:1.2}.resource-grid p{font-size:14px}.resource-grid a{display:inline-block;font-size:12px;font-weight:bold;margin-top:25px;color:var(--blue)}.quote{background:var(--ink);color:#fff}.quote .section{display:grid;grid-template-columns:1.3fr 1fr;gap:80px}.quote .eyebrow{color:#9fcce4}.quote p{color:#c3d0d6;margin-top:20px;max-width:490px}.quote aside{border-left:1px solid #53636c;padding-left:35px;align-self:center}.quote aside h3{font-size:20px}.quote aside p{font-size:14px}footer{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-top:44px;padding-bottom:44px}footer p,footer>a:last-child{font-size:12px}@media(max-width:1000px){.wrap{padding-left:25px;padding-right:25px}.header nav{gap:15px}.header nav>a{font-size:11px}.hero{gap:25px}.actions{align-items:flex-start;flex-direction:column;gap:16px}.factory-grid img{height:280px}.custom{gap:40px}}@media(max-width:720px){.wrap{padding-left:22px;padding-right:22px}.header{min-height:86px;position:relative}.brand{font-size:28px}.menu{display:block;background:white;border:1px solid var(--line);padding:12px 15px;min-height:44px;color:var(--ink)}.header nav{display:none;position:absolute;top:86px;left:0;right:0;background:white;padding:22px;z-index:2;box-shadow:0 15px 20px #18262d18;align-items:stretch}.header nav.open{display:flex;flex-direction:column}.header nav>a{font-size:15px;padding:10px}.hero{grid-template-columns:1fr;padding-top:5px;padding-bottom:35px;gap:18px}.hero-copy{padding-top:16px}h1{font-size:53px}.intro{font-size:16px}.actions{flex-direction:row;align-items:center;flex-wrap:wrap;gap:20px}.micro{margin-top:26px}.hero-image img{height:320px}.hero-image figcaption{font-size:8px}.principles{display:grid;grid-template-columns:1fr 1fr;font-size:11px;gap:16px}.section{padding-top:60px;padding-bottom:60px}.section-head,.custom,.quote .section{grid-template-columns:1fr;gap:26px}.section-head{margin-bottom:30px}.factory-grid{grid-template-columns:1fr;gap:35px}.factory-grid img{height:auto;aspect-ratio:4/3}.product-list>a{grid-template-columns:25px 1fr 25px;gap:10px}.product-list h3{font-size:23px}.product-list p{font-size:13px}.resource-grid{grid-template-columns:1fr;gap:32px;margin-top:30px}.quote aside{padding-left:22px;margin-top:12px}footer{flex-wrap:wrap}footer p{width:100%;order:3}.preview{font-size:8px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.dehan-rfq input:not([type=checkbox]),.dehan-rfq textarea{display:block;width:100%;max-width:100%;min-height:44px;border:1px solid #8da2ac;border-radius:3px;padding:12px;font:inherit;color:#18262d;background:#fff}.dehan-rfq input[type=checkbox]{width:20px;height:20px;vertical-align:middle}.dehan-rfq label{font-size:14px}.dehan-rfq a{text-decoration:underline}.dehan-rfq button{border:0;cursor:pointer}.dehan-rfq input:focus-visible,.dehan-rfq textarea:focus-visible{outline:3px solid #eaa55f;outline-offset:3px}

.skip-link{position:absolute;left:20px;top:-100px;background:#fff;padding:12px;z-index:100}.skip-link:focus{top:10px}.entry-content{max-width:860px;margin:auto}.entry-content p{margin:1em 0}.entry-content h2,.entry-content h3{margin:1.2em 0 .6em}.entry-content img{height:auto}.entry-content a{text-decoration:underline;color:var(--blue)}.entry-content table{display:block;overflow-x:auto;max-width:100%}.entry-content li{margin:.5em 0}.header nav>ul{display:contents;list-style:none}.header nav li{list-style:none}.header nav .sub-menu{position:absolute;background:white;padding:20px;display:none;z-index:5}.header nav li:hover>.sub-menu,.header nav li:focus-within>.sub-menu{display:block}

/* Product-first redesign */
.header{max-width:1480px}.header nav{gap:18px}.header nav>ul{display:flex;align-items:center;gap:20px;padding:0;margin:0}.header nav li{position:relative}.header nav .sub-menu{min-width:230px;box-shadow:0 10px 30px #18262d20;list-style:none;margin:0;top:100%;left:0}.header nav .sub-menu a{display:block;padding:10px 0}.submenu-toggle{border:0;background:none;padding:8px;cursor:pointer;color:inherit}.header nav li.expanded>.sub-menu{display:block}.hero{align-items:center;padding-top:45px;padding-bottom:45px}.hero h1{font-size:clamp(40px,4.4vw,64px)}.range-line{font-size:13px;font-weight:bold;color:var(--blue);margin:0 0 22px}.intro{max-width:620px}.product-hero{background:#f4f5f6;overflow:hidden}.product-hero img{width:100%;height:420px;object-fit:contain}.product-hero figcaption{padding:14px 20px;font-size:11px;color:var(--muted)}.section{padding-top:64px;padding-bottom:64px;border-top:1px solid var(--line)}.section>h2{max-width:900px;margin-bottom:30px;font-size:clamp(30px,3.2vw,45px)}.section>p{max-width:900px;margin:18px 0}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.product-card{border:1px solid var(--line);background:white}.product-card>a{display:block}.product-card img{height:215px;object-fit:contain;background:#f5f6f7}.card-copy{padding:22px}.card-copy h3{font-size:23px;line-height:1.2;margin-bottom:15px}.card-copy p,.card-copy dd{font-size:13px}.card-copy dl{margin:18px 0}.card-copy dt{font-size:11px;text-transform:uppercase;font-weight:bold;margin-top:14px}.card-copy dd{margin:5px 0;color:var(--muted)}.text-link{display:inline-block;color:var(--blue)}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:30px 0}.info-grid article{border-top:3px solid var(--blue);padding:22px 0}.info-grid h3{font-size:23px;line-height:1.2;margin-bottom:16px}.quality-layout{display:grid;grid-template-columns:1.25fr 1fr;gap:40px;align-items:center}.quality-layout .info-grid{grid-template-columns:1fr;gap:0}.quality-layout .info-grid article{padding:15px 0;border-top:1px solid var(--line)}.quality-layout img{height:auto;max-height:520px;object-fit:cover}.quality-layout figcaption{font-size:12px;margin-top:12px}.rfq-band{background:var(--ink);padding:65px 0;color:white}.rfq-band>.wrap{display:flex;align-items:center;justify-content:space-between;gap:35px}.rfq-band h2{font-size:clamp(30px,3.5vw,48px)}.rfq-band p{color:#ccdbe3;margin:18px 0}.rfq-band .eyebrow{color:#a7d7f0}.rfq-band .button{flex-shrink:0}.page-hero{padding-top:65px;padding-bottom:45px;max-width:1100px}.page-hero h1{font-size:clamp(40px,5vw,65px)}.category-intro{padding:15px 0}.category-intro h1{font-size:clamp(38px,4vw,58px)}.breadcrumbs{padding-top:25px;font-size:13px;color:var(--muted)}.related-links,.contact-options{display:flex;flex-wrap:wrap;gap:24px;margin:25px 0}.checklist{padding-left:24px;color:var(--muted)}.checklist li{margin:15px 0}.table-scroll{overflow-x:auto;margin:25px 0}table{border-collapse:collapse;width:100%;text-align:left}th,td{padding:16px;border:1px solid var(--line)}th{background:var(--paper)}caption{text-align:left;font-weight:bold;margin-bottom:15px}.site-footer p{margin-top:15px}.site-footer a:hover,.text-link:hover{text-decoration:underline}
@media(max-width:1180px){.header{flex-wrap:wrap;padding-top:24px;padding-bottom:24px}.header nav{width:100%;justify-content:space-between}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.header{flex-wrap:nowrap;min-height:86px;padding-top:18px;padding-bottom:18px}.menu{display:block;background:white;border:1px solid var(--line);padding:12px 15px;min-height:44px}.header nav{display:none;position:absolute;top:86px;left:0;right:0;background:white;padding:22px;z-index:10;box-shadow:0 15px 20px #18262d18}.header{position:relative}.header nav.open{display:flex;flex-direction:column;align-items:stretch}.header nav>ul{display:block}.header nav li>a{display:inline-block;padding:12px 0;font-size:15px}.header nav .sub-menu{position:static;box-shadow:none;min-width:0;padding:0 0 0 20px}.header nav li:hover>.sub-menu,.header nav li:focus-within>.sub-menu{display:none}.header nav li.expanded>.sub-menu{display:block}.hero{grid-template-columns:1fr;gap:20px;padding-top:24px}.hero h1{font-size:44px}.product-hero img{height:290px}.info-grid,.quality-layout{grid-template-columns:1fr}.section{padding-top:45px;padding-bottom:45px}.rfq-band>.wrap{align-items:flex-start;flex-direction:column}.page-hero{padding-top:35px}.product-grid{gap:15px}.card-copy{padding:18px}.card-copy h3{font-size:21px}.product-card img{height:180px}.site-footer{align-items:flex-start}.site-footer p{width:auto}.info-grid{gap:10px}}
@media(max-width:500px){.product-grid{grid-template-columns:1fr}.product-card img{height:245px}.hero h1{font-size:40px}.button{gap:14px}.contact-options .button{font-size:12px;overflow-wrap:anywhere}h1{overflow-wrap:break-word}}

/* Dehan supplied logo: original JPEG; sampled brand blue #008DD7. */
:root{--brand-blue:#008dd7;--blue:#0076b5;--paper:#eef7fc;--line:#d4e5ef}
h1 span,.eyebrow{color:var(--brand-blue)}
.button{background:var(--brand-blue);color:#102832}
.button:hover{background:#0076b5;color:#fff}
.text-link{color:#0076b5}
.brand{display:inline-block;flex-shrink:0;line-height:0}
.brand .dehan-logo{width:220px;height:auto;object-fit:contain}
.site-footer .brand .dehan-logo{width:210px}
.header{min-height:120px}
.rfq-band{background:#10364b}
@media(max-width:760px){.header{min-height:96px;padding-top:8px;padding-bottom:8px}.brand .dehan-logo{width:176px}.header nav{top:96px}.site-footer .brand .dehan-logo{width:185px}}

/* Neutral grey site surfaces, retaining Dehan blue accents. */
:root{--paper:#dfe2e4;--line:#cbd0d3;--muted:#4e5c65}
body{background:#e7e8e9}
.header,.site-footer{background:transparent}
.brand .dehan-logo{mix-blend-mode:multiply}
.product-card,.dcf-content .dcf-specials article,table{background:#fff}
.product-hero,.dcf-content .dcf-hero figure{background:#f5f5f5}
.rfq-band{background:#293239}
.eyebrow{color:#0076b5}
