:root {
  color-scheme: light;
  --ink: #121212;
  --paper: #f4f2ed;
  --orange: #ff751f;
  --type: system-ui, sans-serif;
  --display: Impact, Haettenschweiler, 'Arial Narrow Bold', 'Arial Black', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 1rem/1.55 var(--type); color: var(--ink); background: var(--paper); }
a { color: inherit; }
a:focus-visible { outline: 3px solid #2876d2; outline-offset: 5px; }
.skip { position: absolute; top: -8rem; left: 1rem; z-index: 2; padding: .7rem 1rem; background: white; color: #111; }
.skip:focus { top: 1rem; }
.shell { width: min(91%, 75rem); margin-inline: auto; }
.top, footer { background: var(--ink); color: white; }
.top { border-bottom: 1px solid #ffffff29; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 5.25rem; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 900; line-height: 1.08; letter-spacing: .07em; }
.brand small { display: block; margin-top: .24rem; color: var(--orange); font-size: .75rem; letter-spacing: .19em; }
.mark { width: 1.85rem; height: 1.8rem; border: .37rem solid var(--orange); border-top: 0; transform: skewX(-12deg); }
nav { display: flex; gap: clamp(1rem, 4vw, 3rem); }
nav a, .footer a { text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; padding: .7rem 1.35rem; background: var(--orange); color: #171711; font-weight: 780; text-decoration: none; }
.button:hover { background: #ff9a56; }
.compact { min-height: 2.75rem; font-size: .9rem; }
.hero {
  min-height: clamp(34rem, 75vh, 49rem);
  display: grid;
  align-content: center;
  color: white;
  background: linear-gradient(90deg, #151613f5 0%, #151613c9 31%, #15161338 73%), linear-gradient(0deg, #18171175, transparent 45%), #373934 url('excavation-hero.jpg') center 57% / cover no-repeat;
  border-bottom: .38rem solid var(--orange);
}
.hero-inner { padding-block: 4.5rem; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .17em; font-size: .875rem; font-weight: 760; }
.hero .eyebrow, .contact .eyebrow { color: var(--orange); }
.eyebrow::before { content: ''; width: 1.85rem; height: 2px; background: currentColor; }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 900; line-height: .99; letter-spacing: .005em; }
h1 { font-size: clamp(2.75rem, 9.1vw, 8rem); }
h2 { font-size: clamp(2.8rem, 6.5vw, 5rem); }
.intro { max-width: 30rem; margin: 1.4rem 0 1.85rem; font-size: clamp(1.05rem, 2vw, 1.27rem); }
.services, .contact { padding-block: clamp(3.5rem, 8vw, 7rem); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); margin-top: 2rem; }
.service-grid article { border-top: .23rem solid #e85c0c; padding: 1.3rem 0 .4rem; }
h3 { font-size: 1.45rem; line-height: 1.2; }
.service-grid p { margin: .7rem 0 0; color: #4a4842; max-width: 31ch; }
.contact { background: #1b1b1b; color: white; }
.contact-grid { display: grid; grid-template-columns: 1fr .75fr; gap: 2rem; align-items: end; }
.contact-grid p:not(.eyebrow) { margin: 0 0 1.3rem; max-width: 40ch; }
.footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; font-size: .9rem; }
@media (max-width: 680px) {
  .nav { min-height: 4.8rem; }
  .nav .compact { display: none; }
  .hero { background-position: 62% center; }
  .service-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid p { max-width: 54ch; }
}
@media (max-width: 360px) {
  .brand { font-size: .85rem; gap: .5rem; }
  .mark { width: 1.4rem; height: 1.4rem; }
  nav { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.about { background: #e9e5dc; }
.contact-grid { align-items: start; }
.call { display: inline-block; margin-bottom: 1.5rem; color: var(--orange); font-weight: 750; }
.quote { display: grid; gap: 1rem; }
.quote label { display: grid; gap: .3rem; }
.quote input, .quote textarea { width: 100%; border: 1px solid #b7b5ad; background: #fff; color: #121212; padding: .65rem .75rem; font: inherit; }
.quote textarea { resize: vertical; }
.quote button { justify-self: start; border: 0; font: inherit; font-weight: 780; cursor: pointer; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 410px) { .nav { flex-wrap: wrap; justify-content: center; gap: .55rem 1.1rem; padding-block: .8rem; } }

.brand {
  display: inline-grid;
  justify-items: center;
  gap: .22rem;
  padding: .5rem .65rem .45rem;
  background: #fff;
  color: var(--ink);
}
.brand img { display: block; width: clamp(7rem, 18vw, 11rem); height: auto; }
.brand small { margin: 0; color: var(--ink); font-size: .62rem; }

.page-title { font-size: clamp(2.7rem, 7vw, 5.3rem); }
.page-intro { max-width: 54ch; margin: 1.25rem 0 2rem; }
.page-link { margin-top: 1.5rem; }
.subheading { font-family: var(--type); font-size: 1.3rem; letter-spacing: normal; line-height: 1.2; margin-top: 1.6rem; }
@media (max-width: 780px) {
  .nav { flex-wrap: wrap; justify-content: center; gap: .65rem 1rem; padding-block: .8rem; }
  .nav nav { flex-wrap: wrap; justify-content: center; column-gap: 1rem; row-gap: .3rem; }
  .nav .compact { display: none; }
}
