:root {
  --red: #ef171e;
  --red-dark: #a8070c;
  --ink: #090909;
  --charcoal: #151515;
  --steel: #2a2a2a;
  --paper: #f2f0eb;
  --muted: #aaa7a1;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 0; left: 1rem; transform: translateY(-150%); padding: .75rem 1rem; background: white; color: black; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: .7rem max(1rem, calc((100vw - var(--max)) / 2));
  background: rgba(8,8,8,.92);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(15px);
}
.brand { display: inline-flex; align-items: center; }
.header-logo-crop, .footer-logo-crop, .hero-logo-crop { display: block; overflow: hidden; background: #050505; }
.header-logo-crop { width: 245px; aspect-ratio: 3.7 / 1; }
.header-logo-crop img, .footer-logo-crop img, .hero-logo-crop img { width: 100%; height: 100%; object-fit: cover; }
.header-logo-crop img { object-position: center 43%; }
nav { display: flex; align-items: center; gap: 1.6rem; font-family: "Arial Narrow", Arial, sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .84rem; }
nav a:not(.nav-call) { padding: .6rem 0; border-bottom: 2px solid transparent; }
nav a:not(.nav-call):hover, nav a:not(.nav-call):focus-visible { border-color: var(--red); }
.nav-call { padding: .75rem 1rem; background: var(--red); clip-path: polygon(7px 0,100% 0,calc(100% - 7px) 100%,0 100%); }
.menu-button { display: none; background: transparent; border: 0; padding: .7rem; }
.menu-button > span:not(.sr-only) { display: block; width: 27px; height: 2px; margin: 5px 0; background: white; }

.hero {
  position: relative;
  min-height: 790px;
  padding: 150px max(1rem, calc((100vw - var(--max)) / 2)) 0;
  background: #111 url("assets/sunset-ground.webp") center bottom / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.58) 46%, rgba(0,0,0,.1) 74%), linear-gradient(180deg, #111 0%, transparent 45%);
}
.hero::after {
  content: "";
  position: absolute;
  left: -5%; right: -5%; bottom: -13px;
  height: 29px;
  background: var(--red);
  transform: rotate(-.45deg);
  box-shadow: 0 -5px 0 rgba(0,0,0,.7);
}
.hero-content { position: relative; z-index: 3; width: min(650px, 60%); }
.eyebrow { margin: 0 0 .7rem; color: var(--red); font-family: "Arial Narrow", Arial, sans-serif; font-size: .83rem; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: .98; }
h1, h2 { font-family: Impact, "Arial Black", "Arial Narrow", sans-serif; font-weight: 900; text-transform: uppercase; }
h1 { margin-bottom: 1rem; font-size: clamp(4.4rem, 9.6vw, 8.4rem); letter-spacing: .005em; text-shadow: 8px 8px 0 rgba(0,0,0,.75); }
.hero-logo-crop { width: min(680px, 100%); aspect-ratio: 3 / 1; margin: -1rem 0 .75rem; background: transparent; }
.hero-logo-crop img { object-position: center center; }
.hero-line { display: flex; align-items: center; gap: .75rem; margin: 0 0 1rem; font-family: "Arial Narrow", Arial, sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.hero-line i { display: inline-block; width: 5px; height: 5px; background: var(--red); transform: rotate(45deg); }
.hero-copy { max-width: 570px; margin: 0 0 1.8rem; color: #d7d4cd; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .85rem 1.35rem; font-family: "Arial Narrow", Arial, sans-serif; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; clip-path: polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%); transition: transform .2s ease, background .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: #ff2b31; }
.button-secondary { background: rgba(0,0,0,.58); border: 1px solid rgba(255,255,255,.5); }
.machine-stage {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 10px;
  display: grid;
  grid-template-columns: .94fr 1.08fr .98fr;
  align-items: end;
  gap: clamp(.65rem, 2vw, 1.75rem);
  width: min(calc(100% - 2rem), var(--max));
  height: 385px;
  transform: translateX(-50%);
  pointer-events: none;
}
.machine { position: static; width: 100%; max-height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 16px 12px rgba(0,0,0,.65)); }
.machine-bobcat { justify-self: start; }
.machine-excavator { justify-self: center; }
.machine-truck { justify-self: end; margin-bottom: 24px; }

.quick-facts { position: relative; z-index: 5; display: grid; grid-template-columns: .8fr .8fr 1.9fr; max-width: var(--max); margin: -2px auto 0; background: #0d0d0d; border-bottom: 1px solid #333; }
.quick-facts > div { padding: 1.45rem 2rem; border-right: 1px solid #333; }
.quick-facts > div:last-child { border-right: 0; }
.quick-facts strong, .quick-facts span { display: block; }
.quick-facts strong { color: white; font-family: Impact, "Arial Narrow", sans-serif; font-size: 1.55rem; letter-spacing: .07em; }
.quick-facts span { color: var(--muted); font-size: .9rem; }
.quick-facts .equipment-fact span { line-height: 1.65; }

.section { padding: 7rem max(1rem, calc((100vw - var(--max)) / 2)); }
.services, .projects { background: var(--paper); color: #111; }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 1rem; font-size: clamp(2.7rem, 5vw, 5rem); }
.section-heading > p:last-child { max-width: 610px; color: #555; font-size: 1.05rem; }
.section-heading.light > p:last-child { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 4px solid #111; }
.service-grid article { min-height: 220px; padding: 1.7rem 1.3rem; border-right: 1px solid #cbc7be; border-bottom: 1px solid #cbc7be; }
.service-grid article:nth-child(4n) { border-right: 0; }
.service-grid article span { color: var(--red); font-family: Impact, sans-serif; font-size: 1.45rem; }
.service-grid h3 { margin: 2.2rem 0 .6rem; font-family: "Arial Narrow", Arial, sans-serif; font-size: 1.35rem; text-transform: uppercase; }
.service-grid p { margin: 0; color: #58554f; font-size: .93rem; }

.equipment { background: radial-gradient(circle at 50% 0, #292929 0, #111 52%, #090909 100%); }
.equipment-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
.equipment-grid article { position: relative; padding: 1.2rem 1.2rem 1.6rem; background: linear-gradient(145deg,#202020,#101010); border: 1px solid #353535; overflow: hidden; }
.equipment-grid article::before { content: ""; position: absolute; left: 0; top: 0; width: 74px; height: 5px; background: var(--red); }
.equipment-image { display: grid; place-items: center; height: 255px; }
.equipment-image img { width: 95%; max-height: 240px; object-fit: contain; filter: drop-shadow(0 16px 12px rgba(0,0,0,.75)); }
.equipment-grid h3 { margin: .5rem 0 .6rem; font-family: Impact, "Arial Narrow", sans-serif; font-size: 2rem; text-transform: uppercase; letter-spacing: .05em; }
.equipment-grid p { margin: 0; color: var(--muted); }

.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.project-grid figure { position: relative; min-height: 360px; margin: 0; overflow: hidden; background: #222; }
.project-grid .project-wide { grid-column: span 2; min-height: 500px; }
.project-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-grid figure:hover img { transform: scale(1.025); }
.project-grid figcaption { position: absolute; inset: auto 0 0; padding: 4rem 1.3rem 1.25rem; background: linear-gradient(transparent,rgba(0,0,0,.9)); color: white; }
.project-grid figcaption strong, .project-grid figcaption span { display: block; }
.project-grid figcaption strong { font-family: "Arial Narrow", Arial, sans-serif; font-size: 1.18rem; text-transform: uppercase; }
.project-grid figcaption span { color: #ccc; font-size: .87rem; }

.rate-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: var(--max); margin: 0 auto; padding: 4.2rem 2rem; border-top: 8px solid var(--red); }
.rate-panel > div { max-width: 760px; }
.rate-panel h2 { margin-bottom: .6rem; font-size: clamp(4rem, 7vw, 7rem); }
.rate-panel h2 span { font-family: "Arial Narrow", Arial, sans-serif; font-size: .27em; letter-spacing: .08em; }
.rate-panel p:last-child { max-width: 650px; margin-bottom: 0; color: var(--muted); }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 6rem max(1rem, calc((100vw - var(--max)) / 2)); background: var(--red); color: white; }
.contact h2 { margin-bottom: 1rem; font-size: clamp(3rem, 6vw, 6rem); }
.contact .eyebrow { color: #190002; }
.contact p { max-width: 540px; }
.contact-details { align-self: center; }
.phone-link { display: block; margin-bottom: 1.4rem; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(2.2rem, 4.7vw, 4.8rem); line-height: 1; }
.phone-link span { display: block; margin-bottom: .5rem; font-family: "Arial Narrow", Arial, sans-serif; font-size: .22em; text-transform: uppercase; letter-spacing: .18em; }
.socials { display: flex; flex-wrap: wrap; gap: .7rem; }
.socials a { padding: .72rem .9rem; background: #111; font-size: .88rem; }
.socials strong { margin-left: .35rem; }

footer { padding: 3rem max(1rem, calc((100vw - var(--max)) / 2)) 6rem; text-align: center; background: #080808; }
.footer-brand { justify-content: center; margin-bottom: 1.5rem; }
.footer-logo-crop { width: min(440px, 88vw); aspect-ratio: 3 / 1; }
.footer-logo-crop img { object-position: center center; }
footer p { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .75rem; color: #ddd; font-family: "Arial Narrow", Arial, sans-serif; text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; }
footer p i { width: 4px; height: 4px; background: var(--red); transform: rotate(45deg); }
footer > small { color: #777; }
.mobile-actions { display: none; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  nav { position: absolute; top: 78px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; background: #090909; border-bottom: 1px solid #333; }
  nav.is-open { display: flex; }
  nav a { padding: .9rem 1rem !important; }
  .nav-call { margin-top: .4rem; text-align: center; clip-path: none; }
  .hero { min-height: 790px; padding-top: 135px; }
  .hero-content { width: 100%; }
  h1 { font-size: clamp(4rem, 15vw, 7rem); }
  .hero-copy { max-width: 530px; }
  .machine-stage { width: calc(100% - 1rem); height: 310px; gap: .45rem; }
  .machine-truck { margin-bottom: 18px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .service-grid article:nth-child(4n) { border-right: 1px solid #cbc7be; }
  .service-grid article:nth-child(2n) { border-right: 0; }
  .equipment-grid { grid-template-columns: 1fr; }
  .equipment-grid article { display: grid; grid-template-columns: 42% 1fr; column-gap: 1.3rem; align-items: center; }
  .equipment-image { grid-row: span 2; height: 220px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-grid figure { min-height: 390px; }
  .project-grid .project-wide { grid-column: span 2; min-height: 440px; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { padding-bottom: 64px; }
  .site-header { min-height: 70px; }
  .header-logo-crop { width: 192px; }
  nav { top: 70px; }
  .hero { min-height: 760px; padding-top: 118px; }
  .hero::before { background: linear-gradient(180deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.62) 53%,rgba(0,0,0,.08) 85%); }
  h1 { margin-bottom: .8rem; font-size: clamp(3.7rem, 18vw, 5.6rem); line-height: .9; }
  .hero-logo-crop { width: 100%; margin-top: 0; }
  .hero-line { flex-wrap: wrap; gap: .45rem .6rem; font-size: .78rem; }
  .hero-copy { font-size: 1rem; }
  .hero-actions .button { flex: 1 1 180px; }
  .machine-stage { grid-template-columns: .96fr 1.08fr .96fr; width: calc(100% - .5rem); height: 225px; gap: .15rem; }
  .machine-truck { margin-bottom: 12px; }
  .quick-facts { grid-template-columns: 1fr; }
  .quick-facts > div { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 1.2rem; border-right: 0; border-bottom: 1px solid #292929; }
  .quick-facts strong { font-size: 1.25rem; }
  .section { padding-top: 5rem; padding-bottom: 5rem; }
  .section-heading h2 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article, .service-grid article:nth-child(4n) { min-height: 0; border-right: 0; }
  .service-grid h3 { margin-top: 1.2rem; }
  .equipment-grid article { display: block; }
  .equipment-image { height: 205px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-grid figure { min-height: 410px; }
  .project-grid .project-wide { grid-column: auto; min-height: 330px; }
  .rate-panel { display: block; padding: 3.2rem 1rem; }
  .rate-panel .button { width: 100%; margin-top: 1.6rem; }
  .contact { padding-top: 4.8rem; padding-bottom: 4.8rem; gap: 1.5rem; }
  .phone-link { font-size: 2.8rem; }
  .socials { display: grid; }
  footer { padding-bottom: 3rem; }
  .mobile-actions { position: fixed; z-index: 120; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -8px 22px rgba(0,0,0,.4); }
  .mobile-actions a { display: grid; place-items: center; min-height: 64px; background: #151515; font-family: "Arial Narrow", Arial, sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
  .mobile-actions a:last-child { background: var(--red); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
