/* Ezy Earthworks — shared site styles */
:root{
  --plant:#D4A00A;        /* excavator yellow, from logo */
  --plant-deep:#B38705;
  --ink:#181818;          /* logo black */
  --wet:#5E5F5C;          /* wet concrete */
  --cured:#E4E2DD;        /* cured concrete */
  --white:#FFFFFF;
  --line:#E4368B;         /* string-line pink, focus only */
  --measure:66ch;
  --pad:clamp(1.25rem,4vw,3rem);
  --batter:polygon(14% 0,100% 0,100% 100%,0 100%);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;font-family:Barlow,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:1.0625rem;line-height:1.6;color:var(--ink);background:var(--white)}
img{max-width:100%;display:block}
a{color:inherit}
:focus-visible{outline:3px solid var(--line);outline-offset:3px}
h1,h2,h3{font-family:"Barlow Condensed","Arial Narrow",sans-serif;line-height:.95;margin:0;font-weight:800;letter-spacing:-.01em}
h2{font-size:clamp(2.2rem,5vw,3.6rem)}
h3{font-size:1.6rem;font-weight:700;line-height:1.05}
p{margin:0 0 1em;max-width:var(--measure)}
.wrap{max-width:1240px;margin:0 auto;padding:0 var(--pad)}
.skip{position:absolute;left:-999px}
.skip:focus{left:1rem;top:1rem;background:var(--ink);color:var(--white);padding:.5rem 1rem;z-index:99}
ul,ol{padding-left:1.2em}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;font-family:"Barlow Condensed",sans-serif;font-weight:700;font-size:1.25rem;text-decoration:none;padding:.8rem 1.4rem;border:3px solid var(--ink);border-radius:2px;cursor:pointer;line-height:1}
.btn-ink{background:var(--ink);color:var(--plant)}
.btn-ink:hover{background:#000;color:var(--white)}
.btn-ghost{background:transparent;color:var(--ink)}
.btn-ghost:hover{background:var(--ink);color:var(--white)}
.btn-plant{background:var(--plant);color:var(--ink);border-color:var(--plant)}
.btn-plant:hover{background:var(--white);border-color:var(--white)}

/* Header */
.site-head{background:var(--white);border-bottom:1px solid var(--cured);position:sticky;top:0;z-index:20}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:76px}
.logo{display:flex;align-items:center;gap:.6rem;text-decoration:none}
.logo img{height:56px;width:auto}
.nav{display:flex;align-items:center;gap:1.5rem}
.nav a{text-decoration:none;font-weight:600}
.nav>a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.nav .phone{font-family:"Barlow Condensed",sans-serif;font-weight:700;font-size:1.3rem;white-space:nowrap}
.menu-btn{display:none;background:none;border:2px solid var(--ink);padding:.45rem .7rem;font:600 1rem Barlow,sans-serif;border-radius:2px}
.has-drop{position:relative}
.has-drop>a::after{content:"▾";margin-left:.3em;font-size:.8em}
.dropdown{list-style:none;margin:0;padding:.5rem;position:absolute;top:100%;left:0;background:var(--white);border:1px solid var(--cured);box-shadow:0 8px 20px rgba(0,0,0,.08);min-width:230px;display:none;z-index:30}
.has-drop:hover .dropdown,.has-drop:focus-within .dropdown{display:block}
.dropdown li a{display:block;padding:.55rem .7rem;font-weight:500;border-radius:2px}
.dropdown li a:hover{background:var(--cured);text-decoration:none}
@media (max-width:900px){
  .menu-btn{display:block}
  .nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--white);flex-direction:column;align-items:flex-start;padding:1rem var(--pad) 1.5rem;border-bottom:1px solid var(--cured);max-height:80vh;overflow:auto}
  .nav.open{display:flex}
  .has-drop{width:100%}
  .dropdown{display:block;position:static;box-shadow:none;border:0;padding:.2rem 0 .2rem 1rem;min-width:0}
  .dropdown li a{padding:.4rem 0;font-weight:400}
}

/* Breadcrumbs */
.crumbs{background:var(--cured)}
.crumbs .wrap{padding:.7rem var(--pad);font-size:.92rem;display:flex;gap:.4rem;flex-wrap:wrap}
.crumbs a{text-decoration:none;font-weight:600}
.crumbs a:hover{text-decoration:underline}
.crumbs span[aria-hidden]{color:var(--wet)}

