:root {
  --ink: #17140f;
  --muted: #686158;
  --paper: #f3eee5;
  --panel: #fffaf1;
  --line: rgba(23, 20, 15, 0.16);
  --accent: #d98d2b;
  --clay: #7a3f22;
  --steel: #2f393f;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
}

.brand,
.nav-links,
.header-action {
  animation: dropIn 720ms ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  font-size: 13px;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover,
.contact-grid a:hover span {
  color: var(--accent);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.header-action {
  border: 1px solid rgba(255, 255, 255, 0.44);
  padding: 0 16px;
  background: rgba(23, 20, 15, 0.28);
  font-size: 14px;
  backdrop-filter: blur(14px);
}

.header-action .call-short {
  display: none;
}

.button {
  padding: 0 20px;
}

.header-action:hover,
.button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image:
    linear-gradient(90deg, rgba(23, 20, 15, 0.16), rgba(23, 20, 15, 0.06)),
    url("https://cdn.pixabay.com/photo/2016/02/01/21/15/excavator-1174428_1280.jpg");
  background-color: #5a493b;
  background-position: center;
  background-size: cover;
  transform: scale(1.05);
  animation: settle 1400ms ease both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 13, 10, 0.88) 0%, rgba(15, 13, 10, 0.6) 42%, rgba(15, 13, 10, 0.08) 100%),
    linear-gradient(0deg, rgba(15, 13, 10, 0.62) 0%, rgba(15, 13, 10, 0) 52%);
}

.hero-content {
  position: relative;
  width: min(840px, calc(100% - 36px));
  padding: 0 clamp(18px, 4vw, 56px) 76px;
  animation: riseIn 900ms ease 160ms both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7.6vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary {
  background: var(--accent);
  color: var(--ink);
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.intro,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1fr);
  gap: clamp(28px, 7vw, 92px);
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.intro h2,
.work-copy h2,
.contact-panel h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro > p {
  align-self: end;
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.48;
}

.service-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--steel);
  color: var(--white);
}

.service-band article {
  min-height: 360px;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 220ms ease, transform 220ms ease;
}

.service-band article:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.service-band span {
  color: var(--accent);
  font-weight: 950;
}

.service-band h3 {
  margin: 90px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  letter-spacing: 0;
}

.service-band p,
.work-copy li {
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
  line-height: 1.55;
}

.work-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  min-height: 720px;
  background: var(--clay);
  color: var(--white);
}

.work-photo {
  min-height: 520px;
  background-image:
    linear-gradient(0deg, rgba(23, 20, 15, 0.18), rgba(23, 20, 15, 0.18)),
    url("https://cdn.pixabay.com/photo/2016/02/01/21/15/excavator-1174428_1280.jpg");
  background-position: 58% center;
  background-size: cover;
}

.work-copy {
  align-self: center;
  padding: clamp(44px, 7vw, 96px);
}

.work-copy h2 {
  max-width: 690px;
}

.work-copy ul {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.work-copy li {
  position: relative;
  padding-left: 30px;
}

.work-copy li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 13px;
  height: 2px;
  background: var(--accent);
  content: "";
}

.contact-panel {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  gap: 1px;
  align-self: center;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-grid a {
  display: grid;
  gap: 8px;
  min-height: 108px;
  padding: 24px;
  background: var(--panel);
  transition: background 180ms ease, transform 180ms ease;
}

.contact-grid a:hover {
  background: var(--white);
  transform: translateX(4px);
}

.contact-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-grid strong {
  overflow-wrap: anywhere;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.1;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes settle {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1.05);
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .intro,
  .contact-panel,
  .work-split {
    grid-template-columns: 1fr;
  }

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

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

  .brand {
    max-width: 190px;
    gap: 9px;
    font-size: 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
  }

  .header-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .header-action .call-full {
    display: none !important;
  }

  .header-action .call-short {
    display: inline !important;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(15, 13, 10, 0.85) 0%, rgba(15, 13, 10, 0.42) 70%, rgba(15, 13, 10, 0.74) 100%),
      linear-gradient(90deg, rgba(15, 13, 10, 0.72) 0%, rgba(15, 13, 10, 0.28) 100%);
  }

  .hero-content {
    width: 100%;
    padding: 0 18px 44px;
  }

  h1 {
    font-size: clamp(47px, 15vw, 64px);
  }

  .hero-copy {
    font-size: 18px;
  }

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

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

  .service-band article {
    min-height: 236px;
  }

  .service-band h3 {
    margin-top: 52px;
  }

  .work-photo {
    min-height: 360px;
  }

  .intro,
  .contact-panel,
  .work-copy {
    padding: 58px 18px;
  }
}
