/* Prime Excavation — generated by tools/build-preview.mjs --production.
   Edit the builder, not this file. */
:root{
  --navy:#15344F;          /* body text — 11.9:1 on white, warmer than black */
  --navy-soft:#53708C;     /* secondary text — 4.7:1 */
  --blue:#0F6FA8;          /* readable brand blue — 5.2:1 */
  --blue-br:#1689C9;       /* button / gradient top */
  --cyan:#45C3EF;          /* logo cyan — FILL ONLY, 1.71:1 on white */
  --panel:#EEF5FB;         /* pale section panel */
  --panel-2:#F7FAFD;
  --edge:#C9D9EA;          /* hairline inset border */
  --white:#fff;
  --r-s:10px; --r-m:16px; --r-l:22px; --r-xl:28px; --pill:999px;
  --sh-s:0 1px 2px rgba(21,52,79,.07), 0 4px 14px rgba(21,52,79,.05);
  --sh-m:0 2px 6px rgba(21,52,79,.07), 0 14px 38px rgba(21,52,79,.10);
  --w:1280px;
}
*{margin:0;padding:0;box-sizing:border-box}
body{background:var(--white);color:var(--navy);font-family:Manrope,system-ui,sans-serif;
  font-size:16.5px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
/* prepare-site.mjs wraps every <img> in <picture class="responsive-picture">
   for the AVIF/srcset variants. That wrapper must be transparent to layout or
   it becomes a box between the container and the image, which kills
   aspect-ratio and object-fit on the child. base.css carries this rule, but the
   homepage does not load base.css — so it has to live here too. */
.responsive-picture{display:contents}

.wrap{max-width:var(--w);margin-inline:auto;padding-inline:36px}
h1,h2,h3{font-weight:800;letter-spacing:-.028em;line-height:1.08}
.hl{color:var(--blue)}

/* ---------- nav ---------- */
.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.88);backdrop-filter:blur(12px);border-bottom:1px solid rgba(201,217,234,.6)}
.nav-in{display:flex;align-items:center;justify-content:space-between;height:84px;gap:30px}
.nav-in img{height:40px;width:auto}
.nav-links{display:flex;gap:30px;font-size:15px;font-weight:600;color:var(--navy-soft)}
.nav-links a:hover{color:var(--blue)}
.btn svg{width:18px;height:18px;flex:none}
.btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;border-radius:var(--pill);
  padding:13px 24px;font-size:15.5px;transition:transform .15s,box-shadow .15s}