/* Hero (home) */
.hero{background:var(--plant);display:grid;grid-template-columns:1.1fr 1fr;min-height:min(78vh,720px)}
.hero-copy{padding:clamp(2.5rem,7vw,6rem) var(--pad);align-self:center;max-width:680px;justify-self:end}
.hero h1{font-size:clamp(3.2rem,8.2vw,6.6rem);text-transform:none}
.hero .lede{font-size:1.25rem;font-weight:500;margin:1.4rem 0 2rem;max-width:34ch}
.hero-actions{display:flex;flex-wrap:wrap;gap:.8rem}
.hero-photo{clip-path:var(--batter);background:var(--ink)}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.hero-note{margin-top:2rem;font-weight:600;font-size:.98rem}
@media (max-width:820px){
  .hero{grid-template-columns:1fr}
  .hero-copy{justify-self:start}
  .hero-photo{clip-path:polygon(0 14%,100% 0,100% 100%,0 100%);height:380px;order:2}
  .hero-photo img{object-position:center 30%}
}

/* Page hero (sub-pages) — shorter yellow banner, same batter language */
.hero-page{background:var(--plant);position:relative}
.hero-page .wrap{padding:clamp(2.4rem,6vw,4rem) var(--pad) clamp(2rem,5vw,3rem)}
.hero-page h1{font-size:clamp(2.4rem,6vw,4.4rem);max-width:24ch}
.hero-page p{font-size:1.15rem;font-weight:500;max-width:50ch;margin-top:1rem}
.hero-page .hero-actions{margin-top:1.6rem}

/* Trust strip */
.proof{background:var(--ink);color:var(--white)}
.proof ul{list-style:none;margin:0;padding:1.3rem 0;display:flex;flex-wrap:wrap;gap:.6rem 2.6rem}
.proof li{font-weight:500}
.proof b{color:var(--plant);font-family:"Barlow Condensed",sans-serif;font-size:1.35rem;margin-right:.35rem}

/* Sections */
.section{padding:clamp(4rem,9vw,7rem) 0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:2rem;flex-wrap:wrap;margin-bottom:2.8rem}
.section-head p{margin:0;max-width:44ch;color:var(--wet)}
.section-tight{padding-top:0}

/* Services list */
.services{display:grid;grid-template-columns:repeat(3,1fr);border-top:3px solid var(--ink)}
.service{padding:1.6rem 1.6rem 1.8rem 0;border-bottom:1px solid #cfccc5}
.service:nth-child(3n+2),.service:nth-child(3n+3){padding-left:1.6rem;border-left:1px solid #cfccc5}
.service p{color:var(--wet);margin:.6rem 0 1rem}
.service a{font-weight:600}
@media (max-width:860px){
  .services{grid-template-columns:1fr}
  .service,.service:nth-child(3n+2),.service:nth-child(3n+3){padding:1.4rem 0;border-left:0}
}

/* Service cards with photo (services hub) */
.service-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.service-card{border:1px solid var(--cured)}
.service-card figure{margin:0;aspect-ratio:4/3;overflow:hidden;background:var(--wet)}
.service-card img{width:100%;height:100%;object-fit:cover}
.service-card .body{padding:1.3rem 1.4rem 1.6rem}
.service-card p{color:var(--wet);margin:.5rem 0 1rem;font-size:.98rem}
.service-card a.more{font-weight:700;text-decoration:none}
.service-card a.more:hover{text-decoration:underline}
@media (max-width:960px){.service-cards{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.service-cards{grid-template-columns:1fr}}

/* Process */
.process{background:var(--cured)}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem;counter-reset:step}
.step{counter-increment:step}
.step figure{margin:0 0 1rem;aspect-ratio:3/4;overflow:hidden;background:var(--wet)}
.step img{width:100%;height:100%;object-fit:cover}
.step h3::before{content:counter(step);display:inline-grid;place-items:center;width:2rem;height:2rem;margin-right:.6rem;background:var(--plant);font-size:1.2rem;vertical-align:.12em}
.step p{color:var(--wet);margin-top:.5rem;font-size:1rem}
@media (max-width:960px){.steps{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.steps{grid-template-columns:1fr}.step figure{aspect-ratio:4/3}}

/* Projects / gallery */
.gallery{display:grid;grid-template-columns:repeat(6,1fr);grid-auto-rows:180px;gap:.8rem}
.gallery figure{margin:0;position:relative;overflow:hidden;background:var(--wet)}
.gallery img{width:100%;height:100%;object-fit:cover}
.gallery figcaption{position:absolute;left:0;bottom:0;background:var(--ink);color:var(--white);padding:.35rem .7rem;font-size:.9rem;font-weight:600}
.g1{grid-column:span 3;grid-row:span 2}
.g2,.g3{grid-column:span 3}
.g4,.g5,.g6{grid-column:span 2;grid-row:span 2}
@media (max-width:760px){
  .gallery{grid-template-columns:1fr 1fr;grid-auto-rows:200px}
  .g1,.g2,.g3,.g4,.g5,.g6{grid-column:span 1;grid-row:span 1}
  .g1{grid-column:span 2;grid-row:span 2}
}

/* Simple uniform grid gallery (projects page, service pages) */
.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.9rem}
.photo-grid figure{margin:0;position:relative;overflow:hidden;background:var(--wet);aspect-ratio:4/3}
.photo-grid img{width:100%;height:100%;object-fit:cover}
.photo-grid figcaption{position:absolute;left:0;bottom:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,.72));color:var(--white);padding:1.4rem .7rem .5rem;font-size:.9rem;font-weight:600}
@media (max-width:860px){.photo-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.photo-grid{grid-template-columns:1fr}}
.filter-tabs{list-style:none;display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 2.4rem;padding:0}
.filter-tabs a{display:inline-block;border:2px solid var(--ink);padding:.4rem .9rem;border-radius:2px;font-weight:600;text-decoration:none;font-size:.95rem}
.filter-tabs a[aria-current="true"]{background:var(--ink);color:var(--plant)}
.filter-tabs a:hover{background:var(--cured)}

