/*
Theme Name: DJM Restored
Description: Recreates DJM Construction's archived website with bundled original imagery, editable pages and projects, and a guarded content importer.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 7.1.3
Requires PHP: 7.4
Author: DJM Construction
Text Domain: djm-restored
*/
:root{--blue:#004b6b;--navy:#003c56;--gray:#656565;--light:#f3f3f3}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--gray);font:16px/1.75 'Open Sans',Arial,sans-serif;background:white}h1,h2,h3,h4{font-weight:400;line-height:1.25;color:var(--blue)}h1{font-size:34px}h2{font-size:32px}h3{font-size:22px}p{margin:0 0 22px}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #db9c1d;outline-offset:4px}.wrap{width:min(1140px,calc(100% - 48px));margin:auto}.site-header{background:#fff}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:133px;gap:24px}.logo{flex-shrink:0;line-height:0}.logo img{width:177px;height:88px}.header-right{display:flex;flex-direction:column;align-items:flex-end}.contact-line{display:flex;gap:36px;margin-bottom:17px;font-size:15px}.contact-line a{color:#686868}.site-header nav ul{display:flex;gap:34px;margin:0;padding:0;list-style:none}.site-header nav a{font-size:14px;color:#474747;text-transform:uppercase;font-weight:600}.site-header nav a:hover,.site-header nav .current-menu-item a{color:var(--blue)}.menu-toggle{display:none}.hero{position:relative;height:clamp(400px,36vw,691px);isolation:isolate;overflow:hidden;background:#47626e}.hero-slides,.hero-slides:after,.hero-slides img{position:absolute;inset:0;width:100%;height:100%}.hero-slides img{object-fit:cover;opacity:0;transition:opacity 1s}.hero-slides img.active{opacity:1}.hero-slides:after{content:'';background:linear-gradient(90deg,rgba(0,22,34,.66),rgba(0,22,34,.08))}.hero-copy{position:relative;padding-top:clamp(64px,9vw,175px);color:white}.hero h1{font-size:clamp(25px,2.65vw,46px);color:white;line-height:1.28;margin:0 0 23px;text-shadow:0 2px 4px #234}.hero-copy p{max-width:630px;font-size:18px;line-height:1.6}.button{display:inline-block;border:1px solid var(--blue);background:var(--blue);color:white;text-transform:uppercase;font-size:14px;letter-spacing:.6px;padding:12px 28px;cursor:pointer;font-weight:600}.button:hover{background:var(--navy);color:white;text-decoration:none}.hero .button{border-color:white;background:white;color:var(--blue)}.outline{background:transparent;color:var(--blue)}.down{position:absolute;bottom:16px;left:calc(50% - 20px);font-size:40px;line-height:1;color:#fff;width:40px;text-align:center}.hero-pause{position:absolute;bottom:20px;right:24px;background:#003c56c9;border:1px solid #fff9;color:white;padding:4px 13px;font-size:12px;cursor:pointer}.intro{padding:58px 0 48px;text-align:center}.intro h2{margin:0 0 25px}.intro p{max-width:1000px;margin:0 auto 28px}.projects-home{padding:0 0 48px}.projects-home>h2{text-align:center;margin:0 0 30px}.project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-bottom:30px}.project-card{border:1px solid #e1e1e1;background:#fff}.project-card>a{display:block;height:100%}.project-card>a:hover{text-decoration:none}.project-card img{display:block;width:100%;aspect-ratio:381/190;object-fit:cover}.project-card a>div{padding:18px 17px 21px}.project-card h3{font-size:17px;margin:0 0 13px;min-height:42px}.project-card span{font-size:13px;text-transform:uppercase;letter-spacing:.4px}.project-card:hover{box-shadow:0 5px 18px #0001}.center{text-align:center}.services-band{background:var(--blue);padding:37px 0}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;text-align:center}.service-grid a{display:block;color:white;border-right:1px solid #ffffff50}.service-grid a:last-child{border:0}.service-grid img{height:62px;width:auto;object-fit:contain}.service-grid h3{font-size:22px;color:white;margin:16px 0 5px}.testimonials{padding:40px 0 50px;background:#f3f3f3}.testimonials h2{text-align:center}.quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px}.quote-grid figure{margin:0}.quote-grid blockquote{margin:0 0 15px;background:white;border:1px solid #e4e4e4;padding:28px;font-size:15px;line-height:1.9;min-height:230px}.quote-grid figcaption{color:var(--blue);font-size:15px}.consultation{text-align:center;padding:43px 0;background:#e9edef}.consultation h2{font-size:27px;margin:0 0 10px}.consultation p{margin-bottom:22px}.site-footer{text-align:center;padding:30px 0;font-size:13px;background:#fff;color:#777}.site-footer ul{display:flex;gap:28px;justify-content:center;padding:0;list-style:none;flex-wrap:wrap}.site-footer p{margin:7px 0}.title-bar{background:var(--blue);padding:23px 0}.title-bar h1{font-size:30px;color:#fff;margin:0}.prose{padding-top:40px;padding-bottom:45px;max-width:1000px}.prose h3{margin-top:30px}.page-content>.project-grid{margin-top:16px;margin-bottom:50px}.page-banner{display:block;width:100%;max-height:300px;object-fit:cover}.page-content>.services-band{margin-top:0}.project-detail{padding-top:42px;padding-bottom:40px}.project-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.project-photos img{width:100%;height:auto;display:block}.project-photos img:only-child{grid-column:1/-1;max-width:1100px;margin:auto}.project-description{padding:30px 0;max-width:950px}.project-description .price{font-size:22px;color:var(--blue)}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-top:35px;padding-bottom:50px}.contact-grid h2{font-size:26px}.contact-grid h3{font-size:15px;font-weight:600;margin:22px 0 5px}.contact-grid p{font-size:15px}.inquiry label{display:block;font-size:14px;margin:12px 0 5px}.inquiry label span{font-size:12px;color:#777}.inquiry input:not([type=hidden]),.inquiry textarea{width:100%;border:1px solid #ccc;background:#fafafa;padding:10px 12px;border-radius:0}.inquiry textarea{resize:vertical}.inquiry .button{margin-top:15px}.honey{position:absolute;left:-10000px;height:1px;overflow:hidden}.form-notice{padding:15px;border:1px solid #ccc;background:#f4f7f8}.skip{position:absolute;top:-100px;left:12px;z-index:100;background:#fff;padding:12px}.skip:focus{top:5px}.page-content>p{width:min(1000px,calc(100% - 48px));margin:25px auto}.page-content>h2,.page-content>h3{width:min(1000px,calc(100% - 48px));margin:30px auto 15px}.page-content:has(>.prose)>.prose p{max-width:none}body.admin-bar .site-header{position:relative}
@media(max-width:900px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-header nav ul{gap:20px}.contact-line{gap:20px;font-size:13px}.contact-grid{gap:40px}.hero-copy p{max-width:500px}}
@media(max-width:680px){.wrap{width:calc(100% - 32px)}.header-inner{min-height:103px;gap:12px}.logo img{width:133px;height:auto}.contact-line{display:block;margin-bottom:8px;font-size:11px}.contact-line a{display:block}.menu-toggle{display:block;background:none;border:1px solid #ccc;color:var(--blue);padding:3px 10px;font-size:13px}.site-header nav{display:none;position:absolute;top:100%;left:0;right:0;z-index:10;background:#fff;padding:15px 20px;box-shadow:0 6px 10px #0002}.site-header{position:relative;z-index:5}.site-header nav.open{display:block}.site-header nav ul{display:flex;flex-direction:column;gap:9px}.hero{height:440px}.hero-copy{padding-top:70px}.hero h1{font-size:27px}.hero-copy p{font-size:16px;max-width:350px}.intro{padding:38px 0}h2{font-size:27px}.project-grid{gap:13px}.project-card a>div{padding:13px}.project-card h3{font-size:15px;min-height:55px}.project-card span{font-size:11px}.service-grid{gap:10px}.service-grid img{height:42px}.service-grid h3{font-size:15px}.quote-grid,.contact-grid,.project-photos{grid-template-columns:1fr}.quote-grid blockquote{min-height:0}.contact-grid{gap:15px}.consultation h2{font-size:23px}.site-footer ul{gap:12px 20px}.project-detail{padding-top:25px}.title-bar h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-slides img{transition:none}}
/* Archived palette, centered hero, diamond rules, and service treatment. */
:root{--blue:#00486f;--navy:#003b5b}.wrap{width:min(1205px,calc(100% - 48px))}.header-inner{min-height:112px}.hero{height:clamp(440px,36vw,691px)}.hero-slides:after{background:rgba(0,0,0,.7)}.hero-copy{text-align:center;padding-top:clamp(70px,8vw,145px)}.hero h1{font-family:'Century Gothic',Futura,'Trebuchet MS',sans-serif;font-size:clamp(32px,4.17vw,80px);font-weight:400;line-height:1.12;color:#1a82bb;text-shadow:none;letter-spacing:-1.5px}.hero-copy p{max-width:100%;font-size:20px;margin:22px auto 40px}.hero .button{border:1px solid white;background:transparent;color:white;font-size:18px;padding:5px 23px;font-weight:400}.intro h2,.projects-home>h2,.testimonials h2{position:relative;font-size:clamp(32px,3.2vw,55px);font-weight:600;padding-bottom:31px;margin-bottom:30px}.intro h2:after,.projects-home>h2:after,.testimonials h2:after{content:'';position:absolute;bottom:0;left:50%;width:min(500px,80%);height:1px;background:var(--blue);transform:translateX(-50%)}.intro h2:before,.projects-home>h2:before,.testimonials h2:before{content:'';position:absolute;bottom:-7px;left:calc(50% - 7px);height:15px;width:15px;background:var(--blue);transform:rotate(45deg)}.intro p{font-size:17px;line-height:32px}.intro .outline{font-size:20px;text-transform:none;border-width:3px;padding:3px 23px}.project-card h3{text-align:center;font-size:19px;font-weight:600}.project-card span{display:block;margin:0 auto;text-align:center;border:1px solid var(--blue);width:130px;padding:3px 7px;text-transform:none;font-size:14px}.services-band{background:#fff;padding:35px 0 50px}.service-grid a{border:0}.service-grid img{background:var(--blue);border-radius:50%;width:95px;height:95px;padding:22px;object-fit:contain}.service-grid h3{color:var(--blue);font-size:22px;font-weight:600}.testimonials{background:#00486f;color:white}.testimonials h2{color:#fff}.testimonials h2:before,.testimonials h2:after{background:#fff}.quote-grid blockquote{font-style:italic;color:#5a5a5a;font-size:16px;line-height:1.7}.quote-grid figcaption{color:white}.consultation{background:#f4f5f5}.consultation h2{font-size:clamp(28px,3.3vw,50px);font-family:'Century Gothic',Futura,'Trebuchet MS',sans-serif;font-weight:400}.consultation p{color:var(--blue);font-size:20px}.site-footer nav{background:var(--blue);margin:-30px calc((min(1205px,100vw - 48px) - 100vw)/2) 25px;padding:1px 15px}.site-footer nav a{color:#fff;font-size:16px}.contact-grid .inquiry{background:var(--blue);padding:15px 28px 28px;color:white}.inquiry label span{color:#fff}.inquiry .button{background:#025a8a;border-color:#025a8a}.page-content>.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:680px){.wrap{width:calc(100% - 32px)}.hero{height:460px}.hero h1{font-size:34px;letter-spacing:-.8px}.hero-copy{padding-top:67px}.hero-copy p{font-size:16px;line-height:1.6;margin-bottom:26px}.service-grid img{width:70px;height:70px;padding:16px}.service-grid h3{font-size:15px}.page-content>.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer nav{margin-left:-16px;margin-right:-16px}.site-footer nav a{font-size:14px}}
@font-face{font-family:twcenmt;src:url('assets/twcenmt.woff2') format('woff2');font-display:swap}@font-face{font-family:myriad;src:url('assets/myriad-web-pro.woff') format('woff');font-display:swap}.hero h1,.consultation h2{font-family:twcenmt,'Trebuchet MS',sans-serif}.site-header nav a{font-family:myriad,Arial,sans-serif;font-size:17px;font-weight:400}.testimonials{background:linear-gradient(#00486fcc,#00486fcc),url('assets/testimonial_bg.webp') center/cover}.hero h1{letter-spacing:0}
.service-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px;padding-top:45px;padding-bottom:50px}.service-details img{width:100%;aspect-ratio:376/185;object-fit:cover}.service-details h2{font-size:21px;font-weight:600;color:#262626}.service-details p{font-size:16px;line-height:1.8;color:#262626}@media(max-width:900px){.service-details{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.service-details{grid-template-columns:1fr}}
