﻿:root {
  --ink: #161616;
  --muted: #595959;
  --line: #ded8ce;
  --paper: #fbfaf7;
  --white: #fff;
  --asphalt: #242424;
  --safety: #f5b42b;
  --blue: #2d6f9f;
  --green: #496f45;
  --max: 1120px;
  --shadow: 0 16px 36px rgba(0, 0, 0, .14);
}

* {
  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;
}

body > header {
  position: sticky;
  top: 0;
  z-index: 20;
}

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

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

p {
  margin: 0;
  color: var(--muted);
}

.topbar {
  background: var(--asphalt);
  color: var(--white);
  font-size: .9rem;
}

.topbar .wrap,
.nav .wrap,
.section,
.footer .wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.topbar a {
  color: var(--safety);
  font-weight: 700;
}

.nav {
  background: rgba(251, 250, 247, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  display: block;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: none;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .94rem;
  font-weight: 700;
}

.navlinks a {
  padding: 10px 12px;
  border-radius: 6px;
}

.navlinks a:hover,
.navlinks a[aria-current="page"] {
  background: #eee7dc;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 2px solid var(--safety);
  border-radius: 6px;
  background: var(--safety);
  color: #17130a;
  font-weight: 900;
  line-height: 1;
}

.btn.secondary {
  background: transparent;
  color: var(--white);
}

.btn.dark {
  border-color: var(--asphalt);
  background: var(--asphalt);
  color: var(--white);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  padding: 10px 12px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  color: var(--white);
  isolation: isolate;
  background: #111 url("../img/commercial-asphalt-lot-bend-oregon.jpg?v=4") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .55);
}

.hero .section {
  padding: 84px 0 52px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--safety);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

h3 {
  font-size: 1.08rem;
}

.hero p {
  max-width: 680px;
  margin-top: 16px;
  color: #f2f1ed;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.quick-strip {
  background: var(--asphalt);
  color: var(--white);
}

.quick-strip .section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  background: #393939;
}

.stat {
  min-height: 108px;
  padding: 22px;
  background: var(--asphalt);
}

.stat strong {
  display: block;
  color: var(--safety);
  font-size: 1.4rem;
}

.stat span {
  display: block;
  margin-top: 4px;
  color: #ece7dd;
  font-size: .92rem;
}

.section {
  padding: 48px 0;
}

.section.tight {
  padding: 32px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 26px;
  align-items: end;
  margin-bottom: 22px;
}

.grid {
  display: grid;
  gap: 14px;
}

.cards {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.quote-panel,
.service-aside,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card {
  overflow: hidden;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card .pad {
  padding: 16px;
}

.card p,
.service-aside p {
  margin-top: 8px;
  font-size: .94rem;
}

.card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 10px 12px;
  border-left: 4px solid var(--safety);
  background: #f0ebe2;
  font-weight: 700;
}

.band {
  background: #ebe5da;
  border-block: 1px solid var(--line);
}

.gallery {
  grid-template-columns: 1.2fr .9fr .9fr;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery img:first-child {
  height: 494px;
  grid-row: span 2;
}

.quote-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: var(--asphalt);
  color: var(--white);
}

.quote-panel p {
  margin-top: 8px;
  color: #e7e0d4;
}

.footer {
  background: #111;
  color: var(--white);
}

.footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding: 34px 0;
}

.footer p,
.footer a {
  color: #d6d1c8;
}

.footer h3 {
  margin-bottom: 10px;
  color: var(--safety);
}

.subhero {
  background: var(--asphalt);
  color: var(--white);
}

.subhero .section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 44px;
}

.subhero p {
  max-width: 700px;
  margin-top: 14px;
  color: #e8e2d8;
}

.subhero img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.prose {
  display: grid;
  gap: 18px;
}

.prose p {
  font-size: 1.02rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.mini p {
  margin-top: 8px;
  font-size: .92rem;
}

.service-aside {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.service-aside .btn {
  width: 100%;
  margin-top: 14px;
}

.form-panel {
  padding: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
  font-size: .9rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfc6b8;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.service-area {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.service-area span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-weight: 800;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.link-grid a {
  display: block;
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 900;
}

.link-grid span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 400;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.faq-grid details {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-grid p {
  margin-top: 8px;
  font-size: .94rem;
}

.report-hero {
  background: #1b1b1b;
  color: var(--white);
}

.report-hero .section {
  padding-top: 42px;
  padding-bottom: 34px;
}

.report-hero p {
  max-width: 760px;
  margin-top: 12px;
  color: #e7e0d4;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.metric strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .9rem;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.report-table th,
.report-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: .92rem;
}

.report-table th {
  background: #eee7dc;
  font-size: .82rem;
  text-transform: uppercase;
}

.report-table tr:last-child td {
  border-bottom: 0;
}

.priority-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.priority-list li {
  padding: 14px;
  border-left: 5px solid var(--safety);
  border-radius: 8px;
  background: var(--white);
}

.priority-list strong {
  display: block;
}

.priority-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.project-meta div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.project-meta strong {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
}

.project-meta span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.project-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.area-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.05fr;
  gap: 18px;
  align-items: stretch;
}

.area-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(45, 111, 159, .18), rgba(73, 111, 69, .16)),
    url("../img/commercial-asphalt-lot-bend-oregon.jpg?v=4") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.area-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 22, .55);
}

.area-pin {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(245, 180, 43, .94);
  color: #17130a;
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

.area-pin.primary {
  min-width: 96px;
  min-height: 42px;
  background: var(--white);
  color: var(--asphalt);
  font-size: .95rem;
}

.area-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f3eee6;
  font-weight: 800;
}

@media (max-width: 900px) {
  .menu-btn {
    display: inline-flex;
  }

  .navlinks {
    position: absolute;
    inset: 68px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .navlinks.open {
    display: flex;
  }

  .navlinks a {
    padding: 12px;
  }

  .quick-strip .section,
  .cards,
  .mini-grid,
  .link-grid,
  .metric-grid,
  .project-meta,
  .footer .wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head,
  .split,
  .service-layout,
  .subhero .section,
  .area-panel,
  .quote-panel {
    grid-template-columns: 1fr;
  }

  .service-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .topbar .wrap {
    flex-direction: column;
    gap: 2px;
  }

  .hero {
    min-height: 520px;
  }

  .hero .section {
    padding-top: 58px;
  }

  .quick-strip .section,
  .cards,
  .check-list,
  .mini-grid,
  .link-grid,
  .faq-grid,
  .metric-grid,
  .project-meta,
  .gallery,
  .footer .wrap,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .gallery img,
  .gallery img:first-child {
    height: 230px;
    grid-row: auto;
  }

  .subhero img {
    height: 190px;
  }
}