/* Before / after compare */
.compare{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.compare figure{margin:0;position:relative;overflow:hidden;background:var(--wet);aspect-ratio:4/3}
.compare img{width:100%;height:100%;object-fit:cover}
.compare figcaption{position:absolute;left:.6rem;top:.6rem;font-family:"Barlow Condensed",sans-serif;font-weight:700;font-size:.95rem;letter-spacing:.04em;padding:.25rem .7rem;border-radius:2px}
.compare .before figcaption{background:var(--ink);color:var(--white)}
.compare .after figcaption{background:var(--plant);color:var(--ink)}
.compare-block{margin-bottom:2.6rem}
.compare-block h3{margin-bottom:.8rem}
.compare-block p.note{color:var(--wet);font-size:.95rem;margin-top:.7rem}
@media (max-width:600px){.compare{grid-template-columns:1fr}}

/* Area + review */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,6vw,5rem);align-items:start}
@media (max-width:820px){.split{grid-template-columns:1fr}}
.suburbs{list-style:none;padding:0;margin:1.5rem 0 0;display:flex;flex-wrap:wrap;gap:.5rem}
.suburbs li{border:2px solid var(--ink);padding:.3rem .8rem;font-weight:600;border-radius:2px}
blockquote{margin:0;border-left:8px solid var(--plant);padding:.4rem 0 .4rem 1.6rem}
blockquote p{font-family:"Barlow Condensed",sans-serif;font-size:clamp(1.8rem,3.4vw,2.5rem);font-weight:600;line-height:1.1;max-width:22ch}
blockquote footer{font-weight:600;color:var(--wet)}
.stars{color:var(--plant-deep);letter-spacing:.15em;font-size:1.2rem}

