/* Camino Pavement Maintenance — site styles
   Palette: asphalt #1C1B19, sealcoat #2E2C29, concrete #E6E3DC, paper #F7F6F3, rust #BC481A (from the logo) */
:root {
  --asphalt: #1C1B19;
  --sealcoat: #2E2C29;
  --mid: #6B6863;
  --concrete: #E6E3DC;
  --paper: #F7F6F3;
  --stripe: #BC481A;
  --stripe-deep: #9A3A14;
  --measure: 66ch;
  --gutter: clamp(20px, 5vw, 72px);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--asphalt);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--stripe); outline-offset: 2px;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.08; letter-spacing: -.015em; font-variation-settings: "wdth" 87.5; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; margin-bottom: .3em; }
p { margin: 0 0 1em; max-width: var(--measure); }
p.lede { font-size: 1.2rem; line-height: 1.45; color: var(--sealcoat); }
strong { font-weight: 600; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); max-width: 1240px; margin: 0 auto; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section.tight { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 64px); }
.dark { background: var(--asphalt); color: var(--paper); }
.dark p.lede { color: var(--concrete); }
.concrete { background: var(--concrete); }

/* The one motif: a road centerline. Used as the section rule. */
.centerline {
  height: 10px;
  background: var(--asphalt) repeating-linear-gradient(90deg, var(--paper) 0 40px, transparent 40px 68px) 0 3px / 100% 3px no-repeat;
  border: 0; margin: 0;
}
.dark .centerline, .centerline.on-dark { opacity: .95; }

/* Header */
.site-header { background: var(--asphalt); color: var(--paper); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: block; line-height: 0; }
.brand img { height: 50px; width: auto; }
.site-footer .brand img { height: 46px; margin-bottom: 10px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--concrete); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--stripe); }
.nav .phone { color: #fff; font-weight: 600; }
.btn { display: inline-block; padding: 13px 20px; font: inherit; font-weight: 600; text-decoration: none; border: 2px solid var(--asphalt); background: var(--asphalt); color: var(--paper); border-radius: 3px; cursor: pointer; line-height: 1.1; }
.btn:hover { background: var(--sealcoat); border-color: var(--sealcoat); }
.btn.stripe { background: var(--stripe); border-color: var(--stripe); color: #fff; }
.btn.stripe:hover { background: var(--stripe-deep); border-color: var(--stripe-deep); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.dark .btn.ghost:hover { background: rgba(255,255,255,.1); }
.nav .btn { padding: 10px 16px; font-size: .95rem; }
.menu-toggle { display: none; background: none; border: 0; color: var(--paper); font: inherit; font-weight: 600; padding: 8px; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 78px; background: var(--asphalt); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 24px; gap: 0; border-top: 1px solid #3a3835; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #3a3835; }
  .nav .btn { margin-top: 14px; text-align: center; border: 2px solid var(--stripe); }
  .menu-toggle { display: block; }
}

/* Hero */
.hero { padding: clamp(56px, 9vw, 130px) 0 clamp(48px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.hero h1 { max-width: 14ch; margin-bottom: .35em; }
.hero .lede { max-width: 44ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero aside { border-left: 2px solid var(--stripe); padding-left: 22px; color: var(--concrete); font-size: 1.02rem; }
.hero aside p { margin-bottom: .6em; }
.hero aside .big { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1; display: block; margin-bottom: .2em; font-variation-settings: "wdth" 87.5; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero aside { border-left: 0; padding-left: 0; border-top: 2px solid var(--stripe); padding-top: 20px; } }

/* Page hero (interior) */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.1rem, 5vw, 3.6rem); }

/* Two-column split lists */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 800px) { .split-head { grid-template-columns: 1fr; } }

/* Service ledger — two columns, self vs managed */
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { padding: 14px 0; border-top: 1px solid rgba(28,27,25,.18); font-weight: 500; font-size: 1.05rem; }
.dark .ledger li { border-top-color: rgba(247,246,243,.2); }
.ledger li:last-child { border-bottom: 1px solid rgba(28,27,25,.18); }
.dark .ledger li:last-child { border-bottom-color: rgba(247,246,243,.2); }
.ledger-title { font-size: 1rem; font-weight: 600; margin-bottom: 14px; padding-left: 14px; border-left: 4px solid var(--stripe); line-height: 1.2; }
.ledger-title span { display: block; font-weight: 400; color: var(--mid); font-size: .9rem; }
.dark .ledger-title span { color: var(--concrete); }

/* Commitments (the Standard) */
.commitments { list-style: none; margin: 0; padding: 0; }
.commitments li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px 40px; padding: 26px 0; border-top: 1px solid rgba(28,27,25,.18); }
.commitments li:last-child { border-bottom: 1px solid rgba(28,27,25,.18); }
.commitments h3 { font-size: 1.35rem; margin: 0; }
.commitments p { margin: 0; }
@media (max-width: 720px) { .commitments li { grid-template-columns: 1fr; gap: 6px; } }
.commitments-teaser { display: flex; flex-wrap: wrap; gap: 10px 0; margin: 18px 0 28px; padding: 0; list-style: none; }
.commitments-teaser li { font-weight: 600; padding: 8px 18px 8px 0; margin-right: 18px; border-right: 3px solid var(--stripe); }
.commitments-teaser li:last-child { border-right: 0; }

/* Customer blocks */
.customers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px 48px; }
.customers h3 { font-size: 1.15rem; }
.customers .concern { font-weight: 500; color: var(--sealcoat); margin-bottom: .4em; }
.customers p { max-width: none; }

/* Process steps — real sequence, numbers earned */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; max-width: 760px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(28,27,25,.18); }
.steps li::before { content: counter(step); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--stripe-deep); font-variation-settings: "wdth" 87.5; }
.steps li:last-child { border-bottom: 1px solid rgba(28,27,25,.18); }

