/* Shared readability and keyboard improvements. */
@media(max-width:760px){
 html body.home main#main >section.drd-home-routes[aria-label]{display:block!important;visibility:visible!important;height:auto!important;max-height:none!important;overflow:visible!important}
 body.home #main .drd-home-route-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 body.home #main .drd-home-route-grid>a{display:flex!important;grid-column:auto!important;min-width:0!important;min-height:150px!important;height:auto!important}
}

main#main form.contact-form.drd-form-premium{display:block!important;width:100%!important;max-width:850px!important;min-width:0!important;box-sizing:border-box!important}
main#main form.drd-form-premium .form-grid-two>label{min-width:0}
@media(max-width:760px){main#main form.contact-form.drd-form-premium{margin:16px 0!important;padding:20px!important;max-width:100%!important}}

.drd-footer-area-cta,.drd-footer-authority-link>a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;box-sizing:border-box}

main .application-grid>*,main .drd-contact-split>*,main .drd-trust-hero-grid>*,main .drd-form-luxe,main .drd-form-shell>*{min-width:0}
@media(max-width:760px){main .application-grid,main .drd-contact-split,main .drd-trust-hero-grid,main .application-section .container{grid-template-columns:minmax(0,1fr)!important}main .btn{max-width:100%;box-sizing:border-box;white-space:normal;text-align:center}}
.drd-service-page .service-links>a,.drd-service-page .hero-actions>a,.drd-service-page .service-faq summary{min-height:44px;box-sizing:border-box}
.drd-service-page .service-links>a{display:inline-flex;align-items:center;padding:10px 12px;margin:4px 6px 4px 0}
.drd-service-page .service-faq summary{padding:12px 0;line-height:1.4;cursor:pointer}

