:root {
  --ink: #111417;
  --muted: #5b646c;
  --line: #dce0e3;
  --paper: #f6f5f2;
  --white: #ffffff;
  --blue: #17138b;
  --blue-bright: #1d5fbf;
  --steel: #222a31;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 42px;
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid rgba(17, 20, 23, 0.12);
  box-shadow: 0 8px 28px rgba(17, 20, 23, 0.08);
}

.brand img {
  width: 148px;
  height: auto;
}

.nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover,
.footer a:hover {
  color: var(--blue);
}

.header-cta,
.button,
.booking-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}

.header-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #050507;
}

.hero-backdrop,
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-backdrop {
  background-image: url("assets/excavator-hero.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.05);
  opacity: 0.62;
}

.hero-image {
  object-fit: contain;
  object-position: center top;
  padding-top: 82px;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.32) 48%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.06) 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(850px, calc(100% - 48px));
  margin: 0 auto;
  padding: 170px 0 150px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-bright);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue);
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: 68px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-statement {
  display: grid;
  gap: 2px;
  max-width: 980px;
  color: var(--white);
  font-size: 82px;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-statement span {
  display: block;
  width: fit-content;
  padding: 0;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.72);
}

.hero-statement span:nth-child(2) {
  margin-left: 54px;
}

.hero-statement span:nth-child(3) {
  margin-left: 108px;
}

.hero-copy {
  max-width: 780px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
}

.hero-actions,
.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  padding: 0 22px;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-outline {
  color: var(--blue);
  border: 1px solid var(--blue);
  background: transparent;
}

.button-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof {
  position: absolute;
  right: 42px;
  bottom: 32px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1px;
  width: min(560px, calc(100% - 84px));
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-proof div {
  padding: 18px;
  background: rgba(17, 20, 23, 0.82);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 4px;
  color: var(--blue-bright);
  font-size: 20px;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.band,
.booking,
.page-hero,
.services-page-grid,
.collage-gallery,
.cta-band,
.client-band {
  padding-right: 42px;
  padding-left: 42px;
}

.client-band {
  padding-top: 62px;
  padding-bottom: 62px;
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.client-logo {
  display: flex;
  min-height: 106px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.client-logo img {
  width: 100%;
  max-width: 230px;
  max-height: 86px;
  object-fit: contain;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: 60px;
  align-items: start;
  padding-top: 92px;
  padding-bottom: 92px;
  background: var(--white);
}

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

.intro-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 22px;
}

.feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 660px;
  background: var(--white);
}

.feature-landing {
  border-top: 1px solid var(--line);
}

.feature-image-wrap {
  min-height: 580px;
  overflow: hidden;
}

.feature-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  align-self: center;
  padding: 70px;
}

.feature-copy p {
  margin: 22px 0;
  color: var(--muted);
  font-size: 18px;
}

.booking {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  padding-top: 96px;
  padding-bottom: 96px;
  color: var(--white);
  background: var(--steel);
}

.booking-copy {
  align-self: center;
  text-align: center;
}

.booking-copy h2 {
  max-width: none;
  font-size: 64px;
  text-align: center;
}

.booking-copy p {
  max-width: 560px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.contact-strip span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 22px;
  border-radius: 6px;
  background: var(--white);
}

.hidden-field {
  display: none;
}

.booking-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.booking-form .full,
.booking-form button {
  grid-column: 1 / -1;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  background: #fbfbfa;
}

.booking-form input {
  min-height: 48px;
  padding: 0 12px;
}

.booking-form textarea {
  min-height: 124px;
  resize: vertical;
  padding: 12px;
}

.booking-form button {
  color: var(--white);
  background: var(--blue);
  font-size: 16px;
}

.page-main {
  padding-top: 84px;
}

.page-hero {
  padding-top: 96px;
  padding-bottom: 62px;
  background: var(--white);
}

.page-hero h1 {
  max-width: 980px;
  color: var(--ink);
}

.page-hero p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 21px;
}

.thank-you {
  min-height: 62vh;
}

.thank-you .button {
  margin-top: 28px;
}

.gallery-page-hero {
  border-bottom: 1px solid var(--line);
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 42px;
  padding-bottom: 96px;
  background: var(--paper);
}

.services-page-grid article {
  display: grid;
  min-height: 230px;
  align-content: center;
  justify-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  text-align: center;
}

.services-page-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.services-page-grid h2 {
  max-width: 320px;
  margin-bottom: 0;
  font-size: 30px;
}

.services-page-grid p {
  color: var(--muted);
}

.collage-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 14px;
  padding-top: 42px;
  padding-bottom: 96px;
  background: var(--paper);
  grid-auto-flow: dense;
}

.tile {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--steel);
}

.tile.wide {
  grid-column: span 2;
}

.tile.tall {
  grid-row: span 2;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile.contain-image img {
  object-fit: contain;
  background: #e7e9ea;
}

.tile figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  color: var(--white);
  background: rgba(17, 20, 23, 0.82);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.tile.compact-caption figcaption {
  left: 50%;
  right: auto;
  width: min(430px, calc(100% - 24px));
  transform: translateX(-50%);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 58px;
  padding-bottom: 58px;
  color: var(--white);
  background: var(--steel);
}

.cta-band h2 {
  max-width: 720px;
  font-size: 34px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 42px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer div {
  display: grid;
  gap: 2px;
}

.footer span {
  color: var(--muted);
}

.footer a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 1120px) {
  .services-page-grid,
  .collage-gallery,
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .collage-gallery {
    grid-auto-rows: 260px;
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav {
    gap: 16px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-statement {
    font-size: 58px;
  }

  h2 {
    font-size: 34px;
  }

  .booking-copy h2 {
    font-size: 46px;
  }

  .hero {
    min-height: 900px;
  }

  .hero-image {
    padding-top: 74px;
    object-position: center top;
  }

  .hero-content {
    width: calc(100% - 40px);
    padding-bottom: 220px;
  }

  .hero-proof {
    left: 20px;
    right: 20px;
    bottom: 24px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .intro,
  .feature,
  .booking {
    grid-template-columns: 1fr;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .booking-form .full,
  .booking-form button {
    grid-column: auto;
  }

  .feature-copy,
  .band,
  .booking,
  .page-hero,
  .services-page-grid,
  .collage-gallery,
  .cta-band,
  .client-band {
    padding-right: 20px;
    padding-left: 20px;
  }

  .feature-copy {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand img {
    width: 132px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .header-cta {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .hero-statement {
    gap: 6px;
    font-size: 42px;
  }

  .hero-statement span,
  .hero-statement span:nth-child(2),
  .hero-statement span:nth-child(3) {
    margin-left: 0;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-bottom: 28px;
  }

  .hero-content {
    padding-top: 220px;
    padding-bottom: 28px;
  }

  .hero-proof {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 40px);
    margin: 0 auto;
  }

  .hero-copy,
  .intro-copy,
  .page-hero p:not(.eyebrow) {
    font-size: 18px;
  }

  .booking-copy h2 {
    font-size: 40px;
  }

  .hero-actions,
  .split-actions {
    display: grid;
  }

  .feature-image-wrap {
    min-height: 330px;
  }

  .services-page-grid,
  .collage-gallery,
  .client-grid {
    grid-template-columns: 1fr;
  }

  .tile.wide,
  .tile.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .collage-gallery {
    grid-auto-rows: 300px;
  }

  .cta-band,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    padding: 26px 20px;
  }
}