/* Google reviews badge */
.g-badge{display:inline-flex;align-items:center;gap:.6rem;text-decoration:none;background:var(--white);border:1px solid var(--cured);border-radius:4px;padding:.6rem 1rem;color:var(--ink)}
.g-badge:hover{border-color:var(--plant-deep)}
.g-badge svg{width:22px;height:22px;flex-shrink:0}
.g-badge .g-text{display:flex;flex-direction:column;line-height:1.25}
.g-badge .g-stars{color:#F2A600;font-size:.95rem;letter-spacing:.1em}
.g-badge .g-label{font-size:.82rem;font-weight:600;color:var(--wet)}
.g-badge.on-dark{background:transparent;border-color:#4a4a48}
.g-badge.on-dark .g-label{color:#c9c7c1}

/* Reviews grid */
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.review-card{border:1px solid var(--cured);padding:1.6rem}
.review-card .stars{display:block;margin-bottom:.7rem}
.review-card p{color:var(--ink);font-size:1.02rem}
.review-card footer{font-weight:700;color:var(--wet);font-size:.92rem;margin-top:.8rem}
@media (max-width:860px){.reviews-grid{grid-template-columns:1fr}}

/* FAQ */
.faq{max-width:800px}
.faq details{border-bottom:1px solid var(--cured);padding:1.1rem 0}
.faq summary{font-family:"Barlow Condensed",sans-serif;font-weight:700;font-size:1.15rem;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:baseline}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:1.4rem;color:var(--plant-deep);flex-shrink:0}
.faq details[open] summary::after{content:"–"}
.faq details p{margin-top:.8rem;color:var(--wet)}

/* Machinery / list cards */
.info-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
.info-card{border:1px solid var(--cured);padding:1.4rem}
.info-card h3{font-size:1.3rem;margin-bottom:.5rem}
.info-card p{color:var(--wet);margin:0;font-size:.96rem}
@media (max-width:860px){.info-cards{grid-template-columns:1fr}}

/* CTA band (simple, no form) used across sub-pages */
.cta-band{background:var(--ink);color:var(--white)}
.cta-band .wrap{padding:clamp(3rem,7vw,5rem) var(--pad);display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap}
.cta-band h2{color:var(--plant);font-size:clamp(1.9rem,4vw,2.8rem)}
.cta-band p{color:#c9c7c1;margin-top:.5rem}
.cta-band .actions{display:flex;gap:.8rem;flex-wrap:wrap}
.cta-band .btn-ghost{border-color:var(--white);color:var(--white)}
.cta-band .btn-ghost:hover{background:var(--white);color:var(--ink)}

/* Quote band */
.quote{background:var(--ink);color:var(--white);position:relative}
.quote::before{content:"";position:absolute;inset:0 0 auto 0;height:70px;background:var(--cured);clip-path:polygon(0 0,100% 0,100% 0,0 100%)}
.quote .wrap{position:relative;padding-top:clamp(6rem,10vw,8rem);padding-bottom:clamp(4rem,8vw,6rem)}
.quote h2{color:var(--plant)}
.quote .split p{color:#c9c7c1}
.contact-lines{margin-top:1.8rem;display:grid;gap:.4rem}
.contact-lines a{font-family:"Barlow Condensed",sans-serif;font-size:1.9rem;font-weight:700;text-decoration:none;color:var(--white)}
.contact-lines a:hover{color:var(--plant)}
form{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.field{display:grid;gap:.35rem}
.field.full{grid-column:1/-1}
label{font-weight:600;font-size:.95rem}
input,select,textarea{font:inherit;padding:.75rem .85rem;border:2px solid #4a4a48;background:#232322;color:var(--white);border-radius:2px;width:100%}
input:focus,select:focus,textarea:focus{border-color:var(--plant);outline:none}
textarea{min-height:120px;resize:vertical}
.form-note{grid-column:1/-1;font-size:.92rem;color:#a9a7a1;margin:0}
.form-status{grid-column:1/-1;margin:0;font-weight:600;color:var(--plant)}
@media (max-width:560px){form{grid-template-columns:1fr}}

/* Light quote page variant (form on white, not black band) */
.quote-page{background:var(--white);color:var(--ink)}
.quote-page::before{display:none}
.quote-page .wrap{padding-top:clamp(2.5rem,6vw,4rem)}
.quote-page h2{color:var(--ink)}
.quote-page .split p{color:var(--wet)}
.quote-page .contact-lines a{color:var(--ink)}
.quote-page .contact-lines a:hover{color:var(--plant-deep)}
.quote-page input,.quote-page select,.quote-page textarea{background:var(--white);color:var(--ink);border-color:#c9c7c1}
.quote-page input:focus,.quote-page select:focus,.quote-page textarea:focus{border-color:var(--plant-deep)}
.quote-page .form-note{color:var(--wet)}
.quote-page .form-status{color:var(--plant-deep)}

/* Footer */
.site-foot{background:#0f0f0f;color:#bdbbb5;font-size:.95rem;padding:3rem 0 6rem}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem}
.site-foot h3{color:var(--white);font-size:1.25rem;margin-bottom:.8rem}
.site-foot ul{list-style:none;padding:0;margin:0;display:grid;gap:.35rem}
.site-foot a{text-decoration:none}
.site-foot a:hover{color:var(--plant)}
.legal{border-top:1px solid #2a2a2a;margin-top:2.5rem;padding-top:1.2rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem}
@media (max-width:760px){.foot-grid{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.foot-grid{grid-template-columns:1fr}}

/* Mobile action bar */
.action-bar{display:none}
@media (max-width:760px){
  .action-bar{display:grid;grid-template-columns:1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:30;box-shadow:0 -2px 0 var(--ink)}
  .action-bar a{padding:1rem;text-align:center;font-family:"Barlow Condensed",sans-serif;font-weight:700;font-size:1.25rem;text-decoration:none}
  .action-bar .call{background:var(--ink);color:var(--plant)}
  .action-bar .q{background:var(--plant);color:var(--ink)}
  body{padding-bottom:60px}
}

/* Simple prose pages (privacy, 404) */
.prose{max-width:760px}
.prose h2{margin-top:2rem;font-size:1.7rem}
.prose h2:first-child{margin-top:0}
.prose p,.prose li{color:var(--wet)}
.prose ul{padding-left:1.4em}
.error-page{padding:clamp(5rem,12vw,9rem) 0;text-align:left}
.error-page .code{font-family:"Barlow Condensed",sans-serif;font-weight:800;font-size:clamp(4rem,14vw,9rem);color:var(--plant-deep);line-height:1}