.drd-local-page .drd-local-luxe-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:start}
.drd-local-page .drd-local-luxe-two>*{min-width:0}
.drd-local-page .drd-local-focus-grid,.drd-local-page .drd-v3142-intel-grid,.drd-local-page .drd-v3142-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.drd-local-page .drd-local-focus-grid>a,.drd-local-page .drd-v3142-route-grid>a,.drd-local-page .drd-v3142-intel-grid>article{display:block;min-width:0;padding:24px;border:1px solid #665332;border-radius:12px;background:#0b0905;color:#f4e4be;text-decoration:none}
.drd-local-page .drd-local-focus-grid>a:hover,.drd-local-page .drd-v3142-route-grid>a:hover{border-color:#e5c578}
.drd-local-page .drd-local-focus-grid>a:focus-visible,.drd-local-page .drd-v3142-route-grid>a:focus-visible{outline:3px solid #f0cc75;outline-offset:4px}
.drd-local-page .drd-local-focus-grid h3,.drd-local-page .drd-v3142-route-grid h3,.drd-local-page .drd-v3142-intel-grid h3{font-size:23px;line-height:1.3;margin:16px 0}
.drd-local-page .drd-local-focus-grid em,.drd-local-page .drd-v3142-route-grid b{font-size:12px;letter-spacing:.05em;color:#e5c578;font-style:normal}
.drd-local-page .drd-local-standard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.drd-local-page .drd-local-standard-grid>article{min-width:0;padding:20px;border-top:1px solid #665332}
.drd-local-page .drd-local-faq details{padding:20px 0;border-bottom:1px solid #665332}
.drd-local-page .drd-local-faq summary{cursor:pointer;font-size:18px;line-height:1.4}
.drd-local-page .drd-local-faq details>p{max-width:900px;margin-top:16px}
@media(max-width:800px){.drd-local-page .drd-local-luxe-two,.drd-local-page .drd-local-focus-grid,.drd-local-page .drd-v3142-intel-grid,.drd-local-page .drd-v3142-route-grid,.drd-local-page .drd-local-standard-grid{grid-template-columns:minmax(0,1fr);gap:20px}}

.drd-premium-projects .section-head,.drd-premium-scope .section-head{display:block;margin-bottom:28px}
.drd-premium-projects .section-head>div,.drd-premium-scope .section-head>div{width:100%;max-width:none}
.drd-premium-projects .section-head h2,.drd-premium-scope .section-head h2{max-width:980px;font-size:clamp(30px,3vw,46px);line-height:1.15}
.drd-premium-projects .section-head>p,.drd-premium-scope .section-head>p{max-width:850px;margin-top:16px}
.drd-premium-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.drd-premium-project-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #665332;border-radius:12px;background:#0b0905;color:#f4e4be;text-decoration:none}
.drd-premium-project-card>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.drd-premium-project-card>div{padding:22px}
.drd-premium-project-card h3{font-size:clamp(20px,2vw,27px);line-height:1.3;margin:0 0 16px}
.drd-premium-project-card span{font-size:12px;letter-spacing:.08em;color:#e5c578}
.drd-premium-project-card:hover{border-color:#e5c578}
.drd-premium-project-card:focus-visible{outline:3px solid #f0cc75;outline-offset:4px}
.drd-premium-scope-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.drd-premium-scope-grid>article{min-width:0;padding:24px;border:1px solid #665332;border-radius:12px}
.drd-premium-scope-grid h3{font-size:21px;line-height:1.3}
.drd-premium-scope-note{max-width:900px;margin:24px 0}
.drd-premium-detail .drd-local-luxe-two>*{min-width:0}
@media(max-width:700px){.drd-premium-project-grid,.drd-premium-scope-grid{grid-template-columns:minmax(0,1fr)}.drd-premium-project-card>div,.drd-premium-scope-grid>article{padding:20px}.drd-premium-scope .btn{white-space:normal;text-align:center;max-width:100%;box-sizing:border-box}}

.drd-area-quick-section{padding:28px 0 16px}
.drd-area-quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}
.drd-area-quick-links>a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:16px 20px;border:1px solid #665332;border-radius:10px;background:#0b0905;color:#f0d28c;text-decoration:none;font-weight:700}
.drd-area-quick-links>a:hover{border-color:#f0cc75;background:#151006}
.drd-area-quick-links>a:focus-visible{outline:3px solid #f0cc75;outline-offset:3px}
@media(max-width:600px){.drd-area-quick-links{grid-template-columns:minmax(0,1fr)}.drd-area-quick-links>a{font-size:16px;min-width:0}}

/* Six homepage routes: equal cards in two rows of three on larger screens. */
@media(min-width:761px){
 body.home #main .drd-home-route-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:1fr;align-items:stretch;gap:16px!important}
 body.home #main .drd-home-route-grid>a{grid-column:auto!important;grid-row:auto!important;min-width:0;min-height:170px!important;height:100%!important;box-sizing:border-box;padding:24px 48px 24px 24px!important}
 body.home #main .drd-home-route-grid strong{font-size:clamp(22px,2vw,28px)!important;line-height:1.15!important}
 body.home #main .drd-home-route-grid span{font-size:13px!important;line-height:1.55!important}
}

/* Let dakcheck grid columns shrink below their intrinsic form width. */
.v20-page-grid>*,.drd-form-shell>*,.v20-page-grid .contact-form,.drd-form-shell .contact-form,.v20-page-grid .form-grid-two>label,.drd-form-shell .form-grid-two>label{min-width:0}
@media(max-width:820px){.v20-page-grid,.drd-form-shell{grid-template-columns:minmax(0,1fr)!important}}

/* Audit 2026-10-11: legible legal links and generous touch targets. */
.footer-bottom,.footer-bottom .container{color:#c9c3b9!important}
.footer-bottom a{color:#e3d8c2!important;text-decoration:underline!important;text-underline-offset:3px}
main :is(p,dd,li)>a:not(.btn):not([class*="button"]){text-decoration:underline;text-underline-offset:3px}
footer a:focus-visible,footer summary:focus-visible{outline:3px solid #f0cc75;outline-offset:3px}
footer .footer-grid a{display:flex;align-items:center;min-height:44px}
.footer-bottom a{display:inline-flex;align-items:center;min-height:44px;padding-inline:4px}
.drd-project-routes-v3100 nav a{display:inline-flex;align-items:center;min-height:44px}

.ba-stage{touch-action:pan-y}
.ba-range:focus-visible{outline:3px solid #f0cc75;outline-offset:4px}
.drd-mat .hero{height:auto;min-height:0;display:block;overflow:visible}
.drd-mat .hero::after{display:none}
.drd-mat .hero .wrap{position:relative;z-index:2}
main :is(h1,h2,h3,p,a,dd){overflow-wrap:anywhere}
main :is(section[id],article[id]){scroll-margin-top:110px}
.contact-form :is(input,select,textarea):focus-visible{outline:3px solid #f0cc75;outline-offset:3px}
.contact-form .form-small{font-size:13px!important;color:#c9c3b9!important;line-height:1.6}
.contact-form :is(input,textarea,select){font-size:16px}
.drd-mat-links a:focus-visible,.drd-depth-card-v2419:focus-visible{outline:3px solid #f0cc75;outline-offset:4px}
@media(max-width:820px){
 .main-nav.open{max-height:calc(100svh - 90px);overflow-y:auto;overscroll-behavior:contain}
 .main-nav>a{min-height:44px;display:flex;align-items:center}
 .drd-direct-lines a{overflow-wrap:anywhere}
}
@media(max-width:560px){
 .drd-mat .intro{gap:28px}
 .drd-mat .quote{font-size:28px}
 .drd-mat-card{padding:24px}
 .drd-mat-tags span{max-width:100%;overflow-wrap:anywhere}
}
