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

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("/assets/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #191a18;
  --asphalt: #171817;
  --orange: #ff7838;
  --orange-hover: #ff925e;
  --paper: #f6f5f1;
  --muted: #4d4e49;
  --line: #dddbd3;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: Inter, Arial, sans-serif;
  --content: 76rem;
  --gutter: clamp(1.125rem, 5.5vw, 5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
}

h2 { font-size: clamp(2.7rem, 5vw, 4.7rem); }

a { color: inherit; }

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

button, input, select, textarea { font: inherit; }

[hidden] { display: none !important; }

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

.visually-hidden, .skip-link:not(:focus), .form-trap {
  position: absolute;
  overflow: hidden;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  white-space: nowrap;
}

.skip-link:focus {
  position: absolute;
  z-index: 5;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: white;
}

.container {
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.site-header, .site-footer { background: var(--asphalt); color: white; }

.site-header { border-bottom: 1px solid #373833; }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.header-inner { min-height: 4.75rem; }

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.73rem;
  font: 800 1.72rem/1 var(--display);
  letter-spacing: 0.012em;
  text-decoration: none;
}

.brand-accent { color: var(--orange); }

.brand-symbol {
  display: flex;
  align-items: center;
  gap: 0.235rem;
  height: 1.7rem;
  padding-inline: 0.25rem;
  transform: skewX(-21deg);
}

.brand-symbol i {
  width: 0.235rem;
  height: 60%;
  background: var(--orange);
}

.brand-symbol i:nth-child(2) { height: 80%; }
.brand-symbol i:nth-child(3) { height: 100%; }

.header-nav, .site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.7rem);
  font-size: 0.91rem;
  font-weight: 600;
}

.header-nav a, .site-footer nav a { text-decoration: none; }
.nav-section, .site-footer nav a { color: #e7e6e2; }
.nav-section:hover, .site-footer nav a:hover { color: var(--orange); }

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 0.1875rem;
  font: 700 0.93rem/1.25 var(--body);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.button-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #17140f;
}

.button-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
}

.button:disabled { opacity: 0.68; cursor: wait; }
.nav-quote { min-height: 2.7rem; padding-inline: 1.2rem; }

.button-outline {
  border-color: #9a9993;
  background: #16171557;
  color: white;
}

.button-outline:hover { background: #ece9e020; border-color: white; }

.hero {
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(35rem, 45vw, 45rem);
  background: #222320;
  color: white;
  border-bottom: 0.25rem solid var(--orange);
}

.hero-media, .hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 29%;
}

