:root {
  --black: #080b0c;
  --charcoal: #111618;
  --panel: #171d20;
  --panel-2: #1d2428;
  --steel: #8e989c;
  --white: #f7f7f2;
  --muted: #d4d6d0;
  --yellow: #f3aa08;
  --yellow-2: #ffbd22;
  --earth: #7f5b30;
  --max: 1180px;
  --header: clamp(92px, 7vw, 112px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Roboto Condensed", Arial, sans-serif;
}

body.nav-open {
  overflow: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  line-height: 1.55;
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
  text-transform: uppercase;
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.site-header {
  align-items: center;
  background: rgba(8, 11, 12, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr auto;
  height: var(--header);
  left: 0;
  padding: 0 clamp(1rem, 4vw, 3rem);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.brand-logo {
  height: 76px;
  object-fit: contain;
  width: 76px;
}

.site-header .brand-logo {
  height: clamp(200px, 16vw, 264px);
  left: 0;
  max-width: none;
  position: absolute;
  top: 8px;
  width: clamp(200px, 16vw, 264px);
}

.site-header .brand {
  align-self: stretch;
  width: clamp(200px, 16vw, 264px);
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.4rem);
  justify-content: center;
}

.site-nav a {
  color: #eeeeeb;
  font-size: 0.95rem;
  font-weight: 900;
  position: relative;
  text-transform: uppercase;
}

.site-nav a::after {
  background: var(--yellow);
  bottom: -0.75rem;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  align-items: center;
  border: 2px solid var(--yellow);
  display: inline-flex;
  font-weight: 950;
  gap: 0.65rem;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.75rem;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-cta,
.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-outline {
  background: rgba(8, 11, 12, 0.4);
  color: var(--white);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 46px;
  padding: 0;
  width: 46px;
}

.nav-toggle span:not(.sr-only) {
  background: var(--white);
  display: block;
  height: 3px;
  margin: 7px auto;
  width: 28px;
}

.hero {
  min-height: calc(100svh - var(--header));
  overflow: hidden;
  position: relative;
}

.hero-bg {
  background-image:
    linear-gradient(90deg, rgba(8, 11, 12, 0.92) 0%, rgba(8, 11, 12, 0.74) 31%, rgba(8, 11, 12, 0.22) 62%, rgba(8, 11, 12, 0.34) 100%),
    linear-gradient(180deg, rgba(8, 11, 12, 0.18), rgba(8, 11, 12, 0.82)),
    url("assets/hero-excavator.png");
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
}

.hero::after {
  background: linear-gradient(90deg, var(--yellow), transparent);
  bottom: 0;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  width: 55%;
}

.hero-content {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 4vw, 3rem) 5rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--yellow);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4rem, 11vw, 8.75rem);
  max-width: 820px;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
  color: var(--yellow);
  display: block;
}

.hero-copy {
  color: #ffffff;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  margin-top: 1.25rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.service-strip {
  background: linear-gradient(180deg, #151b1d, #0e1214);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(5, 1fr);
  padding: 1.6rem clamp(1rem, 4vw, 3rem);
}

.service-strip article {
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  gap: 1rem;
  grid-template-columns: 72px 1fr;
  min-height: 116px;
  padding: 0 1.4rem;
}

.service-strip article:first-child {
  border-left: 0;
}

.service-strip svg {
  color: var(--yellow);
  height: 62px;
  width: 72px;
}

.service-strip path,
.service-strip circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.service-strip h2 {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.12;
}

.service-strip p {
  font-size: 0.9rem;
  margin-top: 0.55rem;
}

.trust-band {
  background: var(--yellow);
  color: var(--black);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  padding: 1.25rem clamp(1.25rem, 6vw, 6rem);
  text-align: center;
  text-transform: uppercase;
}

.trust-band strong {
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.section,
.feature-section,
.why,
.contact {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.section-head {
  max-width: 760px;
}

#services .section-head,
.commercial-services .section-head {
  max-width: none;
}

#services .section-head h2,
.commercial-services .section-head h2 {
  font-size: clamp(2.25rem, 4.4vw, 4.1rem);
}

.commercial-services {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.section-head h2,
.feature-copy h2,
.split h2,
.why h2,
.contact h2 {
  font-size: clamp(2.25rem, 5vw, 4.8rem);
}

.section-head p:not(.eyebrow),
.feature-copy p,
.split p,
.contact-copy p {
  margin-top: 1rem;
}

.service-grid,
.why-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.2rem;
}

.service-grid article,
.why-grid article,
.project-list article,
.quote-form {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.35rem;
}

.service-grid article,
.why-grid article {
  min-height: 180px;
}

.service-grid h3,
.why-grid h3,
.project-list h3 {
  color: var(--yellow);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  margin-bottom: 0.75rem;
}

.service-grid ul {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: clamp(0.96rem, 1.35vw, 1.08rem);
  line-height: 1.45;
  margin: 0;
  padding-left: 1.1rem;
}

.service-grid li + li {
  margin-top: 0.3rem;
}

.feature-section {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.95fr 1.05fr;
}

.text-link {
  color: var(--yellow);
  display: inline-block;
  font-weight: 950;
  margin-top: 1.2rem;
  text-transform: uppercase;
}

.project-list {
  display: grid;
  gap: 1rem;
}

.project-list article {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 70px 1fr;
}

.project-list article p {
  grid-column: 2;
}

.project-list span,
.why-grid strong {
  color: rgba(255, 255, 255, 0.18);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 3rem;
  line-height: 0.85;
}

.split {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.85fr 1.15fr;
}

.why {
  background:
    linear-gradient(180deg, rgba(8, 11, 12, 0.82), rgba(8, 11, 12, 0.96)),
    radial-gradient(circle at 20% 20%, rgba(243, 170, 8, 0.18), transparent 34%),
    var(--charcoal);
  max-width: none;
}

.why .section-head,
.why-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max);
}

.contact {
  align-items: start;
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-methods {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.contact-methods a,
.contact-methods span {
  color: var(--yellow);
  font-size: 1.15rem;
  font-weight: 950;
  text-transform: uppercase;
}

.quote-form {
  display: grid;
  gap: 1rem;
}

.form-honeypot {
  left: -100vw;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.quote-form label {
  color: var(--white);
  display: grid;
  font-size: 0.85rem;
  font-weight: 950;
  gap: 0.45rem;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  background: #0c1012;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 1rem;
  min-height: 46px;
  padding: 0.8rem;
}

.quote-form textarea {
  resize: vertical;
}

.form-confirmation {
  background: rgba(243, 170, 8, 0.12);
  border: 1px solid rgba(243, 170, 8, 0.45);
  color: var(--white);
  font-weight: 700;
  padding: 0.9rem 1rem;
}

.form-confirmation.is-error {
  background: rgba(170, 38, 38, 0.16);
  border-color: rgba(255, 110, 86, 0.5);
}

.quote-form button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.site-footer {
  align-items: center;
  background: #060808;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
}

.site-footer p {
  font-size: 0.9rem;
  text-align: right;
}

.footer-credit {
  color: var(--steel);
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-credit:hover,
.footer-credit:focus-visible {
  color: var(--yellow);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-header .brand {
    align-self: center;
    width: auto;
  }

  .site-header .brand-logo {
    left: auto;
    max-width: 100%;
    position: static;
    top: auto;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    align-content: start;
    background: rgba(8, 11, 12, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 0;
    inset: var(--header) 0 auto 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    position: absolute;
    transition: max-height 220ms ease, padding 220ms ease;
  }

  .site-nav.is-open {
    max-height: calc(100svh - var(--header));
    padding-bottom: 1rem;
    padding-top: 1rem;
  }

  .site-nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.15rem;
    padding: 1rem 0;
  }

  .site-nav a::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .service-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-strip article {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .service-strip article:first-child,
  .service-strip article:nth-child(2) {
    border-top: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --header: 104px;
  }

  .site-header {
    padding-inline: 1rem;
  }

  .brand-logo {
    height: 60px;
    width: 60px;
  }

  .site-header .brand-logo {
    height: clamp(76px, 18vw, 92px);
    width: clamp(76px, 18vw, 92px);
  }

  .hero-bg {
    background-image:
      linear-gradient(90deg, rgba(8, 11, 12, 0.9), rgba(8, 11, 12, 0.58)),
      linear-gradient(180deg, rgba(8, 11, 12, 0.1), rgba(8, 11, 12, 0.9)),
      url("assets/hero-excavator.png");
    background-position: 60% center;
  }

  .hero-content {
    padding-bottom: 4rem;
    padding-top: clamp(3.4rem, 12vw, 5rem);
  }

  .hero h1 {
    font-size: clamp(2.85rem, 14vw, 4.55rem);
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .service-strip,
  .trust-band,
  .service-grid,
  .feature-section,
  .split,
  .why-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-strip article,
  .service-strip article:nth-child(2) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    grid-template-columns: 60px 1fr;
    padding: 1rem 0;
  }

  .service-strip article:first-child {
    border-top: 0;
  }

  .service-strip svg {
    height: 52px;
    width: 60px;
  }

  .project-list article {
    grid-template-columns: 54px 1fr;
  }

  .site-footer {
    align-items: flex-start;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 470px) {
  :root {
    --header: 88px;
  }

  .brand-logo {
    height: 56px;
    width: 56px;
  }

  .site-header .brand-logo {
    height: clamp(70px, 18vw, 78px);
    width: clamp(70px, 18vw, 78px);
  }

  .hero-content {
    padding-inline: 1rem;
  }

  .section,
  .feature-section,
  .why,
  .contact {
    padding-inline: 1rem;
  }

  .service-strip {
    padding-inline: 1rem;
  }

  .service-grid article,
  .why-grid article,
  .project-list article,
  .quote-form {
    padding: 1rem;
  }
}
