@font-face {
  font-family: "Manrope";
  src: url("/assets/manrope-variable-c48cbb36.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/barlow-condensed-bold-0d14930b.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #171d19;
  --dark: #161b18;
  --forest: #202922;
  --brand: #184ba1;
  --brand-hover: #123d83;
  --accent: #a8c8ff;
  --paper: #f8f8f2;
  --muted: #4e574f;
  --light-muted: #c1c9bb;
  --rule: #d8ddd3;
  --display-font: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body-font: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem / 1.65 var(--body-font);
}

a { color: inherit; text-underline-offset: 0.22em; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }

h1, h2, h3 {
  font-family: var(--display-font);
  font-weight: 700;
  line-height: 0.96;
}

h2 { font-size: clamp(3rem, 1.9rem + 3.6vw, 5rem); }
h3 { font-size: clamp(1.8rem, 1.4rem + 0.9vw, 2.25rem); }
section[id], .careers { scroll-margin-top: 1.5rem; }

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

main:focus { outline: none; }

.skip-link {
  position: fixed;
  z-index: 5;
  inset: 0.75rem auto auto 0.75rem;
  transform: translateY(-150%);
  padding: 0.6rem 1rem;
  background: var(--paper);
  color: var(--ink);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(100% - 2 * clamp(1.25rem, 4.6vw, 4.5rem), 78rem);
  margin-inline: auto;
}

.button-group, .contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.15rem;
  text-align: center;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.25;
}

.button--primary {
  color: var(--paper);
  background: var(--brand);
  border-color: var(--accent);
}

.button--primary:hover { background: var(--brand-hover); }

.button--outline {
  color: var(--paper);
  background: var(--outline-fill, transparent);
  border-color: rgb(248 248 242 / 68%);
}

.button--outline:hover {
  color: var(--ink);
  background: var(--paper);
}

.button--light {
  color: var(--brand);
  background: var(--paper);
}

.button--light:hover { background: var(--accent); }

.site-header .button:focus-visible, .hero .button:focus-visible, .contact .button:focus-visible {
  outline-color: var(--paper);
}

.site-header {
  position: relative;
  z-index: 1;
  background: var(--dark);
  color: var(--paper);
  border-bottom: 1px solid rgb(248 248 242 / 16%);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5rem;
  gap: 1.375rem;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
}

.brand__logo {
  width: clamp(7.25rem, 13vw, 10.5rem);
  height: auto;
  max-height: 3.375rem;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.site-nav, .site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem clamp(1.2rem, 3.1vw, 3rem);
}

.site-nav a, .site-footer a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 700;
}

.site-nav a {
  padding-block: 0.6rem;
  white-space: nowrap;
}

.site-nav a:hover, .site-footer a:hover { text-decoration: underline; }
.site-header__cta { justify-self: end; }
.hero {
  --outline-fill: rgb(22 27 24 / 36%);
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(33rem, 47vw, 46rem);
  overflow: hidden;
  grid-template-areas: "hero";
  background: var(--dark);
  color: var(--paper);
}

.hero picture { grid-area: hero; }

.hero::before, .hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: center 55%;
}

.hero::before {
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, #101713 0%, rgb(16 23 19 / 92%) 22%, rgb(16 23 19 / 62%) 47%, rgb(16 23 19 / 8%) 82%),
    linear-gradient(0deg, rgb(16 23 19 / 33%), transparent 45%);
}

.hero__content { grid-area: hero; padding-block: clamp(4rem, 8vw, 7rem); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.55rem;
  height: 0.18rem;
  flex: 0 0 auto;
  background: var(--brand);
  content: "";
}

.hero .eyebrow, .work .eyebrow, .contact .eyebrow { color: var(--accent); }
.hero .eyebrow::before, .work .eyebrow::before, .contact .eyebrow::before { background: var(--accent); }

.hero h1 {
  margin-top: 0.9rem;
  font-size: clamp(4.5rem, 2.2rem + 7.1vw, 9.625rem);
  line-height: 0.85;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero h1 em { display: block; color: var(--accent); font-style: normal; }

.hero__intro {
  max-width: 32rem;
  margin-block: 1.65rem 1.6rem;
  color: #e9ece4;
  font-size: clamp(1.025rem, 0.94rem + 0.28vw, 1.225rem);
  font-weight: 500;
}

.section { padding-block: clamp(3.75rem, 7vw, 7.25rem); }
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(15rem, 25rem);
  align-items: end;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 3.6vw, 3.5rem);
}

.section-heading h2, .about h2, .contact h2 { margin-top: 0.55rem; }
.section-heading > p, .service p, .about__content > p:not(.eyebrow) { color: var(--muted); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--rule);
}

.service {
  padding: 1.75rem clamp(1.05rem, 2.3vw, 2.25rem) 1.95rem;
  border-inline-start: 1px solid var(--rule);
}

.service:first-child { padding-inline-start: 0; border-inline-start: 0; }
.service:last-child { padding-inline-end: 0; }
.service p { margin-top: 0.65rem; }

.service__mark {
  display: block;
  width: 2.7rem;
  height: 1.8rem;
  margin-bottom: 1.15rem;
  color: var(--brand);
}

.service__mark--pave {
  background: repeating-linear-gradient(to bottom, currentColor 0 3px, transparent 3px 8px);
  clip-path: polygon(18% 0%, 100% 0%, 82% 100%, 0% 100%);
}

.service__mark--repair {
  border: 2px solid currentColor;
  background: repeating-linear-gradient(135deg, transparent 0 4px, currentColor 4px 6px, transparent 6px 10px);
  transform: skewX(-12deg);
}