/* Services detail */
.service { padding: 28px 0; border-top: 1px solid rgba(28,27,25,.18); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 48px; }
.service:last-of-type { border-bottom: 1px solid rgba(28,27,25,.18); }
.service h3 { margin: 0; font-size: 1.3rem; }
.service p { margin: 0; }
@media (max-width: 720px) { .service { grid-template-columns: 1fr; } }
.managed-list { list-style: none; margin: 0; padding: 0; }
.managed-list li { padding: 12px 0; border-top: 1px solid rgba(28,27,25,.18); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 8px 48px; }
.managed-list li:last-child { border-bottom: 1px solid rgba(28,27,25,.18); }
.managed-list strong { font-weight: 600; }
@media (max-width: 720px) { .managed-list li { grid-template-columns: 1fr; gap: 2px; } }

/* Callout */
.callout { border-left: 4px solid var(--stripe); padding: 4px 0 4px 22px; max-width: 760px; }
.callout p { margin-bottom: .5em; }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.person .photo { aspect-ratio: 4 / 5; background: var(--concrete); border-radius: 3px; margin-bottom: 14px; display: grid; place-items: center; color: var(--mid); font-size: .9rem; max-width: 320px; }
.person h3 { margin-bottom: .1em; }
.person .role { color: var(--mid); font-weight: 500; margin-bottom: .7em; }
.person .contact a { display: block; text-decoration: none; font-weight: 500; }
.person .contact a:hover { text-decoration: underline; }

/* Values */
.values { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.values li { padding: 16px 0; border-top: 1px solid rgba(247,246,243,.2); display: grid; grid-template-columns: 170px 1fr; gap: 12px 24px; }
.values li:last-child { border-bottom: 1px solid rgba(247,246,243,.2); }
.values strong { font-size: 1.15rem; font-weight: 700; }
@media (max-width: 600px) { .values li { grid-template-columns: 1fr; gap: 4px; } }
.positions { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 20px; }
.positions span { border: 1.5px solid var(--asphalt); padding: 8px 14px; border-radius: 3px; font-weight: 500; }

/* Forms */
form.lead { max-width: 720px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field .hint { font-weight: 400; color: var(--mid); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #B9B6AE; border-radius: 3px; background: #fff; color: var(--asphalt); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--asphalt); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .95rem; color: var(--mid); margin-top: 10px; }
.form-status { margin-top: 16px; padding: 14px 18px; border-left: 4px solid var(--stripe); background: #fff; display: none; }
.form-status.show { display: block; }
.form-status.error { border-left-color: #B3261E; }
.contact-side { border-top: 4px solid var(--stripe); padding-top: 18px; }
.contact-side p { margin-bottom: .5em; }
.contact-side a { text-decoration: none; font-weight: 600; }
.contact-side a:hover { text-decoration: underline; }

/* Closing CTA band */
.cta-band { background: var(--asphalt); color: var(--paper); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: var(--concrete); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--sealcoat); color: var(--concrete); font-size: .92rem; }
.site-footer .wrap { padding-top: 36px; padding-bottom: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.site-footer p { margin-bottom: .35em; max-width: none; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.placeholder { background: rgba(188,72,26,.15); padding: 0 4px; border-radius: 2px; }

/* Proof strip under hero */
.proof { background: var(--concrete); border-bottom: 1px solid rgba(28,27,25,.12); }
.proof ul { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px 0; }
.proof li { font-size: .92rem; font-weight: 500; padding: 4px 18px 4px 0; margin-right: 18px; border-right: 2px solid var(--stripe); line-height: 1.3; }
.proof li:last-child { border-right: 0; margin-right: 0; }
@media (max-width: 700px) { .proof li { border-right: 0; margin-right: 0; width: 100%; padding: 4px 0; } }
/* Checkbox groups */
fieldset.checks { border: 0; padding: 0; margin: 0 0 18px; }
fieldset.checks legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
fieldset.checks label { display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 8px; padding: 6px 0; font-weight: 400; }
fieldset.checks input { width: 18px; height: 18px; margin: 0; accent-color: var(--stripe); }
.field input[type=file] { padding: 9px; background: var(--paper); }