.hero::before {
  z-index: 0;
  content: "";
  background:
    linear-gradient(90deg, #151613f7 0%, #151613e0 26%, #1516137a 52%, #15161308 83%),
    linear-gradient(0deg, #11120d54 0%, transparent 42%);
}

.hero-inner {
  position: relative;
  padding-block: clamp(4.25rem, 8.4vw, 7.5rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #ffa77c;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow::before {
  flex: 0 0 1.45rem;
  height: 0.15rem;
  background: var(--orange);
  content: "";
}

.hero h1 {
  margin-top: 1.2rem;
  font-size: clamp(4.1rem, 7.7vw, 7.75rem);
  line-height: 0.86;
  letter-spacing: -0.013em;
}

.hero h1 span { color: var(--orange); }

.hero-description {
  max-width: 30rem;
  margin-top: 1.7rem;
  color: #f0efeb;
  font-size: clamp(1.025rem, 1.55vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.85rem;
}

.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible {
  outline-color: var(--orange);
}

.section { padding-block: clamp(3.6rem, 7vw, 6.4rem); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: 2.2rem;
}

.section-heading h2 { max-width: 38rem; }

.section-heading p {
  max-width: 23rem;
  padding-bottom: 0.1rem;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.55rem);
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.2rem;
  background: #fff;
}

.service-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.68;
  object-fit: cover;
  background: #3b3c37;
}

.service-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: start;
  padding: clamp(1.1rem, 2.3vw, 1.75rem);
}

.service-content h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.service-content p { margin-block: 0.65rem 1.25rem; color: var(--muted); }

.text-link {
  margin-top: auto;
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: #dc5b21;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.32rem;
}

.text-link:hover { color: #a33d0c; }

.process {
  background: #eae8e0;
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 5.7vw, 5rem);
}

.process-inner {
  display: grid;
  grid-template-columns: 0.8fr 2.7fr;
  align-items: center;
  gap: 2rem;
}

.process h2 { font-size: clamp(2.7rem, 4.4vw, 3.9rem); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  position: relative;
  padding: 0.55rem 0 0.35rem 1.15rem;
  border-left: 2px solid #d45c24;
}

.process-steps h3 { font-size: clamp(1.55rem, 2.15vw, 1.95rem); }
.process-steps p { margin-top: 0.45rem; color: var(--muted); }

.quote { background: #21221f; color: white; }

.quote-inner {
  display: grid;
  grid-template-columns: 0.86fr 1.25fr;
  align-items: start;
  gap: clamp(2rem, 6.6vw, 6rem);
}

.quote-intro h2 { font-size: clamp(3.4rem, 6.2vw, 6.3rem); }

.quote-intro p {
  max-width: 24rem;
  margin-top: 1.1rem;
  color: #e2e1db;
}

.pavement-pattern {
  width: min(17rem, 80%);
  height: 2rem;
  margin: 2.7rem 0 0 0.65rem;
  transform: skewX(-28deg);
  transform-origin: left;
  background: repeating-linear-gradient(90deg, var(--orange) 0 1.75rem, transparent 1.75rem 3.4rem);
  mask-image: linear-gradient(90deg, black 8%, #000a 65%, transparent);
}

.quote-form {
  position: relative;
  padding: clamp(1.15rem, 3.4vw, 2.6rem);
  border-radius: 0.25rem;
  background: var(--paper);
  color: var(--ink);
}

.request-fieldset { margin: 0 0 1.5rem; padding: 0; border: 0; }

.request-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 0.25rem;
  background: #e6e3db;
}

.request-types label { position: relative; cursor: pointer; }

.request-types input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.request-types span {
  display: grid;
  min-height: 2.5rem;
  place-items: center;
  padding: 0.4rem;
  border-radius: 0.17rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

.request-types input:checked + span {
  color: white;
  background: var(--asphalt);
}

.request-types input:focus-visible + span {
  outline: 3px solid #b44512;
  outline-offset: 2px;
}

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

.form-grid label {
  display: block;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.required { color: #aa4011; }
.optional { font-weight: 400; color: #595953; }
.field-wide { grid-column: 1 / -1; }
.quote-form:not(:has(#request-bid:checked)) .bid-deadline { display: none; }

.form-grid input, .form-grid select, .form-grid textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.85rem;
  margin-top: 0.32rem;
  padding: 0.58rem 0.68rem;
  border: 1px solid #bcbab0;
  border-radius: 0.16rem;
  background-color: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
}

.form-grid select {
  appearance: none;
  padding-right: 1.8rem;
  background-image: linear-gradient(45deg, transparent 50%, #40413a 50%), linear-gradient(135deg, #40413a 50%, transparent 50%);
  background-position: calc(100% - 0.875rem) 50%, calc(100% - 0.6rem) 50%;
  background-size: 0.28rem 0.28rem;
  background-repeat: no-repeat;
}

.form-grid textarea { min-height: 6.5rem; resize: vertical; }

.form-footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.form-footer .button { flex: none; }
.form-footer p { color: #4d4e49; font-size: 0.875rem; line-height: 1.45; }

.form-status {
  margin-top: 1.15rem;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid #42744a;
  background: #e1ebda;
  color: #204126;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status[data-state="error"] {
  border-color: #b33d24;
  background: #fae8dc;
  color: #732b1c;
}

.footer-inner { min-height: 6rem; }
.site-footer small { color: #bdbeb6; font-size: 0.875rem; }

.receipt {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 10.8rem);
  padding-block: 4rem;
}

.receipt p { margin: 1rem 0 1.6rem; max-width: 34rem; }

@media (max-width: 920px) {
  .section-heading { display: block; }
  .section-heading p { margin-top: 0.75rem; max-width: 40rem; }
  .process-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .process h2 br { display: none; }
  .quote-inner { grid-template-columns: 0.68fr 1.25fr; gap: 1.7rem; }
  .quote-intro h2 { font-size: clamp(2.9rem, 6.5vw, 4.5rem); }
}

@media (max-width: 680px) {
  .header-inner { min-height: 4.25rem; gap: 0.6rem; }
  .brand { font-size: 1.52rem; gap: 0.45rem; }
  .brand-symbol { gap: 0.18rem; height: 1.4rem; }
  .brand-symbol i { width: 0.19rem; }
  .nav-section { display: none; }
  .nav-quote { padding-inline: 0.8rem; font-size: 0.85rem; }
  .hero { min-height: 37rem; align-items: end; }
  .hero-media img { object-position: 50% 40%; }
  .hero::before {
    background: linear-gradient(0deg, #141512 2%, #141512eb 33%, #1415128c 62%, #14151212 100%);
  }
  .hero-inner { padding-block: 8.5rem 3rem; }
  .hero h1 { font-size: clamp(2.45rem, 12.35vw, 5.2rem); }
  .hero-description { margin-top: 1.2rem; }
  .hero-actions { margin-top: 1.35rem; gap: 0.55rem; }
  .hero-actions .button { padding-inline: 0.9rem; }
  .section-heading { margin-bottom: 1.5rem; }
  .service-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card img { aspect-ratio: 1.9; }
  .service-content { padding: 1.25rem; }
  .process-steps { grid-template-columns: 1fr; }
  .quote-inner { grid-template-columns: 1fr; }
  .quote-intro h2 br { display: none; }
  .pavement-pattern { display: none; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; padding-block: 1.4rem; }
  .site-footer nav { flex-basis: 100%; order: 3; }
}

@media (max-width: 430px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
