:root {
  --ink: #172017;
  --muted: #5f6a61;
  --paper: #f4f4ef;
  --field: #e5ecdf;
  --panel: #ffffff;
  --green: #215f31;
  --lime: #9ec23b;
  --orange: #d76a1f;
  --charcoal: #111612;
  --line: #d4dbd0;
  --shadow: 0 18px 42px rgba(17, 22, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  padding: 13px clamp(16px, 4vw, 58px);
  background: rgba(244, 244, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  text-decoration: none;
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 1.08rem;
}

.brand span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

nav a,
.header-action {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
.header-action:hover,
.header-action:focus-visible {
  color: var(--orange);
}

.header-action {
  border: 1px solid var(--green);
  color: var(--green);
  padding: 10px 14px;
  font-weight: 900;
}

main {
  overflow: clip;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  min-height: calc(100svh - 74px);
  background: var(--charcoal);
  color: #fff;
}

.hero-media {
  min-height: 620px;
}

.hero-media img {
  object-position: 50% 56%;
}

.hero-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 70px);
  background: #172017;
  border-left: 8px solid var(--lime);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4.4vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 2.8vw, 2.85rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.lede {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.hero-actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.quick-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 10px 0 0;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.quick-facts div {
  min-width: 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
}

dt {
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-weight: 850;
}

section {
  padding: 58px clamp(16px, 5vw, 72px);
}

.services {
  background: var(--paper);
}

.section-heading,
.work-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(260px, 0.34fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 30px;
}

.work-copy p,
.quote p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-grid article,
.proof-strip article {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-grid article:hover,
.service-grid article:focus-within,
.proof-strip article:hover,
.proof-strip article:focus-within {
  transform: translateY(-3px);
  border-color: rgba(215, 106, 31, 0.6);
  box-shadow: var(--shadow);
}

.service-grid span,
.proof-strip span {
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
}

.service-grid p,
.proof-strip p {
  margin-bottom: 0;
  color: var(--muted);
}

.work {
  background: #fff;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.photo-grid.compact-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.photo-tile {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  background: var(--field);
}

.photo-tile:nth-child(2),
.photo-tile:nth-child(4) {
  min-height: 360px;
}

.photo-tile img {
  transition: transform 260ms ease, filter 260ms ease;
}

.photo-tile:hover img,
.photo-tile:focus-within img {
  transform: scale(1.035);
  filter: contrast(1.04) saturate(1.04);
}

figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: rgba(17, 22, 18, 0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.pos-yard img {
  object-position: 50% 58%;
}

.pos-loader img {
  object-position: 55% 50%;
}

.pos-trailer img {
  object-position: 42% 50%;
}

.pos-cleanout img {
  object-position: 48% 48%;
}

.pos-demo img {
  object-position: 50% 38%;
}

.pos-fleet img {
  object-position: 50% 58%;
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 0.72fr);
  gap: 38px;
  align-items: center;
  background: var(--field);
}

.process-image {
  min-height: 540px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.process-image img {
  object-position: 52% 52%;
}

.process-copy ol {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-copy li {
  position: relative;
  padding: 16px 16px 16px 52px;
  background: #fff;
  border-left: 4px solid var(--orange);
}

.process-copy li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 18px;
  color: var(--green);
  font-weight: 950;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: var(--charcoal);
}

.proof-strip article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.proof-strip strong {
  display: block;
  margin: 8px 0;
  font-size: 1.35rem;
}

.proof-strip p {
  color: rgba(255, 255, 255, 0.72);
}

.quote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: #fff;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(16px, 5vw, 72px) 88px;
  color: #fff;
  background: var(--charcoal);
}

.mobile-actions {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 16px;
  background: var(--paper);
}

.mobile-actions a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  color: #fff;
  background: var(--green);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(17, 22, 18, 0.22);
}

.mobile-actions a:first-child {
  background: var(--orange);
}

.motion-scan {
  animation: job-scan 6s ease-in-out infinite alternate;
}

@keyframes job-scan {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .section-heading,
  .work-copy,
  .process,
  .proof-strip,
  .quote {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 340px;
    order: 2;
  }

  .hero-panel {
    order: 1;
    border-left: 0;
    border-top: 8px solid var(--lime);
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-grid.compact-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    display: block;
  }

  .header-action {
    display: none;
  }

  .hero-panel,
  section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    max-width: 11ch;
    font-size: 2.35rem;
  }

  .hero-media,
  .process-image {
    min-height: 300px;
  }

  .hero-media {
    min-height: 260px;
  }

  .service-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid.compact-four {
    grid-template-columns: 1fr;
  }

  .photo-tile,
  .photo-tile:nth-child(2),
  .photo-tile:nth-child(4) {
    min-height: 250px;
  }

  .button,
  .hero-actions,
  .quote-actions {
    width: 100%;
  }

  .mobile-actions {
    display: grid;
  }
}