.service__mark--seal {
  border-bottom: 5px solid currentColor;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, currentColor 3px 5px, transparent 5px 9px);
  clip-path: polygon(18% 0%, 100% 0%, 82% 100%, 0% 100%);
}

.service__mark--stripe {
  background: repeating-linear-gradient(115deg, transparent 0 7px, currentColor 7px 11px, transparent 11px 16px);
  border-block: 2px solid currentColor;
}

.work { background: var(--forest); color: var(--paper); }

.work__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.project img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--dark);
}

.project figcaption { padding-top: 1.15rem; }
.project p { margin-top: 0.35rem; color: var(--light-muted); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7.5rem);
}

.about__image {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  background: var(--rule);
}

.about__content > p:not(.eyebrow) { margin-top: 1.25rem; }

.careers {
  margin-top: 1.75rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.3rem;
}

.careers h3 { margin-bottom: 0.55rem; }
.careers a { font-weight: 800; }
.careers a:hover { color: var(--brand); }

.careers__application { margin-top: 0.75rem; }
.careers__application summary { color: var(--brand); cursor: pointer; font-weight: 800; }
.careers__application .intake-form { margin-top: 1rem; }

.contact {
  padding-block: clamp(3rem, 5vw, 5rem);
  background: var(--brand);
  color: var(--paper);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 3rem;
  align-items: center;
}

.contact__inner--intake {
  grid-template: "intro form" auto "actions form" 1fr / minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: start;
}

.contact__inner--intake .contact__copy { grid-area: intro; }
.contact__inner--intake .contact__actions { grid-area: actions; }
.intake-form--estimate { grid-area: form; }
.contact h2 + p { max-width: 35rem; margin-top: 0.9rem; }

.intake-form {
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1rem, 2.2vw, 1.75rem);
  border: 1px solid var(--rule);
  border-radius: 0.25rem;
  background: var(--paper);
  color: var(--ink);
}

.intake-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.intake-form__wide { grid-column: 1 / -1; }
.intake-form label { display: block; margin-bottom: 0.35rem; font-size: 0.9375rem; font-weight: 800; }

.intake-form :is(input:not([type="hidden"], [type="submit"]), select, textarea) {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid #687268;
  border-radius: 0.15rem;
  padding: 0.55rem 0.65rem;
  color: var(--ink);
  background-color: white;
  font: inherit;
}

.intake-form select {
  appearance: none;
  padding-inline-end: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--brand) 50%),
                    linear-gradient(135deg, var(--brand) 50%, transparent 50%);
  background-position: calc(100% - 1.13rem) 50%, calc(100% - 0.85rem) 50%;
  background-repeat: no-repeat;
  background-size: 0.28rem 0.28rem;
}

.intake-form textarea { display: block; resize: vertical; }
.intake-form .button { justify-self: start; font-family: inherit; cursor: pointer; }
.contact .intake-form .button:focus-visible { outline-color: var(--brand); }

.intake-feedback { border-radius: 0.15rem; padding: 0.65rem 0.9rem; }
.intake-feedback--error { color: #801c27; background: #fbeaec; }
.intake-feedback--error ul { margin: 0; padding-inline-start: 1.25rem; }
.intake-feedback--success { margin-top: 0.9rem; color: #144b32; background: #e5f5eb; }

.site-footer {
  background: var(--dark);
  color: var(--paper);
  padding-block: 2.45rem 1.25rem;
}

.site-footer p { color: var(--light-muted); }

.site-footer__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}

.site-footer__nav { justify-content: flex-start; gap: 0.5rem 1.2rem; margin-inline: auto; }
.site-footer__contact { display: grid; gap: 0.35rem; }
.site-footer__legal {
  border-top: 1px solid rgb(248 248 242 / 19%);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.875rem;
}

@media (max-width: 54rem) {
  .site-header__inner { gap: 0.35rem 1.15rem; grid-template-columns: 1fr 1fr; padding-top: 0.65rem; }
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 0.25rem clamp(1.1rem, 4.6vw, 2.25rem);
  }
  .hero::before {
    background: linear-gradient(90deg, rgb(16 23 19 / 95%), rgb(16 23 19 / 70%) 52%, rgb(16 23 19 / 28%));
  }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .service:nth-child(even) { padding-inline-end: 0; }
  .service:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__inner--intake { grid-template: "intro" "actions" "form" / minmax(0, 1fr); }
  .site-footer__main { grid-template-columns: 1fr auto; }
  .site-footer__nav { grid-row: 2; grid-column: 1 / -1; margin-inline: 0; }
}

@media (max-width: 36rem) {
  .site-header__cta { min-height: 2.65rem; padding-inline: 0.75rem; font-size: 0.875rem; }
  .site-nav { justify-content: space-between; }
  .hero { min-height: 34rem; }
  .hero__image { object-position: 68% center; }
  .hero::before {
    background:
      linear-gradient(90deg, rgb(16 23 19 / 83%), rgb(16 23 19 / 55%)),
      linear-gradient(0deg, rgb(16 23 19 / 72%), transparent 70%);
  }
  .hero h1 { font-size: clamp(3.925rem, 13vw + 1rem, 6.25rem); }
  .hero__intro { margin-top: 1.35rem; }
  .section-heading, .work__grid, .about__grid { grid-template-columns: 1fr; }
  .about__content { grid-row: 1; }
  .about__image { aspect-ratio: 4 / 3; }
  .intake-form__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (forced-colors: active) {
  .intake-form select { appearance: auto; }
}

@media (max-width: 23rem) {
  .site-footer__main { grid-template-columns: 1fr; }
  .site-footer__nav { grid-row: auto; }
}
