:root {
  --tar: #080a0c;
  --tar-2: #121518;
  --paper: #eeefe9;
  --ink: #111512;
  --muted: #5f675f;
  --acid: #d7ff2f;
  --line-dark: rgba(8, 10, 12, 0.22);
  --line-light: rgba(255, 255, 255, 0.16);
  --wrap: min(1120px, calc(100% - 48px));
  color-scheme: dark light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--tar); }
body {
  margin: 0;
  color: #f7f8f3;
  background: var(--tar);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: clip;
}
a { color: inherit; }
p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--tar);
  background: var(--acid);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 4px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line-light);
  background: rgba(8, 10, 12, 0.94);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--tar);
  background: var(--acid);
  font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 0.88rem; }
.nav-links a { color: #c5cac5; text-decoration: none; }
.nav-links a:hover { color: var(--acid); }
.phone {
  padding: 10px 14px;
  color: var(--tar) !important;
  background: var(--acid);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    image-set(
      url("/approved/assets/mission-asphalt-place-v2.avif") type("image/avif"),
      url("/approved/assets/mission-asphalt-place-v2.webp") type("image/webp")
    ) center / cover no-repeat;
}
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #080a0c 0%, rgba(8, 10, 12, 0.95) 48%, rgba(8, 10, 12, 0.28) 100%),
    linear-gradient(0deg, #080a0c 0%, transparent 42%);
}
.hero-inner { padding: 78px 0 74px; }
.crumbs { margin-bottom: 26px; color: #c1c7c1; font-size: 0.83rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.crumbs li:not(:last-child)::after { margin-left: 8px; color: var(--acid); content: "/"; }
.eyebrow {
  margin-bottom: 14px;
  color: var(--acid);
  font: 700 0.72rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-transform: uppercase;
}
h1 { max-width: 880px; font-size: clamp(3.2rem, 8vw, 7.4rem); }
.lede { max-width: 720px; margin-top: 24px; color: #d5dad5; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  min-height: 52px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-light);
  font-weight: 800;
  text-decoration: none;
}
.button.primary { color: var(--tar); background: var(--acid); border-color: var(--acid); }
.button.secondary { background: rgba(8, 10, 12, 0.66); }

.paper { color: var(--ink); background: var(--paper); }
.content-grid {
  padding: 86px 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
}
.toc {
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  background: #f8f8f3;
}
.toc strong {
  display: block;
  margin-bottom: 14px;
  font: 800 0.72rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.toc ol { margin: 0; padding-left: 19px; }
.toc li + li { margin-top: 8px; }
.toc a { color: #3b433b; }
.article { min-width: 0; }
.article > section {
  padding: 0 0 58px;
  scroll-margin-top: 98px;
}
.article > section + section { padding-top: 58px; border-top: 1px solid var(--line-dark); }
.article h2 { max-width: 780px; margin-bottom: 22px; font-size: clamp(2.35rem, 5vw, 4.7rem); }
.article h3 { margin: 30px 0 12px; font-size: clamp(1.45rem, 3vw, 2.25rem); }
.article p, .article li { max-width: 790px; color: #3f473f; }
.article ul, .article ol { margin: 18px 0 0; padding-left: 22px; }
.article li + li { margin-top: 10px; }
.checklist {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}
.checklist li {
  max-width: none;
  padding: 17px 18px 17px 42px;
  border: 1px solid var(--line-dark);
  background: #f8f8f3;
  position: relative;
}
.checklist li::before { position: absolute; left: 17px; color: #617200; content: "✓"; font-weight: 900; }
.note {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 5px solid #7d9100;
  background: #f8f8f3;
}
.note strong { display: block; margin-bottom: 4px; }
.sources { font-size: 0.9rem; }
.sources a { overflow-wrap: anywhere; }

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.service-card {
  min-height: 220px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-dark);
  background: #f8f8f3;
  text-decoration: none;
}
.service-card small { color: #6b736b; font: 700 0.69rem ui-monospace, monospace; text-transform: uppercase; }
.service-card h2, .service-card h3 { margin: 22px 0 12px; font-size: clamp(1.8rem, 3.5vw, 3rem); }
.service-card p { margin-bottom: 24px; }
.service-card b { margin-top: auto; color: #596900; }

.cta-band { padding: 66px 0; color: #fff; background: var(--tar-2); }
.cta-layout { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.cta-band h2 { max-width: 760px; font-size: clamp(2.5rem, 5.5vw, 5rem); }
.cta-band p { max-width: 670px; margin: 18px 0 0; color: #bcc2bc; }
.related { padding: 72px 0; color: var(--ink); background: #dfe2da; }
.related h2 { font-size: clamp(2.25rem, 4vw, 4rem); }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.related-links a { padding: 10px 13px; border: 1px solid var(--line-dark); background: #f2f3ed; }
footer { padding: 48px 0 92px; color: #aeb4ae; background: var(--tar); font-size: 0.82rem; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; }
.footer-row a { color: #fff; }

@media (max-width: 820px) {
  .nav-links > a:not(.phone) { display: none; }
  .content-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .cta-layout { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .hero::before {
    background-image:
      linear-gradient(90deg, rgba(8, 10, 12, 0.96), rgba(8, 10, 12, 0.52)),
      url("/approved/assets/mission-asphalt-place-mobile-v2.avif");
  }
  :root { --wrap: calc(100% - 28px); }
  .brand span:last-child { max-width: 130px; font-size: 0.78rem; line-height: 1.15; }
  .phone { padding: 9px 10px; font-size: 0.75rem; }
  .hero { min-height: 560px; }
  .hero-inner { padding: 58px 0 52px; }
  h1 { font-size: 3.1rem; }
  .content-grid { padding: 64px 0; }
  .checklist, .service-cards { grid-template-columns: 1fr; }
  .article > section { padding-bottom: 44px; }
  .article > section + section { padding-top: 44px; }
  .hero-actions .button { width: 100%; }
  .footer-row { flex-direction: column; }
}

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