.btn-p{background:linear-gradient(180deg,var(--blue-br),var(--blue));color:#fff;box-shadow:var(--sh-s)}
.btn-p:hover{transform:translateY(-1px);box-shadow:var(--sh-m)}
.btn-g{background:#fff;color:var(--navy);box-shadow:inset 0 0 0 1px var(--edge)}

/* ---------- hero ---------- */
.hero{padding:26px 0 0}
.hero-stage{position:relative;border-radius:var(--r-xl);overflow:hidden;min-height:560px;
  box-shadow:var(--sh-m)}
/* Descendant, not child. prepare-site wraps images in <picture>, and although
   display:contents takes that wrapper out of the layout tree it is still in the
   DOM — so a child combinator silently stops matching. That is what left the hero
   image at object-fit:fill, sized to its own intrinsics instead of the stage. */
.hero-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-veil{position:absolute;inset:0;background:linear-gradient(100deg,rgba(10,32,52,.88) 0%,rgba(10,32,52,.62) 42%,rgba(10,32,52,.12) 78%)}
.hero-copy{position:relative;padding:72px 56px;max-width:62%;color:#fff}
.hero-copy h1{font-size:54px;color:#fff;margin-bottom:20px}
.hero-copy h1 em{font-style:normal;color:var(--cyan)}
.hero-copy p{font-size:19px;line-height:1.55;color:rgba(255,255,255,.88);max-width:46ch}

/* floating quote card */
.quote-card{position:absolute;right:38px;top:54px;width:330px;background:rgba(255,255,255,.97);
  border-radius:var(--r-l);padding:28px;box-shadow:var(--sh-m);backdrop-filter:blur(8px)}
.open-now{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--navy-soft);margin-bottom:14px}
.dot{width:9px;height:9px;border-radius:50%;background:#22A95B}
.quote-card h2{font-size:25px;margin-bottom:10px}
.quote-card p{font-size:15px;color:var(--navy-soft);margin-bottom:20px}
.quote-card .btn{width:100%;justify-content:center;font-size:17px}

/* info strip overlapping the hero */
.strip{position:relative;margin:-54px 56px 0;background:#fff;border-radius:var(--r-l);
  box-shadow:var(--sh-m);display:grid;grid-template-columns:repeat(4,1fr);z-index:2}
.strip div{padding:22px 26px;border-right:1px solid var(--edge)}
.strip div:last-child{border-right:none}
.strip .k{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:var(--blue);margin-bottom:7px}
.strip .k svg{width:17px;height:17px;flex:none}
.strip .v{font-size:15.5px;font-weight:600;line-height:1.35}
.strip .v small{display:block;font-weight:500;color:var(--navy-soft);font-size:14px}

/* ---------- trust ---------- */
.trust{padding:70px 0 10px}
.trust-in{display:grid;grid-template-columns:repeat(3,1fr);gap:34px}
.trust .t{display:flex;gap:16px}
.ico{width:48px;height:48px;border-radius:var(--r-s);flex:none;display:grid;place-items:center;
  background:linear-gradient(180deg,var(--blue-br),var(--blue));color:#fff;box-shadow:var(--sh-s)}
.ico svg{width:23px;height:23px}
.trust h3{font-size:18px;margin-bottom:5px}
.trust p{font-size:15.5px;color:var(--navy-soft);line-height:1.55}

/* ---------- panel sections ---------- */
.panel{background:var(--panel);border-radius:var(--r-xl);padding:60px 46px;margin:64px 0}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:40px;flex-wrap:wrap}
.sec-head h2{font-size:42px;max-width:18ch}
.sec-head p.sub{font-size:17px;color:var(--navy-soft);max-width:44ch;margin-top:14px}

/* review badges */
.badges{display:flex;gap:12px;flex-wrap:wrap}
.badge{background:#fff;border-radius:var(--r-m);padding:14px 18px;box-shadow:var(--sh-s);display:flex;gap:11px;align-items:center}
.badge .big{font-size:21px;font-weight:800;line-height:1}
.badge small{display:block;font-size:12.5px;color:var(--navy-soft);margin-top:3px}

/* ---------- capability cards ---------- */
.svcs{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.svc{background:#fff;border-radius:var(--r-l);overflow:hidden;box-shadow:var(--sh-s);
  display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s}
.svc:hover{transform:translateY(-3px);box-shadow:var(--sh-m)}
.svc-img{padding:12px 12px 0}
/* height:auto is load-bearing. The width/height HTML attributes (added by
   fix-image-dims for CLS) are presentational hints; without height:auto the
   element gets a definite height from the attribute, and a box with both
   dimensions definite ignores aspect-ratio entirely. That rendered the
   capability cards as 333x724 portraits instead of 16:10. */
.svc-img img{border-radius:var(--r-m);aspect-ratio:16/10;object-fit:cover;width:100%;height:auto}
.svc-body{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}
.svc-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
.pills{display:flex;gap:6px;flex-wrap:wrap}
.pill{font-size:12.5px;font-weight:600;color:var(--blue);background:var(--panel);
  border-radius:var(--pill);padding:5px 11px;box-shadow:inset 0 0 0 1px var(--edge)}
.svc-n{font-size:28px;font-weight:800;color:#CBDCEC;line-height:1}
.svc h3{font-size:21px;margin-bottom:9px}
.svc p{font-size:15px;color:var(--navy-soft);line-height:1.6;flex:1}
.svc-foot{display:flex;justify-content:space-between;align-items:center;margin-top:18px;
  padding-top:15px;border-top:1px solid var(--edge);font-weight:700;font-size:15px}
.arrow{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(180deg,var(--blue-br),var(--blue));color:#fff;flex:none}
.arrow svg{width:16px;height:16px}

/* ---------- plant ---------- */
.plant-wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}
.pg{background:#fff;border-radius:var(--r-l);padding:24px;box-shadow:var(--sh-s);display:flex;flex-direction:column}
.pg-img{position:relative;margin:-24px -24px 18px;border-radius:var(--r-l) var(--r-l) 0 0;
  overflow:hidden;aspect-ratio:16/8}
.pg-img img{width:100%;height:100%;object-fit:cover}
.pg-ico{position:absolute;left:14px;bottom:14px;width:40px;height:40px;border-radius:11px;
  background:rgba(255,255,255,.94);color:var(--blue);display:grid;place-items:center;box-shadow:var(--sh-s)}
.pg-ico svg{width:22px;height:22px}
.pg-head{border-bottom:1px solid var(--edge);padding-bottom:12px;margin-bottom:6px}
.pg-head h3{font-size:19px}
.pg-head p{font-size:14px;color:var(--navy-soft);margin-top:4px}
.pg-more{font-size:12.5px;font-weight:600;color:var(--blue);margin:10px 0 2px}
/* Show three rows, scroll for the rest. The Excavators group runs six rows
   against Haulage's three, so uncapped the three cards were badly ragged.
   --rows is the knob; the fade at the bottom is the affordance that there
   is more below. */
.pg-list{
  list-style:none;--rows:3;
  max-height:calc(var(--rows) * 76px);   /* measured row height, so a 3-item list does not scroll */
  overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  mask-image:linear-gradient(180deg,#000 calc(100% - 26px),transparent 100%);
  -webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 26px),transparent 100%);
  scrollbar-width:thin;scrollbar-color:var(--edge) transparent;
}
/* no fade once you have reached the end, and none when nothing overflows */
.pg-list:not(:hover){scrollbar-color:transparent transparent}
.pg-list::-webkit-scrollbar{width:5px}
.pg-list::-webkit-scrollbar-thumb{background:var(--edge);border-radius:99px}
.pg-list::-webkit-scrollbar-track{background:transparent}
.pg-list li{display:grid;grid-template-columns:40px 1fr;gap:4px 10px;padding:12px 0;border-bottom:1px solid rgba(201,217,234,.55)}
.pg-list li:last-child{border-bottom:none}
.pg-list .q{font-size:17px;font-weight:800;color:var(--blue)}
.pg-list .q i{font-style:normal;font-size:12px;opacity:.5;margin-left:1px}
.pg-list .m{font-size:15.5px;font-weight:500;color:var(--navy-soft)}
.pg-list .m b{color:var(--navy);font-weight:700}
.pg-list .t{grid-column:2;font-size:12.5px;font-weight:600;color:var(--blue);opacity:.8}
.attach{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:26px}
.attach .lab{font-size:14px;font-weight:700}

/* ---------- operator ---------- */
.op{display:grid;grid-template-columns:.8fr 1.2fr;gap:52px;align-items:center}
.op-img{border-radius:var(--r-l);overflow:hidden;aspect-ratio:4/5;box-shadow:var(--sh-m)}
.op-img img{width:100%;height:100%;object-fit:cover}
.op h2{font-size:40px;margin-bottom:18px}
.op p{font-size:17px;color:var(--navy-soft);margin-bottom:14px;max-width:54ch}
.op p b{color:var(--navy);font-weight:700}
.op-quote{background:var(--panel);border-radius:var(--r-m);padding:20px 24px;margin-top:22px;
  font-size:18px;font-weight:600;color:var(--navy);box-shadow:inset 0 0 0 1px var(--edge);max-width:46ch}

/* ==========================================================================
   iOS / mobile
   Tested on iPhone SE (375), 14/15/16 (390), 15 Pro (393) and Pro Max (430).
   Notes that matter on iPhone specifically:
   - 100svh, never 100vh: Safari's collapsing toolbar makes vh overshoot.
   - env(safe-area-inset-*) for the notch and the home indicator.
   - inputs at 16px minimum or Safari zooms the page on focus.
   - -webkit-backdrop-filter, or the sticky nav is opaque on Safari.
   - tap targets at 44px, per Apple's HIG.
   ========================================================================== */
*{-webkit-tap-highlight-color:rgba(15,111,168,.18)}
body{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.nav{-webkit-backdrop-filter:blur(12px);
  padding-top:env(safe-area-inset-top);
  padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
.quote-card{-webkit-backdrop-filter:blur(8px)}

@media(max-width:1100px){
  .wrap{padding-inline:26px}
  .svcs{grid-template-columns:repeat(2,1fr)}
  .plant-wrap{grid-template-columns:repeat(2,1fr)}
  .hero-copy{max-width:72%}
}

@media(max-width:860px){
  :root{--r-xl:20px;--r-l:16px}
  .wrap{padding-inline:18px}

  /* nav: logo + call button only, links move to the strip/footer */
  .nav-in{height:66px;gap:12px}
  .nav-in img{height:32px}
  .nav-links{display:none}
  .btn{padding:12px 18px;font-size:15px;min-height:44px}

  /* hero stacks; the quote card sits under the image, not over it */
  .hero{padding-top:14px}
  .hero-stage{min-height:0;border-radius:var(--r-xl)}
  .hero-stage img{position:relative;height:300px}
  /* The quote card is a child of .hero-stage, so an absolutely positioned
     .hero-copy anchored to the stage bottom ends up behind it. On mobile the
     copy becomes a solid navy block directly under the photo — which also
     reads better than white text over a busy image at this size. */
  .hero-veil{display:none}
  .hero-copy{position:static;max-width:none;padding:20px;background:var(--navy)}
  .hero-copy h1{font-size:30px;line-height:1.1;margin-bottom:10px}
  .hero-copy p{font-size:15.5px;line-height:1.5}

  .quote-card{position:static;width:auto;margin:12px 0 0;padding:20px;box-shadow:var(--sh-s)}
  .quote-card h2{font-size:22px}
  .quote-card .btn{font-size:17px;min-height:50px}

  /* info strip: 2x2, no negative overlap on a small screen */
  .strip{margin:14px 0 0;grid-template-columns:1fr 1fr}
  .strip div{padding:16px 16px;border-right:1px solid var(--edge);border-bottom:1px solid var(--edge)}
  .strip div:nth-child(2n){border-right:none}
  .strip div:nth-last-child(-n+2){border-bottom:none}
  .strip .v{font-size:14.5px}
  .strip .v small{font-size:13px}

  .trust{padding:34px 0 0}
  .trust-in{grid-template-columns:1fr;gap:18px}
  .ico{width:42px;height:42px}

  .panel{padding:30px 18px;margin:34px 0}
  .sec-head{margin-bottom:22px;gap:16px}
  .sec-head h2{font-size:27px;max-width:none}
  .sec-head p.sub{font-size:15.5px;margin-top:10px}
  .badges{gap:8px}
  .badge{padding:11px 14px}
  .badge .big{font-size:18px}

  .svcs{grid-template-columns:1fr;gap:14px}
  .svc h3{font-size:19px}
  .svc p{font-size:14.5px}
  .svc-foot{min-height:44px}

  .plant-wrap{grid-template-columns:1fr;gap:14px}
  .pg{padding:20px}
  .pg-img{margin:-20px -20px 14px;aspect-ratio:16/7}
  .pg-list li{padding:11px 0}
  .pg-list .m{font-size:15px}

  .op{grid-template-columns:1fr;gap:22px}
  .op-img{aspect-ratio:4/3}
  .op h2{font-size:28px}
  .op p{font-size:15.5px}
  .op-quote{font-size:16.5px;padding:16px 18px}

  .attach{margin-top:18px}
}

@media(max-width:400px){
  .hero-copy h1{font-size:26px}
  .strip{grid-template-columns:1fr}
  .strip div{border-right:none}
  .strip div:last-child{border-bottom:none}
  .sec-head h2{font-size:24px}
}



/* ---------- FAQ ---------- */
.faqs{background:#fff;border-radius:var(--r-l);box-shadow:var(--sh-s);overflow:hidden}
.faq{border-bottom:1px solid var(--edge)}
.faq:last-child{border-bottom:none}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:18px;
  padding:19px 24px;cursor:pointer;list-style:none;font-weight:700;font-size:17px;min-height:44px}
.faq summary::-webkit-details-marker{display:none}
.faq summary:hover{color:var(--blue)}
.chev{width:11px;height:11px;border-right:2.2px solid var(--blue);border-bottom:2.2px solid var(--blue);
  transform:rotate(45deg) translate(-2px,-2px);flex:none;transition:transform .2s}
.faq[open] .chev{transform:rotate(225deg) translate(-2px,-2px)}
.faq-a{padding:0 24px 20px;color:var(--navy-soft);font-size:15.5px;line-height:1.65;max-width:72ch}

/* ---------- footer ---------- */
.foot{background:var(--navy);color:#fff;padding:52px 0 26px;margin-top:70px}
.foot-in{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:40px}
.foot-brand img{height:40px;width:auto;filter:brightness(0) invert(1);margin-bottom:16px}
.foot-brand p{font-size:15px;color:rgba(255,255,255,.7);line-height:1.6;max-width:42ch}
.socials{display:flex;gap:10px;margin-top:18px}
.socials a{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;
  background:rgba(255,255,255,.1);color:#fff;transition:background .15s}
.socials a:hover{background:var(--blue)}
.socials svg{width:19px;height:19px}
.foot-col h4{font-size:13px;letter-spacing:.09em;text-transform:uppercase;color:var(--cyan);margin-bottom:14px}
.foot-col a,.foot-col span{display:block;color:rgba(255,255,255,.72);font-size:15px;padding:5px 0}
.foot-col a:hover{color:#fff}
.foot-base{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin-top:38px;padding-top:20px;border-top:1px solid rgba(255,255,255,.13);
  font-size:13.5px;color:rgba(255,255,255,.55)}
.foot-base a{color:var(--cyan)}

/* ---------- Ask Blake ---------- */
.ask{position:fixed;right:20px;bottom:20px;z-index:80;display:flex;flex-direction:column;
  align-items:flex-end;gap:12px;padding-bottom:env(safe-area-inset-bottom)}
.ask-btn{display:inline-flex;align-items:center;gap:10px;border:none;cursor:pointer;
  background:linear-gradient(180deg,var(--blue-br),var(--blue));color:#fff;
  font-family:inherit;font-weight:700;font-size:16px;padding:15px 24px;min-height:54px;
  border-radius:var(--pill);box-shadow:0 6px 24px rgba(15,111,168,.42);
  transition:transform .15s,box-shadow .15s}
.ask-btn:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(15,111,168,.5)}
.ask-btn svg{width:19px;height:19px}
.ask.open .ask-btn{background:var(--navy)}
.ask-sheet{width:300px;background:#fff;border-radius:var(--r-l);padding:18px;
  box-shadow:0 10px 44px rgba(21,52,79,.26);box-shadow:var(--sh-m)}
.ask-title{font-weight:800;font-size:19px;letter-spacing:-.02em}
.ask-sub{font-size:14px;color:var(--navy-soft);margin:4px 0 14px}
.ask-opt{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:var(--r-m);
  min-height:56px;margin-bottom:8px;box-shadow:inset 0 0 0 1px var(--edge);transition:background .15s}
.ask-opt:hover{background:var(--panel)}
.ask-opt.primary{background:linear-gradient(180deg,var(--blue-br),var(--blue));color:#fff;box-shadow:none}
.ask-opt.primary:hover{filter:brightness(1.06)}
.ask-opt svg{width:21px;height:21px;flex:none}
.ask-opt b{display:block;font-size:15.5px;line-height:1.2}
.ask-opt small{display:block;font-size:13px;opacity:.72;margin-top:2px}
.ask-social{display:flex;gap:8px;justify-content:center;padding-top:10px;margin-top:4px;
  border-top:1px solid var(--edge)}
.ask-social a{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;
  color:var(--navy-soft);box-shadow:inset 0 0 0 1px var(--edge)}
.ask-social a:hover{color:var(--blue)}
.ask-social svg{width:18px;height:18px}

@media(max-width:860px){
  .foot{padding:36px 0 20px;margin-top:40px}
  .foot-in{grid-template-columns:1fr;gap:26px}
  .faq summary{padding:16px 18px;font-size:16px}
  .faq-a{padding:0 18px 17px;font-size:15px}
  /* full-width bar on a phone — thumb reach matters more than elegance */
  .ask{left:14px;right:14px;bottom:14px;align-items:stretch}
  .ask-btn{width:100%;justify-content:center;min-height:56px;font-size:17px}
  .ask-sheet{width:auto}
}



/* ---------- quote form ---------- */
.qform{background:#fff;border-radius:var(--r-l);padding:26px;box-shadow:var(--sh-s)}
.qrow{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.qf{margin-bottom:16px}
.qf label{display:block;font-size:13.5px;font-weight:700;margin-bottom:7px}
.req{color:#B4541B}
.qf input,.qf select,.qf textarea{width:100%;font-family:inherit;font-size:16px;color:var(--navy);
  background:var(--panel-2);border:none;box-shadow:inset 0 0 0 1px var(--edge);
  border-radius:var(--r-m);padding:13px 15px;min-height:50px;outline:none}
.qf textarea{min-height:104px;resize:vertical}
.qf input:focus,.qf select:focus,.qf textarea:focus{box-shadow:inset 0 0 0 2px var(--blue)}
.qf[data-invalid] input{box-shadow:inset 0 0 0 2px #B4541B}
.qerr{display:none;margin-top:6px;font-size:13px;font-weight:600;color:#B4541B}
.qf[data-invalid] .qerr{display:block}
.qhp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.qactions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.qactions .btn{flex:1 1 auto;justify-content:center;min-height:52px}
.qnote{font-size:13px;color:var(--navy-soft);text-align:center;margin-top:14px}
.qstatus{display:none;margin-top:16px;padding:16px 18px;border-radius:var(--r-m);
  background:var(--panel);box-shadow:inset 0 0 0 1px var(--edge);font-size:15px;line-height:1.6}
.qstatus.show{display:block}
.qstatus a{color:var(--blue);font-weight:700;text-decoration:underline}
@media(max-width:860px){ .qrow{grid-template-columns:1fr} .qform{padding:20px} }

/* fine for a tap target, but stop iOS zooming if a form is added later */
input,select,textarea{font-size:16px}

@media(prefers-reduced-motion:reduce){
  *{animation-duration:.001ms!important;transition-duration:.001ms!important}
}

