/*
Theme Name: PRATAPS Civil & Asphalt Quarries
Description: Editable PRATAPS company website with the full 2026 profile project record and enquiry form.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: prataps
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');
:root{--green:#006b3c;--deep:#073d2b;--lime:#b8d432;--ink:#122019;--cream:#f4f4ee;--line:#dfe4df}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Inter,Arial,sans-serif}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:"Barlow Condensed",Arial,sans-serif;line-height:.98}h2{font-size:clamp(2.7rem,5vw,5rem);letter-spacing:-.025em}p{line-height:1.75;color:#536159}.nav-wrap{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;background:#fff;position:sticky;top:0;z-index:20;border-bottom:1px solid #e9ece9}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}.brand img{width:48px;height:48px;object-fit:contain}.brand span{display:flex;flex-direction:column}.brand b{font:800 23px/1 "Barlow Condensed";color:var(--green);letter-spacing:.04em}.brand small{font-size:10px;letter-spacing:.07em;text-transform:uppercase}.nav-wrap nav{display:flex;align-items:center;gap:28px}.nav-wrap nav a,footer a{color:inherit;text-decoration:none;font-size:13px;font-weight:600}.nav-cta{background:var(--green);color:white!important;padding:14px 19px}.menu{display:none;background:none;border:0;font-weight:700}.hero{height:calc(100vh - 84px);min-height:680px;position:relative;color:white;display:flex;align-items:center;overflow:hidden}.hero-image,.hero-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-shade{background:linear-gradient(90deg,rgba(3,30,22,.94),rgba(3,30,22,.68) 48%,rgba(3,30,22,.13))}.hero-content{position:relative;z-index:2;width:min(840px,90%);margin-left:6vw;margin-bottom:80px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.18em;color:var(--green);margin-bottom:22px}.eyebrow.light{color:var(--lime)}.hero h1{font-size:clamp(4.5rem,9.5vw,9rem);letter-spacing:-.04em;margin-bottom:24px}.hero-copy{max-width:650px;color:#dae4de;font-size:18px}.hero-actions{display:flex;gap:12px;margin-top:34px}.button{display:inline-flex;align-items:center;justify-content:center;padding:16px 22px;font-size:13px;font-weight:800;text-decoration:none;border:0;cursor:pointer}.primary{background:var(--lime);color:#173016}.ghost{border:1px solid #ffffff66;color:white}.hero-stats{position:absolute;z-index:3;bottom:0;right:0;width:67%;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;color:var(--ink)}.hero-stats div{padding:22px 30px;border-right:1px solid var(--line);display:flex;flex-direction:column}.hero-stats strong{font:700 32px "Barlow Condensed";color:var(--green)}.hero-stats span{font-size:11px;text-transform:uppercase;letter-spacing:.08em}.section{padding:120px 7vw}.intro{display:grid;grid-template-columns:1.1fr .9fr;gap:10vw}.intro>div:last-child{padding-top:40px}.intro>div:last-child p{font-size:17px}.text-link{display:inline-block;margin-top:15px;color:var(--green);font-weight:800;text-decoration:none}.dark{background:var(--deep);color:white}.section-head{display:flex;justify-content:space-between;align-items:end;gap:7vw;margin-bottom:60px}.section-head>div,.section-head>h2{max-width:760px}.section-head>p{max-width:480px}.dark p{color:#b8c7c0}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #ffffff24;border-left:1px solid #ffffff24}.service-grid article{padding:38px;border-right:1px solid #ffffff24;border-bottom:1px solid #ffffff24;min-height:270px}.service-grid span{color:var(--lime);font:700 13px Inter}.service-grid h3{font-size:30px;margin:50px 0 14px}.service-grid p{font-size:14px}.project-feature{display:grid;grid-template-columns:1.2fr .8fr;background:var(--cream);margin-bottom:18px}.project-feature img{width:100%;height:520px;object-fit:cover}.project-feature>div{padding:60px;align-self:center}.project-feature span{font-size:11px;letter-spacing:.15em;color:var(--green);font-weight:800}.project-feature h3{font-size:48px;margin:18px 0}.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}.tags b{border:1px solid #cad2ca;padding:8px 11px;font-size:11px}.project-list{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}.project-list article{padding:30px 30px 30px 0;border-bottom:1px solid var(--line);min-height:220px}.project-list span{font-size:12px;font-weight:800;color:var(--green)}.project-list h3{font-size:28px;margin:18px 0 10px}.project-list p{font-size:13px}.outline{border:1px solid var(--ink);background:white;margin-top:30px}.plant{display:grid;grid-template-columns:1fr 1fr;background:#11271e;color:white}.plant-photo img{width:100%;height:100%;object-fit:cover;min-height:720px}.plant-copy{padding:100px 7vw}.plant-copy p{color:#bdcac3}.fleet{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:40px 0}.fleet span{font-size:13px;border-bottom:1px solid #ffffff24;padding-bottom:14px}.qa{padding:22px;border-left:3px solid var(--lime);background:#ffffff0b}.qa p{font-size:12px;margin:8px 0 0}.safety{display:grid;grid-template-columns:1fr 1fr;background:var(--cream);padding-top:0;padding-bottom:0}.safety-card{padding:100px 7vw 100px 0}.safety>img{width:100%;height:100%;object-fit:cover;min-height:640px}.certs{display:grid;grid-template-columns:repeat(3,1fr);margin-top:45px}.certs div{display:flex;flex-direction:column;border-left:2px solid var(--green);padding-left:14px}.certs strong{font:700 24px "Barlow Condensed";color:var(--green)}.certs span{font-size:10px;line-height:1.4}.leaders{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.leaders article{background:var(--cream);padding:28px}.leaders article>span{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:var(--green);color:white;font:700 18px "Barlow Condensed"}.leaders h3{font-size:25px;margin:30px 0 8px}.leaders p{font-size:12px}.cta{background:var(--green);color:white;padding:85px 7vw;display:flex;justify-content:space-between;align-items:end;gap:40px}.cta h2{margin-bottom:14px}.cta p{color:#d9e7df}.cta-actions{display:flex;flex-direction:column;align-items:flex-end;gap:15px}.white{background:white;color:var(--green)}.cta-actions span{font-size:12px}footer{padding:55px 7vw 30px;background:#071c14;color:white;display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px;align-items:center}footer p{color:#9fb0a8;margin:0;text-align:center;font-size:13px}footer>div{display:flex;gap:20px;justify-content:flex-end}footer>small{grid-column:1/-1;color:#788a81;border-top:1px solid #ffffff1f;padding-top:22px}
@media(max-width:900px){.menu{display:block}.nav-wrap nav{display:none;position:absolute;top:84px;left:0;right:0;background:white;padding:25px 5vw;flex-direction:column;align-items:stretch}.nav-wrap nav.open{display:flex}.hero{min-height:760px}.hero-content{margin-bottom:130px}.hero-stats{width:100%;grid-template-columns:repeat(2,1fr)}.intro,.project-feature,.plant,.safety{grid-template-columns:1fr}.service-grid,.project-list{grid-template-columns:repeat(2,1fr)}.section-head,.cta{align-items:flex-start;flex-direction:column}.plant-photo img{min-height:430px}.safety-card{padding:80px 0}.leaders{grid-template-columns:repeat(2,1fr)}footer{grid-template-columns:1fr;text-align:center}footer .brand{justify-content:center}footer>div{justify-content:center}footer>small{grid-column:1}}
@media(max-width:560px){.section{padding:80px 6vw}.brand small{display:none}.hero{height:800px}.hero h1{font-size:4.2rem}.hero-copy{font-size:15px}.hero-actions{flex-direction:column}.hero-stats div{padding:15px}.service-grid,.project-list{grid-template-columns:1fr}.service-grid article{min-height:auto}.project-feature img{height:300px}.project-feature>div{padding:35px 24px}.plant-copy{padding:80px 6vw}.fleet{grid-template-columns:1fr}.certs{grid-template-columns:1fr;gap:25px}.leaders{grid-template-columns:1fr}.cta-actions{align-items:flex-start;width:100%}.cta-actions .button{width:100%}}

.contact-section{background:var(--green);color:white;padding:100px 7vw;display:grid;grid-template-columns:.8fr 1.2fr;gap:8vw;align-items:start}.contact-intro{position:sticky;top:120px}.contact-intro h2{margin-bottom:24px}.contact-intro>p{color:#d9e7df;max-width:560px}.contact-details{margin-top:44px;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ffffff35}.contact-details>a,.contact-details>div{display:flex;flex-direction:column;gap:8px;padding:24px 20px 0 0;color:white;text-decoration:none}.contact-details b{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--lime)}.contact-details span{font-size:14px}.contact-form{background:white;color:var(--ink);padding:46px;box-shadow:0 26px 70px #03362455}.form-head span{font-size:11px;letter-spacing:.15em;color:var(--green);font-weight:800}.form-head h3{font-size:38px;margin:12px 0 32px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid label{display:flex;flex-direction:column;gap:8px}.form-grid label.full{grid-column:1/-1}.form-grid label>span{font-size:12px;font-weight:700;color:#36453d}.form-grid input,.form-grid textarea{width:100%;border:1px solid #cad3cc;background:#fafbf9;padding:14px 15px;font:inherit;color:var(--ink);border-radius:0}.form-grid input:focus,.form-grid textarea:focus{outline:2px solid var(--lime);outline-offset:1px;border-color:var(--green)}.form-grid textarea{resize:vertical;min-height:140px}.honey{position:absolute;left:-9999px;opacity:0}.submit{margin-top:22px;background:var(--lime);color:#173016;min-width:180px}.submit:disabled{opacity:.65;cursor:wait}.form-message{font-size:13px;min-height:24px;margin-top:14px;color:#526259}.form-message.success{color:#08723f;font-weight:700}.form-message.error{color:#9b2d24}.form-message a{color:inherit;font-weight:700}
@media(max-width:900px){.contact-section{grid-template-columns:1fr;gap:50px}.contact-intro{position:static}}
@media(max-width:560px){.contact-section{padding:75px 6vw}.contact-details,.form-grid{grid-template-columns:1fr}.contact-form{padding:30px 22px}.form-grid label.full{grid-column:auto}.submit{width:100%}}

.history-heading{display:grid;grid-template-columns:150px 1fr;background:var(--deep);color:white;margin-top:42px;padding:15px 22px;font-size:11px;font-weight:800;letter-spacing:.14em}.project-history{border:1px solid var(--line);border-top:0}.project-history article{display:grid;grid-template-columns:150px 1fr;min-height:64px;border-bottom:1px solid var(--line);align-items:stretch}.project-history article:last-child{border-bottom:0}.project-history strong{padding:20px 22px;background:#eef5ef;color:var(--green);font:700 17px "Barlow Condensed"}.project-history p{margin:0;padding:18px 22px;color:#334139;font-size:14px;line-height:1.55}.project-history article:nth-child(even) p{background:#fafcf9}.project-history article:hover p{background:#f1f7e6}
@media(max-width:560px){.history-heading,.project-history article{grid-template-columns:86px 1fr}.history-heading{padding:13px 14px}.project-history strong{padding:17px 14px;font-size:15px}.project-history p{padding:15px 14px;font-size:13px}}

/* WordPress block wrappers retain the original responsive site layout. */
body{font-size:16px}body .wp-site-blocks{padding:0}figure.wp-block-image{margin:0}figure.wp-block-image img{display:block;width:100%;height:100%;object-fit:cover}figure.hero-image{position:absolute;inset:0;width:100%;height:100%}.plant-photo figure{height:100%}.safety>figure{height:100%;min-height:640px}.wp-block-group{box-sizing:border-box}.hero-stats .wp-block-group{margin:0}.wp-block-group>p:last-child{margin-bottom:0}.hero-content .hero-actions{margin-top:34px}.project-history-table{margin:42px 0 0;overflow-x:auto}.project-history-table table{width:100%;border-collapse:collapse;table-layout:auto}.project-history-table th{text-align:left;background:var(--deep);color:white;padding:18px 22px;font-size:14px}.project-history-table td{border:1px solid var(--line);padding:18px 22px;color:#334139;font-size:15px;line-height:1.55;vertical-align:top}.project-history-table td:first-child{width:150px;color:var(--green);background:#eef5ef;font-weight:700;white-space:nowrap}.project-history-table tr:nth-child(even) td:nth-child(2){background:#fafcf9}.project-history-table td:nth-child(2){min-width:210px}.hero-actions a{display:inline-flex}.nav-wrap nav a,footer a{font-size:14px}.service-grid p,.leaders p,.qa p{font-size:16px}.eyebrow,.form-grid label>span{font-size:14px}.brand small{font-size:12px}.hero-stats span,.certs span{font-size:13px}.skip-link{position:fixed;left:12px;top:-100px;background:white;color:#073d2b;padding:12px;z-index:1000}.skip-link:focus{top:12px}a:focus-visible,button:focus-visible{outline:3px solid #b8d432;outline-offset:4px}section[id]{scroll-margin-top:90px}.admin-bar .nav-wrap{top:32px}footer .brand b{color:#b8d432}
@media(max-width:900px){.project-feature figure img{height:400px}.safety>figure{min-height:0}.safety>figure img{height:480px}.plant-photo figure img{height:430px}.hero-stats{width:100%}}
@media(max-width:600px){.admin-bar .nav-wrap{top:0}.project-history-table td{padding:14px 10px;font-size:14px}.project-history-table th{padding:14px 10px}.project-history-table td:first-child{width:88px;white-space:normal}.project-feature figure img{height:300px}.hero{height:auto;min-height:850px}.hero-content{padding:70px 0 200px;margin-bottom:0}.hero-stats{left:0}.hero h1{font-size:clamp(3rem,13vw,4.2rem)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Photo-led project portfolio — 1.1 */
.portfolio{background:#f7f8f5}.portfolio-heading{align-items:flex-end;margin-bottom:48px}.portfolio-heading h2{margin-bottom:0}.portfolio-heading>p{font-size:17px;max-width:440px}.portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.portfolio-card{background:#fff;border:1px solid #dfe6df;overflow:hidden;min-width:0}.portfolio-photo{aspect-ratio:16/10;overflow:hidden}.portfolio-photo img{width:100%;height:100%!important;object-fit:cover;object-position:center 40%}.portfolio-copy{padding:34px 36px 30px}.portfolio-years{font-size:14px;font-weight:800;letter-spacing:.1em;color:#006b3c;display:inline-block;border-bottom:3px solid #b8d432;padding-bottom:8px;margin-bottom:22px}.portfolio-copy h3{font-size:clamp(2rem,3vw,3rem);margin-bottom:17px;line-height:1.06}.portfolio-copy .portfolio-strap{font-size:18px;font-weight:700;color:#19382b;margin-bottom:12px}.portfolio-copy>p{font-size:16px;line-height:1.7}.portfolio-copy .portfolio-caption{border-top:1px solid #dfe6df;padding-top:18px;margin-top:25px;color:#5f6b63;font-size:13px;line-height:1.5}.portfolio-featured{grid-column:1/-1;display:grid;grid-template-columns:1.15fr 1fr;background:#073d2b;border:0;color:#fff}.portfolio-featured .portfolio-photo{aspect-ratio:auto;min-height:430px;height:100%}.portfolio-featured .portfolio-copy{padding:48px;align-self:center}.portfolio-featured .portfolio-copy>p{color:#cfdfd5}.portfolio-featured .portfolio-copy .portfolio-years{color:#b8d432}.portfolio-featured .portfolio-copy .portfolio-strap{color:#fff}.portfolio-featured .portfolio-caption{border-color:#ffffff30}.portfolio-history{margin-top:64px;padding-top:36px;border-top:1px solid #d4ded4}.portfolio-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.timeline-item{padding-top:16px;border-top:3px solid #006b3c}.timeline-year{font-weight:800;color:#006b3c;font-size:16px}.timeline-item h3{font-size:25px;line-height:1.1}.timeline-item p{font-size:15px}.portfolio-download{margin-top:36px;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:25px 0;border-top:1px solid #d4ded4}.portfolio-download p{margin:0;font-weight:600}.portfolio-download a{color:#006b3c;font-weight:800;text-underline-offset:5px}
@media(max-width:900px){.portfolio-featured{grid-template-columns:1fr}.portfolio-featured .portfolio-photo{aspect-ratio:16/10;min-height:0}.portfolio-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-copy,.portfolio-featured .portfolio-copy{padding:28px}}
@media(max-width:600px){.portfolio-grid{grid-template-columns:1fr;gap:24px}.portfolio-timeline{grid-template-columns:1fr}.portfolio-download{align-items:flex-start;flex-direction:column}.portfolio-heading h2{font-size:2.8rem}.portfolio-copy h3{font-size:2rem}}
